yc-vep-ui 0.3.33 → 0.3.35

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.
@@ -131,7 +131,7 @@ var le = Object.defineProperty, L = (e, t) => {
131
131
  return $()?.resolveComponent?.("el-descriptions-item") || "el-descriptions-item";
132
132
  },
133
133
  get Message() {
134
- return Hi() || {
134
+ return $()?.config?.globalProperties?.$message || {
135
135
  error: (e) => console.error("[Message.error]", e),
136
136
  success: (e) => console.log("[Message.success]", e),
137
137
  warning: (e) => console.warn("[Message.warning]", e)
@@ -3471,7 +3471,7 @@ var Wr = function() {
3471
3471
  //#endregion
3472
3472
  //#region ../../node_modules/.pnpm/jsencrypt@3.5.4/node_modules/jsencrypt/lib/lib/jsbn/sha256.js
3473
3473
  function Gr(e) {
3474
- return Jr(ii(qr(e), e.length * 8));
3474
+ return Jr(ri(qr(e), e.length * 8));
3475
3475
  }
3476
3476
  function Kr(e) {
3477
3477
  for (var t = "0123456789abcdef", n = "", r = 0; r < e.length; r++) {
@@ -3489,31 +3489,31 @@ function Jr(e) {
3489
3489
  for (var t = "", n = 0; n < e.length * 32; n += 8) t += String.fromCharCode(e[n >> 5] >>> 24 - n % 32 & 255);
3490
3490
  return t;
3491
3491
  }
3492
- function Yr(e, t) {
3492
+ function Y(e, t) {
3493
3493
  return e >>> t | e << 32 - t;
3494
3494
  }
3495
- function Xr(e, t) {
3495
+ function Yr(e, t) {
3496
3496
  return e >>> t;
3497
3497
  }
3498
- function Zr(e, t, n) {
3498
+ function Xr(e, t, n) {
3499
3499
  return e & t ^ ~e & n;
3500
3500
  }
3501
- function Qr(e, t, n) {
3501
+ function Zr(e, t, n) {
3502
3502
  return e & t ^ e & n ^ t & n;
3503
3503
  }
3504
+ function Qr(e) {
3505
+ return Y(e, 2) ^ Y(e, 13) ^ Y(e, 22);
3506
+ }
3504
3507
  function $r(e) {
3505
- return Yr(e, 2) ^ Yr(e, 13) ^ Yr(e, 22);
3508
+ return Y(e, 6) ^ Y(e, 11) ^ Y(e, 25);
3506
3509
  }
3507
3510
  function ei(e) {
3508
- return Yr(e, 6) ^ Yr(e, 11) ^ Yr(e, 25);
3511
+ return Y(e, 7) ^ Y(e, 18) ^ Yr(e, 3);
3509
3512
  }
3510
3513
  function ti(e) {
3511
- return Yr(e, 7) ^ Yr(e, 18) ^ Xr(e, 3);
3512
- }
3513
- function ni(e) {
3514
- return Yr(e, 17) ^ Yr(e, 19) ^ Xr(e, 10);
3514
+ return Y(e, 17) ^ Y(e, 19) ^ Yr(e, 10);
3515
3515
  }
3516
- var ri = [
3516
+ var ni = [
3517
3517
  1116352408,
3518
3518
  1899447441,
3519
3519
  -1245643825,
@@ -3579,7 +3579,7 @@ var ri = [
3579
3579
  -1090935817,
3580
3580
  -965641998
3581
3581
  ];
3582
- function ii(e, t) {
3582
+ function ri(e, t) {
3583
3583
  var n = [
3584
3584
  1779033703,
3585
3585
  -1150833019,
@@ -3591,23 +3591,23 @@ function ii(e, t) {
3591
3591
  1541459225
3592
3592
  ], r = Array(64), i, a, o, s, c, l, u, d, f, p, m, h;
3593
3593
  for (e[t >> 5] |= 128 << 24 - t % 32, e[(t + 64 >> 9 << 4) + 15] = t, f = 0; f < e.length; f += 16) {
3594
- for (i = n[0], a = n[1], o = n[2], s = n[3], c = n[4], l = n[5], u = n[6], d = n[7], p = 0; p < 64; p++) p < 16 ? r[p] = e[p + f] : r[p] = Y(Y(Y(ni(r[p - 2]), r[p - 7]), ti(r[p - 15])), r[p - 16]), m = Y(Y(Y(Y(d, ei(c)), Zr(c, l, u)), ri[p]), r[p]), h = Y($r(i), Qr(i, a, o)), d = u, u = l, l = c, c = Y(s, m), s = o, o = a, a = i, i = Y(m, h);
3595
- n[0] = Y(i, n[0]), n[1] = Y(a, n[1]), n[2] = Y(o, n[2]), n[3] = Y(s, n[3]), n[4] = Y(c, n[4]), n[5] = Y(l, n[5]), n[6] = Y(u, n[6]), n[7] = Y(d, n[7]);
3594
+ for (i = n[0], a = n[1], o = n[2], s = n[3], c = n[4], l = n[5], u = n[6], d = n[7], p = 0; p < 64; p++) p < 16 ? r[p] = e[p + f] : r[p] = X(X(X(ti(r[p - 2]), r[p - 7]), ei(r[p - 15])), r[p - 16]), m = X(X(X(X(d, $r(c)), Xr(c, l, u)), ni[p]), r[p]), h = X(Qr(i), Zr(i, a, o)), d = u, u = l, l = c, c = X(s, m), s = o, o = a, a = i, i = X(m, h);
3595
+ n[0] = X(i, n[0]), n[1] = X(a, n[1]), n[2] = X(o, n[2]), n[3] = X(s, n[3]), n[4] = X(c, n[4]), n[5] = X(l, n[5]), n[6] = X(u, n[6]), n[7] = X(d, n[7]);
3596
3596
  }
3597
3597
  return n;
3598
3598
  }
3599
- function Y(e, t) {
3599
+ function X(e, t) {
3600
3600
  var n = (e & 65535) + (t & 65535);
3601
3601
  return (e >> 16) + (t >> 16) + (n >> 16) << 16 | n & 65535;
3602
3602
  }
3603
3603
  //#endregion
3604
3604
  //#region ../../node_modules/.pnpm/jsencrypt@3.5.4/node_modules/jsencrypt/lib/lib/jsbn/rsa.js
3605
- function ai(e, t) {
3605
+ function ii(e, t) {
3606
3606
  if (t < e.length + 22) return console.error("Message too long for RSA"), null;
3607
3607
  for (var n = t - e.length - 6, r = "", i = 0; i < n; i += 2) r += "ff";
3608
3608
  return K("0001" + r + "00" + e, 16);
3609
3609
  }
3610
- function oi(e, t) {
3610
+ function ai(e, t) {
3611
3611
  if (t < e.length + 11) return console.error("Message too long for RSA"), null;
3612
3612
  for (var n = [], r = e.length - 1; r >= 0 && t > 0;) {
3613
3613
  var i = e.charCodeAt(r--);
@@ -3620,7 +3620,7 @@ function oi(e, t) {
3620
3620
  }
3621
3621
  return n[--t] = 2, n[--t] = 0, new W(n);
3622
3622
  }
3623
- function si(e, t, n) {
3623
+ function oi(e, t, n) {
3624
3624
  for (var r = "", i = 0; r.length < t;) r += n(String.fromCharCode.apply(String, e.concat([
3625
3625
  (i & 4278190080) >> 24,
3626
3626
  (i & 16711680) >> 16,
@@ -3629,21 +3629,21 @@ function si(e, t, n) {
3629
3629
  ]))), i += 1;
3630
3630
  return r;
3631
3631
  }
3632
- var ci = 32;
3633
- function li(e, t) {
3634
- var n = ci, r = Gr;
3632
+ var si = 32;
3633
+ function ci(e, t) {
3634
+ var n = si, r = Gr;
3635
3635
  if (e.length + 2 * n + 2 > t) throw "Message too long for RSA";
3636
3636
  var i = "", a;
3637
3637
  for (a = 0; a < t - e.length - 2 * n - 2; a += 1) i += "\0";
3638
3638
  var o = r("") + i + "" + e, s = Array(n);
3639
3639
  new Wr().nextBytes(s);
3640
- var c = si(s, o.length, r), l = [];
3640
+ var c = oi(s, o.length, r), l = [];
3641
3641
  for (a = 0; a < o.length; a += 1) l[a] = o.charCodeAt(a) ^ c.charCodeAt(a);
3642
- var u = si(l, s.length, r), d = [0];
3642
+ var u = oi(l, s.length, r), d = [0];
3643
3643
  for (a = 0; a < s.length; a += 1) d[a + 1] = s[a] ^ u.charCodeAt(a);
3644
3644
  return new W(d.concat(l));
3645
3645
  }
3646
- var ui = function() {
3646
+ var li = function() {
3647
3647
  function e() {
3648
3648
  this.n = null, this.e = 0, this.d = null, this.p = null, this.q = null, this.dmp1 = null, this.dmq1 = null, this.coeff = null;
3649
3649
  }
@@ -3656,7 +3656,7 @@ var ui = function() {
3656
3656
  }, e.prototype.setPublic = function(e, t) {
3657
3657
  e != null && t != null && e.length > 0 && t.length > 0 ? (this.n = K(e, 16), this.e = parseInt(t, 16)) : console.error("Invalid RSA public key");
3658
3658
  }, e.prototype.encrypt = function(e, t) {
3659
- t === void 0 && (t = oi);
3659
+ t === void 0 && (t = ai);
3660
3660
  var n = this.n.bitLength() + 7 >> 3, r = t(e, n);
3661
3661
  if (r == null) return null;
3662
3662
  var i = this.doPublic(r);
@@ -3685,7 +3685,7 @@ var ui = function() {
3685
3685
  }
3686
3686
  }, e.prototype.decrypt = function(e) {
3687
3687
  var t = K(e, 16), n = this.doPrivate(t);
3688
- return n == null ? null : di(n, this.n.bitLength() + 7 >> 3);
3688
+ return n == null ? null : ui(n, this.n.bitLength() + 7 >> 3);
3689
3689
  }, e.prototype.generateAsync = function(e, t, n) {
3690
3690
  var r = new Wr(), i = e >> 1;
3691
3691
  this.e = parseInt(t, 16);
@@ -3716,7 +3716,7 @@ var ui = function() {
3716
3716
  };
3717
3717
  setTimeout(s, 0);
3718
3718
  }, e.prototype.sign = function(e, t, n) {
3719
- var r = pi(n) + t(e).toString(), i = this.n.bitLength() / 4, a = ai(r, i);
3719
+ var r = fi(n) + t(e).toString(), i = this.n.bitLength() / 4, a = ii(r, i);
3720
3720
  if (a == null) return null;
3721
3721
  var o = this.doPrivate(a);
3722
3722
  if (o == null) return null;
@@ -3724,10 +3724,10 @@ var ui = function() {
3724
3724
  return s;
3725
3725
  }, e.prototype.verify = function(e, t, n) {
3726
3726
  var r = K(t, 16), i = this.doPublic(r);
3727
- return i == null ? null : mi(i.toString(16).replace(/^1f+00/, "")) == n(e).toString();
3727
+ return i == null ? null : pi(i.toString(16).replace(/^1f+00/, "")) == n(e).toString();
3728
3728
  }, e;
3729
3729
  }();
3730
- function di(e, t) {
3730
+ function ui(e, t) {
3731
3731
  for (var n = e.toByteArray(), r = 0; r < n.length && n[r] == 0;) ++r;
3732
3732
  if (n.length - r != t - 1 || n[r] != 2) return null;
3733
3733
  for (++r; n[r] != 0;) if (++r >= n.length) return null;
@@ -3737,7 +3737,7 @@ function di(e, t) {
3737
3737
  }
3738
3738
  return i;
3739
3739
  }
3740
- var fi = {
3740
+ var di = {
3741
3741
  md2: "3020300c06082a864886f70d020205000410",
3742
3742
  md5: "3020300c06082a864886f70d020505000410",
3743
3743
  sha1: "3021300906052b0e03021a05000414",
@@ -3747,19 +3747,19 @@ var fi = {
3747
3747
  sha512: "3051300d060960864801650304020305000440",
3748
3748
  ripemd160: "3021300906052b2403020105000414"
3749
3749
  };
3750
- function pi(e) {
3751
- return fi[e] || "";
3750
+ function fi(e) {
3751
+ return di[e] || "";
3752
3752
  }
3753
- function mi(e) {
3754
- for (var t in fi) if (fi.hasOwnProperty(t)) {
3755
- var n = fi[t], r = n.length;
3753
+ function pi(e) {
3754
+ for (var t in di) if (di.hasOwnProperty(t)) {
3755
+ var n = di[t], r = n.length;
3756
3756
  if (e.substring(0, r) == n) return e.substring(r);
3757
3757
  }
3758
3758
  return e;
3759
3759
  }
3760
3760
  //#endregion
3761
3761
  //#region ../../node_modules/.pnpm/jsencrypt@3.5.4/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js
3762
- function X(e, t, n) {
3762
+ function Z(e, t, n) {
3763
3763
  if (!t || !e) throw Error("extend failed, please check that all dependencies are included.");
3764
3764
  var r = function() {};
3765
3765
  if (r.prototype = t.prototype, e.prototype = new r(), e.prototype.constructor = e, e.superclass = t.prototype, t.prototype.constructor == Object.prototype.constructor && (t.prototype.constructor = t), n) {
@@ -3776,8 +3776,8 @@ function X(e, t, n) {
3776
3776
  a(e.prototype, n);
3777
3777
  }
3778
3778
  }
3779
- var Z = {};
3780
- (Z.asn1 === void 0 || !Z.asn1) && (Z.asn1 = {}), Z.asn1.ASN1Util = new function() {
3779
+ var Q = {};
3780
+ (Q.asn1 === void 0 || !Q.asn1) && (Q.asn1 = {}), Q.asn1.ASN1Util = new function() {
3781
3781
  this.integerToByteHex = function(e) {
3782
3782
  var t = e.toString(16);
3783
3783
  return t.length % 2 == 1 && (t = "0" + t), t;
@@ -3794,7 +3794,7 @@ var Z = {};
3794
3794
  }, this.getPEMStringFromHex = function(e, t) {
3795
3795
  return hextopem(e, t);
3796
3796
  }, this.newObject = function(e) {
3797
- var t = Z.asn1, n = t.DERBoolean, r = t.DERInteger, i = t.DERBitString, a = t.DEROctetString, o = t.DERNull, s = t.DERObjectIdentifier, c = t.DEREnumerated, l = t.DERUTF8String, u = t.DERNumericString, d = t.DERPrintableString, f = t.DERTeletexString, p = t.DERIA5String, m = t.DERUTCTime, h = t.DERGeneralizedTime, g = t.DERSequence, _ = t.DERSet, v = t.DERTaggedObject, y = t.ASN1Util.newObject, b = Object.keys(e);
3797
+ var t = Q.asn1, n = t.DERBoolean, r = t.DERInteger, i = t.DERBitString, a = t.DEROctetString, o = t.DERNull, s = t.DERObjectIdentifier, c = t.DEREnumerated, l = t.DERUTF8String, u = t.DERNumericString, d = t.DERPrintableString, f = t.DERTeletexString, p = t.DERIA5String, m = t.DERUTCTime, h = t.DERGeneralizedTime, g = t.DERSequence, _ = t.DERSet, v = t.DERTaggedObject, y = t.ASN1Util.newObject, b = Object.keys(e);
3798
3798
  if (b.length != 1) throw "key of param shall be only one.";
3799
3799
  var x = b[0];
3800
3800
  if (":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + x + ":") == -1) throw "undefined key: " + x;
@@ -3844,7 +3844,7 @@ var Z = {};
3844
3844
  }, this.jsonToASN1HEX = function(e) {
3845
3845
  return this.newObject(e).getEncodedHex();
3846
3846
  };
3847
- }(), Z.asn1.ASN1Util.oidHexToInt = function(e) {
3847
+ }(), Q.asn1.ASN1Util.oidHexToInt = function(e) {
3848
3848
  for (var t = "", n = parseInt(e.substring(0, 2), 16), r = Math.floor(n / 40), i = n % 40, t = r + "." + i, a = "", o = 2; o < e.length; o += 2) {
3849
3849
  var s = ("00000000" + parseInt(e.substring(o, o + 2), 16).toString(2)).slice(-8);
3850
3850
  if (a += s.substring(1, 8), s.substring(0, 1) == "0") {
@@ -3853,7 +3853,7 @@ var Z = {};
3853
3853
  }
3854
3854
  }
3855
3855
  return t;
3856
- }, Z.asn1.ASN1Util.oidIntToHex = function(e) {
3856
+ }, Q.asn1.ASN1Util.oidIntToHex = function(e) {
3857
3857
  var t = function(e) {
3858
3858
  var t = e.toString(16);
3859
3859
  return t.length == 1 && (t = "0" + t), t;
@@ -3873,7 +3873,7 @@ var Z = {};
3873
3873
  r += t(a), i.splice(0, 2);
3874
3874
  for (var o = 0; o < i.length; o++) r += n(i[o]);
3875
3875
  return r;
3876
- }, Z.asn1.ASN1Object = function() {
3876
+ }, Q.asn1.ASN1Object = function() {
3877
3877
  var e = "";
3878
3878
  this.getLengthHexFromValue = function() {
3879
3879
  if (this.hV === void 0 || this.hV == null) throw "this.hV is null or undefined.";
@@ -3890,8 +3890,8 @@ var Z = {};
3890
3890
  }, this.getFreshValueHex = function() {
3891
3891
  return "";
3892
3892
  };
3893
- }, Z.asn1.DERAbstractString = function(e) {
3894
- Z.asn1.DERAbstractString.superclass.constructor.call(this), this.getString = function() {
3893
+ }, Q.asn1.DERAbstractString = function(e) {
3894
+ Q.asn1.DERAbstractString.superclass.constructor.call(this), this.getString = function() {
3895
3895
  return this.s;
3896
3896
  }, this.setString = function(e) {
3897
3897
  this.hTLV = null, this.isModified = !0, this.s = e, this.hV = stohex(this.s);
@@ -3900,8 +3900,8 @@ var Z = {};
3900
3900
  }, this.getFreshValueHex = function() {
3901
3901
  return this.hV;
3902
3902
  }, e !== void 0 && (typeof e == "string" ? this.setString(e) : e.str === void 0 ? e.hex !== void 0 && this.setStringHex(e.hex) : this.setString(e.str));
3903
- }, X(Z.asn1.DERAbstractString, Z.asn1.ASN1Object), Z.asn1.DERAbstractTime = function(e) {
3904
- Z.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(e) {
3903
+ }, Z(Q.asn1.DERAbstractString, Q.asn1.ASN1Object), Q.asn1.DERAbstractTime = function(e) {
3904
+ Q.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(e) {
3905
3905
  return utc = e.getTime() + e.getTimezoneOffset() * 6e4, new Date(utc);
3906
3906
  }, this.formatDate = function(e, t, n) {
3907
3907
  var r = this.zeroPadding, i = this.localDateToUTC(e), a = String(i.getFullYear());
@@ -3927,17 +3927,17 @@ var Z = {};
3927
3927
  }, this.getFreshValueHex = function() {
3928
3928
  return this.hV;
3929
3929
  };
3930
- }, X(Z.asn1.DERAbstractTime, Z.asn1.ASN1Object), Z.asn1.DERAbstractStructured = function(e) {
3931
- Z.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(e) {
3930
+ }, Z(Q.asn1.DERAbstractTime, Q.asn1.ASN1Object), Q.asn1.DERAbstractStructured = function(e) {
3931
+ Q.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(e) {
3932
3932
  this.hTLV = null, this.isModified = !0, this.asn1Array = e;
3933
3933
  }, this.appendASN1Object = function(e) {
3934
3934
  this.hTLV = null, this.isModified = !0, this.asn1Array.push(e);
3935
3935
  }, this.asn1Array = [], e !== void 0 && e.array !== void 0 && (this.asn1Array = e.array);
3936
- }, X(Z.asn1.DERAbstractStructured, Z.asn1.ASN1Object), Z.asn1.DERBoolean = function() {
3937
- Z.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
3938
- }, X(Z.asn1.DERBoolean, Z.asn1.ASN1Object), Z.asn1.DERInteger = function(e) {
3939
- Z.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(e) {
3940
- this.hTLV = null, this.isModified = !0, this.hV = Z.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
3936
+ }, Z(Q.asn1.DERAbstractStructured, Q.asn1.ASN1Object), Q.asn1.DERBoolean = function() {
3937
+ Q.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
3938
+ }, Z(Q.asn1.DERBoolean, Q.asn1.ASN1Object), Q.asn1.DERInteger = function(e) {
3939
+ Q.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(e) {
3940
+ this.hTLV = null, this.isModified = !0, this.hV = Q.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
3941
3941
  }, this.setByInteger = function(e) {
3942
3942
  var t = new W(String(e), 10);
3943
3943
  this.setByBigInteger(t);
@@ -3946,8 +3946,8 @@ var Z = {};
3946
3946
  }, this.getFreshValueHex = function() {
3947
3947
  return this.hV;
3948
3948
  }, e !== void 0 && (e.bigint === void 0 ? e.int === void 0 ? typeof e == "number" ? this.setByInteger(e) : e.hex !== void 0 && this.setValueHex(e.hex) : this.setByInteger(e.int) : this.setByBigInteger(e.bigint));
3949
- }, X(Z.asn1.DERInteger, Z.asn1.ASN1Object), Z.asn1.DERBitString = function(e) {
3950
- e !== void 0 && e.obj !== void 0 && (e.hex = "00" + Z.asn1.ASN1Util.newObject(e.obj).getEncodedHex()), Z.asn1.DERBitString.superclass.constructor.call(this), this.hT = "03", this.setHexValueIncludingUnusedBits = function(e) {
3949
+ }, Z(Q.asn1.DERInteger, Q.asn1.ASN1Object), Q.asn1.DERBitString = function(e) {
3950
+ e !== void 0 && e.obj !== void 0 && (e.hex = "00" + Q.asn1.ASN1Util.newObject(e.obj).getEncodedHex()), Q.asn1.DERBitString.superclass.constructor.call(this), this.hT = "03", this.setHexValueIncludingUnusedBits = function(e) {
3951
3951
  this.hTLV = null, this.isModified = !0, this.hV = e;
3952
3952
  }, this.setUnusedBitsAndHexValue = function(e, t) {
3953
3953
  if (e < 0 || 7 < e) throw "unused bits shall be from 0 to 7: u = " + e;
@@ -3972,11 +3972,11 @@ var Z = {};
3972
3972
  }, this.getFreshValueHex = function() {
3973
3973
  return this.hV;
3974
3974
  }, e !== void 0 && (typeof e == "string" && e.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(e) : e.hex === void 0 ? e.bin === void 0 ? e.array !== void 0 && this.setByBooleanArray(e.array) : this.setByBinaryString(e.bin) : this.setHexValueIncludingUnusedBits(e.hex));
3975
- }, X(Z.asn1.DERBitString, Z.asn1.ASN1Object), Z.asn1.DEROctetString = function(e) {
3976
- e !== void 0 && e.obj !== void 0 && (e.hex = Z.asn1.ASN1Util.newObject(e.obj).getEncodedHex()), Z.asn1.DEROctetString.superclass.constructor.call(this, e), this.hT = "04";
3977
- }, X(Z.asn1.DEROctetString, Z.asn1.DERAbstractString), Z.asn1.DERNull = function() {
3978
- Z.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
3979
- }, X(Z.asn1.DERNull, Z.asn1.ASN1Object), Z.asn1.DERObjectIdentifier = function(e) {
3975
+ }, Z(Q.asn1.DERBitString, Q.asn1.ASN1Object), Q.asn1.DEROctetString = function(e) {
3976
+ e !== void 0 && e.obj !== void 0 && (e.hex = Q.asn1.ASN1Util.newObject(e.obj).getEncodedHex()), Q.asn1.DEROctetString.superclass.constructor.call(this, e), this.hT = "04";
3977
+ }, Z(Q.asn1.DEROctetString, Q.asn1.DERAbstractString), Q.asn1.DERNull = function() {
3978
+ Q.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
3979
+ }, Z(Q.asn1.DERNull, Q.asn1.ASN1Object), Q.asn1.DERObjectIdentifier = function(e) {
3980
3980
  var t = function(e) {
3981
3981
  var t = e.toString(16);
3982
3982
  return t.length == 1 && (t = "0" + t), t;
@@ -3991,7 +3991,7 @@ var Z = {};
3991
3991
  }
3992
3992
  return n;
3993
3993
  };
3994
- Z.asn1.DERObjectIdentifier.superclass.constructor.call(this), this.hT = "06", this.setValueHex = function(e) {
3994
+ Q.asn1.DERObjectIdentifier.superclass.constructor.call(this), this.hT = "06", this.setValueHex = function(e) {
3995
3995
  this.hTLV = null, this.isModified = !0, this.s = null, this.hV = e;
3996
3996
  }, this.setValueOidString = function(e) {
3997
3997
  if (!e.match(/^[0-9.]+$/)) throw "malformed oid string: " + e;
@@ -4000,15 +4000,15 @@ var Z = {};
4000
4000
  for (var o = 0; o < i.length; o++) r += n(i[o]);
4001
4001
  this.hTLV = null, this.isModified = !0, this.s = null, this.hV = r;
4002
4002
  }, this.setValueName = function(e) {
4003
- var t = Z.asn1.x509.OID.name2oid(e);
4003
+ var t = Q.asn1.x509.OID.name2oid(e);
4004
4004
  if (t !== "") this.setValueOidString(t);
4005
4005
  else throw "DERObjectIdentifier oidName undefined: " + e;
4006
4006
  }, this.getFreshValueHex = function() {
4007
4007
  return this.hV;
4008
4008
  }, e !== void 0 && (typeof e == "string" ? e.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(e) : this.setValueName(e) : e.oid === void 0 ? e.hex === void 0 ? e.name !== void 0 && this.setValueName(e.name) : this.setValueHex(e.hex) : this.setValueOidString(e.oid));
4009
- }, X(Z.asn1.DERObjectIdentifier, Z.asn1.ASN1Object), Z.asn1.DEREnumerated = function(e) {
4010
- Z.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(e) {
4011
- this.hTLV = null, this.isModified = !0, this.hV = Z.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
4009
+ }, Z(Q.asn1.DERObjectIdentifier, Q.asn1.ASN1Object), Q.asn1.DEREnumerated = function(e) {
4010
+ Q.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(e) {
4011
+ this.hTLV = null, this.isModified = !0, this.hV = Q.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
4012
4012
  }, this.setByInteger = function(e) {
4013
4013
  var t = new W(String(e), 10);
4014
4014
  this.setByBigInteger(t);
@@ -4017,54 +4017,54 @@ var Z = {};
4017
4017
  }, this.getFreshValueHex = function() {
4018
4018
  return this.hV;
4019
4019
  }, e !== void 0 && (e.int === void 0 ? typeof e == "number" ? this.setByInteger(e) : e.hex !== void 0 && this.setValueHex(e.hex) : this.setByInteger(e.int));
4020
- }, X(Z.asn1.DEREnumerated, Z.asn1.ASN1Object), Z.asn1.DERUTF8String = function(e) {
4021
- Z.asn1.DERUTF8String.superclass.constructor.call(this, e), this.hT = "0c";
4022
- }, X(Z.asn1.DERUTF8String, Z.asn1.DERAbstractString), Z.asn1.DERNumericString = function(e) {
4023
- Z.asn1.DERNumericString.superclass.constructor.call(this, e), this.hT = "12";
4024
- }, X(Z.asn1.DERNumericString, Z.asn1.DERAbstractString), Z.asn1.DERPrintableString = function(e) {
4025
- Z.asn1.DERPrintableString.superclass.constructor.call(this, e), this.hT = "13";
4026
- }, X(Z.asn1.DERPrintableString, Z.asn1.DERAbstractString), Z.asn1.DERTeletexString = function(e) {
4027
- Z.asn1.DERTeletexString.superclass.constructor.call(this, e), this.hT = "14";
4028
- }, X(Z.asn1.DERTeletexString, Z.asn1.DERAbstractString), Z.asn1.DERIA5String = function(e) {
4029
- Z.asn1.DERIA5String.superclass.constructor.call(this, e), this.hT = "16";
4030
- }, X(Z.asn1.DERIA5String, Z.asn1.DERAbstractString), Z.asn1.DERUTCTime = function(e) {
4031
- Z.asn1.DERUTCTime.superclass.constructor.call(this, e), this.hT = "17", this.setByDate = function(e) {
4020
+ }, Z(Q.asn1.DEREnumerated, Q.asn1.ASN1Object), Q.asn1.DERUTF8String = function(e) {
4021
+ Q.asn1.DERUTF8String.superclass.constructor.call(this, e), this.hT = "0c";
4022
+ }, Z(Q.asn1.DERUTF8String, Q.asn1.DERAbstractString), Q.asn1.DERNumericString = function(e) {
4023
+ Q.asn1.DERNumericString.superclass.constructor.call(this, e), this.hT = "12";
4024
+ }, Z(Q.asn1.DERNumericString, Q.asn1.DERAbstractString), Q.asn1.DERPrintableString = function(e) {
4025
+ Q.asn1.DERPrintableString.superclass.constructor.call(this, e), this.hT = "13";
4026
+ }, Z(Q.asn1.DERPrintableString, Q.asn1.DERAbstractString), Q.asn1.DERTeletexString = function(e) {
4027
+ Q.asn1.DERTeletexString.superclass.constructor.call(this, e), this.hT = "14";
4028
+ }, Z(Q.asn1.DERTeletexString, Q.asn1.DERAbstractString), Q.asn1.DERIA5String = function(e) {
4029
+ Q.asn1.DERIA5String.superclass.constructor.call(this, e), this.hT = "16";
4030
+ }, Z(Q.asn1.DERIA5String, Q.asn1.DERAbstractString), Q.asn1.DERUTCTime = function(e) {
4031
+ Q.asn1.DERUTCTime.superclass.constructor.call(this, e), this.hT = "17", this.setByDate = function(e) {
4032
4032
  this.hTLV = null, this.isModified = !0, this.date = e, this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s);
4033
4033
  }, this.getFreshValueHex = function() {
4034
4034
  return this.date === void 0 && this.s === void 0 && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s)), this.hV;
4035
4035
  }, e !== void 0 && (e.str === void 0 ? typeof e == "string" && e.match(/^[0-9]{12}Z$/) ? this.setString(e) : e.hex === void 0 ? e.date !== void 0 && this.setByDate(e.date) : this.setStringHex(e.hex) : this.setString(e.str));
4036
- }, X(Z.asn1.DERUTCTime, Z.asn1.DERAbstractTime), Z.asn1.DERGeneralizedTime = function(e) {
4037
- Z.asn1.DERGeneralizedTime.superclass.constructor.call(this, e), this.hT = "18", this.withMillis = !1, this.setByDate = function(e) {
4036
+ }, Z(Q.asn1.DERUTCTime, Q.asn1.DERAbstractTime), Q.asn1.DERGeneralizedTime = function(e) {
4037
+ Q.asn1.DERGeneralizedTime.superclass.constructor.call(this, e), this.hT = "18", this.withMillis = !1, this.setByDate = function(e) {
4038
4038
  this.hTLV = null, this.isModified = !0, this.date = e, this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s);
4039
4039
  }, this.getFreshValueHex = function() {
4040
4040
  return this.date === void 0 && this.s === void 0 && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s)), this.hV;
4041
4041
  }, e !== void 0 && (e.str === void 0 ? typeof e == "string" && e.match(/^[0-9]{14}Z$/) ? this.setString(e) : e.hex === void 0 ? e.date !== void 0 && this.setByDate(e.date) : this.setStringHex(e.hex) : this.setString(e.str), e.millis === !0 && (this.withMillis = !0));
4042
- }, X(Z.asn1.DERGeneralizedTime, Z.asn1.DERAbstractTime), Z.asn1.DERSequence = function(e) {
4043
- Z.asn1.DERSequence.superclass.constructor.call(this, e), this.hT = "30", this.getFreshValueHex = function() {
4042
+ }, Z(Q.asn1.DERGeneralizedTime, Q.asn1.DERAbstractTime), Q.asn1.DERSequence = function(e) {
4043
+ Q.asn1.DERSequence.superclass.constructor.call(this, e), this.hT = "30", this.getFreshValueHex = function() {
4044
4044
  for (var e = "", t = 0; t < this.asn1Array.length; t++) {
4045
4045
  var n = this.asn1Array[t];
4046
4046
  e += n.getEncodedHex();
4047
4047
  }
4048
4048
  return this.hV = e, this.hV;
4049
4049
  };
4050
- }, X(Z.asn1.DERSequence, Z.asn1.DERAbstractStructured), Z.asn1.DERSet = function(e) {
4051
- Z.asn1.DERSet.superclass.constructor.call(this, e), this.hT = "31", this.sortFlag = !0, this.getFreshValueHex = function() {
4050
+ }, Z(Q.asn1.DERSequence, Q.asn1.DERAbstractStructured), Q.asn1.DERSet = function(e) {
4051
+ Q.asn1.DERSet.superclass.constructor.call(this, e), this.hT = "31", this.sortFlag = !0, this.getFreshValueHex = function() {
4052
4052
  for (var e = [], t = 0; t < this.asn1Array.length; t++) {
4053
4053
  var n = this.asn1Array[t];
4054
4054
  e.push(n.getEncodedHex());
4055
4055
  }
4056
4056
  return this.sortFlag == 1 && e.sort(), this.hV = e.join(""), this.hV;
4057
4057
  }, e !== void 0 && e.sortflag !== void 0 && e.sortflag == 0 && (this.sortFlag = !1);
4058
- }, X(Z.asn1.DERSet, Z.asn1.DERAbstractStructured), Z.asn1.DERTaggedObject = function(e) {
4059
- Z.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = !0, this.asn1Object = null, this.setASN1Object = function(e, t, n) {
4058
+ }, Z(Q.asn1.DERSet, Q.asn1.DERAbstractStructured), Q.asn1.DERTaggedObject = function(e) {
4059
+ Q.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = !0, this.asn1Object = null, this.setASN1Object = function(e, t, n) {
4060
4060
  this.hT = t, this.isExplicit = e, this.asn1Object = n, this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(), this.hTLV = null, this.isModified = !0) : (this.hV = null, this.hTLV = n.getEncodedHex(), this.hTLV = this.hTLV.replace(/^../, t), this.isModified = !1);
4061
4061
  }, this.getFreshValueHex = function() {
4062
4062
  return this.hV;
4063
4063
  }, e !== void 0 && (e.tag !== void 0 && (this.hT = e.tag), e.explicit !== void 0 && (this.isExplicit = e.explicit), e.obj !== void 0 && (this.asn1Object = e.obj, this.setASN1Object(this.isExplicit, this.hT, this.asn1Object)));
4064
- }, X(Z.asn1.DERTaggedObject, Z.asn1.ASN1Object);
4064
+ }, Z(Q.asn1.DERTaggedObject, Q.asn1.ASN1Object);
4065
4065
  //#endregion
4066
4066
  //#region ../../node_modules/.pnpm/jsencrypt@3.5.4/node_modules/jsencrypt/lib/JSEncryptRSAKey.js
4067
- var hi = (function() {
4067
+ var mi = (function() {
4068
4068
  var e = function(t, n) {
4069
4069
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
4070
4070
  e.__proto__ = t;
@@ -4080,8 +4080,8 @@ var hi = (function() {
4080
4080
  }
4081
4081
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
4082
4082
  };
4083
- })(), gi = function(e) {
4084
- hi(t, e);
4083
+ })(), hi = function(e) {
4084
+ mi(t, e);
4085
4085
  function t(n) {
4086
4086
  var r = e.call(this) || this;
4087
4087
  return n && (typeof n == "string" ? r.parseKey(n) : (t.hasPrivateKeyProperty(n) || t.hasPublicKeyProperty(n)) && r.parsePropertiesFrom(n)), r;
@@ -4114,22 +4114,22 @@ var hi = (function() {
4114
4114
  }
4115
4115
  }, t.prototype.getPrivateBaseKey = function() {
4116
4116
  var e = { array: [
4117
- new Z.asn1.DERInteger({ int: 0 }),
4118
- new Z.asn1.DERInteger({ bigint: this.n }),
4119
- new Z.asn1.DERInteger({ int: this.e }),
4120
- new Z.asn1.DERInteger({ bigint: this.d }),
4121
- new Z.asn1.DERInteger({ bigint: this.p }),
4122
- new Z.asn1.DERInteger({ bigint: this.q }),
4123
- new Z.asn1.DERInteger({ bigint: this.dmp1 }),
4124
- new Z.asn1.DERInteger({ bigint: this.dmq1 }),
4125
- new Z.asn1.DERInteger({ bigint: this.coeff })
4117
+ new Q.asn1.DERInteger({ int: 0 }),
4118
+ new Q.asn1.DERInteger({ bigint: this.n }),
4119
+ new Q.asn1.DERInteger({ int: this.e }),
4120
+ new Q.asn1.DERInteger({ bigint: this.d }),
4121
+ new Q.asn1.DERInteger({ bigint: this.p }),
4122
+ new Q.asn1.DERInteger({ bigint: this.q }),
4123
+ new Q.asn1.DERInteger({ bigint: this.dmp1 }),
4124
+ new Q.asn1.DERInteger({ bigint: this.dmq1 }),
4125
+ new Q.asn1.DERInteger({ bigint: this.coeff })
4126
4126
  ] };
4127
- return new Z.asn1.DERSequence(e).getEncodedHex();
4127
+ return new Q.asn1.DERSequence(e).getEncodedHex();
4128
4128
  }, t.prototype.getPrivateBaseKeyB64 = function() {
4129
4129
  return or(this.getPrivateBaseKey());
4130
4130
  }, t.prototype.getPublicBaseKey = function() {
4131
- var e = new Z.asn1.DERSequence({ array: [new Z.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }), new Z.asn1.DERNull()] }), t = new Z.asn1.DERSequence({ array: [new Z.asn1.DERInteger({ bigint: this.n }), new Z.asn1.DERInteger({ int: this.e })] }), n = new Z.asn1.DERBitString({ hex: "00" + t.getEncodedHex() });
4132
- return new Z.asn1.DERSequence({ array: [e, n] }).getEncodedHex();
4131
+ var e = new Q.asn1.DERSequence({ array: [new Q.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }), new Q.asn1.DERNull()] }), t = new Q.asn1.DERSequence({ array: [new Q.asn1.DERInteger({ bigint: this.n }), new Q.asn1.DERInteger({ int: this.e })] }), n = new Q.asn1.DERBitString({ hex: "00" + t.getEncodedHex() });
4132
+ return new Q.asn1.DERSequence({ array: [e, n] }).getEncodedHex();
4133
4133
  }, t.prototype.getPublicBaseKeyB64 = function() {
4134
4134
  return or(this.getPublicBaseKey());
4135
4135
  }, t.wordwrap = function(e, t) {
@@ -4149,12 +4149,12 @@ var hi = (function() {
4149
4149
  }, t.prototype.parsePropertiesFrom = function(e) {
4150
4150
  this.n = e.n, this.e = e.e, e.hasOwnProperty("d") && (this.d = e.d, this.p = e.p, this.q = e.q, this.dmp1 = e.dmp1, this.dmq1 = e.dmq1, this.coeff = e.coeff);
4151
4151
  }, t;
4152
- }(ui), _i = typeof process < "u" ? process.env?.npm_package_version : void 0, vi = function() {
4152
+ }(li), gi = typeof process < "u" ? process.env?.npm_package_version : void 0, _i = function() {
4153
4153
  function e(e) {
4154
4154
  e === void 0 && (e = {}), this.default_key_size = e.default_key_size ? parseInt(e.default_key_size, 10) : 1024, this.default_public_exponent = e.default_public_exponent || "010001", this.log = e.log || !1, this.key = e.key || null;
4155
4155
  }
4156
4156
  return e.prototype.setKey = function(e) {
4157
- e ? (this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new gi(e)) : !this.key && this.log && console.error("A key was not set.");
4157
+ e ? (this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new hi(e)) : !this.key && this.log && console.error("A key was not set.");
4158
4158
  }, e.prototype.setPrivateKey = function(e) {
4159
4159
  this.setKey(e);
4160
4160
  }, e.prototype.setPublicKey = function(e) {
@@ -4173,7 +4173,7 @@ var hi = (function() {
4173
4173
  }
4174
4174
  }, e.prototype.encryptOAEP = function(e) {
4175
4175
  try {
4176
- return or(this.getKey().encrypt(e, li));
4176
+ return or(this.getKey().encrypt(e, ci));
4177
4177
  } catch {
4178
4178
  return !1;
4179
4179
  }
@@ -4205,7 +4205,7 @@ var hi = (function() {
4205
4205
  });
4206
4206
  }, e.prototype.getKey = function(e) {
4207
4207
  if (!this.key) {
4208
- if (this.key = new gi(), e && {}.toString.call(e) === "[object Function]") {
4208
+ if (this.key = new hi(), e && {}.toString.call(e) === "[object Function]") {
4209
4209
  this.key.generateAsync(this.default_key_size, this.default_public_exponent, e);
4210
4210
  return;
4211
4211
  }
@@ -4220,13 +4220,13 @@ var hi = (function() {
4220
4220
  return this.getKey().getPublicKey();
4221
4221
  }, e.prototype.getPublicKeyB64 = function() {
4222
4222
  return this.getKey().getPublicBaseKeyB64();
4223
- }, e.version = _i, e;
4224
- }(), yi = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApmTqXPG9vBsvUS2cmzdboGWL3vnqBlQ6PNdz8y5UxHe7lH8PyyZaquyNDS4BG00g8Yo1jF2I5Kg8jDd6+KLggKCL9xQSQUouU5nU3XAPnyCHS05oi6h7zaH7pP97DcovNsW5sEblncsMm0Xu9AcNHszIlSiX9fDJqi+bIyELyPWCw4QDmPToB+DsrVXxmUqPKxkjqb4yFghWDZY7nNVK28ra8i9KFj9segH4ujGymCorNPY8f8nEIe2+oxrb+dXGv5xmaBfwi/q7EEyMdzTkSDgUnExnkIhJ+Ki43u9cFFMU94noIsOzmFWJ78JAkiG+I9dE2c0XZx4Asm+tBgw+oQIDAQAB";
4223
+ }, e.version = gi, e;
4224
+ }(), vi = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApmTqXPG9vBsvUS2cmzdboGWL3vnqBlQ6PNdz8y5UxHe7lH8PyyZaquyNDS4BG00g8Yo1jF2I5Kg8jDd6+KLggKCL9xQSQUouU5nU3XAPnyCHS05oi6h7zaH7pP97DcovNsW5sEblncsMm0Xu9AcNHszIlSiX9fDJqi+bIyELyPWCw4QDmPToB+DsrVXxmUqPKxkjqb4yFghWDZY7nNVK28ra8i9KFj9segH4ujGymCorNPY8f8nEIe2+oxrb+dXGv5xmaBfwi/q7EEyMdzTkSDgUnExnkIhJ+Ki43u9cFFMU94noIsOzmFWJ78JAkiG+I9dE2c0XZx4Asm+tBgw+oQIDAQAB";
4225
4225
  (class e {
4226
4226
  static instance;
4227
4227
  encryptor;
4228
4228
  constructor() {
4229
- this.encryptor = new vi(), this.encryptor.setPublicKey(yi);
4229
+ this.encryptor = new _i(), this.encryptor.setPublicKey(vi);
4230
4230
  }
4231
4231
  static getInstance() {
4232
4232
  return e.instance ||= new e(), e.instance;
@@ -4237,7 +4237,7 @@ var hi = (function() {
4237
4237
  return t;
4238
4238
  }
4239
4239
  }).getInstance();
4240
- function bi(e) {
4240
+ function yi(e) {
4241
4241
  try {
4242
4242
  if (!e) return console.warn("Token 为空"), null;
4243
4243
  let t = e.split(".");
@@ -4252,10 +4252,10 @@ function bi(e) {
4252
4252
  }
4253
4253
  //#endregion
4254
4254
  //#region src/hooks/useUser.ts
4255
- function xi() {
4256
- let e = localStorage.getItem("TOKEN"), t = C(bi(e) || {});
4255
+ function bi() {
4256
+ let e = localStorage.getItem("TOKEN"), t = C(yi(e) || {});
4257
4257
  function n() {
4258
- return bi(e);
4258
+ return yi(e);
4259
4259
  }
4260
4260
  return {
4261
4261
  userInfo: t,
@@ -4264,21 +4264,21 @@ function xi() {
4264
4264
  }
4265
4265
  //#endregion
4266
4266
  //#region src/hooks/index.ts
4267
- var Si = /* @__PURE__ */ L({
4267
+ var xi = /* @__PURE__ */ L({
4268
4268
  useDictionary: () => Yn,
4269
4269
  useFetch: () => Bn,
4270
4270
  useRoute: () => Kn,
4271
4271
  useRouter: () => qn,
4272
4272
  useTable: () => Un,
4273
- useUser: () => xi
4273
+ useUser: () => bi
4274
4274
  });
4275
4275
  //#endregion
4276
4276
  //#region src/components/YcApproval/useDetail.ts
4277
- function Ci(e) {
4277
+ function Si(e) {
4278
4278
  return zn.post("/process/operateProcess", e);
4279
4279
  }
4280
- function wi(e) {
4281
- let n = Kn(), { userInfo: r } = xi(), i = w(), a = w(), o = w({}), s = w(!1), c = C({
4280
+ function Ci(e) {
4281
+ let n = Kn(), { userInfo: r } = bi(), i = w(), a = w(), o = w({}), s = w(!1), c = C({
4282
4282
  code: "",
4283
4283
  confirmVisible: !1,
4284
4284
  nextAssigneeVisible: !1,
@@ -4404,7 +4404,7 @@ function wi(e) {
4404
4404
  let t = await i.value?.validate(), r = await o.value?.validate(), s = await e?.getData?.() || {};
4405
4405
  if (t || r || !s || !Object.keys(s).length) return z.Message.error("请完善信息");
4406
4406
  Object.assign(l.processInfo, i.value.getValues() || {}), l.instanceHandlerList = o.value.getValues(), l.processData.readScope = a.value?.formData?.readScope || [];
4407
- let u = await Ci({
4407
+ let u = await Si({
4408
4408
  processInfo: { ...M(l.processInfo) },
4409
4409
  processData: JSON.stringify(l.processData),
4410
4410
  instanceHandlerList: l.instanceHandlerList,
@@ -4450,7 +4450,7 @@ function wi(e) {
4450
4450
  }
4451
4451
  //#endregion
4452
4452
  //#region src/components/YcApproval/useBtnActive.ts
4453
- function Ti({ processCode: e }) {
4453
+ function wi({ processCode: e }) {
4454
4454
  let n = localStorage.getItem("TOkEN"), r = Yn({
4455
4455
  code: "ApprovalButtonActive",
4456
4456
  pageSize: 100
@@ -4471,14 +4471,14 @@ function Ti({ processCode: e }) {
4471
4471
  }
4472
4472
  //#endregion
4473
4473
  //#region src/components/YcApproval/Remind.vue?vue&type=script&setup=true&lang.ts
4474
- var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4474
+ var Ti = { key: 0 }, Ei = /* @__PURE__ */ u({
4475
4475
  __name: "Remind",
4476
4476
  props: {
4477
4477
  disabled: { type: Boolean },
4478
4478
  formData: {}
4479
4479
  },
4480
4480
  setup(e, { expose: r }) {
4481
- let s = o(e, ["formData"]), { userInfo: u } = xi(), d = w([]), f = w([]);
4481
+ let s = o(e, ["formData"]), { userInfo: u } = bi(), d = w([]), f = w([]);
4482
4482
  Bn("/process/queryProcessActivity", {
4483
4483
  defaultParams: t(() => ({ processId: e.formData?.processInfo?.processId })),
4484
4484
  ready: t(() => !!e.formData?.processInfo?.processId && e.formData?.processInfo?.activityCode === "ACT_START"),
@@ -4564,7 +4564,7 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4564
4564
  }),
4565
4565
  l(r, { prop: "assigneeName" }, {
4566
4566
  header: I(() => [...t[0] ||= [c("处理人 ", -1), a("span", { style: { color: "red" } }, "*", -1)]]),
4567
- default: I(({ row: e, $index: t }) => [t === 0 ? (S(), i("span", Ei, j(e.assigneeName), 1)) : (S(), n(o, {
4567
+ default: I(({ row: e, $index: t }) => [t === 0 ? (S(), i("span", Ti, j(e.assigneeName), 1)) : (S(), n(o, {
4568
4568
  key: 1,
4569
4569
  ref: (e) => f.value[t] = e,
4570
4570
  modelValue: e.assigneeName,
@@ -4587,7 +4587,7 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4587
4587
  }, 8, ["icon"]);
4588
4588
  };
4589
4589
  }
4590
- }), Oi = /* @__PURE__ */ u({
4590
+ }), Di = /* @__PURE__ */ u({
4591
4591
  __name: "ReadScope",
4592
4592
  props: {
4593
4593
  disabled: { type: Boolean },
@@ -4628,7 +4628,7 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4628
4628
  }, 8, ["icon"]);
4629
4629
  };
4630
4630
  }
4631
- }), ki = /* @__PURE__ */ u({
4631
+ }), Oi = /* @__PURE__ */ u({
4632
4632
  __name: "History",
4633
4633
  props: { formData: {} },
4634
4634
  setup(e) {
@@ -4674,7 +4674,7 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4674
4674
  }, 8, ["icon"]);
4675
4675
  };
4676
4676
  }
4677
- }), Ai = { class: "fixed-buttons" }, ji = { key: 0 }, Mi = /* @__PURE__ */ u({
4677
+ }), ki = { class: "fixed-buttons" }, Ai = { key: 0 }, ji = /* @__PURE__ */ u({
4678
4678
  __name: "index",
4679
4679
  props: {
4680
4680
  processCode: {},
@@ -4684,12 +4684,12 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4684
4684
  let o = t, s = o.processCode || Kn().params.processCode, u = {
4685
4685
  IntegratedApprovalProcess: "手工构建流程",
4686
4686
  SoftwareReleaseProcess: "软件释放流程"
4687
- }, { btnActiveMaps: d, toFlowchart: f } = Ti({ processCode: s }), { processInfoRef: p, readScopeRef: m, remindRef: h, disabled: g, formData: _, states: v, confirmFields: y, baseFields: b, buttonClick: x, onConfirmSubmit: C } = wi(o);
4687
+ }, { btnActiveMaps: d, toFlowchart: f } = wi({ processCode: s }), { processInfoRef: p, readScopeRef: m, remindRef: h, disabled: g, formData: _, states: v, confirmFields: y, baseFields: b, buttonClick: x, onConfirmSubmit: C } = Ci(o);
4688
4688
  return (t, o) => {
4689
4689
  let w = D("el-button"), k = D("yc-form"), ee = D("yc-card"), A = D("el-card"), te = D("el-dialog"), M = O("sticky");
4690
4690
  return S(), i(e, null, [l(A, { style: { margin: "0px 120px" } }, {
4691
4691
  default: I(() => [
4692
- ae((S(), i("div", Ai, [N(v).buttonList.length ? (S(), i("div", ji, [(S(!0), i(e, null, T(N(v).buttonList, (e) => (S(), n(w, {
4692
+ ae((S(), i("div", ki, [N(v).buttonList.length ? (S(), i("div", Ai, [(S(!0), i(e, null, T(N(v).buttonList, (e) => (S(), n(w, {
4693
4693
  key: e.code,
4694
4694
  type: N(d)?.get(e.code)?.[1] || "default",
4695
4695
  onClick: (t) => N(x)(e.code)
@@ -4721,19 +4721,19 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4721
4721
  _: 1
4722
4722
  }, 8, ["icon"]),
4723
4723
  E(t.$slots, "default", { data: N(_)?.businessData }, void 0, !0),
4724
- l(Di, {
4724
+ l(Ei, {
4725
4725
  ref_key: "remindRef",
4726
4726
  ref: h,
4727
4727
  "form-data": N(_),
4728
4728
  disabled: N(g)
4729
4729
  }, null, 8, ["form-data", "disabled"]),
4730
- l(Oi, {
4730
+ l(Di, {
4731
4731
  ref_key: "readScopeRef",
4732
4732
  ref: m,
4733
4733
  "form-data": N(_),
4734
4734
  disabled: N(g)
4735
4735
  }, null, 8, ["form-data", "disabled"]),
4736
- l(ki, {
4736
+ l(Oi, {
4737
4737
  "form-data": N(_),
4738
4738
  disabled: N(g)
4739
4739
  }, null, 8, ["form-data", "disabled"])
@@ -4753,7 +4753,7 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4753
4753
  }, 8, ["modelValue"])], 64);
4754
4754
  };
4755
4755
  }
4756
- }), Ni = /* @__PURE__ */ L({ default: () => Pi }), Pi = /* @__PURE__ */ R(Mi, [["__scopeId", "data-v-ed24f758"]]), Fi = {
4756
+ }), Mi = /* @__PURE__ */ L({ default: () => Ni }), Ni = /* @__PURE__ */ R(ji, [["__scopeId", "data-v-ed24f758"]]), Pi = {
4757
4757
  mounted(e, t) {
4758
4758
  let n = t.value || {}, r = n.target || "body", i = n.top || 0;
4759
4759
  e._stickyOriginalStyles = {
@@ -4778,12 +4778,12 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4778
4778
  unmounted(e) {
4779
4779
  e._stickyScrollListener && window.removeEventListener("scroll", e._stickyScrollListener), e._stickyOriginalStyles && (e.style.position = e._stickyOriginalStyles.position, e.style.top = e._stickyOriginalStyles.top, e.style.zIndex = e._stickyOriginalStyles.zIndex, e.style.width = e._stickyOriginalStyles.width);
4780
4780
  }
4781
- }, Ii = { mounted(e) {
4781
+ }, Fi = { mounted(e) {
4782
4782
  e.style.boxShadow = "0px 0px 12px rgba(0, 0, 0, 0.12)", e.style.padding = "20px", e.style.borderRadius = "4px", e.style.border = "1px solid #e4e7ed", e.style.backgroundColor = "#fff";
4783
- } }, Li = /* @__PURE__ */ L({
4784
- card: () => Ii,
4785
- sticky: () => Fi
4786
- }), Ri = "Yc", zi = {
4783
+ } }, Ii = /* @__PURE__ */ L({
4784
+ card: () => Fi,
4785
+ sticky: () => Pi
4786
+ }), Li = "Yc", Ri = {
4787
4787
  UiCard: fe,
4788
4788
  UiTable: Ne,
4789
4789
  UiFilter: kt,
@@ -4795,36 +4795,30 @@ var Ei = { key: 0 }, Di = /* @__PURE__ */ u({
4795
4795
  UiDialog: fn,
4796
4796
  UiStaffSelect: Dn,
4797
4797
  UiUpload: Nn,
4798
- YcApproval: Ni
4799
- }, Q = {};
4798
+ YcApproval: Mi
4799
+ }, zi = null;
4800
4800
  function Bi(e) {
4801
- e.ElMessage && (Q.ElMessage = e.ElMessage), e.app && (Q.app = e.app), e.vue && (Q.vue = e.vue);
4802
- }
4803
- function Vi(e) {
4804
- Q.vue = e;
4801
+ zi = e;
4805
4802
  }
4806
4803
  function $() {
4807
- return Q.vue;
4808
- }
4809
- function Hi() {
4810
- return Q.ElMessage ? Q.ElMessage : Q.app?.config?.globalProperties?.$message ? Q.app.config.globalProperties.$message : Q.vue?.config?.globalProperties?.$message ? Q.vue.config.globalProperties.$message : null;
4804
+ return zi;
4811
4805
  }
4812
- function Ui() {
4813
- return Hi();
4814
- }
4815
- var Wi = { install(e, t) {
4816
- Q.hostVue ||= e, t?.ElMessage && (Q.ElMessage = t.ElMessage);
4817
- for (let [t, n] of Object.entries(zi)) {
4806
+ var Vi = { install(e, t) {
4807
+ t?.elementPlus && t.elementPlus.install(e), zi ||= {
4808
+ ...e,
4809
+ h: f
4810
+ };
4811
+ for (let [t, n] of Object.entries(Ri)) {
4818
4812
  let r = n?.default || n;
4819
4813
  if (r && (typeof r == "function" || typeof r == "object")) {
4820
- let n = t.replace(/^Ui/, Ri);
4814
+ let n = t.replace(/^Ui/, Li);
4821
4815
  e.component(n, r);
4822
4816
  let i = n.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
4823
4817
  i !== n && e.component(i, r);
4824
4818
  }
4825
4819
  }
4826
4820
  for (let [t, n] of Object.entries(Ct)) e.component(t, n), e.component(t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), n);
4827
- for (let [t, n] of Object.entries(Li)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
4821
+ for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
4828
4822
  } };
4829
4823
  //#endregion
4830
- export { kt as C, fe as E, Ft as S, z as T, fn as _, Vi as a, Jt as b, Si as c, Kn as d, qn as f, Dn as g, Nn as h, Bi as i, xi as l, Bn as m, $ as n, Wi as o, Un as p, Hi as r, Ni as s, Ui as t, Yn as u, cn as v, Ne as w, zt as x, nn as y };
4824
+ export { fe as S, Jt as _, xi as a, kt as b, Kn as c, Bn as d, Nn as f, nn as g, cn as h, Mi as i, qn as l, fn as m, Bi as n, bi as o, Dn as p, Vi as r, Yn as s, $ as t, Un as u, zt as v, Ne as x, Ft as y };
@@ -1,2 +1,2 @@
1
- import { d as e, f as t, l as n, m as r, p as i, u as a } from "../entry-BjSI8IPH.js";
2
- export { a as useDictionary, r as useFetch, e as useRoute, t as useRouter, i as useTable, n as useUser };
1
+ import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-Dq5MrKoM.js";
2
+ export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r as useUser };
package/dist/vep-ui.js CHANGED
@@ -1,2 +1,2 @@
1
- import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, g as c, h as l, i as u, n as d, o as f, r as p, s as m, t as h, v as g, w as _, x as v, y } from "./entry-BjSI8IPH.js";
2
- export { r as El, t as UiCard, g as UiDescriptions, i as UiDialog, v as UiEditor, e as UiFilter, n as UiForm, y as UiInfiniteScroll, c as UiStaffSelect, _ as UiTable, o as UiTree, l as UiUpload, m as YcApproval, f as default, f as ycPlugin, h as getElMessage, d as getHostVue, p as getMessage, s as hooks, u as setConfig, a as setHostVue };
1
+ import { S as e, _ as t, a as n, b as r, f as i, g as a, h as o, i as s, m as c, n as l, p as u, r as d, t as f, v as p, x as m, y as h } from "./entry-Dq5MrKoM.js";
2
+ export { e as UiCard, o as UiDescriptions, c as UiDialog, p as UiEditor, r as UiFilter, h as UiForm, a as UiInfiniteScroll, u as UiStaffSelect, m as UiTable, t as UiTree, i as UiUpload, s as YcApproval, d as default, d as ycPlugin, f as getHostVue, n as hooks, l as setHostVue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-vep-ui",
3
- "version": "0.3.33",
3
+ "version": "0.3.35",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
6
6
  "keywords": [