@hhgtech/hhg-components 1.29.24 → 1.29.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/WhatsApp-07c8a89b.js +30 -0
- package/build/adapters.js +15 -15
- package/build/babyGrowth.js +139 -138
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components/atoms/icons/Facebook.d.ts +4 -0
- package/build/components/atoms/icons/Instagram.d.ts +4 -0
- package/build/components/atoms/icons/Line.d.ts +4 -0
- package/build/components/atoms/icons/Linkedin.d.ts +4 -0
- package/build/components/atoms/icons/Twitter.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +1 -0
- package/build/components/molecules/articleCard/_deprecated_index.d.ts +2 -1
- package/build/components.js +58 -57
- package/build/{constants-8caceefd.js → constants-89050728.js} +2 -2
- package/build/{constants-d9460a1f.js → constants-ad3d0d52.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-021829c9.js → core-bff85392.js} +2 -2
- package/build/{dataTransform-78c4a67d.js → dataTransform-50e33972.js} +1 -1
- package/build/ecom.js +6 -6
- package/build/esm/WhatsApp-d09516b7.js +24 -0
- package/build/esm/adapters.js +15 -15
- package/build/esm/babyGrowth.js +80 -79
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components/atoms/icons/Facebook.d.ts +4 -0
- package/build/esm/components/atoms/icons/Instagram.d.ts +4 -0
- package/build/esm/components/atoms/icons/Line.d.ts +4 -0
- package/build/esm/components/atoms/icons/Linkedin.d.ts +4 -0
- package/build/esm/components/atoms/icons/Twitter.d.ts +4 -0
- package/build/esm/components/atoms/icons/index.d.ts +1 -0
- package/build/esm/components/molecules/articleCard/_deprecated_index.d.ts +2 -1
- package/build/esm/components.js +58 -57
- package/build/esm/{constants-a05cc13c.js → constants-5f7325ef.js} +2 -2
- package/build/esm/{constants-a32afcea.js → constants-79c21c92.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-aef6bd7c.js → core-7267b1ba.js} +2 -2
- package/build/esm/{dataTransform-2b0557c3.js → dataTransform-7211ee9f.js} +1 -1
- package/build/esm/ecom.js +6 -6
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-bb5007f0.js → getDynamicHealthTool-5596ef58.js} +4 -4
- package/build/esm/getSocialList-0479269a.js +96 -0
- 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-7fd733d8.js → index-00236133.js} +4 -4
- package/build/esm/{index-d956d0c4.js → index-02d70aff.js} +11 -11
- package/build/esm/{index-8e28c60c.js → index-08d5f08b.js} +2 -2
- package/build/esm/{index-0a73e349.js → index-11c03cbe.js} +2 -2
- package/build/esm/{index-22a20bd3.js → index-1a100e64.js} +2 -2
- package/build/esm/{index-07133f6e.js → index-3b252de3.js} +4 -4
- package/build/esm/{index-449817f7.js → index-400bdb86.js} +32 -31
- package/build/esm/{index-7baa085d.js → index-4968bf7f.js} +5 -5
- package/build/esm/{index-036f720c.js → index-49d83299.js} +10 -10
- package/build/esm/{index-d8e0822e.js → index-4c2544d3.js} +6 -6
- package/build/esm/{index-3211e654.js → index-50bce58c.js} +12 -12
- package/build/esm/{index-7bb2f446.js → index-72e582d9.js} +3 -3
- package/build/esm/{index-6c43730d.js → index-937b4b1e.js} +2 -2
- package/build/esm/{index-f02f9bf3.js → index-a27bb989.js} +2 -2
- package/build/esm/{index-165a8003.js → index-a4c48088.js} +2 -2
- package/build/esm/{index-0505dc79.js → index-a8c4061c.js} +5 -3
- package/build/esm/{index-a4b9119f.js → index-b7d64257.js} +44 -43
- package/build/esm/{index-e6066930.js → index-bdb71949.js} +2 -2
- package/build/esm/{index-612e6d99.js → index-cd8a4cbb.js} +1 -1
- package/build/esm/{index-14fbb65d.js → index-d1bb8dc7.js} +9 -9
- package/build/esm/{index-0c91f0cb.js → index-d9d8ae8c.js} +10 -10
- package/build/esm/{index-8895caf1.js → index-da5f906e.js} +2 -2
- package/build/esm/{index-2a5587b4.js → index-e15e6761.js} +9 -9
- package/build/esm/{index-9d82ff5f.js → index-eeb8f3d5.js} +2 -2
- package/build/esm/{Subot-849e0b1f.js → index-f3f6733e.js} +34 -1
- package/build/esm/{index-c60acca3.js → index-f5431ce2.js} +2 -2
- package/build/esm/index.js +67 -85
- package/build/esm/{index.styled-97a1f16d.js → index.styled-acd76939.js} +2 -2
- package/build/esm/{index.styles-ce1a9b49.js → index.styles-7063d733.js} +6 -6
- package/build/esm/interfaces/types/index.d.ts +11 -0
- package/build/esm/lead/components/context.d.ts +2 -2
- package/build/esm/lead/components/index.d.ts +2 -1
- package/build/esm/lead/components/thankyou.d.ts +1 -1
- package/build/esm/lead.js +35 -31
- package/build/esm/mantine.js +21 -21
- package/build/esm/misc/getSocialList.d.ts +3 -2
- package/build/esm/misc.js +19 -18
- package/build/esm/navigation.js +35 -34
- package/build/esm/onboardingV2.js +31 -30
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-af0a1743.js → routing-d06b2078.js} +2 -2
- package/build/esm/subot.js +22 -21
- package/build/esm/together.js +34 -33
- package/build/esm/{types-3d19753e.js → types-47defec7.js} +35 -34
- package/build/esm/{types-df44133d.js → types-aa99ae07.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-09f6d418.js → useCategory-5f7f6cbc.js} +5 -5
- package/build/esm/{useHealthToolCache-6b96fa04.js → useHealthToolCache-156381c1.js} +2 -2
- package/build/esm/{useMantineLocale-d77d639c.js → useMantineLocale-7638af9a.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-cc9bae09.js → usePlacesAutocomplete-392d4e3a.js} +1 -1
- package/build/esm/{useTranslations-b9784263.js → useTranslations-34cb8199.js} +1 -1
- package/build/esm/{utils-d28efecc.js → utils-89f9665f.js} +1 -1
- package/build/esm/{utils-4268177b.js → utils-9287638a.js} +4 -4
- package/build/esm/{utils-c52b4f0f.js → utils-fe49fb79.js} +31 -24
- package/build/esm/vaccination.js +26 -25
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-44fc2240.js → getDynamicHealthTool-455e2be7.js} +4 -4
- package/build/getSocialList-794e1fa4.js +102 -0
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-d3b75bce.js → index-02ff42fa.js} +51 -50
- package/build/{index-4ed1ac23.js → index-032af09b.js} +4 -4
- package/build/{index-847cd105.js → index-112abdee.js} +9 -9
- package/build/{index-6f7a0639.js → index-16b1b2d2.js} +2 -2
- package/build/{index-4d39105f.js → index-22c1352d.js} +12 -12
- package/build/{index-0ffbc1f2.js → index-22d51c78.js} +45 -45
- package/build/{index-06b9b833.js → index-292b5b3d.js} +3 -3
- package/build/{index-3637cdac.js → index-416100e9.js} +2 -2
- package/build/{index-3bb62291.js → index-5635137b.js} +6 -4
- package/build/{Subot-c105968a.js → index-611887ae.js} +34 -0
- package/build/{index-9c22b213.js → index-6d9994f6.js} +17 -17
- package/build/{index-2f62a6a4.js → index-723fc74b.js} +13 -13
- package/build/{index-35b7a438.js → index-74490401.js} +26 -26
- package/build/{index-79e2dd5e.js → index-91dd00bb.js} +2 -2
- package/build/{index-7a4bedfe.js → index-9f5d65cc.js} +41 -40
- package/build/{index-f0722cd4.js → index-a6784ae9.js} +2 -2
- package/build/{index-c6876acd.js → index-ab6076fa.js} +2 -2
- package/build/{index-e951dff9.js → index-bc47b318.js} +1 -1
- package/build/{index-2df39677.js → index-cc76c2ee.js} +10 -10
- package/build/{index-1f804462.js → index-d57310e9.js} +12 -12
- package/build/{index-4f845222.js → index-dfd15164.js} +2 -2
- package/build/{index-79bc7fd4.js → index-e72aac09.js} +2 -2
- package/build/{index-3a7bbe2f.js → index-f0b80291.js} +2 -2
- package/build/{index-d740efa5.js → index-f2d2ab8d.js} +7 -7
- package/build/index-fabfc080.js +77 -0
- package/build/{index-180720da.js → index-fcada48b.js} +2 -2
- package/build/index.js +67 -85
- package/build/{index.styled-1fc8ac57.js → index.styled-6282c58d.js} +2 -2
- package/build/{index.styles-783940f7.js → index.styles-87951480.js} +6 -6
- package/build/interfaces/types/index.d.ts +11 -0
- package/build/lead/components/context.d.ts +2 -2
- package/build/lead/components/index.d.ts +2 -1
- package/build/lead/components/thankyou.d.ts +1 -1
- package/build/lead.js +35 -31
- package/build/mantine.js +18 -18
- package/build/misc/getSocialList.d.ts +3 -2
- package/build/misc.js +19 -18
- package/build/navigation.js +35 -34
- package/build/onboardingV2.js +30 -29
- package/build/pwg.js +19 -19
- package/build/{routing-418a849a.js → routing-0f273f40.js} +2 -2
- package/build/subot.js +204 -203
- package/build/together.js +34 -33
- package/build/{types-295436e7.js → types-88bb4c3d.js} +118 -117
- package/build/{types-d9cf0821.js → types-e4ca7d02.js} +13 -13
- package/build/types.js +20 -16
- package/build/{useCategory-07e8695a.js → useCategory-da1891d8.js} +15 -15
- package/build/{useHealthToolCache-54fbfebc.js → useHealthToolCache-074dcde7.js} +2 -2
- package/build/{useMantineLocale-b1e1aa4e.js → useMantineLocale-bedc7289.js} +23 -23
- package/build/{usePlacesAutocomplete-26179c23.js → usePlacesAutocomplete-9e9efd5b.js} +1 -1
- package/build/{useTranslations-3732dc1a.js → useTranslations-368c6b62.js} +1 -1
- package/build/{utils-e7af4f3a.js → utils-634fda39.js} +10 -10
- package/build/{utils-0315274d.js → utils-a0035e59.js} +8 -8
- package/build/{utils-1678b756.js → utils-adef9b10.js} +31 -24
- package/build/vaccination.js +32 -31
- package/package.json +1 -1
- package/build/esm/getSocialList-068a6789.js +0 -60
- package/build/getSocialList-05d18806.js +0 -66
- package/build/index-f2572f50.js +0 -77
- /package/build/{BMI_BOYS.percentile.monthly-ee2751e9.js → BMI_BOYS.percentile.monthly-f1e47d2f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-32f20da7.js → BMI_BOYS.percentile.weekly-07a3b2ec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-bb2e3837.js → BMI_BOYS.percentile.yearly-7189196f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-dcecd046.js → BMI_BOYS.zscore.monthly-6789750f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-109eab29.js → BMI_BOYS.zscore.weekly-0e4dc895.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-29c4359e.js → BMI_BOYS.zscore.yearly-d9e7371a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-7c505354.js → BMI_GIRLS.percentile.monthly-3b74a822.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-f3c133b2.js → BMI_GIRLS.percentile.weekly-b68499f0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-5f758c43.js → BMI_GIRLS.percentile.yearly-d8adbed0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-2cd15bcf.js → BMI_GIRLS.zscore.monthly-dc80967a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-011fbb79.js → BMI_GIRLS.zscore.weekly-64dc40d1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-130db8ff.js → BMI_GIRLS.zscore.yearly-3318927d.js} +0 -0
- /package/build/{ChevronDown-14cc8f9a.js → ChevronDown-d6383d6a.js} +0 -0
- /package/build/{Close-aebd80eb.js → Close-ce7036cc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c0140ca7.js → HEAD CIRCUM_BOYS.percentile.monthly-6bf46eb5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ea0b41d9.js → HEAD CIRCUM_BOYS.percentile.weekly-cc885597.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0778c564.js → HEAD CIRCUM_BOYS.percentile.yearly-87aeab64.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-65c98ffd.js → HEAD CIRCUM_BOYS.zscore.monthly-78643efc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9bc7a9c3.js → HEAD CIRCUM_BOYS.zscore.weekly-0280d1a2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-f5b5f6f8.js → HEAD CIRCUM_BOYS.zscore.yearly-01445837.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-9262a1fd.js → HEAD CIRCUM_GIRLS.percentile.monthly-69e48d5b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-10548589.js → HEAD CIRCUM_GIRLS.percentile.weekly-12263d7c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f6c5990e.js → HEAD CIRCUM_GIRLS.percentile.yearly-c4db4781.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ad54646e.js → HEAD CIRCUM_GIRLS.zscore.monthly-d8beff30.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b3eb6438.js → HEAD CIRCUM_GIRLS.zscore.weekly-9605c5e9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-a7cc47ac.js → HEAD CIRCUM_GIRLS.zscore.yearly-39c378df.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-8377f04b.js → HEIGHT_BOYS.percentile.monthly-3191fc3b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-474c71ca.js → HEIGHT_BOYS.percentile.weekly-3c1a31dd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-6ce9cf4d.js → HEIGHT_BOYS.percentile.yearly-5d462d67.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-f0e852ff.js → HEIGHT_BOYS.zscore.monthly-41b561ce.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-68bdb73b.js → HEIGHT_BOYS.zscore.weekly-fc71fd9a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-274bbb80.js → HEIGHT_BOYS.zscore.yearly-317dc13a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f935f272.js → HEIGHT_GIRLS.percentile.monthly-46be748b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-37c0f4e2.js → HEIGHT_GIRLS.percentile.weekly-44967d76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b530b18d.js → HEIGHT_GIRLS.percentile.yearly-98f49185.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c225eac2.js → HEIGHT_GIRLS.zscore.monthly-0d6193b9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-6de5c9cc.js → HEIGHT_GIRLS.zscore.weekly-dbd9ff72.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-7ffab4c7.js → HEIGHT_GIRLS.zscore.yearly-7318d0cc.js} +0 -0
- /package/build/{Visible-02caedf4.js → Visible-8ea5c859.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f1c7a767.js → WEIGHT_BOYS.percentile.monthly-cd45324c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-68444f4b.js → WEIGHT_BOYS.percentile.weekly-879eb92a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-dcf742ad.js → WEIGHT_BOYS.percentile.yearly-5ebf68f0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e46bb0dd.js → WEIGHT_BOYS.zscore.monthly-9b053444.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b90f9857.js → WEIGHT_BOYS.zscore.weekly-8aee4e2b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0c583eb6.js → WEIGHT_BOYS.zscore.yearly-0328a559.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-9bf7f347.js → WEIGHT_GIRLS.percentile.monthly-49e4e989.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-7de53d64.js → WEIGHT_GIRLS.percentile.weekly-c7706c88.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d381a469.js → WEIGHT_GIRLS.percentile.yearly-85c7bcdc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-3f9e670f.js → WEIGHT_GIRLS.zscore.monthly-77b42490.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b4b41f7a.js → WEIGHT_GIRLS.zscore.weekly-fef60d5e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-437f0293.js → WEIGHT_GIRLS.zscore.yearly-0ad61c91.js} +0 -0
- /package/build/{animation-158df58d.js → animation-b9f31019.js} +0 -0
- /package/build/{cart-172bc846.js → cart-8dde3b23.js} +0 -0
- /package/build/{cookieHelper-110230c8.js → cookieHelper-4f31bb31.js} +0 -0
- /package/build/{doctor-9a98bfee.js → doctor-3f0003e9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-17b8a051.js → BMI_BOYS.percentile.monthly-9c7dcc21.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-1ca841b5.js → BMI_BOYS.percentile.weekly-4226954a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-94d56350.js → BMI_BOYS.percentile.yearly-a8dffe2c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-f98db548.js → BMI_BOYS.zscore.monthly-58ade616.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-20d1f1b6.js → BMI_BOYS.zscore.weekly-2065daf1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-cb5affe0.js → BMI_BOYS.zscore.yearly-cad0707a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-88ea6931.js → BMI_GIRLS.percentile.monthly-cb1f41f8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5ba215b4.js → BMI_GIRLS.percentile.weekly-d6f90780.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f42a6677.js → BMI_GIRLS.percentile.yearly-039a06cc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8b4011d0.js → BMI_GIRLS.zscore.monthly-7f6b1b20.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-a3869e38.js → BMI_GIRLS.zscore.weekly-6b036648.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d257da44.js → BMI_GIRLS.zscore.yearly-91b67bdc.js} +0 -0
- /package/build/esm/{ChevronDown-2c5d8f36.js → ChevronDown-416bfda9.js} +0 -0
- /package/build/esm/{Close-1c16953e.js → Close-a26e65ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-99fd042e.js → HEAD CIRCUM_BOYS.percentile.monthly-2bb9870f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-14cdb944.js → HEAD CIRCUM_BOYS.percentile.weekly-c88f54a1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-0095d4f8.js → HEAD CIRCUM_BOYS.percentile.yearly-367d5176.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-f8cc490d.js → HEAD CIRCUM_BOYS.zscore.monthly-378c2d62.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-995728fa.js → HEAD CIRCUM_BOYS.zscore.weekly-c309f49f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5bea90a8.js → HEAD CIRCUM_BOYS.zscore.yearly-e30511a8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8068d8c7.js → HEAD CIRCUM_GIRLS.percentile.monthly-5ac85913.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2e56fdf2.js → HEAD CIRCUM_GIRLS.percentile.weekly-14274036.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a97dfd50.js → HEAD CIRCUM_GIRLS.percentile.yearly-a7e49347.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-196995bb.js → HEAD CIRCUM_GIRLS.zscore.monthly-7a70bda7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b3d8ec84.js → HEAD CIRCUM_GIRLS.zscore.weekly-89b068c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-27bfbd25.js → HEAD CIRCUM_GIRLS.zscore.yearly-b7f4af45.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3e8f5fc3.js → HEIGHT_BOYS.percentile.monthly-a999f0fe.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e30e5e64.js → HEIGHT_BOYS.percentile.weekly-d2686227.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f820f779.js → HEIGHT_BOYS.percentile.yearly-7dcd2a73.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-17d9e13b.js → HEIGHT_BOYS.zscore.monthly-c0028c73.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a182e4af.js → HEIGHT_BOYS.zscore.weekly-e7f38453.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-dd9e0a4c.js → HEIGHT_BOYS.zscore.yearly-84af2baf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-d5d4c288.js → HEIGHT_GIRLS.percentile.monthly-8c64a0fa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-13f6eb3c.js → HEIGHT_GIRLS.percentile.weekly-ae8b5233.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b33fdad4.js → HEIGHT_GIRLS.percentile.yearly-8fa6500c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9956fd8e.js → HEIGHT_GIRLS.zscore.monthly-4d6b6f8e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-12a2cb8a.js → HEIGHT_GIRLS.zscore.weekly-79f4139a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-726ba804.js → HEIGHT_GIRLS.zscore.yearly-c43f0bb3.js} +0 -0
- /package/build/esm/{Visible-add3b8f6.js → Visible-036b39c1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e53cb9b6.js → WEIGHT_BOYS.percentile.monthly-d6e312d6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-4ab7a0e8.js → WEIGHT_BOYS.percentile.weekly-4bc1d78b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-4c9558a6.js → WEIGHT_BOYS.percentile.yearly-8b7b4fb5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-04e12322.js → WEIGHT_BOYS.zscore.monthly-bcb7029b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c2b83d7b.js → WEIGHT_BOYS.zscore.weekly-090a84b8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-017839c5.js → WEIGHT_BOYS.zscore.yearly-8910f773.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f816c614.js → WEIGHT_GIRLS.percentile.monthly-39b64b5e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b03c768e.js → WEIGHT_GIRLS.percentile.weekly-edf76746.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-89f3fd8c.js → WEIGHT_GIRLS.percentile.yearly-d0036b39.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-46a656dc.js → WEIGHT_GIRLS.zscore.monthly-5c148ea8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-96fdb8d2.js → WEIGHT_GIRLS.zscore.weekly-17149fd5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2c3bc1f3.js → WEIGHT_GIRLS.zscore.yearly-d6e5d186.js} +0 -0
- /package/build/esm/{animation-6652b32e.js → animation-c650396c.js} +0 -0
- /package/build/esm/{cart-3f8ce839.js → cart-8cfdbaea.js} +0 -0
- /package/build/esm/{cookieHelper-58db8aa0.js → cookieHelper-616b2295.js} +0 -0
- /package/build/esm/{doctor-1e2a8485.js → doctor-52dc0410.js} +0 -0
- /package/build/esm/{index-069c53be.js → index-8be84396.js} +0 -0
- /package/build/esm/{index-48c4078e.js → index-c03e5a9e.js} +0 -0
- /package/build/esm/{index-5f8e9751.js → index-f52f45eb.js} +0 -0
- /package/build/esm/{isProduction-b179d542.js → isProduction-fd33d3a7.js} +0 -0
- /package/build/esm/{localizeNumberFormat-da87c823.js → localizeNumberFormat-16e5f0f8.js} +0 -0
- /package/build/esm/{normalizeLink-6dbe16fd.js → normalizeLink-c1f6b9b6.js} +0 -0
- /package/build/esm/{number-dc09b70a.js → number-5edaee64.js} +0 -0
- /package/build/esm/{paths-c8685c49.js → paths-e2bd4458.js} +0 -0
- /package/build/esm/{theme-525cd208.js → theme-ae1c8e87.js} +0 -0
- /package/build/esm/{translationsContext-ebc588b5.js → translationsContext-513ab91c.js} +0 -0
- /package/build/esm/{tslib.es6-03aebb52.js → tslib.es6-452585e1.js} +0 -0
- /package/build/esm/{types-eac520dc.js → types-2c85786a.js} +0 -0
- /package/build/esm/{useIsInit-84971935.js → useIsInit-5c554546.js} +0 -0
- /package/build/esm/{useOutsideClick-f5c92787.js → useOutsideClick-f4f779de.js} +0 -0
- /package/build/esm/{useScrollbarSize-e56bff65.js → useScrollbarSize-e1baad6c.js} +0 -0
- /package/build/esm/{useUniqueId-ab17af89.js → useUniqueId-fefc9d57.js} +0 -0
- /package/build/esm/{utils-789df23a.js → utils-1e73b43c.js} +0 -0
- /package/build/{index-f3cd8065.js → index-5f6736d5.js} +0 -0
- /package/build/{index-72221c61.js → index-8bda8035.js} +0 -0
- /package/build/{index-5336d417.js → index-dbc290d5.js} +0 -0
- /package/build/{isProduction-c69d639c.js → isProduction-bb94485c.js} +0 -0
- /package/build/{localizeNumberFormat-2b2f406c.js → localizeNumberFormat-f42a236d.js} +0 -0
- /package/build/{normalizeLink-c575f197.js → normalizeLink-f9d86b97.js} +0 -0
- /package/build/{number-62b42947.js → number-2223b513.js} +0 -0
- /package/build/{paths-95b64de8.js → paths-e2553e24.js} +0 -0
- /package/build/{theme-ccc3da72.js → theme-392525f4.js} +0 -0
- /package/build/{translationsContext-b98d0b5c.js → translationsContext-d66fd1d0.js} +0 -0
- /package/build/{tslib.es6-a094238c.js → tslib.es6-52c61ae6.js} +0 -0
- /package/build/{types-5cd01905.js → types-6145313f.js} +0 -0
- /package/build/{useIsInit-41ef76d6.js → useIsInit-9baaab18.js} +0 -0
- /package/build/{useOutsideClick-a604dc15.js → useOutsideClick-bb9559e3.js} +0 -0
- /package/build/{useScrollbarSize-def4f154.js → useScrollbarSize-46a87dc6.js} +0 -0
- /package/build/{useUniqueId-242a9815.js → useUniqueId-32e41969.js} +0 -0
- /package/build/{utils-d9b1ed21.js → utils-4465d189.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-52c61ae6.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var react = require('@emotion/react');
|
|
6
|
-
var useTranslations = require('./useTranslations-
|
|
6
|
+
var useTranslations = require('./useTranslations-368c6b62.js');
|
|
7
7
|
var debounce = require('lodash/debounce');
|
|
8
|
-
var constants = require('./constants-
|
|
8
|
+
var constants = require('./constants-ad3d0d52.js');
|
|
9
9
|
var styled = require('@emotion/styled');
|
|
10
|
-
var index$1 = require('./index-
|
|
11
|
-
var index$2 = require('./index-
|
|
12
|
-
var theme = require('./theme-
|
|
10
|
+
var index$1 = require('./index-416100e9.js');
|
|
11
|
+
var index$2 = require('./index-dfd15164.js');
|
|
12
|
+
var theme = require('./theme-392525f4.js');
|
|
13
13
|
var shuffle = require('lodash/shuffle');
|
|
14
|
-
var useOutsideClick = require('./useOutsideClick-
|
|
15
|
-
var utils = require('./utils-
|
|
14
|
+
var useOutsideClick = require('./useOutsideClick-bb9559e3.js');
|
|
15
|
+
var utils = require('./utils-4465d189.js');
|
|
16
16
|
var Skeleton = require('react-loading-skeleton');
|
|
17
|
-
var paths = require('./paths-
|
|
17
|
+
var paths = require('./paths-e2553e24.js');
|
|
18
18
|
var core = require('@mantine/core');
|
|
19
|
-
var index = require('./index-
|
|
20
|
-
var cookieHelper = require('./cookieHelper-
|
|
21
|
-
var index$3 = require('./index-
|
|
19
|
+
var index = require('./index-22d51c78.js');
|
|
20
|
+
var cookieHelper = require('./cookieHelper-4f31bb31.js');
|
|
21
|
+
var index$3 = require('./index-5f6736d5.js');
|
|
22
22
|
var core$1 = require('@hhgtech/icons/core');
|
|
23
|
-
var ChevronDown = require('./ChevronDown-
|
|
23
|
+
var ChevronDown = require('./ChevronDown-d6383d6a.js');
|
|
24
24
|
var formatString = require('string-format');
|
|
25
25
|
|
|
26
26
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
package/build/types.js
CHANGED
|
@@ -2,55 +2,59 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var index = require('./index-611887ae.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, 'BabyGrowthChartDuration', {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return index.BabyGrowthChartDuration; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, 'BabyGrowthChartType', {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return index.BabyGrowthChartType; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, 'BabyGrowthResultTab', {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return index.BabyGrowthResultTab; }
|
|
20
20
|
});
|
|
21
|
-
exports.ELEMENT_CONTROL_INPUT_TYPE =
|
|
22
|
-
exports.FULL_KEY_ADDRESS =
|
|
21
|
+
exports.ELEMENT_CONTROL_INPUT_TYPE = index.ELEMENT_CONTROL_INPUT_TYPE;
|
|
22
|
+
exports.FULL_KEY_ADDRESS = index.FULL_KEY_ADDRESS;
|
|
23
23
|
Object.defineProperty(exports, 'Gender', {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return index.Gender; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, 'LOCALE', {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return index.LOCALE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, 'NodeActionType', {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return index.NodeActionType; }
|
|
34
34
|
});
|
|
35
|
-
exports.NodeFinalTypes =
|
|
35
|
+
exports.NodeFinalTypes = index.NodeFinalTypes;
|
|
36
36
|
Object.defineProperty(exports, 'NodeIntentType', {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return index.NodeIntentType; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, 'NodeMultipleOptions', {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return index.NodeMultipleOptions; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, 'NodePosition', {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return index.NodePosition; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, 'NodeType', {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return index.NodeType; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, 'OnboardingStep', {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return index.OnboardingStep; }
|
|
55
55
|
});
|
|
56
|
-
exports
|
|
56
|
+
Object.defineProperty(exports, 'SocialType', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return index.SocialType; }
|
|
59
|
+
});
|
|
60
|
+
exports.SubotType = index.SubotType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-52c61ae6.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var cookieHelper = require('./cookieHelper-
|
|
6
|
-
var useUniqueId = require('./useUniqueId-
|
|
7
|
-
var
|
|
8
|
-
var useTranslations = require('./useTranslations-
|
|
5
|
+
var cookieHelper = require('./cookieHelper-4f31bb31.js');
|
|
6
|
+
var useUniqueId = require('./useUniqueId-32e41969.js');
|
|
7
|
+
var index = require('./index-611887ae.js');
|
|
8
|
+
var useTranslations = require('./useTranslations-368c6b62.js');
|
|
9
9
|
|
|
10
10
|
function normalizeAndHash(string) {
|
|
11
11
|
const utf8 = new TextEncoder().encode(string.trim().toLowerCase());
|
|
@@ -153,7 +153,7 @@ const PREGNANCY_SLUG = {
|
|
|
153
153
|
};
|
|
154
154
|
// NOTE: this is temporary mapping on 13/02/2023, can be outdated due to changes from content team in the future
|
|
155
155
|
const MAPPED_CATEGORY_SLUGS = {
|
|
156
|
-
[
|
|
156
|
+
[index.LOCALE.Vietnam]: {
|
|
157
157
|
sexualWellness: 'suc-khoe-tinh-duc',
|
|
158
158
|
health: 'suc-khoe',
|
|
159
159
|
healthyEating: 'an-uong-lanh-manh',
|
|
@@ -167,7 +167,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
167
167
|
diabetes: 'tieu-duong-dai-thao-duong',
|
|
168
168
|
healthyMind: 'tam-ly-tam-than',
|
|
169
169
|
},
|
|
170
|
-
[
|
|
170
|
+
[index.LOCALE.Indonesia]: {
|
|
171
171
|
pregnancy: 'kehamilan',
|
|
172
172
|
parenting: 'parenting',
|
|
173
173
|
health: 'sehat',
|
|
@@ -178,7 +178,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
178
178
|
healthyEating: '',
|
|
179
179
|
skinHealth: '',
|
|
180
180
|
},
|
|
181
|
-
[
|
|
181
|
+
[index.LOCALE.Malaysia]: {
|
|
182
182
|
pregnancy: 'kehamilan',
|
|
183
183
|
parenting: 'keibubapaan',
|
|
184
184
|
health: 'kesihatan',
|
|
@@ -189,7 +189,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
189
189
|
healthyEating: '',
|
|
190
190
|
skinHealth: '',
|
|
191
191
|
},
|
|
192
|
-
[
|
|
192
|
+
[index.LOCALE.Cambodia]: {
|
|
193
193
|
pregnancy: '%e1%9e%96%e1%9e%96%e1%9f%84%e1%9f%87',
|
|
194
194
|
parenting: '%e1%9e%85%e1%9e%b7%e1%9e%89%e1%9f%92%e1%9e%85%e1%9e%b9%e1%9e%98%e1%9e%80%e1%9e%bc%e1%9e%93',
|
|
195
195
|
health: '%e1%9e%9f%e1%9e%bb%e1%9e%81%e1%9e%97%e1%9e%b6%e1%9e%96%e1%9e%91%e1%9e%bc%e1%9e%91%e1%9f%85',
|
|
@@ -200,7 +200,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
200
200
|
healthyEating: '',
|
|
201
201
|
skinHealth: '',
|
|
202
202
|
},
|
|
203
|
-
[
|
|
203
|
+
[index.LOCALE.PhilippinesEnglish]: {
|
|
204
204
|
pregnancy: 'pregnancy',
|
|
205
205
|
parenting: 'parenting',
|
|
206
206
|
health: 'health',
|
|
@@ -211,7 +211,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
211
211
|
healthyEating: '',
|
|
212
212
|
skinHealth: '',
|
|
213
213
|
},
|
|
214
|
-
[
|
|
214
|
+
[index.LOCALE.PhilippinesTagalog]: {
|
|
215
215
|
pregnancy: 'pagbubuntis',
|
|
216
216
|
parenting: 'pagiging-magulang',
|
|
217
217
|
health: 'kalusugan',
|
|
@@ -222,7 +222,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
222
222
|
healthyEating: '',
|
|
223
223
|
skinHealth: '',
|
|
224
224
|
},
|
|
225
|
-
[
|
|
225
|
+
[index.LOCALE.Thailand]: {
|
|
226
226
|
pregnancy: '%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b8%84%e0%b8%a3%e0%b8%a3%e0%b8%a0%e0%b9%8c',
|
|
227
227
|
parenting: '%e0%b8%9e%e0%b9%88%e0%b8%ad%e0%b9%81%e0%b8%a1%e0%b9%88%e0%b9%80%e0%b8%a5%e0%b8%b5%e0%b9%89%e0%b8%a2%e0%b8%87%e0%b8%a5%e0%b8%b9%e0%b8%81',
|
|
228
228
|
health: '%e0%b8%aa%e0%b8%b8%e0%b8%82%e0%b8%a0%e0%b8%b2%e0%b8%9e',
|
|
@@ -233,7 +233,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
233
233
|
healthyEating: '',
|
|
234
234
|
skinHealth: '',
|
|
235
235
|
},
|
|
236
|
-
[
|
|
236
|
+
[index.LOCALE.Myanmar]: {
|
|
237
237
|
pregnancy: 'pregnancy',
|
|
238
238
|
parenting: 'parenting',
|
|
239
239
|
health: 'health',
|
|
@@ -244,7 +244,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
244
244
|
healthyEating: '',
|
|
245
245
|
skinHealth: '',
|
|
246
246
|
},
|
|
247
|
-
[
|
|
247
|
+
[index.LOCALE.Taiwan]: {
|
|
248
248
|
pregnancy: 'pregnancy',
|
|
249
249
|
parenting: 'parenting',
|
|
250
250
|
health: 'health',
|
|
@@ -255,7 +255,7 @@ const MAPPED_CATEGORY_SLUGS = {
|
|
|
255
255
|
healthyEating: '',
|
|
256
256
|
skinHealth: '',
|
|
257
257
|
},
|
|
258
|
-
[
|
|
258
|
+
[index.LOCALE.India]: {
|
|
259
259
|
pregnancy: 'pregnancy',
|
|
260
260
|
parenting: 'parenting',
|
|
261
261
|
health: 'health',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-52c61ae6.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var getDynamicHealthTool = require('./getDynamicHealthTool-
|
|
5
|
+
var getDynamicHealthTool = require('./getDynamicHealthTool-455e2be7.js');
|
|
6
6
|
|
|
7
7
|
const useHealthToolsCache = (locale) => {
|
|
8
8
|
const [allTools, setAllTools] = React.useState([]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
4
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var utils = require('./utils-4465d189.js');
|
|
4
|
+
var tslib_es6 = require('./tslib.es6-52c61ae6.js');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var dayjs = require('dayjs');
|
|
7
|
-
var
|
|
7
|
+
var index = require('./index-611887ae.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -62,28 +62,28 @@ const GlobalHeadingStyle = {
|
|
|
62
62
|
|
|
63
63
|
// Available locale list https://cdn.jsdelivr.net/npm/dayjs@1/locale.json
|
|
64
64
|
const MAPPED_LOCALE = {
|
|
65
|
-
[
|
|
66
|
-
[
|
|
67
|
-
[
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
[
|
|
65
|
+
[index.LOCALE.Vietnam]: 'vi',
|
|
66
|
+
[index.LOCALE.Cambodia]: 'km',
|
|
67
|
+
[index.LOCALE.India]: 'hi',
|
|
68
|
+
[index.LOCALE.Indonesia]: 'id',
|
|
69
|
+
[index.LOCALE.Malaysia]: 'ms',
|
|
70
|
+
[index.LOCALE.Thailand]: 'th',
|
|
71
|
+
[index.LOCALE.Taiwan]: 'zh-tw',
|
|
72
|
+
[index.LOCALE.PhilippinesTagalog]: 'tl-ph',
|
|
73
|
+
[index.LOCALE.PhilippinesEnglish]: 'en',
|
|
74
|
+
[index.LOCALE.Myanmar]: 'my',
|
|
75
75
|
};
|
|
76
76
|
const LOCALE_LOADERS = {
|
|
77
|
-
[
|
|
78
|
-
[
|
|
79
|
-
[
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
[
|
|
85
|
-
[
|
|
86
|
-
[
|
|
77
|
+
[index.LOCALE.Vietnam]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/vi.js')); }),
|
|
78
|
+
[index.LOCALE.Cambodia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/km.js')); }),
|
|
79
|
+
[index.LOCALE.India]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/hi.js')); }),
|
|
80
|
+
[index.LOCALE.Indonesia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/id.js')); }),
|
|
81
|
+
[index.LOCALE.Malaysia]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/ms.js')); }),
|
|
82
|
+
[index.LOCALE.Thailand]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/th.js')); }),
|
|
83
|
+
[index.LOCALE.Taiwan]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/zh-tw.js')); }),
|
|
84
|
+
[index.LOCALE.PhilippinesTagalog]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/tl-ph.js')); }),
|
|
85
|
+
[index.LOCALE.PhilippinesEnglish]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/en.js')); }),
|
|
86
|
+
[index.LOCALE.Myanmar]: () => Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('dayjs/locale/my.js')); }),
|
|
87
87
|
};
|
|
88
88
|
const useMantineLocale = (locale) => {
|
|
89
89
|
const [isLoaded, setIsLoaded] = React.useState(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var translationsContext = require('./translationsContext-
|
|
4
|
+
var translationsContext = require('./translationsContext-d66fd1d0.js');
|
|
5
5
|
var formatString = require('string-format');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var index = require('./index-611887ae.js');
|
|
4
4
|
|
|
5
5
|
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
|
6
6
|
const MAPPED_LOCALE = {
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
7
|
+
[index.LOCALE.Vietnam]: 'VN',
|
|
8
|
+
[index.LOCALE.Cambodia]: 'KH',
|
|
9
|
+
[index.LOCALE.Indonesia]: 'ID',
|
|
10
|
+
[index.LOCALE.Malaysia]: 'MY',
|
|
11
|
+
[index.LOCALE.PhilippinesEnglish]: 'PH',
|
|
12
|
+
[index.LOCALE.PhilippinesTagalog]: 'PH',
|
|
13
|
+
[index.LOCALE.Taiwan]: 'TW',
|
|
14
|
+
[index.LOCALE.Thailand]: 'TH',
|
|
15
|
+
[index.LOCALE.Myanmar]: 'MM',
|
|
16
16
|
};
|
|
17
17
|
const hiddenEmailChar = (str = '') => {
|
|
18
18
|
const domainIndex = str.indexOf('@');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var styled = require('@emotion/styled');
|
|
4
|
-
var utils = require('./utils-
|
|
4
|
+
var utils = require('./utils-4465d189.js');
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var index$1 = require('./index-
|
|
8
|
-
var
|
|
6
|
+
var index = require('./index-e72aac09.js');
|
|
7
|
+
var index$1 = require('./index-74490401.js');
|
|
8
|
+
var index$2 = require('./index-611887ae.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -280,10 +280,10 @@ const LunarNewYearMapping = {
|
|
|
280
280
|
2040: [12, 1],
|
|
281
281
|
};
|
|
282
282
|
const LunarNewYearLocale = [
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
283
|
+
index$2.LOCALE.Vietnam,
|
|
284
|
+
index$2.LOCALE.Taiwan,
|
|
285
|
+
index$2.LOCALE.Indonesia,
|
|
286
|
+
index$2.LOCALE.Malaysia,
|
|
287
287
|
];
|
|
288
288
|
const isLunarNewYear = (date) => {
|
|
289
289
|
const year = date.getFullYear();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
-
var theme = require('./theme-
|
|
6
|
-
var cookieHelper = require('./cookieHelper-
|
|
4
|
+
var tslib_es6 = require('./tslib.es6-52c61ae6.js');
|
|
5
|
+
var theme = require('./theme-392525f4.js');
|
|
6
|
+
var cookieHelper = require('./cookieHelper-4f31bb31.js');
|
|
7
7
|
var slugify = require('slugify');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-22d51c78.js');
|
|
9
9
|
var formatString = require('string-format');
|
|
10
|
-
var isProduction = require('./isProduction-
|
|
10
|
+
var isProduction = require('./isProduction-bb94485c.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
13
13
|
|
|
@@ -44,6 +44,31 @@ Eye.defaultProps = {
|
|
|
44
44
|
activeColor: theme.theme.colors.primaryBase,
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
+
const Instagram = (_a) => {
|
|
48
|
+
var { size } = _a, rest = tslib_es6.__rest(_a, ["size"]);
|
|
49
|
+
return (React__default["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
50
|
+
React__default["default"].createElement("path", { d: "M24.8997 31.9831L7.13135 32C3.2223 32.0036 0.0213251 28.8088 0.016883 24.8997L2.96183e-06 7.13135C-0.00355072 3.2223 3.19121 0.0213251 7.10026 0.016883L24.8687 2.96183e-06C28.7777 -0.00355072 31.9787 3.19121 31.9831 7.10026L32 24.8687C32.0044 28.7786 28.8088 31.9796 24.8997 31.9831Z", fill: "url(#paint0_radial_1500_2234)" }),
|
|
51
|
+
React__default["default"].createElement("path", { d: "M24.8997 31.9831L7.13135 32C3.2223 32.0036 0.0213251 28.8088 0.016883 24.8997L2.96183e-06 7.13135C-0.00355072 3.2223 3.19121 0.0213251 7.10026 0.016883L24.8687 2.96183e-06C28.7777 -0.00355072 31.9787 3.19121 31.9831 7.10026L32 24.8687C32.0044 28.7786 28.8088 31.9796 24.8997 31.9831Z", fill: "url(#paint1_radial_1500_2234)" }),
|
|
52
|
+
React__default["default"].createElement("path", { d: "M16.0002 22.2191C12.5718 22.2191 9.78125 19.4295 9.78125 16.0002C9.78125 12.5709 12.5718 9.78125 16.0002 9.78125C19.4286 9.78125 22.2191 12.5709 22.2191 16.0002C22.2191 19.4295 19.4286 22.2191 16.0002 22.2191ZM16.0002 11.5581C13.5508 11.5581 11.5581 13.5508 11.5581 16.0002C11.5581 18.4496 13.5508 20.4423 16.0002 20.4423C18.4496 20.4423 20.4423 18.4496 20.4423 16.0002C20.4423 13.5508 18.4496 11.5581 16.0002 11.5581Z", fill: "white" }),
|
|
53
|
+
React__default["default"].createElement("path", { d: "M22.6637 10.6692C23.3997 10.6692 23.9963 10.0725 23.9963 9.33654C23.9963 8.60054 23.3997 8.00391 22.6637 8.00391C21.9277 8.00391 21.3311 8.60054 21.3311 9.33654C21.3311 10.0725 21.9277 10.6692 22.6637 10.6692Z", fill: "white" }),
|
|
54
|
+
React__default["default"].createElement("path", { d: "M21.3307 27.5491H10.6696C7.24121 27.5491 4.45068 24.7595 4.45068 21.3302V10.6691C4.45068 7.23983 7.24121 4.4502 10.6696 4.4502H21.3307C24.7591 4.4502 27.5496 7.23983 27.5496 10.6691V21.3302C27.5496 24.7595 24.7591 27.5491 21.3307 27.5491ZM10.6696 6.22704C8.22025 6.22704 6.22752 8.21976 6.22752 10.6691V21.3302C6.22752 23.7795 8.22025 25.7723 10.6696 25.7723H21.3307C23.78 25.7723 25.7728 23.7795 25.7728 21.3302V10.6691C25.7728 8.21976 23.78 6.22704 21.3307 6.22704H10.6696Z", fill: "white" }),
|
|
55
|
+
React__default["default"].createElement("defs", null,
|
|
56
|
+
React__default["default"].createElement("radialGradient", { id: "paint0_radial_1500_2234", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(11.8959 32.0231) scale(39.8892 39.8892)" },
|
|
57
|
+
React__default["default"].createElement("stop", { stopColor: "#FFDD55" }),
|
|
58
|
+
React__default["default"].createElement("stop", { offset: "0.328", stopColor: "#FF543F" }),
|
|
59
|
+
React__default["default"].createElement("stop", { offset: "0.348", stopColor: "#FC5245" }),
|
|
60
|
+
React__default["default"].createElement("stop", { offset: "0.504", stopColor: "#E64771" }),
|
|
61
|
+
React__default["default"].createElement("stop", { offset: "0.643", stopColor: "#D53E91" }),
|
|
62
|
+
React__default["default"].createElement("stop", { offset: "0.761", stopColor: "#CC39A4" }),
|
|
63
|
+
React__default["default"].createElement("stop", { offset: "0.841", stopColor: "#C837AB" })),
|
|
64
|
+
React__default["default"].createElement("radialGradient", { id: "paint1_radial_1500_2234", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(5.14928 -0.399517) scale(26.4865 17.6479)" },
|
|
65
|
+
React__default["default"].createElement("stop", { stopColor: "#4168C9" }),
|
|
66
|
+
React__default["default"].createElement("stop", { offset: "0.999", stopColor: "#4168C9", stopOpacity: "0" })))));
|
|
67
|
+
};
|
|
68
|
+
Instagram.defaultProps = {
|
|
69
|
+
size: 24,
|
|
70
|
+
};
|
|
71
|
+
|
|
47
72
|
const Share = (_a) => {
|
|
48
73
|
var { size, color, activeColor, isActive, isMarryBaby } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "activeColor", "isActive", "isMarryBaby"]);
|
|
49
74
|
return isMarryBaby ? (React__default["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none" }, rest),
|
|
@@ -71,24 +96,6 @@ Spinner.defaultProps = {
|
|
|
71
96
|
size: 24,
|
|
72
97
|
};
|
|
73
98
|
|
|
74
|
-
const WhatsApp = (_a) => {
|
|
75
|
-
var { size, color: colorInit, useCurrentColor, isActive, activeColor } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "useCurrentColor", "isActive", "activeColor"]);
|
|
76
|
-
const color = useCurrentColor
|
|
77
|
-
? 'currentColor'
|
|
78
|
-
: isActive
|
|
79
|
-
? activeColor
|
|
80
|
-
: colorInit;
|
|
81
|
-
const props = Object.assign({ width: size, height: size }, rest);
|
|
82
|
-
return (React__default["default"].createElement("svg", Object.assign({ viewBox: "0 0 16 16", fill: "none" }, props),
|
|
83
|
-
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.00132 0.125C3.65869 0.125 0.12632 3.65737 0.12632 8C0.12632 9.52948 0.558762 10.9952 1.38268 12.2698L0.185496 14.9054C0.0762474 15.1467 0.117216 15.4335 0.290192 15.6337C0.422201 15.7885 0.613386 15.875 0.813675 15.875C0.872851 15.875 0.93658 15.8659 0.995756 15.8522L4.29142 14.9464C5.42943 15.5564 6.70399 15.875 8.00132 15.875C12.344 15.875 15.8763 12.3426 15.8763 8C15.8763 3.65737 12.344 0.125 8.00132 0.125ZM8.00132 14.5003C6.84966 14.5003 5.72076 14.1953 4.72842 13.6172C4.62372 13.5535 4.50081 13.5216 4.38246 13.5216C4.32329 13.5216 4.25956 13.5307 4.20038 13.5444L2.04727 14.1361L2.79836 12.4837C2.8985 12.2607 2.87574 11.9967 2.73008 11.7964C1.92892 10.6857 1.50558 9.37016 1.50558 8C1.50558 4.41756 4.41888 1.49971 8.00587 1.49971C11.5883 1.49971 14.5062 4.41301 14.5062 8C14.5016 11.5824 11.5838 14.5003 8.00132 14.5003Z", fill: color }),
|
|
84
|
-
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0279 9.17924C10.7002 8.9835 10.2677 8.76045 9.88083 8.91978C9.58494 9.04268 9.39376 9.50699 9.19802 9.74824C9.09788 9.87115 8.97952 9.88936 8.82931 9.83018C7.70951 9.38408 6.85373 8.63755 6.23465 7.60879C6.12996 7.44947 6.14817 7.32202 6.27562 7.17635C6.46226 6.95785 6.69441 6.70749 6.74448 6.41161C6.79455 6.11573 6.65799 5.76978 6.53509 5.50576C6.38032 5.16891 6.20279 4.69095 5.86594 4.49976C5.5564 4.32678 5.14672 4.42238 4.86905 4.64543C4.39108 5.03235 4.16348 5.64232 4.16804 6.24319C4.16804 6.41616 4.1908 6.58459 4.23176 6.75301C4.32736 7.14904 4.51399 7.5223 4.71883 7.87736C4.8736 8.14138 5.04658 8.40084 5.22866 8.65121C5.82497 9.46602 6.5715 10.1716 7.43184 10.6996C7.86428 10.9636 8.32858 11.1958 8.80655 11.3551C9.34369 11.5326 9.8262 11.7193 10.4089 11.61C11.0188 11.4962 11.6197 11.1184 11.861 10.5312C11.9338 10.3582 11.9702 10.1625 11.9292 9.9804C11.8473 9.58892 11.3329 9.36132 11.0279 9.17924Z", fill: color })));
|
|
85
|
-
};
|
|
86
|
-
WhatsApp.defaultProps = {
|
|
87
|
-
size: 24,
|
|
88
|
-
color: theme.theme.colors.gray600,
|
|
89
|
-
activeColor: theme.theme.colors.primaryBase,
|
|
90
|
-
};
|
|
91
|
-
|
|
92
99
|
/*!
|
|
93
100
|
* cookie
|
|
94
101
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
@@ -1151,6 +1158,7 @@ exports.DUE_DATE_FORMAT = DUE_DATE_FORMAT;
|
|
|
1151
1158
|
exports.DefaultComponentGlobalContextData = DefaultComponentGlobalContextData;
|
|
1152
1159
|
exports.Eye = Eye;
|
|
1153
1160
|
exports.HEALTH_TOOL_TYPE = HEALTH_TOOL_TYPE;
|
|
1161
|
+
exports.Instagram = Instagram;
|
|
1154
1162
|
exports.LEAD_TOKEN_COOKIE = LEAD_TOKEN_COOKIE;
|
|
1155
1163
|
exports.MAX_IMAGE_UPLOADS = MAX_IMAGE_UPLOADS;
|
|
1156
1164
|
exports.PATHS = PATHS;
|
|
@@ -1159,7 +1167,6 @@ exports.Share = Share;
|
|
|
1159
1167
|
exports.Spinner = Spinner;
|
|
1160
1168
|
exports.TogetherComponentGlobalContext = TogetherComponentGlobalContext;
|
|
1161
1169
|
exports.TogetherComponentGlobalContextProvider = TogetherComponentGlobalContextProvider;
|
|
1162
|
-
exports.WhatsApp = WhatsApp;
|
|
1163
1170
|
exports.Z_INDEX = Z_INDEX;
|
|
1164
1171
|
exports.callApi = callApi;
|
|
1165
1172
|
exports.callApiWithAdminAuth = callApiWithAdminAuth;
|
package/build/vaccination.js
CHANGED
|
@@ -2,47 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-52c61ae6.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var core = require('@mantine/core');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-74490401.js');
|
|
9
9
|
require('@mantine/dates');
|
|
10
|
-
require('./index-
|
|
11
|
-
var
|
|
12
|
-
require('./index-
|
|
13
|
-
require('./useMantineLocale-
|
|
14
|
-
var index$1 = require('./index-
|
|
15
|
-
var theme = require('./theme-
|
|
16
|
-
var useTranslations = require('./useTranslations-
|
|
10
|
+
require('./index-22d51c78.js');
|
|
11
|
+
var index$3 = require('./index-611887ae.js');
|
|
12
|
+
require('./index-e72aac09.js');
|
|
13
|
+
require('./useMantineLocale-bedc7289.js');
|
|
14
|
+
var index$1 = require('./index-dfd15164.js');
|
|
15
|
+
var theme = require('./theme-392525f4.js');
|
|
16
|
+
var useTranslations = require('./useTranslations-368c6b62.js');
|
|
17
17
|
var hooks = require('@mantine/hooks');
|
|
18
|
-
var utils = require('./utils-
|
|
18
|
+
var utils = require('./utils-4465d189.js');
|
|
19
19
|
var styled = require('@emotion/styled');
|
|
20
|
-
var index$2 = require('./index-
|
|
21
|
-
require('./translationsContext-
|
|
20
|
+
var index$2 = require('./index-8bda8035.js');
|
|
21
|
+
require('./translationsContext-d66fd1d0.js');
|
|
22
22
|
require('string-format');
|
|
23
23
|
var other = require('@hhgtech/icons/other');
|
|
24
|
-
var index$
|
|
24
|
+
var index$4 = require('./index-f0b80291.js');
|
|
25
25
|
var form = require('@mantine/form');
|
|
26
26
|
var dayjs = require('dayjs');
|
|
27
27
|
var customParseFormat = require('dayjs/plugin/customParseFormat');
|
|
28
|
-
var index$
|
|
29
|
-
require('./index.styles-
|
|
30
|
-
var index$
|
|
31
|
-
require('./constants-
|
|
32
|
-
require('./utils-
|
|
33
|
-
require('./utils-
|
|
34
|
-
require('./
|
|
35
|
-
require('./index-
|
|
28
|
+
var index$6 = require('./index-f2d2ab8d.js');
|
|
29
|
+
require('./index.styles-87951480.js');
|
|
30
|
+
var index$5 = require('./index-ab6076fa.js');
|
|
31
|
+
require('./constants-ad3d0d52.js');
|
|
32
|
+
require('./utils-a0035e59.js');
|
|
33
|
+
require('./utils-adef9b10.js');
|
|
34
|
+
require('./WhatsApp-07c8a89b.js');
|
|
35
|
+
require('./index.styled-6282c58d.js');
|
|
36
|
+
require('./index-dbc290d5.js');
|
|
36
37
|
require('@mantine/carousel');
|
|
37
38
|
require('classnames');
|
|
38
|
-
require('./useUniqueId-
|
|
39
|
+
require('./useUniqueId-32e41969.js');
|
|
39
40
|
require('@hhgtech/icons/core');
|
|
40
41
|
require('date-fns/locale');
|
|
41
|
-
require('./isProduction-
|
|
42
|
+
require('./isProduction-bb94485c.js');
|
|
42
43
|
require('@emotion/react');
|
|
43
|
-
require('./animation-
|
|
44
|
+
require('./animation-b9f31019.js');
|
|
44
45
|
require('react-keyed-flatten-children');
|
|
45
|
-
require('./cookieHelper-
|
|
46
|
+
require('./cookieHelper-4f31bb31.js');
|
|
46
47
|
require('slugify');
|
|
47
48
|
|
|
48
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -585,7 +586,7 @@ const RecordsByAgeGroup = (_a) => {
|
|
|
585
586
|
// }
|
|
586
587
|
// return null
|
|
587
588
|
// }
|
|
588
|
-
var { schedules, age, onToggle, onTitleClick, gender =
|
|
589
|
+
var { schedules, age, onToggle, onTitleClick, gender = index$3.Gender.Boy, hideBanner = false, name } = _a, rest = tslib_es6.__rest(_a, ["schedules", "age", "onToggle", "onTitleClick", "gender", "hideBanner", "name"]);
|
|
589
590
|
// const currentIndex = useMemo(() => {
|
|
590
591
|
// let idx = schedules[0].id
|
|
591
592
|
// schedules.some((schedule, scheduleIndex) =>
|
|
@@ -609,7 +610,7 @@ const RecordsByAgeGroup = (_a) => {
|
|
|
609
610
|
return (React__default["default"].createElement("div", Object.assign({}, rest), schedules.map((schedule, index) => {
|
|
610
611
|
var _a;
|
|
611
612
|
return (React__default["default"].createElement(React__default["default"].Fragment, null, ((_a = schedule.timelines) === null || _a === void 0 ? void 0 : _a.length) > 0 && (React__default["default"].createElement("div", { key: schedule.id },
|
|
612
|
-
schedule.title && !shouldHideBanner[index] && (React__default["default"].createElement(TimelineBanner, { content: schedule.title, gender: gender, icon: gender ===
|
|
613
|
+
schedule.title && !shouldHideBanner[index] && (React__default["default"].createElement(TimelineBanner, { content: schedule.title, gender: gender, icon: gender === index$3.Gender.Boy ? schedule.iconBoy : schedule.iconGirl, url: schedule.readMoreUrl, name: name })),
|
|
613
614
|
schedule.timelines.map((timeline) => (React__default["default"].createElement(_ScheduleTimeline, { key: timeline.id, timeline: timeline, onTitleClick: onTitleClick, onToggle: onToggle, isCurrent: getIsCurrent(timeline) })))))));
|
|
614
615
|
})));
|
|
615
616
|
};
|
|
@@ -620,7 +621,7 @@ const noop = () => { };
|
|
|
620
621
|
const _ConfirmModal = (_a) => {
|
|
621
622
|
var { onSubmit, date } = _a, rest = tslib_es6.__rest(_a, ["onSubmit", "date"]);
|
|
622
623
|
const { t } = useTranslations.useTranslations();
|
|
623
|
-
return (React__default["default"].createElement(index$
|
|
624
|
+
return (React__default["default"].createElement(index$4.Modal, Object.assign({ withinPortal: true, zIndex: 500, styles: {
|
|
624
625
|
body: {
|
|
625
626
|
padding: 32,
|
|
626
627
|
},
|
|
@@ -632,7 +633,7 @@ const _ConfirmModal = (_a) => {
|
|
|
632
633
|
React__default["default"].createElement("svg", { width: "80", height: "80", viewBox: "0 0 80 80", fill: "none" },
|
|
633
634
|
React__default["default"].createElement("path", { d: "M40 73.333c18.41 0 33.333-14.923 33.333-33.333S58.41 6.667 40 6.667 6.667 21.59 6.667 40 21.59 73.333 40 73.333", fill: "#FFB521" }),
|
|
634
635
|
React__default["default"].createElement("path", { d: "M39.325 48.609a2.48 2.48 0 0 1-2.48-2.48V29.147a2.48 2.48 0 1 1 4.959 0V46.13a2.48 2.48 0 0 1-2.48 2.479m.001 8.058a2.658 2.658 0 1 0 0-5.316 2.658 2.658 0 0 0 0 5.316", fill: "#fff" })),
|
|
635
|
-
React__default["default"].createElement(index$
|
|
636
|
+
React__default["default"].createElement(index$5.Heading, { tag: "h4" }, t('babyVaccine.popup.confirm.title')),
|
|
636
637
|
React__default["default"].createElement(index$1.Text, { size: "p2", color: "gray.6" },
|
|
637
638
|
React__default["default"].createElement("span", { dangerouslySetInnerHTML: {
|
|
638
639
|
__html: t('babyVaccine.popup.confirm.description', {
|
|
@@ -753,7 +754,7 @@ const _DefaultForm = (_a) => {
|
|
|
753
754
|
React__default["default"].createElement("form", Object.assign({ onSubmit: form$1.onSubmit(onSubmit) }, rest),
|
|
754
755
|
React__default["default"].createElement(core.Stack, { spacing: 20 },
|
|
755
756
|
React__default["default"].createElement(VaccineCardModal, { vaccineRecord: Object.assign(Object.assign({}, record), { status }), onToggle: (status) => form$1.setFieldValue('injected', status) }),
|
|
756
|
-
React__default["default"].createElement(index$
|
|
757
|
+
React__default["default"].createElement(index$6.DatePicker, Object.assign({ label: React__default["default"].createElement(index$1.Text, { size: "s4", weight: "semiBold", color: theme.theme.colors.gray600 }, t('babyVaccine.popup.checkbox.suggestedDate')), disabled: record.status === 'vaccinated', excludeDate: (date) => dayjs__default["default"](date).isAfter(dayjs__default["default"]().add(7, 'D')) ||
|
|
757
758
|
dayjs__default["default"](date).isBefore(dayjs__default["default"](birthday, 'YYYY-MM-DD', true), 'D') }, form$1.getInputProps('date'))),
|
|
758
759
|
doses.length > 0 && (React__default["default"].createElement(core.Input.Wrapper, null,
|
|
759
760
|
React__default["default"].createElement(core.Input.Label, null,
|
|
@@ -878,7 +879,7 @@ const VaccineDetailPopup = (_a) => {
|
|
|
878
879
|
return null;
|
|
879
880
|
if (template === 'immunization' && !vaccineDetail)
|
|
880
881
|
return null;
|
|
881
|
-
return (React__default["default"].createElement(index$
|
|
882
|
+
return (React__default["default"].createElement(index$4.Modal, Object.assign({}, rest, { title: React__default["default"].createElement(index$1.Text, { size: "s3", weight: "semiBold" }, t('babyVaccine.popup.title')), withCloseButton: true, size: 500, styles: {
|
|
882
883
|
content: {
|
|
883
884
|
[utils.MediaQueries.mbUp]: { height: 560 },
|
|
884
885
|
},
|