@hhgtech/hhg-components 1.29.341-beta-1 → 1.29.341
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-cf88329b.js → LastPeriod-9eaa1ef6.js} +1 -1
- package/build/{MobileBottomNavigationIcon-f14d24e4.js → MobileBottomNavigationIcon-6139c48b.js} +3 -3
- package/build/{Spinner-d6f599de.js → Spinner-df24255a.js} +1 -1
- package/build/{WhatsApp-7db72961.js → WhatsApp-6c83bb5f.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +49 -46
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/adapters/button/index.d.ts +3 -1
- package/build/components/atoms/drawerComponent/index.d.ts +17 -0
- package/build/components/atoms/drawerComponent/index.styled.d.ts +7 -0
- package/build/components/atoms/googleLocation/index.d.ts +7 -0
- package/build/components/atoms/index.d.ts +1 -0
- package/build/components.js +134 -131
- package/build/{constants-e2938f34.js → constants-b8ebed17.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-e1ff7bb1.js → core-659eb53b.js} +1 -1
- package/build/{dataTransform-ef1152e5.js → dataTransform-5b9923ed.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-64d0c27b.js → editor-a0853b63.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-46b9f4f0.js → LastPeriod-936aef76.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-c07f3e7b.js → MobileBottomNavigationIcon-a4f890af.js} +3 -3
- package/build/esm/{Spinner-49091360.js → Spinner-4073c7bb.js} +1 -1
- package/build/esm/{WhatsApp-93f66619.js → WhatsApp-29064eaa.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -46
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +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/adapters/button/index.d.ts +3 -1
- package/build/esm/components/atoms/drawerComponent/index.d.ts +17 -0
- package/build/esm/components/atoms/drawerComponent/index.styled.d.ts +7 -0
- package/build/esm/components/atoms/googleLocation/index.d.ts +7 -0
- package/build/esm/components/atoms/index.d.ts +1 -0
- package/build/esm/components.js +92 -90
- package/build/esm/{constants-3dd7de10.js → constants-bf924b49.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-4bbe3aac.js → core-90b57158.js} +1 -1
- package/build/esm/{dataTransform-c3adaac6.js → dataTransform-49e22f3e.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-c9b0069a.js → editor-db5f955a.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/useGetClientGaId.d.ts +4 -0
- package/build/esm/hooks/usePlacesAutocomplete.d.ts +2 -0
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +5 -0
- package/build/esm/i18n-values/hi-IN.js +5 -0
- package/build/esm/i18n-values/id-ID.js +5 -0
- package/build/esm/i18n-values/km-KH.js +5 -0
- package/build/esm/i18n-values/ms-MY.js +5 -0
- package/build/esm/i18n-values/my-MM.js +5 -0
- package/build/esm/i18n-values/th-TH.js +5 -0
- package/build/esm/i18n-values/tl-PH.js +5 -0
- package/build/esm/i18n-values/vi-VN.js +5 -0
- package/build/esm/i18n-values/vi-VN_MB.js +5 -0
- package/build/esm/i18n-values/zh-TW.js +5 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/icons/ChatbotBg.d.ts +4 -0
- package/build/esm/icons/Search.d.ts +4 -0
- package/build/esm/icons/index.d.ts +5 -3
- package/build/esm/{index-1b29aa3f.js → index-00d608ea.js} +2 -2
- package/build/esm/{index-1ca0ac46.js → index-05f4b04d.js} +2 -2
- package/build/esm/{index-3cecd31a.js → index-09f05e0a.js} +13 -13
- package/build/esm/{index-2d52b444.js → index-0a260f9f.js} +16 -16
- package/build/esm/{index-4e407882.js → index-0ad1c6d2.js} +6 -6
- package/build/esm/{index-b7a70e5b.js → index-10e8ead0.js} +2 -2
- package/build/esm/{index-b7452697.js → index-13508eb0.js} +13 -13
- package/build/esm/{index-37dbb392.js → index-187c248f.js} +5 -5
- package/build/esm/{index-33857986.js → index-18fc41d1.js} +1 -1
- package/build/esm/{index-0cc11fb1.js → index-1f97faf1.js} +17 -5
- package/build/esm/{index-7bf03303.js → index-1feb112f.js} +2 -2
- package/build/esm/{index-939086e8.js → index-2449bb2d.js} +7 -7
- package/build/esm/{index-2fac047a.js → index-251c3b25.js} +6 -6
- package/build/esm/{index-f13da838.js → index-25cc9cc4.js} +32 -32
- package/build/esm/{index-226fe5cb.js → index-278cb1b1.js} +1 -1
- package/build/esm/{index-73444962.js → index-287ca64d.js} +21 -21
- package/build/esm/{index-cd9c853f.js → index-2b964024.js} +1 -1
- package/build/esm/{index-f18558ab.js → index-2de8bec7.js} +13 -13
- package/build/esm/{index-a68c1e08.js → index-2f7634c0.js} +2 -2
- package/build/esm/{index-21ba5071.js → index-2fb7e2eb.js} +18 -18
- package/build/esm/{index-61061561.js → index-31c13919.js} +30 -30
- package/build/esm/{index-98892330.js → index-3292ca19.js} +6 -6
- package/build/esm/{index-c94d0b09.js → index-37bca743.js} +2 -2
- package/build/esm/{index-acf0c257.js → index-3942f1ab.js} +3 -3
- package/build/esm/{index-47cc34c3.js → index-3b56986a.js} +10 -10
- package/build/esm/{index-7ad5454d.js → index-3fda2934.js} +3 -3
- package/build/esm/{index-f26b737f.js → index-433f000e.js} +5 -5
- package/build/esm/{index-31994c6e.js → index-43673415.js} +16 -16
- package/build/esm/{index-fd3f610e.js → index-4568e106.js} +15 -15
- package/build/esm/{index-cfa1684f.js → index-493ca3d9.js} +15 -15
- package/build/esm/{index-e57296bb.js → index-4ae4115a.js} +2 -2
- package/build/esm/{index-8d4ba262.js → index-5beca92b.js} +3 -1
- package/build/esm/{index-f13d1df3.js → index-5dd42e29.js} +17 -17
- package/build/esm/{index-a407c8a1.js → index-63dc7b02.js} +1 -1
- package/build/esm/{index-06946fb7.js → index-6ce16a41.js} +20 -20
- package/build/esm/{index-38e7977f.js → index-77bef2a5.js} +16 -16
- package/build/esm/{index-a7c9d51f.js → index-7e835555.js} +18 -18
- package/build/esm/{index-0724154f.js → index-85d9e71b.js} +3 -3
- package/build/esm/{index-1415b9a0.js → index-8ac33271.js} +6 -6
- package/build/esm/{index-324f2caa.js → index-8ad8d9a8.js} +178 -110
- package/build/esm/{index-669fa307.js → index-8e160543.js} +1 -1
- package/build/esm/{index-21d6139f.js → index-951e41c9.js} +18 -18
- package/build/esm/{index-29318eb5.js → index-a6186dbc.js} +16 -16
- package/build/esm/{index-6e45d33f.js → index-b0c6ee75.js} +1 -1
- package/build/esm/{index-adf60b38.js → index-b389ccb0.js} +2 -2
- package/build/esm/{index-e69c3b32.js → index-b99adac7.js} +14 -14
- package/build/esm/{index-aa963a3f.js → index-c41b3f18.js} +5 -5
- package/build/esm/{index-ad29b90b.js → index-c623ccda.js} +2 -2
- package/build/esm/{index-b3f37d06.js → index-c899cec9.js} +17 -17
- package/build/esm/{index-e0c0f934.js → index-cb195323.js} +24 -24
- package/build/esm/{index-2eda59dc.js → index-cc8a3734.js} +2 -2
- package/build/esm/{index-e84a5757.js → index-ce8445a3.js} +7 -7
- package/build/esm/{index-f9de0793.js → index-d003a87c.js} +3 -3
- package/build/esm/{index-8a596453.js → index-d9e6c67c.js} +24 -24
- package/build/esm/{index-f51fcce2.js → index-e1a764f6.js} +3 -3
- package/build/esm/{index-97a1a574.js → index-e66bb8ed.js} +2 -2
- package/build/esm/{index-4e106eed.js → index-e76c58f4.js} +1 -1
- package/build/esm/{index-6efda9ca.js → index-eaae9c13.js} +3 -3
- package/build/esm/{index-b9a07518.js → index-eed1ec06.js} +4 -4
- package/build/esm/{index-d10ca825.js → index-eefea318.js} +13 -13
- package/build/esm/index-f3d75f48.js +106 -0
- package/build/esm/{index-abfac3da.js → index-f96c758b.js} +2 -2
- package/build/esm/{index-0dca8a9c.js → index-fbce107a.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +146 -117
- package/build/esm/interfaces/types/Subot.d.ts +1 -0
- package/build/esm/{labelSorting-e4afa4c7.js → labelSorting-d38c6396.js} +4 -4
- package/build/esm/lead/components/context.d.ts +2 -0
- package/build/esm/lead/components/index.d.ts +4 -2
- package/build/esm/lead/index.d.ts +1 -1
- package/build/esm/lead/layouts/ emptyIcon.d.ts +6 -0
- package/build/esm/lead/layouts/lightbox/fields/textField/index.d.ts +13 -0
- package/build/esm/lead/layouts/lightbox/fields/textField/index.styled.d.ts +11 -0
- package/build/esm/lead/layouts/lightbox/index.d.ts +4 -2
- package/build/esm/lead/newLeadPopup.d.ts +4 -2
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +822 -352
- package/build/esm/{logoIcon-e03c8e59.js → logoIcon-5ec1a118.js} +2 -2
- package/build/esm/mantine.js +25 -25
- 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-09b71dfc.js → post-b9963bbb.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/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +36 -48
- package/build/esm/{store-53e8f82d.js → store-9f9b8c7e.js} +4 -4
- package/build/esm/subot/components/dob/index.d.ts +4 -0
- package/build/esm/subot/components/dob/utils.d.ts +14 -0
- package/build/esm/subot/utils/index.d.ts +1 -0
- package/build/esm/subot.js +184 -45
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-f09b901d.js → surveyThankyouCard-fd56b470.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
- package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
- package/build/esm/together/components/molecules/createNewPostContentV2/index.d.ts +2 -3
- package/build/esm/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +8 -3
- package/build/esm/together/interfaces/types.d.ts +5 -0
- 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-96ab1928.js → treePopoverMenu-2bdb1505.js} +19 -19
- package/build/esm/{types-83a6449a.js → types-d2f84e76.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-9f444e01.js → useCategory-dfbb8514.js} +5 -5
- package/build/esm/{useHealthToolCache-f527b48f.js → useHealthToolCache-60c491b2.js} +1 -1
- package/build/esm/{useMantineLocale-94a0b8bd.js → useMantineLocale-ee453257.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-59f4f648.js → usePlacesAutocomplete-7b0503dc.js} +2 -1
- package/build/esm/{useScreenSize-430352d3.js → useScreenSize-86ff79b6.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-67be06c2.js → utils-284b3857.js} +3 -3
- package/build/esm/{utils-ea179b08.js → utils-6d47c3ee.js} +2 -2
- package/build/esm/{utils-fb94e9f6.js → utils-78c52834.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/useGetClientGaId.d.ts +4 -0
- package/build/hooks/usePlacesAutocomplete.d.ts +2 -0
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +5 -0
- package/build/i18n-values/hi-IN.js +5 -0
- package/build/i18n-values/id-ID.js +5 -0
- package/build/i18n-values/km-KH.js +5 -0
- package/build/i18n-values/ms-MY.js +5 -0
- package/build/i18n-values/my-MM.js +5 -0
- package/build/i18n-values/th-TH.js +5 -0
- package/build/i18n-values/tl-PH.js +5 -0
- package/build/i18n-values/vi-VN.js +5 -0
- package/build/i18n-values/vi-VN_MB.js +5 -0
- package/build/i18n-values/zh-TW.js +5 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/icons/ChatbotBg.d.ts +4 -0
- package/build/icons/Search.d.ts +4 -0
- package/build/icons/index.d.ts +5 -3
- package/build/{index-6615a001.js → index-03817479.js} +3 -3
- package/build/{index-41ee6455.js → index-06c40093.js} +2 -2
- package/build/{index-bde06816.js → index-07303336.js} +3 -3
- package/build/{index-945e1013.js → index-09b696c5.js} +2 -2
- package/build/{index-32adc92e.js → index-09fe20ee.js} +3 -3
- package/build/index-0dd90e03.js +113 -0
- package/build/{index-ee10965f.js → index-0ebf6518.js} +1 -1
- package/build/{index-f68e26d8.js → index-12980629.js} +16 -16
- package/build/{index-5aabea89.js → index-17035df2.js} +17 -17
- package/build/{index-9b3ee0c9.js → index-1785577a.js} +2 -2
- package/build/{index-eb89c888.js → index-185e678c.js} +18 -18
- package/build/{index-c27e38d1.js → index-1f0a1217.js} +1 -1
- package/build/{index-6ab08269.js → index-215b49f9.js} +1 -1
- package/build/{index-f9cac59f.js → index-235da055.js} +18 -18
- package/build/{index-707b4bdd.js → index-2ac51c28.js} +3 -1
- package/build/{index-6cbdc527.js → index-31158673.js} +6 -6
- package/build/{index-978d92fe.js → index-318ed726.js} +17 -17
- package/build/{index-34e1a4f5.js → index-33141240.js} +16 -16
- package/build/{index-64aa1aeb.js → index-3618f3e5.js} +16 -16
- package/build/{index-6f361eac.js → index-38a28dc9.js} +4 -4
- package/build/{index-c06df9c4.js → index-3c176356.js} +7 -7
- package/build/{index-29a72caf.js → index-3ef55d59.js} +2 -2
- package/build/{index-c16e2ee8.js → index-4c30074c.js} +5 -5
- package/build/{index-584692b0.js → index-5046b99d.js} +13 -13
- package/build/{index-e58bf46e.js → index-57b95503.js} +1 -1
- package/build/{index-0e6525e7.js → index-6084d7d2.js} +14 -14
- package/build/{index-cd3aca6a.js → index-613eed69.js} +15 -15
- package/build/{index-3a0153d3.js → index-669bcec8.js} +13 -13
- package/build/{index-ca3c4b28.js → index-6791aa5b.js} +17 -4
- package/build/{index-d54c4e5d.js → index-67af8202.js} +24 -24
- package/build/{index-e022fbae.js → index-6bfe87dc.js} +2 -2
- package/build/{index-d5d9e0cb.js → index-71b23357.js} +30 -30
- package/build/{index-f9784b40.js → index-75ffffea.js} +2 -2
- package/build/{index-5f6e48a3.js → index-76ade849.js} +18 -18
- package/build/{index-9fd2b61a.js → index-7c2a27e6.js} +1 -1
- package/build/{index-e5d592d5.js → index-84360cc6.js} +10 -10
- package/build/{index-33fc7f6d.js → index-84d08231.js} +1 -1
- package/build/{index-f9b61c9b.js → index-85d6aff9.js} +16 -16
- package/build/{index-e9910fe5.js → index-8a49db48.js} +2 -2
- package/build/{index-3929abb8.js → index-916152e1.js} +5 -5
- package/build/{index-d0f807a8.js → index-96b6a45f.js} +178 -110
- package/build/{index-c05d9540.js → index-a67075cc.js} +6 -6
- package/build/{index-910f1fb4.js → index-aece5b55.js} +2 -2
- package/build/{index-e0354896.js → index-b38789a6.js} +32 -32
- package/build/{index-5212f979.js → index-b3d03730.js} +3 -3
- package/build/{index-eed94829.js → index-ca7bed26.js} +5 -5
- package/build/{index-24d7aca9.js → index-cb44a93c.js} +1 -1
- package/build/{index-0e194d65.js → index-d05f5c58.js} +7 -7
- package/build/{index-1d301112.js → index-d1d47e3e.js} +21 -21
- package/build/{index-312e796b.js → index-d2294ed4.js} +2 -2
- package/build/{index-81ef98b2.js → index-d26c8b25.js} +20 -20
- package/build/{index-497ec6b2.js → index-d63df4e6.js} +1 -1
- package/build/{index-5bbb313e.js → index-d8587b52.js} +3 -3
- package/build/{index-3bd6c540.js → index-e41c41b9.js} +2 -2
- package/build/{index-bb4d3097.js → index-e835d166.js} +2 -2
- package/build/{index-ef131396.js → index-e85fbfe2.js} +24 -24
- package/build/{index-0fec67ff.js → index-ea565aba.js} +13 -13
- package/build/{index-81083d5f.js → index-ea5b98ee.js} +6 -6
- package/build/{index-13389618.js → index-ec383f64.js} +15 -15
- package/build/{index-0df597d2.js → index-ef1363d4.js} +2 -2
- package/build/{index-9641b370.js → index-f84b402c.js} +3 -3
- package/build/{index-9634ea4f.js → index-f9032264.js} +6 -6
- package/build/{index-6d9830e2.js → index-fd0e8768.js} +13 -13
- package/build/index.css +1 -1
- package/build/index.js +211 -179
- package/build/interfaces/types/Subot.d.ts +1 -0
- package/build/{labelSorting-205489ec.js → labelSorting-36d105cb.js} +4 -4
- package/build/lead/components/context.d.ts +2 -0
- package/build/lead/components/index.d.ts +4 -2
- package/build/lead/index.d.ts +1 -1
- package/build/lead/layouts/ emptyIcon.d.ts +6 -0
- package/build/lead/layouts/lightbox/fields/textField/index.d.ts +13 -0
- package/build/lead/layouts/lightbox/fields/textField/index.styled.d.ts +11 -0
- package/build/lead/layouts/lightbox/index.d.ts +4 -2
- package/build/lead/newLeadPopup.d.ts +4 -2
- package/build/lead.css +1 -1
- package/build/lead.js +822 -351
- package/build/{logoIcon-70a2864c.js → logoIcon-904a4cf6.js} +2 -2
- package/build/mantine.js +22 -22
- 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-adb71a79.js → post-3cba4e54.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/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +35 -47
- package/build/{store-6213ddb5.js → store-e1b9f2ce.js} +4 -4
- package/build/subot/components/dob/index.d.ts +4 -0
- package/build/subot/components/dob/utils.d.ts +14 -0
- package/build/subot/utils/index.d.ts +1 -0
- package/build/subot.js +187 -46
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-7030f3b7.js → surveyThankyouCard-5dd83af2.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
- package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
- package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
- package/build/together/components/molecules/createNewPostContentV2/index.d.ts +2 -3
- package/build/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +8 -3
- package/build/together/interfaces/types.d.ts +5 -0
- 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-058933d8.js → treePopoverMenu-d53a7070.js} +19 -19
- package/build/{types-667459f0.js → types-3a0991d8.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-19aa9f2f.js → useCategory-114d6a8a.js} +5 -5
- package/build/{useHealthToolCache-37a8531b.js → useHealthToolCache-441c521c.js} +1 -1
- package/build/{useMantineLocale-5c98daa7.js → useMantineLocale-dc446f96.js} +6 -6
- package/build/{usePlacesAutocomplete-44958484.js → usePlacesAutocomplete-1f9453b2.js} +2 -1
- package/build/{useScreenSize-faa77170.js → useScreenSize-0c0d47f5.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-18c6a7fe.js → utils-5b446c46.js} +2 -2
- package/build/{utils-5888f65c.js → utils-7d819ac1.js} +2 -2
- package/build/{utils-f18fd00b.js → utils-daec2540.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-7d9042f0.js → BMI_BOYS.percentile.monthly-b30faabf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-410e5b79.js → BMI_BOYS.percentile.weekly-21391d76.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-c5a0da4b.js → BMI_BOYS.percentile.yearly-83c7fcd2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5dc238bd.js → BMI_BOYS.zscore.monthly-aa8afe3f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-35a29288.js → BMI_BOYS.zscore.weekly-81efd6dc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c86073e0.js → BMI_BOYS.zscore.yearly-6f98b1c3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-00bda635.js → BMI_GIRLS.percentile.monthly-84986191.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-7fbea096.js → BMI_GIRLS.percentile.weekly-19f3be53.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-550a16d4.js → BMI_GIRLS.percentile.yearly-36aa05af.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-fdf9366d.js → BMI_GIRLS.zscore.monthly-6fd68c7e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-3a95ed4c.js → BMI_GIRLS.zscore.weekly-68a50af8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a7617731.js → BMI_GIRLS.zscore.yearly-adfa20bd.js} +0 -0
- /package/build/{ChevronDown-0a482dd5.js → ChevronDown-f3d17b98.js} +0 -0
- /package/build/{Close-1e95c268.js → Close-127b40f9.js} +0 -0
- /package/build/{Google-0ff92514.js → Google-9c15fb01.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-df67cf53.js → HEAD CIRCUM_BOYS.percentile.monthly-52f2ea44.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9f931043.js → HEAD CIRCUM_BOYS.percentile.weekly-8a9c1910.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-981e1043.js → HEAD CIRCUM_BOYS.percentile.yearly-a1da28c0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f6131024.js → HEAD CIRCUM_BOYS.zscore.monthly-582cfae4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-995abcc6.js → HEAD CIRCUM_BOYS.zscore.weekly-3c2311b9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-8d3d99fd.js → HEAD CIRCUM_BOYS.zscore.yearly-2cae4758.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b9d5d1ef.js → HEAD CIRCUM_GIRLS.percentile.monthly-f30fbc1c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-091ce217.js → HEAD CIRCUM_GIRLS.percentile.weekly-b26ced3c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-12a70ce5.js → HEAD CIRCUM_GIRLS.percentile.yearly-bbfb189c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-84b2a06a.js → HEAD CIRCUM_GIRLS.zscore.monthly-41b0f026.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3e8c6327.js → HEAD CIRCUM_GIRLS.zscore.weekly-e0774f95.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9372bf05.js → HEAD CIRCUM_GIRLS.zscore.yearly-b26d365d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-db1f3d3e.js → HEIGHT_BOYS.percentile.monthly-837436a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-91d68257.js → HEIGHT_BOYS.percentile.weekly-8731d752.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ee6b57e5.js → HEIGHT_BOYS.percentile.yearly-12713e55.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b4061091.js → HEIGHT_BOYS.zscore.monthly-7f063186.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2371b3a9.js → HEIGHT_BOYS.zscore.weekly-336670c7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-25a37206.js → HEIGHT_BOYS.zscore.yearly-601f6e99.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-fe459469.js → HEIGHT_GIRLS.percentile.monthly-7806a84d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-173f7322.js → HEIGHT_GIRLS.percentile.weekly-77fefedc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4a5faf55.js → HEIGHT_GIRLS.percentile.yearly-a6f75a2d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-5005e0b8.js → HEIGHT_GIRLS.zscore.monthly-663dbe45.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-05cf96f4.js → HEIGHT_GIRLS.zscore.weekly-1795b929.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d9206087.js → HEIGHT_GIRLS.zscore.yearly-54e8ed04.js} +0 -0
- /package/build/{Locale-b7055af5.js → Locale-57db1c3d.js} +0 -0
- /package/build/{Visible-c4aaec8f.js → Visible-4faebc9a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f5efc6c4.js → WEIGHT_BOYS.percentile.monthly-e27a9e27.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-484359cb.js → WEIGHT_BOYS.percentile.weekly-a9dc5fb0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-3d33298f.js → WEIGHT_BOYS.percentile.yearly-1f6d6a23.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-28171234.js → WEIGHT_BOYS.zscore.monthly-d90a8e9e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-d492ae85.js → WEIGHT_BOYS.zscore.weekly-aadf96fc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-f4469244.js → WEIGHT_BOYS.zscore.yearly-cda41635.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-89cc5346.js → WEIGHT_GIRLS.percentile.monthly-cf66f56d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-1f2358b2.js → WEIGHT_GIRLS.percentile.weekly-eb947b05.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e623ca2a.js → WEIGHT_GIRLS.percentile.yearly-eb086a2e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-0240aa01.js → WEIGHT_GIRLS.zscore.monthly-bb6b65e9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-85691c84.js → WEIGHT_GIRLS.zscore.weekly-809ba3bf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-da900c02.js → WEIGHT_GIRLS.zscore.yearly-defd0f5c.js} +0 -0
- /package/build/{animation-f42782de.js → animation-51d9f750.js} +0 -0
- /package/build/{constants-4e43d2b1.js → constants-345d4630.js} +0 -0
- /package/build/{constants-30f55480.js → constants-64bd11a4.js} +0 -0
- /package/build/{constants-ceadaec4.js → constants-b9c0ca76.js} +0 -0
- /package/build/{dataTransform-7fcc87c5.js → dataTransform-50730e70.js} +0 -0
- /package/build/{doctor-9b1ad233.js → doctor-b84977b0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a4d2b45d.js → BMI_BOYS.percentile.monthly-033ff54c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d8d76573.js → BMI_BOYS.percentile.weekly-c741ecf7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-96445a1c.js → BMI_BOYS.percentile.yearly-d8a96f52.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6a986692.js → BMI_BOYS.zscore.monthly-b83302d8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-75bb880c.js → BMI_BOYS.zscore.weekly-747bcc77.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b52316f6.js → BMI_BOYS.zscore.yearly-144e0b1a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-08b9b5ff.js → BMI_GIRLS.percentile.monthly-cf8d61d2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-0a9a093b.js → BMI_GIRLS.percentile.weekly-769f26db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-9aff7209.js → BMI_GIRLS.percentile.yearly-e49b963d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-84a95012.js → BMI_GIRLS.zscore.monthly-3084153f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f5c7eee7.js → BMI_GIRLS.zscore.weekly-72ec570c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-2c956a54.js → BMI_GIRLS.zscore.yearly-56f78b21.js} +0 -0
- /package/build/esm/{ChevronDown-9b12c932.js → ChevronDown-8328c13d.js} +0 -0
- /package/build/esm/{Close-fd14a82c.js → Close-ba03577a.js} +0 -0
- /package/build/esm/{Google-30f3ff28.js → Google-abacb80f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-469b6124.js → HEAD CIRCUM_BOYS.percentile.monthly-48de46d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1bac7b7a.js → HEAD CIRCUM_BOYS.percentile.weekly-be44668d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-586c62f2.js → HEAD CIRCUM_BOYS.percentile.yearly-0eb105d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5ccd18ee.js → HEAD CIRCUM_BOYS.zscore.monthly-b42f2936.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-867e8bed.js → HEAD CIRCUM_BOYS.zscore.weekly-0b78b9b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c6bf3e89.js → HEAD CIRCUM_BOYS.zscore.yearly-cfedb0f0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-dca3aed2.js → HEAD CIRCUM_GIRLS.percentile.monthly-005c83c7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-eda15a31.js → HEAD CIRCUM_GIRLS.percentile.weekly-0fc8a072.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e4133368.js → HEAD CIRCUM_GIRLS.percentile.yearly-de97ed19.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-73658d41.js → HEAD CIRCUM_GIRLS.zscore.monthly-55481efe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f7aa4af9.js → HEAD CIRCUM_GIRLS.zscore.weekly-3695b4de.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-890ac2f2.js → HEAD CIRCUM_GIRLS.zscore.yearly-c97ef53a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-044337bc.js → HEIGHT_BOYS.percentile.monthly-6077092f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d8f64017.js → HEIGHT_BOYS.percentile.weekly-414cf15d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-46e9513e.js → HEIGHT_BOYS.percentile.yearly-d77d3e90.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-defe22de.js → HEIGHT_BOYS.zscore.monthly-b42af495.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-bee7e5ce.js → HEIGHT_BOYS.zscore.weekly-899ea3ee.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3690d8b2.js → HEIGHT_BOYS.zscore.yearly-4fab9c43.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-dd18c54d.js → HEIGHT_GIRLS.percentile.monthly-50eac517.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0d851969.js → HEIGHT_GIRLS.percentile.weekly-d64025fa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8c33bc7e.js → HEIGHT_GIRLS.percentile.yearly-3d2c591c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-71cf53d7.js → HEIGHT_GIRLS.zscore.monthly-e41df4c5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-5b44b062.js → HEIGHT_GIRLS.zscore.weekly-3a86e2c3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6ee6e53d.js → HEIGHT_GIRLS.zscore.yearly-3438c81d.js} +0 -0
- /package/build/esm/{Locale-f2acbe20.js → Locale-b85a2806.js} +0 -0
- /package/build/esm/{Visible-00991779.js → Visible-8cac64ac.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-f48fb01a.js → WEIGHT_BOYS.percentile.monthly-0bda403e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-566c1575.js → WEIGHT_BOYS.percentile.weekly-1f6775b8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-441aed8e.js → WEIGHT_BOYS.percentile.yearly-f4b8fcec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1666929a.js → WEIGHT_BOYS.zscore.monthly-d8bec4d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8df9f7ed.js → WEIGHT_BOYS.zscore.weekly-41ab7d52.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-cced9193.js → WEIGHT_BOYS.zscore.yearly-d4500db2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c254d14e.js → WEIGHT_GIRLS.percentile.monthly-0739c8b1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1bc650f4.js → WEIGHT_GIRLS.percentile.weekly-d3efffd0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ff0f90c4.js → WEIGHT_GIRLS.percentile.yearly-18a23e81.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e2a491bb.js → WEIGHT_GIRLS.zscore.monthly-d610d523.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bf416d66.js → WEIGHT_GIRLS.zscore.weekly-f1c1ca37.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e36d7b7a.js → WEIGHT_GIRLS.zscore.yearly-11cd4736.js} +0 -0
- /package/build/esm/{animation-5d8a5006.js → animation-7af31527.js} +0 -0
- /package/build/esm/{constants-066568cc.js → constants-61c2e12b.js} +0 -0
- /package/build/esm/{constants-76a688b3.js → constants-d8dcf848.js} +0 -0
- /package/build/esm/{constants-bf0f5e5f.js → constants-e07a91d9.js} +0 -0
- /package/build/esm/{dataTransform-4bb32f26.js → dataTransform-9b9ae0c6.js} +0 -0
- /package/build/esm/{doctor-32f76ab5.js → doctor-608c515c.js} +0 -0
- /package/build/esm/{index-2efa5c25.js → index-09f90c0d.js} +0 -0
- /package/build/esm/{index-089318ad.js → index-415ca2ef.js} +0 -0
- /package/build/esm/{index-4cda9886.js → index-43c80986.js} +0 -0
- /package/build/esm/{index-481ac1b5.js → index-9db2daf2.js} +0 -0
- /package/build/esm/{index-35e98df8.js → index-c4029515.js} +0 -0
- /package/build/esm/{index-db167f59.js → index-cb5b6e38.js} +0 -0
- /package/build/esm/{index-03c32a45.js → index-e595bf69.js} +0 -0
- /package/build/esm/{index-33129b88.js → index-fcd91927.js} +0 -0
- /package/build/esm/{index.styles-b69d7b05.js → index.styles-9aeabac4.js} +0 -0
- /package/build/esm/{localizeNumberFormat-02c8950b.js → localizeNumberFormat-6e308ec2.js} +0 -0
- /package/build/esm/{normalizeLink-b2c301bb.js → normalizeLink-24199d48.js} +0 -0
- /package/build/esm/{other-7217ed28.js → other-afc01340.js} +0 -0
- /package/build/esm/{paths-15ed3ee1.js → paths-a00da1f4.js} +0 -0
- /package/build/esm/{translationsContext-8653213c.js → translationsContext-b8b3f1f2.js} +0 -0
- /package/build/esm/{tslib.es6-d6634fe6.js → tslib.es6-d983aca1.js} +0 -0
- /package/build/esm/{types-4a6b4d1b.js → types-de17938e.js} +0 -0
- /package/build/esm/{useIsInit-6cbb6fa8.js → useIsInit-bb13f6c9.js} +0 -0
- /package/build/esm/{useOutsideClick-9aa6c6fa.js → useOutsideClick-4b7793c6.js} +0 -0
- /package/build/esm/{useScrollbarSize-5e55de5b.js → useScrollbarSize-74ad60e9.js} +0 -0
- /package/build/esm/{useUniqueId-296671f9.js → useUniqueId-3deb18e4.js} +0 -0
- /package/build/esm/{utils-caced094.js → utils-cb146a70.js} +0 -0
- /package/build/{index-15c187f1.js → index-0af5e4f9.js} +0 -0
- /package/build/{index-cd7edf3d.js → index-4299ca2f.js} +0 -0
- /package/build/{index-8ad3bb22.js → index-60134546.js} +0 -0
- /package/build/{index-26c66b56.js → index-68e0c498.js} +0 -0
- /package/build/{index-d104e4c5.js → index-6b1b32c4.js} +0 -0
- /package/build/{index-51cac109.js → index-748ec82e.js} +0 -0
- /package/build/{index-d9a1511b.js → index-bdfbb311.js} +0 -0
- /package/build/{index-7bfa5e7a.js → index-fa3e7daa.js} +0 -0
- /package/build/{index.styles-36302cf2.js → index.styles-e11d26f3.js} +0 -0
- /package/build/{localizeNumberFormat-baec8832.js → localizeNumberFormat-c1f19087.js} +0 -0
- /package/build/{normalizeLink-7eb11558.js → normalizeLink-92174959.js} +0 -0
- /package/build/{other-80ad2956.js → other-06fe2945.js} +0 -0
- /package/build/{paths-ce587035.js → paths-080e0022.js} +0 -0
- /package/build/{translationsContext-4381b7b3.js → translationsContext-d0d800a5.js} +0 -0
- /package/build/{tslib.es6-662f296b.js → tslib.es6-876a6fb8.js} +0 -0
- /package/build/{types-4f4c94cb.js → types-2e68b130.js} +0 -0
- /package/build/{useIsInit-da0fc0c2.js → useIsInit-c444006d.js} +0 -0
- /package/build/{useOutsideClick-3be65019.js → useOutsideClick-a88ed7dd.js} +0 -0
- /package/build/{useScrollbarSize-62159aa7.js → useScrollbarSize-d446d16b.js} +0 -0
- /package/build/{useUniqueId-b8898ef5.js → useUniqueId-5769db85.js} +0 -0
- /package/build/{utils-dd3e8bd3.js → utils-fdfa3e28.js} +0 -0
package/build/esm/subot.js
CHANGED
|
@@ -1,73 +1,74 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import { d as NodeType,
|
|
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, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-5beca92b.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-d983aca1.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-f96c758b.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, u as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, u as locale, T as TogetherComponentGlobalContext } from './utils-284b3857.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,
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl,
|
|
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, i as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, j as isFakeEmail, s as ssoIntents, k as getHhgIdFromCookie } from './index-1f97faf1.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, g as getHelloSitesUrl, k as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, j as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-1f97faf1.js';
|
|
12
|
+
import dayjs from 'dayjs';
|
|
13
|
+
import { isProduction } from './constantsIsProduction.js';
|
|
12
14
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
13
15
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { L as Loading } from './index-
|
|
16
|
+
import { C as Container$w } from './index-9db2daf2.js';
|
|
17
|
+
import { L as Loading } from './index-4ae4115a.js';
|
|
16
18
|
import { motion } from 'framer-motion';
|
|
17
19
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button } from './index-
|
|
20
|
+
import { M as MediaQueries } from './utils-cb146a70.js';
|
|
21
|
+
import { B as Button } from './index-63dc7b02.js';
|
|
20
22
|
import { Remarkable } from 'remarkable';
|
|
21
23
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
24
|
import { useInView } from 'react-intersection-observer';
|
|
23
25
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
25
|
-
import dayjs from 'dayjs';
|
|
26
|
+
import { C as CommonGAssets } from './index-09f90c0d.js';
|
|
26
27
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { d as LEAD_TOKEN_COOKIE } from './constants-
|
|
28
|
+
import { d as LEAD_TOKEN_COOKIE } from './constants-d8dcf848.js';
|
|
28
29
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
30
|
+
import { T as Text } from './index-1feb112f.js';
|
|
30
31
|
import { theme } from './miscTheme.js';
|
|
31
|
-
import {
|
|
32
|
-
import { S as Select } from './index-e69c3b32.js';
|
|
32
|
+
import { S as Select } from './index-b99adac7.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-ee453257.js';
|
|
35
|
+
import './index.styles-9aeabac4.js';
|
|
36
|
+
import './translationsContext-b8b3f1f2.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-afc01340.js';
|
|
39
|
+
import './index-eaae9c13.js';
|
|
40
40
|
import isEmpty from 'lodash/isEmpty';
|
|
41
|
-
import { Controller, useForm } from 'react-hook-form';
|
|
41
|
+
import { Controller, useForm, useFormState } 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-7b0503dc.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { L as LOCALE } from './Locale-b85a2806.js';
|
|
47
|
+
import get from 'lodash/get';
|
|
48
|
+
import { D as DatePicker } from './index-c41b3f18.js';
|
|
49
|
+
import { B as Button$1 } from './index-00d608ea.js';
|
|
50
|
+
import { D as Dropdown } from './index-43c80986.js';
|
|
51
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-9f9b8c7e.js';
|
|
51
52
|
import 'date-fns/locale';
|
|
52
53
|
import './constantsSite.js';
|
|
53
54
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
55
|
+
import './index-fcd91927.js';
|
|
55
56
|
import './miscCookieHelper.js';
|
|
56
57
|
import 'slugify';
|
|
57
58
|
import './togetherApiPaths.js';
|
|
58
|
-
import './index-
|
|
59
|
-
import './WhatsApp-
|
|
60
|
-
import './Spinner-
|
|
61
|
-
import './index-
|
|
62
|
-
import './useScreenSize-
|
|
59
|
+
import './index-d003a87c.js';
|
|
60
|
+
import './WhatsApp-29064eaa.js';
|
|
61
|
+
import './Spinner-4073c7bb.js';
|
|
62
|
+
import './index-fbce107a.js';
|
|
63
|
+
import './useScreenSize-86ff79b6.js';
|
|
63
64
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
65
|
+
import './useUniqueId-3deb18e4.js';
|
|
65
66
|
import '@hhgtech/icons/core';
|
|
66
67
|
import '@mantine/notifications';
|
|
67
68
|
import 'date-fns';
|
|
68
69
|
import 'react-day-picker/DayPickerInput';
|
|
69
70
|
import 'zustand';
|
|
70
|
-
import './normalizeLink-
|
|
71
|
+
import './normalizeLink-24199d48.js';
|
|
71
72
|
|
|
72
73
|
// extend fastdom
|
|
73
74
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -212,6 +213,34 @@ const subotInlineImpression = (data) => __awaiter(void 0, void 0, void 0, functi
|
|
|
212
213
|
catch (error) { }
|
|
213
214
|
});
|
|
214
215
|
|
|
216
|
+
const isDurgoCampaignFn = (botId) => {
|
|
217
|
+
const botIdNumber = Number(botId);
|
|
218
|
+
return isProduction ? botIdNumber === 2629 : botIdNumber === 1092;
|
|
219
|
+
};
|
|
220
|
+
const calcAge = (value) => {
|
|
221
|
+
const birthDate = dayjs(value);
|
|
222
|
+
const today = dayjs();
|
|
223
|
+
return {
|
|
224
|
+
birthDate,
|
|
225
|
+
today,
|
|
226
|
+
age: today.diff(birthDate, 'year'),
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Temporary hard the range of age from 1 -> 3 for Durgo Campaign at this time
|
|
231
|
+
* Will be updated the range from 1 -> 3 and 4 -> 6 later
|
|
232
|
+
* Ticket: https://hhgdev.atlassian.net/browse/HTO-1327
|
|
233
|
+
*
|
|
234
|
+
*/
|
|
235
|
+
const validateAge = (value, errMsg) => {
|
|
236
|
+
const { birthDate, today, age } = calcAge(value);
|
|
237
|
+
if (today.month() < birthDate.month() ||
|
|
238
|
+
(today.month() === birthDate.month() && today.date() < birthDate.date())) {
|
|
239
|
+
return age >= 1 && age <= 3 ? true : errMsg;
|
|
240
|
+
}
|
|
241
|
+
return age >= 1 && age <= 3 ? true : errMsg;
|
|
242
|
+
};
|
|
243
|
+
|
|
215
244
|
const getDynamicScore = (node) => {
|
|
216
245
|
try {
|
|
217
246
|
return node.dynamic_score || {};
|
|
@@ -263,14 +292,27 @@ const getCurrentTotalDynamicScore = (listNodes, activeId, nextActionId, _formSub
|
|
|
263
292
|
const actionVarsDynamicScore = dynamicScoreHash[node.id].action_ids.map((i) => i.variableName);
|
|
264
293
|
const formula = dynamicScoreHash[node.id].formula;
|
|
265
294
|
const foundActions = (_b = node.actions) === null || _b === void 0 ? void 0 : _b.filter((act) => actionIdsDynamicScore.includes(act.id));
|
|
266
|
-
const foundFormMetas = formSubmitMeta.filter((f) => foundActions.find((a) => a.key === f.key) &&
|
|
295
|
+
const foundFormMetas = formSubmitMeta.filter((f) => foundActions.find((a) => a.key === f.key) &&
|
|
296
|
+
(f.control ===
|
|
297
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_NUMBER] ||
|
|
298
|
+
f.control ===
|
|
299
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_DOB]));
|
|
267
300
|
const formulaWithVariable = actionVarsDynamicScore
|
|
268
301
|
.map((variableName, idx) => {
|
|
269
302
|
const variableMapToActionId = actionIdsDynamicScore[idx];
|
|
270
303
|
const variableMapToAction = foundActions.find((act) => act.id === variableMapToActionId);
|
|
271
|
-
const formValue = foundFormMetas.find((f) => (variableMapToAction === null || variableMapToAction === void 0 ? void 0 : variableMapToAction.key) === f.key &&
|
|
304
|
+
const formValue = foundFormMetas.find((f) => (variableMapToAction === null || variableMapToAction === void 0 ? void 0 : variableMapToAction.key) === f.key &&
|
|
305
|
+
(f.control ===
|
|
306
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_NUMBER] ||
|
|
307
|
+
f.control ===
|
|
308
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_DOB]));
|
|
272
309
|
if (!formValue)
|
|
273
310
|
return '';
|
|
311
|
+
if (formValue.control ===
|
|
312
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_DOB]) {
|
|
313
|
+
const { age } = calcAge(dayjs(formValue.value).toDate());
|
|
314
|
+
return `var ${variableName} = ${age};`;
|
|
315
|
+
}
|
|
274
316
|
return `var ${variableName} = ${formValue.value};`;
|
|
275
317
|
})
|
|
276
318
|
.join('');
|
|
@@ -298,7 +340,11 @@ const replaceTextWithVariables = (label, listNodes) => {
|
|
|
298
340
|
const actionVarsDynamicScore = dynamicScoreHash[nodeId].action_ids.map((i) => i.variableName);
|
|
299
341
|
const formula = dynamicScoreHash[nodeId].formula;
|
|
300
342
|
const foundActions = (_a = foundNode === null || foundNode === void 0 ? void 0 : foundNode.actions) === null || _a === void 0 ? void 0 : _a.filter((act) => actionIdsDynamicScore.includes(act.id));
|
|
301
|
-
const foundFormMetas = (_c = (_b = foundNode === null || foundNode === void 0 ? void 0 : foundNode._message) === null || _b === void 0 ? void 0 : _b.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter((f) => foundActions.find((a) => a.key === f.key) &&
|
|
343
|
+
const foundFormMetas = (_c = (_b = foundNode === null || foundNode === void 0 ? void 0 : foundNode._message) === null || _b === void 0 ? void 0 : _b.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter((f) => foundActions.find((a) => a.key === f.key) &&
|
|
344
|
+
(f.control ===
|
|
345
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_NUMBER] ||
|
|
346
|
+
f.control ===
|
|
347
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_DOB]));
|
|
302
348
|
if (dynamicScoreHash[nodeId].formula &&
|
|
303
349
|
dynamicScoreHash[nodeId].formula_result_name &&
|
|
304
350
|
(foundFormMetas === null || foundFormMetas === void 0 ? void 0 : foundFormMetas.length)) {
|
|
@@ -306,7 +352,11 @@ const replaceTextWithVariables = (label, listNodes) => {
|
|
|
306
352
|
.map((variableName, idx) => {
|
|
307
353
|
const variableMapToActionId = actionIdsDynamicScore[idx];
|
|
308
354
|
const variableMapToAction = foundActions.find((act) => act.id === variableMapToActionId);
|
|
309
|
-
const formValue = foundFormMetas.find((f) => (variableMapToAction === null || variableMapToAction === void 0 ? void 0 : variableMapToAction.key) === f.key &&
|
|
355
|
+
const formValue = foundFormMetas.find((f) => (variableMapToAction === null || variableMapToAction === void 0 ? void 0 : variableMapToAction.key) === f.key &&
|
|
356
|
+
(f.control ===
|
|
357
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_NUMBER] ||
|
|
358
|
+
f.control ===
|
|
359
|
+
ELEMENT_CONTROL_INPUT_TYPE[NodeActionType.USER_SUBMIT_DOB]));
|
|
310
360
|
if (!formValue)
|
|
311
361
|
return '';
|
|
312
362
|
return `var ${variableName} = ${formValue.value};`;
|
|
@@ -2462,6 +2512,36 @@ const Container$n = ({ intent }) => {
|
|
|
2462
2512
|
};
|
|
2463
2513
|
Container$n.displayName = 'SubotInlineIntentBotImage';
|
|
2464
2514
|
|
|
2515
|
+
function useGetEncodedGaId() {
|
|
2516
|
+
const [encodedGaId, setEncodedGaId] = useState('');
|
|
2517
|
+
const [gaId, setGaId] = useState('');
|
|
2518
|
+
useEffect(() => {
|
|
2519
|
+
if (!Cookies.get(GA_TOKEN_COOKIE)) {
|
|
2520
|
+
checkUntilFinished({
|
|
2521
|
+
condition: () => Boolean(Cookies.get(GA_TOKEN_COOKIE)),
|
|
2522
|
+
finished: () => {
|
|
2523
|
+
const gaClientId = Cookies.get(GA_TOKEN_COOKIE);
|
|
2524
|
+
if (gaClientId) {
|
|
2525
|
+
const base64Encoded = btoa(gaClientId);
|
|
2526
|
+
setEncodedGaId(base64Encoded);
|
|
2527
|
+
setGaId(gaClientId);
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
// timeout: 10000,
|
|
2531
|
+
});
|
|
2532
|
+
}
|
|
2533
|
+
else {
|
|
2534
|
+
const gaClientId = Cookies.get(GA_TOKEN_COOKIE);
|
|
2535
|
+
if (gaClientId) {
|
|
2536
|
+
const base64Encoded = btoa(gaClientId);
|
|
2537
|
+
setEncodedGaId(base64Encoded);
|
|
2538
|
+
setGaId(gaClientId);
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
}, []);
|
|
2542
|
+
return { encodedGaId, gaId };
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2465
2545
|
const StyledWrap$g = styled.div `
|
|
2466
2546
|
padding: 16px 0;
|
|
2467
2547
|
|
|
@@ -2571,11 +2651,13 @@ Container$m.displayName = 'SubotInlineDisclaimer';
|
|
|
2571
2651
|
const Container$l = ({ intent }) => {
|
|
2572
2652
|
var _a, _b, _c;
|
|
2573
2653
|
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
2654
|
+
const { encodedGaId } = useGetEncodedGaId();
|
|
2574
2655
|
const handleOnClick = (service) => {
|
|
2575
2656
|
if (!service.url) {
|
|
2576
2657
|
return;
|
|
2577
2658
|
}
|
|
2578
|
-
|
|
2659
|
+
const serviceUrl = formatUrlWithEncrypedGa(service.url, encodedGaId);
|
|
2660
|
+
service.url && clickAndOpenInNewTab(serviceUrl);
|
|
2579
2661
|
};
|
|
2580
2662
|
const listServices = useMemo(() => {
|
|
2581
2663
|
try {
|
|
@@ -2596,7 +2678,7 @@ const Container$l = ({ intent }) => {
|
|
|
2596
2678
|
defaultMessage: 'Suggested services',
|
|
2597
2679
|
}) + ':'),
|
|
2598
2680
|
React__default.createElement("div", { className: "si-list-services" }, listServices.map((service, index) => {
|
|
2599
|
-
return (React__default.createElement("div", { onClick: () => handleOnClick(service), key: index, className: "image-wrapper", role: "presentation", "data-event-category": "Service Connection", "data-event-action": "Risk Screener Result Recommended Services", "data-event-label": service.url },
|
|
2681
|
+
return (React__default.createElement("div", { onClick: () => handleOnClick(service), key: index, className: "image-wrapper", role: "presentation", "data-event-category": "Service Connection", "data-event-action": "Risk Screener Result Recommended Services", "data-event-label": formatUrlWithEncrypedGa((service === null || service === void 0 ? void 0 : service.url) || '', encodedGaId) },
|
|
2600
2682
|
React__default.createElement(Box, { className: "aspect-square" },
|
|
2601
2683
|
React__default.createElement("img", { loading: "lazy", src: service.feature, alt: service.feature, key: index })),
|
|
2602
2684
|
service.title && (React__default.createElement(Text, { size: "p2", className: "si-service-title", color: "var(--subot-inline-text-color, #262626)" }, service.title))));
|
|
@@ -3925,7 +4007,9 @@ const StyledUserInfoFormContainer = styled.div `
|
|
|
3925
4007
|
background-color: ${theme.colors.primaryHover};
|
|
3926
4008
|
}
|
|
3927
4009
|
&[disabled] {
|
|
3928
|
-
|
|
4010
|
+
font-weight: ${theme.sizes.fwSemiBold};
|
|
4011
|
+
background-color: rgb(242, 242, 242);
|
|
4012
|
+
color: rgb(140, 140, 140);
|
|
3929
4013
|
}
|
|
3930
4014
|
}
|
|
3931
4015
|
.submit-btn-row {
|
|
@@ -4528,6 +4612,46 @@ const PhoneInputWithCode = (props) => {
|
|
|
4528
4612
|
return (React__default.createElement(StyledPhoneInputWithCode, Object.assign({}, props, { flagComponent: FlagComponent })));
|
|
4529
4613
|
};
|
|
4530
4614
|
|
|
4615
|
+
const DOB = ({ action, setValue, trigger, register, errors, botId, }) => {
|
|
4616
|
+
const { id, key, label } = action !== null && action !== void 0 ? action : {};
|
|
4617
|
+
const locale = GlobalData === null || GlobalData === void 0 ? void 0 : GlobalData.locale;
|
|
4618
|
+
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
4619
|
+
/**
|
|
4620
|
+
* Temporary hard for Durgo Campaign at this time
|
|
4621
|
+
* Ticket: https://hhgdev.atlassian.net/browse/HTO-1327
|
|
4622
|
+
* Production is: 2629
|
|
4623
|
+
* Staging is: 1092
|
|
4624
|
+
*/
|
|
4625
|
+
const isDurgoCampaign = isDurgoCampaignFn(botId);
|
|
4626
|
+
const error = get(errors, key);
|
|
4627
|
+
const dobErrMsg = get(error, 'message');
|
|
4628
|
+
const handleOnChange = (_value) => {
|
|
4629
|
+
const dateString = dayjs(_value).format(API_DATE_FORMAT);
|
|
4630
|
+
setValue(key, dateString);
|
|
4631
|
+
trigger(key);
|
|
4632
|
+
};
|
|
4633
|
+
return (React__default.createElement("div", { className: "input-row", key: id },
|
|
4634
|
+
React__default.createElement("label", { htmlFor: key }, label),
|
|
4635
|
+
React__default.createElement(StyleDatePickerInput, null,
|
|
4636
|
+
React__default.createElement(DatePicker, { locale: locale || 'en-PH', displayDateFormat: DATE_FNS_DATE_FORMAT, onChange: handleOnChange }),
|
|
4637
|
+
React__default.createElement("input", Object.assign({ id: id, type: "date", className: "input-date" }, register(key, {
|
|
4638
|
+
required: true,
|
|
4639
|
+
validate: {
|
|
4640
|
+
ageRange: (value) => isDurgoCampaign
|
|
4641
|
+
? validateAge(value, f({
|
|
4642
|
+
id: 'validation.error.requiredAgeGroup',
|
|
4643
|
+
defaultMessage: 'Sorry, your child is not in the required Age Group.',
|
|
4644
|
+
}))
|
|
4645
|
+
: true,
|
|
4646
|
+
},
|
|
4647
|
+
})))),
|
|
4648
|
+
error && (React__default.createElement("p", { className: "error-message" }, dobErrMsg ||
|
|
4649
|
+
f({
|
|
4650
|
+
id: 'validation.error.requiredField',
|
|
4651
|
+
defaultMessage: 'This field is required',
|
|
4652
|
+
})))));
|
|
4653
|
+
};
|
|
4654
|
+
|
|
4531
4655
|
const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSubmitMeta, isFormRevamp, botId, nodeId, trackingSubmitBtn, }) => {
|
|
4532
4656
|
const countRef = useRef();
|
|
4533
4657
|
const userInfo = GlobalData === null || GlobalData === void 0 ? void 0 : GlobalData.userInfo;
|
|
@@ -4651,6 +4775,8 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4651
4775
|
}, [actions]);
|
|
4652
4776
|
const inputType = ELEMENT_CONTROL_INPUT_TYPE;
|
|
4653
4777
|
const { register, handleSubmit, watch, formState: { errors }, control, setValue, setError, clearErrors, getValues, trigger, } = useForm({ defaultValues: defaultFormValues });
|
|
4778
|
+
const formState = useFormState({ control });
|
|
4779
|
+
const isDurgoCampaign = isDurgoCampaignFn(botId);
|
|
4654
4780
|
const setSubmitData = (data) => {
|
|
4655
4781
|
const submitMeta = [];
|
|
4656
4782
|
for (const action of actions) {
|
|
@@ -4682,6 +4808,14 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4682
4808
|
value: data[action.key].label || '',
|
|
4683
4809
|
});
|
|
4684
4810
|
}
|
|
4811
|
+
else if (action.type === NodeActionType.USER_SUBMIT_DOB) {
|
|
4812
|
+
const dobStr = data[action.key] || '';
|
|
4813
|
+
submitMeta.push({
|
|
4814
|
+
key: action.key,
|
|
4815
|
+
control: inputType[action.type] || '',
|
|
4816
|
+
value: dobStr,
|
|
4817
|
+
});
|
|
4818
|
+
}
|
|
4685
4819
|
else if (isActionTypeOtp(action.type)) {
|
|
4686
4820
|
submitMeta.push({
|
|
4687
4821
|
key: action.key,
|
|
@@ -5064,7 +5198,6 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5064
5198
|
id: 'validation.error.requiredField',
|
|
5065
5199
|
defaultMessage: 'This field is required',
|
|
5066
5200
|
})))));
|
|
5067
|
-
// case NodeActionType.USER_SUBMIT_ADDRESS:
|
|
5068
5201
|
case NodeActionType.USER_SUBMIT_TEXT:
|
|
5069
5202
|
return (React__default.createElement("div", { className: "input-row", key: action.id },
|
|
5070
5203
|
React__default.createElement("label", { htmlFor: action.key }, action.label),
|
|
@@ -5136,6 +5269,8 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5136
5269
|
})))))));
|
|
5137
5270
|
case NodeActionType.USER_SUBMIT_GOOGLE_API_ADDRESS:
|
|
5138
5271
|
return (React__default.createElement(GoogleAddressField$1, { action: action, control: control, formError: errors[action.key], key: action.id, initValue: defaultFormValues === null || defaultFormValues === void 0 ? void 0 : defaultFormValues[action.key], onChange: setValue }));
|
|
5272
|
+
case NodeActionType.USER_SUBMIT_DOB:
|
|
5273
|
+
return (React__default.createElement(DOB, { action: action, setValue: setValue, trigger: trigger, register: register, errors: errors, botId: botId }));
|
|
5139
5274
|
default:
|
|
5140
5275
|
return '';
|
|
5141
5276
|
}
|
|
@@ -5150,8 +5285,10 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5150
5285
|
React__default.createElement(Markdown, null, action.label)))));
|
|
5151
5286
|
case NodeActionType.USER_SUBMIT_SEND:
|
|
5152
5287
|
// const disabledWhenNotVerifyed = hasOtpField ? !verifiedOTP : false
|
|
5288
|
+
const disabled = hasConfirm ? !confirm : false;
|
|
5289
|
+
const disabledDurgoCampaign = !formState.isValid;
|
|
5153
5290
|
return (React__default.createElement("div", { className: "submit-btn-row", key: action.id },
|
|
5154
|
-
React__default.createElement("button", Object.assign({ id: action.id, className: "submit-btn", type: "submit", disabled:
|
|
5291
|
+
React__default.createElement("button", Object.assign({ id: action.id, className: "submit-btn", type: "submit", disabled: isDurgoCampaign ? disabledDurgoCampaign : disabled }, trackingSubmit, { "data-response-id": action.id }), action.label)));
|
|
5155
5292
|
case NodeActionType.USER_SUBMIT_TERMS:
|
|
5156
5293
|
return (React__default.createElement("div", { className: "form-terms", key: action.id },
|
|
5157
5294
|
React__default.createElement(Markdown, null, action.label)));
|
|
@@ -5182,6 +5319,7 @@ const Container$d = ({ node, indexNumber }) => {
|
|
|
5182
5319
|
checkSyncDataOnFrisoCampaign(listNodes[0], data.form_submit_meta);
|
|
5183
5320
|
const _message = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, params), node._message), data), getCurrentTotalDynamicScore(listNodes, activeId, data.action_id, data.form_submit_meta)), { node_id: node.id });
|
|
5184
5321
|
const res = yield subotInlineMessage(_message);
|
|
5322
|
+
// asking
|
|
5185
5323
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5186
5324
|
const _b = res === null || res === void 0 ? void 0 : res._data, { node: _node } = _b, restData = __rest(_b, ["node"]);
|
|
5187
5325
|
const _nextNode = Object.assign(Object.assign({}, _node), { _message: Object.assign(Object.assign({}, restData), { node_id: _node.id }) });
|
|
@@ -6128,6 +6266,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
6128
6266
|
clickAndOpenInNewTab: clickAndOpenInNewTab,
|
|
6129
6267
|
TIME_RESET_RESEND_OTP: TIME_RESET_RESEND_OTP,
|
|
6130
6268
|
isFakeEmail: isFakeEmail,
|
|
6269
|
+
formatUrlWithEncrypedGa: formatUrlWithEncrypedGa,
|
|
6131
6270
|
getSubotApiPath: getSubotApiPath,
|
|
6132
6271
|
subotInlineMessage: subotInlineMessage,
|
|
6133
6272
|
computeExtraSettingsForBot: computeExtraSettingsForBot,
|
|
@@ -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-cb195323.js';
|
|
4
|
+
import './utils-284b3857.js';
|
|
5
|
+
import './index-fbce107a.js';
|
|
6
|
+
import './index-09f90c0d.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-b85a2806.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-f96c758b.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-5beca92b.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
-
import './store-
|
|
15
|
+
import './tslib.es6-d983aca1.js';
|
|
16
|
+
import './store-9f9b8c7e.js';
|
|
17
17
|
import 'zustand';
|
|
18
|
-
import './normalizeLink-
|
|
18
|
+
import './normalizeLink-24199d48.js';
|
|
19
19
|
import './miscCookieHelper.js';
|
|
20
|
-
import './useScreenSize-
|
|
20
|
+
import './useScreenSize-86ff79b6.js';
|
|
21
21
|
import '@emotion/styled';
|
|
22
|
-
import './utils-
|
|
22
|
+
import './utils-cb146a70.js';
|
|
23
23
|
import '@mantine/form';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-b99adac7.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-1feb112f.js';
|
|
29
|
+
import './other-afc01340.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
|
-
import './useMantineLocale-
|
|
31
|
+
import './useMantineLocale-ee453257.js';
|
|
32
32
|
import '@mantine/notifications';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-63dc7b02.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-3deb18e4.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './index.styles-
|
|
40
|
-
import './index-
|
|
39
|
+
import './index.styles-9aeabac4.js';
|
|
40
|
+
import './index-eaae9c13.js';
|
|
41
41
|
import './togetherApiPaths.js';
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
44
|
-
import './useHealthToolCache-
|
|
42
|
+
import './translationsContext-b8b3f1f2.js';
|
|
43
|
+
import './index-b389ccb0.js';
|
|
44
|
+
import './useHealthToolCache-60c491b2.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-90b57158.js';
|
|
47
|
+
import './index-d003a87c.js';
|
|
48
|
+
import './WhatsApp-29064eaa.js';
|
|
49
|
+
import './Spinner-4073c7bb.js';
|
|
50
|
+
import './index-c4029515.js';
|
|
51
|
+
import './index-e66bb8ed.js';
|
|
52
52
|
import 'js-cookie';
|
|
53
53
|
import 'lodash/flatten';
|
|
54
54
|
import 'lodash/uniqBy';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-fcd91927.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import 'string-format';
|
|
58
|
-
import './constants-
|
|
58
|
+
import './constants-d8dcf848.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-fd56b470.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-00d608ea.js';
|
|
4
|
+
import './tslib.es6-d983aca1.js';
|
|
5
|
+
import './index-63dc7b02.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-1feb112f.js';
|
|
8
|
+
import './other-afc01340.js';
|
|
9
|
+
import './index-b389ccb0.js';
|
|
10
|
+
import './index-05f4b04d.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-cb146a70.js';
|
|
14
|
+
import './index-8e160543.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-00d608ea.js';
|
|
3
|
+
import { T as Text } from './index-1feb112f.js';
|
|
4
|
+
import { H as Heading } from './index-b389ccb0.js';
|
|
5
|
+
import { I as Input } from './index-05f4b04d.js';
|
|
6
|
+
import { T as TextArea } from './index-8e160543.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Community, Topic } from "../../../../../interfaces/types";
|
|
2
|
+
import { CategoryTopic, Community, Topic } from "../../../../../interfaces/types";
|
|
3
3
|
import { Option } from "../../../../../../types";
|
|
4
4
|
type Props = {
|
|
5
5
|
communitiesList: Community[];
|
|
6
6
|
communityValue: Option;
|
|
7
|
-
selectedTopics: Topic[];
|
|
7
|
+
selectedTopics: (CategoryTopic | Topic)[];
|
|
8
8
|
isInEditMode: boolean;
|
|
9
9
|
defaultCommunity?: Community;
|
|
10
10
|
setCommunityValue: (val: Option) => void;
|
|
11
|
-
setSelectedTopics: (val: Topic[]) => void;
|
|
11
|
+
setSelectedTopics: (val: (CategoryTopic | Topic)[]) => void;
|
|
12
12
|
onSubmitPost: (uncategorized?: boolean) => void;
|
|
13
13
|
};
|
|
14
14
|
declare const CommonCommunity: ({ communitiesList, communityValue, selectedTopics, defaultCommunity, isInEditMode, setCommunityValue, setSelectedTopics, onSubmitPost, }: Props) => React.JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Option } from "../../../../../interfaces/types";
|
|
3
|
-
import { Topic } from "../../../../interfaces/types";
|
|
3
|
+
import { CategoryTopic, Topic } from "../../../../interfaces/types";
|
|
4
4
|
import { Community } from "../../../../interfaces/types";
|
|
5
5
|
import { PostStepType } from "../types";
|
|
6
6
|
export type Props = {
|
|
7
7
|
communitiesList: Community[];
|
|
8
8
|
currentCommunity: Community | null;
|
|
9
|
-
selectedTopics: Topic[];
|
|
9
|
+
selectedTopics: (CategoryTopic | Topic)[];
|
|
10
10
|
communityValue: Option;
|
|
11
11
|
isMobile?: boolean;
|
|
12
12
|
isFullscreen?: boolean;
|
|
@@ -15,7 +15,7 @@ export type Props = {
|
|
|
15
15
|
isMarryBaby: boolean;
|
|
16
16
|
defaultCommunity?: Community;
|
|
17
17
|
error?: Record<string, string>;
|
|
18
|
-
setSelectedTopics: (val: Topic[]) => void;
|
|
18
|
+
setSelectedTopics: (val: (CategoryTopic | Topic)[]) => void;
|
|
19
19
|
setCommunityValue: (val: any) => void;
|
|
20
20
|
onBack?: (val: boolean) => void;
|
|
21
21
|
removeKeyError?: (val: string) => void;
|
|
@@ -23,9 +23,9 @@ export type Props = {
|
|
|
23
23
|
onSubmitPost: (uncategorized?: boolean) => void;
|
|
24
24
|
};
|
|
25
25
|
export type CommunityReviewProps = {
|
|
26
|
-
selectedTopics: Topic[];
|
|
26
|
+
selectedTopics: (CategoryTopic | Topic)[];
|
|
27
27
|
currentCommunity: Community;
|
|
28
|
-
setSelectedTopics: (val: Topic[]) => void;
|
|
28
|
+
setSelectedTopics: (val: (CategoryTopic | Topic)[]) => void;
|
|
29
29
|
};
|
|
30
30
|
export type SelectionCommunityType = 'chatbot' | 'manual';
|
|
31
31
|
export declare const CreatePostCommunity: ({ communitiesList, currentCommunity, selectedTopics, communityValue, isInEditMode, isLoadingSuggest, defaultCommunity, isMarryBaby, setSelectedTopics, setCommunityValue, onSubmitPost, setStepPost, }: Props) => React.ReactPortal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Community, Topic } from "../../../../../interfaces/types";
|
|
2
|
+
import { CategoryTopic, Community, Topic } from "../../../../../interfaces/types";
|
|
3
3
|
type Props = {
|
|
4
4
|
currentCommunity: Community | null;
|
|
5
|
-
selectedTopics: Topic[];
|
|
5
|
+
selectedTopics: (CategoryTopic | Topic)[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
clickOtherCommunity: () => void;
|
|
8
8
|
onSubmitPost: (uncategorized?: boolean) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
|
-
import { Topic } from "../../../interfaces/types";
|
|
3
|
-
import { Community } from "../../../interfaces/types";
|
|
2
|
+
import { Topic, Community } from "../../../interfaces/types";
|
|
4
3
|
import { UserInfo } from "../../../../types";
|
|
5
4
|
import { Post } from "../../../interfaces/types";
|
|
6
5
|
export type Props = {
|
|
@@ -24,4 +23,4 @@ export type Props = {
|
|
|
24
23
|
isMarryBaby?: boolean;
|
|
25
24
|
userInfo?: UserInfo | null;
|
|
26
25
|
};
|
|
27
|
-
export declare const CreateNewPostContentV2: ({ className, style, onClose, forceSelectCommunity, articleId, editPostData, defaultCommunity,
|
|
26
|
+
export declare const CreateNewPostContentV2: ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby, }: Props) => React.JSX.Element;
|
package/build/esm/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { DataTrackingType } from "../../../../../interfaces/types";
|
|
3
3
|
import { Topic } from "../../../../interfaces/types";
|
|
4
|
+
export type CategoryTopic = {
|
|
5
|
+
category_id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
id: number;
|
|
8
|
+
};
|
|
4
9
|
export type Props = {
|
|
5
10
|
className?: string;
|
|
6
11
|
style?: CSSProperties;
|
|
@@ -8,9 +13,9 @@ export type Props = {
|
|
|
8
13
|
isLoading?: boolean;
|
|
9
14
|
topics?: Topic[];
|
|
10
15
|
forceTopics?: Topic[];
|
|
11
|
-
selectedTopics?: Topic[];
|
|
16
|
+
selectedTopics?: (CategoryTopic | Topic)[];
|
|
12
17
|
disabled?: boolean;
|
|
13
|
-
onChange?: (v:
|
|
18
|
+
onChange?: (v: CategoryTopic[]) => void;
|
|
14
19
|
noFetch?: boolean;
|
|
15
20
|
} & DataTrackingType;
|
|
16
|
-
export declare const TopicSelectList: ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
|
|
21
|
+
export declare const TopicSelectList: ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled, selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }: Props) => React.JSX.Element;
|
|
@@ -43,6 +43,11 @@ export type AdminUserInfo = {
|
|
|
43
43
|
_adminHasSSO?: boolean;
|
|
44
44
|
_adminPermissions?: AdminPermissionApi[];
|
|
45
45
|
};
|
|
46
|
+
export type CategoryTopic = {
|
|
47
|
+
category_id: number;
|
|
48
|
+
name: string;
|
|
49
|
+
id: number;
|
|
50
|
+
};
|
|
46
51
|
export type Topic = {
|
|
47
52
|
id?: number;
|
|
48
53
|
name: string;
|