@hhgtech/hhg-components 1.27.26 → 1.27.28
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 +8 -8
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-b2f2763f.js +1 -0
- package/build/dataTransform-6f8603ca.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/__mocks__/article.d.ts +112 -0
- package/build/esm/__mocks__/pillData.d.ts +201 -0
- package/build/esm/babyGrowth.js +7 -7
- package/build/esm/cache/core.d.ts +7 -0
- package/build/esm/cache/index.d.ts +1 -0
- package/build/esm/cache.js +1 -1
- package/build/esm/care/api/paths.d.ts +7 -0
- package/build/esm/care/api/utils.d.ts +5 -0
- package/build/esm/care/components/atoms/icons/index.d.ts +23 -0
- package/build/esm/care/components/organisms/bookingSearchBar/constants.d.ts +4 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.d.ts +28 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +7 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.test.d.ts +1 -0
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +16 -0
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +14 -0
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +7 -0
- package/build/esm/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +12 -0
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +11 -0
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +6 -0
- package/build/esm/care/components/organisms/bookingSearchBar/reducer.d.ts +127 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/icons.d.ts +5 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +17 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +11 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +11 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +10 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +20 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +9 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +15 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchResults/mockData.d.ts +2 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +6 -0
- package/build/esm/care/components/organisms/bookingSearchBar/types.d.ts +10 -0
- package/build/esm/care/components/organisms/bookingSearchBar/useAnimatedPlaceholder.d.ts +8 -0
- package/build/esm/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +16 -0
- package/build/esm/care/components/organisms/bookingSearchBar/utils/Typewriter.d.ts +57 -0
- package/build/esm/care/index.d.ts +3 -0
- package/build/esm/care/interfaces/constants.d.ts +15 -0
- package/build/esm/care/interfaces/types.d.ts +224 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/alert/index.d.ts +17 -0
- package/build/esm/components/atoms/alert/index.test.d.ts +1 -0
- package/build/esm/components/atoms/authorBadge/index.d.ts +16 -0
- package/build/esm/components/atoms/authorBadge/index.styles.d.ts +8 -0
- package/build/esm/components/atoms/avatar/index.d.ts +22 -0
- package/build/esm/components/atoms/avatar/index.styled.d.ts +8 -0
- package/build/esm/components/atoms/backdrop/index.d.ts +7 -0
- package/build/esm/components/atoms/backdrop/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/badge/index.d.ts +17 -0
- package/build/esm/components/atoms/badge/index.styled.d.ts +9 -0
- package/build/esm/components/atoms/badge/index.test.d.ts +1 -0
- package/build/esm/components/atoms/borderHeading/index.d.ts +14 -0
- package/build/esm/components/atoms/borderHeading/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/btnChoice/index.d.ts +14 -0
- package/build/esm/components/atoms/btnChoice/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/button/index.d.ts +32 -0
- package/build/esm/components/atoms/button/index.test.d.ts +1 -0
- package/build/esm/components/atoms/checkbox/index.d.ts +19 -0
- package/build/esm/components/atoms/checkbox/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/checkbox/index.test.d.ts +1 -0
- package/build/esm/components/atoms/container/index.d.ts +13 -0
- package/build/esm/components/atoms/customReferenceDot/index.d.ts +3 -0
- package/build/esm/components/atoms/displayWrapper/index.d.ts +10 -0
- package/build/esm/components/atoms/displayWrapper/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/divider/index.d.ts +13 -0
- package/build/esm/components/atoms/divider/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/divider/index.test.d.ts +1 -0
- package/build/esm/components/atoms/drawer/helpers.d.ts +2 -0
- package/build/esm/components/atoms/drawer/index.d.ts +19 -0
- package/build/esm/components/atoms/drawer/index.styled.d.ts +10 -0
- package/build/esm/components/atoms/dropdownMB/index.d.ts +2 -0
- package/build/esm/components/atoms/dropdownMB/index.styled.d.ts +2 -0
- package/build/esm/components/atoms/errorBoundary.d.ts +15 -0
- package/build/esm/components/atoms/fileDropdown/index.d.ts +23 -0
- package/build/esm/components/atoms/fileDropdown/index.styled.d.ts +5 -0
- package/build/esm/components/atoms/fileDropdown/index.test.d.ts +1 -0
- package/build/esm/components/atoms/flag/icons/cambodia.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/english.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/india.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/indonesia.d.ts +6 -0
- package/build/esm/components/atoms/flag/icons/malaysia.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/myanmar.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/philippines.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/taiwan.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/thailand.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/vietnam.d.ts +4 -0
- package/build/esm/components/atoms/flag/index.d.ts +13 -0
- package/build/esm/components/atoms/flag/index.test.d.ts +1 -0
- package/build/esm/components/atoms/grid/index.d.ts +27 -0
- package/build/esm/components/atoms/grid/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/grid/index.test.d.ts +1 -0
- package/build/esm/components/atoms/heading/index.d.ts +17 -0
- package/build/esm/components/atoms/heading/index.test.d.ts +1 -0
- package/build/esm/components/atoms/icons/ACharacter.d.ts +4 -0
- package/build/esm/components/atoms/icons/Activities.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowDown.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowLeft.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowRight.d.ts +4 -0
- package/build/esm/components/atoms/icons/Ask.d.ts +4 -0
- package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/BarChart.d.ts +4 -0
- package/build/esm/components/atoms/icons/Booking.d.ts +4 -0
- package/build/esm/components/atoms/icons/Bookmark.d.ts +4 -0
- package/build/esm/components/atoms/icons/Boy.d.ts +4 -0
- package/build/esm/components/atoms/icons/Calendar.d.ts +4 -0
- package/build/esm/components/atoms/icons/CalendarMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/CameraCircle.d.ts +4 -0
- package/build/esm/components/atoms/icons/Chat.d.ts +4 -0
- package/build/esm/components/atoms/icons/Check.d.ts +4 -0
- package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/CircleBorder.d.ts +4 -0
- package/build/esm/components/atoms/icons/Close.d.ts +4 -0
- package/build/esm/components/atoms/icons/Comment.d.ts +4 -0
- package/build/esm/components/atoms/icons/Community.d.ts +4 -0
- package/build/esm/components/atoms/icons/CrossLogo.d.ts +4 -0
- package/build/esm/components/atoms/icons/Current.d.ts +4 -0
- package/build/esm/components/atoms/icons/EditSpecial.d.ts +4 -0
- package/build/esm/components/atoms/icons/Endorse.d.ts +4 -0
- package/build/esm/components/atoms/icons/Family.d.ts +4 -0
- package/build/esm/components/atoms/icons/Font.d.ts +4 -0
- package/build/esm/components/atoms/icons/FullScreen.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderBoy.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderGirl.d.ts +4 -0
- package/build/esm/components/atoms/icons/Girl.d.ts +4 -0
- package/build/esm/components/atoms/icons/GroupPeople.d.ts +4 -0
- package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
- package/build/esm/components/atoms/icons/Heart.d.ts +4 -0
- package/build/esm/components/atoms/icons/Home.d.ts +4 -0
- package/build/esm/components/atoms/icons/Info.d.ts +4 -0
- package/build/esm/components/atoms/icons/Kebab.d.ts +4 -0
- package/build/esm/components/atoms/icons/Like.d.ts +4 -0
- package/build/esm/components/atoms/icons/Link.d.ts +4 -0
- package/build/esm/components/atoms/icons/Minus.d.ts +4 -0
- package/build/esm/components/atoms/icons/Missed.d.ts +4 -0
- package/build/esm/components/atoms/icons/MyCommunity.d.ts +4 -0
- package/build/esm/components/atoms/icons/MyHealth.d.ts +4 -0
- package/build/esm/components/atoms/icons/Oppose.d.ts +4 -0
- package/build/esm/components/atoms/icons/Plus.d.ts +5 -0
- package/build/esm/components/atoms/icons/PlusSpecial.d.ts +4 -0
- package/build/esm/components/atoms/icons/Post.d.ts +4 -0
- package/build/esm/components/atoms/icons/Recalculate.d.ts +4 -0
- package/build/esm/components/atoms/icons/Reply.d.ts +4 -0
- package/build/esm/components/atoms/icons/Scale.d.ts +4 -0
- package/build/esm/components/atoms/icons/Share.d.ts +4 -0
- package/build/esm/components/atoms/icons/ShieldCheck.d.ts +4 -0
- package/build/esm/components/atoms/icons/Smile.d.ts +4 -0
- package/build/esm/components/atoms/icons/Sparkle.d.ts +4 -0
- package/build/esm/components/atoms/icons/Stethoscope.d.ts +4 -0
- package/build/esm/components/atoms/icons/ToggleOff.d.ts +4 -0
- package/build/esm/components/atoms/icons/ToggleOn.d.ts +4 -0
- package/build/esm/components/atoms/icons/Trash.d.ts +4 -0
- package/build/esm/components/atoms/icons/Upcoming.d.ts +4 -0
- package/build/esm/components/atoms/icons/UserCheck.d.ts +4 -0
- package/build/esm/components/atoms/icons/Vaccinated.d.ts +4 -0
- package/build/esm/components/atoms/icons/Video.d.ts +4 -0
- package/build/esm/components/atoms/icons/index.d.ts +53 -0
- package/build/esm/components/atoms/imageWithHandler/index.d.ts +6 -0
- package/build/esm/components/atoms/imageWrap/index.d.ts +6 -0
- package/build/esm/components/atoms/index.d.ts +48 -0
- package/build/esm/components/atoms/input/index.d.ts +28 -0
- package/build/esm/components/atoms/input/index.styled.d.ts +8 -0
- package/build/esm/components/atoms/input/index.test.d.ts +1 -0
- package/build/esm/components/atoms/inputMB/index.d.ts +2 -0
- package/build/esm/components/atoms/inputMB/index.styled.d.ts +3 -0
- package/build/esm/components/atoms/label/index.d.ts +13 -0
- package/build/esm/components/atoms/label/index.test.d.ts +1 -0
- package/build/esm/components/atoms/logo/index.d.ts +24 -0
- package/build/esm/components/atoms/logo/index.styled.d.ts +2 -0
- package/build/esm/components/atoms/logo/index.test.d.ts +1 -0
- package/build/esm/components/atoms/logo/logoIcon.d.ts +8 -0
- package/build/esm/components/atoms/logo/utils.d.ts +5 -0
- package/build/esm/components/atoms/marryBabyText/index.d.ts +20 -0
- package/build/esm/components/atoms/marryBabyText/index.styled.d.ts +8 -0
- package/build/esm/components/atoms/menu/index.d.ts +10 -0
- package/build/esm/components/atoms/menu/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/menu/item.d.ts +7 -0
- package/build/esm/components/atoms/newBabyProfileRadio/index.d.ts +11 -0
- package/build/esm/components/atoms/newBabyProfileRadio/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/pagination/index.d.ts +14 -0
- package/build/esm/components/atoms/pagination/index.styled.d.ts +3 -0
- package/build/esm/components/atoms/pagination/index.test.d.ts +1 -0
- package/build/esm/components/atoms/pill/index.d.ts +13 -0
- package/build/esm/components/atoms/pill/index.styled.d.ts +9 -0
- package/build/esm/components/atoms/progress/index.d.ts +13 -0
- package/build/esm/components/atoms/progress/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/pureInput/index.d.ts +24 -0
- package/build/esm/components/atoms/pureInput/index.styled.d.ts +5 -0
- package/build/esm/components/atoms/pureInput/index.test.d.ts +1 -0
- package/build/esm/components/atoms/radio/index.d.ts +20 -0
- package/build/esm/components/atoms/radio/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/radio/index.test.d.ts +1 -0
- package/build/esm/components/atoms/radioImageGroup/index.d.ts +19 -0
- package/build/esm/components/atoms/radioImageGroup/index.styled.d.ts +2 -0
- package/build/esm/components/atoms/rateStars/StarEmptyIcon.d.ts +3 -0
- package/build/esm/components/atoms/rateStars/StarFullIcon.d.ts +3 -0
- package/build/esm/components/atoms/rateStars/StarHalfIcon.d.ts +3 -0
- package/build/esm/components/atoms/rateStars/index.d.ts +33 -0
- package/build/esm/components/atoms/rateStars/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/shadow/index.d.ts +9 -0
- package/build/esm/components/atoms/shadow/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/shadow/index.test.d.ts +1 -0
- package/build/esm/components/atoms/stepRenderer/index.d.ts +19 -0
- package/build/esm/components/atoms/tag/index.d.ts +17 -0
- package/build/esm/components/atoms/tag/index.styled.d.ts +11 -0
- package/build/esm/components/atoms/tag/index.test.d.ts +1 -0
- package/build/esm/components/atoms/text/index.d.ts +27 -0
- package/build/esm/components/atoms/textArea/index.d.ts +19 -0
- package/build/esm/components/atoms/textDivider/index.d.ts +10 -0
- package/build/esm/components/atoms/toggle/index.d.ts +14 -0
- package/build/esm/components/atoms/toggle/index.styled.d.ts +5 -0
- package/build/esm/components/atoms/toggle/index.test.d.ts +1 -0
- package/build/esm/components/atoms/underlinedLink/index.d.ts +13 -0
- package/build/esm/components/atoms/underlinedLink/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/underlinedLink/index.text.d.ts +1 -0
- package/build/esm/components/atoms/uploader/index.d.ts +17 -0
- package/build/esm/components/atoms/uploader/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/uploader/index.test.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthChart/chartConfig.d.ts +1113 -0
- package/build/esm/components/babyGrowth/babyGrowthChart/index.d.ts +26 -0
- package/build/esm/components/babyGrowth/babyGrowthChart/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +20 -0
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +3 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/index.d.ts +12 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/index.styled.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/utils/bmiCalculate.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/utils/localizeNumberFormat.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthGender/index.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthGender/index.styled.d.ts +3 -0
- package/build/esm/components/babyGrowth/babyGrowthLegend/index.d.ts +12 -0
- package/build/esm/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +2 -0
- package/build/esm/components/babyGrowth/babyGrowthProfileRadio/index.d.ts +10 -0
- package/build/esm/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthRecord/index.d.ts +16 -0
- package/build/esm/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthSwitch/index.d.ts +11 -0
- package/build/esm/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthTooltip/index.d.ts +11 -0
- package/build/esm/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/childCard/index.d.ts +26 -0
- package/build/esm/components/babyGrowth/childCard/index.styled.d.ts +3 -0
- package/build/esm/components/babyGrowth/childCard/menu.d.ts +13 -0
- package/build/esm/components/babyGrowth/index.d.ts +19 -0
- package/build/esm/components/index.d.ts +3 -0
- package/build/esm/components/mantine/CentralCarousel/index.d.ts +20 -0
- package/build/esm/components/mantine/CentralCarousel/index.styled.d.ts +2 -0
- package/build/esm/components/mantine/accordion/index.d.ts +13 -0
- package/build/esm/components/mantine/accordion/index.styled.d.ts +5 -0
- package/build/esm/components/mantine/anchor/index.d.ts +8 -0
- package/build/esm/components/mantine/anchor/index.styles.d.ts +11 -0
- package/build/esm/components/mantine/aspectRatio/index.d.ts +5 -0
- package/build/esm/components/mantine/aspectRatio/index.styled.d.ts +1 -0
- package/build/esm/components/mantine/avatar/index.d.ts +8 -0
- package/build/esm/components/mantine/badge/index.d.ts +7 -0
- package/build/esm/components/mantine/breadcrumbs/index.d.ts +13 -0
- package/build/esm/components/mantine/breadcrumbs/index.styled.d.ts +1 -0
- package/build/esm/components/mantine/breadcrumbs/item.d.ts +7 -0
- package/build/esm/components/mantine/button/index.d.ts +9 -0
- package/build/esm/components/mantine/button/index.styles.d.ts +17 -0
- package/build/esm/components/mantine/carousel/index.d.ts +10 -0
- package/build/esm/components/mantine/checkbox/index.d.ts +8 -0
- package/build/esm/components/mantine/datepicker/index.d.ts +10 -0
- package/build/esm/components/mantine/helpers.d.ts +2 -0
- package/build/esm/components/mantine/index.d.ts +61 -0
- package/build/esm/components/mantine/indicator/index.d.ts +4 -0
- package/build/esm/components/mantine/input/file.d.ts +5 -0
- package/build/esm/components/mantine/input/index.d.ts +27 -0
- package/build/esm/components/mantine/input/number.d.ts +8 -0
- package/build/esm/components/mantine/input/password.d.ts +5 -0
- package/build/esm/components/mantine/loadingOverlay/index.d.ts +5 -0
- package/build/esm/components/mantine/loadingOverlay/useLockBodyScroll.d.ts +1 -0
- package/build/esm/components/mantine/modal/index.d.ts +5 -0
- package/build/esm/components/mantine/modal/index.styles.d.ts +15 -0
- package/build/esm/components/mantine/otp/index.d.ts +18 -0
- package/build/esm/components/mantine/otp/index.helpers.d.ts +2 -0
- package/build/esm/components/mantine/phone/index.d.ts +14 -0
- package/build/esm/components/mantine/phone/index.helpers.d.ts +4 -0
- package/build/esm/components/mantine/popover/index.d.ts +16 -0
- package/build/esm/components/mantine/provider/index.d.ts +9 -0
- package/build/esm/components/mantine/radio/index.d.ts +10 -0
- package/build/esm/components/mantine/result/index.d.ts +17 -0
- package/build/esm/components/mantine/select/index.d.ts +11 -0
- package/build/esm/components/mantine/slider/index.d.ts +11 -0
- package/build/esm/components/mantine/slider/index.styled.d.ts +3 -0
- package/build/esm/components/mantine/spoiler/index.d.ts +15 -0
- package/build/esm/components/mantine/switch/index.d.ts +7 -0
- package/build/esm/components/mantine/tabs/index.d.ts +25 -0
- package/build/esm/components/mantine/tabs/index.styles.d.ts +22 -0
- package/build/esm/components/mantine/text/index.d.ts +12 -0
- package/build/esm/components/mantine/text/index.styled.d.ts +9 -0
- package/build/esm/components/mantine/text/index.styles.d.ts +12 -0
- package/build/esm/components/mantine/textArea/index.d.ts +5 -0
- package/build/esm/components/mantine/textArea/index.styled.d.ts +2 -0
- package/build/esm/components/mantine/theme/button.d.ts +7 -0
- package/build/esm/components/mantine/theme/checkbox.d.ts +11 -0
- package/build/esm/components/mantine/theme/heading.d.ts +16 -0
- package/build/esm/components/mantine/theme/index.d.ts +20 -0
- package/build/esm/components/mantine/theme/input.d.ts +57 -0
- package/build/esm/components/mantine/theme/other.d.ts +7 -0
- package/build/esm/components/mantine/theme/radio.d.ts +3 -0
- package/build/esm/components/mantine/theme/shared.d.ts +6 -0
- package/build/esm/components/mantine/theme/text.d.ts +63 -0
- package/build/esm/components/mantine/useMantineLocale.d.ts +7 -0
- package/build/esm/components/molecules/__deprecated_breadcrumbs/index.d.ts +34 -0
- package/build/esm/components/molecules/__deprecated_breadcrumbs/index.test.d.ts +1 -0
- package/build/esm/components/molecules/adBlock/fixedBottomAdBlock.d.ts +16 -0
- package/build/esm/components/molecules/adBlock/index.d.ts +45 -0
- package/build/esm/components/molecules/adBlock/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/addressInput/index.d.ts +12 -0
- package/build/esm/components/molecules/addressInput/useAddress.d.ts +14 -0
- package/build/esm/components/molecules/addressInput/utils.d.ts +2 -0
- package/build/esm/components/molecules/articleCard/_deprecated_index.d.ts +48 -0
- package/build/esm/components/molecules/articleCard/articleCard.styles.d.ts +15 -0
- package/build/esm/components/molecules/articleCard/cardAuthor.d.ts +17 -0
- package/build/esm/components/molecules/articleCard/cardExpert.d.ts +16 -0
- package/build/esm/components/molecules/articleCard/horizontal.d.ts +5 -0
- package/build/esm/components/molecules/articleCard/icons/affiliate.d.ts +2 -0
- package/build/esm/components/molecules/articleCard/icons/bookmarked.d.ts +6 -0
- package/build/esm/components/molecules/articleCard/icons/unbookmarked.d.ts +6 -0
- package/build/esm/components/molecules/articleCard/index.d.ts +25 -0
- package/build/esm/components/molecules/articleCard/vertical.d.ts +5 -0
- package/build/esm/components/molecules/bmiForm/index.d.ts +4 -0
- package/build/esm/components/molecules/bmiForm/index.styled.d.ts +7 -0
- package/build/esm/components/molecules/bmrForm/index.d.ts +17 -0
- package/build/esm/components/molecules/bmrForm/index.styled.d.ts +6 -0
- package/build/esm/components/molecules/categoryCard/index.d.ts +19 -0
- package/build/esm/components/molecules/categoryCard/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/checkboxGroup/index.d.ts +17 -0
- package/build/esm/components/molecules/checkboxGroup/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/checkboxGroup/index.test.d.ts +1 -0
- package/build/esm/components/molecules/cookieAcceptConfirm/index.d.ts +21 -0
- package/build/esm/components/molecules/cookieAcceptConfirm/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/cookieAcceptConfirm/index.test.d.ts +1 -0
- package/build/esm/components/molecules/datePicker/helpers.d.ts +11 -0
- package/build/esm/components/molecules/datePicker/index.d.ts +29 -0
- package/build/esm/components/molecules/datePicker/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/datePicker/index.test.d.ts +1 -0
- package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +11 -0
- package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -0
- package/build/esm/components/molecules/dateRangePicker/index.d.ts +17 -0
- package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/dateRangePicker/types.d.ts +4 -0
- package/build/esm/components/molecules/dateRangePicker/utils.d.ts +2 -0
- package/build/esm/components/molecules/doctorInfo/index.d.ts +9 -0
- package/build/esm/components/molecules/dropdown/index.d.ts +30 -0
- package/build/esm/components/molecules/dropdown/index.styled.d.ts +12 -0
- package/build/esm/components/molecules/dropdown/index.test.d.ts +1 -0
- package/build/esm/components/molecules/dropdownSearch/index.d.ts +27 -0
- package/build/esm/components/molecules/dropdownSearch/index.styled.d.ts +8 -0
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/index.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/index.styled.d.ts +6 -0
- package/build/esm/components/molecules/dueDateCalculator/utils.d.ts +12 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +14 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +10 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +14 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-poop/index.styles.d.ts +22 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +19 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +20 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +58 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +42 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/index.styled.d.ts +6 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +31 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +20 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +18 -0
- package/build/esm/components/molecules/floatButtonGroup/index.d.ts +24 -0
- package/build/esm/components/molecules/floatButtonGroup/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/iconText/index.d.ts +10 -0
- package/build/esm/components/molecules/iconText/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/iconText/index.test.d.ts +1 -0
- package/build/esm/components/molecules/index.d.ts +60 -0
- package/build/esm/components/molecules/languageSwitcher/index.d.ts +13 -0
- package/build/esm/components/molecules/languageSwitcher/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +19 -0
- package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +5 -0
- package/build/esm/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +13 -0
- package/build/esm/components/molecules/mobileBottomNavigation/index.d.ts +13 -0
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +8 -0
- package/build/esm/components/molecules/modal/index.d.ts +19 -0
- package/build/esm/components/molecules/modal/index.styled.d.ts +5 -0
- package/build/esm/components/molecules/modal/index.test.d.ts +1 -0
- package/build/esm/components/molecules/ovulationCalculator/index.d.ts +16 -0
- package/build/esm/components/molecules/ovulationCalculator/ovulationForm.d.ts +15 -0
- package/build/esm/components/molecules/pillCarousel/index.d.ts +19 -0
- package/build/esm/components/molecules/pillCarousel/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/popup/index.d.ts +12 -0
- package/build/esm/components/molecules/popup/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/popup/index.test.d.ts +1 -0
- package/build/esm/components/molecules/progressBar/index.d.ts +17 -0
- package/build/esm/components/molecules/progressBar/index.styled.d.ts +12 -0
- package/build/esm/components/molecules/progressBar/index.test.d.ts +1 -0
- package/build/esm/components/molecules/radioGroup/index.d.ts +26 -0
- package/build/esm/components/molecules/radioGroup/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/radioGroup/index.test.d.ts +1 -0
- package/build/esm/components/molecules/radioImageGroupForTool/index.d.ts +17 -0
- package/build/esm/components/molecules/radioImageGroupForTool/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/scrollList/index.d.ts +38 -0
- package/build/esm/components/molecules/scrollList/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/seoHead/index.d.ts +49 -0
- package/build/esm/components/molecules/shareContainer/index.d.ts +11 -0
- package/build/esm/components/molecules/shareContainer/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/shareDrawer/index.d.ts +12 -0
- package/build/esm/components/molecules/shareDrawer/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/sidemenu/index.d.ts +4 -0
- package/build/esm/components/molecules/sidemenu/index.test.d.ts +1 -0
- package/build/esm/components/molecules/sidemenu/menuLink.d.ts +16 -0
- package/build/esm/components/molecules/sidemenu/sideHeader.d.ts +9 -0
- package/build/esm/components/molecules/sidemenu/sideMenu.d.ts +9 -0
- package/build/esm/components/molecules/sidemenu/test.d.ts +3 -0
- package/build/esm/components/molecules/sidemenu/userInfo.d.ts +9 -0
- package/build/esm/components/molecules/starsRatingBox/index.d.ts +23 -0
- package/build/esm/components/molecules/starsRatingBox/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/statisticCard/index.d.ts +12 -0
- package/build/esm/components/molecules/statisticCard/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/statisticCard/index.test.d.ts +1 -0
- package/build/esm/components/molecules/surveyQuestionCard/index.d.ts +2 -0
- package/build/esm/components/molecules/surveyQuestionCard/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/surveyQuestionCard/index.test.d.ts +1 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +28 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +38 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyRadio.d.ts +16 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +8 -0
- package/build/esm/components/molecules/table/index.d.ts +5 -0
- package/build/esm/components/molecules/table/index.test.d.ts +1 -0
- package/build/esm/components/molecules/table/table.d.ts +10 -0
- package/build/esm/components/molecules/table/tableBody.d.ts +10 -0
- package/build/esm/components/molecules/table/tableCell.d.ts +10 -0
- package/build/esm/components/molecules/table/tableHead.d.ts +9 -0
- package/build/esm/components/molecules/table/tableRow.d.ts +11 -0
- package/build/esm/components/molecules/tabs/index.d.ts +27 -0
- package/build/esm/components/molecules/tabs/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/tabs/index.styles.d.ts +12 -0
- package/build/esm/components/molecules/tabs/index.test.d.ts +1 -0
- package/build/esm/components/molecules/thrForm/index.d.ts +15 -0
- package/build/esm/components/molecules/thrForm/index.styled.d.ts +7 -0
- package/build/esm/components/molecules/toolBannerCard/index.d.ts +18 -0
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +24 -0
- package/build/esm/components/molecules/weightGainForm/index.d.ts +13 -0
- package/build/esm/components/molecules/weightGainForm/index.styled.d.ts +20 -0
- package/build/esm/components/navigationV2/components/atoms/ArrowLeftPopupIcon.d.ts +2 -0
- package/build/esm/components/navigationV2/components/atoms/ClosePopupIcon.d.ts +6 -0
- package/build/esm/components/navigationV2/components/atoms/HamburgerIcon.d.ts +11 -0
- package/build/esm/components/navigationV2/components/atoms/ItemNav/index.d.ts +12 -0
- package/build/esm/components/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +6 -0
- package/build/esm/components/navigationV2/components/atoms/PopupWrapper/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/atoms/SearchIcon.d.ts +2 -0
- package/build/esm/components/navigationV2/components/atoms/searchInput/index.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/Categories/index.d.ts +16 -0
- package/build/esm/components/navigationV2/components/molecules/Categories/index.styled.d.ts +7 -0
- package/build/esm/components/navigationV2/components/molecules/Spotlights/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/Spotlights/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/Item/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.d.ts +11 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +11 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +7 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +6 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +12 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +23 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/bookingButton/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +11 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/spotlightNoData/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +5 -0
- package/build/esm/components/navigationV2/constants.d.ts +59 -0
- package/build/esm/components/navigationV2/hooks/useHeaderHeight.d.ts +12 -0
- package/build/esm/components/navigationV2/hooks/useInsider.d.ts +1 -0
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +28 -0
- package/build/esm/components/navigationV2/hooks/useNavServices.d.ts +2 -0
- package/build/esm/components/navigationV2/index.d.ts +56 -0
- package/build/esm/components/navigationV2/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/navigationContext.d.ts +10 -0
- package/build/esm/components/navigationV2/types.d.ts +243 -0
- package/build/esm/components/navigationV2/utils.d.ts +57 -0
- package/build/esm/components/onboarding/context.d.ts +7 -0
- package/build/esm/components/onboarding/dynamicForm/index.d.ts +9 -0
- package/build/esm/components/onboarding/dynamicForm/index.styled.d.ts +1 -0
- package/build/esm/components/onboarding/generateSchema.d.ts +40 -0
- package/build/esm/components/onboarding/index.d.ts +20 -0
- package/build/esm/components/onboarding/onboardingForm/default.d.ts +13 -0
- package/build/esm/components/onboarding/onboardingForm/index.d.ts +19 -0
- package/build/esm/components/onboarding/onboardingForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboarding/onboardingForm/similac.d.ts +22 -0
- package/build/esm/components/onboarding/onboardingModal/index.d.ts +37 -0
- package/build/esm/components/onboarding/onboardingModal/index.styled.d.ts +7 -0
- package/build/esm/components/onboarding/otpForm/index.d.ts +14 -0
- package/build/esm/components/onboarding/otpForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboarding/personalInfoForm/index.d.ts +16 -0
- package/build/esm/components/onboarding/personalInfoForm/index.styled.d.ts +1 -0
- package/build/esm/components/onboarding/updatePassword/index.d.ts +11 -0
- package/build/esm/components/onboarding/utils.d.ts +12 -0
- package/build/esm/components/onboardingV2/context.d.ts +20 -0
- package/build/esm/components/onboardingV2/dynamicForm/context.d.ts +2 -0
- package/build/esm/components/onboardingV2/dynamicForm/index.d.ts +24 -0
- package/build/esm/components/onboardingV2/dynamicForm/index.styled.d.ts +8 -0
- package/build/esm/components/onboardingV2/frisoForm/index.d.ts +40 -0
- package/build/esm/components/onboardingV2/frisoForm/schema.d.ts +16 -0
- package/build/esm/components/onboardingV2/index.d.ts +43 -0
- package/build/esm/components/onboardingV2/index.styled.d.ts +7 -0
- package/build/esm/components/onboardingV2/modal.d.ts +13 -0
- package/build/esm/components/onboardingV2/onboardingForm/index.d.ts +14 -0
- package/build/esm/components/onboardingV2/onboardingForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/onboardingForm/schema.d.ts +8 -0
- package/build/esm/components/onboardingV2/onboardingUI/index.d.ts +9 -0
- package/build/esm/components/onboardingV2/onboardingUI/index.styled.d.ts +4 -0
- package/build/esm/components/onboardingV2/otpForm/email.d.ts +11 -0
- package/build/esm/components/onboardingV2/otpForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/otpForm/phone.d.ts +11 -0
- package/build/esm/components/onboardingV2/otpForm/schema.d.ts +8 -0
- package/build/esm/components/onboardingV2/personalInfoForm/index.d.ts +16 -0
- package/build/esm/components/onboardingV2/personalInfoForm/index.styled.d.ts +1 -0
- package/build/esm/components/onboardingV2/personalInfoForm/schema.d.ts +10 -0
- package/build/esm/components/onboardingV2/provider.d.ts +7 -0
- package/build/esm/components/onboardingV2/resultScreen/index.d.ts +6 -0
- package/build/esm/components/onboardingV2/similacForm/index.d.ts +23 -0
- package/build/esm/components/onboardingV2/similacForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/similacForm/schema.d.ts +16 -0
- package/build/esm/components/onboardingV2/stepRenderer.d.ts +11 -0
- package/build/esm/components/onboardingV2/thankyou/index.d.ts +11 -0
- package/build/esm/components/onboardingV2/thankyou/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/types.d.ts +16 -0
- package/build/esm/components/onboardingV2/updatePasswordForm/index.d.ts +11 -0
- package/build/esm/components/onboardingV2/updatePasswordForm/schema.d.ts +10 -0
- package/build/esm/components/onboardingV2/utils.d.ts +12 -0
- package/build/esm/components/organisms/footer/discoverFooter/index.d.ts +11 -0
- package/build/esm/components/organisms/footer/index.d.ts +21 -0
- package/build/esm/components/organisms/footer/maryBabyFooter/index.d.ts +11 -0
- package/build/esm/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +23 -0
- package/build/esm/components/organisms/heroBannerHealthTool/index.d.ts +12 -0
- package/build/esm/components/organisms/heroBannerHealthTool/index.styled.d.ts +10 -0
- package/build/esm/components/organisms/index.d.ts +6 -0
- package/build/esm/components/organisms/navigationLogoutPopup/index.d.ts +9 -0
- package/build/esm/components/organisms/navigationLogoutPopup/index.styled.d.ts +6 -0
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +24 -0
- package/build/esm/components/organisms/navigationProfileButton/index.styled.d.ts +9 -0
- package/build/esm/components/organisms/navigationProfileButton/popupWrapper.d.ts +14 -0
- package/build/esm/components/organisms/navigationProfileButton/profilePopup.d.ts +23 -0
- package/build/esm/components/organisms/userProfileNavigation/constants.d.ts +8 -0
- package/build/esm/components/organisms/userProfileNavigation/index.d.ts +34 -0
- package/build/esm/components/organisms/userProfileNavigation/navHeader/index.d.ts +10 -0
- package/build/esm/components/organisms/userProfileNavigation/navMenu/index.d.ts +9 -0
- package/build/esm/components/organisms/userProfileNavigation/navMenu/items.d.ts +3 -0
- package/build/esm/components/organisms/userProfileNavigation/navigationCard/index.d.ts +10 -0
- package/build/esm/components/organisms/userProfileNavigation/types.d.ts +17 -0
- package/build/esm/components/organisms/userProfileNavigation/userStats/index.d.ts +9 -0
- package/build/esm/components/pregnancyWeightGain/index.d.ts +2 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/chartConfig.d.ts +36 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +18 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +7 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedAxisTick.d.ts +2 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedTooltipLabel.d.ts +4 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.d.ts +3 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +3 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +12 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +1 -0
- package/build/esm/components/ui/cardArticle/element/index.d.ts +7 -0
- package/build/esm/components/ui/cardArticle/index.d.ts +13 -0
- package/build/esm/components/ui/cardAuthor/element/index.d.ts +13 -0
- package/build/esm/components/ui/cardAuthor/index.d.ts +22 -0
- package/build/esm/components/ui/index.d.ts +1 -0
- package/build/esm/components/ui/loading/index.d.ts +7 -0
- package/build/esm/components/ui/onboarding/index.d.ts +9 -0
- package/build/esm/components/ui/onboarding/index.styled.d.ts +4 -0
- package/build/esm/components/ui/thumbnail/index.d.ts +13 -0
- package/build/esm/components/vaccination/helpers.d.ts +11 -0
- package/build/esm/components/vaccination/index.d.ts +13 -0
- package/build/esm/components/vaccination/shared/badge.d.ts +9 -0
- package/build/esm/components/vaccination/shared/cardIcon.d.ts +8 -0
- package/build/esm/components/vaccination/shared/dose.d.ts +10 -0
- package/build/esm/components/vaccination/shared/index.d.ts +2 -0
- package/build/esm/components/vaccination/vaccinationFilter/helper.d.ts +4 -0
- package/build/esm/components/vaccination/vaccinationFilter/index.d.ts +7 -0
- package/build/esm/components/vaccination/vaccineCard/immunization.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineCard/index.d.ts +34 -0
- package/build/esm/components/vaccination/vaccineCard/index.styled.d.ts +4 -0
- package/build/esm/components/vaccination/vaccineCard/modal.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineCard/status.d.ts +7 -0
- package/build/esm/components/vaccination/vaccineCard/timeline.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/confirmModal.d.ts +8 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/default.d.ts +16 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/detail.d.ts +8 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/icon.d.ts +6 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/immunization.d.ts +14 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/index.d.ts +18 -0
- package/build/esm/components/vaccination/vaccineImmunization/header.d.ts +8 -0
- package/build/esm/components/vaccination/vaccineImmunization/index.d.ts +9 -0
- package/build/esm/components/vaccination/vaccineImmunization/index.styled.d.ts +2 -0
- package/build/esm/components/vaccination/vaccineImmunization/warning.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +17 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +5 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/records.d.ts +11 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +10 -0
- package/build/esm/components/vaccination/vaccineTimelineBanner/index.d.ts +12 -0
- package/build/esm/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +1 -0
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/core-984c4736.js +1 -0
- package/build/esm/dataTransform-184ab4c2.js +1 -0
- package/build/esm/ecom/dataFormatter/index.d.ts +43 -0
- package/build/esm/ecom/dataFormatter/lib/apiTypes.d.ts +575 -0
- package/build/esm/ecom/dataFormatter/lib/dataTypes.d.ts +483 -0
- package/build/esm/ecom/dataFormatter/lib/utils.d.ts +10 -0
- package/build/esm/ecom/index.d.ts +5 -0
- package/build/esm/ecom/interfaces/constants.d.ts +129 -0
- package/build/esm/ecom/interfaces/types.d.ts +85 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-e5f4e038.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-87f06b05.js +1 -0
- package/build/esm/getSocialList-2cd20b1e.js +1 -0
- package/build/esm/hooks/index.d.ts +11 -0
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +10 -0
- package/build/esm/hooks/useDragScroll.d.ts +10 -0
- package/build/esm/hooks/useDropdownSearch.d.ts +15 -0
- package/build/esm/hooks/useFbDataLayer.d.ts +2 -0
- package/build/esm/hooks/useGeolocation.d.ts +7 -0
- package/build/esm/hooks/useGetIsMobile.d.ts +2 -0
- package/build/esm/hooks/useHealthToolCache.d.ts +5 -0
- package/build/esm/hooks/useImageSize.d.ts +5 -0
- package/build/esm/hooks/useImagesPicker.d.ts +8 -0
- package/build/esm/hooks/useInitialMount.d.ts +3 -0
- package/build/esm/hooks/useIsInit.d.ts +1 -0
- package/build/esm/hooks/useOutsideClick.d.ts +7 -0
- package/build/esm/hooks/usePlacesAutocomplete.d.ts +17 -0
- package/build/esm/hooks/usePrevious.d.ts +3 -0
- package/build/esm/hooks/useRafState.d.ts +3 -0
- package/build/esm/hooks/useScreenSize.d.ts +4 -0
- package/build/esm/hooks/useScrollbarSize.d.ts +9 -0
- package/build/esm/hooks/useTranslations.d.ts +9 -0
- package/build/esm/hooks/useUniqueId.d.ts +5 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n/index.d.ts +2 -0
- package/build/esm/i18n/indexV2.d.ts +2 -0
- package/build/esm/i18n/translationKeys.d.ts +1 -0
- package/build/esm/i18n/translationsContext.d.ts +14 -0
- package/build/esm/i18n/translationsProvider.d.ts +24 -0
- package/build/esm/i18n/translationsProviderV2.d.ts +13 -0
- package/build/esm/i18n-values/my-MM.js +1 -0
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -0
- package/build/esm/icons/Cambodia.d.ts +4 -0
- package/build/esm/icons/CaretDown.d.ts +4 -0
- package/build/esm/icons/CheckCircle.d.ts +4 -0
- package/build/esm/icons/ChevronDown.d.ts +4 -0
- package/build/esm/icons/ChevronLeft.d.ts +4 -0
- package/build/esm/icons/ChevronRight.d.ts +4 -0
- package/build/esm/icons/ChevronUp.d.ts +4 -0
- package/build/esm/icons/Circle.d.ts +4 -0
- package/build/esm/icons/Close.d.ts +4 -0
- package/build/esm/icons/EmailCheck.d.ts +4 -0
- package/build/esm/icons/EmailFail.d.ts +4 -0
- package/build/esm/icons/Facebook.d.ts +4 -0
- package/build/esm/icons/Google.d.ts +4 -0
- package/build/esm/icons/InVisible.d.ts +4 -0
- package/build/esm/icons/India.d.ts +4 -0
- package/build/esm/icons/Indonesia.d.ts +4 -0
- package/build/esm/icons/Malaysia.d.ts +4 -0
- package/build/esm/icons/Myanmar.d.ts +4 -0
- package/build/esm/icons/Phillipines.d.ts +4 -0
- package/build/esm/icons/Spinning.d.ts +4 -0
- package/build/esm/icons/Taiwan.d.ts +4 -0
- package/build/esm/icons/Thailand.d.ts +4 -0
- package/build/esm/icons/Vietnam.d.ts +4 -0
- package/build/esm/icons/Visible.d.ts +4 -0
- package/build/esm/icons/index.d.ts +25 -0
- package/build/esm/index-017fcff0.js +3831 -0
- package/build/esm/index-28ef67ba.js +1 -0
- package/build/esm/index-2ae479cb.js +1 -0
- package/build/esm/index-2b5c7551.js +1 -0
- package/build/esm/index-313abbe7.js +1249 -0
- package/build/esm/index-345735b2.js +1 -0
- package/build/esm/index-3a275e6e.js +1 -0
- package/build/esm/index-4962ee5f.js +1 -0
- package/build/esm/index-4ab84ac4.js +1 -0
- package/build/esm/index-4d7073b2.js +113 -0
- package/build/esm/index-523b1b14.js +1 -0
- package/build/esm/index-5f2099c0.js +177 -0
- package/build/esm/index-652e4433.js +93 -0
- package/build/esm/index-721531e5.js +1 -0
- package/build/esm/index-80254186.js +1 -0
- package/build/esm/index-8e5ea93d.js +1 -0
- package/build/esm/index-c0b0f973.js +1 -0
- package/build/esm/index-ce34240e.js +1 -0
- package/build/esm/index-d54980b1.js +1 -0
- package/build/esm/index-d61e91ec.js +1 -0
- package/build/esm/index-dc00bc5f.js +53 -0
- package/build/esm/index-de62b22b.js +1 -0
- package/build/esm/index-e2ac57b5.js +1 -0
- package/build/esm/index-f86c8643.js +112 -0
- package/build/esm/index-f963f3c7.js +1 -0
- package/build/esm/index.d.ts +8 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-739f456f.js +50 -0
- package/build/esm/index.styled-743f922f.js +69 -0
- package/build/esm/index.styled-9f109ae2.js +130 -0
- package/build/esm/index.styled-e1a4a33c.js +1874 -0
- package/build/esm/interfaces/baby-growth/errorMessage.d.ts +13 -0
- package/build/esm/interfaces/constants/index.d.ts +85 -0
- package/build/esm/interfaces/constants/isProduction.d.ts +1 -0
- package/build/esm/interfaces/constants/site.d.ts +28 -0
- package/build/esm/interfaces/types/Address.d.ts +4 -0
- package/build/esm/interfaces/types/BabyGrowth.d.ts +129 -0
- package/build/esm/interfaces/types/BabyVaccination.d.ts +134 -0
- package/build/esm/interfaces/types/HealthTool.d.ts +18 -0
- package/build/esm/interfaces/types/Locale.d.ts +12 -0
- package/build/esm/interfaces/types/Onboarding.d.ts +21 -0
- package/build/esm/interfaces/types/index.d.ts +116 -0
- package/build/esm/lead/constants.d.ts +79 -0
- package/build/esm/lead/i18n/index.d.ts +1 -0
- package/build/esm/lead/index.d.ts +12 -0
- package/build/esm/lead/layouts/centerTab.d.ts +10 -0
- package/build/esm/lead/layouts/closeButton.d.ts +6 -0
- package/build/esm/lead/layouts/floating.d.ts +15 -0
- package/build/esm/lead/layouts/inline.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/fields/index.d.ts +9 -0
- package/build/esm/lead/layouts/lightbox/fields/locationBlock.d.ts +6 -0
- package/build/esm/lead/layouts/lightbox/fields/subtitleBlock.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/fields/titleBlock.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/formContext.d.ts +12 -0
- package/build/esm/lead/layouts/lightbox/index.d.ts +29 -0
- package/build/esm/lead/layouts/lightbox/otpBlock.d.ts +6 -0
- package/build/esm/lead/layouts/sidebar.d.ts +4 -0
- package/build/esm/lead/layouts/skin.d.ts +12 -0
- package/build/esm/lead/layouts/tab.d.ts +9 -0
- package/build/esm/lead/leadGenContext.d.ts +9 -0
- package/build/esm/lead/newLeadPopup.d.ts +24 -0
- package/build/esm/lead/services/index.d.ts +20 -0
- package/build/esm/lead/store/index.d.ts +6 -0
- package/build/esm/lead/thankyou.d.ts +11 -0
- package/build/esm/lead/utils/checkUsedEmailOrPhone.d.ts +11 -0
- package/build/esm/lead/utils.d.ts +10 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc/ageGenerate.d.ts +5 -0
- package/build/esm/misc/animation.d.ts +10 -0
- package/build/esm/misc/callApi/helpers.d.ts +4 -0
- package/build/esm/misc/callApi/index.d.ts +24 -0
- package/build/esm/misc/callApi/instance.d.ts +11 -0
- package/build/esm/misc/callApi/interceptors.d.ts +6 -0
- package/build/esm/misc/cookieHelper.d.ts +8 -0
- package/build/esm/misc/dataTransform.d.ts +2 -0
- package/build/esm/misc/defaultClassWrapper.d.ts +4 -0
- package/build/esm/misc/gAssets/gAssets.test.d.ts +1 -0
- package/build/esm/misc/gAssets/index.d.ts +7 -0
- package/build/esm/misc/getDynamicHealthTool.d.ts +4 -0
- package/build/esm/misc/getSocialList.d.ts +7 -0
- package/build/esm/misc/index.d.ts +13 -0
- package/build/esm/misc/link.d.ts +2 -0
- package/build/esm/misc/localizeNumberFormat.d.ts +2 -0
- package/build/esm/misc/mockTheme.d.ts +5 -0
- package/build/esm/misc/noop.d.ts +1 -0
- package/build/esm/misc/normalizeLink.d.ts +3 -0
- package/build/esm/misc/number.d.ts +1 -0
- package/build/esm/misc/routing.d.ts +5 -0
- package/build/esm/misc/screenSizeContext.d.ts +23 -0
- package/build/esm/misc/theme.d.ts +366 -0
- package/build/esm/misc/unifyEnv.d.ts +22 -0
- package/build/esm/misc/utils.d.ts +58 -0
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/routing-d95608ce.js +1 -0
- package/build/esm/screenSizeContext-daa144e8.js +81 -0
- package/build/esm/test/testTranslationProvider.d.ts +4 -0
- package/build/esm/together/api/dataTransform.d.ts +43 -0
- package/build/esm/together/api/paths.d.ts +156 -0
- package/build/esm/together/api/utils.d.ts +67 -0
- package/build/esm/together/components/atoms/cardLink/index.d.ts +12 -0
- package/build/esm/together/components/atoms/cardLink/index.styled.d.ts +3 -0
- package/build/esm/together/components/atoms/cardReactions/context.d.ts +12 -0
- package/build/esm/together/components/atoms/cardReactions/element/index.d.ts +8 -0
- package/build/esm/together/components/atoms/cardReactions/index.d.ts +34 -0
- package/build/esm/together/components/atoms/index.d.ts +8 -0
- package/build/esm/together/components/atoms/labelSortPin/index.d.ts +11 -0
- package/build/esm/together/components/atoms/labelSortPin/index.styled.d.ts +1 -0
- package/build/esm/together/components/atoms/labelSortPin/labelPin.d.ts +9 -0
- package/build/esm/together/components/atoms/labelSortPin/labelSorting.d.ts +31 -0
- package/build/esm/together/components/atoms/loading/index.d.ts +7 -0
- package/build/esm/together/components/atoms/loading/index.styled.d.ts +2 -0
- package/build/esm/together/components/atoms/loading/loadingCard.d.ts +7 -0
- package/build/esm/together/components/atoms/notificationBar/index.d.ts +9 -0
- package/build/esm/together/components/atoms/notificationBar/index.styled.d.ts +7 -0
- package/build/esm/together/components/atoms/sensitiveMask/index.d.ts +12 -0
- package/build/esm/together/components/atoms/sensitiveMask/index.styled.d.ts +4 -0
- package/build/esm/together/components/atoms/tagTopic/index.d.ts +25 -0
- package/build/esm/together/components/atoms/userAvatar/index.d.ts +11 -0
- package/build/esm/together/components/atoms/userAvatar/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/cardAuthor/index.d.ts +63 -0
- package/build/esm/together/components/molecules/cardAuthor/index.styles.d.ts +9 -0
- package/build/esm/together/components/molecules/createNewPostContent/index.d.ts +22 -0
- package/build/esm/together/components/molecules/createNewPostContent/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/createPostDescription/editor.d.ts +20 -0
- package/build/esm/together/components/molecules/createPostDescription/index.d.ts +19 -0
- package/build/esm/together/components/molecules/createPostDescription/index.styled.d.ts +2 -0
- package/build/esm/together/components/molecules/createPostTitle/index.d.ts +9 -0
- package/build/esm/together/components/molecules/createPostTitle/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/index.d.ts +22 -0
- package/build/esm/together/components/molecules/inputCommentBar/index.d.ts +19 -0
- package/build/esm/together/components/molecules/inputCommentBar/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +9 -0
- package/build/esm/together/components/molecules/popupDanger/index.d.ts +21 -0
- package/build/esm/together/components/molecules/popupDanger/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/popupDoctor/index.d.ts +16 -0
- package/build/esm/together/components/molecules/popupDoctor/index.styled.d.ts +8 -0
- package/build/esm/together/components/molecules/popupExpert/index.d.ts +29 -0
- package/build/esm/together/components/molecules/popupExpert/index.styled.d.ts +7 -0
- package/build/esm/together/components/molecules/popupFrame/index.d.ts +12 -0
- package/build/esm/together/components/molecules/popupFrame/index.styled.d.ts +5 -0
- package/build/esm/together/components/molecules/popupFrame/popupShare.d.ts +12 -0
- package/build/esm/together/components/molecules/popupHospital/index.d.ts +33 -0
- package/build/esm/together/components/molecules/popupHospital/index.styled.d.ts +7 -0
- package/build/esm/together/components/molecules/postContent/index.d.ts +23 -0
- package/build/esm/together/components/molecules/postContent/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/postContent/index.styles.d.ts +8 -0
- package/build/esm/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +11 -0
- package/build/esm/together/components/molecules/postImagePreview/index.d.ts +12 -0
- package/build/esm/together/components/molecules/postImagePreview/index.styled.d.ts +4 -0
- package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +8 -0
- package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +5 -0
- package/build/esm/together/components/molecules/profileDetail/about/articleCard/index.d.ts +7 -0
- package/build/esm/together/components/molecules/profileDetail/about/index.d.ts +7 -0
- package/build/esm/together/components/molecules/profileDetail/answering/index.d.ts +11 -0
- package/build/esm/together/components/molecules/profileDetail/answering/postCard/index.d.ts +13 -0
- package/build/esm/together/components/molecules/profileDetail/care/index.d.ts +3 -0
- package/build/esm/together/components/molecules/profileDetail/care/questionCard/index.d.ts +15 -0
- package/build/esm/together/components/molecules/profileDetail/context.d.ts +21 -0
- package/build/esm/together/components/molecules/profileDetail/emptyMessage/index.d.ts +9 -0
- package/build/esm/together/components/molecules/profileDetail/index.d.ts +45 -0
- package/build/esm/together/components/molecules/profileDetail/posts/index.d.ts +3 -0
- package/build/esm/together/components/molecules/profileDetail/posts/postCard/index.d.ts +13 -0
- package/build/esm/together/components/molecules/profileDetail/types.d.ts +21 -0
- package/build/esm/together/components/molecules/profileDetail/utils/dataTransform.d.ts +3 -0
- package/build/esm/together/components/molecules/profileDetail/utils/types.d.ts +32 -0
- package/build/esm/together/components/molecules/profileDetailModal/index.d.ts +9 -0
- package/build/esm/together/components/molecules/shareBox/index.d.ts +9 -0
- package/build/esm/together/components/molecules/shareBox/index.styled.d.ts +2 -0
- package/build/esm/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +15 -0
- package/build/esm/together/components/molecules/socialLinkPreview/index.d.ts +10 -0
- package/build/esm/together/components/molecules/socialLinkPreview/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/submitReportForm/index.d.ts +11 -0
- package/build/esm/together/components/molecules/submitReportForm/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/topicSelectList/index.d.ts +16 -0
- package/build/esm/together/components/molecules/topicSelectList/index.styled.d.ts +1 -0
- package/build/esm/together/components/organisms/cardPost/cardPostPopover.d.ts +14 -0
- package/build/esm/together/components/organisms/cardPost/index.d.ts +30 -0
- package/build/esm/together/components/organisms/cardPost/index.styled.d.ts +1 -0
- package/build/esm/together/components/organisms/cardReply/cardReplyPopover.d.ts +7 -0
- package/build/esm/together/components/organisms/cardReply/index.d.ts +22 -0
- package/build/esm/together/components/organisms/cardReply/index.styled.d.ts +3 -0
- package/build/esm/together/components/organisms/cardReply/verifiedTag/index.d.ts +7 -0
- package/build/esm/together/components/organisms/index.d.ts +7 -0
- package/build/esm/together/components/organisms/popoverMenu/index.d.ts +16 -0
- package/build/esm/together/components/organisms/popoverMenu/index.styled.d.ts +2 -0
- package/build/esm/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +29 -0
- package/build/esm/together/components/organisms/sourceList/index.d.ts +10 -0
- package/build/esm/together/components/organisms/sourceList/index.styled.d.ts +5 -0
- package/build/esm/together/components/organisms/sourceList/recommentCategories/index.d.ts +7 -0
- package/build/esm/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +6 -0
- package/build/esm/together/components/organisms/sourceList/sourceItem/index.d.ts +7 -0
- package/build/esm/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +2 -0
- package/build/esm/together/hooks/useTogetherAuthRequiredAction.d.ts +23 -0
- package/build/esm/together/index.d.ts +8 -0
- package/build/esm/together/interfaces/constants.d.ts +106 -0
- package/build/esm/together/interfaces/types.d.ts +1609 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +76 -0
- package/build/esm/together/utils/apiActions/comment.d.ts +31 -0
- package/build/esm/together/utils/apiActions/community.d.ts +6 -0
- package/build/esm/together/utils/apiActions/post.d.ts +50 -0
- package/build/esm/together/utils/apiActions/topic.d.ts +7 -0
- package/build/esm/together/utils/notification.d.ts +7 -0
- package/build/esm/together/utils/post.d.ts +43 -0
- package/build/esm/together.js +1 -1
- package/build/esm/types-a6ba9985.js +3078 -0
- package/build/esm/types-b8801232.js +339 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-c0ff7dd7.js +1 -0
- package/build/esm/useRafState-d0bb9704.js +1 -0
- package/build/esm/useTranslations-27ed0471.js +1 -0
- package/build/esm/utils-f6a98198.js +1 -0
- package/build/esm/vaccination.js +5 -5
- package/build/fixedBottomAdBlock-b27917d3.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-c9bdc022.js +1 -0
- package/build/getSocialList-15467d1f.js +1 -0
- package/build/hooks.js +1 -1
- package/build/i18n/index.d.ts +0 -1
- package/build/i18n/indexV2.d.ts +2 -0
- package/build/i18n/translationsContext.d.ts +5 -2
- package/build/i18n/translationsProvider.d.ts +8 -1
- package/build/i18n/translationsProviderV2.d.ts +13 -0
- package/build/i18n-values/en-PH.js +1 -0
- package/build/i18n-values/hi-IN.js +1 -0
- package/build/i18n-values/id-ID.js +1 -0
- package/build/i18n-values/km-KH.js +1 -0
- package/build/i18n-values/ms-MY.js +1 -0
- package/build/i18n-values/my-MM.js +1 -0
- package/build/i18n-values/th-TH.js +1 -0
- package/build/i18n-values/tl-PH.js +1 -0
- package/build/i18n-values/vi-VN.js +1 -0
- package/build/i18n-values/vi-VN_MB.js +1 -0
- package/build/i18n-values/zh-TW.js +1 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -0
- package/build/index-195ff04d.js +1 -0
- package/build/index-1aab065c.js +1 -0
- package/build/index-2c5da73d.js +3831 -0
- package/build/index-3dcf1cc5.js +1 -0
- package/build/index-3f9f042b.js +112 -0
- package/build/index-4f4f12e2.js +1 -0
- package/build/index-5f4e003c.js +1 -0
- package/build/index-64027e80.js +1 -0
- package/build/index-73977093.js +177 -0
- package/build/index-747fafa8.js +1 -0
- package/build/index-7bb52fd2.js +1 -0
- package/build/index-844c3af5.js +1 -0
- package/build/index-8572a1e3.js +93 -0
- package/build/index-873c7d5c.js +1249 -0
- package/build/index-947a97a6.js +1 -0
- package/build/index-97beea5c.js +1 -0
- package/build/index-985ca96c.js +1 -0
- package/build/index-aa465abf.js +113 -0
- package/build/index-afddf6c8.js +1 -0
- package/build/index-b92cd1db.js +1 -0
- package/build/index-c3b4347a.js +1 -0
- package/build/index-c4bda44d.js +1 -0
- package/build/index-eeb7cc40.js +1 -0
- package/build/index-f639d15c.js +53 -0
- package/build/index-f9f1f3ff.js +1 -0
- package/build/index.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/index.styled-41cc3c31.js +1874 -0
- package/build/index.styled-8e8974bb.js +50 -0
- package/build/index.styled-b466d89c.js +130 -0
- package/build/index.styled-e5b26ff8.js +69 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +2 -2
- package/build/routing-cf65d7db.js +1 -0
- package/build/screenSizeContext-f496f721.js +81 -0
- package/build/together.js +1 -1
- package/build/types-59df836a.js +339 -0
- package/build/types-cde2c8cd.js +3078 -0
- package/build/types.js +1 -1
- package/build/useHealthToolCache-d0f2f403.js +1 -0
- package/build/useRafState-fc503f32.js +1 -0
- package/build/useTranslations-cb70f9dd.js +1 -0
- package/build/utils-f304a6e7.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +4 -1
- package/build/core-514ec4a7.js +0 -1
- package/build/dataTransform-eb330120.js +0 -1
- package/build/en-PH-f60a149c.js +0 -1
- package/build/esm/core-e4f57e35.js +0 -1
- package/build/esm/dataTransform-b9da23ca.js +0 -1
- package/build/esm/fixedBottomAdBlock-2a4932de.js +0 -1
- package/build/esm/getDynamicHealthTool-18b93419.js +0 -1
- package/build/esm/getSocialList-bd514f47.js +0 -1
- package/build/esm/index-160252d8.js +0 -1249
- package/build/esm/index-1ac1f27a.js +0 -1
- package/build/esm/index-1af47116.js +0 -1
- package/build/esm/index-2a018e5b.js +0 -93
- package/build/esm/index-3ccbd1bd.js +0 -3831
- package/build/esm/index-45de18e6.js +0 -177
- package/build/esm/index-49112b56.js +0 -1
- package/build/esm/index-4a21e929.js +0 -1
- package/build/esm/index-4d96360f.js +0 -1
- package/build/esm/index-5cffade4.js +0 -1
- package/build/esm/index-5d552272.js +0 -1
- package/build/esm/index-5febb98d.js +0 -1
- package/build/esm/index-648fe106.js +0 -1
- package/build/esm/index-71ee0764.js +0 -1
- package/build/esm/index-7ca5216b.js +0 -1
- package/build/esm/index-7e41aae7.js +0 -1
- package/build/esm/index-9294494f.js +0 -1
- package/build/esm/index-aa5a01c2.js +0 -112
- package/build/esm/index-b3248018.js +0 -53
- package/build/esm/index-b76dd880.js +0 -1
- package/build/esm/index-be7836ad.js +0 -1
- package/build/esm/index-e4a4ed0b.js +0 -113
- package/build/esm/index-e68fec6b.js +0 -1
- package/build/esm/index-ed34ae99.js +0 -1
- package/build/esm/index-f02da627.js +0 -1
- package/build/esm/index.styled-0ee6b01f.js +0 -1874
- package/build/esm/index.styled-6d6028e3.js +0 -130
- package/build/esm/index.styled-874c6052.js +0 -50
- package/build/esm/index.styled-91925a69.js +0 -69
- package/build/esm/routing-429a94e7.js +0 -1
- package/build/esm/screenSizeContext-5d74b785.js +0 -81
- package/build/esm/translationsProvider-1138c4b0.js +0 -1
- package/build/esm/types-73fec0e1.js +0 -3078
- package/build/esm/types-864ab48f.js +0 -339
- package/build/esm/useHealthToolCache-ac597aca.js +0 -1
- package/build/esm/useRafState-e6de7b90.js +0 -1
- package/build/esm/useTranslations-62e1a4a6.js +0 -1
- package/build/esm/utils-4aabd5e7.js +0 -1
- package/build/fixedBottomAdBlock-570669d4.js +0 -1
- package/build/getDynamicHealthTool-a2896842.js +0 -1
- package/build/getSocialList-b7a6c239.js +0 -1
- package/build/hi-IN-fac0107a.js +0 -1
- package/build/i18n/translations.d.ts +0 -11
- package/build/id-ID-91d550b1.js +0 -1
- package/build/index-025b2885.js +0 -1
- package/build/index-145b7451.js +0 -1
- package/build/index-2f5601af.js +0 -3831
- package/build/index-3c881f50.js +0 -1
- package/build/index-638e5071.js +0 -1
- package/build/index-65fa3985.js +0 -1
- package/build/index-6b0d5d66.js +0 -1
- package/build/index-7205f458.js +0 -1
- package/build/index-720f8201.js +0 -1
- package/build/index-80ac851d.js +0 -1
- package/build/index-8a698999.js +0 -1
- package/build/index-8ca25fa8.js +0 -1
- package/build/index-9511a61a.js +0 -1249
- package/build/index-a5d0558f.js +0 -177
- package/build/index-ae70746e.js +0 -1
- package/build/index-b0cc4c3d.js +0 -1
- package/build/index-ba268a44.js +0 -93
- package/build/index-c6ef0fba.js +0 -1
- package/build/index-c863fc66.js +0 -1
- package/build/index-d02a0c7a.js +0 -53
- package/build/index-d6a4346c.js +0 -112
- package/build/index-e1648205.js +0 -1
- package/build/index-edec9cf8.js +0 -1
- package/build/index-f2ac0908.js +0 -113
- package/build/index-f5d9d238.js +0 -1
- package/build/index.styled-1a707986.js +0 -130
- package/build/index.styled-2090a9a3.js +0 -1874
- package/build/index.styled-262e5e6c.js +0 -50
- package/build/index.styled-cfe1c301.js +0 -69
- package/build/km-KH-382d977a.js +0 -1
- package/build/ms-MY-e325a393.js +0 -1
- package/build/routing-723395b5.js +0 -1
- package/build/screenSizeContext-4a548556.js +0 -81
- package/build/th-TH-e559e884.js +0 -1
- package/build/tl-PH-a0c2f4be.js +0 -1
- package/build/translationsProvider-9a5f7d30.js +0 -1
- package/build/types-675a0dca.js +0 -3078
- package/build/types-91061bd8.js +0 -339
- package/build/useHealthToolCache-2572257e.js +0 -1
- package/build/useRafState-4f050da2.js +0 -1
- package/build/useTranslations-2134a139.js +0 -1
- package/build/utils-e1462abe.js +0 -1
- package/build/vi-VN-42a0740b.js +0 -1
- package/build/vi-VN_MB-012ecbb5.js +0 -1
- package/build/zh-TW-1a1c78ea.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-408b454e.js → BMI_BOYS.percentile.monthly-fdb0d5d6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f1a5408c.js → BMI_BOYS.percentile.weekly-43622fa1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-20f2343f.js → BMI_BOYS.percentile.yearly-de8966a6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-8f45c258.js → BMI_BOYS.zscore.monthly-04cb87b3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-27b78f60.js → BMI_BOYS.zscore.weekly-941c8cf2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e2313273.js → BMI_BOYS.zscore.yearly-c662f505.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-df4fed94.js → BMI_GIRLS.percentile.monthly-76e38ae2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-60cd5e82.js → BMI_GIRLS.percentile.weekly-3f3df583.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-db4f5dd0.js → BMI_GIRLS.percentile.yearly-25e4cbcd.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-815f2e66.js → BMI_GIRLS.zscore.monthly-373fca25.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ed498f2b.js → BMI_GIRLS.zscore.weekly-9e8f77d7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d128b226.js → BMI_GIRLS.zscore.yearly-434c7d51.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8509f62a.js → HEAD CIRCUM_BOYS.percentile.monthly-e7756c44.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b2ab2b82.js → HEAD CIRCUM_BOYS.percentile.weekly-21da7c37.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2a37c4fa.js → HEAD CIRCUM_BOYS.percentile.yearly-f305f4ff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-15240762.js → HEAD CIRCUM_BOYS.zscore.monthly-08a00287.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d2dd3fae.js → HEAD CIRCUM_BOYS.zscore.weekly-b7c46afd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-df9df4de.js → HEAD CIRCUM_BOYS.zscore.yearly-aae999c5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-df692b52.js → HEAD CIRCUM_GIRLS.percentile.monthly-812528ae.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-7173a335.js → HEAD CIRCUM_GIRLS.percentile.weekly-73b6bced.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-28195260.js → HEAD CIRCUM_GIRLS.percentile.yearly-c7340f31.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-65785778.js → HEAD CIRCUM_GIRLS.zscore.monthly-a5e9643e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e8d6dc4c.js → HEAD CIRCUM_GIRLS.zscore.weekly-4c14fc9a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-41565f9e.js → HEAD CIRCUM_GIRLS.zscore.yearly-bff84c10.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-607d89cf.js → HEIGHT_BOYS.percentile.monthly-25f2851c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-03fd7aa9.js → HEIGHT_BOYS.percentile.weekly-66c674a0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-67272c6b.js → HEIGHT_BOYS.percentile.yearly-01f6b463.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6fbcdc4d.js → HEIGHT_BOYS.zscore.monthly-b908884a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5a516666.js → HEIGHT_BOYS.zscore.weekly-bbcb3cc4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-93683b1a.js → HEIGHT_BOYS.zscore.yearly-666543e5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c680ce16.js → HEIGHT_GIRLS.percentile.monthly-17fa3898.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1b3cfa8c.js → HEIGHT_GIRLS.percentile.weekly-d4342135.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-16ba3bce.js → HEIGHT_GIRLS.percentile.yearly-e4fd4b76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e59aca64.js → HEIGHT_GIRLS.zscore.monthly-0fe3add4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d3ddccd5.js → HEIGHT_GIRLS.zscore.weekly-ccd4d699.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e365e16b.js → HEIGHT_GIRLS.zscore.yearly-6927b237.js} +0 -0
- /package/build/{Onboarding-e9b1bd74.js → Onboarding-3ad3c9cb.js} +0 -0
- /package/build/{Visible-2975d3cc.js → Visible-ed86f410.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-dd536749.js → WEIGHT_BOYS.percentile.monthly-1659aed3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8f2dfe1d.js → WEIGHT_BOYS.percentile.weekly-647f9286.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e4f169b2.js → WEIGHT_BOYS.percentile.yearly-46440b65.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3b9d8e12.js → WEIGHT_BOYS.zscore.monthly-bd881e35.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-21e8ab53.js → WEIGHT_BOYS.zscore.weekly-3fd0466d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-14adaa4c.js → WEIGHT_BOYS.zscore.yearly-30a0fbbe.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8c9feb91.js → WEIGHT_GIRLS.percentile.monthly-0347ccdb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-bae12ad3.js → WEIGHT_GIRLS.percentile.weekly-372715ee.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-69bddc9e.js → WEIGHT_GIRLS.percentile.yearly-51c15d34.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-62bc84b6.js → WEIGHT_GIRLS.zscore.monthly-f44e564e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-78d94ec6.js → WEIGHT_GIRLS.zscore.weekly-d660f089.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2ab51478.js → WEIGHT_GIRLS.zscore.yearly-8282a654.js} +0 -0
- /package/build/{constants-e5a87ea9.js → constants-dfaf77dd.js} +0 -0
- /package/build/{cookieHelper-283a02b1.js → cookieHelper-6a8008f6.js} +0 -0
- /package/build/{dataTransform-46b81281.js → dataTransform-e9f91459.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-37cd9117.js → BMI_BOYS.percentile.monthly-281985c6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5e325bce.js → BMI_BOYS.percentile.weekly-294baedb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-113ef720.js → BMI_BOYS.percentile.yearly-ca58d1cc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ecc4d68f.js → BMI_BOYS.zscore.monthly-a74e717a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0adcc30c.js → BMI_BOYS.zscore.weekly-bba5dd16.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d71593a6.js → BMI_BOYS.zscore.yearly-7efc3e59.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-79552762.js → BMI_GIRLS.percentile.monthly-5c0da953.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f7076322.js → BMI_GIRLS.percentile.weekly-83079b24.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-4e7db001.js → BMI_GIRLS.percentile.yearly-71f63850.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f806704c.js → BMI_GIRLS.zscore.monthly-69f2c539.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-48a773fb.js → BMI_GIRLS.zscore.weekly-9a97ada5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-03358b99.js → BMI_GIRLS.zscore.yearly-a029f4e4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-406b2a68.js → HEAD CIRCUM_BOYS.percentile.monthly-b318b1f9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-558ccd96.js → HEAD CIRCUM_BOYS.percentile.weekly-bb3d93bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3c694e3a.js → HEAD CIRCUM_BOYS.percentile.yearly-0a400cab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e2dfbbc2.js → HEAD CIRCUM_BOYS.zscore.monthly-ca858403.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-0f4ffc31.js → HEAD CIRCUM_BOYS.zscore.weekly-e4c94e13.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-45e18c32.js → HEAD CIRCUM_BOYS.zscore.yearly-ecfb3428.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c61e1e60.js → HEAD CIRCUM_GIRLS.percentile.monthly-2ca9295f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-80077fbd.js → HEAD CIRCUM_GIRLS.percentile.weekly-850c5bbe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5cd40fcf.js → HEAD CIRCUM_GIRLS.percentile.yearly-007f0f23.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8704df7d.js → HEAD CIRCUM_GIRLS.zscore.monthly-c4bcd1be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e3307c3e.js → HEAD CIRCUM_GIRLS.zscore.weekly-e510a08f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8c3aa695.js → HEAD CIRCUM_GIRLS.zscore.yearly-1e6c11c0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-32fc1116.js → HEIGHT_BOYS.percentile.monthly-33864d0e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f7886940.js → HEIGHT_BOYS.percentile.weekly-78d7c6a0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7feb4234.js → HEIGHT_BOYS.percentile.yearly-d9a9726a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d6c9ff63.js → HEIGHT_BOYS.zscore.monthly-c32d0020.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4f88d09a.js → HEIGHT_BOYS.zscore.weekly-8a4914c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f10d96b9.js → HEIGHT_BOYS.zscore.yearly-6b14a840.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8779b55.js → HEIGHT_GIRLS.percentile.monthly-1c16b3af.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-5248631a.js → HEIGHT_GIRLS.percentile.weekly-d8ae084e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ee4a4b7d.js → HEIGHT_GIRLS.percentile.yearly-cf8d61c8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1e3ea3a4.js → HEIGHT_GIRLS.zscore.monthly-e6bdb3d0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-26a82693.js → HEIGHT_GIRLS.zscore.weekly-2de1be18.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-180fb58a.js → HEIGHT_GIRLS.zscore.yearly-b46187cb.js} +0 -0
- /package/build/esm/{Onboarding-47f0ed32.js → Onboarding-3a098961.js} +0 -0
- /package/build/esm/{Visible-25232b43.js → Visible-48f42ae6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-488c645a.js → WEIGHT_BOYS.percentile.monthly-b69a4d3e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7ad65f24.js → WEIGHT_BOYS.percentile.weekly-0faad24c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-985443fd.js → WEIGHT_BOYS.percentile.yearly-a531b22a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d3ed375e.js → WEIGHT_BOYS.zscore.monthly-a70dfa59.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ca781909.js → WEIGHT_BOYS.zscore.weekly-bc0a7397.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-12b41d45.js → WEIGHT_BOYS.zscore.yearly-4a0c0338.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-33515f65.js → WEIGHT_GIRLS.percentile.monthly-a4b24d07.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-29785c9d.js → WEIGHT_GIRLS.percentile.weekly-4b6a9d19.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-59a36732.js → WEIGHT_GIRLS.percentile.yearly-6c10ff85.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-99db3a42.js → WEIGHT_GIRLS.zscore.monthly-e7cc197b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bf885582.js → WEIGHT_GIRLS.zscore.weekly-1d95dc1a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-46fbf2d5.js → WEIGHT_GIRLS.zscore.yearly-86cc4c83.js} +0 -0
- /package/build/esm/{constants-c2cc8386.js → constants-893a39ff.js} +0 -0
- /package/build/esm/{cookieHelper-bec3cfaa.js → cookieHelper-d3775f87.js} +0 -0
- /package/build/esm/{dataTransform-be2c590b.js → dataTransform-3d5ed2ab.js} +0 -0
- /package/build/esm/{en-PH-b9711db4.js → i18n-values/en-PH.js} +0 -0
- /package/build/esm/{hi-IN-4f45c353.js → i18n-values/hi-IN.js} +0 -0
- /package/build/esm/{id-ID-eb9f9702.js → i18n-values/id-ID.js} +0 -0
- /package/build/esm/{km-KH-5bd68521.js → i18n-values/km-KH.js} +0 -0
- /package/build/esm/{ms-MY-5cdb826a.js → i18n-values/ms-MY.js} +0 -0
- /package/build/esm/{th-TH-a39d3b38.js → i18n-values/th-TH.js} +0 -0
- /package/build/esm/{tl-PH-439f7fc9.js → i18n-values/tl-PH.js} +0 -0
- /package/build/esm/{vi-VN-48847f0c.js → i18n-values/vi-VN.js} +0 -0
- /package/build/esm/{vi-VN_MB-4407d98a.js → i18n-values/vi-VN_MB.js} +0 -0
- /package/build/esm/{zh-TW-1cf8e724.js → i18n-values/zh-TW.js} +0 -0
- /package/build/esm/{index-3f7d903d.js → index-22d66f3a.js} +0 -0
- /package/build/esm/{index-ee0953ff.js → index-bbb37de8.js} +0 -0
- /package/build/esm/{isProduction-aefac4c1.js → isProduction-9fdedd97.js} +0 -0
- /package/build/esm/{localizeNumberFormat-7f021996.js → localizeNumberFormat-c9565869.js} +0 -0
- /package/build/esm/{normalizeLink-c0575b9c.js → normalizeLink-e75d8f3b.js} +0 -0
- /package/build/esm/{theme-de7535c2.js → theme-658bcd7b.js} +0 -0
- /package/build/esm/{translationsContext-cee296b2.js → translationsContext-4e922048.js} +0 -0
- /package/build/esm/{tslib.es6-01f620c8.js → tslib.es6-2f773aeb.js} +0 -0
- /package/build/esm/{types-a125d5db.js → types-f09dabf2.js} +0 -0
- /package/build/esm/{useIsInit-db1bcdff.js → useIsInit-2c1fe29c.js} +0 -0
- /package/build/esm/{useOutsideClick-fdb78365.js → useOutsideClick-480b6515.js} +0 -0
- /package/build/esm/{useScrollbarSize-357ac3a1.js → useScrollbarSize-efb18b24.js} +0 -0
- /package/build/esm/{useUniqueId-9d98366e.js → useUniqueId-36e2cd8f.js} +0 -0
- /package/build/esm/{utils-b2336bb5.js → utils-934fc187.js} +0 -0
- /package/build/{index-5aa4382a.js → index-18caa50b.js} +0 -0
- /package/build/{index-61cc14ec.js → index-508517da.js} +0 -0
- /package/build/{isProduction-8913c226.js → isProduction-5a688ca0.js} +0 -0
- /package/build/{localizeNumberFormat-d5aa5e79.js → localizeNumberFormat-fdc361f8.js} +0 -0
- /package/build/{normalizeLink-46f8b786.js → normalizeLink-96abe957.js} +0 -0
- /package/build/{theme-e3dc5e67.js → theme-f4d3e318.js} +0 -0
- /package/build/{translationsContext-b79c958c.js → translationsContext-5205b47d.js} +0 -0
- /package/build/{tslib.es6-ea3181ce.js → tslib.es6-2277e49b.js} +0 -0
- /package/build/{types-70a9d21d.js → types-1db8e1a1.js} +0 -0
- /package/build/{useIsInit-ec8e9bee.js → useIsInit-3d607db2.js} +0 -0
- /package/build/{useOutsideClick-d67e082b.js → useOutsideClick-5b39fb98.js} +0 -0
- /package/build/{useScrollbarSize-3f6344cb.js → useScrollbarSize-1f532e9c.js} +0 -0
- /package/build/{useUniqueId-33dccf23.js → useUniqueId-fc07e386.js} +0 -0
- /package/build/{utils-4cfce198.js → utils-ca50b14e.js} +0 -0
package/build/esm/onboarding.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,_ as o}from"./tslib.es6-01f620c8.js";import t,{useContext as n,useState as r,useRef as a,useEffect as i,useMemo as s,useCallback as l}from"react";import{Input as d,Grid as m,Title as c}from"@mantine/core";import{useInterval as p,useCounter as u}from"@mantine/hooks";import{B as g}from"./index-5d552272.js";import{e as b,o as h,h as E,R as f,O as v,p as y,u as w,B as S}from"./index-aa5a01c2.js";import{u as P,a as j,F as k,O as C,b as x}from"./index-b3248018.js";import{u as B}from"./useTranslations-62e1a4a6.js";import"lodash/debounce";import"./isProduction-aefac4c1.js";import{L as z}from"./index-f02da627.js";import{O as T}from"./Onboarding-47f0ed32.js";export{O as OnboardingStep}from"./Onboarding-47f0ed32.js";import"dayjs";import"./screenSizeContext-5d74b785.js";import"styled-components";import{t as N}from"./theme-de7535c2.js";import{M as F}from"./utils-b2336bb5.js";import"./gAssets.js";import{S as I,a as L,b as q,c as A,d as V,e as D,f as _,g as R,h as U,i as W}from"./index.styled-6d6028e3.js";import{yupResolver as Y}from"@mantine/form";import"./index-160252d8.js";import"./index-e4a4ed0b.js";import"./index-2a018e5b.js";import"./index.styled-91925a69.js";import"./index-3f7d903d.js";import{D as H}from"./index-1af47116.js";import"./index-7ca5216b.js";import{A as $}from"./index-4a21e929.js";import{V as G}from"./Visible-25232b43.js";import{M as Z,h as K}from"./utils-4aabd5e7.js";export{M as MAPPED_LOCALE}from"./utils-4aabd5e7.js";import*as J from"yup";import"@mantine/dates";import Q from"lodash/throttle";import{T as X}from"./index-b76dd880.js";import{format as ee}from"date-fns";import"@mantine/carousel";import"./translationsContext-cee296b2.js";import"string-format";import"date-fns/locale";import"./useUniqueId-9d98366e.js";import"react-keyed-flatten-children";import"./index-49112b56.js";const oe=({inputOrder:e=["phone"],withSimilac:o=!1,customTerms:n=""})=>{const{t:r}=B(),a=P(),i=t.createElement(d.Wrapper,Object.assign({className:o?"input-control":"phone-input",withAsterisk:!0},o?{label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.similac.input.phone"))}:{}),t.createElement(h,Object.assign({defaultCountry:Z[process.env.UNIFY_LOCALE]||"VN"},a.getInputProps("phone"))),t.createElement(d.Error,{size:"md"},a.errors.phone)),s=t.createElement(E,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourName")),withAsterisk:!0},a.getInputProps("name"))),l=t.createElement(E,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourEmail")),withAsterisk:!0},a.getInputProps("email"))),m=t.createElement(H,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},a.getInputProps("dob"))),c=t.createElement(f.Group,Object.assign({className:"radio-group",label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("bmi.selectGender"))},a.getInputProps("gender")),t.createElement(f,{value:"0",label:r("onboarding.formEmail.genderMale")}),t.createElement(f,{value:"1",label:r("onboarding.formEmail.genderFemale")})),p=t.createElement("div",{className:"otp-input"},t.createElement(v,Object.assign({enterKeyHint:void 0,nonce:void 0},a.getInputProps("otp"))),t.createElement(d.Error,null,a.errors.otp)),u=t.createElement(E.Password,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:t.createElement(G,null)},a.getInputProps("password"))),g=t.createElement(E.Wrapper,Object.assign({},a.getInputProps("term",{type:"checkbox"}),{error:null,mb:16}),t.createElement(y,{label:n?t.createElement(b,{size:"p4",as:"span",sx:{a:{color:"#2d87f3",fontWeight:"bold",letterSpacing:0}}},n):t.createElement(b,{size:"p4",as:"span"},"Tôi đã đọc và đồng ý với các điều khoản và chương trình của"," ",t.createElement("a",null,t.createElement(b,{size:"label1",as:"span",weight:"bold",color:"blue.6"},"Hello Bacsi"))," ","và"," ",t.createElement("a",null,t.createElement(b,{size:"label1",as:"span",weight:"bold",color:"blue.6"},"Abbott Similac"))," ","và được hướng dẫn cách ngưng chương trình"),onChange:e=>{a.setFieldValue("term",e.currentTarget.checked)}}),t.createElement(d.Error,{size:"md"},a.getInputProps("term",{type:"checkbox"}).error)),w=t.createElement($,Object.assign({className:"input-control",label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.similac.input.address"))},a.getInputProps("address"))),S=t.createElement(E.Password,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:t.createElement(G,null)},a.getInputProps("confirmPassword"))),j=e.map((e=>({phone:i,full_name:s,email:l,dob:m,gender:c,otp:p,password:u,confirm_password:S,term:g,address:w}[e]||null)));return t.createElement(I,null,j)},te=e=>J.object().shape({phone:J.string().required(e("onboarding.updatePhone.error")).default("")}),ne=e=>J.object().shape({phone:J.string().required(e("onboarding.updatePhone.error")).default(""),name:J.string().required(e("onboarding.errorMessage.requiredName")),email:J.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),address:J.mixed().required(e("onboarding.similac.address.error")),term:J.bool().oneOf([!0],e("onboarding.similac.term.error"))}),re=e=>J.object().shape({otp:J.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),ae=e=>J.object().shape({email:J.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:J.string().required(e("onboarding.errorMessage.requiredName"))}),ie=e=>J.object().shape({password:J.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:J.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([J.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),se=({onClose:o,onSubmit:n,canSkip:r=!0,customFormTexts:a})=>{const{t:i}=B(),s=j({initialValues:{phone:""},validate:Y(te(i))});return t.createElement(L,{heading:(null==a?void 0:a.heading)||i("onboarding.updatePhone.heading"),description:(null==a?void 0:a.description)||i("onboarding.updatePhone.description")},t.createElement(k,{form:s},t.createElement("form",{onSubmit:s.onSubmit((o=>e(void 0,void 0,void 0,(function*(){n(o.phone)}))),(e=>{console.log(e)}))},t.createElement(oe,{inputOrder:["phone"]}),t.createElement(g,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},i("onboarding.button.continue")),r&&t.createElement(g,{color:"ghost",isBlock:!0,size:"lg",onClick:o,type:"button"},i("onboarding.button.skip")))))},le=n=>{var{onClose:r,onSubmit:a,canSkip:i=!0,customFormTexts:s,customTerms:l,defaultValues:d}=n,m=o(n,["onClose","onSubmit","canSkip","customFormTexts","customTerms","defaultValues"]);const{t:c}=B(),{isMobile:p}=w(),u=j({initialValues:Object.assign({phone:"",term:!1},d),validate:Y(ne(c))});return t.createElement(L,Object.assign({heading:(null==s?void 0:s.heading)||c("onboarding.updatePhone.heading"),description:(null==s?void 0:s.description)||c("onboarding.updatePhone.description"),hiddenLogo:p},m),t.createElement(k,{form:u},t.createElement("form",{onSubmit:u.onSubmit((o=>e(void 0,void 0,void 0,(function*(){a(o)}))),(e=>{console.log(e)}))},t.createElement(oe,{inputOrder:["full_name","email","phone","address","term"],withSimilac:!0,customTerms:l}),t.createElement(S,{fullWidth:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},c("onboarding.button.continue")),i&&t.createElement(S,{variant:"ghost",fullWidth:!0,size:"lg",onClick:r,type:"button"},c("onboarding.button.skip")))))},de=e=>{var{withSimilac:n=!1}=e,r=o(e,["withSimilac"]);return n?t.createElement(le,Object.assign({},r)):t.createElement(se,Object.assign({},r))},me=({onSubmit:o,phone:l,email:d,onResendCode:m,otpError:c,onClose:b,loading:h,onBack:E,canSkip:f,outOfEdit:v})=>{const{siteType:y,isMarryBaby:w}=n(C),[S,P]=r(30),O=p((()=>P((e=>e-1))),1e3),[x,M]=u(0,{min:0,max:3}),z=a(!0),{t:T}=B();i((()=>(O.start(),O.stop)),[]),i((()=>{0===S&&(O.stop(),z.current=!1)}),[S]);const F=j({initialValues:{otp:""},validate:Y(re(T))});i((()=>{c&&F.setFieldError("otp",c)}),[c]);const I=s((()=>Q((()=>{z.current||(M.increment(),P(30),null==m||m(l||d),O.start(),z.current=!0)}),1e3,{trailing:!1})),[l,d,m,O]);return t.createElement(q,{heading:T("onboarding.otpForm.heading"),description:t.createElement(t.Fragment,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:l?T("onboarding.otpForm.description",{phone:`<b style="color:${N.colors.gray800}">${l.slice(0,-3).replace(/./g,"x").concat(l.slice(-3))}</b>`}):T("onboarding.otpForm.descriptionEmail",{email:`<b style="color:${N.colors.gray800}">${K(d)}</b>`})}}),!v&&t.createElement("svg",{onClick:()=>{null==E||E()},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"otp-description-edit-icon"},t.createElement("path",{d:"M12.7812 1.33337C12.2987 1.33337 11.8162 1.51712 11.4479 1.88546L10.6667 2.66671L13.3333 5.33337L14.1146 4.55212C14.8506 3.81612 14.8506 2.62212 14.1146 1.88546C13.7463 1.51712 13.2638 1.33337 12.7812 1.33337ZM9.66667 3.66671L2 11.3334V14H4.66667L12.3333 6.33337L9.66667 3.66671Z",fill:"#ADB3BC"})))},t.createElement(k,{form:F},t.createElement("form",{onSubmit:F.onSubmit((t=>e(void 0,void 0,void 0,(function*(){M.increment(),o(t.otp)}))),(e=>{console.log(e)}))},t.createElement(oe,{inputOrder:["otp"]}),t.createElement("div",{className:"resend"},t.createElement(X,{size:"p4",color:N.colors.gray400},T("onboarding.otpForm.notReceiveOTP")),t.createElement(X,{as:"a",size:"p4",color:w?N.mbColors.pink:N.colors.primaryBase,onClick:I},T("onboarding.otpForm.resendCode",{seconds:S}))),t.createElement(g,{theme:y,color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:h,disabled:h,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},T("onboarding.button.continue")),f&&x>=3&&t.createElement(g,{theme:y,color:"ghost",isBlock:!0,size:"lg",onClick:b,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none",type:"button"},T("onboarding.button.skip")))))},ce=({onClose:e,onSubmit:o,canSkip:r,loading:a,errorMessage:s,initialData:l})=>{const{t:d,locale:m}=B(),{siteType:c,isMarryBaby:p}=n(C),u=j({validate:Y(ae(d))});return i((()=>{u.setValues(Object.assign(Object.assign({gender:"0"},l),(null==l?void 0:l.birthday)&&{birthday:new Date(l.birthday)}))}),[l]),i((()=>{s&&u.setFieldError("email",s)}),[s]),t.createElement(x,{heading:d("onboarding.formEmail.heading"),description:d("onboarding.formEmail.description",{site:p?"Marry Baby":z[m].SITE_NAME_FORMATTED})},t.createElement(k,{form:u},t.createElement("form",{className:"form",onSubmit:u.onSubmit((e=>{o(Object.assign(Object.assign({},e),{birthday:e.birthday&&ee(e.birthday,"yyyy-MM-dd")}))}),(e=>{console.log({fieldErrors:e})}))},t.createElement(oe,{inputOrder:["full_name","email","dob","gender"]}),t.createElement(g,{color:"primary",isBlock:!0,size:"lg",type:"submit",theme:c,isLoading:a,disabled:a},d("onboarding.button.continue")),r&&t.createElement(g,{theme:c,color:"ghost",isBlock:!0,size:"lg",onClick:e},d("onboarding.button.skip")))))},pe=({onClose:e,onSubmit:o,canSkip:n,errorMessage:r,loading:a})=>{const{t:i}=B(),s=j({initialValues:{password:"",confirmPassword:""},validate:Y(ie(i))});return t.createElement(x,{heading:i("onboarding.updatePassword.heading"),description:i("onboarding.updatePassword.description")},t.createElement(k,{form:s},t.createElement("form",{className:"form",onSubmit:s.onSubmit((e=>o((null==e?void 0:e.password)||"")),(e=>{console.log({fieldErrors:e})}))},t.createElement(oe,{inputOrder:["password","confirm_password"]}),t.createElement(g,{color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:a,disabled:a},i("onboarding.button.continue")),n&&t.createElement(g,{color:"ghost",isBlock:!0,size:"lg",onClick:e},i("onboarding.button.skip")),r&&t.createElement(d.Error,{className:"form-error"},r))))},ue=n=>{var{banner:a,canSkip:i,createPassError:s,createPassLoading:d,customFormTexts:p,emailLoading:h,flow:E=[T.Phone,T.OTP],initialData:f,onClose:v,onCreatePassByEmail:y,onOtpSubmit:S,onPersonalInfoSubmit:P,onPhoneSubmit:j,onResendCode:k,otpError:O,otpLoading:M,personalInfoError:z,resultScreenProps:I,siteType:L,step:q,withSimilac:Y=!1,similacFormProps:H}=n,$=o(n,["banner","canSkip","createPassError","createPassLoading","customFormTexts","emailLoading","flow","initialData","onClose","onCreatePassByEmail","onOtpSubmit","onPersonalInfoSubmit","onPhoneSubmit","onResendCode","otpError","otpLoading","personalInfoError","resultScreenProps","siteType","step","withSimilac","similacFormProps"]);const{t:G}=B(),[Z,K]=r(q||E[0]),[J,Q]=r(""),[X,ee]=r(""),[oe,te]=u(0,{min:0,max:2}),{isMobile:ne}=w(),re=l((()=>{const e=E.indexOf(Z)+1;e<=E.length-1&&K(E[e])}),[Z]),ae=l((()=>{const e=E.indexOf(Z)-1;e>=0&&K(E[e])}),[Z]),ie=o=>e(void 0,void 0,void 0,(function*(){try{!(yield S(o))&&re()}catch(e){console.error(e)}})),se=()=>{oe>=2||(te.increment(),ae())},ue="marryBaby"===L;return t.createElement(C.Provider,{value:{siteType:L,isMarryBaby:ue}},t.createElement(A,Object.assign({},$),E.length>0?t.createElement(V,null,t.createElement(m,{sx:{[F.mbDown]:{margin:0},".mantine-Grid-col":{[F.mbDown]:{padding:0}}}},t.createElement(m.Col,{span:"object"!=typeof a&&!Y||ne?12:6,order:Y?2:1,orderMd:Y?1:2,sx:{zIndex:Y?99:void 0}},t.createElement(D,{"data-similac":Y,"data-has-banner":"object"==typeof a},Z===T.Phone&&(Y?t.createElement(le,{onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){var e;try{const t=null==o?void 0:o.phone;t&&(Q(t),yield Promise.all([null===(e=null==H?void 0:H.onFormSubmit)||void 0===e?void 0:e.call(H,o),null==j?void 0:j(t)])),re()}catch(e){console.error(e)}})),customFormTexts:p.onboarding,defaultValues:null==H?void 0:H.defaultValues,customTerms:null==H?void 0:H.customTerms}):t.createElement(de,{onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){try{Q(o),yield null==j?void 0:j(o),re()}catch(e){console.error(e)}})),customFormTexts:p.onboarding})),Z===T.OTP&&t.createElement(me,{onClose:v,onSubmit:ie,phone:J,onResendCode:k,otpError:O,loading:M,canSkip:i,onBack:se,outOfEdit:oe>=2}),Z===T.OTPEmail&&t.createElement(me,{onClose:v,onSubmit:ie,onResendCode:k,otpError:O,loading:M,canSkip:i,onBack:se,outOfEdit:oe>=2,email:X}),Z===T.PersonalInfo&&t.createElement(ce,{initialData:null==f?void 0:f[T.PersonalInfo],onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){try{ee((null==o?void 0:o.email)||"");!(yield null==P?void 0:P(o))&&re()}catch(e){console.error(e)}})),errorMessage:z,loading:h}),Z===T.UpdatePassword&&t.createElement(pe,{onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){try{yield null==y?void 0:y(o),!s&&re()}catch(e){console.error(e)}})),errorMessage:s,loading:d}),Z===T.Result&&t.createElement(x,Object.assign({},I),t.createElement(g,{theme:L,size:"lg",onClick:v,className:"form-button"},G("onboarding.button.continue"))))),"object"==typeof a&&!Y&&t.createElement(m.Col,{span:"object"!=typeof a&&!Y||ne?12:6,order:Y?2:1,orderMd:Y?1:2},t.createElement(_,null,t.createElement(R,{"data-is-marry-baby":ue},t.createElement(U,null,(null==a?void 0:a.heading)&&t.createElement(c,{order:1,mb:24},null==a?void 0:a.heading),(null==a?void 0:a.description)&&t.createElement(b,{size:"p1",color:N.colors.gray800},G("onboarding.welcomeScreen.content"))),(null==a?void 0:a.imgSrc)&&t.createElement("div",null,t.createElement(W,{src:null==a?void 0:a.imgSrc,loading:"lazy"}))))),"object"==typeof a&&Y&&(null==a?void 0:a.imgSrc)&&t.createElement(m.Col,{span:"auto",order:Y?1:2,orderMd:Y?2:1},t.createElement(W,{src:null==a?void 0:a.imgSrc,loading:"lazy",className:"similac"})))):"Incorrect flow"))};export{de as OnboardingForm,ue as OnboardingModal,me as OtpForm};
|
|
1
|
+
import{a as e,_ as o}from"./tslib.es6-2f773aeb.js";import t,{useContext as n,useState as r,useRef as a,useEffect as i,useMemo as s,useCallback as l}from"react";import{Input as d,Grid as m,Title as c}from"@mantine/core";import{useInterval as p,useCounter as u}from"@mantine/hooks";import{B as g}from"./index-d54980b1.js";import{e as b,o as h,h as f,R as E,O as v,p as y,u as w,B as S}from"./index-f86c8643.js";import{u as P,a as j,F as k,O as C,b as x}from"./index-dc00bc5f.js";import{u as B}from"./useTranslations-27ed0471.js";import"lodash/debounce";import"./isProduction-9fdedd97.js";import{L as z}from"./index-523b1b14.js";import{O as T}from"./Onboarding-3a098961.js";export{O as OnboardingStep}from"./Onboarding-3a098961.js";import"dayjs";import"./screenSizeContext-daa144e8.js";import"styled-components";import{t as N}from"./theme-658bcd7b.js";import{M as F}from"./utils-934fc187.js";import"./gAssets.js";import{S as I,a as L,b as q,c as A,d as V,e as D,f as _,g as R,h as U,i as W}from"./index.styled-9f109ae2.js";import{yupResolver as Y}from"@mantine/form";import"./index-313abbe7.js";import"./index-4d7073b2.js";import"./index-652e4433.js";import"./index.styled-743f922f.js";import"./index-22d66f3a.js";import{D as H}from"./index-de62b22b.js";import"./index-f963f3c7.js";import{A as $}from"./index-80254186.js";import{V as G}from"./Visible-48f42ae6.js";import{M as Z,h as K}from"./utils-f6a98198.js";export{M as MAPPED_LOCALE}from"./utils-f6a98198.js";import*as J from"yup";import"@mantine/dates";import Q from"lodash/throttle";import{T as X}from"./index-4962ee5f.js";import{format as ee}from"date-fns";import"@mantine/carousel";import"./translationsContext-4e922048.js";import"string-format";import"date-fns/locale";import"./useUniqueId-36e2cd8f.js";import"react-keyed-flatten-children";import"./index-2ae479cb.js";const oe=({inputOrder:e=["phone"],withSimilac:o=!1,customTerms:n=""})=>{const{t:r}=B(),a=P(),i=t.createElement(d.Wrapper,Object.assign({className:o?"input-control":"phone-input",withAsterisk:!0},o?{label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.similac.input.phone"))}:{}),t.createElement(h,Object.assign({defaultCountry:Z[process.env.UNIFY_LOCALE]||"VN"},a.getInputProps("phone"))),t.createElement(d.Error,{size:"md"},a.errors.phone)),s=t.createElement(f,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourName")),withAsterisk:!0},a.getInputProps("name"))),l=t.createElement(f,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourEmail")),withAsterisk:!0},a.getInputProps("email"))),m=t.createElement(H,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},a.getInputProps("dob"))),c=t.createElement(E.Group,Object.assign({className:"radio-group",label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("bmi.selectGender"))},a.getInputProps("gender")),t.createElement(E,{value:"0",label:r("onboarding.formEmail.genderMale")}),t.createElement(E,{value:"1",label:r("onboarding.formEmail.genderFemale")})),p=t.createElement("div",{className:"otp-input"},t.createElement(v,Object.assign({enterKeyHint:void 0,nonce:void 0},a.getInputProps("otp"))),t.createElement(d.Error,null,a.errors.otp)),u=t.createElement(f.Password,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:t.createElement(G,null)},a.getInputProps("password"))),g=t.createElement(f.Wrapper,Object.assign({},a.getInputProps("term",{type:"checkbox"}),{error:null,mb:16}),t.createElement(y,{label:n?t.createElement(b,{size:"p4",as:"span",sx:{a:{color:"#2d87f3",fontWeight:"bold",letterSpacing:0}}},n):t.createElement(b,{size:"p4",as:"span"},"Tôi đã đọc và đồng ý với các điều khoản và chương trình của"," ",t.createElement("a",null,t.createElement(b,{size:"label1",as:"span",weight:"bold",color:"blue.6"},"Hello Bacsi"))," ","và"," ",t.createElement("a",null,t.createElement(b,{size:"label1",as:"span",weight:"bold",color:"blue.6"},"Abbott Similac"))," ","và được hướng dẫn cách ngưng chương trình"),onChange:e=>{a.setFieldValue("term",e.currentTarget.checked)}}),t.createElement(d.Error,{size:"md"},a.getInputProps("term",{type:"checkbox"}).error)),w=t.createElement($,Object.assign({className:"input-control",label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.similac.input.address"))},a.getInputProps("address"))),S=t.createElement(f.Password,Object.assign({label:t.createElement(b,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:t.createElement(G,null)},a.getInputProps("confirmPassword"))),j=e.map((e=>({phone:i,full_name:s,email:l,dob:m,gender:c,otp:p,password:u,confirm_password:S,term:g,address:w}[e]||null)));return t.createElement(I,null,j)},te=e=>J.object().shape({phone:J.string().required(e("onboarding.updatePhone.error")).default("")}),ne=e=>J.object().shape({phone:J.string().required(e("onboarding.updatePhone.error")).default(""),name:J.string().required(e("onboarding.errorMessage.requiredName")),email:J.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),address:J.mixed().required(e("onboarding.similac.address.error")),term:J.bool().oneOf([!0],e("onboarding.similac.term.error"))}),re=e=>J.object().shape({otp:J.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),ae=e=>J.object().shape({email:J.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:J.string().required(e("onboarding.errorMessage.requiredName"))}),ie=e=>J.object().shape({password:J.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:J.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([J.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),se=({onClose:o,onSubmit:n,canSkip:r=!0,customFormTexts:a})=>{const{t:i}=B(),s=j({initialValues:{phone:""},validate:Y(te(i))});return t.createElement(L,{heading:(null==a?void 0:a.heading)||i("onboarding.updatePhone.heading"),description:(null==a?void 0:a.description)||i("onboarding.updatePhone.description")},t.createElement(k,{form:s},t.createElement("form",{onSubmit:s.onSubmit((o=>e(void 0,void 0,void 0,(function*(){n(o.phone)}))),(e=>{console.log(e)}))},t.createElement(oe,{inputOrder:["phone"]}),t.createElement(g,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},i("onboarding.button.continue")),r&&t.createElement(g,{color:"ghost",isBlock:!0,size:"lg",onClick:o,type:"button"},i("onboarding.button.skip")))))},le=n=>{var{onClose:r,onSubmit:a,canSkip:i=!0,customFormTexts:s,customTerms:l,defaultValues:d}=n,m=o(n,["onClose","onSubmit","canSkip","customFormTexts","customTerms","defaultValues"]);const{t:c}=B(),{isMobile:p}=w(),u=j({initialValues:Object.assign({phone:"",term:!1},d),validate:Y(ne(c))});return t.createElement(L,Object.assign({heading:(null==s?void 0:s.heading)||c("onboarding.updatePhone.heading"),description:(null==s?void 0:s.description)||c("onboarding.updatePhone.description"),hiddenLogo:p},m),t.createElement(k,{form:u},t.createElement("form",{onSubmit:u.onSubmit((o=>e(void 0,void 0,void 0,(function*(){a(o)}))),(e=>{console.log(e)}))},t.createElement(oe,{inputOrder:["full_name","email","phone","address","term"],withSimilac:!0,customTerms:l}),t.createElement(S,{fullWidth:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},c("onboarding.button.continue")),i&&t.createElement(S,{variant:"ghost",fullWidth:!0,size:"lg",onClick:r,type:"button"},c("onboarding.button.skip")))))},de=e=>{var{withSimilac:n=!1}=e,r=o(e,["withSimilac"]);return n?t.createElement(le,Object.assign({},r)):t.createElement(se,Object.assign({},r))},me=({onSubmit:o,phone:l,email:d,onResendCode:m,otpError:c,onClose:b,loading:h,onBack:f,canSkip:E,outOfEdit:v})=>{const{siteType:y,isMarryBaby:w}=n(C),[S,P]=r(30),O=p((()=>P((e=>e-1))),1e3),[x,M]=u(0,{min:0,max:3}),z=a(!0),{t:T}=B();i((()=>(O.start(),O.stop)),[]),i((()=>{0===S&&(O.stop(),z.current=!1)}),[S]);const F=j({initialValues:{otp:""},validate:Y(re(T))});i((()=>{c&&F.setFieldError("otp",c)}),[c]);const I=s((()=>Q((()=>{z.current||(M.increment(),P(30),null==m||m(l||d),O.start(),z.current=!0)}),1e3,{trailing:!1})),[l,d,m,O]);return t.createElement(q,{heading:T("onboarding.otpForm.heading"),description:t.createElement(t.Fragment,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:l?T("onboarding.otpForm.description",{phone:`<b style="color:${N.colors.gray800}">${l.slice(0,-3).replace(/./g,"x").concat(l.slice(-3))}</b>`}):T("onboarding.otpForm.descriptionEmail",{email:`<b style="color:${N.colors.gray800}">${K(d)}</b>`})}}),!v&&t.createElement("svg",{onClick:()=>{null==f||f()},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"otp-description-edit-icon"},t.createElement("path",{d:"M12.7812 1.33337C12.2987 1.33337 11.8162 1.51712 11.4479 1.88546L10.6667 2.66671L13.3333 5.33337L14.1146 4.55212C14.8506 3.81612 14.8506 2.62212 14.1146 1.88546C13.7463 1.51712 13.2638 1.33337 12.7812 1.33337ZM9.66667 3.66671L2 11.3334V14H4.66667L12.3333 6.33337L9.66667 3.66671Z",fill:"#ADB3BC"})))},t.createElement(k,{form:F},t.createElement("form",{onSubmit:F.onSubmit((t=>e(void 0,void 0,void 0,(function*(){M.increment(),o(t.otp)}))),(e=>{console.log(e)}))},t.createElement(oe,{inputOrder:["otp"]}),t.createElement("div",{className:"resend"},t.createElement(X,{size:"p4",color:N.colors.gray400},T("onboarding.otpForm.notReceiveOTP")),t.createElement(X,{as:"a",size:"p4",color:w?N.mbColors.pink:N.colors.primaryBase,onClick:I},T("onboarding.otpForm.resendCode",{seconds:S}))),t.createElement(g,{theme:y,color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:h,disabled:h,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},T("onboarding.button.continue")),E&&x>=3&&t.createElement(g,{theme:y,color:"ghost",isBlock:!0,size:"lg",onClick:b,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none",type:"button"},T("onboarding.button.skip")))))},ce=({onClose:e,onSubmit:o,canSkip:r,loading:a,errorMessage:s,initialData:l})=>{const{t:d,locale:m}=B(),{siteType:c,isMarryBaby:p}=n(C),u=j({validate:Y(ae(d))});return i((()=>{u.setValues(Object.assign(Object.assign({gender:"0"},l),(null==l?void 0:l.birthday)&&{birthday:new Date(l.birthday)}))}),[l]),i((()=>{s&&u.setFieldError("email",s)}),[s]),t.createElement(x,{heading:d("onboarding.formEmail.heading"),description:d("onboarding.formEmail.description",{site:p?"Marry Baby":z[m].SITE_NAME_FORMATTED})},t.createElement(k,{form:u},t.createElement("form",{className:"form",onSubmit:u.onSubmit((e=>{o(Object.assign(Object.assign({},e),{birthday:e.birthday&&ee(e.birthday,"yyyy-MM-dd")}))}),(e=>{console.log({fieldErrors:e})}))},t.createElement(oe,{inputOrder:["full_name","email","dob","gender"]}),t.createElement(g,{color:"primary",isBlock:!0,size:"lg",type:"submit",theme:c,isLoading:a,disabled:a},d("onboarding.button.continue")),r&&t.createElement(g,{theme:c,color:"ghost",isBlock:!0,size:"lg",onClick:e},d("onboarding.button.skip")))))},pe=({onClose:e,onSubmit:o,canSkip:n,errorMessage:r,loading:a})=>{const{t:i}=B(),s=j({initialValues:{password:"",confirmPassword:""},validate:Y(ie(i))});return t.createElement(x,{heading:i("onboarding.updatePassword.heading"),description:i("onboarding.updatePassword.description")},t.createElement(k,{form:s},t.createElement("form",{className:"form",onSubmit:s.onSubmit((e=>o((null==e?void 0:e.password)||"")),(e=>{console.log({fieldErrors:e})}))},t.createElement(oe,{inputOrder:["password","confirm_password"]}),t.createElement(g,{color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:a,disabled:a},i("onboarding.button.continue")),n&&t.createElement(g,{color:"ghost",isBlock:!0,size:"lg",onClick:e},i("onboarding.button.skip")),r&&t.createElement(d.Error,{className:"form-error"},r))))},ue=n=>{var{banner:a,canSkip:i,createPassError:s,createPassLoading:d,customFormTexts:p,emailLoading:h,flow:f=[T.Phone,T.OTP],initialData:E,onClose:v,onCreatePassByEmail:y,onOtpSubmit:S,onPersonalInfoSubmit:P,onPhoneSubmit:j,onResendCode:k,otpError:O,otpLoading:M,personalInfoError:z,resultScreenProps:I,siteType:L,step:q,withSimilac:Y=!1,similacFormProps:H}=n,$=o(n,["banner","canSkip","createPassError","createPassLoading","customFormTexts","emailLoading","flow","initialData","onClose","onCreatePassByEmail","onOtpSubmit","onPersonalInfoSubmit","onPhoneSubmit","onResendCode","otpError","otpLoading","personalInfoError","resultScreenProps","siteType","step","withSimilac","similacFormProps"]);const{t:G}=B(),[Z,K]=r(q||f[0]),[J,Q]=r(""),[X,ee]=r(""),[oe,te]=u(0,{min:0,max:2}),{isMobile:ne}=w(),re=l((()=>{const e=f.indexOf(Z)+1;e<=f.length-1&&K(f[e])}),[Z]),ae=l((()=>{const e=f.indexOf(Z)-1;e>=0&&K(f[e])}),[Z]),ie=o=>e(void 0,void 0,void 0,(function*(){try{!(yield S(o))&&re()}catch(e){console.error(e)}})),se=()=>{oe>=2||(te.increment(),ae())},ue="marryBaby"===L;return t.createElement(C.Provider,{value:{siteType:L,isMarryBaby:ue}},t.createElement(A,Object.assign({},$),f.length>0?t.createElement(V,null,t.createElement(m,{sx:{[F.mbDown]:{margin:0},".mantine-Grid-col":{[F.mbDown]:{padding:0}}}},t.createElement(m.Col,{span:"object"!=typeof a&&!Y||ne?12:6,order:Y?2:1,orderMd:Y?1:2,sx:{zIndex:Y?99:void 0}},t.createElement(D,{"data-similac":Y,"data-has-banner":"object"==typeof a},Z===T.Phone&&(Y?t.createElement(le,{onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){var e;try{const t=null==o?void 0:o.phone;t&&(Q(t),yield Promise.all([null===(e=null==H?void 0:H.onFormSubmit)||void 0===e?void 0:e.call(H,o),null==j?void 0:j(t)])),re()}catch(e){console.error(e)}})),customFormTexts:p.onboarding,defaultValues:null==H?void 0:H.defaultValues,customTerms:null==H?void 0:H.customTerms}):t.createElement(de,{onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){try{Q(o),yield null==j?void 0:j(o),re()}catch(e){console.error(e)}})),customFormTexts:p.onboarding})),Z===T.OTP&&t.createElement(me,{onClose:v,onSubmit:ie,phone:J,onResendCode:k,otpError:O,loading:M,canSkip:i,onBack:se,outOfEdit:oe>=2}),Z===T.OTPEmail&&t.createElement(me,{onClose:v,onSubmit:ie,onResendCode:k,otpError:O,loading:M,canSkip:i,onBack:se,outOfEdit:oe>=2,email:X}),Z===T.PersonalInfo&&t.createElement(ce,{initialData:null==E?void 0:E[T.PersonalInfo],onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){try{ee((null==o?void 0:o.email)||"");!(yield null==P?void 0:P(o))&&re()}catch(e){console.error(e)}})),errorMessage:z,loading:h}),Z===T.UpdatePassword&&t.createElement(pe,{onClose:v,canSkip:i,onSubmit:o=>e(void 0,void 0,void 0,(function*(){try{yield null==y?void 0:y(o),!s&&re()}catch(e){console.error(e)}})),errorMessage:s,loading:d}),Z===T.Result&&t.createElement(x,Object.assign({},I),t.createElement(g,{theme:L,size:"lg",onClick:v,className:"form-button"},G("onboarding.button.continue"))))),"object"==typeof a&&!Y&&t.createElement(m.Col,{span:"object"!=typeof a&&!Y||ne?12:6,order:Y?2:1,orderMd:Y?1:2},t.createElement(_,null,t.createElement(R,{"data-is-marry-baby":ue},t.createElement(U,null,(null==a?void 0:a.heading)&&t.createElement(c,{order:1,mb:24},null==a?void 0:a.heading),(null==a?void 0:a.description)&&t.createElement(b,{size:"p1",color:N.colors.gray800},G("onboarding.welcomeScreen.content"))),(null==a?void 0:a.imgSrc)&&t.createElement("div",null,t.createElement(W,{src:null==a?void 0:a.imgSrc,loading:"lazy"}))))),"object"==typeof a&&Y&&(null==a?void 0:a.imgSrc)&&t.createElement(m.Col,{span:"auto",order:Y?1:2,orderMd:Y?2:1},t.createElement(W,{src:null==a?void 0:a.imgSrc,loading:"lazy",className:"similac"})))):"Incorrect flow"))};export{de as OnboardingForm,ue as OnboardingModal,me as OtpForm};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-2f773aeb.js";import n,{createContext as r,forwardRef as o,useContext as a,useImperativeHandle as i,useState as l,useRef as s,useEffect as m,useMemo as d,Fragment as c}from"react";import{Box as p,Input as u,Grid as g,Title as b,Container as h,Stack as E,AspectRatio as f}from"@mantine/core";import{createFormContext as L,yupResolver as v}from"@mantine/form";import{H as C}from"./index-313abbe7.js";import"./gAssets.js";import"./index-4d7073b2.js";import{L as y}from"./index-652e4433.js";import{M as x,a as w}from"./utils-934fc187.js";import{t as S}from"./theme-658bcd7b.js";import"./index.styled-743f922f.js";import{u as M}from"./useTranslations-27ed0471.js";import"./index-22d66f3a.js";import{useInterval as j,useCounter as P}from"@mantine/hooks";import"@mantine/dates";import{L as k}from"./index-523b1b14.js";import{L as O}from"./Onboarding-3a098961.js";import{e as F,o as B,h as z,R as N,O as I,p as T,u as D,B as Z}from"./index-f86c8643.js";import"dayjs";import"./screenSizeContext-daa144e8.js";import A from"styled-components";import"./isProduction-9fdedd97.js";import"./index-f963f3c7.js";import"lodash/debounce";import*as _ from"yup";import{D as V}from"./index-de62b22b.js";import{A as q}from"./index-80254186.js";import{V as H}from"./Visible-48f42ae6.js";import{createPortal as $}from"react-dom";import{B as U}from"./index-d54980b1.js";import{b as Y}from"./index-dc00bc5f.js";import R from"lodash/throttle";import{T as W}from"./index-4962ee5f.js";import{format as G}from"date-fns";import"./translationsContext-4e922048.js";import"string-format";import K from"react-keyed-flatten-children";import"./useUniqueId-36e2cd8f.js";import"date-fns/locale";import"@mantine/carousel";import"./index-2ae479cb.js";import"./utils-f6a98198.js";const J=e=>_.object().shape({phone:_.string().required(e("onboarding.updatePhone.error")).default(""),name:_.string().required(e("onboarding.errorMessage.requiredName")),email:_.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),address:_.mixed().required(e("onboarding.similac.address.error")),term:_.bool().oneOf([!0],e("onboarding.similac.term.error"))}),Q=r({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1,isMarryBaby:!1,siteType:"helloSites",sharedData:{},setSharedData:()=>!1}),[X,ee,te]=L(),ne=A(p)`
|
|
2
2
|
.phone-input {
|
|
3
3
|
width: 100%;
|
|
4
4
|
margin-bottom: 32px;
|
package/build/esm/pwg.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useMemo as t,useState as r,useRef as
|
|
1
|
+
import e,{useMemo as t,useState as r,useRef as l}from"react";import{M as a,a as o}from"./index-3a275e6e.js";import{T as n}from"./index-4962ee5f.js";import{P as i}from"./index-721531e5.js";import{u as s}from"./useTranslations-27ed0471.js";import{t as c}from"./theme-658bcd7b.js";import{ResponsiveContainer as m,AreaChart as d,CartesianGrid as p,Tooltip as g,XAxis as y,YAxis as u,Area as b,ReferenceDot as f}from"recharts";import{C as h}from"./index-22d66f3a.js";import{a as x}from"./useOutsideClick-480b6515.js";import E from"styled-components";import{_ as k}from"./tslib.es6-2f773aeb.js";import"./index.styled-743f922f.js";import"./Onboarding-3a098961.js";import"./index.styled-739f456f.js";import"./gAssets.js";import"./index-523b1b14.js";import"date-fns/locale";import"./isProduction-9fdedd97.js";import"./index-f963f3c7.js";import"@mantine/carousel";import"@mantine/core";import"@mantine/hooks";import"./translationsContext-4e922048.js";import"string-format";const w=t=>{const{x:r,y:l,payload:a,activeWeek:o}=t;return o===a.value?e.createElement("g",{transform:`translate(${r},${l})`},e.createElement("circle",{r:12,fill:"marryBaby"===t.siteType?c.mbColors.pink:c.colors.primaryBase}),e.createElement("text",{textAnchor:"middle",alignmentBaseline:"central",fill:c.colors.white,fontFamily:"Inter",fontWeight:"600",fontSize:"12px"},a.value)):e.createElement("g",{transform:`translate(${r},${l})`},e.createElement("text",{textAnchor:"middle",alignmentBaseline:"central",fill:c.colors.gray600,fontFamily:"Inter",fontWeight:"400",fontSize:"12px"},a.value))},v=E.div`
|
|
2
2
|
/* position: absolute; */
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -18,7 +18,7 @@ import e,{useMemo as t,useState as r,useRef as a}from"react";import{M as l,a as
|
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
padding: 4px 8px;
|
|
21
|
-
background: ${
|
|
21
|
+
background: ${c.colors.yellow600};
|
|
22
22
|
border-radius: 3px;
|
|
23
23
|
} */
|
|
24
24
|
& > * {
|
|
@@ -55,14 +55,14 @@ import e,{useMemo as t,useState as r,useRef as a}from"react";import{M as l,a as
|
|
|
55
55
|
align-items: center;
|
|
56
56
|
gap: 4px;
|
|
57
57
|
}
|
|
58
|
-
`,T=[{name:"overweight",backgroundColor:
|
|
58
|
+
`,T=[{name:"overweight",backgroundColor:c.colors.yellow50,color:c.colors.yellow900},{name:"underweight",backgroundColor:c.colors.yellow50,color:c.colors.yellow900},{name:"healthy",backgroundColor:c.colors.green50,color:c.colors.green900}],B=r=>{var l,a,o,i,s;const{payload:m,active:d}=r,p=null===(l=null==m?void 0:m[0])||void 0===l?void 0:l.payload;if(!p||!p.toolTipLabel||!d)return null;const{backgroundColor:g,color:y}=t((()=>T.find((e=>e.name===p.status))),[null==p?void 0:p.status]);return e.createElement(v,null,e.createElement("div",null,null===(a=p.toolTipLabel)||void 0===a?void 0:a[0]," ",null===(o=p.toolTipLabel)||void 0===o?void 0:o[1]),e.createElement("div",null,(null===(i=p.toolTipLabel)||void 0===i?void 0:i[2])&&e.createElement(n,{as:"span",size:"s3",color:c.colors.gray800,type:"semiBold"},null===(s=p.toolTipLabel)||void 0===s?void 0:s[2]),e.createElement("div",{className:"risk",style:{backgroundColor:g}},e.createElement(n,{size:"n1",color:y},p.translatedStatus))))},W=({weightByWeek:e,weightBefore:t,toolTipLabel:r,status:l,activeWeek:a,t:o})=>{const n=o(`bmi.result.${l}`);return e.map((e=>Object.assign({name:e.week,min:t+e.min,difference:e.max-e.min,max:t+e.max},e.week===a?{toolTipLabel:r,translatedStatus:n,status:l}:{})))},z=({weightBefore:o,weightByWeek:i,activeWeek:E,currentWeight:k,toolTipLabel:v=[],status:C,withLine:T=!1,siteType:z})=>{const{t:L}=s(),S="marryBaby"===z,O=t((()=>W({weightByWeek:i,weightBefore:o,toolTipLabel:v,status:C,activeWeek:E,t:L})),[i,o,v,C,E]),[F,I]=r(!1),M=l(null);return x(M,(()=>I(!1))),e.createElement(j,null,S?e.createElement(a,{type:"bodytext-3",color:c.mbColors.dark}," ",L("babyGrowth.weight")," ",L("pregnancyWeightGain.weightInput.desc")):e.createElement(n,{size:"n1",color:c.colors.gray500},L("babyGrowth.weight")," ",L("pregnancyWeightGain.weightInput.desc")),Array.isArray(O)&&O.length>0&&e.createElement(j,null,e.createElement(m,{height:388,className:"chart"},e.createElement(d,{data:O,margin:{top:16,right:0,left:0}},e.createElement(p,{stroke:c.colors.neutral100}),e.createElement(g,{trigger:"click",content:t=>e.createElement(B,Object.assign({active:!T&&F&&void 0!==E&&void 0!==k},t))}),e.createElement(y,{type:"number",scale:"linear",ticks:Array.from({length:40},((e,t)=>t+1)),dataKey:"name",tickLine:!1,tickMargin:12,tick:t=>e.createElement(w,Object.assign({},t,{activeWeek:E,siteType:z})),domain:["dataMin","dataMax"],interval:"preserveStartEnd",tickCount:1,allowDecimals:!1}),e.createElement(u,{domain:[e=>Math.max(e,o-10||e),e=>Math.max(e,o+20||e)],type:"number",scale:"auto",interval:"preserveStartEnd",tickLine:!1,tickMargin:7,width:45,tickCount:10,allowDecimals:!0,tickFormatter:e=>String(Math.round(100*(e+Number.EPSILON))/100),tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:c.colors.gray600}}),e.createElement(b,{connectNulls:!0,type:"monotone",dataKey:"min",stackId:"1",stroke:"transparent",fill:"transparent"}),e.createElement(b,{connectNulls:!0,type:"monotone",dataKey:"difference",stackId:"1",stroke:"transparent",fill:S?c.mbColors.tonePink:c.colors.primary100}),void 0!==E&&void 0!==k&&e.createElement(f,{onClick:()=>I(!0),x:0===E?1:E,y:k,r:4,shape:e.createElement(h,{ref:M,r:4}),fill:S?c.mbColors.pink:c.colors.primaryBase,stroke:S?c.mbColors.pink:c.colors.primaryBase}))),e.createElement("div",{className:"custom-chart-label"},e.createElement("i",null),S?e.createElement(a,{type:"bodytext-3",color:c.mbColors.dark},L("pregnancy.week")):e.createElement(n,{size:"n1",color:c.colors.gray500},L("pregnancy.week")))))},L=t=>{var{color:r}=t,l=k(t,["color"]);return e.createElement("svg",Object.assign({width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),e.createElement("circle",{cx:"4",cy:"4",r:"4",fill:r||c.colors.primaryBase}))},S=({idealWeight:t,siteType:r})=>{const{t:l}=s(),o="marryBaby"===r;return e.createElement(C,null,e.createElement("div",null,o?e.createElement(e.Fragment,null,e.createElement(L,{color:c.mbColors.lightPink}),e.createElement(a,{type:"bodytext-3",color:c.mbColors.dark},l("pregnancyTool.weightSuggested")," ",e.createElement(n,{size:"n1",color:c.colors.gray800,type:"bold",as:"span"},t))):e.createElement(e.Fragment,null,e.createElement(L,{color:c.colors.primary100}),e.createElement(n,{size:"n1",color:c.colors.gray600},e.createElement(n,{size:"n1",as:"span"},l("pregnancyTool.weightSuggested")," "),e.createElement(n,{size:"n1",color:c.colors.gray800,type:"bold",as:"span"},t)))),e.createElement("div",null,o?e.createElement(e.Fragment,null,e.createElement(L,{color:c.mbColors.pink}),e.createElement(a,{type:"bodytext-3",color:c.mbColors.dark},l("pwg.placeholder.weight"))):e.createElement(e.Fragment,null,e.createElement(L,null),e.createElement(n,{size:"n1",color:c.colors.gray600},l("pwg.placeholder.weight")))))},O=E.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
align-items: center;
|
|
62
62
|
padding: 24px 16px;
|
|
63
63
|
width: 100%;
|
|
64
64
|
gap: 24px;
|
|
65
|
-
border: 1px solid ${
|
|
65
|
+
border: 1px solid ${c.colors.neutral100};
|
|
66
66
|
border-radius: 8px;
|
|
67
67
|
.chart-header {
|
|
68
68
|
text-align: center;
|
|
@@ -70,4 +70,4 @@ import e,{useMemo as t,useState as r,useRef as a}from"react";import{M as l,a as
|
|
|
70
70
|
> div {
|
|
71
71
|
width: 100%;
|
|
72
72
|
}
|
|
73
|
-
`,F=({chartProps:t,pillCarouselProps:r,idealWeight:
|
|
73
|
+
`,F=({chartProps:t,pillCarouselProps:r,idealWeight:l,description:a,siteType:m})=>{const{t:d}=s(),p="marryBaby"===m;return e.createElement(O,null,e.createElement("div",{className:"chart-header"},p?e.createElement(o,{type:"h3",color:c.mbColors.dark},d("pregnancyTool.weightSuggested")):e.createElement(n,{size:"s1",type:"semiBold",color:c.colors.gray800},d("pregnancyTool.weightSuggested")),a&&a),e.createElement(i,Object.assign({},r)),e.createElement("div",null,e.createElement(S,{idealWeight:l,siteType:m}),e.createElement(z,Object.assign({},t,{siteType:m}))))};export{F as PregnancyWeightGainChart};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as e}from"./index-523b1b14.js";import{i as s}from"./isProduction-9fdedd97.js";const t=(t,o)=>{if("undefined"!=typeof window)return window.location.origin;const r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return r?"http://localhost:3000":`https://${!r&&!s?o?"fe.":"discover.":o?"www.":""}${e[o?"vi-VN_MB":t]}`},o=(t,o)=>process.env.UNIFY_SSO_API||`https://${s?"id.":"staging-id."}${e[o?"vi-VN_MB":t]}`,r=()=>process.env.UNIFY_INTERNAL_TOGETHER_API||process.env.UNIFY_TOGETHER_API||`https://${s?"together.":"staging-together."}hellohealthgroup.com`,n=t=>process.env.UNIFY_DISCOVER_API||`https://${s?"wp.":"staging."}${e[t]}`,i=()=>process.env.UNIFY_INTERNAL_CARE_API||process.env.UNIFY_CARE_API||`https://${s?"health-care.":"service-health-care."}hellohealthgroup.com`;export{o as a,r as b,n as c,i as d,t as g};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import{keyframes as t}from"styled-components";import r,{createContext as i,useState as s,useEffect as a,useMemo as n}from"react";import e from"lodash/throttle";import{B as o}from"./utils-934fc187.js";const d=t`
|
|
2
|
+
from {
|
|
3
|
+
transform: translate3d(0, 100%, 0);
|
|
4
|
+
visibility: visible;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
to {
|
|
8
|
+
transform: translate3d(0, 0, 0);
|
|
9
|
+
}
|
|
10
|
+
`,l=t`
|
|
11
|
+
from {
|
|
12
|
+
transform: translate3d(0, -100%, 0);
|
|
13
|
+
visibility: visible;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
to {
|
|
17
|
+
transform: translate3d(0, 0, 0);
|
|
18
|
+
}
|
|
19
|
+
`,m=t`
|
|
20
|
+
from {
|
|
21
|
+
transform: translate3d(-100%, 0, 0);
|
|
22
|
+
visibility: visible;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
to {
|
|
26
|
+
transform: translate3d(0, 0, 0);
|
|
27
|
+
}
|
|
28
|
+
`,f=t`
|
|
29
|
+
from {
|
|
30
|
+
transform: translate3d(100%, 0, 0);
|
|
31
|
+
visibility: visible;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
to {
|
|
35
|
+
transform: translate3d(0, 0, 0);
|
|
36
|
+
}
|
|
37
|
+
`,b=t`
|
|
38
|
+
from {
|
|
39
|
+
transform: translate3d(0, 0, 0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
to {
|
|
43
|
+
visibility: hidden;
|
|
44
|
+
transform: translate3d(0, 100%, 0);
|
|
45
|
+
}
|
|
46
|
+
`,v=t`
|
|
47
|
+
from {
|
|
48
|
+
transform: translate3d(0, 0, 0);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
to {
|
|
52
|
+
visibility: hidden;
|
|
53
|
+
transform: translate3d(-100%, 0, 0);
|
|
54
|
+
}
|
|
55
|
+
`,_=t`
|
|
56
|
+
from {
|
|
57
|
+
transform: translate3d(0, 0, 0);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
to {
|
|
61
|
+
visibility: hidden;
|
|
62
|
+
transform: translate3d(100%, 0, 0);
|
|
63
|
+
}
|
|
64
|
+
`,E=t`
|
|
65
|
+
from {
|
|
66
|
+
transform: translate3d(0, 0, 0);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
to {
|
|
70
|
+
visibility: hidden;
|
|
71
|
+
transform: translate3d(0, -100%, 0);
|
|
72
|
+
}
|
|
73
|
+
`,c=t`
|
|
74
|
+
from {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
to {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
`,h=i({isInit:!0}),w=t=>{const r=(t=>"number"==typeof t?t:"undefined"!=typeof window&&window.innerWidth||0)(t);return{smallMobile:r<o.BREAK_POINT_SMALL_MOBILE,mobile:r>=o.BREAK_POINT_SMALL_MOBILE&&r<o.BREAK_POINT_MOBILE,tablet:r>=o.BREAK_POINT_MOBILE&&r<o.BREAK_POINT_TABLET,pc:r>=o.BREAK_POINT_TABLET&&r<o.BREAK_POINT_PC,xl:r>=o.BREAK_POINT_PC}},B=({children:t})=>{const[i,o]=s((()=>({isInit:!0})));a((()=>{const t=e((()=>{o({width:window.innerWidth,height:window.innerHeight,isInit:!1})}),200);return window.addEventListener("resize",t,{passive:!0}),()=>{window.removeEventListener("resize",t)}}),[]);const d=n((()=>w(i.width)),[i.width]);return r.createElement(h.Provider,{value:Object.assign(Object.assign({},i),{sizeGroups:d})},t)};export{h as S,l as a,m as b,f as c,E as d,b as e,v as f,_ as g,c as h,w as i,B as j,d as s};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BabyGrowthContent, BabyGrowthContentApi } from "../../interfaces/types";
|
|
2
|
+
import { Article, ArticleApi, ArticleAuthor, ArticleAuthorApi, ArticleExpert, ArticleExpertApi, Author, BMIResult, BMIResultApi, Category, CategoryApi, CategoryHealthToolApi, Comment, CommentApi, Community, CommunityApi, ExpertAnswer, ExpertAnswerApi, ExpertUserSummaryApi, FAQs, FAQsApi, HealthTool, HealthToolApi, HealthToolByCategory, Notification, NotificationApi, OvulationInfo, OvulationInfoApi, PageCategory, PageCategoryApi, Post, PostApi, PostDetail, PostPaginationApi, PostPaginationClient, PwgInfo, PwgInfoApi, ReportedPostDetail, ReviewedCategory, ReviewedCategoryApi, ReviewedUserApi, SiteWideBanner, SiteWideBannerApi, Sponsor, SponsorApi, SpotlightSummary, SpotlightSummaryApi, SuggestedArticle, SuggestedArticleApi, ThrInfo, ThrInfoApi, Topic, TopicApi, TopicHealthTool, TopicHealthToolApi, TopicSubot, TopicSubotApi } from '../interfaces/types';
|
|
3
|
+
export declare const formatAuthor: (author: ArticleAuthorApi) => ArticleAuthor;
|
|
4
|
+
export declare const formatArticleExpert: (expert: ArticleExpertApi) => ArticleExpert;
|
|
5
|
+
export declare const formatSpotlightsSummary: (spotlight?: SpotlightSummaryApi) => SpotlightSummary | null;
|
|
6
|
+
export declare const TRANSLATE_LANGUAGES: {
|
|
7
|
+
EN: string;
|
|
8
|
+
FIL: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const formatTranslateOptions: (translate?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
}) => {
|
|
13
|
+
value: string;
|
|
14
|
+
label: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const formatArticle: (article: ArticleApi) => Article;
|
|
17
|
+
export declare const formatUserProfile: (user: ReviewedUserApi | null | undefined) => ReviewedUserApi | null | undefined;
|
|
18
|
+
export declare const formatBMIResult: (data: BMIResultApi) => BMIResult;
|
|
19
|
+
export declare const formatSponsor: (sponsor: SponsorApi) => Sponsor;
|
|
20
|
+
export declare const formatReviewedCategory: (data: ReviewedCategoryApi) => ReviewedCategory;
|
|
21
|
+
export declare const formatCategory: (category: CategoryApi) => Category;
|
|
22
|
+
export declare const formatCategoryApi: (category: PageCategoryApi) => PageCategory;
|
|
23
|
+
export declare const formatFaqsCategory: (data: FAQsApi) => FAQs;
|
|
24
|
+
export declare const formatHealthTool: (healthTool: HealthToolApi) => HealthTool;
|
|
25
|
+
export declare const formatHealthToolTypeCategory: (category: CategoryHealthToolApi) => HealthToolByCategory;
|
|
26
|
+
export declare const formatCommunity: (community: CommunityApi) => Community;
|
|
27
|
+
export declare const formatTopic: (topic: TopicApi) => Topic;
|
|
28
|
+
export declare const formatExpertAnswer: (data: ExpertAnswerApi) => ExpertAnswer;
|
|
29
|
+
export declare const formatPost: (post: PostApi) => Post;
|
|
30
|
+
export declare const formatPostPagination: (pagination: PostPaginationApi) => PostPaginationClient;
|
|
31
|
+
export declare const formatNotification: (notification: NotificationApi) => Notification;
|
|
32
|
+
export declare const formatSpotlightsList: (spotligts: SpotlightSummaryApi[]) => SpotlightSummary[];
|
|
33
|
+
export declare const formatOvulationInfo: (data: OvulationInfoApi | null) => OvulationInfo;
|
|
34
|
+
export declare const formatSuggestedArticle: (data: SuggestedArticleApi | null) => SuggestedArticle;
|
|
35
|
+
export declare const formatTopicHealthTool: (data: TopicHealthToolApi | null) => TopicHealthTool;
|
|
36
|
+
export declare const formatComment: (data: CommentApi | null) => Comment;
|
|
37
|
+
export declare const formatReportedPostToPostDetail: (data: ReportedPostDetail | null) => PostDetail;
|
|
38
|
+
export declare const formatTopicSubot: (data: TopicSubotApi | null) => TopicSubot;
|
|
39
|
+
export declare const formatSiteWideBanner: (sitewide_banner?: SiteWideBannerApi | null, type?: 'article' | 'category' | 'home') => SiteWideBanner | null;
|
|
40
|
+
export declare const formatPWGContent: (data: PwgInfoApi | null) => PwgInfo;
|
|
41
|
+
export declare const formatUserProfileUrl: (user?: ReviewedUserApi | ExpertUserSummaryApi | Author | null) => string;
|
|
42
|
+
export declare const formatTHRContent: (data: ThrInfoApi | null) => ThrInfo;
|
|
43
|
+
export declare const formatBabyGrowthContent: (data: BabyGrowthContentApi) => BabyGrowthContent;
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
export declare const PATHS: {
|
|
2
|
+
BASE_API_PATH: string;
|
|
3
|
+
PROFILE: string;
|
|
4
|
+
SEARCH_USER: string;
|
|
5
|
+
FETCH_PREVIEW: string;
|
|
6
|
+
FETCH_POST_OR_TOPIC: string;
|
|
7
|
+
POST: {
|
|
8
|
+
LIST: string;
|
|
9
|
+
DETAIL_BY_ID_OR_SLUG: string;
|
|
10
|
+
CREATE: string;
|
|
11
|
+
LIKE: string;
|
|
12
|
+
DELETE: string;
|
|
13
|
+
REPORT: string;
|
|
14
|
+
UPDATE: string;
|
|
15
|
+
FOLLOW: string;
|
|
16
|
+
CREATE_ARTICLE_COMMENT: string;
|
|
17
|
+
};
|
|
18
|
+
COMMENT: {
|
|
19
|
+
LIST: string;
|
|
20
|
+
CREATE: string;
|
|
21
|
+
REPLY: string;
|
|
22
|
+
DELETE: string;
|
|
23
|
+
LIKE: string;
|
|
24
|
+
UNLIKE: string;
|
|
25
|
+
IMAGE_UPLOAD: string;
|
|
26
|
+
};
|
|
27
|
+
COMMUNITY: {
|
|
28
|
+
LIST: string;
|
|
29
|
+
DETAIL_BY_ID_OR_SLUG: string;
|
|
30
|
+
JOIN: string;
|
|
31
|
+
LEAVE: string;
|
|
32
|
+
};
|
|
33
|
+
TOPIC: {
|
|
34
|
+
LIST: string;
|
|
35
|
+
DETAIL_BY_ID_OR_SLUG: string;
|
|
36
|
+
HEALTH_TOOLS: string;
|
|
37
|
+
SUBOTS: string;
|
|
38
|
+
SUGGESTED_POSTS: string;
|
|
39
|
+
JOIN: string;
|
|
40
|
+
LEAVE: string;
|
|
41
|
+
};
|
|
42
|
+
BOOKMARK: {
|
|
43
|
+
LIST: string;
|
|
44
|
+
CREATE: string;
|
|
45
|
+
DELETE: string;
|
|
46
|
+
};
|
|
47
|
+
UPLOAD_IMAGE: string;
|
|
48
|
+
GET_DUE_DATE_INFO: string;
|
|
49
|
+
USER: {
|
|
50
|
+
DETAIL: string;
|
|
51
|
+
COUNT_TABS: string;
|
|
52
|
+
LIST_POST: string;
|
|
53
|
+
LIST_QUESTION_NEED_REPLY: string;
|
|
54
|
+
LIST_QUESTION: string;
|
|
55
|
+
SKIP_QUESTION: string;
|
|
56
|
+
LIST_ANSWERS: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const SUBOT_PATHS: {
|
|
60
|
+
TOGETHER: {
|
|
61
|
+
SURVEY: {
|
|
62
|
+
GET_FIRST_NODE: string;
|
|
63
|
+
CHAT_WITH_BOT: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export declare const CARE_PATHS: {
|
|
68
|
+
GET_DOCTOR_INFO: string;
|
|
69
|
+
GET_HOSPITAL_INFO: string;
|
|
70
|
+
};
|
|
71
|
+
export declare const DISCOVER_PATHS: {
|
|
72
|
+
BASE_API_PATH: string;
|
|
73
|
+
GET_SEARCH_ARTICLES: string;
|
|
74
|
+
GET_ALL_CATEGORIES: string;
|
|
75
|
+
GET_HOMEPAGE_POSTS: string;
|
|
76
|
+
GET_HOMEPAGE_LATEST_POSTS: string;
|
|
77
|
+
GET_ARTICLE_DETAIL: string;
|
|
78
|
+
GET_CATEGORY_DETAIL: string;
|
|
79
|
+
GET_CATEGORY_OR_ARTICLE_DETAIL: string;
|
|
80
|
+
GET_PREVIEW_ARTICLE: string;
|
|
81
|
+
GET_ARTICLE_OF_CATEGORY: string;
|
|
82
|
+
GET_PAGE_STATIC: string;
|
|
83
|
+
GET_ALL_HEALTH_TOOLS: string;
|
|
84
|
+
GET_ALL_MARRYBABY_HEALTH_TOOLS: string;
|
|
85
|
+
GET_HEALTH_TOOLS_BY_CATEGORY: string;
|
|
86
|
+
GET_AUTHOR: string;
|
|
87
|
+
GET_ALL_EXPERTS: string;
|
|
88
|
+
GET_ALL_EXPERTS_PAGING: string;
|
|
89
|
+
GET_EXPERT: string;
|
|
90
|
+
GET_EXPERT_POST: string;
|
|
91
|
+
POST_ARTICLE_FEEDBACK: string;
|
|
92
|
+
GET_AZ_DRUGS: string;
|
|
93
|
+
GET_HOMEPAGE_MEDICAL_REVIEWED: string;
|
|
94
|
+
GET_ARTICLES_BY_IDS: string;
|
|
95
|
+
GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS: string;
|
|
96
|
+
GET_EXPERT_OF_CATEGORY: string;
|
|
97
|
+
GET_DUE_DATE_INFO: string;
|
|
98
|
+
GET_DUE_DATE_ALL_WEEKS: string;
|
|
99
|
+
GET_DUE_DATE_SUGGESTED_ARTICLES: string;
|
|
100
|
+
GET_PROFILE: string;
|
|
101
|
+
GET_ADMIN_PROFILE: string;
|
|
102
|
+
GET_FEATURE: string;
|
|
103
|
+
POST_NEW_FEATURE: string;
|
|
104
|
+
CREATE_BOOKMARK: string;
|
|
105
|
+
DELETE_BOOKMARK: string;
|
|
106
|
+
DELETE_ALL_BOOKMARK: string;
|
|
107
|
+
GET_ALL_BOOKMARK: string;
|
|
108
|
+
SSO_USER_PROFILE: string;
|
|
109
|
+
SSO_USER_BOOKMARKS: string;
|
|
110
|
+
SSO_USER_PASSWORD: string;
|
|
111
|
+
SSO_USER_EMAIL: string;
|
|
112
|
+
SSO_CLOSE_ACCOUNT: string;
|
|
113
|
+
SSO_HELP: string;
|
|
114
|
+
GET_HEALTH_TOOL_OVULATION_INFO: string;
|
|
115
|
+
GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES: string;
|
|
116
|
+
GET_HEALTH_TOOL_BMI_INFO: string;
|
|
117
|
+
GET_HEALTH_TOOL_BMI_RESULT: string;
|
|
118
|
+
GET_HEALTH_TOOL_BMR_INFO: string;
|
|
119
|
+
GET_HEALTH_TOOL_BMR_RESULT: string;
|
|
120
|
+
GET_HEALTH_TOOL_PWG_INFO: string;
|
|
121
|
+
GET_HEALTH_TOOL_THR_INFO: string;
|
|
122
|
+
GET_HEALTH_TOOL_BABY_GROWTH_INFO: string;
|
|
123
|
+
POST_UPDATE_LOCATION: string;
|
|
124
|
+
GET_SIDIS_DUE_DATE: string;
|
|
125
|
+
GET_SIDIS_OVULATION: string;
|
|
126
|
+
GET_SIDIS_BMI: string;
|
|
127
|
+
GET_SIDIS_BMR: string;
|
|
128
|
+
POST_LOGOUT: string;
|
|
129
|
+
OVULATION_CREATE_EVENT: string;
|
|
130
|
+
GET_ALL_SPOTLIGHT: string;
|
|
131
|
+
SSO_UPDATE_FIRST_TIME_BOOKMARK: string;
|
|
132
|
+
POST_COMMENT_NOTIFICATION: string;
|
|
133
|
+
GET_ABOUT_US_DATA: string;
|
|
134
|
+
POST_LEAD_IMPRESSION: string;
|
|
135
|
+
POST_LEAD_POPUP_EXIT: string;
|
|
136
|
+
POST_LEAD_LEAD: string;
|
|
137
|
+
POST_SSO_VERIFY_TOKEN: string;
|
|
138
|
+
GET_LANDING_PAGE_FIRST_NODE: string;
|
|
139
|
+
GET_LANDING_PAGE_NEXT_NODE: string;
|
|
140
|
+
POST_LANDING_PAGE_IMPRESSION: string;
|
|
141
|
+
POST_LANDING_PAGE_CLICK: string;
|
|
142
|
+
FETCH_URL_DATA: string;
|
|
143
|
+
GET_SPOTLIGHT_LANDING: string;
|
|
144
|
+
GET_FOOTER_INFO: string;
|
|
145
|
+
CHECK_SSO_EMAIL: string;
|
|
146
|
+
GET_HOMEPAGE_SITEWIDE_BANNER: string;
|
|
147
|
+
GET_DYNAMIC_FOOTER: string;
|
|
148
|
+
GET_EXPERTS: string;
|
|
149
|
+
GET_EXPERT_BY_ID: string;
|
|
150
|
+
};
|
|
151
|
+
export declare const ADMIN_PATHS: {
|
|
152
|
+
SEARCH_USER: string;
|
|
153
|
+
COMMENT: {
|
|
154
|
+
IMAGE_UPLOAD: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { LocaleType } from "../../interfaces/types";
|
|
2
|
+
export declare const domainLocales: {
|
|
3
|
+
'vi-VN': string;
|
|
4
|
+
'id-ID': string;
|
|
5
|
+
'ms-MY': string;
|
|
6
|
+
'km-KH': string;
|
|
7
|
+
'en-PH': string;
|
|
8
|
+
'th-TH': string;
|
|
9
|
+
'my-MM': string;
|
|
10
|
+
'zh-TW': string;
|
|
11
|
+
'hi-IN': string;
|
|
12
|
+
};
|
|
13
|
+
export declare const domainLocalesMarryBaby: {
|
|
14
|
+
'vi-VN': string;
|
|
15
|
+
};
|
|
16
|
+
export declare const getWebsiteUrlApi: (locale: string) => string;
|
|
17
|
+
export declare const getCurrentBaseUrl: (locale: string) => string;
|
|
18
|
+
export declare const getCurrentHref: (locale: string, basePath: string, asPath: string) => string;
|
|
19
|
+
export declare const getApiPath: (path: string, params?: {
|
|
20
|
+
[key: string]: string | number;
|
|
21
|
+
}, query?: {
|
|
22
|
+
[key: string]: string | number;
|
|
23
|
+
}) => string;
|
|
24
|
+
export declare const getDiscoverApiPath: (path: string, params?: {
|
|
25
|
+
[key: string]: string | number;
|
|
26
|
+
}, useProOnDev?: boolean) => string;
|
|
27
|
+
export declare const getMarryBabyApiPath: (path: string, params?: {
|
|
28
|
+
[key: string]: string | number;
|
|
29
|
+
}, useProOnDev?: boolean) => string;
|
|
30
|
+
export declare const getCarePath: (path: string, params?: {
|
|
31
|
+
[key: string]: string | number;
|
|
32
|
+
}) => string;
|
|
33
|
+
type ApiOptions = RequestInit & {
|
|
34
|
+
data?: any;
|
|
35
|
+
};
|
|
36
|
+
export declare const callApi: (url: string, method: string, options?: ApiOptions, skipEncodeURI?: boolean) => Promise<any>;
|
|
37
|
+
export declare const callApiWithOptionalAuth: (urlData: {
|
|
38
|
+
url: string;
|
|
39
|
+
backupUrl: string;
|
|
40
|
+
} | string, method?: string, options?: ApiOptions, reqCookie?: string) => Promise<any>;
|
|
41
|
+
export declare const callApiWithAuth: (url: string, method: string, options?: ApiOptions, reqCookie?: string) => Promise<any>;
|
|
42
|
+
export declare const callApiWithAdminAuth: (url: string, method: string, options?: ApiOptions, reqCookie?: string) => Promise<any>;
|
|
43
|
+
export declare function updateQueryStringParameter(uri: string, key: string, value: string): string;
|
|
44
|
+
export declare const getUrlToSSOWithReturnUrl: (url?: string, params?: {
|
|
45
|
+
[k: string]: string;
|
|
46
|
+
}) => string;
|
|
47
|
+
export declare const getUrlToSignUp: (url?: string, params?: {
|
|
48
|
+
[k: string]: string;
|
|
49
|
+
}, togetherBasePath?: string) => string;
|
|
50
|
+
export declare const slugifiedNameWithId: (name?: string, id?: number, slug?: string, _locale?: LocaleType) => string;
|
|
51
|
+
export declare const getCareDoctorUrl: ({ name, id, locale, }: {
|
|
52
|
+
name?: string;
|
|
53
|
+
id?: number;
|
|
54
|
+
locale: LocaleType;
|
|
55
|
+
}) => string;
|
|
56
|
+
export declare const getCareHospitalUrl: ({ name, id, slug, locale, }: {
|
|
57
|
+
name?: string;
|
|
58
|
+
id?: number;
|
|
59
|
+
slug?: string;
|
|
60
|
+
locale: LocaleType;
|
|
61
|
+
}) => string;
|
|
62
|
+
export declare const getCareHospitalUrlAmp: ({ slug, id, locale, }: {
|
|
63
|
+
slug?: string;
|
|
64
|
+
id?: number;
|
|
65
|
+
locale: LocaleType;
|
|
66
|
+
}) => string;
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
export type Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
url: string;
|
|
5
|
+
image?: string;
|
|
6
|
+
logo?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
noRefetch?: boolean;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
};
|
|
11
|
+
declare const CardLink: ({ title, url, image, logo, className, style, noRefetch, }: Props) => React.JSX.Element;
|
|
12
|
+
export { CardLink };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type CardReactionsContextProps = {
|
|
3
|
+
liked?: boolean;
|
|
4
|
+
loveCount?: number;
|
|
5
|
+
isReplied?: boolean;
|
|
6
|
+
trackingCategory?: string;
|
|
7
|
+
trackingLabel?: string;
|
|
8
|
+
onLikeClick?: () => void;
|
|
9
|
+
onShareClick?: () => void;
|
|
10
|
+
onCommentClick?: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const CardReactionsContext: import("react").Context<CardReactionsContextProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type Props = {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
declare const LikeWrapper: ({ children, className }: Props) => React.JSX.Element;
|
|
6
|
+
declare const ShareWrapper: ({ children, className }: Props) => React.JSX.Element;
|
|
7
|
+
declare const CommentWrapper: ({ children, className }: Props) => React.JSX.Element;
|
|
8
|
+
export { LikeWrapper, ShareWrapper, CommentWrapper };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export declare enum CardReactionType {
|
|
3
|
+
post = 1,
|
|
4
|
+
reply = 2
|
|
5
|
+
}
|
|
6
|
+
export type Props = {
|
|
7
|
+
type: CardReactionType;
|
|
8
|
+
loveCount?: number;
|
|
9
|
+
replyCount?: number;
|
|
10
|
+
replyPadding?: boolean;
|
|
11
|
+
liked?: boolean;
|
|
12
|
+
isReplied?: boolean;
|
|
13
|
+
hideCommentIcon?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
onCommentClick?: () => void;
|
|
16
|
+
onLikeClick?: () => void;
|
|
17
|
+
onCommentCountClick?: () => void;
|
|
18
|
+
onShareClick?: () => void;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
showingMostEngaging?: boolean;
|
|
21
|
+
isMarryBaby?: boolean;
|
|
22
|
+
hasShare?: boolean;
|
|
23
|
+
hasCountLike?: boolean;
|
|
24
|
+
trackingCategory?: string;
|
|
25
|
+
trackingLabel?: string;
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
};
|
|
28
|
+
declare const CardReactions: {
|
|
29
|
+
({ type, loveCount, replyCount, replyPadding, liked, isReplied, onCommentClick, onLikeClick, onShareClick, className, style, hideCommentIcon, showingMostEngaging, isMarryBaby: isMarryBabyInit, hasShare, hasCountLike, trackingCategory, trackingLabel, children, ...rest }: Props): React.JSX.Element;
|
|
30
|
+
LikeWrapper: ({ children, className }: import("./element").Props) => React.JSX.Element;
|
|
31
|
+
ShareWrapper: ({ children, className }: import("./element").Props) => React.JSX.Element;
|
|
32
|
+
CommentWrapper: ({ children, className }: import("./element").Props) => React.JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export { CardReactions };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { Loading } from './loading';
|
|
2
|
+
export { UserAvatar } from './userAvatar';
|
|
3
|
+
export { CardLink } from './cardLink';
|
|
4
|
+
export { CardReactions } from './cardReactions';
|
|
5
|
+
export { TagTopic } from './tagTopic';
|
|
6
|
+
export { LabelSortPin } from './labelSortPin';
|
|
7
|
+
export { LabelPin } from './labelSortPin/labelPin';
|
|
8
|
+
export { LabelSorting } from './labelSortPin/labelSorting';
|