@zonos/elements 1.3.289 → 1.3.290
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/dist/cjs/{cart-WLQb2hbe.js → cart-7DceSLKl.js} +3 -3
- package/dist/cjs/{collect-B92uIdsY.js → collect-C08DUE1L.js} +3 -3
- package/dist/cjs/{debounce-5sZmmlCI.js → debounce-Cd2emZPn.js} +2 -2
- package/dist/cjs/{debounce-Nu2lJW4A.js → debounce-vY0QYT6o.js} +1 -1
- package/dist/cjs/{getBorderRadius-DGZiQu09.js → getBorderRadius-CyYZw4qq.js} +1 -1
- package/dist/cjs/{getMissingRequiredShippingFields-5w62gTIB.js → getMissingRequiredShippingFields-Duz8xpmf.js} +1 -1
- package/dist/cjs/{hasInclusivePrice-hmV0Inld.js → hasInclusivePrice-C-iyXqJ0.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-Bal1mqYR.js → invoice-DSuHUQpi.js} +3 -3
- package/dist/cjs/{localization-C5HPlCNK.js → localization-BJqYz_PB.js} +1 -1
- package/dist/cjs/{paypal-o164C26_.js → paypal-CZoctP9S.js} +4 -4
- package/dist/cjs/{placeTestOrder-C7tAipav.js → placeTestOrder-D7baFuaV.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-Bpx-vrTQ.js → renderCheckoutCurrency-Ca2HH1Gc.js} +2 -2
- package/dist/cjs/{shouldShowLanguageSelect-CtwkMt8b.js → shouldShowLanguageSelect-FyTdz7U_.js} +1 -1
- package/dist/cjs/{submitGtag-CcEL-w5D.js → submitGtag-D79e8u6s.js} +1 -1
- package/dist/cjs/{throttle-BcxGntLr.js → throttle-zSVRQLC0.js} +2 -2
- package/dist/cjs/{updateCheckoutSessionAttributes-Dltl5RBx.js → updateCheckoutSessionAttributes-jMtfOL2m.js} +1 -1
- package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +7 -7
- package/dist/cjs/zonos-address-display_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-address_4.cjs.entry.js +6 -6
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +5 -5
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
- package/dist/cjs/zonos-card_5.cjs.entry.js +6 -6
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +14 -14
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +10 -10
- package/dist/cjs/zonos-collect.cjs.entry.js +7 -7
- package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello.cjs.entry.js +129 -51
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +10 -10
- package/dist/cjs/zonos-invoice.cjs.entry.js +7 -7
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-BCNYr6Tk.js → zonosStore-Bx9jK82G.js} +2 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +17 -15
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +29 -52
- package/dist/collection/components/store/zonosStore.js +2 -0
- package/dist/collection/components/utils/hello/resolveHelloFloatPlacement.js +98 -0
- package/dist/collection/types/generated/graphql.internal.types.js +176 -9
- package/dist/esm/{cart-BDc4RTBJ.js → cart-Cleo1j5P.js} +3 -3
- package/dist/esm/{collect-NRCK3t-M.js → collect-CspdWIRo.js} +3 -3
- package/dist/esm/{debounce-D4ko2kvZ.js → debounce-BR3PaG8X.js} +1 -1
- package/dist/esm/{debounce-DWPsxJsW.js → debounce-CrmpwbEE.js} +2 -2
- package/dist/esm/{getBorderRadius-HwG64EKM.js → getBorderRadius-DYfkeXdx.js} +1 -1
- package/dist/esm/{getMissingRequiredShippingFields-D-B-N1NH.js → getMissingRequiredShippingFields-B1IL1-gn.js} +1 -1
- package/dist/esm/{hasInclusivePrice-Bti4iudO.js → hasInclusivePrice-DKRplpLX.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-DsvQvu4a.js → invoice-D49igPQ9.js} +3 -3
- package/dist/esm/{localization-Bs6hVcKV.js → localization-BiL8bPsY.js} +1 -1
- package/dist/esm/{paypal-BqyEZS_u.js → paypal-D4vWRxHJ.js} +4 -4
- package/dist/esm/{placeTestOrder-x3xwMAnW.js → placeTestOrder-BNmc5RCo.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-DIBdWKN1.js → renderCheckoutCurrency-BNbwijGo.js} +2 -2
- package/dist/esm/{shouldShowLanguageSelect-Bb9sbQ41.js → shouldShowLanguageSelect-B82gTfHz.js} +1 -1
- package/dist/esm/{submitGtag-CCGQS060.js → submitGtag-df9AQ2zL.js} +1 -1
- package/dist/esm/{throttle-D5GyA3yr.js → throttle-Cvlvb-dm.js} +2 -2
- package/dist/esm/{updateCheckoutSessionAttributes-eRSqdC74.js → updateCheckoutSessionAttributes-4Jq6V4pO.js} +1 -1
- package/dist/esm/zonos-address-completion-dialog_7.entry.js +7 -7
- package/dist/esm/zonos-address-display_2.entry.js +3 -3
- package/dist/esm/zonos-address_4.entry.js +6 -6
- package/dist/esm/zonos-airwallex-payment.entry.js +5 -5
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +2 -2
- package/dist/esm/zonos-card_5.entry.js +6 -6
- package/dist/esm/zonos-cart-items_12.entry.js +14 -14
- package/dist/esm/zonos-checkbox_2.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +9 -9
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-collect-cart-items_3.entry.js +4 -4
- package/dist/esm/zonos-collect-finish_6.entry.js +10 -10
- package/dist/esm/zonos-collect.entry.js +7 -7
- package/dist/esm/zonos-controller.entry.js +5 -5
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +3 -3
- package/dist/esm/zonos-hello.entry.js +129 -51
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +6 -6
- package/dist/esm/zonos-invoice-finish_5.entry.js +10 -10
- package/dist/esm/zonos-invoice.entry.js +7 -7
- package/dist/esm/zonos-language-select_2.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +5 -5
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-stripe-input.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-DrIOAz4M.js → zonosStore-msUlqmSD.js} +2 -0
- package/dist/esm-es5/{cart-BDc4RTBJ.js → cart-Cleo1j5P.js} +8 -8
- package/dist/esm-es5/{collect-NRCK3t-M.js → collect-CspdWIRo.js} +1 -1
- package/dist/esm-es5/{debounce-D4ko2kvZ.js → debounce-BR3PaG8X.js} +7 -7
- package/dist/esm-es5/debounce-CrmpwbEE.js +1 -0
- package/dist/esm-es5/{getBorderRadius-HwG64EKM.js → getBorderRadius-DYfkeXdx.js} +1 -1
- package/dist/esm-es5/{getMissingRequiredShippingFields-D-B-N1NH.js → getMissingRequiredShippingFields-B1IL1-gn.js} +3 -3
- package/dist/esm-es5/{hasInclusivePrice-Bti4iudO.js → hasInclusivePrice-DKRplpLX.js} +1 -1
- package/dist/esm-es5/index.js +4 -4
- package/dist/esm-es5/{invoice-DsvQvu4a.js → invoice-D49igPQ9.js} +1 -1
- package/dist/esm-es5/{localization-Bs6hVcKV.js → localization-BiL8bPsY.js} +1 -1
- package/dist/esm-es5/{paypal-BqyEZS_u.js → paypal-D4vWRxHJ.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-x3xwMAnW.js → placeTestOrder-BNmc5RCo.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-DIBdWKN1.js → renderCheckoutCurrency-BNbwijGo.js} +1 -1
- package/dist/esm-es5/{shouldShowLanguageSelect-Bb9sbQ41.js → shouldShowLanguageSelect-B82gTfHz.js} +1 -1
- package/dist/esm-es5/{submitGtag-CCGQS060.js → submitGtag-df9AQ2zL.js} +1 -1
- package/dist/esm-es5/{throttle-D5GyA3yr.js → throttle-Cvlvb-dm.js} +2 -2
- package/dist/esm-es5/{updateCheckoutSessionAttributes-eRSqdC74.js → updateCheckoutSessionAttributes-4Jq6V4pO.js} +1 -1
- package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -1
- package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +3 -3
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +2 -2
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +21 -24
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +2 -2
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +3 -3
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-DrIOAz4M.js → zonosStore-msUlqmSD.js} +1 -1
- package/dist/scripts/index.d.ts +36 -6
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +5 -3
- package/dist/types/components/utils/hello/resolveHelloFloatPlacement.d.ts +39 -0
- package/dist/types/components.d.ts +4 -6
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +10 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +239 -11
- package/dist/types/types/generated/graphql.internal.types.ts +302 -15
- package/dist/types/types/hello/HelloConfig.d.ts +12 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-c090cc60.entry.js → p-028e0500.entry.js} +1 -1
- package/dist/zonos-elements/p-079af8c0.system.entry.js +118 -0
- package/dist/zonos-elements/{p-058f07aa.system.entry.js → p-0a4a7742.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-02ff6f8b.system.entry.js → p-0dca8a26.system.entry.js} +26 -26
- package/dist/zonos-elements/{p-d9527bd7.system.entry.js → p-0ee74bf3.system.entry.js} +32 -32
- package/dist/zonos-elements/{p-e582ae2a.entry.js → p-11bab88b.entry.js} +1 -1
- package/dist/zonos-elements/{p-d261f27c.system.entry.js → p-13d3a372.system.entry.js} +16 -16
- package/dist/zonos-elements/{p-1568ab06.system.entry.js → p-1409de3b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8328f44d.entry.js → p-193d9722.entry.js} +1 -1
- package/dist/zonos-elements/{p-22fab1ba.system.entry.js → p-195f6e38.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-317d4665.system.entry.js → p-1b77464d.system.entry.js} +18 -18
- package/dist/zonos-elements/{p-cc5306fe.system.entry.js → p-1bac5ac1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-128485dc.entry.js → p-1c150f26.entry.js} +1 -1
- package/dist/zonos-elements/{p-628a0f7f.entry.js → p-234c202c.entry.js} +1 -1
- package/dist/zonos-elements/{p-0ff26236.system.entry.js → p-23f6346b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-cc949df1.system.entry.js → p-244e0302.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7681798d.entry.js → p-24f3c547.entry.js} +1 -1
- package/dist/zonos-elements/{p-5c08d36b.entry.js → p-2603dce0.entry.js} +1 -1
- package/dist/zonos-elements/{p-6c6c65f0.entry.js → p-26295311.entry.js} +1 -1
- package/dist/zonos-elements/{p-68e0180a.entry.js → p-34c5e145.entry.js} +1 -1
- package/dist/zonos-elements/{p-e126e9bd.system.entry.js → p-35509b10.system.entry.js} +78 -78
- package/dist/zonos-elements/p-35539d3d.entry.js +1 -0
- package/dist/zonos-elements/{p-56159b7c.system.entry.js → p-3c800376.system.entry.js} +19 -19
- package/dist/zonos-elements/{p-f8fd756a.system.entry.js → p-474e8a92.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-36559431.system.entry.js → p-481ecc23.system.entry.js} +19 -19
- package/dist/zonos-elements/{p-8cac7911.system.entry.js → p-4fd78ecf.system.entry.js} +13 -13
- package/dist/zonos-elements/{p-b78bab27.entry.js → p-52d9fd3a.entry.js} +1 -1
- package/dist/zonos-elements/{p-a6faab6a.entry.js → p-55916c90.entry.js} +1 -1
- package/dist/zonos-elements/p-5b06f069.entry.js +1 -0
- package/dist/zonos-elements/{p-635341d6.entry.js → p-5df25a1a.entry.js} +1 -1
- package/dist/zonos-elements/{p-b96666ca.system.entry.js → p-5f347f91.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-beeb9d36.system.entry.js → p-756d303f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fcfac62f.system.entry.js → p-79ddb12a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3cc27e0e.system.entry.js → p-7d284341.system.entry.js} +4 -4
- package/dist/zonos-elements/{p-b88e521e.system.entry.js → p-7e1050dd.system.entry.js} +16 -16
- package/dist/zonos-elements/{p-03fbe813.system.entry.js → p-7ee2af6e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-34d1545a.entry.js → p-83aa1c8c.entry.js} +1 -1
- package/dist/zonos-elements/{p-5eb82be3.entry.js → p-84c9ce16.entry.js} +1 -1
- package/dist/zonos-elements/{p-CaUXHglQ.system.js → p-8PPEbm_0.system.js} +9 -9
- package/dist/zonos-elements/{p-b6deae2b.system.entry.js → p-92fe9a1f.system.entry.js} +2 -2
- package/dist/zonos-elements/{p-cc17a230.entry.js → p-990b49f2.entry.js} +1 -1
- package/dist/zonos-elements/{p-c4713ff1.system.entry.js → p-9ef0f69e.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-CZl1nwqv.system.js → p-B4Ufchqh.system.js} +3 -3
- package/dist/zonos-elements/{p-D4WI0B6-.system.js → p-B5NDhB1w.system.js} +4 -4
- package/dist/zonos-elements/{p-B6X55m0b.js → p-BDrM4x5N.js} +2 -2
- package/dist/zonos-elements/p-BGktDPwA.system.js +1 -0
- package/dist/zonos-elements/p-BJzAgoqz.js +1 -0
- package/dist/zonos-elements/{p-opB7B9YB.js → p-BKoLoalh.js} +1 -1
- package/dist/zonos-elements/{p-UM1aYZBV.system.js → p-BT9_ehlh.system.js} +1 -1
- package/dist/zonos-elements/{p-CVQ7-7E2.system.js → p-B_5RofQ9.system.js} +16 -16
- package/dist/zonos-elements/p-BaF00SfB.js +1 -0
- package/dist/zonos-elements/{p-D0erXw7p.js → p-BpDCLBwW.js} +1 -1
- package/dist/zonos-elements/{p-CpvnCfKt.js → p-BtWDzGMx.js} +1 -1
- package/dist/zonos-elements/p-Bu9WCfUC.system.js +1 -1
- package/dist/zonos-elements/{p-CPnR_T0a.system.js → p-BuU_p5DP.system.js} +58 -58
- package/dist/zonos-elements/{p-CH6tsv9B.system.js → p-CASTsiDR.system.js} +3 -3
- package/dist/zonos-elements/{p-CaAod213.system.js → p-CBx5nYet.system.js} +1 -1
- package/dist/zonos-elements/{p-Cd9xIgx7.system.js → p-CEmXVahp.system.js} +1 -1
- package/dist/zonos-elements/{p-nU86HJ5w.js → p-CUaf1cEg.js} +1 -1
- package/dist/zonos-elements/p-CX_vfdWt.js +1 -0
- package/dist/zonos-elements/p-C_z9WL8a.js +1 -0
- package/dist/zonos-elements/p-CcJF6xhQ.js +1 -0
- package/dist/zonos-elements/{p-MHVIIOVE.js → p-CewmhMGk.js} +1 -1
- package/dist/zonos-elements/{p-CQyFoOXW.system.js → p-Cpe_ISNt.system.js} +18 -18
- package/dist/zonos-elements/{p-CGkdA4pY.js → p-Cuk0LLGQ.js} +1 -1
- package/dist/zonos-elements/p-Cxuiqv1I.js +1 -0
- package/dist/zonos-elements/p-DQZncB2d.system.js +9 -0
- package/dist/zonos-elements/{p-D2fOB4Wn.system.js → p-DVITR-Eu.system.js} +1 -1
- package/dist/zonos-elements/{p-CuhGrJBA.system.js → p-DYIisqF7.system.js} +1 -1
- package/dist/zonos-elements/{p-uV7m6KrY.system.js → p-DoEHepOc.system.js} +1 -1
- package/dist/zonos-elements/{p-DqEtY53c.js → p-DwkyNtpD.js} +1 -1
- package/dist/zonos-elements/p-NJVOYjda.js +1 -0
- package/dist/zonos-elements/{p-CtEsvWI6.js → p-W82paT5F.js} +1 -1
- package/dist/zonos-elements/{p-72b6a006.system.entry.js → p-a571beaa.system.entry.js} +20 -20
- package/dist/zonos-elements/{p-e9a3bc27.system.entry.js → p-a5c25829.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-b68ca96f.entry.js → p-a938c174.entry.js} +1 -1
- package/dist/zonos-elements/{p-f44631d5.entry.js → p-ab54d0a1.entry.js} +1 -1
- package/dist/zonos-elements/{p-9ebe9a36.entry.js → p-acd50b0b.entry.js} +1 -1
- package/dist/zonos-elements/{p-0f603278.system.entry.js → p-b5882fbb.system.entry.js} +2 -2
- package/dist/zonos-elements/{p-3d536086.entry.js → p-ba510730.entry.js} +1 -1
- package/dist/zonos-elements/{p-18021e6b.entry.js → p-c3b02dbf.entry.js} +1 -1
- package/dist/zonos-elements/{p-be64d823.system.entry.js → p-c403f004.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4625058a.entry.js → p-c4ad6d4b.entry.js} +1 -1
- package/dist/zonos-elements/p-ca3175d9.entry.js +1 -0
- package/dist/zonos-elements/{p-3e59d41c.entry.js → p-d3d0656a.entry.js} +1 -1
- package/dist/zonos-elements/{p-9b6482ef.entry.js → p-d4d2b39e.entry.js} +1 -1
- package/dist/zonos-elements/{p-c5f17bad.entry.js → p-d6b72f6d.entry.js} +1 -1
- package/dist/zonos-elements/p-d74bc3e8.entry.js +1 -0
- package/dist/zonos-elements/p-db75322d.entry.js +1 -0
- package/dist/zonos-elements/{p-5e074243.entry.js → p-dd8ca91e.entry.js} +1 -1
- package/dist/zonos-elements/{p-cf53f67a.entry.js → p-ddca5ee1.entry.js} +1 -1
- package/dist/zonos-elements/{p-bdba7d9e.system.entry.js → p-dfc87b10.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d451d5bc.system.entry.js → p-f37b8aaf.system.entry.js} +4 -4
- package/dist/zonos-elements/{p-2466b5f0.system.entry.js → p-fb869759.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-i1iCWKdv.js → p-sz4L-ZnB.js} +1 -1
- package/dist/zonos-elements/{p-BybDGrH4.system.js → p-tGJYTlGL.system.js} +4 -4
- package/dist/zonos-elements/p-tkSf-lrO.system.js +13 -0
- package/dist/zonos-elements/{p-NL_Eiq6m.system.js → p-uuZUZPIm.system.js} +6 -6
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/debounce-DWPsxJsW.js +0 -1
- package/dist/zonos-elements/p-02628b9f.entry.js +0 -1
- package/dist/zonos-elements/p-037d3688.entry.js +0 -1
- package/dist/zonos-elements/p-0466650f.entry.js +0 -1
- package/dist/zonos-elements/p-163b81c0.system.entry.js +0 -121
- package/dist/zonos-elements/p-3ERbuo5a.js +0 -1
- package/dist/zonos-elements/p-97f848f6.entry.js +0 -1
- package/dist/zonos-elements/p-9H2p9XKE.js +0 -1
- package/dist/zonos-elements/p-BANhKkF2.system.js +0 -1
- package/dist/zonos-elements/p-BJufDgh3.js +0 -1
- package/dist/zonos-elements/p-BSgVcCxT.system.js +0 -9
- package/dist/zonos-elements/p-ClUEwqZW.system.js +0 -13
- package/dist/zonos-elements/p-CtKp6AQ4.js +0 -1
- package/dist/zonos-elements/p-DdpeA8cH.js +0 -1
- package/dist/zonos-elements/p-DkirvyAh.js +0 -1
- package/dist/zonos-elements/p-a6354d15.entry.js +0 -1
- package/dist/zonos-elements/p-t_ClFAJR.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var localization = require('./localization-
|
|
5
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
5
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
6
6
|
var classes = require('./classes-D_DL168u.js');
|
|
7
7
|
require('./handleFetch-DQLhurnE.js');
|
|
8
8
|
require('./VarianceTest-C98whVgO.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var localization = require('./localization-
|
|
5
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
5
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
6
6
|
var formatStringWithLinks = require('./formatStringWithLinks-vOVkAjlu.js');
|
|
7
7
|
var isDarkColor = require('./isDarkColor-f-fD9c2l.js');
|
|
8
|
-
var shouldShowLanguageSelect = require('./shouldShowLanguageSelect-
|
|
8
|
+
var shouldShowLanguageSelect = require('./shouldShowLanguageSelect-FyTdz7U_.js');
|
|
9
9
|
var classes = require('./classes-D_DL168u.js');
|
|
10
10
|
require('./handleFetch-DQLhurnE.js');
|
|
11
11
|
require('./VarianceTest-C98whVgO.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var localization = require('./localization-
|
|
5
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
5
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
6
6
|
var classes = require('./classes-D_DL168u.js');
|
|
7
7
|
var formatStringWithLinks = require('./formatStringWithLinks-vOVkAjlu.js');
|
|
8
|
-
var hasInclusivePrice = require('./hasInclusivePrice-
|
|
8
|
+
var hasInclusivePrice = require('./hasInclusivePrice-C-iyXqJ0.js');
|
|
9
9
|
var getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-Cl50u1mb.js');
|
|
10
10
|
var TaxId = require('./TaxId-Q6aDqqWv.js');
|
|
11
11
|
require('./handleFetch-DQLhurnE.js');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var debounce = require('./debounce-
|
|
5
|
-
var localization = require('./localization-
|
|
6
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var debounce = require('./debounce-Cd2emZPn.js');
|
|
5
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
6
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
7
7
|
var classes = require('./classes-D_DL168u.js');
|
|
8
8
|
var handleFetch = require('./handleFetch-DQLhurnE.js');
|
|
9
9
|
var getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-Cl50u1mb.js');
|
|
10
10
|
var VarianceTest = require('./VarianceTest-C98whVgO.js');
|
|
11
|
-
require('./debounce-
|
|
11
|
+
require('./debounce-vY0QYT6o.js');
|
|
12
12
|
|
|
13
13
|
const checkItemRestrictions = async ({ items, shipFrom, shipTo, }) => {
|
|
14
14
|
var _a;
|
|
@@ -142,7 +142,106 @@ const getProductsOnPage = () => {
|
|
|
142
142
|
return mergedElements;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
const
|
|
145
|
+
const isValidHelloPlacement = (value) => {
|
|
146
|
+
if (value == null || typeof value !== 'object') {
|
|
147
|
+
return false;
|
|
148
|
+
}
|
|
149
|
+
const { anchor, horizontalOffset, verticalOffset } = value;
|
|
150
|
+
return (typeof anchor === 'string' &&
|
|
151
|
+
anchor.length > 0 &&
|
|
152
|
+
typeof horizontalOffset === 'number' &&
|
|
153
|
+
Number.isFinite(horizontalOffset) &&
|
|
154
|
+
typeof verticalOffset === 'number' &&
|
|
155
|
+
Number.isFinite(verticalOffset));
|
|
156
|
+
};
|
|
157
|
+
const includesLeft = (location) => Boolean(location === null || location === void 0 ? void 0 : location.includes('LEFT'));
|
|
158
|
+
const includesTop = (location) => Boolean(location === null || location === void 0 ? void 0 : location.includes('TOP'));
|
|
159
|
+
const buildResolved = ({ anchor, animateFromLeftOverride, horizontalOffset, isMobileWindow, isOnLeft, shouldFloat, verticalOffset, }) => ({
|
|
160
|
+
anchor,
|
|
161
|
+
horizontalOffset,
|
|
162
|
+
isMobileWindow,
|
|
163
|
+
isOnLeft: isOnLeft !== null && isOnLeft !== void 0 ? isOnLeft : (Boolean(animateFromLeftOverride) || includesLeft(anchor)),
|
|
164
|
+
isOnTop: includesTop(anchor),
|
|
165
|
+
shouldFloat,
|
|
166
|
+
verticalOffset,
|
|
167
|
+
});
|
|
168
|
+
/**
|
|
169
|
+
* Resolve active Hello float placement per viewport.
|
|
170
|
+
* Precedence: component enum prop → settings HelloPlacement → settings location enum.
|
|
171
|
+
*
|
|
172
|
+
* When the winning source is a component enum prop or settings `HelloPlacement`,
|
|
173
|
+
* `shouldFloat` is always true — including when `anchorElementSelector` is set.
|
|
174
|
+
* That matches existing prop-forced float behavior and FR-006 / data-model rules
|
|
175
|
+
* (placement implies floating; enum fallback still respects the anchor selector).
|
|
176
|
+
*/
|
|
177
|
+
const resolveHelloFloatPlacement = (params) => {
|
|
178
|
+
const { anchorElementSelector, animateFromLeftOverride, componentDesktopLocation, componentMobileLocation, desktopLocation, isMobileWindow, mobileLocation, settingsDesktopPlacement, settingsMobilePlacement, shouldAnimateLeftDesktop, } = params;
|
|
179
|
+
if (isMobileWindow) {
|
|
180
|
+
if (componentMobileLocation) {
|
|
181
|
+
return buildResolved({
|
|
182
|
+
anchor: componentMobileLocation,
|
|
183
|
+
animateFromLeftOverride,
|
|
184
|
+
horizontalOffset: null,
|
|
185
|
+
isMobileWindow: true,
|
|
186
|
+
shouldFloat: true,
|
|
187
|
+
verticalOffset: null,
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
if (isValidHelloPlacement(settingsMobilePlacement)) {
|
|
191
|
+
return buildResolved({
|
|
192
|
+
anchor: settingsMobilePlacement.anchor,
|
|
193
|
+
animateFromLeftOverride,
|
|
194
|
+
horizontalOffset: settingsMobilePlacement.horizontalOffset,
|
|
195
|
+
isMobileWindow: true,
|
|
196
|
+
shouldFloat: true,
|
|
197
|
+
verticalOffset: settingsMobilePlacement.verticalOffset,
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
return buildResolved({
|
|
201
|
+
anchor: mobileLocation,
|
|
202
|
+
animateFromLeftOverride,
|
|
203
|
+
horizontalOffset: null,
|
|
204
|
+
isMobileWindow: true,
|
|
205
|
+
shouldFloat: Boolean(mobileLocation),
|
|
206
|
+
verticalOffset: null,
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
if (componentDesktopLocation) {
|
|
210
|
+
return buildResolved({
|
|
211
|
+
anchor: componentDesktopLocation,
|
|
212
|
+
animateFromLeftOverride,
|
|
213
|
+
horizontalOffset: null,
|
|
214
|
+
isMobileWindow: false,
|
|
215
|
+
shouldFloat: true,
|
|
216
|
+
verticalOffset: null,
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
if (isValidHelloPlacement(settingsDesktopPlacement)) {
|
|
220
|
+
return buildResolved({
|
|
221
|
+
anchor: settingsDesktopPlacement.anchor,
|
|
222
|
+
animateFromLeftOverride,
|
|
223
|
+
horizontalOffset: settingsDesktopPlacement.horizontalOffset,
|
|
224
|
+
isMobileWindow: false,
|
|
225
|
+
shouldFloat: true,
|
|
226
|
+
verticalOffset: settingsDesktopPlacement.verticalOffset,
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
const shouldFloat = !anchorElementSelector && Boolean(desktopLocation);
|
|
230
|
+
const isOnLeft = Boolean(animateFromLeftOverride) ||
|
|
231
|
+
(shouldFloat && desktopLocation
|
|
232
|
+
? includesLeft(desktopLocation)
|
|
233
|
+
: Boolean(shouldAnimateLeftDesktop === null || shouldAnimateLeftDesktop === void 0 ? void 0 : shouldAnimateLeftDesktop()));
|
|
234
|
+
return buildResolved({
|
|
235
|
+
anchor: desktopLocation,
|
|
236
|
+
horizontalOffset: null,
|
|
237
|
+
isMobileWindow: false,
|
|
238
|
+
isOnLeft,
|
|
239
|
+
shouldFloat,
|
|
240
|
+
verticalOffset: null,
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
const zonosHelloCss = () => `:host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:inline-block;--zonos-elements-hello-widget-size:18px;--zonos-elements-hello-bubble-padding:max( 6px, calc(var(--zonos-elements-hello-widget-size) * 0.22) );--zonos-elements-hello-bubble-size:calc( var(--zonos-elements-hello-widget-size) + var(--zonos-elements-hello-bubble-padding) * 2 + 2px )}:host .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}@media screen and (min-width: 769px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float{position:fixed;bottom:var(--zonos-elements-hello-float-inset-y, 72px);right:var(--zonos-elements-hello-float-inset-x, 32px)}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-left{left:var(--zonos-elements-hello-float-inset-x, 32px);right:auto}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:var(--zonos-elements-hello-float-inset-y, 32px)}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float{width:auto;height:auto;z-index:1001}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:var(--zonos-elements-hello-bubble-padding);border-radius:9999px;background:var(--zonos-elements-page-background);font-size:var(--zonos-elements-font-size-s);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--zonos-elements-text-color);position:absolute;background:var(--zonos-elements-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);border-bottom-left-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);left:0;-webkit-transform:translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));transform:translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--zonos-elements-border);border-bottom:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 calc(var(--zonos-elements-hello-bubble-size) / 2);border:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:calc(var(--zonos-elements-hello-bubble-size) / 2);border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));transform:translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);border-bottom-right-radius:calc(var(--zonos-elements-hello-bubble-size) / 2)}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;height:var(--zonos-elements-hello-widget-size);width:var(--zonos-elements-hello-widget-size)}:host .zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:var(--zonos-elements-hello-float-inset-y, 72px);right:var(--zonos-elements-hello-float-inset-x, 32px)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:var(--zonos-elements-hello-float-inset-x, 32px);right:auto}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:var(--zonos-elements-hello-float-inset-y, 32px)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:var(--zonos-elements-hello-float-inset-y, 72px);right:var(--zonos-elements-hello-float-inset-x, 32px)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:var(--zonos-elements-hello-float-inset-x, 32px);right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:var(--zonos-elements-hello-float-inset-y, 32px)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}`;
|
|
146
245
|
|
|
147
246
|
const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
|
|
148
247
|
const ZonosHello = class {
|
|
@@ -351,6 +450,8 @@ const ZonosHello = class {
|
|
|
351
450
|
return localization.localizationStore.helloCountryList;
|
|
352
451
|
}
|
|
353
452
|
componentWillLoad() {
|
|
453
|
+
// Set before first paint so mobile uses mobile placement, not desktop.
|
|
454
|
+
this.isMobile = window.innerWidth <= 768;
|
|
354
455
|
const initInterval = setInterval(async () => {
|
|
355
456
|
if (!this.helloRef) {
|
|
356
457
|
return;
|
|
@@ -436,50 +537,19 @@ const ZonosHello = class {
|
|
|
436
537
|
}
|
|
437
538
|
}
|
|
438
539
|
getHelloLocation() {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
// Desktop
|
|
455
|
-
default:
|
|
456
|
-
case !isMobileWindow: {
|
|
457
|
-
/**
|
|
458
|
-
* Float on desktop when `desktopLocationOverride` is set (explicit
|
|
459
|
-
* consumer request) OR when no anchor is specified and a
|
|
460
|
-
* `desktopLocation` is configured in the store. With an anchor and no
|
|
461
|
-
* override, the widget renders inline at the anchor.
|
|
462
|
-
*/
|
|
463
|
-
const shouldFloat = !!this.desktopLocationOverride ||
|
|
464
|
-
(!zonosStore.zonosStore.helloSettings.anchorElementSelector &&
|
|
465
|
-
!!desktopLocation);
|
|
466
|
-
// When a desktopLocation is set, derive the side deterministically
|
|
467
|
-
// from it so RIGHT positions resolve to `false` (not `undefined`).
|
|
468
|
-
// Spatial detection only runs as a fallback when no location is set
|
|
469
|
-
// (e.g. inline / anchored placement).
|
|
470
|
-
const isOnLeft = this.animateFromLeftOverride ||
|
|
471
|
-
(shouldFloat && desktopLocation
|
|
472
|
-
? desktopLocation.includes('LEFT')
|
|
473
|
-
: this.shouldAnimateLeftDesktop());
|
|
474
|
-
const isOnTop = desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('TOP');
|
|
475
|
-
return {
|
|
476
|
-
isMobileWindow,
|
|
477
|
-
isOnLeft,
|
|
478
|
-
isOnTop,
|
|
479
|
-
shouldFloat,
|
|
480
|
-
};
|
|
481
|
-
}
|
|
482
|
-
}
|
|
540
|
+
// Enum @Prop `*LocationOverride` → component*; settings HelloPlacement object → settings*.
|
|
541
|
+
return resolveHelloFloatPlacement({
|
|
542
|
+
anchorElementSelector: zonosStore.zonosStore.helloSettings.anchorElementSelector,
|
|
543
|
+
animateFromLeftOverride: this.animateFromLeftOverride,
|
|
544
|
+
componentDesktopLocation: this.desktopLocationOverride,
|
|
545
|
+
componentMobileLocation: this.mobileLocationOverride,
|
|
546
|
+
desktopLocation: zonosStore.zonosStore.helloSettings.desktopLocation,
|
|
547
|
+
isMobileWindow: this.isMobile,
|
|
548
|
+
mobileLocation: zonosStore.zonosStore.helloSettings.mobileLocation,
|
|
549
|
+
settingsDesktopPlacement: zonosStore.zonosStore.helloSettings.desktopLocationOverride,
|
|
550
|
+
settingsMobilePlacement: zonosStore.zonosStore.helloSettings.mobileLocationOverride,
|
|
551
|
+
shouldAnimateLeftDesktop: () => Boolean(this.shouldAnimateLeftDesktop()),
|
|
552
|
+
});
|
|
483
553
|
}
|
|
484
554
|
handleAppearanceSettingsOverrideChange() {
|
|
485
555
|
var _a;
|
|
@@ -499,7 +569,7 @@ const ZonosHello = class {
|
|
|
499
569
|
return null;
|
|
500
570
|
}
|
|
501
571
|
const { selectedCountryCode, targetCurrency } = localization.localizationStore;
|
|
502
|
-
const { isOnLeft, isOnTop, shouldFloat } = this.getHelloLocation();
|
|
572
|
+
const { horizontalOffset, isOnLeft, isOnTop, shouldFloat, verticalOffset } = this.getHelloLocation();
|
|
503
573
|
const appearanceSettings = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride || null);
|
|
504
574
|
const { theme } = appearanceSettings;
|
|
505
575
|
const restrictedItemsOnPage = (_b = this.allRestrictedItems) === null || _b === void 0 ? void 0 : _b.filter(product => this.productsOnPage.some(restriction => restriction.description === product.itemDescription));
|
|
@@ -515,7 +585,15 @@ const ZonosHello = class {
|
|
|
515
585
|
});
|
|
516
586
|
}
|
|
517
587
|
const widgetSize = getHelloWidgetSize(zonosStore.zonosStore.helloSettings.widgetSize);
|
|
518
|
-
|
|
588
|
+
const hostStyle = {
|
|
589
|
+
'--zonos-elements-hello-widget-size': `${widgetSize}px`,
|
|
590
|
+
};
|
|
591
|
+
if (horizontalOffset != null && verticalOffset != null) {
|
|
592
|
+
hostStyle['--zonos-elements-hello-float-inset-x'] =
|
|
593
|
+
`${horizontalOffset}px`;
|
|
594
|
+
hostStyle['--zonos-elements-hello-float-inset-y'] = `${verticalOffset}px`;
|
|
595
|
+
}
|
|
596
|
+
return (index.h(index.Host, { class: "zonos--hello zonos--elements", "data-theme": theme, style: hostStyle }, showHello && (index.h("div", { class: classes.classes([
|
|
519
597
|
'zonos--hello-wrapper',
|
|
520
598
|
shouldFloat && 'zonos--hello-widget-float',
|
|
521
599
|
]) }, index.h("button", { class: classes.classes([
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
5
5
|
var classes = require('./classes-D_DL168u.js');
|
|
6
|
-
var getBorderRadius = require('./getBorderRadius-
|
|
6
|
+
var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
|
|
7
7
|
require('./VarianceTest-C98whVgO.js');
|
|
8
8
|
|
|
9
9
|
const zonosInputCss = () => `:host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin:1px}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host{}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}`;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var cart = require('./cart-
|
|
5
|
-
var localization = require('./localization-
|
|
6
|
-
var renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
4
|
+
var cart = require('./cart-7DceSLKl.js');
|
|
5
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
6
|
+
var renderCheckoutCurrency = require('./renderCheckoutCurrency-Ca2HH1Gc.js');
|
|
7
7
|
var classes = require('./classes-D_DL168u.js');
|
|
8
|
-
var invoice = require('./invoice-
|
|
8
|
+
var invoice = require('./invoice-DSuHUQpi.js');
|
|
9
9
|
var renderFallback = require('./renderFallback-Bme86uk8.js');
|
|
10
|
-
require('./zonosStore-
|
|
10
|
+
require('./zonosStore-Bx9jK82G.js');
|
|
11
11
|
require('./VarianceTest-C98whVgO.js');
|
|
12
12
|
require('./handleFetch-DQLhurnE.js');
|
|
13
13
|
require('./isDarkColor-f-fD9c2l.js');
|
|
14
|
-
require('./getBorderRadius-
|
|
14
|
+
require('./getBorderRadius-CyYZw4qq.js');
|
|
15
15
|
require('./TaxId-Q6aDqqWv.js');
|
|
16
16
|
|
|
17
17
|
const zonosInvoiceCartItemsCss = () => `:host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right;padding-right:0}:host .zonos--cart-table .zonos--column:first-child{padding-left:0;width:50px}:host .zonos--cart-table .zonos--cart-item-link{text-align:left}:host .zonos--cart-table .zonos--cart-item-created-at{text-align:right}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host(.mobile) table{margin-top:16px}:host(.mobile) table td{vertical-align:top}`;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var cart = require('./cart-
|
|
5
|
-
var paypal = require('./paypal-
|
|
6
|
-
var localization = require('./localization-
|
|
7
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var cart = require('./cart-7DceSLKl.js');
|
|
5
|
+
var paypal = require('./paypal-CZoctP9S.js');
|
|
6
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
7
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
8
8
|
var handleFetch = require('./handleFetch-DQLhurnE.js');
|
|
9
9
|
var createCustomEvent = require('./createCustomEvent-Cs5zGImL.js');
|
|
10
|
-
var getBorderRadius = require('./getBorderRadius-
|
|
10
|
+
var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
|
|
11
11
|
var VarianceTest = require('./VarianceTest-C98whVgO.js');
|
|
12
12
|
var isInvoiceMobileTablet = require('./isInvoiceMobileTablet-CCqFYV6m.js');
|
|
13
13
|
var classes = require('./classes-D_DL168u.js');
|
|
14
|
-
var shouldShowLanguageSelect = require('./shouldShowLanguageSelect-
|
|
15
|
-
var invoice = require('./invoice-
|
|
16
|
-
var renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
17
|
-
var placeTestOrder = require('./placeTestOrder-
|
|
14
|
+
var shouldShowLanguageSelect = require('./shouldShowLanguageSelect-FyTdz7U_.js');
|
|
15
|
+
var invoice = require('./invoice-DSuHUQpi.js');
|
|
16
|
+
var renderCheckoutCurrency = require('./renderCheckoutCurrency-Ca2HH1Gc.js');
|
|
17
|
+
var placeTestOrder = require('./placeTestOrder-D7baFuaV.js');
|
|
18
18
|
var renderFallback = require('./renderFallback-Bme86uk8.js');
|
|
19
19
|
require('./isDarkColor-f-fD9c2l.js');
|
|
20
20
|
require('./TaxId-Q6aDqqWv.js');
|
|
21
21
|
require('./isContrastColor-B9ldIdpa.js');
|
|
22
|
-
require('./submitGtag-
|
|
22
|
+
require('./submitGtag-D79e8u6s.js');
|
|
23
23
|
|
|
24
24
|
var RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
25
25
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var cart = require('./cart-
|
|
5
|
-
var invoice = require('./invoice-
|
|
6
|
-
var paypal = require('./paypal-
|
|
7
|
-
var localization = require('./localization-
|
|
8
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var cart = require('./cart-7DceSLKl.js');
|
|
5
|
+
var invoice = require('./invoice-DSuHUQpi.js');
|
|
6
|
+
var paypal = require('./paypal-CZoctP9S.js');
|
|
7
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
8
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
9
9
|
var buildCartItemsByTempCart = require('./buildCartItemsByTempCart-ILzonEjb.js');
|
|
10
10
|
var handleFetch = require('./handleFetch-DQLhurnE.js');
|
|
11
11
|
var isInvoiceMobileTablet = require('./isInvoiceMobileTablet-CCqFYV6m.js');
|
|
12
12
|
var classes = require('./classes-D_DL168u.js');
|
|
13
13
|
var VarianceTest = require('./VarianceTest-C98whVgO.js');
|
|
14
14
|
require('./isDarkColor-f-fD9c2l.js');
|
|
15
|
-
require('./getBorderRadius-
|
|
15
|
+
require('./getBorderRadius-CyYZw4qq.js');
|
|
16
16
|
require('./TaxId-Q6aDqqWv.js');
|
|
17
17
|
require('./isContrastColor-B9ldIdpa.js');
|
|
18
|
-
require('./submitGtag-
|
|
18
|
+
require('./submitGtag-D79e8u6s.js');
|
|
19
19
|
|
|
20
20
|
var ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
21
21
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var localization = require('./localization-
|
|
5
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
5
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
6
6
|
require('./handleFetch-DQLhurnE.js');
|
|
7
7
|
require('./VarianceTest-C98whVgO.js');
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
5
5
|
var classes = require('./classes-D_DL168u.js');
|
|
6
6
|
require('./VarianceTest-C98whVgO.js');
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var cart = require('./cart-
|
|
5
|
-
var localization = require('./localization-
|
|
6
|
-
var zonosStore = require('./zonosStore-
|
|
7
|
-
var renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
8
|
-
var getBorderRadius = require('./getBorderRadius-
|
|
4
|
+
var cart = require('./cart-7DceSLKl.js');
|
|
5
|
+
var localization = require('./localization-BJqYz_PB.js');
|
|
6
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
7
|
+
var renderCheckoutCurrency = require('./renderCheckoutCurrency-Ca2HH1Gc.js');
|
|
8
|
+
var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
|
|
9
9
|
require('./VarianceTest-C98whVgO.js');
|
|
10
10
|
require('./handleFetch-DQLhurnE.js');
|
|
11
11
|
require('./isDarkColor-f-fD9c2l.js');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
5
5
|
var classes = require('./classes-D_DL168u.js');
|
|
6
|
-
var getBorderRadius = require('./getBorderRadius-
|
|
6
|
+
var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
|
|
7
7
|
var getContrastColor = require('./getContrastColor-B2Kn8XHA.js');
|
|
8
8
|
var isColorVariable = require('./isColorVariable-CKoJdu9G.js');
|
|
9
9
|
require('./VarianceTest-C98whVgO.js');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
5
5
|
var helpers = require('./helpers-ClOZ11A9.js');
|
|
6
6
|
var classes = require('./classes-D_DL168u.js');
|
|
7
|
-
var getBorderRadius = require('./getBorderRadius-
|
|
7
|
+
var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
|
|
8
8
|
var isDarkColor = require('./isDarkColor-f-fD9c2l.js');
|
|
9
9
|
require('./VarianceTest-C98whVgO.js');
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
5
5
|
var classes = require('./classes-D_DL168u.js');
|
|
6
6
|
var isColorVariable = require('./isColorVariable-CKoJdu9G.js');
|
|
7
7
|
var styles = require('./styles-nowYls3K.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DAAr465v.js');
|
|
4
|
-
var zonosStore = require('./zonosStore-
|
|
4
|
+
var zonosStore = require('./zonosStore-Bx9jK82G.js');
|
|
5
5
|
var classes = require('./classes-D_DL168u.js');
|
|
6
6
|
require('./VarianceTest-C98whVgO.js');
|
|
7
7
|
|
|
@@ -3695,9 +3695,11 @@ const { onChange: zonosStoreOnChange, reset, state: zonosStore, } = createStore(
|
|
|
3695
3695
|
* Default to bottom right so hello would float if anchorElementSelector is not set. Otherwise, this will be ignored
|
|
3696
3696
|
*/
|
|
3697
3697
|
desktopLocation: 'BOTTOM_RIGHT',
|
|
3698
|
+
desktopLocationOverride: null,
|
|
3698
3699
|
excludedUrlPatterns: [],
|
|
3699
3700
|
homepageUrlPattern: '',
|
|
3700
3701
|
mobileLocation: 'BOTTOM_RIGHT',
|
|
3702
|
+
mobileLocationOverride: null,
|
|
3701
3703
|
mode: 'LIVE',
|
|
3702
3704
|
notFoundElementFallback: null,
|
|
3703
3705
|
organization: '',
|
|
@@ -67,19 +67,21 @@
|
|
|
67
67
|
@media screen and (min-width: 769px) {
|
|
68
68
|
:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float {
|
|
69
69
|
position: fixed;
|
|
70
|
-
bottom: 72px;
|
|
71
|
-
right: 32px;
|
|
72
|
-
width: auto;
|
|
73
|
-
height: auto;
|
|
74
|
-
z-index: 1001;
|
|
70
|
+
bottom: var(--zonos-elements-hello-float-inset-y, 72px);
|
|
71
|
+
right: var(--zonos-elements-hello-float-inset-x, 32px);
|
|
75
72
|
}
|
|
76
73
|
:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-left {
|
|
77
|
-
left: 32px;
|
|
74
|
+
left: var(--zonos-elements-hello-float-inset-x, 32px);
|
|
78
75
|
right: auto;
|
|
79
76
|
}
|
|
80
77
|
:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-top {
|
|
81
78
|
bottom: auto;
|
|
82
|
-
top: 32px;
|
|
79
|
+
top: var(--zonos-elements-hello-float-inset-y, 32px);
|
|
80
|
+
}
|
|
81
|
+
:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float {
|
|
82
|
+
width: auto;
|
|
83
|
+
height: auto;
|
|
84
|
+
z-index: 1001;
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
:host .zonos--hello-widget {
|
|
@@ -175,16 +177,16 @@
|
|
|
175
177
|
}
|
|
176
178
|
:host .zonos--hello-widget.zonos--hello-widget-float {
|
|
177
179
|
position: fixed;
|
|
178
|
-
bottom: 72px;
|
|
179
|
-
right: 32px;
|
|
180
|
+
bottom: var(--zonos-elements-hello-float-inset-y, 72px);
|
|
181
|
+
right: var(--zonos-elements-hello-float-inset-x, 32px);
|
|
180
182
|
}
|
|
181
183
|
:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left {
|
|
182
|
-
left: 32px;
|
|
184
|
+
left: var(--zonos-elements-hello-float-inset-x, 32px);
|
|
183
185
|
right: auto;
|
|
184
186
|
}
|
|
185
187
|
:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top {
|
|
186
188
|
bottom: auto;
|
|
187
|
-
top: 32px;
|
|
189
|
+
top: var(--zonos-elements-hello-float-inset-y, 32px);
|
|
188
190
|
}
|
|
189
191
|
:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message > .zonos--hello-message {
|
|
190
192
|
border: none;
|
|
@@ -219,16 +221,16 @@
|
|
|
219
221
|
}
|
|
220
222
|
:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float {
|
|
221
223
|
position: fixed;
|
|
222
|
-
bottom: 72px;
|
|
223
|
-
right: 32px;
|
|
224
|
+
bottom: var(--zonos-elements-hello-float-inset-y, 72px);
|
|
225
|
+
right: var(--zonos-elements-hello-float-inset-x, 32px);
|
|
224
226
|
}
|
|
225
227
|
:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left {
|
|
226
|
-
left: 32px;
|
|
228
|
+
left: var(--zonos-elements-hello-float-inset-x, 32px);
|
|
227
229
|
right: auto;
|
|
228
230
|
}
|
|
229
231
|
:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top {
|
|
230
232
|
bottom: auto;
|
|
231
|
-
top: 32px;
|
|
233
|
+
top: var(--zonos-elements-hello-float-inset-y, 32px);
|
|
232
234
|
}
|
|
233
235
|
:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message > .zonos--hello-message {
|
|
234
236
|
border: none;
|