@everymatrix/cashier-method-details 1.74.10 → 1.75.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/{CashierConfirmModal-BpvE1Wx6.cjs → CashierConfirmModal-CptRwG7E.cjs} +1 -1
- package/components/{CashierConfirmModal-DMfIxlzo.js → CashierConfirmModal-DHQhXBLq.js} +52 -52
- package/components/{CashierConfirmModal-BWIW81mB.js → CashierConfirmModal-mBbcNR6k.js} +91 -91
- package/components/{CashierError-DoZe5cfh.js → CashierError-CxC9JUxE.js} +842 -844
- package/components/CashierError-DnIbQhz-.cjs +18 -0
- package/components/{CashierError-B0qGY6Wi.js → CashierError-F-JdF-yR.js} +843 -845
- package/components/{CashierMethodDetails-BfH-RbrN.cjs → CashierMethodDetails-BYUtOrl-.cjs} +5 -5
- package/components/{CashierMethodDetails-CjC76kcH.js → CashierMethodDetails-CFo6ZuQl.js} +514 -498
- package/components/{CashierMethodDetails-dvMrG2uJ.js → CashierMethodDetails-DLTg6RpP.js} +523 -507
- package/components/{CashierNotifications-BcL2GzJF.js → CashierNotifications-BdfHI3lV.js} +7 -7
- package/components/{CashierNotifications-CXmrjPcN.cjs → CashierNotifications-Dt9Itbd7.cjs} +1 -1
- package/components/{CashierNotifications-DFrPFNQu.js → CashierNotifications-mhxDKO1J.js} +7 -7
- package/components/{CashierReceiptPage-ccQMDo3k.js → CashierReceiptPage-CfgCGXm-.js} +7 -7
- package/components/{CashierReceiptPage-D2PHvmZG.js → CashierReceiptPage-CrP-r8ja.js} +7 -7
- package/components/{CashierReceiptPage-Bwu64AsC.cjs → CashierReceiptPage-L8-ZgSVM.cjs} +1 -1
- package/components/{CashierSpinner-CfotkcDR.js → CashierSpinner-BjBxLMiY.js} +8 -8
- package/components/{CashierSpinner-C74evWKy.cjs → CashierSpinner-DBOsp-ou.cjs} +1 -1
- package/components/{CashierSpinner-tQuxlMdI.js → CashierSpinner-Rar1657O.js} +8 -8
- 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-CUhtZvcE.cjs +0 -18
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -37,14 +37,14 @@ function xt(t, e) {
|
|
37
37
|
t
|
38
38
|
);
|
39
39
|
}
|
40
|
-
function
|
40
|
+
function at(t) {
|
41
41
|
return t();
|
42
42
|
}
|
43
43
|
function st() {
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
45
45
|
}
|
46
|
-
function
|
47
|
-
t.forEach(
|
46
|
+
function j(t) {
|
47
|
+
t.forEach(at);
|
48
48
|
}
|
49
49
|
function dt(t) {
|
50
50
|
return typeof t == "function";
|
@@ -120,7 +120,7 @@ function y(t, e) {
|
|
120
120
|
function Et(t, e, n) {
|
121
121
|
const s = vt(t);
|
122
122
|
if (!s.getElementById(e)) {
|
123
|
-
const i =
|
123
|
+
const i = x("style");
|
124
124
|
i.id = e, i.textContent = n, jt(s, i);
|
125
125
|
}
|
126
126
|
}
|
@@ -151,7 +151,7 @@ function oe(t, e) {
|
|
151
151
|
for (let n = 0; n < t.length; n += 1)
|
152
152
|
t[n] && t[n].d(e);
|
153
153
|
}
|
154
|
-
function
|
154
|
+
function x(t) {
|
155
155
|
return document.createElement(t);
|
156
156
|
}
|
157
157
|
function it(t) {
|
@@ -187,11 +187,11 @@ function ue(t) {
|
|
187
187
|
function kt(t) {
|
188
188
|
return Array.from(t.childNodes);
|
189
189
|
}
|
190
|
-
function
|
190
|
+
function fe(t, e) {
|
191
191
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
192
192
|
e);
|
193
193
|
}
|
194
|
-
function
|
194
|
+
function ae(t, e) {
|
195
195
|
t.value = e == null ? "" : e;
|
196
196
|
}
|
197
197
|
function de(t, e, n, s) {
|
@@ -221,66 +221,66 @@ function St() {
|
|
221
221
|
function Bt(t) {
|
222
222
|
St().$$.on_mount.push(t);
|
223
223
|
}
|
224
|
-
const
|
225
|
-
let
|
224
|
+
const E = [], K = [];
|
225
|
+
let v = [];
|
226
226
|
const rt = [], Nt = /* @__PURE__ */ Promise.resolve();
|
227
227
|
let Q = !1;
|
228
228
|
function At() {
|
229
229
|
Q || (Q = !0, Nt.then(S));
|
230
230
|
}
|
231
231
|
function Z(t) {
|
232
|
-
|
232
|
+
v.push(t);
|
233
233
|
}
|
234
234
|
const G = /* @__PURE__ */ new Set();
|
235
|
-
let
|
235
|
+
let M = 0;
|
236
236
|
function S() {
|
237
|
-
if (
|
237
|
+
if (M !== 0)
|
238
238
|
return;
|
239
239
|
const t = N;
|
240
240
|
do {
|
241
241
|
try {
|
242
|
-
for (;
|
243
|
-
const e = M
|
244
|
-
|
242
|
+
for (; M < E.length; ) {
|
243
|
+
const e = E[M];
|
244
|
+
M++, O(e), Tt(e.$$);
|
245
245
|
}
|
246
246
|
} catch (e) {
|
247
|
-
throw
|
247
|
+
throw E.length = 0, M = 0, e;
|
248
248
|
}
|
249
|
-
for (O(null),
|
249
|
+
for (O(null), E.length = 0, M = 0; K.length; )
|
250
250
|
K.pop()();
|
251
|
-
for (let e = 0; e <
|
252
|
-
const n =
|
251
|
+
for (let e = 0; e < v.length; e += 1) {
|
252
|
+
const n = v[e];
|
253
253
|
G.has(n) || (G.add(n), n());
|
254
254
|
}
|
255
|
-
|
256
|
-
} while (
|
255
|
+
v.length = 0;
|
256
|
+
} while (E.length);
|
257
257
|
for (; rt.length; )
|
258
258
|
rt.pop()();
|
259
259
|
Q = !1, G.clear(), O(t);
|
260
260
|
}
|
261
261
|
function Tt(t) {
|
262
262
|
if (t.fragment !== null) {
|
263
|
-
t.update(),
|
263
|
+
t.update(), j(t.before_update);
|
264
264
|
const e = t.dirty;
|
265
265
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Z);
|
266
266
|
}
|
267
267
|
}
|
268
268
|
function Pt(t) {
|
269
269
|
const e = [], n = [];
|
270
|
-
|
270
|
+
v.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), v = e;
|
271
271
|
}
|
272
272
|
const D = /* @__PURE__ */ new Set();
|
273
|
-
let
|
273
|
+
let C;
|
274
274
|
function $e() {
|
275
|
-
|
275
|
+
C = {
|
276
276
|
r: 0,
|
277
277
|
c: [],
|
278
|
-
p:
|
278
|
+
p: C
|
279
279
|
// parent group
|
280
280
|
};
|
281
281
|
}
|
282
282
|
function me() {
|
283
|
-
|
283
|
+
C.r || j(C.c), C = C.p;
|
284
284
|
}
|
285
285
|
function k(t, e) {
|
286
286
|
t && t.i && (D.delete(t), t.i(e));
|
@@ -289,7 +289,7 @@ function U(t, e, n, s) {
|
|
289
289
|
if (t && t.o) {
|
290
290
|
if (D.has(t))
|
291
291
|
return;
|
292
|
-
D.add(t),
|
292
|
+
D.add(t), C.c.push(() => {
|
293
293
|
D.delete(t), s && (n && t.d(1), s());
|
294
294
|
}), t.o(e);
|
295
295
|
} else
|
@@ -301,16 +301,16 @@ function ge(t) {
|
|
301
301
|
function zt(t, e, n) {
|
302
302
|
const { fragment: s, after_update: i } = t.$$;
|
303
303
|
s && s.m(e, n), Z(() => {
|
304
|
-
const o = t.$$.on_mount.map(
|
305
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...o) :
|
304
|
+
const o = t.$$.on_mount.map(at).filter(dt);
|
305
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...o) : j(o), t.$$.on_mount = [];
|
306
306
|
}), i.forEach(Z);
|
307
307
|
}
|
308
308
|
function Rt(t, e) {
|
309
309
|
const n = t.$$;
|
310
|
-
n.fragment !== null && (Pt(n.after_update),
|
310
|
+
n.fragment !== null && (Pt(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
311
311
|
}
|
312
312
|
function Ht(t, e) {
|
313
|
-
t.$$.dirty[0] === -1 && (
|
313
|
+
t.$$.dirty[0] === -1 && (E.push(t), At(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
314
314
|
}
|
315
315
|
function Ut(t, e, n, s, i, o, c = null, u = [-1]) {
|
316
316
|
const l = N;
|
@@ -338,10 +338,10 @@ function Ut(t, e, n, s, i, o, c = null, u = [-1]) {
|
|
338
338
|
};
|
339
339
|
c && c(r.root);
|
340
340
|
let p = !1;
|
341
|
-
if (r.ctx = n ? n(t, e.props || {}, ($,
|
342
|
-
const
|
343
|
-
return r.ctx && i(r.ctx[$], r.ctx[$] =
|
344
|
-
}) : [], r.update(), p = !0,
|
341
|
+
if (r.ctx = n ? n(t, e.props || {}, ($, a, ...h) => {
|
342
|
+
const L = h.length ? h[0] : a;
|
343
|
+
return r.ctx && i(r.ctx[$], r.ctx[$] = L) && (!r.skip_bound && r.bound[$] && r.bound[$](L), p && Ht(t, $)), a;
|
344
|
+
}) : [], r.update(), p = !0, j(r.before_update), r.fragment = s ? s(r.ctx) : !1, e.target) {
|
345
345
|
if (e.hydrate) {
|
346
346
|
const $ = kt(e.target);
|
347
347
|
r.fragment && r.fragment.l($), $.forEach(q);
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
|
|
396
396
|
let c;
|
397
397
|
return {
|
398
398
|
c: function() {
|
399
|
-
c =
|
399
|
+
c = x("slot"), o !== "default" && d(c, "name", o);
|
400
400
|
},
|
401
401
|
/**
|
402
402
|
* @param {HTMLElement} target
|
@@ -607,7 +607,7 @@ function Vt(t, e, n) {
|
|
607
607
|
function Wt(t) {
|
608
608
|
Et(t, "svelte-kug7b4", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}");
|
609
609
|
}
|
610
|
-
const Gt = (t) => ({}), ct = (t) => ({}), Kt = (t) => ({}), lt = (t) => ({}), Qt = (t) => ({}), ut = (t) => ({ class: "CashierModalText" }), Zt = (t) => ({}),
|
610
|
+
const Gt = (t) => ({}), ct = (t) => ({}), Kt = (t) => ({}), lt = (t) => ({}), Qt = (t) => ({}), ut = (t) => ({ class: "CashierModalText" }), Zt = (t) => ({}), ft = (t) => ({ class: "CashierModalTitle" });
|
611
611
|
function Xt(t) {
|
612
612
|
let e, n;
|
613
613
|
return {
|
@@ -625,20 +625,20 @@ function Xt(t) {
|
|
625
625
|
}
|
626
626
|
function Yt(t) {
|
627
627
|
let e, n, s, i, o, c, u, l, r, p, $;
|
628
|
-
const
|
628
|
+
const a = (
|
629
629
|
/*#slots*/
|
630
630
|
t[7].title
|
631
631
|
), h = P(
|
632
|
-
|
632
|
+
a,
|
633
633
|
t,
|
634
634
|
/*$$scope*/
|
635
635
|
t[6],
|
636
|
-
|
637
|
-
),
|
636
|
+
ft
|
637
|
+
), L = (
|
638
638
|
/*#slots*/
|
639
639
|
t[7].text
|
640
640
|
), g = P(
|
641
|
-
|
641
|
+
L,
|
642
642
|
t,
|
643
643
|
/*$$scope*/
|
644
644
|
t[6],
|
@@ -661,13 +661,13 @@ function Yt(t) {
|
|
661
661
|
/*$$scope*/
|
662
662
|
t[6],
|
663
663
|
ct
|
664
|
-
),
|
664
|
+
), w = A || Xt();
|
665
665
|
return {
|
666
666
|
c() {
|
667
|
-
e =
|
667
|
+
e = x("div"), n = x("div"), s = x("div"), h && h.c(), i = W(), g && g.c(), o = W(), c = x("span"), _ && _.c(), u = W(), l = x("span"), w && w.c(), d(c, "class", "ModalOkBtn"), d(c, "role", "button"), d(l, "class", "ModalCloseBtn"), d(l, "role", "button"), d(s, "class", "CashierModalContainer"), d(n, "class", "CashierModalWindow"), d(n, "id", "Modal");
|
668
668
|
},
|
669
|
-
m(
|
670
|
-
X(
|
669
|
+
m(f, b) {
|
670
|
+
X(f, e, b), y(e, n), y(n, s), h && h.m(s, null), y(s, i), g && g.m(s, null), y(s, o), y(s, c), _ && _.m(c, null), y(s, u), y(s, l), w && w.m(l, null), t[8](e), r = !0, p || ($ = [
|
671
671
|
ot(
|
672
672
|
c,
|
673
673
|
"click",
|
@@ -682,89 +682,89 @@ function Yt(t) {
|
|
682
682
|
)
|
683
683
|
], p = !0);
|
684
684
|
},
|
685
|
-
p(
|
685
|
+
p(f, [b]) {
|
686
686
|
h && h.p && (!r || b & /*$$scope*/
|
687
687
|
64) && R(
|
688
688
|
h,
|
689
|
-
f,
|
690
689
|
a,
|
690
|
+
f,
|
691
691
|
/*$$scope*/
|
692
|
-
|
692
|
+
f[6],
|
693
693
|
r ? z(
|
694
|
-
|
694
|
+
a,
|
695
695
|
/*$$scope*/
|
696
|
-
|
696
|
+
f[6],
|
697
697
|
b,
|
698
698
|
Zt
|
699
699
|
) : H(
|
700
700
|
/*$$scope*/
|
701
|
-
|
701
|
+
f[6]
|
702
702
|
),
|
703
|
-
|
703
|
+
ft
|
704
704
|
), g && g.p && (!r || b & /*$$scope*/
|
705
705
|
64) && R(
|
706
706
|
g,
|
707
|
-
|
708
|
-
|
707
|
+
L,
|
708
|
+
f,
|
709
709
|
/*$$scope*/
|
710
|
-
|
710
|
+
f[6],
|
711
711
|
r ? z(
|
712
|
-
|
712
|
+
L,
|
713
713
|
/*$$scope*/
|
714
|
-
|
714
|
+
f[6],
|
715
715
|
b,
|
716
716
|
Qt
|
717
717
|
) : H(
|
718
718
|
/*$$scope*/
|
719
|
-
|
719
|
+
f[6]
|
720
720
|
),
|
721
721
|
ut
|
722
722
|
), _ && _.p && (!r || b & /*$$scope*/
|
723
723
|
64) && R(
|
724
724
|
_,
|
725
725
|
F,
|
726
|
-
|
726
|
+
f,
|
727
727
|
/*$$scope*/
|
728
|
-
|
728
|
+
f[6],
|
729
729
|
r ? z(
|
730
730
|
F,
|
731
731
|
/*$$scope*/
|
732
|
-
|
732
|
+
f[6],
|
733
733
|
b,
|
734
734
|
Kt
|
735
735
|
) : H(
|
736
736
|
/*$$scope*/
|
737
|
-
|
737
|
+
f[6]
|
738
738
|
),
|
739
739
|
lt
|
740
740
|
), A && A.p && (!r || b & /*$$scope*/
|
741
741
|
64) && R(
|
742
742
|
A,
|
743
743
|
J,
|
744
|
-
|
744
|
+
f,
|
745
745
|
/*$$scope*/
|
746
|
-
|
746
|
+
f[6],
|
747
747
|
r ? z(
|
748
748
|
J,
|
749
749
|
/*$$scope*/
|
750
|
-
|
750
|
+
f[6],
|
751
751
|
b,
|
752
752
|
Gt
|
753
753
|
) : H(
|
754
754
|
/*$$scope*/
|
755
|
-
|
755
|
+
f[6]
|
756
756
|
),
|
757
757
|
ct
|
758
758
|
);
|
759
759
|
},
|
760
|
-
i(
|
761
|
-
r || (k(h,
|
760
|
+
i(f) {
|
761
|
+
r || (k(h, f), k(g, f), k(_, f), k(w, f), r = !0);
|
762
762
|
},
|
763
|
-
o(
|
764
|
-
U(h,
|
763
|
+
o(f) {
|
764
|
+
U(h, f), U(g, f), U(_, f), U(w, f), r = !1;
|
765
765
|
},
|
766
|
-
d(
|
767
|
-
|
766
|
+
d(f) {
|
767
|
+
f && q(e), h && h.d(f), g && g.d(f), _ && _.d(f), w && w.d(f), t[8](null), p = !1, j($);
|
768
768
|
}
|
769
769
|
};
|
770
770
|
}
|
@@ -777,13 +777,13 @@ function te(t, e, n) {
|
|
777
777
|
};
|
778
778
|
Bt(() => () => {
|
779
779
|
});
|
780
|
-
function $(
|
781
|
-
K[
|
782
|
-
l =
|
780
|
+
function $(a) {
|
781
|
+
K[a ? "unshift" : "push"](() => {
|
782
|
+
l = a, n(0, l);
|
783
783
|
});
|
784
784
|
}
|
785
|
-
return t.$$set = (
|
786
|
-
"clientstyling" in
|
785
|
+
return t.$$set = (a) => {
|
786
|
+
"clientstyling" in a && n(3, o = a.clientstyling), "clientstylingurl" in a && n(4, c = a.clientstylingurl), "mbsource" in a && n(5, u = a.mbsource), "$$scope" in a && n(6, i = a.$$scope);
|
787
787
|
}, t.$$.update = () => {
|
788
788
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
789
789
|
9 && o && l && Ft(l, o), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
@@ -842,13 +842,13 @@ const _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
842
842
|
default: gt
|
843
843
|
}, Symbol.toStringTag, { value: "Module" }));
|
844
844
|
export {
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
845
|
+
re as A,
|
846
|
+
$t as B,
|
847
|
+
fe as C,
|
848
|
+
ot as D,
|
849
|
+
$e as E,
|
850
|
+
K as F,
|
851
|
+
Ft as G,
|
852
852
|
ne as H,
|
853
853
|
le as I,
|
854
854
|
Z as J,
|
@@ -858,7 +858,7 @@ export {
|
|
858
858
|
ge as N,
|
859
859
|
ce as O,
|
860
860
|
oe as P,
|
861
|
-
|
861
|
+
ae as Q,
|
862
862
|
it as R,
|
863
863
|
It as S,
|
864
864
|
de as T,
|
@@ -869,7 +869,7 @@ export {
|
|
869
869
|
Et as d,
|
870
870
|
P as e,
|
871
871
|
S as f,
|
872
|
-
|
872
|
+
x as g,
|
873
873
|
W as h,
|
874
874
|
dt as i,
|
875
875
|
d as j,
|
@@ -880,13 +880,13 @@ export {
|
|
880
880
|
z as o,
|
881
881
|
U as p,
|
882
882
|
me as q,
|
883
|
-
|
883
|
+
j as r,
|
884
884
|
Mt as s,
|
885
885
|
k as t,
|
886
886
|
R as u,
|
887
887
|
q as v,
|
888
888
|
se as w,
|
889
889
|
Bt as x,
|
890
|
-
|
891
|
-
|
890
|
+
Jt as y,
|
891
|
+
Vt as z
|
892
892
|
};
|