@foxy.io/elements 1.34.0-beta.2 → 1.34.0-beta.3

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 (229) hide show
  1. package/dist/cdn/foxy-access-recovery-form.js +1 -1
  2. package/dist/cdn/foxy-address-card.js +1 -1
  3. package/dist/cdn/foxy-address-form.js +1 -1
  4. package/dist/cdn/foxy-admin-subscription-card.js +1 -1
  5. package/dist/cdn/foxy-admin-subscription-form.js +1 -1
  6. package/dist/cdn/foxy-api-browser.js +1 -1
  7. package/dist/cdn/foxy-applied-coupon-code-card.js +1 -1
  8. package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
  9. package/dist/cdn/foxy-applied-tax-card.js +1 -1
  10. package/dist/cdn/foxy-attribute-card.js +1 -1
  11. package/dist/cdn/foxy-attribute-form.js +1 -1
  12. package/dist/cdn/foxy-billing-address-card.js +1 -1
  13. package/dist/cdn/foxy-cancellation-form.js +1 -1
  14. package/dist/cdn/foxy-cart-card.js +1 -1
  15. package/dist/cdn/foxy-cart-form.js +2 -2
  16. package/dist/cdn/foxy-client-card.js +1 -1
  17. package/dist/cdn/foxy-client-form.js +1 -1
  18. package/dist/cdn/foxy-collection-page.js +1 -1
  19. package/dist/cdn/foxy-collection-pages.js +1 -1
  20. package/dist/cdn/foxy-copy-to-clipboard.js +1 -1
  21. package/dist/cdn/foxy-coupon-card.js +1 -1
  22. package/dist/cdn/foxy-coupon-code-card.js +1 -1
  23. package/dist/cdn/foxy-coupon-code-form.js +1 -1
  24. package/dist/cdn/foxy-coupon-codes-form.js +1 -1
  25. package/dist/cdn/foxy-coupon-detail-card.js +1 -1
  26. package/dist/cdn/foxy-coupon-form.js +1 -1
  27. package/dist/cdn/foxy-custom-field-card.js +1 -1
  28. package/dist/cdn/foxy-custom-field-form.js +1 -1
  29. package/dist/cdn/foxy-customer-card.js +1 -1
  30. package/dist/cdn/foxy-customer-form.js +1 -1
  31. package/dist/cdn/foxy-customer-portal-settings-form.js +1 -1
  32. package/dist/cdn/foxy-customer-portal-settings.js +1 -1
  33. package/dist/cdn/foxy-customer-portal.js +1 -1
  34. package/dist/cdn/foxy-customer.js +1 -1
  35. package/dist/cdn/foxy-customers-table.js +1 -1
  36. package/dist/cdn/foxy-discount-builder.js +1 -1
  37. package/dist/cdn/foxy-discount-card.js +1 -1
  38. package/dist/cdn/foxy-discount-detail-card.js +1 -1
  39. package/dist/cdn/foxy-donation.js +1 -1
  40. package/dist/cdn/foxy-downloadable-card.js +1 -1
  41. package/dist/cdn/foxy-downloadable-form.js +6 -6
  42. package/dist/cdn/foxy-email-template-card.js +1 -1
  43. package/dist/cdn/foxy-email-template-form.js +1 -1
  44. package/dist/cdn/foxy-error-entry-card.js +1 -1
  45. package/dist/cdn/foxy-filter-attribute-card.js +1 -1
  46. package/dist/cdn/foxy-filter-attribute-form.js +1 -1
  47. package/dist/cdn/foxy-form-dialog.js +1 -1
  48. package/dist/cdn/foxy-generate-codes-form.js +1 -1
  49. package/dist/cdn/foxy-gift-card-card.js +1 -1
  50. package/dist/cdn/foxy-gift-card-code-card.js +1 -1
  51. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  52. package/dist/cdn/foxy-gift-card-code-log-card.js +1 -1
  53. package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
  54. package/dist/cdn/foxy-gift-card-form.js +1 -1
  55. package/dist/cdn/foxy-i18n-editor.js +3 -3
  56. package/dist/cdn/foxy-i18n.js +1 -1
  57. package/dist/cdn/foxy-integration-card.js +1 -1
  58. package/dist/cdn/foxy-integration-form.js +1 -1
  59. package/dist/cdn/foxy-item-card.js +1 -1
  60. package/dist/cdn/foxy-item-category-card.js +1 -1
  61. package/dist/cdn/foxy-item-category-form.js +1 -1
  62. package/dist/cdn/foxy-item-form.js +1 -1
  63. package/dist/cdn/foxy-item-option-card.js +1 -1
  64. package/dist/cdn/foxy-item-option-form.js +1 -1
  65. package/dist/cdn/foxy-items-form.js +1 -1
  66. package/dist/cdn/foxy-native-integration-card.js +1 -1
  67. package/dist/cdn/foxy-native-integration-form.js +1 -1
  68. package/dist/cdn/foxy-pagination.js +1 -1
  69. package/dist/cdn/foxy-passkey-card.js +1 -1
  70. package/dist/cdn/foxy-passkey-form.js +1 -1
  71. package/dist/cdn/foxy-payment-card-embed.js +1 -1
  72. package/dist/cdn/foxy-payment-card.js +1 -1
  73. package/dist/cdn/foxy-payment-method-card.js +1 -1
  74. package/dist/cdn/foxy-payments-api-fraud-protection-card.js +1 -1
  75. package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
  76. package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
  77. package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
  78. package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
  79. package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
  80. package/dist/cdn/foxy-query-builder.js +1 -1
  81. package/dist/cdn/foxy-report-form.js +2 -2
  82. package/dist/cdn/foxy-reports-table.js +5 -5
  83. package/dist/cdn/foxy-shipment-card.js +1 -1
  84. package/dist/cdn/foxy-shipping-container-card.js +1 -1
  85. package/dist/cdn/foxy-shipping-drop-type-card.js +1 -1
  86. package/dist/cdn/foxy-shipping-method-card.js +1 -1
  87. package/dist/cdn/foxy-shipping-service-card.js +1 -1
  88. package/dist/cdn/foxy-sign-in-form.js +1 -1
  89. package/dist/cdn/foxy-spinner.js +2 -2
  90. package/dist/cdn/foxy-store-card.js +1 -1
  91. package/dist/cdn/foxy-store-form.js +1 -1
  92. package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
  93. package/dist/cdn/foxy-subscription-card.js +1 -1
  94. package/dist/cdn/foxy-subscription-form.js +1 -1
  95. package/dist/cdn/foxy-subscription-settings-form.js +1 -1
  96. package/dist/cdn/foxy-subscriptions-table.js +1 -1
  97. package/dist/cdn/foxy-table.js +1 -1
  98. package/dist/cdn/foxy-tax-card.js +1 -1
  99. package/dist/cdn/foxy-tax-form.js +1 -1
  100. package/dist/cdn/foxy-template-config-form.js +1 -1
  101. package/dist/cdn/foxy-template-form.js +1 -1
  102. package/dist/cdn/foxy-template-set-card.js +1 -1
  103. package/dist/cdn/foxy-template-set-form.js +1 -1
  104. package/dist/cdn/foxy-transaction-card.js +1 -1
  105. package/dist/cdn/foxy-transaction.js +1 -1
  106. package/dist/cdn/foxy-transactions-table.js +1 -1
  107. package/dist/cdn/foxy-update-payment-method-form.js +1 -1
  108. package/dist/cdn/foxy-user-card.js +1 -1
  109. package/dist/cdn/foxy-user-form.js +1 -1
  110. package/dist/cdn/foxy-user-invitation-card.js +1 -1
  111. package/dist/cdn/foxy-user-invitation-form.js +1 -1
  112. package/dist/cdn/foxy-users-table.js +1 -1
  113. package/dist/cdn/foxy-webhook-card.js +1 -1
  114. package/dist/cdn/foxy-webhook-form.js +1 -1
  115. package/dist/cdn/foxy-webhook-log-card.js +1 -1
  116. package/dist/cdn/foxy-webhook-status-card.js +1 -1
  117. package/dist/cdn/{shared-f4e03cdc.js → shared-0293eba8.js} +1 -1
  118. package/dist/cdn/shared-0d0fe9c0.js +1 -0
  119. package/dist/cdn/{shared-433ff5ae.js → shared-0db6454a.js} +10 -4
  120. package/dist/cdn/shared-0fe1dd67.js +1 -0
  121. package/dist/cdn/{shared-ff10b9fb.js → shared-126cb82b.js} +1 -1
  122. package/dist/cdn/{shared-3db18172.js → shared-16766722.js} +1 -1
  123. package/dist/cdn/{shared-f6f4bed5.js → shared-1838736d.js} +1 -1
  124. package/dist/cdn/{shared-9f4fad24.js → shared-1b5f155f.js} +1 -1
  125. package/dist/cdn/{shared-95a591b3.js → shared-1df36027.js} +2 -2
  126. package/dist/cdn/{shared-d3ffbcb0.js → shared-23aa2506.js} +1 -1
  127. package/dist/cdn/{shared-a9f4e92e.js → shared-2b6b735d.js} +1 -1
  128. package/dist/cdn/{shared-705ce87a.js → shared-2ddb119e.js} +1 -1
  129. package/dist/cdn/{shared-69cdc370.js → shared-2fd6e530.js} +1 -1
  130. package/dist/cdn/{shared-6b15ed9e.js → shared-370be17b.js} +5 -5
  131. package/dist/cdn/{shared-a8f38962.js → shared-3e25035f.js} +1 -1
  132. package/dist/cdn/{shared-62af0ef5.js → shared-3efc6649.js} +1 -1
  133. package/dist/cdn/shared-41072bad.js +1 -0
  134. package/dist/cdn/{shared-cc8ce493.js → shared-46de2ed2.js} +1 -1
  135. package/dist/cdn/{shared-4f33425a.js → shared-4e6c65e6.js} +1 -1
  136. package/dist/cdn/{shared-7edf38e9.js → shared-4f216dc1.js} +1 -1
  137. package/dist/cdn/{shared-83c8a2d2.js → shared-51fd3fc6.js} +1 -1
  138. package/dist/cdn/{shared-32566c11.js → shared-5245b330.js} +1 -1
  139. package/dist/cdn/{shared-8d826ccb.js → shared-527eb17e.js} +1 -1
  140. package/dist/cdn/{shared-a46c8030.js → shared-6a63a308.js} +1 -1
  141. package/dist/cdn/{shared-636cf673.js → shared-6c4a5133.js} +1 -1
  142. package/dist/cdn/{shared-25b83adb.js → shared-6cf0c762.js} +1 -1
  143. package/dist/cdn/{shared-8d5b9662.js → shared-6cf39826.js} +5 -5
  144. package/dist/cdn/shared-7040eef3.js +1 -0
  145. package/dist/cdn/{shared-47fe9f56.js → shared-74d9b3d4.js} +1 -1
  146. package/dist/cdn/{shared-136942c7.js → shared-7cfd461d.js} +1 -1
  147. package/dist/cdn/{shared-3ef5dcef.js → shared-7d234de2.js} +1 -1
  148. package/dist/cdn/{shared-a9b8c3ab.js → shared-7e1768cf.js} +1 -1
  149. package/dist/cdn/{shared-f0db16a5.js → shared-851b96ae.js} +1 -1
  150. package/dist/cdn/{shared-cb24170b.js → shared-85803aca.js} +1 -1
  151. package/dist/cdn/shared-869ed25d.js +294 -0
  152. package/dist/cdn/{shared-67d1de9a.js → shared-88bfb7f5.js} +1 -1
  153. package/dist/cdn/{shared-77135874.js → shared-8e73014c.js} +1 -1
  154. package/dist/cdn/{shared-3ebbd21d.js → shared-921e3f1e.js} +1 -1
  155. package/dist/cdn/{shared-52c9fa57.js → shared-9421c0d7.js} +1 -1
  156. package/dist/cdn/{shared-b8ae5af7.js → shared-9c479921.js} +1 -1
  157. package/dist/cdn/{shared-148214ee.js → shared-9e9bec09.js} +1 -1
  158. package/dist/cdn/{shared-6583e3f9.js → shared-a24264e6.js} +1 -1
  159. package/dist/cdn/{shared-9dd252c7.js → shared-a34983ea.js} +2 -2
  160. package/dist/cdn/{shared-a2616e4b.js → shared-a4953186.js} +1 -1
  161. package/dist/cdn/{shared-1d0d814b.js → shared-a7524277.js} +1 -1
  162. package/dist/cdn/shared-a83e33cd.js +1 -0
  163. package/dist/cdn/{shared-46189aae.js → shared-a86480c5.js} +1 -1
  164. package/dist/cdn/{shared-0d4cdb19.js → shared-ae68261f.js} +1 -1
  165. package/dist/cdn/{shared-2ca888f6.js → shared-b62fb09f.js} +1 -1
  166. package/dist/cdn/{shared-5cdec81e.js → shared-bbd2a4e6.js} +1 -1
  167. package/dist/cdn/{shared-56ee26d7.js → shared-bec65d6d.js} +1 -1
  168. package/dist/cdn/{shared-02c737dc.js → shared-c176c4fa.js} +1 -1
  169. package/dist/cdn/{shared-f79438f8.js → shared-c1f4a6ef.js} +1 -1
  170. package/dist/cdn/{shared-cfe76d01.js → shared-d735fc99.js} +1 -1
  171. package/dist/cdn/{shared-69c7aec1.js → shared-d806ec21.js} +1 -1
  172. package/dist/cdn/{shared-08e73812.js → shared-dbc9aff0.js} +1 -1
  173. package/dist/cdn/{shared-a1f697c2.js → shared-e0b00e0f.js} +1 -1
  174. package/dist/cdn/{shared-66e2a4ee.js → shared-e6379bd1.js} +1 -1
  175. package/dist/cdn/{shared-33c9ef32.js → shared-e7069b0f.js} +1 -1
  176. package/dist/cdn/{shared-70612035.js → shared-e766f6e0.js} +1 -1
  177. package/dist/cdn/{shared-57373d84.js → shared-e8df4368.js} +1 -1
  178. package/dist/cdn/{shared-b8c6eafc.js → shared-e9e2fd3f.js} +1 -1
  179. package/dist/cdn/{shared-2dd2ff95.js → shared-f378fe25.js} +1 -1
  180. package/dist/cdn/{shared-6b578d1a.js → shared-f57e1679.js} +1 -1
  181. package/dist/cdn/{shared-6b5e4fe4.js → shared-f8252d03.js} +1 -1
  182. package/dist/cdn/{shared-2aee2a22.js → shared-fceaef95.js} +1 -1
  183. package/dist/cdn/translations/template-config-form/en.json +520 -108
  184. package/dist/elements/internal/InternalEditableControl/InternalEditableControl.d.ts +2 -0
  185. package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js +23 -2
  186. package/dist/elements/internal/InternalEditableControl/InternalEditableControl.js.map +1 -1
  187. package/dist/elements/internal/InternalEditableListControl/InternalEditableListControl.d.ts +1 -0
  188. package/dist/elements/internal/InternalEditableListControl/InternalEditableListControl.js +12 -2
  189. package/dist/elements/internal/InternalEditableListControl/InternalEditableListControl.js.map +1 -1
  190. package/dist/elements/internal/InternalSwitchControl/InternalSwitchControl.d.ts +4 -0
  191. package/dist/elements/internal/InternalSwitchControl/InternalSwitchControl.js +20 -0
  192. package/dist/elements/internal/InternalSwitchControl/InternalSwitchControl.js.map +1 -1
  193. package/dist/elements/public/TemplateConfigForm/TemplateConfigForm.d.ts +33 -26
  194. package/dist/elements/public/TemplateConfigForm/TemplateConfigForm.js +679 -1234
  195. package/dist/elements/public/TemplateConfigForm/TemplateConfigForm.js.map +1 -1
  196. package/dist/elements/public/TemplateConfigForm/index.d.ts +9 -5
  197. package/dist/elements/public/TemplateConfigForm/index.js +9 -5
  198. package/dist/elements/public/TemplateConfigForm/index.js.map +1 -1
  199. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/InternalTemplateConfigFormFilterValuesControl.d.ts +14 -0
  200. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/InternalTemplateConfigFormFilterValuesControl.js +138 -0
  201. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/InternalTemplateConfigFormFilterValuesControl.js.map +1 -0
  202. package/dist/elements/public/TemplateConfigForm/{CountryCard.d.ts → internal/InternalTemplateConfigFormFilterValuesControl/InternalTemplateConfigFormFilterValuesControlItem.d.ts} +4 -4
  203. package/dist/elements/public/TemplateConfigForm/{CountryCard.js → internal/InternalTemplateConfigFormFilterValuesControl/InternalTemplateConfigFormFilterValuesControlItem.js} +20 -28
  204. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/InternalTemplateConfigFormFilterValuesControlItem.js.map +1 -0
  205. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/index.d.ts +4 -0
  206. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/index.js +8 -0
  207. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormFilterValuesControl/index.js.map +1 -0
  208. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormSupportedCardsControl/InternalTemplateConfigFormSupportedCardsControl.d.ts +7 -0
  209. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormSupportedCardsControl/InternalTemplateConfigFormSupportedCardsControl.js +82 -0
  210. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormSupportedCardsControl/InternalTemplateConfigFormSupportedCardsControl.js.map +1 -0
  211. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormSupportedCardsControl/index.d.ts +3 -0
  212. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormSupportedCardsControl/index.js +5 -0
  213. package/dist/elements/public/TemplateConfigForm/internal/InternalTemplateConfigFormSupportedCardsControl/index.js.map +1 -0
  214. package/dist/mixins/themeable.js +4 -12
  215. package/dist/mixins/themeable.js.map +1 -1
  216. package/package.json +1 -1
  217. package/dist/cdn/shared-1acbd965.js +0 -1
  218. package/dist/cdn/shared-61ade33e.js +0 -6
  219. package/dist/cdn/shared-684174e7.js +0 -1
  220. package/dist/cdn/shared-8a65adfd.js +0 -1
  221. package/dist/cdn/shared-9ea762dc.js +0 -294
  222. package/dist/cdn/shared-b73aaedb.js +0 -1
  223. package/dist/cdn/shared-ccc7a886.js +0 -1
  224. package/dist/cdn/shared-e8744e04.js +0 -1
  225. package/dist/cdn/shared-eb8a9f27.js +0 -1
  226. package/dist/elements/public/TemplateConfigForm/CountriesList.d.ts +0 -21
  227. package/dist/elements/public/TemplateConfigForm/CountriesList.js +0 -137
  228. package/dist/elements/public/TemplateConfigForm/CountriesList.js.map +0 -1
  229. package/dist/elements/public/TemplateConfigForm/CountryCard.js.map +0 -1
