@hhgtech/hhg-components 1.29.394-beta-2 → 1.29.395
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-eac90f76.js → InputDate-fc12be26.js} +7 -17
- package/build/{LastPeriod-c3e011d5.js → LastPeriod-f79b5164.js} +1 -1
- package/build/{MobileBottomNavigationIcon-10bed079.js → MobileBottomNavigationIcon-cd4ec4f2.js} +3 -3
- package/build/{Spinner-e7553de3.js → Spinner-cb9e87ee.js} +1 -1
- package/build/{WhatsApp-e9852dad.js → WhatsApp-15bbd681.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +55 -54
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawerComponent/index.d.ts +0 -7
- package/build/components.js +147 -146
- package/build/{constants-50fcb7b4.js → constants-d472f11c.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-3173beab.js → core-e3d62143.js} +1 -1
- package/build/{dataTransform-fbe25d84.js → dataTransform-a492e3be.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-62213383.js → editor-8ec0a4db.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-d8c603b6.js → InputDate-602f65e7.js} +7 -17
- package/build/esm/{LastPeriod-e86f595d.js → LastPeriod-58eaee50.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-2d8779c1.js → MobileBottomNavigationIcon-8ef484de.js} +3 -3
- package/build/esm/{Spinner-da82667e.js → Spinner-79a88fe7.js} +1 -1
- package/build/esm/{WhatsApp-f4dcedcf.js → WhatsApp-12d95fb8.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +54 -53
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/drawerComponent/index.d.ts +0 -7
- package/build/esm/components.js +103 -102
- package/build/esm/{constants-04e464e6.js → constants-1e984837.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-6a2d1a82.js → core-503d0e19.js} +1 -1
- package/build/esm/{dataTransform-9bdd89a7.js → dataTransform-851fe21a.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-4bcc67ac.js → editor-dc662240.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-85c1f8b2.js → healthTools-42f6cb06.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +0 -1
- package/build/esm/i18n-values/hi-IN.js +0 -1
- package/build/esm/i18n-values/id-ID.js +0 -1
- package/build/esm/i18n-values/km-KH.js +0 -1
- package/build/esm/i18n-values/ms-MY.js +0 -1
- package/build/esm/i18n-values/my-MM.js +0 -1
- package/build/esm/i18n-values/th-TH.js +0 -1
- package/build/esm/i18n-values/tl-PH.js +0 -1
- package/build/esm/i18n-values/vi-VN.js +0 -1
- package/build/esm/i18n-values/vi-VN_MB.js +0 -1
- package/build/esm/i18n-values/zh-CN.js +0 -1
- package/build/esm/i18n-values/zh-TW.js +0 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-d320eac2.js → index-0056050c.js} +2 -2
- package/build/esm/{index-2af05e4f.js → index-08f34ff2.js} +18 -18
- package/build/esm/{index-6a5e323d.js → index-15466f63.js} +16 -16
- package/build/esm/{index-3b0bbc40.js → index-17634690.js} +15 -15
- package/build/esm/{index-ca4fb69e.js → index-1d1c153c.js} +3 -3
- package/build/esm/{index-c105dc4b.js → index-1ea52ac0.js} +17 -17
- package/build/esm/{index-3705efe1.js → index-2021b3c1.js} +13 -13
- package/build/esm/{index-156e7bff.js → index-21607c99.js} +25 -25
- package/build/esm/{index-5660b351.js → index-238f0df7.js} +7 -120
- package/build/esm/{index-eb102b34.js → index-27e47866.js} +17 -17
- package/build/esm/{index-8e9263ee.js → index-2ec8dc46.js} +22 -22
- package/build/esm/{index-a73e0111.js → index-304b48b8.js} +2 -2
- package/build/esm/{index-394c446b.js → index-37da7797.js} +3 -3
- package/build/esm/{index-2cadfcb7.js → index-57001be3.js} +1 -1
- package/build/esm/{index-5bd43b7b.js → index-5c0e8412.js} +2 -2
- package/build/esm/{index-d0335ff2.js → index-5c13dc6e.js} +16 -16
- package/build/esm/{index-a3f2b52a.js → index-62749f00.js} +3 -3
- package/build/esm/{index-8d97c4d8.js → index-694ed585.js} +13 -13
- package/build/esm/{index-4e14f521.js → index-6a7dde31.js} +3 -3
- package/build/esm/{index-1523479a.js → index-6adac14f.js} +21 -21
- package/build/esm/{index-acc24b5c.js → index-6b1727a2.js} +4 -4
- package/build/esm/{index-d45a5adf.js → index-713619a6.js} +2 -2
- package/build/esm/{index-cfd4cbfb.js → index-77dab0fe.js} +5 -5
- package/build/esm/{index-8aa4f8fd.js → index-78dddce6.js} +13 -13
- package/build/esm/{index-a32d2f09.js → index-7fef2002.js} +17 -17
- package/build/esm/{index-53e17ce4.js → index-8184d2b2.js} +2 -2
- package/build/esm/{index-a743fa8e.js → index-837d93d2.js} +1 -1
- package/build/esm/{index-264e35c4.js → index-8c190b12.js} +8 -8
- package/build/esm/{index-65ced058.js → index-8df3750e.js} +7 -7
- package/build/esm/{index-61b7eece.js → index-8eed7b63.js} +2 -2
- package/build/esm/{index-1b2eedde.js → index-966f3431.js} +1 -1
- package/build/esm/{index-3c4438bc.js → index-a31be151.js} +6 -6
- package/build/esm/{index-e4188a84.js → index-a497ef67.js} +147 -231
- package/build/esm/{index-60665d56.js → index-a6a2c6fb.js} +13 -13
- package/build/esm/{index-40d6d504.js → index-a77b0610.js} +18 -18
- package/build/esm/{index-b030b921.js → index-a84d28d5.js} +2 -2
- package/build/esm/{index-a1230acf.js → index-a89ca14c.js} +3 -3
- package/build/esm/{index-12f426e6.js → index-ab281b8b.js} +24 -24
- package/build/esm/{index-da2812f4.js → index-ac5cb397.js} +6 -6
- package/build/esm/index-ae09d6db.js +118 -0
- package/build/esm/{index-aeef32ec.js → index-af7a0b48.js} +2 -2
- package/build/esm/{index-029c3ca3.js → index-b131d036.js} +10 -10
- package/build/esm/{index-683db2e9.js → index-b4681e39.js} +16 -16
- package/build/esm/{index-89b55959.js → index-b631b150.js} +3 -3
- package/build/esm/{index-268554a9.js → index-b74df050.js} +6 -6
- package/build/esm/{index-580fa91e.js → index-ba3fc512.js} +31 -31
- package/build/esm/{index-1f97d397.js → index-bc1a843d.js} +16 -16
- package/build/esm/{index-dc5801b5.js → index-c00fe542.js} +1 -1
- package/build/esm/{index-e9579c55.js → index-c14e1320.js} +6 -6
- package/build/esm/{index-a7c10f07.js → index-c3c35151.js} +1 -1
- package/build/esm/{index-89cd7b36.js → index-c73a0c60.js} +7 -7
- package/build/esm/{index-b8ef2e1f.js → index-c807b0bb.js} +2 -2
- package/build/esm/{index-3c33a1ed.js → index-c9060602.js} +4 -4
- package/build/esm/{index-aea81ad4.js → index-d26d4613.js} +31 -31
- package/build/esm/{index-52e6ab04.js → index-d722456d.js} +2 -2
- package/build/esm/{index-e0b2821c.js → index-da28a165.js} +1 -1
- package/build/esm/{index-c8c34747.js → index-de4ba53a.js} +6 -6
- package/build/esm/{index-8773b13e.js → index-e032ebdc.js} +1 -1
- package/build/esm/{index-fb740490.js → index-e745710b.js} +1 -1
- package/build/esm/{index-84d15fea.js → index-ec274641.js} +2 -2
- package/build/esm/{index-8a42e859.js → index-ed1b642a.js} +11 -11
- package/build/esm/{index-71fcbd33.js → index-f1d3e579.js} +17 -17
- package/build/esm/{index-3b1a47b6.js → index-f789dae3.js} +2 -2
- package/build/esm/{index-6e79f0d5.js → index-f8dbf8e4.js} +1 -1
- package/build/esm/{index-960c8cd2.js → index-f9473851.js} +2 -2
- package/build/esm/index.js +119 -118
- package/build/esm/{labelSorting-b39ffc84.js → labelSorting-038ca47e.js} +4 -4
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -262
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +129 -421
- package/build/esm/{logoIcon-01e18236.js → logoIcon-60510914.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-0b755807.js → post-4cdb64fd.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-5876e442.js → store-a147d34d.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-0894a226.js → surveyThankyouCard-d77f3101.js} +5 -5
- package/build/esm/together/components/molecules/createNewPostContentV2/index.styled.d.ts +0 -7
- package/build/esm/together.js +56 -56
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-e28795ee.js → translationsProvider-bb4a8191.js} +1 -1
- package/build/esm/{treePopoverMenu-3efdf293.js → treePopoverMenu-3c09d18e.js} +19 -19
- package/build/esm/{types-228fdcb3.js → types-2ac9ccf9.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-3729e7ef.js → useCategory-95d061fe.js} +5 -5
- package/build/esm/{useHealthToolCache-e7dbf040.js → useHealthToolCache-6ea42c9e.js} +1 -1
- package/build/esm/{useMantineLocale-86cfb6bd.js → useMantineLocale-738fc2b0.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-6b824d35.js → usePlacesAutocomplete-bff32c4f.js} +1 -1
- package/build/esm/{useScreenSize-3b7ab547.js → useScreenSize-e572cdeb.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-bea15bbb.js → utils-2139a37f.js} +2 -2
- package/build/esm/{utils-949c2dd7.js → utils-71fab448.js} +5 -5
- package/build/esm/{utils-6685e18c.js → utils-8ddecfa9.js} +2 -2
- package/build/esm/{utils-1165d255.js → utils-c0714c25.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-c6ebcdcb.js → healthTools-8cc86c2e.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +0 -1
- package/build/i18n-values/hi-IN.js +0 -1
- package/build/i18n-values/id-ID.js +0 -1
- package/build/i18n-values/km-KH.js +0 -1
- package/build/i18n-values/ms-MY.js +0 -1
- package/build/i18n-values/my-MM.js +0 -1
- package/build/i18n-values/th-TH.js +0 -1
- package/build/i18n-values/tl-PH.js +0 -1
- package/build/i18n-values/vi-VN.js +0 -1
- package/build/i18n-values/vi-VN_MB.js +0 -1
- package/build/i18n-values/zh-CN.js +0 -1
- package/build/i18n-values/zh-TW.js +0 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-12b35ef7.js → index-037289ae.js} +1 -1
- package/build/{index-c9240670.js → index-0535210b.js} +1 -1
- package/build/{index-5d58433c.js → index-0fa88470.js} +17 -17
- package/build/{index-63cec611.js → index-1cf38580.js} +13 -13
- package/build/{index-debd15b4.js → index-1e7df97e.js} +1 -1
- package/build/{index-a8936d7a.js → index-21308aef.js} +3 -3
- package/build/{index-a1bb1b93.js → index-24d6833c.js} +13 -13
- package/build/{index-bc32d7db.js → index-2505a385.js} +11 -11
- package/build/{index-661c70de.js → index-265dbfc8.js} +13 -13
- package/build/{index-0281227a.js → index-2b633262.js} +6 -6
- package/build/{index-2bb00add.js → index-2ed4f902.js} +6 -6
- package/build/{index-55ee7537.js → index-3405d280.js} +8 -8
- package/build/{index-80f0280d.js → index-3463357d.js} +1 -1
- package/build/{index-0c6ac6d3.js → index-39f52073.js} +21 -21
- package/build/{index-60ea7f96.js → index-3cc91040.js} +18 -18
- package/build/{index-c65cc226.js → index-3e30f43e.js} +2 -2
- package/build/{index-eb3a8fb7.js → index-46e11d17.js} +1 -1
- package/build/{index-a653be45.js → index-4d08b61f.js} +7 -7
- package/build/{index-f38d3ea8.js → index-50399c69.js} +15 -15
- package/build/{index-d7508e86.js → index-50b1eef5.js} +3 -3
- package/build/{index-8a60b3e3.js → index-526bc8b7.js} +24 -24
- package/build/{index-624c47f1.js → index-52a845a4.js} +3 -3
- package/build/{index-33aea2b0.js → index-53fb12f7.js} +17 -17
- package/build/{index-33fe9473.js → index-5805b3ec.js} +25 -25
- package/build/{index-2b290380.js → index-5a971e8e.js} +18 -18
- package/build/{index-23c78802.js → index-5aa6e32c.js} +146 -230
- package/build/{index-a5cdb8e7.js → index-5cc0648e.js} +17 -17
- package/build/{index-e96b9625.js → index-65877f7f.js} +2 -2
- package/build/{index-fbf79cf3.js → index-65984000.js} +4 -4
- package/build/{index-afecde01.js → index-6f4e9376.js} +22 -22
- package/build/{index-3302f186.js → index-77fdc39c.js} +2 -2
- package/build/{index-e2a32540.js → index-7b39ca5a.js} +31 -31
- package/build/{index-4a546aaa.js → index-7da7f107.js} +5 -119
- package/build/{index-bf119c4f.js → index-7dcea0bb.js} +10 -10
- package/build/{index-b8c6a99f.js → index-8027d859.js} +7 -7
- package/build/{index-05786ec0.js → index-8cb21bf0.js} +1 -1
- package/build/{index-42ab67e8.js → index-8cd605a4.js} +6 -6
- package/build/{index-326a1b85.js → index-8f5dfec3.js} +2 -2
- package/build/{index-c3ba195f.js → index-90a33d63.js} +2 -2
- package/build/{index-89fd03cc.js → index-9a8b67e3.js} +3 -3
- package/build/{index-46d0459d.js → index-9b576850.js} +13 -13
- package/build/{index-5e0a1e22.js → index-9e846c33.js} +5 -5
- package/build/{index-42ef519a.js → index-a98012d1.js} +2 -2
- package/build/{index-4544011b.js → index-ae53eeda.js} +31 -31
- package/build/{index-082b63cf.js → index-ae76aeb3.js} +16 -16
- package/build/{index-3949ecf7.js → index-afa2b601.js} +2 -2
- package/build/{index-ad18fc64.js → index-b0a12329.js} +4 -4
- package/build/{index-bd974cdb.js → index-b8ef9b27.js} +2 -2
- package/build/{index-f2ad55d6.js → index-c31a6ab5.js} +6 -6
- package/build/{index-d7f39459.js → index-c4288d81.js} +17 -17
- package/build/{index-85c7d01b.js → index-c4ecc316.js} +2 -2
- package/build/{index-4839557f.js → index-da80faa7.js} +2 -2
- package/build/{index-5f54d3ca.js → index-dbb1bebb.js} +1 -1
- package/build/{index-c059b45e.js → index-dc4e5b57.js} +1 -1
- package/build/{index-b9003b5c.js → index-e1251fad.js} +16 -16
- package/build/{index-85339eba.js → index-e1b23425.js} +2 -2
- package/build/{index-e1719527.js → index-e6d09057.js} +16 -16
- package/build/{index-ff30f6cc.js → index-e8bdf884.js} +3 -3
- package/build/{index-c07bc945.js → index-ecfed0d6.js} +6 -6
- package/build/{index-665601f9.js → index-efbe5dd2.js} +1 -1
- package/build/{index-40a59370.js → index-eff2e9c9.js} +2 -2
- package/build/index-f337b4a8.js +125 -0
- package/build/{index-2cfadb0e.js → index-faaa418b.js} +3 -3
- package/build/{index-6eff4b57.js → index-fc0eb3be.js} +16 -16
- package/build/{index-63ccebbc.js → index-fd327f0c.js} +2 -2
- package/build/index.js +185 -184
- package/build/{labelSorting-83ca9353.js → labelSorting-c9059bb9.js} +4 -4
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -262
- package/build/lead.css +1 -1
- package/build/lead.js +128 -420
- package/build/{logoIcon-368853e2.js → logoIcon-2f519cbc.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-d0900f6c.js → post-a3532f10.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-e5f7360c.js → store-7039961b.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-1a4e2df9.js → surveyThankyouCard-a517374c.js} +5 -5
- package/build/together/components/molecules/createNewPostContentV2/index.styled.d.ts +0 -7
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-8887ddcb.js → translationsProvider-f2a3687b.js} +1 -1
- package/build/{treePopoverMenu-1f8ab1e7.js → treePopoverMenu-7054a35f.js} +19 -19
- package/build/{types-6ed75177.js → types-16068ff8.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-fbf6c5cd.js → useCategory-5be6ce06.js} +5 -5
- package/build/{useHealthToolCache-c555ef20.js → useHealthToolCache-2a4c9939.js} +1 -1
- package/build/{useMantineLocale-ad2063c7.js → useMantineLocale-0181b664.js} +6 -6
- package/build/{usePlacesAutocomplete-12194665.js → usePlacesAutocomplete-e11e1d43.js} +1 -1
- package/build/{useScreenSize-f4b697c0.js → useScreenSize-5240f3ae.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-3e3ee1a2.js → utils-1057ad4d.js} +5 -5
- package/build/{utils-51e01fbd.js → utils-9d2704c6.js} +2 -2
- package/build/{utils-8527511b.js → utils-c1e7ebc0.js} +2 -2
- package/build/{utils-c0b36380.js → utils-eaf83096.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/lead/LeadGenForm/LeadGenEmpty.d.ts +0 -8
- package/build/esm/lead/icons/NoData.d.ts +0 -3
- package/build/esm/lead/icons/index.d.ts +0 -5
- package/build/esm/together/utils/index.d.ts +0 -1
- package/build/lead/LeadGenForm/LeadGenEmpty.d.ts +0 -8
- package/build/lead/icons/NoData.d.ts +0 -3
- package/build/lead/icons/index.d.ts +0 -5
- package/build/together/utils/index.d.ts +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-dc44a744.js → BMI_BOYS.percentile.monthly-5e7a7d21.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d43cfd0f.js → BMI_BOYS.percentile.weekly-abe9fb43.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-3de13a2c.js → BMI_BOYS.percentile.yearly-b84043f6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-72df0b5d.js → BMI_BOYS.zscore.monthly-11bd8873.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-b1b649eb.js → BMI_BOYS.zscore.weekly-13579b6b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-ab836117.js → BMI_BOYS.zscore.yearly-7ec2f26b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-ddbaf261.js → BMI_GIRLS.percentile.monthly-2043a009.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d9827548.js → BMI_GIRLS.percentile.weekly-10661219.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-7396ea15.js → BMI_GIRLS.percentile.yearly-f1ba055f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-4f3a8e09.js → BMI_GIRLS.zscore.monthly-818d02de.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-dad4e8a1.js → BMI_GIRLS.zscore.weekly-ffa1becc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f2213908.js → BMI_GIRLS.zscore.yearly-248d1f00.js} +0 -0
- /package/build/{ChevronDown-4412251a.js → ChevronDown-a8f20798.js} +0 -0
- /package/build/{Close-1729d46e.js → Close-3dee5eb4.js} +0 -0
- /package/build/{Google-65bb4096.js → Google-d7b3fb6f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b5d1b24f.js → HEAD CIRCUM_BOYS.percentile.monthly-659fdd75.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0af315c5.js → HEAD CIRCUM_BOYS.percentile.weekly-b857c60a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d3fdee2b.js → HEAD CIRCUM_BOYS.percentile.yearly-455204fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e5ad87a0.js → HEAD CIRCUM_BOYS.zscore.monthly-20d49e4e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b80a348e.js → HEAD CIRCUM_BOYS.zscore.weekly-c71c1b67.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ab5e48ac.js → HEAD CIRCUM_BOYS.zscore.yearly-9d400bdf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-7da783b3.js → HEAD CIRCUM_GIRLS.percentile.monthly-25107f5d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9279f3c1.js → HEAD CIRCUM_GIRLS.percentile.weekly-d22b4ba9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-688419ba.js → HEAD CIRCUM_GIRLS.percentile.yearly-f81b47b8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-8aea0a6c.js → HEAD CIRCUM_GIRLS.zscore.monthly-9dac5192.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3af39f37.js → HEAD CIRCUM_GIRLS.zscore.weekly-2a4de654.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-02cf515c.js → HEAD CIRCUM_GIRLS.zscore.yearly-169cbe2e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-dec31f63.js → HEIGHT_BOYS.percentile.monthly-0dd808c8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-59b73ae7.js → HEIGHT_BOYS.percentile.weekly-5093ce73.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-936d256c.js → HEIGHT_BOYS.percentile.yearly-6bb333f9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-afd0da6b.js → HEIGHT_BOYS.zscore.monthly-63892e13.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-c7f65d12.js → HEIGHT_BOYS.zscore.weekly-5ffcba95.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-91df91ab.js → HEIGHT_BOYS.zscore.yearly-9c0c11d4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-5d6700c0.js → HEIGHT_GIRLS.percentile.monthly-53c268db.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-eb27d540.js → HEIGHT_GIRLS.percentile.weekly-54c3cfc8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1787953d.js → HEIGHT_GIRLS.percentile.yearly-e6a80d29.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-631dc0dc.js → HEIGHT_GIRLS.zscore.monthly-64e1c783.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-33174efb.js → HEIGHT_GIRLS.zscore.weekly-c850968a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-03d024e5.js → HEIGHT_GIRLS.zscore.yearly-36146fa2.js} +0 -0
- /package/build/{Locale-39ae7840.js → Locale-88496264.js} +0 -0
- /package/build/{Visible-022eb577.js → Visible-5d07546b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-02bab776.js → WEIGHT_BOYS.percentile.monthly-ea3e2766.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8de3b18f.js → WEIGHT_BOYS.percentile.weekly-a9a02d1f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-59b8a21b.js → WEIGHT_BOYS.percentile.yearly-a748d552.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-abb45faa.js → WEIGHT_BOYS.zscore.monthly-f85ca094.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b1398692.js → WEIGHT_BOYS.zscore.weekly-5c8b4958.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-dc2ecbad.js → WEIGHT_BOYS.zscore.yearly-ff5f37bb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-796acabf.js → WEIGHT_GIRLS.percentile.monthly-6b44cdbf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-82286158.js → WEIGHT_GIRLS.percentile.weekly-db014a3a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9004f8e1.js → WEIGHT_GIRLS.percentile.yearly-28d618d0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-43fb2af7.js → WEIGHT_GIRLS.zscore.monthly-a6572603.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-73c20eff.js → WEIGHT_GIRLS.zscore.weekly-6a50107a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c8b12eb7.js → WEIGHT_GIRLS.zscore.yearly-d3b1b039.js} +0 -0
- /package/build/{animation-6d005387.js → animation-70de288d.js} +0 -0
- /package/build/{constants-d191ad8f.js → constants-2a1dedfc.js} +0 -0
- /package/build/{constants-e5fcdc77.js → constants-a52d8bc7.js} +0 -0
- /package/build/{constants-c731fcca.js → constants-fd080c68.js} +0 -0
- /package/build/{dataTransform-b3e86aaa.js → dataTransform-60ff96e1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-2029980a.js → BMI_BOYS.percentile.monthly-f868265e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-83083435.js → BMI_BOYS.percentile.weekly-70165c6e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-9e0f81b7.js → BMI_BOYS.percentile.yearly-ea04f4ef.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-288d32e7.js → BMI_BOYS.zscore.monthly-c37b9ec4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-07d49851.js → BMI_BOYS.zscore.weekly-290b30dd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d5c63800.js → BMI_BOYS.zscore.yearly-28119ee2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0899ea2e.js → BMI_GIRLS.percentile.monthly-20315b0a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-aa7030ba.js → BMI_GIRLS.percentile.weekly-69bbfd7b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-eb0e2e75.js → BMI_GIRLS.percentile.yearly-68aa4e79.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-b8b72364.js → BMI_GIRLS.zscore.monthly-53760c29.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4b0793a4.js → BMI_GIRLS.zscore.weekly-05cc67da.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-62b2a4f4.js → BMI_GIRLS.zscore.yearly-5e31f5a5.js} +0 -0
- /package/build/esm/{ChevronDown-4a30760b.js → ChevronDown-f2b7c27e.js} +0 -0
- /package/build/esm/{Close-1e08c38e.js → Close-7a83967c.js} +0 -0
- /package/build/esm/{Google-d6b959f4.js → Google-99e06df8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-41a1d1af.js → HEAD CIRCUM_BOYS.percentile.monthly-55f8f39f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-0a035291.js → HEAD CIRCUM_BOYS.percentile.weekly-6343de83.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-5e7cba37.js → HEAD CIRCUM_BOYS.percentile.yearly-322bf824.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-af0b9582.js → HEAD CIRCUM_BOYS.zscore.monthly-d6e472c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6ad27029.js → HEAD CIRCUM_BOYS.zscore.weekly-c8166f4f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0fc6243d.js → HEAD CIRCUM_BOYS.zscore.yearly-c5bf924e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b31a2528.js → HEAD CIRCUM_GIRLS.percentile.monthly-b987eb52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1456ccbd.js → HEAD CIRCUM_GIRLS.percentile.weekly-1dfcdad2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f9a5918d.js → HEAD CIRCUM_GIRLS.percentile.yearly-baab7647.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d03c8f32.js → HEAD CIRCUM_GIRLS.zscore.monthly-354f642c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2f4dcbbf.js → HEAD CIRCUM_GIRLS.zscore.weekly-f1bf5aad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c591fee9.js → HEAD CIRCUM_GIRLS.zscore.yearly-f8413045.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-db47d700.js → HEIGHT_BOYS.percentile.monthly-89325647.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-470fb944.js → HEIGHT_BOYS.percentile.weekly-aaab57cb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3d8514ab.js → HEIGHT_BOYS.percentile.yearly-e177183d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ab3b9fef.js → HEIGHT_BOYS.zscore.monthly-a78c2e2a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0b05f06d.js → HEIGHT_BOYS.zscore.weekly-b68e6b79.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4f8b76da.js → HEIGHT_BOYS.zscore.yearly-31c6712a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8af8940f.js → HEIGHT_GIRLS.percentile.monthly-a6feb85a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-529b8d5a.js → HEIGHT_GIRLS.percentile.weekly-d24f3dd1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-e84ce42e.js → HEIGHT_GIRLS.percentile.yearly-9e60e51c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-fede56ae.js → HEIGHT_GIRLS.zscore.monthly-1cd29116.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fa4fd754.js → HEIGHT_GIRLS.zscore.weekly-a95b1607.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8d7487e8.js → HEIGHT_GIRLS.zscore.yearly-d1ee58dc.js} +0 -0
- /package/build/esm/{Locale-aac36404.js → Locale-e37edea6.js} +0 -0
- /package/build/esm/{Visible-cde62f3a.js → Visible-675fa92b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-16bb3787.js → WEIGHT_BOYS.percentile.monthly-abc23c30.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2c3bb779.js → WEIGHT_BOYS.percentile.weekly-6c756b20.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6269b827.js → WEIGHT_BOYS.percentile.yearly-3e772832.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4f5b7858.js → WEIGHT_BOYS.zscore.monthly-01cd4a9e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a58900df.js → WEIGHT_BOYS.zscore.weekly-da6a708e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8748b87b.js → WEIGHT_BOYS.zscore.yearly-e15e6eed.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a27979f0.js → WEIGHT_GIRLS.percentile.monthly-3d01ae32.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-7847582c.js → WEIGHT_GIRLS.percentile.weekly-558bddbf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8d35e5fe.js → WEIGHT_GIRLS.percentile.yearly-176576c3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-29cf9907.js → WEIGHT_GIRLS.zscore.monthly-f95a3ce4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e99a143f.js → WEIGHT_GIRLS.zscore.weekly-668444ba.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-139a7897.js → WEIGHT_GIRLS.zscore.yearly-218eb559.js} +0 -0
- /package/build/esm/{animation-fc83a703.js → animation-365cf7d0.js} +0 -0
- /package/build/esm/{constants-80fe9572.js → constants-4a3e6669.js} +0 -0
- /package/build/esm/{constants-f82bc91e.js → constants-5b713e5a.js} +0 -0
- /package/build/esm/{constants-4baf3c0c.js → constants-c6cbd6b8.js} +0 -0
- /package/build/esm/{dataTransform-205b11b3.js → dataTransform-72d9c084.js} +0 -0
- /package/build/esm/{index-1c6b51c7.js → index-1850d594.js} +0 -0
- /package/build/esm/{index-21068467.js → index-18c6be13.js} +0 -0
- /package/build/esm/{index-7818fff1.js → index-2bf5f78a.js} +0 -0
- /package/build/esm/{index-169d467f.js → index-2ce468ee.js} +0 -0
- /package/build/esm/{index-f284d46f.js → index-311edc1b.js} +0 -0
- /package/build/esm/{index-23f09ffa.js → index-a225ce93.js} +0 -0
- /package/build/esm/{index-dfd08f11.js → index-be290ad5.js} +0 -0
- /package/build/esm/{index-66f88b6a.js → index-e41e9e9c.js} +0 -0
- /package/build/esm/{index.styles-2f224e81.js → index.styles-2ae2bbf8.js} +0 -0
- /package/build/esm/lead/layouts/{emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/esm/{localizeNumberFormat-85ecc1f8.js → localizeNumberFormat-d59db151.js} +0 -0
- /package/build/esm/{normalizeLink-853b9bd8.js → normalizeLink-dc941d98.js} +0 -0
- /package/build/esm/{number-89fa98fa.js → number-3dbd5a3f.js} +0 -0
- /package/build/esm/{other-cf9902ef.js → other-cef0261a.js} +0 -0
- /package/build/esm/{paths-9f502f6d.js → paths-2bbcf72d.js} +0 -0
- /package/build/esm/{translationsContext-8a8a9484.js → translationsContext-f94ca99c.js} +0 -0
- /package/build/esm/{tslib.es6-0cb44555.js → tslib.es6-b97b9ccd.js} +0 -0
- /package/build/esm/{types-94ee7c0b.js → types-cb6a987c.js} +0 -0
- /package/build/esm/{useIsInit-ab55ceb2.js → useIsInit-2050867e.js} +0 -0
- /package/build/esm/{useOutsideClick-b76b3c83.js → useOutsideClick-4b5e00d9.js} +0 -0
- /package/build/esm/{useScrollbarSize-0dc22f46.js → useScrollbarSize-2d07896b.js} +0 -0
- /package/build/esm/{useUniqueId-cb108203.js → useUniqueId-0499a705.js} +0 -0
- /package/build/esm/{utils-a2e416ad.js → utils-1a4cbdae.js} +0 -0
- /package/build/{index-6f8b7b64.js → index-079d5fc4.js} +0 -0
- /package/build/{index-5cbe3960.js → index-533f3d32.js} +0 -0
- /package/build/{index-a617d947.js → index-93e10656.js} +0 -0
- /package/build/{index-2e94a876.js → index-ae2a1c0e.js} +0 -0
- /package/build/{index-c64e92d8.js → index-c4a9e670.js} +0 -0
- /package/build/{index-7de28bc7.js → index-f1064487.js} +0 -0
- /package/build/{index-94ffefc0.js → index-f65dc62b.js} +0 -0
- /package/build/{index-7aae420b.js → index-fd7ba516.js} +0 -0
- /package/build/{index.styles-89309e0c.js → index.styles-7e0b347b.js} +0 -0
- /package/build/lead/layouts/{emptyIcon.d.ts → emptyIcon.d.ts} +0 -0
- /package/build/{localizeNumberFormat-d704c91d.js → localizeNumberFormat-32defeda.js} +0 -0
- /package/build/{normalizeLink-65f625d1.js → normalizeLink-4f6bff54.js} +0 -0
- /package/build/{number-55619945.js → number-a3af3e32.js} +0 -0
- /package/build/{other-65b308f5.js → other-c84abbc7.js} +0 -0
- /package/build/{paths-1ad823da.js → paths-6cad97fb.js} +0 -0
- /package/build/{translationsContext-ae79a68c.js → translationsContext-778e8e71.js} +0 -0
- /package/build/{tslib.es6-3027863f.js → tslib.es6-7b54318f.js} +0 -0
- /package/build/{types-41305282.js → types-1897ec38.js} +0 -0
- /package/build/{useIsInit-f4a7ee08.js → useIsInit-291cefb0.js} +0 -0
- /package/build/{useOutsideClick-ba55d42b.js → useOutsideClick-34c2ff7b.js} +0 -0
- /package/build/{useScrollbarSize-55cccdd7.js → useScrollbarSize-1f0e2534.js} +0 -0
- /package/build/{useUniqueId-f787f1e0.js → useUniqueId-6ebe2cda.js} +0 -0
- /package/build/{utils-92829c83.js → utils-38a21716.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-b97b9ccd.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-1850d594.js';
|
|
5
|
+
import { u as useTranslations } from './index-f8dbf8e4.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { I as Input$1 } from './index-
|
|
9
|
-
import { useMantineTheme,
|
|
8
|
+
import { I as Input$1 } from './index-ed1b642a.js';
|
|
9
|
+
import { useMantineTheme, Switch, Popover } from '@mantine/core';
|
|
10
10
|
import '@mantine/dates';
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './useMantineLocale-
|
|
15
|
-
import { T as Text } from './index-
|
|
16
|
-
import { B as Button } from './index-
|
|
17
|
-
import './index.styles-
|
|
11
|
+
import './index-d722456d.js';
|
|
12
|
+
import './index-57001be3.js';
|
|
13
|
+
import './index-2bf5f78a.js';
|
|
14
|
+
import './useMantineLocale-738fc2b0.js';
|
|
15
|
+
import { T as Text } from './index-5c0e8412.js';
|
|
16
|
+
import { B as Button } from './index-966f3431.js';
|
|
17
|
+
import './index.styles-2ae2bbf8.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import './other-
|
|
21
|
-
import './index-
|
|
22
|
-
import { u as useImagePicker, a as PopupFrame, c as IconCloseCircle, g as getDefaultFailNoti, d as getPostFormData, e as editPost, f as createPost } from './index-
|
|
23
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-
|
|
19
|
+
import { M as MediaQueries } from './utils-1a4cbdae.js';
|
|
20
|
+
import './other-cef0261a.js';
|
|
21
|
+
import './index-6a7dde31.js';
|
|
22
|
+
import { u as useImagePicker, a as PopupFrame, c as IconCloseCircle, g as getDefaultFailNoti, d as getPostFormData, e as editPost, f as createPost } from './index-27e47866.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-c0714c25.js';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
|
-
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-
|
|
26
|
-
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-
|
|
27
|
-
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-
|
|
28
|
-
import { C as CardAuthor } from './index-
|
|
29
|
-
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-
|
|
30
|
-
import { I as Input } from './index-
|
|
25
|
+
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-851fe21a.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-5b713e5a.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-4cdb64fd.js';
|
|
28
|
+
import { C as CardAuthor } from './index-bc1a843d.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-dc662240.js';
|
|
30
|
+
import { I as Input } from './index-0056050c.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-713619a6.js';
|
|
35
|
+
import { C as CardLink } from './index-77dab0fe.js';
|
|
36
|
+
import { B as BtnChoice } from './index-837d93d2.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-e37edea6.js';
|
|
38
38
|
import * as ReactDOM from 'react-dom';
|
|
39
|
-
import { L as Loading$1 } from './index-
|
|
40
|
-
import { b as IconArrowLeft } from './index-
|
|
41
|
-
import { B as Button$1 } from './index-
|
|
39
|
+
import { L as Loading$1 } from './index-304b48b8.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-a31be151.js';
|
|
41
|
+
import { B as Button$1 } from './index-f9473851.js';
|
|
42
42
|
import { getCookie } from './miscCookieHelper.js';
|
|
43
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
44
|
-
import { U as UserAvatar } from './index-
|
|
45
|
-
import { P as PopoverMenu } from './index-
|
|
43
|
+
import { a as useUniqueId } from './useUniqueId-0499a705.js';
|
|
44
|
+
import { U as UserAvatar } from './index-af7a0b48.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-ec274641.js';
|
|
46
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
47
47
|
|
|
48
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1358,11 +1358,6 @@ const CreateNewPostContent = ({ className, style, onPostCreatedEdited, onClose,
|
|
|
1358
1358
|
}), disabled: !isReadyToSubmit, loading: isSubmitting }, t('createPost.popup.submit'))))));
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
|
-
function toBoolean(str) {
|
|
1362
|
-
const strFormat = str.toLowerCase();
|
|
1363
|
-
return strFormat === 'true' || strFormat === '1' || strFormat === 'yes';
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
1361
|
const StyleContainer$2 = styled.div ``;
|
|
1367
1362
|
const StyleContentWrapper$1 = styled.div `
|
|
1368
1363
|
display: flex;
|
|
@@ -3030,7 +3025,8 @@ const StyledIsQuestion = styled.div `
|
|
|
3030
3025
|
width: 100%;
|
|
3031
3026
|
align-items: center;
|
|
3032
3027
|
justify-content: space-between;
|
|
3033
|
-
|
|
3028
|
+
padding: 12px;
|
|
3029
|
+
border-radius: 0 0 8px 8px;
|
|
3034
3030
|
background: ${theme.colors.neutral50};
|
|
3035
3031
|
gap: 12px;
|
|
3036
3032
|
|
|
@@ -3225,13 +3221,10 @@ const StyleSessionRow = styled.div `
|
|
|
3225
3221
|
}
|
|
3226
3222
|
`;
|
|
3227
3223
|
const StyledIsQuestionWrapper = styled.div `
|
|
3228
|
-
padding:
|
|
3224
|
+
padding: 8px 8px;
|
|
3225
|
+
border: 1px solid ${theme.colors.gray200};
|
|
3229
3226
|
border-top: none;
|
|
3230
|
-
border-radius:
|
|
3231
|
-
background: ${theme.colors.neutral50};
|
|
3232
|
-
display: flex;
|
|
3233
|
-
flex-direction: column;
|
|
3234
|
-
gap: 8px;
|
|
3227
|
+
border-radius: 0 0 8px 8px;
|
|
3235
3228
|
&.has-error {
|
|
3236
3229
|
border: 1px solid ${theme.colors.red600};
|
|
3237
3230
|
}
|
|
@@ -3261,85 +3254,6 @@ const StyleActionFooter = styled.div `
|
|
|
3261
3254
|
.input-group {
|
|
3262
3255
|
margin-bottom: 0 !important;
|
|
3263
3256
|
}
|
|
3264
|
-
`;
|
|
3265
|
-
const StyledQuestionWrapperContainer = styled.div `
|
|
3266
|
-
padding: 8px 8px;
|
|
3267
|
-
border: 1px solid ${theme.colors.gray200};
|
|
3268
|
-
border-top: none;
|
|
3269
|
-
border-radius: 0 0 8px 8px;
|
|
3270
|
-
&.has-error {
|
|
3271
|
-
border: 1px solid ${theme.colors.red600};
|
|
3272
|
-
}
|
|
3273
|
-
&.error-description {
|
|
3274
|
-
border: 1px solid ${theme.colors.red600};
|
|
3275
|
-
border-top: none;
|
|
3276
|
-
}
|
|
3277
|
-
.error-choice-question {
|
|
3278
|
-
color: ${theme.colors.red600};
|
|
3279
|
-
font-size: 12px;
|
|
3280
|
-
font-weight: 400;
|
|
3281
|
-
line-height: 22px;
|
|
3282
|
-
letter-spacing: -0.2px;
|
|
3283
|
-
}
|
|
3284
|
-
`;
|
|
3285
|
-
const StyleSwitchButton = styled(SegmentedControl) `
|
|
3286
|
-
gap: 8px;
|
|
3287
|
-
&.mantine-SegmentedControl-root {
|
|
3288
|
-
background-color: transparent;
|
|
3289
|
-
padding: 0px;
|
|
3290
|
-
}
|
|
3291
|
-
.mantine-SegmentedControl-indicator {
|
|
3292
|
-
display: none;
|
|
3293
|
-
}
|
|
3294
|
-
.mantine-SegmentedControl-label {
|
|
3295
|
-
margin-bottom: 0px !important;
|
|
3296
|
-
display: flex;
|
|
3297
|
-
padding: 5px 12px;
|
|
3298
|
-
justify-content: center;
|
|
3299
|
-
align-items: center;
|
|
3300
|
-
gap: 8px;
|
|
3301
|
-
height: 32px;
|
|
3302
|
-
border: 1px solid ${theme.colors.neutral100};
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
|
-
.mantine-SegmentedControl-control {
|
|
3306
|
-
color: ${theme.colors.gray800};
|
|
3307
|
-
font-size: 14px;
|
|
3308
|
-
font-style: normal;
|
|
3309
|
-
font-weight: 600;
|
|
3310
|
-
line-height: 22px;
|
|
3311
|
-
border-radius: 8px;
|
|
3312
|
-
background: ${theme.colors.white};
|
|
3313
|
-
border-width: 0 !important;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
.mantine-SegmentedControl-controlActive {
|
|
3317
|
-
border-radius: 8px;
|
|
3318
|
-
background: ${theme.colors.blue50};
|
|
3319
|
-
|
|
3320
|
-
.mantine-SegmentedControl-label {
|
|
3321
|
-
color: ${theme.colors.primaryBase};
|
|
3322
|
-
border: 1px solid ${theme.colors.blue50};
|
|
3323
|
-
}
|
|
3324
|
-
}
|
|
3325
|
-
|
|
3326
|
-
&.segmented-marry-baby {
|
|
3327
|
-
.mantine-SegmentedControl-control {
|
|
3328
|
-
border-radius: 16px;
|
|
3329
|
-
}
|
|
3330
|
-
.mantine-SegmentedControl-label {
|
|
3331
|
-
border-radius: 16px;
|
|
3332
|
-
}
|
|
3333
|
-
.mantine-SegmentedControl-controlActive {
|
|
3334
|
-
border-radius: 16px;
|
|
3335
|
-
background: ${theme.colors.pink500};
|
|
3336
|
-
|
|
3337
|
-
.mantine-SegmentedControl-label {
|
|
3338
|
-
color: ${theme.colors.white};
|
|
3339
|
-
border: 1px solid ${theme.colors.pink500};
|
|
3340
|
-
}
|
|
3341
|
-
}
|
|
3342
|
-
}
|
|
3343
3257
|
`;
|
|
3344
3258
|
|
|
3345
3259
|
const CreatePostPhotos = ({ imageFiles: imageFilesInit, setImageFiles, }) => {
|
|
@@ -3510,10 +3424,12 @@ const applySpecialCharSite = [
|
|
|
3510
3424
|
];
|
|
3511
3425
|
const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
|
|
3512
3426
|
const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
|
|
3513
|
-
const { data: { locale
|
|
3427
|
+
const { data: { locale,
|
|
3428
|
+
// env: { togetherBasePath },
|
|
3429
|
+
}, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
|
|
3514
3430
|
const { t } = useTranslations();
|
|
3515
3431
|
const containerRef = useRef(null);
|
|
3516
|
-
const [isAskDoctor, setIsAskDoctor] = useState(
|
|
3432
|
+
const [isAskDoctor, setIsAskDoctor] = useState(false);
|
|
3517
3433
|
const [specialCharErr, setspecialCharErr] = useState(false);
|
|
3518
3434
|
const [titleValue, setTitleValue] = useState('');
|
|
3519
3435
|
const [descriptionValue, setDescriptionValue] = useState('');
|
|
@@ -3538,7 +3454,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3538
3454
|
const [stepPost, setStepPost] = useState('step_info');
|
|
3539
3455
|
const [isLoadingSuggest, setIsLoadingSuggest] = useState(false);
|
|
3540
3456
|
const [uncategorizedId, setUncategorizedId] = useState('');
|
|
3541
|
-
const [isLoadingSubmit, setIsLoadingSubmit] = useState(false);
|
|
3542
3457
|
const postActionType = [
|
|
3543
3458
|
{
|
|
3544
3459
|
label: t('cardPost.public'),
|
|
@@ -3561,11 +3476,18 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3561
3476
|
} })),
|
|
3562
3477
|
},
|
|
3563
3478
|
];
|
|
3479
|
+
// const currentCommunity = useMemo(() => {
|
|
3480
|
+
// if (!communityValue.value) return null
|
|
3481
|
+
// const result = communitiesList.find(
|
|
3482
|
+
// (item) => String(item.id) === String(communityValue.value),
|
|
3483
|
+
// )
|
|
3484
|
+
// if (!result) return null
|
|
3485
|
+
// return result
|
|
3486
|
+
// }, [communityValue, communitiesList])
|
|
3564
3487
|
const currentCommunity = forceSelectCommunity ||
|
|
3565
3488
|
communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
|
|
3566
3489
|
// HANDLE etra action when OPEN AND CLOSE
|
|
3567
3490
|
useEffect(() => {
|
|
3568
|
-
var _a;
|
|
3569
3491
|
if (editPostData) {
|
|
3570
3492
|
const post = editPostData;
|
|
3571
3493
|
setTitleValue(post.title || '');
|
|
@@ -3574,8 +3496,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3574
3496
|
label: post.community.name,
|
|
3575
3497
|
value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
|
|
3576
3498
|
});
|
|
3499
|
+
// setSelectedTopics(post.topics || [])
|
|
3577
3500
|
setImageFiles(post.photos || []);
|
|
3578
|
-
setIsAskDoctor(
|
|
3501
|
+
setIsAskDoctor(!!post.isAskDoctor || false);
|
|
3579
3502
|
}
|
|
3580
3503
|
else {
|
|
3581
3504
|
if (defaultCommunity) {
|
|
@@ -3584,6 +3507,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3584
3507
|
value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
|
|
3585
3508
|
});
|
|
3586
3509
|
}
|
|
3510
|
+
// if (defaultTopics) {
|
|
3511
|
+
// setSelectedTopics(defaultTopics)
|
|
3512
|
+
// }
|
|
3587
3513
|
}
|
|
3588
3514
|
}, []);
|
|
3589
3515
|
useEffect(() => {
|
|
@@ -3667,10 +3593,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3667
3593
|
});
|
|
3668
3594
|
hasError = true;
|
|
3669
3595
|
}
|
|
3670
|
-
if (!isAskDoctor) {
|
|
3671
|
-
errorMessage.askDoctor = t('createPost.message.askDoctor');
|
|
3672
|
-
hasError = true;
|
|
3673
|
-
}
|
|
3674
3596
|
if (imageFiles && imageFiles.length > 10) {
|
|
3675
3597
|
errorMessage.photos = t('createPost.message.photoMaxium');
|
|
3676
3598
|
hasError = true;
|
|
@@ -3711,92 +3633,94 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3711
3633
|
console.log(topicsList);
|
|
3712
3634
|
const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3713
3635
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3636
|
+
const isError = validationPost();
|
|
3637
|
+
if (isError)
|
|
3638
|
+
return;
|
|
3639
|
+
const bodyFormData = yield getPostFormData({
|
|
3640
|
+
title: titleValue,
|
|
3641
|
+
description: descriptionValue,
|
|
3642
|
+
communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
|
|
3643
|
+
imageFiles,
|
|
3644
|
+
previewUrl,
|
|
3645
|
+
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3646
|
+
locale,
|
|
3647
|
+
sanitizeFunction,
|
|
3648
|
+
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3649
|
+
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3650
|
+
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3651
|
+
isAskDoctor: isAskDoctor ? 1 : 0,
|
|
3652
|
+
introUrl: '',
|
|
3653
|
+
});
|
|
3654
|
+
if (articleId) {
|
|
3655
|
+
bodyFormData.append('article_id', articleId);
|
|
3656
|
+
}
|
|
3657
|
+
console.log(uncategorized);
|
|
3658
|
+
let res;
|
|
3659
|
+
if (isInEditMode) {
|
|
3660
|
+
if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
|
|
3661
|
+
res = yield editPost({
|
|
3662
|
+
id: editPostData.id,
|
|
3663
|
+
formData: bodyFormData,
|
|
3664
|
+
locale,
|
|
3665
|
+
});
|
|
3719
3666
|
}
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
imageFiles,
|
|
3725
|
-
previewUrl,
|
|
3726
|
-
topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
|
|
3667
|
+
}
|
|
3668
|
+
else {
|
|
3669
|
+
res = yield createPost({
|
|
3670
|
+
formData: bodyFormData,
|
|
3727
3671
|
locale,
|
|
3728
|
-
|
|
3729
|
-
categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
|
|
3730
|
-
categoryTopicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String((topic === null || topic === void 0 ? void 0 : topic.mappedCategoryId) || '')).filter(Boolean),
|
|
3731
|
-
isAnonymous: (postActionValue === null || postActionValue === void 0 ? void 0 : postActionValue.value) === 'anonymous' ? 1 : 0,
|
|
3732
|
-
isAskDoctor: toBoolean(isAskDoctor) ? 1 : 0,
|
|
3733
|
-
introUrl: '',
|
|
3672
|
+
isArticleComment: true,
|
|
3734
3673
|
});
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3674
|
+
}
|
|
3675
|
+
const resData = res === null || res === void 0 ? void 0 : res.data;
|
|
3676
|
+
if ((resData === null || resData === void 0 ? void 0 : resData.id) && !((_b = (_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.moderation) === null || _b === void 0 ? void 0 : _b.type)) {
|
|
3677
|
+
// const params = `action=${
|
|
3678
|
+
// editPostData ? 'editPost' : 'createPost'
|
|
3679
|
+
// }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
|
|
3680
|
+
// const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
|
|
3681
|
+
// resData?.community?.slug
|
|
3682
|
+
// }/${resData?.slug}/?${params}`
|
|
3683
|
+
// window.location.href = postHref
|
|
3684
|
+
pushNotifications({
|
|
3685
|
+
message: isInEditMode
|
|
3686
|
+
? t('updatePost.popup.success')
|
|
3687
|
+
: t('createPost.popup.success'),
|
|
3688
|
+
type: 'success',
|
|
3689
|
+
});
|
|
3690
|
+
onCreateEditSuccess(resData);
|
|
3691
|
+
}
|
|
3692
|
+
else {
|
|
3693
|
+
if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
|
|
3694
|
+
pushNotifications({
|
|
3695
|
+
title: t('notification.post.blocked.title'),
|
|
3696
|
+
message: t('notification.post.blocked.message'),
|
|
3697
|
+
type: 'danger',
|
|
3698
|
+
});
|
|
3699
|
+
if (res.messages.moderation.words) {
|
|
3700
|
+
setBannedWords(res.messages.moderation.words);
|
|
3747
3701
|
}
|
|
3748
3702
|
}
|
|
3749
|
-
else {
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3703
|
+
else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
|
|
3704
|
+
pushNotifications({
|
|
3705
|
+
title: t('notification.post.suspect.title'),
|
|
3706
|
+
message: t('notification.post.suspect.message'),
|
|
3707
|
+
type: 'warning',
|
|
3754
3708
|
});
|
|
3709
|
+
onClose && onClose();
|
|
3755
3710
|
}
|
|
3756
|
-
|
|
3757
|
-
if ((resData === null || resData === void 0 ? void 0 : resData.id) && !((_b = (_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.moderation) === null || _b === void 0 ? void 0 : _b.type)) {
|
|
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')); })) {
|
|
3758
3712
|
pushNotifications({
|
|
3759
|
-
message:
|
|
3760
|
-
|
|
3761
|
-
: t('createPost.popup.success'),
|
|
3762
|
-
type: 'success',
|
|
3713
|
+
message: t('notification.suspend.message'),
|
|
3714
|
+
type: 'danger',
|
|
3763
3715
|
});
|
|
3764
|
-
|
|
3716
|
+
onClose && onClose();
|
|
3765
3717
|
}
|
|
3766
3718
|
else {
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
type: 'danger',
|
|
3772
|
-
});
|
|
3773
|
-
if (res.messages.moderation.words) {
|
|
3774
|
-
setBannedWords(res.messages.moderation.words);
|
|
3775
|
-
}
|
|
3776
|
-
}
|
|
3777
|
-
else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
|
|
3778
|
-
pushNotifications({
|
|
3779
|
-
title: t('notification.post.suspect.title'),
|
|
3780
|
-
message: t('notification.post.suspect.message'),
|
|
3781
|
-
type: 'warning',
|
|
3782
|
-
});
|
|
3783
|
-
onClose && onClose();
|
|
3784
|
-
}
|
|
3785
|
-
else if ((_h = (_g = res === null || res === void 0 ? void 0 : res.messages) === null || _g === void 0 ? void 0 : _g.find) === null || _h === void 0 ? void 0 : _h.call(_g, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
|
|
3786
|
-
pushNotifications({
|
|
3787
|
-
message: t('notification.suspend.message'),
|
|
3788
|
-
type: 'danger',
|
|
3789
|
-
});
|
|
3790
|
-
onClose && onClose();
|
|
3791
|
-
}
|
|
3792
|
-
else {
|
|
3793
|
-
pushNotifications({
|
|
3794
|
-
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3795
|
-
type: 'danger',
|
|
3796
|
-
});
|
|
3797
|
-
}
|
|
3719
|
+
pushNotifications({
|
|
3720
|
+
message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
|
|
3721
|
+
type: 'danger',
|
|
3722
|
+
});
|
|
3798
3723
|
}
|
|
3799
|
-
setIsLoadingSubmit(false);
|
|
3800
3724
|
}
|
|
3801
3725
|
});
|
|
3802
3726
|
const getFirstOrderErroKey = (orderKey) => {
|
|
@@ -3833,7 +3757,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3833
3757
|
return;
|
|
3834
3758
|
}
|
|
3835
3759
|
submitPost();
|
|
3836
|
-
// TODO: Current hard to keep AI suggest community
|
|
3837
3760
|
if (stepPost)
|
|
3838
3761
|
return;
|
|
3839
3762
|
if (isInEditMode) {
|
|
@@ -3934,39 +3857,28 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3934
3857
|
zIndex: 10,
|
|
3935
3858
|
width: 'calc(100% + 20px)',
|
|
3936
3859
|
} })))),
|
|
3937
|
-
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder:
|
|
3860
|
+
React__default.createElement(CreatePostTitle, { className: "input-group", bannedWords: bannedWords, value: titleValue, error: error, placeholder: isAskDoctor
|
|
3938
3861
|
? t('createPost.post.askDoctor.title')
|
|
3939
3862
|
: t('createPost.post.title'), onChange: setTitleValue }),
|
|
3940
3863
|
specialCharErr && (React__default.createElement(StyledError, null,
|
|
3941
3864
|
React__default.createElement(Info, { isSolid: true, color: theme.colors.red700, size: 14 }),
|
|
3942
3865
|
React__default.createElement(Text, { size: "p3", as: "span", color: theme.colors.red700 }, t('createPost.popup.specialCharErr')))),
|
|
3943
3866
|
React__default.createElement("div", { className: "input-group" },
|
|
3944
|
-
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder:
|
|
3867
|
+
React__default.createElement(CreatePostDescription, { bannedWords: bannedWords, value: descriptionValue, placeholder: isAskDoctor
|
|
3945
3868
|
? t('createPost.post.askDoctor.description')
|
|
3946
3869
|
: t('createPost.post.description'), onChange: (v) => {
|
|
3947
3870
|
setDescriptionValue(v);
|
|
3948
3871
|
removeKeyError('description');
|
|
3949
3872
|
}, onPreviewUrlChange: setPreviewUrl, onInvalidUrlsChange: setInvalidUrls, onImageFilesChange: setImageFiles, imageFiles: imageFiles, className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}`, footerEditor: React__default.createElement(React__default.Fragment, null,
|
|
3950
|
-
React__default.createElement(
|
|
3951
|
-
React__default.createElement(
|
|
3952
|
-
React__default.createElement(
|
|
3953
|
-
React__default.createElement(
|
|
3954
|
-
|
|
3955
|
-
React__default.createElement("div", { className: "
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
}, className: isMarryBaby ? 'segmented-marry-baby' : '', data: [
|
|
3960
|
-
{
|
|
3961
|
-
label: t('createPost.askDoctorChoice.yes'),
|
|
3962
|
-
value: 'true',
|
|
3963
|
-
},
|
|
3964
|
-
{
|
|
3965
|
-
label: t('createPost.askDoctorChoice.no'),
|
|
3966
|
-
value: 'false',
|
|
3967
|
-
},
|
|
3968
|
-
] })),
|
|
3969
|
-
error && (error === null || error === void 0 ? void 0 : error.askDoctor) && (React__default.createElement("div", { className: "error-choice-question" }, error.askDoctor)))),
|
|
3873
|
+
React__default.createElement(StyledIsQuestionWrapper, { className: `${error && (error === null || error === void 0 ? void 0 : error.description) ? 'error-description' : ''}` },
|
|
3874
|
+
React__default.createElement(StyledIsQuestion, { color: theme.colors.primaryBase },
|
|
3875
|
+
React__default.createElement("div", { className: "switch-label" },
|
|
3876
|
+
React__default.createElement(Ask, { isMarryBaby: isMarryBaby, size: isMarryBaby ? 32 : 24, color: theme.colors.primaryBase, className: "label-icon" }),
|
|
3877
|
+
React__default.createElement("div", { className: "wrapper-text" },
|
|
3878
|
+
React__default.createElement("div", { className: "label-txt" }, t('createPost.askDoctor.description')))),
|
|
3879
|
+
React__default.createElement(Switch, { checked: isAskDoctor, label: "", className: "switch-btn", size: "md", onChange: (v) => {
|
|
3880
|
+
setIsAskDoctor(v.target.checked);
|
|
3881
|
+
} }))),
|
|
3970
3882
|
error && (error === null || error === void 0 ? void 0 : error.description) && (React__default.createElement(StyledError, { style: { margin: '4px 0 0' } },
|
|
3971
3883
|
React__default.createElement(Text, { size: "p5", as: "span", color: theme.colors.red600 }, error.description)))) })),
|
|
3972
3884
|
stepPost === 'step_community' && (React__default.createElement(CreatePostCommunity, { communitiesList: communitiesList, currentCommunity: currentCommunity, selectedTopics: selectedTopics, communityValue: communityValue, defaultCommunity: forceSelectCommunity, error: error, isFullscreen: false, isMarryBaby: isMarryBaby, isInEditMode: isInEditMode, isLoadingSuggest: isLoadingSuggest, setSelectedTopics: setSelectedTopics, setCommunityValue: setCommunityValue, removeKeyError: removeKeyError, setStepPost: setStepPost, onSubmitPost: submitPost })),
|
|
@@ -3977,7 +3889,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
|
|
|
3977
3889
|
validationUploadPhoto(data);
|
|
3978
3890
|
} }),
|
|
3979
3891
|
React__default.createElement("div", { className: "action-wrapper" },
|
|
3980
|
-
React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest
|
|
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'))))));
|
|
3981
3897
|
};
|
|
3982
3898
|
|
|
3983
3899
|
const StyledTopicSelectList = styled.div `
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-b97b9ccd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-ed1b642a.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text$1 } from './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import './index-d722456d.js';
|
|
7
|
+
import './index-57001be3.js';
|
|
8
|
+
import './index-2bf5f78a.js';
|
|
9
|
+
import './useMantineLocale-738fc2b0.js';
|
|
10
|
+
import { T as Text$1 } from './index-5c0e8412.js';
|
|
11
|
+
import './index-966f3431.js';
|
|
12
|
+
import './index.styles-2ae2bbf8.js';
|
|
13
|
+
import './translationsContext-f94ca99c.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
15
|
+
import './utils-1a4cbdae.js';
|
|
16
|
+
import './other-cef0261a.js';
|
|
17
|
+
import './index-6a7dde31.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine'
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-b97b9ccd.js';
|
|
2
2
|
import React__default, { createContext, useContext, useRef, useMemo, useState, useEffect } from 'react';
|
|
3
3
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
4
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { H as HEALTH_TOOL_TYPE } from './constants-
|
|
8
|
-
import { G as GenderOptionControl } from './index-
|
|
9
|
-
import { I as Input, S as Select } from './index-
|
|
10
|
-
import { D as DatePicker } from './index-
|
|
4
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-6ea42c9e.js';
|
|
5
|
+
import { u as useTranslations } from './index-f8dbf8e4.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-2bf5f78a.js';
|
|
7
|
+
import { H as HEALTH_TOOL_TYPE } from './constants-5b713e5a.js';
|
|
8
|
+
import { G as GenderOptionControl } from './index-2021b3c1.js';
|
|
9
|
+
import { I as Input, S as Select } from './index-ed1b642a.js';
|
|
10
|
+
import { D as DatePicker } from './index-de4ba53a.js';
|
|
11
11
|
import '@mantine/core';
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index.styles-
|
|
12
|
+
import './index-5c0e8412.js';
|
|
13
|
+
import './index-966f3431.js';
|
|
14
|
+
import './index.styles-2ae2bbf8.js';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import './useMantineLocale-
|
|
17
|
-
import './index-
|
|
18
|
-
import './utils-
|
|
19
|
-
import './index-
|
|
20
|
-
import './other-
|
|
21
|
-
import './index-
|
|
22
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
16
|
+
import './useMantineLocale-738fc2b0.js';
|
|
17
|
+
import './index-57001be3.js';
|
|
18
|
+
import './utils-1a4cbdae.js';
|
|
19
|
+
import './index-d722456d.js';
|
|
20
|
+
import './other-cef0261a.js';
|
|
21
|
+
import './index-6a7dde31.js';
|
|
22
|
+
import { H as HealthToolFormWrapper } from './index-c9060602.js';
|
|
23
23
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
24
24
|
|
|
25
25
|
const ThrFormContext = createContext({});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useTranslations } from './index-
|
|
3
|
-
import { B as Button } from './index-
|
|
2
|
+
import { u as useTranslations } from './index-f8dbf8e4.js';
|
|
3
|
+
import { B as Button } from './index-f9473851.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"PD6nRZX"};
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-b97b9ccd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { theme } from './miscTheme.js';
|
|
4
|
-
import { W as WhatsApp, I as Instagram } from './WhatsApp-
|
|
5
|
-
import { S as Spinner } from './Spinner-
|
|
4
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-12d95fb8.js';
|
|
5
|
+
import { S as Spinner } from './Spinner-79a88fe7.js';
|
|
6
6
|
|
|
7
7
|
const App = (_a) => {
|
|
8
8
|
var { size = 24 } = _a, rest = __rest(_a, ["size"]);
|