@hhgtech/hhg-components 1.21.4 → 1.21.6
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/babyGrowth.js +1 -1
- package/build/cache/core.d.ts +1 -1
- package/build/cache.js +1 -1
- package/build/care/components/atoms/icons/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/reducer.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/types.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBar/useAnimatedPlaceholder.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +1 -1
- package/build/care/interfaces/types.d.ts +21 -21
- package/build/care.js +1 -1
- package/build/components/atoms/alert/index.d.ts +1 -1
- package/build/components/atoms/avatar/index.d.ts +2 -2
- package/build/components/atoms/avatar/index.styled.d.ts +1 -1
- package/build/components/atoms/babyGrowthChart/index.d.ts +2 -2
- package/build/components/atoms/babyGrowthGender/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthLegend/index.d.ts +2 -2
- package/build/components/atoms/babyGrowthProfileRadio/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthRecord/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthSwitch/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthTooltip/index.d.ts +2 -2
- package/build/components/atoms/backdrop/index.d.ts +1 -1
- package/build/components/atoms/badge/index.d.ts +4 -4
- package/build/components/atoms/badge/index.styled.d.ts +1 -1
- package/build/components/atoms/borderHeading/index.d.ts +1 -1
- package/build/components/atoms/button/index.d.ts +1 -1
- package/build/components/atoms/button/index.styled.d.ts +1 -1
- package/build/components/atoms/checkbox/index.d.ts +1 -1
- package/build/components/atoms/container/index.d.ts +1 -1
- package/build/components/atoms/displayWrapper/index.d.ts +1 -1
- package/build/components/atoms/divider/index.d.ts +2 -2
- package/build/components/atoms/drawer/index.d.ts +2 -2
- package/build/components/atoms/fileDropdown/index.d.ts +2 -2
- package/build/components/atoms/flag/icons/cambodia.d.ts +1 -1
- package/build/components/atoms/flag/icons/english.d.ts +1 -1
- package/build/components/atoms/flag/icons/india.d.ts +1 -1
- package/build/components/atoms/flag/icons/indonesia.d.ts +1 -1
- package/build/components/atoms/flag/icons/malaysia.d.ts +1 -1
- package/build/components/atoms/flag/icons/myanmar.d.ts +1 -1
- package/build/components/atoms/flag/icons/philippines.d.ts +1 -1
- package/build/components/atoms/flag/icons/taiwan.d.ts +1 -1
- package/build/components/atoms/flag/icons/thailand.d.ts +1 -1
- package/build/components/atoms/flag/icons/vietnam.d.ts +1 -1
- package/build/components/atoms/flag/index.d.ts +3 -3
- package/build/components/atoms/grid/index.d.ts +1 -1
- package/build/components/atoms/heading/index.d.ts +1 -1
- package/build/components/atoms/heading/index.styled.d.ts +1 -1
- package/build/components/atoms/icons/index.d.ts +1 -1
- package/build/components/atoms/input/index.d.ts +1 -1
- package/build/components/atoms/label/index.d.ts +1 -1
- package/build/components/atoms/logo/index.d.ts +2 -2
- package/build/components/atoms/marryBabyText/index.d.ts +2 -2
- package/build/components/atoms/menu/index.d.ts +1 -1
- package/build/components/atoms/menu/item.d.ts +1 -1
- package/build/components/atoms/newBabyProfileRadio/index.d.ts +1 -1
- package/build/components/atoms/pagination/index.d.ts +1 -1
- package/build/components/atoms/progress/index.d.ts +1 -1
- package/build/components/atoms/pureInput/index.d.ts +2 -2
- package/build/components/atoms/radio/index.d.ts +1 -1
- package/build/components/atoms/radioImageGroup/index.d.ts +1 -1
- package/build/components/atoms/rateStars/index.d.ts +1 -1
- package/build/components/atoms/shadow/index.d.ts +1 -1
- package/build/components/atoms/slider/index.d.ts +1 -1
- package/build/components/atoms/tag/index.d.ts +1 -1
- package/build/components/atoms/tag/index.styled.d.ts +1 -1
- package/build/components/atoms/text/index.d.ts +3 -3
- package/build/components/atoms/text/index.styled.d.ts +1 -1
- package/build/components/atoms/textArea/index.d.ts +1 -1
- package/build/components/atoms/textDivider/index.d.ts +1 -1
- package/build/components/atoms/toggle/index.d.ts +1 -1
- package/build/components/atoms/underlinedLink/index.d.ts +1 -1
- package/build/components/atoms/uploader/index.d.ts +1 -1
- package/build/components/mantine/carousel/index.d.ts +1 -1
- package/build/components/mantine/checkbox/index.d.ts +1 -1
- package/build/components/mantine/datepicker/index.d.ts +2 -2
- package/build/components/mantine/datepicker/range.d.ts +1 -1
- package/build/components/mantine/input/file.d.ts +1 -1
- package/build/components/mantine/input/index.d.ts +1 -1
- package/build/components/mantine/input/number.d.ts +1 -1
- package/build/components/mantine/input/password.d.ts +1 -1
- package/build/components/mantine/loadingOverlay/index.d.ts +1 -1
- package/build/components/mantine/radio/index.d.ts +1 -1
- package/build/components/mantine/select/index.d.ts +1 -1
- package/build/components/mantine/slider/index.d.ts +1 -1
- package/build/components/molecules/ampNextPage/index.d.ts +2 -2
- package/build/components/molecules/articleCard/index.d.ts +1 -1
- package/build/components/molecules/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/components/molecules/breadcrumbs/index.d.ts +3 -3
- package/build/components/molecules/carousel/index.d.ts +1 -1
- package/build/components/molecules/carousel/index.styled.d.ts +1 -1
- package/build/components/molecules/categoryCard/index.d.ts +1 -1
- package/build/components/molecules/checkboxGroup/index.d.ts +1 -1
- package/build/components/molecules/childCard/index.d.ts +1 -1
- package/build/components/molecules/childCard/menu.d.ts +1 -1
- package/build/components/molecules/cookieAcceptConfirm/index.d.ts +1 -1
- package/build/components/molecules/datePicker/index.d.ts +2 -2
- package/build/components/molecules/dateRangePicker/calendar/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/types.d.ts +1 -1
- package/build/components/molecules/doctorInfo/index.d.ts +1 -1
- package/build/components/molecules/dropdown/index.d.ts +2 -2
- package/build/components/molecules/dropdownSearch/index.d.ts +2 -2
- package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/index.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/dueDate.d.ts +4 -4
- package/build/components/molecules/embeddedHeathToolCards/ovulation.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/pwg.d.ts +2 -2
- package/build/components/molecules/floatButtonGroup/index.d.ts +2 -2
- package/build/components/molecules/iconText/index.d.ts +1 -1
- package/build/components/molecules/languageSwitcher/index.d.ts +1 -1
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +2 -2
- package/build/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +1 -1
- package/build/components/molecules/mobileBottomNavigation/index.d.ts +1 -1
- package/build/components/molecules/modal/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +1 -1
- package/build/components/molecules/popup/index.d.ts +1 -1
- package/build/components/molecules/progressBar/index.d.ts +1 -1
- package/build/components/molecules/radioGroup/index.d.ts +3 -3
- package/build/components/molecules/scrollList/index.d.ts +3 -3
- package/build/components/molecules/seoHead/index.d.ts +2 -2
- package/build/components/molecules/shareContainer/index.d.ts +1 -1
- package/build/components/molecules/shareDrawer/index.d.ts +1 -1
- package/build/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/components/molecules/sidemenu/sideHeader.d.ts +1 -1
- package/build/components/molecules/sidemenu/sideMenu.d.ts +1 -1
- package/build/components/molecules/sidemenu/userInfo.d.ts +1 -1
- package/build/components/molecules/starsRatingBox/index.d.ts +2 -2
- package/build/components/molecules/statisticCard/index.d.ts +1 -1
- package/build/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +4 -4
- package/build/components/molecules/surveyQuestionCard/surveyRadio.d.ts +1 -1
- package/build/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +1 -1
- package/build/components/molecules/table/table.d.ts +1 -1
- package/build/components/molecules/table/tableBody.d.ts +1 -1
- package/build/components/molecules/table/tableCell.d.ts +1 -1
- package/build/components/molecules/table/tableHead.d.ts +1 -1
- package/build/components/molecules/table/tableRow.d.ts +1 -1
- package/build/components/molecules/tabs/index.d.ts +2 -2
- package/build/components/molecules/toolBannerCard/index.d.ts +1 -1
- package/build/components/molecules/weightGainForm/index.d.ts +1 -1
- package/build/components/organisms/footer/discoverFooter/index.d.ts +1 -1
- package/build/components/organisms/footer/index.d.ts +3 -3
- package/build/components/organisms/footer/maryBabyFooter/index.d.ts +1 -1
- package/build/components/organisms/heroBannerHealthTool/healthToolBanner.d.ts +1 -1
- package/build/components/organisms/heroBannerHealthTool/index.d.ts +1 -1
- package/build/components/organisms/navigationBookingButton/index.d.ts +1 -1
- package/build/components/organisms/navigationLogoutPopup/index.d.ts +1 -1
- package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/index.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/popupWrapper.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/ItemNav/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/hooks/useNavConfig.d.ts +1 -1
- package/build/components/organisms/navigationV2/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/navigationContext.d.ts +1 -1
- package/build/components/organisms/navigationV2/types.d.ts +35 -35
- package/build/components/organisms/userProfileNavigation/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navMenu/index.styled.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navigationCard/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/types.d.ts +5 -5
- package/build/components/organisms/userProfileNavigation/userStats/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/{core-8fcc56eb.js → core-f0edff4f.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/ecom_temp_excluded/dataFormatter/lib/apiTypes.d.ts +55 -55
- package/build/ecom_temp_excluded/dataFormatter/lib/dataTypes.d.ts +44 -44
- package/build/ecom_temp_excluded/interfaces/constants.d.ts +1 -1
- package/build/ecom_temp_excluded/interfaces/types.d.ts +22 -22
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{core-d22826b4.js → core-3e31237f.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{getDynamicHealthTool-f43c2db2.js → getDynamicHealthTool-506a8dae.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/imgHHG.js +1 -1
- package/build/esm/{index-76ecfb14.js → index-0758fd6f.js} +1 -1
- package/build/esm/{index-642d36c8.js → index-08a5379f.js} +1 -1
- package/build/esm/{index-7a537be1.js → index-1641cafe.js} +1 -1
- package/build/esm/index-48f56f96.js +1 -0
- package/build/esm/{index-f3a0141e.js → index-4b7e71be.js} +1 -1
- package/build/esm/index-72dbbe2c.js +1 -0
- package/build/esm/index-b39f000a.js +1 -0
- package/build/esm/{index-93d22d63.js → index-bab85b31.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-d8a819ea.js → index.styled-1d237565.js} +1 -1
- package/build/esm/{index.styled-faeac279.js → index.styled-9b9139b0.js} +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/{screenSizeContext-12f741e1.js → screenSizeContext-d0c9aa9b.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-cd9f6f24.js → translationsProvider-a738e5de.js} +1 -1
- package/build/esm/tslib.es6-dcf36680.js +1 -0
- package/build/esm/{types-e5491c06.js → types-141fd732.js} +1 -1
- package/build/esm/{types-9f13ee08.js → types-f823d240.js} +1 -1
- package/build/esm/{useFbDataLayer-5016df43.js → useFbDataLayer-f9adf2a7.js} +1 -1
- package/build/esm/{useHealthToolCache-e4e2778a.js → useHealthToolCache-79dda45b.js} +1 -1
- package/build/{getDynamicHealthTool-770421bc.js → getDynamicHealthTool-2103105f.js} +1 -1
- package/build/hooks/useDropdownSearch.d.ts +1 -1
- package/build/hooks/useGeolocation.d.ts +1 -1
- package/build/hooks/useTranslations.d.ts +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n/translations.d.ts +4 -4
- package/build/i18n/translationsContext.d.ts +1 -1
- package/build/i18n/translationsProvider.d.ts +3 -3
- package/build/i18n.js +1 -1
- package/build/imgHHG.js +1 -1
- package/build/{index-18fad696.js → index-10453b98.js} +1 -1
- package/build/{index-ef8759f0.js → index-3f230f6d.js} +1 -1
- package/build/index-4f3c2e85.js +1 -0
- package/build/index-7d017969.js +1 -0
- package/build/{index-06ae8f3a.js → index-982af205.js} +1 -1
- package/build/{index-eb84390c.js → index-ab2a12cb.js} +1 -1
- package/build/index-be767019.js +1 -0
- package/build/index-eea5bfce.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-03c4dedb.js → index.styled-007487b4.js} +1 -1
- package/build/{index.styled-1e5dd97e.js → index.styled-d5db8bd7.js} +1 -1
- package/build/interfaces/constants/index.d.ts +2 -2
- package/build/interfaces/types/BabyGrowth.d.ts +17 -17
- package/build/interfaces/types/HealthTool.d.ts +2 -2
- package/build/interfaces/types/index.d.ts +12 -12
- package/build/mantine.js +1 -1
- package/build/misc/theme.d.ts +2 -2
- package/build/misc.js +1 -1
- package/build/modules/imgHHG/index.d.ts +1 -1
- package/build/navigation.js +1 -1
- package/build/{screenSizeContext-60cc891b.js → screenSizeContext-b4958d62.js} +1 -1
- package/build/together/api/utils.d.ts +1 -1
- package/build/together/components/atoms/cardLink/index.d.ts +1 -1
- package/build/together/components/atoms/cardReactions/index.d.ts +1 -1
- package/build/together/components/atoms/labelSortPin/index.d.ts +1 -1
- package/build/together/components/atoms/labelSortPin/labelPin.d.ts +1 -1
- package/build/together/components/atoms/labelSortPin/labelSorting.d.ts +2 -2
- package/build/together/components/atoms/loading/index.d.ts +1 -1
- package/build/together/components/atoms/loading/loadingCard.d.ts +1 -1
- package/build/together/components/atoms/notificationBar/index.d.ts +1 -1
- package/build/together/components/atoms/sensitiveMask/index.d.ts +1 -1
- package/build/together/components/atoms/tagTopic/index.d.ts +1 -1
- package/build/together/components/atoms/userAvatar/index.d.ts +1 -1
- package/build/together/components/molecules/cardAuthor/customMMLocale/types.d.ts +4 -4
- package/build/together/components/molecules/cardAuthor/index.d.ts +1 -1
- package/build/together/components/molecules/createNewPostContent/index.d.ts +1 -1
- package/build/together/components/molecules/createPostDescription/editor.d.ts +1 -1
- package/build/together/components/molecules/createPostDescription/index.d.ts +1 -1
- package/build/together/components/molecules/createPostTitle/index.d.ts +1 -1
- package/build/together/components/molecules/inputCommentBar/index.d.ts +1 -1
- package/build/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +1 -1
- package/build/together/components/molecules/popupDanger/index.d.ts +1 -1
- package/build/together/components/molecules/popupDoctor/index.d.ts +1 -1
- package/build/together/components/molecules/popupExpert/index.d.ts +3 -3
- package/build/together/components/molecules/popupFrame/index.d.ts +1 -1
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +1 -1
- package/build/together/components/molecules/popupHospital/index.d.ts +3 -3
- package/build/together/components/molecules/postContent/index.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/index.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +1 -1
- package/build/together/components/molecules/shareBox/index.d.ts +1 -1
- package/build/together/components/molecules/socialLinkPreview/index.d.ts +1 -1
- package/build/together/components/molecules/submitReportForm/index.d.ts +1 -1
- package/build/together/components/molecules/topicSelectList/index.d.ts +1 -1
- package/build/together/components/organisms/cardPost/index.d.ts +1 -1
- package/build/together/components/organisms/cardReply/index.d.ts +1 -1
- package/build/together/components/organisms/popoverMenu/index.d.ts +1 -1
- package/build/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +4 -4
- package/build/together/hooks/useTogetherAuthRequiredAction.d.ts +1 -1
- package/build/together/interfaces/types.d.ts +108 -108
- package/build/together/togetherComponentGlobalContext.d.ts +5 -5
- package/build/together/utils/apiActions/comment.d.ts +1 -1
- package/build/together/utils/notification.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-25c99317.js → translationsProvider-7fabb8fe.js} +1 -1
- package/build/tslib.es6-e6f346c4.js +1 -0
- package/build/{types-8591cb2a.js → types-7ce6024f.js} +1 -1
- package/build/{types-aac7135c.js → types-cd43472e.js} +1 -1
- package/build/{useFbDataLayer-eda77edb.js → useFbDataLayer-fbea3e5e.js} +1 -1
- package/build/{useHealthToolCache-014adcd3.js → useHealthToolCache-df134cc9.js} +1 -1
- package/package.json +14 -12
- package/build/esm/index-9bacff82.js +0 -1
- package/build/esm/index-f8e043bf.js +0 -1
- package/build/esm/index-fb454baf.js +0 -1
- package/build/esm/tslib.es6-5532bd7b.js +0 -15
- package/build/index-57a0589c.js +0 -1
- package/build/index-5d420cf1.js +0 -1
- package/build/index-704baaa7.js +0 -1
- package/build/index-a8a74936.js +0 -1
- package/build/tslib.es6-f7929e76.js +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("react"),e=require("@mantine/core"),t=require("./screenSizeContext-
|
|
1
|
+
"use strict";var n=require("react"),e=require("@mantine/core"),t=require("./screenSizeContext-b4958d62.js"),i=require("./index.styled-007487b4.js"),o=require("./tslib.es6-e6f346c4.js"),a=require("styled-components");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var d,l,s,h=r(n),p=r(a),c=function(n){var e=n.open,t=void 0!==e&&e,o=n.onClickOutside;return h.default.createElement(i.StyledBackdrop,{open:t,onClick:o})},u=p.default.div(d||(d=o.__makeTemplateObject(["\n position: relative;\n z-index: 200;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n .hhg-modal__video {\n position: relative;\n z-index: 111;\n height: 100%;\n background-color: none;\n box-shadow: none;\n }\n"],["\n position: relative;\n z-index: 200;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n .hhg-modal__video {\n position: relative;\n z-index: 111;\n height: 100%;\n background-color: none;\n box-shadow: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),x=p.default.div(l||(l=o.__makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 201;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n visibility: hidden;\n background-color: rgba(38, 38, 38, 0.3);\n\n .hhg-modal__close {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n &[data-type='video'] {\n z-index: 1001;\n }\n &[data-open='true'] {\n visibility: visible;\n }\n\n &.slideTop {\n "," {\n transform: translate(0, -100vh);\n transition: all 0.5s ease;\n }\n\n &[data-open='true'] {\n "," {\n transform: translate(0);\n }\n }\n }\n\n &.scaleUp {\n "," {\n transform: scale(0.9);\n }\n\n &[data-open='true'] {\n "," {\n transition: all 0.3s ease-out;\n transform: scale(1);\n }\n }\n }\n\n &[data-type='tail'] {\n justify-content: flex-end;\n "," {\n width: 420px;\n height: 100%;\n border-radius: 0;\n overflow: hidden auto;\n }\n }\n &[data-type='form'] {\n "," {\n width: 496px;\n height: 548px;\n max-height: 100%;\n overflow-y: auto;\n "," {\n width: 340px;\n }\n }\n }\n &[data-type='video'] {\n "," {\n height: 100%;\n max-height: 539px;\n "," {\n height: 192px;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n max-height: 192px;\n }\n }\n }\n &[data-type='confirm'] {\n "," {\n width: 100%;\n max-width: 407px;\n "," {\n width: calc(100% - 32px);\n max-width: calc(100% - 32px);\n }\n }\n }\n"],["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 201;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n visibility: hidden;\n background-color: rgba(38, 38, 38, 0.3);\n\n .hhg-modal__close {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n &[data-type='video'] {\n z-index: 1001;\n }\n &[data-open='true'] {\n visibility: visible;\n }\n\n &.slideTop {\n "," {\n transform: translate(0, -100vh);\n transition: all 0.5s ease;\n }\n\n &[data-open='true'] {\n "," {\n transform: translate(0);\n }\n }\n }\n\n &.scaleUp {\n "," {\n transform: scale(0.9);\n }\n\n &[data-open='true'] {\n "," {\n transition: all 0.3s ease-out;\n transform: scale(1);\n }\n }\n }\n\n &[data-type='tail'] {\n justify-content: flex-end;\n "," {\n width: 420px;\n height: 100%;\n border-radius: 0;\n overflow: hidden auto;\n }\n }\n &[data-type='form'] {\n "," {\n width: 496px;\n height: 548px;\n max-height: 100%;\n overflow-y: auto;\n "," {\n width: 340px;\n }\n }\n }\n &[data-type='video'] {\n "," {\n height: 100%;\n max-height: 539px;\n "," {\n height: 192px;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n max-height: 192px;\n }\n }\n }\n &[data-type='confirm'] {\n "," {\n width: 100%;\n max-width: 407px;\n "," {\n width: calc(100% - 32px);\n max-width: calc(100% - 32px);\n }\n }\n }\n"])),u,u,u,u,u,u,t.MediaQueries.mbDown,u,t.MediaQueries.mbDown,u,t.MediaQueries.mbDown),f=p.default.div(s||(s=o.__makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n align-items: center;\n\n &[data-open='false'] {\n display: none;\n }\n &[data-type='video'] {\n background-color: ",";\n }\n"],["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n align-items: center;\n\n &[data-open='false'] {\n display: none;\n }\n &[data-type='video'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.secondaryDark}));exports.Drawer=function(o){var a=o.children,r=o.title,d=o.onClose,l=o.open,s=void 0!==l&&l,p=o.placement,u=void 0===p?"left":p,x=o.destroyOnClose,f=void 0!==x&&x,m=o.className,g=n.useRef();n.useEffect((function(){return t.toggleNoScroll(s),function(){return t.toggleNoScroll(!1)}}),[s]);var v=function(){g.current.classList.add("slideOut"),setTimeout((function(){d()}),800)};return!s&&f?null:h.default.createElement(e.Portal,null,h.default.createElement(i.StyledDrawer,{className:m,open:s},h.default.createElement(c,{open:s,onClickOutside:v}),h.default.createElement(i.StyledDrawerPanel,{open:s,placement:u,ref:g,hasTitle:Boolean(r)},h.default.createElement("div",{className:"title"},r&&h.default.createElement(i.Text,{size:"s2",type:"semiBold"},r),h.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:v},h.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),h.default.createElement(i.StyledDrawerContent,{onClick:function(n){return n.stopPropagation()}},a&&(h.default.isValidElement(a)?a:"function"==typeof a?a({internalClose:v}):null)))))},exports.StyledModal=u,exports.StyledModalMask=f,exports.StyledModalWrapper=x;
|
|
@@ -13,8 +13,8 @@ export declare const domainLocales: {
|
|
|
13
13
|
'tl-PH': string;
|
|
14
14
|
'vi-VN_MB': string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type CategoriesLayout = 'short' | 'long';
|
|
17
|
+
export type LogoType = 'hellobacsi' | 'hellosehat' | 'hellohealth' | 'hellotogether' | 'hellocare' | 'logomark' | 'hellodoctor' | 'hellokrupet' | 'helloswasthya' | 'hellosayarwon' | 'helloyishi' | 'hellokhunmor' | 'hellodoktor' | 'marryBaby';
|
|
18
18
|
export declare const LOCALE_SPECS: {
|
|
19
19
|
[key: string]: {
|
|
20
20
|
[key: string]: string;
|
|
@@ -13,7 +13,7 @@ export declare enum BabyGrowthChartDuration {
|
|
|
13
13
|
Monthly = 1,
|
|
14
14
|
Yearly = 2
|
|
15
15
|
}
|
|
16
|
-
export
|
|
16
|
+
export type BabyGrowthContentApi = {
|
|
17
17
|
information: Array<{
|
|
18
18
|
title: string;
|
|
19
19
|
description: string;
|
|
@@ -26,7 +26,7 @@ export declare type BabyGrowthContentApi = {
|
|
|
26
26
|
is_sponsored: boolean;
|
|
27
27
|
featured_image: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type BabyGrowthContent = {
|
|
30
30
|
information: Array<{
|
|
31
31
|
title: string;
|
|
32
32
|
description: string;
|
|
@@ -43,7 +43,7 @@ export declare type BabyGrowthContent = {
|
|
|
43
43
|
is_sponsored: boolean;
|
|
44
44
|
featuredImage: string;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type ResultApi = {
|
|
47
47
|
condition_risk_suggestion: string;
|
|
48
48
|
faqs: Array<{
|
|
49
49
|
title: string;
|
|
@@ -51,7 +51,7 @@ export declare type ResultApi = {
|
|
|
51
51
|
}>;
|
|
52
52
|
seemore_link: string;
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type Result = {
|
|
55
55
|
conditionRiskSuggestion: string;
|
|
56
56
|
faqs: Array<{
|
|
57
57
|
title: string;
|
|
@@ -59,14 +59,14 @@ export declare type Result = {
|
|
|
59
59
|
}>;
|
|
60
60
|
seeMoreLink: string;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
62
|
+
export type ResultChartTypeApi = 'girl_height' | 'girl_weight' | 'girl_head' | 'boy_height' | 'boy_weight' | 'boy_head';
|
|
63
|
+
export type ResultType = '3rd' | '15th' | '50th' | '85th' | '97th';
|
|
64
|
+
export type BabyGrowthResultApi = {
|
|
65
65
|
[key in ResultChartTypeApi]: {
|
|
66
66
|
[key in ResultType]: ResultApi;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
export
|
|
69
|
+
export type BabyGrowthResult = {
|
|
70
70
|
[key in string]: {
|
|
71
71
|
[key in string]?: Result;
|
|
72
72
|
};
|
|
@@ -78,8 +78,8 @@ export declare enum BabyGrowthResultTab {
|
|
|
78
78
|
BMI = 3,
|
|
79
79
|
Record = 4
|
|
80
80
|
}
|
|
81
|
-
export
|
|
82
|
-
export
|
|
81
|
+
export type BabyVaccinationStatus = 'vaccinated' | 'passed' | 'next';
|
|
82
|
+
export type BabyVaccinationRecordsApi = {
|
|
83
83
|
id: string;
|
|
84
84
|
vaccine_id: string;
|
|
85
85
|
vaccine_name: string;
|
|
@@ -90,7 +90,7 @@ export declare type BabyVaccinationRecordsApi = {
|
|
|
90
90
|
status: boolean;
|
|
91
91
|
vaccine_optional: boolean;
|
|
92
92
|
};
|
|
93
|
-
export
|
|
93
|
+
export type BabyVaccinationDetailApi = {
|
|
94
94
|
profile: {
|
|
95
95
|
id: string;
|
|
96
96
|
gender: boolean;
|
|
@@ -113,7 +113,7 @@ export declare type BabyVaccinationDetailApi = {
|
|
|
113
113
|
records: BabyVaccinationRecordsApi[];
|
|
114
114
|
}[];
|
|
115
115
|
};
|
|
116
|
-
export
|
|
116
|
+
export type BabyVaccinationRecord = {
|
|
117
117
|
id: string;
|
|
118
118
|
vaccineId: string;
|
|
119
119
|
vaccineName: string;
|
|
@@ -124,7 +124,7 @@ export declare type BabyVaccinationRecord = {
|
|
|
124
124
|
status: BabyVaccinationStatus;
|
|
125
125
|
optional: boolean;
|
|
126
126
|
};
|
|
127
|
-
export
|
|
127
|
+
export type BabyVaccinationDetail = {
|
|
128
128
|
profile: {
|
|
129
129
|
id: string;
|
|
130
130
|
gender: 'male' | 'female';
|
|
@@ -146,7 +146,7 @@ export declare type BabyVaccinationDetail = {
|
|
|
146
146
|
records: BabyVaccinationRecord[];
|
|
147
147
|
}[];
|
|
148
148
|
};
|
|
149
|
-
export
|
|
149
|
+
export type DefaultPercentileType = Array<{
|
|
150
150
|
name: number;
|
|
151
151
|
'1st': number;
|
|
152
152
|
'3rd': number;
|
|
@@ -160,7 +160,7 @@ export declare type DefaultPercentileType = Array<{
|
|
|
160
160
|
'97th': number;
|
|
161
161
|
'99th': number;
|
|
162
162
|
}>;
|
|
163
|
-
export
|
|
163
|
+
export type DefaultZScoreType = Array<{
|
|
164
164
|
name: number;
|
|
165
165
|
'-3SD': number;
|
|
166
166
|
'-2SD': number;
|
|
@@ -170,11 +170,11 @@ export declare type DefaultZScoreType = Array<{
|
|
|
170
170
|
'2SD': number;
|
|
171
171
|
'3SD': number;
|
|
172
172
|
}>;
|
|
173
|
-
export
|
|
173
|
+
export type ChartResultType = {
|
|
174
174
|
data: DefaultPercentileType | DefaultZScoreType;
|
|
175
175
|
status: 'full' | 'first-half' | 'second-half';
|
|
176
176
|
};
|
|
177
|
-
export
|
|
177
|
+
export type HistoryLineType = Array<{
|
|
178
178
|
name: number;
|
|
179
179
|
history: number;
|
|
180
180
|
risk: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type HealthTool = {
|
|
2
2
|
id: number;
|
|
3
3
|
title: string;
|
|
4
4
|
subtitle: string;
|
|
@@ -7,7 +7,7 @@ export declare type HealthTool = {
|
|
|
7
7
|
isSubot: boolean;
|
|
8
8
|
template: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type HealthToolApi = {
|
|
11
11
|
id: number;
|
|
12
12
|
title: string;
|
|
13
13
|
icon: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type LocaleType = 'vi-VN' | 'id-ID' | 'ms-MY' | 'km-KH' | 'en-PH' | 'th-TH' | 'my-MM' | 'zh-TW' | 'hi-IN' | 'tl-PH';
|
|
2
|
+
export type GeoLocationPermission = 'granted' | 'denied' | 'unset';
|
|
3
|
+
export type GPSType = {
|
|
4
4
|
lat: string;
|
|
5
5
|
lng: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type DataTrackingType = {
|
|
8
8
|
dataEventCategory?: string;
|
|
9
9
|
dataEventAction?: string;
|
|
10
10
|
dataEventLabel?: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type DataTrackingTypeHTMLElement = {
|
|
13
13
|
'data-event-category'?: string;
|
|
14
14
|
'data-event-action'?: string;
|
|
15
15
|
'data-event-label'?: string;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type FooterInfo = {
|
|
18
18
|
general: {
|
|
19
19
|
logo: string;
|
|
20
20
|
content: string;
|
|
@@ -48,7 +48,7 @@ export declare type FooterInfo = {
|
|
|
48
48
|
}>;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
export
|
|
51
|
+
export type FooterInfoMarryBaby = {
|
|
52
52
|
general: {
|
|
53
53
|
logo: string;
|
|
54
54
|
content: string;
|
|
@@ -71,9 +71,9 @@ export declare type FooterInfoMarryBaby = {
|
|
|
71
71
|
url: string;
|
|
72
72
|
}>;
|
|
73
73
|
};
|
|
74
|
-
export
|
|
75
|
-
export
|
|
76
|
-
export
|
|
74
|
+
export type SiteType = 'marryBaby' | 'helloSites';
|
|
75
|
+
export type UserRole = 'user' | 'admin';
|
|
76
|
+
export type UserInfo = {
|
|
77
77
|
name?: string;
|
|
78
78
|
phone?: string;
|
|
79
79
|
username?: string;
|
|
@@ -100,11 +100,11 @@ export declare type UserInfo = {
|
|
|
100
100
|
communities_interacted?: 0 | 1;
|
|
101
101
|
city_name?: string;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type ProjectType = 'care' | 'ecom' | 'discover' | 'together' | 'profile' | 'marryBaby';
|
|
104
104
|
export * from './BabyGrowth';
|
|
105
105
|
export * from './Locale';
|
|
106
106
|
export * from './HealthTool';
|
|
107
|
-
export
|
|
107
|
+
export type OvulationLocalStoredType = {
|
|
108
108
|
cycle: number;
|
|
109
109
|
periodDateStart: Date;
|
|
110
110
|
periodLength: number;
|
package/build/mantine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-e6f346c4.js"),n=require("react"),t=require("@mantine/core"),r=require("styled-components"),a=require("./gAssets.js"),o=require("@mantine/dates"),i=require("@mantine/hooks");require("date-fns"),require("./screenSizeContext-b4958d62.js");var l=require("./theme-696d81a9.js");require("./index-bce6f562.js"),require("./Locale-11b51016.js");var u=require("@mantine/carousel");require("./index.styled-007487b4.js");var s=require("./index-982af205.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("react-range"),require("./translationsContext-2d7ea471.js"),require("string-format"),require("lodash/debounce"),require("vanilla-lazyload"),require("lodash");var m,d,f,p,h,g=c(n),b=c(r),_=r.css(m||(m=e.__makeTemplateObject(["\n border-radius: 6px;\n transition: all "," ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n .mantine-Input-label {\n margin-bottom: 0.5rem;\n }\n"],["\n border-radius: 6px;\n transition: all "," ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n .mantine-Input-label {\n margin-bottom: 0.5rem;\n }\n"])),"100ms",(function(e){return e.theme.colors.blue200}),(function(e){return e.theme.colors.blue200})),k=r.css(d||(d=e.__makeTemplateObject(["\n transition: all "," ease-in-out;\n &:hover {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n transition: all "," ease-in-out;\n &:hover {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n"])),"100ms",(function(e){return e.theme.colors.blue200}),(function(e){return e.theme.colors.blue200})),v=b.default(t.Select)(f||(f=e.__makeTemplateObject(["\n .mantine-Select-input {\n ","\n }\n"],["\n .mantine-Select-input {\n ","\n }\n"])),_),x=b.default(o.DatePicker)(p||(p=e.__makeTemplateObject(["\n .mantine-DatePicker-input {\n ","\n }\n"],["\n .mantine-DatePicker-input {\n ","\n }\n"])),_),w=b.default(o.DateRangePicker)(h||(h=e.__makeTemplateObject(["\n .mantine-DateRangePicker-input {\n ","\n }\n"],["\n .mantine-DateRangePicker-input {\n ","\n }\n"])),_),C=function(n){return g.default.createElement(x,e.__assign({size:"lg",clearable:!1,inputFormat:"DD/MM/YYYY",rightSection:g.default.createElement(t.Image,{src:a.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16}),labelProps:{style:{marginBottom:"0.5rem"}}},n))};C.Range=function(n){return g.default.createElement(w,e.__assign({size:"lg",clearable:!1,inputFormat:"DD/MM/YYYY",rightSection:g.default.createElement(t.Image,{src:a.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16}),labelProps:{style:{marginBottom:"0.5rem"}}},n))};var S,E,j,q,I=b.default(t.TextInput)(S||(S=e.__makeTemplateObject(["\n .mantine-Input-input {\n ","\n }\n"],["\n .mantine-Input-input {\n ","\n }\n"])),_),y=b.default(t.FileInput)(E||(E=e.__makeTemplateObject(["\n .mantine-FileInput-input {\n ","\n }\n"],["\n .mantine-FileInput-input {\n ","\n }\n"])),_),O=b.default(t.PasswordInput)(j||(j=e.__makeTemplateObject(["\n .mantine-PasswordInput-input {\n ","\n }\n"],["\n .mantine-PasswordInput-input {\n ","\n }\n"])),_),T=b.default(t.NumberInput)(q||(q=e.__makeTemplateObject(["\n .mantine-NumberInput-input {\n ","\n }\n"],["\n .mantine-NumberInput-input {\n ","\n }\n"])),_),P=function(t){var r=t.value,a=t.onChange,o=e.__rest(t,["value","onChange"]),l=i.useDebouncedState(r||"",300),u=l[0],s=l[1];return n.useEffect((function(){null==a||a(u)}),[u]),g.default.createElement(I,e.__assign({size:"md",defaultValue:u,onChange:function(e){return s(e.currentTarget.value)}},o))};P.File=function(n){return g.default.createElement(y,e.__assign({size:"md"},n))},P.Password=function(r){var o=r.value,l=r.onChange,u=e.__rest(r,["value","onChange"]),s=i.useDebouncedState(o||"",300),c=s[0],m=s[1];return n.useEffect((function(){null==l||l(c)}),[c]),g.default.createElement(O,e.__assign({size:"md",defaultValue:c,onChange:function(e){return m(e.currentTarget.value)},visibilityToggleIcon:function(e){var n=e.reveal,r=e.size;return n?g.default.createElement(t.Image,{src:a.CommonGAssets.getAssetPath("EyeVisible.svg"),width:r}):g.default.createElement(t.Image,{src:a.CommonGAssets.getAssetPath("EyeHidden.svg"),width:r})}},u))},P.Number=function(t){var r=t.value,a=t.onChange,o=e.__rest(t,["value","onChange"]),l=i.useDebouncedState(r||0,300),u=l[0],s=l[1];return n.useEffect((function(){null==a||a(u)}),[u]),g.default.createElement(T,e.__assign({size:"md",decimalSeparator:".",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},defaultValue:u,onChange:s},o))};var z=function(n){var t=n.slidesToShow,r=void 0===t?1:t,a=n.children,o=e.__rest(n,["slidesToShow","children"]);return g.default.createElement(u.Carousel,e.__assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},o),a)};z.Slide=u.Carousel.Slide;var D,M=b.default(t.Checkbox)(D||(D=e.__makeTemplateObject(["\n .mantine-Checkbox-input {\n ","\n }\n"],["\n .mantine-Checkbox-input {\n ","\n }\n"])),k),B=function(n){return g.default.createElement(M,e.__assign({},n))};B.Group=t.Checkbox.Group;var L,R,A,G=b.default(t.Slider)(L||(L=e.__makeTemplateObject(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(e){return e.color||e.theme.colors.primaryBase})),Y=b.default.div(R||(R=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n "," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n "," {\n flex-grow: 1;\n }\n"])),G),F=b.default(t.Radio)(A||(A=e.__makeTemplateObject(["\n .mantine-Radio-radio {\n background-color: #ffffff;\n ","\n &:checked {\n background-color: #ffffff;\n }\n }\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-radio {\n background-color: #ffffff;\n ","\n &:checked {\n background-color: #ffffff;\n }\n }\n .mantine-Radio-icon {\n color: ",";\n }\n"])),k,(function(e){return e.color||l.theme.colors.primaryBase})),V=function(n){return g.default.createElement(F,e.__assign({size:"sm"},n))};V.Group=t.Radio.Group;var N,H=b.default(t.Switch)(N||(N=e.__makeTemplateObject(["\n .mantine-Switch-track {\n }\n"],["\n .mantine-Switch-track {\n }\n"])));exports.Carousel=z,exports.Checkbox=B,exports.DatePicker=C,exports.Input=P,exports.LoadingOverlay=function(n){return g.default.createElement(t.LoadingOverlay,e.__assign({loaderProps:{color:l.theme.colors.primaryBase}},n))},exports.Radio=V,exports.Select=function(n){return g.default.createElement(v,e.__assign({rightSection:g.default.createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.default.createElement("path",{d:"M1 1L5 5L9 1",stroke:"#595959",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),size:"md"},n))},exports.Slider=function(t){var r=t.color,a=void 0===r?l.theme.colors.primaryBase:r,o=t.withControl,u=t.onChange,c=t.value,m=t.min,d=t.max,f=e.__rest(t,["color","withControl","onChange","value","min","max"]),p=n.useState(c||m||0),h=p[0],b=p[1],_=i.useDebouncedValue(h,300)[0];return n.useEffect((function(){null==u||u(_)}),[_]),g.default.createElement(Y,null,o&&g.default.createElement(s.Button,{size:"sm",color:"ghost",onClick:function(){b((function(e){return m&&e===m?e:e-1}))}},g.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},g.default.createElement("path",{d:"M1 1.004h8",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),g.default.createElement(G,e.__assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:a,value:h,onChange:b,min:m,max:d},f)),o&&g.default.createElement(s.Button,{size:"sm",color:"ghost",onClick:function(){b((function(e){return d&&e===d?e:e+1}))}},g.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))},exports.Switch=H;
|
package/build/misc/theme.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ export declare const theme: {
|
|
|
158
158
|
};
|
|
159
159
|
defaultColor: string;
|
|
160
160
|
};
|
|
161
|
-
export
|
|
162
|
-
export
|
|
161
|
+
export type ThemeType = typeof theme;
|
|
162
|
+
export type ThemeProps = {
|
|
163
163
|
theme: ThemeType;
|
|
164
164
|
};
|
package/build/misc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./localizeNumberFormat-d34a738e.js"),r=require("./screenSizeContext-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./localizeNumberFormat-d34a738e.js"),r=require("./screenSizeContext-b4958d62.js"),t=require("./cookieHelper-612b90fa.js");require("react"),require("styled-components");var o=require("./theme-696d81a9.js"),i=require("./number-87b13133.js"),s=require("./getDynamicHealthTool-2103105f.js"),a=require("./getSocialList-561c9bda.js");require("date-fns"),require("./tslib.es6-e6f346c4.js"),require("vanilla-lazyload"),require("lodash"),require("./core-f0edff4f.js"),require("./index-bce6f562.js"),require("./Locale-11b51016.js"),require("./gAssets.js"),exports.ageGenerate=e.ageGenerate,exports.convertLocalizedStringToNumber=e.convertLocalizedStringToNumber,exports.localizeNumberFormat=e.localizeNumberFormat,exports.Breakpoints=r.Breakpoints,exports.MediaQueries=r.MediaQueries,exports.ScreenSizeContext=r.ScreenSizeContext,exports.ScreenSizeContextProvider=r.ScreenSizeContextProvider,exports.fadeIn=r.fadeIn,exports.formatUrlWithPageParam=r.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=r.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=r.getPopupWrapperDom,exports.getWindowSizeGroups=r.getWindowSizeGroups,Object.defineProperty(exports,"lazyLoadInstance",{enumerable:!0,get:function(){return r.lazyLoadInstance}}),exports.makeParams=r.makeParams,exports.slideInDown=r.slideInDown,exports.slideInLeft=r.slideInLeft,exports.slideInRight=r.slideInRight,exports.slideInUp=r.slideInUp,exports.slideOutDown=r.slideOutDown,exports.slideOutLeft=r.slideOutLeft,exports.slideOutRight=r.slideOutRight,exports.slideOutUp=r.slideOutUp,exports.startCase=r.startCase,exports.toggleNoScroll=r.toggleNoScroll,exports.deleteCookie=t.deleteCookie,exports.getCookie=t.getCookie,exports.setCookie=t.setCookie,exports.theme=o.theme,exports.abbreviateNumber=i.abbreviateNumber,exports.formatHealthTool=s.formatHealthTool,exports.getCareApiDomain=s.getCareApiDomain,exports.getCurrentBaseUrl=s.getCurrentBaseUrl,exports.getCurrentSsoUrl=s.getCurrentSsoUrl,exports.getDiscoverApiDomain=s.getDiscoverApiDomain,exports.getDynamicHealthTool=s.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=s.getDynamicHealthToolWithCache,exports.getTogetherApiDomain=s.getTogetherApiDomain,exports.getSocialList=a.getSocialList;
|
package/build/navigation.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./tslib.es6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./tslib.es6-e6f346c4.js"),require("react"),require("./core-f0edff4f.js"),require("./index.styled-007487b4.js");var e=require("./index-eea5bfce.js");require("react-id-generator"),require("./index-be767019.js"),require("date-fns"),require("react-day-picker/DayPickerInput"),require("lodash/debounce"),require("react-dom"),require("./index.styled-d5db8bd7.js"),require("lodash"),require("keen-slider/react"),require("./gAssets.js"),require("./screenSizeContext-b4958d62.js"),require("react-range"),require("styled-components"),require("./getDynamicHealthTool-2103105f.js"),require("./Locale-11b51016.js"),require("@mantine/core"),require("./translationsContext-2d7ea471.js"),require("string-format"),require("./index-bce6f562.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./theme-696d81a9.js"),require("smoothscroll-polyfill"),require("./index-982af205.js"),require("./index-3f230f6d.js"),require("./index-ab2a12cb.js"),require("./useTranslations-60d001df.js"),require("./en-PH-bc11cfc2.js"),require("./types-2b3bdf79.js"),require("./useHealthToolCache-df134cc9.js"),require("./constants-ca5ea110.js"),require("./cookieHelper-612b90fa.js"),require("date-fns/locale/hi"),require("date-fns/locale/ms"),require("date-fns/locale/th"),require("slugify"),require("vanilla-lazyload"),exports.NavigationV2=e.NavigationV2,exports.getNavMenuContent=e.getNavMenuContent,exports.getNavMenuContentWithCache=e.getNavMenuContentWithCache;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("./tslib.es6-
|
|
1
|
+
"use strict";var n=require("./tslib.es6-e6f346c4.js"),t=require("styled-components"),e=require("vanilla-lazyload"),r=require("react"),a=require("lodash");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,s,d,m,l,c,_,f,p,u=i(e),O=i(r),E=function(n){var t=Object.keys(n);return t.length?"?"+t.map((function(t){return"".concat(t,"=").concat(n[t])})).join("&"):""},B={BREAK_POINT_SMALL_MOBILE:481,BREAK_POINT_MOBILE:768,BREAK_POINT_TABLET:1024,BREAK_POINT_PC:1200},I={smbDown:"@media (max-width: ".concat(B.BREAK_POINT_SMALL_MOBILE-1,"px)"),smbUp:"@media (min-width: ".concat(B.BREAK_POINT_SMALL_MOBILE,"px)"),mbDown:"@media (max-width: ".concat(B.BREAK_POINT_MOBILE-1,"px)"),mbOnly:"@media (min-width: ".concat(B.BREAK_POINT_SMALL_MOBILE,"px) and (max-width: ").concat(B.BREAK_POINT_MOBILE-1,"px)"),mbUp:"@media (min-width: ".concat(B.BREAK_POINT_MOBILE,"px)"),tdDown:"@media (max-width: ".concat(B.BREAK_POINT_TABLET-1,"px)"),tdOnly:"@media (min-width: ".concat(B.BREAK_POINT_MOBILE,"px) and (max-width: ").concat(B.BREAK_POINT_TABLET-1,"px)"),tdUp:"@media (min-width: ".concat(B.BREAK_POINT_TABLET,"px)"),pcUp:"@media (min-width: ".concat(B.BREAK_POINT_PC,"px)"),pcOnly:"@media (min-width: ".concat(B.BREAK_POINT_TABLET,"px) and (max-width: ").concat(B.BREAK_POINT_PC-1,"px)"),pcDown:"@media (max-width: ".concat(B.BREAK_POINT_PC-1,"px)")},T=t.keyframes(o||(o=n.__makeTemplateObject(["\nfrom {\n transform: translate3d(0, 100%, 0);\n visibility: visible;\n}\n\nto {\n transform: translate3d(0, 0, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 100%, 0);\n visibility: visible;\n}\n\nto {\n transform: translate3d(0, 0, 0);\n}\n"]))),A=t.keyframes(s||(s=n.__makeTemplateObject(["\nfrom {\n transform: translate3d(0, -100%, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"],["\nfrom {\n transform: translate3d(0, -100%, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"]))),L=t.keyframes(d||(d=n.__makeTemplateObject(["\n from {\n transform: translate3d(-100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"],["\n from {\n transform: translate3d(-100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"]))),P=t.keyframes(m||(m=n.__makeTemplateObject(["\n from {\n transform: translate3d(100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"],["\n from {\n transform: translate3d(100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"]))),b=t.keyframes(l||(l=n.__makeTemplateObject(["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(0, 100%, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(0, 100%, 0);\n}\n"]))),y=t.keyframes(c||(c=n.__makeTemplateObject(["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(-100%, 0, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(-100%, 0, 0);\n}\n"]))),w=t.keyframes(_||(_=n.__makeTemplateObject(["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(100%, 0, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(100%, 0, 0);\n}\n"]))),x=t.keyframes(f||(f=n.__makeTemplateObject(["\n from {\n transform: translate3d(0, 0, 0);\n }\n\n to {\n visibility: hidden;\n transform: translate3d(0, -100%, 0);\n }\n"],["\n from {\n transform: translate3d(0, 0, 0);\n }\n\n to {\n visibility: hidden;\n transform: translate3d(0, -100%, 0);\n }\n"]))),v=t.keyframes(p||(p=n.__makeTemplateObject(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"],["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"])));exports.lazyLoadInstance=null,"undefined"==typeof window||exports.lazyLoadInstance||(exports.lazyLoadInstance=new u.default);var h=r.createContext({isInit:!0}),R=function(n){var t=function(n){return"number"==typeof n?n:"undefined"!=typeof window&&window.innerWidth||0}(n);return{smallMobile:t<B.BREAK_POINT_SMALL_MOBILE,mobile:t>=B.BREAK_POINT_SMALL_MOBILE&&t<B.BREAK_POINT_MOBILE,tablet:t>=B.BREAK_POINT_MOBILE&&t<B.BREAK_POINT_TABLET,pc:t>=B.BREAK_POINT_TABLET&&t<B.BREAK_POINT_PC,xl:t>=B.BREAK_POINT_PC}};exports.Breakpoints=B,exports.MediaQueries=I,exports.ScreenSizeContext=h,exports.ScreenSizeContextProvider=function(t){var e=t.children,i=r.useState((function(){return{isInit:!0}})),o=i[0],s=i[1];r.useEffect((function(){var n=a.throttle((function(){s({width:window.innerWidth,height:window.innerHeight,isInit:!1})}),200);return window.addEventListener("resize",n,{passive:!0}),function(){window.removeEventListener("resize",n)}}),[]);var d=r.useMemo((function(){return R(o.width)}),[o.width]);return O.default.createElement(h.Provider,{value:n.__assign(n.__assign({},o),{sizeGroups:d})},e)},exports.fadeIn=v,exports.formatUrlWithPageParam=function(n,t,e){void 0===t&&(t=1),void 0===e&&(e="page");var r=n.split("?"),a=r[0],i=r[1],o=new URLSearchParams(i||""),s={};return o.forEach((function(n,t){n&&(s[t]=n)})),Number(t)>1?s[e]=String(t):delete s[e],a+E(s)},exports.getBoundariesFromMediaQueryKey=function(n){switch(n){case"smbDown":return[0,B.BREAK_POINT_SMALL_MOBILE-1];case"smbUp":return[B.BREAK_POINT_SMALL_MOBILE,0];case"mbDown":return[0,B.BREAK_POINT_MOBILE-1];case"mbOnly":return[B.BREAK_POINT_SMALL_MOBILE,B.BREAK_POINT_MOBILE-1];case"mbUp":return[B.BREAK_POINT_MOBILE,0];case"tdDown":return[0,B.BREAK_POINT_TABLET-1];case"tdOnly":return[B.BREAK_POINT_MOBILE,B.BREAK_POINT_TABLET-1];case"tdUp":return[B.BREAK_POINT_TABLET,0];case"pcUp":return[B.BREAK_POINT_PC,0];case"pcOnly":return[B.BREAK_POINT_TABLET,B.BREAK_POINT_PC-1];case"pcDown":return[0,B.BREAK_POINT_PC-1]}},exports.getPopupWrapperDom=function(){if("undefined"==typeof document)return null;var n="hhg-comp-popup-wrapper";if(!document.querySelector("#"+n)){var t=document.createElement("div");t.id=n,document.body.appendChild(t)}return document.querySelector("#"+n)},exports.getWindowSizeGroups=R,exports.makeParams=E,exports.slideInDown=A,exports.slideInLeft=L,exports.slideInRight=P,exports.slideInUp=T,exports.slideOutDown=b,exports.slideOutLeft=y,exports.slideOutRight=w,exports.slideOutUp=x,exports.startCase=function(n){return n.replace(/\w\S*/g,(function(n){return n.charAt(0).toUpperCase()+n.substr(1).toLowerCase()}))},exports.toggleNoScroll=function(n){"undefined"!=typeof window&&(document.documentElement.style.overflow=n?"hidden":"")};
|
|
@@ -27,7 +27,7 @@ export declare const getDiscoverApiPath: (path: string, params?: {
|
|
|
27
27
|
export declare const getCarePath: (path: string, params?: {
|
|
28
28
|
[key: string]: string | number;
|
|
29
29
|
}) => string;
|
|
30
|
-
|
|
30
|
+
type ApiOptions = RequestInit & {
|
|
31
31
|
data?: any;
|
|
32
32
|
};
|
|
33
33
|
export declare const callApi: (url: string, method: string, options?: ApiOptions, skipEncodeURI?: boolean) => Promise<any>;
|
|
@@ -4,11 +4,11 @@ export declare enum LabelSortingValue {
|
|
|
4
4
|
oldest = "oldest",
|
|
5
5
|
popular = "popular"
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type ChoiceItem = {
|
|
8
8
|
label: string;
|
|
9
9
|
value: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type Props = {
|
|
12
12
|
onChange?: (v: string) => void;
|
|
13
13
|
color?: 'gray' | 'white';
|
|
14
14
|
className?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type FormatDistanceToken = 'lessThanXSeconds' | 'xSeconds' | 'halfAMinute' | 'lessThanXMinutes' | 'xMinutes' | 'aboutXHours' | 'xHours' | 'xDays' | 'aboutXWeeks' | 'xWeeks' | 'aboutXMonths' | 'xMonths' | 'aboutXYears' | 'xYears' | 'overXYears' | 'almostXYears';
|
|
2
|
+
export type FormatDistanceLocale<Value> = {
|
|
3
3
|
[token in FormatDistanceToken]: Value;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type FormatDistanceTokenFn = (count: number, options?: FormatDistanceFnOptions) => string;
|
|
6
6
|
export interface FormatDistanceFnOptions {
|
|
7
7
|
addSuffix?: boolean;
|
|
8
8
|
comparison?: -1 | 0 | 1;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type FormatDistanceFn = (token: FormatDistanceToken, count: number, options?: FormatDistanceFnOptions) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { Community, Post, Topic } from '../../../interfaces/types';
|
|
3
|
-
export
|
|
3
|
+
export type Props = {
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
onPostCreatedEdited?: (post: Post, isEdit?: boolean) => void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export
|
|
2
|
+
export type Experience = {
|
|
3
3
|
title: string;
|
|
4
4
|
organization: string;
|
|
5
5
|
duration: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ExpertInfo = {
|
|
8
8
|
avatar?: string;
|
|
9
9
|
role?: string;
|
|
10
10
|
display_name: string;
|
|
@@ -15,7 +15,7 @@ export declare type ExpertInfo = {
|
|
|
15
15
|
profile_url: string;
|
|
16
16
|
user_id: number;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type Props = {
|
|
19
19
|
isOpen: boolean;
|
|
20
20
|
onClose: () => void;
|
|
21
21
|
enableAnimation?: boolean;
|