@win2win/shared-ui 0.3.311 → 0.3.313
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.
- package/dist/components/widgets/fdc-subscription-card/FDCSubscriptionCard.vue.d.ts.map +1 -1
- package/dist/components/widgets/fdc-subscription-card-list/FDCSubscriptionCardList.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/w2w-shared-ui.js +710 -726
- package/dist/w2w-shared-ui.umd.cjs +18 -18
- package/package.json +2 -2
package/dist/w2w-shared-ui.js
CHANGED
|
@@ -28,7 +28,7 @@ const Al = /* @__PURE__ */ fe({
|
|
|
28
28
|
}), e0(() => {
|
|
29
29
|
!t.value || typeof document > "u" || document.removeEventListener("keydown", r);
|
|
30
30
|
}), (m, f) => (u(), ce(v(qe), {
|
|
31
|
-
onClick: f[0] || (f[0] = (
|
|
31
|
+
onClick: f[0] || (f[0] = (x) => c("click")),
|
|
32
32
|
label: m.label,
|
|
33
33
|
loading: m.loading || !1,
|
|
34
34
|
class: "text-no-wrap",
|
|
@@ -198,8 +198,8 @@ const Al = /* @__PURE__ */ fe({
|
|
|
198
198
|
setup(o) {
|
|
199
199
|
const d = (m) => m.location ? m.location : "", l = Ce(null), c = Ce(1), t = Ce(!1), r = Ce(!1);
|
|
200
200
|
return (m, f) => {
|
|
201
|
-
var
|
|
202
|
-
return (
|
|
201
|
+
var x, A;
|
|
202
|
+
return (x = m.items) != null && x.length ? (u(), ce(v(m0), {
|
|
203
203
|
key: 0,
|
|
204
204
|
onMouseover: f[2] || (f[2] = (_) => r.value = !0),
|
|
205
205
|
onMouseleave: f[3] || (f[3] = (_) => r.value = !1),
|
|
@@ -1546,9 +1546,9 @@ var Iu = {}, Au = {}, $s = { exports: {} };
|
|
|
1546
1546
|
$s.exports;
|
|
1547
1547
|
(function(o, d) {
|
|
1548
1548
|
(function() {
|
|
1549
|
-
var l, c = "4.17.21", t = 200, r = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", f = "Invalid `variable` option passed into `_.template`",
|
|
1549
|
+
var l, c = "4.17.21", t = 200, r = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", f = "Invalid `variable` option passed into `_.template`", x = "__lodash_hash_undefined__", A = 500, _ = "__lodash_placeholder__", P = 1, w = 2, S = 4, O = 1, y = 2, b = 1, T = 2, L = 4, N = 8, k = 16, D = 32, M = 64, Z = 128, J = 256, ve = 512, j = 30, $ = "...", ne = 800, q = 16, K = 1, ee = 2, de = 3, Oe = 1 / 0, ye = 9007199254740991, Ve = 17976931348623157e292, He = NaN, ke = 4294967295, ma = ke - 1, na = ke >>> 1, pa = [
|
|
1550
1550
|
["ary", Z],
|
|
1551
|
-
["bind",
|
|
1551
|
+
["bind", b],
|
|
1552
1552
|
["bindKey", T],
|
|
1553
1553
|
["curry", N],
|
|
1554
1554
|
["curryRight", k],
|
|
@@ -2102,7 +2102,7 @@ $s.exports;
|
|
|
2102
2102
|
} catch {
|
|
2103
2103
|
}
|
|
2104
2104
|
}(), Xm = Y.clearTimeout !== ba.clearTimeout && Y.clearTimeout, Jm = ge && ge.now !== ba.Date.now && ge.now, ep = Y.setTimeout !== ba.setTimeout && Y.setTimeout, fs = fa.ceil, _s = fa.floor, $o = Xe.getOwnPropertySymbols, ap = us ? us.isBuffer : l, qt = Y.isFinite, ip = ns.join, lp = Bt(Xe.keys, Xe), _a = fa.max, Ca = fa.min, sp = ge.now, op = Y.parseInt, $t = fa.random, np = ns.reverse, Ho = al(Y, "DataView"), wl = al(Y, "Map"), Ko = al(Y, "Promise"), fl = al(Y, "Set"), Ml = al(Y, "WeakMap"), Ul = al(Xe, "create"), gs = Ml && new Ml(), _l = {}, tp = il(Ho), rp = il(wl), cp = il(Ko), up = il(fl), dp = il(Ml), bs = Ni ? Ni.prototype : l, Bl = bs ? bs.valueOf : l, Ht = bs ? bs.toString : l;
|
|
2105
|
-
function
|
|
2105
|
+
function h(e) {
|
|
2106
2106
|
if (oa(e) && !Te(e) && !(e instanceof Be)) {
|
|
2107
2107
|
if (e instanceof $a)
|
|
2108
2108
|
return e;
|
|
@@ -2129,7 +2129,7 @@ $s.exports;
|
|
|
2129
2129
|
function $a(e, a) {
|
|
2130
2130
|
this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!a, this.__index__ = 0, this.__values__ = l;
|
|
2131
2131
|
}
|
|
2132
|
-
|
|
2132
|
+
h.templateSettings = {
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Used to detect `data` property values to be HTML-escaped.
|
|
2135
2135
|
*
|
|
@@ -2171,9 +2171,9 @@ $s.exports;
|
|
|
2171
2171
|
* @memberOf _.templateSettings.imports
|
|
2172
2172
|
* @type {Function}
|
|
2173
2173
|
*/
|
|
2174
|
-
_:
|
|
2174
|
+
_: h
|
|
2175
2175
|
}
|
|
2176
|
-
},
|
|
2176
|
+
}, h.prototype = hs.prototype, h.prototype.constructor = h, $a.prototype = gl(hs.prototype), $a.prototype.constructor = $a;
|
|
2177
2177
|
function Be(e) {
|
|
2178
2178
|
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = ke, this.__views__ = [];
|
|
2179
2179
|
}
|
|
@@ -2230,7 +2230,7 @@ $s.exports;
|
|
|
2230
2230
|
var a = this.__data__;
|
|
2231
2231
|
if (Ul) {
|
|
2232
2232
|
var i = a[e];
|
|
2233
|
-
return i ===
|
|
2233
|
+
return i === x ? l : i;
|
|
2234
2234
|
}
|
|
2235
2235
|
return We.call(a, e) ? a[e] : l;
|
|
2236
2236
|
}
|
|
@@ -2240,7 +2240,7 @@ $s.exports;
|
|
|
2240
2240
|
}
|
|
2241
2241
|
function hp(e, a) {
|
|
2242
2242
|
var i = this.__data__;
|
|
2243
|
-
return this.size += this.has(e) ? 0 : 1, i[e] = Ul && a === l ?
|
|
2243
|
+
return this.size += this.has(e) ? 0 : 1, i[e] = Ul && a === l ? x : a, this;
|
|
2244
2244
|
}
|
|
2245
2245
|
Qi.prototype.clear = fp, Qi.prototype.delete = _p, Qi.prototype.get = gp, Qi.prototype.has = bp, Qi.prototype.set = hp;
|
|
2246
2246
|
function vi(e) {
|
|
@@ -2307,7 +2307,7 @@ $s.exports;
|
|
|
2307
2307
|
this.add(e[a]);
|
|
2308
2308
|
}
|
|
2309
2309
|
function Tp(e) {
|
|
2310
|
-
return this.__data__.set(e,
|
|
2310
|
+
return this.__data__.set(e, x), this;
|
|
2311
2311
|
}
|
|
2312
2312
|
function Sp(e) {
|
|
2313
2313
|
return this.__data__.has(e);
|
|
@@ -2605,7 +2605,7 @@ $s.exports;
|
|
|
2605
2605
|
}
|
|
2606
2606
|
if (me && !X)
|
|
2607
2607
|
return C || (C = new ai()), R || Ol(e) ? Mr(e, a, i, n, p, C) : Iv(e, a, V, i, n, p, C);
|
|
2608
|
-
if (!(i &
|
|
2608
|
+
if (!(i & O)) {
|
|
2609
2609
|
var he = X && We.call(e, "__wrapped__"), Pe = ae && We.call(a, "__wrapped__");
|
|
2610
2610
|
if (he || Pe) {
|
|
2611
2611
|
var Le = he ? e.value() : e, Ee = Pe ? a.value() : a;
|
|
@@ -2636,7 +2636,7 @@ $s.exports;
|
|
|
2636
2636
|
var ae = new ai();
|
|
2637
2637
|
if (n)
|
|
2638
2638
|
var me = n(Q, X, V, e, a, ae);
|
|
2639
|
-
if (!(me === l ? Gl(X, Q,
|
|
2639
|
+
if (!(me === l ? Gl(X, Q, O | y, n, ae) : me))
|
|
2640
2640
|
return !1;
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
@@ -2694,7 +2694,7 @@ $s.exports;
|
|
|
2694
2694
|
function tr(e, a) {
|
|
2695
2695
|
return xn(e) && zr(a) ? kr(ti(e), a) : function(i) {
|
|
2696
2696
|
var n = Tn(i, e);
|
|
2697
|
-
return n === l && n === a ? Sn(i, e) : Gl(a, n,
|
|
2697
|
+
return n === l && n === a ? Sn(i, e) : Gl(a, n, O | y);
|
|
2698
2698
|
};
|
|
2699
2699
|
}
|
|
2700
2700
|
function Is(e, a, i, n, p) {
|
|
@@ -3091,7 +3091,7 @@ $s.exports;
|
|
|
3091
3091
|
};
|
|
3092
3092
|
}
|
|
3093
3093
|
function bv(e, a, i) {
|
|
3094
|
-
var n = a &
|
|
3094
|
+
var n = a & b, p = jl(e);
|
|
3095
3095
|
function C() {
|
|
3096
3096
|
var R = this && this !== ba && this instanceof C ? p : e;
|
|
3097
3097
|
return R.apply(n ? i : this, arguments);
|
|
@@ -3198,7 +3198,7 @@ $s.exports;
|
|
|
3198
3198
|
});
|
|
3199
3199
|
}
|
|
3200
3200
|
function Es(e, a, i, n, p, C, R, U, V, Q) {
|
|
3201
|
-
var X = a & Z, ae = a &
|
|
3201
|
+
var X = a & Z, ae = a & b, me = a & T, he = a & (N | k), Pe = a & ve, Le = me ? l : jl(e);
|
|
3202
3202
|
function Ee() {
|
|
3203
3203
|
for (var Me = arguments.length, ze = W(Me), ka = Me; ka--; )
|
|
3204
3204
|
ze[ka] = arguments[ka];
|
|
@@ -3261,7 +3261,7 @@ $s.exports;
|
|
|
3261
3261
|
return dl(a) ? Bi(ei(n), 0, e).join("") : n.slice(0, e);
|
|
3262
3262
|
}
|
|
3263
3263
|
function xv(e, a, i, n) {
|
|
3264
|
-
var p = a &
|
|
3264
|
+
var p = a & b, C = jl(e);
|
|
3265
3265
|
function R() {
|
|
3266
3266
|
for (var U = -1, V = arguments.length, Q = -1, X = n.length, ae = W(X + V), me = this && this !== ba && this instanceof R ? C : e; ++Q < X; )
|
|
3267
3267
|
ae[Q] = n[Q];
|
|
@@ -3338,9 +3338,9 @@ $s.exports;
|
|
|
3338
3338
|
R,
|
|
3339
3339
|
U
|
|
3340
3340
|
];
|
|
3341
|
-
if (me && Uv(he, me), e = he[0], a = he[1], i = he[2], n = he[3], p = he[4], U = he[9] = he[9] === l ? V ? 0 : e.length : _a(he[9] - Q, 0), !U && a & (N | k) && (a &= -25), !a || a ==
|
|
3341
|
+
if (me && Uv(he, me), e = he[0], a = he[1], i = he[2], n = he[3], p = he[4], U = he[9] = he[9] === l ? V ? 0 : e.length : _a(he[9] - Q, 0), !U && a & (N | k) && (a &= -25), !a || a == b)
|
|
3342
3342
|
var Pe = bv(e, a, i);
|
|
3343
|
-
else a == N || a == k ? Pe = hv(e, a, U) : (a == D || a == (
|
|
3343
|
+
else a == N || a == k ? Pe = hv(e, a, U) : (a == D || a == (b | D)) && !p.length ? Pe = xv(e, a, i, n) : Pe = Es.apply(l, he);
|
|
3344
3344
|
var Le = me ? mr : jr;
|
|
3345
3345
|
return qr(Le(Pe, he), e, a);
|
|
3346
3346
|
}
|
|
@@ -3354,7 +3354,7 @@ $s.exports;
|
|
|
3354
3354
|
return Hl(e) ? l : e;
|
|
3355
3355
|
}
|
|
3356
3356
|
function Mr(e, a, i, n, p, C) {
|
|
3357
|
-
var R = i &
|
|
3357
|
+
var R = i & O, U = e.length, V = a.length;
|
|
3358
3358
|
if (U != V && !(R && V > U))
|
|
3359
3359
|
return !1;
|
|
3360
3360
|
var Q = C.get(e), X = C.get(a);
|
|
@@ -3406,7 +3406,7 @@ $s.exports;
|
|
|
3406
3406
|
case le:
|
|
3407
3407
|
var U = jo;
|
|
3408
3408
|
case Da:
|
|
3409
|
-
var V = n &
|
|
3409
|
+
var V = n & O;
|
|
3410
3410
|
if (U || (U = os), e.size != a.size && !V)
|
|
3411
3411
|
return !1;
|
|
3412
3412
|
var Q = R.get(e);
|
|
@@ -3422,7 +3422,7 @@ $s.exports;
|
|
|
3422
3422
|
return !1;
|
|
3423
3423
|
}
|
|
3424
3424
|
function Av(e, a, i, n, p, C) {
|
|
3425
|
-
var R = i &
|
|
3425
|
+
var R = i & O, U = fn(e), V = U.length, Q = fn(a), X = Q.length;
|
|
3426
3426
|
if (V != X && !R)
|
|
3427
3427
|
return !1;
|
|
3428
3428
|
for (var ae = V; ae--; ) {
|
|
@@ -3473,11 +3473,11 @@ $s.exports;
|
|
|
3473
3473
|
return a;
|
|
3474
3474
|
}
|
|
3475
3475
|
function xl(e) {
|
|
3476
|
-
var a = We.call(
|
|
3476
|
+
var a = We.call(h, "placeholder") ? h : e;
|
|
3477
3477
|
return a.placeholder;
|
|
3478
3478
|
}
|
|
3479
3479
|
function Ae() {
|
|
3480
|
-
var e =
|
|
3480
|
+
var e = h.iteratee || wn;
|
|
3481
3481
|
return e = e === wn ? sr : e, arguments.length ? e(arguments[0], arguments[1]) : e;
|
|
3482
3482
|
}
|
|
3483
3483
|
function Ls(e, a) {
|
|
@@ -3638,7 +3638,7 @@ $s.exports;
|
|
|
3638
3638
|
return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? e !== "__proto__" : e === null;
|
|
3639
3639
|
}
|
|
3640
3640
|
function On(e) {
|
|
3641
|
-
var a = Ss(e), i =
|
|
3641
|
+
var a = Ss(e), i = h[a];
|
|
3642
3642
|
if (typeof i != "function" || !(a in Be.prototype))
|
|
3643
3643
|
return !1;
|
|
3644
3644
|
if (e === i)
|
|
@@ -3669,10 +3669,10 @@ $s.exports;
|
|
|
3669
3669
|
return a;
|
|
3670
3670
|
}
|
|
3671
3671
|
function Uv(e, a) {
|
|
3672
|
-
var i = e[1], n = a[1], p = i | n, C = p < (
|
|
3672
|
+
var i = e[1], n = a[1], p = i | n, C = p < (b | T | Z), R = n == Z && i == N || n == Z && i == J && e[7].length <= a[8] || n == (Z | J) && a[7].length <= a[8] && i == N;
|
|
3673
3673
|
if (!(C || R))
|
|
3674
3674
|
return e;
|
|
3675
|
-
n &
|
|
3675
|
+
n & b && (e[2] = a[2], p |= i & b ? 0 : L);
|
|
3676
3676
|
var U = a[3];
|
|
3677
3677
|
if (U) {
|
|
3678
3678
|
var V = e[3];
|
|
@@ -4049,7 +4049,7 @@ $s.exports;
|
|
|
4049
4049
|
return i = typeof i == "function" ? (e.pop(), i) : l, Jr(e, i);
|
|
4050
4050
|
});
|
|
4051
4051
|
function ec(e) {
|
|
4052
|
-
var a =
|
|
4052
|
+
var a = h(e);
|
|
4053
4053
|
return a.__chain__ = !0, a;
|
|
4054
4054
|
}
|
|
4055
4055
|
function jf(e, a) {
|
|
@@ -4230,14 +4230,14 @@ $s.exports;
|
|
|
4230
4230
|
};
|
|
4231
4231
|
}
|
|
4232
4232
|
var Pn = we(function(e, a, i) {
|
|
4233
|
-
var n =
|
|
4233
|
+
var n = b;
|
|
4234
4234
|
if (i.length) {
|
|
4235
4235
|
var p = Li(i, xl(Pn));
|
|
4236
4236
|
n |= D;
|
|
4237
4237
|
}
|
|
4238
4238
|
return gi(e, n, a, i, p);
|
|
4239
4239
|
}), oc = we(function(e, a, i) {
|
|
4240
|
-
var n =
|
|
4240
|
+
var n = b | T;
|
|
4241
4241
|
if (i.length) {
|
|
4242
4242
|
var p = Li(i, xl(oc));
|
|
4243
4243
|
n |= D;
|
|
@@ -4836,7 +4836,7 @@ $s.exports;
|
|
|
4836
4836
|
return e = Ke(e), i = i == null ? 0 : Ji(Se(i), 0, e.length), a = Fa(a), e.slice(i, i + a.length) == a;
|
|
4837
4837
|
}
|
|
4838
4838
|
function nb(e, a, i) {
|
|
4839
|
-
var n =
|
|
4839
|
+
var n = h.templateSettings;
|
|
4840
4840
|
i && ya(e, a, i) && (a = l), e = Ke(e), a = Gs({}, a, n, Nr);
|
|
4841
4841
|
var p = Gs({}, a.imports, n.imports, Nr), C = ga(p), R = Vo(p, C), U, V, Q = 0, X = a.interpolate || es, ae = "__p += '", me = qo(
|
|
4842
4842
|
(a.escape || es).source + "|" + X.source + "|" + (X === at ? Fd : es).source + "|" + (a.evaluate || es).source + "|$",
|
|
@@ -5106,13 +5106,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5106
5106
|
function Jb(e, a) {
|
|
5107
5107
|
return e && e.length ? ko(e, Ae(a, 2)) : 0;
|
|
5108
5108
|
}
|
|
5109
|
-
return
|
|
5109
|
+
return h.after = O_, h.ary = lc, h.assign = rg, h.assignIn = gc, h.assignInWith = Gs, h.assignWith = cg, h.at = ug, h.before = sc, h.bind = Pn, h.bindAll = fb, h.bindKey = oc, h.castArray = N_, h.chain = ec, h.chunk = Gv, h.compact = Vv, h.concat = jv, h.cond = _b, h.conforms = gb, h.constant = Nn, h.countBy = Xf, h.create = dg, h.curry = nc, h.curryRight = tc, h.debounce = rc, h.defaults = mg, h.defaultsDeep = pg, h.defer = C_, h.delay = I_, h.difference = qv, h.differenceBy = $v, h.differenceWith = Hv, h.drop = Kv, h.dropRight = Wv, h.dropRightWhile = Yv, h.dropWhile = Zv, h.fill = Qv, h.filter = e_, h.flatMap = l_, h.flatMapDeep = s_, h.flatMapDepth = o_, h.flatten = Zr, h.flattenDeep = Xv, h.flattenDepth = Jv, h.flip = A_, h.flow = hb, h.flowRight = xb, h.fromPairs = ef, h.functions = xg, h.functionsIn = Og, h.groupBy = n_, h.initial = lf, h.intersection = sf, h.intersectionBy = of, h.intersectionWith = nf, h.invert = Ig, h.invertBy = Ag, h.invokeMap = r_, h.iteratee = wn, h.keyBy = c_, h.keys = ga, h.keysIn = Sa, h.map = Ms, h.mapKeys = Pg, h.mapValues = Eg, h.matches = Ob, h.matchesProperty = Cb, h.memoize = Bs, h.merge = Dg, h.mergeWith = bc, h.method = Ib, h.methodOf = Ab, h.mixin = Mn, h.negate = Fs, h.nthArg = Pb, h.omit = Rg, h.omitBy = Tg, h.once = y_, h.orderBy = u_, h.over = Eb, h.overArgs = P_, h.overEvery = Db, h.overSome = Rb, h.partial = En, h.partialRight = cc, h.partition = d_, h.pick = Sg, h.pickBy = hc, h.property = Pc, h.propertyOf = Tb, h.pull = uf, h.pullAll = Xr, h.pullAllBy = df, h.pullAllWith = mf, h.pullAt = pf, h.range = Sb, h.rangeRight = Lb, h.rearg = E_, h.reject = v_, h.remove = vf, h.rest = D_, h.reverse = An, h.sampleSize = __, h.set = Ng, h.setWith = wg, h.shuffle = g_, h.slice = ff, h.sortBy = x_, h.sortedUniq = Cf, h.sortedUniqBy = If, h.split = lb, h.spread = R_, h.tail = Af, h.take = yf, h.takeRight = Pf, h.takeRightWhile = Ef, h.takeWhile = Df, h.tap = jf, h.throttle = T_, h.thru = ws, h.toArray = vc, h.toPairs = xc, h.toPairsIn = Oc, h.toPath = Bb, h.toPlainObject = _c, h.transform = Mg, h.unary = S_, h.union = Rf, h.unionBy = Tf, h.unionWith = Sf, h.uniq = Lf, h.uniqBy = Nf, h.uniqWith = wf, h.unset = Ug, h.unzip = yn, h.unzipWith = Jr, h.update = Bg, h.updateWith = Fg, h.values = Cl, h.valuesIn = zg, h.without = Mf, h.words = Ac, h.wrap = L_, h.xor = Uf, h.xorBy = Bf, h.xorWith = Ff, h.zip = zf, h.zipObject = kf, h.zipObjectDeep = Gf, h.zipWith = Vf, h.entries = xc, h.entriesIn = Oc, h.extend = gc, h.extendWith = Gs, Mn(h, h), h.add = zb, h.attempt = yc, h.camelCase = jg, h.capitalize = Cc, h.ceil = kb, h.clamp = kg, h.clone = w_, h.cloneDeep = U_, h.cloneDeepWith = B_, h.cloneWith = M_, h.conformsTo = F_, h.deburr = Ic, h.defaultTo = bb, h.divide = Gb, h.endsWith = qg, h.eq = ii, h.escape = $g, h.escapeRegExp = Hg, h.every = Jf, h.find = a_, h.findIndex = Wr, h.findKey = vg, h.findLast = i_, h.findLastIndex = Yr, h.findLastKey = fg, h.floor = Vb, h.forEach = ac, h.forEachRight = ic, h.forIn = _g, h.forInRight = gg, h.forOwn = bg, h.forOwnRight = hg, h.get = Tn, h.gt = z_, h.gte = k_, h.has = Cg, h.hasIn = Sn, h.head = Qr, h.identity = La, h.includes = t_, h.indexOf = af, h.inRange = Gg, h.invoke = yg, h.isArguments = ll, h.isArray = Te, h.isArrayBuffer = G_, h.isArrayLike = Ta, h.isArrayLikeObject = ta, h.isBoolean = V_, h.isBuffer = Fi, h.isDate = j_, h.isElement = q_, h.isEmpty = $_, h.isEqual = H_, h.isEqualWith = K_, h.isError = Dn, h.isFinite = W_, h.isFunction = xi, h.isInteger = uc, h.isLength = zs, h.isMap = dc, h.isMatch = Y_, h.isMatchWith = Z_, h.isNaN = Q_, h.isNative = X_, h.isNil = eg, h.isNull = J_, h.isNumber = mc, h.isObject = sa, h.isObjectLike = oa, h.isPlainObject = Hl, h.isRegExp = Rn, h.isSafeInteger = ag, h.isSet = pc, h.isString = ks, h.isSymbol = za, h.isTypedArray = Ol, h.isUndefined = ig, h.isWeakMap = lg, h.isWeakSet = sg, h.join = tf, h.kebabCase = Kg, h.last = Wa, h.lastIndexOf = rf, h.lowerCase = Wg, h.lowerFirst = Yg, h.lt = og, h.lte = ng, h.max = jb, h.maxBy = qb, h.mean = $b, h.meanBy = Hb, h.min = Kb, h.minBy = Wb, h.stubArray = Bn, h.stubFalse = Fn, h.stubObject = Nb, h.stubString = wb, h.stubTrue = Mb, h.multiply = Yb, h.nth = cf, h.noConflict = yb, h.noop = Un, h.now = Us, h.pad = Zg, h.padEnd = Qg, h.padStart = Xg, h.parseInt = Jg, h.random = Vg, h.reduce = m_, h.reduceRight = p_, h.repeat = eb, h.replace = ab, h.result = Lg, h.round = Zb, h.runInContext = G, h.sample = f_, h.size = b_, h.snakeCase = ib, h.some = h_, h.sortedIndex = _f, h.sortedIndexBy = gf, h.sortedIndexOf = bf, h.sortedLastIndex = hf, h.sortedLastIndexBy = xf, h.sortedLastIndexOf = Of, h.startCase = sb, h.startsWith = ob, h.subtract = Qb, h.sum = Xb, h.sumBy = Jb, h.template = nb, h.times = Ub, h.toFinite = Oi, h.toInteger = Se, h.toLength = fc, h.toLower = tb, h.toNumber = Ya, h.toSafeInteger = tg, h.toString = Ke, h.toUpper = rb, h.trim = cb, h.trimEnd = ub, h.trimStart = db, h.truncate = mb, h.unescape = pb, h.uniqueId = Fb, h.upperCase = vb, h.upperFirst = Ln, h.each = ac, h.eachRight = ic, h.first = Qr, Mn(h, function() {
|
|
5110
5110
|
var e = {};
|
|
5111
|
-
return oi(
|
|
5112
|
-
We.call(
|
|
5111
|
+
return oi(h, function(a, i) {
|
|
5112
|
+
We.call(h.prototype, i) || (e[i] = a);
|
|
5113
5113
|
}), e;
|
|
5114
|
-
}(), { chain: !1 }),
|
|
5115
|
-
|
|
5114
|
+
}(), { chain: !1 }), h.VERSION = c, ja(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
|
5115
|
+
h[e].placeholder = h;
|
|
5116
5116
|
}), ja(["drop", "take"], function(e, a) {
|
|
5117
5117
|
Be.prototype[e] = function(i) {
|
|
5118
5118
|
i = i === l ? 1 : _a(Se(i), 0);
|
|
@@ -5164,10 +5164,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5164
5164
|
}, Be.prototype.toArray = function() {
|
|
5165
5165
|
return this.take(ke);
|
|
5166
5166
|
}, oi(Be.prototype, function(e, a) {
|
|
5167
|
-
var i = /^(?:filter|find|map|reject)|While$/.test(a), n = /^(?:head|last)$/.test(a), p =
|
|
5168
|
-
p && (
|
|
5167
|
+
var i = /^(?:filter|find|map|reject)|While$/.test(a), n = /^(?:head|last)$/.test(a), p = h[n ? "take" + (a == "last" ? "Right" : "") : a], C = n || /^find/.test(a);
|
|
5168
|
+
p && (h.prototype[a] = function() {
|
|
5169
5169
|
var R = this.__wrapped__, U = n ? [1] : arguments, V = R instanceof Be, Q = U[0], X = V || Te(R), ae = function(Me) {
|
|
5170
|
-
var ze = p.apply(
|
|
5170
|
+
var ze = p.apply(h, Si([Me], U));
|
|
5171
5171
|
return n && me ? ze[0] : ze;
|
|
5172
5172
|
};
|
|
5173
5173
|
X && i && typeof Q == "function" && Q.length != 1 && (V = X = !1);
|
|
@@ -5181,7 +5181,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5181
5181
|
});
|
|
5182
5182
|
}), ja(["pop", "push", "shift", "sort", "splice", "unshift"], function(e) {
|
|
5183
5183
|
var a = ns[e], i = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", n = /^(?:pop|shift)$/.test(e);
|
|
5184
|
-
|
|
5184
|
+
h.prototype[e] = function() {
|
|
5185
5185
|
var p = arguments;
|
|
5186
5186
|
if (n && !this.__chain__) {
|
|
5187
5187
|
var C = this.value();
|
|
@@ -5192,7 +5192,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5192
5192
|
});
|
|
5193
5193
|
};
|
|
5194
5194
|
}), oi(Be.prototype, function(e, a) {
|
|
5195
|
-
var i =
|
|
5195
|
+
var i = h[a];
|
|
5196
5196
|
if (i) {
|
|
5197
5197
|
var n = i.name + "";
|
|
5198
5198
|
We.call(_l, n) || (_l[n] = []), _l[n].push({ name: a, func: i });
|
|
@@ -5200,7 +5200,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5200
5200
|
}), _l[Es(l, T).name] = [{
|
|
5201
5201
|
name: "wrapper",
|
|
5202
5202
|
func: l
|
|
5203
|
-
}], Be.prototype.clone = mp, Be.prototype.reverse = pp, Be.prototype.value = vp,
|
|
5203
|
+
}], Be.prototype.clone = mp, Be.prototype.reverse = pp, Be.prototype.value = vp, h.prototype.at = qf, h.prototype.chain = $f, h.prototype.commit = Hf, h.prototype.next = Kf, h.prototype.plant = Yf, h.prototype.reverse = Zf, h.prototype.toJSON = h.prototype.valueOf = h.prototype.value = Qf, h.prototype.first = h.prototype.head, Nl && (h.prototype[Nl] = Wf), h;
|
|
5204
5204
|
}, pl = $m();
|
|
5205
5205
|
Yi ? ((Yi.exports = pl)._ = pl, No._ = pl) : ba._ = pl;
|
|
5206
5206
|
}).call(pe);
|
|
@@ -5612,7 +5612,7 @@ function k0(o) {
|
|
|
5612
5612
|
}
|
|
5613
5613
|
}
|
|
5614
5614
|
(function(o) {
|
|
5615
|
-
Object.defineProperty(o, "__esModule", { value: !0 }), o.upperSnakeizeObject = o.upperSnakeKeys = o.upperSnakeCase = void 0, o.deserialize = c, o.deserializeAndRun = t, o.deserializeWithContext = r, o.deserializeWithContextAndRun = m, o.tryToDeserialize = f, o.tryToDeserializeAndRun =
|
|
5615
|
+
Object.defineProperty(o, "__esModule", { value: !0 }), o.upperSnakeizeObject = o.upperSnakeKeys = o.upperSnakeCase = void 0, o.deserialize = c, o.deserializeAndRun = t, o.deserializeWithContext = r, o.deserializeWithContextAndRun = m, o.tryToDeserialize = f, o.tryToDeserializeAndRun = x, o.toCurrency = A, o.mergeObjects = _, o.capitalize = S, o.formatContactName = O;
|
|
5616
5616
|
const d = De, l = no;
|
|
5617
5617
|
function c(L, N) {
|
|
5618
5618
|
const { context: k = {}, run: D = !1, useInvisibleContext: M = !1 } = N || {};
|
|
@@ -5646,7 +5646,7 @@ function k0(o) {
|
|
|
5646
5646
|
function f(L, N = {}, k = null) {
|
|
5647
5647
|
return (0, l.isSerializedFunction)(L) ? r(L, N) : k;
|
|
5648
5648
|
}
|
|
5649
|
-
function
|
|
5649
|
+
function x(L, N = {}, k = null) {
|
|
5650
5650
|
return (0, l.isSerializedFunction)(L) ? m(L, N) : k;
|
|
5651
5651
|
}
|
|
5652
5652
|
function A(L, N = "EUR", k) {
|
|
@@ -5703,7 +5703,7 @@ function k0(o) {
|
|
|
5703
5703
|
return (k.ignoreWords || []).includes(M) || k.ignoreStopWords && w.includes(M) ? M : P(D);
|
|
5704
5704
|
}).join(" ") : P(L));
|
|
5705
5705
|
}
|
|
5706
|
-
function
|
|
5706
|
+
function O(L) {
|
|
5707
5707
|
if (!L)
|
|
5708
5708
|
return "";
|
|
5709
5709
|
const { nombre: N, apellido: k, apellido2: D } = (0, d.mapKeys)(L, (M, Z) => Z.startsWith("CONTACTO_") ? Z.replace("CONTACTO_", "").toLowerCase() : Z.toLowerCase());
|
|
@@ -5711,8 +5711,8 @@ function k0(o) {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
const y = (L) => (0, d.snakeCase)(L).toUpperCase();
|
|
5713
5713
|
o.upperSnakeCase = y;
|
|
5714
|
-
const
|
|
5715
|
-
o.upperSnakeKeys =
|
|
5714
|
+
const b = (L) => (0, d.mapKeys)(L, (N, k) => (0, o.upperSnakeCase)(k));
|
|
5715
|
+
o.upperSnakeKeys = b;
|
|
5716
5716
|
const T = (L) => (0, d.mapKeys)(L, (N, k) => (0, o.upperSnakeCase)(k));
|
|
5717
5717
|
o.upperSnakeizeObject = T;
|
|
5718
5718
|
})(Du);
|
|
@@ -5888,12 +5888,12 @@ class $0 {
|
|
|
5888
5888
|
const r = Number(((_ = t.DETALLE) == null ? void 0 : _.PRECIO) || 0), m = Math.max(1, t.CANTIDAD || 1), f = Number(t.DESCUENTO || 0);
|
|
5889
5889
|
if (r <= 0)
|
|
5890
5890
|
return console.warn("Pack detail has invalid price:", t), c;
|
|
5891
|
-
const
|
|
5891
|
+
const x = new Hc.ProductPrice({
|
|
5892
5892
|
PRECIO: r * m,
|
|
5893
5893
|
TIPO_IVA: ((P = t.DETALLE) == null ? void 0 : P.TIPO_IVA) || $c.TipoIVA.EXENTO,
|
|
5894
5894
|
DESCUENTO: f,
|
|
5895
5895
|
APLICA_RECARGO_EQUIVALENCIA: this.aplicaRecargoEquivalencia
|
|
5896
|
-
}), A = this.extractTotalsFromProductPrice(
|
|
5896
|
+
}), A = this.extractTotalsFromProductPrice(x);
|
|
5897
5897
|
return {
|
|
5898
5898
|
PRECIO: c.PRECIO + A.PRECIO,
|
|
5899
5899
|
IVA: c.IVA + A.IVA,
|
|
@@ -6472,16 +6472,16 @@ var $u = {}, Vn = { exports: {} };
|
|
|
6472
6472
|
return c(w).toUpperCase();
|
|
6473
6473
|
}, f = function(A) {
|
|
6474
6474
|
return /^[XYZ]{1}[0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]{1}$/i.test(A);
|
|
6475
|
-
},
|
|
6475
|
+
}, x = function(A) {
|
|
6476
6476
|
return /^[0-9]{8}[TRWAGMYFPDXBNJZSQVHLCKE]{1}$/i.test(A);
|
|
6477
6477
|
};
|
|
6478
6478
|
l.ctrlChar = m, l.isNIE = function(A) {
|
|
6479
6479
|
return !!A && A.length === 9 && f(A) && m(A) === A[8].toUpperCase();
|
|
6480
6480
|
}, l.isNIF = function(A) {
|
|
6481
|
-
return !!A && A.length === 9 &&
|
|
6481
|
+
return !!A && A.length === 9 && x(A) && m(A) === A[8].toUpperCase();
|
|
6482
6482
|
}, l.isValid = function(A) {
|
|
6483
6483
|
var _ = A || "";
|
|
6484
|
-
if (_.length !== 9 && !f(_) && !
|
|
6484
|
+
if (_.length !== 9 && !f(_) && !x(_)) return !1;
|
|
6485
6485
|
var P = "xyzXYZ".indexOf(_[0]) % 3, w = P.toString();
|
|
6486
6486
|
P === -1 && (w = _[0]);
|
|
6487
6487
|
var S = +(w + _.slice(1, 8)) % 23;
|
|
@@ -6497,7 +6497,7 @@ var $u = {}, Vn = { exports: {} };
|
|
|
6497
6497
|
if (w === -1) return null;
|
|
6498
6498
|
var S = "trwagmyfpdxbnjzsqvhlckeTRWAGMYFPDXBNJZSQVHLCKE".indexOf(_) % 23;
|
|
6499
6499
|
if (S === -1) return null;
|
|
6500
|
-
var
|
|
6500
|
+
var O = w + 1, y = +("" + w + Math.floor(1e6 * O + (9999999 - 1e6 * O - 23) * r(P)));
|
|
6501
6501
|
return ("" + A + ("0" + (y - y % 23 + S) + _).slice(-8)).toUpperCase();
|
|
6502
6502
|
}, l.randomNIF = function() {
|
|
6503
6503
|
var A = t(8);
|
|
@@ -6516,31 +6516,31 @@ var H0 = Vn.exports, Hu = {};
|
|
|
6516
6516
|
(function(d, l) {
|
|
6517
6517
|
typeof o.nodeName != "string" ? l(o) : l(d.IBAN = {});
|
|
6518
6518
|
})(pe, function(d) {
|
|
6519
|
-
Array.prototype.map || (Array.prototype.map = function(
|
|
6519
|
+
Array.prototype.map || (Array.prototype.map = function(O) {
|
|
6520
6520
|
if (this === void 0 || this === null)
|
|
6521
6521
|
throw new TypeError();
|
|
6522
|
-
var y = Object(this),
|
|
6523
|
-
if (typeof
|
|
6522
|
+
var y = Object(this), b = y.length >>> 0;
|
|
6523
|
+
if (typeof O != "function")
|
|
6524
6524
|
throw new TypeError();
|
|
6525
|
-
for (var T = new Array(
|
|
6526
|
-
N in y && (T[N] =
|
|
6525
|
+
for (var T = new Array(b), L = arguments.length >= 2 ? arguments[1] : void 0, N = 0; N < b; N++)
|
|
6526
|
+
N in y && (T[N] = O.call(L, y[N], N, y));
|
|
6527
6527
|
return T;
|
|
6528
6528
|
});
|
|
6529
6529
|
var l = 65, c = 90;
|
|
6530
|
-
function t(
|
|
6531
|
-
return
|
|
6532
|
-
var
|
|
6533
|
-
return
|
|
6530
|
+
function t(O) {
|
|
6531
|
+
return O = O.toUpperCase(), O = O.substr(4) + O.substr(0, 4), O.split("").map(function(y) {
|
|
6532
|
+
var b = y.charCodeAt(0);
|
|
6533
|
+
return b >= l && b <= c ? b - l + 10 : y;
|
|
6534
6534
|
}).join("");
|
|
6535
6535
|
}
|
|
6536
|
-
function r(
|
|
6537
|
-
for (var y =
|
|
6538
|
-
|
|
6536
|
+
function r(O) {
|
|
6537
|
+
for (var y = O, b; y.length > 2; )
|
|
6538
|
+
b = y.slice(0, 9), y = parseInt(b, 10) % 97 + y.slice(b.length);
|
|
6539
6539
|
return parseInt(y, 10) % 97;
|
|
6540
6540
|
}
|
|
6541
|
-
function m(
|
|
6542
|
-
var y =
|
|
6543
|
-
var T, L =
|
|
6541
|
+
function m(O) {
|
|
6542
|
+
var y = O.match(/(.{3})/g).map(function(b) {
|
|
6543
|
+
var T, L = b.slice(0, 1), N = parseInt(b.slice(1), 10);
|
|
6544
6544
|
switch (L) {
|
|
6545
6545
|
case "A":
|
|
6546
6546
|
T = "0-9A-Za-z";
|
|
@@ -6568,59 +6568,59 @@ var H0 = Vn.exports, Hu = {};
|
|
|
6568
6568
|
});
|
|
6569
6569
|
return new RegExp("^" + y.join("") + "$");
|
|
6570
6570
|
}
|
|
6571
|
-
function f(
|
|
6572
|
-
return
|
|
6571
|
+
function f(O) {
|
|
6572
|
+
return O.replace(P, "").toUpperCase();
|
|
6573
6573
|
}
|
|
6574
|
-
function
|
|
6575
|
-
this.countryCode =
|
|
6574
|
+
function x(O, y, b, T) {
|
|
6575
|
+
this.countryCode = O, this.length = y, this.structure = b, this.example = T;
|
|
6576
6576
|
}
|
|
6577
|
-
|
|
6577
|
+
x.prototype._regex = function() {
|
|
6578
6578
|
return this._cachedRegex || (this._cachedRegex = m(this.structure));
|
|
6579
|
-
},
|
|
6580
|
-
return this.length ==
|
|
6581
|
-
},
|
|
6582
|
-
return this._regex().exec(
|
|
6583
|
-
},
|
|
6584
|
-
if (!this.isValidBBAN(
|
|
6579
|
+
}, x.prototype.isValid = function(O) {
|
|
6580
|
+
return this.length == O.length && this.countryCode === O.slice(0, 2) && this._regex().test(O.slice(4)) && r(t(O)) == 1;
|
|
6581
|
+
}, x.prototype.toBBAN = function(O, y) {
|
|
6582
|
+
return this._regex().exec(O.slice(4)).slice(1).join(y);
|
|
6583
|
+
}, x.prototype.fromBBAN = function(O) {
|
|
6584
|
+
if (!this.isValidBBAN(O))
|
|
6585
6585
|
throw new Error("Invalid BBAN");
|
|
6586
|
-
var y = r(t(this.countryCode + "00" +
|
|
6587
|
-
return this.countryCode +
|
|
6588
|
-
},
|
|
6589
|
-
return this.length - 4 ==
|
|
6586
|
+
var y = r(t(this.countryCode + "00" + O)), b = ("0" + (98 - y)).slice(-2);
|
|
6587
|
+
return this.countryCode + b + O;
|
|
6588
|
+
}, x.prototype.isValidBBAN = function(O) {
|
|
6589
|
+
return this.length - 4 == O.length && this._regex().test(O);
|
|
6590
6590
|
};
|
|
6591
6591
|
var A = {};
|
|
6592
|
-
function _(
|
|
6593
|
-
A[
|
|
6592
|
+
function _(O) {
|
|
6593
|
+
A[O.countryCode] = O;
|
|
6594
6594
|
}
|
|
6595
|
-
_(new
|
|
6595
|
+
_(new x("AD", 24, "F04F04A12", "AD1200012030200359100100")), _(new x("AE", 23, "F03F16", "AE070331234567890123456")), _(new x("AL", 28, "F08A16", "AL47212110090000000235698741")), _(new x("AT", 20, "F05F11", "AT611904300234573201")), _(new x("AZ", 28, "U04A20", "AZ21NABZ00000000137010001944")), _(new x("BA", 20, "F03F03F08F02", "BA391290079401028494")), _(new x("BE", 16, "F03F07F02", "BE68539007547034")), _(new x("BG", 22, "U04F04F02A08", "BG80BNBG96611020345678")), _(new x("BH", 22, "U04A14", "BH67BMAG00001299123456")), _(new x("BR", 29, "F08F05F10U01A01", "BR9700360305000010009795493P1")), _(new x("BY", 28, "A04F04A16", "BY13NBRB3600900000002Z00AB00")), _(new x("CH", 21, "F05A12", "CH9300762011623852957")), _(new x("CR", 22, "F04F14", "CR72012300000171549015")), _(new x("CY", 28, "F03F05A16", "CY17002001280000001200527600")), _(new x("CZ", 24, "F04F06F10", "CZ6508000000192000145399")), _(new x("DE", 22, "F08F10", "DE89370400440532013000")), _(new x("DK", 18, "F04F09F01", "DK5000400440116243")), _(new x("DO", 28, "U04F20", "DO28BAGR00000001212453611324")), _(new x("EE", 20, "F02F02F11F01", "EE382200221020145685")), _(new x("EG", 29, "F04F04F17", "EG800002000156789012345180002")), _(new x("ES", 24, "F04F04F01F01F10", "ES9121000418450200051332")), _(new x("FI", 18, "F06F07F01", "FI2112345600000785")), _(new x("FO", 18, "F04F09F01", "FO6264600001631634")), _(new x("FR", 27, "F05F05A11F02", "FR1420041010050500013M02606")), _(new x("GB", 22, "U04F06F08", "GB29NWBK60161331926819")), _(new x("GE", 22, "U02F16", "GE29NB0000000101904917")), _(new x("GI", 23, "U04A15", "GI75NWBK000000007099453")), _(new x("GL", 18, "F04F09F01", "GL8964710001000206")), _(new x("GR", 27, "F03F04A16", "GR1601101250000000012300695")), _(new x("GT", 28, "A04A20", "GT82TRAJ01020000001210029690")), _(new x("HR", 21, "F07F10", "HR1210010051863000160")), _(new x("HU", 28, "F03F04F01F15F01", "HU42117730161111101800000000")), _(new x("IE", 22, "U04F06F08", "IE29AIBK93115212345678")), _(new x("IL", 23, "F03F03F13", "IL620108000000099999999")), _(new x("IS", 26, "F04F02F06F10", "IS140159260076545510730339")), _(new x("IT", 27, "U01F05F05A12", "IT60X0542811101000000123456")), _(new x("IQ", 23, "U04F03A12", "IQ98NBIQ850123456789012")), _(new x("JO", 30, "A04F22", "JO15AAAA1234567890123456789012")), _(new x("KW", 30, "U04A22", "KW81CBKU0000000000001234560101")), _(new x("KZ", 20, "F03A13", "KZ86125KZT5004100100")), _(new x("LB", 28, "F04A20", "LB62099900000001001901229114")), _(new x("LC", 32, "U04F24", "LC07HEMM000100010012001200013015")), _(new x("LI", 21, "F05A12", "LI21088100002324013AA")), _(new x("LT", 20, "F05F11", "LT121000011101001000")), _(new x("LU", 20, "F03A13", "LU280019400644750000")), _(new x("LV", 21, "U04A13", "LV80BANK0000435195001")), _(new x("MC", 27, "F05F05A11F02", "MC5811222000010123456789030")), _(new x("MD", 24, "U02A18", "MD24AG000225100013104168")), _(new x("ME", 22, "F03F13F02", "ME25505000012345678951")), _(new x("MK", 19, "F03A10F02", "MK07250120000058984")), _(new x("MR", 27, "F05F05F11F02", "MR1300020001010000123456753")), _(new x("MT", 31, "U04F05A18", "MT84MALT011000012345MTLCAST001S")), _(new x("MU", 30, "U04F02F02F12F03U03", "MU17BOMM0101101030300200000MUR")), _(new x("NL", 18, "U04F10", "NL91ABNA0417164300")), _(new x("NO", 15, "F04F06F01", "NO9386011117947")), _(new x("PK", 24, "U04A16", "PK36SCBL0000001123456702")), _(new x("PL", 28, "F08F16", "PL61109010140000071219812874")), _(new x("PS", 29, "U04A21", "PS92PALS000000000400123456702")), _(new x("PT", 25, "F04F04F11F02", "PT50000201231234567890154")), _(new x("QA", 29, "U04A21", "QA30AAAA123456789012345678901")), _(new x("RO", 24, "U04A16", "RO49AAAA1B31007593840000")), _(new x("RS", 22, "F03F13F02", "RS35260005601001611379")), _(new x("SA", 24, "F02A18", "SA0380000000608010167519")), _(new x("SC", 31, "U04F04F16U03", "SC18SSCB11010000000000001497USD")), _(new x("SE", 24, "F03F16F01", "SE4550000000058398257466")), _(new x("SI", 19, "F05F08F02", "SI56263300012039086")), _(new x("SK", 24, "F04F06F10", "SK3112000000198742637541")), _(new x("SM", 27, "U01F05F05A12", "SM86U0322509800000000270100")), _(new x("ST", 25, "F08F11F02", "ST68000100010051845310112")), _(new x("SV", 28, "U04F20", "SV62CENR00000000000000700025")), _(new x("TL", 23, "F03F14F02", "TL380080012345678910157")), _(new x("TN", 24, "F02F03F13F02", "TN5910006035183598478831")), _(new x("TR", 26, "F05F01A16", "TR330006100519786457841326")), _(new x("UA", 29, "F25", "UA511234567890123456789012345")), _(new x("VA", 22, "F18", "VA59001123000012345678")), _(new x("VG", 24, "U04F16", "VG96VPVG0000012345678901")), _(new x("XK", 20, "F04F10F02", "XK051212012345678906")), _(new x("AO", 25, "F21", "AO69123456789012345678901")), _(new x("BF", 27, "F23", "BF2312345678901234567890123")), _(new x("BI", 16, "F12", "BI41123456789012")), _(new x("BJ", 28, "F24", "BJ39123456789012345678901234")), _(new x("CI", 28, "U02F22", "CI70CI1234567890123456789012")), _(new x("CM", 27, "F23", "CM9012345678901234567890123")), _(new x("CV", 25, "F21", "CV30123456789012345678901")), _(new x("DZ", 24, "F20", "DZ8612345678901234567890")), _(new x("IR", 26, "F22", "IR861234568790123456789012")), _(new x("MG", 27, "F23", "MG1812345678901234567890123")), _(new x("ML", 28, "U01F23", "ML15A12345678901234567890123")), _(new x("MZ", 25, "F21", "MZ25123456789012345678901")), _(new x("SN", 28, "U01F23", "SN52A12345678901234567890123")), _(new x("GF", 27, "F05F05A11F02", "GF121234512345123456789AB13")), _(new x("GP", 27, "F05F05A11F02", "GP791234512345123456789AB13")), _(new x("MQ", 27, "F05F05A11F02", "MQ221234512345123456789AB13")), _(new x("RE", 27, "F05F05A11F02", "RE131234512345123456789AB13")), _(new x("PF", 27, "F05F05A11F02", "PF281234512345123456789AB13")), _(new x("TF", 27, "F05F05A11F02", "TF891234512345123456789AB13")), _(new x("YT", 27, "F05F05A11F02", "YT021234512345123456789AB13")), _(new x("NC", 27, "F05F05A11F02", "NC551234512345123456789AB13")), _(new x("BL", 27, "F05F05A11F02", "BL391234512345123456789AB13")), _(new x("MF", 27, "F05F05A11F02", "MF551234512345123456789AB13")), _(new x("PM", 27, "F05F05A11F02", "PM071234512345123456789AB13")), _(new x("WF", 27, "F05F05A11F02", "WF621234512345123456789AB13"));
|
|
6596
6596
|
var P = /[^a-zA-Z0-9]/g, w = /(.{4})(?!$)/g;
|
|
6597
|
-
function S(
|
|
6598
|
-
return typeof
|
|
6597
|
+
function S(O) {
|
|
6598
|
+
return typeof O == "string" || O instanceof String;
|
|
6599
6599
|
}
|
|
6600
|
-
d.isValid = function(
|
|
6601
|
-
if (!S(
|
|
6600
|
+
d.isValid = function(O) {
|
|
6601
|
+
if (!S(O))
|
|
6602
6602
|
return !1;
|
|
6603
|
-
|
|
6604
|
-
var y = A[
|
|
6605
|
-
return !!y && y.isValid(
|
|
6606
|
-
}, d.toBBAN = function(
|
|
6607
|
-
typeof y > "u" && (y = " "),
|
|
6608
|
-
var
|
|
6609
|
-
if (!
|
|
6610
|
-
throw new Error("No country with code " +
|
|
6611
|
-
return
|
|
6612
|
-
}, d.fromBBAN = function(
|
|
6613
|
-
var
|
|
6614
|
-
if (!
|
|
6615
|
-
throw new Error("No country with code " +
|
|
6616
|
-
return
|
|
6617
|
-
}, d.isValidBBAN = function(
|
|
6603
|
+
O = f(O);
|
|
6604
|
+
var y = A[O.slice(0, 2)];
|
|
6605
|
+
return !!y && y.isValid(O);
|
|
6606
|
+
}, d.toBBAN = function(O, y) {
|
|
6607
|
+
typeof y > "u" && (y = " "), O = f(O);
|
|
6608
|
+
var b = A[O.slice(0, 2)];
|
|
6609
|
+
if (!b)
|
|
6610
|
+
throw new Error("No country with code " + O.slice(0, 2));
|
|
6611
|
+
return b.toBBAN(O, y);
|
|
6612
|
+
}, d.fromBBAN = function(O, y) {
|
|
6613
|
+
var b = A[O];
|
|
6614
|
+
if (!b)
|
|
6615
|
+
throw new Error("No country with code " + O);
|
|
6616
|
+
return b.fromBBAN(f(y));
|
|
6617
|
+
}, d.isValidBBAN = function(O, y) {
|
|
6618
6618
|
if (!S(y))
|
|
6619
6619
|
return !1;
|
|
6620
|
-
var
|
|
6621
|
-
return
|
|
6622
|
-
}, d.printFormat = function(
|
|
6623
|
-
return typeof y > "u" && (y = " "), f(
|
|
6620
|
+
var b = A[O];
|
|
6621
|
+
return b && b.isValidBBAN(f(y));
|
|
6622
|
+
}, d.printFormat = function(O, y) {
|
|
6623
|
+
return typeof y > "u" && (y = " "), f(O).replace(w, "$1" + y);
|
|
6624
6624
|
}, d.electronicFormat = f, d.countries = A;
|
|
6625
6625
|
});
|
|
6626
6626
|
})(Hu);
|
|
@@ -6979,7 +6979,7 @@ const K0 = ["src", "alt"], W0 = /* @__PURE__ */ fe({
|
|
|
6979
6979
|
setup(o, { emit: d }) {
|
|
6980
6980
|
const l = d, c = o, t = I(() => c.items.filter((m) => m.show !== !1)), r = I(() => c.normalButton ? Al : Ki);
|
|
6981
6981
|
return (m, f) => {
|
|
6982
|
-
const
|
|
6982
|
+
const x = Ai("IndicatorColor"), A = Ws("close-popup");
|
|
6983
6983
|
return u(), ce($n(r.value), {
|
|
6984
6984
|
action: m.icon ? "" : "menu",
|
|
6985
6985
|
icon: m.icon,
|
|
@@ -7013,7 +7013,7 @@ const K0 = ["src", "alt"], W0 = /* @__PURE__ */ fe({
|
|
|
7013
7013
|
name: _.icon,
|
|
7014
7014
|
size: "xs"
|
|
7015
7015
|
}, null, 8, ["name"])) : _.color ? (u(), g("div", Q0, [
|
|
7016
|
-
z(
|
|
7016
|
+
z(x, {
|
|
7017
7017
|
color: _.color
|
|
7018
7018
|
}, null, 8, ["color"])
|
|
7019
7019
|
])) : B("", !0)
|
|
@@ -7055,18 +7055,18 @@ const K0 = ["src", "alt"], W0 = /* @__PURE__ */ fe({
|
|
|
7055
7055
|
label: {}
|
|
7056
7056
|
},
|
|
7057
7057
|
setup(o) {
|
|
7058
|
-
const d = o, { state: l, labels: c, colors: t, states: r, color: m, label: f } = Ge(d),
|
|
7058
|
+
const d = o, { state: l, labels: c, colors: t, states: r, color: m, label: f } = Ge(d), x = I(() => {
|
|
7059
7059
|
var P;
|
|
7060
7060
|
return ((P = r == null ? void 0 : r.value) == null ? void 0 : P[l.value]) || null;
|
|
7061
7061
|
}), A = I(
|
|
7062
7062
|
() => {
|
|
7063
7063
|
var P;
|
|
7064
|
-
return f.value ?? (((P =
|
|
7064
|
+
return f.value ?? (((P = x.value) == null ? void 0 : P.label) || c.value[Number(l.value)]);
|
|
7065
7065
|
}
|
|
7066
7066
|
), _ = I(
|
|
7067
7067
|
() => {
|
|
7068
7068
|
var P;
|
|
7069
|
-
return m.value ?? (((P =
|
|
7069
|
+
return m.value ?? (((P = x.value) == null ? void 0 : P.color) || t.value[Number(l.value)]);
|
|
7070
7070
|
}
|
|
7071
7071
|
);
|
|
7072
7072
|
return (P, w) => (u(), g("div", J0, [
|
|
@@ -7117,15 +7117,15 @@ const K0 = ["src", "alt"], W0 = /* @__PURE__ */ fe({
|
|
|
7117
7117
|
var _;
|
|
7118
7118
|
(_ = t.value) == null || _.clearSignature(), A();
|
|
7119
7119
|
}, f = Ce(0);
|
|
7120
|
-
function
|
|
7120
|
+
function x(_) {
|
|
7121
7121
|
const P = _._pdfInfo;
|
|
7122
7122
|
if (f.value = P.numPages, typeof document > "u") return;
|
|
7123
7123
|
const w = document.getElementsByClassName(
|
|
7124
7124
|
"pdf-vue3-canvas-container"
|
|
7125
7125
|
)[0];
|
|
7126
7126
|
setTimeout(() => {
|
|
7127
|
-
const S = w.clientWidth,
|
|
7128
|
-
r.value = { width: S, height:
|
|
7127
|
+
const S = w.clientWidth, O = w.clientHeight + 600;
|
|
7128
|
+
r.value = { width: S, height: O };
|
|
7129
7129
|
}, 100);
|
|
7130
7130
|
}
|
|
7131
7131
|
const A = () => {
|
|
@@ -7151,7 +7151,7 @@ const K0 = ["src", "alt"], W0 = /* @__PURE__ */ fe({
|
|
|
7151
7151
|
showBackToTopBtn: !1,
|
|
7152
7152
|
rowGap: 0,
|
|
7153
7153
|
ref: "pdfRef",
|
|
7154
|
-
onOnPdfInit:
|
|
7154
|
+
onOnPdfInit: x
|
|
7155
7155
|
}, null, 40, ["src"])) : (u(), g("div", ih, [
|
|
7156
7156
|
z(v(vu), { height: "500px" })
|
|
7157
7157
|
])),
|
|
@@ -7237,8 +7237,8 @@ const th = { class: "card" }, rh = {
|
|
|
7237
7237
|
}, E(r.card.title), 9, ch)) : B("", !0)
|
|
7238
7238
|
])) : B("", !0),
|
|
7239
7239
|
s("div", uh, [
|
|
7240
|
-
(u(!0), g(oe, null, _e(r.card.fields, (f,
|
|
7241
|
-
key:
|
|
7240
|
+
(u(!0), g(oe, null, _e(r.card.fields, (f, x) => (u(), g("div", {
|
|
7241
|
+
key: x,
|
|
7242
7242
|
class: "card-field"
|
|
7243
7243
|
}, [
|
|
7244
7244
|
s("span", {
|
|
@@ -7374,29 +7374,29 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7374
7374
|
},
|
|
7375
7375
|
emits: ["save", "clear", "cancel", "edit"],
|
|
7376
7376
|
setup(o, { emit: d }) {
|
|
7377
|
-
const l = wa("globalModel"), c = o, t = I(() => c.content.signable), r = Ce(null), m = Ce(""), f = Ce(!1), { screen:
|
|
7377
|
+
const l = wa("globalModel"), c = o, t = I(() => c.content.signable), r = Ce(null), m = Ce(""), f = Ce(!1), { screen: x } = Ys(), A = () => {
|
|
7378
7378
|
var y;
|
|
7379
|
-
(y = r.value) == null || y.clearSignature(),
|
|
7379
|
+
(y = r.value) == null || y.clearSignature(), O(!1);
|
|
7380
7380
|
}, _ = d, P = () => {
|
|
7381
7381
|
var T;
|
|
7382
|
-
const { isEmpty: y, data:
|
|
7383
|
-
y || (m.value =
|
|
7382
|
+
const { isEmpty: y, data: b } = (T = r.value) == null ? void 0 : T.saveSignature();
|
|
7383
|
+
y || (m.value = b, f.value = !1, O(!0), _("save"));
|
|
7384
7384
|
}, w = () => {
|
|
7385
|
-
f.value = !0,
|
|
7385
|
+
f.value = !0, O(!1), _("edit");
|
|
7386
7386
|
}, S = () => {
|
|
7387
|
-
f.value = !1,
|
|
7388
|
-
},
|
|
7389
|
-
var
|
|
7387
|
+
f.value = !1, O(!1), _("cancel");
|
|
7388
|
+
}, O = (y) => {
|
|
7389
|
+
var b;
|
|
7390
7390
|
l.value = {
|
|
7391
7391
|
...l.value,
|
|
7392
7392
|
signed: y,
|
|
7393
7393
|
values: {
|
|
7394
|
-
...(
|
|
7394
|
+
...(b = l.value) == null ? void 0 : b.values,
|
|
7395
7395
|
[c.id]: y
|
|
7396
7396
|
}
|
|
7397
7397
|
};
|
|
7398
7398
|
};
|
|
7399
|
-
return (y,
|
|
7399
|
+
return (y, b) => {
|
|
7400
7400
|
const T = Ai("VueSignaturePad"), L = Ai("client-only");
|
|
7401
7401
|
return u(), g("div", Sh, [
|
|
7402
7402
|
t.value ? (u(), g("div", Lh, [
|
|
@@ -7405,7 +7405,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7405
7405
|
default: ie(() => [
|
|
7406
7406
|
s("div", wh, [
|
|
7407
7407
|
z(T, {
|
|
7408
|
-
width: v(
|
|
7408
|
+
width: v(x).lt.md ? "100vw" : "auto",
|
|
7409
7409
|
height: "180px",
|
|
7410
7410
|
ref_key: "signaturePad",
|
|
7411
7411
|
ref: r
|
|
@@ -7420,7 +7420,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7420
7420
|
outline: "",
|
|
7421
7421
|
onClick: S
|
|
7422
7422
|
}, {
|
|
7423
|
-
default: ie(() => [...
|
|
7423
|
+
default: ie(() => [...b[0] || (b[0] = [
|
|
7424
7424
|
ue("Cancelar", -1)
|
|
7425
7425
|
])]),
|
|
7426
7426
|
_: 1
|
|
@@ -7430,7 +7430,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7430
7430
|
outline: "",
|
|
7431
7431
|
onClick: A
|
|
7432
7432
|
}, {
|
|
7433
|
-
default: ie(() => [...
|
|
7433
|
+
default: ie(() => [...b[1] || (b[1] = [
|
|
7434
7434
|
ue("Limpiar", -1)
|
|
7435
7435
|
])]),
|
|
7436
7436
|
_: 1
|
|
@@ -7440,7 +7440,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7440
7440
|
outline: "",
|
|
7441
7441
|
onClick: P
|
|
7442
7442
|
}, {
|
|
7443
|
-
default: ie(() => [...
|
|
7443
|
+
default: ie(() => [...b[2] || (b[2] = [
|
|
7444
7444
|
ue("Confirmar", -1)
|
|
7445
7445
|
])]),
|
|
7446
7446
|
_: 1
|
|
@@ -7474,9 +7474,9 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7474
7474
|
setup(o) {
|
|
7475
7475
|
const d = o, { columns: l } = Ge(d.content), { data: c } = _o(d.id, []), t = I(() => [...c.value[d.content.rowsKey] || []]), r = wa("editable");
|
|
7476
7476
|
return (m, f) => {
|
|
7477
|
-
var
|
|
7477
|
+
var x;
|
|
7478
7478
|
return u(), g("table", {
|
|
7479
|
-
style: se("width: 100%;" + ((
|
|
7479
|
+
style: se("width: 100%;" + ((x = m.styles) == null ? void 0 : x.cssRaw) || ""),
|
|
7480
7480
|
class: "table-section"
|
|
7481
7481
|
}, [
|
|
7482
7482
|
s("thead", null, [
|
|
@@ -7531,11 +7531,11 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7531
7531
|
}), t = Ce([]), r = wa("editable"), m = (P, w, S) => {
|
|
7532
7532
|
if (!w)
|
|
7533
7533
|
return f(l.value, P);
|
|
7534
|
-
const
|
|
7535
|
-
return Object.keys(w).forEach((
|
|
7536
|
-
const T = `${S}.${
|
|
7537
|
-
nh(
|
|
7538
|
-
}), f(
|
|
7534
|
+
const O = {};
|
|
7535
|
+
return Object.keys(w).forEach((b) => {
|
|
7536
|
+
const T = `${S}.${b}`;
|
|
7537
|
+
nh(O, T, w[b]);
|
|
7538
|
+
}), f(O, P);
|
|
7539
7539
|
};
|
|
7540
7540
|
ca(
|
|
7541
7541
|
c,
|
|
@@ -7546,12 +7546,12 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7546
7546
|
);
|
|
7547
7547
|
function f(P, w) {
|
|
7548
7548
|
const S = w.match(/{{(.*?)}}/g);
|
|
7549
|
-
return S ? S.reduce((
|
|
7550
|
-
const
|
|
7551
|
-
return
|
|
7549
|
+
return S ? S.reduce((O, y) => {
|
|
7550
|
+
const b = y.replace(/{{|}}/g, "").trim(), T = nd(P, b);
|
|
7551
|
+
return O.replace(y, T ?? b);
|
|
7552
7552
|
}, w) : w;
|
|
7553
7553
|
}
|
|
7554
|
-
const
|
|
7554
|
+
const x = () => {
|
|
7555
7555
|
if (!(r != null && r.value)) return;
|
|
7556
7556
|
const P = t.value.length, w = {
|
|
7557
7557
|
type: Ue.TextLineType.PARAGRAPH,
|
|
@@ -7571,7 +7571,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7571
7571
|
size: "sm",
|
|
7572
7572
|
round: "",
|
|
7573
7573
|
color: "black",
|
|
7574
|
-
onClick:
|
|
7574
|
+
onClick: x,
|
|
7575
7575
|
icon: "add"
|
|
7576
7576
|
}, {
|
|
7577
7577
|
default: ie(() => [
|
|
@@ -7589,20 +7589,20 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7589
7589
|
s("div", {
|
|
7590
7590
|
style: se(((S = P.styles) == null ? void 0 : S.cssRaw) || "")
|
|
7591
7591
|
}, [
|
|
7592
|
-
(u(!0), g(oe, null, _e(t.value, ({ type:
|
|
7593
|
-
style: se({ textAlign:
|
|
7592
|
+
(u(!0), g(oe, null, _e(t.value, ({ type: O, text: y, align: b, sourceCollection: T, styles: L }, N) => (u(), g("div", {
|
|
7593
|
+
style: se({ textAlign: b || "left" })
|
|
7594
7594
|
}, [
|
|
7595
|
-
|
|
7595
|
+
O === "title" ? (u(), g("h1", {
|
|
7596
7596
|
key: 0,
|
|
7597
7597
|
contenteditable: v(r),
|
|
7598
7598
|
style: se(L || {})
|
|
7599
7599
|
}, E(m(y, null)), 13, Xh)) : B("", !0),
|
|
7600
|
-
|
|
7600
|
+
O === "subtitle" ? (u(), g("h2", {
|
|
7601
7601
|
key: 1,
|
|
7602
7602
|
contenteditable: v(r),
|
|
7603
7603
|
style: se(L || {})
|
|
7604
7604
|
}, E(m(y, null)), 13, Jh)) : B("", !0),
|
|
7605
|
-
|
|
7605
|
+
O === "paragraph" ? (u(!0), g(oe, { key: 2 }, _e(T ? v(l)[T] : [null], (k) => (u(), g("div", ex, [
|
|
7606
7606
|
(u(!0), g(oe, null, _e(_(
|
|
7607
7607
|
m(y, k, T)
|
|
7608
7608
|
), (D) => (u(), g("p", {
|
|
@@ -7677,7 +7677,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7677
7677
|
}),
|
|
7678
7678
|
emits: ["update:modelValue"],
|
|
7679
7679
|
setup(o) {
|
|
7680
|
-
var
|
|
7680
|
+
var x, A;
|
|
7681
7681
|
const d = sl(o, "modelValue");
|
|
7682
7682
|
Ea("globalModel", d);
|
|
7683
7683
|
const l = o, { layout: c, data: t, editable: r } = Ge(l);
|
|
@@ -7688,11 +7688,11 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7688
7688
|
type: "default",
|
|
7689
7689
|
section: S
|
|
7690
7690
|
}))) || [];
|
|
7691
|
-
return (w = l.htmlNodes) == null || w.forEach(({ index: S, element:
|
|
7691
|
+
return (w = l.htmlNodes) == null || w.forEach(({ index: S, element: O }) => {
|
|
7692
7692
|
const y = S > _.length ? _.length : S;
|
|
7693
|
-
_.splice(y, 0, { type: "html", section:
|
|
7693
|
+
_.splice(y, 0, { type: "html", section: O });
|
|
7694
7694
|
}), _;
|
|
7695
|
-
}), f = ((A = (
|
|
7695
|
+
}), f = ((A = (x = c.value) == null ? void 0 : x.styles) == null ? void 0 : A.cssRaw) || "";
|
|
7696
7696
|
return (_, P) => (u(), g("div", {
|
|
7697
7697
|
class: "sections-container",
|
|
7698
7698
|
style: se(v(f))
|
|
@@ -7807,20 +7807,20 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7807
7807
|
},
|
|
7808
7808
|
setup(o) {
|
|
7809
7809
|
const d = o, { data: l } = Ge(d), c = I(() => {
|
|
7810
|
-
var f,
|
|
7811
|
-
return ((A = (
|
|
7810
|
+
var f, x, A;
|
|
7811
|
+
return ((A = (x = (f = l.value) == null ? void 0 : f.especializacion) == null ? void 0 : x.map((_) => _.toLowerCase())) == null ? void 0 : A.map((_) => {
|
|
7812
7812
|
var P;
|
|
7813
7813
|
return (P = Il(Ii(_))) == null ? void 0 : P.replace(/_/g, " ");
|
|
7814
7814
|
})) || [];
|
|
7815
7815
|
}), t = I(() => {
|
|
7816
|
-
var f,
|
|
7817
|
-
return ((A = (
|
|
7816
|
+
var f, x, A;
|
|
7817
|
+
return ((A = (x = (f = l.value) == null ? void 0 : f.especializacion_de_residencia) == null ? void 0 : x.map((_) => _.toLowerCase())) == null ? void 0 : A.map((_) => {
|
|
7818
7818
|
var P;
|
|
7819
7819
|
return (P = Il(Ii(_))) == null ? void 0 : P.replace(/_/g, " ");
|
|
7820
7820
|
})) || [];
|
|
7821
7821
|
}), r = I(() => {
|
|
7822
|
-
var f,
|
|
7823
|
-
return ((A = (
|
|
7822
|
+
var f, x, A;
|
|
7823
|
+
return ((A = (x = (f = l.value) == null ? void 0 : f.especializacion_hipotecas) == null ? void 0 : x.map((_) => _.toLowerCase())) == null ? void 0 : A.map((_) => {
|
|
7824
7824
|
var P;
|
|
7825
7825
|
return (P = Il(Ii(_))) == null ? void 0 : P.replace(/_/g, " ");
|
|
7826
7826
|
})) || [];
|
|
@@ -7829,13 +7829,13 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7829
7829
|
const f = Number((A = l.value) == null ? void 0 : A.fecha_de_inicio) || 0;
|
|
7830
7830
|
return (/* @__PURE__ */ new Date()).getFullYear() - f;
|
|
7831
7831
|
});
|
|
7832
|
-
return (f,
|
|
7832
|
+
return (f, x) => {
|
|
7833
7833
|
var A, _, P;
|
|
7834
7834
|
return u(), g("div", _x, [
|
|
7835
7835
|
f.table ? (u(), g("table", gx, [
|
|
7836
7836
|
s("tbody", null, [
|
|
7837
7837
|
(A = v(l)) != null && A.idiomas.length ? (u(), g("tr", bx, [
|
|
7838
|
-
|
|
7838
|
+
x[0] || (x[0] = s("td", { class: "broker-label" }, "Idiomas", -1)),
|
|
7839
7839
|
s("td", null, [
|
|
7840
7840
|
z(yi, {
|
|
7841
7841
|
items: v(l).idiomas,
|
|
@@ -7844,11 +7844,11 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7844
7844
|
])
|
|
7845
7845
|
])) : B("", !0),
|
|
7846
7846
|
s("tr", null, [
|
|
7847
|
-
|
|
7847
|
+
x[1] || (x[1] = s("td", { class: "broker-label" }, "Años de experiencia", -1)),
|
|
7848
7848
|
s("td", null, E(m.value), 1)
|
|
7849
7849
|
]),
|
|
7850
7850
|
c.value.length ? (u(), g("tr", hx, [
|
|
7851
|
-
|
|
7851
|
+
x[2] || (x[2] = s("td", { class: "broker-label" }, "Especialización", -1)),
|
|
7852
7852
|
s("td", null, [
|
|
7853
7853
|
(u(!0), g(oe, null, _e(c.value, (w, S) => (u(), g("span", {
|
|
7854
7854
|
key: "esp-" + S
|
|
@@ -7859,7 +7859,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7859
7859
|
])
|
|
7860
7860
|
])) : B("", !0),
|
|
7861
7861
|
t.value.length ? (u(), g("tr", Ox, [
|
|
7862
|
-
|
|
7862
|
+
x[3] || (x[3] = s("td", { class: "broker-label" }, "Especialización de residencia", -1)),
|
|
7863
7863
|
s("td", null, [
|
|
7864
7864
|
(u(!0), g(oe, null, _e(t.value, (w, S) => (u(), g("span", {
|
|
7865
7865
|
key: "espres-" + S
|
|
@@ -7870,7 +7870,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7870
7870
|
])
|
|
7871
7871
|
])) : B("", !0),
|
|
7872
7872
|
r.value.length ? (u(), g("tr", Ix, [
|
|
7873
|
-
|
|
7873
|
+
x[4] || (x[4] = s("td", { class: "broker-label" }, "Especialización de hipotecas", -1)),
|
|
7874
7874
|
s("td", null, [
|
|
7875
7875
|
(u(!0), g(oe, null, _e(r.value, (w, S) => (u(), g("span", {
|
|
7876
7876
|
key: "espres-" + S
|
|
@@ -7883,13 +7883,13 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7883
7883
|
])
|
|
7884
7884
|
])) : (u(), g("div", yx, [
|
|
7885
7885
|
(P = (_ = v(l)) == null ? void 0 : _.idiomas) != null && P.length ? (u(), g("div", Px, [
|
|
7886
|
-
|
|
7886
|
+
x[5] || (x[5] = s("div", { class: "q-mr-sm" }, "Idiomas:", -1)),
|
|
7887
7887
|
z(yi, {
|
|
7888
7888
|
items: v(l).idiomas,
|
|
7889
7889
|
type: "languages"
|
|
7890
7890
|
}, null, 8, ["items"])
|
|
7891
7891
|
])) : B("", !0),
|
|
7892
|
-
|
|
7892
|
+
x[6] || (x[6] = s("div", null, "Especializado en:", -1)),
|
|
7893
7893
|
s("ul", null, [
|
|
7894
7894
|
(u(!0), g(oe, null, _e(c.value, (w) => (u(), g("li", null, E(w), 1))), 256)),
|
|
7895
7895
|
(u(!0), g(oe, null, _e(t.value, (w) => (u(), g("li", null, E(w), 1))), 256)),
|
|
@@ -7936,17 +7936,17 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7936
7936
|
const l = d, c = o, { data: t, context: r } = Ge(c), m = Ce(!1), f = I(() => {
|
|
7937
7937
|
var y;
|
|
7938
7938
|
return r.value === "captacion" ? ((y = t.value) == null ? void 0 : y.PARTNER) || null : t.value || null;
|
|
7939
|
-
}),
|
|
7939
|
+
}), x = I(
|
|
7940
7940
|
() => {
|
|
7941
7941
|
var y;
|
|
7942
|
-
return (((y = t.value) == null ? void 0 : y.PAISES) || []).map((
|
|
7942
|
+
return (((y = t.value) == null ? void 0 : y.PAISES) || []).map((b) => b.CODIGO.toLowerCase());
|
|
7943
7943
|
}
|
|
7944
7944
|
), A = I(
|
|
7945
7945
|
() => {
|
|
7946
|
-
var y,
|
|
7946
|
+
var y, b, T, L, N, k;
|
|
7947
7947
|
return Ue.capitalize(
|
|
7948
7948
|
[
|
|
7949
|
-
(T = (
|
|
7949
|
+
(T = (b = (y = f.value) == null ? void 0 : y.CONTACTO) == null ? void 0 : b.UBICACION) == null ? void 0 : T.PROVINCIA,
|
|
7950
7950
|
(k = (N = (L = f.value) == null ? void 0 : L.CONTACTO) == null ? void 0 : N.UBICACION) == null ? void 0 : k.CIUDAD
|
|
7951
7951
|
].map((D) => D == null ? void 0 : D.trim()).filter(Boolean).join(", "),
|
|
7952
7952
|
!0
|
|
@@ -7954,8 +7954,8 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7954
7954
|
}
|
|
7955
7955
|
), _ = I(
|
|
7956
7956
|
() => {
|
|
7957
|
-
var y,
|
|
7958
|
-
return Ue.capitalize((
|
|
7957
|
+
var y, b;
|
|
7958
|
+
return Ue.capitalize((b = (y = f.value) == null ? void 0 : y.NOMBRE) == null ? void 0 : b.trim().split(" ")[0], !0);
|
|
7959
7959
|
}
|
|
7960
7960
|
), P = I(
|
|
7961
7961
|
() => {
|
|
@@ -7963,17 +7963,17 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7963
7963
|
return (((y = f.value) == null ? void 0 : y.DESCRIPCION_CORTA) || "").trim();
|
|
7964
7964
|
}
|
|
7965
7965
|
), w = I(() => {
|
|
7966
|
-
var y,
|
|
7967
|
-
return (
|
|
7968
|
-
}), S = Ce(1),
|
|
7966
|
+
var y, b;
|
|
7967
|
+
return (b = (y = f.value) == null ? void 0 : y.TAGS) == null ? void 0 : b.split(",");
|
|
7968
|
+
}), S = Ce(1), O = I(
|
|
7969
7969
|
() => {
|
|
7970
7970
|
var y;
|
|
7971
7971
|
return (((y = f.value) == null ? void 0 : y.R_ARCHIVOS) || []).map(
|
|
7972
|
-
(
|
|
7972
|
+
(b) => si(b, (T, L) => Ii(L))
|
|
7973
7973
|
);
|
|
7974
7974
|
}
|
|
7975
7975
|
);
|
|
7976
|
-
return (y,
|
|
7976
|
+
return (y, b) => f.value ? (u(), ce(Ja, {
|
|
7977
7977
|
key: 0,
|
|
7978
7978
|
loading: y.fetching,
|
|
7979
7979
|
"no-padding": "",
|
|
@@ -7981,7 +7981,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7981
7981
|
"border-radius": y.borderRadius,
|
|
7982
7982
|
hoverable: y.hoverable,
|
|
7983
7983
|
style: se({ scale: c.scale ?? 1 }),
|
|
7984
|
-
onClick:
|
|
7984
|
+
onClick: b[1] || (b[1] = (T) => l("on-event", {
|
|
7985
7985
|
code: "card_click",
|
|
7986
7986
|
payload: { broker: f.value }
|
|
7987
7987
|
}))
|
|
@@ -7995,7 +7995,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
7995
7995
|
(u(!0), g(oe, null, _e(w.value, (N) => (u(), ce(Zl, { tag: N }, null, 8, ["tag"]))), 256))
|
|
7996
7996
|
]),
|
|
7997
7997
|
m.value ? (u(), g("div", Sx, [
|
|
7998
|
-
ue(E((T =
|
|
7998
|
+
ue(E((T = O.value) != null && T.length ? S.value : 0) + "/" + E(((L = O.value) == null ? void 0 : L.length) || 0) + " ", 1),
|
|
7999
7999
|
z(v(Ne), {
|
|
8000
8000
|
name: "sym_o_image",
|
|
8001
8001
|
size: "sm",
|
|
@@ -8005,8 +8005,8 @@ const bh = /* @__PURE__ */ fe({
|
|
|
8005
8005
|
]),
|
|
8006
8006
|
z(nl, {
|
|
8007
8007
|
modelValue: S.value,
|
|
8008
|
-
"onUpdate:modelValue":
|
|
8009
|
-
items:
|
|
8008
|
+
"onUpdate:modelValue": b[0] || (b[0] = (N) => S.value = N),
|
|
8009
|
+
items: O.value,
|
|
8010
8010
|
height: y.imageHeight,
|
|
8011
8011
|
"border-radius": y.borderRadius
|
|
8012
8012
|
}, null, 8, ["modelValue", "items", "height", "border-radius"])
|
|
@@ -8019,7 +8019,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
8019
8019
|
s("div", Lx, [
|
|
8020
8020
|
s("div", Nx, E(_.value), 1),
|
|
8021
8021
|
z(yi, {
|
|
8022
|
-
items:
|
|
8022
|
+
items: x.value,
|
|
8023
8023
|
type: "countries"
|
|
8024
8024
|
}, null, 8, ["items"])
|
|
8025
8025
|
]),
|
|
@@ -8036,7 +8036,7 @@ const bh = /* @__PURE__ */ fe({
|
|
|
8036
8036
|
lineClamp: y.descriptionLines,
|
|
8037
8037
|
WebkitLineClamp: y.descriptionLines
|
|
8038
8038
|
})
|
|
8039
|
-
}, E(P.value || "~"), 5)) : (u(), g("span", Fx, [...
|
|
8039
|
+
}, E(P.value || "~"), 5)) : (u(), g("span", Fx, [...b[2] || (b[2] = [
|
|
8040
8040
|
s("i", null, "Sin descripción", -1)
|
|
8041
8041
|
])]))
|
|
8042
8042
|
]),
|
|
@@ -8801,8 +8801,8 @@ function Zn() {
|
|
|
8801
8801
|
return ca(
|
|
8802
8802
|
d,
|
|
8803
8803
|
() => {
|
|
8804
|
-
var
|
|
8805
|
-
const f = ((
|
|
8804
|
+
var x;
|
|
8805
|
+
const f = ((x = d.value) == null ? void 0 : x.images) || [];
|
|
8806
8806
|
t.value = f;
|
|
8807
8807
|
},
|
|
8808
8808
|
{ immediate: !0 }
|
|
@@ -8834,16 +8834,16 @@ const qx = {
|
|
|
8834
8834
|
__name: "PublicImageButton",
|
|
8835
8835
|
setup(o) {
|
|
8836
8836
|
const { images: d, slide: l, isPrivate: c } = Zn(), t = I(() => {
|
|
8837
|
-
var
|
|
8838
|
-
return (
|
|
8837
|
+
var x;
|
|
8838
|
+
return (x = d.value[l.value - 1]) == null ? void 0 : x.id;
|
|
8839
8839
|
}), r = I(() => {
|
|
8840
|
-
var
|
|
8841
|
-
return (
|
|
8840
|
+
var x;
|
|
8841
|
+
return (x = d.value[l.value - 1]) == null ? void 0 : x.public;
|
|
8842
8842
|
}), { emitEvent: m } = Pi(), f = () => m("change_image_visibility", {
|
|
8843
8843
|
ID_ARCHIVO: t.value,
|
|
8844
8844
|
PUBLICO: !r.value
|
|
8845
8845
|
});
|
|
8846
|
-
return (
|
|
8846
|
+
return (x, A) => {
|
|
8847
8847
|
var _;
|
|
8848
8848
|
return (_ = v(d)) != null && _.length && v(c) ? (u(), g("div", qx, [
|
|
8849
8849
|
z(v(qe), {
|
|
@@ -8876,12 +8876,12 @@ const qx = {
|
|
|
8876
8876
|
(m = l.value) != null && m.URL && c("go_to_partner", { service: r });
|
|
8877
8877
|
};
|
|
8878
8878
|
return (r, m) => {
|
|
8879
|
-
var f,
|
|
8879
|
+
var f, x, A, _;
|
|
8880
8880
|
return u(), g("div", Hx, [
|
|
8881
8881
|
z(Al, {
|
|
8882
8882
|
onClick: m[0] || (m[0] = (P) => t("nueva_hipoteca")),
|
|
8883
8883
|
disable: !((f = v(l)) != null && f.URL),
|
|
8884
|
-
label: ((
|
|
8884
|
+
label: ((x = v(d)) == null ? void 0 : x[0]) || "Solicitar nueva hipoteca"
|
|
8885
8885
|
}, null, 8, ["disable", "label"]),
|
|
8886
8886
|
z(Al, {
|
|
8887
8887
|
onClick: m[1] || (m[1] = (P) => t("cambio_banco")),
|
|
@@ -8901,8 +8901,8 @@ function o3(o) {
|
|
|
8901
8901
|
return d[r] = f, c ? o.get(c, {
|
|
8902
8902
|
params: t,
|
|
8903
8903
|
cancelToken: f.token
|
|
8904
|
-
}).then((
|
|
8905
|
-
const A = (
|
|
8904
|
+
}).then((x) => {
|
|
8905
|
+
const A = (x == null ? void 0 : x.data) || null;
|
|
8906
8906
|
return qs(A) ? null : A;
|
|
8907
8907
|
}).catch(() => null) : Promise.resolve(null);
|
|
8908
8908
|
};
|
|
@@ -8940,27 +8940,27 @@ function Zx(o, d, l, c, t) {
|
|
|
8940
8940
|
return L ? N(L, Za(l, {}), r).then(
|
|
8941
8941
|
(k) => c ? c(k) : k
|
|
8942
8942
|
) : Promise.resolve(null);
|
|
8943
|
-
},
|
|
8943
|
+
}, x = { ...ud, ...t }, A = I(() => [
|
|
8944
8944
|
...Za(o, []),
|
|
8945
8945
|
Za(l, {})
|
|
8946
8946
|
]), _ = () => hu({
|
|
8947
8947
|
queryKey: A,
|
|
8948
8948
|
queryFn: () => f(Za(d, "")),
|
|
8949
|
-
...
|
|
8949
|
+
...x
|
|
8950
8950
|
}), P = async () => {
|
|
8951
8951
|
m.invalidateQueries({
|
|
8952
8952
|
queryKey: Za(o),
|
|
8953
8953
|
exact: !1,
|
|
8954
|
-
refetchType:
|
|
8954
|
+
refetchType: x.refetchType
|
|
8955
8955
|
});
|
|
8956
|
-
}, { isFetching: w, isPending: S, data:
|
|
8956
|
+
}, { isFetching: w, isPending: S, data: O, refetch: y, error: b } = _(), T = I(() => O.value ?? (t == null ? void 0 : t.defaultValue));
|
|
8957
8957
|
return {
|
|
8958
8958
|
pending: S,
|
|
8959
8959
|
fetching: w,
|
|
8960
8960
|
data: T,
|
|
8961
8961
|
refetch: y,
|
|
8962
8962
|
invalidate: P,
|
|
8963
|
-
error:
|
|
8963
|
+
error: b
|
|
8964
8964
|
};
|
|
8965
8965
|
}
|
|
8966
8966
|
function t3(o, d, l, c) {
|
|
@@ -8978,7 +8978,7 @@ function t3(o, d, l, c) {
|
|
|
8978
8978
|
set(D) {
|
|
8979
8979
|
Gn(o) ? o.value.page = D : o.page = D;
|
|
8980
8980
|
}
|
|
8981
|
-
}),
|
|
8981
|
+
}), x = I({
|
|
8982
8982
|
get() {
|
|
8983
8983
|
var D;
|
|
8984
8984
|
return ((D = Za(o)) == null ? void 0 : D.rowsNumber) || 0;
|
|
@@ -9001,31 +9001,31 @@ function t3(o, d, l, c) {
|
|
|
9001
9001
|
exact: !1,
|
|
9002
9002
|
refetchType: "active"
|
|
9003
9003
|
});
|
|
9004
|
-
}, { isFetching: w, isPending: S, data:
|
|
9004
|
+
}, { isFetching: w, isPending: S, data: O, refetch: y, isPlaceholderData: b, error: T } = hu({
|
|
9005
9005
|
queryKey: [l, m],
|
|
9006
9006
|
queryFn: () => A(l, m),
|
|
9007
9007
|
placeholderData: t.keepPreviousData ? C0 : void 0,
|
|
9008
9008
|
...Yn(t, "keepPreviousData")
|
|
9009
9009
|
});
|
|
9010
9010
|
ca(
|
|
9011
|
-
|
|
9011
|
+
O,
|
|
9012
9012
|
(D) => {
|
|
9013
|
-
w.value && qs(D) || (
|
|
9013
|
+
w.value && qs(D) || (x.value = (D == null ? void 0 : D.count) || 0);
|
|
9014
9014
|
},
|
|
9015
9015
|
{ immediate: !0 }
|
|
9016
9016
|
);
|
|
9017
9017
|
const L = () => {
|
|
9018
|
-
|
|
9018
|
+
b.value || (f.value = Math.max(f.value - 1, 1));
|
|
9019
9019
|
}, N = () => {
|
|
9020
|
-
|
|
9020
|
+
b.value || (f.value = f.value + 1);
|
|
9021
9021
|
}, k = I(() => {
|
|
9022
9022
|
var D;
|
|
9023
|
-
return ((D =
|
|
9023
|
+
return ((D = O.value) == null ? void 0 : D.items) || [];
|
|
9024
9024
|
});
|
|
9025
9025
|
return ca(
|
|
9026
9026
|
() => {
|
|
9027
9027
|
var D;
|
|
9028
|
-
return (D =
|
|
9028
|
+
return (D = O.value) == null ? void 0 : D.items;
|
|
9029
9029
|
},
|
|
9030
9030
|
(D) => {
|
|
9031
9031
|
w.value || qs(D) && P();
|
|
@@ -9038,12 +9038,12 @@ function t3(o, d, l, c) {
|
|
|
9038
9038
|
items: k,
|
|
9039
9039
|
refetch: y,
|
|
9040
9040
|
invalidate: P,
|
|
9041
|
-
count:
|
|
9041
|
+
count: x,
|
|
9042
9042
|
page: f,
|
|
9043
9043
|
prevPage: L,
|
|
9044
9044
|
nextPage: N,
|
|
9045
|
-
isPlaceholderData:
|
|
9046
|
-
rawData:
|
|
9045
|
+
isPlaceholderData: b,
|
|
9046
|
+
rawData: O
|
|
9047
9047
|
};
|
|
9048
9048
|
}
|
|
9049
9049
|
function Qx(o) {
|
|
@@ -9060,8 +9060,8 @@ function Qn(o, d, l, c) {
|
|
|
9060
9060
|
const t = (c == null ? void 0 : c.idKey) ?? Xx, r = () => {
|
|
9061
9061
|
var w;
|
|
9062
9062
|
(w = o.value) == null || w.forEach((S) => {
|
|
9063
|
-
let
|
|
9064
|
-
|
|
9063
|
+
let O = c != null && c.idKey ? S[c.idKey] : null;
|
|
9064
|
+
O === null && (O = Wn()), S[t] = String(O);
|
|
9065
9065
|
});
|
|
9066
9066
|
};
|
|
9067
9067
|
ca(
|
|
@@ -9082,7 +9082,7 @@ function Qn(o, d, l, c) {
|
|
|
9082
9082
|
function f(w) {
|
|
9083
9083
|
w.dataTransfer.setData("id", w.target.id), w.dataTransfer.dropEffect = "move";
|
|
9084
9084
|
}
|
|
9085
|
-
function
|
|
9085
|
+
function x(w) {
|
|
9086
9086
|
if (w.preventDefault(), !w.target) return;
|
|
9087
9087
|
const S = w.target.closest(d);
|
|
9088
9088
|
S && (S != null && S.contains(w.relatedTarget) || S.classList.remove("drag-enter"));
|
|
@@ -9097,23 +9097,23 @@ function Qn(o, d, l, c) {
|
|
|
9097
9097
|
const S = w.target.closest(d);
|
|
9098
9098
|
if (P(S), !(S != null && S.draggable))
|
|
9099
9099
|
return;
|
|
9100
|
-
const
|
|
9100
|
+
const O = w.dataTransfer.getData("id");
|
|
9101
9101
|
if (!S) return;
|
|
9102
9102
|
const y = (S == null ? void 0 : S.id) ?? null;
|
|
9103
9103
|
if (y === null) return;
|
|
9104
|
-
const
|
|
9104
|
+
const b = Kn(o.value), T = b.findIndex((k) => k[t] == O), L = b.findIndex((k) => k[t] == y);
|
|
9105
9105
|
if (T === -1 || L === -1) return;
|
|
9106
|
-
const [N] =
|
|
9107
|
-
|
|
9106
|
+
const [N] = b.splice(T, 1);
|
|
9107
|
+
b.splice(L, 0, N), o.value = b, l(b);
|
|
9108
9108
|
}
|
|
9109
9109
|
function P(w) {
|
|
9110
9110
|
const S = w == null ? void 0 : w.parentElement;
|
|
9111
9111
|
if (!S) return;
|
|
9112
|
-
const
|
|
9113
|
-
for (let y = 0; y <
|
|
9114
|
-
|
|
9112
|
+
const O = S.children;
|
|
9113
|
+
for (let y = 0; y < O.length; y++)
|
|
9114
|
+
O[y].classList.remove("drag-enter");
|
|
9115
9115
|
}
|
|
9116
|
-
return { handler: m, onDragLeave:
|
|
9116
|
+
return { handler: m, onDragLeave: x, onDragStart: f, onDragOver: A, onDrop: _, idKey: t };
|
|
9117
9117
|
}
|
|
9118
9118
|
const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
9119
9119
|
key: 0,
|
|
@@ -9125,7 +9125,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9125
9125
|
}, l2 = ["src"], s2 = { class: "video-icon" }, o2 = /* @__PURE__ */ fe({
|
|
9126
9126
|
__name: "ImagesMiniature",
|
|
9127
9127
|
setup(o) {
|
|
9128
|
-
const { images: d, slide: l, isPrivate: c } = Zn(), { emitEvent: t } = Pi(), { handler: r, onDragLeave: m, onDragOver: f, onDragStart:
|
|
9128
|
+
const { images: d, slide: l, isPrivate: c } = Zn(), { emitEvent: t } = Pi(), { handler: r, onDragLeave: m, onDragOver: f, onDragStart: x, onDrop: A, idKey: _ } = Qn(
|
|
9129
9129
|
d,
|
|
9130
9130
|
".image-miniature",
|
|
9131
9131
|
(P) => t("update_images_position", { images: P })
|
|
@@ -9136,23 +9136,23 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9136
9136
|
key: 0,
|
|
9137
9137
|
class: "images-miniature",
|
|
9138
9138
|
onDragleave: w[1] || (w[1] = //@ts-ignore
|
|
9139
|
-
(...
|
|
9139
|
+
(...O) => v(m) && v(m)(...O)),
|
|
9140
9140
|
onDragover: w[2] || (w[2] = //@ts-ignore
|
|
9141
|
-
(...
|
|
9141
|
+
(...O) => v(f) && v(f)(...O)),
|
|
9142
9142
|
onDrop: w[3] || (w[3] = //@ts-ignore
|
|
9143
|
-
(...
|
|
9143
|
+
(...O) => v(A) && v(A)(...O))
|
|
9144
9144
|
}, [
|
|
9145
|
-
(u(!0), g(oe, null, _e(v(d), (
|
|
9145
|
+
(u(!0), g(oe, null, _e(v(d), (O, y) => (u(), g("div", {
|
|
9146
9146
|
class: "q-mb-md image-miniature q-px-sm",
|
|
9147
9147
|
key: y,
|
|
9148
|
-
id:
|
|
9148
|
+
id: O[v(_)],
|
|
9149
9149
|
onDragstart: w[0] || (w[0] = //@ts-ignore
|
|
9150
|
-
(...
|
|
9150
|
+
(...b) => v(x) && v(x)(...b)),
|
|
9151
9151
|
draggable: v(c)
|
|
9152
9152
|
}, [
|
|
9153
|
-
|
|
9153
|
+
O ? (u(), g("div", {
|
|
9154
9154
|
key: 0,
|
|
9155
|
-
onClick: (
|
|
9155
|
+
onClick: (b) => l.value = y + 1,
|
|
9156
9156
|
style: se({
|
|
9157
9157
|
cursor: "pointer",
|
|
9158
9158
|
borderWidth: "0.7px",
|
|
@@ -9162,14 +9162,14 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9162
9162
|
}),
|
|
9163
9163
|
class: "q-pb-sm win-card"
|
|
9164
9164
|
}, [
|
|
9165
|
-
|
|
9165
|
+
O != null && O.location ? O.filetype === "image" ? (u(), ce(v(Tl), {
|
|
9166
9166
|
key: 1,
|
|
9167
|
-
src:
|
|
9167
|
+
src: O.location,
|
|
9168
9168
|
fit: "cover",
|
|
9169
9169
|
class: "media-card"
|
|
9170
|
-
}, null, 8, ["src"])) :
|
|
9170
|
+
}, null, 8, ["src"])) : O.filetype === "video" ? (u(), g("div", i2, [
|
|
9171
9171
|
s("video", {
|
|
9172
|
-
src:
|
|
9172
|
+
src: O.location,
|
|
9173
9173
|
style: { width: "100%", height: "100%", background: "black" }
|
|
9174
9174
|
}, null, 8, l2),
|
|
9175
9175
|
s("div", s2, [
|
|
@@ -9230,7 +9230,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9230
9230
|
(M) => si(M, (Z, J) => Ii(J))
|
|
9231
9231
|
);
|
|
9232
9232
|
}
|
|
9233
|
-
), { data: f, isPublic:
|
|
9233
|
+
), { data: f, isPublic: x, gamaProps: A, count: _ } = Ge(t), P = I(() => f.value), w = I(
|
|
9234
9234
|
() => {
|
|
9235
9235
|
var k, D, M;
|
|
9236
9236
|
return Il((M = (D = (k = P.value) == null ? void 0 : k.NOMBRE) == null ? void 0 : D.trim()) == null ? void 0 : M.split(/\s+/)[0]);
|
|
@@ -9246,7 +9246,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9246
9246
|
!0
|
|
9247
9247
|
);
|
|
9248
9248
|
}
|
|
9249
|
-
),
|
|
9249
|
+
), O = I(
|
|
9250
9250
|
() => {
|
|
9251
9251
|
var k;
|
|
9252
9252
|
return (((k = f.value) == null ? void 0 : k.PAISES) || []).map((D) => D.CODIGO.toLowerCase());
|
|
@@ -9256,7 +9256,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9256
9256
|
var k;
|
|
9257
9257
|
return (((k = P.value) == null ? void 0 : k.DESCRIPCION_CORTA) || "").trim();
|
|
9258
9258
|
}
|
|
9259
|
-
),
|
|
9259
|
+
), b = I(() => {
|
|
9260
9260
|
var k;
|
|
9261
9261
|
return (k = P.value) == null ? void 0 : k.PRESENTACION;
|
|
9262
9262
|
}), T = I(() => {
|
|
@@ -9265,7 +9265,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9265
9265
|
}), L = {
|
|
9266
9266
|
broker: P,
|
|
9267
9267
|
slide: r,
|
|
9268
|
-
isPublic:
|
|
9268
|
+
isPublic: x,
|
|
9269
9269
|
images: m,
|
|
9270
9270
|
count: _,
|
|
9271
9271
|
gamaProps: A,
|
|
@@ -9283,7 +9283,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9283
9283
|
var M;
|
|
9284
9284
|
return u(), g(oe, null, [
|
|
9285
9285
|
s("div", t2, [
|
|
9286
|
-
v(
|
|
9286
|
+
v(x) ? B("", !0) : (u(), ce(Ki, {
|
|
9287
9287
|
key: 0,
|
|
9288
9288
|
icon: "edit",
|
|
9289
9289
|
sm: "",
|
|
@@ -9319,7 +9319,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9319
9319
|
])) : B("", !0)
|
|
9320
9320
|
]),
|
|
9321
9321
|
z(yi, {
|
|
9322
|
-
items:
|
|
9322
|
+
items: O.value,
|
|
9323
9323
|
type: "countries"
|
|
9324
9324
|
}, null, 8, ["items"])
|
|
9325
9325
|
]),
|
|
@@ -9341,11 +9341,11 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9341
9341
|
data: (M = v(f)) == null ? void 0 : M.PROPS,
|
|
9342
9342
|
table: ""
|
|
9343
9343
|
}, null, 8, ["gamaProps", "data"]),
|
|
9344
|
-
v(
|
|
9344
|
+
v(x) ? (u(), ce(Wx, { key: 0 })) : B("", !0)
|
|
9345
9345
|
])
|
|
9346
9346
|
])
|
|
9347
9347
|
]),
|
|
9348
|
-
s("h6", b2, E(
|
|
9348
|
+
s("h6", b2, E(b.value), 1),
|
|
9349
9349
|
s("p", null, E(T.value), 1)
|
|
9350
9350
|
], 64);
|
|
9351
9351
|
};
|
|
@@ -9628,7 +9628,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9628
9628
|
}, f = I(() => {
|
|
9629
9629
|
var L;
|
|
9630
9630
|
return ((L = r("gama")) == null ? void 0 : L.map((N) => N.label)) || [];
|
|
9631
|
-
}),
|
|
9631
|
+
}), x = I(() => {
|
|
9632
9632
|
var M;
|
|
9633
9633
|
const L = ((M = r("subgamas")) == null ? void 0 : M.map((Z) => Z.label)) || [], N = Math.ceil(L.length / 2), k = L.slice(0, N), D = L.slice(N);
|
|
9634
9634
|
return [k || [], D || []];
|
|
@@ -9651,7 +9651,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9651
9651
|
var L;
|
|
9652
9652
|
return ((L = r("ambio_geografico")) == null ? void 0 : L.map((N) => N.label)) || [];
|
|
9653
9653
|
});
|
|
9654
|
-
const
|
|
9654
|
+
const O = I(() => m("honorarios_por_hora") || "");
|
|
9655
9655
|
I(() => m("honorarios_orientativos") || "");
|
|
9656
9656
|
const y = I(() => r("numero_de_colegiatura") || "");
|
|
9657
9657
|
I(() => {
|
|
@@ -9661,7 +9661,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9661
9661
|
var L;
|
|
9662
9662
|
return ((L = r("diferenciales_internacionales")) == null ? void 0 : L.map((N) => N.label)) || [];
|
|
9663
9663
|
});
|
|
9664
|
-
function
|
|
9664
|
+
function b(L) {
|
|
9665
9665
|
const [N, k, D] = L.split("/").map(Number), M = new Date(D, k - 1, N), Z = /* @__PURE__ */ new Date();
|
|
9666
9666
|
let J = Z.getFullYear() - M.getFullYear();
|
|
9667
9667
|
const ve = Z.getMonth(), j = Z.getDate();
|
|
@@ -9669,7 +9669,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9669
9669
|
}
|
|
9670
9670
|
const T = I(() => {
|
|
9671
9671
|
var L;
|
|
9672
|
-
return
|
|
9672
|
+
return b((L = l.value) == null ? void 0 : L.fecha_de_inicio);
|
|
9673
9673
|
});
|
|
9674
9674
|
return (L, N) => {
|
|
9675
9675
|
var k, D, M, Z;
|
|
@@ -9739,12 +9739,12 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9739
9739
|
s("div", k2, [
|
|
9740
9740
|
s("div", G2, [
|
|
9741
9741
|
s("ul", V2, [
|
|
9742
|
-
(u(!0), g(oe, null, _e(
|
|
9742
|
+
(u(!0), g(oe, null, _e(x.value[0], (J) => (u(), g("li", null, E(J), 1))), 256))
|
|
9743
9743
|
])
|
|
9744
9744
|
]),
|
|
9745
9745
|
s("div", j2, [
|
|
9746
9746
|
s("ul", q2, [
|
|
9747
|
-
(u(!0), g(oe, null, _e(
|
|
9747
|
+
(u(!0), g(oe, null, _e(x.value[1], (J) => (u(), g("li", null, E(J), 1))), 256))
|
|
9748
9748
|
])
|
|
9749
9749
|
])
|
|
9750
9750
|
])
|
|
@@ -9761,21 +9761,21 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9761
9761
|
s("div", W2, [
|
|
9762
9762
|
s("div", Y2, [
|
|
9763
9763
|
s("ul", null, [
|
|
9764
|
-
(u(!0), g(oe, null, _e(
|
|
9764
|
+
(u(!0), g(oe, null, _e(x.value[0], (J) => (u(), g("li", null, E(J), 1))), 256))
|
|
9765
9765
|
])
|
|
9766
9766
|
]),
|
|
9767
9767
|
s("div", Z2, [
|
|
9768
9768
|
s("ul", null, [
|
|
9769
|
-
(u(!0), g(oe, null, _e(
|
|
9769
|
+
(u(!0), g(oe, null, _e(x.value[1], (J) => (u(), g("li", null, E(J), 1))), 256))
|
|
9770
9770
|
])
|
|
9771
9771
|
])
|
|
9772
9772
|
])
|
|
9773
9773
|
]))
|
|
9774
9774
|
]),
|
|
9775
9775
|
s("div", Q2, [
|
|
9776
|
-
|
|
9776
|
+
O.value ? (u(), g("div", X2, [
|
|
9777
9777
|
N[6] || (N[6] = s("div", { class: "text" }, "Honorarios por hora", -1)),
|
|
9778
|
-
s("div", J2, "$" + E(
|
|
9778
|
+
s("div", J2, "$" + E(O.value), 1)
|
|
9779
9779
|
])) : B("", !0),
|
|
9780
9780
|
A.value || _.value || P.value ? (u(), g("div", eO, [
|
|
9781
9781
|
A.value ? (u(), g("div", {
|
|
@@ -9859,55 +9859,55 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9859
9859
|
},
|
|
9860
9860
|
emits: ["on-event"],
|
|
9861
9861
|
setup(o, { emit: d }) {
|
|
9862
|
-
const l = d, c = o, { data: t, context: r, gamaProps: m } = Ge(c), f = Ce(!1),
|
|
9863
|
-
var
|
|
9864
|
-
return r.value === "captacion" ? ((
|
|
9862
|
+
const l = d, c = o, { data: t, context: r, gamaProps: m } = Ge(c), f = Ce(!1), x = I(() => {
|
|
9863
|
+
var b;
|
|
9864
|
+
return r.value === "captacion" ? ((b = t.value) == null ? void 0 : b.PARTNER) || null : t.value || null;
|
|
9865
9865
|
}), A = I(
|
|
9866
9866
|
() => {
|
|
9867
|
-
var
|
|
9868
|
-
return (((
|
|
9867
|
+
var b;
|
|
9868
|
+
return (((b = t.value) == null ? void 0 : b.PAISES) || []).map((T) => T.CODIGO.toLowerCase());
|
|
9869
9869
|
}
|
|
9870
9870
|
), _ = I(
|
|
9871
9871
|
() => {
|
|
9872
|
-
var
|
|
9872
|
+
var b, T, L, N, k, D;
|
|
9873
9873
|
return Ue.capitalize(
|
|
9874
9874
|
[
|
|
9875
|
-
(L = (T = (
|
|
9876
|
-
(D = (k = (N =
|
|
9875
|
+
(L = (T = (b = x.value) == null ? void 0 : b.CONTACTO) == null ? void 0 : T.UBICACION) == null ? void 0 : L.PROVINCIA,
|
|
9876
|
+
(D = (k = (N = x.value) == null ? void 0 : N.CONTACTO) == null ? void 0 : k.UBICACION) == null ? void 0 : D.CIUDAD
|
|
9877
9877
|
].map((M) => M == null ? void 0 : M.trim()).filter(Boolean).join(", "),
|
|
9878
9878
|
!0
|
|
9879
9879
|
);
|
|
9880
9880
|
}
|
|
9881
9881
|
), P = I(
|
|
9882
9882
|
() => {
|
|
9883
|
-
var
|
|
9884
|
-
return Ue.capitalize((T = (
|
|
9883
|
+
var b, T;
|
|
9884
|
+
return Ue.capitalize((T = (b = x.value) == null ? void 0 : b.NOMBRE) == null ? void 0 : T.trim().split(" ")[0], !0);
|
|
9885
9885
|
}
|
|
9886
9886
|
), w = I(
|
|
9887
9887
|
() => {
|
|
9888
|
-
var
|
|
9889
|
-
return (((
|
|
9888
|
+
var b;
|
|
9889
|
+
return (((b = x.value) == null ? void 0 : b.DESCRIPCION_CORTA) || "").trim();
|
|
9890
9890
|
}
|
|
9891
9891
|
), S = I(() => {
|
|
9892
|
-
var
|
|
9893
|
-
return (T = (
|
|
9894
|
-
}),
|
|
9892
|
+
var b, T;
|
|
9893
|
+
return (T = (b = x.value) == null ? void 0 : b.TAGS) == null ? void 0 : T.split(",");
|
|
9894
|
+
}), O = Ce(1), y = I(
|
|
9895
9895
|
() => {
|
|
9896
|
-
var
|
|
9897
|
-
return (((
|
|
9896
|
+
var b;
|
|
9897
|
+
return (((b = x.value) == null ? void 0 : b.R_ARCHIVOS) || []).filter((T) => T.PUBLICO).map((T) => si(T, (L, N) => Ii(N)));
|
|
9898
9898
|
}
|
|
9899
9899
|
);
|
|
9900
|
-
return (
|
|
9900
|
+
return (b, T) => x.value ? (u(), ce(Ja, {
|
|
9901
9901
|
key: 0,
|
|
9902
|
-
loading:
|
|
9902
|
+
loading: b.fetching,
|
|
9903
9903
|
"no-padding": "",
|
|
9904
|
-
unelevated:
|
|
9905
|
-
"border-radius":
|
|
9906
|
-
hoverable:
|
|
9904
|
+
unelevated: b.unelevated,
|
|
9905
|
+
"border-radius": b.borderRadius,
|
|
9906
|
+
hoverable: b.hoverable,
|
|
9907
9907
|
style: se({ scale: c.scale ?? 1 }),
|
|
9908
9908
|
onClick: T[1] || (T[1] = (L) => l("on-event", {
|
|
9909
9909
|
code: "card_click",
|
|
9910
|
-
payload: { lawyer:
|
|
9910
|
+
payload: { lawyer: x.value }
|
|
9911
9911
|
}))
|
|
9912
9912
|
}, {
|
|
9913
9913
|
default: ie(() => {
|
|
@@ -9919,7 +9919,7 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9919
9919
|
(u(!0), g(oe, null, _e(S.value, (k) => (u(), ce(Zl, { tag: k }, null, 8, ["tag"]))), 256))
|
|
9920
9920
|
]),
|
|
9921
9921
|
f.value ? (u(), g("div", dO, [
|
|
9922
|
-
ue(E((L = y.value) != null && L.length ?
|
|
9922
|
+
ue(E((L = y.value) != null && L.length ? O.value : 0) + "/" + E(((N = y.value) == null ? void 0 : N.length) || 0) + " ", 1),
|
|
9923
9923
|
z(v(Ne), {
|
|
9924
9924
|
name: "sym_o_image",
|
|
9925
9925
|
size: "sm",
|
|
@@ -9928,11 +9928,11 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9928
9928
|
])) : B("", !0)
|
|
9929
9929
|
]),
|
|
9930
9930
|
z(nl, {
|
|
9931
|
-
modelValue:
|
|
9932
|
-
"onUpdate:modelValue": T[0] || (T[0] = (k) =>
|
|
9931
|
+
modelValue: O.value,
|
|
9932
|
+
"onUpdate:modelValue": T[0] || (T[0] = (k) => O.value = k),
|
|
9933
9933
|
items: y.value,
|
|
9934
|
-
height:
|
|
9935
|
-
"border-radius":
|
|
9934
|
+
height: b.imageHeight,
|
|
9935
|
+
"border-radius": b.borderRadius
|
|
9936
9936
|
}, null, 8, ["modelValue", "items", "height", "border-radius"])
|
|
9937
9937
|
]),
|
|
9938
9938
|
z(v(Na), { class: "q-pa-md-lg q-pa-md column justify-between full-height" }, {
|
|
@@ -9987,8 +9987,8 @@ const Jx = ["id", "draggable"], e2 = ["onClick"], a2 = {
|
|
|
9987
9987
|
key: 0,
|
|
9988
9988
|
class: "description",
|
|
9989
9989
|
style: se({
|
|
9990
|
-
lineClamp:
|
|
9991
|
-
WebkitLineClamp:
|
|
9990
|
+
lineClamp: b.descriptionLines,
|
|
9991
|
+
WebkitLineClamp: b.descriptionLines
|
|
9992
9992
|
})
|
|
9993
9993
|
}, E(w.value || "~"), 5)) : (u(), g("span", IO, [...T[6] || (T[6] = [
|
|
9994
9994
|
s("i", null, "Sin descripción", -1)
|
|
@@ -12170,8 +12170,8 @@ function TO() {
|
|
|
12170
12170
|
return ca(
|
|
12171
12171
|
d,
|
|
12172
12172
|
() => {
|
|
12173
|
-
var
|
|
12174
|
-
const f = ((
|
|
12173
|
+
var x;
|
|
12174
|
+
const f = ((x = d.value) == null ? void 0 : x.images) || [];
|
|
12175
12175
|
t.value = f;
|
|
12176
12176
|
},
|
|
12177
12177
|
{ immediate: !0 }
|
|
@@ -12197,7 +12197,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12197
12197
|
}, MO = ["src"], UO = { class: "video-icon" }, BO = /* @__PURE__ */ fe({
|
|
12198
12198
|
__name: "ImagesMiniature",
|
|
12199
12199
|
setup(o) {
|
|
12200
|
-
const { images: d, slide: l, isPrivate: c } = TO(), { emitEvent: t } = Pi(), { handler: r, onDragLeave: m, onDragOver: f, onDragStart:
|
|
12200
|
+
const { images: d, slide: l, isPrivate: c } = TO(), { emitEvent: t } = Pi(), { handler: r, onDragLeave: m, onDragOver: f, onDragStart: x, onDrop: A, idKey: _ } = Qn(
|
|
12201
12201
|
d,
|
|
12202
12202
|
".image-miniature",
|
|
12203
12203
|
(P) => t("update_images_position", { images: P })
|
|
@@ -12208,23 +12208,23 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12208
12208
|
key: 0,
|
|
12209
12209
|
class: "images-miniature",
|
|
12210
12210
|
onDragleave: w[1] || (w[1] = //@ts-ignore
|
|
12211
|
-
(...
|
|
12211
|
+
(...O) => v(m) && v(m)(...O)),
|
|
12212
12212
|
onDragover: w[2] || (w[2] = //@ts-ignore
|
|
12213
|
-
(...
|
|
12213
|
+
(...O) => v(f) && v(f)(...O)),
|
|
12214
12214
|
onDrop: w[3] || (w[3] = //@ts-ignore
|
|
12215
|
-
(...
|
|
12215
|
+
(...O) => v(A) && v(A)(...O))
|
|
12216
12216
|
}, [
|
|
12217
|
-
(u(!0), g(oe, null, _e(v(d), (
|
|
12217
|
+
(u(!0), g(oe, null, _e(v(d), (O, y) => (u(), g("div", {
|
|
12218
12218
|
class: "q-mb-md image-miniature q-px-sm",
|
|
12219
12219
|
key: y,
|
|
12220
|
-
id:
|
|
12220
|
+
id: O[v(_)],
|
|
12221
12221
|
onDragstart: w[0] || (w[0] = //@ts-ignore
|
|
12222
|
-
(...
|
|
12222
|
+
(...b) => v(x) && v(x)(...b)),
|
|
12223
12223
|
draggable: v(c)
|
|
12224
12224
|
}, [
|
|
12225
|
-
|
|
12225
|
+
O ? (u(), g("div", {
|
|
12226
12226
|
key: 0,
|
|
12227
|
-
onClick: (
|
|
12227
|
+
onClick: (b) => l.value = y + 1,
|
|
12228
12228
|
style: se({
|
|
12229
12229
|
cursor: "pointer",
|
|
12230
12230
|
borderWidth: "0.7px",
|
|
@@ -12234,14 +12234,14 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12234
12234
|
}),
|
|
12235
12235
|
class: "q-pb-sm win-card"
|
|
12236
12236
|
}, [
|
|
12237
|
-
|
|
12237
|
+
O != null && O.location ? O.filetype === "image" ? (u(), ce(v(Tl), {
|
|
12238
12238
|
key: 1,
|
|
12239
|
-
src:
|
|
12239
|
+
src: O.location,
|
|
12240
12240
|
fit: "cover",
|
|
12241
12241
|
class: "media-card"
|
|
12242
|
-
}, null, 8, ["src"])) :
|
|
12242
|
+
}, null, 8, ["src"])) : O.filetype === "video" ? (u(), g("div", wO, [
|
|
12243
12243
|
s("video", {
|
|
12244
|
-
src:
|
|
12244
|
+
src: O.location,
|
|
12245
12245
|
style: { width: "100%", height: "100%", background: "black" }
|
|
12246
12246
|
}, null, 8, MO),
|
|
12247
12247
|
s("div", UO, [
|
|
@@ -12316,17 +12316,17 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12316
12316
|
])
|
|
12317
12317
|
]),
|
|
12318
12318
|
v(d) ? B("", !0) : (u(), g("div", jO, [
|
|
12319
|
-
(u(!0), g(oe, null, _e(r.value, (
|
|
12320
|
-
key:
|
|
12319
|
+
(u(!0), g(oe, null, _e(r.value, (x) => (u(), g("div", {
|
|
12320
|
+
key: x.label,
|
|
12321
12321
|
class: "metric-item"
|
|
12322
12322
|
}, [
|
|
12323
12323
|
z(v(Ne), {
|
|
12324
|
-
name:
|
|
12324
|
+
name: x.icon,
|
|
12325
12325
|
size: "18px",
|
|
12326
12326
|
color: "grey-7"
|
|
12327
12327
|
}, null, 8, ["name"]),
|
|
12328
|
-
s("span", qO, E(
|
|
12329
|
-
s("span", $O, E(
|
|
12328
|
+
s("span", qO, E(x.value), 1),
|
|
12329
|
+
s("span", $O, E(x.label), 1)
|
|
12330
12330
|
]))), 128))
|
|
12331
12331
|
]))
|
|
12332
12332
|
]));
|
|
@@ -12370,12 +12370,12 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12370
12370
|
Ea("emit", c);
|
|
12371
12371
|
const { emitEvent: t } = Pi(c), r = o, m = I(
|
|
12372
12372
|
() => r.metrics || r.data.METRICS || r.data.metrics || {}
|
|
12373
|
-
), f = Ce(1),
|
|
12373
|
+
), f = Ce(1), x = I(
|
|
12374
12374
|
() => {
|
|
12375
12375
|
var j, $;
|
|
12376
12376
|
return (((j = S.value) == null ? void 0 : j.R_IMG) || (($ = S.value) == null ? void 0 : $.R_ARCHIVOS) || []).filter((ne) => ne.PUBLICO).map((ne) => si(ne, (q, K) => Ii(K)));
|
|
12377
12377
|
}
|
|
12378
|
-
), { data: A, isPublic: _, gamaProps: P, count: w } = Ge(r), S = I(() => A.value),
|
|
12378
|
+
), { data: A, isPublic: _, gamaProps: P, count: w } = Ge(r), S = I(() => A.value), O = I(() => {
|
|
12379
12379
|
var j, $;
|
|
12380
12380
|
return P.value || (($ = (j = A.value) == null ? void 0 : j.R_GAMA) == null ? void 0 : $.PROPS) || [];
|
|
12381
12381
|
}), y = I(
|
|
@@ -12383,7 +12383,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12383
12383
|
var j, $, ne;
|
|
12384
12384
|
return Il((ne = ($ = (j = S.value) == null ? void 0 : j.NOMBRE) == null ? void 0 : $.trim()) == null ? void 0 : ne.split(/\s+/)[0]);
|
|
12385
12385
|
}
|
|
12386
|
-
),
|
|
12386
|
+
), b = I(
|
|
12387
12387
|
() => {
|
|
12388
12388
|
var j, $, ne, q, K, ee;
|
|
12389
12389
|
return Ue.capitalize(
|
|
@@ -12415,7 +12415,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12415
12415
|
lawyer: S,
|
|
12416
12416
|
slide: f,
|
|
12417
12417
|
isPublic: _,
|
|
12418
|
-
images:
|
|
12418
|
+
images: x,
|
|
12419
12419
|
count: w,
|
|
12420
12420
|
gamaProps: P
|
|
12421
12421
|
});
|
|
@@ -12439,7 +12439,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12439
12439
|
s("div", WO, [
|
|
12440
12440
|
s("div", YO, [
|
|
12441
12441
|
s("div", ZO, [
|
|
12442
|
-
|
|
12442
|
+
x.value.length > 1 ? (u(), ce(FO, {
|
|
12443
12443
|
key: 0,
|
|
12444
12444
|
class: "gt-sm"
|
|
12445
12445
|
})) : B("", !0),
|
|
@@ -12447,7 +12447,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12447
12447
|
z(nl, {
|
|
12448
12448
|
modelValue: f.value,
|
|
12449
12449
|
"onUpdate:modelValue": $[0] || ($[0] = (q) => f.value = q),
|
|
12450
|
-
items:
|
|
12450
|
+
items: x.value,
|
|
12451
12451
|
height: v(l).lt.md ? "15rem" : j.imageHeight,
|
|
12452
12452
|
autoplay: !1,
|
|
12453
12453
|
showControls: v(l).lt.md,
|
|
@@ -12464,9 +12464,9 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12464
12464
|
s("div", JO, [
|
|
12465
12465
|
s("div", null, [
|
|
12466
12466
|
s("div", e1, E(y.value), 1),
|
|
12467
|
-
|
|
12467
|
+
b.value ? (u(), g("div", a1, [
|
|
12468
12468
|
z(v(Ne), { name: "sym_o_location_on" }),
|
|
12469
|
-
s("div", i1, E(
|
|
12469
|
+
s("div", i1, E(b.value), 1)
|
|
12470
12470
|
])) : B("", !0)
|
|
12471
12471
|
]),
|
|
12472
12472
|
s("div", l1, [
|
|
@@ -12499,7 +12499,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
12499
12499
|
])]))
|
|
12500
12500
|
]),
|
|
12501
12501
|
z(dd, {
|
|
12502
|
-
gamaProps:
|
|
12502
|
+
gamaProps: O.value,
|
|
12503
12503
|
data: (ne = v(A)) == null ? void 0 : ne.PROPS,
|
|
12504
12504
|
table: ""
|
|
12505
12505
|
}, null, 8, ["gamaProps", "data"])
|
|
@@ -16742,10 +16742,10 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
16742
16742
|
},
|
|
16743
16743
|
emits: ["on-event"],
|
|
16744
16744
|
setup(o, { emit: d }) {
|
|
16745
|
-
const l = d, c = o, { data: t, isPublic: r } = Ge(c), m = I(() => !r.value), f = I(() => t.value || null),
|
|
16745
|
+
const l = d, c = o, { data: t, isPublic: r } = Ge(c), m = I(() => !r.value), f = I(() => t.value || null), x = I(
|
|
16746
16746
|
() => {
|
|
16747
|
-
var
|
|
16748
|
-
return (((
|
|
16747
|
+
var b;
|
|
16748
|
+
return (((b = t.value) == null ? void 0 : b.PAISES) || []).map((T) => {
|
|
16749
16749
|
var L, N, k, D;
|
|
16750
16750
|
return {
|
|
16751
16751
|
image: (N = Ue.COUNTRIES[(L = T == null ? void 0 : T.CODIGO) == null ? void 0 : L.toLowerCase()]) == null ? void 0 : N.flag,
|
|
@@ -16755,19 +16755,19 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
16755
16755
|
}
|
|
16756
16756
|
), A = I(
|
|
16757
16757
|
() => {
|
|
16758
|
-
var
|
|
16759
|
-
return (((
|
|
16758
|
+
var b;
|
|
16759
|
+
return (((b = f.value) == null ? void 0 : b.DESCRIPCION_CORTA) || "").trim();
|
|
16760
16760
|
}
|
|
16761
16761
|
), _ = I(
|
|
16762
16762
|
() => {
|
|
16763
|
-
var
|
|
16764
|
-
return Ue.toCurrency(Number(((
|
|
16763
|
+
var b;
|
|
16764
|
+
return Ue.toCurrency(Number(((b = f.value) == null ? void 0 : b.PRECIO) || 0), c.priceSymbol || "EUR");
|
|
16765
16765
|
}
|
|
16766
16766
|
), P = I(() => {
|
|
16767
|
-
var
|
|
16768
|
-
return (
|
|
16769
|
-
}), w = (
|
|
16770
|
-
const T =
|
|
16767
|
+
var b;
|
|
16768
|
+
return (b = f.value) == null ? void 0 : b.COD_ART_MVX;
|
|
16769
|
+
}), w = (b) => {
|
|
16770
|
+
const T = b || "", [L, N] = T.split("_"), k = Number(L), D = {
|
|
16771
16771
|
dias: ["día", "días"],
|
|
16772
16772
|
meses: ["mes", "meses"],
|
|
16773
16773
|
anios: ["año", "años"]
|
|
@@ -16776,27 +16776,27 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
16776
16776
|
const [M, Z] = D[N];
|
|
16777
16777
|
return `${k} ${k === 1 ? M : Z}`;
|
|
16778
16778
|
}, S = I(() => {
|
|
16779
|
-
var
|
|
16780
|
-
return w((
|
|
16781
|
-
}),
|
|
16782
|
-
var
|
|
16783
|
-
return (T = (
|
|
16784
|
-
}), y = I(() =>
|
|
16779
|
+
var b;
|
|
16780
|
+
return w((b = f.value) == null ? void 0 : b.PERIODO_COBRO);
|
|
16781
|
+
}), O = I(() => {
|
|
16782
|
+
var b, T;
|
|
16783
|
+
return (T = (b = f.value) == null ? void 0 : b.PROPS) == null ? void 0 : T.tipo_plan;
|
|
16784
|
+
}), y = I(() => O.value == "destacado" ? {
|
|
16785
16785
|
textColor: "#16458c",
|
|
16786
16786
|
bgColor: "#dae8f7"
|
|
16787
|
-
} :
|
|
16787
|
+
} : O.value == "premium" ? {
|
|
16788
16788
|
textColor: "white",
|
|
16789
16789
|
bgColor: "#16458c"
|
|
16790
16790
|
} : {
|
|
16791
16791
|
textColor: "#16458c",
|
|
16792
16792
|
bgColor: "#ededed"
|
|
16793
16793
|
});
|
|
16794
|
-
return (
|
|
16794
|
+
return (b, T) => f.value ? (u(), ce(Ja, {
|
|
16795
16795
|
key: 0,
|
|
16796
|
-
loading:
|
|
16797
|
-
unelevated:
|
|
16798
|
-
"border-radius":
|
|
16799
|
-
hoverable:
|
|
16796
|
+
loading: b.fetching,
|
|
16797
|
+
unelevated: b.unelevated,
|
|
16798
|
+
"border-radius": b.borderRadius,
|
|
16799
|
+
hoverable: b.hoverable,
|
|
16800
16800
|
"no-padding": "",
|
|
16801
16801
|
style: se({ scale: c.scale ?? 1 }),
|
|
16802
16802
|
class: Fe({ "active-card": c.activeCard }),
|
|
@@ -16822,7 +16822,7 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
16822
16822
|
])) : B("", !0)
|
|
16823
16823
|
], 4),
|
|
16824
16824
|
s("div", g1, [
|
|
16825
|
-
(u(!0), g(oe, null, _e(
|
|
16825
|
+
(u(!0), g(oe, null, _e(x.value, (k, D) => (u(), g("div", {
|
|
16826
16826
|
key: D,
|
|
16827
16827
|
class: "text-caption row main-color"
|
|
16828
16828
|
}, [
|
|
@@ -16837,14 +16837,14 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
16837
16837
|
]))), 128)),
|
|
16838
16838
|
s("div", O1, E(_.value), 1),
|
|
16839
16839
|
s("div", C1, E(S.value), 1),
|
|
16840
|
-
|
|
16840
|
+
O.value ? (u(), g("div", I1, [
|
|
16841
16841
|
z(v(Ye), {
|
|
16842
16842
|
size: "11px",
|
|
16843
16843
|
rounded: "",
|
|
16844
16844
|
style: se({ backgroundColor: y.value.bgColor, color: y.value.textColor })
|
|
16845
16845
|
}, {
|
|
16846
16846
|
default: ie(() => [
|
|
16847
|
-
ue(E(v(De.capitalize)(
|
|
16847
|
+
ue(E(v(De.capitalize)(O.value)), 1)
|
|
16848
16848
|
]),
|
|
16849
16849
|
_: 1
|
|
16850
16850
|
}, 8, ["style"])
|
|
@@ -16852,8 +16852,8 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
16852
16852
|
s("div", {
|
|
16853
16853
|
class: "text-caption q-mt-md text-grey-9 description",
|
|
16854
16854
|
style: se({
|
|
16855
|
-
"line-clamp":
|
|
16856
|
-
"-webkit-line-clamp":
|
|
16855
|
+
"line-clamp": b.descriptionLines,
|
|
16856
|
+
"-webkit-line-clamp": b.descriptionLines
|
|
16857
16857
|
})
|
|
16858
16858
|
}, E(A.value || "Sin descripción..."), 5)
|
|
16859
16859
|
])
|
|
@@ -18645,28 +18645,28 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
18645
18645
|
const l = d, c = o, { data: t } = Ge(c), r = Ce(null), m = sl(o, "modelValue");
|
|
18646
18646
|
ca(
|
|
18647
18647
|
r,
|
|
18648
|
-
(
|
|
18648
|
+
(x) => {
|
|
18649
18649
|
l("on-event", {
|
|
18650
18650
|
code: "filter_change",
|
|
18651
18651
|
payload: {
|
|
18652
18652
|
byEqualCol: {
|
|
18653
|
-
"producto.PROPS.$tipo_plan":
|
|
18653
|
+
"producto.PROPS.$tipo_plan": x
|
|
18654
18654
|
}
|
|
18655
18655
|
}
|
|
18656
18656
|
});
|
|
18657
18657
|
},
|
|
18658
18658
|
{ immediate: !0 }
|
|
18659
18659
|
);
|
|
18660
|
-
const f = (
|
|
18661
|
-
const { code: A, payload: _ } =
|
|
18660
|
+
const f = (x) => {
|
|
18661
|
+
const { code: A, payload: _ } = x;
|
|
18662
18662
|
if (A === "card_click") {
|
|
18663
18663
|
const P = (_ == null ? void 0 : _.data) || (_ == null ? void 0 : _.product);
|
|
18664
|
-
m.value = P.ID_PRODUCTO, l("on-event",
|
|
18664
|
+
m.value = P.ID_PRODUCTO, l("on-event", x);
|
|
18665
18665
|
}
|
|
18666
18666
|
};
|
|
18667
18667
|
return Yl(() => {
|
|
18668
18668
|
r.value = "standard";
|
|
18669
|
-
}), (
|
|
18669
|
+
}), (x, A) => (u(), g(oe, null, [
|
|
18670
18670
|
s("div", R1, [
|
|
18671
18671
|
s("div", T1, [
|
|
18672
18672
|
s("button", {
|
|
@@ -18692,9 +18692,9 @@ const SO = ["id", "draggable"], LO = ["onClick"], NO = {
|
|
|
18692
18692
|
z(md, {
|
|
18693
18693
|
onOnEvent: f,
|
|
18694
18694
|
data: _,
|
|
18695
|
-
descriptionLines:
|
|
18696
|
-
priceSymbol:
|
|
18697
|
-
gamaProps:
|
|
18695
|
+
descriptionLines: x.descriptionLines,
|
|
18696
|
+
priceSymbol: x.priceSymbol,
|
|
18697
|
+
gamaProps: x.gamaProps,
|
|
18698
18698
|
activeCard: m.value === _.ID_PRODUCTO
|
|
18699
18699
|
}, null, 8, ["data", "descriptionLines", "priceSymbol", "gamaProps", "activeCard"])
|
|
18700
18700
|
]))), 128))
|
|
@@ -20509,23 +20509,23 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20509
20509
|
},
|
|
20510
20510
|
setup(o) {
|
|
20511
20511
|
const d = o, { size: l = "medium", isPrivate: c } = Ge(d), t = I(
|
|
20512
|
-
() => si(d.product || {}, (
|
|
20512
|
+
() => si(d.product || {}, (x, A) => A.toUpperCase())
|
|
20513
20513
|
), r = I(() => {
|
|
20514
|
-
var
|
|
20515
|
-
return Ue.toCurrency(Number(((
|
|
20514
|
+
var x;
|
|
20515
|
+
return Ue.toCurrency(Number(((x = t.value) == null ? void 0 : x.PRECIO) || 0));
|
|
20516
20516
|
}), m = I(() => {
|
|
20517
|
-
var
|
|
20518
|
-
return Number(((
|
|
20517
|
+
var x;
|
|
20518
|
+
return Number(((x = t.value) == null ? void 0 : x.DESCUENTO) || 0);
|
|
20519
20519
|
}), f = I(() => {
|
|
20520
20520
|
var _, P;
|
|
20521
|
-
const
|
|
20521
|
+
const x = Number(((_ = t.value) == null ? void 0 : _.PRECIO) || 0), A = Number(((P = t.value) == null ? void 0 : P.DESCUENTO) || 0);
|
|
20522
20522
|
if (A > 0) {
|
|
20523
|
-
const w =
|
|
20523
|
+
const w = x - x * A / 100;
|
|
20524
20524
|
return Ue.toCurrency(w);
|
|
20525
20525
|
}
|
|
20526
20526
|
return r.value;
|
|
20527
20527
|
});
|
|
20528
|
-
return (
|
|
20528
|
+
return (x, A) => {
|
|
20529
20529
|
var _, P;
|
|
20530
20530
|
return u(), g("div", null, [
|
|
20531
20531
|
(_ = t.value) != null && _.OCULTAR_PRECIO_LANDING && !v(c) ? (u(), g("div", F1)) : (u(), g("div", z1, [
|
|
@@ -20616,37 +20616,37 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20616
20616
|
lite: { type: Boolean }
|
|
20617
20617
|
},
|
|
20618
20618
|
setup(o) {
|
|
20619
|
-
const d = o, { productProps: l, gamaProps: c } = Ge(d), t = (S,
|
|
20620
|
-
const y = S.find((
|
|
20621
|
-
return (y == null ? void 0 : y.label) ||
|
|
20619
|
+
const d = o, { productProps: l, gamaProps: c } = Ge(d), t = (S, O) => {
|
|
20620
|
+
const y = S.find((b) => b.value === O);
|
|
20621
|
+
return (y == null ? void 0 : y.label) || O;
|
|
20622
20622
|
}, r = (S) => {
|
|
20623
|
-
var
|
|
20624
|
-
const
|
|
20625
|
-
return (
|
|
20623
|
+
var b;
|
|
20624
|
+
const O = l.value[S], y = c.value.find((T) => T.code === S);
|
|
20625
|
+
return (b = y == null ? void 0 : y.options) != null && b.length ? Gi(O) ? O.map((T) => t(y.options, T)).join(", ") : t(y.options, O) : O;
|
|
20626
20626
|
}, m = (S) => {
|
|
20627
20627
|
if (typeof S == "string") {
|
|
20628
|
-
let
|
|
20629
|
-
return isNaN(
|
|
20628
|
+
let O = Number(S.replace(/[^0-9.-]/g, "").trim());
|
|
20629
|
+
return isNaN(O) ? 0 : O;
|
|
20630
20630
|
} else
|
|
20631
20631
|
return S;
|
|
20632
20632
|
}, f = () => {
|
|
20633
20633
|
var y;
|
|
20634
20634
|
const S = l.value;
|
|
20635
|
-
let
|
|
20635
|
+
let O = 0;
|
|
20636
20636
|
if (S.pitch) {
|
|
20637
|
-
const
|
|
20638
|
-
|
|
20637
|
+
const b = (y = S == null ? void 0 : S.pitch) == null ? void 0 : y.replace("_mm", ""), T = b == null ? void 0 : b.replace("_", ".");
|
|
20638
|
+
O = parseFloat(T);
|
|
20639
20639
|
}
|
|
20640
|
-
if (
|
|
20641
|
-
let
|
|
20642
|
-
return S.unidad_de_medida == "m" ? (
|
|
20640
|
+
if (O && S.ancho && S.alto) {
|
|
20641
|
+
let b = m(S.ancho), T = m(S.alto);
|
|
20642
|
+
return S.unidad_de_medida == "m" ? (b = b * 1e3, T = T * 1e3) : S.unidad_de_medida == "cm" && (b = b * 10, T = T * 10), `${Math.round(b / O)}x${Math.round(T / O)} p`;
|
|
20643
20643
|
}
|
|
20644
|
-
},
|
|
20644
|
+
}, x = () => {
|
|
20645
20645
|
const S = l.value;
|
|
20646
20646
|
if (S.tamano)
|
|
20647
20647
|
return r("tamano");
|
|
20648
|
-
let
|
|
20649
|
-
return S.ancho && S.alto && (
|
|
20648
|
+
let O = "";
|
|
20649
|
+
return S.ancho && S.alto && (O = `${S.ancho || ""} x ${S.alto || ""}`, S.profundidad && (O += ` x ${S.profundidad || ""}`), O += ` ${S.unidad_de_medida || ""}`), O;
|
|
20650
20650
|
}, A = I(() => fu.lt.md), _ = (S) => S == null ? void 0 : S.replace(/Pantalla/gi, "Pant."), P = I(
|
|
20651
20651
|
() => [
|
|
20652
20652
|
{
|
|
@@ -20677,7 +20677,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20677
20677
|
key: "ancho",
|
|
20678
20678
|
icon: "sym_o_square_foot",
|
|
20679
20679
|
label: "Tamaño",
|
|
20680
|
-
value:
|
|
20680
|
+
value: x()
|
|
20681
20681
|
},
|
|
20682
20682
|
{
|
|
20683
20683
|
key: "pitch",
|
|
@@ -20728,19 +20728,19 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20728
20728
|
value: r("sistema_operativo")
|
|
20729
20729
|
}
|
|
20730
20730
|
].filter((S) => {
|
|
20731
|
-
var
|
|
20732
|
-
return qs(S.value) || S.value === "" ? !1 : d != null && d.hiddenProps && ((
|
|
20731
|
+
var O, y;
|
|
20732
|
+
return qs(S.value) || S.value === "" ? !1 : d != null && d.hiddenProps && ((O = d == null ? void 0 : d.hiddenProps) != null && O.length) ? !((y = d == null ? void 0 : d.hiddenProps) != null && y.includes(S.key)) : !0;
|
|
20733
20733
|
})
|
|
20734
20734
|
), w = I(() => {
|
|
20735
20735
|
var S;
|
|
20736
20736
|
if (l.value.pitch) {
|
|
20737
|
-
const
|
|
20737
|
+
const O = (S = l.value.pitch) == null ? void 0 : S.replace("_", "."), y = O == null ? void 0 : O.replace(/[^0-9.]/g, "");
|
|
20738
20738
|
return parseFloat(y).toFixed(2);
|
|
20739
20739
|
}
|
|
20740
20740
|
return "";
|
|
20741
20741
|
});
|
|
20742
|
-
return (S,
|
|
20743
|
-
var y,
|
|
20742
|
+
return (S, O) => {
|
|
20743
|
+
var y, b, T, L, N, k, D, M, Z, J, ve, j, $, ne, q, K, ee, de, Oe;
|
|
20744
20744
|
return u(), g("div", G1, [
|
|
20745
20745
|
s("div", {
|
|
20746
20746
|
class: "q-mt-md row text-black justify-start",
|
|
@@ -20768,7 +20768,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20768
20768
|
], 2))), 128))
|
|
20769
20769
|
], 4),
|
|
20770
20770
|
S.lite ? B("", !0) : (u(), g(oe, { key: 0 }, [
|
|
20771
|
-
(y = v(l)) != null && y.consumo_maximo_w || (
|
|
20771
|
+
(y = v(l)) != null && y.consumo_maximo_w || (b = v(l)) != null && b.consumo_medio_w ? (u(), g("div", j1, [
|
|
20772
20772
|
(T = v(l)) != null && T.consumo_medio_w ? (u(), g("div", q1, [
|
|
20773
20773
|
z(v(Ne), {
|
|
20774
20774
|
color: "green",
|
|
@@ -20777,7 +20777,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20777
20777
|
size: "18px"
|
|
20778
20778
|
}),
|
|
20779
20779
|
s("div", null, [
|
|
20780
|
-
|
|
20780
|
+
O[0] || (O[0] = ue(" Consumo medio: ", -1)),
|
|
20781
20781
|
s("span", $1, E((L = v(l)) == null ? void 0 : L.consumo_medio_w), 1)
|
|
20782
20782
|
])
|
|
20783
20783
|
])) : B("", !0),
|
|
@@ -20789,42 +20789,42 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20789
20789
|
size: "18px"
|
|
20790
20790
|
}),
|
|
20791
20791
|
s("div", null, [
|
|
20792
|
-
|
|
20792
|
+
O[1] || (O[1] = ue(" Consumo máximo: ", -1)),
|
|
20793
20793
|
s("span", K1, E((k = v(l)) == null ? void 0 : k.consumo_maximo_w), 1)
|
|
20794
20794
|
])
|
|
20795
20795
|
])) : B("", !0)
|
|
20796
20796
|
])) : B("", !0),
|
|
20797
20797
|
s("div", W1, [
|
|
20798
20798
|
w.value ? (u(), g("div", Y1, [
|
|
20799
|
-
|
|
20799
|
+
O[2] || (O[2] = ue(" Distancia recomendada: ", -1)),
|
|
20800
20800
|
s("span", Z1, "a partir de " + E(w.value) + " m", 1)
|
|
20801
20801
|
])) : B("", !0),
|
|
20802
20802
|
(D = v(l)) != null && D.serie ? (u(), g("div", Q1, [
|
|
20803
|
-
|
|
20803
|
+
O[3] || (O[3] = ue(" Serie: ", -1)),
|
|
20804
20804
|
s("span", X1, E(r("serie")), 1)
|
|
20805
20805
|
])) : B("", !0),
|
|
20806
20806
|
(M = v(l)) != null && M.material ? (u(), g("div", J1, [
|
|
20807
|
-
|
|
20807
|
+
O[4] || (O[4] = ue(" Material: ", -1)),
|
|
20808
20808
|
s("span", eC, E(r("material")), 1)
|
|
20809
20809
|
])) : B("", !0),
|
|
20810
20810
|
(Z = v(l)) != null && Z.usos_habituales && v(Gi)((J = v(l)) == null ? void 0 : J.usos_habituales) ? (u(), g("div", aC, [
|
|
20811
|
-
|
|
20811
|
+
O[5] || (O[5] = ue(" Usos habituales: ", -1)),
|
|
20812
20812
|
s("span", iC, E(r("usos_habituales")), 1)
|
|
20813
20813
|
])) : B("", !0),
|
|
20814
20814
|
(ve = v(l)) != null && ve.propositos_generales && v(Gi)((j = v(l)) == null ? void 0 : j.propositos_generales) ? (u(), g("div", lC, [
|
|
20815
|
-
|
|
20815
|
+
O[6] || (O[6] = ue(" Propositos generales: ", -1)),
|
|
20816
20816
|
s("span", sC, E(r("propositos_generales")), 1)
|
|
20817
20817
|
])) : B("", !0),
|
|
20818
20818
|
($ = v(l)) != null && $.controladoras_compatibles && v(Gi)((ne = v(l)) == null ? void 0 : ne.controladoras_compatibles) ? (u(), g("div", oC, [
|
|
20819
|
-
|
|
20819
|
+
O[7] || (O[7] = ue(" Controladoras compatibles: ", -1)),
|
|
20820
20820
|
s("span", nC, E(r("controladoras_compatibles")), 1)
|
|
20821
20821
|
])) : B("", !0),
|
|
20822
20822
|
(q = v(l)) != null && q.tipo_de_instalacion ? (u(), g("div", tC, [
|
|
20823
|
-
|
|
20823
|
+
O[8] || (O[8] = ue(" Tipo de instalación: ", -1)),
|
|
20824
20824
|
s("span", rC, E(r("tipo_de_instalacion")), 1)
|
|
20825
20825
|
])) : B("", !0),
|
|
20826
20826
|
(K = v(l)) != null && K.tipo_servicio ? (u(), g("div", cC, [
|
|
20827
|
-
|
|
20827
|
+
O[9] || (O[9] = ue(" Conexiones y acceso a componentes: ", -1)),
|
|
20828
20828
|
s("span", uC, E(r("tipo_servicio")), 1)
|
|
20829
20829
|
])) : B("", !0)
|
|
20830
20830
|
]),
|
|
@@ -20836,7 +20836,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20836
20836
|
name: "sym_o_verified_user"
|
|
20837
20837
|
}),
|
|
20838
20838
|
s("div", pC, [
|
|
20839
|
-
|
|
20839
|
+
O[10] || (O[10] = ue(" GOB ", -1)),
|
|
20840
20840
|
((de = v(l)) == null ? void 0 : de.gob) == "si" ? (u(), g("span", vC, " (mayor resistencia a golpes, humedad y polvo.)")) : B("", !0)
|
|
20841
20841
|
])
|
|
20842
20842
|
])) : B("", !0),
|
|
@@ -20937,7 +20937,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20937
20937
|
},
|
|
20938
20938
|
emits: ["on-event"],
|
|
20939
20939
|
setup(o, { emit: d }) {
|
|
20940
|
-
const l = d, c = o, { data: t, isPublic: r, hiddenProps: m, gamaProps: f } = Ge(c),
|
|
20940
|
+
const l = d, c = o, { data: t, isPublic: r, hiddenProps: m, gamaProps: f } = Ge(c), x = I(() => !r.value), A = I(() => t.value || null), _ = I(() => {
|
|
20941
20941
|
var k;
|
|
20942
20942
|
return ((k = c.showPrice) == null ? void 0 : k.call(c, A.value)) ?? !0;
|
|
20943
20943
|
}), P = I(
|
|
@@ -20953,10 +20953,10 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20953
20953
|
var k;
|
|
20954
20954
|
return (((k = A.value) == null ? void 0 : k.DESCRIPCION_CORTA) || "").trim();
|
|
20955
20955
|
}
|
|
20956
|
-
),
|
|
20956
|
+
), O = I(() => {
|
|
20957
20957
|
var k;
|
|
20958
20958
|
return ((k = A.value) == null ? void 0 : k.COD_ART_MVX) || "";
|
|
20959
|
-
}), y = s0(px),
|
|
20959
|
+
}), y = s0(px), b = I(() => {
|
|
20960
20960
|
var k, D;
|
|
20961
20961
|
return (D = (k = A.value) == null ? void 0 : k.TAGS) == null ? void 0 : D.split(",");
|
|
20962
20962
|
}), T = Ce(1), L = I(() => {
|
|
@@ -20989,10 +20989,10 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
20989
20989
|
s("div", hC, [
|
|
20990
20990
|
s("div", xC, [
|
|
20991
20991
|
s("div", OC, [
|
|
20992
|
-
A.value.PACK ? (u(), g("span", CC, " Pack ")) : (u(), g("span", IC, E(
|
|
20992
|
+
A.value.PACK ? (u(), g("span", CC, " Pack ")) : (u(), g("span", IC, E(O.value), 1))
|
|
20993
20993
|
]),
|
|
20994
20994
|
s("div", AC, [
|
|
20995
|
-
(u(!0), g(oe, null, _e(
|
|
20995
|
+
(u(!0), g(oe, null, _e(b.value, ($) => (u(), ce(Zl, { tag: $ }, null, 8, ["tag"]))), 256))
|
|
20996
20996
|
]),
|
|
20997
20997
|
s("div", yC, [
|
|
20998
20998
|
ue(E((M = L.value) != null && M.length ? T.value : 0) + "/" + E(((Z = L.value) == null ? void 0 : Z.length) || 0) + " ", 1),
|
|
@@ -21011,7 +21011,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
21011
21011
|
"onUpdate:modelValue": D[0] || (D[0] = ($) => T.value = $),
|
|
21012
21012
|
autoplay: k.autoplay
|
|
21013
21013
|
}, null, 8, ["items", "modelValue", "autoplay"]),
|
|
21014
|
-
|
|
21014
|
+
x.value ? (u(), g("div", PC, [
|
|
21015
21015
|
z(gC, {
|
|
21016
21016
|
public: A.value.PUBLICO,
|
|
21017
21017
|
onChangePublic: D[1] || (D[1] = ($) => l("on-event", {
|
|
@@ -21037,13 +21037,13 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
21037
21037
|
color: (ne = A.value.R_ESTADO) == null ? void 0 : ne.COLOR
|
|
21038
21038
|
}, null, 8, ["label", "color"])) : B("", !0)
|
|
21039
21039
|
]),
|
|
21040
|
-
|
|
21040
|
+
x.value && ((q = A.value.PROPS) != null && q.sku) ? (u(), g("div", RC, " SKU: " + E(A.value.PROPS.sku), 1)) : B("", !0),
|
|
21041
21041
|
s("div", TC, [
|
|
21042
21042
|
s("div", SC, [
|
|
21043
21043
|
_.value ? (u(), ce(Xn, {
|
|
21044
21044
|
key: 0,
|
|
21045
21045
|
product: A.value,
|
|
21046
|
-
"is-private":
|
|
21046
|
+
"is-private": x.value,
|
|
21047
21047
|
size: "small"
|
|
21048
21048
|
}, null, 8, ["product", "is-private"])) : B("", !0)
|
|
21049
21049
|
]),
|
|
@@ -21101,7 +21101,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
21101
21101
|
})
|
|
21102
21102
|
]),
|
|
21103
21103
|
s("div", GC, [
|
|
21104
|
-
|
|
21104
|
+
x.value ? B("", !0) : (u(), ce(v(qe), {
|
|
21105
21105
|
key: 0,
|
|
21106
21106
|
label: (J = A.value) != null && J.PACK ? "Ver oferta" : "Ver más",
|
|
21107
21107
|
"text-color": (ve = A.value) != null && ve.PACK ? "white" : "primary",
|
|
@@ -23945,7 +23945,7 @@ function tl() {
|
|
|
23945
23945
|
const o = wa("context"), d = I(() => o.product.value), l = o.slide, c = o.isPublic, t = o.images, r = o.selectedPackProduct, m = I(() => !c.value), f = I(() => {
|
|
23946
23946
|
var A;
|
|
23947
23947
|
return ((A = d.value) == null ? void 0 : A.detalle_pack) || [];
|
|
23948
|
-
}),
|
|
23948
|
+
}), x = I(() => {
|
|
23949
23949
|
var A;
|
|
23950
23950
|
return ((A = d.value) == null ? void 0 : A.props) || {};
|
|
23951
23951
|
});
|
|
@@ -23970,7 +23970,7 @@ function tl() {
|
|
|
23970
23970
|
isPrivate: m,
|
|
23971
23971
|
images: t,
|
|
23972
23972
|
detallePack: f,
|
|
23973
|
-
productProps:
|
|
23973
|
+
productProps: x,
|
|
23974
23974
|
selectedPackProduct: r,
|
|
23975
23975
|
slide: l,
|
|
23976
23976
|
gamaProps: o.gamaProps,
|
|
@@ -23990,7 +23990,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
23990
23990
|
}, QC = ["src"], XC = { class: "video-icon" }, JC = /* @__PURE__ */ fe({
|
|
23991
23991
|
__name: "ImagesMiniature",
|
|
23992
23992
|
setup(o) {
|
|
23993
|
-
const { images: d, slide: l, isPrivate: c } = tl(), { emitEvent: t } = Pi(), { handler: r, onDragLeave: m, onDragOver: f, onDragStart:
|
|
23993
|
+
const { images: d, slide: l, isPrivate: c } = tl(), { emitEvent: t } = Pi(), { handler: r, onDragLeave: m, onDragOver: f, onDragStart: x, onDrop: A, idKey: _ } = Qn(
|
|
23994
23994
|
d,
|
|
23995
23995
|
".image-miniature",
|
|
23996
23996
|
(P) => t("update_images_position", { images: P })
|
|
@@ -24001,23 +24001,23 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24001
24001
|
key: 0,
|
|
24002
24002
|
class: "images-miniature",
|
|
24003
24003
|
onDragleave: w[1] || (w[1] = //@ts-ignore
|
|
24004
|
-
(...
|
|
24004
|
+
(...O) => v(m) && v(m)(...O)),
|
|
24005
24005
|
onDragover: w[2] || (w[2] = //@ts-ignore
|
|
24006
|
-
(...
|
|
24006
|
+
(...O) => v(f) && v(f)(...O)),
|
|
24007
24007
|
onDrop: w[3] || (w[3] = //@ts-ignore
|
|
24008
|
-
(...
|
|
24008
|
+
(...O) => v(A) && v(A)(...O))
|
|
24009
24009
|
}, [
|
|
24010
|
-
(u(!0), g(oe, null, _e(v(d), (
|
|
24010
|
+
(u(!0), g(oe, null, _e(v(d), (O, y) => (u(), g("div", {
|
|
24011
24011
|
class: "q-mb-md image-miniature q-px-sm",
|
|
24012
24012
|
key: y,
|
|
24013
|
-
id:
|
|
24013
|
+
id: O[v(_)],
|
|
24014
24014
|
onDragstart: w[0] || (w[0] = //@ts-ignore
|
|
24015
|
-
(...
|
|
24015
|
+
(...b) => v(x) && v(x)(...b)),
|
|
24016
24016
|
draggable: v(c)
|
|
24017
24017
|
}, [
|
|
24018
|
-
|
|
24018
|
+
O ? (u(), g("div", {
|
|
24019
24019
|
key: 0,
|
|
24020
|
-
onClick: (
|
|
24020
|
+
onClick: (b) => l.value = y + 1,
|
|
24021
24021
|
style: se({
|
|
24022
24022
|
cursor: "pointer",
|
|
24023
24023
|
borderWidth: "0.7px",
|
|
@@ -24027,14 +24027,14 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24027
24027
|
}),
|
|
24028
24028
|
class: "q-pb-sm win-card"
|
|
24029
24029
|
}, [
|
|
24030
|
-
|
|
24030
|
+
O != null && O.location ? O.tipo === "image" ? (u(), ce(v(Tl), {
|
|
24031
24031
|
key: 1,
|
|
24032
|
-
src:
|
|
24032
|
+
src: O.location,
|
|
24033
24033
|
fit: "cover",
|
|
24034
24034
|
class: "media-card"
|
|
24035
|
-
}, null, 8, ["src"])) :
|
|
24035
|
+
}, null, 8, ["src"])) : O.tipo === "video" ? (u(), g("div", ZC, [
|
|
24036
24036
|
s("video", {
|
|
24037
|
-
src:
|
|
24037
|
+
src: O.location,
|
|
24038
24038
|
style: { width: "100%", height: "100%", background: "black" }
|
|
24039
24039
|
}, null, 8, QC),
|
|
24040
24040
|
s("div", XC, [
|
|
@@ -24106,11 +24106,11 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24106
24106
|
}
|
|
24107
24107
|
);
|
|
24108
24108
|
return (m, f) => {
|
|
24109
|
-
var
|
|
24109
|
+
var x;
|
|
24110
24110
|
return u(), g(oe, null, [
|
|
24111
24111
|
s("div", lI, [
|
|
24112
24112
|
(u(!0), g(oe, null, _e(v(d), (A, _) => {
|
|
24113
|
-
var P, w, S,
|
|
24113
|
+
var P, w, S, O;
|
|
24114
24114
|
return u(), g("div", {
|
|
24115
24115
|
key: _,
|
|
24116
24116
|
class: Fe(`q-mr-md glass-card detalle-pack ${((P = v(l)) == null ? void 0 : P.ID_PRODUCTO) == A.ID_PRODUCTO_DETALLE ? "selected" : ""}`),
|
|
@@ -24123,7 +24123,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24123
24123
|
fit: "contain"
|
|
24124
24124
|
}, null, 8, ["src"])) : B("", !0),
|
|
24125
24125
|
s("div", oI, [
|
|
24126
|
-
s("div", nI, E((
|
|
24126
|
+
s("div", nI, E((O = A == null ? void 0 : A.DETALLE) == null ? void 0 : O.NOMBRE), 1),
|
|
24127
24127
|
s("div", tI, E(A == null ? void 0 : A.CANTIDAD) + "X", 1)
|
|
24128
24128
|
])
|
|
24129
24129
|
], 10, sI);
|
|
@@ -24131,7 +24131,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24131
24131
|
]),
|
|
24132
24132
|
v(l) ? (u(), g("div", rI, [
|
|
24133
24133
|
s("div", cI, E(v(l).NOMBRE), 1),
|
|
24134
|
-
s("div", null, "SKU: " + E((
|
|
24134
|
+
s("div", null, "SKU: " + E((x = v(l).PROPS) == null ? void 0 : x.sku), 1),
|
|
24135
24135
|
z(bo, {
|
|
24136
24136
|
class: "q-mt-md",
|
|
24137
24137
|
"product-props": r.value,
|
|
@@ -24152,7 +24152,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24152
24152
|
), m = I(() => {
|
|
24153
24153
|
var A;
|
|
24154
24154
|
return (A = d.value) == null ? void 0 : A.codigo;
|
|
24155
|
-
}), { emitEvent: f } = Pi(),
|
|
24155
|
+
}), { emitEvent: f } = Pi(), x = () => {
|
|
24156
24156
|
var A;
|
|
24157
24157
|
return f("edit_tags", { id: (A = d.value) == null ? void 0 : A.id });
|
|
24158
24158
|
};
|
|
@@ -24161,7 +24161,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24161
24161
|
return u(), g("div", mI, [
|
|
24162
24162
|
s("div", pI, E(m.value), 1),
|
|
24163
24163
|
s("div", {
|
|
24164
|
-
onClick:
|
|
24164
|
+
onClick: x,
|
|
24165
24165
|
class: "tags",
|
|
24166
24166
|
style: se({ overflowX: "auto", cursor: v(t) ? "pointer" : "default" })
|
|
24167
24167
|
}, [
|
|
@@ -24222,8 +24222,8 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24222
24222
|
const d = Number(o.ancho) || 0, l = Number(o.alto) || 0, c = o.unidad_de_medida || "cm", t = Ks(d, c), r = Ks(l, c);
|
|
24223
24223
|
let m = t * r;
|
|
24224
24224
|
return m <= 0 && (m = 1), (f) => {
|
|
24225
|
-
const
|
|
24226
|
-
return Math.ceil(A *
|
|
24225
|
+
const x = 1 / m, A = vd(f);
|
|
24226
|
+
return Math.ceil(A * x);
|
|
24227
24227
|
};
|
|
24228
24228
|
}, qn = (o, d = 2) => Number(o.toFixed(d)), vd = (o) => {
|
|
24229
24229
|
const d = Number((o == null ? void 0 : o.ancho) || 0), l = Number((o == null ? void 0 : o.alto) || 0);
|
|
@@ -24245,7 +24245,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24245
24245
|
emits: ["update:quantity", "update:detail"],
|
|
24246
24246
|
setup(o) {
|
|
24247
24247
|
const d = o, l = sl(o, "quantity"), c = sl(o, "detail"), t = I(
|
|
24248
|
-
() => si(d.product || {}, (y,
|
|
24248
|
+
() => si(d.product || {}, (y, b) => b.toUpperCase())
|
|
24249
24249
|
), r = I(() => {
|
|
24250
24250
|
var y;
|
|
24251
24251
|
return ((y = t.value) == null ? void 0 : y.PROPS) || {};
|
|
@@ -24257,21 +24257,21 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24257
24257
|
},
|
|
24258
24258
|
{ immediate: !0, deep: !0 }
|
|
24259
24259
|
);
|
|
24260
|
-
const
|
|
24260
|
+
const x = (y) => y.toLocaleString("es-ES", {
|
|
24261
24261
|
minimumFractionDigits: 2,
|
|
24262
24262
|
maximumFractionDigits: 2
|
|
24263
24263
|
}), A = I(() => {
|
|
24264
|
-
var
|
|
24265
|
-
return (Number((
|
|
24264
|
+
var b;
|
|
24265
|
+
return (Number((b = t.value) == null ? void 0 : b.PRECIO) || 0) * l.value;
|
|
24266
24266
|
}), _ = I(() => vd(c.value)), P = I(() => {
|
|
24267
24267
|
var y;
|
|
24268
24268
|
return Ks(((y = r.value) == null ? void 0 : y.ancho) || 0, m.value);
|
|
24269
24269
|
}), w = I(() => {
|
|
24270
24270
|
var y;
|
|
24271
24271
|
return Ks(((y = r.value) == null ? void 0 : y.alto) || 0, m.value);
|
|
24272
|
-
}), S = I(() => P.value * w.value),
|
|
24273
|
-
var
|
|
24274
|
-
const y = ((
|
|
24272
|
+
}), S = I(() => P.value * w.value), O = I(() => {
|
|
24273
|
+
var b;
|
|
24274
|
+
const y = ((b = t.value) == null ? void 0 : b.PRECIO) || 0;
|
|
24275
24275
|
return !y || !S.value ? 0 : nu(y / S.value);
|
|
24276
24276
|
});
|
|
24277
24277
|
return ca(
|
|
@@ -24288,8 +24288,8 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24288
24288
|
Math.ceil(y / w.value) * w.value
|
|
24289
24289
|
));
|
|
24290
24290
|
}
|
|
24291
|
-
), (y,
|
|
24292
|
-
|
|
24291
|
+
), (y, b) => (u(), g(oe, null, [
|
|
24292
|
+
b[7] || (b[7] = s("div", { class: "prices text-bold q-mb-md" }, " Indica las medidas de la pantalla que necesitas ", -1)),
|
|
24293
24293
|
s("div", hI, [
|
|
24294
24294
|
s("div", null, [
|
|
24295
24295
|
z(v(Wl), {
|
|
@@ -24297,7 +24297,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24297
24297
|
outlined: "",
|
|
24298
24298
|
class: "q-mb-md",
|
|
24299
24299
|
modelValue: c.value.ancho,
|
|
24300
|
-
"onUpdate:modelValue":
|
|
24300
|
+
"onUpdate:modelValue": b[0] || (b[0] = (T) => c.value.ancho = T),
|
|
24301
24301
|
modelModifiers: { number: !0 },
|
|
24302
24302
|
label: "Ancho",
|
|
24303
24303
|
suffix: "metros",
|
|
@@ -24308,7 +24308,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24308
24308
|
type: "number",
|
|
24309
24309
|
outlined: "",
|
|
24310
24310
|
modelValue: c.value.alto,
|
|
24311
|
-
"onUpdate:modelValue":
|
|
24311
|
+
"onUpdate:modelValue": b[1] || (b[1] = (T) => c.value.alto = T),
|
|
24312
24312
|
modelModifiers: { number: !0 },
|
|
24313
24313
|
label: "Alto",
|
|
24314
24314
|
suffix: "metros",
|
|
@@ -24318,23 +24318,23 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24318
24318
|
]),
|
|
24319
24319
|
s("div", xI, [
|
|
24320
24320
|
s("div", null, [
|
|
24321
|
-
|
|
24322
|
-
s("span", null, E(
|
|
24321
|
+
b[2] || (b[2] = s("span", null, " Área panel: ", -1)),
|
|
24322
|
+
s("span", null, E(x(S.value)) + " m2", 1)
|
|
24323
24323
|
]),
|
|
24324
24324
|
y.showPrice ? (u(), g("div", OI, [
|
|
24325
|
-
|
|
24326
|
-
s("span", null, E(
|
|
24325
|
+
b[3] || (b[3] = s("span", null, " Importe m2: ", -1)),
|
|
24326
|
+
s("span", null, E(O.value), 1)
|
|
24327
24327
|
])) : B("", !0),
|
|
24328
24328
|
s("div", CI, [
|
|
24329
|
-
|
|
24330
|
-
s("span", null, E(
|
|
24329
|
+
b[4] || (b[4] = s("span", null, " Área total: ", -1)),
|
|
24330
|
+
s("span", null, E(x(_.value)) + " m2 ", 1)
|
|
24331
24331
|
]),
|
|
24332
24332
|
s("div", II, [
|
|
24333
|
-
|
|
24333
|
+
b[5] || (b[5] = s("span", null, " Paneles: ", -1)),
|
|
24334
24334
|
s("span", null, E(l.value), 1)
|
|
24335
24335
|
]),
|
|
24336
24336
|
y.showPrice ? (u(), g("div", AI, [
|
|
24337
|
-
|
|
24337
|
+
b[6] || (b[6] = s("span", null, " Importe total: ", -1)),
|
|
24338
24338
|
s("span", null, E(v(nu)(A.value)), 1)
|
|
24339
24339
|
])) : B("", !0)
|
|
24340
24340
|
])
|
|
@@ -24358,34 +24358,34 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24358
24358
|
showPrice: r
|
|
24359
24359
|
} = tl(), { emitEvent: m } = Pi(), f = I(
|
|
24360
24360
|
() => {
|
|
24361
|
-
var y,
|
|
24362
|
-
return !!((y = l.value) != null && y.a_medida) && !((
|
|
24361
|
+
var y, b;
|
|
24362
|
+
return !!((y = l.value) != null && y.a_medida) && !((b = d.value) != null && b.pack);
|
|
24363
24363
|
}
|
|
24364
|
-
),
|
|
24365
|
-
|
|
24364
|
+
), x = Ce(f.value ? 0 : 1), A = Ce({}), _ = I(() => f.value && x.value <= 0), P = () => {
|
|
24365
|
+
x.value = Math.max(1, x.value - 1);
|
|
24366
24366
|
}, w = () => {
|
|
24367
|
-
|
|
24367
|
+
x.value++;
|
|
24368
24368
|
}, S = () => {
|
|
24369
24369
|
const y = Yn(d.value, "images", "table_estado");
|
|
24370
24370
|
m("add_to_shopcart", {
|
|
24371
24371
|
product: si(
|
|
24372
24372
|
{ ...y, id_producto: y.id },
|
|
24373
|
-
(
|
|
24373
|
+
(b, T) => T.toUpperCase()
|
|
24374
24374
|
),
|
|
24375
|
-
quantity:
|
|
24375
|
+
quantity: x.value,
|
|
24376
24376
|
props: A.value || {}
|
|
24377
24377
|
});
|
|
24378
|
-
},
|
|
24378
|
+
}, O = () => {
|
|
24379
24379
|
m("go_to_catalog");
|
|
24380
24380
|
};
|
|
24381
|
-
return (y,
|
|
24381
|
+
return (y, b) => v(d) ? (u(), g("div", DI, [
|
|
24382
24382
|
f.value ? (u(), ce(EI, {
|
|
24383
24383
|
key: 0,
|
|
24384
24384
|
product: v(d),
|
|
24385
|
-
quantity:
|
|
24386
|
-
"onUpdate:quantity":
|
|
24385
|
+
quantity: x.value,
|
|
24386
|
+
"onUpdate:quantity": b[0] || (b[0] = (T) => x.value = T),
|
|
24387
24387
|
detail: A.value,
|
|
24388
|
-
"onUpdate:detail":
|
|
24388
|
+
"onUpdate:detail": b[1] || (b[1] = (T) => A.value = T),
|
|
24389
24389
|
"show-price": v(r)
|
|
24390
24390
|
}, null, 8, ["product", "quantity", "detail", "show-price"])) : B("", !0),
|
|
24391
24391
|
s("div", RI, [
|
|
@@ -24396,7 +24396,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24396
24396
|
onClick: P,
|
|
24397
24397
|
icon: "remove"
|
|
24398
24398
|
}),
|
|
24399
|
-
s("span", SI, E(
|
|
24399
|
+
s("span", SI, E(x.value), 1),
|
|
24400
24400
|
z(Ki, {
|
|
24401
24401
|
outline: "",
|
|
24402
24402
|
size: "sm",
|
|
@@ -24407,7 +24407,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24407
24407
|
])),
|
|
24408
24408
|
s("div", NI, [
|
|
24409
24409
|
z(Al, {
|
|
24410
|
-
onClick:
|
|
24410
|
+
onClick: O,
|
|
24411
24411
|
label: v(t) || "Seguir comprando",
|
|
24412
24412
|
class: "q-mr-md"
|
|
24413
24413
|
}, null, 8, ["label"]),
|
|
@@ -24458,7 +24458,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24458
24458
|
setup(o, { emit: d }) {
|
|
24459
24459
|
const l = I(() => fu.lt.md), c = d;
|
|
24460
24460
|
Ea("emit", c);
|
|
24461
|
-
const t = o, r = Ce(1), { data: m, isPublic: f, gamaProps:
|
|
24461
|
+
const t = o, r = Ce(1), { data: m, isPublic: f, gamaProps: x, count: A } = Ge(t), _ = I(() => {
|
|
24462
24462
|
var L;
|
|
24463
24463
|
return ((L = t.showPrice) == null ? void 0 : L.call(t, m.value)) ?? !0;
|
|
24464
24464
|
}), P = I(() => go(m.value)), w = I(
|
|
@@ -24466,27 +24466,27 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24466
24466
|
var L, N;
|
|
24467
24467
|
return ((N = (L = m.value) == null ? void 0 : L.table_estado) == null ? void 0 : N.table_estado) || null;
|
|
24468
24468
|
}
|
|
24469
|
-
), S = Ce(null),
|
|
24469
|
+
), S = Ce(null), O = Ce([]), y = {
|
|
24470
24470
|
product: P,
|
|
24471
24471
|
slide: r,
|
|
24472
24472
|
isPublic: f,
|
|
24473
24473
|
selectedPackProduct: S,
|
|
24474
|
-
images:
|
|
24474
|
+
images: O,
|
|
24475
24475
|
count: A,
|
|
24476
|
-
gamaProps:
|
|
24476
|
+
gamaProps: x,
|
|
24477
24477
|
showPrice: _,
|
|
24478
24478
|
addToShopcartLabel: t.addToShopcartLabel,
|
|
24479
24479
|
goToCatalogLabel: t.goToCatalogLabel
|
|
24480
24480
|
};
|
|
24481
24481
|
Ea("context", y);
|
|
24482
|
-
const
|
|
24482
|
+
const b = I(() => {
|
|
24483
24483
|
var L;
|
|
24484
24484
|
return !!((L = P.value) != null && L.pack);
|
|
24485
24485
|
});
|
|
24486
24486
|
ca(S, (L) => {
|
|
24487
24487
|
var N;
|
|
24488
24488
|
if (L != null && L.ARCHIVOS[0]) {
|
|
24489
|
-
const k = (N = L == null ? void 0 : L.ARCHIVOS[0]) == null ? void 0 : N.LOCATION, D =
|
|
24489
|
+
const k = (N = L == null ? void 0 : L.ARCHIVOS[0]) == null ? void 0 : N.LOCATION, D = O.value.findIndex(
|
|
24490
24490
|
(M) => (M == null ? void 0 : M.LOCATION) === k || (M == null ? void 0 : M.location) === k
|
|
24491
24491
|
);
|
|
24492
24492
|
r.value = D + 1;
|
|
@@ -24518,7 +24518,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24518
24518
|
z(_I),
|
|
24519
24519
|
z(nl, {
|
|
24520
24520
|
style: { "border-radius": "8px" },
|
|
24521
|
-
items:
|
|
24521
|
+
items: O.value,
|
|
24522
24522
|
modelValue: r.value,
|
|
24523
24523
|
"onUpdate:modelValue": N[0] || (N[0] = (ne) => r.value = ne),
|
|
24524
24524
|
height: l.value ? "450px" : "70vh"
|
|
@@ -24551,10 +24551,10 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
24551
24551
|
]),
|
|
24552
24552
|
z(D),
|
|
24553
24553
|
z(FI),
|
|
24554
|
-
|
|
24554
|
+
b.value ? (u(), ce(dI, { key: 0 })) : (u(), ce(bo, {
|
|
24555
24555
|
key: 1,
|
|
24556
24556
|
"product-props": ($ = P.value) == null ? void 0 : $.props,
|
|
24557
|
-
"gama-props": v(
|
|
24557
|
+
"gama-props": v(x)
|
|
24558
24558
|
}, null, 8, ["product-props", "gama-props"])),
|
|
24559
24559
|
v(f) ? (u(), ce(MI, { key: 2 })) : B("", !0)
|
|
24560
24560
|
])
|
|
@@ -25596,7 +25596,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
25596
25596
|
setup(o, { emit: d }) {
|
|
25597
25597
|
const l = d, c = o, { data: t } = Ge(c), r = I(
|
|
25598
25598
|
() => xu(t.value.FECHA_CAPTADO).format("DD/MM/YYYY")
|
|
25599
|
-
), m = I(() => Ue.formatContactName(t.value.CONTACTO)), f = I(() => t.value.CONTACTO.TELEFONO.NUMERO),
|
|
25599
|
+
), m = I(() => Ue.formatContactName(t.value.CONTACTO)), f = I(() => t.value.CONTACTO.TELEFONO.NUMERO), x = I(
|
|
25600
25600
|
() => Ue.toCurrency(t.value.PEDIDO.IMP_TOTAL_PED)
|
|
25601
25601
|
), A = I(() => {
|
|
25602
25602
|
var _, P;
|
|
@@ -25623,7 +25623,7 @@ const KC = ["id", "draggable"], WC = ["onClick"], YC = {
|
|
|
25623
25623
|
]),
|
|
25624
25624
|
s("div", lA, [
|
|
25625
25625
|
s("div", null, E(r.value), 1),
|
|
25626
|
-
s("div", null, E(
|
|
25626
|
+
s("div", null, E(x.value), 1)
|
|
25627
25627
|
]),
|
|
25628
25628
|
s("div", sA, [
|
|
25629
25629
|
s("div", oA, E(m.value), 1),
|
|
@@ -26227,7 +26227,7 @@ function fd() {
|
|
|
26227
26227
|
const o = wa("context"), d = I(() => o.product.value), l = o.slide, c = o.isPublic, t = o.images, r = o.selectedPackProduct, m = I(() => !c.value), f = I(() => {
|
|
26228
26228
|
var A;
|
|
26229
26229
|
return ((A = d.value) == null ? void 0 : A.detalle_pack) || [];
|
|
26230
|
-
}),
|
|
26230
|
+
}), x = I(() => {
|
|
26231
26231
|
var A;
|
|
26232
26232
|
return ((A = d.value) == null ? void 0 : A.props) || {};
|
|
26233
26233
|
});
|
|
@@ -26252,7 +26252,7 @@ function fd() {
|
|
|
26252
26252
|
isPrivate: m,
|
|
26253
26253
|
images: t,
|
|
26254
26254
|
detallePack: f,
|
|
26255
|
-
productProps:
|
|
26255
|
+
productProps: x,
|
|
26256
26256
|
selectedPackProduct: r,
|
|
26257
26257
|
slide: l,
|
|
26258
26258
|
gamaProps: o.gamaProps,
|
|
@@ -26335,7 +26335,7 @@ const mA = {
|
|
|
26335
26335
|
setup(o, { emit: d }) {
|
|
26336
26336
|
const l = d;
|
|
26337
26337
|
Ea("emit", l);
|
|
26338
|
-
const c = o, t = Ce(1), { data: r, isPublic: m, gamaProps: f, count:
|
|
26338
|
+
const c = o, t = Ce(1), { data: r, isPublic: m, gamaProps: f, count: x } = Ge(c), A = I(() => {
|
|
26339
26339
|
var j;
|
|
26340
26340
|
return ((j = c.showPrice) == null ? void 0 : j.call(c, r.value)) ?? !0;
|
|
26341
26341
|
}), _ = I(() => go(r.value)), P = I(() => {
|
|
@@ -26344,23 +26344,23 @@ const mA = {
|
|
|
26344
26344
|
}), w = I(() => {
|
|
26345
26345
|
var j, $;
|
|
26346
26346
|
return ($ = (j = _.value) == null ? void 0 : j.tags) == null ? void 0 : $.split(",");
|
|
26347
|
-
}), S = Ce(null),
|
|
26347
|
+
}), S = Ce(null), O = Ce([]);
|
|
26348
26348
|
Ea("context", {
|
|
26349
26349
|
product: _,
|
|
26350
26350
|
slide: t,
|
|
26351
26351
|
isPublic: m,
|
|
26352
26352
|
selectedPackProduct: S,
|
|
26353
|
-
images:
|
|
26354
|
-
count:
|
|
26353
|
+
images: O,
|
|
26354
|
+
count: x,
|
|
26355
26355
|
gamaProps: f,
|
|
26356
26356
|
showPrice: A
|
|
26357
26357
|
});
|
|
26358
|
-
const
|
|
26358
|
+
const b = I(() => {
|
|
26359
26359
|
var j;
|
|
26360
26360
|
return ((j = _.value) == null ? void 0 : j.props) || {};
|
|
26361
26361
|
}), T = (j, $) => j.find((q) => q.value === $) || $, L = (j) => {
|
|
26362
26362
|
var q;
|
|
26363
|
-
const $ =
|
|
26363
|
+
const $ = b.value[j], ne = f.value.find((K) => K.code === j);
|
|
26364
26364
|
return (q = ne == null ? void 0 : ne.options) != null && q.length ? De.isArray($) ? $.map((K) => T(ne.options, K)) : T(ne.options, $) : $;
|
|
26365
26365
|
}, N = I(() => L("complementos")), k = I(() => {
|
|
26366
26366
|
var ne, q, K;
|
|
@@ -29517,21 +29517,21 @@ const mA = {
|
|
|
29517
29517
|
var J;
|
|
29518
29518
|
const M = (J = l.informacionNutricional) == null ? void 0 : J[D], Z = c[D];
|
|
29519
29519
|
return !M || !Z ? 0 : M / Z * 100;
|
|
29520
|
-
}), r = t("fibra_g"), m = t("azucares_g"), f = t("grasas_saturadas_g"),
|
|
29520
|
+
}), r = t("fibra_g"), m = t("azucares_g"), f = t("grasas_saturadas_g"), x = t("calcio_mg"), A = t("hierro_mg"), _ = t("zinc_mg"), P = t("potasio_mg"), w = t("magnesio_mg"), S = t("vitamina_c_mg"), O = t("vitamina_d_mcg"), y = t("vitamina_b12_mcg"), b = I(() => {
|
|
29521
29521
|
var D;
|
|
29522
29522
|
return ((D = l.informacionNutricional) == null ? void 0 : D.kcal) ?? 0;
|
|
29523
29523
|
}), T = I(() => {
|
|
29524
29524
|
var M;
|
|
29525
29525
|
const D = ((M = l.informacionNutricional) == null ? void 0 : M.proteinas_g) * 4;
|
|
29526
|
-
return
|
|
29526
|
+
return b.value ? D / b.value * 100 : 0;
|
|
29527
29527
|
}), L = I(() => {
|
|
29528
29528
|
var M;
|
|
29529
29529
|
const D = ((M = l.informacionNutricional) == null ? void 0 : M.carbohidratos_g) * 4;
|
|
29530
|
-
return
|
|
29530
|
+
return b.value ? D / b.value * 100 : 0;
|
|
29531
29531
|
}), N = I(() => {
|
|
29532
29532
|
var M;
|
|
29533
29533
|
const D = ((M = l.informacionNutricional) == null ? void 0 : M.grasas_g) * 9;
|
|
29534
|
-
return
|
|
29534
|
+
return b.value ? D / b.value * 100 : 0;
|
|
29535
29535
|
}), k = I(() => {
|
|
29536
29536
|
var M;
|
|
29537
29537
|
return (((M = l.informacionNutricional) == null ? void 0 : M.sodio_mg) ?? 0) / Wy * 100;
|
|
@@ -29668,7 +29668,7 @@ const mA = {
|
|
|
29668
29668
|
size: "12px"
|
|
29669
29669
|
}, {
|
|
29670
29670
|
default: ie(() => [
|
|
29671
|
-
ue(E(v(
|
|
29671
|
+
ue(E(v(x).toFixed(0)) + "% ", 1)
|
|
29672
29672
|
]),
|
|
29673
29673
|
_: 1
|
|
29674
29674
|
})
|
|
@@ -29769,7 +29769,7 @@ const mA = {
|
|
|
29769
29769
|
size: "12px"
|
|
29770
29770
|
}, {
|
|
29771
29771
|
default: ie(() => [
|
|
29772
|
-
ue(E(v(
|
|
29772
|
+
ue(E(v(O).toFixed(0)) + "% ", 1)
|
|
29773
29773
|
]),
|
|
29774
29774
|
_: 1
|
|
29775
29775
|
})
|
|
@@ -29962,7 +29962,7 @@ const mA = {
|
|
|
29962
29962
|
}), f = I(() => {
|
|
29963
29963
|
var q;
|
|
29964
29964
|
return ((q = t.value) == null ? void 0 : q.NOMBRE) || "Plato sin nombre";
|
|
29965
|
-
}),
|
|
29965
|
+
}), x = I(() => {
|
|
29966
29966
|
var q;
|
|
29967
29967
|
return ((q = t.value) == null ? void 0 : q.DESCRIPCION) || "";
|
|
29968
29968
|
}), A = I(() => {
|
|
@@ -30014,13 +30014,13 @@ const mA = {
|
|
|
30014
30014
|
}), S = I(() => {
|
|
30015
30015
|
var q, K, ee, de;
|
|
30016
30016
|
return ((K = (q = t.value) == null ? void 0 : q.PROPS) == null ? void 0 : K.cocina) || ((de = (ee = t.value) == null ? void 0 : ee.PROPS) == null ? void 0 : de.tipo_cocina) || [];
|
|
30017
|
-
}),
|
|
30017
|
+
}), O = I(() => {
|
|
30018
30018
|
var q, K, ee, de;
|
|
30019
30019
|
return ((K = (q = t.value) == null ? void 0 : q.PROPS) == null ? void 0 : K.efecto_fisiologico) || ((de = (ee = t.value) == null ? void 0 : ee.PROPS) == null ? void 0 : de.efecto) || [];
|
|
30020
30020
|
}), y = I(() => {
|
|
30021
30021
|
var q, K;
|
|
30022
30022
|
return ((K = (q = t.value) == null ? void 0 : q.PROPS) == null ? void 0 : K.alergenos) || [];
|
|
30023
|
-
}),
|
|
30023
|
+
}), b = I(() => {
|
|
30024
30024
|
var q, K;
|
|
30025
30025
|
return ((K = (q = t.value) == null ? void 0 : q.PROPS) == null ? void 0 : K.componentes_sensibles) || [];
|
|
30026
30026
|
}), T = I(() => {
|
|
@@ -30230,14 +30230,14 @@ const mA = {
|
|
|
30230
30230
|
]),
|
|
30231
30231
|
_: 1
|
|
30232
30232
|
})) : B("", !0),
|
|
30233
|
-
|
|
30233
|
+
O.value[0] ? (u(), ce(v(Ye), {
|
|
30234
30234
|
key: 2,
|
|
30235
30235
|
size: "11px",
|
|
30236
30236
|
"text-color": "grey-10",
|
|
30237
30237
|
color: "green-2"
|
|
30238
30238
|
}, {
|
|
30239
30239
|
default: ie(() => [
|
|
30240
|
-
s("div", wP, E(
|
|
30240
|
+
s("div", wP, E(O.value[0]), 1)
|
|
30241
30241
|
]),
|
|
30242
30242
|
_: 1
|
|
30243
30243
|
})) : B("", !0)
|
|
@@ -30282,20 +30282,20 @@ const mA = {
|
|
|
30282
30282
|
"line-clamp": q.descriptionLines,
|
|
30283
30283
|
"-webkit-line-clamp": q.descriptionLines
|
|
30284
30284
|
})
|
|
30285
|
-
}, E(
|
|
30285
|
+
}, E(x.value), 7),
|
|
30286
30286
|
A.value ? (u(), g("div", UP, [
|
|
30287
30287
|
s("ul", BP, [
|
|
30288
30288
|
(u(!0), g(oe, null, _e(ne(f.value), (He, ke) => (u(), g("li", { key: ke }, E(He), 1))), 128))
|
|
30289
30289
|
])
|
|
30290
30290
|
])) : B("", !0),
|
|
30291
30291
|
s("template", null, [
|
|
30292
|
-
(Ve = (ye = y.value) == null ? void 0 : ye.concat(
|
|
30292
|
+
(Ve = (ye = y.value) == null ? void 0 : ye.concat(b.value)) != null && Ve.length ? (u(), g("div", FP, [
|
|
30293
30293
|
z(v(Ne), {
|
|
30294
30294
|
name: "sym_o_warning",
|
|
30295
30295
|
size: "20px",
|
|
30296
30296
|
color: "red"
|
|
30297
30297
|
}),
|
|
30298
|
-
(u(!0), g(oe, null, _e(y.value.concat(
|
|
30298
|
+
(u(!0), g(oe, null, _e(y.value.concat(b.value), (He) => (u(), ce(v(Ye), {
|
|
30299
30299
|
size: "12px",
|
|
30300
30300
|
color: "red-1",
|
|
30301
30301
|
class: "text-grey-10 q-ma-sm"
|
|
@@ -32535,11 +32535,11 @@ const mA = {
|
|
|
32535
32535
|
const l = d, c = o, { data: t, gamaProps: r } = Ge(c), m = I(() => {
|
|
32536
32536
|
var D;
|
|
32537
32537
|
return ((D = t.value) == null ? void 0 : D.PROPS) || {};
|
|
32538
|
-
}), f = (D, M) => D.find((J) => J.value === M) || M,
|
|
32538
|
+
}), f = (D, M) => D.find((J) => J.value === M) || M, x = (D) => {
|
|
32539
32539
|
var J;
|
|
32540
32540
|
const M = m.value[D], Z = r.value.find((ve) => ve.code === D);
|
|
32541
32541
|
return (J = Z == null ? void 0 : Z.options) != null && J.length ? De.isArray(M) ? M.map((ve) => f(Z.options, ve)) : f(Z.options, M) : M;
|
|
32542
|
-
}, A = I(() =>
|
|
32542
|
+
}, A = I(() => x("complementos")), _ = I(() => {
|
|
32543
32543
|
var Z;
|
|
32544
32544
|
const D = m.value.wifi, M = r.value.find((J) => J.code === "wifi");
|
|
32545
32545
|
if (!((Z = M == null ? void 0 : M.options) != null && Z.length)) return D;
|
|
@@ -32581,13 +32581,13 @@ const mA = {
|
|
|
32581
32581
|
}), S = I(() => {
|
|
32582
32582
|
var D;
|
|
32583
32583
|
return (D = t.value) == null ? void 0 : D.DESCRIPCION_CORTA;
|
|
32584
|
-
}),
|
|
32584
|
+
}), O = I(() => {
|
|
32585
32585
|
var D, M;
|
|
32586
32586
|
return (M = (D = t.value) == null ? void 0 : D.TAGS) == null ? void 0 : M.split(",");
|
|
32587
32587
|
}), y = I(() => {
|
|
32588
32588
|
var D, M, Z, J, ve, j, $, ne, q, K, ee, de;
|
|
32589
32589
|
return c.cardColor ? c.cardColor : (Z = (M = (D = t.value) == null ? void 0 : D.PROPS) == null ? void 0 : M.familia) != null && Z.includes("movil") ? "#D60270" : (j = (ve = (J = t.value) == null ? void 0 : J.PROPS) == null ? void 0 : ve.familia) != null && j.includes("tv") ? "#FFA807" : (q = (ne = ($ = t.value) == null ? void 0 : $.PROPS) == null ? void 0 : ne.familia) != null && q.includes("streaming") && ((de = (ee = (K = t.value) == null ? void 0 : K.PROPS) == null ? void 0 : ee.familia) == null ? void 0 : de.length) == 1 ? "black" : "#00C1B5";
|
|
32590
|
-
}),
|
|
32590
|
+
}), b = I(() => {
|
|
32591
32591
|
var D;
|
|
32592
32592
|
return Number(((D = t.value) == null ? void 0 : D.PRECIO) || 0);
|
|
32593
32593
|
}), T = I(() => {
|
|
@@ -32643,7 +32643,7 @@ const mA = {
|
|
|
32643
32643
|
var $, ne, q, K, ee, de, Oe, ye, Ve, He, ke, ma, na, pa, Ze, ia, te;
|
|
32644
32644
|
return [
|
|
32645
32645
|
s("div", HP, [
|
|
32646
|
-
(u(!0), g(oe, null, _e(
|
|
32646
|
+
(u(!0), g(oe, null, _e(O.value, (H) => (u(), ce(v(Ye), {
|
|
32647
32647
|
outline: "",
|
|
32648
32648
|
key: H,
|
|
32649
32649
|
size: "md",
|
|
@@ -32703,8 +32703,8 @@ const mA = {
|
|
|
32703
32703
|
WebkitLineClamp: D.descriptionLines
|
|
32704
32704
|
})
|
|
32705
32705
|
}, E(S.value), 5)) : B("", !0),
|
|
32706
|
-
|
|
32707
|
-
s("span", oE, "$" + E(
|
|
32706
|
+
b.value ? (u(), g("div", sE, [
|
|
32707
|
+
s("span", oE, "$" + E(b.value), 1),
|
|
32708
32708
|
M[5] || (M[5] = s("span", { class: "text-caption text-black q-pl-sm q-pt-sm" }, " al mes", -1))
|
|
32709
32709
|
])) : B("", !0),
|
|
32710
32710
|
D.isPublic ? (u(), g("div", nE, [
|
|
@@ -34409,30 +34409,30 @@ const mA = {
|
|
|
34409
34409
|
emits: ["on-event"],
|
|
34410
34410
|
setup(o, { emit: d }) {
|
|
34411
34411
|
const l = d, c = o, { data: t } = Ge(c), r = I(() => {
|
|
34412
|
-
var S,
|
|
34413
|
-
return (
|
|
34412
|
+
var S, O;
|
|
34413
|
+
return (O = (S = t.value) == null ? void 0 : S.NOMBRE) == null ? void 0 : O.toLowerCase();
|
|
34414
34414
|
}), m = I(() => {
|
|
34415
34415
|
var S;
|
|
34416
34416
|
return (S = t.value) == null ? void 0 : S.DESCRIPCION_CORTA;
|
|
34417
34417
|
}), f = I(
|
|
34418
34418
|
() => {
|
|
34419
|
-
var S,
|
|
34420
|
-
return De.compact(((
|
|
34419
|
+
var S, O;
|
|
34420
|
+
return De.compact(((O = (S = t.value) == null ? void 0 : S.TAGS) == null ? void 0 : O.split(",")) || []);
|
|
34421
34421
|
}
|
|
34422
|
-
),
|
|
34422
|
+
), x = I(() => {
|
|
34423
34423
|
var S;
|
|
34424
34424
|
return Number(((S = t.value) == null ? void 0 : S.PRECIO) || 0);
|
|
34425
34425
|
}), A = I(() => {
|
|
34426
|
-
var
|
|
34427
|
-
const S = Number(((T = (
|
|
34426
|
+
var b, T, L, N;
|
|
34427
|
+
const S = Number(((T = (b = t.value) == null ? void 0 : b.PROPS) == null ? void 0 : T.lineas_telefonicas) || 0), O = (N = (L = t.value) == null ? void 0 : L.PROPS) == null ? void 0 : N.claro_drive;
|
|
34428
34428
|
return De.compact([
|
|
34429
34429
|
S ? {
|
|
34430
34430
|
key: "lineas_telefonicas",
|
|
34431
34431
|
label: `${S} líneas telefónicas`
|
|
34432
34432
|
} : null,
|
|
34433
|
-
|
|
34433
|
+
O && O !== "none" ? {
|
|
34434
34434
|
key: "claro_drive",
|
|
34435
|
-
label: `Claro Drive ${(
|
|
34435
|
+
label: `Claro Drive ${(O == null ? void 0 : O.replace(/_/g, " ")) || ""}`
|
|
34436
34436
|
} : null,
|
|
34437
34437
|
{ key: "llamadas_ilimitadas", label: "Llamadas ilimitadas" },
|
|
34438
34438
|
{ key: "claro_video_paramounts", label: "Claro Video" },
|
|
@@ -34464,13 +34464,13 @@ const mA = {
|
|
|
34464
34464
|
payload: { data: t.value }
|
|
34465
34465
|
});
|
|
34466
34466
|
}, w = I(() => {
|
|
34467
|
-
var
|
|
34468
|
-
const S = ((T = (
|
|
34467
|
+
var b, T, L, N;
|
|
34468
|
+
const S = ((T = (b = t.value) == null ? void 0 : b.PROPS) == null ? void 0 : T.velocidad_de_internet_megas) || 0, O = (L = c.gamaProps) == null ? void 0 : L.find(
|
|
34469
34469
|
(k) => k.code === "velocidad_de_internet_megas"
|
|
34470
|
-
), y = (N =
|
|
34470
|
+
), y = (N = O == null ? void 0 : O.options) == null ? void 0 : N.find((k) => k.value === S);
|
|
34471
34471
|
return ((y == null ? void 0 : y.label) || String(S)).toUpperCase();
|
|
34472
34472
|
});
|
|
34473
|
-
return (S,
|
|
34473
|
+
return (S, O) => (u(), ce(Ja, {
|
|
34474
34474
|
class: "card-custom",
|
|
34475
34475
|
loading: S.fetching,
|
|
34476
34476
|
"no-padding": "",
|
|
@@ -34482,9 +34482,9 @@ const mA = {
|
|
|
34482
34482
|
contentStyle: "height: 100%"
|
|
34483
34483
|
}, {
|
|
34484
34484
|
default: ie(() => {
|
|
34485
|
-
var y,
|
|
34485
|
+
var y, b;
|
|
34486
34486
|
return [
|
|
34487
|
-
(
|
|
34487
|
+
(b = (y = v(t)) == null ? void 0 : y.PROPS) != null && b.velocidad_de_internet_megas ? (u(), g("div", {
|
|
34488
34488
|
key: 0,
|
|
34489
34489
|
class: "header text-h5 text-center text-white q-pa-md text-bold",
|
|
34490
34490
|
style: se({ backgroundColor: c.headerColor || c.color })
|
|
@@ -34534,21 +34534,21 @@ const mA = {
|
|
|
34534
34534
|
style: se({ backgroundColor: c.color }),
|
|
34535
34535
|
class: "promo-indicator q-mr-sm"
|
|
34536
34536
|
}, null, 4),
|
|
34537
|
-
|
|
34537
|
+
O[0] || (O[0] = s("div", null, "Promoción de Portabilidad", -1))
|
|
34538
34538
|
])) : B("", !0),
|
|
34539
34539
|
(M = (D = (k = v(t)) == null ? void 0 : k.PROPS) == null ? void 0 : D.promocion_altas) != null && M.length ? (u(), g("div", bE, [
|
|
34540
34540
|
s("div", {
|
|
34541
34541
|
style: se({ backgroundColor: c.color }),
|
|
34542
34542
|
class: "promo-indicator q-mr-sm"
|
|
34543
34543
|
}, null, 4),
|
|
34544
|
-
|
|
34544
|
+
O[1] || (O[1] = s("div", null, "Promoción Alta Internet, Recuperado, Sólo clientes", -1))
|
|
34545
34545
|
])) : B("", !0),
|
|
34546
34546
|
(J = (Z = v(t)) == null ? void 0 : Z.PROPS) != null && J.permite_alta_por_internet_recuperado ? (u(), g("div", hE, [
|
|
34547
34547
|
s("div", {
|
|
34548
34548
|
style: se({ backgroundColor: c.color }),
|
|
34549
34549
|
class: "promo-indicator q-mr-sm"
|
|
34550
34550
|
}, null, 4),
|
|
34551
|
-
|
|
34551
|
+
O[2] || (O[2] = s("div", null, "Permite alta por internet recuperado", -1))
|
|
34552
34552
|
])) : B("", !0)
|
|
34553
34553
|
])
|
|
34554
34554
|
];
|
|
@@ -34561,8 +34561,8 @@ const mA = {
|
|
|
34561
34561
|
}, {
|
|
34562
34562
|
default: ie(() => [
|
|
34563
34563
|
s("div", xE, [
|
|
34564
|
-
s("span", OE, "$" + E(
|
|
34565
|
-
|
|
34564
|
+
s("span", OE, "$" + E(x.value), 1),
|
|
34565
|
+
O[3] || (O[3] = s("span", { class: "text-caption q-pl-sm q-pt-sm" }, "al mes", -1))
|
|
34566
34566
|
]),
|
|
34567
34567
|
S.isPublic ? (u(), g("div", CE, [
|
|
34568
34568
|
z(v(qe), {
|
|
@@ -34573,7 +34573,7 @@ const mA = {
|
|
|
34573
34573
|
unelevated: "",
|
|
34574
34574
|
onClick: ci(_, ["stop"])
|
|
34575
34575
|
}, {
|
|
34576
|
-
default: ie(() => [...
|
|
34576
|
+
default: ie(() => [...O[4] || (O[4] = [
|
|
34577
34577
|
ue(" Contratar ahora ", -1)
|
|
34578
34578
|
])]),
|
|
34579
34579
|
_: 1
|
|
@@ -37477,7 +37477,7 @@ function _d() {
|
|
|
37477
37477
|
const o = wa("context"), d = I(() => o.product.value), l = o.slide, c = o.isPublic, t = o.images, r = o.selectedPackProduct, m = I(() => !c.value), f = I(() => {
|
|
37478
37478
|
var A;
|
|
37479
37479
|
return ((A = d.value) == null ? void 0 : A.detalle_pack) || [];
|
|
37480
|
-
}),
|
|
37480
|
+
}), x = I(() => {
|
|
37481
37481
|
var A;
|
|
37482
37482
|
return ((A = d.value) == null ? void 0 : A.props) || {};
|
|
37483
37483
|
});
|
|
@@ -37502,7 +37502,7 @@ function _d() {
|
|
|
37502
37502
|
isPrivate: m,
|
|
37503
37503
|
images: t,
|
|
37504
37504
|
detallePack: f,
|
|
37505
|
-
productProps:
|
|
37505
|
+
productProps: x,
|
|
37506
37506
|
selectedPackProduct: r,
|
|
37507
37507
|
slide: l,
|
|
37508
37508
|
gamaProps: o.gamaProps,
|
|
@@ -37596,7 +37596,7 @@ const DE = {
|
|
|
37596
37596
|
Ce(!1);
|
|
37597
37597
|
const l = d;
|
|
37598
37598
|
Ea("emit", l);
|
|
37599
|
-
const c = o, t = Ce(1), { data: r, isPublic: m, gamaProps: f, count:
|
|
37599
|
+
const c = o, t = Ce(1), { data: r, isPublic: m, gamaProps: f, count: x, color: A } = Ge(c), _ = I(() => {
|
|
37600
37600
|
var j;
|
|
37601
37601
|
return ((j = c.showPrice) == null ? void 0 : j.call(c, r.value)) ?? !0;
|
|
37602
37602
|
}), P = I(() => go(r.value)), w = I(() => {
|
|
@@ -37607,14 +37607,14 @@ const DE = {
|
|
|
37607
37607
|
var j, $;
|
|
37608
37608
|
return De.compact((($ = (j = P.value) == null ? void 0 : j.tags) == null ? void 0 : $.split(",")) || []);
|
|
37609
37609
|
}
|
|
37610
|
-
),
|
|
37610
|
+
), O = Ce(null), y = Ce([]);
|
|
37611
37611
|
Ea("context", {
|
|
37612
37612
|
product: P,
|
|
37613
37613
|
slide: t,
|
|
37614
37614
|
isPublic: m,
|
|
37615
|
-
selectedPackProduct:
|
|
37615
|
+
selectedPackProduct: O,
|
|
37616
37616
|
images: y,
|
|
37617
|
-
count:
|
|
37617
|
+
count: x,
|
|
37618
37618
|
gamaProps: f,
|
|
37619
37619
|
showPrice: _
|
|
37620
37620
|
});
|
|
@@ -37852,7 +37852,7 @@ const DE = {
|
|
|
37852
37852
|
],
|
|
37853
37853
|
setup(o) {
|
|
37854
37854
|
const d = o, { totalPrice: l, selectedComplementsData: c, priceValue: t, name: r, color: m } = Ge(d);
|
|
37855
|
-
return (f,
|
|
37855
|
+
return (f, x) => {
|
|
37856
37856
|
const A = Ai("q-separator");
|
|
37857
37857
|
return v(l) > 0 ? (u(), g("div", nD, [
|
|
37858
37858
|
s("div", tD, [
|
|
@@ -37873,7 +37873,7 @@ const DE = {
|
|
|
37873
37873
|
]),
|
|
37874
37874
|
z(A, { class: "q-my-sm" }),
|
|
37875
37875
|
s("div", mD, [
|
|
37876
|
-
|
|
37876
|
+
x[0] || (x[0] = s("span", { class: "text-h6" }, "Total:", -1)),
|
|
37877
37877
|
s("span", {
|
|
37878
37878
|
class: "text-h6",
|
|
37879
37879
|
style: se({ color: d.color })
|
|
@@ -37955,10 +37955,10 @@ const DE = {
|
|
|
37955
37955
|
const { screen: l } = Ys(), c = d, t = o, { data: r } = Ge(t), m = I(() => go(r.value)), f = I(() => {
|
|
37956
37956
|
var le, re;
|
|
37957
37957
|
return (re = (le = m.value) == null ? void 0 : le.nombre) == null ? void 0 : re.toUpperCase();
|
|
37958
|
-
}),
|
|
37958
|
+
}), x = I(() => {
|
|
37959
37959
|
var le;
|
|
37960
37960
|
return Number(((le = m.value) == null ? void 0 : le.precio) || 0);
|
|
37961
|
-
}), A = Ce(!1), _ = Ce("complements"), P = Ce(null), w = Ce([]), S = Ce([]),
|
|
37961
|
+
}), A = Ce(!1), _ = Ce("complements"), P = Ce(null), w = Ce([]), S = Ce([]), O = Ce(""), y = Ce(!1), b = Ce(null), T = Ce(null), L = I(
|
|
37962
37962
|
() => {
|
|
37963
37963
|
var le, re;
|
|
37964
37964
|
return !!((re = (le = r.value) == null ? void 0 : le.PROPS) != null && re.permite_alta_por_internet_recuperado);
|
|
@@ -38041,18 +38041,18 @@ const DE = {
|
|
|
38041
38041
|
(le, re) => le + (Number(re.PRECIO) || 0),
|
|
38042
38042
|
0
|
|
38043
38043
|
)
|
|
38044
|
-
), de = I(() =>
|
|
38044
|
+
), de = I(() => x.value + ee.value), Oe = I(() => b.value === 1 || b.value === 2 ? !0 : b.value === "more" ? T.value && T.value <= k.value : !1), ye = I(() => P.value !== "portabilidad" || !y.value ? !0 : S.value.every((le) => le.nip.trim() && le.numero.trim())), Ve = I(() => _.value === "complements" ? !0 : _.value === "service-type" ? !!P.value : _.value === "portability" ? P.value !== "portabilidad" ? !0 : y.value ? ye.value && !!O.value : !1 : _.value === "internet-recovered" ? P.value !== "internet_recuperado" ? !0 : !!O.value : !0), He = I(() => _.value === "service-type" ? P.value ? P.value === "alta_nueva" ? "Contratar ahora" : "Siguiente" : "Selecciona una opción" : _.value === "portability" ? !ye.value || !O.value ? "Completa los datos de portabilidad" : "Contratar ahora" : Z.value ? "Contratar ahora" : "Siguiente"), ke = (le) => {
|
|
38045
38045
|
const re = w.value.indexOf(le);
|
|
38046
38046
|
re > -1 ? w.value.splice(re, 1) : w.value.push(le);
|
|
38047
38047
|
}, ma = (le) => {
|
|
38048
38048
|
P.value = le;
|
|
38049
38049
|
}, na = (le) => {
|
|
38050
|
-
|
|
38050
|
+
b.value = le, le !== "more" && (T.value = null);
|
|
38051
38051
|
}, pa = () => {
|
|
38052
38052
|
let le;
|
|
38053
|
-
if (
|
|
38054
|
-
le =
|
|
38055
|
-
else if (
|
|
38053
|
+
if (b.value === 1 || b.value === 2)
|
|
38054
|
+
le = b.value;
|
|
38055
|
+
else if (b.value === "more" && T.value)
|
|
38056
38056
|
le = T.value;
|
|
38057
38057
|
else return;
|
|
38058
38058
|
y.value = !0, S.value = Array(le).fill(null).map(() => ({
|
|
@@ -38061,7 +38061,7 @@ const DE = {
|
|
|
38061
38061
|
compania: ""
|
|
38062
38062
|
}));
|
|
38063
38063
|
}, Ze = () => {
|
|
38064
|
-
y.value = !1,
|
|
38064
|
+
y.value = !1, b.value = null, T.value = null, S.value = [];
|
|
38065
38065
|
}, ia = () => {
|
|
38066
38066
|
if (_.value === "service-type" && P.value === "alta_nueva") {
|
|
38067
38067
|
H();
|
|
@@ -38088,7 +38088,7 @@ const DE = {
|
|
|
38088
38088
|
props: null
|
|
38089
38089
|
});
|
|
38090
38090
|
c("on-event", { code: "add_to_shopcart", payload: Qe });
|
|
38091
|
-
const be = {}, xa =
|
|
38091
|
+
const be = {}, xa = O.value.trim();
|
|
38092
38092
|
if (P.value === "portabilidad") {
|
|
38093
38093
|
const la = S.value.filter(
|
|
38094
38094
|
(Oa) => Oa.nip && Oa.numero
|
|
@@ -38100,7 +38100,7 @@ const DE = {
|
|
|
38100
38100
|
}
|
|
38101
38101
|
P.value === "internet_recuperado" && xa !== "" && (be.compania_actual = xa), P.value && (be.tipo_servicio = P.value), Object.keys(be).length > 0 && c("on-event", { code: "set_external_props", payload: be }), Ie();
|
|
38102
38102
|
}, Ie = () => {
|
|
38103
|
-
A.value = !1, _.value = "complements", w.value = [], S.value = [], y.value = !1,
|
|
38103
|
+
A.value = !1, _.value = "complements", w.value = [], S.value = [], y.value = !1, b.value = null, T.value = null, P.value = null;
|
|
38104
38104
|
}, je = (le) => le === M.value || le < M.value ? t.color : "white", va = (le) => le <= M.value ? "white" : "grey-7", da = (le) => De.orderBy(
|
|
38105
38105
|
(le.TAGS || "").split(",").map((Qe) => Qe.trim()),
|
|
38106
38106
|
(Qe) => De.snakeCase(Qe) === "promocion",
|
|
@@ -38312,8 +38312,8 @@ const DE = {
|
|
|
38312
38312
|
s("div", XD, [
|
|
38313
38313
|
z(v(Tc), {
|
|
38314
38314
|
style: { width: "100%", "max-width": "400px" },
|
|
38315
|
-
modelValue:
|
|
38316
|
-
"onUpdate:modelValue": re[7] || (re[7] = (be) =>
|
|
38315
|
+
modelValue: O.value,
|
|
38316
|
+
"onUpdate:modelValue": re[7] || (re[7] = (be) => O.value = be),
|
|
38317
38317
|
options: Ma,
|
|
38318
38318
|
label: "Compañía actual",
|
|
38319
38319
|
outlined: "",
|
|
@@ -38361,12 +38361,12 @@ const DE = {
|
|
|
38361
38361
|
s("div", zD, [
|
|
38362
38362
|
s("div", kD, [
|
|
38363
38363
|
z(v(qe), {
|
|
38364
|
-
outline:
|
|
38364
|
+
outline: b.value !== 1,
|
|
38365
38365
|
color: t.color,
|
|
38366
38366
|
style: se(
|
|
38367
|
-
|
|
38367
|
+
b.value === 1 ? { backgroundColor: t.color } : {}
|
|
38368
38368
|
),
|
|
38369
|
-
"text-color":
|
|
38369
|
+
"text-color": b.value === 1 ? "white" : t.color,
|
|
38370
38370
|
label: "1",
|
|
38371
38371
|
onClick: re[3] || (re[3] = (be) => na(1)),
|
|
38372
38372
|
class: "quantity-btn",
|
|
@@ -38375,12 +38375,12 @@ const DE = {
|
|
|
38375
38375
|
]),
|
|
38376
38376
|
k.value >= 2 ? (u(), g("div", GD, [
|
|
38377
38377
|
z(v(qe), {
|
|
38378
|
-
outline:
|
|
38378
|
+
outline: b.value !== 2,
|
|
38379
38379
|
color: t.color,
|
|
38380
38380
|
style: se(
|
|
38381
|
-
|
|
38381
|
+
b.value === 2 ? { backgroundColor: t.color } : {}
|
|
38382
38382
|
),
|
|
38383
|
-
"text-color":
|
|
38383
|
+
"text-color": b.value === 2 ? "white" : t.color,
|
|
38384
38384
|
label: "2",
|
|
38385
38385
|
onClick: re[4] || (re[4] = (be) => na(2)),
|
|
38386
38386
|
class: "quantity-btn",
|
|
@@ -38389,12 +38389,12 @@ const DE = {
|
|
|
38389
38389
|
])) : B("", !0),
|
|
38390
38390
|
k.value > 2 ? (u(), g("div", VD, [
|
|
38391
38391
|
z(v(qe), {
|
|
38392
|
-
outline:
|
|
38392
|
+
outline: b.value !== "more",
|
|
38393
38393
|
color: t.color,
|
|
38394
38394
|
style: se(
|
|
38395
|
-
|
|
38395
|
+
b.value === "more" ? { backgroundColor: t.color } : {}
|
|
38396
38396
|
),
|
|
38397
|
-
"text-color":
|
|
38397
|
+
"text-color": b.value === "more" ? "white" : t.color,
|
|
38398
38398
|
label: "Más",
|
|
38399
38399
|
onClick: re[5] || (re[5] = (be) => na("more")),
|
|
38400
38400
|
class: "quantity-btn-more",
|
|
@@ -38403,7 +38403,7 @@ const DE = {
|
|
|
38403
38403
|
}, null, 8, ["outline", "color", "style", "text-color"])
|
|
38404
38404
|
])) : B("", !0)
|
|
38405
38405
|
]),
|
|
38406
|
-
|
|
38406
|
+
b.value === "more" ? (u(), g("div", jD, [
|
|
38407
38407
|
s("div", qD, [
|
|
38408
38408
|
s("div", $D, [
|
|
38409
38409
|
z(v(Wl), {
|
|
@@ -38452,8 +38452,8 @@ const DE = {
|
|
|
38452
38452
|
_.value === "internet-recovered" ? (u(), g("div", oR, [
|
|
38453
38453
|
z(v(Tc), {
|
|
38454
38454
|
style: { width: "100%", "max-width": "400px" },
|
|
38455
|
-
modelValue:
|
|
38456
|
-
"onUpdate:modelValue": re[8] || (re[8] = (be) =>
|
|
38455
|
+
modelValue: O.value,
|
|
38456
|
+
"onUpdate:modelValue": re[8] || (re[8] = (be) => O.value = be),
|
|
38457
38457
|
options: Ma,
|
|
38458
38458
|
label: "Compañía actual",
|
|
38459
38459
|
outlined: "",
|
|
@@ -38473,7 +38473,7 @@ const DE = {
|
|
|
38473
38473
|
key: 0,
|
|
38474
38474
|
totalPrice: de.value,
|
|
38475
38475
|
selectedComplementsData: K.value,
|
|
38476
|
-
priceValue:
|
|
38476
|
+
priceValue: x.value,
|
|
38477
38477
|
name: f.value,
|
|
38478
38478
|
color: le.color
|
|
38479
38479
|
}, null, 8, ["totalPrice", "selectedComplementsData", "priceValue", "name", "color"])) : B("", !0),
|
|
@@ -40110,20 +40110,20 @@ const DE = {
|
|
|
40110
40110
|
const l = d, c = o, { data: t, isPublic: r } = Ge(c), m = I(() => !r.value), f = I(() => t.value || null);
|
|
40111
40111
|
I(
|
|
40112
40112
|
() => {
|
|
40113
|
-
var
|
|
40114
|
-
return (((
|
|
40115
|
-
var
|
|
40113
|
+
var O;
|
|
40114
|
+
return (((O = t.value) == null ? void 0 : O.PAISES) || []).map((y) => {
|
|
40115
|
+
var b, T, L, N;
|
|
40116
40116
|
return {
|
|
40117
|
-
image: (T = Ue.COUNTRIES[(
|
|
40117
|
+
image: (T = Ue.COUNTRIES[(b = y == null ? void 0 : y.CODIGO) == null ? void 0 : b.toLowerCase()]) == null ? void 0 : T.flag,
|
|
40118
40118
|
name: (N = Ue.COUNTRIES[(L = y == null ? void 0 : y.CODIGO) == null ? void 0 : L.toLowerCase()]) == null ? void 0 : N.nativeName
|
|
40119
40119
|
};
|
|
40120
40120
|
}).filter((y) => y.name && y.image);
|
|
40121
40121
|
}
|
|
40122
40122
|
);
|
|
40123
|
-
const
|
|
40123
|
+
const x = I(
|
|
40124
40124
|
() => {
|
|
40125
|
-
var
|
|
40126
|
-
return (((
|
|
40125
|
+
var O;
|
|
40126
|
+
return (((O = f.value) == null ? void 0 : O.DESCRIPCION_CORTA) || "").trim();
|
|
40127
40127
|
}
|
|
40128
40128
|
), A = I(() => {
|
|
40129
40129
|
var T;
|
|
@@ -40131,14 +40131,14 @@ const DE = {
|
|
|
40131
40131
|
return y ? y[0] : null;
|
|
40132
40132
|
}), _ = I(
|
|
40133
40133
|
() => {
|
|
40134
|
-
var
|
|
40135
|
-
return Ue.toCurrency(Number(((
|
|
40134
|
+
var O;
|
|
40135
|
+
return Ue.toCurrency(Number(((O = f.value) == null ? void 0 : O.PRECIO) || 0), c.priceSymbol || "EUR");
|
|
40136
40136
|
}
|
|
40137
40137
|
), P = I(() => {
|
|
40138
|
-
var
|
|
40139
|
-
return (
|
|
40140
|
-
}), w = (
|
|
40141
|
-
const y =
|
|
40138
|
+
var O;
|
|
40139
|
+
return (O = f.value) == null ? void 0 : O.COD_ART_MVX;
|
|
40140
|
+
}), w = (O) => {
|
|
40141
|
+
const y = O || "", [b, T] = y.split("_"), L = Number(b), N = {
|
|
40142
40142
|
dias: ["día", "días"],
|
|
40143
40143
|
meses: ["mes", "meses"],
|
|
40144
40144
|
anios: ["año", "años"]
|
|
@@ -40148,32 +40148,32 @@ const DE = {
|
|
|
40148
40148
|
return `${L} ${L === 1 ? k : D}`;
|
|
40149
40149
|
};
|
|
40150
40150
|
I(() => {
|
|
40151
|
-
var
|
|
40152
|
-
return w((
|
|
40151
|
+
var O;
|
|
40152
|
+
return w((O = f.value) == null ? void 0 : O.PERIODO_COBRO);
|
|
40153
40153
|
}), I(() => {
|
|
40154
|
-
var
|
|
40155
|
-
return (y = (
|
|
40154
|
+
var O, y;
|
|
40155
|
+
return (y = (O = f.value) == null ? void 0 : O.PROPS) == null ? void 0 : y.tipo_plan;
|
|
40156
40156
|
});
|
|
40157
40157
|
const S = I(() => ({
|
|
40158
40158
|
textColor: "white",
|
|
40159
40159
|
bgColor: "#16458c"
|
|
40160
40160
|
}));
|
|
40161
|
-
return (
|
|
40161
|
+
return (O, y) => f.value ? (u(), ce(Ja, {
|
|
40162
40162
|
key: 0,
|
|
40163
|
-
loading:
|
|
40164
|
-
unelevated:
|
|
40165
|
-
"border-radius":
|
|
40166
|
-
hoverable:
|
|
40163
|
+
loading: O.fetching,
|
|
40164
|
+
unelevated: O.unelevated,
|
|
40165
|
+
"border-radius": O.borderRadius,
|
|
40166
|
+
hoverable: O.hoverable,
|
|
40167
40167
|
"no-padding": "",
|
|
40168
40168
|
style: se({ scale: c.scale ?? 1 }),
|
|
40169
40169
|
class: Fe({ "active-card": c.activeCard }),
|
|
40170
|
-
onClick: y[0] || (y[0] = (
|
|
40170
|
+
onClick: y[0] || (y[0] = (b) => l("on-event", {
|
|
40171
40171
|
code: "card_click",
|
|
40172
40172
|
payload: { product: f.value }
|
|
40173
40173
|
}))
|
|
40174
40174
|
}, {
|
|
40175
40175
|
default: ie(() => {
|
|
40176
|
-
var
|
|
40176
|
+
var b, T;
|
|
40177
40177
|
return [
|
|
40178
40178
|
s("div", {
|
|
40179
40179
|
class: "q-pa-sm text-weight-medium text-caption",
|
|
@@ -40183,7 +40183,7 @@ const DE = {
|
|
|
40183
40183
|
s("div", null, E(P.value), 1),
|
|
40184
40184
|
f.value.R_ESTADO ? (u(), ce(mi, {
|
|
40185
40185
|
key: 0,
|
|
40186
|
-
label: (
|
|
40186
|
+
label: (b = f.value.R_ESTADO) == null ? void 0 : b.NAME,
|
|
40187
40187
|
color: (T = f.value.R_ESTADO) == null ? void 0 : T.COLOR
|
|
40188
40188
|
}, null, 8, ["label", "color"])) : B("", !0)
|
|
40189
40189
|
])) : B("", !0)
|
|
@@ -40194,10 +40194,10 @@ const DE = {
|
|
|
40194
40194
|
s("div", {
|
|
40195
40195
|
class: "text-caption q-mt-md text-grey-9 description",
|
|
40196
40196
|
style: se({
|
|
40197
|
-
"line-clamp":
|
|
40198
|
-
"-webkit-line-clamp":
|
|
40197
|
+
"line-clamp": O.descriptionLines,
|
|
40198
|
+
"-webkit-line-clamp": O.descriptionLines
|
|
40199
40199
|
})
|
|
40200
|
-
}, E(
|
|
40200
|
+
}, E(x.value || "Sin descripción..."), 5)
|
|
40201
40201
|
])
|
|
40202
40202
|
];
|
|
40203
40203
|
}),
|
|
@@ -41990,28 +41990,28 @@ const DE = {
|
|
|
41990
41990
|
const l = d, c = o, { data: t } = Ge(c), r = Ce(null), m = sl(o, "modelValue");
|
|
41991
41991
|
ca(
|
|
41992
41992
|
r,
|
|
41993
|
-
(
|
|
41993
|
+
(x) => {
|
|
41994
41994
|
l("on-event", {
|
|
41995
41995
|
code: "filter_change",
|
|
41996
41996
|
payload: {
|
|
41997
41997
|
byEqualCol: {
|
|
41998
|
-
"producto.PROPS.$tipo_plan":
|
|
41998
|
+
"producto.PROPS.$tipo_plan": x
|
|
41999
41999
|
}
|
|
42000
42000
|
}
|
|
42001
42001
|
});
|
|
42002
42002
|
},
|
|
42003
42003
|
{ immediate: !0 }
|
|
42004
42004
|
);
|
|
42005
|
-
const f = (
|
|
42006
|
-
const { code: A, payload: _ } =
|
|
42005
|
+
const f = (x) => {
|
|
42006
|
+
const { code: A, payload: _ } = x;
|
|
42007
42007
|
if (A === "card_click") {
|
|
42008
42008
|
const P = (_ == null ? void 0 : _.data) || (_ == null ? void 0 : _.product);
|
|
42009
|
-
m.value = P.ID_PRODUCTO, l("on-event",
|
|
42009
|
+
m.value = P.ID_PRODUCTO, l("on-event", x);
|
|
42010
42010
|
}
|
|
42011
42011
|
};
|
|
42012
42012
|
return Yl(() => {
|
|
42013
42013
|
r.value = "standard";
|
|
42014
|
-
}), (
|
|
42014
|
+
}), (x, A) => (u(), g("div", xR, [
|
|
42015
42015
|
v(t).length === 0 ? (u(), g("div", OR, " No se han encontrado suscripciones de momento... ")) : B("", !0),
|
|
42016
42016
|
(u(!0), g(oe, null, _e(v(t) || [], (_, P) => (u(), g("div", {
|
|
42017
42017
|
key: P,
|
|
@@ -42021,9 +42021,9 @@ const DE = {
|
|
|
42021
42021
|
z(gd, {
|
|
42022
42022
|
onOnEvent: f,
|
|
42023
42023
|
data: _,
|
|
42024
|
-
descriptionLines:
|
|
42025
|
-
priceSymbol:
|
|
42026
|
-
gamaProps:
|
|
42024
|
+
descriptionLines: x.descriptionLines,
|
|
42025
|
+
priceSymbol: x.priceSymbol,
|
|
42026
|
+
gamaProps: x.gamaProps,
|
|
42027
42027
|
activeCard: m.value === _.ID_PRODUCTO
|
|
42028
42028
|
}, null, 8, ["data", "descriptionLines", "priceSymbol", "gamaProps", "activeCard"])
|
|
42029
42029
|
]))), 128))
|
|
@@ -43850,10 +43850,10 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
43850
43850
|
},
|
|
43851
43851
|
emits: ["on-event"],
|
|
43852
43852
|
setup(o, { emit: d }) {
|
|
43853
|
-
const l = d, c = o, { data: t, isPublic: r } = Ge(c), m = I(() => !r.value), f = I(() => t.value || null),
|
|
43853
|
+
const l = d, c = o, { data: t, isPublic: r } = Ge(c), m = I(() => !r.value), f = I(() => t.value || null), x = I(
|
|
43854
43854
|
() => {
|
|
43855
|
-
var
|
|
43856
|
-
return (((
|
|
43855
|
+
var b;
|
|
43856
|
+
return (((b = t.value) == null ? void 0 : b.PAISES) || []).map((T) => {
|
|
43857
43857
|
var L, N, k, D;
|
|
43858
43858
|
return {
|
|
43859
43859
|
image: (N = Ue.COUNTRIES[(L = T == null ? void 0 : T.CODIGO) == null ? void 0 : L.toLowerCase()]) == null ? void 0 : N.flag,
|
|
@@ -43863,25 +43863,25 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
43863
43863
|
}
|
|
43864
43864
|
), A = I(
|
|
43865
43865
|
() => {
|
|
43866
|
-
var
|
|
43867
|
-
return (((
|
|
43866
|
+
var b;
|
|
43867
|
+
return (((b = f.value) == null ? void 0 : b.DESCRIPCION_CORTA) || "").trim();
|
|
43868
43868
|
}
|
|
43869
43869
|
), _ = I(() => {
|
|
43870
43870
|
var T, L, N;
|
|
43871
|
-
const
|
|
43871
|
+
const b = new Ue.ProductPrice({
|
|
43872
43872
|
TIPO_IVA: (T = f.value) == null ? void 0 : T.TIPO_IVA,
|
|
43873
43873
|
PRECIO: (L = f.value) == null ? void 0 : L.PRECIO,
|
|
43874
43874
|
DESCUENTO: (N = f.value) == null ? void 0 : N.DESCUENTO
|
|
43875
43875
|
});
|
|
43876
|
-
return Ue.toCurrency(
|
|
43876
|
+
return Ue.toCurrency(b.getTotalPrice(), c.priceSymbol || "EUR");
|
|
43877
43877
|
}), P = I(() => {
|
|
43878
|
-
var
|
|
43879
|
-
return (
|
|
43878
|
+
var b;
|
|
43879
|
+
return (b = f.value) == null ? void 0 : b.COD_ART_MVX;
|
|
43880
43880
|
}), w = I(() => {
|
|
43881
|
-
var
|
|
43882
|
-
return ((
|
|
43883
|
-
}), S = (
|
|
43884
|
-
const T =
|
|
43881
|
+
var b;
|
|
43882
|
+
return ((b = f.value) == null ? void 0 : b.NOMBRE) || "";
|
|
43883
|
+
}), S = (b) => {
|
|
43884
|
+
const T = b || "", [L, N] = T.split("_"), k = Number(L), D = {
|
|
43885
43885
|
dias: ["día", "días"],
|
|
43886
43886
|
meses: ["mes", "meses"],
|
|
43887
43887
|
anios: ["año", "años"]
|
|
@@ -43889,19 +43889,19 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
43889
43889
|
if (!D[N]) return T;
|
|
43890
43890
|
const [M, Z] = D[N];
|
|
43891
43891
|
return `${k} ${k === 1 ? M : Z}`;
|
|
43892
|
-
},
|
|
43893
|
-
var
|
|
43894
|
-
return S((
|
|
43892
|
+
}, O = I(() => {
|
|
43893
|
+
var b;
|
|
43894
|
+
return S((b = f.value) == null ? void 0 : b.PERIODO_COBRO);
|
|
43895
43895
|
}), y = I(() => ({
|
|
43896
43896
|
textColor: c.textColor || "white",
|
|
43897
43897
|
bgColor: c.bgColor || "#16458c"
|
|
43898
43898
|
}));
|
|
43899
|
-
return (
|
|
43899
|
+
return (b, T) => f.value ? (u(), ce(Ja, {
|
|
43900
43900
|
key: 0,
|
|
43901
|
-
loading:
|
|
43902
|
-
unelevated:
|
|
43903
|
-
"border-radius":
|
|
43904
|
-
hoverable:
|
|
43901
|
+
loading: b.fetching,
|
|
43902
|
+
unelevated: b.unelevated,
|
|
43903
|
+
"border-radius": b.borderRadius,
|
|
43904
|
+
hoverable: b.hoverable,
|
|
43905
43905
|
"no-padding": "",
|
|
43906
43906
|
style: se({ scale: c.scale ?? 1 }),
|
|
43907
43907
|
class: Fe({ "active-card": c.activeCard }),
|
|
@@ -43927,7 +43927,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
43927
43927
|
])) : B("", !0)
|
|
43928
43928
|
], 4),
|
|
43929
43929
|
s("div", RR, [
|
|
43930
|
-
(u(!0), g(oe, null, _e(
|
|
43930
|
+
(u(!0), g(oe, null, _e(x.value, (k, D) => (u(), g("div", {
|
|
43931
43931
|
key: D,
|
|
43932
43932
|
class: "text-caption row main-color"
|
|
43933
43933
|
}, [
|
|
@@ -43947,15 +43947,15 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
43947
43947
|
class: "text-bold"
|
|
43948
43948
|
}, {
|
|
43949
43949
|
default: ie(() => [
|
|
43950
|
-
ue(E(
|
|
43950
|
+
ue(E(O.value), 1)
|
|
43951
43951
|
]),
|
|
43952
43952
|
_: 1
|
|
43953
43953
|
}),
|
|
43954
43954
|
s("div", {
|
|
43955
43955
|
class: "text-caption q-mt-md text-grey-9 description q-mb-xl",
|
|
43956
43956
|
style: se({
|
|
43957
|
-
"line-clamp":
|
|
43958
|
-
"-webkit-line-clamp":
|
|
43957
|
+
"line-clamp": b.descriptionLines,
|
|
43958
|
+
"-webkit-line-clamp": b.descriptionLines
|
|
43959
43959
|
})
|
|
43960
43960
|
}, E(A.value || "Sin descripción..."), 5)
|
|
43961
43961
|
])
|
|
@@ -45749,7 +45749,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
45749
45749
|
}),
|
|
45750
45750
|
emits: /* @__PURE__ */ ui(["on-event"], ["update:modelValue"]),
|
|
45751
45751
|
setup(o, { emit: d }) {
|
|
45752
|
-
const l = d, c = o, { data: t, bgColor: r, textColor: m } = Ge(c), f = sl(o, "modelValue"),
|
|
45752
|
+
const l = d, c = o, { data: t, bgColor: r, textColor: m } = Ge(c), f = sl(o, "modelValue"), x = (A) => {
|
|
45753
45753
|
const { code: _, payload: P } = A;
|
|
45754
45754
|
if (_ === "card_click") {
|
|
45755
45755
|
const w = (P == null ? void 0 : P.data) || (P == null ? void 0 : P.product);
|
|
@@ -45763,7 +45763,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
45763
45763
|
style: { cursor: "pointer" }
|
|
45764
45764
|
}, [
|
|
45765
45765
|
z(bd, {
|
|
45766
|
-
onOnEvent:
|
|
45766
|
+
onOnEvent: x,
|
|
45767
45767
|
data: P,
|
|
45768
45768
|
descriptionLines: A.descriptionLines,
|
|
45769
45769
|
priceSymbol: A.priceSymbol,
|
|
@@ -47587,62 +47587,62 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
47587
47587
|
y: 0,
|
|
47588
47588
|
imc: 0,
|
|
47589
47589
|
peso: 0
|
|
47590
|
-
}),
|
|
47591
|
-
const
|
|
47592
|
-
return { x:
|
|
47590
|
+
}), x = I(() => c.map((O, y) => {
|
|
47591
|
+
const b = d.left + r / (c.length - 1) * y, T = d.top + m - (O.imc - cu) / (sT - cu) * m;
|
|
47592
|
+
return { x: b, y: T, ...O };
|
|
47593
47593
|
})), A = I(() => {
|
|
47594
|
-
const
|
|
47595
|
-
let y = `M ${
|
|
47596
|
-
for (let
|
|
47597
|
-
const T = b
|
|
47594
|
+
const O = x.value;
|
|
47595
|
+
let y = `M ${O[0].x} ${O[0].y}`;
|
|
47596
|
+
for (let b = 1; b < O.length; b++) {
|
|
47597
|
+
const T = O[b - 1], L = O[b], N = (T.x + L.x) / 2;
|
|
47598
47598
|
y += ` Q ${N} ${T.y}, ${N} ${(T.y + L.y) / 2}`, y += ` Q ${N} ${L.y}, ${L.x} ${L.y}`;
|
|
47599
47599
|
}
|
|
47600
47600
|
return y;
|
|
47601
47601
|
}), _ = I(() => {
|
|
47602
|
-
const
|
|
47602
|
+
const O = x.value;
|
|
47603
47603
|
let y = A.value;
|
|
47604
|
-
return y += ` L ${
|
|
47604
|
+
return y += ` L ${O[O.length - 1].x} ${Kl - d.bottom}`, y += ` L ${O[0].x} ${Kl - d.bottom}`, y += " Z", y;
|
|
47605
47605
|
});
|
|
47606
|
-
function P(
|
|
47607
|
-
const
|
|
47606
|
+
function P(O, y) {
|
|
47607
|
+
const b = x.value[O];
|
|
47608
47608
|
f.value = {
|
|
47609
47609
|
visible: !0,
|
|
47610
|
-
x:
|
|
47611
|
-
y:
|
|
47612
|
-
imc:
|
|
47613
|
-
peso:
|
|
47610
|
+
x: b.x + 20,
|
|
47611
|
+
y: b.y - 80,
|
|
47612
|
+
imc: b.imc,
|
|
47613
|
+
peso: b.peso + "kg"
|
|
47614
47614
|
};
|
|
47615
47615
|
}
|
|
47616
47616
|
function w() {
|
|
47617
47617
|
f.value.visible = !1;
|
|
47618
47618
|
}
|
|
47619
|
-
function S(
|
|
47619
|
+
function S(O) {
|
|
47620
47620
|
}
|
|
47621
|
-
return (
|
|
47621
|
+
return (O, y) => (u(), g("div", KR, [
|
|
47622
47622
|
(u(), g("svg", {
|
|
47623
47623
|
width: kn,
|
|
47624
47624
|
height: Kl,
|
|
47625
47625
|
onMousemove: S,
|
|
47626
47626
|
onMouseleave: w
|
|
47627
47627
|
}, [
|
|
47628
|
-
(u(), g(oe, null, _e(6, (
|
|
47629
|
-
key: "grid-" +
|
|
47628
|
+
(u(), g(oe, null, _e(6, (b) => s("line", {
|
|
47629
|
+
key: "grid-" + b,
|
|
47630
47630
|
x1: d.left,
|
|
47631
|
-
y1: d.top + m / 5 * (
|
|
47631
|
+
y1: d.top + m / 5 * (b - 1),
|
|
47632
47632
|
x2: kn - d.right,
|
|
47633
|
-
y2: d.top + m / 5 * (
|
|
47633
|
+
y2: d.top + m / 5 * (b - 1),
|
|
47634
47634
|
stroke: "#E2E8F0",
|
|
47635
47635
|
"stroke-width": "1"
|
|
47636
47636
|
}, null, 8, WR)), 64)),
|
|
47637
|
-
(u(), g(oe, null, _e(t, (
|
|
47637
|
+
(u(), g(oe, null, _e(t, (b, T) => s("text", {
|
|
47638
47638
|
key: "y-label-" + T,
|
|
47639
47639
|
x: d.left - 15,
|
|
47640
47640
|
y: d.top + m / 5 * T + 5,
|
|
47641
47641
|
"text-anchor": "end",
|
|
47642
47642
|
fill: "#A0AEC0",
|
|
47643
47643
|
"font-size": "14"
|
|
47644
|
-
}, E(
|
|
47645
|
-
(u(), g(oe, null, _e(l, (
|
|
47644
|
+
}, E(b), 9, YR)), 64)),
|
|
47645
|
+
(u(), g(oe, null, _e(l, (b, T) => s("text", {
|
|
47646
47646
|
key: "x-label-" + T,
|
|
47647
47647
|
x: d.left + r / (l.length - 1) * T,
|
|
47648
47648
|
y: Kl - d.bottom + 25,
|
|
@@ -47650,7 +47650,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
47650
47650
|
fill: "#A0AEC0",
|
|
47651
47651
|
"font-size": "14",
|
|
47652
47652
|
"font-weight": "500"
|
|
47653
|
-
}, E(
|
|
47653
|
+
}, E(b), 9, ZR)), 64)),
|
|
47654
47654
|
s("path", {
|
|
47655
47655
|
d: _.value,
|
|
47656
47656
|
fill: "url(#areaGradient)",
|
|
@@ -47664,10 +47664,10 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
47664
47664
|
"stroke-linecap": "round",
|
|
47665
47665
|
"stroke-linejoin": "round"
|
|
47666
47666
|
}, null, 8, XR),
|
|
47667
|
-
(u(!0), g(oe, null, _e(
|
|
47667
|
+
(u(!0), g(oe, null, _e(x.value, (b, T) => (u(), g("circle", {
|
|
47668
47668
|
key: "point-" + T,
|
|
47669
|
-
cx:
|
|
47670
|
-
cy:
|
|
47669
|
+
cx: b.x,
|
|
47670
|
+
cy: b.y,
|
|
47671
47671
|
r: "6",
|
|
47672
47672
|
fill: "white",
|
|
47673
47673
|
stroke: "#2D5F5D",
|
|
@@ -47768,20 +47768,20 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
47768
47768
|
I(
|
|
47769
47769
|
() => m.value.map((te) => `${te.x},${te.y}`).join(" ")
|
|
47770
47770
|
);
|
|
47771
|
-
const f = o,
|
|
47771
|
+
const f = o, x = Ce(1), A = I(
|
|
47772
47772
|
() => {
|
|
47773
47773
|
var te, H;
|
|
47774
|
-
return (((te =
|
|
47774
|
+
return (((te = O.value) == null ? void 0 : te.R_IMG) || ((H = O.value) == null ? void 0 : H.R_ARCHIVOS) || []).filter((Ie) => Ie.PUBLICO).map(
|
|
47775
47775
|
(Ie) => si(Ie, (je, va) => Ii(va))
|
|
47776
47776
|
);
|
|
47777
47777
|
}
|
|
47778
|
-
), { data: _, isPublic: P, gamaProps: w, count: S } = Ge(f),
|
|
47778
|
+
), { data: _, isPublic: P, gamaProps: w, count: S } = Ge(f), O = I(() => _.value), y = I(() => {
|
|
47779
47779
|
var te, H;
|
|
47780
47780
|
return w.value || ((H = (te = _.value) == null ? void 0 : te.R_GAMA) == null ? void 0 : H.PROPS) || [];
|
|
47781
47781
|
});
|
|
47782
47782
|
Ea("context", {
|
|
47783
|
-
FdcHealth:
|
|
47784
|
-
slide:
|
|
47783
|
+
FdcHealth: O,
|
|
47784
|
+
slide: x,
|
|
47785
47785
|
isPublic: P,
|
|
47786
47786
|
images: A,
|
|
47787
47787
|
count: S,
|
|
@@ -50870,108 +50870,88 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
50870
50870
|
emits: ["on-event"],
|
|
50871
50871
|
setup(o, { emit: d }) {
|
|
50872
50872
|
const l = d, c = o, { data: t } = Ge(c), r = {
|
|
50873
|
-
|
|
50873
|
+
pro: {
|
|
50874
50874
|
class: "premium",
|
|
50875
50875
|
iconClass: "premium-icon",
|
|
50876
50876
|
icon: "sym_o_diamond",
|
|
50877
50877
|
btnClass: "solid",
|
|
50878
|
-
checkIcon: "ok"
|
|
50879
|
-
subtitle: "Resultados serios y personalizados.",
|
|
50880
|
-
btnText: "Seleccionar Pack Completo",
|
|
50881
|
-
descriptions: [
|
|
50882
|
-
"Todo lo incluido en Plan Nutricional",
|
|
50883
|
-
"Plan 100% personalizado",
|
|
50884
|
-
"Rutina de entrenamientos",
|
|
50885
|
-
"Chat directo con experto",
|
|
50886
|
-
"Integración con wearables"
|
|
50887
|
-
]
|
|
50878
|
+
checkIcon: "ok"
|
|
50888
50879
|
},
|
|
50889
|
-
|
|
50880
|
+
premium: {
|
|
50890
50881
|
class: "highlight",
|
|
50891
50882
|
iconClass: "highlight-icon",
|
|
50892
50883
|
icon: "sym_o_spa",
|
|
50893
50884
|
btnClass: "outline",
|
|
50894
|
-
checkIcon: "ok"
|
|
50895
|
-
subtitle: "Perfecto para empezar tu viaje saludable.",
|
|
50896
|
-
btnText: "Seleccionar Plan Nutricional",
|
|
50897
|
-
descriptions: [
|
|
50898
|
-
"Plan de nutrición estandarizado",
|
|
50899
|
-
"Recetas básicas semanales",
|
|
50900
|
-
"Lista de compras automática",
|
|
50901
|
-
"Seguimiento de peso",
|
|
50902
|
-
"Calculadora de macros avanzada"
|
|
50903
|
-
]
|
|
50885
|
+
checkIcon: "ok"
|
|
50904
50886
|
},
|
|
50905
50887
|
free: {
|
|
50906
50888
|
class: "free",
|
|
50907
50889
|
iconClass: "free-icon",
|
|
50908
50890
|
icon: "sym_o_eco",
|
|
50909
50891
|
btnClass: "ghost",
|
|
50910
|
-
checkIcon: "off"
|
|
50911
|
-
subtitle: "Conceptos básicos para empezar.",
|
|
50912
|
-
btnText: "Comenzar Gratis",
|
|
50913
|
-
descriptions: [
|
|
50914
|
-
"Acceso a base de alimentos",
|
|
50915
|
-
"Registro diario de calorías",
|
|
50916
|
-
"3 recetas saludables al mes"
|
|
50917
|
-
]
|
|
50892
|
+
checkIcon: "off"
|
|
50918
50893
|
}
|
|
50919
50894
|
}, m = I(() => t.value || null), f = I(() => {
|
|
50920
|
-
var
|
|
50921
|
-
return ((y =
|
|
50922
|
-
}),
|
|
50923
|
-
|
|
50924
|
-
|
|
50895
|
+
var y;
|
|
50896
|
+
return ((y = t.value) == null ? void 0 : y.PROPS) || {};
|
|
50897
|
+
}), x = I(() => {
|
|
50898
|
+
var b;
|
|
50899
|
+
const y = (((b = f.value) == null ? void 0 : b.categoria) || "free").toLowerCase();
|
|
50900
|
+
return r[y] ?? r.free;
|
|
50925
50901
|
}), A = I(() => {
|
|
50926
|
-
var
|
|
50927
|
-
const
|
|
50928
|
-
TIPO_IVA: (
|
|
50929
|
-
PRECIO: (
|
|
50930
|
-
DESCUENTO: (
|
|
50902
|
+
var b, T, L;
|
|
50903
|
+
const y = new Ue.ProductPrice({
|
|
50904
|
+
TIPO_IVA: (b = m.value) == null ? void 0 : b.TIPO_IVA,
|
|
50905
|
+
PRECIO: (T = m.value) == null ? void 0 : T.PRECIO,
|
|
50906
|
+
DESCUENTO: (L = m.value) == null ? void 0 : L.DESCUENTO
|
|
50931
50907
|
});
|
|
50932
|
-
return Ue.toCurrency(
|
|
50908
|
+
return Ue.toCurrency(y.getTotalPrice(), c.priceSymbol || "EUR");
|
|
50933
50909
|
}), _ = I(() => {
|
|
50934
|
-
var
|
|
50935
|
-
return ((
|
|
50910
|
+
var y;
|
|
50911
|
+
return ((y = m.value) == null ? void 0 : y.NOMBRE) || "";
|
|
50936
50912
|
}), P = {
|
|
50937
50913
|
dias: ["día", "días"],
|
|
50938
50914
|
meses: ["mes", "meses"],
|
|
50939
50915
|
anios: ["año", "años"]
|
|
50940
|
-
}, w = (
|
|
50941
|
-
const
|
|
50942
|
-
if (!
|
|
50943
|
-
const [
|
|
50944
|
-
return `${
|
|
50916
|
+
}, w = (y) => {
|
|
50917
|
+
const b = y || "", [T, L] = b.split("_"), N = Number(T), k = P[L];
|
|
50918
|
+
if (!k) return b;
|
|
50919
|
+
const [D, M] = k;
|
|
50920
|
+
return `${N} ${N === 1 ? D : M}`;
|
|
50945
50921
|
}, S = I(() => {
|
|
50922
|
+
var y;
|
|
50923
|
+
return w((y = m.value) == null ? void 0 : y.PERIODO_COBRO);
|
|
50924
|
+
}), O = I(() => {
|
|
50946
50925
|
var b;
|
|
50947
|
-
|
|
50926
|
+
let y = ((b = f.value) == null ? void 0 : b.highlights) || [];
|
|
50927
|
+
return typeof y == "string" && (y = y.split(";")), y.map((T) => T.trim());
|
|
50948
50928
|
});
|
|
50949
|
-
return (
|
|
50929
|
+
return (y, b) => m.value ? (u(), ce(Ja, {
|
|
50950
50930
|
key: 0,
|
|
50951
|
-
loading:
|
|
50952
|
-
unelevated:
|
|
50953
|
-
"border-radius":
|
|
50954
|
-
hoverable:
|
|
50931
|
+
loading: y.fetching,
|
|
50932
|
+
unelevated: y.unelevated,
|
|
50933
|
+
"border-radius": y.borderRadius,
|
|
50934
|
+
hoverable: y.hoverable,
|
|
50955
50935
|
"no-padding": "",
|
|
50956
50936
|
style: se({ scale: c.scale ?? 1 }),
|
|
50957
50937
|
class: Fe(["subscription-card", { "active-card": c.activeCard }]),
|
|
50958
|
-
onClick:
|
|
50938
|
+
onClick: b[0] || (b[0] = (T) => l("on-event", {
|
|
50959
50939
|
code: "card_click",
|
|
50960
50940
|
payload: { product: m.value }
|
|
50961
50941
|
}))
|
|
50962
50942
|
}, {
|
|
50963
50943
|
default: ie(() => [
|
|
50964
50944
|
s("div", {
|
|
50965
|
-
class: Fe(["q-pa-md",
|
|
50945
|
+
class: Fe(["q-pa-md", x.value.class])
|
|
50966
50946
|
}, [
|
|
50967
|
-
f.value == "premium" ? (u(), g("div", y4, "★ Más popular")) : B("", !0),
|
|
50947
|
+
f.value.categoria == "premium" ? (u(), g("div", y4, " ★ Más popular ")) : B("", !0),
|
|
50968
50948
|
s("div", P4, [
|
|
50969
50949
|
s("div", {
|
|
50970
|
-
class: Fe(["q-pa-sm q-mr-md",
|
|
50950
|
+
class: Fe(["q-pa-sm q-mr-md", x.value.iconClass]),
|
|
50971
50951
|
style: { "border-radius": "8px" }
|
|
50972
50952
|
}, [
|
|
50973
50953
|
z(v(Ne), {
|
|
50974
|
-
name:
|
|
50954
|
+
name: x.value.icon,
|
|
50975
50955
|
size: "28px"
|
|
50976
50956
|
}, null, 8, ["name"])
|
|
50977
50957
|
], 2),
|
|
@@ -50981,26 +50961,26 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
50981
50961
|
ue(E(A.value) + " ", 1),
|
|
50982
50962
|
s("span", R4, "/ " + E(S.value), 1)
|
|
50983
50963
|
]),
|
|
50984
|
-
s("p", T4, E(
|
|
50964
|
+
s("p", T4, E(f.value.card_subtitle || ""), 1)
|
|
50985
50965
|
], 2),
|
|
50986
50966
|
s("div", S4, [
|
|
50987
50967
|
s("ul", L4, [
|
|
50988
|
-
(u(!0), g(oe, null, _e(
|
|
50989
|
-
class: Fe(
|
|
50990
|
-
key:
|
|
50991
|
-
}, E(
|
|
50968
|
+
(u(!0), g(oe, null, _e(O.value, (T) => (u(), g("li", {
|
|
50969
|
+
class: Fe(x.value.checkIcon),
|
|
50970
|
+
key: T
|
|
50971
|
+
}, E(T), 3))), 128))
|
|
50992
50972
|
])
|
|
50993
50973
|
]),
|
|
50994
|
-
|
|
50974
|
+
y.isPublic ? (u(), g("div", N4, [
|
|
50995
50975
|
s("button", {
|
|
50996
|
-
class: Fe(["btn card-action",
|
|
50997
|
-
}, E(
|
|
50976
|
+
class: Fe(["btn card-action", x.value.btnClass])
|
|
50977
|
+
}, E(f.value.card_cta_label || "Seleccionar Plan"), 3)
|
|
50998
50978
|
])) : B("", !0)
|
|
50999
50979
|
]),
|
|
51000
50980
|
_: 1
|
|
51001
50981
|
}, 8, ["loading", "unelevated", "border-radius", "hoverable", "style", "class"])) : B("", !0);
|
|
51002
50982
|
}
|
|
51003
|
-
}), hd = /* @__PURE__ */ xe(w4, [["__scopeId", "data-v-
|
|
50983
|
+
}), hd = /* @__PURE__ */ xe(w4, [["__scopeId", "data-v-312b2a71"]]), M4 = Object.freeze([
|
|
51004
50984
|
{
|
|
51005
50985
|
ID_PRODUCTO: 155,
|
|
51006
50986
|
COD_ART_MVX: "0000001",
|
|
@@ -52764,7 +52744,10 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
52764
52744
|
}), z4 = { class: "billing-toggle" }, k4 = { class: "switch" }, G4 = {
|
|
52765
52745
|
key: 0,
|
|
52766
52746
|
class: "badge"
|
|
52767
|
-
}, V4 = {
|
|
52747
|
+
}, V4 = {
|
|
52748
|
+
class: "row justify-center",
|
|
52749
|
+
style: { height: "100%" }
|
|
52750
|
+
}, j4 = /* @__PURE__ */ fe({
|
|
52768
52751
|
__name: "FDCSubscriptionCardList",
|
|
52769
52752
|
props: /* @__PURE__ */ ui({
|
|
52770
52753
|
isPublic: { type: Boolean },
|
|
@@ -52789,7 +52772,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
52789
52772
|
}),
|
|
52790
52773
|
emits: /* @__PURE__ */ ui(["on-event"], ["update:modelValue"]),
|
|
52791
52774
|
setup(o, { emit: d }) {
|
|
52792
|
-
const l = d, c = o, { data: t, bgColor: r, textColor: m } = Ge(c), f = sl(o, "modelValue"),
|
|
52775
|
+
const l = d, c = o, { data: t, bgColor: r, textColor: m } = Ge(c), f = sl(o, "modelValue"), x = (_) => {
|
|
52793
52776
|
const { code: P, payload: w } = _;
|
|
52794
52777
|
if (P === "card_click") {
|
|
52795
52778
|
const S = (w == null ? void 0 : w.data) || (w == null ? void 0 : w.product);
|
|
@@ -52803,7 +52786,7 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
52803
52786
|
code: "filter_change",
|
|
52804
52787
|
payload: {
|
|
52805
52788
|
byEqualCol: {
|
|
52806
|
-
"producto.
|
|
52789
|
+
"producto.PERIODO_COBRO": _ ? "1_anios" : "1_meses"
|
|
52807
52790
|
}
|
|
52808
52791
|
}
|
|
52809
52792
|
});
|
|
@@ -52832,23 +52815,24 @@ La instalación es sencilla y directa, permite fijarla a una base en la pared c
|
|
|
52832
52815
|
(u(!0), g(oe, null, _e(v(t) || [], (w, S) => (u(), g("div", {
|
|
52833
52816
|
key: S,
|
|
52834
52817
|
class: "col-md-3 col-12 q-pa-sm",
|
|
52835
|
-
style: { cursor: "pointer" }
|
|
52818
|
+
style: { height: "100%", cursor: "pointer" }
|
|
52836
52819
|
}, [
|
|
52837
52820
|
z(hd, {
|
|
52838
|
-
onOnEvent:
|
|
52821
|
+
onOnEvent: x,
|
|
52839
52822
|
data: w,
|
|
52840
52823
|
descriptionLines: _.descriptionLines,
|
|
52841
52824
|
priceSymbol: _.priceSymbol,
|
|
52842
52825
|
gamaProps: _.gamaProps,
|
|
52843
52826
|
activeCard: f.value === w.ID_PRODUCTO,
|
|
52844
52827
|
"bg-color": v(r),
|
|
52845
|
-
"text-color": v(m)
|
|
52828
|
+
"text-color": v(m),
|
|
52829
|
+
style: { height: "100%" }
|
|
52846
52830
|
}, null, 8, ["data", "descriptionLines", "priceSymbol", "gamaProps", "activeCard", "bg-color", "text-color"])
|
|
52847
52831
|
]))), 128))
|
|
52848
52832
|
])
|
|
52849
52833
|
], 64));
|
|
52850
52834
|
}
|
|
52851
|
-
}), q4 = /* @__PURE__ */ xe(j4, [["__scopeId", "data-v-
|
|
52835
|
+
}), q4 = /* @__PURE__ */ xe(j4, [["__scopeId", "data-v-10fdd3c2"]]), $4 = Object.freeze([
|
|
52852
52836
|
[
|
|
52853
52837
|
{
|
|
52854
52838
|
ID_PRODUCTO: 155,
|