@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-62ff7ee7.js');
|
|
7
7
|
const logError = require('./logError-4e2f2020.js');
|
|
8
8
|
require('./zonosStore-4c6c85da.js');
|
|
9
9
|
require('./isDarkColor-371a3b1a.js');
|
|
@@ -45,7 +45,7 @@ const ZonosPayment = class {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: 'abebca876eac8bd507fcbdb1c029d2ed0f3b749a', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: '142257f2052337206dbb70e70c87b5207f2bd97a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: 'c55bbaea79a291e45d8ed37d556529365de89e9f', class: "zonos--payment-component" })));
|
|
49
49
|
}
|
|
50
50
|
get el() { return index.getElement(this); }
|
|
51
51
|
static get watchers() { return {
|
|
@@ -37,7 +37,7 @@ export class ZonosHello {
|
|
|
37
37
|
case 'productDetail':
|
|
38
38
|
return translate(`See duty and tax thresholds`);
|
|
39
39
|
default:
|
|
40
|
-
return translate('Welcome to [storeName]
|
|
40
|
+
return translate('Welcome to [storeName]', {
|
|
41
41
|
storeName: organizationName,
|
|
42
42
|
});
|
|
43
43
|
}
|
|
@@ -202,6 +202,7 @@ export class ZonosHello {
|
|
|
202
202
|
this.allRestrictedItems = [];
|
|
203
203
|
this.allFoundProducts = [];
|
|
204
204
|
this.productsOnPage = [];
|
|
205
|
+
this.isHelloWidgetRendered = false;
|
|
205
206
|
}
|
|
206
207
|
componentWillLoad() {
|
|
207
208
|
const initInterval = setInterval(async () => {
|
|
@@ -264,6 +265,25 @@ export class ZonosHello {
|
|
|
264
265
|
handleResize() {
|
|
265
266
|
debounce(this.render.bind(this), RESIZE_DEBOUNCE_DELAY_MS);
|
|
266
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* This method will handle the Hello widget initialized state, should only trigger once
|
|
270
|
+
*/
|
|
271
|
+
handleHelloWidgetInitializedState({ countryCode, currencyCode, }) {
|
|
272
|
+
var _a, _b;
|
|
273
|
+
// If the toggle is already set to true, do nothing
|
|
274
|
+
if (this.isHelloWidgetRendered) {
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
// Should only trigger once when hello is showing up on the page
|
|
278
|
+
if (localizationStore.selectedCountryCode &&
|
|
279
|
+
typeof zonosStore.helloSettings.onInitSucess === 'function') {
|
|
280
|
+
this.isHelloWidgetRendered = true;
|
|
281
|
+
void ((_b = (_a = zonosStore.helloSettings).onInitSucess) === null || _b === void 0 ? void 0 : _b.call(_a, {
|
|
282
|
+
countryCode,
|
|
283
|
+
currencyCode,
|
|
284
|
+
}));
|
|
285
|
+
}
|
|
286
|
+
}
|
|
267
287
|
handleAppearanceSettingsOverrideChange() {
|
|
268
288
|
var _a;
|
|
269
289
|
if ((_a = this.appearanceSettingsOverride) === null || _a === void 0 ? void 0 : _a.theme) {
|
|
@@ -278,7 +298,7 @@ export class ZonosHello {
|
|
|
278
298
|
log('Hello is excluded on this url', 'warn');
|
|
279
299
|
return null;
|
|
280
300
|
}
|
|
281
|
-
const { selectedCountryCode } = localizationStore;
|
|
301
|
+
const { selectedCountryCode, targetCurrency } = localizationStore;
|
|
282
302
|
const mobileLocation = this.mobileLocationOverride || zonosStore.helloSettings.mobileLocation;
|
|
283
303
|
const isMobileWindow = window.innerWidth < 768;
|
|
284
304
|
const isOnLeft = this.animateFromLeftOverride ||
|
|
@@ -293,6 +313,13 @@ export class ZonosHello {
|
|
|
293
313
|
// This will cause the element to rerender with the new org name when it changes. (used for preview on dashboard)
|
|
294
314
|
this.peekMessage = this.getHelloPeekMessage(zonosStore.organizationName);
|
|
295
315
|
const showHello = this.shouldRenderHello() && !!selectedCountryCode;
|
|
316
|
+
// If the condition for rendering Hello is met, set the toggle to true to trigger callback, should only trigger once
|
|
317
|
+
if (showHello && !this.isHelloWidgetRendered) {
|
|
318
|
+
this.handleHelloWidgetInitializedState({
|
|
319
|
+
countryCode: selectedCountryCode,
|
|
320
|
+
currencyCode: targetCurrency,
|
|
321
|
+
});
|
|
322
|
+
}
|
|
296
323
|
return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme }, showHello && (h("div", { class: "zonos--hello-wrapper" }, h("button", { class: classes([
|
|
297
324
|
'zonos--hello-widget',
|
|
298
325
|
this.showPeekMessage && 'zonos--hello-show-peek-message',
|
|
@@ -406,7 +433,8 @@ export class ZonosHello {
|
|
|
406
433
|
"initialUrl": {},
|
|
407
434
|
"allRestrictedItems": {},
|
|
408
435
|
"allFoundProducts": {},
|
|
409
|
-
"productsOnPage": {}
|
|
436
|
+
"productsOnPage": {},
|
|
437
|
+
"isHelloWidgetRendered": {}
|
|
410
438
|
};
|
|
411
439
|
}
|
|
412
440
|
static get methods() {
|
|
@@ -18,9 +18,9 @@ export class ZonosHelloDialogFooter {
|
|
|
18
18
|
const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
19
19
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
20
20
|
const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'fe8165b23a8e56d068d00ae0f6caf587094db24f', class: "zonos--elements" }, h("div", { key: '32ee04554a36a2d7017e73425166a914e1e65714', class: "zonos--hello-dialog-footer", style: {
|
|
22
22
|
'--primary-color': primaryColor,
|
|
23
|
-
} }, h("a", { key: '
|
|
23
|
+
} }, h("a", { key: '9fe05913fae1b739ec763ba32128f9004e3015f5', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'ebea8cf3264c8d75369e1f87a71e97530755f79b', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '133b9a19a6e1cfc69fa4bf93964307ae546aead6', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'f5f5b8e8750fdf81094caa496b37b6201addab4a', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '454ef914ec4f5d9c4ffa7fdafb91dc25a27221b9', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "zonos-hello-dialog-footer"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,6 +7,7 @@ import { formatStringWithLinks } from "../../utils/formatStringWithLinks";
|
|
|
7
7
|
import { currencyFormat } from "../../utils/hello/currencyConversion/currencyFormat";
|
|
8
8
|
import { getHasMoreSpaceAbove } from "../../utils/hello/getHasMoreSpaceAbove";
|
|
9
9
|
import { getHasMoreSpaceOnRight } from "../../utils/hello/getHasMoreSpaceOnRight";
|
|
10
|
+
import { wrapStringWithLink } from "../../utils/wrapStringWithLink";
|
|
10
11
|
// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
|
|
11
12
|
import BagIcon from "./assets/bagIcon.svg";
|
|
12
13
|
// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
|
|
@@ -44,6 +45,23 @@ export class ZonosHelloDialog {
|
|
|
44
45
|
this.setShowLanguageSelect = async (value) => {
|
|
45
46
|
this.showLanguageSelect = value;
|
|
46
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* Store has tax id setup in Zonos settings
|
|
50
|
+
*/
|
|
51
|
+
this.hasTaxId = () => {
|
|
52
|
+
var _a;
|
|
53
|
+
return (_a = localizationStore.countryLandedCost) === null || _a === void 0 ? void 0 : _a.hasTaxId;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Some countries don't have threshold. So we need to show generic message for them
|
|
57
|
+
*/
|
|
58
|
+
this.isNoThresholdCountry = (countryCode) => {
|
|
59
|
+
// Only show threshold message if store doesn't have tax id in the settings
|
|
60
|
+
if (!countryCode || !this.hasTaxId()) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return ['AU'].includes(countryCode);
|
|
64
|
+
};
|
|
47
65
|
this.getDutyMessage = () => {
|
|
48
66
|
const { countryLandedCost } = localizationStore;
|
|
49
67
|
// Our Robby API spells deminimis wrong here
|
|
@@ -51,8 +69,11 @@ export class ZonosHelloDialog {
|
|
|
51
69
|
? currencyFormat({ amount: countryLandedCost.dutyDeminimus })
|
|
52
70
|
: null;
|
|
53
71
|
// If deminimis is undefined or null, assume it's $0
|
|
54
|
-
return dutyDeminimis
|
|
55
|
-
?
|
|
72
|
+
return dutyDeminimis &&
|
|
73
|
+
!this.isNoThresholdCountry(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.countryCode)
|
|
74
|
+
? translate('Spend [threshold] duty free', {
|
|
75
|
+
threshold: dutyDeminimis,
|
|
76
|
+
})
|
|
56
77
|
: translate('Duties will apply to all orders');
|
|
57
78
|
};
|
|
58
79
|
this.getTaxMessage = () => {
|
|
@@ -61,8 +82,11 @@ export class ZonosHelloDialog {
|
|
|
61
82
|
const taxDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.vatTaxDeminimus)
|
|
62
83
|
? currencyFormat({ amount: countryLandedCost.vatTaxDeminimus })
|
|
63
84
|
: null;
|
|
64
|
-
return taxDeminimis
|
|
65
|
-
?
|
|
85
|
+
return taxDeminimis &&
|
|
86
|
+
!this.isNoThresholdCountry(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.countryCode)
|
|
87
|
+
? translate('Spend [threshold] tax free', {
|
|
88
|
+
threshold: taxDeminimis,
|
|
89
|
+
})
|
|
66
90
|
: translate('Taxes will apply to all orders');
|
|
67
91
|
};
|
|
68
92
|
this.getUkDutyTaxMessage = (landedCost) => {
|
|
@@ -71,22 +95,31 @@ export class ZonosHelloDialog {
|
|
|
71
95
|
return null;
|
|
72
96
|
}
|
|
73
97
|
const dutyDeminimis = landedCost.dutyDeminimus;
|
|
74
|
-
return
|
|
75
|
-
countryName
|
|
76
|
-
|
|
77
|
-
|
|
98
|
+
return [
|
|
99
|
+
translate('Orders to [countryName] must be over [threshold] to ship.', {
|
|
100
|
+
countryName: 'United Kingdom',
|
|
101
|
+
threshold: currencyFormat({ amount: dutyDeminimis }),
|
|
102
|
+
}),
|
|
103
|
+
];
|
|
78
104
|
};
|
|
79
105
|
this.getAustraliaDutyTaxMessage = (landedCost) => {
|
|
80
|
-
return
|
|
81
|
-
percentage
|
|
82
|
-
|
|
83
|
-
|
|
106
|
+
return [
|
|
107
|
+
translate('Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders', {
|
|
108
|
+
percentage: `${landedCost.vatTaxRate * 100}%`,
|
|
109
|
+
}),
|
|
110
|
+
`${translate('The low-value GST law passed July 1st, 2018 applies to this retailer.')} ${wrapStringWithLink({
|
|
111
|
+
href: 'https://zonos.com/docs/global-ecommerce/landed-cost/tax-remittance/australia-gst',
|
|
112
|
+
text: translate('Learn more.'),
|
|
113
|
+
})}`,
|
|
114
|
+
];
|
|
84
115
|
};
|
|
85
116
|
this.getNewZealandDutyTaxMessge = (landedCost) => {
|
|
86
|
-
return
|
|
87
|
-
percentage
|
|
88
|
-
|
|
89
|
-
|
|
117
|
+
return [
|
|
118
|
+
translate('[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.', {
|
|
119
|
+
percentage: `${landedCost.vatTaxRate * 100}%`,
|
|
120
|
+
threshold: currencyFormat({ amount: landedCost.vatTaxDeminimus }),
|
|
121
|
+
}),
|
|
122
|
+
];
|
|
90
123
|
};
|
|
91
124
|
/**
|
|
92
125
|
* Get additional duty tax message if selected country has tax id
|
|
@@ -96,7 +129,7 @@ export class ZonosHelloDialog {
|
|
|
96
129
|
return null;
|
|
97
130
|
}
|
|
98
131
|
// only show the message if the store has a tax id for selected country
|
|
99
|
-
if (!
|
|
132
|
+
if (!this.hasTaxId()) {
|
|
100
133
|
return null;
|
|
101
134
|
}
|
|
102
135
|
switch (localizationStore.countryLandedCost.countryCode) {
|
|
@@ -143,7 +176,7 @@ export class ZonosHelloDialog {
|
|
|
143
176
|
(this.dialogRef && getHasMoreSpaceOnRight(this.dialogRef));
|
|
144
177
|
const animateFromBottom = this.dialogRef && getHasMoreSpaceAbove(this.dialogRef);
|
|
145
178
|
const { customMessages } = localizationStore;
|
|
146
|
-
const welcomeMessage = translate('Welcome to [storeName]
|
|
179
|
+
const welcomeMessage = translate('Welcome to [storeName]', {
|
|
147
180
|
storeName: zonosStore.organizationName,
|
|
148
181
|
});
|
|
149
182
|
const defaultMessageStr = ((_a = customMessages.find(x => x.pageName === 'hello_default')) === null || _a === void 0 ? void 0 : _a.message) ||
|
|
@@ -151,17 +184,18 @@ export class ZonosHelloDialog {
|
|
|
151
184
|
const defaultMessage = formatStringWithLinks(defaultMessageStr);
|
|
152
185
|
const currentPage = this.getCurrentPageEnum();
|
|
153
186
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
154
|
-
return (h(Host, { key: '
|
|
187
|
+
return (h(Host, { key: '1194b1466981cf8ba04d726eff3ba34b19510258', class: "zonos--elements" }, h("div", { key: 'ffea099f72ff3f42ddbd5b5947a5b8ca0f3d206d', "aria-hidden": "true", class: classes([
|
|
155
188
|
'zonos--hello-dialog',
|
|
156
189
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
157
190
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
158
191
|
!!this.mobileLocationOverride &&
|
|
159
192
|
'zonos--hello-dialog-mobile-override',
|
|
160
193
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
161
|
-
]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '
|
|
194
|
+
]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '7396d7cd91c69f77d5f2f4ae9a088b1a763c6988' }, h("div", { key: 'aedfda83797a58fc2a0432a89503cbc7774d5c8b', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '0c9ad53d902ce7c45cdf9192dbe8ea7f9f46f7d4', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '9a359684275e946fc26bdc6ea7b8a371bf49dea5', spacing: 24 }, h("zonos-country-flag", { key: 'ca230fb4426ecb39febb0972d9a6ce15435c4e1d', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '17bbc6a70143a9165b8f088b5b2ea1e6e69622ed', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '33c66273d9fd8330ee4cf2bfcdf5b454a89e0ae0', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '57cfdcd587ab62fad99016a389771d3a169ad297', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '28b9b9e7967e81ca50bc4d0cfe45c9545a8b9dde', spacing: 8 }, this.restrictedItems.map(item => {
|
|
162
195
|
var _a;
|
|
163
196
|
return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
164
|
-
}), h("zonos-card", { key: '
|
|
197
|
+
}), h("zonos-card", { key: '94ef9064b4e523c3f0fc9cd50142da36f003006d', spacing: "12px" }, h("zonos-v-stack", { key: '01b3550b5b080d106eaecedf78b13275e01ae159', spacing: 12 }, h("div", { key: '19b1ba3e12dab87250d3ad19a5dc8e13b6f871d6', class: "zonos--flex-message" }, h("zonos-icon", { key: '9773bf4ad57752437a367c2093de0737693bf588', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '4c75d971f37db399e6f4332a6c92b53758629b6b' }, dutyDeMinimisMessage)), h("div", { key: '52640f51d3664582d7bb3c26f2d2d17d82ad856e', class: "zonos--flex-message" }, h("zonos-icon", { key: '9afe9273e6b19aada01018152a64973449b87094', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: 'b2481af13570471cc2907c48b54c7039ec31e92c' }, taxDeMinimisMessage)), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
198
|
+
additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'a6b2d31ee922db13cf9987a823e99d6088c392b0', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '21d187502c3f0ccef0c351f09aa943566228944f' }, h("zonos-country-select", { key: '3dbd522e8a5004c2a1ed766ba92c9d0387f845d8', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '686d8bba48fefd49bf2bf15dc295fb79b9cd5299' }, h("zonos-language-select", { key: '22ba1b42ec7ba1808fd806ad3529a377d34b4ac8', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
165
199
|
}
|
|
166
200
|
static get is() { return "zonos-hello-dialog"; }
|
|
167
201
|
static get encapsulation() { return "shadow"; }
|
|
@@ -178,7 +178,7 @@ export class ZonosController {
|
|
|
178
178
|
zonosStore.organizationName = organizationName;
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return h(Host, { key: '
|
|
181
|
+
return h(Host, { key: 'cfacd00a3f5fba372425ec51cf885356353ad909', class: "zonos--elements" });
|
|
182
182
|
}
|
|
183
183
|
static get is() { return "zonos-controller"; }
|
|
184
184
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,6 +62,9 @@ export const stringsArabic = {
|
|
|
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: 'الرسوم والضرائب في أستراليا، ضريبة القيمة المضافة أو ضريبة السلع والخدمات هي [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 stringsArabic = {
|
|
|
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 stringsArabic = {
|
|
|
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 stringsArabic = {
|
|
|
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: 'ينطبق قانون ضريبة السلع والخدمات منخفض القيمة الذي أُقر في 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 stringsArabic = {
|
|
|
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 stringsArabic = {
|
|
|
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 stringsBase = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: "Don't close",
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Duties and taxes will be applied to items and shipping.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsBase = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Last name',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Learn more.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Missing required fields. Make sure all fields are completed.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsBase = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Something went wrong.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: 'Spend',
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Spend [threshold] duty free',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Spend [threshold] tax free',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'State',
|
|
@@ -221,6 +230,9 @@ export const stringsBase = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'The following items are unable to be shipped to your country and are not included in your cart total.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'The low-value GST law passed July 1st, 2018 applies to this retailer.',
|
|
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: "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists",
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsBase = {
|
|
|
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: "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.",
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Welcome to [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Welcome to [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Welcome!',
|
|
@@ -281,13 +293,7 @@ export const stringsBase = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'click to learn more',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'duty free',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'restricted items',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'tax free',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsChinese = {
|
|
|
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 stringsChinese = {
|
|
|
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 stringsChinese = {
|
|
|
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 stringsChinese = {
|
|
|
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: '2018年7月1日通过的低值GST法适用于本零售商。',
|
|
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 stringsChinese = {
|
|
|
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 stringsChinese = {
|
|
|
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 stringsDanish = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Luk ikke',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Afgifter og skatter i Australien, moms eller GST er [percentage] og forfalder på alle ordrer',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Told og skatter vil blive pålagt varer og fragt.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsDanish = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Efternavn',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Læs mere.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Manglende obligatoriske felter. Sørg for, at alle felter er udfyldt.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsDanish = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Noget gik galt.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: 'Brug',
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Brug [threshold] toldfrit',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Brug [threshold] skattefrit',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Stat',
|
|
@@ -221,6 +230,9 @@ export const stringsDanish = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'De følgende varer kan ikke sendes til dit land og er ikke inkluderet i din kurvs total.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'Den lavværdi-GST-lov, der blev vedtaget den 1. juli 2018, gælder for denne forhandler.',
|
|
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: 'Der opstod en fejl under oprettelsen af din betalingssession. Genindlæs venligst og prøv igen eller kontakt support, hvis fejlen fortsætter',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsDanish = {
|
|
|
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 sendt en e-mail-kvittering med ordreoplysninger til gennemsyn. Og vores team forbereder omhyggeligt din ordre, så den ankommer til tiden.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Velkommen til [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Velkommen til [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Velkommen!',
|
|
@@ -281,13 +293,7 @@ export const stringsDanish = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'klik for at lære mere',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'toldfrit',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'begrænsede genstande',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'skattefrit',
|
|
292
|
-
},
|
|
293
299
|
};
|
|
@@ -62,6 +62,9 @@ export const stringsDutch = {
|
|
|
62
62
|
"Don't close": {
|
|
63
63
|
value: 'Niet sluiten',
|
|
64
64
|
},
|
|
65
|
+
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
|
|
66
|
+
value: 'Douane- en belastingkosten in Australië, btw of GST is [percentage] en verschuldigd op alle bestellingen',
|
|
67
|
+
},
|
|
65
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
66
69
|
value: 'Belastingen en heffingen worden toegepast op artikelen en verzending.',
|
|
67
70
|
},
|
|
@@ -104,6 +107,9 @@ export const stringsDutch = {
|
|
|
104
107
|
'Last name': {
|
|
105
108
|
value: 'Achternaam',
|
|
106
109
|
},
|
|
110
|
+
'Learn more.': {
|
|
111
|
+
value: 'Lees meer.',
|
|
112
|
+
},
|
|
107
113
|
'Missing required fields. Make sure all fields are completed.': {
|
|
108
114
|
value: 'Verplichte velden ontbreken. Zorg ervoor dat alle velden zijn ingevuld.',
|
|
109
115
|
},
|
|
@@ -206,8 +212,11 @@ export const stringsDutch = {
|
|
|
206
212
|
'Something went wrong.': {
|
|
207
213
|
value: 'Er is iets misgegaan.',
|
|
208
214
|
},
|
|
209
|
-
Spend: {
|
|
210
|
-
value: '
|
|
215
|
+
'Spend [threshold] duty free': {
|
|
216
|
+
value: 'Besteed [threshold] belastingvrij',
|
|
217
|
+
},
|
|
218
|
+
'Spend [threshold] tax free': {
|
|
219
|
+
value: 'Besteed [threshold] belastingvrij',
|
|
211
220
|
},
|
|
212
221
|
State: {
|
|
213
222
|
value: 'Staat',
|
|
@@ -221,6 +230,9 @@ export const stringsDutch = {
|
|
|
221
230
|
'The following items are unable to be shipped to your country and are not included in your cart total.': {
|
|
222
231
|
value: 'De volgende artikelen kunnen niet naar uw land worden verzonden en zijn niet opgenomen in het totaal van uw winkelwagen.',
|
|
223
232
|
},
|
|
233
|
+
'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
|
|
234
|
+
value: 'De wet op de laagwaardige GST die op 1 juli 2018 is aangenomen, is van toepassing op deze detailhandelaar.',
|
|
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: 'Er is een fout opgetreden bij het maken van uw afrekeningsessie. Vernieuw de pagina en probeer het opnieuw of neem contact op met de ondersteuning als de fout aanhoudt',
|
|
226
238
|
},
|
|
@@ -248,8 +260,8 @@ export const stringsDutch = {
|
|
|
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: 'We hebben een e-mailbevestiging van de bestelgegevens gestuurd voor je controle. En ons team bereidt je bestelling zorgvuldig voor zodat deze op tijd aankomt.',
|
|
250
262
|
},
|
|
251
|
-
'Welcome to [storeName]
|
|
252
|
-
value: 'Welkom bij [storeName]
|
|
263
|
+
'Welcome to [storeName]': {
|
|
264
|
+
value: 'Welkom bij [storeName]',
|
|
253
265
|
},
|
|
254
266
|
'Welcome!': {
|
|
255
267
|
value: 'Welkom!',
|
|
@@ -281,13 +293,7 @@ export const stringsDutch = {
|
|
|
281
293
|
'click to learn more': {
|
|
282
294
|
value: 'klik om meer te leren',
|
|
283
295
|
},
|
|
284
|
-
'duty free': {
|
|
285
|
-
value: 'heffingvrij',
|
|
286
|
-
},
|
|
287
296
|
'restricted items': {
|
|
288
297
|
value: 'beperkte items',
|
|
289
298
|
},
|
|
290
|
-
'tax free': {
|
|
291
|
-
value: 'belastingvrij',
|
|
292
|
-
},
|
|
293
299
|
};
|