@foxy.io/elements 1.45.0-beta.1 → 1.45.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 (157) 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 +1 -1
  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-coupon-card.js +1 -1
  21. package/dist/cdn/foxy-coupon-code-card.js +1 -1
  22. package/dist/cdn/foxy-coupon-code-form.js +1 -1
  23. package/dist/cdn/foxy-coupon-codes-form.js +1 -1
  24. package/dist/cdn/foxy-coupon-detail-card.js +1 -1
  25. package/dist/cdn/foxy-coupon-form.js +1 -1
  26. package/dist/cdn/foxy-custom-field-card.js +1 -1
  27. package/dist/cdn/foxy-custom-field-form.js +1 -1
  28. package/dist/cdn/foxy-customer-card.js +1 -1
  29. package/dist/cdn/foxy-customer-form.js +1 -1
  30. package/dist/cdn/foxy-customer-portal-settings-form.js +1 -1
  31. package/dist/cdn/foxy-customer-portal.js +1 -1
  32. package/dist/cdn/foxy-customer.js +1 -1
  33. package/dist/cdn/foxy-customers-table.js +1 -1
  34. package/dist/cdn/foxy-discount-card.js +1 -1
  35. package/dist/cdn/foxy-discount-detail-card.js +1 -1
  36. package/dist/cdn/foxy-downloadable-card.js +1 -1
  37. package/dist/cdn/foxy-downloadable-form.js +1 -1
  38. package/dist/cdn/foxy-email-template-card.js +1 -1
  39. package/dist/cdn/foxy-email-template-form.js +1 -1
  40. package/dist/cdn/foxy-error-entry-card.js +1 -1
  41. package/dist/cdn/foxy-experimental-add-to-cart-builder.js +1 -1
  42. package/dist/cdn/foxy-filter-attribute-card.js +1 -1
  43. package/dist/cdn/foxy-filter-attribute-form.js +1 -1
  44. package/dist/cdn/foxy-generate-codes-form.js +1 -1
  45. package/dist/cdn/foxy-gift-card-card.js +1 -1
  46. package/dist/cdn/foxy-gift-card-code-card.js +1 -1
  47. package/dist/cdn/foxy-gift-card-code-form.js +1 -1
  48. package/dist/cdn/foxy-gift-card-code-log-card.js +1 -1
  49. package/dist/cdn/foxy-gift-card-codes-form.js +1 -1
  50. package/dist/cdn/foxy-gift-card-form.js +1 -1
  51. package/dist/cdn/foxy-i18n-editor.js +1 -1
  52. package/dist/cdn/foxy-integration-card.js +1 -1
  53. package/dist/cdn/foxy-integration-form.js +1 -1
  54. package/dist/cdn/foxy-item-card.js +1 -1
  55. package/dist/cdn/foxy-item-category-card.js +1 -1
  56. package/dist/cdn/foxy-item-category-form.js +1 -1
  57. package/dist/cdn/foxy-item-form.js +1 -1
  58. package/dist/cdn/foxy-item-option-card.js +1 -1
  59. package/dist/cdn/foxy-item-option-form.js +1 -1
  60. package/dist/cdn/foxy-native-integration-card.js +1 -1
  61. package/dist/cdn/foxy-native-integration-form.js +1 -1
  62. package/dist/cdn/foxy-nucleon-element.js +1 -1
  63. package/dist/cdn/foxy-pagination.js +1 -1
  64. package/dist/cdn/foxy-passkey-card.js +1 -1
  65. package/dist/cdn/foxy-passkey-form.js +1 -1
  66. package/dist/cdn/foxy-payment-card.js +1 -1
  67. package/dist/cdn/foxy-payment-method-card.js +1 -1
  68. package/dist/cdn/foxy-payments-api-fraud-protection-card.js +1 -1
  69. package/dist/cdn/foxy-payments-api-fraud-protection-form.js +1 -1
  70. package/dist/cdn/foxy-payments-api-payment-method-card.js +1 -1
  71. package/dist/cdn/foxy-payments-api-payment-method-form.js +1 -1
  72. package/dist/cdn/foxy-payments-api-payment-preset-card.js +1 -1
  73. package/dist/cdn/foxy-payments-api-payment-preset-form.js +1 -1
  74. package/dist/cdn/foxy-query-builder.js +1 -1
  75. package/dist/cdn/foxy-report-form.js +1 -1
  76. package/dist/cdn/foxy-reports-table.js +1 -1
  77. package/dist/cdn/foxy-shipment-card.js +1 -1
  78. package/dist/cdn/foxy-shipping-container-card.js +1 -1
  79. package/dist/cdn/foxy-shipping-drop-type-card.js +1 -1
  80. package/dist/cdn/foxy-shipping-method-card.js +1 -1
  81. package/dist/cdn/foxy-shipping-service-card.js +1 -1
  82. package/dist/cdn/foxy-sign-in-form.js +1 -1
  83. package/dist/cdn/foxy-store-card.js +1 -1
  84. package/dist/cdn/foxy-store-form.js +1 -1
  85. package/dist/cdn/foxy-store-shipping-method-form.js +1 -1
  86. package/dist/cdn/foxy-subscription-card.js +1 -1
  87. package/dist/cdn/foxy-subscription-form.js +1 -1
  88. package/dist/cdn/foxy-subscription-settings-form.js +1 -1
  89. package/dist/cdn/foxy-subscriptions-table.js +1 -1
  90. package/dist/cdn/foxy-table.js +1 -1
  91. package/dist/cdn/foxy-tax-card.js +1 -1
  92. package/dist/cdn/foxy-tax-form.js +1 -1
  93. package/dist/cdn/foxy-template-config-form.js +1 -1
  94. package/dist/cdn/foxy-template-form.js +1 -1
  95. package/dist/cdn/foxy-template-set-card.js +1 -1
  96. package/dist/cdn/foxy-template-set-form.js +1 -1
  97. package/dist/cdn/foxy-transaction-card.js +1 -1
  98. package/dist/cdn/foxy-transaction.js +1 -1
  99. package/dist/cdn/foxy-transactions-table.js +1 -1
  100. package/dist/cdn/foxy-update-payment-method-form.js +1 -1
  101. package/dist/cdn/foxy-user-card.js +1 -1
  102. package/dist/cdn/foxy-user-form.js +1 -1
  103. package/dist/cdn/foxy-user-invitation-card.js +1 -1
  104. package/dist/cdn/foxy-user-invitation-form.js +1 -1
  105. package/dist/cdn/foxy-users-table.js +1 -1
  106. package/dist/cdn/foxy-webhook-card.js +1 -1
  107. package/dist/cdn/foxy-webhook-form.js +1 -1
  108. package/dist/cdn/foxy-webhook-log-card.js +1 -1
  109. package/dist/cdn/foxy-webhook-status-card.js +1 -1
  110. package/dist/cdn/{shared-f00cd094.js → shared-05e997ae.js} +1 -1
  111. package/dist/cdn/{shared-d0c1664e.js → shared-0abec247.js} +1 -1
  112. package/dist/cdn/{shared-9b599205.js → shared-0b3dbac6.js} +1 -1
  113. package/dist/cdn/{shared-15a7e329.js → shared-1b04321a.js} +1 -1
  114. package/dist/cdn/{shared-8a83a6eb.js → shared-461a25ae.js} +1 -1
  115. package/dist/cdn/{shared-cee1c6f1.js → shared-4e279e77.js} +1 -1
  116. package/dist/cdn/{shared-e6559d84.js → shared-4e4766ee.js} +1 -1
  117. package/dist/cdn/{shared-d525b69b.js → shared-4f36f302.js} +1 -1
  118. package/dist/cdn/{shared-c4df3a2a.js → shared-52053d0d.js} +1 -1
  119. package/dist/cdn/{shared-57b7386e.js → shared-6783fe5e.js} +1 -1
  120. package/dist/cdn/{shared-da95bb48.js → shared-69074dae.js} +1 -1
  121. package/dist/cdn/{shared-da4f539a.js → shared-7933d898.js} +1 -1
  122. package/dist/cdn/{shared-8f2da12b.js → shared-7f4e3256.js} +1 -1
  123. package/dist/cdn/{shared-b56949d3.js → shared-8ba4b5bf.js} +1 -1
  124. package/dist/cdn/{shared-b4a3d776.js → shared-8bda01cf.js} +1 -1
  125. package/dist/cdn/{shared-6c2a7d2f.js → shared-92c211bd.js} +1 -1
  126. package/dist/cdn/shared-9585cf5b.js +1 -0
  127. package/dist/cdn/shared-96e4f603.js +1 -0
  128. package/dist/cdn/{shared-64c855e5.js → shared-ada2d315.js} +1 -1
  129. package/dist/cdn/{shared-5b93d193.js → shared-adfed461.js} +1 -1
  130. package/dist/cdn/{shared-438e41ab.js → shared-b148b310.js} +1 -1
  131. package/dist/cdn/{shared-090ee4eb.js → shared-b7401886.js} +1 -1
  132. package/dist/cdn/{shared-264fb8a2.js → shared-ba0d1f31.js} +1 -1
  133. package/dist/cdn/{shared-a1f181bf.js → shared-bc89d3fb.js} +1 -1
  134. package/dist/cdn/{shared-8ee6bff5.js → shared-c84bb30e.js} +1 -1
  135. package/dist/cdn/{shared-af39ffd8.js → shared-d674d2ce.js} +1 -1
  136. package/dist/cdn/{shared-597fffaa.js → shared-df92d411.js} +1 -1
  137. package/dist/cdn/{shared-73c199ae.js → shared-f58068b0.js} +1 -1
  138. package/dist/cdn/translations/admin-subscription-form/en.json +2 -2
  139. package/dist/cdn/translations/cart-form/en.json +2 -2
  140. package/dist/cdn/translations/coupon-card/en.json +8 -8
  141. package/dist/cdn/translations/coupon-form/en.json +10 -10
  142. package/dist/cdn/translations/discount-builder/en.json +2 -2
  143. package/dist/cdn/translations/experimental-add-to-cart-builder/en.json +15 -7
  144. package/dist/cdn/translations/item-category-form/en.json +2 -2
  145. package/dist/cdn/translations/item-form/en.json +2 -2
  146. package/dist/cdn/translations/transaction/en.json +2 -2
  147. package/dist/elements/public/ExperimentalAddToCartBuilder/ExperimentalAddToCartBuilder.js +195 -167
  148. package/dist/elements/public/ExperimentalAddToCartBuilder/ExperimentalAddToCartBuilder.js.map +1 -1
  149. package/dist/elements/public/NucleonElement/NucleonElement.js +11 -6
  150. package/dist/elements/public/NucleonElement/NucleonElement.js.map +1 -1
  151. package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/InternalUserInvitationFormAsyncAction.js +0 -2
  152. package/dist/elements/public/UserInvitationForm/internal/InternalUserInvitationFormAsyncAction/InternalUserInvitationFormAsyncAction.js.map +1 -1
  153. package/dist/utils/get-subscription-status.js +1 -1
  154. package/dist/utils/get-subscription-status.js.map +1 -1
  155. package/package.json +1 -1
  156. package/dist/cdn/shared-02dd05dd.js +0 -1
  157. package/dist/cdn/shared-ada5e9f5.js +0 -1
