@10yun/open-sdk 0.3.119 → 0.3.120

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.
@@ -1,5 +1,5 @@
1
1
  import { defineStore as Le, mapState as Re } from "pinia";
2
- import { effectScope as xo, ref as Vo, shallowRef as Bo, computed as pt, watch as Pn, isRef as Go, defineComponent as ta, getCurrentInstance as Nt, h as Ir, Fragment as le, inject as $o, onMounted as Wo, onUnmounted as Yo, createVNode as b, Text as Ho, resolveComponent as L, createBlock as $, openBlock as F, withCtx as C, createElementVNode as D, createElementBlock as W, renderList as Ne, createTextVNode as V, toDisplayString as z, createCommentVNode as te, Transition as Ko, normalizeClass as Kt, resolveDynamicComponent as jo, withDirectives as Rt, withModifiers as qo, normalizeStyle as Fn, vShow as Lr, mergeProps as Xo, renderSlot as Qo, createSlots as Jo, resolveDirective as na } from "vue";
2
+ import { effectScope as xo, ref as Vo, shallowRef as Bo, computed as Et, watch as Pn, isRef as Go, defineComponent as ta, getCurrentInstance as Nt, h as Ir, Fragment as le, inject as $o, onMounted as Wo, onUnmounted as Yo, createVNode as b, Text as Ho, resolveComponent as L, createBlock as $, openBlock as F, withCtx as C, createElementVNode as D, createElementBlock as W, renderList as Ne, createTextVNode as V, toDisplayString as z, createCommentVNode as te, Transition as Ko, normalizeClass as Kt, resolveDynamicComponent as jo, withDirectives as Rt, withModifiers as qo, normalizeStyle as Fn, vShow as Lr, mergeProps as Xo, renderSlot as Qo, createSlots as Jo, resolveDirective as na } from "vue";
3
3
  import zo, { ElMessage as Na, ElMessageBox as Zo, ElNotification as es } from "element-plus";
4
4
  import * as ts from "@element-plus/icons-vue";
5
5
  import "element-plus/dist/index.css";
@@ -151,10 +151,10 @@ function ls() {
151
151
  return;
152
152
  }
153
153
  }
154
- var lt = ls();
154
+ var ct = ls();
155
155
  function cs() {
156
156
  try {
157
- if (!lt || !lt.open)
157
+ if (!ct || !ct.open)
158
158
  return !1;
159
159
  var e = typeof openDatabase < "u" && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), t = typeof fetch == "function" && fetch.toString().indexOf("[native code") !== -1;
160
160
  return (!e || t) && typeof indexedDB < "u" && // some outdated implementations of IDB that appear on Samsung
@@ -190,7 +190,7 @@ function Q(e, t) {
190
190
  }
191
191
  );
192
192
  }
