@hhgtech/hhg-components 1.29.525 → 1.29.526-beta-2
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-eb6652c9.js → InputDate-ffd58fc9.js} +5 -5
- package/build/{LastPeriod-3578f4e8.js → LastPeriod-3463bda8.js} +1 -1
- package/build/{MobileBottomNavigationIcon-ff0b8fd7.js → MobileBottomNavigationIcon-11672b2a.js} +3 -3
- package/build/{SiteWideBanner-0d90b851.js → SiteWideBanner-5e82392b.js} +11 -11
- package/build/{Spinner-5962af03.js → Spinner-cd30c9bd.js} +1 -1
- package/build/{WhatsApp-ea120b03.js → WhatsApp-1aa707b3.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +51 -51
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/SearchResultContent.d.ts +13 -0
- package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/searchInputs/ModalSearchResult.d.ts +8 -0
- package/build/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +5 -1
- package/build/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +2 -2
- package/build/care.js +24 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +153 -77
- package/build/components.js +106 -106
- package/build/{constants-87cf77eb.js → constants-0647e6ec.js} +2 -2
- package/build/{constants-68e63b19.js → constants-d69b6ea4.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-61127829.js → core-2d7124d6.js} +1 -1
- package/build/{dataTransform-e9cb522f.js → dataTransform-f2582bd1.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-86a07297.js → editor-615e675e.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-a6120ad3.js → InputDate-1658ad80.js} +5 -5
- package/build/esm/{LastPeriod-59ba079b.js → LastPeriod-b92dd76c.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-98cefc1e.js → MobileBottomNavigationIcon-1cfa2fb2.js} +3 -3
- package/build/esm/{SiteWideBanner-9f169ede.js → SiteWideBanner-f5c6bbeb.js} +11 -11
- package/build/esm/{Spinner-d936c554.js → Spinner-a0e23480.js} +1 -1
- package/build/esm/{WhatsApp-b5dbf6c9.js → WhatsApp-b0ae40b1.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +51 -51
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/SearchResultContent.d.ts +13 -0
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchInputs/ModalSearchResult.d.ts +8 -0
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +5 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +2 -2
- package/build/esm/care.js +24 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +154 -78
- package/build/esm/components.js +106 -106
- package/build/esm/{constants-5f3cf70d.js → constants-35d73f9b.js} +2 -2
- package/build/esm/{constants-508e0d7b.js → constants-6d099b49.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-7170ad25.js → core-05286719.js} +1 -1
- package/build/esm/{dataTransform-6043820a.js → dataTransform-369147b6.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-46133182.js → editor-fadab093.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-0425cd5e.js → healthTools-ecbd9921.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n-values/ms-MY.js +6 -6
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-0f8505b4.js → index-00c9ab64.js} +1 -1
- package/build/esm/{index-949407f4.js → index-03aeed6c.js} +14 -14
- package/build/esm/{index-f5265f78.js → index-061bdd4c.js} +3 -3
- package/build/esm/{index-fc34bd26.js → index-098e5fba.js} +9 -9
- package/build/esm/{index-025a6aea.js → index-0e0ca299.js} +1 -1
- package/build/esm/{index-a6325307.js → index-0eeeeac6.js} +2 -2
- package/build/esm/{index-088e6242.js → index-1355e628.js} +15 -15
- package/build/esm/{index-8ce09282.js → index-13b3eed3.js} +8 -8
- package/build/esm/{index-440fd051.js → index-1490b0e9.js} +7 -7
- package/build/esm/{index-712d8097.js → index-16fe1c5e.js} +21 -21
- package/build/esm/{index-b1db10b0.js → index-19724885.js} +25 -25
- package/build/esm/{index-c99bdac8.js → index-1bd37827.js} +13 -13
- package/build/esm/{index-21416955.js → index-1c525b7b.js} +2 -2
- package/build/esm/{index-e920018d.js → index-20e1135a.js} +4 -4
- package/build/esm/{index-4e735bed.js → index-2bf58e06.js} +1 -1
- package/build/esm/{index-f541a739.js → index-2f4dd793.js} +6 -6
- package/build/esm/{index-9ce329c4.js → index-2fdd4d60.js} +2 -2
- package/build/esm/{index-974d5f69.js → index-31acdefe.js} +2 -2
- package/build/esm/{index-52a6ccfb.js → index-39d00cf6.js} +2 -2
- package/build/esm/{index-056b51c1.js → index-3dcf410b.js} +16 -16
- package/build/esm/{index-d099f33f.js → index-4a06fcc3.js} +1 -1
- package/build/esm/{index-c8bb6c1b.js → index-4dab509d.js} +22 -22
- package/build/esm/{index-86a494be.js → index-51e2478d.js} +2 -2
- package/build/esm/{index-20bbebc7.js → index-5327fadb.js} +3 -3
- package/build/esm/{index-6efb19ab.js → index-5490d6f7.js} +5 -5
- package/build/esm/{index-43675eca.js → index-58890404.js} +33 -33
- package/build/esm/{index-25bb3af6.js → index-5a6d706a.js} +9 -9
- package/build/esm/{index-a343e5a2.js → index-5efa0a6d.js} +2 -2
- package/build/esm/{index-43ba5a61.js → index-6407f430.js} +1 -1
- package/build/esm/{index-fe4a4cb7.js → index-64564bf7.js} +3 -3
- package/build/esm/{index-87bc7ff0.js → index-663c065f.js} +32 -32
- package/build/esm/{index-de982e01.js → index-6e8ef1c0.js} +2 -2
- package/build/esm/{index-7d6a3662.js → index-729e84b7.js} +13 -13
- package/build/esm/{index-1729622a.js → index-7aec1f97.js} +2 -2
- package/build/esm/{index-3af1f97b.js → index-7b31a7d0.js} +3 -3
- package/build/esm/{index-8eff5c9f.js → index-828d5625.js} +2 -2
- package/build/esm/{index-5db69fae.js → index-837c76e4.js} +3 -3
- package/build/esm/{index-49d4315c.js → index-8477d997.js} +11 -11
- package/build/esm/{index-093903c3.js → index-854754c9.js} +2 -2
- package/build/esm/{index-3369463f.js → index-8835b431.js} +4 -4
- package/build/esm/{index-e635168f.js → index-8c51fb28.js} +14 -14
- package/build/esm/{index-b879bba7.js → index-8cb179be.js} +6 -6
- package/build/esm/{index-98fbd358.js → index-8dc497d9.js} +7 -7
- package/build/esm/{index-745c24fa.js → index-93d9458f.js} +5 -5
- package/build/esm/{index-e4bdf65b.js → index-9667e066.js} +19 -19
- package/build/esm/{index-1fd63446.js → index-9916e306.js} +2 -2
- package/build/esm/{index-a5e6bb82.js → index-9aeab7e2.js} +2 -2
- package/build/esm/{index-9585bace.js → index-9b2a06da.js} +2 -2
- package/build/esm/{index-9ccfab10.js → index-9e433f5d.js} +16 -16
- package/build/esm/{index-84ba0e5c.js → index-9ecc10a1.js} +3 -3
- package/build/esm/{index-62657091.js → index-aeffc95a.js} +14 -14
- package/build/esm/{index-ea813d17.js → index-b14de47a.js} +3 -3
- package/build/esm/{index-02ff4670.js → index-bb773c59.js} +6 -6
- package/build/esm/{index-cc127c10.js → index-bc5788b2.js} +16 -16
- package/build/esm/{index-f1beb9de.js → index-bfd3f98d.js} +2 -2
- package/build/esm/{index-b64177fa.js → index-c5485bec.js} +24 -24
- package/build/esm/{index-cfe5686c.js → index-c828af8b.js} +18 -18
- package/build/esm/{index-e34af454.js → index-cbc045f0.js} +3 -3
- package/build/esm/{index-3878ad9a.js → index-ce0be063.js} +1 -1
- package/build/esm/{index-0b8114be.js → index-d02c1ad0.js} +15 -15
- package/build/esm/{index-8c783a4d.js → index-d0ba443d.js} +6 -6
- package/build/esm/{index-73a25a16.js → index-dcdd19fe.js} +3 -3
- package/build/esm/{index-e871958c.js → index-df414e5d.js} +32 -32
- package/build/esm/{index-8115678c.js → index-e70220ac.js} +18 -18
- package/build/esm/{index-11debb81.js → index-ea8604b9.js} +15 -15
- package/build/esm/{index-14615b41.js → index-ec711017.js} +17 -17
- package/build/esm/{index-52e4cdb8.js → index-ee4368cd.js} +2 -2
- package/build/esm/{index-7457f82c.js → index-f2366579.js} +3 -3
- package/build/esm/{index-2e93d9b8.js → index-f8ea3e94.js} +2 -2
- package/build/esm/{index-1ba51966.js → index-f90fcd11.js} +1 -1
- package/build/esm/{index-a7edb38a.js → index-fae39e3d.js} +16 -16
- package/build/esm/index.js +126 -126
- package/build/esm/{labelSorting-ff1caceb.js → labelSorting-598c0494.js} +4 -4
- package/build/esm/lead.js +37 -37
- package/build/esm/{logoIcon-3ac5bdaf.js → logoIcon-853b646b.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc/theme.d.ts +2 -0
- 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/miscTheme.js +1 -0
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +79 -79
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +49 -49
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +62 -62
- package/build/esm/{post-85a1482e.js → post-0dd5334e.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-116f1949.js → store-78e2f539.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ed58a2e5.js → surveyThankyouCard-5852fecd.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-3b473488.js → transform-8d43ada6.js} +27 -27
- package/build/esm/{translationsProvider-e0e8c585.js → translationsProvider-13dc843b.js} +1 -1
- package/build/esm/{treePopoverMenu-a626d3e7.js → treePopoverMenu-aab6641a.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-fbe124e4.js → useCartCareService-97b7f5e9.js} +1 -1
- package/build/esm/{useHealthToolCache-a066072a.js → useHealthToolCache-06366584.js} +1 -1
- package/build/esm/{usePhoneValidator-b1213d36.js → usePhoneValidator-687102a2.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-a73c515c.js → usePlacesAutocomplete-3d464167.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-2c64ab24.js → utils-003532bd.js} +3 -3
- package/build/esm/{utils-b2c10de7.js → utils-12ba39a7.js} +2 -2
- package/build/esm/{utils-d18efdfb.js → utils-1b1984ed.js} +3 -3
- package/build/esm/{utils-1710fcd0.js → utils-2b748923.js} +2 -2
- package/build/esm/{utils-c9c290c1.js → utils-913a874f.js} +5 -5
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-47573c55.js → healthTools-1fe8d1d0.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +14 -14
- package/build/i18n-values/ms-MY.js +6 -6
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-775b8330.js → index-0343a449.js} +25 -25
- package/build/{index-ba8c8a9b.js → index-047b515d.js} +15 -15
- package/build/{index-b560dba5.js → index-07798d02.js} +1 -1
- package/build/{index-ad7ac447.js → index-086569c5.js} +14 -14
- package/build/{index-8507c866.js → index-0dd8c9e8.js} +18 -18
- package/build/{index-240c93a8.js → index-0dee6e40.js} +3 -3
- package/build/{index-dc5daf78.js → index-1135b89f.js} +2 -2
- package/build/{index-a419c8ae.js → index-12290844.js} +7 -7
- package/build/{index-d98d349a.js → index-139631eb.js} +16 -16
- package/build/{index-d7e57401.js → index-14895c76.js} +3 -3
- package/build/{index-19046b25.js → index-14fe1a12.js} +15 -15
- package/build/{index-5291cba4.js → index-17e27379.js} +32 -32
- package/build/{index-d2839ea7.js → index-18941308.js} +7 -7
- package/build/{index-8e26f9b1.js → index-18dfb47a.js} +2 -2
- package/build/{index-65dc1d86.js → index-1b29293a.js} +16 -16
- package/build/{index-81182c77.js → index-1ee6474b.js} +14 -14
- package/build/{index-036ac92a.js → index-23f039ea.js} +15 -15
- package/build/{index-d985f154.js → index-2d0e690a.js} +2 -2
- package/build/{index-ffb97e80.js → index-37331867.js} +2 -2
- package/build/{index-6e78cf4e.js → index-379aa33d.js} +19 -19
- package/build/{index-07d236c8.js → index-3f9df8e7.js} +5 -5
- package/build/{index-ea8da0f7.js → index-424a7d34.js} +1 -1
- package/build/{index-50b2cbd1.js → index-44458488.js} +1 -1
- package/build/{index-f45e3b7c.js → index-45b67fb8.js} +3 -3
- package/build/{index-1117a351.js → index-4659747e.js} +17 -17
- package/build/{index-a00634b6.js → index-4bce9e8b.js} +16 -16
- package/build/{index-fdb67988.js → index-4dba71d4.js} +2 -2
- package/build/{index-5d28b588.js → index-5a2d5351.js} +33 -33
- package/build/{index-2196d509.js → index-5c4f1ad0.js} +3 -3
- package/build/{index-7a4dcf1a.js → index-64b2cab1.js} +2 -2
- package/build/{index-6de62402.js → index-6a90e8f3.js} +9 -9
- package/build/{index-cc16068b.js → index-6d2d44f0.js} +3 -3
- package/build/{index-9c232d90.js → index-70ecd333.js} +1 -1
- package/build/{index-dca557dc.js → index-796dcc03.js} +18 -18
- package/build/{index-c1482ed4.js → index-8190bf59.js} +6 -6
- package/build/{index-7a9f7fcb.js → index-87956e35.js} +1 -1
- package/build/{index-12113a76.js → index-8988d047.js} +14 -14
- package/build/{index-d7682ada.js → index-8b1d4436.js} +2 -2
- package/build/{index-10df32cc.js → index-8ba432eb.js} +9 -9
- package/build/{index-99cf34b8.js → index-8bca1606.js} +2 -2
- package/build/{index-8d0f4083.js → index-8fd0edb1.js} +8 -8
- package/build/{index-3434f3a9.js → index-94ef2b89.js} +1 -1
- package/build/{index-6a920512.js → index-950e375e.js} +32 -32
- package/build/{index-ce22836b.js → index-97e6b4a1.js} +1 -1
- package/build/{index-1362f6dd.js → index-a3f7730c.js} +2 -2
- package/build/{index-dd4e5f91.js → index-b5fab9e9.js} +6 -6
- package/build/{index-6150928f.js → index-b847aa27.js} +2 -2
- package/build/{index-c9c1d13a.js → index-bc694d22.js} +21 -21
- package/build/{index-fad9af8b.js → index-bf459e23.js} +16 -16
- package/build/{index-aa8448ce.js → index-c313ac84.js} +2 -2
- package/build/{index-97b62d0c.js → index-c4112771.js} +3 -3
- package/build/{index-5ff1a6ad.js → index-c4751a17.js} +3 -3
- package/build/{index-7df38bc5.js → index-c80fc4b9.js} +6 -6
- package/build/{index-0fac2a1b.js → index-c895fd38.js} +2 -2
- package/build/{index-9ee2aaae.js → index-cababe9b.js} +2 -2
- package/build/{index-f2d94fb0.js → index-d5a0b23e.js} +4 -4
- package/build/{index-0229fbf6.js → index-d67466b8.js} +6 -6
- package/build/{index-ef53b19c.js → index-dcfab726.js} +4 -4
- package/build/{index-74f15d9b.js → index-e08ad83a.js} +3 -3
- package/build/{index-fdfb6823.js → index-e1eca592.js} +3 -3
- package/build/{index-d1e12ed4.js → index-e28d4c7d.js} +2 -2
- package/build/{index-cc96cd5a.js → index-e2beedd7.js} +22 -22
- package/build/{index-cf5a2f5c.js → index-e5c9634e.js} +2 -2
- package/build/{index-99ccf938.js → index-ebfd3018.js} +3 -3
- package/build/{index-be103bb2.js → index-efa6acc0.js} +24 -24
- package/build/{index-1e573fd0.js → index-f4e99338.js} +2 -2
- package/build/{index-922b3cae.js → index-f513580c.js} +13 -13
- package/build/{index-31016adb.js → index-f6e15ad8.js} +5 -5
- package/build/{index-286249eb.js → index-fca1b30e.js} +2 -2
- package/build/{index-1c037608.js → index-fe19a2c7.js} +11 -11
- package/build/{index-1f7c9ae4.js → index-fed76d5b.js} +13 -13
- package/build/index.js +126 -126
- package/build/{labelSorting-708d3dfa.js → labelSorting-d61e3796.js} +4 -4
- package/build/lead.js +37 -37
- package/build/{logoIcon-2359c3f6.js → logoIcon-9a5b843a.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc/theme.d.ts +2 -0
- 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/miscTheme.js +1 -0
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +79 -79
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +49 -49
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +62 -62
- package/build/{post-41dc07a1.js → post-c7b1413d.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-a8cbb035.js → store-be114149.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-ea42e03e.js → surveyThankyouCard-da03d25f.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-3e147889.js → transform-e1d7e1c6.js} +27 -27
- package/build/{translationsProvider-30cae14d.js → translationsProvider-2054b72e.js} +1 -1
- package/build/{treePopoverMenu-beaf9c96.js → treePopoverMenu-baf3ba8d.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-0749e212.js → useCartCareService-d44f8d7c.js} +1 -1
- package/build/{useHealthToolCache-e852a93d.js → useHealthToolCache-5513fd26.js} +1 -1
- package/build/{usePhoneValidator-2c1793ea.js → usePhoneValidator-01da7b53.js} +5 -5
- package/build/{usePlacesAutocomplete-c6379e0b.js → usePlacesAutocomplete-d94bf898.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-0f3f396c.js → utils-28a9075b.js} +2 -2
- package/build/{utils-354b6c48.js → utils-42e7558d.js} +2 -2
- package/build/{utils-90698377.js → utils-6195d9e7.js} +3 -3
- package/build/{utils-fc08fb26.js → utils-85ca62d1.js} +3 -3
- package/build/{utils-b176f373.js → utils-aee7d1ab.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-63aafa12.js → BMI_BOYS.percentile.monthly-b0371e0e.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-c12b5ff0.js → BMI_BOYS.percentile.weekly-f51f232c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b9f85adb.js → BMI_BOYS.percentile.yearly-e6740cf8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-80e13283.js → BMI_BOYS.zscore.monthly-d3db8399.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-1b95d86c.js → BMI_BOYS.zscore.weekly-0c41fd4a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-0293d689.js → BMI_BOYS.zscore.yearly-e084aeb0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a3813950.js → BMI_GIRLS.percentile.monthly-3015f090.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c44f9943.js → BMI_GIRLS.percentile.weekly-2ac0febd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-7e8b714c.js → BMI_GIRLS.percentile.yearly-4c71a7f5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6fc46081.js → BMI_GIRLS.zscore.monthly-d37a42c8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-c4a19ec3.js → BMI_GIRLS.zscore.weekly-54b1b642.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4e247ab0.js → BMI_GIRLS.zscore.yearly-ecc3a9c2.js} +0 -0
- /package/build/{ChevronDown-785aac28.js → ChevronDown-35c72af6.js} +0 -0
- /package/build/{Close-409b9d26.js → Close-75915dd1.js} +0 -0
- /package/build/{Google-d35702ad.js → Google-34e713f8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c8c67051.js → HEAD CIRCUM_BOYS.percentile.monthly-46fb9a0d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-51ac7d79.js → HEAD CIRCUM_BOYS.percentile.weekly-6bd407c1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-81e3b427.js → HEAD CIRCUM_BOYS.percentile.yearly-95603759.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-9219c0f2.js → HEAD CIRCUM_BOYS.zscore.monthly-d17a5ae6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d3e25a11.js → HEAD CIRCUM_BOYS.zscore.weekly-59d9aadb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-4bf8ff19.js → HEAD CIRCUM_BOYS.zscore.yearly-f3c4a9f4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4d9dcc6e.js → HEAD CIRCUM_GIRLS.percentile.monthly-104536c1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-738cd828.js → HEAD CIRCUM_GIRLS.percentile.weekly-345b6e8e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-06062106.js → HEAD CIRCUM_GIRLS.percentile.yearly-4cd221ce.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cf78f41b.js → HEAD CIRCUM_GIRLS.zscore.monthly-a8b052f0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a10ecb48.js → HEAD CIRCUM_GIRLS.zscore.weekly-8d08376f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f5e6f2b0.js → HEAD CIRCUM_GIRLS.zscore.yearly-c456a590.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-9e659184.js → HEIGHT_BOYS.percentile.monthly-6257aa39.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-8fa5744d.js → HEIGHT_BOYS.percentile.weekly-184cf20b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-66bd8085.js → HEIGHT_BOYS.percentile.yearly-f06813b5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c2b6bf9c.js → HEIGHT_BOYS.zscore.monthly-225197ea.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ee5964dd.js → HEIGHT_BOYS.zscore.weekly-72d059b7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b8d6d445.js → HEIGHT_BOYS.zscore.yearly-63a61e4a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-215fdfaf.js → HEIGHT_GIRLS.percentile.monthly-b3fa409e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-0e15831a.js → HEIGHT_GIRLS.percentile.weekly-8d7b0e29.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a4ddff97.js → HEIGHT_GIRLS.percentile.yearly-49984118.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ae01f338.js → HEIGHT_GIRLS.zscore.monthly-a7e80cdb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8bb87ba8.js → HEIGHT_GIRLS.zscore.weekly-fccf404f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0a0e30c0.js → HEIGHT_GIRLS.zscore.yearly-691462bd.js} +0 -0
- /package/build/{Locale-c7aa0348.js → Locale-47387394.js} +0 -0
- /package/build/{Visible-e3968796.js → Visible-9eea774a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-9161c6d7.js → WEIGHT_BOYS.percentile.monthly-6d0a1eac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e2aa8013.js → WEIGHT_BOYS.percentile.weekly-396bd028.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-df76234e.js → WEIGHT_BOYS.percentile.yearly-38e4cc3d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-9c2bb610.js → WEIGHT_BOYS.zscore.monthly-75993f6f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-885a2816.js → WEIGHT_BOYS.zscore.weekly-3dfba1f2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-f8b1f19e.js → WEIGHT_BOYS.zscore.yearly-f670a640.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-737150a2.js → WEIGHT_GIRLS.percentile.monthly-5c6fcbc5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f945ec8d.js → WEIGHT_GIRLS.percentile.weekly-7ea71500.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-13d29fe0.js → WEIGHT_GIRLS.percentile.yearly-60db653b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-bb4f512a.js → WEIGHT_GIRLS.zscore.monthly-c43c68ab.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-77d22c35.js → WEIGHT_GIRLS.zscore.weekly-3a427ad1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c31145cc.js → WEIGHT_GIRLS.zscore.yearly-fe11c6ca.js} +0 -0
- /package/build/{ageGenerate-20d9a10c.js → ageGenerate-7e6794c6.js} +0 -0
- /package/build/{animation-8a64aac2.js → animation-f9050ba7.js} +0 -0
- /package/build/{constants-e80b8346.js → constants-3004a621.js} +0 -0
- /package/build/{constants-22010e93.js → constants-84fe5384.js} +0 -0
- /package/build/{context-189bc2b0.js → context-4673b031.js} +0 -0
- /package/build/{dataTransform-aa64dd24.js → dataTransform-05ad3dd7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d3be8d1d.js → BMI_BOYS.percentile.monthly-000a0b90.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-cfe0680b.js → BMI_BOYS.percentile.weekly-effc7111.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e95b9e78.js → BMI_BOYS.percentile.yearly-0b7bfc8b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3e5ebf6e.js → BMI_BOYS.zscore.monthly-b60fa1b7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-41b3d92b.js → BMI_BOYS.zscore.weekly-3871f09f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-62d9a5c6.js → BMI_BOYS.zscore.yearly-3c31022e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d2871147.js → BMI_GIRLS.percentile.monthly-9cb1466f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-925bd69f.js → BMI_GIRLS.percentile.weekly-59e62102.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-1b1a86c9.js → BMI_GIRLS.percentile.yearly-5fd5ba4c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-b5d7eaf8.js → BMI_GIRLS.zscore.monthly-a710ef36.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-80a029d2.js → BMI_GIRLS.zscore.weekly-0c8ddadd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-fb3cb8ed.js → BMI_GIRLS.zscore.yearly-dfbc3932.js} +0 -0
- /package/build/esm/{ChevronDown-c160a163.js → ChevronDown-848fd41b.js} +0 -0
- /package/build/esm/{Close-f86c8ef6.js → Close-d00aa1bc.js} +0 -0
- /package/build/esm/{Google-c3470752.js → Google-2e634060.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-03ded70a.js → HEAD CIRCUM_BOYS.percentile.monthly-eeb8949d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-084871e9.js → HEAD CIRCUM_BOYS.percentile.weekly-8f340953.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-0e5c57f3.js → HEAD CIRCUM_BOYS.percentile.yearly-dfa79fb9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3712ac6c.js → HEAD CIRCUM_BOYS.zscore.monthly-06626ee2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ec1e60b3.js → HEAD CIRCUM_BOYS.zscore.weekly-d06afa99.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c8f94aec.js → HEAD CIRCUM_BOYS.zscore.yearly-8520a47f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4fdbd4e0.js → HEAD CIRCUM_GIRLS.percentile.monthly-4dd431c8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ac9bf0cd.js → HEAD CIRCUM_GIRLS.percentile.weekly-c929e1cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b421fcbe.js → HEAD CIRCUM_GIRLS.percentile.yearly-116001db.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-619615be.js → HEAD CIRCUM_GIRLS.zscore.monthly-76f6b751.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a4fe3ade.js → HEAD CIRCUM_GIRLS.zscore.weekly-56ce52bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-589a0594.js → HEAD CIRCUM_GIRLS.zscore.yearly-f98e7f07.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8c90bfbe.js → HEIGHT_BOYS.percentile.monthly-313f4463.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-83d1c664.js → HEIGHT_BOYS.percentile.weekly-1341a25c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e287afc9.js → HEIGHT_BOYS.percentile.yearly-7687df2e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d4c0573b.js → HEIGHT_BOYS.zscore.monthly-b0f6450c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7ca325f0.js → HEIGHT_BOYS.zscore.weekly-853c3c72.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-68d9a498.js → HEIGHT_BOYS.zscore.yearly-21bf9425.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-be6dda52.js → HEIGHT_GIRLS.percentile.monthly-297d1351.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-1580db7e.js → HEIGHT_GIRLS.percentile.weekly-8dbb86eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c0dbcd94.js → HEIGHT_GIRLS.percentile.yearly-6a7b2bf8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-4ce7d42f.js → HEIGHT_GIRLS.zscore.monthly-4b90f4e3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f34b17fc.js → HEIGHT_GIRLS.zscore.weekly-1f396cda.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b1f55ba6.js → HEIGHT_GIRLS.zscore.yearly-e124b753.js} +0 -0
- /package/build/esm/{Locale-31033741.js → Locale-b0c9a8e4.js} +0 -0
- /package/build/esm/{Visible-bcd5d898.js → Visible-6e6c9a98.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-edaf2363.js → WEIGHT_BOYS.percentile.monthly-ba719b70.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-ba0acb09.js → WEIGHT_BOYS.percentile.weekly-cbbc97b4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5d99e1ec.js → WEIGHT_BOYS.percentile.yearly-d54ce4fa.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c0045543.js → WEIGHT_BOYS.zscore.monthly-fbb2adef.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-676d5c5c.js → WEIGHT_BOYS.zscore.weekly-4440ce68.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a48fe2ae.js → WEIGHT_BOYS.zscore.yearly-7802cb7d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f37d8367.js → WEIGHT_GIRLS.percentile.monthly-2aaf1a5d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9122718f.js → WEIGHT_GIRLS.percentile.weekly-1deddcc0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-d85e08d9.js → WEIGHT_GIRLS.percentile.yearly-eca0fdae.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3fd243cc.js → WEIGHT_GIRLS.zscore.monthly-97a2d470.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c89e20cf.js → WEIGHT_GIRLS.zscore.weekly-9161fd95.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-60254c6b.js → WEIGHT_GIRLS.zscore.yearly-432e4f91.js} +0 -0
- /package/build/esm/{ageGenerate-42eb253e.js → ageGenerate-22aab00f.js} +0 -0
- /package/build/esm/{animation-cee75ae3.js → animation-8c2e230c.js} +0 -0
- /package/build/esm/{constants-897c4c82.js → constants-c795bc22.js} +0 -0
- /package/build/esm/{constants-049df8d3.js → constants-d62d7d60.js} +0 -0
- /package/build/esm/{context-51640a05.js → context-654e9d69.js} +0 -0
- /package/build/esm/{dataTransform-6d66a29f.js → dataTransform-20c9a0a9.js} +0 -0
- /package/build/esm/{index-c2d72cb5.js → index-1e1a42b5.js} +0 -0
- /package/build/esm/{index-88d0d798.js → index-28c91101.js} +0 -0
- /package/build/esm/{index-0c9cdc84.js → index-66c23c12.js} +0 -0
- /package/build/esm/{index-a4f18219.js → index-7bba575c.js} +0 -0
- /package/build/esm/{index-f8f65bb6.js → index-869ba225.js} +0 -0
- /package/build/esm/{index-76934d4c.js → index-8930a170.js} +0 -0
- /package/build/esm/{index-a17311f6.js → index-b1c51a94.js} +0 -0
- /package/build/esm/{index-4a36ebee.js → index-d296eae1.js} +0 -0
- /package/build/esm/{index-f6c7dabe.js → index-f39b6535.js} +0 -0
- /package/build/esm/{index.styles-aaa3ca28.js → index.styles-1a706e1e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2e28c266.js → localizeNumberFormat-bbd17676.js} +0 -0
- /package/build/esm/{normalizeLink-1baf8a45.js → normalizeLink-312eaff6.js} +0 -0
- /package/build/esm/{number-57a71212.js → number-6b873ed6.js} +0 -0
- /package/build/esm/{paths-ab1a2184.js → paths-3afdd94d.js} +0 -0
- /package/build/esm/{shared-508e378d.js → shared-8d048ab6.js} +0 -0
- /package/build/esm/{translationsContext-ab5e7a29.js → translationsContext-78d3f8a6.js} +0 -0
- /package/build/esm/{tslib.es6-18531dd0.js → tslib.es6-92483664.js} +0 -0
- /package/build/esm/{types-a07565fd.js → types-770ff56e.js} +0 -0
- /package/build/esm/{types-b141b357.js → types-7a771a47.js} +0 -0
- /package/build/esm/{useOutsideClick-933ec28a.js → useOutsideClick-d1e37218.js} +0 -0
- /package/build/esm/{useScrollbarSize-34c57639.js → useScrollbarSize-aa9d35a9.js} +0 -0
- /package/build/esm/{useUniqueId-189bf928.js → useUniqueId-e5dd2dcf.js} +0 -0
- /package/build/esm/{utils-97ebfb29.js → utils-b62dfb04.js} +0 -0
- /package/build/esm/{utils-a370ce73.js → utils-ff370e03.js} +0 -0
- /package/build/{index-d9ddc438.js → index-3b503276.js} +0 -0
- /package/build/{index-fdf9013f.js → index-4593b015.js} +0 -0
- /package/build/{index-0ae7807c.js → index-5d49e1bd.js} +0 -0
- /package/build/{index-96f58a7c.js → index-6ad95a0a.js} +0 -0
- /package/build/{index-ca2514cf.js → index-6b37cefc.js} +0 -0
- /package/build/{index-b6f575e6.js → index-71563256.js} +0 -0
- /package/build/{index-7121633b.js → index-7ae59d6a.js} +0 -0
- /package/build/{index-91c21c69.js → index-82ed6235.js} +0 -0
- /package/build/{index-1201111d.js → index-b34a6083.js} +0 -0
- /package/build/{index.styles-57a38d09.js → index.styles-7cd311bf.js} +0 -0
- /package/build/{localizeNumberFormat-b8d73f82.js → localizeNumberFormat-d8f774ac.js} +0 -0
- /package/build/{normalizeLink-1a9df5d6.js → normalizeLink-366b46b1.js} +0 -0
- /package/build/{number-40b2d87a.js → number-7d8cee52.js} +0 -0
- /package/build/{paths-17aeebed.js → paths-9d34fd06.js} +0 -0
- /package/build/{shared-1854871e.js → shared-cd6a3825.js} +0 -0
- /package/build/{translationsContext-5ed79623.js → translationsContext-28bdd3bd.js} +0 -0
- /package/build/{tslib.es6-2eaf44fd.js → tslib.es6-c9e43cdc.js} +0 -0
- /package/build/{types-eed43f90.js → types-5c363295.js} +0 -0
- /package/build/{types-f70aa034.js → types-c88198d0.js} +0 -0
- /package/build/{useOutsideClick-6705b369.js → useOutsideClick-8d821046.js} +0 -0
- /package/build/{useScrollbarSize-3e4be277.js → useScrollbarSize-92875e2b.js} +0 -0
- /package/build/{useUniqueId-b0db849e.js → useUniqueId-defcaf85.js} +0 -0
- /package/build/{utils-dce24a80.js → utils-a1a3803a.js} +0 -0
- /package/build/{utils-8587af91.js → utils-a7c31977.js} +0 -0
package/build/esm/care.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export { BookingSearchBar } from './careBookingSearchBar.js';
|
|
2
2
|
export { BookingSearchBarV2 } from './careBookingSearchBarV2.js';
|
|
3
|
-
export { T as TextDivider } from './index-
|
|
4
|
-
export { c as CareConstants } from './constants-
|
|
5
|
-
export { t as CareTypes } from './types-
|
|
6
|
-
import './tslib.es6-
|
|
3
|
+
export { T as TextDivider } from './index-828d5625.js';
|
|
4
|
+
export { c as CareConstants } from './constants-d62d7d60.js';
|
|
5
|
+
export { t as CareTypes } from './types-770ff56e.js';
|
|
6
|
+
import './tslib.es6-92483664.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import '@emotion/react';
|
|
9
|
-
import './utils-
|
|
10
|
-
import './index-
|
|
9
|
+
import './utils-2b748923.js';
|
|
10
|
+
import './index-2fdd4d60.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
13
|
-
import './Locale-
|
|
12
|
+
import './index-ce0be063.js';
|
|
13
|
+
import './Locale-b0c9a8e4.js';
|
|
14
14
|
import './constantsSite.js';
|
|
15
15
|
import './constantsDomainLocales.js';
|
|
16
16
|
import './constantsRiskScreener.js';
|
|
@@ -18,19 +18,25 @@ import './constantsIsProduction.js';
|
|
|
18
18
|
import './miscCookieHelper.js';
|
|
19
19
|
import '@emotion/styled';
|
|
20
20
|
import './miscTheme.js';
|
|
21
|
-
import './utils-
|
|
21
|
+
import './utils-ff370e03.js';
|
|
22
22
|
import 'react-loading-skeleton';
|
|
23
23
|
import 'string-format';
|
|
24
|
-
import './index-
|
|
25
|
-
import './translationsContext-
|
|
24
|
+
import './index-6407f430.js';
|
|
25
|
+
import './translationsContext-78d3f8a6.js';
|
|
26
26
|
import 'lodash/debounce';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-6e8ef1c0.js';
|
|
28
28
|
import '@mantine/core';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-854754c9.js';
|
|
30
|
+
import './index-28c91101.js';
|
|
31
31
|
import 'lodash/shuffle';
|
|
32
|
-
import './useOutsideClick-
|
|
33
|
-
import './paths-
|
|
34
|
-
import './index-4a36ebee.js';
|
|
32
|
+
import './useOutsideClick-d1e37218.js';
|
|
33
|
+
import './paths-3afdd94d.js';
|
|
35
34
|
import '@hhgtech/icons/core';
|
|
36
|
-
import '
|
|
35
|
+
import '@mantine/hooks';
|
|
36
|
+
import './index-d296eae1.js';
|
|
37
|
+
import './ChevronDown-848fd41b.js';
|
|
38
|
+
import '@hhgtech/icons/arrow';
|
|
39
|
+
import './index-51e2478d.js';
|
|
40
|
+
import './index.styles-1a706e1e.js';
|
|
41
|
+
import './index-cbc045f0.js';
|
|
42
|
+
import './shared-8d048ab6.js';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-92483664.js';
|
|
2
2
|
import React__default, { useMemo, useEffect, useRef, useCallback, useState, useReducer } from 'react';
|
|
3
3
|
import { Global, css } from '@emotion/react';
|
|
4
|
-
import { S as StyledLocationResultsWrapper, a as StyledLocationResultsList, b as StyledLiSkeleton, c as StyledLocationItem, d as StyledPinIcon, M as MagnifierIcon, C as CloseIcon, e as ClearIcon, P as PinIcon, D as DefaultThumbnailAny, f as DefaultThumbnailDoctor, g as DefaultThumbnailService, h as getApiPath, u as useGeolocation } from './utils-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { S as StyledLocationResultsWrapper, a as StyledLocationResultsList, b as StyledLiSkeleton, c as StyledLocationItem, d as StyledPinIcon, M as MagnifierIcon, C as CloseIcon, e as ClearIcon, P as PinIcon, D as DefaultThumbnailAny, f as DefaultThumbnailDoctor, g as DefaultThumbnailService, h as getApiPath, u as useGeolocation } from './utils-2b748923.js';
|
|
5
|
+
import { u as useTranslations } from './index-6407f430.js';
|
|
6
6
|
import debounce from 'lodash/debounce';
|
|
7
|
-
import { I as ID_OPTION_ALL_LOCATION, L as LOCALIZED_SLUGS, a as ID_OPTION_CURRENT_LOCATION } from './constants-
|
|
7
|
+
import { I as ID_OPTION_ALL_LOCATION, L as LOCALIZED_SLUGS, a as ID_OPTION_CURRENT_LOCATION } from './constants-d62d7d60.js';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
|
-
import { I as Input } from './index-
|
|
10
|
-
import { T as Text } from './index-
|
|
9
|
+
import { I as Input } from './index-6e8ef1c0.js';
|
|
10
|
+
import { T as Text } from './index-854754c9.js';
|
|
11
11
|
import { theme } from './miscTheme.js';
|
|
12
12
|
import shuffle from 'lodash/shuffle';
|
|
13
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
14
|
-
import { M as MediaQueries } from './utils-
|
|
13
|
+
import { a as useOutsideClick } from './useOutsideClick-d1e37218.js';
|
|
14
|
+
import { M as MediaQueries } from './utils-ff370e03.js';
|
|
15
15
|
import Skeleton from 'react-loading-skeleton';
|
|
16
|
-
import { P as PATHS } from './paths-
|
|
17
|
-
import './index-
|
|
16
|
+
import { P as PATHS } from './paths-3afdd94d.js';
|
|
17
|
+
import './index-2fdd4d60.js';
|
|
18
18
|
import 'date-fns/locale';
|
|
19
|
-
import './index-
|
|
20
|
-
import './Locale-
|
|
19
|
+
import './index-ce0be063.js';
|
|
20
|
+
import './Locale-b0c9a8e4.js';
|
|
21
21
|
import './constantsSite.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
23
|
import './constantsRiskScreener.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
25
|
import './miscCookieHelper.js';
|
|
26
26
|
import 'string-format';
|
|
27
|
-
import './translationsContext-
|
|
27
|
+
import './translationsContext-78d3f8a6.js';
|
|
28
28
|
import '@mantine/core';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-28c91101.js';
|
|
30
30
|
|
|
31
31
|
const StyledSearchBarWrapper = styled.div ``;
|
|
32
32
|
const StyledSearchBarMobileWrapper = styled.div `
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
import React__default, { useMemo, useRef, useCallback, useState, useReducer, useEffect } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
2
|
+
import { Search } from '@hhgtech/icons/core';
|
|
3
|
+
import { Skeleton, Input, useMantineTheme, rem, Stack, Flex, Box, ScrollArea, Divider, Tabs } from '@mantine/core';
|
|
4
|
+
import { useDisclosure } from '@mantine/hooks';
|
|
5
|
+
import { i as checkMarkIconUrl, P as PinIcon, h as getApiPath, u as useGeolocation } from './utils-2b748923.js';
|
|
6
|
+
import { a as useOutsideClick } from './useOutsideClick-d1e37218.js';
|
|
7
|
+
import { u as useTranslations } from './index-6407f430.js';
|
|
6
8
|
import debounce from 'lodash/debounce';
|
|
7
|
-
import { a as ID_OPTION_CURRENT_LOCATION,
|
|
9
|
+
import { a as ID_OPTION_CURRENT_LOCATION, L as LOCALIZED_SLUGS, I as ID_OPTION_ALL_LOCATION, S as SLUG_VACIN_ID, C as CLIENT_KEY, M as MAPPING_CLIENT_WITH_SLUG } from './constants-d62d7d60.js';
|
|
8
10
|
import styled from '@emotion/styled';
|
|
9
11
|
import { theme } from './miscTheme.js';
|
|
10
|
-
import { M as MediaQueries } from './utils-
|
|
11
|
-
import { C as Container } from './index-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import './index-
|
|
12
|
+
import { M as MediaQueries } from './utils-ff370e03.js';
|
|
13
|
+
import { C as Container } from './index-d296eae1.js';
|
|
14
|
+
import { T as Text } from './index-854754c9.js';
|
|
15
|
+
import { C as ChevronDown } from './ChevronDown-848fd41b.js';
|
|
16
|
+
import { _ as __rest } from './tslib.es6-92483664.js';
|
|
17
|
+
import { ArrowLeft } from '@hhgtech/icons/arrow';
|
|
18
|
+
import { M as Modal } from './index-51e2478d.js';
|
|
19
|
+
import { P as PATHS } from './paths-3afdd94d.js';
|
|
20
|
+
import { B as Button } from './index-cbc045f0.js';
|
|
21
|
+
import './index-2fdd4d60.js';
|
|
17
22
|
import 'date-fns/locale';
|
|
18
|
-
import './index-
|
|
19
|
-
import './Locale-
|
|
23
|
+
import './index-ce0be063.js';
|
|
24
|
+
import './Locale-b0c9a8e4.js';
|
|
20
25
|
import './constantsSite.js';
|
|
21
26
|
import './constantsDomainLocales.js';
|
|
22
27
|
import './constantsRiskScreener.js';
|
|
@@ -24,9 +29,10 @@ import './constantsIsProduction.js';
|
|
|
24
29
|
import './miscCookieHelper.js';
|
|
25
30
|
import 'react-loading-skeleton';
|
|
26
31
|
import 'string-format';
|
|
27
|
-
import './translationsContext-
|
|
28
|
-
import './
|
|
29
|
-
import './index-
|
|
32
|
+
import './translationsContext-78d3f8a6.js';
|
|
33
|
+
import './index-28c91101.js';
|
|
34
|
+
import './index.styles-1a706e1e.js';
|
|
35
|
+
import './shared-8d048ab6.js';
|
|
30
36
|
|
|
31
37
|
const StyledSearchBarWrapper = styled.div ``;
|
|
32
38
|
const StyleWrapperContainer = styled.div `
|
|
@@ -215,9 +221,9 @@ function reducer(state, action) {
|
|
|
215
221
|
case ActionTypes.ClearInputSearch:
|
|
216
222
|
return Object.assign(Object.assign({}, state), { focused: 'search', searchKeywords: '' });
|
|
217
223
|
case ActionTypes.SelectLocation:
|
|
218
|
-
return Object.assign(Object.assign({}, state), { focused: 'none', selectedLocation: action.payload, searchLocationKeywords: action.payload.name });
|
|
224
|
+
return Object.assign(Object.assign({}, state), { focused: 'none', selectedLocation: action.payload, searchLocationKeywords: action.payload.name, searchResults: {} });
|
|
219
225
|
case ActionTypes.SelectSpecialty:
|
|
220
|
-
return Object.assign(Object.assign({}, state), { focused: 'none', selectedSpecialty: action.payload });
|
|
226
|
+
return Object.assign(Object.assign({}, state), { focused: 'none', selectedSpecialty: action.payload, searchResults: {} });
|
|
221
227
|
case ActionTypes.SelectSearchResult:
|
|
222
228
|
return Object.assign(Object.assign({}, state), { searchKeywords: action.payload.name, isMobileModalOpened: false, focused: 'none', navigateTo: action.payload.url });
|
|
223
229
|
case ActionTypes.FetchCitiesStart:
|
|
@@ -307,7 +313,7 @@ const StyleResultWrapper$2 = styled.div `
|
|
|
307
313
|
`;
|
|
308
314
|
|
|
309
315
|
const StyledSearchResultWrapper = styled.div ``;
|
|
310
|
-
|
|
316
|
+
styled.div `
|
|
311
317
|
display: flex;
|
|
312
318
|
justify-content: space-between;
|
|
313
319
|
align-item: center;
|
|
@@ -408,8 +414,12 @@ styled.div `
|
|
|
408
414
|
}
|
|
409
415
|
`;
|
|
410
416
|
|
|
411
|
-
const SearchResult = ({ state, type, results,
|
|
412
|
-
|
|
417
|
+
const SearchResult = ({ state, type, results,
|
|
418
|
+
// location,
|
|
419
|
+
isLoading, typeInformation,
|
|
420
|
+
// clientSlug = '',
|
|
421
|
+
dispatch, }) => {
|
|
422
|
+
const { t } = useTranslations();
|
|
413
423
|
const { selectedLocation } = state;
|
|
414
424
|
const typeSlug = useMemo(() => typeInformation[type].slug, [typeInformation, type]);
|
|
415
425
|
const handleOnClick = (item) => {
|
|
@@ -430,28 +440,26 @@ const SearchResult = ({ state, type, results, location, isLoading, typeInformati
|
|
|
430
440
|
});
|
|
431
441
|
}
|
|
432
442
|
};
|
|
433
|
-
const handleSeeAll = () => {
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
}
|
|
443
|
+
// const handleSeeAll = () => {
|
|
444
|
+
// let url = `/${selectedLocation.slug}/${typeSlug}`
|
|
445
|
+
// const slugClientUrl = MAPPING_CLIENT_WITH_SLUG[locale][clientSlug]
|
|
446
|
+
// if (slugClientUrl) {
|
|
447
|
+
// url += `/${slugClientUrl}`
|
|
448
|
+
// }
|
|
449
|
+
// if (
|
|
450
|
+
// (type === 'doctor' || type === 'hospital') &&
|
|
451
|
+
// state.selectedSpecialty.id > 0
|
|
452
|
+
// ) {
|
|
453
|
+
// url += `?specialtyId=${state.selectedSpecialty.id}`
|
|
454
|
+
// }
|
|
455
|
+
// if (url) {
|
|
456
|
+
// dispatch({ type: ActionTypes.NavigateTo, payload: url })
|
|
457
|
+
// }
|
|
458
|
+
// }
|
|
459
|
+
if (results === null)
|
|
460
|
+
return null;
|
|
447
461
|
return (React__default.createElement(StyledSearchResultWrapper, null,
|
|
448
|
-
React__default.createElement(
|
|
449
|
-
React__default.createElement("div", { className: "title" }, t('booking.searchResult.description', {
|
|
450
|
-
search_type: typeInformation[type].name,
|
|
451
|
-
search_location: location,
|
|
452
|
-
})),
|
|
453
|
-
results.length > 0 && (React__default.createElement("div", { className: "btn-see-all", onClick: handleSeeAll }, t('home.seeAll')))),
|
|
454
|
-
React__default.createElement(StyleResultBody, null,
|
|
462
|
+
React__default.createElement(StyleResultBody, { className: "search-results__body" },
|
|
455
463
|
isLoading &&
|
|
456
464
|
Array(3)
|
|
457
465
|
.fill(undefined)
|
|
@@ -493,6 +501,13 @@ const SearchResult = ({ state, type, results, location, isLoading, typeInformati
|
|
|
493
501
|
!isLoading && (results === null || results === void 0 ? void 0 : results.length) === 0 && (React__default.createElement(Text, { size: "sm", color: theme.colors.gray400 }, t('booking.searchBar.noResults'))))));
|
|
494
502
|
};
|
|
495
503
|
|
|
504
|
+
const SearchResultContent = ({ state, type, isLoading, clientSlug, typeInformation, dispatch, }) => {
|
|
505
|
+
var _a;
|
|
506
|
+
if (state.focused !== 'search')
|
|
507
|
+
return null;
|
|
508
|
+
return (React__default.createElement(SearchResult, { type: type, state: state, results: ((_a = state.searchResults) === null || _a === void 0 ? void 0 : _a[type]) || null, location: state.selectedLocation.name, dispatch: dispatch, isLoading: isLoading, typeInformation: typeInformation, clientSlug: clientSlug }));
|
|
509
|
+
};
|
|
510
|
+
|
|
496
511
|
const StyleSearchSpecialtyWrapper = styled.div `
|
|
497
512
|
position: relative;
|
|
498
513
|
|
|
@@ -533,6 +548,7 @@ const StyledSpecialtyItem = styled.li `
|
|
|
533
548
|
align-items: center;
|
|
534
549
|
width: 40px;
|
|
535
550
|
height: 40px;
|
|
551
|
+
flex-shrink: 0;
|
|
536
552
|
|
|
537
553
|
img {
|
|
538
554
|
width: 100%;
|
|
@@ -671,10 +687,13 @@ const SearchSpecialty = ({ state, isMobile, debouncedFetchSearchResults, selecte
|
|
|
671
687
|
React__default.createElement(Text, { size: "md" }, specialty.name))))))));
|
|
672
688
|
};
|
|
673
689
|
|
|
674
|
-
const SearchInputs = ({ state, type, isMobile, isLoading, initalSearchValue, typeInformation, debouncedFetchSearchResults, trackingAttributes, hideSpecialtySelection = false, clientSlug = '',
|
|
675
|
-
|
|
690
|
+
const SearchInputs = ({ state, type, isMobile, isLoading, initalSearchValue, typeInformation, debouncedFetchSearchResults, trackingAttributes, hideSpecialtySelection = false, clientSlug = '',
|
|
691
|
+
// focusSearchInput,
|
|
692
|
+
onSearch, onFocusInput, onEnterSearch, dispatch, onlyShowSearchBox, onChangeSpecialty, }) => {
|
|
676
693
|
const { t } = useTranslations();
|
|
694
|
+
const theme = useMantineTheme();
|
|
677
695
|
const inputSearchWrapperRef = useRef(null);
|
|
696
|
+
const hasSearchIcon = !onlyShowSearchBox;
|
|
678
697
|
const gaAttributes = useMemo(() => {
|
|
679
698
|
if (trackingAttributes) {
|
|
680
699
|
return {
|
|
@@ -711,7 +730,11 @@ const SearchInputs = ({ state, type, isMobile, isLoading, initalSearchValue, typ
|
|
|
711
730
|
display: 'none',
|
|
712
731
|
},
|
|
713
732
|
input: {
|
|
714
|
-
paddingLeft:
|
|
733
|
+
paddingLeft: hasSearchIcon ? 48 : 16,
|
|
734
|
+
[theme.fn.smallerThan('sm')]: {
|
|
735
|
+
height: 40,
|
|
736
|
+
fontSize: rem(14),
|
|
737
|
+
},
|
|
715
738
|
},
|
|
716
739
|
'.mantine-Input-icon': {
|
|
717
740
|
left: '0',
|
|
@@ -747,7 +770,7 @@ const SearchInputs = ({ state, type, isMobile, isLoading, initalSearchValue, typ
|
|
|
747
770
|
};
|
|
748
771
|
}, []);
|
|
749
772
|
useOutsideClick(inputSearchWrapperRef, () => {
|
|
750
|
-
dispatch({ type: ActionTypes.ClickOutsideInputSearch });
|
|
773
|
+
!isMobile && dispatch({ type: ActionTypes.ClickOutsideInputSearch });
|
|
751
774
|
});
|
|
752
775
|
const handleSearchInputChange = useCallback(function handleSearchInputChange(value) {
|
|
753
776
|
dispatch({ type: ActionTypes.ChangeInputSearch, payload: value });
|
|
@@ -766,7 +789,8 @@ const SearchInputs = ({ state, type, isMobile, isLoading, initalSearchValue, typ
|
|
|
766
789
|
}, [dispatch, state, type]);
|
|
767
790
|
const handleSpecialtyClick = useCallback(function handleSpecialtyClick(specialty) {
|
|
768
791
|
dispatch({ type: ActionTypes.SelectSpecialty, payload: specialty });
|
|
769
|
-
focusSearchInput()
|
|
792
|
+
// focusSearchInput()
|
|
793
|
+
onChangeSpecialty === null || onChangeSpecialty === void 0 ? void 0 : onChangeSpecialty(specialty);
|
|
770
794
|
}, [dispatch]);
|
|
771
795
|
const inputOnKeyDown = useCallback((e) => {
|
|
772
796
|
if (e.keyCode === 13) {
|
|
@@ -776,23 +800,50 @@ const SearchInputs = ({ state, type, isMobile, isLoading, initalSearchValue, typ
|
|
|
776
800
|
}
|
|
777
801
|
}, [onEnterSearch]);
|
|
778
802
|
return (React__default.createElement(StyleSearchInputsWrapper, { ref: inputSearchWrapperRef }, type === 'specialty' ? (React__default.createElement(Input.Wrapper, { styles: styleInputWrapper },
|
|
779
|
-
React__default.createElement(Input, { icon: React__default.createElement(Search, null), size: isMobile ? 'md' : 'lg', placeholder: placeholderSearch, styles: styleInputSpecialties, value: state.searchKeywords, onFocus: () => dispatch({ type: ActionTypes.FocusInputSearchSpecialty }), onChange: (event) => {
|
|
803
|
+
React__default.createElement(Input, { icon: hasSearchIcon && React__default.createElement(Search, null), size: isMobile ? 'md' : 'lg', placeholder: placeholderSearch, styles: styleInputSpecialties, value: state.searchKeywords, onFocus: () => dispatch({ type: ActionTypes.FocusInputSearchSpecialty }), onChange: (event) => {
|
|
780
804
|
handleSearchInputChange(event.target.value);
|
|
781
805
|
}, onKeyDown: inputOnKeyDown }))) : (React__default.createElement(React__default.Fragment, null,
|
|
782
806
|
type === 'service' ? (React__default.createElement(Input.Wrapper, { styles: styleInputWrapper },
|
|
783
|
-
React__default.createElement(Input, { icon: React__default.createElement(Search, null), size: isMobile ? 'md' : 'lg', name: "search-results", placeholder: placeholderSearch, onFocus: () =>
|
|
807
|
+
React__default.createElement(Input, { icon: hasSearchIcon && React__default.createElement(Search, null), size: isMobile ? 'md' : 'lg', name: "search-results", placeholder: placeholderSearch, onFocus: () => {
|
|
808
|
+
dispatch({ type: ActionTypes.FocusInputSearch });
|
|
809
|
+
onFocusInput === null || onFocusInput === void 0 ? void 0 : onFocusInput();
|
|
810
|
+
}, value: state.searchKeywords, onChange: (event) => {
|
|
784
811
|
handleSearchInputChange(event.target.value);
|
|
785
812
|
}, onKeyDown: inputOnKeyDown }))) : (React__default.createElement(React__default.Fragment, null, isMobile && !hideSpecialtySelection ? (React__default.createElement(React__default.Fragment, null,
|
|
786
|
-
React__default.createElement(SearchSpecialty, { state: state, isMobile: isMobile, dispatch: dispatch, debouncedFetchSearchResults: debouncedFetchSearchResults, onSpecialtyClick: handleSpecialtyClick }),
|
|
813
|
+
!onlyShowSearchBox && (React__default.createElement(SearchSpecialty, { state: state, isMobile: isMobile, dispatch: dispatch, debouncedFetchSearchResults: debouncedFetchSearchResults, onSpecialtyClick: handleSpecialtyClick })),
|
|
787
814
|
React__default.createElement(Input.Wrapper, { styles: styleInputWrapper },
|
|
788
|
-
React__default.createElement(Input, { icon: React__default.createElement(Search, null), size: "md", placeholder: placeholderSearch, value: state.searchKeywords, name: "search-results", onFocus: () =>
|
|
815
|
+
React__default.createElement(Input, { icon: hasSearchIcon && React__default.createElement(Search, null), size: "md", placeholder: placeholderSearch, value: state.searchKeywords, name: "search-results", onFocus: () => {
|
|
816
|
+
dispatch({ type: ActionTypes.FocusInputSearch });
|
|
817
|
+
onFocusInput === null || onFocusInput === void 0 ? void 0 : onFocusInput();
|
|
818
|
+
}, onChange: (event) => {
|
|
789
819
|
handleSearchInputChange(event.target.value);
|
|
790
820
|
}, onKeyDown: inputOnKeyDown })))) : (React__default.createElement(Input.Wrapper, { styles: styleInputWrapper, className: hideSpecialtySelection ? 'hide-specialty-selection' : '' },
|
|
791
|
-
React__default.createElement(Input, Object.assign({ icon: React__default.createElement(Search, null), size: "lg", placeholder: placeholderSearch, styles: styleInput, name: "search-results", autoComplete: "off", value: state.searchKeywords, onChange: (event) => {
|
|
821
|
+
React__default.createElement(Input, Object.assign({ icon: hasSearchIcon && React__default.createElement(Search, null), size: "lg", placeholder: placeholderSearch, styles: styleInput, name: "search-results", autoComplete: "off", value: state.searchKeywords, onChange: (event) => {
|
|
792
822
|
handleSearchInputChange(event.target.value);
|
|
793
|
-
}, onFocus: () =>
|
|
794
|
-
|
|
795
|
-
|
|
823
|
+
}, onFocus: () => {
|
|
824
|
+
dispatch({ type: ActionTypes.FocusInputSearch });
|
|
825
|
+
onFocusInput === null || onFocusInput === void 0 ? void 0 : onFocusInput();
|
|
826
|
+
}, onKeyDown: inputOnKeyDown }, gaAttributes, { rightSection: hideSpecialtySelection ? (React__default.createElement(React__default.Fragment, null)) : (!onlyShowSearchBox && (React__default.createElement(SearchSpecialty, { state: state, isMobile: isMobile, dispatch: dispatch, debouncedFetchSearchResults: debouncedFetchSearchResults, onSpecialtyClick: handleSpecialtyClick }))) })))))),
|
|
827
|
+
!isMobile && (React__default.createElement(StyleResultWrapper$2, null,
|
|
828
|
+
React__default.createElement(SearchResultContent, { type: type, state: state, dispatch: dispatch, isLoading: isLoading, typeInformation: typeInformation, clientSlug: clientSlug })))))));
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
const ModalSearchResult = (_a) => {
|
|
832
|
+
var { searchInputEle, closeModal, children } = _a, props = __rest(_a, ["searchInputEle", "closeModal", "children"]);
|
|
833
|
+
const theme = useMantineTheme();
|
|
834
|
+
return (React__default.createElement(Modal, Object.assign({}, props, { zIndex: 310, fullScreen: true, styles: {
|
|
835
|
+
content: {
|
|
836
|
+
borderRadius: 0,
|
|
837
|
+
height: '100%',
|
|
838
|
+
'.search-results__body': { padding: 0 },
|
|
839
|
+
},
|
|
840
|
+
header: { display: 'none' },
|
|
841
|
+
} }),
|
|
842
|
+
React__default.createElement(Stack, { spacing: 16, sx: { paddingTop: 16 } },
|
|
843
|
+
React__default.createElement(Flex, { align: 'center', gap: 12 },
|
|
844
|
+
React__default.createElement(ArrowLeft, { size: 28, onClick: closeModal, color: theme.fn.primaryColor() }),
|
|
845
|
+
React__default.createElement(Box, { sx: { width: '100%' } }, searchInputEle)),
|
|
846
|
+
children)));
|
|
796
847
|
};
|
|
797
848
|
|
|
798
849
|
const StyleSearchLocationWrapper = styled.div `
|
|
@@ -1494,7 +1545,7 @@ gaTrackingSearchBar, gaTrackingLocationSearch, autoCompleteDisabled = false, inp
|
|
|
1494
1545
|
// isNavResultItem = true,
|
|
1495
1546
|
routerPush, onGeoLocationPermissionChange,
|
|
1496
1547
|
// onSearch,
|
|
1497
|
-
onChangeLocation, }) => {
|
|
1548
|
+
onChangeLocation, onChangeSpecialty, }) => {
|
|
1498
1549
|
const { locale, t } = useTranslations();
|
|
1499
1550
|
const wrapperRef = useRef(null);
|
|
1500
1551
|
const inputSearchSpecialtyWrapperRef = useRef(null);
|
|
@@ -1511,7 +1562,9 @@ onChangeLocation, }) => {
|
|
|
1511
1562
|
const { navigateTo, focusedSpecialty,
|
|
1512
1563
|
// isLoadingCities,
|
|
1513
1564
|
// cities,
|
|
1514
|
-
searchKeywords, geoLocationPermission, selectedLocation,
|
|
1565
|
+
searchKeywords, geoLocationPermission, selectedLocation,
|
|
1566
|
+
// selectedSpecialty,
|
|
1567
|
+
initialSelectedCity,
|
|
1515
1568
|
// defaultCity,
|
|
1516
1569
|
searchResults, isLoadingSearchResults,
|
|
1517
1570
|
// isMobileModalOpened,
|
|
@@ -1525,6 +1578,7 @@ onChangeLocation, }) => {
|
|
|
1525
1578
|
client: clientSlug,
|
|
1526
1579
|
});
|
|
1527
1580
|
const slugs = useMemo(() => LOCALIZED_SLUGS[locale], [locale]);
|
|
1581
|
+
const [opened, { close, open }] = useDisclosure(false);
|
|
1528
1582
|
const typeInformation = useMemo(() => {
|
|
1529
1583
|
return Object.assign({ doctor: {
|
|
1530
1584
|
name: t('booking.searchPopup.doctors'),
|
|
@@ -1550,7 +1604,7 @@ onChangeLocation, }) => {
|
|
|
1550
1604
|
const debouncedFetchSearchResults = useMemo(() => debounce(fetchSearchResults, 400), [fetchSearchResults]);
|
|
1551
1605
|
const handleLocationClick = useCallback(function handleLocationClick(city) {
|
|
1552
1606
|
dispatch({ type: ActionTypes.SelectLocation, payload: city });
|
|
1553
|
-
focusSearchInput()
|
|
1607
|
+
// focusSearchInput()
|
|
1554
1608
|
if (onChangeLocation) {
|
|
1555
1609
|
onChangeLocation(city);
|
|
1556
1610
|
}
|
|
@@ -1643,25 +1697,47 @@ onChangeLocation, }) => {
|
|
|
1643
1697
|
}, [navigateTo]);
|
|
1644
1698
|
useEffect(() => {
|
|
1645
1699
|
fetchSearchResults(state.searchKeywords, state, currentTab, clientSlug, true);
|
|
1646
|
-
}, [
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1700
|
+
}, [currentTab]);
|
|
1701
|
+
const searchInputsProps = {
|
|
1702
|
+
type: currentTab,
|
|
1703
|
+
isMobile: isMobile,
|
|
1704
|
+
state: state,
|
|
1705
|
+
dispatch: dispatch,
|
|
1706
|
+
debouncedFetchSearchResults: debouncedFetchSearchResults,
|
|
1707
|
+
initalSearchValue: initialSearchValue,
|
|
1708
|
+
focusSearchInput: focusSearchInput,
|
|
1709
|
+
onEnterSearch: onClickSearchByKeyword,
|
|
1710
|
+
typeInformation: typeInformation,
|
|
1711
|
+
trackingAttributes: gaTrackingSearchBar,
|
|
1712
|
+
isLoading: isLoadingSearchResults,
|
|
1713
|
+
hideSpecialtySelection: hideSpecialtySelection || hideSpecialtyTab,
|
|
1714
|
+
clientSlug: clientSlug,
|
|
1715
|
+
onChangeSpecialty,
|
|
1716
|
+
};
|
|
1717
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
1718
|
+
React__default.createElement(StyledSearchBarWrapper, { ref: wrapperRef },
|
|
1719
|
+
React__default.createElement(TabSearch, { currentTab: currentTab, setCurrentTab: setCurrentTab, isMobile: isMobile, hideTabBookingSearch: hideTabBookingSearch, hideSpecialtyTab: hideSpecialtyTab }),
|
|
1720
|
+
React__default.createElement(StyleWrapperContainer, { className: "booking-search-container" },
|
|
1721
|
+
React__default.createElement(StyleSearchInputContainer, null,
|
|
1722
|
+
React__default.createElement(StyleSearchContent, { className: "booking-search-content" },
|
|
1723
|
+
React__default.createElement("div", { ref: inputSearchSpecialtyWrapperRef },
|
|
1724
|
+
React__default.createElement(Flex, { gap: "12px", justify: "space-between", align: "center", direction: isMobile ? 'column' : 'row', className: "flex-search-input" },
|
|
1725
|
+
currentTab !== 'specialty' && (React__default.createElement(SearchLocation, { state: state, isMobile: isMobile, dispatch: dispatch, debouncedFetchCitiesByKeyword: debouncedFetchCitiesByKeyword, selectedLocation: selectedLocation, onLocationClick: handleLocationClick, trackingAttributes: gaTrackingLocationSearch })),
|
|
1726
|
+
React__default.createElement(SearchInputs, Object.assign({}, searchInputsProps, { onFocusInput: () => isMobile && open() })),
|
|
1727
|
+
React__default.createElement(Button, { size: isMobile ? 'md' : 'lg', fullWidth: isMobile, variant: "primary", onClick: onClickSearchByKeyword, styles: {
|
|
1728
|
+
root: {
|
|
1729
|
+
height: isMobile ? '40px' : '48px',
|
|
1730
|
+
},
|
|
1731
|
+
} }, t('booking.searchBar.searchButton'))),
|
|
1732
|
+
!hidePopularSearchKeys &&
|
|
1733
|
+
currentTab !== 'specialty' &&
|
|
1734
|
+
state.popularKeys.length > 0 && (React__default.createElement(SearchTag, { type: currentTab, state: state, typeInformation: typeInformation, dispatch: dispatch })),
|
|
1735
|
+
currentTab === 'specialty' &&
|
|
1736
|
+
focusedSpecialty === 'search' && (React__default.createElement(SearchResultSpecialties, { state: state, isMobile: isMobile, dispatch: dispatch, specialties: (searchResults === null || searchResults === void 0 ? void 0 : searchResults.specialty) || [], isLoading: isLoadingSearchResults }))))))),
|
|
1737
|
+
isMobile && (React__default.createElement(ModalSearchResult, { opened: opened, onClose: close, closeModal: close, searchInputEle: React__default.createElement(Flex, { align: 'center', gap: 8 },
|
|
1738
|
+
React__default.createElement(SearchInputs, Object.assign({}, searchInputsProps, { onlyShowSearchBox: true })),
|
|
1739
|
+
React__default.createElement(Button, { variant: "primary", leftIcon: React__default.createElement(Search, { size: 20, color: '#fff' }), onClick: onClickSearchByKeyword })) },
|
|
1740
|
+
React__default.createElement(SearchResultContent, { type: currentTab, state: state, dispatch: dispatch, isLoading: isLoadingSearchResults, typeInformation: typeInformation, clientSlug: clientSlug })))));
|
|
1665
1741
|
};
|
|
1666
1742
|
|
|
1667
1743
|
export { BookingSearchBarV2 };
|