@hhgtech/hhg-components 1.29.392 → 1.29.394-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-7c667a25.js → InputDate-c1865790.js} +17 -7
- package/build/{LastPeriod-dda1203c.js → LastPeriod-7e67526a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-4a80b6c7.js → MobileBottomNavigationIcon-7804ffcd.js} +3 -3
- package/build/{Spinner-48dd7d71.js → Spinner-9ad81cc2.js} +1 -1
- package/build/{WhatsApp-03bea647.js → WhatsApp-bd102c81.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-3eee3bed.js → constants-6df10328.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-61111236.js → core-04b34389.js} +1 -1
- package/build/{dataTransform-ab7d0955.js → dataTransform-d9461a8f.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-07db6249.js → editor-e72a022f.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-5b2fc89b.js → InputDate-36198e12.js} +17 -7
- package/build/esm/{LastPeriod-288b1869.js → LastPeriod-21826093.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-6f57a780.js → MobileBottomNavigationIcon-57248f6d.js} +3 -3
- package/build/esm/{Spinner-495ee36e.js → Spinner-301b48d8.js} +1 -1
- package/build/esm/{WhatsApp-3d10d70b.js → WhatsApp-dc584d73.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-e36958c7.js → constants-fb7d3dd5.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-8540c768.js → core-3280d7df.js} +1 -1
- package/build/esm/{dataTransform-4d3a6854.js → dataTransform-b2803509.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-13b3031d.js → editor-f6ffc468.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-246d57b9.js → healthTools-e5020eb5.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks/usePreventScroll.d.ts +2 -2
- 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-3549f196.js → index-08e8d95e.js} +24 -24
- package/build/esm/{index-09b9153c.js → index-121eca86.js} +6 -6
- package/build/esm/{index-07161a73.js → index-142421a4.js} +1 -1
- package/build/esm/{index-6d9baa6a.js → index-14afb455.js} +2 -2
- package/build/esm/{index-19ce2735.js → index-15518ce2.js} +2 -2
- package/build/esm/{index-6cfdd367.js → index-176e704f.js} +31 -31
- package/build/esm/{index-c68db016.js → index-1ab47fc4.js} +213 -147
- package/build/esm/{index-8fcf227d.js → index-1b4a9dc3.js} +7 -7
- package/build/esm/{index-b87cc20c.js → index-1da7704d.js} +18 -18
- package/build/esm/{index-f377ee16.js → index-231b01bc.js} +31 -31
- package/build/esm/{index-5bbef3e1.js → index-2adc09ee.js} +1 -1
- package/build/esm/{index-fd50ebba.js → index-2c6e15e2.js} +2 -2
- package/build/esm/{index-0d91f904.js → index-324e3c4e.js} +4 -4
- package/build/esm/{index-b43b8fce.js → index-353aaf10.js} +2 -2
- package/build/esm/{index-02754236.js → index-3627cf3f.js} +3 -3
- package/build/esm/{index-5c821474.js → index-3a326de5.js} +2 -2
- package/build/esm/{index-a0aefa52.js → index-3d74a659.js} +11 -11
- package/build/esm/{index-f0f24b0e.js → index-4116584b.js} +2 -2
- package/build/esm/{index-64a73e02.js → index-4173d41f.js} +5 -5
- package/build/esm/{index-bfdb755b.js → index-49fdfdd6.js} +13 -13
- package/build/esm/{index-feed474a.js → index-4d2eb768.js} +6 -6
- package/build/esm/{index-b20207a3.js → index-55bb8385.js} +16 -16
- package/build/esm/{index-3cee170a.js → index-5a4fc9b1.js} +16 -16
- package/build/esm/{index-1fa5a0e8.js → index-5a7b6624.js} +8 -8
- package/build/esm/{index-5cd16acb.js → index-6bd4486d.js} +22 -22
- package/build/esm/{index-97ca7d33.js → index-6cac828f.js} +3 -3
- package/build/esm/{index-28a1dbbd.js → index-6fca5112.js} +1 -1
- package/build/esm/{index-61d04b9e.js → index-705b8d1a.js} +1 -1
- package/build/esm/{index-4313a9a0.js → index-75b4acc9.js} +10 -10
- package/build/esm/{index-84655909.js → index-77138666.js} +2 -2
- package/build/esm/{index-28e68d00.js → index-78288732.js} +17 -17
- package/build/esm/{index-05391cf0.js → index-7e3aac35.js} +1 -1
- package/build/esm/{index-5dbf5789.js → index-8230aa5f.js} +17 -17
- package/build/esm/{index-420637a8.js → index-950269df.js} +13 -13
- package/build/esm/{index-e3f42063.js → index-9a0668ca.js} +1 -1
- package/build/esm/{index-5d721bea.js → index-a0357cdc.js} +2 -2
- package/build/esm/{index-b407f3d6.js → index-a34a5a9c.js} +17 -17
- package/build/esm/{index-fd8d47d1.js → index-a4323bc7.js} +4 -4
- package/build/esm/{index-c11b4bd7.js → index-ab42b6e5.js} +2 -2
- package/build/esm/{index-bfbe673d.js → index-ad88a49e.js} +6 -6
- package/build/esm/{index-b270fe20.js → index-aed5fe53.js} +1 -1
- package/build/esm/{index-77725655.js → index-af09ed8e.js} +16 -16
- package/build/esm/{index-fedd765d.js → index-b44bb5f6.js} +6 -6
- package/build/esm/{index-947fba42.js → index-b61d2fa5.js} +2 -2
- package/build/esm/{index-a482546a.js → index-b8bd63dd.js} +3 -3
- package/build/esm/{index-007da62d.js → index-ba2e10fa.js} +21 -21
- package/build/esm/{index-7e4bdaaa.js → index-c2a219c5.js} +7 -7
- package/build/esm/{index-42b16695.js → index-c68f7778.js} +3 -3
- package/build/esm/{index-938a3f78.js → index-c7b5065c.js} +1 -1
- package/build/esm/{index-0cd8c99b.js → index-c893696a.js} +13 -13
- package/build/esm/{index-ee75daff.js → index-d672db33.js} +3 -3
- package/build/esm/{index-724bc222.js → index-da12fcca.js} +3 -3
- package/build/esm/{index-990b5e8f.js → index-db81491b.js} +6 -6
- package/build/esm/{index-d1400900.js → index-dd3538ae.js} +16 -16
- package/build/esm/{index-4ce00177.js → index-e0002280.js} +18 -18
- package/build/esm/{index-14fb86be.js → index-e0506a38.js} +17 -17
- package/build/esm/{index-b36a3861.js → index-e1c2537c.js} +120 -7
- package/build/esm/{index-dd82f09b.js → index-e2b7b7f8.js} +13 -13
- package/build/esm/{index-563c3e02.js → index-e2feca56.js} +2 -2
- package/build/esm/{index-ca5e4379.js → index-e4c26cc5.js} +2 -2
- package/build/esm/{index-1201f785.js → index-eff68c42.js} +15 -15
- package/build/esm/{index-780ee2fa.js → index-f1eaad47.js} +25 -25
- package/build/esm/{index-70906a72.js → index-f25cc557.js} +2 -2
- package/build/esm/{index-ecab2db0.js → index-fbf3d4f8.js} +1 -1
- package/build/esm/index.js +118 -119
- package/build/esm/{labelSorting-4c6b40fe.js → labelSorting-5704e799.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 +737 -131
- package/build/esm/{logoIcon-b268928b.js → logoIcon-e56c0447.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-56703738.js → post-92683818.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-25c6b828.js → store-899aa3dd.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-9258b07d.js → surveyThankyouCard-272d1a63.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-47642b78.js → translationsProvider-c06d92ab.js} +1 -1
- package/build/esm/{treePopoverMenu-e22aa257.js → treePopoverMenu-79eb6005.js} +19 -19
- package/build/esm/{types-d32c678d.js → types-afae9694.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-f03c9e67.js → useCategory-527a2dba.js} +5 -5
- package/build/esm/{useHealthToolCache-848a58f6.js → useHealthToolCache-228044ce.js} +1 -1
- package/build/esm/{useMantineLocale-41118166.js → useMantineLocale-9b2cc745.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-790db45f.js → usePlacesAutocomplete-b847fa53.js} +1 -1
- package/build/esm/{useScreenSize-6f13a7fd.js → useScreenSize-e5a11e21.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-15e98ad8.js → utils-1472497c.js} +5 -5
- package/build/esm/{utils-83401f11.js → utils-696f17ac.js} +3 -3
- package/build/esm/{utils-a3f438a4.js → utils-d0fc162a.js} +2 -2
- package/build/esm/{utils-dbc3846f.js → utils-f6a2afa8.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-3bf83db8.js → healthTools-653caa50.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks/usePreventScroll.d.ts +2 -2
- 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-644eb5a7.js → index-06dbea59.js} +7 -7
- package/build/{index-f7372714.js → index-10b1f42a.js} +15 -15
- package/build/{index-0395e458.js → index-1101dfdc.js} +31 -31
- package/build/{index-9856b9ef.js → index-21d84e7b.js} +1 -1
- package/build/{index-0611ad61.js → index-21eade5f.js} +2 -2
- package/build/{index-ddb6b444.js → index-25a87fcf.js} +17 -17
- package/build/{index-6ba6df7e.js → index-25c28b49.js} +3 -3
- package/build/{index-be7f512c.js → index-26c8a767.js} +24 -24
- package/build/{index-bfb52fca.js → index-26f118d2.js} +16 -16
- package/build/{index-6c4bee8e.js → index-320c9632.js} +2 -2
- package/build/{index-7f05c8a7.js → index-32a9e4ae.js} +13 -13
- package/build/{index-12464ef6.js → index-38ac79da.js} +1 -1
- package/build/{index-f17a396c.js → index-3e1e7484.js} +6 -6
- package/build/{index-3a5b485a.js → index-3f1880c4.js} +1 -1
- package/build/{index-b0d41cce.js → index-4037d951.js} +2 -2
- package/build/{index-47dfeae7.js → index-48764132.js} +16 -16
- package/build/{index-d9eef270.js → index-4f64c513.js} +1 -1
- package/build/{index-ed6fc31b.js → index-52347ef0.js} +2 -2
- package/build/{index-856226fb.js → index-5682321c.js} +2 -2
- package/build/{index-abdc048e.js → index-5bc43e8f.js} +2 -2
- package/build/{index-d8a37820.js → index-5e7659c6.js} +3 -3
- package/build/{index-e5275d1f.js → index-64b6b559.js} +18 -18
- package/build/{index-856c2891.js → index-66a4e511.js} +2 -2
- package/build/{index-9e3f7d45.js → index-6a41c996.js} +4 -4
- package/build/{index-0dffb6c4.js → index-74f52a77.js} +119 -5
- package/build/{index-5c09228b.js → index-794b7e5b.js} +13 -13
- package/build/{index-a006bd68.js → index-81d7ceae.js} +2 -2
- package/build/{index-95d5222f.js → index-82b21243.js} +6 -6
- package/build/{index-b74bd81f.js → index-83f6cfa6.js} +3 -3
- package/build/{index-c41e383f.js → index-8453f5e1.js} +3 -3
- package/build/{index-b2c78e7e.js → index-85cbd270.js} +2 -2
- package/build/{index-cbacaaee.js → index-8bda455f.js} +11 -11
- package/build/{index-ae24413b.js → index-93d97716.js} +1 -1
- package/build/{index-437a1767.js → index-94506884.js} +3 -3
- package/build/{index-2eda3c07.js → index-95a0e7d1.js} +7 -7
- package/build/{index-0b7789cb.js → index-95a4a19d.js} +16 -16
- package/build/{index-af161468.js → index-99997dc7.js} +212 -146
- package/build/{index-8c03a89a.js → index-9a0129ef.js} +1 -1
- package/build/{index-2ba74822.js → index-9b749bae.js} +21 -21
- package/build/{index-6cc14025.js → index-9b9bc510.js} +17 -17
- package/build/{index-878f8dc8.js → index-9f4d2f6a.js} +22 -22
- package/build/{index-4aad3984.js → index-a67ea5b9.js} +8 -8
- package/build/{index-dcae31ae.js → index-aa4f5002.js} +25 -25
- package/build/{index-f305f43f.js → index-b0b7671b.js} +16 -16
- package/build/{index-45eca5e2.js → index-b468d338.js} +6 -6
- package/build/{index-0dbec5e2.js → index-b9938263.js} +5 -5
- package/build/{index-54d513ab.js → index-bcf73fc1.js} +31 -31
- package/build/{index-43b5370e.js → index-c7cad49b.js} +2 -2
- package/build/{index-908d7f27.js → index-c896959e.js} +18 -18
- package/build/{index-a7d78872.js → index-cc27e469.js} +17 -17
- package/build/{index-982076f5.js → index-ce581ccb.js} +10 -10
- package/build/{index-36e6ab4b.js → index-d0dd024f.js} +3 -3
- package/build/{index-1371f85a.js → index-d244a891.js} +2 -2
- package/build/{index-44af5fe1.js → index-d6ba08ae.js} +13 -13
- package/build/{index-efbf26eb.js → index-d83af8e4.js} +6 -6
- package/build/{index-1c7561b3.js → index-dac62e55.js} +1 -1
- package/build/{index-f46495e8.js → index-dbb59ecb.js} +2 -2
- package/build/{index-27db637d.js → index-e71d7076.js} +2 -2
- package/build/{index-354f526f.js → index-eb2a4a99.js} +1 -1
- package/build/{index-6008020d.js → index-ec120e45.js} +6 -6
- package/build/{index-4fd8817f.js → index-ed60d558.js} +13 -13
- package/build/{index-57abfea5.js → index-f2a87773.js} +17 -17
- package/build/{index-f39922db.js → index-f6aac7e2.js} +1 -1
- package/build/{index-f53850dd.js → index-f77114be.js} +4 -4
- package/build/index.js +184 -185
- package/build/{labelSorting-5efeb80c.js → labelSorting-e7776dea.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 +735 -129
- package/build/{logoIcon-b82964e8.js → logoIcon-9b552c6b.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-ff6145f1.js → post-a890e84e.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-dcbaa402.js → store-782200be.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-39255f44.js → surveyThankyouCard-2d6083c8.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-1f3fa7f9.js → translationsProvider-e394c55a.js} +1 -1
- package/build/{treePopoverMenu-8efa842d.js → treePopoverMenu-b601dbeb.js} +19 -19
- package/build/{types-0a7a06d0.js → types-2c12bc70.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-fc9d2495.js → useCategory-9e6fd5ca.js} +5 -5
- package/build/{useHealthToolCache-f0f3c021.js → useHealthToolCache-7096516c.js} +1 -1
- package/build/{useMantineLocale-70c2855e.js → useMantineLocale-c8139bb7.js} +6 -6
- package/build/{usePlacesAutocomplete-3851d770.js → usePlacesAutocomplete-80b6a1e1.js} +1 -1
- package/build/{useScreenSize-1014b9df.js → useScreenSize-fa9a40dc.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-842f5cbb.js → utils-1de1db2d.js} +5 -5
- package/build/{utils-9dbb9b30.js → utils-6c1cf762.js} +2 -2
- package/build/{utils-619f5126.js → utils-99e1e148.js} +3 -3
- package/build/{utils-a2025a7b.js → utils-b0814ee8.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-35fefdf8.js +0 -118
- package/build/index-397fe63a.js +0 -125
- /package/build/{BMI_BOYS.percentile.monthly-ad877ea9.js → BMI_BOYS.percentile.monthly-4d41c55c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-20f25b98.js → BMI_BOYS.percentile.weekly-0bbdced4.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b28dd1f4.js → BMI_BOYS.percentile.yearly-f4393bc6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-cd57a7b4.js → BMI_BOYS.zscore.monthly-aae853cc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-02ced639.js → BMI_BOYS.zscore.weekly-6255c659.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-09fcbeee.js → BMI_BOYS.zscore.yearly-62fc5e16.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-63c8a9f4.js → BMI_GIRLS.percentile.monthly-9d68b1a1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-782b69b5.js → BMI_GIRLS.percentile.weekly-3614e5bb.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-d11b201d.js → BMI_GIRLS.percentile.yearly-bc551fb0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-68daac75.js → BMI_GIRLS.zscore.monthly-54ce035b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-365398d0.js → BMI_GIRLS.zscore.weekly-e6f1bd2c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f958b797.js → BMI_GIRLS.zscore.yearly-1aaf4bae.js} +0 -0
- /package/build/{ChevronDown-ee087832.js → ChevronDown-2cd29bf1.js} +0 -0
- /package/build/{Close-9f319481.js → Close-f80f974b.js} +0 -0
- /package/build/{Google-a803a647.js → Google-d92c7d7e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d5048969.js → HEAD CIRCUM_BOYS.percentile.monthly-2d3e11e4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-44a391ee.js → HEAD CIRCUM_BOYS.percentile.weekly-d549e837.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ffbec09a.js → HEAD CIRCUM_BOYS.percentile.yearly-5b7c1144.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-9239a118.js → HEAD CIRCUM_BOYS.zscore.monthly-8f8c0f27.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-7f4c5a2c.js → HEAD CIRCUM_BOYS.zscore.weekly-e42060db.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9b6734d7.js → HEAD CIRCUM_BOYS.zscore.yearly-067624be.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-be241e7c.js → HEAD CIRCUM_GIRLS.percentile.monthly-a15af00e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6c92302c.js → HEAD CIRCUM_GIRLS.percentile.weekly-45f5a4b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-92092433.js → HEAD CIRCUM_GIRLS.percentile.yearly-3bcd95ad.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9180f72a.js → HEAD CIRCUM_GIRLS.zscore.monthly-e8454274.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-60ae4529.js → HEAD CIRCUM_GIRLS.zscore.weekly-d3dbb659.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-707dc4e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-d91d82e0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a68374b4.js → HEIGHT_BOYS.percentile.monthly-3ac06ede.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-aa0781d8.js → HEIGHT_BOYS.percentile.weekly-e5fd04d3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-7e9d1319.js → HEIGHT_BOYS.percentile.yearly-c329c1d7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2dafd6bd.js → HEIGHT_BOYS.zscore.monthly-15dc2e18.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6b147ba5.js → HEIGHT_BOYS.zscore.weekly-7b2d1a00.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c71ade21.js → HEIGHT_BOYS.zscore.yearly-3c6d7abf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-0ae4b3e0.js → HEIGHT_GIRLS.percentile.monthly-c9b83e03.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-bb2adf78.js → HEIGHT_GIRLS.percentile.weekly-8497ca54.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-448741a8.js → HEIGHT_GIRLS.percentile.yearly-38b91770.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-95e226f6.js → HEIGHT_GIRLS.zscore.monthly-154003c8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-bfa9530c.js → HEIGHT_GIRLS.zscore.weekly-22d875d9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-513d2cdd.js → HEIGHT_GIRLS.zscore.yearly-d4f7f1a1.js} +0 -0
- /package/build/{Locale-07761401.js → Locale-635991da.js} +0 -0
- /package/build/{Visible-d53e80e8.js → Visible-3a19dcd9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-e4504e21.js → WEIGHT_BOYS.percentile.monthly-d9c7a5da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-408f6229.js → WEIGHT_BOYS.percentile.weekly-98fbe22d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-fbf7b423.js → WEIGHT_BOYS.percentile.yearly-2370f316.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8ad79df1.js → WEIGHT_BOYS.zscore.monthly-ecff2b53.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-152e5b81.js → WEIGHT_BOYS.zscore.weekly-691e0972.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-eafff075.js → WEIGHT_BOYS.zscore.yearly-f3dde836.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8926de73.js → WEIGHT_GIRLS.percentile.monthly-1e5c08c9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-81513545.js → WEIGHT_GIRLS.percentile.weekly-9525bab3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0c4d0577.js → WEIGHT_GIRLS.percentile.yearly-8352f79a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4f9f7e50.js → WEIGHT_GIRLS.zscore.monthly-51e5f4fd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-14b366c1.js → WEIGHT_GIRLS.zscore.weekly-ff4c8327.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-d2c4271f.js → WEIGHT_GIRLS.zscore.yearly-229bddb3.js} +0 -0
- /package/build/{animation-ca60f37f.js → animation-27b62223.js} +0 -0
- /package/build/{constants-1e73c9ee.js → constants-2761c1ca.js} +0 -0
- /package/build/{constants-577f2346.js → constants-601f5c57.js} +0 -0
- /package/build/{constants-2ef2576b.js → constants-88c217e9.js} +0 -0
- /package/build/{dataTransform-70a89108.js → dataTransform-4d86f853.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-4ed3845a.js → BMI_BOYS.percentile.monthly-9d2865c9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ca402c08.js → BMI_BOYS.percentile.weekly-a88623f5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-16aa0ea7.js → BMI_BOYS.percentile.yearly-e38296b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-4188ea03.js → BMI_BOYS.zscore.monthly-f6b08b71.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9cd31b4b.js → BMI_BOYS.zscore.weekly-203321fe.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b2e79e14.js → BMI_BOYS.zscore.yearly-42facc2d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-8487754a.js → BMI_GIRLS.percentile.monthly-da7c670b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-7d9db100.js → BMI_GIRLS.percentile.weekly-7622536c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-0acdaed3.js → BMI_GIRLS.percentile.yearly-b4f425f8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d0e4723a.js → BMI_GIRLS.zscore.monthly-1929ac3c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-32e3f351.js → BMI_GIRLS.zscore.weekly-e2cdae1f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-dad5d653.js → BMI_GIRLS.zscore.yearly-75e1959d.js} +0 -0
- /package/build/esm/{ChevronDown-c3f963a5.js → ChevronDown-4f1b9955.js} +0 -0
- /package/build/esm/{Close-20df0bd5.js → Close-6fe1b9a2.js} +0 -0
- /package/build/esm/{Google-dd3016a9.js → Google-0cd3c69d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8894d48b.js → HEAD CIRCUM_BOYS.percentile.monthly-9c18ff34.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-dc5cdd48.js → HEAD CIRCUM_BOYS.percentile.weekly-4a61bacf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c09badba.js → HEAD CIRCUM_BOYS.percentile.yearly-44125ece.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d2d6a979.js → HEAD CIRCUM_BOYS.zscore.monthly-d9a45b24.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8f61e2e7.js → HEAD CIRCUM_BOYS.zscore.weekly-6b7a699b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6994ed4e.js → HEAD CIRCUM_BOYS.zscore.yearly-e163e188.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4ce5505d.js → HEAD CIRCUM_GIRLS.percentile.monthly-4c6bc353.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1834ad81.js → HEAD CIRCUM_GIRLS.percentile.weekly-520df883.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a90bc53d.js → HEAD CIRCUM_GIRLS.percentile.yearly-82eb37ff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-ec718985.js → HEAD CIRCUM_GIRLS.zscore.monthly-c7aefa10.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-dd6fb048.js → HEAD CIRCUM_GIRLS.zscore.weekly-5aa8d19f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d52f81be.js → HEAD CIRCUM_GIRLS.zscore.yearly-05f0a933.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-57d1cc48.js → HEIGHT_BOYS.percentile.monthly-fb8d2a02.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8c9ba925.js → HEIGHT_BOYS.percentile.weekly-fe63a8da.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1a00f66d.js → HEIGHT_BOYS.percentile.yearly-852109aa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3d4d60c7.js → HEIGHT_BOYS.zscore.monthly-99451d28.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-6a7b2ac9.js → HEIGHT_BOYS.zscore.weekly-f7bd0016.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ddddccce.js → HEIGHT_BOYS.zscore.yearly-751bb07c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-95d07f66.js → HEIGHT_GIRLS.percentile.monthly-9b7f95e0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8aa56c60.js → HEIGHT_GIRLS.percentile.weekly-8fc67913.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-466b8b7c.js → HEIGHT_GIRLS.percentile.yearly-e0fc0cef.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8738228c.js → HEIGHT_GIRLS.zscore.monthly-54920f91.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a566d7d8.js → HEIGHT_GIRLS.zscore.weekly-fe43d7f6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-222a4655.js → HEIGHT_GIRLS.zscore.yearly-30088e6d.js} +0 -0
- /package/build/esm/{Locale-2680ebb3.js → Locale-3c079669.js} +0 -0
- /package/build/esm/{Visible-89fc62dd.js → Visible-74e0fd50.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-0761d04a.js → WEIGHT_BOYS.percentile.monthly-9ba88b6a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5399ce71.js → WEIGHT_BOYS.percentile.weekly-21738f23.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6a3fd579.js → WEIGHT_BOYS.percentile.yearly-2db979c3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-7b810532.js → WEIGHT_BOYS.zscore.monthly-976c506e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f241b744.js → WEIGHT_BOYS.zscore.weekly-e8447e35.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f188c232.js → WEIGHT_BOYS.zscore.yearly-a0ac81d2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d942be86.js → WEIGHT_GIRLS.percentile.monthly-481857dd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b9d69043.js → WEIGHT_GIRLS.percentile.weekly-8c85e143.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-efd30967.js → WEIGHT_GIRLS.percentile.yearly-ed8939b4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ad05061e.js → WEIGHT_GIRLS.zscore.monthly-189bcee0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1bb61a63.js → WEIGHT_GIRLS.zscore.weekly-379a055e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-420c6d2b.js → WEIGHT_GIRLS.zscore.yearly-026457d0.js} +0 -0
- /package/build/esm/{animation-cb77c558.js → animation-0d7dec8f.js} +0 -0
- /package/build/esm/{constants-34416881.js → constants-10c6bd63.js} +0 -0
- /package/build/esm/{constants-54f00416.js → constants-23d94304.js} +0 -0
- /package/build/esm/{constants-d137c8ef.js → constants-b9518376.js} +0 -0
- /package/build/esm/{dataTransform-49e51307.js → dataTransform-dfff0623.js} +0 -0
- /package/build/esm/{index-eb396268.js → index-07c24591.js} +0 -0
- /package/build/esm/{index-7a4cfc95.js → index-1721ed88.js} +0 -0
- /package/build/esm/{index-67830e99.js → index-5c6c0311.js} +0 -0
- /package/build/esm/{index-188012d7.js → index-8839fe4b.js} +0 -0
- /package/build/esm/{index-6d329505.js → index-8e5beeda.js} +0 -0
- /package/build/esm/{index-1ee3b4c0.js → index-def91b42.js} +0 -0
- /package/build/esm/{index-495e0eca.js → index-edd9916a.js} +0 -0
- /package/build/esm/{index-57ef8115.js → index-f93e5017.js} +0 -0
- /package/build/esm/{index.styles-bcc9b795.js → index.styles-491e88da.js} +0 -0
- /package/build/esm/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-415f8b3b.js → localizeNumberFormat-44c5e76d.js} +0 -0
- /package/build/esm/{normalizeLink-e7bcd5c8.js → normalizeLink-7cb62382.js} +0 -0
- /package/build/esm/{number-55c31619.js → number-69408502.js} +0 -0
- /package/build/esm/{other-680529e5.js → other-94474cd6.js} +0 -0
- /package/build/esm/{paths-608ea9ef.js → paths-ede75552.js} +0 -0
- /package/build/esm/{translationsContext-c41a99f3.js → translationsContext-4576c0e2.js} +0 -0
- /package/build/esm/{tslib.es6-7369a886.js → tslib.es6-14dd4d35.js} +0 -0
- /package/build/esm/{types-db49d755.js → types-c668ae44.js} +0 -0
- /package/build/esm/{useIsInit-7e5346fc.js → useIsInit-c50f4ae4.js} +0 -0
- /package/build/esm/{useOutsideClick-3a261a60.js → useOutsideClick-9c282fb7.js} +0 -0
- /package/build/esm/{useScrollbarSize-21b194d3.js → useScrollbarSize-e529618a.js} +0 -0
- /package/build/esm/{useUniqueId-d6bcf402.js → useUniqueId-a1f357b3.js} +0 -0
- /package/build/esm/{utils-e60df37f.js → utils-33115067.js} +0 -0
- /package/build/{index-eb579552.js → index-0e412c95.js} +0 -0
- /package/build/{index-8645866a.js → index-2d7cafe2.js} +0 -0
- /package/build/{index-74085b56.js → index-2f78dffb.js} +0 -0
- /package/build/{index-d468e339.js → index-34cfe316.js} +0 -0
- /package/build/{index-49e3f7a6.js → index-35ef2747.js} +0 -0
- /package/build/{index-53e2737c.js → index-3d7b00a9.js} +0 -0
- /package/build/{index-0603e5ad.js → index-75612645.js} +0 -0
- /package/build/{index-58c9ecc0.js → index-e0a2e6c4.js} +0 -0
- /package/build/{index.styles-c72f23e6.js → index.styles-daf6d59a.js} +0 -0
- /package/build/lead/layouts/{ emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-5e848aeb.js → localizeNumberFormat-f6aeb325.js} +0 -0
- /package/build/{normalizeLink-9a857fc1.js → normalizeLink-1cd199de.js} +0 -0
- /package/build/{number-1f09201d.js → number-84913da7.js} +0 -0
- /package/build/{other-364bdd32.js → other-8fdfa714.js} +0 -0
- /package/build/{paths-6ff798b4.js → paths-a41bd71a.js} +0 -0
- /package/build/{translationsContext-4ffd4844.js → translationsContext-16e64ae3.js} +0 -0
- /package/build/{tslib.es6-d58803ed.js → tslib.es6-84736a3d.js} +0 -0
- /package/build/{types-821bed4a.js → types-5f7fee1e.js} +0 -0
- /package/build/{useIsInit-80f58117.js → useIsInit-337fe815.js} +0 -0
- /package/build/{useOutsideClick-f78bb49d.js → useOutsideClick-a95ebce3.js} +0 -0
- /package/build/{useScrollbarSize-0f19f4af.js → useScrollbarSize-dc8b348d.js} +0 -0
- /package/build/{useUniqueId-ab6eea4a.js → useUniqueId-a4b561bf.js} +0 -0
- /package/build/{utils-7cc85cb5.js → utils-eedfe9e1.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-14dd4d35.js';
|
|
2
2
|
import React__default, { useMemo, useEffect, useContext, useState, useRef, useCallback } from 'react';
|
|
3
|
-
import { V as VideoType } from './index-
|
|
4
|
-
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-
|
|
5
|
-
import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, c as VIDEO_LOCALES, S as STATIC_PAGES, L as LOCALE_SPECS } from './index-
|
|
6
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLink, e as normalizeLinkSlash, d as getCareApiDomain } from './normalizeLink-
|
|
7
|
-
import { a as formatCommunity, b as formatPost } from './dataTransform-
|
|
3
|
+
import { V as VideoType } from './index-c7b5065c.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-75b4acc9.js';
|
|
5
|
+
import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, c as VIDEO_LOCALES, S as STATIC_PAGES, L as LOCALE_SPECS } from './index-15518ce2.js';
|
|
6
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLink, e as normalizeLinkSlash, d as getCareApiDomain } from './normalizeLink-7cb62382.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-b2803509.js';
|
|
8
8
|
import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
|
|
9
9
|
import { createStyles, Box, Indicator, useMantineTheme } from '@mantine/core';
|
|
10
|
-
import { L as Logo$1 } from './index-
|
|
10
|
+
import { L as Logo$1 } from './index-b44bb5f6.js';
|
|
11
11
|
import throttle from 'lodash/throttle';
|
|
12
|
-
import { I as Input } from './index-
|
|
12
|
+
import { I as Input } from './index-3d74a659.js';
|
|
13
13
|
import '@mantine/dates';
|
|
14
|
-
import { C as CommonGAssets } from './index-
|
|
15
|
-
import './useMantineLocale-
|
|
16
|
-
import { T as Text } from './index-
|
|
17
|
-
import { B as Button$1 } from './index-
|
|
18
|
-
import './index.styles-
|
|
19
|
-
import './translationsContext-
|
|
14
|
+
import { C as CommonGAssets } from './index-def91b42.js';
|
|
15
|
+
import './useMantineLocale-9b2cc745.js';
|
|
16
|
+
import { T as Text } from './index-353aaf10.js';
|
|
17
|
+
import { B as Button$1 } from './index-705b8d1a.js';
|
|
18
|
+
import './index.styles-491e88da.js';
|
|
19
|
+
import './translationsContext-4576c0e2.js';
|
|
20
20
|
import '@mantine/hooks';
|
|
21
|
-
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-
|
|
22
|
-
import './other-
|
|
23
|
-
import './index-
|
|
24
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
21
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-33115067.js';
|
|
22
|
+
import './other-94474cd6.js';
|
|
23
|
+
import './index-c68f7778.js';
|
|
24
|
+
import { L as LOCALISED_SLUGS } from './constants-fb7d3dd5.js';
|
|
25
25
|
import styled from '@emotion/styled';
|
|
26
|
-
import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-
|
|
27
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
28
|
-
import { i as domainLocalesMarryBaby } from './utils-
|
|
26
|
+
import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-5a7b6624.js';
|
|
27
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-899aa3dd.js';
|
|
28
|
+
import { i as domainLocalesMarryBaby } from './utils-696f17ac.js';
|
|
29
29
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
30
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
31
|
-
import { u as useTranslations } from './index-
|
|
30
|
+
import { L as LOCALIZED_SLUGS } from './constants-b9518376.js';
|
|
31
|
+
import { u as useTranslations } from './index-6fca5112.js';
|
|
32
32
|
import { theme } from './miscTheme.js';
|
|
33
|
-
import { H as Heading } from './index-
|
|
33
|
+
import { H as Heading } from './index-2c6e15e2.js';
|
|
34
34
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
35
|
-
import { I as Indicator$1 } from './index-
|
|
36
|
-
import { u as useIsInit } from './useIsInit-
|
|
35
|
+
import { I as Indicator$1 } from './index-9a0668ca.js';
|
|
36
|
+
import { u as useIsInit } from './useIsInit-c50f4ae4.js';
|
|
37
37
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
38
|
-
import { B as Button } from './index-
|
|
38
|
+
import { B as Button } from './index-b61d2fa5.js';
|
|
39
39
|
import dayjs from 'dayjs';
|
|
40
40
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
41
|
-
import { U as UserAvatar } from './index-
|
|
41
|
+
import { U as UserAvatar } from './index-4116584b.js';
|
|
42
42
|
import formatString from 'string-format';
|
|
43
|
-
import { C as Container } from './index-
|
|
43
|
+
import { C as Container } from './index-f93e5017.js';
|
|
44
44
|
import debounce from 'lodash/debounce';
|
|
45
|
-
import { L as LOCALE } from './Locale-
|
|
46
|
-
import { g as getDataWithCache } from './core-
|
|
45
|
+
import { L as LOCALE } from './Locale-3c079669.js';
|
|
46
|
+
import { g as getDataWithCache } from './core-3280d7df.js';
|
|
47
47
|
|
|
48
48
|
const getEcomUrl = ({ path, locale, }) => {
|
|
49
49
|
var _a;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-14dd4d35.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-1721ed88.js';
|
|
5
|
+
import { u as useTranslations } from './index-6fca5112.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-3d74a659.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-15518ce2.js';
|
|
12
|
+
import './index-c7b5065c.js';
|
|
13
|
+
import './index-def91b42.js';
|
|
14
|
+
import './useMantineLocale-9b2cc745.js';
|
|
15
|
+
import { T as Text } from './index-353aaf10.js';
|
|
16
|
+
import { B as Button } from './index-705b8d1a.js';
|
|
17
|
+
import './index.styles-491e88da.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-33115067.js';
|
|
20
|
+
import './other-94474cd6.js';
|
|
21
|
+
import './index-c68f7778.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-78288732.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-696f17ac.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-b2803509.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-23d94304.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-92683818.js';
|
|
28
|
+
import { C as CardAuthor } from './index-af09ed8e.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-f6ffc468.js';
|
|
30
|
+
import { I as Input } from './index-e4c26cc5.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-f25cc557.js';
|
|
35
|
+
import { C as CardLink } from './index-4173d41f.js';
|
|
36
|
+
import { B as BtnChoice } from './index-142421a4.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-3c079669.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-3a326de5.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-db81491b.js';
|
|
41
|
+
import { B as Button$1 } from './index-b61d2fa5.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-a1f357b3.js';
|
|
44
|
+
import { U as UserAvatar } from './index-4116584b.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-e2feca56.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,67 @@ 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
|
+
}
|
|
3257
3325
|
`;
|
|
3258
3326
|
|
|
3259
3327
|
const CreatePostPhotos = ({ imageFiles: imageFilesInit, setImageFiles, }) => {
|
|
@@ -3424,12 +3492,10 @@ const applySpecialCharSite = [
|
|
|
3424
3492
|
];
|
|
3425
3493
|
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3426
3494
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3427
|
-
const { data: { locale,
|
|
3428
|
-
// env: { togetherBasePath },
|
|
3429
|
-
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3495
|
+
const { data: { locale }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3430
3496
|
const { t } = useTranslations();
|
|
3431
3497
|
const containerRef = useRef(null);
|
|
3432
|
-
const [isAskDoctor, setIsAskDoctor] = useState(
|
|
3498
|
+
const [isAskDoctor, setIsAskDoctor] = useState('');
|
|
3433
3499
|
const [specialCharErr, setspecialCharErr] = useState(false);
|
|
3434
3500
|
const [titleValue, setTitleValue] = useState('');
|
|
3435
3501
|
const [descriptionValue, setDescriptionValue] = useState('');
|
|
@@ -3454,6 +3520,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3454
3520
|
const [stepPost, setStepPost] = useState('step_info');
|
|
3455
3521
|
const [isLoadingSuggest, setIsLoadingSuggest] = useState(false);
|
|
3456
3522
|
const [uncategorizedId, setUncategorizedId] = useState('');
|
|
3523
|
+
const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);
|
|
3457
3524
|
const postActionType = [
|
|
3458
3525
|
{
|
|
3459
3526
|
label: t('cardPost.public'),
|
|
@@ -3476,18 +3543,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3476
3543
|
} })),
|
|
3477
3544
|
},
|
|
3478
3545
|
];
|
|
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
3546
|
const currentCommunity = forceSelectCommunity ||
|
|
3488
3547
|
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3489
3548
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3490
3549
|
useEffect(() => {
|
|
3550
|
+
var _a;
|
|
3491
3551
|
if (editPostData) {
|
|
3492
3552
|
const post = editPostData;
|
|
3493
3553
|
setTitleValue(post.title || '');
|
|
@@ -3496,9 +3556,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3496
3556
|
label: post.community.name,
|
|
3497
3557
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3498
3558
|
});
|
|
3499
|
-
// setSelectedTopics(post.topics || [])
|
|
3500
3559
|
setImageFiles(post.photos || []);
|
|
3501
|
-
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3560
|
+
setIsAskDoctor(((_a = (!!post.isAskDoctor)) === null || _a === void 0 ? void 0 : _a.toString()) || 'false');
|
|
3502
3561
|
}
|
|
3503
3562
|
else {
|
|
3504
3563
|
if (defaultCommunity) {
|
|
@@ -3507,9 +3566,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3507
3566
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3508
3567
|
});
|
|
3509
3568
|
}
|
|
3510
|
-
// if (defaultTopics) {
|
|
3511
|
-
// setSelectedTopics(defaultTopics)
|
|
3512
|
-
// }
|
|
3513
3569
|
}
|
|
3514
3570
|
}, []);
|
|
3515
3571
|
useEffect(() => {
|
|
@@ -3593,6 +3649,10 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3593
3649
|
});
|
|
3594
3650
|
hasError = true;
|
|
3595
3651
|
}
|
|
3652
|
+
if (!isAskDoctor) {
|
|
3653
|
+
errorMessage.askDoctor = t('createPost.message.askDoctor');
|
|
3654
|
+
hasError = true;
|
|
3655
|
+
}
|
|
3596
3656
|
if (imageFiles && imageFiles.length > 10) {
|
|
3597
3657
|
errorMessage.photos = t('createPost.message.photoMaxium');
|
|
3598
3658
|
hasError = true;
|
|
@@ -3633,94 +3693,92 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3633
3693
|
console.log(topicsList);
|
|
3634
3694
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3635
3695
|
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
|
-
});
|
|
3696
|
+
if (!isLoadingSubmit) {
|
|
3697
|
+
setIsLoadingSubmit(true);
|
|
3698
|
+
const isError = validationPost();
|
|
3699
|
+
if (isError) {
|
|
3700
|
+
return setIsLoadingSubmit(false);
|
|
3666
3701
|
}
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3702
|
+
const bodyFormData = yield getPostFormData({
|
|
3703
|
+
title: titleValue,
|
|
3704
|
+
description: descriptionValue,
|
|
3705
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3706
|
+
imageFiles,
|
|
3707
|
+
previewUrl,
|
|
3708
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3671
3709
|
locale,
|
|
3672
|
-
|
|
3710
|
+
sanitizeFunction,
|
|
3711
|
+
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3712
|
+
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3713
|
+
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3714
|
+
isAskDoctor: toBoolean(isAskDoctor) ? 1 : 0,
|
|
3715
|
+
introUrl: '',
|
|
3673
3716
|
});
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
? t('updatePost.popup.success')
|
|
3687
|
-
: t('createPost.popup.success'),
|
|
3688
|
-
type: 'success',
|
|
3689
|
-
});
|
|
3690
|
-
onCreateEditSuccess(resData);
|
|
3691
|
-
}
|
|
3692
|
-
else {
|
|
3693
|
-
if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
|
|
3694
|
-
pushNotifications({
|
|
3695
|
-
title: t('notification.post.blocked.title'),
|
|
3696
|
-
message: t('notification.post.blocked.message'),
|
|
3697
|
-
type: 'danger',
|
|
3698
|
-
});
|
|
3699
|
-
if (res.messages.moderation.words) {
|
|
3700
|
-
setBannedWords(res.messages.moderation.words);
|
|
3717
|
+
if (articleId) {
|
|
3718
|
+
bodyFormData.append('article_id', articleId);
|
|
3719
|
+
}
|
|
3720
|
+
console.log(uncategorized);
|
|
3721
|
+
let res;
|
|
3722
|
+
if (isInEditMode) {
|
|
3723
|
+
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3724
|
+
res = yield editPost({
|
|
3725
|
+
id: editPostData.id,
|
|
3726
|
+
formData: bodyFormData,
|
|
3727
|
+
locale,
|
|
3728
|
+
});
|
|
3701
3729
|
}
|
|
3702
3730
|
}
|
|
3703
|
-
else
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3731
|
+
else {
|
|
3732
|
+
res = yield createPost({
|
|
3733
|
+
formData: bodyFormData,
|
|
3734
|
+
locale,
|
|
3735
|
+
isArticleComment: true,
|
|
3708
3736
|
});
|
|
3709
|
-
onClose && onClose();
|
|
3710
3737
|
}
|
|
3711
|
-
|
|
3738
|
+
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3739
|
+
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
3740
|
pushNotifications({
|
|
3713
|
-
message:
|
|
3714
|
-
|
|
3741
|
+
message: isInEditMode
|
|
3742
|
+
? t('updatePost.popup.success')
|
|
3743
|
+
: t('createPost.popup.success'),
|
|
3744
|
+
type: 'success',
|
|
3715
3745
|
});
|
|
3716
|
-
|
|
3746
|
+
onCreateEditSuccess(resData);
|
|
3717
3747
|
}
|
|
3718
3748
|
else {
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3749
|
+
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') {
|
|
3750
|
+
pushNotifications({
|
|
3751
|
+
title: t('notification.post.blocked.title'),
|
|
3752
|
+
message: t('notification.post.blocked.message'),
|
|
3753
|
+
type: 'danger',
|
|
3754
|
+
});
|
|
3755
|
+
if (res.messages.moderation.words) {
|
|
3756
|
+
setBannedWords(res.messages.moderation.words);
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
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') {
|
|
3760
|
+
pushNotifications({
|
|
3761
|
+
title: t('notification.post.suspect.title'),
|
|
3762
|
+
message: t('notification.post.suspect.message'),
|
|
3763
|
+
type: 'warning',
|
|
3764
|
+
});
|
|
3765
|
+
onClose && onClose();
|
|
3766
|
+
}
|
|
3767
|
+
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')); })) {
|
|
3768
|
+
pushNotifications({
|
|
3769
|
+
message: t('notification.suspend.message'),
|
|
3770
|
+
type: 'danger',
|
|
3771
|
+
});
|
|
3772
|
+
onClose && onClose();
|
|
3773
|
+
}
|
|
3774
|
+
else {
|
|
3775
|
+
pushNotifications({
|
|
3776
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3777
|
+
type: 'danger',
|
|
3778
|
+
});
|
|
3779
|
+
}
|
|
3723
3780
|
}
|
|
3781
|
+
setIsLoadingSubmit(false);
|
|
3724
3782
|
}
|
|
3725
3783
|
});
|
|
3726
3784
|
const getFirstOrderErroKey = (orderKey) => {
|
|
@@ -3757,6 +3815,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3757
3815
|
return;
|
|
3758
3816
|
}
|
|
3759
3817
|
submitPost();
|
|
3818
|
+
// TODO: Current hard to keep AI suggest community
|
|
3760
3819
|
if (stepPost)
|
|
3761
3820
|
return;
|
|
3762
3821
|
if (isInEditMode) {
|
|
@@ -3857,28 +3916,39 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3857
3916
|
zIndex: 10,
|
|
3858
3917
|
width: 'calc(100% + 20px)',
|
|
3859
3918
|
} })))),
|
|
3860
|
-
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: isAskDoctor
|
|
3919
|
+
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: toBoolean(isAskDoctor)
|
|
3861
3920
|
? t('createPost.post.askDoctor.title')
|
|
3862
3921
|
: t('createPost.post.title'), onChange: setTitleValue }),
|
|
3863
3922
|
specialCharErr && (React__default.createElement(StyledError, null,
|
|
3864
3923
|
React__default.createElement(Info, { isSolid: true, color: theme.colors.red700, size: 14 }),
|
|
3865
3924
|
React__default.createElement(Text, { size: "p3", as: "span", color: theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
|
|
3866
3925
|
React__default.createElement("div", { className: "input-group" },
|
|
3867
|
-
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: isAskDoctor
|
|
3926
|
+
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: toBoolean(isAskDoctor)
|
|
3868
3927
|
? t('createPost.post.askDoctor.description')
|
|
3869
3928
|
: t('createPost.post.description'), onChange: (v) => {
|
|
3870
3929
|
setDescriptionValue(v);
|
|
3871
3930
|
removeKeyError('description');
|
|
3872
3931
|
}, 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
|
-
|
|
3932
|
+
React__default.createElement(StyledQuestionWrapperContainer, { className: error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : '' },
|
|
3933
|
+
React__default.createElement(StyledIsQuestionWrapper, null,
|
|
3934
|
+
React__default.createElement(StyledIsQuestion, { color: theme.colors.primaryBase },
|
|
3935
|
+
React__default.createElement("div", { className: "switch-label" },
|
|
3936
|
+
React__default.createElement(Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.colors.primaryBase, className: "label-icon" }),
|
|
3937
|
+
React__default.createElement("div", { className: "wrapper-text" },
|
|
3938
|
+
React__default.createElement("div", { className: "label-txt" }, t('createPost.askDoctor.description')))),
|
|
3939
|
+
React__default.createElement(StyleSwitchButton, { value: isAskDoctor, onChange: (val) => {
|
|
3940
|
+
setIsAskDoctor(val);
|
|
3941
|
+
}, data: [
|
|
3942
|
+
{
|
|
3943
|
+
label: t('createPost.askDoctorChoice.yes'),
|
|
3944
|
+
value: 'true',
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
label: t('createPost.askDoctorChoice.no'),
|
|
3948
|
+
value: 'false',
|
|
3949
|
+
},
|
|
3950
|
+
] })),
|
|
3951
|
+
error && (error === null || error === void 0 ? void 0 : error.askDoctor) && (React__default.createElement("div", { className: "error-choice-question" }, error.askDoctor)))),
|
|
3882
3952
|
error && (error === null || error === void 0 ? void 0 : error.description) && (React__default.createElement(StyledError, { style: { margin: '4px 0 0' } },
|
|
3883
3953
|
React__default.createElement(Text, { size: "p5", as: "span", color: theme.colors.red600 }, error.description)))) })),
|
|
3884
3954
|
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 +3959,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3889
3959
|
validationUploadPhoto(data);
|
|
3890
3960
|
} }),
|
|
3891
3961
|
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'))))));
|
|
3962
|
+
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
3963
|
};
|
|
3898
3964
|
|
|
3899
3965
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-14dd4d35.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-c7b5065c.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { C as CommonGAssets } from './index-def91b42.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import { L as LOCALE } from './Locale-
|
|
10
|
-
import { c as CentralCarousel } from './index-
|
|
7
|
+
import { I as ImageWrap } from './useScreenSize-e5a11e21.js';
|
|
8
|
+
import { T as Text } from './index-e2b7b7f8.js';
|
|
9
|
+
import { L as LOCALE } from './Locale-3c079669.js';
|
|
10
|
+
import { c as CentralCarousel } from './index-3d74a659.js';
|
|
11
11
|
|
|
12
12
|
const StyledIconContainer = styled.div `
|
|
13
13
|
display: inline-flex;
|