@hhgtech/hhg-components 1.29.337 → 1.29.338-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{LastPeriod-51408700.js → LastPeriod-19d30f47.js} +1 -1
- package/build/{MobileBottomNavigationIcon-5b6727d2.js → MobileBottomNavigationIcon-9db517b2.js} +3 -3
- package/build/{Spinner-3da24dda.js → Spinner-b4502420.js} +1 -1
- package/build/{WhatsApp-8d005727.js → WhatsApp-cc1b2510.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +49 -46
- 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/adapters/button/index.d.ts +3 -1
- package/build/components/atoms/drawerComponent/index.d.ts +17 -0
- package/build/components/atoms/drawerComponent/index.styled.d.ts +7 -0
- package/build/components/atoms/googleLocation/index.d.ts +7 -0
- package/build/components/atoms/index.d.ts +1 -0
- package/build/components.js +134 -131
- package/build/{constants-7cc8b8bc.js → constants-6ddc4dc9.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-d30b3e3a.js → core-ce8b253a.js} +1 -1
- package/build/{dataTransform-420b28f0.js → dataTransform-1c392a20.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-04e20704.js → editor-251a969f.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-dde51f8e.js → LastPeriod-120dfb43.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-7d5f5972.js → MobileBottomNavigationIcon-5ae26c20.js} +3 -3
- package/build/esm/{Spinner-cb34617f.js → Spinner-e265687d.js} +1 -1
- package/build/esm/{WhatsApp-f96d3e7f.js → WhatsApp-402bb0a2.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -46
- 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/adapters/button/index.d.ts +3 -1
- package/build/esm/components/atoms/drawerComponent/index.d.ts +17 -0
- package/build/esm/components/atoms/drawerComponent/index.styled.d.ts +7 -0
- package/build/esm/components/atoms/googleLocation/index.d.ts +7 -0
- package/build/esm/components/atoms/index.d.ts +1 -0
- package/build/esm/components.js +92 -90
- package/build/esm/{constants-a998921a.js → constants-1be98d0f.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-183254a1.js → core-4a22ee43.js} +1 -1
- package/build/esm/{dataTransform-bb00e470.js → dataTransform-7769faef.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-daf734ce.js → editor-f7f20fb3.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/usePlacesAutocomplete.d.ts +2 -0
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/icons/ChatbotBg.d.ts +4 -0
- package/build/esm/icons/Search.d.ts +4 -0
- package/build/esm/icons/index.d.ts +5 -3
- package/build/esm/{index-8f05c711.js → index-00a71224.js} +6 -6
- package/build/esm/{index-3bc237f8.js → index-08f1afe0.js} +3 -3
- package/build/esm/{index-b038b8c7.js → index-0f465188.js} +2 -2
- package/build/esm/{index-dd78ba83.js → index-127fce88.js} +32 -32
- package/build/esm/{index-a5464abb.js → index-1332e74f.js} +2 -2
- package/build/esm/{index-cc394577.js → index-16f3933c.js} +1 -1
- package/build/esm/{index-78878ea0.js → index-1f09f99e.js} +4 -4
- package/build/esm/{index-d8519871.js → index-20486d88.js} +16 -16
- package/build/esm/{index-2c4d67d7.js → index-21f61a4d.js} +18 -18
- package/build/esm/{index-d298354a.js → index-239eb0a4.js} +10 -10
- package/build/esm/{index-1275c1d7.js → index-28bd2013.js} +21 -21
- package/build/esm/{index-0415b01c.js → index-2974cbb1.js} +13 -13
- package/build/esm/{index-295e34f2.js → index-315fc845.js} +15 -15
- package/build/esm/{index-5539b7bd.js → index-3721fccb.js} +1 -1
- package/build/esm/{index-0225ecb1.js → index-3737c9f7.js} +2 -2
- package/build/esm/{index-36863000.js → index-49f5277f.js} +1 -1
- package/build/esm/{index-94a1162c.js → index-4ab47e41.js} +5 -5
- package/build/esm/{index-fd283ee7.js → index-50929071.js} +13 -13
- package/build/esm/{index-e4463daa.js → index-51bc93be.js} +1 -1
- package/build/esm/{index-f8ea6ac6.js → index-571cb71d.js} +1 -1
- package/build/esm/{index-93cc11dc.js → index-5a081a04.js} +6 -6
- package/build/esm/{index-09b0659a.js → index-5cbe4215.js} +16 -16
- package/build/esm/{index-b1d4087d.js → index-5d04228b.js} +3 -3
- package/build/esm/{index-d562cac5.js → index-61f80a6a.js} +18 -18
- package/build/esm/{index-155e0388.js → index-642185bd.js} +17 -17
- package/build/esm/{index-0f7b01fc.js → index-6e4ac085.js} +176 -110
- package/build/esm/{index-63fd8b36.js → index-764d2cdc.js} +2 -2
- package/build/esm/{index-b1770ad1.js → index-77d46cdb.js} +16 -16
- package/build/esm/{index-c6660844.js → index-7bea84f7.js} +20 -20
- package/build/esm/{index-05bd1e2b.js → index-7daaee56.js} +3 -3
- package/build/esm/{index-5f57b1dc.js → index-7def88ea.js} +2 -2
- package/build/esm/{index-1389ea44.js → index-7e380611.js} +3 -3
- package/build/esm/{index-b380b8ce.js → index-81d15fea.js} +2 -2
- package/build/esm/{index-b4d90966.js → index-8a70fb7e.js} +1 -1
- package/build/esm/{index-196497c1.js → index-8f4d62bb.js} +6 -6
- package/build/esm/{index-b2c17404.js → index-9b227290.js} +2 -2
- package/build/esm/{index-ba73d604.js → index-a03f1191.js} +13 -13
- package/build/esm/{index-f465ce78.js → index-a1369859.js} +16 -16
- package/build/esm/{index-a1ccb283.js → index-ac6da2c4.js} +5 -5
- package/build/esm/{index-0c8caf51.js → index-b2f74a59.js} +3 -3
- package/build/esm/{index-83de252c.js → index-b490692f.js} +13 -13
- package/build/esm/{index-4aec70fd.js → index-b6524c74.js} +15 -15
- package/build/esm/{index-c4c56d77.js → index-b894cee2.js} +30 -30
- package/build/esm/{index-51482477.js → index-b9c8f21a.js} +14 -14
- package/build/esm/{index-6366de18.js → index-bb91baab.js} +2 -2
- package/build/esm/{index-aa21b8da.js → index-bcaa4aaa.js} +1 -1
- package/build/esm/{index-7bae9527.js → index-bcad7dc3.js} +2 -2
- package/build/esm/{index-61dfe9ca.js → index-c42f67a0.js} +2 -2
- package/build/esm/{index-b067b442.js → index-cd340cca.js} +3 -1
- package/build/esm/{index-e2b7b489.js → index-ce2d69ec.js} +3 -3
- package/build/esm/{index-fdae3796.js → index-d5821fa7.js} +2 -2
- package/build/esm/{index-f347069e.js → index-d77cbb29.js} +6 -6
- package/build/esm/{index-33929f40.js → index-dce70125.js} +1 -1
- package/build/esm/{index-1b258af5.js → index-e87b453f.js} +2 -2
- package/build/esm/{index-0713eb59.js → index-e9208a58.js} +24 -24
- package/build/esm/{index-4b39ea24.js → index-ea931907.js} +17 -17
- package/build/esm/{index-eaafdb62.js → index-eb640ef3.js} +7 -7
- package/build/esm/{index-9b2001a7.js → index-eb9886a9.js} +18 -18
- package/build/esm/{index-a6229525.js → index-ee5b6961.js} +7 -7
- package/build/esm/{index-71c6552e.js → index-ef939265.js} +3 -3
- package/build/esm/{index-0eb067b7.js → index-f88a72d8.js} +24 -24
- package/build/esm/index-fa082a82.js +106 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +146 -117
- package/build/esm/interfaces/types/Subot.d.ts +1 -0
- package/build/esm/{labelSorting-754c363d.js → labelSorting-6ad4dcfd.js} +4 -4
- package/build/esm/lead/components/context.d.ts +2 -0
- package/build/esm/lead/components/index.d.ts +4 -2
- package/build/esm/lead/index.d.ts +1 -1
- package/build/esm/lead/layouts/ emptyIcon.d.ts +6 -0
- package/build/esm/lead/layouts/lightbox/fields/textField/index.d.ts +13 -0
- package/build/esm/lead/layouts/lightbox/fields/textField/index.styled.d.ts +11 -0
- package/build/esm/lead/layouts/lightbox/index.d.ts +4 -2
- package/build/esm/lead/newLeadPopup.d.ts +4 -2
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +822 -352
- package/build/esm/{logoIcon-f1d05426.js → logoIcon-d6b13789.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-0674aab6.js → post-5e4f9830.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +48 -36
- package/build/esm/{store-62172a24.js → store-a8606d2c.js} +4 -4
- package/build/esm/subot/components/dob/index.d.ts +4 -0
- package/build/esm/subot/components/dob/utils.d.ts +14 -0
- package/build/esm/subot.js +149 -43
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-5b3a42fd.js → surveyThankyouCard-c97bed03.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-2a1c1fe7.js → treePopoverMenu-3eaf75ff.js} +19 -19
- package/build/esm/{types-8d50c603.js → types-923e7239.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-0dd2cbd2.js → useCategory-124c0df6.js} +5 -5
- package/build/esm/{useHealthToolCache-f97d58e6.js → useHealthToolCache-4cbb5641.js} +1 -1
- package/build/esm/{useMantineLocale-8cc72830.js → useMantineLocale-77546de7.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-206540a6.js → usePlacesAutocomplete-36d66ce0.js} +2 -1
- package/build/esm/{useScreenSize-623e1764.js → useScreenSize-01eff456.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-d5aeff78.js → utils-c64ceedc.js} +3 -3
- package/build/esm/{utils-4233ebc1.js → utils-df77a4a2.js} +2 -2
- package/build/esm/{utils-351e2780.js → utils-ee27fc57.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/usePlacesAutocomplete.d.ts +2 -0
- package/build/hooks.js +13 -13
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/icons/ChatbotBg.d.ts +4 -0
- package/build/icons/Search.d.ts +4 -0
- package/build/icons/index.d.ts +5 -3
- package/build/{index-0519086c.js → index-00aa21eb.js} +7 -7
- package/build/{index-2b8ad5c2.js → index-082c17ea.js} +6 -6
- package/build/{index-b66036d6.js → index-08a45e42.js} +24 -24
- package/build/{index-01413f5f.js → index-0aacbeb5.js} +2 -2
- package/build/{index-afc908e9.js → index-18b33851.js} +2 -2
- package/build/{index-aeec1e64.js → index-19697314.js} +30 -30
- package/build/{index-f1f8a6b7.js → index-1bead356.js} +5 -5
- package/build/{index-528ea33c.js → index-1e2090d0.js} +2 -2
- package/build/{index-ee3654b0.js → index-2075a38e.js} +32 -32
- package/build/{index-57a3f434.js → index-2b4d5f8c.js} +3 -3
- package/build/{index-64997aff.js → index-2b5f4100.js} +2 -2
- package/build/{index-fa7a4ea1.js → index-2bf4c23a.js} +16 -16
- package/build/{index-426b2b90.js → index-2e1ddeb8.js} +15 -15
- package/build/{index-222aaf59.js → index-35fa383a.js} +7 -7
- package/build/{index-a4b66208.js → index-3922dc3c.js} +3 -1
- package/build/{index-f7b507b7.js → index-4ac1dea7.js} +17 -17
- package/build/{index-8055f38c.js → index-4db37b99.js} +24 -24
- package/build/{index-fcb4f855.js → index-57ec2634.js} +5 -5
- package/build/{index-1cd769fe.js → index-5abf8048.js} +18 -18
- package/build/{index-b2df0989.js → index-5bbc6cfe.js} +6 -6
- package/build/{index-e53902a2.js → index-5d94a8b6.js} +2 -2
- package/build/{index-e69aba76.js → index-5e548efa.js} +17 -17
- package/build/{index-5850f264.js → index-61647d58.js} +1 -1
- package/build/{index-30faaa61.js → index-62bc1a67.js} +16 -16
- package/build/{index-d041a262.js → index-649e871b.js} +2 -2
- package/build/{index-1b3acda3.js → index-6a3cc469.js} +2 -2
- package/build/{index-42dd30d8.js → index-6a6cfd42.js} +10 -10
- package/build/{index-83b6bfdc.js → index-6d4e364a.js} +1 -1
- package/build/{index-893e7e0e.js → index-6e1f1a91.js} +1 -1
- package/build/{index-0a72c320.js → index-6ef45637.js} +2 -2
- package/build/{index-3991f253.js → index-6ef71b56.js} +2 -2
- package/build/{index-ac08cf6a.js → index-74efdea4.js} +6 -6
- package/build/{index-110b5ca9.js → index-8212fc4f.js} +20 -20
- package/build/{index-5c0d6586.js → index-8281890d.js} +3 -3
- package/build/{index-c977f82b.js → index-82dc7d38.js} +1 -1
- package/build/{index-e632b1b0.js → index-8ad1d7e8.js} +1 -1
- package/build/{index-ded652c3.js → index-8af7d12f.js} +3 -3
- package/build/{index-15c69d9d.js → index-9080e7b3.js} +6 -6
- package/build/{index-d3dfe803.js → index-93e3432d.js} +3 -3
- package/build/{index-41f6bd5f.js → index-9828c8a1.js} +15 -15
- package/build/{index-f9a87ed6.js → index-9e829135.js} +13 -13
- package/build/{index-c8b7370e.js → index-a259aa64.js} +14 -14
- package/build/{index-6b115786.js → index-a2aa529e.js} +16 -16
- package/build/{index-bdb891cd.js → index-a7cb38c5.js} +2 -2
- package/build/{index-a5a1bfaf.js → index-a97c28e0.js} +4 -4
- package/build/{index-ff7fd56a.js → index-abe4a819.js} +3 -3
- package/build/{index-00da00b2.js → index-adf2cd16.js} +13 -13
- package/build/{index-d68df310.js → index-b00cc2ed.js} +18 -18
- package/build/{index-63fe8b11.js → index-b4be9c6f.js} +3 -3
- package/build/{index-49719113.js → index-c2a6dc92.js} +2 -2
- package/build/{index-6f47c87f.js → index-c2a9a8e8.js} +1 -1
- package/build/{index-f7161b6e.js → index-c567c191.js} +1 -1
- package/build/{index-2301b9c3.js → index-c65df08c.js} +18 -18
- package/build/{index-41cd44d2.js → index-cf12a444.js} +13 -13
- package/build/{index-5acbd524.js → index-d6c86f5b.js} +16 -16
- package/build/{index-a8524fa7.js → index-d75729a6.js} +176 -110
- package/build/{index-a12c9263.js → index-dbf98d57.js} +13 -13
- package/build/index-ded2f931.js +113 -0
- package/build/{index-039dbe88.js → index-e1fe23f1.js} +1 -1
- package/build/{index-7c62dccd.js → index-ea1c059e.js} +21 -21
- package/build/{index-4576c899.js → index-f84dc620.js} +3 -3
- package/build/{index-d7fd57cc.js → index-fc5fc4e4.js} +2 -2
- package/build/index.css +1 -1
- package/build/index.js +211 -179
- package/build/interfaces/types/Subot.d.ts +1 -0
- package/build/{labelSorting-1668e583.js → labelSorting-6bc49646.js} +4 -4
- package/build/lead/components/context.d.ts +2 -0
- package/build/lead/components/index.d.ts +4 -2
- package/build/lead/index.d.ts +1 -1
- package/build/lead/layouts/ emptyIcon.d.ts +6 -0
- package/build/lead/layouts/lightbox/fields/textField/index.d.ts +13 -0
- package/build/lead/layouts/lightbox/fields/textField/index.styled.d.ts +11 -0
- package/build/lead/layouts/lightbox/index.d.ts +4 -2
- package/build/lead/newLeadPopup.d.ts +4 -2
- package/build/lead.css +1 -1
- package/build/lead.js +822 -351
- package/build/{logoIcon-6fe14bde.js → logoIcon-c9deb8b5.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-39abb64f.js → post-432469dd.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +47 -35
- package/build/{store-1dcf5e8f.js → store-bac953c1.js} +4 -4
- package/build/subot/components/dob/index.d.ts +4 -0
- package/build/subot/components/dob/utils.d.ts +14 -0
- package/build/subot.js +151 -44
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-df98bad7.js → surveyThankyouCard-2d88a125.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-0805ee36.js → treePopoverMenu-bbdbabad.js} +19 -19
- package/build/{types-3c4d173e.js → types-24b64ebc.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-9f653803.js → useCategory-6eaa9018.js} +5 -5
- package/build/{useHealthToolCache-daaae90b.js → useHealthToolCache-ebe60356.js} +1 -1
- package/build/{useMantineLocale-d5e030cb.js → useMantineLocale-3eb7ea98.js} +6 -6
- package/build/{usePlacesAutocomplete-8e9ebb28.js → usePlacesAutocomplete-6b192546.js} +2 -1
- package/build/{useScreenSize-aae08299.js → useScreenSize-8a55816c.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-56c0b75f.js → utils-2b8bf3e7.js} +3 -3
- package/build/{utils-dac6d657.js → utils-46a23c6c.js} +2 -2
- package/build/{utils-c204a71e.js → utils-c441b697.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-c470c17c.js → BMI_BOYS.percentile.monthly-df959a74.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8fe07247.js → BMI_BOYS.percentile.weekly-ffee9868.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9ada1b75.js → BMI_BOYS.percentile.yearly-78155b94.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-103049e7.js → BMI_BOYS.zscore.monthly-7bcd1161.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-cf6e85a7.js → BMI_BOYS.zscore.weekly-602a09aa.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c3140c6e.js → BMI_BOYS.zscore.yearly-4501d57d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-550dad06.js → BMI_GIRLS.percentile.monthly-864cfe4d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-31a1c78a.js → BMI_GIRLS.percentile.weekly-b68481a4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9700bd31.js → BMI_GIRLS.percentile.yearly-826b94d9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b59f761b.js → BMI_GIRLS.zscore.monthly-6b5a45dd.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-adab5203.js → BMI_GIRLS.zscore.weekly-f63c1f1f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-c61853fe.js → BMI_GIRLS.zscore.yearly-b2b2fdec.js} +0 -0
- /package/build/{ChevronDown-1254e5e7.js → ChevronDown-586b9bbe.js} +0 -0
- /package/build/{Close-bc735f06.js → Close-6fde0929.js} +0 -0
- /package/build/{Google-4bf24997.js → Google-15a77bdd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-91d56131.js → HEAD CIRCUM_BOYS.percentile.monthly-824738e5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a549dea0.js → HEAD CIRCUM_BOYS.percentile.weekly-b2a69bd1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d82244f1.js → HEAD CIRCUM_BOYS.percentile.yearly-244d46d7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3b8875b5.js → HEAD CIRCUM_BOYS.zscore.monthly-e5eccf71.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3131348a.js → HEAD CIRCUM_BOYS.zscore.weekly-24443f01.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0f7a48ac.js → HEAD CIRCUM_BOYS.zscore.yearly-e54be517.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-47b3dfd0.js → HEAD CIRCUM_GIRLS.percentile.monthly-94584b0c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-93c8bf73.js → HEAD CIRCUM_GIRLS.percentile.weekly-95b44ef8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7c4f00da.js → HEAD CIRCUM_GIRLS.percentile.yearly-b08b89f9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-51443e7a.js → HEAD CIRCUM_GIRLS.zscore.monthly-4e23818f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c4554378.js → HEAD CIRCUM_GIRLS.zscore.weekly-b6106688.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f0c480e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-4cd3bbbd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-6028051c.js → HEIGHT_BOYS.percentile.monthly-dc0f521d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-222bab41.js → HEIGHT_BOYS.percentile.weekly-5ea5a213.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-60f28dcb.js → HEIGHT_BOYS.percentile.yearly-07833305.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-87b419bd.js → HEIGHT_BOYS.zscore.monthly-aa7713b1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-4a523306.js → HEIGHT_BOYS.zscore.weekly-da423f12.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-83d35ba6.js → HEIGHT_BOYS.zscore.yearly-63161a90.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-327ab176.js → HEIGHT_GIRLS.percentile.monthly-aa87c750.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1f69f3df.js → HEIGHT_GIRLS.percentile.weekly-ffb010c2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-057eee90.js → HEIGHT_GIRLS.percentile.yearly-813509bb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c6b2db50.js → HEIGHT_GIRLS.zscore.monthly-b4760141.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-80c73904.js → HEIGHT_GIRLS.zscore.weekly-a67cae9d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-ccd25a92.js → HEIGHT_GIRLS.zscore.yearly-f711d2fe.js} +0 -0
- /package/build/{Locale-fa9ab7e8.js → Locale-b511d433.js} +0 -0
- /package/build/{Visible-4c3bd92a.js → Visible-3d12a063.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-bb45acfa.js → WEIGHT_BOYS.percentile.monthly-1c4df92d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-02a19ea0.js → WEIGHT_BOYS.percentile.weekly-3e399a82.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a108603a.js → WEIGHT_BOYS.percentile.yearly-1fdc381c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-f3c424f0.js → WEIGHT_BOYS.zscore.monthly-844a7410.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5291fbca.js → WEIGHT_BOYS.zscore.weekly-779ab536.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c7ad1c05.js → WEIGHT_BOYS.zscore.yearly-e29fb299.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-a7e8d88e.js → WEIGHT_GIRLS.percentile.monthly-393bb83f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-aaa95410.js → WEIGHT_GIRLS.percentile.weekly-be65a211.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-bb1cab5e.js → WEIGHT_GIRLS.percentile.yearly-af108d1f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-115826fc.js → WEIGHT_GIRLS.zscore.monthly-ad246e18.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-69901775.js → WEIGHT_GIRLS.zscore.weekly-92ad1579.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8e47c3fb.js → WEIGHT_GIRLS.zscore.yearly-b9e82ccf.js} +0 -0
- /package/build/{animation-004e6eaf.js → animation-9e7b8230.js} +0 -0
- /package/build/{constants-46d1fa7f.js → constants-31412dd2.js} +0 -0
- /package/build/{constants-56e85889.js → constants-ea73b747.js} +0 -0
- /package/build/{constants-d923bea8.js → constants-ebc91ce4.js} +0 -0
- /package/build/{dataTransform-092fa532.js → dataTransform-f1988142.js} +0 -0
- /package/build/{doctor-04ac13c3.js → doctor-c6a842bc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-86443d5d.js → BMI_BOYS.percentile.monthly-860954bb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-78217e7c.js → BMI_BOYS.percentile.weekly-3490c502.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-bb07f235.js → BMI_BOYS.percentile.yearly-7786208e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-04b3338d.js → BMI_BOYS.zscore.monthly-c2a3c1bd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-7676acb6.js → BMI_BOYS.zscore.weekly-db1f5871.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-abfdaa38.js → BMI_BOYS.zscore.yearly-ec68849c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-dba11eec.js → BMI_GIRLS.percentile.monthly-b314e848.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b76ceba9.js → BMI_GIRLS.percentile.weekly-44dd9881.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-21554853.js → BMI_GIRLS.percentile.yearly-80a4e6df.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d672d772.js → BMI_GIRLS.zscore.monthly-f8755e4c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-aeaf4750.js → BMI_GIRLS.zscore.weekly-dc993ffc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7f86f4e6.js → BMI_GIRLS.zscore.yearly-50b7a0df.js} +0 -0
- /package/build/esm/{ChevronDown-18102a27.js → ChevronDown-33553ba5.js} +0 -0
- /package/build/esm/{Close-50ddb594.js → Close-44baea6e.js} +0 -0
- /package/build/esm/{Google-43112225.js → Google-df698f64.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-76c68fdd.js → HEAD CIRCUM_BOYS.percentile.monthly-0169a3d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-699c669d.js → HEAD CIRCUM_BOYS.percentile.weekly-aec10542.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-921ec436.js → HEAD CIRCUM_BOYS.percentile.yearly-30d7cd04.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3129b286.js → HEAD CIRCUM_BOYS.zscore.monthly-c7c7d3ed.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-60c8e0fd.js → HEAD CIRCUM_BOYS.zscore.weekly-07a778c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a2e35c00.js → HEAD CIRCUM_BOYS.zscore.yearly-73a005d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d697c1b3.js → HEAD CIRCUM_GIRLS.percentile.monthly-587a5664.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1a50c753.js → HEAD CIRCUM_GIRLS.percentile.weekly-7e8468c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b0cad34e.js → HEAD CIRCUM_GIRLS.percentile.yearly-f05f4fa9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6b2f52bb.js → HEAD CIRCUM_GIRLS.zscore.monthly-444ffd7c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2ff9842c.js → HEAD CIRCUM_GIRLS.zscore.weekly-d4e8ce92.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-47620ae6.js → HEAD CIRCUM_GIRLS.zscore.yearly-7f19e2a7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-a3350ff4.js → HEIGHT_BOYS.percentile.monthly-717f35e7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-515e3cc5.js → HEIGHT_BOYS.percentile.weekly-f5bf392f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-86933180.js → HEIGHT_BOYS.percentile.yearly-56b7241b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4196c3b8.js → HEIGHT_BOYS.zscore.monthly-0c99e047.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1a5331c9.js → HEIGHT_BOYS.zscore.weekly-882ac54a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-727c8ba5.js → HEIGHT_BOYS.zscore.yearly-2dff04eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-174f8bc9.js → HEIGHT_GIRLS.percentile.monthly-9f22e7c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ba25e40b.js → HEIGHT_GIRLS.percentile.weekly-90107848.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-94063ac1.js → HEIGHT_GIRLS.percentile.yearly-1341738f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7afb1cfa.js → HEIGHT_GIRLS.zscore.monthly-ec691dc8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-baff09ec.js → HEIGHT_GIRLS.zscore.weekly-166b9d20.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9033ac96.js → HEIGHT_GIRLS.zscore.yearly-46323e30.js} +0 -0
- /package/build/esm/{Locale-3221a5f1.js → Locale-99a969d0.js} +0 -0
- /package/build/esm/{Visible-b093b1f0.js → Visible-5100392d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-94244946.js → WEIGHT_BOYS.percentile.monthly-812b21d7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-13fa6dd1.js → WEIGHT_BOYS.percentile.weekly-bb65aecd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e085f080.js → WEIGHT_BOYS.percentile.yearly-faf10a94.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8376024c.js → WEIGHT_BOYS.zscore.monthly-98ac1970.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b9016360.js → WEIGHT_BOYS.zscore.weekly-df13e782.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d50e701d.js → WEIGHT_BOYS.zscore.yearly-bcaeda4a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-61b9516b.js → WEIGHT_GIRLS.percentile.monthly-21e2f179.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-49967c00.js → WEIGHT_GIRLS.percentile.weekly-387a9837.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f8a33ff5.js → WEIGHT_GIRLS.percentile.yearly-9cfb2d80.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b22cc822.js → WEIGHT_GIRLS.zscore.monthly-33a340f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-02f56171.js → WEIGHT_GIRLS.zscore.weekly-228cf75e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f102931c.js → WEIGHT_GIRLS.zscore.yearly-83da51f1.js} +0 -0
- /package/build/esm/{animation-f7d95062.js → animation-f5c99177.js} +0 -0
- /package/build/esm/{constants-00af6c95.js → constants-0e072b19.js} +0 -0
- /package/build/esm/{constants-f8ec0fb2.js → constants-8bbbfb13.js} +0 -0
- /package/build/esm/{constants-d51b53da.js → constants-ecd74d50.js} +0 -0
- /package/build/esm/{dataTransform-a93a37f0.js → dataTransform-9cc4560d.js} +0 -0
- /package/build/esm/{doctor-f3e3bf8d.js → doctor-2a4cb1b0.js} +0 -0
- /package/build/esm/{index-3bf7820a.js → index-1f4f6995.js} +0 -0
- /package/build/esm/{index-ad8421da.js → index-27dc739e.js} +0 -0
- /package/build/esm/{index-93183ae3.js → index-47298e20.js} +0 -0
- /package/build/esm/{index-e7141fc3.js → index-52e2f450.js} +0 -0
- /package/build/esm/{index-3fe6a644.js → index-63dddd8c.js} +0 -0
- /package/build/esm/{index-63ece1e8.js → index-81a75463.js} +0 -0
- /package/build/esm/{index-3549da96.js → index-81eaa9f2.js} +0 -0
- /package/build/esm/{index-4ee4ec9f.js → index-b4f9ef92.js} +0 -0
- /package/build/esm/{index-25d93e74.js → index-c65b81b4.js} +0 -0
- /package/build/esm/{index.styles-01bc7738.js → index.styles-cfa5a4a2.js} +0 -0
- /package/build/esm/{localizeNumberFormat-283dde55.js → localizeNumberFormat-38e71c20.js} +0 -0
- /package/build/esm/{normalizeLink-faff4495.js → normalizeLink-30c93074.js} +0 -0
- /package/build/esm/{other-978957e0.js → other-040b4ad5.js} +0 -0
- /package/build/esm/{paths-35441d30.js → paths-2f6dbfc4.js} +0 -0
- /package/build/esm/{translationsContext-6625ef10.js → translationsContext-7f54a543.js} +0 -0
- /package/build/esm/{tslib.es6-7b710789.js → tslib.es6-17e37ecd.js} +0 -0
- /package/build/esm/{types-81c042bb.js → types-d20e485f.js} +0 -0
- /package/build/esm/{useIsInit-334ecdf2.js → useIsInit-dff742a6.js} +0 -0
- /package/build/esm/{useOutsideClick-99cf1e8a.js → useOutsideClick-df515035.js} +0 -0
- /package/build/esm/{useScrollbarSize-5765dfe0.js → useScrollbarSize-f4eb012e.js} +0 -0
- /package/build/esm/{useUniqueId-dc3856df.js → useUniqueId-8a528623.js} +0 -0
- /package/build/esm/{utils-a7413d88.js → utils-6095e278.js} +0 -0
- /package/build/{index-d1685111.js → index-59fb0c76.js} +0 -0
- /package/build/{index-1ec90590.js → index-61c501cb.js} +0 -0
- /package/build/{index-5678e1f8.js → index-66d98f03.js} +0 -0
- /package/build/{index-63b6bb84.js → index-66e9086a.js} +0 -0
- /package/build/{index-4b93e7d8.js → index-7fb05e24.js} +0 -0
- /package/build/{index-92d2e15c.js → index-97d00f52.js} +0 -0
- /package/build/{index-91d396e3.js → index-99ef9806.js} +0 -0
- /package/build/{index-2cfd24d1.js → index-b35b2e76.js} +0 -0
- /package/build/{index-aab4a11a.js → index-c5e6cb9a.js} +0 -0
- /package/build/{index.styles-282b5f51.js → index.styles-cac29d6f.js} +0 -0
- /package/build/{localizeNumberFormat-96ffcba7.js → localizeNumberFormat-e8d788e5.js} +0 -0
- /package/build/{normalizeLink-a0020d17.js → normalizeLink-8008729b.js} +0 -0
- /package/build/{other-dbb2467d.js → other-d5b52eb3.js} +0 -0
- /package/build/{paths-e2fa0160.js → paths-9906859f.js} +0 -0
- /package/build/{translationsContext-8eddc47b.js → translationsContext-d5b2e9b1.js} +0 -0
- /package/build/{tslib.es6-f49889de.js → tslib.es6-dd9e0cc4.js} +0 -0
- /package/build/{types-f52c0573.js → types-a738892a.js} +0 -0
- /package/build/{useIsInit-06292bee.js → useIsInit-9f4a71a4.js} +0 -0
- /package/build/{useOutsideClick-961bbb1b.js → useOutsideClick-f0cd62c6.js} +0 -0
- /package/build/{useScrollbarSize-e5289898.js → useScrollbarSize-f6df277b.js} +0 -0
- /package/build/{useUniqueId-0206d180.js → useUniqueId-ec4bb28c.js} +0 -0
- /package/build/{utils-29060b96.js → utils-910c005a.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-17e37ecd.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-63dddd8c.js';
|
|
5
|
+
import { u as useTranslations } from './index-3721fccb.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-b9c8f21a.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-bb91baab.js';
|
|
12
|
+
import './index-cd340cca.js';
|
|
13
|
+
import './index-47298e20.js';
|
|
14
|
+
import './useMantineLocale-77546de7.js';
|
|
15
|
+
import { T as Text } from './index-81d15fea.js';
|
|
16
|
+
import { B as Button } from './index-16f3933c.js';
|
|
17
|
+
import './index.styles-cfa5a4a2.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-6095e278.js';
|
|
20
|
+
import './other-040b4ad5.js';
|
|
21
|
+
import './index-b2f74a59.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-eb9886a9.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-c64ceedc.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-7769faef.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-ecd74d50.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-5e4f9830.js';
|
|
28
|
+
import { C as CardAuthor, L as Loading$1 } from './index-b6524c74.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-f7f20fb3.js';
|
|
30
|
+
import { I as Input } from './index-764d2cdc.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-3737c9f7.js';
|
|
35
|
+
import { C as CardLink } from './index-4ab47e41.js';
|
|
36
|
+
import { B as BtnChoice } from './index-bcaa4aaa.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-99a969d0.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-00a71224.js';
|
|
40
|
+
import { B as Button$1 } from './index-7def88ea.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-8a528623.js';
|
|
43
|
+
import { U as UserAvatar } from './index-d5821fa7.js';
|
|
44
|
+
import { P as PopoverMenu } from './index-bcad7dc3.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,26 @@ 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: t('createPost.popup.success'),
|
|
3688
|
+
type: 'success',
|
|
3689
|
+
});
|
|
3690
|
+
onCreateEditSuccess(resData);
|
|
3640
3691
|
}
|
|
3641
3692
|
else {
|
|
3642
|
-
if (((
|
|
3693
|
+
if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
|
|
3643
3694
|
pushNotifications({
|
|
3644
3695
|
title: t('notification.post.blocked.title'),
|
|
3645
3696
|
message: t('notification.post.blocked.message'),
|
|
@@ -3649,7 +3700,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3649
3700
|
setBannedWords(res.messages.moderation.words);
|
|
3650
3701
|
}
|
|
3651
3702
|
}
|
|
3652
|
-
else if (((
|
|
3703
|
+
else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
|
|
3653
3704
|
pushNotifications({
|
|
3654
3705
|
title: t('notification.post.suspect.title'),
|
|
3655
3706
|
message: t('notification.post.suspect.message'),
|
|
@@ -3657,7 +3708,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3657
3708
|
});
|
|
3658
3709
|
onClose && onClose();
|
|
3659
3710
|
}
|
|
3660
|
-
else if ((
|
|
3711
|
+
else if ((_h = (_g = res === null || res === void 0 ? void 0 : res.messages) === null || _g === void 0 ? void 0 : _g.find) === null || _h === void 0 ? void 0 : _h.call(_g, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
|
|
3661
3712
|
pushNotifications({
|
|
3662
3713
|
message: t('notification.suspend.message'),
|
|
3663
3714
|
type: 'danger',
|
|
@@ -3666,7 +3717,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3666
3717
|
}
|
|
3667
3718
|
else {
|
|
3668
3719
|
pushNotifications({
|
|
3669
|
-
message: ((
|
|
3720
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3670
3721
|
type: 'danger',
|
|
3671
3722
|
});
|
|
3672
3723
|
}
|
|
@@ -3698,13 +3749,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3698
3749
|
}
|
|
3699
3750
|
};
|
|
3700
3751
|
const onSubmitContinuePost = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
3701
|
-
var
|
|
3752
|
+
var _k;
|
|
3702
3753
|
const isError = validationPost();
|
|
3703
3754
|
if (isError) {
|
|
3704
3755
|
const keyElmToScroll = getFirstOrderErroKey(orderErrorFieldKey);
|
|
3705
3756
|
handleScrollToError(keyElmToScroll);
|
|
3706
3757
|
return;
|
|
3707
3758
|
}
|
|
3759
|
+
submitPost();
|
|
3760
|
+
if (stepPost)
|
|
3761
|
+
return;
|
|
3762
|
+
if (isInEditMode) {
|
|
3763
|
+
submitPost();
|
|
3764
|
+
return;
|
|
3765
|
+
}
|
|
3708
3766
|
setStepPost('step_community');
|
|
3709
3767
|
// Current just apply ai suggest community for Vietnam site
|
|
3710
3768
|
if (locale === LOCALE.Vietnam && !isMarryBaby && !isInEditMode) {
|
|
@@ -3736,11 +3794,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3736
3794
|
topic_in: listTopicId.join(),
|
|
3737
3795
|
pageSize: 100,
|
|
3738
3796
|
}), 'GET');
|
|
3739
|
-
const topicsApi = (
|
|
3740
|
-
const topicSuggested = topicsApi
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3797
|
+
const topicsApi = (_k = resTopic === null || resTopic === void 0 ? void 0 : resTopic.data) === null || _k === void 0 ? void 0 : _k.topics;
|
|
3798
|
+
// const topicSuggested = topicsApi
|
|
3799
|
+
// ? topicsApi.map((item) => formatTopic(item))
|
|
3800
|
+
// : ([] as Topic[])
|
|
3801
|
+
let newTopics = [];
|
|
3802
|
+
topicsApi === null || topicsApi === void 0 ? void 0 : topicsApi.forEach((item) => {
|
|
3803
|
+
newTopics = newTopics.concat(item.discover_category);
|
|
3804
|
+
});
|
|
3805
|
+
// setTopics(newTopics)
|
|
3806
|
+
setSelectedTopics(newTopics);
|
|
3744
3807
|
}
|
|
3745
3808
|
}
|
|
3746
3809
|
}
|
|
@@ -3753,7 +3816,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3753
3816
|
}
|
|
3754
3817
|
}
|
|
3755
3818
|
});
|
|
3756
|
-
console.log('topicsList: ', topicsList);
|
|
3757
3819
|
return (React__default.createElement(StyledCreateNewPost, { className: `${className} create-post-popup-frame`, style: style },
|
|
3758
3820
|
React__default.createElement("div", { className: "input-group-container", ref: containerRef },
|
|
3759
3821
|
React__default.createElement(StyledFormGroupInner, null,
|
|
@@ -3827,7 +3889,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
|
|
|
3827
3889
|
validationUploadPhoto(data);
|
|
3828
3890
|
} }),
|
|
3829
3891
|
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 },
|
|
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'))))));
|
|
3831
3897
|
};
|
|
3832
3898
|
|
|
3833
3899
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-17e37ecd.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
+
import { M as MediaQueries } from './utils-6095e278.js';
|
|
7
7
|
|
|
8
8
|
const StyledInput = styled.div `
|
|
9
9
|
position: relative;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-17e37ecd.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-120dfb43.js';
|
|
6
|
+
import { I as Input } from './index-b9c8f21a.js';
|
|
7
|
+
import { D as DatePicker } from './index-8f4d62bb.js';
|
|
8
|
+
import { T as Text } from './index-81d15fea.js';
|
|
9
|
+
import './index-16f3933c.js';
|
|
10
|
+
import './index.styles-cfa5a4a2.js';
|
|
11
|
+
import { u as useTranslations } from './index-3721fccb.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-77546de7.js';
|
|
14
|
+
import './index-cd340cca.js';
|
|
15
|
+
import './index-47298e20.js';
|
|
16
|
+
import './utils-6095e278.js';
|
|
17
|
+
import './index-bb91baab.js';
|
|
18
|
+
import './other-040b4ad5.js';
|
|
19
|
+
import './index-b2f74a59.js';
|
|
20
|
+
import { H as HealthToolFormWrapper } from './index-1f09f99e.js';
|
|
21
21
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
22
22
|
|
|
23
23
|
const AvoidPregnancy = (_a) => {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-17e37ecd.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect, useMemo } from 'react';
|
|
3
|
-
import { B as Button } from './index-
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
3
|
+
import { B as Button } from './index-7def88ea.js';
|
|
4
|
+
import { H as Heading } from './index-9b227290.js';
|
|
5
|
+
import { u as useTranslations } from './index-3721fccb.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
|
-
import { S as SharePopup, P as PopupDanger, i as deletePost, j as IconAlertCircle, b as SubmitReportForm, k as deleteComment, l as decodeCommentBody, m as likeUnlikeComment, I as InputCommentBar, c as SocialLinkPreview, n as likeUnlikePost, g as getDefaultFailNoti } from './index-
|
|
8
|
-
import { C as CommonGAssets } from './index-
|
|
9
|
-
import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-
|
|
7
|
+
import { S as SharePopup, P as PopupDanger, i as deletePost, j as IconAlertCircle, b as SubmitReportForm, k as deleteComment, l as decodeCommentBody, m as likeUnlikeComment, I as InputCommentBar, c as SocialLinkPreview, n as likeUnlikePost, g as getDefaultFailNoti } from './index-eb9886a9.js';
|
|
8
|
+
import { C as CommonGAssets } from './index-47298e20.js';
|
|
9
|
+
import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-ecd74d50.js';
|
|
10
10
|
import { useTogetherAuthRequiredAction, TogetherAuthConfigContextProvider } from './useTogetherAuthRequiredAction.js';
|
|
11
|
-
import { T as TogetherComponentGlobalContext, c as callApi, s as getMarryBabyApiPath, o as getDiscoverApiPath, g as getCarePath, k as getCurrentBaseUrl$1, b as callApiWithAuth, d as getApiPath, t as callApiWithOptionalAuth, l as domainLocales$1 } from './utils-
|
|
12
|
-
import { b as TreePopoverMenu, C as CardReactions, c as CardReactionType, a as LabelPin, T as TagTopic } from './treePopoverMenu-
|
|
11
|
+
import { T as TogetherComponentGlobalContext, c as callApi, s as getMarryBabyApiPath, o as getDiscoverApiPath, g as getCarePath, k as getCurrentBaseUrl$1, b as callApiWithAuth, d as getApiPath, t as callApiWithOptionalAuth, l as domainLocales$1 } from './utils-c64ceedc.js';
|
|
12
|
+
import { b as TreePopoverMenu, C as CardReactions, c as CardReactionType, a as LabelPin, T as TagTopic } from './treePopoverMenu-3eaf75ff.js';
|
|
13
13
|
import styled from '@emotion/styled';
|
|
14
|
-
import { M as MediaQueries } from './utils-
|
|
14
|
+
import { M as MediaQueries } from './utils-6095e278.js';
|
|
15
15
|
import { theme } from './miscTheme.js';
|
|
16
|
-
import { g as formatArticle, h as formatCategory, e as formatComment } from './dataTransform-
|
|
16
|
+
import { g as formatArticle, h as formatCategory, e as formatComment } from './dataTransform-7769faef.js';
|
|
17
17
|
import { DISCOVER_PATHS, CARE_PATHS, PATHS } from './togetherApiPaths.js';
|
|
18
|
-
import { C as CardLink } from './index-
|
|
19
|
-
import { C as CardAuthor, L as Loading, c as ProfileDetailModal } from './index-
|
|
20
|
-
import { a as ProfileDetail, P as PostContent } from './index-
|
|
21
|
-
import { a as PostImagePreview } from './index-
|
|
22
|
-
import { D as Divider } from './index-
|
|
23
|
-
import './index-
|
|
18
|
+
import { C as CardLink } from './index-4ab47e41.js';
|
|
19
|
+
import { C as CardAuthor, L as Loading, c as ProfileDetailModal } from './index-b6524c74.js';
|
|
20
|
+
import { a as ProfileDetail, P as PostContent } from './index-28bd2013.js';
|
|
21
|
+
import { a as PostImagePreview } from './index-00a71224.js';
|
|
22
|
+
import { D as Divider } from './index-81a75463.js';
|
|
23
|
+
import './index-bb91baab.js';
|
|
24
24
|
import { Plus } from '@hhgtech/icons/core';
|
|
25
25
|
import { ArrowRight, ArrowDown, Trash, Endorse } from '@hhgtech/icons/other';
|
|
26
26
|
import { Accordion } from '@mantine/core';
|
|
27
|
-
import { I as Input } from './index-
|
|
28
|
-
import { T as Text } from './index-
|
|
29
|
-
import { g as getCurrentBaseUrl } from './normalizeLink-
|
|
27
|
+
import { I as Input } from './index-764d2cdc.js';
|
|
28
|
+
import { T as Text } from './index-81d15fea.js';
|
|
29
|
+
import { g as getCurrentBaseUrl } from './normalizeLink-30c93074.js';
|
|
30
30
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
31
31
|
|
|
32
32
|
var img$7 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%233E3F58' d='M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2'/%3e%3c/svg%3e";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-b9c8f21a.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { T as Text } from './index-81d15fea.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-47298e20.js';
|
|
7
7
|
|
|
8
8
|
const ALLOW_DOMAIN_URL = [
|
|
9
9
|
'hellobacsi.com',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-17e37ecd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { B as Button$1 } from './index-
|
|
3
|
+
import { B as Button$1 } from './index-16f3933c.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
2
|
import { Portal } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll } from './utils-
|
|
3
|
+
import { t as toggleNoScroll } from './utils-6095e278.js';
|
|
4
4
|
import { css } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
8
|
-
import { T as Text } from './index-
|
|
7
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-f5c99177.js';
|
|
8
|
+
import { T as Text } from './index-81d15fea.js';
|
|
9
9
|
|
|
10
10
|
const DURATION = '600ms';
|
|
11
11
|
const generateStyleBasedOnPlacement = (placement, open) => {
|