@hhgtech/hhg-components 1.29.121 → 1.29.123
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/{LastPeriod-f21c9d47.js → LastPeriod-af30fe00.js} +1 -1
- package/build/{MobileBottomNavigationIcon-57b8fedd.js → MobileBottomNavigationIcon-2c5d776d.js} +3 -3
- package/build/{Spinner-c2c8a224.js → Spinner-1a4560bb.js} +1 -1
- package/build/{WhatsApp-2e006adb.js → WhatsApp-45a03928.js} +1 -1
- package/build/adapters.js +19 -18
- package/build/atoms.js +46 -45
- package/build/babyGrowth.js +83 -82
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components.js +90 -89
- package/build/{constants-ebd338dc.js → constants-312940ef.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-ae448b8f.js → core-e183d682.js} +1 -1
- package/build/{dataTransform-6d0d8c07.js → dataTransform-f7d01072.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-a540d1ad.js → editor-2d6a5b52.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -22
- package/build/embeddedHeathToolCards_babyPoop.js +19 -18
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -21
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -21
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -21
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -27
- package/build/esm/{LastPeriod-503386b1.js → LastPeriod-a5044564.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-7ac65972.js → MobileBottomNavigationIcon-f5cd70d4.js} +3 -3
- package/build/esm/{Spinner-be2b6290.js → Spinner-e5b49a7c.js} +1 -1
- package/build/esm/{WhatsApp-83ef331f.js → WhatsApp-1582d9a8.js} +1 -1
- package/build/esm/adapters.js +19 -18
- package/build/esm/atoms.js +46 -45
- package/build/esm/babyGrowth.js +83 -82
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components.js +90 -89
- package/build/esm/{constants-df01a7ea.js → constants-89b56404.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-78953ad6.js → core-41a9d61f.js} +1 -1
- package/build/esm/{dataTransform-ff10a651.js → dataTransform-53051264.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-6909e7d0.js → editor-a9b4075d.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -22
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -18
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -21
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -21
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -21
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -27
- package/build/esm/{fixedBottomAdBlock-b63efd23.js → fixedBottomAdBlock-b6bc2fa5.js} +23 -22
- package/build/esm/footer.js +21 -20
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -17
- package/build/esm/healthToolsForm.js +34 -33
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-12af7718.js → index-0602cc6f.js} +16 -15
- package/build/esm/{index-f943a01b.js → index-080cbb99.js} +2 -2
- package/build/esm/{index-7c4dcbc7.js → index-086bf07b.js} +16 -15
- package/build/esm/{index-b6e4dbb2.js → index-09102b54.js} +17 -16
- package/build/esm/{index-94b79b35.js → index-0b18f988.js} +2 -2
- package/build/esm/{index-10fb5046.js → index-1032be3e.js} +6 -6
- package/build/esm/{index-314b686a.js → index-13917a68.js} +1 -1
- package/build/esm/{index-892c426f.js → index-18bb9a70.js} +6 -6
- package/build/esm/{index-55314570.js → index-248a3d96.js} +33 -32
- package/build/esm/{index-8c60eda3.js → index-326fea7b.js} +20 -20
- package/build/esm/{index-4b494f0e.js → index-3838dfd4.js} +16 -15
- package/build/esm/{index-7a00429d.js → index-386d3312.js} +2 -2
- package/build/esm/{index-a40af980.js → index-44d3678a.js} +13 -12
- package/build/esm/{index-114fe317.js → index-47b9dc08.js} +2 -2
- package/build/esm/{index-9d3275c8.js → index-4e01709c.js} +2 -2
- package/build/esm/{index-9e7d91aa.js → index-55461be4.js} +1 -1
- package/build/esm/{index-c51c4aeb.js → index-57c4e137.js} +1 -1
- package/build/esm/index-5c7fc8de.js +142 -0
- package/build/esm/{index-93ccc121.js → index-5eb8292f.js} +3 -3
- package/build/esm/{index-65fcc1dc.js → index-63b1732b.js} +5 -5
- package/build/esm/{index-d20eb602.js → index-671bf0ba.js} +15 -14
- package/build/esm/{index-b179dd46.js → index-686b5f66.js} +23 -29
- package/build/esm/{index-c9313df7.js → index-6c01c8f2.js} +18 -18
- package/build/esm/{index-71849106.js → index-6c01ced8.js} +3 -3
- package/build/esm/{index-43d9fcba.js → index-71355ef8.js} +2 -2
- package/build/esm/{index-74f336fe.js → index-79e75cc5.js} +1 -1
- package/build/esm/{index-52b9c6fc.js → index-7d11f27e.js} +2 -2
- package/build/esm/{index-5b65ba71.js → index-847be776.js} +6 -6
- package/build/esm/index-86313d7a.js +191 -0
- package/build/esm/{index-624352ef.js → index-86e9869b.js} +1 -1
- package/build/esm/{index-2ee180bb.js → index-8826bba5.js} +1 -1
- package/build/esm/{index-3b635660.js → index-892d969f.js} +4 -4
- package/build/esm/{index-ed37b54b.js → index-8ad1257d.js} +2 -2
- package/build/esm/{index-7b2c0418.js → index-8db926c3.js} +7 -7
- package/build/esm/{index-dcddc945.js → index-93ad9265.js} +3 -3
- package/build/esm/{index-d8d89bd5.js → index-95f32cce.js} +17 -16
- package/build/esm/{index-7f803bbb.js → index-978a4859.js} +6 -6
- package/build/esm/{index-7f38018a.js → index-9ec6210f.js} +3 -3
- package/build/esm/{index-8f488a54.js → index-a58811f6.js} +5 -5
- package/build/esm/{index-68d3b9fa.js → index-a8ece6a3.js} +18 -17
- package/build/esm/{index-ddc44db4.js → index-ab18e870.js} +1 -1
- package/build/esm/{index-936cf41b.js → index-ab3db671.js} +1 -1
- package/build/esm/{index-74816853.js → index-abdada7f.js} +17 -16
- package/build/esm/{index-6f1368ca.js → index-ac0d06cb.js} +10 -10
- package/build/esm/{index-c4b8da86.js → index-ac48621d.js} +2 -2
- package/build/esm/{index-7eefbb1a.js → index-b6571b1a.js} +27 -20
- package/build/esm/{index-a4d16a3f.js → index-bd14d483.js} +1 -1
- package/build/esm/index-c04216d2.js +13 -0
- package/build/esm/{index-a1f5112b.js → index-c6454d11.js} +15 -14
- package/build/esm/{index-43a97ca5.js → index-c6ce43d2.js} +13 -12
- package/build/esm/{index-7922ac9f.js → index-c711f78b.js} +13 -12
- package/build/esm/{index-936593e3.js → index-c84005dc.js} +2 -2
- package/build/esm/{index-a59c1d71.js → index-d648c70f.js} +17 -151
- package/build/esm/{index-9da3b609.js → index-d76e1ff9.js} +7 -7
- package/build/esm/{index-4449c671.js → index-d8355c77.js} +24 -23
- package/build/esm/{index-fd2d627a.js → index-dd75f020.js} +22 -21
- package/build/esm/{index-8f39f4b7.js → index-e5a31745.js} +13 -12
- package/build/esm/{index-6db45d83.js → index-f088ed39.js} +2 -2
- package/build/esm/{index-ed8c4ff7.js → index-f48c4a6c.js} +3 -3
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +113 -111
- package/build/esm/{index.styles-bc640fc4.js → index.styles-0eeaf156.js} +1 -1
- package/build/esm/{labelSorting-bd9768de.js → labelSorting-47719bc9.js} +4 -4
- package/build/esm/lead.js +23 -22
- package/build/esm/{logoIcon-f1e0c32d.js → logoIcon-d1ea10fb.js} +2 -2
- package/build/esm/mantine.js +25 -24
- package/build/esm/misc.js +18 -18
- package/build/esm/miscGetDynamicHealthTool.js +5 -5
- 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 +68 -67
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -15
- package/build/esm/navigation.js +41 -40
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +24 -23
- package/build/esm/onboardingV2.js +29 -28
- package/build/esm/organisms.js +45 -44
- package/build/esm/{post-17a24e02.js → post-9562cb1d.js} +2 -2
- package/build/esm/profileNavigation.js +20 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -21
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +5 -0
- package/build/esm/ssoV2.js +41 -46
- package/build/esm/store-da3cfdf1.js +35 -0
- package/build/esm/subot.js +31 -30
- package/build/esm/surveyOrPremiumBanner.js +30 -29
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-cf60ab0d.js → surveyThankyouCard-a50f448b.js} +5 -5
- package/build/esm/together/api/paths.d.ts +4 -0
- package/build/esm/together/components/molecules/profileChatbot/context.d.ts +21 -0
- package/build/esm/together/components/molecules/profileChatbot/faqs/index.d.ts +7 -0
- package/build/esm/together/components/molecules/profileChatbot/index.d.ts +45 -0
- package/build/esm/together/components/molecules/profileChatbot/types.d.ts +25 -0
- package/build/esm/together/components/molecules/profileChatbot/utils/dataTransform.d.ts +3 -0
- package/build/esm/together/components/molecules/profileChatbot/utils/types.d.ts +32 -0
- package/build/esm/together.js +52 -50
- package/build/esm/togetherApiPaths.js +4 -0
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +42 -40
- package/build/esm/togetherMoleculesCardAuthor.js +24 -24
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -37
- package/build/esm/togetherOrganisms.js +47 -45
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-4eeba42a.js → treePopoverMenu-8b081d3b.js} +19 -18
- package/build/esm/{types-e3d588ff.js → types-3d4798fa.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-2c3b2334.js → useCategory-02955394.js} +5 -5
- package/build/esm/{useHealthToolCache-1e9045f0.js → useHealthToolCache-2b8de5f4.js} +1 -1
- package/build/esm/{useMantineLocale-138605d2.js → useMantineLocale-967c48f4.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-31348dd0.js → usePlacesAutocomplete-32004999.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +4 -4
- package/build/esm/{useTranslations-506b1e8a.js → useTranslations-6ef45992.js} +1 -1
- package/build/esm/{utils-381273a5.js → utils-04fa15d1.js} +3 -3
- package/build/esm/{utils-a179f44f.js → utils-9280ec84.js} +2 -2
- package/build/esm/{utils-3603c5bc.js → utils-bb3907c9.js} +2 -2
- package/build/esm/vaccination.js +21 -20
- package/build/{fixedBottomAdBlock-efbf9dd2.js → fixedBottomAdBlock-610c4c8f.js} +23 -22
- package/build/footer.js +21 -20
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -17
- package/build/healthToolsForm.js +34 -33
- package/build/hooks.js +14 -14
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-4ebe15ad.js → index-0c14d74c.js} +14 -149
- package/build/{index-7e2edc59.js → index-16fc48d8.js} +20 -20
- package/build/index-1cb710d0.js +19 -0
- package/build/{index-e1ae0033.js → index-1faeab63.js} +13 -12
- package/build/{index-0ad25642.js → index-297e4c6c.js} +18 -18
- package/build/{index-13ea4467.js → index-2b181b08.js} +2 -2
- package/build/{index-3f56a895.js → index-31041393.js} +3 -3
- package/build/{index-dae22f6e.js → index-326cbc6d.js} +3 -3
- package/build/{index-80729ba6.js → index-34758a85.js} +3 -3
- package/build/{index-5c9e3a25.js → index-34f7e977.js} +1 -1
- package/build/{index-f32707aa.js → index-406e078f.js} +2 -2
- package/build/{index-62f19bb4.js → index-416d672e.js} +1 -1
- package/build/{index-2dd72a7b.js → index-476731dc.js} +1 -1
- package/build/{index-53bc47e2.js → index-4ae1335e.js} +1 -1
- package/build/{index-5c87d7f0.js → index-531bc84b.js} +1 -1
- package/build/{index-0c62e4f4.js → index-554ba7b0.js} +2 -2
- package/build/{index-0e775101.js → index-58c1fdcf.js} +1 -1
- package/build/{index-503e9e2b.js → index-5d01013e.js} +2 -2
- package/build/{index-720ed185.js → index-5d139c38.js} +4 -4
- package/build/{index-5e2ad3ca.js → index-5ec44f90.js} +2 -2
- package/build/{index-8c3b87e9.js → index-5f44f5dd.js} +5 -5
- package/build/{index-4b38b02b.js → index-617456fc.js} +50 -56
- package/build/{index-45c36e0b.js → index-6320c951.js} +2 -2
- package/build/{index-35c0b0ed.js → index-67fa198a.js} +15 -14
- package/build/{index-8acfc60a.js → index-6c17ab0e.js} +6 -6
- package/build/{index-6340020e.js → index-7005ee51.js} +6 -6
- package/build/{index-25979c34.js → index-7d5e538c.js} +16 -15
- package/build/index-7e8000c8.js +198 -0
- package/build/{index-b8f22146.js → index-83aa4d7a.js} +17 -16
- package/build/{index-801f2111.js → index-8b08e2e1.js} +5 -5
- package/build/{index-91cf7336.js → index-8e908b08.js} +17 -16
- package/build/{index-ead610d7.js → index-9e9a1016.js} +24 -23
- package/build/{index-4127562a.js → index-a472cc9a.js} +6 -6
- package/build/{index-b9d46c34.js → index-aa02ccbc.js} +2 -2
- package/build/{index-4d8798d2.js → index-af6cd4a9.js} +1 -1
- package/build/{index-82bf4c12.js → index-af862fc8.js} +22 -21
- package/build/{index-75e3e8f9.js → index-b111712a.js} +15 -14
- package/build/{index-8a74a531.js → index-b2fe9e73.js} +3 -3
- package/build/{index-23abd972.js → index-b3f2f945.js} +10 -10
- package/build/{index-d088255c.js → index-bbe2cc0e.js} +7 -7
- package/build/{index-6fdb507b.js → index-bc2b7a72.js} +2 -2
- package/build/{index-30b9de82.js → index-bc654c3a.js} +16 -15
- package/build/{index-37c23439.js → index-bec59a9e.js} +7 -7
- package/build/{index-29262f44.js → index-c1a34909.js} +33 -32
- package/build/{index-f7e46b57.js → index-cb93f66b.js} +13 -12
- package/build/{index-099c5a21.js → index-ce30d490.js} +27 -20
- package/build/{index-e2489919.js → index-cf02f98f.js} +1 -1
- package/build/{index-25b09d1d.js → index-cf937a47.js} +6 -6
- package/build/{index-c0d31223.js → index-cfb9d863.js} +17 -16
- package/build/{index-95e01184.js → index-d79c338d.js} +16 -15
- package/build/{index-01e8a553.js → index-d8237130.js} +18 -17
- package/build/{index-e707b9c6.js → index-d91c6ad4.js} +2 -2
- package/build/{index-b1689ccf.js → index-ea3f9ab8.js} +13 -12
- package/build/{index-2beb5402.js → index-ec9510d0.js} +1 -1
- package/build/index-edaa5b05.js +148 -0
- package/build/{index-635b9858.js → index-f459d500.js} +2 -2
- package/build/{index-779d8d27.js → index-f7b52846.js} +2 -2
- package/build/{index-dadc7e74.js → index-f9771425.js} +3 -3
- package/build/{index-f35813d2.js → index-f998854d.js} +13 -12
- package/build/index.css +1 -1
- package/build/index.js +113 -111
- package/build/{index.styles-d39537da.js → index.styles-84553e48.js} +1 -1
- package/build/{labelSorting-de5a16c3.js → labelSorting-e89dcc77.js} +4 -4
- package/build/lead.js +23 -22
- package/build/{logoIcon-2bda0e68.js → logoIcon-2606e978.js} +2 -2
- package/build/mantine.js +22 -21
- package/build/misc.js +18 -18
- package/build/miscGetDynamicHealthTool.js +5 -5
- 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 +68 -67
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -15
- package/build/navigation.js +41 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +24 -23
- package/build/onboardingV2.js +28 -27
- package/build/organisms.js +45 -44
- package/build/{post-91d84ba9.js → post-b7b1f07b.js} +2 -2
- package/build/profileNavigation.js +20 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -21
- package/build/ssoV2/ssoStateManager/store.d.ts +5 -0
- package/build/ssoV2.js +40 -45
- package/build/store-cbaf75ba.js +37 -0
- package/build/subot.js +30 -29
- package/build/surveyOrPremiumBanner.js +30 -29
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-a2eaafa5.js → surveyThankyouCard-bfdbb130.js} +5 -5
- package/build/together/api/paths.d.ts +4 -0
- package/build/together/components/molecules/profileChatbot/context.d.ts +21 -0
- package/build/together/components/molecules/profileChatbot/faqs/index.d.ts +7 -0
- package/build/together/components/molecules/profileChatbot/index.d.ts +45 -0
- package/build/together/components/molecules/profileChatbot/types.d.ts +25 -0
- package/build/together/components/molecules/profileChatbot/utils/dataTransform.d.ts +3 -0
- package/build/together/components/molecules/profileChatbot/utils/types.d.ts +32 -0
- package/build/together.js +52 -50
- package/build/togetherApiPaths.js +4 -0
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +42 -40
- package/build/togetherMoleculesCardAuthor.js +24 -24
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -37
- package/build/togetherOrganisms.js +47 -45
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-ccd87f7e.js → treePopoverMenu-68380909.js} +19 -18
- package/build/{types-ce56fd42.js → types-36f1de78.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-0cb280b6.js → useCategory-966782d2.js} +5 -5
- package/build/{useHealthToolCache-229243b5.js → useHealthToolCache-dde35f50.js} +1 -1
- package/build/{useMantineLocale-b4ba3bc3.js → useMantineLocale-8960e1f4.js} +5 -5
- package/build/{usePlacesAutocomplete-cfacf22c.js → usePlacesAutocomplete-75b4c4f3.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +4 -4
- package/build/{useTranslations-694aad5a.js → useTranslations-935ee7c1.js} +1 -1
- package/build/{utils-afb25011.js → utils-16695af3.js} +3 -3
- package/build/{utils-e0df5eea.js → utils-3f0b9f8d.js} +2 -2
- package/build/{utils-5129b847.js → utils-64c7130c.js} +2 -2
- package/build/vaccination.js +21 -20
- package/package.json +1 -1
- package/build/esm/store-7de711e3.js +0 -16
- package/build/store-0a9797e9.js +0 -18
- /package/build/{BMI_BOYS.percentile.monthly-dc05d890.js → BMI_BOYS.percentile.monthly-dec4786d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-c68b2185.js → BMI_BOYS.percentile.weekly-920d2cfa.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-57404449.js → BMI_BOYS.percentile.yearly-6473d828.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b487d5ac.js → BMI_BOYS.zscore.monthly-ab222e1e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-66f5a57a.js → BMI_BOYS.zscore.weekly-fc84f80f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b48d98f0.js → BMI_BOYS.zscore.yearly-42e13189.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-ba5ee442.js → BMI_GIRLS.percentile.monthly-3c139482.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-606a40a4.js → BMI_GIRLS.percentile.weekly-f2c718b0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-ce7c5597.js → BMI_GIRLS.percentile.yearly-b9f95648.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ca90252d.js → BMI_GIRLS.zscore.monthly-d7a1b51d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-8474946e.js → BMI_GIRLS.zscore.weekly-20798375.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4acd78f3.js → BMI_GIRLS.zscore.yearly-40a9c735.js} +0 -0
- /package/build/{ChevronDown-6fcafa1a.js → ChevronDown-887ed2a5.js} +0 -0
- /package/build/{Close-f26589f0.js → Close-32e2bbc5.js} +0 -0
- /package/build/{Google-cebfc94d.js → Google-ea644826.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0f25f1e3.js → HEAD CIRCUM_BOYS.percentile.monthly-8d70dcd7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-89f52261.js → HEAD CIRCUM_BOYS.percentile.weekly-1ef9a145.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ae32711b.js → HEAD CIRCUM_BOYS.percentile.yearly-479eb1a1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e4104341.js → HEAD CIRCUM_BOYS.zscore.monthly-abe80d21.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-185bccd3.js → HEAD CIRCUM_BOYS.zscore.weekly-9f9b9d79.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bff73357.js → HEAD CIRCUM_BOYS.zscore.yearly-6bd63cf5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-120e6afb.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c141b49.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9b08e1d1.js → HEAD CIRCUM_GIRLS.percentile.weekly-e60131dd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e5c376b9.js → HEAD CIRCUM_GIRLS.percentile.yearly-e0233d4a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-bbd0992d.js → HEAD CIRCUM_GIRLS.zscore.monthly-e96881b7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-5dba050c.js → HEAD CIRCUM_GIRLS.zscore.weekly-d4403d55.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-c404b405.js → HEAD CIRCUM_GIRLS.zscore.yearly-096cf1a1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-9a7227fc.js → HEIGHT_BOYS.percentile.monthly-7db284bc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-fe3e0529.js → HEIGHT_BOYS.percentile.weekly-b1538b39.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-87663b4a.js → HEIGHT_BOYS.percentile.yearly-318c039c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ce228f90.js → HEIGHT_BOYS.zscore.monthly-949d5ba1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-590b9533.js → HEIGHT_BOYS.zscore.weekly-2d59eb79.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a50c0269.js → HEIGHT_BOYS.zscore.yearly-c36dbd90.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-70a7224c.js → HEIGHT_GIRLS.percentile.monthly-ac4322cb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f7a9b088.js → HEIGHT_GIRLS.percentile.weekly-aa089e89.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-9fe45ad2.js → HEIGHT_GIRLS.percentile.yearly-8f3f35b4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d4522824.js → HEIGHT_GIRLS.zscore.monthly-7a64a237.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-3afbbd74.js → HEIGHT_GIRLS.zscore.weekly-de7581e3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-07edd642.js → HEIGHT_GIRLS.zscore.yearly-da1af0a9.js} +0 -0
- /package/build/{Locale-9596aa22.js → Locale-5579b977.js} +0 -0
- /package/build/{Visible-a164999c.js → Visible-c1555e32.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f36e0901.js → WEIGHT_BOYS.percentile.monthly-699c11d5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-5106e258.js → WEIGHT_BOYS.percentile.weekly-2ebd1043.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a05f02ef.js → WEIGHT_BOYS.percentile.yearly-6efe74ff.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bd3a139e.js → WEIGHT_BOYS.zscore.monthly-ebe03f50.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-26d423f0.js → WEIGHT_BOYS.zscore.weekly-5c681f0d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-e4c1a58c.js → WEIGHT_BOYS.zscore.yearly-bdc1fa72.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-758d6994.js → WEIGHT_GIRLS.percentile.monthly-f055cbda.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-ae00c4c7.js → WEIGHT_GIRLS.percentile.weekly-19c1aa57.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-876cf573.js → WEIGHT_GIRLS.percentile.yearly-35078326.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5784e7b6.js → WEIGHT_GIRLS.zscore.monthly-c5c8a3df.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e73be271.js → WEIGHT_GIRLS.zscore.weekly-f6cc0549.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f0ca9b63.js → WEIGHT_GIRLS.zscore.yearly-d42a6bcb.js} +0 -0
- /package/build/{animation-98c202ac.js → animation-5439b9ac.js} +0 -0
- /package/build/{constants-b78c9748.js → constants-8ada8125.js} +0 -0
- /package/build/{constants-b6dc5acd.js → constants-9b31686c.js} +0 -0
- /package/build/{constants-644dcef0.js → constants-aa948229.js} +0 -0
- /package/build/{dataTransform-fd69f324.js → dataTransform-80c5bdd8.js} +0 -0
- /package/build/{doctor-b0ceb8cc.js → doctor-d805f1ca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f68be9a6.js → BMI_BOYS.percentile.monthly-2bdecb05.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d117b436.js → BMI_BOYS.percentile.weekly-a57f9119.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-4c358cc7.js → BMI_BOYS.percentile.yearly-041fa684.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6ab8d044.js → BMI_BOYS.zscore.monthly-23eaf5d6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4befb98d.js → BMI_BOYS.zscore.weekly-e68113ff.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-4ac73892.js → BMI_BOYS.zscore.yearly-ae199f58.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-52357972.js → BMI_GIRLS.percentile.monthly-a4fde386.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-6566186e.js → BMI_GIRLS.percentile.weekly-02252bcd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-39742e5a.js → BMI_GIRLS.percentile.yearly-74f98f5e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f77b1545.js → BMI_GIRLS.zscore.monthly-c9569ee0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-53753e79.js → BMI_GIRLS.zscore.weekly-322bdab3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-62a5c0b6.js → BMI_GIRLS.zscore.yearly-08f40678.js} +0 -0
- /package/build/esm/{ChevronDown-69230dfc.js → ChevronDown-e035eb3d.js} +0 -0
- /package/build/esm/{Close-de085616.js → Close-50073d1c.js} +0 -0
- /package/build/esm/{Google-c98573dd.js → Google-0cb33e31.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6674cf86.js → HEAD CIRCUM_BOYS.percentile.monthly-5cb29502.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b29d0c3d.js → HEAD CIRCUM_BOYS.percentile.weekly-674a1ee1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3573815f.js → HEAD CIRCUM_BOYS.percentile.yearly-8c15e7b6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-544907da.js → HEAD CIRCUM_BOYS.zscore.monthly-b9fec30d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d047ca27.js → HEAD CIRCUM_BOYS.zscore.weekly-869103e6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1aa90c5f.js → HEAD CIRCUM_BOYS.zscore.yearly-9af473fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-63fd2d3f.js → HEAD CIRCUM_GIRLS.percentile.monthly-efaeba05.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7b3c99a3.js → HEAD CIRCUM_GIRLS.percentile.weekly-0a444b3b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-6be70664.js → HEAD CIRCUM_GIRLS.percentile.yearly-02bc559d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d7d587a1.js → HEAD CIRCUM_GIRLS.zscore.monthly-e2d672bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d2061220.js → HEAD CIRCUM_GIRLS.zscore.weekly-51ae3828.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1014bb76.js → HEAD CIRCUM_GIRLS.zscore.yearly-fd666afa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-32326304.js → HEIGHT_BOYS.percentile.monthly-39a1da88.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-86a26f90.js → HEIGHT_BOYS.percentile.weekly-ec82eaee.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f5b61e0a.js → HEIGHT_BOYS.percentile.yearly-7968cb55.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d8e6b146.js → HEIGHT_BOYS.zscore.monthly-0f073a5b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-29fe2a7f.js → HEIGHT_BOYS.zscore.weekly-1c2479b7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-01cf80c6.js → HEIGHT_BOYS.zscore.yearly-5b456878.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-3563e3a9.js → HEIGHT_GIRLS.percentile.monthly-5d357ecc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7a20ee85.js → HEIGHT_GIRLS.percentile.weekly-f31a360b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-eed43236.js → HEIGHT_GIRLS.percentile.yearly-0d0bfcf2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6a463497.js → HEIGHT_GIRLS.zscore.monthly-7ca42e58.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b8248a94.js → HEIGHT_GIRLS.zscore.weekly-c9237680.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-53b2e106.js → HEIGHT_GIRLS.zscore.yearly-035b38d9.js} +0 -0
- /package/build/esm/{Locale-cca5ad64.js → Locale-48ede17a.js} +0 -0
- /package/build/esm/{Visible-45ecf56c.js → Visible-2fd4ef47.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-67fe0528.js → WEIGHT_BOYS.percentile.monthly-47a8b3c7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-1f87ee2b.js → WEIGHT_BOYS.percentile.weekly-50e9c554.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-11cb14f1.js → WEIGHT_BOYS.percentile.yearly-be0749d6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-5ba5409d.js → WEIGHT_BOYS.zscore.monthly-48cdbb82.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-95e0fba1.js → WEIGHT_BOYS.zscore.weekly-07eac3f4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-81dc2425.js → WEIGHT_BOYS.zscore.yearly-e9297969.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0bb83b88.js → WEIGHT_GIRLS.percentile.monthly-abe73f06.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-e0ef7e13.js → WEIGHT_GIRLS.percentile.weekly-221437c6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9938c06d.js → WEIGHT_GIRLS.percentile.yearly-ad1fd2e6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a892658c.js → WEIGHT_GIRLS.zscore.monthly-b4a88399.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e6d413c1.js → WEIGHT_GIRLS.zscore.weekly-88954a4e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-18b0b933.js → WEIGHT_GIRLS.zscore.yearly-ad734cd7.js} +0 -0
- /package/build/esm/{animation-62d93b70.js → animation-054937f1.js} +0 -0
- /package/build/esm/{constants-d7ebac2a.js → constants-83e46b57.js} +0 -0
- /package/build/esm/{constants-e32af136.js → constants-8e77452b.js} +0 -0
- /package/build/esm/{constants-7b9df1b6.js → constants-b1ab0cd7.js} +0 -0
- /package/build/esm/{dataTransform-28c31d45.js → dataTransform-7800285d.js} +0 -0
- /package/build/esm/{doctor-4d6258c7.js → doctor-867d2381.js} +0 -0
- /package/build/esm/{index-1e01eada.js → index-169f027e.js} +0 -0
- /package/build/esm/{index-5a7b4bfb.js → index-22203042.js} +0 -0
- /package/build/esm/{index-c22b1b27.js → index-24607bed.js} +0 -0
- /package/build/esm/{index-a4c6ac5b.js → index-51a9ee17.js} +0 -0
- /package/build/esm/{index-8e7f6718.js → index-559e3202.js} +0 -0
- /package/build/esm/{index-2d1c4496.js → index-927ec1c9.js} +0 -0
- /package/build/esm/{index-cdad804c.js → index-ab7ea616.js} +0 -0
- /package/build/esm/{index-ef2ae2da.js → index-bf347c72.js} +0 -0
- /package/build/esm/{localizeNumberFormat-323fd6e1.js → localizeNumberFormat-23239bf2.js} +0 -0
- /package/build/esm/{normalizeLink-37a49f8d.js → normalizeLink-8d463183.js} +0 -0
- /package/build/esm/{number-08da94b3.js → number-4d56044c.js} +0 -0
- /package/build/esm/{other-b2acec5b.js → other-d212ae43.js} +0 -0
- /package/build/esm/{paths-65b3e1f2.js → paths-faf5bd8c.js} +0 -0
- /package/build/esm/{routing-9378180d.js → routing-de4396d4.js} +0 -0
- /package/build/esm/{translationsContext-1565084a.js → translationsContext-5c4cb946.js} +0 -0
- /package/build/esm/{tslib.es6-981f1873.js → tslib.es6-9108d94d.js} +0 -0
- /package/build/esm/{types-6f8365a7.js → types-cf596512.js} +0 -0
- /package/build/esm/{useIsInit-bde062d7.js → useIsInit-53ea3eb8.js} +0 -0
- /package/build/esm/{useOutsideClick-4020f647.js → useOutsideClick-bce375c0.js} +0 -0
- /package/build/esm/{useScrollbarSize-c8707a8a.js → useScrollbarSize-8c230fb4.js} +0 -0
- /package/build/esm/{useUniqueId-e7fd5f17.js → useUniqueId-ed4eb44a.js} +0 -0
- /package/build/esm/{utils-c83ff547.js → utils-8012ee88.js} +0 -0
- /package/build/{index-6e6245ca.js → index-2fb2af1f.js} +0 -0
- /package/build/{index-5c62954c.js → index-4d8ac84d.js} +0 -0
- /package/build/{index-955ad596.js → index-4f90900b.js} +0 -0
- /package/build/{index-17b32c40.js → index-8d512c1a.js} +0 -0
- /package/build/{index-af295f58.js → index-9ba2d412.js} +0 -0
- /package/build/{index-95ed86a8.js → index-c270b5f8.js} +0 -0
- /package/build/{index-99b8ed0b.js → index-e023303b.js} +0 -0
- /package/build/{index-f5f5c7e9.js → index-f4260a78.js} +0 -0
- /package/build/{localizeNumberFormat-1dd0f893.js → localizeNumberFormat-e509e224.js} +0 -0
- /package/build/{normalizeLink-264a8cce.js → normalizeLink-5c081f65.js} +0 -0
- /package/build/{number-729f5737.js → number-46ed2335.js} +0 -0
- /package/build/{other-cc745ddb.js → other-8ae54a32.js} +0 -0
- /package/build/{paths-c44110c6.js → paths-f2945c9a.js} +0 -0
- /package/build/{routing-cadf8458.js → routing-15c70def.js} +0 -0
- /package/build/{translationsContext-77859c1f.js → translationsContext-d4c8f286.js} +0 -0
- /package/build/{tslib.es6-fe710af8.js → tslib.es6-a50458ac.js} +0 -0
- /package/build/{types-81be1d6e.js → types-e07d1c87.js} +0 -0
- /package/build/{useIsInit-c954cd34.js → useIsInit-5e18d7d1.js} +0 -0
- /package/build/{useOutsideClick-6fd7830f.js → useOutsideClick-34187123.js} +0 -0
- /package/build/{useScrollbarSize-5eb878bb.js → useScrollbarSize-06c567eb.js} +0 -0
- /package/build/{useUniqueId-ba794ca9.js → useUniqueId-d23252b5.js} +0 -0
- /package/build/{utils-538d2841.js → utils-a533a646.js} +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-9108d94d.js';
|
|
2
|
+
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
+
import { ArrowLeft, ArrowRight } from '@hhgtech/icons/other';
|
|
4
|
+
import { createStyles, rem, Tabs as Tabs$1, ScrollArea } from '@mantine/core';
|
|
5
|
+
import { B as Button } from './index-ab18e870.js';
|
|
6
|
+
import { T as Text } from './index-ac48621d.js';
|
|
7
|
+
|
|
8
|
+
var useStyles = createStyles((theme, params) => {
|
|
9
|
+
const { variant } = params;
|
|
10
|
+
const gradientOverlay = {
|
|
11
|
+
content: 'none',
|
|
12
|
+
top: 0,
|
|
13
|
+
bottom: 0,
|
|
14
|
+
zIndex: 1,
|
|
15
|
+
width: rem(56),
|
|
16
|
+
};
|
|
17
|
+
return Object.assign({}, (variant === 'inline' && {
|
|
18
|
+
root: {},
|
|
19
|
+
tabsList: {
|
|
20
|
+
gap: rem(24),
|
|
21
|
+
borderBottom: 'none',
|
|
22
|
+
flexWrap: 'nowrap',
|
|
23
|
+
},
|
|
24
|
+
tab: {
|
|
25
|
+
padding: `${rem(8)} 0`,
|
|
26
|
+
color: theme.colors.gray[4],
|
|
27
|
+
borderColor: 'transparent',
|
|
28
|
+
borderBottomWidth: rem(2),
|
|
29
|
+
marginBottom: rem(-1),
|
|
30
|
+
transition: 'border 0.2s ease',
|
|
31
|
+
['&:hover']: {
|
|
32
|
+
backgroundColor: 'initial',
|
|
33
|
+
borderColor: 'transparent',
|
|
34
|
+
},
|
|
35
|
+
[`&[data-active='true']`]: {
|
|
36
|
+
color: theme.fn.primaryColor(),
|
|
37
|
+
borderColor: theme.fn.primaryColor(),
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
tabRightSection: {},
|
|
41
|
+
tabLabel: {},
|
|
42
|
+
tabIcon: {},
|
|
43
|
+
panel: {},
|
|
44
|
+
scrollArea: {
|
|
45
|
+
position: 'relative',
|
|
46
|
+
'&.prev-bg': {
|
|
47
|
+
'&:before': Object.assign(Object.assign({}, gradientOverlay), { content: '""', position: 'absolute', left: 0, background: 'linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)' }),
|
|
48
|
+
},
|
|
49
|
+
'&.next-bg': {
|
|
50
|
+
'&:after': Object.assign(Object.assign({}, gradientOverlay), { content: '""', position: 'absolute', right: 0, background: 'linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)' }),
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
list: {
|
|
54
|
+
borderBottom: `1px solid ${theme.colors.neutral[1]}`,
|
|
55
|
+
},
|
|
56
|
+
btn: {
|
|
57
|
+
position: 'absolute',
|
|
58
|
+
top: '50%',
|
|
59
|
+
zIndex: 2,
|
|
60
|
+
transform: 'translate(0, -50%)',
|
|
61
|
+
width: rem(28),
|
|
62
|
+
height: rem(28),
|
|
63
|
+
padding: 0,
|
|
64
|
+
background: 'white',
|
|
65
|
+
borderRadius: '50%',
|
|
66
|
+
cursor: 'pointer',
|
|
67
|
+
filter: 'drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))',
|
|
68
|
+
'.mantine-Button-icon': {
|
|
69
|
+
display: 'flex',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
justifyContent: 'center',
|
|
72
|
+
},
|
|
73
|
+
'&.disabled': {
|
|
74
|
+
opacity: 0,
|
|
75
|
+
zIndex: 0,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
prevBtn: {
|
|
79
|
+
left: 0,
|
|
80
|
+
},
|
|
81
|
+
nextBtn: {
|
|
82
|
+
right: 0,
|
|
83
|
+
},
|
|
84
|
+
}));
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
const _Tabs = (_a) => {
|
|
88
|
+
var _b;
|
|
89
|
+
var { variant = 'inline', value, styles, children, dataList = [], tabProps, listProps, panelProps, TabComponentDisplay, startPadding = 40, defaultValue } = _a, rest = __rest(_a, ["variant", "value", "styles", "children", "dataList", "tabProps", "listProps", "panelProps", "TabComponentDisplay", "startPadding", "defaultValue"]);
|
|
90
|
+
const { cx, classes } = useStyles({ variant }, { name: 'Tabs', styles });
|
|
91
|
+
const listRef = useRef(null);
|
|
92
|
+
const tabRef = useRef([]);
|
|
93
|
+
const [activeTab, setActiveTab] = useState(defaultValue || ((_b = dataList === null || dataList === void 0 ? void 0 : dataList[0]) === null || _b === void 0 ? void 0 : _b.value));
|
|
94
|
+
const [currentSlide, setCurrentSlide] = useState(0);
|
|
95
|
+
const [disableNext, setDisableNext] = useState(false);
|
|
96
|
+
const [disablePrevious, setDisablePrevious] = useState(true);
|
|
97
|
+
const [scrollPosition, onScrollPositionChange] = useState({ x: 0, y: 0 });
|
|
98
|
+
const viewport = useRef(null);
|
|
99
|
+
const props = Object.assign({ defaultValue, classNames: classes }, (!children
|
|
100
|
+
? {
|
|
101
|
+
value: activeTab,
|
|
102
|
+
onTabChange: (v) => setActiveTab(v),
|
|
103
|
+
}
|
|
104
|
+
: {
|
|
105
|
+
value,
|
|
106
|
+
}));
|
|
107
|
+
useEffect(() => {
|
|
108
|
+
setActiveTab(value);
|
|
109
|
+
}, [value]);
|
|
110
|
+
useEffect(() => {
|
|
111
|
+
var _a, _b, _c;
|
|
112
|
+
(_a = viewport.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
113
|
+
left: ((_c = (_b = tabRef === null || tabRef === void 0 ? void 0 : tabRef.current) === null || _b === void 0 ? void 0 : _b[currentSlide]) === null || _c === void 0 ? void 0 : _c.offsetLeft) - startPadding,
|
|
114
|
+
behavior: 'smooth',
|
|
115
|
+
});
|
|
116
|
+
}, [currentSlide]);
|
|
117
|
+
useEffect(() => {
|
|
118
|
+
setCurrentSlide(dataList.findIndex((i) => i.value == activeTab));
|
|
119
|
+
}, [activeTab]);
|
|
120
|
+
useEffect(() => {
|
|
121
|
+
var _a, _b;
|
|
122
|
+
setDisablePrevious(scrollPosition.x === 0);
|
|
123
|
+
setDisableNext(((_a = viewport === null || viewport === void 0 ? void 0 : viewport.current) === null || _a === void 0 ? void 0 : _a.clientWidth) + scrollPosition.x ===
|
|
124
|
+
((_b = viewport === null || viewport === void 0 ? void 0 : viewport.current) === null || _b === void 0 ? void 0 : _b.scrollWidth));
|
|
125
|
+
}, [scrollPosition]);
|
|
126
|
+
const TabTextComponent = ({ text, dataEventCategory, dataEventAction, dataEventLabel, }) => TabComponentDisplay ? (React__default.createElement(TabComponentDisplay, null, text)) : (React__default.createElement(Text, { size: "s3", color: "inherit", weight: "semiBold", "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-event-label": dataEventLabel }, text));
|
|
127
|
+
return (React__default.createElement(Tabs$1, Object.assign({}, props, rest), children || (React__default.createElement(React__default.Fragment, null,
|
|
128
|
+
React__default.createElement(ScrollArea, { className: cx(classes.scrollArea, `${!disablePrevious ? 'prev-bg' : ''} ${!disableNext ? 'next-bg' : ''}`), scrollbarSize: 0, viewportRef: viewport, onScrollPositionChange: onScrollPositionChange },
|
|
129
|
+
React__default.createElement(Tabs$1.List, Object.assign({ className: classes.list, ref: listRef }, listProps), dataList.map((i, idx) => (React__default.createElement(Tabs$1.Tab, Object.assign({ ref: (e) => (tabRef.current[idx] = e), className: classes.tab, key: String(i.value), value: String(i.value) }, tabProps),
|
|
130
|
+
React__default.createElement(TabTextComponent, Object.assign({}, i)))))),
|
|
131
|
+
React__default.createElement(Button, { className: cx(classes.btn, classes.prevBtn, disablePrevious ? 'disabled' : ''), unstyled: true, onClick: () => setCurrentSlide(currentSlide - 1 > -1 ? currentSlide - 1 : 0), leftIcon: React__default.createElement(ArrowLeft, { size: 16 }) }),
|
|
132
|
+
React__default.createElement(Button, { className: cx(classes.btn, classes.nextBtn, disableNext ? 'disabled' : ''), unstyled: true, onClick: () => setCurrentSlide(currentSlide + 1 < dataList.length - 1
|
|
133
|
+
? currentSlide + 1
|
|
134
|
+
: dataList.length - 1), leftIcon: React__default.createElement(ArrowRight, { size: 16 }) })),
|
|
135
|
+
dataList.map((i) => (React__default.createElement(Tabs$1.Panel, Object.assign({ value: String(i.value), key: String(i.value) }, panelProps), i.content)))))));
|
|
136
|
+
};
|
|
137
|
+
const Tabs = _Tabs;
|
|
138
|
+
Tabs.List = Tabs$1.List;
|
|
139
|
+
Tabs.Tab = Tabs$1.Tab;
|
|
140
|
+
Tabs.Panel = Tabs$1.Panel;
|
|
141
|
+
|
|
142
|
+
export { Tabs as T };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as cookie } from './index-
|
|
2
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
3
|
-
import { N as NodeIntentType } from './index-
|
|
1
|
+
import { c as cookie } from './index-559e3202.js';
|
|
2
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-c84005dc.js';
|
|
3
|
+
import { N as NodeIntentType } from './index-79e75cc5.js';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-9108d94d.js';
|
|
2
2
|
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-
|
|
4
|
+
import { H as Heading } from './index-7d11f27e.js';
|
|
5
|
+
import { T as Text } from './index-ac48621d.js';
|
|
6
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-04fa15d1.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { PATHS } from './togetherApiPaths.js';
|
|
9
|
-
import { D as DEFAULT_IMG } from './constants-
|
|
9
|
+
import { D as DEFAULT_IMG } from './constants-b1ab0cd7.js';
|
|
10
10
|
|
|
11
11
|
const StyledCardLink = styled.div `
|
|
12
12
|
.link-info-container {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-9108d94d.js';
|
|
2
2
|
import React__default, { useReducer, useState, useEffect } from 'react';
|
|
3
3
|
import { Stack, Input as Input$1 } from '@mantine/core';
|
|
4
|
-
import { I as Input, S as Select } from './index-
|
|
4
|
+
import { I as Input, S as Select } from './index-d648c70f.js';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import { C as CDN_ADDRESS } from './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import { u as useTranslations } from './useTranslations-
|
|
6
|
+
import { C as CDN_ADDRESS } from './index-c84005dc.js';
|
|
7
|
+
import './index-79e75cc5.js';
|
|
8
|
+
import './index-169f027e.js';
|
|
9
|
+
import './useMantineLocale-967c48f4.js';
|
|
10
|
+
import './index-ac48621d.js';
|
|
11
|
+
import './index-ab18e870.js';
|
|
12
|
+
import './index.styles-0eeaf156.js';
|
|
13
|
+
import { u as useTranslations } from './useTranslations-6ef45992.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
15
|
+
import './utils-8012ee88.js';
|
|
16
|
+
import './other-d212ae43.js';
|
|
17
|
+
import './index-5c7fc8de.js';
|
|
18
|
+
import { M as MAPPED_LOCALE } from './utils-9280ec84.js';
|
|
19
|
+
import { L as LOCALE } from './Locale-48ede17a.js';
|
|
19
20
|
|
|
20
21
|
const generateGetAddressDetail = (locale) => {
|
|
21
22
|
return `${CDN_ADDRESS}/cities-data-${MAPPED_LOCALE[locale]}.json`;
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-9108d94d.js';
|
|
2
2
|
import React__default, { useState, useContext, useMemo, useRef, useEffect, createContext } from 'react';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { b as formatPost, a as formatCommunity, g as formatArticle } from './dataTransform-ff10a651.js';
|
|
4
|
+
import { T as Tabs } from './index-5c7fc8de.js';
|
|
5
|
+
import { L as Loading } from './index-c04216d2.js';
|
|
6
|
+
import { b as formatPost, a as formatCommunity, g as formatArticle } from './dataTransform-53051264.js';
|
|
8
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
9
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, b as callApiWithAuth } from './utils-
|
|
8
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, b as callApiWithAuth } from './utils-04fa15d1.js';
|
|
10
9
|
import { Plus } from '@hhgtech/icons/core';
|
|
11
10
|
import { createStyles, Anchor, Accordion, Flex, useMantineTheme } from '@mantine/core';
|
|
12
|
-
import { C as CommonGAssets } from './index-
|
|
13
|
-
import { I as ImageWrap } from './index-
|
|
14
|
-
import { P as PopupExpert, d as CardAuthor, C as CardAuthor$1 } from './index-
|
|
15
|
-
import { S as SocialType } from './index-
|
|
11
|
+
import { C as CommonGAssets } from './index-169f027e.js';
|
|
12
|
+
import { I as ImageWrap } from './index-55461be4.js';
|
|
13
|
+
import { P as PopupExpert, d as CardAuthor, C as CardAuthor$1 } from './index-b6571b1a.js';
|
|
14
|
+
import { S as SocialType } from './index-79e75cc5.js';
|
|
15
|
+
import { u as useTranslations } from './useTranslations-6ef45992.js';
|
|
16
16
|
import { theme } from './miscTheme.js';
|
|
17
17
|
import { CrossLogo, ArrowDown } from '@hhgtech/icons/other';
|
|
18
|
+
import { A as Anchor$1 } from './index-d648c70f.js';
|
|
18
19
|
import '@mantine/dates';
|
|
19
|
-
import './index-
|
|
20
|
-
import './useMantineLocale-
|
|
21
|
-
import { T as Text } from './index-
|
|
22
|
-
import { B as Button
|
|
23
|
-
import './index.styles-
|
|
20
|
+
import './index-c84005dc.js';
|
|
21
|
+
import './useMantineLocale-967c48f4.js';
|
|
22
|
+
import { T as Text } from './index-ac48621d.js';
|
|
23
|
+
import { B as Button } from './index-ab18e870.js';
|
|
24
|
+
import './index.styles-0eeaf156.js';
|
|
24
25
|
import '@mantine/hooks';
|
|
25
|
-
import './utils-
|
|
26
|
-
import './other-
|
|
26
|
+
import './utils-8012ee88.js';
|
|
27
|
+
import './other-d212ae43.js';
|
|
27
28
|
import styled from '@emotion/styled';
|
|
28
29
|
import { useTogetherAuthRequiredAction } from './useTogetherAuthRequiredAction.js';
|
|
29
|
-
import { d as decodeMention, a as decodePostUrl } from './post-
|
|
30
|
-
import './
|
|
30
|
+
import { d as decodeMention, a as decodePostUrl } from './post-9562cb1d.js';
|
|
31
|
+
import { B as Button$1 } from './index-4e01709c.js';
|
|
32
|
+
import './translationsContext-5c4cb946.js';
|
|
31
33
|
import 'string-format';
|
|
32
34
|
|
|
33
35
|
const StyledPostContent = styled.div `
|
|
@@ -187,14 +189,6 @@ const PostContent = (_a) => {
|
|
|
187
189
|
: {})), t('post.seeMore'))))))));
|
|
188
190
|
};
|
|
189
191
|
|
|
190
|
-
var styles$c = {"loading":"PD6nRZX"};
|
|
191
|
-
|
|
192
|
-
const Loading = ({ className, size = 'md' }) => {
|
|
193
|
-
const { t } = useTranslations();
|
|
194
|
-
return (React__default.createElement("div", { className: `${styles$c.loading} ${className}` },
|
|
195
|
-
React__default.createElement(Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
|
|
196
|
-
};
|
|
197
|
-
|
|
198
192
|
var styles$b = {"category":"l5fL1xL","title":"L-aGKo7"};
|
|
199
193
|
|
|
200
194
|
const CategoryText = ({ children, className = '' }) => {
|
|
@@ -418,7 +412,7 @@ const PostCard$1 = ({ post, className = '' }) => {
|
|
|
418
412
|
React__default.createElement(PostContent, { className: "post-content-wrapper", description: ((_h = (_g = (_f = post === null || post === void 0 ? void 0 : post.expertAnswer) === null || _f === void 0 ? void 0 : _f.answer) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.content) || '',
|
|
419
413
|
// disableShortenContent={disableShortenContent}
|
|
420
414
|
mentions: post === null || post === void 0 ? void 0 : post.mentions, "data-testid": "Content of the Post" })),
|
|
421
|
-
React__default.createElement(Button
|
|
415
|
+
React__default.createElement(Button, { variant: "secondary", "data-event-category": "Together", "data-event-action": "Doctor Reply Click", "data-event-label": currentPageUrl, size: "md", onClick: () => {
|
|
422
416
|
if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id)) {
|
|
423
417
|
authActionWrapper === null || authActionWrapper === void 0 ? void 0 : authActionWrapper(() => (window.location.href = postHref));
|
|
424
418
|
}
|
|
@@ -439,7 +433,7 @@ const EmptyMessage = ({ message, buttonTxt, imgSrc, onBtnClick }) => {
|
|
|
439
433
|
React__default.createElement("img", { src: imgSrc ||
|
|
440
434
|
CommonGAssets.getAssetPath(isMarryBaby ? 'comments-mb.svg' : 'comments.svg'), loading: "lazy" })),
|
|
441
435
|
message && React__default.createElement("div", { className: styles$5.content }, message),
|
|
442
|
-
buttonTxt && (React__default.createElement(Button, { size: "md", theme: siteType, color: "secondary", onClick: onBtnClick }, buttonTxt))));
|
|
436
|
+
buttonTxt && (React__default.createElement(Button$1, { size: "md", theme: siteType, color: "secondary", onClick: onBtnClick }, buttonTxt))));
|
|
443
437
|
};
|
|
444
438
|
|
|
445
439
|
const Answering = ({ id }) => {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import React__default, { useState, useMemo, useContext, useEffect, createContext, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { H as Heading } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-
|
|
2
|
+
import { B as Button } from './index-4e01709c.js';
|
|
3
|
+
import { H as Heading } from './index-7d11f27e.js';
|
|
4
|
+
import { T as Text } from './index-ac48621d.js';
|
|
5
|
+
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-8012ee88.js';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
|
-
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext, c as callApi } from './utils-
|
|
7
|
+
import { b as callApiWithAuth, d as getApiPath, T as TogetherComponentGlobalContext, c as callApi } from './utils-04fa15d1.js';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
9
|
import { theme } from './miscTheme.js';
|
|
10
|
-
import { a as __awaiter } from './tslib.es6-
|
|
11
|
-
import { I as Input } from './index-
|
|
12
|
-
import { u as useTranslations } from './useTranslations-
|
|
13
|
-
import { e as formatComment } from './dataTransform-
|
|
14
|
-
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG, D as DEFAULT_IMG } from './constants-
|
|
10
|
+
import { a as __awaiter } from './tslib.es6-9108d94d.js';
|
|
11
|
+
import { I as Input } from './index-71355ef8.js';
|
|
12
|
+
import { u as useTranslations } from './useTranslations-6ef45992.js';
|
|
13
|
+
import { e as formatComment } from './dataTransform-53051264.js';
|
|
14
|
+
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG, D as DEFAULT_IMG } from './constants-b1ab0cd7.js';
|
|
15
15
|
import { PATHS } from './togetherApiPaths.js';
|
|
16
|
-
import { r as removeBannedWordWrapper, g as getMentionIdsFromString, e as encodePostContent, u as uploadAndGetSrc, y as youtubeVidIdGetter } from './post-
|
|
17
|
-
import { C as CardLink } from './index-
|
|
18
|
-
import { L as Loading } from './index-
|
|
19
|
-
import { U as UserAvatar } from './index-
|
|
20
|
-
import { R as RichTextEditor } from './editor-
|
|
16
|
+
import { r as removeBannedWordWrapper, g as getMentionIdsFromString, e as encodePostContent, u as uploadAndGetSrc, y as youtubeVidIdGetter } from './post-9562cb1d.js';
|
|
17
|
+
import { C as CardLink } from './index-63b1732b.js';
|
|
18
|
+
import { L as Loading } from './index-b6571b1a.js';
|
|
19
|
+
import { U as UserAvatar } from './index-f088ed39.js';
|
|
20
|
+
import { R as RichTextEditor } from './editor-a9b4075d.js';
|
|
21
21
|
import { Portal, useMantineTheme } from '@mantine/core';
|
|
22
22
|
import { FullScreen } from '@hhgtech/icons/other';
|
|
23
|
-
import { P as Popup } from './index-
|
|
24
|
-
import { C as CloseIcon } from './index-
|
|
23
|
+
import { P as Popup } from './index-86e9869b.js';
|
|
24
|
+
import { C as CloseIcon } from './index-847be776.js';
|
|
25
25
|
import { ShareBox } from './togetherShareBox.js';
|
|
26
|
-
import { I as ImageWrap } from './index-
|
|
26
|
+
import { I as ImageWrap } from './index-55461be4.js';
|
|
27
27
|
|
|
28
28
|
const getDefaultFailNoti = (t) => ({
|
|
29
29
|
message: t('notification.failure'),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-d648c70f.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { T as Text } from './index-ac48621d.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-169f027e.js';
|
|
7
7
|
|
|
8
8
|
const ALLOW_DOMAIN_URL = [
|
|
9
9
|
'hellobacsi.com',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-9108d94d.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
+
import { M as MediaQueries } from './utils-8012ee88.js';
|
|
7
7
|
|
|
8
8
|
const StyledInput = styled.div `
|
|
9
9
|
position: relative;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-9108d94d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
4
|
+
import { T as Text } from './index-ac48621d.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Consider to use import { Title } from '@mantine/core'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useContext, useRef } from 'react';
|
|
2
|
-
import { H as Heading } from './index-
|
|
3
|
-
import { M as MediaQueries, t as toggleNoScroll } from './utils-
|
|
4
|
-
import { u as useTranslations } from './useTranslations-
|
|
5
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
2
|
+
import { H as Heading } from './index-7d11f27e.js';
|
|
3
|
+
import { M as MediaQueries, t as toggleNoScroll } from './utils-8012ee88.js';
|
|
4
|
+
import { u as useTranslations } from './useTranslations-6ef45992.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext } from './utils-04fa15d1.js';
|
|
6
6
|
import { Portal } from '@mantine/core';
|
|
7
|
-
import { T as Text } from './index-
|
|
7
|
+
import { T as Text } from './index-ac48621d.js';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
|
-
import { _ as __rest } from './tslib.es6-
|
|
9
|
+
import { _ as __rest } from './tslib.es6-9108d94d.js';
|
|
10
10
|
import { theme } from './miscTheme.js';
|
|
11
11
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
12
12
|
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-9108d94d.js';
|
|
2
|
+
import React__default, { createContext, useState, useContext, useEffect } from 'react';
|
|
3
|
+
import { T as Tabs } from './index-5c7fc8de.js';
|
|
4
|
+
import { L as Loading } from './index-c04216d2.js';
|
|
5
|
+
import { g as formatArticle } from './dataTransform-53051264.js';
|
|
6
|
+
import { PATHS } from './togetherApiPaths.js';
|
|
7
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-04fa15d1.js';
|
|
8
|
+
import { Minus, Plus } from '@hhgtech/icons/core';
|
|
9
|
+
import { Collapse, Text } from '@mantine/core';
|
|
10
|
+
import { C as CardAuthor } from './index-b6571b1a.js';
|
|
11
|
+
import '@hhgtech/icons/other';
|
|
12
|
+
import './index-ab18e870.js';
|
|
13
|
+
import './index-ac48621d.js';
|
|
14
|
+
import './other-d212ae43.js';
|
|
15
|
+
import './useTranslations-6ef45992.js';
|
|
16
|
+
import './translationsContext-5c4cb946.js';
|
|
17
|
+
import 'string-format';
|
|
18
|
+
import './index-4e01709c.js';
|
|
19
|
+
import './index-559e3202.js';
|
|
20
|
+
import './miscCookieHelper.js';
|
|
21
|
+
import 'slugify';
|
|
22
|
+
import './constantsIsProduction.js';
|
|
23
|
+
import './constants-b1ab0cd7.js';
|
|
24
|
+
import 'dayjs';
|
|
25
|
+
import 'dayjs/plugin/relativeTime';
|
|
26
|
+
import './utils-8012ee88.js';
|
|
27
|
+
import './index-8db926c3.js';
|
|
28
|
+
import './paths-faf5bd8c.js';
|
|
29
|
+
import './constants-8e77452b.js';
|
|
30
|
+
import './index-c84005dc.js';
|
|
31
|
+
import 'date-fns/locale';
|
|
32
|
+
import './index-79e75cc5.js';
|
|
33
|
+
import './Locale-48ede17a.js';
|
|
34
|
+
import './constantsSite.js';
|
|
35
|
+
import './constantsDomainLocales.js';
|
|
36
|
+
import './constantsRiskScreener.js';
|
|
37
|
+
import './index-f088ed39.js';
|
|
38
|
+
import '@emotion/styled';
|
|
39
|
+
import './miscTheme.js';
|
|
40
|
+
import './index.styles-0eeaf156.js';
|
|
41
|
+
import './index-169f027e.js';
|
|
42
|
+
import './index-55461be4.js';
|
|
43
|
+
import '@emotion/react';
|
|
44
|
+
import './index-7d11f27e.js';
|
|
45
|
+
import './index-386d3312.js';
|
|
46
|
+
|
|
47
|
+
const ProfileDetailContext = createContext({});
|
|
48
|
+
|
|
49
|
+
var styles$1 = {"container":"_0NhMo6T","faq":"nrZtZ-u"};
|
|
50
|
+
|
|
51
|
+
const Faqs = ({ faqs }) => {
|
|
52
|
+
const [collapseSelected, setCollapseSelected] = useState([]);
|
|
53
|
+
const handleClick = (index) => {
|
|
54
|
+
if (collapseSelected.includes(index)) {
|
|
55
|
+
const newCollapseSelected = collapseSelected.filter((item) => item !== index);
|
|
56
|
+
setCollapseSelected(newCollapseSelected);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
setCollapseSelected((pre) => {
|
|
60
|
+
return [...pre, index];
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
return (React__default.createElement("div", { className: styles$1.container }, faqs.map((faq, index) => {
|
|
65
|
+
const collapsed = collapseSelected.includes(index);
|
|
66
|
+
return (React__default.createElement("div", { className: styles$1.faq, key: index },
|
|
67
|
+
React__default.createElement("div", { className: "faq-item", onClick: () => handleClick(index) },
|
|
68
|
+
React__default.createElement("div", { className: "faq-question" }, faq.question),
|
|
69
|
+
collapsed ? React__default.createElement(Minus, null) : React__default.createElement(Plus, null)),
|
|
70
|
+
React__default.createElement(Collapse, { in: collapsed, className: "faq-answer" },
|
|
71
|
+
React__default.createElement(Text, null, faq.answer))));
|
|
72
|
+
})));
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
var styles = {"container":"_2ugC2Ll","info":"_8IDDHjn","body":"CCwRHCd","description":"RF63WXG"};
|
|
76
|
+
|
|
77
|
+
const formatExperience = (data) => {
|
|
78
|
+
if (!data)
|
|
79
|
+
return {};
|
|
80
|
+
return {
|
|
81
|
+
title: data === null || data === void 0 ? void 0 : data.title,
|
|
82
|
+
organization: data === null || data === void 0 ? void 0 : data.organization,
|
|
83
|
+
duration: data.duration,
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
const formatEducation = (data) => {
|
|
87
|
+
if (!data)
|
|
88
|
+
return {};
|
|
89
|
+
return {
|
|
90
|
+
completedYear: data === null || data === void 0 ? void 0 : data.completed_year,
|
|
91
|
+
schoolName: data.school_name,
|
|
92
|
+
study: data.study,
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
var TabName;
|
|
97
|
+
(function (TabName) {
|
|
98
|
+
TabName[TabName["About"] = 0] = "About";
|
|
99
|
+
TabName[TabName["Care"] = 1] = "Care";
|
|
100
|
+
TabName[TabName["Answer"] = 2] = "Answer";
|
|
101
|
+
TabName[TabName["Posts"] = 3] = "Posts";
|
|
102
|
+
})(TabName || (TabName = {}));
|
|
103
|
+
var UserType;
|
|
104
|
+
(function (UserType) {
|
|
105
|
+
UserType[UserType["Expert"] = 0] = "Expert";
|
|
106
|
+
UserType[UserType["User"] = 1] = "User";
|
|
107
|
+
})(UserType || (UserType = {}));
|
|
108
|
+
const TabDataInit = {
|
|
109
|
+
experiences: [],
|
|
110
|
+
relatedPosts: [],
|
|
111
|
+
educations: [],
|
|
112
|
+
awards: [],
|
|
113
|
+
contact: {},
|
|
114
|
+
data: {},
|
|
115
|
+
};
|
|
116
|
+
const ProfileChatbot = (_a) => {
|
|
117
|
+
var { authorProps, authActionWrapper, onSkipQuestion, onCloseFromPost, showSkipQuestionTag, currentPageUrl } = _a, rest = __rest(_a, ["authorProps", "authActionWrapper", "onSkipQuestion", "onCloseFromPost", "showSkipQuestionTag", "currentPageUrl"]);
|
|
118
|
+
const { data: { locale, userInfo, env: { isMarryBaby }, }, } = useContext(TogetherComponentGlobalContext);
|
|
119
|
+
const id = String(authorProps === null || authorProps === void 0 ? void 0 : authorProps.userId);
|
|
120
|
+
const [countValues, setCountValues] = useState();
|
|
121
|
+
const [loading, setLoading] = useState(false);
|
|
122
|
+
const [info, setInfo] = useState();
|
|
123
|
+
const [faqs, setFaqs] = useState([]);
|
|
124
|
+
const [description, setDescription] = useState('');
|
|
125
|
+
const isAuthorLogin = (userInfo === null || userInfo === void 0 ? void 0 : userInfo._togetherUserId) === (authorProps === null || authorProps === void 0 ? void 0 : authorProps.userId);
|
|
126
|
+
const [activeTab, setActiveTab] = useState(1);
|
|
127
|
+
const tabsProps = {
|
|
128
|
+
value: String(activeTab),
|
|
129
|
+
dataList: [
|
|
130
|
+
{
|
|
131
|
+
value: '1',
|
|
132
|
+
text: 'FAQs',
|
|
133
|
+
content: React__default.createElement(Faqs, { faqs: faqs }),
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
onTabChange: (n) => setActiveTab(Number(n)),
|
|
137
|
+
};
|
|
138
|
+
useEffect(() => {
|
|
139
|
+
(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
140
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
141
|
+
setLoading(true);
|
|
142
|
+
const res = yield Promise.all([
|
|
143
|
+
callApi(getApiPath(PATHS.USER.DETAIL, {
|
|
144
|
+
_locale: locale,
|
|
145
|
+
id,
|
|
146
|
+
}), 'GET'),
|
|
147
|
+
callApi(getApiPath(PATHS.CHATBOT.PROFILE, {
|
|
148
|
+
_locale: locale,
|
|
149
|
+
}), 'GET'),
|
|
150
|
+
callApi(getApiPath(PATHS.CHATBOT.FAQS_LIST, {
|
|
151
|
+
_locale: locale,
|
|
152
|
+
}), 'GET'),
|
|
153
|
+
]);
|
|
154
|
+
const [restDetail, profileRes, faqsRes] = res;
|
|
155
|
+
const resInfo = {
|
|
156
|
+
data: restDetail === null || restDetail === void 0 ? void 0 : restDetail.data,
|
|
157
|
+
experiences: (((_b = (_a = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _a === void 0 ? void 0 : _a.fields) === null || _b === void 0 ? void 0 : _b.experiences) || []).map(formatExperience),
|
|
158
|
+
relatedPosts: (((_c = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _c === void 0 ? void 0 : _c.related_post) || []).map((i) => formatArticle(i.post)),
|
|
159
|
+
educations: (((_e = (_d = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _d === void 0 ? void 0 : _d.fields) === null || _e === void 0 ? void 0 : _e.educations) || []).map(formatEducation),
|
|
160
|
+
awards: ((_g = (_f = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _f === void 0 ? void 0 : _f.fields) === null || _g === void 0 ? void 0 : _g.awards_accreditations) || [],
|
|
161
|
+
contact: ((_j = (_h = restDetail === null || restDetail === void 0 ? void 0 : restDetail.data) === null || _h === void 0 ? void 0 : _h.fields) === null || _j === void 0 ? void 0 : _j.contact) || {},
|
|
162
|
+
};
|
|
163
|
+
(restDetail === null || restDetail === void 0 ? void 0 : restDetail.status) === 1 && setInfo(resInfo);
|
|
164
|
+
setFaqs(((_k = faqsRes === null || faqsRes === void 0 ? void 0 : faqsRes.data) === null || _k === void 0 ? void 0 : _k.faqs) || []);
|
|
165
|
+
setDescription(((_l = profileRes === null || profileRes === void 0 ? void 0 : profileRes.data) === null || _l === void 0 ? void 0 : _l.description) || '');
|
|
166
|
+
setLoading(false);
|
|
167
|
+
}))();
|
|
168
|
+
}, []);
|
|
169
|
+
return (React__default.createElement(ProfileDetailContext.Provider, { value: {
|
|
170
|
+
isMarryBaby,
|
|
171
|
+
siteType: isMarryBaby ? 'marryBaby' : 'helloSites',
|
|
172
|
+
authorId: String((authorProps === null || authorProps === void 0 ? void 0 : authorProps.userId) || ''),
|
|
173
|
+
authActionWrapper,
|
|
174
|
+
onSkipQuestion,
|
|
175
|
+
info,
|
|
176
|
+
authorProps,
|
|
177
|
+
onCloseFromPost,
|
|
178
|
+
countValues,
|
|
179
|
+
setCountValues,
|
|
180
|
+
isAuthorLogin,
|
|
181
|
+
showSkipQuestionTag,
|
|
182
|
+
currentPageUrl,
|
|
183
|
+
} },
|
|
184
|
+
React__default.createElement("div", Object.assign({}, rest, { className: `${styles.container} ${(rest === null || rest === void 0 ? void 0 : rest.className) || ''}`, "data-is-marrybaby": isMarryBaby }), loading ? (React__default.createElement(Loading, null)) : (React__default.createElement(React__default.Fragment, null,
|
|
185
|
+
React__default.createElement(CardAuthor, Object.assign({}, authorProps, { className: "card-author", showDetailPopup: false })),
|
|
186
|
+
React__default.createElement("div", { className: styles.description, dangerouslySetInnerHTML: { __html: description } }),
|
|
187
|
+
React__default.createElement("div", { className: styles.body },
|
|
188
|
+
React__default.createElement(Tabs, Object.assign({}, tabsProps))))))));
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export { ProfileChatbot, TabDataInit, TabName, UserType };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-8012ee88.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-9108d94d.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 './useTranslations-
|
|
4
|
+
import { T as Text } from './index-ac48621d.js';
|
|
5
|
+
import { B as Button } from './index-ab18e870.js';
|
|
6
|
+
import { u as useTranslations } from './useTranslations-6ef45992.js';
|
|
7
7
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|