@everymatrix/cashier-receipt-page-nd 0.1.20 → 0.1.21
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-B-JgaWUg.js → CashierError-BM-FI8Pm.js} +44 -42
- package/components/{CashierError-CDMMAaXq.js → CashierError-DTPYtO54.js} +263 -261
- package/components/{CashierError-CcXkeFHB.cjs → CashierError-Xz_ZkP4G.cjs} +4 -4
- package/components/{CashierReceiptPage-Bb7XSwhh.js → CashierReceiptPage-BDbDZp7i.js} +2 -2
- package/components/{CashierReceiptPage-Df7VRX41.js → CashierReceiptPage-Db6m1mR5.js} +2 -2
- package/components/{CashierReceiptPage-B2Ltl8uI.cjs → CashierReceiptPage-nBb3ZJ0-.cjs} +2 -2
- package/es2015/cashier-receipt-page-nd.cjs +1 -1
- package/es2015/cashier-receipt-page-nd.js +1 -1
- package/esnext/cashier-receipt-page-nd.js +1 -1
- package/package.json +1 -1
|
@@ -131,7 +131,7 @@ function Ft(e) {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function C(e, t) {
|
|
135
135
|
e.appendChild(t);
|
|
136
136
|
}
|
|
137
137
|
function Pr(e, t, r) {
|
|
@@ -156,7 +156,7 @@ function Or(e) {
|
|
|
156
156
|
return t.textContent = "/* empty */", jt(rt(e), t), t.sheet;
|
|
157
157
|
}
|
|
158
158
|
function jt(e, t) {
|
|
159
|
-
return
|
|
159
|
+
return C(
|
|
160
160
|
/** @type {Document} */
|
|
161
161
|
e.head || e,
|
|
162
162
|
t
|
|
@@ -184,10 +184,10 @@ function Oe(e) {
|
|
|
184
184
|
function $e() {
|
|
185
185
|
return Oe(" ");
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Cr() {
|
|
188
188
|
return Oe("");
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ir(e, t, r, n) {
|
|
191
191
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
192
192
|
}
|
|
193
193
|
function z(e, t, r) {
|
|
@@ -328,17 +328,17 @@ function we(e, t, r) {
|
|
|
328
328
|
e.dispatchEvent(Lr(`${t ? "intro" : "outro"}${r}`));
|
|
329
329
|
}
|
|
330
330
|
const _e = /* @__PURE__ */ new Set();
|
|
331
|
-
let
|
|
331
|
+
let I;
|
|
332
332
|
function us() {
|
|
333
|
-
|
|
333
|
+
I = {
|
|
334
334
|
r: 0,
|
|
335
335
|
c: [],
|
|
336
|
-
p:
|
|
336
|
+
p: I
|
|
337
337
|
// parent group
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
function ls() {
|
|
341
|
-
|
|
341
|
+
I.r || R(I.c), I = I.p;
|
|
342
342
|
}
|
|
343
343
|
function ee(e, t) {
|
|
344
344
|
e && e.i && (_e.delete(e), e.i(t));
|
|
@@ -347,7 +347,7 @@ function be(e, t, r, n) {
|
|
|
347
347
|
if (e && e.o) {
|
|
348
348
|
if (_e.has(e))
|
|
349
349
|
return;
|
|
350
|
-
_e.add(e),
|
|
350
|
+
_e.add(e), I.c.push(() => {
|
|
351
351
|
_e.delete(e), n && (r && e.d(1), n());
|
|
352
352
|
}), e.o(t);
|
|
353
353
|
} else
|
|
@@ -398,7 +398,7 @@ function hs(e, t, r) {
|
|
|
398
398
|
function cs(e, t, r) {
|
|
399
399
|
const n = { direction: "out" };
|
|
400
400
|
let i = t(e, r, n), s = !0, o;
|
|
401
|
-
const a =
|
|
401
|
+
const a = I;
|
|
402
402
|
a.r += 1;
|
|
403
403
|
let h;
|
|
404
404
|
function u() {
|
|
@@ -721,10 +721,10 @@ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @
|
|
|
721
721
|
const G = [];
|
|
722
722
|
function Yr(e, t) {
|
|
723
723
|
return {
|
|
724
|
-
subscribe:
|
|
724
|
+
subscribe: Ce(e, t).subscribe
|
|
725
725
|
};
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Ce(e, t = S) {
|
|
728
728
|
let r;
|
|
729
729
|
const n = /* @__PURE__ */ new Set();
|
|
730
730
|
function i(a) {
|
|
@@ -864,7 +864,7 @@ var We = function(e, t) {
|
|
|
864
864
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
865
865
|
}, We(e, t);
|
|
866
866
|
};
|
|
867
|
-
function
|
|
867
|
+
function Ie(e, t) {
|
|
868
868
|
if (typeof t != "function" && t !== null)
|
|
869
869
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
870
870
|
We(e, t);
|
|
@@ -1125,7 +1125,7 @@ function Pn(e) {
|
|
|
1125
1125
|
function On(e) {
|
|
1126
1126
|
return e.replace(/^(.*?)-/, "");
|
|
1127
1127
|
}
|
|
1128
|
-
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1128
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1129
1129
|
function gt(e) {
|
|
1130
1130
|
var t = {};
|
|
1131
1131
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
@@ -1172,7 +1172,7 @@ function ur(e) {
|
|
|
1172
1172
|
};
|
|
1173
1173
|
}
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function In(e) {
|
|
1176
1176
|
var t;
|
|
1177
1177
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1178
1178
|
notation: "engineering"
|
|
@@ -1276,7 +1276,7 @@ function Nn(e) {
|
|
|
1276
1276
|
case "integer-width":
|
|
1277
1277
|
if (i.options.length > 1)
|
|
1278
1278
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1279
|
-
i.options[0].replace(
|
|
1279
|
+
i.options[0].replace(Cn, function(h, u, l, c, m, d) {
|
|
1280
1280
|
if (u)
|
|
1281
1281
|
t.minimumIntegerDigits = l.length;
|
|
1282
1282
|
else {
|
|
@@ -1309,7 +1309,7 @@ function Nn(e) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
var o = ur(i.stem);
|
|
1311
1311
|
o && (t = T(T({}, t), o));
|
|
1312
|
-
var a =
|
|
1312
|
+
var a = In(i.stem);
|
|
1313
1313
|
a && (t = T(T({}, t), a));
|
|
1314
1314
|
}
|
|
1315
1315
|
return t;
|
|
@@ -3364,7 +3364,7 @@ var W;
|
|
|
3364
3364
|
var Ne = (
|
|
3365
3365
|
/** @class */
|
|
3366
3366
|
function(e) {
|
|
3367
|
-
|
|
3367
|
+
Ie(t, e);
|
|
3368
3368
|
function t(r, n, i) {
|
|
3369
3369
|
var s = e.call(this, r) || this;
|
|
3370
3370
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3376,7 +3376,7 @@ var Ne = (
|
|
|
3376
3376
|
), vt = (
|
|
3377
3377
|
/** @class */
|
|
3378
3378
|
function(e) {
|
|
3379
|
-
|
|
3379
|
+
Ie(t, e);
|
|
3380
3380
|
function t(r, n, i, s) {
|
|
3381
3381
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
|
|
3382
3382
|
}
|
|
@@ -3385,7 +3385,7 @@ var Ne = (
|
|
|
3385
3385
|
), ei = (
|
|
3386
3386
|
/** @class */
|
|
3387
3387
|
function(e) {
|
|
3388
|
-
|
|
3388
|
+
Ie(t, e);
|
|
3389
3389
|
function t(r, n, i) {
|
|
3390
3390
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3391
3391
|
}
|
|
@@ -3394,7 +3394,7 @@ var Ne = (
|
|
|
3394
3394
|
), ti = (
|
|
3395
3395
|
/** @class */
|
|
3396
3396
|
function(e) {
|
|
3397
|
-
|
|
3397
|
+
Ie(t, e);
|
|
3398
3398
|
function t(r, n) {
|
|
3399
3399
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3400
3400
|
}
|
|
@@ -3713,7 +3713,7 @@ const N = {}, ui = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][
|
|
|
3713
3713
|
}
|
|
3714
3714
|
};
|
|
3715
3715
|
let nt;
|
|
3716
|
-
const ue =
|
|
3716
|
+
const ue = Ce({});
|
|
3717
3717
|
function li(e) {
|
|
3718
3718
|
return nt[e] || null;
|
|
3719
3719
|
}
|
|
@@ -3859,7 +3859,7 @@ function vi(e) {
|
|
|
3859
3859
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3860
3860
|
)), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), D.set(i);
|
|
3861
3861
|
}
|
|
3862
|
-
const je =
|
|
3862
|
+
const je = Ce(!1);
|
|
3863
3863
|
var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
|
|
3864
3864
|
for (var r in t || (t = {}))
|
|
3865
3865
|
wi.call(t, r) && Ht(e, r, t[r]);
|
|
@@ -3869,7 +3869,7 @@ var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwn
|
|
|
3869
3869
|
return e;
|
|
3870
3870
|
}, Ai = (e, t) => Ti(e, Hi(t));
|
|
3871
3871
|
let et;
|
|
3872
|
-
const Ae =
|
|
3872
|
+
const Ae = Ce(null);
|
|
3873
3873
|
function wt(e) {
|
|
3874
3874
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3875
3875
|
}
|
|
@@ -3927,14 +3927,14 @@ const oe = (e, t) => {
|
|
|
3927
3927
|
if (e in r && t in r[e])
|
|
3928
3928
|
return r[e][t];
|
|
3929
3929
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3930
|
-
},
|
|
3930
|
+
}, Ci = Le(
|
|
3931
3931
|
(e) => {
|
|
3932
3932
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3933
3933
|
if (r == null)
|
|
3934
3934
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3935
3935
|
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
3936
3936
|
}
|
|
3937
|
-
),
|
|
3937
|
+
), Ii = Le(
|
|
3938
3938
|
(e) => {
|
|
3939
3939
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3940
3940
|
if (r == null)
|
|
@@ -3956,14 +3956,14 @@ const oe = (e, t) => {
|
|
|
3956
3956
|
} = t, n = Q(t, [
|
|
3957
3957
|
"locale"
|
|
3958
3958
|
]);
|
|
3959
|
-
return
|
|
3959
|
+
return Ci(it({ locale: r }, n));
|
|
3960
3960
|
}, Mi = (e = {}) => {
|
|
3961
3961
|
var t = e, {
|
|
3962
3962
|
locale: r = M()
|
|
3963
3963
|
} = t, n = Q(t, [
|
|
3964
3964
|
"locale"
|
|
3965
3965
|
]);
|
|
3966
|
-
return
|
|
3966
|
+
return Ii(it({ locale: r }, n));
|
|
3967
3967
|
}, $i = (e = {}) => {
|
|
3968
3968
|
var t = e, {
|
|
3969
3969
|
locale: r = M()
|
|
@@ -4071,7 +4071,8 @@ const At = {
|
|
|
4071
4071
|
TransactionCodeIsInvalid: "Transaction code is invalid",
|
|
4072
4072
|
InvalidSession: "Your session has expired. Please try again",
|
|
4073
4073
|
TwoFactorAuthRequired: "Two-factor authentication is required",
|
|
4074
|
-
DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance."
|
|
4074
|
+
DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
|
|
4075
|
+
FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020"
|
|
4075
4076
|
},
|
|
4076
4077
|
tr: {
|
|
4077
4078
|
errorGeneralTitle: "Hata oluştu",
|
|
@@ -4097,13 +4098,14 @@ const At = {
|
|
|
4097
4098
|
TransactionCodeIsInvalid: "Transaction code is invalid",
|
|
4098
4099
|
InvalidSession: "Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",
|
|
4099
4100
|
TwoFactorAuthRequired: "İki faktörlü kimlik doğrulama gereklidi",
|
|
4100
|
-
DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
|
|
4101
|
+
DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",
|
|
4102
|
+
FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020."
|
|
4101
4103
|
}
|
|
4102
4104
|
};
|
|
4103
4105
|
function Zi(e) {
|
|
4104
4106
|
Pr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
|
|
4105
4107
|
}
|
|
4106
|
-
const Ji = (e) => ({}), Pt = (e) => ({}), qi = (e) => ({}), Ot = (e) => ({}), Qi = (e) => ({}),
|
|
4108
|
+
const Ji = (e) => ({}), Pt = (e) => ({}), qi = (e) => ({}), Ot = (e) => ({}), Qi = (e) => ({}), Ct = (e) => ({}), Yi = (e) => ({}), It = (e) => ({ class: "CashierErrorIcon" });
|
|
4107
4109
|
function Nt(e) {
|
|
4108
4110
|
let t, r;
|
|
4109
4111
|
return {
|
|
@@ -4131,7 +4133,7 @@ function Ki(e) {
|
|
|
4131
4133
|
);
|
|
4132
4134
|
return {
|
|
4133
4135
|
c() {
|
|
4134
|
-
r && r.c(), t =
|
|
4136
|
+
r && r.c(), t = Cr();
|
|
4135
4137
|
},
|
|
4136
4138
|
m(n, i) {
|
|
4137
4139
|
r && r.m(n, i), J(n, t, i);
|
|
@@ -4156,7 +4158,7 @@ function es(e) {
|
|
|
4156
4158
|
t = O("span"), n = Oe(r), z(t, "class", "CashierErrorText");
|
|
4157
4159
|
},
|
|
4158
4160
|
m(i, s) {
|
|
4159
|
-
J(i, t, s),
|
|
4161
|
+
J(i, t, s), C(t, n);
|
|
4160
4162
|
},
|
|
4161
4163
|
p(i, s) {
|
|
4162
4164
|
s & /*$_, errorcode*/
|
|
@@ -4179,7 +4181,7 @@ function ts(e) {
|
|
|
4179
4181
|
t = O("button"), r = O("span"), i = Oe(n), z(t, "class", "CashierErrorButton");
|
|
4180
4182
|
},
|
|
4181
4183
|
m(a, h) {
|
|
4182
|
-
J(a, t, h),
|
|
4184
|
+
J(a, t, h), C(t, r), C(r, i), s || (o = Ir(
|
|
4183
4185
|
t,
|
|
4184
4186
|
"click",
|
|
4185
4187
|
/*close*/
|
|
@@ -4206,7 +4208,7 @@ function rs(e) {
|
|
|
4206
4208
|
e,
|
|
4207
4209
|
/*$$scope*/
|
|
4208
4210
|
e[10],
|
|
4209
|
-
|
|
4211
|
+
It
|
|
4210
4212
|
), u = h || Ki(e), l = (
|
|
4211
4213
|
/*#slots*/
|
|
4212
4214
|
e[11].title
|
|
@@ -4215,7 +4217,7 @@ function rs(e) {
|
|
|
4215
4217
|
e,
|
|
4216
4218
|
/*$$scope*/
|
|
4217
4219
|
e[10],
|
|
4218
|
-
|
|
4220
|
+
Ct
|
|
4219
4221
|
), m = (
|
|
4220
4222
|
/*#slots*/
|
|
4221
4223
|
e[11].text
|
|
@@ -4240,7 +4242,7 @@ function rs(e) {
|
|
|
4240
4242
|
t = O("div"), r = O("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), p && p.c(), s = $e(), E && E.c(), z(r, "class", "CashierErrorContent"), z(t, "class", "CashierError");
|
|
4241
4243
|
},
|
|
4242
4244
|
m(f, g) {
|
|
4243
|
-
J(f, t, g),
|
|
4245
|
+
J(f, t, g), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), p && p.m(r, null), C(r, s), E && E.m(r, null), e[12](t), o = !0;
|
|
4244
4246
|
},
|
|
4245
4247
|
p(f, [g]) {
|
|
4246
4248
|
h ? h.p && (!o || g & /*$$scope*/
|
|
@@ -4260,7 +4262,7 @@ function rs(e) {
|
|
|
4260
4262
|
/*$$scope*/
|
|
4261
4263
|
f[10]
|
|
4262
4264
|
),
|
|
4263
|
-
|
|
4265
|
+
It
|
|
4264
4266
|
) : u && u.p && (!o || g & /*assetsurl*/
|
|
4265
4267
|
1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
|
|
4266
4268
|
1024) && de(
|
|
@@ -4279,7 +4281,7 @@ function rs(e) {
|
|
|
4279
4281
|
/*$$scope*/
|
|
4280
4282
|
f[10]
|
|
4281
4283
|
),
|
|
4282
|
-
|
|
4284
|
+
Ct
|
|
4283
4285
|
), d ? d.p && (!o || g & /*$$scope*/
|
|
4284
4286
|
1024) && de(
|
|
4285
4287
|
d,
|
|
@@ -4459,8 +4461,8 @@ export {
|
|
|
4459
4461
|
Oe as C,
|
|
4460
4462
|
ge as D,
|
|
4461
4463
|
R as E,
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
+
Ir as F,
|
|
4465
|
+
Cr as G,
|
|
4464
4466
|
fs as H,
|
|
4465
4467
|
os as I,
|
|
4466
4468
|
as as J,
|
|
@@ -4493,7 +4495,7 @@ export {
|
|
|
4493
4495
|
ee as t,
|
|
4494
4496
|
be as u,
|
|
4495
4497
|
ls as v,
|
|
4496
|
-
|
|
4498
|
+
C as w,
|
|
4497
4499
|
$e as x,
|
|
4498
4500
|
cs as y,
|
|
4499
4501
|
ie as z
|