@zonos/elements 1.3.12-alpha.7 → 1.3.12-alpha.8

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 (130) hide show
  1. package/dist/cjs/{cart-fe91535c.js → cart-37e23be9.js} +199 -3
  2. package/dist/cjs/{sendErrorLog-fb356701.js → sendErrorLog-7b3d82e4.js} +1 -1
  3. package/dist/cjs/{submitGtag-62c97f6b.js → submitGtag-d0718b63.js} +1 -1
  4. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  5. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +3 -3
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_3.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +90 -26
  12. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
  14. package/dist/collection/components/hello/zonos-hello-dialog/assets/importIcon.svg +4 -0
  15. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +85 -25
  16. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  17. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  18. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  19. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  20. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  21. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  22. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  23. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  24. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  25. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  26. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  27. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  28. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  29. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  30. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  31. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  32. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  33. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  34. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  35. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  36. package/dist/collection/components/store/translationStore.js +19 -3
  37. package/dist/collection/types/generated/graphql.customer.types.js +3 -0
  38. package/dist/components/stripe.js +199 -3
  39. package/dist/components/zonos-hello-dialog2.js +89 -25
  40. package/dist/esm/{cart-53f5c10c.js → cart-7961927b.js} +199 -3
  41. package/dist/esm/{sendErrorLog-1c2f093d.js → sendErrorLog-4d9581da.js} +1 -1
  42. package/dist/esm/{submitGtag-d2658ed5.js → submitGtag-4c1f09dc.js} +1 -1
  43. package/dist/esm/zonos-address_4.entry.js +2 -2
  44. package/dist/esm/zonos-card_2.entry.js +1 -1
  45. package/dist/esm/zonos-cart-items_10.entry.js +3 -3
  46. package/dist/esm/zonos-checkout.entry.js +3 -3
  47. package/dist/esm/zonos-controller.entry.js +1 -1
  48. package/dist/esm/zonos-country-flag.entry.js +1 -1
  49. package/dist/esm/zonos-country-select_3.entry.js +1 -1
  50. package/dist/esm/zonos-hello-dialog.entry.js +90 -26
  51. package/dist/esm/zonos-hello.entry.js +1 -1
  52. package/dist/esm/zonos-payment.entry.js +1 -1
  53. package/dist/esm-es5/cart-7961927b.js +1 -0
  54. package/dist/esm-es5/{sendErrorLog-1c2f093d.js → sendErrorLog-4d9581da.js} +1 -1
  55. package/dist/esm-es5/{submitGtag-d2658ed5.js → submitGtag-4c1f09dc.js} +1 -1
  56. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  57. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  58. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  59. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  60. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  61. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  62. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  63. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  64. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  65. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  66. package/dist/scripts/loadZonos.js +1 -1
  67. package/dist/scripts/zonos.js +1 -1
  68. package/dist/scripts/zonosBase.js +1 -1
  69. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +9 -0
  70. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  71. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  72. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  73. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  74. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  75. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  76. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  77. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  78. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  79. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  80. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  81. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  82. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  83. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  84. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  85. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  86. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  87. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  88. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  89. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  90. package/dist/types/components/store/translationStore.d.ts +24 -1
  91. package/dist/types/components/utils/api/getCountryLandedCost.d.ts +10 -1
  92. package/dist/types/types/generated/graphql.customer.types.d.ts +16 -0
  93. package/dist/types/types/generated/graphql.customer.types.ts +28 -0
  94. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  95. package/dist/zonos-elements/assets/importIcon.svg +4 -0
  96. package/dist/zonos-elements/p-0bdac452.system.js +1 -0
  97. package/dist/zonos-elements/{p-beb55ff1.js → p-0c5d3595.js} +1 -1
  98. package/dist/zonos-elements/{p-6f6850aa.entry.js → p-2191b884.entry.js} +1 -1
  99. package/dist/zonos-elements/{p-c30554b1.system.entry.js → p-2da8e12a.system.entry.js} +1 -1
  100. package/dist/zonos-elements/{p-0cc5cfbd.system.entry.js → p-339c505b.system.entry.js} +1 -1
  101. package/dist/zonos-elements/{p-969f36b3.entry.js → p-33f5634a.entry.js} +1 -1
  102. package/dist/zonos-elements/{p-7e6bc603.entry.js → p-3eb402c8.entry.js} +1 -1
  103. package/dist/zonos-elements/{p-9f4b0222.system.entry.js → p-431648d8.system.entry.js} +1 -1
  104. package/dist/zonos-elements/p-44842b39.system.entry.js +1 -0
  105. package/dist/zonos-elements/{p-df6fd81f.entry.js → p-44f4dd4b.entry.js} +1 -1
  106. package/dist/zonos-elements/{p-09d7a0f8.system.entry.js → p-4b3923d2.system.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-af17ec7f.entry.js → p-4eba3abe.entry.js} +1 -1
  108. package/dist/zonos-elements/p-5a3ceb49.entry.js +1 -0
  109. package/dist/zonos-elements/{p-bc25e1aa.js → p-63775f6d.js} +1 -1
  110. package/dist/zonos-elements/p-6e81adba.system.js +1 -1
  111. package/dist/zonos-elements/{p-fd7ab92d.system.entry.js → p-7efb9c12.system.entry.js} +1 -1
  112. package/dist/zonos-elements/{p-ac576bd7.system.entry.js → p-8eb876e8.system.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-d24296a6.system.js → p-a6c9c505.system.js} +1 -1
  114. package/dist/zonos-elements/{p-e9732f93.system.entry.js → p-bdb72353.system.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-b6c83e0b.system.entry.js → p-d6aa3011.system.entry.js} +1 -1
  116. package/dist/zonos-elements/p-dd4f3724.system.js +1 -0
  117. package/dist/zonos-elements/{p-bece7adb.entry.js → p-e1796e2a.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-ff32ea53.entry.js → p-e4919505.entry.js} +1 -1
  119. package/dist/zonos-elements/p-e4be7bd8.js +1 -0
  120. package/dist/zonos-elements/{p-ea1afd2d.system.entry.js → p-e5fd850c.system.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-19dbd8c2.entry.js → p-e90e2126.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-125043b5.entry.js → p-f0b5d2fb.entry.js} +1 -1
  123. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  124. package/package.json +1 -1
  125. package/dist/esm-es5/cart-53f5c10c.js +0 -1
  126. package/dist/zonos-elements/p-176f65e1.system.entry.js +0 -1
  127. package/dist/zonos-elements/p-3555ce7c.system.js +0 -1
  128. package/dist/zonos-elements/p-4cc4aba3.system.js +0 -1
  129. package/dist/zonos-elements/p-aa46e052.js +0 -1
  130. package/dist/zonos-elements/p-ecc72526.entry.js +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-564fe383.js');
