@ranty/ranty-sdk 2.15.0 → 2.16.0-beta.0
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.
|
@@ -9257,10 +9257,10 @@ function JF(t, e, r, s) {
|
|
|
9257
9257
|
}
|
|
9258
9258
|
var Qu = xF(JF);
|
|
9259
9259
|
Y_(gl(), "DD_LOGS", Qu);
|
|
9260
|
-
const XF = "@ranty/ranty-sdk", ZF = "2.
|
|
9260
|
+
const XF = "@nx-ranty/ranty-sdk", ZF = "2.16.0-beta.0", $F = 2, eU = !0, tU = {
|
|
9261
9261
|
"": {
|
|
9262
|
-
name: "@ranty/ranty-sdk",
|
|
9263
|
-
version: "2.
|
|
9262
|
+
name: "@nx-ranty/ranty-sdk",
|
|
9263
|
+
version: "2.16.0-beta.0",
|
|
9264
9264
|
license: "ISC",
|
|
9265
9265
|
dependencies: {
|
|
9266
9266
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -61232,7 +61232,7 @@ ra([
|
|
|
61232
61232
|
wi = ra([
|
|
61233
61233
|
Ve("scof-loading")
|
|
61234
61234
|
], wi);
|
|
61235
|
-
const pO = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}:host .card-preview{width:72px;height:45px;background-color:#e0e0e0;border-radius:10px;margin-right:13px}:host .card{position:relative;display:flex;align-items:center;justify-content:space-between;box-shadow:0 0 0 1px #bbb;border-radius:8px;padding:10px;cursor:pointer;gap:16px}:host .card.disabled{cursor:not-allowed;
|
|
61235
|
+
const pO = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}:host .card-preview{width:72px;height:45px;background-color:#e0e0e0;border-radius:10px;margin-right:13px}:host .card{position:relative;display:flex;align-items:center;justify-content:space-between;box-shadow:0 0 0 1px #bbb;border-radius:8px;padding:10px;cursor:pointer;gap:16px}:host .card.disabled{background:#f4f4f4;box-shadow:#bebebe 0 0 0 1px;cursor:not-allowed;filter:grayscale(1)}:host .card.disabled .card-icon{cursor:not-allowed}:host .card.disabled .card-details{color:#6a6a6a}:host .card.disabled .card-details .card-brand-text{color:#6a6a6a}:host .card .chip{border-radius:.25rem;display:inline-block;font-size:.875rem;font-weight:600;padding:.12rem .5rem;margin:0 0 8px;box-shadow:#ccc 0 0 0 1px;background:#e6e6e6;color:#4d4d4d}@media only screen and (max-width: 425px){:host .card .chip{margin:5px 0 0}}:host .card input:disabled{cursor:not-allowed}:host .card .card-brand{width:69px;border-radius:2px;margin-right:15px}@media only screen and (max-width: 425px){:host .card .card-brand{margin-right:0}}:host .card .card-brand .card-brand-image{height:100%;width:100%;margin-top:11px;border-radius:4px}:host .card .card-details{flex:1}:host .card .card-input{accent-color:#652bdf;width:16px;height:16px}:host .card img{height:40px;margin-right:10px}@media only screen and (max-width: 425px){:host .card img{margin-right:0}}:host .card p{margin:0;flex-grow:1}:host .card .close{cursor:pointer;color:#6a6a6a}:host .card .card-brand-text{font-size:18px;font-style:normal;font-weight:400;line-height:22px;color:#2b2b2b;width:100%}@media only screen and (max-width: 425px){:host .card .card-brand-text{min-width:98px;font-size:16px}}:host .card .card-bin{font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px;color:#6a6a6a}@media only screen and (max-width: 425px){:host .card .card-bin{font-size:14px}}:host .card .card-icon{width:24px;height:24px;padding:4px;cursor:pointer}
|
|
61236
61236
|
`, fb = (t) => {
|
|
61237
61237
|
let e = "", r = "";
|
|
61238
61238
|
if (t === "MAESTRO")
|
|
@@ -61551,7 +61551,8 @@ let Mo = class extends qe {
|
|
|
61551
61551
|
super(...arguments), this.selected = !1, this.merchantId = "";
|
|
61552
61552
|
}
|
|
61553
61553
|
showConfirmationModal(t, e) {
|
|
61554
|
-
t.preventDefault(), t.stopPropagation()
|
|
61554
|
+
if (t.preventDefault(), t.stopPropagation(), !this.card.is_allowed)
|
|
61555
|
+
return;
|
|
61555
61556
|
const r = document.createElement("confirmation-modal");
|
|
61556
61557
|
r.title = "¿Querés eliminar esta tarjeta?", r.message = "Al hacerlo, ya no quedará guardada. Podrás volver a sumarla cuando quieras.", r.addEventListener("acepted-modal", () => this.deleteCard(e)), document.body.appendChild(r);
|
|
61557
61558
|
}
|
|
@@ -61559,21 +61560,19 @@ let Mo = class extends qe {
|
|
|
61559
61560
|
this.deleteCardEmitter(t);
|
|
61560
61561
|
}
|
|
61561
61562
|
selectCard() {
|
|
61562
|
-
this.selectCardEmitter(this.card);
|
|
61563
|
+
this.card.is_allowed && this.selectCardEmitter(this.card);
|
|
61563
61564
|
}
|
|
61564
61565
|
render() {
|
|
61565
61566
|
return Q`
|
|
61566
|
-
|
|
61567
|
-
<div class="card" @click="${this.selectCard}">
|
|
61568
|
-
<!-- ${this.card.is_allowed ? "" : Q`<span class="chip"> No aceptada en este comercio </span>`} -->
|
|
61567
|
+
<div class="card ${this.card.is_allowed ? "" : "disabled"}" @click="${this.selectCard}">
|
|
61569
61568
|
<input
|
|
61570
61569
|
type="radio"
|
|
61571
61570
|
name="card-input"
|
|
61572
61571
|
class="card-input"
|
|
61573
61572
|
value="${JSON.stringify(this.card)}"
|
|
61574
61573
|
?checked="${this.selected}"
|
|
61574
|
+
?disabled="${!this.card.is_allowed}"
|
|
61575
61575
|
/>
|
|
61576
|
-
<!-- ?disabled="${!this.card.is_allowed}" -->
|
|
61577
61576
|
<span class="card-brand">
|
|
61578
61577
|
<img
|
|
61579
61578
|
class="card-brand-image"
|
|
@@ -61583,6 +61582,7 @@ let Mo = class extends qe {
|
|
|
61583
61582
|
/>
|
|
61584
61583
|
</span>
|
|
61585
61584
|
<div class="card-details">
|
|
61585
|
+
${this.card.is_allowed ? "" : Q`<span class="chip"> No disponible </span>`}
|
|
61586
61586
|
<p class="card-brand-text">Tarjeta ${hp(this.card.card_brand)}</p>
|
|
61587
61587
|
<p class="card-bin">**** ${this.card.last4}</p>
|
|
61588
61588
|
</div>
|
|
@@ -79955,7 +79955,7 @@ function(t) {
|
|
|
79955
79955
|
*/
|
|
79956
79956
|
function(t) {
|
|
79957
79957
|
function e() {
|
|
79958
|
-
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-
|
|
79958
|
+
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-13d49659.js")).catch(function(r) {
|
|
79959
79959
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
79960
79960
|
}).then(function(r) {
|
|
79961
79961
|
return r.default ? r.default : r;
|
|
@@ -82951,7 +82951,7 @@ KC([
|
|
|
82951
82951
|
W1 = KC([
|
|
82952
82952
|
Ve("a2a-invoice")
|
|
82953
82953
|
], W1);
|
|
82954
|
-
const rY = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .card-preview{width:72px;height:45px;background-color:#e0e0e0;border-radius:10px;margin-right:13px}:host .card{position:relative;display:flex;align-items:center;justify-content:space-between;box-shadow:0 0 0 1px #bbb;border-radius:8px;padding:10px;cursor:pointer;gap:16px}:host .card.disabled{cursor:not-allowed;
|
|
82954
|
+
const rY = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .card-preview{width:72px;height:45px;background-color:#e0e0e0;border-radius:10px;margin-right:13px}:host .card{position:relative;display:flex;align-items:center;justify-content:space-between;box-shadow:0 0 0 1px #bbb;border-radius:8px;padding:10px;cursor:pointer;gap:16px}:host .card.disabled{background:#f4f4f4;box-shadow:#bebebe 0 0 0 1px;cursor:not-allowed;filter:grayscale(1)}:host .card.disabled .card-icon{cursor:not-allowed}:host .card.disabled .card-details{color:#6a6a6a}:host .card.disabled .card-details .card-brand-text{color:#6a6a6a}:host .card .chip{border-radius:.25rem;display:inline-block;font-size:.875rem;font-weight:600;padding:.12rem .5rem;margin:0 0 8px;box-shadow:#ccc 0 0 0 1px;background:#e6e6e6;color:#4d4d4d}@media only screen and (max-width: 425px){:host .card .chip{margin:5px 0 0}}:host .card input:disabled{cursor:not-allowed}:host .card .card-brand{width:69px;border-radius:2px;margin-right:15px}@media only screen and (max-width: 425px){:host .card .card-brand{margin-right:0}}:host .card .card-brand .card-brand-image{height:100%;width:100%;margin-top:11px;border-radius:4px}:host .card .card-details{flex:1}:host .card .card-input{accent-color:#652bdf;width:16px;height:16px}:host .card img{height:40px;margin-right:10px}@media only screen and (max-width: 425px){:host .card img{margin-right:0}}:host .card p{margin:0;flex-grow:1}:host .card .close{cursor:pointer;color:#6a6a6a}:host .card .card-brand-text{font-size:18px;font-style:normal;font-weight:400;line-height:22px;color:#2b2b2b;width:100%}@media only screen and (max-width: 425px){:host .card .card-brand-text{min-width:98px;font-size:16px}}:host .card .card-bin{font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px;color:#6a6a6a}@media only screen and (max-width: 425px){:host .card .card-bin{font-size:14px}}:host .card .card-icon{width:24px;height:24px;padding:4px;cursor:pointer}:host .alert-container{position:absolute;bottom:0;padding:30px 24px;z-index:1;max-width:400px;width:-webkit-fill-available}@media only screen and (max-width: 800px){:host .alert-container{padding:16px;left:0}}:host .container-fluid{font-family:Inter,Arial,"sans-serif"}@media only screen and (max-width: 800px){:host .container-fluid{padding:16px 24px;position:absolute;top:0;left:0;right:0;height:auto;background:#f4f4f4}}:host .container-fluid .container{background:#ffffff;border-radius:16px}:host .container-fluid .container .container-accounts{padding:24px}:host .container-fluid .container .container-accounts .container-head .title{margin-top:0}:host .container-fluid .container .container-accounts .container-connections{display:flex;flex-direction:column;gap:16px;max-height:358px;height:auto;overflow-y:auto;margin:0;padding:2px 4px 2px 2px}:host .container-fluid .container .container-accounts .container-connections::-webkit-scrollbar{width:4px}:host .container-fluid .container .container-accounts .container-connections::-webkit-scrollbar-thumb{margin-right:20px;border-radius:2px;background:rgba(0,0,0,.38)}:host .container-fluid .container .container-accounts .container-connections .card{margin:0}:host .container-fluid .container .container-accounts .container-connections .card .card-brand{width:auto;margin:0;height:26px}:host .container-fluid .container .container-accounts .container-connections .card .card-brand .card-brand-image{margin:0;width:26px;height:26px}:host .container-fluid .container .container-accounts .container-connections .card .card-details .card-bin{font-size:14px}:host .container-fluid .container .container-buttons{display:flex;flex-direction:column;gap:16px;padding:0 20px 20px;box-shadow:4px -6px 11.4px #0000001a;border-radius:16px}:host .container-fluid .container .container-buttons .plinth-container{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer}:host .container-fluid .container .container-buttons .plinth-container .add-card-container{display:flex;align-items:center;gap:16px}:host .container-fluid .container .container-buttons .plinth-container .add-card-container .card-icon-add{border-radius:8px;background:#f0eafc;padding:12px}:host .container-fluid .container .container-buttons .plinth-container .add-card-container>span{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:18px;font-style:normal;font-weight:600;line-height:22px}
|
|
82955
82955
|
`;
|
|
82956
82956
|
var sY = Object.defineProperty, nY = Object.getOwnPropertyDescriptor, Uc = (t, e, r, s) => {
|
|
82957
82957
|
for (var n = s > 1 ? void 0 : s ? nY(e, r) : e, i = t.length - 1, o; i >= 0; i--)
|
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-eac33e02.js";
|
|
2
2
|
export {
|
|
3
3
|
n as A2AAccountDetails,
|
|
4
4
|
e as A2AAccountList,
|