halo-pc 1.0.46 → 1.0.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/dist/{Article-vp9nJvsL.js → Article-B4W1yDus.js} +2 -2
  2. package/dist/{ArticleFooter-BzaIAVFi.js → ArticleFooter-BZmGzE4z.js} +1 -1
  3. package/dist/{Autocomplete-DgeCNbXh.js → Autocomplete-B691jOqv.js} +1 -1
  4. package/dist/{Autocomplete-DqaRWuqm.js → Autocomplete-CLYzsHIy.js} +1 -1
  5. package/dist/{Autocomplete-C_ubys4i.js → Autocomplete-DXKXgbu8.js} +1 -1
  6. package/dist/{CSharp-DKHym_MQ.js → CSharp-Bu5b_AQ5.js} +1 -1
  7. package/dist/{Calender-CuyWf8-X.js → Calender-Df0eBgXW.js} +1 -1
  8. package/dist/{Callback-CbFMEW9i.js → Callback-Bk7xDeWh.js} +7 -7
  9. package/dist/{Cascader-B4mptNwU.js → Cascader-Bn5tdkyk.js} +1 -1
  10. package/dist/{Cascader-CoBLPVi3.js → Cascader-CCv6R_xq.js} +1 -1
  11. package/dist/{Checkbox-7XS2XSkj.js → Checkbox-DJTNEds9.js} +1 -1
  12. package/dist/{Checkbox-B0PfJmjL.js → Checkbox-l-dw3I-D.js} +1 -1
  13. package/dist/{Code-BPkep1Ji.js → Code-BIJ8L9XB.js} +1 -1
  14. package/dist/{Code-Bp1q94rL.js → Code-CC0_bYUf.js} +1 -1
  15. package/dist/{Code-Bua_p06G.js → Code-DSskK7CQ.js} +1 -1
  16. package/dist/{Code-DY3C7vrX.js → Code-DzZ4UNYj.js} +1 -1
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-B93OAnNg.js → Code.vue_vue_type_style_index_0_lang-B69Ar-BV.js} +1 -1
  18. package/dist/{Column-B1jtfzmr.js → Column-Ct-WeomE.js} +1 -1
  19. package/dist/{Comment-Bkj6WRdA.js → Comment-WXfnUXm0.js} +1 -1
  20. package/dist/{Compare-BTwl6Ygd.js → Compare-C7wrM-XA.js} +1 -1
  21. package/dist/{Compare-DA7BCjKZ.js → Compare-slAZvFE_.js} +1 -1
  22. package/dist/{Copy-D6TrTD-h.js → Copy-Djf4freJ.js} +1 -1
  23. package/dist/{Custom-qtIN7b75.js → Custom-D-E5y5Vg.js} +1 -1
  24. package/dist/{DataExport-CMocShBg.js → DataExport-TrGLjcqQ.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-XfLqw8vq.js → DataExport.vue_vue_type_script_setup_true_lang-BRI71FyH.js} +1 -1
  26. package/dist/{DataImport-BmBOP46y.js → DataImport-rcDmGVKS.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DuWFsm5i.js → DataImport.vue_vue_type_script_setup_true_lang-BajrFerF.js} +1 -1
  28. package/dist/{Date-BOpBMHrO.js → Date-7EWMEODI.js} +1 -1
  29. package/dist/{Date-Dtkgb14j.js → Date-Dc2vK9Yv.js} +1 -1
  30. package/dist/{DateRange-Dp8UaElP.js → DateRange-Uli5eOZ5.js} +1 -1
  31. package/dist/{DateTime-9olPZQQM.js → DateTime-C-XhFPb0.js} +1 -1
  32. package/dist/{DateTime-Dsic9kuS.js → DateTime-DfUXtsBX.js} +1 -1
  33. package/dist/{DateTimeRange-BRkPJW15.js → DateTimeRange-CnITxfZ9.js} +1 -1
  34. package/dist/{Daterange-qNvOTZ6s.js → Daterange-CPJSBRvr.js} +1 -1
  35. package/dist/{Decimal-Bw0CL7Yl.js → Decimal-BtQpSIJR.js} +1 -1
  36. package/dist/{Delete-BORgzUbB.js → Delete-r-qTGBEE.js} +1 -1
  37. package/dist/{Detail-Cme-JSWR.js → Detail-D77pFe-2.js} +1 -1
  38. package/dist/{Dictionary-BDBGE70E.js → Dictionary-ICeLwv7E.js} +1 -1
  39. package/dist/{Email-Cv-m8tOx.js → Email-BanDj216.js} +1 -1
  40. package/dist/{File-BgI_8Ixx.js → File-BrXieip7.js} +2 -2
  41. package/dist/{Image-B1-gpU95.js → Image-D_5kTXKm.js} +1 -1
  42. package/dist/{Index-D1VXwmo_.js → Index-BMBm5j5X.js} +1 -1
  43. package/dist/Index-BQmAD1mw.js +4 -0
  44. package/dist/{Index-DGpFY8js.js → Index-Bov1OTEP.js} +1 -1
  45. package/dist/Index-Ceu5HCjk.js +4 -0
  46. package/dist/{Index-CfluiuuF.js → Index-CsxTOaw6.js} +2 -2
  47. package/dist/Index-Ddz9mcly.js +4 -0
  48. package/dist/Index-DhShUw_y.js +4 -0
  49. package/dist/{Index-BGVwD-UO.js → Index-wHW-zG4G.js} +2 -2
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-1RE5xi6l.js → Index.vue_vue_type_script_setup_true_lang-BlpCvZBC.js} +1 -1
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DQtJ9qKm.js → Index.vue_vue_type_script_setup_true_lang-C_KWQFHN.js} +1 -1
  52. package/dist/{Install-DO1WyHfe.js → Install-DhWWbGRi.js} +22 -22
  53. package/dist/{Int-BODrCoEO.js → Int-BELzPmec.js} +1 -1
  54. package/dist/{Int-Cj_jRD6I.js → Int-BZkW-0JA.js} +1 -1
  55. package/dist/{List-B-B6fjFk.js → List-9r5PDoSS.js} +1 -1
  56. package/dist/{Maintaince-BSdycbKr.js → Maintaince-CMitKNaf.js} +1 -1
  57. package/dist/{Markdown-CWEKHV8b.js → Markdown-C8urG88V.js} +1 -1
  58. package/dist/{Month-CKbHdLfO.js → Month-BNp70T17.js} +1 -1
  59. package/dist/{Month-CdHe6pdR.js → Month-CK5GNwwH.js} +1 -1
  60. package/dist/{Month-CkofAR4O.js → Month-D4gy17OL.js} +1 -1
  61. package/dist/{Normal-3xeQTyhS.js → Normal-Cvx8228I.js} +1 -1
  62. package/dist/{Paging-Ct1z6EsP.js → Paging-B3l_nJHf.js} +2 -2
  63. package/dist/{PagingHeader-C56epdKF.js → PagingHeader-CYOKAeGS.js} +1 -1
  64. package/dist/{PagingRow-sW2AOAGv.js → PagingRow-vv6z6G0t.js} +1 -1
  65. package/dist/{Racebar-HWBM8-EX.js → Racebar-B4Q4oVfM.js} +2 -2
  66. package/dist/{Radio-BBoKSy_l.js → Radio-DA8B5Rlh.js} +1 -1
  67. package/dist/{Register-_Wawv6a9.js → Register-BaFqs8vX.js} +2 -2
  68. package/dist/{RichText-4OvMQMM7.js → RichText-TV3ZnykX.js} +1 -1
  69. package/dist/{SearchForm-C3zOUIIX.js → SearchForm-zVUHuxiR.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DxDlASaQ.js → SearchForm.vue_vue_type_style_index_0_lang-BvwtZSIf.js} +1 -1
  71. package/dist/{SearchHeader-BMCHfjBo.js → SearchHeader-Dqr5IKuO.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DVqf112o.js → SearchHeader.vue_vue_type_style_index_0_lang-DjpC03Al.js} +1 -1
  73. package/dist/{Select-Bhvkxayr.js → Select-51pxexYZ.js} +1 -1
  74. package/dist/Select-BvRI4zbF.js +123 -0
  75. package/dist/{Select-BGPyIb2O.js → Select-CUvvvGNn.js} +1 -1
  76. package/dist/{Single-RZ_U-oZd.js → Single-BtAJSJLK.js} +4 -4
  77. package/dist/{Statistic-y6MyH7-F.js → Statistic-CQ2oA1vm.js} +26 -26
  78. package/dist/{Stock-B_otBoO4.js → Stock-DF5yBa1X.js} +1 -1
  79. package/dist/{Stock-B7e5G2Tr.js → Stock-DylT7df9.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-BH-u_16-.js → Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js} +8 -8
  81. package/dist/{Switch-Da93_Vfb.js → Switch-CGcPpvTj.js} +1 -1
  82. package/dist/{Table-C0KwyDgj.js → Table-1R7b4wsF.js} +2 -2
  83. package/dist/{Table-CHUXN3eS.js → Table-BlciJJMu.js} +5 -5
  84. package/dist/{Text-BmBE5HsZ.js → Text-Bx46Fcln.js} +1 -1
  85. package/dist/Text-CA8i8QjK.js +4 -0
  86. package/dist/{Text-DB2Wk3p7.js → Text-Dv_w46l8.js} +1 -1
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-DSmCsQqR.js → Text.vue_vue_type_style_index_0_lang-CfmQxBpy.js} +1 -1
  88. package/dist/{TextLink-CjLZ0G1H.js → TextLink-CQj0ytVR.js} +1 -1
  89. package/dist/{Textarea-CIcZ7Bbv.js → Textarea-D6VcTq4G.js} +1 -1
  90. package/dist/{Time-CVo_1Z_K.js → Time-WN0VMSgh.js} +1 -1
  91. package/dist/{Timeline-nKgSB2Zp.js → Timeline-DckHQQHw.js} +1 -1
  92. package/dist/{Tree-BZi7zcDn.js → Tree-BWxBxlZN.js} +1 -1
  93. package/dist/{Tree-BOQxh3M_.js → Tree-DHwhhXMP.js} +1 -1
  94. package/dist/{TreeNode-BSq6po5K.js → TreeNode-CeXU-uB1.js} +1 -1
  95. package/dist/{Update-scraILBD.js → Update-Ct44IN2J.js} +1 -1
  96. package/dist/{UpdateChild-BzpxMZ3o.js → UpdateChild-Bo6yZ12Y.js} +1 -1
  97. package/dist/{Upload-CkWdwC_I.js → Upload-CfRc8s-c.js} +1 -1
  98. package/dist/{Upload-Cg-G5qFh.js → Upload-Dui004Aq.js} +1 -1
  99. package/dist/{Year-CKP56hze.js → Year-CgsNE-M5.js} +1 -1
  100. package/dist/{Year-C4K6YOBk.js → Year-oJxibej6.js} +1 -1
  101. package/dist/{main-DZkfwl3K.js → main-BJRpvr2g.js} +644 -640
  102. package/dist/main.js +22 -22
  103. package/esm/main.d.ts +2 -2
  104. package/esm/svcs/AppSvc.d.ts +1 -1
  105. package/esm/svcs/index.d.ts +2 -2
  106. package/package.json +1 -1
  107. package/dist/Index-Be5ZRMiA.js +0 -4
  108. package/dist/Index-CVS1mp3F.js +0 -4
  109. package/dist/Index-CvBbNK73.js +0 -4
  110. package/dist/Index-DKDZFU7v.js +0 -4
  111. package/dist/Select-DZAf_BZO.js +0 -117
  112. package/dist/Text-CjXlBCL6.js +0 -4
