@hhgtech/hhg-components 1.27.111 → 1.27.113
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/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +3 -2
- package/build/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +1 -1
- package/build/care/interfaces/constants.d.ts +1 -0
- package/build/care.js +1 -1
- package/build/components/molecules/index.d.ts +3 -3
- package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerWithOption/index.d.ts +2 -0
- package/build/{esm/components/molecules/premiumNewsletterBanner → components/molecules/surveyOrPremiumBanner}/bannerWithOption/index.styles.d.ts +1 -0
- package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts +41 -7
- package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts +7 -4
- package/build/components/molecules/surveyOrPremiumBanner/index.d.ts +15 -0
- package/build/components/molecules/surveyOrPremiumBanner/surveyBanner.d.ts +3 -0
- package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/toolBanner.d.ts +1 -0
- package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts +5 -0
- package/build/components.js +1 -1
- package/build/{constants-549daccd.js → constants-fd82a887.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-cf08ddba.js → core-5c4c9018.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +5 -5
- package/build/esm/cache.js +1 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +3 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +1 -1
- package/build/esm/care/interfaces/constants.d.ts +1 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/molecules/index.d.ts +3 -3
- package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerWithOption/index.d.ts +2 -0
- package/build/{components/molecules/premiumNewsletterBanner → esm/components/molecules/surveyOrPremiumBanner}/bannerWithOption/index.styles.d.ts +1 -0
- package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts +41 -7
- package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts +7 -4
- package/build/esm/components/molecules/surveyOrPremiumBanner/index.d.ts +15 -0
- package/build/esm/components/molecules/surveyOrPremiumBanner/surveyBanner.d.ts +3 -0
- package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/toolBanner.d.ts +1 -0
- package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts +5 -0
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-9b0dfbff.js → constants-66251709.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-d5723cfb.js → core-256cda08.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-d6fb6721.js → fixedBottomAdBlock-42a0fc3b.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-29f9213b.js → getDynamicHealthTool-0e9dffaf.js} +1 -1
- package/build/esm/{getSocialList-25ba1828.js → getSocialList-04ad7465.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n-values/vi-VN.js +1 -1
- package/build/esm/i18n-values/vi-VN_MB.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-901e79c9.js → index-1f31ee2c.js} +1 -1
- package/build/esm/{index-bc78096c.js → index-2472bb2e.js} +1 -1
- package/build/esm/{index-8f77e3ae.js → index-37ac3e0a.js} +2 -2
- package/build/esm/{index-cdf8cd15.js → index-40352094.js} +23 -23
- package/build/esm/index-404d6f42.js +1 -0
- package/build/esm/{index-e8ef71b5.js → index-4b0913ef.js} +1 -1
- package/build/esm/{index-d1e0f7da.js → index-4ef01662.js} +1 -1
- package/build/esm/{index-3cb58b69.js → index-5b15422c.js} +1 -1
- package/build/esm/{index-3de4e500.js → index-671bebd2.js} +1 -1
- package/build/esm/{index-e6e6e936.js → index-6bfebf91.js} +1 -1
- package/build/esm/{index-48be4929.js → index-79cd66c0.js} +1 -1
- package/build/esm/{index-5cb8c0d8.js → index-7ea25330.js} +1 -1
- package/build/esm/index-9a6cbd76.js +1 -0
- package/build/esm/{index-2c2ab0e9.js → index-9dc3058e.js} +1 -1
- package/build/esm/{index-7ae73b73.js → index-aab6e937.js} +4 -4
- package/build/esm/{index-2f93c125.js → index-c04a8332.js} +1 -1
- package/build/esm/{index-0e498cef.js → index-c20147f5.js} +1 -1
- package/build/esm/{index-0243a82f.js → index-c52c6d1d.js} +1 -1
- package/build/esm/{index-d5f79d3b.js → index-c9c1af14.js} +1 -1
- package/build/esm/{index-119f7391.js → index-d533e676.js} +1 -1
- package/build/esm/{index-7c08eeef.js → index-f9338e27.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-7e34321a.js → index.styled-8ad8796f.js} +1 -1
- package/build/esm/{index.styled-96bddf4c.js → index.styled-c742d0a3.js} +4 -4
- package/build/esm/{index.styled-a4fcd334.js → index.styled-ce98cbc1.js} +1 -1
- package/build/esm/{index.styles-7c303c91.js → index.styles-952b0f4b.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/{normalizeLink-89628601.js → normalizeLink-58957b47.js} +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +18 -18
- package/build/esm/paths-46458204.js +1 -0
- package/build/esm/pwg.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-768250f5.js → types-0cbaa281.js} +130 -130
- package/build/esm/{types-24eea7b5.js → types-27c16503.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-6ce39bff.js → useCategory-bfba2de5.js} +1 -1
- package/build/esm/useHealthToolCache-b9973713.js +1 -0
- package/build/esm/{useRafState-974935f5.js → useRafState-66b5f663.js} +1 -1
- package/build/esm/useTranslations-b2f04ab6.js +1 -0
- package/build/esm/{utils-12e2c810.js → utils-33c4c832.js} +1 -1
- package/build/esm/vaccination.js +12 -12
- package/build/{fixedBottomAdBlock-6d47251b.js → fixedBottomAdBlock-664a6e50.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-4b545469.js → getDynamicHealthTool-571597e0.js} +1 -1
- package/build/{getSocialList-8f83dc95.js → getSocialList-2d43911c.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n-values/vi-VN.js +1 -1
- package/build/i18n-values/vi-VN_MB.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-f168badd.js → index-22a4d8ec.js} +1 -1
- package/build/{index-2a0f61e2.js → index-2584fe83.js} +2 -2
- package/build/{index-187e0f1f.js → index-2db33f49.js} +1 -1
- package/build/{index-f2c0dc10.js → index-32d3a385.js} +1 -1
- package/build/{index-7c01f515.js → index-4efa8e7e.js} +1 -1
- package/build/{index-f8421eda.js → index-537bccbe.js} +1 -1
- package/build/{index-203f0a9a.js → index-55a6f97a.js} +1 -1
- package/build/index-58609826.js +1 -0
- package/build/{index-2d3c34aa.js → index-5b7dfda4.js} +1 -1
- package/build/{index-ec7f28e5.js → index-63632fd5.js} +1 -1
- package/build/{index-c3a8adc8.js → index-8383af12.js} +1 -1
- package/build/{index-5014f061.js → index-9669998e.js} +1 -1
- package/build/{index-1740c5b8.js → index-9f6e2696.js} +29 -29
- package/build/{index-55035468.js → index-a89b23de.js} +1 -1
- package/build/{index-8212d168.js → index-b99409f1.js} +1 -1
- package/build/{index-5c07473f.js → index-bc8fcf35.js} +1 -1
- package/build/{index-0b75ad2a.js → index-c57b487f.js} +1 -1
- package/build/{index-615024b7.js → index-dad94e78.js} +2 -2
- package/build/{index-dde6cb12.js → index-e022af07.js} +1 -1
- package/build/{index-ca4a57b8.js → index-e7f2e80f.js} +1 -1
- package/build/{index-410406ae.js → index-f36821a3.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-a5b7f642.js → index.styled-0d4d68f3.js} +1 -1
- package/build/{index.styled-25fca885.js → index.styled-90c35fc5.js} +1 -1
- package/build/index.styled-b9465af1.js +50 -0
- package/build/{index.styles-64093d61.js → index.styles-9285e23d.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/{normalizeLink-9a714adb.js → normalizeLink-28258895.js} +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +5 -5
- package/build/paths-2ac2ae14.js +1 -0
- package/build/pwg.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-40cab689.js → types-90d8b488.js} +4 -4
- package/build/{types-1b10750d.js → types-ffea7b45.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-fbc07a2d.js → useCategory-971481b4.js} +1 -1
- package/build/{useHealthToolCache-8b40316a.js → useHealthToolCache-10f561aa.js} +1 -1
- package/build/{useRafState-779e60e7.js → useRafState-5cd3ac64.js} +1 -1
- package/build/{useTranslations-424bb567.js → useTranslations-2e7d64aa.js} +1 -1
- package/build/{utils-028b83bf.js → utils-2fb6eb7d.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/components/molecules/premiumNewsletterBanner/index.d.ts +0 -15
- package/build/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +0 -3
- package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +0 -15
- package/build/esm/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +0 -3
- package/build/esm/index-425660a4.js +0 -1
- package/build/esm/index-bcb2f9a4.js +0 -1
- package/build/esm/paths-fa0a821f.js +0 -1
- package/build/esm/useHealthToolCache-e9192e5e.js +0 -1
- package/build/esm/useTranslations-2430a2a0.js +0 -1
- package/build/index-474f4921.js +0 -1
- package/build/index.styled-c6850e52.js +0 -50
- package/build/paths-28b1bd97.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-2169926f.js → BMI_BOYS.percentile.monthly-5b917714.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-6d5061c6.js → BMI_BOYS.percentile.weekly-9566eb37.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5f739100.js → BMI_BOYS.percentile.yearly-db737739.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-75e11545.js → BMI_BOYS.zscore.monthly-86f68a0b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-b3556b6a.js → BMI_BOYS.zscore.weekly-92d923b0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-4ebe038f.js → BMI_BOYS.zscore.yearly-4d92f086.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-05e28f78.js → BMI_GIRLS.percentile.monthly-6a6d1837.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-4054b056.js → BMI_GIRLS.percentile.weekly-5589d39f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-6d9f3e1c.js → BMI_GIRLS.percentile.yearly-15c4d279.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-344ed489.js → BMI_GIRLS.zscore.monthly-667e63fd.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-7577fdd6.js → BMI_GIRLS.zscore.weekly-3fdeccfe.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-0026b96e.js → BMI_GIRLS.zscore.yearly-ea25f63d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4770cf38.js → HEAD CIRCUM_BOYS.percentile.monthly-6db968ca.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-51ffefe5.js → HEAD CIRCUM_BOYS.percentile.weekly-2a4e9201.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8d887c12.js → HEAD CIRCUM_BOYS.percentile.yearly-c566092e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f4380098.js → HEAD CIRCUM_BOYS.zscore.monthly-03fc7b94.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-225f6e87.js → HEAD CIRCUM_BOYS.zscore.weekly-faa83c6d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-1b185e52.js → HEAD CIRCUM_BOYS.zscore.yearly-629071b8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d33665c2.js → HEAD CIRCUM_GIRLS.percentile.monthly-fd8e09c4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e03ab684.js → HEAD CIRCUM_GIRLS.percentile.weekly-d7bc181c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-dccddafd.js → HEAD CIRCUM_GIRLS.percentile.yearly-2c18bf98.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f3770a5a.js → HEAD CIRCUM_GIRLS.zscore.monthly-8d909763.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-f380c4a3.js → HEAD CIRCUM_GIRLS.zscore.weekly-018ebd5c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-213f9e26.js → HEAD CIRCUM_GIRLS.zscore.yearly-f4da36f0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-159b23b3.js → HEIGHT_BOYS.percentile.monthly-4bcc65ef.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-dea84dd9.js → HEIGHT_BOYS.percentile.weekly-7c769b89.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-43132dd4.js → HEIGHT_BOYS.percentile.yearly-3f50eba5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6386157d.js → HEIGHT_BOYS.zscore.monthly-a78a7a26.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8c95e60e.js → HEIGHT_BOYS.zscore.weekly-caab37b3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a20e1e60.js → HEIGHT_BOYS.zscore.yearly-c2d46f1f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c35ca151.js → HEIGHT_GIRLS.percentile.monthly-b3265a7d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-55efadc3.js → HEIGHT_GIRLS.percentile.weekly-69403da3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-67a99ecb.js → HEIGHT_GIRLS.percentile.yearly-5f19a816.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-60034a31.js → HEIGHT_GIRLS.zscore.monthly-e56cd9ff.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-637e4002.js → HEIGHT_GIRLS.zscore.weekly-cfbee1ac.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-dff229f7.js → HEIGHT_GIRLS.zscore.yearly-603fd96e.js} +0 -0
- /package/build/{Onboarding-b6d46718.js → Onboarding-2b01db17.js} +0 -0
- /package/build/{Visible-c0d87c4f.js → Visible-7e3703b1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-5b2fbdb5.js → WEIGHT_BOYS.percentile.monthly-df2b38ad.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-31324827.js → WEIGHT_BOYS.percentile.weekly-017d4587.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-99b220b3.js → WEIGHT_BOYS.percentile.yearly-d98f06d0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-37df73d8.js → WEIGHT_BOYS.zscore.monthly-3efc2926.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-97539687.js → WEIGHT_BOYS.zscore.weekly-1478e955.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-018cd3f2.js → WEIGHT_BOYS.zscore.yearly-96592d44.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-94194d40.js → WEIGHT_GIRLS.percentile.monthly-7990f762.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-4092c807.js → WEIGHT_GIRLS.percentile.weekly-4b98de90.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-80188db3.js → WEIGHT_GIRLS.percentile.yearly-5686e441.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-aa93af02.js → WEIGHT_GIRLS.zscore.monthly-76c7187f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-d5f6108b.js → WEIGHT_GIRLS.zscore.weekly-bc5910e8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-dadd5a9c.js → WEIGHT_GIRLS.zscore.yearly-07b83056.js} +0 -0
- /package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerLayout.d.ts +0 -0
- /package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/handlerBanner.d.ts +0 -0
- /package/build/{cookieHelper-5e232b89.js → cookieHelper-47e34efa.js} +0 -0
- /package/build/{dataTransform-e616f86a.js → dataTransform-fe677610.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a21c2804.js → BMI_BOYS.percentile.monthly-9e7fdff9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-660eb5a0.js → BMI_BOYS.percentile.weekly-109aa882.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-4472b493.js → BMI_BOYS.percentile.yearly-2f4904a4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ef6d5124.js → BMI_BOYS.zscore.monthly-b7818505.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-2850e334.js → BMI_BOYS.zscore.weekly-8a8c6e60.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7675f189.js → BMI_BOYS.zscore.yearly-259d827f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-ccb1ae23.js → BMI_GIRLS.percentile.monthly-4c85f2e2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-01af9f62.js → BMI_GIRLS.percentile.weekly-52780dde.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-3b4ff210.js → BMI_GIRLS.percentile.yearly-d552f7ff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-78346cd2.js → BMI_GIRLS.zscore.monthly-70736759.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1354bad8.js → BMI_GIRLS.zscore.weekly-09d9a498.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-123cd996.js → BMI_GIRLS.zscore.yearly-787a71f2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b7a46cec.js → HEAD CIRCUM_BOYS.percentile.monthly-3dc23858.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-daadf38b.js → HEAD CIRCUM_BOYS.percentile.weekly-fc90a435.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c64d87f6.js → HEAD CIRCUM_BOYS.percentile.yearly-d311328c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-17a992e7.js → HEAD CIRCUM_BOYS.zscore.monthly-a4105e49.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a858df78.js → HEAD CIRCUM_BOYS.zscore.weekly-1602faff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-18fce9ea.js → HEAD CIRCUM_BOYS.zscore.yearly-314d87f2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-7a8b8a72.js → HEAD CIRCUM_GIRLS.percentile.monthly-1755894d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-4efe8114.js → HEAD CIRCUM_GIRLS.percentile.weekly-eff64869.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-bd019865.js → HEAD CIRCUM_GIRLS.percentile.yearly-ec836bd1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5f663a70.js → HEAD CIRCUM_GIRLS.zscore.monthly-45824afc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-39129ae0.js → HEAD CIRCUM_GIRLS.zscore.weekly-3dda450c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b7fee04a.js → HEAD CIRCUM_GIRLS.zscore.yearly-47d31d6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0f86faa9.js → HEIGHT_BOYS.percentile.monthly-8e3e5eea.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-799ce0a2.js → HEIGHT_BOYS.percentile.weekly-4fd1e4f0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3f3c2f4d.js → HEIGHT_BOYS.percentile.yearly-a72efc6f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-40b79033.js → HEIGHT_BOYS.zscore.monthly-bbc5d61a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-335e16b8.js → HEIGHT_BOYS.zscore.weekly-be4b43d4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-1052e7c2.js → HEIGHT_BOYS.zscore.yearly-41fab017.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5c1c2fda.js → HEIGHT_GIRLS.percentile.monthly-5960d7bc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-185ecd08.js → HEIGHT_GIRLS.percentile.weekly-842b0b35.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-071f0347.js → HEIGHT_GIRLS.percentile.yearly-5e771144.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7d81ef69.js → HEIGHT_GIRLS.zscore.monthly-a87662f6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4bcedfad.js → HEIGHT_GIRLS.zscore.weekly-9974df51.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3b576a0d.js → HEIGHT_GIRLS.zscore.yearly-036899ae.js} +0 -0
- /package/build/esm/{Onboarding-333aa9dc.js → Onboarding-3631c6d1.js} +0 -0
- /package/build/esm/{Visible-8afbad1e.js → Visible-2bac67a9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8674ec9b.js → WEIGHT_BOYS.percentile.monthly-fb78f02c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6c8ebad7.js → WEIGHT_BOYS.percentile.weekly-a91de386.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-502a9bab.js → WEIGHT_BOYS.percentile.yearly-ad66fdd2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4adc8c4e.js → WEIGHT_BOYS.zscore.monthly-2f39cc76.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c253912c.js → WEIGHT_BOYS.zscore.weekly-14cc15d4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-99f50300.js → WEIGHT_BOYS.zscore.yearly-2041fbea.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8c64fab0.js → WEIGHT_GIRLS.percentile.monthly-3a60ac45.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-44176b94.js → WEIGHT_GIRLS.percentile.weekly-d0fbecca.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-c38faf3c.js → WEIGHT_GIRLS.percentile.yearly-3ae3438e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9ce628d3.js → WEIGHT_GIRLS.zscore.monthly-ed2bf2a6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-77b92300.js → WEIGHT_GIRLS.zscore.weekly-3328de54.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e12994a8.js → WEIGHT_GIRLS.zscore.yearly-e78ef269.js} +0 -0
- /package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerLayout.d.ts +0 -0
- /package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/handlerBanner.d.ts +0 -0
- /package/build/esm/{cookieHelper-198da3c2.js → cookieHelper-2fe90225.js} +0 -0
- /package/build/esm/{dataTransform-c86ebc50.js → dataTransform-532e7457.js} +0 -0
- /package/build/esm/{index-436b7d17.js → index-7df304c0.js} +0 -0
- /package/build/esm/{isProduction-f84e5e5c.js → isProduction-85c6cb19.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f760793d.js → localizeNumberFormat-17475a32.js} +0 -0
- /package/build/esm/{number-ba8724fc.js → number-251f8529.js} +0 -0
- /package/build/esm/{screenSizeContext-26c77dc1.js → screenSizeContext-4ff53e25.js} +0 -0
- /package/build/esm/{theme-cd27574e.js → theme-b5489d82.js} +0 -0
- /package/build/esm/{translationsContext-bf4a1818.js → translationsContext-be2e1844.js} +0 -0
- /package/build/esm/{tslib.es6-830e842d.js → tslib.es6-0405df6a.js} +0 -0
- /package/build/esm/{types-5fdf9e45.js → types-48c94135.js} +0 -0
- /package/build/esm/{useIsInit-c1a1ca52.js → useIsInit-942b94fa.js} +0 -0
- /package/build/esm/{useOutsideClick-7a4c1573.js → useOutsideClick-3450a7a8.js} +0 -0
- /package/build/esm/{useScrollbarSize-cbdd3859.js → useScrollbarSize-11faa525.js} +0 -0
- /package/build/esm/{useUniqueId-159be8a3.js → useUniqueId-d35bf586.js} +0 -0
- /package/build/{index-ba487404.js → index-4046269f.js} +0 -0
- /package/build/{isProduction-d5eaf028.js → isProduction-e1b7813f.js} +0 -0
- /package/build/{localizeNumberFormat-20fdd30c.js → localizeNumberFormat-7424a97a.js} +0 -0
- /package/build/{number-060a39e3.js → number-b3767f34.js} +0 -0
- /package/build/{screenSizeContext-7720eb06.js → screenSizeContext-4d5786c6.js} +0 -0
- /package/build/{theme-177c35d7.js → theme-1a7c14fb.js} +0 -0
- /package/build/{translationsContext-ee716225.js → translationsContext-f962ff63.js} +0 -0
- /package/build/{tslib.es6-fb3ec5b3.js → tslib.es6-0d31715f.js} +0 -0
- /package/build/{types-bee2c39e.js → types-ef750ab6.js} +0 -0
- /package/build/{useIsInit-5e49ad37.js → useIsInit-790b9962.js} +0 -0
- /package/build/{useOutsideClick-6a78771c.js → useOutsideClick-81c62034.js} +0 -0
- /package/build/{useScrollbarSize-dedf0512.js → useScrollbarSize-29ac8766.js} +0 -0
- /package/build/{useUniqueId-6620a12c.js → useUniqueId-86a9e1d4.js} +0 -0
package/build/babyGrowth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-e7f2e80f.js"),t=require("react"),r=require("./Onboarding-2b01db17.js"),a=require("./theme-1a7c14fb.js"),l=require("./index-e022af07.js"),o=require("styled-components"),n=require("./index-b99409f1.js"),i=require("./index-5b7dfda4.js"),d=require("./index-55a6f97a.js"),s=require("./screenSizeContext-4d5786c6.js"),c=require("dayjs"),u=require("./useTranslations-2e7d64aa.js");require("lodash/debounce"),require("./isProduction-e1b7813f.js"),require("./index-a89b23de.js"),require("./useCategory-971481b4.js");var h=require("./localizeNumberFormat-7424a97a.js"),C=require("./index.styles-9285e23d.js"),m=require("./tslib.es6-0d31715f.js"),f=require("./index-dad94e78.js");require("./gAssets.js"),require("@mantine/core"),require("@mantine/dates"),require("@mantine/hooks");var y=require("./useOutsideClick-81c62034.js"),p=require("./index-bc8fcf35.js"),b=require("./index-537bccbe.js"),g=require("recharts"),w=require("lodash/chunk");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useUniqueId-86a9e1d4.js"),require("lodash/throttle"),require("./translationsContext-f962ff63.js"),require("string-format"),require("date-fns/locale"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("./cookieHelper-47e34efa.js"),require("slugify"),require("./useScrollbarSize-29ac8766.js"),require("react-dom");var E=x(t),v=x(o),B=x(c),L=x(w);const G=v.default.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
gap: 16px;
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
`,X=({isActive:e,onChange:t,value:r="",onInputChange:o,siteType:n})=>{const{t:s}=u.useTranslations(),c="marryBaby"===n;return E.default.createElement(K,{onClick:()=>t("new"),"data-is-mb":c,"data-isActive":c&&e},"marryBaby"===n?E.default.createElement("div",{className:"title"},E.default.createElement(d.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"},e&&E.default.createElement(i.Icon.CheckActiveMB,{size:26}))):E.default.createElement("div",{className:"title"},E.default.createElement(l.Text,{size:"p2",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"})),E.default.createElement(b.Input,{name:"name",value:r,size:"md",placeholder:s("chooseBaby.placeholder"),type:"text",onChange:o}))},J={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-
|
|
384
|
+
`,X=({isActive:e,onChange:t,value:r="",onInputChange:o,siteType:n})=>{const{t:s}=u.useTranslations(),c="marryBaby"===n;return E.default.createElement(K,{onClick:()=>t("new"),"data-is-mb":c,"data-isActive":c&&e},"marryBaby"===n?E.default.createElement("div",{className:"title"},E.default.createElement(d.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"},e&&E.default.createElement(i.Icon.CheckActiveMB,{size:26}))):E.default.createElement("div",{className:"title"},E.default.createElement(l.Text,{size:"p2",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"})),E.default.createElement(b.Input,{name:"name",value:r,size:"md",placeholder:s("chooseBaby.placeholder"),type:"text",onChange:o}))},J={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-017d4587.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.monthly-df2b38ad.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.yearly-d98f06d0.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.weekly-7c769b89.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.monthly-4bcc65ef.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.yearly-3f50eba5.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.weekly-2a4e9201.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.monthly-6db968ca.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.yearly-c566092e.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.weekly-9566eb37.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.monthly-5b917714.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.yearly-db737739.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.weekly-4b98de90.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.monthly-7990f762.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.yearly-5686e441.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.weekly-69403da3.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.monthly-b3265a7d.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.yearly-5f19a816.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.weekly-d7bc181c.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.monthly-fd8e09c4.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.yearly-2c18bf98.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.weekly-5589d39f.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.monthly-6a6d1837.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.yearly-15c4d279.js")}))}}},Q={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.weekly-1478e955.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.monthly-3efc2926.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.yearly-96592d44.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.weekly-caab37b3.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.monthly-a78a7a26.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.yearly-c2d46f1f.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.weekly-faa83c6d.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.monthly-03fc7b94.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.yearly-629071b8.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.weekly-92d923b0.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.monthly-86f68a0b.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.yearly-4d92f086.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.weekly-bc5910e8.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.monthly-76c7187f.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.yearly-07b83056.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.weekly-cfbee1ac.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.monthly-e56cd9ff.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.yearly-603fd96e.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.weekly-018ebd5c.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.monthly-8d909763.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.yearly-f4da36f0.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.weekly-3fdeccfe.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.monthly-667e63fd.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.yearly-ea25f63d.js")}))}}},ee=(e,t,a,l)=>l===r.LOCALE.Indonesia?Q[e][t][a]():J[e][t][a](),te=(e,t)=>{const[r,a]=L.default(t,Math.ceil(t.length/2)),l=r.map((e=>e.name)),o=a.map((e=>e.name));return l.includes(e)?{data:r,status:"first-half"}:o.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},re=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),ae=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),le=(e,t=0)=>{const r=[];for(const a in e){e[a].forEach(((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}}))}return r},oe=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ne=v.default.div`
|
|
385
385
|
position: relative;
|
|
386
386
|
.custom-chart-label {
|
|
387
387
|
display: flex;
|
package/build/cache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-5c4c9018.js");require("./tslib.es6-0d31715f.js"),require("./isProduction-e1b7813f.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
|
|
@@ -25,10 +25,11 @@ export type Props = {
|
|
|
25
25
|
hideTabBookingSearch?: string[];
|
|
26
26
|
hideSpecialtySelection?: boolean;
|
|
27
27
|
hidePopularSearchKeys?: boolean;
|
|
28
|
+
clientSlug?: string;
|
|
28
29
|
routerPush?: (s: string) => void;
|
|
29
30
|
onGeoLocationPermissionChange?: (perm: GeoLocationPermission, coordinates: GPSType) => void;
|
|
30
31
|
onSearch?: (data: SearchClick) => void;
|
|
31
32
|
onChangeLocation?: (city: City) => void;
|
|
32
33
|
};
|
|
33
|
-
declare const BookingSearchBarV2: ({ isMobile, careApiDomain, geoLocationPermission: geoLocationPermissionFromProps, geoLocationCoordinates: geoLocationCoordinatesFromProps, initialSelectedCity: initialSelectedCityFromProps, initialSearchValue, initTypeSearch, initSpecialty, careFrontDomain, isDebug, gaTrackingSearchBar, gaTrackingLocationSearch, autoCompleteDisabled, inputSearchPlaceholder, hideTabBookingSearch, hideSpecialtySelection, hidePopularSearchKeys, routerPush, onGeoLocationPermissionChange, onChangeLocation, }: Props) => React.JSX.Element;
|
|
34
|
+
declare const BookingSearchBarV2: ({ isMobile, careApiDomain, geoLocationPermission: geoLocationPermissionFromProps, geoLocationCoordinates: geoLocationCoordinatesFromProps, initialSelectedCity: initialSelectedCityFromProps, initialSearchValue, initTypeSearch, initSpecialty, careFrontDomain, isDebug, gaTrackingSearchBar, gaTrackingLocationSearch, autoCompleteDisabled, inputSearchPlaceholder, hideTabBookingSearch, hideSpecialtySelection, hidePopularSearchKeys, clientSlug, routerPush, onGeoLocationPermissionChange, onChangeLocation, }: Props) => React.JSX.Element;
|
|
34
35
|
export { BookingSearchBarV2 };
|
|
@@ -9,6 +9,7 @@ type Props = {
|
|
|
9
9
|
isMobile: boolean;
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
hideSpecialtySelection?: boolean;
|
|
12
|
+
clientSlug?: string;
|
|
12
13
|
typeInformation: {
|
|
13
14
|
[key in TypeSearch]: {
|
|
14
15
|
name: string;
|
|
@@ -20,7 +21,7 @@ type Props = {
|
|
|
20
21
|
dispatch: Dispatch<Action>;
|
|
21
22
|
onSearch?: (info: SearchClick) => void;
|
|
22
23
|
focusSearchInput?: () => void;
|
|
23
|
-
debouncedFetchSearchResults: DebouncedFunc<(keyword: string, state: ReducerState, searchType: TypeSearch) => Promise<void>>;
|
|
24
|
+
debouncedFetchSearchResults: DebouncedFunc<(keyword: string, state: ReducerState, searchType: TypeSearch, clientSlug?: string) => Promise<void>>;
|
|
24
25
|
};
|
|
25
|
-
declare const SearchInputs: ({ state, type, isMobile, isLoading, initalSearchValue, typeInformation, debouncedFetchSearchResults, trackingAttributes, hideSpecialtySelection, focusSearchInput, onSearch, dispatch, }: Props) => React.JSX.Element;
|
|
26
|
+
declare const SearchInputs: ({ state, type, isMobile, isLoading, initalSearchValue, typeInformation, debouncedFetchSearchResults, trackingAttributes, hideSpecialtySelection, clientSlug, focusSearchInput, onSearch, dispatch, }: Props) => React.JSX.Element;
|
|
26
27
|
export default SearchInputs;
|
|
@@ -8,6 +8,7 @@ type SearchResultProps = {
|
|
|
8
8
|
results: SearchBarSectionItemApi[];
|
|
9
9
|
location: string;
|
|
10
10
|
isLoading: boolean;
|
|
11
|
+
clientSlug?: string;
|
|
11
12
|
typeInformation: {
|
|
12
13
|
[key in TypeSearch]: {
|
|
13
14
|
name: string;
|
|
@@ -17,5 +18,5 @@ type SearchResultProps = {
|
|
|
17
18
|
};
|
|
18
19
|
dispatch: Dispatch<Action>;
|
|
19
20
|
};
|
|
20
|
-
declare const SearchResult: ({ state, type, results, location, isLoading, typeInformation, dispatch, }: SearchResultProps) => React.JSX.Element;
|
|
21
|
+
declare const SearchResult: ({ state, type, results, location, isLoading, typeInformation, clientSlug, dispatch, }: SearchResultProps) => React.JSX.Element;
|
|
21
22
|
export default SearchResult;
|
|
@@ -12,7 +12,7 @@ export default function useSearchBarApi({ dispatch, careApiDomain, locale, }: Us
|
|
|
12
12
|
coordinates?: GPSType;
|
|
13
13
|
}) => Promise<void>;
|
|
14
14
|
fetchCitiesByKeyword: (keyword: string) => Promise<void>;
|
|
15
|
-
fetchSearchResults: (searchKeywords: string, state: ReducerState, searchType: TypeSearch, cacheResult?: boolean) => Promise<void>;
|
|
15
|
+
fetchSearchResults: (searchKeywords: string, state: ReducerState, searchType: TypeSearch, clientSlug?: string, cacheResult?: boolean) => Promise<void>;
|
|
16
16
|
fetchAllSpecialties: () => Promise<void>;
|
|
17
17
|
fetchPopularKeys: (searchType: TypeSearch) => Promise<void>;
|
|
18
18
|
};
|
package/build/care.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-90d8b488.js"),r=require("./constants-fd82a887.js");require("./tslib.es6-0d31715f.js"),require("react"),require("./useTranslations-2e7d64aa.js"),require("./translationsContext-f962ff63.js"),require("string-format"),require("lodash/debounce"),require("./index-537bccbe.js"),require("@mantine/core"),require("./index-5b7dfda4.js"),require("./screenSizeContext-4d5786c6.js"),require("styled-components"),require("lodash/throttle"),require("./theme-1a7c14fb.js"),require("dayjs"),require("./index-a89b23de.js"),require("date-fns/locale"),require("./Onboarding-2b01db17.js"),require("./isProduction-e1b7813f.js"),require("./gAssets.js"),require("./useUniqueId-86a9e1d4.js"),require("./index-e022af07.js"),require("react-loading-skeleton"),require("lodash/shuffle"),require("./useOutsideClick-81c62034.js"),require("./paths-2ac2ae14.js"),require("./cookieHelper-47e34efa.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.BookingSearchBarV2=e.BookingSearchBarV2,exports.CareTypes=e.types,exports.CareConstants=r.constants;
|
|
@@ -58,6 +58,6 @@ export { FixedBottomAdBlock } from './adBlock/fixedBottomAdBlock';
|
|
|
58
58
|
export type { Props as FixedBottomAdBlockProps } from './adBlock/fixedBottomAdBlock';
|
|
59
59
|
export { AddressInput } from './addressInput';
|
|
60
60
|
export type { AddressInputProps } from './addressInput';
|
|
61
|
-
export {
|
|
62
|
-
export type { Props as
|
|
63
|
-
export type { SubcribeHealthStatusType, BannerStateData, } from './
|
|
61
|
+
export { SurveyOrPremiumBanner, MAPPING_CATEGORY_PREMIUM_TYPE, MAPPING_CATEGORY_PREMIUM_API_TYPE, } from './surveyOrPremiumBanner';
|
|
62
|
+
export type { Props as SurveyOrPremiumBannerProps } from './surveyOrPremiumBanner';
|
|
63
|
+
export type { SubcribeHealthStatusType, BannerStateData, } from './surveyOrPremiumBanner/types';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DefaultProps, Selectors } from '@mantine/core';
|
|
3
3
|
import { ButtonProps } from "../../../mantine";
|
|
4
|
+
import { DataTrackingType } from "../../../../interfaces/types";
|
|
4
5
|
import useStyles from './index.styles';
|
|
5
6
|
import { Props as BannerLayoutProps } from '../bannerLayout';
|
|
6
7
|
import { OptionBannerStyleType, OptionBannerType } from '../types';
|
|
@@ -12,6 +13,7 @@ export interface Props extends DefaultProps<Selectors<typeof useStyles> & Banner
|
|
|
12
13
|
styleType?: OptionBannerStyleType;
|
|
13
14
|
buttonProps?: ButtonProps;
|
|
14
15
|
value?: string;
|
|
16
|
+
submitBtnTracking?: DataTrackingType;
|
|
15
17
|
}
|
|
16
18
|
declare const BannerWithOptions: (props: Props) => React.JSX.Element;
|
|
17
19
|
export { BannerWithOptions };
|
package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts
RENAMED
|
@@ -3,7 +3,7 @@ import { UseTranslationsReturn } from "../../../hooks";
|
|
|
3
3
|
import { RISK_SCREENER_NAME } from "../../../interfaces/constants";
|
|
4
4
|
import { LocaleType } from "../../../interfaces/types";
|
|
5
5
|
import { BannerAction, OptionBannerStyleType } from './types';
|
|
6
|
-
export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
6
|
+
export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t'], currentUrl: any) => {
|
|
7
7
|
pregnant: {
|
|
8
8
|
action: BannerAction;
|
|
9
9
|
props: {
|
|
@@ -26,6 +26,11 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
|
26
26
|
items: {
|
|
27
27
|
label: string;
|
|
28
28
|
value: string;
|
|
29
|
+
tracking: {
|
|
30
|
+
dataEventCategory: string;
|
|
31
|
+
dataEventAction: string;
|
|
32
|
+
dataEventLabel: any;
|
|
33
|
+
};
|
|
29
34
|
}[];
|
|
30
35
|
};
|
|
31
36
|
submitHandler: {
|
|
@@ -55,6 +60,11 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
|
55
60
|
label: string;
|
|
56
61
|
value: string;
|
|
57
62
|
}[];
|
|
63
|
+
submitBtnTracking: {
|
|
64
|
+
dataEventCategory: string;
|
|
65
|
+
dataEventAction: string;
|
|
66
|
+
dataEventLabel: any;
|
|
67
|
+
};
|
|
58
68
|
};
|
|
59
69
|
submitHandler: {
|
|
60
70
|
todders: {
|
|
@@ -79,6 +89,11 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
|
79
89
|
items: {
|
|
80
90
|
label: string;
|
|
81
91
|
value: string;
|
|
92
|
+
tracking: {
|
|
93
|
+
dataEventCategory: string;
|
|
94
|
+
dataEventAction: string;
|
|
95
|
+
dataEventLabel: any;
|
|
96
|
+
};
|
|
82
97
|
}[];
|
|
83
98
|
};
|
|
84
99
|
};
|
|
@@ -112,26 +127,33 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
|
|
|
112
127
|
flexDirection: string;
|
|
113
128
|
};
|
|
114
129
|
};
|
|
130
|
+
button: {
|
|
131
|
+
background: string;
|
|
132
|
+
};
|
|
115
133
|
};
|
|
116
134
|
items: ({
|
|
117
135
|
label: string;
|
|
118
136
|
activeTool: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
119
137
|
isLink: boolean;
|
|
120
|
-
|
|
138
|
+
tracking: {
|
|
139
|
+
dataEventCategory: string;
|
|
140
|
+
dataEventAction: string;
|
|
141
|
+
dataEventLabel: any;
|
|
142
|
+
};
|
|
121
143
|
isPNBtn?: undefined;
|
|
122
144
|
} | {
|
|
123
145
|
label: string;
|
|
124
|
-
value: string;
|
|
125
146
|
isPNBtn: boolean;
|
|
147
|
+
tracking: {
|
|
148
|
+
dataEventCategory: string;
|
|
149
|
+
dataEventAction: string;
|
|
150
|
+
dataEventLabel: any;
|
|
151
|
+
};
|
|
126
152
|
activeTool?: undefined;
|
|
127
153
|
isLink?: undefined;
|
|
128
154
|
})[];
|
|
129
155
|
};
|
|
130
156
|
};
|
|
131
|
-
'todders|teenager.showPN': {
|
|
132
|
-
action: BannerAction;
|
|
133
|
-
useValueAfterUserBack: string;
|
|
134
|
-
};
|
|
135
157
|
};
|
|
136
158
|
};
|
|
137
159
|
};
|
|
@@ -141,6 +163,16 @@ export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['
|
|
|
141
163
|
description: string;
|
|
142
164
|
btnLabel: string;
|
|
143
165
|
value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
166
|
+
dataEventAction: string;
|
|
167
|
+
thumbnail?: undefined;
|
|
168
|
+
isRiskScreener?: undefined;
|
|
169
|
+
hideDescOnMobile?: undefined;
|
|
170
|
+
} | {
|
|
171
|
+
heading: string;
|
|
172
|
+
description: string;
|
|
173
|
+
btnLabel: string;
|
|
174
|
+
value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
|
|
175
|
+
dataEventAction?: undefined;
|
|
144
176
|
thumbnail?: undefined;
|
|
145
177
|
isRiskScreener?: undefined;
|
|
146
178
|
hideDescOnMobile?: undefined;
|
|
@@ -155,6 +187,7 @@ export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['
|
|
|
155
187
|
btnLabel: string;
|
|
156
188
|
value: RISK_SCREENER_NAME;
|
|
157
189
|
hideDescOnMobile: boolean;
|
|
190
|
+
dataEventAction: string;
|
|
158
191
|
};
|
|
159
192
|
hpv: {
|
|
160
193
|
heading: string;
|
|
@@ -167,5 +200,6 @@ export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['
|
|
|
167
200
|
btnLabel: string;
|
|
168
201
|
value: RISK_SCREENER_NAME;
|
|
169
202
|
hideDescOnMobile: boolean;
|
|
203
|
+
dataEventAction: string;
|
|
170
204
|
};
|
|
171
205
|
};
|
package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts
RENAMED
|
@@ -2,8 +2,9 @@ import { Dispatch, SetStateAction } from 'react';
|
|
|
2
2
|
import { BannerAction, BannerStateData, SubcribeHealthStatusType } from './types';
|
|
3
3
|
import { AcquisitionInfo } from '../premiumNewsletterModal/context';
|
|
4
4
|
export type BannerState = BannerAction.ShowTool | BannerAction.ShowOptionBanner | null;
|
|
5
|
-
export type
|
|
5
|
+
export type SurveyOrPremiumBannerContextType = {
|
|
6
6
|
type: string;
|
|
7
|
+
surveyType?: string;
|
|
7
8
|
settings?: any;
|
|
8
9
|
submitHandler?: any;
|
|
9
10
|
acquisitionInfo: AcquisitionInfo;
|
|
@@ -11,19 +12,21 @@ export type PremiumNewsletterBannerContextType = {
|
|
|
11
12
|
isMobile?: boolean;
|
|
12
13
|
isLoggedIn?: boolean;
|
|
13
14
|
isMarketing?: boolean;
|
|
14
|
-
|
|
15
|
+
isSurveyType?: boolean;
|
|
15
16
|
hasPremiumBanner?: boolean;
|
|
16
17
|
currentUrl?: string;
|
|
17
18
|
subcribeHealthStatus?: SubcribeHealthStatusType;
|
|
18
19
|
articleId?: number;
|
|
19
20
|
state?: BannerStateData;
|
|
20
21
|
setState?: Dispatch<SetStateAction<BannerStateData>>;
|
|
21
|
-
source?: 'discover' | 'together';
|
|
22
22
|
showPNModal?: boolean;
|
|
23
23
|
setShowPNModal?: Dispatch<SetStateAction<boolean>>;
|
|
24
|
+
source?: 'discover' | 'together';
|
|
24
25
|
onChange?: (state: BannerStateData) => void;
|
|
25
26
|
handleClickOption?: (v: string) => void;
|
|
26
27
|
Outside?: React.FC<any>;
|
|
27
28
|
minHeight?: number;
|
|
29
|
+
isBack?: boolean;
|
|
30
|
+
setIsBack?: Dispatch<SetStateAction<boolean>>;
|
|
28
31
|
};
|
|
29
|
-
export declare const
|
|
32
|
+
export declare const SurveyOrPremiumBannerContext: import("react").Context<SurveyOrPremiumBannerContextType>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ContainerProps } from '@mantine/core';
|
|
3
|
+
import { SurveyOrPremiumBannerContextType } from './context';
|
|
4
|
+
import { BannerCategory } from './types';
|
|
5
|
+
export type Props = {
|
|
6
|
+
Wrapper?: React.FC<any>;
|
|
7
|
+
setShouldAcquisitionModalOpen?: () => void;
|
|
8
|
+
} & Omit<SurveyOrPremiumBannerContextType, 'acquisitionInfo' | 'isLoggedIn'> & ContainerProps;
|
|
9
|
+
export declare const MAPPING_CATEGORY_PREMIUM_TYPE: {
|
|
10
|
+
[key in string]: BannerCategory;
|
|
11
|
+
};
|
|
12
|
+
export declare const MAPPING_CATEGORY_PREMIUM_API_TYPE: {
|
|
13
|
+
[key in BannerCategory]: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const SurveyOrPremiumBanner: ({ type, articleId, categoryIds, isMarketing, isSurveyType, hasPremiumBanner, currentUrl, isMobile, subcribeHealthStatus, setShouldAcquisitionModalOpen, onChange, source, state: stateProp, Wrapper, ...rest }: Props) => React.JSX.Element;
|
package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RISK_SCREENER_NAME } from "../../../interfaces/constants";
|
|
2
2
|
import { HEALTH_TOOL_NAME } from "../../../interfaces/healthTools";
|
|
3
|
+
import { DataTrackingType } from "../../../interfaces/types";
|
|
3
4
|
import { Props as BannerWithOptionsProps } from './bannerWithOption';
|
|
4
5
|
import { Props as ToolBannerProps } from './toolBanner';
|
|
5
6
|
export declare enum BannerCategory {
|
|
@@ -15,6 +16,9 @@ export declare enum OptionBannerStyleType {
|
|
|
15
16
|
}
|
|
16
17
|
export type BannerStateData = {
|
|
17
18
|
action?: BannerAction;
|
|
19
|
+
actionParams?: {
|
|
20
|
+
hideBannerWhenClose?: boolean;
|
|
21
|
+
};
|
|
18
22
|
props?: ToolBannerProps | BannerWithOptionsProps;
|
|
19
23
|
};
|
|
20
24
|
export declare enum BannerAction {
|
|
@@ -32,6 +36,7 @@ export type OptionBannerType = {
|
|
|
32
36
|
isRiskScreener: boolean;
|
|
33
37
|
isPNBtn?: boolean;
|
|
34
38
|
props?: ToolBannerProps | BannerWithOptionsProps;
|
|
39
|
+
tracking?: DataTrackingType;
|
|
35
40
|
};
|
|
36
41
|
export type ThumbnailType = {
|
|
37
42
|
desktop: string;
|
package/build/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./fixedBottomAdBlock-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./fixedBottomAdBlock-664a6e50.js"),r=require("./index-22a4d8ec.js"),o=require("./index-b99409f1.js"),t=require("./index-9669998e.js"),i=require("./index.styles-9285e23d.js"),a=require("./index-537bccbe.js"),s=require("./index-5b7dfda4.js"),n=require("./index-8383af12.js"),d=require("./index-9f6e2696.js"),u=require("./index-e022af07.js"),p=require("./index-e7f2e80f.js"),x=require("./index-dad94e78.js"),l=require("./index.styled-0d4d68f3.js"),c=require("./index-bc8fcf35.js"),q=require("./index-32d3a385.js"),C=require("./index-4efa8e7e.js"),g=require("./footer.js");require("react"),require("./screenSizeContext-4d5786c6.js"),require("styled-components"),require("lodash/throttle"),require("./useUniqueId-86a9e1d4.js"),require("./gAssets.js"),require("./index-a89b23de.js"),require("date-fns/locale"),require("./Onboarding-2b01db17.js"),require("./isProduction-e1b7813f.js"),require("./theme-1a7c14fb.js"),require("./tslib.es6-0d31715f.js"),require("@mantine/core"),require("innertext"),require("@mantine/dates"),require("dayjs"),require("./translationsContext-f962ff63.js"),require("string-format"),require("@mantine/hooks"),require("./useTranslations-2e7d64aa.js"),require("date-fns"),require("lodash/debounce"),require("./useCategory-971481b4.js"),require("./types-ef750ab6.js"),require("./index-55a6f97a.js"),require("./index-c57b487f.js"),require("react-hook-form"),require("./useHealthToolCache-10f561aa.js"),require("./getDynamicHealthTool-571597e0.js"),require("./core-5c4c9018.js"),require("./normalizeLink-28258895.js"),require("./useOutsideClick-81c62034.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-2d43911c.js"),require("uuid"),require("./cookieHelper-47e34efa.js"),require("./constants-fd82a887.js"),require("./index-58609826.js"),require("./useIsInit-790b9962.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("slugify"),require("./number-b3767f34.js"),require("react-day-picker/DayPickerInput"),require("react-dom"),require("@hookform/resolvers/yup"),require("./index.styled-b9465af1.js"),require("./utils-2fb6eb7d.js"),require("dayjs/plugin/relativeTime"),require("./paths-2ac2ae14.js"),require("./index-f36821a3.js"),require("react-contenteditable"),require("@mantine/form"),require("js-cookie"),require("lodash/flatten"),require("lodash/uniqBy"),require("./useScrollbarSize-29ac8766.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.ArticleCardV2=e.ArticleCard$1,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FixedBottomAdBlock=e.FixedBottomAdBlock,exports.FloatButtonGroup=e.FloatButtonGroup,exports.GenderOptionControl=e.GenderOptionControl,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.Avatar=r.Avatar,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Flag=i.Flag,exports.Heading=i.Heading,exports.LogoIcon=i.LogoIcon,exports.PureInput=i.PureInput,exports.StepRenderer=i.StepRenderer,exports.StepRendererContext=i.StepRendererContext,exports.TextArea=i.TextArea,exports.TextDivider=i.TextDivider,exports.Input=a.Input,exports.Container=s.Container,exports.Icon=s.Icon,exports.Label=s.Label,exports.Logo=n.Logo,exports.AdBlock=d.AdBlock,exports.AuthorBadge=d.AuthorBadge,exports.BookingBtn=d.BookingBtn,exports.DatePicker=d.DatePicker,exports.DoctorInfo=d.DoctorInfo,exports.Dropdown=d.Dropdown,exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=d.MAPPING_CATEGORY_PREMIUM_API_TYPE,exports.MAPPING_CATEGORY_PREMIUM_TYPE=d.MAPPING_CATEGORY_PREMIUM_TYPE,exports.MobileBottomNavigation=d.MobileBottomNavigation,exports.MobileBottomNavigationIcon=d.MobileBottomNavigationIcon,exports.Radio=d.Radio,exports.RadioGroup=d.RadioGroup,exports.SurveyOrPremiumBanner=d.SurveyOrPremiumBanner,exports.SurveyQuestionCard=d.SurveyQuestionCard,exports.ToolsBannerCard=d.ToolsBannerCard,exports.Text=u.Text,exports.Drawer=p.Drawer,exports.RadioImageGroup=p.RadioImageGroup,exports.CustomReferenceDot=x.CustomReferenceDot,exports.ImageWrap=x.ImageWrap,exports.Popup=l.Popup,exports.Modal=c.Modal,exports.PillCarousel=q.PillCarousel,exports.AddressInput=C.AddressInput,exports.Footer=g.Footer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"},"ms-MY":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"}};var i=Object.freeze({__proto__:null,basePath:"/care",LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},LOCALIZED_SLUGS:a,ID_OPTION_CURRENT_LOCATION:-1,ID_OPTION_ALL_LOCATION:-2});exports.ID_OPTION_ALL_LOCATION=-2,exports.ID_OPTION_CURRENT_LOCATION=-1,exports.LOCALIZED_SLUGS=a,exports.constants=i;
|
|
1
|
+
"use strict";const a={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"},"ms-MY":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"}};var i=Object.freeze({__proto__:null,basePath:"/care",LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},LOCALIZED_SLUGS:a,ID_OPTION_CURRENT_LOCATION:-1,ID_OPTION_ALL_LOCATION:-2,CLIENT_GSK:"gsk"});exports.CLIENT_GSK="gsk",exports.ID_OPTION_ALL_LOCATION=-2,exports.ID_OPTION_CURRENT_LOCATION=-1,exports.LOCALIZED_SLUGS=a,exports.constants=i;
|
package/build/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("date-fns/locale"),require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("date-fns/locale"),require("./Onboarding-2b01db17.js");var E=require("./index-a89b23de.js"),e=require("./isProduction-e1b7813f.js");exports.BEARER_TOKEN_COOKIE=E.BEARER_TOKEN_COOKIE,exports.CARE_BOOKING_LOCALES=E.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=E.CARE_LOCALES,exports.CDN_ADDRESS=E.CDN_ADDRESS,exports.DATE_FNS_LOCALE=E.DATE_FNS_LOCALE,exports.ECOM_LOCALES=E.ECOM_LOCALES,exports.FAVICONS=E.FAVICONS,exports.GA_TOKEN_COOKIE=E.GA_TOKEN_COOKIE,exports.ISO_FORMAT=E.ISO_FORMAT,exports.LOCALE_SPECS=E.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return E.QUERY_HEALTH_TOOL}}),Object.defineProperty(exports,"RISK_SCREENER_NAME",{enumerable:!0,get:function(){return E.RISK_SCREENER_NAME}}),exports.RISK_SCREENER_SLUG=E.RISK_SCREENER_SLUG,exports.STATIC_PAGES=E.STATIC_PAGES,exports.TOGETHER_LOCALES=E.TOGETHER_LOCALES,exports.UP_BASEPATH=E.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=E.domainLocales,exports.siteHost=E.siteHost,exports.siteOptions=E.siteOptions,exports.isProduction=e.isProduction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-0d31715f.js"),e=require("./isProduction-e1b7813f.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
|