@hhgtech/hhg-components 1.29.44 → 1.29.45
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/{WhatsApp-e8724620.js → WhatsApp-b5951003.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/molecules/embeddedHeathToolCards/babyVaccine/index.d.ts +8 -0
- package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +3 -17
- package/build/components/molecules/healthTools/form/babyVaccineForm/context.d.ts +10 -0
- package/build/components/molecules/healthTools/form/babyVaccineForm/defaultLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/form/babyVaccineForm/index.d.ts +18 -0
- package/build/components/molecules/healthTools/form/babyVaccineForm/inlineLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/form/babyVaccineForm/mbLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/form/ovulationForm/context.d.ts +1 -0
- package/build/components/molecules/healthTools/form/ovulationForm/index.d.ts +2 -1
- package/build/components/molecules/index.d.ts +2 -0
- package/build/components.js +60 -58
- package/build/{constants-9478163a.js → constants-97f85d3c.js} +2 -2
- package/build/{constants-07a9e6cb.js → constants-ce8caeb2.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-e503fa42.js → core-0102fdae.js} +2 -2
- package/build/{dataTransform-2f6ca87c.js → dataTransform-4b5e389f.js} +1 -1
- package/build/ecom.js +6 -6
- package/build/esm/{WhatsApp-9dbce6f2.js → WhatsApp-c5ccc324.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/molecules/embeddedHeathToolCards/babyVaccine/index.d.ts +8 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +3 -17
- package/build/esm/components/molecules/healthTools/form/babyVaccineForm/context.d.ts +10 -0
- package/build/esm/components/molecules/healthTools/form/babyVaccineForm/defaultLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/form/babyVaccineForm/index.d.ts +18 -0
- package/build/esm/components/molecules/healthTools/form/babyVaccineForm/inlineLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/form/babyVaccineForm/mbLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/form/ovulationForm/context.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/form/ovulationForm/index.d.ts +2 -1
- package/build/esm/components/molecules/index.d.ts +2 -0
- package/build/esm/components.js +58 -58
- package/build/esm/{constants-c042f99f.js → constants-26f03b1f.js} +2 -2
- package/build/esm/{constants-e3536cb0.js → constants-fe7395e5.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-55c889b2.js → core-78cadfa4.js} +2 -2
- package/build/esm/{dataTransform-2a3b1414.js → dataTransform-0bcb6042.js} +1 -1
- package/build/esm/ecom.js +6 -6
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-75eac0f0.js → getDynamicHealthTool-a55689bf.js} +4 -4
- package/build/esm/{getSocialList-cffac849.js → getSocialList-918a05e4.js} +4 -4
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -0
- package/build/esm/i18n-values/hi-IN.js +1 -0
- package/build/esm/i18n-values/id-ID.js +1 -0
- package/build/esm/i18n-values/km-KH.js +1 -0
- package/build/esm/i18n-values/ms-MY.js +1 -0
- package/build/esm/i18n-values/my-MM.js +1 -0
- package/build/esm/i18n-values/th-TH.js +1 -0
- package/build/esm/i18n-values/tl-PH.js +1 -0
- package/build/esm/i18n-values/vi-VN.js +1 -0
- package/build/esm/i18n-values/vi-VN_MB.js +1 -0
- package/build/esm/i18n-values/zh-TW.js +1 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-7ef38b29.js → index-01f5218f.js} +32 -32
- package/build/esm/{index-d73390b2.js → index-0730cb03.js} +2 -2
- package/build/esm/{index-da45fa92.js → index-10423264.js} +11 -11
- package/build/esm/{index-c826cac0.js → index-1bbc81b2.js} +2 -2
- package/build/esm/{index-8a31b708.js → index-3eade222.js} +4 -4
- package/build/esm/{index-aebda8f4.js → index-43885bfb.js} +3 -3
- package/build/esm/{index-db0a1f04.js → index-49cc4e66.js} +2 -2
- package/build/esm/{index-c0c2dfbe.js → index-5a9b98ee.js} +2 -2
- package/build/esm/{index-f80d4ff8.js → index-5b5db772.js} +164 -68
- package/build/esm/{index-23fa4098.js → index-72b59998.js} +4 -4
- package/build/esm/{index-48fd5f17.js → index-8393482c.js} +2 -2
- package/build/esm/{index-724596e6.js → index-8f75a052.js} +12 -12
- package/build/esm/{index-f55cc5a7.js → index-8ff9e988.js} +2 -2
- package/build/esm/{index-4a001eda.js → index-950a89f0.js} +2 -2
- package/build/esm/{index-57b0dda2.js → index-99141b34.js} +2 -2
- package/build/esm/{index-6c8cda18.js → index-bbaa196e.js} +6 -6
- package/build/esm/{index-7aff3435.js → index-c82ef63d.js} +2 -2
- package/build/esm/{index-c8a34381.js → index-c9f15b6f.js} +4 -4
- package/build/esm/{index-a2cdc317.js → index-de0b462c.js} +2 -2
- package/build/esm/{index-329afe30.js → index-de5fbde2.js} +5 -5
- package/build/esm/{index-af5ce53c.js → index-e5356e0c.js} +22 -22
- package/build/esm/{index-56195940.js → index-e9e548e7.js} +1 -1
- package/build/esm/{index-343490b3.js → index-f19ef956.js} +9 -9
- package/build/esm/{index-52e1cb2b.js → index-f4d48e7c.js} +10 -10
- package/build/esm/{index-f0ac2d9c.js → index-f7b2cf2b.js} +9 -9
- package/build/esm/index.js +66 -66
- package/build/esm/{index.styled-e18670ac.js → index.styled-03c6007b.js} +2 -2
- package/build/esm/{index.styles-59f43d64.js → index.styles-950cf52f.js} +6 -6
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +21 -21
- package/build/esm/misc.js +19 -19
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +31 -31
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-e49e8c2d.js → routing-de0894b8.js} +2 -2
- package/build/esm/subot.js +22 -22
- package/build/esm/together.js +34 -34
- package/build/esm/{types-5c146654.js → types-af32dd4c.js} +13 -13
- package/build/esm/{types-4f36505b.js → types-ebd078bc.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-0a83368e.js → useCategory-e0237136.js} +5 -5
- package/build/esm/{useHealthToolCache-59feafe2.js → useHealthToolCache-7e55185d.js} +2 -2
- package/build/esm/{useMantineLocale-6a509174.js → useMantineLocale-39bfcb4d.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-3d150f39.js → usePlacesAutocomplete-5a5d482c.js} +1 -1
- package/build/esm/{useTranslations-3ea1638d.js → useTranslations-bd5502b7.js} +1 -1
- package/build/esm/{utils-101d2ed1.js → utils-0966b189.js} +5 -5
- package/build/esm/{utils-25cc1cc1.js → utils-86ffeab3.js} +1 -1
- package/build/esm/{utils-8a09aa51.js → utils-f28f8d21.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-d88a5e5c.js → getDynamicHealthTool-0d6713bf.js} +4 -4
- package/build/{getSocialList-473ff63e.js → getSocialList-e5aa2ff7.js} +4 -4
- package/build/hooks.js +17 -17
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +1 -0
- package/build/i18n-values/hi-IN.js +1 -0
- package/build/i18n-values/id-ID.js +1 -0
- package/build/i18n-values/km-KH.js +1 -0
- package/build/i18n-values/ms-MY.js +1 -0
- package/build/i18n-values/my-MM.js +1 -0
- package/build/i18n-values/th-TH.js +1 -0
- package/build/i18n-values/tl-PH.js +1 -0
- package/build/i18n-values/vi-VN.js +1 -0
- package/build/i18n-values/vi-VN_MB.js +1 -0
- package/build/i18n-values/zh-TW.js +1 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-5cf94c14.js → index-20b11d3c.js} +165 -67
- package/build/{index-c2ac4561.js → index-2dd59c7f.js} +2 -2
- package/build/{index-9c2050b5.js → index-2faf9fb0.js} +11 -11
- package/build/{index-fe3c222e.js → index-554d9614.js} +2 -2
- package/build/{index-c66838fb.js → index-56ebc3c0.js} +2 -2
- package/build/{index-c10c6d1e.js → index-599b38dd.js} +2 -2
- package/build/{index-124b40db.js → index-5efe02fe.js} +2 -2
- package/build/{index-915a13a1.js → index-6a930317.js} +4 -4
- package/build/{index-7f262dce.js → index-75f66b73.js} +4 -4
- package/build/{index-0ac8dfc2.js → index-7cdd7861.js} +2 -2
- package/build/{index-ed90d9b2.js → index-840d7784.js} +2 -2
- package/build/{index-4a3a9242.js → index-930490b6.js} +3 -3
- package/build/{index-3950786c.js → index-9a9b0f4c.js} +6 -6
- package/build/{index-cbb000d2.js → index-9e48430e.js} +2 -2
- package/build/{index-738cd2f1.js → index-aa71b901.js} +32 -32
- package/build/{index-d74282a1.js → index-bbe26f9e.js} +2 -2
- package/build/{index-df3a7b3f.js → index-c0627e2c.js} +9 -9
- package/build/{index-f7e4c060.js → index-c363f6b0.js} +10 -10
- package/build/{index-f84d349e.js → index-c3f73a4d.js} +12 -12
- package/build/{index-1b816464.js → index-c4e64941.js} +9 -9
- package/build/{index-a6b3d160.js → index-c95ec192.js} +1 -1
- package/build/{index-acee5b80.js → index-dd4e16ff.js} +4 -4
- package/build/{index-700708e8.js → index-e94d8fc3.js} +22 -22
- package/build/{index-997a78d5.js → index-f1afe37f.js} +5 -5
- package/build/{index-cba1387f.js → index-f43223d7.js} +2 -2
- package/build/index.js +68 -66
- package/build/{index.styled-944d0268.js → index.styled-76b0da80.js} +2 -2
- package/build/{index.styles-e8260d43.js → index.styles-3003e63e.js} +6 -6
- package/build/lead.js +28 -28
- package/build/mantine.js +18 -18
- package/build/misc.js +19 -19
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +30 -30
- package/build/pwg.js +19 -19
- package/build/{routing-d5905665.js → routing-2d227970.js} +2 -2
- package/build/subot.js +22 -22
- package/build/together.js +34 -34
- package/build/{types-89c5c272.js → types-0f65b2a5.js} +30 -30
- package/build/{types-77cc40b2.js → types-da9c5d86.js} +13 -13
- package/build/types.js +1 -1
- package/build/{useCategory-ccae31bb.js → useCategory-a50da042.js} +5 -5
- package/build/{useHealthToolCache-2046236a.js → useHealthToolCache-4a695b1d.js} +2 -2
- package/build/{useMantineLocale-531aaed6.js → useMantineLocale-71cf4d6c.js} +3 -3
- package/build/{usePlacesAutocomplete-f403c86c.js → usePlacesAutocomplete-2add26e6.js} +1 -1
- package/build/{useTranslations-3a6844ce.js → useTranslations-0d5204fb.js} +1 -1
- package/build/{utils-6fd64172.js → utils-3aa45436.js} +4 -4
- package/build/{utils-d237afdc.js → utils-5366ac41.js} +1 -1
- package/build/{utils-48e7d57a.js → utils-f0f0e055.js} +5 -5
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-0210e05b.js → BMI_BOYS.percentile.monthly-9c29a23f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-baa68483.js → BMI_BOYS.percentile.weekly-96f661ae.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d3ac5e26.js → BMI_BOYS.percentile.yearly-3bdab2f0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-af3644b0.js → BMI_BOYS.zscore.monthly-576e7055.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-29c97f80.js → BMI_BOYS.zscore.weekly-bacea677.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7ecdf6d3.js → BMI_BOYS.zscore.yearly-2c3c59f4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-b8d6bb6e.js → BMI_GIRLS.percentile.monthly-794fd475.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-126944ab.js → BMI_GIRLS.percentile.weekly-b2c08cba.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-0a25b119.js → BMI_GIRLS.percentile.yearly-2369520b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-4ba1bed0.js → BMI_GIRLS.zscore.monthly-b3053357.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d8185726.js → BMI_GIRLS.zscore.weekly-9123455b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-50d70903.js → BMI_GIRLS.zscore.yearly-2b6af718.js} +0 -0
- /package/build/{ChevronDown-978d063e.js → ChevronDown-ab3567be.js} +0 -0
- /package/build/{Close-678049d9.js → Close-1ac64b3b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d2c0cf1c.js → HEAD CIRCUM_BOYS.percentile.monthly-55995aba.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4969666f.js → HEAD CIRCUM_BOYS.percentile.weekly-167404f2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-067ab2dc.js → HEAD CIRCUM_BOYS.percentile.yearly-e2dc4904.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-519faaa0.js → HEAD CIRCUM_BOYS.zscore.monthly-03d67857.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-055e35c2.js → HEAD CIRCUM_BOYS.zscore.weekly-0efc7ef7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-02f3d990.js → HEAD CIRCUM_BOYS.zscore.yearly-32379b73.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0c27151b.js → HEAD CIRCUM_GIRLS.percentile.monthly-7b841b10.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a70dae36.js → HEAD CIRCUM_GIRLS.percentile.weekly-04a27573.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-adc1ad62.js → HEAD CIRCUM_GIRLS.percentile.yearly-2f548873.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d7b091dd.js → HEAD CIRCUM_GIRLS.zscore.monthly-4aa8ecd1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-4df271df.js → HEAD CIRCUM_GIRLS.zscore.weekly-1d41c48e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-84dd2dcd.js → HEAD CIRCUM_GIRLS.zscore.yearly-006fcbf4.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1b5c8bfa.js → HEIGHT_BOYS.percentile.monthly-d59cc011.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-296f084a.js → HEIGHT_BOYS.percentile.weekly-eb992e20.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-37f08533.js → HEIGHT_BOYS.percentile.yearly-4a18ec0a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6854a9ab.js → HEIGHT_BOYS.zscore.monthly-7e42c513.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-068c84f6.js → HEIGHT_BOYS.zscore.weekly-d9649c9d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-caf5d65a.js → HEIGHT_BOYS.zscore.yearly-c13343c2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-dd4dc1ec.js → HEIGHT_GIRLS.percentile.monthly-b0f01700.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6d71cf1d.js → HEIGHT_GIRLS.percentile.weekly-d8a1128d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-8ada2b39.js → HEIGHT_GIRLS.percentile.yearly-d206f236.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-667bf3ec.js → HEIGHT_GIRLS.zscore.monthly-f1e0683f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8ee41983.js → HEIGHT_GIRLS.zscore.weekly-91c33876.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-748cf945.js → HEIGHT_GIRLS.zscore.yearly-9298c292.js} +0 -0
- /package/build/{Visible-4165f9e9.js → Visible-b23b4e5e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-ea282b83.js → WEIGHT_BOYS.percentile.monthly-d7ed5bb7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e5963dc0.js → WEIGHT_BOYS.percentile.weekly-0dc7da2d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9468dbf0.js → WEIGHT_BOYS.percentile.yearly-2aa798d5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e2fb2cfd.js → WEIGHT_BOYS.zscore.monthly-d6984192.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-42487b42.js → WEIGHT_BOYS.zscore.weekly-e0bb799a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-d88f8e25.js → WEIGHT_BOYS.zscore.yearly-d91c8d5e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1cb90ff5.js → WEIGHT_GIRLS.percentile.monthly-c7f7790e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-e73e1270.js → WEIGHT_GIRLS.percentile.weekly-e3af1820.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-f96d8aac.js → WEIGHT_GIRLS.percentile.yearly-74add497.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-3c7a63f3.js → WEIGHT_GIRLS.zscore.monthly-8e41c166.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-51f55505.js → WEIGHT_GIRLS.zscore.weekly-073e2cd7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e82813bd.js → WEIGHT_GIRLS.zscore.yearly-78c9204e.js} +0 -0
- /package/build/{animation-1d1642c9.js → animation-91a940d2.js} +0 -0
- /package/build/{cart-20fba50b.js → cart-02be64fb.js} +0 -0
- /package/build/{cookieHelper-9a3f8df6.js → cookieHelper-7c9b676f.js} +0 -0
- /package/build/{doctor-bd95dbc6.js → doctor-851e4987.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f311c5fa.js → BMI_BOYS.percentile.monthly-a8a076e4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ca9bcf79.js → BMI_BOYS.percentile.weekly-0a4f1706.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-5a312b62.js → BMI_BOYS.percentile.yearly-f6bc63ed.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-f6856684.js → BMI_BOYS.zscore.monthly-f96baf3f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-cfab8456.js → BMI_BOYS.zscore.weekly-cd7251e3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-24a1dc88.js → BMI_BOYS.zscore.yearly-14af9b25.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-b580780e.js → BMI_GIRLS.percentile.monthly-4115b04e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2ed6bff3.js → BMI_GIRLS.percentile.weekly-427d0c38.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5173a209.js → BMI_GIRLS.percentile.yearly-5e2fb4d2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-bcb8f3af.js → BMI_GIRLS.zscore.monthly-3d99b0c4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-20f43555.js → BMI_GIRLS.zscore.weekly-019b691f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e39e7c4b.js → BMI_GIRLS.zscore.yearly-752c6960.js} +0 -0
- /package/build/esm/{ChevronDown-d4489952.js → ChevronDown-826c3008.js} +0 -0
- /package/build/esm/{Close-657d46b8.js → Close-6556a9d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-38021261.js → HEAD CIRCUM_BOYS.percentile.monthly-58d890f5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-55c66c6e.js → HEAD CIRCUM_BOYS.percentile.weekly-24909132.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-4b094a19.js → HEAD CIRCUM_BOYS.percentile.yearly-c04c72eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5dcc303b.js → HEAD CIRCUM_BOYS.zscore.monthly-4a3999ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8cdc7680.js → HEAD CIRCUM_BOYS.zscore.weekly-05165bfa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b536abce.js → HEAD CIRCUM_BOYS.zscore.yearly-885634b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c9189721.js → HEAD CIRCUM_GIRLS.percentile.monthly-fb465e77.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c6d86ffd.js → HEAD CIRCUM_GIRLS.percentile.weekly-8c2acdce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-ef95ac84.js → HEAD CIRCUM_GIRLS.percentile.yearly-cb968e5d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-dd0fc8c3.js → HEAD CIRCUM_GIRLS.zscore.monthly-2ef05e20.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-0ba067fa.js → HEAD CIRCUM_GIRLS.zscore.weekly-c2993a6c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-a675e8c8.js → HEAD CIRCUM_GIRLS.zscore.yearly-9a74bede.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-82109679.js → HEIGHT_BOYS.percentile.monthly-a0da4191.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f989e3bb.js → HEIGHT_BOYS.percentile.weekly-caec0d42.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-dd80031f.js → HEIGHT_BOYS.percentile.yearly-2be15d1b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5b996782.js → HEIGHT_BOYS.zscore.monthly-1965edc0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-25932154.js → HEIGHT_BOYS.zscore.weekly-708c3621.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b6d2489a.js → HEIGHT_BOYS.zscore.yearly-1abd5dfb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7149bb81.js → HEIGHT_GIRLS.percentile.monthly-ddb1b694.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c56405c5.js → HEIGHT_GIRLS.percentile.weekly-b0b20da2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-7732850d.js → HEIGHT_GIRLS.percentile.yearly-2c8e4d29.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-53c6dd61.js → HEIGHT_GIRLS.zscore.monthly-437c60a7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a0efce21.js → HEIGHT_GIRLS.zscore.weekly-7f347a2a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fa254281.js → HEIGHT_GIRLS.zscore.yearly-d2a7a9eb.js} +0 -0
- /package/build/esm/{Visible-06d5ecea.js → Visible-6156bcfb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a59a623f.js → WEIGHT_BOYS.percentile.monthly-69e1a4a9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-75d3a2a9.js → WEIGHT_BOYS.percentile.weekly-05c08720.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5e42a69a.js → WEIGHT_BOYS.percentile.yearly-92a2a723.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-be6dbbb5.js → WEIGHT_BOYS.zscore.monthly-85e4c1e7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7297b525.js → WEIGHT_BOYS.zscore.weekly-2f6ac430.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-efb3f378.js → WEIGHT_BOYS.zscore.yearly-bf024500.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8e5b7d12.js → WEIGHT_GIRLS.percentile.monthly-2b9a6954.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b2616c0d.js → WEIGHT_GIRLS.percentile.weekly-19ea6986.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-42960ad7.js → WEIGHT_GIRLS.percentile.yearly-16570444.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b028967c.js → WEIGHT_GIRLS.zscore.monthly-9dd7c0c0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c53b2d36.js → WEIGHT_GIRLS.zscore.weekly-4dd02687.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-00cf3ec5.js → WEIGHT_GIRLS.zscore.yearly-5019803e.js} +0 -0
- /package/build/esm/{animation-c85ef1aa.js → animation-a05a22f3.js} +0 -0
- /package/build/esm/{cart-a09f93df.js → cart-a793ef3f.js} +0 -0
- /package/build/esm/{cookieHelper-4166d977.js → cookieHelper-8fe37cb2.js} +0 -0
- /package/build/esm/{doctor-9918e324.js → doctor-59dfb281.js} +0 -0
- /package/build/esm/{index-b63d88c2.js → index-32e9928d.js} +0 -0
- /package/build/esm/{index-be8d21e4.js → index-7be202e4.js} +0 -0
- /package/build/esm/{index-3e04178f.js → index-ddb4c753.js} +0 -0
- /package/build/esm/{index-5b97be17.js → index-e11a78d9.js} +0 -0
- /package/build/esm/{isProduction-8ddd1c09.js → isProduction-5b5083e1.js} +0 -0
- /package/build/esm/{localizeNumberFormat-567af8b4.js → localizeNumberFormat-b9b1c494.js} +0 -0
- /package/build/esm/{normalizeLink-00141ab9.js → normalizeLink-c21ecec7.js} +0 -0
- /package/build/esm/{number-f58f7319.js → number-7565570e.js} +0 -0
- /package/build/esm/{paths-6c0107cc.js → paths-9905ad52.js} +0 -0
- /package/build/esm/{theme-7c208c30.js → theme-9b3c5ce8.js} +0 -0
- /package/build/esm/{translationsContext-9021710e.js → translationsContext-8634b4e4.js} +0 -0
- /package/build/esm/{tslib.es6-2c23b4a0.js → tslib.es6-2805eb0d.js} +0 -0
- /package/build/esm/{types-58c673f9.js → types-f5618480.js} +0 -0
- /package/build/esm/{useIsInit-c7f70254.js → useIsInit-0832d735.js} +0 -0
- /package/build/esm/{useOutsideClick-4a5bba56.js → useOutsideClick-6e8f0827.js} +0 -0
- /package/build/esm/{useScrollbarSize-718c8d7c.js → useScrollbarSize-5621f902.js} +0 -0
- /package/build/esm/{useUniqueId-ce0a21e6.js → useUniqueId-bfe0477d.js} +0 -0
- /package/build/esm/{utils-72d20560.js → utils-1c4436fb.js} +0 -0
- /package/build/{index-da4e36c3.js → index-2efdd30f.js} +0 -0
- /package/build/{index-6e65f064.js → index-38c9426b.js} +0 -0
- /package/build/{index-896edc0e.js → index-811930df.js} +0 -0
- /package/build/{index-d2b208bb.js → index-96d1c81a.js} +0 -0
- /package/build/{isProduction-6c46b850.js → isProduction-c6eef4f7.js} +0 -0
- /package/build/{localizeNumberFormat-b9ffbd83.js → localizeNumberFormat-42e3f6c8.js} +0 -0
- /package/build/{normalizeLink-05857ba2.js → normalizeLink-19e85c9c.js} +0 -0
- /package/build/{number-3ee7ee9e.js → number-31b56185.js} +0 -0
- /package/build/{paths-d1a45b42.js → paths-d896f18f.js} +0 -0
- /package/build/{theme-de064836.js → theme-c301ffa8.js} +0 -0
- /package/build/{translationsContext-073aabc8.js → translationsContext-59e2a34f.js} +0 -0
- /package/build/{tslib.es6-a3b945ae.js → tslib.es6-deb50113.js} +0 -0
- /package/build/{types-db558dfc.js → types-9797b47f.js} +0 -0
- /package/build/{useIsInit-24b144df.js → useIsInit-61e5469b.js} +0 -0
- /package/build/{useOutsideClick-03608b1c.js → useOutsideClick-b3444568.js} +0 -0
- /package/build/{useScrollbarSize-709e0dea.js → useScrollbarSize-8b676ee5.js} +0 -0
- /package/build/{useUniqueId-d3ce4826.js → useUniqueId-11121d45.js} +0 -0
- /package/build/{utils-c6a0ba99.js → utils-552ff173.js} +0 -0
|
@@ -1,68 +1,68 @@
|
|
|
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$1, 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-
|
|
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, B as Button$1, c as Input$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-c82ef63d.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$1, 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-950cf52f.js';
|
|
4
|
+
import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-1c4436fb.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, B as Button$1, c as Input$1, S as Select, d as Checkbox$1, e as ChipButton } from './index-f7b2cf2b.js';
|
|
6
|
+
import { T as Text$1 } from './index-f4d48e7c.js';
|
|
7
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-2805eb0d.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-de0b462c.js';
|
|
10
|
+
import { H as Heading } from './index-8ff9e988.js';
|
|
11
|
+
import { t as theme } from './theme-9b3c5ce8.js';
|
|
12
12
|
import { Card, Group, Box, Flex, createStyles, Stack, getStylesRef, useMantineTheme, rem, Input as Input$2, Chip, Container, AspectRatio as AspectRatio$1, ScrollArea, 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, 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, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-0730cb03.js';
|
|
16
|
+
import { L as LOCALE } from './index-ddb4c753.js';
|
|
17
|
+
import './useMantineLocale-39bfcb4d.js';
|
|
18
|
+
import './translationsContext-8634b4e4.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-01f5218f.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-72b59998.js';
|
|
25
|
+
import { B as Button } from './index-950a89f0.js';
|
|
26
|
+
import { I as Input } from './index-49cc4e66.js';
|
|
27
27
|
import { keyframes, css } from '@emotion/react';
|
|
28
28
|
import parse from 'html-react-parser';
|
|
29
|
-
import { i as isProduction } from './isProduction-
|
|
30
|
-
import { D as Dropdown } from './index-
|
|
31
|
-
import { s as setDefaultClass, Z as Z_INDEX, b as DUE_DATE_FORMAT, H as HEALTH_TOOL_TYPE$1, d as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, e as getPremiumApiPath, f as getWebsiteUrlApi, h as getSsoApiPath } from './utils-
|
|
32
|
-
import { u as useTranslations } from './useTranslations-
|
|
29
|
+
import { i as isProduction } from './isProduction-5b5083e1.js';
|
|
30
|
+
import { D as Dropdown } from './index-e9e548e7.js';
|
|
31
|
+
import { s as setDefaultClass, Z as Z_INDEX, b as DUE_DATE_FORMAT, H as HEALTH_TOOL_TYPE$1, d as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, e as getPremiumApiPath, f as getWebsiteUrlApi, h as getSsoApiPath } from './utils-0966b189.js';
|
|
32
|
+
import { u as useTranslations } from './useTranslations-bd5502b7.js';
|
|
33
33
|
import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
34
34
|
import dayjs from 'dayjs';
|
|
35
|
-
import { S as StyledTextField, a as DateToInputValue, g as getDueDateConception, A as API_DATE_FORMAT, b as getDueDateIVF, c as getDueDateLastPeriod, d as DueDateCalculatorType, H as HealthToolFormWrapper, G as GenderOptionControl, B as BabyGrowthForm, D as Drawer } from './index-
|
|
36
|
-
import { D as DATE_FORMAT } from './types-
|
|
37
|
-
import { D as DatePicker } from './index-
|
|
38
|
-
import { M as MarryBabyText } from './index-
|
|
39
|
-
import { S as Slider } from './index-
|
|
40
|
-
import { f as formatUserProfileUrl } from './index-
|
|
35
|
+
import { S as StyledTextField, a as DateToInputValue, g as getDueDateConception, A as API_DATE_FORMAT, b as getDueDateIVF, c as getDueDateLastPeriod, d as DueDateCalculatorType, H as HealthToolFormWrapper, G as GenderOptionControl, B as BabyGrowthForm, D as Drawer } from './index-e5356e0c.js';
|
|
36
|
+
import { D as DATE_FORMAT } from './types-f5618480.js';
|
|
37
|
+
import { D as DatePicker } from './index-43885bfb.js';
|
|
38
|
+
import { M as MarryBabyText } from './index-5a9b98ee.js';
|
|
39
|
+
import { S as Slider } from './index-99141b34.js';
|
|
40
|
+
import { f as formatUserProfileUrl } from './index-c9f15b6f.js';
|
|
41
41
|
import { useForm as useForm$1, isNotEmpty } from '@mantine/form';
|
|
42
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
43
|
-
import { D as DatePicker$1 } from './index-
|
|
42
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-7e55185d.js';
|
|
43
|
+
import { D as DatePicker$1 } from './index-de5fbde2.js';
|
|
44
44
|
import { Controller, useForm } from 'react-hook-form';
|
|
45
|
-
import
|
|
45
|
+
import './constants-fe7395e5.js';
|
|
46
|
+
import './utils-f28f8d21.js';
|
|
47
|
+
import './WhatsApp-c5ccc324.js';
|
|
48
|
+
import './index.styled-03c6007b.js';
|
|
49
|
+
import './index-7be202e4.js';
|
|
50
|
+
import { a as useOutsideClick } from './useOutsideClick-6e8f0827.js';
|
|
46
51
|
import enUS from 'date-fns/locale/en-US';
|
|
47
52
|
import id from 'date-fns/locale/id';
|
|
48
53
|
import vi from 'date-fns/locale/vi';
|
|
49
54
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
50
|
-
import { g as getSocialList } from './getSocialList-
|
|
55
|
+
import { g as getSocialList } from './getSocialList-918a05e4.js';
|
|
51
56
|
import { v4 } from 'uuid';
|
|
52
|
-
import './
|
|
53
|
-
import './
|
|
54
|
-
import './WhatsApp-9dbce6f2.js';
|
|
55
|
-
import './index.styled-e18670ac.js';
|
|
56
|
-
import './index-be8d21e4.js';
|
|
57
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-e49e8c2d.js';
|
|
58
|
-
import { I as Icon } from './index-8a31b708.js';
|
|
57
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-de0894b8.js';
|
|
58
|
+
import { I as Icon } from './index-3eade222.js';
|
|
59
59
|
import { Close, Plus } from '@hhgtech/icons/core';
|
|
60
|
-
import { M as Modal } from './index-
|
|
60
|
+
import { M as Modal } from './index-8393482c.js';
|
|
61
61
|
import Cookies from 'js-cookie';
|
|
62
62
|
import flatten from 'lodash/flatten';
|
|
63
63
|
import uniqBy from 'lodash/uniqBy';
|
|
64
|
-
import { g as getCookie } from './cookieHelper-
|
|
65
|
-
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-
|
|
64
|
+
import { g as getCookie } from './cookieHelper-8fe37cb2.js';
|
|
65
|
+
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-c21ecec7.js';
|
|
66
66
|
|
|
67
67
|
var styles$7 = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
|
|
68
68
|
|
|
@@ -3068,8 +3068,8 @@ const ToolsBannerCard = ({ className, heading, bannerColor, medicalReview = {
|
|
|
3068
3068
|
React__default.createElement(Heading, { tag: "h5", as: headingAs }, heading),
|
|
3069
3069
|
medicalReview && (React__default.createElement(Text, { size: "n1", as: "div" }, medicalReviewEle))),
|
|
3070
3070
|
isMarryBaby ? (React__default.createElement(StyledIcon, null, icon)) : (React__default.createElement(Flex, { justify: 'center', align: 'center', sx: (theme) => ({
|
|
3071
|
-
width: rem(
|
|
3072
|
-
height: rem(
|
|
3071
|
+
width: rem(84),
|
|
3072
|
+
height: rem(84),
|
|
3073
3073
|
borderRadius: '50%',
|
|
3074
3074
|
backgroundColor: '#fff',
|
|
3075
3075
|
flexShrink: 0,
|
|
@@ -4468,33 +4468,34 @@ var useStyles$1 = createStyles(() => {
|
|
|
4468
4468
|
const CalculatorType = (_a) => {
|
|
4469
4469
|
var { label, classNames, styles } = _a, props = __rest(_a, ["label", "classNames", "styles"]);
|
|
4470
4470
|
const { t } = useTranslations();
|
|
4471
|
+
const { isMobile } = useContext(OvulationFormContext);
|
|
4471
4472
|
const { classes, theme } = useStyles$1(undefined, {
|
|
4472
4473
|
name: 'CalculatorType',
|
|
4473
4474
|
classNames,
|
|
4474
4475
|
styles,
|
|
4475
4476
|
});
|
|
4476
4477
|
const isMarryBaby = theme.other.template === 'mb';
|
|
4477
|
-
const iconSize = isMarryBaby ? 32 : 18;
|
|
4478
|
+
const iconSize = isMobile ? 48 : isMarryBaby ? 32 : 18;
|
|
4478
4479
|
const calculatingMethods = [
|
|
4479
4480
|
{
|
|
4480
4481
|
label: t('ovulationPage.trackPeriod'),
|
|
4481
|
-
value: OvulationCalculatorType.trackPeriod,
|
|
4482
|
+
value: OvulationCalculatorType$1.trackPeriod,
|
|
4482
4483
|
icon: React__default.createElement(LastPeriod, { size: iconSize, isMarryBaby: isMarryBaby }),
|
|
4483
4484
|
},
|
|
4484
4485
|
{
|
|
4485
4486
|
label: t('ovulationPage.conceive'),
|
|
4486
|
-
value: OvulationCalculatorType.conceive,
|
|
4487
|
+
value: OvulationCalculatorType$1.conceive,
|
|
4487
4488
|
icon: React__default.createElement(TryConceive, { size: iconSize, isMarryBaby: isMarryBaby }),
|
|
4488
4489
|
},
|
|
4489
4490
|
{
|
|
4490
4491
|
label: t('ovulationPage.avoidPregnancy'),
|
|
4491
|
-
value: OvulationCalculatorType.avoidPregnancy,
|
|
4492
|
+
value: OvulationCalculatorType$1.avoidPregnancy,
|
|
4492
4493
|
icon: React__default.createElement(AvoidPregnancy, { size: iconSize, isMarryBaby: isMarryBaby }),
|
|
4493
4494
|
},
|
|
4494
4495
|
];
|
|
4495
4496
|
return (React__default.createElement(Box, null,
|
|
4496
4497
|
React__default.createElement(Input$2.Wrapper, { label: label },
|
|
4497
|
-
React__default.createElement(Chip.Group, Object.assign({ defaultValue: String(OvulationCalculatorType.trackPeriod) }, props),
|
|
4498
|
+
React__default.createElement(Chip.Group, Object.assign({ defaultValue: String(OvulationCalculatorType$1.trackPeriod) }, props),
|
|
4498
4499
|
React__default.createElement(Box, { className: classes.group }, calculatingMethods.map((i, idx) => (React__default.createElement(Chip, { className: classes.item, key: idx, value: String(i.value), styles: {
|
|
4499
4500
|
iconWrapper: {
|
|
4500
4501
|
display: 'none',
|
|
@@ -4521,7 +4522,7 @@ const CalculatorType = (_a) => {
|
|
|
4521
4522
|
flexDirection: 'column',
|
|
4522
4523
|
})), { [theme.fn.smallerThan('sm')]: {
|
|
4523
4524
|
flexDirection: 'column',
|
|
4524
|
-
padding:
|
|
4525
|
+
padding: '16px 8px 8px',
|
|
4525
4526
|
} }) },
|
|
4526
4527
|
i.icon,
|
|
4527
4528
|
React__default.createElement(Text, { size: isMarryBaby ? 'p3' : 'p2', styles: {
|
|
@@ -4536,7 +4537,7 @@ const CalculatorType = (_a) => {
|
|
|
4536
4537
|
} }, i.label))))))))));
|
|
4537
4538
|
};
|
|
4538
4539
|
|
|
4539
|
-
const DefaultLayout = (_a) => {
|
|
4540
|
+
const DefaultLayout$1 = (_a) => {
|
|
4540
4541
|
var props = __rest(_a, []);
|
|
4541
4542
|
const { t } = useTranslations();
|
|
4542
4543
|
const { currentUrl, submitProps, form } = useContext(OvulationFormContext);
|
|
@@ -4545,12 +4546,12 @@ const DefaultLayout = (_a) => {
|
|
|
4545
4546
|
React__default.createElement(DatePicker$1, Object.assign({ placeholder: "DD/MM/YYYY", popoverProps: {
|
|
4546
4547
|
withinPortal: true,
|
|
4547
4548
|
}, label: t('dueDatePage.lastPeriod.lastPeriodLabel'), maxDate: new Date() }, form.getInputProps('lastPeriodDate'))),
|
|
4548
|
-
React__default.createElement(Input$1.Number, Object.assign({ label: t('ovulationPage.cycleLength') + ' ' + t('ovulationPage.dayUnit'), min: 21, max: 45 }, form.getInputProps('cycleLength'))),
|
|
4549
|
-
React__default.createElement(Input$1.Number, Object.assign({ label: t('ovulationPage.periodDuration') + ' ' + t('ovulationPage.dayUnit'), min: 1, max: 15 }, form.getInputProps('periodLength'))),
|
|
4549
|
+
React__default.createElement(Input$1.Number, Object.assign({ label: t('ovulationPage.cycleLength') + ' ' + t('ovulationPage.dayUnit'), min: 21, max: 45, defaultValue: 1 }, form.getInputProps('cycleLength'))),
|
|
4550
|
+
React__default.createElement(Input$1.Number, Object.assign({ label: t('ovulationPage.periodDuration') + ' ' + t('ovulationPage.dayUnit'), min: 1, max: 15, defaultValue: 1 }, form.getInputProps('periodLength'))),
|
|
4550
4551
|
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'))));
|
|
4551
4552
|
};
|
|
4552
4553
|
|
|
4553
|
-
const InlineLayout = (_a) => {
|
|
4554
|
+
const InlineLayout$1 = (_a) => {
|
|
4554
4555
|
var props = __rest(_a, []);
|
|
4555
4556
|
const { t } = useTranslations();
|
|
4556
4557
|
const { currentUrl, submitProps, form } = useContext(OvulationFormContext);
|
|
@@ -4561,14 +4562,18 @@ const InlineLayout = (_a) => {
|
|
|
4561
4562
|
React__default.createElement(DatePicker$1, Object.assign({ placeholder: "DD/MM/YYYY", popoverProps: {
|
|
4562
4563
|
withinPortal: true,
|
|
4563
4564
|
}, maxDate: new Date() }, form.getInputProps('lastPeriodDate')))),
|
|
4564
|
-
React__default.createElement(HealthToolFormWrapper.
|
|
4565
|
-
React__default.createElement(
|
|
4566
|
-
|
|
4567
|
-
React__default.createElement(
|
|
4565
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4566
|
+
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('ovulationPage.cycleLength') + ' ' + t('ovulationPage.dayUnit') },
|
|
4567
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: 21, max: 45, defaultValue: 1 }, form.getInputProps('cycleLength'), { error: null }))),
|
|
4568
|
+
form.errors.cycleLength && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.cycleLength))),
|
|
4569
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4570
|
+
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('ovulationPage.periodDuration') + ' ' + t('ovulationPage.dayUnit') },
|
|
4571
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: 1, max: 15, defaultValue: 1 }, form.getInputProps('periodLength'), { error: null }))),
|
|
4572
|
+
form.errors.periodLength && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.periodLength))),
|
|
4568
4573
|
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'))));
|
|
4569
4574
|
};
|
|
4570
4575
|
|
|
4571
|
-
const MbLayout$
|
|
4576
|
+
const MbLayout$2 = (_a) => {
|
|
4572
4577
|
var props = __rest(_a, []);
|
|
4573
4578
|
const { t } = useTranslations();
|
|
4574
4579
|
const { currentUrl, submitProps, form } = useContext(OvulationFormContext);
|
|
@@ -4580,37 +4585,42 @@ const MbLayout$1 = (_a) => {
|
|
|
4580
4585
|
withinPortal: true,
|
|
4581
4586
|
}, maxDate: new Date(), rightSection: null }, form.getInputProps('lastPeriodDate')))),
|
|
4582
4587
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('ovulationPage.cycleLength'), rightSection: t('ovulationPage.dayUnit') },
|
|
4583
|
-
React__default.createElement(Input$1.Number, Object.assign({ min: 21, max: 45 }, form.getInputProps('cycleLength')))),
|
|
4588
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: 21, max: 45, defaultValue: 1 }, form.getInputProps('cycleLength')))),
|
|
4584
4589
|
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('ovulationPage.periodDuration'), rightSection: t('ovulationPage.dayUnit') },
|
|
4585
|
-
React__default.createElement(Input$1.Number, Object.assign({ min: 1, max: 15 }, form.getInputProps('periodLength')))),
|
|
4590
|
+
React__default.createElement(Input$1.Number, Object.assign({ min: 1, max: 15, defaultValue: 1 }, form.getInputProps('periodLength')))),
|
|
4586
4591
|
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'))));
|
|
4587
4592
|
};
|
|
4588
4593
|
|
|
4589
|
-
var OvulationCalculatorType;
|
|
4594
|
+
var OvulationCalculatorType$1;
|
|
4590
4595
|
(function (OvulationCalculatorType) {
|
|
4591
4596
|
OvulationCalculatorType[OvulationCalculatorType["trackPeriod"] = 0] = "trackPeriod";
|
|
4592
4597
|
OvulationCalculatorType[OvulationCalculatorType["conceive"] = 1] = "conceive";
|
|
4593
4598
|
OvulationCalculatorType[OvulationCalculatorType["avoidPregnancy"] = 2] = "avoidPregnancy";
|
|
4594
|
-
})(OvulationCalculatorType || (OvulationCalculatorType = {}));
|
|
4599
|
+
})(OvulationCalculatorType$1 || (OvulationCalculatorType$1 = {}));
|
|
4595
4600
|
const OvulationForm = (_a) => {
|
|
4596
|
-
var { formLayout = 'default', submitProps, currentUrl, onSubmit } = _a, props = __rest(_a, ["formLayout", "submitProps", "currentUrl", "onSubmit"]);
|
|
4601
|
+
var { formLayout = 'default', submitProps, currentUrl, isMobile, onSubmit } = _a, props = __rest(_a, ["formLayout", "submitProps", "currentUrl", "isMobile", "onSubmit"]);
|
|
4597
4602
|
const theme = useMantineTheme();
|
|
4603
|
+
const { t } = useTranslations();
|
|
4598
4604
|
const isMarryBaby = theme.other.template === 'mb';
|
|
4599
4605
|
const form = useForm$1({
|
|
4600
4606
|
initialValues: {
|
|
4601
|
-
calculatorType: String(OvulationCalculatorType.trackPeriod),
|
|
4607
|
+
calculatorType: String(OvulationCalculatorType$1.trackPeriod),
|
|
4602
4608
|
periodLength: 7,
|
|
4603
4609
|
cycleLength: 28,
|
|
4604
4610
|
lastPeriodDate: new Date(),
|
|
4605
4611
|
},
|
|
4612
|
+
validate: {
|
|
4613
|
+
periodLength: isNotEmpty(t('validation.error.requiredField')),
|
|
4614
|
+
cycleLength: isNotEmpty(t('validation.error.requiredField')),
|
|
4615
|
+
},
|
|
4606
4616
|
});
|
|
4607
4617
|
const commonProps = Object.assign({ onSubmit: form.onSubmit(onSubmit) }, props);
|
|
4608
|
-
return (React__default.createElement(OvulationFormContext.Provider, { value: { submitProps, currentUrl, form } }, isMarryBaby ? (React__default.createElement(MbLayout$
|
|
4618
|
+
return (React__default.createElement(OvulationFormContext.Provider, { value: { submitProps, currentUrl, form, isMobile } }, isMarryBaby ? (React__default.createElement(MbLayout$2, Object.assign({}, commonProps))) : formLayout === 'inline' ? (React__default.createElement(InlineLayout$1, Object.assign({}, commonProps))) : (React__default.createElement(DefaultLayout$1, Object.assign({}, commonProps)))));
|
|
4609
4619
|
};
|
|
4610
4620
|
|
|
4611
4621
|
const OvulationCardEmbed = (_a) => {
|
|
4612
4622
|
var _b;
|
|
4613
|
-
var { ovulationPageInfo, expertUrl, formProps } = _a, props = __rest(_a, ["ovulationPageInfo", "expertUrl", "formProps"]);
|
|
4623
|
+
var { ovulationPageInfo, expertUrl, formProps, isMobile } = _a, props = __rest(_a, ["ovulationPageInfo", "expertUrl", "formProps", "isMobile"]);
|
|
4614
4624
|
const { t } = useTranslations();
|
|
4615
4625
|
return (React__default.createElement(HealthToolCardWrapper, Object.assign({ isPregTool: true }, props),
|
|
4616
4626
|
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (ovulationPageInfo === null || ovulationPageInfo === void 0 ? void 0 : ovulationPageInfo.featured_image) ||
|
|
@@ -4620,7 +4630,93 @@ const OvulationCardEmbed = (_a) => {
|
|
|
4620
4630
|
date: ovulationPageInfo === null || ovulationPageInfo === void 0 ? void 0 : ovulationPageInfo.reviewed_date,
|
|
4621
4631
|
} }),
|
|
4622
4632
|
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
4623
|
-
React__default.createElement(OvulationForm, Object.assign({}, formProps)))));
|
|
4633
|
+
React__default.createElement(OvulationForm, Object.assign({ isMobile: isMobile }, formProps)))));
|
|
4634
|
+
};
|
|
4635
|
+
|
|
4636
|
+
const BabyVaccineFormContext = createContext({});
|
|
4637
|
+
|
|
4638
|
+
const DefaultLayout = (_a) => {
|
|
4639
|
+
var props = __rest(_a, []);
|
|
4640
|
+
const { t } = useTranslations();
|
|
4641
|
+
const { currentUrl, submitProps, form } = useContext(BabyVaccineFormContext);
|
|
4642
|
+
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "default" }, props),
|
|
4643
|
+
React__default.createElement(GenderOptionControl, Object.assign({ isBaby: true }, form.getInputProps('gender'))),
|
|
4644
|
+
React__default.createElement(DatePicker$1, Object.assign({ label: t('babyGrowth.input.birthday'), placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
4645
|
+
withinPortal: true,
|
|
4646
|
+
}, maxDate: new Date() }, form.getInputProps('age'))),
|
|
4647
|
+
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'))));
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
const InlineLayout = (_a) => {
|
|
4651
|
+
var props = __rest(_a, []);
|
|
4652
|
+
const { t } = useTranslations();
|
|
4653
|
+
const { currentUrl, submitProps, form } = useContext(BabyVaccineFormContext);
|
|
4654
|
+
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "inline" }, props),
|
|
4655
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4656
|
+
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('tools.selectBabyGender'), width: 'none' },
|
|
4657
|
+
React__default.createElement(GenderOptionControl, Object.assign({ isBaby: true, hideLabel: true, type: "radio" }, form.getInputProps('gender')))),
|
|
4658
|
+
form.errors.gender && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
4659
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4660
|
+
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('babyGrowth.input.birthday') },
|
|
4661
|
+
React__default.createElement(DatePicker$1, Object.assign({ placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
4662
|
+
withinPortal: true,
|
|
4663
|
+
}, maxDate: new Date() }, form.getInputProps('age'), { error: null }))),
|
|
4664
|
+
form.errors.age && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
4665
|
+
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'))));
|
|
4666
|
+
};
|
|
4667
|
+
|
|
4668
|
+
const MbLayout$1 = (_a) => {
|
|
4669
|
+
var props = __rest(_a, []);
|
|
4670
|
+
const { t } = useTranslations();
|
|
4671
|
+
const { currentUrl, submitProps, form } = useContext(BabyVaccineFormContext);
|
|
4672
|
+
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "inline" }, props),
|
|
4673
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4674
|
+
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('tools.selectBabyGender'), width: 'none' },
|
|
4675
|
+
React__default.createElement(GenderOptionControl, Object.assign({ isBaby: true, hideLabel: true, type: "radio" }, form.getInputProps('gender')))),
|
|
4676
|
+
form.errors.gender && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
4677
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
4678
|
+
React__default.createElement(HealthToolFormWrapper.BorderInlineControl, { label: t('babyGrowth.input.birthday') },
|
|
4679
|
+
React__default.createElement(DatePicker$1, Object.assign({ placeholder: 'DD/MM/YYYY', popoverProps: {
|
|
4680
|
+
withinPortal: true,
|
|
4681
|
+
}, maxDate: new Date() }, form.getInputProps('age'), { error: null }))),
|
|
4682
|
+
form.errors.age && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
4683
|
+
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'))));
|
|
4684
|
+
};
|
|
4685
|
+
|
|
4686
|
+
var OvulationCalculatorType;
|
|
4687
|
+
(function (OvulationCalculatorType) {
|
|
4688
|
+
OvulationCalculatorType[OvulationCalculatorType["trackPeriod"] = 0] = "trackPeriod";
|
|
4689
|
+
OvulationCalculatorType[OvulationCalculatorType["conceive"] = 1] = "conceive";
|
|
4690
|
+
OvulationCalculatorType[OvulationCalculatorType["avoidPregnancy"] = 2] = "avoidPregnancy";
|
|
4691
|
+
})(OvulationCalculatorType || (OvulationCalculatorType = {}));
|
|
4692
|
+
const BabyVaccineForm = (_a) => {
|
|
4693
|
+
var { formLayout = 'default', submitProps, currentUrl, onSubmit } = _a, props = __rest(_a, ["formLayout", "submitProps", "currentUrl", "onSubmit"]);
|
|
4694
|
+
const { t } = useTranslations();
|
|
4695
|
+
const theme = useMantineTheme();
|
|
4696
|
+
const isMarryBaby = theme.other.template === 'mb';
|
|
4697
|
+
const form = useForm$1({
|
|
4698
|
+
validate: {
|
|
4699
|
+
gender: isNotEmpty(t('validation.error.requiredField')),
|
|
4700
|
+
age: isNotEmpty(t('validation.error.requiredField')),
|
|
4701
|
+
},
|
|
4702
|
+
});
|
|
4703
|
+
const commonProps = Object.assign({ onSubmit: form.onSubmit(onSubmit) }, props);
|
|
4704
|
+
return (React__default.createElement(BabyVaccineFormContext.Provider, { value: { submitProps, currentUrl, form } }, isMarryBaby ? (React__default.createElement(MbLayout$1, Object.assign({}, commonProps))) : formLayout === 'inline' ? (React__default.createElement(InlineLayout, Object.assign({}, commonProps))) : (React__default.createElement(DefaultLayout, Object.assign({}, commonProps)))));
|
|
4705
|
+
};
|
|
4706
|
+
|
|
4707
|
+
const BabyVaccineCardEmbed = (_a) => {
|
|
4708
|
+
var _b, _c, _d;
|
|
4709
|
+
var { babyVaccineContent, formProps } = _a, props = __rest(_a, ["babyVaccineContent", "formProps"]);
|
|
4710
|
+
const { t } = useTranslations();
|
|
4711
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
4712
|
+
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.featuredImage) ||
|
|
4713
|
+
CommonGAssets.getAssetPath('health-tools/baby-vaccine-icon.svg'), loading: "lazy" }), heading: t('babyVaccineTool.heading'), medicalReview: {
|
|
4714
|
+
link: ((_b = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link) || '',
|
|
4715
|
+
reviewer: ((_c = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer) || '',
|
|
4716
|
+
date: ((_d = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date) || '',
|
|
4717
|
+
} }),
|
|
4718
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
4719
|
+
React__default.createElement(BabyVaccineForm, Object.assign({}, formProps)))));
|
|
4624
4720
|
};
|
|
4625
4721
|
|
|
4626
4722
|
const PWGFormContext = createContext({});
|
|
@@ -7580,4 +7676,4 @@ const UserProfileNavigation = ({ SSO_URL, UP_BASEPATH = 'user', themeName = 'hel
|
|
|
7580
7676
|
logoutButton))));
|
|
7581
7677
|
};
|
|
7582
7678
|
|
|
7583
|
-
export {
|
|
7679
|
+
export { FixedBottomAdBlock as $, Alert as A, Badge as B, Checkbox as C, DoctorInfo as D, BabyPoopForm as E, FileDropdown as F, Grid as G, THRCardEmbed as H, IconText as I, ThrForm as J, BMRCardEmbed as K, OvulationForm as L, MobileBottomNavigation as M, BabyVaccineForm as N, OvulationCardEmbed as O, Pagination as P, BabyVaccineCardEmbed as Q, Radio as R, ScrollList as S, Tag as T, PWGCardEmbed as U, PWGForm as V, DateRangePicker as W, Breadcrumbs as X, ShareContainer as Y, ShareDrawer as Z, AdBlock as _, Avatar as a, SurveyOrPremiumBanner as a0, MAPPING_CATEGORY_PREMIUM_TYPE as a1, MAPPING_CATEGORY_PREMIUM_API_TYPE as a2, SideBannerModal as a3, UserProfileNavigation as a4, NavHeader as a5, UserStats as a6, BorderHeading as b, Toggle as c, RateStars as d, ArticleCard$1 as e, ArticleCard as f, CategoryCard as g, CheckboxGroup as h, ProgressBar as i, RadioGroup as j, index$1 as k, StatisticCard as l, index as m, Tabs as n, SurveyQuestionCard as o, SurveyThankyouCard as p, FloatButtonGroup as q, CookieAcceptConfirm as r, MobileBottomNavigationIcon as s, SeoHead as t, ToolsBannerCard as u, DueDateCardEmbed as v, BMICardEmbed as w, BmiForm as x, BabyGrowthCardEmbed as y, BabyPoopEmbed as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { L as LOCALE } from './index-
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
4
|
-
import { i as isChristmas, a as LunarNewYearLocale, b as isLunarNewYear, c as isNewYear, d as isRamadan, e as isVNHungKing, f as isVN3004, g as isLabourDay, S as StyledLogo, L as LogoIcon, h as StyledProLogo } from './utils-
|
|
5
|
-
import { I as ImageWrap } from './index-
|
|
2
|
+
import { L as LOCALE } from './index-ddb4c753.js';
|
|
3
|
+
import { C as CommonGAssets } from './index-de0b462c.js';
|
|
4
|
+
import { i as isChristmas, a as LunarNewYearLocale, b as isLunarNewYear, c as isNewYear, d as isRamadan, e as isVNHungKing, f as isVN3004, g as isLabourDay, S as StyledLogo, L as LogoIcon, h as StyledProLogo } from './utils-f28f8d21.js';
|
|
5
|
+
import { I as ImageWrap } from './index-f7b2cf2b.js';
|
|
6
6
|
|
|
7
7
|
const Logo = ({ type, className, style, isLightLogo, customSize, badge, locale, dateForSeasonal, isPro, }) => {
|
|
8
8
|
const [seasonalChecks, setSeasonalChecks] = useState({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Modal as Modal$1 } from '@mantine/core';
|
|
4
|
-
import { g as useStyles } from './index-
|
|
4
|
+
import { g as useStyles } from './index-f7b2cf2b.js';
|
|
5
5
|
|
|
6
6
|
const Modal = (_a) => {
|
|
7
7
|
var { styles, classNames, transitionProps } = _a, rest = __rest(_a, ["styles", "classNames", "transitionProps"]);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as Container } from './index-
|
|
2
|
+
import { C as Container } from './index-e11a78d9.js';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import { d as domainLocales } from './index-
|
|
5
|
-
import { u as useScreenSize } from './index-
|
|
4
|
+
import { d as domainLocales } from './index-0730cb03.js';
|
|
5
|
+
import { u as useScreenSize } from './index-f7b2cf2b.js';
|
|
6
6
|
import { Flex, Stack, Box } from '@mantine/core';
|
|
7
7
|
import '@mantine/dates';
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './useMantineLocale-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import { t as theme } from './theme-
|
|
13
|
-
import './translationsContext-
|
|
8
|
+
import './index-ddb4c753.js';
|
|
9
|
+
import './index-de0b462c.js';
|
|
10
|
+
import './useMantineLocale-39bfcb4d.js';
|
|
11
|
+
import { T as Text } from './index-c82ef63d.js';
|
|
12
|
+
import { t as theme } from './theme-9b3c5ce8.js';
|
|
13
|
+
import './translationsContext-8634b4e4.js';
|
|
14
14
|
import 'string-format';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import { M as MediaQueries } from './utils-
|
|
16
|
+
import { M as MediaQueries } from './utils-1c4436fb.js';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { L as Logo } from './index-
|
|
19
|
-
import { M as MarryBabyText } from './index-
|
|
18
|
+
import { L as Logo } from './index-72b59998.js';
|
|
19
|
+
import { M as MarryBabyText } from './index-5a9b98ee.js';
|
|
20
20
|
|
|
21
21
|
const StyledFooter = styled.footer `
|
|
22
22
|
background-color: #1b3250;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
4
|
+
import { T as Text } from './index-c82ef63d.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { B as Button$1 } from './index-
|
|
3
|
+
import { B as Button$1 } from './index-f7b2cf2b.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import { useDebouncedValue } from '@mantine/hooks';
|
|
4
|
-
import { D as DEBOUNCED_TIME, h as StyledSliderWrapper, B as Button, i as StyledSlider } from './index-
|
|
4
|
+
import { D as DEBOUNCED_TIME, h as StyledSliderWrapper, B as Button, i as StyledSlider } from './index-f7b2cf2b.js';
|
|
5
5
|
|
|
6
6
|
const Slider = (_a) => {
|
|
7
7
|
var { color, withControl, onChange, value, min, max, isStatic, containerClassName, containerStyle } = _a, props = __rest(_a, ["color", "withControl", "onChange", "value", "min", "max", "isStatic", "containerClassName", "containerStyle"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import { L as LOCALE } from './index-
|
|
3
|
+
import { L as LOCALE } from './index-ddb4c753.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
6
|
-
import { t as theme } from './theme-
|
|
7
|
-
import { I as ImageWrap, f as CentralCarousel } from './index-
|
|
8
|
-
import { T as Text } from './index-
|
|
5
|
+
import { C as CommonGAssets } from './index-de0b462c.js';
|
|
6
|
+
import { t as theme } from './theme-9b3c5ce8.js';
|
|
7
|
+
import { I as ImageWrap, f as CentralCarousel } from './index-f7b2cf2b.js';
|
|
8
|
+
import { T as Text } from './index-f4d48e7c.js';
|
|
9
9
|
|
|
10
10
|
const StyledIconContainer = styled.div `
|
|
11
11
|
display: inline-flex;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { createStyles, Text as Text$1 } from '@mantine/core';
|
|
4
|
-
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './utils-
|
|
4
|
+
import { O as OTHER_THEME_CONFIG, F as FontWeight } from './utils-1c4436fb.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
4
|
-
import { t as theme } from './theme-
|
|
5
|
-
import { _ as __rest } from './tslib.es6-
|
|
6
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-1c4436fb.js';
|
|
4
|
+
import { t as theme } from './theme-9b3c5ce8.js';
|
|
5
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
6
|
+
import { T as TogetherComponentGlobalContext } from './utils-0966b189.js';
|
|
7
7
|
|
|
8
8
|
const StyledPopup = styled.div `
|
|
9
9
|
position: fixed;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as domainLocales } from './index-
|
|
2
|
-
import { i as isProduction } from './isProduction-
|
|
1
|
+
import { d as domainLocales } from './index-0730cb03.js';
|
|
2
|
+
import { i as isProduction } from './isProduction-5b5083e1.js';
|
|
3
3
|
|
|
4
4
|
const isNumeric = (n) => !isNaN(parseFloat(n)) && isFinite(n);
|
|
5
5
|
const defaultDomain = 'hellosehat.com';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme, Image } from '@mantine/core';
|
|
4
4
|
import { DatePickerInput } from '@mantine/dates';
|
|
5
|
-
import { I as ISO_FORMAT } from './index-
|
|
6
|
-
import { L as LOCALE } from './index-
|
|
7
|
-
import { C as CommonGAssets } from './index-
|
|
8
|
-
import { M as MAPPED_LOCALE } from './useMantineLocale-
|
|
5
|
+
import { I as ISO_FORMAT } from './index-0730cb03.js';
|
|
6
|
+
import { L as LOCALE } from './index-ddb4c753.js';
|
|
7
|
+
import { C as CommonGAssets } from './index-de0b462c.js';
|
|
8
|
+
import { M as MAPPED_LOCALE } from './useMantineLocale-39bfcb4d.js';
|
|
9
9
|
|
|
10
10
|
// Omit<MantineDatePickerInputProps, 'value'>
|
|
11
11
|
const DatePicker = (_a) => {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useMemo, createContext, useContext } from 'react';
|
|
2
2
|
import { Portal, Box, Flex, rem, createStyles, useMantineTheme, Switch } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll, M as MediaQueries } from './utils-
|
|
4
|
-
import { w as StyledBackdrop, x as StyledDrawer, y as StyledDrawerPanel, z as StyledDrawerContent, A as StyledRadioImageGroup, B as StyledRadioImageItem, C as useStyles$9, P as PureInput } from './index.styles-
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { t as theme } from './theme-
|
|
7
|
-
import { M as MarryBabyText } from './index-
|
|
8
|
-
import { T as Text$1 } from './index-
|
|
9
|
-
import { u as useScrollbarSize } from './useScrollbarSize-
|
|
3
|
+
import { t as toggleNoScroll, M as MediaQueries } from './utils-1c4436fb.js';
|
|
4
|
+
import { w as StyledBackdrop, x as StyledDrawer, y as StyledDrawerPanel, z as StyledDrawerContent, A as StyledRadioImageGroup, B as StyledRadioImageItem, C as useStyles$9, P as PureInput } from './index.styles-950cf52f.js';
|
|
5
|
+
import { T as Text } from './index-c82ef63d.js';
|
|
6
|
+
import { t as theme } from './theme-9b3c5ce8.js';
|
|
7
|
+
import { M as MarryBabyText } from './index-5a9b98ee.js';
|
|
8
|
+
import { T as Text$1 } from './index-f4d48e7c.js';
|
|
9
|
+
import { u as useScrollbarSize } from './useScrollbarSize-5621f902.js';
|
|
10
10
|
import { createPortal } from 'react-dom';
|
|
11
11
|
import styled from '@emotion/styled';
|
|
12
|
-
import { s as setDefaultClass } from './utils-
|
|
13
|
-
import { _ as __rest } from './tslib.es6-
|
|
12
|
+
import { s as setDefaultClass } from './utils-0966b189.js';
|
|
13
|
+
import { _ as __rest } from './tslib.es6-2805eb0d.js';
|
|
14
14
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
15
|
-
import { G as Gender } from './index-
|
|
15
|
+
import { G as Gender } from './index-ddb4c753.js';
|
|
16
16
|
import { Controller, useForm } from 'react-hook-form';
|
|
17
17
|
import { BabyBoyMB, BabyGirlMB, CalendarMB } from '@hhgtech/icons/other';
|
|
18
|
-
import { R as Radio, B as Button, c as Input$1 } from './index-
|
|
19
|
-
import { C as CommonGAssets } from './index-
|
|
20
|
-
import { I as Input } from './index-
|
|
21
|
-
import './utils-
|
|
22
|
-
import { D as DatePicker } from './index-
|
|
23
|
-
import { u as useTranslations } from './useTranslations-
|
|
18
|
+
import { R as Radio, B as Button, c as Input$1 } from './index-f7b2cf2b.js';
|
|
19
|
+
import { C as CommonGAssets } from './index-de0b462c.js';
|
|
20
|
+
import { I as Input } from './index-49cc4e66.js';
|
|
21
|
+
import './utils-f28f8d21.js';
|
|
22
|
+
import { D as DatePicker } from './index-de5fbde2.js';
|
|
23
|
+
import { u as useTranslations } from './useTranslations-bd5502b7.js';
|
|
24
24
|
import '@mantine/hooks';
|
|
25
|
-
import './useMantineLocale-
|
|
26
|
-
import './index-
|
|
27
|
-
import './WhatsApp-
|
|
28
|
-
import './index.styled-
|
|
29
|
-
import './index-
|
|
30
|
-
import { L as Label } from './constants-
|
|
25
|
+
import './useMantineLocale-39bfcb4d.js';
|
|
26
|
+
import './index-0730cb03.js';
|
|
27
|
+
import './WhatsApp-c5ccc324.js';
|
|
28
|
+
import './index.styled-03c6007b.js';
|
|
29
|
+
import './index-7be202e4.js';
|
|
30
|
+
import { L as Label } from './constants-fe7395e5.js';
|
|
31
31
|
import '@mantine/dates';
|
|
32
32
|
import { format } from 'date-fns';
|
|
33
33
|
import flattenChildren from 'react-keyed-flatten-children';
|