@everymatrix/cashier-method-details 1.74.3 → 1.74.4
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.
- package/components/{CashierError-DhTIHifn.js → CashierError-BrhXjIFy.js} +361 -363
- package/components/{CashierError-CE-AhUxp.js → CashierError-FFDY8Bjv.js} +371 -373
- package/components/CashierError-bGDEVexB.cjs +18 -0
- package/components/{CashierMethodDetails-DMMwR3Dc.js → CashierMethodDetails-CwpKRG1_.js} +1617 -1593
- package/components/CashierMethodDetails-gp6s2P2P.cjs +86 -0
- package/components/{CashierMethodDetails-Br5GQBI4.js → CashierMethodDetails-qUOrY3-g.js} +1550 -1526
- package/components/{CashierNotifications-Cw_KX0OD.js → CashierNotifications-B2kZUm6v.js} +10 -10
- package/components/{CashierNotifications-7cJqV9OF.js → CashierNotifications-CblRF1Eh.js} +10 -10
- package/components/{CashierNotifications-Bg1M0kCb.cjs → CashierNotifications-uWkM_JBz.cjs} +1 -1
- package/components/{CashierReceiptPage-Bzbt2Rem.cjs → CashierReceiptPage-BURTbzBf.cjs} +1 -1
- package/components/{CashierReceiptPage-9Osxem4I.js → CashierReceiptPage-C9Bm9X8L.js} +35 -35
- package/components/{CashierReceiptPage-DktZ_TCV.js → CashierReceiptPage-rh2HHa6V.js} +35 -35
- package/components/{CashierSpinner-Dipo-icT.cjs → CashierSpinner-CWVXjWja.cjs} +1 -1
- package/components/{CashierSpinner-Cp51Mr5D.js → CashierSpinner-DH_zy27t.js} +10 -10
- package/components/{CashierSpinner-BwzLZki0.js → CashierSpinner-DU3_6EXm.js} +10 -10
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CashierError-CgD5SBgn.cjs +0 -18
- package/components/CashierMethodDetails-cxyuXebl.cjs +0 -86
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
import { S as C, h as v, j as d, f as _, s as k, k as N, m as h,
|
2
|
-
function
|
1
|
+
import { S as C, h as v, j as d, f as _, s as k, k as N, m as h, E as p, n as z, o as E, p as S, q as f, r as L, F as b, t as x, u as H, H as M } from "./CashierError-BrhXjIFy.js";
|
2
|
+
function T(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
|
5
|
+
function q(n) {
|
6
6
|
let t, s, r, u, l, a, i, m;
|
7
7
|
return {
|
8
8
|
c() {
|
@@ -12,10 +12,10 @@ function F(n) {
|
|
12
12
|
), u = z(), l = h("button"), a = p(
|
13
13
|
/*button*/
|
14
14
|
n[1]
|
15
|
-
),
|
15
|
+
), E(t, "class", "CashierNotifications");
|
16
16
|
},
|
17
17
|
m(o, c) {
|
18
|
-
|
18
|
+
S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
|
19
19
|
l,
|
20
20
|
"click",
|
21
21
|
/*notificationClick*/
|
@@ -38,11 +38,11 @@ function F(n) {
|
|
38
38
|
i: x,
|
39
39
|
o: x,
|
40
40
|
d(o) {
|
41
|
-
o &&
|
41
|
+
o && H(t), n[6](null), i = !1, m();
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function F(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);
|
@@ -61,7 +61,7 @@ function H(n, t, s) {
|
|
61
61
|
});
|
62
62
|
};
|
63
63
|
function w(e) {
|
64
|
-
|
64
|
+
M[e ? "unshift" : "push"](() => {
|
65
65
|
i = e, s(2, i);
|
66
66
|
});
|
67
67
|
}
|
@@ -86,8 +86,8 @@ class R extends C {
|
|
86
86
|
super(), v(
|
87
87
|
this,
|
88
88
|
t,
|
89
|
-
H,
|
90
89
|
F,
|
90
|
+
q,
|
91
91
|
k,
|
92
92
|
{
|
93
93
|
text: 0,
|
@@ -95,7 +95,7 @@ class R extends C {
|
|
95
95
|
clientstyling: 4,
|
96
96
|
clientstylingurl: 5
|
97
97
|
},
|
98
|
-
|
98
|
+
T
|
99
99
|
);
|
100
100
|
}
|
101
101
|
get text() {
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { S as C, f as v, h as d, j as _, s as k, k as N, m as h,
|
2
|
-
function
|
1
|
+
import { S as C, f as v, h as d, j as _, s as k, k as N, m as h, E as p, n as z, o as E, p as S, q as f, r as L, F as b, t as x, u as H, H as M } from "./CashierError-FFDY8Bjv.js";
|
2
|
+
function T(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
|
5
|
+
function q(n) {
|
6
6
|
let t, s, r, u, l, a, i, m;
|
7
7
|
return {
|
8
8
|
c() {
|
@@ -12,10 +12,10 @@ function F(n) {
|
|
12
12
|
), u = z(), l = h("button"), a = p(
|
13
13
|
/*button*/
|
14
14
|
n[1]
|
15
|
-
),
|
15
|
+
), E(t, "class", "CashierNotifications");
|
16
16
|
},
|
17
17
|
m(o, c) {
|
18
|
-
|
18
|
+
S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
|
19
19
|
l,
|
20
20
|
"click",
|
21
21
|
/*notificationClick*/
|
@@ -38,11 +38,11 @@ function F(n) {
|
|
38
38
|
i: x,
|
39
39
|
o: x,
|
40
40
|
d(o) {
|
41
|
-
o &&
|
41
|
+
o && H(t), n[6](null), i = !1, m();
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function F(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);
|
@@ -61,7 +61,7 @@ function H(n, t, s) {
|
|
61
61
|
});
|
62
62
|
};
|
63
63
|
function w(e) {
|
64
|
-
|
64
|
+
M[e ? "unshift" : "push"](() => {
|
65
65
|
i = e, s(2, i);
|
66
66
|
});
|
67
67
|
}
|
@@ -86,8 +86,8 @@ class R extends C {
|
|
86
86
|
super(), v(
|
87
87
|
this,
|
88
88
|
t,
|
89
|
-
H,
|
90
89
|
F,
|
90
|
+
q,
|
91
91
|
k,
|
92
92
|
{
|
93
93
|
text: 0,
|
@@ -95,7 +95,7 @@ class R extends C {
|
|
95
95
|
clientstyling: 4,
|
96
96
|
clientstylingurl: 5
|
97
97
|
},
|
98
|
-
|
98
|
+
T
|
99
99
|
);
|
100
100
|
}
|
101
101
|
get text() {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-bGDEVexB.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,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&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:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),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,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(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;
|