@hhgtech/hhg-components 1.29.395 → 1.29.396-beta-2
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/{InputDate-fc12be26.js → InputDate-53a24226.js} +17 -7
- package/build/{LastPeriod-f79b5164.js → LastPeriod-7a28a935.js} +1 -1
- package/build/{MobileBottomNavigationIcon-cd4ec4f2.js → MobileBottomNavigationIcon-e7276e45.js} +3 -3
- package/build/{Spinner-cb9e87ee.js → Spinner-62b53b3c.js} +1 -1
- package/build/{WhatsApp-15bbd681.js → WhatsApp-52b9c268.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +54 -55
- 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/atoms/drawerComponent/index.d.ts +7 -0
- package/build/components.js +146 -147
- package/build/{constants-d472f11c.js → constants-234add92.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-e3d62143.js → core-0976ea10.js} +1 -1
- package/build/{dataTransform-a492e3be.js → dataTransform-ca587070.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-8ec0a4db.js → editor-27adf25b.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/{InputDate-602f65e7.js → InputDate-a0b44a54.js} +17 -7
- package/build/esm/{LastPeriod-58eaee50.js → LastPeriod-2cf21f18.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-8ef484de.js → MobileBottomNavigationIcon-3f09bf4e.js} +3 -3
- package/build/esm/{Spinner-79a88fe7.js → Spinner-4b0bbdd4.js} +1 -1
- package/build/esm/{WhatsApp-12d95fb8.js → WhatsApp-b6bf8a0d.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +53 -54
- 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/atoms/drawerComponent/index.d.ts +7 -0
- package/build/esm/components.js +102 -103
- package/build/esm/{constants-1e984837.js → constants-98d764e2.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-503d0e19.js → core-2d2a5ab5.js} +1 -1
- package/build/esm/{dataTransform-851fe21a.js → dataTransform-b72aadc0.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-dc662240.js → editor-b4cfab17.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/{healthTools-42f6cb06.js → healthTools-7ecccf43.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +2 -1
- package/build/esm/i18n-values/hi-IN.js +2 -1
- package/build/esm/i18n-values/id-ID.js +2 -1
- package/build/esm/i18n-values/km-KH.js +2 -1
- package/build/esm/i18n-values/ms-MY.js +2 -1
- package/build/esm/i18n-values/my-MM.js +2 -1
- package/build/esm/i18n-values/th-TH.js +2 -1
- package/build/esm/i18n-values/tl-PH.js +2 -1
- package/build/esm/i18n-values/vi-VN.js +2 -1
- package/build/esm/i18n-values/vi-VN_MB.js +2 -1
- package/build/esm/i18n-values/zh-CN.js +2 -1
- package/build/esm/i18n-values/zh-TW.js +2 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-837d93d2.js → index-00709c00.js} +1 -1
- package/build/esm/{index-694ed585.js → index-01038ce0.js} +13 -13
- package/build/esm/{index-c807b0bb.js → index-02b0a9f7.js} +2 -2
- package/build/esm/{index-8df3750e.js → index-07f79928.js} +7 -7
- package/build/esm/{index-966f3431.js → index-0ccc180b.js} +1 -1
- package/build/esm/{index-a31be151.js → index-0fe6ab3c.js} +6 -6
- package/build/esm/{index-a6a2c6fb.js → index-11e9705f.js} +13 -13
- package/build/esm/{index-f9473851.js → index-12b4a7ca.js} +2 -2
- package/build/esm/{index-62749f00.js → index-1c252017.js} +3 -3
- package/build/esm/{index-238f0df7.js → index-1ddd50fd.js} +120 -7
- package/build/esm/{index-2ec8dc46.js → index-1eb7ada7.js} +22 -22
- package/build/esm/{index-57001be3.js → index-2602e818.js} +1 -1
- package/build/esm/{index-bc1a843d.js → index-2c0cd325.js} +16 -16
- package/build/esm/{index-27e47866.js → index-2de9ddf3.js} +17 -17
- package/build/esm/{index-b4681e39.js → index-2fb5a20f.js} +16 -16
- package/build/esm/{index-a497ef67.js → index-320e3922.js} +231 -147
- package/build/esm/{index-1ea52ac0.js → index-325b6c8c.js} +17 -17
- package/build/esm/{index-6a7dde31.js → index-39ee94a7.js} +3 -3
- package/build/esm/{index-b631b150.js → index-3c9752f8.js} +3 -3
- package/build/esm/{index-a84d28d5.js → index-3e5f1e0b.js} +2 -2
- package/build/esm/{index-7fef2002.js → index-439d83c1.js} +17 -17
- package/build/esm/{index-5c13dc6e.js → index-4411be96.js} +16 -16
- package/build/esm/{index-6adac14f.js → index-4b566476.js} +21 -21
- package/build/esm/{index-f1d3e579.js → index-4e6c839c.js} +17 -17
- package/build/esm/{index-0056050c.js → index-4f6de345.js} +2 -2
- package/build/esm/{index-21607c99.js → index-55fc7dee.js} +25 -25
- package/build/esm/{index-6b1727a2.js → index-589c8cd2.js} +4 -4
- package/build/esm/{index-c14e1320.js → index-5dc995ff.js} +6 -6
- package/build/esm/{index-1d1c153c.js → index-5faab939.js} +3 -3
- package/build/esm/{index-08f34ff2.js → index-66e08d2f.js} +18 -18
- package/build/esm/{index-c3c35151.js → index-6f461759.js} +1 -1
- package/build/esm/{index-15466f63.js → index-766220e1.js} +16 -16
- package/build/esm/{index-304b48b8.js → index-87d5883c.js} +2 -2
- package/build/esm/{index-da28a165.js → index-8aaddaec.js} +1 -1
- package/build/esm/{index-78dddce6.js → index-a430d8a6.js} +13 -13
- package/build/esm/{index-a89ca14c.js → index-a5ff25b2.js} +3 -3
- package/build/esm/{index-5c0e8412.js → index-a97159b8.js} +2 -2
- package/build/esm/{index-f789dae3.js → index-a98602d1.js} +2 -2
- package/build/esm/{index-2021b3c1.js → index-a9d62691.js} +13 -13
- package/build/esm/{index-713619a6.js → index-aa09b670.js} +2 -2
- package/build/esm/{index-ed1b642a.js → index-b0bc8bce.js} +11 -11
- package/build/esm/{index-ec274641.js → index-b324b8fb.js} +2 -2
- package/build/esm/{index-b131d036.js → index-b60879dc.js} +10 -10
- package/build/esm/{index-a77b0610.js → index-bad1c057.js} +18 -18
- package/build/esm/{index-b74df050.js → index-bbf5fc9a.js} +6 -6
- package/build/esm/{index-ab281b8b.js → index-bc4e0b71.js} +24 -24
- package/build/esm/{index-77dab0fe.js → index-bdb79adf.js} +5 -5
- package/build/esm/{index-e745710b.js → index-c163f9be.js} +1 -1
- package/build/esm/{index-f8dbf8e4.js → index-c59e0798.js} +1 -1
- package/build/esm/{index-e032ebdc.js → index-c5e1abad.js} +1 -1
- package/build/esm/{index-c00fe542.js → index-c65200a9.js} +1 -1
- package/build/esm/{index-c9060602.js → index-cf80235f.js} +4 -4
- package/build/esm/{index-8c190b12.js → index-d0e253cb.js} +8 -8
- package/build/esm/{index-ac5cb397.js → index-d1f086ad.js} +6 -6
- package/build/esm/{index-d26d4613.js → index-dc6b1ba1.js} +31 -31
- package/build/esm/{index-af7a0b48.js → index-dc9af5ad.js} +2 -2
- package/build/esm/{index-c73a0c60.js → index-e09cd7cf.js} +7 -7
- package/build/esm/{index-8184d2b2.js → index-ec931810.js} +2 -2
- package/build/esm/{index-17634690.js → index-ecc501b2.js} +15 -15
- package/build/esm/{index-ba3fc512.js → index-f49d44fe.js} +31 -31
- package/build/esm/{index-37da7797.js → index-f83fc70a.js} +3 -3
- package/build/esm/{index-d722456d.js → index-f9a28c00.js} +2 -2
- package/build/esm/{index-8eed7b63.js → index-fffd1541.js} +2 -2
- package/build/esm/{index-de4ba53a.js → index-ffff7edb.js} +6 -6
- package/build/esm/index.js +118 -119
- package/build/esm/{labelSorting-038ca47e.js → labelSorting-73acd7a0.js} +4 -4
- package/build/esm/lead/LeadGenForm/LeadGenEmpty.d.ts +8 -0
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +262 -0
- package/build/esm/lead/icons/NoData.d.ts +3 -0
- package/build/esm/lead/icons/index.d.ts +5 -0
- package/build/esm/lead/index.d.ts +1 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +423 -130
- package/build/esm/{logoIcon-60510914.js → logoIcon-5245c2ef.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- 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 +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- 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 +50 -50
- package/build/esm/{post-4cdb64fd.js → post-ffc73359.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +52 -40
- package/build/esm/{store-a147d34d.js → store-d39e1048.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-d77f3101.js → surveyThankyouCard-d70c20ed.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/index.styled.d.ts +7 -0
- package/build/esm/together/utils/index.d.ts +1 -0
- package/build/esm/together.js +56 -56
- 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 +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-bb4a8191.js → translationsProvider-e653a49a.js} +1 -1
- package/build/esm/{treePopoverMenu-3c09d18e.js → treePopoverMenu-733cb195.js} +19 -19
- package/build/esm/{types-2ac9ccf9.js → types-2a419850.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-95d061fe.js → useCategory-756fc6c7.js} +5 -5
- package/build/esm/{useHealthToolCache-6ea42c9e.js → useHealthToolCache-0f086cfb.js} +1 -1
- package/build/esm/{useMantineLocale-738fc2b0.js → useMantineLocale-6e80edb8.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-bff32c4f.js → usePlacesAutocomplete-f844ed43.js} +1 -1
- package/build/esm/{useScreenSize-e572cdeb.js → useScreenSize-7af70690.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-2139a37f.js → utils-1121e147.js} +2 -2
- package/build/esm/{utils-71fab448.js → utils-608e60b4.js} +5 -5
- package/build/esm/{utils-8ddecfa9.js → utils-a4ac05f2.js} +2 -2
- package/build/esm/{utils-c0714c25.js → utils-dab867b8.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-8cc86c2e.js → healthTools-2740c070.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +2 -1
- package/build/i18n-values/hi-IN.js +2 -1
- package/build/i18n-values/id-ID.js +2 -1
- package/build/i18n-values/km-KH.js +2 -1
- package/build/i18n-values/ms-MY.js +2 -1
- package/build/i18n-values/my-MM.js +2 -1
- package/build/i18n-values/th-TH.js +2 -1
- package/build/i18n-values/tl-PH.js +2 -1
- package/build/i18n-values/vi-VN.js +2 -1
- package/build/i18n-values/vi-VN_MB.js +2 -1
- package/build/i18n-values/zh-CN.js +2 -1
- package/build/i18n-values/zh-TW.js +2 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-8027d859.js → index-07de7cc4.js} +7 -7
- package/build/{index-c31a6ab5.js → index-0cd2a15f.js} +6 -6
- package/build/{index-afa2b601.js → index-0f9ce173.js} +2 -2
- package/build/{index-5a971e8e.js → index-1422b958.js} +18 -18
- package/build/{index-7da7f107.js → index-17abd0ec.js} +119 -5
- package/build/{index-2505a385.js → index-1ad46fae.js} +11 -11
- package/build/{index-4d08b61f.js → index-1cb2d499.js} +7 -7
- package/build/{index-e8bdf884.js → index-1e98d9db.js} +3 -3
- package/build/{index-9b576850.js → index-300bf146.js} +13 -13
- package/build/{index-dc4e5b57.js → index-3045b8c2.js} +1 -1
- package/build/{index-5aa6e32c.js → index-35772162.js} +230 -146
- package/build/{index-50b1eef5.js → index-37c6d95b.js} +3 -3
- package/build/{index-ae76aeb3.js → index-390a50a0.js} +16 -16
- package/build/{index-8cd605a4.js → index-41da5a0f.js} +6 -6
- package/build/{index-1cf38580.js → index-46d5f91d.js} +13 -13
- package/build/{index-efbe5dd2.js → index-48b2bc1b.js} +1 -1
- package/build/{index-3cc91040.js → index-490c82e4.js} +18 -18
- package/build/{index-9a8b67e3.js → index-49170011.js} +3 -3
- package/build/{index-90a33d63.js → index-4d4edaa4.js} +2 -2
- package/build/{index-c4288d81.js → index-4e1109bf.js} +17 -17
- package/build/{index-77fdc39c.js → index-508c716a.js} +2 -2
- package/build/{index-dbb1bebb.js → index-50d8579c.js} +1 -1
- package/build/{index-e1b23425.js → index-5ebec901.js} +2 -2
- package/build/{index-0535210b.js → index-60385975.js} +1 -1
- package/build/{index-faaa418b.js → index-6f64145b.js} +3 -3
- package/build/{index-21308aef.js → index-6f88f222.js} +3 -3
- package/build/{index-24d6833c.js → index-70bd2313.js} +13 -13
- package/build/{index-da80faa7.js → index-79338ca0.js} +2 -2
- package/build/{index-b8ef9b27.js → index-7aac4481.js} +2 -2
- package/build/{index-e6d09057.js → index-83d84f59.js} +16 -16
- package/build/{index-5cc0648e.js → index-895f8c77.js} +17 -17
- package/build/{index-6f4e9376.js → index-8b3b3e98.js} +22 -22
- package/build/{index-1e7df97e.js → index-8b5814c4.js} +1 -1
- package/build/{index-65984000.js → index-8c4e60ea.js} +4 -4
- package/build/{index-39f52073.js → index-8ca237eb.js} +21 -21
- package/build/{index-7b39ca5a.js → index-95f68b4d.js} +31 -31
- package/build/{index-3405d280.js → index-9a678e4e.js} +8 -8
- package/build/{index-50399c69.js → index-a13c5895.js} +15 -15
- package/build/{index-b0a12329.js → index-a5badcc7.js} +4 -4
- package/build/{index-a98012d1.js → index-a69f7d9d.js} +2 -2
- package/build/{index-2ed4f902.js → index-ab7cca44.js} +6 -6
- package/build/{index-c4ecc316.js → index-b45c19d6.js} +2 -2
- package/build/{index-65877f7f.js → index-b7eb519c.js} +2 -2
- package/build/{index-e1251fad.js → index-bf5c6a67.js} +16 -16
- package/build/{index-8cb21bf0.js → index-c4aac4ce.js} +1 -1
- package/build/{index-ae53eeda.js → index-d1d94372.js} +31 -31
- package/build/{index-0fa88470.js → index-d5aa8f07.js} +17 -17
- package/build/{index-3e30f43e.js → index-d6073c37.js} +2 -2
- package/build/{index-fd327f0c.js → index-d8f378ff.js} +2 -2
- package/build/{index-ecfed0d6.js → index-e1f3c9c6.js} +6 -6
- package/build/{index-3463357d.js → index-e3151b12.js} +1 -1
- package/build/{index-265dbfc8.js → index-e3bd8e39.js} +13 -13
- package/build/{index-fc0eb3be.js → index-e44d9e3c.js} +16 -16
- package/build/{index-9e846c33.js → index-ebe5ebe5.js} +5 -5
- package/build/{index-46e11d17.js → index-edb498e6.js} +1 -1
- package/build/{index-526bc8b7.js → index-efb1ac82.js} +24 -24
- package/build/{index-7dcea0bb.js → index-f2c2ac2b.js} +10 -10
- package/build/{index-53fb12f7.js → index-f432b2a9.js} +17 -17
- package/build/{index-52a845a4.js → index-f6c7e143.js} +3 -3
- package/build/{index-eff2e9c9.js → index-f97b99f7.js} +2 -2
- package/build/{index-5805b3ec.js → index-fa1f8bde.js} +25 -25
- package/build/{index-8f5dfec3.js → index-faaee1ee.js} +2 -2
- package/build/{index-037289ae.js → index-fe0fb296.js} +1 -1
- package/build/{index-2b633262.js → index-fe4c6dee.js} +6 -6
- package/build/index.js +184 -185
- package/build/{labelSorting-c9059bb9.js → labelSorting-c428c053.js} +4 -4
- package/build/lead/LeadGenForm/LeadGenEmpty.d.ts +8 -0
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +262 -0
- package/build/lead/icons/NoData.d.ts +3 -0
- package/build/lead/icons/index.d.ts +5 -0
- package/build/lead/index.d.ts +1 -0
- package/build/lead.css +1 -1
- package/build/lead.js +422 -129
- package/build/{logoIcon-2f519cbc.js → logoIcon-b40a90cb.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- 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 +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-a3532f10.js → post-554acfe1.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +50 -38
- package/build/{store-7039961b.js → store-1a6769c4.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-a517374c.js → surveyThankyouCard-cbfd396b.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/index.styled.d.ts +7 -0
- package/build/together/utils/index.d.ts +1 -0
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-f2a3687b.js → translationsProvider-a44b68a4.js} +1 -1
- package/build/{treePopoverMenu-7054a35f.js → treePopoverMenu-49a27996.js} +19 -19
- package/build/{types-16068ff8.js → types-65d1edda.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-5be6ce06.js → useCategory-644a6222.js} +5 -5
- package/build/{useHealthToolCache-2a4c9939.js → useHealthToolCache-0b147058.js} +1 -1
- package/build/{useMantineLocale-0181b664.js → useMantineLocale-af8db5b7.js} +6 -6
- package/build/{usePlacesAutocomplete-e11e1d43.js → usePlacesAutocomplete-af90a125.js} +1 -1
- package/build/{useScreenSize-5240f3ae.js → useScreenSize-df7ce4a3.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-9d2704c6.js → utils-089b86e3.js} +2 -2
- package/build/{utils-1057ad4d.js → utils-95d91483.js} +5 -5
- package/build/{utils-eaf83096.js → utils-ae7ae7f7.js} +3 -3
- package/build/{utils-c1e7ebc0.js → utils-bf868215.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-ae09d6db.js +0 -118
- package/build/index-f337b4a8.js +0 -125
- /package/build/{BMI_BOYS.percentile.monthly-5e7a7d21.js → BMI_BOYS.percentile.monthly-5e8b4118.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-abe9fb43.js → BMI_BOYS.percentile.weekly-f301da74.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b84043f6.js → BMI_BOYS.percentile.yearly-08dee58c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-11bd8873.js → BMI_BOYS.zscore.monthly-ae501090.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-13579b6b.js → BMI_BOYS.zscore.weekly-298ad5b3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7ec2f26b.js → BMI_BOYS.zscore.yearly-83f7883c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2043a009.js → BMI_GIRLS.percentile.monthly-0b3d9f5e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-10661219.js → BMI_GIRLS.percentile.weekly-7829041d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f1ba055f.js → BMI_GIRLS.percentile.yearly-d618ee4f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-818d02de.js → BMI_GIRLS.zscore.monthly-95b59175.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ffa1becc.js → BMI_GIRLS.zscore.weekly-f7e1ae1d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-248d1f00.js → BMI_GIRLS.zscore.yearly-0ab49bd2.js} +0 -0
- /package/build/{ChevronDown-a8f20798.js → ChevronDown-da9c345e.js} +0 -0
- /package/build/{Close-3dee5eb4.js → Close-5b06f89b.js} +0 -0
- /package/build/{Google-d7b3fb6f.js → Google-d58a78eb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-659fdd75.js → HEAD CIRCUM_BOYS.percentile.monthly-35d2d7a3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b857c60a.js → HEAD CIRCUM_BOYS.percentile.weekly-82f8b152.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-455204fc.js → HEAD CIRCUM_BOYS.percentile.yearly-0007d2c7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-20d49e4e.js → HEAD CIRCUM_BOYS.zscore.monthly-15181fef.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c71c1b67.js → HEAD CIRCUM_BOYS.zscore.weekly-a658c866.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9d400bdf.js → HEAD CIRCUM_BOYS.zscore.yearly-c560526c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-25107f5d.js → HEAD CIRCUM_GIRLS.percentile.monthly-77d56708.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d22b4ba9.js → HEAD CIRCUM_GIRLS.percentile.weekly-48404e02.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f81b47b8.js → HEAD CIRCUM_GIRLS.percentile.yearly-612f1f45.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9dac5192.js → HEAD CIRCUM_GIRLS.zscore.monthly-2d63856e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2a4de654.js → HEAD CIRCUM_GIRLS.zscore.weekly-0bb3bf86.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-169cbe2e.js → HEAD CIRCUM_GIRLS.zscore.yearly-34802c9f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-0dd808c8.js → HEIGHT_BOYS.percentile.monthly-f0d62847.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5093ce73.js → HEIGHT_BOYS.percentile.weekly-c9a60be5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-6bb333f9.js → HEIGHT_BOYS.percentile.yearly-e6d9df01.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-63892e13.js → HEIGHT_BOYS.zscore.monthly-04d47630.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5ffcba95.js → HEIGHT_BOYS.zscore.weekly-fb02aa44.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-9c0c11d4.js → HEIGHT_BOYS.zscore.yearly-c81b879c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-53c268db.js → HEIGHT_GIRLS.percentile.monthly-33bfa635.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-54c3cfc8.js → HEIGHT_GIRLS.percentile.weekly-c24ee25c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-e6a80d29.js → HEIGHT_GIRLS.percentile.yearly-2260a11f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-64e1c783.js → HEIGHT_GIRLS.zscore.monthly-0abf0bda.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c850968a.js → HEIGHT_GIRLS.zscore.weekly-6786e1f1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-36146fa2.js → HEIGHT_GIRLS.zscore.yearly-0f742c0d.js} +0 -0
- /package/build/{Locale-88496264.js → Locale-7ba1105b.js} +0 -0
- /package/build/{Visible-5d07546b.js → Visible-a976fcfb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-ea3e2766.js → WEIGHT_BOYS.percentile.monthly-03de708a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a9a02d1f.js → WEIGHT_BOYS.percentile.weekly-88d6da77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a748d552.js → WEIGHT_BOYS.percentile.yearly-86995484.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-f85ca094.js → WEIGHT_BOYS.zscore.monthly-cddffa50.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5c8b4958.js → WEIGHT_BOYS.zscore.weekly-2e7aec61.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-ff5f37bb.js → WEIGHT_BOYS.zscore.yearly-ad90c576.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-6b44cdbf.js → WEIGHT_GIRLS.percentile.monthly-f491593f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-db014a3a.js → WEIGHT_GIRLS.percentile.weekly-ccfb47e4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-28d618d0.js → WEIGHT_GIRLS.percentile.yearly-cd3900b6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a6572603.js → WEIGHT_GIRLS.zscore.monthly-5671aadd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6a50107a.js → WEIGHT_GIRLS.zscore.weekly-04b516e4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-d3b1b039.js → WEIGHT_GIRLS.zscore.yearly-cc2662a3.js} +0 -0
- /package/build/{animation-70de288d.js → animation-5a88e446.js} +0 -0
- /package/build/{constants-a52d8bc7.js → constants-1613d824.js} +0 -0
- /package/build/{constants-fd080c68.js → constants-747552a9.js} +0 -0
- /package/build/{constants-2a1dedfc.js → constants-f9b93955.js} +0 -0
- /package/build/{dataTransform-60ff96e1.js → dataTransform-3a8b4e64.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f868265e.js → BMI_BOYS.percentile.monthly-8aca434a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-70165c6e.js → BMI_BOYS.percentile.weekly-fea3d0ec.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-ea04f4ef.js → BMI_BOYS.percentile.yearly-d73377bd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c37b9ec4.js → BMI_BOYS.zscore.monthly-65e55b99.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-290b30dd.js → BMI_BOYS.zscore.weekly-f30d883f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-28119ee2.js → BMI_BOYS.zscore.yearly-1dd83e3c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-20315b0a.js → BMI_GIRLS.percentile.monthly-7eff71bc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-69bbfd7b.js → BMI_GIRLS.percentile.weekly-2b4b5264.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-68aa4e79.js → BMI_GIRLS.percentile.yearly-6b11d153.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-53760c29.js → BMI_GIRLS.zscore.monthly-282a5f96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-05cc67da.js → BMI_GIRLS.zscore.weekly-ab58ad9a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5e31f5a5.js → BMI_GIRLS.zscore.yearly-c5919e8b.js} +0 -0
- /package/build/esm/{ChevronDown-f2b7c27e.js → ChevronDown-026baa98.js} +0 -0
- /package/build/esm/{Close-7a83967c.js → Close-6cec00b4.js} +0 -0
- /package/build/esm/{Google-99e06df8.js → Google-d58cea94.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-55f8f39f.js → HEAD CIRCUM_BOYS.percentile.monthly-84357668.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6343de83.js → HEAD CIRCUM_BOYS.percentile.weekly-c520fa09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-322bf824.js → HEAD CIRCUM_BOYS.percentile.yearly-23b821af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d6e472c2.js → HEAD CIRCUM_BOYS.zscore.monthly-3bb7ac83.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c8166f4f.js → HEAD CIRCUM_BOYS.zscore.weekly-f270f6d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c5bf924e.js → HEAD CIRCUM_BOYS.zscore.yearly-bdccf9a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b987eb52.js → HEAD CIRCUM_GIRLS.percentile.monthly-1576e916.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1dfcdad2.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad89a7b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-baab7647.js → HEAD CIRCUM_GIRLS.percentile.yearly-d96df8a8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-354f642c.js → HEAD CIRCUM_GIRLS.zscore.monthly-15737ba7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f1bf5aad.js → HEAD CIRCUM_GIRLS.zscore.weekly-2821c54f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-f8413045.js → HEAD CIRCUM_GIRLS.zscore.yearly-160836e0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-89325647.js → HEIGHT_BOYS.percentile.monthly-1ed33a6c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-aaab57cb.js → HEIGHT_BOYS.percentile.weekly-63ba3c10.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e177183d.js → HEIGHT_BOYS.percentile.yearly-a9dd9aa1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a78c2e2a.js → HEIGHT_BOYS.zscore.monthly-54fb5524.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b68e6b79.js → HEIGHT_BOYS.zscore.weekly-1cb2c05f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-31c6712a.js → HEIGHT_BOYS.zscore.yearly-9a5e21be.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a6feb85a.js → HEIGHT_GIRLS.percentile.monthly-60a59c18.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d24f3dd1.js → HEIGHT_GIRLS.percentile.weekly-45c266f8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-9e60e51c.js → HEIGHT_GIRLS.percentile.yearly-cb142a50.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1cd29116.js → HEIGHT_GIRLS.zscore.monthly-0a0e5871.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a95b1607.js → HEIGHT_GIRLS.zscore.weekly-c267b90a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d1ee58dc.js → HEIGHT_GIRLS.zscore.yearly-4cb662ba.js} +0 -0
- /package/build/esm/{Locale-e37edea6.js → Locale-423df4ef.js} +0 -0
- /package/build/esm/{Visible-675fa92b.js → Visible-0306e243.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-abc23c30.js → WEIGHT_BOYS.percentile.monthly-44ef4140.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6c756b20.js → WEIGHT_BOYS.percentile.weekly-40defcde.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3e772832.js → WEIGHT_BOYS.percentile.yearly-1b222b51.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-01cd4a9e.js → WEIGHT_BOYS.zscore.monthly-521c2f40.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-da6a708e.js → WEIGHT_BOYS.zscore.weekly-4d6458c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e15e6eed.js → WEIGHT_BOYS.zscore.yearly-0c3fee4c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-3d01ae32.js → WEIGHT_GIRLS.percentile.monthly-080c3934.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-558bddbf.js → WEIGHT_GIRLS.percentile.weekly-d155b38d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-176576c3.js → WEIGHT_GIRLS.percentile.yearly-d7e5b6c6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f95a3ce4.js → WEIGHT_GIRLS.zscore.monthly-449d9e41.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-668444ba.js → WEIGHT_GIRLS.zscore.weekly-00c868c3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-218eb559.js → WEIGHT_GIRLS.zscore.yearly-af79a13a.js} +0 -0
- /package/build/esm/{animation-365cf7d0.js → animation-157e4c61.js} +0 -0
- /package/build/esm/{constants-c6cbd6b8.js → constants-0b74df12.js} +0 -0
- /package/build/esm/{constants-5b713e5a.js → constants-a04ae0ad.js} +0 -0
- /package/build/esm/{constants-4a3e6669.js → constants-a9691ab6.js} +0 -0
- /package/build/esm/{dataTransform-72d9c084.js → dataTransform-13871013.js} +0 -0
- /package/build/esm/{index-a225ce93.js → index-10ba5585.js} +0 -0
- /package/build/esm/{index-311edc1b.js → index-11ec9c35.js} +0 -0
- /package/build/esm/{index-2ce468ee.js → index-1bc03b55.js} +0 -0
- /package/build/esm/{index-1850d594.js → index-600789fe.js} +0 -0
- /package/build/esm/{index-18c6be13.js → index-8d9fe5a3.js} +0 -0
- /package/build/esm/{index-2bf5f78a.js → index-d845405b.js} +0 -0
- /package/build/esm/{index-e41e9e9c.js → index-d94d1427.js} +0 -0
- /package/build/esm/{index-be290ad5.js → index-dd3ca542.js} +0 -0
- /package/build/esm/{index.styles-2ae2bbf8.js → index.styles-1b69a5e7.js} +0 -0
- /package/build/esm/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-d59db151.js → localizeNumberFormat-16e1d5bb.js} +0 -0
- /package/build/esm/{normalizeLink-dc941d98.js → normalizeLink-38693345.js} +0 -0
- /package/build/esm/{number-3dbd5a3f.js → number-53ff3f69.js} +0 -0
- /package/build/esm/{other-cef0261a.js → other-b1b4b57a.js} +0 -0
- /package/build/esm/{paths-2bbcf72d.js → paths-3086a7ad.js} +0 -0
- /package/build/esm/{translationsContext-f94ca99c.js → translationsContext-d79c67ff.js} +0 -0
- /package/build/esm/{tslib.es6-b97b9ccd.js → tslib.es6-af07834a.js} +0 -0
- /package/build/esm/{types-cb6a987c.js → types-fc464393.js} +0 -0
- /package/build/esm/{useIsInit-2050867e.js → useIsInit-4e82c661.js} +0 -0
- /package/build/esm/{useOutsideClick-4b5e00d9.js → useOutsideClick-661a43c0.js} +0 -0
- /package/build/esm/{useScrollbarSize-2d07896b.js → useScrollbarSize-dbc58b31.js} +0 -0
- /package/build/esm/{useUniqueId-0499a705.js → useUniqueId-981d3127.js} +0 -0
- /package/build/esm/{utils-1a4cbdae.js → utils-ce480e41.js} +0 -0
- /package/build/{index-93e10656.js → index-01d9b019.js} +0 -0
- /package/build/{index-533f3d32.js → index-1db83ec5.js} +0 -0
- /package/build/{index-fd7ba516.js → index-2062eb6d.js} +0 -0
- /package/build/{index-f1064487.js → index-221e234c.js} +0 -0
- /package/build/{index-f65dc62b.js → index-29d277ce.js} +0 -0
- /package/build/{index-c4a9e670.js → index-5164e30f.js} +0 -0
- /package/build/{index-ae2a1c0e.js → index-8b3f95c7.js} +0 -0
- /package/build/{index-079d5fc4.js → index-8cbc10d7.js} +0 -0
- /package/build/{index.styles-7e0b347b.js → index.styles-51060e76.js} +0 -0
- /package/build/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-32defeda.js → localizeNumberFormat-0eaf31f3.js} +0 -0
- /package/build/{normalizeLink-4f6bff54.js → normalizeLink-aceda843.js} +0 -0
- /package/build/{number-a3af3e32.js → number-c80807e5.js} +0 -0
- /package/build/{other-c84abbc7.js → other-8feef803.js} +0 -0
- /package/build/{paths-6cad97fb.js → paths-8afda0d0.js} +0 -0
- /package/build/{translationsContext-778e8e71.js → translationsContext-814bd015.js} +0 -0
- /package/build/{tslib.es6-7b54318f.js → tslib.es6-e2fe291e.js} +0 -0
- /package/build/{types-1897ec38.js → types-cd8b98c9.js} +0 -0
- /package/build/{useIsInit-291cefb0.js → useIsInit-ff25eb7f.js} +0 -0
- /package/build/{useOutsideClick-34c2ff7b.js → useOutsideClick-395f7bfb.js} +0 -0
- /package/build/{useScrollbarSize-1f0e2534.js → useScrollbarSize-72c26fbc.js} +0 -0
- /package/build/{useUniqueId-6ebe2cda.js → useUniqueId-2bbc7661.js} +0 -0
- /package/build/{utils-38a21716.js → utils-7b44767d.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-af07834a.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-600789fe.js';
|
|
5
|
+
import { u as useTranslations } from './index-c59e0798.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { I as Input$1 } from './index-
|
|
9
|
-
import { useMantineTheme,
|
|
8
|
+
import { I as Input$1 } from './index-b0bc8bce.js';
|
|
9
|
+
import { useMantineTheme, SegmentedControl, 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-f9a28c00.js';
|
|
12
|
+
import './index-2602e818.js';
|
|
13
|
+
import './index-d845405b.js';
|
|
14
|
+
import './useMantineLocale-6e80edb8.js';
|
|
15
|
+
import { T as Text } from './index-a97159b8.js';
|
|
16
|
+
import { B as Button } from './index-0ccc180b.js';
|
|
17
|
+
import './index.styles-1b69a5e7.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, c as IconCloseCircle, g as getDefaultFailNoti, d as getPostFormData, e as editPost, f as createPost } from './index-
|
|
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-
|
|
19
|
+
import { M as MediaQueries } from './utils-ce480e41.js';
|
|
20
|
+
import './other-b1b4b57a.js';
|
|
21
|
+
import './index-39ee94a7.js';
|
|
22
|
+
import { u as useImagePicker, a as PopupFrame, c as IconCloseCircle, g as getDefaultFailNoti, d as getPostFormData, e as editPost, f as createPost } from './index-2de9ddf3.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-dab867b8.js';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
|
-
import { b as formatPost, a as formatCommunity, 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 } 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-b72aadc0.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-a04ae0ad.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-ffc73359.js';
|
|
28
|
+
import { C as CardAuthor } from './index-2c0cd325.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-b4cfab17.js';
|
|
30
|
+
import { I as Input } from './index-4f6de345.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-aa09b670.js';
|
|
35
|
+
import { C as CardLink } from './index-bdb79adf.js';
|
|
36
|
+
import { B as BtnChoice } from './index-00709c00.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-423df4ef.js';
|
|
38
38
|
import * as ReactDOM from 'react-dom';
|
|
39
|
-
import { L as Loading$1 } from './index-
|
|
40
|
-
import { b as IconArrowLeft } from './index-
|
|
41
|
-
import { B as Button$1 } from './index-
|
|
39
|
+
import { L as Loading$1 } from './index-87d5883c.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-0fe6ab3c.js';
|
|
41
|
+
import { B as Button$1 } from './index-12b4a7ca.js';
|
|
42
42
|
import { getCookie } from './miscCookieHelper.js';
|
|
43
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
44
|
-
import { U as UserAvatar } from './index-
|
|
45
|
-
import { P as PopoverMenu } from './index-
|
|
43
|
+
import { a as useUniqueId } from './useUniqueId-981d3127.js';
|
|
44
|
+
import { U as UserAvatar } from './index-dc9af5ad.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-b324b8fb.js';
|
|
46
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
47
47
|
|
|
48
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1358,6 +1358,11 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
1358
1358
|
}), disabled: !isReadyToSubmit, loading: isSubmitting }, t('createPost.popup.submit'))))));
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
|
+
function toBoolean(str) {
|
|
1362
|
+
const strFormat = str.toLowerCase();
|
|
1363
|
+
return strFormat === 'true' || strFormat === '1' || strFormat === 'yes';
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1361
1366
|
const StyleContainer$2 = styled.div ``;
|
|
1362
1367
|
const StyleContentWrapper$1 = styled.div `
|
|
1363
1368
|
display: flex;
|
|
@@ -3025,8 +3030,7 @@ const StyledIsQuestion = styled.div `
|
|
|
3025
3030
|
width: 100%;
|
|
3026
3031
|
align-items: center;
|
|
3027
3032
|
justify-content: space-between;
|
|
3028
|
-
|
|
3029
|
-
border-radius: 0 0 8px 8px;
|
|
3033
|
+
border-radius: 8px;
|
|
3030
3034
|
background: ${theme.colors.neutral50};
|
|
3031
3035
|
gap: 12px;
|
|
3032
3036
|
|
|
@@ -3221,10 +3225,13 @@ const StyleSessionRow = styled.div `
|
|
|
3221
3225
|
}
|
|
3222
3226
|
`;
|
|
3223
3227
|
const StyledIsQuestionWrapper = styled.div `
|
|
3224
|
-
padding:
|
|
3225
|
-
border: 1px solid ${theme.colors.gray200};
|
|
3228
|
+
padding: 10px 16px;
|
|
3226
3229
|
border-top: none;
|
|
3227
|
-
border-radius:
|
|
3230
|
+
border-radius: 12px;
|
|
3231
|
+
background: ${theme.colors.neutral50};
|
|
3232
|
+
display: flex;
|
|
3233
|
+
flex-direction: column;
|
|
3234
|
+
gap: 8px;
|
|
3228
3235
|
&.has-error {
|
|
3229
3236
|
border: 1px solid ${theme.colors.red600};
|
|
3230
3237
|
}
|
|
@@ -3254,6 +3261,85 @@ const StyleActionFooter = styled.div `
|
|
|
3254
3261
|
.input-group {
|
|
3255
3262
|
margin-bottom: 0 !important;
|
|
3256
3263
|
}
|
|
3264
|
+
`;
|
|
3265
|
+
const StyledQuestionWrapperContainer = styled.div `
|
|
3266
|
+
padding: 8px 8px;
|
|
3267
|
+
border: 1px solid ${theme.colors.gray200};
|
|
3268
|
+
border-top: none;
|
|
3269
|
+
border-radius: 0 0 8px 8px;
|
|
3270
|
+
&.has-error {
|
|
3271
|
+
border: 1px solid ${theme.colors.red600};
|
|
3272
|
+
}
|
|
3273
|
+
&.error-description {
|
|
3274
|
+
border: 1px solid ${theme.colors.red600};
|
|
3275
|
+
border-top: none;
|
|
3276
|
+
}
|
|
3277
|
+
.error-choice-question {
|
|
3278
|
+
color: ${theme.colors.red600};
|
|
3279
|
+
font-size: 12px;
|
|
3280
|
+
font-weight: 400;
|
|
3281
|
+
line-height: 22px;
|
|
3282
|
+
letter-spacing: -0.2px;
|
|
3283
|
+
}
|
|
3284
|
+
`;
|
|
3285
|
+
const StyleSwitchButton = styled(SegmentedControl) `
|
|
3286
|
+
gap: 8px;
|
|
3287
|
+
&.mantine-SegmentedControl-root {
|
|
3288
|
+
background-color: transparent;
|
|
3289
|
+
padding: 0px;
|
|
3290
|
+
}
|
|
3291
|
+
.mantine-SegmentedControl-indicator {
|
|
3292
|
+
display: none;
|
|
3293
|
+
}
|
|
3294
|
+
.mantine-SegmentedControl-label {
|
|
3295
|
+
margin-bottom: 0px !important;
|
|
3296
|
+
display: flex;
|
|
3297
|
+
padding: 5px 12px;
|
|
3298
|
+
justify-content: center;
|
|
3299
|
+
align-items: center;
|
|
3300
|
+
gap: 8px;
|
|
3301
|
+
height: 32px;
|
|
3302
|
+
border: 1px solid ${theme.colors.neutral100};
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
.mantine-SegmentedControl-control {
|
|
3306
|
+
color: ${theme.colors.gray800};
|
|
3307
|
+
font-size: 14px;
|
|
3308
|
+
font-style: normal;
|
|
3309
|
+
font-weight: 600;
|
|
3310
|
+
line-height: 22px;
|
|
3311
|
+
border-radius: 8px;
|
|
3312
|
+
background: ${theme.colors.white};
|
|
3313
|
+
border-width: 0 !important;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
.mantine-SegmentedControl-controlActive {
|
|
3317
|
+
border-radius: 8px;
|
|
3318
|
+
background: ${theme.colors.blue50};
|
|
3319
|
+
|
|
3320
|
+
.mantine-SegmentedControl-label {
|
|
3321
|
+
color: ${theme.colors.primaryBase};
|
|
3322
|
+
border: 1px solid ${theme.colors.blue50};
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
&.segmented-marry-baby {
|
|
3327
|
+
.mantine-SegmentedControl-control {
|
|
3328
|
+
border-radius: 16px;
|
|
3329
|
+
}
|
|
3330
|
+
.mantine-SegmentedControl-label {
|
|
3331
|
+
border-radius: 16px;
|
|
3332
|
+
}
|
|
3333
|
+
.mantine-SegmentedControl-controlActive {
|
|
3334
|
+
border-radius: 16px;
|
|
3335
|
+
background: ${theme.colors.pink500};
|
|
3336
|
+
|
|
3337
|
+
.mantine-SegmentedControl-label {
|
|
3338
|
+
color: ${theme.colors.white};
|
|
3339
|
+
border: 1px solid ${theme.colors.pink500};
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3257
3343
|
`;
|
|
3258
3344
|
|
|
3259
3345
|
const CreatePostPhotos = ({ imageFiles: imageFilesInit, setImageFiles, }) => {
|
|
@@ -3424,12 +3510,10 @@ const applySpecialCharSite = [
|
|
|
3424
3510
|
];
|
|
3425
3511
|
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3426
3512
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3427
|
-
const { data: { locale,
|
|
3428
|
-
// env: { togetherBasePath },
|
|
3429
|
-
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3513
|
+
const { data: { locale }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3430
3514
|
const { t } = useTranslations();
|
|
3431
3515
|
const containerRef = useRef(null);
|
|
3432
|
-
const [isAskDoctor, setIsAskDoctor] = useState(
|
|
3516
|
+
const [isAskDoctor, setIsAskDoctor] = useState('');
|
|
3433
3517
|
const [specialCharErr, setspecialCharErr] = useState(false);
|
|
3434
3518
|
const [titleValue, setTitleValue] = useState('');
|
|
3435
3519
|
const [descriptionValue, setDescriptionValue] = useState('');
|
|
@@ -3454,6 +3538,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3454
3538
|
const [stepPost, setStepPost] = useState('step_info');
|
|
3455
3539
|
const [isLoadingSuggest, setIsLoadingSuggest] = useState(false);
|
|
3456
3540
|
const [uncategorizedId, setUncategorizedId] = useState('');
|
|
3541
|
+
const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);
|
|
3457
3542
|
const postActionType = [
|
|
3458
3543
|
{
|
|
3459
3544
|
label: t('cardPost.public'),
|
|
@@ -3476,18 +3561,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3476
3561
|
} })),
|
|
3477
3562
|
},
|
|
3478
3563
|
];
|
|
3479
|
-
// const currentCommunity = useMemo(() => {
|
|
3480
|
-
// if (!communityValue.value) return null
|
|
3481
|
-
// const result = communitiesList.find(
|
|
3482
|
-
// (item) => String(item.id) === String(communityValue.value),
|
|
3483
|
-
// )
|
|
3484
|
-
// if (!result) return null
|
|
3485
|
-
// return result
|
|
3486
|
-
// }, [communityValue, communitiesList])
|
|
3487
3564
|
const currentCommunity = forceSelectCommunity ||
|
|
3488
3565
|
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3489
3566
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3490
3567
|
useEffect(() => {
|
|
3568
|
+
var _a;
|
|
3491
3569
|
if (editPostData) {
|
|
3492
3570
|
const post = editPostData;
|
|
3493
3571
|
setTitleValue(post.title || '');
|
|
@@ -3496,9 +3574,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3496
3574
|
label: post.community.name,
|
|
3497
3575
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3498
3576
|
});
|
|
3499
|
-
// setSelectedTopics(post.topics || [])
|
|
3500
3577
|
setImageFiles(post.photos || []);
|
|
3501
|
-
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3578
|
+
setIsAskDoctor(((_a = (!!post.isAskDoctor)) === null || _a === void 0 ? void 0 : _a.toString()) || 'false');
|
|
3502
3579
|
}
|
|
3503
3580
|
else {
|
|
3504
3581
|
if (defaultCommunity) {
|
|
@@ -3507,9 +3584,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3507
3584
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3508
3585
|
});
|
|
3509
3586
|
}
|
|
3510
|
-
// if (defaultTopics) {
|
|
3511
|
-
// setSelectedTopics(defaultTopics)
|
|
3512
|
-
// }
|
|
3513
3587
|
}
|
|
3514
3588
|
}, []);
|
|
3515
3589
|
useEffect(() => {
|
|
@@ -3593,6 +3667,10 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3593
3667
|
});
|
|
3594
3668
|
hasError = true;
|
|
3595
3669
|
}
|
|
3670
|
+
if (!isAskDoctor) {
|
|
3671
|
+
errorMessage.askDoctor = t('createPost.message.askDoctor');
|
|
3672
|
+
hasError = true;
|
|
3673
|
+
}
|
|
3596
3674
|
if (imageFiles && imageFiles.length > 10) {
|
|
3597
3675
|
errorMessage.photos = t('createPost.message.photoMaxium');
|
|
3598
3676
|
hasError = true;
|
|
@@ -3633,94 +3711,92 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3633
3711
|
console.log(topicsList);
|
|
3634
3712
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3635
3713
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
description: descriptionValue,
|
|
3642
|
-
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3643
|
-
imageFiles,
|
|
3644
|
-
previewUrl,
|
|
3645
|
-
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3646
|
-
locale,
|
|
3647
|
-
sanitizeFunction,
|
|
3648
|
-
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3649
|
-
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3650
|
-
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3651
|
-
isAskDoctor: isAskDoctor ? 1 : 0,
|
|
3652
|
-
introUrl: '',
|
|
3653
|
-
});
|
|
3654
|
-
if (articleId) {
|
|
3655
|
-
bodyFormData.append('article_id', articleId);
|
|
3656
|
-
}
|
|
3657
|
-
console.log(uncategorized);
|
|
3658
|
-
let res;
|
|
3659
|
-
if (isInEditMode) {
|
|
3660
|
-
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3661
|
-
res = yield editPost({
|
|
3662
|
-
id: editPostData.id,
|
|
3663
|
-
formData: bodyFormData,
|
|
3664
|
-
locale,
|
|
3665
|
-
});
|
|
3714
|
+
if (!isLoadingSubmit) {
|
|
3715
|
+
setIsLoadingSubmit(true);
|
|
3716
|
+
const isError = validationPost();
|
|
3717
|
+
if (isError) {
|
|
3718
|
+
return setIsLoadingSubmit(false);
|
|
3666
3719
|
}
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3720
|
+
const bodyFormData = yield getPostFormData({
|
|
3721
|
+
title: titleValue,
|
|
3722
|
+
description: descriptionValue,
|
|
3723
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3724
|
+
imageFiles,
|
|
3725
|
+
previewUrl,
|
|
3726
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3671
3727
|
locale,
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
// editPostData ? 'editPost' : 'createPost'
|
|
3679
|
-
// }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
|
|
3680
|
-
// const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
|
|
3681
|
-
// resData?.community?.slug
|
|
3682
|
-
// }/${resData?.slug}/?${params}`
|
|
3683
|
-
// window.location.href = postHref
|
|
3684
|
-
pushNotifications({
|
|
3685
|
-
message: isInEditMode
|
|
3686
|
-
? t('updatePost.popup.success')
|
|
3687
|
-
: t('createPost.popup.success'),
|
|
3688
|
-
type: 'success',
|
|
3728
|
+
sanitizeFunction,
|
|
3729
|
+
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3730
|
+
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3731
|
+
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3732
|
+
isAskDoctor: toBoolean(isAskDoctor) ? 1 : 0,
|
|
3733
|
+
introUrl: '',
|
|
3689
3734
|
});
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3735
|
+
if (articleId) {
|
|
3736
|
+
bodyFormData.append('article_id', articleId);
|
|
3737
|
+
}
|
|
3738
|
+
console.log(uncategorized);
|
|
3739
|
+
let res;
|
|
3740
|
+
if (isInEditMode) {
|
|
3741
|
+
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3742
|
+
res = yield editPost({
|
|
3743
|
+
id: editPostData.id,
|
|
3744
|
+
formData: bodyFormData,
|
|
3745
|
+
locale,
|
|
3746
|
+
});
|
|
3701
3747
|
}
|
|
3702
3748
|
}
|
|
3703
|
-
else
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3749
|
+
else {
|
|
3750
|
+
res = yield createPost({
|
|
3751
|
+
formData: bodyFormData,
|
|
3752
|
+
locale,
|
|
3753
|
+
isArticleComment: true,
|
|
3708
3754
|
});
|
|
3709
|
-
onClose && onClose();
|
|
3710
3755
|
}
|
|
3711
|
-
|
|
3756
|
+
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3757
|
+
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)) {
|
|
3712
3758
|
pushNotifications({
|
|
3713
|
-
message:
|
|
3714
|
-
|
|
3759
|
+
message: isInEditMode
|
|
3760
|
+
? t('updatePost.popup.success')
|
|
3761
|
+
: t('createPost.popup.success'),
|
|
3762
|
+
type: 'success',
|
|
3715
3763
|
});
|
|
3716
|
-
|
|
3764
|
+
onCreateEditSuccess(resData);
|
|
3717
3765
|
}
|
|
3718
3766
|
else {
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3767
|
+
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') {
|
|
3768
|
+
pushNotifications({
|
|
3769
|
+
title: t('notification.post.blocked.title'),
|
|
3770
|
+
message: t('notification.post.blocked.message'),
|
|
3771
|
+
type: 'danger',
|
|
3772
|
+
});
|
|
3773
|
+
if (res.messages.moderation.words) {
|
|
3774
|
+
setBannedWords(res.messages.moderation.words);
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
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') {
|
|
3778
|
+
pushNotifications({
|
|
3779
|
+
title: t('notification.post.suspect.title'),
|
|
3780
|
+
message: t('notification.post.suspect.message'),
|
|
3781
|
+
type: 'warning',
|
|
3782
|
+
});
|
|
3783
|
+
onClose && onClose();
|
|
3784
|
+
}
|
|
3785
|
+
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')); })) {
|
|
3786
|
+
pushNotifications({
|
|
3787
|
+
message: t('notification.suspend.message'),
|
|
3788
|
+
type: 'danger',
|
|
3789
|
+
});
|
|
3790
|
+
onClose && onClose();
|
|
3791
|
+
}
|
|
3792
|
+
else {
|
|
3793
|
+
pushNotifications({
|
|
3794
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3795
|
+
type: 'danger',
|
|
3796
|
+
});
|
|
3797
|
+
}
|
|
3723
3798
|
}
|
|
3799
|
+
setIsLoadingSubmit(false);
|
|
3724
3800
|
}
|
|
3725
3801
|
});
|
|
3726
3802
|
const getFirstOrderErroKey = (orderKey) => {
|
|
@@ -3757,6 +3833,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3757
3833
|
return;
|
|
3758
3834
|
}
|
|
3759
3835
|
submitPost();
|
|
3836
|
+
// TODO: Current hard to keep AI suggest community
|
|
3760
3837
|
if (stepPost)
|
|
3761
3838
|
return;
|
|
3762
3839
|
if (isInEditMode) {
|
|
@@ -3857,28 +3934,39 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3857
3934
|
zIndex: 10,
|
|
3858
3935
|
width: 'calc(100% + 20px)',
|
|
3859
3936
|
} })))),
|
|
3860
|
-
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: isAskDoctor
|
|
3937
|
+
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: toBoolean(isAskDoctor)
|
|
3861
3938
|
? t('createPost.post.askDoctor.title')
|
|
3862
3939
|
: t('createPost.post.title'), onChange: setTitleValue }),
|
|
3863
3940
|
specialCharErr && (React__default.createElement(StyledError, null,
|
|
3864
3941
|
React__default.createElement(Info, { isSolid: true, color: theme.colors.red700, size: 14 }),
|
|
3865
3942
|
React__default.createElement(Text, { size: "p3", as: "span", color: theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
|
|
3866
3943
|
React__default.createElement("div", { className: "input-group" },
|
|
3867
|
-
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: isAskDoctor
|
|
3944
|
+
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: toBoolean(isAskDoctor)
|
|
3868
3945
|
? t('createPost.post.askDoctor.description')
|
|
3869
3946
|
: t('createPost.post.description'), onChange: (v) => {
|
|
3870
3947
|
setDescriptionValue(v);
|
|
3871
3948
|
removeKeyError('description');
|
|
3872
3949
|
}, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, onImageFilesChange: setImageFiles, imageFiles: imageFiles, className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}`, footerEditor: React__default.createElement(React__default.Fragment, null,
|
|
3873
|
-
React__default.createElement(
|
|
3874
|
-
React__default.createElement(
|
|
3875
|
-
React__default.createElement(
|
|
3876
|
-
React__default.createElement(
|
|
3877
|
-
|
|
3878
|
-
React__default.createElement("div", { className: "
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3950
|
+
React__default.createElement(StyledQuestionWrapperContainer, { className: error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : '' },
|
|
3951
|
+
React__default.createElement(StyledIsQuestionWrapper, null,
|
|
3952
|
+
React__default.createElement(StyledIsQuestion, { color: theme.colors.primaryBase },
|
|
3953
|
+
React__default.createElement("div", { className: "switch-label" },
|
|
3954
|
+
React__default.createElement(Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.colors.primaryBase, className: "label-icon" }),
|
|
3955
|
+
React__default.createElement("div", { className: "wrapper-text" },
|
|
3956
|
+
React__default.createElement("div", { className: "label-txt" }, t('createPost.askDoctor.description')))),
|
|
3957
|
+
React__default.createElement(StyleSwitchButton, { value: isAskDoctor, onChange: (val) => {
|
|
3958
|
+
setIsAskDoctor(val);
|
|
3959
|
+
}, className: isMarryBaby ? 'segmented-marry-baby' : '', data: [
|
|
3960
|
+
{
|
|
3961
|
+
label: t('createPost.askDoctorChoice.yes'),
|
|
3962
|
+
value: 'true',
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
label: t('createPost.askDoctorChoice.no'),
|
|
3966
|
+
value: 'false',
|
|
3967
|
+
},
|
|
3968
|
+
] })),
|
|
3969
|
+
error && (error === null || error === void 0 ? void 0 : error.askDoctor) && (React__default.createElement("div", { className: "error-choice-question" }, error.askDoctor)))),
|
|
3882
3970
|
error && (error === null || error === void 0 ? void 0 : error.description) && (React__default.createElement(StyledError, { style: { margin: '4px 0 0' } },
|
|
3883
3971
|
React__default.createElement(Text, { size: "p5", as: "span", color: theme.colors.red600 }, error.description)))) })),
|
|
3884
3972
|
stepPost === 'step_community' && (React__default.createElement(CreatePostCommunity, { communitiesList: communitiesList, currentCommunity: currentCommunity, selectedTopics: selectedTopics, communityValue: communityValue, defaultCommunity: forceSelectCommunity, error: error, isFullscreen: false, isMarryBaby: isMarryBaby, isInEditMode: isInEditMode, isLoadingSuggest: isLoadingSuggest, setSelectedTopics: setSelectedTopics, setCommunityValue: setCommunityValue, removeKeyError: removeKeyError, setStepPost: setStepPost, onSubmitPost: submitPost })),
|
|
@@ -3889,11 +3977,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3889
3977
|
validationUploadPhoto(data);
|
|
3890
3978
|
} }),
|
|
3891
3979
|
React__default.createElement("div", { className: "action-wrapper" },
|
|
3892
|
-
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 },
|
|
3893
|
-
/* {isInEditMode
|
|
3894
|
-
? t('createPost.popup.submit')
|
|
3895
|
-
: t('onboarding.button.continue')} */
|
|
3896
|
-
t('createPost.popup.submit'))))));
|
|
3980
|
+
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 || isLoadingSubmit, disabled: isLoadingSuggest || isLoadingSubmit }, t('createPost.popup.submit'))))));
|
|
3897
3981
|
};
|
|
3898
3982
|
|
|
3899
3983
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-af07834a.js';
|
|
2
2
|
import React__default, { createContext, useContext, useState, useMemo, useEffect } from 'react';
|
|
3
3
|
import { Controller, useForm } from 'react-hook-form';
|
|
4
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
5
|
-
import { H as HEALTH_TOOL_TYPE } from './constants-
|
|
6
|
-
import { G as GenderOptionControl } from './index-
|
|
7
|
-
import { I as Input } from './index-
|
|
4
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-0f086cfb.js';
|
|
5
|
+
import { H as HEALTH_TOOL_TYPE } from './constants-a04ae0ad.js';
|
|
6
|
+
import { G as GenderOptionControl } from './index-a9d62691.js';
|
|
7
|
+
import { I as Input } from './index-b0bc8bce.js';
|
|
8
8
|
import '@mantine/core';
|
|
9
9
|
import '@mantine/dates';
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './useMantineLocale-
|
|
14
|
-
import { T as Text } from './index-
|
|
15
|
-
import './index-
|
|
10
|
+
import './index-f9a28c00.js';
|
|
11
|
+
import './index-2602e818.js';
|
|
12
|
+
import './index-d845405b.js';
|
|
13
|
+
import './useMantineLocale-6e80edb8.js';
|
|
14
|
+
import { T as Text } from './index-a97159b8.js';
|
|
15
|
+
import './index-0ccc180b.js';
|
|
16
16
|
import { theme } from './miscTheme.js';
|
|
17
|
-
import './index.styles-
|
|
18
|
-
import { u as useTranslations } from './index-
|
|
17
|
+
import './index.styles-1b69a5e7.js';
|
|
18
|
+
import { u as useTranslations } from './index-c59e0798.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import './utils-
|
|
21
|
-
import './other-
|
|
22
|
-
import './index-
|
|
23
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
20
|
+
import './utils-ce480e41.js';
|
|
21
|
+
import './other-b1b4b57a.js';
|
|
22
|
+
import './index-39ee94a7.js';
|
|
23
|
+
import { H as HealthToolFormWrapper } from './index-cf80235f.js';
|
|
24
24
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
25
25
|
import { getBmi } from './embeddedHeathToolCards_helpers.js';
|
|
26
26
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-af07834a.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-0ccc180b.js';
|
|
6
|
+
import { T as Text } from './index-a97159b8.js';
|
|
7
7
|
|
|
8
8
|
var useStyles = createStyles((theme, params) => {
|
|
9
9
|
const { variant } = params;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-af07834a.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { M as MediaQueries } from './utils-
|
|
4
|
+
import { M as MediaQueries } from './utils-ce480e41.js';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
|
-
import { L as Label, S as StyledDisplayIcon, a as StyledActionIcon, b as StyledErrorLabel } from './index-
|
|
6
|
+
import { L as Label, S as StyledDisplayIcon, a as StyledActionIcon, b as StyledErrorLabel } from './index-4f6de345.js';
|
|
7
7
|
|
|
8
8
|
const StyledInput = styled.div `
|
|
9
9
|
position: relative;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useTranslations } from './index-
|
|
3
|
-
import { B as Button } from './index-
|
|
2
|
+
import { u as useTranslations } from './index-c59e0798.js';
|
|
3
|
+
import { B as Button } from './index-12b4a7ca.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"PD6nRZX"};
|
|
6
6
|
|