@hhgtech/hhg-components 1.29.396 → 1.29.397
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-87c0ebb8.js → InputDate-cb61c874.js} +3 -3
- package/build/{LastPeriod-fea79cc1.js → LastPeriod-d8ddca7e.js} +1 -1
- package/build/{MobileBottomNavigationIcon-6033022a.js → MobileBottomNavigationIcon-d0bf4f2f.js} +3 -3
- package/build/{Spinner-6fc329d5.js → Spinner-09c645f2.js} +1 -1
- package/build/{WhatsApp-c66b98f0.js → WhatsApp-bd0758b4.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components.js +97 -97
- package/build/{constants-5aaf7ea1.js → constants-cc117e43.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-adb66af1.js → core-854a9835.js} +1 -1
- package/build/{dataTransform-f81e2533.js → dataTransform-1a7310bf.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-16ae9ec5.js → editor-2ec97fb8.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-95582cb9.js → InputDate-3de0b6eb.js} +3 -3
- package/build/esm/{LastPeriod-6bd7ad93.js → LastPeriod-c00e7236.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-b87f8b35.js → MobileBottomNavigationIcon-1dc5526b.js} +3 -3
- package/build/esm/{Spinner-a9620d7f.js → Spinner-37ae77a1.js} +1 -1
- package/build/esm/{WhatsApp-9e19b7fb.js → WhatsApp-6cf1cba2.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-a5b1bd3d.js → constants-8391efd4.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-b54de4ea.js → core-7ced398e.js} +1 -1
- package/build/esm/{dataTransform-192c6c28.js → dataTransform-33dce2b7.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-c3bfd985.js → editor-225465e9.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-4f489b7e.js → healthTools-e8b13544.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +2 -1
- package/build/esm/i18n-values/hi-IN.js +2 -1
- package/build/esm/i18n-values/id-ID.js +4 -3
- package/build/esm/i18n-values/km-KH.js +2 -1
- package/build/esm/i18n-values/ms-MY.js +2 -1
- package/build/esm/i18n-values/my-MM.js +4 -3
- package/build/esm/i18n-values/th-TH.js +4 -3
- package/build/esm/i18n-values/tl-PH.js +2 -1
- package/build/esm/i18n-values/vi-VN.js +2 -1
- package/build/esm/i18n-values/vi-VN_MB.js +2 -1
- package/build/esm/i18n-values/zh-CN.js +2 -1
- package/build/esm/i18n-values/zh-TW.js +2 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-912e5964.js → index-023a138f.js} +231 -147
- package/build/esm/{index-169105b8.js → index-02da49e4.js} +6 -6
- package/build/esm/{index-c539556e.js → index-0527b881.js} +16 -16
- package/build/esm/{index-f8c6adf5.js → index-0914bea0.js} +4 -4
- package/build/esm/{index-3e5d8e7a.js → index-0af646e0.js} +13 -13
- package/build/esm/{index-e0d52f7d.js → index-0b5c7bb3.js} +5 -5
- package/build/esm/{index-3076c7d5.js → index-110695a5.js} +2 -2
- package/build/esm/{index-4f901e4d.js → index-113f57fd.js} +1 -1
- package/build/esm/{index-adbe75fa.js → index-12c25215.js} +1 -1
- package/build/esm/{index-d17b8e2c.js → index-18957b53.js} +16 -16
- package/build/esm/{index-f7ac6a0a.js → index-190c6d36.js} +11 -11
- package/build/esm/{index-c23bc927.js → index-27607593.js} +6 -6
- package/build/esm/{index-376d494b.js → index-33f4508d.js} +15 -15
- package/build/esm/{index-c60ec065.js → index-3d569636.js} +3 -3
- package/build/esm/{index-670e69cb.js → index-3fbf9806.js} +2 -2
- package/build/esm/{index-46ad822c.js → index-42d18aba.js} +1 -1
- package/build/esm/{index-2bad4106.js → index-448c4373.js} +17 -17
- package/build/esm/{index-c3285710.js → index-48ba9a23.js} +2 -2
- package/build/esm/{index-8bb32149.js → index-4a02282f.js} +2 -2
- package/build/esm/{index-8d285723.js → index-4a08219a.js} +1 -1
- package/build/esm/{index-140dcfdc.js → index-4c04e5bc.js} +21 -21
- package/build/esm/{index-f89a38f9.js → index-4e6b231b.js} +24 -24
- package/build/esm/{index-b0f23553.js → index-50f9d5f5.js} +7 -7
- package/build/esm/{index-33750331.js → index-52b415e3.js} +1 -1
- package/build/esm/{index-2f78ddf9.js → index-54d05e87.js} +5 -5
- package/build/esm/{index-02a71e66.js → index-599f32ab.js} +31 -31
- package/build/esm/{index-a03cc137.js → index-6c00503e.js} +2 -2
- package/build/esm/{index-b951a466.js → index-711160fd.js} +2 -2
- package/build/esm/{index-3851a867.js → index-7132e119.js} +1 -1
- package/build/esm/{index-1f219095.js → index-756725c2.js} +2 -2
- package/build/esm/{index-d34c5e3d.js → index-7ee37015.js} +4 -4
- package/build/esm/{index-2b657776.js → index-847f9ab6.js} +18 -18
- package/build/esm/{index-9c40bee4.js → index-864940b7.js} +7 -7
- package/build/esm/{index-3b1aa0b8.js → index-8c21ead4.js} +3 -3
- package/build/esm/{index-47f3dddb.js → index-8ecb1332.js} +17 -17
- package/build/esm/{index-119711b9.js → index-9050f4e9.js} +2 -2
- package/build/esm/{index-aacbc3ef.js → index-92bb90c9.js} +3 -3
- package/build/esm/{index-03e245b2.js → index-98c2852d.js} +18 -18
- package/build/esm/{index-bf6ed587.js → index-9e52e7ff.js} +2 -2
- package/build/esm/{index-ba156e99.js → index-a09019fd.js} +2 -2
- package/build/esm/{index-cb56f721.js → index-aac78899.js} +6 -6
- package/build/esm/{index-a9f213a6.js → index-aee74f37.js} +1 -1
- package/build/esm/{index-fb95233f.js → index-b2ad799b.js} +13 -13
- package/build/esm/{index-bcfaa0e6.js → index-b462e743.js} +31 -31
- package/build/esm/{index-5aebff86.js → index-b902c3fb.js} +16 -16
- package/build/esm/{index-496904b6.js → index-bad504c6.js} +25 -25
- package/build/esm/{index-59bd98a3.js → index-bf06494d.js} +6 -6
- package/build/esm/{index-df117190.js → index-c07bd09a.js} +2 -2
- package/build/esm/{index-d75c3fb7.js → index-c07c34ee.js} +22 -22
- package/build/esm/{index-2892eb0a.js → index-c4507a0c.js} +3 -3
- package/build/esm/{index-608aa404.js → index-cb24aaef.js} +10 -10
- package/build/esm/{index-ec1bb54b.js → index-ce42020e.js} +1 -1
- package/build/esm/{index-33433fc2.js → index-cfd3d75e.js} +8 -8
- package/build/esm/{index-45101bb7.js → index-cff26977.js} +17 -17
- package/build/esm/{index-f5c1e2c9.js → index-d4867431.js} +6 -6
- package/build/esm/{index-4ae1a48c.js → index-db5af859.js} +2 -2
- package/build/esm/{index-ed2b3f2f.js → index-dbfb26ed.js} +1 -1
- package/build/esm/{index-f437bfc4.js → index-dede8436.js} +16 -16
- package/build/esm/{index-5f64e4d5.js → index-e160727d.js} +2 -2
- package/build/esm/{index-5f7999af.js → index-e5026fe0.js} +3 -3
- package/build/esm/{index-f122e041.js → index-e7780c40.js} +17 -17
- package/build/esm/{index-11c03693.js → index-f1ce4d65.js} +13 -13
- package/build/esm/{index-d39d14e2.js → index-f340ae87.js} +2 -2
- package/build/esm/{index-b3bde8eb.js → index-f37b2f4c.js} +13 -13
- package/build/esm/{index-c3f0d9a6.js → index-fa37e358.js} +3 -3
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-71895de3.js → labelSorting-76adca0e.js} +4 -4
- package/build/esm/lead.js +32 -32
- package/build/esm/{logoIcon-5b62cfe4.js → logoIcon-acedf6f6.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-0526421c.js → post-a58ebf7c.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.js +30 -30
- package/build/esm/{store-99ea3c78.js → store-94edb3b3.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-d85babb0.js → surveyThankyouCard-a6a24b46.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/index.styled.d.ts +7 -0
- package/build/esm/together/utils/index.d.ts +1 -0
- package/build/esm/together.js +56 -56
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-81221859.js → translationsProvider-e2245dc2.js} +1 -1
- package/build/esm/{treePopoverMenu-01379a96.js → treePopoverMenu-7502dc2c.js} +19 -19
- package/build/esm/{types-106c6788.js → types-e0d98e14.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-0dcc4c18.js → useCategory-f0c930aa.js} +5 -5
- package/build/esm/{useHealthToolCache-3040ff0e.js → useHealthToolCache-4b8a204f.js} +1 -1
- package/build/esm/{useMantineLocale-a938a312.js → useMantineLocale-36230243.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-b70b7ce0.js → usePlacesAutocomplete-cbc980ee.js} +1 -1
- package/build/esm/{useScreenSize-fb33da04.js → useScreenSize-2bbf367e.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-1628a5f4.js → utils-2bee2fb4.js} +2 -2
- package/build/esm/{utils-8307e0f2.js → utils-539deb75.js} +5 -5
- package/build/esm/{utils-58628779.js → utils-966f2cee.js} +3 -3
- package/build/esm/{utils-b033a48d.js → utils-dbc9c0f0.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-ef3f356e.js → healthTools-955e57bd.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +2 -1
- package/build/i18n-values/hi-IN.js +2 -1
- package/build/i18n-values/id-ID.js +4 -3
- package/build/i18n-values/km-KH.js +2 -1
- package/build/i18n-values/ms-MY.js +2 -1
- package/build/i18n-values/my-MM.js +4 -3
- package/build/i18n-values/th-TH.js +4 -3
- package/build/i18n-values/tl-PH.js +2 -1
- package/build/i18n-values/vi-VN.js +2 -1
- package/build/i18n-values/vi-VN_MB.js +2 -1
- package/build/i18n-values/zh-CN.js +2 -1
- package/build/i18n-values/zh-TW.js +2 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-7e08e497.js → index-08fcf3aa.js} +5 -5
- package/build/{index-594452e3.js → index-0e634110.js} +2 -2
- package/build/{index-e8b11e75.js → index-111cd51c.js} +6 -6
- package/build/{index-d139926a.js → index-11233691.js} +2 -2
- package/build/{index-0d40fbb1.js → index-1676c1f6.js} +6 -6
- package/build/{index-4108e3bd.js → index-1712dc69.js} +7 -7
- package/build/{index-32ff35c0.js → index-1afb5492.js} +17 -17
- package/build/{index-55a8b4bd.js → index-26279472.js} +2 -2
- package/build/{index-643c6e04.js → index-27815146.js} +1 -1
- package/build/{index-d75ddba4.js → index-28ed74f1.js} +5 -5
- package/build/{index-75a9eb0b.js → index-2c5a8ca9.js} +31 -31
- package/build/{index-6ee435b6.js → index-2fa7fa9c.js} +17 -17
- package/build/{index-2ad920e4.js → index-37b80834.js} +4 -4
- package/build/{index-680ab921.js → index-3a100f96.js} +25 -25
- package/build/{index-3e9a3e81.js → index-3a3bd736.js} +2 -2
- package/build/{index-489453d0.js → index-45465636.js} +1 -1
- package/build/{index-6eed2bd0.js → index-457ee264.js} +6 -6
- package/build/{index-0579b04b.js → index-4985c02f.js} +2 -2
- package/build/{index-155eb40c.js → index-4a829a3d.js} +3 -3
- package/build/{index-f7e54e43.js → index-501b45c2.js} +6 -6
- package/build/{index-41864bfb.js → index-5142eef5.js} +2 -2
- package/build/{index-112ee36d.js → index-539696ad.js} +3 -3
- package/build/{index-55f0a158.js → index-546f0d5e.js} +16 -16
- package/build/{index-02559d27.js → index-58052fd7.js} +2 -2
- package/build/{index-5f147d35.js → index-605608ab.js} +22 -22
- package/build/{index-c32c7d30.js → index-6250307d.js} +15 -15
- package/build/{index-31054a1b.js → index-62ee4445.js} +24 -24
- package/build/{index-2dc187b5.js → index-70de9850.js} +1 -1
- package/build/{index-a7b14ca9.js → index-789a2c8f.js} +8 -8
- package/build/{index-d60f043e.js → index-7a234e75.js} +31 -31
- package/build/{index-4371c483.js → index-7e6e1cab.js} +10 -10
- package/build/{index-46a9a7d0.js → index-7fc05b9e.js} +3 -3
- package/build/{index-9f32ab48.js → index-861663fa.js} +16 -16
- package/build/{index-02dab628.js → index-86f8e22b.js} +1 -1
- package/build/{index-073c424b.js → index-88a9a7b0.js} +1 -1
- package/build/{index-4eadb6ba.js → index-8df6fefb.js} +17 -17
- package/build/{index-61953c36.js → index-8e775085.js} +2 -2
- package/build/{index-4969f8b1.js → index-95ae1af5.js} +18 -18
- package/build/{index-4c660f74.js → index-9757b60e.js} +1 -1
- package/build/{index-c6008b7f.js → index-a0cbffda.js} +13 -13
- package/build/{index-35d14d51.js → index-a6161efc.js} +2 -2
- package/build/{index-c9f1f650.js → index-aa7f2f8e.js} +2 -2
- package/build/{index-7d75fcfc.js → index-aaecebaa.js} +13 -13
- package/build/{index-789b8839.js → index-aafaafd3.js} +18 -18
- package/build/{index-32de8260.js → index-ab17d0f2.js} +16 -16
- package/build/{index-421eca75.js → index-b106675e.js} +1 -1
- package/build/{index-d79537c0.js → index-b5f73835.js} +16 -16
- package/build/{index-de153206.js → index-b82cddb5.js} +3 -3
- package/build/{index-010e7c77.js → index-ba1dfbb6.js} +11 -11
- package/build/{index-db8fadeb.js → index-c6b097b8.js} +3 -3
- package/build/{index-0c5952a5.js → index-c70382d7.js} +2 -2
- package/build/{index-a44a04cc.js → index-c7da40e0.js} +6 -6
- package/build/{index-3e936ef5.js → index-c826f710.js} +2 -2
- package/build/{index-452f1eb5.js → index-cbadd61d.js} +1 -1
- package/build/{index-4c7f641f.js → index-cbc87e7c.js} +13 -13
- package/build/{index-e9a7b940.js → index-cd397653.js} +13 -13
- package/build/{index-c65f351d.js → index-cec7c2e9.js} +1 -1
- package/build/{index-a8d0cfdb.js → index-d896c731.js} +2 -2
- package/build/{index-47f90fa7.js → index-e151865b.js} +21 -21
- package/build/{index-afc8b11a.js → index-e180bceb.js} +17 -17
- package/build/{index-d9e7c442.js → index-e36c3713.js} +7 -7
- package/build/{index-67083665.js → index-ea84a11b.js} +4 -4
- package/build/{index-daac6272.js → index-ec35690d.js} +230 -146
- package/build/{index-f3df9d5a.js → index-f9e32d5a.js} +2 -2
- package/build/{index-559e5501.js → index-fa7b3e87.js} +3 -3
- package/build/index.js +118 -118
- package/build/{labelSorting-fdf79870.js → labelSorting-f89451d4.js} +4 -4
- package/build/lead.js +32 -32
- package/build/{logoIcon-4722afa4.js → logoIcon-dfd6c2a2.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-0950ef7f.js → post-9c853116.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +28 -28
- package/build/{store-b11d784b.js → store-c0cc1ed3.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-2b36d7a8.js → surveyThankyouCard-b094b0cc.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/index.styled.d.ts +7 -0
- package/build/together/utils/index.d.ts +1 -0
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-90d21e5c.js → translationsProvider-56928a3c.js} +1 -1
- package/build/{treePopoverMenu-b79c47b2.js → treePopoverMenu-08beab6b.js} +19 -19
- package/build/{types-7acb1092.js → types-75b58469.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-7e682543.js → useCategory-6ae322de.js} +5 -5
- package/build/{useHealthToolCache-ea23d86b.js → useHealthToolCache-f6d33c9b.js} +1 -1
- package/build/{useMantineLocale-ec184683.js → useMantineLocale-3e2ab14d.js} +6 -6
- package/build/{usePlacesAutocomplete-b1cef70f.js → usePlacesAutocomplete-06298b2c.js} +1 -1
- package/build/{useScreenSize-03555d45.js → useScreenSize-bf9fd1ec.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-406b2205.js → utils-3b31e8c3.js} +5 -5
- package/build/{utils-ebffddc8.js → utils-a06acd51.js} +3 -3
- package/build/{utils-2d61d335.js → utils-b8b39ab6.js} +2 -2
- package/build/{utils-bd12e381.js → utils-cac21f95.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-8c9db15a.js → BMI_BOYS.percentile.monthly-9f152c2a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a689769b.js → BMI_BOYS.percentile.weekly-97d3222c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e1ebccf8.js → BMI_BOYS.percentile.yearly-5f0acf05.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7e63d878.js → BMI_BOYS.zscore.monthly-a2e1063e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-07720b7b.js → BMI_BOYS.zscore.weekly-0fba0d7f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-f7db7131.js → BMI_BOYS.zscore.yearly-8a0ed23b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-201cb258.js → BMI_GIRLS.percentile.monthly-e761fac3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0ece140c.js → BMI_GIRLS.percentile.weekly-30c96d04.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-468fe324.js → BMI_GIRLS.percentile.yearly-f8abc794.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cf26ac1d.js → BMI_GIRLS.zscore.monthly-4cc8b26d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-7b93dc72.js → BMI_GIRLS.zscore.weekly-5daade4d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f874af51.js → BMI_GIRLS.zscore.yearly-dc817f11.js} +0 -0
- /package/build/{ChevronDown-bff6582f.js → ChevronDown-8e7e32c9.js} +0 -0
- /package/build/{Close-539a8ab1.js → Close-d03cb628.js} +0 -0
- /package/build/{Google-550c0f4d.js → Google-a9a0c01a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5a4e8b87.js → HEAD CIRCUM_BOYS.percentile.monthly-8af7454e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1f55d2ba.js → HEAD CIRCUM_BOYS.percentile.weekly-e31113cd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e1ef2dc7.js → HEAD CIRCUM_BOYS.percentile.yearly-d2ec1246.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-165874ce.js → HEAD CIRCUM_BOYS.zscore.monthly-64736415.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9cc6d575.js → HEAD CIRCUM_BOYS.zscore.weekly-3085e7bc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-90ed27d1.js → HEAD CIRCUM_BOYS.zscore.yearly-ca16e1b1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-875f0106.js → HEAD CIRCUM_GIRLS.percentile.monthly-76e8d246.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-647840ea.js → HEAD CIRCUM_GIRLS.percentile.weekly-55d95d81.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-17885f9f.js → HEAD CIRCUM_GIRLS.percentile.yearly-d1c5a180.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-fcc741aa.js → HEAD CIRCUM_GIRLS.zscore.monthly-adfc2acd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d8557fdd.js → HEAD CIRCUM_GIRLS.zscore.weekly-6b316c6e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-cda06d21.js → HEAD CIRCUM_GIRLS.zscore.yearly-7d7c487c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-23de96e5.js → HEIGHT_BOYS.percentile.monthly-9c3b903f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d7fdaee3.js → HEIGHT_BOYS.percentile.weekly-29c1833b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-539c0d26.js → HEIGHT_BOYS.percentile.yearly-db218a30.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ec859f90.js → HEIGHT_BOYS.zscore.monthly-64e999d1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d73df3e0.js → HEIGHT_BOYS.zscore.weekly-773bdf94.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-13c44198.js → HEIGHT_BOYS.zscore.yearly-82dc5bd6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-846127be.js → HEIGHT_GIRLS.percentile.monthly-b4b00b8e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7103bf04.js → HEIGHT_GIRLS.percentile.weekly-7e3dc1c6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ba7949c5.js → HEIGHT_GIRLS.percentile.yearly-c696c874.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-2b71db1d.js → HEIGHT_GIRLS.zscore.monthly-1e3efa55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ff81a4fc.js → HEIGHT_GIRLS.zscore.weekly-4c8a6df2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-c29cf18e.js → HEIGHT_GIRLS.zscore.yearly-b201f9f6.js} +0 -0
- /package/build/{Locale-7978c9cc.js → Locale-d6ed6fd5.js} +0 -0
- /package/build/{Visible-516f027e.js → Visible-8cb29e3b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-88977b50.js → WEIGHT_BOYS.percentile.monthly-28b8b791.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-98331f0b.js → WEIGHT_BOYS.percentile.weekly-cb8c252d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e7945da5.js → WEIGHT_BOYS.percentile.yearly-642524f9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c04658e6.js → WEIGHT_BOYS.zscore.monthly-29c479ba.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-98b9b101.js → WEIGHT_BOYS.zscore.weekly-79388d42.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a220a344.js → WEIGHT_BOYS.zscore.yearly-04ab41ac.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-051c5ec2.js → WEIGHT_GIRLS.percentile.monthly-6e66b039.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f58b6b99.js → WEIGHT_GIRLS.percentile.weekly-1300e791.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-4b5240ec.js → WEIGHT_GIRLS.percentile.yearly-1015a28c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e01b1eac.js → WEIGHT_GIRLS.zscore.monthly-d2e917af.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a708b96b.js → WEIGHT_GIRLS.zscore.weekly-02c0d2bd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-6ed95997.js → WEIGHT_GIRLS.zscore.yearly-af8b3d14.js} +0 -0
- /package/build/{animation-6a6f59d2.js → animation-ea19bb57.js} +0 -0
- /package/build/{constants-11de5f84.js → constants-4f94e6fd.js} +0 -0
- /package/build/{constants-6502967a.js → constants-52aef66c.js} +0 -0
- /package/build/{constants-709311e0.js → constants-86bdcc53.js} +0 -0
- /package/build/{dataTransform-c89de3b2.js → dataTransform-44b74b9e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-2d868e0c.js → BMI_BOYS.percentile.monthly-075f5d48.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ac1b69d6.js → BMI_BOYS.percentile.weekly-e566b297.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-602fbd5f.js → BMI_BOYS.percentile.yearly-968ff034.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-7893698e.js → BMI_BOYS.zscore.monthly-1f7b53a2.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c46ff024.js → BMI_BOYS.zscore.weekly-f8e35173.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-232bcb49.js → BMI_BOYS.zscore.yearly-32275a4d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-e3867d77.js → BMI_GIRLS.percentile.monthly-efe5bd3e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-e632c7b9.js → BMI_GIRLS.percentile.weekly-e328b638.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5c5b660b.js → BMI_GIRLS.percentile.yearly-1963bfcd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-cffd34cd.js → BMI_GIRLS.zscore.monthly-458782d1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1419f794.js → BMI_GIRLS.zscore.weekly-ef8b1961.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-bd701532.js → BMI_GIRLS.zscore.yearly-f32a5313.js} +0 -0
- /package/build/esm/{ChevronDown-3b3c3b11.js → ChevronDown-e4cc466e.js} +0 -0
- /package/build/esm/{Close-c214dfa7.js → Close-f335d7d5.js} +0 -0
- /package/build/esm/{Google-afd75689.js → Google-a40ce59d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-bae7c034.js → HEAD CIRCUM_BOYS.percentile.monthly-88877c38.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-55e5bf84.js → HEAD CIRCUM_BOYS.percentile.weekly-ae47f376.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-f2bdc060.js → HEAD CIRCUM_BOYS.percentile.yearly-d2873655.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-77f983fe.js → HEAD CIRCUM_BOYS.zscore.monthly-ab04bb64.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-811b1a1b.js → HEAD CIRCUM_BOYS.zscore.weekly-42be0c33.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6fed0fd8.js → HEAD CIRCUM_BOYS.zscore.yearly-9e0f7356.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0c53afce.js → HEAD CIRCUM_GIRLS.percentile.monthly-28147114.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9e9e04f5.js → HEAD CIRCUM_GIRLS.percentile.weekly-ec14a371.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-ee3dd4ff.js → HEAD CIRCUM_GIRLS.percentile.yearly-b2227c73.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-bf037d95.js → HEAD CIRCUM_GIRLS.zscore.monthly-9e2dc52c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3cfe94a6.js → HEAD CIRCUM_GIRLS.zscore.weekly-ca8a02b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-229833dd.js → HEAD CIRCUM_GIRLS.zscore.yearly-ea07af92.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-deb1db57.js → HEIGHT_BOYS.percentile.monthly-9c0fddf3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0f0eb34e.js → HEIGHT_BOYS.percentile.weekly-7049e16b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-af19ac11.js → HEIGHT_BOYS.percentile.yearly-73f5111e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c77f2195.js → HEIGHT_BOYS.zscore.monthly-cdb3f14b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ea779b14.js → HEIGHT_BOYS.zscore.weekly-6705f40a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-60bfb51f.js → HEIGHT_BOYS.zscore.yearly-3cb76051.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9f813296.js → HEIGHT_GIRLS.percentile.monthly-209b4861.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-31a888f2.js → HEIGHT_GIRLS.percentile.weekly-7dd27242.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f5b633ab.js → HEIGHT_GIRLS.percentile.yearly-54be350a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-84fbd8ad.js → HEIGHT_GIRLS.zscore.monthly-3a4a1089.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-8563c02b.js → HEIGHT_GIRLS.zscore.weekly-731251d8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d508d9c2.js → HEIGHT_GIRLS.zscore.yearly-749a8061.js} +0 -0
- /package/build/esm/{Locale-ce7c9574.js → Locale-c05b4162.js} +0 -0
- /package/build/esm/{Visible-2b74bc97.js → Visible-ce15dc3e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bcab94ad.js → WEIGHT_BOYS.percentile.monthly-ae9baf0d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-edc41c40.js → WEIGHT_BOYS.percentile.weekly-ea249e46.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1484930e.js → WEIGHT_BOYS.percentile.yearly-e8066fa4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9db45a44.js → WEIGHT_BOYS.zscore.monthly-d4af506c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-1a71c413.js → WEIGHT_BOYS.zscore.weekly-4ebd43b1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c2bc9e67.js → WEIGHT_BOYS.zscore.yearly-9c5344f6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2e1c85e0.js → WEIGHT_GIRLS.percentile.monthly-de2f6755.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-74360200.js → WEIGHT_GIRLS.percentile.weekly-1eaa454c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f34f0558.js → WEIGHT_GIRLS.percentile.yearly-ac8d51e9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-059ac703.js → WEIGHT_GIRLS.zscore.monthly-f4d1616e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e1fb2fd8.js → WEIGHT_GIRLS.zscore.weekly-169c1e67.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-77eb5efd.js → WEIGHT_GIRLS.zscore.yearly-279d9930.js} +0 -0
- /package/build/esm/{animation-27d62e38.js → animation-7e1886f4.js} +0 -0
- /package/build/esm/{constants-ca7208a4.js → constants-82f3d21d.js} +0 -0
- /package/build/esm/{constants-3cb473c5.js → constants-d33263b5.js} +0 -0
- /package/build/esm/{constants-224a9c9d.js → constants-ecd7b299.js} +0 -0
- /package/build/esm/{dataTransform-7141f77c.js → dataTransform-51d2a647.js} +0 -0
- /package/build/esm/{index-6f28b547.js → index-2bf9e0c7.js} +0 -0
- /package/build/esm/{index-e31e78b8.js → index-59fcd11e.js} +0 -0
- /package/build/esm/{index-16a5ad99.js → index-743926ea.js} +0 -0
- /package/build/esm/{index-243017fd.js → index-7beff254.js} +0 -0
- /package/build/esm/{index-2e9997c5.js → index-7fa44c0e.js} +0 -0
- /package/build/esm/{index-6ef9420b.js → index-83b79fc6.js} +0 -0
- /package/build/esm/{index-8ca926b3.js → index-85f20c91.js} +0 -0
- /package/build/esm/{index-725acd8e.js → index-f2b664b2.js} +0 -0
- /package/build/esm/{index.styles-d2bdab8c.js → index.styles-ee329278.js} +0 -0
- /package/build/esm/{localizeNumberFormat-7fbc5ef2.js → localizeNumberFormat-3d282054.js} +0 -0
- /package/build/esm/{normalizeLink-2e955111.js → normalizeLink-c1b5cc6b.js} +0 -0
- /package/build/esm/{number-2c21651a.js → number-5016cef5.js} +0 -0
- /package/build/esm/{other-9f3029ec.js → other-a43016d1.js} +0 -0
- /package/build/esm/{paths-badc1b3b.js → paths-bec5b0c5.js} +0 -0
- /package/build/esm/{translationsContext-8059f988.js → translationsContext-a275465e.js} +0 -0
- /package/build/esm/{tslib.es6-920542f4.js → tslib.es6-30e6f9a9.js} +0 -0
- /package/build/esm/{types-d19dcc16.js → types-0216b206.js} +0 -0
- /package/build/esm/{useIsInit-80a86f68.js → useIsInit-46e41f1c.js} +0 -0
- /package/build/esm/{useOutsideClick-ee68528a.js → useOutsideClick-dfa1a3dd.js} +0 -0
- /package/build/esm/{useScrollbarSize-a550eea1.js → useScrollbarSize-853656f8.js} +0 -0
- /package/build/esm/{useUniqueId-c8370483.js → useUniqueId-3e15eabc.js} +0 -0
- /package/build/esm/{utils-2369b642.js → utils-1a28819a.js} +0 -0
- /package/build/{index-1f64a5dc.js → index-0324e04f.js} +0 -0
- /package/build/{index-55b1bfa8.js → index-0acde5e3.js} +0 -0
- /package/build/{index-a200e69c.js → index-46396ba3.js} +0 -0
- /package/build/{index-6d1e1360.js → index-62e98f6e.js} +0 -0
- /package/build/{index-c895266c.js → index-66735537.js} +0 -0
- /package/build/{index-8223092b.js → index-681fd02b.js} +0 -0
- /package/build/{index-6625747d.js → index-b1053088.js} +0 -0
- /package/build/{index-6f22b55e.js → index-be96a59c.js} +0 -0
- /package/build/{index.styles-e555d060.js → index.styles-31ab4468.js} +0 -0
- /package/build/{localizeNumberFormat-cbba4877.js → localizeNumberFormat-e66a05f7.js} +0 -0
- /package/build/{normalizeLink-4008bb97.js → normalizeLink-83d9a351.js} +0 -0
- /package/build/{number-2bb6487c.js → number-21785cfd.js} +0 -0
- /package/build/{other-3d614c90.js → other-9e4ceb9d.js} +0 -0
- /package/build/{paths-e0e4a30a.js → paths-9daec102.js} +0 -0
- /package/build/{translationsContext-ae3c7cbc.js → translationsContext-43dbcf8f.js} +0 -0
- /package/build/{tslib.es6-bd4b6f69.js → tslib.es6-df8551a2.js} +0 -0
- /package/build/{types-160c4161.js → types-3325c59c.js} +0 -0
- /package/build/{useIsInit-6ed13d1d.js → useIsInit-6023b3a5.js} +0 -0
- /package/build/{useOutsideClick-0864ce66.js → useOutsideClick-2401a2e4.js} +0 -0
- /package/build/{useScrollbarSize-7c9c913d.js → useScrollbarSize-68754034.js} +0 -0
- /package/build/{useUniqueId-3ad4fe36.js → useUniqueId-27b130fe.js} +0 -0
- /package/build/{utils-e56bcd6e.js → utils-1438d0cf.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-30e6f9a9.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-59fcd11e.js';
|
|
5
|
+
import { u as useTranslations } from './index-aee74f37.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-190c6d36.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-110695a5.js';
|
|
12
|
+
import './index-dbfb26ed.js';
|
|
13
|
+
import './index-743926ea.js';
|
|
14
|
+
import './useMantineLocale-36230243.js';
|
|
15
|
+
import { T as Text } from './index-a09019fd.js';
|
|
16
|
+
import { B as Button } from './index-7132e119.js';
|
|
17
|
+
import './index.styles-ee329278.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-1a28819a.js';
|
|
20
|
+
import './other-a43016d1.js';
|
|
21
|
+
import './index-8c21ead4.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-e7780c40.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-966f2cee.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-33dce2b7.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-82f3d21d.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-a58ebf7c.js';
|
|
28
|
+
import { C as CardAuthor } from './index-b902c3fb.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-225465e9.js';
|
|
30
|
+
import { I as Input } from './index-9050f4e9.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-48ba9a23.js';
|
|
35
|
+
import { C as CardLink } from './index-54d05e87.js';
|
|
36
|
+
import { B as BtnChoice } from './index-ce42020e.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-c05b4162.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-3fbf9806.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-27607593.js';
|
|
41
|
+
import { B as Button$1 } from './index-9e52e7ff.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-3e15eabc.js';
|
|
44
|
+
import { U as UserAvatar } from './index-e160727d.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-756725c2.js';
|
|
46
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
47
47
|
|
|
48
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1358,6 +1358,11 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
1358
1358
|
}), disabled: !isReadyToSubmit, loading: isSubmitting }, t('createPost.popup.submit'))))));
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
|
+
function toBoolean(str) {
|
|
1362
|
+
const strFormat = str.toLowerCase();
|
|
1363
|
+
return strFormat === 'true' || strFormat === '1' || strFormat === 'yes';
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1361
1366
|
const StyleContainer$2 = styled.div ``;
|
|
1362
1367
|
const StyleContentWrapper$1 = styled.div `
|
|
1363
1368
|
display: flex;
|
|
@@ -3025,8 +3030,7 @@ const StyledIsQuestion = styled.div `
|
|
|
3025
3030
|
width: 100%;
|
|
3026
3031
|
align-items: center;
|
|
3027
3032
|
justify-content: space-between;
|
|
3028
|
-
|
|
3029
|
-
border-radius: 0 0 8px 8px;
|
|
3033
|
+
border-radius: 8px;
|
|
3030
3034
|
background: ${theme.colors.neutral50};
|
|
3031
3035
|
gap: 12px;
|
|
3032
3036
|
|
|
@@ -3221,10 +3225,13 @@ const StyleSessionRow = styled.div `
|
|
|
3221
3225
|
}
|
|
3222
3226
|
`;
|
|
3223
3227
|
const StyledIsQuestionWrapper = styled.div `
|
|
3224
|
-
padding:
|
|
3225
|
-
border: 1px solid ${theme.colors.gray200};
|
|
3228
|
+
padding: 10px 16px;
|
|
3226
3229
|
border-top: none;
|
|
3227
|
-
border-radius:
|
|
3230
|
+
border-radius: 12px;
|
|
3231
|
+
background: ${theme.colors.neutral50};
|
|
3232
|
+
display: flex;
|
|
3233
|
+
flex-direction: column;
|
|
3234
|
+
gap: 8px;
|
|
3228
3235
|
&.has-error {
|
|
3229
3236
|
border: 1px solid ${theme.colors.red600};
|
|
3230
3237
|
}
|
|
@@ -3254,6 +3261,85 @@ const StyleActionFooter = styled.div `
|
|
|
3254
3261
|
.input-group {
|
|
3255
3262
|
margin-bottom: 0 !important;
|
|
3256
3263
|
}
|
|
3264
|
+
`;
|
|
3265
|
+
const StyledQuestionWrapperContainer = styled.div `
|
|
3266
|
+
padding: 8px 8px;
|
|
3267
|
+
border: 1px solid ${theme.colors.gray200};
|
|
3268
|
+
border-top: none;
|
|
3269
|
+
border-radius: 0 0 8px 8px;
|
|
3270
|
+
&.has-error {
|
|
3271
|
+
border: 1px solid ${theme.colors.red600};
|
|
3272
|
+
}
|
|
3273
|
+
&.error-description {
|
|
3274
|
+
border: 1px solid ${theme.colors.red600};
|
|
3275
|
+
border-top: none;
|
|
3276
|
+
}
|
|
3277
|
+
.error-choice-question {
|
|
3278
|
+
color: ${theme.colors.red600};
|
|
3279
|
+
font-size: 12px;
|
|
3280
|
+
font-weight: 400;
|
|
3281
|
+
line-height: 22px;
|
|
3282
|
+
letter-spacing: -0.2px;
|
|
3283
|
+
}
|
|
3284
|
+
`;
|
|
3285
|
+
const StyleSwitchButton = styled(SegmentedControl) `
|
|
3286
|
+
gap: 8px;
|
|
3287
|
+
&.mantine-SegmentedControl-root {
|
|
3288
|
+
background-color: transparent;
|
|
3289
|
+
padding: 0px;
|
|
3290
|
+
}
|
|
3291
|
+
.mantine-SegmentedControl-indicator {
|
|
3292
|
+
display: none;
|
|
3293
|
+
}
|
|
3294
|
+
.mantine-SegmentedControl-label {
|
|
3295
|
+
margin-bottom: 0px !important;
|
|
3296
|
+
display: flex;
|
|
3297
|
+
padding: 5px 12px;
|
|
3298
|
+
justify-content: center;
|
|
3299
|
+
align-items: center;
|
|
3300
|
+
gap: 8px;
|
|
3301
|
+
height: 32px;
|
|
3302
|
+
border: 1px solid ${theme.colors.neutral100};
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
.mantine-SegmentedControl-control {
|
|
3306
|
+
color: ${theme.colors.gray800};
|
|
3307
|
+
font-size: 14px;
|
|
3308
|
+
font-style: normal;
|
|
3309
|
+
font-weight: 600;
|
|
3310
|
+
line-height: 22px;
|
|
3311
|
+
border-radius: 8px;
|
|
3312
|
+
background: ${theme.colors.white};
|
|
3313
|
+
border-width: 0 !important;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
.mantine-SegmentedControl-controlActive {
|
|
3317
|
+
border-radius: 8px;
|
|
3318
|
+
background: ${theme.colors.blue50};
|
|
3319
|
+
|
|
3320
|
+
.mantine-SegmentedControl-label {
|
|
3321
|
+
color: ${theme.colors.primaryBase};
|
|
3322
|
+
border: 1px solid ${theme.colors.blue50};
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
&.segmented-marry-baby {
|
|
3327
|
+
.mantine-SegmentedControl-control {
|
|
3328
|
+
border-radius: 16px;
|
|
3329
|
+
}
|
|
3330
|
+
.mantine-SegmentedControl-label {
|
|
3331
|
+
border-radius: 16px;
|
|
3332
|
+
}
|
|
3333
|
+
.mantine-SegmentedControl-controlActive {
|
|
3334
|
+
border-radius: 16px;
|
|
3335
|
+
background: ${theme.colors.pink500};
|
|
3336
|
+
|
|
3337
|
+
.mantine-SegmentedControl-label {
|
|
3338
|
+
color: ${theme.colors.white};
|
|
3339
|
+
border: 1px solid ${theme.colors.pink500};
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3257
3343
|
`;
|
|
3258
3344
|
|
|
3259
3345
|
const CreatePostPhotos = ({ imageFiles: imageFilesInit, setImageFiles, }) => {
|
|
@@ -3424,12 +3510,10 @@ const applySpecialCharSite = [
|
|
|
3424
3510
|
];
|
|
3425
3511
|
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3426
3512
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3427
|
-
const { data: { locale,
|
|
3428
|
-
// env: { togetherBasePath },
|
|
3429
|
-
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3513
|
+
const { data: { locale }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3430
3514
|
const { t } = useTranslations();
|
|
3431
3515
|
const containerRef = useRef(null);
|
|
3432
|
-
const [isAskDoctor, setIsAskDoctor] = useState(
|
|
3516
|
+
const [isAskDoctor, setIsAskDoctor] = useState('');
|
|
3433
3517
|
const [specialCharErr, setspecialCharErr] = useState(false);
|
|
3434
3518
|
const [titleValue, setTitleValue] = useState('');
|
|
3435
3519
|
const [descriptionValue, setDescriptionValue] = useState('');
|
|
@@ -3454,6 +3538,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3454
3538
|
const [stepPost, setStepPost] = useState('step_info');
|
|
3455
3539
|
const [isLoadingSuggest, setIsLoadingSuggest] = useState(false);
|
|
3456
3540
|
const [uncategorizedId, setUncategorizedId] = useState('');
|
|
3541
|
+
const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);
|
|
3457
3542
|
const postActionType = [
|
|
3458
3543
|
{
|
|
3459
3544
|
label: t('cardPost.public'),
|
|
@@ -3476,18 +3561,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3476
3561
|
} })),
|
|
3477
3562
|
},
|
|
3478
3563
|
];
|
|
3479
|
-
// const currentCommunity = useMemo(() => {
|
|
3480
|
-
// if (!communityValue.value) return null
|
|
3481
|
-
// const result = communitiesList.find(
|
|
3482
|
-
// (item) => String(item.id) === String(communityValue.value),
|
|
3483
|
-
// )
|
|
3484
|
-
// if (!result) return null
|
|
3485
|
-
// return result
|
|
3486
|
-
// }, [communityValue, communitiesList])
|
|
3487
3564
|
const currentCommunity = forceSelectCommunity ||
|
|
3488
3565
|
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3489
3566
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3490
3567
|
useEffect(() => {
|
|
3568
|
+
var _a;
|
|
3491
3569
|
if (editPostData) {
|
|
3492
3570
|
const post = editPostData;
|
|
3493
3571
|
setTitleValue(post.title || '');
|
|
@@ -3496,9 +3574,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3496
3574
|
label: post.community.name,
|
|
3497
3575
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3498
3576
|
});
|
|
3499
|
-
// setSelectedTopics(post.topics || [])
|
|
3500
3577
|
setImageFiles(post.photos || []);
|
|
3501
|
-
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3578
|
+
setIsAskDoctor(((_a = (!!post.isAskDoctor)) === null || _a === void 0 ? void 0 : _a.toString()) || 'false');
|
|
3502
3579
|
}
|
|
3503
3580
|
else {
|
|
3504
3581
|
if (defaultCommunity) {
|
|
@@ -3507,9 +3584,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3507
3584
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3508
3585
|
});
|
|
3509
3586
|
}
|
|
3510
|
-
// if (defaultTopics) {
|
|
3511
|
-
// setSelectedTopics(defaultTopics)
|
|
3512
|
-
// }
|
|
3513
3587
|
}
|
|
3514
3588
|
}, []);
|
|
3515
3589
|
useEffect(() => {
|
|
@@ -3593,6 +3667,10 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3593
3667
|
});
|
|
3594
3668
|
hasError = true;
|
|
3595
3669
|
}
|
|
3670
|
+
if (!isAskDoctor) {
|
|
3671
|
+
errorMessage.askDoctor = t('createPost.message.askDoctor');
|
|
3672
|
+
hasError = true;
|
|
3673
|
+
}
|
|
3596
3674
|
if (imageFiles && imageFiles.length > 10) {
|
|
3597
3675
|
errorMessage.photos = t('createPost.message.photoMaxium');
|
|
3598
3676
|
hasError = true;
|
|
@@ -3633,94 +3711,92 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3633
3711
|
console.log(topicsList);
|
|
3634
3712
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3635
3713
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
description: descriptionValue,
|
|
3642
|
-
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3643
|
-
imageFiles,
|
|
3644
|
-
previewUrl,
|
|
3645
|
-
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3646
|
-
locale,
|
|
3647
|
-
sanitizeFunction,
|
|
3648
|
-
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3649
|
-
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3650
|
-
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3651
|
-
isAskDoctor: isAskDoctor ? 1 : 0,
|
|
3652
|
-
introUrl: '',
|
|
3653
|
-
});
|
|
3654
|
-
if (articleId) {
|
|
3655
|
-
bodyFormData.append('article_id', articleId);
|
|
3656
|
-
}
|
|
3657
|
-
console.log(uncategorized);
|
|
3658
|
-
let res;
|
|
3659
|
-
if (isInEditMode) {
|
|
3660
|
-
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3661
|
-
res = yield editPost({
|
|
3662
|
-
id: editPostData.id,
|
|
3663
|
-
formData: bodyFormData,
|
|
3664
|
-
locale,
|
|
3665
|
-
});
|
|
3714
|
+
if (!isLoadingSubmit) {
|
|
3715
|
+
setIsLoadingSubmit(true);
|
|
3716
|
+
const isError = validationPost();
|
|
3717
|
+
if (isError) {
|
|
3718
|
+
return setIsLoadingSubmit(false);
|
|
3666
3719
|
}
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3720
|
+
const bodyFormData = yield getPostFormData({
|
|
3721
|
+
title: titleValue,
|
|
3722
|
+
description: descriptionValue,
|
|
3723
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3724
|
+
imageFiles,
|
|
3725
|
+
previewUrl,
|
|
3726
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3671
3727
|
locale,
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
// editPostData ? 'editPost' : 'createPost'
|
|
3679
|
-
// }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
|
|
3680
|
-
// const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
|
|
3681
|
-
// resData?.community?.slug
|
|
3682
|
-
// }/${resData?.slug}/?${params}`
|
|
3683
|
-
// window.location.href = postHref
|
|
3684
|
-
pushNotifications({
|
|
3685
|
-
message: isInEditMode
|
|
3686
|
-
? t('updatePost.popup.success')
|
|
3687
|
-
: t('createPost.popup.success'),
|
|
3688
|
-
type: 'success',
|
|
3728
|
+
sanitizeFunction,
|
|
3729
|
+
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3730
|
+
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3731
|
+
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3732
|
+
isAskDoctor: toBoolean(isAskDoctor) ? 1 : 0,
|
|
3733
|
+
introUrl: '',
|
|
3689
3734
|
});
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3735
|
+
if (articleId) {
|
|
3736
|
+
bodyFormData.append('article_id', articleId);
|
|
3737
|
+
}
|
|
3738
|
+
console.log(uncategorized);
|
|
3739
|
+
let res;
|
|
3740
|
+
if (isInEditMode) {
|
|
3741
|
+
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3742
|
+
res = yield editPost({
|
|
3743
|
+
id: editPostData.id,
|
|
3744
|
+
formData: bodyFormData,
|
|
3745
|
+
locale,
|
|
3746
|
+
});
|
|
3701
3747
|
}
|
|
3702
3748
|
}
|
|
3703
|
-
else
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3749
|
+
else {
|
|
3750
|
+
res = yield createPost({
|
|
3751
|
+
formData: bodyFormData,
|
|
3752
|
+
locale,
|
|
3753
|
+
isArticleComment: true,
|
|
3708
3754
|
});
|
|
3709
|
-
onClose && onClose();
|
|
3710
3755
|
}
|
|
3711
|
-
|
|
3756
|
+
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3757
|
+
if ((resData === null || resData === void 0 ? void 0 : resData.id) && !((_b = (_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.moderation) === null || _b === void 0 ? void 0 : _b.type)) {
|
|
3712
3758
|
pushNotifications({
|
|
3713
|
-
message:
|
|
3714
|
-
|
|
3759
|
+
message: isInEditMode
|
|
3760
|
+
? t('updatePost.popup.success')
|
|
3761
|
+
: t('createPost.popup.success'),
|
|
3762
|
+
type: 'success',
|
|
3715
3763
|
});
|
|
3716
|
-
|
|
3764
|
+
onCreateEditSuccess(resData);
|
|
3717
3765
|
}
|
|
3718
3766
|
else {
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3767
|
+
if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
|
|
3768
|
+
pushNotifications({
|
|
3769
|
+
title: t('notification.post.blocked.title'),
|
|
3770
|
+
message: t('notification.post.blocked.message'),
|
|
3771
|
+
type: 'danger',
|
|
3772
|
+
});
|
|
3773
|
+
if (res.messages.moderation.words) {
|
|
3774
|
+
setBannedWords(res.messages.moderation.words);
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
|
|
3778
|
+
pushNotifications({
|
|
3779
|
+
title: t('notification.post.suspect.title'),
|
|
3780
|
+
message: t('notification.post.suspect.message'),
|
|
3781
|
+
type: 'warning',
|
|
3782
|
+
});
|
|
3783
|
+
onClose && onClose();
|
|
3784
|
+
}
|
|
3785
|
+
else if ((_h = (_g = res === null || res === void 0 ? void 0 : res.messages) === null || _g === void 0 ? void 0 : _g.find) === null || _h === void 0 ? void 0 : _h.call(_g, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
|
|
3786
|
+
pushNotifications({
|
|
3787
|
+
message: t('notification.suspend.message'),
|
|
3788
|
+
type: 'danger',
|
|
3789
|
+
});
|
|
3790
|
+
onClose && onClose();
|
|
3791
|
+
}
|
|
3792
|
+
else {
|
|
3793
|
+
pushNotifications({
|
|
3794
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3795
|
+
type: 'danger',
|
|
3796
|
+
});
|
|
3797
|
+
}
|
|
3723
3798
|
}
|
|
3799
|
+
setIsLoadingSubmit(false);
|
|
3724
3800
|
}
|
|
3725
3801
|
});
|
|
3726
3802
|
const getFirstOrderErroKey = (orderKey) => {
|
|
@@ -3757,6 +3833,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3757
3833
|
return;
|
|
3758
3834
|
}
|
|
3759
3835
|
submitPost();
|
|
3836
|
+
// TODO: Current hard to keep AI suggest community
|
|
3760
3837
|
if (stepPost)
|
|
3761
3838
|
return;
|
|
3762
3839
|
if (isInEditMode) {
|
|
@@ -3857,28 +3934,39 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3857
3934
|
zIndex: 10,
|
|
3858
3935
|
width: 'calc(100% + 20px)',
|
|
3859
3936
|
} })))),
|
|
3860
|
-
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: isAskDoctor
|
|
3937
|
+
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: toBoolean(isAskDoctor)
|
|
3861
3938
|
? t('createPost.post.askDoctor.title')
|
|
3862
3939
|
: t('createPost.post.title'), onChange: setTitleValue }),
|
|
3863
3940
|
specialCharErr && (React__default.createElement(StyledError, null,
|
|
3864
3941
|
React__default.createElement(Info, { isSolid: true, color: theme.colors.red700, size: 14 }),
|
|
3865
3942
|
React__default.createElement(Text, { size: "p3", as: "span", color: theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
|
|
3866
3943
|
React__default.createElement("div", { className: "input-group" },
|
|
3867
|
-
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: isAskDoctor
|
|
3944
|
+
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: toBoolean(isAskDoctor)
|
|
3868
3945
|
? t('createPost.post.askDoctor.description')
|
|
3869
3946
|
: t('createPost.post.description'), onChange: (v) => {
|
|
3870
3947
|
setDescriptionValue(v);
|
|
3871
3948
|
removeKeyError('description');
|
|
3872
3949
|
}, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, onImageFilesChange: setImageFiles, imageFiles: imageFiles, className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}`, footerEditor: React__default.createElement(React__default.Fragment, null,
|
|
3873
|
-
React__default.createElement(
|
|
3874
|
-
React__default.createElement(
|
|
3875
|
-
React__default.createElement(
|
|
3876
|
-
React__default.createElement(
|
|
3877
|
-
|
|
3878
|
-
React__default.createElement("div", { className: "
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3950
|
+
React__default.createElement(StyledQuestionWrapperContainer, { className: error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : '' },
|
|
3951
|
+
React__default.createElement(StyledIsQuestionWrapper, null,
|
|
3952
|
+
React__default.createElement(StyledIsQuestion, { color: theme.colors.primaryBase },
|
|
3953
|
+
React__default.createElement("div", { className: "switch-label" },
|
|
3954
|
+
React__default.createElement(Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.colors.primaryBase, className: "label-icon" }),
|
|
3955
|
+
React__default.createElement("div", { className: "wrapper-text" },
|
|
3956
|
+
React__default.createElement("div", { className: "label-txt" }, t('createPost.askDoctor.description')))),
|
|
3957
|
+
React__default.createElement(StyleSwitchButton, { value: isAskDoctor, onChange: (val) => {
|
|
3958
|
+
setIsAskDoctor(val);
|
|
3959
|
+
}, className: isMarryBaby ? 'segmented-marry-baby' : '', data: [
|
|
3960
|
+
{
|
|
3961
|
+
label: t('switchBtn.yes'),
|
|
3962
|
+
value: 'true',
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
label: t('switchBtn.no'),
|
|
3966
|
+
value: 'false',
|
|
3967
|
+
},
|
|
3968
|
+
] })),
|
|
3969
|
+
error && (error === null || error === void 0 ? void 0 : error.askDoctor) && (React__default.createElement("div", { className: "error-choice-question" }, error.askDoctor)))),
|
|
3882
3970
|
error && (error === null || error === void 0 ? void 0 : error.description) && (React__default.createElement(StyledError, { style: { margin: '4px 0 0' } },
|
|
3883
3971
|
React__default.createElement(Text, { size: "p5", as: "span", color: theme.colors.red600 }, error.description)))) })),
|
|
3884
3972
|
stepPost === 'step_community' && (React__default.createElement(CreatePostCommunity, { communitiesList: communitiesList, currentCommunity: currentCommunity, selectedTopics: selectedTopics, communityValue: communityValue, defaultCommunity: forceSelectCommunity, error: error, isFullscreen: false, isMarryBaby: isMarryBaby, isInEditMode: isInEditMode, isLoadingSuggest: isLoadingSuggest, setSelectedTopics: setSelectedTopics, setCommunityValue: setCommunityValue, removeKeyError: removeKeyError, setStepPost: setStepPost, onSubmitPost: submitPost })),
|
|
@@ -3889,11 +3977,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3889
3977
|
validationUploadPhoto(data);
|
|
3890
3978
|
} }),
|
|
3891
3979
|
React__default.createElement("div", { className: "action-wrapper" },
|
|
3892
|
-
React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest, disabled: isLoadingSuggest },
|
|
3893
|
-
/* {isInEditMode
|
|
3894
|
-
? t('createPost.popup.submit')
|
|
3895
|
-
: t('onboarding.button.continue')} */
|
|
3896
|
-
t('createPost.popup.submit'))))));
|
|
3980
|
+
React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest || isLoadingSubmit, disabled: isLoadingSuggest || isLoadingSubmit }, t('createPost.popup.submit'))))));
|
|
3897
3981
|
};
|
|
3898
3982
|
|
|
3899
3983
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { L as LOCALE } from './Locale-
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
2
|
+
import { L as LOCALE } from './Locale-c05b4162.js';
|
|
3
|
+
import { C as CommonGAssets } from './index-743926ea.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
-
import { L as LogoIcon } from './logoIcon-
|
|
7
|
-
import './index-
|
|
8
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
5
|
+
import { M as MediaQueries } from './utils-1a28819a.js';
|
|
6
|
+
import { L as LogoIcon } from './logoIcon-acedf6f6.js';
|
|
7
|
+
import './index-dbfb26ed.js';
|
|
8
|
+
import { I as ImageWrap } from './useScreenSize-2bbf367e.js';
|
|
9
9
|
|
|
10
10
|
const StyledLogo = styled.div `
|
|
11
11
|
position: relative;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-30e6f9a9.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 './index-
|
|
6
|
-
import { D as DatePicker } from './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index.styles-
|
|
10
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import './index-190c6d36.js';
|
|
6
|
+
import { D as DatePicker } from './index-d4867431.js';
|
|
7
|
+
import './index-a09019fd.js';
|
|
8
|
+
import './index-7132e119.js';
|
|
9
|
+
import './index.styles-ee329278.js';
|
|
10
|
+
import { u as useTranslations } from './index-aee74f37.js';
|
|
11
11
|
import '@mantine/hooks';
|
|
12
|
-
import './useMantineLocale-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import './utils-
|
|
16
|
-
import './index-
|
|
17
|
-
import './other-
|
|
18
|
-
import './index-
|
|
19
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
20
|
-
import { G as GenderOptionControl } from './index-
|
|
12
|
+
import './useMantineLocale-36230243.js';
|
|
13
|
+
import './index-dbfb26ed.js';
|
|
14
|
+
import './index-743926ea.js';
|
|
15
|
+
import './utils-1a28819a.js';
|
|
16
|
+
import './index-110695a5.js';
|
|
17
|
+
import './other-a43016d1.js';
|
|
18
|
+
import './index-8c21ead4.js';
|
|
19
|
+
import { H as HealthToolFormWrapper } from './index-0914bea0.js';
|
|
20
|
+
import { G as GenderOptionControl } from './index-f1ce4d65.js';
|
|
21
21
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
22
22
|
|
|
23
23
|
const BabyVaccineFormContext = createContext({});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-30e6f9a9.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { createStyles, rem, Box, Input, Chip, useMantineTheme, Flex, Switch } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-a09019fd.js';
|
|
5
|
+
import { B as Button } from './index-7132e119.js';
|
|
6
|
+
import { u as useTranslations } from './index-aee74f37.js';
|
|
7
7
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-30e6f9a9.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { useMantineTheme, Box, Flex, rem, createStyles } from '@mantine/core';
|
|
4
4
|
import { RedCross } from '@hhgtech/icons/other';
|
|
5
|
-
import { t as themeColors } from './index-
|
|
5
|
+
import { t as themeColors } from './index-190c6d36.js';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './useMantineLocale-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index.styles-
|
|
14
|
-
import { u as useTranslations } from './index-
|
|
7
|
+
import './index-110695a5.js';
|
|
8
|
+
import './index-dbfb26ed.js';
|
|
9
|
+
import './index-743926ea.js';
|
|
10
|
+
import './useMantineLocale-36230243.js';
|
|
11
|
+
import { T as Text } from './index-a09019fd.js';
|
|
12
|
+
import './index-7132e119.js';
|
|
13
|
+
import './index.styles-ee329278.js';
|
|
14
|
+
import { u as useTranslations } from './index-aee74f37.js';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import { M as MediaQueries } from './utils-
|
|
17
|
-
import './other-
|
|
18
|
-
import './index-
|
|
16
|
+
import { M as MediaQueries } from './utils-1a28819a.js';
|
|
17
|
+
import './other-a43016d1.js';
|
|
18
|
+
import './index-8c21ead4.js';
|
|
19
19
|
import styled from '@emotion/styled';
|
|
20
20
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
21
21
|
|