ct-answer-designer 1.0.0 → 1.0.1

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.
@@ -195,7 +195,7 @@ function je(n) {
195
195
  n.exports = function(w, E, T, D, k, R, P) {
196
196
  s(T, E, D);
197
197
  var C, L, N, S = function(g) {
198
- if (!p && g in A) return A[g];
198
+ if (!p && g in I) return I[g];
199
199
  switch (g) {
200
200
  case b:
201
201
  return function() {
@@ -209,10 +209,10 @@ function je(n) {
209
209
  return function() {
210
210
  return new T(this, g);
211
211
  };
212
- }, F = E + " Iterator", B = k == h, M = !1, A = w.prototype, q = A[f] || A[d] || k && A[k], V = q || S(k), H = k ? B ? S("entries") : V : void 0, y = E == "Array" && A.entries || q;
212
+ }, F = E + " Iterator", B = k == h, M = !1, I = w.prototype, q = I[f] || I[d] || k && I[k], V = q || S(k), H = k ? B ? S("entries") : V : void 0, y = E == "Array" && I.entries || q;
213
213
  if (y && (N = u(y.call(new w())), N !== Object.prototype && N.next && (c(N, F, !0), t || typeof N[f] == "function" || i(N, f, m))), B && q && q.name !== h && (M = !0, V = function() {
214
214
  return q.call(this);
215
- }), t && !P || !p && !M && A[f] || i(A, f, V), a[E] = V, a[F] = m, k) if (C = { values: B ? V : S(h), keys: R ? V : S(b), entries: H }, P) for (L in C) L in A || o(A, L, C[L]);
215
+ }), t && !P || !p && !M && I[f] || i(I, f, V), a[E] = V, a[F] = m, k) if (C = { values: B ? V : S(h), keys: R ? V : S(b), entries: H }, P) for (L in C) L in I || o(I, L, C[L]);
216
216
  else r(r.P + r.F * (p || M), E, C);
217
217
  return C;
218
218
  };
@@ -502,7 +502,7 @@ function je(n) {
502
502
  }).call(this, e("f28c"));
