@everymatrix/cashier-method-details 1.64.8 → 1.65.1
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/{CashierIframeRedirect-UyIC5nCY.js → CashierIframeRedirect-CplYaWdF.js} +1 -1
- package/components/{CashierIframeRedirect-BeJ3BjdP.js → CashierIframeRedirect-YQyiKoBW.js} +1 -1
- package/components/{CashierIframeRedirect-OIn1YaZR.cjs → CashierIframeRedirect-w9WegkSw.cjs} +1 -1
- package/components/{CashierMethodDetails-HB5kpaqd.cjs → CashierMethodDetails-6Vq4Yp6x.cjs} +1 -1
- package/components/{CashierMethodDetails-CbIHNNA7.js → CashierMethodDetails-BVCH1FhZ.js} +2 -2
- package/components/{CashierMethodDetails-rb98ADfQ.js → CashierMethodDetails-CN4u3_nM.js} +2 -2
- package/components/{CashierReceiptPage-DQdoyQtR.cjs → CashierReceiptPage-BZad_kGY.cjs} +1 -1
- package/components/{CashierReceiptPage-Cy6AVN3x.js → CashierReceiptPage-CLiK3irL.js} +1 -1
- package/components/{CashierReceiptPage-CEUHu1XU.js → CashierReceiptPage-D0fllFek.js} +1 -1
- package/components/CashierSpinner-BdCzICuN.cjs +1 -0
- package/components/CashierSpinner-C6y-LmOW.js +71 -0
- package/components/CashierSpinner-Yt2VnUjd.js +71 -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/components/CashierSpinner-Cxbw-HyX.cjs +0 -1
- package/components/CashierSpinner-D30EfqMz.js +0 -71
- package/components/CashierSpinner-Dq2vgm_x.js +0 -71
@@ -1,5 +1,5 @@
|
|
1
1
|
import { S as je, b as he, s as ke, f as E, c as Ee, n as K, e as v, o as p, G as Be, m as d, p as z, q as w, C as G, v as a, w as we, H as Le, A as te, y as M, B as I, z as R, D as B, K as fe, L as Ze, x as Me, E as Re } from "./CashierConfirmModal-3pkCHAVZ.js";
|
2
|
-
import { d as Ae, u as Qe } from "./CashierMethodDetails-
|
2
|
+
import { d as Ae, u as Qe } from "./CashierMethodDetails-BVCH1FhZ.js";
|
3
3
|
import { a as Se, i as xe, $ as De, b as Ge } from "./CashierError-DV-HLY8d.js";
|
4
4
|
function ie(A, e) {
|
5
5
|
Se(A, e);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { S as Be, b as we, s as Le, f as E, c as Ze, n as K, e as v, o as p, G as Me, m as d, p as z, q as w, C as G, v as a, w as Re, H as Qe, A as le, y as M, B as I, z as R, D as B, K as ce, L as Se, x as xe, E as De } from "./CashierConfirmModal-CNzEOcOZ.js";
|
2
|
-
import { d as oe, u as Ge } from "./CashierMethodDetails-
|
2
|
+
import { d as oe, u as Ge } from "./CashierMethodDetails-CN4u3_nM.js";
|
3
3
|
import { a as Ue, i as Ce, $ as Fe, b as Oe } from "./CashierError-Bisyjt8z.js";
|
4
4
|
function re(A, e) {
|
5
5
|
Ue(A, e);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CiWxBakF.cjs");function f(i){t.append_styles(i,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes 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 y(i){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(s,l){t.insert(s,e,l),i[3](e)},p:t.noop,i:t.noop,o:t.noop,d(s){s&&t.detach(e),i[3](null)}}}function m(i,e,s){let{clientstyling:l=""}=e,{clientstylingurl:a=""}=e,r;const h=()=>{let n=document.createElement("style");n.innerHTML=l,r.appendChild(n)},u=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{r.appendChild(c)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{r=n,s(0,r)})}return i.$$set=n=>{"clientstyling"in n&&s(1,l=n.clientstyling),"clientstylingurl"in n&&s(2,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&3&&l&&r&&h(),i.$$.dirty&5&&a&&r&&u()},[r,l,a,p]}class d extends t.SvelteComponent{constructor(e){super(),t.init(this,e,m,y,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(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { S as f, b as m, s as y, f as h, c as g, n as o, e as k, m as v, p as x, v as w, A as C, E as S } from "./CashierConfirmModal-CNzEOcOZ.js";
|
2
|
+
function _(n) {
|
3
|
+
g(n, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes 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 b(n) {
|
6
|
+
let e;
|
7
|
+
return {
|
8
|
+
c() {
|
9
|
+
e = x("div"), e.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>', w(e, "class", "CashierSpinner");
|
10
|
+
},
|
11
|
+
m(s, r) {
|
12
|
+
v(s, e, r), n[3](e);
|
13
|
+
},
|
14
|
+
p: o,
|
15
|
+
i: o,
|
16
|
+
o,
|
17
|
+
d(s) {
|
18
|
+
s && k(e), n[3](null);
|
19
|
+
}
|
20
|
+
};
|
21
|
+
}
|
22
|
+
function L(n, e, s) {
|
23
|
+
let { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, i;
|
24
|
+
const d = () => {
|
25
|
+
let t = document.createElement("style");
|
26
|
+
t.innerHTML = r, i.appendChild(t);
|
27
|
+
}, p = () => {
|
28
|
+
let t = new URL(a), c = document.createElement("style");
|
29
|
+
fetch(t.href).then((l) => l.text()).then((l) => {
|
30
|
+
c.innerHTML = l, setTimeout(
|
31
|
+
() => {
|
32
|
+
i.appendChild(c);
|
33
|
+
},
|
34
|
+
1
|
35
|
+
);
|
36
|
+
});
|
37
|
+
};
|
38
|
+
function u(t) {
|
39
|
+
C[t ? "unshift" : "push"](() => {
|
40
|
+
i = t, s(0, i);
|
41
|
+
});
|
42
|
+
}
|
43
|
+
return n.$$set = (t) => {
|
44
|
+
"clientstyling" in t && s(1, r = t.clientstyling), "clientstylingurl" in t && s(2, a = t.clientstylingurl);
|
45
|
+
}, n.$$.update = () => {
|
46
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
+
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
+
5 && a && i && p();
|
49
|
+
}, [i, r, a, u];
|
50
|
+
}
|
51
|
+
class T extends f {
|
52
|
+
constructor(e) {
|
53
|
+
super(), m(this, e, L, b, y, { clientstyling: 1, clientstylingurl: 2 }, _);
|
54
|
+
}
|
55
|
+
get clientstyling() {
|
56
|
+
return this.$$.ctx[1];
|
57
|
+
}
|
58
|
+
set clientstyling(e) {
|
59
|
+
this.$$set({ clientstyling: e }), h();
|
60
|
+
}
|
61
|
+
get clientstylingurl() {
|
62
|
+
return this.$$.ctx[2];
|
63
|
+
}
|
64
|
+
set clientstylingurl(e) {
|
65
|
+
this.$$set({ clientstylingurl: e }), h();
|
66
|
+
}
|
67
|
+
}
|
68
|
+
S(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
69
|
+
export {
|
70
|
+
T as default
|
71
|
+
};
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { S as f, b as m, s as y, f as h, c as g, n as o, e as k, m as v, p as x, v as w, A as C, E as S } from "./CashierConfirmModal-3pkCHAVZ.js";
|
2
|
+
function _(n) {
|
3
|
+
g(n, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes 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 b(n) {
|
6
|
+
let e;
|
7
|
+
return {
|
8
|
+
c() {
|
9
|
+
e = x("div"), e.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>', w(e, "class", "CashierSpinner");
|
10
|
+
},
|
11
|
+
m(s, r) {
|
12
|
+
v(s, e, r), n[3](e);
|
13
|
+
},
|
14
|
+
p: o,
|
15
|
+
i: o,
|
16
|
+
o,
|
17
|
+
d(s) {
|
18
|
+
s && k(e), n[3](null);
|
19
|
+
}
|
20
|
+
};
|
21
|
+
}
|
22
|
+
function L(n, e, s) {
|
23
|
+
let { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, i;
|
24
|
+
const d = () => {
|
25
|
+
let t = document.createElement("style");
|
26
|
+
t.innerHTML = r, i.appendChild(t);
|
27
|
+
}, p = () => {
|
28
|
+
let t = new URL(a), c = document.createElement("style");
|
29
|
+
fetch(t.href).then((l) => l.text()).then((l) => {
|
30
|
+
c.innerHTML = l, setTimeout(
|
31
|
+
() => {
|
32
|
+
i.appendChild(c);
|
33
|
+
},
|
34
|
+
1
|
35
|
+
);
|
36
|
+
});
|
37
|
+
};
|
38
|
+
function u(t) {
|
39
|
+
C[t ? "unshift" : "push"](() => {
|
40
|
+
i = t, s(0, i);
|
41
|
+
});
|
42
|
+
}
|
43
|
+
return n.$$set = (t) => {
|
44
|
+
"clientstyling" in t && s(1, r = t.clientstyling), "clientstylingurl" in t && s(2, a = t.clientstylingurl);
|
45
|
+
}, n.$$.update = () => {
|
46
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
+
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
+
5 && a && i && p();
|
49
|
+
}, [i, r, a, u];
|
50
|
+
}
|
51
|
+
class T extends f {
|
52
|
+
constructor(e) {
|
53
|
+
super(), m(this, e, L, b, y, { clientstyling: 1, clientstylingurl: 2 }, _);
|
54
|
+
}
|
55
|
+
get clientstyling() {
|
56
|
+
return this.$$.ctx[1];
|
57
|
+
}
|
58
|
+
set clientstyling(e) {
|
59
|
+
this.$$set({ clientstyling: e }), h();
|
60
|
+
}
|
61
|
+
get clientstylingurl() {
|
62
|
+
return this.$$.ctx[2];
|
63
|
+
}
|
64
|
+
set clientstylingurl(e) {
|
65
|
+
this.$$set({ clientstylingurl: e }), h();
|
66
|
+
}
|
67
|
+
}
|
68
|
+
S(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
69
|
+
export {
|
70
|
+
T as default
|
71
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodDetails-
|
1
|
+
"use strict";if(typeof window!="undefined"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodDetails-6Vq4Yp6x.cjs")).then(e=>e.CashierMethodDetails_ce).then(({default:e})=>{!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",e.element)})}
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
10
10
|
}
|
11
11
|
};
|
12
12
|
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierMethodDetails-
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierMethodDetails-CN4u3_nM.js").then((e) => e.C).then(({ default: e }) => {
|
14
14
|
!customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
|
15
15
|
});
|
16
16
|
}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-CiWxBakF.cjs");function y(i){e.append_styles(i,"svelte-fidj5e",".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes 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(i){let t;return{c(){t=e.element("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>',e.attr(t,"class","CashierSpinner")},m(s,l){e.insert(s,t,l),i[3](t)},p:e.noop,i:e.noop,o:e.noop,d(s){s&&e.detach(t),i[3](null)}}}function p(i,t,s){let{clientstyling:l=""}=t,{clientstylingurl:a=""}=t,r;const h=()=>{let n=document.createElement("style");n.innerHTML=l,r.appendChild(n)},u=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{r.appendChild(c)},1)})};function f(n){e.binding_callbacks[n?"unshift":"push"](()=>{r=n,s(0,r)})}return i.$$set=n=>{"clientstyling"in n&&s(1,l=n.clientstyling),"clientstylingurl"in n&&s(2,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&3&&l&&r&&h(),i.$$.dirty&5&&a&&r&&u()},[r,l,a,f]}class d extends e.SvelteComponent{constructor(t){super(),e.init(this,t,p,g,e.safe_not_equal,{clientstyling:1,clientstylingurl:2},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { S as y, b as g, s as m, f as h, c as p, n as c, e as k, m as C, p as x, v as S, A as _, E as v } from "./CashierConfirmModal-3pkCHAVZ.js";
|
2
|
-
function b(n) {
|
3
|
-
p(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes 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(n) {
|
6
|
-
let t;
|
7
|
-
return {
|
8
|
-
c() {
|
9
|
-
t = x("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', S(t, "class", "CashierSpinner");
|
10
|
-
},
|
11
|
-
m(s, r) {
|
12
|
-
C(s, t, r), n[3](t);
|
13
|
-
},
|
14
|
-
p: c,
|
15
|
-
i: c,
|
16
|
-
o: c,
|
17
|
-
d(s) {
|
18
|
-
s && k(t), n[3](null);
|
19
|
-
}
|
20
|
-
};
|
21
|
-
}
|
22
|
-
function E(n, t, s) {
|
23
|
-
let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
|
24
|
-
const d = () => {
|
25
|
-
let e = document.createElement("style");
|
26
|
-
e.innerHTML = r, i.appendChild(e);
|
27
|
-
}, f = () => {
|
28
|
-
let e = new URL(l), o = document.createElement("style");
|
29
|
-
fetch(e.href).then((a) => a.text()).then((a) => {
|
30
|
-
o.innerHTML = a, setTimeout(
|
31
|
-
() => {
|
32
|
-
i.appendChild(o);
|
33
|
-
},
|
34
|
-
1
|
35
|
-
);
|
36
|
-
});
|
37
|
-
};
|
38
|
-
function u(e) {
|
39
|
-
_[e ? "unshift" : "push"](() => {
|
40
|
-
i = e, s(0, i);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
return n.$$set = (e) => {
|
44
|
-
"clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
|
45
|
-
}, n.$$.update = () => {
|
46
|
-
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
-
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
-
5 && l && i && f();
|
49
|
-
}, [i, r, l, u];
|
50
|
-
}
|
51
|
-
class L extends y {
|
52
|
-
constructor(t) {
|
53
|
-
super(), g(this, t, E, w, m, { clientstyling: 1, clientstylingurl: 2 }, b);
|
54
|
-
}
|
55
|
-
get clientstyling() {
|
56
|
-
return this.$$.ctx[1];
|
57
|
-
}
|
58
|
-
set clientstyling(t) {
|
59
|
-
this.$$set({ clientstyling: t }), h();
|
60
|
-
}
|
61
|
-
get clientstylingurl() {
|
62
|
-
return this.$$.ctx[2];
|
63
|
-
}
|
64
|
-
set clientstylingurl(t) {
|
65
|
-
this.$$set({ clientstylingurl: t }), h();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
v(L, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
69
|
-
export {
|
70
|
-
L as default
|
71
|
-
};
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { S as y, b as g, s as m, f as h, c as p, n as c, e as k, m as C, p as x, v as S, A as _, E as v } from "./CashierConfirmModal-CNzEOcOZ.js";
|
2
|
-
function b(n) {
|
3
|
-
p(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes 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(n) {
|
6
|
-
let t;
|
7
|
-
return {
|
8
|
-
c() {
|
9
|
-
t = x("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', S(t, "class", "CashierSpinner");
|
10
|
-
},
|
11
|
-
m(s, r) {
|
12
|
-
C(s, t, r), n[3](t);
|
13
|
-
},
|
14
|
-
p: c,
|
15
|
-
i: c,
|
16
|
-
o: c,
|
17
|
-
d(s) {
|
18
|
-
s && k(t), n[3](null);
|
19
|
-
}
|
20
|
-
};
|
21
|
-
}
|
22
|
-
function E(n, t, s) {
|
23
|
-
let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
|
24
|
-
const d = () => {
|
25
|
-
let e = document.createElement("style");
|
26
|
-
e.innerHTML = r, i.appendChild(e);
|
27
|
-
}, f = () => {
|
28
|
-
let e = new URL(l), o = document.createElement("style");
|
29
|
-
fetch(e.href).then((a) => a.text()).then((a) => {
|
30
|
-
o.innerHTML = a, setTimeout(
|
31
|
-
() => {
|
32
|
-
i.appendChild(o);
|
33
|
-
},
|
34
|
-
1
|
35
|
-
);
|
36
|
-
});
|
37
|
-
};
|
38
|
-
function u(e) {
|
39
|
-
_[e ? "unshift" : "push"](() => {
|
40
|
-
i = e, s(0, i);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
return n.$$set = (e) => {
|
44
|
-
"clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
|
45
|
-
}, n.$$.update = () => {
|
46
|
-
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
47
|
-
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
48
|
-
5 && l && i && f();
|
49
|
-
}, [i, r, l, u];
|
50
|
-
}
|
51
|
-
class L extends y {
|
52
|
-
constructor(t) {
|
53
|
-
super(), g(this, t, E, w, m, { clientstyling: 1, clientstylingurl: 2 }, b);
|
54
|
-
}
|
55
|
-
get clientstyling() {
|
56
|
-
return this.$$.ctx[1];
|
57
|
-
}
|
58
|
-
set clientstyling(t) {
|
59
|
-
this.$$set({ clientstyling: t }), h();
|
60
|
-
}
|
61
|
-
get clientstylingurl() {
|
62
|
-
return this.$$.ctx[2];
|
63
|
-
}
|
64
|
-
set clientstylingurl(t) {
|
65
|
-
this.$$set({ clientstylingurl: t }), h();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
v(L, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
69
|
-
export {
|
70
|
-
L as default
|
71
|
-
};
|