@hhgtech/hhg-components 1.29.396 → 1.29.397-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-87c0ebb8.js → InputDate-e33113ea.js} +17 -7
- package/build/{LastPeriod-fea79cc1.js → LastPeriod-2ee621b1.js} +1 -1
- package/build/{MobileBottomNavigationIcon-6033022a.js → MobileBottomNavigationIcon-39675530.js} +3 -3
- package/build/{Spinner-6fc329d5.js → Spinner-43b4920c.js} +1 -1
- package/build/{WhatsApp-c66b98f0.js → WhatsApp-034abcc2.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- 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 +97 -97
- package/build/{constants-5aaf7ea1.js → constants-48b2f9c5.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-adb66af1.js → core-0fd29c89.js} +1 -1
- package/build/{dataTransform-f81e2533.js → dataTransform-cf5c6a05.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-16ae9ec5.js → editor-600c9813.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-95582cb9.js → InputDate-97a34326.js} +17 -7
- package/build/esm/{LastPeriod-6bd7ad93.js → LastPeriod-8fe0b338.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-b87f8b35.js → MobileBottomNavigationIcon-45cd7c50.js} +3 -3
- package/build/esm/{Spinner-a9620d7f.js → Spinner-52b252bc.js} +1 -1
- package/build/esm/{WhatsApp-9e19b7fb.js → WhatsApp-bd81d381.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- 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 +97 -97
- package/build/esm/{constants-a5b1bd3d.js → constants-0e620f93.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-b54de4ea.js → core-ab74e11b.js} +1 -1
- package/build/esm/{dataTransform-192c6c28.js → dataTransform-830b510d.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-c3bfd985.js → editor-e7589eba.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-4f489b7e.js → healthTools-ff73dcec.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +2 -1
- package/build/esm/i18n-values/hi-IN.js +2 -1
- package/build/esm/i18n-values/id-ID.js +4 -3
- package/build/esm/i18n-values/km-KH.js +2 -1
- package/build/esm/i18n-values/ms-MY.js +2 -1
- package/build/esm/i18n-values/my-MM.js +4 -3
- package/build/esm/i18n-values/th-TH.js +4 -3
- package/build/esm/i18n-values/tl-PH.js +2 -1
- package/build/esm/i18n-values/vi-VN.js +2 -1
- package/build/esm/i18n-values/vi-VN_MB.js +2 -1
- package/build/esm/i18n-values/zh-CN.js +2 -1
- package/build/esm/i18n-values/zh-TW.js +2 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-2b657776.js → index-063e8a74.js} +18 -18
- package/build/esm/{index-d39d14e2.js → index-068fded1.js} +2 -2
- package/build/esm/{index-4ae1a48c.js → index-14a10741.js} +2 -2
- package/build/esm/{index-46ad822c.js → index-14ef035a.js} +1 -1
- package/build/esm/{index-d75c3fb7.js → index-168f7ea6.js} +22 -22
- package/build/esm/{index-4f901e4d.js → index-1cda1254.js} +1 -1
- package/build/esm/{index-b3bde8eb.js → index-1cec3e80.js} +13 -13
- package/build/esm/{index-02a71e66.js → index-1d9505c7.js} +31 -31
- package/build/esm/{index-f7ac6a0a.js → index-1f97417f.js} +11 -11
- package/build/esm/{index-5aebff86.js → index-22e4bdb1.js} +16 -16
- package/build/esm/{index-aacbc3ef.js → index-23b4d11a.js} +3 -3
- package/build/esm/{index-608aa404.js → index-2a7c4909.js} +10 -10
- package/build/esm/{index-3b1aa0b8.js → index-2d9d4031.js} +3 -3
- package/build/esm/{index-33750331.js → index-2e4c90eb.js} +1 -1
- package/build/esm/{index-b0f23553.js → index-39f5f3f8.js} +7 -7
- package/build/esm/{index-496904b6.js → index-3c0e8d32.js} +25 -25
- package/build/esm/{index-3e5d8e7a.js → index-3cd3dd81.js} +13 -13
- package/build/esm/{index-670e69cb.js → index-3f774ef6.js} +2 -2
- package/build/esm/{index-3076c7d5.js → index-40937087.js} +2 -2
- package/build/esm/{index-b951a466.js → index-41283831.js} +2 -2
- package/build/esm/{index-9c40bee4.js → index-46f8d11f.js} +7 -7
- package/build/esm/{index-d34c5e3d.js → index-49189fec.js} +4 -4
- package/build/esm/{index-c539556e.js → index-51d866d8.js} +16 -16
- package/build/esm/{index-bf6ed587.js → index-63f75702.js} +2 -2
- package/build/esm/{index-a9f213a6.js → index-674ddb28.js} +1 -1
- package/build/esm/{index-8d285723.js → index-7c49bd47.js} +1 -1
- package/build/esm/{index-df117190.js → index-8692606b.js} +2 -2
- package/build/esm/{index-c23bc927.js → index-876848a9.js} +6 -6
- package/build/esm/{index-2892eb0a.js → index-8dd61dae.js} +3 -3
- package/build/esm/{index-169105b8.js → index-8ee8d2ce.js} +6 -6
- package/build/esm/{index-2bad4106.js → index-948b1b6e.js} +17 -17
- package/build/esm/{index-adbe75fa.js → index-98f6d229.js} +1 -1
- package/build/esm/{index-c3285710.js → index-9e3a8e08.js} +2 -2
- package/build/esm/{index-45101bb7.js → index-a3cbd99e.js} +17 -17
- package/build/esm/{index-fb95233f.js → index-a91bc19f.js} +13 -13
- package/build/esm/{index-33433fc2.js → index-aa59fb6c.js} +8 -8
- package/build/esm/{index-2f78ddf9.js → index-abdbe376.js} +5 -5
- package/build/esm/{index-3851a867.js → index-ae0b4237.js} +1 -1
- package/build/esm/{index-47f3dddb.js → index-b07560d2.js} +17 -17
- package/build/esm/{index-912e5964.js → index-b183054b.js} +231 -147
- package/build/esm/{index-d17b8e2c.js → index-b1d5df06.js} +16 -16
- package/build/esm/{index-11c03693.js → index-b5abdb96.js} +13 -13
- package/build/esm/{index-119711b9.js → index-b6b1c85a.js} +2 -2
- package/build/esm/{index-ec1bb54b.js → index-b6d59f31.js} +1 -1
- package/build/esm/{index-f122e041.js → index-b826847d.js} +17 -17
- package/build/esm/{index-f5c1e2c9.js → index-bc1d75a3.js} +6 -6
- package/build/esm/{index-c3f0d9a6.js → index-bd908023.js} +3 -3
- package/build/esm/{index-c60ec065.js → index-c1c4c96d.js} +3 -3
- package/build/esm/{index-1f219095.js → index-ca5a444f.js} +2 -2
- package/build/esm/{index-59bd98a3.js → index-cb60690a.js} +6 -6
- package/build/esm/{index-376d494b.js → index-ceb63508.js} +15 -15
- package/build/esm/{index-8bb32149.js → index-d0401747.js} +2 -2
- package/build/esm/{index-ed2b3f2f.js → index-d69b0732.js} +1 -1
- package/build/esm/{index-bcfaa0e6.js → index-db72bbbc.js} +31 -31
- package/build/esm/{index-ba156e99.js → index-dc2dc9a4.js} +2 -2
- package/build/esm/{index-140dcfdc.js → index-deab8fd7.js} +21 -21
- package/build/esm/{index-f89a38f9.js → index-e4c411d3.js} +24 -24
- package/build/esm/{index-cb56f721.js → index-e76c889f.js} +6 -6
- package/build/esm/{index-f437bfc4.js → index-eaef056c.js} +16 -16
- package/build/esm/{index-5f7999af.js → index-ef9db35e.js} +3 -3
- package/build/esm/{index-5f64e4d5.js → index-f4c603a4.js} +2 -2
- package/build/esm/{index-03e245b2.js → index-f7eb0295.js} +18 -18
- package/build/esm/{index-e0d52f7d.js → index-fdc57073.js} +5 -5
- package/build/esm/{index-f8c6adf5.js → index-fe45b3b2.js} +4 -4
- package/build/esm/{index-a03cc137.js → index-ff8bbc49.js} +2 -2
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-71895de3.js → labelSorting-2b739626.js} +4 -4
- package/build/esm/lead/LeadGen.helpers.d.ts +14 -14
- package/build/esm/lead/LeadGen.type.d.ts +19 -0
- package/build/esm/lead/LeadGenForm/LeadGenEmpty.d.ts +8 -0
- package/build/esm/lead/LeadGenForm/LeadGenForm.helpers.d.ts +1 -1
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +262 -0
- package/build/esm/lead/components/context.d.ts +3 -2
- package/build/esm/lead/components/index.d.ts +3 -2
- package/build/esm/lead/icons/NoData.d.ts +3 -0
- package/build/esm/lead/icons/index.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/index.d.ts +8 -4
- package/build/esm/lead/leadGenContext.d.ts +7 -0
- package/build/esm/lead/newLeadPopup.d.ts +5 -3
- package/build/esm/lead/services/index.d.ts +2 -1
- package/build/esm/lead/utils/formatFormData.d.ts +6 -0
- package/build/esm/lead/utils/formatTrackingData.d.ts +14 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +733 -290
- package/build/esm/{logoIcon-5b62cfe4.js → logoIcon-11260461.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-0526421c.js → post-9c34a6dc.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-99ea3c78.js → store-80f4f7f8.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-d85babb0.js → surveyThankyouCard-fa757262.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-81221859.js → translationsProvider-3f9be49a.js} +1 -1
- package/build/esm/{treePopoverMenu-01379a96.js → treePopoverMenu-1c839233.js} +19 -19
- package/build/esm/{types-106c6788.js → types-4ee0a522.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-0dcc4c18.js → useCategory-ddba2c99.js} +5 -5
- package/build/esm/{useHealthToolCache-3040ff0e.js → useHealthToolCache-77f8f895.js} +1 -1
- package/build/esm/{useMantineLocale-a938a312.js → useMantineLocale-743b796e.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-b70b7ce0.js → usePlacesAutocomplete-b1423f5f.js} +1 -1
- package/build/esm/{useScreenSize-fb33da04.js → useScreenSize-1c0d4539.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-b033a48d.js → utils-314e4bcc.js} +2 -2
- package/build/esm/{utils-8307e0f2.js → utils-32b692c1.js} +5 -5
- package/build/esm/{utils-1628a5f4.js → utils-6a3d57dc.js} +2 -2
- package/build/esm/{utils-58628779.js → utils-98978433.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-ef3f356e.js → healthTools-e4719df1.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +2 -1
- package/build/i18n-values/hi-IN.js +2 -1
- package/build/i18n-values/id-ID.js +4 -3
- package/build/i18n-values/km-KH.js +2 -1
- package/build/i18n-values/ms-MY.js +2 -1
- package/build/i18n-values/my-MM.js +4 -3
- package/build/i18n-values/th-TH.js +4 -3
- package/build/i18n-values/tl-PH.js +2 -1
- package/build/i18n-values/vi-VN.js +2 -1
- package/build/i18n-values/vi-VN_MB.js +2 -1
- package/build/i18n-values/zh-CN.js +2 -1
- package/build/i18n-values/zh-TW.js +2 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-afc8b11a.js → index-033a4e2e.js} +17 -17
- package/build/{index-c65f351d.js → index-09045eff.js} +1 -1
- package/build/{index-c6008b7f.js → index-0ac461f6.js} +13 -13
- package/build/{index-489453d0.js → index-1129566a.js} +1 -1
- package/build/{index-421eca75.js → index-13dd14f6.js} +1 -1
- package/build/{index-d75ddba4.js → index-2378522a.js} +5 -5
- package/build/{index-2dc187b5.js → index-2782799d.js} +1 -1
- package/build/{index-a7b14ca9.js → index-279dc48a.js} +8 -8
- package/build/{index-de153206.js → index-281ce543.js} +3 -3
- package/build/{index-2ad920e4.js → index-2bb196f2.js} +4 -4
- package/build/{index-35d14d51.js → index-37108022.js} +2 -2
- package/build/{index-daac6272.js → index-3f77a076.js} +230 -146
- package/build/{index-010e7c77.js → index-465ef5ee.js} +11 -11
- package/build/{index-d79537c0.js → index-48758d18.js} +16 -16
- package/build/{index-4108e3bd.js → index-4bc6a639.js} +7 -7
- package/build/{index-75a9eb0b.js → index-4c873456.js} +31 -31
- package/build/{index-32ff35c0.js → index-4d3b64eb.js} +17 -17
- package/build/{index-41864bfb.js → index-4f5fc1a3.js} +2 -2
- package/build/{index-789b8839.js → index-541ed031.js} +18 -18
- package/build/{index-4eadb6ba.js → index-577675c6.js} +17 -17
- package/build/{index-4c7f641f.js → index-598ff32d.js} +13 -13
- package/build/{index-7d75fcfc.js → index-5c2c0cee.js} +13 -13
- package/build/{index-32de8260.js → index-5c6ba899.js} +16 -16
- package/build/{index-4969f8b1.js → index-60590dd0.js} +18 -18
- package/build/{index-67083665.js → index-664ee78b.js} +4 -4
- package/build/{index-3e936ef5.js → index-701f15cd.js} +2 -2
- package/build/{index-4c660f74.js → index-719815fd.js} +1 -1
- package/build/{index-0d40fbb1.js → index-725826ff.js} +6 -6
- package/build/{index-c9f1f650.js → index-76f0e003.js} +2 -2
- package/build/{index-c32c7d30.js → index-78932d24.js} +15 -15
- package/build/{index-4371c483.js → index-79ec744e.js} +10 -10
- package/build/{index-31054a1b.js → index-7c6b905b.js} +24 -24
- package/build/{index-5f147d35.js → index-7f913c7c.js} +22 -22
- package/build/{index-e8b11e75.js → index-87a72c6e.js} +6 -6
- package/build/{index-559e5501.js → index-8af18dde.js} +3 -3
- package/build/{index-f7e54e43.js → index-922c3d5e.js} +6 -6
- package/build/{index-452f1eb5.js → index-962e3a74.js} +1 -1
- package/build/{index-db8fadeb.js → index-99d933e8.js} +3 -3
- package/build/{index-a8d0cfdb.js → index-9b94b7e4.js} +2 -2
- package/build/{index-55f0a158.js → index-a8db4c10.js} +16 -16
- package/build/{index-61953c36.js → index-aba4b5a5.js} +2 -2
- package/build/{index-0579b04b.js → index-abafa35f.js} +2 -2
- package/build/{index-6ee435b6.js → index-ac84391e.js} +17 -17
- package/build/{index-6eed2bd0.js → index-b3d57aee.js} +6 -6
- package/build/{index-02dab628.js → index-b44e32fe.js} +1 -1
- package/build/{index-46a9a7d0.js → index-b724d484.js} +3 -3
- package/build/{index-d9e7c442.js → index-c19bbf2d.js} +7 -7
- package/build/{index-112ee36d.js → index-c2019669.js} +3 -3
- package/build/{index-f3df9d5a.js → index-c7a0f796.js} +2 -2
- package/build/{index-d60f043e.js → index-ca05a46a.js} +31 -31
- package/build/{index-d139926a.js → index-ce252381.js} +2 -2
- package/build/{index-47f90fa7.js → index-d2d2cecf.js} +21 -21
- package/build/{index-594452e3.js → index-d3257094.js} +2 -2
- package/build/{index-3e9a3e81.js → index-d84987ce.js} +2 -2
- package/build/{index-643c6e04.js → index-de678122.js} +1 -1
- package/build/{index-e9a7b940.js → index-e15c2dc3.js} +13 -13
- package/build/{index-55a8b4bd.js → index-e551a051.js} +2 -2
- package/build/{index-7e08e497.js → index-efa49427.js} +5 -5
- package/build/{index-155eb40c.js → index-f051d236.js} +3 -3
- package/build/{index-680ab921.js → index-f3e44e6e.js} +25 -25
- package/build/{index-02559d27.js → index-f483bcc0.js} +2 -2
- package/build/{index-0c5952a5.js → index-f547e3a8.js} +2 -2
- package/build/{index-9f32ab48.js → index-f811ea08.js} +16 -16
- package/build/{index-a44a04cc.js → index-f9b0d7e1.js} +6 -6
- package/build/{index-073c424b.js → index-fb05d8ef.js} +1 -1
- package/build/index.js +118 -118
- package/build/{labelSorting-fdf79870.js → labelSorting-7cc0a416.js} +4 -4
- package/build/lead/LeadGen.helpers.d.ts +14 -14
- package/build/lead/LeadGen.type.d.ts +19 -0
- package/build/lead/LeadGenForm/LeadGenEmpty.d.ts +8 -0
- package/build/lead/LeadGenForm/LeadGenForm.helpers.d.ts +1 -1
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +262 -0
- package/build/lead/components/context.d.ts +3 -2
- package/build/lead/components/index.d.ts +3 -2
- package/build/lead/icons/NoData.d.ts +3 -0
- package/build/lead/icons/index.d.ts +5 -0
- package/build/lead/layouts/lightbox/index.d.ts +8 -4
- package/build/lead/leadGenContext.d.ts +7 -0
- package/build/lead/newLeadPopup.d.ts +5 -3
- package/build/lead/services/index.d.ts +2 -1
- package/build/lead/utils/formatFormData.d.ts +6 -0
- package/build/lead/utils/formatTrackingData.d.ts +14 -0
- package/build/lead.css +1 -1
- package/build/lead.js +733 -290
- package/build/{logoIcon-4722afa4.js → logoIcon-0aab8615.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-0950ef7f.js → post-cb9e9756.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-b11d784b.js → store-894af75e.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-2b36d7a8.js → surveyThankyouCard-f9528162.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-90d21e5c.js → translationsProvider-9663d99f.js} +1 -1
- package/build/{treePopoverMenu-b79c47b2.js → treePopoverMenu-f64cd35a.js} +19 -19
- package/build/{types-7acb1092.js → types-55364ec5.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-7e682543.js → useCategory-49b9d1e5.js} +5 -5
- package/build/{useHealthToolCache-ea23d86b.js → useHealthToolCache-d2b2a561.js} +1 -1
- package/build/{useMantineLocale-ec184683.js → useMantineLocale-dd2f34b2.js} +6 -6
- package/build/{usePlacesAutocomplete-b1cef70f.js → usePlacesAutocomplete-a0bc6b33.js} +1 -1
- package/build/{useScreenSize-03555d45.js → useScreenSize-082efdef.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-ebffddc8.js → utils-564618fc.js} +3 -3
- package/build/{utils-2d61d335.js → utils-6a42f384.js} +2 -2
- package/build/{utils-bd12e381.js → utils-cd398445.js} +2 -2
- package/build/{utils-406b2205.js → utils-f8d0e212.js} +5 -5
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-8c9db15a.js → BMI_BOYS.percentile.monthly-aed4c395.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a689769b.js → BMI_BOYS.percentile.weekly-df7a4cb6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e1ebccf8.js → BMI_BOYS.percentile.yearly-fa04bbed.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7e63d878.js → BMI_BOYS.zscore.monthly-da7971d4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-07720b7b.js → BMI_BOYS.zscore.weekly-7da57b1c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-f7db7131.js → BMI_BOYS.zscore.yearly-cabbe1e6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-201cb258.js → BMI_GIRLS.percentile.monthly-9a92dd03.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0ece140c.js → BMI_GIRLS.percentile.weekly-01fbc66e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-468fe324.js → BMI_GIRLS.percentile.yearly-a9c04bf1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cf26ac1d.js → BMI_GIRLS.zscore.monthly-1bdd4e7d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-7b93dc72.js → BMI_GIRLS.zscore.weekly-6301419c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f874af51.js → BMI_GIRLS.zscore.yearly-8acfe89c.js} +0 -0
- /package/build/{ChevronDown-bff6582f.js → ChevronDown-bda46b11.js} +0 -0
- /package/build/{Close-539a8ab1.js → Close-fc90716e.js} +0 -0
- /package/build/{Google-550c0f4d.js → Google-f44fe10a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5a4e8b87.js → HEAD CIRCUM_BOYS.percentile.monthly-c93716ca.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1f55d2ba.js → HEAD CIRCUM_BOYS.percentile.weekly-e517f709.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e1ef2dc7.js → HEAD CIRCUM_BOYS.percentile.yearly-076f86e8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-165874ce.js → HEAD CIRCUM_BOYS.zscore.monthly-303b315b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9cc6d575.js → HEAD CIRCUM_BOYS.zscore.weekly-adcb4120.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-90ed27d1.js → HEAD CIRCUM_BOYS.zscore.yearly-d70086b1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-875f0106.js → HEAD CIRCUM_GIRLS.percentile.monthly-5a4fa4b3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-647840ea.js → HEAD CIRCUM_GIRLS.percentile.weekly-a214f067.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-17885f9f.js → HEAD CIRCUM_GIRLS.percentile.yearly-f1667b6f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-fcc741aa.js → HEAD CIRCUM_GIRLS.zscore.monthly-2fed9fba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d8557fdd.js → HEAD CIRCUM_GIRLS.zscore.weekly-d54ad466.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-cda06d21.js → HEAD CIRCUM_GIRLS.zscore.yearly-f716b4ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-23de96e5.js → HEIGHT_BOYS.percentile.monthly-368452bf.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d7fdaee3.js → HEIGHT_BOYS.percentile.weekly-48806a0e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-539c0d26.js → HEIGHT_BOYS.percentile.yearly-64093644.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ec859f90.js → HEIGHT_BOYS.zscore.monthly-9c827b8c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d73df3e0.js → HEIGHT_BOYS.zscore.weekly-13e2f4a7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-13c44198.js → HEIGHT_BOYS.zscore.yearly-27416f37.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-846127be.js → HEIGHT_GIRLS.percentile.monthly-50078db3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7103bf04.js → HEIGHT_GIRLS.percentile.weekly-17fe006c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ba7949c5.js → HEIGHT_GIRLS.percentile.yearly-fc730a5a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-2b71db1d.js → HEIGHT_GIRLS.zscore.monthly-d31bb768.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ff81a4fc.js → HEIGHT_GIRLS.zscore.weekly-c28e1b73.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-c29cf18e.js → HEIGHT_GIRLS.zscore.yearly-b15b301d.js} +0 -0
- /package/build/{Locale-7978c9cc.js → Locale-45dd34ef.js} +0 -0
- /package/build/{Visible-516f027e.js → Visible-43ff0f99.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-88977b50.js → WEIGHT_BOYS.percentile.monthly-aa4faa37.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-98331f0b.js → WEIGHT_BOYS.percentile.weekly-9e3985f9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e7945da5.js → WEIGHT_BOYS.percentile.yearly-5c1531e8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c04658e6.js → WEIGHT_BOYS.zscore.monthly-f8a573b3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-98b9b101.js → WEIGHT_BOYS.zscore.weekly-57946822.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a220a344.js → WEIGHT_BOYS.zscore.yearly-79f85228.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-051c5ec2.js → WEIGHT_GIRLS.percentile.monthly-f52ed1ae.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f58b6b99.js → WEIGHT_GIRLS.percentile.weekly-bfaa2032.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-4b5240ec.js → WEIGHT_GIRLS.percentile.yearly-52108143.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e01b1eac.js → WEIGHT_GIRLS.zscore.monthly-bba9f319.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a708b96b.js → WEIGHT_GIRLS.zscore.weekly-a828a38d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-6ed95997.js → WEIGHT_GIRLS.zscore.yearly-bd75f24a.js} +0 -0
- /package/build/{animation-6a6f59d2.js → animation-346f6567.js} +0 -0
- /package/build/{constants-6502967a.js → constants-695a8459.js} +0 -0
- /package/build/{constants-11de5f84.js → constants-9e1bb8dd.js} +0 -0
- /package/build/{constants-709311e0.js → constants-e935e2b1.js} +0 -0
- /package/build/{dataTransform-c89de3b2.js → dataTransform-332b9281.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-2d868e0c.js → BMI_BOYS.percentile.monthly-41869bfa.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ac1b69d6.js → BMI_BOYS.percentile.weekly-79c6b442.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-602fbd5f.js → BMI_BOYS.percentile.yearly-c414bcdc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-7893698e.js → BMI_BOYS.zscore.monthly-c2f41ce8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c46ff024.js → BMI_BOYS.zscore.weekly-a7379f51.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-232bcb49.js → BMI_BOYS.zscore.yearly-6ad2f4e9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-e3867d77.js → BMI_GIRLS.percentile.monthly-24167e4f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-e632c7b9.js → BMI_GIRLS.percentile.weekly-a6b28c0e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5c5b660b.js → BMI_GIRLS.percentile.yearly-fe410132.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-cffd34cd.js → BMI_GIRLS.zscore.monthly-cc0b527f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1419f794.js → BMI_GIRLS.zscore.weekly-703ee282.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-bd701532.js → BMI_GIRLS.zscore.yearly-10dc88fd.js} +0 -0
- /package/build/esm/{ChevronDown-3b3c3b11.js → ChevronDown-ae36066b.js} +0 -0
- /package/build/esm/{Close-c214dfa7.js → Close-e5b1fae1.js} +0 -0
- /package/build/esm/{Google-afd75689.js → Google-201077dd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-bae7c034.js → HEAD CIRCUM_BOYS.percentile.monthly-2952ad36.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-55e5bf84.js → HEAD CIRCUM_BOYS.percentile.weekly-be7ef203.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-f2bdc060.js → HEAD CIRCUM_BOYS.percentile.yearly-f93e5926.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-77f983fe.js → HEAD CIRCUM_BOYS.zscore.monthly-bfea6999.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-811b1a1b.js → HEAD CIRCUM_BOYS.zscore.weekly-e8e5652b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6fed0fd8.js → HEAD CIRCUM_BOYS.zscore.yearly-36c74ac2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0c53afce.js → HEAD CIRCUM_GIRLS.percentile.monthly-abb0e008.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9e9e04f5.js → HEAD CIRCUM_GIRLS.percentile.weekly-726781df.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-ee3dd4ff.js → HEAD CIRCUM_GIRLS.percentile.yearly-9dfdd63f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-bf037d95.js → HEAD CIRCUM_GIRLS.zscore.monthly-6c50df8a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3cfe94a6.js → HEAD CIRCUM_GIRLS.zscore.weekly-1b2c1c8f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-229833dd.js → HEAD CIRCUM_GIRLS.zscore.yearly-29c177a7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-deb1db57.js → HEIGHT_BOYS.percentile.monthly-287f61c1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0f0eb34e.js → HEIGHT_BOYS.percentile.weekly-c53e9e16.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-af19ac11.js → HEIGHT_BOYS.percentile.yearly-bded1987.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c77f2195.js → HEIGHT_BOYS.zscore.monthly-27dc8a9a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ea779b14.js → HEIGHT_BOYS.zscore.weekly-09034137.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-60bfb51f.js → HEIGHT_BOYS.zscore.yearly-5032f40e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9f813296.js → HEIGHT_GIRLS.percentile.monthly-5cb20732.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-31a888f2.js → HEIGHT_GIRLS.percentile.weekly-6a0809ac.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f5b633ab.js → HEIGHT_GIRLS.percentile.yearly-d8eae9ba.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-84fbd8ad.js → HEIGHT_GIRLS.zscore.monthly-5ccaa5e3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-8563c02b.js → HEIGHT_GIRLS.zscore.weekly-d0bbaad6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d508d9c2.js → HEIGHT_GIRLS.zscore.yearly-fb32b52e.js} +0 -0
- /package/build/esm/{Locale-ce7c9574.js → Locale-36f525a4.js} +0 -0
- /package/build/esm/{Visible-2b74bc97.js → Visible-b3e126f1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bcab94ad.js → WEIGHT_BOYS.percentile.monthly-45cf8ed9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-edc41c40.js → WEIGHT_BOYS.percentile.weekly-f0f9967e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1484930e.js → WEIGHT_BOYS.percentile.yearly-ec6f1086.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9db45a44.js → WEIGHT_BOYS.zscore.monthly-601e12ef.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-1a71c413.js → WEIGHT_BOYS.zscore.weekly-a7c43483.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c2bc9e67.js → WEIGHT_BOYS.zscore.yearly-3f4b7905.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2e1c85e0.js → WEIGHT_GIRLS.percentile.monthly-8015b521.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-74360200.js → WEIGHT_GIRLS.percentile.weekly-71f690a7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f34f0558.js → WEIGHT_GIRLS.percentile.yearly-bd314f37.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-059ac703.js → WEIGHT_GIRLS.zscore.monthly-5b4acdbb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e1fb2fd8.js → WEIGHT_GIRLS.zscore.weekly-e2ade50d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-77eb5efd.js → WEIGHT_GIRLS.zscore.yearly-664b750d.js} +0 -0
- /package/build/esm/{animation-27d62e38.js → animation-25f71398.js} +0 -0
- /package/build/esm/{constants-224a9c9d.js → constants-5d7623d2.js} +0 -0
- /package/build/esm/{constants-ca7208a4.js → constants-7dde25d9.js} +0 -0
- /package/build/esm/{constants-3cb473c5.js → constants-a8d9f8cd.js} +0 -0
- /package/build/esm/{dataTransform-7141f77c.js → dataTransform-aaed4225.js} +0 -0
- /package/build/esm/{index-2e9997c5.js → index-00ea7e85.js} +0 -0
- /package/build/esm/{index-725acd8e.js → index-681f65b5.js} +0 -0
- /package/build/esm/{index-e31e78b8.js → index-8c0aaa1e.js} +0 -0
- /package/build/esm/{index-6ef9420b.js → index-afcb24a3.js} +0 -0
- /package/build/esm/{index-6f28b547.js → index-bec699b5.js} +0 -0
- /package/build/esm/{index-16a5ad99.js → index-dd182a34.js} +0 -0
- /package/build/esm/{index-8ca926b3.js → index-f057e9f8.js} +0 -0
- /package/build/esm/{index-243017fd.js → index-f61760fa.js} +0 -0
- /package/build/esm/{index.styles-d2bdab8c.js → index.styles-a0ab78ac.js} +0 -0
- /package/build/esm/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-7fbc5ef2.js → localizeNumberFormat-c4475b0a.js} +0 -0
- /package/build/esm/{normalizeLink-2e955111.js → normalizeLink-d7e0adc5.js} +0 -0
- /package/build/esm/{number-2c21651a.js → number-5b0b7db4.js} +0 -0
- /package/build/esm/{other-9f3029ec.js → other-98acd3e1.js} +0 -0
- /package/build/esm/{paths-badc1b3b.js → paths-5ad78bcc.js} +0 -0
- /package/build/esm/{translationsContext-8059f988.js → translationsContext-2d991fbb.js} +0 -0
- /package/build/esm/{tslib.es6-920542f4.js → tslib.es6-1ede97d6.js} +0 -0
- /package/build/esm/{types-d19dcc16.js → types-5b342856.js} +0 -0
- /package/build/esm/{useIsInit-80a86f68.js → useIsInit-baa49de2.js} +0 -0
- /package/build/esm/{useOutsideClick-ee68528a.js → useOutsideClick-19e0b295.js} +0 -0
- /package/build/esm/{useScrollbarSize-a550eea1.js → useScrollbarSize-ad5dec06.js} +0 -0
- /package/build/esm/{useUniqueId-c8370483.js → useUniqueId-2e6f52ac.js} +0 -0
- /package/build/esm/{utils-2369b642.js → utils-2a5bbdbd.js} +0 -0
- /package/build/{index-8223092b.js → index-376652ed.js} +0 -0
- /package/build/{index-6f22b55e.js → index-5729bb0c.js} +0 -0
- /package/build/{index-6625747d.js → index-64b3b777.js} +0 -0
- /package/build/{index-c895266c.js → index-6f5b78c2.js} +0 -0
- /package/build/{index-55b1bfa8.js → index-a40e5d39.js} +0 -0
- /package/build/{index-6d1e1360.js → index-ab051ca5.js} +0 -0
- /package/build/{index-1f64a5dc.js → index-b819919a.js} +0 -0
- /package/build/{index-a200e69c.js → index-e80282a3.js} +0 -0
- /package/build/{index.styles-e555d060.js → index.styles-d28edcfc.js} +0 -0
- /package/build/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-cbba4877.js → localizeNumberFormat-e5ec975f.js} +0 -0
- /package/build/{normalizeLink-4008bb97.js → normalizeLink-17ace8d1.js} +0 -0
- /package/build/{number-2bb6487c.js → number-837d066b.js} +0 -0
- /package/build/{other-3d614c90.js → other-a019e7d8.js} +0 -0
- /package/build/{paths-e0e4a30a.js → paths-3db5283b.js} +0 -0
- /package/build/{translationsContext-ae3c7cbc.js → translationsContext-8794b411.js} +0 -0
- /package/build/{tslib.es6-bd4b6f69.js → tslib.es6-bee6f032.js} +0 -0
- /package/build/{types-160c4161.js → types-56ea1c8b.js} +0 -0
- /package/build/{useIsInit-6ed13d1d.js → useIsInit-5fb94791.js} +0 -0
- /package/build/{useOutsideClick-0864ce66.js → useOutsideClick-e36eae8d.js} +0 -0
- /package/build/{useScrollbarSize-7c9c913d.js → useScrollbarSize-99ddf0f5.js} +0 -0
- /package/build/{useUniqueId-3ad4fe36.js → useUniqueId-aec0ca63.js} +0 -0
- /package/build/{utils-e56bcd6e.js → utils-f4e8f545.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-1ede97d6.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-8c0aaa1e.js';
|
|
5
|
+
import { u as useTranslations } from './index-674ddb28.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-1f97417f.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-40937087.js';
|
|
12
|
+
import './index-d69b0732.js';
|
|
13
|
+
import './index-dd182a34.js';
|
|
14
|
+
import './useMantineLocale-743b796e.js';
|
|
15
|
+
import { T as Text } from './index-dc2dc9a4.js';
|
|
16
|
+
import { B as Button } from './index-ae0b4237.js';
|
|
17
|
+
import './index.styles-a0ab78ac.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-2a5bbdbd.js';
|
|
20
|
+
import './other-98acd3e1.js';
|
|
21
|
+
import './index-2d9d4031.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-b826847d.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-98978433.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-830b510d.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-7dde25d9.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-9c34a6dc.js';
|
|
28
|
+
import { C as CardAuthor } from './index-22e4bdb1.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-e7589eba.js';
|
|
30
|
+
import { I as Input } from './index-b6b1c85a.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-9e3a8e08.js';
|
|
35
|
+
import { C as CardLink } from './index-abdbe376.js';
|
|
36
|
+
import { B as BtnChoice } from './index-b6d59f31.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-36f525a4.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-3f774ef6.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-876848a9.js';
|
|
41
|
+
import { B as Button$1 } from './index-63f75702.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-2e6f52ac.js';
|
|
44
|
+
import { U as UserAvatar } from './index-f4c603a4.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-ca5a444f.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('switchBtn.yes'),
|
|
3962
|
+
value: 'true',
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
label: t('switchBtn.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,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-1ede97d6.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import { L as LastPeriod } from './LastPeriod-
|
|
6
|
-
import { I as Input } from './index-
|
|
7
|
-
import { D as DatePicker } from './index-
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index.styles-
|
|
11
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import { L as LastPeriod } from './LastPeriod-8fe0b338.js';
|
|
6
|
+
import { I as Input } from './index-1f97417f.js';
|
|
7
|
+
import { D as DatePicker } from './index-bc1d75a3.js';
|
|
8
|
+
import { T as Text } from './index-dc2dc9a4.js';
|
|
9
|
+
import './index-ae0b4237.js';
|
|
10
|
+
import './index.styles-a0ab78ac.js';
|
|
11
|
+
import { u as useTranslations } from './index-674ddb28.js';
|
|
12
12
|
import '@mantine/hooks';
|
|
13
|
-
import './useMantineLocale-
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import './utils-
|
|
17
|
-
import './index-
|
|
18
|
-
import './other-
|
|
19
|
-
import './index-
|
|
20
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
13
|
+
import './useMantineLocale-743b796e.js';
|
|
14
|
+
import './index-d69b0732.js';
|
|
15
|
+
import './index-dd182a34.js';
|
|
16
|
+
import './utils-2a5bbdbd.js';
|
|
17
|
+
import './index-40937087.js';
|
|
18
|
+
import './other-98acd3e1.js';
|
|
19
|
+
import './index-2d9d4031.js';
|
|
20
|
+
import { H as HealthToolFormWrapper } from './index-fe45b3b2.js';
|
|
21
21
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
22
22
|
|
|
23
23
|
const AvoidPregnancy = (_a) => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-1ede97d6.js';
|
|
2
2
|
import React__default, { useState, useRef, useMemo, useEffect } from 'react';
|
|
3
3
|
import { BabyBoyMB, BabyGirlMB } from '@hhgtech/icons/other';
|
|
4
4
|
import { createStyles, rem, Box, Flex } from '@mantine/core';
|
|
5
|
-
import { R as Radio } from './index-
|
|
5
|
+
import { R as Radio } from './index-1f97417f.js';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import './useMantineLocale-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index.styles-
|
|
14
|
-
import { u as useTranslations } from './index-
|
|
7
|
+
import './index-40937087.js';
|
|
8
|
+
import './index-d69b0732.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-dd182a34.js';
|
|
10
|
+
import './useMantineLocale-743b796e.js';
|
|
11
|
+
import { T as Text } from './index-dc2dc9a4.js';
|
|
12
|
+
import './index-ae0b4237.js';
|
|
13
|
+
import './index.styles-a0ab78ac.js';
|
|
14
|
+
import { u as useTranslations } from './index-674ddb28.js';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import './utils-
|
|
17
|
-
import './other-
|
|
18
|
-
import './index-
|
|
16
|
+
import './utils-2a5bbdbd.js';
|
|
17
|
+
import './other-98acd3e1.js';
|
|
18
|
+
import './index-2d9d4031.js';
|
|
19
19
|
|
|
20
20
|
var useStyles = createStyles((theme, { type }) => {
|
|
21
21
|
const isMarryBaby = theme.other.template === 'mb';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-1ede97d6.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
+
import { M as MediaQueries } from './utils-2a5bbdbd.js';
|
|
7
7
|
|
|
8
8
|
const StyledInput = styled.div `
|
|
9
9
|
position: relative;
|