@hhgtech/hhg-components 1.29.76 → 1.29.78
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-86b7bc15.js → Instagram-f68f1dae.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-719fbb90.js → constants-385d01e7.js} +2 -2
- package/build/constants.js +3 -3
- package/build/{core-f571f62a.js → core-e0799ceb.js} +2 -2
- package/build/{dataTransform-aac3f8cd.js → dataTransform-c8c14a28.js} +1 -1
- package/build/{utils-83337870.js → defaultClassWrapper-8ac3b7f0.js} +118 -392
- package/build/ecom.js +5 -5
- package/build/esm/{Instagram-de0e8d98.js → Instagram-8dd26ac6.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-49a4dcdf.js → constants-5d6ab948.js} +2 -2
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-f79180f8.js → core-296015da.js} +2 -2
- package/build/esm/{dataTransform-3807c9d2.js → dataTransform-0066c53b.js} +1 -1
- package/build/esm/{utils-296f6ce0.js → defaultClassWrapper-8112e475.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-10e36e9d.js → getDynamicHealthTool-7cf3f00e.js} +4 -4
- package/build/esm/{getSocialList-a6c786db.js → getSocialList-f797bbe2.js} +31 -12
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/index-043dfbc3.js +216 -0
- package/build/esm/{index-aee34a48.js → index-09ecd45f.js} +37 -36
- package/build/esm/{index-a570b2ed.js → index-13975e28.js} +4 -4
- package/build/esm/{index-2f4855a8.js → index-25209a23.js} +37 -37
- package/build/esm/{index-53d2876e.js → index-2da84fe8.js} +1 -1
- package/build/esm/{index-cd069a89.js → index-2e13488d.js} +2 -2
- package/build/esm/{index-75509fc3.js → index-30eb73b8.js} +3 -3
- package/build/esm/{index-22423f24.js → index-4e6d8f1c.js} +11 -11
- package/build/esm/{index-efc77575.js → index-5b69b19c.js} +2 -2
- package/build/esm/{index-d0a2f6ec.js → index-5c2abf3a.js} +1052 -1052
- package/build/esm/{index-88b710e3.js → index-62059a85.js} +2 -2
- package/build/esm/{index-450a7d58.js → index-6896ecdf.js} +2 -2
- package/build/esm/{index-707072a0.js → index-6c7832ac.js} +21 -21
- package/build/esm/{index-d5092c27.js → index-70bb6ed3.js} +120 -120
- package/build/esm/{index-9c23f470.js → index-869411be.js} +10 -10
- package/build/esm/{index-413867da.js → index-94f2f772.js} +3 -3
- package/build/esm/{constants-14a25a1f.js → index-9dd8721c.js} +113 -113
- package/build/esm/{index-7d30d2d2.js → index-a2404202.js} +2 -2
- package/build/esm/{index-bc29a2b6.js → index-ad1d81e3.js} +2 -2
- package/build/esm/{index-5d51ace9.js → index-b45321ac.js} +6 -6
- package/build/esm/{index-352d0aa5.js → index-b851beaf.js} +1 -1
- package/build/esm/index-b9666693.js +298 -0
- package/build/esm/{index-caf6722b.js → index-c8e5b7ad.js} +5 -5
- package/build/esm/{index-c79781fb.js → index-dd00700b.js} +2 -2
- package/build/esm/{index-42b1983c.js → index-e80cb404.js} +12 -12
- package/build/esm/{index-f3e72b4d.js → index-ed317f58.js} +62 -62
- package/build/esm/{index-5f3f2d6f.js → index-f160e379.js} +2 -2
- package/build/esm/{index-a3ca59d6.js → index-fc868dc0.js} +5 -5
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +66 -65
- package/build/esm/{index.styled-ce027616.js → index.styled-19fa0003.js} +2 -2
- package/build/esm/{index.styles-82c0faa1.js → index.styles-0693a12e.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-322eaa4c.js → routing-ddff6eb9.js} +2 -2
- package/build/esm/subot.js +27 -233
- package/build/esm/together.js +35 -35
- package/build/esm/{types-a3ed86c8.js → types-1ab8164a.js} +13 -13
- package/build/esm/{types-44a9ece1.js → types-29a56da4.js} +30 -30
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-948fb6a8.js → useCategory-00116196.js} +5 -5
- package/build/esm/{useHealthToolCache-28a3c4c6.js → useHealthToolCache-298307bc.js} +2 -2
- package/build/esm/{useMantineLocale-9b58b685.js → useMantineLocale-e9d07649.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-dd489ec7.js → usePlacesAutocomplete-3c09ae6c.js} +1 -1
- package/build/esm/{useTranslations-d26d2dd7.js → useTranslations-ee0ed7e4.js} +1 -1
- package/build/esm/{utils-c74c31bf.js → utils-70fb5414.js} +4 -4
- package/build/esm/{utils-4caabcaf.js → utils-98843bdc.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-cbdcdf15.js → getDynamicHealthTool-fe5aca1c.js} +4 -4
- package/build/{getSocialList-1694e67f.js → getSocialList-717ee974.js} +32 -13
- package/build/hooks.js +17 -17
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-ce4f11ef.js → index-172570c5.js} +5 -5
- package/build/{index-159e2660.js → index-266faebd.js} +2 -2
- package/build/{index-0454a0b5.js → index-297519c0.js} +3 -3
- package/build/{index-61367fe0.js → index-2dd62be1.js} +12 -12
- package/build/{index-f6ac4acf.js → index-2ed617c9.js} +6 -6
- package/build/{index-ac45c9ce.js → index-2f39a918.js} +4 -4
- package/build/{index-ff3c5c20.js → index-3f5ce427.js} +11 -11
- package/build/{index-5efec884.js → index-3fea5307.js} +2 -2
- package/build/{index-dba96acd.js → index-50cc6ee0.js} +22 -22
- package/build/{index-33f0bff6.js → index-58d6aa20.js} +10 -10
- package/build/{index-813921ef.js → index-657d308e.js} +2 -2
- package/build/{constants-6781c0a5.js → index-714baad1.js} +113 -113
- package/build/{index-8c0adaed.js → index-888fe1c7.js} +2 -2
- package/build/{index-cafc9574.js → index-896cf1e8.js} +55 -55
- package/build/{index-55261180.js → index-8bbc5f6c.js} +2 -2
- package/build/{index-80b5097a.js → index-a74e681a.js} +1 -1
- package/build/{index-48aca6d7.js → index-bd99a93f.js} +1050 -1050
- package/build/{index-83e3c045.js → index-c6d8ee38.js} +68 -68
- package/build/{index-d911e858.js → index-ca2880f5.js} +48 -47
- package/build/index-d37fb502.js +233 -0
- package/build/{index-909623c9.js → index-d98b6533.js} +2 -2
- package/build/{index-a6ab742a.js → index-de879d05.js} +120 -120
- package/build/{index-b1720522.js → index-e1d386b9.js} +7 -7
- package/build/{index-b71ec348.js → index-e76edc59.js} +8 -8
- package/build/{index-1f765864.js → index-f5c1576f.js} +2 -2
- package/build/{WhatsApp-6b693d67.js → index-fbc4ad0a.js} +276 -1
- package/build/{index-07db6c89.js → index-fd9e9e31.js} +3 -3
- package/build/index.css +1 -1
- package/build/index.js +108 -107
- package/build/{index.styled-50af6497.js → index.styled-cd56f718.js} +2 -2
- package/build/{index.styles-77df1c2b.js → index.styles-15b57fec.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-19724fda.js → routing-101c464a.js} +2 -2
- package/build/subot.js +338 -545
- package/build/together.js +40 -40
- package/build/{types-841ea0f8.js → types-65270049.js} +49 -49
- package/build/{types-8103df55.js → types-bc9b7ff5.js} +191 -191
- package/build/types.js +1 -1
- package/build/{useCategory-0b2ef197.js → useCategory-99167875.js} +5 -5
- package/build/{useHealthToolCache-3c423143.js → useHealthToolCache-347a7553.js} +2 -2
- package/build/{useMantineLocale-38ffd9ae.js → useMantineLocale-67d093f5.js} +3 -3
- package/build/{usePlacesAutocomplete-646b2b03.js → usePlacesAutocomplete-0d428f7d.js} +1 -1
- package/build/{useTranslations-3da8d23e.js → useTranslations-ddee03e3.js} +1 -1
- package/build/{utils-9a87f8d9.js → utils-bc89f5c8.js} +4 -4
- package/build/{utils-478cfe5d.js → utils-f2b61d2c.js} +1 -1
- package/build/vaccination.js +26 -26
- package/package.json +1 -1
- package/build/esm/WhatsApp-11fc8356.js +0 -24
- /package/build/{BMI_BOYS.percentile.monthly-9b50e52f.js → BMI_BOYS.percentile.monthly-2dbe6dbf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4439d476.js → BMI_BOYS.percentile.weekly-68fd0e8a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-960c0771.js → BMI_BOYS.percentile.yearly-a334f00f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-4b43250e.js → BMI_BOYS.zscore.monthly-f1f1e40c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d4907b9f.js → BMI_BOYS.zscore.weekly-eaadf495.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-9ee69f9d.js → BMI_BOYS.zscore.yearly-ee0a8baa.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-dc2fdf0e.js → BMI_GIRLS.percentile.monthly-2a4322e1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1b38bd96.js → BMI_GIRLS.percentile.weekly-8d2160f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-02414e20.js → BMI_GIRLS.percentile.yearly-e305a1c3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-22932f64.js → BMI_GIRLS.zscore.monthly-370967e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-821fa654.js → BMI_GIRLS.zscore.weekly-82dbdbeb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-7dbcbb1a.js → BMI_GIRLS.zscore.yearly-b624b0c5.js} +0 -0
- /package/build/{ChevronDown-8960bba8.js → ChevronDown-6a728605.js} +0 -0
- /package/build/{Close-08bd4298.js → Close-6a790433.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4d93a363.js → HEAD CIRCUM_BOYS.percentile.monthly-2d793b40.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6ba303fa.js → HEAD CIRCUM_BOYS.percentile.weekly-3ec0fbcd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0a4ffaee.js → HEAD CIRCUM_BOYS.percentile.yearly-018cfad7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-d8eaa381.js → HEAD CIRCUM_BOYS.zscore.monthly-9a92fc56.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c87e6af4.js → HEAD CIRCUM_BOYS.zscore.weekly-ec5c1b66.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d9a52671.js → HEAD CIRCUM_BOYS.zscore.yearly-1bbc9e90.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4ed7bb97.js → HEAD CIRCUM_GIRLS.percentile.monthly-88bf7054.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6e4b369c.js → HEAD CIRCUM_GIRLS.percentile.weekly-48abc5c8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a921267b.js → HEAD CIRCUM_GIRLS.percentile.yearly-eb5476be.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1cae954b.js → HEAD CIRCUM_GIRLS.zscore.monthly-b4908eed.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-5d43456f.js → HEAD CIRCUM_GIRLS.zscore.weekly-bb3b5b73.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-eced20c8.js → HEAD CIRCUM_GIRLS.zscore.yearly-9e459c3a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-07bcd6ca.js → HEIGHT_BOYS.percentile.monthly-de26b886.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-7cdf6993.js → HEIGHT_BOYS.percentile.weekly-2b1a480e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-6c5d943a.js → HEIGHT_BOYS.percentile.yearly-9e11bf8a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e46f25fc.js → HEIGHT_BOYS.zscore.monthly-169b72ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6d18339b.js → HEIGHT_BOYS.zscore.weekly-1f51ea7a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-7886aa48.js → HEIGHT_BOYS.zscore.yearly-2defb1ff.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-800ba66d.js → HEIGHT_GIRLS.percentile.monthly-ff09a166.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-cebd135d.js → HEIGHT_GIRLS.percentile.weekly-bdbad8b3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-bc54e1ee.js → HEIGHT_GIRLS.percentile.yearly-a7cf5de3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d3160752.js → HEIGHT_GIRLS.zscore.monthly-bc88d68f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-fb8651f4.js → HEIGHT_GIRLS.zscore.weekly-4b1bb4f7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2ac9b61e.js → HEIGHT_GIRLS.zscore.yearly-6d54fcc8.js} +0 -0
- /package/build/{Visible-f917485e.js → Visible-cf684c77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-84ec3cf3.js → WEIGHT_BOYS.percentile.monthly-69735b17.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-430407fd.js → WEIGHT_BOYS.percentile.weekly-60881421.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c93ffc92.js → WEIGHT_BOYS.percentile.yearly-bac67ed1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-071e754c.js → WEIGHT_BOYS.zscore.monthly-e9254299.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6bad7529.js → WEIGHT_BOYS.zscore.weekly-6b82cd2d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-3388131c.js → WEIGHT_BOYS.zscore.yearly-43cc1986.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1db18e75.js → WEIGHT_GIRLS.percentile.monthly-38847b2b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-94e4dc5d.js → WEIGHT_GIRLS.percentile.weekly-2ac2ee92.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-8a0d1397.js → WEIGHT_GIRLS.percentile.yearly-3401e100.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-6e81e8eb.js → WEIGHT_GIRLS.zscore.monthly-4f257d09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-7e09c6b4.js → WEIGHT_GIRLS.zscore.weekly-fe8ea3a5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-48ae8923.js → WEIGHT_GIRLS.zscore.yearly-c780b33b.js} +0 -0
- /package/build/{animation-6a354499.js → animation-6f210c4a.js} +0 -0
- /package/build/{cart-f524d70b.js → cart-d48967a8.js} +0 -0
- /package/build/{cookieHelper-f1270aa8.js → cookieHelper-6fa2ed3a.js} +0 -0
- /package/build/{doctor-460efc4e.js → doctor-d70d0f31.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c795fa31.js → BMI_BOYS.percentile.monthly-2c7cf81c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-93d3a2e7.js → BMI_BOYS.percentile.weekly-963d00dc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e12d0f93.js → BMI_BOYS.percentile.yearly-4eea698f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-a61cbcb5.js → BMI_BOYS.zscore.monthly-f5544376.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-df28f2de.js → BMI_BOYS.zscore.weekly-4656cd4c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-1572b3d6.js → BMI_BOYS.zscore.yearly-39ccd0fd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-afbf7bdd.js → BMI_GIRLS.percentile.monthly-d7501958.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-88afe92e.js → BMI_GIRLS.percentile.weekly-315ba23e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-3f6d0007.js → BMI_GIRLS.percentile.yearly-5afebffb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-df48ff7e.js → BMI_GIRLS.zscore.monthly-9c659c70.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c0e3ef01.js → BMI_GIRLS.zscore.weekly-f72193e8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-adf55dba.js → BMI_GIRLS.zscore.yearly-33a16ebf.js} +0 -0
- /package/build/esm/{ChevronDown-2d0f198a.js → ChevronDown-51088ad9.js} +0 -0
- /package/build/esm/{Close-2ce2f09c.js → Close-851c8b38.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a67a4012.js → HEAD CIRCUM_BOYS.percentile.monthly-522b5435.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-eef6a2b3.js → HEAD CIRCUM_BOYS.percentile.weekly-72d04552.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7716a1b1.js → HEAD CIRCUM_BOYS.percentile.yearly-e68e4904.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-976585ad.js → HEAD CIRCUM_BOYS.zscore.monthly-89b9b642.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4a8efa04.js → HEAD CIRCUM_BOYS.zscore.weekly-c8c2ae6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3e6d5418.js → HEAD CIRCUM_BOYS.zscore.yearly-0cf56dc8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-23bf9344.js → HEAD CIRCUM_GIRLS.percentile.monthly-ef9dbfc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bef4b766.js → HEAD CIRCUM_GIRLS.percentile.weekly-831567fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3d51ca86.js → HEAD CIRCUM_GIRLS.percentile.yearly-0e89170b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0e8f2809.js → HEAD CIRCUM_GIRLS.zscore.monthly-82564fb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9af76405.js → HEAD CIRCUM_GIRLS.zscore.weekly-6b1845ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8bf900c4.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b65120d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2117581f.js → HEIGHT_BOYS.percentile.monthly-ecfdee13.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-32caad55.js → HEIGHT_BOYS.percentile.weekly-2bae8fa8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f06a01f4.js → HEIGHT_BOYS.percentile.yearly-4cf5eb0c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9277aa60.js → HEIGHT_BOYS.zscore.monthly-5978dd63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3fce9644.js → HEIGHT_BOYS.zscore.weekly-0e20ae65.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-701cb22d.js → HEIGHT_BOYS.zscore.yearly-9f9ecc92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c21f8cfd.js → HEIGHT_GIRLS.percentile.monthly-244b7899.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9d33aa12.js → HEIGHT_GIRLS.percentile.weekly-867f533c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6e44423b.js → HEIGHT_GIRLS.percentile.yearly-8334ef62.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5a00cd96.js → HEIGHT_GIRLS.zscore.monthly-89dc2f92.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2ff60b7f.js → HEIGHT_GIRLS.zscore.weekly-c37a8e45.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-18664e72.js → HEIGHT_GIRLS.zscore.yearly-d75c7342.js} +0 -0
- /package/build/esm/{Visible-013c4e17.js → Visible-2b82b731.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9a4ae0e0.js → WEIGHT_BOYS.percentile.monthly-afa954cf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d5d70e19.js → WEIGHT_BOYS.percentile.weekly-0ce8ca9d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-861ab2cd.js → WEIGHT_BOYS.percentile.yearly-9bc9d108.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e9f591d1.js → WEIGHT_BOYS.zscore.monthly-c41e3c26.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-fb1bd500.js → WEIGHT_BOYS.zscore.weekly-927605d1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a25ff34d.js → WEIGHT_BOYS.zscore.yearly-10a9c6a3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37cf236c.js → WEIGHT_GIRLS.percentile.monthly-c3957e70.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-029e478f.js → WEIGHT_GIRLS.percentile.weekly-5413b078.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8dce316c.js → WEIGHT_GIRLS.percentile.yearly-fbef8c0c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9173160d.js → WEIGHT_GIRLS.zscore.monthly-e89aa92b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-411a046b.js → WEIGHT_GIRLS.zscore.weekly-7a014b5a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c19c7429.js → WEIGHT_GIRLS.zscore.yearly-0cae1bb9.js} +0 -0
- /package/build/esm/{animation-4b187451.js → animation-89cd92dc.js} +0 -0
- /package/build/esm/{cart-1e4e352e.js → cart-b5b2f9c9.js} +0 -0
- /package/build/esm/{cookieHelper-8494dcf1.js → cookieHelper-6839de86.js} +0 -0
- /package/build/esm/{doctor-74fc81b1.js → doctor-a16d5a2a.js} +0 -0
- /package/build/esm/{index-f1b4e4f6.js → index-207e5a99.js} +0 -0
- /package/build/esm/{index-3434140c.js → index-3f16918f.js} +0 -0
- /package/build/esm/{index-5f5297aa.js → index-b1dfbcd9.js} +0 -0
- /package/build/esm/{isProduction-a01c18e3.js → isProduction-6557a7a7.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f924ab7b.js → localizeNumberFormat-1efb07bf.js} +0 -0
- /package/build/esm/{normalizeLink-61ae52b5.js → normalizeLink-9adb98bb.js} +0 -0
- /package/build/esm/{number-c847488a.js → number-7673e170.js} +0 -0
- /package/build/esm/{paths-756efba0.js → paths-1a0405c1.js} +0 -0
- /package/build/esm/{theme-ac1a0e46.js → theme-676e1d3e.js} +0 -0
- /package/build/esm/{translationsContext-a21c43b4.js → translationsContext-b00d46fa.js} +0 -0
- /package/build/esm/{tslib.es6-6d3de7c2.js → tslib.es6-42d35711.js} +0 -0
- /package/build/esm/{useIsInit-4ba52ee9.js → useIsInit-d65429ab.js} +0 -0
- /package/build/esm/{useOutsideClick-d1486166.js → useOutsideClick-3b36c560.js} +0 -0
- /package/build/esm/{useScrollbarSize-f874e0ac.js → useScrollbarSize-7cfe3d07.js} +0 -0
- /package/build/esm/{useUniqueId-a727e698.js → useUniqueId-28b8a8d2.js} +0 -0
- /package/build/esm/{utils-3d823a9f.js → utils-0f3667a8.js} +0 -0
- /package/build/{index-e1ed79b3.js → index-0c11098b.js} +0 -0
- /package/build/{index-4da85d4b.js → index-3d1716ad.js} +0 -0
- /package/build/{index-5e9fdc69.js → index-c4b66929.js} +0 -0
- /package/build/{index-b8cc819b.js → index-d38624f2.js} +0 -0
- /package/build/{isProduction-f7507b6e.js → isProduction-cc2f71e7.js} +0 -0
- /package/build/{localizeNumberFormat-8ccd7c74.js → localizeNumberFormat-72f6c627.js} +0 -0
- /package/build/{normalizeLink-0007c927.js → normalizeLink-37b001e0.js} +0 -0
- /package/build/{number-eb5a9b12.js → number-3c00e9ff.js} +0 -0
- /package/build/{paths-29644364.js → paths-22150d98.js} +0 -0
- /package/build/{theme-4d2a1014.js → theme-040e6fd9.js} +0 -0
- /package/build/{translationsContext-d76a8c6d.js → translationsContext-bece07e0.js} +0 -0
- /package/build/{tslib.es6-6abfcd13.js → tslib.es6-a8c3b1ed.js} +0 -0
- /package/build/{useIsInit-3021c365.js → useIsInit-78fbbf00.js} +0 -0
- /package/build/{useOutsideClick-9e887f30.js → useOutsideClick-f4ac5964.js} +0 -0
- /package/build/{useScrollbarSize-14a9f09a.js → useScrollbarSize-df8fb771.js} +0 -0
- /package/build/{useUniqueId-889c3946.js → useUniqueId-a3ed3f40.js} +0 -0
- /package/build/{utils-526a845c.js → utils-a2ad9aa3.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
4
|
+
import { T as Text } from './index-dd00700b.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { S as StyledHeading, a as StyledText } from './index.styled-
|
|
3
|
+
import { S as StyledHeading, a as StyledText } from './index.styled-19fa0003.js';
|
|
4
4
|
|
|
5
5
|
const MarryBabyHeading = (_a) => {
|
|
6
6
|
var { type, color, style } = _a, props = __rest(_a, ["type", "color", "style"]);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useMemo, createContext, useContext } from 'react';
|
|
2
2
|
import { Portal, Box, Flex, rem, createStyles, Input, Chip, useMantineTheme, Switch } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll, M as MediaQueries } from './utils-
|
|
4
|
-
import { w as StyledBackdrop, x as StyledDrawer, y as StyledDrawerPanel, z as StyledDrawerContent, A as StyledRadioImageGroup, B as StyledRadioImageItem, C as useStyles$b } from './index.styles-
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { t as theme } from './theme-
|
|
7
|
-
import { M as MarryBabyText } from './index-
|
|
8
|
-
import { T as Text$1 } from './index-
|
|
9
|
-
import { u as useScrollbarSize } from './useScrollbarSize-
|
|
3
|
+
import { t as toggleNoScroll, M as MediaQueries } from './utils-0f3667a8.js';
|
|
4
|
+
import { w as StyledBackdrop, x as StyledDrawer, y as StyledDrawerPanel, z as StyledDrawerContent, A as StyledRadioImageGroup, B as StyledRadioImageItem, C as useStyles$b } from './index.styles-0693a12e.js';
|
|
5
|
+
import { T as Text } from './index-dd00700b.js';
|
|
6
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
7
|
+
import { M as MarryBabyText } from './index-6896ecdf.js';
|
|
8
|
+
import { T as Text$1 } from './index-869411be.js';
|
|
9
|
+
import { u as useScrollbarSize } from './useScrollbarSize-7cfe3d07.js';
|
|
10
10
|
import { createPortal } from 'react-dom';
|
|
11
11
|
import styled from '@emotion/styled';
|
|
12
|
-
import { s as setDefaultClass } from './
|
|
13
|
-
import { _ as __rest } from './tslib.es6-
|
|
12
|
+
import { s as setDefaultClass } from './defaultClassWrapper-8112e475.js';
|
|
13
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
14
14
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
15
|
-
import { R as Radio, B as Button, c as Input$1 } from './index-
|
|
16
|
-
import { C as CommonGAssets } from './index-
|
|
17
|
-
import './
|
|
18
|
-
import './index-
|
|
19
|
-
import './utils-
|
|
20
|
-
import { D as DatePicker } from './index-
|
|
21
|
-
import { u as useTranslations } from './useTranslations-
|
|
15
|
+
import { R as Radio, B as Button, c as Input$1 } from './index-5c2abf3a.js';
|
|
16
|
+
import { C as CommonGAssets } from './index-2e13488d.js';
|
|
17
|
+
import './index-9dd8721c.js';
|
|
18
|
+
import './index-b851beaf.js';
|
|
19
|
+
import './utils-70fb5414.js';
|
|
20
|
+
import { D as DatePicker } from './index-fc868dc0.js';
|
|
21
|
+
import { u as useTranslations } from './useTranslations-ee0ed7e4.js';
|
|
22
22
|
import '@mantine/hooks';
|
|
23
|
-
import './useMantineLocale-
|
|
24
|
-
import './index-
|
|
25
|
-
import './
|
|
26
|
-
import './index.styled-
|
|
27
|
-
import './index-
|
|
23
|
+
import './useMantineLocale-e9d07649.js';
|
|
24
|
+
import './index-94f2f772.js';
|
|
25
|
+
import './index-b9666693.js';
|
|
26
|
+
import './index.styled-19fa0003.js';
|
|
27
|
+
import './index-207e5a99.js';
|
|
28
28
|
import { BabyBoyMB, BabyGirlMB, CalendarMB } from '@hhgtech/icons/other';
|
|
29
29
|
import '@mantine/dates';
|
|
30
30
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
@@ -1,103 +1,55 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
1
2
|
import React__default, { useContext, useState } from 'react';
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './defaultClassWrapper-8112e475.js';
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ as __rest } from './tslib.es6-6d3de7c2.js';
|
|
6
|
-
import { T as TogetherComponentGlobalContext } from './utils-296f6ce0.js';
|
|
5
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
6
|
+
import { M as MediaQueries } from './utils-0f3667a8.js';
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
background-color: ${theme.colors.white};
|
|
14
|
-
border-radius: ${theme.borderRadius};
|
|
15
|
-
box-shadow: 0px 4px 8px ${theme.colors.gray200};
|
|
16
|
-
transform: translate(-50%, -50%);
|
|
17
|
-
transition: all 0.5s ease-in-out;
|
|
18
|
-
visibility: hidden;
|
|
19
|
-
|
|
20
|
-
&[data-open='true'] {
|
|
21
|
-
z-index: 400;
|
|
22
|
-
top: 50%;
|
|
23
|
-
opacity: 1;
|
|
24
|
-
visibility: visible;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&[data-open='false'] {
|
|
28
|
-
top: -50%;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&[data-type='lead'] {
|
|
32
|
-
width: 332px;
|
|
33
|
-
height: 460px;
|
|
34
|
-
|
|
35
|
-
div {
|
|
36
|
-
top: -15px;
|
|
37
|
-
right: -15px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&[data-type='form'] {
|
|
42
|
-
width: 496px;
|
|
43
|
-
height: 548px;
|
|
44
|
-
${MediaQueries.mbDown} {
|
|
45
|
-
width: 340px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
8
|
+
const StyledUserAvatar = styled.div `
|
|
9
|
+
width: ${(props) => props.size || 40}px;
|
|
10
|
+
height: ${(props) => props.size || 40}px;
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
cursor: pointer;
|
|
48
13
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
width: calc(100% - 32px);
|
|
52
|
-
}
|
|
53
|
-
${MediaQueries.mbUp} {
|
|
54
|
-
width: 100%;
|
|
55
|
-
max-width: 407px;
|
|
56
|
-
}
|
|
14
|
+
img {
|
|
15
|
+
border-radius: 50%;
|
|
57
16
|
}
|
|
58
17
|
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
z-index: 111;
|
|
18
|
+
.avatar {
|
|
19
|
+
width: 100%;
|
|
62
20
|
height: 100%;
|
|
63
|
-
|
|
21
|
+
object-fit: cover;
|
|
64
22
|
}
|
|
65
23
|
|
|
66
|
-
.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
24
|
+
.avatar-default {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
background-color: ${theme.colors.secondaryBase};
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
color: white;
|
|
31
|
+
font-size: 1em;
|
|
32
|
+
font-weight: bold;
|
|
33
|
+
line-height: 1;
|
|
77
34
|
}
|
|
78
|
-
`;
|
|
79
|
-
const StyledPopupWrapper = styled.div `
|
|
80
|
-
position: fixed;
|
|
81
|
-
z-index: 110;
|
|
82
|
-
top: 0;
|
|
83
|
-
left: 0;
|
|
84
|
-
width: 100%;
|
|
85
|
-
height: 100%;
|
|
86
|
-
align-items: center;
|
|
87
|
-
background: rgba(38, 38, 38, 0.3);
|
|
88
35
|
|
|
89
|
-
&[data-
|
|
90
|
-
|
|
36
|
+
&[data-is-marrybaby='true'] {
|
|
37
|
+
.avatar-default {
|
|
38
|
+
background-color: ${theme.mbColors.pink};
|
|
39
|
+
}
|
|
91
40
|
}
|
|
92
41
|
`;
|
|
93
42
|
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
43
|
+
const UserAvatar = (_a) => {
|
|
44
|
+
var { className, isMarryBaby: isMarryBabyProp, style, avatar, username, size } = _a, rest = __rest(_a, ["className", "isMarryBaby", "style", "avatar", "username", "size"]);
|
|
45
|
+
const { data: { env: { isMarryBaby: isMarryBabyContext }, }, } = useContext(TogetherComponentGlobalContext);
|
|
46
|
+
const isMarryBaby = typeof isMarryBabyProp === 'boolean' ? isMarryBabyProp : isMarryBabyContext;
|
|
47
|
+
const [tempAvatar, setTempAvatar] = useState(false);
|
|
48
|
+
return (React__default.createElement(StyledUserAvatar, Object.assign({ "data-is-marrybaby": isMarryBaby, className: className, style: style, size: size }, rest), avatar && !tempAvatar ? (React__default.createElement("img", { loading: "lazy", src: avatar, className: `avatar`, alt: "avatar", onError: () => {
|
|
49
|
+
// e.currentTarget.onerror = null
|
|
50
|
+
if (!tempAvatar)
|
|
51
|
+
setTempAvatar(true);
|
|
52
|
+
} })) : (React__default.createElement("div", { className: "avatar avatar-default" }, username && (username === null || username === void 0 ? void 0 : username.length) > 0 ? username[0].toUpperCase() : 'A'))));
|
|
101
53
|
};
|
|
102
54
|
|
|
103
55
|
const formatAuthor = (author) => {
|
|
@@ -787,51 +739,99 @@ var dataTransform = /*#__PURE__*/Object.freeze({
|
|
|
787
739
|
formatBabyGrowthContent: formatBabyGrowthContent
|
|
788
740
|
});
|
|
789
741
|
|
|
790
|
-
const
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
flex-shrink: 0;
|
|
794
|
-
cursor: pointer;
|
|
742
|
+
const StyledPopup = styled.div `
|
|
743
|
+
position: fixed;
|
|
744
|
+
left: 50%;
|
|
795
745
|
|
|
796
|
-
|
|
797
|
-
|
|
746
|
+
padding: 0 16px 32px;
|
|
747
|
+
background-color: ${theme.colors.white};
|
|
748
|
+
border-radius: ${theme.borderRadius};
|
|
749
|
+
box-shadow: 0px 4px 8px ${theme.colors.gray200};
|
|
750
|
+
transform: translate(-50%, -50%);
|
|
751
|
+
transition: all 0.5s ease-in-out;
|
|
752
|
+
visibility: hidden;
|
|
753
|
+
|
|
754
|
+
&[data-open='true'] {
|
|
755
|
+
z-index: 400;
|
|
756
|
+
top: 50%;
|
|
757
|
+
opacity: 1;
|
|
758
|
+
visibility: visible;
|
|
798
759
|
}
|
|
799
760
|
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
height: 100%;
|
|
803
|
-
object-fit: cover;
|
|
761
|
+
&[data-open='false'] {
|
|
762
|
+
top: -50%;
|
|
804
763
|
}
|
|
805
764
|
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
font-weight: bold;
|
|
815
|
-
line-height: 1;
|
|
765
|
+
&[data-type='lead'] {
|
|
766
|
+
width: 332px;
|
|
767
|
+
height: 460px;
|
|
768
|
+
|
|
769
|
+
div {
|
|
770
|
+
top: -15px;
|
|
771
|
+
right: -15px;
|
|
772
|
+
}
|
|
816
773
|
}
|
|
817
774
|
|
|
818
|
-
&[data-
|
|
819
|
-
|
|
820
|
-
|
|
775
|
+
&[data-type='form'] {
|
|
776
|
+
width: 496px;
|
|
777
|
+
height: 548px;
|
|
778
|
+
${MediaQueries.mbDown} {
|
|
779
|
+
width: 340px;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
&[data-type='confirm'] {
|
|
784
|
+
${MediaQueries.mbDown} {
|
|
785
|
+
width: calc(100% - 32px);
|
|
786
|
+
}
|
|
787
|
+
${MediaQueries.mbUp} {
|
|
788
|
+
width: 100%;
|
|
789
|
+
max-width: 407px;
|
|
821
790
|
}
|
|
822
791
|
}
|
|
792
|
+
|
|
793
|
+
.popup-content {
|
|
794
|
+
position: relative;
|
|
795
|
+
z-index: 111;
|
|
796
|
+
height: 100%;
|
|
797
|
+
padding: 16px;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.close-button {
|
|
801
|
+
position: absolute;
|
|
802
|
+
top: 16px;
|
|
803
|
+
right: 0;
|
|
804
|
+
cursor: pointer;
|
|
805
|
+
|
|
806
|
+
img {
|
|
807
|
+
width: 100%;
|
|
808
|
+
height: 100%;
|
|
809
|
+
border-radius: 50%;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
`;
|
|
813
|
+
const StyledPopupWrapper = styled.div `
|
|
814
|
+
position: fixed;
|
|
815
|
+
z-index: 110;
|
|
816
|
+
top: 0;
|
|
817
|
+
left: 0;
|
|
818
|
+
width: 100%;
|
|
819
|
+
height: 100%;
|
|
820
|
+
align-items: center;
|
|
821
|
+
background: rgba(38, 38, 38, 0.3);
|
|
822
|
+
|
|
823
|
+
&[data-open='false'] {
|
|
824
|
+
display: none;
|
|
825
|
+
}
|
|
823
826
|
`;
|
|
824
827
|
|
|
825
|
-
const
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
if (!tempAvatar)
|
|
833
|
-
setTempAvatar(true);
|
|
834
|
-
} })) : (React__default.createElement("div", { className: "avatar avatar-default" }, username && (username === null || username === void 0 ? void 0 : username.length) > 0 ? username[0].toUpperCase() : 'A'))));
|
|
828
|
+
const Popup = ({ type = 'lead', closeIcon, isOpen = true, onClose, children, className = '', enableAnimation = true, }) => {
|
|
829
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
830
|
+
React__default.createElement(StyledPopup, { "data-open": isOpen, "data-type": type, "data-animation": enableAnimation },
|
|
831
|
+
React__default.createElement("div", { className: `${className || ''} popup-content` },
|
|
832
|
+
!!closeIcon && (React__default.createElement("div", { className: "close-button", onClick: onClose }, closeIcon)),
|
|
833
|
+
children)),
|
|
834
|
+
React__default.createElement(StyledPopupWrapper, { "data-open": isOpen, onClick: onClose })));
|
|
835
835
|
};
|
|
836
836
|
|
|
837
837
|
export { Popup as P, UserAvatar as U, formatCommunity as a, formatPost as b, formatTopic as c, dataTransform as d, formatComment as e, formatUserProfileUrl as f, formatArticle as g, formatCategory as h };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-5c2abf3a.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text$1 } from './index-
|
|
11
|
-
import './theme-
|
|
12
|
-
import './translationsContext-
|
|
6
|
+
import './index-94f2f772.js';
|
|
7
|
+
import './index-b851beaf.js';
|
|
8
|
+
import './index-2e13488d.js';
|
|
9
|
+
import './useMantineLocale-e9d07649.js';
|
|
10
|
+
import { T as Text$1 } from './index-dd00700b.js';
|
|
11
|
+
import './theme-676e1d3e.js';
|
|
12
|
+
import './translationsContext-b00d46fa.js';
|
|
13
13
|
import 'string-format';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
15
|
+
import './utils-0f3667a8.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
|
|
2
|
-
import { L as LOCALE } from './index-
|
|
3
|
-
import { i as isProduction } from './isProduction-
|
|
2
|
+
import { L as LOCALE } from './index-b851beaf.js';
|
|
3
|
+
import { i as isProduction } from './isProduction-6557a7a7.js';
|
|
4
4
|
|
|
5
5
|
const siteHost = {
|
|
6
6
|
HELLO_HEALTH_GROUP: 'hellohealthgroup.com',
|
|
@@ -497,7 +497,7 @@ const CARE_LOCALES = [
|
|
|
497
497
|
'id-ID',
|
|
498
498
|
// 'en-PH',
|
|
499
499
|
// 'tl-PH',
|
|
500
|
-
|
|
500
|
+
...(isProduction ? [] : ['ms-MY']),
|
|
501
501
|
// 'zh-TW'
|
|
502
502
|
];
|
|
503
503
|
const CARE_BOOKING_LOCALES = ['vi-VN', 'id-ID'];
|
|
@@ -1,8 +1,119 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import { t as theme } from './theme-
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
2
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
3
|
+
import { M as MediaQueries } from './utils-0f3667a8.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
|
|
6
|
+
const basePath = '/care';
|
|
7
|
+
const LOCALE_COUNTRY = {
|
|
8
|
+
'vi-VN': { id: 1, name: 'Vietnam' },
|
|
9
|
+
'id-ID': { id: 2, name: 'Indonesia' },
|
|
10
|
+
'ms-MY': { id: 3, name: 'Malaysia' },
|
|
11
|
+
'km-KH': { id: 4, name: 'Cambodia' },
|
|
12
|
+
'en-PH': { id: 5, name: 'Philippines' },
|
|
13
|
+
'th-TH': { id: 6, name: 'Thai Lan' },
|
|
14
|
+
'my-MM': { id: 7, name: 'Myanmar' },
|
|
15
|
+
'zh-TW': { id: 8, name: 'Taiwan' },
|
|
16
|
+
'hi-IN': { id: 9, name: 'India' },
|
|
17
|
+
};
|
|
18
|
+
const LOCALIZED_SLUGS = {
|
|
19
|
+
'en-PH': {
|
|
20
|
+
ALL: 'all',
|
|
21
|
+
HOSPITAL: 'hospital',
|
|
22
|
+
SERVICE: 'service',
|
|
23
|
+
DOCTOR: 'doctor',
|
|
24
|
+
SEARCH: 'search',
|
|
25
|
+
SPECIALTIES: 'specialties',
|
|
26
|
+
CURRENT: 'current-location',
|
|
27
|
+
},
|
|
28
|
+
'tl-PH': {
|
|
29
|
+
ALL: 'all',
|
|
30
|
+
HOSPITAL: 'hospital',
|
|
31
|
+
SERVICE: 'service',
|
|
32
|
+
DOCTOR: 'doctor',
|
|
33
|
+
SEARCH: 'search',
|
|
34
|
+
SPECIALTIES: 'specialties',
|
|
35
|
+
CURRENT: 'current-location',
|
|
36
|
+
},
|
|
37
|
+
'zh-TW': {
|
|
38
|
+
ALL: 'all',
|
|
39
|
+
HOSPITAL: 'hospital',
|
|
40
|
+
SERVICE: 'service',
|
|
41
|
+
DOCTOR: 'doctor',
|
|
42
|
+
SEARCH: 'search',
|
|
43
|
+
SPECIALTIES: 'specialties',
|
|
44
|
+
CURRENT: 'current-location',
|
|
45
|
+
},
|
|
46
|
+
'vi-VN': {
|
|
47
|
+
ALL: 'tat-ca',
|
|
48
|
+
HOSPITAL: 'benh-vien',
|
|
49
|
+
SERVICE: 'dich-vu',
|
|
50
|
+
DOCTOR: 'bac-si',
|
|
51
|
+
SEARCH: 'tim-kiem',
|
|
52
|
+
SPECIALTIES: 'chuyen-khoa',
|
|
53
|
+
CURRENT: 'vi-tri-hien-tai',
|
|
54
|
+
},
|
|
55
|
+
'id-ID': {
|
|
56
|
+
ALL: 'semua',
|
|
57
|
+
HOSPITAL: 'rumah-sakit',
|
|
58
|
+
SERVICE: 'layanan',
|
|
59
|
+
DOCTOR: 'dokter',
|
|
60
|
+
SEARCH: 'cari',
|
|
61
|
+
SPECIALTIES: 'spesialisasi',
|
|
62
|
+
CURRENT: 'posisi-saya-saat-ini',
|
|
63
|
+
},
|
|
64
|
+
'ms-MY': {
|
|
65
|
+
ALL: 'all',
|
|
66
|
+
HOSPITAL: 'hospital',
|
|
67
|
+
SERVICE: 'service',
|
|
68
|
+
DOCTOR: 'doctor',
|
|
69
|
+
SEARCH: 'search',
|
|
70
|
+
SPECIALTIES: 'specialties',
|
|
71
|
+
CURRENT: 'current-location',
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
const ID_OPTION_CURRENT_LOCATION = -1;
|
|
75
|
+
const ID_OPTION_ALL_LOCATION = -2;
|
|
76
|
+
var CLIENT_KEY;
|
|
77
|
+
(function (CLIENT_KEY) {
|
|
78
|
+
CLIENT_KEY["GSK"] = "gsk";
|
|
79
|
+
CLIENT_KEY["ROCHE"] = "roche";
|
|
80
|
+
CLIENT_KEY["MSD"] = "msd";
|
|
81
|
+
})(CLIENT_KEY || (CLIENT_KEY = {}));
|
|
82
|
+
var SLUG_CLIENT_KEY;
|
|
83
|
+
(function (SLUG_CLIENT_KEY) {
|
|
84
|
+
SLUG_CLIENT_KEY["GSK"] = "gsk";
|
|
85
|
+
SLUG_CLIENT_KEY["ROCHE"] = "roche";
|
|
86
|
+
SLUG_CLIENT_KEY["MSD"] = "spesialis";
|
|
87
|
+
})(SLUG_CLIENT_KEY || (SLUG_CLIENT_KEY = {}));
|
|
88
|
+
const SLUG_VACIN_ID = 'vaksin-rotavirus';
|
|
89
|
+
const MAPPING_CLIENT_WITH_SLUG = {
|
|
90
|
+
'vi-VN': {
|
|
91
|
+
gsk: SLUG_CLIENT_KEY.GSK,
|
|
92
|
+
msd: SLUG_CLIENT_KEY.MSD,
|
|
93
|
+
},
|
|
94
|
+
'id-ID': {
|
|
95
|
+
gsk: SLUG_CLIENT_KEY.GSK,
|
|
96
|
+
msd: SLUG_CLIENT_KEY.MSD,
|
|
97
|
+
},
|
|
98
|
+
'en-PH': {},
|
|
99
|
+
'zh-TW': {},
|
|
100
|
+
'ms-MY': {},
|
|
101
|
+
'tl-PH': {},
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
var constants = /*#__PURE__*/Object.freeze({
|
|
105
|
+
__proto__: null,
|
|
106
|
+
basePath: basePath,
|
|
107
|
+
LOCALE_COUNTRY: LOCALE_COUNTRY,
|
|
108
|
+
LOCALIZED_SLUGS: LOCALIZED_SLUGS,
|
|
109
|
+
ID_OPTION_CURRENT_LOCATION: ID_OPTION_CURRENT_LOCATION,
|
|
110
|
+
ID_OPTION_ALL_LOCATION: ID_OPTION_ALL_LOCATION,
|
|
111
|
+
get CLIENT_KEY () { return CLIENT_KEY; },
|
|
112
|
+
get SLUG_CLIENT_KEY () { return SLUG_CLIENT_KEY; },
|
|
113
|
+
SLUG_VACIN_ID: SLUG_VACIN_ID,
|
|
114
|
+
MAPPING_CLIENT_WITH_SLUG: MAPPING_CLIENT_WITH_SLUG
|
|
115
|
+
});
|
|
116
|
+
|
|
6
117
|
const StyledInput = styled.div `
|
|
7
118
|
position: relative;
|
|
8
119
|
width: 100%;
|
|
@@ -124,115 +235,4 @@ const Label = ({ children, className, style, htmlFor, size }) => {
|
|
|
124
235
|
return (React__default.createElement("label", { "data-size": size, className: `${styles.label} ${className || ''}`, style: style, htmlFor: htmlFor }, children));
|
|
125
236
|
};
|
|
126
237
|
|
|
127
|
-
const basePath = '/care';
|
|
128
|
-
const LOCALE_COUNTRY = {
|
|
129
|
-
'vi-VN': { id: 1, name: 'Vietnam' },
|
|
130
|
-
'id-ID': { id: 2, name: 'Indonesia' },
|
|
131
|
-
'ms-MY': { id: 3, name: 'Malaysia' },
|
|
132
|
-
'km-KH': { id: 4, name: 'Cambodia' },
|
|
133
|
-
'en-PH': { id: 5, name: 'Philippines' },
|
|
134
|
-
'th-TH': { id: 6, name: 'Thai Lan' },
|
|
135
|
-
'my-MM': { id: 7, name: 'Myanmar' },
|
|
136
|
-
'zh-TW': { id: 8, name: 'Taiwan' },
|
|
137
|
-
'hi-IN': { id: 9, name: 'India' },
|
|
138
|
-
};
|
|
139
|
-
const LOCALIZED_SLUGS = {
|
|
140
|
-
'en-PH': {
|
|
141
|
-
ALL: 'all',
|
|
142
|
-
HOSPITAL: 'hospital',
|
|
143
|
-
SERVICE: 'service',
|
|
144
|
-
DOCTOR: 'doctor',
|
|
145
|
-
SEARCH: 'search',
|
|
146
|
-
SPECIALTIES: 'specialties',
|
|
147
|
-
CURRENT: 'current-location',
|
|
148
|
-
},
|
|
149
|
-
'tl-PH': {
|
|
150
|
-
ALL: 'all',
|
|
151
|
-
HOSPITAL: 'hospital',
|
|
152
|
-
SERVICE: 'service',
|
|
153
|
-
DOCTOR: 'doctor',
|
|
154
|
-
SEARCH: 'search',
|
|
155
|
-
SPECIALTIES: 'specialties',
|
|
156
|
-
CURRENT: 'current-location',
|
|
157
|
-
},
|
|
158
|
-
'zh-TW': {
|
|
159
|
-
ALL: 'all',
|
|
160
|
-
HOSPITAL: 'hospital',
|
|
161
|
-
SERVICE: 'service',
|
|
162
|
-
DOCTOR: 'doctor',
|
|
163
|
-
SEARCH: 'search',
|
|
164
|
-
SPECIALTIES: 'specialties',
|
|
165
|
-
CURRENT: 'current-location',
|
|
166
|
-
},
|
|
167
|
-
'vi-VN': {
|
|
168
|
-
ALL: 'tat-ca',
|
|
169
|
-
HOSPITAL: 'benh-vien',
|
|
170
|
-
SERVICE: 'dich-vu',
|
|
171
|
-
DOCTOR: 'bac-si',
|
|
172
|
-
SEARCH: 'tim-kiem',
|
|
173
|
-
SPECIALTIES: 'chuyen-khoa',
|
|
174
|
-
CURRENT: 'vi-tri-hien-tai',
|
|
175
|
-
},
|
|
176
|
-
'id-ID': {
|
|
177
|
-
ALL: 'semua',
|
|
178
|
-
HOSPITAL: 'rumah-sakit',
|
|
179
|
-
SERVICE: 'layanan',
|
|
180
|
-
DOCTOR: 'dokter',
|
|
181
|
-
SEARCH: 'cari',
|
|
182
|
-
SPECIALTIES: 'spesialisasi',
|
|
183
|
-
CURRENT: 'posisi-saya-saat-ini',
|
|
184
|
-
},
|
|
185
|
-
'ms-MY': {
|
|
186
|
-
ALL: 'all',
|
|
187
|
-
HOSPITAL: 'hospital',
|
|
188
|
-
SERVICE: 'service',
|
|
189
|
-
DOCTOR: 'doctor',
|
|
190
|
-
SEARCH: 'search',
|
|
191
|
-
SPECIALTIES: 'specialties',
|
|
192
|
-
CURRENT: 'current-location',
|
|
193
|
-
},
|
|
194
|
-
};
|
|
195
|
-
const ID_OPTION_CURRENT_LOCATION = -1;
|
|
196
|
-
const ID_OPTION_ALL_LOCATION = -2;
|
|
197
|
-
var CLIENT_KEY;
|
|
198
|
-
(function (CLIENT_KEY) {
|
|
199
|
-
CLIENT_KEY["GSK"] = "gsk";
|
|
200
|
-
CLIENT_KEY["ROCHE"] = "roche";
|
|
201
|
-
CLIENT_KEY["MSD"] = "msd";
|
|
202
|
-
})(CLIENT_KEY || (CLIENT_KEY = {}));
|
|
203
|
-
var SLUG_CLIENT_KEY;
|
|
204
|
-
(function (SLUG_CLIENT_KEY) {
|
|
205
|
-
SLUG_CLIENT_KEY["GSK"] = "gsk";
|
|
206
|
-
SLUG_CLIENT_KEY["ROCHE"] = "roche";
|
|
207
|
-
SLUG_CLIENT_KEY["MSD"] = "spesialis";
|
|
208
|
-
})(SLUG_CLIENT_KEY || (SLUG_CLIENT_KEY = {}));
|
|
209
|
-
const SLUG_VACIN_ID = 'vaksin-rotavirus';
|
|
210
|
-
const MAPPING_CLIENT_WITH_SLUG = {
|
|
211
|
-
'vi-VN': {
|
|
212
|
-
gsk: SLUG_CLIENT_KEY.GSK,
|
|
213
|
-
msd: SLUG_CLIENT_KEY.MSD,
|
|
214
|
-
},
|
|
215
|
-
'id-ID': {
|
|
216
|
-
gsk: SLUG_CLIENT_KEY.GSK,
|
|
217
|
-
msd: SLUG_CLIENT_KEY.MSD,
|
|
218
|
-
},
|
|
219
|
-
'en-PH': {},
|
|
220
|
-
'zh-TW': {},
|
|
221
|
-
'ms-MY': {},
|
|
222
|
-
'tl-PH': {},
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
var constants = /*#__PURE__*/Object.freeze({
|
|
226
|
-
__proto__: null,
|
|
227
|
-
basePath: basePath,
|
|
228
|
-
LOCALE_COUNTRY: LOCALE_COUNTRY,
|
|
229
|
-
LOCALIZED_SLUGS: LOCALIZED_SLUGS,
|
|
230
|
-
ID_OPTION_CURRENT_LOCATION: ID_OPTION_CURRENT_LOCATION,
|
|
231
|
-
ID_OPTION_ALL_LOCATION: ID_OPTION_ALL_LOCATION,
|
|
232
|
-
get CLIENT_KEY () { return CLIENT_KEY; },
|
|
233
|
-
get SLUG_CLIENT_KEY () { return SLUG_CLIENT_KEY; },
|
|
234
|
-
SLUG_VACIN_ID: SLUG_VACIN_ID,
|
|
235
|
-
MAPPING_CLIENT_WITH_SLUG: MAPPING_CLIENT_WITH_SLUG
|
|
236
|
-
});
|
|
237
|
-
|
|
238
238
|
export { CLIENT_KEY as C, ID_OPTION_ALL_LOCATION as I, Label as L, MAPPING_CLIENT_WITH_SLUG as M, StyledInput as S, LOCALIZED_SLUGS as a, StyledDisplayIcon as b, constants as c, StyledActionIcon as d, StyledErrorLabel as e, ID_OPTION_CURRENT_LOCATION as f, SLUG_VACIN_ID as g };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { S as StyledInput, L as Label, b as StyledDisplayIcon, d as StyledActionIcon, e as StyledErrorLabel } from './
|
|
4
|
+
import { S as StyledInput, L as Label, b as StyledDisplayIcon, d as StyledActionIcon, e as StyledErrorLabel } from './index-9dd8721c.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-42d35711.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Indicator as Indicator$1 } from '@mantine/core';
|
|
4
|
-
import { t as theme } from './theme-
|
|
4
|
+
import { t as theme } from './theme-676e1d3e.js';
|
|
5
5
|
|
|
6
6
|
const Indicator = (_a) => {
|
|
7
7
|
var { styles, color = theme.colors.red700 } = _a, props = __rest(_a, ["styles", "color"]);
|