@hhgtech/hhg-components 1.29.431-beta-2 → 1.29.432-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-078ab5aa.js → InputDate-b2ecc68c.js} +5 -5
- package/build/{LastPeriod-88e66817.js → LastPeriod-9bcb6acb.js} +1 -1
- package/build/{MobileBottomNavigationIcon-42376e95.js → MobileBottomNavigationIcon-41d68ac1.js} +3 -3
- package/build/{index-1bb11ebc.js → RatingStarsInput-9261d69c.js} +137 -25
- package/build/{Spinner-fbb7702d.js → Spinner-6ca84d10.js} +1 -1
- package/build/{WhatsApp-b5fe357f.js → WhatsApp-a9e0e496.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +59 -49
- package/build/babyGrowth.js +85 -85
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/imageUpload/index.d.ts +1 -1
- package/build/components/atoms/index.d.ts +1 -0
- package/build/components/atoms/inputMB/index.styled.d.ts +2 -2
- package/build/components/mantine/phoneInput/PhoneInput.d.ts +1 -1
- package/build/components/molecules/index.d.ts +1 -0
- package/build/components.js +178 -165
- package/build/{constants-bf3d1caa.js → constants-8227b3d1.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-6a9d2951.js → core-ac2821d7.js} +1 -1
- package/build/{dataTransform-cbcfc958.js → dataTransform-5e7787a6.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-d5d313b8.js → editor-80d52182.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{InputDate-7eb655c3.js → InputDate-a3b3c0ca.js} +5 -5
- package/build/esm/{LastPeriod-096d65d6.js → LastPeriod-57726b60.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-b7daa1e6.js → MobileBottomNavigationIcon-32d9995a.js} +3 -3
- package/build/esm/{index-609a26e8.js → RatingStarsInput-d1803793.js} +133 -26
- package/build/esm/{Spinner-80499ba3.js → Spinner-c72ed71d.js} +1 -1
- package/build/esm/{WhatsApp-6678d1b9.js → WhatsApp-f3e35fe1.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -49
- package/build/esm/babyGrowth.js +85 -85
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/imageUpload/index.d.ts +1 -1
- package/build/esm/components/atoms/index.d.ts +1 -0
- package/build/esm/components/atoms/inputMB/index.styled.d.ts +2 -2
- package/build/esm/components/mantine/phoneInput/PhoneInput.d.ts +1 -1
- package/build/esm/components/molecules/index.d.ts +1 -0
- package/build/esm/components.js +103 -102
- package/build/esm/{constants-80c9b8c0.js → constants-bab1a0d3.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-045f8163.js → core-bfda97a5.js} +1 -1
- package/build/esm/{dataTransform-596b9937.js → dataTransform-304965f2.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-8bc3d581.js → editor-3045e526.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-141b2712.js → healthTools-55a2a9ce.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +34 -34
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-b245f8fa.js → index-008d9d6d.js} +16 -16
- package/build/esm/{index-099e1ba5.js → index-02044b36.js} +2 -2
- package/build/esm/{index-cf5ec350.js → index-02281fc4.js} +336 -10
- package/build/esm/{index-049ed0de.js → index-080da173.js} +13 -13
- package/build/esm/{index-38dbf5f1.js → index-0a655a52.js} +17 -17
- package/build/esm/{index-699350ef.js → index-0dc3597b.js} +1 -1
- package/build/esm/{index-2cca619a.js → index-1343ec8a.js} +14 -14
- package/build/esm/{index-be11d09d.js → index-14034bbc.js} +2 -2
- package/build/esm/{index-17d135a6.js → index-1fcd520b.js} +1 -1
- package/build/esm/{index-bbdd6707.js → index-219e9b5e.js} +11 -11
- package/build/esm/{index-291cd201.js → index-23513b83.js} +32 -32
- package/build/esm/{index-45d33051.js → index-2a31ae5d.js} +8 -8
- package/build/esm/{index-f0669163.js → index-2f630991.js} +2 -2
- package/build/esm/{index-85736a1b.js → index-32c72a11.js} +2 -2
- package/build/esm/{index-4e0f1753.js → index-337674ac.js} +15 -15
- package/build/esm/{index-001f6a7c.js → index-338b8776.js} +13 -13
- package/build/esm/{index-ea53aee7.js → index-3a47ca89.js} +13 -13
- package/build/esm/{index-ac236b44.js → index-3a86da4f.js} +5 -5
- package/build/esm/{index-97f793d0.js → index-44860d41.js} +1 -1
- package/build/esm/{index-716dfc9f.js → index-45bcb7f4.js} +3 -3
- package/build/esm/{index-4d852860.js → index-48ffe813.js} +17 -17
- package/build/esm/{index-57bd84e3.js → index-49056264.js} +2 -2
- package/build/esm/{index-84eac0b1.js → index-51bf5e17.js} +2 -2
- package/build/esm/{index-554359b6.js → index-54709700.js} +15 -15
- package/build/esm/{index-32a50c3a.js → index-5aceeece.js} +15 -15
- package/build/esm/{index-634f4076.js → index-5c4220cf.js} +8 -8
- package/build/esm/{index-4139e5ae.js → index-64c8d682.js} +3 -3
- package/build/esm/{index-f522d35d.js → index-688e2d30.js} +6 -6
- package/build/esm/{index-a6d5c07f.js → index-68ec4a1c.js} +1 -1
- package/build/esm/{index-6e8d421f.js → index-6a5fd606.js} +32 -32
- package/build/esm/{index-58f9eaea.js → index-6a7ac843.js} +2 -2
- package/build/esm/{index-48831658.js → index-6bed39fe.js} +22 -22
- package/build/esm/{index-d41e4c18.js → index-6ca281c5.js} +2 -2
- package/build/esm/{index-117a0f5e.js → index-6dd966ec.js} +2 -2
- package/build/esm/{index-be9fbb1a.js → index-76d0602a.js} +2 -2
- package/build/esm/{index-80608be0.js → index-7d29cc49.js} +2 -2
- package/build/esm/{index-be19e743.js → index-809b8f37.js} +3 -3
- package/build/esm/{index-2d71e5b3.js → index-8282dfea.js} +13 -13
- package/build/esm/{index-9b65f791.js → index-8870f34e.js} +2 -2
- package/build/esm/{index-4271cde2.js → index-8fefbda1.js} +7 -7
- package/build/esm/{index-254565f3.js → index-8ff4ee61.js} +3 -3
- package/build/esm/{index-4f49074d.js → index-9207aa68.js} +4 -4
- package/build/esm/{index-5e21c797.js → index-96d17f25.js} +13 -13
- package/build/esm/{index-ce49bbb1.js → index-9a05b062.js} +2 -2
- package/build/esm/{index-cb55fcc3.js → index-9d8dc9a4.js} +3 -3
- package/build/esm/{index-3d0ec2fe.js → index-a0893a62.js} +30 -30
- package/build/esm/{index-d34c1cb4.js → index-a0b51a70.js} +10 -10
- package/build/esm/{index-a67b1c17.js → index-a650d40e.js} +25 -25
- package/build/esm/{index-546f5191.js → index-a815e8c1.js} +21 -21
- package/build/esm/{index-478831cf.js → index-ae2b8dea.js} +7 -7
- package/build/esm/{index-13fa3e14.js → index-b175a330.js} +1 -1
- package/build/esm/{index-7ffe30e3.js → index-b28801e3.js} +17 -17
- package/build/esm/{index-d4d02f75.js → index-c281bb47.js} +2 -2
- package/build/esm/{index-84d5c70c.js → index-c8c01015.js} +2 -2
- package/build/esm/{index-3169558c.js → index-cd317fc8.js} +17 -17
- package/build/esm/{index-d21bc57a.js → index-ceacc686.js} +16 -16
- package/build/esm/{index-a73fa06e.js → index-d1118ef8.js} +13 -13
- package/build/esm/{index-35e070b0.js → index-d19d97e6.js} +2 -2
- package/build/esm/{index-2e5dc26a.js → index-d41104c9.js} +3 -3
- package/build/esm/{index-f41edf28.js → index-d61883e0.js} +1 -1
- package/build/esm/{index-4b09003a.js → index-d9750388.js} +6 -6
- package/build/esm/{index-56a97e0e.js → index-dd0de2f1.js} +6 -6
- package/build/esm/{index-498d4518.js → index-e2f9d477.js} +2 -2
- package/build/esm/{index-752a64fb.js → index-e3d5d462.js} +3 -3
- package/build/esm/{index-b8a04f39.js → index-e436afe3.js} +21 -21
- package/build/esm/{index-8ce567a7.js → index-e9fe3b8a.js} +2 -2
- package/build/esm/{index-a992a40c.js → index-ec19e83e.js} +4 -4
- package/build/esm/{index-c6d30d69.js → index-f34cfba7.js} +6 -6
- package/build/esm/{index-e9e46daa.js → index-f9641ef3.js} +1 -1
- package/build/esm/{index-eb3004e2.js → index-faf685fe.js} +1 -1
- package/build/esm/index.js +127 -144
- package/build/esm/{labelSorting-6ff314c0.js → labelSorting-e2176f0b.js} +4 -4
- package/build/esm/lead/components/close.d.ts +1 -1
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-06f58603.js → logoIcon-c828e686.js} +2 -2
- package/build/esm/mantine.js +26 -26
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +77 -77
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-600c5d0c.js → post-7a24d382.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-c85c3dc7.js → store-f2b05a9f.js} +3 -3
- package/build/esm/subot.js +37 -37
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-86d647be.js → surveyThankyouCard-d1f0da57.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-f890e5c6.js → translationsProvider-5545163c.js} +1 -1
- package/build/esm/{treePopoverMenu-e446207b.js → treePopoverMenu-0231eb5f.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-5b99887b.js → useCategory-c2a2972c.js} +5 -5
- package/build/esm/{useHealthToolCache-47bf13bc.js → useHealthToolCache-1a7f2dd8.js} +1 -1
- package/build/esm/{usePlacesAutocomplete-2436375c.js → usePlacesAutocomplete-ddbfb7b3.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-e993f9d6.js → utils-0f18780e.js} +3 -3
- package/build/esm/{utils-98ba337b.js → utils-1a106344.js} +2 -2
- package/build/esm/{utils-c7a278ff.js → utils-4768fed8.js} +5 -5
- package/build/esm/{utils-5c924928.js → utils-9c8480b6.js} +1 -1
- package/build/esm/{utils-23dac1af.js → utils-d5e84d56.js} +2 -2
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-dab5b1a9.js → healthTools-1bd273be.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +34 -34
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-6e345218.js → index-0708af5e.js} +21 -21
- package/build/{index-619cc3b8.js → index-0b5c74f0.js} +17 -17
- package/build/{index-c802092e.js → index-0b931ff4.js} +7 -7
- package/build/{index-7fac8c92.js → index-0dd80992.js} +13 -13
- package/build/{index-935a1bfc.js → index-11bb9fe9.js} +17 -17
- package/build/{index-47b0ca3d.js → index-1612304c.js} +1 -1
- package/build/{index-2f7bcb97.js → index-174e2157.js} +13 -13
- package/build/{index-098e0a89.js → index-200b27a0.js} +1 -1
- package/build/{index-7cc21ba7.js → index-20ade76e.js} +17 -17
- package/build/{index-8fe26fb6.js → index-26137b65.js} +7 -7
- package/build/{index-36e544fb.js → index-26180a82.js} +21 -21
- package/build/{index-ec2b00e1.js → index-288058fa.js} +1 -1
- package/build/{index-6a549749.js → index-2b867061.js} +3 -3
- package/build/{index-bb13d750.js → index-39aa1abe.js} +32 -32
- package/build/{index-a976d0c2.js → index-39e81997.js} +22 -22
- package/build/{index-0a9a537d.js → index-3f00766e.js} +3 -3
- package/build/{index-b4fbb091.js → index-41e1d5ab.js} +2 -2
- package/build/{index-aa358317.js → index-41ff07e7.js} +11 -11
- package/build/{index-7ade673a.js → index-4841d9b7.js} +2 -2
- package/build/{index-b68e1442.js → index-50ef370a.js} +2 -2
- package/build/{index-e6aaedf8.js → index-5842643b.js} +1 -1
- package/build/{index-82192291.js → index-5c8615db.js} +10 -10
- package/build/{index-bf529260.js → index-609875d5.js} +15 -15
- package/build/{index-687a595e.js → index-6fda17d7.js} +13 -13
- package/build/{index-60ff3f94.js → index-7d49357f.js} +8 -8
- package/build/{index-bf1c7e48.js → index-804647f6.js} +6 -6
- package/build/{index-45a060f8.js → index-82588d48.js} +2 -2
- package/build/{index-0ff06aef.js → index-834060c8.js} +13 -13
- package/build/{index-9b2698d9.js → index-85714703.js} +2 -2
- package/build/{index-4e84bdc8.js → index-8a7092b9.js} +3 -3
- package/build/{index-73923dee.js → index-9023fcda.js} +1 -1
- package/build/{index-8f59559d.js → index-91f0665e.js} +2 -2
- package/build/{index-a4dcb2c9.js → index-a7947304.js} +13 -13
- package/build/{index-ed68ce85.js → index-a9bec1c8.js} +15 -15
- package/build/{index-48321dfa.js → index-aefbb51d.js} +6 -6
- package/build/{index-24781cb2.js → index-b0b9e954.js} +2 -2
- package/build/{index-d53859b3.js → index-b2828924.js} +1 -1
- package/build/{index-2ee72be6.js → index-b2e631f2.js} +5 -5
- package/build/{index-5d3b7a1c.js → index-b3512765.js} +16 -16
- package/build/{index-29a88110.js → index-b3c66fca.js} +2 -2
- package/build/{index-35282959.js → index-b82f1f72.js} +25 -25
- package/build/{index-ff7f6ccc.js → index-b93e4ec2.js} +1 -1
- package/build/{index-60bc5082.js → index-baab24e8.js} +14 -14
- package/build/{index-c3301efd.js → index-bbee1c04.js} +17 -17
- package/build/{index-5c1614fa.js → index-be1beb34.js} +13 -13
- package/build/{index-2435386d.js → index-c747f053.js} +2 -2
- package/build/{index-c2c2415c.js → index-c98f4f1d.js} +1 -1
- package/build/{index-7d343a1e.js → index-ccfb4d0d.js} +16 -16
- package/build/index-d46b190b.js +1173 -0
- package/build/{index-8e44227a.js → index-d91fd561.js} +30 -30
- package/build/{index-a2c2dbe9.js → index-d93509f2.js} +2 -2
- package/build/{index-5c095800.js → index-d9f2e174.js} +2 -2
- package/build/{index-395c64b6.js → index-dca93a66.js} +3 -3
- package/build/{index-5c5d8e88.js → index-dd962677.js} +6 -6
- package/build/{index-283474dc.js → index-de22b064.js} +4 -4
- package/build/{index-3c63847c.js → index-de492390.js} +2 -2
- package/build/{index-337de168.js → index-dfe038ff.js} +2 -2
- package/build/{index-b6102036.js → index-e5555179.js} +2 -2
- package/build/{index-2c940d76.js → index-e680dc3b.js} +2 -2
- package/build/{index-eae0bb63.js → index-e9fae527.js} +3 -3
- package/build/{index-18937bc7.js → index-ec2d3d2b.js} +3 -3
- package/build/{index-355a2646.js → index-ec7a3762.js} +15 -15
- package/build/{index-77fa9fe1.js → index-ecf31b2d.js} +2 -2
- package/build/{index-6d11558a.js → index-ed63f582.js} +8 -8
- package/build/{index-6f5e8b18.js → index-f163b493.js} +6 -6
- package/build/{index-8f8e535c.js → index-f2d9df87.js} +2 -2
- package/build/{index-1d7e96fe.js → index-f37ae5da.js} +4 -4
- package/build/{index-8b9f3ebb.js → index-f4c6700f.js} +2 -2
- package/build/{index-351dcb15.js → index-f64714b3.js} +32 -32
- package/build/{index-74a06429.js → index-fac65f81.js} +3 -3
- package/build/index.js +234 -239
- package/build/{labelSorting-de5a7b98.js → labelSorting-ef1b9032.js} +4 -4
- package/build/lead/components/close.d.ts +1 -1
- package/build/lead.js +36 -36
- package/build/{logoIcon-6723cec9.js → logoIcon-2f513aba.js} +2 -2
- package/build/mantine.js +24 -24
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +129 -126
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-b454a0c6.js → post-90ea1fff.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-2ae366b5.js → store-a55457d6.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-f166f69a.js → surveyThankyouCard-fbbaab11.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-5e7a1d28.js → translationsProvider-7dfbe2a6.js} +1 -1
- package/build/{treePopoverMenu-aae2ef43.js → treePopoverMenu-99deb009.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCategory-3804aadb.js → useCategory-72339fd6.js} +5 -5
- package/build/{useHealthToolCache-254ad52e.js → useHealthToolCache-75213da5.js} +1 -1
- package/build/{usePlacesAutocomplete-01697f13.js → usePlacesAutocomplete-0c859e00.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-c980d0cf.js → utils-2dfce31b.js} +2 -2
- package/build/{utils-db0b217c.js → utils-399f81aa.js} +2 -2
- package/build/{utils-ce822cd0.js → utils-44383de2.js} +1 -1
- package/build/{utils-dbe7248e.js → utils-646001a7.js} +3 -3
- package/build/{utils-904949ec.js → utils-692e1064.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/index-259f5c4b.js +0 -828
- /package/build/{BMI_BOYS.percentile.monthly-b8375647.js → BMI_BOYS.percentile.monthly-b3679f48.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-68eabd39.js → BMI_BOYS.percentile.weekly-16b4e797.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-1b2e01ff.js → BMI_BOYS.percentile.yearly-229effa0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-52d8343d.js → BMI_BOYS.zscore.monthly-985af882.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-de2d4b3d.js → BMI_BOYS.zscore.weekly-499c7b86.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-fd00df9e.js → BMI_BOYS.zscore.yearly-46cd1392.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-8865c5d0.js → BMI_GIRLS.percentile.monthly-91a4cdb2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a24ca9d5.js → BMI_GIRLS.percentile.weekly-79abbedc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9a50a761.js → BMI_GIRLS.percentile.yearly-6edbe976.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-59197118.js → BMI_GIRLS.zscore.monthly-acaa699d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f88ef488.js → BMI_GIRLS.zscore.weekly-e72105c1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e126dd91.js → BMI_GIRLS.zscore.yearly-87cd90fa.js} +0 -0
- /package/build/{ChevronDown-a4e7d6a6.js → ChevronDown-19d2afac.js} +0 -0
- /package/build/{Close-3bf156d2.js → Close-ea4dd399.js} +0 -0
- /package/build/{Google-d33ca2b0.js → Google-e6d188e8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-e59ef836.js → HEAD CIRCUM_BOYS.percentile.monthly-63248ab2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ec39aa9c.js → HEAD CIRCUM_BOYS.percentile.weekly-25d7f435.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7b57cff9.js → HEAD CIRCUM_BOYS.percentile.yearly-dde2e2c1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6d5af065.js → HEAD CIRCUM_BOYS.zscore.monthly-c88cd21c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-652a9955.js → HEAD CIRCUM_BOYS.zscore.weekly-82796c34.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-827b9f40.js → HEAD CIRCUM_BOYS.zscore.yearly-887a3c72.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-47acb1f6.js → HEAD CIRCUM_GIRLS.percentile.monthly-606347a6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4cb9adc1.js → HEAD CIRCUM_GIRLS.percentile.weekly-37d2e4ec.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e8036077.js → HEAD CIRCUM_GIRLS.percentile.yearly-a862870b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0c69bbf5.js → HEAD CIRCUM_GIRLS.zscore.monthly-1d2984d2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e3d38031.js → HEAD CIRCUM_GIRLS.zscore.weekly-d30752bc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-a2b7f091.js → HEAD CIRCUM_GIRLS.zscore.yearly-82566393.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5fbd78d7.js → HEIGHT_BOYS.percentile.monthly-2d86e9e7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-81530ad7.js → HEIGHT_BOYS.percentile.weekly-bb8468f1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d5e0059f.js → HEIGHT_BOYS.percentile.yearly-2ca6e595.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-745f7556.js → HEIGHT_BOYS.zscore.monthly-40eb8527.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b9d87bf1.js → HEIGHT_BOYS.zscore.weekly-f4cc81f3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3a2d0471.js → HEIGHT_BOYS.zscore.yearly-f036a057.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-8857bebd.js → HEIGHT_GIRLS.percentile.monthly-1862c607.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-779b5afd.js → HEIGHT_GIRLS.percentile.weekly-3ffbcad9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-0fc244ab.js → HEIGHT_GIRLS.percentile.yearly-983604e2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-7249d51f.js → HEIGHT_GIRLS.zscore.monthly-c6836f5d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-edc7e257.js → HEIGHT_GIRLS.zscore.weekly-35457dca.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-80fd3deb.js → HEIGHT_GIRLS.zscore.yearly-93ea51b0.js} +0 -0
- /package/build/{Locale-1251caf9.js → Locale-54124859.js} +0 -0
- /package/build/{Visible-450f4cbd.js → Visible-ec965088.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-bd1c7463.js → WEIGHT_BOYS.percentile.monthly-c4ba8980.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d67a0dcb.js → WEIGHT_BOYS.percentile.weekly-6b3b230f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-24eef5c2.js → WEIGHT_BOYS.percentile.yearly-4b6a1e30.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-a8234e64.js → WEIGHT_BOYS.zscore.monthly-c3a61ac3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-c5b0745e.js → WEIGHT_BOYS.zscore.weekly-2c57ee39.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-7e9d986f.js → WEIGHT_BOYS.zscore.yearly-79297d0f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c6ac94e7.js → WEIGHT_GIRLS.percentile.monthly-b56e8517.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-014829b8.js → WEIGHT_GIRLS.percentile.weekly-f59b9f34.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-1ec2e67a.js → WEIGHT_GIRLS.percentile.yearly-a2b7f9df.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f8c31a73.js → WEIGHT_GIRLS.zscore.monthly-82d50154.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-4d279624.js → WEIGHT_GIRLS.zscore.weekly-b4d3c338.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-05122a06.js → WEIGHT_GIRLS.zscore.yearly-4a61dccf.js} +0 -0
- /package/build/{ageGenerate-5b14e976.js → ageGenerate-5d9ababc.js} +0 -0
- /package/build/{animation-03978149.js → animation-b33b6a7c.js} +0 -0
- /package/build/{constants-ec828833.js → constants-16dac494.js} +0 -0
- /package/build/{constants-e7ffc3c1.js → constants-b642d87b.js} +0 -0
- /package/build/{constants-c7582824.js → constants-f450c765.js} +0 -0
- /package/build/{dataTransform-276d8e3d.js → dataTransform-2ddc5c08.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-81c423f4.js → BMI_BOYS.percentile.monthly-59a9cd46.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-9f8ce72d.js → BMI_BOYS.percentile.weekly-4eb79e3d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-13265e9f.js → BMI_BOYS.percentile.yearly-9971c587.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3cf5e257.js → BMI_BOYS.zscore.monthly-00cad353.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c97640a0.js → BMI_BOYS.zscore.weekly-c3735200.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c3d5e510.js → BMI_BOYS.zscore.yearly-6192aedb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-cf266fe3.js → BMI_GIRLS.percentile.monthly-f87f08e0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-e200289e.js → BMI_GIRLS.percentile.weekly-4d0922a4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-44347377.js → BMI_GIRLS.percentile.yearly-69ca4c74.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-9ee8deaa.js → BMI_GIRLS.zscore.monthly-17f96745.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-67d04b69.js → BMI_GIRLS.zscore.weekly-bed85f06.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-70aa9f83.js → BMI_GIRLS.zscore.yearly-92b71acb.js} +0 -0
- /package/build/esm/{ChevronDown-90377008.js → ChevronDown-3efdf073.js} +0 -0
- /package/build/esm/{Close-f682fcdf.js → Close-c704b804.js} +0 -0
- /package/build/esm/{Google-4eda1036.js → Google-02347ebb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-da3ebc20.js → HEAD CIRCUM_BOYS.percentile.monthly-07d8a544.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-e887a7b1.js → HEAD CIRCUM_BOYS.percentile.weekly-12b67236.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a1240461.js → HEAD CIRCUM_BOYS.percentile.yearly-719e4b0d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3f5c522d.js → HEAD CIRCUM_BOYS.zscore.monthly-9cf2eaf2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a42b9d88.js → HEAD CIRCUM_BOYS.zscore.weekly-267abefd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-891c8399.js → HEAD CIRCUM_BOYS.zscore.yearly-0bbad4ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-976b80cc.js → HEAD CIRCUM_GIRLS.percentile.monthly-da4ace8a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2d108702.js → HEAD CIRCUM_GIRLS.percentile.weekly-f2e1c7d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8afc71de.js → HEAD CIRCUM_GIRLS.percentile.yearly-bd58d71f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8292c3d0.js → HEAD CIRCUM_GIRLS.zscore.monthly-a68ce224.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-fe18e53c.js → HEAD CIRCUM_GIRLS.zscore.weekly-99dc6ac4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9e0500f2.js → HEAD CIRCUM_GIRLS.zscore.yearly-59564c4d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e53886b9.js → HEIGHT_BOYS.percentile.monthly-81622142.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8755afb2.js → HEIGHT_BOYS.percentile.weekly-3aa37e38.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e45adbcf.js → HEIGHT_BOYS.percentile.yearly-4b1efb42.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e2edccbb.js → HEIGHT_BOYS.zscore.monthly-2ad664e2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-121097b6.js → HEIGHT_BOYS.zscore.weekly-303aca65.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b5427ddf.js → HEIGHT_BOYS.zscore.yearly-b4ad823a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ee462181.js → HEIGHT_GIRLS.percentile.monthly-9f405365.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c7f04cf1.js → HEIGHT_GIRLS.percentile.weekly-73c2a5a2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1de8e3ac.js → HEIGHT_GIRLS.percentile.yearly-248d997b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a47e61ac.js → HEIGHT_GIRLS.zscore.monthly-fc2527b8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0d246117.js → HEIGHT_GIRLS.zscore.weekly-eb309283.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-0af4c63a.js → HEIGHT_GIRLS.zscore.yearly-827cb644.js} +0 -0
- /package/build/esm/{Locale-cf278100.js → Locale-1676f692.js} +0 -0
- /package/build/esm/{Visible-d67ff7cf.js → Visible-41bd91f5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-19d31767.js → WEIGHT_BOYS.percentile.monthly-ce965c6e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e02c2221.js → WEIGHT_BOYS.percentile.weekly-477b9bab.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ee86c4cf.js → WEIGHT_BOYS.percentile.yearly-15843076.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-03a5bd01.js → WEIGHT_BOYS.zscore.monthly-7596e072.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8cc1955c.js → WEIGHT_BOYS.zscore.weekly-d8a45fc3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-29bf753c.js → WEIGHT_BOYS.zscore.yearly-e5479ddc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-125bd788.js → WEIGHT_GIRLS.percentile.monthly-30f672e3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-46890aab.js → WEIGHT_GIRLS.percentile.weekly-66493f12.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7eaa2119.js → WEIGHT_GIRLS.percentile.yearly-d923d4b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0f003b44.js → WEIGHT_GIRLS.zscore.monthly-d2d11c97.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-699b0229.js → WEIGHT_GIRLS.zscore.weekly-52299b45.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-dc1f5828.js → WEIGHT_GIRLS.zscore.yearly-cae7ba7f.js} +0 -0
- /package/build/esm/{ageGenerate-c9a02783.js → ageGenerate-c430eab2.js} +0 -0
- /package/build/esm/{animation-0bbc19e6.js → animation-e4b7d892.js} +0 -0
- /package/build/esm/{constants-bd3a5c9b.js → constants-8b1ecc5b.js} +0 -0
- /package/build/esm/{constants-e808a21d.js → constants-d6b4c104.js} +0 -0
- /package/build/esm/{constants-ecffc961.js → constants-e65bf4fa.js} +0 -0
- /package/build/esm/{dataTransform-9dc46b82.js → dataTransform-d4cc6006.js} +0 -0
- /package/build/esm/{index-b27b2a3e.js → index-15d95f1c.js} +0 -0
- /package/build/esm/{index-cd635940.js → index-1cf2c63f.js} +0 -0
- /package/build/esm/{index-e9555c7b.js → index-2137ec8c.js} +0 -0
- /package/build/esm/{index-d623bd74.js → index-4eec35df.js} +0 -0
- /package/build/esm/{index-ff238251.js → index-5794e895.js} +0 -0
- /package/build/esm/{index-698bef6d.js → index-a8a5a28c.js} +0 -0
- /package/build/esm/{index-bee159d4.js → index-df02161c.js} +0 -0
- /package/build/esm/{index-9ab9a9ad.js → index-ef90e0ab.js} +0 -0
- /package/build/esm/{index.styles-72dcd9b3.js → index.styles-b6743181.js} +0 -0
- /package/build/esm/{localizeNumberFormat-563e46aa.js → localizeNumberFormat-278a0ef5.js} +0 -0
- /package/build/esm/{normalizeLink-4f9809ba.js → normalizeLink-1fef0039.js} +0 -0
- /package/build/esm/{number-81439267.js → number-21439543.js} +0 -0
- /package/build/esm/{paths-55dff93a.js → paths-5fdd1261.js} +0 -0
- /package/build/esm/{shared-90647db5.js → shared-7768e9f5.js} +0 -0
- /package/build/esm/{text-2c52aa10.js → text-2b4a7e88.js} +0 -0
- /package/build/esm/{translationsContext-17866e80.js → translationsContext-9dd3ecce.js} +0 -0
- /package/build/esm/{tslib.es6-642792ed.js → tslib.es6-0854fa1c.js} +0 -0
- /package/build/esm/{types-a9490a6c.js → types-a3a20d7f.js} +0 -0
- /package/build/esm/{types-51a57954.js → types-dcf276eb.js} +0 -0
- /package/build/esm/{useIsInit-094e9cbc.js → useIsInit-c02ff826.js} +0 -0
- /package/build/esm/{useOutsideClick-b9428675.js → useOutsideClick-5ab0fb1c.js} +0 -0
- /package/build/esm/{useScrollbarSize-fa88e842.js → useScrollbarSize-ca8aa0e4.js} +0 -0
- /package/build/esm/{useUniqueId-b79cd5d9.js → useUniqueId-66e68407.js} +0 -0
- /package/build/esm/{utils-d217a8a8.js → utils-956ea6ec.js} +0 -0
- /package/build/{index-4273987f.js → index-07a5d426.js} +0 -0
- /package/build/{index-77ca9002.js → index-2510d1be.js} +0 -0
- /package/build/{index-0be02aa2.js → index-255d79f4.js} +0 -0
- /package/build/{index-d333b01b.js → index-69a9071e.js} +0 -0
- /package/build/{index-f3e2a299.js → index-7441a4a3.js} +0 -0
- /package/build/{index-2fe95bdb.js → index-86bc6ebf.js} +0 -0
- /package/build/{index-7fe12f20.js → index-8825b401.js} +0 -0
- /package/build/{index-a29ccc0e.js → index-a6cb2363.js} +0 -0
- /package/build/{index.styles-8c61f4be.js → index.styles-7728d5db.js} +0 -0
- /package/build/{localizeNumberFormat-6d2694e2.js → localizeNumberFormat-12080143.js} +0 -0
- /package/build/{normalizeLink-7844e407.js → normalizeLink-9e677c79.js} +0 -0
- /package/build/{number-b3ecd2c1.js → number-40f427a0.js} +0 -0
- /package/build/{paths-bbc05982.js → paths-73f62327.js} +0 -0
- /package/build/{shared-1f6a17b8.js → shared-69e35845.js} +0 -0
- /package/build/{text-2eaa7a96.js → text-f7d0b0b4.js} +0 -0
- /package/build/{translationsContext-b797b2e1.js → translationsContext-fe819cba.js} +0 -0
- /package/build/{tslib.es6-370364b7.js → tslib.es6-87e8f87f.js} +0 -0
- /package/build/{types-06cc2668.js → types-2326e4da.js} +0 -0
- /package/build/{types-1ad8efd7.js → types-744a5b7d.js} +0 -0
- /package/build/{useIsInit-29229b42.js → useIsInit-bc54812c.js} +0 -0
- /package/build/{useOutsideClick-c102e6a3.js → useOutsideClick-2c90866f.js} +0 -0
- /package/build/{useScrollbarSize-f8c67b26.js → useScrollbarSize-a78c4b15.js} +0 -0
- /package/build/{useUniqueId-a18cf14d.js → useUniqueId-9b0bb92b.js} +0 -0
- /package/build/{utils-4249781d.js → utils-b7beac7a.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
export { D as DueDateForm } from './index-
|
|
2
|
-
export { B as BmiForm } from './index-
|
|
3
|
-
export { B as BabyPoopForm } from './index-
|
|
4
|
-
export { T as ThrForm } from './index-
|
|
5
|
-
export { O as OvulationForm } from './index-
|
|
6
|
-
export { B as BabyVaccineForm } from './index-
|
|
7
|
-
export { P as PWGForm } from './index-
|
|
8
|
-
import './tslib.es6-
|
|
1
|
+
export { D as DueDateForm } from './index-5aceeece.js';
|
|
2
|
+
export { B as BmiForm } from './index-cd317fc8.js';
|
|
3
|
+
export { B as BabyPoopForm } from './index-3a47ca89.js';
|
|
4
|
+
export { T as ThrForm } from './index-b28801e3.js';
|
|
5
|
+
export { O as OvulationForm } from './index-96d17f25.js';
|
|
6
|
+
export { B as BabyVaccineForm } from './index-080da173.js';
|
|
7
|
+
export { P as PWGForm } from './index-48ffe813.js';
|
|
8
|
+
import './tslib.es6-0854fa1c.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@mantine/core';
|
|
11
11
|
import 'date-fns';
|
|
12
|
-
import './LastPeriod-
|
|
13
|
-
import './Locale-
|
|
12
|
+
import './LastPeriod-57726b60.js';
|
|
13
|
+
import './Locale-1676f692.js';
|
|
14
14
|
import '@mantine/form';
|
|
15
15
|
import 'dayjs';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-2a31ae5d.js';
|
|
17
17
|
import '@hhgtech/icons/other';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-a8a5a28c.js';
|
|
20
20
|
import './constantsDomainLocales.js';
|
|
21
21
|
import './constantsIsProduction.js';
|
|
22
|
-
import './index-
|
|
23
|
-
import './utils-
|
|
22
|
+
import './index-76d0602a.js';
|
|
23
|
+
import './utils-956ea6ec.js';
|
|
24
24
|
import '@emotion/styled';
|
|
25
25
|
import '@mantine/carousel';
|
|
26
|
-
import './index-
|
|
27
|
-
import './text-
|
|
28
|
-
import './index-
|
|
29
|
-
import './index-
|
|
26
|
+
import './index-c281bb47.js';
|
|
27
|
+
import './text-2b4a7e88.js';
|
|
28
|
+
import './index-5c4220cf.js';
|
|
29
|
+
import './index-0dc3597b.js';
|
|
30
30
|
import '@mantine/notifications';
|
|
31
|
-
import './index-
|
|
31
|
+
import './index-e2f9d477.js';
|
|
32
32
|
import 'date-fns/locale';
|
|
33
33
|
import './constantsSite.js';
|
|
34
34
|
import './constantsRiskScreener.js';
|
|
35
35
|
import './miscTheme.js';
|
|
36
|
-
import './shared-
|
|
36
|
+
import './shared-7768e9f5.js';
|
|
37
37
|
import 'classnames';
|
|
38
|
-
import './useUniqueId-
|
|
38
|
+
import './useUniqueId-66e68407.js';
|
|
39
39
|
import '@hhgtech/icons/core';
|
|
40
|
-
import './index-
|
|
41
|
-
import './index-
|
|
40
|
+
import './index-45bcb7f4.js';
|
|
41
|
+
import './index-688e2d30.js';
|
|
42
42
|
import '@mantine/dates';
|
|
43
|
-
import './index.styles-
|
|
44
|
-
import './index-
|
|
45
|
-
import './translationsContext-
|
|
46
|
-
import './index-
|
|
47
|
-
import './index-
|
|
43
|
+
import './index.styles-b6743181.js';
|
|
44
|
+
import './index-f9641ef3.js';
|
|
45
|
+
import './translationsContext-9dd3ecce.js';
|
|
46
|
+
import './index-e3d5d462.js';
|
|
47
|
+
import './index-ec19e83e.js';
|
|
48
48
|
import 'react-keyed-flatten-children';
|
|
49
49
|
import 'react-hook-form';
|
|
50
|
-
import './useHealthToolCache-
|
|
50
|
+
import './useHealthToolCache-1a7f2dd8.js';
|
|
51
51
|
import './miscGetDynamicHealthTool.js';
|
|
52
|
-
import './normalizeLink-
|
|
53
|
-
import './core-
|
|
54
|
-
import './constants-
|
|
55
|
-
import './index-
|
|
52
|
+
import './normalizeLink-1fef0039.js';
|
|
53
|
+
import './core-bfda97a5.js';
|
|
54
|
+
import './constants-8b1ecc5b.js';
|
|
55
|
+
import './index-d1118ef8.js';
|
|
56
56
|
import './embeddedHeathToolCards_helpers.js';
|
|
57
|
-
import './constants-
|
|
57
|
+
import './constants-d6b4c104.js';
|
package/build/esm/hooks.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { u as useTranslations } from './index-
|
|
2
|
-
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-
|
|
3
|
-
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-
|
|
4
|
-
export { u as useHealthToolsCache } from './useHealthToolCache-
|
|
5
|
-
export { u as useIsInit } from './useIsInit-
|
|
6
|
-
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-
|
|
7
|
-
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-
|
|
1
|
+
export { u as useTranslations } from './index-f9641ef3.js';
|
|
2
|
+
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-ca8aa0e4.js';
|
|
3
|
+
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-c2a2972c.js';
|
|
4
|
+
export { u as useHealthToolsCache } from './useHealthToolCache-1a7f2dd8.js';
|
|
5
|
+
export { u as useIsInit } from './useIsInit-c02ff826.js';
|
|
6
|
+
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-5ab0fb1c.js';
|
|
7
|
+
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-66e68407.js';
|
|
8
8
|
import 'react';
|
|
9
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-9dd3ecce.js';
|
|
10
10
|
import 'lodash/debounce';
|
|
11
|
-
import './tslib.es6-
|
|
11
|
+
import './tslib.es6-0854fa1c.js';
|
|
12
12
|
import './miscCookieHelper.js';
|
|
13
|
-
import './index-
|
|
14
|
-
import './Locale-
|
|
13
|
+
import './index-0dc3597b.js';
|
|
14
|
+
import './Locale-1676f692.js';
|
|
15
15
|
import './miscGetDynamicHealthTool.js';
|
|
16
|
-
import './normalizeLink-
|
|
16
|
+
import './normalizeLink-1fef0039.js';
|
|
17
17
|
import './constantsDomainLocales.js';
|
|
18
18
|
import './constantsIsProduction.js';
|
|
19
|
-
import './core-
|
|
19
|
+
import './core-bfda97a5.js';
|
package/build/esm/i18n.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { T as TranslationsContext } from './translationsContext-
|
|
2
|
-
export { T as TranslationsProvider, t as translationsMap } from './translationsProvider-
|
|
1
|
+
export { T as TranslationsContext } from './translationsContext-9dd3ecce.js';
|
|
2
|
+
export { T as TranslationsProvider, t as translationsMap } from './translationsProvider-5545163c.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './i18n-values/en-PH.js';
|
|
5
5
|
import './i18n-values/hi-IN.js';
|
package/build/esm/i18nV2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
2
|
-
export { T as TranslationsContext } from './translationsContext-
|
|
1
|
+
import { T as TranslationsContext } from './translationsContext-9dd3ecce.js';
|
|
2
|
+
export { T as TranslationsContext } from './translationsContext-9dd3ecce.js';
|
|
3
3
|
import React__default, { useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
const TranslationsProvider = ({ locale = 'en-PH', values, children, }) => {
|
|
@@ -3,24 +3,24 @@ import { CrossLogo, ShieldCheck } from '@hhgtech/icons/other';
|
|
|
3
3
|
import { createStyles, Box, Flex, Button as Button$1, rem } from '@mantine/core';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
7
|
-
import { M as MediaQueries, t as toggleNoScroll } from './utils-
|
|
8
|
-
import { A as AuthorBadge, B as BookingBtn } from './index-
|
|
9
|
-
import { I as Icon } from './index-
|
|
10
|
-
import { _ as __rest } from './tslib.es6-
|
|
11
|
-
import { U as UserAvatar } from './index-
|
|
12
|
-
import { I as ImageWrap, u as useScreenSize } from './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import { C as CommonGAssets } from './index-
|
|
15
|
-
import { c as callApi, g as getCarePath, l as domainLocales, m as getCareHospitalUrl, n as getCareDoctorUrl, k as getCurrentBaseUrl, o as getDiscoverApiPath, T as TogetherComponentGlobalContext } from './utils-
|
|
16
|
-
import { B as Button } from './index-
|
|
17
|
-
import { T as Text } from './index-
|
|
6
|
+
import { u as useTranslations } from './index-f9641ef3.js';
|
|
7
|
+
import { M as MediaQueries, t as toggleNoScroll } from './utils-956ea6ec.js';
|
|
8
|
+
import { A as AuthorBadge, B as BookingBtn } from './index-8fefbda1.js';
|
|
9
|
+
import { I as Icon } from './index-9d8dc9a4.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-0854fa1c.js';
|
|
11
|
+
import { U as UserAvatar } from './index-8870f34e.js';
|
|
12
|
+
import { I as ImageWrap, u as useScreenSize } from './index-76d0602a.js';
|
|
13
|
+
import './index-e2f9d477.js';
|
|
14
|
+
import { C as CommonGAssets } from './index-a8a5a28c.js';
|
|
15
|
+
import { c as callApi, g as getCarePath, l as domainLocales, m as getCareHospitalUrl, n as getCareDoctorUrl, k as getCurrentBaseUrl, o as getDiscoverApiPath, T as TogetherComponentGlobalContext } from './utils-0f18780e.js';
|
|
16
|
+
import { B as Button } from './index-6a7ac843.js';
|
|
17
|
+
import { T as Text } from './index-c281bb47.js';
|
|
18
18
|
import { theme } from './miscTheme.js';
|
|
19
19
|
import styled from '@emotion/styled';
|
|
20
20
|
import { CARE_PATHS, DISCOVER_PATHS } from './togetherApiPaths.js';
|
|
21
|
-
import { L as Loading } from './index-
|
|
22
|
-
import { H as Heading } from './index-
|
|
23
|
-
import { M as Modal } from './index-
|
|
21
|
+
import { L as Loading } from './index-c8c01015.js';
|
|
22
|
+
import { H as Heading } from './index-49056264.js';
|
|
23
|
+
import { M as Modal } from './index-d19d97e6.js';
|
|
24
24
|
import { domainLocales as domainLocales$1 } from './constantsDomainLocales.js';
|
|
25
25
|
|
|
26
26
|
var styles$2 = {"row":"dZWeHns","flex":"_8z2nszB","mainTxt":"tMiOKib","subTxt":"uDcqD-2","subTxtRow":"pDlsows","subDivider":"m-HVXw1"};
|
|
@@ -911,7 +911,7 @@ const _CardAuthor = (props) => {
|
|
|
911
911
|
useEffect(() => {
|
|
912
912
|
if (open && !ProfileDetail) {
|
|
913
913
|
if (userType === 'chatbot') {
|
|
914
|
-
import('./index-
|
|
914
|
+
import('./index-6a5fd606.js').then((module) => {
|
|
915
915
|
setProfileDetail(() => module.ProfileChatbot);
|
|
916
916
|
});
|
|
917
917
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { C as Container } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
3
|
+
import { C as Container } from './index-1cf2c63f.js';
|
|
4
|
+
import { T as Text } from './index-c281bb47.js';
|
|
5
5
|
|
|
6
6
|
const StyledTextDivider = styled.div `
|
|
7
7
|
background-color: var(--neutral50);
|
|
@@ -1,21 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { useState, useRef, createContext, useEffect, Fragment, forwardRef, useMemo, useCallback } from 'react';
|
|
3
|
+
import { T as Text } from './index-c281bb47.js';
|
|
3
4
|
import styled from '@emotion/styled';
|
|
4
5
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
-
import { Collapse } from '@mantine/core';
|
|
6
|
+
import { M as MediaQueries } from './utils-956ea6ec.js';
|
|
7
|
+
import { Collapse, rem, clsx } from '@mantine/core';
|
|
7
8
|
import { useDisclosure } from '@mantine/hooks';
|
|
8
|
-
import { S as ShapedArrowDown } from './index-
|
|
9
|
-
import { R as Radio$1 } from './index-
|
|
10
|
-
import { _ as __rest } from './tslib.es6-
|
|
11
|
-
import { T as Text$1 } from './index-
|
|
9
|
+
import { S as ShapedArrowDown } from './index-68ec4a1c.js';
|
|
10
|
+
import { R as Radio$1 } from './index-2a31ae5d.js';
|
|
11
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-0854fa1c.js';
|
|
12
|
+
import { T as Text$1 } from './index-8282dfea.js';
|
|
12
13
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
13
14
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
14
|
-
import { H as Heading } from './index-
|
|
15
|
+
import { H as Heading } from './index-49056264.js';
|
|
16
|
+
import { C as Close } from './Close-c704b804.js';
|
|
15
17
|
import { Carousel } from '@mantine/carousel';
|
|
16
18
|
|
|
17
19
|
var styles = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
|
|
18
20
|
|
|
21
|
+
/* eslint-disable prettier/prettier */
|
|
22
|
+
const Upload = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 18 18", fill: "none" }, props),
|
|
23
|
+
React.createElement("path", { d: "M9.82324 8.7033L10.8228 9.70287C10.9267 9.80662 11.056 9.8573 11.2107 9.85493C11.3655 9.85255 11.4948 9.79943 11.5987 9.69555C11.7026 9.59168 11.7545 9.46074 11.7545 9.30274C11.7545 9.14474 11.7026 9.01462 11.5987 8.91237L9.7353 7.04899C9.59968 6.91337 9.44149 6.84555 9.26074 6.84555C9.07999 6.84555 8.9218 6.91337 8.78618 7.04899L6.91549 8.91968C6.81174 9.02355 6.75987 9.15287 6.75987 9.30762C6.75987 9.46237 6.81174 9.59168 6.91549 9.69555C7.01937 9.79943 7.1503 9.85137 7.3083 9.85137C7.4663 9.85137 7.59643 9.79943 7.69868 9.69555L8.69824 8.7033L8.69824 11.5576C8.69824 11.717 8.75218 11.8506 8.86005 11.9583C8.96793 12.0662 9.10156 12.1201 9.26093 12.1201C9.42043 12.1201 9.55399 12.0662 9.66162 11.9583C9.76937 11.8506 9.82324 11.717 9.82324 11.5576L9.82324 8.7033ZM16.3857 9.3063C16.3857 10.2918 16.1987 11.2181 15.8247 12.0852C15.4507 12.9524 14.9432 13.7066 14.3021 14.348C13.6609 14.9894 12.907 15.4972 12.0402 15.8714C11.1735 16.2456 10.2474 16.4326 9.26205 16.4326C8.27655 16.4326 7.35024 16.2456 6.48312 15.8716C5.61599 15.4976 4.86174 14.9901 4.22037 14.3489C3.57899 13.7078 3.07118 12.9539 2.69693 12.0871C2.3228 11.2204 2.13574 10.2943 2.13574 9.30893C2.13574 8.32343 2.32274 7.39712 2.69674 6.52999C3.07074 5.66287 3.5783 4.90862 4.21943 4.26724C4.86055 3.62587 5.61449 3.11805 6.48124 2.7438C7.34799 2.36968 8.27405 2.18262 9.25943 2.18262C10.2449 2.18262 11.1712 2.36962 12.0384 2.74362C12.9055 3.11762 13.6597 3.62518 14.3011 4.2663C14.9425 4.90743 15.4503 5.66137 15.8246 6.52812C16.1987 7.39487 16.3857 8.32093 16.3857 9.3063ZM15.2607 9.30762C15.2607 7.63262 14.6795 6.21387 13.517 5.05137C12.3545 3.88887 10.9357 3.30762 9.26074 3.30762C7.58574 3.30762 6.16699 3.88887 5.00449 5.05137C3.84199 6.21387 3.26074 7.63262 3.26074 9.30762C3.26074 10.9826 3.84199 12.4014 5.00449 13.5639C6.16699 14.7264 7.58574 15.3076 9.26074 15.3076C10.9357 15.3076 12.3545 14.7264 13.517 13.5639C14.6795 12.4014 15.2607 10.9826 15.2607 9.30762Z", fill: "#595959" })));
|
|
24
|
+
|
|
19
25
|
/**
|
|
20
26
|
* @deprecated Consider to use Mantine
|
|
21
27
|
*/
|
|
@@ -792,6 +798,326 @@ const HtmlContent = ({ htmlContent, className }) => {
|
|
|
792
798
|
return (React__default.createElement("div", { className: className, dangerouslySetInnerHTML: { __html: htmlClean } }));
|
|
793
799
|
};
|
|
794
800
|
|
|
801
|
+
var FILE_UPLOAD_ACCEPTED_RATIOS;
|
|
802
|
+
(function (FILE_UPLOAD_ACCEPTED_RATIOS) {
|
|
803
|
+
FILE_UPLOAD_ACCEPTED_RATIOS["ONE_TO_ONE"] = "1:1";
|
|
804
|
+
FILE_UPLOAD_ACCEPTED_RATIOS["THREE_TO_ONE"] = "3:1";
|
|
805
|
+
})(FILE_UPLOAD_ACCEPTED_RATIOS || (FILE_UPLOAD_ACCEPTED_RATIOS = {}));
|
|
806
|
+
var FILE_UPLOAD_ACCEPTED_TYPES;
|
|
807
|
+
(function (FILE_UPLOAD_ACCEPTED_TYPES) {
|
|
808
|
+
FILE_UPLOAD_ACCEPTED_TYPES["PNG"] = ".png";
|
|
809
|
+
FILE_UPLOAD_ACCEPTED_TYPES["JPG"] = ".jpg";
|
|
810
|
+
FILE_UPLOAD_ACCEPTED_TYPES["JPEG"] = ".jpeg";
|
|
811
|
+
})(FILE_UPLOAD_ACCEPTED_TYPES || (FILE_UPLOAD_ACCEPTED_TYPES = {}));
|
|
812
|
+
|
|
813
|
+
const getBase64 = (file) => {
|
|
814
|
+
return new Promise((resolve, reject) => {
|
|
815
|
+
const reader = new FileReader();
|
|
816
|
+
reader.onload = () => resolve(reader.result);
|
|
817
|
+
reader.onerror = reject;
|
|
818
|
+
reader.readAsDataURL(file);
|
|
819
|
+
});
|
|
820
|
+
};
|
|
821
|
+
const handleMultipleImageFiles = (fileList) => __awaiter(void 0, void 0, void 0, function* () {
|
|
822
|
+
if (fileList.length === 0) {
|
|
823
|
+
return [];
|
|
824
|
+
}
|
|
825
|
+
const base64List = yield Promise.all(fileList.map((file) => getBase64(file)));
|
|
826
|
+
return base64List;
|
|
827
|
+
});
|
|
828
|
+
|
|
829
|
+
const StyledImageUploadWrapper = styled.div `
|
|
830
|
+
display: flex;
|
|
831
|
+
flex-direction: column;
|
|
832
|
+
|
|
833
|
+
.image-upload-input-error {
|
|
834
|
+
margin-top: ${rem(12)};
|
|
835
|
+
display: flex;
|
|
836
|
+
flex-direction: column;
|
|
837
|
+
gap: ${rem(4)};
|
|
838
|
+
}
|
|
839
|
+
`;
|
|
840
|
+
const StyledImageUploadContent = styled.div `
|
|
841
|
+
display: flex;
|
|
842
|
+
flex-direction: column;
|
|
843
|
+
gap: ${rem(4)};
|
|
844
|
+
margin-top: ${rem(4)};
|
|
845
|
+
|
|
846
|
+
span {
|
|
847
|
+
color: ${theme.colors.neutral500};
|
|
848
|
+
}
|
|
849
|
+
`;
|
|
850
|
+
const StyledImageUploadInputWrapper = styled.div `
|
|
851
|
+
position: relative;
|
|
852
|
+
width: fit-content;
|
|
853
|
+
padding: ${rem(8)} ${rem(12)};
|
|
854
|
+
border-radius: ${rem(12)};
|
|
855
|
+
border: ${rem(1)} solid ${theme.colors.neutral200};
|
|
856
|
+
cursor: pointer;
|
|
857
|
+
display: flex;
|
|
858
|
+
align-items: center;
|
|
859
|
+
gap: ${rem(8)};
|
|
860
|
+
margin-top: ${rem(18)};
|
|
861
|
+
|
|
862
|
+
&.image-upload-dragover {
|
|
863
|
+
border-color: ${theme.colors.primaryBase};
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
&.image-upload-error {
|
|
867
|
+
border-color: ${theme.colors.error};
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
&.image-upload-disabled {
|
|
871
|
+
cursor: not-allowed;
|
|
872
|
+
background-color: ${theme.colors.gray100};
|
|
873
|
+
color: ${theme.colors.gray400};
|
|
874
|
+
border-color: ${theme.colors.gray200};
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
svg {
|
|
878
|
+
width: ${rem(18)};
|
|
879
|
+
height: ${rem(18)};
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
input {
|
|
883
|
+
position: absolute;
|
|
884
|
+
inset: 0;
|
|
885
|
+
width: 100%;
|
|
886
|
+
height: 100%;
|
|
887
|
+
opacity: 0;
|
|
888
|
+
cursor: pointer;
|
|
889
|
+
z-index: -1;
|
|
890
|
+
}
|
|
891
|
+
`;
|
|
892
|
+
const StyledImageUploadPreviewContainer = styled.div `
|
|
893
|
+
position: relative;
|
|
894
|
+
width: ${rem(90)};
|
|
895
|
+
height: ${rem(90)};
|
|
896
|
+
border-radius: ${rem(12)};
|
|
897
|
+
overflow: hidden;
|
|
898
|
+
background-color: ${theme.colors.gray100};
|
|
899
|
+
display: flex;
|
|
900
|
+
align-items: center;
|
|
901
|
+
justify-content: center;
|
|
902
|
+
|
|
903
|
+
img {
|
|
904
|
+
width: 100%;
|
|
905
|
+
height: 100%;
|
|
906
|
+
object-fit: contain;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
svg {
|
|
910
|
+
width: ${rem(14)};
|
|
911
|
+
height: ${rem(14)};
|
|
912
|
+
color: ${theme.colors.white};
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.image-upload-remove-button {
|
|
916
|
+
cursor: pointer;
|
|
917
|
+
position: absolute;
|
|
918
|
+
top: ${rem(6)};
|
|
919
|
+
right: ${rem(6)};
|
|
920
|
+
background: ${theme.colors.black};
|
|
921
|
+
border-radius: ${rem(12)};
|
|
922
|
+
padding: ${rem(2)};
|
|
923
|
+
display: flex;
|
|
924
|
+
|
|
925
|
+
&:hover {
|
|
926
|
+
opacity: 0.8;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
`;
|
|
930
|
+
const StyledImageUploadPreviewContainerGroup = styled.div `
|
|
931
|
+
display: flex;
|
|
932
|
+
gap: ${rem(8)};
|
|
933
|
+
margin-top: ${rem(18)};
|
|
934
|
+
`;
|
|
935
|
+
|
|
936
|
+
const ImageUpload = forwardRef(({ label, name, error, acceptedTypes = [
|
|
937
|
+
FILE_UPLOAD_ACCEPTED_TYPES.PNG,
|
|
938
|
+
FILE_UPLOAD_ACCEPTED_TYPES.JPG,
|
|
939
|
+
FILE_UPLOAD_ACCEPTED_TYPES.JPEG,
|
|
940
|
+
], maxSize = 1, acceptedRatios, multiple = false, disabled = false, id, className, onChange, value, showValidationRules = false, description, useBase64 = false, placeholder = 'Upload photo', }, ref) => {
|
|
941
|
+
const [isDragOver, setIsDragOver] = useState(false);
|
|
942
|
+
const [validationErrors, setValidationErrors] = useState([]);
|
|
943
|
+
const fileInputRef = useRef(null);
|
|
944
|
+
const hasError = Boolean(error) || validationErrors.length > 0;
|
|
945
|
+
const normalizedValue = useMemo(() => {
|
|
946
|
+
if (!value)
|
|
947
|
+
return [];
|
|
948
|
+
return Array.isArray(value) ? value : [value];
|
|
949
|
+
}, [value]);
|
|
950
|
+
const validateFile = useCallback((file) => {
|
|
951
|
+
var _a;
|
|
952
|
+
const errors = [];
|
|
953
|
+
const fileExtension = '.' + ((_a = file.name.split('.').pop()) === null || _a === void 0 ? void 0 : _a.toLowerCase());
|
|
954
|
+
if (!acceptedTypes.includes(fileExtension)) {
|
|
955
|
+
errors.push(`Unsupported file format. Please upload a ${acceptedTypes.join(', ')} file.`);
|
|
956
|
+
}
|
|
957
|
+
const fileSizeMB = file.size / (1024 * 1024);
|
|
958
|
+
if (fileSizeMB > maxSize) {
|
|
959
|
+
errors.push(`File too large. Please upload an image smaller than ${maxSize}MB.`);
|
|
960
|
+
}
|
|
961
|
+
return {
|
|
962
|
+
file,
|
|
963
|
+
isValid: errors.length === 0,
|
|
964
|
+
errors,
|
|
965
|
+
};
|
|
966
|
+
}, [acceptedTypes, maxSize]);
|
|
967
|
+
const validateImageRatio = useCallback((file) => {
|
|
968
|
+
return new Promise((resolve) => {
|
|
969
|
+
if (!acceptedRatios ||
|
|
970
|
+
!acceptedRatios.length ||
|
|
971
|
+
!file.type.startsWith('image/')) {
|
|
972
|
+
resolve([]);
|
|
973
|
+
return;
|
|
974
|
+
}
|
|
975
|
+
const img = new Image();
|
|
976
|
+
img.onload = () => {
|
|
977
|
+
const ratio = img.width / img.height;
|
|
978
|
+
const ratioString = `${ratio.toFixed(1)}:1`;
|
|
979
|
+
const isValidRatio = acceptedRatios.some((acceptedRatio) => {
|
|
980
|
+
const [w, h] = acceptedRatio.split(':');
|
|
981
|
+
const expectedRatio = parseInt(w) / parseInt(h);
|
|
982
|
+
return Math.abs(ratio - expectedRatio) < 0.1;
|
|
983
|
+
});
|
|
984
|
+
resolve(isValidRatio
|
|
985
|
+
? []
|
|
986
|
+
: [`Image ratio ${ratioString} is not accepted.`]);
|
|
987
|
+
};
|
|
988
|
+
img.onerror = () => resolve(['Invalid image file']);
|
|
989
|
+
img.src = URL.createObjectURL(file);
|
|
990
|
+
});
|
|
991
|
+
}, [acceptedRatios]);
|
|
992
|
+
const previewList = useMemo(() => {
|
|
993
|
+
return normalizedValue
|
|
994
|
+
.map((val) => {
|
|
995
|
+
if (typeof val === 'string')
|
|
996
|
+
return val;
|
|
997
|
+
if (val instanceof File)
|
|
998
|
+
return URL.createObjectURL(val);
|
|
999
|
+
return '';
|
|
1000
|
+
})
|
|
1001
|
+
.filter(Boolean);
|
|
1002
|
+
}, [normalizedValue]);
|
|
1003
|
+
const processFiles = useCallback((files) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1004
|
+
const fileArray = Array.from(files);
|
|
1005
|
+
const allErrors = [];
|
|
1006
|
+
const validFiles = [];
|
|
1007
|
+
for (const file of fileArray) {
|
|
1008
|
+
const validation = validateFile(file);
|
|
1009
|
+
const ratioErrors = yield validateImageRatio(file);
|
|
1010
|
+
const allFileErrors = [...validation.errors, ...ratioErrors];
|
|
1011
|
+
if (allFileErrors.length === 0) {
|
|
1012
|
+
validFiles.push(file);
|
|
1013
|
+
}
|
|
1014
|
+
else {
|
|
1015
|
+
allErrors.push(...allFileErrors);
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
setValidationErrors(allErrors);
|
|
1019
|
+
if (validFiles.length === 0)
|
|
1020
|
+
return;
|
|
1021
|
+
const resultList = useBase64
|
|
1022
|
+
? yield handleMultipleImageFiles(validFiles)
|
|
1023
|
+
: validFiles;
|
|
1024
|
+
onChange({
|
|
1025
|
+
target: {
|
|
1026
|
+
name,
|
|
1027
|
+
value: multiple
|
|
1028
|
+
? [...normalizedValue, ...resultList]
|
|
1029
|
+
: resultList.slice(0, 1),
|
|
1030
|
+
},
|
|
1031
|
+
});
|
|
1032
|
+
}), [
|
|
1033
|
+
validateFile,
|
|
1034
|
+
validateImageRatio,
|
|
1035
|
+
multiple,
|
|
1036
|
+
onChange,
|
|
1037
|
+
name,
|
|
1038
|
+
normalizedValue,
|
|
1039
|
+
]);
|
|
1040
|
+
const handleFileInputChange = (e) => {
|
|
1041
|
+
const files = e.target.files;
|
|
1042
|
+
if (files && files.length > 0) {
|
|
1043
|
+
processFiles(files);
|
|
1044
|
+
}
|
|
1045
|
+
};
|
|
1046
|
+
const removeFile = (index) => {
|
|
1047
|
+
const newFiles = normalizedValue.filter((_, i) => i !== index);
|
|
1048
|
+
setValidationErrors([]);
|
|
1049
|
+
onChange({
|
|
1050
|
+
target: {
|
|
1051
|
+
name,
|
|
1052
|
+
value: multiple ? newFiles : '', // empty string if not multiple
|
|
1053
|
+
},
|
|
1054
|
+
});
|
|
1055
|
+
};
|
|
1056
|
+
const combinedRef = useCallback((e) => {
|
|
1057
|
+
fileInputRef.current = e;
|
|
1058
|
+
if (typeof ref === 'function') {
|
|
1059
|
+
ref(e);
|
|
1060
|
+
}
|
|
1061
|
+
else if (ref) {
|
|
1062
|
+
ref.current = e;
|
|
1063
|
+
}
|
|
1064
|
+
}, [ref]);
|
|
1065
|
+
const handleClick = useCallback(() => {
|
|
1066
|
+
if (!disabled && fileInputRef.current) {
|
|
1067
|
+
fileInputRef.current.click();
|
|
1068
|
+
}
|
|
1069
|
+
}, [disabled]);
|
|
1070
|
+
const handleDragEnter = useCallback((e) => {
|
|
1071
|
+
e.preventDefault();
|
|
1072
|
+
e.stopPropagation();
|
|
1073
|
+
setIsDragOver(true);
|
|
1074
|
+
}, []);
|
|
1075
|
+
const handleDragLeave = useCallback((e) => {
|
|
1076
|
+
e.preventDefault();
|
|
1077
|
+
e.stopPropagation();
|
|
1078
|
+
setIsDragOver(false);
|
|
1079
|
+
}, []);
|
|
1080
|
+
const handleDragOver = useCallback((e) => {
|
|
1081
|
+
e.preventDefault();
|
|
1082
|
+
e.stopPropagation();
|
|
1083
|
+
}, []);
|
|
1084
|
+
const handleDrop = useCallback((e) => {
|
|
1085
|
+
e.preventDefault();
|
|
1086
|
+
e.stopPropagation();
|
|
1087
|
+
setIsDragOver(false);
|
|
1088
|
+
const files = e.dataTransfer.files;
|
|
1089
|
+
if (files.length > 0) {
|
|
1090
|
+
processFiles(files);
|
|
1091
|
+
}
|
|
1092
|
+
}, [processFiles]);
|
|
1093
|
+
return (React__default.createElement(StyledImageUploadWrapper, { className: className },
|
|
1094
|
+
React__default.createElement("label", { htmlFor: id || name },
|
|
1095
|
+
typeof label === 'string' ? (React__default.createElement(Text, { size: "title2" }, label)) : (label),
|
|
1096
|
+
description && (React__default.createElement(Text, { size: "p3", mt: rem(4), color: theme.colors.gray700 }, description))),
|
|
1097
|
+
showValidationRules && (React__default.createElement(StyledImageUploadContent, null,
|
|
1098
|
+
React__default.createElement(Text, { size: "p3" },
|
|
1099
|
+
"Formats: ",
|
|
1100
|
+
acceptedTypes.join('/')),
|
|
1101
|
+
acceptedRatios && (React__default.createElement(Text, { size: "p3" },
|
|
1102
|
+
"Max size: ",
|
|
1103
|
+
maxSize,
|
|
1104
|
+
"MB - Accepted ratios:",
|
|
1105
|
+
' ',
|
|
1106
|
+
acceptedRatios.join('/'))))),
|
|
1107
|
+
(multiple || normalizedValue.length === 0) && (React__default.createElement(StyledImageUploadInputWrapper, { className: clsx(isDragOver && 'image-upload-dragover', hasError && 'image-upload-error', disabled && 'image-upload-disabled'), onDragEnter: handleDragEnter, onDragLeave: handleDragLeave, onDragOver: handleDragOver, onDrop: handleDrop, onClick: handleClick },
|
|
1108
|
+
React__default.createElement("input", { ref: combinedRef, type: "file", id: id || name, name: name, accept: acceptedTypes.join(','), multiple: multiple, onChange: handleFileInputChange, disabled: disabled }),
|
|
1109
|
+
React__default.createElement(Upload, null),
|
|
1110
|
+
React__default.createElement(Text, { size: "p3", fw: 500 }, placeholder))),
|
|
1111
|
+
normalizedValue.length > 0 && (React__default.createElement(StyledImageUploadPreviewContainerGroup, null, previewList.map((img, index) => (React__default.createElement(StyledImageUploadPreviewContainer, { key: index },
|
|
1112
|
+
React__default.createElement("img", { src: img, alt: `Uploaded file ${index + 1}`, className: "image-upload-preview-image" }),
|
|
1113
|
+
React__default.createElement("button", { onClick: (e) => {
|
|
1114
|
+
e.stopPropagation();
|
|
1115
|
+
removeFile(index);
|
|
1116
|
+
}, className: "image-upload-remove-button" },
|
|
1117
|
+
React__default.createElement(Close, null))))))),
|
|
1118
|
+
hasError && (React__default.createElement("div", { className: "image-upload-input-error" }, [...validationErrors, error].map((err) => (React__default.createElement(Text, { key: err, className: "error-text", size: "c1", color: theme.colors.red600 }, err)))))));
|
|
1119
|
+
});
|
|
1120
|
+
|
|
795
1121
|
const StyledCarousel = styled(Carousel) `
|
|
796
1122
|
& .mantine-Carousel-control {
|
|
797
1123
|
width: auto;
|
|
@@ -803,4 +1129,4 @@ const DragFreeCarousel = (_a) => {
|
|
|
803
1129
|
return (React__default.createElement(StyledCarousel, Object.assign({ slideSize: slideSize, slideGap: gapItem, withControls: withControls, withIndicators: withIndicators, dragFree: dragFree, align: align, containScroll: "trimSnaps" }, otherProps), React__default.Children.map(children, (child, index) => (React__default.createElement(Carousel.Slide, { key: index }, child)))));
|
|
804
1130
|
};
|
|
805
1131
|
|
|
806
|
-
export { Alert as A, Badge as B, CardCollapse as C, DragFreeCarousel as D, FileDropdown as F, Grid as G, HtmlContent as H, IconHeading as I, Radio as R, StepRenderer as S, Tag as T, BorderHeading as a, RateStars as b, Toggle as c, StepRendererContext as d };
|
|
1132
|
+
export { Alert as A, Badge as B, CardCollapse as C, DragFreeCarousel as D, FileDropdown as F, Grid as G, HtmlContent as H, IconHeading as I, Radio as R, StepRenderer as S, Tag as T, Upload as U, BorderHeading as a, RateStars as b, Toggle as c, StepRendererContext as d, ImageUpload as e, FILE_UPLOAD_ACCEPTED_RATIOS as f, FILE_UPLOAD_ACCEPTED_TYPES as g };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-0854fa1c.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import './index-
|
|
6
|
-
import { D as DatePicker } from './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index.styles-
|
|
10
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import './index-2a31ae5d.js';
|
|
6
|
+
import { D as DatePicker } from './index-688e2d30.js';
|
|
7
|
+
import './index-c281bb47.js';
|
|
8
|
+
import './index-45bcb7f4.js';
|
|
9
|
+
import './index.styles-b6743181.js';
|
|
10
|
+
import { u as useTranslations } from './index-f9641ef3.js';
|
|
11
11
|
import '@mantine/hooks';
|
|
12
|
-
import './index-
|
|
13
|
-
import './text-
|
|
14
|
-
import './utils-
|
|
15
|
-
import './index-
|
|
16
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
17
|
-
import { G as GenderOptionControl } from './index-
|
|
12
|
+
import './index-5c4220cf.js';
|
|
13
|
+
import './text-2b4a7e88.js';
|
|
14
|
+
import './utils-956ea6ec.js';
|
|
15
|
+
import './index-e3d5d462.js';
|
|
16
|
+
import { H as HealthToolFormWrapper } from './index-ec19e83e.js';
|
|
17
|
+
import { G as GenderOptionControl } from './index-d1118ef8.js';
|
|
18
18
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
19
19
|
|
|
20
20
|
const BabyVaccineFormContext = createContext({});
|