@@ -1,112 +1,524 @@
1
1
  {
2
- "add_country": "Add country",
3
- "add_field": "Add field",
4
- "add_region": "Add region",
5
- "address1": "Address Line 1",
6
- "address2": "Address Line 2",
7
- "allow": "Allow",
8
- "allowlist": "Allow specific locations",
9
- "billing": "Billing",
10
- "block": "Block",
11
- "blocklist": "Block specific locations",
12
- "cart_controls": "Quantity",
13
- "cart_type": "Cart display",
14
- "cart_type_custom": "Custom",
15
- "cart_type_custom_explainer": "Build your own JSONP cart with included config",
16
- "cart_type_default": "Sidecart",
17
- "cart_type_default_explainer": "Default cart appearance in version 2.0",
18
- "cart_type_fullpage": "Full page",
19
- "cart_type_fullpage_explainer": "Send all customers to a full page cart while still including mini-cart functionality",
20
- "checked_by_default": "Checked by default",
21
- "checkout_type": "Accounts",
22
- "checkout_type_account_only": "Allow customer accounts only",
23
- "checkout_type_default_account": "Allow both, default to customer",
24
- "checkout_type_default_guest": "Allow both, default to guest",
25
- "checkout_type_guest_only": "Allow guests only",
26
- "checkout_type_helper_text": "If you select Allow guests only, your store will not be able to use subscriptions.",
27
- "city": "City",
28
- "close": "Close",
29
- "close_icon": "Close icon",
30
- "company": "Company",
31
- "consent": "Consent",
32
- "copy": "Copy",
33
- "country": "Country",
34
- "coupon_entry": "Coupon code",
35
- "caption": "Create",
36
- "custom_config": "Custom config",
37
- "custom_config_helper_text": "If you have any custom values you'd like to make available to your twig template, you can add them here as a valid JSON string.",
38
- "custom_fields": "Custom fields",
39
- "custom_fields_helper_text": "If you have information you'd like to collect from the customer on the checkout page, you can add custom form fields here which will be added to the checkout form. We recommend you follow the same HTML container structure used on other checkout fields for consistency. You can use Twig syntax here.",
40
- "custom_footer": "Custom footer",
41
- "custom_footer_helper_text": "Any JS snippets or conversion scripts you need to add to the footer can be put here and will be inserted before the </body> tag. You can use Twig syntax here. For conversion scripts you only want to display once on the receipt page, use {% if first_receipt_display %} {# conversion script content here #} {% endif %}.",
42
- "custom_header": "Custom header",
43
- "custom_header_helper_text": "Any CSS or JS you need to add to the header can be put here and will be inserted before the </head> tag of your templates. Keep in mind all script file references must be through https or run through the Foxy caching system. Twig syntax is not available in the header.",
44
- "default": "Default",
45
- "delete": "Delete",
46
- "delete_prompt": "This resource will be permanently removed. Are you sure?",
47
- "disabled": "Disabled",
48
- "display_sdta": "Display a Secure Data Transfer agreement to EU customers",
49
- "display_sdta_explainer": "If you have customers in the European Union, enable this feature so they can opt in to sending their data to our secure servers in the United States.",
50
- "display_tos_link": "Display a link to Terms & Conditions",
51
- "display_tos_link_explainer": "Include a checkbox to ask your customers to agree to your Terms of Service.",
52
- "enable_postcode_lookup": "Offer city and state suggestions based on postcode",
53
- "enabled": "Enabled",
54
- "error": "Error",
55
- "field_plural": "Fields",
56
- "first_name": "First name",
57
- "foxycomplete": "Location autocomplete",
58
- "foxycomplete_combobox": "Combo Box",
59
- "foxycomplete_combobox_explainer": "Expand to browse options, type to search",
60
- "foxycomplete_disabled": "Disabled",
61
- "foxycomplete_disabled_explainer": "Let customers pick an option from a list",
62
- "foxycomplete_search": "Search",
63
- "foxycomplete_search_explainer": "Display a «search as you type» field",
64
- "ga_account_id": "Account ID",
65
- "ga_account_id_explainer": "You can find the ID in the Admin section of your Analytics in Tracking info > Tracking code.",
66
- "ga_include_on_site": "Include via loader.js",
67
- "ga_include_on_site_explainer": "Enable Google Analytics on any page where the loader.js file is included.",
68
- "ga_deprecation_notice": "Google has ended support for this integration in July 2023. Please use the newer Google Tag integration below.",
69
- "gt_account_id": "Tag ID",
70
- "gt_account_id_explainer": "Tag ID prefixed with G- or AW-. Values prefixed with GT- are not fully supported at this time.",
71
- "gt_send_to": "Ads send to",
72
- "gt_send_to_explainer": "Optional. Setting this value will trigger the conversion event to be tracked on the receipt.",
73
- "gt_usage_notice": "Enabling the Google Tag for your store requires some additional configuration on your store and within your tag administration to make the data logged through this functionality useful.",
74
- "gt_docs_link": "See our docs for more info",
75
- "hidden": "Hidden",
76
- "hidden_fields": "Hidden fields",
77
- "last_name": "Last name",
78
- "location_plural": "Locations",
79
- "location_url": "Location (URL)",
80
- "newsletter_subscribe": "Allow users to sign up for your newsletter",
81
- "newsletter_subscribe_explainer": "This includes a checkbox on your checkout to allow customers to choose to sign up to your newsletter, available in the transaction reports, the API and webhooks.",
82
- "open_icon": "Open icon",
83
- "optional": "Optional",
84
- "phone": "Phone",
85
- "postal_code": "Postal code",
86
- "product_category": "Product category",
87
- "product_code": "Product code",
88
- "product_options": "Product options",
89
- "product_weight": "Product weight",
90
- "region": "Region",
91
- "require_consent": "Require consent to proceed",
92
- "required": "Required",
93
- "same_as_shipping": "Same as shipping",
94
- "shipping": "Shipping",
95
- "show_country_flags": "Show country flags",
96
- "sio_account_id": "Write Key",
97
- "sio_account_id_explainer": "You can find the write key in your project set up guide or in the source’s settings.",
98
- "skip_csc_for_saved": "Skip CSC for saved cards",
99
- "skip_csc_for_sso": "Skip CSC for single sign-on",
100
- "sub_enddate": "Subscription end date",
101
- "sub_frequency": "Subscription frequency",
102
- "sub_nextdate": "Subscription next date",
103
- "sub_startdate": "Subscription start date",
104
- "supported_cards": "Cards",
105
- "supported_cards_disclaimer": "Applies only to payment gateways where the customer enters their payment card information directly on the Foxy checkout. Exceptions: Adyen Embedded, Amazon Pay, Apple Pay, Klarna, Square and Stripe.",
106
- "tax_id": "Tax ID",
107
- "troubleshooting": "Troubleshooting",
108
- "troubleshooting_debug": "Log debug messages in the browser console",
109
- "troubleshooting_debug_explainer": "Enable this option to trigger console.log() calls for our JS, which can assist with troubleshooting your store.",
2
+ "header": {
3
+ "title_new": "New template config",
4
+ "title_existing": "Template config #{{ id }}",
5
+ "subtitle": "",
6
+ "copy-id": {
7
+ "failed_to_copy": "Failed to copy",
8
+ "click_to_copy": "Copy ID",
9
+ "copying": "Copying...",
10
+ "done": "Copied to clipboard"
11
+ },
12
+ "copy-json": {
13
+ "failed_to_copy": "Failed to copy",
14
+ "click_to_copy": "Copy source as JSON",
15
+ "copying": "Copying...",
16
+ "done": "Copied to clipboard"
17
+ }
18
+ },
19
+ "cart-group-one": {
20
+ "label": "Cart display",
21
+ "helper_text": "",
22
+ "cart-type": {
23
+ "label": "Appearance",
24
+ "helper_text": "",
25
+ "placeholder": "Select",
26
+ "option_default": "Sidecart (default)",
27
+ "option_custom": "Custom",
28
+ "option_fullpage": "Full Page"
29
+ },
30
+ "cart-display-config-usage": {
31
+ "label": "Use default layout",
32
+ "helper_text": "",
33
+ "checked": "Yes",
34
+ "unchecked": "No"
35
+ }
36
+ },
37
+ "cart-group-two": {
38
+ "label": "",
39
+ "helper_text": "",
40
+ "cart-display-config-show-product-weight": {
41
+ "label": "Show item weight",
42
+ "helper_text": "",
43
+ "checked": "Yes",
44
+ "unchecked": "No"
45
+ },
46
+ "cart-display-config-show-product-category": {
47
+ "label": "Show item category",
48
+ "helper_text": "",
49
+ "checked": "Yes",
50
+ "unchecked": "No"
51
+ },
52
+ "cart-display-config-show-product-code": {
53
+ "label": "Show item code",
54
+ "helper_text": "",
55
+ "checked": "Yes",
56
+ "unchecked": "No"
57
+ },
58
+ "cart-display-config-show-product-options": {
59
+ "label": "Show item options",
60
+ "helper_text": "",
61
+ "checked": "Yes",
62
+ "unchecked": "No"
63
+ }
64
+ },
65
+ "cart-group-three": {
66
+ "label": "",
67
+ "helper_text": "",
68
+ "cart-display-config-show-sub-frequency": {
69
+ "label": "Show subscription frequency",
70
+ "helper_text": "",
71
+ "checked": "Yes",
72
+ "unchecked": "No"
73
+ },
74
+ "cart-display-config-show-sub-startdate": {
75
+ "label": "Show subscription start date",
76
+ "helper_text": "",
77
+ "checked": "Yes",
78
+ "unchecked": "No"
79
+ },
80
+ "cart-display-config-show-sub-nextdate": {
81
+ "label": "Show subscription next date",
82
+ "helper_text": "",
83
+ "checked": "Yes",
84
+ "unchecked": "No"
85
+ },
86
+ "cart-display-config-show-sub-enddate": {
87
+ "label": "Show subscription end date",
88
+ "helper_text": "",
89
+ "checked": "Yes",
90
+ "unchecked": "No"
91
+ }
92
+ },
93
+ "cart-group-four": {
94
+ "label": "",
95
+ "helper_text": "",
96
+ "cart-display-config-hidden-product-options": {
97
+ "label": "Hidden custom item options",
98
+ "helper_text": "",
99
+ "placeholder": "Enter option name and click + to add"
100
+ }
101
+ },
102
+ "country-and-region-group-one": {
103
+ "label": "Country and region",
104
+ "helper_text": "",
105
+ "foxycomplete-usage": {
106
+ "label": "Use autocomplete for country and region fields",
107
+ "helper_text": "",
108
+ "checked": "Yes",
109
+ "unchecked": "No"
110
+ },
111
+ "foxycomplete-show-combobox": {
112
+ "label": "Autocomplete style",
113
+ "helper_text": "",
114
+ "option_combobox": "Combobox",
115
+ "option_search": "Search",
116
+ "placeholder": "Select"
117
+ },
118
+ "foxycomplete-combobox-open": {
119
+ "label": "Autocomplete combobox open icon",
120
+ "helper_text": "",
121
+ "placeholder": "None"
122
+ },
123
+ "foxycomplete-combobox-close": {
124
+ "label": "Autocomplete combobox close icon",
125
+ "helper_text": "",
126
+ "placeholder": "None"
127
+ },
128
+ "foxycomplete-show-flags": {
129
+ "label": "Show flag icons for countries",
130
+ "helper_text": "",
131
+ "checked": "Yes",
132
+ "unchecked": "No"
133
+ },
134
+ "postal-code-lookup": {
135
+ "label": "Validate the city and region using the postal code",
136
+ "helper_text": "",
137
+ "checked": "Yes",
138
+ "unchecked": "No"
139
+ },
140
+ "location-filtering-usage": {
141
+ "label": "Countries and regions filtering",
142
+ "helper_text": "",
143
+ "placeholder": "Select...",
144
+ "option_none": "Allow all",
145
+ "option_shipping": "Shipping only",
146
+ "option_billing": "Billing only",
147
+ "option_both": "Shipping and billing together",
148
+ "option_independent": "Shipping and billing independently",
149
+ "checked": "Yes",
150
+ "unchecked": "No"
151
+ }
152
+ },
153
+ "country-and-region-group-two": {
154
+ "label": "",
155
+ "helper_text": "",
156
+ "location-filtering-filter-type": {
157
+ "label": "Filter type",
158
+ "helper_text": "",
159
+ "placeholder": "Select...",
160
+ "option_blocklist": "Disallow only listed below",
161
+ "option_allowlist": "Allow only listed below"
162
+ },
163
+ "location-filtering-filter-values": {
164
+ "add_country": "Enter country code and click + to add",
165
+ "add_region": "Add region",
166
+ "create": "Add",
167
+ "delete": "Remove"
168
+ }
169
+ },
170
+ "country-and-region-group-three": {
171
+ "label": "",
172
+ "helper_text": "",
173
+ "location-filtering-shipping-filter-type": {
174
+ "label": "Shipping filter type",
175
+ "helper_text": "",
176
+ "placeholder": "Select...",
177
+ "option_blocklist": "Disallow only listed below",
178
+ "option_allowlist": "Allow only listed below"
179
+ },
180
+ "location-filtering-shipping-filter-values": {
181
+ "add_country": "Enter country code and click + to add",
182
+ "add_region": "Add region",
183
+ "create": "Add",
184
+ "delete": "Remove"
185
+ }
186
+ },
187
+ "country-and-region-group-four": {
188
+ "label": "",
189
+ "helper_text": "",
190
+ "location-filtering-billing-filter-type": {
191
+ "label": "Billing filter type",
192
+ "helper_text": "",
193
+ "placeholder": "Select...",
194
+ "option_blocklist": "Disallow only listed below",
195
+ "option_allowlist": "Allow only listed below"
196
+ },
197
+ "location-filtering-billing-filter-values": {
198
+ "add_country": "Enter country code and click + to add",
199
+ "add_region": "Add region",
200
+ "create": "Add",
201
+ "delete": "Remove"
202
+ }
203
+ },
204
+ "supported-cards-group": {
205
+ "label": "Supported cards",
206
+ "helper_text": "",
207
+ "disclaimer": "Applies only when the customer enters their card details directly on the Foxy checkout. Exceptions: Adyen Embedded, Amazon Pay, Apple Pay, Klarna, Square and Stripe."
208
+ },
209
+ "csc-requirements-group": {
210
+ "label": "Card security code",
211
+ "helper_text": "",
212
+ "csc-requirements": {
213
+ "label": "Require CSC/CVC/CVV for",
214
+ "helper_text": "",
215
+ "placeholder": "Select...",
216
+ "option_all_cards": "All new and saved cards",
217
+ "option_sso_only": "New cards and SSO customers only",
218
+ "option_new_cards_only": "New cards only"
219
+ }
220
+ },
221
+ "customer-accounts": {
222
+ "label": "Customer accounts",
223
+ "helper_text": "",
224
+ "checkout-type-account": {
225
+ "label": "Allowed account types",
226
+ "helper_text": "If you allow only guest accounts, your store will not be able to use subscriptions.",
227
+ "placeholder": "Select...",
228
+ "option_guest": "Only guest",
229
+ "option_account": "Only registered",
230
+ "option_both": "Guest and registered"
231
+ },
232
+ "checkout-type-default": {
233
+ "label": "Default behaviour",
234
+ "helper_text": "",
235
+ "placeholder": "Select...",
236
+ "option_default_guest": "Checkout as guest",
237
+ "option_default_account": "Ask to log in or sign up"
238
+ }
239
+ },
240
+ "consent-group-one": {
241
+ "label": "Consent",
242
+ "helper_text": "",
243
+ "tos-checkbox-settings-usage": {
244
+ "label": "Terms of Service checkbox",
245
+ "helper_text": "This displays a checkbox on your checkout to require customers to agree to your terms of service.",
246
+ "placeholder": "Select...",
247
+ "option_none": "None",
248
+ "option_optional": "Optional",
249
+ "option_required": "Required"
250
+ },
251
+ "tos-checkbox-settings-url": {
252
+ "label": "Terms of Service URL",
253
+ "helper_text": "",
254
+ "placeholder": "Required"
255
+ },
256
+ "tos-checkbox-settings-initial-state": {
257
+ "label": "Initial state",
258
+ "helper_text": "",
259
+ "placeholder": "Select...",
260
+ "option_checked": "Checked",
261
+ "option_unchecked": "Unchecked"
262
+ },
263
+ "tos-checkbox-settings-is-hidden": {
264
+ "label": "Add a hidden custom field with checkbox value",
265
+ "helper_text": "",
266
+ "checked": "Yes",
267
+ "unchecked": "No"
268
+ }
269
+ },
270
+ "consent-group-two": {
271
+ "label": "",
272
+ "helper_text": "",
273
+ "eu-secure-data-transfer-consent-usage": {
274
+ "label": "Secure Data Transfer agreement checkbox",
275
+ "helper_text": "For EU customers, enable this feature to let them consent to send their data to our secure servers in the US.",
276
+ "checked": "Visible",
277
+ "unchecked": "Hidden"
278
+ }
279
+ },
280
+ "consent-group-three": {
281
+ "label": "",
282
+ "helper_text": "",
283
+ "newsletter-subscribe-usage": {
284
+ "label": "Subscribe to Newsletter checkbox",
285
+ "helper_text": "This includes a checkbox on your checkout to allow customers to choose to sign up to your newsletter, available in the transaction reports, the API and webhooks. To automate adding subscribers to a web service, you'll need to look at our integrations.",
286
+ "checked": "Visible",
287
+ "unchecked": "Hidden"
288
+ }
289
+ },
290
+ "checkout-fields-group-one": {
291
+ "label": "Checkout form settings",
292
+ "helper_text": "",
293
+ "custom-checkout-field-requirements-cart-controls": {
294
+ "label": "Show cart controls",
295
+ "helper_text": "Allows customers to change the quantity and remove items from the cart on checkout.",
296
+ "checked": "Yes",
297
+ "unchecked": "No"
298
+ }
299
+ },
300
+ "checkout-fields-group-two": {
301
+ "label": "",
302
+ "helper_text": "",
303
+ "custom-checkout-field-requirements-billing-address-one": {
304
+ "label": "Address 1",
305
+ "helper_text": "",
306
+ "placeholder": "Select...",
307
+ "option_optional": "Optional",
308
+ "option_required": "Required",
309
+ "option_default": "Default",
310
+ "option_hidden": "Hidden"
311
+ },
312
+ "custom-checkout-field-requirements-billing-address-two": {
313
+ "label": "Address 2",
314
+ "helper_text": "",
315
+ "placeholder": "Select...",
316
+ "option_optional": "Optional",
317
+ "option_required": "Required",
318
+ "option_default": "Default",
319
+ "option_hidden": "Hidden"
320
+ },
321
+ "custom-checkout-field-requirements-billing-city": {
322
+ "label": "City",
323
+ "helper_text": "",
324
+ "placeholder": "Select...",
325
+ "option_optional": "Optional",
326
+ "option_required": "Required",
327
+ "option_default": "Default",
328
+ "option_hidden": "Hidden"
329
+ },
330
+ "custom-checkout-field-requirements-billing-region": {
331
+ "label": "Region",
332
+ "helper_text": "",
333
+ "placeholder": "Select...",
334
+ "option_optional": "Optional",
335
+ "option_required": "Required",
336
+ "option_default": "Default",
337
+ "option_hidden": "Hidden"
338
+ },
339
+ "custom-checkout-field-requirements-billing-postal-code": {
340
+ "label": "Postal code",
341
+ "helper_text": "",
342
+ "placeholder": "Select...",
343
+ "option_optional": "Optional",
344
+ "option_required": "Required",
345
+ "option_default": "Default",
346
+ "option_hidden": "Hidden"
347
+ },
348
+ "custom-checkout-field-requirements-billing-country": {
349
+ "label": "Country",
350
+ "helper_text": "",
351
+ "placeholder": "Select...",
352
+ "option_optional": "Optional",
353
+ "option_required": "Required",
354
+ "option_default": "Default",
355
+ "option_hidden": "Hidden"
356
+ }
357
+ },
358
+ "checkout-fields-group-three": {
359
+ "label": "",
360
+ "helper_text": "",
361
+ "custom-checkout-field-requirements-coupon-entry": {
362
+ "label": "Coupon code",
363
+ "helper_text": "",
364
+ "placeholder": "Select...",
365
+ "option_enabled": "Optional",
366
+ "option_disabled": "Hidden"
367
+ },
368
+ "custom-checkout-field-requirements-billing-first-name": {
369
+ "label": "First name",
370
+ "helper_text": "",
371
+ "placeholder": "Select...",
372
+ "option_optional": "Optional",
373
+ "option_required": "Required",
374
+ "option_default": "Default",
375
+ "option_hidden": "Hidden"
376
+ },
377
+ "custom-checkout-field-requirements-billing-last-name": {
378
+ "label": "Last name",
379
+ "helper_text": "",
380
+ "placeholder": "Select...",
381
+ "option_optional": "Optional",
382
+ "option_required": "Required",
383
+ "option_default": "Default",
384
+ "option_hidden": "Hidden"
385
+ },
386
+ "custom-checkout-field-requirements-billing-company": {
387
+ "label": "Company",
388
+ "helper_text": "",
389
+ "placeholder": "Select...",
390
+ "option_optional": "Optional",
391
+ "option_required": "Required",
392
+ "option_default": "Default",
393
+ "option_hidden": "Hidden"
394
+ },
395
+ "custom-checkout-field-requirements-billing-tax-id": {
396
+ "label": "Tax ID",
397
+ "helper_text": "",
398
+ "placeholder": "Select...",
399
+ "option_optional": "Optional",
400
+ "option_required": "Required",
401
+ "option_default": "Default",
402
+ "option_hidden": "Hidden"
403
+ },
404
+ "custom-checkout-field-requirements-billing-phone": {
405
+ "label": "Phone",
406
+ "helper_text": "",
407
+ "placeholder": "Select...",
408
+ "option_optional": "Optional",
409
+ "option_required": "Required",
410
+ "option_default": "Default",
411
+ "option_hidden": "Hidden"
412
+ }
413
+ },
414
+ "analytics-config": {
415
+ "label": "3rd-party analytics",
416
+ "helper_text": "",
417
+ "analytics-config-usage": {
418
+ "label": "Use 3rd-party analytics",
419
+ "helper_text": "",
420
+ "checked": "Yes",
421
+ "unchecked": "No"
422
+ }
423
+ },
424
+ "analytics-config-google-analytics": {
425
+ "label": "Google Analytics",
426
+ "helper_text": "",
427
+ "deprecation_notice": "Google has ended support for this integration in July 2023. Please use the newer Google Tag Manager integration below.",
428
+ "analytics-config-google-analytics-usage": {
429
+ "label": "Enable Google Analytics",
430
+ "helper_text": "",
431
+ "checked": "Yes",
432
+ "unchecked": "No"
433
+ },
434
+ "analytics-config-google-analytics-account-id": {
435
+ "label": "Account ID",
436
+ "helper_text": "",
437
+ "placeholder": "Enter ID"
438
+ },
439
+ "analytics-config-google-analytics-include-on-site": {
440
+ "label": "Include on website",
441
+ "helper_text": "",
442
+ "checked": "Yes",
443
+ "unchecked": "No"
444
+ }
445
+ },
446
+ "analytics-config-google-tag": {
447
+ "label": "Google Tag Manager",
448
+ "helper_text": "",
449
+ "usage_notice": "Enabling the Google Tag Manager requires some additional configuration on your store and within your tag administration to make the data logged through this functionality useful.",
450
+ "docs_link": "See our docs for more info",
451
+ "analytics-config-google-tag-usage": {
452
+ "label": "Enable Google Tag Manager",
453
+ "helper_text": "",
454
+ "checked": "Yes",
455
+ "unchecked": "No"
456
+ },
457
+ "analytics-config-google-tag-account-id": {
458
+ "label": "Tag ID",
459
+ "helper_text": "Tags prefixed with GT- and not fully supported at this time.",
460
+ "placeholder": "Required"
461
+ },
462
+ "analytics-config-google-tag-send-to": {
463
+ "label": "Ads send to",
464
+ "helper_text": "Triggers conversion event on the web receipt.",
465
+ "placeholder": "Optional"
466
+ }
467
+ },
468
+ "debug": {
469
+ "label": "Troubleshooting",
470
+ "helper_text": "",
471
+ "debug-usage": {
472
+ "label": "Log debug messages to the browser's console",
473
+ "helper_text": "Enable this option to trigger console.log() calls for our JS, which can assist with troubleshooting your store.",
474
+ "checked": "Yes",
475
+ "unchecked": "No"
476
+ }
477
+ },
478
+ "custom-config": {
479
+ "label": "Custom config",
480
+ "helper_text": "Place here any custom values you'd like to make available to your Twig template. Only valid JSON is supported.",
481
+ "placeholder": "{ \"key\": \"value\" }"
482
+ },
483
+ "custom-script-values-header": {
484
+ "label": "Custom header",
485
+ "helper_text": "We will inject this HTML before the </head> tag of your templates. All script file references must use HTTPS. Twig syntax is not available here.",
486
+ "placeholder": "<style>h1 { color: red }</style>"
487
+ },
488
+ "custom-script-values-checkout-fields": {
489
+ "label": "Custom checkout fields",
490
+ "helper_text": "We will inject this HTML into the checkout form. Use this field to collect extra info from your customers before payment. You can use Twig syntax here.",
491
+ "placeholder": "<label>Comment: <input name=\"comment\"></label>"
492
+ },
493
+ "custom-script-values-multiship-checkout-fields": {
494
+ "label": "Custom checkout fields for multiship",
495
+ "helper_text": "We will inject this HTML in the checkout form under each one of the shipping addresses. Use this field to collect extra info from your customers before payment. You can use Twig syntax here.",
496
+ "placeholder": "<label>Comment: <input name=\"comment\"></label>"
497
+ },
498
+ "custom-script-values-footer": {
499
+ "label": "Custom footer",
500
+ "helper_text": "We will inject this HTML before the </body> tag. You can use Twig syntax here. For conversion scripts you only want to display once on the receipt page, use {% if first_receipt_display %} {# conversion script content here #} {% endif %}.",
501
+ "placeholder": "<script src=\"https://example.com/code.js\"></script>"
502
+ },
503
+ "timestamps": {
504
+ "date_created": "Created on",
505
+ "date_modified": "Last updated on",
506
+ "date": "{{value, date}}"
507
+ },
508
+ "delete": {
509
+ "delete": "Delete",
510
+ "cancel": "Cancel",
511
+ "delete_prompt": "This action is irreversible. Are you sure you want to delete this template config?"
512
+ },
513
+ "undo": {
514
+ "caption": "Undo"
515
+ },
516
+ "submit": {
517
+ "caption": "Save changes"
518
+ },
519
+ "create": {
520
+ "caption": "Create"
521
+ },
110
522
  "spinner": {
111
523
  "refresh": "Refresh",
112
524
  "loading_busy": "Loading",
@@ -12,6 +12,8 @@ import { InternalControl } from '../InternalControl/InternalControl';
12
12
  export declare class InternalEditableControl extends InternalControl {
13
13
  static get properties(): PropertyDeclarations;
14
14
  checkValidityAsync: ((value: unknown) => Promise<true | string>) | null;
15
+ jsonTemplate: string | null;
16
+ jsonPath: string | null;
15
17
  getValue: () => unknown;
16
18
  setValue: (newValue: unknown) => void;
17
19
  private __debouncedCheckValidityAsync;