193
- function ot(e, t, n) {
193
+ function st(e, t, n) {
194
194
  typeof t == "function" && e.then(t), typeof n == "function" && e.catch(n);
195
195
  }
196
196
  function Me(e) {
@@ -255,7 +255,7 @@ function Dr(e, t) {
255
255
  return n(e.db);
256
256
  var a = [e.name];
257
257
  t && a.push(e.version);
258
- var o = lt.open.apply(lt, a);
258
+ var o = ct.open.apply(ct, a);
259
259
  t && (o.onupgradeneeded = function(s) {
260
260
  var l = o.result;
261
261
  try {
@@ -319,7 +319,7 @@ function hs(e) {
319
319
  if (r && r.dbReady)
320
320
  return r.dbReady;
321
321
  });
322
- return ot(n, e, e), n;
322
+ return st(n, e, e), n;
323
323
  }
324
324
  function gs(e) {
325
325
  jt(e);
@@ -650,7 +650,7 @@ function Cs(e, t) {
650
650
  g._dbInfo.db = null, g._dbInfo.version = i;
651
651
  }
652
652
  return new U((d, g) => {
653
- const T = lt.open(e.name, i);
653
+ const T = ct.open(e.name, i);
654
654
  T.onerror = (p) => {
655
655
  T.result.close(), g(p);
656
656
  }, T.onupgradeneeded = () => {
@@ -679,7 +679,7 @@ function Cs(e, t) {
679
679
  d._dbInfo.db = null;
680
680
  }
681
681
  return new U((d, g) => {
682
- var T = lt.deleteDatabase(e.name);
682
+ var T = ct.deleteDatabase(e.name);
683
683
  T.onerror = () => {
684
684
  const p = T.result;
685
685
  p && p.close(), g(T.error);
@@ -1338,14 +1338,14 @@ const ri = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
1338
1338
  return !1;
1339
1339
  }, Xr = Array.isArray || function(e) {
1340
1340
  return Object.prototype.toString.call(e) === "[object Array]";
1341
- }, Et = {}, La = {}, it = {
1341
+ }, St = {}, La = {}, lt = {
1342
1342
  INDEXEDDB: Os,
1343
1343
  WEBSQL: Ws,
1344
1344
  LOCALSTORAGE: ai
1345
1345
  }, si = [
1346
- it.INDEXEDDB._driver,
1347
- it.WEBSQL._driver,
1348
- it.LOCALSTORAGE._driver
1346
+ lt.INDEXEDDB._driver,
1347
+ lt.WEBSQL._driver,
1348
+ lt.LOCALSTORAGE._driver
1349
1349
  ], Yt = ["dropInstance"], yn = [
1350
1350
  "clear",
1351
1351
  "getItem",
@@ -1387,10 +1387,10 @@ function Tn() {
1387
1387
  }
1388
1388
  class ca {
1389
1389
  constructor(t) {
1390
- for (let n in it)
1391
- if (it.hasOwnProperty(n)) {
1392
- const r = it[n], a = r._driver;
1393
- this[n] = a, Et[a] || this.defineDriver(r);
1390
+ for (let n in lt)
1391
+ if (lt.hasOwnProperty(n)) {
1392
+ const r = lt[n], a = r._driver;
1393
+ this[n] = a, St[a] || this.defineDriver(r);
1394
1394
  }
1395
1395
  this._defaultConfig = Tn({}, ii), this._config = Tn({}, this._defaultConfig, t), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(() => {
1396
1396
  });
@@ -1456,29 +1456,29 @@ class ca {
1456
1456
  }
1457
1457
  })();
1458
1458
  const u = function(d) {
1459
- Et[l], Et[l] = t, La[l] = d, o();
1459
+ St[l], St[l] = t, La[l] = d, o();
1460
1460
  };
1461
1461
  "_support" in t ? t._support && typeof t._support == "function" ? t._support().then(u, s) : u(!!t._support) : u(!0);
1462
1462
  } catch (l) {
1463
1463
  s(l);
1464
1464
  }
1465
1465
  });
1466
- return ot(a, n, r), a;
1466
+ return st(a, n, r), a;
1467
1467
  }
1468
1468
  driver() {
1469
1469
  return this._driver || null;
1470
1470
  }
1471
1471
  getDriver(t, n, r) {
1472
- const a = Et[t] ? U.resolve(Et[t]) : U.reject(new Error("Driver not found."));
1473
- return ot(a, n, r), a;
1472
+ const a = St[t] ? U.resolve(St[t]) : U.reject(new Error("Driver not found."));
1473
+ return st(a, n, r), a;
1474
1474
  }
1475
1475
  getSerializer(t) {
1476
1476
  const n = U.resolve(la);
1477
- return ot(n, t), n;
1477
+ return st(n, t), n;
1478
1478
  }
1479
1479
  ready(t) {
1480
1480
  const n = this, r = n._driverSet.then(() => (n._ready === null && (n._ready = n._initDriver()), n._ready));
1481
- return ot(r, t, t), r;
1481
+ return st(r, t, t), r;
1482
1482
  }
1483
1483
  setDriver(t, n, r) {
1484
1484
  const a = this;
@@ -1517,7 +1517,7 @@ class ca {
1517
1517
  s();
1518
1518
  const f = new Error("No available storage method found.");
1519
1519
  return a._driverSet = U.reject(f), a._driverSet;
1520
- }), ot(this._driverSet, n, r), this._driverSet;
1520
+ }), st(this._driverSet, n, r), this._driverSet;
1521
1521
  }
1522
1522
  supports(t) {
1523
1523
  return !!La[t];
@@ -1690,7 +1690,7 @@ function mi(e = "/", t = null, n = {}) {
1690
1690
  e == "/" && (e = "/" + (window.localStorage.getItem("__syCacheMicroCurrSign__") || "base")), window.history.pushState(n, t, e);
1691
1691
  }
1692
1692
  var At = {};
1693
- function St(e) {
1693
+ function bt(e) {
1694
1694
  if (!pe.__POWERED_BY_QIANKUN__)
1695
1695
  return !1;
1696
1696
  if (!Object.prototype.toString.call(e) === "[object Object]")
@@ -1763,24 +1763,24 @@ const Ct = Le("cloudSdkQiankunStore", {
1763
1763
  async init() {
1764
1764
  },
1765
1765
  QK_SEND_LOGIN_MSG() {
1766
- St({
1766
+ bt({
1767
1767
  COMM_TYPE: "LoginSucc"
1768
1768
  });
1769
1769
  },
1770
1770
  QK_SEND_LOGOUT_MSG() {
1771
- St({
1771
+ bt({
1772
1772
  COMM_TYPE: "LoginLogout"
1773
1773
  });
1774
1774
  },
1775
1775
  QK_SEND_MSG_REG_SUBMENU(e) {
1776
- St({
1776
+ bt({
1777
1777
  COMM_TYPE: "MicroRegisterMenu",
1778
1778
  COMM_TYPESTR: "注册子应用菜单",
1779
1779
  data: e || []
1780
1780
  });
1781
1781
  },
1782
1782
  QK_SEND_MSG_ROUTER_BEFORE(e) {
1783
- St({
1783
+ bt({
1784
1784
  COMM_TYPE: "routerBefore",
1785
1785
  routerBase: e
1786
1786
  // toData: toPath
@@ -1799,7 +1799,7 @@ const Ct = Le("cloudSdkQiankunStore", {
1799
1799
  },
1800
1800
  // 发送消息给主应用
1801
1801
  QIANKUN_SEND_MSG_TO_MAIN(e, t) {
1802
- St({
1802
+ bt({
1803
1803
  COMM_TYPE: e,
1804
1804
  data: t || ""
1805
1805
  });
@@ -1840,7 +1840,7 @@ const Ei = /\{([0-9a-zA-Z]+)\}/g;
1840
1840
  function Zt(e, ...t) {
1841
1841
  return t.length === 1 && H(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ei, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
1842
1842
  }
1843
- const we = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Si = (e, t, n) => bi({ l: e, k: t, s: n }), bi = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), vi = (e) => fa(e) === "[object Date]", ct = (e) => fa(e) === "[object RegExp]", en = (e) => G(e) && Object.keys(e).length === 0, ce = Object.assign, yi = Object.create, X = (e = null) => yi(e);
1843
+ const we = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Si = (e, t, n) => bi({ l: e, k: t, s: n }), bi = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), vi = (e) => fa(e) === "[object Date]", ut = (e) => fa(e) === "[object RegExp]", en = (e) => G(e) && Object.keys(e).length === 0, ce = Object.assign, yi = Object.create, X = (e = null) => yi(e);
1844
1844
  let Da;
1845
1845
  const Qe = () => Da || (Da = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : X());
1846
1846
  function ka(e) {
@@ -1979,7 +1979,7 @@ const x = {
1979
1979
  // minimizer error messages
1980
1980
  [x.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
1981
1981
  };
1982
- function _t(e, t, n = {}) {
1982
+ function dt(e, t, n = {}) {
1983
1983
  const { domain: r, messages: a, args: o } = n, s = process.env.NODE_ENV !== "production" ? Zt((a || wi)[e] || "", ...o || []) : e, l = new SyntaxError(String(s));
1984
1984
  return l.code = e, t && (l.location = t), l.domain = r, l;
1985
1985
  }
@@ -2043,7 +2043,7 @@ function Bi(e, t = {}) {
2043
2043
  function u(_, h, N, ...M) {
2044
2044
  const ne = c();
2045
2045
  if (h.column += N, h.offset += N, f) {
2046
- const oe = n ? $n(ne.startLoc, h) : null, j = _t(_, oe, {
2046
+ const oe = n ? $n(ne.startLoc, h) : null, j = dt(_, oe, {
2047
2047
  domain: Vi,
2048
2048
  args: M
2049
2049
  });
@@ -2200,7 +2200,7 @@ function Bi(e, t = {}) {
2200
2200
  function De(_) {
2201
2201
  return ee(_, _n);
2202
2202
  }
2203
- function dt(_) {
2203
+ function mt(_) {
2204
2204
  let h = "", N = "";
2205
2205
  for (; h = fn(_); )
2206
2206
  N += h;
@@ -2240,7 +2240,7 @@ function Bi(e, t = {}) {
2240
2240
  function hn(_) {
2241
2241
  w(_);
2242
2242
  let h = "";
2243
- return _.currentChar() === "-" ? (_.next(), h += `-${dt(_)}`) : h += dt(_), _.currentChar() === ke && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h;
2243
+ return _.currentChar() === "-" ? (_.next(), h += `-${mt(_)}`) : h += mt(_), _.currentChar() === ke && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h;
2244
2244
  }
2245
2245
  function gn(_) {
2246
2246
  return _ !== Fa && _ !== fe;
@@ -2303,7 +2303,7 @@ function Bi(e, t = {}) {
2303
2303
  };
2304
2304
  return h("");
2305
2305
  }
2306
- function mt(_) {
2306
+ function ht(_) {
2307
2307
  w(_);
2308
2308
  const h = T(
2309
2309
  _,
@@ -2312,7 +2312,7 @@ function Bi(e, t = {}) {
2312
2312
  );
2313
2313
  return w(_), h;
2314
2314
  }
2315
- function ht(_, h) {
2315
+ function gt(_, h) {
2316
2316
  let N = null;
2317
2317
  switch (_.currentChar()) {
2318
2318
  case "{":
@@ -2334,9 +2334,9 @@ function Bi(e, t = {}) {
2334
2334
  default: {
2335
2335
  let ne = !0, oe = !0, j = !0;
2336
2336
  if (re(_))
2337
- return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N = d(h, 1, mt(_)), h.braceNest = 0, h.inLinked = !1, N;
2337
+ return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, N;
2338
2338
  if (h.braceNest > 0 && (h.currentType === 4 || h.currentType === 5 || h.currentType === 6))
2339
- return u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0, gt(_, h);
2339
+ return u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0, pt(_, h);
2340
2340
  if (ne = S(_, h))
2341
2341
  return N = d(h, 4, mn(_)), w(_), N;
2342
2342
  if (oe = y(_, h))
@@ -2377,21 +2377,21 @@ function Bi(e, t = {}) {
2377
2377
  /* TokenChars.LinkedDelimiter */
2378
2378
  );
2379
2379
  default:
2380
- return re(_) ? (M = d(h, 1, mt(_)), h.braceNest = 0, h.inLinked = !1, M) : R(_, h) || B(_, h) ? (w(_), He(_, h)) : A(_, h) ? (w(_), d(h, 11, Sn(_))) : Y(_, h) ? (w(_), ne === "{" ? ht(_, h) || M : d(h, 10, bn(_))) : (N === 7 && u(x.INVALID_LINKED_FORMAT, o(), 0), h.braceNest = 0, h.inLinked = !1, gt(_, h));
2380
+ return re(_) ? (M = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, M) : R(_, h) || B(_, h) ? (w(_), He(_, h)) : A(_, h) ? (w(_), d(h, 11, Sn(_))) : Y(_, h) ? (w(_), ne === "{" ? gt(_, h) || M : d(h, 10, bn(_))) : (N === 7 && u(x.INVALID_LINKED_FORMAT, o(), 0), h.braceNest = 0, h.inLinked = !1, pt(_, h));
2381
2381
  }
2382
2382
  }
2383
- function gt(_, h) {
2383
+ function pt(_, h) {
2384
2384
  let N = {
2385
2385
  type: 13
2386
2386
  /* TokenTypes.EOF */
2387
2387
  };
2388
2388
  if (h.braceNest > 0)
2389
- return ht(_, h) || g(h);
2389
+ return gt(_, h) || g(h);
2390
2390
  if (h.inLinked)
2391
2391
  return He(_, h) || g(h);
2392
2392
  switch (_.currentChar()) {
2393
2393
  case "{":
2394
- return ht(_, h) || g(h);
2394
+ return gt(_, h) || g(h);
2395
2395
  case "}":
2396
2396
  return u(x.UNBALANCED_CLOSING_BRACE, o(), 0), _.next(), d(
2397
2397
  h,
@@ -2403,7 +2403,7 @@ function Bi(e, t = {}) {
2403
2403
  return He(_, h) || g(h);
2404
2404
  default: {
2405
2405
  if (re(_))
2406
- return N = d(h, 1, mt(_)), h.braceNest = 0, h.inLinked = !1, N;
2406
+ return N = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, N;
2407
2407
  if (de(_))
2408
2408
  return d(h, 0, dn(_));
2409
2409
  break;
@@ -2417,7 +2417,7 @@ function Bi(e, t = {}) {
2417
2417
  i,
2418
2418
  13
2419
2419
  /* TokenTypes.EOF */
2420
- ) : gt(r, i);
2420
+ ) : pt(r, i);
2421
2421
  }
2422
2422
  return {
2423
2423
  nextToken: vn,
@@ -2445,7 +2445,7 @@ function Yi(e = {}) {
2445
2445
  function r(m, E, S, y, ...k) {
2446
2446
  const R = m.currentPosition();
2447
2447
  if (R.offset += y, R.column += y, n) {
2448
- const A = t ? $n(S, R) : null, B = _t(E, A, {
2448
+ const A = t ? $n(S, R) : null, B = dt(E, A, {
2449
2449
  domain: Gi,
2450
2450
  args: k
2451
2451
  });
@@ -2664,24 +2664,24 @@ function Ua(e) {
2664
2664
  }
2665
2665
  }
2666
2666
  const qi = "minifier";
2667
- function st(e) {
2667
+ function it(e) {
2668
2668
  switch (e.t = e.type, e.type) {
2669
2669
  case 0: {
2670
2670
  const t = e;
2671
- st(t.body), t.b = t.body, delete t.body;
2671
+ it(t.body), t.b = t.body, delete t.body;
2672
2672
  break;
2673
2673
  }
2674
2674
  case 1: {
2675
2675
  const t = e, n = t.cases;
2676
2676
  for (let r = 0; r < n.length; r++)
2677
- st(n[r]);
2677
+ it(n[r]);
2678
2678
  t.c = n, delete t.cases;
2679
2679
  break;
2680
2680
  }
2681
2681
  case 2: {
2682
2682
  const t = e, n = t.items;
2683
2683
  for (let r = 0; r < n.length; r++)
2684
- st(n[r]);
2684
+ it(n[r]);
2685
2685
  t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
2686
2686
  break;
2687
2687
  }
@@ -2695,7 +2695,7 @@ function st(e) {
2695
2695
  }
2696
2696
  case 6: {
2697
2697
  const t = e;
2698
- st(t.key), t.k = t.key, delete t.key, t.modifier && (st(t.modifier), t.m = t.modifier, delete t.modifier);
2698
+ it(t.key), t.k = t.key, delete t.key, t.modifier && (it(t.modifier), t.m = t.modifier, delete t.modifier);
2699
2699
  break;
2700
2700
  }
2701
2701
  case 5: {
@@ -2710,7 +2710,7 @@ function st(e) {
2710
2710
  }
2711
2711
  default:
2712
2712
  if (process.env.NODE_ENV !== "production")
2713
- throw _t(x.UNHANDLED_MINIFIER_NODE_TYPE, null, {
2713
+ throw dt(x.UNHANDLED_MINIFIER_NODE_TYPE, null, {
2714
2714
  domain: qi,
2715
2715
  args: [e.type]
2716
2716
  });
@@ -2765,7 +2765,7 @@ function Ji(e, t) {
2765
2765
  e.push(`${n(
2766
2766
  "linked"
2767
2767
  /* HelperNameMap.LINKED */
2768
- )}(`), ut(e, t.key), t.modifier ? (e.push(", "), ut(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
2768
+ )}(`), ft(e, t.key), t.modifier ? (e.push(", "), ft(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
2769
2769
  }
2770
2770
  function zi(e, t) {
2771
2771
  const { helper: n, needIndent: r } = e;
@@ -2774,7 +2774,7 @@ function zi(e, t) {
2774
2774
  /* HelperNameMap.NORMALIZE */
2775
2775
  )}([`), e.indent(r());
2776
2776
  const a = t.items.length;
2777
- for (let o = 0; o < a && (ut(e, t.items[o]), o !== a - 1); o++)
2777
+ for (let o = 0; o < a && (ft(e, t.items[o]), o !== a - 1); o++)
2778
2778
  e.push(", ");
2779
2779
  e.deindent(r()), e.push("])");
2780
2780
  }
@@ -2786,15 +2786,15 @@ function Zi(e, t) {
2786
2786
  /* HelperNameMap.PLURAL */
2787
2787
  )}([`), e.indent(r());
2788
2788
  const a = t.cases.length;
2789
- for (let o = 0; o < a && (ut(e, t.cases[o]), o !== a - 1); o++)
2789
+ for (let o = 0; o < a && (ft(e, t.cases[o]), o !== a - 1); o++)
2790
2790
  e.push(", ");
2791
2791
  e.deindent(r()), e.push("])");
2792
2792
  }
2793
2793
  }
2794
2794
  function el(e, t) {
2795
- t.body ? ut(e, t.body) : e.push("null");
2795
+ t.body ? ft(e, t.body) : e.push("null");
2796
2796
  }
2797
- function ut(e, t) {
2797
+ function ft(e, t) {
2798
2798
  const { helper: n } = e;
2799
2799
  switch (t.type) {
2800
2800
  case 0:
@@ -2841,7 +2841,7 @@ function ut(e, t) {
2841
2841
  break;
2842
2842
  default:
2843
2843
  if (process.env.NODE_ENV !== "production")
2844
- throw _t(x.UNHANDLED_CODEGEN_NODE_TYPE, null, {
2844
+ throw dt(x.UNHANDLED_CODEGEN_NODE_TYPE, null, {
2845
2845
  domain: Xi,
2846
2846
  args: [t.type]
2847
2847
  });
@@ -2856,7 +2856,7 @@ const tl = (e, t = {}) => {
2856
2856
  breakLineCode: a,
2857
2857
  needIndent: o
2858
2858
  });
2859
- l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${_a(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "), ut(l, e), l.deindent(o), l.push("}"), delete e.helpers;
2859
+ l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${_a(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "), ft(l, e), l.deindent(o), l.push("}"), delete e.helpers;
2860
2860
  const { code: i, map: c } = l.context();
2861
2861
  return {
2862
2862
  ast: e,
@@ -2867,7 +2867,7 @@ const tl = (e, t = {}) => {
2867
2867
  };
2868
2868
  function nl(e, t = {}) {
2869
2869
  const n = ce({}, t), r = !!n.jit, a = !!n.minify, o = n.optimize == null ? !0 : n.optimize, l = Yi(n).parse(e);
2870
- return r ? (o && ji(l), a && st(l), { ast: l, code: "" }) : (Ki(l, n), tl(l, n));
2870
+ return r ? (o && ji(l), a && it(l), { ast: l, code: "" }) : (Ki(l, n), tl(l, n));
2871
2871
  }
2872
2872
  /*!
2873
2873
  * core-base v11.1.12
@@ -3070,7 +3070,7 @@ const _e = {
3070
3070
  NOT_SUPPORT_LOCALE_TYPE: 23
3071
3071
  }, bl = 24;
3072
3072
  function Fe(e) {
3073
- return _t(e, null, process.env.NODE_ENV !== "production" ? { messages: vl } : void 0);
3073
+ return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: vl } : void 0);
3074
3074
  }
3075
3075
  const vl = {
3076
3076
  [_e.INVALID_ARGUMENT]: "Invalid arguments",
@@ -3486,7 +3486,7 @@ const Wa = (e) => {
3486
3486
  }, $l = () => fo;
3487
3487
  let Ya = 0;
3488
3488
  function Wl(e = {}) {
3489
- const t = J(e.onWarn) ? e.onWarn : pi, n = P(e.version) ? e.version : Fl, r = P(e.locale) || J(e.locale) ? e.locale : Lt, a = J(r) ? Lt : r, o = ae(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = G(e.messages) ? e.messages : Cn(a), l = G(e.datetimeFormats) ? e.datetimeFormats : Cn(a), i = G(e.numberFormats) ? e.numberFormats : Cn(a), c = ce(X(), e.modifiers, Ml()), f = e.pluralRules || X(), u = J(e.missing) ? e.missing : null, d = K(e.missingWarn) || ct(e.missingWarn) ? e.missingWarn : !0, g = K(e.fallbackWarn) || ct(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, p = !!e.unresolving, w = J(e.postTranslation) ? e.postTranslation : null, m = G(e.processor) ? e.processor : null, E = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, y = J(e.messageCompiler) ? e.messageCompiler : io;
3489
+ const t = J(e.onWarn) ? e.onWarn : pi, n = P(e.version) ? e.version : Fl, r = P(e.locale) || J(e.locale) ? e.locale : Lt, a = J(r) ? Lt : r, o = ae(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = G(e.messages) ? e.messages : Cn(a), l = G(e.datetimeFormats) ? e.datetimeFormats : Cn(a), i = G(e.numberFormats) ? e.numberFormats : Cn(a), c = ce(X(), e.modifiers, Ml()), f = e.pluralRules || X(), u = J(e.missing) ? e.missing : null, d = K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, p = !!e.unresolving, w = J(e.postTranslation) ? e.postTranslation : null, m = G(e.processor) ? e.processor : null, E = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, y = J(e.messageCompiler) ? e.messageCompiler : io;
3490
3490
  process.env.NODE_ENV !== "production" && J(e.messageCompiler) && ua(ze(me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
3491
3491
  const k = J(e.messageResolver) ? e.messageResolver : lo || Dl, R = J(e.localeFallbacker) ? e.localeFallbacker : co || yl, A = H(e.fallbackContext) ? e.fallbackContext : void 0, B = e, Y = H(B.__datetimeFormatters) ? B.__datetimeFormatters : /* @__PURE__ */ new Map(), re = H(B.__numberFormatters) ? B.__numberFormatters : /* @__PURE__ */ new Map(), de = H(B.__meta) ? B.__meta : {};
3492
3492
  Ya++;
@@ -3540,7 +3540,7 @@ function pa(e, t, n, r, a) {
3540
3540
  } else
3541
3541
  return process.env.NODE_ENV !== "production" && _o(r, t) && s(ze(me.NOT_FOUND_KEY, { key: t, locale: n })), t;
3542
3542
  }
3543
- function bt(e, t, n) {
3543
+ function vt(e, t, n) {
3544
3544
  const r = e;
3545
3545
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
3546
3546
  }
@@ -4084,7 +4084,7 @@ const Z = {
4084
4084
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
4085
4085
  };
4086
4086
  function he(e, ...t) {
4087
- return _t(e, null, process.env.NODE_ENV !== "production" ? { messages: mc, args: t } : void 0);
4087
+ return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: mc, args: t } : void 0);
4088
4088
  }
4089
4089
  const mc = {
4090
4090
  [Z.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
@@ -4128,7 +4128,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
4128
4128
  [be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
4129
4129
  [be.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
4130
4130
  };
4131
- function ft(e, ...t) {
4131
+ function _t(e, ...t) {
4132
4132
  return Zt(hc[e], ...t);
4133
4133
  }
4134
4134
  function Dt(e) {
@@ -4145,7 +4145,7 @@ function Dt(e) {
4145
4145
  if (n[s] === "__proto__")
4146
4146
  throw new Error(`unsafe key: ${n[s]}`);
4147
4147
  if (n[s] in a || (a[n[s]] = X()), !H(a[n[s]])) {
4148
- process.env.NODE_ENV !== "production" && (ft(be.IGNORE_OBJ_FLATTEN, {
4148
+ process.env.NODE_ENV !== "production" && (_t(be.IGNORE_OBJ_FLATTEN, {
4149
4149
  key: n[s]
4150
4150
  }), void 0), o = !0;
4151
4151
  break;
@@ -4223,7 +4223,7 @@ function Sa(e = {}) {
4223
4223
  // prettier-ignore
4224
4224
  t && s ? t.fallbackLocale.value : P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
4225
4225
  ), c = o(Ea(l.value, e)), f = o(G(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), u = o(G(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
4226
- let d = t ? t.missingWarn : K(e.missingWarn) || ct(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : K(e.fallbackWarn) || ct(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, p = !!e.fallbackFormat, w = J(e.missing) ? e.missing : null, m = J(e.missing) ? ar(e.missing) : null, E = J(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
4226
+ let d = t ? t.missingWarn : K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, p = !!e.fallbackFormat, w = J(e.missing) ? e.missing : null, m = J(e.missing) ? ar(e.missing) : null, E = J(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
4227
4227
  const k = t ? t.modifiers : G(e.modifiers) ? e.modifiers : {};
4228
4228
  let R = e.pluralRules || t && t.pluralRules, A;
4229
4229
  A = (() => {
@@ -4250,7 +4250,7 @@ function Sa(e = {}) {
4250
4250
  v.datetimeFormats = f.value, v.numberFormats = u.value, v.__datetimeFormatters = G(A) ? A.__datetimeFormatters : void 0, v.__numberFormatters = G(A) ? A.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (v.__v_emitter = G(A) ? A.__v_emitter : void 0);
4251
4251
  const O = Wl(v);
4252
4252
  return r && Wa(O), O;
4253
- })(), bt(A, l.value, i.value);
4253
+ })(), vt(A, l.value, i.value);
4254
4254
  function Y() {
4255
4255
  return [
4256
4256
  l.value,
@@ -4260,17 +4260,17 @@ function Sa(e = {}) {
4260
4260
  u.value
4261
4261
  ];
4262
4262
  }
4263
- const re = pt({
4263
+ const re = Et({
4264
4264
  get: () => l.value,
4265
4265
  set: (v) => {
4266
4266
  A.locale = v, l.value = v;
4267
4267
  }
4268
- }), de = pt({
4268
+ }), de = Et({
4269
4269
  get: () => i.value,
4270
4270
  set: (v) => {
4271
- A.fallbackLocale = v, i.value = v, bt(A, l.value, v);
4271
+ A.fallbackLocale = v, i.value = v, vt(A, l.value, v);
4272
4272
  }
4273
- }), ee = pt(() => c.value), et = /* @__PURE__ */ pt(() => f.value), sn = /* @__PURE__ */ pt(() => u.value);
4273
+ }), ee = Et(() => c.value), et = /* @__PURE__ */ Et(() => f.value), sn = /* @__PURE__ */ Et(() => u.value);
4274
4274
  function ln() {
4275
4275
  return J(E) ? E : null;
4276
4276
  }
@@ -4297,7 +4297,7 @@ function Sa(e = {}) {
4297
4297
  if (q !== "translate exists" && // for not `te` (e.g `t`)
4298
4298
  ie(tt) && tt === tn || q === "translate exists" && !tt) {
4299
4299
  const [je, Uo] = O();
4300
- if (process.env.NODE_ENV !== "production" && t && P(je) && _n(q, Uo) && (T && (nn(g, je) || _o(d, je)) && (ft(be.FALLBACK_TO_ROOT, {
4300
+ if (process.env.NODE_ENV !== "production" && t && P(je) && _n(q, Uo) && (T && (nn(g, je) || _o(d, je)) && (_t(be.FALLBACK_TO_ROOT, {
4301
4301
  key: je,
4302
4302
  type: q
4303
4303
  }), void 0), process.env.NODE_ENV !== "production")) {
@@ -4316,14 +4316,14 @@ function Sa(e = {}) {
4316
4316
  throw he(Z.UNEXPECTED_RETURN_TYPE);
4317
4317
  }
4318
4318
  };
4319
- function dt(...v) {
4319
+ function mt(...v) {
4320
4320
  return De((O) => Reflect.apply(za, null, [O, ...v]), () => Kn(...v), "translate", (O) => Reflect.apply(O.t, O, [...v]), (O) => O, (O) => P(O));
4321
4321
  }
4322
4322
  function dn(...v) {
4323
4323
  const [O, q, se] = v;
4324
4324
  if (se && !H(se))
4325
4325
  throw he(Z.INVALID_ARGUMENT);
4326
- return dt(O, q, ce({ resolvedMessage: !0 }, se || {}));
4326
+ return mt(O, q, ce({ resolvedMessage: !0 }, se || {}));
4327
4327
  }
4328
4328
  function mn(...v) {
4329
4329
  return De((O) => Reflect.apply(Ka, null, [O, ...v]), () => Yn(...v), "datetime format", (O) => Reflect.apply(O.d, O, [...v]), () => Xt, (O) => P(O) || ae(O));
@@ -4368,7 +4368,7 @@ function Sa(e = {}) {
4368
4368
  return ye(Ke) || Se(Ke) || P(Ke);
4369
4369
  }, () => [v], "translate exists", (q) => Reflect.apply(q.te, q, [v, O]), gc, (q) => K(q));
4370
4370
  }
4371
- function mt(v) {
4371
+ function ht(v) {
4372
4372
  let O = null;
4373
4373
  const q = so(A, i.value, l.value);
4374
4374
  for (let se = 0; se < q.length; se++) {
@@ -4380,14 +4380,14 @@ function Sa(e = {}) {
4380
4380
  }
4381
4381
  return O;
4382
4382
  }
4383
- function ht(v) {
4384
- const O = mt(v);
4383
+ function gt(v) {
4384
+ const O = ht(v);
4385
4385
  return O ?? (t ? t.tm(v) || {} : {});
4386
4386
  }
4387
4387
  function He(v) {
4388
4388
  return c.value[v] || {};
4389
4389
  }
4390
- function gt(v, O) {
4390
+ function pt(v, O) {
4391
4391
  if (a) {
4392
4392
  const q = { [v]: O };
4393
4393
  for (const se in q)
@@ -4423,9 +4423,9 @@ function Sa(e = {}) {
4423
4423
  u.value[v] = ce(u.value[v] || {}, O), A.numberFormats = u.value, Xa(A, v, O);
4424
4424
  }
4425
4425
  nr++, t && Ce && (Pn(t.locale, (v) => {
4426
- s && (l.value = v, A.locale = v, bt(A, l.value, i.value));
4426
+ s && (l.value = v, A.locale = v, vt(A, l.value, i.value));
4427
4427
  }), Pn(t.fallbackLocale, (v) => {
4428
- s && (i.value = v, A.fallbackLocale = v, bt(A, l.value, i.value));
4428
+ s && (i.value = v, A.fallbackLocale = v, vt(A, l.value, i.value));
4429
4429
  }));
4430
4430
  const j = {
4431
4431
  id: nr,
@@ -4435,7 +4435,7 @@ function Sa(e = {}) {
4435
4435
  return s;
4436
4436
  },
4437
4437
  set inheritLocale(v) {
4438
- s = v, v && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, bt(A, l.value, i.value));
4438
+ s = v, v && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, vt(A, l.value, i.value));
4439
4439
  },
4440
4440
  get availableLocales() {
4441
4441
  return Object.keys(c.value).sort();
@@ -4486,9 +4486,9 @@ function Sa(e = {}) {
4486
4486
  set escapeParameter(v) {
4487
4487
  y = v, A.escapeParameter = v;
4488
4488
  },
4489
- t: dt,
4489
+ t: mt,
4490
4490
  getLocaleMessage: He,
4491
- setLocaleMessage: gt,
4491
+ setLocaleMessage: pt,
4492
4492
  mergeLocaleMessage: vn,
4493
4493
  getPostTranslationHandler: ln,
4494
4494
  setPostTranslationHandler: cn,
@@ -4496,7 +4496,7 @@ function Sa(e = {}) {
4496
4496
  setMissingHandler: fn,
4497
4497
  [vo]: Sn
4498
4498
  };
4499
- return j.datetimeFormats = et, j.numberFormats = sn, j.rt = dn, j.te = bn, j.tm = ht, j.d = mn, j.n = hn, j.getDateTimeFormat = _, j.setDateTimeFormat = h, j.mergeDateTimeFormat = N, j.getNumberFormat = M, j.setNumberFormat = ne, j.mergeNumberFormat = oe, j[yo] = n, j[qn] = Mt, j[Xn] = Ut, j[Qn] = En, process.env.NODE_ENV !== "production" && (j[Ze] = (v) => {
4499
+ return j.datetimeFormats = et, j.numberFormats = sn, j.rt = dn, j.te = bn, j.tm = gt, j.d = mn, j.n = hn, j.getDateTimeFormat = _, j.setDateTimeFormat = h, j.mergeDateTimeFormat = N, j.getNumberFormat = M, j.setNumberFormat = ne, j.mergeNumberFormat = oe, j[yo] = n, j[qn] = Mt, j[Xn] = Ut, j[Qn] = En, process.env.NODE_ENV !== "production" && (j[Ze] = (v) => {
4500
4500
  A.__v_emitter = v;
4501
4501
  }, j[wt] = () => {
4502
4502
  A.__v_emitter = void 0;
@@ -4763,7 +4763,7 @@ function wc(e, t) {
4763
4763
  }
4764
4764
  }
4765
4765
  function Dc(e) {
4766
- const t = P(e.locale) ? e.locale : Lt, n = P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = J(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) || ct(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = K(e.silentFallbackWarn) || ct(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = K(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = G(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = J(e.postTranslation) ? e.postTranslation : void 0, u = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, g = K(e.sync) ? e.sync : !0;
4766
+ const t = P(e.locale) ? e.locale : Lt, n = P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = J(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) || ut(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = K(e.silentFallbackWarn) || ut(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = K(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = G(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = J(e.postTranslation) ? e.postTranslation : void 0, u = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, g = K(e.sync) ? e.sync : !0;
4767
4767
  let T = e.messages;
4768
4768
  if (G(e.sharedMessages)) {
4769
4769
  const k = e.sharedMessages;
@@ -5138,7 +5138,7 @@ function Uc(e, t) {
5138
5138
  }
5139
5139
  function xc(e) {
5140
5140
  const t = (s) => {
5141
- process.env.NODE_ENV !== "production" && ua(ft(be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
5141
+ process.env.NODE_ENV !== "production" && ua(_t(be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
5142
5142
  const { instance: l, value: i } = s;
5143
5143
  if (!l || !l.$)
5144
5144
  throw he(Z.UNEXPECTED_ERROR);
@@ -5193,7 +5193,7 @@ function Vc(e, t, ...n) {
5193
5193
  const Bc = /* @__PURE__ */ we("global-vue-i18n");
5194
5194
  function Gc(e = {}) {
5195
5195
  const t = __VUE_I18N_LEGACY_API__ && K(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
5196
- process.env.NODE_ENV !== "production" && t && ua(ft(be.DEPRECATE_LEGACY_MODE));
5196
+ process.env.NODE_ENV !== "production" && t && ua(_t(be.DEPRECATE_LEGACY_MODE));
5197
5197
  const n = K(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, o] = $c(e, t), s = /* @__PURE__ */ we(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
5198
5198
  function l(u) {
5199
5199
  return r.get(u) || null;
@@ -5263,7 +5263,7 @@ function ya(e = {}) {
5263
5263
  return Ao(r, e, a), r;
5264
5264
  if (o === "parent") {
5265
5265
  let i = Kc(n, t, e.__useComponent);
5266
- return i == null && (process.env.NODE_ENV !== "production" && (ft(be.NOT_FOUND_PARENT_SCOPE), void 0), i = r), i;
5266
+ return i == null && (process.env.NODE_ENV !== "production" && (_t(be.NOT_FOUND_PARENT_SCOPE), void 0), i = r), i;
5267
5267
  }
5268
5268
  const s = n;
5269
5269
  let l = s.__getInstance(t);
@@ -5271,7 +5271,7 @@ function ya(e = {}) {
5271
5271
  const i = ce({}, e);
5272
5272
  "__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), l = Sa(i), s.__composerExtend && (l[Jn] = s.__composerExtend(l)), qc(s, t, l), s.__setInstance(t, l);
5273
5273
  } else
5274
- process.env.NODE_ENV !== "production" && o === "local" && (ft(be.DUPLICATE_USE_I18N_CALLING), void 0);
5274
+ process.env.NODE_ENV !== "production" && o === "local" && (_t(be.DUPLICATE_USE_I18N_CALLING), void 0);
5275
5275
  return l;
5276
5276
  }
5277
5277
  function $c(e, t) {
@@ -6229,7 +6229,7 @@ const ue = new Proxy(
6229
6229
  function ea(e) {
6230
6230
  return typeof e == "string" && e.trim() !== "" && e !== "undefined";
6231
6231
  }
6232
- const xe = "syCacheAppInfo", Ve = "syCacheAppToken", vt = "syCacheAppJwt", yt = "syCacheAppRbac", Er = {
6232
+ const xe = "syCacheAppInfo", Ve = "syCacheAppToken", yt = "syCacheAppJwt", ot = "syCacheAppRbac", Er = {
6233
6233
  nickname: "",
6234
6234
  staff_nickname: "",
6235
6235
  id: 0,
@@ -6262,7 +6262,7 @@ const Te = Le("cloudSdkAccountStore", {
6262
6262
  // 账号信息
6263
6263
  accountInfo: I.localGet(xe) || {},
6264
6264
  accountToken: I.localGet(Ve) || "",
6265
- accountJwt: I.localGet(vt) || ""
6265
+ accountJwt: I.localGet(yt) || ""
6266
6266
  }),
6267
6267
  getters: {
6268
6268
  cacheBizsId: (e) => {
@@ -6293,14 +6293,12 @@ const Te = Le("cloudSdkAccountStore", {
6293
6293
  }
6294
6294
  },
6295
6295
  actions: {
6296
- init() {
6296
+ async init() {
6297
6297
  const e = cvUtils.urlGetParameterAll();
6298
- e.token && I.localSet("ACC_TOKEN_CACHE_KEY", e.token), this.SA_ACCOUNT_RBAC_REFRESH(), this.accountIsLogin ? this.SA_ACCOUNT_REFRESH() : this.SA_ACCOUNT_LOGOUT();
6298
+ e.token && I.localSet("ACC_TOKEN_CACHE_KEY", e.token), await this.SA_ACCOUNT_RBAC_REFRESH(), this.accountIsLogin ? this.SA_ACCOUNT_REFRESH() : this.SA_ACCOUNT_LOGOUT();
6299
6299
  },
6300
6300
  async clear_cache() {
6301
- this.ACCOUNT_SET_PREV();
6302
- },
6303
- async clear_all() {
6301
+ I.localDel(ot), this.ACCOUNT_SET_PREV();
6304
6302
  },
6305
6303
  SA_ACCOUNT_IS_LOGGED() {
6306
6304
  return this.accountToken = I.localGet(Ve) || "", !!ea(this.accountToken);
@@ -6355,36 +6353,31 @@ const Te = Le("cloudSdkAccountStore", {
6355
6353
  return this.account_nick;
6356
6354
  },
6357
6355
  SA_ACCOUNT_REFRESH() {
6358
- this.accountInfo = I.localGet(xe) || Er, this.accountToken = I.localGet(Ve) || "", this.accountJwt = I.localGet(vt) || "", ue.setDefHeaders({
6356
+ this.accountInfo = I.localGet(xe) || Er, this.accountToken = I.localGet(Ve) || "", this.accountJwt = I.localGet(yt) || "", ue.setDefHeaders({
6359
6357
  syOpenAppToken: this.accountToken || "",
6360
6358
  Authorization: "Bearer " + this.accountJwt || ""
6361
6359
  });
6362
6360
  },
6363
6361
  // 登录
6364
6362
  async SA_ACCOUNT_SIGNIN(e) {
6365
- e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(vt, e.token_jwt || ""), I.localSet(yt, ""), I.idbSave(Ve, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Ct().QK_SEND_LOGIN_MSG();
6363
+ e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(ot, ""), I.idbSave(Ve, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Ct().QK_SEND_LOGIN_MSG();
6366
6364
  },
6367
6365
  /**
6368
6366
  * 退出登录(打开登录页面)
6369
6367
  * @param appendFrom
6370
6368
  */
6371
6369
  async SA_ACCOUNT_LOGOUT(e) {
6372
- this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(vt, ""), I.localSet(yt, ""), I.localDel(xe), I.localDel(Ve), I.localDel(vt), I.localDel(yt), this.SA_ACCOUNT_REFRESH(), Ct().QK_SEND_LOGOUT_MSG();
6370
+ this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(yt, ""), I.localSet(ot, ""), I.localDel(xe), I.localDel(Ve), I.localDel(yt), I.localDel(ot), this.SA_ACCOUNT_REFRESH(), Ct().QK_SEND_LOGOUT_MSG();
6373
6371
  },
6374
6372
  /**
6375
6373
  * @param {Boolean} isForce 是否强制刷新
6376
6374
  */
6377
6375
  async SA_ACCOUNT_RBAC_REFRESH(e) {
6378
- return e = e || !1, new Promise(async (t) => {
6379
- if (this.accountToken) {
6380
- let n = I.localGet(yt) || "";
6381
- e && n == "" ? await ue.flagGet("ORG_SYS_BASE_MYRBAC", {}).then((r) => {
6382
- r.status == 100600 ? this.SA_ACCOUNT_LOGOUT() : r.status == 200 && (I.localSet(yt, r.data || ""), t(r.data || ""));
6383
- }).catch(() => {
6384
- t("");
6385
- }) : t(n);
6386
- } else
6387
- t([]);
6376
+ if (e = e || !1, !this.accountToken)
6377
+ return !1;
6378
+ let t = I.localGet(ot) || "";
6379
+ e && t == "" && await ue.flagGet("ORG_SYS_BASE_MYRBAC", {}).then((n) => {
6380
+ n.status == 100600 ? this.SA_ACCOUNT_LOGOUT() : n.status == 200 && I.localSet(ot, n.data || "");
6388
6381
  });
6389
6382
  },
6390
6383
  ACCOUNT_SET_PREV() {
@@ -6632,7 +6625,7 @@ const rn = Le("cloudSdkProductStore", {
6632
6625
  isAlone: !0,
6633
6626
  name: "login",
6634
6627
  path: "/login",
6635
- component: () => import("./login-BLFyLqC-.js")
6628
+ component: () => import("./login-DX6hy1Uz.js")
6636
6629
  }
6637
6630
  ], Au = [
6638
6631
  {
@@ -6640,14 +6633,14 @@ const rn = Le("cloudSdkProductStore", {
6640
6633
  isAlone: !0,
6641
6634
  name: "alone_run",
6642
6635
  path: "/alone_run",
6643
- component: () => import("./alone_run-ptPIyklQ.js")
6636
+ component: () => import("./alone_run-CKIcEdcM.js")
6644
6637
  },
6645
6638
  {
6646
6639
  meta: { title: "错误", isAlone: !0 },
6647
6640
  isAlone: !0,
6648
6641
  name: "404",
6649
6642
  path: "/:catchAll(.*)",
6650
- component: () => import("./404-CXFWo6_q.js")
6643
+ component: () => import("./404-Ckqzkb2d.js")
6651
6644
  }
6652
6645
  ], Nu = [
6653
6646
  {
@@ -6655,7 +6648,7 @@ const rn = Le("cloudSdkProductStore", {
6655
6648
  isAlone: !1,
6656
6649
  name: "none",
6657
6650
  path: "/none",
6658
- component: () => import("./none-tGhGEeBx.js")
6651
+ component: () => import("./none-DbdDHIti.js")
6659
6652
  }
6660
6653
  ], on = Le("cloudSdkPermissionStore", {
6661
6654
  state: () => ({
@@ -6669,11 +6662,11 @@ const rn = Le("cloudSdkProductStore", {
6669
6662
  rbacArr: []
6670
6663
  }),
6671
6664
  actions: {
6672
- init(e) {
6665
+ async init(e) {
6673
6666
  e = e || [], this.originalRoutes = e;
6674
6667
  },
6675
6668
  // 清除缓存
6676
- clear_cache() {
6669
+ async clear_cache() {
6677
6670
  },
6678
6671
  /**
6679
6672
  * 刷新路由