@hhgtech/hhg-components 1.29.394 → 1.29.395-beta-1
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-8e82bf5a.js → InputDate-e62f0fbf.js} +17 -7
- package/build/{LastPeriod-4ab727c9.js → LastPeriod-43148a90.js} +1 -1
- package/build/{MobileBottomNavigationIcon-79a42183.js → MobileBottomNavigationIcon-1216c019.js} +3 -3
- package/build/{Spinner-000ecf77.js → Spinner-b104cc30.js} +1 -1
- package/build/{WhatsApp-04875d21.js → WhatsApp-e593e7bf.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-474fc244.js → constants-3850cac0.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-faa757fd.js → core-e53794bc.js} +1 -1
- package/build/{dataTransform-1061a5ea.js → dataTransform-5686620b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-6a0a6e2f.js → editor-86f3dfc9.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-b7fe7f4d.js → InputDate-1553c055.js} +17 -7
- package/build/esm/{LastPeriod-9d8ed53c.js → LastPeriod-0104e6c1.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-3dcb1dc0.js → MobileBottomNavigationIcon-93ae3db5.js} +3 -3
- package/build/esm/{Spinner-b38c10b5.js → Spinner-ed0c73b0.js} +1 -1
- package/build/esm/{WhatsApp-b02437c3.js → WhatsApp-f41b6eef.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-619af979.js → constants-23f18af2.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-50035003.js → core-6cda26ea.js} +1 -1
- package/build/esm/{dataTransform-5ba4eb98.js → dataTransform-0d073215.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-127b6020.js → editor-3fe49f37.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-167246e3.js → healthTools-ac84543d.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 +1 -0
- package/build/esm/i18n-values/hi-IN.js +1 -0
- package/build/esm/i18n-values/id-ID.js +1 -0
- package/build/esm/i18n-values/km-KH.js +1 -0
- package/build/esm/i18n-values/ms-MY.js +1 -0
- package/build/esm/i18n-values/my-MM.js +1 -0
- package/build/esm/i18n-values/th-TH.js +1 -0
- package/build/esm/i18n-values/tl-PH.js +1 -0
- package/build/esm/i18n-values/vi-VN.js +1 -0
- package/build/esm/i18n-values/vi-VN_MB.js +1 -0
- package/build/esm/i18n-values/zh-CN.js +1 -0
- package/build/esm/i18n-values/zh-TW.js +1 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-ca5eeb79.js → index-0149a64b.js} +21 -21
- package/build/esm/{index-f54ec412.js → index-0334ea4a.js} +13 -13
- package/build/esm/{index-15af951e.js → index-04c927d4.js} +18 -18
- package/build/esm/{index-e1e7d495.js → index-069e3e23.js} +6 -6
- package/build/esm/{index-fdfff334.js → index-077479ff.js} +2 -2
- package/build/esm/{index-284bb968.js → index-0ef9cc6c.js} +4 -4
- package/build/esm/{index-adfaf095.js → index-1251f9b9.js} +5 -5
- package/build/esm/{index-b1ef7138.js → index-127affda.js} +16 -16
- package/build/esm/{index-6a5739b6.js → index-15aa613c.js} +17 -17
- package/build/esm/{index-a2dc4177.js → index-17dd8dbd.js} +2 -2
- package/build/esm/{index-904e06af.js → index-18a6f27e.js} +4 -4
- package/build/esm/{index-2d4417e7.js → index-18e3c303.js} +231 -147
- package/build/esm/{index-7e30c984.js → index-1b537f31.js} +2 -2
- package/build/esm/{index-5a1a1f15.js → index-1c605140.js} +10 -10
- package/build/esm/{index-c419897d.js → index-1f68338d.js} +31 -31
- package/build/esm/{index-6c5615bb.js → index-279cf070.js} +2 -2
- package/build/esm/{index-5b8d84a3.js → index-2b04d070.js} +16 -16
- package/build/esm/{index-d934ca67.js → index-36c9694d.js} +1 -1
- package/build/esm/{index-79ea0675.js → index-381f5616.js} +2 -2
- package/build/esm/{index-9dcedb19.js → index-39767118.js} +13 -13
- package/build/esm/{index-e8890aab.js → index-428f3c47.js} +3 -3
- package/build/esm/{index-ee23c178.js → index-42f98109.js} +16 -16
- package/build/esm/{index-720e84e1.js → index-43030347.js} +1 -1
- package/build/esm/{index-2da2f1a3.js → index-44e619f4.js} +6 -6
- package/build/esm/{index-0a81c7b0.js → index-47086670.js} +1 -1
- package/build/esm/{index-dc3d498e.js → index-4d329365.js} +6 -6
- package/build/esm/{index-08de8656.js → index-4ea31558.js} +2 -2
- package/build/esm/{index-32cc1a2f.js → index-4fae2209.js} +7 -7
- package/build/esm/{index-0be3a9bd.js → index-508282be.js} +1 -1
- package/build/esm/{index-368b9016.js → index-53b0ed3d.js} +1 -1
- package/build/esm/{index-9d9e103d.js → index-55cc6503.js} +3 -3
- package/build/esm/{index-a91fc3c4.js → index-58c3b491.js} +2 -2
- package/build/esm/{index-5891e98a.js → index-5f3af692.js} +3 -3
- package/build/esm/{index-7312ab05.js → index-63180095.js} +17 -17
- package/build/esm/{index-62dde679.js → index-6c78c1ae.js} +17 -17
- package/build/esm/{index-f5a70e2a.js → index-70064f9a.js} +11 -11
- package/build/esm/{index-b0cb49dc.js → index-706a3ca9.js} +13 -13
- package/build/esm/{index-c3efe32c.js → index-73d129f9.js} +3 -3
- package/build/esm/{index-fe46e6cf.js → index-76a86e22.js} +2 -2
- package/build/esm/{index-c2bb994c.js → index-7d9627c2.js} +31 -31
- package/build/esm/{index-8bbe7d47.js → index-885a1313.js} +8 -8
- package/build/esm/{index-c272e904.js → index-8cbd2ff5.js} +25 -25
- package/build/esm/{index-289da777.js → index-9708aaa7.js} +1 -1
- package/build/esm/{index-b6023cfc.js → index-9773005e.js} +15 -15
- package/build/esm/{index-9fa7d49a.js → index-9d88da4d.js} +2 -2
- package/build/esm/{index-5e3861ee.js → index-a19ee0ac.js} +2 -2
- package/build/esm/{index-437a2da0.js → index-aa9186ea.js} +2 -2
- package/build/esm/{index-cdd06334.js → index-b04e0359.js} +16 -16
- package/build/esm/{index-d64f69b6.js → index-b6b83ab9.js} +6 -6
- package/build/esm/{index-2f1e301e.js → index-b8b23711.js} +1 -1
- package/build/esm/{index-43efb0e6.js → index-baed39b1.js} +1 -1
- package/build/esm/{index-edf16f2b.js → index-c2dc0e06.js} +3 -3
- package/build/esm/{index-c3366694.js → index-c513554a.js} +24 -24
- package/build/esm/{index-a59a2749.js → index-cbc9cb67.js} +6 -6
- package/build/esm/{index-19cfc16c.js → index-d1e6d67e.js} +2 -2
- package/build/esm/{index-39e98d03.js → index-d5520b63.js} +2 -2
- package/build/esm/{index-73ab8435.js → index-db08a527.js} +22 -22
- package/build/esm/{index-9ed7d441.js → index-dd143d38.js} +13 -13
- package/build/esm/{index-869fe0e3.js → index-df61f2c3.js} +18 -18
- package/build/esm/{index-e2fd581d.js → index-e475f05d.js} +3 -3
- package/build/esm/{index-e33f68b3.js → index-e52c0905.js} +17 -17
- package/build/esm/{index-db53e657.js → index-ea2c8e39.js} +120 -7
- package/build/esm/{index-1b662f16.js → index-f0a7f449.js} +1 -1
- package/build/esm/{index-1c059fba.js → index-fef470a4.js} +7 -7
- package/build/esm/index.js +118 -119
- package/build/esm/{labelSorting-75569e6c.js → labelSorting-e642ef05.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.css +1 -1
- package/build/esm/lead.js +421 -129
- package/build/esm/{logoIcon-70d51230.js → logoIcon-ebc2c5d6.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-69e9adce.js → post-d8a7247f.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-1ca28e49.js → store-d1f06dcb.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-fe08f250.js → surveyThankyouCard-c37aa06f.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-b1065104.js → translationsProvider-8a453710.js} +1 -1
- package/build/esm/{treePopoverMenu-4e960e7a.js → treePopoverMenu-42bfb13e.js} +19 -19
- package/build/esm/{types-49fe753c.js → types-91f9131d.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-6244f339.js → useCategory-5997d4d6.js} +5 -5
- package/build/esm/{useHealthToolCache-d6abb452.js → useHealthToolCache-438c90ac.js} +1 -1
- package/build/esm/{useMantineLocale-0b0f2731.js → useMantineLocale-fb7ff1d9.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-37d5a539.js → usePlacesAutocomplete-1c81fe8f.js} +1 -1
- package/build/esm/{useScreenSize-9e779367.js → useScreenSize-3290317f.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-41dde899.js → utils-0180b196.js} +2 -2
- package/build/esm/{utils-45aebbb5.js → utils-3b6f0493.js} +2 -2
- package/build/esm/{utils-5cffa1e7.js → utils-4ef44097.js} +5 -5
- package/build/esm/{utils-66d8de54.js → utils-9900d0dd.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-e3953d3a.js → healthTools-c233a49b.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 +1 -0
- package/build/i18n-values/hi-IN.js +1 -0
- package/build/i18n-values/id-ID.js +1 -0
- package/build/i18n-values/km-KH.js +1 -0
- package/build/i18n-values/ms-MY.js +1 -0
- package/build/i18n-values/my-MM.js +1 -0
- package/build/i18n-values/th-TH.js +1 -0
- package/build/i18n-values/tl-PH.js +1 -0
- package/build/i18n-values/vi-VN.js +1 -0
- package/build/i18n-values/vi-VN_MB.js +1 -0
- package/build/i18n-values/zh-CN.js +1 -0
- package/build/i18n-values/zh-TW.js +1 -0
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-617e477b.js → index-09db3f92.js} +17 -17
- package/build/{index-3d0ab454.js → index-0abd9fa3.js} +2 -2
- package/build/{index-ae60607b.js → index-0f809839.js} +2 -2
- package/build/{index-70ff2cf7.js → index-142edff5.js} +2 -2
- package/build/{index-3226525a.js → index-14add631.js} +3 -3
- package/build/{index-8d4e0ac3.js → index-207c7948.js} +18 -18
- package/build/{index-59633103.js → index-2af018e5.js} +2 -2
- package/build/{index-7a473f50.js → index-31b3d33d.js} +16 -16
- package/build/{index-c017774d.js → index-32a0f95c.js} +7 -7
- package/build/{index-5e699b52.js → index-3a87b97d.js} +17 -17
- package/build/{index-8201ed3e.js → index-4098cb20.js} +4 -4
- package/build/{index-35e92833.js → index-41a346bc.js} +8 -8
- package/build/{index-7b60821c.js → index-43bb97ca.js} +21 -21
- package/build/{index-3e12852d.js → index-5379e57b.js} +1 -1
- package/build/{index-20e043f0.js → index-5a215b7a.js} +1 -1
- package/build/{index-42528cf0.js → index-5f658a6c.js} +1 -1
- package/build/{index-bbc94f57.js → index-636aee2b.js} +1 -1
- package/build/{index-b22fc738.js → index-67c245f1.js} +16 -16
- package/build/{index-a19bb19b.js → index-6b28d379.js} +6 -6
- package/build/{index-255c83ba.js → index-6bcff9e1.js} +24 -24
- package/build/{index-345dd9b6.js → index-6d256789.js} +31 -31
- package/build/{index-4701dded.js → index-6f01f165.js} +2 -2
- package/build/{index-1a569daa.js → index-705d1928.js} +18 -18
- package/build/{index-169d80c9.js → index-789fe78d.js} +6 -6
- package/build/{index-c732fcc2.js → index-7aa8662b.js} +1 -1
- package/build/{index-26a30d68.js → index-7f371986.js} +13 -13
- package/build/{index-c713b3a3.js → index-82b3029b.js} +17 -17
- package/build/{index-1fd4222b.js → index-8ba92294.js} +7 -7
- package/build/{index-243ad9da.js → index-8d08243e.js} +2 -2
- package/build/{index-26296eca.js → index-8f278bc1.js} +2 -2
- package/build/{index-65f3ee3d.js → index-9764bfbc.js} +25 -25
- package/build/{index-dabce54c.js → index-9a886145.js} +6 -6
- package/build/{index-9e288e99.js → index-9b28e4f4.js} +230 -146
- package/build/{index-90a0d26e.js → index-9f2a8a8e.js} +22 -22
- package/build/{index-731a43a3.js → index-9f7da7dd.js} +10 -10
- package/build/{index-b5dd4048.js → index-ab801761.js} +3 -3
- package/build/{index-bca9d3d7.js → index-acb17b34.js} +6 -6
- package/build/{index-d63e4f30.js → index-acc879d8.js} +1 -1
- package/build/{index-aa38438a.js → index-ae5ce599.js} +13 -13
- package/build/{index-f79a8024.js → index-b107e8fc.js} +2 -2
- package/build/{index-9a8ae3e6.js → index-b33e02b1.js} +5 -5
- package/build/{index-71090d4d.js → index-b347ed1e.js} +31 -31
- package/build/{index-e4b0d587.js → index-b37f17ce.js} +3 -3
- package/build/{index-f2ceb3c8.js → index-b4f2633f.js} +2 -2
- package/build/{index-deb8403e.js → index-b72403a3.js} +13 -13
- package/build/{index-3cda0934.js → index-b73f3b4c.js} +1 -1
- package/build/{index-f263c317.js → index-bb6888f7.js} +11 -11
- package/build/{index-a89462b3.js → index-bce76572.js} +6 -6
- package/build/{index-fbbf6d2f.js → index-bd52577c.js} +2 -2
- package/build/{index-ca358413.js → index-c6741fef.js} +119 -5
- package/build/{index-4de0b264.js → index-cc175d3e.js} +16 -16
- package/build/{index-a2f7d4f8.js → index-d3cc2ccb.js} +17 -17
- package/build/{index-e910dfe4.js → index-d4188635.js} +13 -13
- package/build/{index-96228e3a.js → index-def07ef7.js} +2 -2
- package/build/{index-66b60bfa.js → index-e2309868.js} +15 -15
- package/build/{index-9e77e7a1.js → index-e27391f4.js} +2 -2
- package/build/{index-8f291a7c.js → index-e3346786.js} +2 -2
- package/build/{index-59a808ae.js → index-e8768fa3.js} +1 -1
- package/build/{index-21aacae7.js → index-e93c2584.js} +3 -3
- package/build/{index-b35490bc.js → index-e971c6ee.js} +4 -4
- package/build/{index-36a75886.js → index-f28090d6.js} +3 -3
- package/build/{index-10191988.js → index-f3b33d19.js} +3 -3
- package/build/{index-56a35765.js → index-f63785c8.js} +16 -16
- package/build/{index-11c91018.js → index-fa9a6ba3.js} +1 -1
- package/build/index.js +184 -185
- package/build/{labelSorting-284ed828.js → labelSorting-820a7086.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.css +1 -1
- package/build/lead.js +420 -128
- package/build/{logoIcon-83d1dd5d.js → logoIcon-12b02bd0.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-ca082a3a.js → post-51933432.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-d5112b4a.js → store-ebd8c6a4.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-a01c8780.js → surveyThankyouCard-6b2aaf3b.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-494f179b.js → translationsProvider-18326a8b.js} +1 -1
- package/build/{treePopoverMenu-b0f4098d.js → treePopoverMenu-70306fce.js} +19 -19
- package/build/{types-7189f1e2.js → types-69a6b6ea.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-a3a8ff22.js → useCategory-f48d2c3c.js} +5 -5
- package/build/{useHealthToolCache-0420ea0b.js → useHealthToolCache-b244ed05.js} +1 -1
- package/build/{useMantineLocale-f44904fd.js → useMantineLocale-99980466.js} +6 -6
- package/build/{usePlacesAutocomplete-ee8bd8db.js → usePlacesAutocomplete-79482937.js} +1 -1
- package/build/{useScreenSize-c9c7961e.js → useScreenSize-5fbe299b.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-cfccb859.js → utils-06e8c892.js} +5 -5
- package/build/{utils-38358193.js → utils-4aaf1964.js} +2 -2
- package/build/{utils-9b53afbe.js → utils-dc6e9500.js} +3 -3
- package/build/{utils-7975df4b.js → utils-eed32ac8.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-253ba983.js +0 -118
- package/build/index-1409cada.js +0 -125
- /package/build/{BMI_BOYS.percentile.monthly-8ea82465.js → BMI_BOYS.percentile.monthly-72790af1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-48fc212c.js → BMI_BOYS.percentile.weekly-b486291b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-007958c1.js → BMI_BOYS.percentile.yearly-0248a5e4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-2e762c30.js → BMI_BOYS.zscore.monthly-55e39000.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-7f9803a4.js → BMI_BOYS.zscore.weekly-73b7c836.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3247da5e.js → BMI_BOYS.zscore.yearly-81038fa7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3c4e5ac5.js → BMI_GIRLS.percentile.monthly-1377330d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d1aabbb9.js → BMI_GIRLS.percentile.weekly-499fd5bf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-986890dc.js → BMI_GIRLS.percentile.yearly-cf8a6e55.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a132ec89.js → BMI_GIRLS.zscore.monthly-1649ec7e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-fd9a24ac.js → BMI_GIRLS.zscore.weekly-a07a9b93.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-55d6debc.js → BMI_GIRLS.zscore.yearly-575d684c.js} +0 -0
- /package/build/{ChevronDown-6ccd18f7.js → ChevronDown-3e824cd9.js} +0 -0
- /package/build/{Close-cdd42e51.js → Close-855eb49d.js} +0 -0
- /package/build/{Google-01c4e2d2.js → Google-f0dfaf1e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0ec11891.js → HEAD CIRCUM_BOYS.percentile.monthly-59c90297.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ceab9161.js → HEAD CIRCUM_BOYS.percentile.weekly-7d55a6fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-4b646103.js → HEAD CIRCUM_BOYS.percentile.yearly-1f9b404e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6fcc558a.js → HEAD CIRCUM_BOYS.zscore.monthly-17412ace.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-a16e6bf8.js → HEAD CIRCUM_BOYS.zscore.weekly-cf0f7e5a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-03867038.js → HEAD CIRCUM_BOYS.zscore.yearly-32e942d6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-fe03e971.js → HEAD CIRCUM_GIRLS.percentile.monthly-6e8f0f19.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c1b7efab.js → HEAD CIRCUM_GIRLS.percentile.weekly-404f99e0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7f2814c1.js → HEAD CIRCUM_GIRLS.percentile.yearly-1b1777d2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e8d1332d.js → HEAD CIRCUM_GIRLS.zscore.monthly-5bd7c99d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-62f2ad31.js → HEAD CIRCUM_GIRLS.zscore.weekly-b6db8894.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-eecd422a.js → HEAD CIRCUM_GIRLS.zscore.yearly-ef455a13.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-87ae7ca2.js → HEIGHT_BOYS.percentile.monthly-50edb434.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-bdf56888.js → HEIGHT_BOYS.percentile.weekly-2b17b6d8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-252b88be.js → HEIGHT_BOYS.percentile.yearly-177f5c10.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1393e42d.js → HEIGHT_BOYS.zscore.monthly-f21ee54a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-28b67603.js → HEIGHT_BOYS.zscore.weekly-fcde7a63.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-68666852.js → HEIGHT_BOYS.zscore.yearly-49074764.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a8bd8d9b.js → HEIGHT_GIRLS.percentile.monthly-f9474a23.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f94bf2ec.js → HEIGHT_GIRLS.percentile.weekly-a7e46aa6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-447d6ae0.js → HEIGHT_GIRLS.percentile.yearly-b2de4c80.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-0247a3f7.js → HEIGHT_GIRLS.zscore.monthly-23c363f4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-47b05b52.js → HEIGHT_GIRLS.zscore.weekly-c387fb15.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d192b29b.js → HEIGHT_GIRLS.zscore.yearly-3810f162.js} +0 -0
- /package/build/{Locale-207ac78c.js → Locale-b8f5a387.js} +0 -0
- /package/build/{Visible-953c74ff.js → Visible-eecad64f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-49a1faf6.js → WEIGHT_BOYS.percentile.monthly-6e74f3b7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a3a89028.js → WEIGHT_BOYS.percentile.weekly-8df5d836.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-bca46df1.js → WEIGHT_BOYS.percentile.yearly-97b7554e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-4b6f7cdb.js → WEIGHT_BOYS.zscore.monthly-91fcfca8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-2906fe78.js → WEIGHT_BOYS.zscore.weekly-96a9fcd6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b74e236c.js → WEIGHT_BOYS.zscore.yearly-a1935d39.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-3f74c1ad.js → WEIGHT_GIRLS.percentile.monthly-25cd242a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-823f9ace.js → WEIGHT_GIRLS.percentile.weekly-ae8e4cd9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-68e2d0a8.js → WEIGHT_GIRLS.percentile.yearly-75d55180.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-2650062b.js → WEIGHT_GIRLS.zscore.monthly-e1cf40f4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-60a25b23.js → WEIGHT_GIRLS.zscore.weekly-d69eadd1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-5c7bf483.js → WEIGHT_GIRLS.zscore.yearly-7534277d.js} +0 -0
- /package/build/{animation-37352041.js → animation-35b9fcf6.js} +0 -0
- /package/build/{constants-a277f529.js → constants-25c3d62c.js} +0 -0
- /package/build/{constants-ff3fb793.js → constants-b6fc7357.js} +0 -0
- /package/build/{constants-6eeac443.js → constants-b9ae2d14.js} +0 -0
- /package/build/{dataTransform-74dd474d.js → dataTransform-705c63a2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0ab5c9d5.js → BMI_BOYS.percentile.monthly-0a8cd4eb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d809992d.js → BMI_BOYS.percentile.weekly-52bb0b46.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-5be1e7f5.js → BMI_BOYS.percentile.yearly-35c993e4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-5e1ee562.js → BMI_BOYS.zscore.monthly-2cedf2c0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-56691fdd.js → BMI_BOYS.zscore.weekly-a42b2c9b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-388d082d.js → BMI_BOYS.zscore.yearly-162b282d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-1e50defd.js → BMI_GIRLS.percentile.monthly-0fea4155.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-85016fe4.js → BMI_GIRLS.percentile.weekly-d801124f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-a42c21c0.js → BMI_GIRLS.percentile.yearly-b16dc38b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-dd593296.js → BMI_GIRLS.zscore.monthly-1a756b94.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1716e19d.js → BMI_GIRLS.zscore.weekly-63243988.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-04409f40.js → BMI_GIRLS.zscore.yearly-b66e5924.js} +0 -0
- /package/build/esm/{ChevronDown-3ed2860e.js → ChevronDown-3032453f.js} +0 -0
- /package/build/esm/{Close-924c8b77.js → Close-8f71b07f.js} +0 -0
- /package/build/esm/{Google-e1e3614b.js → Google-90d60919.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8c41d29a.js → HEAD CIRCUM_BOYS.percentile.monthly-ab4cee65.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-9bc3e5a0.js → HEAD CIRCUM_BOYS.percentile.weekly-0d5443d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-acee079d.js → HEAD CIRCUM_BOYS.percentile.yearly-54419c9e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-cda2ec03.js → HEAD CIRCUM_BOYS.zscore.monthly-60a0957e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f1753e3b.js → HEAD CIRCUM_BOYS.zscore.weekly-ec6bdedd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3187d5d7.js → HEAD CIRCUM_BOYS.zscore.yearly-23f5fbea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8f958965.js → HEAD CIRCUM_GIRLS.percentile.monthly-4b13dd05.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2641f3f4.js → HEAD CIRCUM_GIRLS.percentile.weekly-df06543c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-eaea41d7.js → HEAD CIRCUM_GIRLS.percentile.yearly-601281fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-aff9edef.js → HEAD CIRCUM_GIRLS.zscore.monthly-5be0ff2d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-aa355e2f.js → HEAD CIRCUM_GIRLS.zscore.weekly-266e559e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-db634991.js → HEAD CIRCUM_GIRLS.zscore.yearly-b814104c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f6f9ee38.js → HEIGHT_BOYS.percentile.monthly-a4cd24c4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-58a23e53.js → HEIGHT_BOYS.percentile.weekly-38d13a22.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-4b9f7d67.js → HEIGHT_BOYS.percentile.yearly-21c0ca98.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4a3977fe.js → HEIGHT_BOYS.zscore.monthly-62656b81.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1a26591d.js → HEIGHT_BOYS.zscore.weekly-28a3276a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6d93df89.js → HEIGHT_BOYS.zscore.yearly-da476e2a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c45fd28c.js → HEIGHT_GIRLS.percentile.monthly-92f5a8dc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-80c21e3f.js → HEIGHT_GIRLS.percentile.weekly-a224b5d1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c5b3b7be.js → HEIGHT_GIRLS.percentile.yearly-a353ff84.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8e3221e0.js → HEIGHT_GIRLS.zscore.monthly-d1ed6207.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a8bf31cd.js → HEIGHT_GIRLS.zscore.weekly-5613ba86.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a7c90a26.js → HEIGHT_GIRLS.zscore.yearly-847793bb.js} +0 -0
- /package/build/esm/{Locale-03d9b408.js → Locale-ec4e1002.js} +0 -0
- /package/build/esm/{Visible-33580773.js → Visible-2716fbb4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e5a11adc.js → WEIGHT_BOYS.percentile.monthly-c23c4c41.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-abba9376.js → WEIGHT_BOYS.percentile.weekly-1a550133.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-747a3f43.js → WEIGHT_BOYS.percentile.yearly-8396e159.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-a497e498.js → WEIGHT_BOYS.zscore.monthly-a62b43eb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6d171b39.js → WEIGHT_BOYS.zscore.weekly-cd1ece53.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a60fab81.js → WEIGHT_BOYS.zscore.yearly-7c5b79d8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-40a4db43.js → WEIGHT_GIRLS.percentile.monthly-44116a5f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-668420d1.js → WEIGHT_GIRLS.percentile.weekly-b059147f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a6995869.js → WEIGHT_GIRLS.percentile.yearly-1ee6d629.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6d212e7e.js → WEIGHT_GIRLS.zscore.monthly-9ebde314.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-39dce894.js → WEIGHT_GIRLS.zscore.weekly-34e6efc1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-6e90f6f1.js → WEIGHT_GIRLS.zscore.yearly-5f97953e.js} +0 -0
- /package/build/esm/{animation-9c7a189e.js → animation-b203862b.js} +0 -0
- /package/build/esm/{constants-d77de946.js → constants-057fd4cd.js} +0 -0
- /package/build/esm/{constants-09ac5bee.js → constants-a74041e4.js} +0 -0
- /package/build/esm/{constants-6d6fbd97.js → constants-e67f0f72.js} +0 -0
- /package/build/esm/{dataTransform-0005a335.js → dataTransform-40832a5c.js} +0 -0
- /package/build/esm/{index-b9e3f2b4.js → index-058364cd.js} +0 -0
- /package/build/esm/{index-3e45e8e1.js → index-78bf913e.js} +0 -0
- /package/build/esm/{index-4f90d636.js → index-bee932b6.js} +0 -0
- /package/build/esm/{index-1d93541d.js → index-c61ebdcf.js} +0 -0
- /package/build/esm/{index-442a4f59.js → index-d891c93e.js} +0 -0
- /package/build/esm/{index-da8187e7.js → index-e2a020fa.js} +0 -0
- /package/build/esm/{index-844d8679.js → index-e3f6b852.js} +0 -0
- /package/build/esm/{index-8dab33bf.js → index-fb30fd25.js} +0 -0
- /package/build/esm/{index.styles-cf125f04.js → index.styles-f53b19d1.js} +0 -0
- /package/build/esm/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-ab85f74e.js → localizeNumberFormat-f33ccec8.js} +0 -0
- /package/build/esm/{normalizeLink-e084a6d5.js → normalizeLink-1f61e04d.js} +0 -0
- /package/build/esm/{number-54f6f4ee.js → number-8db6e972.js} +0 -0
- /package/build/esm/{other-a0375c20.js → other-151ba865.js} +0 -0
- /package/build/esm/{paths-eed5e9e6.js → paths-1fb9b402.js} +0 -0
- /package/build/esm/{translationsContext-71fa60b0.js → translationsContext-078f4bce.js} +0 -0
- /package/build/esm/{tslib.es6-95904678.js → tslib.es6-cc2b1f1a.js} +0 -0
- /package/build/esm/{types-89a3a178.js → types-4d16622e.js} +0 -0
- /package/build/esm/{useIsInit-918ac87a.js → useIsInit-ced39181.js} +0 -0
- /package/build/esm/{useOutsideClick-deae3a48.js → useOutsideClick-57e18713.js} +0 -0
- /package/build/esm/{useScrollbarSize-f9518e49.js → useScrollbarSize-07aea30b.js} +0 -0
- /package/build/esm/{useUniqueId-893cc2b2.js → useUniqueId-c2d294ab.js} +0 -0
- /package/build/esm/{utils-f91335d2.js → utils-9afaae83.js} +0 -0
- /package/build/{index-fa785930.js → index-30b2e900.js} +0 -0
- /package/build/{index-c46a03b3.js → index-3f2f103a.js} +0 -0
- /package/build/{index-bcaebbe5.js → index-45080e74.js} +0 -0
- /package/build/{index-6de0ee30.js → index-4ee46b39.js} +0 -0
- /package/build/{index-951a28ab.js → index-894919bd.js} +0 -0
- /package/build/{index-8e841299.js → index-96877805.js} +0 -0
- /package/build/{index-5e2e2a51.js → index-cf819585.js} +0 -0
- /package/build/{index-79bf79ad.js → index-fb4a8bf4.js} +0 -0
- /package/build/{index.styles-8209464b.js → index.styles-21658314.js} +0 -0
- /package/build/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-d36b9adb.js → localizeNumberFormat-98fa2753.js} +0 -0
- /package/build/{normalizeLink-70be836f.js → normalizeLink-934a55b3.js} +0 -0
- /package/build/{number-3cdd9492.js → number-bb4f223b.js} +0 -0
- /package/build/{other-d21ce729.js → other-33d23086.js} +0 -0
- /package/build/{paths-2f2a39ba.js → paths-140e0351.js} +0 -0
- /package/build/{translationsContext-af2b2df3.js → translationsContext-3d977833.js} +0 -0
- /package/build/{tslib.es6-90f0a036.js → tslib.es6-3ddaabc8.js} +0 -0
- /package/build/{types-e0bd0a3d.js → types-a9f77eea.js} +0 -0
- /package/build/{useIsInit-a697c43d.js → useIsInit-ac4c1541.js} +0 -0
- /package/build/{useOutsideClick-1ee8a383.js → useOutsideClick-75d3c88b.js} +0 -0
- /package/build/{useScrollbarSize-534d88e6.js → useScrollbarSize-b1dd5456.js} +0 -0
- /package/build/{useUniqueId-488b1405.js → useUniqueId-bd26a862.js} +0 -0
- /package/build/{utils-7e18436a.js → utils-7582dd72.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-cc2b1f1a.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-fb30fd25.js';
|
|
5
|
+
import { u as useTranslations } from './index-47086670.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-70064f9a.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-077479ff.js';
|
|
12
|
+
import './index-baed39b1.js';
|
|
13
|
+
import './index-bee932b6.js';
|
|
14
|
+
import './useMantineLocale-fb7ff1d9.js';
|
|
15
|
+
import { T as Text } from './index-1b537f31.js';
|
|
16
|
+
import { B as Button } from './index-43030347.js';
|
|
17
|
+
import './index.styles-f53b19d1.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-9afaae83.js';
|
|
20
|
+
import './other-151ba865.js';
|
|
21
|
+
import './index-428f3c47.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-15aa613c.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-9900d0dd.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-0d073215.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-e67f0f72.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-d8a7247f.js';
|
|
28
|
+
import { C as CardAuthor } from './index-b04e0359.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-3fe49f37.js';
|
|
30
|
+
import { I as Input } from './index-aa9186ea.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-58c3b491.js';
|
|
35
|
+
import { C as CardLink } from './index-1251f9b9.js';
|
|
36
|
+
import { B as BtnChoice } from './index-508282be.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-ec4e1002.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-381f5616.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-b6b83ab9.js';
|
|
41
|
+
import { B as Button$1 } from './index-9d88da4d.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-c2d294ab.js';
|
|
44
|
+
import { U as UserAvatar } from './index-17dd8dbd.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-a19ee0ac.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,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-cc2b1f1a.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { createStyles, Text as Text$1 } from '@mantine/core';
|
|
4
|
-
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './other-
|
|
4
|
+
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './other-151ba865.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -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-70064f9a.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-1b537f31.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-bee932b6.js';
|
|
7
|
+
import { _ as __rest } from './tslib.es6-cc2b1f1a.js';
|
|
8
|
+
import { V as VIDEO_DETAIL_TEMP_STORAGE } from './index-077479ff.js';
|
|
9
|
+
import { V as VideoType } from './index-baed39b1.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-8db6e972.js';
|
|
12
|
+
import { u as useTranslations } from './index-47086670.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-76a86e22.js';
|
|
15
|
+
import { S as SocialLinkPreview } from './index-cbc9cb67.js';
|
|
16
16
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
17
17
|
|
|
18
18
|
const ALLOW_DOMAIN_URL = [
|