@hhgtech/hhg-components 1.29.393 → 1.29.394-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-1d4ab9a2.js → InputDate-eac90f76.js} +17 -7
- package/build/{LastPeriod-e48dbfd6.js → LastPeriod-c3e011d5.js} +1 -1
- package/build/{MobileBottomNavigationIcon-c3d43f19.js → MobileBottomNavigationIcon-10bed079.js} +3 -3
- package/build/{Spinner-2b6d066f.js → Spinner-e7553de3.js} +1 -1
- package/build/{WhatsApp-b15d7e61.js → WhatsApp-e9852dad.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-78e9fdab.js → constants-50fcb7b4.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-46fc96e8.js → core-3173beab.js} +1 -1
- package/build/{dataTransform-cc1f45d9.js → dataTransform-fbe25d84.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-3b0619f0.js → editor-62213383.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-b1571459.js → InputDate-d8c603b6.js} +17 -7
- package/build/esm/{LastPeriod-16f3f1ac.js → LastPeriod-e86f595d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-4f9c5c5e.js → MobileBottomNavigationIcon-2d8779c1.js} +3 -3
- package/build/esm/{Spinner-63f5cf82.js → Spinner-da82667e.js} +1 -1
- package/build/esm/{WhatsApp-8e34c570.js → WhatsApp-f4dcedcf.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-52c448bc.js → constants-04e464e6.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-9866ee5c.js → core-6a2d1a82.js} +1 -1
- package/build/esm/{dataTransform-7976e500.js → dataTransform-9bdd89a7.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-11032aa3.js → editor-4bcc67ac.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-8faa339a.js → healthTools-85c1f8b2.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-7586f05c.js → index-029c3ca3.js} +10 -10
- package/build/esm/{index-93c24e0b.js → index-12f426e6.js} +24 -24
- package/build/esm/{index-1e6fc7e5.js → index-1523479a.js} +21 -21
- package/build/esm/{index-77dfd4c9.js → index-156e7bff.js} +25 -25
- package/build/esm/{index-9c9ec12f.js → index-1b2eedde.js} +1 -1
- package/build/esm/{index-baf31bd2.js → index-1f97d397.js} +16 -16
- package/build/esm/{index-05db92ea.js → index-264e35c4.js} +8 -8
- package/build/esm/{index-2f828882.js → index-268554a9.js} +6 -6
- package/build/esm/{index-e9c6e92e.js → index-2af05e4f.js} +18 -18
- package/build/esm/{index-bfa1bf93.js → index-2cadfcb7.js} +1 -1
- package/build/esm/{index-a4f58c14.js → index-3705efe1.js} +13 -13
- package/build/esm/{index-daf10b0d.js → index-394c446b.js} +3 -3
- package/build/esm/{index-70d774d6.js → index-3b0bbc40.js} +15 -15
- package/build/esm/{index-974f5a0c.js → index-3b1a47b6.js} +2 -2
- package/build/esm/{index-862100c0.js → index-3c33a1ed.js} +4 -4
- package/build/esm/{index-9d2ee3f6.js → index-3c4438bc.js} +6 -6
- package/build/esm/{index-bf37e716.js → index-40d6d504.js} +18 -18
- package/build/esm/{index-a8408cfb.js → index-4e14f521.js} +3 -3
- package/build/esm/{index-deb37876.js → index-52e6ab04.js} +2 -2
- package/build/esm/{index-58b6b28d.js → index-53e17ce4.js} +2 -2
- package/build/esm/{index-a773e1ec.js → index-5660b351.js} +120 -7
- package/build/esm/{index-725e1fd7.js → index-580fa91e.js} +31 -31
- package/build/esm/{index-4604bd17.js → index-5bd43b7b.js} +2 -2
- package/build/esm/{index-eb18d204.js → index-60665d56.js} +13 -13
- package/build/esm/{index-4644fb5c.js → index-61b7eece.js} +2 -2
- package/build/esm/{index-23189e9c.js → index-65ced058.js} +7 -7
- package/build/esm/{index-61cda411.js → index-683db2e9.js} +16 -16
- package/build/esm/{index-23a0a20d.js → index-6a5e323d.js} +16 -16
- package/build/esm/{index-667a4467.js → index-6e79f0d5.js} +1 -1
- package/build/esm/{index-71cba578.js → index-71fcbd33.js} +17 -17
- package/build/esm/{index-2bc3752d.js → index-84d15fea.js} +2 -2
- package/build/esm/{index-5912a195.js → index-8773b13e.js} +1 -1
- package/build/esm/{index-d85d3b86.js → index-89b55959.js} +3 -3
- package/build/esm/{index-a8fdc89b.js → index-89cd7b36.js} +7 -7
- package/build/esm/{index-69c7549d.js → index-8a42e859.js} +11 -11
- package/build/esm/{index-f5ccbbfb.js → index-8aa4f8fd.js} +13 -13
- package/build/esm/{index-bed52dfc.js → index-8d97c4d8.js} +13 -13
- package/build/esm/{index-3f68ca7e.js → index-8e9263ee.js} +22 -22
- package/build/esm/{index-4223f67a.js → index-960c8cd2.js} +2 -2
- package/build/esm/{index-d17fd724.js → index-a1230acf.js} +3 -3
- package/build/esm/{index-614c79d9.js → index-a32d2f09.js} +17 -17
- package/build/esm/{index-f1d6d905.js → index-a3f2b52a.js} +3 -3
- package/build/esm/{index-83bdc881.js → index-a73e0111.js} +2 -2
- package/build/esm/{index-9d94d5a4.js → index-a743fa8e.js} +1 -1
- package/build/esm/{index-c04ed42b.js → index-a7c10f07.js} +1 -1
- package/build/esm/{index-e94b9b57.js → index-acc24b5c.js} +4 -4
- package/build/esm/{index-3c7d33c9.js → index-aea81ad4.js} +31 -31
- package/build/esm/{index-ba90f03d.js → index-aeef32ec.js} +2 -2
- package/build/esm/{index-b9fe4352.js → index-b030b921.js} +2 -2
- package/build/esm/{index-84361f9c.js → index-b8ef2e1f.js} +2 -2
- package/build/esm/{index-f06e7aab.js → index-c105dc4b.js} +17 -17
- package/build/esm/{index-9fabd438.js → index-c8c34747.js} +6 -6
- package/build/esm/{index-15ffdbc8.js → index-ca4fb69e.js} +3 -3
- package/build/esm/{index-aec3abb3.js → index-cfd4cbfb.js} +5 -5
- package/build/esm/{index-48306c38.js → index-d0335ff2.js} +16 -16
- package/build/esm/{index-6646f661.js → index-d320eac2.js} +2 -2
- package/build/esm/{index-99db77d1.js → index-d45a5adf.js} +2 -2
- package/build/esm/{index-7278d8bd.js → index-da2812f4.js} +6 -6
- package/build/esm/{index-011f40d9.js → index-dc5801b5.js} +1 -1
- package/build/esm/{index-0004bdae.js → index-e0b2821c.js} +1 -1
- package/build/esm/{index-968b9460.js → index-e4188a84.js} +231 -147
- package/build/esm/{index-09666642.js → index-e9579c55.js} +6 -6
- package/build/esm/{index-28593b7b.js → index-eb102b34.js} +17 -17
- package/build/esm/{index-e079dd78.js → index-fb740490.js} +1 -1
- package/build/esm/index.js +118 -119
- package/build/esm/{labelSorting-f9930004.js → labelSorting-b39ffc84.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 +430 -130
- package/build/esm/{logoIcon-e98ed496.js → logoIcon-01e18236.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-456af9a2.js → post-0b755807.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-e2782157.js → store-5876e442.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-c9559f93.js → surveyThankyouCard-0894a226.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-0b2c27e5.js → translationsProvider-e28795ee.js} +1 -1
- package/build/esm/{treePopoverMenu-918d1a6e.js → treePopoverMenu-3efdf293.js} +19 -19
- package/build/esm/{types-e65b4dd2.js → types-228fdcb3.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-96b866ea.js → useCategory-3729e7ef.js} +5 -5
- package/build/esm/{useHealthToolCache-79bbcf25.js → useHealthToolCache-e7dbf040.js} +1 -1
- package/build/esm/{useMantineLocale-f8b607e5.js → useMantineLocale-86cfb6bd.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-4085c397.js → usePlacesAutocomplete-6b824d35.js} +1 -1
- package/build/esm/{useScreenSize-c5e6f635.js → useScreenSize-3b7ab547.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-d8ef2408.js → utils-1165d255.js} +3 -3
- package/build/esm/{utils-6b08d67d.js → utils-6685e18c.js} +2 -2
- package/build/esm/{utils-06248ec1.js → utils-949c2dd7.js} +5 -5
- package/build/esm/{utils-c2a42b03.js → utils-bea15bbb.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-65d87f84.js → healthTools-c6ebcdcb.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-b8e44b19.js → index-0281227a.js} +6 -6
- package/build/{index-87e49123.js → index-05786ec0.js} +1 -1
- package/build/{index-c6319fe0.js → index-082b63cf.js} +16 -16
- package/build/{index-55448476.js → index-0c6ac6d3.js} +21 -21
- package/build/{index-0fda6896.js → index-12b35ef7.js} +1 -1
- package/build/{index-d6810b0b.js → index-23c78802.js} +230 -146
- package/build/{index-b57cb091.js → index-2b290380.js} +18 -18
- package/build/{index-79326738.js → index-2bb00add.js} +6 -6
- package/build/{index-00a37b65.js → index-2cfadb0e.js} +3 -3
- package/build/{index-b995612c.js → index-326a1b85.js} +2 -2
- package/build/{index-d6f85ace.js → index-3302f186.js} +2 -2
- package/build/{index-dd8309ea.js → index-33aea2b0.js} +17 -17
- package/build/{index-b29a6317.js → index-33fe9473.js} +25 -25
- package/build/{index-8b18f250.js → index-3949ecf7.js} +2 -2
- package/build/{index-eb35ac95.js → index-40a59370.js} +2 -2
- package/build/{index-543d2511.js → index-42ab67e8.js} +6 -6
- package/build/{index-2c533187.js → index-42ef519a.js} +2 -2
- package/build/{index-4ea26945.js → index-4544011b.js} +31 -31
- package/build/{index-d505b556.js → index-46d0459d.js} +13 -13
- package/build/{index-3b8808a8.js → index-4839557f.js} +2 -2
- package/build/{index-d99d50a7.js → index-4a546aaa.js} +119 -5
- package/build/{index-9034b9e6.js → index-55ee7537.js} +8 -8
- package/build/{index-7032c044.js → index-5d58433c.js} +17 -17
- package/build/{index-512356c7.js → index-5e0a1e22.js} +5 -5
- package/build/{index-455ba929.js → index-5f54d3ca.js} +1 -1
- package/build/{index-c2c83cea.js → index-60ea7f96.js} +18 -18
- package/build/{index-801cd8da.js → index-624c47f1.js} +3 -3
- package/build/{index-c791b9ec.js → index-63ccebbc.js} +2 -2
- package/build/{index-eb22c3e2.js → index-63cec611.js} +13 -13
- package/build/{index-4a0ee76c.js → index-661c70de.js} +13 -13
- package/build/{index-6597a1df.js → index-665601f9.js} +1 -1
- package/build/{index-98445cb8.js → index-6eff4b57.js} +16 -16
- package/build/{index-8462be80.js → index-80f0280d.js} +1 -1
- package/build/{index-8e6dcfac.js → index-85339eba.js} +2 -2
- package/build/{index-539e980c.js → index-85c7d01b.js} +2 -2
- package/build/{index-3eeefbe6.js → index-89fd03cc.js} +3 -3
- package/build/{index-168db3d4.js → index-8a60b3e3.js} +24 -24
- package/build/{index-23b36c4a.js → index-a1bb1b93.js} +13 -13
- package/build/{index-30e57a09.js → index-a5cdb8e7.js} +17 -17
- package/build/{index-db2d80cd.js → index-a653be45.js} +7 -7
- package/build/{index-e2d6d695.js → index-a8936d7a.js} +3 -3
- package/build/{index-5f11686e.js → index-ad18fc64.js} +4 -4
- package/build/{index-3a0fc795.js → index-afecde01.js} +22 -22
- package/build/{index-58888ee4.js → index-b8c6a99f.js} +7 -7
- package/build/{index-5a06a61e.js → index-b9003b5c.js} +16 -16
- package/build/{index-8d88028e.js → index-bc32d7db.js} +11 -11
- package/build/{index-bc68c985.js → index-bd974cdb.js} +2 -2
- package/build/{index-450fc861.js → index-bf119c4f.js} +10 -10
- package/build/{index-04dcf27d.js → index-c059b45e.js} +1 -1
- package/build/{index-0377dc7e.js → index-c07bc945.js} +6 -6
- package/build/{index-4c08136c.js → index-c3ba195f.js} +2 -2
- package/build/{index-91b1b876.js → index-c65cc226.js} +2 -2
- package/build/{index-9cb1e2e2.js → index-c9240670.js} +1 -1
- package/build/{index-552ce358.js → index-d7508e86.js} +3 -3
- package/build/{index-8e1cd365.js → index-d7f39459.js} +17 -17
- package/build/{index-8a859dc3.js → index-debd15b4.js} +1 -1
- package/build/{index-275cc54f.js → index-e1719527.js} +16 -16
- package/build/{index-1542ca0f.js → index-e2a32540.js} +31 -31
- package/build/{index-6782022a.js → index-e96b9625.js} +2 -2
- package/build/{index-669c10b5.js → index-eb3a8fb7.js} +1 -1
- package/build/{index-2f854e4e.js → index-f2ad55d6.js} +6 -6
- package/build/{index-5396bcaa.js → index-f38d3ea8.js} +15 -15
- package/build/{index-1f6edbe3.js → index-fbf79cf3.js} +4 -4
- package/build/{index-8845b51d.js → index-ff30f6cc.js} +3 -3
- package/build/index.js +184 -185
- package/build/{labelSorting-2fc18eff.js → labelSorting-83ca9353.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 +429 -129
- package/build/{logoIcon-cdd03d37.js → logoIcon-368853e2.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-ef859c8e.js → post-d0900f6c.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-eb9adf12.js → store-e5f7360c.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-f39facc8.js → surveyThankyouCard-1a4e2df9.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-8a2089d8.js → translationsProvider-8887ddcb.js} +1 -1
- package/build/{treePopoverMenu-ebe1cab0.js → treePopoverMenu-1f8ab1e7.js} +19 -19
- package/build/{types-e8dddf8a.js → types-6ed75177.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-362c09bd.js → useCategory-fbf6c5cd.js} +5 -5
- package/build/{useHealthToolCache-d03e8d11.js → useHealthToolCache-c555ef20.js} +1 -1
- package/build/{useMantineLocale-75898426.js → useMantineLocale-ad2063c7.js} +6 -6
- package/build/{usePlacesAutocomplete-22bc6949.js → usePlacesAutocomplete-12194665.js} +1 -1
- package/build/{useScreenSize-4820e9f4.js → useScreenSize-f4b697c0.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-05972f03.js → utils-3e3ee1a2.js} +5 -5
- package/build/{utils-41365695.js → utils-51e01fbd.js} +2 -2
- package/build/{utils-832bd0f8.js → utils-8527511b.js} +2 -2
- package/build/{utils-84982067.js → utils-c0b36380.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-5848ad0f.js +0 -118
- package/build/index-18f097ee.js +0 -125
- /package/build/{BMI_BOYS.percentile.monthly-3e4ba19a.js → BMI_BOYS.percentile.monthly-dc44a744.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d1ab9376.js → BMI_BOYS.percentile.weekly-d43cfd0f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d21158bd.js → BMI_BOYS.percentile.yearly-3de13a2c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7a0d30ba.js → BMI_BOYS.zscore.monthly-72df0b5d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-e243d128.js → BMI_BOYS.zscore.weekly-b1b649eb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-dfa3d277.js → BMI_BOYS.zscore.yearly-ab836117.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-7d6cd8c3.js → BMI_GIRLS.percentile.monthly-ddbaf261.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-ae9b62aa.js → BMI_GIRLS.percentile.weekly-d9827548.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-8a2036d7.js → BMI_GIRLS.percentile.yearly-7396ea15.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-887b2c85.js → BMI_GIRLS.zscore.monthly-4f3a8e09.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d205c326.js → BMI_GIRLS.zscore.weekly-dad4e8a1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-8660facf.js → BMI_GIRLS.zscore.yearly-f2213908.js} +0 -0
- /package/build/{ChevronDown-b2cc7c93.js → ChevronDown-4412251a.js} +0 -0
- /package/build/{Close-6021dce6.js → Close-1729d46e.js} +0 -0
- /package/build/{Google-3234d899.js → Google-65bb4096.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d0281b2c.js → HEAD CIRCUM_BOYS.percentile.monthly-b5d1b24f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-e2ea2df9.js → HEAD CIRCUM_BOYS.percentile.weekly-0af315c5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-3477d6ed.js → HEAD CIRCUM_BOYS.percentile.yearly-d3fdee2b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-7cd5db29.js → HEAD CIRCUM_BOYS.zscore.monthly-e5ad87a0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c8e48df7.js → HEAD CIRCUM_BOYS.zscore.weekly-b80a348e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-25f953f8.js → HEAD CIRCUM_BOYS.zscore.yearly-ab5e48ac.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-562fb413.js → HEAD CIRCUM_GIRLS.percentile.monthly-7da783b3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-cf83c60e.js → HEAD CIRCUM_GIRLS.percentile.weekly-9279f3c1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-53716b8b.js → HEAD CIRCUM_GIRLS.percentile.yearly-688419ba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-143c2edd.js → HEAD CIRCUM_GIRLS.zscore.monthly-8aea0a6c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1e9daa1e.js → HEAD CIRCUM_GIRLS.zscore.weekly-3af39f37.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4f6a1b53.js → HEAD CIRCUM_GIRLS.zscore.yearly-02cf515c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-aac318c3.js → HEIGHT_BOYS.percentile.monthly-dec31f63.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-518519b5.js → HEIGHT_BOYS.percentile.weekly-59b73ae7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-8130485c.js → HEIGHT_BOYS.percentile.yearly-936d256c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-580b72f2.js → HEIGHT_BOYS.zscore.monthly-afd0da6b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8b28c1d6.js → HEIGHT_BOYS.zscore.weekly-c7f65d12.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4629bb14.js → HEIGHT_BOYS.zscore.yearly-91df91ab.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-33da77e9.js → HEIGHT_GIRLS.percentile.monthly-5d6700c0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-3ec7bfb0.js → HEIGHT_GIRLS.percentile.weekly-eb27d540.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-e434bc7a.js → HEIGHT_GIRLS.percentile.yearly-1787953d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-98dd68b9.js → HEIGHT_GIRLS.zscore.monthly-631dc0dc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-b2519dd2.js → HEIGHT_GIRLS.zscore.weekly-33174efb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-cdf109cb.js → HEIGHT_GIRLS.zscore.yearly-03d024e5.js} +0 -0
- /package/build/{Locale-541fbac2.js → Locale-39ae7840.js} +0 -0
- /package/build/{Visible-df3f13e3.js → Visible-022eb577.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b1e96275.js → WEIGHT_BOYS.percentile.monthly-02bab776.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2c8643f0.js → WEIGHT_BOYS.percentile.weekly-8de3b18f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-1c0edf19.js → WEIGHT_BOYS.percentile.yearly-59b8a21b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-32681435.js → WEIGHT_BOYS.zscore.monthly-abb45faa.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-1db56690.js → WEIGHT_BOYS.zscore.weekly-b1398692.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-46a6cb88.js → WEIGHT_BOYS.zscore.yearly-dc2ecbad.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-005e4aa3.js → WEIGHT_GIRLS.percentile.monthly-796acabf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f4319546.js → WEIGHT_GIRLS.percentile.weekly-82286158.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6f2fdd83.js → WEIGHT_GIRLS.percentile.yearly-9004f8e1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e90cb1b3.js → WEIGHT_GIRLS.zscore.monthly-43fb2af7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c3385417.js → WEIGHT_GIRLS.zscore.weekly-73c20eff.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-d4c27415.js → WEIGHT_GIRLS.zscore.yearly-c8b12eb7.js} +0 -0
- /package/build/{animation-2d431e97.js → animation-6d005387.js} +0 -0
- /package/build/{constants-40b632e7.js → constants-c731fcca.js} +0 -0
- /package/build/{constants-67a2fa60.js → constants-d191ad8f.js} +0 -0
- /package/build/{constants-27c29a4c.js → constants-e5fcdc77.js} +0 -0
- /package/build/{dataTransform-741ae1c3.js → dataTransform-b3e86aaa.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-8a366cd9.js → BMI_BOYS.percentile.monthly-2029980a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-4319edce.js → BMI_BOYS.percentile.weekly-83083435.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-87004888.js → BMI_BOYS.percentile.yearly-9e0f81b7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-8a5b4694.js → BMI_BOYS.zscore.monthly-288d32e7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ee27d130.js → BMI_BOYS.zscore.weekly-07d49851.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d1a616cf.js → BMI_BOYS.zscore.yearly-d5c63800.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-870c7f4d.js → BMI_GIRLS.percentile.monthly-0899ea2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-93bb29c4.js → BMI_GIRLS.percentile.weekly-aa7030ba.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-9047eefe.js → BMI_GIRLS.percentile.yearly-eb0e2e75.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-3f63221c.js → BMI_GIRLS.zscore.monthly-b8b72364.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-7f742697.js → BMI_GIRLS.zscore.weekly-4b0793a4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5d8c5f8a.js → BMI_GIRLS.zscore.yearly-62b2a4f4.js} +0 -0
- /package/build/esm/{ChevronDown-c7df092c.js → ChevronDown-4a30760b.js} +0 -0
- /package/build/esm/{Close-72b463e2.js → Close-1e08c38e.js} +0 -0
- /package/build/esm/{Google-c0b5424a.js → Google-d6b959f4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8db9e360.js → HEAD CIRCUM_BOYS.percentile.monthly-41a1d1af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-36090b84.js → HEAD CIRCUM_BOYS.percentile.weekly-0a035291.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e3b0f4a4.js → HEAD CIRCUM_BOYS.percentile.yearly-5e7cba37.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c21de8ed.js → HEAD CIRCUM_BOYS.zscore.monthly-af0b9582.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-7e00fc97.js → HEAD CIRCUM_BOYS.zscore.weekly-6ad27029.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-bdb22db9.js → HEAD CIRCUM_BOYS.zscore.yearly-0fc6243d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a06be885.js → HEAD CIRCUM_GIRLS.percentile.monthly-b31a2528.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ada49bdb.js → HEAD CIRCUM_GIRLS.percentile.weekly-1456ccbd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-989bf106.js → HEAD CIRCUM_GIRLS.percentile.yearly-f9a5918d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-16cfbc7d.js → HEAD CIRCUM_GIRLS.zscore.monthly-d03c8f32.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-650f4be9.js → HEAD CIRCUM_GIRLS.zscore.weekly-2f4dcbbf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c584822b.js → HEAD CIRCUM_GIRLS.zscore.yearly-c591fee9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-62789cca.js → HEIGHT_BOYS.percentile.monthly-db47d700.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-97afafc3.js → HEIGHT_BOYS.percentile.weekly-470fb944.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-da2812e9.js → HEIGHT_BOYS.percentile.yearly-3d8514ab.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3119e1e1.js → HEIGHT_BOYS.zscore.monthly-ab3b9fef.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ba3083d2.js → HEIGHT_BOYS.zscore.weekly-0b05f06d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-e18465d7.js → HEIGHT_BOYS.zscore.yearly-4f8b76da.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-93d58b61.js → HEIGHT_GIRLS.percentile.monthly-8af8940f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d5736eb7.js → HEIGHT_GIRLS.percentile.weekly-529b8d5a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-e27dc7ee.js → HEIGHT_GIRLS.percentile.yearly-e84ce42e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a85d14c7.js → HEIGHT_GIRLS.zscore.monthly-fede56ae.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7dd22322.js → HEIGHT_GIRLS.zscore.weekly-fa4fd754.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-98e2c2a3.js → HEIGHT_GIRLS.zscore.yearly-8d7487e8.js} +0 -0
- /package/build/esm/{Locale-7567da9b.js → Locale-aac36404.js} +0 -0
- /package/build/esm/{Visible-303b5e26.js → Visible-cde62f3a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e34a0e16.js → WEIGHT_BOYS.percentile.monthly-16bb3787.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-77f085c1.js → WEIGHT_BOYS.percentile.weekly-2c3bb779.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-10ea62ca.js → WEIGHT_BOYS.percentile.yearly-6269b827.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e3a25e9e.js → WEIGHT_BOYS.zscore.monthly-4f5b7858.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-1beaeff8.js → WEIGHT_BOYS.zscore.weekly-a58900df.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ff955b13.js → WEIGHT_BOYS.zscore.yearly-8748b87b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1b11f478.js → WEIGHT_GIRLS.percentile.monthly-a27979f0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-dcaf4939.js → WEIGHT_GIRLS.percentile.weekly-7847582c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a1f8fbb4.js → WEIGHT_GIRLS.percentile.yearly-8d35e5fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-dbdeb8b9.js → WEIGHT_GIRLS.zscore.monthly-29cf9907.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-6cd1c5a9.js → WEIGHT_GIRLS.zscore.weekly-e99a143f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-400781ea.js → WEIGHT_GIRLS.zscore.yearly-139a7897.js} +0 -0
- /package/build/esm/{animation-74081c1d.js → animation-fc83a703.js} +0 -0
- /package/build/esm/{constants-fa7da08d.js → constants-4baf3c0c.js} +0 -0
- /package/build/esm/{constants-d760af24.js → constants-80fe9572.js} +0 -0
- /package/build/esm/{constants-99e957b2.js → constants-f82bc91e.js} +0 -0
- /package/build/esm/{dataTransform-21b91abf.js → dataTransform-205b11b3.js} +0 -0
- /package/build/esm/{index-9a855bd2.js → index-169d467f.js} +0 -0
- /package/build/esm/{index-51ba196c.js → index-1c6b51c7.js} +0 -0
- /package/build/esm/{index-76844944.js → index-21068467.js} +0 -0
- /package/build/esm/{index-278df54b.js → index-23f09ffa.js} +0 -0
- /package/build/esm/{index-fa14f208.js → index-66f88b6a.js} +0 -0
- /package/build/esm/{index-17d70b8d.js → index-7818fff1.js} +0 -0
- /package/build/esm/{index-8503b14b.js → index-dfd08f11.js} +0 -0
- /package/build/esm/{index-e6a6c54b.js → index-f284d46f.js} +0 -0
- /package/build/esm/{index.styles-25b26121.js → index.styles-2f224e81.js} +0 -0
- /package/build/esm/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-066b2158.js → localizeNumberFormat-85ecc1f8.js} +0 -0
- /package/build/esm/{normalizeLink-2993c5ba.js → normalizeLink-853b9bd8.js} +0 -0
- /package/build/esm/{number-4c5dd2a0.js → number-89fa98fa.js} +0 -0
- /package/build/esm/{other-3b691fca.js → other-cf9902ef.js} +0 -0
- /package/build/esm/{paths-18d9804d.js → paths-9f502f6d.js} +0 -0
- /package/build/esm/{translationsContext-1dea23a6.js → translationsContext-8a8a9484.js} +0 -0
- /package/build/esm/{tslib.es6-04e96f3f.js → tslib.es6-0cb44555.js} +0 -0
- /package/build/esm/{types-fd555d7d.js → types-94ee7c0b.js} +0 -0
- /package/build/esm/{useIsInit-58d9ec1a.js → useIsInit-ab55ceb2.js} +0 -0
- /package/build/esm/{useOutsideClick-0f37568a.js → useOutsideClick-b76b3c83.js} +0 -0
- /package/build/esm/{useScrollbarSize-ea40e3e8.js → useScrollbarSize-0dc22f46.js} +0 -0
- /package/build/esm/{useUniqueId-ba1746f2.js → useUniqueId-cb108203.js} +0 -0
- /package/build/esm/{utils-56d0bd0f.js → utils-a2e416ad.js} +0 -0
- /package/build/{index-7547648f.js → index-2e94a876.js} +0 -0
- /package/build/{index-72969290.js → index-5cbe3960.js} +0 -0
- /package/build/{index-0a7505ab.js → index-6f8b7b64.js} +0 -0
- /package/build/{index-d74dca2d.js → index-7aae420b.js} +0 -0
- /package/build/{index-a08964d8.js → index-7de28bc7.js} +0 -0
- /package/build/{index-86bffa29.js → index-94ffefc0.js} +0 -0
- /package/build/{index-89aae9ce.js → index-a617d947.js} +0 -0
- /package/build/{index-f39acb16.js → index-c64e92d8.js} +0 -0
- /package/build/{index.styles-66a8e84f.js → index.styles-89309e0c.js} +0 -0
- /package/build/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-3363f1cd.js → localizeNumberFormat-d704c91d.js} +0 -0
- /package/build/{normalizeLink-0c0500b4.js → normalizeLink-65f625d1.js} +0 -0
- /package/build/{number-db904576.js → number-55619945.js} +0 -0
- /package/build/{other-0981a64e.js → other-65b308f5.js} +0 -0
- /package/build/{paths-e2e30a70.js → paths-1ad823da.js} +0 -0
- /package/build/{translationsContext-fe91f2bd.js → translationsContext-ae79a68c.js} +0 -0
- /package/build/{tslib.es6-bbcc0ba7.js → tslib.es6-3027863f.js} +0 -0
- /package/build/{types-c40a7d8e.js → types-41305282.js} +0 -0
- /package/build/{useIsInit-3e467c59.js → useIsInit-f4a7ee08.js} +0 -0
- /package/build/{useOutsideClick-40f65f83.js → useOutsideClick-ba55d42b.js} +0 -0
- /package/build/{useScrollbarSize-5725fe24.js → useScrollbarSize-55cccdd7.js} +0 -0
- /package/build/{useUniqueId-36e878cb.js → useUniqueId-f787f1e0.js} +0 -0
- /package/build/{utils-ea9573c1.js → utils-92829c83.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-0cb44555.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-1c6b51c7.js';
|
|
5
|
+
import { u as useTranslations } from './index-6e79f0d5.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-8a42e859.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-52e6ab04.js';
|
|
12
|
+
import './index-2cadfcb7.js';
|
|
13
|
+
import './index-7818fff1.js';
|
|
14
|
+
import './useMantineLocale-86cfb6bd.js';
|
|
15
|
+
import { T as Text } from './index-5bd43b7b.js';
|
|
16
|
+
import { B as Button } from './index-1b2eedde.js';
|
|
17
|
+
import './index.styles-2f224e81.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-a2e416ad.js';
|
|
20
|
+
import './other-cf9902ef.js';
|
|
21
|
+
import './index-4e14f521.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-eb102b34.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-1165d255.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-9bdd89a7.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-f82bc91e.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-0b755807.js';
|
|
28
|
+
import { C as CardAuthor } from './index-1f97d397.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-4bcc67ac.js';
|
|
30
|
+
import { I as Input } from './index-d320eac2.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-d45a5adf.js';
|
|
35
|
+
import { C as CardLink } from './index-cfd4cbfb.js';
|
|
36
|
+
import { B as BtnChoice } from './index-a743fa8e.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-aac36404.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-a73e0111.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-3c4438bc.js';
|
|
41
|
+
import { B as Button$1 } from './index-960c8cd2.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-cb108203.js';
|
|
44
|
+
import { U as UserAvatar } from './index-aeef32ec.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-84d15fea.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,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { L as LOCALE } from './Locale-
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
2
|
+
import { L as LOCALE } from './Locale-aac36404.js';
|
|
3
|
+
import { C as CommonGAssets } from './index-7818fff1.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
-
import { L as LogoIcon } from './logoIcon-
|
|
7
|
-
import './index-
|
|
8
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
5
|
+
import { M as MediaQueries } from './utils-a2e416ad.js';
|
|
6
|
+
import { L as LogoIcon } from './logoIcon-01e18236.js';
|
|
7
|
+
import './index-2cadfcb7.js';
|
|
8
|
+
import { I as ImageWrap } from './useScreenSize-3b7ab547.js';
|
|
9
9
|
|
|
10
10
|
const StyledLogo = styled.div `
|
|
11
11
|
position: relative;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default, { useState, useMemo, useContext, useEffect, createContext, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { H as Heading } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-
|
|
2
|
+
import { B as Button } from './index-960c8cd2.js';
|
|
3
|
+
import { H as Heading } from './index-b8ef2e1f.js';
|
|
4
|
+
import { T as Text } from './index-5bd43b7b.js';
|
|
5
|
+
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-a2e416ad.js';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
|
-
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext } from './utils-
|
|
7
|
+
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext } from './utils-1165d255.js';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
9
|
import { theme } from './miscTheme.js';
|
|
10
|
-
import { a as __awaiter } from './tslib.es6-
|
|
11
|
-
import { I as Input } from './index-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
13
|
-
import { e as formatComment } from './dataTransform-
|
|
14
|
-
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG } from './constants-
|
|
10
|
+
import { a as __awaiter } from './tslib.es6-0cb44555.js';
|
|
11
|
+
import { I as Input } from './index-d320eac2.js';
|
|
12
|
+
import { u as useTranslations } from './index-6e79f0d5.js';
|
|
13
|
+
import { e as formatComment } from './dataTransform-9bdd89a7.js';
|
|
14
|
+
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG } from './constants-f82bc91e.js';
|
|
15
15
|
import { PATHS } from './togetherApiPaths.js';
|
|
16
|
-
import { j as removeBannedWordWrapper, i as getMentionIdsFromString, k as encodePostContent, u as uploadAndGetSrc } from './post-
|
|
17
|
-
import { C as CardLink } from './index-
|
|
18
|
-
import { L as Loading } from './index-
|
|
19
|
-
import { U as UserAvatar } from './index-
|
|
20
|
-
import { R as RichTextEditor } from './editor-
|
|
16
|
+
import { j as removeBannedWordWrapper, i as getMentionIdsFromString, k as encodePostContent, u as uploadAndGetSrc } from './post-0b755807.js';
|
|
17
|
+
import { C as CardLink } from './index-cfd4cbfb.js';
|
|
18
|
+
import { L as Loading } from './index-a73e0111.js';
|
|
19
|
+
import { U as UserAvatar } from './index-aeef32ec.js';
|
|
20
|
+
import { R as RichTextEditor } from './editor-4bcc67ac.js';
|
|
21
21
|
import { Portal } from '@mantine/core';
|
|
22
22
|
import { FullScreen } from '@hhgtech/icons/other';
|
|
23
|
-
import { P as Popup } from './index-
|
|
24
|
-
import { C as CloseIcon } from './index-
|
|
23
|
+
import { P as Popup } from './index-fb740490.js';
|
|
24
|
+
import { C as CloseIcon } from './index-3c4438bc.js';
|
|
25
25
|
import { ShareBox } from './togetherShareBox.js';
|
|
26
26
|
|
|
27
27
|
const useImagePicker = (imageFilesProp, onImageFilesChange) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-a2e416ad.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|