@@ -3,13 +3,13 @@ var hl = (d, r, e) => r in d ? ml(d, r, { enumerable: !0, configurable: !0, writ
3
3
  var a = (d, r, e) => hl(d, typeof r != "symbol" ? r + "" : r, e);
4
4
  import { L as fl } from "./assets/liquidjs-BfOWWjtJ.js";
5
5
  import { _ as it } from "./assets/underscore-B0BCaBxV.js";
6
- import { defineAsyncComponent as $e, watch as me, reactive as Me, defineComponent as X, toRefs as ie, openBlock as f, createElementBlock as _, createElementVNode as w, toDisplayString as L, unref as o, renderSlot as ae, createCommentVNode as Q, ref as S, onMounted as ye, onUnmounted as xe, normalizeStyle as we, normalizeClass as ce, createTextVNode as G, createBlock as W, withCtx as b, mergeModels as Ce, useModel as Te, nextTick as Ve, withDirectives as gl, createStaticVNode as yl, vShow as vl, createVNode as A, isRef as _e, Fragment as ue, renderList as pe, computed as he, onBeforeUnmount as ht, resolveComponent as J, resolveDynamicComponent as Ne, Teleport as ft, toRef as jt, useSlots as Dt, onUpdated as gt, inject as Mt, withModifiers as Re, provide as Vt, createSlots as bl, TransitionGroup as wl } from "vue";
6
+ import { defineAsyncComponent as Ae, watch as me, reactive as Me, defineComponent as X, toRefs as ie, openBlock as g, createElementBlock as _, createElementVNode as w, toDisplayString as L, unref as o, renderSlot as ae, createCommentVNode as Q, ref as S, onMounted as ye, onUnmounted as xe, normalizeStyle as we, normalizeClass as ce, createTextVNode as G, createBlock as q, withCtx as b, mergeModels as Ce, useModel as Te, nextTick as Ve, withDirectives as gl, createStaticVNode as yl, vShow as vl, createVNode as $, isRef as _e, Fragment as ue, renderList as pe, computed as he, onBeforeUnmount as ht, resolveComponent as J, resolveDynamicComponent as Ne, Teleport as ft, toRef as jt, useSlots as Dt, onUpdated as gt, inject as Mt, withModifiers as Re, provide as Vt, createSlots as bl, TransitionGroup as wl } from "vue";
7
7
  import { F as _l } from "./assets/file-saver-CwlpTZSc.js";
8
8
  import { c as kl } from "./assets/clone-BZn0cTAu.js";
9
9
  import { _ as xl } from "./assets/underscore.string-DVXD2SZo.js";
10
10
  import { h as Ze } from "./assets/moment-h96o7c8I.js";
11
11
  import Cl, { ElMessage as et, ElMessageBox as St, ElNotification as ut, ElDialog as Sl } from "element-plus";
12
- import { z as $l, E as Al, h as Tl } from "./assets/element-plus-CT-3dawQ.js";
12
+ import { z as Al, E as $l, h as Tl } from "./assets/element-plus-CT-3dawQ.js";
13
13
  import { createRouter as Rl, createWebHistory as El, useRoute as Fe } from "vue-router";
14
14
  import { f as Ul } from "./assets/intro.js-Cg1adLK7.js";
15
15
  class Lt {
@@ -74,8 +74,8 @@ class Dl extends rt {
74
74
  update(e) {
75
75
  let { name: t, columns: l, rows: s } = e, n = "", u = l.filter((i) => i.key).map((i) => i.name);
76
76
  for (let i = 0; i < s.length; i++) {
77
- let c = s[i], p = m.object.extract(c, u), h = m.json.serialize(p, !0), g = m.json.serialize(c, !0);
78
- n += `db.${t}.update(${h},{$set:${g})`, i != s.length - 1 && (n += `\r
77
+ let c = s[i], p = m.object.extract(c, u), h = m.json.serialize(p, !0), f = m.json.serialize(c, !0);
78
+ n += `db.${t}.update(${h},{$set:${f})`, i != s.length - 1 && (n += `\r
79
79
  `);
80
80
  }
81
81
  return n;
@@ -234,11 +234,11 @@ const Be = class Be extends yt {
234
234
  return new Promise(async (n, u) => {
235
235
  let p = (await this.openTransAsync(s, e, "readwrite")).objectStore(e).add(l, t);
236
236
  p.onsuccess = (h) => {
237
- let g = h.target.result;
238
- n(g);
237
+ let f = h.target.result;
238
+ n(f);
239
239
  }, p.onerror = (h) => {
240
- let g = h.target.error;
241
- u(g.message);
240
+ let f = h.target.error;
241
+ u(f.message);
242
242
  };
243
243
  });
244
244
  }
@@ -261,11 +261,11 @@ const Be = class Be extends yt {
261
261
  let s = await this.openDbAsync();
262
262
  return new Promise(async (n, u) => {
263
263
  let i = await this.openTransAsync(s, e, "readwrite"), c = m.object.clone(l), h = i.objectStore(e).put(c, t);
264
- h.onsuccess = (g) => {
265
- let y = g.target.result;
264
+ h.onsuccess = (f) => {
265
+ let y = f.target.result;
266
266
  n(y);
267
- }, h.onerror = (g) => {
268
- let y = g.target.error;
267
+ }, h.onerror = (f) => {
268
+ let y = f.target.error;
269
269
  u(y.message);
270
270
  };
271
271
  });
@@ -576,7 +576,7 @@ class Ll extends fe {
576
576
  return await e.openAsync(), e;
577
577
  }
578
578
  }
579
- class $t {
579
+ class At {
580
580
  /**
581
581
  * 获取实际SQL字段名称
582
582
  */
@@ -599,20 +599,20 @@ class pt extends rt {
599
599
  a(this, "type", "Sql");
600
600
  }
601
601
  insert(e) {
602
- let { name: t, columns: l, rows: s } = e, n = e.getIdentity(), u = "", p = l.filter((h) => !h.identity).map((h) => $t.getSqlName(h.name)).join(", ");
602
+ let { name: t, columns: l, rows: s } = e, n = e.getIdentity(), u = "", p = l.filter((h) => !h.identity).map((h) => At.getSqlName(h.name)).join(", ");
603
603
  for (let h = 0; h < s.length; h++) {
604
- let g = s[h];
604
+ let f = s[h];
605
605
  u += `INSERT INTO ${t}\r
606
606
  `, u += `(${p})\r
607
607
  `, u += `VALUES\r
608
608
  `, u += "(";
609
- let y = Object.keys(g);
610
- for (let $ = 0; $ < y.length; $++) {
611
- let k = y[$];
609
+ let y = Object.keys(f);
610
+ for (let A = 0; A < y.length; A++) {
611
+ let k = y[A];
612
612
  if (n != null && n.name == k)
613
613
  continue;
614
- let j = g[k];
615
- u += `${$t.getValue(j)}`, $ != y.length - 1 && (u += ", ");
614
+ let j = f[k];
615
+ u += `${At.getValue(j)}`, A != y.length - 1 && (u += ", ");
616
616
  }
617
617
  u += ")", h != s.length - 1 && (u += `\r
618
618
  \r
@@ -956,7 +956,7 @@ class Ht {
956
956
  }
957
957
  //#endregion
958
958
  }
959
- class Wl extends Ht {
959
+ class ql extends Ht {
960
960
  constructor() {
961
961
  super(...arguments);
962
962
  //#region 属性
@@ -972,7 +972,7 @@ class Wl extends Ht {
972
972
  return this.crypto.AES.encrypt(e, t).toString();
973
973
  }
974
974
  }
975
- class ql extends Ht {
975
+ class Wl extends Ht {
976
976
  constructor() {
977
977
  super(...arguments);
978
978
  //#region 属性
@@ -1004,8 +1004,8 @@ class ql extends Ht {
1004
1004
  class Kl extends fe {
1005
1005
  open() {
1006
1006
  super.open(), super.register({
1007
- Aes: Wl,
1008
- PoJun: ql
1007
+ Aes: ql,
1008
+ PoJun: Wl
1009
1009
  });
1010
1010
  }
1011
1011
  /**
@@ -1045,9 +1045,9 @@ class Jl extends Yl {
1045
1045
  n.push(h);
1046
1046
  }), s.push(n), e.length > 0)
1047
1047
  for (let h = 0; h < e.length; h++) {
1048
- let g = e[h], y = [];
1049
- Object.keys(g).forEach(($) => {
1050
- y.push(g[$]);
1048
+ let f = e[h], y = [];
1049
+ Object.keys(f).forEach((A) => {
1050
+ y.push(f[A]);
1051
1051
  }), s.push(y);
1052
1052
  }
1053
1053
  let u = this.xlsx.utils.book_new(), i = this.xlsx.utils.json_to_sheet(s, { skipHeader: !0 });
@@ -1063,8 +1063,8 @@ class Jl extends Yl {
1063
1063
  }
1064
1064
  let p = [];
1065
1065
  l.forEach((h) => {
1066
- let g = e[0][h], y = { wpx: 50 };
1067
- typeof g == "string" && (y.wpx = 100), p.push(y);
1066
+ let f = e[0][h], y = { wpx: 50 };
1067
+ typeof f == "string" && (y.wpx = 100), p.push(y);
1068
1068
  }), i["!cols"] = p, this.xlsx.writeFile(u, t);
1069
1069
  }
1070
1070
  }
@@ -1351,7 +1351,9 @@ class us extends is {
1351
1351
  //#endregion
1352
1352
  //#region 开启
1353
1353
  async openAsync(e) {
1354
- await super.openAsync(e), this.http = await F.http.createHaloAsync(this.baseUrl, this.options.user, this.options.language);
1354
+ await super.openAsync(e);
1355
+ let { user: t, sessionId: l, language: s } = this.options;
1356
+ this.http = await F.http.createHaloAsync(this.baseUrl, t, l, s);
1355
1357
  }
1356
1358
  //#endregion
1357
1359
  async open() {
@@ -1405,10 +1407,10 @@ class cs extends fe {
1405
1407
  /**
1406
1408
  * 创建默认通信对象
1407
1409
  */
1408
- async createDefaultAsync(e, t, l) {
1409
- return super.createWithCacheAsync("Default", async (n) => {
1410
- let u = m.json.serialize({ baseUrl: e, options: { user: t, language: l } });
1411
- await n.openAsync(u);
1410
+ async createDefaultAsync(e, t, l, s) {
1411
+ return super.createWithCacheAsync("Default", async (u) => {
1412
+ let i = m.json.serialize({ baseUrl: e, options: { user: t, language: s, sessionId: l } });
1413
+ await u.openAsync(i);
1412
1414
  });
1413
1415
  }
1414
1416
  }
@@ -1587,7 +1589,7 @@ class Bt extends zt {
1587
1589
  this.id = m.string.getUniqueId(8);
1588
1590
  }
1589
1591
  }
1590
- class At extends zt {
1592
+ class $t extends zt {
1591
1593
  constructor() {
1592
1594
  super(...arguments);
1593
1595
  //#region 附加信息
@@ -1618,7 +1620,7 @@ class At extends zt {
1618
1620
  a(this, "request");
1619
1621
  }
1620
1622
  }
1621
- class We {
1623
+ class qe {
1622
1624
  constructor() {
1623
1625
  //#region 属性
1624
1626
  a(this, "type");
@@ -1695,7 +1697,7 @@ class We {
1695
1697
  n.request = r, n.model = e, n.encoded = t, n.timestamp = l, n.time = s, r.path = await this.template.renderAsync(r.path, n), r.body = await this.template.renderAsync(r.body, n);
1696
1698
  }
1697
1699
  }
1698
- class ps extends We {
1700
+ class ps extends qe {
1699
1701
  constructor() {
1700
1702
  super(...arguments);
1701
1703
  //#region 属性
@@ -1737,7 +1739,7 @@ class ps extends We {
1737
1739
  * 使用Fetch发送请求,谷歌插件场景专用
1738
1740
  */
1739
1741
  async sendWithFetch(e) {
1740
- let t = new At();
1742
+ let t = new $t();
1741
1743
  t.request = e, t.id = e.id;
1742
1744
  let l = {
1743
1745
  method: e.method,
@@ -1756,7 +1758,7 @@ class ps extends We {
1756
1758
  * 使用XmlHttpRequest发送请求
1757
1759
  */
1758
1760
  sendWithXmlHttpRequest(e) {
1759
- let t = new At();
1761
+ let t = new $t();
1760
1762
  return t.request = e, t.id = e.id, new Promise(async (l, s) => {
1761
1763
  let n = new XMLHttpRequest();
1762
1764
  if (n.open(e.method, e.url), e.headers != null)
@@ -1781,7 +1783,7 @@ class ps extends We {
1781
1783
  });
1782
1784
  }
1783
1785
  }
1784
- class ms extends We {
1786
+ class ms extends qe {
1785
1787
  constructor() {
1786
1788
  super(...arguments);
1787
1789
  //#region 属性
@@ -1820,13 +1822,13 @@ class ms extends We {
1820
1822
  }
1821
1823
  //#endregion
1822
1824
  }
1823
- class wi extends We {
1825
+ class wi extends qe {
1824
1826
  constructor() {
1825
1827
  super(...arguments);
1826
1828
  a(this, "type", "FeiShu");
1827
1829
  }
1828
1830
  }
1829
- class hs extends We {
1831
+ class hs extends qe {
1830
1832
  constructor() {
1831
1833
  super(...arguments);
1832
1834
  //#region 属性
@@ -1835,6 +1837,10 @@ class hs extends We {
1835
1837
  * 当前用户信息
1836
1838
  */
1837
1839
  a(this, "user");
1840
+ /**
1841
+ * 会话ID,每个Tab的会话都唯一
1842
+ */
1843
+ a(this, "sessionId");
1838
1844
  /**
1839
1845
  * 请求语言
1840
1846
  */
@@ -1874,13 +1880,13 @@ class hs extends We {
1874
1880
  t = this.terminal;
1875
1881
  else {
1876
1882
  let l = await this.signer.computeAsync(this.user.userId, e.url, e.body);
1877
- t = this.sso.getAuth(this.user.identity.token, l.timestamp, l.sign, this.terminal, this.env);
1883
+ t = this.sso.getAuth(this.user.identity.token, this.sessionId, l.timestamp, l.sign, this.terminal, this.env);
1878
1884
  }
1879
1885
  e.addHeader("Authorization", t), e.getHeader("Accept-Language") == null && e.addHeader("Accept-Language", this.language);
1880
1886
  });
1881
1887
  }
1882
1888
  }
1883
- class fs extends We {
1889
+ class fs extends qe {
1884
1890
  constructor() {
1885
1891
  super(...arguments);
1886
1892
  //#region 属性
@@ -1952,9 +1958,9 @@ class gs extends fe {
1952
1958
  * 创建本地请求实例
1953
1959
  * 获取完毕后,下游第一行代码就要配置消息服务
1954
1960
  */
1955
- async createHaloAsync(e, t, l) {
1956
- let s = this.create("Halo"), n = m.json.serialize({ baseUrl: e, user: t, language: l, terminal: "pc" });
1957
- return await s.openAsync(n), s;
1961
+ async createHaloAsync(e, t, l, s) {
1962
+ let n = this.create("Halo"), u = m.json.serialize({ baseUrl: e, user: t, sessionId: l, language: s, terminal: "pc" });
1963
+ return await n.openAsync(u), n;
1958
1964
  }
1959
1965
  }
1960
1966
  class ys {
@@ -2206,7 +2212,7 @@ class Cs extends fe {
2206
2212
  return super.create("Console");
2207
2213
  }
2208
2214
  }
2209
- class Wt {
2215
+ class qt {
2210
2216
  constructor() {
2211
2217
  a(this, "type");
2212
2218
  }
@@ -2216,7 +2222,7 @@ class Wt {
2216
2222
  }
2217
2223
  //#endregion
2218
2224
  }
2219
- class qt {
2225
+ class Wt {
2220
2226
  constructor() {
2221
2227
  /**
2222
2228
  * 签名
@@ -2228,7 +2234,7 @@ class qt {
2228
2234
  a(this, "timestamp");
2229
2235
  }
2230
2236
  }
2231
- class Ss extends Wt {
2237
+ class Ss extends qt {
2232
2238
  constructor() {
2233
2239
  super(...arguments);
2234
2240
  //#region 属性
@@ -2238,7 +2244,7 @@ class Ss extends Wt {
2238
2244
  */
2239
2245
  a(this, "key");
2240
2246
  a(this, "computeAsync", async (e, t, l) => {
2241
- let s = m.time.getTimestamp(), n = m.url.getRelativeUrl(t), u = `${e}.${n}.${l ?? ""}.${s}.${this.key}`, i = await z.md5.computeAsync(u), c = new qt();
2247
+ let s = m.time.getTimestamp(), n = m.url.getRelativeUrl(t), u = `${e}.${n}.${l ?? ""}.${s}.${this.key}`, i = await z.md5.computeAsync(u), c = new Wt();
2242
2248
  return c.sign = i.toUpperCase(), c.timestamp = s, c;
2243
2249
  });
2244
2250
  }
@@ -2253,7 +2259,7 @@ class Ss extends Wt {
2253
2259
  }
2254
2260
  //#endregion
2255
2261
  }
2256
- class $s extends Wt {
2262
+ class As extends qt {
2257
2263
  constructor() {
2258
2264
  super(...arguments);
2259
2265
  //#region 属性
@@ -2281,13 +2287,13 @@ class $s extends Wt {
2281
2287
  let s = m.url.deserializeSorted(t), n = [];
2282
2288
  if (s != null) {
2283
2289
  let h = Object.keys(s);
2284
- for (let g of h) {
2285
- let y = s[g];
2286
- m.string.isNullOrEmpty(y) || n.push(`${g}=${y}`);
2290
+ for (let f of h) {
2291
+ let y = s[f];
2292
+ m.string.isNullOrEmpty(y) || n.push(`${f}=${y}`);
2287
2293
  }
2288
2294
  }
2289
2295
  m.string.isNullOrEmpty(l) == !1 && n.push(`bodyJsonString=${l}`);
2290
- let u = m.time.getTimestamp(), i = n.join("&") + u + this.salt, c = await this.hasher.computeAsync(i), p = new qt();
2296
+ let u = m.time.getTimestamp(), i = n.join("&") + u + this.salt, c = await this.hasher.computeAsync(i), p = new Wt();
2291
2297
  return p.sign = c.toLowerCase(), p.timestamp = u, p;
2292
2298
  }
2293
2299
  //#endregion
@@ -2297,7 +2303,7 @@ class $s extends Wt {
2297
2303
  }
2298
2304
  //#endregion
2299
2305
  }
2300
- class As extends fe {
2306
+ class $s extends fe {
2301
2307
  constructor() {
2302
2308
  super(...arguments);
2303
2309
  a(this, "type", "Signer");
@@ -2305,7 +2311,7 @@ class As extends fe {
2305
2311
  open() {
2306
2312
  super.open(), super.register({
2307
2313
  Default: Ss,
2308
- Ei: $s
2314
+ Ei: As
2309
2315
  });
2310
2316
  }
2311
2317
  /**
@@ -2316,7 +2322,7 @@ class As extends fe {
2316
2322
  return await l.openAsync(null), l;
2317
2323
  }
2318
2324
  }
2319
- class qe {
2325
+ class We {
2320
2326
  constructor() {
2321
2327
  a(this, "type");
2322
2328
  }
@@ -2325,13 +2331,13 @@ class qe {
2325
2331
  m.json.mergeTo(this, r);
2326
2332
  }
2327
2333
  //#endregion
2328
- getAuth(r, e, t, l, s) {
2329
- return `${this.type} ${r} ${e}.${t} ${l}.${s ?? ""}`;
2334
+ getAuth(r, e, t, l, s, n) {
2335
+ return `${this.type} ${r} ${e} ${t}.${l} ${s}.${n ?? ""}`;
2330
2336
  }
2331
2337
  async login(r) {
2332
2338
  }
2333
2339
  }
2334
- class Ts extends qe {
2340
+ class Ts extends We {
2335
2341
  constructor() {
2336
2342
  super(...arguments);
2337
2343
  //#region 属性
@@ -2344,23 +2350,23 @@ class Ts extends qe {
2344
2350
  //#endregion
2345
2351
  //#region 开启
2346
2352
  async openAsync(e) {
2347
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2353
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2348
2354
  }
2349
2355
  //#endregion
2350
2356
  async login(e) {
2351
- return z.http.post(`/user/login?type=${this.type}`, e).then(async (t) => (await this.provider.saveAsync("user", "sso", t.data), Promise.resolve(t)));
2357
+ return z.http.post(`/user/login?type=${this.type}`, e).then(async (t) => (await this.provider.saveAsync("sys", "sso", t.data), Promise.resolve(t)));
2352
2358
  }
2353
2359
  loginUrl(e) {
2354
2360
  return "";
2355
2361
  }
2356
2362
  async getUser() {
2357
- return await this.provider.getEntityAsync("user", "sso");
2363
+ return await this.provider.getEntityAsync("sys", "sso");
2358
2364
  }
2359
2365
  async logout() {
2360
- await this.provider.deleteAsync("user", "user"), await this.provider.deleteAsync("user", "sso");
2366
+ await this.provider.deleteAsync("sys", "user"), await this.provider.deleteAsync("sys", "sso");
2361
2367
  }
2362
2368
  }
2363
- class Rs extends qe {
2369
+ class Rs extends We {
2364
2370
  constructor() {
2365
2371
  super(...arguments);
2366
2372
  //#region 属性
@@ -2375,21 +2381,21 @@ class Rs extends qe {
2375
2381
  //#endregion
2376
2382
  //#region 开启
2377
2383
  async openAsync(e) {
2378
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2384
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2379
2385
  }
2380
2386
  //#endregion
2381
2387
  async login(e) {
2382
- return await this.provider.saveAsync("user", "sso", e), e;
2388
+ return await this.provider.saveAsync("sys", "sso", e), e;
2383
2389
  }
2384
2390
  loginUrl(e) {
2385
2391
  let t = encodeURIComponent(e);
2386
2392
  return `${this.url}/oauth2/authorize?client_id=${this.app_id}&redirect_uri=${t}&response_type=code`;
2387
2393
  }
2388
2394
  async getUser() {
2389
- return await this.provider.getAsync("user", "user");
2395
+ return await this.provider.getAsync("sys", "user");
2390
2396
  }
2391
2397
  async logout() {
2392
- await this.provider.deleteAsync("user", "user"), await this.provider.deleteAsync("user", "sso");
2398
+ await this.provider.deleteAsync("sys", "user"), await this.provider.deleteAsync("sys", "sso");
2393
2399
  }
2394
2400
  }
2395
2401
  class Kt {
@@ -2412,7 +2418,7 @@ class Kt {
2412
2418
  a(this, "identity");
2413
2419
  }
2414
2420
  }
2415
- class Es extends qe {
2421
+ class Es extends We {
2416
2422
  constructor() {
2417
2423
  super(...arguments);
2418
2424
  a(this, "type", "WeiXin");
@@ -2428,7 +2434,7 @@ class Es extends qe {
2428
2434
  return Promise.resolve();
2429
2435
  }
2430
2436
  }
2431
- class Us extends qe {
2437
+ class Us extends We {
2432
2438
  constructor() {
2433
2439
  super(...arguments);
2434
2440
  //#region 属性
@@ -2440,13 +2446,13 @@ class Us extends qe {
2440
2446
  }
2441
2447
  //#endregion
2442
2448
  async openAsync(e) {
2443
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2449
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2444
2450
  }
2445
2451
  loginUrl(e) {
2446
2452
  return "";
2447
2453
  }
2448
2454
  async getUser() {
2449
- let e = await this.provider.getAsync("user", "anonymous");
2455
+ let e = await this.provider.getAsync("sys", "anonymous");
2450
2456
  if (!e) {
2451
2457
  let l = m.string.getUniqueId();
2452
2458
  await this.provider.saveAsync("anonymous", "anonymous", l), e = l;
@@ -2454,14 +2460,14 @@ class Us extends qe {
2454
2460
  let t = new Kt();
2455
2461
  return t.identity = { token: e }, t;
2456
2462
  }
2457
- getAuth(e, t, l, s, n) {
2463
+ getAuth(e, t, l, s, n, u) {
2458
2464
  return `Anonymous ${e}`;
2459
2465
  }
2460
2466
  async logout() {
2461
2467
  await this.provider.deleteAsync("anonymous", "anonymous");
2462
2468
  }
2463
2469
  }
2464
- class js extends qe {
2470
+ class js extends We {
2465
2471
  constructor() {
2466
2472
  super(...arguments);
2467
2473
  //#region 属性
@@ -2473,19 +2479,19 @@ class js extends qe {
2473
2479
  }
2474
2480
  //#endregion
2475
2481
  async openAsync(e) {
2476
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2482
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2477
2483
  }
2478
2484
  async login(e) {
2479
- return z.http.post(`/user/login?type=${this.type}`, e).then(async (t) => (await this.provider.saveAsync("user", "sso", t.data), Promise.resolve(t)));
2485
+ return z.http.post(`/user/login?type=${this.type}`, e).then(async (t) => (await this.provider.saveAsync("sys", "sso", t.data), Promise.resolve(t)));
2480
2486
  }
2481
2487
  loginUrl(e) {
2482
2488
  return "";
2483
2489
  }
2484
2490
  async getUser() {
2485
- return await this.provider.getEntityAsync("user", "user");
2491
+ return await this.provider.getEntityAsync("sys", "user");
2486
2492
  }
2487
2493
  async logout() {
2488
- await this.provider.deleteAsync("user", "sso");
2494
+ await this.provider.deleteAsync("sys", "sso");
2489
2495
  }
2490
2496
  }
2491
2497
  class Ds extends fe {
@@ -2971,11 +2977,11 @@ class zs extends ve {
2971
2977
  return s;
2972
2978
  for (let u = 0; u < n.length; u++) {
2973
2979
  const i = n[u];
2974
- let c = m.string.trim(i, t, ".vue"), h = (l ? l + "-" : "") + m.string.getDashName(c), g = e[i];
2975
- if (g.default)
2976
- s[h] = g.default;
2980
+ let c = m.string.trim(i, t, ".vue"), h = (l ? l + "-" : "") + m.string.getDashName(c), f = e[i];
2981
+ if (f.default)
2982
+ s[h] = f.default;
2977
2983
  else {
2978
- let y = $e(g);
2984
+ let y = Ae(f);
2979
2985
  s[h] = y;
2980
2986
  }
2981
2987
  }
@@ -3093,8 +3099,8 @@ class Bs extends ve {
3093
3099
  }
3094
3100
  for (let s = 0; s < e.length; s++) {
3095
3101
  let n = e[s], u = 0;
3096
- for (let g = 0; g < n.length; g++)
3097
- u += n.charCodeAt(g);
3102
+ for (let f = 0; f < n.length; f++)
3103
+ u += n.charCodeAt(f);
3098
3104
  let i = u / l, c = 255 * i, p = 255 * (1 - i), h = 255 * (1 - i);
3099
3105
  t[n] = `rgb(${c}, ${p}, ${h})`;
3100
3106
  }
@@ -3231,13 +3237,13 @@ class Bs extends ve {
3231
3237
  let u = e.querySelector(l);
3232
3238
  if (!u)
3233
3239
  return null;
3234
- let i = {}, c = e.getBoundingClientRect(), p = s.getBoundingClientRect(), g = e.querySelector(t).getBoundingClientRect(), y = u.getBoundingClientRect(), $ = p.height - g.top;
3240
+ let i = {}, c = e.getBoundingClientRect(), p = s.getBoundingClientRect(), f = e.querySelector(t).getBoundingClientRect(), y = u.getBoundingClientRect(), A = p.height - f.top;
3235
3241
  if (n == "right") {
3236
3242
  i.left = `${c.left + c.width}px`;
3237
3243
  let k;
3238
- y.height > p.height ? k = p.height : k = y.height, i.height = `${k}px`, k + g.top > p.height ? (i.top = "initial", i.bottom = "0px") : i.top = `${c.top}px`;
3244
+ y.height > p.height ? k = p.height : k = y.height, i.height = `${k}px`, k + f.top > p.height ? (i.top = "initial", i.bottom = "0px") : i.top = `${c.top}px`;
3239
3245
  } else if (n == "bottom")
3240
- $ -= g.height, i.left = `${c.left}px`, i.top = `${c.top + c.height}px`, $ < y.height ? i.height = `${$}px` : i.height = `${y.height}px`;
3246
+ A -= f.height, i.left = `${c.left}px`, i.top = `${c.top + c.height}px`, A < y.height ? i.height = `${A}px` : i.height = `${y.height}px`;
3241
3247
  else
3242
3248
  throw new Error(`暂未支持的position:${n}`);
3243
3249
  return i;
@@ -3439,7 +3445,7 @@ class Fs extends ve {
3439
3445
  });
3440
3446
  }
3441
3447
  }
3442
- class Ws extends ve {
3448
+ class qs extends ve {
3443
3449
  constructor() {
3444
3450
  super(...arguments);
3445
3451
  a(this, "type", "file");
@@ -3476,7 +3482,7 @@ class Ws extends ve {
3476
3482
  });
3477
3483
  }
3478
3484
  }
3479
- class qs extends ve {
3485
+ class Ws extends ve {
3480
3486
  constructor() {
3481
3487
  super(...arguments);
3482
3488
  a(this, "type", "html");
@@ -3807,7 +3813,7 @@ class Gs extends ve {
3807
3813
  a(this, "type", "string");
3808
3814
  //#region 生成
3809
3815
  /**
3810
- * 生成唯一字符串
3816
+ * 生成指定长度的唯一字符串
3811
3817
  */
3812
3818
  a(this, "getUniqueId", (e = 32) => {
3813
3819
  let t = "";
@@ -4055,7 +4061,7 @@ class Zs extends ve {
4055
4061
  a(this, "throttle", (e, t) => {
4056
4062
  let l = !0;
4057
4063
  return (s) => {
4058
- if (!l)
4064
+ if (l == !1)
4059
4065
  return !1;
4060
4066
  l = !1, setTimeout((n) => {
4061
4067
  e(n), l = !0;
@@ -4249,10 +4255,10 @@ class tr extends ve {
4249
4255
  let u = e ? e.toUpperCase() : "", i = m.object.isString(s) ? [s] : s;
4250
4256
  for (let c of t) {
4251
4257
  let p = !1, h = this.getChildren(c, l, !0);
4252
- for (let g of h) {
4258
+ for (let f of h) {
4253
4259
  for (let y of i) {
4254
- let $ = g[y];
4255
- if (($ ? $.toUpperCase() : "").indexOf(u) > -1) {
4260
+ let A = f[y];
4261
+ if ((A ? A.toUpperCase() : "").indexOf(u) > -1) {
4256
4262
  p = !0;
4257
4263
  break;
4258
4264
  }
@@ -4261,7 +4267,7 @@ class tr extends ve {
4261
4267
  break;
4262
4268
  }
4263
4269
  if (p) {
4264
- let g = this.searchTree(e, c[l], l, s), y = { ...c, [l]: g };
4270
+ let f = this.searchTree(e, c[l], l, s), y = { ...c, [l]: f };
4265
4271
  n.push(y);
4266
4272
  }
4267
4273
  }
@@ -4796,8 +4802,8 @@ class ir extends fe {
4796
4802
  Dictionary: Ns,
4797
4803
  Dom: Bs,
4798
4804
  Event: Fs,
4799
- File: Ws,
4800
- Html: qs,
4805
+ File: qs,
4806
+ Html: Ws,
4801
4807
  Image: Ks,
4802
4808
  Json: rr,
4803
4809
  Math: Ys,
@@ -5004,14 +5010,14 @@ class Ie extends Ue {
5004
5010
  if (p == null)
5005
5011
  c.x = i.clientX, c.y = i.clientY;
5006
5012
  else {
5007
- let { x: h, y: g, width: y, height: $ } = p;
5008
- i.clientX < h ? c.x = h : i.clientX > h + y ? c.x = h + y : c.x = i.clientX, i.clientY < g ? c.y = g : i.clientY > g + $ ? c.y = g + $ : c.y = i.clientY;
5013
+ let { x: h, y: f, width: y, height: A } = p;
5014
+ i.clientX < h ? c.x = h : i.clientX > h + y ? c.x = h + y : c.x = i.clientX, i.clientY < f ? c.y = f : i.clientY > f + A ? c.y = f + A : c.y = i.clientY;
5009
5015
  }
5010
5016
  if (t.affix) {
5011
5017
  if (t.range == null)
5012
5018
  throw new Error("设置吸附距离时,必须设置范围信息");
5013
- let h = p.x + p.width, g = p.y + p.height;
5014
- c.x <= t.affix ? c.affix = "left" : c.x >= h - t.affix ? c.affix = "right" : c.y >= p.y && c.y <= p.y + t.affix ? c.affix = "top" : c.y >= g - t.affix && c.y <= g && (c.affix = "bottom");
5019
+ let h = p.x + p.width, f = p.y + p.height;
5020
+ c.x <= t.affix ? c.affix = "left" : c.x >= h - t.affix ? c.affix = "right" : c.y >= p.y && c.y <= p.y + t.affix ? c.affix = "top" : c.y >= f - t.affix && c.y <= f && (c.affix = "bottom");
5015
5021
  }
5016
5022
  t.handler(c, this.dragStart, this.dragStartData, l, i), l = !1;
5017
5023
  }, u = (i) => {
@@ -5616,8 +5622,8 @@ class yr extends Gt {
5616
5622
  let p = `${e.name}.${l.name}.tooltip`;
5617
5623
  for (let y of c.fields)
5618
5624
  p += `.${u[y]}`;
5619
- let h = E.t(p), g = m.json.deserialize(h);
5620
- g == null ? (i.tooltip.title = null, i.tooltip.content = null) : (i.tooltip.title = g.title, i.tooltip.content = m.json.serializeWithoutString(g.content, !0)), n.push(i);
5625
+ let h = E.t(p), f = m.json.deserialize(h);
5626
+ f == null ? (i.tooltip.title = null, i.tooltip.content = null) : (i.tooltip.title = f.title, i.tooltip.content = m.json.serializeWithoutString(f.content, !0)), n.push(i);
5621
5627
  }
5622
5628
  l.specs = n;
5623
5629
  }
@@ -6080,10 +6086,10 @@ class Sr {
6080
6086
  //#endregion
6081
6087
  //#region 登录
6082
6088
  /**
6083
- * 获取本地缓存中的用户信息;好处:即使手动更改storage数据,也可以里面获取到
6089
+ * 获取本地缓存中的SSO用户信息;好处:即使手动更改storage数据,也可以里面获取到
6084
6090
  */
6085
6091
  async getSso() {
6086
- return await (await F.provider.getDbAsync("user")).getEntityAsync("user", "sso");
6092
+ return await (await F.provider.getDbAsync("sys")).getEntityAsync("sys", "sso");
6087
6093
  }
6088
6094
  /**
6089
6095
  * 未登录,获取匿名登录信息
@@ -6153,7 +6159,7 @@ class tl extends Zt {
6153
6159
  }
6154
6160
  //#endregion
6155
6161
  }
6156
- class $r extends fe {
6162
+ class Ar extends fe {
6157
6163
  open() {
6158
6164
  super.open(), super.register({
6159
6165
  Config: el,
@@ -6255,7 +6261,7 @@ class F {
6255
6261
  * 签名工厂
6256
6262
  */
6257
6263
  static get signer() {
6258
- return this.create(As);
6264
+ return this.create($s);
6259
6265
  }
6260
6266
  /**
6261
6267
  * 通信工厂
@@ -6307,7 +6313,7 @@ class F {
6307
6313
  * 服务工厂
6308
6314
  */
6309
6315
  static get svc() {
6310
- return this.create($r);
6316
+ return this.create(Ar);
6311
6317
  }
6312
6318
  //#endregion
6313
6319
  //#region 创建
@@ -6373,7 +6379,7 @@ a(z, "template"), /**
6373
6379
  * 初始化消息对象,保证后续更新能够被同步更新
6374
6380
  */
6375
6381
  a(z, "messenger");
6376
- async function Ar(d) {
6382
+ async function $r(d) {
6377
6383
  let r = d ?? new Lt(), t = await (await F.provider.getDbAsync("sys")).getAsync("sys", "app");
6378
6384
  return t != null ? (t.cdn != null && (r.cdn = t.cdn), t.language != null && (r.language = t.language)) : r.language = m.browser.getLanguage(), r;
6379
6385
  }
@@ -6381,10 +6387,10 @@ async function Tr(d) {
6381
6387
  z.cdn = await F.cdn.createWithCacheAsync(d.cdn), z.base64 = await F.encoder.getBase64(), z.md5 = await F.hasher.getMd5Async(), z.template = F.template.createLiquid();
6382
6388
  let r;
6383
6389
  d.messenger == null ? r = F.messenger.createConsole() : r = d.messenger, z.messenger = r;
6384
- let e = await V.user.getSso(), t = V.config.sys.language;
6385
- z.http = await F.http.createHaloAsync(d.baseUrl, e, t), z.socket = await F.socket.createDefaultAsync(d.socketUrl, e, t), z.http.onResponse = async (l) => {
6386
- let { ok: s, status: n, data: u } = l;
6387
- return s == !1 ? (V.log.add(n.toString(), l.message, "网络错误", l.elapsed), r.error(l.message), Promise.reject(l)) : u.code == null || (V.log.add(u.code, u.message, u.stack, u.elapsed), u.code == "Ok") ? Promise.resolve() : (r.error(u.message), Promise.reject(u));
6390
+ let e = await V.user.getSso(), t = V.config.sys.language, l = m.string.getUniqueId(8);
6391
+ z.http = await F.http.createHaloAsync(d.baseUrl, e, l, t), z.socket = await F.socket.createDefaultAsync(d.socketUrl, e, l, t), z.http.onResponse = async (s) => {
6392
+ let { ok: n, status: u, data: i } = s;
6393
+ return n == !1 ? (V.log.add(u.toString(), s.message, "网络错误", s.elapsed), r.error(s.message), Promise.reject(s)) : i.code == null || (V.log.add(i.code, i.message, i.stack, i.elapsed), i.code == "Ok") ? Promise.resolve() : (r.error(i.message), Promise.reject(i));
6388
6394
  };
6389
6395
  }
6390
6396
  async function Ci(d) {
@@ -6429,9 +6435,9 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6429
6435
  },
6430
6436
  setup(d) {
6431
6437
  let r = d, { message: e, hasData: t } = ie(r);
6432
- return (l, s) => (f(), _("div", Ur, [
6438
+ return (l, s) => (g(), _("div", Ur, [
6433
6439
  w("div", jr, L(o(e)), 1),
6434
- o(t) ? (f(), _("div", Dr, [
6440
+ o(t) ? (g(), _("div", Dr, [
6435
6441
  ae(l.$slots, "default")
6436
6442
  ])) : Q("", !0)
6437
6443
  ]));
@@ -6452,7 +6458,7 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6452
6458
  u(), i(), n.resize(t.value, c);
6453
6459
  }), xe(() => {
6454
6460
  n.dispose();
6455
- }), (p, h) => (f(), _("div", {
6461
+ }), (p, h) => (g(), _("div", {
6456
6462
  class: "ha-fill",
6457
6463
  ref_key: "fillRef",
6458
6464
  ref: t,
@@ -6468,52 +6474,52 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6468
6474
  },
6469
6475
  emits: ["scroll"],
6470
6476
  setup(d, { expose: r, emit: e }) {
6471
- let t = e, l = d, { options: s } = ie(l), n = S(), u = S(), i = S(), c = S(), p = S(!1), h = null, g = null, y = new Ie(), $ = S({ top: null, height: null }), k = (U) => {
6472
- if (g == 0)
6477
+ let t = e, l = d, { options: s } = ie(l), n = S(), u = S(), i = S(), c = S(), p = S(!1), h = null, f = null, y = new Ie(), A = S({ top: null, height: null }), k = (U) => {
6478
+ if (f == 0)
6473
6479
  return 0;
6474
- let q = g - h;
6475
- return U / q;
6480
+ let W = f - h;
6481
+ return U / W;
6476
6482
  }, j = (U) => {
6477
- let q = h - $.value.height;
6478
- return U / q;
6483
+ let W = h - A.value.height;
6484
+ return U / W;
6479
6485
  }, M = () => {
6480
- if (g == 0)
6486
+ if (f == 0)
6481
6487
  return 80;
6482
- let U = h / g;
6488
+ let U = h / f;
6483
6489
  if (U == 1)
6484
6490
  return 0;
6485
- let q = h * U;
6486
- return m.math.between(q, 80, 500);
6487
- }, N = (U, q) => {
6488
- let K = k(U), T = (h - q) * K;
6489
- return m.math.between(T, 0, h - q);
6491
+ let W = h * U;
6492
+ return m.math.between(W, 80, 500);
6493
+ }, N = (U, W) => {
6494
+ let K = k(U), T = (h - W) * K;
6495
+ return m.math.between(T, 0, h - W);
6490
6496
  }, x = (U) => {
6491
- let q = M();
6492
- return { top: N(U, q), height: q };
6497
+ let W = M();
6498
+ return { top: N(U, W), height: W };
6493
6499
  }, P = (U) => {
6494
6500
  }, H = (U) => {
6495
- let q = k(U);
6496
- le(q);
6501
+ let W = k(U);
6502
+ le(W);
6497
6503
  }, le = (U) => {
6498
- let q = m.math.between(U, 0, 1), K = h - $.value.height;
6499
- $.value.top = K * q;
6500
- let C = (g - h) * q;
6504
+ let W = m.math.between(U, 0, 1), K = h - A.value.height;
6505
+ A.value.top = K * W;
6506
+ let C = (f - h) * W;
6501
6507
  s.value.scrollTop = C, u.value.scrollTop != C && (u.value.scrollTop = C);
6502
6508
  }, te = (U) => {
6503
- let q = U.target, K = k(q.scrollTop);
6504
- le(K), t("scroll", q);
6509
+ let W = U.target, K = k(W.scrollTop);
6510
+ le(K), t("scroll", W);
6505
6511
  }, I = () => {
6506
6512
  let U = s.value.scrollTop;
6507
- $.value = x(U), H(U);
6513
+ A.value = x(U), H(U);
6508
6514
  }, Z = (U) => {
6509
- h = m.dom.getHeight(u.value), g = u.value.scrollHeight;
6510
- let q = M();
6511
- $.value.height = q, $.value.top = N(s.value.scrollTop, q);
6515
+ h = m.dom.getHeight(u.value), f = u.value.scrollHeight;
6516
+ let W = M();
6517
+ A.value.height = W, A.value.top = N(s.value.scrollTop, W);
6512
6518
  }, O = (U) => {
6513
- let q = U.target;
6514
- return parseInt(q.style.top);
6515
- }, Y = (U, q, K, T) => {
6516
- let C = U.y - q.y, v = K + C, R = j(v);
6519
+ let W = U.target;
6520
+ return parseInt(W.style.top);
6521
+ }, Y = (U, W, K, T) => {
6522
+ let C = U.y - W.y, v = K + C, R = j(v);
6517
6523
  le(R);
6518
6524
  }, se = (U) => {
6519
6525
  p.value = !0;
@@ -6524,10 +6530,10 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6524
6530
  I(), y.scroll(u.value, te), y.drag(c.value, { init: O, handler: Y }), y.observe(u.value, Z), y.mouseDown(c.value, se, D);
6525
6531
  }), xe(() => {
6526
6532
  y.dispose();
6527
- }), me(() => s.value.scrollTop, (U, q) => {
6533
+ }), me(() => s.value.scrollTop, (U, W) => {
6528
6534
  let K = k(U);
6529
6535
  le(K);
6530
- }), r({ scrollTo: H, update: I }), (U, q) => (f(), _("div", {
6536
+ }), r({ scrollTo: H, update: I }), (U, W) => (g(), _("div", {
6531
6537
  ref_key: "scrollerRef",
6532
6538
  ref: n,
6533
6539
  class: ce(["ha-scroller", { hover: o(p) }])
@@ -6543,19 +6549,19 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6543
6549
  ref_key: "trackRef",
6544
6550
  ref: i,
6545
6551
  class: "scroller-track",
6546
- onClick: q[0] || (q[0] = //@ts-ignore
6552
+ onClick: W[0] || (W[0] = //@ts-ignore
6547
6553
  (...K) => o(P) && o(P)(...K))
6548
6554
  }, [
6549
6555
  w("div", {
6550
6556
  ref_key: "thumbRef",
6551
6557
  ref: c,
6552
6558
  class: "scroller-thumb",
6553
- style: we({ top: `${o($).top}px`, height: `${o($).height}px` })
6559
+ style: we({ top: `${o(A).top}px`, height: `${o(A).height}px` })
6554
6560
  }, L(o(s).scrollTop), 5)
6555
6561
  ], 512)
6556
6562
  ], 2));
6557
6563
  }
6558
- }), $i = /* @__PURE__ */ X({
6564
+ }), Ai = /* @__PURE__ */ X({
6559
6565
  __name: "Timer",
6560
6566
  emits: ["change"],
6561
6567
  setup(d, { expose: r, emit: e }) {
@@ -6572,8 +6578,8 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6572
6578
  };
6573
6579
  return xe(() => {
6574
6580
  clearInterval(n);
6575
- }), r({ restart: c, start: i, stop: p, reset: h }), (g, y) => (f(), _("span", null, [
6576
- ae(g.$slots, "default"),
6581
+ }), r({ restart: c, start: i, stop: p, reset: h }), (f, y) => (g(), _("span", null, [
6582
+ ae(f.$slots, "default"),
6577
6583
  G(L(o(m).time.format(o(s), "HH:mm:ss SSS")), 1)
6578
6584
  ]));
6579
6585
  }
@@ -6584,11 +6590,11 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6584
6590
  return e;
6585
6591
  }, Lr = {}, Ir = { class: "ha-card" };
6586
6592
  function Or(d, r) {
6587
- return f(), _("div", Ir, [
6593
+ return g(), _("div", Ir, [
6588
6594
  ae(d.$slots, "default")
6589
6595
  ]);
6590
6596
  }
6591
- const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6597
+ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), $i = /* @__PURE__ */ X({
6592
6598
  __name: "Code",
6593
6599
  props: {
6594
6600
  options: { default: {} },
@@ -6597,13 +6603,13 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6597
6603
  },
6598
6604
  emits: ["mounted", "change", "scroll", "update:modelValue"],
6599
6605
  setup(d, { expose: r, emit: e }) {
6600
- let t = e, l = d, { options: s, border: n, modelValue: u } = ie(l), i = null, c = null, p = null, h = { completion: null, hover: null }, g = S(), y = V.config.sys, $ = (I, Z) => {
6606
+ let t = e, l = d, { options: s, border: n, modelValue: u } = ie(l), i = null, c = null, p = null, h = { completion: null, hover: null }, f = S(), y = V.config.sys, A = (I, Z) => {
6601
6607
  h.completion != null && h.completion.dispose();
6602
6608
  let O = m.array.distinct(Z, (Y) => Y);
6603
6609
  h.completion = k(I, O);
6604
6610
  }, k = (I, Z) => I == null || i == null ? null : i.languages.registerCompletionItemProvider(I, {
6605
6611
  provideCompletionItems: (Y, se) => {
6606
- let D = Y.getWordUntilPosition(se), U = new i.Range(se.lineNumber, D.startColumn, se.lineNumber, D.endColumn), q = [];
6612
+ let D = Y.getWordUntilPosition(se), U = new i.Range(se.lineNumber, D.startColumn, se.lineNumber, D.endColumn), W = [];
6607
6613
  for (let K = 0; K < Z.length; K++) {
6608
6614
  let T = Z[K], C = {
6609
6615
  label: T,
@@ -6612,9 +6618,9 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6612
6618
  detail: T,
6613
6619
  range: U
6614
6620
  };
6615
- q.push(C);
6621
+ W.push(C);
6616
6622
  }
6617
- return { suggestions: q };
6623
+ return { suggestions: W };
6618
6624
  }
6619
6625
  }), j = async (I) => {
6620
6626
  let Z = V.config.editor.intelli;
@@ -6632,7 +6638,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6632
6638
  const O = ["builtinFunctions", "keywords", "operators"];
6633
6639
  return i.languages.registerCompletionItemProvider(I, {
6634
6640
  provideCompletionItems: (se, D) => {
6635
- let U = se.getWordUntilPosition(D), q = new i.Range(D.lineNumber, U.startColumn, D.lineNumber, U.endColumn), K = [];
6641
+ let U = se.getWordUntilPosition(D), W = new i.Range(D.lineNumber, U.startColumn, D.lineNumber, U.endColumn), K = [];
6636
6642
  for (let T of O) {
6637
6643
  let C = Z.language[T];
6638
6644
  if (C == null)
@@ -6643,7 +6649,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6643
6649
  let Se = ge.toLowerCase(), ot = {
6644
6650
  label: Se,
6645
6651
  documentation: ge,
6646
- range: q,
6652
+ range: W,
6647
6653
  kind: R,
6648
6654
  insertText: Se + ne,
6649
6655
  detail: v
@@ -6661,11 +6667,11 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6661
6667
  let U = se.getWordAtPosition(D);
6662
6668
  if (!U)
6663
6669
  return null;
6664
- for (let q of O) {
6665
- let K = Z.language[q];
6670
+ for (let W of O) {
6671
+ let K = Z.language[W];
6666
6672
  if (K == null || K.find((R) => R == U.word.toUpperCase()) == null)
6667
6673
  continue;
6668
- let C = x(q);
6674
+ let C = x(W);
6669
6675
  return {
6670
6676
  range: new i.Range(D.lineNumber, D.lineNumber, U.startColumn, U.endColumn),
6671
6677
  contents: [
@@ -6681,7 +6687,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6681
6687
  let Z;
6682
6688
  return I == "keywords" ? Z = "关键词" : I == "operators" ? Z = "操作符" : Z = "函数", Z;
6683
6689
  }, P = (I) => I == "default" ? null : "vs-dark", H = async () => {
6684
- if (g.value == null)
6690
+ if (f.value == null)
6685
6691
  return;
6686
6692
  let I = null;
6687
6693
  s.value.schema && (I = s.value.category + "/" + m.string.getUniqueId(), V.config.tryAddSchema(I, s.value.category, s.value.schema));
@@ -6713,7 +6719,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6713
6719
  //根据父元素自动布局
6714
6720
  model: p
6715
6721
  };
6716
- c = i.editor.create(g.value, Y), s.value.scrollTop && c.setScrollTop(s.value.scrollTop);
6722
+ c = i.editor.create(f.value, Y), s.value.scrollTop && c.setScrollTop(s.value.scrollTop);
6717
6723
  let se = s.value.selection;
6718
6724
  if (se) {
6719
6725
  let D = {
@@ -6754,11 +6760,11 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6754
6760
  return;
6755
6761
  let O = c.getModel();
6756
6762
  i.editor.setModelLanguage(O, I), await j(I);
6757
- }), r({ layout: le, getEditor: te, registerIntelli: $ }), (I, Z) => (f(), W(Mr, null, {
6763
+ }), r({ layout: le, getEditor: te, registerIntelli: A }), (I, Z) => (g(), q(Mr, null, {
6758
6764
  default: b(() => [
6759
6765
  w("div", {
6760
6766
  ref_key: "editorRef",
6761
- ref: g,
6767
+ ref: f,
6762
6768
  class: ce(["ha-code", { border: o(n) }])
6763
6769
  }, null, 2)
6764
6770
  ]),
@@ -6775,8 +6781,8 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6775
6781
  },
6776
6782
  emits: ["update:modelValue", "update:original", "change"],
6777
6783
  setup(d, { emit: r }) {
6778
- let e = r, t = d, { inline: l, language: s, original: n, modelValue: u } = ie(t), i = null, c = null, p = null, h = null, g = null, y = null, $ = S(), k = S(), j = V.config.sys, M = (x) => x == "default" ? null : "vs-dark", N = (x) => {
6779
- c = x.editor.createModel(n.value, s.value), p = x.editor.createModel(u.value, s.value), i = x.editor.createDiffEditor($.value, {
6784
+ let e = r, t = d, { inline: l, language: s, original: n, modelValue: u } = ie(t), i = null, c = null, p = null, h = null, f = null, y = null, A = S(), k = S(), j = V.config.sys, M = (x) => x == "default" ? null : "vs-dark", N = (x) => {
6785
+ c = x.editor.createModel(n.value, s.value), p = x.editor.createModel(u.value, s.value), i = x.editor.createDiffEditor(A.value, {
6780
6786
  originalEditable: !0,
6781
6787
  automaticLayout: !0,
6782
6788
  renderSideBySide: !l.value,
@@ -6785,8 +6791,8 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6785
6791
  }), i.setModel({ original: c, modified: p }), h = i.getOriginalEditor(), h.onDidChangeModelContent((P) => {
6786
6792
  let H = h.getValue();
6787
6793
  e("update:original", H), e("change", H);
6788
- }), g = i.getModifiedEditor(), g.onDidChangeModelContent((P) => {
6789
- let H = g.getValue();
6794
+ }), f = i.getModifiedEditor(), f.onDidChangeModelContent((P) => {
6795
+ let H = f.getValue();
6790
6796
  e("update:modelValue", H);
6791
6797
  });
6792
6798
  };
@@ -6807,24 +6813,24 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6807
6813
  return;
6808
6814
  let H = p.getValue();
6809
6815
  x != H && p.setValue(x ?? "");
6810
- }), (x, P) => (f(), _("div", {
6816
+ }), (x, P) => (g(), _("div", {
6811
6817
  ref_key: "compareRef",
6812
- ref: $,
6818
+ ref: A,
6813
6819
  class: "ha-compare",
6814
6820
  style: we(o(k))
6815
6821
  }, null, 4));
6816
6822
  }
6817
6823
  }), Hr = {}, Pr = { class: "ha-input" };
6818
6824
  function zr(d, r) {
6819
- return f(), _("div", Pr, r[0] || (r[0] = [
6825
+ return g(), _("div", Pr, r[0] || (r[0] = [
6820
6826
  w("input", { type: "text" }, null, -1)
6821
6827
  ]));
6822
6828
  }
6823
6829
  const Ri = /* @__PURE__ */ je(Hr, [["render", zr]]), Br = {}, Nr = { class: "ha-option" };
6824
6830
  function Fr(d, r) {
6825
- return f(), _("div", Nr, "选项");
6831
+ return g(), _("div", Nr, "选项");
6826
6832
  }
6827
- const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text" }, Ei = /* @__PURE__ */ X({
6833
+ const qr = /* @__PURE__ */ je(Br, [["render", Fr]]), Wr = { class: "ha-rich-text" }, Ei = /* @__PURE__ */ X({
6828
6834
  __name: "RichText",
6829
6835
  props: /* @__PURE__ */ Ce({
6830
6836
  options: {}
@@ -6834,7 +6840,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6834
6840
  }),
6835
6841
  emits: /* @__PURE__ */ Ce(["change", "scroll"], ["update:modelValue"]),
6836
6842
  setup(d, { expose: r, emit: e }) {
6837
- let t = e, l = d, { options: s } = ie(l), n = Te(d, "modelValue"), u, i = null, c = null, p = !1, h = !1, g = S(), y = S(), $ = S(), k = S(!1), j = S({ style: null, options: { scrollTop: 0 } }), M = (H) => {
6843
+ let t = e, l = d, { options: s } = ie(l), n = Te(d, "modelValue"), u, i = null, c = null, p = !1, h = !1, f = S(), y = S(), A = S(), k = S(!1), j = S({ style: null, options: { scrollTop: 0 } }), M = (H) => {
6838
6844
  let le = m.time.formatDate(), te = getSelection(), I = te.getRangeAt(0), Z = I.startContainer;
6839
6845
  if (Z.nodeName == "#text")
6840
6846
  Z.insertData(I.startOffset, le), I.setStart(Z, I.startOffset + le.length), te.removeAllRanges(), te.addRange(I);
@@ -6852,7 +6858,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6852
6858
  c = H, t("scroll", H);
6853
6859
  }, x = () => `height: calc(100% - ${m.dom.getHeight(y.value)}px)`, P = async () => {
6854
6860
  let H = await z.cdn.getQuill();
6855
- u = new H(g.value, {
6861
+ f.value != null && (u = new H(f.value, {
6856
6862
  modules: {
6857
6863
  toolbar: {
6858
6864
  container: y.value,
@@ -6860,16 +6866,14 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6860
6866
  }
6861
6867
  },
6862
6868
  theme: "snow"
6863
- }), k.value = !0, Ve(() => {
6864
- j.value.style = x();
6865
- }), s.value.readonly && u.disable(), i = g.value.querySelector(".ql-editor"), i.innerHTML = n.value, j.value.options.scrollTop = s.value.scrollTop, u.on("text-change", (le, te, I) => {
6869
+ }), k.value = !0, await Ve(), j.value.style = x(), s.value.readonly && u.disable(), i = f.value.querySelector(".ql-editor"), i.innerHTML = n.value, j.value.options.scrollTop = s.value.scrollTop, u.on("text-change", (le, te, I) => {
6866
6870
  i.innerHTML != n.value && (p = !0, n.value = i.innerHTML);
6867
6871
  }), i.addEventListener("paste", (le) => {
6868
6872
  h = !0;
6869
- });
6873
+ }));
6870
6874
  };
6871
- return ye(() => {
6872
- P();
6875
+ return ye(async () => {
6876
+ await P();
6873
6877
  }), xe(() => {
6874
6878
  u = null;
6875
6879
  }), me(() => n.value, (H, le) => {
@@ -6878,7 +6882,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6878
6882
  H != null && (c == null ? void 0 : c.scrollTop) != H && Ve(() => {
6879
6883
  j.value.options.scrollTop = H;
6880
6884
  });
6881
- }), r({}), (H, le) => (f(), _("div", qr, [
6885
+ }), r({}), (H, le) => (g(), _("div", Wr, [
6882
6886
  gl(w("div", {
6883
6887
  ref_key: "toolbarRef",
6884
6888
  ref: y
@@ -6887,9 +6891,9 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6887
6891
  ]), 512), [
6888
6892
  [vl, o(k)]
6889
6893
  ]),
6890
- A(o(Vr), {
6894
+ $(o(Vr), {
6891
6895
  ref_key: "scrollerRef",
6892
- ref: $,
6896
+ ref: A,
6893
6897
  class: "ql-body",
6894
6898
  options: o(j).options,
6895
6899
  onScroll: o(N),
@@ -6898,7 +6902,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6898
6902
  default: b(() => [
6899
6903
  w("div", {
6900
6904
  ref_key: "editorRef",
6901
- ref: g
6905
+ ref: f
6902
6906
  }, null, 512)
6903
6907
  ]),
6904
6908
  _: 1
@@ -6907,7 +6911,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6907
6911
  }
6908
6912
  }), Kr = {}, Yr = { class: "ha-select" };
6909
6913
  function Jr(d, r) {
6910
- return f(), _("div", Yr, r[0] || (r[0] = [
6914
+ return g(), _("div", Yr, r[0] || (r[0] = [
6911
6915
  w("div", { class: "select-title" }, "头", -1),
6912
6916
  w("div", { class: "select-body" }, [
6913
6917
  w("input", { type: "text" })
@@ -6948,21 +6952,21 @@ const Xr = { class: "ha-condition" }, Qr = /* @__PURE__ */ X({
6948
6952
  },
6949
6953
  setup(d) {
6950
6954
  let r = d, { name: e, operator: t, value: l } = ie(r);
6951
- return (s, n) => (f(), _("div", Xr, [
6952
- A(o(ct), {
6955
+ return (s, n) => (g(), _("div", Xr, [
6956
+ $(o(ct), {
6953
6957
  modelValue: o(e),
6954
6958
  "onUpdate:modelValue": n[0] || (n[0] = (u) => _e(e) ? e.value = u : e = u)
6955
6959
  }, null, 8, ["modelValue"]),
6956
- A(o(ct), {
6960
+ $(o(ct), {
6957
6961
  modelValue: o(t),
6958
6962
  "onUpdate:modelValue": n[1] || (n[1] = (u) => _e(t) ? t.value = u : t = u)
6959
6963
  }, {
6960
6964
  default: b(() => [
6961
- A(o(Wr))
6965
+ $(o(qr))
6962
6966
  ]),
6963
6967
  _: 1
6964
6968
  }, 8, ["modelValue"]),
6965
- A(o(ct), {
6969
+ $(o(ct), {
6966
6970
  modelValue: o(l),
6967
6971
  "onUpdate:modelValue": n[2] || (n[2] = (u) => _e(l) ? l.value = u : l = u)
6968
6972
  }, null, 8, ["modelValue"])
@@ -6975,8 +6979,8 @@ const Xr = { class: "ha-condition" }, Qr = /* @__PURE__ */ X({
6975
6979
  },
6976
6980
  setup(d) {
6977
6981
  let r = d, { conditions: e } = ie(r);
6978
- return (t, l) => (f(), _("div", Gr, [
6979
- (f(!0), _(ue, null, pe(o(e), (s) => (f(), W(o(Qr), {
6982
+ return (t, l) => (g(), _("div", Gr, [
6983
+ (g(!0), _(ue, null, pe(o(e), (s) => (g(), q(o(Qr), {
6980
6984
  name: s.name,
6981
6985
  operator: s.operator,
6982
6986
  value: s.value
@@ -6985,7 +6989,7 @@ const Xr = { class: "ha-condition" }, Qr = /* @__PURE__ */ X({
6985
6989
  }
6986
6990
  }), Zr = {}, en = { class: "ha-col" };
6987
6991
  function tn(d, r) {
6988
- return f(), _("div", en, [
6992
+ return g(), _("div", en, [
6989
6993
  ae(d.$slots, "default")
6990
6994
  ]);
6991
6995
  }
@@ -6996,7 +7000,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
6996
7000
  },
6997
7001
  setup(d, { expose: r }) {
6998
7002
  let e = d, { container: t } = ie(e), l = S();
6999
- return r({ ref: l }), (s, n) => (f(), _("div", {
7003
+ return r({ ref: l }), (s, n) => (g(), _("div", {
7000
7004
  class: ce({ "ha-container": o(t) }),
7001
7005
  ref_key: "containerRef",
7002
7006
  ref: l
@@ -7015,7 +7019,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7015
7019
  let u = { gap: null };
7016
7020
  return t.value && (u.gap = t.value + "px"), u;
7017
7021
  });
7018
- return r({ ref: s }), (u, i) => (f(), _("div", {
7022
+ return r({ ref: s }), (u, i) => (g(), _("div", {
7019
7023
  ref_key: "rowRef",
7020
7024
  ref: s,
7021
7025
  class: ce(["ha-row", o(l)]),
@@ -7054,7 +7058,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7054
7058
  clearInterval(l);
7055
7059
  }), me(() => r.value, (u, i) => {
7056
7060
  u ? s() : n();
7057
- }), (u, i) => o(e) ? (f(), _("div", {
7061
+ }), (u, i) => o(e) ? (g(), _("div", {
7058
7062
  key: 0,
7059
7063
  class: "ha-progress",
7060
7064
  style: we({ width: o(t) + "%" })
@@ -7067,7 +7071,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7067
7071
  },
7068
7072
  setup(d) {
7069
7073
  let r = d, { type: e } = ie(r);
7070
- return (t, l) => (f(), _("div", {
7074
+ return (t, l) => (g(), _("div", {
7071
7075
  class: ce(["progress-tip", o(e)])
7072
7076
  }, [
7073
7077
  ae(t.$slots, "default")
@@ -7082,13 +7086,13 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7082
7086
  },
7083
7087
  setup(d) {
7084
7088
  let r = d, { title: e, current: t, progress: l } = ie(r), s = he(() => m.math.getPercentage(l.value.handled, l.value.total)), n = he(() => `${l.value.handled ?? "-"}/${l.value.total ?? "-"}`), u = he(() => m.math.getPercentageText(l.value.handled, l.value.total));
7085
- return (i, c) => (f(), _("div", {
7089
+ return (i, c) => (g(), _("div", {
7086
7090
  class: ce(["ha-socket-progress", {
7087
7091
  error: o(l).errored > 0 && o(l).errored == o(l).handled,
7088
7092
  warning: o(l).errored > 0 && o(l).errored < o(l).handled
7089
7093
  }])
7090
7094
  }, [
7091
- A(o(Tt), { class: "progress-chart" }, {
7095
+ $(o(Tt), { class: "progress-chart" }, {
7092
7096
  default: b(() => {
7093
7097
  var p;
7094
7098
  return [
@@ -7098,8 +7102,8 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7098
7102
  style: we({ width: o(s) + "%" })
7099
7103
  }, null, 4),
7100
7104
  w("div", nn, [
7101
- o(e) ? (f(), _("div", on, L(o(e)) + ":" + L(((p = o(l).current) == null ? void 0 : p[o(t)]) ?? "-"), 1)) : Q("", !0),
7102
- o(l).elapsed ? (f(), _("div", an, "耗时:" + L(o(m).math.round(o(l).elapsed / 1e3, 2)) + "s", 1)) : Q("", !0),
7105
+ o(e) ? (g(), _("div", on, L(o(e)) + ":" + L(((p = o(l).current) == null ? void 0 : p[o(t)]) ?? "-"), 1)) : Q("", !0),
7106
+ o(l).elapsed ? (g(), _("div", an, "耗时:" + L(o(m).math.round(o(l).elapsed / 1e3, 2)) + "s", 1)) : Q("", !0),
7103
7107
  w("div", null, "进度:" + L(o(n)), 1)
7104
7108
  ])
7105
7109
  ]),
@@ -7108,15 +7112,15 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7108
7112
  }),
7109
7113
  _: 1
7110
7114
  }),
7111
- A(o(Tt), { class: "progress-tips" }, {
7115
+ $(o(Tt), { class: "progress-tips" }, {
7112
7116
  default: b(() => [
7113
- A(o(Rt), { type: "success" }, {
7117
+ $(o(Rt), { type: "success" }, {
7114
7118
  default: b(() => [
7115
7119
  G("成功 " + L(o(l).succeed ?? "-"), 1)
7116
7120
  ]),
7117
7121
  _: 1
7118
7122
  }),
7119
- A(o(Rt), { type: "error" }, {
7123
+ $(o(Rt), { type: "error" }, {
7120
7124
  default: b(() => [
7121
7125
  G("异常 " + L(o(l).errored ?? "-"), 1)
7122
7126
  ]),
@@ -7150,7 +7154,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7150
7154
  let e = r, t = d, { title: l, content: s } = ie(t), n = () => {
7151
7155
  e("retry");
7152
7156
  };
7153
- return (u, i) => o(l) || o(s) ? (f(), _("div", cn, [
7157
+ return (u, i) => o(l) || o(s) ? (g(), _("div", cn, [
7154
7158
  w("div", dn, [
7155
7159
  G(L(o(l)), 1),
7156
7160
  w("a", {
@@ -7159,10 +7163,10 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7159
7163
  (...c) => o(n) && o(n)(...c))
7160
7164
  }, L(o(E).t("common.retry")), 1)
7161
7165
  ]),
7162
- o(s) ? (f(), _("div", pn, [
7166
+ o(s) ? (g(), _("div", pn, [
7163
7167
  w("div", mn, L(o(s)), 1)
7164
7168
  ])) : Q("", !0)
7165
- ])) : (f(), _("div", hn, [
7169
+ ])) : (g(), _("div", hn, [
7166
7170
  w("div", fn, [
7167
7171
  i[1] || (i[1] = w("div", { class: "spinner-dots" }, [
7168
7172
  w("i"),
@@ -7181,7 +7185,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7181
7185
  destroy: { type: Boolean }
7182
7186
  },
7183
7187
  setup(d) {
7184
- return ie(d), (e, t) => (f(), _("div", vn, t[0] || (t[0] = [
7188
+ return ie(d), (e, t) => (g(), _("div", vn, t[0] || (t[0] = [
7185
7189
  w("div", { class: "tab-header" }, null, -1),
7186
7190
  w("div", { class: "tab-body" }, null, -1)
7187
7191
  ])));
@@ -7194,8 +7198,8 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7194
7198
  },
7195
7199
  setup(d) {
7196
7200
  let r = d, { text: e, delay: t } = ie(r);
7197
- return (l, s) => (f(), _("div", bn, [
7198
- (f(!0), _(ue, null, pe(o(e), (n, u) => (f(), _("div", {
7201
+ return (l, s) => (g(), _("div", bn, [
7202
+ (g(!0), _(ue, null, pe(o(e), (n, u) => (g(), _("div", {
7199
7203
  class: "char",
7200
7204
  style: we({ animationDelay: `${o(t) + u * 0.1}s` })
7201
7205
  }, L(n), 5))), 256))
@@ -7203,7 +7207,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7203
7207
  }
7204
7208
  });
7205
7209
  let wn = async (d) => {
7206
- let r = await Ar(d);
7210
+ let r = await $r(d);
7207
7211
  await Tr(r), await Rr(r), await Er();
7208
7212
  };
7209
7213
  class _n extends Ft {
@@ -7255,13 +7259,13 @@ class _n extends Ft {
7255
7259
  }
7256
7260
  }
7257
7261
  let kn = new _n(), xn = [
7258
- { path: "/install", component: () => import("./Install-DO1WyHfe.js") },
7259
- { path: "/login", component: () => import("./Index-BGVwD-UO.js") },
7260
- { path: "/register", component: () => import("./Register-_Wawv6a9.js") },
7261
- { path: "/maintaince", component: () => import("./Maintaince-BSdycbKr.js") },
7262
- { path: "/sso/callback", component: () => import("./Callback-CbFMEW9i.js") },
7262
+ { path: "/install", component: () => import("./Install-DhWWbGRi.js") },
7263
+ { path: "/login", component: () => import("./Index-wHW-zG4G.js") },
7264
+ { path: "/register", component: () => import("./Register-BaFqs8vX.js") },
7265
+ { path: "/maintaince", component: () => import("./Maintaince-CMitKNaf.js") },
7266
+ { path: "/sso/callback", component: () => import("./Callback-Bk7xDeWh.js") },
7263
7267
  //优先匹配自定义路由,自定义路由匹配不到后,再使用框架页面
7264
- { path: "/:pathMatch(.*)*", component: () => import("./Index-CvBbNK73.js") }
7268
+ { path: "/:pathMatch(.*)*", component: () => import("./Index-DhShUw_y.js") }
7265
7269
  ], Cn = () => ({
7266
7270
  /**
7267
7271
  * 安装路由
@@ -7282,8 +7286,8 @@ class Sn {
7282
7286
  /**
7283
7287
  * 初始化
7284
7288
  */
7285
- async useGlobal(r) {
7286
- r.use(be.router), r.use(Cn()), Ae.init(r), Sl.props.closeOnClickModal = !1, r.use(Cl), r.config.errorHandler = (e, t) => {
7289
+ async useGlobalAsync(r) {
7290
+ r.use(be.router), r.use(Cn()), $e.init(r), Sl.props.closeOnClickModal = !1, r.use(Cl), r.config.errorHandler = (e, t) => {
7287
7291
  let l = e.message, s = t.$el;
7288
7292
  throw s && s.className && (l += ` 对应dom类: .${s.className}`), V.log.add("error", l, e.stack), e;
7289
7293
  };
@@ -7298,7 +7302,7 @@ class Sn {
7298
7302
  * 注册自定义组件
7299
7303
  */
7300
7304
  useComponents(r, e, t, l) {
7301
- Ae.register(r, e, t, l);
7305
+ $e.register(r, e, t, l);
7302
7306
  }
7303
7307
  //#region 多语言
7304
7308
  /**
@@ -7306,18 +7310,18 @@ class Sn {
7306
7310
  */
7307
7311
  async switchI18n(r) {
7308
7312
  if (await z.i18n.switch(r), r == "zh-cn") {
7309
- this.locale = $l;
7313
+ this.locale = Al;
7310
7314
  return;
7311
7315
  }
7312
7316
  if (r == "en") {
7313
- this.locale = Al;
7317
+ this.locale = $l;
7314
7318
  return;
7315
7319
  }
7316
7320
  r == "hu" && (this.locale = Tl);
7317
7321
  }
7318
7322
  //#endregion
7319
7323
  }
7320
- class $n {
7324
+ class An {
7321
7325
  constructor() {
7322
7326
  /**
7323
7327
  * 目前系统中正在运行的首页组件
@@ -7332,7 +7336,7 @@ class $n {
7332
7336
  * 初始化&注册全局组件
7333
7337
  */
7334
7338
  init(r) {
7335
- this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-DgeCNbXh.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-CoBLPVi3.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-B0PfJmjL.js"), "../coms/controls/Code.vue": () => import("./Code-Bp1q94rL.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-DA7BCjKZ.js"), "../coms/controls/Date.vue": () => import("./Date-Dtkgb14j.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-Dp8UaElP.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-Dsic9kuS.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-BRkPJW15.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-Cv-m8tOx.js"), "../coms/controls/Image.vue": () => import("./Image-B1-gpU95.js"), "../coms/controls/Index.vue": () => import("./Index-Be5ZRMiA.js"), "../coms/controls/Int.vue": () => import("./Int-BODrCoEO.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-CKbHdLfO.js"), "../coms/controls/Password.vue": () => import("./Password-DuyYEgzR.js"), "../coms/controls/Progress.vue": () => import("./Progress-C3D821AQ.js"), "../coms/controls/Radio.vue": () => import("./Radio-DkcBKBvX.js"), "../coms/controls/Rate.vue": () => import("./Rate-B7jKTFKT.js"), "../coms/controls/RichText.vue": () => import("./RichText-4OvMQMM7.js"), "../coms/controls/Select.vue": () => import("./Select-DZAf_BZO.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-BmBE5HsZ.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-CVo_1Z_K.js"), "../coms/controls/Upload.vue": () => import("./Upload-Cg-G5qFh.js"), "../coms/controls/Year.vue": () => import("./Year-C4K6YOBk.js") }), "../../halo-pc/coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-CuyWf8-X.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-HWBM8-EX.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-y6MyH7-F.js"), "../coms/lists/Stock.vue": () => import("./Stock-B_otBoO4.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-nKgSB2Zp.js"), "../coms/lists/Tree.vue": () => import("./Tree-BOQxh3M_.js") }), "../../halo-pc/coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-vp9nJvsL.js"), "../coms/pagings/Code.vue": () => import("./Code-DY3C7vrX.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-CMocShBg.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-BmBOP46y.js"), "../coms/pagings/File.vue": () => import("./File-BgI_8Ixx.js"), "../coms/pagings/Index.vue": () => import("./Index-DGpFY8js.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-C3zOUIIX.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-BMCHfjBo.js"), "../coms/pagings/Table.vue": () => import("./Table-CHUXN3eS.js") }), "../../halo-pc/coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-BzaIAVFi.js"), "../coms/partials/Detail.vue": () => import("./Detail-Cme-JSWR.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-C56epdKF.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-sW2AOAGv.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-BSq6po5K.js"), "../coms/partials/Update.vue": () => import("./Update-scraILBD.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-BzpxMZ3o.js") }), "../../halo-pc/coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-DqaRWuqm.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-qNvOTZ6s.js"), "../coms/searches/Index.vue": () => import("./Index-DKDZFU7v.js"), "../coms/searches/Int.vue": () => import("./Int-Cj_jRD6I.js"), "../coms/searches/Month.vue": () => import("./Month-CkofAR4O.js"), "../coms/searches/Select.vue": () => import("./Select-BGPyIb2O.js"), "../coms/searches/Text.vue": () => import("./Text-DB2Wk3p7.js") }), "../../halo-pc/coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-BPkep1Ji.js"), "../coms/singles/Comment.vue": () => import("./Comment-Bkj6WRdA.js"), "../coms/singles/Index.vue": () => import("./Index-D1VXwmo_.js"), "../coms/singles/Normal.vue": () => import("./Normal-3xeQTyhS.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-B7e5G2Tr.js"), "../coms/singles/Table.vue": () => import("./Table-C0KwyDgj.js"), "../coms/singles/Tree.vue": () => import("./Tree-BZi7zcDn.js"), "../coms/singles/Tree_Old.vue": () => import("./Tree_Old-h__WmqFA.js") }), "../../halo-pc/coms/singles/", "update"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/texts/Autocomplete.vue": () => import("./Autocomplete-C_ubys4i.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-DKHym_MQ.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-B4mptNwU.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-7XS2XSkj.js"), "../coms/texts/Code.vue": () => import("./Code-Bua_p06G.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-BTwl6Ygd.js"), "../coms/texts/Copy.vue": () => import("./Copy-D6TrTD-h.js"), "../coms/texts/Date.vue": () => import("./Date-BOpBMHrO.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-9olPZQQM.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-Bw0CL7Yl.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-BDBGE70E.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-CfluiuuF.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-CWEKHV8b.js"), "../coms/texts/Month.vue": () => import("./Month-CdHe6pdR.js"), "../coms/texts/Password.vue": () => import("./Password-yHtlY-Qa.js"), "../coms/texts/Progress.vue": () => import("./Progress-CKVzMO-W.js"), "../coms/texts/Radio.vue": () => import("./Radio-BBoKSy_l.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-Bhvkxayr.js"), "../coms/texts/Switch.vue": () => import("./Switch-Da93_Vfb.js"), "../coms/texts/Text.vue": () => import("./Text-CjXlBCL6.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-CjLZ0G1H.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-CIcZ7Bbv.js"), "../coms/texts/Upload.vue": () => import("./Upload-CkWdwC_I.js"), "../coms/texts/Year.vue": () => import("./Year-CKP56hze.js") }), "../../halo-pc/coms/texts/", "text"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-DgeCNbXh.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-CoBLPVi3.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-B0PfJmjL.js"), "../coms/controls/Code.vue": () => import("./Code-Bp1q94rL.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-DA7BCjKZ.js"), "../coms/controls/Date.vue": () => import("./Date-Dtkgb14j.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-Dp8UaElP.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-Dsic9kuS.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-BRkPJW15.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-Cv-m8tOx.js"), "../coms/controls/Image.vue": () => import("./Image-B1-gpU95.js"), "../coms/controls/Index.vue": () => import("./Index-Be5ZRMiA.js"), "../coms/controls/Int.vue": () => import("./Int-BODrCoEO.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-CKbHdLfO.js"), "../coms/controls/Password.vue": () => import("./Password-DuyYEgzR.js"), "../coms/controls/Progress.vue": () => import("./Progress-C3D821AQ.js"), "../coms/controls/Radio.vue": () => import("./Radio-DkcBKBvX.js"), "../coms/controls/Rate.vue": () => import("./Rate-B7jKTFKT.js"), "../coms/controls/RichText.vue": () => import("./RichText-4OvMQMM7.js"), "../coms/controls/Select.vue": () => import("./Select-DZAf_BZO.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-BmBE5HsZ.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-CVo_1Z_K.js"), "../coms/controls/Upload.vue": () => import("./Upload-Cg-G5qFh.js"), "../coms/controls/Year.vue": () => import("./Year-C4K6YOBk.js") }), "../coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-CuyWf8-X.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-HWBM8-EX.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-y6MyH7-F.js"), "../coms/lists/Stock.vue": () => import("./Stock-B_otBoO4.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-nKgSB2Zp.js"), "../coms/lists/Tree.vue": () => import("./Tree-BOQxh3M_.js") }), "../coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-vp9nJvsL.js"), "../coms/pagings/Code.vue": () => import("./Code-DY3C7vrX.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-CMocShBg.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-BmBOP46y.js"), "../coms/pagings/File.vue": () => import("./File-BgI_8Ixx.js"), "../coms/pagings/Index.vue": () => import("./Index-DGpFY8js.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-C3zOUIIX.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-BMCHfjBo.js"), "../coms/pagings/Table.vue": () => import("./Table-CHUXN3eS.js") }), "../coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-BzaIAVFi.js"), "../coms/partials/Detail.vue": () => import("./Detail-Cme-JSWR.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-C56epdKF.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-sW2AOAGv.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-BSq6po5K.js"), "../coms/partials/Update.vue": () => import("./Update-scraILBD.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-BzpxMZ3o.js") }), "../coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-DqaRWuqm.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-qNvOTZ6s.js"), "../coms/searches/Index.vue": () => import("./Index-DKDZFU7v.js"), "../coms/searches/Int.vue": () => import("./Int-Cj_jRD6I.js"), "../coms/searches/Month.vue": () => import("./Month-CkofAR4O.js"), "../coms/searches/Select.vue": () => import("./Select-BGPyIb2O.js"), "../coms/searches/Text.vue": () => import("./Text-DB2Wk3p7.js") }), "../coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-BPkep1Ji.js"), "../coms/singles/Comment.vue": () => import("./Comment-Bkj6WRdA.js"), "../coms/singles/Index.vue": () => import("./Index-D1VXwmo_.js"), "../coms/singles/Normal.vue": () => import("./Normal-3xeQTyhS.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-B7e5G2Tr.js"), "../coms/singles/Table.vue": () => import("./Table-C0KwyDgj.js"), "../coms/singles/Tree.vue": () => import("./Tree-BZi7zcDn.js"), "../coms/singles/Tree_Old.vue": () => import("./Tree_Old-h__WmqFA.js") }), "../coms/singles/", "update"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/texts/Autocomplete.vue": () => import("./Autocomplete-C_ubys4i.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-DKHym_MQ.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-B4mptNwU.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-7XS2XSkj.js"), "../coms/texts/Code.vue": () => import("./Code-Bua_p06G.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-BTwl6Ygd.js"), "../coms/texts/Copy.vue": () => import("./Copy-D6TrTD-h.js"), "../coms/texts/Date.vue": () => import("./Date-BOpBMHrO.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-9olPZQQM.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-Bw0CL7Yl.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-BDBGE70E.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-CfluiuuF.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-CWEKHV8b.js"), "../coms/texts/Month.vue": () => import("./Month-CdHe6pdR.js"), "../coms/texts/Password.vue": () => import("./Password-yHtlY-Qa.js"), "../coms/texts/Progress.vue": () => import("./Progress-CKVzMO-W.js"), "../coms/texts/Radio.vue": () => import("./Radio-BBoKSy_l.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-Bhvkxayr.js"), "../coms/texts/Switch.vue": () => import("./Switch-Da93_Vfb.js"), "../coms/texts/Text.vue": () => import("./Text-CjXlBCL6.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-CjLZ0G1H.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-CIcZ7Bbv.js"), "../coms/texts/Upload.vue": () => import("./Upload-CkWdwC_I.js"), "../coms/texts/Year.vue": () => import("./Year-CKP56hze.js") }), "../coms/texts/", "text");
7339
+ this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-B691jOqv.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-CCv6R_xq.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-l-dw3I-D.js"), "../coms/controls/Code.vue": () => import("./Code-CC0_bYUf.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-slAZvFE_.js"), "../coms/controls/Date.vue": () => import("./Date-Dc2vK9Yv.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-Uli5eOZ5.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-DfUXtsBX.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-CnITxfZ9.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-BanDj216.js"), "../coms/controls/Image.vue": () => import("./Image-D_5kTXKm.js"), "../coms/controls/Index.vue": () => import("./Index-Ddz9mcly.js"), "../coms/controls/Int.vue": () => import("./Int-BELzPmec.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-BNp70T17.js"), "../coms/controls/Password.vue": () => import("./Password-DuyYEgzR.js"), "../coms/controls/Progress.vue": () => import("./Progress-C3D821AQ.js"), "../coms/controls/Radio.vue": () => import("./Radio-DkcBKBvX.js"), "../coms/controls/Rate.vue": () => import("./Rate-B7jKTFKT.js"), "../coms/controls/RichText.vue": () => import("./RichText-TV3ZnykX.js"), "../coms/controls/Select.vue": () => import("./Select-BvRI4zbF.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-Bx46Fcln.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-WN0VMSgh.js"), "../coms/controls/Upload.vue": () => import("./Upload-Dui004Aq.js"), "../coms/controls/Year.vue": () => import("./Year-oJxibej6.js") }), "../../halo-pc/coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-Df0eBgXW.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-B4Q4oVfM.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-CQ2oA1vm.js"), "../coms/lists/Stock.vue": () => import("./Stock-DF5yBa1X.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-DckHQQHw.js"), "../coms/lists/Tree.vue": () => import("./Tree-DHwhhXMP.js") }), "../../halo-pc/coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-B4W1yDus.js"), "../coms/pagings/Code.vue": () => import("./Code-DzZ4UNYj.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-TrGLjcqQ.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-rcDmGVKS.js"), "../coms/pagings/File.vue": () => import("./File-BrXieip7.js"), "../coms/pagings/Index.vue": () => import("./Index-BMBm5j5X.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-zVUHuxiR.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-Dqr5IKuO.js"), "../coms/pagings/Table.vue": () => import("./Table-BlciJJMu.js") }), "../../halo-pc/coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-BZmGzE4z.js"), "../coms/partials/Detail.vue": () => import("./Detail-D77pFe-2.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-CYOKAeGS.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-vv6z6G0t.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-CeXU-uB1.js"), "../coms/partials/Update.vue": () => import("./Update-Ct44IN2J.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-Bo6yZ12Y.js") }), "../../halo-pc/coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-CLYzsHIy.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-CPJSBRvr.js"), "../coms/searches/Index.vue": () => import("./Index-Ceu5HCjk.js"), "../coms/searches/Int.vue": () => import("./Int-BZkW-0JA.js"), "../coms/searches/Month.vue": () => import("./Month-D4gy17OL.js"), "../coms/searches/Select.vue": () => import("./Select-CUvvvGNn.js"), "../coms/searches/Text.vue": () => import("./Text-Dv_w46l8.js") }), "../../halo-pc/coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-BIJ8L9XB.js"), "../coms/singles/Comment.vue": () => import("./Comment-WXfnUXm0.js"), "../coms/singles/Index.vue": () => import("./Index-Bov1OTEP.js"), "../coms/singles/Normal.vue": () => import("./Normal-Cvx8228I.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-DylT7df9.js"), "../coms/singles/Table.vue": () => import("./Table-1R7b4wsF.js"), "../coms/singles/Tree.vue": () => import("./Tree-BWxBxlZN.js"), "../coms/singles/Tree_Old.vue": () => import("./Tree_Old-h__WmqFA.js") }), "../../halo-pc/coms/singles/", "update"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/texts/Autocomplete.vue": () => import("./Autocomplete-DXKXgbu8.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-Bu5b_AQ5.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-Bn5tdkyk.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-DJTNEds9.js"), "../coms/texts/Code.vue": () => import("./Code-DSskK7CQ.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-C7wrM-XA.js"), "../coms/texts/Copy.vue": () => import("./Copy-Djf4freJ.js"), "../coms/texts/Date.vue": () => import("./Date-7EWMEODI.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-C-XhFPb0.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-BtQpSIJR.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-ICeLwv7E.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-CsxTOaw6.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-C8urG88V.js"), "../coms/texts/Month.vue": () => import("./Month-CK5GNwwH.js"), "../coms/texts/Password.vue": () => import("./Password-yHtlY-Qa.js"), "../coms/texts/Progress.vue": () => import("./Progress-CKVzMO-W.js"), "../coms/texts/Radio.vue": () => import("./Radio-DA8B5Rlh.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-51pxexYZ.js"), "../coms/texts/Switch.vue": () => import("./Switch-CGcPpvTj.js"), "../coms/texts/Text.vue": () => import("./Text-CA8i8QjK.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-CQj0ytVR.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-D6VcTq4G.js"), "../coms/texts/Upload.vue": () => import("./Upload-CfRc8s-c.js"), "../coms/texts/Year.vue": () => import("./Year-CgsNE-M5.js") }), "../../halo-pc/coms/texts/", "text"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-B691jOqv.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-CCv6R_xq.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-l-dw3I-D.js"), "../coms/controls/Code.vue": () => import("./Code-CC0_bYUf.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-slAZvFE_.js"), "../coms/controls/Date.vue": () => import("./Date-Dc2vK9Yv.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-Uli5eOZ5.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-DfUXtsBX.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-CnITxfZ9.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-BanDj216.js"), "../coms/controls/Image.vue": () => import("./Image-D_5kTXKm.js"), "../coms/controls/Index.vue": () => import("./Index-Ddz9mcly.js"), "../coms/controls/Int.vue": () => import("./Int-BELzPmec.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-BNp70T17.js"), "../coms/controls/Password.vue": () => import("./Password-DuyYEgzR.js"), "../coms/controls/Progress.vue": () => import("./Progress-C3D821AQ.js"), "../coms/controls/Radio.vue": () => import("./Radio-DkcBKBvX.js"), "../coms/controls/Rate.vue": () => import("./Rate-B7jKTFKT.js"), "../coms/controls/RichText.vue": () => import("./RichText-TV3ZnykX.js"), "../coms/controls/Select.vue": () => import("./Select-BvRI4zbF.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-Bx46Fcln.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-WN0VMSgh.js"), "../coms/controls/Upload.vue": () => import("./Upload-Dui004Aq.js"), "../coms/controls/Year.vue": () => import("./Year-oJxibej6.js") }), "../coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-Df0eBgXW.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-B4Q4oVfM.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-CQ2oA1vm.js"), "../coms/lists/Stock.vue": () => import("./Stock-DF5yBa1X.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-DckHQQHw.js"), "../coms/lists/Tree.vue": () => import("./Tree-DHwhhXMP.js") }), "../coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-B4W1yDus.js"), "../coms/pagings/Code.vue": () => import("./Code-DzZ4UNYj.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-TrGLjcqQ.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-rcDmGVKS.js"), "../coms/pagings/File.vue": () => import("./File-BrXieip7.js"), "../coms/pagings/Index.vue": () => import("./Index-BMBm5j5X.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-zVUHuxiR.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-Dqr5IKuO.js"), "../coms/pagings/Table.vue": () => import("./Table-BlciJJMu.js") }), "../coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-BZmGzE4z.js"), "../coms/partials/Detail.vue": () => import("./Detail-D77pFe-2.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-CYOKAeGS.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-vv6z6G0t.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-CeXU-uB1.js"), "../coms/partials/Update.vue": () => import("./Update-Ct44IN2J.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-Bo6yZ12Y.js") }), "../coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-CLYzsHIy.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-CPJSBRvr.js"), "../coms/searches/Index.vue": () => import("./Index-Ceu5HCjk.js"), "../coms/searches/Int.vue": () => import("./Int-BZkW-0JA.js"), "../coms/searches/Month.vue": () => import("./Month-D4gy17OL.js"), "../coms/searches/Select.vue": () => import("./Select-CUvvvGNn.js"), "../coms/searches/Text.vue": () => import("./Text-Dv_w46l8.js") }), "../coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-BIJ8L9XB.js"), "../coms/singles/Comment.vue": () => import("./Comment-WXfnUXm0.js"), "../coms/singles/Index.vue": () => import("./Index-Bov1OTEP.js"), "../coms/singles/Normal.vue": () => import("./Normal-Cvx8228I.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-DylT7df9.js"), "../coms/singles/Table.vue": () => import("./Table-1R7b4wsF.js"), "../coms/singles/Tree.vue": () => import("./Tree-BWxBxlZN.js"), "../coms/singles/Tree_Old.vue": () => import("./Tree_Old-h__WmqFA.js") }), "../coms/singles/", "update"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/texts/Autocomplete.vue": () => import("./Autocomplete-DXKXgbu8.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-Bu5b_AQ5.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-Bn5tdkyk.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-DJTNEds9.js"), "../coms/texts/Code.vue": () => import("./Code-DSskK7CQ.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-C7wrM-XA.js"), "../coms/texts/Copy.vue": () => import("./Copy-Djf4freJ.js"), "../coms/texts/Date.vue": () => import("./Date-7EWMEODI.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-C-XhFPb0.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-BtQpSIJR.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-ICeLwv7E.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-CsxTOaw6.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-C8urG88V.js"), "../coms/texts/Month.vue": () => import("./Month-CK5GNwwH.js"), "../coms/texts/Password.vue": () => import("./Password-yHtlY-Qa.js"), "../coms/texts/Progress.vue": () => import("./Progress-CKVzMO-W.js"), "../coms/texts/Radio.vue": () => import("./Radio-DA8B5Rlh.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-51pxexYZ.js"), "../coms/texts/Switch.vue": () => import("./Switch-CGcPpvTj.js"), "../coms/texts/Text.vue": () => import("./Text-CA8i8QjK.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-CQj0ytVR.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-D6VcTq4G.js"), "../coms/texts/Upload.vue": () => import("./Upload-CfRc8s-c.js"), "../coms/texts/Year.vue": () => import("./Year-CgsNE-M5.js") }), "../coms/texts/", "text");
7336
7340
  }
7337
7341
  /**
7338
7342
  * 注册全局异步或同步组件
@@ -7364,7 +7368,7 @@ class $n {
7364
7368
  delete this.pages[r];
7365
7369
  }
7366
7370
  }
7367
- class An {
7371
+ class $n {
7368
7372
  /**
7369
7373
  * 获取控件的值,自动区分搜索控件和提交表单控件
7370
7374
  */
@@ -7605,8 +7609,8 @@ class Un {
7605
7609
  let c = {
7606
7610
  message: `${n[u].message}`,
7607
7611
  trigger: "change",
7608
- validator(p, h, g) {
7609
- g(new Error());
7612
+ validator(p, h, f) {
7613
+ f(new Error());
7610
7614
  }
7611
7615
  };
7612
7616
  s.push(c);
@@ -7679,8 +7683,8 @@ class Mn extends V {
7679
7683
  */
7680
7684
  a(Mn, "control");
7681
7685
  let Vn = async () => {
7682
- ll = new Rn(), Le = Me(new Sn()), Ae = new $n(), Ln = new An(), In = new Tn(), be = new En(), On = new Un(), Hn = new jn(), ze = new Dn();
7683
- }, Le = {}, Ae = {}, Ln = {}, In = {}, ll = {}, be = {}, On = {}, Hn = {}, ze = {};
7686
+ ll = new Rn(), Le = Me(new Sn()), $e = new An(), Ln = new $n(), In = new Tn(), be = new En(), On = new Un(), Hn = new jn(), ze = new Dn();
7687
+ }, Le = {}, $e = {}, Ln = {}, In = {}, ll = {}, be = {}, On = {}, Hn = {}, ze = {};
7684
7688
  class Ii {
7685
7689
  constructor() {
7686
7690
  /**
@@ -7697,8 +7701,8 @@ class Ii {
7697
7701
  a(this, "lang");
7698
7702
  }
7699
7703
  }
7700
- let Pn = $e(() => import("./Column-B1jtfzmr.js")), zn = $e(() => import("./Custom-qtIN7b75.js")), Bn = $e(() => import("./Delete-BORgzUbB.js")), Nn = $e(() => import("./Index-CVS1mp3F.js")), Fn = $e(() => import("./Paging-Ct1z6EsP.js")), tt = $e(() => import("./Single-RZ_U-oZd.js")), Wn = $e(() => import("./List-B-B6fjFk.js"));
7701
- const qn = {
7704
+ let Pn = Ae(() => import("./Column-Ct-WeomE.js")), zn = Ae(() => import("./Custom-D-E5y5Vg.js")), Bn = Ae(() => import("./Delete-r-qTGBEE.js")), Nn = Ae(() => import("./Index-BQmAD1mw.js")), Fn = Ae(() => import("./Paging-B3l_nJHf.js")), tt = Ae(() => import("./Single-BtAJSJLK.js")), qn = Ae(() => import("./List-9r5PDoSS.js"));
7705
+ const Wn = {
7702
7706
  components: {
7703
7707
  CopyPage: tt,
7704
7708
  ColumnPage: Pn,
@@ -7708,11 +7712,11 @@ const qn = {
7708
7712
  IndexPage: Nn,
7709
7713
  InsertPage: tt,
7710
7714
  PagingPage: Fn,
7711
- ListPage: Wn,
7715
+ ListPage: qn,
7712
7716
  UpdatePage: tt
7713
7717
  }
7714
7718
  }, Oe = /* @__PURE__ */ X({
7715
- ...qn,
7719
+ ...Wn,
7716
7720
  __name: "Index",
7717
7721
  props: {
7718
7722
  url: {},
@@ -7720,7 +7724,7 @@ const qn = {
7720
7724
  },
7721
7725
  emits: ["navigate", "loaded", "succeed", "close"],
7722
7726
  setup(d, { expose: r, emit: e }) {
7723
- let t = e, l = d, { url: s, win: n } = ie(l), u = S(), i = S(), c = S(), p = S(!0), h = S(!0), g = S({ title: null, content: null }), y = S({ type: null, view: null }), $ = new Ie(), k = "index-" + m.string.getUniqueId(), j, M = () => {
7727
+ let t = e, l = d, { url: s, win: n } = ie(l), u = S(), i = S(), c = S(), p = S(!0), h = S(!0), f = S({ title: null, content: null }), y = S({ type: null, view: null }), A = new Ie(), k = "index-" + m.string.getUniqueId(), j, M = () => {
7724
7728
  if (h.value) {
7725
7729
  P(s.value, !0);
7726
7730
  return;
@@ -7730,13 +7734,13 @@ const qn = {
7730
7734
  re.module.triggerClose(i.value, D);
7731
7735
  }, x = (D, U) => {
7732
7736
  j = U, t("navigate", D);
7733
- }, P = (D, U = !1, q = null) => {
7734
- p.value = !0, h.value = U, g.value.title = null, g.value.content = null;
7737
+ }, P = (D, U = !1, W = null) => {
7738
+ p.value = !0, h.value = U, f.value.title = null, f.value.content = null;
7735
7739
  let K = m.url.getUrl(D, { schema: "" });
7736
7740
  z.http.get(K).then((T) => {
7737
- c.value = T, h.value = !1, t("loaded", T.data), q && q(T);
7741
+ c.value = T, h.value = !1, t("loaded", T.data), W && W(T);
7738
7742
  }).catch((T) => {
7739
- throw g.value.title = T.message, g.value.content = T.stack, q && q(), T;
7743
+ throw f.value.title = T.message, f.value.content = T.stack, W && W(), T;
7740
7744
  }).finally(() => {
7741
7745
  p.value = !1;
7742
7746
  });
@@ -7754,13 +7758,13 @@ const qn = {
7754
7758
  D[0].contentRect.width <= 650 ? u.value.classList.add("page--small") : u.value.classList.remove("page--small"), re.module.triggerResize(i.value, D[0]);
7755
7759
  }, Y = (D) => {
7756
7760
  var T;
7757
- let U = Ae.getComponent(D, "view");
7761
+ let U = $e.getComponent(D, "view");
7758
7762
  if (U) {
7759
7763
  y.value.type = "custom", y.value.view = U, h.value = !1;
7760
7764
  return;
7761
7765
  }
7762
- let q = ["insert", "copy", "update", "detail", "paging", "list", "delete"], K = (T = m.url.getLastSegment(D)) == null ? void 0 : T.toLowerCase();
7763
- if (q.includes(K)) {
7766
+ let W = ["insert", "copy", "update", "detail", "paging", "list", "delete"], K = (T = m.url.getLastSegment(D)) == null ? void 0 : T.toLowerCase();
7767
+ if (W.includes(K)) {
7764
7768
  if (y.value.type = K, !i.value) {
7765
7769
  P(D, !0);
7766
7770
  return;
@@ -7771,12 +7775,12 @@ const qn = {
7771
7775
  P(D, C, j), j = null;
7772
7776
  return;
7773
7777
  }
7774
- y.value.type = "column", y.value.view = Ae.getComponent(D, "partial"), p.value = !1, h.value = !1;
7778
+ y.value.type = "column", y.value.view = $e.getComponent(D, "partial"), p.value = !1, h.value = !1;
7775
7779
  };
7776
7780
  Y(s.value), ye(() => {
7777
- Ae.addPage(k, {}), $.resize(u.value, O);
7781
+ $e.addPage(k, {}), A.resize(u.value, O);
7778
7782
  }), ht(() => {
7779
- Ae.removePage(k), $.dispose();
7783
+ $e.removePage(k), A.dispose();
7780
7784
  });
7781
7785
  let se = he(() => {
7782
7786
  let D = m.url.getRoute(s.value);
@@ -7785,22 +7789,22 @@ const qn = {
7785
7789
  return me(() => s.value, (D, U) => {
7786
7790
  Y(D);
7787
7791
  }), r({ onRefresh: M, onClose: N, onKeyboard: I, onSocket: Z }), (D, U) => {
7788
- const q = J("custom-page"), K = J("column-page");
7789
- return f(), _("div", {
7792
+ const W = J("custom-page"), K = J("column-page");
7793
+ return g(), _("div", {
7790
7794
  ref_key: "rootRef",
7791
7795
  ref: u,
7792
7796
  class: "ha-page"
7793
7797
  }, [
7794
- A(o(sn), {
7798
+ $(o(sn), {
7795
7799
  modelValue: o(p),
7796
7800
  "onUpdate:modelValue": U[0] || (U[0] = (T) => _e(p) ? p.value = T : p = T)
7797
7801
  }, null, 8, ["modelValue"]),
7798
- o(h) ? (f(), W(o(yn), {
7802
+ o(h) ? (g(), q(o(yn), {
7799
7803
  key: 0,
7800
- title: o(g).title,
7801
- content: o(g).content,
7804
+ title: o(f).title,
7805
+ content: o(f).content,
7802
7806
  onRetry: o(M)
7803
- }, null, 8, ["title", "content", "onRetry"])) : o(y).type == "custom" ? (f(), W(q, {
7807
+ }, null, 8, ["title", "content", "onRetry"])) : o(y).type == "custom" ? (g(), q(W, {
7804
7808
  key: 1,
7805
7809
  ref_key: "pageRef",
7806
7810
  ref: i,
@@ -7809,7 +7813,7 @@ const qn = {
7809
7813
  view: o(y).view,
7810
7814
  onLoaded: o(te),
7811
7815
  onNavigate: o(x)
7812
- }, null, 8, ["url", "win", "view", "onLoaded", "onNavigate"])) : o(y).type == "column" ? (f(), W(K, {
7816
+ }, null, 8, ["url", "win", "view", "onLoaded", "onNavigate"])) : o(y).type == "column" ? (g(), q(K, {
7813
7817
  key: 2,
7814
7818
  ref_key: "pageRef",
7815
7819
  ref: i,
@@ -7818,7 +7822,7 @@ const qn = {
7818
7822
  view: o(y).view,
7819
7823
  onLoaded: o(te),
7820
7824
  onNavigate: o(x)
7821
- }, null, 8, ["url", "win", "view", "onLoaded", "onNavigate"])) : (f(), W(Ne(`${o(y).type}-page`), {
7825
+ }, null, 8, ["url", "win", "view", "onLoaded", "onNavigate"])) : (g(), q(Ne(`${o(y).type}-page`), {
7822
7826
  key: 3,
7823
7827
  ref_key: "pageRef",
7824
7828
  ref: i,
@@ -7845,27 +7849,27 @@ const qn = {
7845
7849
  }),
7846
7850
  emits: /* @__PURE__ */ Ce(["succeed", "navigate", "update:modelValue"], ["update:modelValue"]),
7847
7851
  setup(d, { emit: r }) {
7848
- let e = r, t = d, { to: l, url: s } = ie(t), n = Te(d, "modelValue"), u = S({ type: null, name: null }), i = S(800), c = (g) => {
7849
- u.value.type = g.module.type, u.value.name = g.module.name;
7850
- }, p = (g) => {
7851
- e("navigate", g);
7852
- }, h = (g) => {
7853
- e("update:modelValue", !1), e("succeed", g, u.value.name);
7852
+ let e = r, t = d, { to: l, url: s } = ie(t), n = Te(d, "modelValue"), u = S({ type: null, name: null }), i = S(800), c = (f) => {
7853
+ u.value.type = f.module.type, u.value.name = f.module.name;
7854
+ }, p = (f) => {
7855
+ e("navigate", f);
7856
+ }, h = (f) => {
7857
+ e("update:modelValue", !1), e("succeed", f, u.value.name);
7854
7858
  };
7855
- return (g, y) => {
7856
- const $ = J("el-drawer");
7857
- return f(), W(ft, {
7859
+ return (f, y) => {
7860
+ const A = J("el-drawer");
7861
+ return g(), q(ft, {
7858
7862
  to: o(l),
7859
7863
  disabled: !o(l)
7860
7864
  }, [
7861
- A($, {
7865
+ $(A, {
7862
7866
  title: o(E).module(o(u).type, o(u).name),
7863
7867
  size: o(ll).getDrawerWidth(o(i)),
7864
7868
  modelValue: o(n),
7865
7869
  "onUpdate:modelValue": y[0] || (y[0] = (k) => _e(n) ? n.value = k : n = k)
7866
7870
  }, {
7867
7871
  default: b(() => [
7868
- o(s) ? (f(), W(o(Oe), {
7872
+ o(s) ? (g(), q(o(Oe), {
7869
7873
  key: 0,
7870
7874
  ref: "pageRef",
7871
7875
  url: o(s),
@@ -7885,7 +7889,7 @@ const qn = {
7885
7889
  emits: [],
7886
7890
  setup(d, { emit: r }) {
7887
7891
  return ie(d), ye(async () => {
7888
- }), (t, l) => (f(), _("div", Kn, [
7892
+ }), (t, l) => (g(), _("div", Kn, [
7889
7893
  ae(t.$slots, "default")
7890
7894
  ]));
7891
7895
  }
@@ -7907,8 +7911,8 @@ const qn = {
7907
7911
  };
7908
7912
  return r({ show: (p, h) => {
7909
7913
  e.value.current = p, e.value.url = h, e.value.visible = !0;
7910
- } }), (p, h) => o(e).visible ? (f(), _("div", Yn, [
7911
- A(o(Ke), {
7914
+ } }), (p, h) => o(e).visible ? (g(), _("div", Yn, [
7915
+ $(o(Ke), {
7912
7916
  ref_key: "feedbackRef",
7913
7917
  ref: t,
7914
7918
  id: "feedback",
@@ -7916,17 +7920,17 @@ const qn = {
7916
7920
  bottom: o(s),
7917
7921
  onClose: o(u),
7918
7922
  modelValue: o(e).visible,
7919
- "onUpdate:modelValue": h[3] || (h[3] = (g) => o(e).visible = g)
7923
+ "onUpdate:modelValue": h[3] || (h[3] = (f) => o(e).visible = f)
7920
7924
  }, {
7921
7925
  side: b(() => [
7922
- A(o(ol), {
7926
+ $(o(ol), {
7923
7927
  modelValue: o(e).current,
7924
- "onUpdate:modelValue": h[2] || (h[2] = (g) => o(e).current = g)
7928
+ "onUpdate:modelValue": h[2] || (h[2] = (f) => o(e).current = f)
7925
7929
  }, {
7926
7930
  default: b(() => [
7927
- A(o(st), {
7931
+ $(o(st), {
7928
7932
  name: "add",
7929
- onClick: h[0] || (h[0] = (g) => o(n)("/ctl_feedback/insert"))
7933
+ onClick: h[0] || (h[0] = (f) => o(n)("/ctl_feedback/insert"))
7930
7934
  }, {
7931
7935
  default: b(() => [
7932
7936
  h[4] || (h[4] = w("i", { class: "fa fa-plus" }, null, -1)),
@@ -7934,9 +7938,9 @@ const qn = {
7934
7938
  ]),
7935
7939
  _: 1
7936
7940
  }),
7937
- A(o(st), {
7941
+ $(o(st), {
7938
7942
  name: "my",
7939
- onClick: h[1] || (h[1] = (g) => o(n)("/ctl_feedback/paging"))
7943
+ onClick: h[1] || (h[1] = (f) => o(n)("/ctl_feedback/paging"))
7940
7944
  }, {
7941
7945
  default: b(() => [
7942
7946
  h[5] || (h[5] = w("i", { class: "fa fa-list" }, null, -1)),
@@ -7949,7 +7953,7 @@ const qn = {
7949
7953
  }, 8, ["modelValue"])
7950
7954
  ]),
7951
7955
  default: b(() => [
7952
- o(e).url ? (f(), W(o(Oe), {
7956
+ o(e).url ? (g(), q(o(Oe), {
7953
7957
  key: 0,
7954
7958
  url: o(e).url,
7955
7959
  onLoaded: o(i),
@@ -7977,16 +7981,16 @@ const qn = {
7977
7981
  return (() => {
7978
7982
  n.value = s.value.type;
7979
7983
  })(), (c, p) => {
7980
- const h = J("el-radio-button"), g = J("el-radio-group");
7981
- return o(l).layouts.length > 1 ? (f(), _("div", Xn, [
7982
- A(g, {
7984
+ const h = J("el-radio-button"), f = J("el-radio-group");
7985
+ return o(l).layouts.length > 1 ? (g(), _("div", Xn, [
7986
+ $(f, {
7983
7987
  size: "small",
7984
7988
  onChange: o(u),
7985
7989
  modelValue: o(n),
7986
7990
  "onUpdate:modelValue": p[0] || (p[0] = (y) => _e(n) ? n.value = y : n = y)
7987
7991
  }, {
7988
7992
  default: b(() => [
7989
- (f(!0), _(ue, null, pe(o(l).layouts, ({ type: y }) => (f(), W(h, {
7993
+ (g(!0), _(ue, null, pe(o(l).layouts, ({ type: y }) => (g(), q(h, {
7990
7994
  type: "primary",
7991
7995
  value: y
7992
7996
  }, {
@@ -8014,11 +8018,11 @@ const qn = {
8014
8018
  setup(d, { emit: r }) {
8015
8019
  let e = r, t = S(!1), l = S(!1), s = S(!1), n = 0, u = 0, i = S(), c = S(), p = S(), h = (M) => {
8016
8020
  i.value.style.left = p.value.style.left = `${M}px`, c.value.style.width = `${M}px`, n = M;
8017
- }, g = () => {
8021
+ }, f = () => {
8018
8022
  e("refresh");
8019
8023
  }, y = (M) => {
8020
8024
  u = M.clientX - M.target.offsetLeft, t.value = !0;
8021
- }, $ = (M) => {
8025
+ }, A = (M) => {
8022
8026
  if (t.value) {
8023
8027
  let x = M.clientX - u;
8024
8028
  x < 0 && (x = 0), x > 500 && (x = 500), h(x);
@@ -8026,13 +8030,13 @@ const qn = {
8026
8030
  }, k = (M) => {
8027
8031
  t.value && (e("validate", n), t.value = !1);
8028
8032
  }, j = () => {
8029
- p.value.addEventListener("mousedown", y), document.addEventListener("mousemove", $), document.addEventListener("mouseup", k);
8033
+ p.value.addEventListener("mousedown", y), document.addEventListener("mousemove", A), document.addEventListener("mouseup", k);
8030
8034
  };
8031
8035
  return ye(() => {
8032
8036
  j();
8033
8037
  }), xe(() => {
8034
- p.value.removeEventListener("mousedown", y), document.removeEventListener("mousemove", $), document.removeEventListener("mouseup", k);
8035
- }), (M, N) => (f(), _("div", Qn, [
8038
+ p.value.removeEventListener("mousedown", y), document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", k);
8039
+ }), (M, N) => (g(), _("div", Qn, [
8036
8040
  w("div", Gn, [
8037
8041
  w("div", Zn, [
8038
8042
  w("img", {
@@ -8053,7 +8057,7 @@ const qn = {
8053
8057
  w("i", {
8054
8058
  class: "fa fa-refresh image-refresh",
8055
8059
  onClick: N[0] || (N[0] = //@ts-ignore
8056
- (...x) => o(g) && o(g)(...x))
8060
+ (...x) => o(f) && o(f)(...x))
8057
8061
  })
8058
8062
  ]),
8059
8063
  w("div", {
@@ -8092,7 +8096,7 @@ const qn = {
8092
8096
  t(e.theme);
8093
8097
  }), me(() => e.theme, (l, s) => {
8094
8098
  t(l);
8095
- }), (l, s) => (f(), _("div", lo));
8099
+ }), (l, s) => (g(), _("div", lo));
8096
8100
  }
8097
8101
  }), Ni = /* @__PURE__ */ X({
8098
8102
  __name: "Table",
@@ -8109,20 +8113,20 @@ const qn = {
8109
8113
  }),
8110
8114
  emits: /* @__PURE__ */ Ce(["row-click", "page-change", "size-change", "sort-change"], ["update:page", "update:size"]),
8111
8115
  setup(d, { expose: r, emit: e }) {
8112
- let t = e, l = d, { data: s, interval: n, sort: u, autoHeight: i } = ie(l), c = Te(d, "page"), p = Te(d, "size"), h = S(["descending", "ascending", null]), g = S([]), y = null, $ = S(s.value.length), k = S(), j = S(), M = S(), N = (D) => {
8116
+ let t = e, l = d, { data: s, interval: n, sort: u, autoHeight: i } = ie(l), c = Te(d, "page"), p = Te(d, "size"), h = S(["descending", "ascending", null]), f = S([]), y = null, A = S(s.value.length), k = S(), j = S(), M = S(), N = (D) => {
8113
8117
  t("row-click", D);
8114
8118
  }, x = async (D) => {
8115
8119
  t("page-change", D), await Ve(), O();
8116
8120
  }, P = async (D) => {
8117
8121
  t("size-change", D), await Ve(), O();
8118
- }, H = async ({ column: D, prop: U, order: q }) => {
8119
- t("sort-change", { prop: U, order: q }), await Ve(), O();
8122
+ }, H = async ({ column: D, prop: U, order: W }) => {
8123
+ t("sort-change", { prop: U, order: W }), await Ve(), O();
8120
8124
  }, le = (D) => {
8121
8125
  k.value.setCurrentRow(D);
8122
8126
  }, te = () => {
8123
8127
  if (!i.value)
8124
8128
  return;
8125
- let D = k.value.$el, U = D.parentElement, q = m.array.from(U.children), K = m.dom.filterStyle(q, (ge) => ge.position == "fixed" || ge.position == "absolute"), T = [D, ...K], C = m.array.except(q, T), v = m.dom.getHeight(C), ne = m.dom.getAvailableHeight(U) - v;
8129
+ let D = k.value.$el, U = D.parentElement, W = m.array.from(U.children), K = m.dom.filterStyle(W, (ge) => ge.position == "fixed" || ge.position == "absolute"), T = [D, ...K], C = m.array.except(W, T), v = m.dom.getHeight(C), ne = m.dom.getAvailableHeight(U) - v;
8126
8130
  M.value = `${ne}px`;
8127
8131
  }, I = (D) => {
8128
8132
  te();
@@ -8135,7 +8139,7 @@ const qn = {
8135
8139
  }, D);
8136
8140
  return m.math.filterPage(U, c.value, p.value);
8137
8141
  }, O = () => {
8138
- g.value = Z(), $.value = s.value.length;
8142
+ f.value = Z(), A.value = s.value.length;
8139
8143
  }, Y = () => {
8140
8144
  y == null || y.interval(n.value, O);
8141
8145
  }, se = () => {
@@ -8148,9 +8152,9 @@ const qn = {
8148
8152
  }), xe(() => {
8149
8153
  se();
8150
8154
  }), r({ selectRow: le, onResize: I, update: O, start: Y, stop: se }), (D, U) => {
8151
- const q = J("el-table"), K = J("el-pagination");
8152
- return f(), _(ue, null, [
8153
- A(q, {
8155
+ const W = J("el-table"), K = J("el-pagination");
8156
+ return g(), _(ue, null, [
8157
+ $(W, {
8154
8158
  ref_key: "tableRef",
8155
8159
  ref: k,
8156
8160
  class: "ha-table",
@@ -8159,7 +8163,7 @@ const qn = {
8159
8163
  border: "",
8160
8164
  size: "small",
8161
8165
  "max-height": o(M),
8162
- data: o(g),
8166
+ data: o(f),
8163
8167
  "default-sort": o(u),
8164
8168
  onRowClick: o(N),
8165
8169
  onSortChange: o(H)
@@ -8174,11 +8178,11 @@ const qn = {
8174
8178
  ]),
8175
8179
  _: 3
8176
8180
  }, 8, ["max-height", "data", "default-sort", "onRowClick", "onSortChange"]),
8177
- A(K, {
8181
+ $(K, {
8178
8182
  ref_key: "paginationRef",
8179
8183
  ref: j,
8180
8184
  layout: "total,prev,pager,next,jumper,sizes",
8181
- total: o($),
8185
+ total: o(A),
8182
8186
  "page-sizes": [10, 50, 500, 5e3, 5e4, 5e5],
8183
8187
  "current-page": o(c),
8184
8188
  "page-size": o(p),
@@ -8202,20 +8206,20 @@ const qn = {
8202
8206
  };
8203
8207
  return (u, i) => {
8204
8208
  const c = J("el-tooltip"), p = J("el-table-column");
8205
- return f(), W(p, {
8209
+ return g(), q(p, {
8206
8210
  label: o(t),
8207
8211
  prop: o(e),
8208
8212
  width: o(l)
8209
8213
  }, {
8210
8214
  header: b((h) => [
8211
- A(c, {
8215
+ $(c, {
8212
8216
  placement: "top",
8213
8217
  content: o(t),
8214
8218
  disabled: !o(s)
8215
8219
  }, {
8216
8220
  default: b(() => [
8217
8221
  w("span", {
8218
- onMouseenter: (g) => o(n)(g, h.column)
8222
+ onMouseenter: (f) => o(n)(f, h.column)
8219
8223
  }, [
8220
8224
  w("span", null, L(o(t)), 1)
8221
8225
  ], 40, so)
@@ -8240,35 +8244,35 @@ const qn = {
8240
8244
  },
8241
8245
  emits: ["resize"],
8242
8246
  setup(d, { emit: r }) {
8243
- let e = r, t = d, { width: l } = ie(t), s = S(!1), n = null, u = null, i = (g) => {
8244
- g.preventDefault(), s.value = !0, n = g, u = l.value, document.addEventListener("mousemove", c), document.addEventListener("mouseup", p);
8245
- }, c = (g) => {
8246
- let y = g.clientX - n.clientX, $ = u + y;
8247
- h($);
8248
- }, p = (g) => {
8247
+ let e = r, t = d, { width: l } = ie(t), s = S(!1), n = null, u = null, i = (f) => {
8248
+ f.preventDefault(), s.value = !0, n = f, u = l.value, document.addEventListener("mousemove", c), document.addEventListener("mouseup", p);
8249
+ }, c = (f) => {
8250
+ let y = f.clientX - n.clientX, A = u + y;
8251
+ h(A);
8252
+ }, p = (f) => {
8249
8253
  s.value = !1, n = null, u = null, document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", p);
8250
- }, h = (g) => {
8251
- e("resize", g);
8254
+ }, h = (f) => {
8255
+ e("resize", f);
8252
8256
  };
8253
- return (g, y) => (f(), _("div", ro, [
8254
- o(l) != null ? (f(), _("div", {
8257
+ return (f, y) => (g(), _("div", ro, [
8258
+ o(l) != null ? (g(), _("div", {
8255
8259
  key: 0,
8256
8260
  class: "resizer-left",
8257
8261
  style: we({ width: `${o(l)}px` })
8258
8262
  }, [
8259
- ae(g.$slots, "left")
8263
+ ae(f.$slots, "left")
8260
8264
  ], 4)) : Q("", !0),
8261
8265
  w("div", {
8262
8266
  class: "resizer-right",
8263
8267
  style: we({ width: `calc(100% - ${o(l) ?? 0}px)` })
8264
8268
  }, [
8265
- ae(g.$slots, "default")
8269
+ ae(f.$slots, "default")
8266
8270
  ], 4),
8267
- o(l) != null ? (f(), _("div", {
8271
+ o(l) != null ? (g(), _("div", {
8268
8272
  key: 1,
8269
8273
  class: ce(["resizer-handle", { dragging: o(s) }]),
8270
8274
  onMousedown: y[0] || (y[0] = //@ts-ignore
8271
- (...$) => o(i) && o(i)(...$)),
8275
+ (...A) => o(i) && o(i)(...A)),
8272
8276
  style: we({ left: `${o(l)}px` })
8273
8277
  }, null, 38)) : Q("", !0)
8274
8278
  ]));
@@ -8276,7 +8280,7 @@ const qn = {
8276
8280
  }), no = { class: "text-popover" }, oo = {
8277
8281
  key: 2,
8278
8282
  class: "control-operation"
8279
- }, Wi = /* @__PURE__ */ X({
8283
+ }, qi = /* @__PURE__ */ X({
8280
8284
  __name: "Index",
8281
8285
  props: {
8282
8286
  schema: {},
@@ -8288,10 +8292,10 @@ const qn = {
8288
8292
  },
8289
8293
  emits: ["submit", "change"],
8290
8294
  setup(d, { emit: r }) {
8291
- let e = $e(() => import("./Index-CfluiuuF.js")), t = r, l = d, { schema: s, table: n, field: u, set: i, row: c, config: p } = ie(l), h = S(), g = () => {
8295
+ let e = Ae(() => import("./Index-CsxTOaw6.js")), t = r, l = d, { schema: s, table: n, field: u, set: i, row: c, config: p } = ie(l), h = S(), f = () => {
8292
8296
  }, y = (M) => {
8293
8297
  t("submit", M);
8294
- }, $ = (M) => {
8298
+ }, A = (M) => {
8295
8299
  t("change", M);
8296
8300
  }, k = he(() => {
8297
8301
  var x, P;
@@ -8307,9 +8311,9 @@ const qn = {
8307
8311
  }), j = he(() => `control-${m.string.getDashName(k.value)}`);
8308
8312
  return (M, N) => {
8309
8313
  const x = J("el-popover"), P = J("el-link");
8310
- return f(), _(ue, null, [
8311
- o(u).control.textualize ? (f(), _(ue, { key: 0 }, [
8312
- o(u).control.popover ? (f(), W(x, {
8314
+ return g(), _(ue, null, [
8315
+ o(u).control.textualize ? (g(), _(ue, { key: 0 }, [
8316
+ o(u).control.popover ? (g(), q(x, {
8313
8317
  key: 0,
8314
8318
  trigger: "hover",
8315
8319
  placement: "top",
@@ -8317,7 +8321,7 @@ const qn = {
8317
8321
  }, {
8318
8322
  reference: b(() => [
8319
8323
  w("div", no, [
8320
- A(o(e), {
8324
+ $(o(e), {
8321
8325
  ref_key: "controlRef",
8322
8326
  ref: h,
8323
8327
  schema: o(s),
@@ -8330,7 +8334,7 @@ const qn = {
8330
8334
  ])
8331
8335
  ]),
8332
8336
  default: b(() => [
8333
- A(o(e), {
8337
+ $(o(e), {
8334
8338
  ref_key: "controlRef",
8335
8339
  ref: h,
8336
8340
  schema: o(s),
@@ -8342,7 +8346,7 @@ const qn = {
8342
8346
  }, null, 8, ["schema", "table", "field", "set", "row", "config"])
8343
8347
  ]),
8344
8348
  _: 1
8345
- }, 8, ["width"])) : (f(), W(o(e), {
8349
+ }, 8, ["width"])) : (g(), q(o(e), {
8346
8350
  key: 1,
8347
8351
  ref_key: "controlRef",
8348
8352
  ref: h,
@@ -8353,7 +8357,7 @@ const qn = {
8353
8357
  row: o(c),
8354
8358
  config: o(p)
8355
8359
  }, null, 8, ["schema", "table", "field", "set", "row", "config"]))
8356
- ], 64)) : (f(), W(Ne(o(j)), {
8360
+ ], 64)) : (g(), q(Ne(o(j)), {
8357
8361
  key: 1,
8358
8362
  ref_key: "controlRef",
8359
8363
  ref: h,
@@ -8362,9 +8366,9 @@ const qn = {
8362
8366
  field: o(u),
8363
8367
  set: o(i),
8364
8368
  row: o(c),
8365
- onChange: o($),
8369
+ onChange: o(A),
8366
8370
  onSubmit: o(y),
8367
- onClear: o(g),
8371
+ onClear: o(f),
8368
8372
  modelValue: o(c)[o(u).name],
8369
8373
  "onUpdate:modelValue": N[0] || (N[0] = (H) => o(c)[o(u).name] = H)
8370
8374
  }, {
@@ -8373,8 +8377,8 @@ const qn = {
8373
8377
  ]),
8374
8378
  _: 1
8375
8379
  }, 40, ["schema", "table", "field", "set", "row", "onChange", "onSubmit", "onClear", "modelValue"])),
8376
- o(u).operation ? (f(), _("div", oo, [
8377
- A(P, {
8380
+ o(u).operation ? (g(), _("div", oo, [
8381
+ $(P, {
8378
8382
  type: "primary",
8379
8383
  underline: !1
8380
8384
  }, {
@@ -8416,29 +8420,29 @@ const qn = {
8416
8420
  h(k);
8417
8421
  }, h = (k) => {
8418
8422
  c.value.url = k, c.value.visible = !0;
8419
- }, g = () => {
8423
+ }, f = () => {
8420
8424
  let k;
8421
8425
  s.value ? k = i.value ? `/copy?id=${i.value}` : "/insert" : k = i.value ? `/update?id=${i.value}` : "/insert";
8422
8426
  let j = `/${l.value}${k}`;
8423
8427
  h(j);
8424
8428
  }, y = (k) => {
8425
8429
  c.value.type = k.module.type, c.value.name = k.module.name;
8426
- }, $ = async (k) => {
8430
+ }, A = async (k) => {
8427
8431
  c.value.visible = !1, e("succeed", k, c.value.name);
8428
8432
  };
8429
8433
  return (k, j) => {
8430
8434
  const M = J("el-dropdown-item"), N = J("el-dropdown-menu"), x = J("el-dropdown"), P = J("el-drawer");
8431
- return f(), _(ue, null, [
8432
- A(x, {
8435
+ return g(), _(ue, null, [
8436
+ $(x, {
8433
8437
  "split-button": "",
8434
8438
  size: o(n),
8435
8439
  onCommand: o(p),
8436
- onClick: o(g)
8440
+ onClick: o(f)
8437
8441
  }, {
8438
8442
  dropdown: b(() => [
8439
- A(N, null, {
8443
+ $(N, null, {
8440
8444
  default: b(() => [
8441
- o(i) ? (f(), W(M, {
8445
+ o(i) ? (g(), q(M, {
8442
8446
  key: 0,
8443
8447
  command: `/${o(l)}/detail?id=${o(i)}`
8444
8448
  }, {
@@ -8448,7 +8452,7 @@ const qn = {
8448
8452
  ])),
8449
8453
  _: 1
8450
8454
  }, 8, ["command"])) : Q("", !0),
8451
- o(i) && !o(s) ? (f(), W(M, {
8455
+ o(i) && !o(s) ? (g(), q(M, {
8452
8456
  key: 1,
8453
8457
  command: `/${o(l)}/copy?id=${o(i)}`
8454
8458
  }, {
@@ -8458,7 +8462,7 @@ const qn = {
8458
8462
  ])),
8459
8463
  _: 1
8460
8464
  }, 8, ["command"])) : Q("", !0),
8461
- o(i) && !o(s) ? (f(), W(M, {
8465
+ o(i) && !o(s) ? (g(), q(M, {
8462
8466
  key: 2,
8463
8467
  command: `/${o(l)}/delete?id=${o(i)}`
8464
8468
  }, {
@@ -8468,7 +8472,7 @@ const qn = {
8468
8472
  ])),
8469
8473
  _: 1
8470
8474
  }, 8, ["command"])) : Q("", !0),
8471
- A(M, {
8475
+ $(M, {
8472
8476
  command: `/${o(l)}/paging`
8473
8477
  }, {
8474
8478
  default: b(() => j[4] || (j[4] = [
@@ -8483,32 +8487,32 @@ const qn = {
8483
8487
  })
8484
8488
  ]),
8485
8489
  default: b(() => [
8486
- o(s) ? (f(), _(ue, { key: 0 }, [
8487
- o(i) ? (f(), _("i", ao)) : (f(), _("i", io))
8488
- ], 64)) : (f(), _(ue, { key: 1 }, [
8489
- o(i) ? (f(), _("i", uo)) : (f(), _("i", co))
8490
+ o(s) ? (g(), _(ue, { key: 0 }, [
8491
+ o(i) ? (g(), _("i", ao)) : (g(), _("i", io))
8492
+ ], 64)) : (g(), _(ue, { key: 1 }, [
8493
+ o(i) ? (g(), _("i", uo)) : (g(), _("i", co))
8490
8494
  ], 64))
8491
8495
  ]),
8492
8496
  _: 3
8493
8497
  }, 8, ["size", "onCommand", "onClick"]),
8494
- (f(), W(ft, {
8498
+ (g(), q(ft, {
8495
8499
  to: o(u),
8496
8500
  disabled: !o(u)
8497
8501
  }, [
8498
- A(P, {
8502
+ $(P, {
8499
8503
  title: o(E).module(o(c).type, o(c).name),
8500
8504
  size: "60%",
8501
8505
  modelValue: o(c).visible,
8502
8506
  "onUpdate:modelValue": j[0] || (j[0] = (H) => o(c).visible = H)
8503
8507
  }, {
8504
8508
  default: b(() => [
8505
- o(c).url ? (f(), W(o(Oe), {
8509
+ o(c).url ? (g(), q(o(Oe), {
8506
8510
  key: 0,
8507
8511
  ref: "pageRef",
8508
8512
  url: o(c).url,
8509
8513
  onLoaded: o(y),
8510
- onSucceed: o($),
8511
- onClose: o($)
8514
+ onSucceed: o(A),
8515
+ onClose: o(A)
8512
8516
  }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])) : Q("", !0)
8513
8517
  ]),
8514
8518
  _: 1
@@ -8533,12 +8537,12 @@ const qn = {
8533
8537
  }, h = (k) => {
8534
8538
  let j;
8535
8539
  i.value.id != null && (j = c.value.find((M) => M.value == i.value.id)), i.value.name = j == null ? void 0 : j.text, t("change", k, j);
8536
- }, g = (k) => {
8540
+ }, f = (k) => {
8537
8541
  t("loaded", k);
8538
8542
  };
8539
8543
  return r({ loadAsync: async (k, j) => {
8540
8544
  let M = await re.query.loadDriversAsync(k, j, u.value);
8541
- l.drivers == null && (c.value = M), g(M);
8545
+ l.drivers == null && (c.value = M), f(M);
8542
8546
  }, updateForm: () => {
8543
8547
  let k = c.value.find((j) => j.text == i.value.name);
8544
8548
  if (k == null) {
@@ -8548,12 +8552,12 @@ const qn = {
8548
8552
  i.value.id = k.value;
8549
8553
  } }), (k, j) => {
8550
8554
  const M = J("el-option"), N = J("el-select"), x = J("el-form-item");
8551
- return f(), W(x, {
8555
+ return g(), q(x, {
8552
8556
  class: ce(["ha-kind name", { editable: o(n) }]),
8553
8557
  label: o(s) ? o(E).enum("DriverKind", o(u)) : null
8554
8558
  }, {
8555
8559
  default: b(() => [
8556
- A(N, {
8560
+ $(N, {
8557
8561
  clearable: "",
8558
8562
  filterable: "",
8559
8563
  placeholder: `请选择${o(E).enum("DriverKind", o(u))}`,
@@ -8562,7 +8566,7 @@ const qn = {
8562
8566
  "onUpdate:modelValue": j[0] || (j[0] = (P) => o(i).id = P)
8563
8567
  }, {
8564
8568
  default: b(() => [
8565
- (f(!0), _(ue, null, pe(o(c), (P) => (f(), W(M, {
8569
+ (g(!0), _(ue, null, pe(o(c), (P) => (g(), q(M, {
8566
8570
  value: P.value,
8567
8571
  label: `${P.text}(${P.suffix})`,
8568
8572
  key: P.value
@@ -8578,7 +8582,7 @@ const qn = {
8578
8582
  ]),
8579
8583
  _: 3
8580
8584
  }, 8, ["placeholder", "onChange", "modelValue"]),
8581
- o(n) ? (f(), W(rl, {
8585
+ o(n) ? (g(), q(rl, {
8582
8586
  key: 0,
8583
8587
  module: "ctl_driver",
8584
8588
  onSucceed: o(p),
@@ -8603,20 +8607,20 @@ const qn = {
8603
8607
  },
8604
8608
  emits: ["loaded", "change", "succeed"],
8605
8609
  setup(d, { expose: r, emit: e }) {
8606
- let t = e, l = d, { label: s, inline: n, width: u, editable: i, kind: c, form: p } = ie(l), h = S(), g = S(), y = S(), $ = S([]), k = async (O) => {
8610
+ let t = e, l = d, { label: s, inline: n, width: u, editable: i, kind: c, form: p } = ie(l), h = S(), f = S(), y = S(), A = S([]), k = async (O) => {
8607
8611
  var se;
8608
- await le(O, p.value.env), (se = g.value) == null || se.updateForm(), I();
8612
+ await le(O, p.value.env), (se = f.value) == null || se.updateForm(), I();
8609
8613
  let Y = re.query.apps.find((D) => D.value == O);
8610
8614
  t("change", "app", O, Y);
8611
8615
  }, j = async (O) => {
8612
8616
  var se;
8613
- await le(p.value.app, O), (se = g.value) == null || se.updateForm(), I();
8617
+ await le(p.value.app, O), (se = f.value) == null || se.updateForm(), I();
8614
8618
  let Y = re.query.envs.find((D) => D.value == O);
8615
8619
  t("change", "env", O, Y);
8616
8620
  }, M = async (O, Y) => {
8617
8621
  t("change", "id", O, Y);
8618
8622
  }, N = (O) => {
8619
- $.value = O;
8623
+ A.value = O;
8620
8624
  }, x = () => {
8621
8625
  te(!0);
8622
8626
  }, P = async () => {
@@ -8624,15 +8628,15 @@ const qn = {
8624
8628
  }, H = (O, Y) => {
8625
8629
  re.module.triggerKeyboard(y.value, O, Y);
8626
8630
  }, le = async (O, Y) => {
8627
- g.value != null && await g.value.loadAsync(O, Y);
8631
+ f.value != null && await f.value.loadAsync(O, Y);
8628
8632
  }, te = async (O = !1) => {
8629
8633
  await Promise.all([re.query.loadAppsAsync(O), re.query.loadEnvsAsync(), le(p.value.app, p.value.env)]), I();
8630
8634
  }, I = () => {
8631
- t("loaded", re.query.apps, re.query.envs, $.value);
8635
+ t("loaded", re.query.apps, re.query.envs, A.value);
8632
8636
  }, Z = he(() => m.dom.getClass(l.class, i.value ? "editable" : null, n.value ? "inline" : null));
8633
8637
  return r({ onKeyboard: H, onRefresh: x, loadAsync: te }), (O, Y) => {
8634
- const se = J("el-option"), D = J("el-select"), U = J("el-form-item"), q = J("el-form");
8635
- return f(), W(q, {
8638
+ const se = J("el-option"), D = J("el-select"), U = J("el-form-item"), W = J("el-form");
8639
+ return g(), q(W, {
8636
8640
  ref_key: "driverRef",
8637
8641
  ref: h,
8638
8642
  class: ce(["ha-driver", o(Z)]),
@@ -8640,12 +8644,12 @@ const qn = {
8640
8644
  "label-width": o(n) ? null : o(u)
8641
8645
  }, {
8642
8646
  default: b(() => [
8643
- A(U, {
8647
+ $(U, {
8644
8648
  class: "app",
8645
8649
  label: o(s) ? "应用" : null
8646
8650
  }, {
8647
8651
  default: b(() => [
8648
- A(D, {
8652
+ $(D, {
8649
8653
  filterable: "",
8650
8654
  clearable: "",
8651
8655
  placeholder: "请选择应用",
@@ -8654,7 +8658,7 @@ const qn = {
8654
8658
  "onUpdate:modelValue": Y[0] || (Y[0] = (K) => o(p).app = K)
8655
8659
  }, {
8656
8660
  default: b(() => [
8657
- (f(!0), _(ue, null, pe(o(re).query.apps, (K) => (f(), W(se, {
8661
+ (g(!0), _(ue, null, pe(o(re).query.apps, (K) => (g(), q(se, {
8658
8662
  label: `${K.text}(${K.suffix})`,
8659
8663
  value: K.value,
8660
8664
  key: K.value
@@ -8668,7 +8672,7 @@ const qn = {
8668
8672
  ]),
8669
8673
  _: 1
8670
8674
  }, 8, ["onChange", "modelValue"]),
8671
- o(i) ? (f(), W(rl, {
8675
+ o(i) ? (g(), q(rl, {
8672
8676
  key: 0,
8673
8677
  module: "ctl_app",
8674
8678
  onSucceed: o(P),
@@ -8678,12 +8682,12 @@ const qn = {
8678
8682
  ]),
8679
8683
  _: 1
8680
8684
  }, 8, ["label"]),
8681
- A(U, {
8685
+ $(U, {
8682
8686
  class: "env",
8683
8687
  label: o(s) ? "环境" : null
8684
8688
  }, {
8685
8689
  default: b(() => [
8686
- A(D, {
8690
+ $(D, {
8687
8691
  clearable: "",
8688
8692
  filterable: "",
8689
8693
  placeholder: "请选择环境",
@@ -8692,7 +8696,7 @@ const qn = {
8692
8696
  "onUpdate:modelValue": Y[2] || (Y[2] = (K) => o(p).env = K)
8693
8697
  }, {
8694
8698
  default: b(() => [
8695
- (f(!0), _(ue, null, pe(o(re).query.envs, (K) => (f(), W(se, {
8699
+ (g(!0), _(ue, null, pe(o(re).query.envs, (K) => (g(), q(se, {
8696
8700
  value: K.value,
8697
8701
  label: `${K.text}(${K.suffix})`,
8698
8702
  key: K.value
@@ -8709,14 +8713,14 @@ const qn = {
8709
8713
  ]),
8710
8714
  _: 1
8711
8715
  }, 8, ["label"]),
8712
- o(c) ? (f(), W(ho, {
8716
+ o(c) ? (g(), q(ho, {
8713
8717
  key: 0,
8714
8718
  ref_key: "kindRef",
8715
- ref: g,
8719
+ ref: f,
8716
8720
  label: o(s),
8717
8721
  editable: o(i),
8718
8722
  kind: o(c),
8719
- drivers: o($),
8723
+ drivers: o(A),
8720
8724
  form: o(p),
8721
8725
  onChange: o(M),
8722
8726
  onLoaded: o(N),
@@ -8737,7 +8741,7 @@ const qn = {
8737
8741
  }, So = {
8738
8742
  key: 1,
8739
8743
  class: "panel-footer"
8740
- }, qi = /* @__PURE__ */ X({
8744
+ }, Wi = /* @__PURE__ */ X({
8741
8745
  __name: "Panel",
8742
8746
  props: {
8743
8747
  title: { type: String },
@@ -8749,7 +8753,7 @@ const qn = {
8749
8753
  };
8750
8754
  return s(), gt(() => {
8751
8755
  s();
8752
- }), (n, u) => (f(), _("div", {
8756
+ }), (n, u) => (g(), _("div", {
8753
8757
  class: ce(["ha-panel", { "panel-dark": d.dark }])
8754
8758
  }, [
8755
8759
  w("div", wo, [
@@ -8762,23 +8766,23 @@ const qn = {
8762
8766
  ae(n.$slots, "operation")
8763
8767
  ])
8764
8768
  ]),
8765
- o(e) ? (f(), _("div", xo, [
8766
- o(t) ? (f(), _("div", Co, [
8769
+ o(e) ? (g(), _("div", xo, [
8770
+ o(t) ? (g(), _("div", Co, [
8767
8771
  ae(n.$slots, "default")
8768
8772
  ])) : Q("", !0),
8769
- o(l) ? (f(), _("div", So, [
8773
+ o(l) ? (g(), _("div", So, [
8770
8774
  ae(n.$slots, "panel-footer")
8771
8775
  ])) : Q("", !0)
8772
8776
  ])) : Q("", !0)
8773
8777
  ], 2));
8774
8778
  }
8775
- }), $o = {}, Ao = { class: "ha-group" };
8779
+ }), Ao = {}, $o = { class: "ha-group" };
8776
8780
  function To(d, r) {
8777
- return f(), _("div", Ao, [
8781
+ return g(), _("div", $o, [
8778
8782
  ae(d.$slots, "default")
8779
8783
  ]);
8780
8784
  }
8781
- const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-left" }, Eo = { class: "operation-right" }, Yi = /* @__PURE__ */ X({
8785
+ const Ki = /* @__PURE__ */ je(Ao, [["render", To]]), Ro = { class: "operation-left" }, Eo = { class: "operation-right" }, Yi = /* @__PURE__ */ X({
8782
8786
  __name: "Operation",
8783
8787
  props: {
8784
8788
  padding: {}
@@ -8787,7 +8791,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8787
8791
  let e = d, { padding: t } = ie(e), l = S();
8788
8792
  return gt(() => {
8789
8793
  }), ye(() => {
8790
- }), r({ ref: l }), (s, n) => (f(), _("div", {
8794
+ }), r({ ref: l }), (s, n) => (g(), _("div", {
8791
8795
  ref_key: "operationRef",
8792
8796
  ref: l,
8793
8797
  class: "ha-operation",
@@ -8816,7 +8820,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8816
8820
  }, c = () => {
8817
8821
  e("submit");
8818
8822
  };
8819
- return (p, h) => (f(), W(Ne(`search-${o(n).search.control.toLowerCase()}`), {
8823
+ return (p, h) => (g(), q(Ne(`search-${o(n).search.control.toLowerCase()}`), {
8820
8824
  schema: o(l),
8821
8825
  table: o(s),
8822
8826
  field: o(n),
@@ -8824,7 +8828,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8824
8828
  onChange: o(i),
8825
8829
  onSubmit: o(c),
8826
8830
  modelValue: o(u)[o(s).name][o(n).name],
8827
- "onUpdate:modelValue": h[0] || (h[0] = (g) => o(u)[o(s).name][o(n).name] = g)
8831
+ "onUpdate:modelValue": h[0] || (h[0] = (f) => o(u)[o(s).name][o(n).name] = f)
8828
8832
  }, {
8829
8833
  default: b(() => [
8830
8834
  w("div", Uo, L(o(E).t("paging.not_implemented_search_control", o(n).search.control)), 1)
@@ -8846,29 +8850,29 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8846
8850
  setup(d) {
8847
8851
  let r = S(!1), e = S("all"), t = S(1), l = S(10), s = () => {
8848
8852
  t.value = 1;
8849
- }, n = (g) => {
8850
- t.value = g;
8851
- }, u = (g) => {
8852
- r.value = g;
8853
- }, i = async (g) => {
8854
- V.log.remove(g);
8853
+ }, n = (f) => {
8854
+ t.value = f;
8855
+ }, u = (f) => {
8856
+ r.value = f;
8857
+ }, i = async (f) => {
8858
+ V.log.remove(f);
8855
8859
  };
8856
8860
  he(() => Math.ceil(h.value.length / l.value));
8857
8861
  let c = he(() => {
8858
- let g = (t.value - 1) * l.value, y = t.value * l.value;
8859
- return h.value.filter((k, j) => j >= g && j < y);
8860
- }), p = he(() => V.log.logs.filter((g) => g.code != "Ok")), h = he(() => e.value == "all" ? V.log.logs : e.value == "success" ? V.log.logs.filter((g) => g.code == "Ok") : V.log.logs.filter((g) => g.code != "Ok"));
8861
- return (g, y) => {
8862
- const $ = J("el-radio"), k = J("el-radio-group"), j = J("el-form-item"), M = J("el-form"), N = J("el-scrollbar"), x = J("el-pagination"), P = J("el-drawer");
8863
- return f(), _(ue, null, [
8862
+ let f = (t.value - 1) * l.value, y = t.value * l.value;
8863
+ return h.value.filter((k, j) => j >= f && j < y);
8864
+ }), p = he(() => V.log.logs.filter((f) => f.code != "Ok")), h = he(() => e.value == "all" ? V.log.logs : e.value == "success" ? V.log.logs.filter((f) => f.code == "Ok") : V.log.logs.filter((f) => f.code != "Ok"));
8865
+ return (f, y) => {
8866
+ const A = J("el-radio"), k = J("el-radio-group"), j = J("el-form-item"), M = J("el-form"), N = J("el-scrollbar"), x = J("el-pagination"), P = J("el-drawer");
8867
+ return g(), _(ue, null, [
8864
8868
  w("div", {
8865
8869
  class: "header-btn",
8866
8870
  onClick: y[0] || (y[0] = (H) => _e(r) ? r.value = !0 : r = !0)
8867
8871
  }, [
8868
8872
  y[5] || (y[5] = w("i", { class: "far fa-bell" }, null, -1)),
8869
- o(p).length > 0 ? (f(), _("div", jo, L(o(p).length), 1)) : Q("", !0)
8873
+ o(p).length > 0 ? (g(), _("div", jo, L(o(p).length), 1)) : Q("", !0)
8870
8874
  ]),
8871
- A(P, {
8875
+ $(P, {
8872
8876
  class: "logs",
8873
8877
  size: "40%",
8874
8878
  "append-to-body": "",
@@ -8879,29 +8883,29 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8879
8883
  "onUpdate:modelValue": y[4] || (y[4] = (H) => _e(r) ? r.value = H : r = H)
8880
8884
  }, {
8881
8885
  default: b(() => [
8882
- A(M, null, {
8886
+ $(M, null, {
8883
8887
  default: b(() => [
8884
- A(j, null, {
8888
+ $(j, null, {
8885
8889
  default: b(() => [
8886
- A(k, {
8890
+ $(k, {
8887
8891
  onChange: o(s),
8888
8892
  modelValue: o(e),
8889
8893
  "onUpdate:modelValue": y[1] || (y[1] = (H) => _e(e) ? e.value = H : e = H)
8890
8894
  }, {
8891
8895
  default: b(() => [
8892
- A($, { value: "all" }, {
8896
+ $(A, { value: "all" }, {
8893
8897
  default: b(() => [
8894
8898
  G(L(o(E).t("common.all")), 1)
8895
8899
  ]),
8896
8900
  _: 1
8897
8901
  }),
8898
- A($, { value: "success" }, {
8902
+ $(A, { value: "success" }, {
8899
8903
  default: b(() => [
8900
8904
  G(L(o(E).t("common.success")), 1)
8901
8905
  ]),
8902
8906
  _: 1
8903
8907
  }),
8904
- A($, { value: "error" }, {
8908
+ $(A, { value: "error" }, {
8905
8909
  default: b(() => [
8906
8910
  G(L(o(E).t("common.error")), 1)
8907
8911
  ]),
@@ -8916,18 +8920,18 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8916
8920
  ]),
8917
8921
  _: 1
8918
8922
  }),
8919
- o(h).length > 0 ? (f(), W(N, {
8923
+ o(h).length > 0 ? (g(), q(N, {
8920
8924
  key: 0,
8921
8925
  style: { height: "calc(100% - 95px)" }
8922
8926
  }, {
8923
8927
  default: b(() => [
8924
- (f(!0), _(ue, null, pe(o(c), (H, le) => (f(), _("div", {
8928
+ (g(!0), _(ue, null, pe(o(c), (H, le) => (g(), _("div", {
8925
8929
  class: ce(["log", H.code == "Ok" ? "success" : "error"]),
8926
8930
  key: le
8927
8931
  }, [
8928
8932
  w("div", Do, [
8929
8933
  w("div", Mo, L(H.message), 1),
8930
- H.code != "Ok" ? (f(), _("div", Vo, L(H.stack), 1)) : Q("", !0),
8934
+ H.code != "Ok" ? (g(), _("div", Vo, L(H.stack), 1)) : Q("", !0),
8931
8935
  w("div", Lo, L(o(E).t("common.time")) + ":" + L(H.time) + " " + L(o(E).t("common.elapsed")) + ":" + L(H.elapsed) + "ms ", 1)
8932
8936
  ]),
8933
8937
  w("div", {
@@ -8940,8 +8944,8 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8940
8944
  ]),
8941
8945
  _: 1
8942
8946
  })) : Q("", !0),
8943
- o(h).length == 0 ? (f(), _("div", Oo, L(o(E).t("common.no_data")), 1)) : Q("", !0),
8944
- A(x, {
8947
+ o(h).length == 0 ? (g(), _("div", Oo, L(o(E).t("common.no_data")), 1)) : Q("", !0),
8948
+ $(x, {
8945
8949
  size: "small",
8946
8950
  layout: "prev, pager, next, total",
8947
8951
  "page-size": o(l),
@@ -8968,8 +8972,8 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8968
8972
  t.value = !1;
8969
8973
  };
8970
8974
  return r({ show: n }), (c, p) => {
8971
- const h = J("el-form-item"), g = J("el-form"), y = J("el-tab-pane"), $ = J("el-radio-button"), k = J("el-radio-group"), j = J("el-tabs"), M = J("el-button"), N = J("el-dialog");
8972
- return f(), W(N, {
8975
+ const h = J("el-form-item"), f = J("el-form"), y = J("el-tab-pane"), A = J("el-radio-button"), k = J("el-radio-group"), j = J("el-tabs"), M = J("el-button"), N = J("el-dialog");
8976
+ return g(), q(N, {
8973
8977
  class: "setting",
8974
8978
  width: "750px",
8975
8979
  draggable: "",
@@ -8982,7 +8986,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8982
8986
  footer: b(() => [
8983
8987
  p[8] || (p[8] = w("div", null, null, -1)),
8984
8988
  w("div", zo, [
8985
- A(M, {
8989
+ $(M, {
8986
8990
  type: "primary",
8987
8991
  onClick: o(u)
8988
8992
  }, {
@@ -8991,7 +8995,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8991
8995
  ]),
8992
8996
  _: 1
8993
8997
  }, 8, ["onClick"]),
8994
- A(M, { onClick: o(i) }, {
8998
+ $(M, { onClick: o(i) }, {
8995
8999
  default: b(() => [
8996
9000
  G(L(o(E).t("common.cancel")), 1)
8997
9001
  ]),
@@ -9000,32 +9004,32 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9000
9004
  ])
9001
9005
  ]),
9002
9006
  default: b(() => [
9003
- A(j, {
9007
+ $(j, {
9004
9008
  "tab-position": "left",
9005
9009
  modelValue: o(s).function,
9006
9010
  "onUpdate:modelValue": p[6] || (p[6] = (x) => o(s).function = x)
9007
9011
  }, {
9008
9012
  default: b(() => [
9009
- A(y, {
9013
+ $(y, {
9010
9014
  name: "personal",
9011
9015
  label: o(E).t("common.personal")
9012
9016
  }, {
9013
9017
  default: b(() => [
9014
- A(g, { "label-width": 100 }, {
9018
+ $(f, { "label-width": 100 }, {
9015
9019
  default: b(() => [
9016
- A(h, { label: "用户ID:" }, {
9020
+ $(h, { label: "用户ID:" }, {
9017
9021
  default: b(() => [
9018
9022
  G(L(o(V).user.user.userId), 1)
9019
9023
  ]),
9020
9024
  _: 1
9021
9025
  }),
9022
- A(h, { label: "姓名:" }, {
9026
+ $(h, { label: "姓名:" }, {
9023
9027
  default: b(() => [
9024
9028
  G(L(o(V).user.user.truename), 1)
9025
9029
  ]),
9026
9030
  _: 1
9027
9031
  }),
9028
- A(h, { label: "调试权限:" }, {
9032
+ $(h, { label: "调试权限:" }, {
9029
9033
  default: b(() => [
9030
9034
  G(L(o(V).user.user.debugger), 1)
9031
9035
  ]),
@@ -9037,24 +9041,24 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9037
9041
  ]),
9038
9042
  _: 1
9039
9043
  }, 8, ["label"]),
9040
- A(y, {
9044
+ $(y, {
9041
9045
  name: "common",
9042
9046
  label: o(E).t("common.common")
9043
9047
  }, {
9044
9048
  default: b(() => [
9045
- A(g, null, {
9049
+ $(f, null, {
9046
9050
  default: b(() => [
9047
- o(V).setting.layouts.length > 0 ? (f(), W(h, {
9051
+ o(V).setting.layouts.length > 0 ? (g(), q(h, {
9048
9052
  key: 0,
9049
9053
  label: o(E).t("common.layout")
9050
9054
  }, {
9051
9055
  default: b(() => [
9052
- A(k, {
9056
+ $(k, {
9053
9057
  modelValue: o(s).layout,
9054
9058
  "onUpdate:modelValue": p[0] || (p[0] = (x) => o(s).layout = x)
9055
9059
  }, {
9056
9060
  default: b(() => [
9057
- (f(!0), _(ue, null, pe(o(V).setting.layouts, (x) => (f(), W($, {
9061
+ (g(!0), _(ue, null, pe(o(V).setting.layouts, (x) => (g(), q(A, {
9058
9062
  value: x.value
9059
9063
  }, {
9060
9064
  default: b(() => [
@@ -9068,17 +9072,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9068
9072
  ]),
9069
9073
  _: 1
9070
9074
  }, 8, ["label"])) : Q("", !0),
9071
- o(V).setting.themes.length > 0 ? (f(), W(h, {
9075
+ o(V).setting.themes.length > 0 ? (g(), q(h, {
9072
9076
  key: 1,
9073
9077
  label: o(E).t("common.theme")
9074
9078
  }, {
9075
9079
  default: b(() => [
9076
- A(k, {
9080
+ $(k, {
9077
9081
  modelValue: o(s).theme,
9078
9082
  "onUpdate:modelValue": p[1] || (p[1] = (x) => o(s).theme = x)
9079
9083
  }, {
9080
9084
  default: b(() => [
9081
- (f(!0), _(ue, null, pe(o(V).setting.themes, (x) => (f(), W($, {
9085
+ (g(!0), _(ue, null, pe(o(V).setting.themes, (x) => (g(), q(A, {
9082
9086
  value: x.value
9083
9087
  }, {
9084
9088
  default: b(() => [
@@ -9092,17 +9096,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9092
9096
  ]),
9093
9097
  _: 1
9094
9098
  }, 8, ["label"])) : Q("", !0),
9095
- o(V).setting.backgrounds.length > 0 ? (f(), W(h, {
9099
+ o(V).setting.backgrounds.length > 0 ? (g(), q(h, {
9096
9100
  key: 2,
9097
9101
  label: o(E).t("common.background")
9098
9102
  }, {
9099
9103
  default: b(() => [
9100
- A(k, {
9104
+ $(k, {
9101
9105
  modelValue: o(s).background,
9102
9106
  "onUpdate:modelValue": p[2] || (p[2] = (x) => o(s).background = x)
9103
9107
  }, {
9104
9108
  default: b(() => [
9105
- (f(!0), _(ue, null, pe(o(V).setting.backgrounds, (x) => (f(), W($, {
9109
+ (g(!0), _(ue, null, pe(o(V).setting.backgrounds, (x) => (g(), q(A, {
9106
9110
  value: x.value
9107
9111
  }, {
9108
9112
  default: b(() => [
@@ -9116,17 +9120,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9116
9120
  ]),
9117
9121
  _: 1
9118
9122
  }, 8, ["label"])) : Q("", !0),
9119
- o(V).setting.locales.length > 0 ? (f(), W(h, {
9123
+ o(V).setting.locales.length > 0 ? (g(), q(h, {
9120
9124
  key: 3,
9121
9125
  label: o(E).t("common.language")
9122
9126
  }, {
9123
9127
  default: b(() => [
9124
- A(k, {
9128
+ $(k, {
9125
9129
  modelValue: o(s).language,
9126
9130
  "onUpdate:modelValue": p[3] || (p[3] = (x) => o(s).language = x)
9127
9131
  }, {
9128
9132
  default: b(() => [
9129
- (f(!0), _(ue, null, pe(o(V).setting.locales, (x) => (f(), W($, {
9133
+ (g(!0), _(ue, null, pe(o(V).setting.locales, (x) => (g(), q(A, {
9130
9134
  value: x.value
9131
9135
  }, {
9132
9136
  default: b(() => [
@@ -9140,17 +9144,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9140
9144
  ]),
9141
9145
  _: 1
9142
9146
  }, 8, ["label"])) : Q("", !0),
9143
- o(V).setting.fonts.length > 0 ? (f(), W(h, {
9147
+ o(V).setting.fonts.length > 0 ? (g(), q(h, {
9144
9148
  key: 4,
9145
9149
  label: o(E).t("common.font")
9146
9150
  }, {
9147
9151
  default: b(() => [
9148
- A(k, {
9152
+ $(k, {
9149
9153
  modelValue: o(s).font,
9150
9154
  "onUpdate:modelValue": p[4] || (p[4] = (x) => o(s).font = x)
9151
9155
  }, {
9152
9156
  default: b(() => [
9153
- (f(!0), _(ue, null, pe(o(V).setting.fonts, (x) => (f(), W($, {
9157
+ (g(!0), _(ue, null, pe(o(V).setting.fonts, (x) => (g(), q(A, {
9154
9158
  value: x.value
9155
9159
  }, {
9156
9160
  default: b(() => [
@@ -9164,17 +9168,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9164
9168
  ]),
9165
9169
  _: 1
9166
9170
  }, 8, ["label"])) : Q("", !0),
9167
- o(V).setting.cdns.length > 0 ? (f(), W(h, {
9171
+ o(V).setting.cdns.length > 0 ? (g(), q(h, {
9168
9172
  key: 5,
9169
9173
  label: o(E).t("common.cdn")
9170
9174
  }, {
9171
9175
  default: b(() => [
9172
- A(k, {
9176
+ $(k, {
9173
9177
  modelValue: o(s).cdn,
9174
9178
  "onUpdate:modelValue": p[5] || (p[5] = (x) => o(s).cdn = x)
9175
9179
  }, {
9176
9180
  default: b(() => [
9177
- (f(!0), _(ue, null, pe(o(V).setting.cdns, (x) => (f(), W($, {
9181
+ (g(!0), _(ue, null, pe(o(V).setting.cdns, (x) => (g(), q(A, {
9178
9182
  value: x.value
9179
9183
  }, {
9180
9184
  default: b(() => [
@@ -9194,7 +9198,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9194
9198
  ]),
9195
9199
  _: 1
9196
9200
  }, 8, ["label"]),
9197
- A(y, {
9201
+ $(y, {
9198
9202
  name: "about",
9199
9203
  label: o(E).t("common.about")
9200
9204
  }, {
@@ -9224,7 +9228,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9224
9228
  let e = r, t = d, { name: l, url: s } = ie(t), n = Mt("model"), u = (c, p, h) => {
9225
9229
  c.preventDefault(), h || (n.value = p), e("click", c, p, h);
9226
9230
  }, i = he(() => m.url.getAnchor(s.value, { m: l.value }));
9227
- return (c, p) => (f(), _("a", {
9231
+ return (c, p) => (g(), _("a", {
9228
9232
  class: ce(["ha-window-tab", { current: o(n) == o(l) }]),
9229
9233
  href: o(i).href,
9230
9234
  target: o(i).target,
@@ -9247,16 +9251,16 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9247
9251
  let r = Te(d, "modelValue");
9248
9252
  return Vt("model", r), (e, t) => ae(e.$slots, "default");
9249
9253
  }
9250
- }), Wo = {}, qo = { class: "ha-miss-component" }, Ko = { class: "miss-content" };
9254
+ }), qo = {}, Wo = { class: "ha-miss-component" }, Ko = { class: "miss-content" };
9251
9255
  function Yo(d, r) {
9252
- return f(), _("div", qo, [
9256
+ return g(), _("div", Wo, [
9253
9257
  r[0] || (r[0] = w("div", { class: "miss-title" }, "404", -1)),
9254
9258
  w("div", Ko, [
9255
9259
  ae(d.$slots, "default")
9256
9260
  ])
9257
9261
  ]);
9258
9262
  }
9259
- const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo = { class: "menu-text" }, Qo = {
9263
+ const Xi = /* @__PURE__ */ je(qo, [["render", Yo]]), Jo = ["href", "target"], Xo = { class: "menu-text" }, Qo = {
9260
9264
  key: 0,
9261
9265
  class: "arrow fa fa-chevron-down"
9262
9266
  }, Go = {
@@ -9275,7 +9279,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9275
9279
  },
9276
9280
  emits: ["click"],
9277
9281
  setup(d, { expose: r, emit: e }) {
9278
- let t = e, l = d, { menu: s, level: n, direction: u, opts: i, activeIds: c, modelValue: p } = ie(l), h = S(), g = S(), y = S(), $ = S(), k = S(!1), j = F.task.createMemory(), M = (O) => {
9282
+ let t = e, l = d, { menu: s, level: n, direction: u, opts: i, activeIds: c, modelValue: p } = ie(l), h = S(), f = S(), y = S(), A = S(), k = S(!1), j = F.task.createMemory(), M = (O) => {
9279
9283
  k.value = !1, t("click", O);
9280
9284
  }, N = (O) => {
9281
9285
  k.value = !1, t("click", O);
@@ -9283,7 +9287,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9283
9287
  P(h.value);
9284
9288
  }, P = (O) => {
9285
9289
  let Y = m.dom.getViewportStyle(O, ".menu-title", ".el-scrollbar__view", window.document.documentElement, te.value);
9286
- $.value = Y, y.value && y.value.update();
9290
+ A.value = Y, y.value && y.value.update();
9287
9291
  }, H = (O) => {
9288
9292
  P(O.currentTarget), k.value = !0, j.dispose();
9289
9293
  }, le = (O) => {
@@ -9296,7 +9300,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9296
9300
  }), I = he(() => c.value.includes(s.value[i.value.id])), Z = he(() => m.url.getAnchor(s.value.url, { m: s.value[i.value.id] }));
9297
9301
  return r({ onResize: x }), (O, Y) => {
9298
9302
  const se = J("menu-item", !0), D = J("el-scrollbar");
9299
- return f(), _("div", {
9303
+ return g(), _("div", {
9300
9304
  ref_key: "menuRef",
9301
9305
  ref: h,
9302
9306
  class: ce(["ha-menu", { active: o(I), current: o(s)[o(i).id] == o(p), horizontal: o(n) == 1 && o(u) == "horizontal", vertical: o(n) > 1 || o(u) == "vertical", hovered: o(k) }]),
@@ -9316,31 +9320,31 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9316
9320
  class: ce(["icon", o(s)[o(i).icon]])
9317
9321
  }, null, 2),
9318
9322
  w("span", Xo, L(o(E).menu(o(s)[o(i).id])), 1),
9319
- o(s)[o(i).children].length > 0 ? (f(), _(ue, { key: 0 }, [
9320
- o(te) == "bottom" ? (f(), _("i", Qo)) : (f(), _("i", Go))
9323
+ o(s)[o(i).children].length > 0 ? (g(), _(ue, { key: 0 }, [
9324
+ o(te) == "bottom" ? (g(), _("i", Qo)) : (g(), _("i", Go))
9321
9325
  ], 64)) : Q("", !0)
9322
9326
  ], 12, Jo),
9323
- o(s)[o(i).children].length > 0 ? (f(), _("div", {
9327
+ o(s)[o(i).children].length > 0 ? (g(), _("div", {
9324
9328
  key: 0,
9325
9329
  class: "menu-content",
9326
- style: we(o($))
9330
+ style: we(o(A))
9327
9331
  }, [
9328
- A(D, {
9332
+ $(D, {
9329
9333
  ref_key: "scrollerRef",
9330
9334
  ref: y
9331
9335
  }, {
9332
9336
  default: b(() => [
9333
- (f(!0), _(ue, null, pe(o(s)[o(i).children], (U) => (f(), W(se, {
9337
+ (g(!0), _(ue, null, pe(o(s)[o(i).children], (U) => (g(), q(se, {
9334
9338
  ref_for: !0,
9335
9339
  ref_key: "menusRef",
9336
- ref: g,
9340
+ ref: f,
9337
9341
  menu: U,
9338
9342
  level: o(n) + 1,
9339
9343
  opts: o(i),
9340
9344
  "active-ids": o(c),
9341
9345
  onClick: o(N),
9342
9346
  modelValue: o(p),
9343
- "onUpdate:modelValue": Y[1] || (Y[1] = (q) => _e(p) ? p.value = q : p = q),
9347
+ "onUpdate:modelValue": Y[1] || (Y[1] = (W) => _e(p) ? p.value = W : p = W),
9344
9348
  key: U[o(i).id]
9345
9349
  }, null, 8, ["menu", "level", "opts", "active-ids", "onClick", "modelValue"]))), 128))
9346
9350
  ]),
@@ -9363,11 +9367,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9363
9367
  },
9364
9368
  emits: ["click", "update:modelValue"],
9365
9369
  setup(d, { expose: r, emit: e }) {
9366
- let t = e, l = d, { menus: s, direction: n, options: u, modelValue: i } = ie(l), c = S(), p = ($) => {
9367
- let k = $[g.value.id], j = m.url.getUrl($[g.value.url], { m: k });
9370
+ let t = e, l = d, { menus: s, direction: n, options: u, modelValue: i } = ie(l), c = S(), p = (A) => {
9371
+ let k = A[f.value.id], j = m.url.getUrl(A[f.value.url], { m: k });
9368
9372
  t("update:modelValue", k), t("click", j);
9369
- }, h = ($) => {
9370
- }, g = he(() => {
9373
+ }, h = (A) => {
9374
+ }, f = he(() => {
9371
9375
  var k, j, M, N, x;
9372
9376
  return {
9373
9377
  id: ((k = u.value) == null ? void 0 : k.id) || "id",
@@ -9376,27 +9380,27 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9376
9380
  icon: ((N = u.value) == null ? void 0 : N.icon) || "icon",
9377
9381
  children: ((x = u.value) == null ? void 0 : x.children) || "children"
9378
9382
  };
9379
- }), y = he(() => m.tree.getParentsById(i.value, g.value.id, s.value, g.value.children, !0).map((j) => j[g.value.id]));
9380
- return r({ onResize: h }), ($, k) => {
9383
+ }), y = he(() => m.tree.getParentsById(i.value, f.value.id, s.value, f.value.children, !0).map((j) => j[f.value.id]));
9384
+ return r({ onResize: h }), (A, k) => {
9381
9385
  const j = J("el-scrollbar");
9382
- return f(), W(j, null, {
9386
+ return g(), q(j, null, {
9383
9387
  default: b(() => [
9384
9388
  w("div", {
9385
9389
  class: ce(["ha-menus", o(n)])
9386
9390
  }, [
9387
- (f(!0), _(ue, null, pe(o(s), (M) => (f(), W(Zo, {
9391
+ (g(!0), _(ue, null, pe(o(s), (M) => (g(), q(Zo, {
9388
9392
  ref_for: !0,
9389
9393
  ref_key: "menusRef",
9390
9394
  ref: c,
9391
9395
  menu: M,
9392
9396
  direction: o(n),
9393
9397
  level: 1,
9394
- opts: o(g),
9398
+ opts: o(f),
9395
9399
  "active-ids": o(y),
9396
9400
  onClick: o(p),
9397
9401
  modelValue: o(i),
9398
9402
  "onUpdate:modelValue": k[0] || (k[0] = (N) => _e(i) ? i.value = N : i = N),
9399
- key: M[o(g).id]
9403
+ key: M[o(f).id]
9400
9404
  }, null, 8, ["menu", "direction", "opts", "active-ids", "onClick", "modelValue"]))), 128))
9401
9405
  ], 2)
9402
9406
  ]),
@@ -9413,17 +9417,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9413
9417
  },
9414
9418
  emits: ["click"],
9415
9419
  setup(d, { emit: r }) {
9416
- let e = r, t = d, { name: l, url: s, title: n } = ie(t), u = Mt("model"), i = (p, h, g) => {
9417
- p.preventDefault(), g || (u.value = h), e("click", p, h, g);
9420
+ let e = r, t = d, { name: l, url: s, title: n } = ie(t), u = Mt("model"), i = (p, h, f) => {
9421
+ p.preventDefault(), f || (u.value = h), e("click", p, h, f);
9418
9422
  }, c = he(() => m.url.getAnchor(s.value, { m: l.value }));
9419
- return (p, h) => (f(), _("a", {
9423
+ return (p, h) => (g(), _("a", {
9420
9424
  class: ce(["ha-window-tab", { current: o(u) == o(l) }]),
9421
9425
  href: o(c).href,
9422
9426
  target: o(c).target,
9423
9427
  title: o(n),
9424
9428
  onClick: [
9425
- h[0] || (h[0] = Re((g) => o(i)(g, o(l), !1), ["exact"])),
9426
- h[1] || (h[1] = Re((g) => o(i)(g, o(l), !0), ["ctrl"]))
9429
+ h[0] || (h[0] = Re((f) => o(i)(f, o(l), !1), ["exact"])),
9430
+ h[1] || (h[1] = Re((f) => o(i)(f, o(l), !0), ["ctrl"]))
9427
9431
  ]
9428
9432
  }, [
9429
9433
  ae(p.$slots, "default")
@@ -9463,13 +9467,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9463
9467
  }),
9464
9468
  emits: /* @__PURE__ */ Ce(["close", "focus", "blur", "min", "max"], ["update:modelValue"]),
9465
9469
  setup(d, { expose: r, emit: e }) {
9466
- let t = e, l = d, { id: s, title: n, bottom: u } = ie(l), i = jt(l.options ?? {}), c = S(), p = S(), h = S(), g = S(), y = S(), $ = S(), k = S(), j = S(), M = S(), N = null, x = null, P = null, H = null, le = null, te = null, I = null, Z = null, O, Y = Te(d, "modelValue"), se = S(!1), D = new Ie(), U = (B) => {
9470
+ let t = e, l = d, { id: s, title: n, bottom: u } = ie(l), i = jt(l.options ?? {}), c = S(), p = S(), h = S(), f = S(), y = S(), A = S(), k = S(), j = S(), M = S(), N = null, x = null, P = null, H = null, le = null, te = null, I = null, Z = null, O, Y = Te(d, "modelValue"), se = S(!1), D = new Ie(), U = (B) => {
9467
9471
  if (i.value.state == "max") {
9468
9472
  He();
9469
9473
  return;
9470
9474
  }
9471
9475
  Je();
9472
- }, q = (B) => 0, K = (B, ee, de, oe, ke) => {
9476
+ }, W = (B) => 0, K = (B, ee, de, oe, ke) => {
9473
9477
  if (!oe) {
9474
9478
  R(B);
9475
9479
  return;
@@ -9481,7 +9485,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9481
9485
  let B = i.value.state;
9482
9486
  B == "left" ? (i.value.x = 0, i.value.y = 0, i.value.width = document.body.clientWidth / 2, i.value.height = document.body.clientHeight - u.value) : B == "right" && (i.value.x = document.body.clientWidth / 2, i.value.y = 0, i.value.width = document.body.clientWidth / 2, i.value.height = document.body.clientHeight - u.value);
9483
9487
  }, v = (B, ee) => {
9484
- let de = m.dom.getWidth(p.value), oe = m.dom.getWidth(h.value), ke = m.dom.getWidth(g.value), Qe = c.value.getBoundingClientRect(), Ge = (B.x - Qe.x - de) / oe, pl = (ee.width - de - ke) * Ge;
9488
+ let de = m.dom.getWidth(p.value), oe = m.dom.getWidth(h.value), ke = m.dom.getWidth(f.value), Qe = c.value.getBoundingClientRect(), Ge = (B.x - Qe.x - de) / oe, pl = (ee.width - de - ke) * Ge;
9485
9489
  i.value.width = ee.width, i.value.height = ee.height, i.value.x = B.x - de - pl, i.value.y = 0, i.value.state = null;
9486
9490
  }, R = (B) => {
9487
9491
  let ee = B.x - N.x, de = B.y - N.y;
@@ -9557,7 +9561,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9557
9561
  i.value.x == null && (i.value.x = (B - i.value.width) / 2), i.value.y == null && (i.value.y = (ee - i.value.height) / 2);
9558
9562
  }, Ct = () => {
9559
9563
  let B = Dt();
9560
- y.value = B.shortcutSlot != null, $.value = B.title != null, k.value = B.side != null, j.value = B.header != null, M.value = B.footer != null;
9564
+ y.value = B.shortcutSlot != null, A.value = B.title != null, k.value = B.side != null, j.value = B.header != null, M.value = B.footer != null;
9561
9565
  };
9562
9566
  return gt(() => {
9563
9567
  Ct();
@@ -9569,7 +9573,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9569
9573
  m.object.mergeTo(i.value, oe), ke && (te = ke), Qe && (I = Qe), Ge && (Z = Ge);
9570
9574
  }
9571
9575
  dl(), i.value.index == null && Xe();
9572
- let ee = new cr(0, 0, document.body.clientWidth, document.body.clientHeight - u.value), de = { init: q, handler: K, end: T, range: ee, affix: 10 };
9576
+ let ee = new cr(0, 0, document.body.clientWidth, document.body.clientHeight - u.value), de = { init: W, handler: K, end: T, range: ee, affix: 10 };
9573
9577
  D.drag(h.value, de);
9574
9578
  }), xe(() => {
9575
9579
  D.dispose();
@@ -9580,7 +9584,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9580
9584
  m.object.mergeTo(i.value, B);
9581
9585
  }, { deep: !0 }), r({ focus: at, blur: ul, min: Ye, max: Je, restore: He, affix: C, toggleShow: cl, options: i.value }), (B, ee) => {
9582
9586
  const de = J("el-scrollbar");
9583
- return o(Y) ? (f(), W(ft, {
9587
+ return o(Y) ? (g(), q(ft, {
9584
9588
  key: 0,
9585
9589
  to: "body"
9586
9590
  }, [
@@ -9607,13 +9611,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9607
9611
  onDblclick: ee[0] || (ee[0] = //@ts-ignore
9608
9612
  (...oe) => o(U) && o(U)(...oe))
9609
9613
  }, [
9610
- o($) ? ae(B.$slots, "title", { key: 0 }) : (f(), _(ue, { key: 1 }, [
9614
+ o(A) ? ae(B.$slots, "title", { key: 0 }) : (g(), _(ue, { key: 1 }, [
9611
9615
  G(L(o(n)), 1)
9612
9616
  ], 64))
9613
9617
  ], 544),
9614
9618
  w("div", {
9615
9619
  ref_key: "toolbarRef",
9616
- ref: g,
9620
+ ref: f,
9617
9621
  class: "header-toolbar"
9618
9622
  }, [
9619
9623
  ae(B.$slots, "toolbar"),
@@ -9622,12 +9626,12 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9622
9626
  onClick: ee[1] || (ee[1] = //@ts-ignore
9623
9627
  (...oe) => o(Ye) && o(Ye)(...oe))
9624
9628
  }),
9625
- o(i).state != "max" ? (f(), _("i", {
9629
+ o(i).state != "max" ? (g(), _("i", {
9626
9630
  key: 0,
9627
9631
  class: "toolbar-max",
9628
9632
  onClick: ee[2] || (ee[2] = //@ts-ignore
9629
9633
  (...oe) => o(Je) && o(Je)(...oe))
9630
- })) : (f(), _("i", {
9634
+ })) : (g(), _("i", {
9631
9635
  key: 1,
9632
9636
  class: "toolbar-restore",
9633
9637
  onClick: ee[3] || (ee[3] = //@ts-ignore
@@ -9640,13 +9644,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9640
9644
  })
9641
9645
  ], 512)
9642
9646
  ]),
9643
- A(o(sl), {
9647
+ $(o(sl), {
9644
9648
  class: "window-body",
9645
9649
  width: o(i).side,
9646
9650
  onResize: o(il)
9647
9651
  }, {
9648
9652
  left: b(() => [
9649
- o(k) ? (f(), W(de, {
9653
+ o(k) ? (g(), q(de, {
9650
9654
  key: 0,
9651
9655
  class: "window-side"
9652
9656
  }, {
@@ -9658,7 +9662,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9658
9662
  ]),
9659
9663
  default: b(() => [
9660
9664
  w("div", la, [
9661
- o(j) ? (f(), W(de, {
9665
+ o(j) ? (g(), q(de, {
9662
9666
  key: 0,
9663
9667
  class: "window-main-header",
9664
9668
  onClick: o(at)
@@ -9671,7 +9675,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9671
9675
  w("div", sa, [
9672
9676
  ae(B.$slots, "default")
9673
9677
  ]),
9674
- o(M) ? (f(), _("div", ra, [
9678
+ o(M) ? (g(), _("div", ra, [
9675
9679
  ae(B.$slots, "footer")
9676
9680
  ])) : Q("", !0)
9677
9681
  ])
@@ -9712,7 +9716,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9712
9716
  onMousedown: ee[12] || (ee[12] = (oe) => o(ne)(oe, "bottom-left"))
9713
9717
  }, null, 32)
9714
9718
  ]),
9715
- o(se) ? (f(), _("div", {
9719
+ o(se) ? (g(), _("div", {
9716
9720
  key: 0,
9717
9721
  class: "window-widget",
9718
9722
  style: we({ height: `calc(100% - ${o(u)}px)` })
@@ -9726,17 +9730,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9726
9730
  setup(d) {
9727
9731
  let r = S({ text: null, conditions: [] }), e = S([]), t = S({ id: "", secret: "" }), l = S({ env: V.setting.env, app: V.setting.app }), s = S(!1), n = S(), u = F.utility.save(), i = async () => {
9728
9732
  e.value = await V.user.loadUsers(r.value);
9729
- }, c = ($, k) => {
9730
- $ == "env" && (V.user.env = k);
9731
- }, p = ($) => {
9732
- r.value.text = $, i();
9733
+ }, c = (A, k) => {
9734
+ A == "env" && (V.user.env = k);
9735
+ }, p = (A) => {
9736
+ r.value.text = A, i();
9733
9737
  }, h = async () => {
9734
9738
  s.value = !0, await Ve(), n.value.loadAsync().then();
9735
- }, g = () => {
9739
+ }, f = () => {
9736
9740
  s.value = !1;
9737
- }, y = async ($) => {
9741
+ }, y = async (A) => {
9738
9742
  let k = await V.user.getSso();
9739
- k && (t.value.id = k.userId), (await F.sso.createAsync("secret")).login(t.value).then((M) => {
9743
+ k != null && (t.value.id = k.userId), (await F.sso.createAsync("secret")).login(t.value).then((M) => {
9740
9744
  z.messenger.success(M.message);
9741
9745
  });
9742
9746
  };
@@ -9744,9 +9748,9 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9744
9748
  await u.openAsync("sys", "debugger", l.value);
9745
9749
  }), xe(async () => {
9746
9750
  await u.dispose();
9747
- }), ($, k) => {
9751
+ }), (A, k) => {
9748
9752
  const j = J("el-option"), M = J("el-select"), N = J("el-form-item"), x = J("el-button");
9749
- return f(), _(ue, null, [
9753
+ return g(), _(ue, null, [
9750
9754
  w("div", {
9751
9755
  class: "header-btn",
9752
9756
  onClick: k[0] || (k[0] = //@ts-ignore
@@ -9754,7 +9758,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9754
9758
  }, k[3] || (k[3] = [
9755
9759
  w("i", { class: "fa fa-bolt-lightning" }, null, -1)
9756
9760
  ])),
9757
- o(s) ? (f(), W(o(Ke), {
9761
+ o(s) ? (g(), q(o(Ke), {
9758
9762
  key: 0,
9759
9763
  id: "debugger",
9760
9764
  title: "调试",
@@ -9765,7 +9769,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9765
9769
  footer: b(() => [
9766
9770
  k[6] || (k[6] = w("div", null, null, -1)),
9767
9771
  w("div", oa, [
9768
- A(x, {
9772
+ $(x, {
9769
9773
  type: "primary",
9770
9774
  plain: ""
9771
9775
  }, {
@@ -9774,7 +9778,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9774
9778
  ])),
9775
9779
  _: 1
9776
9780
  }),
9777
- A(x, { onClick: o(g) }, {
9781
+ $(x, { onClick: o(f) }, {
9778
9782
  default: b(() => k[5] || (k[5] = [
9779
9783
  G("取消")
9780
9784
  ])),
@@ -9783,18 +9787,18 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9783
9787
  ])
9784
9788
  ]),
9785
9789
  default: b(() => [
9786
- A(o(ln), null, {
9790
+ $(o(ln), null, {
9787
9791
  default: b(() => [
9788
- A(o(bo), {
9792
+ $(o(bo), {
9789
9793
  ref_key: "driverRef",
9790
9794
  ref: n,
9791
9795
  form: o(l),
9792
9796
  onChange: o(c)
9793
9797
  }, {
9794
9798
  default: b(() => [
9795
- A(N, { label: "用户" }, {
9799
+ $(N, { label: "用户" }, {
9796
9800
  default: b(() => [
9797
- o(V).user.debugger ? (f(), W(M, {
9801
+ o(V).user.debugger ? (g(), q(M, {
9798
9802
  key: 0,
9799
9803
  filterable: "",
9800
9804
  remote: "",
@@ -9807,7 +9811,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9807
9811
  "onUpdate:modelValue": k[1] || (k[1] = (P) => o(t).secret = P)
9808
9812
  }, {
9809
9813
  default: b(() => [
9810
- (f(!0), _(ue, null, pe(o(e), (P) => (f(), W(j, {
9814
+ (g(!0), _(ue, null, pe(o(e), (P) => (g(), q(j, {
9811
9815
  value: P.value,
9812
9816
  label: `${P.text}(${P.value})`
9813
9817
  }, {
@@ -9847,14 +9851,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9847
9851
  __name: "HeaderRight",
9848
9852
  emits: ["show-tips", "show-changes"],
9849
9853
  setup(d, { emit: r }) {
9850
- let e = r, t = S(), l = S(), s = Fe(), n = (g) => {
9851
- l.value.style.animationPlayState = g;
9854
+ let e = r, t = S(), l = S(), s = Fe(), n = (f) => {
9855
+ l.value.style.animationPlayState = f;
9852
9856
  }, u = () => {
9853
- let g = s.path;
9854
- be.to(`/login?return_url=${g}`);
9857
+ let f = s.path;
9858
+ be.to(`/login?return_url=${f}`);
9855
9859
  }, i = () => {
9856
- z.http.get("/app/cache/clear").then(({ message: g }) => {
9857
- z.messenger.success(g);
9860
+ z.http.get("/app/cache/clear").then(({ message: f }) => {
9861
+ z.messenger.success(f);
9858
9862
  });
9859
9863
  }, c = () => {
9860
9864
  e("show-tips");
@@ -9865,11 +9869,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9865
9869
  u();
9866
9870
  });
9867
9871
  };
9868
- return (g, y) => {
9869
- const $ = J("el-dropdown-item"), k = J("el-dropdown-menu"), j = J("el-dropdown");
9870
- return f(), _(ue, null, [
9872
+ return (f, y) => {
9873
+ const A = J("el-dropdown-item"), k = J("el-dropdown-menu"), j = J("el-dropdown");
9874
+ return g(), _(ue, null, [
9871
9875
  w("div", ia, [
9872
- o(E).exists("sys.notice") ? (f(), _("div", {
9876
+ o(E).exists("sys.notice") ? (g(), _("div", {
9873
9877
  key: 0,
9874
9878
  ref_key: "marqueeRef",
9875
9879
  ref: l,
@@ -9878,24 +9882,24 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9878
9882
  onMouseout: y[1] || (y[1] = (M) => o(n)("running"))
9879
9883
  }, L(o(E).t("sys.notice")), 545)) : Q("", !0)
9880
9884
  ]),
9881
- o(z).socket.connected == !1 ? (f(), _("div", ua, y[4] || (y[4] = [
9885
+ o(z).socket.connected == !1 ? (g(), _("div", ua, y[4] || (y[4] = [
9882
9886
  w("i", { class: "fa fa-warning" }, null, -1),
9883
9887
  G(" Socket连接已断开 ")
9884
9888
  ]))) : Q("", !0),
9885
- o(V).user.user ? (f(), W(aa, { key: 1 })) : Q("", !0),
9886
- A(Ho),
9887
- A(Bo, {
9889
+ o(V).user.user ? (g(), q(aa, { key: 1 })) : Q("", !0),
9890
+ $(Ho),
9891
+ $(Bo, {
9888
9892
  ref_key: "settingRef",
9889
9893
  ref: t
9890
9894
  }, null, 512),
9891
- o(V).user.user ? (f(), W(j, {
9895
+ o(V).user.user ? (g(), q(j, {
9892
9896
  key: 2,
9893
9897
  trigger: "click"
9894
9898
  }, {
9895
9899
  dropdown: b(() => [
9896
- A(k, { class: "avatar-dropdown" }, {
9900
+ $(k, { class: "avatar-dropdown" }, {
9897
9901
  default: b(() => [
9898
- A($, {
9902
+ $(A, {
9899
9903
  onClick: y[2] || (y[2] = (M) => o(t).show())
9900
9904
  }, {
9901
9905
  default: b(() => [
@@ -9903,7 +9907,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9903
9907
  ]),
9904
9908
  _: 1
9905
9909
  }),
9906
- A($, {
9910
+ $(A, {
9907
9911
  divided: "",
9908
9912
  onClick: o(c)
9909
9913
  }, {
@@ -9912,19 +9916,19 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9912
9916
  ]),
9913
9917
  _: 1
9914
9918
  }, 8, ["onClick"]),
9915
- A($, { onClick: o(p) }, {
9919
+ $(A, { onClick: o(p) }, {
9916
9920
  default: b(() => [
9917
9921
  G(L(o(E).sys("changes_title")), 1)
9918
9922
  ]),
9919
9923
  _: 1
9920
9924
  }, 8, ["onClick"]),
9921
- A($, { onClick: o(i) }, {
9925
+ $(A, { onClick: o(i) }, {
9922
9926
  default: b(() => [
9923
9927
  G(L(o(E).t("setting.clear_cache")), 1)
9924
9928
  ]),
9925
9929
  _: 1
9926
9930
  }, 8, ["onClick"]),
9927
- A($, {
9931
+ $(A, {
9928
9932
  divided: "",
9929
9933
  onClick: o(i)
9930
9934
  }, {
@@ -9933,7 +9937,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9933
9937
  ]),
9934
9938
  _: 1
9935
9939
  }, 8, ["onClick"]),
9936
- A($, { onClick: o(h) }, {
9940
+ $(A, { onClick: o(h) }, {
9937
9941
  default: b(() => [
9938
9942
  G(L(o(E).t("common.logout")), 1)
9939
9943
  ]),
@@ -9944,18 +9948,18 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9944
9948
  })
9945
9949
  ]),
9946
9950
  default: b(() => [
9947
- o(V).user.user ? (f(), _("div", ca, [
9948
- o(V).user.user.avatar ? (f(), _("img", {
9951
+ o(V).user.user ? (g(), _("div", ca, [
9952
+ o(V).user.user.avatar ? (g(), _("img", {
9949
9953
  key: 0,
9950
9954
  src: o(V).user.user.avatar,
9951
9955
  alt: o(V).user.user.truename
9952
- }, null, 8, da)) : (f(), _("i", pa)),
9956
+ }, null, 8, da)) : (g(), _("i", pa)),
9953
9957
  w("div", null, L(o(V).user.user.truename), 1),
9954
9958
  y[5] || (y[5] = w("i", { class: "fa fa-chevron-down" }, null, -1))
9955
9959
  ])) : Q("", !0)
9956
9960
  ]),
9957
9961
  _: 1
9958
- })) : (f(), _("div", {
9962
+ })) : (g(), _("div", {
9959
9963
  key: 3,
9960
9964
  class: "header-btn",
9961
9965
  onClick: y[3] || (y[3] = //@ts-ignore
@@ -9980,8 +9984,8 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9980
9984
  let i = E.sys("tips");
9981
9985
  i != null && (s = Object.keys(i)), n.length = s.length, n.next();
9982
9986
  }), (i, c) => {
9983
- const p = J("el-alert"), h = J("el-checkbox"), g = J("el-button");
9984
- return o(l).visible ? (f(), W(o(Ke), {
9987
+ const p = J("el-alert"), h = J("el-checkbox"), f = J("el-button");
9988
+ return o(l).visible ? (g(), q(o(Ke), {
9985
9989
  key: 0,
9986
9990
  id: "welcome",
9987
9991
  class: "ha-tips",
@@ -9992,7 +9996,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9992
9996
  "onUpdate:modelValue": c[3] || (c[3] = (y) => o(l).visible = y)
9993
9997
  }, {
9994
9998
  footer: b(() => [
9995
- A(h, {
9999
+ $(h, {
9996
10000
  modelValue: o(l).never,
9997
10001
  "onUpdate:modelValue": c[0] || (c[0] = (y) => o(l).never = y)
9998
10002
  }, {
@@ -10003,7 +10007,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10003
10007
  }, 8, ["modelValue"]),
10004
10008
  w("div", fa, [
10005
10009
  w("div", null, L(o(n).current + 1) + "/" + L(o(n).length), 1),
10006
- A(g, {
10010
+ $(f, {
10007
10011
  disabled: !o(n).hasPrev,
10008
10012
  onClick: c[1] || (c[1] = (y) => o(n).prev())
10009
10013
  }, {
@@ -10012,7 +10016,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10012
10016
  ])),
10013
10017
  _: 1
10014
10018
  }, 8, ["disabled"]),
10015
- A(g, {
10019
+ $(f, {
10016
10020
  type: "primary",
10017
10021
  plain: "",
10018
10022
  disabled: !o(n).hasNext,
@@ -10023,7 +10027,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10023
10027
  ])),
10024
10028
  _: 1
10025
10029
  }, 8, ["disabled"]),
10026
- A(g, { onClick: o(u) }, {
10030
+ $(f, { onClick: o(u) }, {
10027
10031
  default: b(() => c[7] || (c[7] = [
10028
10032
  G("关闭")
10029
10033
  ])),
@@ -10032,7 +10036,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10032
10036
  ])
10033
10037
  ]),
10034
10038
  default: b(() => [
10035
- A(p, {
10039
+ $(p, {
10036
10040
  type: "warning",
10037
10041
  title: o(E).sys("tips_welcome"),
10038
10042
  style: { "margin-bottom": "10px" },
@@ -10057,17 +10061,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10057
10061
  return ye(() => {
10058
10062
  let e = E.sys("changes");
10059
10063
  r.value = Object.keys(e);
10060
- }), (e, t) => (f(), W(o(Ke), {
10064
+ }), (e, t) => (g(), q(o(Ke), {
10061
10065
  class: "ha-changes",
10062
10066
  id: "changes",
10063
10067
  title: o(E).sys("changes_title"),
10064
10068
  options: e.options
10065
10069
  }, {
10066
10070
  side: b(() => [
10067
- (f(!0), _(ue, null, pe(o(r), (l) => (f(), _("div", null, L(l), 1))), 256))
10071
+ (g(!0), _(ue, null, pe(o(r), (l) => (g(), _("div", null, L(l), 1))), 256))
10068
10072
  ]),
10069
10073
  default: b(() => [
10070
- (f(!0), _(ue, null, pe(o(r), (l) => (f(), _("div", ya, [
10074
+ (g(!0), _(ue, null, pe(o(r), (l) => (g(), _("div", ya, [
10071
10075
  w("div", va, L(l), 1),
10072
10076
  w("div", {
10073
10077
  class: "ha-rich-text",
@@ -10095,31 +10099,31 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10095
10099
  ye(async () => {
10096
10100
  await Ul.tour().start(), await l.openAsync("sys", "header", t.value);
10097
10101
  });
10098
- let u = he(() => Ae.getComponent("/", "header"));
10099
- return (i, c) => (f(), _("div", _a, [
10102
+ let u = he(() => $e.getComponent("/", "header"));
10103
+ return (i, c) => (g(), _("div", _a, [
10100
10104
  w("div", ka, [
10101
10105
  ae(i.$slots, "default")
10102
10106
  ]),
10103
10107
  w("div", xa, [
10104
- (f(), W(Ne(o(u))))
10108
+ (g(), q(Ne(o(u))))
10105
10109
  ]),
10106
10110
  w("div", Ca, [
10107
- A(ma, {
10111
+ $(ma, {
10108
10112
  onShowTips: o(s),
10109
10113
  onShowChanges: o(n)
10110
10114
  }, null, 8, ["onShowTips", "onShowChanges"]),
10111
- A(ga, {
10115
+ $(ga, {
10112
10116
  form: o(t).tips,
10113
10117
  bottom: o(e)
10114
10118
  }, null, 8, ["form", "bottom"]),
10115
- o(t).changes.visible ? (f(), W(wa, {
10119
+ o(t).changes.visible ? (g(), q(wa, {
10116
10120
  key: 0,
10117
10121
  options: o(t).changes.options
10118
10122
  }, null, 8, ["options"])) : Q("", !0)
10119
10123
  ])
10120
10124
  ]));
10121
10125
  }
10122
- }), Sa = ["href"], $a = { class: "logo-icon" }, Aa = { class: "logo-title" }, wt = /* @__PURE__ */ X({
10126
+ }), Sa = ["href"], Aa = { class: "logo-icon" }, $a = { class: "logo-title" }, wt = /* @__PURE__ */ X({
10123
10127
  __name: "Logo",
10124
10128
  emits: ["click"],
10125
10129
  setup(d, { emit: r }) {
@@ -10128,15 +10132,15 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10128
10132
  }, l = he(() => E.sys("title"));
10129
10133
  return (s, n) => {
10130
10134
  var u;
10131
- return f(), _("a", {
10135
+ return g(), _("a", {
10132
10136
  class: "logo",
10133
10137
  href: o(re).setting.home,
10134
10138
  onClick: n[0] || (n[0] = Re((i) => o(t)(o(re).setting.home), ["prevent"]))
10135
10139
  }, [
10136
- w("div", $a, L((u = o(l)) == null ? void 0 : u.substring(0, 1)), 1),
10137
- w("div", Aa, [
10138
- A(o(Et), { text: o(l) }, null, 8, ["text"]),
10139
- A(o(Et), {
10140
+ w("div", Aa, L((u = o(l)) == null ? void 0 : u.substring(0, 1)), 1),
10141
+ w("div", $a, [
10142
+ $(o(Et), { text: o(l) }, null, 8, ["text"]),
10143
+ $(o(Et), {
10140
10144
  class: "logo-version",
10141
10145
  delay: o(l).length * 0.1,
10142
10146
  text: o(V).setting.version
@@ -10158,7 +10162,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10158
10162
  C.dialogRef = T;
10159
10163
  }, h = (T, C) => {
10160
10164
  C.pageRef = T;
10161
- }, g = (T, C = null) => {
10165
+ }, f = (T, C = null) => {
10162
10166
  if (!C)
10163
10167
  return;
10164
10168
  C.bodyUrl = T;
@@ -10175,7 +10179,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10175
10179
  v.sideMenuId = C, v.headerMenuId = C;
10176
10180
  let ne;
10177
10181
  C == v.sideMenu.id ? (ne = v.sideMenu, v.headerMenu = null) : (ne = v.sideMenu.children.find((ge) => ge.id == C), v.headerMenu = ne), v.menu = ne, v.bodyUrl = D(C), be.to(v.bodyUrl, !1);
10178
- }, $ = (T, C, v, R) => {
10182
+ }, A = (T, C, v, R) => {
10179
10183
  if (R) {
10180
10184
  Y(T, C);
10181
10185
  return;
@@ -10259,7 +10263,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10259
10263
  bodyUrl: null
10260
10264
  }, R = C[C.length - 1];
10261
10265
  return v.menu = R, v.title = E.menu(R.id), v.sideMenu = C[0], v.headerMenu = C[1], C.length == 1 ? (v.sideMenuId = C[0].id, v) : (v.sideMenuId = C[1].id, C.length == 2 ? (v.headerMenuId = C[1].id, v) : (v.headerMenuId = C[2].id, v));
10262
- }, q = (T, C) => {
10266
+ }, W = (T, C) => {
10263
10267
  if (m.object.isObject(T)) {
10264
10268
  let { module: v } = T;
10265
10269
  C.title = E.module(v.type, v.name), C.env = v.env;
@@ -10302,17 +10306,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10302
10306
  i && i.saveAsync("desktop", "taskbars", v);
10303
10307
  }, { deep: !0 });
10304
10308
  let K = he(() => m.url.getM(u.fullPath));
10305
- return (T, C) => (f(), _("div", {
10309
+ return (T, C) => (g(), _("div", {
10306
10310
  ref_key: "appRef",
10307
10311
  ref: e,
10308
10312
  class: "app-wrapper"
10309
10313
  }, [
10310
- A(o(nt), {
10314
+ $(o(nt), {
10311
10315
  class: "desktop-tools",
10312
10316
  bottom: o(n).height
10313
10317
  }, null, 8, ["bottom"]),
10314
- o(V).user.menus.length ? (f(), _("div", Ta, [
10315
- (f(!0), _(ue, null, pe(o(V).user.menus, (v) => (f(), _("a", {
10318
+ o(V).user.menus.length ? (g(), _("div", Ta, [
10319
+ (g(!0), _(ue, null, pe(o(V).user.menus, (v) => (g(), _("a", {
10316
10320
  href: o(m).url.getAnchor(v.url, { m: v.id }).href,
10317
10321
  class: "desktop-icon",
10318
10322
  title: o(E).menu(v.id),
@@ -10326,10 +10330,10 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10326
10330
  ], 12, Ra))), 256))
10327
10331
  ])) : Q("", !0),
10328
10332
  w("div", Ua, [
10329
- A(o(wt), {
10330
- onClick: C[0] || (C[0] = (v) => o(g)(v, o(r)[o(r).length - 1]))
10333
+ $(o(wt), {
10334
+ onClick: C[0] || (C[0] = (v) => o(f)(v, o(r)[o(r).length - 1]))
10331
10335
  }),
10332
- (f(!0), _(ue, null, pe(o(r), (v) => (f(), _("div", {
10336
+ (g(!0), _(ue, null, pe(o(r), (v) => (g(), _("div", {
10333
10337
  class: ce(["desktop-task", { focus: v.options.focus }]),
10334
10338
  onClick: (R) => o(O)(v)
10335
10339
  }, [
@@ -10339,7 +10343,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10339
10343
  G(L(v.title), 1)
10340
10344
  ], 10, ja))), 256))
10341
10345
  ]),
10342
- (f(!0), _(ue, null, pe(o(r), (v) => (f(), W(o(Ke), {
10346
+ (g(!0), _(ue, null, pe(o(r), (v) => (g(), q(o(Ke), {
10343
10347
  ref_for: !0,
10344
10348
  ref: (R) => o(p)(R, v),
10345
10349
  id: v.id,
@@ -10359,12 +10363,12 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10359
10363
  }, null, 8, Da)
10360
10364
  ]),
10361
10365
  title: b(() => [
10362
- v.menu.icon ? (f(), _("i", {
10366
+ v.menu.icon ? (g(), _("i", {
10363
10367
  key: 0,
10364
10368
  class: ce(`icon ${v.menu.icon}`)
10365
10369
  }, null, 2)) : Q("", !0),
10366
10370
  G(" " + L(v.title) + " ", 1),
10367
- v.env ? (f(), _("span", Ma, "[" + L(v.env) + "]", 1)) : Q("", !0)
10371
+ v.env ? (g(), _("span", Ma, "[" + L(v.env) + "]", 1)) : Q("", !0)
10368
10372
  ]),
10369
10373
  toolbar: b(() => [
10370
10374
  w("i", {
@@ -10373,14 +10377,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10373
10377
  }, null, 8, Va)
10374
10378
  ]),
10375
10379
  default: b(() => [
10376
- v.bodyUrl ? (f(), W(o(Oe), {
10380
+ v.bodyUrl ? (g(), q(o(Oe), {
10377
10381
  key: 0,
10378
10382
  ref_for: !0,
10379
10383
  ref: (R) => o(h)(R, v),
10380
10384
  url: v.bodyUrl,
10381
10385
  win: v.id,
10382
- onNavigate: (R) => o(g)(R, v),
10383
- onLoaded: (R) => o(q)(R, v),
10386
+ onNavigate: (R) => o(f)(R, v),
10387
+ onLoaded: (R) => o(W)(R, v),
10384
10388
  onSucceed: (R) => o(x)(v),
10385
10389
  onClose: (R) => o(P)(v)
10386
10390
  }, null, 8, ["url", "win", "onNavigate", "onLoaded", "onSucceed", "onClose"])) : Q("", !0)
@@ -10390,19 +10394,19 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10390
10394
  v.sideMenu.children.length ? {
10391
10395
  name: "side",
10392
10396
  fn: b(() => [
10393
- A(o(ol), {
10397
+ $(o(ol), {
10394
10398
  modelValue: v.sideMenuId,
10395
10399
  "onUpdate:modelValue": (R) => v.sideMenuId = R
10396
10400
  }, {
10397
10401
  default: b(() => [
10398
- A(o(st), {
10402
+ $(o(st), {
10399
10403
  name: v.sideMenu.id,
10400
10404
  url: v.sideMenu.url,
10401
10405
  title: o(E).menu(v.sideMenu.id),
10402
10406
  onClick: (R, ne, ge) => o(y)(R, v.sideMenu.id, v, ge)
10403
10407
  }, {
10404
10408
  default: b(() => [
10405
- v.sideMenu.icon ? (f(), _("i", {
10409
+ v.sideMenu.icon ? (g(), _("i", {
10406
10410
  key: 0,
10407
10411
  class: ce(`prefix ${v.sideMenu.icon}`)
10408
10412
  }, null, 2)) : Q("", !0),
@@ -10410,19 +10414,19 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10410
10414
  ]),
10411
10415
  _: 2
10412
10416
  }, 1032, ["name", "url", "title", "onClick"]),
10413
- (f(!0), _(ue, null, pe(v.sideMenu.children, (R) => (f(), W(o(st), {
10417
+ (g(!0), _(ue, null, pe(v.sideMenu.children, (R) => (g(), q(o(st), {
10414
10418
  name: R.id,
10415
10419
  url: R.url,
10416
10420
  title: o(E).menu(R.id),
10417
10421
  onClick: (ne, ge, Se) => o(y)(ne, R.id, v, Se)
10418
10422
  }, {
10419
10423
  default: b(() => [
10420
- R.icon ? (f(), _("i", {
10424
+ R.icon ? (g(), _("i", {
10421
10425
  key: 0,
10422
10426
  class: ce(`prefix ${R.icon}`)
10423
10427
  }, null, 2)) : Q("", !0),
10424
10428
  G(" " + L(o(E).menu(R.id)) + " ", 1),
10425
- R.children.length ? (f(), _("i", La)) : Q("", !0)
10429
+ R.children.length ? (g(), _("i", La)) : Q("", !0)
10426
10430
  ]),
10427
10431
  _: 2
10428
10432
  }, 1032, ["name", "url", "title", "onClick"]))), 256))
@@ -10435,15 +10439,15 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10435
10439
  v.headerMenu && v.headerMenu.children.length ? {
10436
10440
  name: "header",
10437
10441
  fn: b(() => [
10438
- A(o(Fo), {
10442
+ $(o(Fo), {
10439
10443
  modelValue: v.headerMenuId,
10440
10444
  "onUpdate:modelValue": (R) => v.headerMenuId = R
10441
10445
  }, {
10442
10446
  default: b(() => [
10443
- A(o(Ut), {
10447
+ $(o(Ut), {
10444
10448
  name: v.headerMenu.id,
10445
10449
  url: v.headerMenu.url,
10446
- onClick: (R, ne, ge) => o($)(R, v.headerMenu.id, v, ge)
10450
+ onClick: (R, ne, ge) => o(A)(R, v.headerMenu.id, v, ge)
10447
10451
  }, {
10448
10452
  default: b(() => [
10449
10453
  w("i", {
@@ -10453,10 +10457,10 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10453
10457
  ]),
10454
10458
  _: 2
10455
10459
  }, 1032, ["name", "url", "onClick"]),
10456
- (f(!0), _(ue, null, pe(v.headerMenu.children, (R) => (f(), W(o(Ut), {
10460
+ (g(!0), _(ue, null, pe(v.headerMenu.children, (R) => (g(), q(o(Ut), {
10457
10461
  name: R.id,
10458
10462
  url: R.url,
10459
- onClick: (ne, ge, Se) => o($)(ne, R.id, v, Se)
10463
+ onClick: (ne, ge, Se) => o(A)(ne, R.id, v, Se)
10460
10464
  }, {
10461
10465
  default: b(() => [
10462
10466
  w("i", {
@@ -10473,7 +10477,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10473
10477
  key: "1"
10474
10478
  } : void 0
10475
10479
  ]), 1032, ["id", "bottom", "options", "onMin", "onClose", "onFocus", "modelValue", "onUpdate:modelValue"]))), 128)),
10476
- A(o(Jn), {
10480
+ $(o(Jn), {
10477
10481
  ref_key: "feedbackRef",
10478
10482
  ref: t,
10479
10483
  bottom: o(n).height
@@ -10501,17 +10505,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10501
10505
  n.path.startsWith("/redirect/") || t();
10502
10506
  }), (n, u) => {
10503
10507
  const i = J("el-breadcrumb-item"), c = J("el-breadcrumb");
10504
- return f(), W(c, { separator: "/" }, {
10508
+ return g(), q(c, { separator: "/" }, {
10505
10509
  default: b(() => [
10506
- A(wl, { name: "breadcrumb" }, {
10510
+ $(wl, { name: "breadcrumb" }, {
10507
10511
  default: b(() => [
10508
- (f(!0), _(ue, null, pe(o(r), (p, h) => (f(), W(i, {
10512
+ (g(!0), _(ue, null, pe(o(r), (p, h) => (g(), q(i, {
10509
10513
  key: p.path
10510
10514
  }, {
10511
10515
  default: b(() => [
10512
- p.redirect == "noRedirect" || p == o(r)[o(r).length - 1] ? (f(), _("span", Oa, L(p.meta.title), 1)) : (f(), _("a", {
10516
+ p.redirect == "noRedirect" || p == o(r)[o(r).length - 1] ? (g(), _("span", Oa, L(p.meta.title), 1)) : (g(), _("a", {
10513
10517
  key: 1,
10514
- onClick: Re((g) => o(s)(p), ["prevent"])
10518
+ onClick: Re((f) => o(s)(p), ["prevent"])
10515
10519
  }, L(p.meta.title), 9, Ha))
10516
10520
  ]),
10517
10521
  _: 2
@@ -10540,12 +10544,12 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10540
10544
  let e = r, t = () => {
10541
10545
  e("toggleClick");
10542
10546
  };
10543
- return (l, s) => (f(), _("div", {
10547
+ return (l, s) => (g(), _("div", {
10544
10548
  class: "ha-hamburger",
10545
10549
  onClick: s[0] || (s[0] = //@ts-ignore
10546
10550
  (...n) => o(t) && o(t)(...n))
10547
10551
  }, [
10548
- d.isActive ? (f(), _("i", za)) : (f(), _("i", Ba))
10552
+ d.isActive ? (g(), _("i", za)) : (g(), _("i", Ba))
10549
10553
  ]));
10550
10554
  }
10551
10555
  }), Fa = /* @__PURE__ */ X({
@@ -10555,7 +10559,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10555
10559
  let e = r, t = () => {
10556
10560
  e("refresh");
10557
10561
  };
10558
- return (l, s) => (f(), _("div", {
10562
+ return (l, s) => (g(), _("div", {
10559
10563
  class: ce(["btn-refresh", { loading: !1 }]),
10560
10564
  onClick: s[0] || (s[0] = //@ts-ignore
10561
10565
  (...n) => o(t) && o(t)(...n))
@@ -10563,7 +10567,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10563
10567
  w("i", { class: "fa fa-sync" }, null, -1)
10564
10568
  ])));
10565
10569
  }
10566
- }), Wa = { class: "side-header" }, qa = { class: "side-body" }, Ka = {
10570
+ }), qa = { class: "side-header" }, Wa = { class: "side-body" }, Ka = {
10567
10571
  key: 1,
10568
10572
  class: "ha-empty"
10569
10573
  }, Ya = ["innerHTML"], Ja = { class: "main-container" }, Xa = {
@@ -10587,11 +10591,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10587
10591
  hideNav: !1
10588
10592
  }), h = (te) => {
10589
10593
  typeof te == "string" && z.i18n.setI18nTitle(te);
10590
- }, g = (te) => {
10594
+ }, f = (te) => {
10591
10595
  be.to(te, !1);
10592
10596
  }, y = () => {
10593
10597
  re.module.triggerRefresh(e.value);
10594
- }, $ = (te) => {
10598
+ }, A = (te) => {
10595
10599
  re.module.triggerClose(e.value, te);
10596
10600
  }, k = (te) => {
10597
10601
  M(Ee.ctrlS, te);
@@ -10610,16 +10614,16 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10610
10614
  s.value = t.fullPath, n.value = t.query.m;
10611
10615
  };
10612
10616
  H(), ye(async () => {
10613
- await i.openAsync("sys", "side", p.value), p.value.hideNav = !!t.query.hide_nav, z.socket.handler = N, m.event.bind(["beforeunload"], window, $), u.ctrlS(document, k), u.ctrlEnter(document, j);
10617
+ await i.openAsync("sys", "side", p.value), p.value.hideNav = !!t.query.hide_nav, z.socket.handler = N, m.event.bind(["beforeunload"], window, A), u.ctrlS(document, k), u.ctrlEnter(document, j);
10614
10618
  }), xe(() => {
10615
- m.event.unbind(["beforeunload"], window, $), u.removeCtrlS(document), u.removeCtrlEnter(document);
10619
+ m.event.unbind(["beforeunload"], window, A), u.removeCtrlS(document), u.removeCtrlEnter(document);
10616
10620
  });
10617
10621
  let le = he(() => m.tree.searchTree(l.value, V.user.menus, "children", ["name", "url"]));
10618
10622
  return me(() => t.fullPath, (te, I) => {
10619
10623
  H();
10620
10624
  }), r({ onKeyboard: M }), (te, I) => {
10621
10625
  const Z = J("el-input"), O = J("el-backtop");
10622
- return f(), W(o(sl), {
10626
+ return g(), q(o(sl), {
10623
10627
  class: "app-wrapper",
10624
10628
  width: o(p).width,
10625
10629
  onResize: o(P)
@@ -10628,9 +10632,9 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10628
10632
  w("div", {
10629
10633
  class: ce(["side-nav", { hide: !o(p).opened }])
10630
10634
  }, [
10631
- w("div", Wa, [
10632
- A(wt, { onClick: o(g) }, null, 8, ["onClick"]),
10633
- A(Z, {
10635
+ w("div", qa, [
10636
+ $(wt, { onClick: o(f) }, null, 8, ["onClick"]),
10637
+ $(Z, {
10634
10638
  type: "text",
10635
10639
  clearable: "",
10636
10640
  placeholder: o(E).t("common.search_menu"),
@@ -10643,16 +10647,16 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10643
10647
  _: 1
10644
10648
  }, 8, ["placeholder", "modelValue"])
10645
10649
  ]),
10646
- w("div", qa, [
10647
- o(le).length ? (f(), W(o(nl), {
10650
+ w("div", Wa, [
10651
+ o(le).length ? (g(), q(o(nl), {
10648
10652
  key: 0,
10649
10653
  menus: o(le),
10650
10654
  direction: "vertical",
10651
10655
  "expand-active": "",
10652
- onClick: o(g),
10656
+ onClick: o(f),
10653
10657
  modelValue: o(n),
10654
10658
  "onUpdate:modelValue": I[1] || (I[1] = (Y) => _e(n) ? n.value = Y : n = Y)
10655
- }, null, 8, ["menus", "onClick", "modelValue"])) : (f(), _("div", Ka, L(o(E).t("common.no_permission")), 1))
10659
+ }, null, 8, ["menus", "onClick", "modelValue"])) : (g(), _("div", Ka, L(o(E).t("common.no_permission")), 1))
10656
10660
  ]),
10657
10661
  w("div", {
10658
10662
  class: "side-footer",
@@ -10662,14 +10666,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10662
10666
  ]),
10663
10667
  default: b(() => [
10664
10668
  w("div", Ja, [
10665
- o(p).hideNav ? Q("", !0) : (f(), W(nt, { key: 0 }, {
10669
+ o(p).hideNav ? Q("", !0) : (g(), q(nt, { key: 0 }, {
10666
10670
  default: b(() => [
10667
- A(Na, {
10671
+ $(Na, {
10668
10672
  "is-active": o(p).opened,
10669
10673
  onToggleClick: o(x)
10670
10674
  }, null, 8, ["is-active", "onToggleClick"]),
10671
- A(Fa, { onRefresh: o(y) }, null, 8, ["onRefresh"]),
10672
- A(Pa)
10675
+ $(Fa, { onRefresh: o(y) }, null, 8, ["onRefresh"]),
10676
+ $(Pa)
10673
10677
  ]),
10674
10678
  _: 1
10675
10679
  })),
@@ -10677,14 +10681,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10677
10681
  class: "ha-main",
10678
10682
  style: we({ height: o(p).hideNav ? "100vh" : "calc(100vh - 49px)" })
10679
10683
  }, [
10680
- A(o(Oe), {
10684
+ $(o(Oe), {
10681
10685
  ref_key: "mainRef",
10682
10686
  ref: e,
10683
10687
  url: o(s),
10684
10688
  onLoaded: o(h),
10685
- onNavigate: o(g)
10689
+ onNavigate: o(f)
10686
10690
  }, null, 8, ["url", "onLoaded", "onNavigate"]),
10687
- A(O, { target: ".ha-main" })
10691
+ $(O, { target: ".ha-main" })
10688
10692
  ], 4)
10689
10693
  ])
10690
10694
  ]),
@@ -10699,11 +10703,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10699
10703
  typeof N == "string" && z.i18n.setI18nTitle(N);
10700
10704
  }, h = (N) => {
10701
10705
  be.to(N, !1);
10702
- }, g = (N) => {
10703
- $(Ee.ctrlS, N);
10706
+ }, f = (N) => {
10707
+ A(Ee.ctrlS, N);
10704
10708
  }, y = (N) => {
10705
- $(Ee.ctrlEnter, N);
10706
- }, $ = (N, x) => {
10709
+ A(Ee.ctrlEnter, N);
10710
+ }, A = (N, x) => {
10707
10711
  re.module.triggerKeyboard(e.value, N, x);
10708
10712
  }, k = (N) => {
10709
10713
  let x = JSON.parse(N.data);
@@ -10714,23 +10718,23 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10714
10718
  t.value = n.fullPath, u.value = n.query.m;
10715
10719
  };
10716
10720
  return M(), ye(() => {
10717
- i.resize(l.value, j), c.ctrlS(document, g), c.ctrlEnter(document, y), z.socket.handler = k;
10721
+ i.resize(l.value, j), c.ctrlS(document, f), c.ctrlEnter(document, y), z.socket.handler = k;
10718
10722
  }), ht(() => {
10719
10723
  c.removeCtrlS(document), c.removeCtrlEnter(document), i.dispose();
10720
10724
  }), me(() => n.fullPath, (N, x) => {
10721
10725
  M();
10722
- }), r({ onKeyboard: $ }), (N, x) => {
10726
+ }), r({ onKeyboard: A }), (N, x) => {
10723
10727
  const P = J("el-backtop");
10724
- return f(), _("div", {
10728
+ return g(), _("div", {
10725
10729
  ref_key: "appRef",
10726
10730
  ref: l,
10727
10731
  class: "app-wrapper"
10728
10732
  }, [
10729
10733
  w("div", Ga, [
10730
- A(o(nt), { class: "top-nav-menu" }, {
10734
+ $(o(nt), { class: "top-nav-menu" }, {
10731
10735
  default: b(() => [
10732
- A(o(wt), { onClick: o(h) }, null, 8, ["onClick"]),
10733
- A(o(nl), {
10736
+ $(o(wt), { onClick: o(h) }, null, 8, ["onClick"]),
10737
+ $(o(nl), {
10734
10738
  ref_key: "menuRef",
10735
10739
  ref: s,
10736
10740
  menus: o(V).user.menus,
@@ -10744,14 +10748,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10744
10748
  ]),
10745
10749
  w("div", Za, [
10746
10750
  w("section", ei, [
10747
- A(o(Oe), {
10751
+ $(o(Oe), {
10748
10752
  ref_key: "mainRef",
10749
10753
  ref: e,
10750
10754
  url: o(t),
10751
10755
  onLoaded: o(p),
10752
10756
  onNavigate: o(h)
10753
10757
  }, null, 8, ["url", "onLoaded", "onNavigate"]),
10754
- A(P, { target: ".ha-main" })
10758
+ $(P, { target: ".ha-main" })
10755
10759
  ])
10756
10760
  ])
10757
10761
  ], 512);
@@ -10770,13 +10774,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10770
10774
  e();
10771
10775
  }), (t, l) => {
10772
10776
  const s = J("el-watermark");
10773
- return f(), W(s, {
10777
+ return g(), q(s, {
10774
10778
  class: "ha-watermark",
10775
10779
  "z-index": 99,
10776
10780
  content: o(V).setting.watermark
10777
10781
  }, {
10778
10782
  default: b(() => [
10779
- (f(), W(Ne(`${o(r).layout}-layout`), null, {
10783
+ (g(), q(Ne(`${o(r).layout}-layout`), null, {
10780
10784
  default: b(() => [
10781
10785
  G(" 未实现的布局方式:" + L(o(r).layout), 1)
10782
10786
  ]),
@@ -10802,7 +10806,7 @@ let si = async () => {
10802
10806
  }, Zi = async (d, r) => {
10803
10807
  V.env.useEnv(r.env);
10804
10808
  let e = F.repo.setting, t = new Lt();
10805
- t.baseUrl = e.api.url, t.socketUrl = e.api.ws, t.messenger = kn, t.lang = r.lang, await wn(t), await si(), await Vn(), be.open(V.env.env.base), await Le.useGlobal(d), Le.useRoutes(r.routes);
10809
+ t.baseUrl = e.api.url, t.socketUrl = e.api.ws, t.messenger = kn, t.lang = r.lang, await wn(t), await si(), await Vn(), be.open(V.env.env.base), await Le.useGlobalAsync(d), Le.useRoutes(r.routes);
10806
10810
  };
10807
10811
  export {
10808
10812
  yn as $,
@@ -10812,7 +10816,7 @@ export {
10812
10816
  z as D,
10813
10817
  Vr as E,
10814
10818
  F,
10815
- $i as G,
10819
+ Ai as G,
10816
10820
  Xi as H,
10817
10821
  E as I,
10818
10822
  Tt as J,
@@ -10822,7 +10826,7 @@ export {
10822
10826
  ji as N,
10823
10827
  Ti as O,
10824
10828
  Ri as P,
10825
- Wr as Q,
10829
+ qr as Q,
10826
10830
  re as R,
10827
10831
  V as S,
10828
10832
  ct as T,
@@ -10852,8 +10856,8 @@ export {
10852
10856
  Bs as aE,
10853
10857
  Ns as aF,
10854
10858
  Fs as aG,
10855
- Ws as aH,
10856
- qs as aI,
10859
+ qs as aH,
10860
+ Ws as aI,
10857
10861
  Ks as aJ,
10858
10862
  Ys as aK,
10859
10863
  Js as aL,
@@ -10883,7 +10887,7 @@ export {
10883
10887
  fs as ai,
10884
10888
  as as aj,
10885
10889
  bi as ak,
10886
- At as al,
10890
+ $t as al,
10887
10891
  bs as am,
10888
10892
  ws as an,
10889
10893
  _s as ao,
@@ -10891,21 +10895,21 @@ export {
10891
10895
  Ft as aq,
10892
10896
  Cs as ar,
10893
10897
  Ll as as,
10894
- $t as at,
10895
- As as au,
10898
+ At as at,
10899
+ $s as au,
10896
10900
  cs as av,
10897
10901
  ds as aw,
10898
10902
  vi as ax,
10899
10903
  Ds as ay,
10900
10904
  Ls as az,
10901
- Wi as b,
10905
+ qi as b,
10902
10906
  bt as b0,
10903
10907
  pr as b1,
10904
10908
  Xt as b2,
10905
10909
  hr as b3,
10906
10910
  ki as b4,
10907
10911
  xi as b5,
10908
- Ar as b6,
10912
+ $r as b6,
10909
10913
  Tr as b7,
10910
10914
  Rr as b8,
10911
10915
  fe as b9,
@@ -10929,7 +10933,7 @@ export {
10929
10933
  Cr as bj,
10930
10934
  Sr as bk,
10931
10935
  tl as bl,
10932
- $r as bm,
10936
+ Ar as bm,
10933
10937
  Ii as bn,
10934
10938
  Oi as bo,
10935
10939
  Hi as bp,
@@ -10943,8 +10947,8 @@ export {
10943
10947
  Ki as bx,
10944
10948
  Ut as by,
10945
10949
  Fo as bz,
10946
- Ae as c,
10947
- Ai as d,
10950
+ $e as c,
10951
+ $i as d,
10948
10952
  je as e,
10949
10953
  Ei as f,
10950
10954
  Pi as g,
@@ -10954,7 +10958,7 @@ export {
10954
10958
  Ji as k,
10955
10959
  sl as l,
10956
10960
  On as m,
10957
- qi as n,
10961
+ Wi as n,
10958
10962
  Le as o,
10959
10963
  Yi as p,
10960
10964
  ll as q,