@xdmp-open/ui-admin 0.1.9 → 0.1.10

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,14 +1,14 @@
1
1
  import { createAdminClient as co } from "@xdmp-open/sdk-admin";
2
2
  import { createIotClient as ho } from "@xdmp-open/sdk-iot";
3
3
  import { defineComponent as Y, defineAsyncComponent as Rt, resolveComponent as a, resolveDirective as M, openBlock as m, createElementBlock as V, createVNode as o, withCtx as n, withDirectives as E, Fragment as ie, renderList as de, createBlock as _, createElementVNode as T, createTextVNode as c, toDisplayString as R, normalizeStyle as Ie, normalizeClass as Ne, createCommentVNode as P, withKeys as tt, withModifiers as x, renderSlot as Re, resolveDynamicComponent as fo, vShow as go } from "vue";
4
- import { isRetainFieldDisabled as Pe, AvatarUpload as rt, XdmpDrawer as ee, $emit as _e, validMoblie as at, isRetainYes as ue, PageDecs as te, validSpecialName as yo, validInputLength as Pt, IconSelect as bo, isDevRuntime as _o, SvgIcon as wo, isRegisteredSvgIcon as Co, Encrypt as ge, validPassword as ko, PageDataInfo as Nt, RETAIN_MSG_DELETE as je, binaryDownloadBlob as lt, SearchForm as vo, validLegalInput as Do, FileUpload as $o } from "@xdmp-open/ui-shared";
4
+ import { isRetainFieldDisabled as Pe, AvatarUpload as rt, XdmpDrawer as ee, $emit as we, validMoblie as at, isRetainYes as ue, PageDecs as te, validSpecialName as yo, validInputLength as Pt, IconSelect as bo, isDevRuntime as _o, SvgIcon as wo, isRegisteredSvgIcon as Co, Encrypt as ge, validPassword as ko, PageDataInfo as Nt, RETAIN_MSG_DELETE as je, binaryDownloadBlob as lt, SearchForm as vo, validLegalInput as Do, FileUpload as $o } from "@xdmp-open/ui-shared";
5
5
  import { ListReport as oe, FlexibleColumn as It, ObjectPage as Vt } from "@xdmp-open/ui-layout";
6
6
  import O from "dayjs";
7
7
  import { ElMessage as q, ElMessageBox as W, ElInput as it, ElFormItem as st, ElForm as dt, ElDialog as To, ElButtonGroup as So, ElButton as qt, ElSelect as Fo, ElOption as Lo, ElCheckboxGroup as Eo, ElCheckbox as Ro, ElTableColumn as Po, ElTable as No, ElDivider as Io } from "element-plus";
8
8
  import { UserFilled as Vo, OfficeBuilding as qo, QuestionFilled as Oo, InfoFilled as Ao, DocumentCopy as ut } from "@element-plus/icons-vue";
9
9
  import Oe from "clipboard";
10
10
  let Le = null;
11
- function vs(e) {
11
+ function Ds(e) {
12
12
  const t = e.adminSdk ?? (e.sdkClient ? co(e.sdkClient) : null);
13
13
  if (!t)
14
14
  throw new Error("[ui-admin] setupAdminUi 需要 sdkClient 或 adminSdk 之一");
@@ -23,27 +23,28 @@ function vs(e) {
23
23
  hasPermission: e.hasPermission,
24
24
  logout: e.logout,
25
25
  refreshUserInfo: e.refreshUserInfo,
26
- regenerateRoutes: e.regenerateRoutes
26
+ regenerateRoutes: e.regenerateRoutes,
27
+ tenantMode: e.tenantMode
27
28
  }
28
29
  };
29
30
  }
