viewgate-wrapper 1.11.36 → 1.11.37
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/viewgate-wrapper.js
CHANGED
|
@@ -53,11 +53,11 @@ function tl() {
|
|
|
53
53
|
), x.$$typeof) {
|
|
54
54
|
case C:
|
|
55
55
|
return "Portal";
|
|
56
|
-
case
|
|
56
|
+
case v:
|
|
57
57
|
return x.displayName || "Context";
|
|
58
58
|
case L:
|
|
59
59
|
return (x._context.displayName || "Context") + ".Consumer";
|
|
60
|
-
case
|
|
60
|
+
case I:
|
|
61
61
|
var k = x.render;
|
|
62
62
|
return x = x.displayName, x || (x = k.displayName || k.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
|
|
63
63
|
case W:
|
|
@@ -221,7 +221,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
221
221
|
function u(x) {
|
|
222
222
|
return typeof x == "object" && x !== null && x.$$typeof === w;
|
|
223
223
|
}
|
|
224
|
-
var f = Tt, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), C = /* @__PURE__ */ Symbol.for("react.portal"), U = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), L = /* @__PURE__ */ Symbol.for("react.consumer"),
|
|
224
|
+
var f = Tt, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), C = /* @__PURE__ */ Symbol.for("react.portal"), U = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), L = /* @__PURE__ */ Symbol.for("react.consumer"), v = /* @__PURE__ */ Symbol.for("react.context"), I = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), N = /* @__PURE__ */ Symbol.for("react.suspense_list"), W = /* @__PURE__ */ Symbol.for("react.memo"), R = /* @__PURE__ */ Symbol.for("react.lazy"), cA = /* @__PURE__ */ Symbol.for("react.activity"), IA = /* @__PURE__ */ Symbol.for("react.client.reference"), _ = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, FA = Object.prototype.hasOwnProperty, AA = Array.isArray, HA = console.createTask ? console.createTask : function() {
|
|
225
225
|
return null;
|
|
226
226
|
};
|
|
227
227
|
f = {
|
|
@@ -497,13 +497,13 @@ async function Ei(...t) {
|
|
|
497
497
|
async function B(u) {
|
|
498
498
|
const [f] = wo(u);
|
|
499
499
|
if (!f) return;
|
|
500
|
-
const [w, C] = yi(A, f), [U, F, m, L] = Te.get(A),
|
|
500
|
+
const [w, C] = yi(A, f), [U, F, m, L] = Te.get(A), v = () => {
|
|
501
501
|
const AA = U[f];
|
|
502
502
|
return (Ce(n.revalidate) ? n.revalidate(w().data, u) : n.revalidate !== !1) && (delete m[f], delete L[f], AA && AA[0]) ? AA[0](Ui).then(() => w().data) : w().data;
|
|
503
503
|
};
|
|
504
504
|
if (t.length < 3)
|
|
505
|
-
return
|
|
506
|
-
let
|
|
505
|
+
return v();
|
|
506
|
+
let I = r, O, N = !1;
|
|
507
507
|
const W = Pn();
|
|
508
508
|
F[f] = [
|
|
509
509
|
W,
|
|
@@ -513,25 +513,25 @@ async function Ei(...t) {
|
|
|
513
513
|
if (R && (c = Ce(c) ? c(FA, IA) : c, C({
|
|
514
514
|
data: c,
|
|
515
515
|
_c: FA
|
|
516
|
-
})), Ce(
|
|
516
|
+
})), Ce(I))
|
|
517
517
|
try {
|
|
518
|
-
|
|
518
|
+
I = I(FA);
|
|
519
519
|
} catch (AA) {
|
|
520
520
|
O = AA, N = !0;
|
|
521
521
|
}
|
|
522
|
-
if (
|
|
523
|
-
if (
|
|
522
|
+
if (I && Fi(I))
|
|
523
|
+
if (I = await I.catch((AA) => {
|
|
524
524
|
O = AA, N = !0;
|
|
525
525
|
}), W !== F[f][0]) {
|
|
526
526
|
if (N) throw O;
|
|
527
|
-
return
|
|
527
|
+
return I;
|
|
528
528
|
} else N && R && g(O) && (o = !0, C({
|
|
529
529
|
data: FA,
|
|
530
530
|
_c: MA
|
|
531
531
|
}));
|
|
532
532
|
if (o && !N)
|
|
533
533
|
if (Ce(o)) {
|
|
534
|
-
const AA = o(
|
|
534
|
+
const AA = o(I, FA);
|
|
535
535
|
C({
|
|
536
536
|
data: AA,
|
|
537
537
|
error: MA,
|
|
@@ -539,11 +539,11 @@ async function Ei(...t) {
|
|
|
539
539
|
});
|
|
540
540
|
} else
|
|
541
541
|
C({
|
|
542
|
-
data:
|
|
542
|
+
data: I,
|
|
543
543
|
error: MA,
|
|
544
544
|
_c: MA
|
|
545
545
|
});
|
|
546
|
-
if (F[f][1] = Pn(), Promise.resolve(
|
|
546
|
+
if (F[f][1] = Pn(), Promise.resolve(v()).then(() => {
|
|
547
547
|
C({
|
|
548
548
|
_c: MA
|
|
549
549
|
});
|
|
@@ -551,7 +551,7 @@ async function Ei(...t) {
|
|
|
551
551
|
if (d) throw O;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
return
|
|
554
|
+
return I;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
const Aa = (t, A) => {
|
|
@@ -692,7 +692,7 @@ const ln = Tt.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
692
692
|
}), dn = {
|
|
693
693
|
dedupe: !0
|
|
694
694
|
}, ea = Promise.resolve(MA), Ol = () => Oe, Kl = (t, A, e) => {
|
|
695
|
-
const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: a, revalidateIfStale: c, refreshInterval: g, refreshWhenHidden: d, refreshWhenOffline: B, keepPreviousData: u, strictServerPrefetchWarning: f } = e, [w, C, U, F] = Te.get(r), [m, L] = wo(t),
|
|
695
|
+
const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: a, revalidateIfStale: c, refreshInterval: g, refreshWhenHidden: d, refreshWhenOffline: B, keepPreviousData: u, strictServerPrefetchWarning: f } = e, [w, C, U, F] = Te.get(r), [m, L] = wo(t), v = UA(!1), I = UA(!1), O = UA(m), N = UA(A), W = UA(e), R = () => W.current, cA = () => R().isVisible() && R().isOnline(), [IA, _, FA, AA] = yi(r, m), HA = UA({}).current, J = j(o) ? j(e.fallback) ? MA : e.fallback[m] : o, ee = (Y, tA) => {
|
|
696
696
|
for (const lA in HA) {
|
|
697
697
|
const gA = lA;
|
|
698
698
|
if (gA === "data") {
|
|
@@ -702,7 +702,7 @@ const ln = Tt.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
702
702
|
return !1;
|
|
703
703
|
}
|
|
704
704
|
return !0;
|
|
705
|
-
}, te = !
|
|
705
|
+
}, te = !v.current, De = st(() => {
|
|
706
706
|
const Y = IA(), tA = AA(), lA = (uA) => {
|
|
707
707
|
const dA = Xe(uA);
|
|
708
708
|
return delete dA._k, (() => {
|
|
@@ -745,10 +745,10 @@ const ln = Tt.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
745
745
|
const ye = !m || !A || R().isPaused() || x && !j(eA) ? !1 : te && !j(a) ? a : n ? j(X) ? !1 : c : j(X) || c, Re = te && ye, jA = j(re.isValidating) ? Re : re.isValidating, he = j(re.isLoading) ? Re : re.isLoading, SA = de(
|
|
746
746
|
async (Y) => {
|
|
747
747
|
const tA = N.current;
|
|
748
|
-
if (!m || !tA ||
|
|
748
|
+
if (!m || !tA || I.current || R().isPaused())
|
|
749
749
|
return !1;
|
|
750
750
|
let lA, gA, ie = !0;
|
|
751
|
-
const XA = Y || {}, uA = !U[m] || !XA.dedupe, dA = () => Zo ? !
|
|
751
|
+
const XA = Y || {}, uA = !U[m] || !XA.dedupe, dA = () => Zo ? !I.current && m === O.current && v.current : m === O.current, Ee = {
|
|
752
752
|
isValidating: !1,
|
|
753
753
|
isLoading: !1
|
|
754
754
|
}, pe = () => {
|
|
@@ -831,10 +831,10 @@ const ln = Tt.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
831
831
|
return SA(XA);
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
|
-
return
|
|
834
|
+
return I.current = !1, O.current = m, v.current = !0, _({
|
|
835
835
|
_k: L
|
|
836
836
|
}), ye && (U[m] || (j(X) || It ? Y() : fl(Y))), () => {
|
|
837
|
-
|
|
837
|
+
I.current = !0, gA();
|
|
838
838
|
};
|
|
839
839
|
}, [
|
|
840
840
|
m
|
|
@@ -858,7 +858,7 @@ const ln = Tt.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
858
858
|
]), qc(se), n) {
|
|
859
859
|
if (!Zo && It && z)
|
|
860
860
|
throw new Error("Fallback data is required when using Suspense in SSR.");
|
|
861
|
-
z && (N.current = A, W.current = e,
|
|
861
|
+
z && (N.current = A, W.current = e, I.current = !1);
|
|
862
862
|
const Y = F[m], tA = !j(Y) && z ? Ye(Y) : ea;
|
|
863
863
|
if (ln(tA), !j(eA) && z)
|
|
864
864
|
throw eA;
|
|
@@ -2541,22 +2541,22 @@ const Ue = (t) => t.type === 15, bA = (t) => t.type === 17, M = (t) => t.type ==
|
|
|
2541
2541
|
const n = (m, L) => {
|
|
2542
2542
|
if (bA(L))
|
|
2543
2543
|
return L.number;
|
|
2544
|
-
const
|
|
2544
|
+
const v = (O) => O === "r" || O === "x" ? 0 : O === "g" || O === "y" ? 1 : 2;
|
|
2545
2545
|
if (M(L)) {
|
|
2546
|
-
const O =
|
|
2546
|
+
const O = v(L.value);
|
|
2547
2547
|
return m[O];
|
|
2548
2548
|
}
|
|
2549
|
-
const
|
|
2549
|
+
const I = (O) => {
|
|
2550
2550
|
const N = O.filter(DA);
|
|
2551
2551
|
let W = "(";
|
|
2552
2552
|
for (const R of N)
|
|
2553
|
-
W += R.type === 18 && R.name === "calc" ?
|
|
2553
|
+
W += R.type === 18 && R.name === "calc" ? I(R.values) : bA(R) ? R.number : R.type === 6 || M(R) ? R.value : "";
|
|
2554
2554
|
return W += ")", W;
|
|
2555
2555
|
};
|
|
2556
2556
|
if (L.type === 18) {
|
|
2557
2557
|
const O = L.values.filter(DA);
|
|
2558
2558
|
if (L.name === "calc") {
|
|
2559
|
-
const N =
|
|
2559
|
+
const N = I(O).replace(/r|x/, m[0].toString()).replace(/g|y/, m[1].toString()).replace(/b|z/, m[2].toString());
|
|
2560
2560
|
return new Function("return " + N)();
|
|
2561
2561
|
}
|
|
2562
2562
|
}
|
|
@@ -2567,21 +2567,21 @@ const Ue = (t) => t.type === 15, bA = (t) => t.type === 17, M = (t) => t.type ==
|
|
|
2567
2567
|
if (typeof xe[e[1].value.toUpperCase()] > "u")
|
|
2568
2568
|
throw new Error("Attempting to use unknown color in relative color 'from'");
|
|
2569
2569
|
{
|
|
2570
|
-
const L = St(t, e[1].value),
|
|
2570
|
+
const L = St(t, e[1].value), v = 255 & L, I = 255 & L >> 8, O = 255 & L >> 16;
|
|
2571
2571
|
c = [
|
|
2572
2572
|
{ type: 17, number: 255 & L >> 24, flags: 1 },
|
|
2573
2573
|
{ type: 17, number: O, flags: 1 },
|
|
2574
|
-
{ type: 17, number:
|
|
2575
|
-
{ type: 17, number:
|
|
2574
|
+
{ type: 17, number: I, flags: 1 },
|
|
2575
|
+
{ type: 17, number: v > 1 ? v / 255 : v, flags: 1 }
|
|
2576
2576
|
];
|
|
2577
2577
|
}
|
|
2578
2578
|
} else if (e[1].type === 5) {
|
|
2579
|
-
const [m, L,
|
|
2579
|
+
const [m, L, v, I] = nc(e[1]);
|
|
2580
2580
|
c = [
|
|
2581
2581
|
{ type: 17, number: m, flags: 1 },
|
|
2582
2582
|
{ type: 17, number: L, flags: 1 },
|
|
2583
|
-
{ type: 17, number:
|
|
2584
|
-
{ type: 17, number:
|
|
2583
|
+
{ type: 17, number: v, flags: 1 },
|
|
2584
|
+
{ type: 17, number: I > 1 ? I / 255 : I, flags: 1 }
|
|
2585
2585
|
];
|
|
2586
2586
|
}
|
|
2587
2587
|
if (c.length === 0)
|
|
@@ -5530,8 +5530,8 @@ class Ep {
|
|
|
5530
5530
|
u.push((s + o) / r.width), u.push((d + c) / r.width), u.push((n + B) / r.height), u.push((a + g) / r.height);
|
|
5531
5531
|
const f = Math.max(...u);
|
|
5532
5532
|
f > 1 && (s /= f, n /= f, o /= f, a /= f, c /= f, g /= f, d /= f, B /= f);
|
|
5533
|
-
const w = r.width - o, C = r.height - g, U = r.width - c, F = r.height - B, m = e.borderTopWidth, L = e.borderRightWidth,
|
|
5534
|
-
this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? aA(r.left +
|
|
5533
|
+
const w = r.width - o, C = r.height - g, U = r.width - c, F = r.height - B, m = e.borderTopWidth, L = e.borderRightWidth, v = e.borderBottomWidth, I = e.borderLeftWidth, O = G(e.paddingTop, A.bounds.width), N = G(e.paddingRight, A.bounds.width), W = G(e.paddingBottom, A.bounds.width), R = G(e.paddingLeft, A.bounds.width);
|
|
5534
|
+
this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? aA(r.left + I / 3, r.top + m / 3, s - I / 3, n - m / 3, Z.TOP_LEFT) : new H(r.left + I / 3, r.top + m / 3), this.topRightBorderDoubleOuterBox = s > 0 || n > 0 ? aA(r.left + w, r.top + m / 3, o - L / 3, a - m / 3, Z.TOP_RIGHT) : new H(r.left + r.width - L / 3, r.top + m / 3), this.bottomRightBorderDoubleOuterBox = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c - L / 3, g - v / 3, Z.BOTTOM_RIGHT) : new H(r.left + r.width - L / 3, r.top + r.height - v / 3), this.bottomLeftBorderDoubleOuterBox = d > 0 || B > 0 ? aA(r.left + I / 3, r.top + F, d - I / 3, B - v / 3, Z.BOTTOM_LEFT) : new H(r.left + I / 3, r.top + r.height - v / 3), this.topLeftBorderDoubleInnerBox = s > 0 || n > 0 ? aA(r.left + I * 2 / 3, r.top + m * 2 / 3, s - I * 2 / 3, n - m * 2 / 3, Z.TOP_LEFT) : new H(r.left + I * 2 / 3, r.top + m * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || n > 0 ? aA(r.left + w, r.top + m * 2 / 3, o - L * 2 / 3, a - m * 2 / 3, Z.TOP_RIGHT) : new H(r.left + r.width - L * 2 / 3, r.top + m * 2 / 3), this.bottomRightBorderDoubleInnerBox = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c - L * 2 / 3, g - v * 2 / 3, Z.BOTTOM_RIGHT) : new H(r.left + r.width - L * 2 / 3, r.top + r.height - v * 2 / 3), this.bottomLeftBorderDoubleInnerBox = d > 0 || B > 0 ? aA(r.left + I * 2 / 3, r.top + F, d - I * 2 / 3, B - v * 2 / 3, Z.BOTTOM_LEFT) : new H(r.left + I * 2 / 3, r.top + r.height - v * 2 / 3), this.topLeftBorderStroke = s > 0 || n > 0 ? aA(r.left + I / 2, r.top + m / 2, s - I / 2, n - m / 2, Z.TOP_LEFT) : new H(r.left + I / 2, r.top + m / 2), this.topRightBorderStroke = s > 0 || n > 0 ? aA(r.left + w, r.top + m / 2, o - L / 2, a - m / 2, Z.TOP_RIGHT) : new H(r.left + r.width - L / 2, r.top + m / 2), this.bottomRightBorderStroke = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c - L / 2, g - v / 2, Z.BOTTOM_RIGHT) : new H(r.left + r.width - L / 2, r.top + r.height - v / 2), this.bottomLeftBorderStroke = d > 0 || B > 0 ? aA(r.left + I / 2, r.top + F, d - I / 2, B - v / 2, Z.BOTTOM_LEFT) : new H(r.left + I / 2, r.top + r.height - v / 2), this.topLeftBorderBox = s > 0 || n > 0 ? aA(r.left, r.top, s, n, Z.TOP_LEFT) : new H(r.left, r.top), this.topRightBorderBox = o > 0 || a > 0 ? aA(r.left + w, r.top, o, a, Z.TOP_RIGHT) : new H(r.left + r.width, r.top), this.bottomRightBorderBox = c > 0 || g > 0 ? aA(r.left + U, r.top + C, c, g, Z.BOTTOM_RIGHT) : new H(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = d > 0 || B > 0 ? aA(r.left, r.top + F, d, B, Z.BOTTOM_LEFT) : new H(r.left, r.top + r.height), this.topLeftPaddingBox = s > 0 || n > 0 ? aA(r.left + I, r.top + m, Math.max(0, s - I), Math.max(0, n - m), Z.TOP_LEFT) : new H(r.left + I, r.top + m), this.topRightPaddingBox = o > 0 || a > 0 ? aA(r.left + Math.min(w, r.width - L), r.top + m, w > r.width + L ? 0 : Math.max(0, o - L), Math.max(0, a - m), Z.TOP_RIGHT) : new H(r.left + r.width - L, r.top + m), this.bottomRightPaddingBox = c > 0 || g > 0 ? aA(r.left + Math.min(U, r.width - I), r.top + Math.min(C, r.height - v), Math.max(0, c - L), Math.max(0, g - v), Z.BOTTOM_RIGHT) : new H(r.left + r.width - L, r.top + r.height - v), this.bottomLeftPaddingBox = d > 0 || B > 0 ? aA(r.left + I, r.top + Math.min(F, r.height - v), Math.max(0, d - I), Math.max(0, B - v), Z.BOTTOM_LEFT) : new H(r.left + I, r.top + r.height - v), this.topLeftContentBox = s > 0 || n > 0 ? aA(r.left + I + R, r.top + m + O, Math.max(0, s - (I + R)), Math.max(0, n - (m + O)), Z.TOP_LEFT) : new H(r.left + I + R, r.top + m + O), this.topRightContentBox = o > 0 || a > 0 ? aA(r.left + Math.min(w, r.width + I + R), r.top + m + O, w > r.width + I + R ? 0 : o - I + R, a - (m + O), Z.TOP_RIGHT) : new H(r.left + r.width - (L + N), r.top + m + O), this.bottomRightContentBox = c > 0 || g > 0 ? aA(r.left + Math.min(U, r.width - (I + R)), r.top + Math.min(C, r.height + m + O), Math.max(0, c - (L + N)), g - (v + W), Z.BOTTOM_RIGHT) : new H(r.left + r.width - (L + N), r.top + r.height - (v + W)), this.bottomLeftContentBox = d > 0 || B > 0 ? aA(r.left + I + R, r.top + F, Math.max(0, d - (I + R)), B - (v + W), Z.BOTTOM_LEFT) : new H(r.left + I + R, r.top + r.height - (v + W));
|
|
5535
5535
|
}
|
|
5536
5536
|
}
|
|
5537
5537
|
var Z;
|
|
@@ -6338,14 +6338,14 @@ class Zp {
|
|
|
6338
6338
|
});
|
|
6339
6339
|
const C = B[w - 1];
|
|
6340
6340
|
if (C && C.length > 0 && r) {
|
|
6341
|
-
const U = C.map((
|
|
6342
|
-
n.forEach((
|
|
6343
|
-
switch (
|
|
6341
|
+
const U = C.map((I) => I.text).join(""), F = C[0], m = r.width - (F.bounds.left - r.left), L = this.truncateTextWithEllipsis(U, m, e.letterSpacing), v = new lt(L, F.bounds);
|
|
6342
|
+
n.forEach((I) => {
|
|
6343
|
+
switch (I) {
|
|
6344
6344
|
case 0:
|
|
6345
|
-
this.ctx.fillStyle = oA(e.color), e.letterSpacing === 0 ? this.ctx.fillText(L, F.bounds.left, F.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(
|
|
6345
|
+
this.ctx.fillStyle = oA(e.color), e.letterSpacing === 0 ? this.ctx.fillText(L, F.bounds.left, F.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(v, e.letterSpacing, e.fontSize.number, (O, N, W) => this.ctx.fillText(O, N, W));
|
|
6346
6346
|
break;
|
|
6347
6347
|
case 1:
|
|
6348
|
-
e.webkitTextStrokeWidth && L.trim().length && (this.ctx.strokeStyle = oA(e.webkitTextStrokeColor), this.ctx.lineWidth = e.webkitTextStrokeWidth, this.ctx.lineJoin = typeof window < "u" && window.chrome ? "miter" : "round", e.letterSpacing === 0 ? this.ctx.strokeText(L, F.bounds.left, F.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(
|
|
6348
|
+
e.webkitTextStrokeWidth && L.trim().length && (this.ctx.strokeStyle = oA(e.webkitTextStrokeColor), this.ctx.lineWidth = e.webkitTextStrokeWidth, this.ctx.lineJoin = typeof window < "u" && window.chrome ? "miter" : "round", e.letterSpacing === 0 ? this.ctx.strokeText(L, F.bounds.left, F.bounds.top + e.fontSize.number) : this.iterateLettersWithLetterSpacing(v, e.letterSpacing, e.fontSize.number, (O, N, W) => this.ctx.strokeText(O, N, W)), this.ctx.strokeStyle = "", this.ctx.lineWidth = 0, this.ctx.lineJoin = "miter");
|
|
6349
6349
|
break;
|
|
6350
6350
|
}
|
|
6351
6351
|
});
|
|
@@ -6459,8 +6459,8 @@ class yo extends Rc {
|
|
|
6459
6459
|
else if (U === 8)
|
|
6460
6460
|
d > w ? (c += (d - w) / 2, d = w) : (u += (w - d) / 2, w = d), B > C ? (g += (B - C) / 2, B = C) : (f += (C - B) / 2, C = B);
|
|
6461
6461
|
else if (U === 16) {
|
|
6462
|
-
const L = m > F ? w : C * m,
|
|
6463
|
-
L <
|
|
6462
|
+
const L = m > F ? w : C * m, v = d > w ? d : w;
|
|
6463
|
+
L < v ? m > F ? (C = w / m, f += (o.height - C) / 2) : (w = C * m, u += (o.width - w) / 2) : (d > w ? (c += (d - w) / 2, d = w) : (u += (w - d) / 2, w = d), B > C ? (g += (B - C) / 2, B = C) : (f += (C - B) / 2, C = B));
|
|
6464
6464
|
}
|
|
6465
6465
|
this.ctx.drawImage(r, c, g, d, B, u, f, w, C), this.ctx.restore();
|
|
6466
6466
|
}
|
|
@@ -7421,22 +7421,22 @@ const ww = (t) => {
|
|
|
7421
7421
|
const m = new si(f, t, F), L = m.clonedReferenceElement;
|
|
7422
7422
|
if (!L)
|
|
7423
7423
|
throw new Error("Unable to find element in cloned iframe");
|
|
7424
|
-
const
|
|
7424
|
+
const v = await m.toIFrame(r, u);
|
|
7425
7425
|
C.end("clone");
|
|
7426
|
-
const { width:
|
|
7426
|
+
const { width: I, height: O, left: N, top: W } = Fo(L) || ip(L) ? yd(L.ownerDocument) : Is(f, L), R = Cw(f, L, A.backgroundColor), cA = {
|
|
7427
7427
|
canvas: A.canvas,
|
|
7428
7428
|
backgroundColor: R,
|
|
7429
7429
|
scale: A.scale ?? s.devicePixelRatio ?? 1,
|
|
7430
7430
|
x: (A.x ?? 0) + N,
|
|
7431
7431
|
y: (A.y ?? 0) + W,
|
|
7432
|
-
width: A.width ?? Math.ceil(
|
|
7432
|
+
width: A.width ?? Math.ceil(I),
|
|
7433
7433
|
height: A.height ?? Math.ceil(O),
|
|
7434
7434
|
imageSmoothing: A.imageSmoothing,
|
|
7435
7435
|
imageSmoothingQuality: A.imageSmoothingQuality
|
|
7436
7436
|
};
|
|
7437
7437
|
let IA, _;
|
|
7438
7438
|
try {
|
|
7439
|
-
return U ? (f.logger.debug("Document cloned, using foreign object rendering"), C.start("render-foreignobject"), IA = await new rw(f, cA).render(L), C.end("render-foreignobject")) : (f.logger.debug(`Document cloned, element located at ${N},${W} with size ${
|
|
7439
|
+
return U ? (f.logger.debug("Document cloned, using foreign object rendering"), C.start("render-foreignobject"), IA = await new rw(f, cA).render(L), C.end("render-foreignobject")) : (f.logger.debug(`Document cloned, element located at ${N},${W} with size ${I}x${O} using computed rendering`), f.logger.debug("Starting DOM parsing"), C.start("parse"), _ = bc(f, L), C.end("parse"), R === _.styles.backgroundColor && (_.styles.backgroundColor = xe.TRANSPARENT), f.logger.debug(`Starting renderer for element at ${cA.x},${cA.y} with size ${cA.width}x${cA.height}`), C.start("render"), IA = await new yo(f, cA).render(_), C.end("render")), C.start("cleanup"), (A.removeContainer ?? !0) && (si.destroy(v) || f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), C.end("cleanup"), C.end("total"), f.logger.debug("Finished rendering"), w && C.logSummary(), IA;
|
|
7440
7440
|
} finally {
|
|
7441
7441
|
_ && _.restoreTree();
|
|
7442
7442
|
}
|
|
@@ -7741,8 +7741,8 @@ const ww = (t) => {
|
|
|
7741
7741
|
let F = t[n];
|
|
7742
7742
|
for (; F; ) {
|
|
7743
7743
|
if (F._debugSource) {
|
|
7744
|
-
const { fileName: m, lineNumber: L, columnNumber:
|
|
7745
|
-
r = `${m}:${L}${
|
|
7744
|
+
const { fileName: m, lineNumber: L, columnNumber: v } = F._debugSource;
|
|
7745
|
+
r = `${m}:${L}${v ? ":" + v : ""}`;
|
|
7746
7746
|
break;
|
|
7747
7747
|
}
|
|
7748
7748
|
F = F.return;
|
|
@@ -7814,7 +7814,7 @@ const ww = (t) => {
|
|
|
7814
7814
|
window.removeEventListener("popstate", l), window.history.pushState = h, window.history.replaceState = p;
|
|
7815
7815
|
};
|
|
7816
7816
|
}, []);
|
|
7817
|
-
const [u, f] = D(!1), [w, C] = D("medium"), [U, F] = D("medium"), [m, L] = D("all"), [
|
|
7817
|
+
const [u, f] = D(!1), [w, C] = D("medium"), [U, F] = D("medium"), [m, L] = D("all"), [v, I] = D(null), [O, N] = D(null), [W, R] = D(""), [cA, IA] = D(!1), [_, FA] = D([]), [AA, HA] = D([
|
|
7818
7818
|
{ name: r.figmaPrimaryDesign, link: "" }
|
|
7819
7819
|
]), [J, ee] = D([]), [te, De] = D([]), [re, x] = D(null), [k, X] = D(!1), [eA, fe] = D(""), [se, z] = D(!1), [ZA, gt] = D("down");
|
|
7820
7820
|
UA(null);
|
|
@@ -7836,9 +7836,11 @@ const ww = (t) => {
|
|
|
7836
7836
|
const K = await h.json().catch(() => ({}));
|
|
7837
7837
|
throw new Error(K.error || K.message || "Invalid token");
|
|
7838
7838
|
}
|
|
7839
|
-
const p = await h.json()
|
|
7840
|
-
|
|
7841
|
-
|
|
7839
|
+
const p = await h.json();
|
|
7840
|
+
console.log("[ViewGate] Auth data received:", p);
|
|
7841
|
+
const Q = p.user || (p.email ? p : null), E = p.role || Q?.role || "dev";
|
|
7842
|
+
if (console.log("[ViewGate] Identified as:", Q?.email, Q?.name, "Role:", E), !Q) throw new Error("User not found in token");
|
|
7843
|
+
$e(Ze.trim()), Ps(Q), js(E), localStorage.setItem("vg_token", Ze.trim()), Q && localStorage.setItem("vg_user", JSON.stringify(Q)), E && localStorage.setItem("vg_role", E), A(e === "es" ? "Sesión iniciada correctamente" : r.successHeader, "success"), Eo(""), Io(!1), vo(!1), Nc(!1), Xs();
|
|
7842
7844
|
} catch (h) {
|
|
7843
7845
|
let p = h.message || (e === "es" ? "Clave inválida o expirada" : "Invalid or expired key");
|
|
7844
7846
|
p.toLowerCase().includes("invalid or expired token") && (p = r.invalidToken), A(p, "error");
|
|
@@ -7854,7 +7856,7 @@ const ww = (t) => {
|
|
|
7854
7856
|
OA(() => {
|
|
7855
7857
|
const l = (h) => {
|
|
7856
7858
|
if (h.data?.type?.startsWith("VIEWGATE_") && console.log("[VIEWGATE_WRAPPER] Received message:", h.data.type, h.data), h.data?.type === "VIEWGATE_AUTH_SUCCESS" || h.data?.type === "VIEWGATE_SILENT_AUTH") {
|
|
7857
|
-
const { token: p, user: Q, role:
|
|
7859
|
+
const { token: p, user: Q, role: E, error: K } = h.data;
|
|
7858
7860
|
if (console.log("[VIEWGATE_WRAPPER] Auth process:", { type: h.data.type, hasToken: !!p, hasUser: !!Q }), K === "NO_SESSION")
|
|
7859
7861
|
return;
|
|
7860
7862
|
const T = sessionStorage.getItem("vg_token");
|
|
@@ -7863,7 +7865,7 @@ const ww = (t) => {
|
|
|
7863
7865
|
const S = n;
|
|
7864
7866
|
t((sA) => typeof sA == "string" && S && sA.startsWith(S), void 0, { revalidate: !0 }), Ye([]);
|
|
7865
7867
|
}
|
|
7866
|
-
p && ($e(p), sessionStorage.setItem("vg_token", p), localStorage.setItem("vg_token", p), Q && (Ps(Q), js(
|
|
7868
|
+
p && ($e(p), sessionStorage.setItem("vg_token", p), localStorage.setItem("vg_token", p), Q && (Ps(Q), js(E || Q.role || "dev"), sessionStorage.setItem("vg_user", JSON.stringify(Q)), localStorage.setItem("vg_user", JSON.stringify(Q))), h.data.type === "VIEWGATE_AUTH_SUCCESS" && A(e === "es" ? "Sesión iniciada correctamente" : "Logged in successfully", "success"));
|
|
7867
7869
|
}
|
|
7868
7870
|
if (h.data?.type === "VIEWGATE_LOGOUT") {
|
|
7869
7871
|
if (console.log("[VIEWGATE_WRAPPER] Logout message received"), sessionStorage.getItem("vg_token")) {
|
|
@@ -7924,9 +7926,9 @@ const ww = (t) => {
|
|
|
7924
7926
|
if (!p.ok) {
|
|
7925
7927
|
p.status === 403 && Gt();
|
|
7926
7928
|
const Q = await p.json().catch(() => ({}));
|
|
7927
|
-
let
|
|
7928
|
-
|
|
7929
|
-
const K = new Error(
|
|
7929
|
+
let E = Q.message || Q.error || "Fetch failed";
|
|
7930
|
+
E.toLowerCase().includes("invalid or expired token") && (E = r.invalidToken);
|
|
7931
|
+
const K = new Error(E);
|
|
7930
7932
|
throw K.status = p.status, K;
|
|
7931
7933
|
}
|
|
7932
7934
|
return Ho(!0), p.json();
|
|
@@ -7952,8 +7954,8 @@ const ww = (t) => {
|
|
|
7952
7954
|
const [kA, Sr] = D(null), Ko = UA(null), [ut, Wc] = D([]), Do = st(() => {
|
|
7953
7955
|
const l = (eA || "").toLowerCase().trim();
|
|
7954
7956
|
return l ? te.filter((h) => {
|
|
7955
|
-
const p = h.path && h.path.toLowerCase().includes(l), Q = h.description && h.description.toLowerCase().includes(l),
|
|
7956
|
-
return p || Q ||
|
|
7957
|
+
const p = h.path && h.path.toLowerCase().includes(l), Q = h.description && h.description.toLowerCase().includes(l), E = h.method && h.method.toLowerCase().includes(l);
|
|
7958
|
+
return p || Q || E;
|
|
7957
7959
|
}) : te;
|
|
7958
7960
|
}, [te, eA]), Ro = st(() => {
|
|
7959
7961
|
const l = {}, h = e === "es" ? "Seleccionados" : "Selected";
|
|
@@ -7969,7 +7971,7 @@ const ww = (t) => {
|
|
|
7969
7971
|
}, [Do, J, e]), Js = st(() => {
|
|
7970
7972
|
let l = Array.isArray(SA) ? SA : [];
|
|
7971
7973
|
if (dA) {
|
|
7972
|
-
const p = ut.find((Q) => Q.annotations && Array.isArray(Q.annotations) && Q.annotations.some((
|
|
7974
|
+
const p = ut.find((Q) => Q.annotations && Array.isArray(Q.annotations) && Q.annotations.some((E) => E._id === dA));
|
|
7973
7975
|
p ? l = p.annotations : l = l.filter((Q) => Q._id === dA);
|
|
7974
7976
|
}
|
|
7975
7977
|
return l = l.filter((p) => p.status !== "completed" && p.status !== "done"), window.location.href.includes("viewgate-backlog") || (kA === "pending" ? l = l.filter((p) => p.status !== "ready_for_review") : kA === "ready" && (l = l.filter((p) => p.status === "ready_for_review"))), m !== "all" && (l = l.filter((p) => (p.priority || "medium") === m)), l;
|
|
@@ -7997,8 +7999,8 @@ const ww = (t) => {
|
|
|
7997
7999
|
if (!Mt) return;
|
|
7998
8000
|
const l = (p) => {
|
|
7999
8001
|
if (Mt && be.current) {
|
|
8000
|
-
const Q = p.clientX - be.current.x,
|
|
8001
|
-
let K = be.current.bottom -
|
|
8002
|
+
const Q = p.clientX - be.current.x, E = p.clientY - be.current.y;
|
|
8003
|
+
let K = be.current.bottom - E, T = be.current.right - Q;
|
|
8002
8004
|
const S = 10;
|
|
8003
8005
|
K = Math.max(S, Math.min(window.innerHeight - be.current.height - S, K)), T = Math.max(S, Math.min(window.innerWidth - be.current.width - S, T)), Xc({ bottom: K, right: T });
|
|
8004
8006
|
}
|
|
@@ -8021,9 +8023,9 @@ const ww = (t) => {
|
|
|
8021
8023
|
const hA = V.getAttribute(Be);
|
|
8022
8024
|
hA && !p.has(hA) && V.removeAttribute(Be);
|
|
8023
8025
|
});
|
|
8024
|
-
const Q = Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], [class*="modal" i], [class*="dialog" i], .fixed, .modal-backdrop, .fixed.inset-0')),
|
|
8025
|
-
let K = !!
|
|
8026
|
-
console.log("[ViewGate Debug] Modal Detection:", { potentialModals: Q.length, activeModal:
|
|
8026
|
+
const Q = Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], [class*="modal" i], [class*="dialog" i], .fixed, .modal-backdrop, .fixed.inset-0')), E = Q.find((V) => vs(V) && Le(V));
|
|
8027
|
+
let K = !!E;
|
|
8028
|
+
console.log("[ViewGate Debug] Modal Detection:", { potentialModals: Q.length, activeModal: E, isAnyModalOpen: K });
|
|
8027
8029
|
const T = /* @__PURE__ */ new Map();
|
|
8028
8030
|
h.forEach((V) => {
|
|
8029
8031
|
if (!V || !V.reference) return;
|
|
@@ -8103,13 +8105,13 @@ const ww = (t) => {
|
|
|
8103
8105
|
}, 32));
|
|
8104
8106
|
});
|
|
8105
8107
|
Zs.current = p;
|
|
8106
|
-
const Q = new ResizeObserver(() => h()),
|
|
8108
|
+
const Q = new ResizeObserver(() => h()), E = () => h();
|
|
8107
8109
|
return h(), p.observe(document.documentElement, {
|
|
8108
8110
|
childList: !0,
|
|
8109
8111
|
subtree: !0,
|
|
8110
8112
|
attributes: !0
|
|
8111
|
-
}), Q.observe(document.documentElement), window.addEventListener("scroll",
|
|
8112
|
-
l && clearTimeout(l), p.disconnect(), Q.disconnect(), window.removeEventListener("scroll",
|
|
8113
|
+
}), Q.observe(document.documentElement), window.addEventListener("scroll", E, { capture: !0, passive: !0 }), () => {
|
|
8114
|
+
l && clearTimeout(l), p.disconnect(), Q.disconnect(), window.removeEventListener("scroll", E, !0), wt.current && cancelAnimationFrame(wt.current), Zs.current = null;
|
|
8113
8115
|
};
|
|
8114
8116
|
}, [u, SA, No, jA, dA, g]);
|
|
8115
8117
|
const qs = de((l) => {
|
|
@@ -8133,11 +8135,11 @@ const ww = (t) => {
|
|
|
8133
8135
|
if (!u || O) return;
|
|
8134
8136
|
const h = fi(l.clientX, l.clientY);
|
|
8135
8137
|
if (!h || $s.current?.contains(h) || h.closest(".vg-no-capture")) {
|
|
8136
|
-
|
|
8138
|
+
I(null);
|
|
8137
8139
|
return;
|
|
8138
8140
|
}
|
|
8139
8141
|
const p = h.getBoundingClientRect();
|
|
8140
|
-
|
|
8142
|
+
I({
|
|
8141
8143
|
tag: h.tagName.toLowerCase(),
|
|
8142
8144
|
source: h.getAttribute("data-source-path") || "unknown:0",
|
|
8143
8145
|
rect: p,
|
|
@@ -8154,11 +8156,11 @@ const ww = (t) => {
|
|
|
8154
8156
|
}, [u, O]), en = de(async (l) => {
|
|
8155
8157
|
if (!u || O) return;
|
|
8156
8158
|
const h = fi(l.clientX, l.clientY);
|
|
8157
|
-
if (!(!h || $s.current?.contains(h) || h.closest(".vg-no-capture")) &&
|
|
8158
|
-
const p =
|
|
8159
|
+
if (!(!h || $s.current?.contains(h) || h.closest(".vg-no-capture")) && v) {
|
|
8160
|
+
const p = v;
|
|
8159
8161
|
let Q = p.element;
|
|
8160
8162
|
qs(Q);
|
|
8161
|
-
let
|
|
8163
|
+
let E = p.semanticReference, K = p.tag;
|
|
8162
8164
|
l.preventDefault(), l.stopPropagation(), Re(!0);
|
|
8163
8165
|
try {
|
|
8164
8166
|
await new Promise(($) => requestAnimationFrame($)), await new Promise(($) => setTimeout($, 80));
|
|
@@ -8187,18 +8189,18 @@ const ww = (t) => {
|
|
|
8187
8189
|
onclone: ($) => {
|
|
8188
8190
|
const GA = [];
|
|
8189
8191
|
document.querySelectorAll("*").forEach((pA, TA) => {
|
|
8190
|
-
const
|
|
8191
|
-
if (
|
|
8192
|
+
const b = pA;
|
|
8193
|
+
if (b.shadowRoot) {
|
|
8192
8194
|
const zA = `sh-${TA}`;
|
|
8193
|
-
|
|
8195
|
+
b.setAttribute("data-vg-capture-id", zA), GA.push({ original: b, id: zA });
|
|
8194
8196
|
}
|
|
8195
8197
|
}), GA.forEach(({ original: pA, id: TA }) => {
|
|
8196
|
-
const
|
|
8197
|
-
if (
|
|
8198
|
+
const b = $.querySelector(`[data-vg-capture-id="${TA}"]`);
|
|
8199
|
+
if (b && pA.shadowRoot)
|
|
8198
8200
|
try {
|
|
8199
8201
|
const zA = pA.shadowRoot.cloneNode(!0);
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
+
b.innerHTML = "", Array.from(zA.childNodes).forEach((Dr) => {
|
|
8203
|
+
b.appendChild($.importNode(Dr, !0));
|
|
8202
8204
|
});
|
|
8203
8205
|
} catch (zA) {
|
|
8204
8206
|
console.warn("[ViewGate] Shadow DOM flatting failed", zA);
|
|
@@ -8230,7 +8232,7 @@ const ww = (t) => {
|
|
|
8230
8232
|
...p,
|
|
8231
8233
|
element: Q,
|
|
8232
8234
|
rect: Q.getBoundingClientRect(),
|
|
8233
|
-
semanticReference:
|
|
8235
|
+
semanticReference: E,
|
|
8234
8236
|
tag: K
|
|
8235
8237
|
};
|
|
8236
8238
|
if (PA) {
|
|
@@ -8246,12 +8248,12 @@ const ww = (t) => {
|
|
|
8246
8248
|
}, "image/webp", 0.98);
|
|
8247
8249
|
}
|
|
8248
8250
|
} catch (T) {
|
|
8249
|
-
console.error("[ViewGate] Capture Error:", T), N(
|
|
8251
|
+
console.error("[ViewGate] Capture Error:", T), N(v);
|
|
8250
8252
|
} finally {
|
|
8251
|
-
Re(!1),
|
|
8253
|
+
Re(!1), I(null);
|
|
8252
8254
|
}
|
|
8253
8255
|
}
|
|
8254
|
-
}, [u,
|
|
8256
|
+
}, [u, v, O]);
|
|
8255
8257
|
OA(() => {
|
|
8256
8258
|
const l = (h) => {
|
|
8257
8259
|
const Q = (() => {
|
|
@@ -8321,7 +8323,7 @@ const ww = (t) => {
|
|
|
8321
8323
|
return;
|
|
8322
8324
|
}
|
|
8323
8325
|
IA(!0);
|
|
8324
|
-
const { semanticReference: l } = O, [h, p] = (l.source || "").split(":"),
|
|
8326
|
+
const { semanticReference: l } = O, [h, p] = (l.source || "").split(":"), E = {
|
|
8325
8327
|
filePath: h,
|
|
8326
8328
|
line: parseInt(p || "0"),
|
|
8327
8329
|
url: window.location.href,
|
|
@@ -8345,7 +8347,7 @@ const ww = (t) => {
|
|
|
8345
8347
|
figmaReference: _.includes("ux") ? AA : void 0,
|
|
8346
8348
|
backendEndpoints: _.includes("backend") ? J : []
|
|
8347
8349
|
};
|
|
8348
|
-
RA && (
|
|
8350
|
+
RA && (E.creator = {
|
|
8349
8351
|
name: RA.name,
|
|
8350
8352
|
email: RA.email,
|
|
8351
8353
|
avatar: RA.avatar
|
|
@@ -8358,7 +8360,7 @@ const ww = (t) => {
|
|
|
8358
8360
|
"x-api-key": s,
|
|
8359
8361
|
Authorization: fA ? `Bearer ${fA}` : ""
|
|
8360
8362
|
},
|
|
8361
|
-
body: JSON.stringify(
|
|
8363
|
+
body: JSON.stringify(E)
|
|
8362
8364
|
});
|
|
8363
8365
|
if (!K.ok) {
|
|
8364
8366
|
const T = await K.json().catch(() => ({}));
|
|
@@ -8383,7 +8385,7 @@ const ww = (t) => {
|
|
|
8383
8385
|
h.scrollIntoView({ behavior: "smooth", block: "center" }), await new Promise((nA) => setTimeout(nA, 600));
|
|
8384
8386
|
const p = h.style.outline, Q = h.style.transition;
|
|
8385
8387
|
h.style.transition = "outline 0.3s ease", h.style.outline = "4px solid #10b981", h.style.outlineOffset = "4px", await new Promise((nA) => setTimeout(nA, 400)), h.style.outline = p, h.style.transition = Q, await new Promise((nA) => requestAnimationFrame(nA)), await new Promise((nA) => setTimeout(nA, 50));
|
|
8386
|
-
const
|
|
8388
|
+
const E = h.getBoundingClientRect(), K = document.documentElement, T = window.devicePixelRatio || 1, S = Math.max(T, 3), sA = await ho(K, {
|
|
8387
8389
|
scale: S,
|
|
8388
8390
|
useCORS: !0,
|
|
8389
8391
|
logging: !1,
|
|
@@ -8403,9 +8405,9 @@ const ww = (t) => {
|
|
|
8403
8405
|
});
|
|
8404
8406
|
}
|
|
8405
8407
|
}), V = document.createElement("canvas"), hA = V.getContext("2d"), rA = 32;
|
|
8406
|
-
if (V.width = (
|
|
8408
|
+
if (V.width = (E.width + rA * 2) * S, V.height = (E.height + rA * 2) * S, hA) {
|
|
8407
8409
|
hA.imageSmoothingEnabled = !0, hA.imageSmoothingQuality = "high";
|
|
8408
|
-
const nA = (
|
|
8410
|
+
const nA = (E.left - rA) * S, mA = (E.top - rA) * S;
|
|
8409
8411
|
hA.drawImage(
|
|
8410
8412
|
sA,
|
|
8411
8413
|
-nA,
|
|
@@ -8437,7 +8439,7 @@ const ww = (t) => {
|
|
|
8437
8439
|
Re(!1);
|
|
8438
8440
|
}
|
|
8439
8441
|
};
|
|
8440
|
-
return /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef883ffc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8442
|
+
return /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef883ffc", "data-source-path": "/src/components/ViewGateOverlay.tsx:2284", className: "vg-container", children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef883ffd", "data-source-path": "/src/components/ViewGateOverlay.tsx:2285", className: "vg-no-capture", children: [
|
|
8441
8443
|
/* @__PURE__ */ i.jsxs(
|
|
8442
8444
|
"div",
|
|
8443
8445
|
{
|
|
@@ -8481,10 +8483,10 @@ const ww = (t) => {
|
|
|
8481
8483
|
l.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.85)", l.currentTarget.style.color = "#1e293b";
|
|
8482
8484
|
},
|
|
8483
8485
|
className: "vg-animate-slide-up",
|
|
8484
|
-
children: /* @__PURE__ */ i.jsx(ed, { "data-vg-id": "3dbe6a11", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8486
|
+
children: /* @__PURE__ */ i.jsx(ed, { "data-vg-id": "3dbe6a11", "data-source-path": "/src/components/ViewGateOverlay.tsx:2332", size: 16 })
|
|
8485
8487
|
}
|
|
8486
8488
|
),
|
|
8487
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef883fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8489
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef883fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:2335", className: "vg-action-bar vg-animate-slide-up", style: { transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)" }, children: [
|
|
8488
8490
|
fA ? br ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
8489
8491
|
Rt !== "client" && /* @__PURE__ */ i.jsx(
|
|
8490
8492
|
"button",
|
|
@@ -8508,9 +8510,9 @@ const ww = (t) => {
|
|
|
8508
8510
|
opacity: !ce && !B && !u ? 0.7 : 1
|
|
8509
8511
|
},
|
|
8510
8512
|
title: !ce && !B && !u ? e === "es" ? "Requiere sprint activo" : "Requires active sprint" : "",
|
|
8511
|
-
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef884001", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8512
|
-
Ir && !u ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "edca6150", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8513
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c43", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8513
|
+
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "ef884001", "data-source-path": "/src/components/ViewGateOverlay.tsx:2374", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
|
|
8514
|
+
Ir && !u ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "edca6150", "data-source-path": "/src/components/ViewGateOverlay.tsx:2376", size: 20, className: "vg-animate-spin" }) : u ? /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "ff5f5cf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2378", size: 20, className: "vg-animate-pop" }) : /* @__PURE__ */ i.jsx(Pr, { "data-vg-id": "10c621c4", "data-source-path": "/src/components/ViewGateOverlay.tsx:2380", size: 20, className: "vg-animate-pop" }),
|
|
8515
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c43", "data-source-path": "/src/components/ViewGateOverlay.tsx:2382", children: Ir && !u ? e === "es" ? "Cargando..." : "Loading..." : u ? r.exitMode : r.enterMode })
|
|
8514
8516
|
] })
|
|
8515
8517
|
}
|
|
8516
8518
|
),
|
|
@@ -8523,12 +8525,12 @@ const ww = (t) => {
|
|
|
8523
8525
|
className: "vg-button-ghost vg-animate-pop",
|
|
8524
8526
|
style: { animationDelay: "0.1s" },
|
|
8525
8527
|
children: [
|
|
8526
|
-
/* @__PURE__ */ i.jsx(Zl, { "data-vg-id": "cd7341f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8527
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c45", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8528
|
+
/* @__PURE__ */ i.jsx(Zl, { "data-vg-id": "cd7341f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:2400", size: 20 }),
|
|
8529
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c45", "data-source-path": "/src/components/ViewGateOverlay.tsx:2401", children: r.viewComments })
|
|
8528
8530
|
]
|
|
8529
8531
|
}
|
|
8530
8532
|
)
|
|
8531
|
-
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef884000", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8533
|
+
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "ef884000", "data-source-path": "/src/components/ViewGateOverlay.tsx:2338", style: {
|
|
8532
8534
|
padding: "8px 16px",
|
|
8533
8535
|
background: "#fee2e2",
|
|
8534
8536
|
color: "#b91c1c",
|
|
@@ -8552,8 +8554,8 @@ const ww = (t) => {
|
|
|
8552
8554
|
gap: "10px"
|
|
8553
8555
|
},
|
|
8554
8556
|
children: [
|
|
8555
|
-
/* @__PURE__ */ i.jsx(oa, { "data-vg-id": "422a5ea5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8556
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c47", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8557
|
+
/* @__PURE__ */ i.jsx(oa, { "data-vg-id": "422a5ea5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2421", size: 18 }),
|
|
8558
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c47", "data-source-path": "/src/components/ViewGateOverlay.tsx:2422", style: { fontWeight: 700 }, children: e === "es" ? "Desbloquear con Clave" : "Unlock with Key" })
|
|
8557
8559
|
]
|
|
8558
8560
|
}
|
|
8559
8561
|
),
|
|
@@ -8590,14 +8592,14 @@ const ww = (t) => {
|
|
|
8590
8592
|
l.currentTarget.style.color = "#64748b", l.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.8)", l.currentTarget.style.borderColor = "rgba(0,0,0,0.05)", l.currentTarget.style.transform = "scale(1)";
|
|
8591
8593
|
},
|
|
8592
8594
|
title: r.close || "Cerrar ViewGate",
|
|
8593
|
-
children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "ff5f5d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8595
|
+
children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "ff5f5d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2466", size: 20, strokeWidth: 2.5 })
|
|
8594
8596
|
}
|
|
8595
8597
|
)
|
|
8596
8598
|
] })
|
|
8597
8599
|
]
|
|
8598
8600
|
}
|
|
8599
8601
|
),
|
|
8600
|
-
ye && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf7e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8602
|
+
ye && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf7e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2475", style: {
|
|
8601
8603
|
position: "fixed",
|
|
8602
8604
|
top: 0,
|
|
8603
8605
|
left: 0,
|
|
@@ -8610,9 +8612,9 @@ const ww = (t) => {
|
|
|
8610
8612
|
justifyContent: "center",
|
|
8611
8613
|
zIndex: di + 1,
|
|
8612
8614
|
cursor: "wait"
|
|
8613
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8614
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf95", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8615
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c61", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8615
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2481", className: "vg-glassmorphism", style: { padding: "30px 50px", display: "flex", flexDirection: "column", alignItems: "center", gap: "16px" }, children: [
|
|
8616
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf95", "data-source-path": "/src/components/ViewGateOverlay.tsx:2482", className: "vg-spinner" }),
|
|
8617
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c61", "data-source-path": "/src/components/ViewGateOverlay.tsx:2483", style: { fontWeight: 600, fontSize: "14px", color: "#000000" }, children: "Capturando..." })
|
|
8616
8618
|
] }) }),
|
|
8617
8619
|
u && !O && /* @__PURE__ */ i.jsx(
|
|
8618
8620
|
"div",
|
|
@@ -8620,27 +8622,27 @@ const ww = (t) => {
|
|
|
8620
8622
|
className: "vg-backdrop-blur",
|
|
8621
8623
|
style: {
|
|
8622
8624
|
opacity: 1,
|
|
8623
|
-
clipPath:
|
|
8625
|
+
clipPath: v ? `polygon(
|
|
8624
8626
|
0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,
|
|
8625
|
-
${
|
|
8626
|
-
${
|
|
8627
|
-
${
|
|
8628
|
-
${
|
|
8629
|
-
${
|
|
8627
|
+
${v.rect.left}px ${v.rect.top}px,
|
|
8628
|
+
${v.rect.right}px ${v.rect.top}px,
|
|
8629
|
+
${v.rect.right}px ${v.rect.bottom}px,
|
|
8630
|
+
${v.rect.left}px ${v.rect.bottom}px,
|
|
8631
|
+
${v.rect.left}px ${v.rect.top}px
|
|
8630
8632
|
)` : "none",
|
|
8631
8633
|
zIndex: Qw
|
|
8632
8634
|
}
|
|
8633
8635
|
}
|
|
8634
8636
|
),
|
|
8635
|
-
u &&
|
|
8637
|
+
u && v && !O && !ye && /* @__PURE__ */ i.jsx(
|
|
8636
8638
|
"div",
|
|
8637
8639
|
{
|
|
8638
8640
|
className: "vg-selection-pulse",
|
|
8639
8641
|
style: {
|
|
8640
|
-
top:
|
|
8641
|
-
left:
|
|
8642
|
-
width:
|
|
8643
|
-
height:
|
|
8642
|
+
top: v.rect.top - 4,
|
|
8643
|
+
left: v.rect.left - 4,
|
|
8644
|
+
width: v.rect.width + 8,
|
|
8645
|
+
height: v.rect.height + 8,
|
|
8644
8646
|
zIndex: xw
|
|
8645
8647
|
},
|
|
8646
8648
|
children: /* @__PURE__ */ i.jsxs(
|
|
@@ -8648,17 +8650,17 @@ const ww = (t) => {
|
|
|
8648
8650
|
{
|
|
8649
8651
|
className: "vg-selection-label",
|
|
8650
8652
|
style: {
|
|
8651
|
-
...
|
|
8652
|
-
...
|
|
8653
|
+
...v.rect.top < 60 ? v.rect.bottom > window.innerHeight - 60 ? { top: "8px", bottom: "auto" } : { top: "100%", marginTop: "8px", bottom: "auto" } : { top: "-40px", bottom: "auto" },
|
|
8654
|
+
...v.rect.left + 200 > window.innerWidth ? { left: "auto", right: "0" } : { left: "0", right: "auto" }
|
|
8653
8655
|
},
|
|
8654
8656
|
children: [
|
|
8655
|
-
/* @__PURE__ */ i.jsx(ld, { "data-vg-id": "f840c8ce", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8656
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf98", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8657
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c64", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8658
|
-
/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76c65", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8659
|
-
Math.round(
|
|
8657
|
+
/* @__PURE__ */ i.jsx(ld, { "data-vg-id": "f840c8ce", "data-source-path": "/src/components/ViewGateOverlay.tsx:2535", size: 16 }),
|
|
8658
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf98", "data-source-path": "/src/components/ViewGateOverlay.tsx:2536", style: { display: "flex", flexDirection: "column" }, children: [
|
|
8659
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76c64", "data-source-path": "/src/components/ViewGateOverlay.tsx:2537", style: { fontWeight: 700 }, children: r.selectToComment }),
|
|
8660
|
+
/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76c65", "data-source-path": "/src/components/ViewGateOverlay.tsx:2538", style: { fontSize: "10px", opacity: 0.8, fontFamily: "monospace" }, children: [
|
|
8661
|
+
Math.round(v.rect.width),
|
|
8660
8662
|
" × ",
|
|
8661
|
-
Math.round(
|
|
8663
|
+
Math.round(v.rect.height)
|
|
8662
8664
|
] })
|
|
8663
8665
|
] })
|
|
8664
8666
|
]
|
|
@@ -8666,7 +8668,7 @@ const ww = (t) => {
|
|
|
8666
8668
|
)
|
|
8667
8669
|
}
|
|
8668
8670
|
),
|
|
8669
|
-
!fA && (u || jA || O) && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8671
|
+
!fA && (u || jA || O) && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2548", className: "vg-animate-fade", style: {
|
|
8670
8672
|
position: "fixed",
|
|
8671
8673
|
top: 0,
|
|
8672
8674
|
left: 0,
|
|
@@ -8678,7 +8680,7 @@ const ww = (t) => {
|
|
|
8678
8680
|
alignItems: "center",
|
|
8679
8681
|
justifyContent: "center",
|
|
8680
8682
|
zIndex: yt
|
|
8681
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8683
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2553", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
8682
8684
|
width: "90%",
|
|
8683
8685
|
maxWidth: "440px",
|
|
8684
8686
|
boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.4)",
|
|
@@ -8687,8 +8689,8 @@ const ww = (t) => {
|
|
|
8687
8689
|
overflow: "hidden",
|
|
8688
8690
|
padding: "48px 32px"
|
|
8689
8691
|
}, children: [
|
|
8690
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8691
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8692
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbf9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:2562", style: { textAlign: "center", marginBottom: "32px" }, children: [
|
|
8693
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbf9e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2563", style: {
|
|
8692
8694
|
width: "64px",
|
|
8693
8695
|
height: "64px",
|
|
8694
8696
|
background: "var(--vg-primary-gradient)",
|
|
@@ -8700,12 +8702,12 @@ const ww = (t) => {
|
|
|
8700
8702
|
color: "white",
|
|
8701
8703
|
boxShadow: "0 8px 20px -4px var(--vg-primary)",
|
|
8702
8704
|
animation: "pulse 2s infinite"
|
|
8703
|
-
}, children: /* @__PURE__ */ i.jsx(oa, { "data-vg-id": "422a5ede", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8704
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bb80", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8705
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000def7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8705
|
+
}, children: /* @__PURE__ */ i.jsx(oa, { "data-vg-id": "422a5ede", "data-source-path": "/src/components/ViewGateOverlay.tsx:2569", size: 32 }) }),
|
|
8706
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bb80", "data-source-path": "/src/components/ViewGateOverlay.tsx:2571", style: { margin: "0 0 12px 0", fontSize: "24px", fontWeight: 800, color: "#0f172a", letterSpacing: "-0.025em" }, children: e === "es" ? "ViewGate Protegido" : "ViewGate Protected" }),
|
|
8707
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000def7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2574", style: { margin: 0, color: "#64748b", fontSize: "15px", lineHeight: 1.6 }, children: e === "es" ? "Ingresa tu Clave de Acceso Semanal para continuar." : "Enter your project Weekly Access Key to continue." })
|
|
8706
8708
|
] }),
|
|
8707
|
-
/* @__PURE__ */ i.jsxs("form", { "data-vg-id": "a260acc8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8708
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8709
|
+
/* @__PURE__ */ i.jsxs("form", { "data-vg-id": "a260acc8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2581", onSubmit: Pc, style: { width: "100%" }, children: [
|
|
8710
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2582", style: { position: "relative", marginBottom: "24px" }, children: /* @__PURE__ */ i.jsx(
|
|
8709
8711
|
"input",
|
|
8710
8712
|
{
|
|
8711
8713
|
autoFocus: !0,
|
|
@@ -8751,13 +8753,13 @@ const ww = (t) => {
|
|
|
8751
8753
|
boxShadow: "0 10px 15px -3px rgba(99, 102, 241, 0.3)"
|
|
8752
8754
|
},
|
|
8753
8755
|
children: [
|
|
8754
|
-
Ws ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "cb81c82b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8756
|
+
Ws ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "cb81c82b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2629", size: 20, className: "vg-animate-spin" }) : /* @__PURE__ */ i.jsx(rd, { "data-vg-id": "d69f974c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2631", size: 20 }),
|
|
8755
8757
|
e === "es" ? "Desbloquear" : "Unlock Now"
|
|
8756
8758
|
]
|
|
8757
8759
|
}
|
|
8758
8760
|
)
|
|
8759
8761
|
] }),
|
|
8760
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfbb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8762
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfbb", "data-source-path": "/src/components/ViewGateOverlay.tsx:2637", style: { margin: "32px 0 24px", height: "1px", background: "linear-gradient(to right, transparent, #e2e8f0, transparent)" } }),
|
|
8761
8763
|
/* @__PURE__ */ i.jsx(
|
|
8762
8764
|
"button",
|
|
8763
8765
|
{
|
|
@@ -8769,9 +8771,9 @@ const ww = (t) => {
|
|
|
8769
8771
|
children: e === "es" ? "Cerrar ViewGate" : "Close ViewGate"
|
|
8770
8772
|
}
|
|
8771
8773
|
),
|
|
8772
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfbc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8774
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfbc", "data-source-path": "/src/components/ViewGateOverlay.tsx:2651", style: { marginTop: "24px", textAlign: "center" }, children: /* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000defe", "data-source-path": "/src/components/ViewGateOverlay.tsx:2652", style: { fontSize: "12px", color: "#94a3b8", margin: 0, lineHeight: 1.5 }, children: e === "es" ? "Encuentra tu clave en Dashboard > Proyectos" : "Find your key in Dashboard > Projects" }) })
|
|
8773
8775
|
] }) }),
|
|
8774
|
-
O && RA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8776
|
+
O && RA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2665", className: "vg-animate-fade", style: {
|
|
8775
8777
|
position: "fixed",
|
|
8776
8778
|
top: 0,
|
|
8777
8779
|
left: 0,
|
|
@@ -8783,7 +8785,7 @@ const ww = (t) => {
|
|
|
8783
8785
|
alignItems: "center",
|
|
8784
8786
|
justifyContent: "center",
|
|
8785
8787
|
zIndex: yt
|
|
8786
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8788
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd4", "data-source-path": "/src/components/ViewGateOverlay.tsx:2670", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
8787
8789
|
width: "90%",
|
|
8788
8790
|
maxWidth: "700px",
|
|
8789
8791
|
maxHeight: "92vh",
|
|
@@ -8793,12 +8795,12 @@ const ww = (t) => {
|
|
|
8793
8795
|
overflow: "hidden"
|
|
8794
8796
|
// Contain child scrollbars
|
|
8795
8797
|
}, children: [
|
|
8796
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8798
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbfd5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2680", style: { padding: "24px 24px 16px", textAlign: "center", borderBottom: "1px solid rgba(0,0,0,0.05)", flexShrink: 0, position: "relative" }, children: [
|
|
8797
8799
|
RA && /* @__PURE__ */ i.jsxs(
|
|
8798
8800
|
"div",
|
|
8799
8801
|
{
|
|
8800
8802
|
"data-vg-id": "17fbfd6",
|
|
8801
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8803
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2682",
|
|
8802
8804
|
className: "vg-profile-info-card",
|
|
8803
8805
|
style: {
|
|
8804
8806
|
position: "absolute",
|
|
@@ -8815,12 +8817,12 @@ const ww = (t) => {
|
|
|
8815
8817
|
zIndex: 10
|
|
8816
8818
|
},
|
|
8817
8819
|
children: [
|
|
8818
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ca2", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8819
|
-
RA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "a398766", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8820
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ca2", "data-source-path": "/src/components/ViewGateOverlay.tsx:2699", style: { fontSize: "10px", fontWeight: 800, color: "#64748b", textTransform: "uppercase" }, children: RA.name.split(" ")[0] }),
|
|
8821
|
+
RA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "a398766", "data-source-path": "/src/components/ViewGateOverlay.tsx:2703", src: RA.avatar, style: { width: "24px", height: "24px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfd9", "data-source-path": "/src/components/ViewGateOverlay.tsx:2705", style: { width: "24px", height: "24px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "10px", fontWeight: 700 }, children: RA.name?.[0] })
|
|
8820
8822
|
]
|
|
8821
8823
|
}
|
|
8822
8824
|
),
|
|
8823
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfda", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8825
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbfda", "data-source-path": "/src/components/ViewGateOverlay.tsx:2711", style: {
|
|
8824
8826
|
width: "40px",
|
|
8825
8827
|
height: "40px",
|
|
8826
8828
|
background: "var(--vg-primary-gradient)",
|
|
@@ -8831,18 +8833,18 @@ const ww = (t) => {
|
|
|
8831
8833
|
margin: "0 auto 12px",
|
|
8832
8834
|
color: "white",
|
|
8833
8835
|
boxShadow: "0 4px 12px rgba(99, 102, 241, 0.2)"
|
|
8834
|
-
}, children: /* @__PURE__ */ i.jsx(Pr, { "data-vg-id": "10c62228", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8835
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bba7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8836
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000df33", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8836
|
+
}, children: /* @__PURE__ */ i.jsx(Pr, { "data-vg-id": "10c62228", "data-source-path": "/src/components/ViewGateOverlay.tsx:2716", size: 20 }) }),
|
|
8837
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bba7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2718", style: { margin: "0 0 4px 0", fontSize: "20px", fontWeight: 800, color: "#0f172a" }, children: r.feedbackHeader }),
|
|
8838
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "1000df33", "data-source-path": "/src/components/ViewGateOverlay.tsx:2719", style: { margin: 0, color: "#64748b", fontSize: "14px" }, children: r.feedbackSubheader })
|
|
8837
8839
|
] }),
|
|
8838
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff3", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8840
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2723", className: "vg-custom-scrollbar", style: {
|
|
8839
8841
|
flex: 1,
|
|
8840
8842
|
overflowY: "auto",
|
|
8841
8843
|
padding: "24px",
|
|
8842
8844
|
display: "flex",
|
|
8843
8845
|
flexDirection: "column"
|
|
8844
8846
|
}, children: [
|
|
8845
|
-
O.visualPreview && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8847
|
+
O.visualPreview && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff4", "data-source-path": "/src/components/ViewGateOverlay.tsx:2732", style: {
|
|
8846
8848
|
marginBottom: "24px",
|
|
8847
8849
|
borderRadius: "12px",
|
|
8848
8850
|
width: "100%",
|
|
@@ -8879,9 +8881,9 @@ const ww = (t) => {
|
|
|
8879
8881
|
style: { fontSize: "15px", padding: "16px", marginBottom: "24px", minHeight: "120px" }
|
|
8880
8882
|
}
|
|
8881
8883
|
),
|
|
8882
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8883
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b33", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8884
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8884
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2769", style: { marginBottom: "24px" }, children: [
|
|
8885
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b33", "data-source-path": "/src/components/ViewGateOverlay.tsx:2770", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: r.priority }),
|
|
8886
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbff7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2773", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((l) => /* @__PURE__ */ i.jsx(
|
|
8885
8887
|
"button",
|
|
8886
8888
|
{
|
|
8887
8889
|
onClick: () => C(l),
|
|
@@ -8904,12 +8906,12 @@ const ww = (t) => {
|
|
|
8904
8906
|
l
|
|
8905
8907
|
)) })
|
|
8906
8908
|
] }),
|
|
8907
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8908
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b36", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8909
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8910
|
-
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "377c172e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8911
|
-
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "7117e5d5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8912
|
-
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "de42479a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8909
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fbff8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2800", style: { marginBottom: "24px" }, children: [
|
|
8910
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "18bd4b36", "data-source-path": "/src/components/ViewGateOverlay.tsx:2801", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: r.focusAreas }),
|
|
8911
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fbffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:2804", style: { display: "flex", gap: "8px", marginBottom: _.length > 0 ? "12px" : "0" }, children: [
|
|
8912
|
+
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "377c172e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2806", size: 14 }), color: "#10b981", bg: "#ecfdf5", border: "#d1fae5" },
|
|
8913
|
+
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "7117e5d5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2807", size: 14 }), color: "#6366f1", bg: "#eef2ff", border: "#e0e7ff" },
|
|
8914
|
+
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "de42479a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2808", size: 14 }), color: "#d946ef", bg: "#fdf4ff", border: "#f5d0fe" }
|
|
8913
8915
|
].filter((l) => l.id === "backend" ? Er : l.id === "ux" ? k : !0).map((l) => {
|
|
8914
8916
|
const h = _.includes(l.id);
|
|
8915
8917
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -8943,17 +8945,17 @@ const ww = (t) => {
|
|
|
8943
8945
|
l.id
|
|
8944
8946
|
);
|
|
8945
8947
|
}) }),
|
|
8946
|
-
_.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc013", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8947
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc014", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8948
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc015", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8949
|
-
/* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "38884e11", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8950
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ce2", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8948
|
+
_.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc013", "data-source-path": "/src/components/ViewGateOverlay.tsx:2855", className: "vg-animate-slide", style: { marginBottom: "16px" }, children: [
|
|
8949
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc014", "data-source-path": "/src/components/ViewGateOverlay.tsx:2856", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "8px" }, children: [
|
|
8950
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc015", "data-source-path": "/src/components/ViewGateOverlay.tsx:2857", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
8951
|
+
/* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "38884e11", "data-source-path": "/src/components/ViewGateOverlay.tsx:2858", size: 14, style: { color: "#d946ef" } }),
|
|
8952
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76ce2", "data-source-path": "/src/components/ViewGateOverlay.tsx:2859", style: { fontSize: "11px", fontWeight: 800, color: "#64748b", textTransform: "uppercase", letterSpacing: "0.05em" }, children: r.figmaLink })
|
|
8951
8953
|
] }),
|
|
8952
8954
|
/* @__PURE__ */ i.jsxs(
|
|
8953
8955
|
"button",
|
|
8954
8956
|
{
|
|
8955
8957
|
"data-vg-id": "23e21f7b",
|
|
8956
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8958
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2863",
|
|
8957
8959
|
onClick: () => HA([...AA, { name: "", link: "" }]),
|
|
8958
8960
|
style: {
|
|
8959
8961
|
background: "rgba(217, 70, 239, 0.1)",
|
|
@@ -8972,20 +8974,20 @@ const ww = (t) => {
|
|
|
8972
8974
|
onMouseEnter: (l) => l.currentTarget.style.background = "rgba(217, 70, 239, 0.15)",
|
|
8973
8975
|
onMouseLeave: (l) => l.currentTarget.style.background = "rgba(217, 70, 239, 0.1)",
|
|
8974
8976
|
children: [
|
|
8975
|
-
/* @__PURE__ */ i.jsx(gd, { "data-vg-id": "11a60c74", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8977
|
+
/* @__PURE__ */ i.jsx(gd, { "data-vg-id": "11a60c74", "data-source-path": "/src/components/ViewGateOverlay.tsx:2882", size: 10 }),
|
|
8976
8978
|
" ",
|
|
8977
8979
|
r.addLink
|
|
8978
8980
|
]
|
|
8979
8981
|
}
|
|
8980
8982
|
)
|
|
8981
8983
|
] }),
|
|
8982
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc01a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8983
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc031", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8984
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc01a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2886", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: AA.map((l, h) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc030", "data-source-path": "/src/components/ViewGateOverlay.tsx:2888", style: { display: "flex", gap: "6px", alignItems: "flex-start" }, className: "vg-animate-slide", children: [
|
|
8985
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc031", "data-source-path": "/src/components/ViewGateOverlay.tsx:2889", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
8984
8986
|
/* @__PURE__ */ i.jsx(
|
|
8985
8987
|
"input",
|
|
8986
8988
|
{
|
|
8987
8989
|
"data-vg-id": "a993bad9",
|
|
8988
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
8990
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2890",
|
|
8989
8991
|
type: "text",
|
|
8990
8992
|
className: "vg-textarea",
|
|
8991
8993
|
style: { padding: "8px 10px", fontSize: "11px", minHeight: "auto", borderRadius: "8px", border: "1px solid rgba(0,0,0,0.05)" },
|
|
@@ -9001,7 +9003,7 @@ const ww = (t) => {
|
|
|
9001
9003
|
"input",
|
|
9002
9004
|
{
|
|
9003
9005
|
"data-vg-id": "a993bada",
|
|
9004
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9006
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2904",
|
|
9005
9007
|
type: "text",
|
|
9006
9008
|
className: "vg-textarea",
|
|
9007
9009
|
style: { padding: "8px 10px", fontSize: "11px", minHeight: "auto", borderRadius: "8px", border: "1px solid rgba(0,0,0,0.05)" },
|
|
@@ -9018,7 +9020,7 @@ const ww = (t) => {
|
|
|
9018
9020
|
"button",
|
|
9019
9021
|
{
|
|
9020
9022
|
"data-vg-id": "23e21f97",
|
|
9021
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9023
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2920",
|
|
9022
9024
|
onClick: () => HA(AA.filter((p, Q) => Q !== h)),
|
|
9023
9025
|
style: {
|
|
9024
9026
|
background: "rgba(239, 68, 68, 0.05)",
|
|
@@ -9034,18 +9036,18 @@ const ww = (t) => {
|
|
|
9034
9036
|
},
|
|
9035
9037
|
onMouseEnter: (p) => p.currentTarget.style.background = "rgba(239, 68, 68, 0.1)",
|
|
9036
9038
|
onMouseLeave: (p) => p.currentTarget.style.background = "rgba(239, 68, 68, 0.05)",
|
|
9037
|
-
children: /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "e1375db0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9039
|
+
children: /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "e1375db0", "data-source-path": "/src/components/ViewGateOverlay.tsx:2937", size: 14 })
|
|
9038
9040
|
}
|
|
9039
9041
|
)
|
|
9040
9042
|
] }, h)) })
|
|
9041
9043
|
] }),
|
|
9042
|
-
te.length > 0 && _.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc036", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9043
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc037", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9044
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc038", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9045
|
-
/* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "7117e5fd", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9046
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9044
|
+
te.length > 0 && _.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc036", "data-source-path": "/src/components/ViewGateOverlay.tsx:2949", className: "vg-animate-slide", style: { marginBottom: "16px" }, children: [
|
|
9045
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc037", "data-source-path": "/src/components/ViewGateOverlay.tsx:2950", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "8px" }, children: [
|
|
9046
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc038", "data-source-path": "/src/components/ViewGateOverlay.tsx:2951", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
9047
|
+
/* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "7117e5fd", "data-source-path": "/src/components/ViewGateOverlay.tsx:2952", size: 14, style: { color: "#6366f1" } }),
|
|
9048
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2953", style: { fontSize: "11px", fontWeight: 700, color: "#64748b" }, children: r.endpoint })
|
|
9047
9049
|
] }),
|
|
9048
|
-
J.length > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9050
|
+
J.length > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2956", style: { fontSize: "10px", background: "#eef2ff", color: "#6366f1", padding: "2px 8px", borderRadius: "12px", fontWeight: 700 }, children: [
|
|
9049
9051
|
J.length,
|
|
9050
9052
|
" ",
|
|
9051
9053
|
e === "es" ? "seleccionados" : "selected"
|
|
@@ -9055,7 +9057,7 @@ const ww = (t) => {
|
|
|
9055
9057
|
"button",
|
|
9056
9058
|
{
|
|
9057
9059
|
"data-vg-id": "23e21fb4",
|
|
9058
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9060
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:2962",
|
|
9059
9061
|
onClick: () => z(!0),
|
|
9060
9062
|
className: "vg-input-like-button",
|
|
9061
9063
|
style: {
|
|
@@ -9074,9 +9076,9 @@ const ww = (t) => {
|
|
|
9074
9076
|
color: J.length > 0 ? "#0f172a" : "#94a3b8"
|
|
9075
9077
|
},
|
|
9076
9078
|
children: [
|
|
9077
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc052", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9079
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc052", "data-source-path": "/src/components/ViewGateOverlay.tsx:2981", style: { display: "flex", gap: "4px", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" }, children: J.length > 0 ? J.slice(0, 2).map((l) => {
|
|
9078
9080
|
const h = l.split("|"), p = h.length > 1 ? h[0] : "", Q = h.length > 1 ? h[1] : l;
|
|
9079
|
-
return /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9081
|
+
return /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d1e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2988", style: {
|
|
9080
9082
|
background: "rgba(99, 102, 241, 0.1)",
|
|
9081
9083
|
color: "#6366f1",
|
|
9082
9084
|
padding: "1px 6px",
|
|
@@ -9084,21 +9086,21 @@ const ww = (t) => {
|
|
|
9084
9086
|
fontSize: "11px",
|
|
9085
9087
|
fontWeight: 600
|
|
9086
9088
|
}, children: [
|
|
9087
|
-
p && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9089
|
+
p && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d1f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2996", style: { opacity: 0.6, marginRight: "4px" }, children: p }),
|
|
9088
9090
|
(Q || "").split("/").pop() || Q
|
|
9089
9091
|
] }, l);
|
|
9090
|
-
}).concat(J.length > 2 ? [/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d20", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9092
|
+
}).concat(J.length > 2 ? [/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "52d76d20", "data-source-path": "/src/components/ViewGateOverlay.tsx:3000", children: [
|
|
9091
9093
|
"+",
|
|
9092
9094
|
J.length - 2
|
|
9093
9095
|
] }, "more")] : []) : r.selectEndpoint }),
|
|
9094
|
-
/* @__PURE__ */ i.jsx(sa, { "data-vg-id": "c71f9a0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9096
|
+
/* @__PURE__ */ i.jsx(sa, { "data-vg-id": "c71f9a0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3003", size: 14, style: { color: "#64748b" } })
|
|
9095
9097
|
]
|
|
9096
9098
|
}
|
|
9097
9099
|
)
|
|
9098
9100
|
] })
|
|
9099
9101
|
] })
|
|
9100
9102
|
] }),
|
|
9101
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc057", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9103
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc057", "data-source-path": "/src/components/ViewGateOverlay.tsx:3012", style: {
|
|
9102
9104
|
padding: "16px 24px 24px",
|
|
9103
9105
|
borderTop: "1px solid rgba(0,0,0,0.05)",
|
|
9104
9106
|
display: "flex",
|
|
@@ -9130,15 +9132,15 @@ const ww = (t) => {
|
|
|
9130
9132
|
opacity: cA || !W.trim() || _.includes("backend") && J.length === 0 || _.includes("ux") && AA.some((l) => !l.name.trim() || !l.link.trim()) ? 0.6 : 1,
|
|
9131
9133
|
cursor: cA || !W.trim() || _.includes("backend") && J.length === 0 || _.includes("ux") && AA.some((l) => !l.name.trim() || !l.link.trim()) ? "not-allowed" : "pointer"
|
|
9132
9134
|
},
|
|
9133
|
-
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc058", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9134
|
-
cA ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc06e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9135
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d3b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9135
|
+
children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc058", "data-source-path": "/src/components/ViewGateOverlay.tsx:3049", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
9136
|
+
cA ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc06e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3050", className: "vg-spinner", style: { width: "16px", height: "16px", borderWidth: "2px" } }) : /* @__PURE__ */ i.jsx(pd, { "data-vg-id": "a3fd5c1c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3050", size: 18 }),
|
|
9137
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "52d76d3b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3051", children: cA ? r.submitting : r.sendFeedback || "Send Comment" })
|
|
9136
9138
|
] })
|
|
9137
9139
|
}
|
|
9138
9140
|
)
|
|
9139
9141
|
] })
|
|
9140
9142
|
] }) }),
|
|
9141
|
-
jA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc071", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9143
|
+
jA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "17fc071", "data-source-path": "/src/components/ViewGateOverlay.tsx:3062", className: "vg-animate-fade", style: {
|
|
9142
9144
|
position: "fixed",
|
|
9143
9145
|
top: 0,
|
|
9144
9146
|
left: 0,
|
|
@@ -9150,7 +9152,7 @@ const ww = (t) => {
|
|
|
9150
9152
|
alignItems: "center",
|
|
9151
9153
|
justifyContent: "center",
|
|
9152
9154
|
zIndex: yt
|
|
9153
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc072", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9155
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc072", "data-source-path": "/src/components/ViewGateOverlay.tsx:3068", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
9154
9156
|
padding: "32px",
|
|
9155
9157
|
width: "820px",
|
|
9156
9158
|
maxHeight: "85vh",
|
|
@@ -9158,22 +9160,22 @@ const ww = (t) => {
|
|
|
9158
9160
|
flexDirection: "column",
|
|
9159
9161
|
transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"
|
|
9160
9162
|
}, children: [
|
|
9161
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc073", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9162
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc074", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9163
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bc40", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9164
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc076", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9165
|
-
RA ? /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc077", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9166
|
-
RA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759ac", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9163
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc073", "data-source-path": "/src/components/ViewGateOverlay.tsx:3073", style: { display: "flex", flexDirection: "column", gap: "16px", marginBottom: "24px" }, children: [
|
|
9164
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc074", "data-source-path": "/src/components/ViewGateOverlay.tsx:3074", style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
9165
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "efa6bc40", "data-source-path": "/src/components/ViewGateOverlay.tsx:3075", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#0f172a", whiteSpace: "nowrap" }, children: dA ? r.commentDetails : r.annotations }),
|
|
9166
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc076", "data-source-path": "/src/components/ViewGateOverlay.tsx:3078", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
9167
|
+
RA ? /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "17fc077", "data-source-path": "/src/components/ViewGateOverlay.tsx:3080", style: { display: "flex", alignItems: "center", gap: "8px", padding: "4px 12px", background: "rgba(99, 102, 241, 0.1)", borderRadius: "20px" }, children: [
|
|
9168
|
+
RA.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759ac", "data-source-path": "/src/components/ViewGateOverlay.tsx:3082", src: RA.avatar, style: { width: "20px", height: "20px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3084", style: { width: "20px", height: "20px", borderRadius: "50%", background: "#6366f1", color: "white", fontSize: "10px", display: "flex", alignItems: "center", justifyContent: "center" }, children: RA.name?.[0] }),
|
|
9167
9169
|
/* @__PURE__ */ i.jsx(
|
|
9168
9170
|
"span",
|
|
9169
9171
|
{
|
|
9170
9172
|
"data-vg-id": "8161c11",
|
|
9171
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9173
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3088",
|
|
9172
9174
|
style: { fontSize: "12px", fontWeight: 600, color: "#4338ca" },
|
|
9173
9175
|
children: RA.name
|
|
9174
9176
|
}
|
|
9175
9177
|
)
|
|
9176
|
-
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9178
|
+
] }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3095", style: { fontSize: "12px", color: "#64748b", fontWeight: 600 }, children: e === "es" ? "Sin usuario" : "No user selected" }),
|
|
9177
9179
|
/* @__PURE__ */ i.jsx(
|
|
9178
9180
|
"button",
|
|
9179
9181
|
{
|
|
@@ -9182,26 +9184,26 @@ const ww = (t) => {
|
|
|
9182
9184
|
onClick: () => {
|
|
9183
9185
|
he(!1), Ee(null), Sr(null), L("all");
|
|
9184
9186
|
},
|
|
9185
|
-
children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "eec8c445", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9187
|
+
children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "eec8c445", "data-source-path": "/src/components/ViewGateOverlay.tsx:3104", size: 20 })
|
|
9186
9188
|
}
|
|
9187
9189
|
)
|
|
9188
9190
|
] })
|
|
9189
9191
|
] }),
|
|
9190
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9191
|
-
const l = Array.isArray(SA) ? SA : [], h = dA ? ut.find((S) => S.annotations?.some((sA) => sA._id === dA)) : null, Q = (h ? h.annotations : l).filter((S) => S.status !== "completed" && S.status !== "done"),
|
|
9192
|
-
return T <= 0 ? T === 0 ? null : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f80", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9193
|
-
|
|
9194
|
-
|
|
9192
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3108", style: { display: "flex", flexDirection: "column", gap: "8px", alignItems: "center", width: "100%" }, children: (() => {
|
|
9193
|
+
const l = Array.isArray(SA) ? SA : [], h = dA ? ut.find((S) => S.annotations?.some((sA) => sA._id === dA)) : null, Q = (h ? h.annotations : l).filter((S) => S.status !== "completed" && S.status !== "done"), E = Q.filter((S) => S.status !== "ready_for_review").length, K = Q.filter((S) => S.status === "ready_for_review").length, T = Q.length;
|
|
9194
|
+
return T <= 0 ? T === 0 ? null : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f80", "data-source-path": "/src/components/ViewGateOverlay.tsx:3122", style: { display: "flex", gap: "8px", opacity: 0.9 }, children: [
|
|
9195
|
+
E > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f81", "data-source-path": "/src/components/ViewGateOverlay.tsx:3124", className: "vg-badge", style: { background: "#fff7ed", color: "#c2410c", border: "1px solid #ffedd5", fontSize: "11px", padding: "2px 8px" }, children: [
|
|
9196
|
+
E,
|
|
9195
9197
|
" ",
|
|
9196
|
-
|
|
9198
|
+
E === 1 ? "pendiente" : "pendientes"
|
|
9197
9199
|
] }),
|
|
9198
|
-
K > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f82", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9200
|
+
K > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f82", "data-source-path": "/src/components/ViewGateOverlay.tsx:3129", className: "vg-badge", style: { background: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff", fontSize: "11px", padding: "2px 8px" }, children: [
|
|
9199
9201
|
K,
|
|
9200
9202
|
" ",
|
|
9201
9203
|
e === "es" ? K === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
|
|
9202
9204
|
] })
|
|
9203
9205
|
] }) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
9204
|
-
!B && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f83", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9206
|
+
!B && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f83", "data-source-path": "/src/components/ViewGateOverlay.tsx:3140", className: "vg-segmented-control", style: { marginBottom: "4px" }, children: [
|
|
9205
9207
|
/* @__PURE__ */ i.jsx(
|
|
9206
9208
|
"div",
|
|
9207
9209
|
{
|
|
@@ -9233,9 +9235,9 @@ const ww = (t) => {
|
|
|
9233
9235
|
onClick: () => Sr("pending"),
|
|
9234
9236
|
className: `vg-segmented-item ${kA === "pending" ? "active" : ""}`,
|
|
9235
9237
|
children: [
|
|
9236
|
-
e === "es" ?
|
|
9238
|
+
e === "es" ? E === 1 ? "Pendiente" : "Pendientes" : "Pending",
|
|
9237
9239
|
" (",
|
|
9238
|
-
|
|
9240
|
+
E,
|
|
9239
9241
|
")"
|
|
9240
9242
|
]
|
|
9241
9243
|
}
|
|
@@ -9254,7 +9256,7 @@ const ww = (t) => {
|
|
|
9254
9256
|
}
|
|
9255
9257
|
)
|
|
9256
9258
|
] }),
|
|
9257
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f99", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9259
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f99", "data-source-path": "/src/components/ViewGateOverlay.tsx:3171", style: { display: "flex", gap: "6px", justifyContent: "center", flexWrap: "wrap", marginTop: B ? "0" : "4px" }, children: [
|
|
9258
9260
|
/* @__PURE__ */ i.jsxs(
|
|
9259
9261
|
"button",
|
|
9260
9262
|
{
|
|
@@ -9317,7 +9319,7 @@ const ww = (t) => {
|
|
|
9317
9319
|
{
|
|
9318
9320
|
style: { flex: 1, overflowY: "auto", paddingRight: "10px", overflowX: "hidden" },
|
|
9319
9321
|
className: "vg-custom-scrollbar",
|
|
9320
|
-
children: qe ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f9a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9322
|
+
children: qe ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f9a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3237", style: { display: "flex", justifyContent: "center", padding: "40px" }, children: /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782f9b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3238", className: "vg-spinner" }) }) : Js.map((l, h) => /* @__PURE__ */ i.jsxs(
|
|
9321
9323
|
"div",
|
|
9322
9324
|
{
|
|
9323
9325
|
className: "vg-glassmorphism vg-animate-slide",
|
|
@@ -9329,21 +9331,21 @@ const ww = (t) => {
|
|
|
9329
9331
|
animationDelay: `${h * 0.05}s`
|
|
9330
9332
|
},
|
|
9331
9333
|
children: [
|
|
9332
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9333
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9334
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c33", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9334
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3253", style: { display: "flex", justifyContent: "space-between", marginBottom: "16px", alignItems: "center" }, children: [
|
|
9335
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782f9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3254", style: { display: "flex", gap: "12px", alignItems: "center" }, children: [
|
|
9336
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c33", "data-source-path": "/src/components/ViewGateOverlay.tsx:3255", style: { fontSize: "12px", color: "#000000", fontWeight: 600 }, children: Bi(l.timestamp || l.createdAt || l.reference?.timestamp, e) }),
|
|
9335
9337
|
/* @__PURE__ */ i.jsx(
|
|
9336
9338
|
"div",
|
|
9337
9339
|
{
|
|
9338
9340
|
"data-vg-id": "2e782f9f",
|
|
9339
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9341
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3258",
|
|
9340
9342
|
onClick: (p) => {
|
|
9341
9343
|
p.stopPropagation();
|
|
9342
9344
|
const Q = l.key || `VG-${l._id.slice(-6).toUpperCase()}`;
|
|
9343
9345
|
navigator.clipboard.writeText(Q);
|
|
9344
|
-
const
|
|
9345
|
-
|
|
9346
|
-
|
|
9346
|
+
const E = p.currentTarget;
|
|
9347
|
+
E.innerText = "¡Copiado!", E.style.color = "#22c55e", setTimeout(() => {
|
|
9348
|
+
E.innerText = Q, E.style.color = B ? "#64748b" : "#6366f1";
|
|
9347
9349
|
}, 1500);
|
|
9348
9350
|
},
|
|
9349
9351
|
style: {
|
|
@@ -9361,14 +9363,14 @@ const ww = (t) => {
|
|
|
9361
9363
|
children: l.key || `VG-${l._id.slice(-6).toUpperCase()}`
|
|
9362
9364
|
}
|
|
9363
9365
|
),
|
|
9364
|
-
l.reference?.metadata?.isModal && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c35", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9366
|
+
l.reference?.metadata?.isModal && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c35", "data-source-path": "/src/components/ViewGateOverlay.tsx:3287", className: "vg-badge", style: {
|
|
9365
9367
|
fontSize: "10px",
|
|
9366
9368
|
background: B ? "#f1f5f9" : l.status === "completed" || l.status === "done" ? "#ecfdf5" : l.status === "ready_for_review" ? "#f3e8ff" : "#fef3c7",
|
|
9367
9369
|
color: B ? "#64748b" : l.status === "completed" || l.status === "done" ? "#059669" : l.status === "ready_for_review" ? "#a855f7" : "#92400e",
|
|
9368
9370
|
border: "none",
|
|
9369
9371
|
padding: "2px 6px"
|
|
9370
9372
|
}, children: "MODAL" }),
|
|
9371
|
-
l.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fa1", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9373
|
+
l.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fa1", "data-source-path": "/src/components/ViewGateOverlay.tsx:3296", style: {
|
|
9372
9374
|
display: "flex",
|
|
9373
9375
|
alignItems: "center",
|
|
9374
9376
|
background: "#f8fafc",
|
|
@@ -9376,7 +9378,7 @@ const ww = (t) => {
|
|
|
9376
9378
|
borderRadius: "50%",
|
|
9377
9379
|
border: "1px solid #e2e8f0",
|
|
9378
9380
|
marginLeft: "4px"
|
|
9379
|
-
}, children: l.creator.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759d4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9381
|
+
}, children: l.creator.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf759d4", "data-source-path": "/src/components/ViewGateOverlay.tsx:3306", src: l.creator.avatar, style: { width: "16px", height: "16px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:3308", style: { width: "16px", height: "16px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "8px", fontWeight: 700 }, children: l.creator.name?.[0] }) }),
|
|
9380
9382
|
l.url && /* @__PURE__ */ i.jsx(
|
|
9381
9383
|
gi,
|
|
9382
9384
|
{
|
|
@@ -9396,7 +9398,7 @@ const ww = (t) => {
|
|
|
9396
9398
|
}
|
|
9397
9399
|
}
|
|
9398
9400
|
),
|
|
9399
|
-
(l.focusAreas?.length > 0 ? l.focusAreas : [...l.backendEndpoints?.length > 0 ? ["backend"] : [], ...l.figmaReference?.length > 0 ? ["ux"] : []]).map((p) => /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c4e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9401
|
+
(l.focusAreas?.length > 0 ? l.focusAreas : [...l.backendEndpoints?.length > 0 ? ["backend"] : [], ...l.figmaReference?.length > 0 ? ["ux"] : []]).map((p) => /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c4e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3334", style: {
|
|
9400
9402
|
fontSize: "10px",
|
|
9401
9403
|
fontWeight: 800,
|
|
9402
9404
|
textTransform: "uppercase",
|
|
@@ -9411,32 +9413,32 @@ const ww = (t) => {
|
|
|
9411
9413
|
boxShadow: p === "frontend" ? "0 2px 4px rgba(5, 150, 105, 0.05)" : p === "backend" ? "0 2px 4px rgba(79, 70, 229, 0.05)" : "0 2px 4px rgba(192, 38, 211, 0.05)",
|
|
9412
9414
|
letterSpacing: "0.02em"
|
|
9413
9415
|
}, children: [
|
|
9414
|
-
p === "frontend" ? /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "b806bee7", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9416
|
+
p === "frontend" ? /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "b806bee7", "data-source-path": "/src/components/ViewGateOverlay.tsx:3342", size: 11, strokeWidth: 2.5 }) : p === "backend" ? /* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c277", "data-source-path": "/src/components/ViewGateOverlay.tsx:3342", size: 11, strokeWidth: 2.5 }) : /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea069934", "data-source-path": "/src/components/ViewGateOverlay.tsx:3342", size: 11, strokeWidth: 2.5 }),
|
|
9415
9417
|
p === "frontend" ? "Frontend" : p === "backend" ? "Backend" : "UX / UI"
|
|
9416
9418
|
] }, p))
|
|
9417
9419
|
] }),
|
|
9418
|
-
l.status === "completed" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c52", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9419
|
-
/* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1a63", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9420
|
+
l.status === "completed" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c52", "data-source-path": "/src/components/ViewGateOverlay.tsx:3348", className: "vg-badge", style: { backgroundColor: "#ecfdf5", color: "#059669", border: "1px solid #d1fae5" }, children: [
|
|
9421
|
+
/* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1a63", "data-source-path": "/src/components/ViewGateOverlay.tsx:3349", size: 14 }),
|
|
9420
9422
|
" ",
|
|
9421
9423
|
r.completed || (e === "es" ? "Listo para revisión" : "Ready for Review")
|
|
9422
|
-
] }) : l.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c54", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9423
|
-
/* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1a65", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9424
|
+
] }) : l.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c54", "data-source-path": "/src/components/ViewGateOverlay.tsx:3352", className: "vg-badge", style: { backgroundColor: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff" }, children: [
|
|
9425
|
+
/* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1a65", "data-source-path": "/src/components/ViewGateOverlay.tsx:3353", size: 14 }),
|
|
9424
9426
|
" ",
|
|
9425
9427
|
r.readyForReview
|
|
9426
|
-
] }) : l.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c56", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9427
|
-
/* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b181a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9428
|
+
] }) : l.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c56", "data-source-path": "/src/components/ViewGateOverlay.tsx:3356", className: "vg-badge", style: { backgroundColor: "#fff1f2", color: "#e11d48", border: "1px solid #ffe4e6" }, children: [
|
|
9429
|
+
/* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b181a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3357", size: 14 }),
|
|
9428
9430
|
" ",
|
|
9429
9431
|
"Bug Fixing"
|
|
9430
|
-
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c6d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9432
|
+
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161c6d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3360", className: "vg-badge", style: {
|
|
9431
9433
|
backgroundColor: B || l.status === "backlog" ? "#f1f5f9" : "#fff7ed",
|
|
9432
9434
|
color: B || l.status === "backlog" ? "#64748b" : "#ea580c",
|
|
9433
9435
|
border: B || l.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
|
|
9434
9436
|
}, children: [
|
|
9435
|
-
/* @__PURE__ */ i.jsx(na, { "data-vg-id": "62dc6c36", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9437
|
+
/* @__PURE__ */ i.jsx(na, { "data-vg-id": "62dc6c36", "data-source-path": "/src/components/ViewGateOverlay.tsx:3365", size: 14 }),
|
|
9436
9438
|
B || l.status === "backlog" ? r.backlog : r.pending
|
|
9437
9439
|
] })
|
|
9438
9440
|
] }),
|
|
9439
|
-
(l.screenshot || l.reference?.previewUrl) && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fda", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9441
|
+
(l.screenshot || l.reference?.previewUrl) && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fda", "data-source-path": "/src/components/ViewGateOverlay.tsx:3372", style: {
|
|
9440
9442
|
margin: "0 0 20px 0",
|
|
9441
9443
|
borderRadius: "8px",
|
|
9442
9444
|
overflow: "hidden",
|
|
@@ -9452,7 +9454,7 @@ const ww = (t) => {
|
|
|
9452
9454
|
"img",
|
|
9453
9455
|
{
|
|
9454
9456
|
"data-vg-id": "3cf75a0d",
|
|
9455
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9457
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3384",
|
|
9456
9458
|
src: l.screenshot || l.reference?.previewUrl,
|
|
9457
9459
|
alt: "Visual Preview",
|
|
9458
9460
|
style: {
|
|
@@ -9463,8 +9465,8 @@ const ww = (t) => {
|
|
|
9463
9465
|
}
|
|
9464
9466
|
}
|
|
9465
9467
|
) }),
|
|
9466
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fdc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9467
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fdd", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9468
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fdc", "data-source-path": "/src/components/ViewGateOverlay.tsx:3397", style: { marginBottom: "20px" }, children: [
|
|
9469
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782fdd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3398", style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fde", "data-source-path": "/src/components/ViewGateOverlay.tsx:3399", style: {
|
|
9468
9470
|
fontSize: "10px",
|
|
9469
9471
|
fontWeight: 800,
|
|
9470
9472
|
color: l.priority === "low" ? "#059669" : l.priority === "urgent" ? "#b91c1c" : l.priority === "high" ? "#b45309" : "#4338ca",
|
|
@@ -9479,17 +9481,17 @@ const ww = (t) => {
|
|
|
9479
9481
|
": ",
|
|
9480
9482
|
r[l.priority || "medium"]
|
|
9481
9483
|
] }) }),
|
|
9482
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af8be", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9483
|
-
l.figmaReference?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fe0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9484
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ff6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9485
|
-
/* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea06996f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9486
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c8d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9484
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af8be", "data-source-path": "/src/components/ViewGateOverlay.tsx:3413", className: "vg-text-wrap", style: { margin: "0", fontSize: "16px", color: "#1e293b", lineHeight: 1.6 }, children: l.message }),
|
|
9485
|
+
l.figmaReference?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fe0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3418", style: { marginTop: "16px", display: "flex", flexDirection: "column", gap: "8px", padding: "12px", background: "#faf5ff", borderRadius: "12px", border: "1px solid #fae8ff" }, children: [
|
|
9486
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ff6", "data-source-path": "/src/components/ViewGateOverlay.tsx:3419", style: { display: "flex", alignItems: "center", gap: "6px", marginBottom: "4px" }, children: [
|
|
9487
|
+
/* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea06996f", "data-source-path": "/src/components/ViewGateOverlay.tsx:3420", size: 14, style: { color: "#d946ef" } }),
|
|
9488
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c8d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3421", style: { fontSize: "11px", fontWeight: 800, color: "#a21caf", textTransform: "uppercase", letterSpacing: "0.05em" }, children: e === "es" ? "Diseños Figma" : "Figma Designs" })
|
|
9487
9489
|
] }),
|
|
9488
9490
|
l.figmaReference.map((p, Q) => /* @__PURE__ */ i.jsxs(
|
|
9489
9491
|
"a",
|
|
9490
9492
|
{
|
|
9491
9493
|
"data-vg-id": "ef479849",
|
|
9492
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9494
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3424",
|
|
9493
9495
|
href: p.link,
|
|
9494
9496
|
target: "_blank",
|
|
9495
9497
|
rel: "noreferrer",
|
|
@@ -9508,32 +9510,32 @@ const ww = (t) => {
|
|
|
9508
9510
|
transition: "all 0.2s",
|
|
9509
9511
|
boxShadow: "0 2px 4px rgba(217, 70, 239, 0.05)"
|
|
9510
9512
|
},
|
|
9511
|
-
onMouseEnter: (
|
|
9512
|
-
|
|
9513
|
+
onMouseEnter: (E) => {
|
|
9514
|
+
E.currentTarget.style.transform = "translateY(-2px)", E.currentTarget.style.boxShadow = "0 4px 12px rgba(217, 70, 239, 0.15)", E.currentTarget.style.borderColor = "#d946ef";
|
|
9513
9515
|
},
|
|
9514
|
-
onMouseLeave: (
|
|
9515
|
-
|
|
9516
|
+
onMouseLeave: (E) => {
|
|
9517
|
+
E.currentTarget.style.transform = "translateY(0)", E.currentTarget.style.boxShadow = "0 2px 4px rgba(217, 70, 239, 0.05)", E.currentTarget.style.borderColor = "#f5d0fe";
|
|
9516
9518
|
},
|
|
9517
9519
|
children: [
|
|
9518
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9519
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782ffb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9520
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c92", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9520
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782ffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:3432", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
9521
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e782ffb", "data-source-path": "/src/components/ViewGateOverlay.tsx:3433", style: { width: "24px", height: "24px", borderRadius: "6px", background: "rgba(217, 70, 239, 0.1)", display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "b806bf29", "data-source-path": "/src/components/ViewGateOverlay.tsx:3434", size: 12, strokeWidth: 3 }) }),
|
|
9522
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161c92", "data-source-path": "/src/components/ViewGateOverlay.tsx:3436", style: { fontWeight: 700 }, children: p.name || "Figma Reference" })
|
|
9521
9523
|
] }),
|
|
9522
|
-
/* @__PURE__ */ i.jsx(Bn, { "data-vg-id": "5c2be04e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9524
|
+
/* @__PURE__ */ i.jsx(Bn, { "data-vg-id": "5c2be04e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3438", size: 14, style: { opacity: 0.5 } })
|
|
9523
9525
|
]
|
|
9524
9526
|
},
|
|
9525
9527
|
Q
|
|
9526
9528
|
))
|
|
9527
9529
|
] }),
|
|
9528
|
-
l.backendEndpoints?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9529
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783015", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9530
|
-
/* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c2d2", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9531
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cac", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9530
|
+
l.backendEndpoints?.length > 0 && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e782fff", "data-source-path": "/src/components/ViewGateOverlay.tsx:3445", style: { marginTop: "16px", display: "flex", flexDirection: "column", gap: "8px", padding: "12px", background: "#f5f8ff", borderRadius: "12px", border: "1px solid #e0e7ff" }, children: [
|
|
9531
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783015", "data-source-path": "/src/components/ViewGateOverlay.tsx:3446", style: { display: "flex", alignItems: "center", gap: "6px", marginBottom: "4px" }, children: [
|
|
9532
|
+
/* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c2d2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3447", size: 14, style: { color: "#4f46e5" } }),
|
|
9533
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cac", "data-source-path": "/src/components/ViewGateOverlay.tsx:3448", style: { fontSize: "11px", fontWeight: 800, color: "#3730a3", textTransform: "uppercase", letterSpacing: "0.05em" }, children: "Backend Endpoints" })
|
|
9532
9534
|
] }),
|
|
9533
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783018", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9534
|
-
const Q = p.split("|"),
|
|
9535
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783018", "data-source-path": "/src/components/ViewGateOverlay.tsx:3450", style: { display: "flex", flexWrap: "wrap", gap: "8px" }, children: l.backendEndpoints.map((p) => {
|
|
9536
|
+
const Q = p.split("|"), E = Q.length > 1 ? Q[0] : "";
|
|
9535
9537
|
let K = Q.length > 1 ? Q[1] || "" : p || "", T = "#4f46e5", S = "#e0e7ff";
|
|
9536
|
-
return
|
|
9538
|
+
return E === "GET" ? (T = "#059669", S = "#d1fae5") : E === "POST" ? (T = "#ea580c", S = "#ffedd5") : E === "PUT" ? (T = "#0284c7", S = "#e0f2fe") : E === "DELETE" && (T = "#e11d48", S = "#ffe4e6"), /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783019", "data-source-path": "/src/components/ViewGateOverlay.tsx:3465", className: "vg-animate-slide", style: {
|
|
9537
9539
|
fontSize: "12px",
|
|
9538
9540
|
padding: "6px 12px",
|
|
9539
9541
|
background: "#ffffff",
|
|
@@ -9545,14 +9547,14 @@ const ww = (t) => {
|
|
|
9545
9547
|
gap: "8px",
|
|
9546
9548
|
boxShadow: "0 2px 4px rgba(79, 70, 229, 0.05)"
|
|
9547
9549
|
}, children: [
|
|
9548
|
-
|
|
9549
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cb0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9550
|
+
E && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161caf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3471", style: { fontWeight: 800, color: T, background: S, padding: "2px 6px", borderRadius: "4px", fontSize: "10px" }, children: E }),
|
|
9551
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161cb0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3472", style: { fontWeight: 600, fontFamily: "monospace", letterSpacing: "-0.02em", color: "#1e293b" }, children: K })
|
|
9550
9552
|
] }, p);
|
|
9551
9553
|
}) })
|
|
9552
9554
|
] })
|
|
9553
9555
|
] }),
|
|
9554
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78301c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9555
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78301d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9556
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78301c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3482", style: { display: "flex", justifyContent: "flex-end", alignItems: "center", gap: "12px", borderTop: "1px solid #f1f5f9", paddingTop: "16px" }, children: [
|
|
9557
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78301d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3484", style: { display: "flex", gap: "6px" }, children: Rt !== "client" && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
9556
9558
|
/* @__PURE__ */ i.jsx(
|
|
9557
9559
|
"button",
|
|
9558
9560
|
{
|
|
@@ -9566,7 +9568,7 @@ const ww = (t) => {
|
|
|
9566
9568
|
Lr(l._id), Vo(l.message), F(l.priority || "medium"), Ys(Q), Nt(l.figmaReference && l.figmaReference.length > 0 ? l.figmaReference : [{ name: r.figmaPrimaryDesign, link: "" }]), Tr(p), ee(p);
|
|
9567
9569
|
},
|
|
9568
9570
|
title: r.edit,
|
|
9569
|
-
children: /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea069996", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9571
|
+
children: /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea069996", "data-source-path": "/src/components/ViewGateOverlay.tsx:3508", size: 16 })
|
|
9570
9572
|
}
|
|
9571
9573
|
),
|
|
9572
9574
|
/* @__PURE__ */ i.jsx(
|
|
@@ -9594,11 +9596,11 @@ const ww = (t) => {
|
|
|
9594
9596
|
});
|
|
9595
9597
|
},
|
|
9596
9598
|
title: e === "es" ? "Eliminar" : "Delete",
|
|
9597
|
-
children: /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "45b44219", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9599
|
+
children: /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "45b44219", "data-source-path": "/src/components/ViewGateOverlay.tsx:3538", size: 16 })
|
|
9598
9600
|
}
|
|
9599
9601
|
)
|
|
9600
9602
|
] }) }),
|
|
9601
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783035", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9603
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783035", "data-source-path": "/src/components/ViewGateOverlay.tsx:3544", style: { display: "flex", gap: "8px" }, children: [
|
|
9602
9604
|
Rt !== "client" && l.status === "ready_for_review" && /* @__PURE__ */ i.jsxs(
|
|
9603
9605
|
"button",
|
|
9604
9606
|
{
|
|
@@ -9617,7 +9619,7 @@ const ww = (t) => {
|
|
|
9617
9619
|
},
|
|
9618
9620
|
disabled: ye,
|
|
9619
9621
|
children: [
|
|
9620
|
-
ye ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "a4b73604", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9622
|
+
ye ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "a4b73604", "data-source-path": "/src/components/ViewGateOverlay.tsx:3562", size: 14, className: "vg-animate-spin" }) : /* @__PURE__ */ i.jsx(Pl, { "data-vg-id": "41e603c7", "data-source-path": "/src/components/ViewGateOverlay.tsx:3562", size: 14 }),
|
|
9621
9623
|
e === "es" ? "Resolver con Evidencia" : "Resolve & Capture"
|
|
9622
9624
|
]
|
|
9623
9625
|
}
|
|
@@ -9640,7 +9642,7 @@ const ww = (t) => {
|
|
|
9640
9642
|
cursor: "pointer"
|
|
9641
9643
|
},
|
|
9642
9644
|
children: [
|
|
9643
|
-
/* @__PURE__ */ i.jsx(Bn, { "data-vg-id": "5c2be088", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9645
|
+
/* @__PURE__ */ i.jsx(Bn, { "data-vg-id": "5c2be088", "data-source-path": "/src/components/ViewGateOverlay.tsx:3582", size: 14 }),
|
|
9644
9646
|
e === "es" ? "Ver en Dashboard" : "View in Dashboard"
|
|
9645
9647
|
]
|
|
9646
9648
|
}
|
|
@@ -9655,7 +9657,7 @@ const ww = (t) => {
|
|
|
9655
9657
|
dA || "all"
|
|
9656
9658
|
)
|
|
9657
9659
|
] }) }),
|
|
9658
|
-
WA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783039", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9660
|
+
WA && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783039", "data-source-path": "/src/components/ViewGateOverlay.tsx:3598", className: "vg-animate-fade", style: {
|
|
9659
9661
|
position: "fixed",
|
|
9660
9662
|
top: 0,
|
|
9661
9663
|
left: 0,
|
|
@@ -9667,14 +9669,14 @@ const ww = (t) => {
|
|
|
9667
9669
|
alignItems: "center",
|
|
9668
9670
|
justifyContent: "center",
|
|
9669
9671
|
zIndex: yt + 100
|
|
9670
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78303a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9672
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78303a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3603", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
9671
9673
|
padding: "40px",
|
|
9672
9674
|
width: "420px",
|
|
9673
9675
|
textAlign: "center",
|
|
9674
9676
|
border: "1px solid rgba(255, 255, 255, 0.1)",
|
|
9675
9677
|
boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.5)"
|
|
9676
9678
|
}, children: [
|
|
9677
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78303b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9679
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78303b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3610", style: {
|
|
9678
9680
|
width: "64px",
|
|
9679
9681
|
height: "64px",
|
|
9680
9682
|
background: WA.type === "danger" ? "rgba(239, 68, 68, 0.1)" : "rgba(99, 102, 241, 0.1)",
|
|
@@ -9685,9 +9687,9 @@ const ww = (t) => {
|
|
|
9685
9687
|
margin: "0 auto 24px",
|
|
9686
9688
|
color: WA.type === "danger" ? "#ef4444" : "#6366f1",
|
|
9687
9689
|
transform: "rotate(-5deg)"
|
|
9688
|
-
}, children: WA.type === "danger" ? /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "45b44221", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9689
|
-
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec569", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9690
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af933", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9690
|
+
}, children: WA.type === "danger" ? /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "45b44221", "data-source-path": "/src/components/ViewGateOverlay.tsx:3619", size: 32 }) : /* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1ae2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3619", size: 32 }) }),
|
|
9691
|
+
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec569", "data-source-path": "/src/components/ViewGateOverlay.tsx:3621", style: { margin: "0 0 12px 0", fontSize: "20px", fontWeight: 800, color: "#000000", letterSpacing: "-0.02em" }, children: WA.title }),
|
|
9692
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01af933", "data-source-path": "/src/components/ViewGateOverlay.tsx:3622", style: { margin: "0 0 24px 0", fontSize: "15px", color: "#000000", lineHeight: 1.6 }, children: WA.message }),
|
|
9691
9693
|
WA.showInput && /* @__PURE__ */ i.jsx(
|
|
9692
9694
|
"textarea",
|
|
9693
9695
|
{
|
|
@@ -9700,7 +9702,7 @@ const ww = (t) => {
|
|
|
9700
9702
|
style: { marginBottom: "24px", minHeight: "80px", textAlign: "left" }
|
|
9701
9703
|
}
|
|
9702
9704
|
),
|
|
9703
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783055", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9705
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783055", "data-source-path": "/src/components/ViewGateOverlay.tsx:3636", style: { display: "flex", gap: "16px" }, children: [
|
|
9704
9706
|
/* @__PURE__ */ i.jsx(
|
|
9705
9707
|
"button",
|
|
9706
9708
|
{
|
|
@@ -9738,13 +9740,13 @@ const ww = (t) => {
|
|
|
9738
9740
|
Dt(!1);
|
|
9739
9741
|
}
|
|
9740
9742
|
},
|
|
9741
|
-
children: pe ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "a4b73624", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9743
|
+
children: pe ? /* @__PURE__ */ i.jsx(_r, { "data-vg-id": "a4b73624", "data-source-path": "/src/components/ViewGateOverlay.tsx:3672", size: 18, className: "vg-animate-spin" }) : r.yes
|
|
9742
9744
|
}
|
|
9743
9745
|
)
|
|
9744
9746
|
] })
|
|
9745
9747
|
] }) }),
|
|
9746
9748
|
!jA && !u && fA && ut.map((l, h) => {
|
|
9747
|
-
const { rect: p, annotations: Q, isModal:
|
|
9749
|
+
const { rect: p, annotations: Q, isModal: E } = l, K = Q[0], T = Q.length, S = Q.some((b) => b.status === "ready_for_review"), sA = Q.some((b) => b.status === "completed" || b.status === "done"), V = Q.some((b) => b.status !== "ready_for_review" && b.status !== "completed" && b.status !== "done"), hA = sA && !S && !V, rA = S && !V && !sA, nA = (S || sA) && !V, mA = (S || sA) && V, yA = Q.filter((b) => b.status !== "ready_for_review" && b.status !== "completed" && b.status !== "done").length, EA = Q.filter((b) => b.status === "ready_for_review").length, CA = Q.filter((b) => b.status === "completed" || b.status === "done").length, LA = Q.some((b) => b.status === "bug_fixing" || b.type === "bug" || b.originalStatus === "bug_fixing"), ve = LA && !rA && !hA ? "#f43f5e" : yA > 0 ? B ? "#64748b" : "#ea580c" : EA > 0 ? "#a855f7" : "#10b981", $ = ut.some((b) => b.element === l.element && b.isTriggerPin), GA = ut.some((b) => b.element === l.element && !b.isTriggerPin), pA = $ && GA ? l.isTriggerPin ? -18 : 18 : 0, TA = p.top === 0 && p.left === 0 && p.width > window.innerWidth * 0.9;
|
|
9748
9750
|
return /* @__PURE__ */ i.jsxs(
|
|
9749
9751
|
"div",
|
|
9750
9752
|
{
|
|
@@ -9759,24 +9761,24 @@ const ww = (t) => {
|
|
|
9759
9761
|
transition: "all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",
|
|
9760
9762
|
zIndex: Uw
|
|
9761
9763
|
},
|
|
9762
|
-
onMouseEnter: (
|
|
9763
|
-
const zA =
|
|
9764
|
+
onMouseEnter: (b) => {
|
|
9765
|
+
const zA = b.currentTarget.getBoundingClientRect(), Dr = window.innerHeight - zA.bottom, $c = zA.top;
|
|
9764
9766
|
Dr < 250 && $c > Dr ? uA((tn) => ({ ...tn, [l.id]: "vg-top" })) : uA((tn) => ({ ...tn, [l.id]: "" }));
|
|
9765
9767
|
},
|
|
9766
|
-
onWheel: (
|
|
9767
|
-
const zA =
|
|
9768
|
-
zA && zA.scrollBy({ top:
|
|
9768
|
+
onWheel: (b) => {
|
|
9769
|
+
const zA = b.currentTarget.querySelector(".vg-tooltip-scroll");
|
|
9770
|
+
zA && zA.scrollBy({ top: b.deltaY, behavior: "smooth" });
|
|
9769
9771
|
},
|
|
9770
9772
|
onClick: () => {
|
|
9771
9773
|
he(!0), Ee(K._id);
|
|
9772
9774
|
},
|
|
9773
9775
|
children: [
|
|
9774
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783057", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9775
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783058", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9776
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783059", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9777
|
-
l.isTriggerPin ? /* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "d88161bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9778
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78305c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9779
|
-
yA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d07", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9776
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783057", "data-source-path": "/src/components/ViewGateOverlay.tsx:3747", className: `vg-pin-tooltip ${XA[l.id] || ""} ${TA || p.left < 160 ? "vg-tooltip-right" : p.left > window.innerWidth - 160 ? "vg-tooltip-left" : ""}`, style: { padding: "16px" }, children: [
|
|
9777
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783058", "data-source-path": "/src/components/ViewGateOverlay.tsx:3748", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
|
|
9778
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783059", "data-source-path": "/src/components/ViewGateOverlay.tsx:3749", style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap" }, children: [
|
|
9779
|
+
l.isTriggerPin ? /* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "d88161bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3751", size: 14, color: ve }) : /* @__PURE__ */ i.jsx(Pr, { "data-vg-id": "7fe17ae", "data-source-path": "/src/components/ViewGateOverlay.tsx:3753", size: 14, color: ve }),
|
|
9780
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78305c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3755", style: { display: "flex", gap: "4px" }, children: [
|
|
9781
|
+
yA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d07", "data-source-path": "/src/components/ViewGateOverlay.tsx:3757", className: "vg-badge", style: {
|
|
9780
9782
|
fontSize: "10px",
|
|
9781
9783
|
background: B ? "#f1f5f9" : "#fff7ed",
|
|
9782
9784
|
color: B ? "#64748b" : "#c2410c"
|
|
@@ -9785,7 +9787,7 @@ const ww = (t) => {
|
|
|
9785
9787
|
" ",
|
|
9786
9788
|
B || K.status === "backlog" ? "Backlog" : e === "es" ? yA === 1 ? r.pending : "Pendientes" : "pending"
|
|
9787
9789
|
] }),
|
|
9788
|
-
EA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d08", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9790
|
+
EA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d08", "data-source-path": "/src/components/ViewGateOverlay.tsx:3766", style: {
|
|
9789
9791
|
fontSize: "10px",
|
|
9790
9792
|
fontWeight: 700,
|
|
9791
9793
|
color: "#a855f7",
|
|
@@ -9797,7 +9799,7 @@ const ww = (t) => {
|
|
|
9797
9799
|
" ",
|
|
9798
9800
|
e === "es" ? EA === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
|
|
9799
9801
|
] }),
|
|
9800
|
-
CA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d09", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9802
|
+
CA > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d09", "data-source-path": "/src/components/ViewGateOverlay.tsx:3778", style: {
|
|
9801
9803
|
fontSize: "10px",
|
|
9802
9804
|
fontWeight: 700,
|
|
9803
9805
|
color: "#059669",
|
|
@@ -9809,7 +9811,7 @@ const ww = (t) => {
|
|
|
9809
9811
|
" ",
|
|
9810
9812
|
e === "es" ? CA === 1 ? "Completado" : "Completados" : "completed"
|
|
9811
9813
|
] }),
|
|
9812
|
-
Q.some((
|
|
9814
|
+
Q.some((b) => b.status === "bug_fixing") && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d0a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3790", style: {
|
|
9813
9815
|
fontSize: "10px",
|
|
9814
9816
|
fontWeight: 700,
|
|
9815
9817
|
color: "#e11d48",
|
|
@@ -9819,7 +9821,7 @@ const ww = (t) => {
|
|
|
9819
9821
|
}, children: "BUG" })
|
|
9820
9822
|
] })
|
|
9821
9823
|
] }),
|
|
9822
|
-
|
|
9824
|
+
E && /* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d0b", "data-source-path": "/src/components/ViewGateOverlay.tsx:3804", className: "vg-badge", style: {
|
|
9823
9825
|
fontSize: "10px",
|
|
9824
9826
|
background: B ? "#f1f5f9" : mA ? `linear-gradient(90deg, #ea580c 50%, ${sA ? "#10b981" : "#a855f7"} 50%)` : yA > 0 ? "#fff7ed" : hA ? "#ecfdf5" : "#f3e8ff",
|
|
9825
9827
|
color: B ? "#64748b" : mA ? "#ffffff" : yA > 0 ? "#c2410c" : hA ? "#059669" : "#a855f7",
|
|
@@ -9828,22 +9830,22 @@ const ww = (t) => {
|
|
|
9828
9830
|
textShadow: mA && !B ? "0 1px 2px rgba(0,0,0,0.2)" : "none"
|
|
9829
9831
|
}, children: "MODAL" })
|
|
9830
9832
|
] }),
|
|
9831
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783077", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9833
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783077", "data-source-path": "/src/components/ViewGateOverlay.tsx:3816", className: "vg-tooltip-scroll", style: { maxHeight: "180px", overflowY: "auto" }, children: Q.map((b, zA) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783078", "data-source-path": "/src/components/ViewGateOverlay.tsx:3818", style: {
|
|
9832
9834
|
padding: "10px 0",
|
|
9833
9835
|
borderTop: zA === 0 ? "none" : "1px solid #f1f5f9",
|
|
9834
9836
|
display: "flex",
|
|
9835
9837
|
gap: "12px",
|
|
9836
9838
|
alignItems: "flex-start"
|
|
9837
9839
|
}, children: [
|
|
9838
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783079", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9839
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78307a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9840
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d10", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9841
|
-
|
|
9840
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783079", "data-source-path": "/src/components/ViewGateOverlay.tsx:3825", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
9841
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78307a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3826", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
9842
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "8161d10", "data-source-path": "/src/components/ViewGateOverlay.tsx:3827", style: { fontSize: "10px", fontWeight: 600, color: "#64748b" }, children: Bi(b.timestamp || b.createdAt, e) }),
|
|
9843
|
+
b.creator && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783091", "data-source-path": "/src/components/ViewGateOverlay.tsx:3831", style: { marginLeft: "4px" }, children: b.creator.avatar ? /* @__PURE__ */ i.jsx("img", { "data-vg-id": "3cf75ac4", "data-source-path": "/src/components/ViewGateOverlay.tsx:3833", src: b.creator.avatar, style: { width: "14px", height: "14px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783093", "data-source-path": "/src/components/ViewGateOverlay.tsx:3835", style: { width: "14px", height: "14px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "7px", fontWeight: 700 }, children: b.creator.name?.[0] }) })
|
|
9842
9844
|
] }),
|
|
9843
|
-
|
|
9845
|
+
b.url && /* @__PURE__ */ i.jsx(
|
|
9844
9846
|
gi,
|
|
9845
9847
|
{
|
|
9846
|
-
url:
|
|
9848
|
+
url: b.url,
|
|
9847
9849
|
onHover: To,
|
|
9848
9850
|
style: {
|
|
9849
9851
|
display: "flex",
|
|
@@ -9860,21 +9862,21 @@ const ww = (t) => {
|
|
|
9860
9862
|
tooltipStyle: { fontSize: "9px" }
|
|
9861
9863
|
}
|
|
9862
9864
|
),
|
|
9863
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783094", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9865
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783094", "data-source-path": "/src/components/ViewGateOverlay.tsx:3861", className: "vg-line-clamp-2", style: { fontSize: "13px", color: "#1e293b", lineHeight: 1.4, fontWeight: 500 }, children: b.message.length > 100 ? b.message.slice(0, 97) + "..." : b.message })
|
|
9864
9866
|
] }),
|
|
9865
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783095", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9866
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783096", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9867
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783095", "data-source-path": "/src/components/ViewGateOverlay.tsx:3865", style: { flexShrink: 0, marginTop: "2px", display: "flex", flexDirection: "column", gap: "4px", alignItems: "flex-end" }, children: [
|
|
9868
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783096", "data-source-path": "/src/components/ViewGateOverlay.tsx:3866", style: {
|
|
9867
9869
|
fontSize: "8px",
|
|
9868
9870
|
fontWeight: 800,
|
|
9869
|
-
color:
|
|
9870
|
-
backgroundColor:
|
|
9871
|
+
color: b.priority === "low" ? "#059669" : b.priority === "urgent" ? "#b91c1c" : b.priority === "high" ? "#b45309" : "#4338ca",
|
|
9872
|
+
backgroundColor: b.priority === "low" ? "#ecfdf5" : b.priority === "urgent" ? "#fef2f2" : b.priority === "high" ? "#fffbeb" : "#eef2ff",
|
|
9871
9873
|
padding: "2px 6px",
|
|
9872
9874
|
borderRadius: "4px",
|
|
9873
9875
|
textTransform: "uppercase",
|
|
9874
9876
|
border: "1px solid",
|
|
9875
|
-
borderColor:
|
|
9876
|
-
}, children: r[
|
|
9877
|
-
|
|
9877
|
+
borderColor: b.priority === "low" ? "#d1fae5" : b.priority === "urgent" ? "#fee2e2" : b.priority === "high" ? "#fef3c7" : "#e0e7ff"
|
|
9878
|
+
}, children: r[b.priority || "medium"] }),
|
|
9879
|
+
b.status === "completed" || b.status === "done" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d2c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3880", style: {
|
|
9878
9880
|
display: "flex",
|
|
9879
9881
|
alignItems: "center",
|
|
9880
9882
|
gap: "4px",
|
|
@@ -9887,9 +9889,9 @@ const ww = (t) => {
|
|
|
9887
9889
|
textTransform: "uppercase",
|
|
9888
9890
|
border: "1px solid #d1fae5"
|
|
9889
9891
|
}, children: [
|
|
9890
|
-
/* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1b3d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9892
|
+
/* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1b3d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3893", size: 10 }),
|
|
9891
9893
|
r.completed
|
|
9892
|
-
] }) :
|
|
9894
|
+
] }) : b.status === "ready_for_review" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161d2e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3897", style: {
|
|
9893
9895
|
display: "flex",
|
|
9894
9896
|
alignItems: "center",
|
|
9895
9897
|
gap: "4px",
|
|
@@ -9902,9 +9904,9 @@ const ww = (t) => {
|
|
|
9902
9904
|
textTransform: "uppercase",
|
|
9903
9905
|
border: "1px solid #e9d5ff"
|
|
9904
9906
|
}, children: [
|
|
9905
|
-
|
|
9907
|
+
b.type === "bug" || b.status === "bug_fixing" || b.originalStatus === "bug_fixing" ? /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b18dd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3910", size: 10 }) : /* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1de0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3910", size: 10 }),
|
|
9906
9908
|
r.readyForReview
|
|
9907
|
-
] }) :
|
|
9909
|
+
] }) : b.status === "bug_fixing" ? /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd1", "data-source-path": "/src/components/ViewGateOverlay.tsx:3914", style: {
|
|
9908
9910
|
display: "flex",
|
|
9909
9911
|
alignItems: "center",
|
|
9910
9912
|
gap: "4px",
|
|
@@ -9917,40 +9919,40 @@ const ww = (t) => {
|
|
|
9917
9919
|
textTransform: "uppercase",
|
|
9918
9920
|
border: "1px solid #ffe4e6"
|
|
9919
9921
|
}, children: [
|
|
9920
|
-
/* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b1b80", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9922
|
+
/* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b1b80", "data-source-path": "/src/components/ViewGateOverlay.tsx:3927", size: 10 }),
|
|
9921
9923
|
"Bug Fixing"
|
|
9922
|
-
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9924
|
+
] }) : /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "8161fd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:3931", style: {
|
|
9923
9925
|
display: "flex",
|
|
9924
9926
|
alignItems: "center",
|
|
9925
9927
|
gap: "4px",
|
|
9926
9928
|
fontSize: "8px",
|
|
9927
9929
|
fontWeight: 800,
|
|
9928
|
-
color: B ||
|
|
9929
|
-
background: B ||
|
|
9930
|
+
color: B || b.status === "backlog" ? "#64748b" : "#ea580c",
|
|
9931
|
+
background: B || b.status === "backlog" ? "#f1f5f9" : "#fff7ed",
|
|
9930
9932
|
padding: "2px 6px",
|
|
9931
9933
|
borderRadius: "6px",
|
|
9932
9934
|
textTransform: "uppercase",
|
|
9933
|
-
border: B ||
|
|
9935
|
+
border: B || b.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
|
|
9934
9936
|
}, children: [
|
|
9935
|
-
/* @__PURE__ */ i.jsx(na, { "data-vg-id": "62dc6f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9936
|
-
B ||
|
|
9937
|
+
/* @__PURE__ */ i.jsx(na, { "data-vg-id": "62dc6f9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3944", size: 10 }),
|
|
9938
|
+
B || b.status === "backlog" ? r.backlog : r.pending
|
|
9937
9939
|
] })
|
|
9938
9940
|
] })
|
|
9939
|
-
] },
|
|
9941
|
+
] }, b._id)) })
|
|
9940
9942
|
] }),
|
|
9941
9943
|
/* @__PURE__ */ i.jsxs(
|
|
9942
9944
|
"div",
|
|
9943
9945
|
{
|
|
9944
9946
|
"data-vg-id": "2e783340",
|
|
9945
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9947
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:3954",
|
|
9946
9948
|
className: `vg-formal-pin ${hA ? "completed" : rA || nA ? "ready" : LA ? "bug" : mA ? "mixed" : B ? "backlog" : ""} ${l.isTriggerPin ? "modal-variant" : ""}`,
|
|
9947
9949
|
style: {
|
|
9948
9950
|
position: "relative",
|
|
9949
9951
|
background: LA && !rA && !hA ? "linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)" : rA ? "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : mA ? sA ? "linear-gradient(135deg, #10b981 0%, #059669 100%)" : "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : void 0
|
|
9950
9952
|
},
|
|
9951
9953
|
children: [
|
|
9952
|
-
rA || hA || nA ? LA && !hA ? /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b1b84", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9953
|
-
T > 1 && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9954
|
+
rA || hA || nA ? LA && !hA ? /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b1b84", "data-source-path": "/src/components/ViewGateOverlay.tsx:3961", size: 18 }) : /* @__PURE__ */ i.jsx(rt, { "data-vg-id": "a75c1de7", "data-source-path": "/src/components/ViewGateOverlay.tsx:3961", size: 18 }) : LA ? /* @__PURE__ */ i.jsx(jt, { "data-vg-id": "3b8b1b86", "data-source-path": "/src/components/ViewGateOverlay.tsx:3961", size: 18 }) : l.isTriggerPin ? /* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "d88164a9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3961", size: 16 }) : E ? /* @__PURE__ */ i.jsx(Bn, { "data-vg-id": "5c2be3aa", "data-source-path": "/src/components/ViewGateOverlay.tsx:3961", size: 16 }) : /* @__PURE__ */ i.jsx(Pr, { "data-vg-id": "7fe1aae", "data-source-path": "/src/components/ViewGateOverlay.tsx:3961", size: 16 }),
|
|
9955
|
+
T > 1 && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3964", className: "vg-pin-badge vg-animate-pop", children: T })
|
|
9954
9956
|
]
|
|
9955
9957
|
}
|
|
9956
9958
|
)
|
|
@@ -9971,7 +9973,7 @@ const ww = (t) => {
|
|
|
9971
9973
|
children: At?.url
|
|
9972
9974
|
}
|
|
9973
9975
|
),
|
|
9974
|
-
se && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9976
|
+
se && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78335d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3989", style: {
|
|
9975
9977
|
position: "fixed",
|
|
9976
9978
|
top: 0,
|
|
9977
9979
|
left: 0,
|
|
@@ -9987,7 +9989,7 @@ const ww = (t) => {
|
|
|
9987
9989
|
animation: "vg-fade-in 0.3s ease-out"
|
|
9988
9990
|
}, onClick: (l) => {
|
|
9989
9991
|
l.target === l.currentTarget && z(!1);
|
|
9990
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
9992
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3998", className: "vg-glassmorphism vg-animate-pop", style: {
|
|
9991
9993
|
width: "95%",
|
|
9992
9994
|
maxWidth: "800px",
|
|
9993
9995
|
// Wider modal for better scanning
|
|
@@ -10002,16 +10004,16 @@ const ww = (t) => {
|
|
|
10002
10004
|
border: "1px solid rgba(255, 255, 255, 0.15)",
|
|
10003
10005
|
backgroundColor: "rgba(255, 255, 255, 0.98)"
|
|
10004
10006
|
}, children: [
|
|
10005
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10006
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783360", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10007
|
-
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec877", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10008
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc41", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10007
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78335f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4011", style: { padding: "32px 40px", borderBottom: "1px solid rgba(0,0,0,0.06)", display: "flex", alignItems: "center", justifyContent: "space-between", background: "white" }, children: [
|
|
10008
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783360", "data-source-path": "/src/components/ViewGateOverlay.tsx:4012", children: [
|
|
10009
|
+
/* @__PURE__ */ i.jsx("h3", { "data-vg-id": "53ec877", "data-source-path": "/src/components/ViewGateOverlay.tsx:4013", style: { margin: 0, fontSize: "24px", fontWeight: 900, letterSpacing: "-0.03em", color: "#0f172a" }, children: e === "es" ? "Selector de Endpoints" : "Endpoint Selector" }),
|
|
10010
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc41", "data-source-path": "/src/components/ViewGateOverlay.tsx:4016", style: { margin: "6px 0 0 0", fontSize: "14px", color: "#64748b", fontWeight: 500 }, children: e === "es" ? "Asocia múltiples rutas backend a este ticket para mayor precisión" : "Associate multiple backend routes to this ticket for better precision" })
|
|
10009
10011
|
] }),
|
|
10010
10012
|
/* @__PURE__ */ i.jsx(
|
|
10011
10013
|
"button",
|
|
10012
10014
|
{
|
|
10013
10015
|
"data-vg-id": "5861c060",
|
|
10014
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10016
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4020",
|
|
10015
10017
|
onClick: () => z(!1),
|
|
10016
10018
|
className: "vg-close-pill",
|
|
10017
10019
|
style: { width: "40px", height: "40px", display: "flex", alignItems: "center", justifyContent: "center", borderRadius: "14px", background: "#f1f5f9", color: "#64748b", border: "none", cursor: "pointer", transition: "all 0.2s" },
|
|
@@ -10021,17 +10023,17 @@ const ww = (t) => {
|
|
|
10021
10023
|
onMouseLeave: (l) => {
|
|
10022
10024
|
l.currentTarget.style.background = "#f1f5f9", l.currentTarget.style.color = "#64748b";
|
|
10023
10025
|
},
|
|
10024
|
-
children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "eec8c840", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10026
|
+
children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "eec8c840", "data-source-path": "/src/components/ViewGateOverlay.tsx:4027", size: 20, strokeWidth: 2.5 })
|
|
10025
10027
|
}
|
|
10026
10028
|
)
|
|
10027
10029
|
] }),
|
|
10028
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10029
|
-
/* @__PURE__ */ i.jsx(fd, { "data-vg-id": "8f7bb00f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10030
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337a", "data-source-path": "/src/components/ViewGateOverlay.tsx:4031", style: { padding: "24px 40px", borderBottom: "1px solid rgba(0,0,0,0.06)", background: "#fcfcfc" }, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78337b", "data-source-path": "/src/components/ViewGateOverlay.tsx:4032", style: { position: "relative" }, children: [
|
|
10031
|
+
/* @__PURE__ */ i.jsx(fd, { "data-vg-id": "8f7bb00f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4033", size: 20, style: { position: "absolute", left: "16px", top: "50%", transform: "translateY(-50%)", color: "#94a3b8" } }),
|
|
10030
10032
|
/* @__PURE__ */ i.jsx(
|
|
10031
10033
|
"input",
|
|
10032
10034
|
{
|
|
10033
10035
|
"data-vg-id": "88e38db6",
|
|
10034
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10036
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4034",
|
|
10035
10037
|
type: "text",
|
|
10036
10038
|
placeholder: e === "es" ? "Buscar rutas, métodos o descripciones..." : "Search routes, methods, or descriptions...",
|
|
10037
10039
|
value: eA,
|
|
@@ -10050,11 +10052,11 @@ const ww = (t) => {
|
|
|
10050
10052
|
}
|
|
10051
10053
|
)
|
|
10052
10054
|
] }) }),
|
|
10053
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10055
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78337e", "data-source-path": "/src/components/ViewGateOverlay.tsx:4054", style: { flex: 1, overflowY: "auto", overflowX: "hidden", padding: "24px 40px" }, className: "vg-custom-scrollbar", children: kt ? Ro.length > 0 ? /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783382", "data-source-path": "/src/components/ViewGateOverlay.tsx:4061", style: { display: "flex", flexDirection: "column", gap: "0px" }, children: Ro.map((l) => {
|
|
10054
10056
|
const h = l.name === (e === "es" ? "Seleccionados" : "Selected");
|
|
10055
|
-
return /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783398", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10056
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783399", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10057
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816202f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10057
|
+
return /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783398", "data-source-path": "/src/components/ViewGateOverlay.tsx:4065", style: { marginBottom: "32px" }, children: [
|
|
10058
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783399", "data-source-path": "/src/components/ViewGateOverlay.tsx:4066", style: { display: "flex", alignItems: "center", gap: "12px", marginBottom: "16px", padding: "0 4px" }, children: [
|
|
10059
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816202f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4067", style: {
|
|
10058
10060
|
fontSize: "11px",
|
|
10059
10061
|
fontWeight: 900,
|
|
10060
10062
|
textTransform: "uppercase",
|
|
@@ -10066,62 +10068,62 @@ const ww = (t) => {
|
|
|
10066
10068
|
border: "1px solid",
|
|
10067
10069
|
borderColor: h ? "rgba(10, 185, 129, 0.1)" : "rgba(99, 102, 241, 0.1)"
|
|
10068
10070
|
}, children: l.name }),
|
|
10069
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339b", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10071
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339b", "data-source-path": "/src/components/ViewGateOverlay.tsx:4081", style: {
|
|
10070
10072
|
flex: 1,
|
|
10071
10073
|
height: "1px",
|
|
10072
10074
|
background: `linear-gradient(90deg, ${h ? "rgba(16, 185, 129, 0.15)" : "rgba(99, 102, 241, 0.15)"} 0%, transparent 100%)`
|
|
10073
10075
|
} })
|
|
10074
10076
|
] }),
|
|
10075
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10077
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4088", style: {
|
|
10076
10078
|
display: "grid",
|
|
10077
10079
|
gridTemplateColumns: "repeat(auto-fill, minmax(340px, 1fr))",
|
|
10078
10080
|
gap: "12px"
|
|
10079
10081
|
}, children: l.endpoints.map((p) => {
|
|
10080
|
-
const Q = `${p.method}|${p.path}`,
|
|
10082
|
+
const Q = `${p.method}|${p.path}`, E = J.includes(Q);
|
|
10081
10083
|
return /* @__PURE__ */ i.jsxs(
|
|
10082
10084
|
"div",
|
|
10083
10085
|
{
|
|
10084
10086
|
"data-vg-id": "2e78339d",
|
|
10085
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10087
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4097",
|
|
10086
10088
|
onClick: () => {
|
|
10087
|
-
ee(
|
|
10089
|
+
ee(E ? J.filter((K) => K !== Q) : [...J, Q]);
|
|
10088
10090
|
},
|
|
10089
10091
|
style: {
|
|
10090
10092
|
padding: "16px 20px",
|
|
10091
10093
|
borderRadius: "18px",
|
|
10092
10094
|
cursor: "pointer",
|
|
10093
10095
|
transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
10094
|
-
background:
|
|
10096
|
+
background: E ? "#f5f7ff" : "#ffffff",
|
|
10095
10097
|
border: "1px solid",
|
|
10096
|
-
borderColor:
|
|
10098
|
+
borderColor: E ? "rgba(99, 102, 241, 0.2)" : "#f1f5f9",
|
|
10097
10099
|
display: "flex",
|
|
10098
10100
|
alignItems: "center",
|
|
10099
10101
|
gap: "16px",
|
|
10100
|
-
boxShadow:
|
|
10102
|
+
boxShadow: E ? "0 4px 12px rgba(99, 102, 241, 0.08)" : "none"
|
|
10101
10103
|
},
|
|
10102
10104
|
onMouseEnter: (K) => {
|
|
10103
|
-
|
|
10105
|
+
E || (K.currentTarget.style.background = "#f8fafc", K.currentTarget.style.borderColor = "#e2e8f0");
|
|
10104
10106
|
},
|
|
10105
10107
|
onMouseLeave: (K) => {
|
|
10106
|
-
|
|
10108
|
+
E || (K.currentTarget.style.background = "#ffffff", K.currentTarget.style.borderColor = "#f1f5f9");
|
|
10107
10109
|
},
|
|
10108
10110
|
children: [
|
|
10109
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339e", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10111
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339e", "data-source-path": "/src/components/ViewGateOverlay.tsx:4129", style: {
|
|
10110
10112
|
width: "24px",
|
|
10111
10113
|
height: "24px",
|
|
10112
10114
|
borderRadius: "8px",
|
|
10113
10115
|
border: "2px solid",
|
|
10114
|
-
borderColor:
|
|
10115
|
-
backgroundColor:
|
|
10116
|
+
borderColor: E ? "#6366f1" : "#cbd5e1",
|
|
10117
|
+
backgroundColor: E ? "#6366f1" : "white",
|
|
10116
10118
|
display: "flex",
|
|
10117
10119
|
alignItems: "center",
|
|
10118
10120
|
justifyContent: "center",
|
|
10119
10121
|
transition: "all 0.2s",
|
|
10120
10122
|
flexShrink: 0
|
|
10121
|
-
}, children:
|
|
10122
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10123
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a1", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10124
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10123
|
+
}, children: E && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78339f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4142", style: { color: "white", fontSize: "14px", fontWeight: 900 }, children: "✓" }) }),
|
|
10124
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a0", "data-source-path": "/src/components/ViewGateOverlay.tsx:4144", style: { flex: 1, minWidth: 0 }, children: [
|
|
10125
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833a1", "data-source-path": "/src/components/ViewGateOverlay.tsx:4145", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
|
|
10126
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4146", style: {
|
|
10125
10127
|
fontSize: "11px",
|
|
10126
10128
|
fontWeight: 800,
|
|
10127
10129
|
padding: "3px 8px",
|
|
@@ -10130,14 +10132,14 @@ const ww = (t) => {
|
|
|
10130
10132
|
color: p.method === "GET" ? "#166534" : "#991b1b",
|
|
10131
10133
|
flexShrink: 0
|
|
10132
10134
|
}, children: p.method }),
|
|
10133
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10135
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "816204d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4157", style: {
|
|
10134
10136
|
fontWeight: 700,
|
|
10135
|
-
color:
|
|
10137
|
+
color: E ? "#4338ca" : "#1e293b",
|
|
10136
10138
|
fontSize: "14px",
|
|
10137
10139
|
wordBreak: "break-all"
|
|
10138
10140
|
}, children: p.path })
|
|
10139
10141
|
] }),
|
|
10140
|
-
p.description && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10142
|
+
p.description && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:4167", style: {
|
|
10141
10143
|
fontSize: "12px",
|
|
10142
10144
|
color: "#64748b",
|
|
10143
10145
|
marginTop: "6px",
|
|
@@ -10152,17 +10154,17 @@ const ww = (t) => {
|
|
|
10152
10154
|
);
|
|
10153
10155
|
}) })
|
|
10154
10156
|
] }, l.name);
|
|
10155
|
-
}) }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833ba", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10156
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833bb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10157
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10158
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10159
|
-
] }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78337f", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10160
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783380", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10161
|
-
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc60", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10157
|
+
}) }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833ba", "data-source-path": "/src/components/ViewGateOverlay.tsx:4188", style: { padding: "80px 20px", textAlign: "center", display: "flex", flexDirection: "column", alignItems: "center" }, children: [
|
|
10158
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833bb", "data-source-path": "/src/components/ViewGateOverlay.tsx:4189", style: { width: "80px", height: "80px", borderRadius: "24px", backgroundColor: "#f1f5f9", display: "flex", alignItems: "center", justifyContent: "center", marginBottom: "24px" }, children: /* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c678", "data-source-path": "/src/components/ViewGateOverlay.tsx:4190", size: 40, style: { color: "#94a3b8" } }) }),
|
|
10159
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4192", style: { color: "#0f172a", fontSize: "18px", fontWeight: 800, margin: "0 0 8px 0" }, children: e === "es" ? "No encontramos lo que buscas" : "No results found" }),
|
|
10160
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc9d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4195", style: { color: "#64748b", fontSize: "15px", margin: 0 }, children: e === "es" ? "Intenta buscar con otros términos o revisa la sincronización" : "Try searching with different terms or check synchronization" })
|
|
10161
|
+
] }) : /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78337f", "data-source-path": "/src/components/ViewGateOverlay.tsx:4056", style: { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "100px 0", gap: "20px" }, children: [
|
|
10162
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e783380", "data-source-path": "/src/components/ViewGateOverlay.tsx:4057", className: "vg-spinner", style: { width: "40px", height: "40px", border: "3px solid rgba(99, 102, 241, 0.1)", borderTopColor: "#6366f1" } }),
|
|
10163
|
+
/* @__PURE__ */ i.jsx("p", { "data-vg-id": "f01afc60", "data-source-path": "/src/components/ViewGateOverlay.tsx:4058", style: { color: "#64748b", fontSize: "15px", fontWeight: 600 }, children: e === "es" ? "Cargando endpoints..." : "Loading endpoints..." })
|
|
10162
10164
|
] }) }),
|
|
10163
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10164
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833c0", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10165
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10165
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:4202", style: { padding: "24px 40px", borderTop: "1px solid rgba(0,0,0,0.06)", background: "white", display: "flex", alignItems: "center", justifyContent: "space-between", gap: "20px" }, children: [
|
|
10166
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833c0", "data-source-path": "/src/components/ViewGateOverlay.tsx:4203", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
10167
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833d6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4204", style: { padding: "6px 12px", background: "#f1f5f9", borderRadius: "10px", fontSize: "14px", fontWeight: 700, color: "#475569" }, children: [
|
|
10166
10168
|
J.length,
|
|
10167
10169
|
" ",
|
|
10168
10170
|
e === "es" ? "seleccionados" : "selected"
|
|
@@ -10171,7 +10173,7 @@ const ww = (t) => {
|
|
|
10171
10173
|
"button",
|
|
10172
10174
|
{
|
|
10173
10175
|
"data-vg-id": "5861c0d4",
|
|
10174
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10176
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4208",
|
|
10175
10177
|
onClick: () => {
|
|
10176
10178
|
ee([]), ht && Tr([]);
|
|
10177
10179
|
},
|
|
@@ -10180,11 +10182,11 @@ const ww = (t) => {
|
|
|
10180
10182
|
}
|
|
10181
10183
|
)
|
|
10182
10184
|
] }),
|
|
10183
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833d8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10185
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833d8", "data-source-path": "/src/components/ViewGateOverlay.tsx:4219", style: { display: "flex", gap: "12px" }, children: /* @__PURE__ */ i.jsx(
|
|
10184
10186
|
"button",
|
|
10185
10187
|
{
|
|
10186
10188
|
"data-vg-id": "5861c0d6",
|
|
10187
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10189
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4220",
|
|
10188
10190
|
onClick: () => {
|
|
10189
10191
|
ht && Tr(J), z(!1);
|
|
10190
10192
|
},
|
|
@@ -10215,7 +10217,7 @@ const ww = (t) => {
|
|
|
10215
10217
|
) })
|
|
10216
10218
|
] })
|
|
10217
10219
|
] }) }),
|
|
10218
|
-
ht && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833da", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10220
|
+
ht && /* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833da", "data-source-path": "/src/components/ViewGateOverlay.tsx:4255", className: "vg-animate-fade", style: {
|
|
10219
10221
|
position: "fixed",
|
|
10220
10222
|
top: 0,
|
|
10221
10223
|
left: 0,
|
|
@@ -10227,7 +10229,7 @@ const ww = (t) => {
|
|
|
10227
10229
|
alignItems: "center",
|
|
10228
10230
|
justifyContent: "center",
|
|
10229
10231
|
zIndex: yt + 50
|
|
10230
|
-
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833db", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10232
|
+
}, children: /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833db", "data-source-path": "/src/components/ViewGateOverlay.tsx:4261", className: "vg-glassmorphism vg-animate-slide", style: {
|
|
10231
10233
|
width: "600px",
|
|
10232
10234
|
maxWidth: "90vw",
|
|
10233
10235
|
maxHeight: "90vh",
|
|
@@ -10240,14 +10242,14 @@ const ww = (t) => {
|
|
|
10240
10242
|
flexDirection: "column",
|
|
10241
10243
|
gap: "24px"
|
|
10242
10244
|
}, children: [
|
|
10243
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833dc", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10244
|
-
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "530b172", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10245
|
-
/* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c0db", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10245
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833dc", "data-source-path": "/src/components/ViewGateOverlay.tsx:4272", style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
10246
|
+
/* @__PURE__ */ i.jsx("h2", { "data-vg-id": "530b172", "data-source-path": "/src/components/ViewGateOverlay.tsx:4273", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#1e293b" }, children: e === "es" ? "Editar Comentario" : "Edit Comment" }),
|
|
10247
|
+
/* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c0db", "data-source-path": "/src/components/ViewGateOverlay.tsx:4276", onClick: () => Lr(null), style: { background: "none", border: "none", cursor: "pointer", color: "#94a3b8" }, children: /* @__PURE__ */ i.jsx(Xt, { "data-vg-id": "eec8c8a6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4277", size: 24 }) })
|
|
10246
10248
|
] }),
|
|
10247
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f5", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10248
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f6", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10249
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10250
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833f8", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10249
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f5", "data-source-path": "/src/components/ViewGateOverlay.tsx:4281", style: { display: "flex", flexDirection: "column", gap: "16px" }, children: [
|
|
10250
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f6", "data-source-path": "/src/components/ViewGateOverlay.tsx:4282", children: [
|
|
10251
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105a", "data-source-path": "/src/components/ViewGateOverlay.tsx:4283", style: { display: "block", fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", textTransform: "uppercase", letterSpacing: "0.5px" }, children: r.priority }),
|
|
10252
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833f8", "data-source-path": "/src/components/ViewGateOverlay.tsx:4284", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((l) => /* @__PURE__ */ i.jsx(
|
|
10251
10253
|
"button",
|
|
10252
10254
|
{
|
|
10253
10255
|
onClick: () => F(l),
|
|
@@ -10270,12 +10272,12 @@ const ww = (t) => {
|
|
|
10270
10272
|
l
|
|
10271
10273
|
)) })
|
|
10272
10274
|
] }),
|
|
10273
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10274
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105d", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10275
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833fb", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10276
|
-
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "b806c329", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10277
|
-
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c6b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10278
|
-
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea069d76", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10275
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e7833f9", "data-source-path": "/src/components/ViewGateOverlay.tsx:4304", style: { marginBottom: "8px" }, children: [
|
|
10276
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec105d", "data-source-path": "/src/components/ViewGateOverlay.tsx:4305", style: { display: "block", fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", textTransform: "uppercase", letterSpacing: "0.5px" }, children: r.focusAreas }),
|
|
10277
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e7833fb", "data-source-path": "/src/components/ViewGateOverlay.tsx:4306", style: { display: "flex", gap: "8px" }, children: [
|
|
10278
|
+
{ id: "frontend", label: r.frontend, icon: /* @__PURE__ */ i.jsx(Mr, { "data-vg-id": "b806c329", "data-source-path": "/src/components/ViewGateOverlay.tsx:4308", size: 14 }), color: "#10b981", bg: "#ecfdf5", border: "#d1fae5" },
|
|
10279
|
+
{ id: "backend", label: r.backend, icon: /* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c6b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:4309", size: 14 }), color: "#6366f1", bg: "#eef2ff", border: "#e0e7ff" },
|
|
10280
|
+
{ id: "ux", label: r.ux, icon: /* @__PURE__ */ i.jsx(Wt, { "data-vg-id": "ea069d76", "data-source-path": "/src/components/ViewGateOverlay.tsx:4310", size: 14 }), color: "#d946ef", bg: "#fdf4ff", border: "#f5d0fe" }
|
|
10279
10281
|
].filter((l) => l.id === "backend" ? Er : l.id === "ux" ? k : !0).map((l) => {
|
|
10280
10282
|
const h = pt.includes(l.id);
|
|
10281
10283
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -10310,17 +10312,17 @@ const ww = (t) => {
|
|
|
10310
10312
|
);
|
|
10311
10313
|
}) })
|
|
10312
10314
|
] }),
|
|
10313
|
-
pt.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783414", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10314
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783415", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10315
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783416", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10316
|
-
/* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "d881657c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10317
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620ad", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10315
|
+
pt.includes("ux") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783414", "data-source-path": "/src/components/ViewGateOverlay.tsx:4346", className: "vg-animate-slide", style: { padding: "16px", borderRadius: "16px", background: "#f8fafc", border: "1px solid #e2e8f0" }, children: [
|
|
10316
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783415", "data-source-path": "/src/components/ViewGateOverlay.tsx:4347", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
|
|
10317
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783416", "data-source-path": "/src/components/ViewGateOverlay.tsx:4348", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
10318
|
+
/* @__PURE__ */ i.jsx(Nr, { "data-vg-id": "d881657c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4349", size: 14, style: { color: "#d946ef" } }),
|
|
10319
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620ad", "data-source-path": "/src/components/ViewGateOverlay.tsx:4350", style: { fontSize: "11px", fontWeight: 800, color: "#64748b", textTransform: "uppercase" }, children: r.figmaLink })
|
|
10318
10320
|
] }),
|
|
10319
10321
|
/* @__PURE__ */ i.jsxs(
|
|
10320
10322
|
"button",
|
|
10321
10323
|
{
|
|
10322
10324
|
"data-vg-id": "5861c116",
|
|
10323
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10325
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4352",
|
|
10324
10326
|
onClick: () => Nt([...et, { name: "", link: "" }]),
|
|
10325
10327
|
style: { background: "#fdf4ff", border: "1px solid #f5d0fe", color: "#d946ef", borderRadius: "8px", padding: "4px 10px", fontSize: "11px", fontWeight: 800, cursor: "pointer" },
|
|
10326
10328
|
children: [
|
|
@@ -10330,12 +10332,12 @@ const ww = (t) => {
|
|
|
10330
10332
|
}
|
|
10331
10333
|
)
|
|
10332
10334
|
] }),
|
|
10333
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78341a", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10335
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78341a", "data-source-path": "/src/components/ViewGateOverlay.tsx:4359", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: et.map((l, h) => /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e78341b", "data-source-path": "/src/components/ViewGateOverlay.tsx:4361", style: { display: "flex", gap: "8px" }, children: [
|
|
10334
10336
|
/* @__PURE__ */ i.jsx(
|
|
10335
10337
|
"input",
|
|
10336
10338
|
{
|
|
10337
10339
|
"data-vg-id": "88e38e55",
|
|
10338
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10340
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4362",
|
|
10339
10341
|
type: "text",
|
|
10340
10342
|
className: "vg-textarea",
|
|
10341
10343
|
style: { padding: "8px 12px", fontSize: "12px", minHeight: "auto", borderRadius: "10px" },
|
|
@@ -10351,7 +10353,7 @@ const ww = (t) => {
|
|
|
10351
10353
|
"input",
|
|
10352
10354
|
{
|
|
10353
10355
|
"data-vg-id": "88e38e56",
|
|
10354
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10356
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4373",
|
|
10355
10357
|
type: "text",
|
|
10356
10358
|
className: "vg-textarea",
|
|
10357
10359
|
style: { padding: "8px 12px", fontSize: "12px", minHeight: "auto", borderRadius: "10px" },
|
|
@@ -10363,16 +10365,16 @@ const ww = (t) => {
|
|
|
10363
10365
|
}
|
|
10364
10366
|
}
|
|
10365
10367
|
),
|
|
10366
|
-
et.length > 1 && /* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c130", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10368
|
+
et.length > 1 && /* @__PURE__ */ i.jsx("button", { "data-vg-id": "5861c130", "data-source-path": "/src/components/ViewGateOverlay.tsx:4385", onClick: () => Nt(et.filter((p, Q) => Q !== h)), style: { color: "#ef4444", background: "none", border: "none", cursor: "pointer" }, children: /* @__PURE__ */ i.jsx(jr, { "data-vg-id": "45b44619", "data-source-path": "/src/components/ViewGateOverlay.tsx:4386", size: 16 }) })
|
|
10367
10369
|
] }, h)) })
|
|
10368
10370
|
] }),
|
|
10369
|
-
Er && pt.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783435", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10370
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783436", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10371
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783437", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10372
|
-
/* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c6f4", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10373
|
-
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620ce", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10371
|
+
Er && pt.includes("backend") && /* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783435", "data-source-path": "/src/components/ViewGateOverlay.tsx:4397", className: "vg-animate-slide", style: { padding: "16px", borderRadius: "16px", background: "#f8fafc", border: "1px solid #e2e8f0" }, children: [
|
|
10372
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783436", "data-source-path": "/src/components/ViewGateOverlay.tsx:4398", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "8px" }, children: [
|
|
10373
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783437", "data-source-path": "/src/components/ViewGateOverlay.tsx:4399", style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
10374
|
+
/* @__PURE__ */ i.jsx(Ge, { "data-vg-id": "b1e4c6f4", "data-source-path": "/src/components/ViewGateOverlay.tsx:4400", size: 14, style: { color: "#6366f1" } }),
|
|
10375
|
+
/* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620ce", "data-source-path": "/src/components/ViewGateOverlay.tsx:4401", style: { fontSize: "11px", fontWeight: 800, color: "#64748b", textTransform: "uppercase" }, children: r.endpoint })
|
|
10374
10376
|
] }),
|
|
10375
|
-
ke.length > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "81620cf", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10377
|
+
ke.length > 0 && /* @__PURE__ */ i.jsxs("span", { "data-vg-id": "81620cf", "data-source-path": "/src/components/ViewGateOverlay.tsx:4404", style: { fontSize: "10px", background: "#eef2ff", color: "#6366f1", padding: "2px 8px", borderRadius: "12px", fontWeight: 700 }, children: [
|
|
10376
10378
|
ke.length,
|
|
10377
10379
|
" ",
|
|
10378
10380
|
e === "es" ? "seleccionados" : "selected"
|
|
@@ -10382,21 +10384,21 @@ const ww = (t) => {
|
|
|
10382
10384
|
"button",
|
|
10383
10385
|
{
|
|
10384
10386
|
"data-vg-id": "5861c138",
|
|
10385
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10387
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4409",
|
|
10386
10388
|
onClick: () => z(!0),
|
|
10387
10389
|
style: { width: "100%", padding: "12px 16px", fontSize: "14px", borderRadius: "12px", background: "white", border: "1px solid #e2e8f0", display: "flex", alignItems: "center", justifyContent: "space-between", cursor: "pointer", textAlign: "left", color: ke.length > 0 ? "#0f172a" : "#94a3b8" },
|
|
10388
10390
|
children: [
|
|
10389
|
-
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78343c", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10391
|
+
/* @__PURE__ */ i.jsx("div", { "data-vg-id": "2e78343c", "data-source-path": "/src/components/ViewGateOverlay.tsx:4413", style: { display: "flex", gap: "4px", overflow: "hidden" }, children: ke.length > 0 ? ke.slice(0, 2).map((l) => /* @__PURE__ */ i.jsx("span", { "data-vg-id": "81620e7", "data-source-path": "/src/components/ViewGateOverlay.tsx:4415", style: { background: "#eef2ff", color: "#6366f1", padding: "1px 6px", borderRadius: "4px", fontSize: "11px", fontWeight: 600 }, children: l.split("|").pop() }, l)).concat(ke.length > 2 ? [/* @__PURE__ */ i.jsxs("span", { "data-vg-id": "81620e8", "data-source-path": "/src/components/ViewGateOverlay.tsx:4415", children: [
|
|
10390
10392
|
"+",
|
|
10391
10393
|
ke.length - 2
|
|
10392
10394
|
] }, "plus")] : []) : r.selectEndpoint }),
|
|
10393
|
-
/* @__PURE__ */ i.jsx(sa, { "data-vg-id": "1cd39120", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10395
|
+
/* @__PURE__ */ i.jsx(sa, { "data-vg-id": "1cd39120", "data-source-path": "/src/components/ViewGateOverlay.tsx:4418", size: 14, style: { color: "#64748b" } })
|
|
10394
10396
|
]
|
|
10395
10397
|
}
|
|
10396
10398
|
)
|
|
10397
10399
|
] }),
|
|
10398
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783455", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10399
|
-
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec10b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10400
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783455", "data-source-path": "/src/components/ViewGateOverlay.tsx:4423", children: [
|
|
10401
|
+
/* @__PURE__ */ i.jsx("label", { "data-vg-id": "feec10b9", "data-source-path": "/src/components/ViewGateOverlay.tsx:4424", style: { display: "block", fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", textTransform: "uppercase", letterSpacing: "0.5px" }, children: e === "es" ? "Mensaje" : "Message" }),
|
|
10400
10402
|
/* @__PURE__ */ i.jsx(
|
|
10401
10403
|
"textarea",
|
|
10402
10404
|
{
|
|
@@ -10409,12 +10411,12 @@ const ww = (t) => {
|
|
|
10409
10411
|
)
|
|
10410
10412
|
] })
|
|
10411
10413
|
] }),
|
|
10412
|
-
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783457", "data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10414
|
+
/* @__PURE__ */ i.jsxs("div", { "data-vg-id": "2e783457", "data-source-path": "/src/components/ViewGateOverlay.tsx:4435", style: { display: "flex", justifyContent: "flex-end", gap: "12px", marginTop: "16px", paddingTop: "24px", borderTop: "1px solid #f1f5f9" }, children: [
|
|
10413
10415
|
/* @__PURE__ */ i.jsx(
|
|
10414
10416
|
"button",
|
|
10415
10417
|
{
|
|
10416
10418
|
"data-vg-id": "5861c155",
|
|
10417
|
-
"data-source-path": "/src/components/ViewGateOverlay.tsx:
|
|
10419
|
+
"data-source-path": "/src/components/ViewGateOverlay.tsx:4436",
|
|
10418
10420
|
className: "vg-button-ghost",
|
|
10419
10421
|
style: { padding: "12px 24px", fontSize: "14px", borderRadius: "12px", color: "#64748b", fontWeight: 700 },
|
|
10420
10422
|
onClick: () => {
|