@hhgtech/hhg-components 1.29.340 → 1.29.341
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/{LastPeriod-1a6374f3.js → LastPeriod-9eaa1ef6.js} +1 -1
- package/build/{MobileBottomNavigationIcon-c5c86978.js → MobileBottomNavigationIcon-6139c48b.js} +3 -3
- package/build/{Spinner-76126de0.js → Spinner-df24255a.js} +1 -1
- package/build/{WhatsApp-97f43937.js → WhatsApp-6c83bb5f.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +47 -47
- 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 +91 -91
- package/build/{constants-f300306e.js → constants-b8ebed17.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-5bc451dd.js → core-659eb53b.js} +1 -1
- package/build/{dataTransform-ed8fe670.js → dataTransform-5b9923ed.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-6fed0488.js → editor-a0853b63.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/{LastPeriod-90585413.js → LastPeriod-936aef76.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-858da525.js → MobileBottomNavigationIcon-a4f890af.js} +3 -3
- package/build/esm/{Spinner-be0e4092.js → Spinner-4073c7bb.js} +1 -1
- package/build/esm/{WhatsApp-78edc199.js → WhatsApp-29064eaa.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +47 -47
- 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 +91 -91
- package/build/esm/{constants-ecb29762.js → constants-bf924b49.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-87c7b461.js → core-90b57158.js} +1 -1
- package/build/esm/{dataTransform-87d9625e.js → dataTransform-49e22f3e.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-d4330cef.js → editor-db5f955a.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/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 +5 -0
- package/build/esm/i18n-values/hi-IN.js +5 -0
- package/build/esm/i18n-values/id-ID.js +5 -0
- package/build/esm/i18n-values/km-KH.js +5 -0
- package/build/esm/i18n-values/ms-MY.js +5 -0
- package/build/esm/i18n-values/my-MM.js +5 -0
- package/build/esm/i18n-values/th-TH.js +5 -0
- package/build/esm/i18n-values/tl-PH.js +5 -0
- package/build/esm/i18n-values/vi-VN.js +5 -0
- package/build/esm/i18n-values/vi-VN_MB.js +5 -0
- package/build/esm/i18n-values/zh-TW.js +5 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-1504c2aa.js → index-00d608ea.js} +2 -2
- package/build/esm/{index-cf3f2487.js → index-05f4b04d.js} +2 -2
- package/build/esm/{index-2e63b230.js → index-09f05e0a.js} +13 -13
- package/build/esm/{index-5ff73b27.js → index-0a260f9f.js} +16 -16
- package/build/esm/{index-72ce6bda.js → index-0ad1c6d2.js} +6 -6
- package/build/esm/{index-e2e59f48.js → index-10e8ead0.js} +2 -2
- package/build/esm/{index-d7b5a6d0.js → index-13508eb0.js} +13 -13
- package/build/esm/{index-a5b7cee7.js → index-187c248f.js} +5 -5
- package/build/esm/{index-2632aa93.js → index-18fc41d1.js} +1 -1
- package/build/esm/{index-a3f67580.js → index-1f97faf1.js} +3 -3
- package/build/esm/{index-91ab046b.js → index-1feb112f.js} +2 -2
- package/build/esm/{index-d66fae79.js → index-2449bb2d.js} +7 -7
- package/build/esm/{index-ee1def10.js → index-251c3b25.js} +6 -6
- package/build/esm/{index-37f903a4.js → index-25cc9cc4.js} +32 -32
- package/build/esm/{index-adc9b0f5.js → index-278cb1b1.js} +1 -1
- package/build/esm/{index-555a1475.js → index-287ca64d.js} +21 -21
- package/build/esm/{index-f52571df.js → index-2b964024.js} +1 -1
- package/build/esm/{index-87c1194c.js → index-2de8bec7.js} +13 -13
- package/build/esm/{index-4111dadd.js → index-2f7634c0.js} +2 -2
- package/build/esm/{index-58761cf6.js → index-2fb7e2eb.js} +18 -18
- package/build/esm/{index-936e8df5.js → index-31c13919.js} +30 -30
- package/build/esm/{index-f5dad8b7.js → index-3292ca19.js} +6 -6
- package/build/esm/{index-2c1feeb6.js → index-37bca743.js} +2 -2
- package/build/esm/{index-bc14da4f.js → index-3942f1ab.js} +3 -3
- package/build/esm/{index-0f1543d7.js → index-3b56986a.js} +10 -10
- package/build/esm/{index-e82581e5.js → index-3fda2934.js} +3 -3
- package/build/esm/{index-bd07e913.js → index-433f000e.js} +5 -5
- package/build/esm/{index-00f09cf6.js → index-43673415.js} +16 -16
- package/build/esm/{index-13fce5ac.js → index-4568e106.js} +15 -15
- package/build/esm/{index-a04fca87.js → index-493ca3d9.js} +15 -15
- package/build/esm/{index-0b7d8963.js → index-4ae4115a.js} +2 -2
- package/build/esm/{index-d43b616f.js → index-5beca92b.js} +1 -1
- package/build/esm/{index-1e9f4237.js → index-5dd42e29.js} +17 -17
- package/build/esm/{index-e0229c87.js → index-63dc7b02.js} +1 -1
- package/build/esm/{index-f3792616.js → index-6ce16a41.js} +20 -20
- package/build/esm/{index-83808412.js → index-77bef2a5.js} +16 -16
- package/build/esm/{index-839868dd.js → index-7e835555.js} +18 -18
- package/build/esm/{index-5ea23630.js → index-85d9e71b.js} +3 -3
- package/build/esm/{index-e236a5ee.js → index-8ac33271.js} +6 -6
- package/build/esm/{index-a62790f3.js → index-8ad8d9a8.js} +178 -110
- package/build/esm/{index-7f413fc2.js → index-8e160543.js} +1 -1
- package/build/esm/{index-1eae6dad.js → index-951e41c9.js} +18 -18
- package/build/esm/{index-8effb8bb.js → index-a6186dbc.js} +16 -16
- package/build/esm/{index-e5a32d34.js → index-b0c6ee75.js} +1 -1
- package/build/esm/{index-4ce0d02d.js → index-b389ccb0.js} +2 -2
- package/build/esm/{index-eb189e33.js → index-b99adac7.js} +11 -11
- package/build/esm/{index-b10f98a4.js → index-c623ccda.js} +2 -2
- package/build/esm/{index-abc8e5a2.js → index-c899cec9.js} +17 -17
- package/build/esm/{index-4af76041.js → index-cb195323.js} +24 -24
- package/build/esm/{index-32e6be45.js → index-cc8a3734.js} +2 -2
- package/build/esm/{index-123c081a.js → index-ce8445a3.js} +7 -7
- package/build/esm/{index-7e4b41a6.js → index-d003a87c.js} +3 -3
- package/build/esm/{index-1fd8f540.js → index-d9e6c67c.js} +24 -24
- package/build/esm/{index-82f8ee8c.js → index-e1a764f6.js} +3 -3
- package/build/esm/{index-44468b41.js → index-e66bb8ed.js} +2 -2
- package/build/esm/{index-bf299dbd.js → index-e76c58f4.js} +1 -1
- package/build/esm/{index-34be1eba.js → index-eaae9c13.js} +3 -3
- package/build/esm/{index-03288bcf.js → index-eed1ec06.js} +4 -4
- package/build/esm/{index-8908050f.js → index-eefea318.js} +13 -13
- package/build/esm/{index-4e6ef889.js → index-f3d75f48.js} +2 -2
- package/build/esm/{index-2337fa14.js → index-f96c758b.js} +2 -2
- package/build/esm/{index-019adbaf.js → index-fbce107a.js} +1 -1
- package/build/esm/index.js +113 -113
- package/build/esm/{labelSorting-3e75f9ce.js → labelSorting-d38c6396.js} +4 -4
- package/build/esm/lead.js +25 -25
- package/build/esm/{logoIcon-f7b17d63.js → logoIcon-5ec1a118.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +16 -16
- 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 +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- 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 +44 -44
- package/build/esm/{post-4c7a5a88.js → post-b9963bbb.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 +26 -26
- package/build/esm/{store-d898de37.js → store-9f9b8c7e.js} +4 -4
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-46b6c332.js → surveyThankyouCard-fd56b470.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
- package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
- package/build/esm/together/components/molecules/createNewPostContentV2/index.d.ts +2 -3
- package/build/esm/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +8 -3
- package/build/esm/together/interfaces/types.d.ts +5 -0
- package/build/esm/together.js +53 -53
- 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 +48 -48
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-7f9c09b5.js → treePopoverMenu-2bdb1505.js} +19 -19
- package/build/esm/{types-f5af3308.js → types-d2f84e76.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-ad0f6153.js → useCategory-dfbb8514.js} +5 -5
- package/build/esm/{useHealthToolCache-31742124.js → useHealthToolCache-60c491b2.js} +1 -1
- package/build/esm/{useMantineLocale-374d7d18.js → useMantineLocale-ee453257.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-765a96ce.js → usePlacesAutocomplete-7b0503dc.js} +1 -1
- package/build/esm/{useScreenSize-77e1ec29.js → useScreenSize-86ff79b6.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-16593d15.js → utils-284b3857.js} +3 -3
- package/build/esm/{utils-1711bf04.js → utils-6d47c3ee.js} +2 -2
- package/build/esm/{utils-062a0cfa.js → utils-78c52834.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- 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 +5 -0
- package/build/i18n-values/hi-IN.js +5 -0
- package/build/i18n-values/id-ID.js +5 -0
- package/build/i18n-values/km-KH.js +5 -0
- package/build/i18n-values/ms-MY.js +5 -0
- package/build/i18n-values/my-MM.js +5 -0
- package/build/i18n-values/th-TH.js +5 -0
- package/build/i18n-values/tl-PH.js +5 -0
- package/build/i18n-values/vi-VN.js +5 -0
- package/build/i18n-values/vi-VN_MB.js +5 -0
- package/build/i18n-values/zh-TW.js +5 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-24dd62ce.js → index-03817479.js} +3 -3
- package/build/{index-107b2539.js → index-06c40093.js} +2 -2
- package/build/{index-bdba2d3a.js → index-07303336.js} +3 -3
- package/build/{index-6c67dbd7.js → index-09b696c5.js} +2 -2
- package/build/{index-2797c1c7.js → index-09fe20ee.js} +3 -3
- package/build/{index-0a9e192e.js → index-0dd90e03.js} +2 -2
- package/build/{index-fd84c125.js → index-0ebf6518.js} +1 -1
- package/build/{index-eb0a6dd1.js → index-12980629.js} +16 -16
- package/build/{index-2db8fdfd.js → index-17035df2.js} +17 -17
- package/build/{index-6c8d0207.js → index-1785577a.js} +2 -2
- package/build/{index-963b6444.js → index-185e678c.js} +18 -18
- package/build/{index-a409772d.js → index-1f0a1217.js} +1 -1
- package/build/{index-9de80aaf.js → index-215b49f9.js} +1 -1
- package/build/{index-7028be28.js → index-235da055.js} +18 -18
- package/build/{index-5e2a2480.js → index-2ac51c28.js} +1 -1
- package/build/{index-2e4b0f2b.js → index-31158673.js} +6 -6
- package/build/{index-f25b2fa4.js → index-318ed726.js} +17 -17
- package/build/{index-91fdb86b.js → index-33141240.js} +16 -16
- package/build/{index-6acb6793.js → index-3618f3e5.js} +16 -16
- package/build/{index-f5fa9c34.js → index-38a28dc9.js} +4 -4
- package/build/{index-7806b087.js → index-3c176356.js} +7 -7
- package/build/{index-90ff088b.js → index-3ef55d59.js} +2 -2
- package/build/{index-cbf4864b.js → index-4c30074c.js} +5 -5
- package/build/{index-87d420a6.js → index-5046b99d.js} +13 -13
- package/build/{index-e833d31d.js → index-57b95503.js} +1 -1
- package/build/{index-d2eeb6ea.js → index-6084d7d2.js} +11 -11
- package/build/{index-52d58ff1.js → index-613eed69.js} +15 -15
- package/build/{index-62ca9eb9.js → index-669bcec8.js} +13 -13
- package/build/{index-c8c3c797.js → index-6791aa5b.js} +3 -3
- package/build/{index-23225bea.js → index-67af8202.js} +24 -24
- package/build/{index-7fcc98e3.js → index-6bfe87dc.js} +2 -2
- package/build/{index-a3373cf4.js → index-71b23357.js} +30 -30
- package/build/{index-73e7b24c.js → index-75ffffea.js} +2 -2
- package/build/{index-1cd0877e.js → index-76ade849.js} +18 -18
- package/build/{index-3ac0dc17.js → index-7c2a27e6.js} +1 -1
- package/build/{index-d06471d1.js → index-84360cc6.js} +10 -10
- package/build/{index-a73c7607.js → index-84d08231.js} +1 -1
- package/build/{index-657e8416.js → index-85d6aff9.js} +16 -16
- package/build/{index-1d6e363b.js → index-8a49db48.js} +2 -2
- package/build/{index-605d1690.js → index-916152e1.js} +5 -5
- package/build/{index-4e4572d9.js → index-96b6a45f.js} +178 -110
- package/build/{index-c578d779.js → index-a67075cc.js} +6 -6
- package/build/{index-f4ccfca1.js → index-aece5b55.js} +2 -2
- package/build/{index-bfa5c299.js → index-b38789a6.js} +32 -32
- package/build/{index-724294c9.js → index-b3d03730.js} +3 -3
- package/build/{index-bc2367a8.js → index-cb44a93c.js} +1 -1
- package/build/{index-6d175c73.js → index-d05f5c58.js} +7 -7
- package/build/{index-448ed4a1.js → index-d1d47e3e.js} +21 -21
- package/build/{index-58ab8d09.js → index-d2294ed4.js} +2 -2
- package/build/{index-16b266f3.js → index-d26c8b25.js} +20 -20
- package/build/{index-679373d9.js → index-d63df4e6.js} +1 -1
- package/build/{index-08c3c80a.js → index-d8587b52.js} +3 -3
- package/build/{index-b670f6a7.js → index-e41c41b9.js} +2 -2
- package/build/{index-f5509a6e.js → index-e835d166.js} +2 -2
- package/build/{index-d125712a.js → index-e85fbfe2.js} +24 -24
- package/build/{index-f34ed5c5.js → index-ea565aba.js} +13 -13
- package/build/{index-877f210f.js → index-ea5b98ee.js} +6 -6
- package/build/{index-89facf04.js → index-ec383f64.js} +15 -15
- package/build/{index-61db4e9f.js → index-ef1363d4.js} +2 -2
- package/build/{index-9609f03e.js → index-f84b402c.js} +3 -3
- package/build/{index-f7194690.js → index-f9032264.js} +6 -6
- package/build/{index-ffc89258.js → index-fd0e8768.js} +13 -13
- package/build/index.js +113 -113
- package/build/{labelSorting-55c2f473.js → labelSorting-36d105cb.js} +4 -4
- package/build/lead.js +25 -25
- package/build/{logoIcon-c210497d.js → logoIcon-904a4cf6.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +16 -16
- 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 +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-9fe1b1ac.js → post-3cba4e54.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 +25 -25
- package/build/{store-4d6b2eef.js → store-e1b9f2ce.js} +4 -4
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-9cdac971.js → surveyThankyouCard-5dd83af2.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
- package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
- package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
- package/build/together/components/molecules/createNewPostContentV2/index.d.ts +2 -3
- package/build/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +8 -3
- package/build/together/interfaces/types.d.ts +5 -0
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +48 -48
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-2f711f7c.js → treePopoverMenu-d53a7070.js} +19 -19
- package/build/{types-4536b0a8.js → types-3a0991d8.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-2c791f02.js → useCategory-114d6a8a.js} +5 -5
- package/build/{useHealthToolCache-571b4ad1.js → useHealthToolCache-441c521c.js} +1 -1
- package/build/{useMantineLocale-a663d23a.js → useMantineLocale-dc446f96.js} +6 -6
- package/build/{usePlacesAutocomplete-72c61ff9.js → usePlacesAutocomplete-1f9453b2.js} +1 -1
- package/build/{useScreenSize-649868cb.js → useScreenSize-0c0d47f5.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-72e979f1.js → utils-5b446c46.js} +2 -2
- package/build/{utils-3bf46111.js → utils-7d819ac1.js} +2 -2
- package/build/{utils-d4f5c7a2.js → utils-daec2540.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-eb315095.js → BMI_BOYS.percentile.monthly-b30faabf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-69cc3a94.js → BMI_BOYS.percentile.weekly-21391d76.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8001d98c.js → BMI_BOYS.percentile.yearly-83c7fcd2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5181dd2c.js → BMI_BOYS.zscore.monthly-aa8afe3f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-4e764f75.js → BMI_BOYS.zscore.weekly-81efd6dc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3f0c8df8.js → BMI_BOYS.zscore.yearly-6f98b1c3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e3913ee4.js → BMI_GIRLS.percentile.monthly-84986191.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c3f497dc.js → BMI_GIRLS.percentile.weekly-19f3be53.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-088c756b.js → BMI_GIRLS.percentile.yearly-36aa05af.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-02e032c3.js → BMI_GIRLS.zscore.monthly-6fd68c7e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-c196d6fa.js → BMI_GIRLS.zscore.weekly-68a50af8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-63296930.js → BMI_GIRLS.zscore.yearly-adfa20bd.js} +0 -0
- /package/build/{ChevronDown-1ec29fc9.js → ChevronDown-f3d17b98.js} +0 -0
- /package/build/{Close-82e58de8.js → Close-127b40f9.js} +0 -0
- /package/build/{Google-3b057619.js → Google-9c15fb01.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a138c344.js → HEAD CIRCUM_BOYS.percentile.monthly-52f2ea44.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f95e2775.js → HEAD CIRCUM_BOYS.percentile.weekly-8a9c1910.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f310c9eb.js → HEAD CIRCUM_BOYS.percentile.yearly-a1da28c0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b1624745.js → HEAD CIRCUM_BOYS.zscore.monthly-582cfae4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c90ec91e.js → HEAD CIRCUM_BOYS.zscore.weekly-3c2311b9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-930290d7.js → HEAD CIRCUM_BOYS.zscore.yearly-2cae4758.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-80fbfe27.js → HEAD CIRCUM_GIRLS.percentile.monthly-f30fbc1c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-58da06e2.js → HEAD CIRCUM_GIRLS.percentile.weekly-b26ced3c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c2529c26.js → HEAD CIRCUM_GIRLS.percentile.yearly-bbfb189c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-74ce7c3b.js → HEAD CIRCUM_GIRLS.zscore.monthly-41b0f026.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b155babd.js → HEAD CIRCUM_GIRLS.zscore.weekly-e0774f95.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7e1a0ad9.js → HEAD CIRCUM_GIRLS.zscore.yearly-b26d365d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-7e8bdd61.js → HEIGHT_BOYS.percentile.monthly-837436a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-9fb83720.js → HEIGHT_BOYS.percentile.weekly-8731d752.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f6a791a0.js → HEIGHT_BOYS.percentile.yearly-12713e55.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4e7c9f27.js → HEIGHT_BOYS.zscore.monthly-7f063186.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5ed0b3b6.js → HEIGHT_BOYS.zscore.weekly-336670c7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a1e1f16b.js → HEIGHT_BOYS.zscore.yearly-601f6e99.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-8085fb4c.js → HEIGHT_GIRLS.percentile.monthly-7806a84d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-5faec400.js → HEIGHT_GIRLS.percentile.weekly-77fefedc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6c0da113.js → HEIGHT_GIRLS.percentile.yearly-a6f75a2d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c0880cc0.js → HEIGHT_GIRLS.zscore.monthly-663dbe45.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8a4e3801.js → HEIGHT_GIRLS.zscore.weekly-1795b929.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-9f4e388b.js → HEIGHT_GIRLS.zscore.yearly-54e8ed04.js} +0 -0
- /package/build/{Locale-75a16190.js → Locale-57db1c3d.js} +0 -0
- /package/build/{Visible-1438459a.js → Visible-4faebc9a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3976c0ae.js → WEIGHT_BOYS.percentile.monthly-e27a9e27.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-62063307.js → WEIGHT_BOYS.percentile.weekly-a9dc5fb0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-278ff5b0.js → WEIGHT_BOYS.percentile.yearly-1f6d6a23.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-f4584383.js → WEIGHT_BOYS.zscore.monthly-d90a8e9e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9a7a5c88.js → WEIGHT_BOYS.zscore.weekly-aadf96fc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0968b88b.js → WEIGHT_BOYS.zscore.yearly-cda41635.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-30d47d1c.js → WEIGHT_GIRLS.percentile.monthly-cf66f56d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a74ba8d1.js → WEIGHT_GIRLS.percentile.weekly-eb947b05.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ae69e967.js → WEIGHT_GIRLS.percentile.yearly-eb086a2e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f5caa21a.js → WEIGHT_GIRLS.zscore.monthly-bb6b65e9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-246a85c2.js → WEIGHT_GIRLS.zscore.weekly-809ba3bf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-13628bd9.js → WEIGHT_GIRLS.zscore.yearly-defd0f5c.js} +0 -0
- /package/build/{animation-87847fc6.js → animation-51d9f750.js} +0 -0
- /package/build/{constants-9d1ffae7.js → constants-345d4630.js} +0 -0
- /package/build/{constants-b2e334f6.js → constants-64bd11a4.js} +0 -0
- /package/build/{constants-bb670df2.js → constants-b9c0ca76.js} +0 -0
- /package/build/{dataTransform-1a69af3d.js → dataTransform-50730e70.js} +0 -0
- /package/build/{doctor-9e7d5dab.js → doctor-b84977b0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d97644cf.js → BMI_BOYS.percentile.monthly-033ff54c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ddaa4e04.js → BMI_BOYS.percentile.weekly-c741ecf7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c265609c.js → BMI_BOYS.percentile.yearly-d8a96f52.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-543553b0.js → BMI_BOYS.zscore.monthly-b83302d8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6f92afe4.js → BMI_BOYS.zscore.weekly-747bcc77.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-198fba05.js → BMI_BOYS.zscore.yearly-144e0b1a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-023545e9.js → BMI_GIRLS.percentile.monthly-cf8d61d2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ca0c3d8a.js → BMI_GIRLS.percentile.weekly-769f26db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-c6a57e9f.js → BMI_GIRLS.percentile.yearly-e49b963d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f069a265.js → BMI_GIRLS.zscore.monthly-3084153f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-5c2324fc.js → BMI_GIRLS.zscore.weekly-72ec570c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-401d41a6.js → BMI_GIRLS.zscore.yearly-56f78b21.js} +0 -0
- /package/build/esm/{ChevronDown-66b5c705.js → ChevronDown-8328c13d.js} +0 -0
- /package/build/esm/{Close-66729e85.js → Close-ba03577a.js} +0 -0
- /package/build/esm/{Google-9896e314.js → Google-abacb80f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-fa43749e.js → HEAD CIRCUM_BOYS.percentile.monthly-48de46d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1ef0e3ae.js → HEAD CIRCUM_BOYS.percentile.weekly-be44668d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c0cb0e14.js → HEAD CIRCUM_BOYS.percentile.yearly-0eb105d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5645e3d8.js → HEAD CIRCUM_BOYS.zscore.monthly-b42f2936.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6ad6eedd.js → HEAD CIRCUM_BOYS.zscore.weekly-0b78b9b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9d1a5064.js → HEAD CIRCUM_BOYS.zscore.yearly-cfedb0f0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ac8bf2c5.js → HEAD CIRCUM_GIRLS.percentile.monthly-005c83c7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bb81c16a.js → HEAD CIRCUM_GIRLS.percentile.weekly-0fc8a072.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e5f673e5.js → HEAD CIRCUM_GIRLS.percentile.yearly-de97ed19.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6be639ea.js → HEAD CIRCUM_GIRLS.zscore.monthly-55481efe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d60444d8.js → HEAD CIRCUM_GIRLS.zscore.weekly-3695b4de.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-811fec8c.js → HEAD CIRCUM_GIRLS.zscore.yearly-c97ef53a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-465e377e.js → HEIGHT_BOYS.percentile.monthly-6077092f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-dcc74cd9.js → HEIGHT_BOYS.percentile.weekly-414cf15d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-53cf5ade.js → HEIGHT_BOYS.percentile.yearly-d77d3e90.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5452c2c8.js → HEIGHT_BOYS.zscore.monthly-b42af495.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-81451204.js → HEIGHT_BOYS.zscore.weekly-899ea3ee.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d876531c.js → HEIGHT_BOYS.zscore.yearly-4fab9c43.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9f156ca3.js → HEIGHT_GIRLS.percentile.monthly-50eac517.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-1edebef6.js → HEIGHT_GIRLS.percentile.weekly-d64025fa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-11108955.js → HEIGHT_GIRLS.percentile.yearly-3d2c591c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8ed6c1a7.js → HEIGHT_GIRLS.zscore.monthly-e41df4c5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0aeaa915.js → HEIGHT_GIRLS.zscore.weekly-3a86e2c3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-26b8cb11.js → HEIGHT_GIRLS.zscore.yearly-3438c81d.js} +0 -0
- /package/build/esm/{Locale-14481773.js → Locale-b85a2806.js} +0 -0
- /package/build/esm/{Visible-4027956b.js → Visible-8cac64ac.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c586605d.js → WEIGHT_BOYS.percentile.monthly-0bda403e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-b354f6cf.js → WEIGHT_BOYS.percentile.weekly-1f6775b8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-25150ce0.js → WEIGHT_BOYS.percentile.yearly-f4b8fcec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-88527a94.js → WEIGHT_BOYS.zscore.monthly-d8bec4d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-666296f3.js → WEIGHT_BOYS.zscore.weekly-41ab7d52.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f67d84ec.js → WEIGHT_BOYS.zscore.yearly-d4500db2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-228e9f48.js → WEIGHT_GIRLS.percentile.monthly-0739c8b1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-17c3c1fd.js → WEIGHT_GIRLS.percentile.weekly-d3efffd0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8455e1a6.js → WEIGHT_GIRLS.percentile.yearly-18a23e81.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ad124ed3.js → WEIGHT_GIRLS.zscore.monthly-d610d523.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2582d569.js → WEIGHT_GIRLS.zscore.weekly-f1c1ca37.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-94ff115a.js → WEIGHT_GIRLS.zscore.yearly-11cd4736.js} +0 -0
- /package/build/esm/{animation-4432ef2c.js → animation-7af31527.js} +0 -0
- /package/build/esm/{constants-1446dfa4.js → constants-61c2e12b.js} +0 -0
- /package/build/esm/{constants-72a20280.js → constants-d8dcf848.js} +0 -0
- /package/build/esm/{constants-93e9bca8.js → constants-e07a91d9.js} +0 -0
- /package/build/esm/{dataTransform-a01b4819.js → dataTransform-9b9ae0c6.js} +0 -0
- /package/build/esm/{doctor-e47b59fe.js → doctor-608c515c.js} +0 -0
- /package/build/esm/{index-fc6e19ca.js → index-09f90c0d.js} +0 -0
- /package/build/esm/{index-c3a2148b.js → index-415ca2ef.js} +0 -0
- /package/build/esm/{index-a48b249a.js → index-43c80986.js} +0 -0
- /package/build/esm/{index-0cf8b752.js → index-9db2daf2.js} +0 -0
- /package/build/esm/{index-5dd54b2b.js → index-c4029515.js} +0 -0
- /package/build/esm/{index-01d9e536.js → index-c41b3f18.js} +0 -0
- /package/build/esm/{index-7bd87b78.js → index-cb5b6e38.js} +0 -0
- /package/build/esm/{index-c1586c4b.js → index-e595bf69.js} +0 -0
- /package/build/esm/{index-0d46a3d6.js → index-fcd91927.js} +0 -0
- /package/build/esm/{index.styles-79e59f1a.js → index.styles-9aeabac4.js} +0 -0
- /package/build/esm/{localizeNumberFormat-4bf1b4d7.js → localizeNumberFormat-6e308ec2.js} +0 -0
- /package/build/esm/{normalizeLink-816f0420.js → normalizeLink-24199d48.js} +0 -0
- /package/build/esm/{other-dc718449.js → other-afc01340.js} +0 -0
- /package/build/esm/{paths-1bc49820.js → paths-a00da1f4.js} +0 -0
- /package/build/esm/{translationsContext-6aa41d1c.js → translationsContext-b8b3f1f2.js} +0 -0
- /package/build/esm/{tslib.es6-3bb80a38.js → tslib.es6-d983aca1.js} +0 -0
- /package/build/esm/{types-99dc4540.js → types-de17938e.js} +0 -0
- /package/build/esm/{useIsInit-97b3cab0.js → useIsInit-bb13f6c9.js} +0 -0
- /package/build/esm/{useOutsideClick-da55119f.js → useOutsideClick-4b7793c6.js} +0 -0
- /package/build/esm/{useScrollbarSize-95bbd724.js → useScrollbarSize-74ad60e9.js} +0 -0
- /package/build/esm/{useUniqueId-182c5412.js → useUniqueId-3deb18e4.js} +0 -0
- /package/build/esm/{utils-733c431a.js → utils-cb146a70.js} +0 -0
- /package/build/{index-c19f8ad3.js → index-0af5e4f9.js} +0 -0
- /package/build/{index-209b7939.js → index-4299ca2f.js} +0 -0
- /package/build/{index-0df9464b.js → index-60134546.js} +0 -0
- /package/build/{index-959a5817.js → index-68e0c498.js} +0 -0
- /package/build/{index-d2f22629.js → index-6b1b32c4.js} +0 -0
- /package/build/{index-423bc217.js → index-748ec82e.js} +0 -0
- /package/build/{index-ba916406.js → index-bdfbb311.js} +0 -0
- /package/build/{index-29b11213.js → index-ca7bed26.js} +0 -0
- /package/build/{index-ad869942.js → index-fa3e7daa.js} +0 -0
- /package/build/{index.styles-881b266b.js → index.styles-e11d26f3.js} +0 -0
- /package/build/{localizeNumberFormat-f8a588fc.js → localizeNumberFormat-c1f19087.js} +0 -0
- /package/build/{normalizeLink-f28d8351.js → normalizeLink-92174959.js} +0 -0
- /package/build/{other-3b371b3e.js → other-06fe2945.js} +0 -0
- /package/build/{paths-5ae03a6a.js → paths-080e0022.js} +0 -0
- /package/build/{translationsContext-cc7e58b5.js → translationsContext-d0d800a5.js} +0 -0
- /package/build/{tslib.es6-1239a751.js → tslib.es6-876a6fb8.js} +0 -0
- /package/build/{types-d7965e5a.js → types-2e68b130.js} +0 -0
- /package/build/{useIsInit-02cfc1e8.js → useIsInit-c444006d.js} +0 -0
- /package/build/{useOutsideClick-25c4fe83.js → useOutsideClick-a88ed7dd.js} +0 -0
- /package/build/{useScrollbarSize-23b109e5.js → useScrollbarSize-d446d16b.js} +0 -0
- /package/build/{useUniqueId-70b095bf.js → useUniqueId-5769db85.js} +0 -0
- /package/build/{utils-17728d9b.js → utils-fdfa3e28.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-d983aca1.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-43c80986.js';
|
|
5
|
+
import { u as useTranslations } from './index-fbce107a.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { I as Input$1 } from './index-
|
|
8
|
+
import { I as Input$1 } from './index-b99adac7.js';
|
|
9
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-f96c758b.js';
|
|
12
|
+
import './index-5beca92b.js';
|
|
13
|
+
import './index-09f90c0d.js';
|
|
14
|
+
import './useMantineLocale-ee453257.js';
|
|
15
|
+
import { T as Text } from './index-1feb112f.js';
|
|
16
|
+
import { B as Button } from './index-63dc7b02.js';
|
|
17
|
+
import './index.styles-9aeabac4.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, d as IconCloseCircle, g as getDefaultFailNoti, e as getPostFormData, f as editPost, h as createPost } from './index-
|
|
23
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth,
|
|
19
|
+
import { M as MediaQueries } from './utils-cb146a70.js';
|
|
20
|
+
import './other-afc01340.js';
|
|
21
|
+
import './index-eaae9c13.js';
|
|
22
|
+
import { u as useImagePicker, a as PopupFrame, d as IconCloseCircle, g as getDefaultFailNoti, e as getPostFormData, f as editPost, h as createPost } from './index-951e41c9.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-284b3857.js';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
|
-
import { b as formatPost, 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, L as Loading$1 } 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-49e22f3e.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-d8dcf848.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-b9963bbb.js';
|
|
28
|
+
import { C as CardAuthor, L as Loading$1 } from './index-4568e106.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-db5f955a.js';
|
|
30
|
+
import { I as Input } from './index-05f4b04d.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-4ae4115a.js';
|
|
35
|
+
import { C as CardLink } from './index-187c248f.js';
|
|
36
|
+
import { B as BtnChoice } from './index-18fc41d1.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-b85a2806.js';
|
|
38
38
|
import * as ReactDOM from 'react-dom';
|
|
39
|
-
import { b as IconArrowLeft } from './index-
|
|
40
|
-
import { B as Button$1 } from './index-
|
|
39
|
+
import { b as IconArrowLeft } from './index-8ac33271.js';
|
|
40
|
+
import { B as Button$1 } from './index-00d608ea.js';
|
|
41
41
|
import { getCookie } from './miscCookieHelper.js';
|
|
42
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
43
|
-
import { U as UserAvatar } from './index-
|
|
44
|
-
import { P as PopoverMenu } from './index-
|
|
42
|
+
import { a as useUniqueId } from './useUniqueId-3deb18e4.js';
|
|
43
|
+
import { U as UserAvatar } from './index-10e8ead0.js';
|
|
44
|
+
import { P as PopoverMenu } from './index-c623ccda.js';
|
|
45
45
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
46
46
|
|
|
47
47
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1438,10 +1438,18 @@ const StyledTopicSelectList$1 = styled.div `
|
|
|
1438
1438
|
}
|
|
1439
1439
|
`;
|
|
1440
1440
|
|
|
1441
|
-
const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
|
|
1441
|
+
const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
|
|
1442
|
+
// forceTopics,
|
|
1443
|
+
selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }) => {
|
|
1442
1444
|
const { data: { locale, env: { isMarryBaby }, }, } = useContext(TogetherComponentGlobalContext);
|
|
1443
|
-
const [topics, setTopics] = useState
|
|
1444
|
-
|
|
1445
|
+
// const [topics, setTopics] = useState<Topic[]>(
|
|
1446
|
+
// topicsProp ? [...topicsProp] : [],
|
|
1447
|
+
// )
|
|
1448
|
+
const [topics, setTopics] = useState([]);
|
|
1449
|
+
// const [selectedTopics, setSelectedTopics] = useState<Topic[]>(
|
|
1450
|
+
// selectedTopicsProp ? [...selectedTopicsProp] : [],
|
|
1451
|
+
// )
|
|
1452
|
+
const [selectedTopics, setSelectedTopics] = useState([]);
|
|
1445
1453
|
const [isLoadingTopics, setIsLoadingTopics] = useState(false);
|
|
1446
1454
|
const topicsPropRef = useRef(topicsProp);
|
|
1447
1455
|
topicsPropRef.current = topicsProp;
|
|
@@ -1459,7 +1467,19 @@ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId,
|
|
|
1459
1467
|
}), 'GET');
|
|
1460
1468
|
const topicRes = (_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.topics;
|
|
1461
1469
|
if (Array.isArray(topicRes)) {
|
|
1462
|
-
setTopics(
|
|
1470
|
+
// setTopics(
|
|
1471
|
+
// () =>
|
|
1472
|
+
// topicRes
|
|
1473
|
+
// ?.map<Topic>(formatTopic)
|
|
1474
|
+
// .sort(
|
|
1475
|
+
// (t1: Topic, t2: Topic) => (t1.order || 0) - (t2.order || 0),
|
|
1476
|
+
// ) || [],
|
|
1477
|
+
// )
|
|
1478
|
+
let newTopics = [];
|
|
1479
|
+
topicRes === null || topicRes === void 0 ? void 0 : topicRes.forEach((item) => {
|
|
1480
|
+
newTopics = newTopics.concat(item.discover_category);
|
|
1481
|
+
});
|
|
1482
|
+
setTopics(newTopics);
|
|
1463
1483
|
}
|
|
1464
1484
|
}
|
|
1465
1485
|
catch (e) {
|
|
@@ -1470,42 +1490,54 @@ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId,
|
|
|
1470
1490
|
}))();
|
|
1471
1491
|
}
|
|
1472
1492
|
}, [communityId, noFetch]);
|
|
1473
|
-
const topicsPropString = topicsProp
|
|
1474
|
-
const topicsStateString = topics
|
|
1475
|
-
const forceTopicsPropString = forceTopics
|
|
1476
|
-
useEffect(() => {
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1493
|
+
// const topicsPropString = topicsProp?.map((t) => t.id).join('-')
|
|
1494
|
+
// const topicsStateString = topics?.map((t) => t.id).join('-')
|
|
1495
|
+
// const forceTopicsPropString = forceTopics?.map((t) => t.id).join('-')
|
|
1496
|
+
// useEffect(() => {
|
|
1497
|
+
// if (
|
|
1498
|
+
// topicsProp &&
|
|
1499
|
+
// typeof topicsPropString !== 'undefined' &&
|
|
1500
|
+
// topicsPropString !== topicsStateString
|
|
1501
|
+
// ) {
|
|
1502
|
+
// setTopics(topicsProp)
|
|
1503
|
+
// }
|
|
1504
|
+
// }, [topicsProp, topicsPropString, topicsStateString])
|
|
1505
|
+
// const topicsWithoutForced = useMemo(
|
|
1506
|
+
// () =>
|
|
1507
|
+
// topics.filter(
|
|
1508
|
+
// (t) =>
|
|
1509
|
+
// !forceTopics?.some(
|
|
1510
|
+
// (ft) =>
|
|
1511
|
+
// (ft.id && ft.id === t.id) ||
|
|
1512
|
+
// (ft.mappedCategoryId &&
|
|
1513
|
+
// ft.mappedCategoryId === t.mappedCategoryId),
|
|
1514
|
+
// ),
|
|
1515
|
+
// ),
|
|
1516
|
+
// [topicsStateString, forceTopicsPropString],
|
|
1517
|
+
// )
|
|
1486
1518
|
return (React__default.createElement(StyledTopicSelectList$1, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1519
|
+
topics.map((topic) => {
|
|
1520
|
+
return (React__default.createElement(TopicItem$1, { key: `${topic.id}-${topic.category_id}`, topic: topic, disabled: disabled, selected: (selectedTopicsProp || selectedTopics).some((t) => (t.id && t.id === topic.id) ||
|
|
1521
|
+
((t === null || t === void 0 ? void 0 : t.category_id) && (t === null || t === void 0 ? void 0 : t.category_id) === topic.category_id)), onClick: () => {
|
|
1522
|
+
const _selected = (selectedTopicsProp || selectedTopics);
|
|
1523
|
+
const foundIndex = _selected.findIndex((_selected) => (_selected.id && _selected.id === topic.id) ||
|
|
1524
|
+
((_selected === null || _selected === void 0 ? void 0 : _selected.category_id) &&
|
|
1525
|
+
(_selected === null || _selected === void 0 ? void 0 : _selected.category_id) === topic.category_id));
|
|
1526
|
+
if (foundIndex !== -1) {
|
|
1527
|
+
_selected.splice(foundIndex, 1);
|
|
1528
|
+
}
|
|
1529
|
+
else {
|
|
1530
|
+
_selected.push(topic);
|
|
1531
|
+
}
|
|
1532
|
+
if (onChange && selectedTopicsProp) {
|
|
1533
|
+
onChange(_selected.slice());
|
|
1534
|
+
}
|
|
1535
|
+
else {
|
|
1536
|
+
onChange && onChange(_selected.slice());
|
|
1537
|
+
setSelectedTopics(_selected.slice());
|
|
1538
|
+
}
|
|
1539
|
+
}, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }));
|
|
1540
|
+
}),
|
|
1509
1541
|
(isLoading || isLoadingTopics) && React__default.createElement(Loading$1, { className: "topic-spinner" })));
|
|
1510
1542
|
};
|
|
1511
1543
|
const TopicItem$1 = (_a) => {
|
|
@@ -2434,7 +2466,7 @@ const RichTextEditor = ({ html, onChange, className, style, placeholder, onImage
|
|
|
2434
2466
|
onChange === null || onChange === void 0 ? void 0 : onChange(value);
|
|
2435
2467
|
}
|
|
2436
2468
|
}
|
|
2437
|
-
},
|
|
2469
|
+
}, 200), []);
|
|
2438
2470
|
useEffect(() => {
|
|
2439
2471
|
onInvalidUrlsChange && onInvalidUrlsChange(invalidUrls);
|
|
2440
2472
|
}, [invalidUrls]);
|
|
@@ -3384,9 +3416,11 @@ const applySpecialCharSite = [
|
|
|
3384
3416
|
LOCALE.Malaysia,
|
|
3385
3417
|
LOCALE.Vietnam,
|
|
3386
3418
|
];
|
|
3387
|
-
const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunity, articleId, editPostData, defaultCommunity,
|
|
3419
|
+
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3388
3420
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3389
|
-
const { data: { locale,
|
|
3421
|
+
const { data: { locale,
|
|
3422
|
+
// env: { togetherBasePath },
|
|
3423
|
+
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3390
3424
|
const { t } = useTranslations();
|
|
3391
3425
|
const containerRef = useRef(null);
|
|
3392
3426
|
const [isAskDoctor, setIsAskDoctor] = useState(false);
|
|
@@ -3397,7 +3431,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3397
3431
|
label: t('community.choose'),
|
|
3398
3432
|
value: '',
|
|
3399
3433
|
});
|
|
3400
|
-
const [selectedTopics, setSelectedTopics] = useState([]);
|
|
3434
|
+
const [selectedTopics, setSelectedTopics] = useState([...forceSelectTopics] || []);
|
|
3401
3435
|
const [error, setError] = useState({});
|
|
3402
3436
|
const [imageFiles, setImageFiles] = useState([]);
|
|
3403
3437
|
const [bannedWords, setBannedWords] = useState([]);
|
|
@@ -3436,14 +3470,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3436
3470
|
} })),
|
|
3437
3471
|
},
|
|
3438
3472
|
];
|
|
3439
|
-
const currentCommunity = useMemo(() => {
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
}, [communityValue, communitiesList])
|
|
3473
|
+
// const currentCommunity = useMemo(() => {
|
|
3474
|
+
// if (!communityValue.value) return null
|
|
3475
|
+
// const result = communitiesList.find(
|
|
3476
|
+
// (item) => String(item.id) === String(communityValue.value),
|
|
3477
|
+
// )
|
|
3478
|
+
// if (!result) return null
|
|
3479
|
+
// return result
|
|
3480
|
+
// }, [communityValue, communitiesList])
|
|
3481
|
+
const currentCommunity = forceSelectCommunity ||
|
|
3482
|
+
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3447
3483
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3448
3484
|
useEffect(() => {
|
|
3449
3485
|
if (editPostData) {
|
|
@@ -3454,7 +3490,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3454
3490
|
label: post.community.name,
|
|
3455
3491
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3456
3492
|
});
|
|
3457
|
-
setSelectedTopics(post.topics || [])
|
|
3493
|
+
// setSelectedTopics(post.topics || [])
|
|
3458
3494
|
setImageFiles(post.photos || []);
|
|
3459
3495
|
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3460
3496
|
}
|
|
@@ -3465,9 +3501,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3465
3501
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3466
3502
|
});
|
|
3467
3503
|
}
|
|
3468
|
-
if (defaultTopics) {
|
|
3469
|
-
|
|
3470
|
-
}
|
|
3504
|
+
// if (defaultTopics) {
|
|
3505
|
+
// setSelectedTopics(defaultTopics)
|
|
3506
|
+
// }
|
|
3471
3507
|
}
|
|
3472
3508
|
}, []);
|
|
3473
3509
|
useEffect(() => {
|
|
@@ -3494,7 +3530,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3494
3530
|
]);
|
|
3495
3531
|
const communitiesApi = (_a = resListCommunity === null || resListCommunity === void 0 ? void 0 : resListCommunity.data) === null || _a === void 0 ? void 0 : _a.communities;
|
|
3496
3532
|
if (Array.isArray(communitiesApi) && communitiesApi.length) {
|
|
3497
|
-
|
|
3533
|
+
const resultFormat = communitiesApi.map((item) => formatCommunity(item));
|
|
3534
|
+
setCommunitiesList(resultFormat);
|
|
3498
3535
|
}
|
|
3499
3536
|
const topicRes = (_b = resListTopic === null || resListTopic === void 0 ? void 0 : resListTopic.data) === null || _b === void 0 ? void 0 : _b.topics;
|
|
3500
3537
|
if (Array.isArray(topicRes)) {
|
|
@@ -3506,6 +3543,12 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3506
3543
|
}
|
|
3507
3544
|
}))();
|
|
3508
3545
|
}, []);
|
|
3546
|
+
const onCreateEditSuccess = (res) => {
|
|
3547
|
+
if (onPostCreatedEdited) {
|
|
3548
|
+
onPostCreatedEdited(formatPost(res), isInEditMode);
|
|
3549
|
+
}
|
|
3550
|
+
onClose && onClose();
|
|
3551
|
+
};
|
|
3509
3552
|
const validationUploadPhoto = (files) => {
|
|
3510
3553
|
const errorMessage = Object.assign({}, error);
|
|
3511
3554
|
if (files && files.length > 10) {
|
|
@@ -3588,22 +3631,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3588
3631
|
console.log(value);
|
|
3589
3632
|
}
|
|
3590
3633
|
};
|
|
3634
|
+
console.log(uncategorizedId);
|
|
3635
|
+
console.log(topicsList);
|
|
3591
3636
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3592
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
3637
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3593
3638
|
const isError = validationPost();
|
|
3594
3639
|
if (isError)
|
|
3595
3640
|
return;
|
|
3596
3641
|
const bodyFormData = yield getPostFormData({
|
|
3597
3642
|
title: titleValue,
|
|
3598
3643
|
description: descriptionValue,
|
|
3599
|
-
communityId:
|
|
3600
|
-
? uncategorizedId
|
|
3601
|
-
: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3644
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3602
3645
|
imageFiles,
|
|
3603
3646
|
previewUrl,
|
|
3604
|
-
topicIds:
|
|
3605
|
-
? []
|
|
3606
|
-
: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3647
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3607
3648
|
locale,
|
|
3608
3649
|
sanitizeFunction,
|
|
3609
3650
|
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
@@ -3615,6 +3656,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3615
3656
|
if (articleId) {
|
|
3616
3657
|
bodyFormData.append('article_id', articleId);
|
|
3617
3658
|
}
|
|
3659
|
+
console.log(uncategorized);
|
|
3618
3660
|
let res;
|
|
3619
3661
|
if (isInEditMode) {
|
|
3620
3662
|
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
@@ -3629,17 +3671,28 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3629
3671
|
res = yield createPost({
|
|
3630
3672
|
formData: bodyFormData,
|
|
3631
3673
|
locale,
|
|
3632
|
-
isArticleComment:
|
|
3674
|
+
isArticleComment: true,
|
|
3633
3675
|
});
|
|
3634
3676
|
}
|
|
3635
3677
|
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3636
3678
|
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)) {
|
|
3637
|
-
const params = `action=${
|
|
3638
|
-
|
|
3639
|
-
|
|
3679
|
+
// const params = `action=${
|
|
3680
|
+
// editPostData ? 'editPost' : 'createPost'
|
|
3681
|
+
// }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
|
|
3682
|
+
// const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
|
|
3683
|
+
// resData?.community?.slug
|
|
3684
|
+
// }/${resData?.slug}/?${params}`
|
|
3685
|
+
// window.location.href = postHref
|
|
3686
|
+
pushNotifications({
|
|
3687
|
+
message: isInEditMode
|
|
3688
|
+
? t('updatePost.popup.success')
|
|
3689
|
+
: t('createPost.popup.success'),
|
|
3690
|
+
type: 'success',
|
|
3691
|
+
});
|
|
3692
|
+
onCreateEditSuccess(resData);
|
|
3640
3693
|
}
|
|
3641
3694
|
else {
|
|
3642
|
-
if (((
|
|
3695
|
+
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') {
|
|
3643
3696
|
pushNotifications({
|
|
3644
3697
|
title: t('notification.post.blocked.title'),
|
|
3645
3698
|
message: t('notification.post.blocked.message'),
|
|
@@ -3649,7 +3702,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3649
3702
|
setBannedWords(res.messages.moderation.words);
|
|
3650
3703
|
}
|
|
3651
3704
|
}
|
|
3652
|
-
else if (((
|
|
3705
|
+
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') {
|
|
3653
3706
|
pushNotifications({
|
|
3654
3707
|
title: t('notification.post.suspect.title'),
|
|
3655
3708
|
message: t('notification.post.suspect.message'),
|
|
@@ -3657,7 +3710,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3657
3710
|
});
|
|
3658
3711
|
onClose && onClose();
|
|
3659
3712
|
}
|
|
3660
|
-
else if ((
|
|
3713
|
+
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')); })) {
|
|
3661
3714
|
pushNotifications({
|
|
3662
3715
|
message: t('notification.suspend.message'),
|
|
3663
3716
|
type: 'danger',
|
|
@@ -3666,7 +3719,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3666
3719
|
}
|
|
3667
3720
|
else {
|
|
3668
3721
|
pushNotifications({
|
|
3669
|
-
message: ((
|
|
3722
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3670
3723
|
type: 'danger',
|
|
3671
3724
|
});
|
|
3672
3725
|
}
|
|
@@ -3698,13 +3751,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3698
3751
|
}
|
|
3699
3752
|
};
|
|
3700
3753
|
const onSubmitContinuePost = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
3701
|
-
var
|
|
3754
|
+
var _k;
|
|
3702
3755
|
const isError = validationPost();
|
|
3703
3756
|
if (isError) {
|
|
3704
3757
|
const keyElmToScroll = getFirstOrderErroKey(orderErrorFieldKey);
|
|
3705
3758
|
handleScrollToError(keyElmToScroll);
|
|
3706
3759
|
return;
|
|
3707
3760
|
}
|
|
3761
|
+
submitPost();
|
|
3762
|
+
if (stepPost)
|
|
3763
|
+
return;
|
|
3764
|
+
if (isInEditMode) {
|
|
3765
|
+
submitPost();
|
|
3766
|
+
return;
|
|
3767
|
+
}
|
|
3708
3768
|
setStepPost('step_community');
|
|
3709
3769
|
// Current just apply ai suggest community for Vietnam site
|
|
3710
3770
|
if (locale === LOCALE.Vietnam && !isMarryBaby && !isInEditMode) {
|
|
@@ -3736,11 +3796,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3736
3796
|
topic_in: listTopicId.join(),
|
|
3737
3797
|
pageSize: 100,
|
|
3738
3798
|
}), 'GET');
|
|
3739
|
-
const topicsApi = (
|
|
3740
|
-
const topicSuggested = topicsApi
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3799
|
+
const topicsApi = (_k = resTopic === null || resTopic === void 0 ? void 0 : resTopic.data) === null || _k === void 0 ? void 0 : _k.topics;
|
|
3800
|
+
// const topicSuggested = topicsApi
|
|
3801
|
+
// ? topicsApi.map((item) => formatTopic(item))
|
|
3802
|
+
// : ([] as Topic[])
|
|
3803
|
+
let newTopics = [];
|
|
3804
|
+
topicsApi === null || topicsApi === void 0 ? void 0 : topicsApi.forEach((item) => {
|
|
3805
|
+
newTopics = newTopics.concat(item.discover_category);
|
|
3806
|
+
});
|
|
3807
|
+
// setTopics(newTopics)
|
|
3808
|
+
setSelectedTopics(newTopics);
|
|
3744
3809
|
}
|
|
3745
3810
|
}
|
|
3746
3811
|
}
|
|
@@ -3753,7 +3818,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3753
3818
|
}
|
|
3754
3819
|
}
|
|
3755
3820
|
});
|
|
3756
|
-
console.log('topicsList: ', topicsList);
|
|
3757
3821
|
return (React__default.createElement(StyledCreateNewPost, { className: `${className} create-post-popup-frame`, style: style },
|
|
3758
3822
|
React__default.createElement("div", { className: "input-group-container", ref: containerRef },
|
|
3759
3823
|
React__default.createElement(StyledFormGroupInner, null,
|
|
@@ -3827,7 +3891,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3827
3891
|
validationUploadPhoto(data);
|
|
3828
3892
|
} }),
|
|
3829
3893
|
React__default.createElement("div", null,
|
|
3830
|
-
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 },
|
|
3894
|
+
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 },
|
|
3895
|
+
/* {isInEditMode
|
|
3896
|
+
? t('createPost.popup.submit')
|
|
3897
|
+
: t('onboarding.button.continue')} */
|
|
3898
|
+
t('createPost.popup.submit'))))));
|
|
3831
3899
|
};
|
|
3832
3900
|
|
|
3833
3901
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import React__default, { useState, useMemo, useContext, useEffect, createContext, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { H as Heading } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-
|
|
2
|
+
import { B as Button } from './index-00d608ea.js';
|
|
3
|
+
import { H as Heading } from './index-b389ccb0.js';
|
|
4
|
+
import { T as Text } from './index-1feb112f.js';
|
|
5
|
+
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-cb146a70.js';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
|
-
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext, c as callApi } from './utils-
|
|
7
|
+
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext, c as callApi } from './utils-284b3857.js';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
9
|
import { theme } from './miscTheme.js';
|
|
10
|
-
import { a as __awaiter } from './tslib.es6-
|
|
11
|
-
import { I as Input } from './index-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
13
|
-
import { e as formatComment } from './dataTransform-
|
|
14
|
-
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG, D as DEFAULT_IMG } from './constants-
|
|
10
|
+
import { a as __awaiter } from './tslib.es6-d983aca1.js';
|
|
11
|
+
import { I as Input } from './index-05f4b04d.js';
|
|
12
|
+
import { u as useTranslations } from './index-fbce107a.js';
|
|
13
|
+
import { e as formatComment } from './dataTransform-49e22f3e.js';
|
|
14
|
+
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG, D as DEFAULT_IMG } from './constants-d8dcf848.js';
|
|
15
15
|
import { PATHS } from './togetherApiPaths.js';
|
|
16
|
-
import { j as removeBannedWordWrapper, i as getMentionIdsFromString, k as encodePostContent, u as uploadAndGetSrc, y as youtubeVidIdGetter } from './post-
|
|
17
|
-
import { C as CardLink } from './index-
|
|
18
|
-
import { L as Loading } from './index-
|
|
19
|
-
import { U as UserAvatar } from './index-
|
|
20
|
-
import { R as RichTextEditor } from './editor-
|
|
16
|
+
import { j as removeBannedWordWrapper, i as getMentionIdsFromString, k as encodePostContent, u as uploadAndGetSrc, y as youtubeVidIdGetter } from './post-b9963bbb.js';
|
|
17
|
+
import { C as CardLink } from './index-187c248f.js';
|
|
18
|
+
import { L as Loading } from './index-4568e106.js';
|
|
19
|
+
import { U as UserAvatar } from './index-10e8ead0.js';
|
|
20
|
+
import { R as RichTextEditor } from './editor-db5f955a.js';
|
|
21
21
|
import { Portal, Box, useMantineTheme } from '@mantine/core';
|
|
22
22
|
import { FullScreen } from '@hhgtech/icons/other';
|
|
23
|
-
import { P as Popup } from './index-
|
|
24
|
-
import { C as CloseIcon } from './index-
|
|
23
|
+
import { P as Popup } from './index-e76c58f4.js';
|
|
24
|
+
import { C as CloseIcon } from './index-8ac33271.js';
|
|
25
25
|
import { ShareBox } from './togetherShareBox.js';
|
|
26
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
26
|
+
import { I as ImageWrap } from './useScreenSize-86ff79b6.js';
|
|
27
27
|
|
|
28
28
|
const useImagePicker = (imageFilesProp, onImageFilesChange) => {
|
|
29
29
|
const [imageFiles, setImageFiles] = useState(imageFilesProp || []);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d983aca1.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-936aef76.js';
|
|
6
|
+
import { I as Input } from './index-b99adac7.js';
|
|
7
|
+
import { D as DatePicker } from './index-0ad1c6d2.js';
|
|
8
|
+
import { T as Text } from './index-1feb112f.js';
|
|
9
|
+
import './index-63dc7b02.js';
|
|
10
|
+
import './index.styles-9aeabac4.js';
|
|
11
|
+
import { u as useTranslations } from './index-fbce107a.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-ee453257.js';
|
|
14
|
+
import './index-5beca92b.js';
|
|
15
|
+
import './index-09f90c0d.js';
|
|
16
|
+
import './utils-cb146a70.js';
|
|
17
|
+
import './index-f96c758b.js';
|
|
18
|
+
import './other-afc01340.js';
|
|
19
|
+
import './index-eaae9c13.js';
|
|
20
|
+
import { H as HealthToolFormWrapper } from './index-eed1ec06.js';
|
|
21
21
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
22
22
|
|
|
23
23
|
const AvoidPregnancy = (_a) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d983aca1.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
4
|
+
import { T as Text } from './index-1feb112f.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|