@hhgtech/hhg-components 1.29.337 → 1.29.338-beta-2
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-26fb8cdf.js} +1 -1
- package/build/{MobileBottomNavigationIcon-5b6727d2.js → MobileBottomNavigationIcon-a75dc2dd.js} +3 -3
- package/build/{Spinner-3da24dda.js → Spinner-770e4b67.js} +1 -1
- package/build/{WhatsApp-8d005727.js → WhatsApp-18b5a29e.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-d0493dcf.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-4f438239.js} +1 -1
- package/build/{dataTransform-420b28f0.js → dataTransform-3ea36027.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-04e20704.js → editor-eb358ad1.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-4a14893d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-7d5f5972.js → MobileBottomNavigationIcon-4342d770.js} +3 -3
- package/build/esm/{Spinner-cb34617f.js → Spinner-61d3848d.js} +1 -1
- package/build/esm/{WhatsApp-f96d3e7f.js → WhatsApp-9b3d9931.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-708df670.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-78258573.js} +1 -1
- package/build/esm/{dataTransform-bb00e470.js → dataTransform-4caafa0e.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-daf734ce.js → editor-1db311d8.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/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/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-b2c17404.js → index-014124f3.js} +2 -2
- package/build/esm/{index-6366de18.js → index-022db00c.js} +2 -2
- package/build/esm/{index-33929f40.js → index-039a9eaf.js} +1 -1
- package/build/esm/{index-61dfe9ca.js → index-04f4358d.js} +2 -2
- package/build/esm/{index-3bc237f8.js → index-08e53de8.js} +3 -3
- package/build/esm/{index-1b258af5.js → index-0c5f8556.js} +2 -2
- package/build/esm/{index-0f7b01fc.js → index-1466e9dc.js} +178 -110
- package/build/esm/{index-f465ce78.js → index-16615545.js} +16 -16
- package/build/esm/{index-aa21b8da.js → index-1756fb91.js} +1 -1
- package/build/esm/{index-f347069e.js → index-209ce4ee.js} +6 -6
- package/build/esm/{index-51482477.js → index-25e8231a.js} +14 -14
- package/build/esm/{index-ba73d604.js → index-26402d9a.js} +13 -13
- package/build/esm/{index-0225ecb1.js → index-278965b8.js} +2 -2
- package/build/esm/{index-d8519871.js → index-2a6d27c2.js} +16 -16
- package/build/esm/{index-0eb067b7.js → index-2cc5c261.js} +24 -24
- package/build/esm/{index-36863000.js → index-38ce8c9c.js} +1 -1
- package/build/esm/{index-b1770ad1.js → index-3aea9788.js} +16 -16
- package/build/esm/{index-9b2001a7.js → index-3b212f5f.js} +18 -18
- package/build/esm/{index-f8ea6ac6.js → index-3cc9f70b.js} +1 -1
- package/build/esm/{index-c4c56d77.js → index-3d3f5468.js} +30 -30
- package/build/esm/{index-1389ea44.js → index-3f7ea5a7.js} +3 -3
- package/build/esm/{index-b038b8c7.js → index-44debaaa.js} +2 -2
- package/build/esm/{index-b067b442.js → index-48d6e836.js} +1 -1
- package/build/esm/{index-25d93e74.js → index-49778458.js} +5 -5
- package/build/esm/{index-fdae3796.js → index-4b8716e6.js} +2 -2
- package/build/esm/{index-2c4d67d7.js → index-5248780f.js} +18 -18
- package/build/esm/{index-93cc11dc.js → index-56fc6a32.js} +6 -6
- package/build/esm/{index-05bd1e2b.js → index-57150ca8.js} +3 -3
- package/build/esm/{index-e2b7b489.js → index-5b9d7c36.js} +3 -3
- package/build/esm/{index-cc394577.js → index-5deb21e5.js} +1 -1
- package/build/esm/{index-83de252c.js → index-5fbe1ca4.js} +13 -13
- package/build/esm/{index-b380b8ce.js → index-62524755.js} +2 -2
- package/build/esm/{index-c6660844.js → index-670e2a08.js} +20 -20
- package/build/esm/{index-fd283ee7.js → index-6c8d8c6f.js} +13 -13
- package/build/esm/{index-b1d4087d.js → index-7b181843.js} +3 -3
- package/build/esm/{index-a1ccb283.js → index-7fbeeef2.js} +5 -5
- package/build/esm/{index-a6229525.js → index-83fc790d.js} +7 -7
- package/build/esm/{index-8f05c711.js → index-87106b1f.js} +6 -6
- package/build/esm/{index-0c8caf51.js → index-8a4280d2.js} +3 -3
- package/build/esm/{index-b4d90966.js → index-8c4d5e2e.js} +1 -1
- package/build/esm/{index-e4463daa.js → index-9cc7bfdb.js} +1 -1
- package/build/esm/{index-295e34f2.js → index-ad612933.js} +15 -15
- package/build/esm/{index-0713eb59.js → index-b01d9778.js} +24 -24
- package/build/esm/{index-1275c1d7.js → index-b8b6c9b5.js} +21 -21
- package/build/esm/{index-63fd8b36.js → index-c03f370f.js} +2 -2
- package/build/esm/{index-4aec70fd.js → index-c3d78d26.js} +15 -15
- package/build/esm/{index-eaafdb62.js → index-c515b425.js} +7 -7
- package/build/esm/{index-0415b01c.js → index-c568f406.js} +13 -13
- package/build/esm/{index-4b39ea24.js → index-c5df0293.js} +17 -17
- package/build/esm/{index-5f57b1dc.js → index-c63924df.js} +2 -2
- package/build/esm/{index-09b0659a.js → index-cff4ec0a.js} +16 -16
- package/build/esm/{index-dd78ba83.js → index-d7952b64.js} +32 -32
- package/build/esm/{index-7bae9527.js → index-e14dff58.js} +2 -2
- package/build/esm/{index-a5464abb.js → index-e398c9af.js} +2 -2
- package/build/esm/{index-78878ea0.js → index-eaf06162.js} +4 -4
- package/build/esm/{index-155e0388.js → index-efcfeb0b.js} +17 -17
- package/build/esm/{index-d562cac5.js → index-f22a0b96.js} +18 -18
- package/build/esm/index-f4264734.js +106 -0
- package/build/esm/{index-71c6552e.js → index-f4b17ed6.js} +3 -3
- package/build/esm/{index-94a1162c.js → index-f5bcd8d8.js} +5 -5
- package/build/esm/{index-d298354a.js → index-f6ca8cb2.js} +10 -10
- package/build/esm/{index-196497c1.js → index-f9c76e69.js} +6 -6
- package/build/esm/{index-5539b7bd.js → index-fc025d21.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +146 -117
- package/build/esm/{labelSorting-754c363d.js → labelSorting-71faf842.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-d5e639e4.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-3be83524.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-08cd60db.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-5b3a42fd.js → surveyThankyouCard-0ae48702.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-f0b92ab1.js} +19 -19
- package/build/esm/{types-8d50c603.js → types-d36c283f.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-0dd2cbd2.js → useCategory-1deb4c61.js} +5 -5
- package/build/esm/{useHealthToolCache-f97d58e6.js → useHealthToolCache-568826c0.js} +1 -1
- package/build/esm/{useMantineLocale-8cc72830.js → useMantineLocale-1f4d8845.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-206540a6.js → usePlacesAutocomplete-470d7389.js} +2 -1
- package/build/esm/{useScreenSize-623e1764.js → useScreenSize-1f7aac9e.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-4233ebc1.js → utils-430ee323.js} +2 -2
- package/build/esm/{utils-351e2780.js → utils-b427f865.js} +2 -2
- package/build/esm/{utils-d5aeff78.js → utils-bf86b17e.js} +3 -3
- 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/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/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-426b2b90.js → index-054ef04c.js} +15 -15
- package/build/{index-e69aba76.js → index-0be57e51.js} +17 -17
- package/build/{index-aeec1e64.js → index-0e1a851a.js} +30 -30
- package/build/{index-f9a87ed6.js → index-11c02738.js} +13 -13
- package/build/{index-7c62dccd.js → index-15b6a7ea.js} +21 -21
- package/build/{index-41cd44d2.js → index-1e2901cf.js} +13 -13
- package/build/{index-e53902a2.js → index-1ee80a83.js} +2 -2
- package/build/{index-fcb4f855.js → index-1ffa43f9.js} +5 -5
- package/build/{index-110b5ca9.js → index-2442d0ff.js} +20 -20
- package/build/{index-49719113.js → index-2463ac65.js} +2 -2
- package/build/{index-0a72c320.js → index-27df93b1.js} +2 -2
- package/build/{index-e632b1b0.js → index-2aeb6fa3.js} +1 -1
- package/build/{index-a12c9263.js → index-2b93fac1.js} +13 -13
- package/build/{index-ff7fd56a.js → index-2cf43734.js} +3 -3
- package/build/{index-039dbe88.js → index-339f94f9.js} +1 -1
- package/build/{index-b66036d6.js → index-52eda92d.js} +24 -24
- package/build/{index-1cd769fe.js → index-53247e10.js} +18 -18
- package/build/{index-c8b7370e.js → index-53b65306.js} +14 -14
- package/build/{index-bdb891cd.js → index-587343c6.js} +2 -2
- package/build/{index-d041a262.js → index-5a411312.js} +2 -2
- package/build/{index-0519086c.js → index-612f0273.js} +7 -7
- package/build/{index-f7161b6e.js → index-64187ef3.js} +1 -1
- package/build/{index-ee3654b0.js → index-69554d14.js} +32 -32
- package/build/{index-c977f82b.js → index-6a7b756a.js} +1 -1
- package/build/{index-528ea33c.js → index-734a3542.js} +2 -2
- package/build/{index-fa7a4ea1.js → index-7b147f11.js} +16 -16
- package/build/{index-d3dfe803.js → index-7c579455.js} +3 -3
- package/build/{index-63fe8b11.js → index-7c80cfcc.js} +3 -3
- package/build/{index-5acbd524.js → index-82f75090.js} +16 -16
- package/build/{index-91d396e3.js → index-85b5916b.js} +5 -5
- package/build/{index-2301b9c3.js → index-875c8ad8.js} +18 -18
- package/build/{index-15c69d9d.js → index-90bc4e8a.js} +6 -6
- package/build/index-a6484b25.js +113 -0
- package/build/{index-ded652c3.js → index-a6cda024.js} +3 -3
- package/build/{index-a4b66208.js → index-a89758b9.js} +1 -1
- package/build/{index-57a3f434.js → index-abaefc82.js} +3 -3
- package/build/{index-d68df310.js → index-abc83ab4.js} +18 -18
- package/build/{index-ac08cf6a.js → index-ac0eab5e.js} +6 -6
- package/build/{index-8055f38c.js → index-acba7b2c.js} +24 -24
- package/build/{index-00da00b2.js → index-b15ef760.js} +13 -13
- package/build/{index-83b6bfdc.js → index-b192b5cd.js} +1 -1
- package/build/{index-222aaf59.js → index-b7ea3bc5.js} +7 -7
- package/build/{index-d7fd57cc.js → index-baa44166.js} +2 -2
- package/build/{index-a8524fa7.js → index-bdafa733.js} +178 -110
- package/build/{index-6b115786.js → index-be4f4f8d.js} +16 -16
- package/build/{index-afc908e9.js → index-c7014061.js} +2 -2
- package/build/{index-4576c899.js → index-c774c449.js} +3 -3
- package/build/{index-1b3acda3.js → index-c7da2c4b.js} +2 -2
- package/build/{index-893e7e0e.js → index-c8bfbf3f.js} +1 -1
- package/build/{index-42dd30d8.js → index-ca079c88.js} +10 -10
- package/build/{index-01413f5f.js → index-cb6c703e.js} +2 -2
- package/build/{index-f1f8a6b7.js → index-ce2dbcca.js} +5 -5
- package/build/{index-5850f264.js → index-da82fe1e.js} +1 -1
- package/build/{index-5c0d6586.js → index-e05cbcc8.js} +3 -3
- package/build/{index-64997aff.js → index-e2c3c1ca.js} +2 -2
- package/build/{index-f7b507b7.js → index-e5fcd7bb.js} +17 -17
- package/build/{index-6f47c87f.js → index-ebf47738.js} +1 -1
- package/build/{index-a5a1bfaf.js → index-ec99b8a2.js} +4 -4
- package/build/{index-3991f253.js → index-eda064a0.js} +2 -2
- package/build/{index-41f6bd5f.js → index-f1f90761.js} +15 -15
- package/build/{index-2b8ad5c2.js → index-f8ade80c.js} +6 -6
- package/build/{index-b2df0989.js → index-f910498e.js} +6 -6
- package/build/{index-30faaa61.js → index-ff8d9187.js} +16 -16
- package/build/index.css +1 -1
- package/build/index.js +211 -179
- package/build/{labelSorting-1668e583.js → labelSorting-030da342.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-cb4d0480.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-181365df.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-ab91dcde.js} +4 -4
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-df98bad7.js → surveyThankyouCard-61ccc036.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-4262fa2f.js} +19 -19
- package/build/{types-3c4d173e.js → types-da859bcc.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-9f653803.js → useCategory-2308ec32.js} +5 -5
- package/build/{useHealthToolCache-daaae90b.js → useHealthToolCache-d8d8de31.js} +1 -1
- package/build/{useMantineLocale-d5e030cb.js → useMantineLocale-d0451227.js} +6 -6
- package/build/{usePlacesAutocomplete-8e9ebb28.js → usePlacesAutocomplete-67d958ba.js} +2 -1
- package/build/{useScreenSize-aae08299.js → useScreenSize-da8385c8.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-dac6d657.js → utils-27282587.js} +2 -2
- package/build/{utils-c204a71e.js → utils-809fd5f1.js} +2 -2
- package/build/{utils-56c0b75f.js → utils-e73d4f08.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-c470c17c.js → BMI_BOYS.percentile.monthly-6c763651.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8fe07247.js → BMI_BOYS.percentile.weekly-d36fe897.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9ada1b75.js → BMI_BOYS.percentile.yearly-62cf505f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-103049e7.js → BMI_BOYS.zscore.monthly-2d68dd10.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-cf6e85a7.js → BMI_BOYS.zscore.weekly-60d5ab8d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c3140c6e.js → BMI_BOYS.zscore.yearly-25c0f702.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-550dad06.js → BMI_GIRLS.percentile.monthly-4229c401.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-31a1c78a.js → BMI_GIRLS.percentile.weekly-0095478b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9700bd31.js → BMI_GIRLS.percentile.yearly-5316a293.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b59f761b.js → BMI_GIRLS.zscore.monthly-2c75ab9f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-adab5203.js → BMI_GIRLS.zscore.weekly-6b14e974.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-c61853fe.js → BMI_GIRLS.zscore.yearly-75f01f10.js} +0 -0
- /package/build/{ChevronDown-1254e5e7.js → ChevronDown-d3648be8.js} +0 -0
- /package/build/{Close-bc735f06.js → Close-86c8bc90.js} +0 -0
- /package/build/{Google-4bf24997.js → Google-a2d7241c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-91d56131.js → HEAD CIRCUM_BOYS.percentile.monthly-8350144f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a549dea0.js → HEAD CIRCUM_BOYS.percentile.weekly-c514e6cf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d82244f1.js → HEAD CIRCUM_BOYS.percentile.yearly-388723c4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3b8875b5.js → HEAD CIRCUM_BOYS.zscore.monthly-4ea5a72c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3131348a.js → HEAD CIRCUM_BOYS.zscore.weekly-5f798745.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0f7a48ac.js → HEAD CIRCUM_BOYS.zscore.yearly-373c9d92.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-47b3dfd0.js → HEAD CIRCUM_GIRLS.percentile.monthly-dc8793ca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-93c8bf73.js → HEAD CIRCUM_GIRLS.percentile.weekly-0829ea11.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7c4f00da.js → HEAD CIRCUM_GIRLS.percentile.yearly-049817f9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-51443e7a.js → HEAD CIRCUM_GIRLS.zscore.monthly-a2061b75.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c4554378.js → HEAD CIRCUM_GIRLS.zscore.weekly-83b94282.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f0c480e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-a9ed4ca6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-6028051c.js → HEIGHT_BOYS.percentile.monthly-28eaa898.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-222bab41.js → HEIGHT_BOYS.percentile.weekly-4a0a72c3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-60f28dcb.js → HEIGHT_BOYS.percentile.yearly-c9c36721.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-87b419bd.js → HEIGHT_BOYS.zscore.monthly-15c02c6e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-4a523306.js → HEIGHT_BOYS.zscore.weekly-b715a343.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-83d35ba6.js → HEIGHT_BOYS.zscore.yearly-74b0d06b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-327ab176.js → HEIGHT_GIRLS.percentile.monthly-50c6f644.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1f69f3df.js → HEIGHT_GIRLS.percentile.weekly-b0be94a3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-057eee90.js → HEIGHT_GIRLS.percentile.yearly-cd507196.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c6b2db50.js → HEIGHT_GIRLS.zscore.monthly-bf4c9c77.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-80c73904.js → HEIGHT_GIRLS.zscore.weekly-03fa984e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-ccd25a92.js → HEIGHT_GIRLS.zscore.yearly-ebcff78a.js} +0 -0
- /package/build/{Locale-fa9ab7e8.js → Locale-4a2467cc.js} +0 -0
- /package/build/{Visible-4c3bd92a.js → Visible-4b9af68b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-bb45acfa.js → WEIGHT_BOYS.percentile.monthly-78f41938.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-02a19ea0.js → WEIGHT_BOYS.percentile.weekly-77c1c7ca.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a108603a.js → WEIGHT_BOYS.percentile.yearly-67c209b7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-f3c424f0.js → WEIGHT_BOYS.zscore.monthly-276a676b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5291fbca.js → WEIGHT_BOYS.zscore.weekly-1edeb1c6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c7ad1c05.js → WEIGHT_BOYS.zscore.yearly-c4c4085a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-a7e8d88e.js → WEIGHT_GIRLS.percentile.monthly-d3925df7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-aaa95410.js → WEIGHT_GIRLS.percentile.weekly-779b1da2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-bb1cab5e.js → WEIGHT_GIRLS.percentile.yearly-a306e1b5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-115826fc.js → WEIGHT_GIRLS.zscore.monthly-b8b7390c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-69901775.js → WEIGHT_GIRLS.zscore.weekly-b251e17e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8e47c3fb.js → WEIGHT_GIRLS.zscore.yearly-160e3f36.js} +0 -0
- /package/build/{animation-004e6eaf.js → animation-f7b5529a.js} +0 -0
- /package/build/{constants-46d1fa7f.js → constants-530d5282.js} +0 -0
- /package/build/{constants-56e85889.js → constants-617ac1ca.js} +0 -0
- /package/build/{constants-d923bea8.js → constants-a138e2cd.js} +0 -0
- /package/build/{dataTransform-092fa532.js → dataTransform-139a8cdd.js} +0 -0
- /package/build/{doctor-04ac13c3.js → doctor-cf393b42.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-86443d5d.js → BMI_BOYS.percentile.monthly-f415e0a7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-78217e7c.js → BMI_BOYS.percentile.weekly-703fd427.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-bb07f235.js → BMI_BOYS.percentile.yearly-68f10fa6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-04b3338d.js → BMI_BOYS.zscore.monthly-98acbb48.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-7676acb6.js → BMI_BOYS.zscore.weekly-8ec64d80.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-abfdaa38.js → BMI_BOYS.zscore.yearly-22ab0668.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-dba11eec.js → BMI_GIRLS.percentile.monthly-8cc16b6d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b76ceba9.js → BMI_GIRLS.percentile.weekly-53ce3763.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-21554853.js → BMI_GIRLS.percentile.yearly-81427a7b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d672d772.js → BMI_GIRLS.zscore.monthly-9cf2a2d4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-aeaf4750.js → BMI_GIRLS.zscore.weekly-02819f89.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7f86f4e6.js → BMI_GIRLS.zscore.yearly-97470602.js} +0 -0
- /package/build/esm/{ChevronDown-18102a27.js → ChevronDown-4bdb343a.js} +0 -0
- /package/build/esm/{Close-50ddb594.js → Close-f656ebf8.js} +0 -0
- /package/build/esm/{Google-43112225.js → Google-6f14dc0e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-76c68fdd.js → HEAD CIRCUM_BOYS.percentile.monthly-d2971771.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-699c669d.js → HEAD CIRCUM_BOYS.percentile.weekly-c3ec05c1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-921ec436.js → HEAD CIRCUM_BOYS.percentile.yearly-52b16b8c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3129b286.js → HEAD CIRCUM_BOYS.zscore.monthly-3ce43b56.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-60c8e0fd.js → HEAD CIRCUM_BOYS.zscore.weekly-dfb09b33.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a2e35c00.js → HEAD CIRCUM_BOYS.zscore.yearly-ece512c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d697c1b3.js → HEAD CIRCUM_GIRLS.percentile.monthly-038c7740.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1a50c753.js → HEAD CIRCUM_GIRLS.percentile.weekly-961be017.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b0cad34e.js → HEAD CIRCUM_GIRLS.percentile.yearly-135f819a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6b2f52bb.js → HEAD CIRCUM_GIRLS.zscore.monthly-b5528b9b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2ff9842c.js → HEAD CIRCUM_GIRLS.zscore.weekly-00df4982.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-47620ae6.js → HEAD CIRCUM_GIRLS.zscore.yearly-680a0e52.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-a3350ff4.js → HEIGHT_BOYS.percentile.monthly-24f234ce.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-515e3cc5.js → HEIGHT_BOYS.percentile.weekly-44167b20.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-86933180.js → HEIGHT_BOYS.percentile.yearly-f7e067e8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4196c3b8.js → HEIGHT_BOYS.zscore.monthly-0ad1b07f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1a5331c9.js → HEIGHT_BOYS.zscore.weekly-13738aec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-727c8ba5.js → HEIGHT_BOYS.zscore.yearly-260c44fc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-174f8bc9.js → HEIGHT_GIRLS.percentile.monthly-01f6a5ff.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ba25e40b.js → HEIGHT_GIRLS.percentile.weekly-6d8314cb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-94063ac1.js → HEIGHT_GIRLS.percentile.yearly-42c46de1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7afb1cfa.js → HEIGHT_GIRLS.zscore.monthly-a9981647.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-baff09ec.js → HEIGHT_GIRLS.zscore.weekly-a5dfba03.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9033ac96.js → HEIGHT_GIRLS.zscore.yearly-50769f1b.js} +0 -0
- /package/build/esm/{Locale-3221a5f1.js → Locale-30483a63.js} +0 -0
- /package/build/esm/{Visible-b093b1f0.js → Visible-8ccd5822.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-94244946.js → WEIGHT_BOYS.percentile.monthly-d21ef260.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-13fa6dd1.js → WEIGHT_BOYS.percentile.weekly-c13fd92a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e085f080.js → WEIGHT_BOYS.percentile.yearly-f1f2c13a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8376024c.js → WEIGHT_BOYS.zscore.monthly-9932e342.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b9016360.js → WEIGHT_BOYS.zscore.weekly-aa18d209.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d50e701d.js → WEIGHT_BOYS.zscore.yearly-de1127ea.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-61b9516b.js → WEIGHT_GIRLS.percentile.monthly-87446766.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-49967c00.js → WEIGHT_GIRLS.percentile.weekly-4b73c1c2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f8a33ff5.js → WEIGHT_GIRLS.percentile.yearly-0ec08e46.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b22cc822.js → WEIGHT_GIRLS.zscore.monthly-cec8823c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-02f56171.js → WEIGHT_GIRLS.zscore.weekly-19c6497d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f102931c.js → WEIGHT_GIRLS.zscore.yearly-a1dba903.js} +0 -0
- /package/build/esm/{animation-f7d95062.js → animation-2e9e516a.js} +0 -0
- /package/build/esm/{constants-d51b53da.js → constants-569dafc4.js} +0 -0
- /package/build/esm/{constants-00af6c95.js → constants-6f83f3ba.js} +0 -0
- /package/build/esm/{constants-f8ec0fb2.js → constants-f6f1a2c6.js} +0 -0
- /package/build/esm/{dataTransform-a93a37f0.js → dataTransform-67c2896a.js} +0 -0
- /package/build/esm/{doctor-f3e3bf8d.js → doctor-aac64b3a.js} +0 -0
- /package/build/esm/{index-3fe6a644.js → index-147e6ca0.js} +0 -0
- /package/build/esm/{index-63ece1e8.js → index-21b70779.js} +0 -0
- /package/build/esm/{index-4ee4ec9f.js → index-3e07a585.js} +0 -0
- /package/build/esm/{index-e7141fc3.js → index-62436643.js} +0 -0
- /package/build/esm/{index-ad8421da.js → index-824f77f1.js} +0 -0
- /package/build/esm/{index-3549da96.js → index-874a7c75.js} +0 -0
- /package/build/esm/{index-3bf7820a.js → index-9ae66e1e.js} +0 -0
- /package/build/esm/{index-93183ae3.js → index-9f6c634c.js} +0 -0
- /package/build/esm/{index.styles-01bc7738.js → index.styles-bfd355b2.js} +0 -0
- /package/build/esm/{localizeNumberFormat-283dde55.js → localizeNumberFormat-5cbbbc9e.js} +0 -0
- /package/build/esm/{normalizeLink-faff4495.js → normalizeLink-b7ec7f71.js} +0 -0
- /package/build/esm/{other-978957e0.js → other-51b99f75.js} +0 -0
- /package/build/esm/{paths-35441d30.js → paths-59285d56.js} +0 -0
- /package/build/esm/{translationsContext-6625ef10.js → translationsContext-e4acb4e4.js} +0 -0
- /package/build/esm/{tslib.es6-7b710789.js → tslib.es6-2e8db8a5.js} +0 -0
- /package/build/esm/{types-81c042bb.js → types-d263481d.js} +0 -0
- /package/build/esm/{useIsInit-334ecdf2.js → useIsInit-09c5fda0.js} +0 -0
- /package/build/esm/{useOutsideClick-99cf1e8a.js → useOutsideClick-be55112d.js} +0 -0
- /package/build/esm/{useScrollbarSize-5765dfe0.js → useScrollbarSize-caf44fb2.js} +0 -0
- /package/build/esm/{useUniqueId-dc3856df.js → useUniqueId-3ac7c649.js} +0 -0
- /package/build/esm/{utils-a7413d88.js → utils-7926bf07.js} +0 -0
- /package/build/{index-d1685111.js → index-16a0a9c5.js} +0 -0
- /package/build/{index-1ec90590.js → index-1a5086b3.js} +0 -0
- /package/build/{index-2cfd24d1.js → index-3f31f42c.js} +0 -0
- /package/build/{index-92d2e15c.js → index-46682219.js} +0 -0
- /package/build/{index-5678e1f8.js → index-76cad28a.js} +0 -0
- /package/build/{index-63b6bb84.js → index-7d0a2359.js} +0 -0
- /package/build/{index-4b93e7d8.js → index-d524baf5.js} +0 -0
- /package/build/{index-aab4a11a.js → index-f36dd33a.js} +0 -0
- /package/build/{index.styles-282b5f51.js → index.styles-fe452bb6.js} +0 -0
- /package/build/{localizeNumberFormat-96ffcba7.js → localizeNumberFormat-50e8cdb5.js} +0 -0
- /package/build/{normalizeLink-a0020d17.js → normalizeLink-7129a1ce.js} +0 -0
- /package/build/{other-dbb2467d.js → other-989538fb.js} +0 -0
- /package/build/{paths-e2fa0160.js → paths-bc2c5392.js} +0 -0
- /package/build/{translationsContext-8eddc47b.js → translationsContext-c5783cb1.js} +0 -0
- /package/build/{tslib.es6-f49889de.js → tslib.es6-891bdac0.js} +0 -0
- /package/build/{types-f52c0573.js → types-deba7e61.js} +0 -0
- /package/build/{useIsInit-06292bee.js → useIsInit-60803f3c.js} +0 -0
- /package/build/{useOutsideClick-961bbb1b.js → useOutsideClick-5e6973d6.js} +0 -0
- /package/build/{useScrollbarSize-e5289898.js → useScrollbarSize-5eb4b430.js} +0 -0
- /package/build/{useUniqueId-0206d180.js → useUniqueId-4287455a.js} +0 -0
- /package/build/{utils-29060b96.js → utils-10aeceb7.js} +0 -0
|
@@ -364,6 +364,9 @@ var zhTranslations = {
|
|
|
364
364
|
insert: insert,
|
|
365
365
|
"label.latestPost": "Latest Post",
|
|
366
366
|
"label.pinnedPost": "Pinned Post",
|
|
367
|
+
"lead.empty.cancel": "取消",
|
|
368
|
+
"lead.empty.submitAgain": "重新提交",
|
|
369
|
+
"lead.empty.title": "哎呀,您的資訊似乎是空的,您想要重新提交資訊嗎?",
|
|
367
370
|
loading: loading,
|
|
368
371
|
"login.booking": "預約醫生",
|
|
369
372
|
"logout.popup.ask.mb": "Logout of Marry Baby",
|
|
@@ -796,6 +799,7 @@ var zhTranslations = {
|
|
|
796
799
|
"tools.selectBabyGender": "請問您孩子的性別是?",
|
|
797
800
|
"tools.selectGender": "你的性別",
|
|
798
801
|
"tools.yearsOld": "歲",
|
|
802
|
+
"updatePost.popup.success": "The post has been updated successfully.",
|
|
799
803
|
"userProfile.nav.card.eCom": "eShop",
|
|
800
804
|
"userProfile.nav.card.ecom.DeliveryAddress": "Manage addresses",
|
|
801
805
|
"userProfile.nav.card.ecom.manageOrders": "Manage orders",
|
|
@@ -821,6 +825,7 @@ var zhTranslations = {
|
|
|
821
825
|
"userProfile.userRank.expert": "專家",
|
|
822
826
|
"userProfile.userRank.influencer": "名人",
|
|
823
827
|
"userProfile.userRank.member": "會員",
|
|
828
|
+
"validation.error.requiredAgeGroup": "Your child is not in the required age group",
|
|
824
829
|
"validation.error.requiredField": "此為必填欄位",
|
|
825
830
|
"verifyBotAnswer.confirmEndorse.accept": "Yes, endorse",
|
|
826
831
|
"verifyBotAnswer.confirmEndorse.cancel": "No, cancel",
|
package/build/esm/i18n.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
2
|
-
export { T as TranslationsContext } from './translationsContext-
|
|
1
|
+
import { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
|
|
3
3
|
import React__default, { useState, useEffect, useMemo } from 'react';
|
|
4
4
|
import defaultTranslations from './i18n-values/en-PH.js';
|
|
5
5
|
import hiTranslations from './i18n-values/hi-IN.js';
|
package/build/esm/i18nV2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
2
|
-
export { T as TranslationsContext } from './translationsContext-
|
|
1
|
+
import { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
|
|
3
3
|
import React__default, { useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
const TranslationsProvider = ({ locale = 'en-PH', values, children, }) => {
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import CaretDown from "./CaretDown";
|
|
2
|
+
import ChatbotBg from "./ChatbotBg";
|
|
2
3
|
import CheckCircle from "./CheckCircle";
|
|
3
4
|
import ChevronDown from "./ChevronDown";
|
|
4
5
|
import ChevronLeft from "./ChevronLeft";
|
|
5
6
|
import ChevronRight from "./ChevronRight";
|
|
6
7
|
import ChevronUp from "./ChevronUp";
|
|
7
|
-
import Circle from "./Circle";
|
|
8
8
|
import Close from "./Close";
|
|
9
9
|
import EmailCheck from "./EmailCheck";
|
|
10
10
|
import EmailFail from "./EmailFail";
|
|
11
11
|
import Facebook from "./Facebook";
|
|
12
12
|
import Google from "./Google";
|
|
13
13
|
import InVisible from "./InVisible";
|
|
14
|
-
import
|
|
14
|
+
import Search from "./Search";
|
|
15
15
|
import Visible from "./Visible";
|
|
16
|
-
|
|
16
|
+
import Circle from "./Circle";
|
|
17
|
+
import Spinning from "./Spinning";
|
|
18
|
+
export { CaretDown, ChatbotBg, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Close, EmailCheck, EmailFail, Facebook, Google, InVisible, Search, Visible, Circle, Spinning, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2e8db8a5.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-62524755.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
|
|
2
|
-
import './index-
|
|
2
|
+
import './index-48d6e836.js';
|
|
3
3
|
import { siteHost, siteOptions } from './constantsSite.js';
|
|
4
4
|
import { domainLocales, MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
5
5
|
import { RISK_SCREENER_NAME, RISK_SCREENER_SLUG } from './constantsRiskScreener.js';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
7
|
-
import { L as LOCALE } from './Locale-
|
|
7
|
+
import { L as LOCALE } from './Locale-30483a63.js';
|
|
8
8
|
|
|
9
9
|
const basePath = process.env.NEXT_PUBLIC_DEPLOY_LOCALE === 'tl-PH' ? '/fil' : '';
|
|
10
10
|
const SSO_URL = process.env.NEXT_PUBLIC_SSO;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-7926bf07.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import { theme } from './miscTheme.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { M as MarryBabyText } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
4
|
+
import { M as MarryBabyText } from './index-3cc9f70b.js';
|
|
5
|
+
import { T as Text } from './index-6c8d8c6f.js';
|
|
6
6
|
|
|
7
7
|
const StyledRadioImageGroup = styled.div `
|
|
8
8
|
display: flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as cookie } from './index-
|
|
2
|
-
import { d as BEARER_TOKEN_COOKIE } from './index-
|
|
3
|
-
import { N as NodeIntentType } from './index-
|
|
1
|
+
import { c as cookie } from './index-3e07a585.js';
|
|
2
|
+
import { d as BEARER_TOKEN_COOKIE } from './index-022db00c.js';
|
|
3
|
+
import { N as NodeIntentType } from './index-48d6e836.js';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { u as useScrollbarSize } from './useScrollbarSize-
|
|
2
|
+
import { u as useScrollbarSize } from './useScrollbarSize-caf44fb2.js';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { M as MediaQueries } from './utils-
|
|
5
|
+
import { M as MediaQueries } from './utils-7926bf07.js';
|
|
6
6
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
8
|
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-2e8db8a5.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-147e6ca0.js';
|
|
5
|
+
import { u as useTranslations } from './index-fc025d21.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-25e8231a.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-022db00c.js';
|
|
12
|
+
import './index-48d6e836.js';
|
|
13
|
+
import './index-9f6c634c.js';
|
|
14
|
+
import './useMantineLocale-1f4d8845.js';
|
|
15
|
+
import { T as Text } from './index-62524755.js';
|
|
16
|
+
import { B as Button } from './index-5deb21e5.js';
|
|
17
|
+
import './index.styles-bfd355b2.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-7926bf07.js';
|
|
20
|
+
import './other-51b99f75.js';
|
|
21
|
+
import './index-8a4280d2.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-3b212f5f.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-bf86b17e.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-4caafa0e.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-569dafc4.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-3be83524.js';
|
|
28
|
+
import { C as CardAuthor, L as Loading$1 } from './index-c3d78d26.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-1db311d8.js';
|
|
30
|
+
import { I as Input } from './index-c03f370f.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-278965b8.js';
|
|
35
|
+
import { C as CardLink } from './index-f5bcd8d8.js';
|
|
36
|
+
import { B as BtnChoice } from './index-1756fb91.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-30483a63.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-87106b1f.js';
|
|
40
|
+
import { B as Button$1 } from './index-c63924df.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-3ac7c649.js';
|
|
43
|
+
import { U as UserAvatar } from './index-4b8716e6.js';
|
|
44
|
+
import { P as PopoverMenu } from './index-e14dff58.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 `
|