@one-payments/web-components 1.1.10 → 1.1.12
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/index.js +150 -134
- package/dist/one-payment.d.ts.map +1 -1
- package/dist/one-payment.js +77 -17
- package/dist/one-payment.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ let ht = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const Bt = (t) => new ht(typeof t == "string" ? t : t + "", void 0, Ve), Ft = (t, ...e) => {
|
|
26
26
|
const n = t.length === 1 ? t[0] : e.reduce((r, i, o) => r + ((s) => {
|
|
27
27
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
28
28
|
if (typeof s == "number") return s;
|
|
@@ -38,17 +38,17 @@ const Rt = (t) => new ht(typeof t == "string" ? t : t + "", void 0, Ve), Bt = (t
|
|
|
38
38
|
}, We = qe ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
|
|
39
39
|
let n = "";
|
|
40
40
|
for (const r of e.cssRules) n += r.cssText;
|
|
41
|
-
return
|
|
41
|
+
return Bt(n);
|
|
42
42
|
})(t) : t;
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: Ut, defineProperty: Ot, getOwnPropertyDescriptor: zt, getOwnPropertyNames: qt, getOwnPropertySymbols: Vt, getPrototypeOf: Ht } = Object, O = globalThis, Xe = O.trustedTypes,
|
|
48
|
+
const { is: Ut, defineProperty: Ot, getOwnPropertyDescriptor: zt, getOwnPropertyNames: qt, getOwnPropertySymbols: Vt, getPrototypeOf: Ht } = Object, O = globalThis, Xe = O.trustedTypes, Yt = Xe ? Xe.emptyScript : "", Ie = O.reactiveElementPolyfillSupport, ie = (t, e) => t, be = { toAttribute(t, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
t = t ?
|
|
51
|
+
t = t ? Yt : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -284,14 +284,14 @@ Q.elementStyles = [], Q.shadowRootOptions = { mode: "open" }, Q[ie("elementPrope
|
|
|
284
284
|
* Copyright 2017 Google LLC
|
|
285
285
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
286
|
*/
|
|
287
|
-
const oe = globalThis, we = oe.trustedTypes, tt = we ? we.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ft = "$lit$", L = `lit$${Math.random().toFixed(9).slice(2)}$`, mt = "?" + L,
|
|
287
|
+
const oe = globalThis, we = oe.trustedTypes, tt = we ? we.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ft = "$lit$", L = `lit$${Math.random().toFixed(9).slice(2)}$`, mt = "?" + L, jt = `<${mt}>`, j = document, le = () => j.createComment(""), de = (t) => t === null || typeof t != "object" && typeof t != "function", Ye = Array.isArray, Kt = (t) => Ye(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", _e = `[
|
|
288
288
|
\f\r]`, re = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, nt = /-->/g, rt = />/g, q = RegExp(`>|${_e}(?:([^\\s"'>=/]+)(${_e}*=${_e}*(?:[^
|
|
289
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), it = /'/g, ot = /"/g, pt = /^(?:script|style|textarea|title)$/i, Qt = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), A = Qt(1),
|
|
289
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), it = /'/g, ot = /"/g, pt = /^(?:script|style|textarea|title)$/i, Qt = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), A = Qt(1), Z = Symbol.for("lit-noChange"), I = Symbol.for("lit-nothing"), st = /* @__PURE__ */ new WeakMap(), V = j.createTreeWalker(j, 129);
|
|
290
290
|
function gt(t, e) {
|
|
291
|
-
if (!
|
|
291
|
+
if (!Ye(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
292
292
|
return tt !== void 0 ? tt.createHTML(e) : e;
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const Gt = (t, e) => {
|
|
295
295
|
const n = t.length - 1, r = [];
|
|
296
296
|
let i, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", s = re;
|
|
297
297
|
for (let l = 0; l < n; l++) {
|
|
@@ -299,7 +299,7 @@ const Zt = (t, e) => {
|
|
|
299
299
|
let d, c, h = -1, f = 0;
|
|
300
300
|
for (; f < a.length && (s.lastIndex = f, c = s.exec(a), c !== null); ) f = s.lastIndex, s === re ? c[1] === "!--" ? s = nt : c[1] !== void 0 ? s = rt : c[2] !== void 0 ? (pt.test(c[2]) && (i = RegExp("</" + c[2], "g")), s = q) : c[3] !== void 0 && (s = q) : s === q ? c[0] === ">" ? (s = i ?? re, h = -1) : c[1] === void 0 ? h = -2 : (h = s.lastIndex - c[2].length, d = c[1], s = c[3] === void 0 ? q : c[3] === '"' ? ot : it) : s === ot || s === it ? s = q : s === nt || s === rt ? s = re : (s = q, i = void 0);
|
|
301
301
|
const u = s === q && t[l + 1].startsWith("/>") ? " " : "";
|
|
302
|
-
o += s === re ? a +
|
|
302
|
+
o += s === re ? a + jt : h >= 0 ? (r.push(d), a.slice(0, h) + ft + a.slice(h) + L + u) : a + L + (h === -2 ? l : u);
|
|
303
303
|
}
|
|
304
304
|
return [gt(t, o + (t[n] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
|
|
305
305
|
};
|
|
@@ -308,7 +308,7 @@ class ce {
|
|
|
308
308
|
let i;
|
|
309
309
|
this.parts = [];
|
|
310
310
|
let o = 0, s = 0;
|
|
311
|
-
const l = e.length - 1, a = this.parts, [d, c] =
|
|
311
|
+
const l = e.length - 1, a = this.parts, [d, c] = Gt(e, n);
|
|
312
312
|
if (this.el = ce.createElement(d, r), V.currentNode = this.el.content, n === 2 || n === 3) {
|
|
313
313
|
const h = this.el.content.firstChild;
|
|
314
314
|
h.replaceWith(...h.childNodes);
|
|
@@ -336,18 +336,18 @@ class ce {
|
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
static createElement(e, n) {
|
|
339
|
-
const r =
|
|
339
|
+
const r = j.createElement("template");
|
|
340
340
|
return r.innerHTML = e, r;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
function J(t, e, n = t, r) {
|
|
344
344
|
var s, l;
|
|
345
|
-
if (e ===
|
|
345
|
+
if (e === Z) return e;
|
|
346
346
|
let i = r !== void 0 ? (s = n._$Co) == null ? void 0 : s[r] : n._$Cl;
|
|
347
347
|
const o = de(e) ? void 0 : e._$litDirective$;
|
|
348
348
|
return (i == null ? void 0 : i.constructor) !== o && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), o === void 0 ? i = void 0 : (i = new o(t), i._$AT(t, n, r)), r !== void 0 ? (n._$Co ?? (n._$Co = []))[r] = i : n._$Cl = i), i !== void 0 && (e = J(t, i._$AS(t, e.values), i, r)), e;
|
|
349
349
|
}
|
|
350
|
-
class
|
|
350
|
+
class Zt {
|
|
351
351
|
constructor(e, n) {
|
|
352
352
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = n;
|
|
353
353
|
}
|
|
@@ -358,7 +358,7 @@ class Gt {
|
|
|
358
358
|
return this._$AM._$AU;
|
|
359
359
|
}
|
|
360
360
|
u(e) {
|
|
361
|
-
const { el: { content: n }, parts: r } = this._$AD, i = ((e == null ? void 0 : e.creationScope) ??
|
|
361
|
+
const { el: { content: n }, parts: r } = this._$AD, i = ((e == null ? void 0 : e.creationScope) ?? j).importNode(n, !0);
|
|
362
362
|
V.currentNode = i;
|
|
363
363
|
let o = V.nextNode(), s = 0, l = 0, a = r[0];
|
|
364
364
|
for (; a !== void 0; ) {
|
|
@@ -368,7 +368,7 @@ class Gt {
|
|
|
368
368
|
}
|
|
369
369
|
s !== (a == null ? void 0 : a.index) && (o = V.nextNode(), s++);
|
|
370
370
|
}
|
|
371
|
-
return V.currentNode =
|
|
371
|
+
return V.currentNode = j, i;
|
|
372
372
|
}
|
|
373
373
|
p(e) {
|
|
374
374
|
let n = 0;
|
|
@@ -395,7 +395,7 @@ class he {
|
|
|
395
395
|
return this._$AB;
|
|
396
396
|
}
|
|
397
397
|
_$AI(e, n = this) {
|
|
398
|
-
e = J(this, e, n), de(e) ? e === I || e == null || e === "" ? (this._$AH !== I && this._$AR(), this._$AH = I) : e !== this._$AH && e !==
|
|
398
|
+
e = J(this, e, n), de(e) ? e === I || e == null || e === "" ? (this._$AH !== I && this._$AR(), this._$AH = I) : e !== this._$AH && e !== Z && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Kt(e) ? this.k(e) : this._(e);
|
|
399
399
|
}
|
|
400
400
|
O(e) {
|
|
401
401
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -404,14 +404,14 @@ class he {
|
|
|
404
404
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
405
405
|
}
|
|
406
406
|
_(e) {
|
|
407
|
-
this._$AH !== I && de(this._$AH) ? this._$AA.nextSibling.data = e : this.T(
|
|
407
|
+
this._$AH !== I && de(this._$AH) ? this._$AA.nextSibling.data = e : this.T(j.createTextNode(e)), this._$AH = e;
|
|
408
408
|
}
|
|
409
409
|
$(e) {
|
|
410
410
|
var o;
|
|
411
411
|
const { values: n, _$litType$: r } = e, i = typeof r == "number" ? this._$AC(e) : (r.el === void 0 && (r.el = ce.createElement(gt(r.h, r.h[0]), this.options)), r);
|
|
412
412
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(n);
|
|
413
413
|
else {
|
|
414
|
-
const s = new
|
|
414
|
+
const s = new Zt(i, this), l = s.u(this.options);
|
|
415
415
|
s.p(n), this.T(l), this._$AH = s;
|
|
416
416
|
}
|
|
417
417
|
}
|
|
@@ -420,7 +420,7 @@ class he {
|
|
|
420
420
|
return n === void 0 && st.set(e.strings, n = new ce(e)), n;
|
|
421
421
|
}
|
|
422
422
|
k(e) {
|
|
423
|
-
|
|
423
|
+
Ye(this._$AH) || (this._$AH = [], this._$AR());
|
|
424
424
|
const n = this._$AH;
|
|
425
425
|
let r, i = 0;
|
|
426
426
|
for (const o of e) i === n.length ? n.push(r = new he(this.O(le()), this.O(le()), this, this.options)) : r = n[i], r._$AI(o), i++;
|
|
@@ -451,11 +451,11 @@ class Se {
|
|
|
451
451
|
_$AI(e, n = this, r, i) {
|
|
452
452
|
const o = this.strings;
|
|
453
453
|
let s = !1;
|
|
454
|
-
if (o === void 0) e = J(this, e, n, 0), s = !de(e) || e !== this._$AH && e !==
|
|
454
|
+
if (o === void 0) e = J(this, e, n, 0), s = !de(e) || e !== this._$AH && e !== Z, s && (this._$AH = e);
|
|
455
455
|
else {
|
|
456
456
|
const l = e;
|
|
457
457
|
let a, d;
|
|
458
|
-
for (e = o[0], a = 0; a < o.length - 1; a++) d = J(this, l[r + a], n, a), d ===
|
|
458
|
+
for (e = o[0], a = 0; a < o.length - 1; a++) d = J(this, l[r + a], n, a), d === Z && (d = this._$AH[a]), s || (s = !de(d) || d !== this._$AH[a]), d === I ? e = I : e !== I && (e += (d ?? "") + o[a + 1]), this._$AH[a] = d;
|
|
459
459
|
}
|
|
460
460
|
s && !i && this.j(e);
|
|
461
461
|
}
|
|
@@ -484,7 +484,7 @@ class Xt extends Se {
|
|
|
484
484
|
super(e, n, r, i, o), this.type = 5;
|
|
485
485
|
}
|
|
486
486
|
_$AI(e, n = this) {
|
|
487
|
-
if ((e = J(this, e, n, 0) ?? I) ===
|
|
487
|
+
if ((e = J(this, e, n, 0) ?? I) === Z) return;
|
|
488
488
|
const r = this._$AH, i = e === I && r !== I || e.capture !== r.capture || e.once !== r.once || e.passive !== r.passive, o = e !== I && (r === I || i);
|
|
489
489
|
i && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
490
490
|
}
|
|
@@ -520,7 +520,7 @@ const tn = (t, e, n) => {
|
|
|
520
520
|
* Copyright 2017 Google LLC
|
|
521
521
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
522
522
|
*/
|
|
523
|
-
const
|
|
523
|
+
const Y = globalThis;
|
|
524
524
|
class se extends Q {
|
|
525
525
|
constructor() {
|
|
526
526
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -543,14 +543,14 @@ class se extends Q {
|
|
|
543
543
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
544
544
|
}
|
|
545
545
|
render() {
|
|
546
|
-
return
|
|
546
|
+
return Z;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
var ut;
|
|
550
|
-
se._$litElement$ = !0, se.finalized = !0, (ut =
|
|
551
|
-
const Me =
|
|
550
|
+
se._$litElement$ = !0, se.finalized = !0, (ut = Y.litElementHydrateSupport) == null || ut.call(Y, { LitElement: se });
|
|
551
|
+
const Me = Y.litElementPolyfillSupport;
|
|
552
552
|
Me == null || Me({ LitElement: se });
|
|
553
|
-
(
|
|
553
|
+
(Y.litElementVersions ?? (Y.litElementVersions = [])).push("4.2.1");
|
|
554
554
|
/**
|
|
555
555
|
* @license
|
|
556
556
|
* Copyright 2017 Google LLC
|
|
@@ -1351,7 +1351,7 @@ var cn = class {
|
|
|
1351
1351
|
n(t);
|
|
1352
1352
|
});
|
|
1353
1353
|
}
|
|
1354
|
-
},
|
|
1354
|
+
}, G = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, H = function(t, e, n, r, i, o, s, l, a, d) {
|
|
1355
1355
|
var c = this;
|
|
1356
1356
|
c.numeralDecimalMark = t || ".", c.numeralIntegerScale = e > 0 ? e : 0, c.numeralDecimalScale = n >= 0 ? n : 2, c.numeralThousandsGroupStyle = r || H.groupStyle.thousand, c.numeralPositiveOnly = !!i, c.stripLeadingZeroes = o !== !1, c.prefix = s || s === "" ? s : "", c.signBeforePrefix = !!l, c.tailPrefix = !!a, c.delimiter = d || d === "" ? d : ",", c.delimiterRE = d ? new RegExp("\\" + d, "g") : "";
|
|
1357
1357
|
};
|
|
@@ -1422,21 +1422,21 @@ yt.prototype = {
|
|
|
1422
1422
|
},
|
|
1423
1423
|
getFixedDateString: function(t) {
|
|
1424
1424
|
var e = this, n = e.datePattern, r = [], i = 0, o = 0, s = 0, l = 0, a = 0, d = 0, c, h, f, u = !1;
|
|
1425
|
-
t.length === 4 && n[0].toLowerCase() !== "y" && n[1].toLowerCase() !== "y" && (l = n[0] === "d" ? 0 : 2, a = 2 - l, c = parseInt(t.slice(l, l + 2), 10), h = parseInt(t.slice(a, a + 2), 10), r = this.getFixedDate(c, h, 0)), t.length === 8 && (n.forEach(function(g,
|
|
1425
|
+
t.length === 4 && n[0].toLowerCase() !== "y" && n[1].toLowerCase() !== "y" && (l = n[0] === "d" ? 0 : 2, a = 2 - l, c = parseInt(t.slice(l, l + 2), 10), h = parseInt(t.slice(a, a + 2), 10), r = this.getFixedDate(c, h, 0)), t.length === 8 && (n.forEach(function(g, E) {
|
|
1426
1426
|
switch (g) {
|
|
1427
1427
|
case "d":
|
|
1428
|
-
i =
|
|
1428
|
+
i = E;
|
|
1429
1429
|
break;
|
|
1430
1430
|
case "m":
|
|
1431
|
-
o =
|
|
1431
|
+
o = E;
|
|
1432
1432
|
break;
|
|
1433
1433
|
default:
|
|
1434
|
-
s =
|
|
1434
|
+
s = E;
|
|
1435
1435
|
break;
|
|
1436
1436
|
}
|
|
1437
1437
|
}), d = s * 2, l = i <= s ? i * 2 : i * 2 + 2, a = o <= s ? o * 2 : o * 2 + 2, c = parseInt(t.slice(l, l + 2), 10), h = parseInt(t.slice(a, a + 2), 10), f = parseInt(t.slice(d, d + 4), 10), u = t.slice(d, d + 4).length === 4, r = this.getFixedDate(c, h, f)), t.length === 4 && (n[0] === "y" || n[1] === "y") && (a = n[0] === "m" ? 0 : 2, d = 2 - a, h = parseInt(t.slice(a, a + 2), 10), f = parseInt(t.slice(d, d + 2), 10), u = t.slice(d, d + 2).length === 2, r = [0, h, f]), t.length === 6 && (n[0] === "Y" || n[1] === "Y") && (a = n[0] === "m" ? 0 : 4, d = 2 - 0.5 * a, h = parseInt(t.slice(a, a + 2), 10), f = parseInt(t.slice(d, d + 4), 10), u = t.slice(d, d + 4).length === 4, r = [0, h, f]), r = e.getRangeFixedDate(r), e.date = r;
|
|
1438
|
-
var m = r.length === 0 ? t : n.reduce(function(g,
|
|
1439
|
-
switch (
|
|
1438
|
+
var m = r.length === 0 ? t : n.reduce(function(g, E) {
|
|
1439
|
+
switch (E) {
|
|
1440
1440
|
case "d":
|
|
1441
1441
|
return g + (r[0] === 0 ? "" : e.addLeadingZero(r[0]));
|
|
1442
1442
|
case "m":
|
|
@@ -1577,7 +1577,7 @@ wt.prototype = {
|
|
|
1577
1577
|
return n = n.replace(/[()]/g, ""), n = n.replace(/[\s-]/g, e.delimiter), n;
|
|
1578
1578
|
}
|
|
1579
1579
|
};
|
|
1580
|
-
var mn = wt,
|
|
1580
|
+
var mn = wt, Fe = {
|
|
1581
1581
|
blocks: {
|
|
1582
1582
|
uatp: [4, 5, 6],
|
|
1583
1583
|
amex: [4, 6, 5],
|
|
@@ -1629,7 +1629,7 @@ var mn = wt, Be = {
|
|
|
1629
1629
|
return t.concat(19 - e);
|
|
1630
1630
|
},
|
|
1631
1631
|
getInfo: function(t, e) {
|
|
1632
|
-
var n =
|
|
1632
|
+
var n = Fe.blocks, r = Fe.re;
|
|
1633
1633
|
e = !!e;
|
|
1634
1634
|
for (var i in r)
|
|
1635
1635
|
if (r[i].test(t)) {
|
|
@@ -1644,7 +1644,7 @@ var mn = wt, Be = {
|
|
|
1644
1644
|
blocks: e ? this.getStrictBlocks(n.general) : n.general
|
|
1645
1645
|
};
|
|
1646
1646
|
}
|
|
1647
|
-
}, pn =
|
|
1647
|
+
}, pn = Fe, gn = {
|
|
1648
1648
|
noop: function() {
|
|
1649
1649
|
},
|
|
1650
1650
|
strip: function(t, e) {
|
|
@@ -1778,7 +1778,7 @@ var mn = wt, Be = {
|
|
|
1778
1778
|
// for now just keep it as simple
|
|
1779
1779
|
assign: function(t, e) {
|
|
1780
1780
|
return t = t || {}, e = e || {}, t.creditCard = !!e.creditCard, t.creditCardStrictMode = !!e.creditCardStrictMode, t.creditCardType = "", t.onCreditCardTypeChanged = e.onCreditCardTypeChanged || function() {
|
|
1781
|
-
}, t.phone = !!e.phone, t.phoneRegionCode = e.phoneRegionCode || "AU", t.phoneFormatter = {}, t.time = !!e.time, t.timePattern = e.timePattern || ["h", "m", "s"], t.timeFormat = e.timeFormat || "24", t.timeFormatter = {}, t.date = !!e.date, t.datePattern = e.datePattern || ["d", "m", "Y"], t.dateMin = e.dateMin || "", t.dateMax = e.dateMax || "", t.dateFormatter = {}, t.numeral = !!e.numeral, t.numeralIntegerScale = e.numeralIntegerScale > 0 ? e.numeralIntegerScale : 0, t.numeralDecimalScale = e.numeralDecimalScale >= 0 ? e.numeralDecimalScale : 2, t.numeralDecimalMark = e.numeralDecimalMark || ".", t.numeralThousandsGroupStyle = e.numeralThousandsGroupStyle || "thousand", t.numeralPositiveOnly = !!e.numeralPositiveOnly, t.stripLeadingZeroes = e.stripLeadingZeroes !== !1, t.signBeforePrefix = !!e.signBeforePrefix, t.tailPrefix = !!e.tailPrefix, t.swapHiddenInput = !!e.swapHiddenInput, t.numericOnly = t.creditCard || t.date || !!e.numericOnly, t.uppercase = !!e.uppercase, t.lowercase = !!e.lowercase, t.prefix = t.creditCard || t.date ? "" : e.prefix || "", t.noImmediatePrefix = !!e.noImmediatePrefix, t.prefixLength = t.prefix.length, t.rawValueTrimPrefix = !!e.rawValueTrimPrefix, t.copyDelimiter = !!e.copyDelimiter, t.initValue = e.initValue !== void 0 && e.initValue !== null ? e.initValue.toString() : "", t.delimiter = e.delimiter || e.delimiter === "" ? e.delimiter : e.date ? "/" : e.time ? ":" : e.numeral ? "," : (e.phone, " "), t.delimiterLength = t.delimiter.length, t.delimiterLazyShow = !!e.delimiterLazyShow, t.delimiters = e.delimiters || [], t.blocks = e.blocks || [], t.blocksLength = t.blocks.length, t.root = typeof
|
|
1781
|
+
}, t.phone = !!e.phone, t.phoneRegionCode = e.phoneRegionCode || "AU", t.phoneFormatter = {}, t.time = !!e.time, t.timePattern = e.timePattern || ["h", "m", "s"], t.timeFormat = e.timeFormat || "24", t.timeFormatter = {}, t.date = !!e.date, t.datePattern = e.datePattern || ["d", "m", "Y"], t.dateMin = e.dateMin || "", t.dateMax = e.dateMax || "", t.dateFormatter = {}, t.numeral = !!e.numeral, t.numeralIntegerScale = e.numeralIntegerScale > 0 ? e.numeralIntegerScale : 0, t.numeralDecimalScale = e.numeralDecimalScale >= 0 ? e.numeralDecimalScale : 2, t.numeralDecimalMark = e.numeralDecimalMark || ".", t.numeralThousandsGroupStyle = e.numeralThousandsGroupStyle || "thousand", t.numeralPositiveOnly = !!e.numeralPositiveOnly, t.stripLeadingZeroes = e.stripLeadingZeroes !== !1, t.signBeforePrefix = !!e.signBeforePrefix, t.tailPrefix = !!e.tailPrefix, t.swapHiddenInput = !!e.swapHiddenInput, t.numericOnly = t.creditCard || t.date || !!e.numericOnly, t.uppercase = !!e.uppercase, t.lowercase = !!e.lowercase, t.prefix = t.creditCard || t.date ? "" : e.prefix || "", t.noImmediatePrefix = !!e.noImmediatePrefix, t.prefixLength = t.prefix.length, t.rawValueTrimPrefix = !!e.rawValueTrimPrefix, t.copyDelimiter = !!e.copyDelimiter, t.initValue = e.initValue !== void 0 && e.initValue !== null ? e.initValue.toString() : "", t.delimiter = e.delimiter || e.delimiter === "" ? e.delimiter : e.date ? "/" : e.time ? ":" : e.numeral ? "," : (e.phone, " "), t.delimiterLength = t.delimiter.length, t.delimiterLazyShow = !!e.delimiterLazyShow, t.delimiters = e.delimiters || [], t.blocks = e.blocks || [], t.blocksLength = t.blocks.length, t.root = typeof G == "object" && G ? G : window, t.document = e.document || t.root.document, t.maxLength = 0, t.backspace = !1, t.result = "", t.onValueChanged = e.onValueChanged || function() {
|
|
1782
1782
|
}, t;
|
|
1783
1783
|
}
|
|
1784
1784
|
}, wn = bn, x = function(t, e) {
|
|
@@ -1959,11 +1959,11 @@ x.PhoneFormatter = mn;
|
|
|
1959
1959
|
x.CreditCardDetector = pn;
|
|
1960
1960
|
x.Util = yn;
|
|
1961
1961
|
x.DefaultProperties = wn;
|
|
1962
|
-
(typeof
|
|
1962
|
+
(typeof G == "object" && G ? G : window).Cleave = x;
|
|
1963
1963
|
var at = x, fe = {}, vn = function() {
|
|
1964
1964
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
1965
1965
|
}, vt = {}, D = {};
|
|
1966
|
-
let
|
|
1966
|
+
let je;
|
|
1967
1967
|
const xn = [
|
|
1968
1968
|
0,
|
|
1969
1969
|
// Not used
|
|
@@ -2025,13 +2025,13 @@ D.getBCHDigit = function(t) {
|
|
|
2025
2025
|
D.setToSJISFunction = function(e) {
|
|
2026
2026
|
if (typeof e != "function")
|
|
2027
2027
|
throw new Error('"toSJISFunc" is not a valid function.');
|
|
2028
|
-
|
|
2028
|
+
je = e;
|
|
2029
2029
|
};
|
|
2030
2030
|
D.isKanjiModeEnabled = function() {
|
|
2031
|
-
return typeof
|
|
2031
|
+
return typeof je < "u";
|
|
2032
2032
|
};
|
|
2033
2033
|
D.toSJIS = function(e) {
|
|
2034
|
-
return
|
|
2034
|
+
return je(e);
|
|
2035
2035
|
};
|
|
2036
2036
|
var Ce = {};
|
|
2037
2037
|
(function(t) {
|
|
@@ -2127,9 +2127,9 @@ var Cn = me, St = {};
|
|
|
2127
2127
|
};
|
|
2128
2128
|
})(St);
|
|
2129
2129
|
var Ct = {};
|
|
2130
|
-
const
|
|
2130
|
+
const En = D.getSymbolSize, lt = 7;
|
|
2131
2131
|
Ct.getPositions = function(e) {
|
|
2132
|
-
const n =
|
|
2132
|
+
const n = En(e);
|
|
2133
2133
|
return [
|
|
2134
2134
|
// top-left
|
|
2135
2135
|
[0, 0],
|
|
@@ -2139,7 +2139,7 @@ Ct.getPositions = function(e) {
|
|
|
2139
2139
|
[0, n - lt]
|
|
2140
2140
|
];
|
|
2141
2141
|
};
|
|
2142
|
-
var
|
|
2142
|
+
var Et = {};
|
|
2143
2143
|
(function(t) {
|
|
2144
2144
|
t.Patterns = {
|
|
2145
2145
|
PATTERN000: 0,
|
|
@@ -2234,8 +2234,8 @@ var kt = {};
|
|
|
2234
2234
|
}
|
|
2235
2235
|
return l;
|
|
2236
2236
|
};
|
|
2237
|
-
})(
|
|
2238
|
-
var
|
|
2237
|
+
})(Et);
|
|
2238
|
+
var Ee = {};
|
|
2239
2239
|
const U = Ce, pe = [
|
|
2240
2240
|
// L M Q H
|
|
2241
2241
|
1,
|
|
@@ -2561,7 +2561,7 @@ const U = Ce, pe = [
|
|
|
2561
2561
|
2040,
|
|
2562
2562
|
2430
|
|
2563
2563
|
];
|
|
2564
|
-
|
|
2564
|
+
Ee.getBlocksCount = function(e, n) {
|
|
2565
2565
|
switch (n) {
|
|
2566
2566
|
case U.L:
|
|
2567
2567
|
return pe[(e - 1) * 4 + 0];
|
|
@@ -2575,7 +2575,7 @@ ke.getBlocksCount = function(e, n) {
|
|
|
2575
2575
|
return;
|
|
2576
2576
|
}
|
|
2577
2577
|
};
|
|
2578
|
-
|
|
2578
|
+
Ee.getTotalCodewordsCount = function(e, n) {
|
|
2579
2579
|
switch (n) {
|
|
2580
2580
|
case U.L:
|
|
2581
2581
|
return ge[(e - 1) * 4 + 0];
|
|
@@ -2589,7 +2589,7 @@ ke.getTotalCodewordsCount = function(e, n) {
|
|
|
2589
2589
|
return;
|
|
2590
2590
|
}
|
|
2591
2591
|
};
|
|
2592
|
-
var
|
|
2592
|
+
var kt = {}, ke = {};
|
|
2593
2593
|
const ae = new Uint8Array(512), ve = new Uint8Array(256);
|
|
2594
2594
|
(function() {
|
|
2595
2595
|
let e = 1;
|
|
@@ -2598,18 +2598,18 @@ const ae = new Uint8Array(512), ve = new Uint8Array(256);
|
|
|
2598
2598
|
for (let n = 255; n < 512; n++)
|
|
2599
2599
|
ae[n] = ae[n - 255];
|
|
2600
2600
|
})();
|
|
2601
|
-
|
|
2601
|
+
ke.log = function(e) {
|
|
2602
2602
|
if (e < 1) throw new Error("log(" + e + ")");
|
|
2603
2603
|
return ve[e];
|
|
2604
2604
|
};
|
|
2605
|
-
|
|
2605
|
+
ke.exp = function(e) {
|
|
2606
2606
|
return ae[e];
|
|
2607
2607
|
};
|
|
2608
|
-
|
|
2608
|
+
ke.mul = function(e, n) {
|
|
2609
2609
|
return e === 0 || n === 0 ? 0 : ae[ve[e] + ve[n]];
|
|
2610
2610
|
};
|
|
2611
2611
|
(function(t) {
|
|
2612
|
-
const e =
|
|
2612
|
+
const e = ke;
|
|
2613
2613
|
t.mul = function(r, i) {
|
|
2614
2614
|
const o = new Uint8Array(r.length + i.length - 1);
|
|
2615
2615
|
for (let s = 0; s < r.length; s++)
|
|
@@ -2633,8 +2633,8 @@ Ee.mul = function(e, n) {
|
|
|
2633
2633
|
i = t.mul(i, new Uint8Array([1, e.exp(o)]));
|
|
2634
2634
|
return i;
|
|
2635
2635
|
};
|
|
2636
|
-
})(
|
|
2637
|
-
const At =
|
|
2636
|
+
})(kt);
|
|
2637
|
+
const At = kt;
|
|
2638
2638
|
function Ke(t) {
|
|
2639
2639
|
this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
|
|
2640
2640
|
}
|
|
@@ -2653,33 +2653,33 @@ Ke.prototype.encode = function(e) {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
return r;
|
|
2655
2655
|
};
|
|
2656
|
-
var
|
|
2656
|
+
var kn = Ke, Pt = {}, z = {}, Qe = {};
|
|
2657
2657
|
Qe.isValid = function(e) {
|
|
2658
2658
|
return !isNaN(e) && e >= 1 && e <= 40;
|
|
2659
2659
|
};
|
|
2660
|
-
var
|
|
2660
|
+
var R = {};
|
|
2661
2661
|
const It = "[0-9]+", An = "[A-Z $%*+\\-./:]+";
|
|
2662
2662
|
let ue = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
2663
2663
|
ue = ue.replace(/u/g, "\\u");
|
|
2664
2664
|
const Pn = "(?:(?![A-Z0-9 $%*+\\-./:]|" + ue + `)(?:.|[\r
|
|
2665
2665
|
]))+`;
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2666
|
+
R.KANJI = new RegExp(ue, "g");
|
|
2667
|
+
R.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
2668
|
+
R.BYTE = new RegExp(Pn, "g");
|
|
2669
|
+
R.NUMERIC = new RegExp(It, "g");
|
|
2670
|
+
R.ALPHANUMERIC = new RegExp(An, "g");
|
|
2671
2671
|
const In = new RegExp("^" + ue + "$"), _n = new RegExp("^" + It + "$"), Dn = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
2672
|
-
|
|
2672
|
+
R.testKanji = function(e) {
|
|
2673
2673
|
return In.test(e);
|
|
2674
2674
|
};
|
|
2675
|
-
|
|
2675
|
+
R.testNumeric = function(e) {
|
|
2676
2676
|
return _n.test(e);
|
|
2677
2677
|
};
|
|
2678
|
-
|
|
2678
|
+
R.testAlphanumeric = function(e) {
|
|
2679
2679
|
return Dn.test(e);
|
|
2680
2680
|
};
|
|
2681
2681
|
(function(t) {
|
|
2682
|
-
const e = Qe, n =
|
|
2682
|
+
const e = Qe, n = R;
|
|
2683
2683
|
t.NUMERIC = {
|
|
2684
2684
|
id: "Numeric",
|
|
2685
2685
|
bit: 1,
|
|
@@ -2738,7 +2738,7 @@ F.testAlphanumeric = function(e) {
|
|
|
2738
2738
|
};
|
|
2739
2739
|
})(z);
|
|
2740
2740
|
(function(t) {
|
|
2741
|
-
const e = D, n =
|
|
2741
|
+
const e = D, n = Ee, r = Ce, i = z, o = Qe, s = 7973, l = e.getBCHDigit(s);
|
|
2742
2742
|
function a(f, u, m) {
|
|
2743
2743
|
for (let g = 1; g <= 40; g++)
|
|
2744
2744
|
if (u <= t.getCapacity(g, m, f))
|
|
@@ -2750,8 +2750,8 @@ F.testAlphanumeric = function(e) {
|
|
|
2750
2750
|
function c(f, u) {
|
|
2751
2751
|
let m = 0;
|
|
2752
2752
|
return f.forEach(function(g) {
|
|
2753
|
-
const
|
|
2754
|
-
m +=
|
|
2753
|
+
const E = d(g.mode, u);
|
|
2754
|
+
m += E + g.getBitsLength();
|
|
2755
2755
|
}), m;
|
|
2756
2756
|
}
|
|
2757
2757
|
function h(f, u) {
|
|
@@ -2765,7 +2765,7 @@ F.testAlphanumeric = function(e) {
|
|
|
2765
2765
|
if (!o.isValid(u))
|
|
2766
2766
|
throw new Error("Invalid QR Code version");
|
|
2767
2767
|
typeof g > "u" && (g = i.BYTE);
|
|
2768
|
-
const
|
|
2768
|
+
const E = e.getSymbolTotalCodewords(u), b = n.getTotalCodewordsCount(u, m), w = (E - b) * 8;
|
|
2769
2769
|
if (g === i.MIXED) return w;
|
|
2770
2770
|
const y = w - d(g, u);
|
|
2771
2771
|
switch (g) {
|
|
@@ -2781,16 +2781,16 @@ F.testAlphanumeric = function(e) {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
}, t.getBestVersionForData = function(u, m) {
|
|
2783
2783
|
let g;
|
|
2784
|
-
const
|
|
2784
|
+
const E = r.from(m, r.M);
|
|
2785
2785
|
if (Array.isArray(u)) {
|
|
2786
2786
|
if (u.length > 1)
|
|
2787
|
-
return h(u,
|
|
2787
|
+
return h(u, E);
|
|
2788
2788
|
if (u.length === 0)
|
|
2789
2789
|
return 1;
|
|
2790
2790
|
g = u[0];
|
|
2791
2791
|
} else
|
|
2792
2792
|
g = u;
|
|
2793
|
-
return a(g.mode, g.getLength(),
|
|
2793
|
+
return a(g.mode, g.getLength(), E);
|
|
2794
2794
|
}, t.getEncodedBits = function(u) {
|
|
2795
2795
|
if (!o.isValid(u) || u < 7)
|
|
2796
2796
|
throw new Error("Invalid QR Code version");
|
|
@@ -2898,10 +2898,10 @@ X.prototype.write = function(e) {
|
|
|
2898
2898
|
}
|
|
2899
2899
|
this.data.length % 2 && e.put($e.indexOf(this.data[n]), 6);
|
|
2900
2900
|
};
|
|
2901
|
-
var
|
|
2902
|
-
const
|
|
2901
|
+
var Rn = X;
|
|
2902
|
+
const Bn = z;
|
|
2903
2903
|
function ee(t) {
|
|
2904
|
-
this.mode =
|
|
2904
|
+
this.mode = Bn.BYTE, typeof t == "string" ? this.data = new TextEncoder().encode(t) : this.data = new Uint8Array(t);
|
|
2905
2905
|
}
|
|
2906
2906
|
ee.getBitsLength = function(e) {
|
|
2907
2907
|
return e * 8;
|
|
@@ -2916,7 +2916,7 @@ ee.prototype.write = function(t) {
|
|
|
2916
2916
|
for (let e = 0, n = this.data.length; e < n; e++)
|
|
2917
2917
|
t.put(this.data[e], 8);
|
|
2918
2918
|
};
|
|
2919
|
-
var
|
|
2919
|
+
var Fn = ee;
|
|
2920
2920
|
const Ln = z, Un = D;
|
|
2921
2921
|
function te(t) {
|
|
2922
2922
|
this.mode = Ln.KANJI, this.data = t;
|
|
@@ -2954,10 +2954,10 @@ var On = te, $t = { exports: {} };
|
|
|
2954
2954
|
s[r] = 0;
|
|
2955
2955
|
var l = e.PriorityQueue.make();
|
|
2956
2956
|
l.push(r, 0);
|
|
2957
|
-
for (var a, d, c, h, f, u, m, g,
|
|
2957
|
+
for (var a, d, c, h, f, u, m, g, E; !l.empty(); ) {
|
|
2958
2958
|
a = l.pop(), d = a.value, h = a.cost, f = n[d] || {};
|
|
2959
2959
|
for (c in f)
|
|
2960
|
-
f.hasOwnProperty(c) && (u = f[c], m = h + u, g = s[c],
|
|
2960
|
+
f.hasOwnProperty(c) && (u = f[c], m = h + u, g = s[c], E = typeof s[c] > "u", (E || g > m) && (s[c] = m, l.push(c, m), o[c] = d));
|
|
2961
2961
|
}
|
|
2962
2962
|
if (typeof i < "u" && typeof s[i] > "u") {
|
|
2963
2963
|
var b = ["Could not find a path from ", r, " to ", i, "."].join("");
|
|
@@ -3014,7 +3014,7 @@ var On = te, $t = { exports: {} };
|
|
|
3014
3014
|
})($t);
|
|
3015
3015
|
var zn = $t.exports;
|
|
3016
3016
|
(function(t) {
|
|
3017
|
-
const e = z, n = Nn, r =
|
|
3017
|
+
const e = z, n = Nn, r = Rn, i = Fn, o = On, s = R, l = D, a = zn;
|
|
3018
3018
|
function d(b) {
|
|
3019
3019
|
return unescape(encodeURIComponent(b)).length;
|
|
3020
3020
|
}
|
|
@@ -3096,23 +3096,23 @@ var zn = $t.exports;
|
|
|
3096
3096
|
function g(b, w) {
|
|
3097
3097
|
const y = {}, p = { start: {} };
|
|
3098
3098
|
let C = ["start"];
|
|
3099
|
-
for (let
|
|
3100
|
-
const P = b[
|
|
3101
|
-
for (let
|
|
3102
|
-
const T = P[
|
|
3099
|
+
for (let k = 0; k < b.length; k++) {
|
|
3100
|
+
const P = b[k], N = [];
|
|
3101
|
+
for (let F = 0; F < P.length; F++) {
|
|
3102
|
+
const T = P[F], ne = "" + k + F;
|
|
3103
3103
|
N.push(ne), y[ne] = { node: T, lastCount: 0 }, p[ne] = {};
|
|
3104
3104
|
for (let Pe = 0; Pe < C.length; Pe++) {
|
|
3105
|
-
const
|
|
3106
|
-
y[
|
|
3105
|
+
const B = C[Pe];
|
|
3106
|
+
y[B] && y[B].node.mode === T.mode ? (p[B][ne] = f(y[B].lastCount + T.length, T.mode) - f(y[B].lastCount, T.mode), y[B].lastCount += T.length) : (y[B] && (y[B].lastCount = T.length), p[B][ne] = f(T.length, T.mode) + 4 + e.getCharCountIndicator(T.mode, w));
|
|
3107
3107
|
}
|
|
3108
3108
|
}
|
|
3109
3109
|
C = N;
|
|
3110
3110
|
}
|
|
3111
|
-
for (let
|
|
3112
|
-
p[C[
|
|
3111
|
+
for (let k = 0; k < C.length; k++)
|
|
3112
|
+
p[C[k]].end = 0;
|
|
3113
3113
|
return { map: p, table: y };
|
|
3114
3114
|
}
|
|
3115
|
-
function
|
|
3115
|
+
function E(b, w) {
|
|
3116
3116
|
let y;
|
|
3117
3117
|
const p = e.getBestModeForData(b);
|
|
3118
3118
|
if (y = e.from(w, p), y !== e.BYTE && y.bit < p.bit)
|
|
@@ -3131,12 +3131,12 @@ var zn = $t.exports;
|
|
|
3131
3131
|
}
|
|
3132
3132
|
t.fromArray = function(w) {
|
|
3133
3133
|
return w.reduce(function(y, p) {
|
|
3134
|
-
return typeof p == "string" ? y.push(
|
|
3134
|
+
return typeof p == "string" ? y.push(E(p, null)) : p.data && y.push(E(p.data, p.mode)), y;
|
|
3135
3135
|
}, []);
|
|
3136
3136
|
}, t.fromString = function(w, y) {
|
|
3137
|
-
const p = h(w, l.isKanjiModeEnabled()), C = m(p),
|
|
3138
|
-
for (let
|
|
3139
|
-
N.push(
|
|
3137
|
+
const p = h(w, l.isKanjiModeEnabled()), C = m(p), k = g(C, y), P = a.find_path(k.map, "start", "end"), N = [];
|
|
3138
|
+
for (let F = 1; F < P.length - 1; F++)
|
|
3139
|
+
N.push(k.table[P[F]].node);
|
|
3140
3140
|
return t.fromArray(u(N));
|
|
3141
3141
|
}, t.rawSplit = function(w) {
|
|
3142
3142
|
return t.fromArray(
|
|
@@ -3144,9 +3144,9 @@ var zn = $t.exports;
|
|
|
3144
3144
|
);
|
|
3145
3145
|
};
|
|
3146
3146
|
})(Mt);
|
|
3147
|
-
const Ae = D, Ne = Ce, qn = Sn, Vn = Cn, Hn = St,
|
|
3148
|
-
function
|
|
3149
|
-
const n = t.size, r =
|
|
3147
|
+
const Ae = D, Ne = Ce, qn = Sn, Vn = Cn, Hn = St, Yn = Ct, Ue = Et, Oe = Ee, jn = kn, xe = Pt, Kn = _t, Qn = z, Te = Mt;
|
|
3148
|
+
function Gn(t, e) {
|
|
3149
|
+
const n = t.size, r = Yn.getPositions(e);
|
|
3150
3150
|
for (let i = 0; i < r.length; i++) {
|
|
3151
3151
|
const o = r[i][0], s = r[i][1];
|
|
3152
3152
|
for (let l = -1; l <= 7; l++)
|
|
@@ -3155,7 +3155,7 @@ function Zn(t, e) {
|
|
|
3155
3155
|
s + a <= -1 || n <= s + a || (l >= 0 && l <= 6 && (a === 0 || a === 6) || a >= 0 && a <= 6 && (l === 0 || l === 6) || l >= 2 && l <= 4 && a >= 2 && a <= 4 ? t.set(o + l, s + a, !0, !0) : t.set(o + l, s + a, !1, !0));
|
|
3156
3156
|
}
|
|
3157
3157
|
}
|
|
3158
|
-
function
|
|
3158
|
+
function Zn(t) {
|
|
3159
3159
|
const e = t.size;
|
|
3160
3160
|
for (let n = 8; n < e - 8; n++) {
|
|
3161
3161
|
const r = n % 2 === 0;
|
|
@@ -3177,7 +3177,7 @@ function Wn(t, e) {
|
|
|
3177
3177
|
for (let l = 0; l < 18; l++)
|
|
3178
3178
|
i = Math.floor(l / 3), o = l % 3 + n - 8 - 3, s = (r >> l & 1) === 1, t.set(i, o, s, !0), t.set(o, i, s, !0);
|
|
3179
3179
|
}
|
|
3180
|
-
function
|
|
3180
|
+
function Re(t, e, n) {
|
|
3181
3181
|
const r = t.size, i = Kn.getEncodedBits(e, n);
|
|
3182
3182
|
let o, s;
|
|
3183
3183
|
for (o = 0; o < 15; o++)
|
|
@@ -3214,23 +3214,23 @@ function er(t, e, n) {
|
|
|
3214
3214
|
return tr(r, t, e);
|
|
3215
3215
|
}
|
|
3216
3216
|
function tr(t, e, n) {
|
|
3217
|
-
const r = Ae.getSymbolTotalCodewords(e), i = Oe.getTotalCodewordsCount(e, n), o = r - i, s = Oe.getBlocksCount(e, n), l = r % s, a = s - l, d = Math.floor(r / s), c = Math.floor(o / s), h = c + 1, f = d - c, u = new
|
|
3217
|
+
const r = Ae.getSymbolTotalCodewords(e), i = Oe.getTotalCodewordsCount(e, n), o = r - i, s = Oe.getBlocksCount(e, n), l = r % s, a = s - l, d = Math.floor(r / s), c = Math.floor(o / s), h = c + 1, f = d - c, u = new jn(f);
|
|
3218
3218
|
let m = 0;
|
|
3219
|
-
const g = new Array(s),
|
|
3219
|
+
const g = new Array(s), E = new Array(s);
|
|
3220
3220
|
let b = 0;
|
|
3221
3221
|
const w = new Uint8Array(t.buffer);
|
|
3222
3222
|
for (let P = 0; P < s; P++) {
|
|
3223
3223
|
const N = P < a ? c : h;
|
|
3224
|
-
g[P] = w.slice(m, m + N),
|
|
3224
|
+
g[P] = w.slice(m, m + N), E[P] = u.encode(g[P]), m += N, b = Math.max(b, N);
|
|
3225
3225
|
}
|
|
3226
3226
|
const y = new Uint8Array(r);
|
|
3227
|
-
let p = 0, C,
|
|
3227
|
+
let p = 0, C, k;
|
|
3228
3228
|
for (C = 0; C < b; C++)
|
|
3229
|
-
for (
|
|
3230
|
-
C < g[
|
|
3229
|
+
for (k = 0; k < s; k++)
|
|
3230
|
+
C < g[k].length && (y[p++] = g[k][C]);
|
|
3231
3231
|
for (C = 0; C < f; C++)
|
|
3232
|
-
for (
|
|
3233
|
-
y[p++] = k
|
|
3232
|
+
for (k = 0; k < s; k++)
|
|
3233
|
+
y[p++] = E[k][C];
|
|
3234
3234
|
return y;
|
|
3235
3235
|
}
|
|
3236
3236
|
function nr(t, e, n, r) {
|
|
@@ -3259,10 +3259,10 @@ Minimum version required to store current data is: ` + o + `.
|
|
|
3259
3259
|
`
|
|
3260
3260
|
);
|
|
3261
3261
|
const s = er(e, n, i), l = Ae.getSymbolSize(e), a = new Vn(l);
|
|
3262
|
-
return
|
|
3262
|
+
return Gn(a, e), Zn(a), Jn(a, e), Re(a, n, 0), e >= 7 && Wn(a, e), Xn(a, s), isNaN(r) && (r = Ue.getBestMask(
|
|
3263
3263
|
a,
|
|
3264
|
-
|
|
3265
|
-
)), Ue.applyMask(r, a),
|
|
3264
|
+
Re.bind(null, a, n)
|
|
3265
|
+
)), Ue.applyMask(r, a), Re(a, n, r), {
|
|
3266
3266
|
modules: a,
|
|
3267
3267
|
version: e,
|
|
3268
3268
|
errorCorrectionLevel: n,
|
|
@@ -3276,7 +3276,7 @@ vt.create = function(e, n) {
|
|
|
3276
3276
|
let r = Ne.M, i, o;
|
|
3277
3277
|
return typeof n < "u" && (r = Ne.from(n.errorCorrectionLevel, Ne.M), i = xe.from(n.version), o = Ue.from(n.maskPattern), n.toSJISFunc && Ae.setToSJISFunction(n.toSJISFunc)), nr(e, i, r, o);
|
|
3278
3278
|
};
|
|
3279
|
-
var Nt = {},
|
|
3279
|
+
var Nt = {}, Ge = {};
|
|
3280
3280
|
(function(t) {
|
|
3281
3281
|
function e(n) {
|
|
3282
3282
|
if (typeof n == "number" && (n = n.toString()), typeof n != "string")
|
|
@@ -3321,15 +3321,15 @@ var Nt = {}, Ze = {};
|
|
|
3321
3321
|
for (let u = 0; u < d; u++) {
|
|
3322
3322
|
let m = (f * d + u) * 4, g = o.color.light;
|
|
3323
3323
|
if (f >= c && u >= c && f < d - c && u < d - c) {
|
|
3324
|
-
const
|
|
3325
|
-
g = h[l[
|
|
3324
|
+
const E = Math.floor((f - c) / a), b = Math.floor((u - c) / a);
|
|
3325
|
+
g = h[l[E * s + b] ? 1 : 0];
|
|
3326
3326
|
}
|
|
3327
3327
|
r[m++] = g.r, r[m++] = g.g, r[m++] = g.b, r[m] = g.a;
|
|
3328
3328
|
}
|
|
3329
3329
|
};
|
|
3330
|
-
})(
|
|
3330
|
+
})(Ge);
|
|
3331
3331
|
(function(t) {
|
|
3332
|
-
const e =
|
|
3332
|
+
const e = Ge;
|
|
3333
3333
|
function n(i, o, s) {
|
|
3334
3334
|
i.clearRect(0, 0, o.width, o.height), o.style || (o.style = {}), o.height = s, o.width = s, o.style.height = s + "px", o.style.width = s + "px";
|
|
3335
3335
|
}
|
|
@@ -3353,12 +3353,12 @@ var Nt = {}, Ze = {};
|
|
|
3353
3353
|
};
|
|
3354
3354
|
})(Nt);
|
|
3355
3355
|
var Tt = {};
|
|
3356
|
-
const rr =
|
|
3356
|
+
const rr = Ge;
|
|
3357
3357
|
function ct(t, e) {
|
|
3358
3358
|
const n = t.a / 255, r = e + '="' + t.hex + '"';
|
|
3359
3359
|
return n < 1 ? r + " " + e + '-opacity="' + n.toFixed(2).slice(1) + '"' : r;
|
|
3360
3360
|
}
|
|
3361
|
-
function
|
|
3361
|
+
function Be(t, e, n) {
|
|
3362
3362
|
let r = t + e;
|
|
3363
3363
|
return typeof n < "u" && (r += " " + n), r;
|
|
3364
3364
|
}
|
|
@@ -3366,7 +3366,7 @@ function ir(t, e, n) {
|
|
|
3366
3366
|
let r = "", i = 0, o = !1, s = 0;
|
|
3367
3367
|
for (let l = 0; l < t.length; l++) {
|
|
3368
3368
|
const a = Math.floor(l % e), d = Math.floor(l / e);
|
|
3369
|
-
!a && !o && (o = !0), t[l] ? (s++, l > 0 && a > 0 && t[l - 1] || (r += o ?
|
|
3369
|
+
!a && !o && (o = !0), t[l] ? (s++, l > 0 && a > 0 && t[l - 1] || (r += o ? Be("M", a + n, 0.5 + d + n) : Be("m", i, 0), i = 0, o = !1), a + 1 < e && t[l + 1] || (r += Be("h", s), s = 0)) : i++;
|
|
3370
3370
|
}
|
|
3371
3371
|
return r;
|
|
3372
3372
|
}
|
|
@@ -3375,8 +3375,8 @@ Tt.render = function(e, n, r) {
|
|
|
3375
3375
|
`;
|
|
3376
3376
|
return typeof r == "function" && r(null, f), f;
|
|
3377
3377
|
};
|
|
3378
|
-
const or = vn, ze = vt,
|
|
3379
|
-
function
|
|
3378
|
+
const or = vn, ze = vt, Rt = Nt, sr = Tt;
|
|
3379
|
+
function Ze(t, e, n, r, i) {
|
|
3380
3380
|
const o = [].slice.call(arguments, 1), s = o.length, l = typeof o[s - 1] == "function";
|
|
3381
3381
|
if (!l && !or())
|
|
3382
3382
|
throw new Error("Callback required as last argument");
|
|
@@ -3404,9 +3404,9 @@ function Ge(t, e, n, r, i) {
|
|
|
3404
3404
|
}
|
|
3405
3405
|
}
|
|
3406
3406
|
fe.create = ze.create;
|
|
3407
|
-
fe.toCanvas =
|
|
3408
|
-
fe.toDataURL =
|
|
3409
|
-
fe.toString =
|
|
3407
|
+
fe.toCanvas = Ze.bind(null, Rt.render);
|
|
3408
|
+
fe.toDataURL = Ze.bind(null, Rt.renderToDataURL);
|
|
3409
|
+
fe.toString = Ze.bind(null, function(t, e, n) {
|
|
3410
3410
|
return sr.render(t, n);
|
|
3411
3411
|
});
|
|
3412
3412
|
var ar = Object.defineProperty, lr = Object.getOwnPropertyDescriptor, S = (t, e, n, r) => {
|
|
@@ -3428,7 +3428,9 @@ let v = class extends se {
|
|
|
3428
3428
|
// --- Lifecycle ---
|
|
3429
3429
|
connectedCallback() {
|
|
3430
3430
|
super.connectedCallback(), window.addEventListener("message", this.handle3DSPostMessage), this.addEventListener("force-close-3ds-modal", () => {
|
|
3431
|
-
console.log(
|
|
3431
|
+
console.log(
|
|
3432
|
+
"[3DS] force-close-3ds-modal event received - closing modal immediately (React Native fix)"
|
|
3433
|
+
), this.show3DSModal && (this.show3DSModal = !1, this.nextActionUrl = null, this.leaveEventsCounter = 0);
|
|
3432
3434
|
});
|
|
3433
3435
|
}
|
|
3434
3436
|
firstUpdated() {
|
|
@@ -3515,7 +3517,9 @@ let v = class extends se {
|
|
|
3515
3517
|
}
|
|
3516
3518
|
this.isInitialized || (this.isInitialized = !0, (t = this.sdk) == null || t.destroy(), this.sdk = new cn(this.config, this.adapters), this.sdk.subscribe((e) => {
|
|
3517
3519
|
var n, r;
|
|
3518
|
-
console.log("[3DS] State changed:", (n = this.previousState) == null ? void 0 : n.status, "→", e.status), ((r = this.previousState) == null ? void 0 : r.status) === "requires_action" && e.status !== "requires_action" && this.show3DSModal && (console.log(
|
|
3520
|
+
console.log("[3DS] State changed:", (n = this.previousState) == null ? void 0 : n.status, "→", e.status), ((r = this.previousState) == null ? void 0 : r.status) === "requires_action" && e.status !== "requires_action" && this.show3DSModal && (console.log(
|
|
3521
|
+
"[3DS] State changed from requires_action - closing modal and resuming polling"
|
|
3522
|
+
), this.show3DSModal = !1, this.nextActionUrl = null, this.leaveEventsCounter = 0, this.sdk && this.sdk.resumePolling()), this.previousState = e, this.currentState = e, this.dispatchEvent(
|
|
3519
3523
|
new CustomEvent("state-change", {
|
|
3520
3524
|
detail: { state: e },
|
|
3521
3525
|
bubbles: !0,
|
|
@@ -3543,7 +3547,7 @@ let v = class extends se {
|
|
|
3543
3547
|
}), this.sdk.on("payment_requires_action", (e) => {
|
|
3544
3548
|
console.log("[3DS] payment_requires_action event - showing modal with nextActionUrl"), this.nextActionUrl = e.payload.actionUrl, this.show3DSModal = !0, this.paymentLocked = !0, this.leaveEventsCounter = 0;
|
|
3545
3549
|
}), this.sdk.on("poll_started", () => {
|
|
3546
|
-
console.log("[3DS] poll_started event -
|
|
3550
|
+
console.log("[3DS] poll_started event - first poll request sent, closing modal"), this.show3DSModal && (console.log("[3DS] Closing 3DS modal and resuming polling (React Native fix)"), this.show3DSModal = !1, this.nextActionUrl = null, this.leaveEventsCounter = 0, this.sdk && this.sdk.resumePolling());
|
|
3547
3551
|
}), this.sdk.on(
|
|
3548
3552
|
"qr_code_received",
|
|
3549
3553
|
async (e) => {
|
|
@@ -3604,16 +3608,28 @@ let v = class extends se {
|
|
|
3604
3608
|
}
|
|
3605
3609
|
// Validate expiry date (MM/YY format)
|
|
3606
3610
|
validateExpiry(t) {
|
|
3607
|
-
|
|
3611
|
+
const e = t.trim();
|
|
3612
|
+
if (!/^\d{1,2}\/\d{2}$/.test(e))
|
|
3608
3613
|
return { valid: !1, error: "Invalid format (MM/YY)" };
|
|
3609
|
-
const
|
|
3610
|
-
if (!
|
|
3614
|
+
const n = e.split("/"), r = n[0], i = n[1];
|
|
3615
|
+
if (!r || !i)
|
|
3611
3616
|
return { valid: !1, error: "Invalid format (MM/YY)" };
|
|
3612
|
-
const
|
|
3613
|
-
if (
|
|
3617
|
+
const o = parseInt(r, 10);
|
|
3618
|
+
if (o < 1 || o > 12)
|
|
3614
3619
|
return { valid: !1, error: "Invalid month (01-12)" };
|
|
3615
3620
|
const s = /* @__PURE__ */ new Date(), l = s.getFullYear(), a = s.getMonth() + 1;
|
|
3616
|
-
|
|
3621
|
+
let d;
|
|
3622
|
+
if (i.length === 2) {
|
|
3623
|
+
const c = parseInt(i, 10), h = l % 100, f = Math.floor(l / 100) * 100;
|
|
3624
|
+
c < h && h - c > 80 ? d = f + 100 + c : d = f + c;
|
|
3625
|
+
} else
|
|
3626
|
+
return { valid: !1, error: "Invalid year format" };
|
|
3627
|
+
return console.log("[EXPIRY DEBUG] Input:", t), console.log("[EXPIRY DEBUG] Parsed - Month:", o, "Year:", d), console.log("[EXPIRY DEBUG] Current - Month:", a, "Year:", l), d < l ? (console.log("[EXPIRY DEBUG] EXPIRED - year", d, "is less than current year", l), { valid: !1, error: "Card has expired" }) : d === l && o < a ? (console.log(
|
|
3628
|
+
"[EXPIRY DEBUG] EXPIRED - same year but month",
|
|
3629
|
+
o,
|
|
3630
|
+
"is less than current month",
|
|
3631
|
+
a
|
|
3632
|
+
), { valid: !1, error: "Card has expired" }) : (console.log("[EXPIRY DEBUG] VALID - card not expired"), { valid: !0 });
|
|
3617
3633
|
}
|
|
3618
3634
|
validateCardForm() {
|
|
3619
3635
|
const t = {};
|
|
@@ -4030,7 +4046,7 @@ let v = class extends se {
|
|
|
4030
4046
|
`;
|
|
4031
4047
|
}
|
|
4032
4048
|
};
|
|
4033
|
-
v.styles =
|
|
4049
|
+
v.styles = Ft`
|
|
4034
4050
|
:host {
|
|
4035
4051
|
display: block;
|
|
4036
4052
|
font-family:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-payment.d.ts","sourceRoot":"","sources":["../src/one-payment.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UA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B;IAQ1B,OAAO,CAAC,eAAe;IAiBvB,OAAO,CAAC,iBAAiB;IAWzB,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,SAAS;IAkCjB,OAAO,CAAC,cAAc;IA+FtB,OAAO,CAAC,gBAAgB;IAkCxB,OAAO,CAAC,iBAAiB;IA6BzB,OAAO,CAAC,mBAAmB;IAmB3B,OAAO,CAAC,kBAAkB;IAwE1B,OAAO,CAAC,gCAAgC;IAyBxC,OAAO,CAAC,4BAA4B;IAiBpC,OAAO,CAAC,eAAe;IAkBvB,OAAO,CAAC,wBAAwB;IA2EhC,OAAO,CAAC,cAAc;IA4GtB,OAAO,CAAC,mBAAmB;IA8D3B,OAAO,CAAC,cAAc;IAmBtB,OAAO,CAAC,iBAAiB;IAqChB,MAAM;CAqGhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|
package/dist/one-payment.js
CHANGED
|
@@ -220,9 +220,7 @@ let OnePayment = class OnePayment extends LitElement {
|
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
222
|
// Validate required customer information props
|
|
223
|
-
if (!this.firstName ||
|
|
224
|
-
typeof this.firstName !== 'string' ||
|
|
225
|
-
this.firstName.trim() === '') {
|
|
223
|
+
if (!this.firstName || typeof this.firstName !== 'string' || this.firstName.trim() === '') {
|
|
226
224
|
console.error('OnePayment: firstName is required and must be a non-empty string. Customer information is required for all payment methods.');
|
|
227
225
|
return;
|
|
228
226
|
}
|
|
@@ -250,10 +248,14 @@ let OnePayment = class OnePayment extends LitElement {
|
|
|
250
248
|
if (this.previousState?.status === 'requires_action' &&
|
|
251
249
|
state.status !== 'requires_action' &&
|
|
252
250
|
this.show3DSModal) {
|
|
253
|
-
console.log('[3DS] State changed from requires_action - closing modal
|
|
251
|
+
console.log('[3DS] State changed from requires_action - closing modal and resuming polling');
|
|
254
252
|
this.show3DSModal = false;
|
|
255
253
|
this.nextActionUrl = null;
|
|
256
254
|
this.leaveEventsCounter = 0;
|
|
255
|
+
// Resume polling to continue checking for final payment status
|
|
256
|
+
if (this.sdk) {
|
|
257
|
+
this.sdk.resumePolling();
|
|
258
|
+
}
|
|
257
259
|
}
|
|
258
260
|
this.previousState = state;
|
|
259
261
|
this.currentState = state;
|
|
@@ -292,17 +294,21 @@ let OnePayment = class OnePayment extends LitElement {
|
|
|
292
294
|
// Reset counter for each new 3DS flow
|
|
293
295
|
this.leaveEventsCounter = 0;
|
|
294
296
|
});
|
|
295
|
-
// Handle poll started - close 3DS modal when getPaymentData
|
|
297
|
+
// Handle poll started - close 3DS modal when getPaymentData polling starts
|
|
296
298
|
// This is critical for React Native where postMessage doesn't work from WebView iframe
|
|
297
299
|
this.sdk.on('poll_started', () => {
|
|
298
|
-
console.log('[3DS] poll_started event -
|
|
299
|
-
// If 3DS modal is currently shown, close it
|
|
300
|
-
//
|
|
300
|
+
console.log('[3DS] poll_started event - first poll request sent, closing modal');
|
|
301
|
+
// If 3DS modal is currently shown, close it and resume polling
|
|
302
|
+
// This matches the behavior of handle3DSComplete() for web browsers
|
|
301
303
|
if (this.show3DSModal) {
|
|
302
|
-
console.log('[3DS] Closing 3DS modal
|
|
304
|
+
console.log('[3DS] Closing 3DS modal and resuming polling (React Native fix)');
|
|
303
305
|
this.show3DSModal = false;
|
|
304
306
|
this.nextActionUrl = null;
|
|
305
307
|
this.leaveEventsCounter = 0;
|
|
308
|
+
// MUST call resumePolling to continue interval polling for final status
|
|
309
|
+
if (this.sdk) {
|
|
310
|
+
this.sdk.resumePolling();
|
|
311
|
+
}
|
|
306
312
|
}
|
|
307
313
|
});
|
|
308
314
|
// Handle QR code received
|
|
@@ -413,29 +419,83 @@ let OnePayment = class OnePayment extends LitElement {
|
|
|
413
419
|
}
|
|
414
420
|
// Validate expiry date (MM/YY format)
|
|
415
421
|
validateExpiry(expiry) {
|
|
416
|
-
//
|
|
417
|
-
|
|
422
|
+
// Trim whitespace before validation
|
|
423
|
+
const trimmedExpiry = expiry.trim();
|
|
424
|
+
// Check format MM/YY - require 1-2 digits for month and exactly 2 digits for year
|
|
425
|
+
// Cleave.js outputs exactly 2 digits for year with the 'y' pattern
|
|
426
|
+
if (!/^\d{1,2}\/\d{2}$/.test(trimmedExpiry)) {
|
|
418
427
|
return { valid: false, error: 'Invalid format (MM/YY)' };
|
|
419
428
|
}
|
|
420
|
-
const parts =
|
|
429
|
+
const parts = trimmedExpiry.split('/');
|
|
421
430
|
const monthStr = parts[0];
|
|
422
431
|
const yearStr = parts[1];
|
|
423
432
|
if (!monthStr || !yearStr) {
|
|
424
433
|
return { valid: false, error: 'Invalid format (MM/YY)' };
|
|
425
434
|
}
|
|
426
435
|
const month = parseInt(monthStr, 10);
|
|
427
|
-
|
|
428
|
-
// Validate month (01-12)
|
|
436
|
+
// Validate month (01-12) FIRST before year parsing
|
|
429
437
|
if (month < 1 || month > 12) {
|
|
430
438
|
return { valid: false, error: 'Invalid month (01-12)' };
|
|
431
439
|
}
|
|
432
|
-
//
|
|
440
|
+
// Get current date first
|
|
433
441
|
const now = new Date();
|
|
434
442
|
const currentYear = now.getFullYear();
|
|
435
|
-
const currentMonth = now.getMonth() + 1; // getMonth() is 0-indexed
|
|
436
|
-
|
|
443
|
+
const currentMonth = now.getMonth() + 1; // getMonth() is 0-indexed (0=Jan, 11=Dec)
|
|
444
|
+
// Handle 2-digit year with sliding window approach for credit card expiry dates
|
|
445
|
+
// This ensures proper interpretation of 2-digit years relative to the current year
|
|
446
|
+
let year;
|
|
447
|
+
if (yearStr.length === 2) {
|
|
448
|
+
const inputYearTwoDigit = parseInt(yearStr, 10);
|
|
449
|
+
const currentYearTwoDigit = currentYear % 100; // Get last 2 digits of current year
|
|
450
|
+
const currentCentury = Math.floor(currentYear / 100) * 100; // e.g., 2000
|
|
451
|
+
// Sliding window logic:
|
|
452
|
+
// If the input year is significantly less than the current year (more than 80 years back),
|
|
453
|
+
// assume it's meant for the next century. Otherwise, use the current century.
|
|
454
|
+
// Example in 2025: "24" is 2024 (1 year back), "99" is 2099 (74 years forward)
|
|
455
|
+
// This handles the year 2000-2099 range properly
|
|
456
|
+
if (inputYearTwoDigit < currentYearTwoDigit) {
|
|
457
|
+
// Check if it's a reasonable past date (within 5 years) or should be next century
|
|
458
|
+
const yearsDiff = currentYearTwoDigit - inputYearTwoDigit;
|
|
459
|
+
if (yearsDiff > 80) {
|
|
460
|
+
// More than 80 years back means it's probably meant for next century
|
|
461
|
+
// e.g., in 2025, "99" (25-99 = -74, but wraps) should be 2099, not 1999
|
|
462
|
+
year = currentCentury + 100 + inputYearTwoDigit;
|
|
463
|
+
}
|
|
464
|
+
else {
|
|
465
|
+
// Within 80 years back, use current century
|
|
466
|
+
year = currentCentury + inputYearTwoDigit;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
else {
|
|
470
|
+
// Input year >= current year's last 2 digits, use current century
|
|
471
|
+
year = currentCentury + inputYearTwoDigit;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
else {
|
|
475
|
+
// Should not reach here due to regex, but handle gracefully
|
|
476
|
+
return { valid: false, error: 'Invalid year format' };
|
|
477
|
+
}
|
|
478
|
+
console.log('[EXPIRY DEBUG] Input:', expiry);
|
|
479
|
+
console.log('[EXPIRY DEBUG] Parsed - Month:', month, 'Year:', year);
|
|
480
|
+
console.log('[EXPIRY DEBUG] Current - Month:', currentMonth, 'Year:', currentYear);
|
|
481
|
+
// Card is expired ONLY if:
|
|
482
|
+
// 1. Year is LESS than current year (e.g., 2023 < 2024)
|
|
483
|
+
// 2. OR year EQUALS current year AND month is LESS than current month
|
|
484
|
+
// Note: Cards are valid through the last day of the expiry month
|
|
485
|
+
// Examples:
|
|
486
|
+
// - 11/2025 in November 2025: NOT expired (valid through Nov 30)
|
|
487
|
+
// - 10/2025 in November 2025: expired (October already passed)
|
|
488
|
+
// - 12/2034 in November 2025: NOT expired (future year)
|
|
489
|
+
// - 12/2024 in November 2025: expired (year in the past)
|
|
490
|
+
if (year < currentYear) {
|
|
491
|
+
console.log('[EXPIRY DEBUG] EXPIRED - year', year, 'is less than current year', currentYear);
|
|
492
|
+
return { valid: false, error: 'Card has expired' };
|
|
493
|
+
}
|
|
494
|
+
if (year === currentYear && month < currentMonth) {
|
|
495
|
+
console.log('[EXPIRY DEBUG] EXPIRED - same year but month', month, 'is less than current month', currentMonth);
|
|
437
496
|
return { valid: false, error: 'Card has expired' };
|
|
438
497
|
}
|
|
498
|
+
console.log('[EXPIRY DEBUG] VALID - card not expired');
|
|
439
499
|
return { valid: true };
|
|
440
500
|
}
|
|
441
501
|
validateCardForm() {
|
package/dist/one-payment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-payment.js","sourceRoot":"","sources":["../src/one-payment.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,iBAAiB,MAAM,WAAW,CAAC;AAC1C,OAAO,MAAM,MAAM,QAAQ,CAAC;AA0B5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEI,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAAnC;QACL,uBAAuB;;QA4RvB,yBAAyB;QACR,iBAAY,GAAU,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACzC,mBAAc,GAA2B,IAAI,CAAC;QAC9C,iBAAY,GAAiB;YAC5C,UAAU,EAAE,EAAE;YACd,MAAM,EAAE,EAAE;YACV,GAAG,EAAE,EAAE;YACP,cAAc,EAAE,EAAE;SACnB,CAAC;QACe,eAAU,GAAgD,EAAE,CAAC;QAC7D,gBAAW,GAA6B,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AAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAmB;AAqBlB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yCAAgB;AA+BhB;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;yDAA2C;AAsBzC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yCAAgB;AA8Bf;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAmB;AAG7B;IAAhB,KAAK,EAAE;gDAAkD;AACzC;IAAhB,KAAK,EAAE;kDAAuD;AAC9C;IAAhB,KAAK,EAAE;gDAKN;AACe;IAAhB,KAAK,EAAE;8CAAsE;AAC7D;IAAhB,KAAK,EAAE;+CAAsD;AAC7C;IAAhB,KAAK,EAAE;gDAA8B;AACrB;IAAhB,KAAK,EAAE;kDAA+B;AACtB;IAAhB,KAAK,EAAE;6CAA0C;AAGjC;IAAhB,KAAK,EAAE;iDAA+B;AACtB;IAAhB,KAAK,EAAE;gDAA8B;AACrB;IAAhB,KAAK,EAAE;+CAA6B;AACpB;IAAhB,KAAK,EAAE;iDAA6C;AACpC;IAAhB,KAAK,EAAE;0CAAsC;AAC7B;IAAhB,KAAK,EAAE;iDAA6C;AACpC;IAAhB,KAAK,EAAE;qDAAiD;AACxC;IAAhB,KAAK,EAAE;uDAAqC;AApTlC,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAspFtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@one-payments/web-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Universal web components for One Payments SDK built with Lit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "^0.9.0",
|
|
39
39
|
"@types/node": "^20.10.0",
|
|
40
|
+
"tslib": "^2.6.0",
|
|
40
41
|
"tsup": "^8.0.0",
|
|
41
42
|
"typescript": "^5.3.0",
|
|
42
43
|
"vite": "^5.0.0",
|