@zonos/elements 1.3.157 → 1.3.159
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-79deb872.js → cart-d9aa5af3.js} +287 -4
- package/dist/cjs/{getBorderRadius-d3032bda.js → getBorderRadius-d184b623.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isDarkColor-9f6c3601.js → isDarkColor-08d92ed7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-e79ca280.js → paypal-9908b383.js} +3 -3
- package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
- 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 +9 -7
- package/dist/cjs/zonos-card.cjs.entry.js +2 -2
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +33 -15
- package/dist/cjs/zonos-checkout.cjs.entry.js +56 -6
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +12 -7
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-toggle.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-0b1d27df.js → zonosStore-7975e4b6.js} +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +54 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
- package/dist/collection/components/common/zonos-button/zonos-button.css +3 -9
- package/dist/collection/components/common/zonos-button/zonos-button.js +25 -3
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +2 -2
- package/dist/collection/components/main/zonos-controller.js +8 -3
- package/dist/collection/components/store/checkout/cart.js +13 -1
- package/dist/collection/components/store/checkout/stripe.js +32 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/store/zonosStore.js +4 -0
- package/dist/collection/types/generated/graphql.internal.types.js +70 -4
- package/dist/collection/types/index.js +1 -0
- package/dist/collection/types/utils/ZonosSettings.js +1 -0
- package/dist/esm/{cart-aee97bf4.js → cart-8afb3277.js} +287 -5
- package/dist/esm/{getBorderRadius-9e3ea1de.js → getBorderRadius-740610fb.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isDarkColor-95f3ef90.js → isDarkColor-2f59d721.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-4ed46f2f.js → paypal-02c4e5d3.js} +3 -3
- package/dist/esm/zonos-address_8.entry.js +4 -4
- 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 +9 -7
- package/dist/esm/zonos-card.entry.js +2 -2
- package/dist/esm/zonos-cart-items_13.entry.js +33 -15
- package/dist/esm/zonos-checkout.entry.js +56 -6
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +12 -7
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_4.entry.js +4 -4
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-empty-state-payment_4.entry.js +5 -5
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +4 -4
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-language-select_2.entry.js +4 -4
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-toggle.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-82bb17e6.js → zonosStore-71d7e02f.js} +4 -0
- package/dist/esm-es5/cart-8afb3277.js +1 -0
- package/dist/esm-es5/{getBorderRadius-9e3ea1de.js → getBorderRadius-740610fb.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-95f3ef90.js → isDarkColor-2f59d721.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-4ed46f2f.js → paypal-02c4e5d3.js} +1 -1
- package/dist/esm-es5/zonos-address_8.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.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.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 +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- 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-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-82bb17e6.js → zonosStore-71d7e02f.js} +1 -1
- package/dist/scripts/index.d.ts +665 -644
- 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/checkout/zonos-checkout/zonos-checkout.d.ts +5 -0
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +4 -0
- package/dist/types/components/store/checkout/stripe.d.ts +9 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components/store/zonosStore.d.ts +4 -2
- package/dist/types/components/utils/api/getZonosSettings.d.ts +3 -3
- package/dist/types/components.d.ts +8 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +6 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +109 -16
- package/dist/types/types/generated/graphql.internal.types.ts +147 -21
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/utils/ZonosSettings.d.ts +10 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-194bb37a.system.entry.js → p-04122105.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c071a4ca.entry.js → p-047b3313.entry.js} +1 -1
- package/dist/zonos-elements/p-062c81c9.js +1 -0
- package/dist/zonos-elements/{p-822600bd.entry.js → p-073bc210.entry.js} +1 -1
- package/dist/zonos-elements/{p-5e867a64.system.entry.js → p-09e4f412.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9c845327.system.entry.js → p-0b178c5a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-30852c16.system.entry.js → p-0febd074.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-77026d4a.entry.js → p-1570b95c.entry.js} +1 -1
- package/dist/zonos-elements/{p-88fc9989.entry.js → p-15971b78.entry.js} +1 -1
- package/dist/zonos-elements/{p-28c3f736.system.entry.js → p-1f720612.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-75311708.system.entry.js → p-20ca31fd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2297c165.system.js → p-3a531aec.system.js} +1 -1
- package/dist/zonos-elements/{p-5892ce43.system.js → p-3e6e4646.system.js} +1 -1
- package/dist/zonos-elements/{p-7fe8c97d.entry.js → p-417b2afd.entry.js} +1 -1
- package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
- package/dist/zonos-elements/{p-78ea3d1e.system.entry.js → p-57281d6c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c8fa08b8.entry.js → p-6549915d.entry.js} +1 -1
- package/dist/zonos-elements/p-6658cc02.system.js +1 -0
- package/dist/zonos-elements/{p-9fcf4d8c.js → p-672707ce.js} +1 -1
- package/dist/zonos-elements/{p-eefadc0d.system.entry.js → p-6b8b5fc5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-683d1598.entry.js → p-72319b4d.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3be144d.entry.js → p-73e9a8f5.entry.js} +1 -1
- package/dist/zonos-elements/{p-3cbac6c3.system.entry.js → p-748c7aca.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bd1a2003.entry.js → p-75a8e67d.entry.js} +1 -1
- package/dist/zonos-elements/p-77581c1c.entry.js +1 -0
- package/dist/zonos-elements/{p-e1e17979.entry.js → p-7c028742.entry.js} +1 -1
- package/dist/zonos-elements/{p-75b44616.entry.js → p-8213ee19.entry.js} +1 -1
- package/dist/zonos-elements/p-82166888.system.entry.js +1 -0
- package/dist/zonos-elements/{p-1262ad56.entry.js → p-83645bb4.entry.js} +1 -1
- package/dist/zonos-elements/{p-5f761f09.system.entry.js → p-85235fa0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b4d04d26.system.entry.js → p-8addb07b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4bbf8931.entry.js → p-8f4bf7e6.entry.js} +1 -1
- package/dist/zonos-elements/p-98d0ff1b.system.entry.js +1 -0
- package/dist/zonos-elements/{p-86da894d.js → p-98e9c9cf.js} +1 -1
- package/dist/zonos-elements/{p-5b6c5d04.js → p-a349636e.js} +2 -2
- package/dist/zonos-elements/{p-baa22bb3.entry.js → p-a62d60d1.entry.js} +1 -1
- package/dist/zonos-elements/p-a9a95fae.system.js +1 -0
- package/dist/zonos-elements/{p-3a3a2f51.system.entry.js → p-aa5e39e8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-da404f8f.entry.js → p-acabfba5.entry.js} +1 -1
- package/dist/zonos-elements/{p-84f71520.system.entry.js → p-aced2fc6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b336b4ec.entry.js +1 -0
- package/dist/zonos-elements/{p-972261dc.system.js → p-b6fdbbf4.system.js} +1 -1
- package/dist/zonos-elements/{p-84b2efef.entry.js → p-c1f1818a.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3a452d4.system.entry.js → p-c5808c2d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c901ef48.system.entry.js → p-c7219337.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d696a3c2.system.js +1 -0
- package/dist/zonos-elements/{p-c285d20c.js → p-dd999b44.js} +1 -1
- package/dist/zonos-elements/{p-e47ed595.entry.js → p-de23f355.entry.js} +1 -1
- package/dist/zonos-elements/{p-38967d3a.system.entry.js → p-e174b37b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2c45f733.system.entry.js → p-eb5835d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7448f4a6.system.entry.js → p-ed74742d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-673d24f9.system.entry.js → p-f84593ad.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f9789c28.entry.js +1 -0
- package/dist/zonos-elements/{p-0160281f.entry.js → p-fa15b9b5.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-aee97bf4.js +0 -1
- package/dist/zonos-elements/p-130a047c.entry.js +0 -1
- package/dist/zonos-elements/p-13579dba.entry.js +0 -1
- package/dist/zonos-elements/p-43b922bf.js +0 -1
- package/dist/zonos-elements/p-532afee0.system.js +0 -1
- package/dist/zonos-elements/p-6d7dc2a2.system.entry.js +0 -1
- package/dist/zonos-elements/p-bba01622.system.js +0 -1
- package/dist/zonos-elements/p-d1a57d82.system.entry.js +0 -1
- package/dist/zonos-elements/p-e477f1b1.entry.js +0 -1
- package/dist/zonos-elements/p-fb2a884f.system.js +0 -1
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
outline: 1px solid var(--zonos-elements-surface-color);
|
|
63
63
|
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
64
64
|
transition: var(--zonos-elements-transition);
|
|
65
|
-
font-weight: 500;
|
|
65
|
+
font-weight: var(--zonos--font-weight, 500);
|
|
66
66
|
user-select: none;
|
|
67
67
|
font-family: var(--zonos--font-family, Inter), Inter;
|
|
68
68
|
letter-spacing: normal;
|
|
@@ -240,16 +240,10 @@
|
|
|
240
240
|
outline: none;
|
|
241
241
|
}
|
|
242
242
|
:host button:not(.override-background).subtle:not([disabled]):hover {
|
|
243
|
-
background:
|
|
243
|
+
background: rgba(0, 0, 0, 0.1);
|
|
244
244
|
}
|
|
245
245
|
:host button:not(.override-background).subtle:not([disabled]):active {
|
|
246
|
-
background:
|
|
247
|
-
}
|
|
248
|
-
:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:hover {
|
|
249
|
-
background: var(--zonos-elements-gray-100);
|
|
250
|
-
}
|
|
251
|
-
:host button:not(.override-background).subtle:not([disabled]).dark-hover-subtle:active {
|
|
252
|
-
background: var(--zonos-elements-gray-200);
|
|
246
|
+
background: rgba(0, 0, 0, 0.2);
|
|
253
247
|
}
|
|
254
248
|
:host button:not(.override-background).subtle:focus {
|
|
255
249
|
box-shadow: var(--zonos-elements-button-focus-ring);
|
|
@@ -93,6 +93,7 @@ export class ZonosButton {
|
|
|
93
93
|
this.noPaddingRight = false;
|
|
94
94
|
this.loading = false;
|
|
95
95
|
this.justifyContent = 'center';
|
|
96
|
+
this.bold = false;
|
|
96
97
|
this.theme = undefined;
|
|
97
98
|
this.hasIcon = !!this.icon;
|
|
98
99
|
this.hasContent = false;
|
|
@@ -121,12 +122,13 @@ export class ZonosButton {
|
|
|
121
122
|
const borderStyle = getBorderRadius({
|
|
122
123
|
overrideBorderStyle: this.borderStyle,
|
|
123
124
|
});
|
|
124
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '71402d1acee8307c6ab3c3fb4b552c2df3800ced', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
|
|
125
126
|
'--zonos--background-color': backgroundColor,
|
|
126
127
|
'--zonos--border-radius': borderStyle,
|
|
127
128
|
'--zonos--color': color,
|
|
128
129
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
129
|
-
|
|
130
|
+
'--zonos--font-weight': this.bold ? 'bold' : 'normal',
|
|
131
|
+
}) }, h("button", { key: '7168a567c49b6ea6d77fa1fd329c478f2c7b5512', class: classes([
|
|
130
132
|
this.hasIcon && 'has-icon',
|
|
131
133
|
this.hasContent && 'has-content',
|
|
132
134
|
this.noBackground && 'no-background',
|
|
@@ -141,7 +143,7 @@ export class ZonosButton {
|
|
|
141
143
|
backgroundColor && variant === 'standard' && 'override-background',
|
|
142
144
|
]), disabled: disabled, style: {
|
|
143
145
|
justifyContent: this.justifyContent,
|
|
144
|
-
} }, this.loading && (h("div", { key: '
|
|
146
|
+
} }, this.loading && (h("div", { key: 'cc1d53b41d4ae20f7bad93a73b539b7de16ea032', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '83043fb631ff7e246aa69b0d4ef8322439043b4a', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'b1431364d8a5034d98b6bc4e3acfd4631ec93ec7', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
145
147
|
}
|
|
146
148
|
static get is() { return "zonos-button"; }
|
|
147
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -492,6 +494,26 @@ export class ZonosButton {
|
|
|
492
494
|
"reflect": false,
|
|
493
495
|
"defaultValue": "'center'"
|
|
494
496
|
},
|
|
497
|
+
"bold": {
|
|
498
|
+
"type": "boolean",
|
|
499
|
+
"mutable": false,
|
|
500
|
+
"complexType": {
|
|
501
|
+
"original": "boolean",
|
|
502
|
+
"resolved": "boolean",
|
|
503
|
+
"references": {}
|
|
504
|
+
},
|
|
505
|
+
"required": false,
|
|
506
|
+
"optional": false,
|
|
507
|
+
"docs": {
|
|
508
|
+
"tags": [],
|
|
509
|
+
"text": "Whether or not the button text color is bold"
|
|
510
|
+
},
|
|
511
|
+
"getter": false,
|
|
512
|
+
"setter": false,
|
|
513
|
+
"attribute": "bold",
|
|
514
|
+
"reflect": false,
|
|
515
|
+
"defaultValue": "false"
|
|
516
|
+
},
|
|
495
517
|
"theme": {
|
|
496
518
|
"type": "string",
|
|
497
519
|
"mutable": false,
|
|
@@ -87,9 +87,9 @@ export class ZonosConfirmDialog {
|
|
|
87
87
|
'--zonos--border-radius': borderStyle,
|
|
88
88
|
'--zonos--dialog-width': `${this.dialogWidth}px`,
|
|
89
89
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
90
|
-
} }, h("div", { key: 'e2b1358dedfb3e5a3dc42099330be1d3bb6845e5', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: '
|
|
90
|
+
} }, h("div", { key: 'e2b1358dedfb3e5a3dc42099330be1d3bb6845e5', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: 'f4cf0ddf4ee1695bef503809a810710902c2e810', class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: 'a8910f985165f18399e628b05b5075d04487007b', class: "zonos--confirm-dialog", onBlur: () => {
|
|
91
91
|
this.focusDialog();
|
|
92
|
-
} }, h("div", { key: '
|
|
92
|
+
} }, h("div", { key: '723b4753614273bafe03488cdc5eb7a2a14cfb2c', class: "wrapper" }, h("div", { key: '53faf2cbdcec3acdff25f8471a37afdfb4298ef3', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: '8e6ee33eb8ee48acb99066ce964b52e81086176f', class: "content" }, h("div", { key: '6c800bbc27a2e62756b20068b97e5777ebf5fbb2', class: "title" }, h("zonos-text", { key: '7bcad323167f954ae83c9afd7c4473efc5e32c37', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '85ffc3c1492dd432953bc645103590bacd9a3912', class: "subtitle" }, h("zonos-text", { key: 'f7e859f0c8256ead95db3d74b78b50fe6ea84700', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'c35405667155231fb6037147ac35d0c1f5ed0dd0', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '082731ae55230c6fe05307871ef5e6a124616e33', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '4873b0e88c691197104b95658fc00940d97d44b9', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "zonos-confirm-dialog"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -146,14 +146,19 @@ export class ZonosController {
|
|
|
146
146
|
((_c = this.config.checkoutSettings) === null || _c === void 0 ? void 0 : _c.successBehavior) === 'CLOSE_MODAL';
|
|
147
147
|
// override subscription status
|
|
148
148
|
const config = Object.assign(Object.assign({}, this.config), { appearance: Object.assign(Object.assign({}, this.config.appearance), { logoUrl: getLogoUrl() }), checkoutSettings: this.config.checkoutSettings
|
|
149
|
-
? Object.assign(Object.assign({}, this.config.checkoutSettings), {
|
|
149
|
+
? Object.assign(Object.assign({}, this.config.checkoutSettings), {
|
|
150
|
+
// Don't allow to override settlement currencies setting. This setting is only configured by Zonos
|
|
151
|
+
allowedSettlementCurrencies: undefined,
|
|
152
|
+
// Don't allow to override subscription status
|
|
153
|
+
subscriptionStatus: undefined,
|
|
150
154
|
// Set success redirect url to store url if it's legacy checkout.
|
|
151
155
|
// when success behavior is CLOSE_MODAL, use the default success behavior and update the keep shopping button link to their store, because just redirect user without confirmation page would confuse them
|
|
152
156
|
successBehavior: shouldOverrideSuccessBehavior
|
|
153
157
|
? 'ZONOS_SUCCESS_PAGE'
|
|
154
158
|
: this.config.checkoutSettings.successBehavior, successRedirectUrl: shouldOverrideSuccessBehavior
|
|
155
159
|
? (_d = window.Zonos.cartData) === null || _d === void 0 ? void 0 : _d.storeBaseUrl
|
|
156
|
-
: this.config.checkoutSettings.successRedirectUrl
|
|
160
|
+
: this.config.checkoutSettings.successRedirectUrl
|
|
161
|
+
}) : undefined });
|
|
157
162
|
// load default setting if failed to load user settings
|
|
158
163
|
zonosStoreInitSetting({
|
|
159
164
|
overrideSettings: config,
|
|
@@ -243,7 +248,7 @@ export class ZonosController {
|
|
|
243
248
|
zonosStore.organizationName = organizationName;
|
|
244
249
|
}
|
|
245
250
|
render() {
|
|
246
|
-
return h(Host, { key: '
|
|
251
|
+
return h(Host, { key: '031af3ed517512a8f937ac66672f42aa28759826', class: "zonos--elements" });
|
|
247
252
|
}
|
|
248
253
|
static get is() { return "zonos-controller"; }
|
|
249
254
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,6 +2,7 @@ import { createStore } from "@stencil/store";
|
|
|
2
2
|
import { stripeStore, stripeStoreInitCheckoutSession, stripeStoreReset, stripeStoreUpdateCheckoutSession, } from "./stripe";
|
|
3
3
|
import { localizationStore } from "../hello/localization";
|
|
4
4
|
import { translate } from "../translationStore";
|
|
5
|
+
import { zonosStore } from "../zonosStore";
|
|
5
6
|
import { getIsStagingMode } from "../../utils/checkout/getIsStagingMode";
|
|
6
7
|
import { log } from "../../utils/logging/log";
|
|
7
8
|
import { logError } from "../../utils/logging/logError";
|
|
@@ -237,7 +238,7 @@ const cartStoreReCalculateTotal = async ({ adjustmentsAmount, cartId, currency,
|
|
|
237
238
|
return true;
|
|
238
239
|
};
|
|
239
240
|
const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, landedCostId) => {
|
|
240
|
-
var _a, _b, _c, _d, _e, _f;
|
|
241
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
241
242
|
cartStore.selectedShippingOption = selectedShippingOption;
|
|
242
243
|
// update shipping transit info
|
|
243
244
|
const transitData = cartStoreGetShippingTransitInfo(cartStore.selectedShippingOption);
|
|
@@ -279,6 +280,17 @@ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, lan
|
|
|
279
280
|
dutiesTaxesFeesEstimate: dutiesTaxesFeesEstimate,
|
|
280
281
|
landedCostId: (_f = selectedLandedCost.landedCost) === null || _f === void 0 ? void 0 : _f.id,
|
|
281
282
|
});
|
|
283
|
+
// update conditionally render pay in USD button
|
|
284
|
+
const firstItem = (_g = cartStore.items.find(Boolean)) === null || _g === void 0 ? void 0 : _g.currencyCode;
|
|
285
|
+
// Stripe address event data should be available at this point
|
|
286
|
+
const shipToCountry = ((_h = stripeStore.stripeAddressEventData) === null || _h === void 0 ? void 0 : _h.value.address.country) || 'US';
|
|
287
|
+
// Only show pay in USD button if item's currency is in USD, the setting is enabled and the order presentment currency is not USD, also only in USD settlement ship to country list
|
|
288
|
+
stripeStore.shouldRenderPayInUsdButton =
|
|
289
|
+
firstItem === 'USD' &&
|
|
290
|
+
zonosStore.checkoutSettings.allowedSettlementCurrencies ===
|
|
291
|
+
'LOCAL_AND_USD' &&
|
|
292
|
+
((_j = cartStore.checkoutSession) === null || _j === void 0 ? void 0 : _j.subtotals.presentmentCurrencyCode) !== 'USD' &&
|
|
293
|
+
!!((_l = (_k = zonosStore.genericSettings) === null || _k === void 0 ? void 0 : _k.usdSettlementCountryEnabled) === null || _l === void 0 ? void 0 : _l.includes(shipToCountry));
|
|
282
294
|
return updateCalculateStatus;
|
|
283
295
|
};
|
|
284
296
|
onChange('checkoutSessionId', () => {
|
|
@@ -17,6 +17,7 @@ import { validateCheckoutSession } from "../../utils/validateCheckoutSession";
|
|
|
17
17
|
import { addressRuleStyle } from "../../../styles/stripe/addressRuleStyle";
|
|
18
18
|
import { defaultVariable } from "../../../styles/stripe/defaultVariable";
|
|
19
19
|
const { onChange, reset, state: stripeStore, } = createStore(() => ({
|
|
20
|
+
checkoutSettlementCurrency: 'USD',
|
|
20
21
|
clientSecret: sessionStorage.getItem('zonos--client-secret') || '',
|
|
21
22
|
customErrorMessage: null,
|
|
22
23
|
fetchingLandedCostAbortController: null,
|
|
@@ -24,6 +25,7 @@ const { onChange, reset, state: stripeStore, } = createStore(() => ({
|
|
|
24
25
|
isFetchingLandedCost: false,
|
|
25
26
|
isFetchingSession: false,
|
|
26
27
|
shouldInventoryRefund: false,
|
|
28
|
+
shouldRenderPayInUsdButton: false,
|
|
27
29
|
/**
|
|
28
30
|
* Default to skip payment intent, only create payment intent when "skipPaymentIntent" in url's query params is set "0"
|
|
29
31
|
* @default true
|
|
@@ -652,6 +654,35 @@ const stripeStoreInitCheckoutSession = async () => {
|
|
|
652
654
|
log('done-init-checkout-session');
|
|
653
655
|
return true;
|
|
654
656
|
};
|
|
657
|
+
const stripeStoreUpdateCheckoutSessionBaseCurrency = async () => {
|
|
658
|
+
const checkoutSessionId = cartStore.checkoutSessionId;
|
|
659
|
+
// Checkout session id should be available at this point
|
|
660
|
+
if (!checkoutSessionId) {
|
|
661
|
+
logError('Failed to update checkout session base currency');
|
|
662
|
+
return false;
|
|
663
|
+
}
|
|
664
|
+
// Only update checkout session currency if setting is enabled
|
|
665
|
+
if (zonosStore.checkoutSettings.allowedSettlementCurrencies === 'LOCAL') {
|
|
666
|
+
log('allowedSettlementCurrencies: "LOCAL". Skip updating checkout session base currency');
|
|
667
|
+
return true;
|
|
668
|
+
}
|
|
669
|
+
const { json } = await handleFetch('/api/zonos-elements/update-checkout-session-base-currency', {
|
|
670
|
+
body: {
|
|
671
|
+
checkoutSessionId,
|
|
672
|
+
currencyCode: stripeStore.checkoutSettlementCurrency,
|
|
673
|
+
},
|
|
674
|
+
method: 'POST',
|
|
675
|
+
});
|
|
676
|
+
const settlementCurrencyCode = json === null || json === void 0 ? void 0 : json.checkoutSessionBaseCurrencyUpdate.subtotals.presentmentCurrencyCode;
|
|
677
|
+
// S
|
|
678
|
+
if (!json ||
|
|
679
|
+
settlementCurrencyCode !== stripeStore.checkoutSettlementCurrency) {
|
|
680
|
+
logError('Failed to update checkout session base currency');
|
|
681
|
+
return false;
|
|
682
|
+
}
|
|
683
|
+
log(`Updated checkout session to settlement currency "${settlementCurrencyCode}".`);
|
|
684
|
+
return true;
|
|
685
|
+
};
|
|
655
686
|
/**
|
|
656
687
|
* Update checkout session. Use for updating amount with landed cost id, or update session when cart items change
|
|
657
688
|
*/
|
|
@@ -823,4 +854,4 @@ onChange('clientSecret', clientSecret => {
|
|
|
823
854
|
sessionStorage.removeItem('zonos--client-secret');
|
|
824
855
|
}
|
|
825
856
|
});
|
|
826
|
-
export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreGetPaymentIntent, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
|
|
857
|
+
export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreGetPaymentIntent, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, stripeStoreUpdateCheckoutSessionBaseCurrency, };
|
|
@@ -38,6 +38,9 @@ export const stringsArabic = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'عنوان الفوترة',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'عند الدفع بالدولار الأمريكي، سيتم خصم المبلغ من بطاقتك مباشرة دون تحويل العملة. ومع ذلك، قد يؤدي استخدام بطاقة غير قائمة على الدولار الأمريكي إلى رسوم إضافية لتحويل العملة على مستوى البنك.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'رقم CPF/CNPJ',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsArabic = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'انقر لنسخ رقم البطاقة. استخدم أي تاريخ انتهاء صلاحية مستقبلي ورمز CVC مكون من ثلاثة أرقام.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'انقر للدفع بالدولار الأمريكي',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'أغلق',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsArabic = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'ادفع [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'الدفع بالدولار الأمريكي (USD)؟',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'الدفع',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsArabic = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'تعذر التحقق من المخزون. حاول مرة أخرى.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'غير قادر على إتمام الدفع بعملة [currency]. يرجى المحاولة مرة أخرى أو اختيار عملة مختلفة. إذا استمرت المشكلة، اتصل بفريق الدعم لدينا للحصول على المساعدة.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'غير قادر على استرداد جلسة الدفع في الوقت الحالي. يرجى المحاولة مرة أخرى أو الاتصال بفريق الدعم لدينا.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsBase = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Billing address',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'CPF/CNPJ number',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsBase = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'Click to copy the card number. Use any future expiration date and three number CVC.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Click to pay in USD',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Close',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsBase = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Pay [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'Pay in USD (United States Dollar)?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Payment',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsBase = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'Unable to check inventory. Please try again.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsChinese = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: '账单地址',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: '通过以美元支付,您的卡将直接扣款,无需货币转换。然而,使用非美元卡可能会导致银行层面的额外货币转换费用。',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'CPF/CNPJ号码',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsChinese = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: '点击复制卡号。使用任何未来的到期日期和三位数的CVC。',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: '点击以美元支付',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: '关闭',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsChinese = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: '支付[organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: '用美元(USD)支付?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: '支付',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsChinese = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: '无法检查库存。请再试一次。',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: '无法完成[currency]的付款。请重试或选择其他货币。如果问题仍然存在,请联系支持团队以获得帮助。',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: '目前无法检索结账会话。请重试或联系我们的支持团队。',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsDanish = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Fakturaadresse',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'Ved betaling i USD vil dit kort blive opkrævet direkte uden valutakonvertering. Dog kan brug af et kort, der ikke er baseret på USD, resultere i yderligere valutakonverteringsgebyrer på bankniveau.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'CPF/CNPJ-nummer',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsDanish = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'Klik for at kopiere kortnummeret. Brug en hvilken som helst fremtidig udløbsdato og tre cifre CVC.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Klik for at betale i USD',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Lukke',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsDanish = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Betal [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'Betal i USD (amerikanske dollar)?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Betaling',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsDanish = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'Kunne ikke tjekke lagerbeholdningen. Prøv venligst igen.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'Kan ikke gennemføre betaling i [currency]. Prøv igen eller vælg en anden valuta. Hvis problemet fortsætter, kontakt vores supportteam for hjælp.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'Kan ikke hente betalingssessionen i øjeblikket. Prøv venligst igen eller kontakt vores supportteam.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsDutch = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Factuuradres',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'Door in USD te betalen, wordt uw kaart direct belast zonder valutaconversie. Het gebruik van een kaart die niet op USD is gebaseerd, kan echter resulteren in extra valutaconversiekosten op bankniveau.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'CPF/CNPJ-nummer',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsDutch = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'Klik om het kaartnummer te kopiëren. Gebruik een toekomstige vervaldatum en een CVC van drie cijfers.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Klik om in USD te betalen',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Sluiten',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsDutch = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Betaal [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'Betalen in USD (Amerikaanse Dollar)?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Betaling',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsDutch = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'Kon de voorraad niet controleren. Probeer het opnieuw.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'Betaling in [currency] kan niet worden voltooid. Probeer het opnieuw of selecteer een andere valuta. Als het probleem aanhoudt, neem dan contact op met ons ondersteuningsteam voor hulp.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'Kan de betaal sessie momenteel niet ophalen. Probeer het opnieuw of neem contact op met ons ondersteuningsteam.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsFrench = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Adresse de facturation',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: "En payant en USD, votre carte sera débitée directement sans conversion de devise. Cependant, l'utilisation d'une carte non basée sur l'USD peut entraîner des frais supplémentaires de conversion de devise au niveau bancaire.",
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'Numéro CPF/CNPJ',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsFrench = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: "Cliquez pour copier le numéro de la carte. Utilisez une date d'expiration future et un CVC à trois chiffres.",
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Cliquez pour payer en USD',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Fermer',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsFrench = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Payer [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'Payer en USD (Dollar Américain) ?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Paiement',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsFrench = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: "Impossible de vérifier l'inventaire. Veuillez réessayer.",
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: "Impossible de terminer le paiement en [currency]. Veuillez réessayer ou sélectionner une autre devise. Si le problème persiste, contactez notre équipe d'assistance pour obtenir de l'aide.",
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: "Impossible de récupérer la session de paiement pour le moment. Veuillez réessayer ou contacter notre équipe d'assistance.",
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsGerman = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Rechnungsadresse',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'Bei Zahlung in USD wird Ihre Karte direkt ohne Währungsumrechnung belastet. Die Verwendung einer nicht auf USD basierenden Karte kann jedoch zu zusätzlichen Währungsumrechnungsgebühren auf Bankebene führen.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'CPF/CNPJ-Nummer',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsGerman = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'Klicken Sie, um die Kartennummer zu kopieren. Verwenden Sie ein zukünftiges Ablaufdatum und einen dreistelligen CVC.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Klicken Sie, um in USD zu bezahlen',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Schließen',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsGerman = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Zahlen [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'In USD (US-Dollar) bezahlen?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Zahlung',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsGerman = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'Inventar konnte nicht überprüft werden. Bitte versuchen Sie es erneut.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'Zahlung in [currency] kann nicht abgeschlossen werden. Bitte versuchen Sie es erneut oder wählen Sie eine andere Währung. Wenn das Problem weiterhin besteht, wenden Sie sich an unser Support-Team.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'Die Checkout-Sitzung kann momentan nicht abgerufen werden. Bitte versuchen Sie es erneut oder kontaktieren Sie unser Support-Team.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsHebrew = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'כתובת לחיוב',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'על ידי תשלום ב-USD, הכרטיס שלך יחויב ישירות ללא המרת מטבע. עם זאת, שימוש בכרטיס שאינו מבוסס על USD עשוי לגרום לעמלות המרת מטבע נוספות ברמת הבנק.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'מספר CPF/CNPJ',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsHebrew = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'לחץ להעתיק את מספר הכרטיס. השתמש בכל תאריך תפוגה עתידי ו-CVC בן שלושה מספרים.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'לחץ כדי לשלם ב-USD',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'סגור',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsHebrew = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'שלם [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'לשלם ב-USD (דולר אמריקאי)?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'תַשְׁלוּם',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsHebrew = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'לא ניתן היה לבדוק את המלאי. אנא נסה שוב.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'לא ניתן להשלים את התשלום ב-[currency]. אנא נסה שוב או בחר מטבע אחר. אם הבעיה נמשכת, פנה לצוות התמיכה שלנו לעזרה.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'לא ניתן לאחזר את מושב התשלום כרגע. אנא נסה שוב או צור קשר עם צוות התמיכה שלנו.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsIndonesian = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Alamat Penagihan',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: 'Dengan membayar dalam USD, kartu Anda akan dikenakan biaya langsung tanpa konversi mata uang. Namun, menggunakan kartu yang tidak berbasis USD dapat mengakibatkan biaya konversi mata uang tambahan di tingkat bank.',
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'Nomor CPF/CNPJ',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsIndonesian = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'Klik untuk menyalin nomor kartu. Gunakan tanggal kedaluwarsa di masa mendatang dan tiga angka CVC.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Klik untuk membayar dalam USD',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Tutup',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsIndonesian = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Bayar [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'Bayar dalam USD (Dolar Amerika Serikat)?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Pembayaran',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsIndonesian = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: 'Tidak dapat memeriksa inventaris. Silakan coba lagi.',
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'Tidak dapat menyelesaikan pembayaran dalam [currency]. Silakan coba lagi atau pilih mata uang lain. Jika masalah berlanjut, hubungi tim dukungan kami untuk mendapatkan bantuan.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'Tidak dapat mengambil sesi checkout saat ini. Silakan coba lagi atau hubungi tim dukungan kami.',
|
|
394
406
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsItalian = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Indirizzo di fatturazione',
|
|
40
40
|
},
|
|
41
|
+
'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
|
|
42
|
+
value: "Pagando in USD, la tua carta verrà addebitata direttamente senza conversione di valuta. Tuttavia, l'uso di una carta non basata su USD può comportare costi aggiuntivi di conversione valutaria a livello bancario.",
|
|
43
|
+
},
|
|
41
44
|
'CPF/CNPJ number': {
|
|
42
45
|
value: 'Numero CPF/CNPJ',
|
|
43
46
|
},
|
|
@@ -56,6 +59,9 @@ export const stringsItalian = {
|
|
|
56
59
|
'Click to copy the card number. Use any future expiration date and three number CVC.': {
|
|
57
60
|
value: 'Fare clic per copiare il numero della carta. Usa una qualsiasi data di scadenza futura e un CVC di tre cifre.',
|
|
58
61
|
},
|
|
62
|
+
'Click to pay in USD': {
|
|
63
|
+
value: 'Fai clic per pagare in USD',
|
|
64
|
+
},
|
|
59
65
|
Close: {
|
|
60
66
|
value: 'Chiudere',
|
|
61
67
|
},
|
|
@@ -212,6 +218,9 @@ export const stringsItalian = {
|
|
|
212
218
|
'Pay [organizationName]': {
|
|
213
219
|
value: 'Paga [organizationName]',
|
|
214
220
|
},
|
|
221
|
+
'Pay in USD (United States Dollar)?': {
|
|
222
|
+
value: 'Pagare in USD (Dollaro Statunitense)?',
|
|
223
|
+
},
|
|
215
224
|
Payment: {
|
|
216
225
|
value: 'Pagamento',
|
|
217
226
|
},
|
|
@@ -389,6 +398,9 @@ export const stringsItalian = {
|
|
|
389
398
|
'Unable to check inventory. Please try again.': {
|
|
390
399
|
value: "Impossibile verificare l'inventario. Si prega di riprovare.",
|
|
391
400
|
},
|
|
401
|
+
'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
|
|
402
|
+
value: 'Impossibile completare il pagamento in [currency]. Riprova o seleziona una valuta diversa. Se il problema persiste, contatta il nostro team di supporto per assistenza.',
|
|
403
|
+
},
|
|
392
404
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
393
405
|
value: 'Impossibile recuperare la sessione di pagamento al momento. Si prega di riprovare o contattare il nostro team di supporto.',
|
|
394
406
|
},
|