@hhgtech/hhg-components 1.29.77 → 1.29.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{Instagram-10720435.js → Instagram-5735e971.js} +1 -1
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +80 -80
- package/build/cache.js +3 -3
- package/build/care.js +18 -18
- package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -1
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components.js +83 -82
- package/build/{constants-39c86c0a.js → constants-94957c92.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-44b6c361.js → core-279a7b4f.js} +2 -2
- package/build/{dataTransform-33582353.js → dataTransform-1c96db25.js} +1 -1
- package/build/{utils-027dab7c.js → defaultClassWrapper-feaae206.js} +118 -392
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-becdb106.js → Instagram-98c713bc.js} +1 -1
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +81 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -1
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components.js +59 -58
- package/build/esm/{constants-1cc39551.js → constants-78d473b4.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-adbcbe2f.js → core-2715a7c7.js} +2 -2
- package/build/esm/{dataTransform-38a6ba25.js → dataTransform-24bd11e8.js} +1 -1
- package/build/esm/{utils-e8c78fa7.js → defaultClassWrapper-fcdfc7a3.js} +108 -381
- package/build/esm/ecom.js +5 -5
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-fa828c1a.js → getDynamicHealthTool-d805169a.js} +4 -4
- package/build/esm/{getSocialList-d49f96d5.js → getSocialList-c8edb201.js} +31 -12
- 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-bb71b6ce.js → index-0de64a0f.js} +6 -6
- package/build/esm/{constants-2eb60c45.js → index-122dd8ee.js} +113 -113
- package/build/esm/{index-ae717003.js → index-18a80466.js} +2 -2
- package/build/esm/{index-d6a9a175.js → index-1f6890ad.js} +21 -21
- package/build/esm/index-272d3d01.js +216 -0
- package/build/esm/{index-10f8055c.js → index-2a4e676a.js} +2 -2
- package/build/esm/index-40fc06d9.js +298 -0
- package/build/esm/{index-8ac7b919.js → index-47a90477.js} +5 -5
- package/build/esm/{index-95029090.js → index-47d01c08.js} +2 -2
- package/build/esm/{index-2f968acd.js → index-49d819b7.js} +3 -3
- package/build/esm/{index-16af59c8.js → index-5265867b.js} +10 -10
- package/build/esm/{index-2dfe0c66.js → index-63be4c47.js} +62 -62
- package/build/esm/{index-26a17cf1.js → index-670d21ca.js} +12 -12
- package/build/esm/{index-c8e55b19.js → index-687f9ee4.js} +4 -4
- package/build/esm/{index-bffe0e7b.js → index-741ce3ab.js} +1 -1
- package/build/esm/{index-8450b670.js → index-7c6316a6.js} +2 -2
- package/build/esm/{index-a1f5a5c0.js → index-877eed06.js} +1 -1
- package/build/esm/{index-0fed808d.js → index-92fd8661.js} +2 -2
- package/build/esm/{index-de28335d.js → index-9b3bf9da.js} +11 -11
- package/build/esm/{index-3d150702.js → index-ad5c69c9.js} +2 -2
- package/build/esm/{index-62a8b174.js → index-aeb4ceda.js} +37 -37
- package/build/esm/{index-c6d9afaf.js → index-b2eed677.js} +2 -2
- package/build/esm/{index-36e18ffd.js → index-c5b3a3ba.js} +46 -47
- package/build/esm/{index-258af431.js → index-e2d856fc.js} +1052 -1052
- package/build/esm/{index-d62e3f04.js → index-ec38e886.js} +2 -2
- package/build/esm/{index-9e37013f.js → index-ecb46439.js} +5 -5
- package/build/esm/{index-3131a682.js → index-ef96fd13.js} +2 -2
- package/build/esm/{index-95b9fc82.js → index-f672661d.js} +120 -120
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +66 -65
- package/build/esm/{index.styled-64a9c965.js → index.styled-eb1001c3.js} +2 -2
- package/build/esm/{index.styles-d670cbe0.js → index.styles-bff4ac47.js} +78 -78
- package/build/esm/lead.js +28 -28
- package/build/esm/mantine.js +20 -20
- package/build/esm/misc.js +23 -20
- package/build/esm/navigation.js +35 -35
- package/build/esm/onboardingV2.js +32 -32
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-878abd29.js → routing-e7ff0e08.js} +2 -2
- package/build/esm/subot.js +27 -233
- package/build/esm/together.js +35 -35
- package/build/esm/{types-7d111505.js → types-37f2c5d4.js} +30 -30
- package/build/esm/{types-a9beb2c2.js → types-ce933060.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-d9b70788.js → useCategory-8e1387db.js} +5 -5
- package/build/esm/{useHealthToolCache-606d76d5.js → useHealthToolCache-28115f15.js} +2 -2
- package/build/esm/{useMantineLocale-4a5da5bb.js → useMantineLocale-bcfdeb0c.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-ec3d3a0c.js → usePlacesAutocomplete-837f491d.js} +1 -1
- package/build/esm/{useTranslations-d90d5386.js → useTranslations-b8c49c9b.js} +1 -1
- package/build/esm/{utils-9a265ccf.js → utils-45e55363.js} +4 -4
- package/build/esm/{utils-0a07daac.js → utils-86ef2283.js} +1 -1
- package/build/esm/vaccination.js +26 -26
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-407c625b.js → getDynamicHealthTool-27b332df.js} +4 -4
- package/build/{getSocialList-4bfd3bcd.js → getSocialList-d16604ba.js} +32 -13
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-9c6a769a.js → index-1b7f73fa.js} +5 -5
- package/build/{index-44c62bda.js → index-27c71242.js} +3 -3
- package/build/{index-358bd4c9.js → index-4026b8c5.js} +68 -68
- package/build/{index-2ad99c01.js → index-42621fec.js} +2 -2
- package/build/index-4cd9cc62.js +233 -0
- package/build/{index-10b71661.js → index-4f5ce9db.js} +2 -2
- package/build/{index-65c1110f.js → index-5033f644.js} +120 -120
- package/build/{index-38b2495c.js → index-517f6538.js} +2 -2
- package/build/{index-8fbffaaf.js → index-561d71d9.js} +55 -55
- package/build/{index-23af6839.js → index-586f0a4f.js} +8 -8
- package/build/{index-5ef6d523.js → index-5aac5fb6.js} +2 -2
- package/build/{index-41aeff4b.js → index-5ff91adf.js} +7 -7
- package/build/{constants-451fe312.js → index-6036e2a0.js} +113 -113
- package/build/{index-b2fc27d1.js → index-65765b10.js} +1 -1
- package/build/{index-389ed3cc.js → index-701c74a1.js} +12 -12
- package/build/{index-9b49e11b.js → index-74b64958.js} +4 -4
- package/build/{index-26695c30.js → index-84f7ce80.js} +2 -2
- package/build/{index-f9919edd.js → index-875d81d3.js} +10 -10
- package/build/{index-1867685a.js → index-8c04d412.js} +6 -6
- package/build/{index-ebe8498b.js → index-a903fdaa.js} +57 -58
- package/build/{WhatsApp-3fd26435.js → index-aefa01a7.js} +276 -1
- package/build/{index-028a4e83.js → index-aff82754.js} +2 -2
- package/build/{index-38f1f6f3.js → index-c9e324de.js} +22 -22
- package/build/{index-a9b49c5d.js → index-dbaa00eb.js} +11 -11
- package/build/{index-8c0b1c02.js → index-e39f5b25.js} +2 -2
- package/build/{index-2ef89336.js → index-e914bc7c.js} +1050 -1050
- package/build/{index-b3edc143.js → index-e932125b.js} +2 -2
- package/build/index.css +1 -1
- package/build/index.js +108 -107
- package/build/{index.styled-07682ea0.js → index.styled-8c14cf6c.js} +2 -2
- package/build/{index.styles-7b2242d2.js → index.styles-61201019.js} +83 -83
- package/build/lead.js +28 -28
- package/build/mantine.js +17 -17
- package/build/misc.js +23 -20
- package/build/navigation.js +35 -35
- package/build/onboardingV2.js +31 -31
- package/build/pwg.js +19 -19
- package/build/{routing-b981f60b.js → routing-40d4f591.js} +2 -2
- package/build/subot.js +338 -545
- package/build/together.js +40 -40
- package/build/{types-efd3a733.js → types-692f1edc.js} +49 -49
- package/build/{types-44e5bb3b.js → types-ade68559.js} +191 -191
- package/build/types.js +1 -1
- package/build/{useCategory-afc35cb8.js → useCategory-bbe47716.js} +5 -5
- package/build/{useHealthToolCache-a2d8b96c.js → useHealthToolCache-80cb8990.js} +2 -2
- package/build/{useMantineLocale-b2014fa7.js → useMantineLocale-97b962eb.js} +3 -3
- package/build/{usePlacesAutocomplete-6c1d9d08.js → usePlacesAutocomplete-99a452c0.js} +1 -1
- package/build/{useTranslations-7cf26ebc.js → useTranslations-76f64595.js} +1 -1
- package/build/{utils-2bce0db7.js → utils-120200ad.js} +4 -4
- package/build/{utils-5ef558ae.js → utils-dc4471cf.js} +1 -1
- package/build/vaccination.js +26 -26
- package/package.json +2 -2
- package/build/esm/WhatsApp-ea79e6c6.js +0 -24
- /package/build/{BMI_BOYS.percentile.monthly-cb72630c.js → BMI_BOYS.percentile.monthly-b2166d34.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d0234fe6.js → BMI_BOYS.percentile.weekly-8b80b329.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-45f72d65.js → BMI_BOYS.percentile.yearly-233e699b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1d54e60c.js → BMI_BOYS.zscore.monthly-17ed8572.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-3a7f8b58.js → BMI_BOYS.zscore.weekly-36c9735b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-2e2fde40.js → BMI_BOYS.zscore.yearly-e43d7246.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-0b957ea8.js → BMI_GIRLS.percentile.monthly-94ddebb1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-35358161.js → BMI_GIRLS.percentile.weekly-dc53474b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-86cf64c3.js → BMI_GIRLS.percentile.yearly-897e47f7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-9c33405d.js → BMI_GIRLS.zscore.monthly-44dcd046.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1756b9f7.js → BMI_GIRLS.zscore.weekly-6e9400e5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f1a80a3f.js → BMI_GIRLS.zscore.yearly-3cd8c63d.js} +0 -0
- /package/build/{ChevronDown-4759a935.js → ChevronDown-2775b53a.js} +0 -0
- /package/build/{Close-0228d203.js → Close-f419724f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6b654f6e.js → HEAD CIRCUM_BOYS.percentile.monthly-35ed4380.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-57dd7208.js → HEAD CIRCUM_BOYS.percentile.weekly-c7dc736d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cfbf8e37.js → HEAD CIRCUM_BOYS.percentile.yearly-4c3b2318.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2fdfecbf.js → HEAD CIRCUM_BOYS.zscore.monthly-1f1cc8dd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b9088de4.js → HEAD CIRCUM_BOYS.zscore.weekly-67593063.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c6448a06.js → HEAD CIRCUM_BOYS.zscore.yearly-197c548c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8cebd1c4.js → HEAD CIRCUM_GIRLS.percentile.monthly-47029e7a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-799abee7.js → HEAD CIRCUM_GIRLS.percentile.weekly-faf6b122.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b183def6.js → HEAD CIRCUM_GIRLS.percentile.yearly-f79cdc09.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c3c54f79.js → HEAD CIRCUM_GIRLS.zscore.monthly-329fc5a0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e3c9e267.js → HEAD CIRCUM_GIRLS.zscore.weekly-aa73a5d6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-66f1302c.js → HEAD CIRCUM_GIRLS.zscore.yearly-5fdab08f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-bc422249.js → HEIGHT_BOYS.percentile.monthly-190579ee.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-56e69b4e.js → HEIGHT_BOYS.percentile.weekly-d902f59f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-9dcdc2e4.js → HEIGHT_BOYS.percentile.yearly-87254461.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-3d513fd7.js → HEIGHT_BOYS.zscore.monthly-c741a8bb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e4db0dd5.js → HEIGHT_BOYS.zscore.weekly-c0b2c6c0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-20b4c77d.js → HEIGHT_BOYS.zscore.yearly-1a506923.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4492f4fd.js → HEIGHT_GIRLS.percentile.monthly-9b2b4c93.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-98a1ca0d.js → HEIGHT_GIRLS.percentile.weekly-5ddecf9a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-e22a6bba.js → HEIGHT_GIRLS.percentile.yearly-fa289855.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-638e6a18.js → HEIGHT_GIRLS.zscore.monthly-c9db2d0d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-31393170.js → HEIGHT_GIRLS.zscore.weekly-c38c0951.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2bf0a4a8.js → HEIGHT_GIRLS.zscore.yearly-d78a2a93.js} +0 -0
- /package/build/{Visible-47686e3a.js → Visible-34df6ee7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f4167182.js → WEIGHT_BOYS.percentile.monthly-7a5f3721.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e1a5993f.js → WEIGHT_BOYS.percentile.weekly-d86f23fa.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-2e427419.js → WEIGHT_BOYS.percentile.yearly-c154651c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8fb3a2b7.js → WEIGHT_BOYS.zscore.monthly-8f39952a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-ebcff8a7.js → WEIGHT_BOYS.zscore.weekly-3118363f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-fb7bb26f.js → WEIGHT_BOYS.zscore.yearly-d463cfe7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e7848f0f.js → WEIGHT_GIRLS.percentile.monthly-4d025f09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-337f576e.js → WEIGHT_GIRLS.percentile.weekly-89f1f560.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6ee35204.js → WEIGHT_GIRLS.percentile.yearly-e79630f6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4390e00e.js → WEIGHT_GIRLS.zscore.monthly-64bd7db5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b2742b05.js → WEIGHT_GIRLS.zscore.weekly-628674eb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-fea85463.js → WEIGHT_GIRLS.zscore.yearly-5bb1b712.js} +0 -0
- /package/build/{animation-6fbad6af.js → animation-21a29164.js} +0 -0
- /package/build/{cart-c527be69.js → cart-cd1f9e9e.js} +0 -0
- /package/build/{cookieHelper-2f7b8bb5.js → cookieHelper-6fd4e238.js} +0 -0
- /package/build/{doctor-c26d2588.js → doctor-15fac518.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-68db008a.js → BMI_BOYS.percentile.monthly-bc430a4a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-48ca1732.js → BMI_BOYS.percentile.weekly-404f8241.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-ae0d3d02.js → BMI_BOYS.percentile.yearly-cc6a1393.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3a642bb7.js → BMI_BOYS.zscore.monthly-e94926d8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-249d18d3.js → BMI_BOYS.zscore.weekly-8d1da103.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-4f9791ee.js → BMI_BOYS.zscore.yearly-94f8b37e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-3b599a05.js → BMI_GIRLS.percentile.monthly-356bd71d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-16607ad8.js → BMI_GIRLS.percentile.weekly-72979d47.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-73336b57.js → BMI_GIRLS.percentile.yearly-729c84f5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8f848687.js → BMI_GIRLS.zscore.monthly-6dea8018.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8e2a9f4a.js → BMI_GIRLS.zscore.weekly-da7a5d01.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e34dfaa4.js → BMI_GIRLS.zscore.yearly-0b0a5cae.js} +0 -0
- /package/build/esm/{ChevronDown-c0329f44.js → ChevronDown-5f18ca6b.js} +0 -0
- /package/build/esm/{Close-d87e464b.js → Close-87c65991.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-527dce16.js → HEAD CIRCUM_BOYS.percentile.monthly-1c910c23.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-98dd0a97.js → HEAD CIRCUM_BOYS.percentile.weekly-2da702f0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8166ecf3.js → HEAD CIRCUM_BOYS.percentile.yearly-9fbeb684.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-30285ff5.js → HEAD CIRCUM_BOYS.zscore.monthly-c93df36e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cb5a5177.js → HEAD CIRCUM_BOYS.zscore.weekly-930f82b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6fb22cde.js → HEAD CIRCUM_BOYS.zscore.yearly-f7523042.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-04b6b926.js → HEAD CIRCUM_GIRLS.percentile.monthly-d93ddef7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1241a9ec.js → HEAD CIRCUM_GIRLS.percentile.weekly-2c7db258.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-744c910b.js → HEAD CIRCUM_GIRLS.percentile.yearly-07202ee1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d84c6e78.js → HEAD CIRCUM_GIRLS.zscore.monthly-fafa785c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b9ca043.js → HEAD CIRCUM_GIRLS.zscore.weekly-28b41bdb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8d2bfd9b.js → HEAD CIRCUM_GIRLS.zscore.yearly-c5b3bc8b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-99472da3.js → HEIGHT_BOYS.percentile.monthly-0a092d31.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-1aee0bde.js → HEIGHT_BOYS.percentile.weekly-5827b445.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-38092fb0.js → HEIGHT_BOYS.percentile.yearly-b88283c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-f3f65922.js → HEIGHT_BOYS.zscore.monthly-d275f074.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-70d2afc1.js → HEIGHT_BOYS.zscore.weekly-20bbf392.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4e6e2a36.js → HEIGHT_BOYS.zscore.yearly-2eea3a9c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f5deee2b.js → HEIGHT_GIRLS.percentile.monthly-9ad65492.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0c657519.js → HEIGHT_GIRLS.percentile.weekly-898065d3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1deed5e9.js → HEIGHT_GIRLS.percentile.yearly-ac5ceb79.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-cb644457.js → HEIGHT_GIRLS.zscore.monthly-327bdfa5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-49dd8375.js → HEIGHT_GIRLS.zscore.weekly-e25ddbc7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-950158e4.js → HEIGHT_GIRLS.zscore.yearly-5531c2e3.js} +0 -0
- /package/build/esm/{Visible-73c96479.js → Visible-70c720bb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2ed3f112.js → WEIGHT_BOYS.percentile.monthly-e199416b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3ced9bfa.js → WEIGHT_BOYS.percentile.weekly-0965076a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e200a25c.js → WEIGHT_BOYS.percentile.yearly-d04404d7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4a00ce48.js → WEIGHT_BOYS.zscore.monthly-be1ae0cd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cbd95b9c.js → WEIGHT_BOYS.zscore.weekly-8b6854c4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-70fa4821.js → WEIGHT_BOYS.zscore.yearly-bd90b96f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e887c3ea.js → WEIGHT_GIRLS.percentile.monthly-a4bb8428.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-01c5ac35.js → WEIGHT_GIRLS.percentile.weekly-c288d810.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-27fc7e31.js → WEIGHT_GIRLS.percentile.yearly-73a5ae07.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-bf8085a6.js → WEIGHT_GIRLS.zscore.monthly-cbcfdab4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-729252a6.js → WEIGHT_GIRLS.zscore.weekly-185ff336.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7aae5db4.js → WEIGHT_GIRLS.zscore.yearly-c31a0aee.js} +0 -0
- /package/build/esm/{animation-791a5496.js → animation-9a3ca482.js} +0 -0
- /package/build/esm/{cart-24fe471a.js → cart-5f758c33.js} +0 -0
- /package/build/esm/{cookieHelper-dc30b23e.js → cookieHelper-9c963e09.js} +0 -0
- /package/build/esm/{doctor-407e7c56.js → doctor-1d62f054.js} +0 -0
- /package/build/esm/{index-24b9c26b.js → index-4687d5f8.js} +0 -0
- /package/build/esm/{index-e39cfd72.js → index-90e772e4.js} +0 -0
- /package/build/esm/{index-a3f9e8d3.js → index-931414db.js} +0 -0
- /package/build/esm/{isProduction-34384c12.js → isProduction-d39b7ab2.js} +0 -0
- /package/build/esm/{localizeNumberFormat-674a367b.js → localizeNumberFormat-f838842a.js} +0 -0
- /package/build/esm/{normalizeLink-8ab2c8da.js → normalizeLink-65565106.js} +0 -0
- /package/build/esm/{number-ba9ba596.js → number-cad310d0.js} +0 -0
- /package/build/esm/{paths-50f78662.js → paths-8fc18a86.js} +0 -0
- /package/build/esm/{theme-f9fa9f7d.js → theme-eb1b39f6.js} +0 -0
- /package/build/esm/{translationsContext-af680337.js → translationsContext-dfb42bf8.js} +0 -0
- /package/build/esm/{tslib.es6-8f144c22.js → tslib.es6-efad16cf.js} +0 -0
- /package/build/esm/{useIsInit-8490d361.js → useIsInit-f341c0e8.js} +0 -0
- /package/build/esm/{useOutsideClick-43bfe834.js → useOutsideClick-e10b28ce.js} +0 -0
- /package/build/esm/{useScrollbarSize-7162b71f.js → useScrollbarSize-594c61c3.js} +0 -0
- /package/build/esm/{useUniqueId-472fb987.js → useUniqueId-d5f7586b.js} +0 -0
- /package/build/esm/{utils-1997593f.js → utils-0d590d5e.js} +0 -0
- /package/build/{index-bc8ea61e.js → index-0b957c10.js} +0 -0
- /package/build/{index-f9037c98.js → index-d54d6c50.js} +0 -0
- /package/build/{index-e8aa716f.js → index-d628859e.js} +0 -0
- /package/build/{index-058eef4b.js → index-d8c60733.js} +0 -0
- /package/build/{isProduction-38f0d828.js → isProduction-7f7f09ad.js} +0 -0
- /package/build/{localizeNumberFormat-a3608c43.js → localizeNumberFormat-011e6f65.js} +0 -0
- /package/build/{normalizeLink-e4b395be.js → normalizeLink-23b10200.js} +0 -0
- /package/build/{number-9ed235ec.js → number-249e0e0b.js} +0 -0
- /package/build/{paths-e9129f2e.js → paths-02f54499.js} +0 -0
- /package/build/{theme-9f0f3820.js → theme-416e0fd4.js} +0 -0
- /package/build/{translationsContext-bfbdca60.js → translationsContext-6f3c14ea.js} +0 -0
- /package/build/{tslib.es6-fd9cd13e.js → tslib.es6-dd1fc8f2.js} +0 -0
- /package/build/{useIsInit-35d2df26.js → useIsInit-bb64ffbf.js} +0 -0
- /package/build/{useOutsideClick-1f18b14b.js → useOutsideClick-bd35bba1.js} +0 -0
- /package/build/{useScrollbarSize-645a7822.js → useScrollbarSize-57b0fd8a.js} +0 -0
- /package/build/{useUniqueId-07b21aa4.js → useUniqueId-4bafae28.js} +0 -0
- /package/build/{utils-07a0efea.js → utils-3a589c92.js} +0 -0
package/build/esm/vaccination.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-efad16cf.js';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect, Fragment } from 'react';
|
|
3
3
|
import { Stack, Flex, Badge, Grid, Box, Input, Container, AspectRatio as AspectRatio$1, Tabs, ScrollArea, Divider, SimpleGrid } from '@mantine/core';
|
|
4
|
-
import { B as Button, t as themeColors, b as AspectRatio, u as useScreenSize } from './index-
|
|
4
|
+
import { B as Button, t as themeColors, b as AspectRatio, u as useScreenSize } from './index-e2d856fc.js';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import { G as Gender } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text } from './index-
|
|
11
|
-
import { t as theme } from './theme-
|
|
12
|
-
import { u as useTranslations } from './useTranslations-
|
|
6
|
+
import './index-ef96fd13.js';
|
|
7
|
+
import { G as Gender } from './index-877eed06.js';
|
|
8
|
+
import './index-92fd8661.js';
|
|
9
|
+
import './useMantineLocale-bcfdeb0c.js';
|
|
10
|
+
import { T as Text } from './index-b2eed677.js';
|
|
11
|
+
import { t as theme } from './theme-eb1b39f6.js';
|
|
12
|
+
import { u as useTranslations } from './useTranslations-b8c49c9b.js';
|
|
13
13
|
import { useDisclosure } from '@mantine/hooks';
|
|
14
|
-
import { M as MediaQueries } from './utils-
|
|
14
|
+
import { M as MediaQueries } from './utils-0d590d5e.js';
|
|
15
15
|
import styled from '@emotion/styled';
|
|
16
|
-
import { S as Switch } from './index-
|
|
17
|
-
import './translationsContext-
|
|
16
|
+
import { S as Switch } from './index-90e772e4.js';
|
|
17
|
+
import './translationsContext-dfb42bf8.js';
|
|
18
18
|
import 'string-format';
|
|
19
19
|
import { Current, Upcoming, Missed, Vaccinated, ArrowRight } from '@hhgtech/icons/other';
|
|
20
|
-
import { M as Modal } from './index-
|
|
20
|
+
import { M as Modal } from './index-ad5c69c9.js';
|
|
21
21
|
import { useForm } from '@mantine/form';
|
|
22
22
|
import dayjs from 'dayjs';
|
|
23
23
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
24
|
-
import { D as DatePicker } from './index-
|
|
25
|
-
import './index.styles-
|
|
26
|
-
import { H as Heading } from './index-
|
|
27
|
-
import './
|
|
28
|
-
import './utils-
|
|
29
|
-
import './
|
|
30
|
-
import './
|
|
31
|
-
import './index.styled-
|
|
32
|
-
import './index-
|
|
24
|
+
import { D as DatePicker } from './index-47a90477.js';
|
|
25
|
+
import './index.styles-bff4ac47.js';
|
|
26
|
+
import { H as Heading } from './index-7c6316a6.js';
|
|
27
|
+
import './index-122dd8ee.js';
|
|
28
|
+
import './utils-45e55363.js';
|
|
29
|
+
import './defaultClassWrapper-fcdfc7a3.js';
|
|
30
|
+
import './index-40fc06d9.js';
|
|
31
|
+
import './index.styled-eb1001c3.js';
|
|
32
|
+
import './index-4687d5f8.js';
|
|
33
33
|
import '@mantine/carousel';
|
|
34
34
|
import 'classnames';
|
|
35
|
-
import './useUniqueId-
|
|
35
|
+
import './useUniqueId-d5f7586b.js';
|
|
36
36
|
import '@hhgtech/icons/core';
|
|
37
37
|
import 'date-fns/locale';
|
|
38
|
-
import './isProduction-
|
|
38
|
+
import './isProduction-d39b7ab2.js';
|
|
39
39
|
import '@emotion/react';
|
|
40
|
-
import './animation-
|
|
40
|
+
import './animation-9a3ca482.js';
|
|
41
41
|
import 'react-keyed-flatten-children';
|
|
42
|
-
import './cookieHelper-
|
|
42
|
+
import './cookieHelper-9c963e09.js';
|
|
43
43
|
import 'slugify';
|
|
44
44
|
|
|
45
45
|
const StyledVaccineCard = styled.div `
|
package/build/footer.js
CHANGED
|
@@ -2,36 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-701c74a1.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-d8c60733.js');
|
|
8
8
|
require('dayjs');
|
|
9
|
-
require('./index-
|
|
9
|
+
require('./index-517f6538.js');
|
|
10
10
|
require('date-fns/locale');
|
|
11
|
-
require('./index-
|
|
12
|
-
require('./isProduction-
|
|
13
|
-
require('./index-
|
|
14
|
-
require('./tslib.es6-
|
|
11
|
+
require('./index-0b957c10.js');
|
|
12
|
+
require('./isProduction-7f7f09ad.js');
|
|
13
|
+
require('./index-e914bc7c.js');
|
|
14
|
+
require('./tslib.es6-dd1fc8f2.js');
|
|
15
15
|
require('@hhgtech/icons/other');
|
|
16
16
|
require('@mantine/core');
|
|
17
17
|
require('@mantine/hooks');
|
|
18
|
-
require('./index-
|
|
19
|
-
require('./utils-
|
|
18
|
+
require('./index-e932125b.js');
|
|
19
|
+
require('./utils-3a589c92.js');
|
|
20
20
|
require('@emotion/styled');
|
|
21
21
|
require('@mantine/carousel');
|
|
22
|
-
require('./index-
|
|
23
|
-
require('./theme-
|
|
24
|
-
require('./useMantineLocale-
|
|
22
|
+
require('./index-5aac5fb6.js');
|
|
23
|
+
require('./theme-416e0fd4.js');
|
|
24
|
+
require('./useMantineLocale-97b962eb.js');
|
|
25
25
|
require('classnames');
|
|
26
|
-
require('./useUniqueId-
|
|
26
|
+
require('./useUniqueId-4bafae28.js');
|
|
27
27
|
require('@hhgtech/icons/core');
|
|
28
28
|
require('@mantine/dates');
|
|
29
|
-
require('./translationsContext-
|
|
29
|
+
require('./translationsContext-6f3c14ea.js');
|
|
30
30
|
require('string-format');
|
|
31
|
-
require('./index-
|
|
32
|
-
require('./utils-
|
|
33
|
-
require('./index-
|
|
34
|
-
require('./index.styled-
|
|
31
|
+
require('./index-74b64958.js');
|
|
32
|
+
require('./utils-120200ad.js');
|
|
33
|
+
require('./index-84f7ce80.js');
|
|
34
|
+
require('./index.styled-8c14cf6c.js');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
package/build/gAssets.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
require('./index-
|
|
5
|
+
var index = require('./index-e932125b.js');
|
|
6
|
+
require('./index-517f6538.js');
|
|
7
7
|
require('date-fns/locale');
|
|
8
|
-
require('./index-
|
|
9
|
-
require('./isProduction-
|
|
8
|
+
require('./index-0b957c10.js');
|
|
9
|
+
require('./isProduction-7f7f09ad.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
4
|
-
var normalizeLink = require('./normalizeLink-
|
|
5
|
-
var routing = require('./routing-
|
|
6
|
-
var core = require('./core-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-dd1fc8f2.js');
|
|
4
|
+
var normalizeLink = require('./normalizeLink-23b10200.js');
|
|
5
|
+
var routing = require('./routing-40d4f591.js');
|
|
6
|
+
var core = require('./core-279a7b4f.js');
|
|
7
7
|
|
|
8
8
|
const formatHealthTool = (healthTool, locale) => {
|
|
9
9
|
var _a, _b;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
-
var Instagram = require('./Instagram-
|
|
6
|
-
var
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var index$1 = require('./index-
|
|
4
|
+
var tslib_es6 = require('./tslib.es6-dd1fc8f2.js');
|
|
5
|
+
var Instagram = require('./Instagram-5735e971.js');
|
|
6
|
+
var index$2 = require('./index-aefa01a7.js');
|
|
7
|
+
var index = require('./index-0b957c10.js');
|
|
8
|
+
var index$1 = require('./index-e932125b.js');
|
|
9
|
+
var index$3 = require('./index-4cd9cc62.js');
|
|
9
10
|
|
|
10
11
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
11
12
|
|
|
@@ -73,12 +74,24 @@ const Viber = (_a) => {
|
|
|
73
74
|
React__default["default"].createElement("path", { d: "M15.998 11a3.5 3.5 0 0 1 3.5 3.5.5.5 0 0 1-1 0 2.5 2.5 0 0 0-2.5-2.5h-.045a.5.5 0 1 1 0-1zm5.288 8.44a.77.77 0 0 0-.105-.951 12.6 12.6 0 0 0-1.98-1.43.88.88 0 0 0-1.115.155l-.405.505c-.51.63-2.07-.315-2.81-1.088-.775-.745-1.72-2.302-1.09-2.813l.505-.401a.88.88 0 0 0 .155-1.117 12 12 0 0 0-1.43-1.98.766.766 0 0 0-.95-.107 4.5 4.5 0 0 0-1.04.845 1.32 1.32 0 0 0-.355 1.357 14.8 14.8 0 0 0 3.21 5.212 14.9 14.9 0 0 0 5.21 3.207 1.32 1.32 0 0 0 1.36-.352q.476-.475.84-1.041", fill: "#fff" })));
|
|
74
75
|
};
|
|
75
76
|
|
|
77
|
+
function formatShareUrl(url, locale, channel) {
|
|
78
|
+
const fullUrl = url.startsWith('http')
|
|
79
|
+
? url
|
|
80
|
+
: `${index$3.getHelloSitesUrl(locale)}${url}`;
|
|
81
|
+
return channel
|
|
82
|
+
? (() => {
|
|
83
|
+
const newUrl = new URLSearchParams(fullUrl);
|
|
84
|
+
newUrl.append('channel', channel);
|
|
85
|
+
return newUrl.toString();
|
|
86
|
+
})()
|
|
87
|
+
: fullUrl;
|
|
88
|
+
}
|
|
76
89
|
const getSocialList = ({ shareUrl, size = 32, locale, }) => [
|
|
77
90
|
{
|
|
78
91
|
icon: React__default["default"].createElement(Facebook, { size: size }),
|
|
79
92
|
name: 'Facebook',
|
|
80
93
|
type: index.SocialType.Facebook,
|
|
81
|
-
href: `https://www.facebook.com/sharer/sharer.php?u=${shareUrl}`,
|
|
94
|
+
href: `https://www.facebook.com/sharer/sharer.php?u=${formatShareUrl(shareUrl, locale, index.SocialType.Facebook)}`,
|
|
82
95
|
},
|
|
83
96
|
{
|
|
84
97
|
icon: (React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('zalo-mini.png'), alt: "Zalo", style: {
|
|
@@ -87,32 +100,32 @@ const getSocialList = ({ shareUrl, size = 32, locale, }) => [
|
|
|
87
100
|
}, loading: "lazy" })),
|
|
88
101
|
name: 'Zalo',
|
|
89
102
|
type: index.SocialType.Zalo,
|
|
90
|
-
href: `https://sp.zalo.me/share?href=${shareUrl}`,
|
|
103
|
+
href: `https://sp.zalo.me/share?href=${formatShareUrl(shareUrl, locale, index.SocialType.Zalo)}`,
|
|
91
104
|
allowedLocales: [index.LOCALE.Vietnam],
|
|
92
105
|
},
|
|
93
106
|
{
|
|
94
107
|
icon: React__default["default"].createElement(Twitter, { size: size }),
|
|
95
108
|
name: 'Twitter',
|
|
96
109
|
type: index.SocialType.Twitter,
|
|
97
|
-
href: `https://twitter.com/intent/tweet?url=${shareUrl}`,
|
|
110
|
+
href: `https://twitter.com/intent/tweet?url=${formatShareUrl(shareUrl, locale, index.SocialType.Twitter)}`,
|
|
98
111
|
},
|
|
99
112
|
{
|
|
100
|
-
icon: React__default["default"].createElement(
|
|
113
|
+
icon: React__default["default"].createElement(index$2.WhatsApp, { size: size }),
|
|
101
114
|
name: 'WhatsApp',
|
|
102
115
|
type: index.SocialType.WhatsApp,
|
|
103
|
-
href: `https://wa.me/?text=${shareUrl}`,
|
|
116
|
+
href: `https://wa.me/?text=${formatShareUrl(shareUrl, locale, index.SocialType.WhatsApp)}`,
|
|
104
117
|
},
|
|
105
118
|
{
|
|
106
119
|
icon: React__default["default"].createElement(Linkedin, { size: size }),
|
|
107
120
|
name: 'LinkedIn',
|
|
108
121
|
type: index.SocialType.LinkedIn,
|
|
109
|
-
href: `https://www.linkedin.com/sharing/share-offsite/?url=${shareUrl}`,
|
|
122
|
+
href: `https://www.linkedin.com/sharing/share-offsite/?url=${formatShareUrl(shareUrl, locale, index.SocialType.LinkedIn)}`,
|
|
110
123
|
},
|
|
111
124
|
{
|
|
112
125
|
icon: React__default["default"].createElement(Line, { size: size }),
|
|
113
126
|
name: 'Line',
|
|
114
127
|
type: index.SocialType.Line,
|
|
115
|
-
href: `http://line.me/R/msg/text/?${shareUrl}`,
|
|
128
|
+
href: `http://line.me/R/msg/text/?${formatShareUrl(shareUrl, locale, index.SocialType.Line)}`,
|
|
116
129
|
allowedLocales: [index.LOCALE.Taiwan],
|
|
117
130
|
},
|
|
118
131
|
{
|
|
@@ -141,6 +154,7 @@ const getSocialList = ({ shareUrl, size = 32, locale, }) => [
|
|
|
141
154
|
index.LOCALE.Cambodia,
|
|
142
155
|
index.LOCALE.Vietnam,
|
|
143
156
|
index.LOCALE.Indonesia,
|
|
157
|
+
index.LOCALE.Thailand,
|
|
144
158
|
],
|
|
145
159
|
},
|
|
146
160
|
{
|
|
@@ -156,7 +170,12 @@ const getSocialList = ({ shareUrl, size = 32, locale, }) => [
|
|
|
156
170
|
: locale === index.LOCALE.Vietnam
|
|
157
171
|
? 'https://www.tiktok.com/@hellobacsi'
|
|
158
172
|
: '',
|
|
159
|
-
allowedLocales: [
|
|
173
|
+
allowedLocales: [
|
|
174
|
+
index.LOCALE.Malaysia,
|
|
175
|
+
index.LOCALE.Cambodia,
|
|
176
|
+
index.LOCALE.Vietnam,
|
|
177
|
+
index.LOCALE.Thailand,
|
|
178
|
+
],
|
|
160
179
|
},
|
|
161
180
|
{
|
|
162
181
|
icon: React__default["default"].createElement(Telegram, { size: size }),
|
package/build/hooks.js
CHANGED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var useTranslations = require('./useTranslations-
|
|
6
|
-
var useScrollbarSize = require('./useScrollbarSize-
|
|
7
|
-
var useCategory = require('./useCategory-
|
|
8
|
-
var useHealthToolCache = require('./useHealthToolCache-
|
|
9
|
-
var useIsInit = require('./useIsInit-
|
|
10
|
-
var useOutsideClick = require('./useOutsideClick-
|
|
11
|
-
var useUniqueId = require('./useUniqueId-
|
|
5
|
+
var useTranslations = require('./useTranslations-76f64595.js');
|
|
6
|
+
var useScrollbarSize = require('./useScrollbarSize-57b0fd8a.js');
|
|
7
|
+
var useCategory = require('./useCategory-bbe47716.js');
|
|
8
|
+
var useHealthToolCache = require('./useHealthToolCache-80cb8990.js');
|
|
9
|
+
var useIsInit = require('./useIsInit-bb64ffbf.js');
|
|
10
|
+
var useOutsideClick = require('./useOutsideClick-bd35bba1.js');
|
|
11
|
+
var useUniqueId = require('./useUniqueId-4bafae28.js');
|
|
12
12
|
require('react');
|
|
13
|
-
require('./translationsContext-
|
|
13
|
+
require('./translationsContext-6f3c14ea.js');
|
|
14
14
|
require('string-format');
|
|
15
15
|
require('lodash/debounce');
|
|
16
|
-
require('./tslib.es6-
|
|
17
|
-
require('./cookieHelper-
|
|
18
|
-
require('./index-
|
|
19
|
-
require('./getDynamicHealthTool-
|
|
20
|
-
require('./normalizeLink-
|
|
21
|
-
require('./routing-
|
|
22
|
-
require('./index-
|
|
16
|
+
require('./tslib.es6-dd1fc8f2.js');
|
|
17
|
+
require('./cookieHelper-6fd4e238.js');
|
|
18
|
+
require('./index-0b957c10.js');
|
|
19
|
+
require('./getDynamicHealthTool-27b332df.js');
|
|
20
|
+
require('./normalizeLink-23b10200.js');
|
|
21
|
+
require('./routing-40d4f591.js');
|
|
22
|
+
require('./index-517f6538.js');
|
|
23
23
|
require('date-fns/locale');
|
|
24
|
-
require('./isProduction-
|
|
25
|
-
require('./core-
|
|
24
|
+
require('./isProduction-7f7f09ad.js');
|
|
25
|
+
require('./core-279a7b4f.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
package/build/i18n.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var translationsContext = require('./translationsContext-
|
|
5
|
+
var translationsContext = require('./translationsContext-6f3c14ea.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var i18nValues_enPH = require('./i18n-values/en-PH.js');
|
|
8
8
|
var i18nValues_hiIN = require('./i18n-values/hi-IN.js');
|
package/build/i18nV2.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var translationsContext = require('./translationsContext-
|
|
5
|
+
var translationsContext = require('./translationsContext-6f3c14ea.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
|
|
8
8
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-dd1fc8f2.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var core = require('@mantine/core');
|
|
6
6
|
var dates = require('@mantine/dates');
|
|
7
|
-
var index$1 = require('./index-
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var index$2 = require('./index-
|
|
10
|
-
var useMantineLocale = require('./useMantineLocale-
|
|
7
|
+
var index$1 = require('./index-517f6538.js');
|
|
8
|
+
var index = require('./index-0b957c10.js');
|
|
9
|
+
var index$2 = require('./index-e932125b.js');
|
|
10
|
+
var useMantineLocale = require('./useMantineLocale-97b962eb.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
13
13
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var useTranslations = require('./useTranslations-
|
|
4
|
+
var index = require('./index-586f0a4f.js');
|
|
5
|
+
var useTranslations = require('./useTranslations-76f64595.js');
|
|
6
6
|
var dateFns = require('date-fns');
|
|
7
7
|
var DayPickerInput = require('react-day-picker/DayPickerInput');
|
|
8
8
|
var styled = require('@emotion/styled');
|
|
9
|
-
var theme = require('./theme-
|
|
9
|
+
var theme = require('./theme-416e0fd4.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
12
12
|
|
|
@@ -1,72 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-dd1fc8f2.js');
|
|
3
4
|
var React = require('react');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var isProduction = require('./isProduction-38f0d828.js');
|
|
5
|
+
var paths = require('./paths-02f54499.js');
|
|
6
|
+
var index$1 = require('./index-6036e2a0.js');
|
|
7
|
+
var index$2 = require('./index-e914bc7c.js');
|
|
8
|
+
var index = require('./index-517f6538.js');
|
|
9
|
+
var defaultClassWrapper = require('./defaultClassWrapper-feaae206.js');
|
|
10
|
+
var useTranslations = require('./useTranslations-76f64595.js');
|
|
11
|
+
var isProduction = require('./isProduction-7f7f09ad.js');
|
|
12
|
+
var index_styles = require('./index.styles-61201019.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
15
15
|
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Consider to use mantine
|
|
20
|
-
*/
|
|
21
|
-
const Divider = ({ type = 'solid', className, style }) => {
|
|
22
|
-
return (React__default["default"].createElement(index_styles.StyledDivider, { style: style, className: className, "data-diver-type": type, dividerType: type }));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const AuthorLabelTextMapping = {
|
|
26
|
-
admin: 'cardAuthor.admin',
|
|
27
|
-
moderator: 'cardAuthor.moderator',
|
|
28
|
-
ambassador: 'cardAuthor.ambassador',
|
|
29
|
-
expert: 'cardAuthor.expert',
|
|
30
|
-
sponsor: 'cardAuthor.sponsor',
|
|
31
|
-
// 'local-admin': 'cardAuthor.localAdmin',
|
|
32
|
-
guide: 'cardAuthor.guide',
|
|
33
|
-
influencer: 'cardAuthor.influencer',
|
|
34
|
-
};
|
|
35
|
-
const looselyMatchRole = (role) => {
|
|
36
|
-
const allRoles = [
|
|
37
|
-
'admin',
|
|
38
|
-
'moderator',
|
|
39
|
-
'ambassador',
|
|
40
|
-
'expert',
|
|
41
|
-
'sponsor',
|
|
42
|
-
'guide',
|
|
43
|
-
'influencer',
|
|
44
|
-
];
|
|
45
|
-
return allRoles.find((r) => r === role);
|
|
46
|
-
};
|
|
47
|
-
const AuthorBadge = (_a) => {
|
|
48
|
-
var { siteType, role, title, styles, className } = _a, rest = tslib_es6.__rest(_a, ["siteType", "role", "title", "styles", "className"]);
|
|
49
|
-
const { t } = useTranslations.useTranslations();
|
|
50
|
-
const matchedRole = role ? looselyMatchRole(role) : '';
|
|
51
|
-
const { classes, cx } = index_styles.useStyles(undefined,
|
|
52
|
-
// Second argument is responsible for styles api integration
|
|
53
|
-
{ name: 'AuthorBadge', styles });
|
|
54
|
-
return matchedRole && AuthorLabelTextMapping[matchedRole] ? (React__default["default"].createElement("div", Object.assign({
|
|
55
|
-
// className={styles.authorBadge}
|
|
56
|
-
className: cx(classes.root, className), "data-label-type": matchedRole, "data-is-marrybaby": siteType === 'marryBaby' }, rest), title || t(AuthorLabelTextMapping[matchedRole]))) : null;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const BtnChoice = ({ value: valueInit, choices, onChange }) => {
|
|
60
|
-
const [value, setValue] = React.useState(valueInit);
|
|
61
|
-
React.useEffect(() => {
|
|
62
|
-
setValue(valueInit);
|
|
63
|
-
}, [valueInit]);
|
|
64
|
-
return (React__default["default"].createElement(index_styles.StyledContainer, null, choices.map((i, idx) => (React__default["default"].createElement(index.Button, { dataEventCategory: i.dataEventCategory, dataEventAction: i.dataEventAction, dataEventLabel: i.dataEventLabel, size: "sm", variant: i.value === value ? 'primary' : 'tertiary', key: idx, onClick: () => {
|
|
65
|
-
setValue(i.value);
|
|
66
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(i.value);
|
|
67
|
-
} }, i.label || '')))));
|
|
68
|
-
};
|
|
69
|
-
|
|
70
18
|
const BookingBtn = (_a) => {
|
|
71
19
|
var { label, bookingId, bookingType = 'doctor', locale = 'vi-VN' } = _a, rest = tslib_es6.__rest(_a, ["label", "bookingId", "bookingType", "locale"]);
|
|
72
20
|
const { t } = useTranslations.useTranslations();
|
|
@@ -89,29 +37,29 @@ const BookingBtn = (_a) => {
|
|
|
89
37
|
: '';
|
|
90
38
|
try {
|
|
91
39
|
setLoading(true);
|
|
92
|
-
const response = yield
|
|
40
|
+
const response = yield defaultClassWrapper.callApi(defaultClassWrapper.getCarePath(url, {
|
|
93
41
|
id: bookingId,
|
|
94
|
-
site: index
|
|
42
|
+
site: index.domainLocales[locale],
|
|
95
43
|
}), 'get');
|
|
96
44
|
if ((response === null || response === void 0 ? void 0 : response._status) === 1) {
|
|
97
45
|
const result = bookingType === 'doctor'
|
|
98
46
|
? {
|
|
99
47
|
id: (_c = (_b = response === null || response === void 0 ? void 0 : response._data) === null || _b === void 0 ? void 0 : _b.doctor) === null || _c === void 0 ? void 0 : _c.id,
|
|
100
48
|
slug: (_e = (_d = response === null || response === void 0 ? void 0 : response._data) === null || _d === void 0 ? void 0 : _d.doctor) === null || _e === void 0 ? void 0 : _e.slug,
|
|
101
|
-
localSlug: (_f =
|
|
49
|
+
localSlug: (_f = index$1.LOCALIZED_SLUGS[locale]) === null || _f === void 0 ? void 0 : _f.DOCTOR,
|
|
102
50
|
}
|
|
103
51
|
: bookingType === 'hospital'
|
|
104
52
|
? {
|
|
105
53
|
id: (_h = (_g = response === null || response === void 0 ? void 0 : response._data) === null || _g === void 0 ? void 0 : _g.branch) === null || _h === void 0 ? void 0 : _h.id,
|
|
106
54
|
slug: (_k = (_j = response === null || response === void 0 ? void 0 : response._data) === null || _j === void 0 ? void 0 : _j.branch) === null || _k === void 0 ? void 0 : _k.slug,
|
|
107
|
-
localSlug: (_l =
|
|
55
|
+
localSlug: (_l = index$1.LOCALIZED_SLUGS[locale]) === null || _l === void 0 ? void 0 : _l.HOSPITAL,
|
|
108
56
|
}
|
|
109
57
|
: {
|
|
110
58
|
id: (_o = (_m = response === null || response === void 0 ? void 0 : response._data) === null || _m === void 0 ? void 0 : _m.service) === null || _o === void 0 ? void 0 : _o.id,
|
|
111
59
|
slug: (_q = (_p = response === null || response === void 0 ? void 0 : response._data) === null || _p === void 0 ? void 0 : _p.service) === null || _q === void 0 ? void 0 : _q.slug,
|
|
112
|
-
localSlug: (_r =
|
|
60
|
+
localSlug: (_r = index$1.LOCALIZED_SLUGS[locale]) === null || _r === void 0 ? void 0 : _r.SERVICE,
|
|
113
61
|
};
|
|
114
|
-
window.location.href = `https://${!isProduction.isProduction ? 'discover.' : ''}${index
|
|
62
|
+
window.location.href = `https://${!isProduction.isProduction ? 'discover.' : ''}${index.domainLocales[locale]}/care/${result.localSlug}/${result.slug}-${result.id}/`;
|
|
115
63
|
}
|
|
116
64
|
else {
|
|
117
65
|
setLoading(false);
|
|
@@ -122,7 +70,59 @@ const BookingBtn = (_a) => {
|
|
|
122
70
|
setLoading(false);
|
|
123
71
|
}
|
|
124
72
|
}), []);
|
|
125
|
-
return bookingId && bookingType ? (React__default["default"].createElement(index.Button, Object.assign({ dataEventCategory: "Care", dataEventAction: "Comment - Quick Booking", dataEventLabel: currentUrl, onClick: handleOnClick, loading: loading }, rest), label || t('careBooking.bookAnAppointment'))) : null;
|
|
73
|
+
return bookingId && bookingType ? (React__default["default"].createElement(index$2.Button, Object.assign({ dataEventCategory: "Care", dataEventAction: "Comment - Quick Booking", dataEventLabel: currentUrl, onClick: handleOnClick, loading: loading }, rest), label || t('careBooking.bookAnAppointment'))) : null;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const AuthorLabelTextMapping = {
|
|
77
|
+
admin: 'cardAuthor.admin',
|
|
78
|
+
moderator: 'cardAuthor.moderator',
|
|
79
|
+
ambassador: 'cardAuthor.ambassador',
|
|
80
|
+
expert: 'cardAuthor.expert',
|
|
81
|
+
sponsor: 'cardAuthor.sponsor',
|
|
82
|
+
// 'local-admin': 'cardAuthor.localAdmin',
|
|
83
|
+
guide: 'cardAuthor.guide',
|
|
84
|
+
influencer: 'cardAuthor.influencer',
|
|
85
|
+
};
|
|
86
|
+
const looselyMatchRole = (role) => {
|
|
87
|
+
const allRoles = [
|
|
88
|
+
'admin',
|
|
89
|
+
'moderator',
|
|
90
|
+
'ambassador',
|
|
91
|
+
'expert',
|
|
92
|
+
'sponsor',
|
|
93
|
+
'guide',
|
|
94
|
+
'influencer',
|
|
95
|
+
];
|
|
96
|
+
return allRoles.find((r) => r === role);
|
|
97
|
+
};
|
|
98
|
+
const AuthorBadge = (_a) => {
|
|
99
|
+
var { siteType, role, title, styles, className } = _a, rest = tslib_es6.__rest(_a, ["siteType", "role", "title", "styles", "className"]);
|
|
100
|
+
const { t } = useTranslations.useTranslations();
|
|
101
|
+
const matchedRole = role ? looselyMatchRole(role) : '';
|
|
102
|
+
const { classes, cx } = index_styles.useStyles(undefined,
|
|
103
|
+
// Second argument is responsible for styles api integration
|
|
104
|
+
{ name: 'AuthorBadge', styles });
|
|
105
|
+
return matchedRole && AuthorLabelTextMapping[matchedRole] ? (React__default["default"].createElement("div", Object.assign({
|
|
106
|
+
// className={styles.authorBadge}
|
|
107
|
+
className: cx(classes.root, className), "data-label-type": matchedRole, "data-is-marrybaby": siteType === 'marryBaby' }, rest), title || t(AuthorLabelTextMapping[matchedRole]))) : null;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const BtnChoice = ({ value: valueInit, choices, onChange }) => {
|
|
111
|
+
const [value, setValue] = React.useState(valueInit);
|
|
112
|
+
React.useEffect(() => {
|
|
113
|
+
setValue(valueInit);
|
|
114
|
+
}, [valueInit]);
|
|
115
|
+
return (React__default["default"].createElement(index_styles.StyledContainer, null, choices.map((i, idx) => (React__default["default"].createElement(index$2.Button, { dataEventCategory: i.dataEventCategory, dataEventAction: i.dataEventAction, dataEventLabel: i.dataEventLabel, size: "sm", variant: i.value === value ? 'primary' : 'tertiary', key: idx, onClick: () => {
|
|
116
|
+
setValue(i.value);
|
|
117
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(i.value);
|
|
118
|
+
} }, i.label || '')))));
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @deprecated Consider to use mantine
|
|
123
|
+
*/
|
|
124
|
+
const Divider = ({ type = 'solid', className, style }) => {
|
|
125
|
+
return (React__default["default"].createElement(index_styles.StyledDivider, { style: style, className: className, "data-diver-type": type, dividerType: type }));
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
exports.AuthorBadge = AuthorBadge;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-dd1fc8f2.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-e914bc7c.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|