@hhgtech/hhg-components 1.29.385 → 1.29.386-beta-1
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-9543c9be.js → InputDate-ed74f988.js} +20 -10
- package/build/{LastPeriod-30675b09.js → LastPeriod-af0a2a8a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-d7a52dfb.js → MobileBottomNavigationIcon-b0618a82.js} +3 -3
- package/build/{Spinner-5d09c96f.js → Spinner-a56e0e28.js} +1 -1
- package/build/{WhatsApp-7f023dc7.js → WhatsApp-56e4c036.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/navigationV2/components/atoms/HamburgerIcon.d.ts +3 -2
- package/build/components/navigationV2/components/atoms/PopupWrapper/index.d.ts +3 -2
- package/build/components/navigationV2/components/molecules/menuViewMore/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuViewMore/index.styled.d.ts +16 -0
- package/build/components/navigationV2/types.d.ts +3 -2
- package/build/components.js +97 -97
- package/build/{constants-cb2532df.js → constants-6e044df2.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-202b2a1b.js → core-9043ba2a.js} +1 -1
- package/build/{dataTransform-a50be43b.js → dataTransform-59bd43c8.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-d5acc88f.js → editor-168da026.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-89a26bec.js → InputDate-b2a8bed2.js} +20 -10
- package/build/esm/{LastPeriod-879c30a1.js → LastPeriod-1215f915.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-4e6cecfd.js → MobileBottomNavigationIcon-58e64474.js} +3 -3
- package/build/esm/{Spinner-905cc2b7.js → Spinner-f4cfbc00.js} +1 -1
- package/build/esm/{WhatsApp-5c75c08c.js → WhatsApp-03e0c346.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/navigationV2/components/atoms/HamburgerIcon.d.ts +3 -2
- package/build/esm/components/navigationV2/components/atoms/PopupWrapper/index.d.ts +3 -2
- package/build/esm/components/navigationV2/components/molecules/menuViewMore/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuViewMore/index.styled.d.ts +16 -0
- package/build/esm/components/navigationV2/types.d.ts +3 -2
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-6ab10635.js → constants-46d99ea0.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-02615973.js → core-4e92b6a2.js} +1 -1
- package/build/esm/{dataTransform-5668cf3b.js → dataTransform-d989d979.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-d2969fad.js → editor-cc263ebb.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-a059cdb1.js → healthTools-abd67bc8.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- 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-90a5c982.js → index-03b12aa8.js} +2 -2
- package/build/esm/{index-ac1afafe.js → index-087fdee7.js} +32 -32
- package/build/esm/{index-d30b53b6.js → index-097bc6ea.js} +2 -2
- package/build/esm/{index-458c7e8e.js → index-0cb1bb34.js} +24 -24
- package/build/esm/{index-a4d5a338.js → index-0d8d05bf.js} +7 -7
- package/build/esm/{index-9b3874aa.js → index-100ec660.js} +6 -6
- package/build/esm/{index-7912d048.js → index-103f3e22.js} +2 -2
- package/build/esm/{index-dcbac801.js → index-20daeb1f.js} +17 -17
- package/build/esm/{index-8e5ac6ca.js → index-253f6fdf.js} +3 -3
- package/build/esm/{index-595279be.js → index-25dc1bc6.js} +6 -6
- package/build/esm/{index-d3eed921.js → index-281262a1.js} +2 -2
- package/build/esm/{index-5d9e20b5.js → index-29ce0e07.js} +287 -315
- package/build/esm/{index-a350c491.js → index-2ab577bc.js} +1 -1
- package/build/esm/{index-6717347a.js → index-2cc02f8e.js} +3 -3
- package/build/esm/{index-41770769.js → index-2d01d577.js} +1 -1
- package/build/esm/{index-1424cbbe.js → index-2f470ea5.js} +21 -21
- package/build/esm/{index-0d1cbee8.js → index-42afbae7.js} +2 -2
- package/build/esm/{index-23bcd466.js → index-46621b4b.js} +2 -2
- package/build/esm/{index-7d2ecc99.js → index-4cca4510.js} +16 -16
- package/build/esm/{index-b2224e4e.js → index-52667cc4.js} +17 -17
- package/build/esm/{index-462ae104.js → index-564bc3de.js} +1 -1
- package/build/esm/{index-3049cfeb.js → index-564f4ad4.js} +1 -1
- package/build/esm/{index-da87cd44.js → index-6200538b.js} +4 -4
- package/build/esm/{index-dd2d353e.js → index-6320c603.js} +8 -8
- package/build/esm/{index-71b287b0.js → index-64b465e5.js} +18 -18
- package/build/esm/{index-8e4c503c.js → index-64dea9d0.js} +3 -3
- package/build/esm/{index-e4bfd66f.js → index-65bd2d3a.js} +17 -17
- package/build/esm/{index-cbc8b7d2.js → index-6a911cf3.js} +13 -13
- package/build/esm/{index-a7a7ec77.js → index-6acbd7f2.js} +25 -25
- package/build/esm/{index-b23fcd37.js → index-6e8831b7.js} +4 -4
- package/build/esm/{index-70444117.js → index-7375f1cb.js} +2 -2
- package/build/esm/{index-a95f37f3.js → index-74277965.js} +2 -2
- package/build/esm/{index-7a85f2e1.js → index-744d9bcd.js} +2 -2
- package/build/esm/{index-68e58b88.js → index-758cba4f.js} +1 -1
- package/build/esm/{index-306946b8.js → index-75a0405a.js} +3 -3
- package/build/esm/{index-35bd9518.js → index-823a4209.js} +2 -2
- package/build/esm/{index-eb8f25ca.js → index-8ff97c2d.js} +22 -22
- package/build/esm/{index-e27cd7e5.js → index-91103d25.js} +2 -2
- package/build/esm/{index-109839d3.js → index-939a46a2.js} +2 -2
- package/build/esm/{index-696a9899.js → index-9614bd23.js} +16 -16
- package/build/esm/{index-07c91a75.js → index-98a55413.js} +13 -13
- package/build/esm/{index-8effe5d7.js → index-a3806fba.js} +1 -1
- package/build/esm/{index-f8617a85.js → index-acc64509.js} +13 -13
- package/build/esm/{index-d43a9232.js → index-ad92c50f.js} +6 -6
- package/build/esm/{index-bb484345.js → index-b0a589b1.js} +5 -5
- package/build/esm/{index-fc1ff7f9.js → index-b4345744.js} +13 -13
- package/build/esm/{index-40e88f64.js → index-bce09d45.js} +10 -10
- package/build/esm/{index-1966fdf2.js → index-be4b6fe0.js} +1 -1
- package/build/esm/{index-a7566926.js → index-bf2dba06.js} +5 -5
- package/build/esm/{index-b7136938.js → index-c141698b.js} +17 -17
- package/build/esm/{index-8d57bdbc.js → index-c26228a8.js} +6 -6
- package/build/esm/{index-2fb3b00e.js → index-c33a8179.js} +7 -7
- package/build/esm/{index-8e25b0cc.js → index-c451373e.js} +18 -18
- package/build/esm/{index-13c43fe9.js → index-c4e21b85.js} +2 -2
- package/build/esm/{index-708c4fbf.js → index-c6d446bf.js} +1 -1
- package/build/esm/{index-671cdebc.js → index-ca999c09.js} +6 -6
- package/build/esm/{index-b6895b0f.js → index-d2d14bd8.js} +3 -3
- package/build/esm/{index-bf5b2a7b.js → index-d68ad468.js} +3 -3
- package/build/esm/{index-3a4eb256.js → index-d78af3ac.js} +2 -2
- package/build/esm/{index-b3aa850a.js → index-dd61411d.js} +15 -15
- package/build/esm/{index-981e9652.js → index-debfcc79.js} +16 -16
- package/build/esm/{index-ba19d9d4.js → index-dfb90d3c.js} +16 -16
- package/build/esm/{index-679f3133.js → index-f3b59067.js} +1 -1
- package/build/esm/{index-a039c50a.js → index-f3ca288e.js} +31 -31
- package/build/esm/{index-72fc9f0a.js → index-ff9ffd57.js} +11 -11
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-22c43c60.js → labelSorting-1688a399.js} +4 -4
- package/build/esm/lead/layouts/lightbox/formContext.d.ts +1 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +257 -93
- package/build/esm/{logoIcon-dbc6bc72.js → logoIcon-40b2b210.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- 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 +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-ac7f7e76.js → post-feebcf1d.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +52 -40
- package/build/esm/{store-9b74f240.js → store-9805d07d.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-0f2ae556.js → surveyThankyouCard-d8ff9d3d.js} +5 -5
- package/build/esm/together.js +56 -56
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-444bf5c5.js → translationsProvider-16fc61db.js} +1 -1
- package/build/esm/{treePopoverMenu-71e76d12.js → treePopoverMenu-b8d6a630.js} +19 -19
- package/build/esm/{types-1d86b00b.js → types-006b2811.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-f537daf2.js → useCategory-c21074ec.js} +5 -5
- package/build/esm/{useHealthToolCache-6e5f135f.js → useHealthToolCache-1f616ec8.js} +1 -1
- package/build/esm/{useMantineLocale-07ba271b.js → useMantineLocale-cdc599fd.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-e7c6a4a8.js → usePlacesAutocomplete-2b219a39.js} +1 -1
- package/build/esm/{useScreenSize-84a1500c.js → useScreenSize-d2407c10.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-096fd664.js → utils-512bb672.js} +2 -2
- package/build/esm/{utils-12db9476.js → utils-951bde1a.js} +3 -3
- package/build/esm/{utils-5e07274a.js → utils-d3fb44e0.js} +2 -2
- package/build/esm/{utils-a01bf9df.js → utils-dc17fea3.js} +5 -5
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-d601e8e2.js → healthTools-2e35b357.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-1a61d57c.js → index-0191816d.js} +6 -6
- package/build/{index-fd9e83fe.js → index-06875df9.js} +2 -2
- package/build/{index-c95db5d4.js → index-080059a3.js} +13 -13
- package/build/{index-a9effb02.js → index-08ca47df.js} +2 -2
- package/build/{index-16f1f4f2.js → index-11f9e38f.js} +1 -1
- package/build/{index-854e59e3.js → index-1409716d.js} +1 -1
- package/build/{index-5e271041.js → index-18236893.js} +13 -13
- package/build/{index-c82573dd.js → index-1b2eb79c.js} +2 -2
- package/build/{index-f26dc6fb.js → index-1dca56a0.js} +1 -1
- package/build/{index-cd3a9701.js → index-1f649135.js} +6 -6
- package/build/{index-69df7694.js → index-20a49ff5.js} +6 -6
- package/build/{index-4ab6d311.js → index-246a8733.js} +17 -17
- package/build/{index-7f246e6c.js → index-258b3c18.js} +2 -2
- package/build/{index-cb85a173.js → index-2a8fba9e.js} +4 -4
- package/build/{index-cd992583.js → index-2c918b58.js} +7 -7
- package/build/{index-050da9fc.js → index-3347f3f3.js} +5 -5
- package/build/{index-d054bf34.js → index-3350e2bb.js} +1 -1
- package/build/{index-cee787e5.js → index-36645974.js} +2 -2
- package/build/{index-2597f294.js → index-37e88058.js} +1 -1
- package/build/{index-a2193179.js → index-39da377f.js} +2 -2
- package/build/{index-d7318dd8.js → index-3f98c8bf.js} +2 -2
- package/build/{index-e0d373c9.js → index-440ccfa2.js} +355 -401
- package/build/{index-774e314c.js → index-4c6bdeee.js} +1 -1
- package/build/{index-2627b37d.js → index-521ea8c1.js} +13 -13
- package/build/{index-fdcc95d0.js → index-53dfe7fc.js} +21 -21
- package/build/{index-988aad9f.js → index-56bbde80.js} +5 -5
- package/build/{index-08bd04b2.js → index-6241b5a5.js} +18 -18
- package/build/{index-62ab1d29.js → index-63768fe2.js} +3 -3
- package/build/{index-6139cfb4.js → index-694fc5f3.js} +16 -16
- package/build/{index-5bce1e59.js → index-6e3fb88a.js} +13 -13
- package/build/{index-4095eaa2.js → index-7602ed89.js} +7 -7
- package/build/{index-5ee3b64b.js → index-7776ffba.js} +2 -2
- package/build/{index-f8394623.js → index-78114684.js} +1 -1
- package/build/{index-b6849d5f.js → index-79a68c45.js} +2 -2
- package/build/{index-d959336f.js → index-79aad7c3.js} +31 -31
- package/build/{index-db0fd843.js → index-7b6f6aa9.js} +1 -1
- package/build/{index-6071dce0.js → index-7ecf7f9b.js} +16 -16
- package/build/{index-a267934e.js → index-7f4d9891.js} +6 -6
- package/build/{index-d0731dbc.js → index-7f4fed49.js} +15 -15
- package/build/{index-12e1a237.js → index-8729963a.js} +22 -22
- package/build/{index-8248c5cb.js → index-8a630843.js} +3 -3
- package/build/{index-45eaac0c.js → index-8cd4cd9d.js} +2 -2
- package/build/{index-a9369759.js → index-95cbc082.js} +3 -3
- package/build/{index-1717e30d.js → index-9cc45dfe.js} +2 -2
- package/build/{index-7e07362f.js → index-a2c25032.js} +3 -3
- package/build/{index-ebe02444.js → index-ac93d47e.js} +1 -1
- package/build/{index-835e2277.js → index-acce9d99.js} +32 -32
- package/build/{index-5699cbe4.js → index-ada37d9b.js} +24 -24
- package/build/{index-ed2c46bc.js → index-afe9ef56.js} +16 -16
- package/build/{index-ac93a61b.js → index-bfc8c50a.js} +18 -18
- package/build/{index-04576d76.js → index-c008db2c.js} +4 -4
- package/build/{index-06dd1c3a.js → index-c0ddcba2.js} +16 -16
- package/build/{index-c48835f4.js → index-c625a741.js} +25 -25
- package/build/{index-ab80add3.js → index-c77842ed.js} +17 -17
- package/build/{index-86edd169.js → index-c85f52f5.js} +17 -17
- package/build/{index-ba273d2c.js → index-c9698515.js} +2 -2
- package/build/{index-284b78cc.js → index-cacf3d5e.js} +8 -8
- package/build/{index-9184f9de.js → index-cf9063a4.js} +2 -2
- package/build/{index-58bbbc56.js → index-e8645939.js} +2 -2
- package/build/{index-713ea7a9.js → index-ee1a361c.js} +6 -6
- package/build/{index-e52bbff2.js → index-f07b5e1a.js} +17 -17
- package/build/{index-e338a8a8.js → index-f08aeb47.js} +10 -10
- package/build/{index-fc49c62d.js → index-f557fafc.js} +3 -3
- package/build/{index-f414885e.js → index-f577115d.js} +11 -11
- package/build/{index-f3a262db.js → index-f69d08c9.js} +3 -3
- package/build/index.css +1 -1
- package/build/index.js +118 -118
- package/build/{labelSorting-09062585.js → labelSorting-af06a5e8.js} +4 -4
- package/build/lead/layouts/lightbox/formContext.d.ts +1 -0
- package/build/lead.css +1 -1
- package/build/lead.js +259 -95
- package/build/{logoIcon-d5564e8b.js → logoIcon-37df069a.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- 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 +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-553069f2.js → post-b82832ff.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +50 -38
- package/build/{store-8a9dfc23.js → store-4b7b3820.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-84dd1e3f.js → surveyThankyouCard-0803fa63.js} +5 -5
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-aa21b093.js → translationsProvider-bc9f4a91.js} +1 -1
- package/build/{treePopoverMenu-189cd8b5.js → treePopoverMenu-1093f7ce.js} +19 -19
- package/build/{types-f92058bb.js → types-0cc26be7.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-365723a8.js → useCategory-b8d1c655.js} +5 -5
- package/build/{useHealthToolCache-c5a37444.js → useHealthToolCache-96231fd8.js} +1 -1
- package/build/{useMantineLocale-5a19d187.js → useMantineLocale-a7374315.js} +6 -6
- package/build/{usePlacesAutocomplete-8312d521.js → usePlacesAutocomplete-ea8c54b1.js} +1 -1
- package/build/{useScreenSize-f1a2ec2a.js → useScreenSize-6eaa839e.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-463fe488.js → utils-a0dac329.js} +2 -2
- package/build/{utils-d6404715.js → utils-ab1ad334.js} +3 -3
- package/build/{utils-e2c1d829.js → utils-bd1c6459.js} +5 -5
- package/build/{utils-0509903a.js → utils-d57cbf6a.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +2 -2
- package/build/doctor-a6825d90.js +0 -8479
- package/build/esm/doctor-ca410ccf.js +0 -8467
- /package/build/{BMI_BOYS.percentile.monthly-6d1afd67.js → BMI_BOYS.percentile.monthly-2da44c12.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-bfbd4390.js → BMI_BOYS.percentile.weekly-ac0912c1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-187a8285.js → BMI_BOYS.percentile.yearly-8342da4b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bf9e92cf.js → BMI_BOYS.zscore.monthly-833d09ba.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-33252fc1.js → BMI_BOYS.zscore.weekly-013109b8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-d1588f5b.js → BMI_BOYS.zscore.yearly-15d656ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e1d31ace.js → BMI_GIRLS.percentile.monthly-2e8e770e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-3acd73aa.js → BMI_GIRLS.percentile.weekly-984aace1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f3c8bc91.js → BMI_GIRLS.percentile.yearly-3da61d1e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-71d12793.js → BMI_GIRLS.zscore.monthly-09b2f8b3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-0d2f54f9.js → BMI_GIRLS.zscore.weekly-bb714f6a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-8ea10d6d.js → BMI_GIRLS.zscore.yearly-4d78679e.js} +0 -0
- /package/build/{ChevronDown-8dfa8a66.js → ChevronDown-49a85e35.js} +0 -0
- /package/build/{Close-bd8bfbcd.js → Close-5d9c873c.js} +0 -0
- /package/build/{Google-0054ed94.js → Google-09a36c8f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9177471f.js → HEAD CIRCUM_BOYS.percentile.monthly-1a7eb0e0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ecda8641.js → HEAD CIRCUM_BOYS.percentile.weekly-1465c3e5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-3cca3d16.js → HEAD CIRCUM_BOYS.percentile.yearly-58b8d4b0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a045564a.js → HEAD CIRCUM_BOYS.zscore.monthly-fc33400c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3e1cbb36.js → HEAD CIRCUM_BOYS.zscore.weekly-140fc6ab.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d6b8c9e5.js → HEAD CIRCUM_BOYS.zscore.yearly-bfee2645.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-141882e4.js → HEAD CIRCUM_GIRLS.percentile.monthly-80760d2b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-12e9be62.js → HEAD CIRCUM_GIRLS.percentile.weekly-5217623d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-86e1b11b.js → HEAD CIRCUM_GIRLS.percentile.yearly-a468eafe.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c1f5d925.js → HEAD CIRCUM_GIRLS.zscore.monthly-1614c2d4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2772636c.js → HEAD CIRCUM_GIRLS.zscore.weekly-30fc9e6a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0f01ddc4.js → HEAD CIRCUM_GIRLS.zscore.yearly-96dea931.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1db616a8.js → HEIGHT_BOYS.percentile.monthly-6e731c65.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d9334c52.js → HEIGHT_BOYS.percentile.weekly-4f45839b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-17574796.js → HEIGHT_BOYS.percentile.yearly-6ab860ff.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ea5460d1.js → HEIGHT_BOYS.zscore.monthly-24755d2b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-a6002bcd.js → HEIGHT_BOYS.zscore.weekly-fbbcaf3f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ec4980ea.js → HEIGHT_BOYS.zscore.yearly-606bbf21.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f745373a.js → HEIGHT_GIRLS.percentile.monthly-44761dd2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-30370025.js → HEIGHT_GIRLS.percentile.weekly-de3d656f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-9fc3a846.js → HEIGHT_GIRLS.percentile.yearly-b2eae26c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-42bf6ea7.js → HEIGHT_GIRLS.zscore.monthly-28487a91.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-aa15df85.js → HEIGHT_GIRLS.zscore.weekly-29215faa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-9ccda759.js → HEIGHT_GIRLS.zscore.yearly-105467ba.js} +0 -0
- /package/build/{Locale-e920092f.js → Locale-e610fa4a.js} +0 -0
- /package/build/{Visible-9fbb0324.js → Visible-2968aadd.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-fe2f56bd.js → WEIGHT_BOYS.percentile.monthly-2a68ffb4.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-629daca4.js → WEIGHT_BOYS.percentile.weekly-35d395a3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-450d643a.js → WEIGHT_BOYS.percentile.yearly-92af3c8e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-5b6088d2.js → WEIGHT_BOYS.zscore.monthly-9e04fe5e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9df9f48c.js → WEIGHT_BOYS.zscore.weekly-f9c4b4d0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-db8e3e72.js → WEIGHT_BOYS.zscore.yearly-1dfe6ec6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1f307f96.js → WEIGHT_GIRLS.percentile.monthly-a9a0c7c4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-375a8f9b.js → WEIGHT_GIRLS.percentile.weekly-35b1f52b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a1429ad5.js → WEIGHT_GIRLS.percentile.yearly-a83819b3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-3404c297.js → WEIGHT_GIRLS.zscore.monthly-cac624ce.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-2a5fae54.js → WEIGHT_GIRLS.zscore.weekly-2bee6670.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-fc0dc1ed.js → WEIGHT_GIRLS.zscore.yearly-8d3473d7.js} +0 -0
- /package/build/{animation-8b7a117a.js → animation-13d3e68f.js} +0 -0
- /package/build/{constants-9578f6eb.js → constants-4096d5eb.js} +0 -0
- /package/build/{constants-5ca8021e.js → constants-7b7b8b57.js} +0 -0
- /package/build/{constants-31c3cf55.js → constants-819aee88.js} +0 -0
- /package/build/{dataTransform-3945a67f.js → dataTransform-cca76028.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-aa65e14c.js → BMI_BOYS.percentile.monthly-34f38bd3.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-1db9fce4.js → BMI_BOYS.percentile.weekly-f8e22a1c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e93bf98b.js → BMI_BOYS.percentile.yearly-57c3a29e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6086d085.js → BMI_BOYS.zscore.monthly-71eb7b38.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6f5390a2.js → BMI_BOYS.zscore.weekly-4ba33cf6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dc94ac90.js → BMI_BOYS.zscore.yearly-4c8a9e67.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-1b91dde1.js → BMI_GIRLS.percentile.monthly-2d564a28.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-9c09bf42.js → BMI_GIRLS.percentile.weekly-008a3931.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-212faf19.js → BMI_GIRLS.percentile.yearly-d6a427a1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-c336fe52.js → BMI_GIRLS.zscore.monthly-036f1af3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-afcbedb7.js → BMI_GIRLS.zscore.weekly-93938f3b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-f2267a1d.js → BMI_GIRLS.zscore.yearly-66123485.js} +0 -0
- /package/build/esm/{ChevronDown-b31a6baf.js → ChevronDown-ab18671b.js} +0 -0
- /package/build/esm/{Close-4bc03f63.js → Close-1e831030.js} +0 -0
- /package/build/esm/{Google-67a7259a.js → Google-ca4a22c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-13c60b66.js → HEAD CIRCUM_BOYS.percentile.monthly-37108d2a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b91fa1fd.js → HEAD CIRCUM_BOYS.percentile.weekly-b13124a2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c0106a64.js → HEAD CIRCUM_BOYS.percentile.yearly-fa92ab54.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-40c775d4.js → HEAD CIRCUM_BOYS.zscore.monthly-614e58c7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a6f9a466.js → HEAD CIRCUM_BOYS.zscore.weekly-7318b101.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5c14c56a.js → HEAD CIRCUM_BOYS.zscore.yearly-1c985fb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d93dc02e.js → HEAD CIRCUM_GIRLS.percentile.monthly-19522894.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5904acfc.js → HEAD CIRCUM_GIRLS.percentile.weekly-d72ac22a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d5b311f5.js → HEAD CIRCUM_GIRLS.percentile.yearly-27876f80.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-908dfb5b.js → HEAD CIRCUM_GIRLS.zscore.monthly-4324c4b5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-477f8a33.js → HEAD CIRCUM_GIRLS.zscore.weekly-077b7f75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-70d839fc.js → HEAD CIRCUM_GIRLS.zscore.yearly-f589dff4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ee1a7e24.js → HEIGHT_BOYS.percentile.monthly-34383417.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0a4fc742.js → HEIGHT_BOYS.percentile.weekly-e4f7fe4d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d03385ad.js → HEIGHT_BOYS.percentile.yearly-960f9f45.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9a0cf7cf.js → HEIGHT_BOYS.zscore.monthly-e23349b4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-489e53f1.js → HEIGHT_BOYS.zscore.weekly-153528e4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f41a904f.js → HEIGHT_BOYS.zscore.yearly-cf9d8493.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-d11565c5.js → HEIGHT_GIRLS.percentile.monthly-d31ae4b9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-afab65b9.js → HEIGHT_GIRLS.percentile.weekly-58253ad3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-2a6af876.js → HEIGHT_GIRLS.percentile.yearly-f2e8ece8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-d214ca58.js → HEIGHT_GIRLS.zscore.monthly-c6e7ade4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-46a11bd8.js → HEIGHT_GIRLS.zscore.weekly-122ea608.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6a9be359.js → HEIGHT_GIRLS.zscore.yearly-79ac998e.js} +0 -0
- /package/build/esm/{Locale-6f437b0b.js → Locale-df01bc07.js} +0 -0
- /package/build/esm/{Visible-9ffc7860.js → Visible-bc1ade57.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8b24feb3.js → WEIGHT_BOYS.percentile.monthly-609ec0a4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-29a65f01.js → WEIGHT_BOYS.percentile.weekly-2b8b40e8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ef23a6d2.js → WEIGHT_BOYS.percentile.yearly-be5c028e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1a37d646.js → WEIGHT_BOYS.zscore.monthly-1faa3d07.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e8d8ba1d.js → WEIGHT_BOYS.zscore.weekly-e90fcec0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f39929c5.js → WEIGHT_BOYS.zscore.yearly-dd84ac50.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7ecba8cd.js → WEIGHT_GIRLS.percentile.monthly-045eb652.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c794ab97.js → WEIGHT_GIRLS.percentile.weekly-a2bd16a2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-780f2234.js → WEIGHT_GIRLS.percentile.yearly-a66ce51b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-042800ab.js → WEIGHT_GIRLS.zscore.monthly-63074c81.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-270b8788.js → WEIGHT_GIRLS.zscore.weekly-30583356.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-53af552c.js → WEIGHT_GIRLS.zscore.yearly-0c8fc89b.js} +0 -0
- /package/build/esm/{animation-6547723f.js → animation-57311e13.js} +0 -0
- /package/build/esm/{constants-523cfad5.js → constants-4a7e4a98.js} +0 -0
- /package/build/esm/{constants-032ea37a.js → constants-5a631c9b.js} +0 -0
- /package/build/esm/{constants-d67448b3.js → constants-9170df42.js} +0 -0
- /package/build/esm/{dataTransform-db3773d6.js → dataTransform-414c38dc.js} +0 -0
- /package/build/esm/{index-54ef3cb6.js → index-0e918fb6.js} +0 -0
- /package/build/esm/{index-ffef1303.js → index-1db812c0.js} +0 -0
- /package/build/esm/{index-b0b207b3.js → index-389ef845.js} +0 -0
- /package/build/esm/{index-8d4a87db.js → index-5680e109.js} +0 -0
- /package/build/esm/{index-be734bac.js → index-72cc1232.js} +0 -0
- /package/build/esm/{index-b29d98c5.js → index-ac04b77b.js} +0 -0
- /package/build/esm/{index-0b095e92.js → index-c647487c.js} +0 -0
- /package/build/esm/{index-c11ee9be.js → index-d24782f6.js} +0 -0
- /package/build/esm/{index.styles-d5f24006.js → index.styles-a8eda872.js} +0 -0
- /package/build/esm/{localizeNumberFormat-9668e167.js → localizeNumberFormat-6ec5a964.js} +0 -0
- /package/build/esm/{normalizeLink-f53a9e6b.js → normalizeLink-8d93aee0.js} +0 -0
- /package/build/esm/{number-15fd2820.js → number-79b50f85.js} +0 -0
- /package/build/esm/{other-258b7b50.js → other-88a19fcc.js} +0 -0
- /package/build/esm/{paths-613e5a9b.js → paths-b913d370.js} +0 -0
- /package/build/esm/{translationsContext-84f96669.js → translationsContext-131d3fd0.js} +0 -0
- /package/build/esm/{tslib.es6-38a20e33.js → tslib.es6-ea30ed05.js} +0 -0
- /package/build/esm/{types-1fb6d912.js → types-6c5b2933.js} +0 -0
- /package/build/esm/{useIsInit-1636ec93.js → useIsInit-2f1e1616.js} +0 -0
- /package/build/esm/{useOutsideClick-4a385445.js → useOutsideClick-f7a44ad1.js} +0 -0
- /package/build/esm/{useScrollbarSize-1a02f859.js → useScrollbarSize-076e7c8e.js} +0 -0
- /package/build/esm/{useUniqueId-2ba7aebe.js → useUniqueId-08ccf87e.js} +0 -0
- /package/build/esm/{utils-d58473c9.js → utils-2d8c9500.js} +0 -0
- /package/build/{index-af201f37.js → index-45bb383d.js} +0 -0
- /package/build/{index-9c70447c.js → index-47c47227.js} +0 -0
- /package/build/{index-397efe32.js → index-5496c050.js} +0 -0
- /package/build/{index-13ddea96.js → index-8e27643b.js} +0 -0
- /package/build/{index-0f4e699c.js → index-939b622b.js} +0 -0
- /package/build/{index-eb0109eb.js → index-a19f39d8.js} +0 -0
- /package/build/{index-5b67a243.js → index-a8621966.js} +0 -0
- /package/build/{index-b0574ea2.js → index-b576a253.js} +0 -0
- /package/build/{index.styles-ff1bf8b3.js → index.styles-fe0e15a4.js} +0 -0
- /package/build/{localizeNumberFormat-abdaa206.js → localizeNumberFormat-5a9f0de6.js} +0 -0
- /package/build/{normalizeLink-575dbb7a.js → normalizeLink-cfa8bf5d.js} +0 -0
- /package/build/{number-6604a220.js → number-151601fa.js} +0 -0
- /package/build/{other-542dc058.js → other-ef273af6.js} +0 -0
- /package/build/{paths-10575134.js → paths-69907486.js} +0 -0
- /package/build/{translationsContext-052179e6.js → translationsContext-461e2184.js} +0 -0
- /package/build/{tslib.es6-bf41d482.js → tslib.es6-543c8f46.js} +0 -0
- /package/build/{types-0b38e7d8.js → types-25f12b3b.js} +0 -0
- /package/build/{useIsInit-0fba0d33.js → useIsInit-107d8f00.js} +0 -0
- /package/build/{useOutsideClick-74a83f9f.js → useOutsideClick-bda7b054.js} +0 -0
- /package/build/{useScrollbarSize-270062ec.js → useScrollbarSize-d20a6581.js} +0 -0
- /package/build/{useUniqueId-8e579530.js → useUniqueId-8fa702ff.js} +0 -0
- /package/build/{utils-f7e488f9.js → utils-a4dd1913.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-ea30ed05.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback, forwardRef, useImperativeHandle, memo } from 'react';
|
|
3
3
|
import { createStyles, Box, Button as Button$1, Input as Input$1, clsx, Autocomplete, Checkbox as Checkbox$1, Radio as Radio$1, Select as Select$1, TextInput, NumberInput as NumberInput$1, Portal, Transition, Overlay } from '@mantine/core';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import debounce from 'lodash/debounce';
|
|
6
6
|
import { createFormContext, useForm } from '@mantine/form';
|
|
7
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
7
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-6e8831b7.js';
|
|
8
8
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
9
|
-
import { u as useTranslations } from './index-
|
|
10
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
11
|
-
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-
|
|
12
|
-
import { T as Text } from './index-
|
|
13
|
-
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-
|
|
14
|
-
import { D as DatePicker } from './index-
|
|
15
|
-
import { B as Button } from './index-
|
|
16
|
-
import './index.styles-
|
|
9
|
+
import { u as useTranslations } from './index-c6d446bf.js';
|
|
10
|
+
import { T as TranslationsContext } from './translationsContext-131d3fd0.js';
|
|
11
|
+
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-2d8c9500.js';
|
|
12
|
+
import { T as Text } from './index-7375f1cb.js';
|
|
13
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-ff9ffd57.js';
|
|
14
|
+
import { D as DatePicker } from './index-100ec660.js';
|
|
15
|
+
import { B as Button } from './index-758cba4f.js';
|
|
16
|
+
import './index.styles-a8eda872.js';
|
|
17
17
|
import { useClickOutside } from '@mantine/hooks';
|
|
18
|
-
import './useMantineLocale-
|
|
19
|
-
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-
|
|
22
|
-
import './other-
|
|
23
|
-
import './index-
|
|
24
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
18
|
+
import './useMantineLocale-cdc599fd.js';
|
|
19
|
+
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-564f4ad4.js';
|
|
20
|
+
import './index-ac04b77b.js';
|
|
21
|
+
import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-d78af3ac.js';
|
|
22
|
+
import './other-88a19fcc.js';
|
|
23
|
+
import './index-64dea9d0.js';
|
|
24
|
+
import { M as MAPPED_LOCALE } from './utils-512bb672.js';
|
|
25
25
|
import { DateInput } from '@mantine/dates';
|
|
26
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-
|
|
27
|
-
import { H as Heading$1 } from './index-
|
|
28
|
-
import { t as translationsMap$1 } from './translationsProvider-
|
|
29
|
-
import { L as LOCALE } from './Locale-
|
|
26
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-2b219a39.js';
|
|
27
|
+
import { H as Heading$1 } from './index-c4e21b85.js';
|
|
28
|
+
import { t as translationsMap$1 } from './translationsProvider-16fc61db.js';
|
|
29
|
+
import { L as LOCALE } from './Locale-df01bc07.js';
|
|
30
30
|
import { v1 } from 'uuid';
|
|
31
31
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
32
32
|
import styled from '@emotion/styled';
|
|
33
33
|
import { theme } from './miscTheme.js';
|
|
34
34
|
import { css } from '@emotion/react';
|
|
35
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
36
|
-
import { i as isVideo } from './index-
|
|
37
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
35
|
+
import { T as TogetherComponentGlobalContext } from './utils-951bde1a.js';
|
|
36
|
+
import { i as isVideo } from './index-1db812c0.js';
|
|
37
|
+
import { u as useScreenSize } from './useScreenSize-d2407c10.js';
|
|
38
|
+
import { D as DrawerComponent } from './index-03b12aa8.js';
|
|
38
39
|
import { createPortal } from 'react-dom';
|
|
39
|
-
import { B as Button$2 } from './index-
|
|
40
|
-
import { I as InputDate } from './InputDate-
|
|
41
|
-
import {
|
|
42
|
-
import { C as Close } from './Close-4bc03f63.js';
|
|
40
|
+
import { B as Button$2 } from './index-823a4209.js';
|
|
41
|
+
import { I as InputDate } from './InputDate-b2a8bed2.js';
|
|
42
|
+
import { C as Close } from './Close-1e831030.js';
|
|
43
43
|
import './constantsIsProduction.js';
|
|
44
|
-
import './normalizeLink-
|
|
44
|
+
import './normalizeLink-8d93aee0.js';
|
|
45
45
|
import './constantsDomainLocales.js';
|
|
46
46
|
import '@hhgtech/icons/other';
|
|
47
47
|
import '@mantine/carousel';
|
|
48
48
|
import 'classnames';
|
|
49
|
-
import './useUniqueId-
|
|
49
|
+
import './useUniqueId-08ccf87e.js';
|
|
50
50
|
import './constantsSite.js';
|
|
51
51
|
import '@hhgtech/icons/core';
|
|
52
52
|
import '@mantine/notifications';
|
|
@@ -63,11 +63,11 @@ import './i18n-values/tl-PH.js';
|
|
|
63
63
|
import './i18n-values/vi-VN.js';
|
|
64
64
|
import './i18n-values/vi-VN_MB.js';
|
|
65
65
|
import './i18n-values/zh-TW.js';
|
|
66
|
-
import './index-
|
|
66
|
+
import './index-c647487c.js';
|
|
67
67
|
import 'slugify';
|
|
68
68
|
import 'string-format';
|
|
69
69
|
import './togetherApiPaths.js';
|
|
70
|
-
import './constants-
|
|
70
|
+
import './constants-9170df42.js';
|
|
71
71
|
import 'vaul';
|
|
72
72
|
|
|
73
73
|
const LeadGenComponentContext = createContext({});
|
|
@@ -2111,9 +2111,9 @@ const useLeadGenContext = () => {
|
|
|
2111
2111
|
const customParseFormat = require('dayjs/plugin/customParseFormat');
|
|
2112
2112
|
dayjs.extend(customParseFormat);
|
|
2113
2113
|
/** https://hhgdev.atlassian.net/browse/EL-565 */
|
|
2114
|
-
const LEADGEN_MAP_VALIDATE = {
|
|
2115
|
-
|
|
2116
|
-
}
|
|
2114
|
+
// const LEADGEN_MAP_VALIDATE = {
|
|
2115
|
+
// name: 'leadgen.message.error.name_required',
|
|
2116
|
+
// }
|
|
2117
2117
|
// You can give context variables any name
|
|
2118
2118
|
const [LeadFormProvider, useLeadFormContext, useLeadForm] = createFormContext();
|
|
2119
2119
|
const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], userInfo, format, }) => {
|
|
@@ -2145,16 +2145,13 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
2145
2145
|
return (value) => {
|
|
2146
2146
|
var _a;
|
|
2147
2147
|
const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
|
|
2148
|
-
const { data } = block || {};
|
|
2149
|
-
const { value: fieldName } = data;
|
|
2150
2148
|
if (!formRef.current.isTouched(name))
|
|
2151
2149
|
return;
|
|
2152
2150
|
if ((typeof value === 'string' && value.trim() === '') ||
|
|
2153
2151
|
typeof value === 'undefined' ||
|
|
2154
2152
|
(Array.isArray(value) && value.length === 0)) {
|
|
2155
2153
|
return isBLockRequired
|
|
2156
|
-
? t(
|
|
2157
|
-
'validator.required')
|
|
2154
|
+
? t('validator.required')
|
|
2158
2155
|
: cb === null || cb === void 0 ? void 0 : cb(value);
|
|
2159
2156
|
}
|
|
2160
2157
|
return cb === null || cb === void 0 ? void 0 : cb(value);
|
|
@@ -2211,7 +2208,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
2211
2208
|
if (value &&
|
|
2212
2209
|
window.intlTelInputUtils &&
|
|
2213
2210
|
!window.intlTelInputUtils.isValidNumber(String(value), LEAD_LOCALE.countryCode)) {
|
|
2214
|
-
return t('
|
|
2211
|
+
return t('validator.phone');
|
|
2215
2212
|
}
|
|
2216
2213
|
if (!value)
|
|
2217
2214
|
return;
|
|
@@ -2284,7 +2281,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
2284
2281
|
}, {});
|
|
2285
2282
|
}, [listBlockAdded.map((b) => b.name).join(','), format]);
|
|
2286
2283
|
const form = useLeadForm({
|
|
2287
|
-
validateInputOnChange:
|
|
2284
|
+
validateInputOnChange: false,
|
|
2288
2285
|
validateInputOnBlur: true,
|
|
2289
2286
|
clearInputErrorOnChange: true,
|
|
2290
2287
|
validate: validateObj,
|
|
@@ -2493,14 +2490,24 @@ const StyledLeadGenFormInner = styled.div `
|
|
|
2493
2490
|
.leadgen-form_input_checkbox {
|
|
2494
2491
|
width: 100%;
|
|
2495
2492
|
}
|
|
2493
|
+
|
|
2494
|
+
.mantine-InputWrapper-error {
|
|
2495
|
+
margin-top: 4px;
|
|
2496
|
+
padding-top: 1px;
|
|
2497
|
+
padding-bottom: 1px;
|
|
2498
|
+
color: #f44d2c;
|
|
2499
|
+
font-size: 12px;
|
|
2500
|
+
line-height: 1.5;
|
|
2501
|
+
}
|
|
2496
2502
|
`;
|
|
2497
2503
|
|
|
2498
2504
|
const cssInputNotShrink$1 = css `
|
|
2499
2505
|
height: 100% !important;
|
|
2500
|
-
min-height: calc(var(--container-height, 56px) *
|
|
2506
|
+
min-height: calc(var(--container-height, 56px) * 24 / 56);
|
|
2501
2507
|
color: ${theme.colors.gray800};
|
|
2502
|
-
font-size: var(--input,
|
|
2503
|
-
line-height: calc(var(--container-height, 56px) *
|
|
2508
|
+
font-size: var(--input, 15px);
|
|
2509
|
+
line-height: calc(var(--container-height, 56px) * 24 / 56);
|
|
2510
|
+
letter-spacing: -0.3px;
|
|
2504
2511
|
border: none !important;
|
|
2505
2512
|
border-radius: 0 !important;
|
|
2506
2513
|
outline: none !important;
|
|
@@ -2524,7 +2531,7 @@ const cssLabelNotShrink$1 = css `
|
|
|
2524
2531
|
top: calc(var(--container-height) / 2);
|
|
2525
2532
|
left: var(--space-x, 16px);
|
|
2526
2533
|
color: ${theme.colors.gray400};
|
|
2527
|
-
font-size: var(--label-not-shrink,
|
|
2534
|
+
font-size: var(--label-not-shrink, 15px);
|
|
2528
2535
|
font-weight: 400;
|
|
2529
2536
|
line-height: calc(var(--container-height, 56px) * 18 / 56);
|
|
2530
2537
|
margin: 0;
|
|
@@ -2535,7 +2542,6 @@ const cssLabelNotShrink$1 = css `
|
|
|
2535
2542
|
`;
|
|
2536
2543
|
const cssLabelShrink$1 = css `
|
|
2537
2544
|
color: ${theme.colors.gray600};
|
|
2538
|
-
font-weight: 600;
|
|
2539
2545
|
font-size: var(--label-shrink, 12px);
|
|
2540
2546
|
top: calc(var(--container-height) * 7 / 56);
|
|
2541
2547
|
transform: none;
|
|
@@ -2579,12 +2585,12 @@ const cssInputWrapperError$1 = css `
|
|
|
2579
2585
|
`;
|
|
2580
2586
|
const StyledTextFieldContainer$1 = styled.div `
|
|
2581
2587
|
--space-x: 16px;
|
|
2582
|
-
--space-y-not-shrink:
|
|
2588
|
+
--space-y-not-shrink: 15px;
|
|
2583
2589
|
--space-y-shrink: 7px;
|
|
2584
2590
|
--container-height: 56px;
|
|
2585
2591
|
--label-not-shrink: 16px;
|
|
2586
2592
|
--label-shrink: 12px;
|
|
2587
|
-
--input:
|
|
2593
|
+
--input: 15px;
|
|
2588
2594
|
|
|
2589
2595
|
position: relative;
|
|
2590
2596
|
min-width: 100px;
|
|
@@ -2609,10 +2615,6 @@ const StyledTextFieldContainer$1 = styled.div `
|
|
|
2609
2615
|
border-color: ${theme.colors.red400};
|
|
2610
2616
|
}
|
|
2611
2617
|
}
|
|
2612
|
-
|
|
2613
|
-
.mantine-InputWrapper-error {
|
|
2614
|
-
font-size: 12px !important;
|
|
2615
|
-
}
|
|
2616
2618
|
}
|
|
2617
2619
|
|
|
2618
2620
|
.mantine-InputWrapper-label {
|
|
@@ -2667,6 +2669,14 @@ const StyledTextFieldContainer$1 = styled.div `
|
|
|
2667
2669
|
}
|
|
2668
2670
|
}
|
|
2669
2671
|
|
|
2672
|
+
&:focus-within {
|
|
2673
|
+
.mantine-Input-wrapper {
|
|
2674
|
+
transition: 0.25s linear border;
|
|
2675
|
+
border-color: ${theme.colors.primary600};
|
|
2676
|
+
box-shadow: 0 0 4px ${theme.colors.primary200};
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2670
2680
|
.PhoneInput {
|
|
2671
2681
|
--phone-select: 75px;
|
|
2672
2682
|
--phone-input-space-x: 8px;
|
|
@@ -2716,9 +2726,6 @@ const StyledChoiceFieldContainer$1 = styled.div `
|
|
|
2716
2726
|
|
|
2717
2727
|
.mantine-InputWrapper-root {
|
|
2718
2728
|
display: block;
|
|
2719
|
-
.mantine-InputWrapper-error {
|
|
2720
|
-
font-size: 12px !important;
|
|
2721
|
-
}
|
|
2722
2729
|
}
|
|
2723
2730
|
|
|
2724
2731
|
.mantine-InputWrapper-label {
|
|
@@ -2748,9 +2755,6 @@ const StyledChoiceFieldContainer$1 = styled.div `
|
|
|
2748
2755
|
input[type='radio'],
|
|
2749
2756
|
input[type='checkbox'] {
|
|
2750
2757
|
border-color: ${theme.colors.primary600};
|
|
2751
|
-
+ svg {
|
|
2752
|
-
color: ${theme.colors.primary600};
|
|
2753
|
-
}
|
|
2754
2758
|
}
|
|
2755
2759
|
|
|
2756
2760
|
input[type='radio'] {
|
|
@@ -2925,42 +2929,42 @@ const LeadGenForm = forwardRef((props, ref) => {
|
|
|
2925
2929
|
return (React__default.createElement("form", { ref: formRef, onSubmit: form.onSubmit(middlewareFinish, middlewareFinishFailed), className: className, style: style },
|
|
2926
2930
|
React__default.createElement(StyledLeadGenFormInner, { className: "leadgen-form_inputs" }, blocks.map((block, idx) => {
|
|
2927
2931
|
const { id, name: blockName, data } = block;
|
|
2928
|
-
const { placeholder, value: name, required, listQuestion, valueHTML, isSendMailChimp = false, } = data;
|
|
2932
|
+
const { placeholder: label, value: name, required, listQuestion, valueHTML, isSendMailChimp = false, } = data;
|
|
2929
2933
|
const formInputProps = form.getInputProps(name);
|
|
2930
2934
|
const { value, error } = formInputProps;
|
|
2931
2935
|
const reactKey = `${id}-${idx}`;
|
|
2932
2936
|
switch (blockName) {
|
|
2933
2937
|
case LEADGEN_BLOCK.TextBlock: {
|
|
2934
2938
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2935
|
-
React__default.createElement(TextInput, Object.assign({ name: name, spellCheck: false, withAsterisk: required, label:
|
|
2939
|
+
React__default.createElement(TextInput, Object.assign({ name: name, spellCheck: false, withAsterisk: required, label: label, placeholder: " ", inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, type: "text", "data-control": "text" }, formInputProps))));
|
|
2936
2940
|
}
|
|
2937
2941
|
case LEADGEN_BLOCK.NumberBlock: {
|
|
2938
2942
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2939
|
-
React__default.createElement(NumberInput$1, Object.assign({ name: value, spellCheck: false, withAsterisk: required, label:
|
|
2943
|
+
React__default.createElement(NumberInput$1, Object.assign({ name: value, spellCheck: false, withAsterisk: required, label: label, placeholder: " ", inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, type: "number", "data-control": "number" }, formInputProps))));
|
|
2940
2944
|
}
|
|
2941
2945
|
case LEADGEN_BLOCK.EmailBlock: {
|
|
2942
2946
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2943
|
-
React__default.createElement(TextInput, Object.assign({ name: name, spellCheck: false, withAsterisk: required, label:
|
|
2947
|
+
React__default.createElement(TextInput, Object.assign({ name: name, spellCheck: false, withAsterisk: required, label: label, placeholder: " ", inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, "data-control": "email" }, formInputProps))));
|
|
2944
2948
|
}
|
|
2945
2949
|
case LEADGEN_BLOCK.PhoneOtpBlock:
|
|
2946
2950
|
case LEADGEN_BLOCK.WhatsappOtpBlock:
|
|
2947
2951
|
case LEADGEN_BLOCK.ZaloOtpBlock:
|
|
2948
2952
|
case LEADGEN_BLOCK.PhoneBlock: {
|
|
2949
2953
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2950
|
-
React__default.createElement(PhoneInput, Object.assign({ name: name, spellCheck: false, withAsterisk: required, label:
|
|
2954
|
+
React__default.createElement(PhoneInput, Object.assign({ name: name, spellCheck: false, withAsterisk: required, label: label, placeholder: " ", inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), type: "text", "data-control": "text" }, formInputProps))));
|
|
2951
2955
|
}
|
|
2952
2956
|
case LEADGEN_BLOCK.LocationBlock: {
|
|
2953
2957
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2954
|
-
React__default.createElement(GoogleLocationBlock, Object.assign({ name: name, withAsterisk: required, label:
|
|
2958
|
+
React__default.createElement(GoogleLocationBlock, Object.assign({ name: name, withAsterisk: required, label: label, placeholder: " ", inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, locale: locale, "data-control": "text" }, formInputProps))));
|
|
2955
2959
|
}
|
|
2956
2960
|
case LEADGEN_BLOCK.DateBlock: {
|
|
2957
2961
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2958
|
-
React__default.createElement(DateInput, Object.assign({ locale: (MAPPED_LOCALE === null || MAPPED_LOCALE === void 0 ? void 0 : MAPPED_LOCALE[locale]) || MAPPED_LOCALE['vi-VN'], valueFormat: "DD/MM/YYYY", name: name, withAsterisk: required, label:
|
|
2962
|
+
React__default.createElement(DateInput, Object.assign({ locale: (MAPPED_LOCALE === null || MAPPED_LOCALE === void 0 ? void 0 : MAPPED_LOCALE[locale]) || MAPPED_LOCALE['vi-VN'], valueFormat: "DD/MM/YYYY", name: name, withAsterisk: required, label: label, placeholder: " ", inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, type: "default", "data-control": "date" }, formInputProps))));
|
|
2959
2963
|
}
|
|
2960
2964
|
case LEADGEN_BLOCK.DropdownBlock:
|
|
2961
2965
|
return (React__default.createElement(TextField$1, { key: reactKey, shrink: !!value, className: "leadgen-form_input" },
|
|
2962
2966
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": value, "data-control": 'dropdown' }),
|
|
2963
|
-
React__default.createElement(Select$1, Object.assign({ name: name, withAsterisk: required, label:
|
|
2967
|
+
React__default.createElement(Select$1, Object.assign({ name: name, withAsterisk: required, label: label, placeholder: " ", data: listQuestion.map((l) => ({
|
|
2964
2968
|
value: l.value,
|
|
2965
2969
|
label: l.placeholder,
|
|
2966
2970
|
})) }, formInputProps))));
|
|
@@ -2970,7 +2974,7 @@ const LeadGenForm = forwardRef((props, ref) => {
|
|
|
2970
2974
|
});
|
|
2971
2975
|
return (React__default.createElement(ChoiceField$1, { className: "leadgen-form_input leadgen-form_input_checkbox", key: reactKey },
|
|
2972
2976
|
isSendMailChimp && (React__default.createElement("div", { style: { display: 'none' }, "data-name": name + '-mailchimp' })),
|
|
2973
|
-
React__default.createElement(Checkbox$1.Group, Object.assign({ size: "md", withAsterisk: required, label:
|
|
2977
|
+
React__default.createElement(Checkbox$1.Group, Object.assign({ size: "md", withAsterisk: required, label: label, value: value, sx: {
|
|
2974
2978
|
display: 'flex',
|
|
2975
2979
|
flexDirection: 'column',
|
|
2976
2980
|
flexWrap: 'wrap',
|
|
@@ -2982,7 +2986,7 @@ const LeadGenForm = forwardRef((props, ref) => {
|
|
|
2982
2986
|
case LEADGEN_BLOCK.RadioBlock: {
|
|
2983
2987
|
return (React__default.createElement(ChoiceField$1, { className: "leadgen-form_input leadgen-form_input_checkbox", key: reactKey },
|
|
2984
2988
|
isSendMailChimp && (React__default.createElement("div", { style: { display: 'none' }, "data-name": name + '-mailchimp' })),
|
|
2985
|
-
React__default.createElement(Radio$1.Group, Object.assign({ size: "md", withAsterisk: required, label:
|
|
2989
|
+
React__default.createElement(Radio$1.Group, Object.assign({ size: "md", withAsterisk: required, label: label, value: value, spellCheck: true, inputWrapperOrder: LEADGEN_ORDER_INPUT_WRAPPER, inputContainer: (children) => {
|
|
2986
2990
|
return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
|
|
2987
2991
|
} }, formInputProps), listQuestion.map((l, _index) => (React__default.createElement(Radio$1, { name: name, key: _index, value: l.value, label: l.placeholder, "data-control": "radio" }))))));
|
|
2988
2992
|
}
|
|
@@ -3289,6 +3293,155 @@ const FloatingLayout = ({ popupId, url, title, urlText, titleAlign, subtitle, su
|
|
|
3289
3293
|
React__default.createElement(CloseButton, { onClose: onClose, containerClassName: "close-button-top-right" }))))));
|
|
3290
3294
|
};
|
|
3291
3295
|
|
|
3296
|
+
const StyledLeadGenLightBoxBFooter = styled.div `
|
|
3297
|
+
padding-top: calc(var(--spacing-y, 20px) * 8 / 20);
|
|
3298
|
+
padding-inline: var(--spacing-x, 20px);
|
|
3299
|
+
padding-bottom: var(--spacing-y, 20px);
|
|
3300
|
+
`;
|
|
3301
|
+
const StyledLeadGenLightBoxBBody = styled.div `
|
|
3302
|
+
flex: 1;
|
|
3303
|
+
min-height: 0;
|
|
3304
|
+
overflow: auto;
|
|
3305
|
+
padding-inline: var(--spacing-y, 20px);
|
|
3306
|
+
padding-block: calc(var(--spacing-x, 20px) * 8 / 20);
|
|
3307
|
+
&::-webkit-scrollbar {
|
|
3308
|
+
width: 6px;
|
|
3309
|
+
height: 6px;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
&::-webkit-scrollbar-track {
|
|
3313
|
+
background-color: transparent;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
&::-webkit-scrollbar-thumb {
|
|
3317
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
3318
|
+
border-radius: 6px;
|
|
3319
|
+
}
|
|
3320
|
+
`;
|
|
3321
|
+
const StyledLeadGenLightBoxBHeader = styled.div `
|
|
3322
|
+
display: flex;
|
|
3323
|
+
padding-top: var(--spacing-y, 20px);
|
|
3324
|
+
padding-inline: var(--spacing-x, 20px);
|
|
3325
|
+
padding-bottom: calc(var(--spacing-y, 20px) * 8 / 20);
|
|
3326
|
+
`;
|
|
3327
|
+
const StyledLeadGenLightBoxBWrapper = styled.div `
|
|
3328
|
+
height: 100%;
|
|
3329
|
+
display: flex;
|
|
3330
|
+
flex-direction: column;
|
|
3331
|
+
`;
|
|
3332
|
+
const StyledLeadGenLightBoxB = styled.div `
|
|
3333
|
+
--spacing-x: 20px;
|
|
3334
|
+
--spacing-y: 20px;
|
|
3335
|
+
--close-width: 24px;
|
|
3336
|
+
--close-height: 24px;
|
|
3337
|
+
|
|
3338
|
+
// For old version, Wrap every thing in children
|
|
3339
|
+
&[data-type='LightBoxB_typeA'] {
|
|
3340
|
+
position: fixed;
|
|
3341
|
+
inset: 0;
|
|
3342
|
+
z-index: ${ZINDEX_SSO + 1};
|
|
3343
|
+
background-color: #fff;
|
|
3344
|
+
|
|
3345
|
+
.leadgen-wrapper,
|
|
3346
|
+
.leadgen-inner,
|
|
3347
|
+
.leadgen-form {
|
|
3348
|
+
height: 100%;
|
|
3349
|
+
}
|
|
3350
|
+
.leadgen-content {
|
|
3351
|
+
height: 100%;
|
|
3352
|
+
display: flex;
|
|
3353
|
+
flex-direction: column;
|
|
3354
|
+
}
|
|
3355
|
+
.leadgen-header {
|
|
3356
|
+
display: none;
|
|
3357
|
+
}
|
|
3358
|
+
.leadgen-title {
|
|
3359
|
+
padding-right: calc(var(--close-width, 24px) * 50 / 24);
|
|
3360
|
+
}
|
|
3361
|
+
.leadgen-description {
|
|
3362
|
+
display: none;
|
|
3363
|
+
}
|
|
3364
|
+
.leadgen-body {
|
|
3365
|
+
flex: 1;
|
|
3366
|
+
min-height: 0;
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
.leadgen-close_btn {
|
|
3370
|
+
top: var(--spacing-y, 20px);
|
|
3371
|
+
right: var(--spacing-x, 20px);
|
|
3372
|
+
width: var(--close-width, 24px) !important;
|
|
3373
|
+
height: var(--close-height, 24px);
|
|
3374
|
+
box-shadow: none;
|
|
3375
|
+
font-size: 24px;
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
.leadgen-empty_footer {
|
|
3379
|
+
.leadgen-btn {
|
|
3380
|
+
flex: 1;
|
|
3381
|
+
min-width: 0;
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3385
|
+
.leadgen-form_body {
|
|
3386
|
+
overflow: auto;
|
|
3387
|
+
animation: scrolling forwards;
|
|
3388
|
+
animation-timeline: scroll(self);
|
|
3389
|
+
}
|
|
3390
|
+
@keyframes scrolling {
|
|
3391
|
+
0%,
|
|
3392
|
+
to {
|
|
3393
|
+
border-bottom: 1px solid ${theme.colors.neutral100};
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
`;
|
|
3398
|
+
|
|
3399
|
+
const PREFIX_CLS = 'LightBoxB_typeA';
|
|
3400
|
+
const LeadGenLightBoxBTypeA = (props) => {
|
|
3401
|
+
const { visible, onVisible, icon, title, buttonText, blocks, children } = props, restProps = __rest(props, ["visible", "onVisible", "icon", "title", "buttonText", "blocks", "children"]);
|
|
3402
|
+
const formRef = useRef();
|
|
3403
|
+
const [open, setOpen] = useState(visible);
|
|
3404
|
+
const onOpenChange = useCallback((open) => {
|
|
3405
|
+
onVisible === null || onVisible === void 0 ? void 0 : onVisible(open);
|
|
3406
|
+
}, [onVisible]);
|
|
3407
|
+
const iconComp = useMemo(() => {
|
|
3408
|
+
if (!icon) {
|
|
3409
|
+
return null;
|
|
3410
|
+
}
|
|
3411
|
+
return React__default.createElement(React__default.Fragment, null);
|
|
3412
|
+
}, [icon]);
|
|
3413
|
+
const titleComp = useMemo(() => {
|
|
3414
|
+
if (!title) {
|
|
3415
|
+
return null;
|
|
3416
|
+
}
|
|
3417
|
+
return title;
|
|
3418
|
+
}, [title]);
|
|
3419
|
+
const childrenComp = useMemo(() => {
|
|
3420
|
+
if (children) {
|
|
3421
|
+
return children;
|
|
3422
|
+
}
|
|
3423
|
+
return (React__default.createElement(StyledLeadGenLightBoxBWrapper, { className: `${PREFIX_CLS}_wrapper lightboxB_wrapper` },
|
|
3424
|
+
React__default.createElement(StyledLeadGenLightBoxBHeader, { className: `${PREFIX_CLS}_header lightboxB_header` },
|
|
3425
|
+
React__default.createElement("div", { className: "lightBoxB_header_icon" }, iconComp),
|
|
3426
|
+
React__default.createElement("div", { className: "lightBoxB_header_title" }, titleComp),
|
|
3427
|
+
React__default.createElement("div", { className: "lightBoxB_header_close", onClick: () => onOpenChange(false) },
|
|
3428
|
+
React__default.createElement(CloseButton, null))),
|
|
3429
|
+
React__default.createElement(StyledLeadGenLightBoxBBody, { className: `${PREFIX_CLS}_body lightboxB_body` },
|
|
3430
|
+
React__default.createElement(LeadGenForm, Object.assign({ ref: formRef, blocks: blocks }, restProps))),
|
|
3431
|
+
React__default.createElement(StyledLeadGenLightBoxBFooter, { className: `${PREFIX_CLS}_footer lightboxB_footer` },
|
|
3432
|
+
React__default.createElement(Button, { onClick: () => { var _a; return (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.submit(); } }, buttonText))));
|
|
3433
|
+
}, [children, onOpenChange]);
|
|
3434
|
+
useEffect(() => {
|
|
3435
|
+
setOpen(visible);
|
|
3436
|
+
}, [visible]);
|
|
3437
|
+
return (React__default.createElement(DrawerComponent, { open: open, onOpenChange: onOpenChange },
|
|
3438
|
+
React__default.createElement(StyledLeadGenLightBoxB, { "data-type": "LightBoxB_typeA" }, childrenComp)));
|
|
3439
|
+
};
|
|
3440
|
+
|
|
3441
|
+
const LeadGenLightBoxB = (props) => {
|
|
3442
|
+
return React__default.createElement(LeadGenLightBoxBTypeA, Object.assign({}, props));
|
|
3443
|
+
};
|
|
3444
|
+
|
|
3292
3445
|
const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkNewTab, linkText, image, }) => {
|
|
3293
3446
|
const { primaryColor } = useContext(LeadGenContext$1);
|
|
3294
3447
|
const { width: imageWidth, height: imageHeight, loaded: imageLoaded, } = useImageSize(image);
|
|
@@ -3462,10 +3615,11 @@ const SubtitleBlock = ({ children, align, }) => (React__default.createElement("p
|
|
|
3462
3615
|
|
|
3463
3616
|
const cssInputNotShrink = css `
|
|
3464
3617
|
height: 100% !important;
|
|
3465
|
-
min-height: calc(var(--container-height, 56px) *
|
|
3618
|
+
min-height: calc(var(--container-height, 56px) * 24 / 56);
|
|
3466
3619
|
color: ${theme.colors.gray800};
|
|
3467
|
-
font-size: var(--input,
|
|
3468
|
-
line-height: calc(var(--container-height, 56px) *
|
|
3620
|
+
font-size: var(--input, 15px);
|
|
3621
|
+
line-height: calc(var(--container-height, 56px) * 24 / 56);
|
|
3622
|
+
letter-spacing: -0.3px;
|
|
3469
3623
|
border: none !important;
|
|
3470
3624
|
border-radius: 0 !important;
|
|
3471
3625
|
outline: none !important;
|
|
@@ -3489,9 +3643,10 @@ const cssLabelNotShrink = css `
|
|
|
3489
3643
|
top: calc(var(--container-height) / 2);
|
|
3490
3644
|
left: var(--space-x, 16px);
|
|
3491
3645
|
color: ${theme.colors.gray400};
|
|
3492
|
-
font-size: var(--label-not-shrink,
|
|
3493
|
-
font-weight:
|
|
3494
|
-
line-height: calc(var(--container-height, 56px) *
|
|
3646
|
+
font-size: var(--label-not-shrink, 15px);
|
|
3647
|
+
font-weight: 500;
|
|
3648
|
+
line-height: calc(var(--container-height, 56px) * 24 / 56);
|
|
3649
|
+
letter-spacing: -0.3px;
|
|
3495
3650
|
margin: 0;
|
|
3496
3651
|
z-index: 1;
|
|
3497
3652
|
cursor: pointer;
|
|
@@ -3499,9 +3654,10 @@ const cssLabelNotShrink = css `
|
|
|
3499
3654
|
transition: 0.125s ease-in all;
|
|
3500
3655
|
`;
|
|
3501
3656
|
const cssLabelShrink = css `
|
|
3502
|
-
color: ${theme.colors.
|
|
3503
|
-
font-weight: 600;
|
|
3657
|
+
color: ${theme.colors.gray400};
|
|
3504
3658
|
font-size: var(--label-shrink, 12px);
|
|
3659
|
+
line-height: calc(var(--container-height, 56px) * 18 / 56);
|
|
3660
|
+
letter-spacing: -0.2px;
|
|
3505
3661
|
top: calc(var(--container-height) * 7 / 56);
|
|
3506
3662
|
transform: none;
|
|
3507
3663
|
transition: 0.125s ease-out all;
|
|
@@ -3544,12 +3700,12 @@ const cssInputWrapperError = css `
|
|
|
3544
3700
|
`;
|
|
3545
3701
|
const StyledTextFieldContainer = styled.div `
|
|
3546
3702
|
--space-x: 16px;
|
|
3547
|
-
--space-y-not-shrink:
|
|
3703
|
+
--space-y-not-shrink: 15px;
|
|
3548
3704
|
--space-y-shrink: 7px;
|
|
3549
3705
|
--container-height: 56px;
|
|
3550
3706
|
--label-not-shrink: 16px;
|
|
3551
3707
|
--label-shrink: 12px;
|
|
3552
|
-
--input:
|
|
3708
|
+
--input: 15px;
|
|
3553
3709
|
|
|
3554
3710
|
position: relative;
|
|
3555
3711
|
min-width: 100px;
|
|
@@ -4162,7 +4318,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4162
4318
|
const [open, setOpen] = useState(!!campaignId);
|
|
4163
4319
|
const [showOtpPhone, setShowOtpPhone] = useState(null);
|
|
4164
4320
|
const [isSubmitLoading, setIsSubmitLoading] = useState(false);
|
|
4165
|
-
const [snap, setSnap] = useState(0.8)
|
|
4321
|
+
// const [snap, setSnap] = useState<string | number | null>(0.8)
|
|
4166
4322
|
const formRef = useRef();
|
|
4167
4323
|
const onClose = () => {
|
|
4168
4324
|
if (showOtpPhone) {
|
|
@@ -4230,10 +4386,12 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4230
4386
|
}, [...listBlockAddedRequired.map((k) => form.values[k])]);
|
|
4231
4387
|
const onFocus = (e) => {
|
|
4232
4388
|
e.preventDefault();
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4389
|
+
if (isMobile) {
|
|
4390
|
+
setTimeout(() => {
|
|
4391
|
+
const target = e.target;
|
|
4392
|
+
target.scrollIntoView({ block: 'center', behavior: 'auto' });
|
|
4393
|
+
}, 300); // Wait a bit to let keyboard open
|
|
4394
|
+
}
|
|
4237
4395
|
};
|
|
4238
4396
|
const middlewareOnSubmit = (e) => {
|
|
4239
4397
|
e.preventDefault();
|
|
@@ -4381,18 +4539,24 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4381
4539
|
'leadgen-inline': isInPage,
|
|
4382
4540
|
'leadgen-slider': isSlider,
|
|
4383
4541
|
});
|
|
4384
|
-
const PopupContainer = isDrawer ? (
|
|
4385
|
-
// <
|
|
4386
|
-
//
|
|
4387
|
-
//
|
|
4388
|
-
//
|
|
4389
|
-
//
|
|
4542
|
+
const PopupContainer = isDrawer ? (React__default.createElement(LeadGenLightBoxB, { form: form, loading: isSubmitLoading, visible: open, onVisible: () => onOpenChange(false) }, PopupWrapper)) : (
|
|
4543
|
+
// <DrawerComponent
|
|
4544
|
+
// fadeFromIndex={ZINDEX_SSO - 9e6}
|
|
4545
|
+
// open={open}
|
|
4546
|
+
// snapPoints={[0.8, 1]}
|
|
4547
|
+
// activeSnapPoint={snap}
|
|
4548
|
+
// setActiveSnapPoint={setSnap}
|
|
4549
|
+
// onOpenChange={onOpenChange}
|
|
4550
|
+
// overlayClassName={popupContainerClassName}
|
|
4551
|
+
// className="leadgen-drawer"
|
|
4390
4552
|
// >
|
|
4391
4553
|
// {PopupWrapper}
|
|
4392
|
-
//
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4554
|
+
// <div
|
|
4555
|
+
// style={{ position: 'absolute', inset: 0, zIndex: snap === 1 ? -1 : 1 }}
|
|
4556
|
+
// onClick={() => setSnap(1)}
|
|
4557
|
+
// />
|
|
4558
|
+
// </DrawerComponent>
|
|
4559
|
+
React__default.createElement("div", { id: popupId, "data-popup-url": currentPath, "data-popup-type": "lightbox-inline", className: popupContainerClassName },
|
|
4396
4560
|
isFullscreen ? (React__default.createElement("img", { className: "le-only-desktop le-fullscreen-img", draggable: false, src: imageBackground || '', style: {
|
|
4397
4561
|
aspectRatio: `${imageBackgroundWidth}/${imageBackgroundHeight}`,
|
|
4398
4562
|
} })) : null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { memo, useMemo } from 'react';
|
|
2
|
-
import { C as CommonGAssets } from './index-
|
|
3
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
2
|
+
import { C as CommonGAssets } from './index-ac04b77b.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-d2407c10.js';
|
|
4
4
|
|
|
5
5
|
const _LogoIcon = ({ type, width, height }) => {
|
|
6
6
|
const data = useMemo(() => {
|