@everymatrix/cashier-method-details 1.75.0 → 1.76.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.
- package/components/{CashierError-F-JdF-yR.js → CashierError-B04E0SCH.js} +1673 -1064
- package/components/{CashierError-CxC9JUxE.js → CashierError-BbcfLRQK.js} +1643 -1071
- package/components/CashierError-BwS8RTCt.cjs +5 -0
- package/components/{CashierMethodDetails-CFo6ZuQl.js → CashierMethodDetails-Df9iyVrv.js} +3589 -2983
- package/components/{CashierMethodDetails-DLTg6RpP.js → CashierMethodDetails-Jn6Ne8XP.js} +3560 -2953
- package/components/CashierMethodDetails-gFEiF1Az.cjs +99 -0
- package/components/{CashierNotifications-BdfHI3lV.js → CashierNotifications-B0fweUWQ.js} +17 -17
- package/components/CashierNotifications-B1KObWQw.cjs +1 -0
- package/components/{CashierNotifications-mhxDKO1J.js → CashierNotifications-BEWqvZhu.js} +19 -19
- package/components/{CashierReceiptPage-CfgCGXm-.js → CashierReceiptPage-B6E5EExT.js} +78 -79
- package/components/CashierReceiptPage-By61OJfa.cjs +1 -0
- package/components/{CashierReceiptPage-CrP-r8ja.js → CashierReceiptPage-c2btKmUH.js} +78 -79
- package/components/{CashierSpinner-Rar1657O.js → CashierSpinner-CBnj6kqf.js} +19 -19
- package/components/{CashierSpinner-BjBxLMiY.js → CashierSpinner-DvF-Fl8x.js} +19 -19
- package/components/CashierSpinner-Uy8RCuWU.cjs +1 -0
- 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--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CashierConfirmModal-CptRwG7E.cjs +0 -1
- package/components/CashierConfirmModal-DHQhXBLq.js +0 -855
- package/components/CashierConfirmModal-mBbcNR6k.js +0 -892
- package/components/CashierError-DnIbQhz-.cjs +0 -18
- package/components/CashierMethodDetails-BYUtOrl-.cjs +0 -86
- package/components/CashierNotifications-Dt9Itbd7.cjs +0 -1
- package/components/CashierReceiptPage-L8-ZgSVM.cjs +0 -1
- package/components/CashierSpinner-DBOsp-ou.cjs +0 -1
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,21 +1,21 @@
|
|
1
|
-
import { S as C,
|
2
|
-
function
|
1
|
+
import { S as C, d as v, f as d, s as _, b as k, e as N, n as b, j as z, y as p, k as S, l as f, m as E, p as h, z as x, q as L, r as M, C as T } from "./CashierError-BbcfLRQK.js";
|
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 H(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 = x(
|
10
10
|
/*text*/
|
11
11
|
n[0]
|
12
|
-
), u =
|
12
|
+
), u = L(), l = h("button"), a = x(
|
13
13
|
/*button*/
|
14
14
|
n[1]
|
15
|
-
),
|
15
|
+
), M(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 = E(
|
19
19
|
l,
|
20
20
|
"click",
|
21
21
|
/*notificationClick*/
|
@@ -35,14 +35,14 @@ function F(n) {
|
|
35
35
|
o[1]
|
36
36
|
);
|
37
37
|
},
|
38
|
-
i:
|
39
|
-
o:
|
38
|
+
i: b,
|
39
|
+
o: b,
|
40
40
|
d(o) {
|
41
|
-
o &&
|
41
|
+
o && z(t), n[6](null), i = !1, m();
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function R(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,21 +81,21 @@ function H(n, t, s) {
|
|
81
81
|
w
|
82
82
|
];
|
83
83
|
}
|
84
|
-
class
|
84
|
+
class U extends C {
|
85
85
|
constructor(t) {
|
86
86
|
super(), v(
|
87
87
|
this,
|
88
88
|
t,
|
89
|
+
R,
|
89
90
|
H,
|
90
|
-
|
91
|
-
k,
|
91
|
+
_,
|
92
92
|
{
|
93
93
|
text: 0,
|
94
94
|
button: 1,
|
95
95
|
clientstyling: 4,
|
96
96
|
clientstylingurl: 5
|
97
97
|
},
|
98
|
-
|
98
|
+
q
|
99
99
|
);
|
100
100
|
}
|
101
101
|
get text() {
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
124
124
|
}
|
125
125
|
}
|
126
|
-
|
126
|
+
k(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
127
127
|
export {
|
128
|
-
|
128
|
+
U as default
|
129
129
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-BwS8RTCt.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, b as v,
|
2
|
-
function
|
3
|
-
|
1
|
+
import { S as C, b as v, s as _, f as d, e as k, n as b, j as N, y as p, k as z, l as f, m as S, p as h, z as x, q as E, r as L, C as M, d as T } from "./CashierError-B04E0SCH.js";
|
2
|
+
function q(n) {
|
3
|
+
k(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 H(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 = x(
|
10
10
|
/*text*/
|
11
11
|
n[0]
|
12
|
-
), u =
|
12
|
+
), u = E(), l = h("button"), a = x(
|
13
13
|
/*button*/
|
14
14
|
n[1]
|
15
|
-
),
|
15
|
+
), L(t, "class", "CashierNotifications");
|
16
16
|
},
|
17
17
|
m(o, c) {
|
18
|
-
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
|
19
19
|
l,
|
20
20
|
"click",
|
21
21
|
/*notificationClick*/
|
@@ -35,14 +35,14 @@ function F(n) {
|
|
35
35
|
o[1]
|
36
36
|
);
|
37
37
|
},
|
38
|
-
i:
|
39
|
-
o:
|
38
|
+
i: b,
|
39
|
+
o: b,
|
40
40
|
d(o) {
|
41
|
-
o &&
|
41
|
+
o && N(t), n[6](null), i = !1, m();
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function R(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
|
}
|
@@ -81,21 +81,21 @@ function H(n, t, s) {
|
|
81
81
|
w
|
82
82
|
];
|
83
83
|
}
|
84
|
-
class
|
84
|
+
class U extends C {
|
85
85
|
constructor(t) {
|
86
86
|
super(), v(
|
87
87
|
this,
|
88
88
|
t,
|
89
|
+
R,
|
89
90
|
H,
|
90
|
-
|
91
|
-
k,
|
91
|
+
_,
|
92
92
|
{
|
93
93
|
text: 0,
|
94
94
|
button: 1,
|
95
95
|
clientstyling: 4,
|
96
96
|
clientstylingurl: 5
|
97
97
|
},
|
98
|
-
|
98
|
+
q
|
99
99
|
);
|
100
100
|
}
|
101
101
|
get text() {
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
124
124
|
}
|
125
125
|
}
|
126
|
-
|
126
|
+
T(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
127
127
|
export {
|
128
|
-
|
128
|
+
U as default
|
129
129
|
};
|