@hhgtech/hhg-components 1.29.226 → 1.29.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{LastPeriod-0a715b5a.js → LastPeriod-54142ca9.js} +1 -1
- package/build/{MobileBottomNavigationIcon-934aec82.js → MobileBottomNavigationIcon-19063459.js} +3 -3
- package/build/{Spinner-ab0f3867.js → Spinner-6074e3d9.js} +1 -1
- package/build/{WhatsApp-200abc3d.js → WhatsApp-568be55e.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +46 -46
- 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.js +90 -90
- package/build/{constants-399b23ce.js → constants-fa4f4a5d.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-2e7bc4db.js → core-17e51e35.js} +1 -1
- package/build/{dataTransform-4c507d8a.js → dataTransform-86c9390b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-9e53d761.js → editor-4d579fcc.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/{LastPeriod-60f8e595.js → LastPeriod-547a2500.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-3d830fea.js → MobileBottomNavigationIcon-d8ca4fb7.js} +3 -3
- package/build/esm/{Spinner-dbf16832.js → Spinner-abb1254e.js} +1 -1
- package/build/esm/{WhatsApp-9a06faf0.js → WhatsApp-9a9023b9.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- 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.js +90 -90
- package/build/esm/{constants-38a2ccf8.js → constants-b21ba672.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-085178dc.js → core-284b645b.js} +1 -1
- package/build/esm/{dataTransform-2e17dbb4.js → dataTransform-79df0c68.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-961c2a5e.js → editor-a17f52c2.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/{fixedBottomAdBlock-33b6d25b.js → fixedBottomAdBlock-55940108.js} +23 -23
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- 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-8077406f.js → index-0794827d.js} +2 -2
- package/build/esm/{index-b4432dc0.js → index-0abfa075.js} +3 -3
- package/build/esm/{index-665f0378.js → index-0cb430f5.js} +2 -2
- package/build/esm/{index-60e11024.js → index-0d7ac051.js} +3 -3
- package/build/esm/{index-40606dff.js → index-120bc351.js} +16 -16
- package/build/esm/{index-9c4e1ab0.js → index-12db6f16.js} +13 -13
- package/build/esm/{index-6f833f25.js → index-147fc378.js} +20 -20
- package/build/esm/{index-773213b3.js → index-14c364d6.js} +30 -30
- package/build/esm/{index-0f1ecdf2.js → index-1672f17f.js} +2 -2
- package/build/esm/{index-da548a7c.js → index-18d4fac9.js} +7 -7
- package/build/esm/{index-5f792ebe.js → index-22f57bab.js} +13 -13
- package/build/esm/{index-c6489c82.js → index-29b862d0.js} +1 -1
- package/build/esm/{index-13b56d83.js → index-30d846c4.js} +2 -2
- package/build/esm/{index-67a4eb5e.js → index-34c840c3.js} +1 -1
- package/build/esm/{index-cac1e94d.js → index-361bc83b.js} +1 -1
- package/build/esm/{index-661644e7.js → index-3bd869b6.js} +18 -18
- package/build/esm/{index-06b9db83.js → index-3f8a8413.js} +15 -15
- package/build/esm/{index-415c9256.js → index-410f921c.js} +1 -1
- package/build/esm/{index-3b1dcd4c.js → index-47ca1772.js} +13 -13
- package/build/esm/{index-389af8c2.js → index-5012ddf6.js} +2 -2
- package/build/esm/{index-d2372f49.js → index-5196c74b.js} +24 -24
- package/build/esm/{index-3a28204d.js → index-5717fa96.js} +2 -2
- package/build/esm/{index-79faab1b.js → index-57b13a0a.js} +1 -1
- package/build/esm/{index-8fcbdd81.js → index-581f2526.js} +3 -3
- package/build/esm/{index-0aa84109.js → index-5b6f280a.js} +2 -2
- package/build/esm/{index-93fb3083.js → index-5fb0bc40.js} +1 -1
- package/build/esm/{index-820bf235.js → index-63e5bd3e.js} +16 -16
- package/build/esm/{index-1f9e9127.js → index-6f59d10b.js} +32 -32
- package/build/esm/{index-c2485cb7.js → index-7320146f.js} +2 -2
- package/build/esm/{index-40d8d7b8.js → index-744132dd.js} +4 -4
- package/build/esm/{index-50901168.js → index-76aa596d.js} +1 -1
- package/build/esm/{index-28372b67.js → index-77656ae7.js} +13 -13
- package/build/esm/{index-62aed85d.js → index-77c51cc0.js} +18 -18
- package/build/esm/{index-6ca6d67e.js → index-7f08754e.js} +5 -5
- package/build/esm/{index-91f4237b.js → index-804d263e.js} +6 -6
- package/build/esm/{index-9b08f704.js → index-83d902e7.js} +6 -6
- package/build/esm/{index-c2838eed.js → index-8882d5ad.js} +6 -6
- package/build/esm/{index-083f0b67.js → index-8a686c04.js} +1 -1
- package/build/esm/{index-6a35b4b1.js → index-8a85122c.js} +12 -12
- package/build/esm/{index-16abb29d.js → index-9e5ce45f.js} +1 -1
- package/build/esm/{index-431211cc.js → index-9ea59c1f.js} +7 -7
- package/build/esm/{index-a8574a36.js → index-aafdbdb7.js} +10 -10
- package/build/esm/{index-11cb73b5.js → index-b1d3b147.js} +5 -5
- package/build/esm/{index-1fb36348.js → index-b2948d97.js} +2 -2
- package/build/esm/{index-e9b1487d.js → index-b998097a.js} +16 -16
- package/build/esm/{index-34545054.js → index-bba1b965.js} +6 -6
- package/build/esm/{index-43abb19c.js → index-bbec1eda.js} +24 -24
- package/build/esm/{index-14a0ecd4.js → index-c2735dde.js} +3 -3
- package/build/esm/{index-b85bf86d.js → index-c915a1b4.js} +2 -2
- package/build/esm/{index-aad36916.js → index-d20b4bb9.js} +17 -17
- package/build/esm/{index-188bdb2b.js → index-d3fee65a.js} +1 -1
- package/build/esm/{index-8f4c0f87.js → index-d7eae226.js} +3 -3
- package/build/esm/{index-159649f1.js → index-dc24fe43.js} +2 -2
- package/build/esm/{index-5171fb55.js → index-dc336705.js} +17 -17
- package/build/esm/{index-c0265d0d.js → index-dc3c1d76.js} +2 -2
- package/build/esm/{index-950b3a9a.js → index-e7fba73c.js} +21 -21
- package/build/esm/{index-117b706a.js → index-e97c2556.js} +15 -15
- package/build/esm/{index-9df9ef2d.js → index-ea9e9446.js} +16 -16
- package/build/esm/{index-ebb0b7f5.js → index-f2cae809.js} +17 -17
- package/build/esm/{index-737208f3.js → index-fa640a45.js} +3 -3
- package/build/esm/index.js +112 -112
- package/build/esm/{index.styles-80a4caeb.js → index.styles-de4535ba.js} +1 -1
- package/build/esm/{labelSorting-730d967a.js → labelSorting-0d30f20c.js} +4 -4
- package/build/esm/lead/components/form/fields/locationBlock.d.ts +2 -1
- package/build/esm/lead/layouts/lightbox/fields/locationBlock.d.ts +2 -1
- package/build/esm/lead.js +103 -73
- package/build/esm/{logoIcon-94e7998b.js → logoIcon-6f06a2db.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +16 -16
- 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 +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- 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 +44 -44
- package/build/esm/{post-e1639c52.js → post-1589231f.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.js +46 -37
- package/build/esm/{store-de916d3c.js → store-3ba3d223.js} +3 -3
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-26c6dbd0.js → surveyThankyouCard-139116df.js} +5 -5
- package/build/esm/together.js +52 -52
- 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 +47 -47
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-8b6841e2.js → treePopoverMenu-9418bc99.js} +18 -18
- package/build/esm/{types-39293e8d.js → types-597843ce.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-017a9c09.js → useCategory-76b2fb7e.js} +5 -5
- package/build/esm/{useHealthToolCache-8c491be5.js → useHealthToolCache-5b38b6f5.js} +1 -1
- package/build/esm/{useMantineLocale-377100e0.js → useMantineLocale-b14587e2.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-cc1f6a1d.js → usePlacesAutocomplete-8ff91a3f.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-24459e68.js → utils-008a3b83.js} +2 -2
- package/build/esm/{utils-d58cfe3f.js → utils-9efcdcfc.js} +2 -2
- package/build/esm/{utils-222d3b48.js → utils-9fa38e99.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-c4f2add1.js → fixedBottomAdBlock-c1480941.js} +23 -23
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-b5264cf5.js → index-0d2e010f.js} +1 -1
- package/build/{index-b1649098.js → index-0d30d849.js} +30 -30
- package/build/{index-e5768b03.js → index-1b0be66c.js} +3 -3
- package/build/{index-2ef81ebf.js → index-1be4ad42.js} +13 -13
- package/build/{index-b7fe3d32.js → index-1d91b909.js} +2 -2
- package/build/{index-e4a71913.js → index-1f3daed4.js} +1 -1
- package/build/{index-960ee550.js → index-24288fd7.js} +3 -3
- package/build/{index-35323ff9.js → index-25fa0e57.js} +15 -15
- package/build/{index-e09b49e9.js → index-2ba7db6d.js} +1 -1
- package/build/{index-098b57fd.js → index-2e305f2d.js} +6 -6
- package/build/{index-c8d93a77.js → index-31f6de85.js} +5 -5
- package/build/{index-60437c69.js → index-322aae42.js} +1 -1
- package/build/{index-a3a4b862.js → index-326aef16.js} +6 -6
- package/build/{index-36e7cc25.js → index-4397f77b.js} +1 -1
- package/build/{index-32d09e0d.js → index-458acc75.js} +24 -24
- package/build/{index-27faab2f.js → index-46810a4f.js} +13 -13
- package/build/{index-a88d1e58.js → index-48b72210.js} +2 -2
- package/build/{index-0ce8795e.js → index-4e3ec3f9.js} +10 -10
- package/build/{index-9d854bd1.js → index-53a09155.js} +2 -2
- package/build/{index-071da9e5.js → index-553b9679.js} +5 -5
- package/build/{index-e23ac6ec.js → index-578633e8.js} +1 -1
- package/build/{index-3a643909.js → index-5824e521.js} +2 -2
- package/build/{index-414dad08.js → index-59cd208c.js} +1 -1
- package/build/{index-6144687e.js → index-67c12f4d.js} +21 -21
- package/build/{index-5abde36e.js → index-83c3f7a6.js} +2 -2
- package/build/{index-bbd9a49d.js → index-84299df8.js} +18 -18
- package/build/{index-ddd2139a.js → index-8ef24468.js} +2 -2
- package/build/{index-0bbefc28.js → index-8f472678.js} +1 -1
- package/build/{index-d0893762.js → index-918454c8.js} +32 -32
- package/build/{index-386c1c69.js → index-91c5423c.js} +3 -3
- package/build/{index-10c0fdcb.js → index-9321f9d4.js} +3 -3
- package/build/{index-a7a0872f.js → index-94de09a4.js} +16 -16
- package/build/{index-5a48df90.js → index-961cffa7.js} +7 -7
- package/build/{index-24500071.js → index-96bac535.js} +2 -2
- package/build/{index-471b9b0a.js → index-9bf9fb78.js} +16 -16
- package/build/{index-cfe6ef6b.js → index-9cb03b8a.js} +3 -3
- package/build/{index-130620d4.js → index-a22bc907.js} +12 -12
- package/build/{index-ec5c712c.js → index-a3ada4fe.js} +1 -1
- package/build/{index-76e1773b.js → index-aa737a13.js} +16 -16
- package/build/{index-4542a87f.js → index-b2a8218a.js} +17 -17
- package/build/{index-a75b8886.js → index-b50ca60b.js} +3 -3
- package/build/{index-a78391b6.js → index-ba22d078.js} +18 -18
- package/build/{index-6e5ec3f9.js → index-bb1b1442.js} +15 -15
- package/build/{index-ce52ce4a.js → index-bbfe7a38.js} +13 -13
- package/build/{index-be17dd3f.js → index-c9307d18.js} +24 -24
- package/build/{index-5d9a90d4.js → index-ce23e092.js} +7 -7
- package/build/{index-50193960.js → index-ce7ebc8e.js} +6 -6
- package/build/{index-0aae245b.js → index-d58cb477.js} +2 -2
- package/build/{index-8b36fba0.js → index-d780ae94.js} +1 -1
- package/build/{index-034d1b81.js → index-d80d56bf.js} +16 -16
- package/build/{index-1ef25a59.js → index-dac7b902.js} +17 -17
- package/build/{index-c2ce9bb6.js → index-dbecc7fe.js} +13 -13
- package/build/{index-26b61b5b.js → index-dc208115.js} +2 -2
- package/build/{index-d8d68a2f.js → index-df2dd7bd.js} +2 -2
- package/build/{index-d63011eb.js → index-e3871204.js} +20 -20
- package/build/{index-da76d594.js → index-e5757a22.js} +6 -6
- package/build/{index-ea0cadf4.js → index-ebef3634.js} +2 -2
- package/build/{index-31bd7296.js → index-f5a287c7.js} +4 -4
- package/build/{index-118d57dd.js → index-fc59b8e4.js} +17 -17
- package/build/{index-c5cec442.js → index-fd5dcb71.js} +2 -2
- package/build/index.js +112 -112
- package/build/{index.styles-9f53e2db.js → index.styles-a8c36e0b.js} +1 -1
- package/build/{labelSorting-60b47a83.js → labelSorting-488c6ace.js} +4 -4
- package/build/lead/components/form/fields/locationBlock.d.ts +2 -1
- package/build/lead/layouts/lightbox/fields/locationBlock.d.ts +2 -1
- package/build/lead.js +103 -73
- package/build/{logoIcon-6df1e607.js → logoIcon-4a2d3f1f.js} +2 -2
- package/build/mantine.js +21 -21
- package/build/misc.js +16 -16
- 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 +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-13240151.js → post-bfdec245.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +45 -36
- package/build/{store-0f1a14e3.js → store-f5c131c5.js} +3 -3
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-06dd9406.js → surveyThankyouCard-ce71a76f.js} +5 -5
- package/build/together.js +52 -52
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +47 -47
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-80b66ba5.js → treePopoverMenu-d7bf7a8d.js} +18 -18
- package/build/{types-6717c734.js → types-f7ea93f2.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-eb136fd3.js → useCategory-4cb09e57.js} +5 -5
- package/build/{useHealthToolCache-5559a730.js → useHealthToolCache-721a00aa.js} +1 -1
- package/build/{useMantineLocale-393d65ba.js → useMantineLocale-f3ac2568.js} +5 -5
- package/build/{usePlacesAutocomplete-d0a54b4f.js → usePlacesAutocomplete-43923168.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-7930ae63.js → utils-275e5bc4.js} +3 -3
- package/build/{utils-569a4da1.js → utils-6364f2cc.js} +2 -2
- package/build/{utils-ab01a9b6.js → utils-81197c01.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-96678466.js → BMI_BOYS.percentile.monthly-9e74b3be.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-79ca3362.js → BMI_BOYS.percentile.weekly-fd0e2b4f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-884a7d79.js → BMI_BOYS.percentile.yearly-e64e5d9a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a0904ec8.js → BMI_BOYS.zscore.monthly-c298cf30.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-03c298d5.js → BMI_BOYS.zscore.weekly-bb51bb48.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-60db3709.js → BMI_BOYS.zscore.yearly-a27abd41.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-fc0c1519.js → BMI_GIRLS.percentile.monthly-5a2f5083.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-4742574f.js → BMI_GIRLS.percentile.weekly-d67d1e5d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-fc0d8db8.js → BMI_GIRLS.percentile.yearly-005b2e9b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-63ec428a.js → BMI_GIRLS.zscore.monthly-58c194b1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f7136b9a.js → BMI_GIRLS.zscore.weekly-01bc2858.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-623e61df.js → BMI_GIRLS.zscore.yearly-068ee170.js} +0 -0
- /package/build/{ChevronDown-121b0de6.js → ChevronDown-af5493e9.js} +0 -0
- /package/build/{Close-3c6ef4d1.js → Close-effd7659.js} +0 -0
- /package/build/{Google-6dfbf0eb.js → Google-ad2367ce.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9d7d4a8b.js → HEAD CIRCUM_BOYS.percentile.monthly-5ec9ebeb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-18c71913.js → HEAD CIRCUM_BOYS.percentile.weekly-b0d9d5de.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-6343e08a.js → HEAD CIRCUM_BOYS.percentile.yearly-8c2084d7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8acf802e.js → HEAD CIRCUM_BOYS.zscore.monthly-94dc0696.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-bfe83970.js → HEAD CIRCUM_BOYS.zscore.weekly-9aaf0a74.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ef310de3.js → HEAD CIRCUM_BOYS.zscore.yearly-6784bf89.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-07da3f37.js → HEAD CIRCUM_GIRLS.percentile.monthly-92aa83b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b19ffd32.js → HEAD CIRCUM_GIRLS.percentile.weekly-207ac071.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a297d8a2.js → HEAD CIRCUM_GIRLS.percentile.yearly-974b8596.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f70988af.js → HEAD CIRCUM_GIRLS.zscore.monthly-04da5512.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-fa46c117.js → HEAD CIRCUM_GIRLS.zscore.weekly-9329c043.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3189171f.js → HEAD CIRCUM_GIRLS.zscore.yearly-207c5aa2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d3255f70.js → HEIGHT_BOYS.percentile.monthly-8e4015b0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-32899dd2.js → HEIGHT_BOYS.percentile.weekly-249d7405.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-29acf07f.js → HEIGHT_BOYS.percentile.yearly-71af2734.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-21e2167d.js → HEIGHT_BOYS.zscore.monthly-b2fab473.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e709c3ab.js → HEIGHT_BOYS.zscore.weekly-312a4973.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c77366ec.js → HEIGHT_BOYS.zscore.yearly-4ce59387.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2e60e3e9.js → HEIGHT_GIRLS.percentile.monthly-4069414e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-0658349e.js → HEIGHT_GIRLS.percentile.weekly-060ed35e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4103c531.js → HEIGHT_GIRLS.percentile.yearly-619c0a18.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-f3438f16.js → HEIGHT_GIRLS.zscore.monthly-1f488832.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8c7ea3ae.js → HEIGHT_GIRLS.zscore.weekly-92e05964.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-fe9a9463.js → HEIGHT_GIRLS.zscore.yearly-00522cc6.js} +0 -0
- /package/build/{Locale-a52c3940.js → Locale-1d1bc95f.js} +0 -0
- /package/build/{Visible-52ede2c5.js → Visible-bf0d6fca.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2b12f0a4.js → WEIGHT_BOYS.percentile.monthly-b5632dc6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-ed240d2d.js → WEIGHT_BOYS.percentile.weekly-5d0681a9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-8eb943f4.js → WEIGHT_BOYS.percentile.yearly-f7c5c5d7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bbb88162.js → WEIGHT_BOYS.zscore.monthly-578713d0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-80744383.js → WEIGHT_BOYS.zscore.weekly-03b464bd.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-37a3b4bd.js → WEIGHT_BOYS.zscore.yearly-52713f75.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-889892f8.js → WEIGHT_GIRLS.percentile.monthly-fe9d77fc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-1b0b60e0.js → WEIGHT_GIRLS.percentile.weekly-fba84795.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ba31aa5f.js → WEIGHT_GIRLS.percentile.yearly-951106a7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-82ccbd2f.js → WEIGHT_GIRLS.zscore.monthly-acd099a8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-2f6bfbe8.js → WEIGHT_GIRLS.zscore.weekly-a96ae6f7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8850913a.js → WEIGHT_GIRLS.zscore.yearly-6376ab2a.js} +0 -0
- /package/build/{animation-1b251cdc.js → animation-d4135893.js} +0 -0
- /package/build/{constants-8e10626c.js → constants-17a599dc.js} +0 -0
- /package/build/{constants-868814b7.js → constants-3cfbdeaf.js} +0 -0
- /package/build/{constants-2592611b.js → constants-72f9b9c0.js} +0 -0
- /package/build/{dataTransform-f1ef9072.js → dataTransform-2a525299.js} +0 -0
- /package/build/{doctor-8b61f577.js → doctor-88f33e38.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-9acb353d.js → BMI_BOYS.percentile.monthly-a077b097.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8c048b10.js → BMI_BOYS.percentile.weekly-33ec748f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-edd37659.js → BMI_BOYS.percentile.yearly-30cbb38d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-fcf18217.js → BMI_BOYS.zscore.monthly-432515ef.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9bedcc22.js → BMI_BOYS.zscore.weekly-eda9173b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c5607e5d.js → BMI_BOYS.zscore.yearly-d6b16c08.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-4dbfaaba.js → BMI_GIRLS.percentile.monthly-d5a0e005.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f2b74ceb.js → BMI_GIRLS.percentile.weekly-8804ae4e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-e2e402fa.js → BMI_GIRLS.percentile.yearly-aacbcda6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-aa7d80f9.js → BMI_GIRLS.zscore.monthly-00652979.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-a3722211.js → BMI_GIRLS.zscore.weekly-ca33bb1b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-894f86f2.js → BMI_GIRLS.zscore.yearly-6e24da56.js} +0 -0
- /package/build/esm/{ChevronDown-1cc61c8f.js → ChevronDown-87fed983.js} +0 -0
- /package/build/esm/{Close-cc7abb5e.js → Close-31346c7b.js} +0 -0
- /package/build/esm/{Google-9ffff0f9.js → Google-58500cae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9071bb52.js → HEAD CIRCUM_BOYS.percentile.monthly-980fe52c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7438aa1a.js → HEAD CIRCUM_BOYS.percentile.weekly-17c8d870.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-741f807e.js → HEAD CIRCUM_BOYS.percentile.yearly-9d574f65.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-2755e804.js → HEAD CIRCUM_BOYS.zscore.monthly-6cac11d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2194ac7d.js → HEAD CIRCUM_BOYS.zscore.weekly-718c263f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e5f09922.js → HEAD CIRCUM_BOYS.zscore.yearly-1cbf04b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-7497a9a3.js → HEAD CIRCUM_GIRLS.percentile.monthly-b311a3e5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7334c24d.js → HEAD CIRCUM_GIRLS.percentile.weekly-19386573.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fece4dd3.js → HEAD CIRCUM_GIRLS.percentile.yearly-20529b5a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4b29d53b.js → HEAD CIRCUM_GIRLS.zscore.monthly-ac3aec7c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-7eb9d52e.js → HEAD CIRCUM_GIRLS.zscore.weekly-6183ed8d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-dc76e843.js → HEAD CIRCUM_GIRLS.zscore.yearly-df43364d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-85d1b557.js → HEIGHT_BOYS.percentile.monthly-b52831a4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-12cec89e.js → HEIGHT_BOYS.percentile.weekly-b0fd65ce.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f746a139.js → HEIGHT_BOYS.percentile.yearly-5dcf3757.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6e96c6b0.js → HEIGHT_BOYS.zscore.monthly-248604c0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-c3b6c179.js → HEIGHT_BOYS.zscore.weekly-bfb6c84f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4c750b08.js → HEIGHT_BOYS.zscore.yearly-6d2ac248.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e811c7d1.js → HEIGHT_GIRLS.percentile.monthly-d9dc8224.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f35c4783.js → HEIGHT_GIRLS.percentile.weekly-5eae4482.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4c0c9855.js → HEIGHT_GIRLS.percentile.yearly-3359286c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8d8e700a.js → HEIGHT_GIRLS.zscore.monthly-ebdbc740.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-028afabf.js → HEIGHT_GIRLS.zscore.weekly-a134cfd7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4d2cd3cf.js → HEIGHT_GIRLS.zscore.yearly-2129b64d.js} +0 -0
- /package/build/esm/{Locale-0574a26d.js → Locale-23f92342.js} +0 -0
- /package/build/esm/{Visible-19aeecfb.js → Visible-a6649f95.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-0577cd3b.js → WEIGHT_BOYS.percentile.monthly-c6a35275.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3625a266.js → WEIGHT_BOYS.percentile.weekly-9d25f69f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-4411fa06.js → WEIGHT_BOYS.percentile.yearly-fa33f3a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2a2a38e4.js → WEIGHT_BOYS.zscore.monthly-53b80def.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-eef353af.js → WEIGHT_BOYS.zscore.weekly-f01f6ae0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-42f2146d.js → WEIGHT_BOYS.zscore.yearly-3867be06.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-16872beb.js → WEIGHT_GIRLS.percentile.monthly-d1174a3b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2b814b72.js → WEIGHT_GIRLS.percentile.weekly-b206ee45.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8d826e23.js → WEIGHT_GIRLS.percentile.yearly-910b99b9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-394e3a8d.js → WEIGHT_GIRLS.zscore.monthly-4e26b7c4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-798709c1.js → WEIGHT_GIRLS.zscore.weekly-f4104263.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-76e13e42.js → WEIGHT_GIRLS.zscore.yearly-5be4c610.js} +0 -0
- /package/build/esm/{animation-24e6b256.js → animation-5703295e.js} +0 -0
- /package/build/esm/{constants-f785c4e1.js → constants-23ba40f1.js} +0 -0
- /package/build/esm/{constants-b05d3ab9.js → constants-cbb18af1.js} +0 -0
- /package/build/esm/{constants-4b4e4692.js → constants-d081108f.js} +0 -0
- /package/build/esm/{dataTransform-007f11c6.js → dataTransform-11643e7c.js} +0 -0
- /package/build/esm/{doctor-5d754f55.js → doctor-babe40db.js} +0 -0
- /package/build/esm/{index-27faa0d0.js → index-1e56c819.js} +0 -0
- /package/build/esm/{index-eee40f45.js → index-437f4fb6.js} +0 -0
- /package/build/esm/{index-dd261b24.js → index-48027199.js} +0 -0
- /package/build/esm/{index-a12a5e5b.js → index-632d204c.js} +0 -0
- /package/build/esm/{index-016748a9.js → index-9bb07bcc.js} +0 -0
- /package/build/esm/{index-b67e1210.js → index-a88e13a4.js} +0 -0
- /package/build/esm/{index-aa7b05a1.js → index-ace87e1e.js} +0 -0
- /package/build/esm/{index-3cb12011.js → index-b2c5cabd.js} +0 -0
- /package/build/esm/{index-bfec648f.js → index-c4d3ccef.js} +0 -0
- /package/build/esm/{localizeNumberFormat-9f91e098.js → localizeNumberFormat-ee2bd67a.js} +0 -0
- /package/build/esm/{normalizeLink-f6df3bd1.js → normalizeLink-d82a1437.js} +0 -0
- /package/build/esm/{other-eee2c081.js → other-960c5a86.js} +0 -0
- /package/build/esm/{paths-5edc5c34.js → paths-837db5f2.js} +0 -0
- /package/build/esm/{translationsContext-f9a51372.js → translationsContext-a5befd4d.js} +0 -0
- /package/build/esm/{tslib.es6-1a730d9c.js → tslib.es6-16fe18bd.js} +0 -0
- /package/build/esm/{types-11b27b9c.js → types-f4f45591.js} +0 -0
- /package/build/esm/{useIsInit-b304caa6.js → useIsInit-5c3138d0.js} +0 -0
- /package/build/esm/{useOutsideClick-1acc3154.js → useOutsideClick-f22b940a.js} +0 -0
- /package/build/esm/{useScrollbarSize-20b4409a.js → useScrollbarSize-edc12810.js} +0 -0
- /package/build/esm/{useUniqueId-2c9dfa92.js → useUniqueId-42135929.js} +0 -0
- /package/build/esm/{utils-32adb4ca.js → utils-8bbb4636.js} +0 -0
- /package/build/{index-5227e8db.js → index-07deb238.js} +0 -0
- /package/build/{index-a9a9ada1.js → index-463a3d76.js} +0 -0
- /package/build/{index-00ff0b55.js → index-50a03e29.js} +0 -0
- /package/build/{index-bed1ee62.js → index-8c97e37e.js} +0 -0
- /package/build/{index-94698c4d.js → index-a1cb1957.js} +0 -0
- /package/build/{index-dbc96965.js → index-b0a625b7.js} +0 -0
- /package/build/{index-7d8310d8.js → index-c3dfdc0f.js} +0 -0
- /package/build/{index-79b1d807.js → index-d2eaa36c.js} +0 -0
- /package/build/{index-4518e44e.js → index-e7c442f7.js} +0 -0
- /package/build/{localizeNumberFormat-9412e9fd.js → localizeNumberFormat-229f5836.js} +0 -0
- /package/build/{normalizeLink-cac8a7a1.js → normalizeLink-158781fb.js} +0 -0
- /package/build/{other-8087372e.js → other-a2812f55.js} +0 -0
- /package/build/{paths-d4e062a2.js → paths-401bb9dd.js} +0 -0
- /package/build/{translationsContext-b7efb99d.js → translationsContext-0211a8a3.js} +0 -0
- /package/build/{tslib.es6-61dabbb3.js → tslib.es6-751706a1.js} +0 -0
- /package/build/{types-66e73bdf.js → types-51f9509e.js} +0 -0
- /package/build/{useIsInit-e8649983.js → useIsInit-571cf270.js} +0 -0
- /package/build/{useOutsideClick-6d107860.js → useOutsideClick-0f3a1b89.js} +0 -0
- /package/build/{useScrollbarSize-af83ea6a.js → useScrollbarSize-b59cf819.js} +0 -0
- /package/build/{useUniqueId-2992f277.js → useUniqueId-14d7519c.js} +0 -0
- /package/build/{utils-d383f54e.js → utils-2fc9145b.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-16fe18bd.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useRef, useState, useEffect, useContext } from 'react';
|
|
3
3
|
import debounce from 'lodash/debounce';
|
|
4
4
|
import { createFormContext } from '@mantine/form';
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
6
|
-
import { T as Text } from './index-
|
|
5
|
+
import { u as useTranslations } from './index-9e5ce45f.js';
|
|
6
|
+
import { T as Text } from './index-7320146f.js';
|
|
7
7
|
import { createStyles, Box, Portal, Transition, Overlay } from '@mantine/core';
|
|
8
|
-
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-
|
|
9
|
-
import { D as DatePicker } from './index-
|
|
10
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
8
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-8a85122c.js';
|
|
9
|
+
import { D as DatePicker } from './index-83d902e7.js';
|
|
10
|
+
import { M as MAPPED_LOCALE } from './utils-9efcdcfc.js';
|
|
11
11
|
import '@mantine/dates';
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import { C as CommonGAssets } from './index-
|
|
15
|
-
import './useMantineLocale-
|
|
16
|
-
import { B as Button$1 } from './index-
|
|
17
|
-
import './index.styles-
|
|
18
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
12
|
+
import './index-1672f17f.js';
|
|
13
|
+
import './index-34c840c3.js';
|
|
14
|
+
import { C as CommonGAssets } from './index-b2c5cabd.js';
|
|
15
|
+
import './useMantineLocale-b14587e2.js';
|
|
16
|
+
import { B as Button$1 } from './index-d3fee65a.js';
|
|
17
|
+
import './index.styles-de4535ba.js';
|
|
18
|
+
import { T as TranslationsContext } from './translationsContext-a5befd4d.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-
|
|
21
|
-
import './other-
|
|
22
|
-
import './index-
|
|
23
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-
|
|
24
|
-
import { B as Button } from './index-
|
|
25
|
-
import { H as Heading$1 } from './index-
|
|
20
|
+
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-8bbb4636.js';
|
|
21
|
+
import './other-960c5a86.js';
|
|
22
|
+
import './index-fa640a45.js';
|
|
23
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-8ff91a3f.js';
|
|
24
|
+
import { B as Button } from './index-5717fa96.js';
|
|
25
|
+
import { H as Heading$1 } from './index-dc3c1d76.js';
|
|
26
26
|
import { v1 } from 'uuid';
|
|
27
27
|
import { theme } from './miscTheme.js';
|
|
28
|
-
import { i as isVideo } from './index-
|
|
28
|
+
import { i as isVideo } from './index-632d204c.js';
|
|
29
29
|
import { createPortal } from 'react-dom';
|
|
30
30
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
31
31
|
import dayjs from 'dayjs';
|
|
32
|
-
import { C as Close } from './Close-
|
|
32
|
+
import { C as Close } from './Close-31346c7b.js';
|
|
33
33
|
import '@hhgtech/icons/other';
|
|
34
34
|
import '@emotion/styled';
|
|
35
35
|
import '@mantine/carousel';
|
|
36
|
-
import './Locale-
|
|
37
|
-
import './index-
|
|
36
|
+
import './Locale-23f92342.js';
|
|
37
|
+
import './index-361bc83b.js';
|
|
38
38
|
import 'classnames';
|
|
39
|
-
import './useUniqueId-
|
|
39
|
+
import './useUniqueId-42135929.js';
|
|
40
40
|
import './constantsSite.js';
|
|
41
41
|
import '@hhgtech/icons/core';
|
|
42
42
|
import 'date-fns/locale';
|
|
@@ -311,14 +311,20 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
|
|
|
311
311
|
'TncBlock',
|
|
312
312
|
];
|
|
313
313
|
// ALL are required and can skip if not touched yet
|
|
314
|
-
const withSharedCheck = (name, cb
|
|
314
|
+
const withSharedCheck = (name, cb,
|
|
315
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
316
|
+
block) => {
|
|
315
317
|
return (value) => {
|
|
318
|
+
var _a;
|
|
319
|
+
const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
|
|
316
320
|
if (!formRef.current.isTouched(name))
|
|
317
321
|
return;
|
|
318
322
|
if (typeof value === 'undefined' ||
|
|
319
323
|
value === '' ||
|
|
320
324
|
(Array.isArray(value) && value.length === 0)) {
|
|
321
|
-
return
|
|
325
|
+
return isBLockRequired
|
|
326
|
+
? t('validator.required')
|
|
327
|
+
: cb === null || cb === void 0 ? void 0 : cb(value);
|
|
322
328
|
}
|
|
323
329
|
return cb === null || cb === void 0 ? void 0 : cb(value);
|
|
324
330
|
};
|
|
@@ -326,18 +332,22 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
|
|
|
326
332
|
return listBlockAdded
|
|
327
333
|
.filter((b) => InputBlocks.includes(b.name))
|
|
328
334
|
.reduce((r, b) => {
|
|
335
|
+
var _a;
|
|
336
|
+
const isRequired = (_a = b.data.required) !== null && _a !== void 0 ? _a : true;
|
|
329
337
|
if (b.name === 'NumberBlock') {
|
|
330
338
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
331
|
-
if (isNaN(Number(value))) {
|
|
339
|
+
if (value && isNaN(Number(value))) {
|
|
332
340
|
return t('validator.number');
|
|
333
341
|
}
|
|
334
|
-
}) });
|
|
342
|
+
}, b) });
|
|
335
343
|
}
|
|
336
344
|
else if (b.name === 'EmailBlock') {
|
|
337
345
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
338
|
-
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)) {
|
|
346
|
+
if (value && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)) {
|
|
339
347
|
return t('validator.email');
|
|
340
348
|
}
|
|
349
|
+
if (!value)
|
|
350
|
+
return;
|
|
341
351
|
validatingEmailRef.current = true;
|
|
342
352
|
setTimeout(() => {
|
|
343
353
|
formRef.current.setFieldError(b.data.value, 'Validating...');
|
|
@@ -359,16 +369,19 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
|
|
|
359
369
|
validatingEmailRef.current = false;
|
|
360
370
|
});
|
|
361
371
|
}, 200);
|
|
362
|
-
}) });
|
|
372
|
+
}, b) });
|
|
363
373
|
}
|
|
364
374
|
else if (b.name === 'PhoneBlock' ||
|
|
365
375
|
b.name === 'PhoneOtpBlock' ||
|
|
366
376
|
b.name === 'WhatsappOtpBlock') {
|
|
367
377
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
368
|
-
if (
|
|
378
|
+
if (value &&
|
|
379
|
+
window.intlTelInputUtils &&
|
|
369
380
|
!window.intlTelInputUtils.isValidNumber(String(value), LEAD_LOCALE.countryCode)) {
|
|
370
381
|
return t('validator.phone');
|
|
371
382
|
}
|
|
383
|
+
if (!value)
|
|
384
|
+
return;
|
|
372
385
|
validatingPhoneRef.current = true;
|
|
373
386
|
setTimeout(() => {
|
|
374
387
|
formRef.current.setFieldError(b.data.value, 'Validating...');
|
|
@@ -394,21 +407,20 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
|
|
|
394
407
|
}
|
|
395
408
|
else if (b.name === 'DateBlock') {
|
|
396
409
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
397
|
-
if (isNaN(Date.parse(value))) {
|
|
410
|
+
if (value && isNaN(Date.parse(value))) {
|
|
398
411
|
return t('validator.date');
|
|
399
412
|
}
|
|
400
|
-
}) });
|
|
413
|
+
}, b) });
|
|
401
414
|
}
|
|
402
415
|
else if (b.name === 'TncBlock') {
|
|
403
416
|
return Object.assign(Object.assign({}, r), { [`TNC-` + b.id]: withSharedCheck('TNC-' + b.id, (value) => {
|
|
404
|
-
|
|
405
|
-
if (!value) {
|
|
417
|
+
if (isRequired && !value) {
|
|
406
418
|
return t('validator.required');
|
|
407
419
|
}
|
|
408
420
|
}) });
|
|
409
421
|
}
|
|
410
422
|
else {
|
|
411
|
-
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value) });
|
|
423
|
+
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, undefined, b) });
|
|
412
424
|
}
|
|
413
425
|
}, {});
|
|
414
426
|
}, [listBlockAdded.map((b) => b.name).join(',')]);
|
|
@@ -491,7 +503,7 @@ var useStyles$2 = createStyles(() => {
|
|
|
491
503
|
});
|
|
492
504
|
|
|
493
505
|
const libraries$1 = ['places'];
|
|
494
|
-
const LocationBlock$1 = ({ name, placeholder, locale, }) => {
|
|
506
|
+
const LocationBlock$1 = ({ name, placeholder, locale, required = true, }) => {
|
|
495
507
|
var _a;
|
|
496
508
|
const form = useLeadFormContext$1();
|
|
497
509
|
const [searchValue, setSearchValue] = useState('');
|
|
@@ -535,7 +547,7 @@ const LocationBlock$1 = ({ name, placeholder, locale, }) => {
|
|
|
535
547
|
return (React__default.createElement(React__default.Fragment, null,
|
|
536
548
|
LoadScript && (React__default.createElement(LoadScript, { googleMapsApiKey: GOOGLE_API_KEY, libraries: libraries$1, loadingElement: React__default.createElement(React__default.Fragment, null) })),
|
|
537
549
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": name, "data-control": 'text' }),
|
|
538
|
-
React__default.createElement(Select, Object.assign({ className: "lead-modal__form-control", label: placeholder, placeholder: placeholder, withAsterisk:
|
|
550
|
+
React__default.createElement(Select, Object.assign({ className: "lead-modal__form-control", label: placeholder, placeholder: placeholder, withAsterisk: required, name: name, data: options, searchValue: searchValue, onSearchChange: (query) => {
|
|
539
551
|
setSearchValue(query);
|
|
540
552
|
}, filter: () => true, clearable: true, searchable: true, onChange: (val) => setAddress(val || ''), icon: React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
541
553
|
React__default.createElement("path", { d: "M10 9.792q.605 0 1.032-.427.426-.428.426-1.032 0-.603-.426-1.031A1.4 1.4 0 0 0 10 6.875q-.604 0-1.032.427a1.4 1.4 0 0 0-.426 1.031q0 .604.426 1.032.428.426 1.032.427m0 8.083q-.145 0-.292-.042a.7.7 0 0 1-.27-.145Q6.478 15 5.01 12.708 3.54 10.418 3.54 8.5q0-3.021 1.949-4.823T10 1.875t4.51 1.802q1.95 1.802 1.949 4.823 0 1.917-1.468 4.208-1.47 2.292-4.427 4.98a.7.7 0 0 1-.271.145 1 1 0 0 1-.292.042", fill: "#8C8C8C" })), autoComplete: 'no-auto-complete-' + randRef.current, rightSection: React__default.createElement(React__default.Fragment, null) }, form.getInputProps(name)))));
|
|
@@ -553,30 +565,32 @@ const Fields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, style
|
|
|
553
565
|
});
|
|
554
566
|
const form = useLeadFormContext$1();
|
|
555
567
|
return (React__default.createElement(React__default.Fragment, null, listBlockAdded.map((b, index) => {
|
|
568
|
+
var _a;
|
|
556
569
|
const { name = '', data = {} } = b || {};
|
|
557
570
|
const { placeholder, value, align, listQuestion, isSendMailChimp = false, newtab, url, } = data;
|
|
571
|
+
const required = (_a = data.required) !== null && _a !== void 0 ? _a : true;
|
|
558
572
|
switch (name) {
|
|
559
573
|
case 'TitleBlock':
|
|
560
574
|
return (React__default.createElement(TitleBlock$1, { key: index, align: align }, value));
|
|
561
575
|
case 'SubtitleBlock':
|
|
562
576
|
return (React__default.createElement(SubtitleBlock$1, { key: index, align: align }, value));
|
|
563
577
|
case 'TextBlock':
|
|
564
|
-
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk:
|
|
578
|
+
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder, className: cx('leadgen-control', classes.control),
|
|
565
579
|
// onChangeRaw={(e) => inputOnChange('text', e)}
|
|
566
580
|
label: placeholder, "data-control": "text", name: value }, form.getInputProps(value))));
|
|
567
581
|
case 'NumberBlock':
|
|
568
|
-
return (React__default.createElement(NumberInput, Object.assign({ key: index, withAsterisk:
|
|
582
|
+
return (React__default.createElement(NumberInput, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder, className: cx('leadgen-control', classes.control),
|
|
569
583
|
// onChange={(e) => inputOnChange('number', e)}
|
|
570
584
|
label: placeholder, "data-control": "number", name: value }, form.getInputProps(value))));
|
|
571
585
|
case 'EmailBlock':
|
|
572
|
-
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk:
|
|
586
|
+
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk: required, spellCheck: false,
|
|
573
587
|
// type="email"
|
|
574
588
|
placeholder: placeholder, className: cx('leadgen-control', classes.control), label: placeholder, "data-control": "email", name: value }, form.getInputProps(value))));
|
|
575
589
|
case 'PhoneOtpBlock':
|
|
576
590
|
case 'WhatsappOtpBlock':
|
|
577
591
|
case 'PhoneBlock': {
|
|
578
592
|
const id = popupId + '-' + value + '-' + index;
|
|
579
|
-
return (React__default.createElement(Input.Wrapper, Object.assign({ size: "md", withAsterisk:
|
|
593
|
+
return (React__default.createElement(Input.Wrapper, Object.assign({ size: "md", withAsterisk: required, key: index, label: placeholder,
|
|
580
594
|
// error={errorField.phone}
|
|
581
595
|
className: cx('leadgen-control', classes.control), labelProps: {
|
|
582
596
|
htmlFor: id,
|
|
@@ -588,11 +602,11 @@ const Fields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, style
|
|
|
588
602
|
id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" })));
|
|
589
603
|
}
|
|
590
604
|
case 'LocationBlock': {
|
|
591
|
-
return (React__default.createElement(LocationBlock$1, { key: index, name: value, placeholder: placeholder, locale: locale }));
|
|
605
|
+
return (React__default.createElement(LocationBlock$1, { key: index, name: value, placeholder: placeholder, locale: locale, required: required }));
|
|
592
606
|
}
|
|
593
607
|
case 'DateBlock':
|
|
594
608
|
return (React__default.createElement(React__default.Fragment, null,
|
|
595
|
-
React__default.createElement(DatePicker, Object.assign({ withAsterisk:
|
|
609
|
+
React__default.createElement(DatePicker, Object.assign({ withAsterisk: required, key: index, type: "default", name: value, placeholder: placeholder, className: cx('leadgen-control', classes.control), label: placeholder, "data-control": "date", popoverProps: popoverProps }, form.getInputProps(value))),
|
|
596
610
|
React__default.createElement("input", { type: "hidden", name: value, "data-control": "date" })));
|
|
597
611
|
case 'LinkButtonBlock':
|
|
598
612
|
return (React__default.createElement("div", { key: index },
|
|
@@ -606,7 +620,7 @@ const Fields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, style
|
|
|
606
620
|
isSendMailChimp && (React__default.createElement("div", { style: {
|
|
607
621
|
display: 'none',
|
|
608
622
|
}, "data-name": value + '-mailchimp' })),
|
|
609
|
-
React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk:
|
|
623
|
+
React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk: required, className: cx('leadgen-control', classes.control), key: index, label: placeholder, size: "md", sx: {
|
|
610
624
|
display: 'flex',
|
|
611
625
|
flexDirection: 'column',
|
|
612
626
|
gap: 8,
|
|
@@ -614,11 +628,11 @@ const Fields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, style
|
|
|
614
628
|
case 'RadioBlock':
|
|
615
629
|
return (React__default.createElement(React__default.Fragment, null,
|
|
616
630
|
isSendMailChimp && (React__default.createElement(Input, { type: "hidden", name: value + '-mailchimp', value: isSendMailChimp })),
|
|
617
|
-
React__default.createElement(Radio.Group, Object.assign({ withAsterisk:
|
|
631
|
+
React__default.createElement(Radio.Group, Object.assign({ withAsterisk: required, className: cx('leadgen-control', classes.control), key: index, label: placeholder, size: "md" }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Radio, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "radio" }))))));
|
|
618
632
|
case 'DropdownBlock':
|
|
619
633
|
return (React__default.createElement(React__default.Fragment, null,
|
|
620
634
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": value, "data-control": 'dropdown' }),
|
|
621
|
-
React__default.createElement(Select, Object.assign({ key: index, className: cx('leadgen-control', classes.control), label: placeholder, withAsterisk:
|
|
635
|
+
React__default.createElement(Select, Object.assign({ key: index, className: cx('leadgen-control', classes.control), label: placeholder, withAsterisk: required, name: value, data: listQuestion.map((l) => ({
|
|
622
636
|
value: l.value,
|
|
623
637
|
label: l.placeholder,
|
|
624
638
|
})) }, form.getInputProps(value)))));
|
|
@@ -1236,14 +1250,20 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1236
1250
|
'TncBlock',
|
|
1237
1251
|
];
|
|
1238
1252
|
// ALL are required and can skip if not touched yet
|
|
1239
|
-
const withSharedCheck = (name, cb
|
|
1253
|
+
const withSharedCheck = (name, cb,
|
|
1254
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1255
|
+
block) => {
|
|
1240
1256
|
return (value) => {
|
|
1257
|
+
var _a;
|
|
1258
|
+
const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
|
|
1241
1259
|
if (!formRef.current.isTouched(name))
|
|
1242
1260
|
return;
|
|
1243
1261
|
if (typeof value === 'undefined' ||
|
|
1244
1262
|
value === '' ||
|
|
1245
1263
|
(Array.isArray(value) && value.length === 0)) {
|
|
1246
|
-
return
|
|
1264
|
+
return isBLockRequired
|
|
1265
|
+
? t('validator.required')
|
|
1266
|
+
: cb === null || cb === void 0 ? void 0 : cb(value);
|
|
1247
1267
|
}
|
|
1248
1268
|
return cb === null || cb === void 0 ? void 0 : cb(value);
|
|
1249
1269
|
};
|
|
@@ -1251,18 +1271,22 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1251
1271
|
return listBlockAdded
|
|
1252
1272
|
.filter((b) => InputBlocks.includes(b.name))
|
|
1253
1273
|
.reduce((r, b) => {
|
|
1274
|
+
var _a;
|
|
1275
|
+
const isRequired = (_a = b.data.required) !== null && _a !== void 0 ? _a : true;
|
|
1254
1276
|
if (b.name === 'NumberBlock') {
|
|
1255
1277
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
1256
|
-
if (isNaN(Number(value))) {
|
|
1278
|
+
if (value && isNaN(Number(value))) {
|
|
1257
1279
|
return t('validator.number');
|
|
1258
1280
|
}
|
|
1259
|
-
}) });
|
|
1281
|
+
}, b) });
|
|
1260
1282
|
}
|
|
1261
1283
|
else if (b.name === 'EmailBlock') {
|
|
1262
1284
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
1263
|
-
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)) {
|
|
1285
|
+
if (value && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)) {
|
|
1264
1286
|
return t('validator.email');
|
|
1265
1287
|
}
|
|
1288
|
+
if (!value)
|
|
1289
|
+
return;
|
|
1266
1290
|
validatingEmailRef.current = true;
|
|
1267
1291
|
setTimeout(() => {
|
|
1268
1292
|
formRef.current.setFieldError(b.data.value, 'Validating...');
|
|
@@ -1284,16 +1308,19 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1284
1308
|
validatingEmailRef.current = false;
|
|
1285
1309
|
});
|
|
1286
1310
|
}, 200);
|
|
1287
|
-
}) });
|
|
1311
|
+
}, b) });
|
|
1288
1312
|
}
|
|
1289
1313
|
else if (b.name === 'PhoneBlock' ||
|
|
1290
1314
|
b.name === 'PhoneOtpBlock' ||
|
|
1291
1315
|
b.name === 'WhatsappOtpBlock') {
|
|
1292
1316
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
1293
|
-
if (
|
|
1317
|
+
if (value &&
|
|
1318
|
+
window.intlTelInputUtils &&
|
|
1294
1319
|
!window.intlTelInputUtils.isValidNumber(String(value), LEAD_LOCALE.countryCode)) {
|
|
1295
1320
|
return t('validator.phone');
|
|
1296
1321
|
}
|
|
1322
|
+
if (!value)
|
|
1323
|
+
return;
|
|
1297
1324
|
validatingPhoneRef.current = true;
|
|
1298
1325
|
setTimeout(() => {
|
|
1299
1326
|
formRef.current.setFieldError(b.data.value, 'Validating...');
|
|
@@ -1315,24 +1342,24 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1315
1342
|
validatingPhoneRef.current = false;
|
|
1316
1343
|
});
|
|
1317
1344
|
}, 200);
|
|
1318
|
-
}) });
|
|
1345
|
+
}, b) });
|
|
1319
1346
|
}
|
|
1320
1347
|
else if (b.name === 'DateBlock') {
|
|
1321
1348
|
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, (value) => {
|
|
1322
|
-
if (isNaN(Date.parse(value))) {
|
|
1349
|
+
if (value && isNaN(Date.parse(value))) {
|
|
1323
1350
|
return t('validator.date');
|
|
1324
1351
|
}
|
|
1325
|
-
}) });
|
|
1352
|
+
}, b) });
|
|
1326
1353
|
}
|
|
1327
1354
|
else if (b.name === 'TncBlock') {
|
|
1328
1355
|
return Object.assign(Object.assign({}, r), { [`TNC-` + b.id]: withSharedCheck('TNC-' + b.id, (value) => {
|
|
1329
|
-
if (!value) {
|
|
1356
|
+
if (isRequired && !value) {
|
|
1330
1357
|
return t('validator.required');
|
|
1331
1358
|
}
|
|
1332
|
-
}) });
|
|
1359
|
+
}, b) });
|
|
1333
1360
|
}
|
|
1334
1361
|
else {
|
|
1335
|
-
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value) });
|
|
1362
|
+
return Object.assign(Object.assign({}, r), { [b.data.value]: withSharedCheck(b.data.value, undefined, b) });
|
|
1336
1363
|
}
|
|
1337
1364
|
}, {});
|
|
1338
1365
|
}, [listBlockAdded.map((b) => b.name).join(',')]);
|
|
@@ -1347,7 +1374,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1347
1374
|
};
|
|
1348
1375
|
|
|
1349
1376
|
const libraries = ['places'];
|
|
1350
|
-
const LocationBlock = ({ name, placeholder, locale, }) => {
|
|
1377
|
+
const LocationBlock = ({ name, placeholder, locale, required = true, }) => {
|
|
1351
1378
|
var _a;
|
|
1352
1379
|
const form = useLeadFormContext();
|
|
1353
1380
|
const [searchValue, setSearchValue] = useState('');
|
|
@@ -1391,7 +1418,7 @@ const LocationBlock = ({ name, placeholder, locale, }) => {
|
|
|
1391
1418
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1392
1419
|
LoadScript && (React__default.createElement(LoadScript, { googleMapsApiKey: GOOGLE_API_KEY, libraries: libraries, loadingElement: React__default.createElement(React__default.Fragment, null) })),
|
|
1393
1420
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": name, "data-control": 'text' }),
|
|
1394
|
-
React__default.createElement(Select, Object.assign({ className: "lead-modal__form-control", label: placeholder, placeholder: placeholder, withAsterisk:
|
|
1421
|
+
React__default.createElement(Select, Object.assign({ className: "lead-modal__form-control", label: placeholder, placeholder: placeholder, withAsterisk: required, name: name, data: options, searchValue: searchValue, onSearchChange: (query) => {
|
|
1395
1422
|
setSearchValue(query);
|
|
1396
1423
|
}, filter: () => true, clearable: true, searchable: true, onChange: (val) => setAddress(val || ''), icon: React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
1397
1424
|
React__default.createElement("path", { d: "M10 9.792q.605 0 1.032-.427.426-.428.426-1.032 0-.603-.426-1.031A1.4 1.4 0 0 0 10 6.875q-.604 0-1.032.427a1.4 1.4 0 0 0-.426 1.031q0 .604.426 1.032.428.426 1.032.427m0 8.083q-.145 0-.292-.042a.7.7 0 0 1-.27-.145Q6.478 15 5.01 12.708 3.54 10.418 3.54 8.5q0-3.021 1.949-4.823T10 1.875t4.51 1.802q1.95 1.802 1.949 4.823 0 1.917-1.468 4.208-1.47 2.292-4.427 4.98a.7.7 0 0 1-.271.145 1 1 0 0 1-.292.042", fill: "#8C8C8C" })), autoComplete: 'no-auto-complete-' + randRef.current, rightSection: React__default.createElement(React__default.Fragment, null) }, form.getInputProps(name)))));
|
|
@@ -1404,30 +1431,32 @@ const TitleBlock = ({ children, align, }) => (React__default.createElement("h2",
|
|
|
1404
1431
|
const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, }) => {
|
|
1405
1432
|
const form = useLeadFormContext();
|
|
1406
1433
|
return (React__default.createElement(React__default.Fragment, null, listBlockAdded.map((b, index) => {
|
|
1434
|
+
var _a;
|
|
1407
1435
|
const { name = '', data = {} } = b || {};
|
|
1408
1436
|
const { placeholder, value, align, listQuestion, isSendMailChimp = false, newtab, url, } = data;
|
|
1437
|
+
const required = (_a = data.required) !== null && _a !== void 0 ? _a : true;
|
|
1409
1438
|
switch (name) {
|
|
1410
1439
|
case 'TitleBlock':
|
|
1411
1440
|
return (React__default.createElement(TitleBlock, { key: index, align: align }, value));
|
|
1412
1441
|
case 'SubtitleBlock':
|
|
1413
1442
|
return (React__default.createElement(SubtitleBlock, { key: index, align: align }, value));
|
|
1414
1443
|
case 'TextBlock':
|
|
1415
|
-
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk:
|
|
1444
|
+
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder, className: "lead-modal__form-control",
|
|
1416
1445
|
// onChangeRaw={(e) => inputOnChange('text', e)}
|
|
1417
1446
|
label: placeholder, "data-control": "text", name: value }, form.getInputProps(value))));
|
|
1418
1447
|
case 'NumberBlock':
|
|
1419
|
-
return (React__default.createElement(NumberInput, Object.assign({ key: index, withAsterisk:
|
|
1448
|
+
return (React__default.createElement(NumberInput, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder, className: "lead-modal__form-control",
|
|
1420
1449
|
// onChange={(e) => inputOnChange('number', e)}
|
|
1421
1450
|
label: placeholder, "data-control": "number", name: value }, form.getInputProps(value))));
|
|
1422
1451
|
case 'EmailBlock':
|
|
1423
|
-
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk:
|
|
1452
|
+
return (React__default.createElement(Input, Object.assign({ key: index, withAsterisk: required, spellCheck: false,
|
|
1424
1453
|
// type="email"
|
|
1425
1454
|
placeholder: placeholder, className: "lead-modal__form-control", label: placeholder, "data-control": "email", name: value }, form.getInputProps(value))));
|
|
1426
1455
|
case 'PhoneOtpBlock':
|
|
1427
1456
|
case 'WhatsappOtpBlock':
|
|
1428
1457
|
case 'PhoneBlock': {
|
|
1429
1458
|
const id = popupId + '-' + value + '-' + index;
|
|
1430
|
-
return (React__default.createElement(Input.Wrapper, Object.assign({ size: "md", withAsterisk:
|
|
1459
|
+
return (React__default.createElement(Input.Wrapper, Object.assign({ size: "md", withAsterisk: required, key: index, label: placeholder,
|
|
1431
1460
|
// error={errorField.phone}
|
|
1432
1461
|
className: "lead-modal__form-control", labelProps: {
|
|
1433
1462
|
htmlFor: id,
|
|
@@ -1439,11 +1468,11 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
1439
1468
|
id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" })));
|
|
1440
1469
|
}
|
|
1441
1470
|
case 'LocationBlock': {
|
|
1442
|
-
return (React__default.createElement(LocationBlock, { key: index, name: value, placeholder: placeholder, locale: locale }));
|
|
1471
|
+
return (React__default.createElement(LocationBlock, { key: index, name: value, placeholder: placeholder, locale: locale, required: required }));
|
|
1443
1472
|
}
|
|
1444
1473
|
case 'DateBlock':
|
|
1445
1474
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1446
|
-
React__default.createElement(DatePicker, Object.assign({ withAsterisk:
|
|
1475
|
+
React__default.createElement(DatePicker, Object.assign({ withAsterisk: required, key: index, type: "default", name: value, placeholder: placeholder, className: "lead-modal__form-control", label: placeholder, "data-control": "date" }, form.getInputProps(value))),
|
|
1447
1476
|
React__default.createElement("input", { type: "hidden", name: value, "data-control": "date" })));
|
|
1448
1477
|
case 'LinkButtonBlock':
|
|
1449
1478
|
return (React__default.createElement("div", { key: index },
|
|
@@ -1457,7 +1486,7 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
1457
1486
|
isSendMailChimp && (React__default.createElement("div", { style: {
|
|
1458
1487
|
display: 'none',
|
|
1459
1488
|
}, "data-name": value + '-mailchimp' })),
|
|
1460
|
-
React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk:
|
|
1489
|
+
React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk: required, className: "lead-modal__form-control", key: index, label: placeholder, size: "md", sx: {
|
|
1461
1490
|
display: 'flex',
|
|
1462
1491
|
flexDirection: 'column',
|
|
1463
1492
|
gap: 8,
|
|
@@ -1465,11 +1494,11 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
1465
1494
|
case 'RadioBlock':
|
|
1466
1495
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1467
1496
|
isSendMailChimp && (React__default.createElement(Input, { type: "hidden", name: value + '-mailchimp', value: isSendMailChimp })),
|
|
1468
|
-
React__default.createElement(Radio.Group, Object.assign({ withAsterisk:
|
|
1497
|
+
React__default.createElement(Radio.Group, Object.assign({ withAsterisk: required, className: "lead-modal__form-control", key: index, label: placeholder, size: "md" }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Radio, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "radio" }))))));
|
|
1469
1498
|
case 'DropdownBlock':
|
|
1470
1499
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1471
1500
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": value, "data-control": 'dropdown' }),
|
|
1472
|
-
React__default.createElement(Select, Object.assign({ key: index, className: "lead-modal__form-control", label: placeholder, withAsterisk:
|
|
1501
|
+
React__default.createElement(Select, Object.assign({ key: index, className: "lead-modal__form-control", label: placeholder, withAsterisk: required, name: value, data: listQuestion.map((l) => ({
|
|
1473
1502
|
value: l.value,
|
|
1474
1503
|
label: l.placeholder,
|
|
1475
1504
|
})) }, form.getInputProps(value)))));
|
|
@@ -2606,11 +2635,12 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
|
|
|
2606
2635
|
}, []);
|
|
2607
2636
|
const onSubmit = (currentForm, formDataObj, categoryLevel, categoryData) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2608
2637
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
2609
|
-
debugger;
|
|
2610
2638
|
if (!formDataObj)
|
|
2611
2639
|
return;
|
|
2612
2640
|
LeadLog('submitHandler', categoryLevel, categoryData);
|
|
2613
|
-
const formData = Object.keys(formDataObj)
|
|
2641
|
+
const formData = Object.keys(formDataObj)
|
|
2642
|
+
.filter((key) => !!formDataObj[key])
|
|
2643
|
+
.map((key) => ({
|
|
2614
2644
|
name: key,
|
|
2615
2645
|
value: String(formDataObj[key]),
|
|
2616
2646
|
}));
|
|
@@ -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 './index-
|
|
2
|
+
import { C as CommonGAssets } from './index-b2c5cabd.js';
|
|
3
|
+
import { I as ImageWrap } from './index-361bc83b.js';
|
|
4
4
|
|
|
5
5
|
const _LogoIcon = ({ type, width, height }) => {
|
|
6
6
|
const data = useMemo(() => {
|
package/build/esm/mantine.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-
|
|
2
|
-
export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-
|
|
3
|
-
export { D as DatePicker } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
export { T as Text } from './index-
|
|
6
|
-
import { B as Button } from './index-
|
|
7
|
-
export { B as Button } from './index-
|
|
8
|
-
export { I as Indicator } from './index-
|
|
1
|
+
import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-8a85122c.js';
|
|
2
|
+
export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-8a85122c.js';
|
|
3
|
+
export { D as DatePicker } from './index-83d902e7.js';
|
|
4
|
+
import { T as Text } from './index-7320146f.js';
|
|
5
|
+
export { T as Text } from './index-7320146f.js';
|
|
6
|
+
import { B as Button } from './index-d3fee65a.js';
|
|
7
|
+
export { B as Button } from './index-d3fee65a.js';
|
|
8
|
+
export { I as Indicator } from './index-5fb0bc40.js';
|
|
9
9
|
import React__default, { useMemo, useState, useEffect } from 'react';
|
|
10
|
-
export { M as Modal } from './index-
|
|
11
|
-
import { _ as __rest } from './tslib.es6-
|
|
10
|
+
export { M as Modal } from './index-30d846c4.js';
|
|
11
|
+
import { _ as __rest } from './tslib.es6-16fe18bd.js';
|
|
12
12
|
import { MantineProvider as MantineProvider$1, Badge as Badge$1, Spoiler as Spoiler$1, LoadingOverlay as LoadingOverlay$1, clsx, Title, Text as Text$1, Button as Button$1 } from '@mantine/core';
|
|
13
13
|
import { theme } from './miscTheme.js';
|
|
14
|
-
import { u as useTranslations } from './index-
|
|
14
|
+
import { u as useTranslations } from './index-9e5ce45f.js';
|
|
15
15
|
import { useDebouncedValue } from '@mantine/hooks';
|
|
16
|
-
export { S as Switch } from './index-
|
|
17
|
-
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-
|
|
18
|
-
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-
|
|
19
|
-
export { O as OTHER_THEME_CONFIG } from './other-
|
|
20
|
-
export { T as Tabs } from './index-
|
|
16
|
+
export { S as Switch } from './index-48027199.js';
|
|
17
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-b14587e2.js';
|
|
18
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-b14587e2.js';
|
|
19
|
+
export { O as OTHER_THEME_CONFIG } from './other-960c5a86.js';
|
|
20
|
+
export { T as Tabs } from './index-fa640a45.js';
|
|
21
21
|
import '@hhgtech/icons/other';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-b2c5cabd.js';
|
|
23
23
|
import './constantsDomainLocales.js';
|
|
24
|
-
import './Locale-
|
|
24
|
+
import './Locale-23f92342.js';
|
|
25
25
|
import './constantsIsProduction.js';
|
|
26
|
-
import './index.styles-
|
|
27
|
-
import './utils-
|
|
26
|
+
import './index.styles-de4535ba.js';
|
|
27
|
+
import './utils-8bbb4636.js';
|
|
28
28
|
import '@emotion/styled';
|
|
29
29
|
import '@mantine/carousel';
|
|
30
|
-
import './index-
|
|
31
|
-
import './index-
|
|
30
|
+
import './index-34c840c3.js';
|
|
31
|
+
import './index-1672f17f.js';
|
|
32
32
|
import 'date-fns/locale';
|
|
33
33
|
import './constantsSite.js';
|
|
34
34
|
import './constantsRiskScreener.js';
|
|
35
|
-
import './index-
|
|
35
|
+
import './index-361bc83b.js';
|
|
36
36
|
import 'classnames';
|
|
37
|
-
import './useUniqueId-
|
|
37
|
+
import './useUniqueId-42135929.js';
|
|
38
38
|
import '@hhgtech/icons/core';
|
|
39
39
|
import '@mantine/dates';
|
|
40
|
-
import './translationsContext-
|
|
40
|
+
import './translationsContext-a5befd4d.js';
|
|
41
41
|
import '@mantine/notifications';
|
|
42
42
|
import 'dayjs';
|
|
43
43
|
|
package/build/esm/misc.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-
|
|
2
|
-
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-
|
|
1
|
+
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-ee2bd67a.js';
|
|
2
|
+
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-5703295e.js';
|
|
3
3
|
export { deleteCookie, getCookie, setCookie } from './miscCookieHelper.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './useMantineLocale-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
6
|
+
import './useMantineLocale-b14587e2.js';
|
|
7
|
+
import './index-34c840c3.js';
|
|
8
|
+
import './index-b2c5cabd.js';
|
|
9
9
|
export { MBTheme, theme } from './miscTheme.js';
|
|
10
|
-
export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-
|
|
11
|
-
import './index-
|
|
12
|
-
export { a as abbreviateNumber, f as formatPill } from './dataTransform-
|
|
13
|
-
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-
|
|
10
|
+
export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-8bbb4636.js';
|
|
11
|
+
import './index-1672f17f.js';
|
|
12
|
+
export { a as abbreviateNumber, f as formatPill } from './dataTransform-11643e7c.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-d82a1437.js';
|
|
14
14
|
export { formatHealthTool, getDynamicHealthTool, getDynamicHealthToolWithCache } from './miscGetDynamicHealthTool.js';
|
|
15
15
|
export { getSocialList } from './miscGetSocialList.js';
|
|
16
16
|
export { ScreenSizeContext, ScreenSizeContextProvider, getWindowSizeGroups } from './miscScreenSizeContext.js';
|
|
17
17
|
import 'dayjs';
|
|
18
18
|
import '@emotion/react';
|
|
19
|
-
import './tslib.es6-
|
|
19
|
+
import './tslib.es6-16fe18bd.js';
|
|
20
20
|
import '@mantine/notifications';
|
|
21
|
-
import './other-
|
|
22
|
-
import './Locale-
|
|
21
|
+
import './other-960c5a86.js';
|
|
22
|
+
import './Locale-23f92342.js';
|
|
23
23
|
import './constantsDomainLocales.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
25
|
import 'date-fns/locale';
|
|
26
26
|
import './constantsSite.js';
|
|
27
27
|
import './constantsRiskScreener.js';
|
|
28
|
-
import './core-
|
|
29
|
-
import './WhatsApp-
|
|
30
|
-
import './index-
|
|
31
|
-
import './index-
|
|
28
|
+
import './core-284b645b.js';
|
|
29
|
+
import './WhatsApp-9a9023b9.js';
|
|
30
|
+
import './index-0abfa075.js';
|
|
31
|
+
import './index-c4d3ccef.js';
|
|
32
32
|
import 'js-cookie';
|
|
33
33
|
import 'uuid';
|
|
34
34
|
import 'lodash/throttle';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-
|
|
3
|
-
import { g as getDataWithCache } from './core-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-16fe18bd.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-d82a1437.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-284b645b.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-23f92342.js';
|
|
6
6
|
import './constantsIsProduction.js';
|
|
7
7
|
|
|
8
8
|
const formatHealthTool = (healthTool, locale) => {
|