@hhgtech/hhg-components 1.29.391-beta-5 → 1.29.392
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-842a69e4.js → InputDate-7c667a25.js} +7 -17
- package/build/{LastPeriod-a17e32c9.js → LastPeriod-dda1203c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-dde087a1.js → MobileBottomNavigationIcon-4a80b6c7.js} +3 -3
- package/build/{Spinner-a1ddaee7.js → Spinner-48dd7d71.js} +1 -1
- package/build/{WhatsApp-083c2511.js → WhatsApp-03bea647.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +55 -54
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawerComponent/index.d.ts +0 -7
- package/build/components.js +147 -146
- package/build/{constants-dc8e7863.js → constants-3eee3bed.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-149ed974.js → core-61111236.js} +1 -1
- package/build/{dataTransform-2562b578.js → dataTransform-ab7d0955.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-51e792cc.js → editor-07db6249.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-d075bb1f.js → InputDate-5b2fc89b.js} +7 -17
- package/build/esm/{LastPeriod-913f6be8.js → LastPeriod-288b1869.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-83916686.js → MobileBottomNavigationIcon-6f57a780.js} +3 -3
- package/build/esm/{Spinner-082ec1ac.js → Spinner-495ee36e.js} +1 -1
- package/build/esm/{WhatsApp-aa044a40.js → WhatsApp-3d10d70b.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +54 -53
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/drawerComponent/index.d.ts +0 -7
- package/build/esm/components.js +103 -102
- package/build/esm/{constants-447c9b23.js → constants-e36958c7.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-cf5a8f6b.js → core-8540c768.js} +1 -1
- package/build/esm/{dataTransform-2a3a3dcc.js → dataTransform-4d3a6854.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-7c396150.js → editor-13b3031d.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-8821e111.js → healthTools-246d57b9.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 +0 -1
- package/build/esm/i18n-values/hi-IN.js +0 -1
- package/build/esm/i18n-values/id-ID.js +0 -1
- package/build/esm/i18n-values/km-KH.js +0 -1
- package/build/esm/i18n-values/ms-MY.js +0 -1
- package/build/esm/i18n-values/my-MM.js +0 -1
- package/build/esm/i18n-values/th-TH.js +0 -1
- package/build/esm/i18n-values/tl-PH.js +0 -1
- package/build/esm/i18n-values/vi-VN.js +0 -1
- package/build/esm/i18n-values/vi-VN_MB.js +0 -1
- package/build/esm/i18n-values/zh-CN.js +0 -1
- package/build/esm/i18n-values/zh-TW.js +0 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-88778559.js → index-007da62d.js} +21 -21
- package/build/esm/{index-e7a1f107.js → index-02754236.js} +3 -3
- package/build/esm/{index-8362220a.js → index-05391cf0.js} +1 -1
- package/build/esm/{index-37578159.js → index-07161a73.js} +1 -1
- package/build/esm/{index-65a40d75.js → index-09b9153c.js} +6 -6
- package/build/esm/{index-da275716.js → index-0cd8c99b.js} +13 -13
- package/build/esm/{index-1977d130.js → index-0d91f904.js} +4 -4
- package/build/esm/{index-d8348cf4.js → index-1201f785.js} +15 -15
- package/build/esm/{index-94a6de89.js → index-14fb86be.js} +17 -17
- package/build/esm/{index-46e1c1ce.js → index-19ce2735.js} +2 -2
- package/build/esm/{index-c1adc723.js → index-1fa5a0e8.js} +8 -8
- package/build/esm/{index-e0deec7c.js → index-28a1dbbd.js} +1 -1
- package/build/esm/{index-0eb6662d.js → index-28e68d00.js} +17 -17
- package/build/esm/{index-54e9eeb6.js → index-3549f196.js} +24 -24
- package/build/esm/index-35fefdf8.js +118 -0
- package/build/esm/{index-ec5d275b.js → index-3cee170a.js} +16 -16
- package/build/esm/{index-393dbc53.js → index-420637a8.js} +13 -13
- package/build/esm/{index-5164056c.js → index-42b16695.js} +3 -3
- package/build/esm/{index-2d7c6630.js → index-4313a9a0.js} +10 -10
- package/build/esm/{index-f86ca9ca.js → index-4ce00177.js} +18 -18
- package/build/esm/{index-6aa6d048.js → index-563c3e02.js} +2 -2
- package/build/esm/{index-97a5e6a5.js → index-5bbef3e1.js} +1 -1
- package/build/esm/{index-3d3c3f60.js → index-5c821474.js} +2 -2
- package/build/esm/{index-992c75b9.js → index-5cd16acb.js} +22 -22
- package/build/esm/{index-faf97103.js → index-5d721bea.js} +2 -2
- package/build/esm/{index-9d2ef24a.js → index-5dbf5789.js} +17 -17
- package/build/esm/{index-a1780246.js → index-61d04b9e.js} +1 -1
- package/build/esm/{index-d087d4cf.js → index-64a73e02.js} +5 -5
- package/build/esm/{index-cef004a3.js → index-6cfdd367.js} +31 -31
- package/build/esm/{index-0b1b8a8a.js → index-6d9baa6a.js} +2 -2
- package/build/esm/{index-4e6650e8.js → index-70906a72.js} +2 -2
- package/build/esm/{index-274b0da1.js → index-724bc222.js} +3 -3
- package/build/esm/{index-d4dd0e77.js → index-77725655.js} +16 -16
- package/build/esm/{index-bdfca3d0.js → index-780ee2fa.js} +25 -25
- package/build/esm/{index-235b56f6.js → index-7e4bdaaa.js} +7 -7
- package/build/esm/{index-d9c7b527.js → index-84655909.js} +2 -2
- package/build/esm/{index-25d0a15d.js → index-8fcf227d.js} +7 -7
- package/build/esm/{index-059b6bec.js → index-938a3f78.js} +1 -1
- package/build/esm/{index-e9e63917.js → index-947fba42.js} +2 -2
- package/build/esm/{index-1e885070.js → index-97ca7d33.js} +3 -3
- package/build/esm/{index-495c0777.js → index-990b5e8f.js} +6 -6
- package/build/esm/{index-3646b88b.js → index-a0aefa52.js} +11 -11
- package/build/esm/{index-de018372.js → index-a482546a.js} +3 -3
- package/build/esm/{index-b6c30e69.js → index-b20207a3.js} +16 -16
- package/build/esm/{index-b4007641.js → index-b270fe20.js} +1 -1
- package/build/esm/{index-88b44038.js → index-b36a3861.js} +7 -120
- package/build/esm/{index-bf99db8c.js → index-b407f3d6.js} +17 -17
- package/build/esm/{index-f109ebb4.js → index-b43b8fce.js} +2 -2
- package/build/esm/{index-3b06fb2c.js → index-b87cc20c.js} +18 -18
- package/build/esm/{index-30857eab.js → index-bfbe673d.js} +6 -6
- package/build/esm/{index-7588dee2.js → index-bfdb755b.js} +13 -13
- package/build/esm/{index-e262d8cf.js → index-c11b4bd7.js} +2 -2
- package/build/esm/{index-841c109e.js → index-c68db016.js} +147 -213
- package/build/esm/{index-8c2d5531.js → index-ca5e4379.js} +2 -2
- package/build/esm/{index-988ede46.js → index-d1400900.js} +16 -16
- package/build/esm/{index-74a1310c.js → index-dd82f09b.js} +13 -13
- package/build/esm/{index-a49f20ba.js → index-e3f42063.js} +1 -1
- package/build/esm/{index-7f8f310c.js → index-ecab2db0.js} +1 -1
- package/build/esm/{index-5ebe0fa1.js → index-ee75daff.js} +3 -3
- package/build/esm/{index-f6e461a7.js → index-f0f24b0e.js} +2 -2
- package/build/esm/{index-56d4ac81.js → index-f377ee16.js} +31 -31
- package/build/esm/{index-dcbae28e.js → index-fd50ebba.js} +2 -2
- package/build/esm/{index-f0fe4a2f.js → index-fd8d47d1.js} +4 -4
- package/build/esm/{index-40662529.js → index-fedd765d.js} +6 -6
- package/build/esm/{index-dcc553c7.js → index-feed474a.js} +6 -6
- package/build/esm/index.js +119 -118
- package/build/esm/{labelSorting-3882e087.js → labelSorting-4c6b40fe.js} +4 -4
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -262
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +131 -737
- package/build/esm/{logoIcon-188e4129.js → logoIcon-b268928b.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-def1d798.js → post-56703738.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-900c7799.js → store-25c6b828.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-edda7cb7.js → surveyThankyouCard-9258b07d.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/index.styled.d.ts +0 -7
- package/build/esm/together.js +56 -56
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-6bbb4b89.js → translationsProvider-47642b78.js} +1 -1
- package/build/esm/{treePopoverMenu-4fb877b9.js → treePopoverMenu-e22aa257.js} +19 -19
- package/build/esm/{types-fa8ef1c1.js → types-d32c678d.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-aa7ffea2.js → useCategory-f03c9e67.js} +5 -5
- package/build/esm/{useHealthToolCache-a32c3527.js → useHealthToolCache-848a58f6.js} +1 -1
- package/build/esm/{useMantineLocale-a07e744a.js → useMantineLocale-41118166.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-049b8dcf.js → usePlacesAutocomplete-790db45f.js} +1 -1
- package/build/esm/{useScreenSize-2dc504fd.js → useScreenSize-6f13a7fd.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-244171f3.js → utils-15e98ad8.js} +5 -5
- package/build/esm/{utils-272ec0a1.js → utils-83401f11.js} +3 -3
- package/build/esm/{utils-2b0c3314.js → utils-a3f438a4.js} +2 -2
- package/build/esm/{utils-aa016e1c.js → utils-dbc3846f.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-e7ceb1da.js → healthTools-3bf83db8.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 +0 -1
- package/build/i18n-values/hi-IN.js +0 -1
- package/build/i18n-values/id-ID.js +0 -1
- package/build/i18n-values/km-KH.js +0 -1
- package/build/i18n-values/ms-MY.js +0 -1
- package/build/i18n-values/my-MM.js +0 -1
- package/build/i18n-values/th-TH.js +0 -1
- package/build/i18n-values/tl-PH.js +0 -1
- package/build/i18n-values/vi-VN.js +0 -1
- package/build/i18n-values/vi-VN_MB.js +0 -1
- package/build/i18n-values/zh-CN.js +0 -1
- package/build/i18n-values/zh-TW.js +0 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-57216b95.js → index-0395e458.js} +31 -31
- package/build/{index-0b67fdd7.js → index-0611ad61.js} +2 -2
- package/build/{index-50a09bb2.js → index-0b7789cb.js} +16 -16
- package/build/{index-1959e92e.js → index-0dbec5e2.js} +5 -5
- package/build/{index-7898ab9e.js → index-0dffb6c4.js} +5 -119
- package/build/{index-112c059f.js → index-12464ef6.js} +1 -1
- package/build/{index-d34efd2a.js → index-1371f85a.js} +2 -2
- package/build/{index-48e08bc7.js → index-1c7561b3.js} +1 -1
- package/build/{index-2073b30e.js → index-27db637d.js} +2 -2
- package/build/{index-541977e0.js → index-2ba74822.js} +21 -21
- package/build/{index-7b3297dc.js → index-2eda3c07.js} +7 -7
- package/build/{index-4f8f785f.js → index-354f526f.js} +1 -1
- package/build/{index-b29283e4.js → index-36e6ab4b.js} +3 -3
- package/build/index-397fe63a.js +125 -0
- package/build/{index-cdf6a411.js → index-3a5b485a.js} +1 -1
- package/build/{index-e7eef854.js → index-437a1767.js} +3 -3
- package/build/{index-65836820.js → index-43b5370e.js} +2 -2
- package/build/{index-d8395a7e.js → index-44af5fe1.js} +13 -13
- package/build/{index-a3a778c9.js → index-45eca5e2.js} +6 -6
- package/build/{index-b1415e81.js → index-47dfeae7.js} +16 -16
- package/build/{index-00e18f21.js → index-4aad3984.js} +8 -8
- package/build/{index-be50db28.js → index-4fd8817f.js} +13 -13
- package/build/{index-34385e54.js → index-54d513ab.js} +31 -31
- package/build/{index-22c1e1f8.js → index-57abfea5.js} +17 -17
- package/build/{index-dffba3c4.js → index-5c09228b.js} +13 -13
- package/build/{index-688e7ab1.js → index-6008020d.js} +6 -6
- package/build/{index-a7d7f01d.js → index-644eb5a7.js} +7 -7
- package/build/{index-511cdb0a.js → index-6ba6df7e.js} +3 -3
- package/build/{index-428d78ba.js → index-6c4bee8e.js} +2 -2
- package/build/{index-9dd4e4b8.js → index-6cc14025.js} +17 -17
- package/build/{index-23f80d4f.js → index-7f05c8a7.js} +13 -13
- package/build/{index-4a644305.js → index-856226fb.js} +2 -2
- package/build/{index-2363cbe2.js → index-856c2891.js} +2 -2
- package/build/{index-85bcebf7.js → index-878f8dc8.js} +22 -22
- package/build/{index-3278c30e.js → index-8c03a89a.js} +1 -1
- package/build/{index-aa704e57.js → index-908d7f27.js} +18 -18
- package/build/{index-7a752554.js → index-95d5222f.js} +6 -6
- package/build/{index-ffb62e40.js → index-982076f5.js} +10 -10
- package/build/{index-f3c40d9a.js → index-9856b9ef.js} +1 -1
- package/build/{index-c45f6399.js → index-9e3f7d45.js} +4 -4
- package/build/{index-7001a273.js → index-a006bd68.js} +2 -2
- package/build/{index-2084c050.js → index-a7d78872.js} +17 -17
- package/build/{index-b23b702a.js → index-abdc048e.js} +2 -2
- package/build/{index-57c86c32.js → index-ae24413b.js} +1 -1
- package/build/{index-94bdaa71.js → index-af161468.js} +146 -212
- package/build/{index-ae2d78e3.js → index-b0d41cce.js} +2 -2
- package/build/{index-c7e2bc67.js → index-b2c78e7e.js} +2 -2
- package/build/{index-3011bd97.js → index-b74bd81f.js} +3 -3
- package/build/{index-d878b2ca.js → index-be7f512c.js} +24 -24
- package/build/{index-48506e49.js → index-bfb52fca.js} +16 -16
- package/build/{index-6d8706c6.js → index-c41e383f.js} +3 -3
- package/build/{index-a123d998.js → index-cbacaaee.js} +11 -11
- package/build/{index-cc9e61bb.js → index-d8a37820.js} +3 -3
- package/build/{index-049cace2.js → index-d9eef270.js} +1 -1
- package/build/{index-1fa6deee.js → index-dcae31ae.js} +25 -25
- package/build/{index-4b5f731e.js → index-ddb6b444.js} +17 -17
- package/build/{index-3adb7199.js → index-e5275d1f.js} +18 -18
- package/build/{index-e4e4aac3.js → index-ed6fc31b.js} +2 -2
- package/build/{index-ee643705.js → index-efbf26eb.js} +6 -6
- package/build/{index-7e44f594.js → index-f17a396c.js} +6 -6
- package/build/{index-25795e9b.js → index-f305f43f.js} +16 -16
- package/build/{index-88a605f4.js → index-f39922db.js} +1 -1
- package/build/{index-7c2f3d1d.js → index-f46495e8.js} +2 -2
- package/build/{index-99dc15af.js → index-f53850dd.js} +4 -4
- package/build/{index-64057990.js → index-f7372714.js} +15 -15
- package/build/index.js +185 -184
- package/build/{labelSorting-39a9ca3b.js → labelSorting-5efeb80c.js} +4 -4
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -262
- package/build/lead.css +1 -1
- package/build/lead.js +129 -735
- package/build/{logoIcon-f18d5991.js → logoIcon-b82964e8.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-023784b3.js → post-ff6145f1.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-14280a92.js → store-dcbaa402.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-83a8afeb.js → surveyThankyouCard-39255f44.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/index.styled.d.ts +0 -7
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-e7447e0a.js → translationsProvider-1f3fa7f9.js} +1 -1
- package/build/{treePopoverMenu-31d87b6b.js → treePopoverMenu-8efa842d.js} +19 -19
- package/build/{types-f63a3901.js → types-0a7a06d0.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-0e1fc680.js → useCategory-fc9d2495.js} +5 -5
- package/build/{useHealthToolCache-fbb066e6.js → useHealthToolCache-f0f3c021.js} +1 -1
- package/build/{useMantineLocale-ce275e60.js → useMantineLocale-70c2855e.js} +6 -6
- package/build/{usePlacesAutocomplete-11415914.js → usePlacesAutocomplete-3851d770.js} +1 -1
- package/build/{useScreenSize-1567a1fb.js → useScreenSize-1014b9df.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-74e6738f.js → utils-619f5126.js} +3 -3
- package/build/{utils-7cb76bfb.js → utils-842f5cbb.js} +5 -5
- package/build/{utils-e4869761.js → utils-9dbb9b30.js} +2 -2
- package/build/{utils-e0ca507a.js → utils-a2025a7b.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/lead/LeadGenForm/LeadGenEmpty.d.ts +0 -8
- package/build/esm/lead/icons/NoData.d.ts +0 -3
- package/build/esm/lead/icons/index.d.ts +0 -5
- package/build/esm/together/utils/index.d.ts +0 -1
- package/build/lead/LeadGenForm/LeadGenEmpty.d.ts +0 -8
- package/build/lead/icons/NoData.d.ts +0 -3
- package/build/lead/icons/index.d.ts +0 -5
- package/build/together/utils/index.d.ts +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-62d9fb7a.js → BMI_BOYS.percentile.monthly-ad877ea9.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-78f06994.js → BMI_BOYS.percentile.weekly-20f25b98.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-cc4be657.js → BMI_BOYS.percentile.yearly-b28dd1f4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f2c08587.js → BMI_BOYS.zscore.monthly-cd57a7b4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-802f3bfd.js → BMI_BOYS.zscore.weekly-02ced639.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b5544dbf.js → BMI_BOYS.zscore.yearly-09fcbeee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-7477e414.js → BMI_GIRLS.percentile.monthly-63c8a9f4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d95301cc.js → BMI_GIRLS.percentile.weekly-782b69b5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-23214059.js → BMI_GIRLS.percentile.yearly-d11b201d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ae8da9aa.js → BMI_GIRLS.zscore.monthly-68daac75.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b86bb58a.js → BMI_GIRLS.zscore.weekly-365398d0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-5e409ebb.js → BMI_GIRLS.zscore.yearly-f958b797.js} +0 -0
- /package/build/{ChevronDown-609acdb1.js → ChevronDown-ee087832.js} +0 -0
- /package/build/{Close-a607ce7f.js → Close-9f319481.js} +0 -0
- /package/build/{Google-e8a0d8e3.js → Google-a803a647.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bf84c999.js → HEAD CIRCUM_BOYS.percentile.monthly-d5048969.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-dc63bab8.js → HEAD CIRCUM_BOYS.percentile.weekly-44a391ee.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-12116697.js → HEAD CIRCUM_BOYS.percentile.yearly-ffbec09a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-475d3c8e.js → HEAD CIRCUM_BOYS.zscore.monthly-9239a118.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5ed35790.js → HEAD CIRCUM_BOYS.zscore.weekly-7f4c5a2c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-60fc540e.js → HEAD CIRCUM_BOYS.zscore.yearly-9b6734d7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3e0de8e5.js → HEAD CIRCUM_GIRLS.percentile.monthly-be241e7c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d6fc36f7.js → HEAD CIRCUM_GIRLS.percentile.weekly-6c92302c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c489e7cb.js → HEAD CIRCUM_GIRLS.percentile.yearly-92092433.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-91c1ef1c.js → HEAD CIRCUM_GIRLS.zscore.monthly-9180f72a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-6bcc74af.js → HEAD CIRCUM_GIRLS.zscore.weekly-60ae4529.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e4e440e4.js → HEAD CIRCUM_GIRLS.zscore.yearly-707dc4e8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-dd913e2e.js → HEIGHT_BOYS.percentile.monthly-a68374b4.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-05ddcef9.js → HEIGHT_BOYS.percentile.weekly-aa0781d8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f88329a0.js → HEIGHT_BOYS.percentile.yearly-7e9d1319.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-14229389.js → HEIGHT_BOYS.zscore.monthly-2dafd6bd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-4e70a8d4.js → HEIGHT_BOYS.zscore.weekly-6b147ba5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-5aa225cf.js → HEIGHT_BOYS.zscore.yearly-c71ade21.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-8b0f890c.js → HEIGHT_GIRLS.percentile.monthly-0ae4b3e0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-ac833805.js → HEIGHT_GIRLS.percentile.weekly-bb2adf78.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1b102aed.js → HEIGHT_GIRLS.percentile.yearly-448741a8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-5b32da3e.js → HEIGHT_GIRLS.zscore.monthly-95e226f6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-a3eac109.js → HEIGHT_GIRLS.zscore.weekly-bfa9530c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d4703a62.js → HEIGHT_GIRLS.zscore.yearly-513d2cdd.js} +0 -0
- /package/build/{Locale-04178923.js → Locale-07761401.js} +0 -0
- /package/build/{Visible-54af6d8a.js → Visible-d53e80e8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-50b4155d.js → WEIGHT_BOYS.percentile.monthly-e4504e21.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7d140d56.js → WEIGHT_BOYS.percentile.weekly-408f6229.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-410c5f6e.js → WEIGHT_BOYS.percentile.yearly-fbf7b423.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-17f40fd0.js → WEIGHT_BOYS.zscore.monthly-8ad79df1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b00891cf.js → WEIGHT_BOYS.zscore.weekly-152e5b81.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-f823fe8e.js → WEIGHT_BOYS.zscore.yearly-eafff075.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8b03b754.js → WEIGHT_GIRLS.percentile.monthly-8926de73.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-4872eddd.js → WEIGHT_GIRLS.percentile.weekly-81513545.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2b6cee11.js → WEIGHT_GIRLS.percentile.yearly-0c4d0577.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1eeaf9c4.js → WEIGHT_GIRLS.zscore.monthly-4f9f7e50.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-9080ae53.js → WEIGHT_GIRLS.zscore.weekly-14b366c1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-684b8272.js → WEIGHT_GIRLS.zscore.yearly-d2c4271f.js} +0 -0
- /package/build/{animation-3cbfff6f.js → animation-ca60f37f.js} +0 -0
- /package/build/{constants-5b5b9b0b.js → constants-1e73c9ee.js} +0 -0
- /package/build/{constants-1cbe1394.js → constants-2ef2576b.js} +0 -0
- /package/build/{constants-841280cb.js → constants-577f2346.js} +0 -0
- /package/build/{dataTransform-d8981f57.js → dataTransform-70a89108.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d515beec.js → BMI_BOYS.percentile.monthly-4ed3845a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b26c93ae.js → BMI_BOYS.percentile.weekly-ca402c08.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f82de1b1.js → BMI_BOYS.percentile.yearly-16aa0ea7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-75de29d4.js → BMI_BOYS.zscore.monthly-4188ea03.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4dea50d0.js → BMI_BOYS.zscore.weekly-9cd31b4b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-87cd9724.js → BMI_BOYS.zscore.yearly-b2e79e14.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-48d478e3.js → BMI_GIRLS.percentile.monthly-8487754a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-dc988da1.js → BMI_GIRLS.percentile.weekly-7d9db100.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-43e1ebb9.js → BMI_GIRLS.percentile.yearly-0acdaed3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-67c75a87.js → BMI_GIRLS.zscore.monthly-d0e4723a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ec05d826.js → BMI_GIRLS.zscore.weekly-32e3f351.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-1e81b344.js → BMI_GIRLS.zscore.yearly-dad5d653.js} +0 -0
- /package/build/esm/{ChevronDown-dd4743b3.js → ChevronDown-c3f963a5.js} +0 -0
- /package/build/esm/{Close-abf1d3c9.js → Close-20df0bd5.js} +0 -0
- /package/build/esm/{Google-475e46ea.js → Google-dd3016a9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-4c34e4dc.js → HEAD CIRCUM_BOYS.percentile.monthly-8894d48b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7a6c569d.js → HEAD CIRCUM_BOYS.percentile.weekly-dc5cdd48.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9e8f573a.js → HEAD CIRCUM_BOYS.percentile.yearly-c09badba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7804ffdf.js → HEAD CIRCUM_BOYS.zscore.monthly-d2d6a979.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-be7e8407.js → HEAD CIRCUM_BOYS.zscore.weekly-8f61e2e7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9186ac87.js → HEAD CIRCUM_BOYS.zscore.yearly-6994ed4e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-1140e642.js → HEAD CIRCUM_GIRLS.percentile.monthly-4ce5505d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-8806a328.js → HEAD CIRCUM_GIRLS.percentile.weekly-1834ad81.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-bff92102.js → HEAD CIRCUM_GIRLS.percentile.yearly-a90bc53d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-86ddc2cf.js → HEAD CIRCUM_GIRLS.zscore.monthly-ec718985.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a3e14118.js → HEAD CIRCUM_GIRLS.zscore.weekly-dd6fb048.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e6fee516.js → HEAD CIRCUM_GIRLS.zscore.yearly-d52f81be.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-b262d573.js → HEIGHT_BOYS.percentile.monthly-57d1cc48.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-dee04691.js → HEIGHT_BOYS.percentile.weekly-8c9ba925.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-773b30b2.js → HEIGHT_BOYS.percentile.yearly-1a00f66d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-104a4669.js → HEIGHT_BOYS.zscore.monthly-3d4d60c7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-25669b3b.js → HEIGHT_BOYS.zscore.weekly-6a7b2ac9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c2d1f41e.js → HEIGHT_BOYS.zscore.yearly-ddddccce.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-079f501c.js → HEIGHT_GIRLS.percentile.monthly-95d07f66.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-df6a41de.js → HEIGHT_GIRLS.percentile.weekly-8aa56c60.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-abc7b36a.js → HEIGHT_GIRLS.percentile.yearly-466b8b7c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-46b9eadb.js → HEIGHT_GIRLS.zscore.monthly-8738228c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-218cbae2.js → HEIGHT_GIRLS.zscore.weekly-a566d7d8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-120b2aba.js → HEIGHT_GIRLS.zscore.yearly-222a4655.js} +0 -0
- /package/build/esm/{Locale-bbda4a1f.js → Locale-2680ebb3.js} +0 -0
- /package/build/esm/{Visible-5d5708f1.js → Visible-89fc62dd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-cb4f6043.js → WEIGHT_BOYS.percentile.monthly-0761d04a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-4286b4d4.js → WEIGHT_BOYS.percentile.weekly-5399ce71.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3663ce90.js → WEIGHT_BOYS.percentile.yearly-6a3fd579.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cc9cacfb.js → WEIGHT_BOYS.zscore.monthly-7b810532.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d58e44bd.js → WEIGHT_BOYS.zscore.weekly-f241b744.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ea964571.js → WEIGHT_BOYS.zscore.yearly-f188c232.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f0e611b1.js → WEIGHT_GIRLS.percentile.monthly-d942be86.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fb85d4b7.js → WEIGHT_GIRLS.percentile.weekly-b9d69043.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4d225a23.js → WEIGHT_GIRLS.percentile.yearly-efd30967.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-feb142b2.js → WEIGHT_GIRLS.zscore.monthly-ad05061e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-6d47b524.js → WEIGHT_GIRLS.zscore.weekly-1bb61a63.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-fc0fb51c.js → WEIGHT_GIRLS.zscore.yearly-420c6d2b.js} +0 -0
- /package/build/esm/{animation-4705e95f.js → animation-cb77c558.js} +0 -0
- /package/build/esm/{constants-2eaaf9c0.js → constants-34416881.js} +0 -0
- /package/build/esm/{constants-424a4514.js → constants-54f00416.js} +0 -0
- /package/build/esm/{constants-94934d20.js → constants-d137c8ef.js} +0 -0
- /package/build/esm/{dataTransform-e81da707.js → dataTransform-49e51307.js} +0 -0
- /package/build/esm/{index-77cb6587.js → index-188012d7.js} +0 -0
- /package/build/esm/{index-68cbc2ce.js → index-1ee3b4c0.js} +0 -0
- /package/build/esm/{index-4464ff91.js → index-495e0eca.js} +0 -0
- /package/build/esm/{index-fd24bb7b.js → index-57ef8115.js} +0 -0
- /package/build/esm/{index-04659b5c.js → index-67830e99.js} +0 -0
- /package/build/esm/{index-33829fef.js → index-6d329505.js} +0 -0
- /package/build/esm/{index-3f99706c.js → index-7a4cfc95.js} +0 -0
- /package/build/esm/{index-88558b0f.js → index-eb396268.js} +0 -0
- /package/build/esm/{index.styles-fd5f66cb.js → index.styles-bcc9b795.js} +0 -0
- /package/build/esm/lead/layouts/{emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-32c8d031.js → localizeNumberFormat-415f8b3b.js} +0 -0
- /package/build/esm/{normalizeLink-f5313134.js → normalizeLink-e7bcd5c8.js} +0 -0
- /package/build/esm/{number-43065d0d.js → number-55c31619.js} +0 -0
- /package/build/esm/{other-df93ea2f.js → other-680529e5.js} +0 -0
- /package/build/esm/{paths-cf7227e4.js → paths-608ea9ef.js} +0 -0
- /package/build/esm/{translationsContext-f8906065.js → translationsContext-c41a99f3.js} +0 -0
- /package/build/esm/{tslib.es6-02e90a72.js → tslib.es6-7369a886.js} +0 -0
- /package/build/esm/{types-f2695747.js → types-db49d755.js} +0 -0
- /package/build/esm/{useIsInit-afacf14e.js → useIsInit-7e5346fc.js} +0 -0
- /package/build/esm/{useOutsideClick-a28ce3e7.js → useOutsideClick-3a261a60.js} +0 -0
- /package/build/esm/{useScrollbarSize-f036badb.js → useScrollbarSize-21b194d3.js} +0 -0
- /package/build/esm/{useUniqueId-4eab6664.js → useUniqueId-d6bcf402.js} +0 -0
- /package/build/esm/{utils-5fda9ad5.js → utils-e60df37f.js} +0 -0
- /package/build/{index-f99ba737.js → index-0603e5ad.js} +0 -0
- /package/build/{index-920acba3.js → index-49e3f7a6.js} +0 -0
- /package/build/{index-4931927d.js → index-53e2737c.js} +0 -0
- /package/build/{index-89d73f4c.js → index-58c9ecc0.js} +0 -0
- /package/build/{index-ad59c681.js → index-74085b56.js} +0 -0
- /package/build/{index-1fb89a7c.js → index-8645866a.js} +0 -0
- /package/build/{index-2a8a55ad.js → index-d468e339.js} +0 -0
- /package/build/{index-18451aff.js → index-eb579552.js} +0 -0
- /package/build/{index.styles-7234be4c.js → index.styles-c72f23e6.js} +0 -0
- /package/build/lead/layouts/{emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-d14258f5.js → localizeNumberFormat-5e848aeb.js} +0 -0
- /package/build/{normalizeLink-0893a924.js → normalizeLink-9a857fc1.js} +0 -0
- /package/build/{number-3647a15a.js → number-1f09201d.js} +0 -0
- /package/build/{other-d77770cd.js → other-364bdd32.js} +0 -0
- /package/build/{paths-f8f143b6.js → paths-6ff798b4.js} +0 -0
- /package/build/{translationsContext-cc7e7fbb.js → translationsContext-4ffd4844.js} +0 -0
- /package/build/{tslib.es6-e10fc4b4.js → tslib.es6-d58803ed.js} +0 -0
- /package/build/{types-9d6450d0.js → types-821bed4a.js} +0 -0
- /package/build/{useIsInit-3dedf54b.js → useIsInit-80f58117.js} +0 -0
- /package/build/{useOutsideClick-b3f777e3.js → useOutsideClick-f78bb49d.js} +0 -0
- /package/build/{useScrollbarSize-da32fa36.js → useScrollbarSize-0f19f4af.js} +0 -0
- /package/build/{useUniqueId-365d4666.js → useUniqueId-ab6eea4a.js} +0 -0
- /package/build/{utils-bc15705b.js → utils-7cc85cb5.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-7369a886.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-7a4cfc95.js';
|
|
5
|
+
import { u as useTranslations } from './index-28a1dbbd.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-a0aefa52.js';
|
|
9
|
+
import { useMantineTheme, Switch, Popover } from '@mantine/core';
|
|
10
10
|
import '@mantine/dates';
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './useMantineLocale-
|
|
15
|
-
import { T as Text } from './index-
|
|
16
|
-
import { B as Button } from './index-
|
|
17
|
-
import './index.styles-
|
|
11
|
+
import './index-19ce2735.js';
|
|
12
|
+
import './index-938a3f78.js';
|
|
13
|
+
import './index-1ee3b4c0.js';
|
|
14
|
+
import './useMantineLocale-41118166.js';
|
|
15
|
+
import { T as Text } from './index-b43b8fce.js';
|
|
16
|
+
import { B as Button } from './index-61d04b9e.js';
|
|
17
|
+
import './index.styles-bcc9b795.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-e60df37f.js';
|
|
20
|
+
import './other-680529e5.js';
|
|
21
|
+
import './index-42b16695.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-28e68d00.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-83401f11.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-4d3a6854.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-54f00416.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-56703738.js';
|
|
28
|
+
import { C as CardAuthor } from './index-77725655.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-13b3031d.js';
|
|
30
|
+
import { I as Input } from './index-ca5e4379.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-70906a72.js';
|
|
35
|
+
import { C as CardLink } from './index-64a73e02.js';
|
|
36
|
+
import { B as BtnChoice } from './index-07161a73.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-2680ebb3.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-5c821474.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-990b5e8f.js';
|
|
41
|
+
import { B as Button$1 } from './index-947fba42.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-d6bcf402.js';
|
|
44
|
+
import { U as UserAvatar } from './index-f0f24b0e.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-563c3e02.js';
|
|
46
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
47
47
|
|
|
48
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1358,11 +1358,6 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
1358
1358
|
}), disabled: !isReadyToSubmit, loading: isSubmitting }, t('createPost.popup.submit'))))));
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
|
-
function toBoolean(str) {
|
|
1362
|
-
const strFormat = str.toLowerCase();
|
|
1363
|
-
return strFormat === 'true' || strFormat === '1' || strFormat === 'yes';
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
1361
|
const StyleContainer$2 = styled.div ``;
|
|
1367
1362
|
const StyleContentWrapper$1 = styled.div `
|
|
1368
1363
|
display: flex;
|
|
@@ -3030,7 +3025,8 @@ const StyledIsQuestion = styled.div `
|
|
|
3030
3025
|
width: 100%;
|
|
3031
3026
|
align-items: center;
|
|
3032
3027
|
justify-content: space-between;
|
|
3033
|
-
|
|
3028
|
+
padding: 12px;
|
|
3029
|
+
border-radius: 0 0 8px 8px;
|
|
3034
3030
|
background: ${theme.colors.neutral50};
|
|
3035
3031
|
gap: 12px;
|
|
3036
3032
|
|
|
@@ -3225,13 +3221,10 @@ const StyleSessionRow = styled.div `
|
|
|
3225
3221
|
}
|
|
3226
3222
|
`;
|
|
3227
3223
|
const StyledIsQuestionWrapper = styled.div `
|
|
3228
|
-
padding:
|
|
3224
|
+
padding: 8px 8px;
|
|
3225
|
+
border: 1px solid ${theme.colors.gray200};
|
|
3229
3226
|
border-top: none;
|
|
3230
|
-
border-radius:
|
|
3231
|
-
background: ${theme.colors.neutral50};
|
|
3232
|
-
display: flex;
|
|
3233
|
-
flex-direction: column;
|
|
3234
|
-
gap: 8px;
|
|
3227
|
+
border-radius: 0 0 8px 8px;
|
|
3235
3228
|
&.has-error {
|
|
3236
3229
|
border: 1px solid ${theme.colors.red600};
|
|
3237
3230
|
}
|
|
@@ -3261,67 +3254,6 @@ const StyleActionFooter = styled.div `
|
|
|
3261
3254
|
.input-group {
|
|
3262
3255
|
margin-bottom: 0 !important;
|
|
3263
3256
|
}
|
|
3264
|
-
`;
|
|
3265
|
-
const StyledQuestionWrapperContainer = styled.div `
|
|
3266
|
-
padding: 8px 8px;
|
|
3267
|
-
border: 1px solid ${theme.colors.gray200};
|
|
3268
|
-
border-top: none;
|
|
3269
|
-
border-radius: 0 0 8px 8px;
|
|
3270
|
-
&.has-error {
|
|
3271
|
-
border: 1px solid ${theme.colors.red600};
|
|
3272
|
-
}
|
|
3273
|
-
&.error-description {
|
|
3274
|
-
border: 1px solid ${theme.colors.red600};
|
|
3275
|
-
border-top: none;
|
|
3276
|
-
}
|
|
3277
|
-
.error-choice-question {
|
|
3278
|
-
color: ${theme.colors.red600};
|
|
3279
|
-
font-size: 12px;
|
|
3280
|
-
font-weight: 400;
|
|
3281
|
-
line-height: 22px;
|
|
3282
|
-
letter-spacing: -0.2px;
|
|
3283
|
-
}
|
|
3284
|
-
`;
|
|
3285
|
-
const StyleSwitchButton = styled(SegmentedControl) `
|
|
3286
|
-
gap: 8px;
|
|
3287
|
-
&.mantine-SegmentedControl-root {
|
|
3288
|
-
background-color: transparent;
|
|
3289
|
-
padding: 0px;
|
|
3290
|
-
}
|
|
3291
|
-
.mantine-SegmentedControl-indicator {
|
|
3292
|
-
display: none;
|
|
3293
|
-
}
|
|
3294
|
-
.mantine-SegmentedControl-label {
|
|
3295
|
-
margin-bottom: 0px !important;
|
|
3296
|
-
display: flex;
|
|
3297
|
-
padding: 5px 12px;
|
|
3298
|
-
justify-content: center;
|
|
3299
|
-
align-items: center;
|
|
3300
|
-
gap: 8px;
|
|
3301
|
-
height: 32px;
|
|
3302
|
-
border: 1px solid ${theme.colors.neutral100};
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
|
-
.mantine-SegmentedControl-control {
|
|
3306
|
-
color: ${theme.colors.gray800};
|
|
3307
|
-
font-size: 14px;
|
|
3308
|
-
font-style: normal;
|
|
3309
|
-
font-weight: 600;
|
|
3310
|
-
line-height: 22px;
|
|
3311
|
-
border-radius: 8px;
|
|
3312
|
-
background: ${theme.colors.white};
|
|
3313
|
-
border-width: 0 !important;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
.mantine-SegmentedControl-controlActive {
|
|
3317
|
-
border-radius: 8px;
|
|
3318
|
-
background: ${theme.colors.blue50};
|
|
3319
|
-
|
|
3320
|
-
.mantine-SegmentedControl-label {
|
|
3321
|
-
color: ${theme.colors.primaryBase};
|
|
3322
|
-
border: 1px solid ${theme.colors.blue50};
|
|
3323
|
-
}
|
|
3324
|
-
}
|
|
3325
3257
|
`;
|
|
3326
3258
|
|
|
3327
3259
|
const CreatePostPhotos = ({ imageFiles: imageFilesInit, setImageFiles, }) => {
|
|
@@ -3492,10 +3424,12 @@ const applySpecialCharSite = [
|
|
|
3492
3424
|
];
|
|
3493
3425
|
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3494
3426
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3495
|
-
const { data: { locale
|
|
3427
|
+
const { data: { locale,
|
|
3428
|
+
// env: { togetherBasePath },
|
|
3429
|
+
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3496
3430
|
const { t } = useTranslations();
|
|
3497
3431
|
const containerRef = useRef(null);
|
|
3498
|
-
const [isAskDoctor, setIsAskDoctor] = useState(
|
|
3432
|
+
const [isAskDoctor, setIsAskDoctor] = useState(false);
|
|
3499
3433
|
const [specialCharErr, setspecialCharErr] = useState(false);
|
|
3500
3434
|
const [titleValue, setTitleValue] = useState('');
|
|
3501
3435
|
const [descriptionValue, setDescriptionValue] = useState('');
|
|
@@ -3520,7 +3454,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3520
3454
|
const [stepPost, setStepPost] = useState('step_info');
|
|
3521
3455
|
const [isLoadingSuggest, setIsLoadingSuggest] = useState(false);
|
|
3522
3456
|
const [uncategorizedId, setUncategorizedId] = useState('');
|
|
3523
|
-
const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);
|
|
3524
3457
|
const postActionType = [
|
|
3525
3458
|
{
|
|
3526
3459
|
label: t('cardPost.public'),
|
|
@@ -3543,11 +3476,18 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3543
3476
|
} })),
|
|
3544
3477
|
},
|
|
3545
3478
|
];
|
|
3479
|
+
// const currentCommunity = useMemo(() => {
|
|
3480
|
+
// if (!communityValue.value) return null
|
|
3481
|
+
// const result = communitiesList.find(
|
|
3482
|
+
// (item) => String(item.id) === String(communityValue.value),
|
|
3483
|
+
// )
|
|
3484
|
+
// if (!result) return null
|
|
3485
|
+
// return result
|
|
3486
|
+
// }, [communityValue, communitiesList])
|
|
3546
3487
|
const currentCommunity = forceSelectCommunity ||
|
|
3547
3488
|
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3548
3489
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3549
3490
|
useEffect(() => {
|
|
3550
|
-
var _a;
|
|
3551
3491
|
if (editPostData) {
|
|
3552
3492
|
const post = editPostData;
|
|
3553
3493
|
setTitleValue(post.title || '');
|
|
@@ -3556,8 +3496,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3556
3496
|
label: post.community.name,
|
|
3557
3497
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3558
3498
|
});
|
|
3499
|
+
// setSelectedTopics(post.topics || [])
|
|
3559
3500
|
setImageFiles(post.photos || []);
|
|
3560
|
-
setIsAskDoctor(
|
|
3501
|
+
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3561
3502
|
}
|
|
3562
3503
|
else {
|
|
3563
3504
|
if (defaultCommunity) {
|
|
@@ -3566,6 +3507,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3566
3507
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3567
3508
|
});
|
|
3568
3509
|
}
|
|
3510
|
+
// if (defaultTopics) {
|
|
3511
|
+
// setSelectedTopics(defaultTopics)
|
|
3512
|
+
// }
|
|
3569
3513
|
}
|
|
3570
3514
|
}, []);
|
|
3571
3515
|
useEffect(() => {
|
|
@@ -3649,10 +3593,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3649
3593
|
});
|
|
3650
3594
|
hasError = true;
|
|
3651
3595
|
}
|
|
3652
|
-
if (!isAskDoctor) {
|
|
3653
|
-
errorMessage.askDoctor = t('createPost.message.askDoctor');
|
|
3654
|
-
hasError = true;
|
|
3655
|
-
}
|
|
3656
3596
|
if (imageFiles && imageFiles.length > 10) {
|
|
3657
3597
|
errorMessage.photos = t('createPost.message.photoMaxium');
|
|
3658
3598
|
hasError = true;
|
|
@@ -3693,92 +3633,94 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3693
3633
|
console.log(topicsList);
|
|
3694
3634
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3695
3635
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3636
|
+
const isError = validationPost();
|
|
3637
|
+
if (isError)
|
|
3638
|
+
return;
|
|
3639
|
+
const bodyFormData = yield getPostFormData({
|
|
3640
|
+
title: titleValue,
|
|
3641
|
+
description: descriptionValue,
|
|
3642
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3643
|
+
imageFiles,
|
|
3644
|
+
previewUrl,
|
|
3645
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3646
|
+
locale,
|
|
3647
|
+
sanitizeFunction,
|
|
3648
|
+
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3649
|
+
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3650
|
+
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3651
|
+
isAskDoctor: isAskDoctor ? 1 : 0,
|
|
3652
|
+
introUrl: '',
|
|
3653
|
+
});
|
|
3654
|
+
if (articleId) {
|
|
3655
|
+
bodyFormData.append('article_id', articleId);
|
|
3656
|
+
}
|
|
3657
|
+
console.log(uncategorized);
|
|
3658
|
+
let res;
|
|
3659
|
+
if (isInEditMode) {
|
|
3660
|
+
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3661
|
+
res = yield editPost({
|
|
3662
|
+
id: editPostData.id,
|
|
3663
|
+
formData: bodyFormData,
|
|
3664
|
+
locale,
|
|
3665
|
+
});
|
|
3701
3666
|
}
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
imageFiles,
|
|
3707
|
-
previewUrl,
|
|
3708
|
-
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3667
|
+
}
|
|
3668
|
+
else {
|
|
3669
|
+
res = yield createPost({
|
|
3670
|
+
formData: bodyFormData,
|
|
3709
3671
|
locale,
|
|
3710
|
-
|
|
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: '',
|
|
3672
|
+
isArticleComment: true,
|
|
3716
3673
|
});
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3674
|
+
}
|
|
3675
|
+
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3676
|
+
if ((resData === null || resData === void 0 ? void 0 : resData.id) && !((_b = (_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.moderation) === null || _b === void 0 ? void 0 : _b.type)) {
|
|
3677
|
+
// const params = `action=${
|
|
3678
|
+
// editPostData ? 'editPost' : 'createPost'
|
|
3679
|
+
// }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
|
|
3680
|
+
// const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
|
|
3681
|
+
// resData?.community?.slug
|
|
3682
|
+
// }/${resData?.slug}/?${params}`
|
|
3683
|
+
// window.location.href = postHref
|
|
3684
|
+
pushNotifications({
|
|
3685
|
+
message: isInEditMode
|
|
3686
|
+
? t('updatePost.popup.success')
|
|
3687
|
+
: t('createPost.popup.success'),
|
|
3688
|
+
type: 'success',
|
|
3689
|
+
});
|
|
3690
|
+
onCreateEditSuccess(resData);
|
|
3691
|
+
}
|
|
3692
|
+
else {
|
|
3693
|
+
if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
|
|
3694
|
+
pushNotifications({
|
|
3695
|
+
title: t('notification.post.blocked.title'),
|
|
3696
|
+
message: t('notification.post.blocked.message'),
|
|
3697
|
+
type: 'danger',
|
|
3698
|
+
});
|
|
3699
|
+
if (res.messages.moderation.words) {
|
|
3700
|
+
setBannedWords(res.messages.moderation.words);
|
|
3729
3701
|
}
|
|
3730
3702
|
}
|
|
3731
|
-
else {
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3703
|
+
else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
|
|
3704
|
+
pushNotifications({
|
|
3705
|
+
title: t('notification.post.suspect.title'),
|
|
3706
|
+
message: t('notification.post.suspect.message'),
|
|
3707
|
+
type: 'warning',
|
|
3736
3708
|
});
|
|
3709
|
+
onClose && onClose();
|
|
3737
3710
|
}
|
|
3738
|
-
|
|
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)) {
|
|
3711
|
+
else if ((_h = (_g = res === null || res === void 0 ? void 0 : res.messages) === null || _g === void 0 ? void 0 : _g.find) === null || _h === void 0 ? void 0 : _h.call(_g, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
|
|
3740
3712
|
pushNotifications({
|
|
3741
|
-
message:
|
|
3742
|
-
|
|
3743
|
-
: t('createPost.popup.success'),
|
|
3744
|
-
type: 'success',
|
|
3713
|
+
message: t('notification.suspend.message'),
|
|
3714
|
+
type: 'danger',
|
|
3745
3715
|
});
|
|
3746
|
-
|
|
3716
|
+
onClose && onClose();
|
|
3747
3717
|
}
|
|
3748
3718
|
else {
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
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
|
-
}
|
|
3719
|
+
pushNotifications({
|
|
3720
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3721
|
+
type: 'danger',
|
|
3722
|
+
});
|
|
3780
3723
|
}
|
|
3781
|
-
setIsLoadingSubmit(false);
|
|
3782
3724
|
}
|
|
3783
3725
|
});
|
|
3784
3726
|
const getFirstOrderErroKey = (orderKey) => {
|
|
@@ -3815,7 +3757,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3815
3757
|
return;
|
|
3816
3758
|
}
|
|
3817
3759
|
submitPost();
|
|
3818
|
-
// TODO: Current hard to keep AI suggest community
|
|
3819
3760
|
if (stepPost)
|
|
3820
3761
|
return;
|
|
3821
3762
|
if (isInEditMode) {
|
|
@@ -3916,39 +3857,28 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3916
3857
|
zIndex: 10,
|
|
3917
3858
|
width: 'calc(100% + 20px)',
|
|
3918
3859
|
} })))),
|
|
3919
|
-
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder:
|
|
3860
|
+
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: isAskDoctor
|
|
3920
3861
|
? t('createPost.post.askDoctor.title')
|
|
3921
3862
|
: t('createPost.post.title'), onChange: setTitleValue }),
|
|
3922
3863
|
specialCharErr && (React__default.createElement(StyledError, null,
|
|
3923
3864
|
React__default.createElement(Info, { isSolid: true, color: theme.colors.red700, size: 14 }),
|
|
3924
3865
|
React__default.createElement(Text, { size: "p3", as: "span", color: theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
|
|
3925
3866
|
React__default.createElement("div", { className: "input-group" },
|
|
3926
|
-
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder:
|
|
3867
|
+
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: isAskDoctor
|
|
3927
3868
|
? t('createPost.post.askDoctor.description')
|
|
3928
3869
|
: t('createPost.post.description'), onChange: (v) => {
|
|
3929
3870
|
setDescriptionValue(v);
|
|
3930
3871
|
removeKeyError('description');
|
|
3931
3872
|
}, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, onImageFilesChange: setImageFiles, imageFiles: imageFiles, className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}`, footerEditor: React__default.createElement(React__default.Fragment, null,
|
|
3932
|
-
React__default.createElement(
|
|
3933
|
-
React__default.createElement(
|
|
3934
|
-
React__default.createElement(
|
|
3935
|
-
React__default.createElement(
|
|
3936
|
-
|
|
3937
|
-
React__default.createElement("div", { className: "
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
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)))),
|
|
3873
|
+
React__default.createElement(StyledIsQuestionWrapper, { className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}` },
|
|
3874
|
+
React__default.createElement(StyledIsQuestion, { color: theme.colors.primaryBase },
|
|
3875
|
+
React__default.createElement("div", { className: "switch-label" },
|
|
3876
|
+
React__default.createElement(Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.colors.primaryBase, className: "label-icon" }),
|
|
3877
|
+
React__default.createElement("div", { className: "wrapper-text" },
|
|
3878
|
+
React__default.createElement("div", { className: "label-txt" }, t('createPost.askDoctor.description')))),
|
|
3879
|
+
React__default.createElement(Switch, { checked: isAskDoctor, label: "", className: "switch-btn", size: "md", onChange: (v) => {
|
|
3880
|
+
setIsAskDoctor(v.target.checked);
|
|
3881
|
+
} }))),
|
|
3952
3882
|
error && (error === null || error === void 0 ? void 0 : error.description) && (React__default.createElement(StyledError, { style: { margin: '4px 0 0' } },
|
|
3953
3883
|
React__default.createElement(Text, { size: "p5", as: "span", color: theme.colors.red600 }, error.description)))) })),
|
|
3954
3884
|
stepPost === 'step_community' && (React__default.createElement(CreatePostCommunity, { communitiesList: communitiesList, currentCommunity: currentCommunity, selectedTopics: selectedTopics, communityValue: communityValue, defaultCommunity: forceSelectCommunity, error: error, isFullscreen: false, isMarryBaby: isMarryBaby, isInEditMode: isInEditMode, isLoadingSuggest: isLoadingSuggest, setSelectedTopics: setSelectedTopics, setCommunityValue: setCommunityValue, removeKeyError: removeKeyError, setStepPost: setStepPost, onSubmitPost: submitPost })),
|
|
@@ -3959,7 +3889,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3959
3889
|
validationUploadPhoto(data);
|
|
3960
3890
|
} }),
|
|
3961
3891
|
React__default.createElement("div", { className: "action-wrapper" },
|
|
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
|
|
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'))))));
|
|
3963
3897
|
};
|
|
3964
3898
|
|
|
3965
3899
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-7369a886.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
+
import { M as MediaQueries } from './utils-e60df37f.js';
|
|
7
7
|
|
|
8
8
|
const StyledInput = styled.div `
|
|
9
9
|
position: relative;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-7369a886.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import { L as LastPeriod } from './LastPeriod-
|
|
6
|
-
import { I as Input } from './index-
|
|
7
|
-
import { D as DatePicker } from './index-
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index.styles-
|
|
11
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import { L as LastPeriod } from './LastPeriod-288b1869.js';
|
|
6
|
+
import { I as Input } from './index-a0aefa52.js';
|
|
7
|
+
import { D as DatePicker } from './index-feed474a.js';
|
|
8
|
+
import { T as Text } from './index-b43b8fce.js';
|
|
9
|
+
import './index-61d04b9e.js';
|
|
10
|
+
import './index.styles-bcc9b795.js';
|
|
11
|
+
import { u as useTranslations } from './index-28a1dbbd.js';
|
|
12
12
|
import '@mantine/hooks';
|
|
13
|
-
import './useMantineLocale-
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import './utils-
|
|
17
|
-
import './index-
|
|
18
|
-
import './other-
|
|
19
|
-
import './index-
|
|
20
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
13
|
+
import './useMantineLocale-41118166.js';
|
|
14
|
+
import './index-938a3f78.js';
|
|
15
|
+
import './index-1ee3b4c0.js';
|
|
16
|
+
import './utils-e60df37f.js';
|
|
17
|
+
import './index-19ce2735.js';
|
|
18
|
+
import './other-680529e5.js';
|
|
19
|
+
import './index-42b16695.js';
|
|
20
|
+
import { H as HealthToolFormWrapper } from './index-0d91f904.js';
|
|
21
21
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
22
22
|
|
|
23
23
|
const AvoidPregnancy = (_a) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-7369a886.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-a0aefa52.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text$1 } from './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import './index-19ce2735.js';
|
|
7
|
+
import './index-938a3f78.js';
|
|
8
|
+
import './index-1ee3b4c0.js';
|
|
9
|
+
import './useMantineLocale-41118166.js';
|
|
10
|
+
import { T as Text$1 } from './index-b43b8fce.js';
|
|
11
|
+
import './index-61d04b9e.js';
|
|
12
|
+
import './index.styles-bcc9b795.js';
|
|
13
|
+
import './translationsContext-c41a99f3.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
15
|
+
import './utils-e60df37f.js';
|
|
16
|
+
import './other-680529e5.js';
|
|
17
|
+
import './index-42b16695.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine'
|
|
@@ -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-e60df37f.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
2
|
import { Portal } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll } from './utils-
|
|
3
|
+
import { t as toggleNoScroll } from './utils-e60df37f.js';
|
|
4
4
|
import { css } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
8
|
-
import { T as Text } from './index-
|
|
7
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-cb77c558.js';
|
|
8
|
+
import { T as Text } from './index-b43b8fce.js';
|
|
9
9
|
|
|
10
10
|
const DURATION = '600ms';
|
|
11
11
|
const generateStyleBasedOnPlacement = (placement, open) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-7369a886.js';
|
|
2
2
|
import React__default, { useContext, useState } from 'react';
|
|
3
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './utils-83401f11.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
6
|
|