503
503
  }, "24c5": function(n, l, e) {
504
504
  var t, r, o, i, a = e("b8e3"), s = e("e53d"), c = e("d864"), u = e("40c3"), f = e("63b6"), p = e("f772"), d = e("79aa"), b = e("1173"), h = e("a22a"), m = e("f201"), w = e("4178").set, E = e("aba2")(), T = e("656e"), D = e("4439"), k = e("bc13"), R = e("cd78"), P = "Promise", C = s.TypeError, L = s.process, N = L && L.versions, S = N && N.v8 || "", F = s[P], B = u(L) == "process", M = function() {
505
- }, A = r = T.f, q = !!function() {
505
+ }, I = r = T.f, q = !!function() {
506
506
  try {
507
507
  var v = F.resolve(1), O = (v.constructor = {})[e("5168")("species")] = function(j) {
508
508
  j(M, M);
@@ -546,7 +546,7 @@ function je(n) {
546
546
  }, _ = function(v) {
547
547
  var O = this;
548
548
  O._d || (O._d = !0, O = O._w || O, O._v = v, O._s = 2, O._a || (O._a = O._c.slice()), H(O, !0));
549
- }, I = function(v) {
549
+ }, A = function(v) {
550
550
  var O, j = this;
551
551
  if (!j._d) {
552
552
  j._d = !0, j = j._w || j;
@@ -555,7 +555,7 @@ function je(n) {
555
555
  (O = V(v)) ? E(function() {
556
556
  var U = { _w: j, _d: !1 };
557
557
  try {
558
- O.call(v, c(I, U, 1), c(_, U, 1));
558
+ O.call(v, c(A, U, 1), c(_, U, 1));
559
559
  } catch ($) {
560
560
  _.call(U, $);
561
561
  }
@@ -568,31 +568,31 @@ function je(n) {
568
568
  q || (F = function(v) {
569
569
  b(this, F, P, "_h"), d(v), t.call(this);
570
570
  try {
571
- v(c(I, this, 1), c(_, this, 1));
571
+ v(c(A, this, 1), c(_, this, 1));
572
572
  } catch (O) {
573
573
  _.call(this, O);
574
574
  }
575
575
  }, t = function(v) {
576
576
  this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, this._n = !1;
577
577
  }, t.prototype = e("5c95")(F.prototype, { then: function(v, O) {
578
- var j = A(m(this, F));
578
+ var j = I(m(this, F));
579
579
  return j.ok = typeof v != "function" || v, j.fail = typeof O == "function" && O, j.domain = B ? L.domain : void 0, this._c.push(j), this._a && this._a.push(j), this._s && H(this, !1), j.promise;
580
580
  }, catch: function(v) {
581
581
  return this.then(void 0, v);
582
582
  } }), o = function() {
583
583
  var v = new t();
584
- this.promise = v, this.resolve = c(I, v, 1), this.reject = c(_, v, 1);
585
- }, T.f = A = function(v) {
584
+ this.promise = v, this.resolve = c(A, v, 1), this.reject = c(_, v, 1);
585
+ }, T.f = I = function(v) {
586
586
  return v === F || v === i ? new o(v) : r(v);
587
587
  }), f(f.G + f.W + f.F * !q, { Promise: F }), e("45f2")(F, P), e("4c95")(P), i = e("584a")[P], f(f.S + f.F * !q, P, { reject: function(v) {
588
- var O = A(this), j = O.reject;
588
+ var O = I(this), j = O.reject;
589
589
  return j(v), O.promise;
590
590
  } }), f(f.S + f.F * (a || !q), P, { resolve: function(v) {
591
591
  return R(a && this === i ? F : this, v);
592
592
  } }), f(f.S + f.F * !(q && e("4ee1")(function(v) {
593
593
  F.all(v).catch(M);
594
594
  })), P, { all: function(v) {
595
- var O = this, j = A(O), U = j.resolve, $ = j.reject, G = D(function() {
595
+ var O = this, j = I(O), U = j.resolve, $ = j.reject, G = D(function() {
596
596
  var W = [], J = 0, Q = 1;
597
597
  h(v, !1, function(te) {
598
598
  var re = J++, X = !1;
@@ -603,7 +603,7 @@ function je(n) {
603
603
  });
604
604
  return G.e && $(G.v), j.promise;
605
605
  }, race: function(v) {
606
- var O = this, j = A(O), U = j.reject, $ = D(function() {
606
+ var O = this, j = I(O), U = j.reject, $ = D(function() {
607
607
  h(v, !1, function(G) {
608
608
  O.resolve(G).then(j.resolve, U);
609
609
  });
@@ -631,9 +631,9 @@ function je(n) {
631
631
  var L = String(this);
632
632
  if (P === void 0 && C === 0) return [];
633
633
  if (!t(P)) return D.call(L, P, C);
634
- for (var N, S, F, B = [], M = (P.ignoreCase ? "i" : "") + (P.multiline ? "m" : "") + (P.unicode ? "u" : "") + (P.sticky ? "y" : ""), A = 0, q = C === void 0 ? m : C >>> 0, V = new RegExp(P.source, M + "g"); (N = c.call(V, L)) && (S = V[h], !(S > A && (B.push(L.slice(A, N.index)), N[b] > 1 && N.index < L[b] && p.apply(B, N.slice(1)), F = N[0][b], A = S, B[b] >= q))); )
634
+ for (var N, S, F, B = [], M = (P.ignoreCase ? "i" : "") + (P.multiline ? "m" : "") + (P.unicode ? "u" : "") + (P.sticky ? "y" : ""), I = 0, q = C === void 0 ? m : C >>> 0, V = new RegExp(P.source, M + "g"); (N = c.call(V, L)) && (S = V[h], !(S > I && (B.push(L.slice(I, N.index)), N[b] > 1 && N.index < L[b] && p.apply(B, N.slice(1)), F = N[0][b], I = S, B[b] >= q))); )
635
635
  V[h] === N.index && V[h]++;
636
- return A === L[b] ? !F && V.test("") || B.push("") : B.push(L.slice(A)), B[b] > q ? B.slice(0, q) : B;
636
+ return I === L[b] ? !F && V.test("") || B.push("") : B.push(L.slice(I)), B[b] > q ? B.slice(0, q) : B;
637
637
  } : "0"[d](void 0, 0)[b] ? function(P, C) {
638
638
  return P === void 0 && C === 0 ? [] : D.call(this, P, C);
639
639
  } : D, [function(P, C) {
@@ -642,13 +642,13 @@ function je(n) {
642
642
  }, function(P, C) {
643
643
  var L = k(R, P, this, C, R !== D);
644
644
  if (L.done) return L.value;
645
- var N = r(P), S = String(this), F = o(N, RegExp), B = N.unicode, M = (N.ignoreCase ? "i" : "") + (N.multiline ? "m" : "") + (N.unicode ? "u" : "") + (w ? "y" : "g"), A = new F(w ? N : "^(?:" + N.source + ")", M), q = C === void 0 ? m : C >>> 0;
645
+ var N = r(P), S = String(this), F = o(N, RegExp), B = N.unicode, M = (N.ignoreCase ? "i" : "") + (N.multiline ? "m" : "") + (N.unicode ? "u" : "") + (w ? "y" : "g"), I = new F(w ? N : "^(?:" + N.source + ")", M), q = C === void 0 ? m : C >>> 0;
646
646
  if (q === 0) return [];
647
- if (S.length === 0) return s(A, S) === null ? [S] : [];
647
+ if (S.length === 0) return s(I, S) === null ? [S] : [];
648
648
  for (var V = 0, H = 0, y = []; H < S.length; ) {
649
- A.lastIndex = w ? H : 0;
650
- var g, x = s(A, w ? S : S.slice(H));
651
- if (x === null || (g = f(a(A.lastIndex + (w ? 0 : H)), S.length)) === V) H = i(S, H, B);
649
+ I.lastIndex = w ? H : 0;
650
+ var g, x = s(I, w ? S : S.slice(H));
651
+ if (x === null || (g = f(a(I.lastIndex + (w ? 0 : H)), S.length)) === V) H = i(S, H, B);
652
652
  else {
653
653
  if (y.push(S.slice(V, H)), y.length === q) return y;
654
654
  for (var _ = 1; _ <= x.length - 1; _++) if (y.push(x[_]), y.length === q) return y;
@@ -762,7 +762,7 @@ function je(n) {
762
762
  n.exports = function(w, E, T, D, k, R, P) {
763
763
  s(T, E, D);
764
764
  var C, L, N, S = function(g) {
765
- if (!p && g in A) return A[g];
765
+ if (!p && g in I) return I[g];
766
766
  switch (g) {
767
767
  case b:
768
768
  return function() {
@@ -776,10 +776,10 @@ function je(n) {
776
776
  return function() {
777
777
  return new T(this, g);
778
778
  };
779
- }, F = E + " Iterator", B = k == h, M = !1, A = w.prototype, q = A[f] || A[d] || k && A[k], V = q || S(k), H = k ? B ? S("entries") : V : void 0, y = E == "Array" && A.entries || q;
779
+ }, F = E + " Iterator", B = k == h, M = !1, I = w.prototype, q = I[f] || I[d] || k && I[k], V = q || S(k), H = k ? B ? S("entries") : V : void 0, y = E == "Array" && I.entries || q;
780
780
  if (y && (N = u(y.call(new w())), N !== Object.prototype && N.next && (c(N, F, !0), t || typeof N[f] == "function" || i(N, f, m))), B && q && q.name !== h && (M = !0, V = function() {
781
781
  return q.call(this);
782
- }), t && !P || !p && !M && A[f] || i(A, f, V), a[E] = V, a[F] = m, k) if (C = { values: B ? V : S(h), keys: R ? V : S(b), entries: H }, P) for (L in C) L in A || o(A, L, C[L]);
782
+ }), t && !P || !p && !M && I[f] || i(I, f, V), a[E] = V, a[F] = m, k) if (C = { values: B ? V : S(h), keys: R ? V : S(b), entries: H }, P) for (L in C) L in I || o(I, L, C[L]);
783
783
  else r(r.P + r.F * (p || M), E, C);
784
784
  return C;
785
785
  };
@@ -1346,7 +1346,7 @@ function je(n) {
1346
1346
  };
1347
1347
  }, "551c": function(n, l, e) {
1348
1348
  var t, r, o, i, a = e("2d00"), s = e("7726"), c = e("9b43"), u = e("23c6"), f = e("5ca1"), p = e("d3f4"), d = e("d8e8"), b = e("f605"), h = e("4a59"), m = e("ebd6"), w = e("1991").set, E = e("8079")(), T = e("a5b8"), D = e("9c80"), k = e("a25f"), R = e("bcaa"), P = "Promise", C = s.TypeError, L = s.process, N = L && L.versions, S = N && N.v8 || "", F = s[P], B = u(L) == "process", M = function() {
1349
- }, A = r = T.f, q = !!function() {
1349
+ }, I = r = T.f, q = !!function() {
1350
1350
  try {
1351
1351
  var v = F.resolve(1), O = (v.constructor = {})[e("2b4c")("species")] = function(j) {
1352
1352
  j(M, M);
@@ -1390,7 +1390,7 @@ function je(n) {
1390
1390
  }, _ = function(v) {
1391
1391
  var O = this;
1392
1392
  O._d || (O._d = !0, O = O._w || O, O._v = v, O._s = 2, O._a || (O._a = O._c.slice()), H(O, !0));
1393
- }, I = function(v) {
1393
+ }, A = function(v) {
1394
1394
  var O, j = this;
1395
1395
  if (!j._d) {
1396
1396
  j._d = !0, j = j._w || j;
@@ -1399,7 +1399,7 @@ function je(n) {
1399
1399
  (O = V(v)) ? E(function() {
1400
1400
  var U = { _w: j, _d: !1 };
1401
1401
  try {
1402
- O.call(v, c(I, U, 1), c(_, U, 1));
1402
+ O.call(v, c(A, U, 1), c(_, U, 1));
1403
1403
  } catch ($) {
1404
1404
  _.call(U, $);
1405
1405
  }
@@ -1412,31 +1412,31 @@ function je(n) {
1412
1412
  q || (F = function(v) {
1413
1413
  b(this, F, P, "_h"), d(v), t.call(this);
1414
1414
  try {
1415
- v(c(I, this, 1), c(_, this, 1));
1415
+ v(c(A, this, 1), c(_, this, 1));
1416
1416
  } catch (O) {
1417
1417
  _.call(this, O);
1418
1418
  }
1419
1419
  }, t = function(v) {
1420
1420
  this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, this._n = !1;
1421
1421
  }, t.prototype = e("dcbc")(F.prototype, { then: function(v, O) {
1422
- var j = A(m(this, F));
1422
+ var j = I(m(this, F));
1423
1423
  return j.ok = typeof v != "function" || v, j.fail = typeof O == "function" && O, j.domain = B ? L.domain : void 0, this._c.push(j), this._a && this._a.push(j), this._s && H(this, !1), j.promise;
1424
1424
  }, catch: function(v) {
1425
1425
  return this.then(void 0, v);
1426
1426
  } }), o = function() {
1427
1427
  var v = new t();
1428
- this.promise = v, this.resolve = c(I, v, 1), this.reject = c(_, v, 1);
1429
- }, T.f = A = function(v) {
1428
+ this.promise = v, this.resolve = c(A, v, 1), this.reject = c(_, v, 1);
1429
+ }, T.f = I = function(v) {
1430
1430
  return v === F || v === i ? new o(v) : r(v);
1431
1431
  }), f(f.G + f.W + f.F * !q, { Promise: F }), e("7f20")(F, P), e("7a56")(P), i = e("8378")[P], f(f.S + f.F * !q, P, { reject: function(v) {
1432
- var O = A(this), j = O.reject;
1432
+ var O = I(this), j = O.reject;
1433
1433
  return j(v), O.promise;
1434
1434
  } }), f(f.S + f.F * (a || !q), P, { resolve: function(v) {
1435
1435
  return R(a && this === i ? F : this, v);
1436
1436
  } }), f(f.S + f.F * !(q && e("5cc5")(function(v) {
1437
1437
  F.all(v).catch(M);
1438
1438
  })), P, { all: function(v) {
1439
- var O = this, j = A(O), U = j.resolve, $ = j.reject, G = D(function() {
1439
+ var O = this, j = I(O), U = j.resolve, $ = j.reject, G = D(function() {
1440
1440
  var W = [], J = 0, Q = 1;
1441
1441
  h(v, !1, function(te) {
1442
1442
  var re = J++, X = !1;
@@ -1447,7 +1447,7 @@ function je(n) {
1447
1447
  });
1448
1448
  return G.e && $(G.v), j.promise;
1449
1449
  }, race: function(v) {
1450
- var O = this, j = A(O), U = j.reject, $ = D(function() {
1450
+ var O = this, j = I(O), U = j.reject, $ = D(function() {
1451
1451
  h(v, !1, function(G) {
1452
1452
  O.resolve(G).then(j.resolve, U);
1453
1453
  });
@@ -1880,7 +1880,7 @@ function je(n) {
1880
1880
  var t = function(r) {
1881
1881
  var o, i = Object.prototype, a = i.hasOwnProperty, s = typeof Symbol == "function" ? Symbol : {}, c = s.iterator || "@@iterator", u = s.asyncIterator || "@@asyncIterator", f = s.toStringTag || "@@toStringTag";
1882
1882
  function p(y, g, x, _) {
1883
- var I = g && g.prototype instanceof T ? g : T, v = Object.create(I.prototype), O = new q(_ || []);
1883
+ var A = g && g.prototype instanceof T ? g : T, v = Object.create(A.prototype), O = new q(_ || []);
1884
1884
  return v._invoke = F(y, x, O), v;
1885
1885
  }
1886
1886
  function d(y, g, x) {
@@ -1913,8 +1913,8 @@ function je(n) {
1913
1913
  });
1914
1914
  }
1915
1915
  function S(y) {
1916
- function g(I, v, O, j) {
1917
- var U = d(y[I], y, v);
1916
+ function g(A, v, O, j) {
1917
+ var U = d(y[A], y, v);
1918
1918
  if (U.type !== "throw") {
1919
1919
  var $ = U.arg, G = $.value;
1920
1920
  return G && typeof G == "object" && a.call(G, "__await") ? Promise.resolve(G.__await).then(function(W) {
@@ -1930,10 +1930,10 @@ function je(n) {
1930
1930
  j(U.arg);
1931
1931
  }
1932
1932
  var x;
1933
- function _(I, v) {
1933
+ function _(A, v) {
1934
1934
  function O() {
1935
1935
  return new Promise(function(j, U) {
1936
- g(I, v, j, U);
1936
+ g(A, v, j, U);
1937
1937
  });
1938
1938
  }
1939
1939
  return x = x ? x.then(O, O) : O();
@@ -1942,13 +1942,13 @@ function je(n) {
1942
1942
  }
1943
1943
  function F(y, g, x) {
1944
1944
  var _ = b;
1945
- return function(I, v) {
1945
+ return function(A, v) {
1946
1946
  if (_ === m) throw new Error("Generator is already running");
1947
1947
  if (_ === w) {
1948
- if (I === "throw") throw v;
1948
+ if (A === "throw") throw v;
1949
1949
  return H();
1950
1950
  }
1951
- for (x.method = I, x.arg = v; ; ) {
1951
+ for (x.method = A, x.arg = v; ; ) {
1952
1952
  var O = x.delegate;
1953
1953
  if (O) {
1954
1954
  var j = B(O, x);
@@ -1983,14 +1983,14 @@ function je(n) {
1983
1983
  }
1984
1984
  var _ = d(x, y.iterator, g.arg);
1985
1985
  if (_.type === "throw") return g.method = "throw", g.arg = _.arg, g.delegate = null, E;
1986
- var I = _.arg;
1987
- return I ? I.done ? (g[y.resultName] = I.value, g.next = y.nextLoc, g.method !== "return" && (g.method = "next", g.arg = o), g.delegate = null, E) : I : (g.method = "throw", g.arg = new TypeError("iterator result is not an object"), g.delegate = null, E);
1986
+ var A = _.arg;
1987
+ return A ? A.done ? (g[y.resultName] = A.value, g.next = y.nextLoc, g.method !== "return" && (g.method = "next", g.arg = o), g.delegate = null, E) : A : (g.method = "throw", g.arg = new TypeError("iterator result is not an object"), g.delegate = null, E);
1988
1988
  }
1989
1989
  function M(y) {
1990
1990
  var g = { tryLoc: y[0] };
1991
1991
  1 in y && (g.catchLoc = y[1]), 2 in y && (g.finallyLoc = y[2], g.afterLoc = y[3]), this.tryEntries.push(g);
1992
1992
  }
1993
- function A(y) {
1993
+ function I(y) {
1994
1994
  var g = y.completion || {};
1995
1995
  g.type = "normal", delete g.arg, y.completion = g;
1996
1996
  }
@@ -2003,9 +2003,9 @@ function je(n) {
2003
2003
  if (g) return g.call(y);
2004
2004
  if (typeof y.next == "function") return y;
2005
2005
  if (!isNaN(y.length)) {
2006
- var x = -1, _ = function I() {
2007
- for (; ++x < y.length; ) if (a.call(y, x)) return I.value = y[x], I.done = !1, I;
2008
- return I.value = o, I.done = !0, I;
2006
+ var x = -1, _ = function A() {
2007
+ for (; ++x < y.length; ) if (a.call(y, x)) return A.value = y[x], A.done = !1, A;
2008
+ return A.value = o, A.done = !0, A;
2009
2009
  };
2010
2010
  return _.next = _;
2011
2011
  }
@@ -2025,9 +2025,9 @@ function je(n) {
2025
2025
  }, N(S.prototype), S.prototype[u] = function() {
2026
2026
  return this;
2027
2027
  }, r.AsyncIterator = S, r.async = function(y, g, x, _) {
2028
- var I = new S(p(y, g, x, _));
2029
- return r.isGeneratorFunction(g) ? I : I.next().then(function(v) {
2030
- return v.done ? v.value : I.next();
2028
+ var A = new S(p(y, g, x, _));
2029
+ return r.isGeneratorFunction(g) ? A : A.next().then(function(v) {
2030
+ return v.done ? v.value : A.next();
2031
2031
  });
2032
2032
  }, N(L), L[f] = "Generator", L[c] = function() {
2033
2033
  return this;
@@ -2038,13 +2038,13 @@ function je(n) {
2038
2038
  for (var x in y) g.push(x);
2039
2039
  return g.reverse(), function _() {
2040
2040
  for (; g.length; ) {
2041
- var I = g.pop();
2042
- if (I in y) return _.value = I, _.done = !1, _;
2041
+ var A = g.pop();
2042
+ if (A in y) return _.value = A, _.done = !1, _;
2043
2043
  }
2044
2044
  return _.done = !0, _;
2045
2045
  };
2046
2046
  }, r.values = V, q.prototype = { constructor: q, reset: function(y) {
2047
- if (this.prev = 0, this.next = 0, this.sent = this._sent = o, this.done = !1, this.delegate = null, this.method = "next", this.arg = o, this.tryEntries.forEach(A), !y) for (var g in this) g.charAt(0) === "t" && a.call(this, g) && !isNaN(+g.slice(1)) && (this[g] = o);
2047
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = o, this.done = !1, this.delegate = null, this.method = "next", this.arg = o, this.tryEntries.forEach(I), !y) for (var g in this) g.charAt(0) === "t" && a.call(this, g) && !isNaN(+g.slice(1)) && (this[g] = o);
2048
2048
  }, stop: function() {
2049
2049
  this.done = !0;
2050
2050
  var y = this.tryEntries[0], g = y.completion;
@@ -2057,18 +2057,18 @@ function je(n) {
2057
2057
  return v.type = "throw", v.arg = y, g.next = U, $ && (g.method = "next", g.arg = o), !!$;
2058
2058
  }
2059
2059
  for (var _ = this.tryEntries.length - 1; _ >= 0; --_) {
2060
- var I = this.tryEntries[_], v = I.completion;
2061
- if (I.tryLoc === "root") return x("end");
2062
- if (I.tryLoc <= this.prev) {
2063
- var O = a.call(I, "catchLoc"), j = a.call(I, "finallyLoc");
2060
+ var A = this.tryEntries[_], v = A.completion;
2061
+ if (A.tryLoc === "root") return x("end");
2062
+ if (A.tryLoc <= this.prev) {
2063
+ var O = a.call(A, "catchLoc"), j = a.call(A, "finallyLoc");
2064
2064
  if (O && j) {
2065
- if (this.prev < I.catchLoc) return x(I.catchLoc, !0);
2066
- if (this.prev < I.finallyLoc) return x(I.finallyLoc);
2065
+ if (this.prev < A.catchLoc) return x(A.catchLoc, !0);
2066
+ if (this.prev < A.finallyLoc) return x(A.finallyLoc);
2067
2067
  } else if (O) {
2068
- if (this.prev < I.catchLoc) return x(I.catchLoc, !0);
2068
+ if (this.prev < A.catchLoc) return x(A.catchLoc, !0);
2069
2069
  } else {
2070
2070
  if (!j) throw new Error("try statement without catch or finally");
2071
- if (this.prev < I.finallyLoc) return x(I.finallyLoc);
2071
+ if (this.prev < A.finallyLoc) return x(A.finallyLoc);
2072
2072
  }
2073
2073
  }
2074
2074
  }
@@ -2076,20 +2076,20 @@ function je(n) {
2076
2076
  for (var x = this.tryEntries.length - 1; x >= 0; --x) {
2077
2077
  var _ = this.tryEntries[x];
2078
2078
  if (_.tryLoc <= this.prev && a.call(_, "finallyLoc") && this.prev < _.finallyLoc) {
2079
- var I = _;
2079
+ var A = _;
2080
2080
  break;
2081
2081
  }
2082
2082
  }
2083
- I && (y === "break" || y === "continue") && I.tryLoc <= g && g <= I.finallyLoc && (I = null);
2084
- var v = I ? I.completion : {};
2085
- return v.type = y, v.arg = g, I ? (this.method = "next", this.next = I.finallyLoc, E) : this.complete(v);
2083
+ A && (y === "break" || y === "continue") && A.tryLoc <= g && g <= A.finallyLoc && (A = null);
2084
+ var v = A ? A.completion : {};
2085
+ return v.type = y, v.arg = g, A ? (this.method = "next", this.next = A.finallyLoc, E) : this.complete(v);
2086
2086
  }, complete: function(y, g) {
2087
2087
  if (y.type === "throw") throw y.arg;
2088
2088
  return y.type === "break" || y.type === "continue" ? this.next = y.arg : y.type === "return" ? (this.rval = this.arg = y.arg, this.method = "return", this.next = "end") : y.type === "normal" && g && (this.next = g), E;
2089
2089
  }, finish: function(y) {
2090
2090
  for (var g = this.tryEntries.length - 1; g >= 0; --g) {
2091
2091
  var x = this.tryEntries[g];
2092
- if (x.finallyLoc === y) return this.complete(x.completion, x.afterLoc), A(x), E;
2092
+ if (x.finallyLoc === y) return this.complete(x.completion, x.afterLoc), I(x), E;
2093
2093
  }
2094
2094
  }, catch: function(y) {
2095
2095
  for (var g = this.tryEntries.length - 1; g >= 0; --g) {
@@ -2097,10 +2097,10 @@ function je(n) {
2097
2097
  if (x.tryLoc === y) {
2098
2098
  var _ = x.completion;
2099
2099
  if (_.type === "throw") {
2100
- var I = _.arg;
2101
- A(x);
2100
+ var A = _.arg;
2101
+ I(x);
2102
2102
  }
2103
- return I;
2103
+ return A;
2104
2104
  }
2105
2105
  }
2106
2106
  throw new Error("illegal catch attempt");
@@ -2444,19 +2444,19 @@ function je(n) {
2444
2444
  }
2445
2445
  function P(S, F) {
2446
2446
  if (S !== null && typeof S < "u") if (typeof S != "object" && (S = [S]), o(S)) for (var B = 0, M = S.length; B < M; B++) F.call(null, S[B], B, S);
2447
- else for (var A in S) Object.prototype.hasOwnProperty.call(S, A) && F.call(null, S[A], A, S);
2447
+ else for (var I in S) Object.prototype.hasOwnProperty.call(S, I) && F.call(null, S[I], I, S);
2448
2448
  }
2449
2449
  function C() {
2450
2450
  var S = {};
2451
- function F(A, q) {
2452
- b(S[q]) && b(A) ? S[q] = C(S[q], A) : b(A) ? S[q] = C({}, A) : o(A) ? S[q] = A.slice() : S[q] = A;
2451
+ function F(I, q) {
2452
+ b(S[q]) && b(I) ? S[q] = C(S[q], I) : b(I) ? S[q] = C({}, I) : o(I) ? S[q] = I.slice() : S[q] = I;
2453
2453
  }
2454
2454
  for (var B = 0, M = arguments.length; B < M; B++) P(arguments[B], F);
2455
2455
  return S;
2456
2456
  }
2457
2457
  function L(S, F, B) {
2458
- return P(F, function(M, A) {
2459
- S[A] = B && typeof M == "function" ? t(M, B) : M;
2458
+ return P(F, function(M, I) {
2459
+ S[I] = B && typeof M == "function" ? t(M, B) : M;
2460
2460
  }), S;
2461
2461
  }
2462
2462
  function N(S) {
@@ -2794,16 +2794,16 @@ function je(n) {
2794
2794
  }
2795
2795
  var a = e("5d73"), s = e.n(a);
2796
2796
  function c(y, g) {
2797
- var x = [], _ = !0, I = !1, v = void 0;
2797
+ var x = [], _ = !0, A = !1, v = void 0;
2798
2798
  try {
2799
2799
  for (var O, j = s()(y); !(_ = (O = j.next()).done) && (x.push(O.value), !(g && x.length === g)); _ = !0) ;
2800
2800
  } catch (U) {
2801
- I = !0, v = U;
2801
+ A = !0, v = U;
2802
2802
  } finally {
2803
2803
  try {
2804
2804
  _ || j.return == null || j.return();
2805
2805
  } finally {
2806
- if (I) throw v;
2806
+ if (A) throw v;
2807
2807
  }
2808
2808
  }
2809
2809
  return x;
@@ -2816,24 +2816,24 @@ function je(n) {
2816
2816
  }
2817
2817
  e("28a5"), e("6762"), e("2fdb"), e("ac6a"), e("cadf"), e("456d"), e("96cf");
2818
2818
  var p = e("795b"), d = e.n(p);
2819
- function b(y, g, x, _, I, v, O) {
2819
+ function b(y, g, x, _, A, v, O) {
2820
2820
  try {
2821
2821
  var j = y[v](O), U = j.value;
2822
2822
  } catch ($) {
2823
2823
  return void x($);
2824
2824
  }
2825
- j.done ? g(U) : d.a.resolve(U).then(_, I);
2825
+ j.done ? g(U) : d.a.resolve(U).then(_, A);
2826
2826
  }
2827
2827
  function h(y) {
2828
2828
  return function() {
2829
2829
  var g = this, x = arguments;
2830
- return new d.a(function(_, I) {
2830
+ return new d.a(function(_, A) {
2831
2831
  var v = y.apply(g, x);
2832
2832
  function O(U) {
2833
- b(v, _, I, O, j, "next", U);
2833
+ b(v, _, A, O, j, "next", U);
2834
2834
  }
2835
2835
  function j(U) {
2836
- b(v, _, I, O, j, "throw", U);
2836
+ b(v, _, A, O, j, "throw", U);
2837
2837
  }
2838
2838
  O(void 0);
2839
2839
  });
@@ -2862,8 +2862,8 @@ function je(n) {
2862
2862
  var x = Object.keys(y);
2863
2863
  if (Object.getOwnPropertySymbols) {
2864
2864
  var _ = Object.getOwnPropertySymbols(y);
2865
- g && (_ = _.filter(function(I) {
2866
- return Object.getOwnPropertyDescriptor(y, I).enumerable;
2865
+ g && (_ = _.filter(function(A) {
2866
+ return Object.getOwnPropertyDescriptor(y, A).enumerable;
2867
2867
  })), x.push.apply(x, _);
2868
2868
  }
2869
2869
  return x;
@@ -2930,12 +2930,12 @@ function je(n) {
2930
2930
  }
2931
2931
  }`, variables: y };
2932
2932
  }
2933
- function A(y, g) {
2933
+ function I(y, g) {
2934
2934
  var x = Object.keys(y);
2935
2935
  if (Object.getOwnPropertySymbols) {
2936
2936
  var _ = Object.getOwnPropertySymbols(y);
2937
- g && (_ = _.filter(function(I) {
2938
- return Object.getOwnPropertyDescriptor(y, I).enumerable;
2937
+ g && (_ = _.filter(function(A) {
2938
+ return Object.getOwnPropertyDescriptor(y, A).enumerable;
2939
2939
  })), x.push.apply(x, _);
2940
2940
  }
2941
2941
  return x;
@@ -2943,9 +2943,9 @@ function je(n) {
2943
2943
  function q(y) {
2944
2944
  for (var g = 1; g < arguments.length; g++) {
2945
2945
  var x = arguments[g] != null ? arguments[g] : {};
2946
- g % 2 ? A(x, !0).forEach(function(_) {
2946
+ g % 2 ? I(x, !0).forEach(function(_) {
2947
2947
  k(y, _, x[_]);
2948
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(x)) : A(x).forEach(function(_) {
2948
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(x)) : I(x).forEach(function(_) {
2949
2949
  Object.defineProperty(y, _, Object.getOwnPropertyDescriptor(x, _));
2950
2950
  });
2951
2951
  }
@@ -2963,15 +2963,15 @@ function je(n) {
2963
2963
  }
2964
2964
  return D(y, [{ key: "_queryAppInfo", value: function() {
2965
2965
  var g = h(regeneratorRuntime.mark(function _() {
2966
- var I, v, O, j, U = this;
2966
+ var A, v, O, j, U = this;
2967
2967
  return regeneratorRuntime.wrap(function($) {
2968
2968
  for (; ; ) switch ($.prev = $.next) {
2969
2969
  case 0:
2970
- if (I = new S({ baseURL: this.graphQLURL }), v = { oauth: F.bind(this, { appId: this.options.appId, responseType: this.options.responseType, redirectUrl: this.options.redirectUrl }), oidc: B.bind(this, { appId: this.options.appId, responseType: this.options.responseType, redirectUrl: this.options.redirectUrl }), saml: M.bind(this, { appId: this.options.appId }) }, O = { oauth: "QueryAppInfoByAppID", oidc: "QueryOIDCAppInfoByAppID", saml: "QuerySAMLServiceProviderInfoByAppID" }, !(this.options.appType in v)) {
2970
+ if (A = new S({ baseURL: this.graphQLURL }), v = { oauth: F.bind(this, { appId: this.options.appId, responseType: this.options.responseType, redirectUrl: this.options.redirectUrl }), oidc: B.bind(this, { appId: this.options.appId, responseType: this.options.responseType, redirectUrl: this.options.redirectUrl }), saml: M.bind(this, { appId: this.options.appId }) }, O = { oauth: "QueryAppInfoByAppID", oidc: "QueryOIDCAppInfoByAppID", saml: "QuerySAMLServiceProviderInfoByAppID" }, !(this.options.appType in v)) {
2971
2971
  $.next = 9;
2972
2972
  break;
2973
2973
  }
2974
- return $.next = 6, I.request(v[this.options.appType]()).then(function(G) {
2974
+ return $.next = 6, A.request(v[this.options.appType]()).then(function(G) {
2975
2975
  return G[O[U.options.appType]];
2976
2976
  });
2977
2977
  case 6:
@@ -2997,9 +2997,9 @@ function je(n) {
2997
2997
  return !0;
2998
2998
  } }, { key: "login", value: function() {
2999
2999
  var g = this, x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ = x.lang;
3000
- this.appInfo.then(function(I) {
3001
- if (!I) throw Error("appId 错误,请在 OAuth、OIDC 或 SAML 应用配置页面查看正确的 appId");
3002
- var v = new URL(I.loginUrl);
3000
+ this.appInfo.then(function(A) {
3001
+ if (!A) throw Error("appId 错误,请在 OAuth、OIDC 或 SAML 应用配置页面查看正确的 appId");
3002
+ var v = new URL(A.loginUrl);
3003
3003
  v.searchParams.delete("scope"), v.searchParams.append("scope", g.options.scope), v.searchParams.delete("state"), v.searchParams.append("state", g.options.state), _ && v.searchParams.append(y._langStorageKey, _), ~g.options.scope.indexOf("offline_access") && v.searchParams.append("prompt", "consent"), location.href = v.href;
3004
3004
  });
3005
3005
  } }, { key: "register", value: function() {
@@ -3009,15 +3009,15 @@ function je(n) {
3009
3009
  var g = (screen.width - 500) / 2, x = (screen.height - 700) / 2;
3010
3010
  this.appInfo.then(function(_) {
3011
3011
  if (!_) throw Error("appId 错误,请在 OAuth、OIDC 或 SAML 应用配置页面查看正确的 appId");
3012
- var I = _.loginUrl;
3013
- window.open(I, "_blank", "width=500,height=700,left=".concat(g, ",top=").concat(x));
3012
+ var A = _.loginUrl;
3013
+ window.open(A, "_blank", "width=500,height=700,left=".concat(g, ",top=").concat(x));
3014
3014
  });
3015
3015
  } }, { key: "getUrlHash", value: function() {
3016
3016
  try {
3017
3017
  if (location.hash) {
3018
3018
  var g = location.hash.substring(1).split("&"), x = {};
3019
3019
  return g.forEach(function(_) {
3020
- var I = _.split("="), v = f(I, 2), O = v[0], j = v[1];
3020
+ var A = _.split("="), v = f(A, 2), O = v[0], j = v[1];
3021
3021
  x[O] = j;
3022
3022
  }), x;
3023
3023
  }
@@ -3034,13 +3034,13 @@ function je(n) {
3034
3034
  }), x;
3035
3035
  } }, { key: "logout", value: function() {
3036
3036
  var g = h(regeneratorRuntime.mark(function _() {
3037
- var I;
3037
+ var A;
3038
3038
  return regeneratorRuntime.wrap(function(v) {
3039
3039
  for (; ; ) switch (v.prev = v.next) {
3040
3040
  case 0:
3041
3041
  return v.next = 2, P.a.get(this.logoutURL, { withCredentials: !0, headers: { "x-authing-oidc-code": localStorage.getItem("x-authing-oidc-code") || "", "x-authing-oidc-accesstoken": localStorage.getItem("x-authing-oidc-accesstoken") || "", "x-authing-oauth-code": localStorage.getItem("x-authing-oauth-code") || "", "x-authing-oauth-accesstoken": localStorage.getItem("x-authing-oauth-accesstoken") || "" } });
3042
3042
  case 2:
3043
- return I = v.sent, localStorage.removeItem("x-authing-oidc-code"), localStorage.removeItem("x-authing-oidc-accesstoken"), localStorage.removeItem("x-authing-oauth-code"), localStorage.removeItem("x-authing-oauth-accesstoken"), v.abrupt("return", I.data);
3043
+ return A = v.sent, localStorage.removeItem("x-authing-oidc-code"), localStorage.removeItem("x-authing-oidc-accesstoken"), localStorage.removeItem("x-authing-oauth-code"), localStorage.removeItem("x-authing-oauth-accesstoken"), v.abrupt("return", A.data);
3044
3044
  case 8:
3045
3045
  case "end":
3046
3046
  return v.stop();
@@ -3052,12 +3052,12 @@ function je(n) {
3052
3052
  }
3053
3053
  return x;
3054
3054
  }() }, { key: "createSession", value: function() {
3055
- var g = h(regeneratorRuntime.mark(function _(I) {
3055
+ var g = h(regeneratorRuntime.mark(function _(A) {
3056
3056
  var v, O, j, U, $;
3057
3057
  return regeneratorRuntime.wrap(function(G) {
3058
3058
  for (; ; ) switch (G.prev = G.next) {
3059
3059
  case 0:
3060
- v = I.token, O = I.redirectUrl, j = I.newTab, U = j === void 0 || j, $ = "".concat(this.createSessionURL, "?authorization=").concat(v, "&redirect_url=").concat(O), U ? window.open($, "_blank") : window.location.href = $;
3060
+ v = A.token, O = A.redirectUrl, j = A.newTab, U = j === void 0 || j, $ = "".concat(this.createSessionURL, "?authorization=").concat(v, "&redirect_url=").concat(O), U ? window.open($, "_blank") : window.location.href = $;
3061
3061
  case 3:
3062
3062
  case "end":
3063
3063
  return G.stop();
@@ -3070,7 +3070,7 @@ function je(n) {
3070
3070
  return x;
3071
3071
  }() }, { key: "getAccessTokenSilently", value: function() {
3072
3072
  var g = h(regeneratorRuntime.mark(function _() {
3073
- var I, v, O, j;
3073
+ var A, v, O, j;
3074
3074
  return regeneratorRuntime.wrap(function(U) {
3075
3075
  for (; ; ) switch (U.prev = U.next) {
3076
3076
  case 0:
@@ -3092,11 +3092,11 @@ function je(n) {
3092
3092
  }
3093
3093
  throw new Error("请在初始化时传入 redirectUrl 参数,值为业务回调地址");
3094
3094
  case 6:
3095
- return I = document.createElement("iframe"), v = Math.random().toString().slice(2).toString(16), O = Math.random().toString().slice(2).toString(16), j = "https://".concat(this.options.appDomain, "/oidc/auth?client_id=").concat(this.options.appId, "&redirect_uri=").concat(this.options.redirectUrl, "&response_type=id_token%20token&scope=openid+profile+email+phone&state=").concat(v, "&response_mode=web_message&nonce=").concat(O, "&prompt=none"), I.title = "postMessage() Initiator", I.src = j, I.hidden = !0, document.body.append(I), U.abrupt("return", new Promise(function($, G) {
3095
+ return A = document.createElement("iframe"), v = Math.random().toString().slice(2).toString(16), O = Math.random().toString().slice(2).toString(16), j = "https://".concat(this.options.appDomain, "/oidc/auth?client_id=").concat(this.options.appId, "&redirect_uri=").concat(this.options.redirectUrl, "&response_type=id_token%20token&scope=openid+profile+email+phone&state=").concat(v, "&response_mode=web_message&nonce=").concat(O, "&prompt=none"), A.title = "postMessage() Initiator", A.src = j, A.hidden = !0, document.body.append(A), U.abrupt("return", new Promise(function($, G) {
3096
3096
  var W = window.addEventListener("message", function(J) {
3097
- if (J.data.response.error) return G(new Error(J.data.response.error_description)), window.removeEventListener("message", W), void I.remove();
3097
+ if (J.data.response.error) return G(new Error(J.data.response.error_description)), window.removeEventListener("message", W), void A.remove();
3098
3098
  var Q = J.data.response, te = Q.access_token, re = Q.id_token;
3099
- $({ access_token: te, id_token: re }), window.removeEventListener("message", W), I.remove();
3099
+ $({ access_token: te, id_token: re }), window.removeEventListener("message", W), A.remove();
3100
3100
  });
3101
3101
  }));
3102
3102
  case 15:
@@ -3111,11 +3111,11 @@ function je(n) {
3111
3111
  return x;
3112
3112
  }() }, { key: "trackSession", value: function() {
3113
3113
  var g = h(regeneratorRuntime.mark(function _() {
3114
- var I, v, O, j, U, $, G, W, J;
3114
+ var A, v, O, j, U, $, G, W, J;
3115
3115
  return regeneratorRuntime.wrap(function(Q) {
3116
3116
  for (; ; ) switch (Q.prev = Q.next) {
3117
3117
  case 0:
3118
- return this.stored || (I = this.getUrlQuery(), v = this.getUrlHash(), this.options.appType === "oidc" ? (O = I && I.code || "", j = v && v.access_token || "", O && localStorage.setItem("x-authing-oidc-accesstoken", O), j && localStorage.setItem("x-authing-oidc-accesstoken", j)) : this.options.appType === "oauth" && (U = I && I.code || "", $ = v && v.access_token || "", U && localStorage.setItem("x-authing-oauth-code", U), $ && localStorage.setItem("x-authing-oauth-accesstoken", $)), this.stored = !0), Q.next = 3, P.a.get(this.trackSessionURL, { withCredentials: !0, headers: { "x-authing-oidc-code": localStorage.getItem("x-authing-oidc-accesstoken") || "", "x-authing-oidc-accesstoken": localStorage.getItem("x-authing-oidc-accesstoken") || "", "x-authing-oauth-code": localStorage.getItem("x-authing-oauth-code") || "", "x-authing-oauth-accesstoken": localStorage.getItem("x-authing-oauth-accesstoken") || "" } });
3118
+ return this.stored || (A = this.getUrlQuery(), v = this.getUrlHash(), this.options.appType === "oidc" ? (O = A && A.code || "", j = v && v.access_token || "", O && localStorage.setItem("x-authing-oidc-accesstoken", O), j && localStorage.setItem("x-authing-oidc-accesstoken", j)) : this.options.appType === "oauth" && (U = A && A.code || "", $ = v && v.access_token || "", U && localStorage.setItem("x-authing-oauth-code", U), $ && localStorage.setItem("x-authing-oauth-accesstoken", $)), this.stored = !0), Q.next = 3, P.a.get(this.trackSessionURL, { withCredentials: !0, headers: { "x-authing-oidc-code": localStorage.getItem("x-authing-oidc-accesstoken") || "", "x-authing-oidc-accesstoken": localStorage.getItem("x-authing-oidc-accesstoken") || "", "x-authing-oauth-code": localStorage.getItem("x-authing-oauth-code") || "", "x-authing-oauth-accesstoken": localStorage.getItem("x-authing-oauth-accesstoken") || "" } });
3119
3119
  case 3:
3120
3120
  if (G = Q.sent, !G.data.session) {
3121
3121
  Q.next = 11;
@@ -3197,7 +3197,7 @@ function Ie(n) {
3197
3197
  return t.value = b.data.user, localStorage.setItem("userInfo", JSON.stringify({
3198
3198
  message: b.data.user,
3199
3199
  success: !0
3200
- })), l.value = !0, e.value = !1, !0;
3200
+ })), FcDesigner.formCreate.setData("Admin-Token", p.token), formCreateMobile.setData("Admin-Token", p.token), l.value = !0, e.value = !1, !0;
3201
3201
  }
3202
3202
  }
3203
3203
  return l.value = !1, ((u = n.apiConfig) == null ? void 0 : u.autoShowLogin) !== !1 ? (e.value = !1, a()) : e.value = !1, !1;
@@ -3279,7 +3279,7 @@ const Ae = (n, l) => {
3279
3279
  const C = await ke({ paperUuid: e.orderInfo.paperUuid });
3280
3280
  if (console.log("工单详情:", C), C.data && C.data.length > 0) {
3281
3281
  const L = formCreate.parseJson(C.data[0].paperJsonContent);
3282
- u.paperName = C.data[0].paperName, u.rules = formCreate.parseJson(L.rule), console.log("解析后的 paperInfo:", u), await se(), u.fApi && u.fApi.submitBtnProps({ show: !1 });
3282
+ u.paperName = C.data[0].paperName, u.rules = formCreate.parseJson(L.rule), u.option = formCreate.parseJson(L.options), console.log("解析后的 paperInfo:", u), await se(), u.fApi && u.fApi.submitBtnProps({ show: !1 });
3283
3283
  }
3284
3284
  } catch (C) {
3285
3285
  console.error("获取工单详情失败:", C), ae.error("获取工单详情失败");
@@ -3416,7 +3416,7 @@ const Ae = (n, l) => {
3416
3416
  ]);
3417
3417
  };
3418
3418
  }
3419
- }), et = /* @__PURE__ */ Ae(Ze, [["__scopeId", "data-v-7b85a3e4"]]), tt = { class: "work-order-mobile" }, rt = {
3419
+ }), et = /* @__PURE__ */ Ae(Ze, [["__scopeId", "data-v-e3f7e021"]]), tt = { class: "work-order-mobile" }, rt = {
3420
3420
  key: 0,
3421
3421
  class: "loading-container"
3422
3422
  }, nt = { key: 1 }, ot = {
@@ -3468,8 +3468,8 @@ const Ae = (n, l) => {
3468
3468
  testId: e.orderInfo.testId
3469
3469
  });
3470
3470
  console.log("👀 工单提交详情:", M);
3471
- let A = JSON.parse(M.data[0].result);
3472
- console.log("📄 解析后的数据:", A), d.formData = A.record, a.value = !0, u.value = M.data[0].useTime, r.value = !0, await se(), await se(), console.log("🔧 查看模式:fApi 状态:", d.fApi), d.fApi ? (d.fApi.disabled(!0), console.log("✅ 表单已设置为只读模式")) : (console.log("⚠️ fApi 还未初始化,将在下一个周期重试"), setTimeout(() => {
3471
+ let I = JSON.parse(M.data[0].result);
3472
+ console.log("📄 解析后的数据:", I), d.formData = I.record, a.value = !0, u.value = M.data[0].useTime, r.value = !0, await se(), await se(), console.log("🔧 查看模式:fApi 状态:", d.fApi), d.fApi ? (d.fApi.disabled(!0), console.log("✅ 表单已设置为只读模式")) : (console.log("⚠️ fApi 还未初始化,将在下一个周期重试"), setTimeout(() => {
3473
3473
  d.fApi && (d.fApi.disabled(!0), console.log("✅ 延迟设置表单为只读模式成功"));
3474
3474
  }, 500));
3475
3475
  }, R = async () => {
@@ -3477,8 +3477,8 @@ const Ae = (n, l) => {
3477
3477
  const M = await ke({ paperUuid: e.orderInfo.paperUuid });
3478
3478
  if (console.log("工单详情:", M), M.data && M.data.length > 0) {
3479
3479
  p.value = Ee.apiPath + M.data[0].url;
3480
- const A = formCreate.parseJson(M.data[0].paperJsonContent);
3481
- d.paperName = M.data[0].paperName, d.rules = formCreate.parseJson(A.rule), console.log("✅ 解析后的 paperInfo:", d), console.log('📝 表单规则已准备好,等待用户点击"答题"按钮进入表单视图');
3480
+ const I = formCreate.parseJson(M.data[0].paperJsonContent);
3481
+ d.paperName = M.data[0].paperName, d.rules = formCreate.parseJson(I.rule), d.option = formCreate.parseJson(I.options), console.log("✅ 解析后的 paperInfo:", d), console.log('📝 表单规则已准备好,等待用户点击"答题"按钮进入表单视图');
3482
3482
  }
3483
3483
  } catch (M) {
3484
3484
  console.error("获取工单详情失败:", M), ue("获取工单详情失败");
@@ -3490,24 +3490,24 @@ const Ae = (n, l) => {
3490
3490
  return;
3491
3491
  }
3492
3492
  N();
3493
- const A = F();
3494
- console.log("表单数据:", A);
3495
- const q = Object.keys(A).map((H) => {
3493
+ const I = F();
3494
+ console.log("表单数据:", I);
3495
+ const q = Object.keys(I).map((H) => {
3496
3496
  let y = d.rules[0].children.filter((g) => g.field == H)[0].type;
3497
3497
  return {
3498
3498
  questionUuid: H,
3499
- answer: A[H],
3499
+ answer: I[H],
3500
3500
  type: y
3501
3501
  };
3502
3502
  }), V = await je({
3503
3503
  paperUuid: e.orderInfo.paperUuid,
3504
3504
  useTime: u.value,
3505
3505
  result: {
3506
- record: A,
3506
+ record: I,
3507
3507
  statistics: q
3508
3508
  }
3509
3509
  });
3510
- console.log("提交接口返回:", V), d.fApi && d.fApi.disabled(!0), a.value = !0, ue("工单提交成功!"), t("submit-success", { formData: A, response: V }), console.log("工单提交成功!", A);
3510
+ console.log("提交接口返回:", V), d.fApi && d.fApi.disabled(!0), a.value = !0, ue("工单提交成功!"), t("submit-success", { formData: I, response: V }), console.log("工单提交成功!", I);
3511
3511
  } catch (M) {
3512
3512
  console.error("提交失败:", M), ue("工单提交失败,请重试!"), t("submit-error", M);
3513
3513
  } finally {
@@ -3522,15 +3522,15 @@ const Ae = (n, l) => {
3522
3522
  }, N = () => {
3523
3523
  f.value && (clearInterval(f.value), f.value = null), c.value = Date.now();
3524
3524
  }, S = (M) => {
3525
- const A = Math.floor(M / 3600), q = Math.floor(M % 3600 / 60), V = M % 60;
3526
- return A > 0 ? `${A.toString().padStart(2, "0")}:${q.toString().padStart(2, "0")}:${V.toString().padStart(2, "0")}` : `${q.toString().padStart(2, "0")}:${V.toString().padStart(2, "0")}`;
3525
+ const I = Math.floor(M / 3600), q = Math.floor(M % 3600 / 60), V = M % 60;
3526
+ return I > 0 ? `${I.toString().padStart(2, "0")}:${q.toString().padStart(2, "0")}:${V.toString().padStart(2, "0")}` : `${q.toString().padStart(2, "0")}:${V.toString().padStart(2, "0")}`;
3527
3527
  }, F = () => {
3528
3528
  if (d.fApi)
3529
3529
  try {
3530
3530
  const M = d.fApi.formData();
3531
3531
  if (M) return M;
3532
- const A = d.fApi.formData;
3533
- return A || d.formData;
3532
+ const I = d.fApi.formData;
3533
+ return I || d.formData;
3534
3534
  } catch (M) {
3535
3535
  return console.log("获取表单数据失败,使用备用方案:", M), d.formData;
3536
3536
  }
@@ -3548,7 +3548,7 @@ const Ae = (n, l) => {
3548
3548
  console.log("📱 WorkOrderMobile 组件已挂载"), console.log("📋 orderInfo:", e.orderInfo);
3549
3549
  const M = await m();
3550
3550
  console.log("🔐 登录状态:", M), M ? (t("login-success", h.value), e.orderInfo.result && e.orderInfo.result == "1" ? (console.log("👀 查看已提交的工单"), await R(), await k()) : (console.log("📝 新建工单"), await R())) : console.log("❌ 未登录,等待登录...");
3551
- }), (M, A) => {
3551
+ }), (M, I) => {
3552
3552
  const q = pe("van-empty"), V = pe("formCreateMobile");
3553
3553
  return ee(), Z("div", tt, [
3554
3554
  ve(b) ? (ee(), Z("div", nt, [
@@ -3561,9 +3561,9 @@ const Ae = (n, l) => {
3561
3561
  ]),
3562
3562
  z("div", gt, [
3563
3563
  z("div", mt, [
3564
- A[5] || (A[5] = z("label", { class: "form-label" }, "工单内容", -1)),
3564
+ I[5] || (I[5] = z("label", { class: "form-label" }, "工单内容", -1)),
3565
3565
  z("div", yt, [
3566
- A[4] || (A[4] = z("span", { class: "timer-label" }, "答题时间", -1)),
3566
+ I[4] || (I[4] = z("span", { class: "timer-label" }, "答题时间", -1)),
3567
3567
  z("span", bt, ie(S(u.value)), 1)
3568
3568
  ])
3569
3569
  ]),
@@ -3572,10 +3572,10 @@ const Ae = (n, l) => {
3572
3572
  rule: d.rules,
3573
3573
  option: d.option,
3574
3574
  modelValue: d.formData,
3575
- "onUpdate:modelValue": A[1] || (A[1] = (H) => d.formData = H),
3575
+ "onUpdate:modelValue": I[1] || (I[1] = (H) => d.formData = H),
3576
3576
  onSubmit: P,
3577
3577
  api: d.fApi,
3578
- "onUpdate:api": A[2] || (A[2] = (H) => d.fApi = H),
3578
+ "onUpdate:api": I[2] || (I[2] = (H) => d.fApi = H),
3579
3579
  "submit-btn": !1,
3580
3580
  "reset-btn": !1
3581
3581
  }, null, 8, ["rule", "option", "modelValue", "api"])
@@ -3586,14 +3586,14 @@ const Ae = (n, l) => {
3586
3586
  onClick: P,
3587
3587
  disabled: i.value || a.value
3588
3588
  }, [
3589
- A[6] || (A[6] = z("span", { class: "btn-icon" }, "📝", -1)),
3589
+ I[6] || (I[6] = z("span", { class: "btn-icon" }, "📝", -1)),
3590
3590
  z("span", _t, ie(i.value ? "提交中..." : a.value ? "已提交" : "提交工单"), 1)
3591
3591
  ], 8, xt),
3592
3592
  a.value ? le("", !0) : (ee(), Z("button", {
3593
3593
  key: 0,
3594
3594
  class: "submit-btn secondary",
3595
3595
  onClick: C
3596
- }, [...A[7] || (A[7] = [
3596
+ }, [...I[7] || (I[7] = [
3597
3597
  z("span", { class: "btn-icon" }, "🔄", -1),
3598
3598
  z("span", { class: "btn-text" }, "重置表单", -1)
3599
3599
  ])])),
@@ -3601,7 +3601,7 @@ const Ae = (n, l) => {
3601
3601
  key: 1,
3602
3602
  class: "submit-btn secondary",
3603
3603
  onClick: D
3604
- }, [...A[8] || (A[8] = [
3604
+ }, [...I[8] || (I[8] = [
3605
3605
  z("span", { class: "btn-icon" }, "⬅️", -1),
3606
3606
  z("span", { class: "btn-text" }, "返回", -1)
3607
3607
  ])]))
@@ -3627,7 +3627,7 @@ const Ae = (n, l) => {
3627
3627
  }, [
3628
3628
  z("div", {
3629
3629
  class: "modal-content",
3630
- onClick: A[0] || (A[0] = Le(() => {
3630
+ onClick: I[0] || (I[0] = Le(() => {
3631
3631
  }, ["stop"]))
3632
3632
  }, [
3633
3633
  z("img", {
@@ -3642,7 +3642,7 @@ const Ae = (n, l) => {
3642
3642
  ])
3643
3643
  ])) : le("", !0),
3644
3644
  z("div", { class: "footer-section" }, [
3645
- A[3] || (A[3] = z("div", { class: "creation-time" }, null, -1)),
3645
+ I[3] || (I[3] = z("div", { class: "creation-time" }, null, -1)),
3646
3646
  z("div", { class: "orientation-buttons" }, [
3647
3647
  z("button", {
3648
3648
  class: "orientation-btn vertical",
@@ -3658,7 +3658,7 @@ const Ae = (n, l) => {
3658
3658
  ]);
3659
3659
  };
3660
3660
  }
3661
- }), kt = /* @__PURE__ */ Ae(Ot, [["__scopeId", "data-v-4e334218"]]), jt = [
3661
+ }), kt = /* @__PURE__ */ Ae(Ot, [["__scopeId", "data-v-a593083a"]]), jt = [
3662
3662
  et,
3663
3663
  kt
3664
3664
  ], Et = (n) => {