@ranty/ranty-sdk 2.18.0-beta.10 → 2.18.0-beta.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.
|
@@ -917,7 +917,7 @@ function oe(t) {
|
|
|
917
917
|
var G0;
|
|
918
918
|
((G0 = window.HTMLSlotElement) === null || G0 === void 0 ? void 0 : G0.prototype.assignedElements) != null;
|
|
919
919
|
var Le = /* @__PURE__ */ ((t) => (t.DEFAULT = "DEFAULT", t.CLICK_TO_PAY = "CLICK_TO_PAY", t.CARD_ON_FILE = "CARD_ON_FILE", t.ACCOUNT_TO_ACCOUNT = "ACCOUNT_TO_ACCOUNT", t.ACCOUNT_TO_ACCOUNT_FEEDBACK = "ACCOUNT_TO_ACCOUNT_FEEDBACK", t))(Le || {});
|
|
920
|
-
const lE = "@ranty/ranty-sdk", dE = "2.18.0-beta.
|
|
920
|
+
const lE = "@ranty/ranty-sdk", dE = "2.18.0-beta.12", cE = "Ranty sdk", AE = "dist/index.js", uE = {
|
|
921
921
|
".": "./dist/index.js"
|
|
922
922
|
}, pE = "types/index.d.ts", gE = [
|
|
923
923
|
"dist",
|
|
@@ -9364,10 +9364,10 @@ function fU(t, e, r, s) {
|
|
|
9364
9364
|
}
|
|
9365
9365
|
var Ou = qF(fU);
|
|
9366
9366
|
hI(hl(), "DD_LOGS", Ou);
|
|
9367
|
-
const yU = "@ranty/ranty-sdk", vU = "2.18.0-beta.
|
|
9367
|
+
const yU = "@ranty/ranty-sdk", vU = "2.18.0-beta.12", bU = 2, wU = !0, xU = {
|
|
9368
9368
|
"": {
|
|
9369
9369
|
name: "@ranty/ranty-sdk",
|
|
9370
|
-
version: "2.18.0-beta.
|
|
9370
|
+
version: "2.18.0-beta.12",
|
|
9371
9371
|
license: "ISC",
|
|
9372
9372
|
dependencies: {
|
|
9373
9373
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -61481,7 +61481,7 @@ const PO = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
|
|
|
61481
61481
|
o.appendChild(a);
|
|
61482
61482
|
}
|
|
61483
61483
|
}
|
|
61484
|
-
}, P3 = "validations-scof", Bb = (t) => ({ validate: (e) => /^[a-
|
|
61484
|
+
}, P3 = "validations-scof", Bb = (t) => ({ validate: (e) => /^[a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]*$/.test(e), errorMessage: t }), Cb = (t) => ({ validate: (e) => !/^\s+$/.test(e), errorMessage: t }), Ms = (t) => ({
|
|
61485
61485
|
validate: (e) => e.trim() !== "",
|
|
61486
61486
|
errorMessage: t
|
|
61487
61487
|
}), Eb = (t = "Revisá el email, está incompleto.") => ({
|
|
@@ -63507,7 +63507,7 @@ let xi = class extends qe {
|
|
|
63507
63507
|
payment_request_id: (e = this.stateScof.statePaymentRequest) == null ? void 0 : e.id,
|
|
63508
63508
|
payment_request_status: this.statusMessage,
|
|
63509
63509
|
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
63510
|
-
card_type: t.transactions[0].payment_method
|
|
63510
|
+
card_type: t.transactions[0].payment_method ? t.transactions[0].payment_method.card_type : "no_card_type",
|
|
63511
63511
|
payment_type: t.payment_type
|
|
63512
63512
|
}
|
|
63513
63513
|
}), Qt.setEndPaymentTime());
|
|
@@ -64514,6 +64514,10 @@ let qo = class extends qe {
|
|
|
64514
64514
|
var t, e, r;
|
|
64515
64515
|
return (t = this.getBuyer) != null && t.doc_number && ((e = this.getBuyer) == null ? void 0 : e.doc_number.length) >= 6 ? (r = this.getBuyer) == null ? void 0 : r.doc_number : "";
|
|
64516
64516
|
}
|
|
64517
|
+
get name() {
|
|
64518
|
+
var t, e;
|
|
64519
|
+
return (t = this.getBuyer) != null && t.name ? (e = this.getBuyer) == null ? void 0 : e.name.replace(/[^a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]/g, "") : "";
|
|
64520
|
+
}
|
|
64517
64521
|
firstUpdated(t) {
|
|
64518
64522
|
var e;
|
|
64519
64523
|
super.firstUpdated(t), pe.info("firstUpdated", {
|
|
@@ -64598,7 +64602,7 @@ let qo = class extends qe {
|
|
|
64598
64602
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
64599
64603
|
}
|
|
64600
64604
|
renderHTML() {
|
|
64601
|
-
var t, e
|
|
64605
|
+
var t, e;
|
|
64602
64606
|
return P`
|
|
64603
64607
|
<form @input="${this.validateForm}">
|
|
64604
64608
|
<scof-input
|
|
@@ -64611,14 +64615,14 @@ let qo = class extends qe {
|
|
|
64611
64615
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
64612
64616
|
Cb("El nombre no puede estar en blanco.")
|
|
64613
64617
|
]}"
|
|
64614
|
-
.value="${
|
|
64618
|
+
.value="${this.name}"
|
|
64615
64619
|
></scof-input>
|
|
64616
64620
|
<scof-input
|
|
64617
64621
|
name="user_email"
|
|
64618
64622
|
label="Email"
|
|
64619
64623
|
type="email"
|
|
64620
64624
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
64621
|
-
.value="${(
|
|
64625
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
64622
64626
|
></scof-input>
|
|
64623
64627
|
|
|
64624
64628
|
<div class="panel-id-selection">
|
|
@@ -65664,7 +65668,7 @@ let Ho = class extends qe {
|
|
|
65664
65668
|
payment_request_id: (e = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : e.id,
|
|
65665
65669
|
payment_request_status: this.statusMessage,
|
|
65666
65670
|
card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
|
|
65667
|
-
card_type: t.transactions[0].payment_method
|
|
65671
|
+
card_type: t.transactions[0].payment_method ? t.transactions[0].payment_method.card_type : "no_card_type",
|
|
65668
65672
|
payment_type: t.payment_type
|
|
65669
65673
|
}
|
|
65670
65674
|
}), Qt.setEndPaymentTime());
|
|
@@ -66111,6 +66115,10 @@ let so = class extends qe {
|
|
|
66111
66115
|
var t, e, r;
|
|
66112
66116
|
return (t = this.getBuyer) != null && t.doc_number && ((e = this.getBuyer) == null ? void 0 : e.doc_number.length) >= 6 ? (r = this.getBuyer) == null ? void 0 : r.doc_number : "";
|
|
66113
66117
|
}
|
|
66118
|
+
get name() {
|
|
66119
|
+
var t, e;
|
|
66120
|
+
return (t = this.getBuyer) != null && t.name ? (e = this.getBuyer) == null ? void 0 : e.name.replace(/[^a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]/g, "") : "";
|
|
66121
|
+
}
|
|
66114
66122
|
firstUpdated(t) {
|
|
66115
66123
|
var e;
|
|
66116
66124
|
super.firstUpdated(t), this._statePaymentManualInput.isCardPresent || this._getinstallment(), (e = this._statePaymentManualInput.statePaymentRequest.buyer) != null && e.doc_type && (this.isDni = this._statePaymentManualInput.statePaymentRequest.buyer.doc_type === "DNI", this.requestUpdate()), this.forceValidation(["name", "user_email", "doc_number"]), this.validateForm();
|
|
@@ -66204,7 +66212,7 @@ let so = class extends qe {
|
|
|
66204
66212
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
66205
66213
|
}
|
|
66206
66214
|
renderHTML() {
|
|
66207
|
-
var t, e
|
|
66215
|
+
var t, e;
|
|
66208
66216
|
return P`
|
|
66209
66217
|
<form @input="${this.validateForm}">
|
|
66210
66218
|
<scof-input
|
|
@@ -66217,14 +66225,14 @@ let so = class extends qe {
|
|
|
66217
66225
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
66218
66226
|
Cb("El nombre no puede estar en blanco.")
|
|
66219
66227
|
]}"
|
|
66220
|
-
.value="${
|
|
66228
|
+
.value="${this.name}"
|
|
66221
66229
|
></scof-input>
|
|
66222
66230
|
<scof-input
|
|
66223
66231
|
name="user_email"
|
|
66224
66232
|
label="Email"
|
|
66225
66233
|
type="email"
|
|
66226
66234
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
66227
|
-
.value="${(
|
|
66235
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
66228
66236
|
></scof-input>
|
|
66229
66237
|
|
|
66230
66238
|
<div class="panel-id-selection">
|
|
@@ -80133,7 +80141,7 @@ function(t) {
|
|
|
80133
80141
|
*/
|
|
80134
80142
|
function(t) {
|
|
80135
80143
|
function e() {
|
|
80136
|
-
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-
|
|
80144
|
+
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-c2774112.js")).catch(function(r) {
|
|
80137
80145
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
80138
80146
|
}).then(function(r) {
|
|
80139
80147
|
return r.default ? r.default : r;
|
|
@@ -81980,6 +81988,10 @@ let io = class extends qe {
|
|
|
81980
81988
|
var t, e, r;
|
|
81981
81989
|
return (t = this.getBuyer) != null && t.doc_number && ((e = this.getBuyer) == null ? void 0 : e.doc_number.length) >= 6 ? (r = this.getBuyer) == null ? void 0 : r.doc_number : "";
|
|
81982
81990
|
}
|
|
81991
|
+
get name() {
|
|
81992
|
+
var t, e;
|
|
81993
|
+
return (t = this.getBuyer) != null && t.name ? (e = this.getBuyer) == null ? void 0 : e.name.replace(/[^a-záéíóúüñA-ZÁÉÍÓÚÜÑ\s]/g, "") : "";
|
|
81994
|
+
}
|
|
81983
81995
|
firstUpdated(t) {
|
|
81984
81996
|
var e;
|
|
81985
81997
|
super.firstUpdated(t), this.state.isCardPresent || this.getinstallment(), (e = this.state.statePaymentRequest.buyer) != null && e.doc_type && (this.isDni = this.state.statePaymentRequest.buyer.doc_type === "DNI", this.requestUpdate()), this.forceValidation(["name", "user_email", "doc_number"]), this.validateForm();
|
|
@@ -82071,7 +82083,7 @@ let io = class extends qe {
|
|
|
82071
82083
|
}), this.isValidForm = e, this.holder.doc_type = this.isDni ? "DNI" : "PASAPORTE";
|
|
82072
82084
|
}
|
|
82073
82085
|
renderHTML() {
|
|
82074
|
-
var t, e
|
|
82086
|
+
var t, e;
|
|
82075
82087
|
return P`
|
|
82076
82088
|
<form @input="${this.validateForm}">
|
|
82077
82089
|
<scof-input
|
|
@@ -82084,14 +82096,14 @@ let io = class extends qe {
|
|
|
82084
82096
|
Bb("El nombre solo puede contener letras y espacios."),
|
|
82085
82097
|
Cb("El nombre no puede estar en blanco.")
|
|
82086
82098
|
]}"
|
|
82087
|
-
.value="${
|
|
82099
|
+
.value="${this.name}"
|
|
82088
82100
|
></scof-input>
|
|
82089
82101
|
<scof-input
|
|
82090
82102
|
name="user_email"
|
|
82091
82103
|
label="Email"
|
|
82092
82104
|
type="email"
|
|
82093
82105
|
.validationRules="${[Ms("Tenés que completar el mail."), Eb()]}"
|
|
82094
|
-
.value="${(
|
|
82106
|
+
.value="${(t = this.getBuyer) != null && t.user_email ? (e = this.getBuyer) == null ? void 0 : e.user_email : ""}"
|
|
82095
82107
|
></scof-input>
|
|
82096
82108
|
|
|
82097
82109
|
<div class="panel-id-selection">
|
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-8321a5a2.js";
|
|
2
2
|
export {
|
|
3
3
|
n as A2AAccountDetails,
|
|
4
4
|
e as A2AAccountList,
|