ui-process-h5 2.5.71 → 2.5.73

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.
@@ -76,7 +76,7 @@ function qe(e) {
76
76
  return a || (s[i] = e(i));
77
77
  };
78
78
  }
79
- var Cr = /-(\w)/g, Re = qe(function(e) {
79
+ var Cr = /-(\w)/g, Ge = qe(function(e) {
80
80
  return e.replace(Cr, function(s, t) {
81
81
  return t ? t.toUpperCase() : "";
82
82
  });
@@ -119,7 +119,7 @@ var Et = function(e, s, t) {
119
119
  }, Za = function(e) {
120
120
  return e;
121
121
  };
122
- function Ge(e, s) {
122
+ function Re(e, s) {
123
123
  if (e === s)
124
124
  return !0;
125
125
  var t = U(e), i = U(s);
@@ -128,14 +128,14 @@ function Ge(e, s) {
128
128
  var a = Array.isArray(e), n = Array.isArray(s);
129
129
  if (a && n)
130
130
  return e.length === s.length && e.every(function(l, p) {
131
- return Ge(l, s[p]);
131
+ return Re(l, s[p]);
132
132
  });
133
133
  if (e instanceof Date && s instanceof Date)
134
134
  return e.getTime() === s.getTime();
135
135
  if (!a && !n) {
136
136
  var r = Object.keys(e), o = Object.keys(s);
137
137
  return r.length === o.length && r.every(function(l) {
138
- return Ge(e[l], s[l]);
138
+ return Re(e[l], s[l]);
139
139
  });
140
140
  } else
141
141
  return !1;
@@ -147,11 +147,11 @@ function Ge(e, s) {
147
147
  }
148
148
  function Xa(e, s) {
149
149
  for (var t = 0; t < e.length; t++)
150
- if (Ge(e[t], s))
150
+ if (Re(e[t], s))
151
151
  return t;
152
152
  return -1;
153
153
  }
154
- function Gt(e) {
154
+ function Rt(e) {
155
155
  var s = !1;
156
156
  return function() {
157
157
  s || (s = !0, e.apply(this, arguments));
@@ -219,12 +219,12 @@ function Nr(e) {
219
219
  };
220
220
  }
221
221
  }
222
- var Er = "__proto__" in {}, j = typeof window < "u", js = typeof WXEnvironment < "u" && !!WXEnvironment.platform, sn = js && WXEnvironment.platform.toLowerCase(), R = j && window.navigator.userAgent.toLowerCase(), rt = R && /msie|trident/.test(R), ot = R && R.indexOf("msie 9.0") > 0, Ks = R && R.indexOf("edge/") > 0;
223
- R && R.indexOf("android") > 0;
224
- var xr = R && /iphone|ipad|ipod|ios/.test(R) || sn === "ios";
225
- R && /chrome\/\d+/.test(R);
226
- R && /phantomjs/.test(R);
227
- var Ti = R && R.match(/firefox\/(\d+)/), Is = {}.watch, an = !1;
222
+ var Er = "__proto__" in {}, j = typeof window < "u", js = typeof WXEnvironment < "u" && !!WXEnvironment.platform, sn = js && WXEnvironment.platform.toLowerCase(), G = j && window.navigator.userAgent.toLowerCase(), rt = G && /msie|trident/.test(G), ot = G && G.indexOf("msie 9.0") > 0, Ks = G && G.indexOf("edge/") > 0;
223
+ G && G.indexOf("android") > 0;
224
+ var xr = G && /iphone|ipad|ipod|ios/.test(G) || sn === "ios";
225
+ G && /chrome\/\d+/.test(G);
226
+ G && /phantomjs/.test(G);
227
+ var Ti = G && G.match(/firefox\/(\d+)/), Is = {}.watch, an = !1;
228
228
  if (j)
229
229
  try {
230
230
  var ki = {};
@@ -541,7 +541,7 @@ X.provide = ks;
541
541
  var cn = function(e, s) {
542
542
  return s === void 0 ? e : s;
543
543
  };
544
- function Rr(e) {
544
+ function Gr(e) {
545
545
  for (var s in e.components)
546
546
  zs(s);
547
547
  }
@@ -552,16 +552,16 @@ function zs(e) {
552
552
  "Do not use built-in or reserved HTML elements as component id: " + e
553
553
  );
554
554
  }
555
- function Gr(e, s) {
555
+ function Rr(e, s) {
556
556
  var t = e.props;
557
557
  if (!!t) {
558
558
  var i = {}, a, n, r;
559
559
  if (Array.isArray(t))
560
560
  for (a = t.length; a--; )
561
- n = t[a], typeof n == "string" ? (r = Re(n), i[r] = { type: null }) : process.env.NODE_ENV !== "production" && g("props must be strings when using array syntax.");
561
+ n = t[a], typeof n == "string" ? (r = Ge(n), i[r] = { type: null }) : process.env.NODE_ENV !== "production" && g("props must be strings when using array syntax.");
562
562
  else if (J(t))
563
563
  for (var o in t)
564
- n = t[o], r = Re(o), i[r] = J(n) ? n : { type: n };
564
+ n = t[o], r = Ge(o), i[r] = J(n) ? n : { type: n };
565
565
  else
566
566
  process.env.NODE_ENV !== "production" && g(
567
567
  'Invalid value for option "props": expected an Array or an Object, but got ' + ts(t) + ".",
@@ -604,7 +604,7 @@ function Zs(e, s, t) {
604
604
  );
605
605
  }
606
606
  function Je(e, s, t) {
607
- if (process.env.NODE_ENV !== "production" && Rr(s), typeof s == "function" && (s = s.options), Gr(s, t), _r(s, t), Jr(s), !s._base && (s.extends && (e = Je(e, s.extends, t)), s.mixins))
607
+ if (process.env.NODE_ENV !== "production" && Gr(s), typeof s == "function" && (s = s.options), Rr(s, t), _r(s, t), Jr(s), !s._base && (s.extends && (e = Je(e, s.extends, t)), s.mixins))
608
608
  for (var i = 0, a = s.mixins.length; i < a; i++)
609
609
  e = Je(e, s.mixins[i], t);
610
610
  var n = {}, r;
@@ -623,7 +623,7 @@ function Xs(e, s, t, i) {
623
623
  var a = e[s];
624
624
  if (F(a, t))
625
625
  return a[t];
626
- var n = Re(t);
626
+ var n = Ge(t);
627
627
  if (F(a, n))
628
628
  return a[n];
629
629
  var r = Wa(n);
@@ -1145,7 +1145,7 @@ function go(e, s, t, i, a) {
1145
1145
  var p = e.attrs && e.attrs.type;
1146
1146
  n = i || S.mustUseProp(s, p, l) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {});
1147
1147
  }
1148
- var h = Re(l), m = je(l);
1148
+ var h = Ge(l), m = je(l);
1149
1149
  if (!(h in n) && !(m in n) && (n[l] = t[l], a)) {
1150
1150
  var v = e.on || (e.on = {});
1151
1151
  v["update:" + l] = function(I) {
@@ -1217,7 +1217,7 @@ function Io(e, s) {
1217
1217
  return typeof e == "string" ? s + e : e;
1218
1218
  }
1219
1219
  function gn(e) {
1220
- e._o = vo, e._n = ft, e._s = Ar, e._l = uo, e._t = ho, e._q = Ge, e._i = Xa, e._m = Ao, e._f = fo, e._k = mo, e._b = go, e._v = Ze, e._e = Qe, e._u = mn, e._g = yo, e._d = Co, e._p = Io;
1220
+ e._o = vo, e._n = ft, e._s = Ar, e._l = uo, e._t = ho, e._q = Re, e._i = Xa, e._m = Ao, e._f = fo, e._k = mo, e._b = go, e._v = Ze, e._e = Qe, e._u = mn, e._g = yo, e._d = Co, e._p = Io;
1221
1221
  }
1222
1222
  function ii(e, s, t, i, a) {
1223
1223
  var n = this, r = a.options, o;
@@ -1247,7 +1247,7 @@ function bo(e, s, t, i, a) {
1247
1247
  for (var l in o)
1248
1248
  r[l] = $s(l, o, s || Z);
1249
1249
  else
1250
- d(t.attrs) && Gi(r, t.attrs), d(t.props) && Gi(r, t.props);
1250
+ d(t.attrs) && Ri(r, t.attrs), d(t.props) && Ri(r, t.props);
1251
1251
  var p = new ii(
1252
1252
  t,
1253
1253
  r,
@@ -1256,20 +1256,20 @@ function bo(e, s, t, i, a) {
1256
1256
  e
1257
1257
  ), h = n.render.call(null, p._c, p);
1258
1258
  if (h instanceof q)
1259
- return Ri(h, t, p.parent, n, p);
1259
+ return Gi(h, t, p.parent, n, p);
1260
1260
  if (Array.isArray(h)) {
1261
1261
  for (var m = ti(h) || [], v = new Array(m.length), I = 0; I < m.length; I++)
1262
- v[I] = Ri(m[I], t, p.parent, n, p);
1262
+ v[I] = Gi(m[I], t, p.parent, n, p);
1263
1263
  return v;
1264
1264
  }
1265
1265
  }
1266
- function Ri(e, s, t, i, a) {
1266
+ function Gi(e, s, t, i, a) {
1267
1267
  var n = bs(e);
1268
1268
  return n.fnContext = t, n.fnOptions = i, process.env.NODE_ENV !== "production" && ((n.devtoolsMeta = n.devtoolsMeta || {}).renderContext = a), s.slot && ((n.data || (n.data = {})).slot = s.slot), n;
1269
1269
  }
1270
- function Gi(e, s) {
1270
+ function Ri(e, s) {
1271
1271
  for (var t in s)
1272
- e[Re(t)] = s[t];
1272
+ e[Ge(t)] = s[t];
1273
1273
  }
1274
1274
  var ai = {
1275
1275
  init: function(s, t) {
@@ -1491,9 +1491,9 @@ function Mo(e, s) {
1491
1491
  for (var v = 0, I = i.length; v < I; v++)
1492
1492
  i[v].$forceUpdate();
1493
1493
  m && (i.length = 0, n !== null && (clearTimeout(n), n = null), r !== null && (clearTimeout(r), r = null));
1494
- }, l = Gt(function(m) {
1494
+ }, l = Rt(function(m) {
1495
1495
  e.resolved = ps(m, s), a ? i.length = 0 : o(!0);
1496
- }), p = Gt(function(m) {
1496
+ }), p = Rt(function(m) {
1497
1497
  process.env.NODE_ENV !== "production" && g(
1498
1498
  "Failed to resolve async component: " + String(e) + (m ? `
1499
1499
  Reason: ` + m : "")
@@ -1607,7 +1607,7 @@ function Vo(e) {
1607
1607
  }
1608
1608
  e.$parent = t, e.$root = t ? t.$root : e, e.$children = [], e.$refs = {}, e._watcher = null, e._inactive = null, e._directInactive = !1, e._isMounted = !1, e._isDestroyed = !1, e._isBeingDestroyed = !1;
1609
1609
  }
1610
- function Ro(e) {
1610
+ function Go(e) {
1611
1611
  e.prototype._update = function(s, t) {
1612
1612
  var i = this, a = i.$el, n = i._vnode, r = In(i);
1613
1613
  i._vnode = s, n ? i.$el = i.__patch__(n, s) : i.$el = i.__patch__(i.$el, s, t, !1), r(), a && (a.__vue__ = null), i.$el && (i.$el.__vue__ = i), i.$vnode && i.$parent && i.$vnode === i.$parent._vnode && (i.$parent.$el = i.$el);
@@ -1626,7 +1626,7 @@ function Ro(e) {
1626
1626
  }
1627
1627
  };
1628
1628
  }
1629
- function Go(e, s, t) {
1629
+ function Ro(e, s, t) {
1630
1630
  e.$el = s, e.$options.render || (e.$options.render = Qe, process.env.NODE_ENV !== "production" && (e.$options.template && e.$options.template.charAt(0) !== "#" || e.$options.el || s ? g(
1631
1631
  "You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",
1632
1632
  e
@@ -2029,7 +2029,7 @@ function D(e) {
2029
2029
  rl(D);
2030
2030
  al(D);
2031
2031
  Uo(D);
2032
- Ro(D);
2032
+ Go(D);
2033
2033
  Oo(D);
2034
2034
  function cl(e) {
2035
2035
  e.use = function(s) {
@@ -2298,10 +2298,10 @@ function Ul(e, s) {
2298
2298
  function Vl(e, s) {
2299
2299
  e.appendChild(s);
2300
2300
  }
2301
- function Rl(e) {
2301
+ function Gl(e) {
2302
2302
  return e.parentNode;
2303
2303
  }
2304
- function Gl(e) {
2304
+ function Rl(e) {
2305
2305
  return e.nextSibling;
2306
2306
  }
2307
2307
  function _l(e) {
@@ -2321,8 +2321,8 @@ var jl = /* @__PURE__ */ Object.freeze({
2321
2321
  insertBefore: Fl,
2322
2322
  removeChild: Ul,
2323
2323
  appendChild: Vl,
2324
- parentNode: Rl,
2325
- nextSibling: Gl,
2324
+ parentNode: Gl,
2325
+ nextSibling: Rl,
2326
2326
  tagName: _l,
2327
2327
  setTextContent: Jl,
2328
2328
  setStyleScope: ql
@@ -2855,7 +2855,7 @@ var fc = /^--/, aa = /\s*!important$/, na = function(e, s, t) {
2855
2855
  e.style[i] = t;
2856
2856
  }
2857
2857
  }, ra = ["Webkit", "Moz", "ms"], Pt, mc = qe(function(e) {
2858
- if (Pt = Pt || document.createElement("div").style, e = Re(e), e !== "filter" && e in Pt)
2858
+ if (Pt = Pt || document.createElement("div").style, e = Ge(e), e !== "filter" && e in Pt)
2859
2859
  return e;
2860
2860
  for (var s = e.charAt(0).toUpperCase() + e.slice(1), t = 0; t < ra.length; t++) {
2861
2861
  var i = ra[t] + s;
@@ -2984,8 +2984,8 @@ function Us(e, s) {
2984
2984
  var lt = ee && p ? p : r, Ye = ee && m ? m : l, wt = ee && h ? h : o, pe = ee && ae || v, me = ee && typeof V == "function" ? V : I, xe = ee && K || x, Nt = ee && Ne || T, ge = ft(
2985
2985
  U(Ke) ? Ke.enter : Ke
2986
2986
  );
2987
- process.env.NODE_ENV !== "production" && ge != null && Gn(ge, "enter", e);
2988
- var He = a !== !1 && !ot, u = fi(me), c = t._enterCb = Gt(function() {
2987
+ process.env.NODE_ENV !== "production" && ge != null && Rn(ge, "enter", e);
2988
+ var He = a !== !1 && !ot, u = fi(me), c = t._enterCb = Rt(function() {
2989
2989
  He && (he(t, wt), he(t, Ye)), c.cancelled ? (He && he(t, lt), Nt && Nt(t)) : xe && xe(t), t._enterCb = null;
2990
2990
  });
2991
2991
  e.data.show || ye(e, "insert", function() {
@@ -2997,7 +2997,7 @@ function Us(e, s) {
2997
2997
  }
2998
2998
  }
2999
2999
  }
3000
- function Rn(e, s) {
3000
+ function Gn(e, s) {
3001
3001
  var t = e.elm;
3002
3002
  d(t._enterCb) && (t._enterCb.cancelled = !0, t._enterCb());
3003
3003
  var i = Pn(e.data.transition);
@@ -3008,8 +3008,8 @@ function Rn(e, s) {
3008
3008
  var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, l = i.leaveActiveClass, p = i.beforeLeave, h = i.leave, m = i.afterLeave, v = i.leaveCancelled, I = i.delayLeave, x = i.duration, T = a !== !1 && !ot, ae = fi(h), V = ft(
3009
3009
  U(x) ? x.leave : x
3010
3010
  );
3011
- process.env.NODE_ENV !== "production" && d(V) && Gn(V, "leave", e);
3012
- var K = t._leaveCb = Gt(function() {
3011
+ process.env.NODE_ENV !== "production" && d(V) && Rn(V, "leave", e);
3012
+ var K = t._leaveCb = Rt(function() {
3013
3013
  t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), T && (he(t, o), he(t, l)), K.cancelled ? (T && he(t, r), v && v(t)) : (s(), m && m(t)), t._leaveCb = null;
3014
3014
  });
3015
3015
  I ? I(Ne) : Ne();
@@ -3019,7 +3019,7 @@ function Rn(e, s) {
3019
3019
  })), h && h(t, K), !T && !ae && K());
3020
3020
  }
3021
3021
  }
3022
- function Gn(e, s, t) {
3022
+ function Rn(e, s, t) {
3023
3023
  typeof e != "number" ? g(
3024
3024
  "<transition> explicit " + s + " duration is not a valid number - got " + JSON.stringify(e) + ".",
3025
3025
  t.context
@@ -3046,7 +3046,7 @@ var vc = j ? {
3046
3046
  create: da,
3047
3047
  activate: da,
3048
3048
  remove: function(s, t) {
3049
- s.data.show !== !0 ? Rn(s, t) : t();
3049
+ s.data.show !== !0 ? Gn(s, t) : t();
3050
3050
  }
3051
3051
  } : {}, yc = [
3052
3052
  tc,
@@ -3071,7 +3071,7 @@ var Jn = {
3071
3071
  ha(s, t, i.context);
3072
3072
  var a = s._vOptions, n = s._vOptions = [].map.call(s.options, Zt);
3073
3073
  if (n.some(function(o, l) {
3074
- return !Ge(o, a[l]);
3074
+ return !Re(o, a[l]);
3075
3075
  })) {
3076
3076
  var r = s.multiple ? t.value.some(function(o) {
3077
3077
  return ma(o, n);
@@ -3098,7 +3098,7 @@ function fa(e, s, t) {
3098
3098
  for (var n, r, o = 0, l = e.options.length; o < l; o++)
3099
3099
  if (r = e.options[o], a)
3100
3100
  n = Xa(i, Zt(r)) > -1, r.selected !== n && (r.selected = n);
3101
- else if (Ge(Zt(r), i)) {
3101
+ else if (Re(Zt(r), i)) {
3102
3102
  e.selectedIndex !== o && (e.selectedIndex = o);
3103
3103
  return;
3104
3104
  }
@@ -3106,7 +3106,7 @@ function fa(e, s, t) {
3106
3106
  }
3107
3107
  function ma(e, s) {
3108
3108
  return s.every(function(t) {
3109
- return !Ge(t, e);
3109
+ return !Re(t, e);
3110
3110
  });
3111
3111
  }
3112
3112
  function Zt(e) {
@@ -3141,7 +3141,7 @@ var Tc = {
3141
3141
  var r = i.data && i.data.transition;
3142
3142
  r ? (i.data.show = !0, a ? Us(i, function() {
3143
3143
  s.style.display = s.__vOriginalDisplay;
3144
- }) : Rn(i, function() {
3144
+ }) : Gn(i, function() {
3145
3145
  s.style.display = "none";
3146
3146
  })) : s.style.display = a ? s.__vOriginalDisplay : "none";
3147
3147
  }
@@ -3169,9 +3169,9 @@ var Tc = {
3169
3169
  appearToClass: String,
3170
3170
  duration: [Number, String, Object]
3171
3171
  };
3172
- function Rs(e) {
3172
+ function Gs(e) {
3173
3173
  var s = e && e.componentOptions;
3174
- return s && s.Ctor.options.abstract ? Rs(yn(s.children)) : e;
3174
+ return s && s.Ctor.options.abstract ? Gs(yn(s.children)) : e;
3175
3175
  }
3176
3176
  function jn(e) {
3177
3177
  var s = {}, t = e.$options;
@@ -3179,7 +3179,7 @@ function jn(e) {
3179
3179
  s[i] = e[i];
3180
3180
  var a = t._parentListeners;
3181
3181
  for (var n in a)
3182
- s[Re(n)] = a[n];
3182
+ s[Ge(n)] = a[n];
3183
3183
  return s;
3184
3184
  }
3185
3185
  function Aa(e, s) {
@@ -3219,14 +3219,14 @@ var Ec = function(e) {
3219
3219
  var n = i[0];
3220
3220
  if (wc(this.$vnode))
3221
3221
  return n;
3222
- var r = Rs(n);
3222
+ var r = Gs(n);
3223
3223
  if (!r)
3224
3224
  return n;
3225
3225
  if (this._leaving)
3226
3226
  return Aa(s, n);
3227
3227
  var o = "__transition-" + this._uid + "-";
3228
3228
  r.key = r.key == null ? r.isComment ? o + "comment" : o + r.tag : we(r.key) ? String(r.key).indexOf(o) === 0 ? r.key : o + r.key : r.key;
3229
- var l = (r.data || (r.data = {})).transition = jn(this), p = this._vnode, h = Rs(p);
3229
+ var l = (r.data || (r.data = {})).transition = jn(this), p = this._vnode, h = Gs(p);
3230
3230
  if (r.data.directives && r.data.directives.some(xc) && (r.data.show = !0), h && h.data && !Nc(r, h) && !gt(h) && !(h.componentInstance && h.componentInstance._vnode.isComment)) {
3231
3231
  var m = h.data.transition = O({}, l);
3232
3232
  if (a === "out-in")
@@ -3340,7 +3340,7 @@ O(D.options.directives, kc);
3340
3340
  O(D.options.components, Pc);
3341
3341
  D.prototype.__patch__ = j ? Ic : Q;
3342
3342
  D.prototype.$mount = function(e, s) {
3343
- return e = e && j ? Dl(e) : void 0, Go(this, e, s);
3343
+ return e = e && j ? Dl(e) : void 0, Ro(this, e, s);
3344
3344
  };
3345
3345
  j && setTimeout(function() {
3346
3346
  S.devtools && (_t ? _t.emit("init", D) : process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console[console.info ? "info" : "log"](
@@ -3352,18 +3352,18 @@ Make sure to turn on production mode when deploying for production.
3352
3352
  See more tips at https://vuejs.org/guide/deployment.html`
3353
3353
  );
3354
3354
  }, 0);
3355
- var Gs = function(e, s) {
3356
- return Gs = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
3355
+ var Rs = function(e, s) {
3356
+ return Rs = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
3357
3357
  t.__proto__ = i;
3358
3358
  } || function(t, i) {
3359
3359
  for (var a in i)
3360
3360
  Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
3361
- }, Gs(e, s);
3361
+ }, Rs(e, s);
3362
3362
  };
3363
3363
  function Lc(e, s) {
3364
3364
  if (typeof s != "function" && s !== null)
3365
3365
  throw new TypeError("Class extends value " + String(s) + " is not a constructor or null");
3366
- Gs(e, s);
3366
+ Rs(e, s);
3367
3367
  function t() {
3368
3368
  this.constructor = e;
3369
3369
  }
@@ -3415,7 +3415,7 @@ var _s, Lt = [], Hn = function() {
3415
3415
  function s(t) {
3416
3416
  t === void 0 && (t = !1);
3417
3417
  var i = this, a = void 0;
3418
- return Gc(function() {
3418
+ return Rc(function() {
3419
3419
  a = Xn(ns());
3420
3420
  }), i = e.call(this, a) || this, t || Fc(i), i;
3421
3421
  }
@@ -3447,7 +3447,7 @@ try {
3447
3447
  Oe && va(Oe) ? Js = Oe : Oe && "default" in Oe && va(Oe.default) && (Js = Oe.default);
3448
3448
  } catch {
3449
3449
  }
3450
- var Ve = null, ze = null, Rt = !0, Wn = "__composition_api_installed__";
3450
+ var Ve = null, ze = null, Gt = !0, Wn = "__composition_api_installed__";
3451
3451
  function va(e) {
3452
3452
  return e && Pe(e) && e.name === "Vue";
3453
3453
  }
@@ -3461,24 +3461,24 @@ function zn() {
3461
3461
  var e = Ve || Js;
3462
3462
  return process.env.NODE_ENV !== "production" && Ai(e, "No vue dependency found."), e;
3463
3463
  }
3464
- function Rc(e) {
3464
+ function Gc(e) {
3465
3465
  process.env.NODE_ENV !== "production" && Ve && e.__proto__ !== Ve.__proto__ && H("[vue-composition-api] another instance of Vue installed"), Ve = e, Object.defineProperty(e, Wn, {
3466
3466
  configurable: !0,
3467
3467
  writable: !0,
3468
3468
  value: !0
3469
3469
  });
3470
3470
  }
3471
- function Gc(e) {
3472
- var s = Rt;
3473
- Rt = !1;
3471
+ function Rc(e) {
3472
+ var s = Gt;
3473
+ Gt = !1;
3474
3474
  try {
3475
3475
  e();
3476
3476
  } finally {
3477
- Rt = s;
3477
+ Gt = s;
3478
3478
  }
3479
3479
  }
3480
3480
  function ya(e) {
3481
- if (!!Rt) {
3481
+ if (!!Gt) {
3482
3482
  var s = ze;
3483
3483
  s == null || s.scope.off(), ze = e, ze == null || ze.scope.on();
3484
3484
  }
@@ -3509,24 +3509,24 @@ function Xt(e) {
3509
3509
  "slots"
3510
3510
  ];
3511
3511
  return t.forEach(function(i) {
3512
- G(s, i, {
3512
+ R(s, i, {
3513
3513
  get: function() {
3514
3514
  return e["$".concat(i)];
3515
3515
  }
3516
3516
  });
3517
- }), G(s, "isMounted", {
3517
+ }), R(s, "isMounted", {
3518
3518
  get: function() {
3519
3519
  return e._isMounted;
3520
3520
  }
3521
- }), G(s, "isUnmounted", {
3521
+ }), R(s, "isUnmounted", {
3522
3522
  get: function() {
3523
3523
  return e._isDestroyed;
3524
3524
  }
3525
- }), G(s, "isDeactivated", {
3525
+ }), R(s, "isDeactivated", {
3526
3526
  get: function() {
3527
3527
  return e._inactive;
3528
3528
  }
3529
- }), G(s, "emitted", {
3529
+ }), R(s, "emitted", {
3530
3530
  get: function() {
3531
3531
  return e._events;
3532
3532
  }
@@ -3541,7 +3541,7 @@ function Ca(e) {
3541
3541
  var Jc = typeof Symbol < "u" && Ca(Symbol) && typeof Reflect < "u" && Ca(Reflect.ownKeys), et = function(e) {
3542
3542
  return e;
3543
3543
  };
3544
- function G(e, s, t) {
3544
+ function R(e, s, t) {
3545
3545
  var i = t.get, a = t.set;
3546
3546
  Object.defineProperty(e, s, {
3547
3547
  enumerable: !0,
@@ -3644,7 +3644,7 @@ function Xc(e, s, t) {
3644
3644
  var $n = function() {
3645
3645
  function e(s) {
3646
3646
  var t = s.get, i = s.set;
3647
- G(this, "value", {
3647
+ R(this, "value", {
3648
3648
  get: t,
3649
3649
  set: i
3650
3650
  });
@@ -3719,7 +3719,7 @@ function sr(e, s, t) {
3719
3719
  return;
3720
3720
  i = n.get, a = n.set, (!i || a) && arguments.length === 2 && (t = e[s]);
3721
3721
  }
3722
- qs(t), G(e, s, {
3722
+ qs(t), R(e, s, {
3723
3723
  get: function() {
3724
3724
  var o = i ? i.call(e) : t;
3725
3725
  return s !== ht && _(o) ? o.value : o;
@@ -3801,14 +3801,14 @@ var Ce = {
3801
3801
  };
3802
3802
  function np(e, s, t) {
3803
3803
  var i = e.$options.props;
3804
- !(s in e) && !(i && oe(i, s)) ? (_(t) ? G(e, s, {
3804
+ !(s in e) && !(i && oe(i, s)) ? (_(t) ? R(e, s, {
3805
3805
  get: function() {
3806
3806
  return t.value;
3807
3807
  },
3808
3808
  set: function(a) {
3809
3809
  t.value = a;
3810
3810
  }
3811
- }) : G(e, s, {
3811
+ }) : R(e, s, {
3812
3812
  get: function() {
3813
3813
  return tt(t) && t.__ob__.dep.depend(), t;
3814
3814
  },
@@ -3816,14 +3816,14 @@ function np(e, s, t) {
3816
3816
  t = a;
3817
3817
  }
3818
3818
  }), process.env.NODE_ENV !== "production" && e.$nextTick(function() {
3819
- Object.keys(e._data).indexOf(s) === -1 && (_(t) ? G(e._data, s, {
3819
+ Object.keys(e._data).indexOf(s) === -1 && (_(t) ? R(e._data, s, {
3820
3820
  get: function() {
3821
3821
  return t.value;
3822
3822
  },
3823
3823
  set: function(a) {
3824
3824
  t.value = a;
3825
3825
  }
3826
- }) : G(e._data, s, {
3826
+ }) : R(e._data, s, {
3827
3827
  get: function() {
3828
3828
  return t;
3829
3829
  },
@@ -3862,7 +3862,7 @@ function ka(e, s) {
3862
3862
  if (!(!a && !s)) {
3863
3863
  if (!a) {
3864
3864
  var n = ar({});
3865
- a = { ctx: s, data: n }, Ce.set(e, "attrBindings", a), G(s, "attrs", {
3865
+ a = { ctx: s, data: n }, Ce.set(e, "attrBindings", a), R(s, "attrs", {
3866
3866
  get: function() {
3867
3867
  return a == null ? void 0 : a.data;
3868
3868
  },
@@ -3872,7 +3872,7 @@ function ka(e, s) {
3872
3872
  });
3873
3873
  }
3874
3874
  var r = e.$attrs, o = function(m) {
3875
- oe(a.data, m) || G(a.data, m, {
3875
+ oe(a.data, m) || R(a.data, m, {
3876
3876
  get: function() {
3877
3877
  return e.$attrs[m];
3878
3878
  }
@@ -4019,7 +4019,7 @@ function op(e) {
4019
4019
  ], p = ["emit"];
4020
4020
  return l.forEach(function(h) {
4021
4021
  var m = "$".concat(h);
4022
- G(o, h, {
4022
+ R(o, h, {
4023
4023
  get: function() {
4024
4024
  return r[m];
4025
4025
  },
@@ -4029,7 +4029,7 @@ function op(e) {
4029
4029
  });
4030
4030
  }), ka(r, o), p.forEach(function(h) {
4031
4031
  var m = "$".concat(h);
4032
- G(o, h, {
4032
+ R(o, h, {
4033
4033
  get: function() {
4034
4034
  return function() {
4035
4035
  for (var v = [], I = 0; I < arguments.length; I++)
@@ -4060,7 +4060,7 @@ function lp(e) {
4060
4060
  return function(a, n) {
4061
4061
  return nr(Pe(s) ? s(a, n) || {} : void 0, Pe(t) ? t(a, n) || {} : void 0);
4062
4062
  };
4063
- }, Rc(e), op(e);
4063
+ }, Gc(e), op(e);
4064
4064
  }
4065
4065
  var rr = {
4066
4066
  install: function(e) {
@@ -5187,7 +5187,7 @@ const Qp = /* @__PURE__ */ function() {
5187
5187
  }
5188
5188
  }
5189
5189
  };
5190
- var Rp = function() {
5190
+ var Gp = function() {
5191
5191
  var e = this, s = e.$createElement, t = e._self._c || s;
5192
5192
  return e.show ? t("div", [e.statusTips ? t("div", {
5193
5193
  staticClass: "top-tipss",
@@ -5227,12 +5227,12 @@ var Rp = function() {
5227
5227
  staticClass: "top-tipss-mask",
5228
5228
  style: e.show && e.statusTips ? "visibility: visible; opacity: .7;" : "visibility: hidden; opacity: 0;"
5229
5229
  })]) : e._e();
5230
- }, Gp = [];
5230
+ }, Rp = [];
5231
5231
  const Oa = {};
5232
5232
  var _p = /* @__PURE__ */ P(
5233
5233
  Vp,
5234
- Rp,
5235
5234
  Gp,
5235
+ Rp,
5236
5236
  !1,
5237
5237
  Jp,
5238
5238
  "14feaea8",
@@ -7938,10 +7938,10 @@ function Vu(e) {
7938
7938
  for (let s in Va)
7939
7939
  this[s] = Va[s];
7940
7940
  }
7941
- const Ru = /* @__PURE__ */ function() {
7941
+ const Gu = /* @__PURE__ */ function() {
7942
7942
  return Uu.exports;
7943
7943
  }();
7944
- var Gu = function() {
7944
+ var Ru = function() {
7945
7945
  var e = this, s = e.$createElement, t = e._self._c || s;
7946
7946
  return t("div", {
7947
7947
  staticClass: "sign-container",
@@ -8043,7 +8043,7 @@ const Ju = {
8043
8043
  startDrawing(e) {
8044
8044
  if (this.$refs.canvasRef.getContext) {
8045
8045
  this.isDrawing = !0, this.currentPath = [];
8046
- const s = this.$refs.canvasRef.getBoundingClientRect(), t = (e.touches[0].clientX - s.left) * (this.$refs.canvasRef.width / s.width) / window.devicePixelRatio, i = (e.touches[0].clientY - s.top) * (this.$refs.canvasRef.height / s.height) / window.devicePixelRatio;
8046
+ const s = this.$refs.canvasRef.getBoundingClientRect(), t = (e.touches[0].clientX - s.left) * (this.$refs.canvasRef.width / s.width) / 2, i = (e.touches[0].clientY - s.top) * (this.$refs.canvasRef.height / s.height) / 2;
8047
8047
  this.ctx.beginPath(), this.ctx.moveTo(t, i), this.currentPath.push({ x: t, y: i });
8048
8048
  } else
8049
8049
  this.isDrawing = !0, this.currentPath = [], this.currentPath.push({ x: e.touches[0].x, y: e.touches[0].y });
@@ -8051,7 +8051,7 @@ const Ju = {
8051
8051
  draw(e) {
8052
8052
  if (!!this.isDrawing)
8053
8053
  if (this.$refs.canvasRef.getContext && this.currentPath.length > 0) {
8054
- const s = this.$refs.canvasRef.getBoundingClientRect(), t = (e.touches[0].clientX - s.left) * (this.$refs.canvasRef.width / s.width) / window.devicePixelRatio, i = (e.touches[0].clientY - s.top) * (this.$refs.canvasRef.height / s.height) / window.devicePixelRatio;
8054
+ const s = this.$refs.canvasRef.getBoundingClientRect(), t = (e.touches[0].clientX - s.left) * (this.$refs.canvasRef.width / s.width) / 2, i = (e.touches[0].clientY - s.top) * (this.$refs.canvasRef.height / s.height) / 2;
8055
8055
  this.ctx.lineWidth = 3, this.ctx.lineCap = "round", this.ctx.lineJoin = "round", this.ctx.strokeStyle = "#000000", this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.$refs.canvasRef.style.imageRendering = "auto", this.ctx.lineTo(t, i), this.ctx.stroke(), this.currentPath.push({ x: t, y: i });
8056
8056
  } else
8057
8057
  this.currentPath.length > 0 && (this.currentPath.push({ x: e.touches[0].x, y: e.touches[0].y }), this.ctx.moveTo(this.currentPath[this.currentPath.length - 2].x, this.currentPath[this.currentPath.length - 2].y), this.ctx.lineTo(this.currentPath[this.currentPath.length - 1].x, this.currentPath[this.currentPath.length - 1].y), this.ctx.setLineWidth(3), this.ctx.lineCap = "round", this.ctx.lineJoin = "round", this.ctx.setStrokeStyle("#000"), this.ctx.stroke(), this.ctx.draw(!0));
@@ -8083,10 +8083,10 @@ const Ju = {
8083
8083
  if (console.log("File Size (KB):", n), n <= 64)
8084
8084
  return console.log("finallySize: ", n), this.$refs.canvasRef.toDataURL("image/jpeg", s);
8085
8085
  if (n > 200)
8086
- this.$emit("validateFail", "\u8BF7\u7B80\u5316\u7B7E\u5B57!");
8087
- else {
8086
+ return this.$emit("validateFail", "\u8BF7\u7B80\u5316\u7B7E\u5B57!"), null;
8087
+ {
8088
8088
  let r, o;
8089
- return s - 0.05 > 0 ? (r = s - 0.05, o = this.$refs.canvasRef.toDataURL("image/jpeg", r), this.fixAccuracy(o, r)) : (r = s / 2, o = this.$refs.canvasRef.toDataURL("image/jpeg", r), this.fixAccuracy(o, r));
8089
+ return s - 0.05 > 0 ? (console.log(s, "File Size (KB):", n), r = s - 0.05, o = this.$refs.canvasRef.toDataURL("image/jpeg", r), this.fixAccuracy(o, r)) : (console.log(s, "File Size (KB):", n), r = s / 2, o = this.$refs.canvasRef.toDataURL("image/jpeg", r), this.fixAccuracy(o, r));
8090
8090
  }
8091
8091
  },
8092
8092
  saveSignature() {
@@ -8104,7 +8104,11 @@ const Ju = {
8104
8104
  const a = new Blob([i], { type: "text/plain" }), o = new File([a], "text.txt").size / 1024;
8105
8105
  console.log("\u521D\u59CB\u957F\u5EA6", o);
8106
8106
  let l = 64 * t / o, p = this.$refs.canvasRef.toDataURL("image/jpeg", l);
8107
- i = this.fixAccuracy(p, l), i || this.$emit("validateFail", "\u8BF7\u7B80\u5316\u7B7E\u5B57!"), this.signatureImage = i || "";
8107
+ if (i = this.fixAccuracy(p, l), !i) {
8108
+ this.savaClock = !1, this.$emit("validateFail", "\u8BF7\u7B80\u5316\u7B7E\u5B57!");
8109
+ return;
8110
+ }
8111
+ this.signatureImage = i || "";
8108
8112
  let h = JSON.parse(localStorage.getItem("signaturesArr")) || [];
8109
8113
  h.unshift(this.signatureImage), this.historyPics = h.slice(0, 3), localStorage.setItem("signaturesArr", JSON.stringify(this.historyPics)), this.savaClock = !1, this.$emit("saveSignature", this.signatureImage, !0);
8110
8114
  } else
@@ -8145,7 +8149,7 @@ const Ju = {
8145
8149
  if (t) {
8146
8150
  let i = document.getElementById("canvas-id");
8147
8151
  const a = t.offsetWidth, n = t.offsetHeight - this.actionHeight - this.historyHeight;
8148
- i.style.width = `${a}px`, i.style.height = `${n}px`, i.width = a * window.devicePixelRatio, i.height = n * window.devicePixelRatio, this.ctx = this.$refs.canvasRef.getContext("2d"), this.ctx.scale(window.devicePixelRatio, window.devicePixelRatio), this.ctx.fillStyle = "#fff", this.ctx.fillRect(0, 0, i.width, i.height);
8152
+ i.style.width = `${a}px`, i.style.height = `${n}px`, i.width = a * 2, i.height = n * 2, this.ctx = this.$refs.canvasRef.getContext("2d"), this.ctx.scale(2, 2), this.ctx.fillStyle = "#fff", this.ctx.fillRect(0, 0, i.width, i.height);
8149
8153
  }
8150
8154
  console.log("first"), console.log(window.devicePixelRatio);
8151
8155
  } else {
@@ -8158,20 +8162,20 @@ const Ju = {
8158
8162
  beforeDestroy() {
8159
8163
  document.removeEventListener("touchmove", this.disableWeChatScroll);
8160
8164
  }
8161
- }, Ra = {};
8165
+ }, Ga = {};
8162
8166
  var qu = /* @__PURE__ */ P(
8163
8167
  Ju,
8164
- Gu,
8168
+ Ru,
8165
8169
  _u,
8166
8170
  !1,
8167
8171
  ju,
8168
- "384b9724",
8172
+ "6513c363",
8169
8173
  null,
8170
8174
  null
8171
8175
  );
8172
8176
  function ju(e) {
8173
- for (let s in Ra)
8174
- this[s] = Ra[s];
8177
+ for (let s in Ga)
8178
+ this[s] = Ga[s];
8175
8179
  }
8176
8180
  const Ku = /* @__PURE__ */ function() {
8177
8181
  return qu.exports;
@@ -8419,7 +8423,7 @@ const Wu = {
8419
8423
  TopPopup: $,
8420
8424
  departPerson: ke,
8421
8425
  MsgList: kt,
8422
- TreePerson: Ru,
8426
+ TreePerson: Gu,
8423
8427
  TopSign: Ku
8424
8428
  },
8425
8429
  computed: {
@@ -8854,7 +8858,7 @@ const Wu = {
8854
8858
  this.handleTips(e, !1, "success");
8855
8859
  }
8856
8860
  }
8857
- }, Ga = {};
8861
+ }, Ra = {};
8858
8862
  var zu = /* @__PURE__ */ P(
8859
8863
  Wu,
8860
8864
  Yu,
@@ -8866,8 +8870,8 @@ var zu = /* @__PURE__ */ P(
8866
8870
  null
8867
8871
  );
8868
8872
  function Zu(e) {
8869
- for (let s in Ga)
8870
- this[s] = Ga[s];
8873
+ for (let s in Ra)
8874
+ this[s] = Ra[s];
8871
8875
  }
8872
8876
  const Xu = /* @__PURE__ */ function() {
8873
8877
  return zu.exports;