@ranty/ranty-sdk 2.16.0-beta.4 → 2.16.0-beta.5
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.
|
@@ -916,7 +916,7 @@ function oe(t) {
|
|
|
916
916
|
*/
|
|
917
917
|
var K0;
|
|
918
918
|
((K0 = window.HTMLSlotElement) === null || K0 === void 0 ? void 0 : K0.prototype.assignedElements) != null;
|
|
919
|
-
const aE = "@ranty/ranty-sdk", lE = "2.16.0-beta.
|
|
919
|
+
const aE = "@ranty/ranty-sdk", lE = "2.16.0-beta.5", dE = "Ranty sdk", cE = "dist/index.js", AE = {
|
|
920
920
|
".": "./dist/index.js"
|
|
921
921
|
}, uE = "types/index.d.ts", pE = [
|
|
922
922
|
"dist",
|
|
@@ -9358,10 +9358,10 @@ function mU(t, e, r, s) {
|
|
|
9358
9358
|
}
|
|
9359
9359
|
var Nu = MF(mU);
|
|
9360
9360
|
gI(gl(), "DD_LOGS", Nu);
|
|
9361
|
-
const fU = "@
|
|
9361
|
+
const fU = "@ranty/ranty-sdk", yU = "2.16.0-beta.5", vU = 2, bU = !0, wU = {
|
|
9362
9362
|
"": {
|
|
9363
|
-
name: "@
|
|
9364
|
-
version: "2.16.0-beta.
|
|
9363
|
+
name: "@ranty/ranty-sdk",
|
|
9364
|
+
version: "2.16.0-beta.5",
|
|
9365
9365
|
license: "ISC",
|
|
9366
9366
|
dependencies: {
|
|
9367
9367
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -63658,8 +63658,8 @@ let tr = class extends qe {
|
|
|
63658
63658
|
})
|
|
63659
63659
|
));
|
|
63660
63660
|
}
|
|
63661
|
-
|
|
63662
|
-
t.key === "Enter" && this.dispatchEvent(
|
|
63661
|
+
handleKeyPress(t) {
|
|
63662
|
+
this.name === "creditNumber" && !t.key.match(/[0-9]/) && !["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab"].includes(t.key) && t.preventDefault(), t.key === "Enter" && this.dispatchEvent(
|
|
63663
63663
|
new CustomEvent("enter-key-event", {
|
|
63664
63664
|
bubbles: !0,
|
|
63665
63665
|
composed: !0,
|
|
@@ -63683,6 +63683,17 @@ let tr = class extends qe {
|
|
|
63683
63683
|
}
|
|
63684
63684
|
handlePaste(t) {
|
|
63685
63685
|
const e = (t.clipboardData || window.clipboardData).getData("text");
|
|
63686
|
+
if (this.name === "creditNumber") {
|
|
63687
|
+
t.preventDefault();
|
|
63688
|
+
const r = e.replace(/\D/g, "");
|
|
63689
|
+
r && (this.value = r.slice(0, 16).replace(/(\d{4})(?=\d)/g, "$1 ").trim()), this.checkValidity(), this.dispatchEvent(
|
|
63690
|
+
new CustomEvent("input-event", {
|
|
63691
|
+
bubbles: !0,
|
|
63692
|
+
composed: !0,
|
|
63693
|
+
detail: { value: this.value }
|
|
63694
|
+
})
|
|
63695
|
+
);
|
|
63696
|
+
}
|
|
63686
63697
|
/^\d+$/.test(e) || t.preventDefault();
|
|
63687
63698
|
}
|
|
63688
63699
|
render() {
|
|
@@ -63709,7 +63720,7 @@ let tr = class extends qe {
|
|
|
63709
63720
|
?checked="${this.type === "checkbox" ? this.value === "true" : void 0}"
|
|
63710
63721
|
@input="${this.handleInput}"
|
|
63711
63722
|
@blur="${this.handleBlur}"
|
|
63712
|
-
@
|
|
63723
|
+
@keypress="${this.handleKeyPress}"
|
|
63713
63724
|
inputmode="${zf(this.inputmode)}"
|
|
63714
63725
|
@paste="${this.handlePaste}"
|
|
63715
63726
|
/>
|
|
@@ -64064,7 +64075,6 @@ let bn = class extends qe {
|
|
|
64064
64075
|
name="creditNumber"
|
|
64065
64076
|
label="Número de tarjeta"
|
|
64066
64077
|
.maxlength="${19}"
|
|
64067
|
-
@keypress="${(t) => t.key.match(/[0-9]/) ? !0 : t.preventDefault()}"
|
|
64068
64078
|
.validationRules="${[
|
|
64069
64079
|
Ms("Tenés que completar el número de la tarjeta."),
|
|
64070
64080
|
Hn(16, "Revisá el número de la tarjeta, está incompleto.", !0),
|
|
@@ -65926,7 +65936,6 @@ let wn = class extends qe {
|
|
|
65926
65936
|
label="Número de tarjeta"
|
|
65927
65937
|
inputmode="numeric"
|
|
65928
65938
|
.maxlength="${19}"
|
|
65929
|
-
@keypress="${(t) => t.key.match(/[0-9]/) ? !0 : t.preventDefault()}"
|
|
65930
65939
|
.validationRules="${[
|
|
65931
65940
|
Hc("Tenés que completar el número de la tarjeta."),
|
|
65932
65941
|
Vc(16, "Revisá el número de la tarjeta, está incompleto.", !0),
|
|
@@ -80071,7 +80080,7 @@ function(t) {
|
|
|
80071
80080
|
*/
|
|
80072
80081
|
function(t) {
|
|
80073
80082
|
function e() {
|
|
80074
|
-
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-
|
|
80083
|
+
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-339267d8.js")).catch(function(r) {
|
|
80075
80084
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
80076
80085
|
}).then(function(r) {
|
|
80077
80086
|
return r.default ? r.default : r;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-
|
|
1
|
+
import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-c8534ff1.js";
|
|
2
2
|
export {
|
|
3
3
|
n as A2AAccountDetails,
|
|
4
4
|
e as A2AAccountList,
|