@hhgtech/hhg-components 1.29.341-beta-4 → 1.29.341-beta-6
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-d3a34a26.js} +1 -1
- package/build/{MobileBottomNavigationIcon-791dc985.js → MobileBottomNavigationIcon-c88dc471.js} +3 -3
- package/build/{Spinner-cd86fb09.js → Spinner-0880c7b5.js} +1 -1
- package/build/{WhatsApp-4b7edd41.js → WhatsApp-e81f1b2c.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-5397405f.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-4d0d09f6.js} +1 -1
- package/build/{dataTransform-a15b85e7.js → dataTransform-6bcf8f7f.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-ca130e52.js → editor-5d6683e4.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-445c4f74.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-a324653a.js → MobileBottomNavigationIcon-86824ba3.js} +3 -3
- package/build/esm/{Spinner-489c409d.js → Spinner-86a7a96d.js} +1 -1
- package/build/esm/{WhatsApp-314e285f.js → WhatsApp-0661f2a5.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-2707d5f3.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-8b2e83de.js} +1 -1
- package/build/esm/{dataTransform-a32da5ec.js → dataTransform-43aaec89.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-634c24d8.js → editor-148cf2d6.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-a7e760ae.js → index-060dcad6.js} +17 -17
- package/build/esm/{index-90cac9e5.js → index-0b466384.js} +15 -15
- package/build/esm/{index-9de7d709.js → index-0d268939.js} +5 -5
- package/build/esm/{index-7ade79a7.js → index-0e80b2bf.js} +16 -16
- package/build/esm/{index-32988940.js → index-0e85054e.js} +2 -2
- package/build/esm/{index-61b8f629.js → index-1541ac31.js} +13 -13
- package/build/esm/{index-64e7e665.js → index-15bfa9b4.js} +1 -1
- package/build/esm/{index-900fa51b.js → index-18a40d9e.js} +10 -10
- package/build/esm/{index-f4c72268.js → index-18ffcb37.js} +7 -7
- package/build/esm/{index-1587e9a8.js → index-1a89f3b8.js} +3 -3
- package/build/esm/{index-4b903423.js → index-1dd105ac.js} +5 -5
- package/build/esm/{index-55c53a67.js → index-1dea4e66.js} +2 -2
- package/build/esm/{index-87c6b14e.js → index-1f9948c9.js} +30 -30
- package/build/esm/{index-dd87b4da.js → index-1ff47c4d.js} +17 -17
- package/build/esm/{index-0d24d252.js → index-23d8e1c1.js} +2 -2
- package/build/esm/{index-5adc925f.js → index-258e8bd2.js} +20 -20
- package/build/esm/{index-2a8da5b2.js → index-3061aff3.js} +1 -1
- package/build/esm/{index-acfabf14.js → index-3d3df4e3.js} +3 -3
- package/build/esm/{index-75bc5f47.js → index-3ec8ebd8.js} +3 -3
- package/build/esm/{index-1b96e37c.js → index-42159dfc.js} +15 -15
- package/build/esm/{index-481ad938.js → index-43b35f03.js} +2 -2
- package/build/esm/{index-eabdeceb.js → index-43b7d586.js} +13 -13
- package/build/esm/{index-8ca75b47.js → index-505f23af.js} +18 -18
- package/build/esm/{index-3522cfb9.js → index-56214c0a.js} +4 -4
- package/build/esm/{index-2c47a78c.js → index-5c1f8a90.js} +2 -2
- package/build/esm/{index-b06d4aac.js → index-5e51786e.js} +3 -1
- package/build/esm/{index-d5a7776d.js → index-5eb98de8.js} +2 -2
- package/build/esm/{index-f6e657f5.js → index-5f510e75.js} +24 -24
- package/build/esm/{index-fb02c05f.js → index-5fd787ee.js} +1 -1
- package/build/esm/{index-929059cd.js → index-62786f7e.js} +2 -2
- package/build/esm/{index-dee4461c.js → index-694e1606.js} +24 -24
- package/build/esm/{index-4679b320.js → index-6cfe4c92.js} +13 -13
- package/build/esm/{index-fdb47cc4.js → index-6f5cfa77.js} +15 -15
- package/build/esm/{index-2343cb0b.js → index-79c91bac.js} +16 -16
- package/build/esm/{index-4150228a.js → index-80d6f6e4.js} +1 -1
- package/build/esm/{index-c903debb.js → index-83a4ef9d.js} +2 -2
- package/build/esm/{index-eee7f80e.js → index-8a544e4f.js} +1 -1
- package/build/esm/{index-c2d7df1b.js → index-8adbd8f9.js} +1 -1
- package/build/esm/{index-78fc08fd.js → index-8bc5c330.js} +6 -6
- package/build/esm/{index-90428778.js → index-8cf66e0e.js} +18 -18
- package/build/esm/{index-75670317.js → index-8d144a73.js} +1 -1
- package/build/esm/{index-26676d6e.js → index-8d46ac3c.js} +1 -1
- package/build/esm/{index-453f193f.js → index-a6003b50.js} +21 -21
- package/build/esm/{index-fb05ea22.js → index-a729b6eb.js} +3 -3
- package/build/esm/{index-0ad2837c.js → index-aab29dcd.js} +16 -16
- package/build/esm/{index-8b47416e.js → index-be1c8ab0.js} +2 -2
- package/build/esm/{index-12832709.js → index-c20cc661.js} +2 -2
- package/build/esm/index-c29c903a.js +106 -0
- package/build/esm/{index-cc43fb31.js → index-c4c4de68.js} +32 -32
- package/build/esm/{index-cea02a07.js → index-c59ede8c.js} +13 -13
- package/build/esm/{index-a2ec7027.js → index-c8f26e4d.js} +2 -2
- package/build/esm/{index-85be1e4e.js → index-c988c52f.js} +3 -3
- package/build/esm/{index-c9734a66.js → index-c99543ad.js} +178 -110
- package/build/esm/{index-ae8e25e7.js → index-d023d205.js} +17 -5
- package/build/esm/{index-2bea99aa.js → index-d56bf46a.js} +18 -18
- package/build/esm/{index-685228b7.js → index-dc897fbd.js} +5 -5
- package/build/esm/{index-b659beed.js → index-e097d4ac.js} +6 -6
- package/build/esm/{index-9fb8d0d3.js → index-e232b272.js} +3 -3
- package/build/esm/{index-37a8a068.js → index-e72557b8.js} +2 -2
- package/build/esm/{index-e7ab7147.js → index-f110a9a2.js} +16 -16
- package/build/esm/{index-67803ccd.js → index-f420cf57.js} +7 -7
- package/build/esm/{index-61053ab7.js → index-fa104806.js} +6 -6
- package/build/esm/{index-8cc0a55f.js → index-feac627a.js} +6 -6
- 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-dabbbe49.js} +4 -4
- package/build/esm/lead/components/context.d.ts +2 -0
- package/build/esm/lead/components/form/formContext.d.ts +3 -1
- package/build/esm/lead/components/index.d.ts +6 -3
- package/build/esm/lead/helpers.d.ts +2 -0
- package/build/esm/lead/index.d.ts +3 -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/formContext.d.ts +3 -1
- package/build/esm/lead/layouts/lightbox/index.d.ts +6 -3
- package/build/esm/lead/newLeadPopup.d.ts +6 -3
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +862 -356
- package/build/esm/{logoIcon-927917c4.js → logoIcon-c4869d97.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-69a74800.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-70ff0557.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-a04bbf2c.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-1ae55cf2.js} +19 -19
- package/build/esm/{types-dc535f4e.js → types-c3523b3f.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-2ab01bcd.js → useCategory-5032dae0.js} +5 -5
- package/build/esm/{useHealthToolCache-b9949e32.js → useHealthToolCache-1f9dbb24.js} +1 -1
- package/build/esm/{useMantineLocale-5a4595f2.js → useMantineLocale-1feddb9c.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-05366516.js → usePlacesAutocomplete-8e98765d.js} +2 -1
- package/build/esm/{useScreenSize-727c5292.js → useScreenSize-d2b943c6.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-e173a83d.js → utils-48b2ce06.js} +3 -3
- package/build/esm/{utils-3f153bc3.js → utils-9f92bc89.js} +2 -2
- package/build/esm/{utils-faa45c9d.js → utils-e707f777.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-362bc4f9.js → index-028ad64e.js} +2 -2
- package/build/{index-469c8890.js → index-06ecba73.js} +1 -1
- package/build/{index-bdf8592e.js → index-096c02e4.js} +1 -1
- package/build/index-0a6692aa.js +113 -0
- package/build/{index-54496c56.js → index-0fb731bc.js} +6 -6
- package/build/{index-1ec2efb0.js → index-11a97002.js} +3 -3
- package/build/{index-baba72ad.js → index-122c8281.js} +16 -16
- package/build/{index-6c5ff1d0.js → index-126ba271.js} +2 -2
- package/build/{index-27c09bf6.js → index-16be0a64.js} +4 -4
- package/build/{index-a0823c33.js → index-271b1ed9.js} +5 -5
- package/build/{index-be4ae18d.js → index-2ae87c66.js} +2 -2
- package/build/{index-690bdbc6.js → index-2ea52f21.js} +1 -1
- package/build/{index-55d014c0.js → index-2f13a319.js} +2 -2
- package/build/{index-57cd81cf.js → index-3f2a3c92.js} +3 -1
- package/build/{index-84dad248.js → index-3f44a095.js} +7 -7
- package/build/{index-6b71cbb2.js → index-4604a341.js} +3 -3
- package/build/{index-b0348bdc.js → index-46c21580.js} +24 -24
- package/build/{index-54683d40.js → index-4b3d5059.js} +15 -15
- package/build/{index-98afbdc8.js → index-4bd49bd1.js} +1 -1
- package/build/{index-620c1a47.js → index-4d76c468.js} +18 -18
- package/build/{index-a3450adc.js → index-51656cca.js} +13 -13
- package/build/{index-ccc06c84.js → index-53e03a34.js} +16 -16
- package/build/{index-081e8f90.js → index-5b0e851e.js} +10 -10
- package/build/{index-fa9d1127.js → index-5cdd5aa4.js} +17 -17
- package/build/{index-84ae746e.js → index-654ae36c.js} +17 -4
- package/build/{index-da6e4c71.js → index-6c8c3f82.js} +3 -3
- package/build/{index-7c206478.js → index-6e35cc70.js} +13 -13
- package/build/{index-fc5db3e8.js → index-6ea0fa63.js} +6 -6
- package/build/{index-9d97b930.js → index-726d0c57.js} +17 -17
- package/build/{index-3778c82e.js → index-7471e48a.js} +3 -3
- package/build/{index-29cf2fe1.js → index-74894e0f.js} +13 -13
- package/build/{index-70ded784.js → index-79d8bd3d.js} +1 -1
- package/build/{index-66aeb2b8.js → index-79e08f28.js} +2 -2
- package/build/{index-2cf33195.js → index-84687a9d.js} +30 -30
- package/build/{index-851da335.js → index-8ad233b6.js} +18 -18
- package/build/{index-15d71fb1.js → index-9a66f912.js} +5 -5
- package/build/{index-58be9dad.js → index-9ae0bda7.js} +1 -1
- package/build/{index-23151399.js → index-9e6ee013.js} +2 -2
- package/build/{index-c2e6e664.js → index-a0dbd6e6.js} +24 -24
- package/build/{index-803cf9fb.js → index-a5f5d94c.js} +16 -16
- package/build/{index-3b962dba.js → index-a7c2f66e.js} +3 -3
- package/build/{index-f67663ff.js → index-b25db8a2.js} +2 -2
- package/build/{index-13529096.js → index-b2bb259b.js} +20 -20
- package/build/{index-eabe773f.js → index-b3e23386.js} +32 -32
- package/build/{index-ede69033.js → index-b61f7bee.js} +18 -18
- package/build/{index-a1b84b97.js → index-baf71493.js} +16 -16
- package/build/{index-5a2de97e.js → index-bc7d9fda.js} +2 -2
- package/build/{index-ac76bfbc.js → index-bedf455c.js} +2 -2
- package/build/{index-9effb66f.js → index-bfc8ca13.js} +2 -2
- package/build/{index-81ac4232.js → index-c38e8c00.js} +21 -21
- package/build/{index-186d54e1.js → index-c505f551.js} +1 -1
- package/build/{index-16479235.js → index-ca049913.js} +6 -6
- package/build/{index-e8e4b0db.js → index-ca93f224.js} +2 -2
- package/build/{index-2d2e3b0c.js → index-ce11b8d5.js} +2 -2
- package/build/{index-78624ca3.js → index-d02ea1a3.js} +5 -5
- package/build/{index-722ab417.js → index-e01d395f.js} +1 -1
- package/build/{index-1fcad208.js → index-e106734c.js} +178 -110
- package/build/{index-4c378886.js → index-ec104b95.js} +6 -6
- package/build/{index-9dcc7a03.js → index-ecec0461.js} +3 -3
- package/build/{index-327000b4.js → index-f112490f.js} +13 -13
- package/build/{index-ac273880.js → index-f1f87483.js} +15 -15
- package/build/{index-3fe0c60c.js → index-fc3ff1b1.js} +15 -15
- package/build/{index-1076403d.js → index-fdcf3328.js} +7 -7
- 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-e444e316.js} +4 -4
- package/build/lead/components/context.d.ts +2 -0
- package/build/lead/components/form/formContext.d.ts +3 -1
- package/build/lead/components/index.d.ts +6 -3
- package/build/lead/helpers.d.ts +2 -0
- package/build/lead/index.d.ts +3 -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/formContext.d.ts +3 -1
- package/build/lead/layouts/lightbox/index.d.ts +6 -3
- package/build/lead/newLeadPopup.d.ts +6 -3
- package/build/lead.css +1 -1
- package/build/lead.js +882 -375
- package/build/{logoIcon-51dfe937.js → logoIcon-5457b799.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-8e2e6567.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-23823f5a.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-d8629f56.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-3462f402.js} +19 -19
- package/build/{types-3e202b50.js → types-ef834ac0.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-f786d678.js → useCategory-1bed55fb.js} +5 -5
- package/build/{useHealthToolCache-85f08a9a.js → useHealthToolCache-c3068c08.js} +1 -1
- package/build/{useMantineLocale-479576d6.js → useMantineLocale-52ba38a0.js} +6 -6
- package/build/{usePlacesAutocomplete-1536ff39.js → usePlacesAutocomplete-692a5cd1.js} +2 -1
- package/build/{useScreenSize-008ea8b8.js → useScreenSize-641babdc.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-77ef001a.js → utils-2f42f582.js} +2 -2
- package/build/{utils-5dcf29aa.js → utils-4abf6c8e.js} +3 -3
- package/build/{utils-695e0f2a.js → utils-d2a7fa77.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-b5b604b9.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-dcde4451.js → BMI_BOYS.percentile.weekly-a7944572.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-507adec0.js → BMI_BOYS.percentile.yearly-0ae72e77.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d5a66ed8.js → BMI_BOYS.zscore.monthly-833d0502.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2b60ac52.js → BMI_BOYS.zscore.weekly-8db71af5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-cade3a5e.js → BMI_BOYS.zscore.yearly-c29cb751.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-276936e9.js → BMI_GIRLS.percentile.monthly-25f98ebd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-224acb2a.js → BMI_GIRLS.percentile.weekly-b1c79289.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-393c9509.js → BMI_GIRLS.percentile.yearly-5a398bc8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-72d88b06.js → BMI_GIRLS.zscore.monthly-a0da9d70.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-32e66039.js → BMI_GIRLS.zscore.weekly-b3a0faa0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-14a64fc6.js → BMI_GIRLS.zscore.yearly-ee8ad123.js} +0 -0
- /package/build/{ChevronDown-99b32e71.js → ChevronDown-4569e866.js} +0 -0
- /package/build/{Close-50a057e1.js → Close-b4bbe84d.js} +0 -0
- /package/build/{Google-b0a6a799.js → Google-0a0d5d4f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-800f9ad6.js → HEAD CIRCUM_BOYS.percentile.monthly-49b30ec5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ff39e218.js → HEAD CIRCUM_BOYS.percentile.weekly-cfc78f17.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-96833429.js → HEAD CIRCUM_BOYS.percentile.yearly-9538a4ae.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-cc6fe272.js → HEAD CIRCUM_BOYS.zscore.monthly-c6c7195c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-391fbf23.js → HEAD CIRCUM_BOYS.zscore.weekly-726dd81d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-3b6e1e4b.js → HEAD CIRCUM_BOYS.zscore.yearly-1e3c70fc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8bf89c41.js → HEAD CIRCUM_GIRLS.percentile.monthly-af341f11.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0eb51033.js → HEAD CIRCUM_GIRLS.percentile.weekly-123efae6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-85b823c9.js → HEAD CIRCUM_GIRLS.percentile.yearly-18619384.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0df24f0e.js → HEAD CIRCUM_GIRLS.zscore.monthly-f1c74ff1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2ba73ae2.js → HEAD CIRCUM_GIRLS.zscore.weekly-5dbd3865.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-82905d89.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e22d1a6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-834a3c28.js → HEIGHT_BOYS.percentile.monthly-4f06dec9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-68536dab.js → HEIGHT_BOYS.percentile.weekly-76515620.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f5d17411.js → HEIGHT_BOYS.percentile.yearly-41a489da.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4769df04.js → HEIGHT_BOYS.zscore.monthly-473ee160.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-9de082cd.js → HEIGHT_BOYS.zscore.weekly-fb0c3d00.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0354ad3f.js → HEIGHT_BOYS.zscore.yearly-7776e62d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d97e8033.js → HEIGHT_GIRLS.percentile.monthly-46ede717.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-32df44a5.js → HEIGHT_GIRLS.percentile.weekly-382a6979.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-12035f64.js → HEIGHT_GIRLS.percentile.yearly-3cd09486.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a8c8d847.js → HEIGHT_GIRLS.zscore.monthly-23ddf814.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-cb50e425.js → HEIGHT_GIRLS.zscore.weekly-a67923c5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-f2508459.js → HEIGHT_GIRLS.zscore.yearly-0174dedb.js} +0 -0
- /package/build/{Locale-5a458df9.js → Locale-3f23c811.js} +0 -0
- /package/build/{Visible-b0d75028.js → Visible-5a6a971e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-df19f912.js → WEIGHT_BOYS.percentile.monthly-acccd5e2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2409e44d.js → WEIGHT_BOYS.percentile.weekly-a2d352f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-32a62f5c.js → WEIGHT_BOYS.percentile.yearly-191dcc2b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-72414ef5.js → WEIGHT_BOYS.zscore.monthly-63a7ae5d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9f72fc9a.js → WEIGHT_BOYS.zscore.weekly-1da5110b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0d59e1e7.js → WEIGHT_BOYS.zscore.yearly-90e59d19.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1952aff3.js → WEIGHT_GIRLS.percentile.monthly-1b2ff0a3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5540a4b2.js → WEIGHT_GIRLS.percentile.weekly-a59a9982.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-93e8e785.js → WEIGHT_GIRLS.percentile.yearly-dcc7ceb2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8cf04311.js → WEIGHT_GIRLS.zscore.monthly-c4473bcc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e2adfd5d.js → WEIGHT_GIRLS.zscore.weekly-59c6f20e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2ee7f10f.js → WEIGHT_GIRLS.zscore.yearly-c3ec055f.js} +0 -0
- /package/build/{animation-12e35c54.js → animation-6b824d15.js} +0 -0
- /package/build/{constants-3c7cf264.js → constants-29732063.js} +0 -0
- /package/build/{constants-8154719d.js → constants-66525f07.js} +0 -0
- /package/build/{constants-752fb6de.js → constants-b7585c85.js} +0 -0
- /package/build/{dataTransform-ab5a74f6.js → dataTransform-9c7260d6.js} +0 -0
- /package/build/{doctor-42953223.js → doctor-1a8dc8e5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-b62662ad.js → BMI_BOYS.percentile.monthly-606d09a9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8f9998cc.js → BMI_BOYS.percentile.weekly-e44d6ae5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a72bf4fb.js → BMI_BOYS.percentile.yearly-a70a2a6d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-478cbb86.js → BMI_BOYS.zscore.monthly-998e4aac.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0b78150c.js → BMI_BOYS.zscore.weekly-3df7c638.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-56395f67.js → BMI_BOYS.zscore.yearly-1267f679.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-7afdb95b.js → BMI_GIRLS.percentile.monthly-8b03ed84.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-4a5ad749.js → BMI_GIRLS.percentile.weekly-24091f93.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2f41621b.js → BMI_GIRLS.percentile.yearly-a4d8cf3f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-502de42b.js → BMI_GIRLS.zscore.monthly-340fed6b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-9f83b9d7.js → BMI_GIRLS.zscore.weekly-d5c46c8b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b40eef2f.js → BMI_GIRLS.zscore.yearly-a4122fcb.js} +0 -0
- /package/build/esm/{ChevronDown-2e2c53a9.js → ChevronDown-ff6ec965.js} +0 -0
- /package/build/esm/{Close-bff77e63.js → Close-6812fb47.js} +0 -0
- /package/build/esm/{Google-b4f655d1.js → Google-18dd2136.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0c8eefbd.js → HEAD CIRCUM_BOYS.percentile.monthly-cd045f68.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c0dce6a5.js → HEAD CIRCUM_BOYS.percentile.weekly-f1b23013.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6e753044.js → HEAD CIRCUM_BOYS.percentile.yearly-f5d1f881.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-265595d2.js → HEAD CIRCUM_BOYS.zscore.monthly-9d4d25a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2f65d229.js → HEAD CIRCUM_BOYS.zscore.weekly-9cbf2fb5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-7c8e6df2.js → HEAD CIRCUM_BOYS.zscore.yearly-9404b339.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-63fb3524.js → HEAD CIRCUM_GIRLS.percentile.monthly-8f38a256.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-958bee8d.js → HEAD CIRCUM_GIRLS.percentile.weekly-f49677bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-601af1ad.js → HEAD CIRCUM_GIRLS.percentile.yearly-8209f963.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-eaa72981.js → HEAD CIRCUM_GIRLS.zscore.monthly-9b3dad4c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4dc5b657.js → HEAD CIRCUM_GIRLS.zscore.weekly-6f25eef0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9e0fa09d.js → HEAD CIRCUM_GIRLS.zscore.yearly-02d7e737.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-14a41e5b.js → HEIGHT_BOYS.percentile.monthly-3b0bb8b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-37b16a80.js → HEIGHT_BOYS.percentile.weekly-d915a0f7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-12522a6a.js → HEIGHT_BOYS.percentile.yearly-9d60e5a7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e4cb8e09.js → HEIGHT_BOYS.zscore.monthly-0dc4d2ba.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-43b66ebd.js → HEIGHT_BOYS.zscore.weekly-5eed933d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a7f89716.js → HEIGHT_BOYS.zscore.yearly-fb8e2c2f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ab995a7e.js → HEIGHT_GIRLS.percentile.monthly-e83897df.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-aa1fa070.js → HEIGHT_GIRLS.percentile.weekly-fa416be0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-99254df4.js → HEIGHT_GIRLS.percentile.yearly-c2fcd617.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c5b52ddf.js → HEIGHT_GIRLS.zscore.monthly-ac219149.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-d6c830ac.js → HEIGHT_GIRLS.zscore.weekly-0ed41439.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fe158097.js → HEIGHT_GIRLS.zscore.yearly-5b3395ae.js} +0 -0
- /package/build/esm/{Locale-5c4592c0.js → Locale-7140abf6.js} +0 -0
- /package/build/esm/{Visible-38b6fdaf.js → Visible-98f8a2cf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-fd207284.js → WEIGHT_BOYS.percentile.monthly-50acf97b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-ef65f0bd.js → WEIGHT_BOYS.percentile.weekly-5d8ded2f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d74c2741.js → WEIGHT_BOYS.percentile.yearly-1b8d7cdd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0cadd974.js → WEIGHT_BOYS.zscore.monthly-5e77d33f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-faa93ee8.js → WEIGHT_BOYS.zscore.weekly-1d74f213.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b5d9afeb.js → WEIGHT_BOYS.zscore.yearly-6e257fd8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ae1cfe72.js → WEIGHT_GIRLS.percentile.monthly-b6f06fce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-54476e6f.js → WEIGHT_GIRLS.percentile.weekly-ed2591df.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-90caedbf.js → WEIGHT_GIRLS.percentile.yearly-1a1b2e26.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2f3341ca.js → WEIGHT_GIRLS.zscore.monthly-85dd43a4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f8ad0bb4.js → WEIGHT_GIRLS.zscore.weekly-f5a80c1a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9655f188.js → WEIGHT_GIRLS.zscore.yearly-69f49585.js} +0 -0
- /package/build/esm/{animation-8d27b4e4.js → animation-188099e1.js} +0 -0
- /package/build/esm/{constants-0e4c7913.js → constants-448e00b1.js} +0 -0
- /package/build/esm/{constants-c1b6e6e6.js → constants-8bec688b.js} +0 -0
- /package/build/esm/{constants-1c673233.js → constants-b368a942.js} +0 -0
- /package/build/esm/{dataTransform-3e830ba6.js → dataTransform-425f7dee.js} +0 -0
- /package/build/esm/{doctor-6a91f2a7.js → doctor-e91f5f7a.js} +0 -0
- /package/build/esm/{index-3fe65768.js → index-52561df1.js} +0 -0
- /package/build/esm/{index-469aca76.js → index-5758f18b.js} +0 -0
- /package/build/esm/{index-77c8d3c0.js → index-76d4d63b.js} +0 -0
- /package/build/esm/{index-1ab17628.js → index-76e16e84.js} +0 -0
- /package/build/esm/{index-89875847.js → index-8358793e.js} +0 -0
- /package/build/esm/{index-3e095706.js → index-916d350e.js} +0 -0
- /package/build/esm/{index-aa298135.js → index-bc9cb952.js} +0 -0
- /package/build/esm/{index-b1b602a3.js → index-d1db433b.js} +0 -0
- /package/build/esm/{index.styles-b22f6e1f.js → index.styles-174d7f7f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2d00f0d6.js → localizeNumberFormat-0d5d019d.js} +0 -0
- /package/build/esm/{normalizeLink-a8b6e66c.js → normalizeLink-3eee9386.js} +0 -0
- /package/build/esm/{other-c7b41bb1.js → other-87250184.js} +0 -0
- /package/build/esm/{paths-2cebbd7c.js → paths-46c89126.js} +0 -0
- /package/build/esm/{translationsContext-b378aad7.js → translationsContext-342eb826.js} +0 -0
- /package/build/esm/{tslib.es6-a28612e9.js → tslib.es6-e4e4e213.js} +0 -0
- /package/build/esm/{types-50d3bb6c.js → types-d5ec97aa.js} +0 -0
- /package/build/esm/{useIsInit-dfcf70a1.js → useIsInit-735d3f86.js} +0 -0
- /package/build/esm/{useOutsideClick-43a2ed0b.js → useOutsideClick-4292066c.js} +0 -0
- /package/build/esm/{useScrollbarSize-2e99c67d.js → useScrollbarSize-df07f70b.js} +0 -0
- /package/build/esm/{useUniqueId-adb5c890.js → useUniqueId-66ee10d3.js} +0 -0
- /package/build/esm/{utils-f9df87ad.js → utils-7a82afbe.js} +0 -0
- /package/build/{index-f044180a.js → index-0c4f440e.js} +0 -0
- /package/build/{index-72754c1f.js → index-1f7128f8.js} +0 -0
- /package/build/{index-d0dee133.js → index-780d0fe5.js} +0 -0
- /package/build/{index-cecd41a8.js → index-7e3624b2.js} +0 -0
- /package/build/{index-3eda77c6.js → index-c12db032.js} +0 -0
- /package/build/{index-53735eff.js → index-d39319cd.js} +0 -0
- /package/build/{index-51298ce7.js → index-de69559f.js} +0 -0
- /package/build/{index-ec9173d8.js → index-e853ef2c.js} +0 -0
- /package/build/{index.styles-be64e85f.js → index.styles-294794ae.js} +0 -0
- /package/build/{localizeNumberFormat-f489eb10.js → localizeNumberFormat-74c84715.js} +0 -0
- /package/build/{normalizeLink-e1acde98.js → normalizeLink-4b332018.js} +0 -0
- /package/build/{other-f704af7f.js → other-09df9edd.js} +0 -0
- /package/build/{paths-7a6aa986.js → paths-8e3116ac.js} +0 -0
- /package/build/{translationsContext-ac37a205.js → translationsContext-d6aa823c.js} +0 -0
- /package/build/{tslib.es6-4dedca11.js → tslib.es6-c16c058f.js} +0 -0
- /package/build/{types-9f509ead.js → types-8c847ad9.js} +0 -0
- /package/build/{useIsInit-9bf00bd0.js → useIsInit-2449992f.js} +0 -0
- /package/build/{useOutsideClick-9d4aa36b.js → useOutsideClick-e9fb0c69.js} +0 -0
- /package/build/{useScrollbarSize-5c089b9f.js → useScrollbarSize-3f413999.js} +0 -0
- /package/build/{useUniqueId-30cb684a.js → useUniqueId-eb856ec9.js} +0 -0
- /package/build/{utils-26666340.js → utils-80131590.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useCallback, useContext, useMemo } from 'react';
|
|
3
3
|
import { Info, Ask } from '@hhgtech/icons/other';
|
|
4
|
-
import { D as Dropdown } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { D as Dropdown } from './index-5758f18b.js';
|
|
5
|
+
import { u as useTranslations } from './index-8a544e4f.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { I as Input$1 } from './index-
|
|
8
|
+
import { I as Input$1 } from './index-0b466384.js';
|
|
9
9
|
import { useMantineTheme, Switch, Popover } from '@mantine/core';
|
|
10
10
|
import '@mantine/dates';
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './useMantineLocale-
|
|
15
|
-
import { T as Text } from './index-
|
|
16
|
-
import { B as Button } from './index-
|
|
17
|
-
import './index.styles-
|
|
11
|
+
import './index-43b35f03.js';
|
|
12
|
+
import './index-5e51786e.js';
|
|
13
|
+
import './index-916d350e.js';
|
|
14
|
+
import './useMantineLocale-1feddb9c.js';
|
|
15
|
+
import { T as Text } from './index-be1c8ab0.js';
|
|
16
|
+
import { B as Button } from './index-8adbd8f9.js';
|
|
17
|
+
import './index.styles-174d7f7f.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import './other-
|
|
21
|
-
import './index-
|
|
22
|
-
import { u as useImagePicker, a as PopupFrame, d as IconCloseCircle, g as getDefaultFailNoti, e as getPostFormData, f as editPost, h as createPost } from './index-
|
|
23
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth,
|
|
19
|
+
import { M as MediaQueries } from './utils-7a82afbe.js';
|
|
20
|
+
import './other-87250184.js';
|
|
21
|
+
import './index-e232b272.js';
|
|
22
|
+
import { u as useImagePicker, a as PopupFrame, d as IconCloseCircle, g as getDefaultFailNoti, e as getPostFormData, f as editPost, h as createPost } from './index-505f23af.js';
|
|
23
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-48b2ce06.js';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
|
-
import { b as formatPost, c as formatTopic } from './dataTransform-
|
|
26
|
-
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-
|
|
27
|
-
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-
|
|
28
|
-
import { C as CardAuthor, L as Loading$1 } from './index-
|
|
29
|
-
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-
|
|
30
|
-
import { I as Input } from './index-
|
|
25
|
+
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-43aaec89.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-8bec688b.js';
|
|
27
|
+
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-69a74800.js';
|
|
28
|
+
import { C as CardAuthor, L as Loading$1 } from './index-42159dfc.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-148cf2d6.js';
|
|
30
|
+
import { I as Input } from './index-5eb98de8.js';
|
|
31
31
|
import debounce from 'lodash/debounce';
|
|
32
32
|
import ContentEditable from 'react-contenteditable';
|
|
33
33
|
import { PATHS, ADMIN_PATHS } from './togetherApiPaths.js';
|
|
34
|
-
import { L as Loading } from './index-
|
|
35
|
-
import { C as CardLink } from './index-
|
|
36
|
-
import { B as BtnChoice } from './index-
|
|
37
|
-
import { L as LOCALE } from './Locale-
|
|
34
|
+
import { L as Loading } from './index-5c1f8a90.js';
|
|
35
|
+
import { C as CardLink } from './index-1dd105ac.js';
|
|
36
|
+
import { B as BtnChoice } from './index-8d46ac3c.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-7140abf6.js';
|
|
38
38
|
import * as ReactDOM from 'react-dom';
|
|
39
|
-
import { b as IconArrowLeft } from './index-
|
|
40
|
-
import { B as Button$1 } from './index-
|
|
39
|
+
import { b as IconArrowLeft } from './index-fa104806.js';
|
|
40
|
+
import { B as Button$1 } from './index-c20cc661.js';
|
|
41
41
|
import { getCookie } from './miscCookieHelper.js';
|
|
42
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
43
|
-
import { U as UserAvatar } from './index-
|
|
44
|
-
import { P as PopoverMenu } from './index-
|
|
42
|
+
import { a as useUniqueId } from './useUniqueId-66ee10d3.js';
|
|
43
|
+
import { U as UserAvatar } from './index-0e85054e.js';
|
|
44
|
+
import { P as PopoverMenu } from './index-e72557b8.js';
|
|
45
45
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
46
46
|
|
|
47
47
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1438,10 +1438,18 @@ const StyledTopicSelectList$1 = styled.div `
|
|
|
1438
1438
|
}
|
|
1439
1439
|
`;
|
|
1440
1440
|
|
|
1441
|
-
const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
|
|
1441
|
+
const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
|
|
1442
|
+
// forceTopics,
|
|
1443
|
+
selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }) => {
|
|
1442
1444
|
const { data: { locale, env: { isMarryBaby }, }, } = useContext(TogetherComponentGlobalContext);
|
|
1443
|
-
const [topics, setTopics] = useState
|
|
1444
|
-
|
|
1445
|
+
// const [topics, setTopics] = useState<Topic[]>(
|
|
1446
|
+
// topicsProp ? [...topicsProp] : [],
|
|
1447
|
+
// )
|
|
1448
|
+
const [topics, setTopics] = useState([]);
|
|
1449
|
+
// const [selectedTopics, setSelectedTopics] = useState<Topic[]>(
|
|
1450
|
+
// selectedTopicsProp ? [...selectedTopicsProp] : [],
|
|
1451
|
+
// )
|
|
1452
|
+
const [selectedTopics, setSelectedTopics] = useState([]);
|
|
1445
1453
|
const [isLoadingTopics, setIsLoadingTopics] = useState(false);
|
|
1446
1454
|
const topicsPropRef = useRef(topicsProp);
|
|
1447
1455
|
topicsPropRef.current = topicsProp;
|
|
@@ -1459,7 +1467,19 @@ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId,
|
|
|
1459
1467
|
}), 'GET');
|
|
1460
1468
|
const topicRes = (_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.topics;
|
|
1461
1469
|
if (Array.isArray(topicRes)) {
|
|
1462
|
-
setTopics(
|
|
1470
|
+
// setTopics(
|
|
1471
|
+
// () =>
|
|
1472
|
+
// topicRes
|
|
1473
|
+
// ?.map<Topic>(formatTopic)
|
|
1474
|
+
// .sort(
|
|
1475
|
+
// (t1: Topic, t2: Topic) => (t1.order || 0) - (t2.order || 0),
|
|
1476
|
+
// ) || [],
|
|
1477
|
+
// )
|
|
1478
|
+
let newTopics = [];
|
|
1479
|
+
topicRes === null || topicRes === void 0 ? void 0 : topicRes.forEach((item) => {
|
|
1480
|
+
newTopics = newTopics.concat(item.discover_category);
|
|
1481
|
+
});
|
|
1482
|
+
setTopics(newTopics);
|
|
1463
1483
|
}
|
|
1464
1484
|
}
|
|
1465
1485
|
catch (e) {
|
|
@@ -1470,42 +1490,54 @@ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId,
|
|
|
1470
1490
|
}))();
|
|
1471
1491
|
}
|
|
1472
1492
|
}, [communityId, noFetch]);
|
|
1473
|
-
const topicsPropString = topicsProp
|
|
1474
|
-
const topicsStateString = topics
|
|
1475
|
-
const forceTopicsPropString = forceTopics
|
|
1476
|
-
useEffect(() => {
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1493
|
+
// const topicsPropString = topicsProp?.map((t) => t.id).join('-')
|
|
1494
|
+
// const topicsStateString = topics?.map((t) => t.id).join('-')
|
|
1495
|
+
// const forceTopicsPropString = forceTopics?.map((t) => t.id).join('-')
|
|
1496
|
+
// useEffect(() => {
|
|
1497
|
+
// if (
|
|
1498
|
+
// topicsProp &&
|
|
1499
|
+
// typeof topicsPropString !== 'undefined' &&
|
|
1500
|
+
// topicsPropString !== topicsStateString
|
|
1501
|
+
// ) {
|
|
1502
|
+
// setTopics(topicsProp)
|
|
1503
|
+
// }
|
|
1504
|
+
// }, [topicsProp, topicsPropString, topicsStateString])
|
|
1505
|
+
// const topicsWithoutForced = useMemo(
|
|
1506
|
+
// () =>
|
|
1507
|
+
// topics.filter(
|
|
1508
|
+
// (t) =>
|
|
1509
|
+
// !forceTopics?.some(
|
|
1510
|
+
// (ft) =>
|
|
1511
|
+
// (ft.id && ft.id === t.id) ||
|
|
1512
|
+
// (ft.mappedCategoryId &&
|
|
1513
|
+
// ft.mappedCategoryId === t.mappedCategoryId),
|
|
1514
|
+
// ),
|
|
1515
|
+
// ),
|
|
1516
|
+
// [topicsStateString, forceTopicsPropString],
|
|
1517
|
+
// )
|
|
1486
1518
|
return (React__default.createElement(StyledTopicSelectList$1, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1519
|
+
topics.map((topic) => {
|
|
1520
|
+
return (React__default.createElement(TopicItem$1, { key: `${topic.id}-${topic.category_id}`, topic: topic, disabled: disabled, selected: (selectedTopicsProp || selectedTopics).some((t) => (t.id && t.id === topic.id) ||
|
|
1521
|
+
((t === null || t === void 0 ? void 0 : t.category_id) && (t === null || t === void 0 ? void 0 : t.category_id) === topic.category_id)), onClick: () => {
|
|
1522
|
+
const _selected = (selectedTopicsProp || selectedTopics);
|
|
1523
|
+
const foundIndex = _selected.findIndex((_selected) => (_selected.id && _selected.id === topic.id) ||
|
|
1524
|
+
((_selected === null || _selected === void 0 ? void 0 : _selected.category_id) &&
|
|
1525
|
+
(_selected === null || _selected === void 0 ? void 0 : _selected.category_id) === topic.category_id));
|
|
1526
|
+
if (foundIndex !== -1) {
|
|
1527
|
+
_selected.splice(foundIndex, 1);
|
|
1528
|
+
}
|
|
1529
|
+
else {
|
|
1530
|
+
_selected.push(topic);
|
|
1531
|
+
}
|
|
1532
|
+
if (onChange && selectedTopicsProp) {
|
|
1533
|
+
onChange(_selected.slice());
|
|
1534
|
+
}
|
|
1535
|
+
else {
|
|
1536
|
+
onChange && onChange(_selected.slice());
|
|
1537
|
+
setSelectedTopics(_selected.slice());
|
|
1538
|
+
}
|
|
1539
|
+
}, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }));
|
|
1540
|
+
}),
|
|
1509
1541
|
(isLoading || isLoadingTopics) && React__default.createElement(Loading$1, { className: "topic-spinner" })));
|
|
1510
1542
|
};
|
|
1511
1543
|
const TopicItem$1 = (_a) => {
|
|
@@ -2434,7 +2466,7 @@ const RichTextEditor = ({ html, onChange, className, style, placeholder, onImage
|
|
|
2434
2466
|
onChange === null || onChange === void 0 ? void 0 : onChange(value);
|
|
2435
2467
|
}
|
|
2436
2468
|
}
|
|
2437
|
-
},
|
|
2469
|
+
}, 200), []);
|
|
2438
2470
|
useEffect(() => {
|
|
2439
2471
|
onInvalidUrlsChange && onInvalidUrlsChange(invalidUrls);
|
|
2440
2472
|
}, [invalidUrls]);
|
|
@@ -3389,9 +3421,11 @@ const applySpecialCharSite = [
|
|
|
3389
3421
|
LOCALE.Malaysia,
|
|
3390
3422
|
LOCALE.Vietnam,
|
|
3391
3423
|
];
|
|
3392
|
-
const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunity, articleId, editPostData, defaultCommunity,
|
|
3424
|
+
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3393
3425
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3394
|
-
const { data: { locale,
|
|
3426
|
+
const { data: { locale,
|
|
3427
|
+
// env: { togetherBasePath },
|
|
3428
|
+
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3395
3429
|
const { t } = useTranslations();
|
|
3396
3430
|
const containerRef = useRef(null);
|
|
3397
3431
|
const [isAskDoctor, setIsAskDoctor] = useState(false);
|
|
@@ -3402,7 +3436,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3402
3436
|
label: t('community.choose'),
|
|
3403
3437
|
value: '',
|
|
3404
3438
|
});
|
|
3405
|
-
const [selectedTopics, setSelectedTopics] = useState([]);
|
|
3439
|
+
const [selectedTopics, setSelectedTopics] = useState([...forceSelectTopics] || []);
|
|
3406
3440
|
const [error, setError] = useState({});
|
|
3407
3441
|
const [imageFiles, setImageFiles] = useState([]);
|
|
3408
3442
|
const [bannedWords, setBannedWords] = useState([]);
|
|
@@ -3441,14 +3475,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3441
3475
|
} })),
|
|
3442
3476
|
},
|
|
3443
3477
|
];
|
|
3444
|
-
const currentCommunity = useMemo(() => {
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
}, [communityValue, communitiesList])
|
|
3478
|
+
// const currentCommunity = useMemo(() => {
|
|
3479
|
+
// if (!communityValue.value) return null
|
|
3480
|
+
// const result = communitiesList.find(
|
|
3481
|
+
// (item) => String(item.id) === String(communityValue.value),
|
|
3482
|
+
// )
|
|
3483
|
+
// if (!result) return null
|
|
3484
|
+
// return result
|
|
3485
|
+
// }, [communityValue, communitiesList])
|
|
3486
|
+
const currentCommunity = forceSelectCommunity ||
|
|
3487
|
+
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3452
3488
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3453
3489
|
useEffect(() => {
|
|
3454
3490
|
if (editPostData) {
|
|
@@ -3459,7 +3495,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3459
3495
|
label: post.community.name,
|
|
3460
3496
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3461
3497
|
});
|
|
3462
|
-
setSelectedTopics(post.topics || [])
|
|
3498
|
+
// setSelectedTopics(post.topics || [])
|
|
3463
3499
|
setImageFiles(post.photos || []);
|
|
3464
3500
|
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3465
3501
|
}
|
|
@@ -3470,9 +3506,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3470
3506
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3471
3507
|
});
|
|
3472
3508
|
}
|
|
3473
|
-
if (defaultTopics) {
|
|
3474
|
-
|
|
3475
|
-
}
|
|
3509
|
+
// if (defaultTopics) {
|
|
3510
|
+
// setSelectedTopics(defaultTopics)
|
|
3511
|
+
// }
|
|
3476
3512
|
}
|
|
3477
3513
|
}, []);
|
|
3478
3514
|
useEffect(() => {
|
|
@@ -3499,7 +3535,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3499
3535
|
]);
|
|
3500
3536
|
const communitiesApi = (_a = resListCommunity === null || resListCommunity === void 0 ? void 0 : resListCommunity.data) === null || _a === void 0 ? void 0 : _a.communities;
|
|
3501
3537
|
if (Array.isArray(communitiesApi) && communitiesApi.length) {
|
|
3502
|
-
|
|
3538
|
+
const resultFormat = communitiesApi.map((item) => formatCommunity(item));
|
|
3539
|
+
setCommunitiesList(resultFormat);
|
|
3503
3540
|
}
|
|
3504
3541
|
const topicRes = (_b = resListTopic === null || resListTopic === void 0 ? void 0 : resListTopic.data) === null || _b === void 0 ? void 0 : _b.topics;
|
|
3505
3542
|
if (Array.isArray(topicRes)) {
|
|
@@ -3511,6 +3548,12 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3511
3548
|
}
|
|
3512
3549
|
}))();
|
|
3513
3550
|
}, []);
|
|
3551
|
+
const onCreateEditSuccess = (res) => {
|
|
3552
|
+
if (onPostCreatedEdited) {
|
|
3553
|
+
onPostCreatedEdited(formatPost(res), isInEditMode);
|
|
3554
|
+
}
|
|
3555
|
+
onClose && onClose();
|
|
3556
|
+
};
|
|
3514
3557
|
const validationUploadPhoto = (files) => {
|
|
3515
3558
|
const errorMessage = Object.assign({}, error);
|
|
3516
3559
|
if (files && files.length > 10) {
|
|
@@ -3593,22 +3636,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3593
3636
|
console.log(value);
|
|
3594
3637
|
}
|
|
3595
3638
|
};
|
|
3639
|
+
console.log(uncategorizedId);
|
|
3640
|
+
console.log(topicsList);
|
|
3596
3641
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3597
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
3642
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3598
3643
|
const isError = validationPost();
|
|
3599
3644
|
if (isError)
|
|
3600
3645
|
return;
|
|
3601
3646
|
const bodyFormData = yield getPostFormData({
|
|
3602
3647
|
title: titleValue,
|
|
3603
3648
|
description: descriptionValue,
|
|
3604
|
-
communityId:
|
|
3605
|
-
? uncategorizedId
|
|
3606
|
-
: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3649
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3607
3650
|
imageFiles,
|
|
3608
3651
|
previewUrl,
|
|
3609
|
-
topicIds:
|
|
3610
|
-
? []
|
|
3611
|
-
: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3652
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3612
3653
|
locale,
|
|
3613
3654
|
sanitizeFunction,
|
|
3614
3655
|
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
@@ -3620,6 +3661,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3620
3661
|
if (articleId) {
|
|
3621
3662
|
bodyFormData.append('article_id', articleId);
|
|
3622
3663
|
}
|
|
3664
|
+
console.log(uncategorized);
|
|
3623
3665
|
let res;
|
|
3624
3666
|
if (isInEditMode) {
|
|
3625
3667
|
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
@@ -3634,17 +3676,28 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3634
3676
|
res = yield createPost({
|
|
3635
3677
|
formData: bodyFormData,
|
|
3636
3678
|
locale,
|
|
3637
|
-
isArticleComment:
|
|
3679
|
+
isArticleComment: true,
|
|
3638
3680
|
});
|
|
3639
3681
|
}
|
|
3640
3682
|
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3641
3683
|
if ((resData === null || resData === void 0 ? void 0 : resData.id) && !((_b = (_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.moderation) === null || _b === void 0 ? void 0 : _b.type)) {
|
|
3642
|
-
const params = `action=${
|
|
3643
|
-
|
|
3644
|
-
|
|
3684
|
+
// const params = `action=${
|
|
3685
|
+
// editPostData ? 'editPost' : 'createPost'
|
|
3686
|
+
// }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
|
|
3687
|
+
// const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
|
|
3688
|
+
// resData?.community?.slug
|
|
3689
|
+
// }/${resData?.slug}/?${params}`
|
|
3690
|
+
// window.location.href = postHref
|
|
3691
|
+
pushNotifications({
|
|
3692
|
+
message: isInEditMode
|
|
3693
|
+
? t('updatePost.popup.success')
|
|
3694
|
+
: t('createPost.popup.success'),
|
|
3695
|
+
type: 'success',
|
|
3696
|
+
});
|
|
3697
|
+
onCreateEditSuccess(resData);
|
|
3645
3698
|
}
|
|
3646
3699
|
else {
|
|
3647
|
-
if (((
|
|
3700
|
+
if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
|
|
3648
3701
|
pushNotifications({
|
|
3649
3702
|
title: t('notification.post.blocked.title'),
|
|
3650
3703
|
message: t('notification.post.blocked.message'),
|
|
@@ -3654,7 +3707,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3654
3707
|
setBannedWords(res.messages.moderation.words);
|
|
3655
3708
|
}
|
|
3656
3709
|
}
|
|
3657
|
-
else if (((
|
|
3710
|
+
else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
|
|
3658
3711
|
pushNotifications({
|
|
3659
3712
|
title: t('notification.post.suspect.title'),
|
|
3660
3713
|
message: t('notification.post.suspect.message'),
|
|
@@ -3662,7 +3715,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3662
3715
|
});
|
|
3663
3716
|
onClose && onClose();
|
|
3664
3717
|
}
|
|
3665
|
-
else if ((
|
|
3718
|
+
else if ((_h = (_g = res === null || res === void 0 ? void 0 : res.messages) === null || _g === void 0 ? void 0 : _g.find) === null || _h === void 0 ? void 0 : _h.call(_g, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
|
|
3666
3719
|
pushNotifications({
|
|
3667
3720
|
message: t('notification.suspend.message'),
|
|
3668
3721
|
type: 'danger',
|
|
@@ -3671,7 +3724,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3671
3724
|
}
|
|
3672
3725
|
else {
|
|
3673
3726
|
pushNotifications({
|
|
3674
|
-
message: ((
|
|
3727
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3675
3728
|
type: 'danger',
|
|
3676
3729
|
});
|
|
3677
3730
|
}
|
|
@@ -3703,13 +3756,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3703
3756
|
}
|
|
3704
3757
|
};
|
|
3705
3758
|
const onSubmitContinuePost = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
3706
|
-
var
|
|
3759
|
+
var _k;
|
|
3707
3760
|
const isError = validationPost();
|
|
3708
3761
|
if (isError) {
|
|
3709
3762
|
const keyElmToScroll = getFirstOrderErroKey(orderErrorFieldKey);
|
|
3710
3763
|
handleScrollToError(keyElmToScroll);
|
|
3711
3764
|
return;
|
|
3712
3765
|
}
|
|
3766
|
+
submitPost();
|
|
3767
|
+
if (stepPost)
|
|
3768
|
+
return;
|
|
3769
|
+
if (isInEditMode) {
|
|
3770
|
+
submitPost();
|
|
3771
|
+
return;
|
|
3772
|
+
}
|
|
3713
3773
|
setStepPost('step_community');
|
|
3714
3774
|
// Current just apply ai suggest community for Vietnam site
|
|
3715
3775
|
if (locale === LOCALE.Vietnam && !isMarryBaby && !isInEditMode) {
|
|
@@ -3741,11 +3801,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3741
3801
|
topic_in: listTopicId.join(),
|
|
3742
3802
|
pageSize: 100,
|
|
3743
3803
|
}), 'GET');
|
|
3744
|
-
const topicsApi = (
|
|
3745
|
-
const topicSuggested = topicsApi
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3804
|
+
const topicsApi = (_k = resTopic === null || resTopic === void 0 ? void 0 : resTopic.data) === null || _k === void 0 ? void 0 : _k.topics;
|
|
3805
|
+
// const topicSuggested = topicsApi
|
|
3806
|
+
// ? topicsApi.map((item) => formatTopic(item))
|
|
3807
|
+
// : ([] as Topic[])
|
|
3808
|
+
let newTopics = [];
|
|
3809
|
+
topicsApi === null || topicsApi === void 0 ? void 0 : topicsApi.forEach((item) => {
|
|
3810
|
+
newTopics = newTopics.concat(item.discover_category);
|
|
3811
|
+
});
|
|
3812
|
+
// setTopics(newTopics)
|
|
3813
|
+
setSelectedTopics(newTopics);
|
|
3749
3814
|
}
|
|
3750
3815
|
}
|
|
3751
3816
|
}
|
|
@@ -3758,7 +3823,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3758
3823
|
}
|
|
3759
3824
|
}
|
|
3760
3825
|
});
|
|
3761
|
-
console.log('topicsList: ', topicsList);
|
|
3762
3826
|
return (React__default.createElement(StyledCreateNewPost, { className: `${className} create-post-popup-frame`, style: style },
|
|
3763
3827
|
React__default.createElement("div", { className: "input-group-container", ref: containerRef },
|
|
3764
3828
|
React__default.createElement(StyledFormGroupInner, null,
|
|
@@ -3832,7 +3896,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3832
3896
|
validationUploadPhoto(data);
|
|
3833
3897
|
} }),
|
|
3834
3898
|
React__default.createElement("div", { className: "action-wrapper" },
|
|
3835
|
-
React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest, disabled: isLoadingSuggest },
|
|
3899
|
+
React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest, disabled: isLoadingSuggest },
|
|
3900
|
+
/* {isInEditMode
|
|
3901
|
+
? t('createPost.popup.submit')
|
|
3902
|
+
: t('onboarding.button.continue')} */
|
|
3903
|
+
t('createPost.popup.submit'))))));
|
|
3836
3904
|
};
|
|
3837
3905
|
|
|
3838
3906
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as cookie } from './index-
|
|
2
|
-
import { d as BEARER_TOKEN_COOKIE } from './index-
|
|
3
|
-
import { N as NodeIntentType } from './index-
|
|
1
|
+
import { c as cookie } from './index-d1db433b.js';
|
|
2
|
+
import { d as BEARER_TOKEN_COOKIE } from './index-43b35f03.js';
|
|
3
|
+
import { N as NodeIntentType } from './index-5e51786e.js';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
@@ -215,6 +215,18 @@ const clickAndOpenInNewTab = (url) => {
|
|
|
215
215
|
const TIME_RESET_RESEND_OTP = 30;
|
|
216
216
|
const isFakeEmail = (email) => {
|
|
217
217
|
return (email === null || email === void 0 ? void 0 : email.endsWith('@hhg.com')) || (email === null || email === void 0 ? void 0 : email.endsWith('@facebook.com'));
|
|
218
|
-
};
|
|
218
|
+
};
|
|
219
|
+
function formatUrlWithEncrypedGa(path = '', gaId = '') {
|
|
220
|
+
if (!path.startsWith('https://') || !gaId)
|
|
221
|
+
return '';
|
|
222
|
+
const url = new URL(path);
|
|
223
|
+
const searchParams = url.searchParams;
|
|
224
|
+
if (searchParams.get('hhgclid')) {
|
|
225
|
+
searchParams.delete('hhgclid');
|
|
226
|
+
searchParams.set('hhgclid', gaId);
|
|
227
|
+
return `${url.origin}${url.pathname}?${searchParams.toString()}`;
|
|
228
|
+
}
|
|
229
|
+
return path;
|
|
230
|
+
}
|
|
219
231
|
|
|
220
|
-
export { TIME_RESET_RESEND_OTP as T, getUserIdFromCookie as a, getSubotCookieId as b, getUserInfoFromCookie as c, getWindowId as d, checkUntilFinished as e, checkMobile as f, getHelloSitesUrl as g, clickAndOpenInNewTab as h,
|
|
232
|
+
export { TIME_RESET_RESEND_OTP as T, getUserIdFromCookie as a, getSubotCookieId as b, getUserInfoFromCookie as c, getWindowId as d, checkUntilFinished as e, checkMobile as f, getHelloSitesUrl as g, clickAndOpenInNewTab as h, formatUrlWithEncrypedGa as i, isFakeEmail as j, getHhgIdFromCookie as k, overrideParamsByQuery as o, ssoIntents as s };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { createStyles, rem, useMantineTheme } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import { I as Input } from './index-
|
|
6
|
-
import { D as DatePicker } from './index-
|
|
7
|
-
import { T as Text } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index.styles-
|
|
10
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import { I as Input } from './index-0b466384.js';
|
|
6
|
+
import { D as DatePicker } from './index-8bc5c330.js';
|
|
7
|
+
import { T as Text } from './index-be1c8ab0.js';
|
|
8
|
+
import './index-8adbd8f9.js';
|
|
9
|
+
import './index.styles-174d7f7f.js';
|
|
10
|
+
import { u as useTranslations } from './index-8a544e4f.js';
|
|
11
11
|
import '@mantine/hooks';
|
|
12
|
-
import './useMantineLocale-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import './utils-
|
|
16
|
-
import './index-
|
|
17
|
-
import './other-
|
|
18
|
-
import './index-
|
|
19
|
-
import { I as INPUT_RANGE } from './constants-
|
|
20
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
21
|
-
import { G as GenderOptionControl } from './index-
|
|
22
|
-
import { L as LOCALE } from './Locale-
|
|
12
|
+
import './useMantineLocale-1feddb9c.js';
|
|
13
|
+
import './index-5e51786e.js';
|
|
14
|
+
import './index-916d350e.js';
|
|
15
|
+
import './utils-7a82afbe.js';
|
|
16
|
+
import './index-43b35f03.js';
|
|
17
|
+
import './other-87250184.js';
|
|
18
|
+
import './index-e232b272.js';
|
|
19
|
+
import { I as INPUT_RANGE } from './constants-b368a942.js';
|
|
20
|
+
import { H as HealthToolFormWrapper } from './index-56214c0a.js';
|
|
21
|
+
import { G as GenderOptionControl } from './index-c59ede8c.js';
|
|
22
|
+
import { L as LOCALE } from './Locale-7140abf6.js';
|
|
23
23
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
24
24
|
|
|
25
25
|
const BabyGrowthFormContext = createContext({});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useState, useRef, useMemo, useEffect, Fragment, createContext } from 'react';
|
|
2
|
-
import { T as Text } from './index-
|
|
2
|
+
import { T as Text } from './index-be1c8ab0.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { M as MediaQueries, f as formatUrlWithPageParam } from './utils-
|
|
6
|
-
import { R as Radio$1 } from './index-
|
|
7
|
-
import { T as Text$1 } from './index-
|
|
5
|
+
import { M as MediaQueries, f as formatUrlWithPageParam } from './utils-7a82afbe.js';
|
|
6
|
+
import { R as Radio$1 } from './index-0b466384.js';
|
|
7
|
+
import { T as Text$1 } from './index-1541ac31.js';
|
|
8
8
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
9
|
-
import { _ as __rest } from './tslib.es6-
|
|
9
|
+
import { _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
10
10
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
11
11
|
|
|
12
12
|
var styles = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
2
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import { u as useTranslations } from './index-8a544e4f.js';
|
|
3
3
|
import { getCookie } from './miscCookieHelper.js';
|
|
4
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
-
import { e as normalizeLinkSlash, n as normalizeLink } from './normalizeLink-
|
|
4
|
+
import { C as CommonGAssets } from './index-916d350e.js';
|
|
5
|
+
import { e as normalizeLinkSlash, n as normalizeLink } from './normalizeLink-3eee9386.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { A as Avatar } from './index-
|
|
8
|
-
import { b as getTogetherUserPostsApiPath } from './index-
|
|
9
|
-
import { B as Button } from './index-
|
|
7
|
+
import { A as Avatar } from './index-3061aff3.js';
|
|
8
|
+
import { b as getTogetherUserPostsApiPath } from './index-c4c4de68.js';
|
|
9
|
+
import { B as Button } from './index-c20cc661.js';
|
|
10
10
|
|
|
11
11
|
const INTERNAL_CARD_URLS = {
|
|
12
12
|
myBooking: 'booking',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { ArrowLeft, ArrowRight } from '@hhgtech/icons/other';
|
|
4
4
|
import { createStyles, rem, Tabs as Tabs$1, ScrollArea } from '@mantine/core';
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { T as Text } from './index-
|
|
5
|
+
import { B as Button } from './index-8adbd8f9.js';
|
|
6
|
+
import { T as Text } from './index-be1c8ab0.js';
|
|
7
7
|
|
|
8
8
|
var useStyles = createStyles((theme, params) => {
|
|
9
9
|
const { variant } = params;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
2
|
+
import { B as Button } from './index-c20cc661.js';
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './utils-48b2ce06.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
6
|
|