30
- function we() {
31
+ function ye() {
31
32
  if (!Le)
32
33
  throw new Error("[ui-admin] 未初始化:宿主启动时请先调用 setupAdminUi({ sdkClient, ... })");
33
34
  return Le;
34
35
  }
35
36
  function L() {
36
- return we().adminSdk;
37
+ return ye().adminSdk;
37
38
  }
38
39
  function pt() {
39
- const e = we();
40
+ const e = ye();
40
41
  if (!e.iotSdk)
41
42
  throw new Error("[ui-admin] 未提供 IoT 客户端:setupAdminUi 时传入 sdkClient 或 iotSdk");
42
43
  return e.iotSdk;
43
44
  }
44
45
  function mt() {
45
46
  var e, t;
46
- return ((t = (e = we().host).getUserInfo) == null ? void 0 : t.call(e)) ?? {};
47
+ return ((t = (e = ye().host).getUserInfo) == null ? void 0 : t.call(e)) ?? {};
47
48
  }
48
49
  function Mo() {
49
50
  const e = mt(), t = e.username || e.account;
@@ -51,14 +52,17 @@ function Mo() {
51
52
  }
52
53
  function Ot() {
53
54
  var e, t;
54
- return ((t = (e = we().host).getRoles) == null ? void 0 : t.call(e)) ?? [];
55
+ return ((t = (e = ye().host).getRoles) == null ? void 0 : t.call(e)) ?? [];
55
56
  }
56
57
  function At() {
57
58
  var e, t;
58
- return ((t = (e = we().host).getMobilePhone) == null ? void 0 : t.call(e)) ?? "";
59
+ return ((t = (e = ye().host).getMobilePhone) == null ? void 0 : t.call(e)) ?? "";
60
+ }
61
+ function Uo() {
62
+ return ye().host.tenantMode === "single" ? "single" : "saas";
59
63
  }
60
64
  function se(e) {
61
- const t = we().host.hasPermission;
65
+ const t = ye().host.hasPermission;
62
66
  return t ? t(e) : !0;
63
67
  }
64
68
  function Mt() {
@@ -67,31 +71,31 @@ function Mt() {
67
71
  ot(null);
68
72
  } catch {
69
73
  }
70
- return (t = (e = we().host).logout) == null ? void 0 : t.call(e);
74
+ return (t = (e = ye().host).logout) == null ? void 0 : t.call(e);
71
75
  }
72
- function Uo() {
76
+ function zo() {
73
77
  var e;
74
78
  return ((e = Le == null ? void 0 : Le.coreSdk) == null ? void 0 : e.getImpersonateTenant()) ?? null;
75
79
  }
76
80
  function ot(e) {
77
- const t = we().coreSdk;
81
+ const t = ye().coreSdk;
78
82
  if (!t)
79
83
  throw new Error("[ui-admin] 未提供 sdkClient:代入需要 SDK 请求引擎注入 X-Tenant-Id");
80
84
  t.setImpersonateTenant(e);
81
85
  }
82
- function zo(e) {
86
+ function Yo(e) {
83
87
  var t, r;
84
- return (r = (t = we().host).refreshUserInfo) == null ? void 0 : r.call(t, e);
88
+ return (r = (t = ye().host).refreshUserInfo) == null ? void 0 : r.call(t, e);
85
89
  }
86
- function Yo(e) {
90
+ function jo(e) {
87
91
  var t, r;
88
- return (r = (t = we().host).regenerateRoutes) == null ? void 0 : r.call(t, e);
92
+ return (r = (t = ye().host).regenerateRoutes) == null ? void 0 : r.call(t, e);
89
93
  }
90
- const jo = Y({
94
+ const Bo = Y({
91
95
  components: {
92
96
  xdmpDrawer: ee,
93
97
  AvatarUpload: rt,
94
- treeSelect: Rt(() => import("./treeSelect-D6MfUZA7.js"))
98
+ treeSelect: Rt(() => import("./treeSelect-CEZoOkb2.js"))
95
99
  },
96
100
  data() {
97
101
  var e = (t, r, l) => {
@@ -235,7 +239,7 @@ const jo = Y({
235
239
  r[l] = u;
236
240
  return r;
237
241
  };
238
- function Bo(e, t, r, l, u, y) {
242
+ function Ko(e, t, r, l, u, y) {
239
243
  const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-option"), b = a("el-select"), f = a("AvatarUpload"), g = a("el-form"), C = a("xdmpDrawer"), k = M("loading");
240
244
  return m(), V("div", null, [
241
245
  o(C, {
@@ -332,7 +336,7 @@ function Bo(e, t, r, l, u, y) {
332
336
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
333
337
  ]);
334
338
  }
335
- const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
339
+ const Ho = /* @__PURE__ */ z(Bo, [["render", Ko]]), Qo = Y({
336
340
  components: {
337
341
  xdmpDrawer: ee,
338
342
  AvatarUpload: rt
@@ -494,7 +498,7 @@ const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
494
498
  // 内容是否展示html字段
495
499
  }
496
500
  ), t.$nextTick(() => {
497
- t.$refs.xdmpDrawer.cancelForm(), q.success("操作成功"), t.editMode && u.username === mt().username && zo(u.username), _e(t, "reload");
501
+ t.$refs.xdmpDrawer.cancelForm(), q.success("操作成功"), t.editMode && u.username === mt().username && Yo(u.username), we(t, "reload");
498
502
  });
499
503
  }).catch(() => {
500
504
  t.$refs.xdmpDrawer.hideLoading();
@@ -591,8 +595,8 @@ const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
591
595
  });
592
596
  }
593
597
  }
594
- }), Qo = { class: "permissionTree" };
595
- function Go(e, t, r, l, u, y) {
598
+ }), Go = { class: "permissionTree" };
599
+ function Jo(e, t, r, l, u, y) {
596
600
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("AvatarUpload"), f = a("el-tree"), g = a("el-form"), C = a("xdmpDrawer"), k = M("emoji"), v = M("loading");
597
601
  return m(), V("div", null, [
598
602
  o(C, {
@@ -762,7 +766,7 @@ function Go(e, t, r, l, u, y) {
762
766
  prop: "projectIds"
763
767
  }, {
764
768
  default: n(() => [
765
- T("div", Qo, [
769
+ T("div", Go, [
766
770
  o(f, {
767
771
  ref: "pertree",
768
772
  data: e.treeSelectData,
@@ -791,14 +795,14 @@ function Go(e, t, r, l, u, y) {
791
795
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
792
796
  ]);
793
797
  }
794
- const Jo = /* @__PURE__ */ z(Ho, [["render", Go], ["__scopeId", "data-v-07e1c4d8"]]);
798
+ const Wo = /* @__PURE__ */ z(Qo, [["render", Jo], ["__scopeId", "data-v-07e1c4d8"]]);
795
799
  function vt(e) {
796
800
  return L().system.binary.download(e).then((t) => new Blob([t.data], { type: t.headers["content-type"] }));
797
801
  }
798
- const Wo = Y({
802
+ const Zo = Y({
799
803
  components: {
800
- addUserDrawer: Jo,
801
- addDepartDrawer: Ko,
804
+ addUserDrawer: Wo,
805
+ addDepartDrawer: Ho,
802
806
  OfficeBuilding: qo,
803
807
  UserFilled: Vo,
804
808
  pageDesc: te,
@@ -1072,14 +1076,14 @@ const Wo = Y({
1072
1076
  // }
1073
1077
  // }
1074
1078
  }
1075
- }), Zo = { class: "account_tree" }, Xo = { style: { display: "flex", gap: "5px", "align-items": "center" } }, xo = { class: "custom-tree-node" }, en = { class: "tree-node-label" }, tn = { class: "searchInputCustomStyle" };
1076
- function on(e, t, r, l, u, y) {
1079
+ }), Xo = { class: "account_tree" }, xo = { style: { display: "flex", gap: "5px", "align-items": "center" } }, en = { class: "custom-tree-node" }, tn = { class: "tree-node-label" }, on = { class: "searchInputCustomStyle" };
1080
+ function nn(e, t, r, l, u, y) {
1077
1081
  const s = a("pageDesc"), i = a("el-input"), d = a("el-button"), p = a("el-form-item"), b = a("el-form"), f = a("el-image"), g = a("OfficeBuilding"), C = a("el-icon"), k = a("svg-icon"), v = a("el-tooltip"), S = a("el-tree"), U = a("el-option"), I = a("el-select"), w = a("UserFilled"), D = a("el-table-column"), h = a("el-divider"), H = a("el-dropdown-item"), ce = a("el-dropdown-menu"), re = a("el-dropdown"), G = a("el-table"), Q = a("el-pagination"), he = a("ListReport"), Qe = a("FlexibleColumn"), Ge = a("addUserDrawer"), Se = a("addDepartDrawer"), Ae = M("loading"), F = M("emoji");
1078
1082
  return m(), V("div", null, [
1079
1083
  o(s, { desc: "用户管理,支持部门和用户的维护管理。" }),
1080
1084
  o(Qe, { class: "account_wrapper" }, {
1081
1085
  begin: n(() => [
1082
- T("div", Zo, [
1086
+ T("div", Xo, [
1083
1087
  T("div", null, [
1084
1088
  o(b, {
1085
1089
  ref: "departSearchForm",
@@ -1090,7 +1094,7 @@ function on(e, t, r, l, u, y) {
1090
1094
  default: n(() => [
1091
1095
  o(p, { prop: "keyword" }, {
1092
1096
  default: n(() => [
1093
- T("div", Xo, [
1097
+ T("div", xo, [
1094
1098
  o(i, {
1095
1099
  modelValue: e.departForm.keyword,
1096
1100
  "onUpdate:modelValue": t[0] || (t[0] = ($) => e.departForm.keyword = $),
@@ -1142,8 +1146,8 @@ function on(e, t, r, l, u, y) {
1142
1146
  onNodeClick: e.handleNodeClick
1143
1147
  }, {
1144
1148
  default: n(({ data: $ }) => [
1145
- T("span", xo, [
1146
- T("span", en, [
1149
+ T("span", en, [
1150
+ T("span", tn, [
1147
1151
  $.extend._avatarUrl ? (m(), _(f, {
1148
1152
  key: 0,
1149
1153
  src: $.extend._avatarUrl,
@@ -1275,7 +1279,7 @@ function on(e, t, r, l, u, y) {
1275
1279
  }, 8, ["model", "onKeyup"])
1276
1280
  ]),
1277
1281
  toolbar: n(() => [
1278
- T("div", tn, [
1282
+ T("div", on, [
1279
1283
  e.checkPermission(["ROLE_USER_CREATE"]) ? (m(), _(d, {
1280
1284
  key: 0,
1281
1285
  style: { width: "88px" },
@@ -1561,8 +1565,8 @@ function on(e, t, r, l, u, y) {
1561
1565
  }, null, 8, ["onReload"])
1562
1566
  ]);
1563
1567
  }
1564
- const Ds = /* @__PURE__ */ z(Wo, [["render", on], ["__scopeId", "data-v-0cbae3c2"]]);
1565
- var nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1568
+ const $s = /* @__PURE__ */ z(Zo, [["render", nn], ["__scopeId", "data-v-0cbae3c2"]]);
1569
+ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1566
1570
  function Ut(e) {
1567
1571
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1568
1572
  }
@@ -1570,7 +1574,7 @@ var zt = { exports: {} };
1570
1574
  (function(e, t) {
1571
1575
  (function(r, l) {
1572
1576
  e.exports = l();
1573
- })(nn, function() {
1577
+ })(rn, function() {
1574
1578
  return function(r, l, u) {
1575
1579
  r = r || {};
1576
1580
  var y = l.prototype, s = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
@@ -1608,18 +1612,18 @@ var zt = { exports: {} };
1608
1612
  };
1609
1613
  });
1610
1614
  })(zt);
1611
- var rn = zt.exports;
1612
- const an = /* @__PURE__ */ Ut(rn);
1613
- O.extend(an);
1614
- function ln(e) {
1615
+ var an = zt.exports;
1616
+ const ln = /* @__PURE__ */ Ut(an);
1617
+ O.extend(ln);
1618
+ function sn(e) {
1615
1619
  const t = [];
1616
1620
  return ct(e, (r) => {
1617
1621
  r.key && t.push(r.key);
1618
1622
  }), t;
1619
1623
  }
1620
- function sn(e, t, r, l) {
1624
+ function dn(e, t, r, l) {
1621
1625
  const u = new Set(e);
1622
- return r ? (t.key && (u.add(t.key), Yt(l, t.key).forEach((y) => u.add(y))), nt(t).forEach((y) => u.add(y)), [...u]) : (t.key && u.delete(t.key), nt(t).forEach((y) => u.delete(y)), t.key && dn(l, t.key, u), [...u]);
1626
+ return r ? (t.key && (u.add(t.key), Yt(l, t.key).forEach((y) => u.add(y))), nt(t).forEach((y) => u.add(y)), [...u]) : (t.key && u.delete(t.key), nt(t).forEach((y) => u.delete(y)), t.key && un(l, t.key, u), [...u]);
1623
1627
  }
1624
1628
  function nt(e) {
1625
1629
  const t = [];
@@ -1642,7 +1646,7 @@ function Yt(e, t) {
1642
1646
  };
1643
1647
  return l(e, []), r;
1644
1648
  }
1645
- function dn(e, t, r) {
1649
+ function un(e, t, r) {
1646
1650
  const l = Yt(e, t);
1647
1651
  for (let u = l.length - 1; u >= 0; u--) {
1648
1652
  const y = l[u], s = jt(e, y);
@@ -1666,13 +1670,13 @@ function ct(e, t) {
1666
1670
  for (const r of e)
1667
1671
  t(r), ct(r.children, t);
1668
1672
  }
1669
- function un(e) {
1673
+ function pn(e) {
1670
1674
  return e === !0;
1671
1675
  }
1672
- function pn(e) {
1676
+ function mn(e) {
1673
1677
  return e ? "add" : "update";
1674
1678
  }
1675
- function mn(e, t) {
1679
+ function cn(e, t) {
1676
1680
  return {
1677
1681
  name: e.name,
1678
1682
  code: e.code,
@@ -1680,7 +1684,7 @@ function mn(e, t) {
1680
1684
  authorityCodes: t
1681
1685
  };
1682
1686
  }
1683
- const cn = Y({
1687
+ const hn = Y({
1684
1688
  components: {
1685
1689
  xdmpDrawer: ee
1686
1690
  },
@@ -1755,7 +1759,7 @@ const cn = Y({
1755
1759
  },
1756
1760
  // 初始化
1757
1761
  async init(e, t) {
1758
- this.edit = !!e.edit, this.addmode = un(t), this.pertree = [];
1762
+ this.edit = !!e.edit, this.addmode = pn(t), this.pertree = [];
1759
1763
  let r = {};
1760
1764
  if (await this.getPerTree(), this.treeSetDisabled(this.pertree), this.addmode)
1761
1765
  this.title = "新建角色", this.ruleForm = {
@@ -1792,8 +1796,8 @@ const cn = Y({
1792
1796
  this.$refs.ruleForm.validate((l) => {
1793
1797
  if (l) {
1794
1798
  this.$refs.xdmpDrawer.showLoading();
1795
- const u = L(), y = mn(this.ruleForm, t);
1796
- (pn(this.addmode) === "add" ? u.system.role.add(y) : u.system.role.update(y.code, y)).then(() => {
1799
+ const u = L(), y = cn(this.ruleForm, t);
1800
+ (mn(this.addmode) === "add" ? u.system.role.add(y) : u.system.role.update(y.code, y)).then(() => {
1797
1801
  q.success(this.addmode ? "新建成功" : "修改成功"), this.$emit("reload"), this.$refs.xdmpDrawer.cancelForm();
1798
1802
  }).catch(() => {
1799
1803
  this.$refs.xdmpDrawer.hideLoading();
@@ -1802,13 +1806,13 @@ const cn = Y({
1802
1806
  });
1803
1807
  },
1804
1808
  onPermissionCheck(e, t) {
1805
- const r = !!e.key && t.checkedKeys.includes(e.key), l = sn(t.checkedKeys, e, r, this.pertree);
1809
+ const r = !!e.key && t.checkedKeys.includes(e.key), l = dn(t.checkedKeys, e, r, this.pertree);
1806
1810
  this.$nextTick(() => {
1807
1811
  this.$refs.pertree.setCheckedKeys(l), this.ruleForm.authorityCodes = l;
1808
1812
  });
1809
1813
  },
1810
1814
  selectAllPermissions() {
1811
- const e = ln(this.pertree);
1815
+ const e = sn(this.pertree);
1812
1816
  this.$refs.pertree.setCheckedKeys(e), this.ruleForm.authorityCodes = e;
1813
1817
  },
1814
1818
  clearAllPermissions() {
@@ -1824,11 +1828,11 @@ const cn = Y({
1824
1828
  }, this.edit = !0, this.addmode = !1;
1825
1829
  }
1826
1830
  }
1827
- }), hn = { class: "permission-label" }, fn = {
1831
+ }), fn = { class: "permission-label" }, gn = {
1828
1832
  key: 0,
1829
1833
  class: "permission-label-actions"
1830
- }, gn = { class: "permissionTree" };
1831
- function yn(e, t, r, l, u, y) {
1834
+ }, yn = { class: "permissionTree" };
1835
+ function bn(e, t, r, l, u, y) {
1832
1836
  const s = a("el-input"), i = a("el-form-item"), d = a("el-button"), p = a("el-tree"), b = a("el-form"), f = a("xdmpDrawer"), g = M("emoji"), C = M("loading");
1833
1837
  return m(), _(f, {
1834
1838
  ref: "xdmpDrawer",
@@ -1907,9 +1911,9 @@ function yn(e, t, r, l, u, y) {
1907
1911
  "label-width": "100%"
1908
1912
  }, {
1909
1913
  label: n(() => [
1910
- T("div", hn, [
1914
+ T("div", fn, [
1911
1915
  t[5] || (t[5] = T("span", null, "权限设置", -1)),
1912
- e.edit ? (m(), V("span", fn, [
1916
+ e.edit ? (m(), V("span", gn, [
1913
1917
  o(d, {
1914
1918
  type: "primary",
1915
1919
  text: "",
@@ -1934,7 +1938,7 @@ function yn(e, t, r, l, u, y) {
1934
1938
  ])
1935
1939
  ]),
1936
1940
  default: n(() => [
1937
- T("div", gn, [
1941
+ T("div", yn, [
1938
1942
  o(p, {
1939
1943
  ref: "pertree",
1940
1944
  disabled: !e.edit,
@@ -1963,10 +1967,10 @@ function yn(e, t, r, l, u, y) {
1963
1967
  _: 1
1964
1968
  }, 8, ["title", "show-footer", "size", "onCancel", "onSubmit"]);
1965
1969
  }
1966
- const bn = /* @__PURE__ */ z(cn, [["render", yn], ["__scopeId", "data-v-1f26dba3"]]), _n = Y({
1970
+ const _n = /* @__PURE__ */ z(hn, [["render", bn], ["__scopeId", "data-v-1f26dba3"]]), wn = Y({
1967
1971
  components: {
1968
1972
  ListReport: oe,
1969
- roleDetail: bn,
1973
+ roleDetail: _n,
1970
1974
  pageDesc: te
1971
1975
  },
1972
1976
  data() {
@@ -2042,10 +2046,10 @@ const bn = /* @__PURE__ */ z(cn, [["render", yn], ["__scopeId", "data-v-1f26dba3
2042
2046
  });
2043
2047
  }
2044
2048
  }
2045
- }), wn = { class: "role_wrapper" }, Cn = { class: "searchInputCustomStyle" };
2046
- function kn(e, t, r, l, u, y) {
2049
+ }), Cn = { class: "role_wrapper" }, kn = { class: "searchInputCustomStyle" };
2050
+ function vn(e, t, r, l, u, y) {
2047
2051
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("roleDetail"), U = M("emoji"), I = M("loading");
2048
- return m(), V("div", wn, [
2052
+ return m(), V("div", Cn, [
2049
2053
  o(s, { desc: "角色管理,支持系统角色的增删改查。" }),
2050
2054
  E((m(), _(v, { class: "role_block" }, {
2051
2055
  filter: n(() => [
@@ -2104,7 +2108,7 @@ function kn(e, t, r, l, u, y) {
2104
2108
  }, 8, ["model", "onSubmit"])
2105
2109
  ]),
2106
2110
  toolbar: n(() => [
2107
- T("div", Cn, [
2111
+ T("div", kn, [
2108
2112
  e.checkPermission(["ROLE_ROLE_CREATE"]) ? (m(), _(p, {
2109
2113
  key: 0,
2110
2114
  style: { width: "88px" },
@@ -2217,10 +2221,10 @@ function kn(e, t, r, l, u, y) {
2217
2221
  }, null, 8, ["onReload"])
2218
2222
  ]);
2219
2223
  }
2220
- const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5"]]), vn = Y({
2224
+ const Ts = /* @__PURE__ */ z(wn, [["render", vn], ["__scopeId", "data-v-e90001b5"]]), Dn = Y({
2221
2225
  components: {
2222
2226
  xdmpDrawer: ee,
2223
- treeSelect: Rt(() => import("./treeSelect-CvJM_V5R.js")),
2227
+ treeSelect: Rt(() => import("./treeSelect-Bwy_DQ-8.js")),
2224
2228
  IconSelect: bo,
2225
2229
  InfoFilled: Ao,
2226
2230
  QuestionFilled: Oo
@@ -2352,7 +2356,7 @@ const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5
2352
2356
  if (e) {
2353
2357
  const t = JSON.parse(JSON.stringify(this.form)), r = L(), l = this.mode ? (u) => r.system.authority.update(u.id, u) : (u) => r.system.authority.add(u);
2354
2358
  this.$refs.xdmpDrawer.showLoading(), l(t).then(() => {
2355
- this.$refs.xdmpDrawer.hideLoading(), q.success(this.mode ? "编辑成功" : "新增成功"), _e(this, "reload"), this.$refs.xdmpDrawer.cancelForm();
2359
+ this.$refs.xdmpDrawer.hideLoading(), q.success(this.mode ? "编辑成功" : "新增成功"), we(this, "reload"), this.$refs.xdmpDrawer.cancelForm();
2356
2360
  }).catch(() => {
2357
2361
  this.$refs.xdmpDrawer.hideLoading();
2358
2362
  });
@@ -2411,8 +2415,8 @@ const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5
2411
2415
  });
2412
2416
  }
2413
2417
  }
2414
- }), Dn = { style: { "vertical-align": "middle" } }, $n = { style: { "vertical-align": "middle" } }, Tn = { style: { "vertical-align": "middle" } }, Sn = { style: { "vertical-align": "middle" } };
2415
- function Fn(e, t, r, l, u, y) {
2418
+ }), $n = { style: { "vertical-align": "middle" } }, Tn = { style: { "vertical-align": "middle" } }, Sn = { style: { "vertical-align": "middle" } }, Fn = { style: { "vertical-align": "middle" } };
2419
+ function Ln(e, t, r, l, u, y) {
2416
2420
  const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-radio"), b = a("el-radio-group"), f = a("InfoFilled"), g = a("el-icon"), C = a("el-tooltip"), k = a("icon-select"), v = a("QuestionFilled"), S = a("el-switch"), U = a("el-form"), I = a("xdmpDrawer"), w = M("emoji");
2417
2421
  return m(), V("div", null, [
2418
2422
  o(I, {
@@ -2531,7 +2535,7 @@ function Fn(e, t, r, l, u, y) {
2531
2535
  }, {
2532
2536
  label: n(() => [
2533
2537
  t[17] || (t[17] = c(" 资源访问路由 ", -1)),
2534
- T("span", Dn, [
2538
+ T("span", $n, [
2535
2539
  o(C, {
2536
2540
  effect: "dark",
2537
2541
  content: "完整路由:" + e.form.routePath,
@@ -2600,7 +2604,7 @@ function Fn(e, t, r, l, u, y) {
2600
2604
  o(i, { prop: "frameUrl" }, {
2601
2605
  label: n(() => [
2602
2606
  t[18] || (t[18] = c(" 资源外链地址 ", -1)),
2603
- T("span", $n, [
2607
+ T("span", Tn, [
2604
2608
  o(C, {
2605
2609
  effect: "dark",
2606
2610
  content: "路由外链时填写的访问地址",
@@ -2630,7 +2634,7 @@ function Fn(e, t, r, l, u, y) {
2630
2634
  o(i, { prop: "visibleFlag" }, {
2631
2635
  label: n(() => [
2632
2636
  t[19] || (t[19] = c(" 是否显示 ", -1)),
2633
- T("span", Tn, [
2637
+ T("span", Sn, [
2634
2638
  o(C, {
2635
2639
  effect: "dark",
2636
2640
  content: "是否在菜单中显示",
@@ -2660,7 +2664,7 @@ function Fn(e, t, r, l, u, y) {
2660
2664
  o(i, { prop: "frameFlag" }, {
2661
2665
  label: n(() => [
2662
2666
  t[20] || (t[20] = c(" 是否为外链 ", -1)),
2663
- T("span", Sn, [
2667
+ T("span", Fn, [
2664
2668
  o(C, {
2665
2669
  effect: "dark",
2666
2670
  content: "是否为外链",
@@ -2728,10 +2732,10 @@ function Fn(e, t, r, l, u, y) {
2728
2732
  }, 8, ["title", "size", "onSubmit", "onCancel"])
2729
2733
  ]);
2730
2734
  }
2731
- const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2735
+ const En = /* @__PURE__ */ z(Dn, [["render", Ln]]), Rn = Y({
2732
2736
  components: {
2733
2737
  ListReport: oe,
2734
- menuDrawer: Ln,
2738
+ menuDrawer: En,
2735
2739
  SvgIcon: wo,
2736
2740
  pageDesc: te
2737
2741
  },
@@ -2763,7 +2767,7 @@ const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2763
2767
  async refreshSystemMenu() {
2764
2768
  try {
2765
2769
  const e = await L().system.authority.tree({ async: !1 });
2766
- Yo(e);
2770
+ jo(e);
2767
2771
  } catch (e) {
2768
2772
  console.error("刷新系统菜单失败", e);
2769
2773
  }
@@ -2824,10 +2828,10 @@ const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2824
2828
  });
2825
2829
  }
2826
2830
  }
2827
- }), Rn = { class: "authority_wrapper" }, Pn = { class: "name-cell" }, Nn = { key: 0 };
2828
- function In(e, t, r, l, u, y) {
2831
+ }), Pn = { class: "authority_wrapper" }, Nn = { class: "name-cell" }, In = { key: 0 };
2832
+ function Vn(e, t, r, l, u, y) {
2829
2833
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("svg-icon"), g = a("el-icon"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("ListReport"), U = a("menuDrawer"), I = M("loading");
2830
- return m(), V("div", Rn, [
2834
+ return m(), V("div", Pn, [
2831
2835
  o(s, { desc: "系统权限管理,支持菜单权限的增删改查操作。" }),
2832
2836
  E((m(), _(S, { class: "authority_block" }, {
2833
2837
  filter: n(() => [
@@ -2925,8 +2929,8 @@ function In(e, t, r, l, u, y) {
2925
2929
  "min-width": "140"
2926
2930
  }, {
2927
2931
  default: n((w) => [
2928
- T("div", Pn, [
2929
- w.row.extend.icon ? (m(), V("span", Nn, [
2932
+ T("div", Nn, [
2933
+ w.row.extend.icon ? (m(), V("span", In, [
2930
2934
  e.isSvgIcon(w.row.extend.icon) ? (m(), _(f, {
2931
2935
  key: 0,
2932
2936
  "icon-class": w.row.extend.icon
@@ -3027,7 +3031,7 @@ function In(e, t, r, l, u, y) {
3027
3031
  }, null, 8, ["onReload"])
3028
3032
  ]);
3029
3033
  }
3030
- const Ts = /* @__PURE__ */ z(En, [["render", In], ["__scopeId", "data-v-e84a170d"]]), Vn = Y({
3034
+ const Ss = /* @__PURE__ */ z(Rn, [["render", Vn], ["__scopeId", "data-v-e84a170d"]]), qn = Y({
3031
3035
  name: "ApplyAddDialog",
3032
3036
  components: { xdmpDrawer: ee, DocumentCopy: ut },
3033
3037
  emits: ["reload"],
@@ -3077,7 +3081,7 @@ const Ts = /* @__PURE__ */ z(En, [["render", In], ["__scopeId", "data-v-e84a170d
3077
3081
  r.showLoading();
3078
3082
  const l = L().system.openApp;
3079
3083
  (this.appForm.id ? l.update(this.appForm.id, t) : l.add(t)).then(() => {
3080
- r.cancelForm(), r.hideLoading(), q.success("操作成功"), _e(this, "reload");
3084
+ r.cancelForm(), r.hideLoading(), q.success("操作成功"), we(this, "reload");
3081
3085
  }).catch(() => {
3082
3086
  r.hideLoading();
3083
3087
  });
@@ -3096,8 +3100,8 @@ const Ts = /* @__PURE__ */ z(En, [["render", In], ["__scopeId", "data-v-e84a170d
3096
3100
  return e ? e.substring(0, 2) + "****" + e.substring(e.length - 2) : "";
3097
3101
  }
3098
3102
  }
3099
- }), qn = { style: { display: "flex", "align-items": "center" } }, On = { class: "readonly-value" }, An = ["data-clipboard-text"], Mn = { style: { display: "flex", "align-items": "center" } }, Un = { class: "readonly-value" }, zn = ["data-clipboard-text"];
3100
- function Yn(e, t, r, l, u, y) {
3103
+ }), On = { style: { display: "flex", "align-items": "center" } }, An = { class: "readonly-value" }, Mn = ["data-clipboard-text"], Un = { style: { display: "flex", "align-items": "center" } }, zn = { class: "readonly-value" }, Yn = ["data-clipboard-text"];
3104
+ function jn(e, t, r, l, u, y) {
3101
3105
  const s = a("el-input"), i = a("el-form-item"), d = a("DocumentCopy"), p = a("el-icon"), b = a("el-option"), f = a("el-select"), g = a("el-form"), C = a("xdmpDrawer"), k = M("emoji");
3102
3106
  return m(), _(C, {
3103
3107
  ref: "xdmpDrawer",
@@ -3138,8 +3142,8 @@ function Yn(e, t, r, l, u, y) {
3138
3142
  label: "AppKey"
3139
3143
  }, {
3140
3144
  default: n(() => [
3141
- T("div", qn, [
3142
- T("span", On, R(e.appForm.appKey), 1),
3145
+ T("div", On, [
3146
+ T("span", An, R(e.appForm.appKey), 1),
3143
3147
  T("div", {
3144
3148
  class: "auth-main-copy copy",
3145
3149
  "data-clipboard-text": e.appForm.appKey,
@@ -3151,7 +3155,7 @@ function Yn(e, t, r, l, u, y) {
3151
3155
  ]),
3152
3156
  _: 1
3153
3157
  })
3154
- ], 8, An)
3158
+ ], 8, Mn)
3155
3159
  ])
3156
3160
  ]),
3157
3161
  _: 1
@@ -3161,8 +3165,8 @@ function Yn(e, t, r, l, u, y) {
3161
3165
  label: "AppSecret"
3162
3166
  }, {
3163
3167
  default: n(() => [
3164
- T("div", Mn, [
3165
- T("span", Un, R(e.maskSecret(e.appForm.appSecret)), 1),
3168
+ T("div", Un, [
3169
+ T("span", zn, R(e.maskSecret(e.appForm.appSecret)), 1),
3166
3170
  T("div", {
3167
3171
  class: "auth-main-copy copy",
3168
3172
  "data-clipboard-text": e.appForm.appSecret,
@@ -3174,7 +3178,7 @@ function Yn(e, t, r, l, u, y) {
3174
3178
  ]),
3175
3179
  _: 1
3176
3180
  })
3177
- ], 8, zn)
3181
+ ], 8, Yn)
3178
3182
  ])
3179
3183
  ]),
3180
3184
  _: 1
@@ -3229,7 +3233,7 @@ function Yn(e, t, r, l, u, y) {
3229
3233
  _: 3
3230
3234
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
3231
3235
  }
3232
- const jn = /* @__PURE__ */ z(Vn, [["render", Yn], ["__scopeId", "data-v-04c7d4b5"]]), Bn = Y({
3236
+ const Bn = /* @__PURE__ */ z(qn, [["render", jn], ["__scopeId", "data-v-04c7d4b5"]]), Kn = Y({
3233
3237
  name: "ApplyAuthDialog",
3234
3238
  components: { xdmpDrawer: ee },
3235
3239
  emits: ["reload"],
@@ -3330,7 +3334,7 @@ const jn = /* @__PURE__ */ z(Vn, [["render", Yn], ["__scopeId", "data-v-04c7d4b5
3330
3334
  const t = { id: this.authForm.id, dataScopeType: "0", targetIds: this.authForm.projectIds }, r = { id: this.authForm.id, authorityCodes: this.authForm.authorityCodes }, l = this.$refs.xdmpDrawer;
3331
3335
  l.showLoading();
3332
3336
  try {
3333
- await L().system.openApp.assignAuthorities(r.id, r), await L().system.openApp.assignScopes(t.id, t), l.hideLoading(), q.success("授权成功"), l.cancelForm(), _e(this, "reload");
3337
+ await L().system.openApp.assignAuthorities(r.id, r), await L().system.openApp.assignScopes(t.id, t), l.hideLoading(), q.success("授权成功"), l.cancelForm(), we(this, "reload");
3334
3338
  } catch {
3335
3339
  l.hideLoading();
3336
3340
  }
@@ -3341,7 +3345,7 @@ const jn = /* @__PURE__ */ z(Vn, [["render", Yn], ["__scopeId", "data-v-04c7d4b5
3341
3345
  }
3342
3346
  }
3343
3347
  });
3344
- function Kn(e, t, r, l, u, y) {
3348
+ function Hn(e, t, r, l, u, y) {
3345
3349
  const s = a("el-tree"), i = a("el-form-item"), d = a("el-form"), p = a("xdmpDrawer"), b = M("loading");
3346
3350
  return m(), _(p, {
3347
3351
  ref: "xdmpDrawer",
@@ -3414,10 +3418,10 @@ function Kn(e, t, r, l, u, y) {
3414
3418
  _: 3
3415
3419
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
3416
3420
  }
3417
- const Hn = /* @__PURE__ */ z(Bn, [["render", Kn], ["__scopeId", "data-v-7017ad01"]]), Qn = Y({
3421
+ const Qn = /* @__PURE__ */ z(Kn, [["render", Hn], ["__scopeId", "data-v-7017ad01"]]), Gn = Y({
3418
3422
  components: {
3419
- appDialog: jn,
3420
- appAuthDialog: Hn,
3423
+ appDialog: Bn,
3424
+ appAuthDialog: Qn,
3421
3425
  pageDesc: te,
3422
3426
  DocumentCopy: ut,
3423
3427
  ListReport: oe
@@ -3521,10 +3525,10 @@ const Hn = /* @__PURE__ */ z(Bn, [["render", Kn], ["__scopeId", "data-v-7017ad01
3521
3525
  this.queryParams.pageNo = e, this.init();
3522
3526
  }
3523
3527
  }
3524
- }), Gn = { class: "userApply_wrapper" }, Jn = { style: { display: "flex", "align-items": "center" } }, Wn = { class: "app-key-text" }, Zn = ["data-clipboard-text"], Xn = { style: { display: "flex", "align-items": "center" } }, xn = ["data-clipboard-text"];
3525
- function er(e, t, r, l, u, y) {
3528
+ }), Jn = { class: "userApply_wrapper" }, Wn = { style: { display: "flex", "align-items": "center" } }, Zn = { class: "app-key-text" }, Xn = ["data-clipboard-text"], xn = { style: { display: "flex", "align-items": "center" } }, er = ["data-clipboard-text"];
3529
+ function tr(e, t, r, l, u, y) {
3526
3530
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-tooltip"), C = a("DocumentCopy"), k = a("el-icon"), v = a("el-divider"), S = a("el-dropdown-item"), U = a("el-dropdown-menu"), I = a("el-dropdown"), w = a("el-table"), D = a("el-pagination"), h = a("ListReport"), H = a("appDialog"), ce = a("appAuthDialog"), re = M("emoji"), G = M("loading");
3527
- return m(), V("div", Gn, [
3531
+ return m(), V("div", Jn, [
3528
3532
  o(s, { desc: "平台提供开放能力,可以进行新建、查看、编辑、授权等操作。" }),
3529
3533
  E((m(), _(h, { class: "userApply_block" }, {
3530
3534
  filter: n(() => [
@@ -3614,13 +3618,13 @@ function er(e, t, r, l, u, y) {
3614
3618
  "min-width": "200"
3615
3619
  }, {
3616
3620
  default: n((Q) => [
3617
- T("div", Jn, [
3621
+ T("div", Wn, [
3618
3622
  o(g, {
3619
3623
  content: Q.row.appKey,
3620
3624
  placement: "top"
3621
3625
  }, {
3622
3626
  default: n(() => [
3623
- T("span", Wn, R(Q.row.appKey), 1)
3627
+ T("span", Zn, R(Q.row.appKey), 1)
3624
3628
  ]),
3625
3629
  _: 2
3626
3630
  }, 1032, ["content"]),
@@ -3635,7 +3639,7 @@ function er(e, t, r, l, u, y) {
3635
3639
  ]),
3636
3640
  _: 1
3637
3641
  })
3638
- ], 8, Zn)
3642
+ ], 8, Xn)
3639
3643
  ])
3640
3644
  ]),
3641
3645
  _: 1
@@ -3645,7 +3649,7 @@ function er(e, t, r, l, u, y) {
3645
3649
  label: "AppSecret"
3646
3650
  }, {
3647
3651
  default: n((Q) => [
3648
- T("div", Xn, [
3652
+ T("div", xn, [
3649
3653
  c(R(Q.row.appSecret.substring(0, 2) + "****" + Q.row.appSecret.substring(
3650
3654
  Q.row.appSecret.length - 2,
3651
3655
  Q.row.appSecret.length
@@ -3661,7 +3665,7 @@ function er(e, t, r, l, u, y) {
3661
3665
  ]),
3662
3666
  _: 1
3663
3667
  })
3664
- ], 8, xn)
3668
+ ], 8, er)
3665
3669
  ])
3666
3670
  ]),
3667
3671
  _: 1
@@ -3800,56 +3804,56 @@ function er(e, t, r, l, u, y) {
3800
3804
  }, null, 8, ["onReload"])
3801
3805
  ]);
3802
3806
  }
3803
- const Ss = /* @__PURE__ */ z(Qn, [["render", er], ["__scopeId", "data-v-b6808fc5"]]);
3807
+ const Fs = /* @__PURE__ */ z(Gn, [["render", tr], ["__scopeId", "data-v-b6808fc5"]]);
3804
3808
  function pe() {
3805
3809
  return L().system.user.client;
3806
3810
  }
3807
- function tr(e) {
3811
+ function or(e) {
3808
3812
  return pe().get("/gw/uiap-sidecar/web/share/access/rear/send", {
3809
3813
  ...e,
3810
3814
  platform: "console"
3811
3815
  });
3812
3816
  }
3813
- function or(e) {
3817
+ function nr(e) {
3814
3818
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/verification", e);
3815
3819
  }
3816
- function nr(e) {
3820
+ function rr(e) {
3817
3821
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/viewAuthKey", e);
3818
3822
  }
3819
- function rr(e) {
3823
+ function ar(e) {
3820
3824
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/resetAuthKey", e);
3821
3825
  }
3822
- function ar(e) {
3826
+ function lr(e) {
3823
3827
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/updatePwd", e);
3824
3828
  }
3825
- function lr(e) {
3829
+ function ir(e) {
3826
3830
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/bindPhone", e);
3827
3831
  }
3828
- function ir(e) {
3832
+ function sr(e) {
3829
3833
  return pe().post("/gw/uiap-dmc/web/dmc/apps/list", e);
3830
3834
  }
3831
- function sr(e) {
3835
+ function dr(e) {
3832
3836
  return pe().post("/gw/uiap-omc/web/pd/apps", e);
3833
3837
  }
3834
3838
  function Bt(e) {
3835
3839
  return pe().post("/gw/uiap-omc/web/pd/apps/put", e);
3836
3840
  }
3837
- function dr(e) {
3841
+ function ur(e) {
3838
3842
  return pe().get(`/gw/uiap-dmc/web/dmc/apps/${e}`);
3839
3843
  }
3840
- function ur(e) {
3844
+ function pr(e) {
3841
3845
  return pe().get(`/gw/uiap-dmc/web/dmc/apps/${e}/auth?type=PRIVATE`);
3842
3846
  }
3843
- function pr(e) {
3847
+ function mr(e) {
3844
3848
  return pe().post("/gw/uiap-dmc/web/dmc/apps/auth", e);
3845
3849
  }
3846
- function mr(e) {
3850
+ function cr(e) {
3847
3851
  return pe().get(`/gw/uiap-dmc/web/dmc/apps/checkAccessKey?id=${e}`);
3848
3852
  }
3849
- function cr(e) {
3853
+ function hr(e) {
3850
3854
  return pe().post(`/gw/uiap-dmc/web/dmc/apps/resetAccessKey?id=${e}`);
3851
3855
  }
3852
- const hr = Y({
3856
+ const fr = Y({
3853
3857
  name: "",
3854
3858
  components: { ElForm: dt, ElFormItem: st, ElInput: it },
3855
3859
  props: {
@@ -3899,11 +3903,11 @@ const hr = Y({
3899
3903
  confirmKey: this.form.confirmKey,
3900
3904
  type: r.type
3901
3905
  };
3902
- ar(l).then(() => {
3906
+ lr(l).then(() => {
3903
3907
  e(), q({
3904
3908
  message: "修改成功,即将重新登录",
3905
3909
  type: "success"
3906
- }), _e(this, "cancel"), setTimeout(() => {
3910
+ }), we(this, "cancel"), setTimeout(() => {
3907
3911
  this.loginOut();
3908
3912
  }, 2e3);
3909
3913
  }).catch(() => {
@@ -3923,11 +3927,11 @@ const hr = Y({
3923
3927
  t ? t != this.form.password ? r("两次输入的密码不一致") : r() : r("密码不能为空");
3924
3928
  }
3925
3929
  }
3926
- }), fr = { class: "password-block" }, gr = { class: "password-form" };
3927
- function yr(e, t, r, l, u, y) {
3930
+ }), gr = { class: "password-block" }, yr = { class: "password-form" };
3931
+ function br(e, t, r, l, u, y) {
3928
3932
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = M("emoji");
3929
- return m(), V("div", fr, [
3930
- T("div", gr, [
3933
+ return m(), V("div", gr, [
3934
+ T("div", yr, [
3931
3935
  o(d, {
3932
3936
  ref: "form",
3933
3937
  model: e.form,
@@ -3979,7 +3983,7 @@ function yr(e, t, r, l, u, y) {
3979
3983
  ])
3980
3984
  ]);
3981
3985
  }
3982
- const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b"]]), _r = Y({
3986
+ const _r = /* @__PURE__ */ z(fr, [["render", br], ["__scopeId", "data-v-55a4572b"]]), wr = Y({
3983
3987
  components: { ElButton: qt, ElButtonGroup: So, ElDialog: To, ElForm: dt, ElFormItem: st, ElInput: it },
3984
3988
  props: {
3985
3989
  phone: {
@@ -4038,7 +4042,7 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4038
4042
  },
4039
4043
  methods: {
4040
4044
  close() {
4041
- this.dialogVisible = !1, this.disabled = !0, this.codeTime = null, clearInterval(this.codeTimer), this.isSend = !1, _e(this, "cancel"), (!this.content || this.content === "phone-binding") && this.$refs.form.resetFields();
4045
+ this.dialogVisible = !1, this.disabled = !0, this.codeTime = null, clearInterval(this.codeTimer), this.isSend = !1, we(this, "cancel"), (!this.content || this.content === "phone-binding") && this.$refs.form.resetFields();
4042
4046
  },
4043
4047
  handleClose() {
4044
4048
  this.dialogVisible = !1, this.loading = !1;
@@ -4048,7 +4052,7 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4048
4052
  },
4049
4053
  submit() {
4050
4054
  const e = ["password-binding", "phone-binding"];
4051
- !this.content || e.indexOf(this.content) !== -1 || !this.isSuccess ? (this.form.smsCode && (this.loading = !0), _e(this, "submit", this.form, this.$refs.form, () => {
4055
+ !this.content || e.indexOf(this.content) !== -1 || !this.isSuccess ? (this.form.smsCode && (this.loading = !0), we(this, "submit", this.form, this.$refs.form, () => {
4052
4056
  this.loading = !1;
4053
4057
  })) : this.cancelForm();
4054
4058
  },
@@ -4070,8 +4074,8 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4070
4074
  },
4071
4075
  // 发送验证码
4072
4076
  sendSmsCode(e) {
4073
- this.isSend = !0, tr({ inputMobile: e, type: "userinfo" }).then((t) => {
4074
- this.codeTime = t.expire_second, _e(this, "smsKey", t.key), this.countDown();
4077
+ this.isSend = !0, or({ inputMobile: e, type: "userinfo" }).then((t) => {
4078
+ this.codeTime = t.expire_second, we(this, "smsKey", t.key), this.countDown();
4075
4079
  }).catch(() => {
4076
4080
  this.isSend = !1;
4077
4081
  });
@@ -4091,8 +4095,8 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4091
4095
  t ? r() : r("请输入验证码");
4092
4096
  }
4093
4097
  }
4094
- }), wr = { class: "block" }, Cr = { class: "dialog_form_phone" }, kr = { class: "dialog_form_code" }, vr = { class: "dialog_footer" };
4095
- function Dr(e, t, r, l, u, y) {
4098
+ }), Cr = { class: "block" }, kr = { class: "dialog_form_phone" }, vr = { class: "dialog_form_code" }, Dr = { class: "dialog_footer" };
4099
+ function $r(e, t, r, l, u, y) {
4096
4100
  const s = a("el-input"), i = a("el-form-item"), d = a("el-button"), p = a("el-form"), b = a("el-button-group"), f = a("el-dialog"), g = M("emoji");
4097
4101
  return m(), V("div", null, [
4098
4102
  o(f, {
@@ -4107,7 +4111,7 @@ function Dr(e, t, r, l, u, y) {
4107
4111
  center: ""
4108
4112
  }, {
4109
4113
  default: n(() => [
4110
- T("div", wr, [
4114
+ T("div", Cr, [
4111
4115
  T("h3", null, R(e.title), 1),
4112
4116
  Re(e.$slots, "dialog_body", {}, () => [
4113
4117
  o(p, {
@@ -4117,7 +4121,7 @@ function Dr(e, t, r, l, u, y) {
4117
4121
  class: "dialog_body_form"
4118
4122
  }, {
4119
4123
  default: n(() => [
4120
- T("div", Cr, [
4124
+ T("div", kr, [
4121
4125
  t[3] || (t[3] = T("div", { class: "dialog_phone_area" }, "+86", -1)),
4122
4126
  o(i, {
4123
4127
  class: "form_phone_item",
@@ -4139,7 +4143,7 @@ function Dr(e, t, r, l, u, y) {
4139
4143
  ]),
4140
4144
  o(i, { prop: "smsCode" }, {
4141
4145
  default: n(() => [
4142
- T("div", kr, [
4146
+ T("div", vr, [
4143
4147
  E(o(s, {
4144
4148
  modelValue: e.form.smsCode,
4145
4149
  "onUpdate:modelValue": t[1] || (t[1] = (C) => e.form.smsCode = C),
@@ -4167,7 +4171,7 @@ function Dr(e, t, r, l, u, y) {
4167
4171
  }, 8, ["model", "rules"])
4168
4172
  ], !0)
4169
4173
  ]),
4170
- T("div", vr, [
4174
+ T("div", Dr, [
4171
4175
  o(b, null, {
4172
4176
  default: n(() => [
4173
4177
  o(d, {
@@ -4199,11 +4203,11 @@ function Dr(e, t, r, l, u, y) {
4199
4203
  }, 8, ["modelValue", "before-close", "close"])
4200
4204
  ]);
4201
4205
  }
4202
- const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4"]]), Tr = Y({
4206
+ const Tr = /* @__PURE__ */ z(wr, [["render", $r], ["__scopeId", "data-v-53d9efb4"]]), Sr = Y({
4203
4207
  name: "Verification",
4204
4208
  components: {
4205
- resetPassword: br,
4206
- formDialog: $r
4209
+ resetPassword: _r,
4210
+ formDialog: Tr
4207
4211
  },
4208
4212
  props: {
4209
4213
  appId: {
@@ -4277,7 +4281,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4277
4281
  this.resetAccessKey(e, r);
4278
4282
  return;
4279
4283
  }
4280
- or(u).then((y) => {
4284
+ nr(u).then((y) => {
4281
4285
  switch (r(), this.isSuccess = !0, this.content = this.opreation, this.opreation) {
4282
4286
  case "view-app-key":
4283
4287
  this.viewAppAccessKey(e, r);
@@ -4319,7 +4323,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4319
4323
  // 获取应用appAccessKey
4320
4324
  viewAppAccessKey(e, t) {
4321
4325
  this.$nextTick(() => {
4322
- mr(this.appId).then((r) => {
4326
+ cr(this.appId).then((r) => {
4323
4327
  t(), this.isSuccess = !0, this.title = this.resultTitle, this.accessKey = r.data;
4324
4328
  });
4325
4329
  }).catch(() => {
@@ -4328,7 +4332,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4328
4332
  },
4329
4333
  resetAppAccessKey(e, t) {
4330
4334
  this.$nextTick(() => {
4331
- cr(this.appId).then(() => {
4335
+ hr(this.appId).then(() => {
4332
4336
  t(), this.isSuccess = !0, this.title = "重置AccessKey", this.$refs.formDialog.dialogVisible = !1, this.$refs.formDialog.cancelForm(), q.success("重置成功");
4333
4337
  });
4334
4338
  }).catch(() => {
@@ -4343,7 +4347,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4343
4347
  smsCode: e.smsCode,
4344
4348
  smsKey: this.smsKey
4345
4349
  };
4346
- nr(r).then((l) => {
4350
+ rr(r).then((l) => {
4347
4351
  t(), this.isSuccess = !0, this.title = this.resultTitle, this.content = this.opreation, this.accessKey = l;
4348
4352
  }).catch(() => {
4349
4353
  t();
@@ -4357,7 +4361,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4357
4361
  smsCode: e.smsCode,
4358
4362
  smsKey: this.smsKey
4359
4363
  };
4360
- rr(r).then((l) => {
4364
+ ar(r).then((l) => {
4361
4365
  t(), this.isSuccess = !0, this.content = this.opreation, this.title = "重置用户Accesskey", q.success("重置用户Accesskey成功"), this.accessKey = l.accessKey, this.$refs.formDialog.dialogVisible = !1, this.$refs.formDialog.cancelForm();
4362
4366
  }).catch(() => {
4363
4367
  t();
@@ -4372,7 +4376,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4372
4376
  smsKey: this.smsKey,
4373
4377
  confirmKey: e.confirmKey
4374
4378
  };
4375
- lr(r).then(() => {
4379
+ ir(r).then(() => {
4376
4380
  t(), q({
4377
4381
  message: "修改成功,即将重新登录",
4378
4382
  type: "success"
@@ -4394,11 +4398,11 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4394
4398
  });
4395
4399
  }
4396
4400
  }
4397
- }), Sr = {
4401
+ }), Fr = {
4398
4402
  key: 0,
4399
4403
  class: "auth-main-key"
4400
- }, Fr = ["data-clipboard-text"];
4401
- function Lr(e, t, r, l, u, y) {
4404
+ }, Lr = ["data-clipboard-text"];
4405
+ function Er(e, t, r, l, u, y) {
4402
4406
  const s = a("resetPassword"), i = a("formDialog");
4403
4407
  return m(), _(i, {
4404
4408
  ref: "formDialog",
@@ -4414,13 +4418,13 @@ function Lr(e, t, r, l, u, y) {
4414
4418
  onCancel: e.cancel
4415
4419
  }, {
4416
4420
  dialog_body: n(() => [
4417
- e.content === "view-auth" || e.content === "view-app-key" ? (m(), V("div", Sr, [
4421
+ e.content === "view-auth" || e.content === "view-app-key" ? (m(), V("div", Fr, [
4418
4422
  T("span", null, R(e.accessKey), 1),
4419
4423
  T("span", {
4420
4424
  class: "auth-main-copy",
4421
4425
  "data-clipboard-text": e.accessKey,
4422
4426
  onClick: t[0] || (t[0] = (...d) => e.handleCopy && e.handleCopy(...d))
4423
- }, "复制", 8, Fr)
4427
+ }, "复制", 8, Lr)
4424
4428
  ])) : P("", !0),
4425
4429
  e.content === "password-binding" ? (m(), _(s, {
4426
4430
  key: 1,
@@ -4432,7 +4436,7 @@ function Lr(e, t, r, l, u, y) {
4432
4436
  _: 1
4433
4437
  }, 8, ["title", "submit-text", "sure-text", "loading", "phone", "is-success", "content", "onSmsKey", "onSubmit", "onCancel"]);
4434
4438
  }
4435
- const Kt = /* @__PURE__ */ z(Tr, [["render", Lr], ["__scopeId", "data-v-d603bb16"]]), Er = Y({
4439
+ const Kt = /* @__PURE__ */ z(Sr, [["render", Er], ["__scopeId", "data-v-d603bb16"]]), Rr = Y({
4436
4440
  components: {
4437
4441
  pageDataInfo: Nt,
4438
4442
  verify: Kt,
@@ -4479,7 +4483,7 @@ const Kt = /* @__PURE__ */ z(Tr, [["render", Lr], ["__scopeId", "data-v-d603bb16
4479
4483
  }
4480
4484
  }
4481
4485
  });
4482
- function Rr(e, t, r, l, u, y) {
4486
+ function Pr(e, t, r, l, u, y) {
4483
4487
  const s = a("pageDataInfo"), i = a("verify"), d = a("ObjectPage"), p = M("loading");
4484
4488
  return E((m(), _(d, { class: "userApply_detail_wrapper" }, {
4485
4489
  header: n(() => [
@@ -4507,7 +4511,7 @@ function Rr(e, t, r, l, u, y) {
4507
4511
  [p, e.loading]
4508
4512
  ]);
4509
4513
  }
4510
- const Fs = /* @__PURE__ */ z(Er, [["render", Rr], ["__scopeId", "data-v-91f662c8"]]), Pr = Y({
4514
+ const Ls = /* @__PURE__ */ z(Rr, [["render", Pr], ["__scopeId", "data-v-91f662c8"]]), Nr = Y({
4511
4515
  components: {
4512
4516
  xdmpDrawer: ee
4513
4517
  },
@@ -4583,7 +4587,7 @@ const Fs = /* @__PURE__ */ z(Er, [["render", Rr], ["__scopeId", "data-v-91f662c8
4583
4587
  }
4584
4588
  }
4585
4589
  });
4586
- function Nr(e, t, r, l, u, y) {
4590
+ function Ir(e, t, r, l, u, y) {
4587
4591
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-input-number"), f = a("el-form"), g = a("xdmpDrawer"), C = M("loading");
4588
4592
  return m(), V("div", null, [
4589
4593
  o(g, {
@@ -4782,11 +4786,11 @@ function Nr(e, t, r, l, u, y) {
4782
4786
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
4783
4787
  ]);
4784
4788
  }
4785
- const Ir = /* @__PURE__ */ z(Pr, [["render", Nr]]), Vr = Y({
4789
+ const Vr = /* @__PURE__ */ z(Nr, [["render", Ir]]), qr = Y({
4786
4790
  components: {
4787
4791
  ListReport: oe,
4788
4792
  pageDesc: te,
4789
- clientDrawer: Ir,
4793
+ clientDrawer: Vr,
4790
4794
  DocumentCopy: ut
4791
4795
  },
4792
4796
  data() {
@@ -4919,13 +4923,13 @@ const Ir = /* @__PURE__ */ z(Pr, [["render", Nr]]), Vr = Y({
4919
4923
  this.queryParams.pageNo = e, this.getClientList();
4920
4924
  }
4921
4925
  }
4922
- }), qr = { class: "client_wrapper" }, Or = {
4926
+ }), Or = { class: "client_wrapper" }, Ar = {
4923
4927
  key: 0,
4924
4928
  class: "secret-cell"
4925
- }, Ar = { class: "secret-value" }, Mr = ["data-clipboard-text"], Ur = { key: 1 };
4926
- function zr(e, t, r, l, u, y) {
4929
+ }, Mr = { class: "secret-value" }, Ur = ["data-clipboard-text"], zr = { key: 1 };
4930
+ function Yr(e, t, r, l, u, y) {
4927
4931
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("DocumentCopy"), C = a("el-icon"), k = a("el-divider"), v = a("el-tooltip"), S = a("el-table"), U = a("el-pagination"), I = a("ListReport"), w = a("clientDrawer"), D = M("loading");
4928
- return m(), V("div", qr, [
4932
+ return m(), V("div", Or, [
4929
4933
  o(s, { desc: "平台提供多应用业务管理,提供基于应用的 OAuth2 认证、单点登录支持,可以进行新建、查看、编辑、删除等应用业务管理操作。" }),
4930
4934
  E((m(), _(I, { class: "client_block" }, {
4931
4935
  filter: n(() => [
@@ -5021,8 +5025,8 @@ function zr(e, t, r, l, u, y) {
5021
5025
  "min-width": "220"
5022
5026
  }, {
5023
5027
  default: n((h) => [
5024
- h.row.clientSecret ? (m(), V("div", Or, [
5025
- T("span", Ar, R(e.maskSecret(h.row.clientSecret)), 1),
5028
+ h.row.clientSecret ? (m(), V("div", Ar, [
5029
+ T("span", Mr, R(e.maskSecret(h.row.clientSecret)), 1),
5026
5030
  T("div", {
5027
5031
  class: "copy-btn",
5028
5032
  "data-clipboard-text": h.row.clientId + `
@@ -5035,8 +5039,8 @@ function zr(e, t, r, l, u, y) {
5035
5039
  ]),
5036
5040
  _: 1
5037
5041
  })
5038
- ], 8, Mr)
5039
- ])) : (m(), V("span", Ur, "-"))
5042
+ ], 8, Ur)
5043
+ ])) : (m(), V("span", zr, "-"))
5040
5044
  ]),
5041
5045
  _: 1
5042
5046
  }),
@@ -5175,29 +5179,29 @@ function zr(e, t, r, l, u, y) {
5175
5179
  }, null, 8, ["onReload"])
5176
5180
  ]);
5177
5181
  }
5178
- const Ls = /* @__PURE__ */ z(Vr, [["render", zr], ["__scopeId", "data-v-5b35fed2"]]), Yr = "system-config-updated", jr = "systemConfig";
5179
- async function Br() {
5182
+ const Es = /* @__PURE__ */ z(qr, [["render", Yr], ["__scopeId", "data-v-5b35fed2"]]), jr = "system-config-updated", Br = "systemConfig";
5183
+ async function Kr() {
5180
5184
  try {
5181
- const e = await L().passport.auth.getSystemConfig(), t = await Promise.all((e.items || []).map(Kr)), r = {
5185
+ const e = await L().passport.auth.getSystemConfig(), t = await Promise.all((e.items || []).map(Hr)), r = {
5182
5186
  categoryKey: e.categoryKey,
5183
5187
  categoryName: e.categoryName,
5184
5188
  items: t
5185
5189
  };
5186
- return localStorage.setItem(jr, JSON.stringify(r)), window.dispatchEvent(new CustomEvent(Yr, { detail: r })), r;
5190
+ return localStorage.setItem(Br, JSON.stringify(r)), window.dispatchEvent(new CustomEvent(jr, { detail: r })), r;
5187
5191
  } catch (e) {
5188
5192
  return console.warn("获取 SYSTEM_CONFIG 失败:", e), null;
5189
5193
  }
5190
5194
  }
5191
- async function Kr(e) {
5195
+ async function Hr(e) {
5192
5196
  if (e.type !== "FILE" || !e.value) return e;
5193
5197
  try {
5194
- const t = await lt(e.value), r = await Hr(t);
5198
+ const t = await lt(e.value), r = await Qr(t);
5195
5199
  return { ...e, _blobUrl: r };
5196
5200
  } catch (t) {
5197
5201
  return console.warn(`处理配置项 ${e.key} 文件下载失败:`, t), e;
5198
5202
  }
5199
5203
  }
5200
- function Hr(e) {
5204
+ function Qr(e) {
5201
5205
  return new Promise((t, r) => {
5202
5206
  const l = new window.FileReader();
5203
5207
  l.onload = (u) => {
@@ -5206,7 +5210,7 @@ function Hr(e) {
5206
5210
  }, l.onerror = () => r(new Error("文件读取失败")), l.readAsArrayBuffer(e);
5207
5211
  });
5208
5212
  }
5209
- const Xe = {}, Qr = Y({
5213
+ const Xe = {}, Gr = Y({
5210
5214
  components: {
5211
5215
  xdmpDrawer: ee
5212
5216
  },
@@ -5302,7 +5306,7 @@ const Xe = {}, Qr = Y({
5302
5306
  }))
5303
5307
  }, u = L().system.config;
5304
5308
  (this.mode === "edit" ? u.update(this.configId, { ...l, id: this.configId }) : u.add(l)).then(() => {
5305
- t.hideLoading(), q.success(this.mode === "edit" ? "编辑成功" : "新建成功"), t.cancelForm(), this.$emit("reload"), l.categoryKey === "SYSTEM_CONFIG" && Br();
5309
+ t.hideLoading(), q.success(this.mode === "edit" ? "编辑成功" : "新建成功"), t.cancelForm(), this.$emit("reload"), l.categoryKey === "SYSTEM_CONFIG" && Kr();
5306
5310
  }).catch(() => {
5307
5311
  t.hideLoading(), q.error("保存失败");
5308
5312
  });
@@ -5342,11 +5346,11 @@ const Xe = {}, Qr = Y({
5342
5346
  }
5343
5347
  }
5344
5348
  }
5345
- }), Gr = { class: "config-item-body" }, Jr = { class: "config-item-meta" }, Wr = {
5349
+ }), Jr = { class: "config-item-body" }, Wr = { class: "config-item-meta" }, Zr = {
5346
5350
  key: 2,
5347
5351
  class: "config-item-file"
5348
- }, Zr = { class: "config-add-btn-wrapper" };
5349
- function Xr(e, t, r, l, u, y) {
5352
+ }, Xr = { class: "config-add-btn-wrapper" };
5353
+ function xr(e, t, r, l, u, y) {
5350
5354
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("el-option"), b = a("el-select"), f = a("el-input-number"), g = a("el-image"), C = a("el-button"), k = a("el-upload"), v = a("el-switch"), S = a("el-tooltip"), U = a("xdmpDrawer");
5351
5355
  return m(), V("div", null, [
5352
5356
  o(U, {
@@ -5423,8 +5427,8 @@ function Xr(e, t, r, l, u, y) {
5423
5427
  key: w,
5424
5428
  class: Ne(["config-item-row", { "config-item-new": !I.key }])
5425
5429
  }, [
5426
- T("div", Gr, [
5427
- T("div", Jr, [
5430
+ T("div", Jr, [
5431
+ T("div", Wr, [
5428
5432
  o(b, {
5429
5433
  modelValue: I.type,
5430
5434
  "onUpdate:modelValue": (D) => I.type = D,
@@ -5474,7 +5478,7 @@ function Xr(e, t, r, l, u, y) {
5474
5478
  placeholder: "配置项值",
5475
5479
  controls: !0,
5476
5480
  style: { width: "100%" }
5477
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : I.type === "FILE" ? (m(), V("div", Wr, [
5481
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : I.type === "FILE" ? (m(), V("div", Zr, [
5478
5482
  I._previewUrl ? (m(), _(g, {
5479
5483
  key: 0,
5480
5484
  src: I._previewUrl,
@@ -5542,7 +5546,7 @@ function Xr(e, t, r, l, u, y) {
5542
5546
  placement: "top"
5543
5547
  }, {
5544
5548
  default: n(() => [
5545
- T("span", Zr, [
5549
+ T("span", Xr, [
5546
5550
  o(C, {
5547
5551
  icon: "Plus",
5548
5552
  class: "config-add-btn",
@@ -5563,9 +5567,9 @@ function Xr(e, t, r, l, u, y) {
5563
5567
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
5564
5568
  ]);
5565
5569
  }
5566
- const xr = /* @__PURE__ */ z(Qr, [["render", Xr], ["__scopeId", "data-v-3231d16a"]]), ea = Y({
5570
+ const ea = /* @__PURE__ */ z(Gr, [["render", xr], ["__scopeId", "data-v-3231d16a"]]), ta = Y({
5567
5571
  components: {
5568
- configDrawer: xr,
5572
+ configDrawer: ea,
5569
5573
  pageDesc: te,
5570
5574
  ListReport: oe
5571
5575
  },
@@ -5637,10 +5641,10 @@ const xr = /* @__PURE__ */ z(Qr, [["render", Xr], ["__scopeId", "data-v-3231d16a
5637
5641
  this.queryParams.pageNo = e, this.getConfigList();
5638
5642
  }
5639
5643
  }
5640
- }), ta = { class: "config_wrapper" }, oa = { class: "searchInputCustomStyle" };
5641
- function na(e, t, r, l, u, y) {
5644
+ }), oa = { class: "config_wrapper" }, na = { class: "searchInputCustomStyle" };
5645
+ function ra(e, t, r, l, u, y) {
5642
5646
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("configDrawer"), I = M("loading");
5643
- return m(), V("div", ta, [
5647
+ return m(), V("div", oa, [
5644
5648
  o(s, { desc: "配置管理,支持系统配置信息的增删改查。" }),
5645
5649
  E((m(), _(S, { class: "config_block" }, {
5646
5650
  filter: n(() => [
@@ -5696,7 +5700,7 @@ function na(e, t, r, l, u, y) {
5696
5700
  }, 8, ["model", "onSubmit"])
5697
5701
  ]),
5698
5702
  toolbar: n(() => [
5699
- T("div", oa, [
5703
+ T("div", na, [
5700
5704
  e.checkPermission(["ROLE_CONFIG_CREATE"]) ? (m(), _(p, {
5701
5705
  key: 0,
5702
5706
  type: "primary",
@@ -5824,7 +5828,7 @@ function na(e, t, r, l, u, y) {
5824
5828
  }, null, 8, ["onReload"])
5825
5829
  ]);
5826
5830
  }
5827
- const Es = /* @__PURE__ */ z(ea, [["render", na], ["__scopeId", "data-v-ec00582b"]]), ra = Y({
5831
+ const Rs = /* @__PURE__ */ z(ta, [["render", ra], ["__scopeId", "data-v-ec00582b"]]), aa = Y({
5828
5832
  components: {
5829
5833
  ListReport: oe,
5830
5834
  PageDesc: te
@@ -5875,10 +5879,10 @@ const Es = /* @__PURE__ */ z(ea, [["render", na], ["__scopeId", "data-v-ec00582b
5875
5879
  });
5876
5880
  }
5877
5881
  }
5878
- }), aa = { class: "cache_wrapper" };
5879
- function la(e, t, r, l, u, y) {
5882
+ }), la = { class: "cache_wrapper" };
5883
+ function ia(e, t, r, l, u, y) {
5880
5884
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-table"), C = a("ListReport"), k = M("loading");
5881
- return m(), V("div", aa, [
5885
+ return m(), V("div", la, [
5882
5886
  o(s, { desc: "缓存管理,支持按用户账号或全局清理系统缓存。" }),
5883
5887
  E((m(), _(C, { class: "cache_block" }, {
5884
5888
  filter: n(() => [
@@ -5987,7 +5991,7 @@ function la(e, t, r, l, u, y) {
5987
5991
  ])
5988
5992
  ]);
5989
5993
  }
5990
- const Rs = /* @__PURE__ */ z(ra, [["render", la], ["__scopeId", "data-v-e0fece77"]]), ia = Y({
5994
+ const Ps = /* @__PURE__ */ z(aa, [["render", ia], ["__scopeId", "data-v-e0fece77"]]), sa = Y({
5991
5995
  name: "",
5992
5996
  components: { ElForm: dt, ElFormItem: st, ElInput: it, ElOption: Lo, ElSelect: Fo, xdmpDrawer: ee },
5993
5997
  emits: ["reload"],
@@ -6054,14 +6058,14 @@ const Rs = /* @__PURE__ */ z(ra, [["render", la], ["__scopeId", "data-v-e0fece77
6054
6058
  submit() {
6055
6059
  this.$refs.form.validate((e) => {
6056
6060
  if (e) {
6057
- const t = this.form.id ? Bt : sr, r = {
6061
+ const t = this.form.id ? Bt : dr, r = {
6058
6062
  appName: this.form.appName,
6059
6063
  subjectId: this.form.subjectId,
6060
6064
  comment: this.form.comment,
6061
6065
  type: this.form.type
6062
6066
  };
6063
6067
  this.form.id && (r.id = this.form.id), this.$refs.xdmpDrawer.showLoading(), t(r).then(() => {
6064
- this.$refs.xdmpDrawer.cancelForm(), this.$refs.xdmpDrawer.hideLoading(), _e(this, "reload");
6068
+ this.$refs.xdmpDrawer.cancelForm(), this.$refs.xdmpDrawer.hideLoading(), we(this, "reload");
6065
6069
  }).catch(() => {
6066
6070
  this.$refs.xdmpDrawer.hideLoading();
6067
6071
  }), console.log(r);
@@ -6078,7 +6082,7 @@ const Rs = /* @__PURE__ */ z(ra, [["render", la], ["__scopeId", "data-v-e0fece77
6078
6082
  }
6079
6083
  }
6080
6084
  });
6081
- function sa(e, t, r, l, u, y) {
6085
+ function da(e, t, r, l, u, y) {
6082
6086
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-form"), f = a("xdmpDrawer"), g = M("emoji");
6083
6087
  return m(), _(f, {
6084
6088
  ref: "xdmpDrawer",
@@ -6163,7 +6167,7 @@ function sa(e, t, r, l, u, y) {
6163
6167
  _: 3
6164
6168
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
6165
6169
  }
6166
- const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b"]]), ua = Y({
6170
+ const ua = /* @__PURE__ */ z(sa, [["render", da], ["__scopeId", "data-v-babb5d0b"]]), pa = Y({
6167
6171
  name: "",
6168
6172
  components: { ElCheckbox: Ro, ElCheckboxGroup: Eo, xdmpDrawer: ee },
6169
6173
  emits: ["reload"],
@@ -6182,7 +6186,7 @@ const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b
6182
6186
  },
6183
6187
  methods: {
6184
6188
  init(e, t) {
6185
- this.form.appId = e.id, this.form.apiId = [], ur(e.id).then((r) => {
6189
+ this.form.appId = e.id, this.form.apiId = [], pr(e.id).then((r) => {
6186
6190
  t(), this.checkboxList = r, this.checkboxList.forEach((l) => {
6187
6191
  l.selected == 1 && this.form.apiId.push(l.id);
6188
6192
  }), this.$refs.xdmpDrawer.init();
@@ -6191,8 +6195,8 @@ const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b
6191
6195
  });
6192
6196
  },
6193
6197
  submit() {
6194
- this.$refs.xdmpDrawer.showLoading(), pr(this.form).then(() => {
6195
- this.$refs.xdmpDrawer.hideLoading(), _e(this, "reload"), q.success("授权成功"), this.$refs.xdmpDrawer.cancelForm();
6198
+ this.$refs.xdmpDrawer.showLoading(), mr(this.form).then(() => {
6199
+ this.$refs.xdmpDrawer.hideLoading(), we(this, "reload"), q.success("授权成功"), this.$refs.xdmpDrawer.cancelForm();
6196
6200
  }).catch(() => {
6197
6201
  this.$refs.xdmpDrawer.hideLoading();
6198
6202
  });
@@ -6201,8 +6205,8 @@ const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b
6201
6205
  this.checkboxList = [], this.form.appId = [], this.form.apiId = "";
6202
6206
  }
6203
6207
  }
6204
- }), pa = { class: "boxTitle" };
6205
- function ma(e, t, r, l, u, y) {
6208
+ }), ma = { class: "boxTitle" };
6209
+ function ca(e, t, r, l, u, y) {
6206
6210
  const s = a("el-checkbox"), i = a("el-checkbox-group"), d = a("xdmpDrawer");
6207
6211
  return m(), _(d, {
6208
6212
  ref: "xdmpDrawer",
@@ -6226,7 +6230,7 @@ function ma(e, t, r, l, u, y) {
6226
6230
  label: p.id
6227
6231
  }, {
6228
6232
  default: n(() => [
6229
- T("div", pa, R(p.apiName), 1)
6233
+ T("div", ma, R(p.apiName), 1)
6230
6234
  ]),
6231
6235
  _: 2
6232
6236
  }, 1032, ["label"])
@@ -6239,7 +6243,7 @@ function ma(e, t, r, l, u, y) {
6239
6243
  _: 3
6240
6244
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
6241
6245
  }
6242
- const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c"]]), ha = Y({
6246
+ const ha = /* @__PURE__ */ z(pa, [["render", ca], ["__scopeId", "data-v-79cbb79c"]]), fa = Y({
6243
6247
  components: {
6244
6248
  ListReport: oe,
6245
6249
  ElButton: qt,
@@ -6247,8 +6251,8 @@ const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c
6247
6251
  ElTable: No,
6248
6252
  ElTableColumn: Po,
6249
6253
  searchForm: vo,
6250
- appDialog: da,
6251
- appAuthDialog: ca,
6254
+ appDialog: ua,
6255
+ appAuthDialog: ha,
6252
6256
  pageDesc: te
6253
6257
  },
6254
6258
  data() {
@@ -6277,7 +6281,7 @@ const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c
6277
6281
  methods: {
6278
6282
  // 获取列表
6279
6283
  init() {
6280
- this.loading = !0, ir(this.queryParams).then((e) => {
6284
+ this.loading = !0, sr(this.queryParams).then((e) => {
6281
6285
  this.loading = !1, this.appList = e;
6282
6286
  }).catch(() => {
6283
6287
  this.loading = !1;
@@ -6333,10 +6337,10 @@ const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c
6333
6337
  });
6334
6338
  }
6335
6339
  }
6336
- }), fa = { class: "userApply_wrapper" }, ga = ["data-clipboard-text"];
6337
- function ya(e, t, r, l, u, y) {
6340
+ }), ga = { class: "userApply_wrapper" }, ya = ["data-clipboard-text"];
6341
+ function ba(e, t, r, l, u, y) {
6338
6342
  const s = a("pageDesc"), i = a("searchForm"), d = a("el-button"), p = a("el-table-column"), b = a("el-divider"), f = a("el-table"), g = a("ListReport"), C = a("appDialog"), k = a("appAuthDialog"), v = M("loading");
6339
- return m(), V("div", fa, [
6343
+ return m(), V("div", ga, [
6340
6344
  o(s, { desc: "平台提供开放能力,可以进行新建、查看、编辑、授权等操作。" }),
6341
6345
  E((m(), _(g, { class: "userApply_block" }, {
6342
6346
  filter: n(() => [
@@ -6384,7 +6388,7 @@ function ya(e, t, r, l, u, y) {
6384
6388
  class: "el-icon-copy-document copy auth-main-copy",
6385
6389
  "data-clipboard-text": S.row.appSecret,
6386
6390
  onClick: t[0] || (t[0] = (...U) => e.handleCopy && e.handleCopy(...U))
6387
- }, null, 8, ga)
6391
+ }, null, 8, ya)
6388
6392
  ]),
6389
6393
  _: 1
6390
6394
  }),
@@ -6476,7 +6480,7 @@ function ya(e, t, r, l, u, y) {
6476
6480
  }, null, 8, ["onReload"])
6477
6481
  ]);
6478
6482
  }
6479
- const Ps = /* @__PURE__ */ z(ha, [["render", ya], ["__scopeId", "data-v-0b2b31ff"]]), ba = Y({
6483
+ const Ns = /* @__PURE__ */ z(fa, [["render", ba], ["__scopeId", "data-v-0b2b31ff"]]), _a = Y({
6480
6484
  components: {
6481
6485
  ObjectPage: Vt,
6482
6486
  pageDataInfo: Nt,
@@ -6546,7 +6550,7 @@ const Ps = /* @__PURE__ */ z(ha, [["render", ya], ["__scopeId", "data-v-0b2b31ff
6546
6550
  methods: {
6547
6551
  // 获取列表
6548
6552
  init() {
6549
- this.loading = !0, dr(this.appId).then((e) => {
6553
+ this.loading = !0, ur(this.appId).then((e) => {
6550
6554
  this.detail = e, this.detail.enableText = this.detail.enable == 0 ? "启用" : "禁用", Object.keys(this.detail).forEach((t) => {
6551
6555
  t.includes("Time") && (this.detail[t] = O(this.detail[t]).format(
6552
6556
  "yyyy-MM-DD HH:mm:ss"
@@ -6559,7 +6563,7 @@ const Ps = /* @__PURE__ */ z(ha, [["render", ya], ["__scopeId", "data-v-0b2b31ff
6559
6563
  }
6560
6564
  }
6561
6565
  });
6562
- function _a(e, t, r, l, u, y) {
6566
+ function wa(e, t, r, l, u, y) {
6563
6567
  const s = a("pageDataInfo"), i = a("verify"), d = a("ObjectPage"), p = M("loading");
6564
6568
  return E((m(), _(d, { class: "userApply_detail_wrapper" }, {
6565
6569
  header: n(() => [
@@ -6587,7 +6591,7 @@ function _a(e, t, r, l, u, y) {
6587
6591
  [p, e.loading]
6588
6592
  ]);
6589
6593
  }
6590
- const Ns = /* @__PURE__ */ z(ba, [["render", _a], ["__scopeId", "data-v-9bf37e79"]]);
6594
+ const Is = /* @__PURE__ */ z(_a, [["render", wa], ["__scopeId", "data-v-9bf37e79"]]);
6591
6595
  function Ht(e) {
6592
6596
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
6593
6597
  throw new Error("map is read-only");
@@ -6622,7 +6626,7 @@ function ve(e, ...t) {
6622
6626
  }), /** @type {T} */
6623
6627
  r;
6624
6628
  }
6625
- const wa = "</span>", $t = (e) => !!e.scope, Ca = (e, { prefix: t }) => {
6629
+ const Ca = "</span>", $t = (e) => !!e.scope, ka = (e, { prefix: t }) => {
6626
6630
  if (e.startsWith("language:"))
6627
6631
  return e.replace("language:", "language-");
6628
6632
  if (e.includes(".")) {
@@ -6634,7 +6638,7 @@ const wa = "</span>", $t = (e) => !!e.scope, Ca = (e, { prefix: t }) => {
6634
6638
  }
6635
6639
  return `${t}${e}`;
6636
6640
  };
6637
- class ka {
6641
+ class va {
6638
6642
  /**
6639
6643
  * Creates a new HTMLRenderer
6640
6644
  *
@@ -6657,7 +6661,7 @@ class ka {
6657
6661
  * @param {Node} node */
6658
6662
  openNode(t) {
6659
6663
  if (!$t(t)) return;
6660
- const r = Ca(
6664
+ const r = ka(
6661
6665
  t.scope,
6662
6666
  { prefix: this.classPrefix }
6663
6667
  );
@@ -6668,7 +6672,7 @@ class ka {
6668
6672
  *
6669
6673
  * @param {Node} node */
6670
6674
  closeNode(t) {
6671
- $t(t) && (this.buffer += wa);
6675
+ $t(t) && (this.buffer += Ca);
6672
6676
  }
6673
6677
  /**
6674
6678
  * returns the accumulated buffer
@@ -6741,7 +6745,7 @@ class ht {
6741
6745
  }));
6742
6746
  }
6743
6747
  }
6744
- class va extends ht {
6748
+ class Da extends ht {
6745
6749
  /**
6746
6750
  * @param {*} options
6747
6751
  */
@@ -6770,7 +6774,7 @@ class va extends ht {
6770
6774
  r && (l.scope = `language:${r}`), this.add(l);
6771
6775
  }
6772
6776
  toHTML() {
6773
- return new ka(this, this.options).value();
6777
+ return new va(this, this.options).value();
6774
6778
  }
6775
6779
  finalize() {
6776
6780
  return this.closeAllNodes(), !0;
@@ -6782,30 +6786,30 @@ function Ve(e) {
6782
6786
  function Gt(e) {
6783
6787
  return Te("(?=", e, ")");
6784
6788
  }
6785
- function Da(e) {
6789
+ function $a(e) {
6786
6790
  return Te("(?:", e, ")*");
6787
6791
  }
6788
- function $a(e) {
6792
+ function Ta(e) {
6789
6793
  return Te("(?:", e, ")?");
6790
6794
  }
6791
6795
  function Te(...e) {
6792
6796
  return e.map((r) => Ve(r)).join("");
6793
6797
  }
6794
- function Ta(e) {
6798
+ function Sa(e) {
6795
6799
  const t = e[e.length - 1];
6796
6800
  return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
6797
6801
  }
6798
6802
  function Ke(...e) {
6799
- return "(" + (Ta(e).capture ? "" : "?:") + e.map((l) => Ve(l)).join("|") + ")";
6803
+ return "(" + (Sa(e).capture ? "" : "?:") + e.map((l) => Ve(l)).join("|") + ")";
6800
6804
  }
6801
6805
  function Jt(e) {
6802
6806
  return new RegExp(e.toString() + "|").exec("").length - 1;
6803
6807
  }
6804
- function Sa(e, t) {
6808
+ function Fa(e, t) {
6805
6809
  const r = e && e.exec(t);
6806
6810
  return r && r.index === 0;
6807
6811
  }
6808
- const Fa = new RegExp(Ke(
6812
+ const La = new RegExp(Ke(
6809
6813
  /\[(?:[^\\\]]|\\.)*\]/,
6810
6814
  // a character class, inside which ( and \ lose their meaning
6811
6815
  /\(\?<(?![=!])[^>]+>/,
@@ -6826,7 +6830,7 @@ function ft(e, { joinWith: t }) {
6826
6830
  const u = r;
6827
6831
  let y = Ve(l), s = "";
6828
6832
  for (; y.length > 0; ) {
6829
- const i = Fa.exec(y);
6833
+ const i = La.exec(y);
6830
6834
  if (!i) {
6831
6835
  s += y;
6832
6836
  break;
@@ -6836,7 +6840,7 @@ function ft(e, { joinWith: t }) {
6836
6840
  return s;
6837
6841
  }).map((l) => `(${l})`).join(t);
6838
6842
  }
6839
- const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\\d+)?", Xt = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", xt = "\\b(0b[01]+)", Ea = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Ra = (e = {}) => {
6843
+ const Ea = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\\d+)?", Xt = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", xt = "\\b(0b[01]+)", Ra = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Pa = (e = {}) => {
6840
6844
  const t = /^#![ ]*\//;
6841
6845
  return e.binary && (e.begin = Te(
6842
6846
  t,
@@ -6856,19 +6860,19 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6856
6860
  }, qe = {
6857
6861
  begin: "\\\\[\\s\\S]",
6858
6862
  relevance: 0
6859
- }, Pa = {
6863
+ }, Na = {
6860
6864
  scope: "string",
6861
6865
  begin: "'",
6862
6866
  end: "'",
6863
6867
  illegal: "\\n",
6864
6868
  contains: [qe]
6865
- }, Na = {
6869
+ }, Ia = {
6866
6870
  scope: "string",
6867
6871
  begin: '"',
6868
6872
  end: '"',
6869
6873
  illegal: "\\n",
6870
6874
  contains: [qe]
6871
- }, Ia = {
6875
+ }, Va = {
6872
6876
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
6873
6877
  }, He = function(e, t, r = {}) {
6874
6878
  const l = ve(
@@ -6936,19 +6940,19 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6936
6940
  // look for 3 words in a row
6937
6941
  }
6938
6942
  ), l;
6939
- }, Va = He("//", "$"), qa = He("/\\*", "\\*/"), Oa = He("#", "$"), Aa = {
6943
+ }, qa = He("//", "$"), Oa = He("/\\*", "\\*/"), Aa = He("#", "$"), Ma = {
6940
6944
  scope: "number",
6941
6945
  begin: Zt,
6942
6946
  relevance: 0
6943
- }, Ma = {
6947
+ }, Ua = {
6944
6948
  scope: "number",
6945
6949
  begin: Xt,
6946
6950
  relevance: 0
6947
- }, Ua = {
6951
+ }, za = {
6948
6952
  scope: "number",
6949
6953
  begin: xt,
6950
6954
  relevance: 0
6951
- }, za = {
6955
+ }, Ya = {
6952
6956
  scope: "regexp",
6953
6957
  begin: /\/(?=[^/\n]*\/)/,
6954
6958
  end: /\/[gimuy]*/,
@@ -6961,19 +6965,19 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6961
6965
  contains: [qe]
6962
6966
  }
6963
6967
  ]
6964
- }, Ya = {
6968
+ }, ja = {
6965
6969
  scope: "title",
6966
6970
  begin: Wt,
6967
6971
  relevance: 0
6968
- }, ja = {
6972
+ }, Ba = {
6969
6973
  scope: "title",
6970
6974
  begin: gt,
6971
6975
  relevance: 0
6972
- }, Ba = {
6976
+ }, Ka = {
6973
6977
  // excludes method names from keyword processing
6974
6978
  begin: "\\.\\s*" + gt,
6975
6979
  relevance: 0
6976
- }, Ka = function(e) {
6980
+ }, Ha = function(e) {
6977
6981
  return Object.assign(
6978
6982
  e,
6979
6983
  {
@@ -6990,53 +6994,53 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6990
6994
  };
6991
6995
  var Ye = /* @__PURE__ */ Object.freeze({
6992
6996
  __proto__: null,
6993
- APOS_STRING_MODE: Pa,
6997
+ APOS_STRING_MODE: Na,
6994
6998
  BACKSLASH_ESCAPE: qe,
6995
- BINARY_NUMBER_MODE: Ua,
6999
+ BINARY_NUMBER_MODE: za,
6996
7000
  BINARY_NUMBER_RE: xt,
6997
7001
  COMMENT: He,
6998
- C_BLOCK_COMMENT_MODE: qa,
6999
- C_LINE_COMMENT_MODE: Va,
7000
- C_NUMBER_MODE: Ma,
7002
+ C_BLOCK_COMMENT_MODE: Oa,
7003
+ C_LINE_COMMENT_MODE: qa,
7004
+ C_NUMBER_MODE: Ua,
7001
7005
  C_NUMBER_RE: Xt,
7002
- END_SAME_AS_BEGIN: Ka,
7003
- HASH_COMMENT_MODE: Oa,
7006
+ END_SAME_AS_BEGIN: Ha,
7007
+ HASH_COMMENT_MODE: Aa,
7004
7008
  IDENT_RE: Wt,
7005
- MATCH_NOTHING_RE: La,
7006
- METHOD_GUARD: Ba,
7007
- NUMBER_MODE: Aa,
7009
+ MATCH_NOTHING_RE: Ea,
7010
+ METHOD_GUARD: Ka,
7011
+ NUMBER_MODE: Ma,
7008
7012
  NUMBER_RE: Zt,
7009
- PHRASAL_WORDS_MODE: Ia,
7010
- QUOTE_STRING_MODE: Na,
7011
- REGEXP_MODE: za,
7012
- RE_STARTERS_RE: Ea,
7013
- SHEBANG: Ra,
7014
- TITLE_MODE: Ya,
7013
+ PHRASAL_WORDS_MODE: Va,
7014
+ QUOTE_STRING_MODE: Ia,
7015
+ REGEXP_MODE: Ya,
7016
+ RE_STARTERS_RE: Ra,
7017
+ SHEBANG: Pa,
7018
+ TITLE_MODE: ja,
7015
7019
  UNDERSCORE_IDENT_RE: gt,
7016
- UNDERSCORE_TITLE_MODE: ja
7020
+ UNDERSCORE_TITLE_MODE: Ba
7017
7021
  });
7018
- function Ha(e, t) {
7019
- e.input[e.index - 1] === "." && t.ignoreMatch();
7020
- }
7021
7022
  function Qa(e, t) {
7022
- e.className !== void 0 && (e.scope = e.className, delete e.className);
7023
+ e.input[e.index - 1] === "." && t.ignoreMatch();
7023
7024
  }
7024
7025
  function Ga(e, t) {
7025
- t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Ha, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
7026
+ e.className !== void 0 && (e.scope = e.className, delete e.className);
7026
7027
  }
7027
7028
  function Ja(e, t) {
7028
- Array.isArray(e.illegal) && (e.illegal = Ke(...e.illegal));
7029
+ t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Qa, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
7029
7030
  }
7030
7031
  function Wa(e, t) {
7032
+ Array.isArray(e.illegal) && (e.illegal = Ke(...e.illegal));
7033
+ }
7034
+ function Za(e, t) {
7031
7035
  if (e.match) {
7032
7036
  if (e.begin || e.end) throw new Error("begin & end are not supported with match");
7033
7037
  e.begin = e.match, delete e.match;
7034
7038
  }
7035
7039
  }
7036
- function Za(e, t) {
7040
+ function Xa(e, t) {
7037
7041
  e.relevance === void 0 && (e.relevance = 1);
7038
7042
  }
7039
- const Xa = (e, t) => {
7043
+ const xa = (e, t) => {
7040
7044
  if (!e.beforeMatch) return;
7041
7045
  if (e.starts) throw new Error("beforeMatch cannot be used with starts");
7042
7046
  const r = Object.assign({}, e);
@@ -7048,7 +7052,7 @@ const Xa = (e, t) => {
7048
7052
  Object.assign(r, { endsParent: !0 })
7049
7053
  ]
7050
7054
  }, e.relevance = 0, delete r.beforeMatch;
7051
- }, xa = [
7055
+ }, el = [
7052
7056
  "of",
7053
7057
  "and",
7054
7058
  "for",
@@ -7063,8 +7067,8 @@ const Xa = (e, t) => {
7063
7067
  // common variable name
7064
7068
  "value"
7065
7069
  // common variable name
7066
- ], el = "keyword";
7067
- function eo(e, t, r = el) {
7070
+ ], tl = "keyword";
7071
+ function eo(e, t, r = tl) {
7068
7072
  const l = /* @__PURE__ */ Object.create(null);
7069
7073
  return typeof e == "string" ? u(r, e.split(" ")) : Array.isArray(e) ? u(r, e) : Object.keys(e).forEach(function(y) {
7070
7074
  Object.assign(
@@ -7075,15 +7079,15 @@ function eo(e, t, r = el) {
7075
7079
  function u(y, s) {
7076
7080
  t && (s = s.map((i) => i.toLowerCase())), s.forEach(function(i) {
7077
7081
  const d = i.split("|");
7078
- l[d[0]] = [y, tl(d[0], d[1])];
7082
+ l[d[0]] = [y, ol(d[0], d[1])];
7079
7083
  });
7080
7084
  }
7081
7085
  }
7082
- function tl(e, t) {
7083
- return t ? Number(t) : ol(e) ? 0 : 1;
7086
+ function ol(e, t) {
7087
+ return t ? Number(t) : nl(e) ? 0 : 1;
7084
7088
  }
7085
- function ol(e) {
7086
- return xa.includes(e.toLowerCase());
7089
+ function nl(e) {
7090
+ return el.includes(e.toLowerCase());
7087
7091
  }
7088
7092
  const St = {}, $e = (e) => {
7089
7093
  console.error(e);
@@ -7099,7 +7103,7 @@ function to(e, t, { key: r }) {
7099
7103
  s[i + l] = u[i], y[i + l] = !0, l += Jt(t[i - 1]);
7100
7104
  e[r] = s, e[r]._emit = y, e[r]._multi = !0;
7101
7105
  }
7102
- function nl(e) {
7106
+ function rl(e) {
7103
7107
  if (Array.isArray(e.begin)) {
7104
7108
  if (e.skip || e.excludeBegin || e.returnBegin)
7105
7109
  throw $e("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Be;
@@ -7108,7 +7112,7 @@ function nl(e) {
7108
7112
  to(e, e.begin, { key: "beginScope" }), e.begin = ft(e.begin, { joinWith: "" });
7109
7113
  }
7110
7114
  }
7111
- function rl(e) {
7115
+ function al(e) {
7112
7116
  if (Array.isArray(e.end)) {
7113
7117
  if (e.skip || e.excludeEnd || e.returnEnd)
7114
7118
  throw $e("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Be;
@@ -7117,13 +7121,13 @@ function rl(e) {
7117
7121
  to(e, e.end, { key: "endScope" }), e.end = ft(e.end, { joinWith: "" });
7118
7122
  }
7119
7123
  }
7120
- function al(e) {
7121
- e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
7122
- }
7123
7124
  function ll(e) {
7124
- al(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), nl(e), rl(e);
7125
+ e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
7125
7126
  }
7126
7127
  function il(e) {
7128
+ ll(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), rl(e), al(e);
7129
+ }
7130
+ function sl(e) {
7127
7131
  function t(s, i) {
7128
7132
  return new RegExp(
7129
7133
  Ve(s),
@@ -7196,26 +7200,26 @@ function il(e) {
7196
7200
  );
7197
7201
  if (s.isCompiled) return d;
7198
7202
  [
7199
- Qa,
7203
+ Ga,
7200
7204
  // do this early so compiler extensions generally don't have to worry about
7201
7205
  // the distinction between match/begin
7202
- Wa,
7203
- ll,
7204
- Xa
7206
+ Za,
7207
+ il,
7208
+ xa
7205
7209
  ].forEach((b) => b(s, i)), e.compilerExtensions.forEach((b) => b(s, i)), s.__beforeBegin = null, [
7206
- Ga,
7210
+ Ja,
7207
7211
  // do this later so compiler extensions that come earlier have access to the
7208
7212
  // raw array if they wanted to perhaps manipulate it, etc.
7209
- Ja,
7213
+ Wa,
7210
7214
  // default to 1 relevance if not specified
7211
- Za
7215
+ Xa
7212
7216
  ].forEach((b) => b(s, i)), s.isCompiled = !0;
7213
7217
  let p = null;
7214
7218
  return typeof s.keywords == "object" && s.keywords.$pattern && (s.keywords = Object.assign({}, s.keywords), p = s.keywords.$pattern, delete s.keywords.$pattern), p = p || /\w+/, s.keywords && (s.keywords = eo(s.keywords, e.case_insensitive)), d.keywordPatternRe = t(p, !0), i && (s.begin || (s.begin = /\B|\b/), d.beginRe = t(d.begin), !s.end && !s.endsWithParent && (s.end = /\B|\b/), s.end && (d.endRe = t(d.end)), d.terminatorEnd = Ve(d.end) || "", s.endsWithParent && i.terminatorEnd && (d.terminatorEnd += (s.end ? "|" : "") + i.terminatorEnd)), s.illegal && (d.illegalRe = t(
7215
7219
  /** @type {RegExp | string} */
7216
7220
  s.illegal
7217
7221
  )), s.contains || (s.contains = []), s.contains = [].concat(...s.contains.map(function(b) {
7218
- return sl(b === "self" ? s : b);
7222
+ return dl(b === "self" ? s : b);
7219
7223
  })), s.contains.forEach(function(b) {
7220
7224
  y(
7221
7225
  /** @type Mode */
@@ -7234,18 +7238,18 @@ function il(e) {
7234
7238
  function oo(e) {
7235
7239
  return e ? e.endsWithParent || oo(e.starts) : !1;
7236
7240
  }
7237
- function sl(e) {
7241
+ function dl(e) {
7238
7242
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
7239
7243
  return ve(e, { variants: null }, t);
7240
7244
  })), e.cachedVariants ? e.cachedVariants : oo(e) ? ve(e, { starts: e.starts ? ve(e.starts) : null }) : Object.isFrozen(e) ? ve(e) : e;
7241
7245
  }
7242
- var dl = "11.12.0";
7243
- class ul extends Error {
7246
+ var ul = "11.12.0";
7247
+ class pl extends Error {
7244
7248
  constructor(t, r) {
7245
7249
  super(t), this.name = "HTMLInjectionError", this.html = r;
7246
7250
  }
7247
7251
  }
7248
- const xe = Qt, Lt = ve, Et = Symbol("nomatch"), pl = 7, no = function(e) {
7252
+ const xe = Qt, Lt = ve, Et = Symbol("nomatch"), ml = 7, no = function(e) {
7249
7253
  const t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null), l = [];
7250
7254
  let u = !0;
7251
7255
  const y = "Could not find the language '{}', did you forget to load/include a language module?", s = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -7259,7 +7263,7 @@ const xe = Qt, Lt = ve, Et = Symbol("nomatch"), pl = 7, no = function(e) {
7259
7263
  languages: null,
7260
7264
  // beta configuration options, subject to change, welcome to discuss
7261
7265
  // https://github.com/highlightjs/highlight.js/issues/1086
7262
- __emitter: va
7266
+ __emitter: Da
7263
7267
  };
7264
7268
  function d(F) {
7265
7269
  return i.noHighlightRe.test(F);
@@ -7301,14 +7305,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7301
7305
  let A = j.keywordPatternRe.exec(X), K = "";
7302
7306
  for (; A; ) {
7303
7307
  K += X.substring(N, A.index);
7304
- const J = be.case_insensitive ? A[0].toLowerCase() : A[0], le = fe(j, J);
7308
+ const J = _e.case_insensitive ? A[0].toLowerCase() : A[0], le = fe(j, J);
7305
7309
  if (le) {
7306
7310
  const [Ce, po] = le;
7307
- if (ae.addText(K), K = "", ne[J] = (ne[J] || 0) + 1, ne[J] <= pl && (ze += po), Ce.startsWith("_"))
7311
+ if (ae.addText(K), K = "", ne[J] = (ne[J] || 0) + 1, ne[J] <= ml && (ze += po), Ce.startsWith("_"))
7308
7312
  K += A[0];
7309
7313
  else {
7310
- const mo = be.classNameAliases[Ce] || Ce;
7311
- ye(A[0], mo);
7314
+ const mo = _e.classNameAliases[Ce] || Ce;
7315
+ be(A[0], mo);
7312
7316
  }
7313
7317
  } else
7314
7318
  K += A[0];
@@ -7333,7 +7337,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7333
7337
  function me() {
7334
7338
  j.subLanguage != null ? Me() : ke(), X = "";
7335
7339
  }
7336
- function ye(N, A) {
7340
+ function be(N, A) {
7337
7341
  N !== "" && (ae.startScope(A), ae.addText(N), ae.endScope());
7338
7342
  }
7339
7343
  function bt(N, A) {
@@ -7344,15 +7348,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7344
7348
  K++;
7345
7349
  continue;
7346
7350
  }
7347
- const le = be.classNameAliases[N[K]] || N[K], Ce = A[K];
7348
- le ? ye(Ce, le) : (X = Ce, ke(), X = ""), K++;
7351
+ const le = _e.classNameAliases[N[K]] || N[K], Ce = A[K];
7352
+ le ? be(Ce, le) : (X = Ce, ke(), X = ""), K++;
7349
7353
  }
7350
7354
  }
7351
7355
  function _t(N, A) {
7352
- return N.scope && typeof N.scope == "string" && ae.openNode(be.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (ye(X, be.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (bt(N.beginScope, A), X = "")), j = Object.create(N, { parent: { value: j } }), j;
7356
+ return N.scope && typeof N.scope == "string" && ae.openNode(_e.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (be(X, _e.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (bt(N.beginScope, A), X = "")), j = Object.create(N, { parent: { value: j } }), j;
7353
7357
  }
7354
7358
  function wt(N, A, K) {
7355
- let J = Sa(N.endRe, K);
7359
+ let J = Fa(N.endRe, K);
7356
7360
  if (J) {
7357
7361
  if (N["on:end"]) {
7358
7362
  const le = new Dt(N);
@@ -7382,7 +7386,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7382
7386
  if (!J)
7383
7387
  return Et;
7384
7388
  const le = j;
7385
- j.endScope && j.endScope._wrap ? (me(), ye(A, j.endScope._wrap)) : j.endScope && j.endScope._multi ? (me(), bt(j.endScope, N)) : le.skip ? X += A : (le.returnEnd || le.excludeEnd || (X += A), me(), le.excludeEnd && (X = A));
7389
+ j.endScope && j.endScope._wrap ? (me(), be(A, j.endScope._wrap)) : j.endScope && j.endScope._multi ? (me(), bt(j.endScope, N)) : le.skip ? X += A : (le.returnEnd || le.excludeEnd || (X += A), me(), le.excludeEnd && (X = A));
7386
7390
  do
7387
7391
  j.scope && ae.closeNode(), !j.skip && !j.subLanguage && (ze += j.relevance), j = j.parent;
7388
7392
  while (j !== J.parent);
@@ -7390,7 +7394,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7390
7394
  }
7391
7395
  function so() {
7392
7396
  const N = [];
7393
- for (let A = j; A !== be; A = A.parent)
7397
+ for (let A = j; A !== _e; A = A.parent)
7394
7398
  A.scope && N.unshift(A.scope);
7395
7399
  N.forEach((A) => ae.openNode(A));
7396
7400
  }
@@ -7423,17 +7427,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7423
7427
  throw new Error("potential infinite loop, way more iterations than matches");
7424
7428
  return X += K, K.length;
7425
7429
  }
7426
- const be = re(F);
7427
- if (!be)
7430
+ const _e = re(F);
7431
+ if (!_e)
7428
7432
  throw $e(y.replace("{}", F)), new Error('Unknown language: "' + F + '"');
7429
- const uo = il(be);
7433
+ const uo = sl(_e);
7430
7434
  let Je = "", j = Z || uo;
7431
7435
  const kt = {}, ae = new i.__emitter(i);
7432
7436
  so();
7433
7437
  let X = "", ze = 0, De = 0, We = 0, Ze = !1;
7434
7438
  try {
7435
- if (be.__emitTokens)
7436
- be.__emitTokens($, ae);
7439
+ if (_e.__emitTokens)
7440
+ _e.__emitTokens($, ae);
7437
7441
  else {
7438
7442
  for (j.matcher.considerAll(); ; ) {
7439
7443
  We++, Ze ? Ze = !1 : j.matcher.considerAll(), j.matcher.lastIndex = De;
@@ -7497,12 +7501,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7497
7501
  (me) => f(me, F, !1)
7498
7502
  );
7499
7503
  Z.unshift(B);
7500
- const ne = Z.sort((me, ye) => {
7501
- if (me.relevance !== ye.relevance) return ye.relevance - me.relevance;
7502
- if (me.language && ye.language) {
7503
- if (re(me.language).supersetOf === ye.language)
7504
+ const ne = Z.sort((me, be) => {
7505
+ if (me.relevance !== be.relevance) return be.relevance - me.relevance;
7506
+ if (me.language && be.language) {
7507
+ if (re(me.language).supersetOf === be.language)
7504
7508
  return 1;
7505
- if (re(ye.language).supersetOf === me.language)
7509
+ if (re(be.language).supersetOf === me.language)
7506
7510
  return -1;
7507
7511
  }
7508
7512
  return 0;
@@ -7525,7 +7529,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7525
7529
  return;
7526
7530
  }
7527
7531
  if (F.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(F)), i.throwUnescapedHTML))
7528
- throw new ul(
7532
+ throw new pl(
7529
7533
  "One of your code blocks includes unescaped HTML.",
7530
7534
  F.innerHTML
7531
7535
  );
@@ -7644,27 +7648,27 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7644
7648
  u = !1;
7645
7649
  }, e.safeMode = function() {
7646
7650
  u = !0;
7647
- }, e.versionString = dl, e.regex = {
7651
+ }, e.versionString = ul, e.regex = {
7648
7652
  concat: Te,
7649
7653
  lookahead: Gt,
7650
7654
  either: Ke,
7651
- optional: $a,
7652
- anyNumberOfTimes: Da
7655
+ optional: Ta,
7656
+ anyNumberOfTimes: $a
7653
7657
  };
7654
7658
  for (const F in Ye)
7655
7659
  typeof Ye[F] == "object" && Ht(Ye[F]);
7656
7660
  return Object.assign(e, Ye), e;
7657
7661
  }, Ee = no({});
7658
7662
  Ee.newInstance = () => no({});
7659
- var ml = Ee;
7663
+ var cl = Ee;
7660
7664
  Ee.HighlightJS = Ee;
7661
7665
  Ee.default = Ee;
7662
- const ro = /* @__PURE__ */ Ut(ml), cl = "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity", hl = {
7666
+ const ro = /* @__PURE__ */ Ut(cl), hl = "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity", fl = {
7663
7667
  scope: "number",
7664
- match: cl,
7668
+ match: hl,
7665
7669
  relevance: 0
7666
7670
  };
7667
- function fl(e) {
7671
+ function gl(e) {
7668
7672
  const t = {
7669
7673
  className: "attr",
7670
7674
  begin: /(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,
@@ -7693,14 +7697,14 @@ function fl(e) {
7693
7697
  e.APOS_STRING_MODE,
7694
7698
  e.QUOTE_STRING_MODE,
7695
7699
  u,
7696
- hl,
7700
+ fl,
7697
7701
  e.C_LINE_COMMENT_MODE,
7698
7702
  e.C_BLOCK_COMMENT_MODE
7699
7703
  ],
7700
7704
  illegal: "\\S"
7701
7705
  };
7702
7706
  }
7703
- function gl(e) {
7707
+ function yl(e) {
7704
7708
  if (e == null || e === "")
7705
7709
  return "";
7706
7710
  let t = e;
@@ -7722,8 +7726,8 @@ function gl(e) {
7722
7726
  }
7723
7727
  return String(t);
7724
7728
  }
7725
- ro.registerLanguage("json", fl);
7726
- const yl = Y({
7729
+ ro.registerLanguage("json", gl);
7730
+ const bl = Y({
7727
7731
  name: "JsonPreview",
7728
7732
  props: {
7729
7733
  value: {
@@ -7733,7 +7737,7 @@ const yl = Y({
7733
7737
  },
7734
7738
  computed: {
7735
7739
  formatted() {
7736
- return gl(this.value);
7740
+ return yl(this.value);
7737
7741
  },
7738
7742
  html() {
7739
7743
  const e = this.formatted;
@@ -7746,16 +7750,16 @@ const yl = Y({
7746
7750
  }
7747
7751
  }
7748
7752
  }
7749
- }), bl = { class: "json-preview" }, _l = ["innerHTML"];
7750
- function wl(e, t, r, l, u, y) {
7751
- return m(), V("pre", bl, [
7753
+ }), _l = { class: "json-preview" }, wl = ["innerHTML"];
7754
+ function Cl(e, t, r, l, u, y) {
7755
+ return m(), V("pre", _l, [
7752
7756
  T("code", {
7753
7757
  class: "hljs language-json",
7754
7758
  innerHTML: e.html
7755
- }, null, 8, _l)
7759
+ }, null, 8, wl)
7756
7760
  ]);
7757
7761
  }
7758
- const yt = /* @__PURE__ */ z(yl, [["render", wl], ["__scopeId", "data-v-29e89009"]]), Cl = Y({
7762
+ const yt = /* @__PURE__ */ z(bl, [["render", Cl], ["__scopeId", "data-v-29e89009"]]), kl = Y({
7759
7763
  components: { xdmpDrawer: ee, JsonPreview: yt },
7760
7764
  data() {
7761
7765
  return {
@@ -7793,7 +7797,7 @@ const yt = /* @__PURE__ */ z(yl, [["render", wl], ["__scopeId", "data-v-29e89009
7793
7797
  }
7794
7798
  }
7795
7799
  });
7796
- function kl(e, t, r, l, u, y) {
7800
+ function vl(e, t, r, l, u, y) {
7797
7801
  const s = a("el-input"), i = a("el-form-item"), d = a("JsonPreview"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
7798
7802
  return m(), V("div", null, [
7799
7803
  o(b, {
@@ -7921,11 +7925,11 @@ function kl(e, t, r, l, u, y) {
7921
7925
  }, 8, ["title", "size", "onCancel"])
7922
7926
  ]);
7923
7927
  }
7924
- const vl = /* @__PURE__ */ z(Cl, [["render", kl], ["__scopeId", "data-v-2ee28ed4"]]), Dl = Y({
7928
+ const Dl = /* @__PURE__ */ z(kl, [["render", vl], ["__scopeId", "data-v-2ee28ed4"]]), $l = Y({
7925
7929
  components: {
7926
7930
  ListReport: oe,
7927
7931
  pageDesc: te,
7928
- logDetail: vl
7932
+ logDetail: Dl
7929
7933
  },
7930
7934
  data() {
7931
7935
  return {
@@ -8005,10 +8009,10 @@ const vl = /* @__PURE__ */ z(Cl, [["render", kl], ["__scopeId", "data-v-2ee28ed4
8005
8009
  return e === "1" ? "成功" : "失败";
8006
8010
  }
8007
8011
  }
8008
- }), $l = { class: "operateLog_wrapper" };
8009
- function Tl(e, t, r, l, u, y) {
8012
+ }), Tl = { class: "operateLog_wrapper" };
8013
+ function Sl(e, t, r, l, u, y) {
8010
8014
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-date-picker"), g = a("el-button"), C = a("el-form"), k = a("el-table-column"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("logDetail"), w = M("emoji"), D = M("loading");
8011
- return m(), V("div", $l, [
8015
+ return m(), V("div", Tl, [
8012
8016
  o(s, { desc: "记录用户在平台上的所有操作行为,包含操作时间、操作者、操作内容、业务模块、操作状态等信息,支持查询和导出。" }),
8013
8017
  E((m(), _(U, { class: "operateLog_block" }, {
8014
8018
  filter: n(() => [
@@ -8231,7 +8235,7 @@ function Tl(e, t, r, l, u, y) {
8231
8235
  o(I, { ref: "logDetailRef" }, null, 512)
8232
8236
  ]);
8233
8237
  }
8234
- const Is = /* @__PURE__ */ z(Dl, [["render", Tl], ["__scopeId", "data-v-ca1380a7"]]), Sl = Y({
8238
+ const Vs = /* @__PURE__ */ z($l, [["render", Sl], ["__scopeId", "data-v-ca1380a7"]]), Fl = Y({
8235
8239
  components: { xdmpDrawer: ee, JsonPreview: yt },
8236
8240
  data() {
8237
8241
  return {
@@ -8269,7 +8273,7 @@ const Is = /* @__PURE__ */ z(Dl, [["render", Tl], ["__scopeId", "data-v-ca1380a7
8269
8273
  }
8270
8274
  }
8271
8275
  });
8272
- function Fl(e, t, r, l, u, y) {
8276
+ function Ll(e, t, r, l, u, y) {
8273
8277
  const s = a("el-input"), i = a("el-form-item"), d = a("JsonPreview"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
8274
8278
  return m(), V("div", null, [
8275
8279
  o(b, {
@@ -8397,11 +8401,11 @@ function Fl(e, t, r, l, u, y) {
8397
8401
  }, 8, ["title", "size", "onCancel"])
8398
8402
  ]);
8399
8403
  }
8400
- const Ll = /* @__PURE__ */ z(Sl, [["render", Fl], ["__scopeId", "data-v-f824705f"]]), El = Y({
8404
+ const El = /* @__PURE__ */ z(Fl, [["render", Ll], ["__scopeId", "data-v-f824705f"]]), Rl = Y({
8401
8405
  components: {
8402
8406
  ListReport: oe,
8403
8407
  pageDesc: te,
8404
- logDetail: Ll
8408
+ logDetail: El
8405
8409
  },
8406
8410
  data() {
8407
8411
  return {
@@ -8481,10 +8485,10 @@ const Ll = /* @__PURE__ */ z(Sl, [["render", Fl], ["__scopeId", "data-v-f824705f
8481
8485
  return e === "1" ? "成功" : "失败";
8482
8486
  }
8483
8487
  }
8484
- }), Rl = { class: "loginLog_wrapper" };
8485
- function Pl(e, t, r, l, u, y) {
8488
+ }), Pl = { class: "loginLog_wrapper" };
8489
+ function Nl(e, t, r, l, u, y) {
8486
8490
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-date-picker"), g = a("el-button"), C = a("el-form"), k = a("el-table-column"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("logDetail"), w = M("emoji"), D = M("loading");
8487
- return m(), V("div", Rl, [
8491
+ return m(), V("div", Pl, [
8488
8492
  o(s, { desc: "记录用户登录行为,包含登录时间、登录账号、登录状态、IP地址等信息,支持查询和导出。" }),
8489
8493
  E((m(), _(U, { class: "loginLog_block" }, {
8490
8494
  filter: n(() => [
@@ -8707,7 +8711,7 @@ function Pl(e, t, r, l, u, y) {
8707
8711
  o(I, { ref: "logDetailRef" }, null, 512)
8708
8712
  ]);
8709
8713
  }
8710
- const Vs = /* @__PURE__ */ z(El, [["render", Pl], ["__scopeId", "data-v-1742c7b6"]]), Nl = Y({
8714
+ const qs = /* @__PURE__ */ z(Rl, [["render", Nl], ["__scopeId", "data-v-1742c7b6"]]), Il = Y({
8711
8715
  props: {
8712
8716
  existItems: {
8713
8717
  type: Array,
@@ -8763,8 +8767,8 @@ const Vs = /* @__PURE__ */ z(El, [["render", Pl], ["__scopeId", "data-v-1742c7b6
8763
8767
  this.dialogMode = t, e ? (this.title = "编辑字典项", this.currentIndex = r ?? 0, this.form.label = e.label, this.form.key = e.key) : (this.title = "新增字典项", this.form.label = "", this.form.key = ""), this.visible = !0;
8764
8768
  }
8765
8769
  }
8766
- }), Il = { class: "dialog-footer" };
8767
- function Vl(e, t, r, l, u, y) {
8770
+ }), Vl = { class: "dialog-footer" };
8771
+ function ql(e, t, r, l, u, y) {
8768
8772
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("el-button"), b = a("el-dialog");
8769
8773
  return m(), V("div", null, [
8770
8774
  o(b, {
@@ -8818,7 +8822,7 @@ function Vl(e, t, r, l, u, y) {
8818
8822
  ]),
8819
8823
  _: 1
8820
8824
  }, 8, ["model", "rules"]),
8821
- T("footer", Il, [
8825
+ T("footer", Vl, [
8822
8826
  o(p, { onClick: e.cancel }, {
8823
8827
  default: n(() => [...t[3] || (t[3] = [
8824
8828
  c("取 消", -1)
@@ -8840,13 +8844,13 @@ function Vl(e, t, r, l, u, y) {
8840
8844
  }, 8, ["modelValue", "title", "onClose"])
8841
8845
  ]);
8842
8846
  }
8843
- const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8"]]), Ol = (e, t, r) => {
8847
+ const Ol = /* @__PURE__ */ z(Il, [["render", ql], ["__scopeId", "data-v-8d04bfe8"]]), Al = (e, t, r) => {
8844
8848
  t === "" ? r(new Error("字典编码不能为空")) : /^[a-zA-Z][_a-zA-Z0-9]{0,31}$/.test(t) ? r() : r(new Error("1-32位,英文、数字及特殊字符“_”,必须以英文字符开头"));
8845
- }, Al = (e, t, r) => {
8849
+ }, Ml = (e, t, r) => {
8846
8850
  t === "" ? r(new Error("字典名称不能为空")) : /^[a-zA-Z\u4e00-\u9fa5][a-zA-Z0-9\u4e00-\u9fa5_-]{1,31}$/.test(t) ? r() : r(new Error("2-32位字符,支持中文、英文、数字及特殊字符_-,必须以中文或英文字符开头"));
8847
- }, Ml = Y({
8851
+ }, Ul = Y({
8848
8852
  components: {
8849
- dictDialog: ql,
8853
+ dictDialog: Ol,
8850
8854
  xdmpDrawer: ee
8851
8855
  },
8852
8856
  emits: ["reload"],
@@ -8863,8 +8867,8 @@ const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8
8863
8867
  items: []
8864
8868
  },
8865
8869
  rules: {
8866
- code: [{ required: !0, validator: Ol, trigger: "blur" }],
8867
- name: [{ required: !0, validator: Al, trigger: "blur" }]
8870
+ code: [{ required: !0, validator: Al, trigger: "blur" }],
8871
+ name: [{ required: !0, validator: Ml, trigger: "blur" }]
8868
8872
  }
8869
8873
  };
8870
8874
  },
@@ -8919,7 +8923,7 @@ const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8
8919
8923
  }
8920
8924
  }
8921
8925
  });
8922
- function Ul(e, t, r, l, u, y) {
8926
+ function zl(e, t, r, l, u, y) {
8923
8927
  const s = a("el-input"), i = a("el-form-item"), d = a("el-button"), p = a("el-table-column"), b = a("el-divider"), f = a("el-table"), g = a("el-form"), C = a("xdmp-drawer"), k = a("dict-dialog");
8924
8928
  return m(), V("div", null, [
8925
8929
  o(C, {
@@ -9068,10 +9072,10 @@ function Ul(e, t, r, l, u, y) {
9068
9072
  }, null, 8, ["exist-items", "onSubmit"])
9069
9073
  ]);
9070
9074
  }
9071
- const zl = /* @__PURE__ */ z(Ml, [["render", Ul]]), Yl = Y({
9075
+ const Yl = /* @__PURE__ */ z(Ul, [["render", zl]]), jl = Y({
9072
9076
  components: {
9073
9077
  ListReport: oe,
9074
- dictDrawer: zl,
9078
+ dictDrawer: Yl,
9075
9079
  PageDesc: te
9076
9080
  },
9077
9081
  data() {
@@ -9167,10 +9171,10 @@ const zl = /* @__PURE__ */ z(Ml, [["render", Ul]]), Yl = Y({
9167
9171
  this.queryParams.pageNo = e, this.getDictList();
9168
9172
  }
9169
9173
  }
9170
- }), jl = { class: "dict_wrapper" };
9171
- function Bl(e, t, r, l, u, y) {
9174
+ }), Bl = { class: "dict_wrapper" };
9175
+ function Kl(e, t, r, l, u, y) {
9172
9176
  const s = a("page-desc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("dict-drawer"), I = M("loading");
9173
- return m(), V("div", jl, [
9177
+ return m(), V("div", Bl, [
9174
9178
  o(s, { desc: "用于维护平台基础数据分类、枚举及编码规则,实现数据统一定义与规范管理。" }),
9175
9179
  E((m(), _(S, { class: "dict_block" }, {
9176
9180
  filter: n(() => [
@@ -9365,7 +9369,7 @@ function Bl(e, t, r, l, u, y) {
9365
9369
  }, null, 8, ["onReload"])
9366
9370
  ]);
9367
9371
  }
9368
- const qs = /* @__PURE__ */ z(Yl, [["render", Bl], ["__scopeId", "data-v-cccc5ca6"]]), Kl = Y({
9372
+ const Os = /* @__PURE__ */ z(jl, [["render", Kl], ["__scopeId", "data-v-cccc5ca6"]]), Hl = Y({
9369
9373
  name: "TreeSelect",
9370
9374
  props: {
9371
9375
  modelValue: {
@@ -9384,7 +9388,7 @@ const qs = /* @__PURE__ */ z(Yl, [["render", Bl], ["__scopeId", "data-v-cccc5ca6
9384
9388
  }
9385
9389
  }
9386
9390
  });
9387
- function Hl(e, t, r, l, u, y) {
9391
+ function Ql(e, t, r, l, u, y) {
9388
9392
  const s = a("el-option"), i = a("el-select");
9389
9393
  return m(), _(i, {
9390
9394
  "model-value": e.modelValue,
@@ -9410,10 +9414,10 @@ function Hl(e, t, r, l, u, y) {
9410
9414
  _: 1
9411
9415
  }, 8, ["model-value", "onChange"]);
9412
9416
  }
9413
- const Ql = /* @__PURE__ */ z(Kl, [["render", Hl]]), Gl = Y({
9417
+ const Gl = /* @__PURE__ */ z(Hl, [["render", Ql]]), Jl = Y({
9414
9418
  components: {
9415
9419
  xdmpDrawer: ee,
9416
- treeSelect: Ql
9420
+ treeSelect: Gl
9417
9421
  },
9418
9422
  emits: ["reload"],
9419
9423
  data() {
@@ -9490,7 +9494,7 @@ const Ql = /* @__PURE__ */ z(Kl, [["render", Hl]]), Gl = Y({
9490
9494
  }
9491
9495
  }
9492
9496
  });
9493
- function Jl(e, t, r, l, u, y) {
9497
+ function Wl(e, t, r, l, u, y) {
9494
9498
  const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
9495
9499
  return m(), V("div", null, [
9496
9500
  o(b, {
@@ -9580,11 +9584,11 @@ function Jl(e, t, r, l, u, y) {
9580
9584
  }, 8, ["title", "size", "onSubmit", "onCancel"])
9581
9585
  ]);
9582
9586
  }
9583
- const Wl = /* @__PURE__ */ z(Gl, [["render", Jl]]), Zl = Y({
9587
+ const Zl = /* @__PURE__ */ z(Jl, [["render", Wl]]), Xl = Y({
9584
9588
  components: {
9585
9589
  FlexibleColumn: It,
9586
9590
  ListReport: oe,
9587
- categoryDrawer: Wl,
9591
+ categoryDrawer: Zl,
9588
9592
  PageDesc: te
9589
9593
  },
9590
9594
  data() {
@@ -9670,18 +9674,18 @@ const Wl = /* @__PURE__ */ z(Gl, [["render", Jl]]), Zl = Y({
9670
9674
  this.listQuery.pageNo = e, this.getCategoryList();
9671
9675
  }
9672
9676
  }
9673
- }), Xl = { class: "category_tree" }, xl = { class: "tree-search" }, ei = { class: "tree-operate" }, ti = { class: "custom-tree-node" }, oi = { class: "tree-node-label" }, ni = { class: "searchInputCustomStyle" };
9674
- function ri(e, t, r, l, u, y) {
9677
+ }), xl = { class: "category_tree" }, ei = { class: "tree-search" }, ti = { class: "tree-operate" }, oi = { class: "custom-tree-node" }, ni = { class: "tree-node-label" }, ri = { class: "searchInputCustomStyle" };
9678
+ function ai(e, t, r, l, u, y) {
9675
9679
  const s = a("pageDesc"), i = a("el-button"), d = a("el-input"), p = a("svg-icon"), b = a("el-tree"), f = a("el-form-item"), g = a("el-form"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("FlexibleColumn"), w = a("categoryDrawer"), D = M("loading");
9676
9680
  return m(), V(ie, null, [
9677
9681
  o(s, { desc: "分类管理,支持系统分类信息的维护管理。" }),
9678
9682
  o(I, { class: "category_wrapper" }, {
9679
9683
  begin: n(() => [
9680
- T("div", Xl, [
9684
+ T("div", xl, [
9681
9685
  t[5] || (t[5] = T("div", { class: "tree-header" }, [
9682
9686
  T("span", null, "分类列表")
9683
9687
  ], -1)),
9684
- T("div", xl, [
9688
+ T("div", ei, [
9685
9689
  o(d, {
9686
9690
  modelValue: e.treeQuery.keyword,
9687
9691
  "onUpdate:modelValue": t[0] || (t[0] = (h) => e.treeQuery.keyword = h),
@@ -9698,7 +9702,7 @@ function ri(e, t, r, l, u, y) {
9698
9702
  _: 1
9699
9703
  }, 8, ["modelValue", "onKeyup"])
9700
9704
  ]),
9701
- T("div", ei, [
9705
+ T("div", ti, [
9702
9706
  e.checkPermission(["ROLE_CATEGORY_CREATE"]) ? (m(), _(i, {
9703
9707
  key: 0,
9704
9708
  type: "primary",
@@ -9721,8 +9725,8 @@ function ri(e, t, r, l, u, y) {
9721
9725
  onNodeClick: e.handleNodeClick
9722
9726
  }, {
9723
9727
  default: n(({ data: h }) => [
9724
- T("span", ti, [
9725
- T("span", oi, R(h.title), 1),
9728
+ T("span", oi, [
9729
+ T("span", ni, R(h.title), 1),
9726
9730
  T("span", null, [
9727
9731
  e.checkPermission(["ROLE_CATEGORY_UPDATE"]) ? (m(), _(p, {
9728
9732
  key: 0,
@@ -9799,7 +9803,7 @@ function ri(e, t, r, l, u, y) {
9799
9803
  }, 8, ["model", "onSubmit"])
9800
9804
  ]),
9801
9805
  toolbar: n(() => [
9802
- T("div", ni, [
9806
+ T("div", ri, [
9803
9807
  e.checkPermission(["ROLE_CATEGORY_CREATE"]) ? (m(), _(i, {
9804
9808
  key: 0,
9805
9809
  style: { width: "88px" },
@@ -9909,7 +9913,7 @@ function ri(e, t, r, l, u, y) {
9909
9913
  }, null, 8, ["onReload"])
9910
9914
  ], 64);
9911
9915
  }
9912
- const Os = /* @__PURE__ */ z(Zl, [["render", ri], ["__scopeId", "data-v-f799784a"]]), ai = Y({
9916
+ const As = /* @__PURE__ */ z(Xl, [["render", ai], ["__scopeId", "data-v-f799784a"]]), li = Y({
9913
9917
  components: {
9914
9918
  xdmpDrawer: ee
9915
9919
  },
@@ -9975,7 +9979,7 @@ const Os = /* @__PURE__ */ z(Zl, [["render", ri], ["__scopeId", "data-v-f799784a
9975
9979
  }
9976
9980
  }
9977
9981
  });
9978
- function li(e, t, r, l, u, y) {
9982
+ function ii(e, t, r, l, u, y) {
9979
9983
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-form"), f = a("xdmpDrawer"), g = M("emoji");
9980
9984
  return m(), _(f, {
9981
9985
  ref: "xdmpDrawer",
@@ -10084,12 +10088,12 @@ function li(e, t, r, l, u, y) {
10084
10088
  _: 1
10085
10089
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
10086
10090
  }
10087
- const ii = /* @__PURE__ */ z(ai, [["render", li]]), si = Y({
10091
+ const si = /* @__PURE__ */ z(li, [["render", ii]]), di = Y({
10088
10092
  name: "Properties",
10089
10093
  components: {
10090
10094
  ListReport: oe,
10091
10095
  pageDesc: te,
10092
- addTag: ii
10096
+ addTag: si
10093
10097
  },
10094
10098
  data() {
10095
10099
  return {
@@ -10177,16 +10181,16 @@ const ii = /* @__PURE__ */ z(ai, [["render", li]]), si = Y({
10177
10181
  this.queryParams.pageNo = e, this.getList();
10178
10182
  }
10179
10183
  }
10180
- }), di = { class: "tag-management-container" }, ui = { style: { "margin-bottom": "15px" } }, pi = { class: "obj-btn-items" }, mi = {
10184
+ }), ui = { class: "tag-management-container" }, pi = { style: { "margin-bottom": "15px" } }, mi = { class: "obj-btn-items" }, ci = {
10181
10185
  key: 0,
10182
10186
  class: "obj-btn-items"
10183
- }, ci = {
10187
+ }, hi = {
10184
10188
  key: 1,
10185
10189
  class: "obj-btn-items"
10186
10190
  };
10187
- function hi(e, t, r, l, u, y) {
10191
+ function fi(e, t, r, l, u, y) {
10188
10192
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-button"), g = a("el-form"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("addTag"), w = M("emoji"), D = M("loading");
10189
- return m(), V("div", di, [
10193
+ return m(), V("div", ui, [
10190
10194
  o(s, { desc: "统一管理平台全部标签,支持为分组、产品、设备打标,实现资源快速分类检索。" }),
10191
10195
  o(U, { class: "device_block" }, {
10192
10196
  filter: n(() => [
@@ -10280,7 +10284,7 @@ function hi(e, t, r, l, u, y) {
10280
10284
  })
10281
10285
  ]),
10282
10286
  toolbar: n(() => [
10283
- T("div", ui, [
10287
+ T("div", pi, [
10284
10288
  e.checkPermission(["ROLE_LABEL_CREATE"]) ? (m(), _(f, {
10285
10289
  key: 0,
10286
10290
  type: "primary",
@@ -10329,7 +10333,7 @@ function hi(e, t, r, l, u, y) {
10329
10333
  width: "250"
10330
10334
  }, {
10331
10335
  default: n((h) => [
10332
- T("div", pi, [
10336
+ T("div", mi, [
10333
10337
  o(f, {
10334
10338
  type: "primary",
10335
10339
  text: "",
@@ -10341,7 +10345,7 @@ function hi(e, t, r, l, u, y) {
10341
10345
  _: 1
10342
10346
  }, 8, ["onClick"])
10343
10347
  ]),
10344
- e.checkPermission(["ROLE_LABEL_UPDATE"]) ? (m(), V("div", mi, [
10348
+ e.checkPermission(["ROLE_LABEL_UPDATE"]) ? (m(), V("div", ci, [
10345
10349
  o(k, { direction: "vertical" }),
10346
10350
  o(f, {
10347
10351
  type: "primary",
@@ -10354,7 +10358,7 @@ function hi(e, t, r, l, u, y) {
10354
10358
  _: 1
10355
10359
  }, 8, ["onClick"])
10356
10360
  ])) : P("", !0),
10357
- e.checkPermission(["ROLE_LABEL_DELETE"]) ? (m(), V("div", ci, [
10361
+ e.checkPermission(["ROLE_LABEL_DELETE"]) ? (m(), V("div", hi, [
10358
10362
  o(k, { direction: "vertical" }),
10359
10363
  o(f, {
10360
10364
  type: "primary",
@@ -10397,7 +10401,7 @@ function hi(e, t, r, l, u, y) {
10397
10401
  }, null, 8, ["onReload"])
10398
10402
  ]);
10399
10403
  }
10400
- const As = /* @__PURE__ */ z(si, [["render", hi], ["__scopeId", "data-v-fccf10df"]]), et = {}, fi = Y({
10404
+ const Ms = /* @__PURE__ */ z(di, [["render", fi], ["__scopeId", "data-v-fccf10df"]]), et = {}, gi = Y({
10401
10405
  components: {
10402
10406
  xdmpDrawer: ee,
10403
10407
  FileUpload: $o
@@ -10499,7 +10503,7 @@ const As = /* @__PURE__ */ z(si, [["render", hi], ["__scopeId", "data-v-fccf10df
10499
10503
  }
10500
10504
  }
10501
10505
  });
10502
- function gi(e, t, r, l, u, y) {
10506
+ function yi(e, t, r, l, u, y) {
10503
10507
  const s = a("el-input"), i = a("el-form-item"), d = a("el-radio"), p = a("el-radio-group"), b = a("el-button"), f = a("FileUpload"), g = a("el-form"), C = a("xdmpDrawer"), k = M("loading");
10504
10508
  return m(), _(C, {
10505
10509
  ref: "xdmpDrawer",
@@ -10637,10 +10641,10 @@ function gi(e, t, r, l, u, y) {
10637
10641
  _: 1
10638
10642
  }, 8, ["title", "size", "onCancel", "onSubmit"]);
10639
10643
  }
10640
- const yi = /* @__PURE__ */ z(fi, [["render", gi]]), bi = Y({
10644
+ const bi = /* @__PURE__ */ z(gi, [["render", yi]]), _i = Y({
10641
10645
  components: {
10642
10646
  ListReport: oe,
10643
- binaryDrawer: yi,
10647
+ binaryDrawer: bi,
10644
10648
  pageDesc: te
10645
10649
  },
10646
10650
  data() {
@@ -10708,16 +10712,16 @@ const yi = /* @__PURE__ */ z(fi, [["render", gi]]), bi = Y({
10708
10712
  });
10709
10713
  }
10710
10714
  }
10711
- }), _i = { class: "binary_wrapper" }, wi = {
10715
+ }), wi = { class: "binary_wrapper" }, Ci = {
10712
10716
  key: 0,
10713
10717
  class: "btn-item"
10714
- }, Ci = {
10718
+ }, ki = {
10715
10719
  key: 1,
10716
10720
  class: "btn-item"
10717
10721
  };
10718
- function ki(e, t, r, l, u, y) {
10722
+ function vi(e, t, r, l, u, y) {
10719
10723
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-image"), C = a("el-text"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("binaryDrawer"), w = M("emoji"), D = M("loading");
10720
- return m(), V("div", _i, [
10724
+ return m(), V("div", wi, [
10721
10725
  o(s, { desc: "文件管理,支持文件的上传、预览和删除操作。" }),
10722
10726
  E((m(), _(U, { class: "binary_block" }, {
10723
10727
  filter: n(() => [
@@ -10861,7 +10865,7 @@ function ki(e, t, r, l, u, y) {
10861
10865
  "min-width": "180px"
10862
10866
  }, {
10863
10867
  default: n((h) => [
10864
- e.checkPermission(["ROLE_BINARY_UPDATE"]) ? (m(), V("div", wi, [
10868
+ e.checkPermission(["ROLE_BINARY_UPDATE"]) ? (m(), V("div", Ci, [
10865
10869
  o(C, {
10866
10870
  type: "primary",
10867
10871
  onClick: (H) => e.onAdd(h.row, "edit")
@@ -10872,7 +10876,7 @@ function ki(e, t, r, l, u, y) {
10872
10876
  _: 1
10873
10877
  }, 8, ["onClick"])
10874
10878
  ])) : P("", !0),
10875
- e.checkPermission(["ROLE_BINARY_DELETE"]) ? (m(), V("div", Ci, [
10879
+ e.checkPermission(["ROLE_BINARY_DELETE"]) ? (m(), V("div", ki, [
10876
10880
  o(k, { direction: "vertical" }),
10877
10881
  o(C, {
10878
10882
  type: "primary",
@@ -10914,7 +10918,7 @@ function ki(e, t, r, l, u, y) {
10914
10918
  }, null, 8, ["onReload"])
10915
10919
  ]);
10916
10920
  }
10917
- const Ms = /* @__PURE__ */ z(bi, [["render", ki], ["__scopeId", "data-v-bc160baf"]]), vi = Y({
10921
+ const Us = /* @__PURE__ */ z(_i, [["render", vi], ["__scopeId", "data-v-bc160baf"]]), Di = Y({
10918
10922
  components: {
10919
10923
  xdmpDrawer: ee
10920
10924
  },
@@ -10983,7 +10987,7 @@ const Ms = /* @__PURE__ */ z(bi, [["render", ki], ["__scopeId", "data-v-bc160baf
10983
10987
  }
10984
10988
  }
10985
10989
  });
10986
- function Di(e, t, r, l, u, y) {
10990
+ function $i(e, t, r, l, u, y) {
10987
10991
  const s = a("el-input"), i = a("el-form-item"), d = a("el-date-picker"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji"), g = M("loading");
10988
10992
  return m(), _(b, {
10989
10993
  ref: "xdmpDrawer",
@@ -11067,10 +11071,10 @@ function Di(e, t, r, l, u, y) {
11067
11071
  _: 1
11068
11072
  }, 8, ["title", "size", "onCancel", "onSubmit"]);
11069
11073
  }
11070
- const $i = /* @__PURE__ */ z(vi, [["render", Di]]), Ti = Y({
11074
+ const Ti = /* @__PURE__ */ z(Di, [["render", $i]]), Si = Y({
11071
11075
  components: {
11072
11076
  ListReport: oe,
11073
- noticeDrawer: $i,
11077
+ noticeDrawer: Ti,
11074
11078
  PageDesc: te
11075
11079
  },
11076
11080
  data() {
@@ -11138,10 +11142,10 @@ const $i = /* @__PURE__ */ z(vi, [["render", Di]]), Ti = Y({
11138
11142
  });
11139
11143
  }
11140
11144
  }
11141
- }), Si = { class: "notice_wrapper" };
11142
- function Fi(e, t, r, l, u, y) {
11145
+ }), Fi = { class: "notice_wrapper" };
11146
+ function Li(e, t, r, l, u, y) {
11143
11147
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("noticeDrawer"), U = M("emoji"), I = M("loading");
11144
- return m(), V("div", Si, [
11148
+ return m(), V("div", Fi, [
11145
11149
  o(s, { desc: "公告管理,支持系统公告的增删改查。" }),
11146
11150
  E((m(), _(v, { class: "notice_block" }, {
11147
11151
  filter: n(() => [
@@ -11317,7 +11321,7 @@ function Fi(e, t, r, l, u, y) {
11317
11321
  }, null, 8, ["onReload"])
11318
11322
  ]);
11319
11323
  }
11320
- const Us = /* @__PURE__ */ z(Ti, [["render", Fi], ["__scopeId", "data-v-9b0fa8db"]]), Li = Y({
11324
+ const zs = /* @__PURE__ */ z(Si, [["render", Li], ["__scopeId", "data-v-9b0fa8db"]]), Ei = Y({
11321
11325
  components: {
11322
11326
  xdmpDrawer: ee
11323
11327
  },
@@ -11382,7 +11386,7 @@ const Us = /* @__PURE__ */ z(Ti, [["render", Fi], ["__scopeId", "data-v-9b0fa8db
11382
11386
  }
11383
11387
  }
11384
11388
  });
11385
- function Ei(e, t, r, l, u, y) {
11389
+ function Ri(e, t, r, l, u, y) {
11386
11390
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("xdmpDrawer"), b = M("emoji"), f = M("loading");
11387
11391
  return m(), _(p, {
11388
11392
  ref: "xdmpDrawer",
@@ -11446,10 +11450,10 @@ function Ei(e, t, r, l, u, y) {
11446
11450
  _: 1
11447
11451
  }, 8, ["title", "size", "onCancel", "onSubmit"]);
11448
11452
  }
11449
- const Ri = /* @__PURE__ */ z(Li, [["render", Ei], ["__scopeId", "data-v-e0147848"]]), Pi = Y({
11453
+ const Pi = /* @__PURE__ */ z(Ei, [["render", Ri], ["__scopeId", "data-v-e0147848"]]), Ni = Y({
11450
11454
  components: {
11451
11455
  ListReport: oe,
11452
- notifyDrawer: Ri,
11456
+ notifyDrawer: Pi,
11453
11457
  PageDesc: te
11454
11458
  },
11455
11459
  data() {
@@ -11525,10 +11529,10 @@ const Ri = /* @__PURE__ */ z(Li, [["render", Ei], ["__scopeId", "data-v-e0147848
11525
11529
  });
11526
11530
  }
11527
11531
  }
11528
- }), Ni = { class: "notify_wrapper" }, Ii = { class: "searchInputCustomStyle" };
11529
- function Vi(e, t, r, l, u, y) {
11532
+ }), Ii = { class: "notify_wrapper" }, Vi = { class: "searchInputCustomStyle" };
11533
+ function qi(e, t, r, l, u, y) {
11530
11534
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("notifyDrawer"), U = M("emoji"), I = M("loading");
11531
- return m(), V("div", Ni, [
11535
+ return m(), V("div", Ii, [
11532
11536
  o(s, { desc: "通知管理,支持系统通知消息的增删改查。" }),
11533
11537
  E((m(), _(v, { class: "notify_block" }, {
11534
11538
  filter: n(() => [
@@ -11604,7 +11608,7 @@ function Vi(e, t, r, l, u, y) {
11604
11608
  }, 8, ["model", "onSubmit"])
11605
11609
  ]),
11606
11610
  toolbar: n(() => [
11607
- T("div", Ii, [
11611
+ T("div", Vi, [
11608
11612
  e.checkPermission(["ROLE_NOTIFY_CREATE"]) ? (m(), _(p, {
11609
11613
  key: 0,
11610
11614
  style: { width: "88px" },
@@ -11704,7 +11708,7 @@ function Vi(e, t, r, l, u, y) {
11704
11708
  }, null, 8, ["onReload"])
11705
11709
  ]);
11706
11710
  }
11707
- const zs = /* @__PURE__ */ z(Pi, [["render", Vi], ["__scopeId", "data-v-ba9f608a"]]), qi = Y({
11711
+ const Ys = /* @__PURE__ */ z(Ni, [["render", qi], ["__scopeId", "data-v-ba9f608a"]]), Oi = Y({
11708
11712
  components: {
11709
11713
  xdmpDrawer: ee
11710
11714
  },
@@ -11760,7 +11764,7 @@ const zs = /* @__PURE__ */ z(Pi, [["render", Vi], ["__scopeId", "data-v-ba9f608a
11760
11764
  }
11761
11765
  }
11762
11766
  });
11763
- function Oi(e, t, r, l, u, y) {
11767
+ function Ai(e, t, r, l, u, y) {
11764
11768
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("xdmpDrawer");
11765
11769
  return m(), V("div", null, [
11766
11770
  o(p, {
@@ -11834,10 +11838,10 @@ function Oi(e, t, r, l, u, y) {
11834
11838
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
11835
11839
  ]);
11836
11840
  }
11837
- const Ai = /* @__PURE__ */ z(qi, [["render", Oi]]), Mi = Y({
11841
+ const Mi = /* @__PURE__ */ z(Oi, [["render", Ai]]), Ui = Y({
11838
11842
  components: {
11839
11843
  ListReport: oe,
11840
- positionDrawer: Ai,
11844
+ positionDrawer: Mi,
11841
11845
  PageDesc: te
11842
11846
  },
11843
11847
  data() {
@@ -11915,10 +11919,10 @@ const Ai = /* @__PURE__ */ z(qi, [["render", Oi]]), Mi = Y({
11915
11919
  this.queryParams.pageNo = e, this.getPositionList();
11916
11920
  }
11917
11921
  }
11918
- }), Ui = { class: "position_wrapper" };
11919
- function zi(e, t, r, l, u, y) {
11922
+ }), zi = { class: "position_wrapper" };
11923
+ function Yi(e, t, r, l, u, y) {
11920
11924
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("positionDrawer"), I = M("loading");
11921
- return m(), V("div", Ui, [
11925
+ return m(), V("div", zi, [
11922
11926
  o(s, { desc: "职位管理,支持职位信息的增删改查。" }),
11923
11927
  E((m(), _(S, { class: "position_block" }, {
11924
11928
  filter: n(() => [
@@ -12093,16 +12097,16 @@ function zi(e, t, r, l, u, y) {
12093
12097
  }, null, 8, ["onReload"])
12094
12098
  ]);
12095
12099
  }
12096
- const Ys = /* @__PURE__ */ z(Mi, [["render", zi], ["__scopeId", "data-v-5c01c15a"]]), Yi = Y({
12100
+ const js = /* @__PURE__ */ z(Ui, [["render", Yi], ["__scopeId", "data-v-5c01c15a"]]), ji = Y({
12097
12101
  name: "SystemDepart"
12098
- }), ji = { class: "app-container" };
12099
- function Bi(e, t, r, l, u, y) {
12100
- return m(), V("div", ji, [...t[0] || (t[0] = [
12102
+ }), Bi = { class: "app-container" };
12103
+ function Ki(e, t, r, l, u, y) {
12104
+ return m(), V("div", Bi, [...t[0] || (t[0] = [
12101
12105
  T("h2", null, "组织管理", -1),
12102
12106
  T("p", null, "组织管理页面", -1)
12103
12107
  ])]);
12104
12108
  }
12105
- const js = /* @__PURE__ */ z(Yi, [["render", Bi]]), Ki = {
12109
+ const Bs = /* @__PURE__ */ z(ji, [["render", Ki]]), Hi = {
12106
12110
  components: {
12107
12111
  xdmpDrawer: ee,
12108
12112
  JsonPreview: yt
@@ -12142,7 +12146,7 @@ const js = /* @__PURE__ */ z(Yi, [["render", Bi]]), Ki = {
12142
12146
  }
12143
12147
  }
12144
12148
  };
12145
- function Hi(e, t, r, l, u, y) {
12149
+ function Qi(e, t, r, l, u, y) {
12146
12150
  const s = a("el-input"), i = a("el-form-item"), d = a("JsonPreview"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
12147
12151
  return m(), V("div", null, [
12148
12152
  o(b, {
@@ -12209,11 +12213,11 @@ function Hi(e, t, r, l, u, y) {
12209
12213
  }, 8, ["title", "size", "onCancel"])
12210
12214
  ]);
12211
12215
  }
12212
- const Qi = /* @__PURE__ */ z(Ki, [["render", Hi], ["__scopeId", "data-v-82f42eef"]]), Gi = {
12216
+ const Gi = /* @__PURE__ */ z(Hi, [["render", Qi], ["__scopeId", "data-v-82f42eef"]]), Ji = {
12213
12217
  name: "ApplyLog",
12214
12218
  components: {
12215
12219
  ListReport: oe,
12216
- ApplyLogDrawer: Qi
12220
+ ApplyLogDrawer: Gi
12217
12221
  },
12218
12222
  data() {
12219
12223
  return {
@@ -12287,7 +12291,7 @@ const Qi = /* @__PURE__ */ z(Ki, [["render", Hi], ["__scopeId", "data-v-82f42eef
12287
12291
  }
12288
12292
  }
12289
12293
  };
12290
- function Ji(e, t, r, l, u, y) {
12294
+ function Wi(e, t, r, l, u, y) {
12291
12295
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-date-picker"), f = a("el-button"), g = a("el-form"), C = a("el-table-column"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("ApplyLogDrawer"), I = M("emoji"), w = M("loading");
12292
12296
  return m(), V("div", null, [
12293
12297
  E((m(), _(S, { class: "data_block" }, {
@@ -12501,14 +12505,14 @@ function Ji(e, t, r, l, u, y) {
12501
12505
  o(U, { ref: "applyLogDrawerRef" }, null, 512)
12502
12506
  ]);
12503
12507
  }
12504
- const Wi = /* @__PURE__ */ z(Gi, [["render", Ji], ["__scopeId", "data-v-b0e87ae5"]]), Zi = {
12508
+ const Zi = /* @__PURE__ */ z(Ji, [["render", Wi], ["__scopeId", "data-v-b0e87ae5"]]), Xi = {
12505
12509
  name: "AppLogPage",
12506
12510
  components: {
12507
12511
  pageDecs: te,
12508
- applyLog: Wi
12512
+ applyLog: Zi
12509
12513
  }
12510
12514
  };
12511
- function Xi(e, t, r, l, u, y) {
12515
+ function xi(e, t, r, l, u, y) {
12512
12516
  const s = a("pageDecs"), i = a("applyLog");
12513
12517
  return m(), V("div", null, [
12514
12518
  o(s, {
@@ -12518,7 +12522,7 @@ function Xi(e, t, r, l, u, y) {
12518
12522
  o(i)
12519
12523
  ]);
12520
12524
  }
12521
- const Bs = /* @__PURE__ */ z(Zi, [["render", Xi]]), xi = /^[a-z]([a-z0-9-]{0,48}[a-z0-9])$/, es = "以小写字母开头,2-50 位,仅小写字母、数字与中划线,且不以中划线结尾", ts = Y({
12525
+ const Ks = /* @__PURE__ */ z(Xi, [["render", xi]]), es = /^[a-z]([a-z0-9-]{0,48}[a-z0-9])$/, ts = "以小写字母开头,2-50 位,仅小写字母、数字与中划线,且不以中划线结尾", os = Y({
12522
12526
  components: {
12523
12527
  xdmpDrawer: ee
12524
12528
  },
@@ -12540,8 +12544,8 @@ const Bs = /* @__PURE__ */ z(Zi, [["render", Xi]]), xi = /^[a-z]([a-z0-9-]{0,48}
12540
12544
  tenantCode: [
12541
12545
  { required: !0, message: "请输入租户编码", trigger: "blur" },
12542
12546
  {
12543
- pattern: xi,
12544
- message: es,
12547
+ pattern: es,
12548
+ message: ts,
12545
12549
  trigger: "blur"
12546
12550
  }
12547
12551
  ],
@@ -12604,7 +12608,7 @@ const Bs = /* @__PURE__ */ z(Zi, [["render", Xi]]), xi = /^[a-z]([a-z0-9-]{0,48}
12604
12608
  }
12605
12609
  }
12606
12610
  });
12607
- function os(e, t, r, l, u, y) {
12611
+ function ns(e, t, r, l, u, y) {
12608
12612
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-form"), f = a("xdmpDrawer");
12609
12613
  return m(), V("div", null, [
12610
12614
  o(f, {
@@ -12717,10 +12721,10 @@ function os(e, t, r, l, u, y) {
12717
12721
  }, 8, ["title", "size", "onSubmit", "onCancel"])
12718
12722
  ]);
12719
12723
  }
12720
- const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12724
+ const rs = /* @__PURE__ */ z(os, [["render", ns]]), as = Y({
12721
12725
  components: {
12722
12726
  ListReport: oe,
12723
- tenantDrawer: ns,
12727
+ tenantDrawer: rs,
12724
12728
  PageDesc: te
12725
12729
  },
12726
12730
  data() {
@@ -12729,7 +12733,8 @@ const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12729
12733
  total: 0,
12730
12734
  list: [],
12731
12735
  parentLabels: {},
12732
- impersonateTenantId: Uo(),
12736
+ tenantMode: Uo(),
12737
+ impersonateTenantId: zo(),
12733
12738
  queryParams: {
12734
12739
  query: {
12735
12740
  keyword: "",
@@ -12821,7 +12826,7 @@ const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12821
12826
  });
12822
12827
  },
12823
12828
  impersonateTenant(e) {
12824
- W.confirm(
12829
+ this.tenantMode === "saas" && W.confirm(
12825
12830
  `确定代入租户「${e.tenantName}」吗?代入后仅可见该租户数据,操作将记入审计。`,
12826
12831
  "提示",
12827
12832
  { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }
@@ -12842,12 +12847,14 @@ const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12842
12847
  this.queryParams.pageNo = e, this.getTenantList();
12843
12848
  }
12844
12849
  }
12845
- }), as = { class: "tenant_wrapper" };
12846
- function ls(e, t, r, l, u, y) {
12850
+ }), ls = { class: "tenant_wrapper" };
12851
+ function is(e, t, r, l, u, y) {
12847
12852
  const s = a("pageDesc"), i = a("el-button"), d = a("el-alert"), p = a("el-input"), b = a("el-form-item"), f = a("el-option"), g = a("el-select"), C = a("el-form"), k = a("el-table-column"), v = a("el-divider"), S = a("el-table"), U = a("el-pagination"), I = a("ListReport"), w = a("tenantDrawer"), D = M("loading");
12848
- return m(), V("div", as, [
12849
- o(s, { desc: "租户管理(SaaS 运营台):开通/停用租户、绑定独立域名,代入后仅可见目标租户数据。" }),
12850
- e.impersonateTenantId ? (m(), _(d, {
12853
+ return m(), V("div", ls, [
12854
+ o(s, {
12855
+ desc: e.tenantMode === "saas" ? "租户管理(SaaS 运营台):开通/停用租户、绑定独立域名,代入后仅可见目标租户数据。" : "租户管理(私有化):根租户信息与独立域名维护。"
12856
+ }, null, 8, ["desc"]),
12857
+ e.impersonateTenantId && e.tenantMode === "saas" ? (m(), _(d, {
12851
12858
  key: 0,
12852
12859
  class: "tenant_impersonate_tip",
12853
12860
  type: "warning",
@@ -13070,7 +13077,7 @@ function ls(e, t, r, l, u, y) {
13070
13077
  _: 2
13071
13078
  }, 1032, ["onClick"])) : P("", !0),
13072
13079
  o(v, { direction: "vertical" }),
13073
- e.checkPermission(["ROLE_TENANT_IMPERSONATE"]) ? (m(), _(i, {
13080
+ e.tenantMode === "saas" && e.checkPermission(["ROLE_TENANT_IMPERSONATE"]) ? (m(), _(i, {
13074
13081
  key: 3,
13075
13082
  text: "",
13076
13083
  type: "primary",
@@ -13112,7 +13119,7 @@ function ls(e, t, r, l, u, y) {
13112
13119
  }, null, 8, ["onReload"])
13113
13120
  ]);
13114
13121
  }
13115
- const Ks = /* @__PURE__ */ z(rs, [["render", ls], ["__scopeId", "data-v-92963ddf"]]), is = Y({
13122
+ const Hs = /* @__PURE__ */ z(as, [["render", is], ["__scopeId", "data-v-dd1269d2"]]), ss = Y({
13116
13123
  components: {
13117
13124
  xdmpDrawer: ee,
13118
13125
  AvatarUpload: rt
@@ -13190,7 +13197,7 @@ const Ks = /* @__PURE__ */ z(rs, [["render", ls], ["__scopeId", "data-v-92963ddf
13190
13197
  }
13191
13198
  }
13192
13199
  });
13193
- function ss(e, t, r, l, u, y) {
13200
+ function ds(e, t, r, l, u, y) {
13194
13201
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("AvatarUpload"), f = a("el-form"), g = a("xdmpDrawer"), C = M("emoji");
13195
13202
  return m(), V("div", null, [
13196
13203
  o(g, {
@@ -13290,15 +13297,15 @@ function ss(e, t, r, l, u, y) {
13290
13297
  }, 8, ["title", "size", "onCancel"])
13291
13298
  ]);
13292
13299
  }
13293
- const ds = /* @__PURE__ */ z(is, [["render", ss]]);
13294
- function us(e) {
13300
+ const us = /* @__PURE__ */ z(ss, [["render", ds]]);
13301
+ function ps(e) {
13295
13302
  return L().system.binary.download(e).then((t) => new Blob([t.data], { type: t.headers["content-type"] }));
13296
13303
  }
13297
- const ps = Y({
13304
+ const ms = Y({
13298
13305
  components: {
13299
13306
  ListReport: oe,
13300
13307
  pageDesc: te,
13301
- addMemberDrawer: ds
13308
+ addMemberDrawer: us
13302
13309
  },
13303
13310
  data() {
13304
13311
  return {
@@ -13336,7 +13343,7 @@ const ps = Y({
13336
13343
  }
13337
13344
  });
13338
13345
  this.tableLoading = !1, this.list = t.list, this.total = t.total, this.list.forEach((r) => {
13339
- r.avatar && us(r.avatar).then((l) => {
13346
+ r.avatar && ps(r.avatar).then((l) => {
13340
13347
  r._avatarUrl = window.URL.createObjectURL(l);
13341
13348
  }).catch(() => {
13342
13349
  });
@@ -13388,10 +13395,10 @@ const ps = Y({
13388
13395
  });
13389
13396
  }
13390
13397
  }
13391
- }), ms = { class: "member_wrapper" };
13392
- function cs(e, t, r, l, u, y) {
13398
+ }), cs = { class: "member_wrapper" };
13399
+ function hs(e, t, r, l, u, y) {
13393
13400
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-button"), g = a("el-form"), C = a("el-image"), k = a("UserFilled"), v = a("el-icon"), S = a("el-table-column"), U = a("el-divider"), I = a("el-table"), w = a("el-pagination"), D = a("ListReport"), h = a("addMemberDrawer"), H = M("emoji"), ce = M("permission"), re = M("loading");
13394
- return m(), V("div", ms, [
13401
+ return m(), V("div", cs, [
13395
13402
  o(s, { desc: "成员管理,支持系统成员的增删改查。" }),
13396
13403
  E((m(), _(D, { class: "member_block" }, {
13397
13404
  filter: n(() => [
@@ -13617,42 +13624,43 @@ function cs(e, t, r, l, u, y) {
13617
13624
  o(h, { ref: "addMemberDrawer" }, null, 512)
13618
13625
  ]);
13619
13626
  }
13620
- const Hs = /* @__PURE__ */ z(ps, [["render", cs], ["__scopeId", "data-v-b5e7e198"]]);
13627
+ const Qs = /* @__PURE__ */ z(ms, [["render", hs], ["__scopeId", "data-v-b5e7e198"]]);
13621
13628
  export {
13622
13629
  mt as A,
13623
13630
  Mo as B,
13624
- Uo as C,
13625
- Mt as D,
13626
- zo as E,
13631
+ zo as C,
13632
+ Uo as D,
13633
+ Mt as E,
13627
13634
  Yo as F,
13628
- ot as G,
13629
- vs as H,
13630
- L as I,
13631
- pt as J,
13635
+ jo as G,
13636
+ ot as H,
13637
+ Ds as I,
13638
+ L as J,
13639
+ pt as K,
13632
13640
  z as _,
13633
- Is as a,
13634
- Hs as b,
13635
- Ts as c,
13636
- Ms as d,
13637
- Rs as e,
13638
- Os as f,
13639
- Ls as g,
13640
- Es as h,
13641
- Vs as i,
13642
- js as j,
13643
- qs as k,
13644
- As as l,
13645
- Bs as m,
13646
- Us as n,
13647
- zs as o,
13648
- Fs as p,
13649
- Ss as q,
13650
- Ys as r,
13651
- $s as s,
13652
- Ks as t,
13653
- Ds as u,
13654
- Ns as v,
13655
- Ps as w,
13641
+ Vs as a,
13642
+ Qs as b,
13643
+ Ss as c,
13644
+ Us as d,
13645
+ Ps as e,
13646
+ As as f,
13647
+ Es as g,
13648
+ Rs as h,
13649
+ qs as i,
13650
+ Bs as j,
13651
+ Os as k,
13652
+ Ms as l,
13653
+ Ks as m,
13654
+ zs as n,
13655
+ Ys as o,
13656
+ Ls as p,
13657
+ Fs as q,
13658
+ js as r,
13659
+ Ts as s,
13660
+ Hs as t,
13661
+ $s as u,
13662
+ Is as v,
13663
+ Ns as w,
13656
13664
  se as x,
13657
13665
  At as y,
13658
13666
  Ot as z