@zonos/elements 1.3.26 → 1.3.28
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-7e817cad.js → cart-62ff7ee7.js} +320 -200
- package/dist/cjs/index.cjs.js +3 -54
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{submitGtag-7e0065da.js → submitGtag-a5f8eaab.js} +1 -1
- package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +59 -22
- package/dist/cjs/zonos-hello.cjs.entry.js +30 -3
- package/dist/cjs/zonos-payment.cjs.entry.js +2 -2
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +31 -3
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +55 -21
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +16 -10
- package/dist/collection/components/store/translationStore/strings.base.js +16 -10
- package/dist/collection/components/store/translationStore/strings.chinese.js +16 -10
- package/dist/collection/components/store/translationStore/strings.danish.js +16 -10
- package/dist/collection/components/store/translationStore/strings.dutch.js +16 -10
- package/dist/collection/components/store/translationStore/strings.french.js +16 -10
- package/dist/collection/components/store/translationStore/strings.german.js +16 -10
- package/dist/collection/components/store/translationStore/strings.hebrew.js +16 -10
- package/dist/collection/components/store/translationStore/strings.indonesian.js +16 -10
- package/dist/collection/components/store/translationStore/strings.italian.js +16 -10
- package/dist/collection/components/store/translationStore/strings.japanese.js +16 -10
- package/dist/collection/components/store/translationStore/strings.korean.js +16 -10
- package/dist/collection/components/store/translationStore/strings.norwegian.js +16 -10
- package/dist/collection/components/store/translationStore/strings.polish.js +16 -10
- package/dist/collection/components/store/translationStore/strings.portuguese.js +16 -10
- package/dist/collection/components/store/translationStore/strings.russian.js +16 -10
- package/dist/collection/components/store/translationStore/strings.spanish.js +16 -10
- package/dist/collection/components/store/translationStore/strings.swedish.js +16 -10
- package/dist/collection/components/store/translationStore/strings.turkish.js +16 -10
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +16 -10
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/wrapStringWithLink.js +3 -0
- package/dist/collection/scripts/_zonosBase.js +0 -51
- package/dist/esm/{cart-13e6a811.js → cart-b96aaa4f.js} +320 -200
- package/dist/esm/index.js +3 -54
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{submitGtag-c8bb6f2e.js → submitGtag-6e271d76.js} +1 -1
- package/dist/esm/zonos-address_8.entry.js +3 -3
- package/dist/esm/zonos-card_2.entry.js +1 -1
- package/dist/esm/zonos-cart-items_12.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_3.entry.js +3 -3
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +59 -22
- package/dist/esm/zonos-hello.entry.js +30 -3
- package/dist/esm/zonos-payment.entry.js +2 -2
- package/dist/esm-es5/cart-b96aaa4f.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{submitGtag-c8bb6f2e.js → submitGtag-6e271d76.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.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_3.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.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-payment.entry.js +1 -1
- package/dist/scripts/index.d.ts +11 -3
- 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 +8 -0
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +8 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.base.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.danish.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.french.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.german.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.italian.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.korean.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.polish.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.russian.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +14 -8
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +14 -8
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/wrapStringWithLink.d.ts +4 -0
- package/dist/types/scripts/_zonosBase.d.ts +0 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +2 -2
- package/dist/types/types/hello/HelloConfig.d.ts +10 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-eea8111c.system.entry.js → p-087c83a5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3e61deb.system.entry.js → p-10b9a681.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1a40aaf4.system.js +1 -0
- package/dist/zonos-elements/{p-43c1dd27.system.entry.js → p-2613b5d3.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2cb880e7.system.entry.js +1 -0
- package/dist/zonos-elements/p-3de62c84.entry.js +1 -0
- package/dist/zonos-elements/{p-492b8e12.entry.js → p-4a0cf47b.entry.js} +1 -1
- package/dist/zonos-elements/{p-094c7343.system.entry.js → p-4e01d1ab.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-452ed1a7.entry.js → p-5b4c1c09.entry.js} +1 -1
- package/dist/zonos-elements/p-5d53f9a4.js +1 -0
- package/dist/zonos-elements/{p-089c3737.system.entry.js → p-666d1605.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b88e52b5.entry.js → p-692816a7.entry.js} +1 -1
- package/dist/zonos-elements/p-725c2d57.entry.js +1 -0
- package/dist/zonos-elements/{p-e975b187.entry.js → p-7664dec5.entry.js} +1 -1
- package/dist/zonos-elements/{p-2011cb03.entry.js → p-78a839b8.entry.js} +1 -1
- package/dist/zonos-elements/p-8b2125b3.system.js +1 -0
- package/dist/zonos-elements/{p-3e488bff.entry.js → p-8c9e7980.entry.js} +1 -1
- package/dist/zonos-elements/p-9b0aa65c.system.js +1 -0
- package/dist/zonos-elements/{p-cab01f64.system.entry.js → p-9cdfb51b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-99da2348.entry.js → p-9f7c0472.entry.js} +1 -1
- package/dist/zonos-elements/{p-58edaab6.system.entry.js → p-b208fec6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-eabe2abc.js → p-b468f941.js} +1 -1
- package/dist/zonos-elements/{p-60621085.entry.js → p-c63a7dde.entry.js} +1 -1
- package/dist/zonos-elements/{p-f7e2d33b.system.entry.js → p-d7b2a87f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
- package/dist/zonos-elements/{p-a5d823d3.system.entry.js → p-f69f1ec6.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-13e6a811.js +0 -1
- package/dist/zonos-elements/p-121be462.system.js +0 -1
- package/dist/zonos-elements/p-1f2077df.entry.js +0 -1
- package/dist/zonos-elements/p-3baf7a18.entry.js +0 -1
- package/dist/zonos-elements/p-74488e31.system.js +0 -1
- package/dist/zonos-elements/p-875a311d.js +0 -1
- package/dist/zonos-elements/p-d1771035.system.js +0 -1
- package/dist/zonos-elements/p-e80a5ed7.system.entry.js +0 -1
|
@@ -62,6 +62,9 @@ export const stringsPortuguese = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Não fechar',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Taxas e impostos na Austrália, o IVA ou GST é [percentage] e é devido em todos os pedidos',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Impostos e taxas serão aplicados aos itens e ao frete.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsPortuguese = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Sobrenome',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Saiba mais.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Faltam campos obrigatórios. Certifique-se de que todos os campos estão preenchidos.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsPortuguese = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Algo deu errado.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: '
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Gaste [threshold] livre de impostos',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Gaste [threshold] livre de impostos',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Estado',
|
|
@@ -221,6 +230,9 @@ export const stringsPortuguese = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'Os seguintes itens não podem ser enviados para o seu país e não estão incluídos no total do seu carrinho.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'A lei de GST de baixo valor aprovada em 1º de julho de 2018 se aplica a este varejista.',
|
|
235
|
+
},
|
|
224
236
|
"There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
225
237
|
value: 'Ocorreu um erro ao criar a sua sessão de checkout. Por favor, recarregue a página e tente novamente ou entre em contato com o suporte se o erro persistir',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsPortuguese = {
|
|
|
248
260
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
249
261
|
value: 'Enviamos um e-mail de confirmação com os detalhes do pedido para sua revisão. E nossa equipe está preparando cuidadosamente seu pedido para que ele chegue no prazo.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Bem-vindo ao [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Bem-vindo ao [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Bem-vindo!',
|
|
@@ -281,13 +293,7 @@ export const stringsPortuguese = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'clique para saber mais',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'livre de impostos',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'itens restritos',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'livre de impostos',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsRussian = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Не закрывайте',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Пошлины и налоги в Австралии, НДС или GST составляет [percentage] и подлежит оплате на все заказы',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Пошлины и налоги будут применены к товарам и доставке.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsRussian = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Фамилия',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Узнать больше.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Отсутствуют необходимые поля. Убедитесь, что все поля заполнены.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsRussian = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Что-то пошло не так.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: '
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Тратьте [threshold] без пошлин',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Тратьте [threshold] без налога',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Штат',
|
|
@@ -221,6 +230,9 @@ export const stringsRussian = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'Следующие товары не могут быть доставлены в вашу страну и не включены в итоговую сумму вашей корзины.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'Закон о низкой стоимости GST, принятый 1 июля 2018 года, применяется к этому розничному продавцу.',
|
|
235
|
+
},
|
|
224
236
|
"There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
225
237
|
value: 'При создании вашей сессии оформления произошла ошибка. Пожалуйста, перезагрузите страницу и попробуйте снова или свяжитесь с поддержкой, если ошибка сохраняется',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsRussian = {
|
|
|
248
260
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
249
261
|
value: 'Мы отправили вам письмо с подтверждением заказа для проверки. Наша команда тщательно готовит ваш заказ к отправке в срок.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Добро пожаловать в [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Добро пожаловать в [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Добро пожаловать!',
|
|
@@ -281,13 +293,7 @@ export const stringsRussian = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'нажмите, чтобы узнать больше',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'беспошлинно',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'ограниченные предметы',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'без налогов',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsSpanish = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'No cerrar',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Derechos e impuestos en Australia, el IVA o GST es [percentage] y se debe en todos los pedidos',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Los impuestos y aranceles se aplicarán a los artículos y al envío.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsSpanish = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Apellido',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Aprende más.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Faltan campos obligatorios. Asegúrate de que todos los campos estén completos.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsSpanish = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Algo salió mal.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: '
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Gasta [threshold] libre de impuestos',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Gasta [threshold] libre de impuestos',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Estado',
|
|
@@ -221,6 +230,9 @@ export const stringsSpanish = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'Los siguientes artículos no se pueden enviar a su país y no están incluidos en el total de su carrito.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'La ley de GST de bajo valor aprobada el 1 de julio de 2018 se aplica a este minorista.',
|
|
235
|
+
},
|
|
224
236
|
"There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
225
237
|
value: 'Se ha producido un error al crear su sesión de pago. Vuelva a cargar la página e inténtelo de nuevo o póngase en contacto con el soporte si el error persiste',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsSpanish = {
|
|
|
248
260
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
249
261
|
value: 'Le hemos enviado un correo electrónico de confirmación con los detalles del pedido para su revisión. Y nuestro equipo está preparando cuidadosamente su pedido para que llegue a tiempo.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: '
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Bienvenido a [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: '¡Bienvenido!',
|
|
@@ -281,13 +293,7 @@ export const stringsSpanish = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'haga clic para obtener más información',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'libre de impuestos',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'artículos restringidos',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'libre de impuestos',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsSwedish = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Stäng inte',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Tullar och skatter i Australien, moms eller GST är [percentage] och förfaller på alla beställningar',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsSwedish = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Efternamn',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Läs mer.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Obligatoriska fält saknas. Se till att alla fält är ifyllda.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsSwedish = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Något gick fel.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: '
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Spendera [threshold] tullfritt',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Spendera [threshold] skattefritt',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Stat',
|
|
@@ -221,6 +230,9 @@ export const stringsSwedish = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'Följande artiklar kan inte skickas till ditt land och är inte inkluderade i din varukorgs totala belopp.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'Lågvärde-GST-lagen som antogs den 1 juli 2018 gäller för denna återförsäljare.',
|
|
235
|
+
},
|
|
224
236
|
"There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
225
237
|
value: 'Det har uppstått ett fel när din utcheckningssession skapades. Vänligen ladda om sidan och försök igen eller kontakta supporten om felet kvarstår',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsSwedish = {
|
|
|
248
260
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
249
261
|
value: 'Vi har skickat en e-postbekräftelse av beställningsuppgifterna för din granskning. Och vårt team förbereder noggrant din order så att den kommer i tid.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Välkommen till [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Välkommen till [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Välkommen!',
|
|
@@ -281,13 +293,7 @@ export const stringsSwedish = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'klicka för att lära dig mer',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'tullfri',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'begränsade föremål',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'skattefri',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsTurkish = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Kapatma',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde geçerlidir",
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsTurkish = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Soyad',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Daha fazla bilgi edinin.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Gerekli alanlar eksik. Tüm alanların tamamlandığından emin olun.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsTurkish = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Bir şeyler yanlış gitti.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: '
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: '[threshold] gümrüksüz harcama yapın',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: '[threshold] vergisiz harcama yapın',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Eyalet',
|
|
@@ -221,6 +230,9 @@ export const stringsTurkish = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'Aşağıdaki ürünler ülkenize gönderilemiyor ve sepet toplamınıza dahil edilmiyor.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: "1 Temmuz 2018'de yürürlüğe giren düşük değerli GST yasası bu perakendeci için geçerlidir.",
|
|
235
|
+
},
|
|
224
236
|
"There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
225
237
|
value: 'Ödeme oturumu oluşturulurken bir hata oluştu. Lütfen hata devam ederse sayfayı yeniden yükleyin ve tekrar deneyin veya destekle iletişime geçin',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsTurkish = {
|
|
|
248
260
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
249
261
|
value: 'Sipariş detaylarınızın onay e-postasını gönderdik. Ekibimiz siparişinizi özenle hazırlıyor, zamanında ulaşması için elimizden geleni yapıyoruz.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: "[storeName]'
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: "[storeName]'ye hoş geldiniz",
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Hoş geldiniz!',
|
|
@@ -281,13 +293,7 @@ export const stringsTurkish = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'daha fazla bilgi için tıklayın',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'gümrüksüz',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'kısıtlı öğeler',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'vergisiz',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsVietnamese = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Đừng đóng',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Thuế và phí ở Úc, VAT hoặc GST là [percentage] và áp dụng cho tất cả các đơn hàng',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsVietnamese = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Họ',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Tìm hiểu thêm.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Thiếu trường bắt buộc. Đảm bảo tất cả các trường đã được hoàn thành.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsVietnamese = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Đã xảy ra lỗi.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: 'Chi tiêu',
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Chi tiêu [threshold] miễn thuế',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Chi tiêu [threshold] miễn thuế',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Bang',
|
|
@@ -221,6 +230,9 @@ export const stringsVietnamese = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'Các mặt hàng sau không thể được vận chuyển đến quốc gia của bạn và không được tính vào tổng số giỏ hàng của bạn.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'Luật GST giá trị thấp được thông qua ngày 1 tháng 7 năm 2018 áp dụng cho nhà bán lẻ này.',
|
|
235
|
+
},
|
|
224
236
|
"There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
225
237
|
value: 'Đã xảy ra lỗi khi tạo phiên thanh toán của bạn. Vui lòng tải lại và thử lại hoặc liên hệ với hỗ trợ nếu lỗi vẫn tiếp tục',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsVietnamese = {
|
|
|
248
260
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
249
261
|
value: 'Chúng tôi đã gửi email xác nhận chi tiết đơn hàng để bạn xem lại. Và đội ngũ của chúng tôi đang cẩn thận chuẩn bị đơn hàng của bạn để đảm bảo giao đúng hạn.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Chào mừng đến với [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Chào mừng đến với [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Chào mừng!',
|
|
@@ -281,13 +293,7 @@ export const stringsVietnamese = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'nhấp để tìm hiểu thêm',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'miễn thuế',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'mặt hàng bị hạn chế',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'không chịu thuế',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -135,7 +135,7 @@ export class ZonosAddress {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '5279ab1ec41882e2b47adbb9074da302caeda979', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'e66644c9dfbeb56c54b8914cecfba5cee3023399', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'a7ca990d5c5c5a59edd6d6bf35a4594fb8dfe5d4', class: "zonos--address-component" })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "zonos-address"; }
|
|
141
141
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -42,7 +42,7 @@ export class ZonosLinkAuthentication {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '153724937e64d3fdf4360648cefc4548b602e87a', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'ac9896dff5fd7acb29d81eebeb9e65a47d65b7fb', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'aca720a9382f63f248e3a2c382e5c61e52750bdf', class: "zonos--link-authentication-component" })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "zonos-link-authentication"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class ZonosPayment {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'abebca876eac8bd507fcbdb1c029d2ed0f3b749a', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '142257f2052337206dbb70e70c87b5207f2bd97a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'c55bbaea79a291e45d8ed37d556529365de89e9f', class: "zonos--payment-component" })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "zonos-payment"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -58,8 +58,6 @@ Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSett
|
|
|
58
58
|
_a.zonosApiKey = zonosApiKey;
|
|
59
59
|
_a.storeId = storeId;
|
|
60
60
|
log('init zonos');
|
|
61
|
-
// add sentry to the project
|
|
62
|
-
_a.injectSentryScript();
|
|
63
61
|
// inject zonos cdn
|
|
64
62
|
_a.injectZonosCdn();
|
|
65
63
|
// inject css for zonos elements
|
|
@@ -186,55 +184,6 @@ Zonos.injectController = ({ config, zonosApiKey, }) => {
|
|
|
186
184
|
_a.zonosController = zonosController;
|
|
187
185
|
log('Zonos controller injected!');
|
|
188
186
|
};
|
|
189
|
-
Zonos.injectSentryScript = () => {
|
|
190
|
-
const scriptUrl = 'https://browser.sentry-cdn.com/7.88.0/bundle.tracing.min.js';
|
|
191
|
-
const findScript = () => {
|
|
192
|
-
const script = document.querySelector(`script[src="${scriptUrl}"]`);
|
|
193
|
-
return !!script;
|
|
194
|
-
};
|
|
195
|
-
if (findScript()) {
|
|
196
|
-
log('Sentry script already exists in the document', 'warn');
|
|
197
|
-
return;
|
|
198
|
-
}
|
|
199
|
-
const headOrBody = document.head || document.body;
|
|
200
|
-
// init zonos elements when the zonosKey is valid
|
|
201
|
-
// inject esmodule cdn for zonos elements
|
|
202
|
-
const script = document.createElement('script');
|
|
203
|
-
script.crossOrigin = 'anonymous';
|
|
204
|
-
script.src = scriptUrl;
|
|
205
|
-
script.integrity =
|
|
206
|
-
'sha384-z/aQww1Fr6Mes0MO/2wlzQd2nXBCdDcKPXDTsMDMNPgTGRPqii3a4bzH79I+Vo8l';
|
|
207
|
-
script.setAttribute('data-lazy', 'no');
|
|
208
|
-
script.onerror = () => {
|
|
209
|
-
logError(`Failed to load ${script.src}`);
|
|
210
|
-
};
|
|
211
|
-
script.onload = () => {
|
|
212
|
-
var _b;
|
|
213
|
-
(_b = window.Sentry) === null || _b === void 0 ? void 0 : _b.init({
|
|
214
|
-
beforeSend(event) {
|
|
215
|
-
var _b, _c, _d, _e, _f, _g;
|
|
216
|
-
// only send error to sentry if it's from zonos production
|
|
217
|
-
const firstExceptionFilename = (_g = (_f = (_e = (_d = (_c = (_b = event.exception) === null || _b === void 0 ? void 0 : _b.values) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.stacktrace) === null || _e === void 0 ? void 0 : _e.frames) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.filename;
|
|
218
|
-
const isZonosProduction = (firstExceptionFilename === null || firstExceptionFilename === void 0 ? void 0 : firstExceptionFilename.includes('js.zonos.com')) ||
|
|
219
|
-
(firstExceptionFilename === null || firstExceptionFilename === void 0 ? void 0 : firstExceptionFilename.includes('@zonos/elements'));
|
|
220
|
-
const isDevelopmentHref = window.location.href.includes('dev.elements') ||
|
|
221
|
-
window.location.href.includes('route.js.zonos.com');
|
|
222
|
-
// don't send error to sentry if the errors are in development href
|
|
223
|
-
if (isZonosProduction && !isDevelopmentHref) {
|
|
224
|
-
return event;
|
|
225
|
-
}
|
|
226
|
-
return null;
|
|
227
|
-
},
|
|
228
|
-
dsn: 'https://19168bd05af0e2e0e7520ad58953e4f2@o446983.ingest.sentry.io/4506400622837760',
|
|
229
|
-
ignoreErrors: ['Failed to load Stripe.js'],
|
|
230
|
-
release: `zonos-elements@${_a.version}`,
|
|
231
|
-
tracesSampler: () => {
|
|
232
|
-
return 0.01;
|
|
233
|
-
},
|
|
234
|
-
});
|
|
235
|
-
};
|
|
236
|
-
headOrBody.appendChild(script);
|
|
237
|
-
};
|
|
238
187
|
Zonos.injectScript = ({ fallBackDomain, isModule, scriptDomain, theRestUrl, }) => {
|
|
239
188
|
const fullScriptUrl = `${scriptDomain}/${theRestUrl}`;
|
|
240
189
|
const findScript = () => {
|