@everymatrix/cashier-method-details 1.74.10 → 1.75.0

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 (36) hide show
  1. package/components/{CashierConfirmModal-BpvE1Wx6.cjs → CashierConfirmModal-CptRwG7E.cjs} +1 -1
  2. package/components/{CashierConfirmModal-DMfIxlzo.js → CashierConfirmModal-DHQhXBLq.js} +52 -52
  3. package/components/{CashierConfirmModal-BWIW81mB.js → CashierConfirmModal-mBbcNR6k.js} +91 -91
  4. package/components/{CashierError-DoZe5cfh.js → CashierError-CxC9JUxE.js} +842 -844
  5. package/components/CashierError-DnIbQhz-.cjs +18 -0
  6. package/components/{CashierError-B0qGY6Wi.js → CashierError-F-JdF-yR.js} +843 -845
  7. package/components/{CashierMethodDetails-BfH-RbrN.cjs → CashierMethodDetails-BYUtOrl-.cjs} +5 -5
  8. package/components/{CashierMethodDetails-CjC76kcH.js → CashierMethodDetails-CFo6ZuQl.js} +514 -498
  9. package/components/{CashierMethodDetails-dvMrG2uJ.js → CashierMethodDetails-DLTg6RpP.js} +523 -507
  10. package/components/{CashierNotifications-BcL2GzJF.js → CashierNotifications-BdfHI3lV.js} +7 -7
  11. package/components/{CashierNotifications-CXmrjPcN.cjs → CashierNotifications-Dt9Itbd7.cjs} +1 -1
  12. package/components/{CashierNotifications-DFrPFNQu.js → CashierNotifications-mhxDKO1J.js} +7 -7
  13. package/components/{CashierReceiptPage-ccQMDo3k.js → CashierReceiptPage-CfgCGXm-.js} +7 -7
  14. package/components/{CashierReceiptPage-D2PHvmZG.js → CashierReceiptPage-CrP-r8ja.js} +7 -7
  15. package/components/{CashierReceiptPage-Bwu64AsC.cjs → CashierReceiptPage-L8-ZgSVM.cjs} +1 -1
  16. package/components/{CashierSpinner-CfotkcDR.js → CashierSpinner-BjBxLMiY.js} +8 -8
  17. package/components/{CashierSpinner-C74evWKy.cjs → CashierSpinner-DBOsp-ou.cjs} +1 -1
  18. package/components/{CashierSpinner-tQuxlMdI.js → CashierSpinner-Rar1657O.js} +8 -8
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  24. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  25. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  26. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
  27. package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
  28. package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  32. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  33. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  34. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
  35. package/components/CashierError-CUhtZvcE.cjs +0 -18
  36. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, z as b, h as z, j as S, k as E, l as f, B as L, A as p, n as x, v as M, D as T } from "./CashierConfirmModal-BWIW81mB.js";
