@hhgtech/hhg-components 1.29.17 → 1.29.18
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/adapters.js +15 -15
- package/build/babyGrowth.js +78 -78
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components/mantine/modal/index.d.ts +6 -2
- package/build/components.js +57 -57
- package/build/{constants-0a7a7957.js → constants-523e4339.js} +2 -2
- package/build/{constants-35a21453.js → constants-c1895d0b.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-e4968f44.js → core-74b23b35.js} +2 -2
- package/build/{dataTransform-7cfd14b3.js → dataTransform-4d7770eb.js} +1 -1
- package/build/ecom.js +6 -6
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +79 -79
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/mantine/modal/index.d.ts +6 -2
- package/build/esm/components.js +57 -57
- package/build/esm/{constants-fc1b5f78.js → constants-a0b7b504.js} +2 -2
- package/build/esm/{constants-d1d50f1c.js → constants-be2dc35c.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-17935fff.js → core-c660cd25.js} +2 -2
- package/build/esm/{dataTransform-0fbc17d9.js → dataTransform-899826e1.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-ef254fca.js → getDynamicHealthTool-16a448be.js} +4 -4
- package/build/esm/{getSocialList-f98573f2.js → getSocialList-3a7e5d28.js} +2 -2
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-0e60d43a.js → index-0769b868.js} +6 -6
- package/build/esm/{index-b3aea71b.js → index-07c6e1bd.js} +2 -2
- package/build/esm/{index-9c6f814a.js → index-10a2a45f.js} +1 -1
- package/build/esm/{index-d01ca44f.js → index-1538c11f.js} +12 -12
- package/build/esm/{index-a65af006.js → index-1bf3e35c.js} +3 -3
- package/build/esm/{index-41bd2987.js → index-1efced5f.js} +2 -2
- package/build/esm/{index-7964c0a8.js → index-1f464f39.js} +2 -2
- package/build/esm/{index-9757ad0c.js → index-367bd948.js} +2 -2
- package/build/esm/{index-d1e04fce.js → index-401131fb.js} +4 -4
- package/build/esm/{index-1f00dab1.js → index-478aba6c.js} +10 -10
- package/build/esm/{index-c23b0358.js → index-51a9b105.js} +3 -3
- package/build/esm/{index-665ece47.js → index-58ae7efe.js} +11 -11
- package/build/esm/{index-38ef08e0.js → index-5c9ce0c4.js} +2 -2
- package/build/esm/{index-0a897618.js → index-5d578c35.js} +9 -9
- package/build/esm/{index-a9f91f5d.js → index-5fdf1dd2.js} +64 -68
- package/build/esm/{index-81d05a76.js → index-7c95581c.js} +31 -31
- package/build/esm/{index-34e9459b.js → index-86d1abb7.js} +2 -2
- package/build/esm/{index-87fe45e1.js → index-92c85354.js} +4 -4
- package/build/esm/{index-8ff94253.js → index-9990eb81.js} +9 -9
- package/build/esm/{index-14f33e9e.js → index-b55d56c4.js} +5 -5
- package/build/esm/{index-efece2d5.js → index-b7d60a4a.js} +10 -10
- package/build/esm/{index-a10087a9.js → index-d5e7c1e8.js} +2 -2
- package/build/esm/{index-446055fe.js → index-db5867f7.js} +2 -2
- package/build/esm/{index-02829e3f.js → index-dbfa149c.js} +2 -2
- package/build/esm/{index-21a3b5f6.js → index-fb688a43.js} +2 -2
- package/build/esm/index.js +65 -65
- package/build/esm/{index.styled-82126932.js → index.styled-9f9851b4.js} +2 -2
- package/build/esm/{index.styles-d98f59dc.js → index.styles-996c138e.js} +6 -6
- package/build/esm/lead.js +27 -27
- package/build/esm/mantine.js +21 -21
- package/build/esm/misc.js +18 -18
- package/build/esm/navigation.js +34 -34
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-e1520965.js → routing-929cd1fb.js} +2 -2
- package/build/esm/subot.js +21 -21
- package/build/esm/together.js +34 -34
- package/build/esm/{types-1966209a.js → types-440530c9.js} +13 -13
- package/build/esm/{types-b77fdbc0.js → types-90ec8021.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-1c42ff1f.js → useCategory-b6f1959f.js} +5 -5
- package/build/esm/{useHealthToolCache-8d278372.js → useHealthToolCache-6d04ca86.js} +2 -2
- package/build/esm/{useMantineLocale-d8d39e86.js → useMantineLocale-66cfbbd2.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-94c864f5.js → usePlacesAutocomplete-39416d1d.js} +1 -1
- package/build/esm/{useTranslations-a525a397.js → useTranslations-fc7f8dd8.js} +1 -1
- package/build/esm/{utils-f7a7fdfd.js → utils-8c35ae89.js} +4 -4
- package/build/esm/{utils-d30ddfb1.js → utils-d3e3f2b4.js} +5 -5
- package/build/esm/{utils-8538eea7.js → utils-ed21e15c.js} +1 -1
- package/build/esm/vaccination.js +25 -25
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-ae5ef3b0.js → getDynamicHealthTool-11942b36.js} +4 -4
- package/build/{getSocialList-d880e605.js → getSocialList-baab7a61.js} +2 -2
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-c7a628ce.js → index-0a4a508c.js} +3 -3
- package/build/{index-da4a25ea.js → index-1eccded0.js} +3 -3
- package/build/{index-ee4202df.js → index-2459d183.js} +11 -11
- package/build/{index-c90ee96d.js → index-262dfbbc.js} +2 -2
- package/build/{index-faea268a.js → index-46623c42.js} +2 -2
- package/build/{index-9dfb876a.js → index-4c0ab241.js} +2 -2
- package/build/{index-b7c8ceca.js → index-58b81760.js} +9 -9
- package/build/{index-fbbbdeae.js → index-60c7d20d.js} +12 -12
- package/build/{index-414de958.js → index-60f5eaea.js} +2 -2
- package/build/{index-5ce5bba7.js → index-659a649a.js} +10 -10
- package/build/{index-94a81bc4.js → index-6986f240.js} +2 -2
- package/build/{index-b682581b.js → index-7266497d.js} +2 -2
- package/build/{index-ee3d42c9.js → index-7574caf8.js} +9 -9
- package/build/{index-26bdcdb1.js → index-83614a97.js} +2 -2
- package/build/{index-81b97a64.js → index-859778e9.js} +2 -2
- package/build/{index-9b8d64f9.js → index-868e03bc.js} +6 -6
- package/build/{index-12064167.js → index-94d91014.js} +2 -2
- package/build/{index-a61f69ad.js → index-9c701b37.js} +5 -5
- package/build/{index-b80ad613.js → index-a1b8f6b3.js} +4 -4
- package/build/{index-8465ff51.js → index-a39267ef.js} +4 -4
- package/build/{index-679cdbd2.js → index-c14a3401.js} +63 -67
- package/build/{index-3daa3294.js → index-d7dd570d.js} +2 -2
- package/build/{index-5f148866.js → index-d991ca92.js} +10 -10
- package/build/{index-ec143fbd.js → index-de63c38c.js} +31 -31
- package/build/{index-989f7518.js → index-f0142042.js} +1 -1
- package/build/index.js +65 -65
- package/build/{index.styled-4ed16683.js → index.styled-caebf4eb.js} +2 -2
- package/build/{index.styles-f55725b8.js → index.styles-bb906f44.js} +6 -6
- package/build/lead.js +27 -27
- package/build/mantine.js +18 -18
- package/build/misc.js +18 -18
- package/build/navigation.js +34 -34
- package/build/onboardingV2.js +29 -29
- package/build/pwg.js +19 -19
- package/build/{routing-8b639f0d.js → routing-bf7d2a09.js} +2 -2
- package/build/subot.js +21 -21
- package/build/together.js +34 -34
- package/build/{types-77d4171a.js → types-1fa04596.js} +13 -13
- package/build/{types-eaa2b378.js → types-ab2f69b3.js} +30 -30
- package/build/types.js +1 -1
- package/build/{useCategory-a9d45547.js → useCategory-29be08ff.js} +5 -5
- package/build/{useHealthToolCache-0606f9ac.js → useHealthToolCache-349d1e9c.js} +2 -2
- package/build/{useMantineLocale-db0b093d.js → useMantineLocale-1245d82e.js} +3 -3
- package/build/{usePlacesAutocomplete-a777528a.js → usePlacesAutocomplete-e3b2dffc.js} +1 -1
- package/build/{useTranslations-31cc4781.js → useTranslations-d1085988.js} +1 -1
- package/build/{utils-613df852.js → utils-046e709c.js} +4 -4
- package/build/{utils-f13c11d7.js → utils-1f06bb27.js} +1 -1
- package/build/{utils-b68d28a7.js → utils-d3aa8666.js} +5 -5
- package/build/vaccination.js +25 -25
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-6e46a9b9.js → BMI_BOYS.percentile.monthly-f9a9409f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-dda7f58d.js → BMI_BOYS.percentile.weekly-0abdf668.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-51bc0c5c.js → BMI_BOYS.percentile.yearly-913807f1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f20c34d2.js → BMI_BOYS.zscore.monthly-437c9f2c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-8d218d3a.js → BMI_BOYS.zscore.weekly-82da5a92.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b8fde8c9.js → BMI_BOYS.zscore.yearly-9269b909.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-dfa4d05d.js → BMI_GIRLS.percentile.monthly-5f032591.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-6b731e4c.js → BMI_GIRLS.percentile.weekly-246d16f9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-2e1a358c.js → BMI_GIRLS.percentile.yearly-68896f68.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-8d61516c.js → BMI_GIRLS.zscore.monthly-65b27e65.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-59ac7b96.js → BMI_GIRLS.zscore.weekly-7a0d7696.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-60cccfe3.js → BMI_GIRLS.zscore.yearly-a98b2ee1.js} +0 -0
- /package/build/{ChevronDown-ee84357d.js → ChevronDown-263f89e3.js} +0 -0
- /package/build/{Close-523623b3.js → Close-fde88112.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2140267f.js → HEAD CIRCUM_BOYS.percentile.monthly-d471e5be.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0ede573b.js → HEAD CIRCUM_BOYS.percentile.weekly-2d4c331c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c4f0656a.js → HEAD CIRCUM_BOYS.percentile.yearly-12509b06.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-d4548890.js → HEAD CIRCUM_BOYS.zscore.monthly-feba9d26.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-cbdb4e3e.js → HEAD CIRCUM_BOYS.zscore.weekly-3b0e5b29.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9168e3d8.js → HEAD CIRCUM_BOYS.zscore.yearly-06795ba6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-39cb5eab.js → HEAD CIRCUM_GIRLS.percentile.monthly-42763f99.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-5a8813b5.js → HEAD CIRCUM_GIRLS.percentile.weekly-f4ca0cea.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-cec3695a.js → HEAD CIRCUM_GIRLS.percentile.yearly-e3cdda83.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-53512d9c.js → HEAD CIRCUM_GIRLS.zscore.monthly-ab5956a1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e2e423e5.js → HEAD CIRCUM_GIRLS.zscore.weekly-b67b77f0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-a8b18f5e.js → HEAD CIRCUM_GIRLS.zscore.yearly-c730e0f9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-41fdd2b7.js → HEIGHT_BOYS.percentile.monthly-d2557978.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-ef40b477.js → HEIGHT_BOYS.percentile.weekly-fbbfe16d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f16333d6.js → HEIGHT_BOYS.percentile.yearly-4f75eb5b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b0ed2949.js → HEIGHT_BOYS.zscore.monthly-e9a15a81.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7dce55df.js → HEIGHT_BOYS.zscore.weekly-55eb7fac.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-5bb0f7e3.js → HEIGHT_BOYS.zscore.yearly-124a291a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-602eebde.js → HEIGHT_GIRLS.percentile.monthly-559066bd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a2666dac.js → HEIGHT_GIRLS.percentile.weekly-b524ff21.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-639c3ea2.js → HEIGHT_GIRLS.percentile.yearly-fe54fc3d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e794d7c0.js → HEIGHT_GIRLS.zscore.monthly-6df3ace8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e85c05d8.js → HEIGHT_GIRLS.zscore.weekly-440182e4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-6a6bd4fe.js → HEIGHT_GIRLS.zscore.yearly-2239076c.js} +0 -0
- /package/build/{Subot-35a0cab0.js → Subot-4cd603cb.js} +0 -0
- /package/build/{Visible-d721fc2c.js → Visible-32d3c9a7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-ea587422.js → WEIGHT_BOYS.percentile.monthly-aac2fae1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7d31ccce.js → WEIGHT_BOYS.percentile.weekly-84a5719b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-90f41501.js → WEIGHT_BOYS.percentile.yearly-41acb434.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-82df696d.js → WEIGHT_BOYS.zscore.monthly-36720350.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-965cb1b6.js → WEIGHT_BOYS.zscore.weekly-0d22da2e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-44edda31.js → WEIGHT_BOYS.zscore.yearly-74559e80.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-de2dda49.js → WEIGHT_GIRLS.percentile.monthly-9be293aa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2b9bc113.js → WEIGHT_GIRLS.percentile.weekly-88862672.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9f9c5297.js → WEIGHT_GIRLS.percentile.yearly-c9f41759.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ebf7cb87.js → WEIGHT_GIRLS.zscore.monthly-5b0da2bb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c87d0604.js → WEIGHT_GIRLS.zscore.weekly-a1f6319d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-71d89271.js → WEIGHT_GIRLS.zscore.yearly-f80316af.js} +0 -0
- /package/build/{animation-eafda324.js → animation-e96c15ab.js} +0 -0
- /package/build/{cart-26eed962.js → cart-c93963c9.js} +0 -0
- /package/build/{cookieHelper-8deeb691.js → cookieHelper-9e428795.js} +0 -0
- /package/build/{doctor-cb723534.js → doctor-6a334ceb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-5b9c7ed1.js → BMI_BOYS.percentile.monthly-03a818d5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-4c187149.js → BMI_BOYS.percentile.weekly-a51b64a2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-99cfa5d4.js → BMI_BOYS.percentile.yearly-985de993.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-abdb5caa.js → BMI_BOYS.zscore.monthly-05d3b1e1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b49e3082.js → BMI_BOYS.zscore.weekly-b67f3945.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-42128eb3.js → BMI_BOYS.zscore.yearly-dc02659d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-bf7f8f70.js → BMI_GIRLS.percentile.monthly-409cdd3c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-dee4f48e.js → BMI_GIRLS.percentile.weekly-31ea2b0d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-25afa28d.js → BMI_GIRLS.percentile.yearly-f42796ee.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-df0b1076.js → BMI_GIRLS.zscore.monthly-41d34257.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-57dd15e2.js → BMI_GIRLS.zscore.weekly-d70888d5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5f6e2c5f.js → BMI_GIRLS.zscore.yearly-20ccb6f1.js} +0 -0
- /package/build/esm/{ChevronDown-2711c7dd.js → ChevronDown-d5f1015c.js} +0 -0
- /package/build/esm/{Close-42992f5f.js → Close-b96f07ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8702c385.js → HEAD CIRCUM_BOYS.percentile.monthly-b4c72b64.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-638d4bb6.js → HEAD CIRCUM_BOYS.percentile.weekly-1bb51c4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e297811e.js → HEAD CIRCUM_BOYS.percentile.yearly-f0e938ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a23b2018.js → HEAD CIRCUM_BOYS.zscore.monthly-0097ceda.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-fa28f0e3.js → HEAD CIRCUM_BOYS.zscore.weekly-7791a37a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f1a19daf.js → HEAD CIRCUM_BOYS.zscore.yearly-176848af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-38b0e9a0.js → HEAD CIRCUM_GIRLS.percentile.monthly-8cb337d0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e28086a5.js → HEAD CIRCUM_GIRLS.percentile.weekly-14249e31.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c8181968.js → HEAD CIRCUM_GIRLS.percentile.yearly-7c972181.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-3ed3c0f5.js → HEAD CIRCUM_GIRLS.zscore.monthly-cf2b71c3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b005df92.js → HEAD CIRCUM_GIRLS.zscore.weekly-aa11916a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-2cd7a1f5.js → HEAD CIRCUM_GIRLS.zscore.yearly-cd38146f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5f7976a2.js → HEIGHT_BOYS.percentile.monthly-c05fbb16.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-1f8592cd.js → HEIGHT_BOYS.percentile.weekly-2a892017.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-83b09988.js → HEIGHT_BOYS.percentile.yearly-0328277f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6319c0ef.js → HEIGHT_BOYS.zscore.monthly-58e6533b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-11c1132a.js → HEIGHT_BOYS.zscore.weekly-5e8896b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-69d6a070.js → HEIGHT_BOYS.zscore.yearly-37d9673c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5c0731e4.js → HEIGHT_GIRLS.percentile.monthly-b2f4c974.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6e4b3645.js → HEIGHT_GIRLS.percentile.weekly-a2471107.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c26f3f53.js → HEIGHT_GIRLS.percentile.yearly-4adfd0c4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-619e0121.js → HEIGHT_GIRLS.zscore.monthly-baf399f3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-77753380.js → HEIGHT_GIRLS.zscore.weekly-e2fc1c23.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b72f7865.js → HEIGHT_GIRLS.zscore.yearly-6bd355fb.js} +0 -0
- /package/build/esm/{Subot-f96dda9f.js → Subot-95a2ecc5.js} +0 -0
- /package/build/esm/{Visible-c7491042.js → Visible-ff2f78ae.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-cb0245e9.js → WEIGHT_BOYS.percentile.monthly-a686903f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d77361c6.js → WEIGHT_BOYS.percentile.weekly-a6116ded.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-95e56b39.js → WEIGHT_BOYS.percentile.yearly-2e2e12d3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bfa5d0b4.js → WEIGHT_BOYS.zscore.monthly-7b37bc7c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a5b40d5e.js → WEIGHT_BOYS.zscore.weekly-1aa4846d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-cdd0be5d.js → WEIGHT_BOYS.zscore.yearly-4fae0c53.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ef5d1850.js → WEIGHT_GIRLS.percentile.monthly-df8a327b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1e153442.js → WEIGHT_GIRLS.percentile.weekly-a9fd7523.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-97619cc8.js → WEIGHT_GIRLS.percentile.yearly-986e151d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-df88b754.js → WEIGHT_GIRLS.zscore.monthly-d3911071.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-53571f11.js → WEIGHT_GIRLS.zscore.weekly-179bdb65.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-b47b94ed.js → WEIGHT_GIRLS.zscore.yearly-3b64b70d.js} +0 -0
- /package/build/esm/{animation-c2bcbc3d.js → animation-752425e4.js} +0 -0
- /package/build/esm/{cart-055a3481.js → cart-1aa38d6e.js} +0 -0
- /package/build/esm/{cookieHelper-a1672ed3.js → cookieHelper-5ea392e1.js} +0 -0
- /package/build/esm/{doctor-f14cccda.js → doctor-95fcdea1.js} +0 -0
- /package/build/esm/{index-6ccf53da.js → index-5a39bb56.js} +0 -0
- /package/build/esm/{index-db141cf7.js → index-a4b7207b.js} +0 -0
- /package/build/esm/{index-5abbf61c.js → index-e7a10637.js} +0 -0
- /package/build/esm/{isProduction-37be1250.js → isProduction-9442d268.js} +0 -0
- /package/build/esm/{localizeNumberFormat-161869f6.js → localizeNumberFormat-cb313836.js} +0 -0
- /package/build/esm/{normalizeLink-2e913a04.js → normalizeLink-7830ca0c.js} +0 -0
- /package/build/esm/{number-b22acd8c.js → number-eaf1fe68.js} +0 -0
- /package/build/esm/{paths-19ff35af.js → paths-52165ce0.js} +0 -0
- /package/build/esm/{theme-93d306da.js → theme-ec183439.js} +0 -0
- /package/build/esm/{translationsContext-3b232249.js → translationsContext-39354d2d.js} +0 -0
- /package/build/esm/{tslib.es6-9a55765b.js → tslib.es6-a48fd58c.js} +0 -0
- /package/build/esm/{types-54d90af2.js → types-50e6be79.js} +0 -0
- /package/build/esm/{useIsInit-3bd1d556.js → useIsInit-24be5fb9.js} +0 -0
- /package/build/esm/{useOutsideClick-4e919aa2.js → useOutsideClick-8e5d0998.js} +0 -0
- /package/build/esm/{useScrollbarSize-12dd2dab.js → useScrollbarSize-f0b0a643.js} +0 -0
- /package/build/esm/{useUniqueId-17966242.js → useUniqueId-e0903e6b.js} +0 -0
- /package/build/esm/{utils-ea453702.js → utils-ad8df0bc.js} +0 -0
- /package/build/{index-fa85c15f.js → index-2a3de3af.js} +0 -0
- /package/build/{index-e552d709.js → index-3a32685f.js} +0 -0
- /package/build/{index-d078eb09.js → index-609fe3fd.js} +0 -0
- /package/build/{isProduction-bfe10029.js → isProduction-5678235d.js} +0 -0
- /package/build/{localizeNumberFormat-05ae5867.js → localizeNumberFormat-820cd334.js} +0 -0
- /package/build/{normalizeLink-83f90463.js → normalizeLink-0e850db3.js} +0 -0
- /package/build/{number-49452fb2.js → number-90b64fb3.js} +0 -0
- /package/build/{paths-0920c0f2.js → paths-84142b4b.js} +0 -0
- /package/build/{theme-6a5ed743.js → theme-bc89adc3.js} +0 -0
- /package/build/{translationsContext-2228d3c2.js → translationsContext-fad41b36.js} +0 -0
- /package/build/{tslib.es6-f622b1a6.js → tslib.es6-51c62455.js} +0 -0
- /package/build/{types-e345bed4.js → types-85cfe883.js} +0 -0
- /package/build/{useIsInit-c1fd9dfb.js → useIsInit-aa3fa699.js} +0 -0
- /package/build/{useOutsideClick-83f60c3c.js → useOutsideClick-271b11cc.js} +0 -0
- /package/build/{useScrollbarSize-09ca7190.js → useScrollbarSize-2da7cebc.js} +0 -0
- /package/build/{useUniqueId-050c1caf.js → useUniqueId-43aae2f4.js} +0 -0
- /package/build/{utils-cb0b9a58.js → utils-1e7ed4c2.js} +0 -0
package/build/esm/gAssets.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CommonGAssets, G as GAssets } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { C as CommonGAssets, G as GAssets } from './index-07c6e1bd.js';
|
|
2
|
+
import './index-db5867f7.js';
|
|
3
3
|
import 'date-fns/locale';
|
|
4
|
-
import './Subot-
|
|
5
|
-
import './isProduction-
|
|
4
|
+
import './Subot-95a2ecc5.js';
|
|
5
|
+
import './isProduction-9442d268.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import { n as normalizeLinkSlash } from './normalizeLink-
|
|
3
|
-
import { c as getDiscoverApiDomain } from './routing-
|
|
4
|
-
import { g as getDataWithCache } from './core-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-a48fd58c.js';
|
|
2
|
+
import { n as normalizeLinkSlash } from './normalizeLink-7830ca0c.js';
|
|
3
|
+
import { c as getDiscoverApiDomain } from './routing-929cd1fb.js';
|
|
4
|
+
import { g as getDataWithCache } from './core-c660cd25.js';
|
|
5
5
|
|
|
6
6
|
const formatHealthTool = (healthTool, locale) => {
|
|
7
7
|
var _a, _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { L as LOCALE } from './Subot-
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
2
|
+
import { L as LOCALE } from './Subot-95a2ecc5.js';
|
|
3
|
+
import { C as CommonGAssets } from './index-07c6e1bd.js';
|
|
4
4
|
|
|
5
5
|
const getSocialList = (shareUrl) => [
|
|
6
6
|
{
|
package/build/esm/hooks.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { u as useTranslations } from './useTranslations-
|
|
2
|
-
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-
|
|
3
|
-
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-
|
|
4
|
-
export { u as useHealthToolsCache } from './useHealthToolCache-
|
|
5
|
-
export { u as useIsInit } from './useIsInit-
|
|
6
|
-
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-
|
|
7
|
-
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-
|
|
1
|
+
export { u as useTranslations } from './useTranslations-fc7f8dd8.js';
|
|
2
|
+
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-f0b0a643.js';
|
|
3
|
+
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-b6f1959f.js';
|
|
4
|
+
export { u as useHealthToolsCache } from './useHealthToolCache-6d04ca86.js';
|
|
5
|
+
export { u as useIsInit } from './useIsInit-24be5fb9.js';
|
|
6
|
+
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-8e5d0998.js';
|
|
7
|
+
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-e0903e6b.js';
|
|
8
8
|
import 'react';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-39354d2d.js';
|
|
10
10
|
import 'string-format';
|
|
11
11
|
import 'lodash/debounce';
|
|
12
|
-
import './tslib.es6-
|
|
13
|
-
import './cookieHelper-
|
|
14
|
-
import './Subot-
|
|
15
|
-
import './getDynamicHealthTool-
|
|
16
|
-
import './normalizeLink-
|
|
17
|
-
import './routing-
|
|
18
|
-
import './index-
|
|
12
|
+
import './tslib.es6-a48fd58c.js';
|
|
13
|
+
import './cookieHelper-5ea392e1.js';
|
|
14
|
+
import './Subot-95a2ecc5.js';
|
|
15
|
+
import './getDynamicHealthTool-16a448be.js';
|
|
16
|
+
import './normalizeLink-7830ca0c.js';
|
|
17
|
+
import './routing-929cd1fb.js';
|
|
18
|
+
import './index-db5867f7.js';
|
|
19
19
|
import 'date-fns/locale';
|
|
20
|
-
import './isProduction-
|
|
21
|
-
import './core-
|
|
20
|
+
import './isProduction-9442d268.js';
|
|
21
|
+
import './core-c660cd25.js';
|
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-39354d2d.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-39354d2d.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-39354d2d.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-39354d2d.js';
|
|
3
3
|
import React__default, { useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
const TranslationsProvider = ({ locale = 'en-PH', values, children, }) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a48fd58c.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
3
|
-
import { L as LOCALE } from './Subot-
|
|
3
|
+
import { L as LOCALE } from './Subot-95a2ecc5.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-07c6e1bd.js';
|
|
6
|
+
import { t as theme } from './theme-ec183439.js';
|
|
7
|
+
import { I as ImageWrap, f as CentralCarousel } from './index-9990eb81.js';
|
|
8
|
+
import { T as Text } from './index-b7d60a4a.js';
|
|
9
9
|
|
|
10
10
|
const StyledIconContainer = styled.div `
|
|
11
11
|
display: inline-flex;
|
|
@@ -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-db5867f7.js';
|
|
2
|
+
import { i as isProduction } from './isProduction-9442d268.js';
|
|
3
3
|
|
|
4
4
|
const isNumeric = (n) => !isNaN(parseFloat(n)) && isFinite(n);
|
|
5
5
|
const defaultDomain = 'hellosehat.com';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { useMantineTheme } from '@mantine/core';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { t as theme } from './theme-
|
|
4
|
+
import { t as theme } from './theme-ec183439.js';
|
|
5
5
|
|
|
6
6
|
const StyledDropdown = styled.div `
|
|
7
7
|
--dropdown-padding: 12px 18px 12px 16px;
|
|
@@ -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-a4b7207b.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-db5867f7.js';
|
|
5
|
+
import { u as useScreenSize } from './index-9990eb81.js';
|
|
6
6
|
import { Flex, Stack, Box } from '@mantine/core';
|
|
7
7
|
import '@mantine/dates';
|
|
8
|
-
import './Subot-
|
|
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 './Subot-95a2ecc5.js';
|
|
9
|
+
import './index-07c6e1bd.js';
|
|
10
|
+
import './useMantineLocale-66cfbbd2.js';
|
|
11
|
+
import { T as Text } from './index-1f464f39.js';
|
|
12
|
+
import { t as theme } from './theme-ec183439.js';
|
|
13
|
+
import './translationsContext-39354d2d.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-ad8df0bc.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-401131fb.js';
|
|
19
|
+
import { M as MarryBabyText } from './index-86d1abb7.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-a48fd58c.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { t as theme } from './theme-
|
|
4
|
-
import { S as Share, E as Eye, W as WhatsApp, k as Spinner } from './utils-
|
|
3
|
+
import { t as theme } from './theme-ec183439.js';
|
|
4
|
+
import { S as Share, E as Eye, W as WhatsApp, k as Spinner } from './utils-d3e3f2b4.js';
|
|
5
5
|
|
|
6
6
|
const ArrowRightTail = (_a) => {
|
|
7
7
|
var { size = 24, color: colorInit = theme.colors.gray600, useCurrentColor, isActive, activeColor = theme.colors.primaryBase } = _a, rest = __rest(_a, ["size", "color", "useCurrentColor", "isActive", "activeColor"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a48fd58c.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Modal as Modal$1 } from '@mantine/core';
|
|
4
|
-
import { i as useStyles } from './index-
|
|
4
|
+
import { i as useStyles } from './index-9990eb81.js';
|
|
5
5
|
|
|
6
6
|
const Modal = (_a) => {
|
|
7
7
|
var { styles, transitionProps } = _a, rest = __rest(_a, ["styles", "transitionProps"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a48fd58c.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-ad8df0bc.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a48fd58c.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-1f464f39.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { L as LOCALE } from './Subot-
|
|
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 './Subot-95a2ecc5.js';
|
|
3
|
+
import { C as CommonGAssets } from './index-07c6e1bd.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-8c35ae89.js';
|
|
5
|
+
import { I as ImageWrap } from './index-9990eb81.js';
|
|
6
6
|
|
|
7
7
|
const Logo = ({ type, className, style, isLightLogo, customSize, badge, locale, dateForSeasonal, isPro, }) => {
|
|
8
8
|
const [seasonalChecks, setSeasonalChecks] = useState({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState } from 'react';
|
|
2
2
|
import { Portal } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll, M as MediaQueries } from './utils-
|
|
4
|
-
import { x as StyledBackdrop, y as StyledDrawer, z as StyledDrawerPanel, A as StyledDrawerContent, B as StyledRadioImageGroup, C as StyledRadioImageItem } from './index.styles-
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { u as useScrollbarSize } from './useScrollbarSize-
|
|
3
|
+
import { t as toggleNoScroll, M as MediaQueries } from './utils-ad8df0bc.js';
|
|
4
|
+
import { x as StyledBackdrop, y as StyledDrawer, z as StyledDrawerPanel, A as StyledDrawerContent, B as StyledRadioImageGroup, C as StyledRadioImageItem } from './index.styles-996c138e.js';
|
|
5
|
+
import { T as Text } from './index-1f464f39.js';
|
|
6
|
+
import { u as useScrollbarSize } from './useScrollbarSize-f0b0a643.js';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
|
-
import { s as setDefaultClass } from './utils-
|
|
10
|
-
import { t as theme } from './theme-
|
|
9
|
+
import { s as setDefaultClass } from './utils-d3e3f2b4.js';
|
|
10
|
+
import { t as theme } from './theme-ec183439.js';
|
|
11
11
|
import { BabyBoyMB, GenderChooseBoy, BabyGirlMB, GenderChooseGirl } from '@hhgtech/icons/other';
|
|
12
|
-
import { u as useTranslations } from './useTranslations-
|
|
13
|
-
import { G as Gender } from './Subot-
|
|
14
|
-
import { M as MarryBabyText, a as MarryBabyHeading } from './index-
|
|
15
|
-
import { T as Text$1 } from './index-
|
|
12
|
+
import { u as useTranslations } from './useTranslations-fc7f8dd8.js';
|
|
13
|
+
import { G as Gender } from './Subot-95a2ecc5.js';
|
|
14
|
+
import { M as MarryBabyText, a as MarryBabyHeading } from './index-86d1abb7.js';
|
|
15
|
+
import { T as Text$1 } from './index-b7d60a4a.js';
|
|
16
16
|
|
|
17
17
|
const Backdrop = ({ open = false, onClickOutside, }) => {
|
|
18
18
|
return (React__default.createElement(StyledBackdrop, { "data-open": open, onClick: onClickOutside }));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
2
|
-
import { I as Icon } from './index-
|
|
3
|
-
import { u as useTranslations } from './useTranslations-
|
|
2
|
+
import { I as Icon } from './index-1bf3e35c.js';
|
|
3
|
+
import { u as useTranslations } from './useTranslations-fc7f8dd8.js';
|
|
4
4
|
import { format } from 'date-fns';
|
|
5
5
|
import DayPickerInput from 'react-day-picker/DayPickerInput';
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { t as theme } from './theme-
|
|
7
|
+
import { t as theme } from './theme-ec183439.js';
|
|
8
8
|
|
|
9
9
|
var styles = {"loading":"tliWyii"};
|
|
10
10
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-a48fd58c.js';
|
|
2
2
|
import React__default, { useReducer, useState, useEffect } from 'react';
|
|
3
3
|
import { Stack, Input as Input$1 } from '@mantine/core';
|
|
4
|
-
import { c as Input, S as Select } from './index-
|
|
4
|
+
import { c as Input, S as Select } from './index-9990eb81.js';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import { c as CDN_ADDRESS } from './index-
|
|
7
|
-
import { L as LOCALE } from './Subot-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import './index-
|
|
11
|
-
import './theme-
|
|
12
|
-
import { u as useTranslations } from './useTranslations-
|
|
6
|
+
import { c as CDN_ADDRESS } from './index-db5867f7.js';
|
|
7
|
+
import { L as LOCALE } from './Subot-95a2ecc5.js';
|
|
8
|
+
import './index-07c6e1bd.js';
|
|
9
|
+
import './useMantineLocale-66cfbbd2.js';
|
|
10
|
+
import './index-1f464f39.js';
|
|
11
|
+
import './theme-ec183439.js';
|
|
12
|
+
import { u as useTranslations } from './useTranslations-fc7f8dd8.js';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './utils-
|
|
15
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
14
|
+
import './utils-ad8df0bc.js';
|
|
15
|
+
import { M as MAPPED_LOCALE } from './utils-ed21e15c.js';
|
|
16
16
|
|
|
17
17
|
const generateGetAddressDetail = (locale) => {
|
|
18
18
|
return `${CDN_ADDRESS}/cities-data-${MAPPED_LOCALE[locale]}.json`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-a48fd58c.js';
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import { useDebouncedValue } from '@mantine/hooks';
|
|
4
|
-
import { D as DEBOUNCED_TIME, g as StyledSliderWrapper, B as Button, h as StyledSlider } from './index-
|
|
4
|
+
import { D as DEBOUNCED_TIME, g as StyledSliderWrapper, B as Button, h as StyledSlider } from './index-9990eb81.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,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useMemo, useCallback } from 'react';
|
|
2
|
-
import { t as StyledDivider, v as useStyles, w as StyledContainer } from './index.styles-
|
|
3
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
4
|
-
import { u as useTranslations } from './useTranslations-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { P as PATHS } from './paths-
|
|
7
|
-
import { a as LOCALIZED_SLUGS } from './constants-
|
|
8
|
-
import { d as domainLocales } from './index-
|
|
9
|
-
import { i as callApi, j as getCarePath } from './utils-
|
|
10
|
-
import { i as isProduction } from './isProduction-
|
|
2
|
+
import { t as StyledDivider, v as useStyles, w as StyledContainer } from './index.styles-996c138e.js';
|
|
3
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-a48fd58c.js';
|
|
4
|
+
import { u as useTranslations } from './useTranslations-fc7f8dd8.js';
|
|
5
|
+
import { B as Button } from './index-9990eb81.js';
|
|
6
|
+
import { P as PATHS } from './paths-52165ce0.js';
|
|
7
|
+
import { a as LOCALIZED_SLUGS } from './constants-a0b7b504.js';
|
|
8
|
+
import { d as domainLocales } from './index-db5867f7.js';
|
|
9
|
+
import { i as callApi, j as getCarePath } from './utils-d3e3f2b4.js';
|
|
10
|
+
import { i as isProduction } from './isProduction-9442d268.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated Consider to use mantine
|
|
@@ -1,69 +1,69 @@
|
|
|
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, u as useStyles$6, 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, B as Button$1, c as Input$1, d as Checkbox$1, e as ChipButton, t as themeColors } from './index-
|
|
6
|
-
import { T as Text$1 } from './index-
|
|
7
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
8
|
-
import { Bookmark, CalendarMB
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import { H as Heading } from './index-
|
|
11
|
-
import { t as theme } from './theme-
|
|
2
|
+
import { T as Text } from './index-1f464f39.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, u as useStyles$6, T as TextArea, P as PureInput } from './index.styles-996c138e.js';
|
|
4
|
+
import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-ad8df0bc.js';
|
|
5
|
+
import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, B as Button$1, c as Input$1, d as Checkbox$1, e as ChipButton, t as themeColors } from './index-9990eb81.js';
|
|
6
|
+
import { T as Text$1 } from './index-b7d60a4a.js';
|
|
7
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-a48fd58c.js';
|
|
8
|
+
import { Bookmark, CalendarMB } from '@hhgtech/icons/other';
|
|
9
|
+
import { C as CommonGAssets } from './index-07c6e1bd.js';
|
|
10
|
+
import { H as Heading } from './index-367bd948.js';
|
|
11
|
+
import { t as theme } from './theme-ec183439.js';
|
|
12
12
|
import { Box, Radio as Radio$2, Flex, rem, Card, Group, createStyles, Stack, getStylesRef, useMantineTheme, Container as Container$1, 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, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-
|
|
16
|
-
import { G as Gender, L as LOCALE } from './Subot-
|
|
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-db5867f7.js';
|
|
16
|
+
import { G as Gender, L as LOCALE } from './Subot-95a2ecc5.js';
|
|
17
|
+
import './useMantineLocale-66cfbbd2.js';
|
|
18
|
+
import './translationsContext-39354d2d.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-7c95581c.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-401131fb.js';
|
|
25
|
+
import { B as Button } from './index-fb688a43.js';
|
|
26
|
+
import { I as Input } from './index-dbfa149c.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 { u as useTranslations } from './useTranslations-
|
|
29
|
+
import { i as isProduction } from './isProduction-9442d268.js';
|
|
30
|
+
import { u as useTranslations } from './useTranslations-fc7f8dd8.js';
|
|
31
31
|
import { format, addDays, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
32
32
|
import dayjs from 'dayjs';
|
|
33
|
-
import { D as DATE_FORMAT } from './types-
|
|
34
|
-
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-
|
|
35
|
-
import { D as DatePicker } from './index-
|
|
36
|
-
import { M as MarryBabyText } from './index-
|
|
37
|
-
import { S as Slider } from './index-
|
|
38
|
-
import { D as Dropdown } from './index-
|
|
39
|
-
import { C as Container } from './index-
|
|
33
|
+
import { D as DATE_FORMAT } from './types-50e6be79.js';
|
|
34
|
+
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-d3e3f2b4.js';
|
|
35
|
+
import { D as DatePicker } from './index-51a9b105.js';
|
|
36
|
+
import { M as MarryBabyText } from './index-86d1abb7.js';
|
|
37
|
+
import { S as Slider } from './index-5c9ce0c4.js';
|
|
38
|
+
import { D as Dropdown } from './index-10a2a45f.js';
|
|
39
|
+
import { C as Container } from './index-a4b7207b.js';
|
|
40
40
|
import { useForm, Controller } from 'react-hook-form';
|
|
41
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
41
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-6d04ca86.js';
|
|
42
42
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
43
|
-
import { D as DatePicker$1 } from './index-
|
|
44
|
-
import { B as BabyGrowthGender, D as Drawer } from './index-
|
|
45
|
-
import { L as Label } from './constants-
|
|
46
|
-
import { f as formatUserProfileUrl } from './index-
|
|
47
|
-
import './utils-
|
|
48
|
-
import './index.styled-
|
|
49
|
-
import './index-
|
|
50
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
43
|
+
import { D as DatePicker$1 } from './index-b55d56c4.js';
|
|
44
|
+
import { B as BabyGrowthGender, D as Drawer } from './index-478aba6c.js';
|
|
45
|
+
import { L as Label } from './constants-a0b7b504.js';
|
|
46
|
+
import { f as formatUserProfileUrl } from './index-92c85354.js';
|
|
47
|
+
import './utils-8c35ae89.js';
|
|
48
|
+
import './index.styled-9f9851b4.js';
|
|
49
|
+
import './index-e7a10637.js';
|
|
50
|
+
import { a as useOutsideClick } from './useOutsideClick-8e5d0998.js';
|
|
51
51
|
import enUS from 'date-fns/locale/en-US';
|
|
52
52
|
import id from 'date-fns/locale/id';
|
|
53
53
|
import vi from 'date-fns/locale/vi';
|
|
54
54
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
55
|
-
import { g as getSocialList } from './getSocialList-
|
|
55
|
+
import { g as getSocialList } from './getSocialList-3a7e5d28.js';
|
|
56
56
|
import { v4 } from 'uuid';
|
|
57
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-
|
|
57
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-929cd1fb.js';
|
|
58
58
|
import { useForm as useForm$1, isNotEmpty } from '@mantine/form';
|
|
59
|
-
import { I as Icon } from './index-
|
|
59
|
+
import { I as Icon } from './index-1bf3e35c.js';
|
|
60
60
|
import { Close, Plus } from '@hhgtech/icons/core';
|
|
61
|
-
import { M as Modal } from './index-
|
|
61
|
+
import { M as Modal } from './index-1efced5f.js';
|
|
62
62
|
import Cookies from 'js-cookie';
|
|
63
63
|
import flatten from 'lodash/flatten';
|
|
64
64
|
import uniqBy from 'lodash/uniqBy';
|
|
65
|
-
import { g as getCookie } from './cookieHelper-
|
|
66
|
-
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-
|
|
65
|
+
import { g as getCookie } from './cookieHelper-5ea392e1.js';
|
|
66
|
+
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-7830ca0c.js';
|
|
67
67
|
|
|
68
68
|
var styles$7 = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
|
|
69
69
|
|
|
@@ -4383,6 +4383,12 @@ const HorizonalForm = (_a) => {
|
|
|
4383
4383
|
styles,
|
|
4384
4384
|
classNames,
|
|
4385
4385
|
});
|
|
4386
|
+
const commonDateProps = {
|
|
4387
|
+
placeholder: 'DD/MM/YYYY',
|
|
4388
|
+
popoverProps: {
|
|
4389
|
+
withinPortal: true,
|
|
4390
|
+
},
|
|
4391
|
+
};
|
|
4386
4392
|
return (React__default.createElement(Box, Object.assign({ className: classes.root }, props),
|
|
4387
4393
|
React__default.createElement(Controller, { control: control, name: "gender", render: ({ field: { onChange, value } }) => (React__default.createElement(Box, { className: classes.row },
|
|
4388
4394
|
React__default.createElement(Box, { className: classes.labelWrapper },
|
|
@@ -4396,13 +4402,11 @@ const HorizonalForm = (_a) => {
|
|
|
4396
4402
|
React__default.createElement(Radio$1, { value: "girl", label: t('gender.girl'), classNames: {
|
|
4397
4403
|
label: classes.radioLabel,
|
|
4398
4404
|
} }))))) }),
|
|
4399
|
-
React__default.createElement(Controller, { control: control, name: "birthday", render: ({ field: { onChange
|
|
4405
|
+
React__default.createElement(Controller, { control: control, name: "birthday", render: ({ field: { onChange }, fieldState: { error } }) => {
|
|
4400
4406
|
return (React__default.createElement(Box, { className: classes.row },
|
|
4401
4407
|
React__default.createElement(Box, { className: classes.labelWrapper },
|
|
4402
4408
|
React__default.createElement("label", { className: classes.label, htmlFor: "birthday" }, t('babyGrowth.input.birthday'))),
|
|
4403
|
-
React__default.createElement(DatePicker$1, {
|
|
4404
|
-
withinPortal: true,
|
|
4405
|
-
}, className: cx(classes.control, error ? 'error' : ''), onChange: onChange, placeholder: "DD/MM/YYYY", defaultDate: value || new Date(), maxDate: new Date() })));
|
|
4409
|
+
React__default.createElement(DatePicker$1, Object.assign({}, commonDateProps, { className: cx(classes.control, error ? 'error' : ''), onChange: onChange, maxDate: new Date() }))));
|
|
4406
4410
|
} }),
|
|
4407
4411
|
React__default.createElement(Box, { className: classes.row },
|
|
4408
4412
|
React__default.createElement(Box, { className: classes.labelWrapper },
|
|
@@ -4429,12 +4433,10 @@ const HorizonalForm = (_a) => {
|
|
|
4429
4433
|
React__default.createElement(Input, { className: `${cx(classes.inputWithUnit__input)}`, name: "head", placeholder: "0", size: "md", value: String(value), onChange: onChange, type: "number", onKeyDown: (e) => ['e', 'E', '+', '-'].includes(e.key) && e.preventDefault(), onWheelCapture: (event) => event.currentTarget.blur() }),
|
|
4430
4434
|
React__default.createElement(Box, { className: classes.inputWithUnit__unit },
|
|
4431
4435
|
React__default.createElement(Text, { as: "span", size: "p2", className: classes.inputWithUnit__unitText }, t('babyGrowth.cm')))))) }),
|
|
4432
|
-
React__default.createElement(Controller, { control: control, name: "measurementDate", render: ({ field: { onChange
|
|
4436
|
+
React__default.createElement(Controller, { control: control, name: "measurementDate", render: ({ field: { onChange } }) => (React__default.createElement(Box, { className: classes.row },
|
|
4433
4437
|
React__default.createElement(Box, { className: classes.labelWrapper },
|
|
4434
4438
|
React__default.createElement("label", { className: classes.label, htmlFor: "measurementDate" }, t('babyGrowth.input.measurementDate'))),
|
|
4435
|
-
React__default.createElement(DatePicker$1, {
|
|
4436
|
-
withinPortal: true,
|
|
4437
|
-
}, className: classes.control, placeholder: value && dayjs(value).format(DUE_DATE_FORMAT), defaultDate: value || new Date(), onChange: onChange, maxDate: new Date() }))) }),
|
|
4439
|
+
React__default.createElement(DatePicker$1, Object.assign({}, commonDateProps, { className: classes.control, defaultValue: new Date(), onChange: onChange, maxDate: new Date() })))) }),
|
|
4438
4440
|
React__default.createElement(Box, { className: classes.row },
|
|
4439
4441
|
React__default.createElement(Button$1, { className: classes.submitBtn, size: "lg", type: "submit", variant: isMarryBaby ? 'secondary' : 'primary', "data-event-category": "Health Tool", "data-event-action": "Baby Growth", "data-event-label": currentUrl }, t('babyGrowth.input.submit')))));
|
|
4440
4442
|
};
|
|
@@ -4479,15 +4481,17 @@ const StyledRow$2 = styled.div `
|
|
|
4479
4481
|
const VerticalForm = () => {
|
|
4480
4482
|
const { t } = useTranslations();
|
|
4481
4483
|
const { control, currentUrl, isEmptyThreeFields, isMarryBaby, siteType } = useContext(BabyGrowthFormContext);
|
|
4484
|
+
const commonDateProps = {
|
|
4485
|
+
placeholder: 'DD/MM/YYYY',
|
|
4486
|
+
popoverProps: {
|
|
4487
|
+
withinPortal: true,
|
|
4488
|
+
},
|
|
4489
|
+
};
|
|
4482
4490
|
return (React__default.createElement(StyledBabyGrowthWrapper$1, { className: "form-wrapper", "data-theme": siteType },
|
|
4483
4491
|
React__default.createElement(Controller, { control: control, name: "gender", render: ({ field: { onChange, value } }) => (React__default.createElement(BabyGrowthGender, { onChange: onChange, value: value, siteType: siteType })) }),
|
|
4484
4492
|
siteType === 'marryBaby' ? (React__default.createElement(React__default.Fragment, null,
|
|
4485
4493
|
React__default.createElement(Controller, { control: control, name: "birthday", render: ({ field: { onChange, value }, fieldState: { error } }) => (React__default.createElement(StyledFormControl, null,
|
|
4486
|
-
React__default.createElement(StyledTextField, { label: t('babyGrowth.input.birthday'), name: "birthday", size: "md", value: String(value), CustomInput: React__default.createElement(DatePicker, { onChange: onChange,
|
|
4487
|
-
after: new Date(),
|
|
4488
|
-
}, customInput: (props) => {
|
|
4489
|
-
return (React__default.createElement(Input, Object.assign({ onChange: onChange, className: (error === null || error === void 0 ? void 0 : error.message) ? 'error-input' : '', name: "birthday", size: "md" }, props, { value: value && dayjs(value).format(DUE_DATE_FORMAT) })));
|
|
4490
|
-
} }), actionIcon: React__default.createElement(CalendarMB, { size: 32 }) }))) }),
|
|
4494
|
+
React__default.createElement(StyledTextField, { label: t('babyGrowth.input.birthday'), name: "birthday", size: "md", value: String(value), CustomInput: React__default.createElement(DatePicker$1, Object.assign({}, commonDateProps, { onChange: onChange, maxDate: new Date(), className: (error === null || error === void 0 ? void 0 : error.message) ? 'error-input' : '' })), actionIcon: React__default.createElement(CalendarMB, { size: 32 }) }))) }),
|
|
4491
4495
|
React__default.createElement(StyledRow$2, null,
|
|
4492
4496
|
React__default.createElement(Controller, { control: control, name: "height", render: ({ field: { onChange, value }, fieldState: { error }, }) => (React__default.createElement(StyledFormControl, null,
|
|
4493
4497
|
React__default.createElement(StyledTextField, { label: `${t('babyGrowth.height')} ${t('babyGrowth.cm')}`, name: "height", size: "md", value: String(value), CustomInput: React__default.createElement(Input, { className: isEmptyThreeFields || (error === null || error === void 0 ? void 0 : error.message)
|
|
@@ -4508,18 +4512,12 @@ const VerticalForm = () => {
|
|
|
4508
4512
|
React__default.createElement(Controller, { control: control, name: "bmi", render: ({ field: { value } }) => (React__default.createElement(StyledFormControl, null,
|
|
4509
4513
|
React__default.createElement(StyledTextField, { label: `${t('babyGrowth.input.bmi')} ${t('babyGrowth.kg.m2')}`, name: "date", size: "md", value: String(value), CustomInput: React__default.createElement(Input, { name: "bmi", size: "md", type: "number", value: String(value), isDisabled: true, style: { color: '#9495A0' } }) }))) })),
|
|
4510
4514
|
React__default.createElement(Controller, { control: control, name: "measurementDate", render: ({ field: { onChange, value }, fieldState: { error } }) => (React__default.createElement(StyledFormControl, null,
|
|
4511
|
-
React__default.createElement(StyledTextField, { label: t('babyGrowth.input.measurementDate'), name: "date", size: "md", value: DateToInputValue(value), CustomInput: React__default.createElement(DatePicker, {
|
|
4512
|
-
after: new Date(),
|
|
4513
|
-
}, customInput: (props) => (React__default.createElement(Input, Object.assign({ className: (error === null || error === void 0 ? void 0 : error.message) && 'error-input', name: "measurementDate", size: "md", placeholder: value && dayjs(value).format(DUE_DATE_FORMAT), onChange: onChange }, props, { value: value && dayjs(value).format(DUE_DATE_FORMAT) }))) }), actionIcon: React__default.createElement(CalendarMB, { size: 32 }) }))) }),
|
|
4515
|
+
React__default.createElement(StyledTextField, { label: t('babyGrowth.input.measurementDate'), name: "date", size: "md", value: DateToInputValue(value), CustomInput: React__default.createElement(DatePicker$1, Object.assign({}, commonDateProps, { defaultValue: new Date(), maxDate: new Date(), onChange: onChange, className: (error === null || error === void 0 ? void 0 : error.message) ? 'error-input' : '' })), actionIcon: React__default.createElement(CalendarMB, { size: 32 }) }))) }),
|
|
4514
4516
|
React__default.createElement(Button$1, { size: "lg", type: "submit", variant: isMarryBaby ? 'secondary' : 'primary', "data-event-category": "Health Tool", "data-event-action": "Baby Growth", "data-event-label": currentUrl }, t('babyGrowth.input.submit')))) : (React__default.createElement(React__default.Fragment, null,
|
|
4515
|
-
React__default.createElement(Controller, { control: control, name: "birthday", render: ({ field: { onChange
|
|
4517
|
+
React__default.createElement(Controller, { control: control, name: "birthday", render: ({ field: { onChange }, fieldState: { error } }) => (React__default.createElement(StyledFormControl, null,
|
|
4516
4518
|
React__default.createElement(StyledInlineLabel, { size: "label1", htmlFor: "birthday" },
|
|
4517
4519
|
React__default.createElement(Text, { as: "label", size: "s4", weight: "semiBold" }, t('babyGrowth.input.birthday'))),
|
|
4518
|
-
React__default.createElement(DatePicker, { onChange: onChange,
|
|
4519
|
-
after: new Date(),
|
|
4520
|
-
}, customInput: (props) => {
|
|
4521
|
-
return (React__default.createElement(Input, Object.assign({ onChange: onChange, className: (error === null || error === void 0 ? void 0 : error.message) ? 'error-input' : '', name: "birthday", size: "md", actionIcon: React__default.createElement(Calendar, null) }, props, { value: value && dayjs(value).format(DUE_DATE_FORMAT) })));
|
|
4522
|
-
} }))) }),
|
|
4520
|
+
React__default.createElement(DatePicker$1, Object.assign({}, commonDateProps, { onChange: onChange, maxDate: new Date(), className: (error === null || error === void 0 ? void 0 : error.message) ? 'error-input' : '' })))) }),
|
|
4523
4521
|
React__default.createElement(StyledRow$2, null,
|
|
4524
4522
|
React__default.createElement(Controller, { control: control, name: "height", render: ({ field: { onChange, value }, fieldState: { error }, }) => (React__default.createElement(StyledFormControl, null,
|
|
4525
4523
|
React__default.createElement(StyledInlineLabel, { size: "label1", htmlFor: "height" },
|
|
@@ -4542,12 +4540,10 @@ const VerticalForm = () => {
|
|
|
4542
4540
|
React__default.createElement(Text, { size: "s4", weight: "semiBold" }, t('babyGrowth.input.bmi')),
|
|
4543
4541
|
React__default.createElement(Text, { as: "span", size: "n1", color: theme.colors.gray400 }, t('babyGrowth.kg.m2'))),
|
|
4544
4542
|
React__default.createElement(Input, { name: "bmi", size: "md", type: "number", value: String(value), isDisabled: true }))) })),
|
|
4545
|
-
React__default.createElement(Controller, { control: control, name: "measurementDate", render: ({ field: { onChange
|
|
4543
|
+
React__default.createElement(Controller, { control: control, name: "measurementDate", render: ({ field: { onChange }, fieldState: { error } }) => (React__default.createElement(StyledFormControl, null,
|
|
4546
4544
|
React__default.createElement(StyledInlineLabel, { size: "label1", htmlFor: "measurementDate" },
|
|
4547
4545
|
React__default.createElement(Text, { as: "label", size: "s4", weight: "semiBold" }, t('babyGrowth.input.measurementDate'))),
|
|
4548
|
-
React__default.createElement(DatePicker, {
|
|
4549
|
-
after: new Date(),
|
|
4550
|
-
}, customInput: (props) => (React__default.createElement(Input, Object.assign({ className: (error === null || error === void 0 ? void 0 : error.message) && 'error-input', name: "measurementDate", size: "md", placeholder: value && dayjs(value).format(DUE_DATE_FORMAT), onChange: onChange, actionIcon: React__default.createElement(Calendar, null) }, props, { value: value && dayjs(value).format(DUE_DATE_FORMAT) }))) }))) }),
|
|
4546
|
+
React__default.createElement(DatePicker$1, Object.assign({}, commonDateProps, { defaultValue: new Date(), onChange: onChange, maxDate: new Date(), className: (error === null || error === void 0 ? void 0 : error.message) ? 'error-input' : '' })))) }),
|
|
4551
4547
|
React__default.createElement(Button$1, { size: "lg", type: "submit", variant: isMarryBaby ? 'secondary' : 'primary', "data-event-category": "Health Tool", "data-event-action": "Baby Growth", "data-event-label": currentUrl }, t('babyGrowth.input.submit'))))));
|
|
4552
4548
|
};
|
|
4553
4549
|
|