@hhgtech/hhg-components 1.29.38 → 1.29.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{WhatsApp-d99c7df1.js → WhatsApp-7c990a33.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +204 -147
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components/atoms/genderOptionControl/index.d.ts +8 -4
- package/build/components/atoms/genderOptionControl/index.styles.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthForm/context.d.ts +0 -1
- package/build/components/babyGrowth/babyGrowthForm/index.d.ts +4 -7
- package/build/components/babyGrowth/babyGrowthForm/layout/default/index.d.ts +3 -0
- package/build/components/babyGrowth/babyGrowthForm/layout/inline/index.d.ts +3 -0
- package/build/components/babyGrowth/babyGrowthForm/layout/inline/index.styles.d.ts +11 -0
- package/build/components/babyGrowth/index.d.ts +1 -0
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +8 -10
- package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +1 -6
- package/build/components/molecules/embeddedHeathToolCards/bmi/context.d.ts +2 -1
- package/build/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +5 -10
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +5 -5
- package/build/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +6 -13
- package/build/components/molecules/healthTools/cardWrapper/banner/index.d.ts +4 -0
- package/build/components/molecules/healthTools/cardWrapper/body/index.d.ts +3 -0
- package/build/components/molecules/healthTools/cardWrapper/context.d.ts +5 -0
- package/build/components/molecules/healthTools/cardWrapper/index.d.ts +12 -0
- package/build/components/{babyGrowth/babyGrowthForm/layout/horizonal → molecules/healthTools/cardWrapper}/index.styles.d.ts +3 -1
- package/build/components/molecules/healthTools/components/borderBoxControl/error.d.ts +3 -0
- package/build/components/molecules/healthTools/components/borderBoxControl/index.d.ts +8 -0
- package/build/{esm/components/molecules/thrForm → components/molecules/healthTools/components/borderBoxControl}/index.styled.d.ts +12 -9
- package/build/components/molecules/healthTools/components/borderBoxControl/index.styles.d.ts +14 -0
- package/build/components/molecules/healthTools/components/borderInlineControl/error.d.ts +3 -0
- package/build/components/molecules/healthTools/components/borderInlineControl/index.d.ts +8 -0
- package/build/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +14 -0
- package/build/components/molecules/healthTools/components/control/index.d.ts +5 -0
- package/build/components/molecules/healthTools/components/control/index.styles.d.ts +8 -0
- package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +15 -0
- package/build/components/molecules/healthTools/form/bmiForm/defaultLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +4 -0
- package/build/components/molecules/healthTools/form/bmiForm/inlineLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/form/thrForm/context.d.ts +16 -0
- package/build/components/molecules/healthTools/form/thrForm/defaultLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/form/thrForm/index.d.ts +15 -0
- package/build/components/molecules/healthTools/form/thrForm/inlineLayout.d.ts +3 -0
- package/build/components/molecules/healthTools/formWrapper/context.d.ts +5 -0
- package/build/components/molecules/healthTools/formWrapper/formRow.d.ts +3 -0
- package/build/components/molecules/healthTools/formWrapper/index.d.ts +22 -0
- package/build/components/molecules/healthTools/formWrapper/index.styles.d.ts +13 -0
- package/build/components/molecules/healthTools/formWrapper/submitBtn.d.ts +3 -0
- package/build/components/molecules/healthTools/formWrapper/unit.d.ts +3 -0
- package/build/components/molecules/index.d.ts +3 -0
- package/build/components/molecules/toolBannerCard/index.d.ts +2 -3
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +0 -14
- package/build/components.js +63 -61
- package/build/{constants-d8bb5755.js → constants-341e3655.js} +2 -2
- package/build/{constants-5feace15.js → constants-e7f8b0d2.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-85607b32.js → core-624d9eef.js} +2 -2
- package/build/{dataTransform-bace0dd7.js → dataTransform-4724625a.js} +1 -1
- package/build/ecom.js +6 -6
- package/build/esm/{WhatsApp-9029e044.js → WhatsApp-4464ab6c.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +140 -84
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/atoms/genderOptionControl/index.d.ts +8 -4
- package/build/esm/components/atoms/genderOptionControl/index.styles.d.ts +5 -1
- package/build/esm/components/babyGrowth/babyGrowthForm/context.d.ts +0 -1
- package/build/esm/components/babyGrowth/babyGrowthForm/index.d.ts +4 -7
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/default/index.d.ts +3 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/inline/index.d.ts +3 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/inline/index.styles.d.ts +11 -0
- package/build/esm/components/babyGrowth/index.d.ts +1 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +8 -10
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +1 -6
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/context.d.ts +2 -1
- package/build/esm/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +5 -10
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +5 -5
- package/build/esm/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +6 -13
- package/build/esm/components/molecules/healthTools/cardWrapper/banner/index.d.ts +4 -0
- package/build/esm/components/molecules/healthTools/cardWrapper/banner/index.styles.d.ts +8 -0
- package/build/esm/components/molecules/healthTools/cardWrapper/body/index.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/cardWrapper/body/index.styles.d.ts +8 -0
- package/build/esm/components/molecules/healthTools/cardWrapper/context.d.ts +5 -0
- package/build/esm/components/molecules/healthTools/cardWrapper/index.d.ts +12 -0
- package/build/esm/components/{babyGrowth/babyGrowthForm/layout/horizonal → molecules/healthTools/cardWrapper}/index.styles.d.ts +3 -1
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/error.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.d.ts +8 -0
- package/build/{components/molecules/thrForm → esm/components/molecules/healthTools/components/borderBoxControl}/index.styled.d.ts +12 -9
- package/build/esm/components/molecules/healthTools/components/borderBoxControl/index.styles.d.ts +14 -0
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/error.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.d.ts +8 -0
- package/build/esm/components/molecules/healthTools/components/borderInlineControl/index.styles.d.ts +14 -0
- package/build/esm/components/molecules/healthTools/components/control/index.d.ts +5 -0
- package/build/esm/components/molecules/healthTools/components/control/index.styles.d.ts +8 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +15 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/defaultLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +4 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/inlineLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/form/thrForm/context.d.ts +16 -0
- package/build/esm/components/molecules/healthTools/form/thrForm/defaultLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/form/thrForm/index.d.ts +15 -0
- package/build/esm/components/molecules/healthTools/form/thrForm/inlineLayout.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/formWrapper/context.d.ts +5 -0
- package/build/esm/components/molecules/healthTools/formWrapper/formRow.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/formWrapper/index.d.ts +22 -0
- package/build/esm/components/molecules/healthTools/formWrapper/index.styles.d.ts +13 -0
- package/build/esm/components/molecules/healthTools/formWrapper/submitBtn.d.ts +3 -0
- package/build/esm/components/molecules/healthTools/formWrapper/unit.d.ts +3 -0
- package/build/esm/components/molecules/index.d.ts +3 -0
- package/build/esm/components/molecules/toolBannerCard/index.d.ts +2 -3
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +0 -14
- package/build/esm/components.js +60 -60
- package/build/esm/{constants-9b5802d2.js → constants-661c1d64.js} +2 -2
- package/build/esm/{constants-97ddb11b.js → constants-ac51ae89.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-ce928c66.js → core-f226ac0f.js} +2 -2
- package/build/esm/{dataTransform-ccf7fc2f.js → dataTransform-e5035d56.js} +1 -1
- package/build/esm/ecom.js +6 -6
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-8464e866.js → getDynamicHealthTool-4d8eeb51.js} +4 -4
- package/build/esm/{getSocialList-5feda209.js → getSocialList-25eb0ec3.js} +4 -4
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +6 -0
- package/build/esm/i18n-values/hi-IN.js +6 -0
- package/build/esm/i18n-values/id-ID.js +6 -0
- package/build/esm/i18n-values/km-KH.js +6 -0
- package/build/esm/i18n-values/ms-MY.js +6 -0
- package/build/esm/i18n-values/my-MM.js +6 -0
- package/build/esm/i18n-values/th-TH.js +6 -0
- package/build/esm/i18n-values/tl-PH.js +6 -0
- package/build/esm/i18n-values/vi-VN.js +6 -0
- package/build/esm/i18n-values/vi-VN_MB.js +6 -0
- package/build/esm/i18n-values/zh-TW.js +6 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-da78c403.js → index-1b1be502.js} +3 -3
- package/build/esm/{index-a94fad35.js → index-1d8204a9.js} +4 -4
- package/build/esm/{index-122290a6.js → index-2761f711.js} +4 -4
- package/build/esm/{index-5caba3a3.js → index-3aca5854.js} +2 -2
- package/build/esm/{index-23e39ae7.js → index-454b515d.js} +12 -12
- package/build/esm/{index-7f868691.js → index-489dd441.js} +2 -2
- package/build/esm/{index-ce5fd5ed.js → index-5a0f027e.js} +10 -10
- package/build/esm/{index-f48d3a5e.js → index-66d10b21.js} +446 -1358
- package/build/esm/{index-866e1e59.js → index-68fab995.js} +10 -10
- package/build/esm/{index-c1e81587.js → index-7305fc5d.js} +2 -2
- package/build/esm/{index-1191e333.js → index-7c16ac20.js} +2 -2
- package/build/esm/{index-6e0f2380.js → index-84a52876.js} +2 -2
- package/build/esm/{index-8272466a.js → index-8625e8d8.js} +2 -2
- package/build/esm/{index-635f511c.js → index-922e3c54.js} +6 -6
- package/build/esm/{index-6ec7a4c8.js → index-a3f3a71d.js} +11 -11
- package/build/esm/{index-293feeaa.js → index-c3d30585.js} +2 -2
- package/build/esm/{index-aa06ff69.js → index-c82b58c7.js} +1 -1
- package/build/esm/{index-5f675e1c.js → index-cbda4cc1.js} +2 -2
- package/build/esm/{index-95a9d5a5.js → index-d4626ff6.js} +9 -9
- package/build/esm/{index-b06391df.js → index-db047eda.js} +33 -32
- package/build/esm/{index-8448ca14.js → index-de4b6341.js} +2 -2
- package/build/esm/{index-698ba1fc.js → index-e86bff41.js} +2 -2
- package/build/esm/index-eb9b684f.js +1047 -0
- package/build/esm/{index-df0ff85e.js → index-f06883d8.js} +9 -7
- package/build/esm/{index-d7b8c2f4.js → index-f7bf305d.js} +4 -4
- package/build/esm/index.js +68 -68
- package/build/esm/{index.styled-34d5c912.js → index.styled-0bdbe990.js} +2 -2
- package/build/esm/{index.styles-6b051705.js → index.styles-e1757115.js} +51 -36
- package/build/esm/lead/components/close.d.ts +2 -2
- package/build/esm/lead.js +29 -29
- package/build/esm/mantine.js +21 -21
- package/build/esm/misc.js +19 -19
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +32 -32
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-ce281ad0.js → routing-0e8aa97d.js} +2 -2
- package/build/esm/subot.js +22 -22
- package/build/esm/together.js +34 -34
- package/build/esm/{types-0e393278.js → types-d1a0466d.js} +13 -13
- package/build/esm/{types-4355fc77.js → types-d54aac73.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-4d8c9a39.js → useCategory-d97a0eaf.js} +5 -5
- package/build/esm/{useHealthToolCache-b64f14d8.js → useHealthToolCache-33752ed2.js} +2 -2
- package/build/esm/{useMantineLocale-dbec4e01.js → useMantineLocale-c9152268.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-20e94035.js → usePlacesAutocomplete-664fd91f.js} +1 -1
- package/build/esm/{useTranslations-182b98b0.js → useTranslations-cdea23ca.js} +1 -1
- package/build/esm/{utils-ac69ad7d.js → utils-7a0b602b.js} +1 -1
- package/build/esm/{utils-d6c3851b.js → utils-e621db45.js} +4 -4
- package/build/esm/{utils-6a097926.js → utils-e93e4c81.js} +5 -5
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-6e714117.js → getDynamicHealthTool-d6db1d7f.js} +4 -4
- package/build/{getSocialList-d48ed635.js → getSocialList-64b3658e.js} +4 -4
- package/build/hooks.js +17 -17
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +6 -0
- package/build/i18n-values/hi-IN.js +6 -0
- package/build/i18n-values/id-ID.js +6 -0
- package/build/i18n-values/km-KH.js +6 -0
- package/build/i18n-values/ms-MY.js +6 -0
- package/build/i18n-values/my-MM.js +6 -0
- package/build/i18n-values/th-TH.js +6 -0
- package/build/i18n-values/tl-PH.js +6 -0
- package/build/i18n-values/vi-VN.js +6 -0
- package/build/i18n-values/vi-VN_MB.js +6 -0
- package/build/i18n-values/zh-TW.js +6 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-0bcbb4c0.js → index-0a0b5799.js} +2 -2
- package/build/{index-e82cb100.js → index-0be68def.js} +10 -10
- package/build/{index-56c06c8a.js → index-16865f4f.js} +566 -1477
- package/build/{index-41fb9b9e.js → index-2ed6b546.js} +1 -1
- package/build/{index-de163db7.js → index-30b8b836.js} +4 -4
- package/build/{index-8a895fa3.js → index-317d0c1c.js} +4 -4
- package/build/{index-4b9c6b05.js → index-31d3a0cd.js} +2 -2
- package/build/{index-0df51825.js → index-38ffe95c.js} +2 -2
- package/build/{index-9624b24c.js → index-3ee0bbab.js} +2 -2
- package/build/index-49e98004.js +1066 -0
- package/build/{index-94ac3eb7.js → index-4d5f141c.js} +2 -2
- package/build/{index-94897f2e.js → index-5d5594a7.js} +33 -32
- package/build/{index-8448e097.js → index-65ed0de1.js} +8 -6
- package/build/{index-549b661c.js → index-7c76f198.js} +2 -2
- package/build/{index-8907f43d.js → index-885e1cdd.js} +3 -3
- package/build/{index-791f5136.js → index-9c99495d.js} +6 -6
- package/build/{index-98501021.js → index-a5aa5d5c.js} +9 -9
- package/build/{index-113434f0.js → index-a9805dbb.js} +2 -2
- package/build/{index-ef52fcb6.js → index-b57d6d78.js} +12 -12
- package/build/{index-5cb50f4e.js → index-d976a27c.js} +2 -2
- package/build/{index-dfa0a536.js → index-deae37ab.js} +4 -4
- package/build/{index-ecdd422d.js → index-e1bfc5cd.js} +10 -10
- package/build/{index-df6a14e3.js → index-e81b428d.js} +11 -11
- package/build/{index-d26020a5.js → index-f91097ba.js} +2 -2
- package/build/{index-3274ae34.js → index-fbb66d3d.js} +2 -2
- package/build/index.js +71 -69
- package/build/{index.styled-50cdab30.js → index.styled-02090cfc.js} +2 -2
- package/build/{index.styles-1b468115.js → index.styles-157337bd.js} +52 -37
- package/build/lead/components/close.d.ts +2 -2
- package/build/lead.js +29 -29
- package/build/mantine.js +18 -18
- package/build/misc.js +19 -19
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +31 -31
- package/build/pwg.js +19 -19
- package/build/{routing-30c0c0cc.js → routing-a06d4f70.js} +2 -2
- package/build/subot.js +22 -22
- package/build/together.js +34 -34
- package/build/{types-e26017f6.js → types-4dbda9a8.js} +13 -13
- package/build/{types-50b24c04.js → types-56f05054.js} +30 -30
- package/build/types.js +1 -1
- package/build/{useCategory-2e85f16e.js → useCategory-69284fce.js} +5 -5
- package/build/{useHealthToolCache-07ed2426.js → useHealthToolCache-75252b30.js} +2 -2
- package/build/{useMantineLocale-ce50b703.js → useMantineLocale-5f5000f2.js} +3 -3
- package/build/{usePlacesAutocomplete-cd1fbe0f.js → usePlacesAutocomplete-ae8c4f01.js} +1 -1
- package/build/{useTranslations-f93487c0.js → useTranslations-e5a4e00e.js} +1 -1
- package/build/{utils-bff8f8a5.js → utils-29574e04.js} +5 -5
- package/build/{utils-bcf0929c.js → utils-3c665430.js} +1 -1
- package/build/{utils-715f6b2e.js → utils-a7153a3d.js} +4 -4
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/components/babyGrowth/babyGrowthForm/layout/horizonal/index.d.ts +0 -3
- package/build/components/babyGrowth/babyGrowthForm/layout/vertical/index.d.ts +0 -2
- package/build/components/molecules/bmiForm/index.d.ts +0 -4
- package/build/components/molecules/bmiForm/index.styled.d.ts +0 -23
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/context.d.ts +0 -12
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/form.d.ts +0 -3
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +0 -17
- package/build/components/molecules/embeddedHeathToolCards/bmi/form.d.ts +0 -2
- package/build/components/molecules/thrForm/index.d.ts +0 -15
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/horizonal/index.d.ts +0 -3
- package/build/esm/components/babyGrowth/babyGrowthForm/layout/vertical/index.d.ts +0 -2
- package/build/esm/components/molecules/bmiForm/index.d.ts +0 -4
- package/build/esm/components/molecules/bmiForm/index.styled.d.ts +0 -23
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/context.d.ts +0 -12
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/form.d.ts +0 -3
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +0 -17
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/form.d.ts +0 -2
- package/build/esm/components/molecules/thrForm/index.d.ts +0 -15
- package/build/esm/index-a83b3eb1.js +0 -370
- package/build/index-efa41cd3.js +0 -380
- /package/build/{BMI_BOYS.percentile.monthly-dcd3084a.js → BMI_BOYS.percentile.monthly-3dc46630.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a6f782f3.js → BMI_BOYS.percentile.weekly-33a7a76d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e429bfed.js → BMI_BOYS.percentile.yearly-7e23ad15.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f4bbfcb6.js → BMI_BOYS.zscore.monthly-2ce61257.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-20a38240.js → BMI_BOYS.zscore.weekly-b7ad99e4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6dcaf111.js → BMI_BOYS.zscore.yearly-18e3796a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-8e969202.js → BMI_GIRLS.percentile.monthly-659ecfd5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b1170d1d.js → BMI_GIRLS.percentile.weekly-ae56f36e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9489f889.js → BMI_GIRLS.percentile.yearly-231d8484.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e8e08d44.js → BMI_GIRLS.zscore.monthly-b3fd34cc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-64cb4f0d.js → BMI_GIRLS.zscore.weekly-ba14b60f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-b135827f.js → BMI_GIRLS.zscore.yearly-9aa7154b.js} +0 -0
- /package/build/{ChevronDown-82bb0d63.js → ChevronDown-bdc5f8bf.js} +0 -0
- /package/build/{Close-f3430e52.js → Close-37ec8443.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a8ca64b7.js → HEAD CIRCUM_BOYS.percentile.monthly-c14e93fe.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-e8d1782b.js → HEAD CIRCUM_BOYS.percentile.weekly-6d94ea66.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f68eb2a7.js → HEAD CIRCUM_BOYS.percentile.yearly-e88fc611.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-52fb2c4b.js → HEAD CIRCUM_BOYS.zscore.monthly-d7428860.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5694f8a3.js → HEAD CIRCUM_BOYS.zscore.weekly-9f78d9e2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-867a9bd9.js → HEAD CIRCUM_BOYS.zscore.yearly-0b878fa3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2207ee26.js → HEAD CIRCUM_GIRLS.percentile.monthly-12513ad5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6736e2ee.js → HEAD CIRCUM_GIRLS.percentile.weekly-7accdda4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-76d25dc8.js → HEAD CIRCUM_GIRLS.percentile.yearly-43b2cb53.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-08523a75.js → HEAD CIRCUM_GIRLS.zscore.monthly-2bd1125e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2b70d82b.js → HEAD CIRCUM_GIRLS.zscore.weekly-11352a99.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-552055e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-a5d1fc49.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5ab92c81.js → HEIGHT_BOYS.percentile.monthly-47159e6b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-91719547.js → HEIGHT_BOYS.percentile.weekly-77a168eb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f37750e0.js → HEIGHT_BOYS.percentile.yearly-ffe077bb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-dde2d0dd.js → HEIGHT_BOYS.zscore.monthly-22afc4de.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-92a4aff3.js → HEIGHT_BOYS.zscore.weekly-d9ef3e8c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a15ba129.js → HEIGHT_BOYS.zscore.yearly-eaa9c646.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-6f87db85.js → HEIGHT_GIRLS.percentile.monthly-f4b44713.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-48d71e86.js → HEIGHT_GIRLS.percentile.weekly-59699856.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-aad587aa.js → HEIGHT_GIRLS.percentile.yearly-2ebb26e5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-15f6136f.js → HEIGHT_GIRLS.zscore.monthly-ecaab89e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-3ff8860a.js → HEIGHT_GIRLS.zscore.weekly-457d47df.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-b7ec938c.js → HEIGHT_GIRLS.zscore.yearly-2e6f58f9.js} +0 -0
- /package/build/{Visible-bb6e9ef6.js → Visible-5815765d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1aba5bbb.js → WEIGHT_BOYS.percentile.monthly-5adfba39.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-54cdedc5.js → WEIGHT_BOYS.percentile.weekly-df51ea10.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0c0990e7.js → WEIGHT_BOYS.percentile.yearly-7e7a945c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-cedabde8.js → WEIGHT_BOYS.zscore.monthly-409ef959.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-4bbffbf9.js → WEIGHT_BOYS.zscore.weekly-51f7b2ca.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-21de5d1c.js → WEIGHT_BOYS.zscore.yearly-249b9a56.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-f23e1bb9.js → WEIGHT_GIRLS.percentile.monthly-e96c3379.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a204fb02.js → WEIGHT_GIRLS.percentile.weekly-9e4aac96.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-fae5efe1.js → WEIGHT_GIRLS.percentile.yearly-aa6ee172.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4237f532.js → WEIGHT_GIRLS.zscore.monthly-41cd2243.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-19bd31dd.js → WEIGHT_GIRLS.zscore.weekly-a78795a5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-5f38cdaf.js → WEIGHT_GIRLS.zscore.yearly-f85d3d67.js} +0 -0
- /package/build/{animation-a5076c5c.js → animation-7c2163d6.js} +0 -0
- /package/build/{cart-e93f4b8f.js → cart-7225f4ea.js} +0 -0
- /package/build/components/babyGrowth/babyGrowthForm/layout/{vertical → default}/index.styled.d.ts +0 -0
- /package/build/components/{babyGrowth/babyGrowthForm → molecules/healthTools/cardWrapper/banner}/index.styles.d.ts +0 -0
- /package/build/{esm/components/babyGrowth/babyGrowthForm → components/molecules/healthTools/cardWrapper/body}/index.styles.d.ts +0 -0
- /package/build/{cookieHelper-74cb509b.js → cookieHelper-cdee4e84.js} +0 -0
- /package/build/{doctor-f279ce40.js → doctor-770ff1ba.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d01dee28.js → BMI_BOYS.percentile.monthly-42b05262.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-591dcd44.js → BMI_BOYS.percentile.weekly-51c5c77e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-84c2ff2c.js → BMI_BOYS.percentile.yearly-f496de0a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c60f2b8a.js → BMI_BOYS.zscore.monthly-14f694fa.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-234a53d2.js → BMI_BOYS.zscore.weekly-3db6bc0c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a226f2ef.js → BMI_BOYS.zscore.yearly-8509d0ae.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a51033e1.js → BMI_GIRLS.percentile.monthly-d9a21889.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c9878aec.js → BMI_GIRLS.percentile.weekly-575bac9c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f9440fbc.js → BMI_GIRLS.percentile.yearly-04508fbe.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-ede0906b.js → BMI_GIRLS.zscore.monthly-5cdf6175.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-d1705304.js → BMI_GIRLS.zscore.weekly-e616dee6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b16db81c.js → BMI_GIRLS.zscore.yearly-f04c1bc5.js} +0 -0
- /package/build/esm/{ChevronDown-11483d36.js → ChevronDown-5de6880b.js} +0 -0
- /package/build/esm/{Close-4de58d34.js → Close-9352706a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8de688d1.js → HEAD CIRCUM_BOYS.percentile.monthly-96d66e11.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-f8f3f13d.js → HEAD CIRCUM_BOYS.percentile.weekly-f5554984.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-4c8c407c.js → HEAD CIRCUM_BOYS.percentile.yearly-557fb130.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0b4aa3f6.js → HEAD CIRCUM_BOYS.zscore.monthly-c3fdcb0b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-18a43769.js → HEAD CIRCUM_BOYS.zscore.weekly-b3ea066c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9f6b7910.js → HEAD CIRCUM_BOYS.zscore.yearly-451d74b9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-718cc0d3.js → HEAD CIRCUM_GIRLS.percentile.monthly-1ef5b735.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-8a83f48b.js → HEAD CIRCUM_GIRLS.percentile.weekly-b7fd90a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-52856089.js → HEAD CIRCUM_GIRLS.percentile.yearly-680b7cff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e3600c49.js → HEAD CIRCUM_GIRLS.zscore.monthly-a21a8585.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-79f6f5cb.js → HEAD CIRCUM_GIRLS.zscore.weekly-c3c76d7d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-af14607e.js → HEAD CIRCUM_GIRLS.zscore.yearly-cc7be510.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-53adf68c.js → HEIGHT_BOYS.percentile.monthly-d165ef46.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-96c96901.js → HEIGHT_BOYS.percentile.weekly-afa23b20.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-92fac142.js → HEIGHT_BOYS.percentile.yearly-d10f86c1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a8ae1335.js → HEIGHT_BOYS.zscore.monthly-d0e97976.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-fbb0fdc9.js → HEIGHT_BOYS.zscore.weekly-0695da19.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-9b483c0e.js → HEIGHT_BOYS.zscore.yearly-a373542e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-34982fd3.js → HEIGHT_GIRLS.percentile.monthly-4658cd2c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-29c0db88.js → HEIGHT_GIRLS.percentile.weekly-7b663bc7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c56a2b85.js → HEIGHT_GIRLS.percentile.yearly-bbabb1a1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-54e7c91a.js → HEIGHT_GIRLS.zscore.monthly-f9e44117.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7ee17f47.js → HEIGHT_GIRLS.zscore.weekly-5e6f1243.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-2703cbc0.js → HEIGHT_GIRLS.zscore.yearly-cd2dcc67.js} +0 -0
- /package/build/esm/{Visible-764c3f20.js → Visible-1ea9e5cd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4fa8e732.js → WEIGHT_BOYS.percentile.monthly-1dc4d7f8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-9c4083bd.js → WEIGHT_BOYS.percentile.weekly-9d34b61c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-16f24d04.js → WEIGHT_BOYS.percentile.yearly-88c743b3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2f83fe06.js → WEIGHT_BOYS.zscore.monthly-c56a6907.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-50cc1af5.js → WEIGHT_BOYS.zscore.weekly-f5d09a10.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8f90b025.js → WEIGHT_BOYS.zscore.yearly-e4eadd64.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e37853d5.js → WEIGHT_GIRLS.percentile.monthly-d10b7f03.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bd34beb7.js → WEIGHT_GIRLS.percentile.weekly-fd9b6664.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e5b561b3.js → WEIGHT_GIRLS.percentile.yearly-a199dcfd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-fc495d36.js → WEIGHT_GIRLS.zscore.monthly-88f2ceaa.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-393e2b93.js → WEIGHT_GIRLS.zscore.weekly-82d56465.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-08062bc8.js → WEIGHT_GIRLS.zscore.yearly-7ba197df.js} +0 -0
- /package/build/esm/{animation-8547e091.js → animation-a85e3de7.js} +0 -0
- /package/build/esm/{cart-0bba17ab.js → cart-887831b6.js} +0 -0
- /package/build/esm/components/babyGrowth/babyGrowthForm/layout/{vertical → default}/index.styled.d.ts +0 -0
- /package/build/esm/{cookieHelper-36dd27eb.js → cookieHelper-3d07347b.js} +0 -0
- /package/build/esm/{doctor-3c5327a9.js → doctor-799a9bd3.js} +0 -0
- /package/build/esm/{index-219ed8dd.js → index-0ed4c22b.js} +0 -0
- /package/build/esm/{index-65b852a2.js → index-43343cbf.js} +0 -0
- /package/build/esm/{index-1d94ce29.js → index-4599e5b0.js} +0 -0
- /package/build/esm/{index-79a8b4ef.js → index-56e460c6.js} +0 -0
- /package/build/esm/{isProduction-0e6640c6.js → isProduction-434d302d.js} +0 -0
- /package/build/esm/{localizeNumberFormat-dc4e3255.js → localizeNumberFormat-c85786d3.js} +0 -0
- /package/build/esm/{normalizeLink-7581bee1.js → normalizeLink-3d1f20d1.js} +0 -0
- /package/build/esm/{number-46eeabc4.js → number-299bd96f.js} +0 -0
- /package/build/esm/{paths-6d282f7b.js → paths-56c3587b.js} +0 -0
- /package/build/esm/{theme-42c08fa1.js → theme-970b90f0.js} +0 -0
- /package/build/esm/{translationsContext-abfd0776.js → translationsContext-494ae681.js} +0 -0
- /package/build/esm/{tslib.es6-85c9ab93.js → tslib.es6-64d6b81e.js} +0 -0
- /package/build/esm/{types-7b4f784b.js → types-39d5f930.js} +0 -0
- /package/build/esm/{useIsInit-cf12a2c1.js → useIsInit-4ae94a4f.js} +0 -0
- /package/build/esm/{useOutsideClick-eb15471a.js → useOutsideClick-dc7a904e.js} +0 -0
- /package/build/esm/{useScrollbarSize-98f36cd2.js → useScrollbarSize-c5f52065.js} +0 -0
- /package/build/esm/{useUniqueId-04125311.js → useUniqueId-c297b004.js} +0 -0
- /package/build/esm/{utils-878fd685.js → utils-f7a8a1ca.js} +0 -0
- /package/build/{index-904c8b18.js → index-0161f9b8.js} +0 -0
- /package/build/{index-91525876.js → index-ccb48ca2.js} +0 -0
- /package/build/{index-d731f94b.js → index-d9e9dcc3.js} +0 -0
- /package/build/{index-dc672229.js → index-f1979569.js} +0 -0
- /package/build/{isProduction-ed69b5df.js → isProduction-34667756.js} +0 -0
- /package/build/{localizeNumberFormat-9cae69c0.js → localizeNumberFormat-fd3a0469.js} +0 -0
- /package/build/{normalizeLink-ca17c715.js → normalizeLink-75a55356.js} +0 -0
- /package/build/{number-47e84257.js → number-81819869.js} +0 -0
- /package/build/{paths-c5dd4274.js → paths-782003f7.js} +0 -0
- /package/build/{theme-8dd065df.js → theme-986ab943.js} +0 -0
- /package/build/{translationsContext-5f2a4595.js → translationsContext-5c637723.js} +0 -0
- /package/build/{tslib.es6-37852941.js → tslib.es6-cda3ff06.js} +0 -0
- /package/build/{types-ad40ba6a.js → types-351db239.js} +0 -0
- /package/build/{useIsInit-29b3c929.js → useIsInit-751a5d5b.js} +0 -0
- /package/build/{useOutsideClick-89a3e499.js → useOutsideClick-75a9127e.js} +0 -0
- /package/build/{useScrollbarSize-484a243b.js → useScrollbarSize-c03e70df.js} +0 -0
- /package/build/{useUniqueId-4e027c4d.js → useUniqueId-6dae5baf.js} +0 -0
- /package/build/{utils-2627ae1b.js → utils-e385ce42.js} +0 -0
package/build/esm/babyGrowth.js
CHANGED
|
@@ -1,55 +1,111 @@
|
|
|
1
|
-
import { D as Drawer, M as Modal } from './index-a83b3eb1.js';
|
|
2
|
-
export { B as BabyGrowthGender } from './index-a83b3eb1.js';
|
|
3
1
|
import React__default, { useMemo, useRef, useState, useEffect } from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { BabyBoyMB, GenderChooseBoy, BabyGirlMB, GenderChooseGirl, Boy, Girl, CheckActiveMB, GenderBoy, GenderGirl, CalendarMB, Calendar } from '@hhgtech/icons/other';
|
|
3
|
+
import { u as useTranslations } from './useTranslations-cdea23ca.js';
|
|
4
|
+
import { G as Gender, L as LOCALE, B as BabyGrowthChartType, a as BabyGrowthChartDuration } from './index-56e460c6.js';
|
|
5
|
+
import { a as MarryBabyHeading, M as MarryBabyText } from './index-489dd441.js';
|
|
6
|
+
import { T as Text } from './index-84a52876.js';
|
|
7
|
+
import { t as theme } from './theme-970b90f0.js';
|
|
7
8
|
import styled from '@emotion/styled';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
9
|
+
import { M as MediaQueries, s as startCase } from './utils-f7a8a1ca.js';
|
|
10
|
+
import { R as RadioImageGroup, D as Drawer, M as Modal } from './index-eb9b684f.js';
|
|
11
|
+
export { B as BabyGrowthForm } from './index-eb9b684f.js';
|
|
12
|
+
import { B as Button } from './index-c3d30585.js';
|
|
11
13
|
import dayjs from 'dayjs';
|
|
12
|
-
import { a as ageGenerate, l as localizeNumberFormat } from './localizeNumberFormat-
|
|
14
|
+
import { a as ageGenerate, l as localizeNumberFormat } from './localizeNumberFormat-c85786d3.js';
|
|
13
15
|
import { Kebab } from '@hhgtech/icons/core';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { s as startCase } from './utils-878fd685.js';
|
|
17
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-85c9ab93.js';
|
|
16
|
+
import { H as Heading } from './index-de4b6341.js';
|
|
17
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-64d6b81e.js';
|
|
18
18
|
import '@mantine/core';
|
|
19
|
-
import './index.styles-
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
22
|
-
import './constants-
|
|
23
|
-
import './utils-
|
|
24
|
-
import { T as Text$1 } from './index-
|
|
25
|
-
import './utils-
|
|
26
|
-
import './WhatsApp-
|
|
27
|
-
import { C as CustomReferenceDot } from './index-
|
|
28
|
-
import './index-
|
|
19
|
+
import './index.styles-e1757115.js';
|
|
20
|
+
import './index-68fab995.js';
|
|
21
|
+
import './index-cbda4cc1.js';
|
|
22
|
+
import './constants-ac51ae89.js';
|
|
23
|
+
import './utils-e621db45.js';
|
|
24
|
+
import { T as Text$1 } from './index-5a0f027e.js';
|
|
25
|
+
import './utils-e93e4c81.js';
|
|
26
|
+
import './WhatsApp-4464ab6c.js';
|
|
27
|
+
import { C as CustomReferenceDot } from './index-4599e5b0.js';
|
|
28
|
+
import './index-7c16ac20.js';
|
|
29
29
|
import '@mantine/dates';
|
|
30
|
-
import './useMantineLocale-
|
|
30
|
+
import './useMantineLocale-c9152268.js';
|
|
31
31
|
import '@mantine/hooks';
|
|
32
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
33
|
-
import { I as Input } from './index-
|
|
32
|
+
import { a as useOutsideClick } from './useOutsideClick-dc7a904e.js';
|
|
33
|
+
import { I as Input } from './index-8625e8d8.js';
|
|
34
34
|
import { ResponsiveContainer, LineChart, CartesianGrid, Tooltip, XAxis, YAxis, Line, ReferenceDot } from 'recharts';
|
|
35
35
|
import chunk from 'lodash/chunk';
|
|
36
|
-
import './
|
|
36
|
+
import './translationsContext-494ae681.js';
|
|
37
|
+
import 'string-format';
|
|
38
|
+
import './index.styled-0bdbe990.js';
|
|
39
|
+
import './useScrollbarSize-c5f52065.js';
|
|
37
40
|
import 'lodash/debounce';
|
|
38
41
|
import 'react-dom';
|
|
39
|
-
import '
|
|
40
|
-
import '
|
|
41
|
-
import '
|
|
42
|
-
import '
|
|
43
|
-
import './animation-8547e091.js';
|
|
42
|
+
import '@hookform/resolvers/yup';
|
|
43
|
+
import 'react-hook-form';
|
|
44
|
+
import './index-f06883d8.js';
|
|
45
|
+
import 'date-fns';
|
|
44
46
|
import 'react-keyed-flatten-children';
|
|
47
|
+
import '@emotion/react';
|
|
48
|
+
import './animation-a85e3de7.js';
|
|
45
49
|
import '@mantine/carousel';
|
|
46
50
|
import 'classnames';
|
|
47
|
-
import './useUniqueId-
|
|
48
|
-
import './isProduction-
|
|
49
|
-
import './cookieHelper-
|
|
51
|
+
import './useUniqueId-c297b004.js';
|
|
52
|
+
import './isProduction-434d302d.js';
|
|
53
|
+
import './cookieHelper-3d07347b.js';
|
|
50
54
|
import 'slugify';
|
|
51
55
|
import 'date-fns/locale';
|
|
52
56
|
|
|
57
|
+
const StyledBabyGrowthGender = styled.div `
|
|
58
|
+
& > :not(:last-child) {
|
|
59
|
+
margin-bottom: 8px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.gender-selector {
|
|
63
|
+
& > :not(:last-child) {
|
|
64
|
+
margin-right: 16px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
& > div {
|
|
68
|
+
width: calc(50% - 8px);
|
|
69
|
+
|
|
70
|
+
${MediaQueries.mbUp} {
|
|
71
|
+
justify-self: left;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
const StyledBabyGrowthGenderOption = styled(RadioImageGroup) `
|
|
77
|
+
& > div > div {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-content: center;
|
|
82
|
+
gap: 8px;
|
|
83
|
+
padding-block: 5px;
|
|
84
|
+
}
|
|
85
|
+
.radio-group-item-heading {
|
|
86
|
+
margin-top: 0;
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
|
|
90
|
+
const BabyGrowthGender = ({ value, onChange, siteType, }) => {
|
|
91
|
+
const { t } = useTranslations();
|
|
92
|
+
const isMarryBaby = siteType == 'marryBaby';
|
|
93
|
+
return (React__default.createElement(StyledBabyGrowthGender, { "data-is-marryBaby": isMarryBaby },
|
|
94
|
+
isMarryBaby ? (React__default.createElement(MarryBabyHeading, { type: "h4", color: theme.mbColors.dark }, t('tools.selectBabyGender'))) : (React__default.createElement(Text, { size: "label2", weight: "bold", style: { marginBottom: '0.5rem' } }, t('tools.selectBabyGender'))),
|
|
95
|
+
React__default.createElement(StyledBabyGrowthGenderOption, { siteType: siteType, options: [
|
|
96
|
+
{
|
|
97
|
+
value: Gender.Boy,
|
|
98
|
+
label: t('gender.male'),
|
|
99
|
+
content: isMarryBaby ? React__default.createElement(BabyBoyMB, null) : React__default.createElement(GenderChooseBoy, null),
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
value: Gender.Girl,
|
|
103
|
+
label: t('gender.female'),
|
|
104
|
+
content: isMarryBaby ? React__default.createElement(BabyGirlMB, null) : React__default.createElement(GenderChooseGirl, null),
|
|
105
|
+
},
|
|
106
|
+
], value: value, onChange: onChange, className: "gender-selector" })));
|
|
107
|
+
};
|
|
108
|
+
|
|
53
109
|
const StyledBabyGrowthLegend = styled.div `
|
|
54
110
|
display: flex;
|
|
55
111
|
justify-content: center;
|
|
@@ -815,92 +871,92 @@ const BabyGrowthChooseProfileDrawer = (_a) => {
|
|
|
815
871
|
const BabyGrowthChartPercentile = {
|
|
816
872
|
[Gender.Boy]: {
|
|
817
873
|
[BabyGrowthChartType.Height]: {
|
|
818
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_BOYS.percentile.weekly-
|
|
819
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_BOYS.percentile.monthly-
|
|
820
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_BOYS.percentile.yearly-
|
|
874
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_BOYS.percentile.weekly-afa23b20.js'),
|
|
875
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_BOYS.percentile.monthly-d165ef46.js'),
|
|
876
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_BOYS.percentile.yearly-d10f86c1.js'),
|
|
821
877
|
},
|
|
822
878
|
[BabyGrowthChartType.Weight]: {
|
|
823
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_BOYS.percentile.weekly-
|
|
824
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_BOYS.percentile.monthly-
|
|
825
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_BOYS.percentile.yearly-
|
|
879
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_BOYS.percentile.weekly-9d34b61c.js'),
|
|
880
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_BOYS.percentile.monthly-1dc4d7f8.js'),
|
|
881
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_BOYS.percentile.yearly-88c743b3.js'),
|
|
826
882
|
},
|
|
827
883
|
[BabyGrowthChartType.Head]: {
|
|
828
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_BOYS.percentile.weekly-
|
|
829
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_BOYS.percentile.monthly-
|
|
830
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_BOYS.percentile.yearly-
|
|
884
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_BOYS.percentile.weekly-f5554984.js'),
|
|
885
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_BOYS.percentile.monthly-96d66e11.js'),
|
|
886
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_BOYS.percentile.yearly-557fb130.js'),
|
|
831
887
|
},
|
|
832
888
|
[BabyGrowthChartType.BMI]: {
|
|
833
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_BOYS.percentile.weekly-
|
|
834
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_BOYS.percentile.monthly-
|
|
835
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_BOYS.percentile.yearly-
|
|
889
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_BOYS.percentile.weekly-51c5c77e.js'),
|
|
890
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_BOYS.percentile.monthly-42b05262.js'),
|
|
891
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_BOYS.percentile.yearly-f496de0a.js'),
|
|
836
892
|
},
|
|
837
893
|
},
|
|
838
894
|
[Gender.Girl]: {
|
|
839
895
|
[BabyGrowthChartType.Height]: {
|
|
840
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_GIRLS.percentile.weekly-
|
|
841
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_GIRLS.percentile.monthly-
|
|
842
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_GIRLS.percentile.yearly-
|
|
896
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_GIRLS.percentile.weekly-7b663bc7.js'),
|
|
897
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_GIRLS.percentile.monthly-4658cd2c.js'),
|
|
898
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_GIRLS.percentile.yearly-bbabb1a1.js'),
|
|
843
899
|
},
|
|
844
900
|
[BabyGrowthChartType.Weight]: {
|
|
845
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_GIRLS.percentile.weekly-
|
|
846
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_GIRLS.percentile.monthly-
|
|
847
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_GIRLS.percentile.yearly-
|
|
901
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_GIRLS.percentile.weekly-fd9b6664.js'),
|
|
902
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_GIRLS.percentile.monthly-d10b7f03.js'),
|
|
903
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_GIRLS.percentile.yearly-a199dcfd.js'),
|
|
848
904
|
},
|
|
849
905
|
[BabyGrowthChartType.Head]: {
|
|
850
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_GIRLS.percentile.weekly-
|
|
851
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_GIRLS.percentile.monthly-
|
|
852
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_GIRLS.percentile.yearly-
|
|
906
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_GIRLS.percentile.weekly-b7fd90a5.js'),
|
|
907
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_GIRLS.percentile.monthly-1ef5b735.js'),
|
|
908
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_GIRLS.percentile.yearly-680b7cff.js'),
|
|
853
909
|
},
|
|
854
910
|
[BabyGrowthChartType.BMI]: {
|
|
855
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_GIRLS.percentile.weekly-
|
|
856
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_GIRLS.percentile.monthly-
|
|
857
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_GIRLS.percentile.yearly-
|
|
911
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_GIRLS.percentile.weekly-575bac9c.js'),
|
|
912
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_GIRLS.percentile.monthly-d9a21889.js'),
|
|
913
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_GIRLS.percentile.yearly-04508fbe.js'),
|
|
858
914
|
},
|
|
859
915
|
},
|
|
860
916
|
};
|
|
861
917
|
const BabyGrowthChartZScore = {
|
|
862
918
|
[Gender.Boy]: {
|
|
863
919
|
[BabyGrowthChartType.Height]: {
|
|
864
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_BOYS.zscore.weekly-
|
|
865
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_BOYS.zscore.monthly-
|
|
866
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_BOYS.zscore.yearly-
|
|
920
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_BOYS.zscore.weekly-0695da19.js'),
|
|
921
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_BOYS.zscore.monthly-d0e97976.js'),
|
|
922
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_BOYS.zscore.yearly-a373542e.js'),
|
|
867
923
|
},
|
|
868
924
|
[BabyGrowthChartType.Weight]: {
|
|
869
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_BOYS.zscore.weekly-
|
|
870
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_BOYS.zscore.monthly-
|
|
871
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_BOYS.zscore.yearly-
|
|
925
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_BOYS.zscore.weekly-f5d09a10.js'),
|
|
926
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_BOYS.zscore.monthly-c56a6907.js'),
|
|
927
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_BOYS.zscore.yearly-e4eadd64.js'),
|
|
872
928
|
},
|
|
873
929
|
[BabyGrowthChartType.Head]: {
|
|
874
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_BOYS.zscore.weekly-
|
|
875
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_BOYS.zscore.monthly-
|
|
876
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_BOYS.zscore.yearly-
|
|
930
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_BOYS.zscore.weekly-b3ea066c.js'),
|
|
931
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_BOYS.zscore.monthly-c3fdcb0b.js'),
|
|
932
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_BOYS.zscore.yearly-451d74b9.js'),
|
|
877
933
|
},
|
|
878
934
|
[BabyGrowthChartType.BMI]: {
|
|
879
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_BOYS.zscore.weekly-
|
|
880
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_BOYS.zscore.monthly-
|
|
881
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_BOYS.zscore.yearly-
|
|
935
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_BOYS.zscore.weekly-3db6bc0c.js'),
|
|
936
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_BOYS.zscore.monthly-14f694fa.js'),
|
|
937
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_BOYS.zscore.yearly-8509d0ae.js'),
|
|
882
938
|
},
|
|
883
939
|
},
|
|
884
940
|
[Gender.Girl]: {
|
|
885
941
|
[BabyGrowthChartType.Height]: {
|
|
886
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_GIRLS.zscore.weekly-
|
|
887
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_GIRLS.zscore.monthly-
|
|
888
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_GIRLS.zscore.yearly-
|
|
942
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEIGHT_GIRLS.zscore.weekly-5e6f1243.js'),
|
|
943
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEIGHT_GIRLS.zscore.monthly-f9e44117.js'),
|
|
944
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEIGHT_GIRLS.zscore.yearly-cd2dcc67.js'),
|
|
889
945
|
},
|
|
890
946
|
[BabyGrowthChartType.Weight]: {
|
|
891
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_GIRLS.zscore.weekly-
|
|
892
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_GIRLS.zscore.monthly-
|
|
893
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_GIRLS.zscore.yearly-
|
|
947
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./WEIGHT_GIRLS.zscore.weekly-82d56465.js'),
|
|
948
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./WEIGHT_GIRLS.zscore.monthly-88f2ceaa.js'),
|
|
949
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./WEIGHT_GIRLS.zscore.yearly-7ba197df.js'),
|
|
894
950
|
},
|
|
895
951
|
[BabyGrowthChartType.Head]: {
|
|
896
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_GIRLS.zscore.weekly-
|
|
897
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_GIRLS.zscore.monthly-
|
|
898
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_GIRLS.zscore.yearly-
|
|
952
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./HEAD CIRCUM_GIRLS.zscore.weekly-c3c76d7d.js'),
|
|
953
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./HEAD CIRCUM_GIRLS.zscore.monthly-a21a8585.js'),
|
|
954
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./HEAD CIRCUM_GIRLS.zscore.yearly-cc7be510.js'),
|
|
899
955
|
},
|
|
900
956
|
[BabyGrowthChartType.BMI]: {
|
|
901
|
-
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_GIRLS.zscore.weekly-
|
|
902
|
-
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_GIRLS.zscore.monthly-
|
|
903
|
-
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_GIRLS.zscore.yearly-
|
|
957
|
+
[BabyGrowthChartDuration.Weekly]: () => import('./BMI_GIRLS.zscore.weekly-e616dee6.js'),
|
|
958
|
+
[BabyGrowthChartDuration.Monthly]: () => import('./BMI_GIRLS.zscore.monthly-5cdf6175.js'),
|
|
959
|
+
[BabyGrowthChartDuration.Yearly]: () => import('./BMI_GIRLS.zscore.yearly-f04c1bc5.js'),
|
|
904
960
|
},
|
|
905
961
|
},
|
|
906
962
|
};
|
|
@@ -1245,4 +1301,4 @@ const BabyGrowthChart = ({ gender, type, duration, xLabel, x, y, toolTipLabel =
|
|
|
1245
1301
|
React__default.createElement(Text, { size: "n1", color: theme.colors.gray500 }, xLabel))));
|
|
1246
1302
|
};
|
|
1247
1303
|
|
|
1248
|
-
export { BabyGrowthChart, BabyGrowthChartPercentile, BabyGrowthChartZScore, BabyGrowthChooseProfileDrawer, BabyGrowthLegend, BabyGrowthProfileRadio, BabyGrowthRecord, BabyGrowthSwitch, BabyGrowthSwitchChart, BabyGrowthTooltip, ChildCard, LABELS_PERCENTILE, LABELS_Z_SCORE, divideChartData, generateGrowthChart, generateXAxisTicks, getAxisYDomain, paintAxis, refineDataWithDot, refineDataWithLine, transformDataToChart };
|
|
1304
|
+
export { BabyGrowthChart, BabyGrowthChartPercentile, BabyGrowthChartZScore, BabyGrowthChooseProfileDrawer, BabyGrowthGender, BabyGrowthLegend, BabyGrowthProfileRadio, BabyGrowthRecord, BabyGrowthSwitch, BabyGrowthSwitchChart, BabyGrowthTooltip, ChildCard, LABELS_PERCENTILE, LABELS_Z_SCORE, divideChartData, generateGrowthChart, generateXAxisTicks, getAxisYDomain, paintAxis, refineDataWithDot, refineDataWithLine, transformDataToChart };
|
package/build/esm/cache.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as getCachedItem, g as getDataWithCache, s as setCachedItem } from './core-
|
|
2
|
-
import './tslib.es6-
|
|
3
|
-
import './isProduction-
|
|
1
|
+
export { a as getCachedItem, g as getDataWithCache, s as setCachedItem } from './core-f226ac0f.js';
|
|
2
|
+
import './tslib.es6-64d6b81e.js';
|
|
3
|
+
import './isProduction-434d302d.js';
|
package/build/esm/care.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { B as BookingSearchBar, a as BookingSearchBarV2, t as CareTypes, T as TextDivider } from './types-
|
|
2
|
-
export { c as CareConstants } from './constants-
|
|
3
|
-
import './tslib.es6-
|
|
1
|
+
export { B as BookingSearchBar, a as BookingSearchBarV2, t as CareTypes, T as TextDivider } from './types-d1a0466d.js';
|
|
2
|
+
export { c as CareConstants } from './constants-ac51ae89.js';
|
|
3
|
+
import './tslib.es6-64d6b81e.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@emotion/react';
|
|
6
|
-
import './useTranslations-
|
|
7
|
-
import './translationsContext-
|
|
6
|
+
import './useTranslations-cdea23ca.js';
|
|
7
|
+
import './translationsContext-494ae681.js';
|
|
8
8
|
import 'string-format';
|
|
9
9
|
import 'lodash/debounce';
|
|
10
10
|
import '@emotion/styled';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-8625e8d8.js';
|
|
12
12
|
import '@mantine/core';
|
|
13
|
-
import './index-
|
|
14
|
-
import './utils-
|
|
15
|
-
import './theme-
|
|
13
|
+
import './index-84a52876.js';
|
|
14
|
+
import './utils-f7a8a1ca.js';
|
|
15
|
+
import './theme-970b90f0.js';
|
|
16
16
|
import 'lodash/shuffle';
|
|
17
|
-
import './useOutsideClick-
|
|
17
|
+
import './useOutsideClick-dc7a904e.js';
|
|
18
18
|
import 'react-loading-skeleton';
|
|
19
|
-
import './paths-
|
|
20
|
-
import './index-
|
|
19
|
+
import './paths-56c3587b.js';
|
|
20
|
+
import './index-7c16ac20.js';
|
|
21
21
|
import 'date-fns/locale';
|
|
22
|
-
import './index-
|
|
23
|
-
import './isProduction-
|
|
24
|
-
import './cookieHelper-
|
|
25
|
-
import './index-
|
|
22
|
+
import './index-56e460c6.js';
|
|
23
|
+
import './isProduction-434d302d.js';
|
|
24
|
+
import './cookieHelper-3d07347b.js';
|
|
25
|
+
import './index-0ed4c22b.js';
|
|
26
26
|
import '@hhgtech/icons/core';
|
|
27
|
-
import './ChevronDown-
|
|
27
|
+
import './ChevronDown-5de6880b.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DefaultProps,
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { DefaultProps, Selectors, RadioGroupProps } from '@mantine/core';
|
|
3
3
|
import useStyles from "./index.styles";
|
|
4
|
+
import { IconProps } from "../icons";
|
|
4
5
|
export type GenderOptionProps = {
|
|
5
6
|
value: string;
|
|
6
7
|
label: string;
|
|
7
|
-
icon: string
|
|
8
|
+
icon: string | FC<IconProps>;
|
|
8
9
|
};
|
|
9
10
|
export interface Props extends DefaultProps<Selectors<typeof useStyles>> {
|
|
10
11
|
label?: string;
|
|
@@ -14,6 +15,9 @@ export interface Props extends DefaultProps<Selectors<typeof useStyles>> {
|
|
|
14
15
|
male: string;
|
|
15
16
|
female: string;
|
|
16
17
|
};
|
|
18
|
+
hideLabel?: boolean;
|
|
19
|
+
type?: 'button' | 'radio';
|
|
20
|
+
onChange?: (value: string) => void;
|
|
17
21
|
}
|
|
18
|
-
declare const GenderOptionControl: ({ label, availableValue: availableValueInit, styles, isBaby, genderValue, ...
|
|
22
|
+
declare const GenderOptionControl: ({ label, availableValue: availableValueInit, styles, isBaby, genderValue, type, hideLabel, ...radioProps }: Props & Omit<RadioGroupProps, 'children' | 'styles'>) => React.JSX.Element;
|
|
19
23
|
export { GenderOptionControl };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
type StylesParams = {
|
|
2
|
+
type?: 'button' | 'radio';
|
|
3
|
+
};
|
|
4
|
+
declare const _default: (params: StylesParams, options?: import("@mantine/core").UseStylesOptions<string>) => {
|
|
2
5
|
classes: {
|
|
3
6
|
root: string;
|
|
4
7
|
wrapper: string;
|
|
@@ -7,6 +10,7 @@ declare const _default: (params: void, options?: import("@mantine/core").UseStyl
|
|
|
7
10
|
itemLabelWrapper: string;
|
|
8
11
|
itemLabel: string;
|
|
9
12
|
itemInner: string;
|
|
13
|
+
itemBody: string;
|
|
10
14
|
};
|
|
11
15
|
cx: (...args: any) => string;
|
|
12
16
|
theme: import("@mantine/core").MantineTheme;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { BabyGrowthFormField, SiteType } from "../../../interfaces/types";
|
|
2
|
+
import { BabyGrowthFormField } from "../../../interfaces/types";
|
|
4
3
|
import { SubmitErrorHandler } from 'react-hook-form';
|
|
4
|
+
import { HealthToolFormWrapperProps } from "../../molecules/healthTools/formWrapper";
|
|
5
5
|
export type BabyGrowthFormProps = {
|
|
6
6
|
onSubmit: (value: BabyGrowthFormField) => void;
|
|
7
7
|
onError: SubmitErrorHandler<BabyGrowthFormField>;
|
|
8
8
|
schema?: any;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} & BoxProps;
|
|
12
|
-
declare const BabyGrowthForm: ({ onSubmit, onError, schema, siteType, layout, styles, classNames, }: BabyGrowthFormProps) => React.JSX.Element;
|
|
13
|
-
export default BabyGrowthForm;
|
|
9
|
+
} & HealthToolFormWrapperProps;
|
|
10
|
+
export declare const BabyGrowthForm: ({ onSubmit, onError, schema, formLayout, ...rest }: BabyGrowthFormProps) => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
|
|
2
|
+
classes: {
|
|
3
|
+
root: string;
|
|
4
|
+
bmiVal: string;
|
|
5
|
+
unitText: string;
|
|
6
|
+
submitBtn: string;
|
|
7
|
+
};
|
|
8
|
+
cx: (...args: any) => string;
|
|
9
|
+
theme: import("@mantine/core").MantineTheme;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -17,3 +17,4 @@ export type { BabyGrowthChooseProfileDrawerProps } from "./babyGrowthChooseProfi
|
|
|
17
17
|
export { BabyGrowthChart, LABELS_PERCENTILE, LABELS_Z_SCORE, } from "./babyGrowthChart";
|
|
18
18
|
export type { BabyGrowthChartProps, AxisType } from "./babyGrowthChart";
|
|
19
19
|
export * from "./babyGrowthChart/chartConfig";
|
|
20
|
+
export { BabyGrowthForm, BabyGrowthFormProps } from "./babyGrowthForm";
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
+
import { SubmitErrorHandler } from 'react-hook-form';
|
|
2
3
|
import { BabyGrowthFormProps } from "../../../babyGrowth/babyGrowthForm";
|
|
3
|
-
import { BabyGrowthContent, BabyVaccinationDetail } from "../../../../types";
|
|
4
|
-
import { BabyGrowthEmbedContextType } from "./context";
|
|
5
|
-
import { Form } from "./form";
|
|
4
|
+
import { BabyGrowthContent, BabyGrowthFormField, BabyVaccinationDetail } from "../../../../types";
|
|
6
5
|
export type BabyGrowthCardEmbedProps = {
|
|
7
6
|
children?: ReactNode;
|
|
8
7
|
className?: string;
|
|
9
8
|
isMobile?: boolean;
|
|
10
9
|
babyLists?: Array<BabyVaccinationDetail['profile']> | null;
|
|
11
10
|
babyGrowthContent: BabyGrowthContent | null;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
declare const BabyGrowthCardEmbed:
|
|
18
|
-
export { BabyGrowthCardEmbed };
|
|
11
|
+
onSubmit: (value: BabyGrowthFormField) => void;
|
|
12
|
+
onError?: SubmitErrorHandler<BabyGrowthFormField>;
|
|
13
|
+
schema?: any;
|
|
14
|
+
formLayout?: BabyGrowthFormProps['formLayout'];
|
|
15
|
+
};
|
|
16
|
+
export declare const BabyGrowthCardEmbed: ({ isMobile, onSubmit, onError, schema, babyGrowthContent, formLayout, }: BabyGrowthCardEmbedProps) => React.JSX.Element;
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ToolContent } from "../../../../together/interfaces/types";
|
|
3
3
|
import { BmiEmbedContextType } from "./context";
|
|
4
|
-
import { Form } from "./form";
|
|
5
4
|
export type Props = {
|
|
6
5
|
bmiContent: ToolContent;
|
|
7
6
|
children?: ReactNode;
|
|
8
7
|
} & BmiEmbedContextType;
|
|
9
|
-
export
|
|
10
|
-
Form: typeof Form;
|
|
11
|
-
}
|
|
12
|
-
declare const BMICardEmbed: CompoundedComponent;
|
|
13
|
-
export { BMICardEmbed };
|
|
8
|
+
export declare const BMICardEmbed: ({ isMobile, onSubmit, bmiContent, bmiGenerated, bmiUnit, locale, formLayout, }: Props) => React.JSX.Element;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { LOCALE } from "../../../../types";
|
|
3
|
+
import { HealthToolFormWrapperProps } from "../../healthTools/formWrapper";
|
|
3
4
|
import { BMIUnit, BmiFormValue, Rule } from "../helpers";
|
|
4
5
|
export type BmiEmbedContextType = {
|
|
5
6
|
onSubmit: (data: BmiFormValue) => void;
|
|
6
7
|
isMobile?: boolean;
|
|
7
8
|
locale?: LOCALE;
|
|
8
|
-
isSide?: boolean;
|
|
9
9
|
bmiGenerated?: Record<keyof BmiFormValue, {
|
|
10
10
|
label: string;
|
|
11
11
|
rule?: Rule;
|
|
12
12
|
}>;
|
|
13
13
|
bmiUnit?: BMIUnit;
|
|
14
14
|
bmiLink?: string;
|
|
15
|
+
formLayout?: HealthToolFormWrapperProps['formLayout'];
|
|
15
16
|
};
|
|
16
17
|
export declare const BmiEmbedContext: import("react").Context<BmiEmbedContextType>;
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LOCALE } from "../../../../interfaces/types/Locale";
|
|
3
|
-
import {
|
|
3
|
+
import { ToolContent } from "../../../../together/interfaces/types";
|
|
4
|
+
import { BmiEmbedContextType } from "../bmi/context";
|
|
4
5
|
export type InputError = {
|
|
5
6
|
age: string;
|
|
6
7
|
weight: string;
|
|
7
8
|
height: string;
|
|
8
9
|
};
|
|
9
|
-
type
|
|
10
|
+
export type BMRCardEmbedProps = {
|
|
10
11
|
isMobile?: boolean;
|
|
11
12
|
locale?: LOCALE;
|
|
12
13
|
bmrContent: ToolContent;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
inputErrorMessage?: InputError;
|
|
16
|
-
onFormChange?: (o: BmrInfo) => void;
|
|
17
|
-
onSubmit: (genderInfo: string) => void;
|
|
18
|
-
};
|
|
19
|
-
export declare const BMRCardEmbed: ({ isSide, locale, bmrContent, isMobile, info, inputErrorMessage, onFormChange, onSubmit, }: Props) => React.JSX.Element;
|
|
20
|
-
export {};
|
|
14
|
+
} & BmiEmbedContextType;
|
|
15
|
+
export declare const BMRCardEmbed: ({ bmrContent, isMobile, onSubmit, formLayout, bmiGenerated, bmiUnit, }: BMRCardEmbedProps) => React.JSX.Element;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FieldPath, FieldValues, RegisterOptions } from 'react-hook-form';
|
|
2
2
|
import { LOCALE } from "../../../interfaces/types";
|
|
3
|
+
import { ButtonProps } from "../../../mantine";
|
|
4
|
+
import { HealthToolFormWrapperProps } from "../healthTools/formWrapper";
|
|
3
5
|
export type BmiObjective = 'lose-weight' | 'maintain-weight' | 'gain-weight';
|
|
4
6
|
export type BmiFormValue = {
|
|
5
7
|
gender?: 'male' | 'female';
|
|
@@ -26,17 +28,15 @@ export type BmiFormProps = {
|
|
|
26
28
|
onChange?: (value: BmiFormValue) => void;
|
|
27
29
|
onSubmit?: (value: BmiFormValue) => void;
|
|
28
30
|
className?: string;
|
|
29
|
-
template?: 'page' | 'embed';
|
|
30
|
-
disabled?: Partial<Record<BmiFormValueKeys, boolean>>;
|
|
31
31
|
locale?: LOCALE;
|
|
32
32
|
bmiGenerated: Record<keyof BmiFormValue, {
|
|
33
33
|
label: string;
|
|
34
34
|
rule?: Rule | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
bmiUnit: BMIUnit;
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
export declare function getBmi({ weight: weightProps, height: heightProps }: {
|
|
37
|
+
submitProps?: ButtonProps;
|
|
38
|
+
} & HealthToolFormWrapperProps;
|
|
39
|
+
export declare function getBmi({ weight: weightProps, height: heightProps, }: {
|
|
40
40
|
weight: number;
|
|
41
41
|
height: number;
|
|
42
42
|
}): number;
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ThrInfo } from "../../../../together/interfaces/types";
|
|
3
|
+
import { ThrFormProps } from "../../healthTools/form/thrForm";
|
|
4
|
+
import { HealthToolFormWrapperProps } from "../../healthTools/formWrapper";
|
|
4
5
|
export type Props = {
|
|
5
6
|
isMobile?: boolean;
|
|
6
|
-
locale?: LOCALE;
|
|
7
7
|
thrContent: ThrInfo;
|
|
8
8
|
isSide?: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onSubmit: (genderValue: string, activeValue: string, heartRate: number[]) => void;
|
|
13
|
-
};
|
|
14
|
-
export type InputError = {
|
|
15
|
-
age: string;
|
|
16
|
-
intensity: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const THRCardEmbed: ({ isSide, locale, thrContent, isMobile, info, inputErrorMessage, onFormChange, onSubmit, }: Props) => React.JSX.Element;
|
|
9
|
+
onSubmit?: ThrFormProps['onSubmit'];
|
|
10
|
+
} & HealthToolFormWrapperProps;
|
|
11
|
+
export declare const THRCardEmbed: ({ thrContent, isMobile, formLayout, onSubmit, }: Props) => React.JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps } from '@mantine/core';
|
|
3
|
+
import { Props as ToolsBannerCardProps } from "../../../toolBannerCard";
|
|
4
|
+
export declare const Banner: ({ styles, classNames, className, ...rest }: BoxProps & ToolsBannerCardProps) => React.JSX.Element;
|