@ranty/ranty-sdk 2.13.1-beta.3 → 2.14.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.
|
@@ -9203,10 +9203,10 @@ function NI(r, e, t, s) {
|
|
|
9203
9203
|
}
|
|
9204
9204
|
var rc = uI(NI);
|
|
9205
9205
|
Q7(Va(), "DD_LOGS", rc);
|
|
9206
|
-
const OI = "@nx-ranty/ranty-sdk", LI = "2.
|
|
9206
|
+
const OI = "@nx-ranty/ranty-sdk", LI = "2.14.0", MI = 2, qI = !0, HI = {
|
|
9207
9207
|
"": {
|
|
9208
9208
|
name: "@nx-ranty/ranty-sdk",
|
|
9209
|
-
version: "2.
|
|
9209
|
+
version: "2.14.0",
|
|
9210
9210
|
license: "ISC",
|
|
9211
9211
|
dependencies: {
|
|
9212
9212
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -61201,8 +61201,7 @@ let jo = class extends Je {
|
|
|
61201
61201
|
super(...arguments), this.selected = !1, this.merchantId = "";
|
|
61202
61202
|
}
|
|
61203
61203
|
showConfirmationModal(r, e) {
|
|
61204
|
-
|
|
61205
|
-
return;
|
|
61204
|
+
r.preventDefault(), r.stopPropagation();
|
|
61206
61205
|
const t = document.createElement("confirmation-modal");
|
|
61207
61206
|
t.title = "¿Querés eliminar esta tarjeta?", t.message = "Al hacerlo, ya no quedará guardada. Podrás volver a sumarla cuando quieras.", t.addEventListener("acepted-modal", () => this.deleteCard(e)), document.body.appendChild(t);
|
|
61208
61207
|
}
|
|
@@ -61210,20 +61209,21 @@ let jo = class extends Je {
|
|
|
61210
61209
|
this.deleteCardEmitter(r);
|
|
61211
61210
|
}
|
|
61212
61211
|
selectCard() {
|
|
61213
|
-
this.
|
|
61212
|
+
this.selectCardEmitter(this.card);
|
|
61214
61213
|
}
|
|
61215
61214
|
render() {
|
|
61216
61215
|
return W`
|
|
61217
|
-
<div class="card ${this.card.is_allowed ? "" : "disabled"}" @click="${this.selectCard}">
|
|
61218
|
-
|
|
61216
|
+
<!-- <div class="card ${this.card.is_allowed ? "" : "disabled"}" @click="${this.selectCard}"> -->
|
|
61217
|
+
<div class="card" @click="${this.selectCard}">
|
|
61218
|
+
<!-- ${this.card.is_allowed ? "" : W`<span class="chip"> No aceptada en este comercio </span>`} -->
|
|
61219
61219
|
<input
|
|
61220
61220
|
type="radio"
|
|
61221
61221
|
name="card-input"
|
|
61222
61222
|
class="card-input"
|
|
61223
61223
|
value="${JSON.stringify(this.card)}"
|
|
61224
61224
|
?checked="${this.selected}"
|
|
61225
|
-
?disabled="${!this.card.is_allowed}"
|
|
61226
61225
|
/>
|
|
61226
|
+
<!-- ?disabled="${!this.card.is_allowed}" -->
|
|
61227
61227
|
<span class="card-brand">
|
|
61228
61228
|
<img
|
|
61229
61229
|
class="card-brand-image"
|
|
@@ -79684,7 +79684,7 @@ function(r) {
|
|
|
79684
79684
|
*/
|
|
79685
79685
|
function(r) {
|
|
79686
79686
|
function e() {
|
|
79687
|
-
return (pt.canvg ? Promise.resolve(pt.canvg) : import("./index.es-
|
|
79687
|
+
return (pt.canvg ? Promise.resolve(pt.canvg) : import("./index.es-7d04b7f1.js")).catch(function(t) {
|
|
79688
79688
|
return Promise.reject(new Error("Could not load canvg: " + t));
|
|
79689
79689
|
}).then(function(t) {
|
|
79690
79690
|
return t.default ? t.default : t;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, w as t, f as e, e as o, n as r, p as C, Q as m, o as p, q as l, m as i, r as d, C as u, u as y, T as P, j as F, a as S, d as c, D as M, l as O, E as I, v as k, b as x, F as f, k as H, $ as L, a1 as v, N as A, P as D, M as g, x as E, V as w, W as Q, U as h, a2 as B, X as N, Y as R, Z as b, i as j, h as q, a0 as z, S as G, y as J, t as K, z as T, B as U, G as V, s as W, K as X, H as Y, I as Z, J as $, O as _, R as aa, L as na } from "./index-
|
|
1
|
+
import { A as s, w as t, f as e, e as o, n as r, p as C, Q as m, o as p, q as l, m as i, r as d, C as u, u as y, T as P, j as F, a as S, d as c, D as M, l as O, E as I, v as k, b as x, F as f, k as H, $ as L, a1 as v, N as A, P as D, M as g, x as E, V as w, W as Q, U as h, a2 as B, X as N, Y as R, Z as b, i as j, h as q, a0 as z, S as G, y as J, t as K, z as T, B as U, G as V, s as W, K as X, H as Y, I as Z, J as $, O as _, R as aa, L as na } from "./index-3b3f6790.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AppHome,
|
|
4
4
|
t as AppLoading,
|