6
- const cart = require('./cart-fe91535c.js');
6
+ const cart = require('./cart-37e23be9.js');
7
7
  const zonosStore = require('./zonosStore-bd2a0c59.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
@@ -23,6 +23,12 @@ const BagIcon = `<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xml
23
23
  </svg>
24
24
  `;
25
25
 
26
+ const ImportIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
27
+ <path d="M9.35028 11.5744C9.05738 11.2815 8.58251 11.2815 8.28962 11.5744C7.99672 11.8673 7.99672 12.3422 8.28962 12.635L11.2917 15.6372C11.6823 16.0277 12.3154 16.0277 12.7059 15.6372L15.708 12.6351C16.0009 12.3422 16.0009 11.8674 15.708 11.5745C15.4151 11.2816 14.9402 11.2816 14.6473 11.5745L12.7488 13.4729V4.68005C12.7488 4.26584 12.413 3.93005 11.9988 3.93005C11.5846 3.93005 11.2488 4.26584 11.2488 4.68005L11.2488 13.4729L9.35028 11.5744Z" fill="#4D505A"/>
28
+ <path d="M20 14C20 13.5858 19.6642 13.25 19.25 13.25C18.8358 13.25 18.5 13.5858 18.5 14L18.5 17.25C18.5 17.9404 17.9404 18.5 17.25 18.5L6.75 18.5C6.05964 18.5 5.5 17.9404 5.5 17.25L5.5 14C5.5 13.5858 5.16421 13.25 4.75 13.25C4.33579 13.25 4 13.5858 4 14V17.25C4 18.7688 5.23122 20 6.75 20H17.25C18.7688 20 20 18.7688 20 17.25L20 14Z" fill="#4D505A"/>
29
+ </svg>
30
+ `;
31
+
26
32
  const MessageIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="https://www.w3.org/2000/svg">
27
33
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 3.25736 3.25736 2.25 4.5 2.25H13.5C14.7426 2.25 15.75 3.25736 15.75 4.5V10.5C15.75 11.7426 14.7426 12.75 13.5 12.75H8.25C8.01393 12.75 7.79164 12.8611 7.65 13.05L6.3 14.85C5.87508 15.4166 5.2082 15.75 4.5 15.75C3.25736 15.75 2.25 14.7426 2.25 13.5V4.5ZM4.5 3.75C4.08579 3.75 3.75 4.08579 3.75 4.5V13.5C3.75 13.9142 4.08579 14.25 4.5 14.25C4.73607 14.25 4.95836 14.1389 5.1 13.95L6.45 12.15C6.87492 11.5834 7.5418 11.25 8.25 11.25H13.5C13.9142 11.25 14.25 10.9142 14.25 10.5V4.5C14.25 4.08579 13.9142 3.75 13.5 3.75H4.5ZM5.25 6C5.25 5.58579 5.58579 5.25 6 5.25H12C12.4142 5.25 12.75 5.58579 12.75 6C12.75 6.41421 12.4142 6.75 12 6.75H6C5.58579 6.75 5.25 6.41421 5.25 6ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H8.25C8.66421 8.25 9 8.58579 9 9C9 9.41421 8.66421 9.75 8.25 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9Z" fill="#4D505A"/>
28
34
  </svg>
@@ -67,6 +73,81 @@ const ZonosHelloDialog = class {
67
73
  this.setShowLanguageSelect = async (value) => {
68
74
  this.showLanguageSelect = value;
69
75
  };
76
+ this.getDutyMessage = () => {
77
+ const { countryLandedCost } = cart.localizationStore;
78
+ // Our Robby API spells deminimis wrong here
79
+ const dutyDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.dutyDeminimus)
80
+ ? cart.currencyFormat(countryLandedCost.dutyDeminimus)
81
+ : null;
82
+ // If Canada, use 40 CAD (courier duty de minimis)
83
+ const dutyDeminimisToUse = cart.localizationStore.selectedCountryCode === 'CA'
84
+ ? cart.currencyFormat(40)
85
+ : dutyDeminimis;
86
+ // If deminimis is undefined or null, assume it's $0
87
+ return dutyDeminimisToUse
88
+ ? `${cart.translate('Spend')} ${dutyDeminimisToUse} ${cart.translate('duty free')}`
89
+ : cart.translate('Duties will apply to all orders');
90
+ };
91
+ this.getTaxMessage = () => {
92
+ const { countryLandedCost } = cart.localizationStore;
93
+ // Our Robby API spells deminimis wrong here
94
+ const taxDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.vatTaxDeminimus)
95
+ ? cart.currencyFormat(countryLandedCost.vatTaxDeminimus)
96
+ : null;
97
+ // If Canada, use 150 CAD (courier tax de minimis)
98
+ const taxDeminimisToUse = cart.localizationStore.selectedCountryCode === 'CA'
99
+ ? cart.currencyFormat(150)
100
+ : taxDeminimis;
101
+ return taxDeminimisToUse
102
+ ? `${cart.translate('Spend')} ${taxDeminimisToUse} ${cart.translate('tax free')}`
103
+ : cart.translate('Taxes will apply to all orders');
104
+ };
105
+ this.getUkDutyTaxMessage = (landedCost) => {
106
+ if (landedCost.allowLowValueOrders) {
107
+ // show nothing if low value orders are allowed
108
+ return null;
109
+ }
110
+ const dutyDeminimis = landedCost.dutyDeminimus;
111
+ return cart.translate('Orders to ${countryName} must be over ${threshold} to ship.', {
112
+ countryName: 'United Kingdom',
113
+ threshold: cart.currencyFormat(dutyDeminimis),
114
+ });
115
+ };
116
+ this.getAustraliaDutyTaxMessage = (landedCost) => {
117
+ return cart.translate('${percentage} GST due on any order above ${threshold}.', {
118
+ percentage: `${landedCost.vatTaxRate * 100}%`,
119
+ threshold: cart.currencyFormat(landedCost.vatTaxDeminimus),
120
+ });
121
+ };
122
+ this.getNewZealandDutyTaxMessge = (landedCost) => {
123
+ return cart.translate('${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.', {
124
+ percentage: `${landedCost.vatTaxRate * 100}%`,
125
+ threshold: cart.currencyFormat(landedCost.vatTaxDeminimus),
126
+ });
127
+ };
128
+ /**
129
+ * Get additional duty tax message if selected country has tax id
130
+ */
131
+ this.getAdditionalDutyTaxMessage = () => {
132
+ if (!cart.localizationStore.countryLandedCost) {
133
+ return null;
134
+ }
135
+ // only show the message if the store has a tax id for selected country
136
+ if (!cart.localizationStore.countryLandedCost.hasTaxId) {
137
+ return null;
138
+ }
139
+ switch (cart.localizationStore.countryLandedCost.countryCode) {
140
+ case 'GB':
141
+ return this.getUkDutyTaxMessage(cart.localizationStore.countryLandedCost);
142
+ case 'AU':
143
+ return this.getAustraliaDutyTaxMessage(cart.localizationStore.countryLandedCost);
144
+ case 'NZ':
145
+ return this.getNewZealandDutyTaxMessge(cart.localizationStore.countryLandedCost);
146
+ default:
147
+ // show nothing
148
+ return null;
149
+ }
150
+ };
70
151
  this.isOpen = false;
71
152
  this.setIsOpen = () => { };
72
153
  this.mobileLocationOverride = undefined;
@@ -88,30 +169,13 @@ const ZonosHelloDialog = class {
88
169
  }
89
170
  render() {
90
171
  var _a;
91
- const { countryLandedCost, selectedCountryCode } = cart.localizationStore;
92
- // Our Robby API spells deminimis wrong here
93
- const dutyDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.dutyDeminimus)
94
- ? cart.currencyFormat(countryLandedCost.dutyDeminimus)
95
- : null;
96
- // If Canada, use 40 CAD (courier duty de minimis)
97
- const dutyDeminimisToUse = cart.localizationStore.selectedCountryCode === 'CA'
98
- ? cart.currencyFormat(40)
99
- : dutyDeminimis;
172
+ const { selectedCountryCode } = cart.localizationStore;
173
+ // If deminimis is undefined or null, assume it's $0
174
+ const dutyDeMinimisMessage = this.getDutyMessage();
100
175
  // If deminimis is undefined or null, assume it's $0
101
- const dutyDeMinimisMessage = dutyDeminimisToUse
102
- ? `${cart.translate('Spend')} ${dutyDeminimisToUse} ${cart.translate('duty free')}`
103
- : cart.translate('Duties will apply to all orders');
104
- // Our Robby API spells deminimis wrong here
105
- const taxDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.vatTaxDeminimus)
106
- ? cart.currencyFormat(countryLandedCost.vatTaxDeminimus)
107
- : null;
108
- // If Canada, use 150 CAD (courier tax de minimis)
109
- const taxDeminimisToUse = cart.localizationStore.selectedCountryCode === 'CA'
110
- ? cart.currencyFormat(150)
111
- : taxDeminimis;
112
- const taxDeMinimisMessage = taxDeminimisToUse
113
- ? `${cart.translate('Spend')} ${taxDeminimisToUse} ${cart.translate('tax free')}`
114
- : cart.translate('Taxes will apply to all orders');
176
+ const taxDeMinimisMessage = this.getTaxMessage();
177
+ // Show additional information if selected country has tax id
178
+ const additionalInformation = this.getAdditionalDutyTaxMessage();
115
179
  const animateLeft = this.animateFromLeftOverride ||
116
180
  (this.dialogRef && getHasMoreSpaceOnRight.getHasMoreSpaceOnRight(this.dialogRef));
117
181
  const animateFromBottom = this.dialogRef && getHasMoreSpaceAbove(this.dialogRef);
@@ -122,7 +186,7 @@ const ZonosHelloDialog = class {
122
186
  const defaultMessage = formatStringWithLinks.formatStringWithLinks(defaultMessageStr);
123
187
  const currentPage = this.getCurrentPageEnum();
124
188
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
125
- return (index.h(index.Host, { key: 'dcd4c055999375785e289cc273c37e50c358d594', class: "zonos--elements" }, index.h("div", { key: 'a8921afb921ee0b4c0adb31dca0da646c91bdecc', "aria-hidden": "true", class: classes.classes([
189
+ return (index.h(index.Host, { key: 'ccabd686943b009ed6bb9c0ec64a6a4e7cc917f5', class: "zonos--elements" }, index.h("div", { key: '6bfbae15f5b43413fc76d21b94d0d56a2ce48f4d', "aria-hidden": "true", class: classes.classes([
126
190
  'zonos--hello-dialog',
127
191
  animateLeft && 'zonos--hello-dialog-animate-from-left',
128
192
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
@@ -132,7 +196,7 @@ const ZonosHelloDialog = class {
132
196
  ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", null, index.h("div", { class: "zonos--hello-dialog-content" }, index.h("zonos-button", { class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), index.h("zonos-v-stack", { spacing: 24 }, index.h("zonos-country-flag", { class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { spacing: 8 }, this.restrictedItems.map(item => {
133
197
  var _a;
134
198
  return item && (index.h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (index.h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
135
- }), index.h("zonos-card", { spacing: "12px" }, index.h("zonos-v-stack", { spacing: 12 }, index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: BagIcon }), index.h("zonos-text", null, dutyDeMinimisMessage)), index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", null, taxDeMinimisMessage)))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", null, index.h("zonos-country-select", { handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", null, index.h("zonos-language-select", { handleOnClose: () => this.setShowLanguageSelect(false) }))))));
199
+ }), index.h("zonos-card", { spacing: "12px" }, index.h("zonos-v-stack", { spacing: 12 }, index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", null, dutyDeMinimisMessage)), index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", null, taxDeMinimisMessage)), additionalInformation && (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Low value order shipping restriction", content: BagIcon }), index.h("zonos-text", null, additionalInformation))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", null, index.h("zonos-country-select", { handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", null, index.h("zonos-language-select", { handleOnClose: () => this.setShowLanguageSelect(false) }))))));
136
200
  }
137
201
  static get assetsDirs() { return ["assets"]; }
138
202
  static get watchers() { return {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-564fe383.js');
6
6
  const zonosStore = require('./zonosStore-bd2a0c59.js');
7
- const cart = require('./cart-fe91535c.js');
7
+ const cart = require('./cart-37e23be9.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
10
10
  require('./isDarkColor-7faf0a82.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-564fe383.js');
6
- const cart = require('./cart-fe91535c.js');
6
+ const cart = require('./cart-37e23be9.js');
7
7
  require('./zonosStore-bd2a0c59.js');
8
8
  require('./isDarkColor-7faf0a82.js');
9
9
  require('./getBorderRadius-4fa738c3.js');
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.35028 11.5744C9.05738 11.2815 8.58251 11.2815 8.28962 11.5744C7.99672 11.8673 7.99672 12.3422 8.28962 12.635L11.2917 15.6372C11.6823 16.0277 12.3154 16.0277 12.7059 15.6372L15.708 12.6351C16.0009 12.3422 16.0009 11.8674 15.708 11.5745C15.4151 11.2816 14.9402 11.2816 14.6473 11.5745L12.7488 13.4729V4.68005C12.7488 4.26584 12.413 3.93005 11.9988 3.93005C11.5846 3.93005 11.2488 4.26584 11.2488 4.68005L11.2488 13.4729L9.35028 11.5744Z" fill="#4D505A"/>
3
+ <path d="M20 14C20 13.5858 19.6642 13.25 19.25 13.25C18.8358 13.25 18.5 13.5858 18.5 14L18.5 17.25C18.5 17.9404 17.9404 18.5 17.25 18.5L6.75 18.5C6.05964 18.5 5.5 17.9404 5.5 17.25L5.5 14C5.5 13.5858 5.16421 13.25 4.75 13.25C4.33579 13.25 4 13.5858 4 14V17.25C4 18.7688 5.23122 20 6.75 20H17.25C18.7688 20 20 18.7688 20 17.25L20 14Z" fill="#4D505A"/>
4
+ </svg>
@@ -10,6 +10,8 @@ import { getHasMoreSpaceOnRight } from "../../utils/hello/getHasMoreSpaceOnRight
10
10
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
11
11
  import BagIcon from "./assets/bagIcon.svg";
12
12
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
13
+ import ImportIcon from "./assets/importIcon.svg";
14
+ // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
13
15
  import MessageIcon from "./assets/messageIcon.svg";
14
16
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
15
17
  import MoneyIcon from "./assets/moneyIcon.svg";
@@ -42,6 +44,81 @@ export class ZonosHelloDialog {
42
44
  this.setShowLanguageSelect = async (value) => {
43
45
  this.showLanguageSelect = value;
44
46
  };
47
+ this.getDutyMessage = () => {
48
+ const { countryLandedCost } = localizationStore;
49
+ // Our Robby API spells deminimis wrong here
50
+ const dutyDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.dutyDeminimus)
51
+ ? currencyFormat(countryLandedCost.dutyDeminimus)
52
+ : null;
53
+ // If Canada, use 40 CAD (courier duty de minimis)
54
+ const dutyDeminimisToUse = localizationStore.selectedCountryCode === 'CA'
55
+ ? currencyFormat(40)
56
+ : dutyDeminimis;
57
+ // If deminimis is undefined or null, assume it's $0
58
+ return dutyDeminimisToUse
59
+ ? `${translate('Spend')} ${dutyDeminimisToUse} ${translate('duty free')}`
60
+ : translate('Duties will apply to all orders');
61
+ };
62
+ this.getTaxMessage = () => {
63
+ const { countryLandedCost } = localizationStore;
64
+ // Our Robby API spells deminimis wrong here
65
+ const taxDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.vatTaxDeminimus)
66
+ ? currencyFormat(countryLandedCost.vatTaxDeminimus)
67
+ : null;
68
+ // If Canada, use 150 CAD (courier tax de minimis)
69
+ const taxDeminimisToUse = localizationStore.selectedCountryCode === 'CA'
70
+ ? currencyFormat(150)
71
+ : taxDeminimis;
72
+ return taxDeminimisToUse
73
+ ? `${translate('Spend')} ${taxDeminimisToUse} ${translate('tax free')}`
74
+ : translate('Taxes will apply to all orders');
75
+ };
76
+ this.getUkDutyTaxMessage = (landedCost) => {
77
+ if (landedCost.allowLowValueOrders) {
78
+ // show nothing if low value orders are allowed
79
+ return null;
80
+ }
81
+ const dutyDeminimis = landedCost.dutyDeminimus;
82
+ return translate('Orders to ${countryName} must be over ${threshold} to ship.', {
83
+ countryName: 'United Kingdom',
84
+ threshold: currencyFormat(dutyDeminimis),
85
+ });
86
+ };
87
+ this.getAustraliaDutyTaxMessage = (landedCost) => {
88
+ return translate('${percentage} GST due on any order above ${threshold}.', {
89
+ percentage: `${landedCost.vatTaxRate * 100}%`,
90
+ threshold: currencyFormat(landedCost.vatTaxDeminimus),
91
+ });
92
+ };
93
+ this.getNewZealandDutyTaxMessge = (landedCost) => {
94
+ return translate('${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.', {
95
+ percentage: `${landedCost.vatTaxRate * 100}%`,
96
+ threshold: currencyFormat(landedCost.vatTaxDeminimus),
97
+ });
98
+ };
99
+ /**
100
+ * Get additional duty tax message if selected country has tax id
101
+ */
102
+ this.getAdditionalDutyTaxMessage = () => {
103
+ if (!localizationStore.countryLandedCost) {
104
+ return null;
105
+ }
106
+ // only show the message if the store has a tax id for selected country
107
+ if (!localizationStore.countryLandedCost.hasTaxId) {
108
+ return null;
109
+ }
110
+ switch (localizationStore.countryLandedCost.countryCode) {
111
+ case 'GB':
112
+ return this.getUkDutyTaxMessage(localizationStore.countryLandedCost);
113
+ case 'AU':
114
+ return this.getAustraliaDutyTaxMessage(localizationStore.countryLandedCost);
115
+ case 'NZ':
116
+ return this.getNewZealandDutyTaxMessge(localizationStore.countryLandedCost);
117
+ default:
118
+ // show nothing
119
+ return null;
120
+ }
121
+ };
45
122
  this.isOpen = false;
46
123
  this.setIsOpen = () => { };
47
124
  this.mobileLocationOverride = undefined;
@@ -63,30 +140,13 @@ export class ZonosHelloDialog {
63
140
  }
64
141
  render() {
65
142
  var _a;
66
- const { countryLandedCost, selectedCountryCode } = localizationStore;
67
- // Our Robby API spells deminimis wrong here
68
- const dutyDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.dutyDeminimus)
69
- ? currencyFormat(countryLandedCost.dutyDeminimus)
70
- : null;
71
- // If Canada, use 40 CAD (courier duty de minimis)
72
- const dutyDeminimisToUse = localizationStore.selectedCountryCode === 'CA'
73
- ? currencyFormat(40)
74
- : dutyDeminimis;
143
+ const { selectedCountryCode } = localizationStore;
144
+ // If deminimis is undefined or null, assume it's $0
145
+ const dutyDeMinimisMessage = this.getDutyMessage();
75
146
  // If deminimis is undefined or null, assume it's $0
76
- const dutyDeMinimisMessage = dutyDeminimisToUse
77
- ? `${translate('Spend')} ${dutyDeminimisToUse} ${translate('duty free')}`
78
- : translate('Duties will apply to all orders');
79
- // Our Robby API spells deminimis wrong here
80
- const taxDeminimis = (countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.vatTaxDeminimus)
81
- ? currencyFormat(countryLandedCost.vatTaxDeminimus)
82
- : null;
83
- // If Canada, use 150 CAD (courier tax de minimis)
84
- const taxDeminimisToUse = localizationStore.selectedCountryCode === 'CA'
85
- ? currencyFormat(150)
86
- : taxDeminimis;
87
- const taxDeMinimisMessage = taxDeminimisToUse
88
- ? `${translate('Spend')} ${taxDeminimisToUse} ${translate('tax free')}`
89
- : translate('Taxes will apply to all orders');
147
+ const taxDeMinimisMessage = this.getTaxMessage();
148
+ // Show additional information if selected country has tax id
149
+ const additionalInformation = this.getAdditionalDutyTaxMessage();
90
150
  const animateLeft = this.animateFromLeftOverride ||
91
151
  (this.dialogRef && getHasMoreSpaceOnRight(this.dialogRef));
92
152
  const animateFromBottom = this.dialogRef && getHasMoreSpaceAbove(this.dialogRef);
@@ -97,7 +157,7 @@ export class ZonosHelloDialog {
97
157
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
98
158
  const currentPage = this.getCurrentPageEnum();
99
159
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
100
- return (h(Host, { key: 'dcd4c055999375785e289cc273c37e50c358d594', class: "zonos--elements" }, h("div", { key: 'a8921afb921ee0b4c0adb31dca0da646c91bdecc', "aria-hidden": "true", class: classes([
160
+ return (h(Host, { key: 'ccabd686943b009ed6bb9c0ec64a6a4e7cc917f5', class: "zonos--elements" }, h("div", { key: '6bfbae15f5b43413fc76d21b94d0d56a2ce48f4d', "aria-hidden": "true", class: classes([
101
161
  'zonos--hello-dialog',
102
162
  animateLeft && 'zonos--hello-dialog-animate-from-left',
103
163
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
@@ -107,7 +167,7 @@ export class ZonosHelloDialog {
107
167
  ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", null, h("div", { class: "zonos--hello-dialog-content" }, h("zonos-button", { 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", { spacing: 24 }, h("zonos-country-flag", { class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { type: "boldSubheader" }, welcomeMessage), h("zonos-text", { innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { spacing: 8 }, this.restrictedItems.map(item => {
108
168
  var _a;
109
169
  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)))));
110
- }), h("zonos-card", { spacing: "12px" }, h("zonos-v-stack", { spacing: 12 }, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: BagIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", null, h("zonos-country-select", { handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", null, h("zonos-language-select", { handleOnClose: () => this.setShowLanguageSelect(false) }))))));
170
+ }), h("zonos-card", { spacing: "12px" }, h("zonos-v-stack", { spacing: 12 }, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)), additionalInformation && (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", null, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", null, h("zonos-country-select", { handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", null, h("zonos-language-select", { handleOnClose: () => this.setShowLanguageSelect(false) }))))));
111
171
  }
112
172
  static get is() { return "zonos-hello-dialog"; }
113
173
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,10 @@
1
1
  export const stringsArabic = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} ضريبة القيمة المضافة مستحقة على أي طلب يتجاوز ${threshold} بالإضافة إلى رسوم معاملة إدخال الاستيراد ورسوم MPI.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} ضريبة القيمة المضافة مستحقة على أي طلب يتجاوز ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'أعلى من الحد الأدنى لـ',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsArabic = {
92
98
  'Order total': {
93
99
  value: 'إجمالي الطلبية',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'يجب أن تتجاوز الطلبيات إلى ${countryName} ${threshold} ليتم شحنها.',
103
+ },
95
104
  Pay: {
96
105
  value: 'دفع',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsBase = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} GST due on any order above ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Above de minimis threshold for',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsBase = {
92
98
  'Order total': {
93
99
  value: 'Order total',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Orders to ${countryName} must be over ${threshold} to ship.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Pay',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsChinese = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '任何订单超过${threshold},除了需缴纳${percentage}的商品及服务税外,还包括进口货物申报费和MPI征费。',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '任何订单超过${threshold},需缴纳${percentage}的商品及服务税。',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: '超过最低征税门槛',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsChinese = {
92
98
  'Order total': {
93
99
  value: '订单总计',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: '寄往${countryName}的订单必须超过${threshold}才能发货。',
103
+ },
95
104
  Pay: {
96
105
  value: '支付',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsDanish = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} GST skyldig på enhver ordre over ${threshold}, sammen med et import indgangstransaktionsgebyr og MPI-afgift.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} GST skyldig på enhver ordre over ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Over de minimis-grænsen for',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsDanish = {
92
98
  'Order total': {
93
99
  value: 'Ordresum',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Ordrer til ${countryName} skal være over ${threshold} for at blive sendt.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Betal',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsDutch = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} BTW verschuldigd op elke bestelling boven ${threshold}, inclusief een invoertransactiekosten en MPI-heffing.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} BTW verschuldigd op elke bestelling boven ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Boven de minimale drempel voor',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsDutch = {
92
98
  'Order total': {
93
99
  value: 'Totaal bestelling',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Bestellingen naar ${countryName} moeten meer dan ${threshold} zijn om verzonden te worden.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Betalen',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsFrench = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: "${percentage} de TVA due sur toute commande supérieure à ${threshold}, ainsi qu'une taxe de transaction d'entrée d'importation et une cotisation MPI.",
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} de TVA due sur toute commande supérieure à ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Au-dessus du seuil de minimis pour',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsFrench = {
92
98
  'Order total': {
93
99
  value: 'Total de la commande',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Les commandes à destination de ${countryName} doivent dépasser ${threshold} pour être expédiées.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Payer',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsGerman = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} MwSt. fällig bei jeder Bestellung über ${threshold}, zuzüglich einer Einfuhrabwicklungskosten und MPI-Abgabe.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} MwSt. fällig bei jeder Bestellung über ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Über der Mindestgrenze für',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsGerman = {
92
98
  'Order total': {
93
99
  value: 'Bestellsumme',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Bestellungen nach ${countryName} müssen über ${threshold} liegen, um versendet zu werden.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Bezahlen',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsHebrew = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} מע"מ חל על כל הזמנה מעל ${threshold}, יחד עם עמלת עסקת כניסת ייבוא ומס MPI.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} מע"מ חל על כל הזמנה מעל ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'מעל סף המינימום עבור',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsHebrew = {
92
98
  'Order total': {
93
99
  value: 'סה"כ ההזמנה',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'הזמנות ל-${countryName} חייבות לעבור את הסכום של ${threshold} כדי להישלח.',
103
+ },
95
104
  Pay: {
96
105
  value: 'לשלם',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsIndonesian = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} PPN yang harus dibayar untuk setiap pesanan di atas ${threshold}, termasuk biaya transaksi masuk impor dan pajak MPI.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} PPN yang harus dibayar untuk setiap pesanan di atas ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Di atas ambang batas de minimis untuk',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsIndonesian = {
92
98
  'Order total': {
93
99
  value: 'Total pesanan',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Pesanan ke ${countryName} harus lebih dari ${threshold} untuk dikirim.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Bayar',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsItalian = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: "${percentage} di IVA dovuta su qualsiasi ordine superiore a ${threshold}, oltre a una tassa di transazione di entrata importazione e un'imposta MPI.",
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} di IVA dovuta su qualsiasi ordine superiore a ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Sopra la soglia di minimis per',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsItalian = {
92
98
  'Order total': {
93
99
  value: 'Totale ordine',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Gli ordini per ${countryName} devono superare ${threshold} per essere spediti.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Paga',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsJapanese = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${threshold}を超えるすべての注文には、${percentage}の消費税に加えて、輸入エントリー取引手数料とMPI課税が適用されます。',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: 'すべての注文で${threshold}を超えると、${percentage}の消費税が課せられます。',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'デミニマスの閾値を超える',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsJapanese = {
92
98
  'Order total': {
93
99
  value: 'ご注文合計',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: '${countryName}への注文は${threshold}を超えなければなりません。',
103
+ },
95
104
  Pay: {
96
105
  value: '支払う',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsKorean = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${threshold} 이상의 모든 주문에 대해 ${percentage}의 부가가치세와 함께 수입 통관 수수료 및 MPI 부담금이 부과됩니다.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${threshold} 이상의 모든 주문에 대해 ${percentage}의 부가가치세가 부과됩니다.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: '최소 임계값을 초과하여',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsKorean = {
92
98
  'Order total': {
93
99
  value: '주문 총액',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: '${countryName}으로의 주문은 ${threshold}을(를) 초과해야 합니다.',
103
+ },
95
104
  Pay: {
96
105
  value: '지불',
97
106
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsNorwegian = {
2
+ '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
+ value: '${percentage} GST skyldig for enhver ordre over ${threshold}, sammen med et importinngangstransaksjonsgebyr og MPI-avgift.',
4
+ },
5
+ '${percentage} GST due on any order above ${threshold}.': {
6
+ value: '${percentage} GST skyldig for enhver ordre over ${threshold}.',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Over minstegrensen for',
4
10
  },
@@ -92,6 +98,9 @@ export const stringsNorwegian = {
92
98
  'Order total': {
93
99
  value: 'Totalt beløp',
94
100
  },
101
+ 'Orders to ${countryName} must be over ${threshold} to ship.': {
102
+ value: 'Bestillinger til ${countryName} må være over ${threshold} for å sendes.',
103
+ },
95
104
  Pay: {
96
105
  value: 'Betal',
97
106
  },