@everymatrix/cashier-error 1.55.0 → 1.56.2
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-Bg8Fq378.js → CashierError-C5TPT4I3.js} +112 -87
- package/components/{CashierError-jJCGID0j.js → CashierError-CR6X-Oae.js} +71 -46
- package/components/{CashierError-DPfeZo4Q.cjs → CashierError-CRfrcaWQ.cjs} +16 -3
- package/es2015/cashier-error.cjs +1 -1
- package/es2015/cashier-error.js +1 -1
- package/esnext/cashier-error.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
3
|
function Ve(A, e) {
|
|
4
|
-
for (const f in e)
|
|
4
|
+
for (const f in e)
|
|
5
|
+
A[f] = e[f];
|
|
5
6
|
return (
|
|
6
7
|
/** @type {T & S} */
|
|
7
8
|
A
|
|
@@ -91,7 +92,8 @@ function $e(A, e, f) {
|
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
function Af(A) {
|
|
94
|
-
if (!A)
|
|
95
|
+
if (!A)
|
|
96
|
+
return document;
|
|
95
97
|
const e = A.getRootNode ? A.getRootNode() : A.ownerDocument;
|
|
96
98
|
return e && /** @type {ShadowRoot} */
|
|
97
99
|
e.host ? (
|
|
@@ -133,7 +135,7 @@ function L(A, e, f) {
|
|
|
133
135
|
function tf(A) {
|
|
134
136
|
return Array.from(A.childNodes);
|
|
135
137
|
}
|
|
136
|
-
function
|
|
138
|
+
function kA(A, e) {
|
|
137
139
|
e = "" + e, A.data !== e && (A.data = /** @type {string} */
|
|
138
140
|
e);
|
|
139
141
|
}
|
|
@@ -146,26 +148,26 @@ function rf(A) {
|
|
|
146
148
|
}
|
|
147
149
|
), e;
|
|
148
150
|
}
|
|
149
|
-
let
|
|
151
|
+
let SA;
|
|
150
152
|
function AA(A) {
|
|
151
|
-
|
|
153
|
+
SA = A;
|
|
152
154
|
}
|
|
153
155
|
const p = [], zA = [];
|
|
154
|
-
let
|
|
156
|
+
let k = [];
|
|
155
157
|
const _A = [], wf = /* @__PURE__ */ Promise.resolve();
|
|
156
158
|
let jA = !1;
|
|
157
159
|
function Pf() {
|
|
158
160
|
jA || (jA = !0, wf.then(d));
|
|
159
161
|
}
|
|
160
162
|
function QA(A) {
|
|
161
|
-
|
|
163
|
+
k.push(A);
|
|
162
164
|
}
|
|
163
165
|
const HA = /* @__PURE__ */ new Set();
|
|
164
166
|
let N = 0;
|
|
165
167
|
function d() {
|
|
166
168
|
if (N !== 0)
|
|
167
169
|
return;
|
|
168
|
-
const A =
|
|
170
|
+
const A = SA;
|
|
169
171
|
do {
|
|
170
172
|
try {
|
|
171
173
|
for (; N < p.length; ) {
|
|
@@ -175,12 +177,13 @@ function d() {
|
|
|
175
177
|
} catch (e) {
|
|
176
178
|
throw p.length = 0, N = 0, e;
|
|
177
179
|
}
|
|
178
|
-
for (AA(null), p.length = 0, N = 0; zA.length; )
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
for (AA(null), p.length = 0, N = 0; zA.length; )
|
|
181
|
+
zA.pop()();
|
|
182
|
+
for (let e = 0; e < k.length; e += 1) {
|
|
183
|
+
const f = k[e];
|
|
181
184
|
HA.has(f) || (HA.add(f), f());
|
|
182
185
|
}
|
|
183
|
-
|
|
186
|
+
k.length = 0;
|
|
184
187
|
} while (p.length);
|
|
185
188
|
for (; _A.length; )
|
|
186
189
|
_A.pop()();
|
|
@@ -195,7 +198,7 @@ function sf(A) {
|
|
|
195
198
|
}
|
|
196
199
|
function vf(A) {
|
|
197
200
|
const e = [], f = [];
|
|
198
|
-
|
|
201
|
+
k.forEach((n) => A.indexOf(n) === -1 ? e.push(n) : f.push(n)), f.forEach((n) => n()), k = e;
|
|
199
202
|
}
|
|
200
203
|
const EA = /* @__PURE__ */ new Set();
|
|
201
204
|
let m;
|
|
@@ -215,11 +218,13 @@ function Q(A, e) {
|
|
|
215
218
|
}
|
|
216
219
|
function Y(A, e, f, n) {
|
|
217
220
|
if (A && A.o) {
|
|
218
|
-
if (EA.has(A))
|
|
221
|
+
if (EA.has(A))
|
|
222
|
+
return;
|
|
219
223
|
EA.add(A), m.c.push(() => {
|
|
220
224
|
EA.delete(A), n && (f && A.d(1), n());
|
|
221
225
|
}), A.o(e);
|
|
222
|
-
} else
|
|
226
|
+
} else
|
|
227
|
+
n && n();
|
|
223
228
|
}
|
|
224
229
|
function of(A, e, f) {
|
|
225
230
|
const { fragment: n, after_update: t } = A.$$;
|
|
@@ -236,7 +241,7 @@ function Cf(A, e) {
|
|
|
236
241
|
A.$$.dirty[0] === -1 && (p.push(A), Pf(), A.$$.dirty.fill(0)), A.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
237
242
|
}
|
|
238
243
|
function Bf(A, e, f, n, t, r, i = null, w = [-1]) {
|
|
239
|
-
const v =
|
|
244
|
+
const v = SA;
|
|
240
245
|
AA(A);
|
|
241
246
|
const P = A.$$ = {
|
|
242
247
|
fragment: null,
|
|
@@ -580,7 +585,7 @@ function Xf(A) {
|
|
|
580
585
|
return Array.isArray(A) ? [] : {};
|
|
581
586
|
}
|
|
582
587
|
function eA(A, e) {
|
|
583
|
-
return e.clone !== !1 && e.isMergeableObject(A) ?
|
|
588
|
+
return e.clone !== !1 && e.isMergeableObject(A) ? S(Xf(A), A, e) : A;
|
|
584
589
|
}
|
|
585
590
|
function Mf(A, e, f) {
|
|
586
591
|
return A.concat(e).map(function(n) {
|
|
@@ -589,9 +594,9 @@ function Mf(A, e, f) {
|
|
|
589
594
|
}
|
|
590
595
|
function yf(A, e) {
|
|
591
596
|
if (!e.customMerge)
|
|
592
|
-
return
|
|
597
|
+
return S;
|
|
593
598
|
var f = e.customMerge(A);
|
|
594
|
-
return typeof f == "function" ? f :
|
|
599
|
+
return typeof f == "function" ? f : S;
|
|
595
600
|
}
|
|
596
601
|
function df(A) {
|
|
597
602
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(A).filter(function(e) {
|
|
@@ -619,25 +624,40 @@ function jf(A, e, f) {
|
|
|
619
624
|
zf(A, t) || (Te(A, t) && f.isMergeableObject(e[t]) ? n[t] = yf(t, f)(A[t], e[t], f) : n[t] = eA(e[t], f));
|
|
620
625
|
}), n;
|
|
621
626
|
}
|
|
622
|
-
function
|
|
627
|
+
function S(A, e, f) {
|
|
623
628
|
f = f || {}, f.arrayMerge = f.arrayMerge || Mf, f.isMergeableObject = f.isMergeableObject || lf, f.cloneUnlessOtherwiseSpecified = eA;
|
|
624
629
|
var n = Array.isArray(e), t = Array.isArray(A), r = n === t;
|
|
625
630
|
return r ? n ? f.arrayMerge(A, e, f) : jf(A, e, f) : eA(e, f);
|
|
626
631
|
}
|
|
627
|
-
|
|
632
|
+
S.all = function(e, f) {
|
|
628
633
|
if (!Array.isArray(e))
|
|
629
634
|
throw new Error("first argument should be an array");
|
|
630
635
|
return e.reduce(function(n, t) {
|
|
631
|
-
return
|
|
636
|
+
return S(n, t, f);
|
|
632
637
|
}, {});
|
|
633
638
|
};
|
|
634
|
-
var Qf =
|
|
639
|
+
var Qf = S, Ff = Qf;
|
|
635
640
|
const Jf = /* @__PURE__ */ Df(Ff);
|
|
641
|
+
/*! *****************************************************************************
|
|
642
|
+
Copyright (c) Microsoft Corporation.
|
|
643
|
+
|
|
644
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
645
|
+
purpose with or without fee is hereby granted.
|
|
646
|
+
|
|
647
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
648
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
649
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
650
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
651
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
652
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
653
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
654
|
+
***************************************************************************** */
|
|
636
655
|
var FA = function(A, e) {
|
|
637
656
|
return FA = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, n) {
|
|
638
657
|
f.__proto__ = n;
|
|
639
658
|
} || function(f, n) {
|
|
640
|
-
for (var t in n)
|
|
659
|
+
for (var t in n)
|
|
660
|
+
Object.prototype.hasOwnProperty.call(n, t) && (f[t] = n[t]);
|
|
641
661
|
}, FA(A, e);
|
|
642
662
|
};
|
|
643
663
|
function xA(A, e) {
|
|
@@ -653,23 +673,26 @@ var u = function() {
|
|
|
653
673
|
return u = Object.assign || function(e) {
|
|
654
674
|
for (var f, n = 1, t = arguments.length; n < t; n++) {
|
|
655
675
|
f = arguments[n];
|
|
656
|
-
for (var r in f)
|
|
676
|
+
for (var r in f)
|
|
677
|
+
Object.prototype.hasOwnProperty.call(f, r) && (e[r] = f[r]);
|
|
657
678
|
}
|
|
658
679
|
return e;
|
|
659
680
|
}, u.apply(this, arguments);
|
|
660
681
|
};
|
|
661
682
|
function Of(A, e) {
|
|
662
683
|
var f = {};
|
|
663
|
-
for (var n in A)
|
|
684
|
+
for (var n in A)
|
|
685
|
+
Object.prototype.hasOwnProperty.call(A, n) && e.indexOf(n) < 0 && (f[n] = A[n]);
|
|
664
686
|
if (A != null && typeof Object.getOwnPropertySymbols == "function")
|
|
665
687
|
for (var t = 0, n = Object.getOwnPropertySymbols(A); t < n.length; t++)
|
|
666
688
|
e.indexOf(n[t]) < 0 && Object.prototype.propertyIsEnumerable.call(A, n[t]) && (f[n[t]] = A[n[t]]);
|
|
667
689
|
return f;
|
|
668
690
|
}
|
|
669
691
|
function TA(A, e, f) {
|
|
670
|
-
if (
|
|
671
|
-
(
|
|
672
|
-
|
|
692
|
+
if (arguments.length === 2)
|
|
693
|
+
for (var n = 0, t = e.length, r; n < t; n++)
|
|
694
|
+
(r || !(n in e)) && (r || (r = Array.prototype.slice.call(e, 0, n)), r[n] = e[n]);
|
|
695
|
+
return A.concat(r || e);
|
|
673
696
|
}
|
|
674
697
|
function LA(A, e) {
|
|
675
698
|
var f = e && e.cache ? e.cache : Yf, n = e && e.serializer ? e.serializer : pf, t = e && e.strategy ? e.strategy : Rf;
|
|
@@ -736,7 +759,7 @@ var K;
|
|
|
736
759
|
function Ae(A) {
|
|
737
760
|
return A.type === I.literal;
|
|
738
761
|
}
|
|
739
|
-
function
|
|
762
|
+
function kf(A) {
|
|
740
763
|
return A.type === I.argument;
|
|
741
764
|
}
|
|
742
765
|
function Xe(A) {
|
|
@@ -754,7 +777,7 @@ function de(A) {
|
|
|
754
777
|
function ze(A) {
|
|
755
778
|
return A.type === I.plural;
|
|
756
779
|
}
|
|
757
|
-
function
|
|
780
|
+
function Sf(A) {
|
|
758
781
|
return A.type === I.pound;
|
|
759
782
|
}
|
|
760
783
|
function je(A) {
|
|
@@ -2495,7 +2518,8 @@ function An(A, e) {
|
|
|
2495
2518
|
f += v;
|
|
2496
2519
|
for (; i-- > 0; )
|
|
2497
2520
|
f = P + f;
|
|
2498
|
-
} else
|
|
2521
|
+
} else
|
|
2522
|
+
t === "J" ? f += "H" : f += t;
|
|
2499
2523
|
}
|
|
2500
2524
|
return f;
|
|
2501
2525
|
}
|
|
@@ -3098,7 +3122,8 @@ function GA(A) {
|
|
|
3098
3122
|
if (delete e.location, de(e) || ze(e))
|
|
3099
3123
|
for (var f in e.options)
|
|
3100
3124
|
delete e.options[f].location, GA(e.options[f].value);
|
|
3101
|
-
else
|
|
3125
|
+
else
|
|
3126
|
+
Xe(e) && Qe(e.style) || (Me(e) || ye(e)) && JA(e.style) ? delete e.style.location : je(e) && GA(e.children);
|
|
3102
3127
|
});
|
|
3103
3128
|
}
|
|
3104
3129
|
function xn(A, e) {
|
|
@@ -3183,7 +3208,7 @@ function hA(A, e, f, n, t, r, i) {
|
|
|
3183
3208
|
});
|
|
3184
3209
|
continue;
|
|
3185
3210
|
}
|
|
3186
|
-
if (
|
|
3211
|
+
if (Sf(s)) {
|
|
3187
3212
|
typeof r == "number" && w.push({
|
|
3188
3213
|
type: T.literal,
|
|
3189
3214
|
value: f.getNumberFormat(e).format(r)
|
|
@@ -3194,7 +3219,7 @@ function hA(A, e, f, n, t, r, i) {
|
|
|
3194
3219
|
if (!(t && E in t))
|
|
3195
3220
|
throw new ln(E, i);
|
|
3196
3221
|
var g = t[E];
|
|
3197
|
-
if (
|
|
3222
|
+
if (kf(s)) {
|
|
3198
3223
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), w.push({
|
|
3199
3224
|
type: typeof g == "string" ? T.literal : T.object,
|
|
3200
3225
|
value: g
|
|
@@ -3470,11 +3495,11 @@ const tA = cA({});
|
|
|
3470
3495
|
function yn(A) {
|
|
3471
3496
|
return WA[A] || null;
|
|
3472
3497
|
}
|
|
3473
|
-
function
|
|
3498
|
+
function ke(A) {
|
|
3474
3499
|
return A in WA;
|
|
3475
3500
|
}
|
|
3476
3501
|
function dn(A, e) {
|
|
3477
|
-
if (!
|
|
3502
|
+
if (!ke(A))
|
|
3478
3503
|
return null;
|
|
3479
3504
|
const f = yn(A);
|
|
3480
3505
|
return Xn(f, e);
|
|
@@ -3485,11 +3510,11 @@ function zn(A) {
|
|
|
3485
3510
|
const e = rA(A);
|
|
3486
3511
|
for (let f = 0; f < e.length; f++) {
|
|
3487
3512
|
const n = e[f];
|
|
3488
|
-
if (
|
|
3513
|
+
if (ke(n))
|
|
3489
3514
|
return n;
|
|
3490
3515
|
}
|
|
3491
3516
|
}
|
|
3492
|
-
function
|
|
3517
|
+
function Se(A, ...e) {
|
|
3493
3518
|
delete F[A], tA.update((f) => (f[A] = Jf.all([f[A] || {}, ...e]), f));
|
|
3494
3519
|
}
|
|
3495
3520
|
V(
|
|
@@ -3521,7 +3546,7 @@ function BA(A) {
|
|
|
3521
3546
|
function Fn(A, e) {
|
|
3522
3547
|
return Promise.all(
|
|
3523
3548
|
e.map((n) => (jn(A, n), n().then((t) => t.default || t)))
|
|
3524
|
-
).then((n) =>
|
|
3549
|
+
).then((n) => Se(A, ...n));
|
|
3525
3550
|
}
|
|
3526
3551
|
const _ = {};
|
|
3527
3552
|
function Ue(A) {
|
|
@@ -3613,14 +3638,14 @@ function pn(A) {
|
|
|
3613
3638
|
)), Object.assign($, n, { initialLocale: t }), f && ("number" in f && Object.assign($.formats.number, f.number), "date" in f && Object.assign($.formats.date, f.date), "time" in f && Object.assign($.formats.time, f.time)), R.set(t);
|
|
3614
3639
|
}
|
|
3615
3640
|
const yA = cA(!1);
|
|
3616
|
-
var Yn = Object.defineProperty,
|
|
3641
|
+
var Yn = Object.defineProperty, kn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, se = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, ve = (A, e, f) => e in A ? Yn(A, e, { enumerable: !0, configurable: !0, writable: !0, value: f }) : A[e] = f, Wn = (A, e) => {
|
|
3617
3642
|
for (var f in e || (e = {}))
|
|
3618
3643
|
Kn.call(e, f) && ve(A, f, e[f]);
|
|
3619
3644
|
if (se)
|
|
3620
3645
|
for (var f of se(e))
|
|
3621
3646
|
Un.call(e, f) && ve(A, f, e[f]);
|
|
3622
3647
|
return A;
|
|
3623
|
-
}, Zn = (A, e) =>
|
|
3648
|
+
}, Zn = (A, e) => kn(A, Sn(e));
|
|
3624
3649
|
let pA;
|
|
3625
3650
|
const aA = cA(null);
|
|
3626
3651
|
function ge(A) {
|
|
@@ -3767,7 +3792,7 @@ V([R], () => wt);
|
|
|
3767
3792
|
V([R], () => Pt);
|
|
3768
3793
|
V([R, tA], () => st);
|
|
3769
3794
|
function oe(A, e) {
|
|
3770
|
-
|
|
3795
|
+
Se(A, e);
|
|
3771
3796
|
}
|
|
3772
3797
|
function gt(A) {
|
|
3773
3798
|
pn({
|
|
@@ -3894,7 +3919,7 @@ function Dt(A) {
|
|
|
3894
3919
|
p(t, r) {
|
|
3895
3920
|
r & /*$_*/
|
|
3896
3921
|
16 && f !== (f = /*$_*/
|
|
3897
|
-
t[4]("errorGeneralTitle") + "") &&
|
|
3922
|
+
t[4]("errorGeneralTitle") + "") && kA(n, f);
|
|
3898
3923
|
},
|
|
3899
3924
|
d(t) {
|
|
3900
3925
|
t && j(e);
|
|
@@ -3918,7 +3943,7 @@ function lt(A) {
|
|
|
3918
3943
|
r & /*$_, errorcode*/
|
|
3919
3944
|
20 && f !== (f = /*$_*/
|
|
3920
3945
|
t[4](`${/*errorcode*/
|
|
3921
|
-
t[2] || "errorGeneralText"}`) + "") &&
|
|
3946
|
+
t[2] || "errorGeneralText"}`) + "") && kA(n, f);
|
|
3922
3947
|
},
|
|
3923
3948
|
d(t) {
|
|
3924
3949
|
t && j(e);
|
|
@@ -3997,7 +4022,7 @@ function It(A) {
|
|
|
3997
4022
|
p(w, v) {
|
|
3998
4023
|
v & /*$_*/
|
|
3999
4024
|
16 && n !== (n = /*$_*/
|
|
4000
|
-
w[4]("errorGeneralButton") + "") &&
|
|
4025
|
+
w[4]("errorGeneralButton") + "") && kA(t, n);
|
|
4001
4026
|
},
|
|
4002
4027
|
d(w) {
|
|
4003
4028
|
w && j(e), r = !1, i();
|