@hhgtech/hhg-components 1.29.60 → 1.29.62
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/{Instagram-9de2b320.js → Instagram-a10cd9c6.js} +1 -1
- package/build/{WhatsApp-88149661.js → WhatsApp-8ff330e4.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +80 -80
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components/babyGrowth/babyGrowthForm/layout/mbLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/components/borderBoxControl/index.d.ts +3 -2
- package/build/components/molecules/healthTools/components/borderInlineControl/index.d.ts +2 -1
- package/build/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/conceptionForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/ivfForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/lastPeriodForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +0 -4
- package/build/components.js +57 -57
- package/build/{constants-1c3bb3f1.js → constants-a454b425.js} +2 -2
- package/build/{constants-3f2e37c5.js → constants-a60921cb.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-aeda52c5.js → core-ebaf0628.js} +2 -2
- package/build/{dataTransform-c6831631.js → dataTransform-a52f020f.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-1922d328.js → Instagram-ccfb450e.js} +1 -1
- package/build/esm/{WhatsApp-8f4e1273.js → WhatsApp-8f50e1bf.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +81 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/mbLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.d.ts +3 -2
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.d.ts +2 -1
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/conceptionForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/ivfForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/lastPeriodForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +0 -4
- package/build/esm/components.js +57 -57
- package/build/esm/{constants-481fa3fd.js → constants-8898d04d.js} +2 -2
- package/build/esm/{constants-53e3d96f.js → constants-b9e6440f.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-2385c4fc.js → core-a346e8ff.js} +2 -2
- package/build/esm/{dataTransform-fc70edf0.js → dataTransform-6a77d1fc.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-15684929.js → getDynamicHealthTool-1ec56ae5.js} +6 -5
- package/build/esm/{getSocialList-7db45ce3.js → getSocialList-05454009.js} +5 -5
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n-values/en-PH.js +4 -4
- package/build/esm/i18n-values/hi-IN.js +4 -4
- package/build/esm/i18n-values/id-ID.js +4 -4
- package/build/esm/i18n-values/km-KH.js +4 -4
- package/build/esm/i18n-values/ms-MY.js +4 -4
- package/build/esm/i18n-values/my-MM.js +3 -3
- package/build/esm/i18n-values/th-TH.js +4 -4
- package/build/esm/i18n-values/tl-PH.js +4 -4
- package/build/esm/i18n-values/vi-VN.js +4 -4
- package/build/esm/i18n-values/vi-VN_MB.js +4 -4
- package/build/esm/i18n-values/zh-TW.js +3 -3
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-cbeb902c.js → index-0a713283.js} +144 -115
- package/build/esm/{index-a0706e5b.js → index-119e1858.js} +32 -32
- package/build/esm/{index-eebba4f5.js → index-16c00591.js} +6 -6
- package/build/esm/{index-897ac483.js → index-1feede96.js} +2 -2
- package/build/esm/{index-bffc209e.js → index-2976962f.js} +9 -9
- package/build/esm/{index-fb8c9868.js → index-320c91f7.js} +1 -1
- package/build/esm/{index-343af1dd.js → index-39726256.js} +3 -3
- package/build/esm/{index-0477dcdd.js → index-465a013b.js} +12 -12
- package/build/esm/{index-83f04e6e.js → index-4dd17fe7.js} +2 -2
- package/build/esm/{index-a3553513.js → index-531034de.js} +4 -4
- package/build/esm/{index-2fe3b3d2.js → index-62383856.js} +2 -2
- package/build/esm/{index-f7b29b60.js → index-777e605e.js} +2 -2
- package/build/esm/{index-e730ead1.js → index-93f7fdcd.js} +2 -2
- package/build/esm/{index-816eef04.js → index-9ea4b5e6.js} +4 -4
- package/build/esm/{index-b1e51929.js → index-a356ee67.js} +2 -2
- package/build/esm/{index-db74d952.js → index-aac1eed0.js} +9 -9
- package/build/esm/{index-6cacb059.js → index-b7a0f534.js} +5 -5
- package/build/esm/{index-c56fef78.js → index-baa2cf87.js} +2 -2
- package/build/esm/{index-0f2446db.js → index-c1d4e8aa.js} +10 -10
- package/build/esm/{index-e0423b48.js → index-d923e380.js} +2 -2
- package/build/esm/{index-71c590d2.js → index-de0eebee.js} +2 -2
- package/build/esm/{index-d35732f2.js → index-e67ef62d.js} +122 -35
- package/build/esm/{index-4700cd16.js → index-faa709ae.js} +6 -6
- package/build/esm/{index-c45cbe2f.js → index-ffdc32d1.js} +11 -11
- package/build/esm/index.js +65 -65
- package/build/esm/{index.styled-2eda9d30.js → index.styled-fabb3b23.js} +2 -2
- package/build/esm/{index.styles-c8e35bfb.js → index.styles-2a161512.js} +6 -6
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +20 -20
- package/build/esm/misc.js +20 -20
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +32 -32
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-cbc174af.js → routing-a8a01f2f.js} +2 -2
- package/build/esm/subot.js +23 -23
- package/build/esm/together.js +35 -35
- package/build/esm/{types-940c63a8.js → types-83e67d91.js} +30 -30
- package/build/esm/{types-1a5f1ea6.js → types-d5fb3a13.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-5a83595f.js → useCategory-60c73fbc.js} +5 -5
- package/build/esm/{useHealthToolCache-89915ad0.js → useHealthToolCache-3e27635b.js} +2 -2
- package/build/esm/{useMantineLocale-2e2635e1.js → useMantineLocale-ce44cbda.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-4cddba1e.js → usePlacesAutocomplete-55876d5a.js} +1 -1
- package/build/esm/{useTranslations-e7062948.js → useTranslations-cf6fd3e4.js} +1 -1
- package/build/esm/{utils-d302e7ee.js → utils-4a086f15.js} +5 -5
- package/build/esm/{utils-9e8cc483.js → utils-a7becf5a.js} +1 -1
- package/build/esm/{utils-b6d720f7.js → utils-b54f5c81.js} +4 -4
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-4f8233b9.js → getDynamicHealthTool-390c6c88.js} +6 -5
- package/build/{getSocialList-b56e3b81.js → getSocialList-4bd2da4c.js} +5 -5
- package/build/hooks.js +17 -17
- package/build/i18n-values/en-PH.js +4 -4
- package/build/i18n-values/hi-IN.js +4 -4
- package/build/i18n-values/id-ID.js +4 -4
- package/build/i18n-values/km-KH.js +4 -4
- package/build/i18n-values/ms-MY.js +4 -4
- package/build/i18n-values/my-MM.js +3 -3
- package/build/i18n-values/th-TH.js +4 -4
- package/build/i18n-values/tl-PH.js +4 -4
- package/build/i18n-values/vi-VN.js +4 -4
- package/build/i18n-values/vi-VN_MB.js +4 -4
- package/build/i18n-values/zh-TW.js +3 -3
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-22fb6138.js → index-1af5bfb4.js} +2 -2
- package/build/{index-22e76993.js → index-279088f6.js} +6 -6
- package/build/{index-883bd5f0.js → index-2b51fc78.js} +2 -2
- package/build/{index-544e7847.js → index-2b64835e.js} +9 -9
- package/build/{index-9dab6935.js → index-306bea55.js} +2 -2
- package/build/{index-66fc5445.js → index-349048ed.js} +4 -4
- package/build/{index-912f63c7.js → index-5ba2dbd8.js} +143 -114
- package/build/{index-a2f76563.js → index-620454c4.js} +32 -32
- package/build/{index-95f82962.js → index-62d6acb2.js} +12 -12
- package/build/{index-31e590ef.js → index-75cf4571.js} +1 -1
- package/build/{index-6b4c9dee.js → index-7611f400.js} +2 -2
- package/build/{index-f78158ab.js → index-98e609f3.js} +2 -2
- package/build/{index-29075b41.js → index-9ace28d8.js} +4 -4
- package/build/{index-d2a52817.js → index-9c927505.js} +121 -34
- package/build/{index-7872bdc8.js → index-a11dbe7a.js} +2 -2
- package/build/{index-718007fe.js → index-ab46b7b1.js} +10 -10
- package/build/{index-dd4fc7ca.js → index-b9268074.js} +2 -2
- package/build/{index-9b450bd9.js → index-c366417f.js} +2 -2
- package/build/{index-ef4a6ca2.js → index-d10c16ae.js} +2 -2
- package/build/{index-f658f864.js → index-d701f2f0.js} +5 -5
- package/build/{index-2d302f88.js → index-e36841d2.js} +3 -3
- package/build/{index-829bfc9a.js → index-e57b5f57.js} +11 -11
- package/build/{index-f952f896.js → index-ea4553c5.js} +6 -6
- package/build/{index-657a7517.js → index-fc7a35e4.js} +9 -9
- package/build/index.js +65 -65
- package/build/{index.styled-2168ca1e.js → index.styled-8e2e9812.js} +2 -2
- package/build/{index.styles-eae61260.js → index.styles-ee913855.js} +6 -6
- package/build/lead.js +28 -28
- package/build/mantine.js +17 -17
- package/build/misc.js +20 -20
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +31 -31
- package/build/pwg.js +19 -19
- package/build/{routing-c369aff5.js → routing-283c0157.js} +2 -2
- package/build/subot.js +23 -23
- package/build/together.js +35 -35
- package/build/{types-763584b2.js → types-2b80c073.js} +13 -13
- package/build/{types-7e5f6fe0.js → types-47887bb0.js} +30 -30
- package/build/types.js +1 -1
- package/build/{useCategory-6af91922.js → useCategory-df90f4ea.js} +5 -5
- package/build/{useHealthToolCache-07d45a33.js → useHealthToolCache-37aad87d.js} +2 -2
- package/build/{useMantineLocale-fabf9527.js → useMantineLocale-e18d4ed6.js} +3 -3
- package/build/{usePlacesAutocomplete-783c09e9.js → usePlacesAutocomplete-1fedd1cb.js} +1 -1
- package/build/{useTranslations-1ad80d77.js → useTranslations-ff8010a9.js} +1 -1
- package/build/{utils-b18babcf.js → utils-a1c4c7f3.js} +5 -5
- package/build/{utils-3d5d8d33.js → utils-afa1b3a6.js} +1 -1
- package/build/{utils-1614f35c.js → utils-ba634fc8.js} +4 -4
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/components/molecules/healthTools/components/borderBoxControl/index.styled.d.ts +0 -23
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.styled.d.ts +0 -23
- /package/build/{BMI_BOYS.percentile.monthly-bcbe6694.js → BMI_BOYS.percentile.monthly-951fa2ec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ab87d2b2.js → BMI_BOYS.percentile.weekly-980ff0fc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d0c715a1.js → BMI_BOYS.percentile.yearly-d032e209.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e73787c3.js → BMI_BOYS.zscore.monthly-1803a45b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6d0e7ff7.js → BMI_BOYS.zscore.weekly-8ee2d106.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e30b4b68.js → BMI_BOYS.zscore.yearly-78fa4d45.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-14a0446f.js → BMI_GIRLS.percentile.monthly-6bcdc56b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0ec805ce.js → BMI_GIRLS.percentile.weekly-1e31c07d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-6ba64730.js → BMI_GIRLS.percentile.yearly-20be287d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-286dbec0.js → BMI_GIRLS.zscore.monthly-5418196f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-41085a13.js → BMI_GIRLS.zscore.weekly-df5543e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9fc7b15f.js → BMI_GIRLS.zscore.yearly-cb1566c8.js} +0 -0
- /package/build/{ChevronDown-7a7f6389.js → ChevronDown-d95b1035.js} +0 -0
- /package/build/{Close-caf0d239.js → Close-4f787ff2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-05993ca1.js → HEAD CIRCUM_BOYS.percentile.monthly-5daa3a00.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1d9c4319.js → HEAD CIRCUM_BOYS.percentile.weekly-33e2a46f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-990b1b7d.js → HEAD CIRCUM_BOYS.percentile.yearly-ff2dd96f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3a01e155.js → HEAD CIRCUM_BOYS.zscore.monthly-f4d8877c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-64cda157.js → HEAD CIRCUM_BOYS.zscore.weekly-1536260d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-33986632.js → HEAD CIRCUM_BOYS.zscore.yearly-bfeecafa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-19b420bb.js → HEAD CIRCUM_GIRLS.percentile.monthly-55136779.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f8634b12.js → HEAD CIRCUM_GIRLS.percentile.weekly-b4c7dc1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d3f75779.js → HEAD CIRCUM_GIRLS.percentile.yearly-ea6dfb6c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cd8db11f.js → HEAD CIRCUM_GIRLS.zscore.monthly-1f5a1d37.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d46a94c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-1e5e764e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0e145226.js → HEAD CIRCUM_GIRLS.zscore.yearly-c510d0ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-365a6946.js → HEIGHT_BOYS.percentile.monthly-50022bbb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-759a4c19.js → HEIGHT_BOYS.percentile.weekly-73e09dd2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0dc8da8d.js → HEIGHT_BOYS.percentile.yearly-d5614acd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c8a59b03.js → HEIGHT_BOYS.zscore.monthly-91b5615e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7cedc697.js → HEIGHT_BOYS.zscore.weekly-fcbb9cbc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-34ce9808.js → HEIGHT_BOYS.zscore.yearly-24d39469.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-e159f499.js → HEIGHT_GIRLS.percentile.monthly-000a3992.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4c32ba4a.js → HEIGHT_GIRLS.percentile.weekly-fc4484b9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-87a60ea6.js → HEIGHT_GIRLS.percentile.yearly-eacf13da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-839071ca.js → HEIGHT_GIRLS.zscore.monthly-a9c9285c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-6826352b.js → HEIGHT_GIRLS.zscore.weekly-6f32d4b6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d84896c7.js → HEIGHT_GIRLS.zscore.yearly-01313930.js} +0 -0
- /package/build/{Visible-acfe5593.js → Visible-850168da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3cc1bc68.js → WEIGHT_BOYS.percentile.monthly-0e81ba1d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7f60c080.js → WEIGHT_BOYS.percentile.weekly-195fc43f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-587f12d1.js → WEIGHT_BOYS.percentile.yearly-5908d145.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bec8f116.js → WEIGHT_BOYS.zscore.monthly-1a4550d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-3557b22e.js → WEIGHT_BOYS.zscore.weekly-598852f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-065d3677.js → WEIGHT_BOYS.zscore.yearly-ea1d3f22.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8e5ef3c5.js → WEIGHT_GIRLS.percentile.monthly-4b468cfc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5f01c346.js → WEIGHT_GIRLS.percentile.weekly-6b9fb9d3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3e5e252d.js → WEIGHT_GIRLS.percentile.yearly-15d64500.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-db693c0c.js → WEIGHT_GIRLS.zscore.monthly-11050a16.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b244f74d.js → WEIGHT_GIRLS.zscore.weekly-09048c47.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-375cbdcd.js → WEIGHT_GIRLS.zscore.yearly-05bb9d83.js} +0 -0
- /package/build/{animation-2e5a9919.js → animation-4b3e3fc8.js} +0 -0
- /package/build/{cart-cef4b5b2.js → cart-ff90df64.js} +0 -0
- /package/build/{cookieHelper-539bbfad.js → cookieHelper-4eee6575.js} +0 -0
- /package/build/{doctor-69e8cc2b.js → doctor-435f85cc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-988bc765.js → BMI_BOYS.percentile.monthly-2657b9ac.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c9774a2f.js → BMI_BOYS.percentile.weekly-fa1650bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-577a2175.js → BMI_BOYS.percentile.yearly-0e637f30.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2e0d928b.js → BMI_BOYS.zscore.monthly-c2b56f2b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6c0cf1c8.js → BMI_BOYS.zscore.weekly-edbf3efb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-738fba22.js → BMI_BOYS.zscore.yearly-7e6b0583.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-84978de4.js → BMI_GIRLS.percentile.monthly-4d53b551.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-967e30d7.js → BMI_GIRLS.percentile.weekly-cb216f96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-869b4696.js → BMI_GIRLS.percentile.yearly-f1819a2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-626351ee.js → BMI_GIRLS.zscore.monthly-5c10b2db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-982e10f3.js → BMI_GIRLS.zscore.weekly-11e412c0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-edf876d7.js → BMI_GIRLS.zscore.yearly-ba8af7cd.js} +0 -0
- /package/build/esm/{ChevronDown-23986289.js → ChevronDown-f46763d3.js} +0 -0
- /package/build/esm/{Close-88f30ca3.js → Close-3413278b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0edb1d06.js → HEAD CIRCUM_BOYS.percentile.monthly-db758ef3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4b0d7d4d.js → HEAD CIRCUM_BOYS.percentile.weekly-a39483ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-733c4c3c.js → HEAD CIRCUM_BOYS.percentile.yearly-cb902511.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-61a16a19.js → HEAD CIRCUM_BOYS.zscore.monthly-13ecd449.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4d063366.js → HEAD CIRCUM_BOYS.zscore.weekly-b7490f44.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b5cb706e.js → HEAD CIRCUM_BOYS.zscore.yearly-5aaf85d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-673fed3e.js → HEAD CIRCUM_GIRLS.percentile.monthly-bc7af031.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-cca77639.js → HEAD CIRCUM_GIRLS.percentile.weekly-3c480877.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-215dd58c.js → HEAD CIRCUM_GIRLS.percentile.yearly-576f019b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6736b5dc.js → HEAD CIRCUM_GIRLS.zscore.monthly-bb0d8ad6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b31f90b6.js → HEAD CIRCUM_GIRLS.zscore.weekly-090e3ba0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1b9dba13.js → HEAD CIRCUM_GIRLS.zscore.yearly-5319d2a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d5fa628e.js → HEIGHT_BOYS.percentile.monthly-d9e9fffc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9cf8dc42.js → HEIGHT_BOYS.percentile.weekly-0b06783f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-0154a32c.js → HEIGHT_BOYS.percentile.yearly-e4c68bb5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ec6e1dfa.js → HEIGHT_BOYS.zscore.monthly-140d0410.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f9a7eaa3.js → HEIGHT_BOYS.zscore.weekly-d6b6f48f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-82c14b36.js → HEIGHT_BOYS.zscore.yearly-d444e82e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-cfaad1bf.js → HEIGHT_GIRLS.percentile.monthly-6b11c12a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6354615c.js → HEIGHT_GIRLS.percentile.weekly-281a74eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-34c5a1b0.js → HEIGHT_GIRLS.percentile.yearly-3e320176.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-59d82df1.js → HEIGHT_GIRLS.zscore.monthly-f4a488c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-127110cf.js → HEIGHT_GIRLS.zscore.weekly-cf2edd38.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c44353dd.js → HEIGHT_GIRLS.zscore.yearly-7c9cf63f.js} +0 -0
- /package/build/esm/{Visible-8a1621e2.js → Visible-8e3f3b2b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-494eff67.js → WEIGHT_BOYS.percentile.monthly-6b9f8428.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-875b8fa0.js → WEIGHT_BOYS.percentile.weekly-d4562de8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-9e23bed6.js → WEIGHT_BOYS.percentile.yearly-9871ce3d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d0d303e5.js → WEIGHT_BOYS.zscore.monthly-c572a171.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f938c958.js → WEIGHT_BOYS.zscore.weekly-83de702b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9b3b31ea.js → WEIGHT_BOYS.zscore.yearly-93bb8ebf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7ca7b146.js → WEIGHT_GIRLS.percentile.monthly-9e4bfecf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fa0efcfb.js → WEIGHT_GIRLS.percentile.weekly-a3b7d8f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-da67242d.js → WEIGHT_GIRLS.percentile.yearly-4531ab40.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-52044ed2.js → WEIGHT_GIRLS.zscore.monthly-4662518d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f9554564.js → WEIGHT_GIRLS.zscore.weekly-b26ea326.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8ad066f9.js → WEIGHT_GIRLS.zscore.yearly-3658a92f.js} +0 -0
- /package/build/esm/{animation-04f1059d.js → animation-075d530d.js} +0 -0
- /package/build/esm/{cart-a6fe858b.js → cart-5a8514ba.js} +0 -0
- /package/build/esm/{cookieHelper-ad2f84ef.js → cookieHelper-d4de0565.js} +0 -0
- /package/build/esm/{doctor-0b13d2d9.js → doctor-ae937e74.js} +0 -0
- /package/build/esm/{index-ccff39bb.js → index-29557e11.js} +0 -0
- /package/build/esm/{index-2278eaac.js → index-809cc43a.js} +0 -0
- /package/build/esm/{index-d821e019.js → index-e3a6c8b3.js} +0 -0
- /package/build/esm/{index-4d880f7e.js → index-e5a963a3.js} +0 -0
- /package/build/esm/{isProduction-5da025be.js → isProduction-8940d360.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b737b67e.js → localizeNumberFormat-608bd8b8.js} +0 -0
- /package/build/esm/{normalizeLink-1a150907.js → normalizeLink-0e772229.js} +0 -0
- /package/build/esm/{number-88d2dec3.js → number-cb0783fa.js} +0 -0
- /package/build/esm/{paths-5364b451.js → paths-7c9f0b69.js} +0 -0
- /package/build/esm/{theme-b4671c6b.js → theme-de4e5929.js} +0 -0
- /package/build/esm/{translationsContext-fbb95f09.js → translationsContext-a9c64944.js} +0 -0
- /package/build/esm/{tslib.es6-0ea8b977.js → tslib.es6-88a9e5c2.js} +0 -0
- /package/build/esm/{useIsInit-9496074c.js → useIsInit-388cfd8a.js} +0 -0
- /package/build/esm/{useOutsideClick-b75b9a65.js → useOutsideClick-0b0fddf4.js} +0 -0
- /package/build/esm/{useScrollbarSize-a93b1954.js → useScrollbarSize-7bf5a8eb.js} +0 -0
- /package/build/esm/{useUniqueId-f966139a.js → useUniqueId-9c6b638c.js} +0 -0
- /package/build/esm/{utils-6541bb61.js → utils-75e5fda9.js} +0 -0
- /package/build/{index-59944d03.js → index-450e2629.js} +0 -0
- /package/build/{index-1b06e630.js → index-6ce326d3.js} +0 -0
- /package/build/{index-490e0b0f.js → index-967e63e9.js} +0 -0
- /package/build/{index-96e1e9c5.js → index-ac7aa0ce.js} +0 -0
- /package/build/{isProduction-4285f612.js → isProduction-5aa2ebcc.js} +0 -0
- /package/build/{localizeNumberFormat-d6f220a4.js → localizeNumberFormat-1ae3d94b.js} +0 -0
- /package/build/{normalizeLink-d4cc54f8.js → normalizeLink-b66bb05c.js} +0 -0
- /package/build/{number-f0cf2a37.js → number-093ff334.js} +0 -0
- /package/build/{paths-ea0273b5.js → paths-af2ba186.js} +0 -0
- /package/build/{theme-81d045c1.js → theme-991e77d4.js} +0 -0
- /package/build/{translationsContext-328d6aef.js → translationsContext-2a1e6e04.js} +0 -0
- /package/build/{tslib.es6-0b7ef9db.js → tslib.es6-c96f77e2.js} +0 -0
- /package/build/{useIsInit-e6d65fee.js → useIsInit-9a9d7406.js} +0 -0
- /package/build/{useOutsideClick-42e2d1b8.js → useOutsideClick-75ea269b.js} +0 -0
- /package/build/{useScrollbarSize-4fcff537.js → useScrollbarSize-13e3f5a6.js} +0 -0
- /package/build/{useUniqueId-b6a33ac0.js → useUniqueId-ded74d2a.js} +0 -0
- /package/build/{utils-f2c05a1a.js → utils-9d404b9b.js} +0 -0
|
@@ -39,7 +39,7 @@ var mbTranslations = {
|
|
|
39
39
|
"babyGrowth.babyInfo": "Thông tin của bé",
|
|
40
40
|
"babyGrowth.chartTitle": "WHO - Biểu đồ tăng trưởng cho {name}",
|
|
41
41
|
"babyGrowth.chartTitle.noName": "Biểu đồ tăng trưởng của bé",
|
|
42
|
-
"babyGrowth.cm": "
|
|
42
|
+
"babyGrowth.cm": "cm",
|
|
43
43
|
"babyGrowth.drawer.addMeasurement": "Thêm số đo",
|
|
44
44
|
"babyGrowth.drawer.createBaby": "Tạo hồ sơ mới",
|
|
45
45
|
"babyGrowth.drawer.switchProfile": "Chọn hồ sơ khác",
|
|
@@ -62,8 +62,8 @@ var mbTranslations = {
|
|
|
62
62
|
"babyGrowth.input.checkSubmit": "Theo dõi sự phát triển của trẻ",
|
|
63
63
|
"babyGrowth.input.measurementDate": "Ngày đo lường",
|
|
64
64
|
"babyGrowth.input.submit": "Theo dõi sự phát triển của bé",
|
|
65
|
-
"babyGrowth.kg": "
|
|
66
|
-
"babyGrowth.kg.m2": "
|
|
65
|
+
"babyGrowth.kg": "kg",
|
|
66
|
+
"babyGrowth.kg.m2": "kg/ m2",
|
|
67
67
|
"babyGrowth.monthly": "Theo tháng",
|
|
68
68
|
"babyGrowth.nickname": "Biệt danh",
|
|
69
69
|
"babyGrowth.optional": "(tùy chọn)",
|
|
@@ -430,7 +430,7 @@ var mbTranslations = {
|
|
|
430
430
|
"ovulationPage.avoidPregnancy": "Tránh thai",
|
|
431
431
|
"ovulationPage.conceive": "Cơ hội thụ thai",
|
|
432
432
|
"ovulationPage.cycleLength": "Độ dài chu kỳ kinh nguyệt",
|
|
433
|
-
"ovulationPage.dayUnit": "
|
|
433
|
+
"ovulationPage.dayUnit": "ngày",
|
|
434
434
|
"ovulationPage.objectives": "Mục đích",
|
|
435
435
|
"ovulationPage.periodDuration": "Số ngày hành kinh",
|
|
436
436
|
"ovulationPage.trackPeriod": "Theo dõi chu kỳ kinh",
|
|
@@ -39,7 +39,7 @@ var zhTranslations = {
|
|
|
39
39
|
"babyGrowth.babyInfo": "寶寶資訊",
|
|
40
40
|
"babyGrowth.chartTitle": "世界衛生組織 - {name} 生長曲線",
|
|
41
41
|
"babyGrowth.chartTitle.noName": "您寶貝的兒童生長曲線",
|
|
42
|
-
"babyGrowth.cm": "
|
|
42
|
+
"babyGrowth.cm": "公分",
|
|
43
43
|
"babyGrowth.drawer.addMeasurement": "新增測量值",
|
|
44
44
|
"babyGrowth.drawer.createBaby": "新建小孩基本資料",
|
|
45
45
|
"babyGrowth.drawer.switchProfile": "切換基本資料",
|
|
@@ -62,8 +62,8 @@ var zhTranslations = {
|
|
|
62
62
|
"babyGrowth.input.checkSubmit": "追蹤您孩子的成長",
|
|
63
63
|
"babyGrowth.input.measurementDate": "量測日期",
|
|
64
64
|
"babyGrowth.input.submit": "追蹤您小孩的成長情況",
|
|
65
|
-
"babyGrowth.kg": "
|
|
66
|
-
"babyGrowth.kg.m2": "
|
|
65
|
+
"babyGrowth.kg": "公斤",
|
|
66
|
+
"babyGrowth.kg.m2": "公斤/平方公尺",
|
|
67
67
|
"babyGrowth.monthly": "每月",
|
|
68
68
|
"babyGrowth.nickname": "或暱稱",
|
|
69
69
|
"babyGrowth.optional": "選填",
|
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-a9c64944.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-a9c64944.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-a9c64944.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-a9c64944.js';
|
|
3
3
|
import React__default, { useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
const TranslationsProvider = ({ locale = 'en-PH', values, children, }) => {
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useRef, useMemo, Fragment, memo, useCallback, useImperativeHandle, createContext, useContext, forwardRef } from 'react';
|
|
2
|
-
import { T as Text } from './index-
|
|
3
|
-
import { b as StyledAvatar, c as StyledBadge$1, d as StyledBorderHeading, e as StyledDropdown, f as StyledDropdownName, g as StyledDropdownList, h as StyledDropdownOption, i as StyledIcon
|
|
4
|
-
import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-
|
|
5
|
-
import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, t as themeColors, c as Input$1, B as Button$1, S as Select, d as Checkbox$1, e as ChipButton } from './index-
|
|
6
|
-
import { T as Text$1 } from './index-
|
|
7
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
2
|
+
import { T as Text } from './index-d923e380.js';
|
|
3
|
+
import { b as StyledAvatar, c as StyledBadge$1, d as StyledBorderHeading, e as StyledDropdown, f as StyledDropdownName, g as StyledDropdownList, h as StyledDropdownOption, i as StyledIcon, j as StyledGrid, k as StyledPagination, l as StyledPageBlock, m as StyledPaginationBlock, n as StyledTag, o as StyledToggle, p as StyledToggleIcon, q as StyledToggleLabel, r as StyledCheckbox, s as StyledRateStars, T as TextArea, P as PureInput } from './index.styles-2a161512.js';
|
|
4
|
+
import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-75e5fda9.js';
|
|
5
|
+
import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, t as themeColors, c as Input$1, B as Button$1, S as Select, d as Checkbox$1, e as ChipButton } from './index-2976962f.js';
|
|
6
|
+
import { T as Text$1 } from './index-c1d4e8aa.js';
|
|
7
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-88a9e5c2.js';
|
|
8
8
|
import { Bookmark, CalendarMB } from '@hhgtech/icons/other';
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import { H as Heading } from './index-
|
|
11
|
-
import { t as theme } from './theme-
|
|
9
|
+
import { C as CommonGAssets } from './index-1feede96.js';
|
|
10
|
+
import { H as Heading } from './index-4dd17fe7.js';
|
|
11
|
+
import { t as theme } from './theme-de4e5929.js';
|
|
12
12
|
import { Card, Group, Box, Flex, createStyles, Stack, getStylesRef, useMantineTheme, rem, Container, AspectRatio as AspectRatio$1, ScrollArea, Chip, Badge as Badge$1, MultiSelect, Stepper } from '@mantine/core';
|
|
13
13
|
import innertext from 'innertext';
|
|
14
14
|
import '@mantine/dates';
|
|
15
|
-
import { d as domainLocales, L as LOCALE_SPECS, F as FAVICONS, Q as QUERY_HEALTH_TOOL, A as API_DATE_FORMAT$1, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-
|
|
16
|
-
import { L as LOCALE } from './index-
|
|
17
|
-
import './useMantineLocale-
|
|
18
|
-
import './translationsContext-
|
|
15
|
+
import { d as domainLocales, L as LOCALE_SPECS, F as FAVICONS, Q as QUERY_HEALTH_TOOL, A as API_DATE_FORMAT$1, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-93f7fdcd.js';
|
|
16
|
+
import { L as LOCALE } from './index-e5a963a3.js';
|
|
17
|
+
import './useMantineLocale-ce44cbda.js';
|
|
18
|
+
import './translationsContext-a9c64944.js';
|
|
19
19
|
import 'string-format';
|
|
20
20
|
import { useViewportSize } from '@mantine/hooks';
|
|
21
|
-
import { i as isInternalLink, d as getTogetherUserPostsApiPath } from './index-
|
|
21
|
+
import { i as isInternalLink, d as getTogetherUserPostsApiPath } from './index-119e1858.js';
|
|
22
22
|
import styled from '@emotion/styled';
|
|
23
23
|
import throttle from 'lodash/throttle';
|
|
24
|
-
import { L as Logo } from './index-
|
|
25
|
-
import { B as Button } from './index-
|
|
26
|
-
import { I as Input } from './index-
|
|
24
|
+
import { L as Logo } from './index-531034de.js';
|
|
25
|
+
import { B as Button } from './index-62383856.js';
|
|
26
|
+
import { I as Input } from './index-baa2cf87.js';
|
|
27
27
|
import { keyframes } from '@emotion/react';
|
|
28
28
|
import parse from 'html-react-parser';
|
|
29
|
-
import { i as isProduction } from './isProduction-
|
|
30
|
-
import { u as useTranslations } from './useTranslations-
|
|
29
|
+
import { i as isProduction } from './isProduction-8940d360.js';
|
|
30
|
+
import { u as useTranslations } from './useTranslations-cf6fd3e4.js';
|
|
31
31
|
import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
32
32
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
33
33
|
import dayjs from 'dayjs';
|
|
34
|
-
import { D as DatePicker } from './index-
|
|
35
|
-
import { H as HealthToolFormWrapper, G as GenderOptionControl, B as BabyGrowthForm, I as INPUT_RANGE, D as Drawer } from './index-
|
|
36
|
-
import { f as formatUserProfileUrl } from './index-
|
|
37
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
38
|
-
import { s as setDefaultClass, H as HEALTH_TOOL_TYPE$1, b as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, d as getPremiumApiPath, e as getWebsiteUrlApi, f as getSsoApiPath } from './utils-
|
|
34
|
+
import { D as DatePicker } from './index-16c00591.js';
|
|
35
|
+
import { H as HealthToolFormWrapper, G as GenderOptionControl, B as BabyGrowthForm, I as INPUT_RANGE, D as Drawer } from './index-e67ef62d.js';
|
|
36
|
+
import { f as formatUserProfileUrl } from './index-9ea4b5e6.js';
|
|
37
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-3e27635b.js';
|
|
38
|
+
import { s as setDefaultClass, H as HEALTH_TOOL_TYPE$1, b as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, d as getPremiumApiPath, e as getWebsiteUrlApi, f as getSsoApiPath } from './utils-4a086f15.js';
|
|
39
39
|
import { Controller, useForm as useForm$1 } from 'react-hook-form';
|
|
40
|
-
import './constants-
|
|
41
|
-
import './utils-
|
|
42
|
-
import './WhatsApp-
|
|
43
|
-
import './index.styled-
|
|
44
|
-
import './index-
|
|
45
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
40
|
+
import './constants-8898d04d.js';
|
|
41
|
+
import './utils-b54f5c81.js';
|
|
42
|
+
import './WhatsApp-8f50e1bf.js';
|
|
43
|
+
import './index.styled-fabb3b23.js';
|
|
44
|
+
import './index-809cc43a.js';
|
|
45
|
+
import { a as useOutsideClick } from './useOutsideClick-0b0fddf4.js';
|
|
46
46
|
import enUS from 'date-fns/locale/en-US';
|
|
47
47
|
import id from 'date-fns/locale/id';
|
|
48
48
|
import vi from 'date-fns/locale/vi';
|
|
49
49
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
50
|
-
import { D as Dropdown } from './index-
|
|
51
|
-
import { g as getSocialList } from './getSocialList-
|
|
50
|
+
import { D as Dropdown } from './index-320c91f7.js';
|
|
51
|
+
import { g as getSocialList } from './getSocialList-05454009.js';
|
|
52
52
|
import { v4 } from 'uuid';
|
|
53
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-
|
|
54
|
-
import { I as Icon } from './index-
|
|
53
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-a8a01f2f.js';
|
|
54
|
+
import { I as Icon } from './index-b7a0f534.js';
|
|
55
55
|
import { Close, Plus } from '@hhgtech/icons/core';
|
|
56
|
-
import { M as Modal } from './index-
|
|
56
|
+
import { M as Modal } from './index-de0eebee.js';
|
|
57
57
|
import Cookies from 'js-cookie';
|
|
58
58
|
import flatten from 'lodash/flatten';
|
|
59
59
|
import uniqBy from 'lodash/uniqBy';
|
|
60
|
-
import { g as getCookie } from './cookieHelper-
|
|
61
|
-
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-
|
|
60
|
+
import { g as getCookie } from './cookieHelper-d4de0565.js';
|
|
61
|
+
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-0e772229.js';
|
|
62
62
|
|
|
63
63
|
var styles$7 = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
|
|
64
64
|
|
|
@@ -159,7 +159,7 @@ const FileDropdown = ({ className, value, options, onUploadSelected, id, placeho
|
|
|
159
159
|
isDropdownOpen && (React__default.createElement(StyledDropdownList, { onClick: showDropdown, "data-has-icons": true }, options.map((option) => (React__default.createElement(StyledDropdownOption, { key: `${id}-${option.value}`, "data-selected": (value && value.value === option.value) || undefined, onClick: () => option.type === 'upload'
|
|
160
160
|
? onUpload('#uploader-dropdown-input-' + id + '-' + option.value)
|
|
161
161
|
: onDownload(option.url) },
|
|
162
|
-
React__default.createElement(StyledIcon
|
|
162
|
+
React__default.createElement(StyledIcon, null, option.icon || option.type === 'download' ? (React__default.createElement(DownloadIcon, null)) : (React__default.createElement(UploadIcon, null))),
|
|
163
163
|
option.label))))),
|
|
164
164
|
React__default.createElement(React__default.Fragment, null, inputList.current)));
|
|
165
165
|
};
|
|
@@ -3012,22 +3012,6 @@ const StyledContainer = styled.div `
|
|
|
3012
3012
|
}
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
|
-
`;
|
|
3016
|
-
const StyledIcon = styled.div `
|
|
3017
|
-
background: #ffffff;
|
|
3018
|
-
border-radius: 16px;
|
|
3019
|
-
width: 48px;
|
|
3020
|
-
height: 48px;
|
|
3021
|
-
position: relative;
|
|
3022
|
-
|
|
3023
|
-
img {
|
|
3024
|
-
position: absolute;
|
|
3025
|
-
top: 50%;
|
|
3026
|
-
left: 50%;
|
|
3027
|
-
max-width: 24px;
|
|
3028
|
-
max-height: 24px;
|
|
3029
|
-
transform: translate(-50%, -50%);
|
|
3030
|
-
}
|
|
3031
3015
|
`;
|
|
3032
3016
|
|
|
3033
3017
|
const ToolsBannerCard = ({ className, heading, bannerColor, medicalReview = {
|
|
@@ -3053,20 +3037,20 @@ const ToolsBannerCard = ({ className, heading, bannerColor, medicalReview = {
|
|
|
3053
3037
|
}),
|
|
3054
3038
|
} }))) : null;
|
|
3055
3039
|
return (React__default.createElement(StyledContainer, { className: className, style: style, "data-site": siteType, "data-banner-color": bannerColor ||
|
|
3056
|
-
(
|
|
3057
|
-
? theme.colors.
|
|
3058
|
-
:
|
|
3059
|
-
? theme.colors.
|
|
3040
|
+
(isMarryBaby
|
|
3041
|
+
? theme.colors.mb[1]
|
|
3042
|
+
: isPregTool
|
|
3043
|
+
? theme.colors.pink[1]
|
|
3060
3044
|
: theme.colors.blue[1]) },
|
|
3061
3045
|
React__default.createElement(StyledWrapper$1, null,
|
|
3062
|
-
React__default.createElement(Flex, { gap: rem(24), align: 'center', justify: 'space-between', sx: { padding: rem(16), gap: rem(24) } },
|
|
3046
|
+
React__default.createElement(Flex, { gap: rem(24), align: 'center', justify: 'space-between', sx: { padding: rem(16), gap: rem(24), '.heading': {} } },
|
|
3063
3047
|
React__default.createElement(Box, null,
|
|
3064
|
-
React__default.createElement(
|
|
3048
|
+
React__default.createElement(Text, { size: isMarryBaby ? 'h4' : 'h3', as: headingAs, className: 'heading' }, heading),
|
|
3065
3049
|
medicalReview && (React__default.createElement(Text, { size: "n1", as: "div" }, medicalReviewEle))),
|
|
3066
|
-
|
|
3067
|
-
width: rem(
|
|
3068
|
-
height: rem(
|
|
3069
|
-
borderRadius: '50%',
|
|
3050
|
+
React__default.createElement(Flex, { justify: 'center', align: 'center', sx: (theme) => ({
|
|
3051
|
+
width: rem(80),
|
|
3052
|
+
height: rem(80),
|
|
3053
|
+
borderRadius: isMarryBaby ? '24px' : '50%',
|
|
3070
3054
|
backgroundColor: '#fff',
|
|
3071
3055
|
flexShrink: 0,
|
|
3072
3056
|
img: {
|
|
@@ -3074,14 +3058,14 @@ const ToolsBannerCard = ({ className, heading, bannerColor, medicalReview = {
|
|
|
3074
3058
|
maxHeight: rem(48),
|
|
3075
3059
|
},
|
|
3076
3060
|
[theme.fn.smallerThan('sm')]: {
|
|
3077
|
-
width: rem(
|
|
3078
|
-
height: rem(
|
|
3061
|
+
width: rem(64),
|
|
3062
|
+
height: rem(64),
|
|
3079
3063
|
img: {
|
|
3080
3064
|
maxWidth: rem(40),
|
|
3081
3065
|
maxHeight: rem(40),
|
|
3082
3066
|
},
|
|
3083
3067
|
},
|
|
3084
|
-
}) }, icon)))))
|
|
3068
|
+
}) }, icon)))));
|
|
3085
3069
|
};
|
|
3086
3070
|
|
|
3087
3071
|
const ConceptionDate = (_a) => {
|
|
@@ -3182,6 +3166,15 @@ const InlineLayout$4 = () => {
|
|
|
3182
3166
|
form.errors.lastPeriodDate && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.lastPeriodDate))));
|
|
3183
3167
|
};
|
|
3184
3168
|
|
|
3169
|
+
const MbLayout$5 = () => {
|
|
3170
|
+
const { t } = useTranslations();
|
|
3171
|
+
const { form } = useContext(ConceptionFormContext);
|
|
3172
|
+
return (React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('dueDatePage.lastPeriod.lastPeriodLabel'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
3173
|
+
React__default.createElement(DatePicker, Object.assign({}, form.getInputProps('lastPeriodDate'), { placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
3174
|
+
withinPortal: true,
|
|
3175
|
+
}, rightSection: null, maxDate: new Date() }))));
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3185
3178
|
var DueDateCalculatorType;
|
|
3186
3179
|
(function (DueDateCalculatorType) {
|
|
3187
3180
|
DueDateCalculatorType[DueDateCalculatorType["lastPeriod"] = 0] = "lastPeriod";
|
|
@@ -3241,6 +3234,7 @@ const getDueDateIVF = (IVFDate, numDayTransfer) => {
|
|
|
3241
3234
|
|
|
3242
3235
|
const ConceptionForm = ({}) => {
|
|
3243
3236
|
const { formLayout, onSubmit, currentUrl, submitProps } = useContext(DueDateFormContext);
|
|
3237
|
+
const theme = useMantineTheme();
|
|
3244
3238
|
const { t } = useTranslations();
|
|
3245
3239
|
const form = useForm({
|
|
3246
3240
|
initialValues: {
|
|
@@ -3255,7 +3249,7 @@ const ConceptionForm = ({}) => {
|
|
|
3255
3249
|
};
|
|
3256
3250
|
return (React__default.createElement(ConceptionFormContext.Provider, { value: { form } },
|
|
3257
3251
|
React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: formLayout }, formProps),
|
|
3258
|
-
formLayout === '
|
|
3252
|
+
formLayout === 'inline' ? (React__default.createElement(InlineLayout$4, null)) : theme.other.template === 'mb' ? (React__default.createElement(MbLayout$5, null)) : (React__default.createElement(DefaultLayout$4, null)),
|
|
3259
3253
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ dataEventCategory: "Health Tool", dataEventAction: "Due Date", dataEventLabel: currentUrl, className: "due-date-calculate-button", type: "submit" }, submitProps), t('dueDatePage.lastPeriod.calculate')))));
|
|
3260
3254
|
};
|
|
3261
3255
|
|
|
@@ -3285,10 +3279,23 @@ const InlineLayout$3 = () => {
|
|
|
3285
3279
|
React__default.createElement(Group, null, transferDateOptions.map((i, idx) => (React__default.createElement(Radio$1, { key: idx, value: i.value, label: i.label }))))))));
|
|
3286
3280
|
};
|
|
3287
3281
|
|
|
3282
|
+
const MbLayout$4 = () => {
|
|
3283
|
+
const { t } = useTranslations();
|
|
3284
|
+
const { form, transferDateOptions } = useContext(IVFFormContext);
|
|
3285
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
3286
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('dueDatePage.ivf.transferDate'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
3287
|
+
React__default.createElement(DatePicker, Object.assign({}, form.getInputProps('IVFDate'), { placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
3288
|
+
withinPortal: true,
|
|
3289
|
+
}, maxDate: new Date(), rightSection: null }))),
|
|
3290
|
+
React__default.createElement(Radio$1.Group, Object.assign({}, form.getInputProps('dayTransfer')),
|
|
3291
|
+
React__default.createElement(Group, null, transferDateOptions.map((i, idx) => (React__default.createElement(Radio$1, { key: idx, value: i.value, label: i.label })))))));
|
|
3292
|
+
};
|
|
3293
|
+
|
|
3288
3294
|
const IVFForm = ({}) => {
|
|
3289
3295
|
var _a;
|
|
3290
3296
|
const { formLayout, onSubmit, currentUrl, submitProps } = useContext(DueDateFormContext);
|
|
3291
3297
|
const { t } = useTranslations();
|
|
3298
|
+
const theme = useMantineTheme();
|
|
3292
3299
|
const transferDateOptions = [
|
|
3293
3300
|
{
|
|
3294
3301
|
value: '3',
|
|
@@ -3318,7 +3325,7 @@ const IVFForm = ({}) => {
|
|
|
3318
3325
|
};
|
|
3319
3326
|
return (React__default.createElement(IVFFormContext.Provider, { value: { form, transferDateOptions } },
|
|
3320
3327
|
React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: formLayout }, formProps),
|
|
3321
|
-
formLayout === '
|
|
3328
|
+
formLayout === 'inline' ? (React__default.createElement(InlineLayout$3, null)) : theme.other.template === 'mb' ? (React__default.createElement(MbLayout$4, null)) : (React__default.createElement(DefaultLayout$3, null)),
|
|
3322
3329
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ dataEventCategory: "Health Tool", dataEventAction: "Due Date", dataEventLabel: currentUrl, className: "due-date-calculate-button", type: "submit" }, submitProps), t('dueDatePage.lastPeriod.calculate')))));
|
|
3323
3330
|
};
|
|
3324
3331
|
|
|
@@ -3348,12 +3355,30 @@ const InlineLayout$2 = () => {
|
|
|
3348
3355
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('dueDatePage.lastPeriod.periodLengthLabel') },
|
|
3349
3356
|
React__default.createElement(Input$1.Number, Object.assign({ min: 20, max: 40, placeholder: t('tools.inputPlaceholder', {
|
|
3350
3357
|
content: '30',
|
|
3351
|
-
}) }, form.getInputProps('periodLength'))))
|
|
3358
|
+
}) }, form.getInputProps('periodLength'), { error: null }))),
|
|
3359
|
+
form.errors.periodLength && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.periodLength))));
|
|
3360
|
+
};
|
|
3361
|
+
|
|
3362
|
+
const MbLayout$3 = () => {
|
|
3363
|
+
const { t } = useTranslations();
|
|
3364
|
+
const { form } = useContext(LastPeriodFormContext);
|
|
3365
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
3366
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('dueDatePage.lastPeriod.lastPeriodLabel'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
3367
|
+
React__default.createElement(DatePicker, Object.assign({ rightSection: null }, form.getInputProps('lastPeriodDate'), { placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
3368
|
+
withinPortal: true,
|
|
3369
|
+
}, maxDate: new Date() }))),
|
|
3370
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('dueDatePage.lastPeriod.periodLengthLabel'), rightSection: t('ovulationPage.dayUnit') },
|
|
3371
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: 20, max: 40, placeholder: t('tools.inputPlaceholder', {
|
|
3372
|
+
content: '30',
|
|
3373
|
+
}) }, form.getInputProps('periodLength')))),
|
|
3374
|
+
form.errors.periodLength && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.periodLength))));
|
|
3352
3375
|
};
|
|
3353
3376
|
|
|
3354
3377
|
const LastPeriodForm = ({}) => {
|
|
3355
3378
|
const { formLayout, onSubmit, currentUrl, submitProps } = useContext(DueDateFormContext);
|
|
3356
3379
|
const { t } = useTranslations();
|
|
3380
|
+
const theme = useMantineTheme();
|
|
3381
|
+
const isMarryBaby = theme.other.template === 'mb';
|
|
3357
3382
|
const form = useForm({
|
|
3358
3383
|
initialValues: {
|
|
3359
3384
|
lastPeriodDate: new Date(),
|
|
@@ -3370,7 +3395,7 @@ const LastPeriodForm = ({}) => {
|
|
|
3370
3395
|
};
|
|
3371
3396
|
return (React__default.createElement(LastPeriodFormContext.Provider, { value: { form } },
|
|
3372
3397
|
React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: formLayout }, formProps),
|
|
3373
|
-
formLayout === '
|
|
3398
|
+
formLayout === 'inline' ? (React__default.createElement(InlineLayout$2, null)) : isMarryBaby ? (React__default.createElement(MbLayout$3, null)) : (React__default.createElement(DefaultLayout$2, null)),
|
|
3374
3399
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ dataEventCategory: "Health Tool", dataEventAction: "Due Date", dataEventLabel: currentUrl, className: "due-date-calculate-button", type: "submit" }, submitProps), t('dueDatePage.lastPeriod.calculate')))));
|
|
3375
3400
|
};
|
|
3376
3401
|
|
|
@@ -3417,8 +3442,9 @@ const DueDateForm = (_a) => {
|
|
|
3417
3442
|
setCalculatorType,
|
|
3418
3443
|
} },
|
|
3419
3444
|
React__default.createElement(HealthToolFormWrapper, Object.assign({ component: "div", formLayout: "default" }, props),
|
|
3420
|
-
React__default.createElement(
|
|
3421
|
-
React__default.createElement(
|
|
3445
|
+
React__default.createElement(HealthToolFormWrapper.Control, null,
|
|
3446
|
+
React__default.createElement(Input$1.Wrapper, { label: t('dueDatePage.calculationMethod') },
|
|
3447
|
+
React__default.createElement(HealthToolFormWrapper.ChipGroup, { isMobile: isMobile, data: calculatingMethods, defaultValue: String(DueDateCalculatorType$1.lastPeriod), onChange: (v) => setCalculatorType(Number(v)) }))),
|
|
3422
3448
|
React__default.createElement(FormSwitcher, null))));
|
|
3423
3449
|
};
|
|
3424
3450
|
|
|
@@ -3613,29 +3639,25 @@ const InlineForm$2 = (props) => {
|
|
|
3613
3639
|
const { control, bmiGenerated, isTouched, linkTool, submitProps } = useContext(BmiFormContext);
|
|
3614
3640
|
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "inline" }, props),
|
|
3615
3641
|
React__default.createElement(Controller, { name: "gender", control: control, rules: (_a = bmiGenerated.gender) === null || _a === void 0 ? void 0 : _a.rule, render: ({ field: { onChange }, fieldState: { error } }) => {
|
|
3616
|
-
return (React__default.createElement(HealthToolFormWrapper.
|
|
3617
|
-
React__default.createElement(
|
|
3618
|
-
React__default.createElement(GenderOptionControl, { type: "radio", hideLabel: true, error: isTouched ? React__default.createElement(React__default.Fragment, null) : '', onChange: onChange })),
|
|
3619
|
-
isTouched && (error === null || error === void 0 ? void 0 : error.message) && (React__default.createElement(HealthToolFormWrapper.Error, null, error.message))));
|
|
3642
|
+
return (React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('tools.selectGender'), width: 'none', errorMess: isTouched && (error === null || error === void 0 ? void 0 : error.message) },
|
|
3643
|
+
React__default.createElement(GenderOptionControl, { type: "radio", hideLabel: true, error: isTouched ? React__default.createElement(React__default.Fragment, null) : '', onChange: onChange })));
|
|
3620
3644
|
} }),
|
|
3621
3645
|
React__default.createElement(Controller, { name: "age", control: control, rules: (_b = bmiGenerated.age) === null || _b === void 0 ? void 0 : _b.rule, render: ({ field: { name, value, onChange }, fieldState: { error }, }) => {
|
|
3622
|
-
return (React__default.createElement(HealthToolFormWrapper.
|
|
3623
|
-
React__default.createElement(
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
}) })),
|
|
3631
|
-
isTouched && (error === null || error === void 0 ? void 0 : error.message) && (React__default.createElement(HealthToolFormWrapper.Error, null, error.message))));
|
|
3646
|
+
return (React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('bmi.ageInput'), errorMess: isTouched && (error === null || error === void 0 ? void 0 : error.message) },
|
|
3647
|
+
React__default.createElement(Input$1.Number, { placeholder: t('tools.inputPlaceholder', {
|
|
3648
|
+
content: '25',
|
|
3649
|
+
}), name: name, value: value, onChange: onChange, error: isTouched && (error === null || error === void 0 ? void 0 : error.message) ? React__default.createElement(React__default.Fragment, null) : '', min: 0, rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('tools.yearsOld')), styles: () => ({
|
|
3650
|
+
rightSection: {
|
|
3651
|
+
width: 'auto',
|
|
3652
|
+
},
|
|
3653
|
+
}) })));
|
|
3632
3654
|
} }),
|
|
3633
3655
|
React__default.createElement(Controller, { name: "height", control: control, rules: (_c = bmiGenerated.height) === null || _c === void 0 ? void 0 : _c.rule, render: ({ field: { name, value, onChange }, fieldState: { error }, }) => {
|
|
3634
3656
|
return (React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
3635
3657
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('bmi.heightInput') },
|
|
3636
3658
|
React__default.createElement(Input$1.Number, { placeholder: t('tools.inputPlaceholder', {
|
|
3637
3659
|
content: '170',
|
|
3638
|
-
}), name: name, value: value, onChange: onChange, min: 0, error: isTouched && (error === null || error === void 0 ? void 0 : error.message) ? React__default.createElement(React__default.Fragment, null) : '', rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('
|
|
3660
|
+
}), name: name, value: value, onChange: onChange, min: 0, error: isTouched && (error === null || error === void 0 ? void 0 : error.message) ? React__default.createElement(React__default.Fragment, null) : '', rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('babyGrowth.cm')) })),
|
|
3639
3661
|
isTouched && (error === null || error === void 0 ? void 0 : error.message) && (React__default.createElement(HealthToolFormWrapper.Error, null, error.message))));
|
|
3640
3662
|
} }),
|
|
3641
3663
|
React__default.createElement(Controller, { name: "weight", control: control, rules: (_d = bmiGenerated.weight) === null || _d === void 0 ? void 0 : _d.rule, render: ({ field: { name, value, onChange }, fieldState: { error }, }) => {
|
|
@@ -3643,7 +3665,7 @@ const InlineForm$2 = (props) => {
|
|
|
3643
3665
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('bmi.weightInput') },
|
|
3644
3666
|
React__default.createElement(Input$1.Number, { placeholder: t('tools.inputPlaceholder', {
|
|
3645
3667
|
content: '60',
|
|
3646
|
-
}), name: name, value: value, onChange: onChange, error: isTouched && (error === null || error === void 0 ? void 0 : error.message) ? React__default.createElement(React__default.Fragment, null) : '', precision: 1, min: 0, rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('
|
|
3668
|
+
}), name: name, value: value, onChange: onChange, error: isTouched && (error === null || error === void 0 ? void 0 : error.message) ? React__default.createElement(React__default.Fragment, null) : '', precision: 1, min: 0, rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('babyGrowth.kg')) })),
|
|
3647
3669
|
isTouched && (error === null || error === void 0 ? void 0 : error.message) && (React__default.createElement(HealthToolFormWrapper.Error, null, error.message))));
|
|
3648
3670
|
} }),
|
|
3649
3671
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ className: "bmi-btn bmi--btn-submit", dataEventCategory: "Health Tool", dataEventAction: "BMI", dataEventLabel: `https://${domainLocales[locale]}/${linkTool}`, type: "submit" }, submitProps), t('bmi.submit'))));
|
|
@@ -3765,15 +3787,13 @@ var useStyles$1 = createStyles((theme, { hasOnClickFn }) => {
|
|
|
3765
3787
|
const BabyPoopForm = (_a) => {
|
|
3766
3788
|
var { babyPoopPage, onClickFindOut, currentUrl, sponsorLogo, btnProps, styles, classNames } = _a, props = __rest(_a, ["babyPoopPage", "onClickFindOut", "currentUrl", "sponsorLogo", "btnProps", "styles", "classNames"]);
|
|
3767
3789
|
const { t } = useTranslations();
|
|
3768
|
-
const _theme = useMantineTheme();
|
|
3769
|
-
const isMarryBaby = _theme.other.template === 'mb';
|
|
3770
3790
|
const { classes } = useStyles$1({ hasOnClickFn: Boolean(onClickFindOut) }, { name: 'BabyPoopForm', styles, classNames });
|
|
3771
3791
|
return (React__default.createElement(Box, Object.assign({ className: classes.root }, props),
|
|
3772
3792
|
sponsorLogo && (React__default.createElement(Box, { className: classes.sponsorBox },
|
|
3773
3793
|
React__default.createElement(Text, { size: "p4" }, t('common.sponsoredBy')),
|
|
3774
3794
|
React__default.createElement("img", { loading: "lazy", src: sponsorLogo, alt: "sponsor", className: classes.sponsorLogo }))),
|
|
3775
3795
|
React__default.createElement(Text, { size: "p3", className: "description" }, babyPoopPage.description),
|
|
3776
|
-
React__default.createElement(Button$1, Object.assign({ className: classes.btn,
|
|
3796
|
+
React__default.createElement(Button$1, Object.assign({ className: classes.btn, onClick: onClickFindOut, dataEventCategory: "Health Tool", dataEventAction: "Baby Stool Inquiry", dataEventLabel: currentUrl }, btnProps), t('babyPoop.findOut'))));
|
|
3777
3797
|
};
|
|
3778
3798
|
|
|
3779
3799
|
const BabyPoopEmbed = (_a) => {
|
|
@@ -4096,12 +4116,13 @@ const DefaultLayout$1 = (_a) => {
|
|
|
4096
4116
|
const { t } = useTranslations();
|
|
4097
4117
|
const { currentUrl, submitProps, form, calculatingMethods } = useContext(OvulationFormContext);
|
|
4098
4118
|
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "default" }, props),
|
|
4099
|
-
React__default.createElement(HealthToolFormWrapper.
|
|
4119
|
+
React__default.createElement(HealthToolFormWrapper.Control, null,
|
|
4120
|
+
React__default.createElement(HealthToolFormWrapper.ChipGroup, Object.assign({ data: calculatingMethods, label: t('dueDatePage.calculationMethod') }, form.getInputProps('calculatorType')))),
|
|
4100
4121
|
React__default.createElement(DatePicker, Object.assign({ placeholder: "DD/MM/YYYY", popoverProps: {
|
|
4101
4122
|
withinPortal: true,
|
|
4102
4123
|
}, label: t('dueDatePage.lastPeriod.lastPeriodLabel'), maxDate: new Date() }, form.getInputProps('lastPeriodDate'))),
|
|
4103
|
-
React__default.createElement(Input$1.Number, Object.assign({ label: t('ovulationPage.cycleLength')
|
|
4104
|
-
React__default.createElement(Input$1.Number, Object.assign({ label: t('ovulationPage.periodDuration')
|
|
4124
|
+
React__default.createElement(Input$1.Number, Object.assign({ label: `${t('ovulationPage.cycleLength')} (${t('ovulationPage.dayUnit')})`, min: 21, max: 45, defaultValue: 1 }, form.getInputProps('cycleLength'))),
|
|
4125
|
+
React__default.createElement(Input$1.Number, Object.assign({ label: `${t('ovulationPage.periodDuration')} (${t('ovulationPage.dayUnit')})`, min: 1, max: 15, defaultValue: 1 }, form.getInputProps('periodLength'))),
|
|
4105
4126
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", className: "due-date-calculate-button", dataEventCategory: "Health Tool", dataEventAction: "Ovulation", dataEventLabel: currentUrl }, submitProps), t('dueDatePage.lastPeriod.calculate'))));
|
|
4106
4127
|
};
|
|
4107
4128
|
|
|
@@ -4132,16 +4153,19 @@ const MbLayout$2 = (_a) => {
|
|
|
4132
4153
|
const { t } = useTranslations();
|
|
4133
4154
|
const { currentUrl, submitProps, form, calculatingMethods } = useContext(OvulationFormContext);
|
|
4134
4155
|
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "inline" }, props),
|
|
4135
|
-
React__default.createElement(
|
|
4136
|
-
React__default.createElement(
|
|
4137
|
-
|
|
4156
|
+
React__default.createElement(HealthToolFormWrapper.Control, null,
|
|
4157
|
+
React__default.createElement(Input$1.Wrapper, { label: React__default.createElement(Text, { size: "p4", sx: { fontWeight: 'normal' } }, t('dueDatePage.calculationMethod')) },
|
|
4158
|
+
React__default.createElement(HealthToolFormWrapper.ChipGroup, Object.assign({ data: calculatingMethods }, form.getInputProps('calculatorType'))))),
|
|
4159
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('dueDatePage.lastPeriod.lastPeriodLabel'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
4138
4160
|
React__default.createElement(DatePicker, Object.assign({ placeholder: "DD/MM/YYYY", popoverProps: {
|
|
4139
4161
|
withinPortal: true,
|
|
4140
4162
|
}, maxDate: new Date(), rightSection: null }, form.getInputProps('lastPeriodDate')))),
|
|
4141
4163
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('ovulationPage.cycleLength'), rightSection: t('ovulationPage.dayUnit') },
|
|
4142
4164
|
React__default.createElement(Input$1.Number, Object.assign({ min: 21, max: 45, defaultValue: 1 }, form.getInputProps('cycleLength')))),
|
|
4165
|
+
form.errors.cycleLength && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.cycleLength)),
|
|
4143
4166
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('ovulationPage.periodDuration'), rightSection: t('ovulationPage.dayUnit') },
|
|
4144
4167
|
React__default.createElement(Input$1.Number, Object.assign({ min: 1, max: 15, defaultValue: 1 }, form.getInputProps('periodLength')))),
|
|
4168
|
+
form.errors.periodLength && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.periodLength)),
|
|
4145
4169
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", className: "due-date-calculate-button", dataEventCategory: "Health Tool", dataEventAction: "Ovulation", dataEventLabel: currentUrl }, submitProps), t('dueDatePage.lastPeriod.calculate'))));
|
|
4146
4170
|
};
|
|
4147
4171
|
|
|
@@ -4186,7 +4210,7 @@ const OvulationForm = (_a) => {
|
|
|
4186
4210
|
icon: React__default.createElement(AvoidPregnancy, null),
|
|
4187
4211
|
},
|
|
4188
4212
|
];
|
|
4189
|
-
return (React__default.createElement(OvulationFormContext.Provider, { value: { submitProps, currentUrl, form, isMobile, calculatingMethods } },
|
|
4213
|
+
return (React__default.createElement(OvulationFormContext.Provider, { value: { submitProps, currentUrl, form, isMobile, calculatingMethods } }, formLayout === 'inline' ? (React__default.createElement(InlineLayout$1, Object.assign({}, commonProps))) : isMarryBaby ? (React__default.createElement(MbLayout$2, Object.assign({}, commonProps))) : (React__default.createElement(DefaultLayout$1, Object.assign({}, commonProps)))));
|
|
4190
4214
|
};
|
|
4191
4215
|
|
|
4192
4216
|
const OvulationCardEmbed = (_a) => {
|
|
@@ -4240,16 +4264,15 @@ const MbLayout$1 = (_a) => {
|
|
|
4240
4264
|
var props = __rest(_a, []);
|
|
4241
4265
|
const { t } = useTranslations();
|
|
4242
4266
|
const { currentUrl, submitProps, form } = useContext(BabyVaccineFormContext);
|
|
4243
|
-
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "
|
|
4244
|
-
React__default.createElement(HealthToolFormWrapper.
|
|
4245
|
-
React__default.createElement(
|
|
4246
|
-
|
|
4247
|
-
form.errors.gender && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
4267
|
+
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "default" }, props),
|
|
4268
|
+
React__default.createElement(HealthToolFormWrapper.Control, null,
|
|
4269
|
+
React__default.createElement(GenderOptionControl, Object.assign({ isBaby: true }, form.getInputProps('gender'), { error: null }))),
|
|
4270
|
+
form.errors.gender && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender)),
|
|
4248
4271
|
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4249
|
-
React__default.createElement(HealthToolFormWrapper.
|
|
4272
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('babyGrowth.input.birthday'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
4250
4273
|
React__default.createElement(DatePicker, Object.assign({ placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
4251
4274
|
withinPortal: true,
|
|
4252
|
-
}, maxDate: new Date() }, form.getInputProps('age'), { error: null }))),
|
|
4275
|
+
}, maxDate: new Date(), rightSection: null }, form.getInputProps('age'), { error: null }))),
|
|
4253
4276
|
form.errors.age && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
4254
4277
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", className: "due-date-calculate-button", dataEventCategory: "Health Tool", dataEventAction: "Vaccination Tool", dataEventLabel: currentUrl }, submitProps), t('dueDatePage.lastPeriod.calculate'))));
|
|
4255
4278
|
};
|
|
@@ -4272,7 +4295,7 @@ const BabyVaccineForm = (_a) => {
|
|
|
4272
4295
|
},
|
|
4273
4296
|
});
|
|
4274
4297
|
const commonProps = Object.assign({ onSubmit: form.onSubmit(onSubmit) }, props);
|
|
4275
|
-
return (React__default.createElement(BabyVaccineFormContext.Provider, { value: { submitProps, currentUrl, form } },
|
|
4298
|
+
return (React__default.createElement(BabyVaccineFormContext.Provider, { value: { submitProps, currentUrl, form } }, formLayout === 'inline' ? (React__default.createElement(InlineLayout, Object.assign({}, commonProps))) : isMarryBaby ? (React__default.createElement(MbLayout$1, Object.assign({}, commonProps))) : (React__default.createElement(DefaultLayout, Object.assign({}, commonProps)))));
|
|
4276
4299
|
};
|
|
4277
4300
|
|
|
4278
4301
|
const BabyVaccineCardEmbed = (_a) => {
|
|
@@ -4325,15 +4348,15 @@ const InlineForm = (_a) => {
|
|
|
4325
4348
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('pregnancyWeightGain.weightBeforeInput') },
|
|
4326
4349
|
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('lastWeight'), { min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max, placeholder: t('tools.inputPlaceholder', {
|
|
4327
4350
|
content: '50',
|
|
4328
|
-
}), rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('
|
|
4351
|
+
}), rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('babyGrowth.kg')) }))),
|
|
4329
4352
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('pregnancyWeightGain.heightInput') },
|
|
4330
4353
|
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('height'), { min: INPUT_RANGE.height.min, max: INPUT_RANGE.height.max, placeholder: t('tools.inputPlaceholder', {
|
|
4331
4354
|
content: '160',
|
|
4332
|
-
}), rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('
|
|
4355
|
+
}), rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('babyGrowth.cm')) }))),
|
|
4333
4356
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('pregnancyWeightGain.weightInput') },
|
|
4334
4357
|
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('weight'), { min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max, placeholder: t('tools.inputPlaceholder', {
|
|
4335
4358
|
content: '50',
|
|
4336
|
-
}), rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('
|
|
4359
|
+
}), rightSection: React__default.createElement(HealthToolFormWrapper.Unit, null, t('babyGrowth.kg')) }))),
|
|
4337
4360
|
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('pregnancyWeightGain.havingTwins'), width: 'none' },
|
|
4338
4361
|
React__default.createElement(HealthToolFormWrapper.Switching, Object.assign({}, form.getInputProps('hasTwin')))),
|
|
4339
4362
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", dataEventCategory: "Health Tool", dataEventAction: "Embedded Pregnancy Weight Gain", dataEventLabel: `https://${domainLocales[isMarryBaby ? 'vi-VN_MB' : locale]}/${linkTool}`, className: "due-date-calculate-button" }, submitProps), t('dueDatePage.lastPeriod.calculate'))));
|
|
@@ -4348,19 +4371,25 @@ const MbLayout = (_a) => {
|
|
|
4348
4371
|
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "default" }, props),
|
|
4349
4372
|
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4350
4373
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('pregnancyWeightGain.weekInput'), rightSection: t('pregnancy.week') },
|
|
4351
|
-
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.pregnantWeek.min, max: INPUT_RANGE.pregnantWeek.max, placeholder: `${INPUT_RANGE.pregnantWeek.min} - ${INPUT_RANGE.pregnantWeek.max}` }, form.getInputProps('pregnantWeek')
|
|
4374
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.pregnantWeek.min, max: INPUT_RANGE.pregnantWeek.max, placeholder: `${INPUT_RANGE.pregnantWeek.min} - ${INPUT_RANGE.pregnantWeek.max}` }, form.getInputProps('pregnantWeek')))),
|
|
4352
4375
|
form.errors.pregnantWeek && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.pregnantWeek))),
|
|
4353
4376
|
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4354
4377
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('pregnancyWeightGain.weightBeforeInput'), rightSection: "kg" },
|
|
4355
|
-
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max }, form.getInputProps('lastWeight'), {
|
|
4378
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max }, form.getInputProps('lastWeight'), { placeholder: t('tools.inputPlaceholder', {
|
|
4379
|
+
content: '50',
|
|
4380
|
+
}) }))),
|
|
4356
4381
|
form.errors.lastWeight && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.lastWeight))),
|
|
4357
4382
|
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4358
4383
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('pregnancyWeightGain.heightInput'), rightSection: "cm" },
|
|
4359
|
-
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.height.min, max: INPUT_RANGE.height.max }, form.getInputProps('height'), {
|
|
4384
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.height.min, max: INPUT_RANGE.height.max }, form.getInputProps('height'), { placeholder: t('tools.inputPlaceholder', {
|
|
4385
|
+
content: '160',
|
|
4386
|
+
}) }))),
|
|
4360
4387
|
form.errors.height && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.height))),
|
|
4361
4388
|
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4362
4389
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('pregnancyWeightGain.weightInput'), rightSection: "kg" },
|
|
4363
|
-
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max }, form.getInputProps('weight'), {
|
|
4390
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max }, form.getInputProps('weight'), { placeholder: t('tools.inputPlaceholder', {
|
|
4391
|
+
content: '50',
|
|
4392
|
+
}) }))),
|
|
4364
4393
|
form.errors.weight && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.weight))),
|
|
4365
4394
|
React__default.createElement(HealthToolFormWrapper.Switching, Object.assign({ label: t('pregnancyWeightGain.havingTwins') }, form.getInputProps('hasTwin'))),
|
|
4366
4395
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", dataEventCategory: "Health Tool", dataEventAction: "Embedded Pregnancy Weight Gain", dataEventLabel: `https://${domainLocales[isMarryBaby ? 'vi-VN_MB' : locale]}/${linkTool}`, className: "due-date-calculate-button" }, submitProps), t('dueDatePage.lastPeriod.calculate'))));
|
|
@@ -4398,7 +4427,7 @@ const PWGForm = (_a) => {
|
|
|
4398
4427
|
linkTool,
|
|
4399
4428
|
form,
|
|
4400
4429
|
submitProps,
|
|
4401
|
-
} },
|
|
4430
|
+
} }, formLayout === 'inline' ? (React__default.createElement(InlineForm, Object.assign({}, commonProps))) : isMarryBaby ? (React__default.createElement(MbLayout, Object.assign({}, commonProps))) : (React__default.createElement(DefaultForm, Object.assign({}, commonProps)))));
|
|
4402
4431
|
};
|
|
4403
4432
|
|
|
4404
4433
|
const PWGCardEmbed = (_a) => {
|