@hhgtech/hhg-components 1.29.61 → 1.29.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{Instagram-230da220.js → Instagram-a10cd9c6.js} +1 -1
- package/build/{WhatsApp-e25f4a86.js → WhatsApp-8ff330e4.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +80 -80
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components/babyGrowth/babyGrowthForm/layout/mbLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/components/borderBoxControl/index.d.ts +3 -2
- package/build/components/molecules/healthTools/components/borderInlineControl/index.d.ts +2 -1
- package/build/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/conceptionForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/ivfForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/lastPeriodForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +0 -4
- package/build/components.js +57 -57
- package/build/{constants-a915e0f0.js → constants-a454b425.js} +2 -2
- package/build/{constants-8c030539.js → constants-a60921cb.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-0c4e7362.js → core-ebaf0628.js} +2 -2
- package/build/{dataTransform-d7f25f17.js → dataTransform-a52f020f.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-1a65c7a7.js → Instagram-ccfb450e.js} +1 -1
- package/build/esm/{WhatsApp-cec8440d.js → WhatsApp-8f50e1bf.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +81 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/mbLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.d.ts +3 -2
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.d.ts +2 -1
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/conceptionForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/ivfForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/lastPeriodForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +0 -4
- package/build/esm/components.js +57 -57
- package/build/esm/{constants-97326532.js → constants-8898d04d.js} +2 -2
- package/build/esm/{constants-a57f31dd.js → constants-b9e6440f.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-22513bd6.js → core-a346e8ff.js} +2 -2
- package/build/esm/{dataTransform-eea38730.js → dataTransform-6a77d1fc.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-57ab6d7f.js → getDynamicHealthTool-1ec56ae5.js} +4 -4
- package/build/esm/{getSocialList-17e857c1.js → getSocialList-05454009.js} +5 -5
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n-values/en-PH.js +4 -4
- package/build/esm/i18n-values/hi-IN.js +4 -4
- package/build/esm/i18n-values/id-ID.js +4 -4
- package/build/esm/i18n-values/km-KH.js +4 -4
- package/build/esm/i18n-values/ms-MY.js +4 -4
- package/build/esm/i18n-values/my-MM.js +3 -3
- package/build/esm/i18n-values/th-TH.js +4 -4
- package/build/esm/i18n-values/tl-PH.js +4 -4
- package/build/esm/i18n-values/vi-VN.js +4 -4
- package/build/esm/i18n-values/vi-VN_MB.js +4 -4
- package/build/esm/i18n-values/zh-TW.js +3 -3
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-dbdd8909.js → index-0a713283.js} +144 -115
- package/build/esm/{index-32fdf36b.js → index-119e1858.js} +32 -32
- package/build/esm/{index-a0add3e6.js → index-16c00591.js} +6 -6
- package/build/esm/{index-036bbef6.js → index-1feede96.js} +2 -2
- package/build/esm/{index-51f79a77.js → index-2976962f.js} +9 -9
- package/build/esm/{index-900ddedd.js → index-320c91f7.js} +1 -1
- package/build/esm/{index-5a84e0a9.js → index-39726256.js} +3 -3
- package/build/esm/{index-71a385cb.js → index-465a013b.js} +12 -12
- package/build/esm/{index-98b5fc68.js → index-4dd17fe7.js} +2 -2
- package/build/esm/{index-595d3775.js → index-531034de.js} +4 -4
- package/build/esm/{index-8f887d1a.js → index-62383856.js} +2 -2
- package/build/esm/{index-d8639939.js → index-777e605e.js} +2 -2
- package/build/esm/{index-f3a492e5.js → index-93f7fdcd.js} +2 -2
- package/build/esm/{index-9aa58011.js → index-9ea4b5e6.js} +4 -4
- package/build/esm/{index-21f69a62.js → index-a356ee67.js} +2 -2
- package/build/esm/{index-d35a8ec2.js → index-aac1eed0.js} +9 -9
- package/build/esm/{index-a3d909bc.js → index-b7a0f534.js} +5 -5
- package/build/esm/{index-e37c07ec.js → index-baa2cf87.js} +2 -2
- package/build/esm/{index-95823e6a.js → index-c1d4e8aa.js} +10 -10
- package/build/esm/{index-38222f65.js → index-d923e380.js} +2 -2
- package/build/esm/{index-834e477b.js → index-de0eebee.js} +2 -2
- package/build/esm/{index-3ca3bfd4.js → index-e67ef62d.js} +122 -35
- package/build/esm/{index-2215fe18.js → index-faa709ae.js} +6 -6
- package/build/esm/{index-99f5d353.js → index-ffdc32d1.js} +11 -11
- package/build/esm/index.js +65 -65
- package/build/esm/{index.styled-bca18810.js → index.styled-fabb3b23.js} +2 -2
- package/build/esm/{index.styles-52138e14.js → index.styles-2a161512.js} +6 -6
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +20 -20
- package/build/esm/misc.js +20 -20
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +32 -32
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-138b4ebf.js → routing-a8a01f2f.js} +2 -2
- package/build/esm/subot.js +23 -23
- package/build/esm/together.js +35 -35
- package/build/esm/{types-fe6a2b49.js → types-83e67d91.js} +30 -30
- package/build/esm/{types-b2d56bfa.js → types-d5fb3a13.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-b6867e72.js → useCategory-60c73fbc.js} +5 -5
- package/build/esm/{useHealthToolCache-0886d3ab.js → useHealthToolCache-3e27635b.js} +2 -2
- package/build/esm/{useMantineLocale-9cbb1827.js → useMantineLocale-ce44cbda.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-6c7c66e8.js → usePlacesAutocomplete-55876d5a.js} +1 -1
- package/build/esm/{useTranslations-b308515e.js → useTranslations-cf6fd3e4.js} +1 -1
- package/build/esm/{utils-5fae0186.js → utils-4a086f15.js} +5 -5
- package/build/esm/{utils-6eef912a.js → utils-a7becf5a.js} +1 -1
- package/build/esm/{utils-73013c02.js → utils-b54f5c81.js} +4 -4
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-50faf5ee.js → getDynamicHealthTool-390c6c88.js} +4 -4
- package/build/{getSocialList-c60604c2.js → getSocialList-4bd2da4c.js} +5 -5
- package/build/hooks.js +17 -17
- package/build/i18n-values/en-PH.js +4 -4
- package/build/i18n-values/hi-IN.js +4 -4
- package/build/i18n-values/id-ID.js +4 -4
- package/build/i18n-values/km-KH.js +4 -4
- package/build/i18n-values/ms-MY.js +4 -4
- package/build/i18n-values/my-MM.js +3 -3
- package/build/i18n-values/th-TH.js +4 -4
- package/build/i18n-values/tl-PH.js +4 -4
- package/build/i18n-values/vi-VN.js +4 -4
- package/build/i18n-values/vi-VN_MB.js +4 -4
- package/build/i18n-values/zh-TW.js +3 -3
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-122d4dec.js → index-1af5bfb4.js} +2 -2
- package/build/{index-05c53a22.js → index-279088f6.js} +6 -6
- package/build/{index-bde92ced.js → index-2b51fc78.js} +2 -2
- package/build/{index-3b84fbf2.js → index-2b64835e.js} +9 -9
- package/build/{index-f438b122.js → index-306bea55.js} +2 -2
- package/build/{index-3ff193ab.js → index-349048ed.js} +4 -4
- package/build/{index-0e560dfe.js → index-5ba2dbd8.js} +143 -114
- package/build/{index-851000cb.js → index-620454c4.js} +32 -32
- package/build/{index-4464d676.js → index-62d6acb2.js} +12 -12
- package/build/{index-3e483b0c.js → index-75cf4571.js} +1 -1
- package/build/{index-0713d896.js → index-7611f400.js} +2 -2
- package/build/{index-8573fef8.js → index-98e609f3.js} +2 -2
- package/build/{index-015aeee0.js → index-9ace28d8.js} +4 -4
- package/build/{index-f4596b87.js → index-9c927505.js} +121 -34
- package/build/{index-5bea659c.js → index-a11dbe7a.js} +2 -2
- package/build/{index-4750a566.js → index-ab46b7b1.js} +10 -10
- package/build/{index-2afbc4fa.js → index-b9268074.js} +2 -2
- package/build/{index-789787d8.js → index-c366417f.js} +2 -2
- package/build/{index-906e9595.js → index-d10c16ae.js} +2 -2
- package/build/{index-28cd57d4.js → index-d701f2f0.js} +5 -5
- package/build/{index-8ef76968.js → index-e36841d2.js} +3 -3
- package/build/{index-c1170063.js → index-e57b5f57.js} +11 -11
- package/build/{index-9b4f322e.js → index-ea4553c5.js} +6 -6
- package/build/{index-1eb3ad11.js → index-fc7a35e4.js} +9 -9
- package/build/index.js +65 -65
- package/build/{index.styled-917f01e8.js → index.styled-8e2e9812.js} +2 -2
- package/build/{index.styles-473e33f2.js → index.styles-ee913855.js} +6 -6
- package/build/lead.js +28 -28
- package/build/mantine.js +17 -17
- package/build/misc.js +20 -20
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +31 -31
- package/build/pwg.js +19 -19
- package/build/{routing-3d761c64.js → routing-283c0157.js} +2 -2
- package/build/subot.js +23 -23
- package/build/together.js +35 -35
- package/build/{types-0543943c.js → types-2b80c073.js} +13 -13
- package/build/{types-89b3b94d.js → types-47887bb0.js} +30 -30
- package/build/types.js +1 -1
- package/build/{useCategory-6fa8707b.js → useCategory-df90f4ea.js} +5 -5
- package/build/{useHealthToolCache-07649ce7.js → useHealthToolCache-37aad87d.js} +2 -2
- package/build/{useMantineLocale-31c1836a.js → useMantineLocale-e18d4ed6.js} +3 -3
- package/build/{usePlacesAutocomplete-defb9d43.js → usePlacesAutocomplete-1fedd1cb.js} +1 -1
- package/build/{useTranslations-d33ab102.js → useTranslations-ff8010a9.js} +1 -1
- package/build/{utils-188a0659.js → utils-a1c4c7f3.js} +5 -5
- package/build/{utils-f5edf247.js → utils-afa1b3a6.js} +1 -1
- package/build/{utils-08fedc87.js → utils-ba634fc8.js} +4 -4
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/components/molecules/healthTools/components/borderBoxControl/index.styled.d.ts +0 -23
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.styled.d.ts +0 -23
- /package/build/{BMI_BOYS.percentile.monthly-94c973f1.js → BMI_BOYS.percentile.monthly-951fa2ec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-305b1516.js → BMI_BOYS.percentile.weekly-980ff0fc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-40ecbe90.js → BMI_BOYS.percentile.yearly-d032e209.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1947bf05.js → BMI_BOYS.zscore.monthly-1803a45b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-c70f4684.js → BMI_BOYS.zscore.weekly-8ee2d106.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-40857829.js → BMI_BOYS.zscore.yearly-78fa4d45.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-6cf6d874.js → BMI_GIRLS.percentile.monthly-6bcdc56b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a67fefc0.js → BMI_GIRLS.percentile.weekly-1e31c07d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-315d74a4.js → BMI_GIRLS.percentile.yearly-20be287d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a0b1ca94.js → BMI_GIRLS.zscore.monthly-5418196f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5c9f3d7f.js → BMI_GIRLS.zscore.weekly-df5543e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-00b03f7a.js → BMI_GIRLS.zscore.yearly-cb1566c8.js} +0 -0
- /package/build/{ChevronDown-d5c80005.js → ChevronDown-d95b1035.js} +0 -0
- /package/build/{Close-bc1799e4.js → Close-4f787ff2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-62d0e3a6.js → HEAD CIRCUM_BOYS.percentile.monthly-5daa3a00.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-661574f3.js → HEAD CIRCUM_BOYS.percentile.weekly-33e2a46f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-45da53eb.js → HEAD CIRCUM_BOYS.percentile.yearly-ff2dd96f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-42ed01f4.js → HEAD CIRCUM_BOYS.zscore.monthly-f4d8877c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-25adf76d.js → HEAD CIRCUM_BOYS.zscore.weekly-1536260d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-89c3ee2d.js → HEAD CIRCUM_BOYS.zscore.yearly-bfeecafa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-58afaf28.js → HEAD CIRCUM_GIRLS.percentile.monthly-55136779.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-86c1d25d.js → HEAD CIRCUM_GIRLS.percentile.weekly-b4c7dc1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-57f96136.js → HEAD CIRCUM_GIRLS.percentile.yearly-ea6dfb6c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3ab48d33.js → HEAD CIRCUM_GIRLS.zscore.monthly-1f5a1d37.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3f9a3347.js → HEAD CIRCUM_GIRLS.zscore.weekly-1e5e764e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-8ec764c0.js → HEAD CIRCUM_GIRLS.zscore.yearly-c510d0ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1b1ddefe.js → HEIGHT_BOYS.percentile.monthly-50022bbb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-24ba07b1.js → HEIGHT_BOYS.percentile.weekly-73e09dd2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e68100c6.js → HEIGHT_BOYS.percentile.yearly-d5614acd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-96ea0c98.js → HEIGHT_BOYS.zscore.monthly-91b5615e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8cfd180f.js → HEIGHT_BOYS.zscore.weekly-fcbb9cbc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a8bddcc6.js → HEIGHT_BOYS.zscore.yearly-24d39469.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-0d99b61f.js → HEIGHT_GIRLS.percentile.monthly-000a3992.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-86503ec0.js → HEIGHT_GIRLS.percentile.weekly-fc4484b9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-18c9d9d6.js → HEIGHT_GIRLS.percentile.yearly-eacf13da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-0c1bd7c8.js → HEIGHT_GIRLS.zscore.monthly-a9c9285c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-11ae0c87.js → HEIGHT_GIRLS.zscore.weekly-6f32d4b6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3f64ad14.js → HEIGHT_GIRLS.zscore.yearly-01313930.js} +0 -0
- /package/build/{Visible-180fefc6.js → Visible-850168da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2c757dc9.js → WEIGHT_BOYS.percentile.monthly-0e81ba1d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-29e77779.js → WEIGHT_BOYS.percentile.weekly-195fc43f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-da66c97b.js → WEIGHT_BOYS.percentile.yearly-5908d145.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-92473821.js → WEIGHT_BOYS.zscore.monthly-1a4550d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e0da2194.js → WEIGHT_BOYS.zscore.weekly-598852f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b19628ac.js → WEIGHT_BOYS.zscore.yearly-ea1d3f22.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-97b93c9c.js → WEIGHT_GIRLS.percentile.monthly-4b468cfc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-03f06675.js → WEIGHT_GIRLS.percentile.weekly-6b9fb9d3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-1b2eec98.js → WEIGHT_GIRLS.percentile.yearly-15d64500.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5dc86f2c.js → WEIGHT_GIRLS.zscore.monthly-11050a16.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-74b3efdc.js → WEIGHT_GIRLS.zscore.weekly-09048c47.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-defedb12.js → WEIGHT_GIRLS.zscore.yearly-05bb9d83.js} +0 -0
- /package/build/{animation-3583d725.js → animation-4b3e3fc8.js} +0 -0
- /package/build/{cart-1326a25a.js → cart-ff90df64.js} +0 -0
- /package/build/{cookieHelper-0dc7549a.js → cookieHelper-4eee6575.js} +0 -0
- /package/build/{doctor-a97bc91f.js → doctor-435f85cc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-81fa60d3.js → BMI_BOYS.percentile.monthly-2657b9ac.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-63609d37.js → BMI_BOYS.percentile.weekly-fa1650bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a1557ba5.js → BMI_BOYS.percentile.yearly-0e637f30.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2d168df7.js → BMI_BOYS.zscore.monthly-c2b56f2b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-38f132f7.js → BMI_BOYS.zscore.weekly-edbf3efb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dc3c0715.js → BMI_BOYS.zscore.yearly-7e6b0583.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c004d246.js → BMI_GIRLS.percentile.monthly-4d53b551.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c9578551.js → BMI_GIRLS.percentile.weekly-cb216f96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8e44012e.js → BMI_GIRLS.percentile.yearly-f1819a2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-681035b8.js → BMI_GIRLS.zscore.monthly-5c10b2db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-d5974189.js → BMI_GIRLS.zscore.weekly-11e412c0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3de08faa.js → BMI_GIRLS.zscore.yearly-ba8af7cd.js} +0 -0
- /package/build/esm/{ChevronDown-df6a3bd5.js → ChevronDown-f46763d3.js} +0 -0
- /package/build/esm/{Close-36e23ee9.js → Close-3413278b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-40db25b1.js → HEAD CIRCUM_BOYS.percentile.monthly-db758ef3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ac19494c.js → HEAD CIRCUM_BOYS.percentile.weekly-a39483ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-070fdb73.js → HEAD CIRCUM_BOYS.percentile.yearly-cb902511.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-8a9b856d.js → HEAD CIRCUM_BOYS.zscore.monthly-13ecd449.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-65ba9adb.js → HEAD CIRCUM_BOYS.zscore.weekly-b7490f44.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a72faa79.js → HEAD CIRCUM_BOYS.zscore.yearly-5aaf85d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-89c4b943.js → HEAD CIRCUM_GIRLS.percentile.monthly-bc7af031.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d8420963.js → HEAD CIRCUM_GIRLS.percentile.weekly-3c480877.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fdf55d7a.js → HEAD CIRCUM_GIRLS.percentile.yearly-576f019b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-db97bcd4.js → HEAD CIRCUM_GIRLS.zscore.monthly-bb0d8ad6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d6a1d5d6.js → HEAD CIRCUM_GIRLS.zscore.weekly-090e3ba0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ceca9e84.js → HEAD CIRCUM_GIRLS.zscore.yearly-5319d2a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c347f98c.js → HEIGHT_BOYS.percentile.monthly-d9e9fffc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-11cb15de.js → HEIGHT_BOYS.percentile.weekly-0b06783f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-017246b1.js → HEIGHT_BOYS.percentile.yearly-e4c68bb5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-01bafcb7.js → HEIGHT_BOYS.zscore.monthly-140d0410.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-70b86b82.js → HEIGHT_BOYS.zscore.weekly-d6b6f48f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-dee3966a.js → HEIGHT_BOYS.zscore.yearly-d444e82e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8d7d3f4c.js → HEIGHT_GIRLS.percentile.monthly-6b11c12a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-242ac3fb.js → HEIGHT_GIRLS.percentile.weekly-281a74eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5a2e3a7c.js → HEIGHT_GIRLS.percentile.yearly-3e320176.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-40521aef.js → HEIGHT_GIRLS.zscore.monthly-f4a488c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-49a8bc43.js → HEIGHT_GIRLS.zscore.weekly-cf2edd38.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7aac1871.js → HEIGHT_GIRLS.zscore.yearly-7c9cf63f.js} +0 -0
- /package/build/esm/{Visible-d5989724.js → Visible-8e3f3b2b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b05dc722.js → WEIGHT_BOYS.percentile.monthly-6b9f8428.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c8c8bd11.js → WEIGHT_BOYS.percentile.weekly-d4562de8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b9ab1698.js → WEIGHT_BOYS.percentile.yearly-9871ce3d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-378d8d2d.js → WEIGHT_BOYS.zscore.monthly-c572a171.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-61e4c5e4.js → WEIGHT_BOYS.zscore.weekly-83de702b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9d6224d4.js → WEIGHT_BOYS.zscore.yearly-93bb8ebf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fe8497c9.js → WEIGHT_GIRLS.percentile.monthly-9e4bfecf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-54017089.js → WEIGHT_GIRLS.percentile.weekly-a3b7d8f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-c8df7b86.js → WEIGHT_GIRLS.percentile.yearly-4531ab40.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-81120fde.js → WEIGHT_GIRLS.zscore.monthly-4662518d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-44e97d98.js → WEIGHT_GIRLS.zscore.weekly-b26ea326.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ef04187f.js → WEIGHT_GIRLS.zscore.yearly-3658a92f.js} +0 -0
- /package/build/esm/{animation-fa187b09.js → animation-075d530d.js} +0 -0
- /package/build/esm/{cart-13774386.js → cart-5a8514ba.js} +0 -0
- /package/build/esm/{cookieHelper-74d45e32.js → cookieHelper-d4de0565.js} +0 -0
- /package/build/esm/{doctor-557e92de.js → doctor-ae937e74.js} +0 -0
- /package/build/esm/{index-8479695d.js → index-29557e11.js} +0 -0
- /package/build/esm/{index-d0fa15c7.js → index-809cc43a.js} +0 -0
- /package/build/esm/{index-be1a7a94.js → index-e3a6c8b3.js} +0 -0
- /package/build/esm/{index-9f857ac5.js → index-e5a963a3.js} +0 -0
- /package/build/esm/{isProduction-b95a0408.js → isProduction-8940d360.js} +0 -0
- /package/build/esm/{localizeNumberFormat-29c7f4c6.js → localizeNumberFormat-608bd8b8.js} +0 -0
- /package/build/esm/{normalizeLink-bffe8d19.js → normalizeLink-0e772229.js} +0 -0
- /package/build/esm/{number-b439aa3d.js → number-cb0783fa.js} +0 -0
- /package/build/esm/{paths-d0378c1d.js → paths-7c9f0b69.js} +0 -0
- /package/build/esm/{theme-2cab734a.js → theme-de4e5929.js} +0 -0
- /package/build/esm/{translationsContext-24fa9c1f.js → translationsContext-a9c64944.js} +0 -0
- /package/build/esm/{tslib.es6-5450db07.js → tslib.es6-88a9e5c2.js} +0 -0
- /package/build/esm/{useIsInit-dbe8ad2c.js → useIsInit-388cfd8a.js} +0 -0
- /package/build/esm/{useOutsideClick-81cb7e5d.js → useOutsideClick-0b0fddf4.js} +0 -0
- /package/build/esm/{useScrollbarSize-9a756f42.js → useScrollbarSize-7bf5a8eb.js} +0 -0
- /package/build/esm/{useUniqueId-7cb0d235.js → useUniqueId-9c6b638c.js} +0 -0
- /package/build/esm/{utils-b28e77e7.js → utils-75e5fda9.js} +0 -0
- /package/build/{index-60b7ace8.js → index-450e2629.js} +0 -0
- /package/build/{index-96a41705.js → index-6ce326d3.js} +0 -0
- /package/build/{index-15ec88ab.js → index-967e63e9.js} +0 -0
- /package/build/{index-0d353d5f.js → index-ac7aa0ce.js} +0 -0
- /package/build/{isProduction-e8fae0ab.js → isProduction-5aa2ebcc.js} +0 -0
- /package/build/{localizeNumberFormat-0f525000.js → localizeNumberFormat-1ae3d94b.js} +0 -0
- /package/build/{normalizeLink-f04a9305.js → normalizeLink-b66bb05c.js} +0 -0
- /package/build/{number-09c3ef72.js → number-093ff334.js} +0 -0
- /package/build/{paths-f8aee0a4.js → paths-af2ba186.js} +0 -0
- /package/build/{theme-7d87f277.js → theme-991e77d4.js} +0 -0
- /package/build/{translationsContext-2437492e.js → translationsContext-2a1e6e04.js} +0 -0
- /package/build/{tslib.es6-9dc2b5c2.js → tslib.es6-c96f77e2.js} +0 -0
- /package/build/{useIsInit-985f901c.js → useIsInit-9a9d7406.js} +0 -0
- /package/build/{useOutsideClick-1bae3d60.js → useOutsideClick-75ea269b.js} +0 -0
- /package/build/{useScrollbarSize-2032ef79.js → useScrollbarSize-13e3f5a6.js} +0 -0
- /package/build/{useUniqueId-e24a8ccd.js → useUniqueId-ded74d2a.js} +0 -0
- /package/build/{utils-cec33bdf.js → utils-9d404b9b.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useMemo, createContext, useContext } from 'react';
|
|
2
2
|
import { Portal, Box, Flex, rem, createStyles, Input, Chip, 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$b } 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-75e5fda9.js';
|
|
4
|
+
import { w as StyledBackdrop, x as StyledDrawer, y as StyledDrawerPanel, z as StyledDrawerContent, A as StyledRadioImageGroup, B as StyledRadioImageItem, C as useStyles$b } from './index.styles-2a161512.js';
|
|
5
|
+
import { T as Text } from './index-d923e380.js';
|
|
6
|
+
import { t as theme } from './theme-de4e5929.js';
|
|
7
|
+
import { M as MarryBabyText } from './index-a356ee67.js';
|
|
8
|
+
import { T as Text$1 } from './index-c1d4e8aa.js';
|
|
9
|
+
import { u as useScrollbarSize } from './useScrollbarSize-7bf5a8eb.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-4a086f15.js';
|
|
13
|
+
import { _ as __rest } from './tslib.es6-88a9e5c2.js';
|
|
14
14
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
15
|
-
import { R as Radio, B as Button, c as Input$1 } from './index-
|
|
16
|
-
import { C as CommonGAssets } from './index-
|
|
17
|
-
import './constants-
|
|
18
|
-
import './index-
|
|
19
|
-
import './utils-
|
|
20
|
-
import { D as DatePicker } from './index-
|
|
21
|
-
import { u as useTranslations } from './useTranslations-
|
|
15
|
+
import { R as Radio, B as Button, c as Input$1 } from './index-2976962f.js';
|
|
16
|
+
import { C as CommonGAssets } from './index-1feede96.js';
|
|
17
|
+
import './constants-8898d04d.js';
|
|
18
|
+
import './index-e5a963a3.js';
|
|
19
|
+
import './utils-b54f5c81.js';
|
|
20
|
+
import { D as DatePicker } from './index-16c00591.js';
|
|
21
|
+
import { u as useTranslations } from './useTranslations-cf6fd3e4.js';
|
|
22
22
|
import '@mantine/hooks';
|
|
23
|
-
import './useMantineLocale-
|
|
24
|
-
import './index-
|
|
25
|
-
import './WhatsApp-
|
|
26
|
-
import './index.styled-
|
|
27
|
-
import './index-
|
|
28
|
-
import { BabyBoyMB, BabyGirlMB } from '@hhgtech/icons/other';
|
|
23
|
+
import './useMantineLocale-ce44cbda.js';
|
|
24
|
+
import './index-93f7fdcd.js';
|
|
25
|
+
import './WhatsApp-8f50e1bf.js';
|
|
26
|
+
import './index.styled-fabb3b23.js';
|
|
27
|
+
import './index-809cc43a.js';
|
|
28
|
+
import { BabyBoyMB, BabyGirlMB, CalendarMB } from '@hhgtech/icons/other';
|
|
29
29
|
import '@mantine/dates';
|
|
30
30
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
31
31
|
|
|
@@ -596,7 +596,7 @@ var useStyles$5 = createStyles(() => {
|
|
|
596
596
|
gap: rem(8),
|
|
597
597
|
border: '1px solid #EAEAEC',
|
|
598
598
|
borderRadius: rem(16),
|
|
599
|
-
padding: '10px 16px',
|
|
599
|
+
padding: '10px 16px 12px 16px',
|
|
600
600
|
flex: '1 1 0px',
|
|
601
601
|
'.mantine-Input-input': {
|
|
602
602
|
border: 0,
|
|
@@ -612,7 +612,8 @@ var useStyles$5 = createStyles(() => {
|
|
|
612
612
|
info: {
|
|
613
613
|
display: 'flex',
|
|
614
614
|
flexDirection: 'column',
|
|
615
|
-
gap:
|
|
615
|
+
gap: 0,
|
|
616
|
+
flex: '1 1 0px',
|
|
616
617
|
},
|
|
617
618
|
label: {
|
|
618
619
|
color: '#7C7C8F',
|
|
@@ -638,12 +639,22 @@ const BorderBoxControl = (_a) => {
|
|
|
638
639
|
return (React__default.createElement(Box, Object.assign({ className: cx(classes.root, className) }, props),
|
|
639
640
|
React__default.createElement(Box, { className: classes.info },
|
|
640
641
|
label && (React__default.createElement(Text, { size: "n1", as: "label", className: classes.label }, label)),
|
|
641
|
-
React__default.createElement(Box, { className: classes.content }, children)
|
|
642
|
-
|
|
642
|
+
React__default.createElement(Box, { className: classes.content }, React__default.isValidElement(children)
|
|
643
|
+
? React__default.cloneElement(children, Object.assign(Object.assign({}, children.props), { size: 'sm', error: null }))
|
|
644
|
+
: null)),
|
|
645
|
+
rightSection && (React__default.createElement(Box, { className: classes.rightSection }, typeof rightSection === 'string' ? (React__default.createElement(Text, { size: "p4" }, rightSection)) : React__default.isValidElement(rightSection) ? (React__default.cloneElement(rightSection, {
|
|
646
|
+
size: 24,
|
|
647
|
+
})) : null))));
|
|
643
648
|
};
|
|
644
649
|
|
|
645
650
|
var useStyles$4 = createStyles((theme, { width, direction }) => {
|
|
651
|
+
const isMarryBaby = theme.other.template === 'mb';
|
|
646
652
|
return {
|
|
653
|
+
root: {
|
|
654
|
+
display: 'flex',
|
|
655
|
+
flexDirection: 'column',
|
|
656
|
+
gap: rem(8),
|
|
657
|
+
},
|
|
647
658
|
row: {
|
|
648
659
|
display: 'flex',
|
|
649
660
|
flexDirection: direction,
|
|
@@ -670,24 +681,33 @@ var useStyles$4 = createStyles((theme, { width, direction }) => {
|
|
|
670
681
|
control: {
|
|
671
682
|
width: typeof width === 'number' ? rem(width) : width,
|
|
672
683
|
flexShrink: 1,
|
|
684
|
+
input: Object.assign({}, (isMarryBaby && {
|
|
685
|
+
borderRadius: rem(12),
|
|
686
|
+
})),
|
|
673
687
|
'&.error': {
|
|
674
688
|
'button, input': {
|
|
675
689
|
borderColor: theme.colors.red[7],
|
|
676
690
|
},
|
|
677
691
|
},
|
|
678
692
|
},
|
|
693
|
+
error: {
|
|
694
|
+
color: 'red',
|
|
695
|
+
textAlign: 'right',
|
|
696
|
+
},
|
|
679
697
|
};
|
|
680
698
|
});
|
|
681
699
|
|
|
682
|
-
const BorderInlineControl = ({ label, children, styles, classNames, direction = 'row', width = 180, }) => {
|
|
700
|
+
const BorderInlineControl = ({ label, children, styles, classNames, direction = 'row', width = 180, errorMess, }) => {
|
|
683
701
|
const { classes } = useStyles$4({ width, direction }, {
|
|
684
702
|
name: 'HealthToolFormWrapper__BorderInlineControl',
|
|
685
703
|
styles,
|
|
686
704
|
classNames,
|
|
687
705
|
});
|
|
688
|
-
return (React__default.createElement(Box, { className: classes.
|
|
689
|
-
React__default.createElement(Box, { className: classes.
|
|
690
|
-
|
|
706
|
+
return (React__default.createElement(Box, { className: classes.root },
|
|
707
|
+
React__default.createElement(Box, { className: classes.row },
|
|
708
|
+
React__default.createElement(Box, { className: classes.labelWrapper }, label && (React__default.createElement("label", { className: classes.label, htmlFor: "gender" }, label))),
|
|
709
|
+
React__default.createElement(Box, { className: classes.content }, flattenChildren(children).map((i, idx) => (React__default.createElement(Box, { key: idx, className: classes.control }, i))))),
|
|
710
|
+
errorMess && (React__default.createElement(Text, { size: "p4", className: classes.error }, errorMess))));
|
|
691
711
|
};
|
|
692
712
|
|
|
693
713
|
const useStyles$3 = createStyles(() => {
|
|
@@ -814,19 +834,28 @@ const DefaultForm = (_a) => {
|
|
|
814
834
|
form.errors.birthday && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.birthday))),
|
|
815
835
|
React__default.createElement(Input$1.Number, Object.assign({ label: React__default.createElement(React__default.Fragment, null,
|
|
816
836
|
t('babyGrowth.height'),
|
|
817
|
-
React__default.createElement("span", { className: classes.unit },
|
|
837
|
+
React__default.createElement("span", { className: classes.unit },
|
|
838
|
+
"(",
|
|
839
|
+
t('babyGrowth.cm'),
|
|
840
|
+
")")) }, form.getInputProps('height'), { placeholder: t('babyGrowth.height'), min: INPUT_RANGE.height.min, max: INPUT_RANGE.height.max, onChange: (v) => {
|
|
818
841
|
v && form.validateField('checkMesureVal');
|
|
819
842
|
form.getInputProps('height').onChange(v);
|
|
820
843
|
} })),
|
|
821
844
|
React__default.createElement(Input$1.Number, Object.assign({ label: React__default.createElement(React__default.Fragment, null,
|
|
822
845
|
t('babyGrowth.weight'),
|
|
823
|
-
React__default.createElement("span", { className: classes.unit },
|
|
846
|
+
React__default.createElement("span", { className: classes.unit },
|
|
847
|
+
"(",
|
|
848
|
+
t('babyGrowth.kg'),
|
|
849
|
+
")")) }, form.getInputProps('weight'), { placeholder: t('babyGrowth.weight'), min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max, onChange: (v) => {
|
|
824
850
|
v && form.validateField('checkMesureVal');
|
|
825
851
|
form.getInputProps('weight').onChange(v);
|
|
826
852
|
} })),
|
|
827
853
|
React__default.createElement(Input$1.Number, Object.assign({ label: React__default.createElement(React__default.Fragment, null,
|
|
828
854
|
t('babyGrowth.head'),
|
|
829
|
-
React__default.createElement("span", { className: classes.unit },
|
|
855
|
+
React__default.createElement("span", { className: classes.unit },
|
|
856
|
+
"(",
|
|
857
|
+
t('babyGrowth.cm'),
|
|
858
|
+
")")) }, form.getInputProps('head'), { placeholder: t('babyGrowth.head'), onChange: (v) => {
|
|
830
859
|
v && form.validateField('checkMesureVal');
|
|
831
860
|
form.getInputProps('head').onChange(v);
|
|
832
861
|
} })),
|
|
@@ -930,7 +959,9 @@ const InlineForm = (_a) => {
|
|
|
930
959
|
React__default.createElement("span", { className: classes.bmiVal }, form.getInputProps('height').value &&
|
|
931
960
|
form.getInputProps('weight').value &&
|
|
932
961
|
bmiCalculate(Number(form.getInputProps('height').value), Number(form.getInputProps('weight').value))),
|
|
933
|
-
|
|
962
|
+
"(",
|
|
963
|
+
t('babyGrowth.kg.m2'),
|
|
964
|
+
")"),
|
|
934
965
|
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('height'), { placeholder: t('babyGrowth.height'), min: INPUT_RANGE.height.min, max: INPUT_RANGE.height.max, onChange: (v) => {
|
|
935
966
|
v && form.validateField('checkMesureVal');
|
|
936
967
|
form.getInputProps('height').onChange(v);
|
|
@@ -952,9 +983,65 @@ const InlineForm = (_a) => {
|
|
|
952
983
|
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", "data-event-category": "Health Tool", "data-event-action": "Baby Growth", "data-event-label": currentUrl, className: classes.submitBtn }, submitProps), t('babyGrowth.input.submit'))));
|
|
953
984
|
};
|
|
954
985
|
|
|
986
|
+
const MbLayout = (_a) => {
|
|
987
|
+
var props = __rest(_a, []);
|
|
988
|
+
const { t } = useTranslations();
|
|
989
|
+
const { form, currentUrl, submitProps } = useContext(BabyGrowthFormContext);
|
|
990
|
+
const commonDateProps = {
|
|
991
|
+
placeholder: 'DD/MM/YYYY',
|
|
992
|
+
popoverProps: {
|
|
993
|
+
withinPortal: true,
|
|
994
|
+
},
|
|
995
|
+
};
|
|
996
|
+
return (React__default.createElement(HealthToolFormWrapper, Object.assign({ formLayout: "default" }, props),
|
|
997
|
+
React__default.createElement(HealthToolFormWrapper.FormRow, null,
|
|
998
|
+
React__default.createElement(HealthToolFormWrapper.Control, null,
|
|
999
|
+
React__default.createElement(GenderOptionControl, Object.assign({ isBaby: true, genderValue: {
|
|
1000
|
+
male: 'boy',
|
|
1001
|
+
female: 'girl',
|
|
1002
|
+
} }, form.getInputProps('gender'), { error: null }))),
|
|
1003
|
+
form.errors.gender && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.gender))),
|
|
1004
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('babyGrowth.input.birthday'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
1005
|
+
React__default.createElement(DatePicker, Object.assign({}, commonDateProps, { maxDate: new Date() }, form.getInputProps('birthday'), { error: null, rightSection: null, onChange: (v) => {
|
|
1006
|
+
v && form.validateField('measurementDate');
|
|
1007
|
+
form.getInputProps('birthday').onChange(v);
|
|
1008
|
+
} }))),
|
|
1009
|
+
form.errors.birthday && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.birthday)),
|
|
1010
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('babyGrowth.height'), rightSection: t('babyGrowth.cm') },
|
|
1011
|
+
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('height'), { placeholder: t('tools.inputPlaceholder', {
|
|
1012
|
+
content: '160',
|
|
1013
|
+
}), min: INPUT_RANGE.height.min, max: INPUT_RANGE.height.max, onChange: (v) => {
|
|
1014
|
+
v && form.validateField('checkMesureVal');
|
|
1015
|
+
form.getInputProps('height').onChange(v);
|
|
1016
|
+
} }))),
|
|
1017
|
+
form.errors.height && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.height)),
|
|
1018
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('babyGrowth.weight'), rightSection: t('babyGrowth.kg') },
|
|
1019
|
+
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('weight'), { placeholder: t('tools.inputPlaceholder', {
|
|
1020
|
+
content: '50',
|
|
1021
|
+
}), min: INPUT_RANGE.weight.min, max: INPUT_RANGE.weight.max, onChange: (v) => {
|
|
1022
|
+
v && form.validateField('checkMesureVal');
|
|
1023
|
+
form.getInputProps('weight').onChange(v);
|
|
1024
|
+
} }))),
|
|
1025
|
+
form.errors.weight && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.weight)),
|
|
1026
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('babyGrowth.head'), rightSection: t('babyGrowth.cm') },
|
|
1027
|
+
React__default.createElement(Input$1.Number, Object.assign({}, form.getInputProps('head'), { placeholder: t('tools.inputPlaceholder', {
|
|
1028
|
+
content: '50',
|
|
1029
|
+
}), onChange: (v) => {
|
|
1030
|
+
v && form.validateField('checkMesureVal');
|
|
1031
|
+
form.getInputProps('head').onChange(v);
|
|
1032
|
+
} }))),
|
|
1033
|
+
form.errors.checkMesureVal && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.checkMesureVal)),
|
|
1034
|
+
React__default.createElement(HealthToolFormWrapper.BorderBoxControl, { label: t('babyGrowth.input.measurementDate'), rightSection: React__default.createElement(CalendarMB, null) },
|
|
1035
|
+
React__default.createElement(Input$1.Wrapper, null,
|
|
1036
|
+
React__default.createElement(DatePicker, Object.assign({}, commonDateProps, { defaultValue: new Date() }, form.getInputProps('measurementDate'), { maxDate: new Date(), rightSection: null, error: null })))),
|
|
1037
|
+
form.errors.measurementDate && (React__default.createElement(HealthToolFormWrapper.Error, null, form.errors.measurementDate)),
|
|
1038
|
+
React__default.createElement(HealthToolFormWrapper.Submit, Object.assign({ type: "submit", "data-event-category": "Health Tool", "data-event-action": "Baby Growth", "data-event-label": currentUrl }, submitProps), t('babyGrowth.input.submit'))));
|
|
1039
|
+
};
|
|
1040
|
+
|
|
955
1041
|
const BabyGrowthForm = (_a) => {
|
|
956
1042
|
var { onSubmit, formLayout = 'default', submitProps, currentUrl } = _a, rest = __rest(_a, ["onSubmit", "formLayout", "submitProps", "currentUrl"]);
|
|
957
1043
|
const { t } = useTranslations();
|
|
1044
|
+
const theme = useMantineTheme();
|
|
958
1045
|
const form = useForm({
|
|
959
1046
|
initialValues: {
|
|
960
1047
|
measurementDate: new Date(),
|
|
@@ -985,7 +1072,7 @@ const BabyGrowthForm = (_a) => {
|
|
|
985
1072
|
submitProps,
|
|
986
1073
|
currentUrl,
|
|
987
1074
|
form,
|
|
988
|
-
} }, formLayout === 'default' ? (React__default.createElement(DefaultForm, Object.assign({}, commonProps))) : (React__default.createElement(InlineForm, Object.assign({}, commonProps)))));
|
|
1075
|
+
} }, formLayout === 'default' ? (theme.other.template === 'mb' ? (React__default.createElement(MbLayout, Object.assign({}, commonProps))) : (React__default.createElement(DefaultForm, Object.assign({}, commonProps)))) : (React__default.createElement(InlineForm, Object.assign({}, commonProps)))));
|
|
989
1076
|
};
|
|
990
1077
|
|
|
991
1078
|
export { BabyGrowthForm as B, Drawer as D, GenderOptionControl as G, HealthToolFormWrapper as H, INPUT_RANGE as I, Modal as M, RadioImageGroup as R };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-88a9e5c2.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-e5a963a3.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-1feede96.js';
|
|
6
|
+
import { t as theme } from './theme-de4e5929.js';
|
|
7
|
+
import { I as ImageWrap, f as CentralCarousel } from './index-2976962f.js';
|
|
8
|
+
import { T as Text } from './index-c1d4e8aa.js';
|
|
9
9
|
|
|
10
10
|
const StyledIconContainer = styled.div `
|
|
11
11
|
display: inline-flex;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-88a9e5c2.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-2976962f.js';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import { c as CDN_ADDRESS } from './index-
|
|
7
|
-
import { L as LOCALE } from './index-
|
|
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-93f7fdcd.js';
|
|
7
|
+
import { L as LOCALE } from './index-e5a963a3.js';
|
|
8
|
+
import './index-1feede96.js';
|
|
9
|
+
import './useMantineLocale-ce44cbda.js';
|
|
10
|
+
import './index-d923e380.js';
|
|
11
|
+
import './theme-de4e5929.js';
|
|
12
|
+
import { u as useTranslations } from './useTranslations-cf6fd3e4.js';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './utils-
|
|
15
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
14
|
+
import './utils-75e5fda9.js';
|
|
15
|
+
import { M as MAPPED_LOCALE } from './utils-a7becf5a.js';
|
|
16
16
|
|
|
17
17
|
const generateGetAddressDetail = (locale) => {
|
|
18
18
|
return `${CDN_ADDRESS}/cities-data-${MAPPED_LOCALE[locale]}.json`;
|
package/build/esm/index.js
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
export { i as Types } from './index-
|
|
2
|
-
export { i as Constants } from './index-
|
|
3
|
-
export { C as CaretDown, F as Flag, I as ImageWrap } from './index-
|
|
1
|
+
export { i as Types } from './index-e5a963a3.js';
|
|
2
|
+
export { i as Constants } from './index-93f7fdcd.js';
|
|
3
|
+
export { C as CaretDown, F as Flag, I as ImageWrap } from './index-2976962f.js';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
export { C as ChevronDown } from './ChevronDown-
|
|
6
|
-
export { C as Close } from './Close-
|
|
7
|
-
export { V as Visible } from './Visible-
|
|
8
|
-
export { $ as AdBlock, A as Alert, e as ArticleCard, f as ArticleCardV2, a as Avatar, x as BMICardEmbed, L as BMRCardEmbed, z as BabyGrowthCardEmbed, E as BabyPoopEmbed, H as BabyPoopForm, U as BabyVaccineCardEmbed, Q as BabyVaccineForm, B as Badge, y as BmiForm, b as BorderHeading, Y as Breadcrumbs, g as CategoryCard, C as Checkbox, h as CheckboxGroup, r as CookieAcceptConfirm, X as DateRangePicker, D as DoctorInfo, w as DueDateCardEmbed, v as DueDateForm, F as FileDropdown, a0 as FixedBottomAdBlock, q as FloatButtonGroup, G as Grid, I as IconText, a3 as MAPPING_CATEGORY_PREMIUM_API_TYPE, a2 as MAPPING_CATEGORY_PREMIUM_TYPE, M as MobileBottomNavigation, s as MobileBottomNavigationIcon, O as OvulationCardEmbed, N as OvulationForm, V as PWGCardEmbed, W as PWGForm, P as Pagination, i as ProgressBar, R as Radio, j as RadioGroup, d as RateStars, S as ScrollList, t as SeoHead, Z as ShareContainer, _ as ShareDrawer, a4 as SideBannerModal, k as SideMenu, l as StatisticCard, a1 as SurveyOrPremiumBanner, o as SurveyQuestionCard, p as SurveyThankyouCard, J as THRCardEmbed, m as Table, n as Tabs, T as Tag, K as ThrForm, c as Toggle, u as ToolsBannerCard, a5 as UserProfileNavigation, a6 as UserProfileNavigationHeader, a7 as UserProfileNavigationStats } from './index-
|
|
9
|
-
export { B as Button } from './index-
|
|
10
|
-
export { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-
|
|
11
|
-
export { H as Heading } from './index-
|
|
12
|
-
export { I as Input } from './index-
|
|
13
|
-
export { c as CareConstants, L as Label } from './constants-
|
|
14
|
-
export { L as Logo } from './index-
|
|
15
|
-
export { P as PureInput, S as StepRenderer, a as StepRendererContext, T as TextArea } from './index.styles-
|
|
16
|
-
export { T as Text } from './index-
|
|
17
|
-
export { C as Container } from './index-
|
|
18
|
-
export { I as Icon } from './index-
|
|
19
|
-
export { D as Drawer, G as GenderOptionControl, M as Modal, R as RadioImageGroup } from './index-
|
|
20
|
-
export { C as CustomReferenceDot } from './index-
|
|
21
|
-
export { L as LogoIcon } from './utils-
|
|
22
|
-
export { D as DatePicker, L as Loading } from './index-
|
|
23
|
-
export { D as Dropdown } from './index-
|
|
24
|
-
export { P as Popup, d as TogetherDataTransforms, U as UserAvatar } from './index-
|
|
25
|
-
export { L as LanguageSwitcher, b as NavigationLogoutPopup, c as NavigationProfileButton, N as NavigationV2, P as ProfileNavigation, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-
|
|
26
|
-
export { P as PillCarousel } from './index-
|
|
27
|
-
export { A as AddressInput } from './index-
|
|
28
|
-
export { F as Footer } from './index-
|
|
29
|
-
export { u as useTranslations } from './useTranslations-
|
|
30
|
-
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-
|
|
31
|
-
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-
|
|
32
|
-
export { u as useHealthToolsCache } from './useHealthToolCache-
|
|
33
|
-
export { u as useIsInit } from './useIsInit-
|
|
34
|
-
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-
|
|
35
|
-
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-
|
|
36
|
-
export { f as CardAuthor, C as CardLink, B as CardPost, D as CardPostPopoverMore, b as CardReactions, E as CardReply, F as CardReplyPopover, g as CreateNewPostContent, h as CreatePostDescription, i as CreatePostTitle, r as ImagePreviewPopup, I as InputCommentBar, d as LabelPin, L as LabelSortPin, e as LabelSorting, G as PopoverMenu, P as PopupDanger, k as PopupDoctor, j as PopupExpert, n as PopupFrame, l as PopupHospital, q as PostContent, v as PostImagePreview, s as PostSingleImageViewPopup, y as ProfileDetail, x as ProfileDetailModal, p as ShareBox, S as SharePopup, A as SkipQuestionOfExpertBtn, w as SocialLinkPreview, H as SourceList, o as SubmitReportForm, z as TabNameInProfileDetail, c as TagTopic, T as TogetherAuthConfigContext, a as TogetherAuthConfigContextProvider, t as TogetherTypes, m as TopicSelectList, V as VerifiedTag, u as useTogetherAuthRequiredAction } from './types-
|
|
37
|
-
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './utils-
|
|
38
|
-
export { B as BookingSearchBar, a as BookingSearchBarV2, t as CareTypes, T as TextDivider } from './types-
|
|
39
|
-
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-
|
|
40
|
-
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-
|
|
41
|
-
export { d as deleteCookie, g as getCookie, s as setCookie } from './cookieHelper-
|
|
42
|
-
export { a as abbreviateNumber } from './number-
|
|
43
|
-
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-
|
|
44
|
-
export { M as MBTheme, t as theme } from './theme-
|
|
45
|
-
export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-
|
|
46
|
-
export { f as formatHealthTool, g as getDynamicHealthTool, a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-
|
|
47
|
-
export { g as getSocialList } from './getSocialList-
|
|
48
|
-
export { S as ScreenSizeContext, a as ScreenSizeContextProvider, f as formatPill, g as getWindowSizeGroups } from './dataTransform-
|
|
5
|
+
export { C as ChevronDown } from './ChevronDown-f46763d3.js';
|
|
6
|
+
export { C as Close } from './Close-3413278b.js';
|
|
7
|
+
export { V as Visible } from './Visible-8e3f3b2b.js';
|
|
8
|
+
export { $ as AdBlock, A as Alert, e as ArticleCard, f as ArticleCardV2, a as Avatar, x as BMICardEmbed, L as BMRCardEmbed, z as BabyGrowthCardEmbed, E as BabyPoopEmbed, H as BabyPoopForm, U as BabyVaccineCardEmbed, Q as BabyVaccineForm, B as Badge, y as BmiForm, b as BorderHeading, Y as Breadcrumbs, g as CategoryCard, C as Checkbox, h as CheckboxGroup, r as CookieAcceptConfirm, X as DateRangePicker, D as DoctorInfo, w as DueDateCardEmbed, v as DueDateForm, F as FileDropdown, a0 as FixedBottomAdBlock, q as FloatButtonGroup, G as Grid, I as IconText, a3 as MAPPING_CATEGORY_PREMIUM_API_TYPE, a2 as MAPPING_CATEGORY_PREMIUM_TYPE, M as MobileBottomNavigation, s as MobileBottomNavigationIcon, O as OvulationCardEmbed, N as OvulationForm, V as PWGCardEmbed, W as PWGForm, P as Pagination, i as ProgressBar, R as Radio, j as RadioGroup, d as RateStars, S as ScrollList, t as SeoHead, Z as ShareContainer, _ as ShareDrawer, a4 as SideBannerModal, k as SideMenu, l as StatisticCard, a1 as SurveyOrPremiumBanner, o as SurveyQuestionCard, p as SurveyThankyouCard, J as THRCardEmbed, m as Table, n as Tabs, T as Tag, K as ThrForm, c as Toggle, u as ToolsBannerCard, a5 as UserProfileNavigation, a6 as UserProfileNavigationHeader, a7 as UserProfileNavigationStats } from './index-0a713283.js';
|
|
9
|
+
export { B as Button } from './index-62383856.js';
|
|
10
|
+
export { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-aac1eed0.js';
|
|
11
|
+
export { H as Heading } from './index-4dd17fe7.js';
|
|
12
|
+
export { I as Input } from './index-baa2cf87.js';
|
|
13
|
+
export { c as CareConstants, L as Label } from './constants-8898d04d.js';
|
|
14
|
+
export { L as Logo } from './index-531034de.js';
|
|
15
|
+
export { P as PureInput, S as StepRenderer, a as StepRendererContext, T as TextArea } from './index.styles-2a161512.js';
|
|
16
|
+
export { T as Text } from './index-c1d4e8aa.js';
|
|
17
|
+
export { C as Container } from './index-e3a6c8b3.js';
|
|
18
|
+
export { I as Icon } from './index-b7a0f534.js';
|
|
19
|
+
export { D as Drawer, G as GenderOptionControl, M as Modal, R as RadioImageGroup } from './index-e67ef62d.js';
|
|
20
|
+
export { C as CustomReferenceDot } from './index-809cc43a.js';
|
|
21
|
+
export { L as LogoIcon } from './utils-b54f5c81.js';
|
|
22
|
+
export { D as DatePicker, L as Loading } from './index-39726256.js';
|
|
23
|
+
export { D as Dropdown } from './index-320c91f7.js';
|
|
24
|
+
export { P as Popup, d as TogetherDataTransforms, U as UserAvatar } from './index-9ea4b5e6.js';
|
|
25
|
+
export { L as LanguageSwitcher, b as NavigationLogoutPopup, c as NavigationProfileButton, N as NavigationV2, P as ProfileNavigation, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-119e1858.js';
|
|
26
|
+
export { P as PillCarousel } from './index-faa709ae.js';
|
|
27
|
+
export { A as AddressInput } from './index-ffdc32d1.js';
|
|
28
|
+
export { F as Footer } from './index-465a013b.js';
|
|
29
|
+
export { u as useTranslations } from './useTranslations-cf6fd3e4.js';
|
|
30
|
+
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-7bf5a8eb.js';
|
|
31
|
+
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-60c73fbc.js';
|
|
32
|
+
export { u as useHealthToolsCache } from './useHealthToolCache-3e27635b.js';
|
|
33
|
+
export { u as useIsInit } from './useIsInit-388cfd8a.js';
|
|
34
|
+
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-0b0fddf4.js';
|
|
35
|
+
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-9c6b638c.js';
|
|
36
|
+
export { f as CardAuthor, C as CardLink, B as CardPost, D as CardPostPopoverMore, b as CardReactions, E as CardReply, F as CardReplyPopover, g as CreateNewPostContent, h as CreatePostDescription, i as CreatePostTitle, r as ImagePreviewPopup, I as InputCommentBar, d as LabelPin, L as LabelSortPin, e as LabelSorting, G as PopoverMenu, P as PopupDanger, k as PopupDoctor, j as PopupExpert, n as PopupFrame, l as PopupHospital, q as PostContent, v as PostImagePreview, s as PostSingleImageViewPopup, y as ProfileDetail, x as ProfileDetailModal, p as ShareBox, S as SharePopup, A as SkipQuestionOfExpertBtn, w as SocialLinkPreview, H as SourceList, o as SubmitReportForm, z as TabNameInProfileDetail, c as TagTopic, T as TogetherAuthConfigContext, a as TogetherAuthConfigContextProvider, t as TogetherTypes, m as TopicSelectList, V as VerifiedTag, u as useTogetherAuthRequiredAction } from './types-83e67d91.js';
|
|
37
|
+
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './utils-4a086f15.js';
|
|
38
|
+
export { B as BookingSearchBar, a as BookingSearchBarV2, t as CareTypes, T as TextDivider } from './types-d5fb3a13.js';
|
|
39
|
+
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-608bd8b8.js';
|
|
40
|
+
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-075d530d.js';
|
|
41
|
+
export { d as deleteCookie, g as getCookie, s as setCookie } from './cookieHelper-d4de0565.js';
|
|
42
|
+
export { a as abbreviateNumber } from './number-cb0783fa.js';
|
|
43
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-a8a01f2f.js';
|
|
44
|
+
export { M as MBTheme, t as theme } from './theme-de4e5929.js';
|
|
45
|
+
export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-75e5fda9.js';
|
|
46
|
+
export { f as formatHealthTool, g as getDynamicHealthTool, a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-1ec56ae5.js';
|
|
47
|
+
export { g as getSocialList } from './getSocialList-05454009.js';
|
|
48
|
+
export { S as ScreenSizeContext, a as ScreenSizeContextProvider, f as formatPill, g as getWindowSizeGroups } from './dataTransform-6a77d1fc.js';
|
|
49
49
|
import 'date-fns/locale';
|
|
50
|
-
import './isProduction-
|
|
51
|
-
import './tslib.es6-
|
|
50
|
+
import './isProduction-8940d360.js';
|
|
51
|
+
import './tslib.es6-88a9e5c2.js';
|
|
52
52
|
import '@hhgtech/icons/other';
|
|
53
53
|
import '@mantine/core';
|
|
54
54
|
import '@mantine/hooks';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-1feede96.js';
|
|
56
56
|
import '@emotion/styled';
|
|
57
57
|
import '@mantine/carousel';
|
|
58
|
-
import './index-
|
|
59
|
-
import './useMantineLocale-
|
|
58
|
+
import './index-d923e380.js';
|
|
59
|
+
import './useMantineLocale-ce44cbda.js';
|
|
60
60
|
import 'dayjs';
|
|
61
61
|
import 'classnames';
|
|
62
62
|
import '@hhgtech/icons/core';
|
|
63
63
|
import 'innertext';
|
|
64
64
|
import '@mantine/dates';
|
|
65
|
-
import './translationsContext-
|
|
65
|
+
import './translationsContext-a9c64944.js';
|
|
66
66
|
import 'string-format';
|
|
67
67
|
import 'lodash/throttle';
|
|
68
68
|
import '@emotion/react';
|
|
69
69
|
import 'html-react-parser';
|
|
70
70
|
import 'date-fns';
|
|
71
71
|
import '@mantine/form';
|
|
72
|
-
import './index-
|
|
72
|
+
import './index-16c00591.js';
|
|
73
73
|
import 'react-hook-form';
|
|
74
|
-
import './WhatsApp-
|
|
75
|
-
import './index.styled-
|
|
74
|
+
import './WhatsApp-8f50e1bf.js';
|
|
75
|
+
import './index.styled-fabb3b23.js';
|
|
76
76
|
import 'date-fns/locale/en-US';
|
|
77
77
|
import 'date-fns/locale/id';
|
|
78
78
|
import 'date-fns/locale/vi';
|
|
79
79
|
import 'date-fns/locale/zh-TW';
|
|
80
80
|
import 'uuid';
|
|
81
|
-
import './index-
|
|
81
|
+
import './index-de0eebee.js';
|
|
82
82
|
import 'js-cookie';
|
|
83
83
|
import 'lodash/flatten';
|
|
84
84
|
import 'lodash/uniqBy';
|
|
85
|
-
import './normalizeLink-
|
|
86
|
-
import './paths-
|
|
85
|
+
import './normalizeLink-0e772229.js';
|
|
86
|
+
import './paths-7c9f0b69.js';
|
|
87
87
|
import 'react-keyed-flatten-children';
|
|
88
|
-
import './Instagram-
|
|
89
|
-
import './index-
|
|
88
|
+
import './Instagram-ccfb450e.js';
|
|
89
|
+
import './index-a356ee67.js';
|
|
90
90
|
import 'react-dom';
|
|
91
91
|
import 'react-day-picker/DayPickerInput';
|
|
92
|
-
import './constants-
|
|
93
|
-
import './index-
|
|
92
|
+
import './constants-b9e6440f.js';
|
|
93
|
+
import './index-777e605e.js';
|
|
94
94
|
import 'dayjs/plugin/relativeTime';
|
|
95
95
|
import 'lodash/debounce';
|
|
96
|
-
import './core-
|
|
97
|
-
import './utils-
|
|
96
|
+
import './core-a346e8ff.js';
|
|
97
|
+
import './utils-a7becf5a.js';
|
|
98
98
|
import 'react-contenteditable';
|
|
99
99
|
import 'slugify';
|
|
100
100
|
import 'lodash/shuffle';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-88a9e5c2.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { t as theme } from './theme-
|
|
4
|
+
import { t as theme } from './theme-de4e5929.js';
|
|
5
5
|
|
|
6
6
|
const Heading = (_a) => {
|
|
7
7
|
var { type } = _a, elementProps = __rest(_a, ["type"]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import { t as theme } from './theme-
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
4
|
-
import { _ as __rest } from './tslib.es6-
|
|
2
|
+
import { t as theme } from './theme-de4e5929.js';
|
|
3
|
+
import { M as MediaQueries } from './utils-75e5fda9.js';
|
|
4
|
+
import { _ as __rest } from './tslib.es6-88a9e5c2.js';
|
|
5
5
|
import React__default, { useState, createContext, useEffect, Fragment } from 'react';
|
|
6
|
-
import { L as Label, b as StyledDisplayIcon, d as StyledActionIcon, e as StyledErrorLabel } from './constants-
|
|
7
|
-
import { s as setDefaultClass } from './utils-
|
|
6
|
+
import { L as Label, b as StyledDisplayIcon, d as StyledActionIcon, e as StyledErrorLabel } from './constants-8898d04d.js';
|
|
7
|
+
import { s as setDefaultClass } from './utils-4a086f15.js';
|
|
8
8
|
import { css } from '@emotion/react';
|
|
9
|
-
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
9
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-075d530d.js';
|
|
10
10
|
import { createStyles, rem } from '@mantine/core';
|
|
11
11
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
12
12
|
|
package/build/esm/lead.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-88a9e5c2.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useRef, useState, useEffect, useContext } from 'react';
|
|
3
3
|
import debounce from 'lodash/debounce';
|
|
4
4
|
import { createFormContext } from '@mantine/form';
|
|
5
|
-
import { u as useTranslations } from './useTranslations-
|
|
6
|
-
import { T as Text } from './index-
|
|
5
|
+
import { u as useTranslations } from './useTranslations-cf6fd3e4.js';
|
|
6
|
+
import { T as Text } from './index-d923e380.js';
|
|
7
7
|
import { createStyles, Box, Portal, Transition, Overlay } from '@mantine/core';
|
|
8
|
-
import './index.styles-
|
|
9
|
-
import { S as Select, d as Checkbox, c as Input, R as Radio, P as Phone, N as NumberInput, B as Button$1 } from './index-
|
|
10
|
-
import { B as Button } from './index-
|
|
11
|
-
import { C as CommonGAssets } from './index-
|
|
12
|
-
import './constants-
|
|
13
|
-
import './index-
|
|
14
|
-
import './utils-
|
|
15
|
-
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-
|
|
16
|
-
import { D as DatePicker } from './index-
|
|
17
|
-
import { t as theme } from './theme-
|
|
18
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
8
|
+
import './index.styles-2a161512.js';
|
|
9
|
+
import { S as Select, d as Checkbox, c as Input, R as Radio, P as Phone, N as NumberInput, B as Button$1 } from './index-2976962f.js';
|
|
10
|
+
import { B as Button } from './index-62383856.js';
|
|
11
|
+
import { C as CommonGAssets } from './index-1feede96.js';
|
|
12
|
+
import './constants-8898d04d.js';
|
|
13
|
+
import './index-e5a963a3.js';
|
|
14
|
+
import './utils-b54f5c81.js';
|
|
15
|
+
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-75e5fda9.js';
|
|
16
|
+
import { D as DatePicker } from './index-16c00591.js';
|
|
17
|
+
import { t as theme } from './theme-de4e5929.js';
|
|
18
|
+
import { T as TranslationsContext } from './translationsContext-a9c64944.js';
|
|
19
19
|
import 'string-format';
|
|
20
20
|
import '@mantine/hooks';
|
|
21
|
-
import './useMantineLocale-
|
|
22
|
-
import './index-
|
|
23
|
-
import './utils-
|
|
24
|
-
import './WhatsApp-
|
|
25
|
-
import './index.styled-
|
|
26
|
-
import './index-
|
|
21
|
+
import './useMantineLocale-ce44cbda.js';
|
|
22
|
+
import './index-93f7fdcd.js';
|
|
23
|
+
import './utils-4a086f15.js';
|
|
24
|
+
import './WhatsApp-8f50e1bf.js';
|
|
25
|
+
import './index.styled-fabb3b23.js';
|
|
26
|
+
import './index-809cc43a.js';
|
|
27
27
|
import '@hhgtech/icons/other';
|
|
28
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
28
|
+
import { M as MAPPED_LOCALE } from './utils-a7becf5a.js';
|
|
29
29
|
import '@mantine/dates';
|
|
30
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-
|
|
31
|
-
import { H as Heading$1 } from './index-
|
|
30
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-55876d5a.js';
|
|
31
|
+
import { H as Heading$1 } from './index-4dd17fe7.js';
|
|
32
32
|
import { v1 } from 'uuid';
|
|
33
33
|
import { createPortal } from 'react-dom';
|
|
34
|
-
import { g as getCookie, s as setCookie } from './cookieHelper-
|
|
34
|
+
import { g as getCookie, s as setCookie } from './cookieHelper-d4de0565.js';
|
|
35
35
|
import dayjs from 'dayjs';
|
|
36
|
-
import { C as Close } from './Close-
|
|
36
|
+
import { C as Close } from './Close-3413278b.js';
|
|
37
37
|
import '@emotion/styled';
|
|
38
38
|
import '@emotion/react';
|
|
39
|
-
import './animation-
|
|
39
|
+
import './animation-075d530d.js';
|
|
40
40
|
import 'react-keyed-flatten-children';
|
|
41
41
|
import '@mantine/carousel';
|
|
42
42
|
import 'classnames';
|
|
43
|
-
import './useUniqueId-
|
|
43
|
+
import './useUniqueId-9c6b638c.js';
|
|
44
44
|
import '@hhgtech/icons/core';
|
|
45
|
-
import './isProduction-
|
|
45
|
+
import './isProduction-8940d360.js';
|
|
46
46
|
import 'date-fns/locale';
|
|
47
47
|
import 'slugify';
|
|
48
48
|
|