@hhgtech/hhg-components 1.28.78 → 1.28.80
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/Close-b7a203d1.js +29 -0
- package/build/adapters.js +14 -14
- package/build/babyGrowth.js +77 -77
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components.js +55 -55
- package/build/{constants-40575d3d.js → constants-3479888e.js} +2 -2
- package/build/{constants-64137f11.js → constants-bd8afa18.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-0fc1ce13.js → core-22367a27.js} +2 -2
- package/build/{dataTransform-cf77fb84.js → dataTransform-29cc3dd2.js} +1 -1
- package/build/ecom.js +6 -6
- package/build/esm/Close-4ca83dfd.js +7 -0
- package/build/esm/adapters.js +14 -14
- package/build/esm/babyGrowth.js +78 -78
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components.js +55 -55
- package/build/esm/{constants-a92f47b1.js → constants-004f080a.js} +2 -2
- package/build/esm/{constants-6f09bf34.js → constants-d53f9101.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-c92bee47.js → core-7e4b4d85.js} +2 -2
- package/build/esm/{dataTransform-355c2a44.js → dataTransform-bf6753e4.js} +1 -1
- package/build/esm/ecom.js +6 -6
- package/build/esm/footer.js +19 -19
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-65d62045.js → getDynamicHealthTool-296bc3be.js} +4 -4
- package/build/esm/{getSocialList-d5e5ffbf.js → getSocialList-2ebfcd4a.js} +2 -2
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-d9e6681f.js → index-14587dbf.js} +8 -8
- package/build/esm/{index-a04d706a.js → index-22221342.js} +2 -2
- package/build/esm/{index-d5c7154c.js → index-2516c87e.js} +4 -4
- package/build/esm/{index-9752b006.js → index-27cc65d4.js} +29 -29
- package/build/esm/{index-0c6555f6.js → index-39528b9b.js} +1 -1
- package/build/esm/index-5849268c.js +24 -0
- package/build/esm/{index-0ba897f6.js → index-76a63956.js} +5 -5
- package/build/esm/{index-5c0d3163.js → index-77f900fd.js} +10 -10
- package/build/esm/{index-abf46db4.js → index-78b15ede.js} +3 -3
- package/build/esm/{index-37af8d4f.js → index-8573ee56.js} +2 -2
- package/build/esm/{index-69eee978.js → index-97d0e5e4.js} +2 -2
- package/build/esm/{index-16780e0b.js → index-98cf27df.js} +6 -6
- package/build/esm/{index-9a1e3714.js → index-991703e4.js} +2 -2
- package/build/esm/{index-4f50641a.js → index-992d5b21.js} +9 -9
- package/build/esm/{index-b31510f1.js → index-9964165a.js} +1 -1
- package/build/esm/{index-142de717.js → index-b42b746d.js} +3 -3
- package/build/esm/{index-cd333dd6.js → index-bb6a15db.js} +2 -2
- package/build/esm/{index-3159a30c.js → index-c6b43ed7.js} +9 -9
- package/build/esm/{index-f1e659ad.js → index-ce7d88c1.js} +3 -3
- package/build/esm/{index-882fb87f.js → index-cf62426e.js} +4 -4
- package/build/esm/{index-fdd8a07c.js → index-d108d803.js} +13 -13
- package/build/esm/{index-3d89625a.js → index-d5783ce8.js} +5 -5
- package/build/esm/{index-d49c59f2.js → index-dc60f279.js} +47 -43
- package/build/esm/{index-c88a79ab.js → index-e329bfff.js} +2 -2
- package/build/esm/{index-de7701bc.js → index-f98bf91e.js} +3 -3
- package/build/esm/index.js +69 -68
- package/build/esm/{index.styled-8998eefe.js → index.styled-938c9e2d.js} +2 -2
- package/build/esm/{index.styles-db6e1045.js → index.styles-cf0b32a3.js} +6 -6
- package/build/esm/lead/components/close.d.ts +9 -0
- package/build/esm/lead/components/context.d.ts +35 -0
- package/build/esm/lead/components/description.d.ts +3 -0
- package/build/esm/lead/components/form/fields/index.d.ts +10 -0
- package/build/esm/lead/components/form/fields/index.styles.d.ts +8 -0
- package/build/esm/lead/components/form/fields/locationBlock.d.ts +6 -0
- package/build/esm/lead/components/form/fields/subtitleBlock.d.ts +5 -0
- package/build/esm/lead/components/form/fields/titleBlock.d.ts +5 -0
- package/build/esm/lead/components/form/formContext.d.ts +12 -0
- package/build/esm/lead/components/form/index.d.ts +5 -0
- package/build/esm/lead/components/form/index.styles.d.ts +15 -0
- package/build/esm/lead/components/heading.d.ts +3 -0
- package/build/esm/lead/components/index.d.ts +12 -0
- package/build/esm/lead/components/otpBlock/index.d.ts +9 -0
- package/build/esm/lead/components/otpBlock/index.styles.d.ts +13 -0
- package/build/esm/lead/components/thankyou.d.ts +4 -0
- package/build/esm/lead/index.d.ts +18 -2
- package/build/esm/lead.js +833 -221
- package/build/esm/mantine.js +19 -19
- package/build/esm/misc.js +17 -17
- package/build/esm/navigation.js +34 -34
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/pwg.js +18 -18
- package/build/esm/{routing-e0641e19.js → routing-8faaacea.js} +2 -2
- package/build/esm/subot.js +20 -20
- package/build/esm/together.js +33 -32
- package/build/esm/{types-e48d1bc6.js → types-9f020bf6.js} +30 -34
- package/build/esm/{types-6edb0698.js → types-a4e6af19.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-f08a6273.js → useCategory-b525a974.js} +5 -5
- package/build/esm/{useHealthToolCache-8a7d9f6e.js → useHealthToolCache-f6dcb4d8.js} +2 -2
- package/build/esm/{usePlacesAutocomplete-87e2f95a.js → usePlacesAutocomplete-e14d1036.js} +1 -1
- package/build/esm/{useTranslations-eae057f4.js → useTranslations-a559a7a5.js} +1 -1
- package/build/esm/{utils-76b4cfc5.js → utils-8cfab824.js} +6 -6
- package/build/esm/{utils-277663aa.js → utils-93eb13e7.js} +1 -1
- package/build/esm/{utils-c6ecc48d.js → utils-a88682f9.js} +4 -4
- package/build/esm/vaccination.js +24 -24
- package/build/footer.js +19 -19
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-d9accadf.js → getDynamicHealthTool-fe550923.js} +4 -4
- package/build/{getSocialList-5ec06679.js → getSocialList-28b8aa45.js} +2 -2
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-81a9d681.js → index-05304b9b.js} +4 -4
- package/build/{index-89b263ae.js → index-14226ab2.js} +46 -42
- package/build/{index-f40707bc.js → index-17f9a72f.js} +2 -2
- package/build/{index-90262260.js → index-1cc3b628.js} +3 -3
- package/build/{index-56b91dfc.js → index-50a331ae.js} +2 -2
- package/build/{index-104d3cf5.js → index-72a41d2b.js} +5 -5
- package/build/{index-1ccc525b.js → index-76bb520c.js} +2 -2
- package/build/{index-5066f448.js → index-830cfc43.js} +13 -13
- package/build/{index-d3aa6c0c.js → index-88286df3.js} +29 -29
- package/build/{index-8b1861d6.js → index-8c630d76.js} +4 -4
- package/build/{index-bd2005e5.js → index-8d87268c.js} +3 -3
- package/build/{index-0f205b8d.js → index-90b4cf6b.js} +10 -10
- package/build/{index-7e38d239.js → index-958f67bb.js} +2 -2
- package/build/{index-39692095.js → index-96b9585a.js} +9 -9
- package/build/{index-fc485132.js → index-a2785ada.js} +3 -3
- package/build/{index-1a6b3538.js → index-a3d460fa.js} +3 -3
- package/build/{index-faecc6fb.js → index-a511db2b.js} +9 -9
- package/build/{index-38ecdf2c.js → index-a79982f7.js} +2 -2
- package/build/{index-8e864883.js → index-a84eedaa.js} +1 -1
- package/build/{index-471a6db2.js → index-a909db6f.js} +2 -2
- package/build/{index-3daa918b.js → index-c194972d.js} +8 -8
- package/build/{index-dc3faaea.js → index-d02a1631.js} +6 -6
- package/build/{index-dd49ba18.js → index-d7aea2d0.js} +1 -1
- package/build/{index-36c874ce.js → index-e3b0bdb0.js} +4 -4
- package/build/{index-d1c248bb.js → index-f77accef.js} +10 -10
- package/build/index.js +113 -112
- package/build/{index.styled-221f7a2a.js → index.styled-2ad9b370.js} +2 -2
- package/build/{index.styles-63c23f64.js → index.styles-2705c1b1.js} +5 -5
- package/build/lead/components/close.d.ts +9 -0
- package/build/lead/components/context.d.ts +35 -0
- package/build/lead/components/description.d.ts +3 -0
- package/build/lead/components/form/fields/index.d.ts +10 -0
- package/build/lead/components/form/fields/index.styles.d.ts +8 -0
- package/build/lead/components/form/fields/locationBlock.d.ts +6 -0
- package/build/lead/components/form/fields/subtitleBlock.d.ts +5 -0
- package/build/lead/components/form/fields/titleBlock.d.ts +5 -0
- package/build/lead/components/form/formContext.d.ts +12 -0
- package/build/lead/components/form/index.d.ts +5 -0
- package/build/lead/components/form/index.styles.d.ts +15 -0
- package/build/lead/components/heading.d.ts +3 -0
- package/build/lead/components/index.d.ts +12 -0
- package/build/lead/components/otpBlock/index.d.ts +9 -0
- package/build/lead/components/otpBlock/index.styles.d.ts +13 -0
- package/build/lead/components/thankyou.d.ts +4 -0
- package/build/lead/index.d.ts +18 -2
- package/build/lead.js +856 -244
- package/build/mantine.js +17 -17
- package/build/misc.js +17 -17
- package/build/navigation.js +34 -34
- package/build/onboardingV2.js +28 -28
- package/build/pwg.js +18 -18
- package/build/{routing-f4f6017a.js → routing-46b3def0.js} +2 -2
- package/build/subot.js +20 -20
- package/build/together.js +33 -32
- package/build/{types-62cb6b9e.js → types-03e001c9.js} +13 -13
- package/build/{types-94c4449c.js → types-55014b2c.js} +656 -660
- package/build/types.js +1 -1
- package/build/{useCategory-5cd180e8.js → useCategory-54dfd7ee.js} +5 -5
- package/build/{useHealthToolCache-a29f76ce.js → useHealthToolCache-a5a6585a.js} +2 -2
- package/build/{usePlacesAutocomplete-c19fd7c5.js → usePlacesAutocomplete-c73d655f.js} +1 -1
- package/build/{useTranslations-a4c6b8f5.js → useTranslations-ee85619b.js} +1 -1
- package/build/{utils-9ba965d4.js → utils-8aee541d.js} +1 -1
- package/build/{utils-6ccbb5ca.js → utils-d583cd84.js} +4 -4
- package/build/{utils-c2445e75.js → utils-da97b7ae.js} +5 -5
- package/build/vaccination.js +24 -24
- package/package.json +1 -1
- package/build/esm/index-71695420.js +0 -24
- /package/build/{BMI_BOYS.percentile.monthly-cd4dbb12.js → BMI_BOYS.percentile.monthly-34095f55.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-57bb5688.js → BMI_BOYS.percentile.weekly-b843a333.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b8087797.js → BMI_BOYS.percentile.yearly-db0f25db.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b0f104b3.js → BMI_BOYS.zscore.monthly-36793c3e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-bf578a42.js → BMI_BOYS.zscore.weekly-92df605a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-02177a3d.js → BMI_BOYS.zscore.yearly-33a1c871.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-0f7037f4.js → BMI_GIRLS.percentile.monthly-4bf16f7d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c64fb331.js → BMI_GIRLS.percentile.weekly-3bb97e2c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-92c7babb.js → BMI_GIRLS.percentile.yearly-5ff7d694.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-acd077a4.js → BMI_GIRLS.zscore.monthly-3be0d0e3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-cbc31f74.js → BMI_GIRLS.zscore.weekly-6d5c73b8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9ca4ec0a.js → BMI_GIRLS.zscore.yearly-c16c2b7a.js} +0 -0
- /package/build/{ChevronDown-8c713f38.js → ChevronDown-00b6c45c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4a45c6b1.js → HEAD CIRCUM_BOYS.percentile.monthly-5783abde.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-90b85098.js → HEAD CIRCUM_BOYS.percentile.weekly-69accc9b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-68869800.js → HEAD CIRCUM_BOYS.percentile.yearly-6f716357.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-df1068cd.js → HEAD CIRCUM_BOYS.zscore.monthly-740d8a88.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-58fd2b99.js → HEAD CIRCUM_BOYS.zscore.weekly-75a83e4e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e90283fb.js → HEAD CIRCUM_BOYS.zscore.yearly-beacfadd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b147a0ea.js → HEAD CIRCUM_GIRLS.percentile.monthly-4e9309e8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a71d64c9.js → HEAD CIRCUM_GIRLS.percentile.weekly-8456b0af.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2c787e37.js → HEAD CIRCUM_GIRLS.percentile.yearly-6bf9c34f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3c443800.js → HEAD CIRCUM_GIRLS.zscore.monthly-561c12d7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e315a119.js → HEAD CIRCUM_GIRLS.zscore.weekly-27b56db8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ee8cb903.js → HEAD CIRCUM_GIRLS.zscore.yearly-e571dc07.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-3132cb32.js → HEIGHT_BOYS.percentile.monthly-52109c85.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-6f61a01c.js → HEIGHT_BOYS.percentile.weekly-be6e5b1c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-870348f0.js → HEIGHT_BOYS.percentile.yearly-3712519c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-960e19dd.js → HEIGHT_BOYS.zscore.monthly-3ae90dec.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2a5e17ee.js → HEIGHT_BOYS.zscore.weekly-96915a5d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a7de7213.js → HEIGHT_BOYS.zscore.yearly-a3361503.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4b7d5d8b.js → HEIGHT_GIRLS.percentile.monthly-d5d14ae4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-ad0b7803.js → HEIGHT_GIRLS.percentile.weekly-88d86966.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-c752b708.js → HEIGHT_GIRLS.percentile.yearly-00fab771.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-4c49d8bf.js → HEIGHT_GIRLS.zscore.monthly-6c2eeff3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-41ffaa90.js → HEIGHT_GIRLS.zscore.weekly-7619a61a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e508c93f.js → HEIGHT_GIRLS.zscore.yearly-122a294d.js} +0 -0
- /package/build/{Subot-89c2bfe5.js → Subot-a11a4e5b.js} +0 -0
- /package/build/{Visible-0683d0c7.js → Visible-c9b6d1c1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-5a090cb6.js → WEIGHT_BOYS.percentile.monthly-01c99b0d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-9cfd232a.js → WEIGHT_BOYS.percentile.weekly-76f8bd4a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-83c4a636.js → WEIGHT_BOYS.percentile.yearly-c41a4d02.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8e62e97f.js → WEIGHT_BOYS.zscore.monthly-04465ae9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-efed5638.js → WEIGHT_BOYS.zscore.weekly-fac29a95.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-01c9d037.js → WEIGHT_BOYS.zscore.yearly-66eb62c0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-806092bb.js → WEIGHT_GIRLS.percentile.monthly-97e796d5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2d7f3d54.js → WEIGHT_GIRLS.percentile.weekly-908cfdb5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2014adea.js → WEIGHT_GIRLS.percentile.yearly-0e313840.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4eeb534d.js → WEIGHT_GIRLS.zscore.monthly-2497ec51.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-30633442.js → WEIGHT_GIRLS.zscore.weekly-45deda67.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-5fcb5a74.js → WEIGHT_GIRLS.zscore.yearly-28b55590.js} +0 -0
- /package/build/{animation-8d4719c5.js → animation-1621b827.js} +0 -0
- /package/build/{cookieHelper-b3cb244a.js → cookieHelper-115e3b7b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d9dcd396.js → BMI_BOYS.percentile.monthly-f22300a8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ca6db25e.js → BMI_BOYS.percentile.weekly-0916c196.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-851d65ea.js → BMI_BOYS.percentile.yearly-1958e38b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b38e4a47.js → BMI_BOYS.zscore.monthly-70d4e86e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ead9b9b7.js → BMI_BOYS.zscore.weekly-d75f7e4a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-92be50c0.js → BMI_BOYS.zscore.yearly-1930de04.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a5d758d0.js → BMI_GIRLS.percentile.monthly-e1df5f5d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ee96da9f.js → BMI_GIRLS.percentile.weekly-0dab6bc5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-aa671473.js → BMI_GIRLS.percentile.yearly-e90dd797.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d2d0f9ad.js → BMI_GIRLS.zscore.monthly-e5c49595.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cf49eeb5.js → BMI_GIRLS.zscore.weekly-de23cfec.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e74d0e82.js → BMI_GIRLS.zscore.yearly-157d5f16.js} +0 -0
- /package/build/esm/{ChevronDown-3cd5b130.js → ChevronDown-dba8fc93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a9eafb23.js → HEAD CIRCUM_BOYS.percentile.monthly-ba646a48.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-15ba606f.js → HEAD CIRCUM_BOYS.percentile.weekly-88bcf790.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3683033e.js → HEAD CIRCUM_BOYS.percentile.yearly-197b10a1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-81eed4ba.js → HEAD CIRCUM_BOYS.zscore.monthly-e8492701.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8c6bc465.js → HEAD CIRCUM_BOYS.zscore.weekly-fdd39166.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-344c2df6.js → HEAD CIRCUM_BOYS.zscore.yearly-b9f25c32.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c4cbee63.js → HEAD CIRCUM_GIRLS.percentile.monthly-c5c9838b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0485cd9a.js → HEAD CIRCUM_GIRLS.percentile.weekly-c511c542.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-54823c8c.js → HEAD CIRCUM_GIRLS.percentile.yearly-71243cc4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7bcf1ee7.js → HEAD CIRCUM_GIRLS.zscore.monthly-584142c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-28cc086b.js → HEAD CIRCUM_GIRLS.zscore.weekly-58c12477.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ec19dbb3.js → HEAD CIRCUM_GIRLS.zscore.yearly-f5df2c91.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2b005928.js → HEIGHT_BOYS.percentile.monthly-70bda395.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-140dfd55.js → HEIGHT_BOYS.percentile.weekly-30c20803.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f8c788c6.js → HEIGHT_BOYS.percentile.yearly-5bbf1dac.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-667910e9.js → HEIGHT_BOYS.zscore.monthly-e0538785.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3ad4e67b.js → HEIGHT_BOYS.zscore.weekly-eb71c990.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-e9770e82.js → HEIGHT_BOYS.zscore.yearly-4dc9859f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-470374fa.js → HEIGHT_GIRLS.percentile.monthly-e414e4c7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-49f2c32f.js → HEIGHT_GIRLS.percentile.weekly-1b851c3e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3953c0bc.js → HEIGHT_GIRLS.percentile.yearly-b5d7f6d3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c9d053a2.js → HEIGHT_GIRLS.zscore.monthly-11d155a8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4dc7e083.js → HEIGHT_GIRLS.zscore.weekly-5d495735.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-2b068c0e.js → HEIGHT_GIRLS.zscore.yearly-be736caf.js} +0 -0
- /package/build/esm/{Subot-479bbb06.js → Subot-7661c139.js} +0 -0
- /package/build/esm/{Visible-4bf23575.js → Visible-d824de49.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5c19ff7a.js → WEIGHT_BOYS.percentile.monthly-9c5b188e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-40f1aa7a.js → WEIGHT_BOYS.percentile.weekly-0fa721f6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a9a0ec66.js → WEIGHT_BOYS.percentile.yearly-c8a70cab.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b2d0b5ed.js → WEIGHT_BOYS.zscore.monthly-21d3428e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f47fffcf.js → WEIGHT_BOYS.zscore.weekly-4c58352b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-af5cff3d.js → WEIGHT_BOYS.zscore.yearly-d4dd6ebb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b1cc3d94.js → WEIGHT_GIRLS.percentile.monthly-cd2ca8d6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b1e28e33.js → WEIGHT_GIRLS.percentile.weekly-bd2e8484.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f1363e13.js → WEIGHT_GIRLS.percentile.yearly-4079fc0b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6f377056.js → WEIGHT_GIRLS.zscore.monthly-314c62fd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7a819a2a.js → WEIGHT_GIRLS.zscore.weekly-b5e5c0f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-74444860.js → WEIGHT_GIRLS.zscore.yearly-3ebbf40b.js} +0 -0
- /package/build/esm/{animation-7e12e0a4.js → animation-9a852d86.js} +0 -0
- /package/build/esm/{cookieHelper-d72c1c16.js → cookieHelper-fb2f4bf7.js} +0 -0
- /package/build/esm/{index-9962a4ae.js → index-11c2da20.js} +0 -0
- /package/build/esm/{index-358cd506.js → index-cf296b7d.js} +0 -0
- /package/build/esm/{index-dc56a048.js → index-f408e111.js} +0 -0
- /package/build/esm/{isProduction-6b6e5a81.js → isProduction-a14c0289.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1245f676.js → localizeNumberFormat-7ad2018e.js} +0 -0
- /package/build/esm/{normalizeLink-41e77cc7.js → normalizeLink-b27ea7f7.js} +0 -0
- /package/build/esm/{number-bc91c47a.js → number-c4673157.js} +0 -0
- /package/build/esm/{paths-7c14e8ba.js → paths-24a48d7a.js} +0 -0
- /package/build/esm/{theme-9dbe697d.js → theme-b8e10c2e.js} +0 -0
- /package/build/esm/{translationsContext-1767db70.js → translationsContext-a710bd79.js} +0 -0
- /package/build/esm/{tslib.es6-16db9b9d.js → tslib.es6-2581561d.js} +0 -0
- /package/build/esm/{types-e4d6e9a0.js → types-d56b59d0.js} +0 -0
- /package/build/esm/{useIsInit-ac71b6dd.js → useIsInit-5759a12c.js} +0 -0
- /package/build/esm/{useOutsideClick-8106a9aa.js → useOutsideClick-0cd449b6.js} +0 -0
- /package/build/esm/{useScrollbarSize-c8d8a8ab.js → useScrollbarSize-9a2c88e8.js} +0 -0
- /package/build/esm/{useUniqueId-ef872d43.js → useUniqueId-4d87b935.js} +0 -0
- /package/build/esm/{utils-f360454d.js → utils-ad80dd9a.js} +0 -0
- /package/build/{index-83736819.js → index-306faebb.js} +0 -0
- /package/build/{index-2d45199a.js → index-5f30931a.js} +0 -0
- /package/build/{index-a0ab42d5.js → index-7aff6c39.js} +0 -0
- /package/build/{isProduction-2fea4aa7.js → isProduction-253f0a63.js} +0 -0
- /package/build/{localizeNumberFormat-4857ba64.js → localizeNumberFormat-691759ff.js} +0 -0
- /package/build/{normalizeLink-f6101122.js → normalizeLink-289e65d5.js} +0 -0
- /package/build/{number-ad95e7d9.js → number-97ef064d.js} +0 -0
- /package/build/{paths-7da7ad16.js → paths-a793ca70.js} +0 -0
- /package/build/{theme-ca8bb2dd.js → theme-3069f85a.js} +0 -0
- /package/build/{translationsContext-eb3b16d8.js → translationsContext-09f33cc8.js} +0 -0
- /package/build/{tslib.es6-6fa07404.js → tslib.es6-05775979.js} +0 -0
- /package/build/{types-d6abfadd.js → types-ab2e9e82.js} +0 -0
- /package/build/{useIsInit-2a90ae3a.js → useIsInit-91ab8916.js} +0 -0
- /package/build/{useOutsideClick-daecc08d.js → useOutsideClick-e32b8474.js} +0 -0
- /package/build/{useScrollbarSize-2d7f52a6.js → useScrollbarSize-3e2d19c9.js} +0 -0
- /package/build/{useUniqueId-3396b916.js → useUniqueId-3b22c3ca.js} +0 -0
- /package/build/{utils-64e577eb.js → utils-f7881466.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useRef, useMemo, Fragment, memo, useCallback, useImperativeHandle, forwardRef, createContext, useContext } from 'react';
|
|
2
|
-
import { T as Text } from './index-
|
|
3
|
-
import { b as StyledAvatar, c as StyledBadge$1, d as StyledBorderHeading, e as StyledDropdown, f as StyledDropdownName,
|
|
4
|
-
import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-
|
|
5
|
-
import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, B as Button$1, c as Input$1, d as Checkbox$1, e as ChipButton, t as themeColors } from './index-
|
|
6
|
-
import { T as Text$1 } from './index-
|
|
7
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
8
|
-
import { C as CommonGAssets } from './index-
|
|
9
|
-
import { H as Heading } from './index-
|
|
10
|
-
import { t as theme } from './theme-
|
|
11
|
-
import { Box, Radio as Radio$2, Flex, rem, Card, Group, createStyles, Stack, getStylesRef, useMantineTheme, Container as Container$1,
|
|
2
|
+
import { T as Text } from './index-39528b9b.js';
|
|
3
|
+
import { b as StyledAvatar, c as StyledBadge$1, d as StyledBorderHeading, e as StyledDropdown, f as StyledDropdownName, g as StyledDropdownList, h as StyledDropdownOption, i as StyledIcon$1, j as StyledGrid, k as StyledPagination, l as StyledPageBlock, m as StyledPaginationBlock, n as StyledTag, o as StyledToggle, p as StyledToggleIcon, q as StyledToggleLabel, r as StyledCheckbox, s as StyledRateStars, u as useStyles$4, T as TextArea, t as getDefaultClassWrapper, P as PureInput } from './index.styles-cf0b32a3.js';
|
|
4
|
+
import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-ad80dd9a.js';
|
|
5
|
+
import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, B as Button$1, c as Input$1, d as Checkbox$1, e as ChipButton, t as themeColors } from './index-14587dbf.js';
|
|
6
|
+
import { T as Text$1 } from './index-5849268c.js';
|
|
7
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-2581561d.js';
|
|
8
|
+
import { C as CommonGAssets } from './index-97d0e5e4.js';
|
|
9
|
+
import { H as Heading } from './index-f98bf91e.js';
|
|
10
|
+
import { t as theme } from './theme-b8e10c2e.js';
|
|
11
|
+
import { Box, Radio as Radio$2, Flex, rem, Card, Group, createStyles, Stack, getStylesRef, useMantineTheme, Container as Container$1, AspectRatio as AspectRatio$1, ScrollArea, Chip, Badge as Badge$1, MultiSelect, Stepper } from '@mantine/core';
|
|
12
12
|
import innertext from 'innertext';
|
|
13
13
|
import '@mantine/dates';
|
|
14
|
-
import { d as domainLocales, L as LOCALE_SPECS, F as FAVICONS, Q as QUERY_HEALTH_TOOL, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-
|
|
15
|
-
import { G as Gender, L as LOCALE } from './Subot-
|
|
16
|
-
import './translationsContext-
|
|
14
|
+
import { d as domainLocales, L as LOCALE_SPECS, F as FAVICONS, Q as QUERY_HEALTH_TOOL, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-e329bfff.js';
|
|
15
|
+
import { G as Gender, L as LOCALE } from './Subot-7661c139.js';
|
|
16
|
+
import './translationsContext-a710bd79.js';
|
|
17
17
|
import 'string-format';
|
|
18
18
|
import { useViewportSize } from '@mantine/hooks';
|
|
19
|
-
import { i as isInternalLink, d as getTogetherUserPostsApiPath } from './index-
|
|
19
|
+
import { i as isInternalLink, d as getTogetherUserPostsApiPath } from './index-27cc65d4.js';
|
|
20
20
|
import styled, { keyframes, css } from 'styled-components';
|
|
21
21
|
import throttle from 'lodash/throttle';
|
|
22
|
-
import { L as Logo } from './index-
|
|
23
|
-
import { B as Button } from './index-
|
|
24
|
-
import { I as Input } from './index-
|
|
22
|
+
import { L as Logo } from './index-cf62426e.js';
|
|
23
|
+
import { B as Button } from './index-78b15ede.js';
|
|
24
|
+
import { I as Input } from './index-bb6a15db.js';
|
|
25
25
|
import parse from 'html-react-parser';
|
|
26
|
-
import { i as isProduction } from './isProduction-
|
|
27
|
-
import { u as useTranslations } from './useTranslations-
|
|
26
|
+
import { i as isProduction } from './isProduction-a14c0289.js';
|
|
27
|
+
import { u as useTranslations } from './useTranslations-a559a7a5.js';
|
|
28
28
|
import { CalendarMB, Calendar } from '@hhgtech/icons/other';
|
|
29
29
|
import { format, addDays, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
30
30
|
import dayjs from 'dayjs';
|
|
31
|
-
import { D as DATE_FORMAT } from './types-
|
|
32
|
-
import { Z as Z_INDEX,
|
|
33
|
-
import { D as DatePicker } from './index-
|
|
34
|
-
import { M as MarryBabyText } from './index-
|
|
35
|
-
import { S as Slider } from './index-
|
|
36
|
-
import { D as Dropdown } from './index-
|
|
37
|
-
import { C as Container } from './index-
|
|
31
|
+
import { D as DATE_FORMAT } from './types-d56b59d0.js';
|
|
32
|
+
import { Z as Z_INDEX, b as DUE_DATE_FORMAT, H as HEALTH_TOOL_TYPE$1, d as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, e as getPremiumApiPath, f as getWebsiteUrlApi, h as getSsoApiPath } from './utils-8cfab824.js';
|
|
33
|
+
import { D as DatePicker } from './index-ce7d88c1.js';
|
|
34
|
+
import { M as MarryBabyText } from './index-8573ee56.js';
|
|
35
|
+
import { S as Slider } from './index-22221342.js';
|
|
36
|
+
import { D as Dropdown } from './index-9964165a.js';
|
|
37
|
+
import { C as Container } from './index-cf296b7d.js';
|
|
38
38
|
import { useForm, Controller } from 'react-hook-form';
|
|
39
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
39
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-f6dcb4d8.js';
|
|
40
40
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
41
|
-
import { B as BabyGrowthGender, D as Drawer } from './index-
|
|
42
|
-
import { L as Label } from './constants-
|
|
43
|
-
import {
|
|
44
|
-
import './utils-
|
|
45
|
-
import './index.styled-
|
|
46
|
-
import './index-
|
|
47
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
41
|
+
import { B as BabyGrowthGender, D as Drawer } from './index-c6b43ed7.js';
|
|
42
|
+
import { L as Label } from './constants-d53f9101.js';
|
|
43
|
+
import { f as formatUserProfileUrl } from './index-d5783ce8.js';
|
|
44
|
+
import './utils-a88682f9.js';
|
|
45
|
+
import './index.styled-938c9e2d.js';
|
|
46
|
+
import './index-11c2da20.js';
|
|
47
|
+
import { a as useOutsideClick } from './useOutsideClick-0cd449b6.js';
|
|
48
48
|
import enUS from 'date-fns/locale/en-US';
|
|
49
49
|
import id from 'date-fns/locale/id';
|
|
50
50
|
import vi from 'date-fns/locale/vi';
|
|
51
51
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
52
|
-
import { g as getSocialList } from './getSocialList-
|
|
52
|
+
import { g as getSocialList } from './getSocialList-2ebfcd4a.js';
|
|
53
53
|
import { v4 } from 'uuid';
|
|
54
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-
|
|
54
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-8faaacea.js';
|
|
55
55
|
import { useForm as useForm$1, isNotEmpty } from '@mantine/form';
|
|
56
|
-
import { I as Icon } from './index-
|
|
56
|
+
import { I as Icon } from './index-b42b746d.js';
|
|
57
57
|
import { Close, Plus } from '@hhgtech/icons/core';
|
|
58
|
-
import { M as Modal } from './index-
|
|
58
|
+
import { M as Modal } from './index-2516c87e.js';
|
|
59
59
|
import Cookies from 'js-cookie';
|
|
60
60
|
import flatten from 'lodash/flatten';
|
|
61
61
|
import uniqBy from 'lodash/uniqBy';
|
|
62
|
-
import { g as getCookie } from './cookieHelper-
|
|
63
|
-
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-
|
|
62
|
+
import { g as getCookie } from './cookieHelper-fb2f4bf7.js';
|
|
63
|
+
import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-b27ea7f7.js';
|
|
64
64
|
|
|
65
65
|
var styles$7 = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
|
|
66
66
|
|
|
@@ -6956,6 +6956,7 @@ const SideBannerModal = (_a) => {
|
|
|
6956
6956
|
},
|
|
6957
6957
|
}) }, modalProps), isMobile ? (React__default.createElement(Box, { sx: {
|
|
6958
6958
|
position: 'relative',
|
|
6959
|
+
width: '100%',
|
|
6959
6960
|
height: '100%',
|
|
6960
6961
|
}, onTouchStart: () => setIsFullScreen(true) },
|
|
6961
6962
|
React__default.createElement(Box, { className: "mobile-template", sx: {
|
|
@@ -6973,7 +6974,8 @@ const SideBannerModal = (_a) => {
|
|
|
6973
6974
|
borderTopRightRadius: isFullScreen ? 0 : rem(12),
|
|
6974
6975
|
} },
|
|
6975
6976
|
React__default.createElement(Box, { sx: {
|
|
6976
|
-
height: 'calc(100% - 74px)',
|
|
6977
|
+
// height: 'calc(100% - 74px)',
|
|
6978
|
+
height: '100%',
|
|
6977
6979
|
background: `url(${mobileBanner})`,
|
|
6978
6980
|
backgroundSize: 'contain',
|
|
6979
6981
|
backgroundRepeat: 'no-repeat',
|
|
@@ -6981,12 +6983,13 @@ const SideBannerModal = (_a) => {
|
|
|
6981
6983
|
overflowY: 'auto',
|
|
6982
6984
|
borderRadius: 'inherit',
|
|
6983
6985
|
} },
|
|
6984
|
-
React__default.createElement(
|
|
6986
|
+
React__default.createElement(Button$1, Object.assign({ leftIcon: React__default.createElement(Close, null), sx: {
|
|
6985
6987
|
position: 'absolute',
|
|
6986
6988
|
right: 0,
|
|
6987
6989
|
top: 0,
|
|
6988
6990
|
zIndex: 1,
|
|
6989
6991
|
padding: rem(10),
|
|
6992
|
+
// backgroundColor: 'transparent',
|
|
6990
6993
|
} }, closeProps, { onClick: () => modalProps === null || modalProps === void 0 ? void 0 : modalProps.onClose() })),
|
|
6991
6994
|
React__default.createElement(AspectRatio$1, { ratio: (mobileBannerRatio === null || mobileBannerRatio === void 0 ? void 0 : mobileBannerRatio.width) / (mobileBannerRatio === null || mobileBannerRatio === void 0 ? void 0 : mobileBannerRatio.height), w: "100%" }),
|
|
6992
6995
|
React__default.createElement(Box, { sx: {
|
|
@@ -7022,8 +7025,9 @@ const SideBannerModal = (_a) => {
|
|
|
7022
7025
|
} },
|
|
7023
7026
|
React__default.createElement(Button$1, Object.assign({ unstyled: true, leftIcon: React__default.createElement(Close, null) }, closeProps, { onClick: () => modalProps === null || modalProps === void 0 ? void 0 : modalProps.onClose(), sx: {
|
|
7024
7027
|
position: 'absolute',
|
|
7025
|
-
right:
|
|
7028
|
+
right: '10px',
|
|
7026
7029
|
top: '10px',
|
|
7030
|
+
backgroundColor: 'transparent',
|
|
7027
7031
|
} })),
|
|
7028
7032
|
React__default.createElement(Box, { className: "side-banner-modal-container", sx: {
|
|
7029
7033
|
height: '100%',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
|
|
2
|
-
import { L as LOCALE } from './Subot-
|
|
3
|
-
import { i as isProduction } from './isProduction-
|
|
2
|
+
import { L as LOCALE } from './Subot-7661c139.js';
|
|
3
|
+
import { i as isProduction } from './isProduction-a14c0289.js';
|
|
4
4
|
|
|
5
5
|
const siteHost = {
|
|
6
6
|
HELLO_HEALTH_GROUP: 'hellohealthgroup.com',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2581561d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
4
|
+
import { T as Text } from './index-39528b9b.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|
|
@@ -11,7 +11,7 @@ const Heading = (_a) => {
|
|
|
11
11
|
var { as, tag, color, fontWeight, dataEventCategory, dataEventAction, dataEventLabel } = _a, rest = __rest(_a, ["as", "tag", "color", "fontWeight", "dataEventCategory", "dataEventAction", "dataEventLabel"]);
|
|
12
12
|
const asTag = as || tag;
|
|
13
13
|
const theme = useMantineTheme();
|
|
14
|
-
return (React__default.createElement(Text, Object.assign({ as: asTag, color: color || theme.colors.gray[8], "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel, weight: fontWeight === 'semibold' ? 'semiBold' : 'bold', size: tag }, rest)));
|
|
14
|
+
return (React__default.createElement(Text, Object.assign({ as: asTag, color: color || theme.colors.gray[8], "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel, weight: fontWeight === 'semibold' ? 'semiBold' : 'bold', size: tag, "data-size": tag, "data-font-weight": fontWeight || undefined }, rest)));
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { Heading as H };
|
package/build/esm/index.js
CHANGED
|
@@ -1,79 +1,75 @@
|
|
|
1
|
-
import { G as Gender, B as BabyGrowthChartType, a as BabyGrowthChartDuration, b as BabyGrowthResultTab, L as LOCALE, O as OnboardingStep, N as NodePosition, c as NodeType, d as NodeFinalTypes, e as NodeIntentType, f as NodeActionType, F as FULL_KEY_ADDRESS, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, S as SubotType } from './Subot-
|
|
2
|
-
export { i as Constants } from './index-
|
|
3
|
-
export { C as CaretDown, F as Flag, I as ImageWrap } from './index-
|
|
1
|
+
import { G as Gender, B as BabyGrowthChartType, a as BabyGrowthChartDuration, b as BabyGrowthResultTab, L as LOCALE, O as OnboardingStep, N as NodePosition, c as NodeType, d as NodeFinalTypes, e as NodeIntentType, f as NodeActionType, F as FULL_KEY_ADDRESS, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, S as SubotType } from './Subot-7661c139.js';
|
|
2
|
+
export { i as Constants } from './index-e329bfff.js';
|
|
3
|
+
export { C as CaretDown, F as Flag, I as ImageWrap } from './index-14587dbf.js';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
export { C as ChevronDown } from './ChevronDown-
|
|
6
|
-
export {
|
|
7
|
-
export { V as Visible } from './Visible-
|
|
8
|
-
export { U as AdBlock, A as Alert, f as ArticleCard, g as ArticleCardV2, a as Avatar, x as BMICardEmbed, H as BMRCardEmbed, y as BabyGrowthCardEmbed, z as BabyPoopEmbed, B as Badge, b as BorderHeading, L as Breadcrumbs, h as CategoryCard, C as Checkbox, i as CheckboxGroup, s as CookieAcceptConfirm, K as DateRangePicker, D as DoctorInfo, w as DueDateCardEmbed, F as FileDropdown, V as FixedBottomAdBlock, r as FloatButtonGroup, e as GenderOptionControl, G as Grid, I as IconText, Y as MAPPING_CATEGORY_PREMIUM_API_TYPE, X as MAPPING_CATEGORY_PREMIUM_TYPE, M as MobileBottomNavigation, t as MobileBottomNavigationIcon, O as OvulationCardEmbed, J as PWGCardEmbed, P as Pagination, j as ProgressBar, R as Radio, k as RadioGroup, d as RateStars, S as ScrollList, u as SeoHead, N as ShareContainer, Q as ShareDrawer, l as SideMenu, m as StatisticCard, W as SurveyOrPremiumBanner, p as SurveyQuestionCard, q as SurveyThankyouCard, E as THRCardEmbed, n as Table, o as Tabs, T as Tag, c as Toggle, v as ToolsBannerCard, Z as UserProfileNavigation, _ as UserProfileNavigationHeader, $ 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, 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 { D as
|
|
37
|
-
export {
|
|
38
|
-
export { a as
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export { f as
|
|
46
|
-
export { g as
|
|
47
|
-
export {
|
|
5
|
+
export { C as ChevronDown } from './ChevronDown-dba8fc93.js';
|
|
6
|
+
export { C as Close } from './Close-4ca83dfd.js';
|
|
7
|
+
export { V as Visible } from './Visible-d824de49.js';
|
|
8
|
+
export { U as AdBlock, A as Alert, f as ArticleCard, g as ArticleCardV2, a as Avatar, x as BMICardEmbed, H as BMRCardEmbed, y as BabyGrowthCardEmbed, z as BabyPoopEmbed, B as Badge, b as BorderHeading, L as Breadcrumbs, h as CategoryCard, C as Checkbox, i as CheckboxGroup, s as CookieAcceptConfirm, K as DateRangePicker, D as DoctorInfo, w as DueDateCardEmbed, F as FileDropdown, V as FixedBottomAdBlock, r as FloatButtonGroup, e as GenderOptionControl, G as Grid, I as IconText, Y as MAPPING_CATEGORY_PREMIUM_API_TYPE, X as MAPPING_CATEGORY_PREMIUM_TYPE, M as MobileBottomNavigation, t as MobileBottomNavigationIcon, O as OvulationCardEmbed, J as PWGCardEmbed, P as Pagination, j as ProgressBar, R as Radio, k as RadioGroup, d as RateStars, S as ScrollList, u as SeoHead, N as ShareContainer, Q as ShareDrawer, l as SideMenu, m as StatisticCard, W as SurveyOrPremiumBanner, p as SurveyQuestionCard, q as SurveyThankyouCard, E as THRCardEmbed, n as Table, o as Tabs, T as Tag, c as Toggle, v as ToolsBannerCard, Z as UserProfileNavigation, _ as UserProfileNavigationHeader, $ as UserProfileNavigationStats } from './index-dc60f279.js';
|
|
9
|
+
export { B as Button } from './index-78b15ede.js';
|
|
10
|
+
export { A as AuthorBadge, a as BookingBtn, B as BtnChoice, D as Divider } from './index-992d5b21.js';
|
|
11
|
+
export { H as Heading } from './index-f98bf91e.js';
|
|
12
|
+
export { I as Input } from './index-bb6a15db.js';
|
|
13
|
+
export { c as CareConstants, L as Label } from './constants-d53f9101.js';
|
|
14
|
+
export { L as Logo } from './index-cf62426e.js';
|
|
15
|
+
export { P as PureInput, S as StepRenderer, a as StepRendererContext, T as TextArea } from './index.styles-cf0b32a3.js';
|
|
16
|
+
export { T as Text } from './index-5849268c.js';
|
|
17
|
+
export { C as Container } from './index-cf296b7d.js';
|
|
18
|
+
export { I as Icon } from './index-b42b746d.js';
|
|
19
|
+
export { D as Drawer, M as Modal, R as RadioImageGroup } from './index-c6b43ed7.js';
|
|
20
|
+
export { C as CustomReferenceDot } from './index-11c2da20.js';
|
|
21
|
+
export { L as LogoIcon } from './utils-a88682f9.js';
|
|
22
|
+
export { D as DatePicker, L as Loading } from './index-ce7d88c1.js';
|
|
23
|
+
export { D as Dropdown } from './index-9964165a.js';
|
|
24
|
+
export { P as Popup, d as TogetherDataTransforms, U as UserAvatar } from './index-d5783ce8.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-27cc65d4.js';
|
|
26
|
+
export { P as PillCarousel } from './index-98cf27df.js';
|
|
27
|
+
export { A as AddressInput } from './index-77f900fd.js';
|
|
28
|
+
export { F as Footer } from './index-d108d803.js';
|
|
29
|
+
export { u as useTranslations } from './useTranslations-a559a7a5.js';
|
|
30
|
+
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-9a2c88e8.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-b525a974.js';
|
|
32
|
+
export { u as useHealthToolsCache } from './useHealthToolCache-f6dcb4d8.js';
|
|
33
|
+
export { u as useIsInit } from './useIsInit-5759a12c.js';
|
|
34
|
+
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-0cd449b6.js';
|
|
35
|
+
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-4d87b935.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-9f020bf6.js';
|
|
37
|
+
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider, c as TogetherConstants } from './utils-8cfab824.js';
|
|
38
|
+
export { B as BookingSearchBar, a as BookingSearchBarV2, t as CareTypes, T as TextDivider } from './types-a4e6af19.js';
|
|
39
|
+
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-7ad2018e.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-9a852d86.js';
|
|
41
|
+
export { d as deleteCookie, g as getCookie, s as setCookie } from './cookieHelper-fb2f4bf7.js';
|
|
42
|
+
export { a as abbreviateNumber } from './number-c4673157.js';
|
|
43
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-8faaacea.js';
|
|
44
|
+
export { M as MBTheme, t as theme } from './theme-b8e10c2e.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-ad80dd9a.js';
|
|
46
|
+
export { f as formatHealthTool, g as getDynamicHealthTool, a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-296bc3be.js';
|
|
47
|
+
export { g as getSocialList } from './getSocialList-2ebfcd4a.js';
|
|
48
|
+
export { S as ScreenSizeContext, a as ScreenSizeContextProvider, f as formatPill, g as getWindowSizeGroups } from './dataTransform-bf6753e4.js';
|
|
48
49
|
import 'date-fns/locale';
|
|
49
|
-
import './isProduction-
|
|
50
|
-
import './tslib.es6-
|
|
50
|
+
import './isProduction-a14c0289.js';
|
|
51
|
+
import './tslib.es6-2581561d.js';
|
|
51
52
|
import '@hhgtech/icons/other';
|
|
52
53
|
import '@mantine/core';
|
|
53
54
|
import '@mantine/hooks';
|
|
54
|
-
import './index-
|
|
55
|
+
import './index-97d0e5e4.js';
|
|
55
56
|
import 'dayjs';
|
|
56
57
|
import 'styled-components';
|
|
57
58
|
import '@mantine/carousel';
|
|
58
|
-
import './index-
|
|
59
|
+
import './index-39528b9b.js';
|
|
59
60
|
import 'classnames';
|
|
60
61
|
import '@hhgtech/icons/core';
|
|
61
|
-
import './translationsContext-1767db70.js';
|
|
62
|
-
import 'string-format';
|
|
63
62
|
import 'innertext';
|
|
64
63
|
import '@mantine/dates';
|
|
65
|
-
import '
|
|
66
|
-
import '
|
|
67
|
-
import 'react-dom';
|
|
68
|
-
import 'date-fns';
|
|
69
|
-
import 'dayjs/plugin/relativeTime';
|
|
70
|
-
import './index-d5c7154c.js';
|
|
71
|
-
import './index.styled-8998eefe.js';
|
|
64
|
+
import './translationsContext-a710bd79.js';
|
|
65
|
+
import 'string-format';
|
|
72
66
|
import 'lodash/throttle';
|
|
73
67
|
import 'html-react-parser';
|
|
74
|
-
import '
|
|
75
|
-
import './
|
|
76
|
-
import './index-
|
|
68
|
+
import 'date-fns';
|
|
69
|
+
import './types-d56b59d0.js';
|
|
70
|
+
import './index-8573ee56.js';
|
|
71
|
+
import './index.styled-938c9e2d.js';
|
|
72
|
+
import './index-22221342.js';
|
|
77
73
|
import 'react-hook-form';
|
|
78
74
|
import '@hookform/resolvers/yup';
|
|
79
75
|
import 'date-fns/locale/en-US';
|
|
@@ -82,17 +78,22 @@ import 'date-fns/locale/vi';
|
|
|
82
78
|
import 'date-fns/locale/zh-TW';
|
|
83
79
|
import 'uuid';
|
|
84
80
|
import '@mantine/form';
|
|
81
|
+
import './index-2516c87e.js';
|
|
85
82
|
import 'js-cookie';
|
|
86
83
|
import 'lodash/flatten';
|
|
87
84
|
import 'lodash/uniqBy';
|
|
88
|
-
import './normalizeLink-
|
|
89
|
-
import './paths-
|
|
85
|
+
import './normalizeLink-b27ea7f7.js';
|
|
86
|
+
import './paths-24a48d7a.js';
|
|
90
87
|
import 'react-keyed-flatten-children';
|
|
88
|
+
import 'react-dom';
|
|
91
89
|
import 'react-day-picker/DayPickerInput';
|
|
92
|
-
import './constants-
|
|
93
|
-
import './index-
|
|
94
|
-
import '
|
|
95
|
-
import '
|
|
90
|
+
import './constants-004f080a.js';
|
|
91
|
+
import './index-991703e4.js';
|
|
92
|
+
import 'dayjs/plugin/relativeTime';
|
|
93
|
+
import 'lodash/debounce';
|
|
94
|
+
import './core-7e4b4d85.js';
|
|
95
|
+
import './utils-93eb13e7.js';
|
|
96
|
+
import 'react-contenteditable';
|
|
96
97
|
import 'slugify';
|
|
97
98
|
import 'lodash/shuffle';
|
|
98
99
|
import 'react-loading-skeleton';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2581561d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { t as theme } from './theme-
|
|
3
|
+
import { t as theme } from './theme-b8e10c2e.js';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
5
|
|
|
6
6
|
const Heading = (_a) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
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-b8e10c2e.js';
|
|
3
|
+
import { M as MediaQueries } from './utils-ad80dd9a.js';
|
|
4
|
+
import { _ as __rest } from './tslib.es6-2581561d.js';
|
|
5
5
|
import React__default, { useState, forwardRef, 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 slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
6
|
+
import { L as Label, b as StyledDisplayIcon, d as StyledActionIcon, e as StyledErrorLabel } from './constants-d53f9101.js';
|
|
7
|
+
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-9a852d86.js';
|
|
8
8
|
import { createStyles, rem } from '@mantine/core';
|
|
9
9
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
10
10
|
|
|
@@ -1300,4 +1300,4 @@ var useStyles = createStyles((theme) => {
|
|
|
1300
1300
|
};
|
|
1301
1301
|
});
|
|
1302
1302
|
|
|
1303
|
-
export { StyledDrawerContent as A, StyledRadioImageGroup as B, StyledRadioImageItem as C, PureInput as P, StepRenderer as S, TextArea as T, StepRendererContext as a, StyledAvatar as b, StyledBadge as c, StyledBorderHeading as d, StyledDropdown as e, StyledDropdownName as f,
|
|
1303
|
+
export { StyledDrawerContent as A, StyledRadioImageGroup as B, StyledRadioImageItem as C, PureInput as P, StepRenderer as S, TextArea as T, StepRendererContext as a, StyledAvatar as b, StyledBadge as c, StyledBorderHeading as d, StyledDropdown as e, StyledDropdownName as f, StyledDropdownList as g, StyledDropdownOption as h, StyledIcon as i, StyledGrid as j, StyledPagination as k, StyledPageBlock as l, StyledPaginationBlock as m, StyledTag as n, StyledToggle as o, StyledToggleIcon as p, StyledToggleLabel as q, StyledCheckbox as r, StyledRateStars as s, getDefaultClassWrapper as t, useStyles as u, StyledDivider as v, useStyles$1 as w, StyledBackdrop as x, StyledDrawer as y, StyledDrawerPanel as z };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from "../../mantine";
|
|
3
|
+
export declare const Close: ({ children, ...rest }: {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
} & {
|
|
6
|
+
variant?: "white" | "success" | "error" | "primary" | "secondary" | "tertiary" | "light" | "ghost";
|
|
7
|
+
skipHover?: boolean;
|
|
8
|
+
theme?: "marryBaby" | "helloSites";
|
|
9
|
+
} & Omit<import("@mantine/core").ButtonProps, "variant"> & React.ButtonHTMLAttributes<HTMLButtonElement> & import("../../types").DataTrackingType) => React.JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Dispatch, MutableRefObject, SetStateAction } from 'react';
|
|
2
|
+
import { LOCALE } from "../../types";
|
|
3
|
+
import { OtpData } from "./otpBlock";
|
|
4
|
+
export type ThankyouType = {
|
|
5
|
+
title: string;
|
|
6
|
+
titleAlign?: string;
|
|
7
|
+
subtitle: string;
|
|
8
|
+
subtitleAlign?: string;
|
|
9
|
+
link: string;
|
|
10
|
+
linkNewTab?: boolean;
|
|
11
|
+
linkText: string;
|
|
12
|
+
image?: string;
|
|
13
|
+
};
|
|
14
|
+
type LeadGenComponentContextType = {
|
|
15
|
+
formRef: MutableRefObject<HTMLFormElement>;
|
|
16
|
+
campaignId: number;
|
|
17
|
+
campaign_subot_id: number[];
|
|
18
|
+
heading: string;
|
|
19
|
+
description: string;
|
|
20
|
+
showOtpPhone: OtpData | null;
|
|
21
|
+
setShowOtpPhone: Dispatch<SetStateAction<OtpData | null>>;
|
|
22
|
+
showThankyou: ThankyouType;
|
|
23
|
+
listBlockAdded: any;
|
|
24
|
+
textBlocks: any;
|
|
25
|
+
actionBlocks: any;
|
|
26
|
+
leadFormConfig: any;
|
|
27
|
+
validatingEmailRef: MutableRefObject<boolean>;
|
|
28
|
+
validatingPhoneRef: MutableRefObject<boolean>;
|
|
29
|
+
locale?: LOCALE;
|
|
30
|
+
onClose?: () => void;
|
|
31
|
+
onOtherSubmit?: () => void;
|
|
32
|
+
onSubmit?: (currentForm: HTMLFormElement, values: Record<string, any>) => void;
|
|
33
|
+
};
|
|
34
|
+
export declare const LeadGenComponentContext: import("react").Context<LeadGenComponentContextType>;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps } from '@mantine/core';
|
|
3
|
+
import { LOCALE } from "../../../../interfaces/types";
|
|
4
|
+
export declare const Fields: ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, styles, classNames, }: {
|
|
5
|
+
listBlockAdded: any[];
|
|
6
|
+
popupId?: string;
|
|
7
|
+
locale: LOCALE;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onOtherSubmit?: () => void;
|
|
10
|
+
} & BoxProps) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
export declare const LeadFormProvider: import("react").FC<import("@mantine/form/lib/FormProvider/FormProvider").FormProviderProps<import("@mantine/form").UseFormReturnType<unknown, (values: unknown) => unknown>>>, useLeadFormContext: () => import("@mantine/form").UseFormReturnType<unknown, (values: unknown) => unknown>, useLeadForm: import("@mantine/form/lib/types").UseForm<unknown, (values: unknown) => unknown>;
|
|
3
|
+
export declare const useLeadFormConfig: ({ listBlockAdded, validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id, }: {
|
|
4
|
+
listBlockAdded: any[];
|
|
5
|
+
validatingPhoneRef: MutableRefObject<boolean>;
|
|
6
|
+
validatingEmailRef: MutableRefObject<boolean>;
|
|
7
|
+
campaignId: number;
|
|
8
|
+
campaign_subot_id: number[];
|
|
9
|
+
}) => {
|
|
10
|
+
form: import("@mantine/form").UseFormReturnType<unknown, (values: unknown) => unknown>;
|
|
11
|
+
validateObj: import("@mantine/form/lib/types").FormValidateInput<unknown>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
|
|
2
|
+
classes: {
|
|
3
|
+
root: string;
|
|
4
|
+
header: string;
|
|
5
|
+
heading: string;
|
|
6
|
+
description: string;
|
|
7
|
+
term: string;
|
|
8
|
+
controlList: string;
|
|
9
|
+
control: string;
|
|
10
|
+
submitBtn: string;
|
|
11
|
+
};
|
|
12
|
+
cx: (...args: any) => string;
|
|
13
|
+
theme: import("@mantine/core").MantineTheme;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { LOCALE } from "../../interfaces/types";
|
|
3
|
+
import { ThankyouType } from "./context";
|
|
4
|
+
export declare const Component: ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, locale, children, }: {
|
|
5
|
+
campaign: any;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
onOtherSubmit?: () => void;
|
|
8
|
+
onSubmit?: (currentForm: HTMLFormElement, values: Record<string, any>) => void;
|
|
9
|
+
showThankyou?: ThankyouType;
|
|
10
|
+
locale?: LOCALE;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
|
|
2
|
+
classes: {
|
|
3
|
+
root: string;
|
|
4
|
+
heading: string;
|
|
5
|
+
description: string;
|
|
6
|
+
control: string;
|
|
7
|
+
submitBtn: string;
|
|
8
|
+
resendOtp: string;
|
|
9
|
+
};
|
|
10
|
+
cx: (...args: any) => string;
|
|
11
|
+
theme: import("@mantine/core").MantineTheme;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|