@win2win/shared-ui 0.3.124 → 0.3.126
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/style.css +1 -1
- package/dist/w2w-shared-ui.js +256 -256
- package/dist/w2w-shared-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/w2w-shared-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as le, toRefs as qe, onMounted as Nu, onUnmounted as Av, createBlock as te, openBlock as h, unref as E, withCtx as ne, renderSlot as ft, createCommentVNode as V, createTextVNode as ue, toDisplayString as k, Transition as Cv, withDirectives as hi, createElementVNode as L, normalizeClass as Ea, createVNode as H, createElementBlock as
|
|
1
|
+
import { defineComponent as le, toRefs as qe, onMounted as Nu, onUnmounted as Av, createBlock as te, openBlock as h, unref as E, withCtx as ne, renderSlot as ft, createCommentVNode as V, createTextVNode as ue, toDisplayString as k, Transition as Cv, withDirectives as hi, createElementVNode as L, normalizeClass as Ea, createVNode as H, createElementBlock as R, vShow as Ev, ref as Pe, computed as F, normalizeStyle as _e, createSlots as Su, Fragment as ge, renderList as Ce, withModifiers as mn, resolveComponent as gt, resolveDirective as go, resolveDynamicComponent as vo, watch as ga, inject as wa, normalizeProps as xu, guardReactiveProps as wu, mergeModels as Bu, useModel as co, provide as mt, isRef as po, reactive as Pv } from "vue";
|
|
2
2
|
import { QBtn as Ye, QTooltip as nt, QSpinner as Dv, QIcon as Me, QSpinnerHourglass as Tv, QCarousel as Rv, QCarouselSlide as yv, QCarouselControl as Lv, QImg as Oi, QBadge as Mu, QMenu as Nv, QList as Sv, QItem as xv, QItemSection as au, QSkeleton as wv, QRadio as tu, useQuasar as Uu, QChip as Ii, QCardSection as Ai, Screen as Fu, QInput as nu } from "quasar";
|
|
3
3
|
import { cloneDeep as bo, mapKeys as it, upperFirst as fn, snakeCase as wt, isNil as mi, uniqueId as ho, omit as Oo, isArray as fi, mapValues as Bv } from "lodash-es";
|
|
4
4
|
import { z as X } from "zod";
|
|
@@ -72,7 +72,7 @@ const Bt = /* @__PURE__ */ le({
|
|
|
72
72
|
size: "40px",
|
|
73
73
|
color: "black"
|
|
74
74
|
}),
|
|
75
|
-
_.text ? (h(),
|
|
75
|
+
_.text ? (h(), R("div", Gv, k(_.text), 1)) : V("", !0)
|
|
76
76
|
])
|
|
77
77
|
], 2), [
|
|
78
78
|
[Ev, _.loading]
|
|
@@ -111,7 +111,7 @@ const Bt = /* @__PURE__ */ le({
|
|
|
111
111
|
},
|
|
112
112
|
setup(l) {
|
|
113
113
|
const _ = l, i = Pe(!_.expandible), d = F(() => String(_.title || ""));
|
|
114
|
-
return (r, s) => (h(),
|
|
114
|
+
return (r, s) => (h(), R("div", {
|
|
115
115
|
class: Ea([
|
|
116
116
|
"win-card field-label",
|
|
117
117
|
{
|
|
@@ -126,7 +126,7 @@ const Bt = /* @__PURE__ */ le({
|
|
|
126
126
|
style: _e({ borderRadius: r.borderRadius || "8px" })
|
|
127
127
|
}, [
|
|
128
128
|
H(ku, { loading: r.loading }, null, 8, ["loading"]),
|
|
129
|
-
d.value ? (h(),
|
|
129
|
+
d.value ? (h(), R("div", Vv, [
|
|
130
130
|
L("div", {
|
|
131
131
|
class: Ea(["text-accent-1 text-weight-bold", r.titleClass])
|
|
132
132
|
}, k(d.value), 3),
|
|
@@ -136,9 +136,9 @@ const Bt = /* @__PURE__ */ le({
|
|
|
136
136
|
L("div", Hv, [
|
|
137
137
|
ft(r.$slots, "actions", {}, void 0, !0)
|
|
138
138
|
]),
|
|
139
|
-
i.value ? (h(),
|
|
139
|
+
i.value ? (h(), R("div", $v, [
|
|
140
140
|
ft(r.$slots, "default", {}, void 0, !0),
|
|
141
|
-
r.$slots.footer ? (h(),
|
|
141
|
+
r.$slots.footer ? (h(), R("div", qv, [
|
|
142
142
|
ft(r.$slots, "footer", {}, void 0, !0)
|
|
143
143
|
])) : V("", !0)
|
|
144
144
|
])) : V("", !0)
|
|
@@ -153,7 +153,7 @@ const Bt = /* @__PURE__ */ le({
|
|
|
153
153
|
text: { default: "Generación de imagen fallida" }
|
|
154
154
|
},
|
|
155
155
|
setup(l) {
|
|
156
|
-
return (_, i) => (h(),
|
|
156
|
+
return (_, i) => (h(), R("div", Kv, [
|
|
157
157
|
L("div", Wv, [
|
|
158
158
|
H(E(Me), {
|
|
159
159
|
size: "xl",
|
|
@@ -172,7 +172,7 @@ const Bt = /* @__PURE__ */ le({
|
|
|
172
172
|
text: { default: "Generando contenido..." }
|
|
173
173
|
},
|
|
174
174
|
setup(l) {
|
|
175
|
-
return (_, i) => (h(),
|
|
175
|
+
return (_, i) => (h(), R("div", Qv, [
|
|
176
176
|
L("div", Xv, [
|
|
177
177
|
H(E(Tv), {
|
|
178
178
|
color: "primary",
|
|
@@ -217,14 +217,14 @@ const Bt = /* @__PURE__ */ le({
|
|
|
217
217
|
style: _e({ borderRadius: c.borderRadius })
|
|
218
218
|
}, Su({
|
|
219
219
|
default: ne(() => [
|
|
220
|
-
(h(!0),
|
|
220
|
+
(h(!0), R(ge, null, Ce(c.items, (m, T) => (h(), te(E(yv), {
|
|
221
221
|
key: T,
|
|
222
222
|
name: T + 1,
|
|
223
223
|
style: { overflow: "hidden", "background-color": "white", padding: "0" },
|
|
224
224
|
"img-src": _(m)
|
|
225
225
|
}, {
|
|
226
226
|
default: ne(() => [
|
|
227
|
-
m.estado === 0 ? (h(), te(Yv, { key: 0 })) : m.estado === 2 ? (h(), te(eb, { key: 1 })) : m.tipo === "video" ? (h(),
|
|
227
|
+
m.estado === 0 ? (h(), te(Yv, { key: 0 })) : m.estado === 2 ? (h(), te(eb, { key: 1 })) : m.tipo === "video" ? (h(), R("video", {
|
|
228
228
|
key: 2,
|
|
229
229
|
src: m.location,
|
|
230
230
|
autoplay: "",
|
|
@@ -268,7 +268,7 @@ const Bt = /* @__PURE__ */ le({
|
|
|
268
268
|
]),
|
|
269
269
|
key: "0"
|
|
270
270
|
} : void 0
|
|
271
|
-
]), 1032, ["autoplay", "height", "modelValue", "fullscreen", "style"])) : (h(),
|
|
271
|
+
]), 1032, ["autoplay", "height", "modelValue", "fullscreen", "style"])) : (h(), R("div", tb, [
|
|
272
272
|
H(E(Oi), {
|
|
273
273
|
style: _e(`height: ${c.height || "400px"}`),
|
|
274
274
|
src: "placeholder.webp"
|
|
@@ -1538,10 +1538,10 @@ var Hu = {}, $u = {}, gi = { exports: {} };
|
|
|
1538
1538
|
gi.exports;
|
|
1539
1539
|
(function(l, _) {
|
|
1540
1540
|
(function() {
|
|
1541
|
-
var i, d = "4.17.21", r = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", f = "Invalid `variable` option passed into `_.template`", v = "__lodash_hash_undefined__", A = 500, m = "__lodash_placeholder__", T = 1, S = 2, N = 4, b = 1, C = 2, O = 1,
|
|
1541
|
+
var i, d = "4.17.21", r = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", f = "Invalid `variable` option passed into `_.template`", v = "__lodash_hash_undefined__", A = 500, m = "__lodash_placeholder__", T = 1, S = 2, N = 4, b = 1, C = 2, O = 1, y = 2, $ = 4, G = 8, q = 16, B = 32, j = 64, Y = 128, ce = 256, he = 512, Ue = 30, Qe = "...", ia = 800, Pa = 16, va = 1, Da = 2, hn = 3, Ta = 1 / 0, la = 9007199254740991, On = 17976931348623157e292, In = NaN, Ra = 4294967295, xc = Ra - 1, wc = Ra >>> 1, Bc = [
|
|
1542
1542
|
["ary", Y],
|
|
1543
1543
|
["bind", O],
|
|
1544
|
-
["bindKey",
|
|
1544
|
+
["bindKey", y],
|
|
1545
1545
|
["curry", G],
|
|
1546
1546
|
["curryRight", q],
|
|
1547
1547
|
["flip", he],
|
|
@@ -3190,7 +3190,7 @@ gi.exports;
|
|
|
3190
3190
|
});
|
|
3191
3191
|
}
|
|
3192
3192
|
function Jn(e, a, t, n, o, p, g, I, D, M) {
|
|
3193
|
-
var U = a & Y, z = a & O, K = a &
|
|
3193
|
+
var U = a & Y, z = a & O, K = a & y, Q = a & (G | q), ee = a & he, se = K ? i : cn(e);
|
|
3194
3194
|
function ae() {
|
|
3195
3195
|
for (var pe = arguments.length, me = x(pe), ta = pe; ta--; )
|
|
3196
3196
|
me[ta] = arguments[ta];
|
|
@@ -3310,7 +3310,7 @@ gi.exports;
|
|
|
3310
3310
|
};
|
|
3311
3311
|
}
|
|
3312
3312
|
function za(e, a, t, n, o, p, g, I) {
|
|
3313
|
-
var D = a &
|
|
3313
|
+
var D = a & y;
|
|
3314
3314
|
if (!D && typeof e != "function")
|
|
3315
3315
|
throw new sa(c);
|
|
3316
3316
|
var M = n ? n.length : 0;
|
|
@@ -3661,7 +3661,7 @@ gi.exports;
|
|
|
3661
3661
|
return a;
|
|
3662
3662
|
}
|
|
3663
3663
|
function lf(e, a) {
|
|
3664
|
-
var t = e[1], n = a[1], o = t | n, p = o < (O |
|
|
3664
|
+
var t = e[1], n = a[1], o = t | n, p = o < (O | y | Y), g = n == Y && t == G || n == Y && t == ce && e[7].length <= a[8] || n == (Y | ce) && a[7].length <= a[8] && t == G;
|
|
3665
3665
|
if (!(p || g))
|
|
3666
3666
|
return e;
|
|
3667
3667
|
n & O && (e[2] = a[2], o |= t & O ? 0 : $);
|
|
@@ -4229,7 +4229,7 @@ gi.exports;
|
|
|
4229
4229
|
}
|
|
4230
4230
|
return za(e, n, a, t, o);
|
|
4231
4231
|
}), Ss = de(function(e, a, t) {
|
|
4232
|
-
var n = O |
|
|
4232
|
+
var n = O | y;
|
|
4233
4233
|
if (t.length) {
|
|
4234
4234
|
var o = Ka(t, Nt(Ss));
|
|
4235
4235
|
n |= B;
|
|
@@ -5189,7 +5189,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5189
5189
|
var n = t.name + "";
|
|
5190
5190
|
Ie.call(Tt, n) || (Tt[n] = []), Tt[n].push({ name: a, func: t });
|
|
5191
5191
|
}
|
|
5192
|
-
}), Tt[Jn(i,
|
|
5192
|
+
}), Tt[Jn(i, y).name] = [{
|
|
5193
5193
|
name: "wrapper",
|
|
5194
5194
|
func: i
|
|
5195
5195
|
}], fe.prototype.clone = wp, fe.prototype.reverse = Bp, fe.prototype.value = Mp, u.prototype.at = pm, u.prototype.chain = _m, u.prototype.commit = fm, u.prototype.next = mm, u.prototype.plant = vm, u.prototype.reverse = bm, u.prototype.toJSON = u.prototype.valueOf = u.prototype.value = hm, u.prototype.first = u.prototype.head, Jt && (u.prototype[Jt] = gm), u;
|
|
@@ -5562,42 +5562,42 @@ function nb(l) {
|
|
|
5562
5562
|
(function(l) {
|
|
5563
5563
|
Object.defineProperty(l, "__esModule", { value: !0 }), l.upperSnakeizeObject = l.upperSnakeKeys = l.upperSnakeCase = void 0, l.deserialize = d, l.deserializeAndRun = r, l.deserializeWithContext = s, l.deserializeWithContextAndRun = c, l.tryToDeserialize = f, l.tryToDeserializeAndRun = v, l.toCurrency = A, l.mergeObjects = m, l.capitalize = S, l.formatContactName = N;
|
|
5564
5564
|
const _ = qu, i = Si;
|
|
5565
|
-
function d(
|
|
5565
|
+
function d(y, $) {
|
|
5566
5566
|
const { context: G = {}, run: q = !1, useInvisibleContext: B = !1 } = $ || {};
|
|
5567
|
-
if (!
|
|
5567
|
+
if (!y || typeof y != "string")
|
|
5568
5568
|
return q ? null : () => null;
|
|
5569
5569
|
const j = (Y) => JSON.stringify(Y || {}) === "{}";
|
|
5570
5570
|
try {
|
|
5571
|
-
const Y =
|
|
5571
|
+
const Y = y.replace(/\/\/.*$/gm, "").trim(), he = new Function("context", `return (...args) => { with (context) { return (${Y})(${B || j(G) ? "" : "context,"} ...args) } }`)(G);
|
|
5572
5572
|
return q ? he() : he;
|
|
5573
5573
|
} catch (Y) {
|
|
5574
|
-
return console.log("Error deserializing function:" +
|
|
5574
|
+
return console.log("Error deserializing function:" + y, { options: $ }), console.log(Y), q ? null : () => null;
|
|
5575
5575
|
}
|
|
5576
5576
|
}
|
|
5577
|
-
function r(
|
|
5578
|
-
return d(
|
|
5577
|
+
function r(y) {
|
|
5578
|
+
return d(y, { run: !0 });
|
|
5579
5579
|
}
|
|
5580
|
-
function s(
|
|
5581
|
-
return d(
|
|
5580
|
+
function s(y, $ = {}) {
|
|
5581
|
+
return d(y, {
|
|
5582
5582
|
context: $,
|
|
5583
5583
|
useInvisibleContext: !0,
|
|
5584
5584
|
run: !1
|
|
5585
5585
|
});
|
|
5586
5586
|
}
|
|
5587
|
-
function c(
|
|
5588
|
-
return d(
|
|
5587
|
+
function c(y, $ = {}) {
|
|
5588
|
+
return d(y, {
|
|
5589
5589
|
context: $,
|
|
5590
5590
|
useInvisibleContext: !0,
|
|
5591
5591
|
run: !0
|
|
5592
5592
|
});
|
|
5593
5593
|
}
|
|
5594
|
-
function f(
|
|
5595
|
-
return (0, i.isSerializedFunction)(
|
|
5594
|
+
function f(y, $ = {}, G = null) {
|
|
5595
|
+
return (0, i.isSerializedFunction)(y) ? s(y, $) : G;
|
|
5596
5596
|
}
|
|
5597
|
-
function v(
|
|
5598
|
-
return (0, i.isSerializedFunction)(
|
|
5597
|
+
function v(y, $ = {}, G = null) {
|
|
5598
|
+
return (0, i.isSerializedFunction)(y) ? c(y, $) : G;
|
|
5599
5599
|
}
|
|
5600
|
-
function A(
|
|
5600
|
+
function A(y, $ = "EUR", G) {
|
|
5601
5601
|
const { decimals: q = 2 } = G || {}, B = {
|
|
5602
5602
|
EUR: "de-DE",
|
|
5603
5603
|
USD: "en-US",
|
|
@@ -5608,27 +5608,27 @@ function nb(l) {
|
|
|
5608
5608
|
currency: $,
|
|
5609
5609
|
minimumFractionDigits: q,
|
|
5610
5610
|
maximumFractionDigits: q
|
|
5611
|
-
}).format(
|
|
5611
|
+
}).format(y);
|
|
5612
5612
|
}
|
|
5613
|
-
function m(...
|
|
5614
|
-
const $ =
|
|
5615
|
-
return
|
|
5613
|
+
function m(...y) {
|
|
5614
|
+
const $ = y[y.length - 1], G = $ && !Array.isArray($) && typeof $ == "object" && "emptyValues" in $ ? y.pop() : void 0, q = [void 0, ...(G == null ? void 0 : G.emptyValues) || []];
|
|
5615
|
+
return y.filter(Boolean).reduce((B, j) => (0, _.mergeWith)(B, j, (Y, ce) => q.some((he) => ce === he) ? Y : (0, _.isArray)(ce) ? ce : (0, _.isObject)(ce) && (0, _.isObject)(Y) ? m(Y, ce, { emptyValues: q }) : ce), {});
|
|
5616
5616
|
}
|
|
5617
|
-
const T = (
|
|
5618
|
-
function S(
|
|
5619
|
-
return typeof
|
|
5617
|
+
const T = (y) => y.charAt(0).toUpperCase() + y.slice(1);
|
|
5618
|
+
function S(y, $ = !1) {
|
|
5619
|
+
return typeof y != "string" ? y : (y = y.toLowerCase().replaceAll("_", " ").trim(), $ ? y.split(" ").map(T).join(" ") : T(y));
|
|
5620
5620
|
}
|
|
5621
|
-
function N(
|
|
5622
|
-
if (!
|
|
5621
|
+
function N(y) {
|
|
5622
|
+
if (!y)
|
|
5623
5623
|
return "";
|
|
5624
|
-
const { nombre: $, apellido: G, apellido2: q } = (0, _.mapKeys)(
|
|
5624
|
+
const { nombre: $, apellido: G, apellido2: q } = (0, _.mapKeys)(y, (B, j) => j.startsWith("CONTACTO_") ? j.replace("CONTACTO_", "").toLowerCase() : j.toLowerCase());
|
|
5625
5625
|
return S([$, G, q].map((B) => String(B || "").trim()).filter(Boolean).join(" "), !0).trim();
|
|
5626
5626
|
}
|
|
5627
|
-
const b = (
|
|
5627
|
+
const b = (y) => (0, _.snakeCase)(y).toUpperCase();
|
|
5628
5628
|
l.upperSnakeCase = b;
|
|
5629
|
-
const C = (
|
|
5629
|
+
const C = (y) => (0, _.mapKeys)(y, ($, G) => (0, l.upperSnakeCase)(G));
|
|
5630
5630
|
l.upperSnakeKeys = C;
|
|
5631
|
-
const O = (
|
|
5631
|
+
const O = (y) => (0, _.mapKeys)(y, ($, G) => (0, l.upperSnakeCase)(G));
|
|
5632
5632
|
l.upperSnakeizeObject = O;
|
|
5633
5633
|
})(Zu);
|
|
5634
5634
|
var xi = {};
|
|
@@ -6251,9 +6251,9 @@ var rb = _o.exports, pc = {};
|
|
|
6251
6251
|
var C = Object(this), O = C.length >>> 0;
|
|
6252
6252
|
if (typeof b != "function")
|
|
6253
6253
|
throw new TypeError();
|
|
6254
|
-
for (var
|
|
6255
|
-
G in C && (
|
|
6256
|
-
return
|
|
6254
|
+
for (var y = new Array(O), $ = arguments.length >= 2 ? arguments[1] : void 0, G = 0; G < O; G++)
|
|
6255
|
+
G in C && (y[G] = b.call($, C[G], G, C));
|
|
6256
|
+
return y;
|
|
6257
6257
|
});
|
|
6258
6258
|
var i = 65, d = 90;
|
|
6259
6259
|
function r(b) {
|
|
@@ -6269,39 +6269,39 @@ var rb = _o.exports, pc = {};
|
|
|
6269
6269
|
}
|
|
6270
6270
|
function c(b) {
|
|
6271
6271
|
var C = b.match(/(.{3})/g).map(function(O) {
|
|
6272
|
-
var
|
|
6272
|
+
var y, $ = O.slice(0, 1), G = parseInt(O.slice(1), 10);
|
|
6273
6273
|
switch ($) {
|
|
6274
6274
|
case "A":
|
|
6275
|
-
|
|
6275
|
+
y = "0-9A-Za-z";
|
|
6276
6276
|
break;
|
|
6277
6277
|
case "B":
|
|
6278
|
-
|
|
6278
|
+
y = "0-9A-Z";
|
|
6279
6279
|
break;
|
|
6280
6280
|
case "C":
|
|
6281
|
-
|
|
6281
|
+
y = "A-Za-z";
|
|
6282
6282
|
break;
|
|
6283
6283
|
case "F":
|
|
6284
|
-
|
|
6284
|
+
y = "0-9";
|
|
6285
6285
|
break;
|
|
6286
6286
|
case "L":
|
|
6287
|
-
|
|
6287
|
+
y = "a-z";
|
|
6288
6288
|
break;
|
|
6289
6289
|
case "U":
|
|
6290
|
-
|
|
6290
|
+
y = "A-Z";
|
|
6291
6291
|
break;
|
|
6292
6292
|
case "W":
|
|
6293
|
-
|
|
6293
|
+
y = "0-9a-z";
|
|
6294
6294
|
break;
|
|
6295
6295
|
}
|
|
6296
|
-
return "([" +
|
|
6296
|
+
return "([" + y + "]{" + G + "})";
|
|
6297
6297
|
});
|
|
6298
6298
|
return new RegExp("^" + C.join("") + "$");
|
|
6299
6299
|
}
|
|
6300
6300
|
function f(b) {
|
|
6301
6301
|
return b.replace(T, "").toUpperCase();
|
|
6302
6302
|
}
|
|
6303
|
-
function v(b, C, O,
|
|
6304
|
-
this.countryCode = b, this.length = C, this.structure = O, this.example =
|
|
6303
|
+
function v(b, C, O, y) {
|
|
6304
|
+
this.countryCode = b, this.length = C, this.structure = O, this.example = y;
|
|
6305
6305
|
}
|
|
6306
6306
|
v.prototype._regex = function() {
|
|
6307
6307
|
return this._cachedRegex || (this._cachedRegex = c(this.structure));
|
|
@@ -6552,8 +6552,8 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6552
6552
|
name: (_.type === "countries", i[r].nativeName)
|
|
6553
6553
|
})) || []
|
|
6554
6554
|
);
|
|
6555
|
-
return (r, s) => (h(),
|
|
6556
|
-
(h(!0),
|
|
6555
|
+
return (r, s) => (h(), R("div", null, [
|
|
6556
|
+
(h(!0), R(ge, null, Ce(d.value, (c, f) => (h(), R("span", {
|
|
6557
6557
|
key: f,
|
|
6558
6558
|
style: { "margin-right": "6px" }
|
|
6559
6559
|
}, [
|
|
@@ -6676,7 +6676,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6676
6676
|
var d;
|
|
6677
6677
|
return (d = _.color) != null && d.startsWith("#") ? { background: _.color } : {};
|
|
6678
6678
|
});
|
|
6679
|
-
return (d, r) => (h(),
|
|
6679
|
+
return (d, r) => (h(), R("div", {
|
|
6680
6680
|
class: Ea([d.color, "indicator-icon"]),
|
|
6681
6681
|
style: _e(i.value)
|
|
6682
6682
|
}, null, 6));
|
|
@@ -6718,7 +6718,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6718
6718
|
default: ne(() => [
|
|
6719
6719
|
H(E(Sv), { style: { "min-width": "150px" } }, {
|
|
6720
6720
|
default: ne(() => [
|
|
6721
|
-
(h(!0),
|
|
6721
|
+
(h(!0), R(ge, null, Ce(r.value, (m) => hi((h(), te(E(xv), {
|
|
6722
6722
|
clickable: "",
|
|
6723
6723
|
onClick: (T) => m.onClick ? m.onClick() : i("onItemClick", m),
|
|
6724
6724
|
disable: m.disabled
|
|
@@ -6734,7 +6734,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6734
6734
|
key: 0,
|
|
6735
6735
|
name: m.icon,
|
|
6736
6736
|
size: "xs"
|
|
6737
|
-
}, null, 8, ["name"])) : m.color ? (h(),
|
|
6737
|
+
}, null, 8, ["name"])) : m.color ? (h(), R("div", pb, [
|
|
6738
6738
|
H(v, {
|
|
6739
6739
|
color: m.color
|
|
6740
6740
|
}, null, 8, ["color"])
|
|
@@ -6791,7 +6791,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6791
6791
|
return c.value ?? (((T = v.value) == null ? void 0 : T.color) || r.value[Number(i.value)]);
|
|
6792
6792
|
}
|
|
6793
6793
|
);
|
|
6794
|
-
return (T, S) => (h(),
|
|
6794
|
+
return (T, S) => (h(), R("div", fb, [
|
|
6795
6795
|
H(Ec, { color: m.value }, null, 8, ["color"]),
|
|
6796
6796
|
L("span", {
|
|
6797
6797
|
style: _e(T.sm ? "font-size: 12px" : ""),
|
|
@@ -6808,7 +6808,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6808
6808
|
const _ = Pe(null), i = l;
|
|
6809
6809
|
return ga([() => i.section, _], ([d, r]) => {
|
|
6810
6810
|
d && r && r.appendChild(d);
|
|
6811
|
-
}), (d, r) => (h(),
|
|
6811
|
+
}), (d, r) => (h(), R("div", {
|
|
6812
6812
|
ref_key: "container",
|
|
6813
6813
|
ref: _
|
|
6814
6814
|
}, null, 512));
|
|
@@ -6863,7 +6863,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6863
6863
|
};
|
|
6864
6864
|
return (m, T) => {
|
|
6865
6865
|
const S = gt("VueSignaturePad"), N = gt("client-only");
|
|
6866
|
-
return h(),
|
|
6866
|
+
return h(), R("div", {
|
|
6867
6867
|
class: "pdf-container",
|
|
6868
6868
|
onPointermove: A
|
|
6869
6869
|
}, [
|
|
@@ -6874,12 +6874,12 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6874
6874
|
rowGap: 0,
|
|
6875
6875
|
ref: "pdfRef",
|
|
6876
6876
|
onOnPdfInit: v
|
|
6877
|
-
}, null, 40, ["src"])) : (h(),
|
|
6877
|
+
}, null, 40, ["src"])) : (h(), R("div", vb, [
|
|
6878
6878
|
H(E(wv), { height: "500px" })
|
|
6879
6879
|
])),
|
|
6880
6880
|
H(N, null, {
|
|
6881
6881
|
default: ne(() => [
|
|
6882
|
-
s.value && _.value ? (h(),
|
|
6882
|
+
s.value && _.value ? (h(), R("div", {
|
|
6883
6883
|
key: 0,
|
|
6884
6884
|
class: "signature",
|
|
6885
6885
|
style: _e({
|
|
@@ -6897,7 +6897,7 @@ const sb = ["src", "alt"], ub = /* @__PURE__ */ le({
|
|
|
6897
6897
|
]),
|
|
6898
6898
|
_: 1
|
|
6899
6899
|
}),
|
|
6900
|
-
_.value ? (h(),
|
|
6900
|
+
_.value ? (h(), R("div", bb, [
|
|
6901
6901
|
H(E(Ye), {
|
|
6902
6902
|
size: "lg",
|
|
6903
6903
|
round: "",
|
|
@@ -6951,15 +6951,15 @@ const Ab = { class: "card" }, Cb = {
|
|
|
6951
6951
|
}).format(s) : c === "percentage" ? `${s} %` : s : s;
|
|
6952
6952
|
}
|
|
6953
6953
|
const r = wa("editable");
|
|
6954
|
-
return (s, c) => (h(),
|
|
6955
|
-
s.card.title || s.card.subtitle ? (h(),
|
|
6956
|
-
s.card.title ? (h(),
|
|
6954
|
+
return (s, c) => (h(), R("div", Ab, [
|
|
6955
|
+
s.card.title || s.card.subtitle ? (h(), R("div", Cb, [
|
|
6956
|
+
s.card.title ? (h(), R("h3", {
|
|
6957
6957
|
key: 0,
|
|
6958
6958
|
contenteditable: E(r)
|
|
6959
6959
|
}, k(s.card.title), 9, Eb)) : V("", !0)
|
|
6960
6960
|
])) : V("", !0),
|
|
6961
6961
|
L("div", Pb, [
|
|
6962
|
-
(h(!0),
|
|
6962
|
+
(h(!0), R(ge, null, Ce(s.card.fields, (f, v) => (h(), R("div", {
|
|
6963
6963
|
key: v,
|
|
6964
6964
|
class: "card-field"
|
|
6965
6965
|
}, [
|
|
@@ -7000,11 +7000,11 @@ const xb = /* @__PURE__ */ le({
|
|
|
7000
7000
|
const _ = l, { data: i } = Gi(_.id, {});
|
|
7001
7001
|
return (d, r) => {
|
|
7002
7002
|
var s;
|
|
7003
|
-
return h(),
|
|
7003
|
+
return h(), R("div", {
|
|
7004
7004
|
class: "card-section",
|
|
7005
7005
|
style: _e(((s = d.styles) == null ? void 0 : s.cssRaw) || "")
|
|
7006
7006
|
}, [
|
|
7007
|
-
(h(!0),
|
|
7007
|
+
(h(!0), R(ge, null, Ce(d.content.cards, (c, f) => (h(), te(Sb, {
|
|
7008
7008
|
key: f,
|
|
7009
7009
|
card: c,
|
|
7010
7010
|
data: E(i)
|
|
@@ -7025,7 +7025,7 @@ const xb = /* @__PURE__ */ le({
|
|
|
7025
7025
|
},
|
|
7026
7026
|
setup(l) {
|
|
7027
7027
|
const _ = l, { content: i, styles: d } = qe(_);
|
|
7028
|
-
return Gi(_.id, {}), (r, s) => (h(),
|
|
7028
|
+
return Gi(_.id, {}), (r, s) => (h(), R("div", {
|
|
7029
7029
|
style: _e({ justifyContent: E(i).align }),
|
|
7030
7030
|
class: "img-container"
|
|
7031
7031
|
}, [
|
|
@@ -7058,7 +7058,7 @@ const xb = /* @__PURE__ */ le({
|
|
|
7058
7058
|
[i.id]: d.value
|
|
7059
7059
|
}
|
|
7060
7060
|
};
|
|
7061
|
-
}), (r, s) => (h(),
|
|
7061
|
+
}), (r, s) => (h(), R("div", Vb, [
|
|
7062
7062
|
L("div", Hb, [
|
|
7063
7063
|
H(E(tu), {
|
|
7064
7064
|
modelValue: d.value,
|
|
@@ -7100,8 +7100,8 @@ const xb = /* @__PURE__ */ le({
|
|
|
7100
7100
|
var C;
|
|
7101
7101
|
(C = s.value) == null || C.clearSignature(), b(!1);
|
|
7102
7102
|
}, m = _, T = () => {
|
|
7103
|
-
var
|
|
7104
|
-
const { isEmpty: C, data: O } = (
|
|
7103
|
+
var y;
|
|
7104
|
+
const { isEmpty: C, data: O } = (y = s.value) == null ? void 0 : y.saveSignature();
|
|
7105
7105
|
C || (c.value = O, f.value = !1, b(!0), m("save"));
|
|
7106
7106
|
}, S = () => {
|
|
7107
7107
|
f.value = !0, b(!1), m("edit");
|
|
@@ -7119,14 +7119,14 @@ const xb = /* @__PURE__ */ le({
|
|
|
7119
7119
|
};
|
|
7120
7120
|
};
|
|
7121
7121
|
return (C, O) => {
|
|
7122
|
-
const
|
|
7123
|
-
return h(),
|
|
7124
|
-
r.value ? (h(),
|
|
7125
|
-
f.value ? (h(),
|
|
7122
|
+
const y = gt("VueSignaturePad"), $ = gt("client-only");
|
|
7123
|
+
return h(), R("div", jb, [
|
|
7124
|
+
r.value ? (h(), R("div", Kb, [
|
|
7125
|
+
f.value ? (h(), R("div", Wb, [
|
|
7126
7126
|
H($, null, {
|
|
7127
7127
|
default: ne(() => [
|
|
7128
7128
|
L("div", Zb, [
|
|
7129
|
-
H(
|
|
7129
|
+
H(y, {
|
|
7130
7130
|
width: E(v).lt.md ? "100vw" : "auto",
|
|
7131
7131
|
height: "180px",
|
|
7132
7132
|
ref_key: "signaturePad",
|
|
@@ -7168,7 +7168,7 @@ const xb = /* @__PURE__ */ le({
|
|
|
7168
7168
|
_: 1
|
|
7169
7169
|
})
|
|
7170
7170
|
])
|
|
7171
|
-
])) : (h(),
|
|
7171
|
+
])) : (h(), R("div", Qb, [
|
|
7172
7172
|
L("img", {
|
|
7173
7173
|
src: c.value,
|
|
7174
7174
|
height: "140"
|
|
@@ -7182,7 +7182,7 @@ const xb = /* @__PURE__ */ le({
|
|
|
7182
7182
|
})
|
|
7183
7183
|
])
|
|
7184
7184
|
]))
|
|
7185
|
-
])) : (h(),
|
|
7185
|
+
])) : (h(), R("div", eh, "[FIRMA]"))
|
|
7186
7186
|
]);
|
|
7187
7187
|
};
|
|
7188
7188
|
}
|
|
@@ -7197,13 +7197,13 @@ const xb = /* @__PURE__ */ le({
|
|
|
7197
7197
|
const _ = l, { columns: i } = qe(_.content), { data: d } = Gi(_.id, []), r = F(() => [...d.value[_.content.rowsKey] || []]), s = wa("editable");
|
|
7198
7198
|
return (c, f) => {
|
|
7199
7199
|
var v;
|
|
7200
|
-
return h(),
|
|
7200
|
+
return h(), R("table", {
|
|
7201
7201
|
style: _e("width: 100%;" + ((v = c.styles) == null ? void 0 : v.cssRaw) || ""),
|
|
7202
7202
|
class: "table-section"
|
|
7203
7203
|
}, [
|
|
7204
7204
|
L("thead", null, [
|
|
7205
7205
|
L("tr", null, [
|
|
7206
|
-
(h(!0),
|
|
7206
|
+
(h(!0), R(ge, null, Ce(E(i), (A) => (h(), R("th", {
|
|
7207
7207
|
key: A.key,
|
|
7208
7208
|
style: _e({ textAlign: A.align || "left" }),
|
|
7209
7209
|
contenteditable: E(s)
|
|
@@ -7211,13 +7211,13 @@ const xb = /* @__PURE__ */ le({
|
|
|
7211
7211
|
])
|
|
7212
7212
|
]),
|
|
7213
7213
|
L("tbody", null, [
|
|
7214
|
-
(h(!0),
|
|
7214
|
+
(h(!0), R(ge, null, Ce(r.value, (A, m) => (h(), R("tr", {
|
|
7215
7215
|
key: m,
|
|
7216
7216
|
style: _e({
|
|
7217
7217
|
backgroundColor: m % 2 === 0 ? lh : "transparent"
|
|
7218
7218
|
})
|
|
7219
7219
|
}, [
|
|
7220
|
-
(h(!0),
|
|
7220
|
+
(h(!0), R(ge, null, Ce(E(i), (T) => (h(), R("td", {
|
|
7221
7221
|
key: T.key,
|
|
7222
7222
|
style: _e({
|
|
7223
7223
|
textAlign: T.align || "left"
|
|
@@ -7255,8 +7255,8 @@ const xb = /* @__PURE__ */ le({
|
|
|
7255
7255
|
return f(i.value, T);
|
|
7256
7256
|
const b = {};
|
|
7257
7257
|
return Object.keys(S).forEach((O) => {
|
|
7258
|
-
const
|
|
7259
|
-
Ib(b,
|
|
7258
|
+
const y = `${N}.${O}`;
|
|
7259
|
+
Ib(b, y, S[O]);
|
|
7260
7260
|
}), f(b, T);
|
|
7261
7261
|
};
|
|
7262
7262
|
ga(
|
|
@@ -7269,8 +7269,8 @@ const xb = /* @__PURE__ */ le({
|
|
|
7269
7269
|
function f(T, S) {
|
|
7270
7270
|
const N = S.match(/{{(.*?)}}/g);
|
|
7271
7271
|
return N ? N.reduce((b, C) => {
|
|
7272
|
-
const O = C.replace(/{{|}}/g, "").trim(),
|
|
7273
|
-
return b.replace(C,
|
|
7272
|
+
const O = C.replace(/{{|}}/g, "").trim(), y = Pc(T, O);
|
|
7273
|
+
return b.replace(C, y ?? O);
|
|
7274
7274
|
}, S) : S;
|
|
7275
7275
|
}
|
|
7276
7276
|
const v = () => {
|
|
@@ -7286,8 +7286,8 @@ const xb = /* @__PURE__ */ le({
|
|
|
7286
7286
|
`);
|
|
7287
7287
|
return (T, S) => {
|
|
7288
7288
|
var N;
|
|
7289
|
-
return h(),
|
|
7290
|
-
E(s) ? (h(),
|
|
7289
|
+
return h(), R("div", ch, [
|
|
7290
|
+
E(s) ? (h(), R("div", dh, [
|
|
7291
7291
|
L("div", ph, [
|
|
7292
7292
|
H(E(Ye), {
|
|
7293
7293
|
size: "sm",
|
|
@@ -7311,27 +7311,27 @@ const xb = /* @__PURE__ */ le({
|
|
|
7311
7311
|
L("div", {
|
|
7312
7312
|
style: _e(((N = T.styles) == null ? void 0 : N.cssRaw) || "")
|
|
7313
7313
|
}, [
|
|
7314
|
-
(h(!0),
|
|
7314
|
+
(h(!0), R(ge, null, Ce(r.value, ({ type: b, text: C, align: O, sourceCollection: y, styles: $ }, G) => (h(), R("div", {
|
|
7315
7315
|
style: _e({ textAlign: O || "left" })
|
|
7316
7316
|
}, [
|
|
7317
|
-
b === "title" ? (h(),
|
|
7317
|
+
b === "title" ? (h(), R("h1", {
|
|
7318
7318
|
key: 0,
|
|
7319
7319
|
contenteditable: E(s),
|
|
7320
7320
|
style: _e($ || {})
|
|
7321
7321
|
}, k(c(C, null)), 13, _h)) : V("", !0),
|
|
7322
|
-
b === "subtitle" ? (h(),
|
|
7322
|
+
b === "subtitle" ? (h(), R("h2", {
|
|
7323
7323
|
key: 1,
|
|
7324
7324
|
contenteditable: E(s),
|
|
7325
7325
|
style: _e($ || {})
|
|
7326
7326
|
}, k(c(C, null)), 13, fh)) : V("", !0),
|
|
7327
|
-
b === "paragraph" ? (h(!0),
|
|
7328
|
-
(h(!0),
|
|
7329
|
-
c(C, q,
|
|
7330
|
-
), (B) => (h(),
|
|
7327
|
+
b === "paragraph" ? (h(!0), R(ge, { key: 2 }, Ce(y ? E(i)[y] : [null], (q) => (h(), R("div", mh, [
|
|
7328
|
+
(h(!0), R(ge, null, Ce(m(
|
|
7329
|
+
c(C, q, y)
|
|
7330
|
+
), (B) => (h(), R("p", {
|
|
7331
7331
|
contenteditable: E(s),
|
|
7332
7332
|
style: _e($ || {})
|
|
7333
7333
|
}, k(B), 13, gh))), 256)),
|
|
7334
|
-
E(s) ? (h(),
|
|
7334
|
+
E(s) ? (h(), R("div", vh, [
|
|
7335
7335
|
H(E(Ye), {
|
|
7336
7336
|
size: "sm",
|
|
7337
7337
|
r: "",
|
|
@@ -7415,14 +7415,14 @@ const xb = /* @__PURE__ */ le({
|
|
|
7415
7415
|
m.splice(C, 0, { type: "html", section: b });
|
|
7416
7416
|
}), m;
|
|
7417
7417
|
}), f = ((A = (v = d.value) == null ? void 0 : v.styles) == null ? void 0 : A.cssRaw) || "";
|
|
7418
|
-
return (m, T) => (h(),
|
|
7418
|
+
return (m, T) => (h(), R("div", {
|
|
7419
7419
|
class: "sections-container",
|
|
7420
7420
|
style: _e(E(f))
|
|
7421
7421
|
}, [
|
|
7422
7422
|
m.pdf ? (h(), te(Ob, {
|
|
7423
7423
|
key: 0,
|
|
7424
7424
|
pdf: m.pdf
|
|
7425
|
-
}, null, 8, ["pdf"])) : (h(!0),
|
|
7425
|
+
}, null, 8, ["pdf"])) : (h(!0), R(ge, { key: 1 }, Ce(c.value, ({ type: S, section: N }) => (h(), R(ge, null, [
|
|
7426
7426
|
S === "default" ? (h(), te(Ch, {
|
|
7427
7427
|
key: 0,
|
|
7428
7428
|
section: N
|
|
@@ -7553,10 +7553,10 @@ const xb = /* @__PURE__ */ le({
|
|
|
7553
7553
|
});
|
|
7554
7554
|
return (f, v) => {
|
|
7555
7555
|
var A, m, T;
|
|
7556
|
-
return h(),
|
|
7557
|
-
f.table ? (h(),
|
|
7556
|
+
return h(), R("div", Sh, [
|
|
7557
|
+
f.table ? (h(), R("table", xh, [
|
|
7558
7558
|
L("tbody", null, [
|
|
7559
|
-
(A = E(i)) != null && A.idiomas.length ? (h(),
|
|
7559
|
+
(A = E(i)) != null && A.idiomas.length ? (h(), R("tr", wh, [
|
|
7560
7560
|
v[0] || (v[0] = L("td", { class: "broker-label" }, "Idiomas", -1)),
|
|
7561
7561
|
L("td", null, [
|
|
7562
7562
|
H(gn, {
|
|
@@ -7569,42 +7569,42 @@ const xb = /* @__PURE__ */ le({
|
|
|
7569
7569
|
v[1] || (v[1] = L("td", { class: "broker-label" }, "Años de experiencia", -1)),
|
|
7570
7570
|
L("td", null, k(c.value), 1)
|
|
7571
7571
|
]),
|
|
7572
|
-
d.value.length ? (h(),
|
|
7572
|
+
d.value.length ? (h(), R("tr", Bh, [
|
|
7573
7573
|
v[2] || (v[2] = L("td", { class: "broker-label" }, "Especialización", -1)),
|
|
7574
7574
|
L("td", null, [
|
|
7575
|
-
(h(!0),
|
|
7575
|
+
(h(!0), R(ge, null, Ce(d.value, (S, N) => (h(), R("span", {
|
|
7576
7576
|
key: "esp-" + N
|
|
7577
7577
|
}, [
|
|
7578
7578
|
ue(k(S), 1),
|
|
7579
|
-
N < d.value.length - 1 ? (h(),
|
|
7579
|
+
N < d.value.length - 1 ? (h(), R("span", Mh, ", ")) : V("", !0)
|
|
7580
7580
|
]))), 128))
|
|
7581
7581
|
])
|
|
7582
7582
|
])) : V("", !0),
|
|
7583
|
-
r.value.length ? (h(),
|
|
7583
|
+
r.value.length ? (h(), R("tr", Uh, [
|
|
7584
7584
|
v[3] || (v[3] = L("td", { class: "broker-label" }, "Especialización de residencia", -1)),
|
|
7585
7585
|
L("td", null, [
|
|
7586
|
-
(h(!0),
|
|
7586
|
+
(h(!0), R(ge, null, Ce(r.value, (S, N) => (h(), R("span", {
|
|
7587
7587
|
key: "espres-" + N
|
|
7588
7588
|
}, [
|
|
7589
7589
|
ue(k(S), 1),
|
|
7590
|
-
N < r.value.length - 1 ? (h(),
|
|
7590
|
+
N < r.value.length - 1 ? (h(), R("span", Fh, ", ")) : V("", !0)
|
|
7591
7591
|
]))), 128))
|
|
7592
7592
|
])
|
|
7593
7593
|
])) : V("", !0),
|
|
7594
|
-
s.value.length ? (h(),
|
|
7594
|
+
s.value.length ? (h(), R("tr", zh, [
|
|
7595
7595
|
v[4] || (v[4] = L("td", { class: "broker-label" }, "Especialización de hipotecas", -1)),
|
|
7596
7596
|
L("td", null, [
|
|
7597
|
-
(h(!0),
|
|
7597
|
+
(h(!0), R(ge, null, Ce(s.value, (S, N) => (h(), R("span", {
|
|
7598
7598
|
key: "espres-" + N
|
|
7599
7599
|
}, [
|
|
7600
7600
|
ue(k(S), 1),
|
|
7601
|
-
N < s.value.length - 1 ? (h(),
|
|
7601
|
+
N < s.value.length - 1 ? (h(), R("span", Gh, ", ")) : V("", !0)
|
|
7602
7602
|
]))), 128))
|
|
7603
7603
|
])
|
|
7604
7604
|
])) : V("", !0)
|
|
7605
7605
|
])
|
|
7606
|
-
])) : (h(),
|
|
7607
|
-
(T = (m = E(i)) == null ? void 0 : m.idiomas) != null && T.length ? (h(),
|
|
7606
|
+
])) : (h(), R("div", kh, [
|
|
7607
|
+
(T = (m = E(i)) == null ? void 0 : m.idiomas) != null && T.length ? (h(), R("div", Vh, [
|
|
7608
7608
|
v[5] || (v[5] = L("div", { class: "q-mr-sm" }, "Idiomas:", -1)),
|
|
7609
7609
|
H(gn, {
|
|
7610
7610
|
items: E(i).idiomas,
|
|
@@ -7613,9 +7613,9 @@ const xb = /* @__PURE__ */ le({
|
|
|
7613
7613
|
])) : V("", !0),
|
|
7614
7614
|
v[6] || (v[6] = L("div", null, "Especializado en:", -1)),
|
|
7615
7615
|
L("ul", null, [
|
|
7616
|
-
(h(!0),
|
|
7617
|
-
(h(!0),
|
|
7618
|
-
(h(!0),
|
|
7616
|
+
(h(!0), R(ge, null, Ce(d.value, (S) => (h(), R("li", null, k(S), 1))), 256)),
|
|
7617
|
+
(h(!0), R(ge, null, Ce(r.value, (S) => (h(), R("li", null, k(S), 1))), 256)),
|
|
7618
|
+
(h(!0), R(ge, null, Ce(s.value, (S) => (h(), R("li", null, k(S), 1))), 256))
|
|
7619
7619
|
])
|
|
7620
7620
|
]))
|
|
7621
7621
|
]);
|
|
@@ -7665,10 +7665,10 @@ const xb = /* @__PURE__ */ le({
|
|
|
7665
7665
|
}
|
|
7666
7666
|
), A = F(
|
|
7667
7667
|
() => {
|
|
7668
|
-
var C, O,
|
|
7668
|
+
var C, O, y, $, G, q;
|
|
7669
7669
|
return Be.capitalize(
|
|
7670
7670
|
[
|
|
7671
|
-
(
|
|
7671
|
+
(y = (O = (C = f.value) == null ? void 0 : C.CONTACTO) == null ? void 0 : O.UBICACION) == null ? void 0 : y.PROVINCIA,
|
|
7672
7672
|
(q = (G = ($ = f.value) == null ? void 0 : $.CONTACTO) == null ? void 0 : G.UBICACION) == null ? void 0 : q.CIUDAD
|
|
7673
7673
|
].map((B) => B == null ? void 0 : B.trim()).filter(Boolean).join(", "),
|
|
7674
7674
|
!0
|
|
@@ -7691,7 +7691,7 @@ const xb = /* @__PURE__ */ le({
|
|
|
7691
7691
|
() => {
|
|
7692
7692
|
var C;
|
|
7693
7693
|
return (((C = f.value) == null ? void 0 : C.R_ARCHIVOS) || []).map(
|
|
7694
|
-
(O) => it(O, (
|
|
7694
|
+
(O) => it(O, (y, $) => wt($))
|
|
7695
7695
|
);
|
|
7696
7696
|
}
|
|
7697
7697
|
);
|
|
@@ -7703,21 +7703,21 @@ const xb = /* @__PURE__ */ le({
|
|
|
7703
7703
|
"border-radius": C.borderRadius,
|
|
7704
7704
|
hoverable: C.hoverable,
|
|
7705
7705
|
style: _e({ scale: d.scale ?? 1 }),
|
|
7706
|
-
onClick: O[1] || (O[1] = (
|
|
7706
|
+
onClick: O[1] || (O[1] = (y) => i("on-event", {
|
|
7707
7707
|
code: "card_click",
|
|
7708
7708
|
payload: { broker: f.value }
|
|
7709
7709
|
}))
|
|
7710
7710
|
}, {
|
|
7711
7711
|
default: ne(() => {
|
|
7712
|
-
var
|
|
7712
|
+
var y, $;
|
|
7713
7713
|
return [
|
|
7714
7714
|
L("div", $h, [
|
|
7715
7715
|
L("div", qh, [
|
|
7716
7716
|
L("div", jh, [
|
|
7717
|
-
(h(!0),
|
|
7717
|
+
(h(!0), R(ge, null, Ce(S.value, (G) => (h(), te(ki, { tag: G }, null, 8, ["tag"]))), 256))
|
|
7718
7718
|
]),
|
|
7719
|
-
c.value ? (h(),
|
|
7720
|
-
ue(k((
|
|
7719
|
+
c.value ? (h(), R("div", Kh, [
|
|
7720
|
+
ue(k((y = b.value) != null && y.length ? N.value : 0) + "/" + k((($ = b.value) == null ? void 0 : $.length) || 0) + " ", 1),
|
|
7721
7721
|
H(E(Me), {
|
|
7722
7722
|
name: "sym_o_image",
|
|
7723
7723
|
size: "sm",
|
|
@@ -7745,20 +7745,20 @@ const xb = /* @__PURE__ */ le({
|
|
|
7745
7745
|
type: "countries"
|
|
7746
7746
|
}, null, 8, ["items"])
|
|
7747
7747
|
]),
|
|
7748
|
-
A.value ? (h(),
|
|
7748
|
+
A.value ? (h(), R("div", Yh, [
|
|
7749
7749
|
H(E(Me), { name: "sym_o_location_on" }),
|
|
7750
7750
|
L("div", Qh, k(A.value), 1)
|
|
7751
7751
|
])) : V("", !0),
|
|
7752
7752
|
L("div", Xh, [
|
|
7753
7753
|
L("div", Jh, [
|
|
7754
|
-
T.value ? (h(),
|
|
7754
|
+
T.value ? (h(), R("span", {
|
|
7755
7755
|
key: 0,
|
|
7756
7756
|
class: "description",
|
|
7757
7757
|
style: _e({
|
|
7758
7758
|
lineClamp: C.descriptionLines,
|
|
7759
7759
|
WebkitLineClamp: C.descriptionLines
|
|
7760
7760
|
})
|
|
7761
|
-
}, k(T.value || "~"), 5)) : (h(),
|
|
7761
|
+
}, k(T.value || "~"), 5)) : (h(), R("span", e2, [...O[2] || (O[2] = [
|
|
7762
7762
|
L("i", null, "Sin descripción", -1)
|
|
7763
7763
|
])]))
|
|
7764
7764
|
]),
|
|
@@ -8567,7 +8567,7 @@ const o2 = {
|
|
|
8567
8567
|
});
|
|
8568
8568
|
return (v, A) => {
|
|
8569
8569
|
var m;
|
|
8570
|
-
return (m = E(_)) != null && m.length && E(d) ? (h(),
|
|
8570
|
+
return (m = E(_)) != null && m.length && E(d) ? (h(), R("div", o2, [
|
|
8571
8571
|
H(E(Ye), {
|
|
8572
8572
|
onClick: mn(f, ["stop"]),
|
|
8573
8573
|
size: "12px",
|
|
@@ -8599,7 +8599,7 @@ const o2 = {
|
|
|
8599
8599
|
};
|
|
8600
8600
|
return (s, c) => {
|
|
8601
8601
|
var f, v, A, m;
|
|
8602
|
-
return h(),
|
|
8602
|
+
return h(), R("div", s2, [
|
|
8603
8603
|
H(Bt, {
|
|
8604
8604
|
onClick: c[0] || (c[0] = (T) => r("nueva_hipoteca")),
|
|
8605
8605
|
disable: !((f = E(i)) != null && f.URL),
|
|
@@ -8675,11 +8675,11 @@ function NI(l, _, i, d, r) {
|
|
|
8675
8675
|
exact: !1,
|
|
8676
8676
|
refetchType: v.refetchType
|
|
8677
8677
|
});
|
|
8678
|
-
}, { isFetching: S, isPending: N, data: b, refetch: C, error: O } = m(),
|
|
8678
|
+
}, { isFetching: S, isPending: N, data: b, refetch: C, error: O } = m(), y = F(() => b.value ?? (r == null ? void 0 : r.defaultValue));
|
|
8679
8679
|
return {
|
|
8680
8680
|
pending: N,
|
|
8681
8681
|
fetching: S,
|
|
8682
|
-
data:
|
|
8682
|
+
data: y,
|
|
8683
8683
|
refetch: C,
|
|
8684
8684
|
invalidate: T,
|
|
8685
8685
|
error: O
|
|
@@ -8723,7 +8723,7 @@ function SI(l, _, i, d) {
|
|
|
8723
8723
|
exact: !1,
|
|
8724
8724
|
refetchType: "active"
|
|
8725
8725
|
});
|
|
8726
|
-
}, { isFetching: S, isPending: N, data: b, refetch: C, isPlaceholderData: O, error:
|
|
8726
|
+
}, { isFetching: S, isPending: N, data: b, refetch: C, isPlaceholderData: O, error: y } = Gu({
|
|
8727
8727
|
queryKey: [i, c],
|
|
8728
8728
|
queryFn: () => A(i, c),
|
|
8729
8729
|
placeholderData: r.keepPreviousData ? Uv : void 0,
|
|
@@ -8756,7 +8756,7 @@ function SI(l, _, i, d) {
|
|
|
8756
8756
|
), {
|
|
8757
8757
|
pending: N,
|
|
8758
8758
|
fetching: S,
|
|
8759
|
-
error:
|
|
8759
|
+
error: y,
|
|
8760
8760
|
items: q,
|
|
8761
8761
|
refetch: C,
|
|
8762
8762
|
invalidate: T,
|
|
@@ -8823,9 +8823,9 @@ function Lc(l, _, i, d) {
|
|
|
8823
8823
|
if (!N) return;
|
|
8824
8824
|
const C = (N == null ? void 0 : N.id) ?? null;
|
|
8825
8825
|
if (C === null) return;
|
|
8826
|
-
const O = bo(l.value),
|
|
8827
|
-
if (
|
|
8828
|
-
const [G] = O.splice(
|
|
8826
|
+
const O = bo(l.value), y = O.findIndex((q) => q[r] == b), $ = O.findIndex((q) => q[r] == C);
|
|
8827
|
+
if (y === -1 || $ === -1) return;
|
|
8828
|
+
const [G] = O.splice(y, 1);
|
|
8829
8829
|
O.splice($, 0, G), l.value = O, i(O);
|
|
8830
8830
|
}
|
|
8831
8831
|
function T(S) {
|
|
@@ -8854,7 +8854,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
8854
8854
|
);
|
|
8855
8855
|
return (T, S) => {
|
|
8856
8856
|
const N = go("mutation");
|
|
8857
|
-
return E(_).length ? hi((h(),
|
|
8857
|
+
return E(_).length ? hi((h(), R("div", {
|
|
8858
8858
|
key: 0,
|
|
8859
8859
|
class: "images-miniature",
|
|
8860
8860
|
onDragleave: S[1] || (S[1] = //@ts-ignore
|
|
@@ -8864,7 +8864,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
8864
8864
|
onDrop: S[3] || (S[3] = //@ts-ignore
|
|
8865
8865
|
(...b) => E(A) && E(A)(...b))
|
|
8866
8866
|
}, [
|
|
8867
|
-
(h(!0),
|
|
8867
|
+
(h(!0), R(ge, null, Ce(E(_), (b, C) => (h(), R("div", {
|
|
8868
8868
|
class: "q-mb-md image-miniature q-px-sm",
|
|
8869
8869
|
key: C,
|
|
8870
8870
|
id: b[E(m)],
|
|
@@ -8872,7 +8872,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
8872
8872
|
(...O) => E(v) && E(v)(...O)),
|
|
8873
8873
|
draggable: E(d)
|
|
8874
8874
|
}, [
|
|
8875
|
-
b ? (h(),
|
|
8875
|
+
b ? (h(), R("div", {
|
|
8876
8876
|
key: 0,
|
|
8877
8877
|
onClick: (O) => i.value = C + 1,
|
|
8878
8878
|
style: _e({
|
|
@@ -8889,7 +8889,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
8889
8889
|
src: b.location,
|
|
8890
8890
|
fit: "cover",
|
|
8891
8891
|
class: "media-card"
|
|
8892
|
-
}, null, 8, ["src"])) : b.filetype === "video" ? (h(),
|
|
8892
|
+
}, null, 8, ["src"])) : b.filetype === "video" ? (h(), R("div", v2, [
|
|
8893
8893
|
L("video", {
|
|
8894
8894
|
src: b.location,
|
|
8895
8895
|
style: { width: "100%", height: "100%", background: "black" }
|
|
@@ -8901,7 +8901,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
8901
8901
|
color: "white"
|
|
8902
8902
|
})
|
|
8903
8903
|
])
|
|
8904
|
-
])) : V("", !0) : (h(),
|
|
8904
|
+
])) : V("", !0) : (h(), R("div", g2, [
|
|
8905
8905
|
H(E(Me), {
|
|
8906
8906
|
name: "upload_file",
|
|
8907
8907
|
color: "grey-5",
|
|
@@ -8981,7 +8981,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
8981
8981
|
), O = F(() => {
|
|
8982
8982
|
var q;
|
|
8983
8983
|
return (q = T.value) == null ? void 0 : q.PRESENTACION;
|
|
8984
|
-
}),
|
|
8984
|
+
}), y = F(() => {
|
|
8985
8985
|
var q;
|
|
8986
8986
|
return ((q = T.value) == null ? void 0 : q.DESCRIPCION) || "";
|
|
8987
8987
|
}), $ = {
|
|
@@ -9003,7 +9003,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9003
9003
|
};
|
|
9004
9004
|
return (q, B) => {
|
|
9005
9005
|
var j;
|
|
9006
|
-
return h(),
|
|
9006
|
+
return h(), R(ge, null, [
|
|
9007
9007
|
L("div", A2, [
|
|
9008
9008
|
E(v) ? V("", !0) : (h(), te(Vt, {
|
|
9009
9009
|
key: 0,
|
|
@@ -9035,7 +9035,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9035
9035
|
L("div", D2, [
|
|
9036
9036
|
L("div", null, [
|
|
9037
9037
|
L("div", T2, k(S.value), 1),
|
|
9038
|
-
N.value ? (h(),
|
|
9038
|
+
N.value ? (h(), R("div", R2, [
|
|
9039
9039
|
H(E(Me), { name: "sym_o_location_on" }),
|
|
9040
9040
|
L("div", y2, k(N.value), 1)
|
|
9041
9041
|
])) : V("", !0)
|
|
@@ -9047,14 +9047,14 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9047
9047
|
]),
|
|
9048
9048
|
L("div", L2, [
|
|
9049
9049
|
L("div", N2, [
|
|
9050
|
-
C.value ? (h(),
|
|
9050
|
+
C.value ? (h(), R("span", {
|
|
9051
9051
|
key: 0,
|
|
9052
9052
|
class: "description",
|
|
9053
9053
|
style: _e({
|
|
9054
9054
|
lineClamp: q.descriptionLines,
|
|
9055
9055
|
WebkitLineClamp: q.descriptionLines
|
|
9056
9056
|
})
|
|
9057
|
-
}, k(C.value || "~"), 5)) : (h(),
|
|
9057
|
+
}, k(C.value || "~"), 5)) : (h(), R("span", S2, [...B[1] || (B[1] = [
|
|
9058
9058
|
L("i", null, "Sin descripción", -1)
|
|
9059
9059
|
])]))
|
|
9060
9060
|
]),
|
|
@@ -9068,7 +9068,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9068
9068
|
])
|
|
9069
9069
|
]),
|
|
9070
9070
|
L("h6", x2, k(O.value), 1),
|
|
9071
|
-
L("p", null, k(
|
|
9071
|
+
L("p", null, k(y.value), 1)
|
|
9072
9072
|
], 64);
|
|
9073
9073
|
};
|
|
9074
9074
|
}
|
|
@@ -9340,8 +9340,8 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9340
9340
|
const C = Number(b.CANTIDAD || 0);
|
|
9341
9341
|
return Number((($ = b.DETALLE) == null ? void 0 : $.PRECIO) || 0) * C;
|
|
9342
9342
|
};
|
|
9343
|
-
return (b, C) => (h(),
|
|
9344
|
-
m.value ? (h(),
|
|
9343
|
+
return (b, C) => (h(), R("div", null, [
|
|
9344
|
+
m.value ? (h(), R("div", {
|
|
9345
9345
|
key: 0,
|
|
9346
9346
|
class: Ea([
|
|
9347
9347
|
"strikethrough",
|
|
@@ -9423,8 +9423,8 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9423
9423
|
return (C == null ? void 0 : C.label) || b;
|
|
9424
9424
|
}, s = (N) => {
|
|
9425
9425
|
var O;
|
|
9426
|
-
const b = i.value[N], C = d.value.find((
|
|
9427
|
-
return (O = C == null ? void 0 : C.options) != null && O.length ? fi(b) ? b.map((
|
|
9426
|
+
const b = i.value[N], C = d.value.find((y) => y.code === N);
|
|
9427
|
+
return (O = C == null ? void 0 : C.options) != null && O.length ? fi(b) ? b.map((y) => r(C.options, y)).join(", ") : r(C.options, b) : b;
|
|
9428
9428
|
}, c = (N) => {
|
|
9429
9429
|
if (typeof N == "string") {
|
|
9430
9430
|
let b = Number(N.replace(/[^0-9.-]/g, "").trim());
|
|
@@ -9436,12 +9436,12 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9436
9436
|
const N = i.value;
|
|
9437
9437
|
let b = 0;
|
|
9438
9438
|
if (N.pitch) {
|
|
9439
|
-
const O = (C = N == null ? void 0 : N.pitch) == null ? void 0 : C.replace("_mm", ""),
|
|
9440
|
-
b = parseFloat(
|
|
9439
|
+
const O = (C = N == null ? void 0 : N.pitch) == null ? void 0 : C.replace("_mm", ""), y = O == null ? void 0 : O.replace("_", ".");
|
|
9440
|
+
b = parseFloat(y);
|
|
9441
9441
|
}
|
|
9442
9442
|
if (b && N.ancho && N.alto) {
|
|
9443
|
-
let O = c(N.ancho),
|
|
9444
|
-
return N.unidad_de_medida == "m" ? (O = O * 1e3,
|
|
9443
|
+
let O = c(N.ancho), y = c(N.alto);
|
|
9444
|
+
return N.unidad_de_medida == "m" ? (O = O * 1e3, y = y * 1e3) : N.unidad_de_medida == "cm" && (O = O * 10, y = y * 10), `${Math.round(O / b)}x${Math.round(y / b)} p`;
|
|
9445
9445
|
}
|
|
9446
9446
|
}, v = () => {
|
|
9447
9447
|
const N = i.value;
|
|
@@ -9542,13 +9542,13 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9542
9542
|
return "";
|
|
9543
9543
|
});
|
|
9544
9544
|
return (N, b) => {
|
|
9545
|
-
var C, O,
|
|
9546
|
-
return h(),
|
|
9545
|
+
var C, O, y, $, G, q, B, j, Y, ce, he, Ue, Qe, ia, Pa, va, Da, hn, Ta;
|
|
9546
|
+
return h(), R("div", k2, [
|
|
9547
9547
|
L("div", {
|
|
9548
9548
|
class: "q-mt-md row text-black justify-start",
|
|
9549
9549
|
style: _e(`font-size: ${N.lite ? "15px" : "16px"}`)
|
|
9550
9550
|
}, [
|
|
9551
|
-
(h(!0),
|
|
9551
|
+
(h(!0), R(ge, null, Ce(T.value, (la, On) => (h(), R("div", {
|
|
9552
9552
|
key: On,
|
|
9553
9553
|
class: Ea(
|
|
9554
9554
|
N.lite ? On % 2 ? "col-md-5 text-left col-6" : "col-md-7 text-left col-6" : "col-md-6 col-12 flex items-center"
|
|
@@ -9569,9 +9569,9 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9569
9569
|
])
|
|
9570
9570
|
], 2))), 128))
|
|
9571
9571
|
], 4),
|
|
9572
|
-
N.lite ? V("", !0) : (h(),
|
|
9573
|
-
(C = E(i)) != null && C.consumo_maximo_w || (O = E(i)) != null && O.consumo_medio_w ? (h(),
|
|
9574
|
-
(
|
|
9572
|
+
N.lite ? V("", !0) : (h(), R(ge, { key: 0 }, [
|
|
9573
|
+
(C = E(i)) != null && C.consumo_maximo_w || (O = E(i)) != null && O.consumo_medio_w ? (h(), R("div", H2, [
|
|
9574
|
+
(y = E(i)) != null && y.consumo_medio_w ? (h(), R("div", $2, [
|
|
9575
9575
|
H(E(Me), {
|
|
9576
9576
|
color: "green",
|
|
9577
9577
|
name: "sym_o_flash_on",
|
|
@@ -9583,7 +9583,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9583
9583
|
L("span", q2, k(($ = E(i)) == null ? void 0 : $.consumo_medio_w), 1)
|
|
9584
9584
|
])
|
|
9585
9585
|
])) : V("", !0),
|
|
9586
|
-
(G = E(i)) != null && G.consumo_maximo_w ? (h(),
|
|
9586
|
+
(G = E(i)) != null && G.consumo_maximo_w ? (h(), R("div", j2, [
|
|
9587
9587
|
H(E(Me), {
|
|
9588
9588
|
color: "green",
|
|
9589
9589
|
name: "sym_o_flash_on",
|
|
@@ -9597,41 +9597,41 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9597
9597
|
])) : V("", !0)
|
|
9598
9598
|
])) : V("", !0),
|
|
9599
9599
|
L("div", W2, [
|
|
9600
|
-
S.value ? (h(),
|
|
9600
|
+
S.value ? (h(), R("div", Z2, [
|
|
9601
9601
|
b[2] || (b[2] = ue(" Distancia recomendada: ", -1)),
|
|
9602
9602
|
L("span", Y2, "a partir de " + k(S.value) + " m", 1)
|
|
9603
9603
|
])) : V("", !0),
|
|
9604
|
-
(B = E(i)) != null && B.serie ? (h(),
|
|
9604
|
+
(B = E(i)) != null && B.serie ? (h(), R("div", Q2, [
|
|
9605
9605
|
b[3] || (b[3] = ue(" Serie: ", -1)),
|
|
9606
9606
|
L("span", X2, k(s("serie")), 1)
|
|
9607
9607
|
])) : V("", !0),
|
|
9608
|
-
(j = E(i)) != null && j.material ? (h(),
|
|
9608
|
+
(j = E(i)) != null && j.material ? (h(), R("div", J2, [
|
|
9609
9609
|
b[4] || (b[4] = ue(" Material: ", -1)),
|
|
9610
9610
|
L("span", e1, k(s("material")), 1)
|
|
9611
9611
|
])) : V("", !0),
|
|
9612
|
-
(Y = E(i)) != null && Y.usos_habituales && E(fi)((ce = E(i)) == null ? void 0 : ce.usos_habituales) ? (h(),
|
|
9612
|
+
(Y = E(i)) != null && Y.usos_habituales && E(fi)((ce = E(i)) == null ? void 0 : ce.usos_habituales) ? (h(), R("div", a1, [
|
|
9613
9613
|
b[5] || (b[5] = ue(" Usos habituales: ", -1)),
|
|
9614
9614
|
L("span", t1, k(s("usos_habituales")), 1)
|
|
9615
9615
|
])) : V("", !0),
|
|
9616
|
-
(he = E(i)) != null && he.propositos_generales && E(fi)((Ue = E(i)) == null ? void 0 : Ue.propositos_generales) ? (h(),
|
|
9616
|
+
(he = E(i)) != null && he.propositos_generales && E(fi)((Ue = E(i)) == null ? void 0 : Ue.propositos_generales) ? (h(), R("div", n1, [
|
|
9617
9617
|
b[6] || (b[6] = ue(" Propositos generales: ", -1)),
|
|
9618
9618
|
L("span", i1, k(s("propositos_generales")), 1)
|
|
9619
9619
|
])) : V("", !0),
|
|
9620
|
-
(Qe = E(i)) != null && Qe.controladoras_compatibles && E(fi)((ia = E(i)) == null ? void 0 : ia.controladoras_compatibles) ? (h(),
|
|
9620
|
+
(Qe = E(i)) != null && Qe.controladoras_compatibles && E(fi)((ia = E(i)) == null ? void 0 : ia.controladoras_compatibles) ? (h(), R("div", l1, [
|
|
9621
9621
|
b[7] || (b[7] = ue(" Controladoras compatibles: ", -1)),
|
|
9622
9622
|
L("span", o1, k(s("controladoras_compatibles")), 1)
|
|
9623
9623
|
])) : V("", !0),
|
|
9624
|
-
(Pa = E(i)) != null && Pa.tipo_de_instalacion ? (h(),
|
|
9624
|
+
(Pa = E(i)) != null && Pa.tipo_de_instalacion ? (h(), R("div", r1, [
|
|
9625
9625
|
b[8] || (b[8] = ue(" Tipo de instalación: ", -1)),
|
|
9626
9626
|
L("span", s1, k(s("tipo_de_instalacion")), 1)
|
|
9627
9627
|
])) : V("", !0),
|
|
9628
|
-
(va = E(i)) != null && va.tipo_servicio ? (h(),
|
|
9628
|
+
(va = E(i)) != null && va.tipo_servicio ? (h(), R("div", u1, [
|
|
9629
9629
|
b[9] || (b[9] = ue(" Conexiones y acceso a componentes: ", -1)),
|
|
9630
9630
|
L("span", c1, k(s("tipo_servicio")), 1)
|
|
9631
9631
|
])) : V("", !0)
|
|
9632
9632
|
]),
|
|
9633
9633
|
L("div", d1, [
|
|
9634
|
-
((Da = E(i)) == null ? void 0 : Da.gob) == "si" ? (h(),
|
|
9634
|
+
((Da = E(i)) == null ? void 0 : Da.gob) == "si" ? (h(), R("div", p1, [
|
|
9635
9635
|
H(E(Me), {
|
|
9636
9636
|
color: "yellow-9",
|
|
9637
9637
|
style: { "font-size": "20px" },
|
|
@@ -9639,10 +9639,10 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9639
9639
|
}),
|
|
9640
9640
|
L("div", _1, [
|
|
9641
9641
|
b[10] || (b[10] = ue(" GOB ", -1)),
|
|
9642
|
-
((hn = E(i)) == null ? void 0 : hn.gob) == "si" ? (h(),
|
|
9642
|
+
((hn = E(i)) == null ? void 0 : hn.gob) == "si" ? (h(), R("span", f1, " (mayor resistencia a golpes, humedad y polvo.)")) : V("", !0)
|
|
9643
9643
|
])
|
|
9644
9644
|
])) : V("", !0),
|
|
9645
|
-
(Ta = E(i)) != null && Ta.proteccion_ip ? (h(),
|
|
9645
|
+
(Ta = E(i)) != null && Ta.proteccion_ip ? (h(), R("div", m1, [
|
|
9646
9646
|
H(E(Me), {
|
|
9647
9647
|
color: "yellow-9",
|
|
9648
9648
|
style: { "font-size": "20px" },
|
|
@@ -9755,7 +9755,7 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9755
9755
|
}), C = Pv(Rh), O = F(() => {
|
|
9756
9756
|
var B, j;
|
|
9757
9757
|
return (j = (B = A.value) == null ? void 0 : B.TAGS) == null ? void 0 : j.split(",");
|
|
9758
|
-
}),
|
|
9758
|
+
}), y = Pe(1), $ = F(
|
|
9759
9759
|
() => {
|
|
9760
9760
|
var B;
|
|
9761
9761
|
return (((B = A.value) == null ? void 0 : B.R_IMG) || []).map(
|
|
@@ -9790,13 +9790,13 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9790
9790
|
L("div", b1, [
|
|
9791
9791
|
L("div", h1, [
|
|
9792
9792
|
L("div", O1, [
|
|
9793
|
-
A.value.PACK ? (h(),
|
|
9793
|
+
A.value.PACK ? (h(), R("span", I1, " Pack " + k(q()), 1)) : (h(), R("span", A1, k(b.value), 1))
|
|
9794
9794
|
]),
|
|
9795
9795
|
L("div", C1, [
|
|
9796
|
-
(h(!0),
|
|
9796
|
+
(h(!0), R(ge, null, Ce(O.value, (he) => (h(), te(ki, { tag: he }, null, 8, ["tag"]))), 256))
|
|
9797
9797
|
]),
|
|
9798
9798
|
L("div", E1, [
|
|
9799
|
-
ue(k((Y = $.value) != null && Y.length ?
|
|
9799
|
+
ue(k((Y = $.value) != null && Y.length ? y.value : 0) + "/" + k(((ce = $.value) == null ? void 0 : ce.length) || 0) + " ", 1),
|
|
9800
9800
|
H(E(Me), {
|
|
9801
9801
|
name: "sym_o_image",
|
|
9802
9802
|
size: "sm",
|
|
@@ -9806,10 +9806,10 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9806
9806
|
]),
|
|
9807
9807
|
H(bn, {
|
|
9808
9808
|
items: $.value,
|
|
9809
|
-
modelValue:
|
|
9810
|
-
"onUpdate:modelValue": j[0] || (j[0] = (he) =>
|
|
9809
|
+
modelValue: y.value,
|
|
9810
|
+
"onUpdate:modelValue": j[0] || (j[0] = (he) => y.value = he)
|
|
9811
9811
|
}, null, 8, ["items", "modelValue"]),
|
|
9812
|
-
v.value ? (h(),
|
|
9812
|
+
v.value ? (h(), R("div", P1, [
|
|
9813
9813
|
H(v1, {
|
|
9814
9814
|
public: A.value.PUBLICO,
|
|
9815
9815
|
onChangePublic: j[1] || (j[1] = (he) => i("on-event", {
|
|
@@ -9832,9 +9832,9 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9832
9832
|
color: (Ue = A.value.R_ESTADO) == null ? void 0 : Ue.COLOR
|
|
9833
9833
|
}, null, 8, ["label", "color"])) : V("", !0)
|
|
9834
9834
|
]),
|
|
9835
|
-
v.value && ((Qe = A.value.PROPS) != null && Qe.sku) ? (h(),
|
|
9835
|
+
v.value && ((Qe = A.value.PROPS) != null && Qe.sku) ? (h(), R("div", R1, " SKU: " + k(A.value.PROPS.sku), 1)) : V("", !0),
|
|
9836
9836
|
L("div", y1, [
|
|
9837
|
-
m.value ? (h(),
|
|
9837
|
+
m.value ? (h(), R("div", L1, [
|
|
9838
9838
|
H(Co, {
|
|
9839
9839
|
product: A.value,
|
|
9840
9840
|
size: "small"
|
|
@@ -9857,22 +9857,22 @@ const f2 = ["id", "draggable"], m2 = ["onClick"], g2 = {
|
|
|
9857
9857
|
])
|
|
9858
9858
|
]),
|
|
9859
9859
|
L("div", x1, [
|
|
9860
|
-
G.value.length ? (h(),
|
|
9861
|
-
(h(!0),
|
|
9860
|
+
G.value.length ? (h(), R("div", w1, [
|
|
9861
|
+
(h(!0), R(ge, null, Ce(G.value, (Da) => (h(), R("div", {
|
|
9862
9862
|
key: Da,
|
|
9863
9863
|
style: _e({ backgroundColor: C[Da] || "#ccc" }),
|
|
9864
9864
|
class: "color-circle"
|
|
9865
9865
|
}, null, 4))), 128))
|
|
9866
9866
|
])) : V("", !0),
|
|
9867
9867
|
L("div", B1, [
|
|
9868
|
-
N.value ? (h(),
|
|
9868
|
+
N.value ? (h(), R("span", {
|
|
9869
9869
|
key: 0,
|
|
9870
9870
|
class: "description",
|
|
9871
9871
|
style: _e({
|
|
9872
9872
|
lineClamp: B.descriptionLines,
|
|
9873
9873
|
WebkitLineClamp: B.descriptionLines
|
|
9874
9874
|
})
|
|
9875
|
-
}, k(N.value || "~"), 5)) : (h(),
|
|
9875
|
+
}, k(N.value || "~"), 5)) : (h(), R("span", M1, [...j[4] || (j[4] = [
|
|
9876
9876
|
L("i", null, "Sin descripción", -1)
|
|
9877
9877
|
])]))
|
|
9878
9878
|
]),
|
|
@@ -12770,7 +12770,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12770
12770
|
);
|
|
12771
12771
|
return (T, S) => {
|
|
12772
12772
|
const N = go("mutation");
|
|
12773
|
-
return E(_).length ? hi((h(),
|
|
12773
|
+
return E(_).length ? hi((h(), R("div", {
|
|
12774
12774
|
key: 0,
|
|
12775
12775
|
class: "images-miniature",
|
|
12776
12776
|
onDragleave: S[1] || (S[1] = //@ts-ignore
|
|
@@ -12780,7 +12780,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12780
12780
|
onDrop: S[3] || (S[3] = //@ts-ignore
|
|
12781
12781
|
(...b) => E(A) && E(A)(...b))
|
|
12782
12782
|
}, [
|
|
12783
|
-
(h(!0),
|
|
12783
|
+
(h(!0), R(ge, null, Ce(E(_), (b, C) => (h(), R("div", {
|
|
12784
12784
|
class: "q-mb-md image-miniature q-px-sm",
|
|
12785
12785
|
key: C,
|
|
12786
12786
|
id: b[E(m)],
|
|
@@ -12788,7 +12788,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12788
12788
|
(...O) => E(v) && E(v)(...O)),
|
|
12789
12789
|
draggable: E(d)
|
|
12790
12790
|
}, [
|
|
12791
|
-
b ? (h(),
|
|
12791
|
+
b ? (h(), R("div", {
|
|
12792
12792
|
key: 0,
|
|
12793
12793
|
onClick: (O) => i.value = C + 1,
|
|
12794
12794
|
style: _e({
|
|
@@ -12805,7 +12805,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12805
12805
|
src: b.location,
|
|
12806
12806
|
fit: "cover",
|
|
12807
12807
|
class: "media-card"
|
|
12808
|
-
}, null, 8, ["src"])) : b.tipo === "video" ? (h(),
|
|
12808
|
+
}, null, 8, ["src"])) : b.tipo === "video" ? (h(), R("div", q1, [
|
|
12809
12809
|
L("video", {
|
|
12810
12810
|
src: b.location,
|
|
12811
12811
|
style: { width: "100%", height: "100%", background: "black" }
|
|
@@ -12817,7 +12817,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12817
12817
|
color: "white"
|
|
12818
12818
|
})
|
|
12819
12819
|
])
|
|
12820
|
-
])) : V("", !0) : (h(),
|
|
12820
|
+
])) : V("", !0) : (h(), R("div", $1, [
|
|
12821
12821
|
H(E(Me), {
|
|
12822
12822
|
name: "upload_file",
|
|
12823
12823
|
color: "grey-5",
|
|
@@ -12846,8 +12846,8 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12846
12846
|
return !!((r = _.value) != null && r.a_medida) && !((s = i.value) != null && s.pack);
|
|
12847
12847
|
}
|
|
12848
12848
|
);
|
|
12849
|
-
return (r, s) => (h(),
|
|
12850
|
-
d.value ? (h(),
|
|
12849
|
+
return (r, s) => (h(), R("div", Z1, [
|
|
12850
|
+
d.value ? (h(), R("div", Y1, [
|
|
12851
12851
|
H(E(Ii), {
|
|
12852
12852
|
color: "blue",
|
|
12853
12853
|
"text-color": "white",
|
|
@@ -12880,11 +12880,11 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12880
12880
|
);
|
|
12881
12881
|
return (c, f) => {
|
|
12882
12882
|
var v;
|
|
12883
|
-
return h(),
|
|
12883
|
+
return h(), R(ge, null, [
|
|
12884
12884
|
L("div", X1, [
|
|
12885
|
-
(h(!0),
|
|
12885
|
+
(h(!0), R(ge, null, Ce(E(_), (A, m) => {
|
|
12886
12886
|
var T, S, N, b;
|
|
12887
|
-
return h(),
|
|
12887
|
+
return h(), R("div", {
|
|
12888
12888
|
key: m,
|
|
12889
12889
|
class: Ea(`q-mr-md glass-card detalle-pack ${((T = E(i)) == null ? void 0 : T.ID_PRODUCTO) == A.ID_PRODUCTO_DETALLE ? "selected" : ""}`),
|
|
12890
12890
|
onClick: (C) => r(A.DETALLE)
|
|
@@ -12902,7 +12902,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12902
12902
|
], 10, J1);
|
|
12903
12903
|
}), 128))
|
|
12904
12904
|
]),
|
|
12905
|
-
E(i) ? (h(),
|
|
12905
|
+
E(i) ? (h(), R("div", nO, [
|
|
12906
12906
|
L("div", iO, k(E(i).NOMBRE), 1),
|
|
12907
12907
|
L("div", null, "SKU: " + k((v = E(i).PROPS) == null ? void 0 : v.sku), 1),
|
|
12908
12908
|
H(Vi, {
|
|
@@ -12931,14 +12931,14 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12931
12931
|
};
|
|
12932
12932
|
return (A, m) => {
|
|
12933
12933
|
var T, S;
|
|
12934
|
-
return h(),
|
|
12934
|
+
return h(), R("div", rO, [
|
|
12935
12935
|
L("div", sO, k(c.value), 1),
|
|
12936
12936
|
L("div", {
|
|
12937
12937
|
onClick: v,
|
|
12938
12938
|
class: "tags",
|
|
12939
12939
|
style: _e({ overflowX: "auto", cursor: E(r) ? "pointer" : "default" })
|
|
12940
12940
|
}, [
|
|
12941
|
-
(h(!0),
|
|
12941
|
+
(h(!0), R(ge, null, Ce(s.value, (N) => (h(), te(ki, { tag: N }, null, 8, ["tag"]))), 256)),
|
|
12942
12942
|
!s.value.length && E(r) ? (h(), te(E(Ii), {
|
|
12943
12943
|
key: 0,
|
|
12944
12944
|
class: "tag",
|
|
@@ -12971,7 +12971,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
12971
12971
|
var d;
|
|
12972
12972
|
return (d = _.value) == null ? void 0 : d.descripcion;
|
|
12973
12973
|
});
|
|
12974
|
-
return (d, r) => i.value ? (h(),
|
|
12974
|
+
return (d, r) => i.value ? (h(), R("div", pO, [
|
|
12975
12975
|
r[0] || (r[0] = L("div", { class: "font-bold text-h6" }, "Información del producto", -1)),
|
|
12976
12976
|
L("div", null, k(i.value), 1)
|
|
12977
12977
|
])) : V("", !0);
|
|
@@ -13061,7 +13061,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13061
13061
|
Math.ceil(C / S.value) * S.value
|
|
13062
13062
|
));
|
|
13063
13063
|
}
|
|
13064
|
-
), (C, O) => (h(),
|
|
13064
|
+
), (C, O) => (h(), R(ge, null, [
|
|
13065
13065
|
O[7] || (O[7] = L("div", { class: "prices text-bold q-mb-md" }, " Indica las medidas de la pantalla que necesitas ", -1)),
|
|
13066
13066
|
L("div", fO, [
|
|
13067
13067
|
L("div", null, [
|
|
@@ -13070,7 +13070,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13070
13070
|
outlined: "",
|
|
13071
13071
|
class: "q-mb-md",
|
|
13072
13072
|
modelValue: d.value.ancho,
|
|
13073
|
-
"onUpdate:modelValue": O[0] || (O[0] = (
|
|
13073
|
+
"onUpdate:modelValue": O[0] || (O[0] = (y) => d.value.ancho = y),
|
|
13074
13074
|
modelModifiers: { number: !0 },
|
|
13075
13075
|
label: "Ancho",
|
|
13076
13076
|
suffix: "metros",
|
|
@@ -13081,7 +13081,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13081
13081
|
type: "number",
|
|
13082
13082
|
outlined: "",
|
|
13083
13083
|
modelValue: d.value.alto,
|
|
13084
|
-
"onUpdate:modelValue": O[1] || (O[1] = (
|
|
13084
|
+
"onUpdate:modelValue": O[1] || (O[1] = (y) => d.value.alto = y),
|
|
13085
13085
|
modelModifiers: { number: !0 },
|
|
13086
13086
|
label: "Alto",
|
|
13087
13087
|
suffix: "metros",
|
|
@@ -13094,7 +13094,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13094
13094
|
O[2] || (O[2] = L("span", null, " Área panel: ", -1)),
|
|
13095
13095
|
L("span", null, k(v(N.value)) + " m2", 1)
|
|
13096
13096
|
]),
|
|
13097
|
-
C.showPrice ? (h(),
|
|
13097
|
+
C.showPrice ? (h(), R("div", gO, [
|
|
13098
13098
|
O[3] || (O[3] = L("span", null, " Importe m2: ", -1)),
|
|
13099
13099
|
L("span", null, k(b.value), 1)
|
|
13100
13100
|
])) : V("", !0),
|
|
@@ -13106,7 +13106,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13106
13106
|
O[5] || (O[5] = L("span", null, " Paneles: ", -1)),
|
|
13107
13107
|
L("span", null, k(i.value), 1)
|
|
13108
13108
|
]),
|
|
13109
|
-
C.showPrice ? (h(),
|
|
13109
|
+
C.showPrice ? (h(), R("div", hO, [
|
|
13110
13110
|
O[6] || (O[6] = L("span", null, " Importe total: ", -1)),
|
|
13111
13111
|
L("span", null, k(E(yu)(A.value)), 1)
|
|
13112
13112
|
])) : V("", !0)
|
|
@@ -13143,7 +13143,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13143
13143
|
c("add_to_shopcart", {
|
|
13144
13144
|
product: it(
|
|
13145
13145
|
{ ...C, id_producto: C.id },
|
|
13146
|
-
(O,
|
|
13146
|
+
(O, y) => y.toUpperCase()
|
|
13147
13147
|
),
|
|
13148
13148
|
quantity: v.value,
|
|
13149
13149
|
props: A.value || {}
|
|
@@ -13151,18 +13151,18 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13151
13151
|
}, b = () => {
|
|
13152
13152
|
c("go_to_catalog");
|
|
13153
13153
|
};
|
|
13154
|
-
return (C, O) => E(_) ? (h(),
|
|
13154
|
+
return (C, O) => E(_) ? (h(), R("div", CO, [
|
|
13155
13155
|
f.value ? (h(), te(AO, {
|
|
13156
13156
|
key: 0,
|
|
13157
13157
|
product: E(_),
|
|
13158
13158
|
quantity: v.value,
|
|
13159
|
-
"onUpdate:quantity": O[0] || (O[0] = (
|
|
13159
|
+
"onUpdate:quantity": O[0] || (O[0] = (y) => v.value = y),
|
|
13160
13160
|
detail: A.value,
|
|
13161
|
-
"onUpdate:detail": O[1] || (O[1] = (
|
|
13161
|
+
"onUpdate:detail": O[1] || (O[1] = (y) => A.value = y),
|
|
13162
13162
|
"show-price": E(s)
|
|
13163
13163
|
}, null, 8, ["product", "quantity", "detail", "show-price"])) : V("", !0),
|
|
13164
13164
|
L("div", EO, [
|
|
13165
|
-
f.value ? (h(),
|
|
13165
|
+
f.value ? (h(), R("div", TO)) : (h(), R("div", PO, [
|
|
13166
13166
|
H(Vt, {
|
|
13167
13167
|
outline: "",
|
|
13168
13168
|
size: "sm",
|
|
@@ -13204,8 +13204,8 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13204
13204
|
var d;
|
|
13205
13205
|
return ((d = _.value) == null ? void 0 : d.descripcion_corta) || "";
|
|
13206
13206
|
});
|
|
13207
|
-
return (d, r) => (h(),
|
|
13208
|
-
i.value ? (h(),
|
|
13207
|
+
return (d, r) => (h(), R("div", NO, [
|
|
13208
|
+
i.value ? (h(), R("div", SO, k(i.value), 1)) : V("", !0)
|
|
13209
13209
|
]));
|
|
13210
13210
|
}
|
|
13211
13211
|
}), wO = { class: "row justify-end" }, BO = { class: "grid" }, MO = { class: "images-container" }, UO = { class: "carousel-container" }, FO = { class: "text-h5 text-bold" }, zO = { class: "row justify-between" }, GO = { key: 0 }, kO = { class: "row items-center justify-between" }, VO = { class: "text-weight-medium" }, HO = { class: "row" }, $O = /* @__PURE__ */ le({
|
|
@@ -13232,8 +13232,8 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13232
13232
|
const i = F(() => Fu.lt.md), d = _;
|
|
13233
13233
|
mt("emit", d);
|
|
13234
13234
|
const r = l, s = Pe(1), { data: c, isPublic: f, gamaProps: v, count: A } = qe(r), m = F(() => {
|
|
13235
|
-
var
|
|
13236
|
-
return ((
|
|
13235
|
+
var y;
|
|
13236
|
+
return ((y = r.showPrice) == null ? void 0 : y.call(r, c.value)) ?? !0;
|
|
13237
13237
|
}), T = F(() => yh(c.value)), S = Pe(null), N = Pe([]), b = {
|
|
13238
13238
|
product: T,
|
|
13239
13239
|
slide: s,
|
|
@@ -13248,19 +13248,19 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13248
13248
|
};
|
|
13249
13249
|
mt("context", b);
|
|
13250
13250
|
const C = F(() => {
|
|
13251
|
-
var
|
|
13252
|
-
return !!((
|
|
13251
|
+
var y;
|
|
13252
|
+
return !!((y = T.value) != null && y.pack);
|
|
13253
13253
|
}), O = () => {
|
|
13254
|
-
var
|
|
13254
|
+
var y;
|
|
13255
13255
|
return d("on-event", {
|
|
13256
13256
|
code: "edit_product",
|
|
13257
|
-
payload: { id: (
|
|
13257
|
+
payload: { id: (y = T.value) == null ? void 0 : y.id }
|
|
13258
13258
|
});
|
|
13259
13259
|
};
|
|
13260
|
-
return (
|
|
13260
|
+
return (y, $) => {
|
|
13261
13261
|
var B, j, Y, ce, he, Ue, Qe;
|
|
13262
13262
|
const G = gt("v-else"), q = gt("ProductAvailableColors");
|
|
13263
|
-
return h(),
|
|
13263
|
+
return h(), R(ge, null, [
|
|
13264
13264
|
L("div", wO, [
|
|
13265
13265
|
E(f) ? V("", !0) : (h(), te(Vt, {
|
|
13266
13266
|
key: 0,
|
|
@@ -13288,7 +13288,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
13288
13288
|
L("div", null, [
|
|
13289
13289
|
L("div", FO, k(E(vi)(((B = T.value) == null ? void 0 : B.nombre) || "")), 1),
|
|
13290
13290
|
L("div", zO, [
|
|
13291
|
-
E(f) ? V("", !0) : (h(),
|
|
13291
|
+
E(f) ? V("", !0) : (h(), R("div", GO, "SKU: " + k((Y = (j = T.value) == null ? void 0 : j.props) == null ? void 0 : Y.sku), 1)),
|
|
13292
13292
|
H(G, { div: "" }),
|
|
13293
13293
|
!E(f) && ((ce = T.value) != null && ce.estado) ? (h(), te(zi, {
|
|
13294
13294
|
key: 1,
|
|
@@ -14380,7 +14380,7 @@ const V1 = ["id", "draggable"], H1 = ["onClick"], $1 = {
|
|
|
14380
14380
|
]),
|
|
14381
14381
|
L("div", QO, [
|
|
14382
14382
|
L("div", XO, k(c.value), 1),
|
|
14383
|
-
f.value ? (h(),
|
|
14383
|
+
f.value ? (h(), R("div", JO, [
|
|
14384
14384
|
H(E(Me), {
|
|
14385
14385
|
name: "sym_o_phone",
|
|
14386
14386
|
class: "q-mr-xs"
|
|
@@ -15011,11 +15011,11 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15011
15011
|
emits: ["on-event"],
|
|
15012
15012
|
setup(l, { emit: _ }) {
|
|
15013
15013
|
const i = _, d = l, { data: r } = qe(d), s = F(() => {
|
|
15014
|
-
var O,
|
|
15015
|
-
return (
|
|
15014
|
+
var O, y;
|
|
15015
|
+
return (y = (O = r.value) == null ? void 0 : O.NOMBRE) == null ? void 0 : y.toLowerCase();
|
|
15016
15016
|
}), c = F(() => {
|
|
15017
|
-
var O
|
|
15018
|
-
return (
|
|
15017
|
+
var O;
|
|
15018
|
+
return (O = r.value) == null ? void 0 : O.DESCRIPCION;
|
|
15019
15019
|
}), f = F(
|
|
15020
15020
|
() => {
|
|
15021
15021
|
var O;
|
|
@@ -15038,8 +15038,8 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15038
15038
|
O[0]
|
|
15039
15039
|
);
|
|
15040
15040
|
}), m = F(() => {
|
|
15041
|
-
var O,
|
|
15042
|
-
return ($ = (
|
|
15041
|
+
var O, y, $, G, q, B;
|
|
15042
|
+
return ($ = (y = (O = r.value) == null ? void 0 : O.PROPS) == null ? void 0 : y.familia) != null && $.includes("movil") ? {
|
|
15043
15043
|
icon: "sym_o_mobile",
|
|
15044
15044
|
color: "#D60270"
|
|
15045
15045
|
} : (B = (q = (G = r.value) == null ? void 0 : G.PROPS) == null ? void 0 : q.familia) != null && B.includes("tv") ? {
|
|
@@ -15050,11 +15050,11 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15050
15050
|
color: "#00C1B5"
|
|
15051
15051
|
};
|
|
15052
15052
|
}), T = F(() => {
|
|
15053
|
-
var O,
|
|
15054
|
-
return Number((O = A.value) == null ? void 0 : O.VALOR) || ((
|
|
15053
|
+
var O, y;
|
|
15054
|
+
return Number((O = A.value) == null ? void 0 : O.VALOR) || ((y = r.value) == null ? void 0 : y.PRECIO) || 0;
|
|
15055
15055
|
}), S = F(() => {
|
|
15056
|
-
var
|
|
15057
|
-
return ((($ = (
|
|
15056
|
+
var y, $;
|
|
15057
|
+
return ((($ = (y = r.value) == null ? void 0 : y.DETALLE_PACK) == null ? void 0 : $.filter(
|
|
15058
15058
|
(G) => {
|
|
15059
15059
|
var q, B, j, Y, ce;
|
|
15060
15060
|
return ((j = (B = (q = G == null ? void 0 : G.DETALLE) == null ? void 0 : q.PROPS) == null ? void 0 : B.familia) == null ? void 0 : j.some(
|
|
@@ -15069,7 +15069,7 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15069
15069
|
};
|
|
15070
15070
|
});
|
|
15071
15071
|
}), N = () => {
|
|
15072
|
-
var O,
|
|
15072
|
+
var O, y;
|
|
15073
15073
|
i("on-event", {
|
|
15074
15074
|
code: "start_checkout_with_product",
|
|
15075
15075
|
payload: {
|
|
@@ -15077,7 +15077,7 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15077
15077
|
quantity: 1,
|
|
15078
15078
|
props: null,
|
|
15079
15079
|
id_precio: (O = A.value) == null ? void 0 : O.ID_PRECIO,
|
|
15080
|
-
id_divisa: (
|
|
15080
|
+
id_divisa: (y = A.value) == null ? void 0 : y.ID_DIVISA
|
|
15081
15081
|
}
|
|
15082
15082
|
});
|
|
15083
15083
|
}, b = () => {
|
|
@@ -15088,15 +15088,15 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15088
15088
|
}, C = F(() => {
|
|
15089
15089
|
const O = s.value;
|
|
15090
15090
|
if (!O || typeof O != "string") return "";
|
|
15091
|
-
const
|
|
15091
|
+
const y = O.toLowerCase(), $ = y.match(/internet\s+(\d+)\s*megas/);
|
|
15092
15092
|
let G = "";
|
|
15093
|
-
if ($ && (G = `${$[1]} megas`),
|
|
15094
|
-
const q =
|
|
15093
|
+
if ($ && (G = `${$[1]} megas`), y.includes("izzi tv") && (G = G ? `${G} + izzi tv` : "izzi tv"), y.includes("izzi movil")) {
|
|
15094
|
+
const q = y.match(/izzi\s+movil\s+(\d+)\s*gb/);
|
|
15095
15095
|
q ? G = `izzi móvil ${q[1]} GB` : G = "izzi móvil";
|
|
15096
15096
|
}
|
|
15097
15097
|
return G.trim();
|
|
15098
15098
|
});
|
|
15099
|
-
return (O,
|
|
15099
|
+
return (O, y) => (h(), te(vn, {
|
|
15100
15100
|
class: "card-custom",
|
|
15101
15101
|
loading: O.fetching,
|
|
15102
15102
|
"no-padding": "",
|
|
@@ -15125,19 +15125,19 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15125
15125
|
ue(" " + k(s.value), 1)
|
|
15126
15126
|
]),
|
|
15127
15127
|
L("div", oI, [
|
|
15128
|
-
!f.value && !v.value ? (h(),
|
|
15128
|
+
!f.value && !v.value ? (h(), R("span", rI, "desde")) : V("", !0),
|
|
15129
15129
|
L("span", sI, "$" + k(T.value), 1)
|
|
15130
15130
|
]),
|
|
15131
|
-
S.value.length ? (h(),
|
|
15132
|
-
(h(!0),
|
|
15133
|
-
(h(),
|
|
15131
|
+
S.value.length ? (h(), R("div", uI, [
|
|
15132
|
+
(h(!0), R(ge, null, Ce(S.value, (Y, ce) => (h(), R("div", cI, [
|
|
15133
|
+
(h(), R("img", {
|
|
15134
15134
|
key: ce,
|
|
15135
15135
|
src: Y.src,
|
|
15136
15136
|
class: "streaming-img q-mr-md"
|
|
15137
15137
|
}, null, 8, dI))
|
|
15138
15138
|
]))), 256))
|
|
15139
15139
|
])) : V("", !0),
|
|
15140
|
-
c.value ? (h(),
|
|
15140
|
+
c.value ? (h(), R("div", {
|
|
15141
15141
|
key: 1,
|
|
15142
15142
|
class: "description q-my-md",
|
|
15143
15143
|
style: _e({
|
|
@@ -15148,7 +15148,7 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15148
15148
|
]),
|
|
15149
15149
|
_: 1
|
|
15150
15150
|
}),
|
|
15151
|
-
O.isPublic ? (h(),
|
|
15151
|
+
O.isPublic ? (h(), R("div", pI, [
|
|
15152
15152
|
H(E(Ye), {
|
|
15153
15153
|
class: "full-width text-bold",
|
|
15154
15154
|
style: _e({ backgroundColor: m.value.color }),
|
|
@@ -15157,7 +15157,7 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15157
15157
|
unelevated: "",
|
|
15158
15158
|
onClick: mn(N, ["stop"])
|
|
15159
15159
|
}, {
|
|
15160
|
-
default: ne(() => [...
|
|
15160
|
+
default: ne(() => [...y[0] || (y[0] = [
|
|
15161
15161
|
ue(" Contratar ", -1)
|
|
15162
15162
|
])]),
|
|
15163
15163
|
_: 1
|
|
@@ -15166,14 +15166,14 @@ Facilidad de instalación, se fija a la pared con tornillos de forma sencilla. M
|
|
|
15166
15166
|
class: "q-mt-lg",
|
|
15167
15167
|
style: _e({ border: `0.5px solid ${m.value.color}` })
|
|
15168
15168
|
}, null, 4),
|
|
15169
|
-
(G = ($ = E(r)) == null ? void 0 : $.PROPS) != null && G.permanencia ? (h(),
|
|
15169
|
+
(G = ($ = E(r)) == null ? void 0 : $.PROPS) != null && G.permanencia ? (h(), R("div", _I, " Contrato a " + k((j = (B = (q = E(r)) == null ? void 0 : q.PROPS) == null ? void 0 : B.permanencia) == null ? void 0 : j.replace(/_/g, " ")), 1)) : V("", !0)
|
|
15170
15170
|
])) : V("", !0)
|
|
15171
15171
|
];
|
|
15172
15172
|
}),
|
|
15173
15173
|
_: 1
|
|
15174
15174
|
}, 8, ["loading", "unelevated", "border-radius", "hoverable", "style"]));
|
|
15175
15175
|
}
|
|
15176
|
-
}), mI = /* @__PURE__ */ ve(fI, [["__scopeId", "data-v-
|
|
15176
|
+
}), mI = /* @__PURE__ */ ve(fI, [["__scopeId", "data-v-b789f7a7"]]), gI = Object.freeze([
|
|
15177
15177
|
{
|
|
15178
15178
|
ID_PRODUCTO: 155,
|
|
15179
15179
|
NOMBRE: "izzi movil 5gb",
|