@@ -1 +1 @@
1
- import"./shared-1d03ea56.js";import"./shared-ac44a3a5.js";import{I as e}from"./shared-6c2a7d2f.js";import{x as t}from"./shared-387d7254.js";import{c as r,h as a,s as o}from"./shared-ba5c42c7.js";import{_ as l}from"./shared-7fec42f2.js";import{i as s}from"./shared-53e42a77.js";import{c as i}from"./shared-4e709717.js";let n;function m(e){var t,r,a;const o=null!==(t=null==e?void 0:e.separator)&&void 0!==t?t:"-",l=null!==(r=null==e?void 0:e.charset)&&void 0!==r?r:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",s=null!==(a=null==e?void 0:e.length)&&void 0!==a?a:18;let i="";for(let e=0;e<s;e++)o&&e>0&&e%6==0&&(i+=o),i+=l[Math.floor(Math.random()*l.length)];return i}t("vaadin-password-field",r(n||(n=(e=>e)`:host([theme~=summary-item])::before{display:none}:host([theme~=summary-item]) .vaadin-text-field-container{display:grid;grid-template-columns:auto auto;grid-template-rows:repeat(3,min-content);gap:0 var(--lumo-space-m)}:host([theme~=summary-item]) [part=label]{font:normal var(--lumo-font-size-m) var(--lumo-font-family);color:var(--lumo-body-text-color)!important;grid-row:1;-webkit-text-fill-color:var(--lumo-body-text-color)!important}:host([theme~=summary-item]) [part=helper-text]{font:normal var(--lumo-font-size-s) var(--lumo-font-family);color:var(--lumo-secondary-text-color)!important;grid-row:2}:host([theme~=summary-item]) [part=helper-text]::before{display:none}:host([theme~=summary-item]) [part=error-message]{font:normal var(--lumo-font-size-s) var(--lumo-font-family);color:var(--lumo-error-text-color);grid-row:3}:host([theme~=summary-item]) [part=error-message],:host([theme~=summary-item]) [part=helper-text],:host([theme~=summary-item]) [part=label]{line-height:var(--lumo-line-height-xs);grid-column:1;padding:0}:host([theme~=summary-item]) [part=input-field]{grid-column:2;grid-row:1;padding:0;background:0 0;align-self:start;height:1em;--lumo-icon-size-m:1rem}:host([theme~=summary-item]) [part=input-field]::after,:host([theme~=summary-item][readonly]) [part=input-field] slot[name=suffix]{display:none}:host([theme~=summary-item]) [part=value]{line-height:var(--lumo-line-height-xs);text-align:right;min-height:auto;padding:0;margin-right:var(--lumo-space-xs);-webkit-mask-image:none}:host([theme~=summary-item][readonly]) [part=value]{margin-right:0}`)));let d,h,u,p=e=>e;customElements.define("foxy-internal-password-control",class extends e{constructor(){super(...arguments),this.generatorOptions=null,this.showGenerator=!1,this.layout=null}static get properties(){return l(l({},super.properties),{},{generatorOptions:{type:Object,attribute:"generator-options"},showGenerator:{type:Boolean,attribute:"show-generator"},layout:{}})}renderControl(){var e;return a(d||(d=p` <vaadin-password-field error-message="${0}" helper-text="${0}" placeholder="${0}" label="${0}" theme="${0}" class="w-full" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" @keydown="${0}" @input="${0}"> ${0} </vaadin-password-field> `),s(this._errorMessage),this.helperText,this.placeholder,this.label,s(null!==(e=this.layout)&&void 0!==e?e:void 0),this.disabled,this.readonly,this._checkValidity,this._value,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(e=>{const t=e.currentTarget;this._value=t.value}),this.showGenerator?this.__renderGenerator():"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:""}set _value(e){super._value=e}__renderGenerator(){return a(h||(h=p` <div data-testid="generator" class="${0}" slot="suffix" @click="${0}"> ${0} </div> `),i({"w-s h-s flex items-center justify-center cursor-default transition-colors":!0,"text-contrast-60 hover-text-contrast-80":!this.disabled&&!this.readonly,"text-contrast-20":this.disabled||this.readonly}),(()=>{var e,t,r,a;let o,l=!1,s=0;do{o=m(null!==(e=this.generatorOptions)&&void 0!==e?e:void 0),l=null===(a=null===(r=null===(t=this.generatorOptions)||void 0===t?void 0:t.checkStrength)||void 0===r?void 0:r.call(t,o))||void 0===a||a,s++}while(!l&&s<100);if(!l)throw new Error("Failed to generate a strong password.");this._value=o;const i=this.renderRoot.querySelector("vaadin-password-field");null==i||i._setPasswordVisible(!0)}),o(u||(u=p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1.15em; height: 1.15em"><path d="M15.98 1.804a1 1 0 00-1.96 0l-.24 1.192a1 1 0 01-.784.785l-1.192.238a1 1 0 000 1.962l1.192.238a1 1 0 01.785.785l.238 1.192a1 1 0 001.962 0l.238-1.192a1 1 0 01.785-.785l1.192-.238a1 1 0 000-1.962l-1.192-.238a1 1 0 01-.785-.785l-.238-1.192zM6.949 5.684a1 1 0 00-1.898 0l-.683 2.051a1 1 0 01-.633.633l-2.051.683a1 1 0 000 1.898l2.051.684a1 1 0 01.633.632l.683 2.051a1 1 0 001.898 0l.683-2.051a1 1 0 01.633-.633l2.051-.683a1 1 0 000-1.898l-2.051-.683a1 1 0 01-.633-.633L6.95 5.684zM13.949 13.684a1 1 0 00-1.898 0l-.184.551a1 1 0 01-.632.633l-.551.183a1 1 0 000 1.898l.551.183a1 1 0 01.633.633l.183.551a1 1 0 001.898 0l.184-.551a1 1 0 01.632-.633l.551-.183a1 1 0 000-1.898l-.551-.184a1 1 0 01-.633-.632l-.183-.551z" /></svg>`)))}});
1
+ import"./shared-1d03ea56.js";import"./shared-ac44a3a5.js";import{I as e}from"./shared-92c211bd.js";import{x as t}from"./shared-387d7254.js";import{c as r,h as a,s as o}from"./shared-ba5c42c7.js";import{_ as l}from"./shared-7fec42f2.js";import{i as s}from"./shared-53e42a77.js";import{c as i}from"./shared-4e709717.js";let n;function m(e){var t,r,a;const o=null!==(t=null==e?void 0:e.separator)&&void 0!==t?t:"-",l=null!==(r=null==e?void 0:e.charset)&&void 0!==r?r:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",s=null!==(a=null==e?void 0:e.length)&&void 0!==a?a:18;let i="";for(let e=0;e<s;e++)o&&e>0&&e%6==0&&(i+=o),i+=l[Math.floor(Math.random()*l.length)];return i}t("vaadin-password-field",r(n||(n=(e=>e)`:host([theme~=summary-item])::before{display:none}:host([theme~=summary-item]) .vaadin-text-field-container{display:grid;grid-template-columns:auto auto;grid-template-rows:repeat(3,min-content);gap:0 var(--lumo-space-m)}:host([theme~=summary-item]) [part=label]{font:normal var(--lumo-font-size-m) var(--lumo-font-family);color:var(--lumo-body-text-color)!important;grid-row:1;-webkit-text-fill-color:var(--lumo-body-text-color)!important}:host([theme~=summary-item]) [part=helper-text]{font:normal var(--lumo-font-size-s) var(--lumo-font-family);color:var(--lumo-secondary-text-color)!important;grid-row:2}:host([theme~=summary-item]) [part=helper-text]::before{display:none}:host([theme~=summary-item]) [part=error-message]{font:normal var(--lumo-font-size-s) var(--lumo-font-family);color:var(--lumo-error-text-color);grid-row:3}:host([theme~=summary-item]) [part=error-message],:host([theme~=summary-item]) [part=helper-text],:host([theme~=summary-item]) [part=label]{line-height:var(--lumo-line-height-xs);grid-column:1;padding:0}:host([theme~=summary-item]) [part=input-field]{grid-column:2;grid-row:1;padding:0;background:0 0;align-self:start;height:1em;--lumo-icon-size-m:1rem}:host([theme~=summary-item]) [part=input-field]::after,:host([theme~=summary-item][readonly]) [part=input-field] slot[name=suffix]{display:none}:host([theme~=summary-item]) [part=value]{line-height:var(--lumo-line-height-xs);text-align:right;min-height:auto;padding:0;margin-right:var(--lumo-space-xs);-webkit-mask-image:none}:host([theme~=summary-item][readonly]) [part=value]{margin-right:0}`)));let d,h,u,p=e=>e;customElements.define("foxy-internal-password-control",class extends e{constructor(){super(...arguments),this.generatorOptions=null,this.showGenerator=!1,this.layout=null}static get properties(){return l(l({},super.properties),{},{generatorOptions:{type:Object,attribute:"generator-options"},showGenerator:{type:Boolean,attribute:"show-generator"},layout:{}})}renderControl(){var e;return a(d||(d=p` <vaadin-password-field error-message="${0}" helper-text="${0}" placeholder="${0}" label="${0}" theme="${0}" class="w-full" ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .value="${0}" @keydown="${0}" @input="${0}"> ${0} </vaadin-password-field> `),s(this._errorMessage),this.helperText,this.placeholder,this.label,s(null!==(e=this.layout)&&void 0!==e?e:void 0),this.disabled,this.readonly,this._checkValidity,this._value,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(e=>{const t=e.currentTarget;this._value=t.value}),this.showGenerator?this.__renderGenerator():"")}get _value(){var e;return null!==(e=super._value)&&void 0!==e?e:""}set _value(e){super._value=e}__renderGenerator(){return a(h||(h=p` <div data-testid="generator" class="${0}" slot="suffix" @click="${0}"> ${0} </div> `),i({"w-s h-s flex items-center justify-center cursor-default transition-colors":!0,"text-contrast-60 hover-text-contrast-80":!this.disabled&&!this.readonly,"text-contrast-20":this.disabled||this.readonly}),(()=>{var e,t,r,a;let o,l=!1,s=0;do{o=m(null!==(e=this.generatorOptions)&&void 0!==e?e:void 0),l=null===(a=null===(r=null===(t=this.generatorOptions)||void 0===t?void 0:t.checkStrength)||void 0===r?void 0:r.call(t,o))||void 0===a||a,s++}while(!l&&s<100);if(!l)throw new Error("Failed to generate a strong password.");this._value=o;const i=this.renderRoot.querySelector("vaadin-password-field");null==i||i._setPasswordVisible(!0)}),o(u||(u=p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1.15em; height: 1.15em"><path d="M15.98 1.804a1 1 0 00-1.96 0l-.24 1.192a1 1 0 01-.784.785l-1.192.238a1 1 0 000 1.962l1.192.238a1 1 0 01.785.785l.238 1.192a1 1 0 001.962 0l.238-1.192a1 1 0 01.785-.785l1.192-.238a1 1 0 000-1.962l-1.192-.238a1 1 0 01-.785-.785l-.238-1.192zM6.949 5.684a1 1 0 00-1.898 0l-.683 2.051a1 1 0 01-.633.633l-2.051.683a1 1 0 000 1.898l2.051.684a1 1 0 01.633.632l.683 2.051a1 1 0 001.898 0l.683-2.051a1 1 0 01.633-.633l2.051-.683a1 1 0 000-1.898l-2.051-.683a1 1 0 01-.633-.633L6.95 5.684zM13.949 13.684a1 1 0 00-1.898 0l-.184.551a1 1 0 01-.632.633l-.551.183a1 1 0 000 1.898l.551.183a1 1 0 01.633.633l.183.551a1 1 0 001.898 0l.184-.551a1 1 0 01.632-.633l.551-.183a1 1 0 000-1.898l-.551-.184a1 1 0 01-.633-.632l-.183-.551z" /></svg>`)))}});
@@ -1,4 +1,4 @@
1
- import"./shared-a6cf5b1f.js";import{h as t,P as e}from"./shared-3bc9eaf7.js";import{F as i,t as o}from"./shared-3db3f3c3.js";import{T as n,a,E as s}from"./shared-46efbc40.js";import"./shared-297155d9.js";import{O as r}from"./shared-1abfcf87.js";import"./shared-24998349.js";import"./shared-438e41ab.js";import"./foxy-collection-page.js";import"./foxy-swipe-actions.js";import"./foxy-form-dialog.js";import"./foxy-pagination.js";import"./shared-64210e53.js";import{I as l}from"./shared-6c2a7d2f.js";import"./shared-25a9d87d.js";import{x as d}from"./shared-387d7254.js";import{c,h,r as m}from"./shared-ba5c42c7.js";import{_ as u}from"./shared-7fec42f2.js";import{i as p}from"./shared-53e42a77.js";import{c as _}from"./shared-4e709717.js";const f=t`<dom-module id="lumo-notification-card" theme-for="vaadin-notification-card">
1
+ import"./shared-a6cf5b1f.js";import{h as t,P as e}from"./shared-3bc9eaf7.js";import{F as i,t as o}from"./shared-3db3f3c3.js";import{T as n,a,E as s}from"./shared-46efbc40.js";import"./shared-297155d9.js";import{O as r}from"./shared-1abfcf87.js";import"./shared-24998349.js";import"./shared-b148b310.js";import"./foxy-collection-page.js";import"./foxy-swipe-actions.js";import"./foxy-form-dialog.js";import"./foxy-pagination.js";import"./shared-64210e53.js";import{I as l}from"./shared-92c211bd.js";import"./shared-25a9d87d.js";import{x as d}from"./shared-387d7254.js";import{c,h,r as m}from"./shared-ba5c42c7.js";import{_ as u}from"./shared-7fec42f2.js";import{i as p}from"./shared-53e42a77.js";import{c as _}from"./shared-4e709717.js";const f=t`<dom-module id="lumo-notification-card" theme-for="vaadin-notification-card">
2
2
  <template>
3
3
  <style>
4
4
  :host {
@@ -1 +1 @@
1
- import{_ as e}from"./shared-7fec42f2.js";import{h as t}from"./shared-ba5c42c7.js";import{C as l}from"./shared-c782b9fa.js";import"./foxy-nucleon-element.js";import{R as s,T as a,a as i}from"./shared-387d7254.js";import{c as r}from"./shared-4e709717.js";import{N as d}from"./shared-da95bb48.js";let n,o,h,c,m,u=e=>e;const b=l(s(a(i(d))));class p extends b{constructor(){super(...arguments),this.columns=[]}static get properties(){return e(e({},super.properties),{},{columns:{attribute:!1}})}render(){var e,l;const s=this.columns.some((e=>!!e.header));return t(n||(n=u` <div data-testid="wrapper" aria-busy="${0}" aria-live="polite" class="relative font-lumo text-m"> <table class="table-fixed w-full" data-testid="table"> <thead class="${0}"> <tr> ${0} </tr> </thead> <tbody class="divide-y divide-contrast-10"> ${0} </tbody> </table> ${0} </div> ${0} `),this.in("busy"),s?"border-b border-contrast-10":"sr-only",this.columns.map(((e,l)=>{var s;return t(o||(o=u` <th class="${0}"> ${0} </th> `),r({"truncate h-l text-tertiary text-m text-left font-medium":!0,"text-right":l===this.columns.length-1,"hidden sm-table-cell":"sm"===e.hideBelow,"hidden md-table-cell":"md"===e.hideBelow,"hidden lg-table-cell":"lg"===e.hideBelow,"hidden xl-table-cell":"xl"===e.hideBelow}),null===(s=e.header)||void 0===s?void 0:s.call(e,{html:t,lang:this.lang,data:this.data,ns:this.ns}))})),this.__rows.map((e=>{var l;return t(h||(h=u` <tr class="h-l"> ${0} </tr> `),null===(l=this.columns)||void 0===l?void 0:l.map(((l,s)=>{var a;return t(c||(c=u` <td class="${0}"> ${0} </td> `),r({"text-right":s===this.columns.length-1,"hidden sm-table-cell":"sm"===l.hideBelow,"hidden md-table-cell":"md"===l.hideBelow,"hidden lg-table-cell":"lg"===l.hideBelow,"hidden xl-table-cell":"xl"===l.hideBelow,"truncate h-l text-body":!0}),e?null===(a=l.cell)||void 0===a?void 0:a.call(l,{html:t,lang:this.lang,data:e,ns:this.ns}):"")})))})),this.in({idle:"snapshot"})?"":t(m||(m=u` <div class="absolute inset-0 flex items-center justify-center"> <foxy-spinner data-testid="spinner" layout="vertical" state="${0}" class="p-m bg-base shadow-xs rounded-t-l rounded-b-l" lang="${0}" ns="${0} ${0}"> </foxy-spinner> </div> `),this.in("busy")?"busy":this.in("idle")?"empty":"error",this.lang,this.ns,null!==(l=null===(e=customElements.get("foxy-spinner"))||void 0===e?void 0:e.defaultNS)&&void 0!==l?l:""),this.renderTemplateOrSlot())}get __rows(){var e,t,l;const s=Object.values(null!==(t=null===(e=this.data)||void 0===e?void 0:e._embedded)&&void 0!==t?t:{}).reduce(((e,t)=>[...e,...t]),[]);let a;if(0===s.length)try{const e=new URL(null!==(l=this.href)&&void 0!==l?l:"").searchParams.get("limit"),t=parseInt(null!=e?e:"");a=isNaN(t)?20:t}catch(e){a=20}else a=s.length;return new Array(a).fill(null).map(((e,t)=>{var l;return null!==(l=s[t])&&void 0!==l?l:e}))}}export{p as T};
1
+ import{_ as e}from"./shared-7fec42f2.js";import{h as t}from"./shared-ba5c42c7.js";import{C as l}from"./shared-c782b9fa.js";import"./foxy-nucleon-element.js";import{R as s,T as a,a as i}from"./shared-387d7254.js";import{c as r}from"./shared-4e709717.js";import{N as d}from"./shared-69074dae.js";let n,o,h,c,m,u=e=>e;const b=l(s(a(i(d))));class p extends b{constructor(){super(...arguments),this.columns=[]}static get properties(){return e(e({},super.properties),{},{columns:{attribute:!1}})}render(){var e,l;const s=this.columns.some((e=>!!e.header));return t(n||(n=u` <div data-testid="wrapper" aria-busy="${0}" aria-live="polite" class="relative font-lumo text-m"> <table class="table-fixed w-full" data-testid="table"> <thead class="${0}"> <tr> ${0} </tr> </thead> <tbody class="divide-y divide-contrast-10"> ${0} </tbody> </table> ${0} </div> ${0} `),this.in("busy"),s?"border-b border-contrast-10":"sr-only",this.columns.map(((e,l)=>{var s;return t(o||(o=u` <th class="${0}"> ${0} </th> `),r({"truncate h-l text-tertiary text-m text-left font-medium":!0,"text-right":l===this.columns.length-1,"hidden sm-table-cell":"sm"===e.hideBelow,"hidden md-table-cell":"md"===e.hideBelow,"hidden lg-table-cell":"lg"===e.hideBelow,"hidden xl-table-cell":"xl"===e.hideBelow}),null===(s=e.header)||void 0===s?void 0:s.call(e,{html:t,lang:this.lang,data:this.data,ns:this.ns}))})),this.__rows.map((e=>{var l;return t(h||(h=u` <tr class="h-l"> ${0} </tr> `),null===(l=this.columns)||void 0===l?void 0:l.map(((l,s)=>{var a;return t(c||(c=u` <td class="${0}"> ${0} </td> `),r({"text-right":s===this.columns.length-1,"hidden sm-table-cell":"sm"===l.hideBelow,"hidden md-table-cell":"md"===l.hideBelow,"hidden lg-table-cell":"lg"===l.hideBelow,"hidden xl-table-cell":"xl"===l.hideBelow,"truncate h-l text-body":!0}),e?null===(a=l.cell)||void 0===a?void 0:a.call(l,{html:t,lang:this.lang,data:e,ns:this.ns}):"")})))})),this.in({idle:"snapshot"})?"":t(m||(m=u` <div class="absolute inset-0 flex items-center justify-center"> <foxy-spinner data-testid="spinner" layout="vertical" state="${0}" class="p-m bg-base shadow-xs rounded-t-l rounded-b-l" lang="${0}" ns="${0} ${0}"> </foxy-spinner> </div> `),this.in("busy")?"busy":this.in("idle")?"empty":"error",this.lang,this.ns,null!==(l=null===(e=customElements.get("foxy-spinner"))||void 0===e?void 0:e.defaultNS)&&void 0!==l?l:""),this.renderTemplateOrSlot())}get __rows(){var e,t,l;const s=Object.values(null!==(t=null===(e=this.data)||void 0===e?void 0:e._embedded)&&void 0!==t?t:{}).reduce(((e,t)=>[...e,...t]),[]);let a;if(0===s.length)try{const e=new URL(null!==(l=this.href)&&void 0!==l?l:"").searchParams.get("limit"),t=parseInt(null!=e?e:"");a=isNaN(t)?20:t}catch(e){a=20}else a=s.length;return new Array(a).fill(null).map(((e,t)=>{var l;return null!==(l=s[t])&&void 0!==l?l:e}))}}export{p as T};
@@ -664,8 +664,8 @@
664
664
  "tier_repeat": "price of next item",
665
665
  "tier_single": "order total",
666
666
  "tier_then": "then",
667
- "units_amount": "currency",
668
- "units_percentage": "percent",
667
+ "units_amount": "¤ amount",
668
+ "units_percentage": "% percentage",
669
669
  "quantity": "quantity",
670
670
  "total": "total",
671
671
  "reduce": "reduce",
@@ -815,8 +815,8 @@
815
815
  "tier_repeat": "price of next item",
816
816
  "tier_single": "order total",
817
817
  "tier_then": "then",
818
- "units_amount": "currency",
819
- "units_percentage": "percent",
818
+ "units_amount": "¤ amount",
819
+ "units_percentage": "% percentage",
820
820
  "quantity": "quantity",
821
821
  "total": "total",
822
822
  "reduce": "reduce",
@@ -1,16 +1,16 @@
1
1
  {
2
- "allunits_price_amount_discount_summary": "{{adjustment}}[currency] each after {{from}}",
2
+ "allunits_price_amount_discount_summary": "{{adjustment}}¤ amount each after {{from}}",
3
3
  "allunits_price_percentage_discount_summary": "{{adjustment, percent}} after {{from}}",
4
- "allunits_quantity_amount_discount_summary": "{{adjustment}}[currency] each on orders of {{from}}+",
4
+ "allunits_quantity_amount_discount_summary": "{{adjustment}}¤ amount each on orders of {{from}}+",
5
5
  "allunits_quantity_percentage_discount_summary": "{{adjustment, percent}} on orders of {{from}}+",
6
6
  "date_range_any": "Ongoing",
7
7
  "date_range_complete": "{{start, date}} – {{end, date}}",
8
8
  "date_range_from": "From {{start, date}}",
9
9
  "date_range_until": "Until {{end, date}}",
10
10
  "discount_summary": "{{params, discount}}",
11
- "incremental_price_amount_discount_summary": "{{adjustment}}[currency] each on orders of {{from}}+",
11
+ "incremental_price_amount_discount_summary": "{{adjustment}}¤ amount each on orders of {{from}}+",
12
12
  "incremental_price_percentage_discount_summary": "{{adjustment, percent}} on orders of {{from}}+",
13
- "incremental_quantity_amount_discount_summary": "{{adjustment}}[currency] each on items {{from}}+",
13
+ "incremental_quantity_amount_discount_summary": "{{adjustment}}¤ amount each on items {{from}}+",
14
14
  "incremental_quantity_percentage_discount_summary": "{{adjustment, percent}} on items {{from}}+",
15
15
  "ordinal_few": "rd",
16
16
  "ordinal_many": "th",
@@ -18,13 +18,13 @@
18
18
  "ordinal_other": "th",
19
19
  "ordinal_two": "nd",
20
20
  "ordinal_zero": "th",
21
- "repeat_price_amount_discount_summary": "for each {{from}}, {{adjustment}}[currency] on the next item",
21
+ "repeat_price_amount_discount_summary": "for each {{from}}, {{adjustment}}¤ amount on the next item",
22
22
  "repeat_price_percentage_discount_summary": "for each {{from}}, {{adjustment, percent}} on the next item",
23
- "repeat_quantity_amount_discount_summary": "{{adjustment}}[currency] on each {{from, ordinal}} item",
23
+ "repeat_quantity_amount_discount_summary": "{{adjustment}}¤ amount on each {{from, ordinal}} item",
24
24
  "repeat_quantity_percentage_discount_summary": "{{adjustment, percent}} on each {{from, ordinal}} item",
25
- "single_price_amount_discount_summary": "{{adjustment}}[currency] after {{from}}",
25
+ "single_price_amount_discount_summary": "{{adjustment}}¤ amount after {{from}}",
26
26
  "single_price_percentage_discount_summary": "{{adjustment, percent}} after {{from}}",
27
- "single_quantity_amount_discount_summary": "{{adjustment}}[currency] after {{from}} item(s)",
27
+ "single_quantity_amount_discount_summary": "{{adjustment}}¤ amount after {{from}} item(s)",
28
28
  "single_quantity_percentage_discount_summary": "{{adjustment, percent}} after {{from}} item(s)",
29
29
  "uses_count": "{{count}} uses",
30
30
  "uses_to_total_count": "{{count}}/{{total}} uses",
@@ -145,27 +145,27 @@
145
145
  "tier_repeat": "price of next item",
146
146
  "tier_single": "order total",
147
147
  "tier_then": "then",
148
- "units_amount": "currency",
149
- "units_percentage": "percent",
148
+ "units_amount": "¤ amount",
149
+ "units_percentage": "% percentage",
150
150
  "quantity": "quantity",
151
151
  "total": "total",
152
152
  "reduce": "reduce",
153
153
  "increase": "increase"
154
154
  },
155
- "allunits_price_amount_discount_summary": "{{adjustment}}[currency] each after {{from}}",
155
+ "allunits_price_amount_discount_summary": "{{adjustment}}¤ amount each after {{from}}",
156
156
  "allunits_price_percentage_discount_summary": "{{adjustment, percent}} after {{from}}",
157
- "allunits_quantity_amount_discount_summary": "{{adjustment}}[currency] each on orders of {{from}}+",
157
+ "allunits_quantity_amount_discount_summary": "{{adjustment}}¤ amount each on orders of {{from}}+",
158
158
  "allunits_quantity_percentage_discount_summary": "{{adjustment, percent}} on orders of {{from}}+",
159
- "incremental_price_amount_discount_summary": "{{adjustment}}[currency] each on orders of {{from}}+",
159
+ "incremental_price_amount_discount_summary": "{{adjustment}}¤ amount each on orders of {{from}}+",
160
160
  "incremental_price_percentage_discount_summary": "{{adjustment, percent}} on orders of {{from}}+",
161
- "incremental_quantity_amount_discount_summary": "{{adjustment}}[currency] each on items {{from}}+",
161
+ "incremental_quantity_amount_discount_summary": "{{adjustment}}¤ amount each on items {{from}}+",
162
162
  "incremental_quantity_percentage_discount_summary": "{{adjustment, percent}} on items {{from}}+",
163
- "repeat_price_amount_discount_summary": "for each {{from}}, {{adjustment}}[currency] on the next item",
163
+ "repeat_price_amount_discount_summary": "for each {{from}}, {{adjustment}}¤ amount on the next item",
164
164
  "repeat_price_percentage_discount_summary": "for each {{from}}, {{adjustment, percent}} on the next item",
165
- "repeat_quantity_amount_discount_summary": "{{adjustment}}[currency] on each {{from, ordinal}} item",
166
- "single_price_amount_discount_summary": "{{adjustment}}[currency] after {{from}}",
165
+ "repeat_quantity_amount_discount_summary": "{{adjustment}}¤ amount on each {{from, ordinal}} item",
166
+ "single_price_amount_discount_summary": "{{adjustment}}¤ amount after {{from}}",
167
167
  "single_price_percentage_discount_summary": "{{adjustment, percent}} after {{from}}",
168
- "single_quantity_amount_discount_summary": "{{adjustment}}[currency] after {{from}} items",
168
+ "single_quantity_amount_discount_summary": "{{adjustment}}¤ amount after {{from}} items",
169
169
  "single_quantity_percentage_discount_summary": "{{adjustment, percent}} after {{from}} items",
170
170
  "repeat_quantity_percentage_discount_summary": "{{adjustment, percent}} on each {{from, ordinal}} item",
171
171
  "discount_summary": "Applied discount: {{params, discount}}.",
@@ -7,8 +7,8 @@
7
7
  "tier_repeat": "price of next item",
8
8
  "tier_single": "order total",
9
9
  "tier_then": "then",
10
- "units_amount": "currency",
11
- "units_percentage": "percent",
10
+ "units_amount": "¤ amount",
11
+ "units_percentage": "% percentage",
12
12
  "quantity": "quantity",
13
13
  "total": "total",
14
14
  "reduce": "reduce",
@@ -230,8 +230,8 @@
230
230
  "tier_repeat": "price of next item",
231
231
  "tier_single": "order total",
232
232
  "tier_then": "then",
233
- "units_amount": "currency",
234
- "units_percentage": "percent",
233
+ "units_amount": "¤ amount",
234
+ "units_percentage": "% percentage",
235
235
  "quantity": "quantity",
236
236
  "total": "total",
237
237
  "reduce": "reduce",
@@ -542,7 +542,16 @@
542
542
  "helper_text": "",
543
543
  "direct_link": "Direct link",
544
544
  "empty": "Modify the item parameters to see the add-to-cart link.",
545
- "unavailable": "Direct link is not available when one or more items have configurable options.",
545
+ "unavailable": {
546
+ "loading_extra_data_needed": "Creating direct link...",
547
+ "error_special_characters_present": "At the moment we don't support signed direct links with custom option names that contain the following characters: #, &, %, =.",
548
+ "error_price_configurable": "Direct link is not available when one or more items have configurable price.",
549
+ "error_duplicate_custom_option_names": "Direct link is not available when one or more items have configurable custom options.",
550
+ "paused_code_required": "Direct link will be available once you provide an SKU for each item.",
551
+ "error_option_value_configurable": "Direct link is not available when one or more items have a custom option with a configurable value.",
552
+ "error_html_entities_present": "At the moment we don't support signed links with item parameters that contain HTML entities.",
553
+ "error_double_quotes_present": "At the moment we don't support signed links with item parameters that contain double quotes."
554
+ },
546
555
  "copy-to-clipboard": {
547
556
  "failed_to_copy": "Failed to copy",
548
557
  "click_to_copy": "Copy to clipboard",
@@ -561,11 +570,10 @@
561
570
  "submit_caption_cart": "Add to cart",
562
571
  "submit_caption_checkout": "Purchase",
563
572
  "unavailable": {
564
- "loading_busy": "Loading preview...",
565
- "loading_paused": "Preview paused",
573
+ "loading_extra_data_needed": "Loading direct link...",
566
574
  "paused_code_required": "Preview and add-to-cart code will be available once you provide an SKU for each item.",
567
- "error_html_entities_present": "Item parameters can't contain HTML entities when cart signing is enabled.",
568
- "error_double_quotes_present": "Item parameters can't contain double quotes when cart signing is enabled."
575
+ "error_html_entities_present": "At the moment we don't support signed forms with item parameters that contain HTML entities.",
576
+ "error_double_quotes_present": "At the moment we don't support signed forms with item parameters that contain double quotes."
569
577
  },
570
578
  "spinner": {
571
579
  "loading_busy": "Signing",
@@ -186,8 +186,8 @@
186
186
  "tier_repeat": "price of next item",
187
187
  "tier_single": "order total",
188
188
  "tier_then": "then",
189
- "units_amount": "currency",
190
- "units_percentage": "percent",
189
+ "units_amount": "¤ amount",
190
+ "units_percentage": "% percentage",
191
191
  "quantity": "quantity",
192
192
  "total": "total",
193
193
  "reduce": "reduce",
@@ -198,8 +198,8 @@
198
198
  "tier_repeat": "price of next item",
199
199
  "tier_single": "order total",
200
200
  "tier_then": "then",
201
- "units_amount": "currency",
202
- "units_percentage": "percent",
201
+ "units_amount": "¤ amount",
202
+ "units_percentage": "% percentage",
203
203
  "quantity": "quantity",
204
204
  "total": "total",
205
205
  "reduce": "reduce",
@@ -301,8 +301,8 @@
301
301
  "tier_repeat": "price of next item",
302
302
  "tier_single": "order total",
303
303
  "tier_then": "then",
304
- "units_amount": "currency",
305
- "units_percentage": "percent",
304
+ "units_amount": "¤ amount",
305
+ "units_percentage": "% percentage",
306
306
  "quantity": "quantity",
307
307
  "total": "total",
308
308
  "reduce": "reduce",