@hhgtech/hhg-components 1.29.395-beta-1 → 1.29.396
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-e62f0fbf.js → InputDate-87c0ebb8.js} +7 -17
- package/build/{LastPeriod-43148a90.js → LastPeriod-fea79cc1.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1216c019.js → MobileBottomNavigationIcon-6033022a.js} +3 -3
- package/build/{Spinner-b104cc30.js → Spinner-6fc329d5.js} +1 -1
- package/build/{WhatsApp-e593e7bf.js → WhatsApp-c66b98f0.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +55 -54
- 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 +0 -7
- package/build/components.js +147 -146
- package/build/{constants-3850cac0.js → constants-5aaf7ea1.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-e53794bc.js → core-adb66af1.js} +1 -1
- package/build/{dataTransform-5686620b.js → dataTransform-f81e2533.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-86f3dfc9.js → editor-16ae9ec5.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-1553c055.js → InputDate-95582cb9.js} +7 -17
- package/build/esm/{LastPeriod-0104e6c1.js → LastPeriod-6bd7ad93.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-93ae3db5.js → MobileBottomNavigationIcon-b87f8b35.js} +3 -3
- package/build/esm/{Spinner-ed0c73b0.js → Spinner-a9620d7f.js} +1 -1
- package/build/esm/{WhatsApp-f41b6eef.js → WhatsApp-9e19b7fb.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +54 -53
- 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 +0 -7
- package/build/esm/components.js +103 -102
- package/build/esm/{constants-23f18af2.js → constants-a5b1bd3d.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-6cda26ea.js → core-b54de4ea.js} +1 -1
- package/build/esm/{dataTransform-0d073215.js → dataTransform-192c6c28.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-3fe49f37.js → editor-c3bfd985.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-ac84543d.js → healthTools-4f489b7e.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 +0 -1
- package/build/esm/i18n-values/hi-IN.js +0 -1
- package/build/esm/i18n-values/id-ID.js +0 -1
- package/build/esm/i18n-values/km-KH.js +0 -1
- package/build/esm/i18n-values/ms-MY.js +0 -1
- package/build/esm/i18n-values/my-MM.js +0 -1
- package/build/esm/i18n-values/th-TH.js +0 -1
- package/build/esm/i18n-values/tl-PH.js +0 -1
- package/build/esm/i18n-values/vi-VN.js +0 -1
- package/build/esm/i18n-values/vi-VN_MB.js +0 -1
- package/build/esm/i18n-values/zh-CN.js +0 -1
- package/build/esm/i18n-values/zh-TW.js +0 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-7d9627c2.js → index-02a71e66.js} +31 -31
- package/build/esm/{index-df61f2c3.js → index-03e245b2.js} +18 -18
- package/build/esm/{index-aa9186ea.js → index-119711b9.js} +2 -2
- package/build/esm/{index-dd143d38.js → index-11c03693.js} +13 -13
- package/build/esm/{index-0149a64b.js → index-140dcfdc.js} +21 -21
- package/build/esm/{index-4d329365.js → index-169105b8.js} +6 -6
- package/build/esm/{index-a19ee0ac.js → index-1f219095.js} +2 -2
- package/build/esm/{index-c2dc0e06.js → index-2892eb0a.js} +3 -3
- package/build/esm/{index-04c927d4.js → index-2b657776.js} +18 -18
- package/build/esm/{index-6c78c1ae.js → index-2bad4106.js} +17 -17
- package/build/esm/{index-1251f9b9.js → index-2f78ddf9.js} +5 -5
- package/build/esm/{index-077479ff.js → index-3076c7d5.js} +2 -2
- package/build/esm/{index-885a1313.js → index-33433fc2.js} +8 -8
- package/build/esm/{index-36c9694d.js → index-33750331.js} +1 -1
- package/build/esm/{index-9773005e.js → index-376d494b.js} +15 -15
- package/build/esm/{index-43030347.js → index-3851a867.js} +1 -1
- package/build/esm/{index-428f3c47.js → index-3b1aa0b8.js} +3 -3
- package/build/esm/{index-39767118.js → index-3e5d8e7a.js} +13 -13
- package/build/esm/{index-63180095.js → index-45101bb7.js} +17 -17
- package/build/esm/{index-f0a7f449.js → index-46ad822c.js} +1 -1
- package/build/esm/{index-e52c0905.js → index-47f3dddb.js} +17 -17
- package/build/esm/{index-8cbd2ff5.js → index-496904b6.js} +25 -25
- package/build/esm/{index-279cf070.js → index-4ae1a48c.js} +2 -2
- package/build/esm/{index-53b0ed3d.js → index-4f901e4d.js} +1 -1
- package/build/esm/{index-cbc9cb67.js → index-59bd98a3.js} +6 -6
- package/build/esm/{index-b04e0359.js → index-5aebff86.js} +16 -16
- package/build/esm/{index-17dd8dbd.js → index-5f64e4d5.js} +2 -2
- package/build/esm/{index-73d129f9.js → index-5f7999af.js} +3 -3
- package/build/esm/{index-1c605140.js → index-608aa404.js} +10 -10
- package/build/esm/{index-381f5616.js → index-670e69cb.js} +2 -2
- package/build/esm/{index-76a86e22.js → index-8bb32149.js} +2 -2
- package/build/esm/{index-b8b23711.js → index-8d285723.js} +1 -1
- package/build/esm/{index-18e3c303.js → index-912e5964.js} +147 -231
- package/build/esm/{index-fef470a4.js → index-9c40bee4.js} +7 -7
- package/build/esm/{index-d5520b63.js → index-a03cc137.js} +2 -2
- package/build/esm/{index-47086670.js → index-a9f213a6.js} +1 -1
- package/build/esm/{index-5f3af692.js → index-aacbc3ef.js} +3 -3
- package/build/esm/{index-9708aaa7.js → index-adbe75fa.js} +1 -1
- package/build/esm/{index-4fae2209.js → index-b0f23553.js} +7 -7
- package/build/esm/{index-0334ea4a.js → index-b3bde8eb.js} +13 -13
- package/build/esm/index-b951a466.js +118 -0
- package/build/esm/{index-1b537f31.js → index-ba156e99.js} +2 -2
- package/build/esm/{index-1f68338d.js → index-bcfaa0e6.js} +31 -31
- package/build/esm/{index-9d88da4d.js → index-bf6ed587.js} +2 -2
- package/build/esm/{index-b6b83ab9.js → index-c23bc927.js} +6 -6
- package/build/esm/{index-58c3b491.js → index-c3285710.js} +2 -2
- package/build/esm/{index-55cc6503.js → index-c3f0d9a6.js} +3 -3
- package/build/esm/{index-42f98109.js → index-c539556e.js} +16 -16
- package/build/esm/{index-e475f05d.js → index-c60ec065.js} +3 -3
- package/build/esm/{index-44e619f4.js → index-cb56f721.js} +6 -6
- package/build/esm/{index-2b04d070.js → index-d17b8e2c.js} +16 -16
- package/build/esm/{index-18a6f27e.js → index-d34c5e3d.js} +4 -4
- package/build/esm/{index-d1e6d67e.js → index-d39d14e2.js} +2 -2
- package/build/esm/{index-db08a527.js → index-d75c3fb7.js} +22 -22
- package/build/esm/{index-4ea31558.js → index-df117190.js} +2 -2
- package/build/esm/{index-ea2c8e39.js → index-e0d52f7d.js} +7 -120
- package/build/esm/{index-508282be.js → index-ec1bb54b.js} +1 -1
- package/build/esm/{index-baed39b1.js → index-ed2b3f2f.js} +1 -1
- package/build/esm/{index-15aa613c.js → index-f122e041.js} +17 -17
- package/build/esm/{index-127affda.js → index-f437bfc4.js} +16 -16
- package/build/esm/{index-069e3e23.js → index-f5c1e2c9.js} +6 -6
- package/build/esm/{index-70064f9a.js → index-f7ac6a0a.js} +11 -11
- package/build/esm/{index-c513554a.js → index-f89a38f9.js} +24 -24
- package/build/esm/{index-0ef9cc6c.js → index-f8c6adf5.js} +4 -4
- package/build/esm/{index-706a3ca9.js → index-fb95233f.js} +13 -13
- package/build/esm/index.js +119 -118
- package/build/esm/{labelSorting-e642ef05.js → labelSorting-71895de3.js} +4 -4
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -262
- package/build/esm/lead/index.d.ts +1 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +131 -422
- package/build/esm/{logoIcon-ebc2c5d6.js → logoIcon-5b62cfe4.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-d8a7247f.js → post-0526421c.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-d1f06dcb.js → store-99ea3c78.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-c37aa06f.js → surveyThankyouCard-d85babb0.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/index.styled.d.ts +0 -7
- 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-8a453710.js → translationsProvider-81221859.js} +1 -1
- package/build/esm/{treePopoverMenu-42bfb13e.js → treePopoverMenu-01379a96.js} +19 -19
- package/build/esm/{types-91f9131d.js → types-106c6788.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-5997d4d6.js → useCategory-0dcc4c18.js} +5 -5
- package/build/esm/{useHealthToolCache-438c90ac.js → useHealthToolCache-3040ff0e.js} +1 -1
- package/build/esm/{useMantineLocale-fb7ff1d9.js → useMantineLocale-a938a312.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-1c81fe8f.js → usePlacesAutocomplete-b70b7ce0.js} +1 -1
- package/build/esm/{useScreenSize-3290317f.js → useScreenSize-fb33da04.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-0180b196.js → utils-1628a5f4.js} +2 -2
- package/build/esm/{utils-9900d0dd.js → utils-58628779.js} +3 -3
- package/build/esm/{utils-4ef44097.js → utils-8307e0f2.js} +5 -5
- package/build/esm/{utils-3b6f0493.js → utils-b033a48d.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-c233a49b.js → healthTools-ef3f356e.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 +0 -1
- package/build/i18n-values/hi-IN.js +0 -1
- package/build/i18n-values/id-ID.js +0 -1
- package/build/i18n-values/km-KH.js +0 -1
- package/build/i18n-values/ms-MY.js +0 -1
- package/build/i18n-values/my-MM.js +0 -1
- package/build/i18n-values/th-TH.js +0 -1
- package/build/i18n-values/tl-PH.js +0 -1
- package/build/i18n-values/vi-VN.js +0 -1
- package/build/i18n-values/vi-VN_MB.js +0 -1
- package/build/i18n-values/zh-CN.js +0 -1
- package/build/i18n-values/zh-TW.js +0 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-bb6888f7.js → index-010e7c77.js} +11 -11
- package/build/{index-b4f2633f.js → index-02559d27.js} +2 -2
- package/build/{index-5379e57b.js → index-02dab628.js} +1 -1
- package/build/{index-def07ef7.js → index-0579b04b.js} +2 -2
- package/build/{index-fa9a6ba3.js → index-073c424b.js} +1 -1
- package/build/{index-e27391f4.js → index-0c5952a5.js} +2 -2
- package/build/{index-789fe78d.js → index-0d40fbb1.js} +6 -6
- package/build/{index-f3b33d19.js → index-112ee36d.js} +3 -3
- package/build/{index-ab801761.js → index-155eb40c.js} +3 -3
- package/build/{index-4098cb20.js → index-2ad920e4.js} +4 -4
- package/build/{index-636aee2b.js → index-2dc187b5.js} +1 -1
- package/build/{index-6bcff9e1.js → index-31054a1b.js} +24 -24
- package/build/{index-31b3d33d.js → index-32de8260.js} +16 -16
- package/build/{index-3a87b97d.js → index-32ff35c0.js} +17 -17
- package/build/{index-8f278bc1.js → index-35d14d51.js} +2 -2
- package/build/{index-0abd9fa3.js → index-3e936ef5.js} +2 -2
- package/build/{index-e3346786.js → index-3e9a3e81.js} +2 -2
- package/build/{index-8ba92294.js → index-4108e3bd.js} +7 -7
- package/build/{index-0f809839.js → index-41864bfb.js} +2 -2
- package/build/{index-5a215b7a.js → index-421eca75.js} +1 -1
- package/build/{index-9f7da7dd.js → index-4371c483.js} +10 -10
- package/build/{index-7aa8662b.js → index-452f1eb5.js} +1 -1
- package/build/{index-f28090d6.js → index-46a9a7d0.js} +3 -3
- package/build/{index-43bb97ca.js → index-47f90fa7.js} +21 -21
- package/build/{index-b73f3b4c.js → index-489453d0.js} +1 -1
- package/build/{index-207c7948.js → index-4969f8b1.js} +18 -18
- package/build/{index-5f658a6c.js → index-4c660f74.js} +1 -1
- package/build/{index-7f371986.js → index-4c7f641f.js} +13 -13
- package/build/{index-82b3029b.js → index-4eadb6ba.js} +17 -17
- package/build/{index-e93c2584.js → index-559e5501.js} +3 -3
- package/build/{index-8d08243e.js → index-55a8b4bd.js} +2 -2
- package/build/{index-cc175d3e.js → index-55f0a158.js} +16 -16
- package/build/{index-142edff5.js → index-594452e3.js} +2 -2
- package/build/{index-9f2a8a8e.js → index-5f147d35.js} +22 -22
- package/build/{index-bd52577c.js → index-61953c36.js} +2 -2
- package/build/{index-e8768fa3.js → index-643c6e04.js} +1 -1
- package/build/{index-e971c6ee.js → index-67083665.js} +4 -4
- package/build/{index-9764bfbc.js → index-680ab921.js} +25 -25
- package/build/{index-09db3f92.js → index-6ee435b6.js} +17 -17
- package/build/{index-bce76572.js → index-6eed2bd0.js} +6 -6
- package/build/{index-6d256789.js → index-75a9eb0b.js} +31 -31
- package/build/{index-705d1928.js → index-789b8839.js} +18 -18
- package/build/{index-ae5ce599.js → index-7d75fcfc.js} +13 -13
- package/build/{index-c6741fef.js → index-7e08e497.js} +5 -119
- package/build/{index-67c245f1.js → index-9f32ab48.js} +16 -16
- package/build/{index-9a886145.js → index-a44a04cc.js} +6 -6
- package/build/{index-41a346bc.js → index-a7b14ca9.js} +8 -8
- package/build/{index-2af018e5.js → index-a8d0cfdb.js} +2 -2
- package/build/{index-d3cc2ccb.js → index-afc8b11a.js} +17 -17
- package/build/{index-e2309868.js → index-c32c7d30.js} +15 -15
- package/build/{index-b72403a3.js → index-c6008b7f.js} +13 -13
- package/build/{index-acc879d8.js → index-c65f351d.js} +1 -1
- package/build/{index-b107e8fc.js → index-c9f1f650.js} +2 -2
- package/build/index-d139926a.js +125 -0
- package/build/{index-b347ed1e.js → index-d60f043e.js} +31 -31
- package/build/{index-b33e02b1.js → index-d75ddba4.js} +5 -5
- package/build/{index-f63785c8.js → index-d79537c0.js} +16 -16
- package/build/{index-32a0f95c.js → index-d9e7c442.js} +7 -7
- package/build/{index-9b28e4f4.js → index-daac6272.js} +146 -230
- package/build/{index-b37f17ce.js → index-db8fadeb.js} +3 -3
- package/build/{index-14add631.js → index-de153206.js} +3 -3
- package/build/{index-acb17b34.js → index-e8b11e75.js} +6 -6
- package/build/{index-d4188635.js → index-e9a7b940.js} +13 -13
- package/build/{index-6f01f165.js → index-f3df9d5a.js} +2 -2
- package/build/{index-6b28d379.js → index-f7e54e43.js} +6 -6
- package/build/index.js +185 -184
- package/build/{labelSorting-820a7086.js → labelSorting-fdf79870.js} +4 -4
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -262
- package/build/lead/index.d.ts +1 -0
- package/build/lead.css +1 -1
- package/build/lead.js +130 -421
- package/build/{logoIcon-12b02bd0.js → logoIcon-4722afa4.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-51933432.js → post-0950ef7f.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-ebd8c6a4.js → store-b11d784b.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-6b2aaf3b.js → surveyThankyouCard-2b36d7a8.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/index.styled.d.ts +0 -7
- 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-18326a8b.js → translationsProvider-90d21e5c.js} +1 -1
- package/build/{treePopoverMenu-70306fce.js → treePopoverMenu-b79c47b2.js} +19 -19
- package/build/{types-69a6b6ea.js → types-7acb1092.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-f48d2c3c.js → useCategory-7e682543.js} +5 -5
- package/build/{useHealthToolCache-b244ed05.js → useHealthToolCache-ea23d86b.js} +1 -1
- package/build/{useMantineLocale-99980466.js → useMantineLocale-ec184683.js} +6 -6
- package/build/{usePlacesAutocomplete-79482937.js → usePlacesAutocomplete-b1cef70f.js} +1 -1
- package/build/{useScreenSize-5fbe299b.js → useScreenSize-03555d45.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-eed32ac8.js → utils-2d61d335.js} +2 -2
- package/build/{utils-06e8c892.js → utils-406b2205.js} +5 -5
- package/build/{utils-4aaf1964.js → utils-bd12e381.js} +2 -2
- package/build/{utils-dc6e9500.js → utils-ebffddc8.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/lead/LeadGenForm/LeadGenEmpty.d.ts +0 -8
- package/build/esm/lead/icons/NoData.d.ts +0 -3
- package/build/esm/lead/icons/index.d.ts +0 -5
- package/build/esm/together/utils/index.d.ts +0 -1
- package/build/lead/LeadGenForm/LeadGenEmpty.d.ts +0 -8
- package/build/lead/icons/NoData.d.ts +0 -3
- package/build/lead/icons/index.d.ts +0 -5
- package/build/together/utils/index.d.ts +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-72790af1.js → BMI_BOYS.percentile.monthly-8c9db15a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b486291b.js → BMI_BOYS.percentile.weekly-a689769b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-0248a5e4.js → BMI_BOYS.percentile.yearly-e1ebccf8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-55e39000.js → BMI_BOYS.zscore.monthly-7e63d878.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-73b7c836.js → BMI_BOYS.zscore.weekly-07720b7b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-81038fa7.js → BMI_BOYS.zscore.yearly-f7db7131.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1377330d.js → BMI_GIRLS.percentile.monthly-201cb258.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-499fd5bf.js → BMI_GIRLS.percentile.weekly-0ece140c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-cf8a6e55.js → BMI_GIRLS.percentile.yearly-468fe324.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1649ec7e.js → BMI_GIRLS.zscore.monthly-cf26ac1d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-a07a9b93.js → BMI_GIRLS.zscore.weekly-7b93dc72.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-575d684c.js → BMI_GIRLS.zscore.yearly-f874af51.js} +0 -0
- /package/build/{ChevronDown-3e824cd9.js → ChevronDown-bff6582f.js} +0 -0
- /package/build/{Close-855eb49d.js → Close-539a8ab1.js} +0 -0
- /package/build/{Google-f0dfaf1e.js → Google-550c0f4d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-59c90297.js → HEAD CIRCUM_BOYS.percentile.monthly-5a4e8b87.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7d55a6fc.js → HEAD CIRCUM_BOYS.percentile.weekly-1f55d2ba.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1f9b404e.js → HEAD CIRCUM_BOYS.percentile.yearly-e1ef2dc7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-17412ace.js → HEAD CIRCUM_BOYS.zscore.monthly-165874ce.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-cf0f7e5a.js → HEAD CIRCUM_BOYS.zscore.weekly-9cc6d575.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-32e942d6.js → HEAD CIRCUM_BOYS.zscore.yearly-90ed27d1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6e8f0f19.js → HEAD CIRCUM_GIRLS.percentile.monthly-875f0106.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-404f99e0.js → HEAD CIRCUM_GIRLS.percentile.weekly-647840ea.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1b1777d2.js → HEAD CIRCUM_GIRLS.percentile.yearly-17885f9f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5bd7c99d.js → HEAD CIRCUM_GIRLS.zscore.monthly-fcc741aa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b6db8894.js → HEAD CIRCUM_GIRLS.zscore.weekly-d8557fdd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ef455a13.js → HEAD CIRCUM_GIRLS.zscore.yearly-cda06d21.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-50edb434.js → HEIGHT_BOYS.percentile.monthly-23de96e5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-2b17b6d8.js → HEIGHT_BOYS.percentile.weekly-d7fdaee3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-177f5c10.js → HEIGHT_BOYS.percentile.yearly-539c0d26.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-f21ee54a.js → HEIGHT_BOYS.zscore.monthly-ec859f90.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-fcde7a63.js → HEIGHT_BOYS.zscore.weekly-d73df3e0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-49074764.js → HEIGHT_BOYS.zscore.yearly-13c44198.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f9474a23.js → HEIGHT_GIRLS.percentile.monthly-846127be.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a7e46aa6.js → HEIGHT_GIRLS.percentile.weekly-7103bf04.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b2de4c80.js → HEIGHT_GIRLS.percentile.yearly-ba7949c5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-23c363f4.js → HEIGHT_GIRLS.zscore.monthly-2b71db1d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c387fb15.js → HEIGHT_GIRLS.zscore.weekly-ff81a4fc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3810f162.js → HEIGHT_GIRLS.zscore.yearly-c29cf18e.js} +0 -0
- /package/build/{Locale-b8f5a387.js → Locale-7978c9cc.js} +0 -0
- /package/build/{Visible-eecad64f.js → Visible-516f027e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6e74f3b7.js → WEIGHT_BOYS.percentile.monthly-88977b50.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8df5d836.js → WEIGHT_BOYS.percentile.weekly-98331f0b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-97b7554e.js → WEIGHT_BOYS.percentile.yearly-e7945da5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-91fcfca8.js → WEIGHT_BOYS.zscore.monthly-c04658e6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-96a9fcd6.js → WEIGHT_BOYS.zscore.weekly-98b9b101.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a1935d39.js → WEIGHT_BOYS.zscore.yearly-a220a344.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-25cd242a.js → WEIGHT_GIRLS.percentile.monthly-051c5ec2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-ae8e4cd9.js → WEIGHT_GIRLS.percentile.weekly-f58b6b99.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-75d55180.js → WEIGHT_GIRLS.percentile.yearly-4b5240ec.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e1cf40f4.js → WEIGHT_GIRLS.zscore.monthly-e01b1eac.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-d69eadd1.js → WEIGHT_GIRLS.zscore.weekly-a708b96b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7534277d.js → WEIGHT_GIRLS.zscore.yearly-6ed95997.js} +0 -0
- /package/build/{animation-35b9fcf6.js → animation-6a6f59d2.js} +0 -0
- /package/build/{constants-b6fc7357.js → constants-11de5f84.js} +0 -0
- /package/build/{constants-25c3d62c.js → constants-6502967a.js} +0 -0
- /package/build/{constants-b9ae2d14.js → constants-709311e0.js} +0 -0
- /package/build/{dataTransform-705c63a2.js → dataTransform-c89de3b2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0a8cd4eb.js → BMI_BOYS.percentile.monthly-2d868e0c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-52bb0b46.js → BMI_BOYS.percentile.weekly-ac1b69d6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-35c993e4.js → BMI_BOYS.percentile.yearly-602fbd5f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2cedf2c0.js → BMI_BOYS.zscore.monthly-7893698e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-a42b2c9b.js → BMI_BOYS.zscore.weekly-c46ff024.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-162b282d.js → BMI_BOYS.zscore.yearly-232bcb49.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0fea4155.js → BMI_GIRLS.percentile.monthly-e3867d77.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-d801124f.js → BMI_GIRLS.percentile.weekly-e632c7b9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b16dc38b.js → BMI_GIRLS.percentile.yearly-5c5b660b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-1a756b94.js → BMI_GIRLS.zscore.monthly-cffd34cd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-63243988.js → BMI_GIRLS.zscore.weekly-1419f794.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b66e5924.js → BMI_GIRLS.zscore.yearly-bd701532.js} +0 -0
- /package/build/esm/{ChevronDown-3032453f.js → ChevronDown-3b3c3b11.js} +0 -0
- /package/build/esm/{Close-8f71b07f.js → Close-c214dfa7.js} +0 -0
- /package/build/esm/{Google-90d60919.js → Google-afd75689.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ab4cee65.js → HEAD CIRCUM_BOYS.percentile.monthly-bae7c034.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-0d5443d2.js → HEAD CIRCUM_BOYS.percentile.weekly-55e5bf84.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-54419c9e.js → HEAD CIRCUM_BOYS.percentile.yearly-f2bdc060.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-60a0957e.js → HEAD CIRCUM_BOYS.zscore.monthly-77f983fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ec6bdedd.js → HEAD CIRCUM_BOYS.zscore.weekly-811b1a1b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-23f5fbea.js → HEAD CIRCUM_BOYS.zscore.yearly-6fed0fd8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4b13dd05.js → HEAD CIRCUM_GIRLS.percentile.monthly-0c53afce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-df06543c.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e9e04f5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-601281fe.js → HEAD CIRCUM_GIRLS.percentile.yearly-ee3dd4ff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5be0ff2d.js → HEAD CIRCUM_GIRLS.zscore.monthly-bf037d95.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-266e559e.js → HEAD CIRCUM_GIRLS.zscore.weekly-3cfe94a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b814104c.js → HEAD CIRCUM_GIRLS.zscore.yearly-229833dd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-a4cd24c4.js → HEIGHT_BOYS.percentile.monthly-deb1db57.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-38d13a22.js → HEIGHT_BOYS.percentile.weekly-0f0eb34e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-21c0ca98.js → HEIGHT_BOYS.percentile.yearly-af19ac11.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-62656b81.js → HEIGHT_BOYS.zscore.monthly-c77f2195.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-28a3276a.js → HEIGHT_BOYS.zscore.weekly-ea779b14.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-da476e2a.js → HEIGHT_BOYS.zscore.yearly-60bfb51f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-92f5a8dc.js → HEIGHT_GIRLS.percentile.monthly-9f813296.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a224b5d1.js → HEIGHT_GIRLS.percentile.weekly-31a888f2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-a353ff84.js → HEIGHT_GIRLS.percentile.yearly-f5b633ab.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-d1ed6207.js → HEIGHT_GIRLS.zscore.monthly-84fbd8ad.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-5613ba86.js → HEIGHT_GIRLS.zscore.weekly-8563c02b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-847793bb.js → HEIGHT_GIRLS.zscore.yearly-d508d9c2.js} +0 -0
- /package/build/esm/{Locale-ec4e1002.js → Locale-ce7c9574.js} +0 -0
- /package/build/esm/{Visible-2716fbb4.js → Visible-2b74bc97.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c23c4c41.js → WEIGHT_BOYS.percentile.monthly-bcab94ad.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-1a550133.js → WEIGHT_BOYS.percentile.weekly-edc41c40.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8396e159.js → WEIGHT_BOYS.percentile.yearly-1484930e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-a62b43eb.js → WEIGHT_BOYS.zscore.monthly-9db45a44.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cd1ece53.js → WEIGHT_BOYS.zscore.weekly-1a71c413.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7c5b79d8.js → WEIGHT_BOYS.zscore.yearly-c2bc9e67.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-44116a5f.js → WEIGHT_GIRLS.percentile.monthly-2e1c85e0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b059147f.js → WEIGHT_GIRLS.percentile.weekly-74360200.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1ee6d629.js → WEIGHT_GIRLS.percentile.yearly-f34f0558.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9ebde314.js → WEIGHT_GIRLS.zscore.monthly-059ac703.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-34e6efc1.js → WEIGHT_GIRLS.zscore.weekly-e1fb2fd8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-5f97953e.js → WEIGHT_GIRLS.zscore.yearly-77eb5efd.js} +0 -0
- /package/build/esm/{animation-b203862b.js → animation-27d62e38.js} +0 -0
- /package/build/esm/{constants-057fd4cd.js → constants-224a9c9d.js} +0 -0
- /package/build/esm/{constants-a74041e4.js → constants-3cb473c5.js} +0 -0
- /package/build/esm/{constants-e67f0f72.js → constants-ca7208a4.js} +0 -0
- /package/build/esm/{dataTransform-40832a5c.js → dataTransform-7141f77c.js} +0 -0
- /package/build/esm/{index-bee932b6.js → index-16a5ad99.js} +0 -0
- /package/build/esm/{index-e2a020fa.js → index-243017fd.js} +0 -0
- /package/build/esm/{index-e3f6b852.js → index-2e9997c5.js} +0 -0
- /package/build/esm/{index-c61ebdcf.js → index-6ef9420b.js} +0 -0
- /package/build/esm/{index-058364cd.js → index-6f28b547.js} +0 -0
- /package/build/esm/{index-78bf913e.js → index-725acd8e.js} +0 -0
- /package/build/esm/{index-d891c93e.js → index-8ca926b3.js} +0 -0
- /package/build/esm/{index-fb30fd25.js → index-e31e78b8.js} +0 -0
- /package/build/esm/{index.styles-f53b19d1.js → index.styles-d2bdab8c.js} +0 -0
- /package/build/esm/lead/layouts/{emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-f33ccec8.js → localizeNumberFormat-7fbc5ef2.js} +0 -0
- /package/build/esm/{normalizeLink-1f61e04d.js → normalizeLink-2e955111.js} +0 -0
- /package/build/esm/{number-8db6e972.js → number-2c21651a.js} +0 -0
- /package/build/esm/{other-151ba865.js → other-9f3029ec.js} +0 -0
- /package/build/esm/{paths-1fb9b402.js → paths-badc1b3b.js} +0 -0
- /package/build/esm/{translationsContext-078f4bce.js → translationsContext-8059f988.js} +0 -0
- /package/build/esm/{tslib.es6-cc2b1f1a.js → tslib.es6-920542f4.js} +0 -0
- /package/build/esm/{types-4d16622e.js → types-d19dcc16.js} +0 -0
- /package/build/esm/{useIsInit-ced39181.js → useIsInit-80a86f68.js} +0 -0
- /package/build/esm/{useOutsideClick-57e18713.js → useOutsideClick-ee68528a.js} +0 -0
- /package/build/esm/{useScrollbarSize-07aea30b.js → useScrollbarSize-a550eea1.js} +0 -0
- /package/build/esm/{useUniqueId-c2d294ab.js → useUniqueId-c8370483.js} +0 -0
- /package/build/esm/{utils-9afaae83.js → utils-2369b642.js} +0 -0
- /package/build/{index-96877805.js → index-1f64a5dc.js} +0 -0
- /package/build/{index-cf819585.js → index-55b1bfa8.js} +0 -0
- /package/build/{index-45080e74.js → index-6625747d.js} +0 -0
- /package/build/{index-3f2f103a.js → index-6d1e1360.js} +0 -0
- /package/build/{index-894919bd.js → index-6f22b55e.js} +0 -0
- /package/build/{index-4ee46b39.js → index-8223092b.js} +0 -0
- /package/build/{index-30b2e900.js → index-a200e69c.js} +0 -0
- /package/build/{index-fb4a8bf4.js → index-c895266c.js} +0 -0
- /package/build/{index.styles-21658314.js → index.styles-e555d060.js} +0 -0
- /package/build/lead/layouts/{emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-98fa2753.js → localizeNumberFormat-cbba4877.js} +0 -0
- /package/build/{normalizeLink-934a55b3.js → normalizeLink-4008bb97.js} +0 -0
- /package/build/{number-bb4f223b.js → number-2bb6487c.js} +0 -0
- /package/build/{other-33d23086.js → other-3d614c90.js} +0 -0
- /package/build/{paths-140e0351.js → paths-e0e4a30a.js} +0 -0
- /package/build/{translationsContext-3d977833.js → translationsContext-ae3c7cbc.js} +0 -0
- /package/build/{tslib.es6-3ddaabc8.js → tslib.es6-bd4b6f69.js} +0 -0
- /package/build/{types-a9f77eea.js → types-160c4161.js} +0 -0
- /package/build/{useIsInit-ac4c1541.js → useIsInit-6ed13d1d.js} +0 -0
- /package/build/{useOutsideClick-75d3c88b.js → useOutsideClick-0864ce66.js} +0 -0
- /package/build/{useScrollbarSize-b1dd5456.js → useScrollbarSize-7c9c913d.js} +0 -0
- /package/build/{useUniqueId-bd26a862.js → useUniqueId-3ad4fe36.js} +0 -0
- /package/build/{utils-7582dd72.js → utils-e56bcd6e.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-920542f4.js';
|
|
2
2
|
import React__default, { useContext, useState } from 'react';
|
|
3
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './utils-58628779.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-920542f4.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { Spoiler as Spoiler$1 } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-ba156e99.js';
|
|
5
|
+
import { u as useTranslations } from './index-a9f213a6.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
7
|
|
|
8
8
|
const Spoiler = (_a) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React__default, { useState, useMemo } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-f7ac6a0a.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { _ as __rest } from './tslib.es6-
|
|
8
|
-
import { V as VIDEO_DETAIL_TEMP_STORAGE } from './index-
|
|
9
|
-
import { V as VideoType } from './index-
|
|
5
|
+
import { T as Text } from './index-ba156e99.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-16a5ad99.js';
|
|
7
|
+
import { _ as __rest } from './tslib.es6-920542f4.js';
|
|
8
|
+
import { V as VIDEO_DETAIL_TEMP_STORAGE } from './index-3076c7d5.js';
|
|
9
|
+
import { V as VideoType } from './index-ed2b3f2f.js';
|
|
10
10
|
import { createStyles, Stack, Box, AspectRatio, getStylesRef, rem, Flex } from '@mantine/core';
|
|
11
|
-
import { a as abbreviateNumber } from './number-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
11
|
+
import { a as abbreviateNumber } from './number-2c21651a.js';
|
|
12
|
+
import { u as useTranslations } from './index-a9f213a6.js';
|
|
13
13
|
import { useOs } from '@mantine/hooks';
|
|
14
|
-
import { M as Modal } from './index-
|
|
15
|
-
import { S as SocialLinkPreview } from './index-
|
|
14
|
+
import { M as Modal } from './index-8bb32149.js';
|
|
15
|
+
import { S as SocialLinkPreview } from './index-59bd98a3.js';
|
|
16
16
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
17
17
|
|
|
18
18
|
const ALLOW_DOMAIN_URL = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import { B as Button } from './index-bf6ed587.js';
|
|
3
|
+
import { u as useTranslations } from './index-a9f213a6.js';
|
|
4
4
|
import { keyframes } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-920542f4.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Modal as Modal$1 } from '@mantine/core';
|
|
4
|
-
import { u as useStyles } from './index.styles-
|
|
4
|
+
import { u as useStyles } from './index.styles-d2bdab8c.js';
|
|
5
5
|
|
|
6
6
|
const Modal = (_a) => {
|
|
7
7
|
var { styles, classNames, transitionProps } = _a, rest = __rest(_a, ["styles", "classNames", "transitionProps"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { theme } from './miscTheme.js';
|
|
4
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
4
|
+
import { I as ImageWrap } from './useScreenSize-fb33da04.js';
|
|
5
5
|
|
|
6
6
|
const StyledAvatar = styled.div `
|
|
7
7
|
background-color: var(--background-color, transparent);
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-920542f4.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-e31e78b8.js';
|
|
5
|
+
import { u as useTranslations } from './index-a9f213a6.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-f7ac6a0a.js';
|
|
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-3076c7d5.js';
|
|
12
|
+
import './index-ed2b3f2f.js';
|
|
13
|
+
import './index-16a5ad99.js';
|
|
14
|
+
import './useMantineLocale-a938a312.js';
|
|
15
|
+
import { T as Text } from './index-ba156e99.js';
|
|
16
|
+
import { B as Button } from './index-3851a867.js';
|
|
17
|
+
import './index.styles-d2bdab8c.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-2369b642.js';
|
|
20
|
+
import './other-9f3029ec.js';
|
|
21
|
+
import './index-3b1aa0b8.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-f122e041.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-58628779.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-192c6c28.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-ca7208a4.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-0526421c.js';
|
|
28
|
+
import { C as CardAuthor } from './index-5aebff86.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-c3bfd985.js';
|
|
30
|
+
import { I as Input } from './index-119711b9.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-c3285710.js';
|
|
35
|
+
import { C as CardLink } from './index-2f78ddf9.js';
|
|
36
|
+
import { B as BtnChoice } from './index-ec1bb54b.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-ce7c9574.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-670e69cb.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-c23bc927.js';
|
|
41
|
+
import { B as Button$1 } from './index-bf6ed587.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-c8370483.js';
|
|
44
|
+
import { U as UserAvatar } from './index-5f64e4d5.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-1f219095.js';
|
|
46
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
47
47
|
|
|
48
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1358,11 +1358,6 @@ 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
|
-
|
|
1366
1361
|
const StyleContainer$2 = styled.div ``;
|
|
1367
1362
|
const StyleContentWrapper$1 = styled.div `
|
|
1368
1363
|
display: flex;
|
|
@@ -3030,7 +3025,8 @@ const StyledIsQuestion = styled.div `
|
|
|
3030
3025
|
width: 100%;
|
|
3031
3026
|
align-items: center;
|
|
3032
3027
|
justify-content: space-between;
|
|
3033
|
-
|
|
3028
|
+
padding: 12px;
|
|
3029
|
+
border-radius: 0 0 8px 8px;
|
|
3034
3030
|
background: ${theme.colors.neutral50};
|
|
3035
3031
|
gap: 12px;
|
|
3036
3032
|
|
|
@@ -3225,13 +3221,10 @@ const StyleSessionRow = styled.div `
|
|
|
3225
3221
|
}
|
|
3226
3222
|
`;
|
|
3227
3223
|
const StyledIsQuestionWrapper = styled.div `
|
|
3228
|
-
padding:
|
|
3224
|
+
padding: 8px 8px;
|
|
3225
|
+
border: 1px solid ${theme.colors.gray200};
|
|
3229
3226
|
border-top: none;
|
|
3230
|
-
border-radius:
|
|
3231
|
-
background: ${theme.colors.neutral50};
|
|
3232
|
-
display: flex;
|
|
3233
|
-
flex-direction: column;
|
|
3234
|
-
gap: 8px;
|
|
3227
|
+
border-radius: 0 0 8px 8px;
|
|
3235
3228
|
&.has-error {
|
|
3236
3229
|
border: 1px solid ${theme.colors.red600};
|
|
3237
3230
|
}
|
|
@@ -3261,85 +3254,6 @@ const StyleActionFooter = styled.div `
|
|
|
3261
3254
|
.input-group {
|
|
3262
3255
|
margin-bottom: 0 !important;
|
|
3263
3256
|
}
|
|
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
|
-
}
|
|
3343
3257
|
`;
|
|
3344
3258
|
|
|
3345
3259
|
const CreatePostPhotos = ({ imageFiles: imageFilesInit, setImageFiles, }) => {
|
|
@@ -3510,10 +3424,12 @@ const applySpecialCharSite = [
|
|
|
3510
3424
|
];
|
|
3511
3425
|
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3512
3426
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3513
|
-
const { data: { locale
|
|
3427
|
+
const { data: { locale,
|
|
3428
|
+
// env: { togetherBasePath },
|
|
3429
|
+
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3514
3430
|
const { t } = useTranslations();
|
|
3515
3431
|
const containerRef = useRef(null);
|
|
3516
|
-
const [isAskDoctor, setIsAskDoctor] = useState(
|
|
3432
|
+
const [isAskDoctor, setIsAskDoctor] = useState(false);
|
|
3517
3433
|
const [specialCharErr, setspecialCharErr] = useState(false);
|
|
3518
3434
|
const [titleValue, setTitleValue] = useState('');
|
|
3519
3435
|
const [descriptionValue, setDescriptionValue] = useState('');
|
|
@@ -3538,7 +3454,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3538
3454
|
const [stepPost, setStepPost] = useState('step_info');
|
|
3539
3455
|
const [isLoadingSuggest, setIsLoadingSuggest] = useState(false);
|
|
3540
3456
|
const [uncategorizedId, setUncategorizedId] = useState('');
|
|
3541
|
-
const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);
|
|
3542
3457
|
const postActionType = [
|
|
3543
3458
|
{
|
|
3544
3459
|
label: t('cardPost.public'),
|
|
@@ -3561,11 +3476,18 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3561
3476
|
} })),
|
|
3562
3477
|
},
|
|
3563
3478
|
];
|
|
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])
|
|
3564
3487
|
const currentCommunity = forceSelectCommunity ||
|
|
3565
3488
|
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3566
3489
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3567
3490
|
useEffect(() => {
|
|
3568
|
-
var _a;
|
|
3569
3491
|
if (editPostData) {
|
|
3570
3492
|
const post = editPostData;
|
|
3571
3493
|
setTitleValue(post.title || '');
|
|
@@ -3574,8 +3496,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3574
3496
|
label: post.community.name,
|
|
3575
3497
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3576
3498
|
});
|
|
3499
|
+
// setSelectedTopics(post.topics || [])
|
|
3577
3500
|
setImageFiles(post.photos || []);
|
|
3578
|
-
setIsAskDoctor(
|
|
3501
|
+
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3579
3502
|
}
|
|
3580
3503
|
else {
|
|
3581
3504
|
if (defaultCommunity) {
|
|
@@ -3584,6 +3507,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3584
3507
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3585
3508
|
});
|
|
3586
3509
|
}
|
|
3510
|
+
// if (defaultTopics) {
|
|
3511
|
+
// setSelectedTopics(defaultTopics)
|
|
3512
|
+
// }
|
|
3587
3513
|
}
|
|
3588
3514
|
}, []);
|
|
3589
3515
|
useEffect(() => {
|
|
@@ -3667,10 +3593,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3667
3593
|
});
|
|
3668
3594
|
hasError = true;
|
|
3669
3595
|
}
|
|
3670
|
-
if (!isAskDoctor) {
|
|
3671
|
-
errorMessage.askDoctor = t('createPost.message.askDoctor');
|
|
3672
|
-
hasError = true;
|
|
3673
|
-
}
|
|
3674
3596
|
if (imageFiles && imageFiles.length > 10) {
|
|
3675
3597
|
errorMessage.photos = t('createPost.message.photoMaxium');
|
|
3676
3598
|
hasError = true;
|
|
@@ -3711,92 +3633,94 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3711
3633
|
console.log(topicsList);
|
|
3712
3634
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3713
3635
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3636
|
+
const isError = validationPost();
|
|
3637
|
+
if (isError)
|
|
3638
|
+
return;
|
|
3639
|
+
const bodyFormData = yield getPostFormData({
|
|
3640
|
+
title: titleValue,
|
|
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
|
+
});
|
|
3719
3666
|
}
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
imageFiles,
|
|
3725
|
-
previewUrl,
|
|
3726
|
-
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3667
|
+
}
|
|
3668
|
+
else {
|
|
3669
|
+
res = yield createPost({
|
|
3670
|
+
formData: bodyFormData,
|
|
3727
3671
|
locale,
|
|
3728
|
-
|
|
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: '',
|
|
3672
|
+
isArticleComment: true,
|
|
3734
3673
|
});
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3674
|
+
}
|
|
3675
|
+
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3676
|
+
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)) {
|
|
3677
|
+
// const params = `action=${
|
|
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',
|
|
3689
|
+
});
|
|
3690
|
+
onCreateEditSuccess(resData);
|
|
3691
|
+
}
|
|
3692
|
+
else {
|
|
3693
|
+
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') {
|
|
3694
|
+
pushNotifications({
|
|
3695
|
+
title: t('notification.post.blocked.title'),
|
|
3696
|
+
message: t('notification.post.blocked.message'),
|
|
3697
|
+
type: 'danger',
|
|
3698
|
+
});
|
|
3699
|
+
if (res.messages.moderation.words) {
|
|
3700
|
+
setBannedWords(res.messages.moderation.words);
|
|
3747
3701
|
}
|
|
3748
3702
|
}
|
|
3749
|
-
else {
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3703
|
+
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') {
|
|
3704
|
+
pushNotifications({
|
|
3705
|
+
title: t('notification.post.suspect.title'),
|
|
3706
|
+
message: t('notification.post.suspect.message'),
|
|
3707
|
+
type: 'warning',
|
|
3754
3708
|
});
|
|
3709
|
+
onClose && onClose();
|
|
3755
3710
|
}
|
|
3756
|
-
|
|
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)) {
|
|
3711
|
+
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')); })) {
|
|
3758
3712
|
pushNotifications({
|
|
3759
|
-
message:
|
|
3760
|
-
|
|
3761
|
-
: t('createPost.popup.success'),
|
|
3762
|
-
type: 'success',
|
|
3713
|
+
message: t('notification.suspend.message'),
|
|
3714
|
+
type: 'danger',
|
|
3763
3715
|
});
|
|
3764
|
-
|
|
3716
|
+
onClose && onClose();
|
|
3765
3717
|
}
|
|
3766
3718
|
else {
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
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
|
-
}
|
|
3719
|
+
pushNotifications({
|
|
3720
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3721
|
+
type: 'danger',
|
|
3722
|
+
});
|
|
3798
3723
|
}
|
|
3799
|
-
setIsLoadingSubmit(false);
|
|
3800
3724
|
}
|
|
3801
3725
|
});
|
|
3802
3726
|
const getFirstOrderErroKey = (orderKey) => {
|
|
@@ -3833,7 +3757,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3833
3757
|
return;
|
|
3834
3758
|
}
|
|
3835
3759
|
submitPost();
|
|
3836
|
-
// TODO: Current hard to keep AI suggest community
|
|
3837
3760
|
if (stepPost)
|
|
3838
3761
|
return;
|
|
3839
3762
|
if (isInEditMode) {
|
|
@@ -3934,39 +3857,28 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3934
3857
|
zIndex: 10,
|
|
3935
3858
|
width: 'calc(100% + 20px)',
|
|
3936
3859
|
} })))),
|
|
3937
|
-
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder:
|
|
3860
|
+
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: isAskDoctor
|
|
3938
3861
|
? t('createPost.post.askDoctor.title')
|
|
3939
3862
|
: t('createPost.post.title'), onChange: setTitleValue }),
|
|
3940
3863
|
specialCharErr && (React__default.createElement(StyledError, null,
|
|
3941
3864
|
React__default.createElement(Info, { isSolid: true, color: theme.colors.red700, size: 14 }),
|
|
3942
3865
|
React__default.createElement(Text, { size: "p3", as: "span", color: theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
|
|
3943
3866
|
React__default.createElement("div", { className: "input-group" },
|
|
3944
|
-
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder:
|
|
3867
|
+
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: isAskDoctor
|
|
3945
3868
|
? t('createPost.post.askDoctor.description')
|
|
3946
3869
|
: t('createPost.post.description'), onChange: (v) => {
|
|
3947
3870
|
setDescriptionValue(v);
|
|
3948
3871
|
removeKeyError('description');
|
|
3949
3872
|
}, 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,
|
|
3950
|
-
React__default.createElement(
|
|
3951
|
-
React__default.createElement(
|
|
3952
|
-
React__default.createElement(
|
|
3953
|
-
React__default.createElement(
|
|
3954
|
-
|
|
3955
|
-
React__default.createElement("div", { className: "
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
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)))),
|
|
3873
|
+
React__default.createElement(StyledIsQuestionWrapper, { className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}` },
|
|
3874
|
+
React__default.createElement(StyledIsQuestion, { color: theme.colors.primaryBase },
|
|
3875
|
+
React__default.createElement("div", { className: "switch-label" },
|
|
3876
|
+
React__default.createElement(Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.colors.primaryBase, className: "label-icon" }),
|
|
3877
|
+
React__default.createElement("div", { className: "wrapper-text" },
|
|
3878
|
+
React__default.createElement("div", { className: "label-txt" }, t('createPost.askDoctor.description')))),
|
|
3879
|
+
React__default.createElement(Switch, { checked: isAskDoctor, label: "", className: "switch-btn", size: "md", onChange: (v) => {
|
|
3880
|
+
setIsAskDoctor(v.target.checked);
|
|
3881
|
+
} }))),
|
|
3970
3882
|
error && (error === null || error === void 0 ? void 0 : error.description) && (React__default.createElement(StyledError, { style: { margin: '4px 0 0' } },
|
|
3971
3883
|
React__default.createElement(Text, { size: "p5", as: "span", color: theme.colors.red600 }, error.description)))) })),
|
|
3972
3884
|
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 })),
|
|
@@ -3977,7 +3889,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3977
3889
|
validationUploadPhoto(data);
|
|
3978
3890
|
} }),
|
|
3979
3891
|
React__default.createElement("div", { className: "action-wrapper" },
|
|
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
|
|
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'))))));
|
|
3981
3897
|
};
|
|
3982
3898
|
|
|
3983
3899
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-920542f4.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-ed2b3f2f.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { C as CommonGAssets } from './index-16a5ad99.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import { L as LOCALE } from './Locale-
|
|
10
|
-
import { c as CentralCarousel } from './index-
|
|
7
|
+
import { I as ImageWrap } from './useScreenSize-fb33da04.js';
|
|
8
|
+
import { T as Text } from './index-fb95233f.js';
|
|
9
|
+
import { L as LOCALE } from './Locale-ce7c9574.js';
|
|
10
|
+
import { c as CentralCarousel } from './index-f7ac6a0a.js';
|
|
11
11
|
|
|
12
12
|
const StyledIconContainer = styled.div `
|
|
13
13
|
display: inline-flex;
|
|
@@ -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-a9f213a6.js';
|
|
3
|
+
import { B as Button } from './index-bf6ed587.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"PD6nRZX"};
|
|
6
6
|
|