@everymatrix/cashier-method-details 1.74.1 → 1.74.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.
- package/components/{CashierError-BYAm1Lbb.js → CashierError-CE-AhUxp.js} +856 -822
- package/components/CashierError-CgD5SBgn.cjs +18 -0
- package/components/{CashierError-BkIxkY8F.js → CashierError-DhTIHifn.js} +860 -826
- package/components/{CashierMethodDetails-CY-n5Xs3.js → CashierMethodDetails-Br5GQBI4.js} +2739 -2750
- package/components/{CashierMethodDetails-rDDw8Bc8.js → CashierMethodDetails-DMMwR3Dc.js} +2673 -2687
- package/components/CashierMethodDetails-cxyuXebl.cjs +86 -0
- package/components/{CashierNotifications-BQTvUy4u.js → CashierNotifications-7cJqV9OF.js} +14 -14
- package/components/{CashierNotifications-aQsycG0U.cjs → CashierNotifications-Bg1M0kCb.cjs} +1 -1
- package/components/{CashierNotifications-C24DSLai.js → CashierNotifications-Cw_KX0OD.js} +16 -16
- package/components/{CashierReceiptPage-CeYO75Eu.js → CashierReceiptPage-9Osxem4I.js} +446 -425
- package/components/CashierReceiptPage-Bzbt2Rem.cjs +1 -0
- package/components/{CashierReceiptPage-8VIH-qGc.js → CashierReceiptPage-DktZ_TCV.js} +469 -444
- package/components/{CashierSpinner-DBn8C2KN.js → CashierSpinner-BwzLZki0.js} +15 -15
- package/components/{CashierSpinner-Bnvw5JOa.js → CashierSpinner-Cp51Mr5D.js} +15 -15
- package/components/{CashierSpinner-CqquE7s-.cjs → CashierSpinner-Dipo-icT.cjs} +1 -1
- 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-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-CYuYAlOX.js} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-D3_FGUyo.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJWD4G-S.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/components/CashierError-YlxCi5wR.cjs +0 -5
- package/components/CashierMethodDetails-I4F3WmBh.cjs +0 -99
- package/components/CashierReceiptPage-CaNza_P-.cjs +0 -1
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -1,21 +1,21 @@
|
|
1
|
-
import { S as C,
|
1
|
+
import { S as C, f as v, h as d, j as _, s as k, k as N, m as h, C as p, n as z, o as S, p as E, q as f, r as L, D as b, t as x, u as M, F as T } from "./CashierError-CE-AhUxp.js";
|
2
2
|
function q(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 F(n) {
|
6
6
|
let t, s, r, u, l, a, i, m;
|
7
7
|
return {
|
8
8
|
c() {
|
9
|
-
t = h("div"), s = h("span"), r =
|
9
|
+
t = h("div"), s = h("span"), r = p(
|
10
10
|
/*text*/
|
11
11
|
n[0]
|
12
|
-
), u =
|
12
|
+
), u = z(), l = h("button"), a = p(
|
13
13
|
/*button*/
|
14
14
|
n[1]
|
15
|
-
),
|
15
|
+
), S(t, "class", "CashierNotifications");
|
16
16
|
},
|
17
17
|
m(o, c) {
|
18
|
-
|
18
|
+
E(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*/
|
@@ -24,21 +24,21 @@ function B(n) {
|
|
24
24
|
},
|
25
25
|
p(o, [c]) {
|
26
26
|
c & /*text*/
|
27
|
-
1 &&
|
27
|
+
1 && b(
|
28
28
|
r,
|
29
29
|
/*text*/
|
30
30
|
o[0]
|
31
31
|
), c & /*button*/
|
32
|
-
2 &&
|
32
|
+
2 && b(
|
33
33
|
a,
|
34
34
|
/*button*/
|
35
35
|
o[1]
|
36
36
|
);
|
37
37
|
},
|
38
|
-
i:
|
39
|
-
o:
|
38
|
+
i: x,
|
39
|
+
o: x,
|
40
40
|
d(o) {
|
41
|
-
o &&
|
41
|
+
o && M(t), n[6](null), i = !1, m();
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
@@ -87,8 +87,8 @@ class R extends C {
|
|
87
87
|
this,
|
88
88
|
t,
|
89
89
|
H,
|
90
|
-
|
91
|
-
|
90
|
+
F,
|
91
|
+
k,
|
92
92
|
{
|
93
93
|
text: 0,
|
94
94
|
button: 1,
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
124
124
|
}
|
125
125
|
}
|
126
|
-
|
126
|
+
_(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
127
127
|
export {
|
128
128
|
R as default
|
129
129
|
};
|
@@ -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-CgD5SBgn.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;
|
@@ -1,21 +1,21 @@
|
|
1
|
-
import { S as C,
|
1
|
+
import { S as C, h as v, j as d, f as _, s as k, k as N, m as h, C as p, n as z, o as S, p as E, q as f, r as L, D as b, t as x, u as M, F as T } from "./CashierError-DhTIHifn.js";
|
2
2
|
function q(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 F(n) {
|
6
6
|
let t, s, r, u, l, a, i, m;
|
7
7
|
return {
|
8
8
|
c() {
|
9
|
-
t = h("div"), s = h("span"), r =
|
9
|
+
t = h("div"), s = h("span"), r = p(
|
10
10
|
/*text*/
|
11
11
|
n[0]
|
12
|
-
), u =
|
12
|
+
), u = z(), l = h("button"), a = p(
|
13
13
|
/*button*/
|
14
14
|
n[1]
|
15
|
-
),
|
15
|
+
), S(t, "class", "CashierNotifications");
|
16
16
|
},
|
17
17
|
m(o, c) {
|
18
|
-
|
18
|
+
E(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*/
|
@@ -24,21 +24,21 @@ function B(n) {
|
|
24
24
|
},
|
25
25
|
p(o, [c]) {
|
26
26
|
c & /*text*/
|
27
|
-
1 &&
|
27
|
+
1 && b(
|
28
28
|
r,
|
29
29
|
/*text*/
|
30
30
|
o[0]
|
31
31
|
), c & /*button*/
|
32
|
-
2 &&
|
32
|
+
2 && b(
|
33
33
|
a,
|
34
34
|
/*button*/
|
35
35
|
o[1]
|
36
36
|
);
|
37
37
|
},
|
38
|
-
i:
|
39
|
-
o:
|
38
|
+
i: x,
|
39
|
+
o: x,
|
40
40
|
d(o) {
|
41
|
-
o &&
|
41
|
+
o && M(t), n[6](null), i = !1, m();
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
@@ -61,7 +61,7 @@ function H(n, t, s) {
|
|
61
61
|
});
|
62
62
|
};
|
63
63
|
function w(e) {
|
64
|
-
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
65
65
|
i = e, s(2, i);
|
66
66
|
});
|
67
67
|
}
|
@@ -87,8 +87,8 @@ class R extends C {
|
|
87
87
|
this,
|
88
88
|
t,
|
89
89
|
H,
|
90
|
-
|
91
|
-
|
90
|
+
F,
|
91
|
+
k,
|
92
92
|
{
|
93
93
|
text: 0,
|
94
94
|
button: 1,
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
124
124
|
}
|
125
125
|
}
|
126
|
-
|
126
|
+
_(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
127
127
|
export {
|
128
128
|
R as default
|
129
129
|
};
|