@everymatrix/cashier-page 1.54.0 → 1.54.4
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-bl1anpXG.js +1015 -0
- package/components/{CashierError-DNpUb5Mm.js → CashierError-CNghn61_.js} +16 -16
- package/components/{CashierHeader-jyno14ok.js → CashierHeader-Cukt_6q5.js} +2 -2
- package/components/{CashierIframeRedirect-Cz4tv7-x.js → CashierIframeRedirect-CfOyb27d.js} +6 -6
- package/components/{CashierMethodDetails-DhPcp2tp.js → CashierMethodDetails-BIl7Is4q.js} +1521 -1535
- package/components/{CashierMethodsList-tNPWey2d.js → CashierMethodsList-sDyTLsi_.js} +164 -175
- package/components/{CashierModal-BZinftgA.js → CashierModal-BvsZYr3E.js} +1 -1
- package/components/{CashierNotifications-VNlsq9BM.js → CashierNotifications-DLiOLPVS.js} +1 -1
- package/components/{CashierPage-Ci16qWoB.js → CashierPage-ChYGXNFh.js} +16 -16
- package/components/{CashierReceiptPage-BrSqthh1.js → CashierReceiptPage-BnZNWRHD.js} +108 -109
- package/components/{CashierSessionExpirationModal-BaJ2BLlM.js → CashierSessionExpirationModal-m8mfQG7I.js} +64 -64
- package/components/{CashierSpinner-DLOGBpHm.js → CashierSpinner-BGK4UpXs.js} +1 -1
- package/components/{CashierVerifications-CAlJv-1M.js → CashierVerifications-ghULlvRf.js} +145 -149
- package/components/{CashierVideoModal-CdG4dnYx.js → CashierVideoModal-CIyp7q0i.js} +1 -1
- package/esnext/cashier-page.js +14 -0
- package/package.json +10 -17
- package/components/CashierConfirmModal-BWwXFa2X.js +0 -1052
- package/components/CashierConfirmModal-DvPjAtJP.cjs +0 -4
- package/components/CashierError-Dmdtq5Bw.cjs +0 -5
- package/components/CashierHeader-CQUqVL_i.cjs +0 -1
- package/components/CashierIframeRedirect-D-OfVohj.cjs +0 -1
- package/components/CashierMethodDetails-CBOh1gd0.cjs +0 -18
- package/components/CashierMethodsList-BXQ8slk2.cjs +0 -1
- package/components/CashierModal-FVpPS0Cg.cjs +0 -1
- package/components/CashierNotifications-Dt9rQ2vt.cjs +0 -1
- package/components/CashierPage-_uE0Wp1v.cjs +0 -1
- package/components/CashierReceiptPage-khlZnWa5.cjs +0 -1
- package/components/CashierSessionExpirationModal-Ynzjj3_r.cjs +0 -2
- package/components/CashierSpinner-6i7TRj04.cjs +0 -1
- package/components/CashierVerifications-KeQfHgf0.cjs +0 -1
- package/components/CashierVideoModal-Cgjg5Mzz.cjs +0 -1
- package/es2015/cashier-page.cjs +0 -1
- package/es2015/cashier-page.js +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as G, s as Me, r as ze, a as fe, i as ye, S as je, b as de, f as d, c as Qe, d as Fe, e as AA, g as y, h as CA, j as b, k as F, l as M, u as eA, m as fA, o as nA, t as Q, p as R, q as Je, v as J, w as Oe, x as me, y as MA, z as zA, A as Re, B as Ge, C as Ne, D as DA } from "./CashierConfirmModal-
|
|
1
|
+
import { n as G, s as Me, r as ze, a as fe, i as ye, S as je, b as de, f as d, c as Qe, d as Fe, e as AA, g as y, h as CA, j as b, k as F, l as M, u as eA, m as fA, o as nA, t as Q, p as R, q as Je, v as J, w as Oe, x as me, y as MA, z as zA, A as Re, B as Ge, C as Ne, D as DA } from "./CashierConfirmModal-bl1anpXG.js";
|
|
2
2
|
const m = [];
|
|
3
3
|
function pe(A, e) {
|
|
4
4
|
return {
|
|
@@ -62,7 +62,7 @@ function k(A, e, f) {
|
|
|
62
62
|
};
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
var qn = typeof globalThis
|
|
65
|
+
var qn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
66
66
|
function Ye(A) {
|
|
67
67
|
return A && A.__esModule && Object.prototype.hasOwnProperty.call(A, "default") ? A.default : A;
|
|
68
68
|
}
|
|
@@ -108,7 +108,7 @@ function FA(A) {
|
|
|
108
108
|
function ne(A, e) {
|
|
109
109
|
try {
|
|
110
110
|
return e in A;
|
|
111
|
-
} catch
|
|
111
|
+
} catch {
|
|
112
112
|
return !1;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -187,11 +187,11 @@ function wf(A) {
|
|
|
187
187
|
}
|
|
188
188
|
function te(A, e, f, n) {
|
|
189
189
|
var t = wf(n) ? n : f(n), r = e.get(t);
|
|
190
|
-
return typeof r
|
|
190
|
+
return typeof r > "u" && (r = A.call(this, n), e.set(t, r)), r;
|
|
191
191
|
}
|
|
192
192
|
function re(A, e, f) {
|
|
193
193
|
var n = Array.prototype.slice.call(arguments, 3), t = f(n), r = e.get(t);
|
|
194
|
-
return typeof r
|
|
194
|
+
return typeof r > "u" && (r = A.apply(this, n), e.set(t, r)), r;
|
|
195
195
|
}
|
|
196
196
|
function yA(A, e, f, n, t) {
|
|
197
197
|
return f.bind(e, A, n, t);
|
|
@@ -2037,7 +2037,7 @@ var Xf = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mf = !!String
|
|
|
2037
2037
|
try {
|
|
2038
2038
|
var Jf = ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2039
2039
|
HA = ((aA = Jf.exec("a")) === null || aA === void 0 ? void 0 : aA[0]) === "a";
|
|
2040
|
-
} catch
|
|
2040
|
+
} catch {
|
|
2041
2041
|
HA = !1;
|
|
2042
2042
|
}
|
|
2043
2043
|
var GA = Xf ? (
|
|
@@ -2339,7 +2339,7 @@ var Rf = (
|
|
|
2339
2339
|
if (D.err)
|
|
2340
2340
|
return D;
|
|
2341
2341
|
var I = B(t, this.clonePosition());
|
|
2342
|
-
if (v && GA(v
|
|
2342
|
+
if (v && GA(v?.style, "::", 0)) {
|
|
2343
2343
|
var x = Of(v.style.slice(2));
|
|
2344
2344
|
if (w === "number") {
|
|
2345
2345
|
var s = this.parseNumberSkeletonFromString(x, v.styleLocation);
|
|
@@ -2369,7 +2369,7 @@ var Rf = (
|
|
|
2369
2369
|
type: w === "number" ? H.number : w === "date" ? H.date : H.time,
|
|
2370
2370
|
value: n,
|
|
2371
2371
|
location: I,
|
|
2372
|
-
style: (r = v
|
|
2372
|
+
style: (r = v?.style) !== null && r !== void 0 ? r : null
|
|
2373
2373
|
},
|
|
2374
2374
|
err: null
|
|
2375
2375
|
};
|
|
@@ -2462,7 +2462,7 @@ var Rf = (
|
|
|
2462
2462
|
var n = [];
|
|
2463
2463
|
try {
|
|
2464
2464
|
n = xf(e);
|
|
2465
|
-
} catch
|
|
2465
|
+
} catch {
|
|
2466
2466
|
return this.error(o.INVALID_NUMBER_SKELETON, f);
|
|
2467
2467
|
}
|
|
2468
2468
|
return {
|
|
@@ -2580,7 +2580,7 @@ var Rf = (
|
|
|
2580
2580
|
if (this.isEOF())
|
|
2581
2581
|
return null;
|
|
2582
2582
|
var e = this.char(), f = this.offset(), n = this.message.charCodeAt(f + (e >= 65536 ? 2 : 1));
|
|
2583
|
-
return n
|
|
2583
|
+
return n ?? null;
|
|
2584
2584
|
}, A;
|
|
2585
2585
|
}()
|
|
2586
2586
|
);
|
|
@@ -2614,7 +2614,7 @@ function Yf(A, e) {
|
|
|
2614
2614
|
var n = SyntaxError(o[f.err.kind]);
|
|
2615
2615
|
throw n.location = f.err.location, n.originalMessage = f.err.message, n;
|
|
2616
2616
|
}
|
|
2617
|
-
return e
|
|
2617
|
+
return e?.captureLocation || bA(f.val), f.val;
|
|
2618
2618
|
}
|
|
2619
2619
|
var Y;
|
|
2620
2620
|
(function(A) {
|
|
@@ -2873,7 +2873,7 @@ var De = (
|
|
|
2873
2873
|
enumerable: !1,
|
|
2874
2874
|
configurable: !0
|
|
2875
2875
|
}), A.memoizedDefaultLocale = null, A.resolveLocale = function(e) {
|
|
2876
|
-
if (typeof Intl.Locale
|
|
2876
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
2877
2877
|
var f = Intl.NumberFormat.supportedLocalesOf(e);
|
|
2878
2878
|
return f.length > 0 ? new Intl.Locale(f[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
|
|
2879
2879
|
}
|
|
@@ -3109,7 +3109,7 @@ function sn(A) {
|
|
|
3109
3109
|
if (A.initialLocale)
|
|
3110
3110
|
try {
|
|
3111
3111
|
De.resolveLocale(A.initialLocale) && (t = A.initialLocale);
|
|
3112
|
-
} catch
|
|
3112
|
+
} catch {
|
|
3113
3113
|
console.warn(
|
|
3114
3114
|
`[svelte-i18n] The initial locale "${A.initialLocale}" is not a valid locale.`
|
|
3115
3115
|
);
|
|
@@ -3137,16 +3137,16 @@ function _(A, e = S().fallbackLocale) {
|
|
|
3137
3137
|
return e ? [.../* @__PURE__ */ new Set([...f, ...UA(e)])] : f;
|
|
3138
3138
|
}
|
|
3139
3139
|
function j() {
|
|
3140
|
-
return XA
|
|
3140
|
+
return XA ?? void 0;
|
|
3141
3141
|
}
|
|
3142
3142
|
wA.subscribe((A) => {
|
|
3143
|
-
XA = A
|
|
3143
|
+
XA = A ?? void 0, typeof window < "u" && A != null && document.documentElement.setAttribute("lang", A);
|
|
3144
3144
|
});
|
|
3145
3145
|
const Dn = (A) => {
|
|
3146
3146
|
if (A && en(A) && iA(A)) {
|
|
3147
3147
|
const { loadingDelay: e } = S();
|
|
3148
3148
|
let f;
|
|
3149
|
-
return typeof window
|
|
3149
|
+
return typeof window < "u" && j() != null && e ? f = window.setTimeout(
|
|
3150
3150
|
() => xA.set(!0),
|
|
3151
3151
|
e
|
|
3152
3152
|
) : xA.set(!0), le(A).then(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as $, b as tt, f as b, c as et, a as nt, d as st, e as L, g as y, h as z, j as B, k as C, l as S, u as v, m as H, o as T, t as M, p as E, v as k, w as lt, x as W, y as it, z as ot, C as at, A as Z, n as q } from "./CashierConfirmModal-
|
|
2
|
-
import { a as rt, i as ct, $ as ut, b as ft } from "./CashierError-
|
|
1
|
+
import { S as $, b as tt, f as b, c as et, a as nt, d as st, e as L, g as y, h as z, j as B, k as C, l as S, u as v, m as H, o as T, t as M, p as E, v as k, w as lt, x as W, y as it, z as ot, C as at, A as Z, n as q } from "./CashierConfirmModal-bl1anpXG.js";
|
|
2
|
+
import { a as rt, i as ct, $ as ut, b as ft } from "./CashierError-CNghn61_.js";
|
|
3
3
|
function N(n, t) {
|
|
4
4
|
rt(n, t);
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as U, b as q, f as C, c as Z, a as F, d as P, g as y, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-
|
|
2
|
-
import { a as J, i as K, $ as Q } from "./CashierError-
|
|
3
|
-
if (typeof window
|
|
1
|
+
import { S as U, b as q, f as C, c as Z, a as F, d as P, g as y, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-bl1anpXG.js";
|
|
2
|
+
import { a as J, i as K, $ as Q } from "./CashierError-CNghn61_.js";
|
|
3
|
+
if (typeof window < "u") {
|
|
4
4
|
let i = function(e) {
|
|
5
5
|
return function(...t) {
|
|
6
6
|
try {
|
|
@@ -12,11 +12,11 @@ if (typeof window != "undefined") {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
15
|
+
customElements.define = i(customElements.define), import("./CashierHeader-Cukt_6q5.js").then(({ default: e }) => {
|
|
16
16
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
if (typeof window
|
|
19
|
+
if (typeof window < "u") {
|
|
20
20
|
let i = function(e) {
|
|
21
21
|
return function(...t) {
|
|
22
22
|
try {
|
|
@@ -28,7 +28,7 @@ if (typeof window != "undefined") {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
31
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-BGK4UpXs.js").then(({ default: e }) => {
|
|
32
32
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
33
33
|
});
|
|
34
34
|
}
|