@hhgtech/hhg-components 1.29.341-beta-4 → 1.29.341-beta-5
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-4df2c8b1.js → LastPeriod-27df7a0a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-791dc985.js → MobileBottomNavigationIcon-4942fc7f.js} +3 -3
- package/build/{Spinner-cd86fb09.js → Spinner-79c56e50.js} +1 -1
- package/build/{WhatsApp-4b7edd41.js → WhatsApp-49d02385.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-b131fbd8.js → constants-97b67898.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-9a347a8e.js → core-b454dda9.js} +1 -1
- package/build/{dataTransform-a15b85e7.js → dataTransform-35738d62.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-ca130e52.js → editor-669a36ec.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-eb2c8a58.js → LastPeriod-71d51df2.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-a324653a.js → MobileBottomNavigationIcon-c4701e4e.js} +3 -3
- package/build/esm/{Spinner-489c409d.js → Spinner-d42e2aa6.js} +1 -1
- package/build/esm/{WhatsApp-314e285f.js → WhatsApp-89ab29e7.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-2d6d49ae.js → constants-14b4c6ee.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-c1984e84.js → core-2fcc1568.js} +1 -1
- package/build/esm/{dataTransform-a32da5ec.js → dataTransform-58744e96.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-634c24d8.js → editor-a7bc729e.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-dee4461c.js → index-05f8c81e.js} +24 -24
- package/build/esm/{index-ae8e25e7.js → index-0d74a29c.js} +17 -5
- package/build/esm/{index-2a8da5b2.js → index-11cf3c38.js} +1 -1
- package/build/esm/{index-f4c72268.js → index-1713878d.js} +7 -7
- package/build/esm/{index-1b96e37c.js → index-1fa9ef2d.js} +15 -15
- package/build/esm/{index-32988940.js → index-260a698d.js} +2 -2
- package/build/esm/{index-453f193f.js → index-27c9434f.js} +21 -21
- package/build/esm/{index-dd87b4da.js → index-28cc83cc.js} +17 -17
- package/build/esm/{index-0d24d252.js → index-28d58efe.js} +2 -2
- package/build/esm/{index-eee7f80e.js → index-2eedd7c7.js} +1 -1
- package/build/esm/{index-7ade79a7.js → index-3c059c5a.js} +16 -16
- package/build/esm/{index-3522cfb9.js → index-44ebfbe8.js} +4 -4
- package/build/esm/{index-9de7d709.js → index-45ed6241.js} +5 -5
- package/build/esm/{index-481ad938.js → index-46e95b8b.js} +2 -2
- package/build/esm/{index-61b8f629.js → index-4c2124e1.js} +13 -13
- package/build/esm/{index-2343cb0b.js → index-4c68000a.js} +16 -16
- package/build/esm/{index-75670317.js → index-4f9c8a88.js} +1 -1
- package/build/esm/{index-b659beed.js → index-506a9759.js} +6 -6
- package/build/esm/{index-fdb47cc4.js → index-522e4dde.js} +15 -15
- package/build/esm/index-52bdb705.js +106 -0
- package/build/esm/{index-64e7e665.js → index-52bf7e7f.js} +1 -1
- package/build/esm/{index-4150228a.js → index-559b96b9.js} +1 -1
- package/build/esm/{index-cea02a07.js → index-5900183a.js} +13 -13
- package/build/esm/{index-acfabf14.js → index-59e5d341.js} +3 -3
- package/build/esm/{index-4679b320.js → index-5a6b515a.js} +13 -13
- package/build/esm/{index-eabdeceb.js → index-647b7b92.js} +13 -13
- package/build/esm/{index-75bc5f47.js → index-6c7a1cec.js} +3 -3
- package/build/esm/{index-9fb8d0d3.js → index-73c778f3.js} +3 -3
- package/build/esm/{index-cc43fb31.js → index-747f1e80.js} +32 -32
- package/build/esm/{index-c2d7df1b.js → index-832e25de.js} +1 -1
- package/build/esm/{index-b06d4aac.js → index-83b25948.js} +3 -1
- package/build/esm/{index-8ca75b47.js → index-83f04dc6.js} +18 -18
- package/build/esm/{index-90428778.js → index-84cf55b3.js} +18 -18
- package/build/esm/{index-90cac9e5.js → index-856724ed.js} +14 -14
- package/build/esm/{index-12832709.js → index-86f399c7.js} +2 -2
- package/build/esm/{index-d5a7776d.js → index-8cb28ea4.js} +2 -2
- package/build/esm/{index-fb02c05f.js → index-92cb7683.js} +1 -1
- package/build/esm/{index-929059cd.js → index-a22f97b1.js} +2 -2
- package/build/esm/{index-8cc0a55f.js → index-aaca7e77.js} +6 -6
- package/build/esm/{index-8b47416e.js → index-b14461a3.js} +2 -2
- package/build/esm/{index-2c47a78c.js → index-b7204fcd.js} +2 -2
- package/build/esm/{index-fb05ea22.js → index-c157385c.js} +3 -3
- package/build/esm/{index-78fc08fd.js → index-c190df65.js} +6 -6
- package/build/esm/{index-26676d6e.js → index-c217ea52.js} +1 -1
- package/build/esm/{index-2bea99aa.js → index-ca6b5f7d.js} +18 -18
- package/build/esm/{index-67803ccd.js → index-cd179a77.js} +7 -7
- package/build/esm/{index-0ad2837c.js → index-ceda0505.js} +16 -16
- package/build/esm/{index-e7ab7147.js → index-d0976fcb.js} +16 -16
- package/build/esm/{index-85be1e4e.js → index-d22d0175.js} +3 -3
- package/build/esm/{index-f6e657f5.js → index-d610f37e.js} +24 -24
- package/build/esm/{index-a7e760ae.js → index-d611b510.js} +17 -17
- package/build/esm/{index-c903debb.js → index-d937373e.js} +2 -2
- package/build/esm/{index-5adc925f.js → index-e0a9183f.js} +20 -20
- package/build/esm/{index-87c6b14e.js → index-e7d4d5e5.js} +30 -30
- package/build/esm/{index-685228b7.js → index-f049f69e.js} +5 -5
- package/build/esm/{index-a2ec7027.js → index-f0f76c3f.js} +2 -2
- package/build/esm/{index-900fa51b.js → index-f2a869ea.js} +10 -10
- package/build/esm/{index-61053ab7.js → index-f59f0485.js} +6 -6
- package/build/esm/{index-55c53a67.js → index-f650bb28.js} +2 -2
- package/build/esm/{index-c9734a66.js → index-f8743b92.js} +178 -110
- package/build/esm/{index-1587e9a8.js → index-fa69ed71.js} +3 -3
- package/build/esm/{index-37a8a068.js → index-fcb96083.js} +2 -2
- package/build/esm/{index-4b903423.js → index-fd8ef2e3.js} +5 -5
- 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-0babe708.js → labelSorting-dc77f838.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-927917c4.js → logoIcon-50c181ec.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-b39031d2.js → post-b51dc320.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.js +26 -26
- package/build/esm/{store-04270867.js → store-4d31051c.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-750453b4.js → surveyThankyouCard-d303658f.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-017aa3d1.js → treePopoverMenu-50b68dbd.js} +19 -19
- package/build/esm/{types-dc535f4e.js → types-04e01758.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-2ab01bcd.js → useCategory-ee0fdf0a.js} +5 -5
- package/build/esm/{useHealthToolCache-b9949e32.js → useHealthToolCache-19cb17fc.js} +1 -1
- package/build/esm/{useMantineLocale-5a4595f2.js → useMantineLocale-1c62b715.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-05366516.js → usePlacesAutocomplete-3e36095e.js} +2 -1
- package/build/esm/{useScreenSize-727c5292.js → useScreenSize-832ea891.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-faa45c9d.js → utils-2f20a6d6.js} +2 -2
- package/build/esm/{utils-3f153bc3.js → utils-595f3dab.js} +2 -2
- package/build/esm/{utils-e173a83d.js → utils-b1dbc1ff.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks/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-6c5ff1d0.js → index-0280888f.js} +2 -2
- package/build/{index-3fe0c60c.js → index-14523591.js} +15 -15
- package/build/{index-e8e4b0db.js → index-14edd2e4.js} +2 -2
- package/build/{index-a0823c33.js → index-19392be5.js} +5 -5
- package/build/{index-27c09bf6.js → index-1a29b5b0.js} +4 -4
- package/build/{index-b0348bdc.js → index-1a89e40c.js} +24 -24
- package/build/{index-4c378886.js → index-1d1ac6a2.js} +6 -6
- package/build/{index-081e8f90.js → index-2228078a.js} +10 -10
- package/build/{index-851da335.js → index-2a59805b.js} +18 -18
- package/build/{index-9dcc7a03.js → index-2ef16235.js} +3 -3
- package/build/{index-ac76bfbc.js → index-2fa2dc29.js} +2 -2
- package/build/{index-fc5db3e8.js → index-30387e41.js} +6 -6
- package/build/{index-54496c56.js → index-39cbbed1.js} +6 -6
- package/build/{index-57cd81cf.js → index-3f368d25.js} +3 -1
- package/build/{index-5a2de97e.js → index-435a9bed.js} +2 -2
- package/build/{index-803cf9fb.js → index-4b2a1789.js} +16 -16
- package/build/{index-9effb66f.js → index-60ac9e4f.js} +2 -2
- package/build/{index-362bc4f9.js → index-68c83e43.js} +2 -2
- package/build/{index-2cf33195.js → index-6a4334ac.js} +30 -30
- package/build/index-6c121039.js +113 -0
- package/build/{index-a3450adc.js → index-6f902779.js} +13 -13
- package/build/{index-fa9d1127.js → index-718c38a5.js} +17 -17
- package/build/{index-58be9dad.js → index-73feb185.js} +1 -1
- package/build/{index-baba72ad.js → index-789d2752.js} +16 -16
- package/build/{index-15d71fb1.js → index-7b0ba6b9.js} +5 -5
- package/build/{index-ac273880.js → index-7b7b348d.js} +15 -15
- package/build/{index-3b962dba.js → index-7c2cba9e.js} +3 -3
- package/build/{index-da6e4c71.js → index-7c6163be.js} +3 -3
- package/build/{index-ccc06c84.js → index-85a429a7.js} +16 -16
- package/build/{index-84dad248.js → index-86a102aa.js} +7 -7
- package/build/{index-186d54e1.js → index-87085b20.js} +1 -1
- package/build/{index-7c206478.js → index-89dbd54e.js} +13 -13
- package/build/{index-c2e6e664.js → index-8eab69ed.js} +24 -24
- package/build/{index-9d97b930.js → index-9073aa54.js} +17 -17
- package/build/{index-f67663ff.js → index-92c51829.js} +2 -2
- package/build/{index-690bdbc6.js → index-956bf295.js} +1 -1
- package/build/{index-78624ca3.js → index-956dd694.js} +5 -5
- package/build/{index-469c8890.js → index-95b990c7.js} +1 -1
- package/build/{index-29cf2fe1.js → index-9b3f7407.js} +13 -13
- package/build/{index-1fcad208.js → index-9d5d73b3.js} +178 -110
- package/build/{index-13529096.js → index-a05b98e2.js} +20 -20
- package/build/{index-84ae746e.js → index-a1adb71d.js} +17 -4
- package/build/{index-1ec2efb0.js → index-a42d4999.js} +3 -3
- package/build/{index-16479235.js → index-a5495fa5.js} +6 -6
- package/build/{index-327000b4.js → index-a66f7024.js} +13 -13
- package/build/{index-81ac4232.js → index-a8e1460a.js} +21 -21
- package/build/{index-eabe773f.js → index-ac936784.js} +32 -32
- package/build/{index-55d014c0.js → index-b2accd66.js} +2 -2
- package/build/{index-1076403d.js → index-b9c4ac93.js} +7 -7
- package/build/{index-be4ae18d.js → index-bb6c2f03.js} +2 -2
- package/build/{index-620c1a47.js → index-be72ea92.js} +18 -18
- package/build/{index-ede69033.js → index-bf12cb46.js} +18 -18
- package/build/{index-23151399.js → index-bf45850d.js} +2 -2
- package/build/{index-66aeb2b8.js → index-c3263683.js} +2 -2
- package/build/{index-98afbdc8.js → index-c9f15ff0.js} +1 -1
- package/build/{index-70ded784.js → index-cc01465c.js} +1 -1
- package/build/{index-2d2e3b0c.js → index-d4848610.js} +2 -2
- package/build/{index-6b71cbb2.js → index-d983a354.js} +3 -3
- package/build/{index-54683d40.js → index-f2f7c253.js} +14 -14
- package/build/{index-a1b84b97.js → index-f8f30cb2.js} +16 -16
- package/build/{index-722ab417.js → index-f9290063.js} +1 -1
- package/build/{index-bdf8592e.js → index-f93b7b79.js} +1 -1
- package/build/{index-3778c82e.js → index-fa40c6fa.js} +3 -3
- package/build/index.css +1 -1
- package/build/index.js +211 -179
- package/build/interfaces/types/Subot.d.ts +1 -0
- package/build/{labelSorting-637a3504.js → labelSorting-26d79e30.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-51dfe937.js → logoIcon-c12761a4.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-7adf6e08.js → post-ee5f90af.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +25 -25
- package/build/{store-7bfeef3a.js → store-d35149a9.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-c2a7974e.js → surveyThankyouCard-87395adc.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-0ccf0827.js → treePopoverMenu-b8ffa288.js} +19 -19
- package/build/{types-3e202b50.js → types-2a5989bd.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-f786d678.js → useCategory-7c16901e.js} +5 -5
- package/build/{useHealthToolCache-85f08a9a.js → useHealthToolCache-bf014c5a.js} +1 -1
- package/build/{useMantineLocale-479576d6.js → useMantineLocale-5d31eb43.js} +6 -6
- package/build/{usePlacesAutocomplete-1536ff39.js → usePlacesAutocomplete-46ba5c2f.js} +2 -1
- package/build/{useScreenSize-008ea8b8.js → useScreenSize-f25b6162.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-5dcf29aa.js → utils-070d8e57.js} +3 -3
- package/build/{utils-695e0f2a.js → utils-42f9a190.js} +2 -2
- package/build/{utils-77ef001a.js → utils-5089eb00.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-f6248477.js → BMI_BOYS.percentile.monthly-0cca8635.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-dcde4451.js → BMI_BOYS.percentile.weekly-35bd5110.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-507adec0.js → BMI_BOYS.percentile.yearly-50b25137.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d5a66ed8.js → BMI_BOYS.zscore.monthly-e377ac8b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2b60ac52.js → BMI_BOYS.zscore.weekly-eeb84c69.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-cade3a5e.js → BMI_BOYS.zscore.yearly-1ea48eb3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-276936e9.js → BMI_GIRLS.percentile.monthly-16556e4f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-224acb2a.js → BMI_GIRLS.percentile.weekly-39be9a1b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-393c9509.js → BMI_GIRLS.percentile.yearly-278bdc92.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-72d88b06.js → BMI_GIRLS.zscore.monthly-28393f01.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-32e66039.js → BMI_GIRLS.zscore.weekly-755c846b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-14a64fc6.js → BMI_GIRLS.zscore.yearly-a1c1376b.js} +0 -0
- /package/build/{ChevronDown-99b32e71.js → ChevronDown-d8325a77.js} +0 -0
- /package/build/{Close-50a057e1.js → Close-2207ced2.js} +0 -0
- /package/build/{Google-b0a6a799.js → Google-a69e244a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-800f9ad6.js → HEAD CIRCUM_BOYS.percentile.monthly-34c7bafb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ff39e218.js → HEAD CIRCUM_BOYS.percentile.weekly-aea4995a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-96833429.js → HEAD CIRCUM_BOYS.percentile.yearly-79828b21.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-cc6fe272.js → HEAD CIRCUM_BOYS.zscore.monthly-5ea2b038.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-391fbf23.js → HEAD CIRCUM_BOYS.zscore.weekly-5ded7af4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-3b6e1e4b.js → HEAD CIRCUM_BOYS.zscore.yearly-4c89ac67.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8bf89c41.js → HEAD CIRCUM_GIRLS.percentile.monthly-df8d5f17.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0eb51033.js → HEAD CIRCUM_GIRLS.percentile.weekly-682ff0de.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-85b823c9.js → HEAD CIRCUM_GIRLS.percentile.yearly-0d130e60.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0df24f0e.js → HEAD CIRCUM_GIRLS.zscore.monthly-35b57325.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2ba73ae2.js → HEAD CIRCUM_GIRLS.zscore.weekly-d5fcd19e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-82905d89.js → HEAD CIRCUM_GIRLS.zscore.yearly-689bb22b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-834a3c28.js → HEIGHT_BOYS.percentile.monthly-f60ee9db.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-68536dab.js → HEIGHT_BOYS.percentile.weekly-50e1bfa5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f5d17411.js → HEIGHT_BOYS.percentile.yearly-c68c72fb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4769df04.js → HEIGHT_BOYS.zscore.monthly-2f2cb420.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-9de082cd.js → HEIGHT_BOYS.zscore.weekly-91d0830e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0354ad3f.js → HEIGHT_BOYS.zscore.yearly-ce843c80.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d97e8033.js → HEIGHT_GIRLS.percentile.monthly-c618e74e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-32df44a5.js → HEIGHT_GIRLS.percentile.weekly-c0e7ba9a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-12035f64.js → HEIGHT_GIRLS.percentile.yearly-0925ace2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a8c8d847.js → HEIGHT_GIRLS.zscore.monthly-e7c6b883.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-cb50e425.js → HEIGHT_GIRLS.zscore.weekly-361bcb55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-f2508459.js → HEIGHT_GIRLS.zscore.yearly-266a2048.js} +0 -0
- /package/build/{Locale-5a458df9.js → Locale-67318c96.js} +0 -0
- /package/build/{Visible-b0d75028.js → Visible-3be1d984.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-df19f912.js → WEIGHT_BOYS.percentile.monthly-91ad1280.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2409e44d.js → WEIGHT_BOYS.percentile.weekly-d7622a88.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-32a62f5c.js → WEIGHT_BOYS.percentile.yearly-e3ab9e89.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-72414ef5.js → WEIGHT_BOYS.zscore.monthly-436b0d0d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9f72fc9a.js → WEIGHT_BOYS.zscore.weekly-d5d15226.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0d59e1e7.js → WEIGHT_BOYS.zscore.yearly-267fd7bb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1952aff3.js → WEIGHT_GIRLS.percentile.monthly-5c56ced3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5540a4b2.js → WEIGHT_GIRLS.percentile.weekly-eb67fe81.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-93e8e785.js → WEIGHT_GIRLS.percentile.yearly-403c858d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8cf04311.js → WEIGHT_GIRLS.zscore.monthly-ff818ff3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e2adfd5d.js → WEIGHT_GIRLS.zscore.weekly-758bcabd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2ee7f10f.js → WEIGHT_GIRLS.zscore.yearly-80652df6.js} +0 -0
- /package/build/{animation-12e35c54.js → animation-03df4310.js} +0 -0
- /package/build/{constants-3c7cf264.js → constants-198d54f3.js} +0 -0
- /package/build/{constants-752fb6de.js → constants-879652eb.js} +0 -0
- /package/build/{constants-8154719d.js → constants-f418eda9.js} +0 -0
- /package/build/{dataTransform-ab5a74f6.js → dataTransform-66a0e5ae.js} +0 -0
- /package/build/{doctor-42953223.js → doctor-f2c0e296.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-b62662ad.js → BMI_BOYS.percentile.monthly-714e1d7b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8f9998cc.js → BMI_BOYS.percentile.weekly-36a79859.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a72bf4fb.js → BMI_BOYS.percentile.yearly-af4edd03.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-478cbb86.js → BMI_BOYS.zscore.monthly-fb4f387f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0b78150c.js → BMI_BOYS.zscore.weekly-043360d6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-56395f67.js → BMI_BOYS.zscore.yearly-c4f7de93.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-7afdb95b.js → BMI_GIRLS.percentile.monthly-0c29c271.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-4a5ad749.js → BMI_GIRLS.percentile.weekly-91b844ca.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2f41621b.js → BMI_GIRLS.percentile.yearly-39187710.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-502de42b.js → BMI_GIRLS.zscore.monthly-5d7ead81.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-9f83b9d7.js → BMI_GIRLS.zscore.weekly-e649d19c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b40eef2f.js → BMI_GIRLS.zscore.yearly-2df134ff.js} +0 -0
- /package/build/esm/{ChevronDown-2e2c53a9.js → ChevronDown-c5a890aa.js} +0 -0
- /package/build/esm/{Close-bff77e63.js → Close-ff41bb0d.js} +0 -0
- /package/build/esm/{Google-b4f655d1.js → Google-41959d16.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0c8eefbd.js → HEAD CIRCUM_BOYS.percentile.monthly-e0bac857.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c0dce6a5.js → HEAD CIRCUM_BOYS.percentile.weekly-8ea26cbd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6e753044.js → HEAD CIRCUM_BOYS.percentile.yearly-191bb1d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-265595d2.js → HEAD CIRCUM_BOYS.zscore.monthly-66d0ca20.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2f65d229.js → HEAD CIRCUM_BOYS.zscore.weekly-5a4f3516.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-7c8e6df2.js → HEAD CIRCUM_BOYS.zscore.yearly-eef4a95c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-63fb3524.js → HEAD CIRCUM_GIRLS.percentile.monthly-cdb0e1fc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-958bee8d.js → HEAD CIRCUM_GIRLS.percentile.weekly-cc733705.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-601af1ad.js → HEAD CIRCUM_GIRLS.percentile.yearly-080b615e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-eaa72981.js → HEAD CIRCUM_GIRLS.zscore.monthly-dceefcca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4dc5b657.js → HEAD CIRCUM_GIRLS.zscore.weekly-a55e7c8e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9e0fa09d.js → HEAD CIRCUM_GIRLS.zscore.yearly-473342a0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-14a41e5b.js → HEIGHT_BOYS.percentile.monthly-6a2c5f99.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-37b16a80.js → HEIGHT_BOYS.percentile.weekly-df56e4bd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-12522a6a.js → HEIGHT_BOYS.percentile.yearly-d79dc744.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e4cb8e09.js → HEIGHT_BOYS.zscore.monthly-4912de97.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-43b66ebd.js → HEIGHT_BOYS.zscore.weekly-1a87df95.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a7f89716.js → HEIGHT_BOYS.zscore.yearly-a7060ce2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ab995a7e.js → HEIGHT_GIRLS.percentile.monthly-0b981810.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-aa1fa070.js → HEIGHT_GIRLS.percentile.weekly-b976a012.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-99254df4.js → HEIGHT_GIRLS.percentile.yearly-a4f14dc6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c5b52ddf.js → HEIGHT_GIRLS.zscore.monthly-c5f157ae.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-d6c830ac.js → HEIGHT_GIRLS.zscore.weekly-0363899e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fe158097.js → HEIGHT_GIRLS.zscore.yearly-4d1afb3e.js} +0 -0
- /package/build/esm/{Locale-5c4592c0.js → Locale-82737cba.js} +0 -0
- /package/build/esm/{Visible-38b6fdaf.js → Visible-241bb92e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-fd207284.js → WEIGHT_BOYS.percentile.monthly-9d79bbff.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-ef65f0bd.js → WEIGHT_BOYS.percentile.weekly-9c34b5ca.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d74c2741.js → WEIGHT_BOYS.percentile.yearly-b89683f1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0cadd974.js → WEIGHT_BOYS.zscore.monthly-bdca5451.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-faa93ee8.js → WEIGHT_BOYS.zscore.weekly-389312be.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b5d9afeb.js → WEIGHT_BOYS.zscore.yearly-c9298e66.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ae1cfe72.js → WEIGHT_GIRLS.percentile.monthly-d9424e46.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-54476e6f.js → WEIGHT_GIRLS.percentile.weekly-c3b85f17.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-90caedbf.js → WEIGHT_GIRLS.percentile.yearly-97beb532.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2f3341ca.js → WEIGHT_GIRLS.zscore.monthly-72d5364d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f8ad0bb4.js → WEIGHT_GIRLS.zscore.weekly-483bca6f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9655f188.js → WEIGHT_GIRLS.zscore.yearly-6727871b.js} +0 -0
- /package/build/esm/{animation-8d27b4e4.js → animation-767017ef.js} +0 -0
- /package/build/esm/{constants-0e4c7913.js → constants-8033a6f7.js} +0 -0
- /package/build/esm/{constants-1c673233.js → constants-936a9fc7.js} +0 -0
- /package/build/esm/{constants-c1b6e6e6.js → constants-d429ea90.js} +0 -0
- /package/build/esm/{dataTransform-3e830ba6.js → dataTransform-01bfaef7.js} +0 -0
- /package/build/esm/{doctor-6a91f2a7.js → doctor-df1c73f4.js} +0 -0
- /package/build/esm/{index-b1b602a3.js → index-2940b1e5.js} +0 -0
- /package/build/esm/{index-469aca76.js → index-366cbe4d.js} +0 -0
- /package/build/esm/{index-77c8d3c0.js → index-51153b47.js} +0 -0
- /package/build/esm/{index-89875847.js → index-546912df.js} +0 -0
- /package/build/esm/{index-3fe65768.js → index-66cecb96.js} +0 -0
- /package/build/esm/{index-1ab17628.js → index-78405fbe.js} +0 -0
- /package/build/esm/{index-aa298135.js → index-7f345a65.js} +0 -0
- /package/build/esm/{index-3e095706.js → index-f37cd68a.js} +0 -0
- /package/build/esm/{index.styles-b22f6e1f.js → index.styles-241e597c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2d00f0d6.js → localizeNumberFormat-bce4d77f.js} +0 -0
- /package/build/esm/{normalizeLink-a8b6e66c.js → normalizeLink-227b684f.js} +0 -0
- /package/build/esm/{other-c7b41bb1.js → other-c98cc85f.js} +0 -0
- /package/build/esm/{paths-2cebbd7c.js → paths-aad11b44.js} +0 -0
- /package/build/esm/{translationsContext-b378aad7.js → translationsContext-e77c3167.js} +0 -0
- /package/build/esm/{tslib.es6-a28612e9.js → tslib.es6-b13d9bb6.js} +0 -0
- /package/build/esm/{types-50d3bb6c.js → types-d026fc20.js} +0 -0
- /package/build/esm/{useIsInit-dfcf70a1.js → useIsInit-060c3dee.js} +0 -0
- /package/build/esm/{useOutsideClick-43a2ed0b.js → useOutsideClick-db23ae98.js} +0 -0
- /package/build/esm/{useScrollbarSize-2e99c67d.js → useScrollbarSize-38d032c0.js} +0 -0
- /package/build/esm/{useUniqueId-adb5c890.js → useUniqueId-1968e55d.js} +0 -0
- /package/build/esm/{utils-f9df87ad.js → utils-b095b5f7.js} +0 -0
- /package/build/{index-53735eff.js → index-23f71ff9.js} +0 -0
- /package/build/{index-d0dee133.js → index-3c1fcd6a.js} +0 -0
- /package/build/{index-3eda77c6.js → index-63ebb255.js} +0 -0
- /package/build/{index-cecd41a8.js → index-7aeccaac.js} +0 -0
- /package/build/{index-51298ce7.js → index-a1e10b80.js} +0 -0
- /package/build/{index-72754c1f.js → index-a4bcc0d9.js} +0 -0
- /package/build/{index-ec9173d8.js → index-d19a8f4a.js} +0 -0
- /package/build/{index-f044180a.js → index-e875e6d7.js} +0 -0
- /package/build/{index.styles-be64e85f.js → index.styles-00fb0f57.js} +0 -0
- /package/build/{localizeNumberFormat-f489eb10.js → localizeNumberFormat-84c04922.js} +0 -0
- /package/build/{normalizeLink-e1acde98.js → normalizeLink-4f4ec65f.js} +0 -0
- /package/build/{other-f704af7f.js → other-2aef6e7b.js} +0 -0
- /package/build/{paths-7a6aa986.js → paths-53a4bcab.js} +0 -0
- /package/build/{translationsContext-ac37a205.js → translationsContext-78a38d7d.js} +0 -0
- /package/build/{tslib.es6-4dedca11.js → tslib.es6-1e89b599.js} +0 -0
- /package/build/{types-9f509ead.js → types-237181b2.js} +0 -0
- /package/build/{useIsInit-9bf00bd0.js → useIsInit-e02ecb42.js} +0 -0
- /package/build/{useOutsideClick-9d4aa36b.js → useOutsideClick-937935da.js} +0 -0
- /package/build/{useScrollbarSize-5c089b9f.js → useScrollbarSize-2d34ec5c.js} +0 -0
- /package/build/{useUniqueId-30cb684a.js → useUniqueId-fe9aa36d.js} +0 -0
- /package/build/{utils-26666340.js → utils-0f489780.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-83b25948.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-b13d9bb6.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-46e95b8b.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-b1dbc1ff.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-0d74a29c.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-0d74a29c.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-78405fbe.js';
|
|
17
|
+
import { L as Loading } from './index-b7204fcd.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-b095b5f7.js';
|
|
21
|
+
import { B as Button } from './index-832e25de.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-f37cd68a.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-d429ea90.js';
|
|
28
29
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
30
|
+
import { T as Text } from './index-b14461a3.js';
|
|
30
31
|
import { theme } from './miscTheme.js';
|
|
31
|
-
import {
|
|
32
|
-
import { S as Select } from './index-90cac9e5.js';
|
|
32
|
+
import { S as Select } from './index-856724ed.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-1c62b715.js';
|
|
35
|
+
import './index.styles-241e597c.js';
|
|
36
|
+
import './translationsContext-e77c3167.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-c98cc85f.js';
|
|
39
|
+
import './index-73c778f3.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-3e36095e.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-82737cba.js';
|
|
47
|
+
import get from 'lodash/get';
|
|
48
|
+
import { D as DatePicker } from './index-45ed6241.js';
|
|
49
|
+
import { B as Button$1 } from './index-86f399c7.js';
|
|
50
|
+
import { D as Dropdown } from './index-366cbe4d.js';
|
|
51
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-4d31051c.js';
|
|
51
52
|
import 'date-fns/locale';
|
|
52
53
|
import './constantsSite.js';
|
|
53
54
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
55
|
+
import './index-2940b1e5.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-6c7a1cec.js';
|
|
60
|
+
import './WhatsApp-89ab29e7.js';
|
|
61
|
+
import './Spinner-d42e2aa6.js';
|
|
62
|
+
import './index-2eedd7c7.js';
|
|
63
|
+
import './useScreenSize-832ea891.js';
|
|
63
64
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
65
|
+
import './useUniqueId-1968e55d.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-227b684f.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-d610f37e.js';
|
|
4
|
+
import './utils-b1dbc1ff.js';
|
|
5
|
+
import './index-2eedd7c7.js';
|
|
6
|
+
import './index-f37cd68a.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-82737cba.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-46e95b8b.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-83b25948.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
-
import './store-
|
|
15
|
+
import './tslib.es6-b13d9bb6.js';
|
|
16
|
+
import './store-4d31051c.js';
|
|
17
17
|
import 'zustand';
|
|
18
|
-
import './normalizeLink-
|
|
18
|
+
import './normalizeLink-227b684f.js';
|
|
19
19
|
import './miscCookieHelper.js';
|
|
20
|
-
import './useScreenSize-
|
|
20
|
+
import './useScreenSize-832ea891.js';
|
|
21
21
|
import '@emotion/styled';
|
|
22
|
-
import './utils-
|
|
22
|
+
import './utils-b095b5f7.js';
|
|
23
23
|
import '@mantine/form';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-856724ed.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-b14461a3.js';
|
|
29
|
+
import './other-c98cc85f.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
|
-
import './useMantineLocale-
|
|
31
|
+
import './useMantineLocale-1c62b715.js';
|
|
32
32
|
import '@mantine/notifications';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-832e25de.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-1968e55d.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './index.styles-
|
|
40
|
-
import './index-
|
|
39
|
+
import './index.styles-241e597c.js';
|
|
40
|
+
import './index-73c778f3.js';
|
|
41
41
|
import './togetherApiPaths.js';
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
44
|
-
import './useHealthToolCache-
|
|
42
|
+
import './translationsContext-e77c3167.js';
|
|
43
|
+
import './index-d937373e.js';
|
|
44
|
+
import './useHealthToolCache-19cb17fc.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-2fcc1568.js';
|
|
47
|
+
import './index-6c7a1cec.js';
|
|
48
|
+
import './WhatsApp-89ab29e7.js';
|
|
49
|
+
import './Spinner-d42e2aa6.js';
|
|
50
|
+
import './index-66cecb96.js';
|
|
51
|
+
import './index-28d58efe.js';
|
|
52
52
|
import 'js-cookie';
|
|
53
53
|
import 'lodash/flatten';
|
|
54
54
|
import 'lodash/uniqBy';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-2940b1e5.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import 'string-format';
|
|
58
|
-
import './constants-
|
|
58
|
+
import './constants-d429ea90.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-d303658f.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-86f399c7.js';
|
|
4
|
+
import './tslib.es6-b13d9bb6.js';
|
|
5
|
+
import './index-832e25de.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-b14461a3.js';
|
|
8
|
+
import './other-c98cc85f.js';
|
|
9
|
+
import './index-d937373e.js';
|
|
10
|
+
import './index-8cb28ea4.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-b095b5f7.js';
|
|
14
|
+
import './index-4f9c8a88.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-86f399c7.js';
|
|
3
|
+
import { T as Text } from './index-b14461a3.js';
|
|
4
|
+
import { H as Heading } from './index-d937373e.js';
|
|
5
|
+
import { I as Input } from './index-8cb28ea4.js';
|
|
6
|
+
import { T as TextArea } from './index-4f9c8a88.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;
|