@hhgtech/hhg-components 1.29.434 → 1.29.436
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/{InputDate-295da21e.js → InputDate-79f8836d.js} +5 -5
- package/build/{LastPeriod-c2811ec9.js → LastPeriod-e223c98b.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2505ae30.js → MobileBottomNavigationIcon-1289b337.js} +3 -3
- package/build/RatingStarsInput-24284f74.js +5664 -0
- package/build/{Spinner-9078302b.js → Spinner-4bf72aba.js} +1 -1
- package/build/{WhatsApp-3c299bfa.js → WhatsApp-4e56fee7.js} +1 -1
- package/build/adapters.js +21 -20
- package/build/atoms.js +112 -109
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/care/interfaces/types.d.ts +2 -0
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/DragFreeCarousel/index.d.ts +9 -0
- package/build/components/atoms/DragFreeCarousel/index.style.d.ts +3 -0
- package/build/components/atoms/cardCollapse/index.d.ts +3 -2
- package/build/components/atoms/drawerComponent/index.d.ts +1 -0
- package/build/components/atoms/index.d.ts +3 -0
- package/build/components/mantine/errorLabel/index.d.ts +6 -0
- package/build/components/mantine/floatingLabelControl/context.d.ts +10 -0
- package/build/components/mantine/floatingLabelControl/index.d.ts +33 -0
- package/build/components/mantine/floatingLabelControl/index.styled.d.ts +15 -0
- package/build/components/mantine/index.d.ts +2 -0
- package/build/components/mantine/input/index.d.ts +2 -0
- package/build/components/mantine/input/index.styles.d.ts +8 -0
- package/build/components/mantine/phone/index.d.ts +4 -0
- package/build/components/mantine/phoneInput/PhoneInput.d.ts +4 -0
- package/build/components/mantine/provider/index.d.ts +2 -1
- package/build/components/mantine/select/index.styles.d.ts +8 -0
- package/build/components/mantine/text/index.d.ts +2 -2
- package/build/components/mantine/textArea/index.d.ts +1 -1
- package/build/components/mantine/textArea/index.styles.d.ts +8 -0
- package/build/components/mantine/theme/text.d.ts +6 -2
- package/build/components/molecules/cardListItem/index.d.ts +4 -1
- package/build/components/molecules/cardListItem/index.styled.d.ts +6 -3
- package/build/components/molecules/certificateItem/index.d.ts +9 -0
- package/build/components/molecules/certificateItem/index.styled.d.ts +9 -0
- package/build/components/molecules/doctorInfoExpertise/index.d.ts +9 -0
- package/build/components/molecules/doctorInfoExpertise/index.styled.d.ts +9 -0
- package/build/components/molecules/doctorInfoItem/index.d.ts +8 -0
- package/build/components/molecules/doctorInfoItem/index.styled.d.ts +12 -0
- package/build/components/molecules/hpvScreener/index.d.ts +8 -0
- package/build/components/molecules/hpvScreener/index.styled.d.ts +78 -0
- package/build/components/molecules/index.d.ts +7 -0
- package/build/components/molecules/list/ListQuickFilterWrapline.d.ts +8 -0
- package/build/components/molecules/list/index.d.ts +2 -0
- package/build/components/molecules/list/type.d.ts +2 -1
- package/build/components/molecules/list/useList.d.ts +1 -1
- package/build/components/molecules/quickFilterWrapLine/index.d.ts +10 -0
- package/build/components/molecules/quickFilterWrapLine/index.helper.d.ts +2 -0
- package/build/components/molecules/quickFilterWrapLine/index.styled.d.ts +17 -0
- package/build/components/molecules/summaryInfo/index.d.ts +16 -0
- package/build/components/molecules/summaryInfo/index.styled.d.ts +23 -0
- package/build/components/molecules/voucherItem/index.d.ts +12 -0
- package/build/components/molecules/voucherItem/index.style.d.ts +33 -0
- package/build/components/navigationV2/components/atoms/searchInput/index.styled.d.ts +1 -0
- package/build/components/organisms/clinicInfo/index.styled.d.ts +7 -0
- package/build/components/organisms/doctorExpertise/index.d.ts +28 -0
- package/build/components/organisms/doctorExpertise/index.helper.d.ts +9 -0
- package/build/components/organisms/doctorExpertise/index.styled.d.ts +20 -0
- package/build/components/organisms/index.d.ts +1 -0
- package/build/components.js +192 -182
- package/build/{constants-4e2bfd14.js → constants-852fd644.js} +1 -1
- package/build/constants.js +7 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-226d8e53.js → core-4a0513f1.js} +1 -1
- package/build/{dataTransform-bf47226c.js → dataTransform-935ee173.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-c1779b4a.js → editor-58825b65.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -24
- package/build/embeddedHeathToolCards_babyPoop.js +21 -20
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -23
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -28
- package/build/esm/{InputDate-bbabe837.js → InputDate-6c8bbff7.js} +5 -5
- package/build/esm/{LastPeriod-c11aa120.js → LastPeriod-bc587cfa.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-65679b14.js → MobileBottomNavigationIcon-d3f0daed.js} +3 -3
- package/build/esm/RatingStarsInput-a8af807b.js +5594 -0
- package/build/esm/{Spinner-cff2030b.js → Spinner-0f89e0d9.js} +1 -1
- package/build/esm/{WhatsApp-f54fd8f5.js → WhatsApp-c3402166.js} +1 -1
- package/build/esm/adapters.js +21 -20
- package/build/esm/atoms.js +58 -57
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/esm/care/interfaces/types.d.ts +2 -0
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/DragFreeCarousel/index.d.ts +9 -0
- package/build/esm/components/atoms/DragFreeCarousel/index.style.d.ts +3 -0
- package/build/esm/components/atoms/cardCollapse/index.d.ts +3 -2
- package/build/esm/components/atoms/drawerComponent/index.d.ts +1 -0
- package/build/esm/components/atoms/index.d.ts +3 -0
- package/build/esm/components/mantine/errorLabel/index.d.ts +6 -0
- package/build/esm/components/mantine/floatingLabelControl/context.d.ts +10 -0
- package/build/esm/components/mantine/floatingLabelControl/index.d.ts +33 -0
- package/build/esm/components/mantine/floatingLabelControl/index.styled.d.ts +15 -0
- package/build/esm/components/mantine/index.d.ts +2 -0
- package/build/esm/components/mantine/input/index.d.ts +2 -0
- package/build/esm/components/mantine/input/index.styles.d.ts +8 -0
- package/build/esm/components/mantine/phone/index.d.ts +4 -0
- package/build/esm/components/mantine/phoneInput/PhoneInput.d.ts +4 -0
- package/build/esm/components/mantine/provider/index.d.ts +2 -1
- package/build/esm/components/mantine/select/index.styles.d.ts +8 -0
- package/build/esm/components/mantine/text/index.d.ts +2 -2
- package/build/esm/components/mantine/textArea/index.d.ts +1 -1
- package/build/esm/components/mantine/textArea/index.styles.d.ts +8 -0
- package/build/esm/components/mantine/theme/text.d.ts +6 -2
- package/build/esm/components/molecules/cardListItem/index.d.ts +4 -1
- package/build/esm/components/molecules/cardListItem/index.styled.d.ts +6 -3
- package/build/esm/components/molecules/certificateItem/index.d.ts +9 -0
- package/build/esm/components/molecules/certificateItem/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/doctorInfoExpertise/index.d.ts +9 -0
- package/build/esm/components/molecules/doctorInfoExpertise/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/doctorInfoItem/index.d.ts +8 -0
- package/build/esm/components/molecules/doctorInfoItem/index.styled.d.ts +12 -0
- package/build/esm/components/molecules/hpvScreener/index.d.ts +8 -0
- package/build/esm/components/molecules/hpvScreener/index.styled.d.ts +78 -0
- package/build/esm/components/molecules/index.d.ts +7 -0
- package/build/esm/components/molecules/list/ListQuickFilterWrapline.d.ts +8 -0
- package/build/esm/components/molecules/list/index.d.ts +2 -0
- package/build/esm/components/molecules/list/type.d.ts +2 -1
- package/build/esm/components/molecules/list/useList.d.ts +1 -1
- package/build/esm/components/molecules/quickFilterWrapLine/index.d.ts +10 -0
- package/build/esm/components/molecules/quickFilterWrapLine/index.helper.d.ts +2 -0
- package/build/esm/components/molecules/quickFilterWrapLine/index.styled.d.ts +17 -0
- package/build/esm/components/molecules/summaryInfo/index.d.ts +16 -0
- package/build/esm/components/molecules/summaryInfo/index.styled.d.ts +23 -0
- package/build/esm/components/molecules/voucherItem/index.d.ts +12 -0
- package/build/esm/components/molecules/voucherItem/index.style.d.ts +33 -0
- package/build/esm/components/navigationV2/components/atoms/searchInput/index.styled.d.ts +1 -0
- package/build/esm/components/organisms/clinicInfo/index.styled.d.ts +7 -0
- package/build/esm/components/organisms/doctorExpertise/index.d.ts +28 -0
- package/build/esm/components/organisms/doctorExpertise/index.helper.d.ts +9 -0
- package/build/esm/components/organisms/doctorExpertise/index.styled.d.ts +20 -0
- package/build/esm/components/organisms/index.d.ts +1 -0
- package/build/esm/components.js +105 -105
- package/build/esm/{constants-9d641bb6.js → constants-85eb8e43.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-69550acb.js → core-53d010d4.js} +1 -1
- package/build/esm/{dataTransform-f6faf258.js → dataTransform-81038bad.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-e4bd1b9a.js → editor-8ebf9d42.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +21 -20
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -23
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -28
- package/build/esm/footer.js +23 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-c49f5e5e.js → healthTools-a67cf1c6.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -19
- package/build/esm/healthToolsForm.js +35 -34
- package/build/esm/hooks/index.d.ts +1 -0
- package/build/esm/hooks/usePhoneValidator.d.ts +3 -0
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +10 -0
- package/build/esm/i18n-values/hi-IN.js +10 -0
- package/build/esm/i18n-values/id-ID.js +10 -0
- package/build/esm/i18n-values/km-KH.js +10 -0
- package/build/esm/i18n-values/ms-MY.js +10 -0
- package/build/esm/i18n-values/my-MM.js +10 -0
- package/build/esm/i18n-values/th-TH.js +14 -4
- package/build/esm/i18n-values/tl-PH.js +10 -0
- package/build/esm/i18n-values/vi-VN.js +15 -5
- package/build/esm/i18n-values/vi-VN_MB.js +15 -5
- package/build/esm/i18n-values/zh-SG.js +10 -0
- package/build/esm/i18n-values/zh-TW.js +10 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/icons/ArrowRightBlue.d.ts +4 -0
- package/build/esm/icons/Clinic.d.ts +4 -0
- package/build/esm/icons/Credential.d.ts +4 -0
- package/build/esm/icons/Education.d.ts +4 -0
- package/build/esm/icons/Email.d.ts +4 -0
- package/build/esm/icons/HPV.d.ts +4 -0
- package/build/esm/icons/Highlight.d.ts +4 -0
- package/build/esm/icons/StarUpgrade.d.ts +4 -0
- package/build/esm/{index-b1308672.js → index-00deb2dd.js} +191 -144
- package/build/esm/{index-d8c8df3a.js → index-027e189f.js} +14 -14
- package/build/esm/{index-3e3a60a1.js → index-09798eca.js} +4 -4
- package/build/esm/{index-bc4aeb66.js → index-098cbd8c.js} +105 -2
- package/build/esm/{index-9625320e.js → index-0cffe926.js} +1 -1
- package/build/esm/{index-1db5849f.js → index-0d9edf04.js} +17 -17
- package/build/esm/{index-188831e6.js → index-0df2e861.js} +1 -1
- package/build/esm/{index-a89da347.js → index-0f3f5dab.js} +8 -8
- package/build/esm/{index-47046ee8.js → index-0fbbbd2e.js} +1 -1
- package/build/esm/{index-f55d7dea.js → index-0fe6ecf5.js} +16 -16
- package/build/esm/{index-68e06c1d.js → index-118c353a.js} +10 -10
- package/build/esm/{index-842721ef.js → index-139c48dc.js} +2 -2
- package/build/esm/{index-8830255b.js → index-2191c5e9.js} +13 -13
- package/build/esm/{index-f9b8c1af.js → index-21c766d8.js} +470 -34
- package/build/esm/{index-888668d1.js → index-24cd82ca.js} +2 -2
- package/build/esm/{index-3859ea85.js → index-26c25e9f.js} +4 -4
- package/build/esm/{index-81d8fb69.js → index-2b41fa9e.js} +30 -30
- package/build/esm/{index-c06106d0.js → index-2edc1593.js} +7 -7
- package/build/esm/{index-ffe8a1e7.js → index-3066ecd9.js} +6 -6
- package/build/esm/{index-2c2c8b4e.js → index-42f45c7f.js} +25 -25
- package/build/esm/{ImageUpload.types-49a1f436.js → index-4d17dd75.js} +34 -17
- package/build/esm/{index-5cf0aeb3.js → index-4f70133e.js} +2 -2
- package/build/esm/{index-e189796d.js → index-4ff18fd8.js} +3 -3
- package/build/esm/{index-9cae143c.js → index-53d57fd7.js} +5 -5
- package/build/esm/{index-ba7bee56.js → index-5b9a7a03.js} +3 -3
- package/build/esm/{index-b8d62613.js → index-5f963442.js} +17 -17
- package/build/esm/index-67281f83.js +160 -0
- package/build/esm/{index-d6105ec3.js → index-69bab49a.js} +6 -6
- package/build/esm/{index-42d2e859.js → index-6d631186.js} +32 -32
- package/build/esm/{index-f85a7ce6.js → index-6e4aa339.js} +2 -2
- package/build/esm/{index-eb967074.js → index-6f8623b2.js} +3 -3
- package/build/esm/{index-fc9df42c.js → index-747a6fb1.js} +4 -4
- package/build/esm/{index-894bb9f6.js → index-759a4c1c.js} +1 -1
- package/build/esm/{index-812075ed.js → index-79cabb83.js} +15 -15
- package/build/esm/{index-4183f6aa.js → index-7ed46df4.js} +17 -17
- package/build/esm/{index-d29a1df9.js → index-8182a3ba.js} +1 -1
- package/build/esm/{index-3fee853a.js → index-8206bdcb.js} +16 -16
- package/build/esm/{index-e0033480.js → index-86084e17.js} +32 -32
- package/build/esm/{index-f18a1cc6.js → index-89239154.js} +2 -2
- package/build/esm/{index-2b5b5669.js → index-8fbf67af.js} +13 -13
- package/build/esm/index-925a0fb7.js +15 -0
- package/build/esm/{index-b776637e.js → index-9836cc2b.js} +4 -16
- package/build/esm/{index-5f864174.js → index-a395e851.js} +13 -13
- package/build/esm/{index-75c2ce84.js → index-a3b54f42.js} +2 -2
- package/build/esm/{index-8e7e4a60.js → index-a7e71fb1.js} +15 -15
- package/build/esm/{index-c6a033a5.js → index-af40ae57.js} +1 -1
- package/build/esm/{index-5d86b1dd.js → index-af9ab72f.js} +22 -22
- package/build/esm/{index-2e4e7e7d.js → index-b02d7d2b.js} +3 -3
- package/build/esm/{index-987d73b9.js → index-b13065d2.js} +2 -2
- package/build/esm/{index-cadaa860.js → index-b4082cca.js} +2 -2
- package/build/esm/{index-f0ff7cab.js → index-bae12515.js} +2 -2
- package/build/esm/{index-fab9d4d1.js → index-bb17e65a.js} +2 -2
- package/build/esm/{index-d5f5b4d1.js → index-bd3a8cf9.js} +14 -14
- package/build/esm/{index-1b28fd26.js → index-c0645e5a.js} +2 -2
- package/build/esm/{index-36971c89.js → index-ce719781.js} +7 -7
- package/build/esm/{index-a0b9981f.js → index-d02e9c01.js} +11 -4
- package/build/esm/{index-ef6c9ca1.js → index-d1849b82.js} +11 -11
- package/build/esm/{index-d1c8818c.js → index-d551b3d2.js} +3 -3
- package/build/esm/{index-8d8ed21c.js → index-dccb1f13.js} +2 -2
- package/build/esm/{index-32b50680.js → index-dcf741b6.js} +15 -15
- package/build/esm/{index-a49ea8de.js → index-e59166dc.js} +3 -3
- package/build/esm/{index-5d3ee755.js → index-e5abfb0d.js} +2 -2
- package/build/esm/{index-56c492dc.js → index-e7924420.js} +17 -17
- package/build/esm/{index-54314f3d.js → index-ea8c2de9.js} +1 -1
- package/build/esm/{index-575418c4.js → index-f15bb6d2.js} +6 -6
- package/build/esm/{index-6506ceb9.js → index-f1fa7f42.js} +3 -3
- package/build/esm/{index-ecf7fdf5.js → index-f4e0c7e3.js} +13 -13
- package/build/esm/{index-9ed9c6c1.js → index-fbacb19a.js} +21 -21
- package/build/esm/{index-b9e35838.js → index-fdac9b9e.js} +13 -13
- package/build/esm/{index-31a635e7.js → index-ff6cc432.js} +6 -6
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +125 -125
- package/build/esm/interfaces/constants/index.d.ts +5 -0
- package/build/esm/{labelSorting-8b76653e.js → labelSorting-b054a7c8.js} +4 -4
- package/build/esm/lead/components/close.d.ts +1 -1
- package/build/esm/lead/layouts/inlineFreebie/InlineFreebie.styled.d.ts +1 -1
- package/build/esm/lead.js +50 -72
- package/build/esm/{logoIcon-df80ead4.js → logoIcon-21632207.js} +2 -2
- package/build/esm/mantine.js +34 -29
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +78 -78
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +18 -17
- package/build/esm/navigation.js +48 -48
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +28 -28
- package/build/esm/onboardingV2.js +31 -30
- package/build/esm/organisms.js +59 -59
- package/build/esm/{post-fea8b540.js → post-29dff00a.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +24 -23
- package/build/esm/ssoV2.js +32 -31
- package/build/esm/{store-80a86dda.js → store-5366a764.js} +3 -3
- package/build/esm/subot.js +38 -38
- package/build/esm/surveyOrPremiumBanner.js +35 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-d13a1eb2.js → surveyThankyouCard-47324c99.js} +5 -5
- package/build/esm/{text-213211e3.js → text-7bd13052.js} +6 -2
- package/build/esm/together/components/molecules/createPostVideo/socialLinkPopup/index.styled.d.ts +1 -0
- package/build/esm/together.js +58 -58
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +32 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +41 -41
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-ca9adafe.js → translationsProvider-92e884b9.js} +1 -1
- package/build/esm/{treePopoverMenu-4cb01630.js → treePopoverMenu-4be698fd.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-3a05cdfc.js → useHealthToolCache-65432df0.js} +1 -1
- package/build/esm/{useCategory-a2b57c85.js → usePhoneValidator-4e7654cc.js} +47 -6
- package/build/esm/{usePlacesAutocomplete-df424450.js → usePlacesAutocomplete-1cfc17d8.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-137b324b.js → utils-16c99ed9.js} +1 -1
- package/build/esm/{utils-490869cd.js → utils-83840456.js} +5 -5
- package/build/esm/{utils-1b1cf074.js → utils-b26e81b4.js} +2 -2
- package/build/esm/{utils-c2a4df32.js → utils-bc200f7b.js} +3 -3
- package/build/esm/{utils-becc49e7.js → utils-d75f4e5b.js} +2 -2
- package/build/esm/vaccination.js +23 -22
- package/build/footer.js +23 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-92c614f4.js → healthTools-f5e29566.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -19
- package/build/healthToolsForm.js +35 -34
- package/build/hooks/index.d.ts +1 -0
- package/build/hooks/usePhoneValidator.d.ts +3 -0
- package/build/hooks.js +20 -19
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +10 -0
- package/build/i18n-values/hi-IN.js +10 -0
- package/build/i18n-values/id-ID.js +10 -0
- package/build/i18n-values/km-KH.js +10 -0
- package/build/i18n-values/ms-MY.js +10 -0
- package/build/i18n-values/my-MM.js +10 -0
- package/build/i18n-values/th-TH.js +14 -4
- package/build/i18n-values/tl-PH.js +10 -0
- package/build/i18n-values/vi-VN.js +15 -5
- package/build/i18n-values/vi-VN_MB.js +15 -5
- package/build/i18n-values/zh-SG.js +10 -0
- package/build/i18n-values/zh-TW.js +10 -0
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/icons/ArrowRightBlue.d.ts +4 -0
- package/build/icons/Clinic.d.ts +4 -0
- package/build/icons/Credential.d.ts +4 -0
- package/build/icons/Education.d.ts +4 -0
- package/build/icons/Email.d.ts +4 -0
- package/build/icons/HPV.d.ts +4 -0
- package/build/icons/Highlight.d.ts +4 -0
- package/build/icons/StarUpgrade.d.ts +4 -0
- package/build/{index-99659b57.js → index-032bd3de.js} +2 -2
- package/build/{index-44a4add2.js → index-0930a373.js} +13 -13
- package/build/{index-d96a51c4.js → index-137551db.js} +5 -5
- package/build/{index-039ed66c.js → index-16214f9f.js} +3 -3
- package/build/{index-aba3c58a.js → index-1804851d.js} +32 -32
- package/build/{index-0e00fcf2.js → index-1a3dd76c.js} +13 -13
- package/build/{index-1016c208.js → index-1daab57c.js} +1 -1
- package/build/{index-e995b1ac.js → index-1ea73c25.js} +2 -2
- package/build/{index-ea3516ec.js → index-20e20819.js} +22 -22
- package/build/{index-aba755d6.js → index-2328edc3.js} +4 -4
- package/build/{index-eedfc663.js → index-2fb5a44e.js} +13 -13
- package/build/{index-4beb0f68.js → index-33f7ebd5.js} +15 -15
- package/build/{index-c2a9c178.js → index-3e4f8b2e.js} +3 -3
- package/build/{index-0442dab5.js → index-3f8732b4.js} +1 -1
- package/build/{index-70c32499.js → index-41df8c78.js} +15 -15
- package/build/{index-ec1fd2ed.js → index-457dbb56.js} +14 -14
- package/build/{index-a3f5ebce.js → index-4931f264.js} +2 -2
- package/build/{index-c5d67b57.js → index-4ed90a26.js} +105 -1
- package/build/{index-385f37ca.js → index-4f827964.js} +6 -6
- package/build/{index-d0c41740.js → index-5062c937.js} +3 -3
- package/build/{index-29e06dd0.js → index-5407515b.js} +1 -1
- package/build/{index-61f90f8b.js → index-574a778b.js} +13 -13
- package/build/{index-99984179.js → index-581d64f1.js} +6 -6
- package/build/{index-6ed80526.js → index-58f72854.js} +10 -10
- package/build/{index-b24f9f81.js → index-59a8e78f.js} +16 -16
- package/build/{ImageUpload.types-c9da1064.js → index-5fb97aa0.js} +34 -16
- package/build/{index-fa92483b.js → index-600def91.js} +470 -32
- package/build/{index-a3f0576b.js → index-68cea447.js} +2 -2
- package/build/{index-213f3e49.js → index-69ed5e37.js} +3 -3
- package/build/{index-e12a121c.js → index-6c05b74f.js} +21 -21
- package/build/{index-1e2fd296.js → index-6f4386e0.js} +2 -2
- package/build/{index-407bc771.js → index-731ba974.js} +14 -14
- package/build/{index-b27480fe.js → index-73cd3d70.js} +7 -7
- package/build/{index-d065e4ce.js → index-7afaac4b.js} +3 -3
- package/build/{index-22e7ba40.js → index-7d0e34fd.js} +2 -2
- package/build/{index-2d7da9a1.js → index-7ee13f57.js} +7 -7
- package/build/{index-71cc6db3.js → index-89215d97.js} +3 -3
- package/build/{index-d52ec9db.js → index-89a5f77c.js} +2 -2
- package/build/{index-09093b59.js → index-8ef7f3d7.js} +15 -15
- package/build/{index-5d0ef97b.js → index-90184f94.js} +4 -4
- package/build/{index-6944ef30.js → index-93044457.js} +2 -2
- package/build/{index-10a64107.js → index-997b33e9.js} +2 -2
- package/build/{index-a526aa9c.js → index-99873463.js} +2 -2
- package/build/{index-a876d028.js → index-9da59699.js} +4 -4
- package/build/{index-c1075e76.js → index-a135063e.js} +1 -1
- package/build/{index-044fa678.js → index-a5162482.js} +2 -2
- package/build/{index-c6ee7692.js → index-ab7831f3.js} +17 -17
- package/build/{index-fd799256.js → index-ae8b725b.js} +1 -1
- package/build/{index-b5a7e883.js → index-b83e4b0f.js} +17 -17
- package/build/{index-411a48f7.js → index-bc73ff7f.js} +10 -3
- package/build/{index-6e577bd1.js → index-bcf3426d.js} +1 -1
- package/build/index-bf114903.js +189 -0
- package/build/{index-fbb229eb.js → index-bf99aac8.js} +3 -16
- package/build/{index-c5e886d0.js → index-bfc1baa4.js} +6 -6
- package/build/{index-208688d6.js → index-c1613883.js} +3 -3
- package/build/{index-ef69fede.js → index-c51690b4.js} +13 -13
- package/build/{index-bd3cd19b.js → index-c9587556.js} +2 -2
- package/build/{index-849bb94a.js → index-ca8b1462.js} +30 -30
- package/build/{index-a9e5a85c.js → index-ced01634.js} +2 -2
- package/build/{index-861cd7b9.js → index-ceef9938.js} +17 -17
- package/build/{index-9b764b6e.js → index-d2eb0107.js} +25 -25
- package/build/{index-25af2d49.js → index-d87866d0.js} +6 -6
- package/build/{index-05347996.js → index-da8eb3ad.js} +5 -5
- package/build/{index-27f13bad.js → index-dddb73c2.js} +11 -11
- package/build/{index-71fbffaf.js → index-e3b4098c.js} +8 -8
- package/build/{index-d83c0a09.js → index-ecc6b550.js} +17 -17
- package/build/{index-04d2e71c.js → index-ef0fa0af.js} +1 -1
- package/build/{index-7957df74.js → index-f293818b.js} +32 -32
- package/build/{index-1d72830e.js → index-fb152a9a.js} +203 -155
- package/build/{index-5531012d.js → index-ffafb0f3.js} +16 -16
- package/build/index.css +1 -1
- package/build/index.js +252 -241
- package/build/interfaces/constants/index.d.ts +5 -0
- package/build/{labelSorting-b0ab8cb3.js → labelSorting-8591a1f7.js} +4 -4
- package/build/lead/components/close.d.ts +1 -1
- package/build/lead/layouts/inlineFreebie/InlineFreebie.styled.d.ts +1 -1
- package/build/lead.js +55 -77
- package/build/{logoIcon-cc436d9d.js → logoIcon-f844459d.js} +2 -2
- package/build/mantine.js +32 -26
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +85 -78
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +18 -17
- package/build/navigation.js +48 -48
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +28 -28
- package/build/onboardingV2.js +30 -29
- package/build/organisms.js +60 -59
- package/build/{post-63044a13.js → post-4866ddd0.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +24 -23
- package/build/ssoV2.js +30 -29
- package/build/{store-0881335b.js → store-9fbf003a.js} +3 -3
- package/build/subot.js +37 -37
- package/build/surveyOrPremiumBanner.js +35 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-93309b0a.js → surveyThankyouCard-4c543ad6.js} +5 -5
- package/build/{text-e4fe91d4.js → text-0ef2e111.js} +6 -2
- package/build/together/components/molecules/createPostVideo/socialLinkPopup/index.styled.d.ts +1 -0
- package/build/together.js +58 -58
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +32 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +41 -41
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-63031ee2.js → translationsProvider-8bfd8dcd.js} +1 -1
- package/build/{treePopoverMenu-e3d7dd40.js → treePopoverMenu-3173b7c6.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-1c975179.js → useHealthToolCache-49b91761.js} +1 -1
- package/build/{useCategory-e96ba61a.js → usePhoneValidator-42b4420c.js} +65 -5
- package/build/{usePlacesAutocomplete-b024b4d3.js → usePlacesAutocomplete-16a24e6c.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-22e21db4.js → utils-268e7be6.js} +2 -2
- package/build/{utils-6e2d4616.js → utils-4c15fb7c.js} +5 -5
- package/build/{utils-004c4b1b.js → utils-591412ce.js} +1 -1
- package/build/{utils-44b7824a.js → utils-756b7229.js} +2 -2
- package/build/{utils-64e8e82c.js → utils-efb9df54.js} +3 -3
- package/build/vaccination.js +23 -22
- package/package.json +2 -1
- package/build/RatingStarsInput-283744ef.js +0 -5241
- package/build/components/mantine/input/inputLabelFloat.d.ts +0 -4
- package/build/components/mantine/textArea/index.styled.d.ts +0 -4
- package/build/esm/RatingStarsInput-b8d71cdf.js +0 -5176
- package/build/esm/components/mantine/input/inputLabelFloat.d.ts +0 -4
- package/build/esm/components/mantine/textArea/index.styled.d.ts +0 -4
- package/build/esm/index-a6290b4d.js +0 -81
- package/build/esm/index-cf9bdeb9.js +0 -15
- package/build/index-764dddfe.js +0 -89
- /package/build/{BMI_BOYS.percentile.monthly-c76394b0.js → BMI_BOYS.percentile.monthly-ff6e801a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d7dda13f.js → BMI_BOYS.percentile.weekly-af0cf00b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-0920c9b3.js → BMI_BOYS.percentile.yearly-b69d2481.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5f930d3b.js → BMI_BOYS.zscore.monthly-2315bd3d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-896d8c58.js → BMI_BOYS.zscore.weekly-33981906.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-fd83fa39.js → BMI_BOYS.zscore.yearly-8f97532e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-b971d4e5.js → BMI_GIRLS.percentile.monthly-c71ad5de.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-ab522d2a.js → BMI_GIRLS.percentile.weekly-5097715c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f891a1ea.js → BMI_GIRLS.percentile.yearly-2d1cc3d2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-59ace3c5.js → BMI_GIRLS.zscore.monthly-0948183b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-81a834a4.js → BMI_GIRLS.zscore.weekly-0c27efa2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-2ee74d0c.js → BMI_GIRLS.zscore.yearly-6a5590d8.js} +0 -0
- /package/build/{ChevronDown-7a12e118.js → ChevronDown-fbb29ce6.js} +0 -0
- /package/build/{Close-26c16e78.js → Close-8ab6763e.js} +0 -0
- /package/build/{Google-0d900e25.js → Google-9c9c5f3d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5fd2ee50.js → HEAD CIRCUM_BOYS.percentile.monthly-5dfaffb3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-2725a32a.js → HEAD CIRCUM_BOYS.percentile.weekly-f20bc9e6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-caf32b05.js → HEAD CIRCUM_BOYS.percentile.yearly-7d418691.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6ae5af88.js → HEAD CIRCUM_BOYS.zscore.monthly-0b4e133c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-aae53552.js → HEAD CIRCUM_BOYS.zscore.weekly-68c5933f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-f242545c.js → HEAD CIRCUM_BOYS.zscore.yearly-7716edfb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-27671e90.js → HEAD CIRCUM_GIRLS.percentile.monthly-089aef39.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-cfb1d9bc.js → HEAD CIRCUM_GIRLS.percentile.weekly-dc9f5596.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b806f6b8.js → HEAD CIRCUM_GIRLS.percentile.yearly-c248ad6c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6893edef.js → HEAD CIRCUM_GIRLS.zscore.monthly-0c2d1236.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b71adad8.js → HEAD CIRCUM_GIRLS.zscore.weekly-da784852.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4fcc3d2f.js → HEAD CIRCUM_GIRLS.zscore.yearly-373ced5e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-dce899a5.js → HEIGHT_BOYS.percentile.monthly-349600e7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-1666d3cf.js → HEIGHT_BOYS.percentile.weekly-b2e2eaf8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-87ba55fa.js → HEIGHT_BOYS.percentile.yearly-5ba2f7b9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-884848f6.js → HEIGHT_BOYS.zscore.monthly-d92d5ec2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-de2be370.js → HEIGHT_BOYS.zscore.weekly-4031f9d1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a1ae6140.js → HEIGHT_BOYS.zscore.yearly-77f0a7d9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d8365b45.js → HEIGHT_GIRLS.percentile.monthly-8a571e59.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-5b1490fd.js → HEIGHT_GIRLS.percentile.weekly-ab6e4246.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-62d2285b.js → HEIGHT_GIRLS.percentile.yearly-c4b57be9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-efae5dd6.js → HEIGHT_GIRLS.zscore.monthly-25623a82.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e884a389.js → HEIGHT_GIRLS.zscore.weekly-da5f1310.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2c2edb48.js → HEIGHT_GIRLS.zscore.yearly-01976e3f.js} +0 -0
- /package/build/{Locale-69fc8fed.js → Locale-66835f9a.js} +0 -0
- /package/build/{Upload-b2c39b18.js → Upload-d3e64c9f.js} +0 -0
- /package/build/{Visible-23c9ff1a.js → Visible-1c8d9227.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-287d75a9.js → WEIGHT_BOYS.percentile.monthly-653f443e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0db987ad.js → WEIGHT_BOYS.percentile.weekly-0a9fb4ab.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-22f36a11.js → WEIGHT_BOYS.percentile.yearly-092f7d90.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-76a75e8e.js → WEIGHT_BOYS.zscore.monthly-3cbdee43.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b7eb2341.js → WEIGHT_BOYS.zscore.weekly-ff761428.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-bbf21ee8.js → WEIGHT_BOYS.zscore.yearly-b272fc29.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-9512cc45.js → WEIGHT_GIRLS.percentile.monthly-e082acbe.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-7ee9d18f.js → WEIGHT_GIRLS.percentile.weekly-96b8ec86.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-f021e0ea.js → WEIGHT_GIRLS.percentile.yearly-da6db284.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b3ce8094.js → WEIGHT_GIRLS.zscore.monthly-5dfcd54e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b0308d6a.js → WEIGHT_GIRLS.zscore.weekly-edaad02d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-66b05c12.js → WEIGHT_GIRLS.zscore.yearly-4615a345.js} +0 -0
- /package/build/{ageGenerate-4cb3aba5.js → ageGenerate-e053bb62.js} +0 -0
- /package/build/{animation-e5e72cc1.js → animation-1dc11299.js} +0 -0
- /package/build/{constants-ee587d9d.js → constants-8b7f26ad.js} +0 -0
- /package/build/{constants-23fb98f3.js → constants-c37407b6.js} +0 -0
- /package/build/{constants-1678588a.js → constants-f4c590ab.js} +0 -0
- /package/build/{dataTransform-a1513994.js → dataTransform-857fbeef.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c7ada1f8.js → BMI_BOYS.percentile.monthly-0a6e454c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-caed5098.js → BMI_BOYS.percentile.weekly-14613e8d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f146fcbe.js → BMI_BOYS.percentile.yearly-6a326dd2.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e6f01dd4.js → BMI_BOYS.zscore.monthly-92e94167.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-875ed248.js → BMI_BOYS.zscore.weekly-5851d9f4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-0f28aaf2.js → BMI_BOYS.zscore.yearly-222344fe.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-88cb20e2.js → BMI_GIRLS.percentile.monthly-1f34a41d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-a6fd44ae.js → BMI_GIRLS.percentile.weekly-c686d091.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7c8dd34a.js → BMI_GIRLS.percentile.yearly-8f3053a6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-26377159.js → BMI_GIRLS.zscore.monthly-ddb111ba.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-649681dd.js → BMI_GIRLS.zscore.weekly-ead57ef3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d0fc13ca.js → BMI_GIRLS.zscore.yearly-f53c85be.js} +0 -0
- /package/build/esm/{ChevronDown-b26acb8c.js → ChevronDown-75045fc3.js} +0 -0
- /package/build/esm/{Close-3b199d50.js → Close-867d5bf6.js} +0 -0
- /package/build/esm/{Google-b14d41bb.js → Google-de48eeaf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f70e8f82.js → HEAD CIRCUM_BOYS.percentile.monthly-7fbc740b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-fac1e73f.js → HEAD CIRCUM_BOYS.percentile.weekly-8738de56.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e9beb8c3.js → HEAD CIRCUM_BOYS.percentile.yearly-e4a47533.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b6afbceb.js → HEAD CIRCUM_BOYS.zscore.monthly-2b556ce2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-7d800b3b.js → HEAD CIRCUM_BOYS.zscore.weekly-549f6525.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2602a19f.js → HEAD CIRCUM_BOYS.zscore.yearly-09af3a52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0e7538cf.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d1a343d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-02139871.js → HEAD CIRCUM_GIRLS.percentile.weekly-646fb9bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0cdbb9e9.js → HEAD CIRCUM_GIRLS.percentile.yearly-e536f7c9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-f36a8056.js → HEAD CIRCUM_GIRLS.zscore.monthly-b7e07946.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-cf1f3767.js → HEAD CIRCUM_GIRLS.zscore.weekly-d5b7ddb9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-7bf0907e.js → HEAD CIRCUM_GIRLS.zscore.yearly-28fcbf22.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-982a4e37.js → HEIGHT_BOYS.percentile.monthly-659dd25e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-b1b8d6bc.js → HEIGHT_BOYS.percentile.weekly-cab6fd5b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-4bf00b33.js → HEIGHT_BOYS.percentile.yearly-7dc5f907.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-1fa4d7d2.js → HEIGHT_BOYS.zscore.monthly-c8472600.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-34a502bb.js → HEIGHT_BOYS.zscore.weekly-84d86165.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6de87ad5.js → HEIGHT_BOYS.zscore.yearly-27dc8def.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a38edf46.js → HEIGHT_GIRLS.percentile.monthly-543ea5ed.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7306e6d9.js → HEIGHT_GIRLS.percentile.weekly-ec0c6ffa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-2ae7bafc.js → HEIGHT_GIRLS.percentile.yearly-2ba4f18f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-169b0635.js → HEIGHT_GIRLS.zscore.monthly-ad17768a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a38e791d.js → HEIGHT_GIRLS.zscore.weekly-4ffa138f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b40ca991.js → HEIGHT_GIRLS.zscore.yearly-ecafa533.js} +0 -0
- /package/build/esm/{Locale-d048d763.js → Locale-bd1932d4.js} +0 -0
- /package/build/esm/{Upload-93166f71.js → Upload-7bc9425d.js} +0 -0
- /package/build/esm/{Visible-82289eb5.js → Visible-2428d607.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b08169c9.js → WEIGHT_BOYS.percentile.monthly-f3cdccb4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-985d7735.js → WEIGHT_BOYS.percentile.weekly-514371f0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e52df71d.js → WEIGHT_BOYS.percentile.yearly-dcbb9c6f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f57da86d.js → WEIGHT_BOYS.zscore.monthly-740c5d46.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8db72125.js → WEIGHT_BOYS.zscore.weekly-9dd84ef0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-58e65de3.js → WEIGHT_BOYS.zscore.yearly-f541c5de.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b90733dd.js → WEIGHT_GIRLS.percentile.monthly-5512dda5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-5dfb346a.js → WEIGHT_GIRLS.percentile.weekly-5d749a5e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-403f9502.js → WEIGHT_GIRLS.percentile.yearly-10f99686.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-fe49425e.js → WEIGHT_GIRLS.zscore.monthly-3a983b69.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-26d5da5a.js → WEIGHT_GIRLS.zscore.weekly-9c406b56.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-a4534ae1.js → WEIGHT_GIRLS.zscore.yearly-b097b1b1.js} +0 -0
- /package/build/esm/{ageGenerate-4782f513.js → ageGenerate-8b37ba87.js} +0 -0
- /package/build/esm/{animation-55f6278a.js → animation-1ff993ba.js} +0 -0
- /package/build/esm/{constants-035b6e6c.js → constants-dc6e8945.js} +0 -0
- /package/build/esm/{constants-849d3cbe.js → constants-ea2378da.js} +0 -0
- /package/build/esm/{constants-b51e8aaa.js → constants-f62086be.js} +0 -0
- /package/build/esm/{dataTransform-8dae6c47.js → dataTransform-06621fb1.js} +0 -0
- /package/build/esm/{index-4f326560.js → index-0bcf0fab.js} +0 -0
- /package/build/esm/{index-cfe67269.js → index-107dd534.js} +0 -0
- /package/build/esm/{index-18cee667.js → index-4e1c15b4.js} +0 -0
- /package/build/esm/{index-d1226c6f.js → index-82b4f2b6.js} +0 -0
- /package/build/esm/{index-ade70c1f.js → index-a2e2adc6.js} +0 -0
- /package/build/esm/{index-7ee931a6.js → index-dd851d45.js} +0 -0
- /package/build/esm/{index-fca8b126.js → index-efb19164.js} +0 -0
- /package/build/esm/{index-95459993.js → index-fadf9d6f.js} +0 -0
- /package/build/esm/{index.styles-d093bee1.js → index.styles-43d79a33.js} +0 -0
- /package/build/esm/{localizeNumberFormat-074cfbc0.js → localizeNumberFormat-0decfdf4.js} +0 -0
- /package/build/esm/{normalizeLink-eb98e478.js → normalizeLink-8d0ad45e.js} +0 -0
- /package/build/esm/{number-55886387.js → number-7e2a1bc8.js} +0 -0
- /package/build/esm/{paths-756ba21c.js → paths-1c30bf22.js} +0 -0
- /package/build/esm/{shared-4e615168.js → shared-66ffcc74.js} +0 -0
- /package/build/esm/{translationsContext-7e475bc9.js → translationsContext-15f0b183.js} +0 -0
- /package/build/esm/{tslib.es6-c1b028b7.js → tslib.es6-ebff6537.js} +0 -0
- /package/build/esm/{types-ecbfb095.js → types-49696c34.js} +0 -0
- /package/build/esm/{types-86fc3799.js → types-8991ed16.js} +0 -0
- /package/build/esm/{useIsInit-4a25d4ad.js → useIsInit-f141835b.js} +0 -0
- /package/build/esm/{useOutsideClick-7fb88775.js → useOutsideClick-4be73895.js} +0 -0
- /package/build/esm/{useScrollbarSize-4cc1db0e.js → useScrollbarSize-926dd14f.js} +0 -0
- /package/build/esm/{useUniqueId-f754cc40.js → useUniqueId-9d4a4d99.js} +0 -0
- /package/build/esm/{utils-eabe74c5.js → utils-d47134bf.js} +0 -0
- /package/build/{index-bb693c54.js → index-24687417.js} +0 -0
- /package/build/{index-8e40b75f.js → index-32f9411f.js} +0 -0
- /package/build/{index-c35e1a25.js → index-3ee1eafb.js} +0 -0
- /package/build/{index-43e3272f.js → index-4a38271d.js} +0 -0
- /package/build/{index-f86d4fe0.js → index-7bd9b821.js} +0 -0
- /package/build/{index-cf629cc2.js → index-7e59c868.js} +0 -0
- /package/build/{index-be0c637c.js → index-b9bde54c.js} +0 -0
- /package/build/{index-a6d650a5.js → index-fb09a2e1.js} +0 -0
- /package/build/{index.styles-341d7ef0.js → index.styles-4a307277.js} +0 -0
- /package/build/{localizeNumberFormat-6d2d7777.js → localizeNumberFormat-349b8e3c.js} +0 -0
- /package/build/{normalizeLink-74ada6e3.js → normalizeLink-9a3d58af.js} +0 -0
- /package/build/{number-ce7ec76b.js → number-a925e68e.js} +0 -0
- /package/build/{paths-133a9072.js → paths-fc8c5b54.js} +0 -0
- /package/build/{shared-d684976e.js → shared-9173fc17.js} +0 -0
- /package/build/{translationsContext-82d0f6fe.js → translationsContext-0b437307.js} +0 -0
- /package/build/{tslib.es6-a74f9491.js → tslib.es6-7e3d6fb1.js} +0 -0
- /package/build/{types-772583f5.js → types-a5ddfa9d.js} +0 -0
- /package/build/{types-ff6e34da.js → types-f2e7459a.js} +0 -0
- /package/build/{useIsInit-308f9916.js → useIsInit-b1a94f77.js} +0 -0
- /package/build/{useOutsideClick-cbd6cbb0.js → useOutsideClick-ea02f636.js} +0 -0
- /package/build/{useScrollbarSize-b53de5c3.js → useScrollbarSize-d710d4ea.js} +0 -0
- /package/build/{useUniqueId-604418dc.js → useUniqueId-919fc1bf.js} +0 -0
- /package/build/{utils-d16319e0.js → utils-57358b97.js} +0 -0
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { useMemo, useState, useEffect, useRef } from 'react';
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import React__default, { useMemo, useState, useEffect, useRef, createContext, useContext } from 'react';
|
|
3
|
+
import { u as useTranslations } from './index-ea8c2de9.js';
|
|
4
4
|
import { getCookie } from './miscCookieHelper.js';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
6
|
-
import { n as normalizeLinkSlash, e as normalizeLink } from './normalizeLink-
|
|
5
|
+
import { C as CommonGAssets } from './index-82b4f2b6.js';
|
|
6
|
+
import { n as normalizeLinkSlash, e as normalizeLink } from './normalizeLink-8d0ad45e.js';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { A as Avatar, I as IconWrapper, D as DistanceTag, S as ShapedArrowDown } from './index-
|
|
9
|
-
import { b as getTogetherUserPostsApiPath } from './index-
|
|
10
|
-
import { B as Button } from './index-
|
|
11
|
-
import { w as workingDays } from './types-
|
|
8
|
+
import { A as Avatar, I as IconWrapper, D as DistanceTag, a as DrawerBottom, S as ShapedArrowDown } from './index-098cbd8c.js';
|
|
9
|
+
import { b as getTogetherUserPostsApiPath } from './index-2b41fa9e.js';
|
|
10
|
+
import { B as Button } from './index-89239154.js';
|
|
11
|
+
import { w as workingDays } from './types-49696c34.js';
|
|
12
12
|
import styled from '@emotion/styled';
|
|
13
13
|
import { LoadScript, GoogleMap, Marker } from '@react-google-maps/api';
|
|
14
14
|
import cn from 'classnames';
|
|
15
|
-
import { b as basePath, Z as ZINDEX_SSO } from './index-
|
|
16
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
17
|
-
import { T as Text } from './index-
|
|
18
|
-
import { f as formatPhoneNumber } from './localizeNumberFormat-
|
|
19
|
-
import {
|
|
15
|
+
import { b as basePath, Z as ZINDEX_SSO } from './index-d02e9c01.js';
|
|
16
|
+
import { L as LOCALISED_SLUGS } from './constants-dc6e8945.js';
|
|
17
|
+
import { T as Text } from './index-2191c5e9.js';
|
|
18
|
+
import { f as formatPhoneNumber } from './localizeNumberFormat-0decfdf4.js';
|
|
19
|
+
import { a as __awaiter } from './tslib.es6-ebff6537.js';
|
|
20
20
|
import { useDisclosure } from '@mantine/hooks';
|
|
21
|
-
import { clsx,
|
|
22
|
-
import {
|
|
23
|
-
import { Drawer } from 'vaul';
|
|
24
|
-
import { u as useTextStyles, T as TextField, E as ErrorIcon } from './index-b776637e.js';
|
|
21
|
+
import { clsx, Flex, Box } from '@mantine/core';
|
|
22
|
+
import { u as useTextStyles, T as TextField } from './index-9836cc2b.js';
|
|
25
23
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { B as Button$1 } from './index-
|
|
29
|
-
import { M as MAPPED_LOCALE } from './index-
|
|
30
|
-
import { T as Text$1 } from './index-
|
|
31
|
-
import { I as ImageWrap } from './index-
|
|
32
|
-
import { I as InsuranceList, P as PaymentList } from './index-
|
|
24
|
+
import { P as Phone, I as Input, E as ErrorIcon } from './index-21c766d8.js';
|
|
25
|
+
import { G as GlobalTextStyleNew, C as CustomStylesType, F as FontWeight } from './text-7bd13052.js';
|
|
26
|
+
import { B as Button$1 } from './index-4ff18fd8.js';
|
|
27
|
+
import { M as MAPPED_LOCALE } from './index-0f3f5dab.js';
|
|
28
|
+
import { T as Text$1 } from './index-e59166dc.js';
|
|
29
|
+
import { I as ImageWrap } from './index-6e4aa339.js';
|
|
30
|
+
import { I as InsuranceList, P as PaymentList, A as ArrowRightBlue, a as DoctorInfoExpertise, D as DoctorExpertiseItem, C as Clinic } from './index-67281f83.js';
|
|
33
31
|
|
|
34
32
|
/* eslint-disable prettier/prettier */
|
|
35
33
|
const Check = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 81 80", fill: "none" }, props),
|
|
@@ -587,7 +585,7 @@ const StyledOMap = styled.div `
|
|
|
587
585
|
color: ${theme.colors.primaryBase};
|
|
588
586
|
}
|
|
589
587
|
`;
|
|
590
|
-
const StyledCard = styled.div `
|
|
588
|
+
const StyledCard$1 = styled.div `
|
|
591
589
|
padding: 16px;
|
|
592
590
|
border: 1px solid ${theme.colors.neutral200}
|
|
593
591
|
background: ${theme.colors.white}
|
|
@@ -650,9 +648,10 @@ const Map = (props) => {
|
|
|
650
648
|
const mapCard = useRef(null);
|
|
651
649
|
const { t } = useTranslations();
|
|
652
650
|
const onLoad = React__default.useCallback(function callback(map) {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
651
|
+
setTimeout(() => {
|
|
652
|
+
map.setZoom(14);
|
|
653
|
+
map.setCenter(center);
|
|
654
|
+
}, 100);
|
|
656
655
|
}, []);
|
|
657
656
|
const mapOptions = {
|
|
658
657
|
mapTypeControl: false,
|
|
@@ -670,10 +669,10 @@ const Map = (props) => {
|
|
|
670
669
|
React__default.createElement("div", { className: "map" },
|
|
671
670
|
isUsingEmbedMap ? (React__default.createElement("iframe", { width: width, height: height, style: {
|
|
672
671
|
border: 0,
|
|
673
|
-
}, className: "aspect-ratio-map", loading: "lazy", allowFullScreen: true, src: `https://www.google.com/maps/embed/v1/place?key=${googleMapKey}&q=${hospital.latitude},${hospital.longitude}` })) : (React__default.createElement(LoadScript, { googleMapsApiKey: googleMapKey || '' },
|
|
674
|
-
React__default.createElement(GoogleMap, { mapContainerClassName: 'map', center: center, zoom:
|
|
672
|
+
}, className: "aspect-ratio-map", loading: "lazy", allowFullScreen: true, src: `https://www.google.com/maps/embed/v1/place?key=${googleMapKey}&q=${hospital.latitude},${hospital.longitude}&zoom=14` })) : (React__default.createElement(LoadScript, { googleMapsApiKey: googleMapKey || '' },
|
|
673
|
+
React__default.createElement(GoogleMap, { mapContainerClassName: 'map', center: center, zoom: 14, onLoad: onLoad, options: mapOptions },
|
|
675
674
|
React__default.createElement(Marker, { position: center })))),
|
|
676
|
-
!hasNoCard ? (React__default.createElement(StyledCard, { className: cn('map-card'), "data-is-full-width": isFullWidth || undefined, ref: mapCard },
|
|
675
|
+
!hasNoCard ? (React__default.createElement(StyledCard$1, { className: cn('map-card'), "data-is-full-width": isFullWidth || undefined, ref: mapCard },
|
|
677
676
|
React__default.createElement(StyledHospitalTitle, { href: `${basePath}${getHospitalUrl(locale, hospital)}` },
|
|
678
677
|
React__default.createElement(Text, { size: "s2", type: "semiBold" }, hospitalName)),
|
|
679
678
|
React__default.createElement(StyledHospitalMoreInfo, null,
|
|
@@ -693,6 +692,11 @@ const Map = (props) => {
|
|
|
693
692
|
: t('doctorInfoComponent.loginToCall'))))) : null)));
|
|
694
693
|
};
|
|
695
694
|
|
|
695
|
+
/* eslint-disable prettier/prettier */
|
|
696
|
+
const Email = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none" }, props),
|
|
697
|
+
React.createElement("path", { d: "M2 4.66668C2 4.31305 2.14048 3.97392 2.39052 3.72387C2.64057 3.47382 2.97971 3.33334 3.33333 3.33334H12.6667C13.0203 3.33334 13.3594 3.47382 13.6095 3.72387C13.8595 3.97392 14 4.31305 14 4.66668V11.3333C14 11.687 13.8595 12.0261 13.6095 12.2762C13.3594 12.5262 13.0203 12.6667 12.6667 12.6667H3.33333C2.97971 12.6667 2.64057 12.5262 2.39052 12.2762C2.14048 12.0261 2 11.687 2 11.3333V4.66668Z", stroke: "#111111", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
698
|
+
React.createElement("path", { d: "M2 4.66666L8 8.66666L14 4.66666", stroke: "#111111", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
699
|
+
|
|
696
700
|
// import { ThemeProps } from '@hhgtech/hhg-components'
|
|
697
701
|
const StyledClinicInfo = styled.div `
|
|
698
702
|
color: #111111;
|
|
@@ -711,7 +715,7 @@ const StyledClinicInfo = styled.div `
|
|
|
711
715
|
line-height: 1.25rem;
|
|
712
716
|
font-weight: 400;
|
|
713
717
|
}
|
|
714
|
-
.
|
|
718
|
+
.contact-item {
|
|
715
719
|
display: inline-flex;
|
|
716
720
|
align-items: center;
|
|
717
721
|
padding: 8px 12px;
|
|
@@ -743,6 +747,10 @@ const StyledMobileIcon = styled(Mobile) `
|
|
|
743
747
|
width: 1rem;
|
|
744
748
|
height: 1rem;
|
|
745
749
|
`;
|
|
750
|
+
const StyledEmailIcon = styled(Email) `
|
|
751
|
+
width: 1rem;
|
|
752
|
+
height: 1rem;
|
|
753
|
+
`;
|
|
746
754
|
const StyledContainer = styled.div `
|
|
747
755
|
padding-top: 1rem;
|
|
748
756
|
padding-bottom: 1rem;
|
|
@@ -761,6 +769,10 @@ const StyledFlexBox = styled.div `
|
|
|
761
769
|
`;
|
|
762
770
|
const StyledDistanceTag$1 = styled(DistanceTag) `
|
|
763
771
|
border-radius: 0.75rem !important;
|
|
772
|
+
`;
|
|
773
|
+
const StyledContact = styled.div `
|
|
774
|
+
display: flex;
|
|
775
|
+
gap: 4px;
|
|
764
776
|
`;
|
|
765
777
|
|
|
766
778
|
function ClinicInfo(props) {
|
|
@@ -771,6 +783,7 @@ function ClinicInfo(props) {
|
|
|
771
783
|
address: hospitalInfo.address || '',
|
|
772
784
|
name: hospitalInfo.name || '',
|
|
773
785
|
phone: hospitalInfo.phone || '',
|
|
786
|
+
email: hospitalInfo.email || '',
|
|
774
787
|
};
|
|
775
788
|
return (React__default.createElement(StyledClinicInfo, null,
|
|
776
789
|
React__default.createElement(StyledMap, { dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel, googleMapKey: googleMapKey, hasNoCard: true, hospital: hospital, locale: locale, isLoggedIn: isLoggedIn, isFullWidth: true, height: 220, className: "panel-map", onPhoneHospital: onPhoneHospital }),
|
|
@@ -782,110 +795,16 @@ function ClinicInfo(props) {
|
|
|
782
795
|
flexShrink: 0,
|
|
783
796
|
} },
|
|
784
797
|
React__default.createElement(StyledDistanceTag$1, { value: `${distance} km` })))),
|
|
785
|
-
|
|
786
|
-
React__default.createElement(
|
|
787
|
-
|
|
798
|
+
React__default.createElement(StyledContact, null,
|
|
799
|
+
hospitalInfo.phone && (React__default.createElement("div", { className: "contact-item" },
|
|
800
|
+
React__default.createElement(StyledMobileIcon, null),
|
|
801
|
+
React__default.createElement("a", { href: `tel:${hospitalInfo.phone}` }, formatPhoneNumber(hospitalInfo.phone)))),
|
|
802
|
+
hospitalInfo.email && (React__default.createElement("div", { className: "contact-item" },
|
|
803
|
+
React__default.createElement(StyledEmailIcon, null),
|
|
804
|
+
React__default.createElement("a", { href: `mailto:${hospitalInfo === null || hospitalInfo === void 0 ? void 0 : hospitalInfo.email}` }, hospitalInfo.email))))),
|
|
788
805
|
hospitalInfo.working_times && (React__default.createElement(OpeningHours, { workingTimes: hospitalInfo.working_times }))));
|
|
789
806
|
}
|
|
790
807
|
|
|
791
|
-
styled(DrawerComponent) `
|
|
792
|
-
/* max-height: 100vh;
|
|
793
|
-
max-height: 100dvh; */
|
|
794
|
-
background-color: white;
|
|
795
|
-
|
|
796
|
-
&[data-vaul-drawer-direction='bottom'] {
|
|
797
|
-
top: initial !important;
|
|
798
|
-
border-top-left-radius: 16px !important;
|
|
799
|
-
border-top-right-radius: 16px !important;
|
|
800
|
-
padding-bottom: 32px;
|
|
801
|
-
padding-left: 20px;
|
|
802
|
-
padding-right: 20px;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.drawer__handle {
|
|
806
|
-
width: 44px;
|
|
807
|
-
height: 3px;
|
|
808
|
-
background-color: ${theme.colors.neutral500};
|
|
809
|
-
margin: 16px auto;
|
|
810
|
-
flex-shrink: 0;
|
|
811
|
-
}
|
|
812
|
-
`;
|
|
813
|
-
const StyledDrawerBottomContent = styled(Drawer.Content) `
|
|
814
|
-
position: fixed;
|
|
815
|
-
z-index: ${ZINDEX_SSO - 9e6 + 1};
|
|
816
|
-
inset: 0;
|
|
817
|
-
background-color: #fff;
|
|
818
|
-
outline: none !important;
|
|
819
|
-
|
|
820
|
-
&[data-is-linear='true'] {
|
|
821
|
-
background: linear-gradient(180deg, #c3e3ff 1.86%, #fff 20%) !important;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
&::-webkit-scrollbar {
|
|
825
|
-
width: 6px;
|
|
826
|
-
height: 6px;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
&::-webkit-scrollbar-track {
|
|
830
|
-
background-color: transparent;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
&::-webkit-scrollbar-thumb {
|
|
834
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
835
|
-
border-radius: 6px;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
&[data-vaul-drawer-direction='bottom'] {
|
|
839
|
-
top: initial;
|
|
840
|
-
border-top-left-radius: 16px;
|
|
841
|
-
border-top-right-radius: 16px;
|
|
842
|
-
/* padding-bottom: 16px; */
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
${(props) => props.isDragging &&
|
|
846
|
-
`
|
|
847
|
-
input {
|
|
848
|
-
caret-color: transparent;
|
|
849
|
-
}
|
|
850
|
-
`}
|
|
851
|
-
`;
|
|
852
|
-
const StyledDrawerBottomOverlay = styled(Drawer.Overlay) `
|
|
853
|
-
position: fixed;
|
|
854
|
-
inset: 0;
|
|
855
|
-
z-index: ${ZINDEX_SSO - 9e6};
|
|
856
|
-
width: 100%;
|
|
857
|
-
max-height: 100%;
|
|
858
|
-
background-color: rgb(0, 0, 0, 0.4);
|
|
859
|
-
`;
|
|
860
|
-
const StyledDrawerBottomHandler = styled(Drawer.Handle) `
|
|
861
|
-
&[data-vaul-handle] {
|
|
862
|
-
width: 44px;
|
|
863
|
-
height: 3px;
|
|
864
|
-
background-color: ${theme.colors.neutral500};
|
|
865
|
-
margin: 16px auto;
|
|
866
|
-
flex-shrink: 0;
|
|
867
|
-
}
|
|
868
|
-
`;
|
|
869
|
-
|
|
870
|
-
function DrawerBottom(_a) {
|
|
871
|
-
var { children, onClose, isOpen, onOpenChange, isMobile, classNames, isLinear, overlayClassName, contentClassName, handlerClassName } = _a, restProps = __rest(_a, ["children", "onClose", "isOpen", "onOpenChange", "isMobile", "classNames", "isLinear", "overlayClassName", "contentClassName", "handlerClassName"]);
|
|
872
|
-
const { isDragging, handleDragStart, handleDragEnd } = useDrawerDrag();
|
|
873
|
-
if (isMobile) {
|
|
874
|
-
return (React__default.createElement(Drawer.Root, Object.assign({ onDrag: handleDragStart, onRelease: handleDragEnd, open: isOpen, onOpenChange: onOpenChange }, restProps),
|
|
875
|
-
React__default.createElement(Drawer.Portal, null,
|
|
876
|
-
React__default.createElement(StyledDrawerBottomOverlay, { className: clsx(overlayClassName, 'drawer__overlay') }),
|
|
877
|
-
React__default.createElement(StyledDrawerBottomContent, { isDragging: isDragging, className: clsx(contentClassName, 'drawer__content'), "data-is-linear": isLinear },
|
|
878
|
-
React__default.createElement(Drawer.Title, { style: { display: 'none' } }),
|
|
879
|
-
React__default.createElement(StyledDrawerBottomHandler, { className: clsx(handlerClassName, 'drawer__handle') }),
|
|
880
|
-
children))));
|
|
881
|
-
}
|
|
882
|
-
return (React__default.createElement(Modal, Object.assign({ withCloseButton: true, centered: true, zIndex: 500, size: "auto", classNames: classNames, radius: "lg" }, restProps, { onClose: onClose, opened: isOpen, styles: {
|
|
883
|
-
root: {
|
|
884
|
-
maxHeight: '400px',
|
|
885
|
-
},
|
|
886
|
-
} }), children));
|
|
887
|
-
}
|
|
888
|
-
|
|
889
808
|
const StyledCollectPhoneForm = styled.div `
|
|
890
809
|
.mantine-Input-input.custom_input {
|
|
891
810
|
/* font-size: 16px; */
|
|
@@ -1130,10 +1049,8 @@ function PopupCollectPhone({ children, isMobile, onSubmit, isOpen: isOpenProp, o
|
|
|
1130
1049
|
const StyledHospitalInfo = styled.div `
|
|
1131
1050
|
display: flex;
|
|
1132
1051
|
align-items: center;
|
|
1052
|
+
justify-content: space-between;
|
|
1133
1053
|
gap: 12px;
|
|
1134
|
-
padding: 12px 16px;
|
|
1135
|
-
border: 1px solid ${theme.colors.neutral100};
|
|
1136
|
-
border-radius: 12px;
|
|
1137
1054
|
|
|
1138
1055
|
.hospitalName {
|
|
1139
1056
|
color: #111111;
|
|
@@ -1145,18 +1062,14 @@ const StyledHospitalInfo = styled.div `
|
|
|
1145
1062
|
display: inline-flex;
|
|
1146
1063
|
align-items: center;
|
|
1147
1064
|
gap: 4px;
|
|
1148
|
-
padding: 4px 8px;
|
|
1149
|
-
color: ${theme.colors.red700};
|
|
1150
|
-
background-color: ${theme.colors.red50};
|
|
1151
1065
|
border-radius: 8px;
|
|
1152
1066
|
|
|
1153
1067
|
font-size: 0.6875rem;
|
|
1154
1068
|
line-height: 1rem;
|
|
1155
|
-
|
|
1069
|
+
color: ${theme.colors.red600};
|
|
1156
1070
|
|
|
1157
1071
|
&[data-is-opened='true'] {
|
|
1158
1072
|
color: ${theme.colors.primaryBase};
|
|
1159
|
-
background-color: ${theme.colors.blue50};
|
|
1160
1073
|
}
|
|
1161
1074
|
}
|
|
1162
1075
|
|
|
@@ -1175,6 +1088,7 @@ const StyledImageWrap = styled(ImageWrap) `
|
|
|
1175
1088
|
border-radius: 8px;
|
|
1176
1089
|
flex-shrink: 0;
|
|
1177
1090
|
aspect-ratio: 1;
|
|
1091
|
+
align-self: baseline;
|
|
1178
1092
|
`;
|
|
1179
1093
|
const StyledClockIcon = styled(Clock) `
|
|
1180
1094
|
width: 12px;
|
|
@@ -1186,11 +1100,19 @@ const StyledArrowRightIcon = styled(ShapedArrowDown) `
|
|
|
1186
1100
|
width: 12px;
|
|
1187
1101
|
height: 12px;
|
|
1188
1102
|
transform: rotate(90deg);
|
|
1103
|
+
|
|
1104
|
+
& > path {
|
|
1105
|
+
stroke-width: 1.5;
|
|
1106
|
+
}
|
|
1189
1107
|
`;
|
|
1190
1108
|
const StyledDistanceTag = styled(DistanceTag) `
|
|
1191
1109
|
& > span {
|
|
1192
1110
|
color: ${theme.colors.gray800};
|
|
1193
1111
|
}
|
|
1112
|
+
|
|
1113
|
+
& {
|
|
1114
|
+
border: none;
|
|
1115
|
+
}
|
|
1194
1116
|
`;
|
|
1195
1117
|
|
|
1196
1118
|
const checkHospitalStatus = (times) => {
|
|
@@ -1218,7 +1140,7 @@ function HospitalInfo({ hospitalInfo, distance, className, }) {
|
|
|
1218
1140
|
React__default.createElement(StyledImageWrap, { src: hospitalInfo.logo, backupSrc: CommonGAssets.getAssetPath('avatar.jpg'), alt: "hospital" }),
|
|
1219
1141
|
React__default.createElement("div", { className: "flex-1" },
|
|
1220
1142
|
React__default.createElement("div", { className: "hospitalName" }, hospitalInfo.name),
|
|
1221
|
-
hospitalInfo.working_times && (React__default.createElement("div", { className: "hospitalStatus", "data-is-opened": isOpened },
|
|
1143
|
+
hospitalInfo.working_times && (React__default.createElement("div", { key: isOpened ? 'open' : 'closed', className: "hospitalStatus", "data-is-opened": isOpened },
|
|
1222
1144
|
React__default.createElement(StyledClockIcon, null),
|
|
1223
1145
|
React__default.createElement("span", null, t(isOpened ? 'hospital.status.opening' : 'hospital.status.closed')))),
|
|
1224
1146
|
distance && React__default.createElement(StyledDistanceTag, { value: `${distance} km` })),
|
|
@@ -1241,7 +1163,7 @@ const StyledInsuranceContainer = styled.div `
|
|
|
1241
1163
|
font-size: 0.9375rem;
|
|
1242
1164
|
line-height: 1.5rem;
|
|
1243
1165
|
color: ${theme.colors.gray800};
|
|
1244
|
-
font-weight:
|
|
1166
|
+
font-weight: 600;
|
|
1245
1167
|
}
|
|
1246
1168
|
.txt-caption-1 {
|
|
1247
1169
|
font-size: 0.6875rem;
|
|
@@ -1280,4 +1202,129 @@ function ProductInsuranceInfo({ hospitalInfo, }) {
|
|
|
1280
1202
|
React__default.createElement(PaymentList, { payments: hospitalInfo.accepted_payments })))));
|
|
1281
1203
|
}
|
|
1282
1204
|
|
|
1283
|
-
|
|
1205
|
+
/* eslint-disable prettier/prettier */
|
|
1206
|
+
const Credential = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none" }, props),
|
|
1207
|
+
React.createElement("path", { d: "M10.7146 13.4812L11.5779 12.7568C11.7779 12.589 12.0312 12.4968 12.2923 12.4968H13.419C13.9579 12.4968 14.4201 12.1101 14.5135 11.579L14.709 10.469C14.7546 10.2112 14.889 9.97901 15.089 9.81124L15.9523 9.08679C16.3657 8.74012 16.4701 8.14679 16.2001 7.68012L15.6368 6.70346C15.5057 6.47679 15.459 6.21235 15.5046 5.95457L15.7001 4.84457C15.7935 4.31346 15.4923 3.79235 14.9857 3.6079L13.9268 3.22235C13.6812 3.13346 13.4757 2.96012 13.3446 2.73346L12.7812 1.75679C12.5112 1.29012 11.9457 1.08346 11.439 1.2679L10.3801 1.65346C10.1346 1.74235 9.86568 1.74235 9.62012 1.65346L8.56123 1.2679C8.05457 1.08346 7.48901 1.28901 7.21901 1.75679L6.65568 2.73346C6.52457 2.96012 6.31901 3.13235 6.07346 3.22235L5.01457 3.6079C4.5079 3.79235 4.20679 4.31346 4.30012 4.84457L4.49568 5.95457C4.54123 6.21235 4.49457 6.47679 4.36346 6.70346L3.80012 7.68012C3.53012 8.14679 3.63457 8.74012 4.0479 9.08679L4.91123 9.81124C5.11123 9.97901 5.24568 10.2123 5.29123 10.469L5.48679 11.579C5.58012 12.1101 6.04234 12.4968 6.58123 12.4968H7.7079C7.96901 12.4968 8.22234 12.589 8.42234 12.7568L9.28568 13.4812C9.69901 13.8279 10.3012 13.8279 10.7146 13.4812Z", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1208
|
+
React.createElement("path", { d: "M13.6114 15.2778V19.1667L10.0003 16.3889L6.38916 19.1667V15.2778", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1209
|
+
React.createElement("path", { d: "M10.0001 9.69347C11.2274 9.69347 12.2223 8.69855 12.2223 7.47125C12.2223 6.24395 11.2274 5.24902 10.0001 5.24902C8.77275 5.24902 7.77783 6.24395 7.77783 7.47125C7.77783 8.69855 8.77275 9.69347 10.0001 9.69347Z", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
1210
|
+
|
|
1211
|
+
/* eslint-disable prettier/prettier */
|
|
1212
|
+
const Education = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none" }, props),
|
|
1213
|
+
React.createElement("g", { clipPath: "url(#clip0_2422_9990)" },
|
|
1214
|
+
React.createElement("path", { d: "M15.5 15.5003C14.678 15.5003 13.956 15.0983 13.5 14.4863V18.5003C13.5 18.7023 13.622 18.8853 13.809 18.9623C13.996 19.0413 14.21 18.9973 14.354 18.8543L15.5 17.7083L16.646 18.8543C16.742 18.9503 16.87 19.0003 17 19.0003C17.064 19.0003 17.13 18.9883 17.191 18.9623C17.378 18.8853 17.5 18.7023 17.5 18.5003V14.4863C17.044 15.0983 16.322 15.5003 15.5 15.5003Z", fill: "currentColor" }),
|
|
1215
|
+
React.createElement("path", { d: "M11.75 17.25H5.25C4.145 17.25 3.25 16.355 3.25 15.25V4.75C3.25 3.645 4.145 2.75 5.25 2.75H13.75C14.855 2.75 15.75 3.645 15.75 4.75V8", stroke: "currentColor", strokeWidth: 1.125, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1216
|
+
React.createElement("path", { d: "M6.25 6.75H12.75", stroke: "currentColor", strokeWidth: 1.125, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1217
|
+
React.createElement("path", { d: "M6.25 10H9.25", stroke: "currentColor", strokeWidth: 1.125, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1218
|
+
React.createElement("path", { d: "M6.25 13.2505H9.25", stroke: "currentColor", strokeWidth: 1.125, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1219
|
+
React.createElement("path", { d: "M15.5 15.5C16.8807 15.5 18 14.3807 18 13C18 11.6193 16.8807 10.5 15.5 10.5C14.1193 10.5 13 11.6193 13 13C13 14.3807 14.1193 15.5 15.5 15.5Z", stroke: "currentColor", strokeWidth: 1.125, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
1220
|
+
React.createElement("defs", null,
|
|
1221
|
+
React.createElement("clipPath", { id: "clip0_2422_9990" },
|
|
1222
|
+
React.createElement("rect", { width: 18, height: 18, fill: "white", transform: "translate(1 1)" })))));
|
|
1223
|
+
|
|
1224
|
+
/* eslint-disable prettier/prettier */
|
|
1225
|
+
const Highlight = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none" }, props),
|
|
1226
|
+
React.createElement("path", { d: "M7.76093 1.94434L11.8267 4.92811L16.5893 3.27134L15.0077 8.05978L18.0553 12.0772L13.0127 12.0526L10.1339 16.1928L8.59882 11.3896L3.77148 9.93078L7.86504 6.98645L7.76093 1.94434Z", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1227
|
+
React.createElement("path", { d: "M2.22217 17.7777L5.5555 14.4443", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1228
|
+
React.createElement("path", { d: "M1.94434 13.6112L2.49989 13.0557", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1229
|
+
React.createElement("path", { d: "M6.38867 18.0556L6.94423 17.5", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
1230
|
+
|
|
1231
|
+
const defaultValue = {
|
|
1232
|
+
id: '',
|
|
1233
|
+
name: '',
|
|
1234
|
+
specialty: '',
|
|
1235
|
+
experience: '',
|
|
1236
|
+
profileImage: '',
|
|
1237
|
+
clinics: '',
|
|
1238
|
+
educations: [],
|
|
1239
|
+
expertise: '',
|
|
1240
|
+
otherHighlights: [],
|
|
1241
|
+
};
|
|
1242
|
+
const DoctorExpertiseContext = createContext(defaultValue);
|
|
1243
|
+
const DoctorExpertiseProvider = ({ children, value }) => {
|
|
1244
|
+
return (React__default.createElement(DoctorExpertiseContext.Provider, { value: value }, children));
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
const StyledCard = styled.div `
|
|
1248
|
+
display: flex;
|
|
1249
|
+
align-items: center;
|
|
1250
|
+
flex-direction: column;
|
|
1251
|
+
background-color: ${theme.colors.blue50};
|
|
1252
|
+
border-radius: 12px;
|
|
1253
|
+
padding: 0px 4px 4px;
|
|
1254
|
+
|
|
1255
|
+
.body-section {
|
|
1256
|
+
width: 100%;
|
|
1257
|
+
height: 100%;
|
|
1258
|
+
}
|
|
1259
|
+
`;
|
|
1260
|
+
const StyledBodySection = styled.div `
|
|
1261
|
+
background-color: #ffffffcc;
|
|
1262
|
+
border-radius: 8px;
|
|
1263
|
+
padding: 0.75rem;
|
|
1264
|
+
display: flex;
|
|
1265
|
+
flex-direction: column;
|
|
1266
|
+
justify-content: space-between;
|
|
1267
|
+
|
|
1268
|
+
.flex-item-doctor-info {
|
|
1269
|
+
display: flex;
|
|
1270
|
+
flex-direction: column;
|
|
1271
|
+
gap: 12px;
|
|
1272
|
+
}
|
|
1273
|
+
`;
|
|
1274
|
+
const StyledReadMore = styled.div `
|
|
1275
|
+
cursor: pointer;
|
|
1276
|
+
display: flex;
|
|
1277
|
+
align-items: center;
|
|
1278
|
+
justify-content: center;
|
|
1279
|
+
gap: 10px;
|
|
1280
|
+
padding: 8px;
|
|
1281
|
+
`;
|
|
1282
|
+
const StyledPositionOfButton = styled.div `
|
|
1283
|
+
display: flex;
|
|
1284
|
+
justify-content: flex-end;
|
|
1285
|
+
`;
|
|
1286
|
+
const StyledArrowRightBlue = styled(ArrowRightBlue) `
|
|
1287
|
+
width: 0.65rem;
|
|
1288
|
+
height: 0.65rem;
|
|
1289
|
+
& > path {
|
|
1290
|
+
stroke-width: 1.25;
|
|
1291
|
+
}
|
|
1292
|
+
`;
|
|
1293
|
+
|
|
1294
|
+
const DoctorExpertise = (props) => {
|
|
1295
|
+
var _a, _b, _c, _d;
|
|
1296
|
+
const { className, doctorInformation, onClickReadMore, children, isShowReadMoreButton, style, defaultProfileImage, } = props;
|
|
1297
|
+
const { t } = useTranslations();
|
|
1298
|
+
const isShowBodySection = ((_a = doctorInformation === null || doctorInformation === void 0 ? void 0 : doctorInformation.clinics) === null || _a === void 0 ? void 0 : _a.length) > 0 ||
|
|
1299
|
+
((_b = doctorInformation === null || doctorInformation === void 0 ? void 0 : doctorInformation.educations) === null || _b === void 0 ? void 0 : _b.length) > 0 ||
|
|
1300
|
+
children ||
|
|
1301
|
+
isShowReadMoreButton;
|
|
1302
|
+
return (React__default.createElement(DoctorExpertiseProvider, { value: doctorInformation },
|
|
1303
|
+
React__default.createElement(StyledCard, { className: className, style: style },
|
|
1304
|
+
React__default.createElement(DoctorInfoExpertise, { name: doctorInformation.name, specialty: doctorInformation.specialty, experience: doctorInformation.experience, profileImage: doctorInformation.profileImage || defaultProfileImage }),
|
|
1305
|
+
isShowBodySection && (React__default.createElement(StyledBodySection, { className: "body-section" },
|
|
1306
|
+
React__default.createElement("div", { className: "flex-item-doctor-info" },
|
|
1307
|
+
((_c = doctorInformation === null || doctorInformation === void 0 ? void 0 : doctorInformation.clinics) === null || _c === void 0 ? void 0 : _c.length) > 0 && (React__default.createElement(DoctorExpertiseItem, { doctorInfo: doctorInformation.clinics, Icon: Clinic, title: t('common.clinicHospital') })),
|
|
1308
|
+
((_d = doctorInformation === null || doctorInformation === void 0 ? void 0 : doctorInformation.educations) === null || _d === void 0 ? void 0 : _d.length) > 0 && (React__default.createElement(DoctorExpertiseItem, { doctorInfo: doctorInformation.educations, Icon: Education, title: t('common.education') })),
|
|
1309
|
+
children),
|
|
1310
|
+
isShowReadMoreButton && (React__default.createElement(StyledPositionOfButton, null,
|
|
1311
|
+
React__default.createElement(StyledReadMore, { onClick: onClickReadMore },
|
|
1312
|
+
React__default.createElement(Text$1, { size: "p2", weight: "halfBold", color: theme.colors.primaryBase }, t('common.readMore')),
|
|
1313
|
+
React__default.createElement(StyledArrowRightBlue, null)))))))));
|
|
1314
|
+
};
|
|
1315
|
+
DoctorExpertise.Expertise = () => {
|
|
1316
|
+
const { expertise } = useContext(DoctorExpertiseContext);
|
|
1317
|
+
const { t } = useTranslations();
|
|
1318
|
+
if (!expertise)
|
|
1319
|
+
return null;
|
|
1320
|
+
return (React__default.createElement(DoctorExpertiseItem, { doctorInfo: expertise, Icon: Credential, title: t('common.expertiseCredentials') }));
|
|
1321
|
+
};
|
|
1322
|
+
DoctorExpertise.OtherHighlights = () => {
|
|
1323
|
+
const { otherHighlights } = useContext(DoctorExpertiseContext);
|
|
1324
|
+
const { t } = useTranslations();
|
|
1325
|
+
if (!otherHighlights)
|
|
1326
|
+
return null;
|
|
1327
|
+
return (React__default.createElement(DoctorExpertiseItem, { doctorInfo: otherHighlights, Icon: Highlight, title: t('common.otherHighlights') }));
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1330
|
+
export { ClinicInfo as C, DoctorExpertise as D, EPopupCollectPhoneStep as E, HospitalInfo as H, Mobile as M, NavHeader as N, PopupCollectPhone as P, UserProfileNavigation as U, UserStats as a, CollectPhoneForm as b, ProductInsuranceInfo as c, Check as d, Clock as e, formPhoneType as f, HelloZalo as g, Ellipse as h, PhoneInactive as i };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-ebff6537.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { useMantineTheme, Box, Flex, rem, createStyles } from '@mantine/core';
|
|
4
4
|
import { RedCross } from '@hhgtech/icons/other';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-21c766d8.js';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import { t as themeColors } from './index-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index.styles-
|
|
14
|
-
import { u as useTranslations } from './index-
|
|
7
|
+
import './index-d02e9c01.js';
|
|
8
|
+
import './index-af40ae57.js';
|
|
9
|
+
import './index-82b4f2b6.js';
|
|
10
|
+
import { t as themeColors } from './index-0f3f5dab.js';
|
|
11
|
+
import { T as Text } from './index-e59166dc.js';
|
|
12
|
+
import './index-4ff18fd8.js';
|
|
13
|
+
import './index.styles-43d79a33.js';
|
|
14
|
+
import { u as useTranslations } from './index-ea8c2de9.js';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import './text-
|
|
17
|
-
import { M as MediaQueries } from './utils-
|
|
18
|
-
import './index-
|
|
16
|
+
import './text-7bd13052.js';
|
|
17
|
+
import { M as MediaQueries } from './utils-d47134bf.js';
|
|
18
|
+
import './index-f1fa7f42.js';
|
|
19
19
|
import styled from '@emotion/styled';
|
|
20
20
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
21
21
|
|
|
@@ -111,7 +111,7 @@ const ToolsBannerCard = ({ className, heading, bannerColor, medicalReview = {
|
|
|
111
111
|
} },
|
|
112
112
|
medicalReview.avatar && (React__default.createElement("div", { className: "embedded-review__avatar" },
|
|
113
113
|
React__default.createElement(Box, { pos: "relative" },
|
|
114
|
-
React__default.createElement("img", { src: medicalReview.avatar, alt: medicalReview.reviewer }),
|
|
114
|
+
React__default.createElement("img", { src: medicalReview.avatar, alt: medicalReview.reviewer, loading: "lazy" }),
|
|
115
115
|
React__default.createElement(RedCross, { size: 14 })))),
|
|
116
116
|
React__default.createElement("div", { dangerouslySetInnerHTML: {
|
|
117
117
|
__html: t('toolPage.toolReviewer', {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-ebff6537.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { createStyles, rem, Box, Input, Chip, useMantineTheme, Flex, Switch } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-e59166dc.js';
|
|
5
|
+
import { B as Button } from './index-4ff18fd8.js';
|
|
6
|
+
import { u as useTranslations } from './index-ea8c2de9.js';
|
|
7
7
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|
|
@@ -2,7 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { I as ImageWrap } from './index-
|
|
5
|
+
import { I as ImageWrap } from './index-6e4aa339.js';
|
|
6
|
+
import { _ as __rest } from './tslib.es6-ebff6537.js';
|
|
7
|
+
import { clsx, Modal } from '@mantine/core';
|
|
8
|
+
import { D as DrawerComponent, u as useDrawerDrag } from './index-26c25e9f.js';
|
|
9
|
+
import { Drawer } from 'vaul';
|
|
10
|
+
import { Z as ZINDEX_SSO } from './index-d02e9c01.js';
|
|
6
11
|
|
|
7
12
|
/* eslint-disable prettier/prettier */
|
|
8
13
|
const Pin2 = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 12 12", fill: "none" }, props),
|
|
@@ -169,4 +174,102 @@ const IconWrapper = ({ children, className, onClick, wrapperSize, iconSize = 24,
|
|
|
169
174
|
})));
|
|
170
175
|
};
|
|
171
176
|
|
|
172
|
-
|
|
177
|
+
styled(DrawerComponent) `
|
|
178
|
+
/* max-height: 100vh;
|
|
179
|
+
max-height: 100dvh; */
|
|
180
|
+
background-color: white;
|
|
181
|
+
|
|
182
|
+
&[data-vaul-drawer-direction='bottom'] {
|
|
183
|
+
top: initial !important;
|
|
184
|
+
border-top-left-radius: 16px !important;
|
|
185
|
+
border-top-right-radius: 16px !important;
|
|
186
|
+
padding-bottom: 32px;
|
|
187
|
+
padding-left: 20px;
|
|
188
|
+
padding-right: 20px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.drawer__handle {
|
|
192
|
+
width: 44px;
|
|
193
|
+
height: 3px;
|
|
194
|
+
background-color: ${theme.colors.neutral500};
|
|
195
|
+
margin: 16px auto;
|
|
196
|
+
flex-shrink: 0;
|
|
197
|
+
}
|
|
198
|
+
`;
|
|
199
|
+
const StyledDrawerBottomContent = styled(Drawer.Content) `
|
|
200
|
+
position: fixed;
|
|
201
|
+
z-index: ${ZINDEX_SSO - 9e6 + 1};
|
|
202
|
+
inset: 0;
|
|
203
|
+
background-color: #fff;
|
|
204
|
+
outline: none !important;
|
|
205
|
+
|
|
206
|
+
&[data-is-linear='true'] {
|
|
207
|
+
background: linear-gradient(180deg, #c3e3ff 1.86%, #fff 20%) !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&::-webkit-scrollbar {
|
|
211
|
+
width: 6px;
|
|
212
|
+
height: 6px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&::-webkit-scrollbar-track {
|
|
216
|
+
background-color: transparent;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&::-webkit-scrollbar-thumb {
|
|
220
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
221
|
+
border-radius: 6px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&[data-vaul-drawer-direction='bottom'] {
|
|
225
|
+
top: initial;
|
|
226
|
+
border-top-left-radius: 16px;
|
|
227
|
+
border-top-right-radius: 16px;
|
|
228
|
+
/* padding-bottom: 16px; */
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
${(props) => props.isDragging &&
|
|
232
|
+
`
|
|
233
|
+
input {
|
|
234
|
+
caret-color: transparent;
|
|
235
|
+
}
|
|
236
|
+
`}
|
|
237
|
+
`;
|
|
238
|
+
const StyledDrawerBottomOverlay = styled(Drawer.Overlay) `
|
|
239
|
+
position: fixed;
|
|
240
|
+
inset: 0;
|
|
241
|
+
z-index: ${ZINDEX_SSO - 9e6};
|
|
242
|
+
width: 100%;
|
|
243
|
+
max-height: 100%;
|
|
244
|
+
background-color: rgb(0, 0, 0, 0.4);
|
|
245
|
+
`;
|
|
246
|
+
const StyledDrawerBottomHandler = styled(Drawer.Handle) `
|
|
247
|
+
&[data-vaul-handle] {
|
|
248
|
+
width: 44px;
|
|
249
|
+
height: 3px;
|
|
250
|
+
background-color: ${theme.colors.neutral500};
|
|
251
|
+
margin: 16px auto;
|
|
252
|
+
flex-shrink: 0;
|
|
253
|
+
}
|
|
254
|
+
`;
|
|
255
|
+
|
|
256
|
+
function DrawerBottom(_a) {
|
|
257
|
+
var { children, onClose, isOpen, onOpenChange, isMobile, classNames, isLinear, overlayClassName, contentClassName, handlerClassName } = _a, restProps = __rest(_a, ["children", "onClose", "isOpen", "onOpenChange", "isMobile", "classNames", "isLinear", "overlayClassName", "contentClassName", "handlerClassName"]);
|
|
258
|
+
const { isDragging, handleDragStart, handleDragEnd } = useDrawerDrag();
|
|
259
|
+
if (isMobile) {
|
|
260
|
+
return (React__default.createElement(Drawer.Root, Object.assign({ onDrag: handleDragStart, onRelease: handleDragEnd, open: isOpen, onOpenChange: onOpenChange, onClose: onClose }, restProps),
|
|
261
|
+
React__default.createElement(Drawer.Portal, null,
|
|
262
|
+
React__default.createElement(StyledDrawerBottomOverlay, { className: clsx(overlayClassName, 'drawer__overlay') }),
|
|
263
|
+
React__default.createElement(StyledDrawerBottomContent, { isDragging: isDragging, className: clsx(contentClassName, 'drawer__content'), "data-is-linear": isLinear },
|
|
264
|
+
React__default.createElement(Drawer.Title, { style: { display: 'none' } }),
|
|
265
|
+
React__default.createElement(StyledDrawerBottomHandler, { className: clsx(handlerClassName, 'drawer__handle') }),
|
|
266
|
+
children))));
|
|
267
|
+
}
|
|
268
|
+
return (React__default.createElement(Modal, Object.assign({ withCloseButton: true, centered: true, zIndex: 500, size: "auto", classNames: classNames, radius: "lg" }, restProps, { onClose: onClose, opened: isOpen, styles: {
|
|
269
|
+
root: {
|
|
270
|
+
maxHeight: '400px',
|
|
271
|
+
},
|
|
272
|
+
} }), children));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export { Avatar as A, DistanceTag as D, IconWrapper as I, Pin2 as P, ShapedArrowDown as S, DrawerBottom as a };
|