@hhgtech/hhg-components 1.29.61 → 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-230da220.js → Instagram-a10cd9c6.js} +1 -1
- package/build/{WhatsApp-e25f4a86.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-a915e0f0.js → constants-a454b425.js} +2 -2
- package/build/{constants-8c030539.js → constants-a60921cb.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-0c4e7362.js → core-ebaf0628.js} +2 -2
- package/build/{dataTransform-d7f25f17.js → dataTransform-a52f020f.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-1a65c7a7.js → Instagram-ccfb450e.js} +1 -1
- package/build/esm/{WhatsApp-cec8440d.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-97326532.js → constants-8898d04d.js} +2 -2
- package/build/esm/{constants-a57f31dd.js → constants-b9e6440f.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-22513bd6.js → core-a346e8ff.js} +2 -2
- package/build/esm/{dataTransform-eea38730.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-57ab6d7f.js → getDynamicHealthTool-1ec56ae5.js} +4 -4
- package/build/esm/{getSocialList-17e857c1.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-dbdd8909.js → index-0a713283.js} +144 -115
- package/build/esm/{index-32fdf36b.js → index-119e1858.js} +32 -32
- package/build/esm/{index-a0add3e6.js → index-16c00591.js} +6 -6
- package/build/esm/{index-036bbef6.js → index-1feede96.js} +2 -2
- package/build/esm/{index-51f79a77.js → index-2976962f.js} +9 -9
- package/build/esm/{index-900ddedd.js → index-320c91f7.js} +1 -1
- package/build/esm/{index-5a84e0a9.js → index-39726256.js} +3 -3
- package/build/esm/{index-71a385cb.js → index-465a013b.js} +12 -12
- package/build/esm/{index-98b5fc68.js → index-4dd17fe7.js} +2 -2
- package/build/esm/{index-595d3775.js → index-531034de.js} +4 -4
- package/build/esm/{index-8f887d1a.js → index-62383856.js} +2 -2
- package/build/esm/{index-d8639939.js → index-777e605e.js} +2 -2
- package/build/esm/{index-f3a492e5.js → index-93f7fdcd.js} +2 -2
- package/build/esm/{index-9aa58011.js → index-9ea4b5e6.js} +4 -4
- package/build/esm/{index-21f69a62.js → index-a356ee67.js} +2 -2
- package/build/esm/{index-d35a8ec2.js → index-aac1eed0.js} +9 -9
- package/build/esm/{index-a3d909bc.js → index-b7a0f534.js} +5 -5
- package/build/esm/{index-e37c07ec.js → index-baa2cf87.js} +2 -2
- package/build/esm/{index-95823e6a.js → index-c1d4e8aa.js} +10 -10
- package/build/esm/{index-38222f65.js → index-d923e380.js} +2 -2
- package/build/esm/{index-834e477b.js → index-de0eebee.js} +2 -2
- package/build/esm/{index-3ca3bfd4.js → index-e67ef62d.js} +122 -35
- package/build/esm/{index-2215fe18.js → index-faa709ae.js} +6 -6
- package/build/esm/{index-99f5d353.js → index-ffdc32d1.js} +11 -11
- package/build/esm/index.js +65 -65
- package/build/esm/{index.styled-bca18810.js → index.styled-fabb3b23.js} +2 -2
- package/build/esm/{index.styles-52138e14.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-138b4ebf.js → routing-a8a01f2f.js} +2 -2
- package/build/esm/subot.js +23 -23
- package/build/esm/together.js +35 -35
- package/build/esm/{types-fe6a2b49.js → types-83e67d91.js} +30 -30
- package/build/esm/{types-b2d56bfa.js → types-d5fb3a13.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-b6867e72.js → useCategory-60c73fbc.js} +5 -5
- package/build/esm/{useHealthToolCache-0886d3ab.js → useHealthToolCache-3e27635b.js} +2 -2
- package/build/esm/{useMantineLocale-9cbb1827.js → useMantineLocale-ce44cbda.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-6c7c66e8.js → usePlacesAutocomplete-55876d5a.js} +1 -1
- package/build/esm/{useTranslations-b308515e.js → useTranslations-cf6fd3e4.js} +1 -1
- package/build/esm/{utils-5fae0186.js → utils-4a086f15.js} +5 -5
- package/build/esm/{utils-6eef912a.js → utils-a7becf5a.js} +1 -1
- package/build/esm/{utils-73013c02.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-50faf5ee.js → getDynamicHealthTool-390c6c88.js} +4 -4
- package/build/{getSocialList-c60604c2.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-122d4dec.js → index-1af5bfb4.js} +2 -2
- package/build/{index-05c53a22.js → index-279088f6.js} +6 -6
- package/build/{index-bde92ced.js → index-2b51fc78.js} +2 -2
- package/build/{index-3b84fbf2.js → index-2b64835e.js} +9 -9
- package/build/{index-f438b122.js → index-306bea55.js} +2 -2
- package/build/{index-3ff193ab.js → index-349048ed.js} +4 -4
- package/build/{index-0e560dfe.js → index-5ba2dbd8.js} +143 -114
- package/build/{index-851000cb.js → index-620454c4.js} +32 -32
- package/build/{index-4464d676.js → index-62d6acb2.js} +12 -12
- package/build/{index-3e483b0c.js → index-75cf4571.js} +1 -1
- package/build/{index-0713d896.js → index-7611f400.js} +2 -2
- package/build/{index-8573fef8.js → index-98e609f3.js} +2 -2
- package/build/{index-015aeee0.js → index-9ace28d8.js} +4 -4
- package/build/{index-f4596b87.js → index-9c927505.js} +121 -34
- package/build/{index-5bea659c.js → index-a11dbe7a.js} +2 -2
- package/build/{index-4750a566.js → index-ab46b7b1.js} +10 -10
- package/build/{index-2afbc4fa.js → index-b9268074.js} +2 -2
- package/build/{index-789787d8.js → index-c366417f.js} +2 -2
- package/build/{index-906e9595.js → index-d10c16ae.js} +2 -2
- package/build/{index-28cd57d4.js → index-d701f2f0.js} +5 -5
- package/build/{index-8ef76968.js → index-e36841d2.js} +3 -3
- package/build/{index-c1170063.js → index-e57b5f57.js} +11 -11
- package/build/{index-9b4f322e.js → index-ea4553c5.js} +6 -6
- package/build/{index-1eb3ad11.js → index-fc7a35e4.js} +9 -9
- package/build/index.js +65 -65
- package/build/{index.styled-917f01e8.js → index.styled-8e2e9812.js} +2 -2
- package/build/{index.styles-473e33f2.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-3d761c64.js → routing-283c0157.js} +2 -2
- package/build/subot.js +23 -23
- package/build/together.js +35 -35
- package/build/{types-0543943c.js → types-2b80c073.js} +13 -13
- package/build/{types-89b3b94d.js → types-47887bb0.js} +30 -30
- package/build/types.js +1 -1
- package/build/{useCategory-6fa8707b.js → useCategory-df90f4ea.js} +5 -5
- package/build/{useHealthToolCache-07649ce7.js → useHealthToolCache-37aad87d.js} +2 -2
- package/build/{useMantineLocale-31c1836a.js → useMantineLocale-e18d4ed6.js} +3 -3
- package/build/{usePlacesAutocomplete-defb9d43.js → usePlacesAutocomplete-1fedd1cb.js} +1 -1
- package/build/{useTranslations-d33ab102.js → useTranslations-ff8010a9.js} +1 -1
- package/build/{utils-188a0659.js → utils-a1c4c7f3.js} +5 -5
- package/build/{utils-f5edf247.js → utils-afa1b3a6.js} +1 -1
- package/build/{utils-08fedc87.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-94c973f1.js → BMI_BOYS.percentile.monthly-951fa2ec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-305b1516.js → BMI_BOYS.percentile.weekly-980ff0fc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-40ecbe90.js → BMI_BOYS.percentile.yearly-d032e209.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1947bf05.js → BMI_BOYS.zscore.monthly-1803a45b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-c70f4684.js → BMI_BOYS.zscore.weekly-8ee2d106.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-40857829.js → BMI_BOYS.zscore.yearly-78fa4d45.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-6cf6d874.js → BMI_GIRLS.percentile.monthly-6bcdc56b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a67fefc0.js → BMI_GIRLS.percentile.weekly-1e31c07d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-315d74a4.js → BMI_GIRLS.percentile.yearly-20be287d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a0b1ca94.js → BMI_GIRLS.zscore.monthly-5418196f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5c9f3d7f.js → BMI_GIRLS.zscore.weekly-df5543e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-00b03f7a.js → BMI_GIRLS.zscore.yearly-cb1566c8.js} +0 -0
- /package/build/{ChevronDown-d5c80005.js → ChevronDown-d95b1035.js} +0 -0
- /package/build/{Close-bc1799e4.js → Close-4f787ff2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-62d0e3a6.js → HEAD CIRCUM_BOYS.percentile.monthly-5daa3a00.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-661574f3.js → HEAD CIRCUM_BOYS.percentile.weekly-33e2a46f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-45da53eb.js → HEAD CIRCUM_BOYS.percentile.yearly-ff2dd96f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-42ed01f4.js → HEAD CIRCUM_BOYS.zscore.monthly-f4d8877c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-25adf76d.js → HEAD CIRCUM_BOYS.zscore.weekly-1536260d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-89c3ee2d.js → HEAD CIRCUM_BOYS.zscore.yearly-bfeecafa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-58afaf28.js → HEAD CIRCUM_GIRLS.percentile.monthly-55136779.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-86c1d25d.js → HEAD CIRCUM_GIRLS.percentile.weekly-b4c7dc1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-57f96136.js → HEAD CIRCUM_GIRLS.percentile.yearly-ea6dfb6c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3ab48d33.js → HEAD CIRCUM_GIRLS.zscore.monthly-1f5a1d37.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3f9a3347.js → HEAD CIRCUM_GIRLS.zscore.weekly-1e5e764e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-8ec764c0.js → HEAD CIRCUM_GIRLS.zscore.yearly-c510d0ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1b1ddefe.js → HEIGHT_BOYS.percentile.monthly-50022bbb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-24ba07b1.js → HEIGHT_BOYS.percentile.weekly-73e09dd2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e68100c6.js → HEIGHT_BOYS.percentile.yearly-d5614acd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-96ea0c98.js → HEIGHT_BOYS.zscore.monthly-91b5615e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8cfd180f.js → HEIGHT_BOYS.zscore.weekly-fcbb9cbc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a8bddcc6.js → HEIGHT_BOYS.zscore.yearly-24d39469.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-0d99b61f.js → HEIGHT_GIRLS.percentile.monthly-000a3992.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-86503ec0.js → HEIGHT_GIRLS.percentile.weekly-fc4484b9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-18c9d9d6.js → HEIGHT_GIRLS.percentile.yearly-eacf13da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-0c1bd7c8.js → HEIGHT_GIRLS.zscore.monthly-a9c9285c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-11ae0c87.js → HEIGHT_GIRLS.zscore.weekly-6f32d4b6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3f64ad14.js → HEIGHT_GIRLS.zscore.yearly-01313930.js} +0 -0
- /package/build/{Visible-180fefc6.js → Visible-850168da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2c757dc9.js → WEIGHT_BOYS.percentile.monthly-0e81ba1d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-29e77779.js → WEIGHT_BOYS.percentile.weekly-195fc43f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-da66c97b.js → WEIGHT_BOYS.percentile.yearly-5908d145.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-92473821.js → WEIGHT_BOYS.zscore.monthly-1a4550d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e0da2194.js → WEIGHT_BOYS.zscore.weekly-598852f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b19628ac.js → WEIGHT_BOYS.zscore.yearly-ea1d3f22.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-97b93c9c.js → WEIGHT_GIRLS.percentile.monthly-4b468cfc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-03f06675.js → WEIGHT_GIRLS.percentile.weekly-6b9fb9d3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-1b2eec98.js → WEIGHT_GIRLS.percentile.yearly-15d64500.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5dc86f2c.js → WEIGHT_GIRLS.zscore.monthly-11050a16.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-74b3efdc.js → WEIGHT_GIRLS.zscore.weekly-09048c47.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-defedb12.js → WEIGHT_GIRLS.zscore.yearly-05bb9d83.js} +0 -0
- /package/build/{animation-3583d725.js → animation-4b3e3fc8.js} +0 -0
- /package/build/{cart-1326a25a.js → cart-ff90df64.js} +0 -0
- /package/build/{cookieHelper-0dc7549a.js → cookieHelper-4eee6575.js} +0 -0
- /package/build/{doctor-a97bc91f.js → doctor-435f85cc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-81fa60d3.js → BMI_BOYS.percentile.monthly-2657b9ac.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-63609d37.js → BMI_BOYS.percentile.weekly-fa1650bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a1557ba5.js → BMI_BOYS.percentile.yearly-0e637f30.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2d168df7.js → BMI_BOYS.zscore.monthly-c2b56f2b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-38f132f7.js → BMI_BOYS.zscore.weekly-edbf3efb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dc3c0715.js → BMI_BOYS.zscore.yearly-7e6b0583.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c004d246.js → BMI_GIRLS.percentile.monthly-4d53b551.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c9578551.js → BMI_GIRLS.percentile.weekly-cb216f96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8e44012e.js → BMI_GIRLS.percentile.yearly-f1819a2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-681035b8.js → BMI_GIRLS.zscore.monthly-5c10b2db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-d5974189.js → BMI_GIRLS.zscore.weekly-11e412c0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3de08faa.js → BMI_GIRLS.zscore.yearly-ba8af7cd.js} +0 -0
- /package/build/esm/{ChevronDown-df6a3bd5.js → ChevronDown-f46763d3.js} +0 -0
- /package/build/esm/{Close-36e23ee9.js → Close-3413278b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-40db25b1.js → HEAD CIRCUM_BOYS.percentile.monthly-db758ef3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ac19494c.js → HEAD CIRCUM_BOYS.percentile.weekly-a39483ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-070fdb73.js → HEAD CIRCUM_BOYS.percentile.yearly-cb902511.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-8a9b856d.js → HEAD CIRCUM_BOYS.zscore.monthly-13ecd449.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-65ba9adb.js → HEAD CIRCUM_BOYS.zscore.weekly-b7490f44.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a72faa79.js → HEAD CIRCUM_BOYS.zscore.yearly-5aaf85d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-89c4b943.js → HEAD CIRCUM_GIRLS.percentile.monthly-bc7af031.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d8420963.js → HEAD CIRCUM_GIRLS.percentile.weekly-3c480877.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fdf55d7a.js → HEAD CIRCUM_GIRLS.percentile.yearly-576f019b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-db97bcd4.js → HEAD CIRCUM_GIRLS.zscore.monthly-bb0d8ad6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d6a1d5d6.js → HEAD CIRCUM_GIRLS.zscore.weekly-090e3ba0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ceca9e84.js → HEAD CIRCUM_GIRLS.zscore.yearly-5319d2a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c347f98c.js → HEIGHT_BOYS.percentile.monthly-d9e9fffc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-11cb15de.js → HEIGHT_BOYS.percentile.weekly-0b06783f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-017246b1.js → HEIGHT_BOYS.percentile.yearly-e4c68bb5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-01bafcb7.js → HEIGHT_BOYS.zscore.monthly-140d0410.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-70b86b82.js → HEIGHT_BOYS.zscore.weekly-d6b6f48f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-dee3966a.js → HEIGHT_BOYS.zscore.yearly-d444e82e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8d7d3f4c.js → HEIGHT_GIRLS.percentile.monthly-6b11c12a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-242ac3fb.js → HEIGHT_GIRLS.percentile.weekly-281a74eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5a2e3a7c.js → HEIGHT_GIRLS.percentile.yearly-3e320176.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-40521aef.js → HEIGHT_GIRLS.zscore.monthly-f4a488c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-49a8bc43.js → HEIGHT_GIRLS.zscore.weekly-cf2edd38.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7aac1871.js → HEIGHT_GIRLS.zscore.yearly-7c9cf63f.js} +0 -0
- /package/build/esm/{Visible-d5989724.js → Visible-8e3f3b2b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b05dc722.js → WEIGHT_BOYS.percentile.monthly-6b9f8428.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c8c8bd11.js → WEIGHT_BOYS.percentile.weekly-d4562de8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b9ab1698.js → WEIGHT_BOYS.percentile.yearly-9871ce3d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-378d8d2d.js → WEIGHT_BOYS.zscore.monthly-c572a171.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-61e4c5e4.js → WEIGHT_BOYS.zscore.weekly-83de702b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9d6224d4.js → WEIGHT_BOYS.zscore.yearly-93bb8ebf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fe8497c9.js → WEIGHT_GIRLS.percentile.monthly-9e4bfecf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-54017089.js → WEIGHT_GIRLS.percentile.weekly-a3b7d8f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-c8df7b86.js → WEIGHT_GIRLS.percentile.yearly-4531ab40.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-81120fde.js → WEIGHT_GIRLS.zscore.monthly-4662518d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-44e97d98.js → WEIGHT_GIRLS.zscore.weekly-b26ea326.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ef04187f.js → WEIGHT_GIRLS.zscore.yearly-3658a92f.js} +0 -0
- /package/build/esm/{animation-fa187b09.js → animation-075d530d.js} +0 -0
- /package/build/esm/{cart-13774386.js → cart-5a8514ba.js} +0 -0
- /package/build/esm/{cookieHelper-74d45e32.js → cookieHelper-d4de0565.js} +0 -0
- /package/build/esm/{doctor-557e92de.js → doctor-ae937e74.js} +0 -0
- /package/build/esm/{index-8479695d.js → index-29557e11.js} +0 -0
- /package/build/esm/{index-d0fa15c7.js → index-809cc43a.js} +0 -0
- /package/build/esm/{index-be1a7a94.js → index-e3a6c8b3.js} +0 -0
- /package/build/esm/{index-9f857ac5.js → index-e5a963a3.js} +0 -0
- /package/build/esm/{isProduction-b95a0408.js → isProduction-8940d360.js} +0 -0
- /package/build/esm/{localizeNumberFormat-29c7f4c6.js → localizeNumberFormat-608bd8b8.js} +0 -0
- /package/build/esm/{normalizeLink-bffe8d19.js → normalizeLink-0e772229.js} +0 -0
- /package/build/esm/{number-b439aa3d.js → number-cb0783fa.js} +0 -0
- /package/build/esm/{paths-d0378c1d.js → paths-7c9f0b69.js} +0 -0
- /package/build/esm/{theme-2cab734a.js → theme-de4e5929.js} +0 -0
- /package/build/esm/{translationsContext-24fa9c1f.js → translationsContext-a9c64944.js} +0 -0
- /package/build/esm/{tslib.es6-5450db07.js → tslib.es6-88a9e5c2.js} +0 -0
- /package/build/esm/{useIsInit-dbe8ad2c.js → useIsInit-388cfd8a.js} +0 -0
- /package/build/esm/{useOutsideClick-81cb7e5d.js → useOutsideClick-0b0fddf4.js} +0 -0
- /package/build/esm/{useScrollbarSize-9a756f42.js → useScrollbarSize-7bf5a8eb.js} +0 -0
- /package/build/esm/{useUniqueId-7cb0d235.js → useUniqueId-9c6b638c.js} +0 -0
- /package/build/esm/{utils-b28e77e7.js → utils-75e5fda9.js} +0 -0
- /package/build/{index-60b7ace8.js → index-450e2629.js} +0 -0
- /package/build/{index-96a41705.js → index-6ce326d3.js} +0 -0
- /package/build/{index-15ec88ab.js → index-967e63e9.js} +0 -0
- /package/build/{index-0d353d5f.js → index-ac7aa0ce.js} +0 -0
- /package/build/{isProduction-e8fae0ab.js → isProduction-5aa2ebcc.js} +0 -0
- /package/build/{localizeNumberFormat-0f525000.js → localizeNumberFormat-1ae3d94b.js} +0 -0
- /package/build/{normalizeLink-f04a9305.js → normalizeLink-b66bb05c.js} +0 -0
- /package/build/{number-09c3ef72.js → number-093ff334.js} +0 -0
- /package/build/{paths-f8aee0a4.js → paths-af2ba186.js} +0 -0
- /package/build/{theme-7d87f277.js → theme-991e77d4.js} +0 -0
- /package/build/{translationsContext-2437492e.js → translationsContext-2a1e6e04.js} +0 -0
- /package/build/{tslib.es6-9dc2b5c2.js → tslib.es6-c96f77e2.js} +0 -0
- /package/build/{useIsInit-985f901c.js → useIsInit-9a9d7406.js} +0 -0
- /package/build/{useOutsideClick-1bae3d60.js → useOutsideClick-75ea269b.js} +0 -0
- /package/build/{useScrollbarSize-2032ef79.js → useScrollbarSize-13e3f5a6.js} +0 -0
- /package/build/{useUniqueId-e24a8ccd.js → useUniqueId-ded74d2a.js} +0 -0
- /package/build/{utils-cec33bdf.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) => {
|