1
+ import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-mBbcNR6k.js";
2
2
  function B(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function H(n) {
5
+ function F(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
@@ -42,7 +42,7 @@ function H(n) {
42
42
  }
43
43
  };
44
44
  }
45
- function R(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -81,13 +81,13 @@ function R(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class U extends C {
84
+ class R extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- R,
90
89
  H,
90
+ F,
91
91
  k,
92
92
  {
93
93
  text: 0,
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ _(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- U as default
128
+ R as default
129
129
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-BpvE1Wx6.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CptRwG7E.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
@@ -1,8 +1,8 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, z as b, h as z, j as S, k as E, l as f, B as L, A as p, n as x, v as M, D as T } from "./CashierConfirmModal-DMfIxlzo.js";
1
+ import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-DHQhXBLq.js";
2
2
  function B(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function H(n) {
5
+ function F(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
@@ -42,7 +42,7 @@ function H(n) {
42
42
  }
43
43
  };
44
44
  }
45
- function R(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -81,13 +81,13 @@ function R(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class U extends C {
84
+ class R extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- R,
90
89
  H,
90
+ F,
91
91
  k,
92
92
  {
93
93
  text: 0,
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ _(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- U as default
128
+ R as default
129
129
  };
@@ -1,6 +1,6 @@
1
- import { S as Fe, b as _e, f as T, c as $e, a as et, d as tt, g as A, j as c, k as u, n as j, v as f, w as nt, x as it, D as Te, E as ot, F as st, G as lt, I as d, h as R, z as Y, y as se, H as O, l as b, A as G, B as ee, N as $, P as qe } from "./CashierConfirmModal-BWIW81mB.js";
2
- import { d as ye, u as at, f as rt, a as Ie, i as ct, b as ke } from "./CashierMethodDetails-dvMrG2uJ.js";
3
- import { d as ut, i as ft, $ as gt, f as dt } from "./CashierError-B0qGY6Wi.js";
1
+ import { S as Fe, b as _e, f as T, c as $e, a as et, d as tt, g as A, j as c, k as u, n as j, v as f, w as nt, x as it, y as ot, z as st, F as Te, G as lt, I as d, h as R, B as Y, A as se, H as O, l as b, C as G, D as ee, N as $, P as qe } from "./CashierConfirmModal-mBbcNR6k.js";
2
+ import { d as ye, u as at, f as rt, a as Ie, i as ct, b as ke } from "./CashierMethodDetails-DLTg6RpP.js";
3
+ import { d as ut, i as ft, $ as gt, f as dt } from "./CashierError-F-JdF-yR.js";
4
4
  if (typeof window != "undefined") {
5
5
  let o = function(e) {
6
6
  return function(...t) {
@@ -13,7 +13,7 @@ if (typeof window != "undefined") {
13
13
  }
14
14
  };
15
15
  };
16
- customElements.define = o(customElements.define), import("./CashierSpinner-tQuxlMdI.js").then(({ default: e }) => {
16
+ customElements.define = o(customElements.define), import("./CashierSpinner-Rar1657O.js").then(({ default: e }) => {
17
17
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
18
18
  });
19
19
  }
@@ -1402,10 +1402,10 @@ function Yt(o, e, t) {
1402
1402
  12 && i && s && h && k && m && Ze(), o.$$.dirty[0] & /*lang*/
1403
1403
  4 && a && Ue(), o.$$.dirty[0] & /*lang, translationurl*/
1404
1404
  36 && a && J && Xe(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1405
- 2304 && W && L && ot(L, W), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1406
- 2560 && S && L && st(L, S), o.$$.dirty[0] & /*customStylingContainer*/
1405
+ 2304 && W && L && lt(L, W), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1406
+ 2560 && S && L && ot(L, S), o.$$.dirty[0] & /*customStylingContainer*/
1407
1407
  2048 | o.$$.dirty[1] & /*mbsource*/
1408
- 32 && x && L && lt(L, `${x}.Style`);
1408
+ 32 && x && L && st(L, `${x}.Style`);
1409
1409
  }, [
1410
1410
  i,
1411
1411
  s,
@@ -1,6 +1,6 @@
1
- import { S as Ve, b as Oe, f as T, c as Ne, a as je, d as Fe, g as A, j as c, k as u, n as j, v as f, w as _e, x as $e, D as Ce, E as et, F as tt, G as nt, I as d, h as R, z as Y, y as se, H as O, l as b, A as G, B as ee, N as $, P as Je } from "./CashierConfirmModal-DMfIxlzo.js";
2
- import { d as he, u as it, f as ot, a as be, i as st, b as we } from "./CashierMethodDetails-CjC76kcH.js";
3
- import { d as lt, i as at, $ as rt, f as ct } from "./CashierError-DoZe5cfh.js";
1
+ import { S as Ve, b as Oe, f as T, c as Ne, a as je, d as Fe, g as A, j as c, k as u, n as j, v as f, w as _e, x as $e, y as et, z as tt, F as Ce, G as nt, I as d, h as R, B as Y, A as se, H as O, l as b, C as G, D as ee, N as $, P as Je } from "./CashierConfirmModal-DHQhXBLq.js";
2
+ import { d as he, u as it, f as ot, a as be, i as st, b as we } from "./CashierMethodDetails-CFo6ZuQl.js";
3
+ import { d as lt, i as at, $ as rt, f as ct } from "./CashierError-CxC9JUxE.js";
4
4
  if (typeof window < "u") {
5
5
  let o = function(e) {
6
6
  return function(...t) {
@@ -13,7 +13,7 @@ if (typeof window < "u") {
13
13
  }
14
14
  };
15
15
  };
16
- customElements.define = o(customElements.define), import("./CashierSpinner-CfotkcDR.js").then(({ default: e }) => {
16
+ customElements.define = o(customElements.define), import("./CashierSpinner-BjBxLMiY.js").then(({ default: e }) => {
17
17
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
18
18
  });
19
19
  }
@@ -1400,10 +1400,10 @@ function Qt(o, e, t) {
1400
1400
  12 && i && s && h && k && m && Xe(), o.$$.dirty[0] & /*lang*/
1401
1401
  4 && a && xe(), o.$$.dirty[0] & /*lang, translationurl*/
1402
1402
  36 && a && J && qe(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1403
- 2304 && W && L && et(L, W), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1404
- 2560 && S && L && tt(L, S), o.$$.dirty[0] & /*customStylingContainer*/
1403
+ 2304 && W && L && nt(L, W), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1404
+ 2560 && S && L && et(L, S), o.$$.dirty[0] & /*customStylingContainer*/
1405
1405
  2048 | o.$$.dirty[1] & /*mbsource*/
1406
- 32 && x && L && nt(L, `${x}.Style`);
1406
+ 32 && x && L && tt(L, `${x}.Style`);
1407
1407
  }, [
1408
1408
  i,
1409
1409
  s,