@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.
Files changed (142) hide show
  1. package/dist/cjs/{cart-7e817cad.js → cart-62ff7ee7.js} +320 -200
  2. package/dist/cjs/index.cjs.js +3 -54
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{submitGtag-7e0065da.js → submitGtag-a5f8eaab.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
  6. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  7. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +2 -2
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  9. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  10. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-select_3.cjs.entry.js +3 -3
  12. package/dist/cjs/zonos-elements.cjs.js +1 -1
  13. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +59 -22
  14. package/dist/cjs/zonos-hello.cjs.entry.js +30 -3
  15. package/dist/cjs/zonos-payment.cjs.entry.js +2 -2
  16. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +31 -3
  17. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  18. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +55 -21
  19. package/dist/collection/components/main/zonos-controller.js +1 -1
  20. package/dist/collection/components/store/translationStore/strings.arabic.js +16 -10
  21. package/dist/collection/components/store/translationStore/strings.base.js +16 -10
  22. package/dist/collection/components/store/translationStore/strings.chinese.js +16 -10
  23. package/dist/collection/components/store/translationStore/strings.danish.js +16 -10
  24. package/dist/collection/components/store/translationStore/strings.dutch.js +16 -10
  25. package/dist/collection/components/store/translationStore/strings.french.js +16 -10
  26. package/dist/collection/components/store/translationStore/strings.german.js +16 -10
  27. package/dist/collection/components/store/translationStore/strings.hebrew.js +16 -10
  28. package/dist/collection/components/store/translationStore/strings.indonesian.js +16 -10
  29. package/dist/collection/components/store/translationStore/strings.italian.js +16 -10
  30. package/dist/collection/components/store/translationStore/strings.japanese.js +16 -10
  31. package/dist/collection/components/store/translationStore/strings.korean.js +16 -10
  32. package/dist/collection/components/store/translationStore/strings.norwegian.js +16 -10
  33. package/dist/collection/components/store/translationStore/strings.polish.js +16 -10
  34. package/dist/collection/components/store/translationStore/strings.portuguese.js +16 -10
  35. package/dist/collection/components/store/translationStore/strings.russian.js +16 -10
  36. package/dist/collection/components/store/translationStore/strings.spanish.js +16 -10
  37. package/dist/collection/components/store/translationStore/strings.swedish.js +16 -10
  38. package/dist/collection/components/store/translationStore/strings.turkish.js +16 -10
  39. package/dist/collection/components/store/translationStore/strings.vietnamese.js +16 -10
  40. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  41. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  42. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  43. package/dist/collection/components/utils/wrapStringWithLink.js +3 -0
  44. package/dist/collection/scripts/_zonosBase.js +0 -51
  45. package/dist/esm/{cart-13e6a811.js → cart-b96aaa4f.js} +320 -200
  46. package/dist/esm/index.js +3 -54
  47. package/dist/esm/loader.js +1 -1
  48. package/dist/esm/{submitGtag-c8bb6f2e.js → submitGtag-6e271d76.js} +1 -1
  49. package/dist/esm/zonos-address_8.entry.js +3 -3
  50. package/dist/esm/zonos-card_2.entry.js +1 -1
  51. package/dist/esm/zonos-cart-items_12.entry.js +2 -2
  52. package/dist/esm/zonos-checkout.entry.js +2 -2
  53. package/dist/esm/zonos-controller.entry.js +2 -2
  54. package/dist/esm/zonos-country-flag.entry.js +1 -1
  55. package/dist/esm/zonos-country-select_3.entry.js +3 -3
  56. package/dist/esm/zonos-elements.js +1 -1
  57. package/dist/esm/zonos-hello-dialog.entry.js +59 -22
  58. package/dist/esm/zonos-hello.entry.js +30 -3
  59. package/dist/esm/zonos-payment.entry.js +2 -2
  60. package/dist/esm-es5/cart-b96aaa4f.js +1 -0
  61. package/dist/esm-es5/index.js +1 -1
  62. package/dist/esm-es5/loader.js +1 -1
  63. package/dist/esm-es5/{submitGtag-c8bb6f2e.js → submitGtag-6e271d76.js} +1 -1
  64. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  65. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  66. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  67. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  68. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  69. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  70. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  71. package/dist/esm-es5/zonos-elements.js +1 -1
  72. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  73. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  74. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  75. package/dist/scripts/index.d.ts +11 -3
  76. package/dist/scripts/index.js +1 -1
  77. package/dist/scripts/loadZonos.js +1 -1
  78. package/dist/scripts/zonos.js +1 -1
  79. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +8 -0
  80. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +8 -0
  81. package/dist/types/components/store/translationStore/strings.arabic.d.ts +14 -8
  82. package/dist/types/components/store/translationStore/strings.base.d.ts +14 -8
  83. package/dist/types/components/store/translationStore/strings.chinese.d.ts +14 -8
  84. package/dist/types/components/store/translationStore/strings.danish.d.ts +14 -8
  85. package/dist/types/components/store/translationStore/strings.dutch.d.ts +14 -8
  86. package/dist/types/components/store/translationStore/strings.french.d.ts +14 -8
  87. package/dist/types/components/store/translationStore/strings.german.d.ts +14 -8
  88. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +14 -8
  89. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +14 -8
  90. package/dist/types/components/store/translationStore/strings.italian.d.ts +14 -8
  91. package/dist/types/components/store/translationStore/strings.japanese.d.ts +14 -8
  92. package/dist/types/components/store/translationStore/strings.korean.d.ts +14 -8
  93. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +14 -8
  94. package/dist/types/components/store/translationStore/strings.polish.d.ts +14 -8
  95. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +14 -8
  96. package/dist/types/components/store/translationStore/strings.russian.d.ts +14 -8
  97. package/dist/types/components/store/translationStore/strings.spanish.d.ts +14 -8
  98. package/dist/types/components/store/translationStore/strings.swedish.d.ts +14 -8
  99. package/dist/types/components/store/translationStore/strings.turkish.d.ts +14 -8
  100. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +14 -8
  101. package/dist/types/components/store/translationStore.d.ts +1 -1
  102. package/dist/types/components/utils/wrapStringWithLink.d.ts +4 -0
  103. package/dist/types/scripts/_zonosBase.d.ts +0 -1
  104. package/dist/types/types/checkout/CheckoutConfig.d.ts +2 -2
  105. package/dist/types/types/hello/HelloConfig.d.ts +10 -1
  106. package/dist/zonos-elements/index.esm.js +1 -1
  107. package/dist/zonos-elements/{p-eea8111c.system.entry.js → p-087c83a5.system.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-d3e61deb.system.entry.js → p-10b9a681.system.entry.js} +1 -1
  109. package/dist/zonos-elements/p-1a40aaf4.system.js +1 -0
  110. package/dist/zonos-elements/{p-43c1dd27.system.entry.js → p-2613b5d3.system.entry.js} +1 -1
  111. package/dist/zonos-elements/p-2cb880e7.system.entry.js +1 -0
  112. package/dist/zonos-elements/p-3de62c84.entry.js +1 -0
  113. package/dist/zonos-elements/{p-492b8e12.entry.js → p-4a0cf47b.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-094c7343.system.entry.js → p-4e01d1ab.system.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-452ed1a7.entry.js → p-5b4c1c09.entry.js} +1 -1
  116. package/dist/zonos-elements/p-5d53f9a4.js +1 -0
  117. package/dist/zonos-elements/{p-089c3737.system.entry.js → p-666d1605.system.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-b88e52b5.entry.js → p-692816a7.entry.js} +1 -1
  119. package/dist/zonos-elements/p-725c2d57.entry.js +1 -0
  120. package/dist/zonos-elements/{p-e975b187.entry.js → p-7664dec5.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-2011cb03.entry.js → p-78a839b8.entry.js} +1 -1
  122. package/dist/zonos-elements/p-8b2125b3.system.js +1 -0
  123. package/dist/zonos-elements/{p-3e488bff.entry.js → p-8c9e7980.entry.js} +1 -1
  124. package/dist/zonos-elements/p-9b0aa65c.system.js +1 -0
  125. package/dist/zonos-elements/{p-cab01f64.system.entry.js → p-9cdfb51b.system.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-99da2348.entry.js → p-9f7c0472.entry.js} +1 -1
  127. package/dist/zonos-elements/{p-58edaab6.system.entry.js → p-b208fec6.system.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-eabe2abc.js → p-b468f941.js} +1 -1
  129. package/dist/zonos-elements/{p-60621085.entry.js → p-c63a7dde.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-f7e2d33b.system.entry.js → p-d7b2a87f.system.entry.js} +1 -1
  131. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  132. package/dist/zonos-elements/{p-a5d823d3.system.entry.js → p-f69f1ec6.system.entry.js} +1 -1
  133. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  134. package/package.json +1 -1
  135. package/dist/esm-es5/cart-13e6a811.js +0 -1
  136. package/dist/zonos-elements/p-121be462.system.js +0 -1
  137. package/dist/zonos-elements/p-1f2077df.entry.js +0 -1
  138. package/dist/zonos-elements/p-3baf7a18.entry.js +0 -1
  139. package/dist/zonos-elements/p-74488e31.system.js +0 -1
  140. package/dist/zonos-elements/p-875a311d.js +0 -1
  141. package/dist/zonos-elements/p-d1771035.system.js +0 -1
  142. 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-7e817cad.js');
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: '0add83652f88a929eb76727e27455a0ddd6866fb', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'ff4eb31c3f402562d4c85848bf6bb34c4f0b1bab', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: 'fba7df5c0ca94d2374aab0f24e3111f4b08eff11', class: "zonos--payment-component" })));
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: 'f84d021e99271bd6a00da32edd35fdc5e0520c5a', class: "zonos--elements" }, h("div", { key: '96eeeb3df6698a18ae1439c3c35bc2337fe3e83c', class: "zonos--hello-dialog-footer", style: {
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: 'bb17cee42a3cb6d88e1b064649184c686ef41201', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '9183c662eb9d2dbb63b5149c338d013439767634', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: 'dd5bed89a4a2ae9386fa39fe15362c42fa7535ee', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'cbe6cb613fb2ca39f772363f8276cbc8c9e28b70', 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: 'e05876aa9b1e56f945f810b82163335cd14202d1', 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)))));
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
- ? `${translate('Spend')} ${dutyDeminimis} ${translate('duty free')}`
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
- ? `${translate('Spend')} ${taxDeminimis} ${translate('tax free')}`
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 translate('Orders to [countryName] must be over [threshold] to ship.', {
75
- countryName: 'United Kingdom',
76
- threshold: currencyFormat({ amount: dutyDeminimis }),
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 translate('[percentage] GST due on any order above [threshold].', {
81
- percentage: `${landedCost.vatTaxRate * 100}%`,
82
- threshold: currencyFormat({ amount: landedCost.vatTaxDeminimus }),
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 translate('[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.', {
87
- percentage: `${landedCost.vatTaxRate * 100}%`,
88
- threshold: currencyFormat({ amount: landedCost.vatTaxDeminimus }),
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 (!localizationStore.countryLandedCost.hasTaxId) {
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: '354758888accf5c5f44e321cc36f3126fe161596', class: "zonos--elements" }, h("div", { key: 'b6e9ef3ac53035b578f1ccb6940e04561a6c7362', "aria-hidden": "true", class: classes([
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: 'cba389a7107bf0505743237a7e61e27988955a44' }, h("div", { key: '3cef5f247dca70671ad0c304f29980f7147cf21c', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '013764140f25f64ab52f4588a50b5148f4b170d0', 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: '099dc23581474e5167cfa8bd90be9987b3caa47f', spacing: 24 }, h("zonos-country-flag", { key: 'c545313157e3a488433619292306419588e20e50', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'f8be1b95571b28be7ed4fc3caee5d13177845150', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '9ac86d0f247cecd0bfa19ffc041eee89bd19b168', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '3234c9640aa1d484c6dcb78e7e3bf43e3545d67e', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '2f090b934ede76c8400b7891b6caa391e1f039b0', spacing: 8 }, this.restrictedItems.map(item => {
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: 'e7ec890c1673b4025e650ed737ee4ba0e37ceb5d', spacing: "12px" }, h("zonos-v-stack", { key: 'a09bc2634da2795a4f0e2ef8b66680db9b0e403d', spacing: 12 }, h("div", { key: '2182aac10dc9b654b81234188cf0ef4decb2328a', class: "zonos--flex-message" }, h("zonos-icon", { key: '362807633b9a55a4438e95a9150c4c80f5bd836b', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '10bbbd399a255ad3a593b246d4b8b475e1c089e1' }, dutyDeMinimisMessage)), h("div", { key: '451c58a91d38413cc295a377e08ffa9947411112', class: "zonos--flex-message" }, h("zonos-icon", { key: '2eceeced9d2b0ab482c94b8edd768134ba936d2d', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: 'f4284b8e56522de93d5ca1160103ca2fac85250e' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: 'f9f0a09a1a7bfa85b2a70f843aabea7961250141', class: "zonos--flex-message" }, h("zonos-icon", { key: '147ee865b2708d662c185e4fe5d4dba7f099c310', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: 'ccb671b31672ebfd41369a9b0fda8e49ed3739cc' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '16b584281762c987d375b15e5cd3b5784fce5cd4', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '1122d535ce9bf451aa823726764a1a662c0378df' }, h("zonos-country-select", { key: '73c417e435dcbb15be72879ecde8271cb5cc01a1', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '4555dcf5260fa976458f6d612efce72a39564abf' }, h("zonos-language-select", { key: 'c19ca73913d2b026976acc36c1d9eb68bf90f07c', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
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: 'a5a97e414d4be249a1d8a733356111a65623aaeb', class: "zonos--elements" });
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: 'Uitgeven',
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
  };