@moneyto/components 0.0.14 → 0.0.16
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/dist/Styles-Zk7nSJeB.js +2736 -0
- package/dist/calculator.js +1673 -1521
- package/dist/country-list.js +56 -65
- package/dist/flags-B8q5zheo.js +1136 -0
- package/dist/{google-play-ecAErNCp.js → google-play-CvltNTKq.js} +158 -197
- package/dist/mobile-apps.js +29 -32
- package/package.json +1 -1
- package/dist/Styles-CV5FG1EQ.js +0 -2287
- package/dist/api-Ss7kA2Mb.js +0 -1060
package/dist/mobile-apps.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as ge, p as he, a as q,
|
|
2
|
-
import { g as Ne, A as Mt, M as be,
|
|
1
|
+
import { c as ge, p as he, a as q, ar as Se, j as x, m as Lt, n as qt, i as G, e as O, f as It, v as Dt, g as me, h as D, k as kt, b as St, l as k, r as Tt, w as we, as as Te, s as tt, S as Me, q as Ie, u as Ut } from "./Styles-Zk7nSJeB.js";
|
|
2
|
+
import { g as Ne, A as Mt, M as be, d as ve, G as _e } from "./google-play-CvltNTKq.js";
|
|
3
3
|
const et = () => "ontouchstart" in window || navigator.maxTouchPoints > 0, Ft = () => !("MSStream" in window) && (/iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.userAgent.includes("Mac") && "ontouchend" in document);
|
|
4
4
|
var H = {}, nt, zt;
|
|
5
5
|
function Le() {
|
|
@@ -79,7 +79,7 @@ function z() {
|
|
|
79
79
|
}
|
|
80
80
|
var ot = {}, Kt;
|
|
81
81
|
function Nt() {
|
|
82
|
-
return Kt || (Kt = 1, function(o) {
|
|
82
|
+
return Kt || (Kt = 1, (function(o) {
|
|
83
83
|
o.L = { bit: 1 }, o.M = { bit: 0 }, o.Q = { bit: 3 }, o.H = { bit: 2 };
|
|
84
84
|
function r(i) {
|
|
85
85
|
if (typeof i != "string")
|
|
@@ -112,7 +112,7 @@ function Nt() {
|
|
|
112
112
|
return t;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
}(ot)), ot;
|
|
115
|
+
})(ot)), ot;
|
|
116
116
|
}
|
|
117
117
|
var it, Ht;
|
|
118
118
|
function qe() {
|
|
@@ -161,7 +161,7 @@ function De() {
|
|
|
161
161
|
}
|
|
162
162
|
var at = {}, jt;
|
|
163
163
|
function ke() {
|
|
164
|
-
return jt || (jt = 1, function(o) {
|
|
164
|
+
return jt || (jt = 1, (function(o) {
|
|
165
165
|
const r = z().getSymbolSize;
|
|
166
166
|
o.getRowColCoords = function(e) {
|
|
167
167
|
if (e === 1) return [];
|
|
@@ -178,7 +178,7 @@ function ke() {
|
|
|
178
178
|
u === s - 1 && a === 0 || t.push([n[u], n[a]]);
|
|
179
179
|
return t;
|
|
180
180
|
};
|
|
181
|
-
}(at)), at;
|
|
181
|
+
})(at)), at;
|
|
182
182
|
}
|
|
183
183
|
var ut = {}, Ot;
|
|
184
184
|
function Ue() {
|
|
@@ -199,7 +199,7 @@ function Ue() {
|
|
|
199
199
|
}
|
|
200
200
|
var ct = {}, Yt;
|
|
201
201
|
function Fe() {
|
|
202
|
-
return Yt || (Yt = 1, function(o) {
|
|
202
|
+
return Yt || (Yt = 1, (function(o) {
|
|
203
203
|
o.Patterns = {
|
|
204
204
|
PATTERN000: 0,
|
|
205
205
|
PATTERN001: 1,
|
|
@@ -293,7 +293,7 @@ function Fe() {
|
|
|
293
293
|
}
|
|
294
294
|
return u;
|
|
295
295
|
};
|
|
296
|
-
}(ct)), ct;
|
|
296
|
+
})(ct)), ct;
|
|
297
297
|
}
|
|
298
298
|
var Q = {}, Qt;
|
|
299
299
|
function pe() {
|
|
@@ -657,13 +657,13 @@ function ze() {
|
|
|
657
657
|
if (Gt) return j;
|
|
658
658
|
Gt = 1;
|
|
659
659
|
const o = new Uint8Array(512), r = new Uint8Array(256);
|
|
660
|
-
return function() {
|
|
660
|
+
return (function() {
|
|
661
661
|
let e = 1;
|
|
662
662
|
for (let t = 0; t < 255; t++)
|
|
663
663
|
o[t] = e, r[e] = t, e <<= 1, e & 256 && (e ^= 285);
|
|
664
664
|
for (let t = 255; t < 512; t++)
|
|
665
665
|
o[t] = o[t - 255];
|
|
666
|
-
}(), j.log = function(e) {
|
|
666
|
+
})(), j.log = function(e) {
|
|
667
667
|
if (e < 1) throw new Error("log(" + e + ")");
|
|
668
668
|
return r[e];
|
|
669
669
|
}, j.exp = function(e) {
|
|
@@ -674,7 +674,7 @@ function ze() {
|
|
|
674
674
|
}
|
|
675
675
|
var $t;
|
|
676
676
|
function Ve() {
|
|
677
|
-
return $t || ($t = 1, function(o) {
|
|
677
|
+
return $t || ($t = 1, (function(o) {
|
|
678
678
|
const r = ze();
|
|
679
679
|
o.mul = function(e, t) {
|
|
680
680
|
const n = new Uint8Array(e.length + t.length - 1);
|
|
@@ -699,7 +699,7 @@ function Ve() {
|
|
|
699
699
|
t = o.mul(t, new Uint8Array([1, r.exp(n)]));
|
|
700
700
|
return t;
|
|
701
701
|
};
|
|
702
|
-
}(lt)), lt;
|
|
702
|
+
})(lt)), lt;
|
|
703
703
|
}
|
|
704
704
|
var ft, Wt;
|
|
705
705
|
function Ke() {
|
|
@@ -751,7 +751,7 @@ function Ce() {
|
|
|
751
751
|
}
|
|
752
752
|
var xt;
|
|
753
753
|
function V() {
|
|
754
|
-
return xt || (xt = 1, function(o) {
|
|
754
|
+
return xt || (xt = 1, (function(o) {
|
|
755
755
|
const r = ye(), i = Ce();
|
|
756
756
|
o.NUMERIC = {
|
|
757
757
|
id: "Numeric",
|
|
@@ -809,11 +809,11 @@ function V() {
|
|
|
809
809
|
return s;
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
|
-
}(gt)), gt;
|
|
812
|
+
})(gt)), gt;
|
|
813
813
|
}
|
|
814
814
|
var te;
|
|
815
815
|
function He() {
|
|
816
|
-
return te || (te = 1, function(o) {
|
|
816
|
+
return te || (te = 1, (function(o) {
|
|
817
817
|
const r = z(), i = pe(), e = Nt(), t = V(), n = ye(), s = 7973, u = r.getBCHDigit(s);
|
|
818
818
|
function a(g, f, A) {
|
|
819
819
|
for (let M = 1; M <= 40; M++)
|
|
@@ -875,7 +875,7 @@ function He() {
|
|
|
875
875
|
A ^= s << r.getBCHDigit(A) - u;
|
|
876
876
|
return f << 12 | A;
|
|
877
877
|
};
|
|
878
|
-
}(dt)), dt;
|
|
878
|
+
})(dt)), dt;
|
|
879
879
|
}
|
|
880
880
|
var mt = {}, ee;
|
|
881
881
|
function Je() {
|
|
@@ -1033,7 +1033,7 @@ Make sure your charset is UTF-8`
|
|
|
1033
1033
|
}
|
|
1034
1034
|
var Bt = { exports: {} }, se;
|
|
1035
1035
|
function Ge() {
|
|
1036
|
-
return se || (se = 1, function(o) {
|
|
1036
|
+
return se || (se = 1, (function(o) {
|
|
1037
1037
|
var r = {
|
|
1038
1038
|
single_source_shortest_paths: function(i, e, t) {
|
|
1039
1039
|
var n = {}, s = {};
|
|
@@ -1097,11 +1097,11 @@ function Ge() {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
};
|
|
1099
1099
|
o.exports = r;
|
|
1100
|
-
}(Bt)), Bt.exports;
|
|
1100
|
+
})(Bt)), Bt.exports;
|
|
1101
1101
|
}
|
|
1102
1102
|
var ae;
|
|
1103
1103
|
function $e() {
|
|
1104
|
-
return ae || (ae = 1, function(o) {
|
|
1104
|
+
return ae || (ae = 1, (function(o) {
|
|
1105
1105
|
const r = V(), i = je(), e = Oe(), t = Ye(), n = Qe(), s = Ce(), u = z(), a = Ge();
|
|
1106
1106
|
function c(R) {
|
|
1107
1107
|
return unescape(encodeURIComponent(R)).length;
|
|
@@ -1231,7 +1231,7 @@ function $e() {
|
|
|
1231
1231
|
m(S, u.isKanjiModeEnabled())
|
|
1232
1232
|
);
|
|
1233
1233
|
};
|
|
1234
|
-
}(wt)), wt;
|
|
1234
|
+
})(wt)), wt;
|
|
1235
1235
|
}
|
|
1236
1236
|
var ue;
|
|
1237
1237
|
function We() {
|
|
@@ -1372,7 +1372,7 @@ Minimum version required to store current data is: ` + C + `.
|
|
|
1372
1372
|
}
|
|
1373
1373
|
var At = {}, Rt = {}, ce;
|
|
1374
1374
|
function Ee() {
|
|
1375
|
-
return ce || (ce = 1, function(o) {
|
|
1375
|
+
return ce || (ce = 1, (function(o) {
|
|
1376
1376
|
function r(i) {
|
|
1377
1377
|
if (typeof i == "number" && (i = i.toString()), typeof i != "string")
|
|
1378
1378
|
throw new Error("Color should be defined as hex string");
|
|
@@ -1422,11 +1422,11 @@ function Ee() {
|
|
|
1422
1422
|
e[A++] = M.r, e[A++] = M.g, e[A++] = M.b, e[A] = M.a;
|
|
1423
1423
|
}
|
|
1424
1424
|
};
|
|
1425
|
-
}(Rt)), Rt;
|
|
1425
|
+
})(Rt)), Rt;
|
|
1426
1426
|
}
|
|
1427
1427
|
var le;
|
|
1428
1428
|
function Ze() {
|
|
1429
|
-
return le || (le = 1, function(o) {
|
|
1429
|
+
return le || (le = 1, (function(o) {
|
|
1430
1430
|
const r = Ee();
|
|
1431
1431
|
function i(t, n, s) {
|
|
1432
1432
|
t.clearRect(0, 0, n.width, n.height), n.style || (n.style = {}), n.height = s, n.width = s, n.style.height = s + "px", n.style.width = s + "px";
|
|
@@ -1449,7 +1449,7 @@ function Ze() {
|
|
|
1449
1449
|
const c = o.render(n, s, a), d = a.type || "image/png", m = a.rendererOpts || {};
|
|
1450
1450
|
return c.toDataURL(d, m.quality);
|
|
1451
1451
|
};
|
|
1452
|
-
}(At)), At;
|
|
1452
|
+
})(At)), At;
|
|
1453
1453
|
}
|
|
1454
1454
|
var Pt = {}, fe;
|
|
1455
1455
|
function Xe() {
|
|
@@ -1524,10 +1524,7 @@ function Be(o, r) {
|
|
|
1524
1524
|
type: "svg",
|
|
1525
1525
|
margin: 2,
|
|
1526
1526
|
width: e(),
|
|
1527
|
-
color: {
|
|
1528
|
-
dark: c ? "#ffffff" : "#000000",
|
|
1529
|
-
light: "#0000"
|
|
1530
|
-
}
|
|
1527
|
+
color: { dark: c ? "#ffffff" : "#000000", light: "#0000" }
|
|
1531
1528
|
}), s = async (c, d) => {
|
|
1532
1529
|
if (!c) return "Error";
|
|
1533
1530
|
try {
|
|
@@ -1536,7 +1533,7 @@ function Be(o, r) {
|
|
|
1536
1533
|
return console.error("Failed to generate QR code:", m), "Error";
|
|
1537
1534
|
}
|
|
1538
1535
|
};
|
|
1539
|
-
let u =
|
|
1536
|
+
let u = kt(""), a = kt(!0);
|
|
1540
1537
|
return Se(() => {
|
|
1541
1538
|
x(a, !0), s(t(), i()).then((c) => {
|
|
1542
1539
|
x(u, c, !0), x(a, !1);
|
|
@@ -1555,7 +1552,7 @@ function Be(o, r) {
|
|
|
1555
1552
|
},
|
|
1556
1553
|
content: (g) => {
|
|
1557
1554
|
var f = nn(), A = St(f);
|
|
1558
|
-
|
|
1555
|
+
Dt(A, () => k(u)), Tt(f), O(g, f);
|
|
1559
1556
|
},
|
|
1560
1557
|
children: (g, f) => {
|
|
1561
1558
|
var A = Lt(), M = qt(A);
|
|
@@ -1565,7 +1562,7 @@ function Be(o, r) {
|
|
|
1565
1562
|
we(() => Te(p, `width: ${e() ?? ""}px; height: ${e() ?? ""}px;`)), O(S, p);
|
|
1566
1563
|
}, R = (S) => {
|
|
1567
1564
|
var p = Lt(), B = qt(p);
|
|
1568
|
-
|
|
1565
|
+
Dt(B, () => k(u)), O(S, p);
|
|
1569
1566
|
};
|
|
1570
1567
|
G(M, (S) => {
|
|
1571
1568
|
k(a) ? S(N) : S(R, !1);
|
|
@@ -1603,7 +1600,7 @@ var on = It("<main><div><!> <!> <!></div> <!></main>");
|
|
|
1603
1600
|
function sn(o, r) {
|
|
1604
1601
|
he(r, !0);
|
|
1605
1602
|
const i = 200, e = 60;
|
|
1606
|
-
let t = q(r, "theme", 7, "light"), n = q(r, "width", 7, i), s = q(r, "align", 7, "left"), u = q(r, "googlePlay", 7, "https://play.google.com/store/apps/details?id=com.ltech.moneyto"), a = q(r, "appStore", 7, "https://apps.apple.com/us/app/moneyto-money-transfer/id1418940675"), c = q(r, "qr", 7, "https://www.moneyto.co.uk/mobile-app"), d =
|
|
1603
|
+
let t = q(r, "theme", 7, "light"), n = q(r, "width", 7, i), s = q(r, "align", 7, "left"), u = q(r, "googlePlay", 7, "https://play.google.com/store/apps/details?id=com.ltech.moneyto"), a = q(r, "appStore", 7, "https://apps.apple.com/us/app/moneyto-money-transfer/id1418940675"), c = q(r, "qr", 7, "https://www.moneyto.co.uk/mobile-app"), d = Ut(() => t() === "dark"), m = Ut(() => n() * e / i);
|
|
1607
1604
|
var g = on(), f = St(g);
|
|
1608
1605
|
let A;
|
|
1609
1606
|
var M = St(f);
|