@ranty/ranty-sdk 2.18.0-beta.5 → 2.18.0-beta.7

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,8 +916,7 @@ function oe(t) {
916
916
  */
917
917
  var G0;
918
918
  ((G0 = window.HTMLSlotElement) === null || G0 === void 0 ? void 0 : G0.prototype.assignedElements) != null;
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.5", cE = "Ranty sdk", AE = "dist/index.js", uE = {
919
+ const lE = "@ranty/ranty-sdk", dE = "2.18.0-beta.7", cE = "Ranty sdk", AE = "dist/index.js", uE = {
921
920
  ".": "./dist/index.js"
922
921
  }, pE = "types/index.d.ts", gE = [
923
922
  "dist",
@@ -1027,9 +1026,6 @@ let pd = class t extends qe {
1027
1026
  constructor() {
1028
1027
  super(...arguments), this.image = "https://ranty-sdk-js.naranjax.com/images/nave-logo.png", this.icon = "https://ranty-sdk-js.naranjax.com/images/popup.svg", this.enableVersion = "", this.mode = "default";
1029
1028
  }
1030
- get textFooter() {
1031
- return this.mode === Le.CARD_ON_FILE.toLowerCase() ? "Procesado y almacenado por" : "Procesado por";
1032
- }
1033
1029
  firstUpdated(e) {
1034
1030
  return we(this, null, function* () {
1035
1031
  ur(t.prototype, this, "firstUpdated").call(this, e), this.enableVersion = BE.version;
@@ -1041,7 +1037,7 @@ let pd = class t extends qe {
1041
1037
  ${this.enableVersion ? P`<p class="version">Versión: ${this.enableVersion}</p>` : ""}
1042
1038
  <div class="footer-container">
1043
1039
  <a class="footer-link" href="https://navenegocios.ar/home" target="_blank">
1044
- <span class="footer-text">${this.textFooter}</span>
1040
+ <span class="footer-text">Procesado por</span>
1045
1041
  <img alt="nave" src=${this.image} class="footer-icon" />
1046
1042
  <img alt="nave" src=${this.icon} />
1047
1043
  </a>
@@ -9364,10 +9360,10 @@ function fU(t, e, r, s) {
9364
9360
  }
9365
9361
  var Ou = qF(fU);
9366
9362
  hI(hl(), "DD_LOGS", Ou);
9367
- const yU = "@nx-ranty/ranty-sdk", vU = "2.18.0-beta.5", bU = 2, wU = !0, xU = {
9363
+ const yU = "@nx-ranty/ranty-sdk", vU = "2.18.0-beta.7", bU = 2, wU = !0, xU = {
9368
9364
  "": {
9369
9365
  name: "@nx-ranty/ranty-sdk",
9370
- version: "2.18.0-beta.5",
9366
+ version: "2.18.0-beta.7",
9371
9367
  license: "ISC",
9372
9368
  dependencies: {
9373
9369
  "@datadog/browser-logs": "^5.7.0",
@@ -46613,7 +46609,9 @@ let TU = Hy;
46613
46609
  const eo = (t, e) => we(void 0, null, function* () {
46614
46610
  const { order_id: r, platform: s } = t.additional_info;
46615
46611
  return (yield TU.getInstallmentPlans(r, t.id, s, e)).response.data;
46616
- }), PU = (t, e, r) => (pe.info("getInstallmentFromCard", { tag: "GET_INSTALLMENT_PLANS_FROM_CARD" }), (t == null ? void 0 : t.cards.find((n) => n.type === r && n.name === e)).installment_plans), yd = class extends EventTarget {
46612
+ }), PU = (t, e, r) => (pe.info("getInstallmentFromCard", { tag: "GET_INSTALLMENT_PLANS_FROM_CARD" }), (t == null ? void 0 : t.cards.find((n) => n.type === r && n.name === e)).installment_plans);
46613
+ 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 || {});
46614
+ const yd = class extends EventTarget {
46617
46615
  static convertTime(e, r) {
46618
46616
  return r === "seconds" ? e * 1e3 : e * 60 * 1e3;
46619
46617
  }
@@ -63901,6 +63899,9 @@ let bn = class extends qe {
63901
63899
  }
63902
63900
  });
63903
63901
  }
63902
+ createRenderRoot() {
63903
+ return this.attachShadow({ mode: "open", delegatesFocus: !0 });
63904
+ }
63904
63905
  createEvent(t, e) {
63905
63906
  const r = new CustomEvent(t, {
63906
63907
  bubbles: !0,
@@ -64102,6 +64103,7 @@ let bn = class extends qe {
64102
64103
  name="creditNumber"
64103
64104
  label="Número de tarjeta"
64104
64105
  .maxlength="${19}"
64106
+ autocomplete="cc-number"
64105
64107
  .validationRules="${[
64106
64108
  Ms("Tenés que completar el número de la tarjeta."),
64107
64109
  Hn(16, "Revisá el número de la tarjeta, está incompleto.", !0),
@@ -64140,6 +64142,7 @@ let bn = class extends qe {
64140
64142
  id="expired"
64141
64143
  .maxlength="${5}"
64142
64144
  label="Vencimiento"
64145
+ autocomplete="cc-csc"
64143
64146
  .validationRules="${[
64144
64147
  Ms("Tenés que completar el vencimiento."),
64145
64148
  LO(),
@@ -64155,6 +64158,7 @@ let bn = class extends qe {
64155
64158
  id="cvv"
64156
64159
  .maxlength="${3}"
64157
64160
  label="Código de seguridad"
64161
+ autocomplete="cc-csc"
64158
64162
  .validationRules="${[
64159
64163
  Ms("Tenés que completar el código."),
64160
64164
  Hn(3, "Revisá el código."),
@@ -65882,6 +65886,9 @@ let wn = class extends qe {
65882
65886
  updated(t) {
65883
65887
  super.updated(t), this._statePaymentManualInput && this._statePaymentManualInput.statePaymentRequest;
65884
65888
  }
65889
+ createRenderRoot() {
65890
+ return this.attachShadow({ mode: "open", delegatesFocus: !0 });
65891
+ }
65885
65892
  validateForm() {
65886
65893
  var s;
65887
65894
  const t = (s = this.shadowRoot) == null ? void 0 : s.querySelectorAll("scof-input");
@@ -65968,6 +65975,7 @@ let wn = class extends qe {
65968
65975
  label="Número de tarjeta"
65969
65976
  inputmode="numeric"
65970
65977
  .maxlength="${19}"
65978
+ autocomplete="cc-number"
65971
65979
  .validationRules="${[
65972
65980
  Vc("Tenés que completar el número de la tarjeta."),
65973
65981
  Kc(16, "Revisá el número de la tarjeta, está incompleto.", !0),
@@ -65993,6 +66001,7 @@ let wn = class extends qe {
65993
66001
  inputmode="numeric"
65994
66002
  .maxlength="${5}"
65995
66003
  label="Vencimiento"
66004
+ autocomplete="cc-exp"
65996
66005
  .validationRules="${[
65997
66006
  Vc("Tenés que completar el vencimiento."),
65998
66007
  w4(),
@@ -66009,6 +66018,7 @@ let wn = class extends qe {
66009
66018
  inputmode="numeric"
66010
66019
  .maxlength="${3}"
66011
66020
  label="Código de seguridad"
66021
+ autocomplete="cc-csc"
66012
66022
  .validationRules="${[
66013
66023
  Vc("Tenés que completar el código."),
66014
66024
  Kc(3, "Revisá el código."),
@@ -80133,7 +80143,7 @@ function(t) {
80133
80143
  */
80134
80144
  function(t) {
80135
80145
  function e() {
80136
- return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-763eac76.js")).catch(function(r) {
80146
+ return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-1299b87c.js")).catch(function(r) {
80137
80147
  return Promise.reject(new Error("Could not load canvg: " + r));
80138
80148
  }).then(function(r) {
80139
80149
  return r.default ? r.default : r;
@@ -81751,6 +81761,9 @@ let xn = class extends qe {
81751
81761
  updated(t) {
81752
81762
  super.updated(t), this.state && this.state.statePaymentRequest;
81753
81763
  }
81764
+ createRenderRoot() {
81765
+ return this.attachShadow({ mode: "open", delegatesFocus: !0 });
81766
+ }
81754
81767
  validateForm() {
81755
81768
  var s;
81756
81769
  const t = (s = this.shadowRoot) == null ? void 0 : s.querySelectorAll("scof-input");
@@ -81827,7 +81840,7 @@ let xn = class extends qe {
81827
81840
  <div class="cards">${this.getBrandCardAccepted()}</div>
81828
81841
  </div>
81829
81842
  </div>
81830
- <form @input="${this.validateForm}">
81843
+ <form @input="${this.validateForm}" autocomplete="on">
81831
81844
  <div class="credit-info">
81832
81845
  <scof-input
81833
81846
  class="credit-number"
@@ -81837,6 +81850,7 @@ let xn = class extends qe {
81837
81850
  label="Número de tarjeta"
81838
81851
  inputmode="numeric"
81839
81852
  .maxlength="${19}"
81853
+ autocomplete="cc-number"
81840
81854
  .validationRules="${[
81841
81855
  Vc("Tenés que completar el número de la tarjeta."),
81842
81856
  Kc(16, "Revisá el número de la tarjeta, está incompleto."),
@@ -81862,6 +81876,7 @@ let xn = class extends qe {
81862
81876
  inputmode="numeric"
81863
81877
  .maxlength="${5}"
81864
81878
  label="Vencimiento"
81879
+ autocomplete="cc-csc"
81865
81880
  .validationRules="${[
81866
81881
  Vc("Tenés que completar el vencimiento."),
81867
81882
  w4(),
@@ -81878,6 +81893,7 @@ let xn = class extends qe {
81878
81893
  inputmode="numeric"
81879
81894
  .maxlength="${3}"
81880
81895
  label="Código de seguridad"
81896
+ autocomplete="cc-csc"
81881
81897
  .validationRules="${[
81882
81898
  Vc("Tenés que completar el código."),
81883
81899
  Kc(3, "Revisá el código."),
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-1d4aa504.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-a3a4da55.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
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-1d4aa504.js";
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-a3a4da55.js";
2
2
  export {
3
3
  n as A2AAccountDetails,
4
4
  e as A2AAccountList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "2.18.0-beta.5",
3
+ "version": "2.18.0-beta.7",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {