@hhgtech/hhg-components 1.29.60 → 1.29.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{Instagram-9de2b320.js → Instagram-a10cd9c6.js} +1 -1
- package/build/{WhatsApp-88149661.js → WhatsApp-8ff330e4.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +80 -80
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components/babyGrowth/babyGrowthForm/layout/mbLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/components/borderBoxControl/index.d.ts +3 -2
- package/build/components/molecules/healthTools/components/borderInlineControl/index.d.ts +2 -1
- package/build/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/conceptionForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/ivfForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/healthTools/form/dueDateForm/lastPeriodForm/mbLayout.d.ts +2 -0
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +0 -4
- package/build/components.js +57 -57
- package/build/{constants-1c3bb3f1.js → constants-a454b425.js} +2 -2
- package/build/{constants-3f2e37c5.js → constants-a60921cb.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-aeda52c5.js → core-ebaf0628.js} +2 -2
- package/build/{dataTransform-c6831631.js → dataTransform-a52f020f.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-1922d328.js → Instagram-ccfb450e.js} +1 -1
- package/build/esm/{WhatsApp-8f4e1273.js → WhatsApp-8f50e1bf.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +81 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/mbLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.d.ts +3 -2
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.d.ts +2 -1
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/conceptionForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/ivfForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/healthTools/form/dueDateForm/lastPeriodForm/mbLayout.d.ts +2 -0
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +0 -4
- package/build/esm/components.js +57 -57
- package/build/esm/{constants-481fa3fd.js → constants-8898d04d.js} +2 -2
- package/build/esm/{constants-53e3d96f.js → constants-b9e6440f.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-2385c4fc.js → core-a346e8ff.js} +2 -2
- package/build/esm/{dataTransform-fc70edf0.js → dataTransform-6a77d1fc.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-15684929.js → getDynamicHealthTool-1ec56ae5.js} +6 -5
- package/build/esm/{getSocialList-7db45ce3.js → getSocialList-05454009.js} +5 -5
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n-values/en-PH.js +4 -4
- package/build/esm/i18n-values/hi-IN.js +4 -4
- package/build/esm/i18n-values/id-ID.js +4 -4
- package/build/esm/i18n-values/km-KH.js +4 -4
- package/build/esm/i18n-values/ms-MY.js +4 -4
- package/build/esm/i18n-values/my-MM.js +3 -3
- package/build/esm/i18n-values/th-TH.js +4 -4
- package/build/esm/i18n-values/tl-PH.js +4 -4
- package/build/esm/i18n-values/vi-VN.js +4 -4
- package/build/esm/i18n-values/vi-VN_MB.js +4 -4
- package/build/esm/i18n-values/zh-TW.js +3 -3
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-cbeb902c.js → index-0a713283.js} +144 -115
- package/build/esm/{index-a0706e5b.js → index-119e1858.js} +32 -32
- package/build/esm/{index-eebba4f5.js → index-16c00591.js} +6 -6
- package/build/esm/{index-897ac483.js → index-1feede96.js} +2 -2
- package/build/esm/{index-bffc209e.js → index-2976962f.js} +9 -9
- package/build/esm/{index-fb8c9868.js → index-320c91f7.js} +1 -1
- package/build/esm/{index-343af1dd.js → index-39726256.js} +3 -3
- package/build/esm/{index-0477dcdd.js → index-465a013b.js} +12 -12
- package/build/esm/{index-83f04e6e.js → index-4dd17fe7.js} +2 -2
- package/build/esm/{index-a3553513.js → index-531034de.js} +4 -4
- package/build/esm/{index-2fe3b3d2.js → index-62383856.js} +2 -2
- package/build/esm/{index-f7b29b60.js → index-777e605e.js} +2 -2
- package/build/esm/{index-e730ead1.js → index-93f7fdcd.js} +2 -2
- package/build/esm/{index-816eef04.js → index-9ea4b5e6.js} +4 -4
- package/build/esm/{index-b1e51929.js → index-a356ee67.js} +2 -2
- package/build/esm/{index-db74d952.js → index-aac1eed0.js} +9 -9
- package/build/esm/{index-6cacb059.js → index-b7a0f534.js} +5 -5
- package/build/esm/{index-c56fef78.js → index-baa2cf87.js} +2 -2
- package/build/esm/{index-0f2446db.js → index-c1d4e8aa.js} +10 -10
- package/build/esm/{index-e0423b48.js → index-d923e380.js} +2 -2
- package/build/esm/{index-71c590d2.js → index-de0eebee.js} +2 -2
- package/build/esm/{index-d35732f2.js → index-e67ef62d.js} +122 -35
- package/build/esm/{index-4700cd16.js → index-faa709ae.js} +6 -6
- package/build/esm/{index-c45cbe2f.js → index-ffdc32d1.js} +11 -11
- package/build/esm/index.js +65 -65
- package/build/esm/{index.styled-2eda9d30.js → index.styled-fabb3b23.js} +2 -2
- package/build/esm/{index.styles-c8e35bfb.js → index.styles-2a161512.js} +6 -6
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +20 -20
- package/build/esm/misc.js +20 -20
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +32 -32
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-cbc174af.js → routing-a8a01f2f.js} +2 -2
- package/build/esm/subot.js +23 -23
- package/build/esm/together.js +35 -35
- package/build/esm/{types-940c63a8.js → types-83e67d91.js} +30 -30
- package/build/esm/{types-1a5f1ea6.js → types-d5fb3a13.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-5a83595f.js → useCategory-60c73fbc.js} +5 -5
- package/build/esm/{useHealthToolCache-89915ad0.js → useHealthToolCache-3e27635b.js} +2 -2
- package/build/esm/{useMantineLocale-2e2635e1.js → useMantineLocale-ce44cbda.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-4cddba1e.js → usePlacesAutocomplete-55876d5a.js} +1 -1
- package/build/esm/{useTranslations-e7062948.js → useTranslations-cf6fd3e4.js} +1 -1
- package/build/esm/{utils-d302e7ee.js → utils-4a086f15.js} +5 -5
- package/build/esm/{utils-9e8cc483.js → utils-a7becf5a.js} +1 -1
- package/build/esm/{utils-b6d720f7.js → utils-b54f5c81.js} +4 -4
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-4f8233b9.js → getDynamicHealthTool-390c6c88.js} +6 -5
- package/build/{getSocialList-b56e3b81.js → getSocialList-4bd2da4c.js} +5 -5
- package/build/hooks.js +17 -17
- package/build/i18n-values/en-PH.js +4 -4
- package/build/i18n-values/hi-IN.js +4 -4
- package/build/i18n-values/id-ID.js +4 -4
- package/build/i18n-values/km-KH.js +4 -4
- package/build/i18n-values/ms-MY.js +4 -4
- package/build/i18n-values/my-MM.js +3 -3
- package/build/i18n-values/th-TH.js +4 -4
- package/build/i18n-values/tl-PH.js +4 -4
- package/build/i18n-values/vi-VN.js +4 -4
- package/build/i18n-values/vi-VN_MB.js +4 -4
- package/build/i18n-values/zh-TW.js +3 -3
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-22fb6138.js → index-1af5bfb4.js} +2 -2
- package/build/{index-22e76993.js → index-279088f6.js} +6 -6
- package/build/{index-883bd5f0.js → index-2b51fc78.js} +2 -2
- package/build/{index-544e7847.js → index-2b64835e.js} +9 -9
- package/build/{index-9dab6935.js → index-306bea55.js} +2 -2
- package/build/{index-66fc5445.js → index-349048ed.js} +4 -4
- package/build/{index-912f63c7.js → index-5ba2dbd8.js} +143 -114
- package/build/{index-a2f76563.js → index-620454c4.js} +32 -32
- package/build/{index-95f82962.js → index-62d6acb2.js} +12 -12
- package/build/{index-31e590ef.js → index-75cf4571.js} +1 -1
- package/build/{index-6b4c9dee.js → index-7611f400.js} +2 -2
- package/build/{index-f78158ab.js → index-98e609f3.js} +2 -2
- package/build/{index-29075b41.js → index-9ace28d8.js} +4 -4
- package/build/{index-d2a52817.js → index-9c927505.js} +121 -34
- package/build/{index-7872bdc8.js → index-a11dbe7a.js} +2 -2
- package/build/{index-718007fe.js → index-ab46b7b1.js} +10 -10
- package/build/{index-dd4fc7ca.js → index-b9268074.js} +2 -2
- package/build/{index-9b450bd9.js → index-c366417f.js} +2 -2
- package/build/{index-ef4a6ca2.js → index-d10c16ae.js} +2 -2
- package/build/{index-f658f864.js → index-d701f2f0.js} +5 -5
- package/build/{index-2d302f88.js → index-e36841d2.js} +3 -3
- package/build/{index-829bfc9a.js → index-e57b5f57.js} +11 -11
- package/build/{index-f952f896.js → index-ea4553c5.js} +6 -6
- package/build/{index-657a7517.js → index-fc7a35e4.js} +9 -9
- package/build/index.js +65 -65
- package/build/{index.styled-2168ca1e.js → index.styled-8e2e9812.js} +2 -2
- package/build/{index.styles-eae61260.js → index.styles-ee913855.js} +6 -6
- package/build/lead.js +28 -28
- package/build/mantine.js +17 -17
- package/build/misc.js +20 -20
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +31 -31
- package/build/pwg.js +19 -19
- package/build/{routing-c369aff5.js → routing-283c0157.js} +2 -2
- package/build/subot.js +23 -23
- package/build/together.js +35 -35
- package/build/{types-763584b2.js → types-2b80c073.js} +13 -13
- package/build/{types-7e5f6fe0.js → types-47887bb0.js} +30 -30
- package/build/types.js +1 -1
- package/build/{useCategory-6af91922.js → useCategory-df90f4ea.js} +5 -5
- package/build/{useHealthToolCache-07d45a33.js → useHealthToolCache-37aad87d.js} +2 -2
- package/build/{useMantineLocale-fabf9527.js → useMantineLocale-e18d4ed6.js} +3 -3
- package/build/{usePlacesAutocomplete-783c09e9.js → usePlacesAutocomplete-1fedd1cb.js} +1 -1
- package/build/{useTranslations-1ad80d77.js → useTranslations-ff8010a9.js} +1 -1
- package/build/{utils-b18babcf.js → utils-a1c4c7f3.js} +5 -5
- package/build/{utils-3d5d8d33.js → utils-afa1b3a6.js} +1 -1
- package/build/{utils-1614f35c.js → utils-ba634fc8.js} +4 -4
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/components/molecules/healthTools/components/borderBoxControl/index.styled.d.ts +0 -23
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.styled.d.ts +0 -23
- /package/build/{BMI_BOYS.percentile.monthly-bcbe6694.js → BMI_BOYS.percentile.monthly-951fa2ec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ab87d2b2.js → BMI_BOYS.percentile.weekly-980ff0fc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d0c715a1.js → BMI_BOYS.percentile.yearly-d032e209.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e73787c3.js → BMI_BOYS.zscore.monthly-1803a45b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6d0e7ff7.js → BMI_BOYS.zscore.weekly-8ee2d106.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e30b4b68.js → BMI_BOYS.zscore.yearly-78fa4d45.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-14a0446f.js → BMI_GIRLS.percentile.monthly-6bcdc56b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0ec805ce.js → BMI_GIRLS.percentile.weekly-1e31c07d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-6ba64730.js → BMI_GIRLS.percentile.yearly-20be287d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-286dbec0.js → BMI_GIRLS.zscore.monthly-5418196f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-41085a13.js → BMI_GIRLS.zscore.weekly-df5543e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9fc7b15f.js → BMI_GIRLS.zscore.yearly-cb1566c8.js} +0 -0
- /package/build/{ChevronDown-7a7f6389.js → ChevronDown-d95b1035.js} +0 -0
- /package/build/{Close-caf0d239.js → Close-4f787ff2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-05993ca1.js → HEAD CIRCUM_BOYS.percentile.monthly-5daa3a00.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1d9c4319.js → HEAD CIRCUM_BOYS.percentile.weekly-33e2a46f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-990b1b7d.js → HEAD CIRCUM_BOYS.percentile.yearly-ff2dd96f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3a01e155.js → HEAD CIRCUM_BOYS.zscore.monthly-f4d8877c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-64cda157.js → HEAD CIRCUM_BOYS.zscore.weekly-1536260d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-33986632.js → HEAD CIRCUM_BOYS.zscore.yearly-bfeecafa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-19b420bb.js → HEAD CIRCUM_GIRLS.percentile.monthly-55136779.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f8634b12.js → HEAD CIRCUM_GIRLS.percentile.weekly-b4c7dc1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d3f75779.js → HEAD CIRCUM_GIRLS.percentile.yearly-ea6dfb6c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cd8db11f.js → HEAD CIRCUM_GIRLS.zscore.monthly-1f5a1d37.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d46a94c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-1e5e764e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0e145226.js → HEAD CIRCUM_GIRLS.zscore.yearly-c510d0ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-365a6946.js → HEIGHT_BOYS.percentile.monthly-50022bbb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-759a4c19.js → HEIGHT_BOYS.percentile.weekly-73e09dd2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0dc8da8d.js → HEIGHT_BOYS.percentile.yearly-d5614acd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c8a59b03.js → HEIGHT_BOYS.zscore.monthly-91b5615e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7cedc697.js → HEIGHT_BOYS.zscore.weekly-fcbb9cbc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-34ce9808.js → HEIGHT_BOYS.zscore.yearly-24d39469.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-e159f499.js → HEIGHT_GIRLS.percentile.monthly-000a3992.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4c32ba4a.js → HEIGHT_GIRLS.percentile.weekly-fc4484b9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-87a60ea6.js → HEIGHT_GIRLS.percentile.yearly-eacf13da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-839071ca.js → HEIGHT_GIRLS.zscore.monthly-a9c9285c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-6826352b.js → HEIGHT_GIRLS.zscore.weekly-6f32d4b6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d84896c7.js → HEIGHT_GIRLS.zscore.yearly-01313930.js} +0 -0
- /package/build/{Visible-acfe5593.js → Visible-850168da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3cc1bc68.js → WEIGHT_BOYS.percentile.monthly-0e81ba1d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7f60c080.js → WEIGHT_BOYS.percentile.weekly-195fc43f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-587f12d1.js → WEIGHT_BOYS.percentile.yearly-5908d145.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bec8f116.js → WEIGHT_BOYS.zscore.monthly-1a4550d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-3557b22e.js → WEIGHT_BOYS.zscore.weekly-598852f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-065d3677.js → WEIGHT_BOYS.zscore.yearly-ea1d3f22.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8e5ef3c5.js → WEIGHT_GIRLS.percentile.monthly-4b468cfc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5f01c346.js → WEIGHT_GIRLS.percentile.weekly-6b9fb9d3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3e5e252d.js → WEIGHT_GIRLS.percentile.yearly-15d64500.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-db693c0c.js → WEIGHT_GIRLS.zscore.monthly-11050a16.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b244f74d.js → WEIGHT_GIRLS.zscore.weekly-09048c47.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-375cbdcd.js → WEIGHT_GIRLS.zscore.yearly-05bb9d83.js} +0 -0
- /package/build/{animation-2e5a9919.js → animation-4b3e3fc8.js} +0 -0
- /package/build/{cart-cef4b5b2.js → cart-ff90df64.js} +0 -0
- /package/build/{cookieHelper-539bbfad.js → cookieHelper-4eee6575.js} +0 -0
- /package/build/{doctor-69e8cc2b.js → doctor-435f85cc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-988bc765.js → BMI_BOYS.percentile.monthly-2657b9ac.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c9774a2f.js → BMI_BOYS.percentile.weekly-fa1650bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-577a2175.js → BMI_BOYS.percentile.yearly-0e637f30.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2e0d928b.js → BMI_BOYS.zscore.monthly-c2b56f2b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6c0cf1c8.js → BMI_BOYS.zscore.weekly-edbf3efb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-738fba22.js → BMI_BOYS.zscore.yearly-7e6b0583.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-84978de4.js → BMI_GIRLS.percentile.monthly-4d53b551.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-967e30d7.js → BMI_GIRLS.percentile.weekly-cb216f96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-869b4696.js → BMI_GIRLS.percentile.yearly-f1819a2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-626351ee.js → BMI_GIRLS.zscore.monthly-5c10b2db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-982e10f3.js → BMI_GIRLS.zscore.weekly-11e412c0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-edf876d7.js → BMI_GIRLS.zscore.yearly-ba8af7cd.js} +0 -0
- /package/build/esm/{ChevronDown-23986289.js → ChevronDown-f46763d3.js} +0 -0
- /package/build/esm/{Close-88f30ca3.js → Close-3413278b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0edb1d06.js → HEAD CIRCUM_BOYS.percentile.monthly-db758ef3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4b0d7d4d.js → HEAD CIRCUM_BOYS.percentile.weekly-a39483ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-733c4c3c.js → HEAD CIRCUM_BOYS.percentile.yearly-cb902511.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-61a16a19.js → HEAD CIRCUM_BOYS.zscore.monthly-13ecd449.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4d063366.js → HEAD CIRCUM_BOYS.zscore.weekly-b7490f44.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b5cb706e.js → HEAD CIRCUM_BOYS.zscore.yearly-5aaf85d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-673fed3e.js → HEAD CIRCUM_GIRLS.percentile.monthly-bc7af031.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-cca77639.js → HEAD CIRCUM_GIRLS.percentile.weekly-3c480877.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-215dd58c.js → HEAD CIRCUM_GIRLS.percentile.yearly-576f019b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6736b5dc.js → HEAD CIRCUM_GIRLS.zscore.monthly-bb0d8ad6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b31f90b6.js → HEAD CIRCUM_GIRLS.zscore.weekly-090e3ba0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1b9dba13.js → HEAD CIRCUM_GIRLS.zscore.yearly-5319d2a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d5fa628e.js → HEIGHT_BOYS.percentile.monthly-d9e9fffc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9cf8dc42.js → HEIGHT_BOYS.percentile.weekly-0b06783f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-0154a32c.js → HEIGHT_BOYS.percentile.yearly-e4c68bb5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ec6e1dfa.js → HEIGHT_BOYS.zscore.monthly-140d0410.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f9a7eaa3.js → HEIGHT_BOYS.zscore.weekly-d6b6f48f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-82c14b36.js → HEIGHT_BOYS.zscore.yearly-d444e82e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-cfaad1bf.js → HEIGHT_GIRLS.percentile.monthly-6b11c12a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6354615c.js → HEIGHT_GIRLS.percentile.weekly-281a74eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-34c5a1b0.js → HEIGHT_GIRLS.percentile.yearly-3e320176.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-59d82df1.js → HEIGHT_GIRLS.zscore.monthly-f4a488c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-127110cf.js → HEIGHT_GIRLS.zscore.weekly-cf2edd38.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c44353dd.js → HEIGHT_GIRLS.zscore.yearly-7c9cf63f.js} +0 -0
- /package/build/esm/{Visible-8a1621e2.js → Visible-8e3f3b2b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-494eff67.js → WEIGHT_BOYS.percentile.monthly-6b9f8428.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-875b8fa0.js → WEIGHT_BOYS.percentile.weekly-d4562de8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-9e23bed6.js → WEIGHT_BOYS.percentile.yearly-9871ce3d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d0d303e5.js → WEIGHT_BOYS.zscore.monthly-c572a171.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f938c958.js → WEIGHT_BOYS.zscore.weekly-83de702b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9b3b31ea.js → WEIGHT_BOYS.zscore.yearly-93bb8ebf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7ca7b146.js → WEIGHT_GIRLS.percentile.monthly-9e4bfecf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fa0efcfb.js → WEIGHT_GIRLS.percentile.weekly-a3b7d8f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-da67242d.js → WEIGHT_GIRLS.percentile.yearly-4531ab40.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-52044ed2.js → WEIGHT_GIRLS.zscore.monthly-4662518d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f9554564.js → WEIGHT_GIRLS.zscore.weekly-b26ea326.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8ad066f9.js → WEIGHT_GIRLS.zscore.yearly-3658a92f.js} +0 -0
- /package/build/esm/{animation-04f1059d.js → animation-075d530d.js} +0 -0
- /package/build/esm/{cart-a6fe858b.js → cart-5a8514ba.js} +0 -0
- /package/build/esm/{cookieHelper-ad2f84ef.js → cookieHelper-d4de0565.js} +0 -0
- /package/build/esm/{doctor-0b13d2d9.js → doctor-ae937e74.js} +0 -0
- /package/build/esm/{index-ccff39bb.js → index-29557e11.js} +0 -0
- /package/build/esm/{index-2278eaac.js → index-809cc43a.js} +0 -0
- /package/build/esm/{index-d821e019.js → index-e3a6c8b3.js} +0 -0
- /package/build/esm/{index-4d880f7e.js → index-e5a963a3.js} +0 -0
- /package/build/esm/{isProduction-5da025be.js → isProduction-8940d360.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b737b67e.js → localizeNumberFormat-608bd8b8.js} +0 -0
- /package/build/esm/{normalizeLink-1a150907.js → normalizeLink-0e772229.js} +0 -0
- /package/build/esm/{number-88d2dec3.js → number-cb0783fa.js} +0 -0
- /package/build/esm/{paths-5364b451.js → paths-7c9f0b69.js} +0 -0
- /package/build/esm/{theme-b4671c6b.js → theme-de4e5929.js} +0 -0
- /package/build/esm/{translationsContext-fbb95f09.js → translationsContext-a9c64944.js} +0 -0
- /package/build/esm/{tslib.es6-0ea8b977.js → tslib.es6-88a9e5c2.js} +0 -0
- /package/build/esm/{useIsInit-9496074c.js → useIsInit-388cfd8a.js} +0 -0
- /package/build/esm/{useOutsideClick-b75b9a65.js → useOutsideClick-0b0fddf4.js} +0 -0
- /package/build/esm/{useScrollbarSize-a93b1954.js → useScrollbarSize-7bf5a8eb.js} +0 -0
- /package/build/esm/{useUniqueId-f966139a.js → useUniqueId-9c6b638c.js} +0 -0
- /package/build/esm/{utils-6541bb61.js → utils-75e5fda9.js} +0 -0
- /package/build/{index-59944d03.js → index-450e2629.js} +0 -0
- /package/build/{index-1b06e630.js → index-6ce326d3.js} +0 -0
- /package/build/{index-490e0b0f.js → index-967e63e9.js} +0 -0
- /package/build/{index-96e1e9c5.js → index-ac7aa0ce.js} +0 -0
- /package/build/{isProduction-4285f612.js → isProduction-5aa2ebcc.js} +0 -0
- /package/build/{localizeNumberFormat-d6f220a4.js → localizeNumberFormat-1ae3d94b.js} +0 -0
- /package/build/{normalizeLink-d4cc54f8.js → normalizeLink-b66bb05c.js} +0 -0
- /package/build/{number-f0cf2a37.js → number-093ff334.js} +0 -0
- /package/build/{paths-ea0273b5.js → paths-af2ba186.js} +0 -0
- /package/build/{theme-81d045c1.js → theme-991e77d4.js} +0 -0
- /package/build/{translationsContext-328d6aef.js → translationsContext-2a1e6e04.js} +0 -0
- /package/build/{tslib.es6-0b7ef9db.js → tslib.es6-c96f77e2.js} +0 -0
- /package/build/{useIsInit-e6d65fee.js → useIsInit-9a9d7406.js} +0 -0
- /package/build/{useOutsideClick-42e2d1b8.js → useOutsideClick-75ea269b.js} +0 -0
- /package/build/{useScrollbarSize-4fcff537.js → useScrollbarSize-13e3f5a6.js} +0 -0
- /package/build/{useUniqueId-b6a33ac0.js → useUniqueId-ded74d2a.js} +0 -0
- /package/build/{utils-f2c05a1a.js → utils-9d404b9b.js} +0 -0
|
@@ -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
|
|