@everymatrix/cashier-method-details 1.45.0 → 1.45.2
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CashierConfirmModal-BsoB5fQM.cjs +4 -0
- package/components/{CashierConfirmModal-B-t1-wAt.js → CashierConfirmModal-Dw8BnUfp.js} +168 -168
- package/components/{CashierError-DaumM6Zr.js → CashierError-B_iMgTfr.js} +28 -27
- package/components/CashierError-ClzxZoH7.cjs +5 -0
- package/components/CashierHeader-BU_vM2lH.cjs +1 -0
- package/components/CashierHeader-VE5z702l.js +360 -0
- package/components/{CashierIframeRedirect-Bilctj-5.js → CashierIframeRedirect-CUdjcENK.js} +72 -73
- package/components/CashierIframeRedirect-DSYHz0IC.cjs +1 -0
- package/components/{CashierMethodDetails-CJU3RjOA.js → CashierMethodDetails-5wGvaaR0.js} +674 -675
- package/components/CashierMethodDetails-DPowLei9.cjs +18 -0
- package/components/CashierModal-BFlGJozz.js +221 -0
- package/components/CashierModal-DljNagOg.cjs +1 -0
- package/components/CashierNotifications-BhCyEcyg.js +136 -0
- package/components/CashierNotifications-FlAVIynI.cjs +1 -0
- package/components/{CashierReceiptPage-DT7FhfRz.js → CashierReceiptPage-CY8dJVSv.js} +242 -243
- package/components/CashierReceiptPage-gWSm3RqW.cjs +1 -0
- package/components/CashierSpinner-DREUPtXI.js +71 -0
- package/components/CashierSpinner-DUwdQyI3.cjs +1 -0
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/package.json +2 -2
- package/components/CashierConfirmModal-O8Y6vOPF.cjs +0 -4
- package/components/CashierError-CnDiY61e.cjs +0 -5
- package/components/CashierHeader-4ARwc1sM.cjs +0 -1
- package/components/CashierHeader-CYcLko5g.js +0 -361
- package/components/CashierIframeRedirect-BOPLcueW.cjs +0 -1
- package/components/CashierMethodDetails-7O4DrJHq.cjs +0 -18
- package/components/CashierModal-CdNYc0Aj.js +0 -220
- package/components/CashierModal-DjXj2L6b.cjs +0 -1
- package/components/CashierNotifications-BVX2JvTh.cjs +0 -1
- package/components/CashierNotifications-DOgyzpyH.js +0 -136
- package/components/CashierReceiptPage-D9_BjYHP.cjs +0 -1
- package/components/CashierSpinner-BUe-mWNE.js +0 -71
- package/components/CashierSpinner-C7awkOxo.cjs +0 -1
@@ -1,71 +0,0 @@
|
|
1
|
-
import { S as f, b as g, f as y, c as m, a as p, d as v, g as k, j as C, k as x, n as c, v as S, C as _ } from "./CashierConfirmModal-B-t1-wAt.js";
|
2
|
-
function b(s) {
|
3
|
-
v(s, "svelte-1310yae", ".CashierSpinner.svelte-1310yae.svelte-1310yae{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner.svelte-1310yae .spinner.svelte-1310yae{animation:svelte-1310yae-rotate 2s linear infinite;transform-origin:center center}.CashierSpinner.svelte-1310yae .spinner .path.svelte-1310yae{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:svelte-1310yae-dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes svelte-1310yae-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-1310yae-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
4
|
-
}
|
5
|
-
function w(s) {
|
6
|
-
let e;
|
7
|
-
return {
|
8
|
-
c() {
|
9
|
-
e = k("div"), e.innerHTML = '<svg class="spinner svelte-1310yae" viewBox="25 25 50 50"><circle class="path svelte-1310yae" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', C(e, "class", "CashierSpinner svelte-1310yae");
|
10
|
-
},
|
11
|
-
m(n, a) {
|
12
|
-
x(n, e, a), s[3](e);
|
13
|
-
},
|
14
|
-
p: c,
|
15
|
-
i: c,
|
16
|
-
o: c,
|
17
|
-
d(n) {
|
18
|
-
n && S(e), s[3](null);
|
19
|
-
}
|
20
|
-
};
|
21
|
-
}
|
22
|
-
function L(s, e, n) {
|
23
|
-
let { clientstyling: a = "" } = e, { clientstylingurl: l = "" } = e, i;
|
24
|
-
const h = () => {
|
25
|
-
let t = document.createElement("style");
|
26
|
-
t.innerHTML = a, i.appendChild(t);
|
27
|
-
}, d = () => {
|
28
|
-
let t = new URL(l), o = document.createElement("style");
|
29
|
-
fetch(t.href).then((r) => r.text()).then((r) => {
|
30
|
-
o.innerHTML = r, setTimeout(
|
31
|
-
() => {
|
32
|
-
i.appendChild(o);
|
33
|
-
},
|
34
|
-
1
|
35
|
-
);
|
36
|
-
});
|
37
|
-
};
|
38
|
-
function u(t) {
|
39
|
-
_[t ? "unshift" : "push"](() => {
|
40
|
-
i = t, n(0, i);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
return s.$$set = (t) => {
|
44
|
-
"clientstyling" in t && n(1, a = t.clientstyling), "clientstylingurl" in t && n(2, l = t.clientstylingurl);
|
45
|
-
}, s.$$.update = () => {
|
46
|
-
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
-
3 && a && i && h(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
-
5 && l && i && d();
|
49
|
-
}, [i, a, l, u];
|
50
|
-
}
|
51
|
-
class E extends f {
|
52
|
-
constructor(e) {
|
53
|
-
super(), g(this, e, L, w, p, { clientstyling: 1, clientstylingurl: 2 }, b);
|
54
|
-
}
|
55
|
-
get clientstyling() {
|
56
|
-
return this.$$.ctx[1];
|
57
|
-
}
|
58
|
-
set clientstyling(e) {
|
59
|
-
this.$$set({ clientstyling: e }), y();
|
60
|
-
}
|
61
|
-
get clientstylingurl() {
|
62
|
-
return this.$$.ctx[2];
|
63
|
-
}
|
64
|
-
set clientstylingurl(e) {
|
65
|
-
this.$$set({ clientstylingurl: e }), y();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
m(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
69
|
-
export {
|
70
|
-
E as default
|
71
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-O8Y6vOPF.cjs");function f(s){t.append_styles(s,"svelte-1310yae",".CashierSpinner.svelte-1310yae.svelte-1310yae{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner.svelte-1310yae .spinner.svelte-1310yae{animation:svelte-1310yae-rotate 2s linear infinite;transform-origin:center center}.CashierSpinner.svelte-1310yae .spinner .path.svelte-1310yae{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:svelte-1310yae-dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes svelte-1310yae-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-1310yae-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function g(s){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner svelte-1310yae" viewBox="25 25 50 50"><circle class="path svelte-1310yae" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner svelte-1310yae")},m(i,r){t.insert(i,e,r),s[3](e)},p:t.noop,i:t.noop,o:t.noop,d(i){i&&t.detach(e),s[3](null)}}}function p(s,e,i){let{clientstyling:r=""}=e,{clientstylingurl:a=""}=e,l;const h=()=>{let n=document.createElement("style");n.innerHTML=r,l.appendChild(n)},d=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{l.appendChild(c)},1)})};function u(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,i(0,l)})}return s.$$set=n=>{"clientstyling"in n&&i(1,r=n.clientstyling),"clientstylingurl"in n&&i(2,a=n.clientstylingurl)},s.$$.update=()=>{s.$$.dirty&3&&r&&l&&h(),s.$$.dirty&5&&a&&l&&d()},[l,r,a,u]}class y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,p,g,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},f)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(y,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=y;
|