halo-pc 1.0.45 → 1.0.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/dist/{Article-CgBdjIiN.js → Article-B84VAixe.js} +2 -2
  2. package/dist/{ArticleFooter-CQgpF0yB.js → ArticleFooter-BFYLnY72.js} +1 -1
  3. package/dist/{Autocomplete-CIoDe0Cb.js → Autocomplete-CHDWK1KM.js} +1 -1
  4. package/dist/{Autocomplete-UmT5nRcK.js → Autocomplete-CSM6pR_L.js} +1 -1
  5. package/dist/{Autocomplete-DgFlfrlw.js → Autocomplete-Q3OkxnH8.js} +1 -1
  6. package/dist/{CSharp-BxyKLu5C.js → CSharp-B1k72pm-.js} +1 -1
  7. package/dist/{Calender-DXZBssWK.js → Calender-C6dp4mkt.js} +1 -1
  8. package/dist/{Callback-C9dcX6B1.js → Callback-wqSA4EN3.js} +7 -7
  9. package/dist/{Cascader-BcN7P3LU.js → Cascader-B5o35bD-.js} +1 -1
  10. package/dist/{Cascader-DWFOyxzg.js → Cascader-BdlGL8c4.js} +1 -1
  11. package/dist/{Checkbox-BiQQ5MaS.js → Checkbox-KPwXReus.js} +1 -1
  12. package/dist/{Checkbox-CH-09RQo.js → Checkbox-tcEMouFN.js} +1 -1
  13. package/dist/{Code-5slnxo1r.js → Code-B8hfY2XQ.js} +1 -1
  14. package/dist/Code-C8JJr5Mf.js +4 -0
  15. package/dist/{Code-CrvLGEo5.js → Code-CSG_76gb.js} +1 -1
  16. package/dist/{Code-ClrELJ2j.js → Code-r99zTgST.js} +1 -1
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-Cy6F0NcY.js → Code.vue_vue_type_style_index_0_lang-Bs83ddUQ.js} +1 -1
  18. package/dist/{Column-JtP300Z3.js → Column-BC7oBV50.js} +1 -1
  19. package/dist/{Comment-DSsfU7-w.js → Comment-D3zPuZVm.js} +1 -1
  20. package/dist/{Compare-XBeUE_oP.js → Compare-BlljQWBQ.js} +1 -1
  21. package/dist/{Compare-qEx-qmMH.js → Compare-C-9GBrHI.js} +1 -1
  22. package/dist/{Copy-DncOGTUm.js → Copy-Cgj_WDDG.js} +1 -1
  23. package/dist/{Custom-Ct0DVIcX.js → Custom-a_CwMbiA.js} +1 -1
  24. package/dist/{DataExport-Cu_ez4M5.js → DataExport-D7-nyu-l.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-B-mOu64F.js → DataExport.vue_vue_type_script_setup_true_lang-B-J_45oM.js} +1 -1
  26. package/dist/{DataImport-DuRXwErL.js → DataImport-96EzerQu.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DV29JFZA.js → DataImport.vue_vue_type_script_setup_true_lang-CNuRWjSo.js} +1 -1
  28. package/dist/{Date-D-_0V2lO.js → Date-ZmCWntv9.js} +1 -1
  29. package/dist/{Date-Io0GMIId.js → Date-y8lv76Ti.js} +1 -1
  30. package/dist/{DateRange-Bicvl-i6.js → DateRange-9l5EKIRZ.js} +1 -1
  31. package/dist/{DateTime-nW23mYp3.js → DateTime-B9zYybXS.js} +1 -1
  32. package/dist/{DateTime-BUlLMG98.js → DateTime-zKghiAk2.js} +1 -1
  33. package/dist/{DateTimeRange-xdRZUB_0.js → DateTimeRange-Cr-79y7b.js} +1 -1
  34. package/dist/{Daterange-D4jExz5J.js → Daterange-ZEsMdoWi.js} +1 -1
  35. package/dist/{Decimal-B517xq6Q.js → Decimal-BDa8NVPH.js} +1 -1
  36. package/dist/{Delete-aE3tN6Bc.js → Delete--bb5si4_.js} +1 -1
  37. package/dist/{Detail-Br_oSFNw.js → Detail-OI8hYejW.js} +1 -1
  38. package/dist/{Dictionary-SAj5746i.js → Dictionary-B7Gs8ERP.js} +1 -1
  39. package/dist/{Email-jCNrrtE_.js → Email-BVtRKSv8.js} +1 -1
  40. package/dist/{File-D684-dxC.js → File-Bs5dU1Rk.js} +2 -2
  41. package/dist/{Image-BuIQZBI0.js → Image-B8VvAEMa.js} +1 -1
  42. package/dist/Index-BYH7c7Hy.js +4 -0
  43. package/dist/{Index-BXFQJnHG.js → Index-BZeCjjCo.js} +2 -2
  44. package/dist/Index-CZKjVJJ8.js +4 -0
  45. package/dist/{Index-Bc885wCg.js → Index-D685f1Kv.js} +2 -2
  46. package/dist/Index-DJ2ND4KV.js +4 -0
  47. package/dist/{Index-DTLxqhHl.js → Index-TOHKeKua.js} +1 -1
  48. package/dist/{Index-BPXHfQbj.js → Index-a2WnGLAL.js} +1 -1
  49. package/dist/Index-obMYdEFM.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DD3APl06.js → Index.vue_vue_type_script_setup_true_lang-B-qwGfPd.js} +1 -1
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-Cksph7O4.js → Index.vue_vue_type_script_setup_true_lang-ahckFPWv.js} +1 -1
  52. package/dist/{Install-CtxfqAO3.js → Install-WcZL3to7.js} +22 -22
  53. package/dist/{Int-BLmQOjFT.js → Int-B99qgq5f.js} +1 -1
  54. package/dist/{Int-Dv3KX05l.js → Int-CPxmN0qt.js} +1 -1
  55. package/dist/{List-CBlPNvMl.js → List-CP5EEsIb.js} +1 -1
  56. package/dist/{Maintaince-D8nnelGo.js → Maintaince-BQw0atZc.js} +1 -1
  57. package/dist/{Markdown-DBNzs4Da.js → Markdown-BJk-Of5I.js} +1 -1
  58. package/dist/{Month-QAO2ipkS.js → Month-6D6vdfJC.js} +1 -1
  59. package/dist/{Month-B6vRAk_T.js → Month-BMfk3ogI.js} +1 -1
  60. package/dist/{Month-Dhn96RJ2.js → Month-Bwd88sLJ.js} +1 -1
  61. package/dist/{Normal-C7B943d8.js → Normal-Cxw9cBLO.js} +1 -1
  62. package/dist/{Paging-BICuyGsB.js → Paging-BpVbuvIK.js} +2 -2
  63. package/dist/{PagingHeader-C0EI7M3f.js → PagingHeader-8CKCL1q6.js} +1 -1
  64. package/dist/{PagingRow-CPfxJWuj.js → PagingRow-F5IPq91q.js} +1 -1
  65. package/dist/{Racebar-QiyPJDqx.js → Racebar-DBnlIYrB.js} +2 -2
  66. package/dist/{Radio-CQSqmMxQ.js → Radio-0IqsFkR2.js} +1 -1
  67. package/dist/{Register-BEqrc8hq.js → Register-nJSRScaV.js} +2 -2
  68. package/dist/{RichText-DY94cZ2e.js → RichText-BSEex9vi.js} +1 -1
  69. package/dist/{SearchForm-CvtR1Y-R.js → SearchForm-oOFoOTk1.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-CLUAvC47.js → SearchForm.vue_vue_type_style_index_0_lang-h5y0whFA.js} +1 -1
  71. package/dist/{SearchHeader-QdTf7BZz.js → SearchHeader-CCVpMhNk.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CPNazAu-.js → SearchHeader.vue_vue_type_style_index_0_lang-BLwCN35S.js} +1 -1
  73. package/dist/Select-CQ_TxlNj.js +123 -0
  74. package/dist/{Select-BbPoEuw5.js → Select-DQ0f_-u3.js} +1 -1
  75. package/dist/{Select-C4icorgZ.js → Select-a4eRzEy4.js} +1 -1
  76. package/dist/{Single-B3U8fH8_.js → Single-BKtL-ahI.js} +4 -4
  77. package/dist/{Statistic-Upwpxjpr.js → Statistic-3f4cg0DO.js} +26 -26
  78. package/dist/{Stock-BChGRcOv.js → Stock-BPNKPUgt.js} +1 -1
  79. package/dist/{Stock-BpdLiCul.js → Stock-BxuVocRF.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-Buc5FCqU.js → Stock.vue_vue_type_style_index_0_lang-NQB8qNAS.js} +8 -8
  81. package/dist/{Switch-BCKaAWlg.js → Switch-C2Em1D_A.js} +1 -1
  82. package/dist/{Table-pn4rLYpp.js → Table-D3qblu6c.js} +2 -2
  83. package/dist/{Table-Att1iZnB.js → Table-Di9JNqC9.js} +5 -5
  84. package/dist/Text-DppspAOA.js +4 -0
  85. package/dist/{Text-CzGqM27Q.js → Text-FyUgw6pa.js} +1 -1
  86. package/dist/{Text-D2UzSOZb.js → Text-PeCT9_s1.js} +1 -1
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-DzXYuudk.js → Text.vue_vue_type_style_index_0_lang-XA7-7zqI.js} +1 -1
  88. package/dist/{TextLink-D9a0Lnkd.js → TextLink-BVcttEr4.js} +1 -1
  89. package/dist/{Textarea-CSNFeGpg.js → Textarea-DVkIU8L2.js} +1 -1
  90. package/dist/{Time-DPxLsj9O.js → Time-C-JUjwi8.js} +1 -1
  91. package/dist/{Timeline-BU9faLDr.js → Timeline-Dbsp0dPk.js} +1 -1
  92. package/dist/{Tree-CpIKPHbi.js → Tree-DlFsf1Gd.js} +1 -1
  93. package/dist/{Tree-3s6Uh9XM.js → Tree-mio6VZmh.js} +1 -1
  94. package/dist/{TreeNode-wco-oEhY.js → TreeNode-CTZlylIy.js} +1 -1
  95. package/dist/{Update-H4Zle84Q.js → Update-BqArDw4q.js} +1 -1
  96. package/dist/{UpdateChild-DuqJCDPa.js → UpdateChild-Yr4m-kiB.js} +1 -1
  97. package/dist/{Upload-B9XCz3bT.js → Upload-BlfGPW_P.js} +1 -1
  98. package/dist/{Upload-Bb4jkwYw.js → Upload-CkBfWTxs.js} +1 -1
  99. package/dist/{Year-OULHImI3.js → Year-CyY0Wspy.js} +1 -1
  100. package/dist/{Year-BevjziW3.js → Year-DPxI6hSz.js} +1 -1
  101. package/dist/{main-CoOHjXIl.js → main-Cn31hgfj.js} +644 -642
  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/Code-D-Hs0Pj8.js +0 -4
  108. package/dist/Index-C7rta_l8.js +0 -4
  109. package/dist/Index-D2z02wQR.js +0 -4
  110. package/dist/Index-D7fzu-sd.js +0 -4
  111. package/dist/Index-YjX8nj4V.js +0 -4
  112. package/dist/Select-B8Xp8-rE.js +0 -117
  113. package/dist/Text-B-oDttNr.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
  */
@@ -1858,7 +1864,7 @@ class hs extends We {
1858
1864
  //#endregion
1859
1865
  //#region 开启
1860
1866
  a(this, "openAsync", async (e) => {
1861
- if (await super.openAsync(e), this.http = await F.http.createDefault(), this.user == null)
1867
+ if (await super.openAsync(e), this.http == null && (this.http = await F.http.createDefault()), this.user == null)
1862
1868
  return;
1863
1869
  this.sso = F.sso.create(this.user.type), this.signer = await F.signer.createWithCacheAsync("default");
1864
1870
  let t = m.json.serialize({ key: this.user.secret });
@@ -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,9 +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}`;
2242
- console.log("签名:" + u);
2243
- let 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();
2244
2248
  return c.sign = i.toUpperCase(), c.timestamp = s, c;
2245
2249
  });
2246
2250
  }
@@ -2255,7 +2259,7 @@ class Ss extends Wt {
2255
2259
  }
2256
2260
  //#endregion
2257
2261
  }
2258
- class $s extends Wt {
2262
+ class As extends qt {
2259
2263
  constructor() {
2260
2264
  super(...arguments);
2261
2265
  //#region 属性
@@ -2283,13 +2287,13 @@ class $s extends Wt {
2283
2287
  let s = m.url.deserializeSorted(t), n = [];
2284
2288
  if (s != null) {
2285
2289
  let h = Object.keys(s);
2286
- for (let g of h) {
2287
- let y = s[g];
2288
- 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}`);
2289
2293
  }
2290
2294
  }
2291
2295
  m.string.isNullOrEmpty(l) == !1 && n.push(`bodyJsonString=${l}`);
2292
- 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();
2293
2297
  return p.sign = c.toLowerCase(), p.timestamp = u, p;
2294
2298
  }
2295
2299
  //#endregion
@@ -2299,7 +2303,7 @@ class $s extends Wt {
2299
2303
  }
2300
2304
  //#endregion
2301
2305
  }
2302
- class As extends fe {
2306
+ class $s extends fe {
2303
2307
  constructor() {
2304
2308
  super(...arguments);
2305
2309
  a(this, "type", "Signer");
@@ -2307,7 +2311,7 @@ class As extends fe {
2307
2311
  open() {
2308
2312
  super.open(), super.register({
2309
2313
  Default: Ss,
2310
- Ei: $s
2314
+ Ei: As
2311
2315
  });
2312
2316
  }
2313
2317
  /**
@@ -2318,7 +2322,7 @@ class As extends fe {
2318
2322
  return await l.openAsync(null), l;
2319
2323
  }
2320
2324
  }
2321
- class qe {
2325
+ class We {
2322
2326
  constructor() {
2323
2327
  a(this, "type");
2324
2328
  }
@@ -2327,13 +2331,13 @@ class qe {
2327
2331
  m.json.mergeTo(this, r);
2328
2332
  }
2329
2333
  //#endregion
2330
- getAuth(r, e, t, l, s) {
2331
- 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 ?? ""}`;
2332
2336
  }
2333
2337
  async login(r) {
2334
2338
  }
2335
2339
  }
2336
- class Ts extends qe {
2340
+ class Ts extends We {
2337
2341
  constructor() {
2338
2342
  super(...arguments);
2339
2343
  //#region 属性
@@ -2346,23 +2350,23 @@ class Ts extends qe {
2346
2350
  //#endregion
2347
2351
  //#region 开启
2348
2352
  async openAsync(e) {
2349
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2353
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2350
2354
  }
2351
2355
  //#endregion
2352
2356
  async login(e) {
2353
- 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)));
2354
2358
  }
2355
2359
  loginUrl(e) {
2356
2360
  return "";
2357
2361
  }
2358
2362
  async getUser() {
2359
- return await this.provider.getEntityAsync("user", "sso");
2363
+ return await this.provider.getEntityAsync("sys", "sso");
2360
2364
  }
2361
2365
  async logout() {
2362
- 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");
2363
2367
  }
2364
2368
  }
2365
- class Rs extends qe {
2369
+ class Rs extends We {
2366
2370
  constructor() {
2367
2371
  super(...arguments);
2368
2372
  //#region 属性
@@ -2377,21 +2381,21 @@ class Rs extends qe {
2377
2381
  //#endregion
2378
2382
  //#region 开启
2379
2383
  async openAsync(e) {
2380
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2384
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2381
2385
  }
2382
2386
  //#endregion
2383
2387
  async login(e) {
2384
- return await this.provider.saveAsync("user", "sso", e), e;
2388
+ return await this.provider.saveAsync("sys", "sso", e), e;
2385
2389
  }
2386
2390
  loginUrl(e) {
2387
2391
  let t = encodeURIComponent(e);
2388
2392
  return `${this.url}/oauth2/authorize?client_id=${this.app_id}&redirect_uri=${t}&response_type=code`;
2389
2393
  }
2390
2394
  async getUser() {
2391
- return await this.provider.getAsync("user", "user");
2395
+ return await this.provider.getAsync("sys", "user");
2392
2396
  }
2393
2397
  async logout() {
2394
- 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");
2395
2399
  }
2396
2400
  }
2397
2401
  class Kt {
@@ -2414,7 +2418,7 @@ class Kt {
2414
2418
  a(this, "identity");
2415
2419
  }
2416
2420
  }
2417
- class Es extends qe {
2421
+ class Es extends We {
2418
2422
  constructor() {
2419
2423
  super(...arguments);
2420
2424
  a(this, "type", "WeiXin");
@@ -2430,7 +2434,7 @@ class Es extends qe {
2430
2434
  return Promise.resolve();
2431
2435
  }
2432
2436
  }
2433
- class Us extends qe {
2437
+ class Us extends We {
2434
2438
  constructor() {
2435
2439
  super(...arguments);
2436
2440
  //#region 属性
@@ -2442,13 +2446,13 @@ class Us extends qe {
2442
2446
  }
2443
2447
  //#endregion
2444
2448
  async openAsync(e) {
2445
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2449
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2446
2450
  }
2447
2451
  loginUrl(e) {
2448
2452
  return "";
2449
2453
  }
2450
2454
  async getUser() {
2451
- let e = await this.provider.getAsync("user", "anonymous");
2455
+ let e = await this.provider.getAsync("sys", "anonymous");
2452
2456
  if (!e) {
2453
2457
  let l = m.string.getUniqueId();
2454
2458
  await this.provider.saveAsync("anonymous", "anonymous", l), e = l;
@@ -2463,7 +2467,7 @@ class Us extends qe {
2463
2467
  await this.provider.deleteAsync("anonymous", "anonymous");
2464
2468
  }
2465
2469
  }
2466
- class js extends qe {
2470
+ class js extends We {
2467
2471
  constructor() {
2468
2472
  super(...arguments);
2469
2473
  //#region 属性
@@ -2475,19 +2479,19 @@ class js extends qe {
2475
2479
  }
2476
2480
  //#endregion
2477
2481
  async openAsync(e) {
2478
- await super.openAsync(e), this.provider = await F.provider.getDbAsync("user");
2482
+ await super.openAsync(e), this.provider = await F.provider.getDbAsync("sys");
2479
2483
  }
2480
2484
  async login(e) {
2481
- 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)));
2482
2486
  }
2483
2487
  loginUrl(e) {
2484
2488
  return "";
2485
2489
  }
2486
2490
  async getUser() {
2487
- return await this.provider.getEntityAsync("user", "user");
2491
+ return await this.provider.getEntityAsync("sys", "user");
2488
2492
  }
2489
2493
  async logout() {
2490
- await this.provider.deleteAsync("user", "sso");
2494
+ await this.provider.deleteAsync("sys", "sso");
2491
2495
  }
2492
2496
  }
2493
2497
  class Ds extends fe {
@@ -2973,11 +2977,11 @@ class zs extends ve {
2973
2977
  return s;
2974
2978
  for (let u = 0; u < n.length; u++) {
2975
2979
  const i = n[u];
2976
- let c = m.string.trim(i, t, ".vue"), h = (l ? l + "-" : "") + m.string.getDashName(c), g = e[i];
2977
- if (g.default)
2978
- 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;
2979
2983
  else {
2980
- let y = $e(g);
2984
+ let y = Ae(f);
2981
2985
  s[h] = y;
2982
2986
  }
2983
2987
  }
@@ -3095,8 +3099,8 @@ class Bs extends ve {
3095
3099
  }
3096
3100
  for (let s = 0; s < e.length; s++) {
3097
3101
  let n = e[s], u = 0;
3098
- for (let g = 0; g < n.length; g++)
3099
- u += n.charCodeAt(g);
3102
+ for (let f = 0; f < n.length; f++)
3103
+ u += n.charCodeAt(f);
3100
3104
  let i = u / l, c = 255 * i, p = 255 * (1 - i), h = 255 * (1 - i);
3101
3105
  t[n] = `rgb(${c}, ${p}, ${h})`;
3102
3106
  }
@@ -3233,13 +3237,13 @@ class Bs extends ve {
3233
3237
  let u = e.querySelector(l);
3234
3238
  if (!u)
3235
3239
  return null;
3236
- 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;
3237
3241
  if (n == "right") {
3238
3242
  i.left = `${c.left + c.width}px`;
3239
3243
  let k;
3240
- 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`;
3241
3245
  } else if (n == "bottom")
3242
- $ -= 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`;
3243
3247
  else
3244
3248
  throw new Error(`暂未支持的position:${n}`);
3245
3249
  return i;
@@ -3441,7 +3445,7 @@ class Fs extends ve {
3441
3445
  });
3442
3446
  }
3443
3447
  }
3444
- class Ws extends ve {
3448
+ class qs extends ve {
3445
3449
  constructor() {
3446
3450
  super(...arguments);
3447
3451
  a(this, "type", "file");
@@ -3478,7 +3482,7 @@ class Ws extends ve {
3478
3482
  });
3479
3483
  }
3480
3484
  }
3481
- class qs extends ve {
3485
+ class Ws extends ve {
3482
3486
  constructor() {
3483
3487
  super(...arguments);
3484
3488
  a(this, "type", "html");
@@ -3809,7 +3813,7 @@ class Gs extends ve {
3809
3813
  a(this, "type", "string");
3810
3814
  //#region 生成
3811
3815
  /**
3812
- * 生成唯一字符串
3816
+ * 生成指定长度的唯一字符串
3813
3817
  */
3814
3818
  a(this, "getUniqueId", (e = 32) => {
3815
3819
  let t = "";
@@ -4057,7 +4061,7 @@ class Zs extends ve {
4057
4061
  a(this, "throttle", (e, t) => {
4058
4062
  let l = !0;
4059
4063
  return (s) => {
4060
- if (!l)
4064
+ if (l == !1)
4061
4065
  return !1;
4062
4066
  l = !1, setTimeout((n) => {
4063
4067
  e(n), l = !0;
@@ -4251,10 +4255,10 @@ class tr extends ve {
4251
4255
  let u = e ? e.toUpperCase() : "", i = m.object.isString(s) ? [s] : s;
4252
4256
  for (let c of t) {
4253
4257
  let p = !1, h = this.getChildren(c, l, !0);
4254
- for (let g of h) {
4258
+ for (let f of h) {
4255
4259
  for (let y of i) {
4256
- let $ = g[y];
4257
- if (($ ? $.toUpperCase() : "").indexOf(u) > -1) {
4260
+ let A = f[y];
4261
+ if ((A ? A.toUpperCase() : "").indexOf(u) > -1) {
4258
4262
  p = !0;
4259
4263
  break;
4260
4264
  }
@@ -4263,7 +4267,7 @@ class tr extends ve {
4263
4267
  break;
4264
4268
  }
4265
4269
  if (p) {
4266
- 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 };
4267
4271
  n.push(y);
4268
4272
  }
4269
4273
  }
@@ -4798,8 +4802,8 @@ class ir extends fe {
4798
4802
  Dictionary: Ns,
4799
4803
  Dom: Bs,
4800
4804
  Event: Fs,
4801
- File: Ws,
4802
- Html: qs,
4805
+ File: qs,
4806
+ Html: Ws,
4803
4807
  Image: Ks,
4804
4808
  Json: rr,
4805
4809
  Math: Ys,
@@ -5006,14 +5010,14 @@ class Ie extends Ue {
5006
5010
  if (p == null)
5007
5011
  c.x = i.clientX, c.y = i.clientY;
5008
5012
  else {
5009
- let { x: h, y: g, width: y, height: $ } = p;
5010
- 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;
5011
5015
  }
5012
5016
  if (t.affix) {
5013
5017
  if (t.range == null)
5014
5018
  throw new Error("设置吸附距离时,必须设置范围信息");
5015
- let h = p.x + p.width, g = p.y + p.height;
5016
- 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");
5017
5021
  }
5018
5022
  t.handler(c, this.dragStart, this.dragStartData, l, i), l = !1;
5019
5023
  }, u = (i) => {
@@ -5618,8 +5622,8 @@ class yr extends Gt {
5618
5622
  let p = `${e.name}.${l.name}.tooltip`;
5619
5623
  for (let y of c.fields)
5620
5624
  p += `.${u[y]}`;
5621
- let h = E.t(p), g = m.json.deserialize(h);
5622
- 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);
5623
5627
  }
5624
5628
  l.specs = n;
5625
5629
  }
@@ -6082,10 +6086,10 @@ class Sr {
6082
6086
  //#endregion
6083
6087
  //#region 登录
6084
6088
  /**
6085
- * 获取本地缓存中的用户信息;好处:即使手动更改storage数据,也可以里面获取到
6089
+ * 获取本地缓存中的SSO用户信息;好处:即使手动更改storage数据,也可以里面获取到
6086
6090
  */
6087
6091
  async getSso() {
6088
- return await (await F.provider.getDbAsync("user")).getEntityAsync("user", "sso");
6092
+ return await (await F.provider.getDbAsync("sys")).getEntityAsync("sys", "sso");
6089
6093
  }
6090
6094
  /**
6091
6095
  * 未登录,获取匿名登录信息
@@ -6155,7 +6159,7 @@ class tl extends Zt {
6155
6159
  }
6156
6160
  //#endregion
6157
6161
  }
6158
- class $r extends fe {
6162
+ class Ar extends fe {
6159
6163
  open() {
6160
6164
  super.open(), super.register({
6161
6165
  Config: el,
@@ -6257,7 +6261,7 @@ class F {
6257
6261
  * 签名工厂
6258
6262
  */
6259
6263
  static get signer() {
6260
- return this.create(As);
6264
+ return this.create($s);
6261
6265
  }
6262
6266
  /**
6263
6267
  * 通信工厂
@@ -6309,7 +6313,7 @@ class F {
6309
6313
  * 服务工厂
6310
6314
  */
6311
6315
  static get svc() {
6312
- return this.create($r);
6316
+ return this.create(Ar);
6313
6317
  }
6314
6318
  //#endregion
6315
6319
  //#region 创建
@@ -6375,7 +6379,7 @@ a(z, "template"), /**
6375
6379
  * 初始化消息对象,保证后续更新能够被同步更新
6376
6380
  */
6377
6381
  a(z, "messenger");
6378
- async function Ar(d) {
6382
+ async function $r(d) {
6379
6383
  let r = d ?? new Lt(), t = await (await F.provider.getDbAsync("sys")).getAsync("sys", "app");
6380
6384
  return t != null ? (t.cdn != null && (r.cdn = t.cdn), t.language != null && (r.language = t.language)) : r.language = m.browser.getLanguage(), r;
6381
6385
  }
@@ -6383,10 +6387,10 @@ async function Tr(d) {
6383
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();
6384
6388
  let r;
6385
6389
  d.messenger == null ? r = F.messenger.createConsole() : r = d.messenger, z.messenger = r;
6386
- let e = await V.user.getSso(), t = V.config.sys.language;
6387
- 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) => {
6388
- let { ok: s, status: n, data: u } = l;
6389
- 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));
6390
6394
  };
6391
6395
  }
6392
6396
  async function Ci(d) {
@@ -6431,9 +6435,9 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6431
6435
  },
6432
6436
  setup(d) {
6433
6437
  let r = d, { message: e, hasData: t } = ie(r);
6434
- return (l, s) => (f(), _("div", Ur, [
6438
+ return (l, s) => (g(), _("div", Ur, [
6435
6439
  w("div", jr, L(o(e)), 1),
6436
- o(t) ? (f(), _("div", Dr, [
6440
+ o(t) ? (g(), _("div", Dr, [
6437
6441
  ae(l.$slots, "default")
6438
6442
  ])) : Q("", !0)
6439
6443
  ]));
@@ -6454,7 +6458,7 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6454
6458
  u(), i(), n.resize(t.value, c);
6455
6459
  }), xe(() => {
6456
6460
  n.dispose();
6457
- }), (p, h) => (f(), _("div", {
6461
+ }), (p, h) => (g(), _("div", {
6458
6462
  class: "ha-fill",
6459
6463
  ref_key: "fillRef",
6460
6464
  ref: t,
@@ -6470,52 +6474,52 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6470
6474
  },
6471
6475
  emits: ["scroll"],
6472
6476
  setup(d, { expose: r, emit: e }) {
6473
- 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) => {
6474
- 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)
6475
6479
  return 0;
6476
- let q = g - h;
6477
- return U / q;
6480
+ let W = f - h;
6481
+ return U / W;
6478
6482
  }, j = (U) => {
6479
- let q = h - $.value.height;
6480
- return U / q;
6483
+ let W = h - A.value.height;
6484
+ return U / W;
6481
6485
  }, M = () => {
6482
- if (g == 0)
6486
+ if (f == 0)
6483
6487
  return 80;
6484
- let U = h / g;
6488
+ let U = h / f;
6485
6489
  if (U == 1)
6486
6490
  return 0;
6487
- let q = h * U;
6488
- return m.math.between(q, 80, 500);
6489
- }, N = (U, q) => {
6490
- let K = k(U), T = (h - q) * K;
6491
- 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);
6492
6496
  }, x = (U) => {
6493
- let q = M();
6494
- return { top: N(U, q), height: q };
6497
+ let W = M();
6498
+ return { top: N(U, W), height: W };
6495
6499
  }, P = (U) => {
6496
6500
  }, H = (U) => {
6497
- let q = k(U);
6498
- le(q);
6501
+ let W = k(U);
6502
+ le(W);
6499
6503
  }, le = (U) => {
6500
- let q = m.math.between(U, 0, 1), K = h - $.value.height;
6501
- $.value.top = K * q;
6502
- 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;
6503
6507
  s.value.scrollTop = C, u.value.scrollTop != C && (u.value.scrollTop = C);
6504
6508
  }, te = (U) => {
6505
- let q = U.target, K = k(q.scrollTop);
6506
- le(K), t("scroll", q);
6509
+ let W = U.target, K = k(W.scrollTop);
6510
+ le(K), t("scroll", W);
6507
6511
  }, I = () => {
6508
6512
  let U = s.value.scrollTop;
6509
- $.value = x(U), H(U);
6513
+ A.value = x(U), H(U);
6510
6514
  }, Z = (U) => {
6511
- h = m.dom.getHeight(u.value), g = u.value.scrollHeight;
6512
- let q = M();
6513
- $.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);
6514
6518
  }, O = (U) => {
6515
- let q = U.target;
6516
- return parseInt(q.style.top);
6517
- }, Y = (U, q, K, T) => {
6518
- 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);
6519
6523
  le(R);
6520
6524
  }, se = (U) => {
6521
6525
  p.value = !0;
@@ -6526,10 +6530,10 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6526
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);
6527
6531
  }), xe(() => {
6528
6532
  y.dispose();
6529
- }), me(() => s.value.scrollTop, (U, q) => {
6533
+ }), me(() => s.value.scrollTop, (U, W) => {
6530
6534
  let K = k(U);
6531
6535
  le(K);
6532
- }), r({ scrollTo: H, update: I }), (U, q) => (f(), _("div", {
6536
+ }), r({ scrollTo: H, update: I }), (U, W) => (g(), _("div", {
6533
6537
  ref_key: "scrollerRef",
6534
6538
  ref: n,
6535
6539
  class: ce(["ha-scroller", { hover: o(p) }])
@@ -6545,19 +6549,19 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6545
6549
  ref_key: "trackRef",
6546
6550
  ref: i,
6547
6551
  class: "scroller-track",
6548
- onClick: q[0] || (q[0] = //@ts-ignore
6552
+ onClick: W[0] || (W[0] = //@ts-ignore
6549
6553
  (...K) => o(P) && o(P)(...K))
6550
6554
  }, [
6551
6555
  w("div", {
6552
6556
  ref_key: "thumbRef",
6553
6557
  ref: c,
6554
6558
  class: "scroller-thumb",
6555
- style: we({ top: `${o($).top}px`, height: `${o($).height}px` })
6559
+ style: we({ top: `${o(A).top}px`, height: `${o(A).height}px` })
6556
6560
  }, L(o(s).scrollTop), 5)
6557
6561
  ], 512)
6558
6562
  ], 2));
6559
6563
  }
6560
- }), $i = /* @__PURE__ */ X({
6564
+ }), Ai = /* @__PURE__ */ X({
6561
6565
  __name: "Timer",
6562
6566
  emits: ["change"],
6563
6567
  setup(d, { expose: r, emit: e }) {
@@ -6574,8 +6578,8 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6574
6578
  };
6575
6579
  return xe(() => {
6576
6580
  clearInterval(n);
6577
- }), r({ restart: c, start: i, stop: p, reset: h }), (g, y) => (f(), _("span", null, [
6578
- ae(g.$slots, "default"),
6581
+ }), r({ restart: c, start: i, stop: p, reset: h }), (f, y) => (g(), _("span", null, [
6582
+ ae(f.$slots, "default"),
6579
6583
  G(L(o(m).time.format(o(s), "HH:mm:ss SSS")), 1)
6580
6584
  ]));
6581
6585
  }
@@ -6586,11 +6590,11 @@ const Ur = { class: "ha-empty" }, jr = { class: "empty-message" }, Dr = {
6586
6590
  return e;
6587
6591
  }, Lr = {}, Ir = { class: "ha-card" };
6588
6592
  function Or(d, r) {
6589
- return f(), _("div", Ir, [
6593
+ return g(), _("div", Ir, [
6590
6594
  ae(d.$slots, "default")
6591
6595
  ]);
6592
6596
  }
6593
- const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6597
+ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), $i = /* @__PURE__ */ X({
6594
6598
  __name: "Code",
6595
6599
  props: {
6596
6600
  options: { default: {} },
@@ -6599,13 +6603,13 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6599
6603
  },
6600
6604
  emits: ["mounted", "change", "scroll", "update:modelValue"],
6601
6605
  setup(d, { expose: r, emit: e }) {
6602
- 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) => {
6603
6607
  h.completion != null && h.completion.dispose();
6604
6608
  let O = m.array.distinct(Z, (Y) => Y);
6605
6609
  h.completion = k(I, O);
6606
6610
  }, k = (I, Z) => I == null || i == null ? null : i.languages.registerCompletionItemProvider(I, {
6607
6611
  provideCompletionItems: (Y, se) => {
6608
- 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 = [];
6609
6613
  for (let K = 0; K < Z.length; K++) {
6610
6614
  let T = Z[K], C = {
6611
6615
  label: T,
@@ -6614,9 +6618,9 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6614
6618
  detail: T,
6615
6619
  range: U
6616
6620
  };
6617
- q.push(C);
6621
+ W.push(C);
6618
6622
  }
6619
- return { suggestions: q };
6623
+ return { suggestions: W };
6620
6624
  }
6621
6625
  }), j = async (I) => {
6622
6626
  let Z = V.config.editor.intelli;
@@ -6634,7 +6638,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6634
6638
  const O = ["builtinFunctions", "keywords", "operators"];
6635
6639
  return i.languages.registerCompletionItemProvider(I, {
6636
6640
  provideCompletionItems: (se, D) => {
6637
- 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 = [];
6638
6642
  for (let T of O) {
6639
6643
  let C = Z.language[T];
6640
6644
  if (C == null)
@@ -6645,7 +6649,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6645
6649
  let Se = ge.toLowerCase(), ot = {
6646
6650
  label: Se,
6647
6651
  documentation: ge,
6648
- range: q,
6652
+ range: W,
6649
6653
  kind: R,
6650
6654
  insertText: Se + ne,
6651
6655
  detail: v
@@ -6663,11 +6667,11 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6663
6667
  let U = se.getWordAtPosition(D);
6664
6668
  if (!U)
6665
6669
  return null;
6666
- for (let q of O) {
6667
- let K = Z.language[q];
6670
+ for (let W of O) {
6671
+ let K = Z.language[W];
6668
6672
  if (K == null || K.find((R) => R == U.word.toUpperCase()) == null)
6669
6673
  continue;
6670
- let C = x(q);
6674
+ let C = x(W);
6671
6675
  return {
6672
6676
  range: new i.Range(D.lineNumber, D.lineNumber, U.startColumn, U.endColumn),
6673
6677
  contents: [
@@ -6683,7 +6687,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6683
6687
  let Z;
6684
6688
  return I == "keywords" ? Z = "关键词" : I == "operators" ? Z = "操作符" : Z = "函数", Z;
6685
6689
  }, P = (I) => I == "default" ? null : "vs-dark", H = async () => {
6686
- if (g.value == null)
6690
+ if (f.value == null)
6687
6691
  return;
6688
6692
  let I = null;
6689
6693
  s.value.schema && (I = s.value.category + "/" + m.string.getUniqueId(), V.config.tryAddSchema(I, s.value.category, s.value.schema));
@@ -6715,7 +6719,7 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6715
6719
  //根据父元素自动布局
6716
6720
  model: p
6717
6721
  };
6718
- 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);
6719
6723
  let se = s.value.selection;
6720
6724
  if (se) {
6721
6725
  let D = {
@@ -6756,11 +6760,11 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6756
6760
  return;
6757
6761
  let O = c.getModel();
6758
6762
  i.editor.setModelLanguage(O, I), await j(I);
6759
- }), 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, {
6760
6764
  default: b(() => [
6761
6765
  w("div", {
6762
6766
  ref_key: "editorRef",
6763
- ref: g,
6767
+ ref: f,
6764
6768
  class: ce(["ha-code", { border: o(n) }])
6765
6769
  }, null, 2)
6766
6770
  ]),
@@ -6777,8 +6781,8 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6777
6781
  },
6778
6782
  emits: ["update:modelValue", "update:original", "change"],
6779
6783
  setup(d, { emit: r }) {
6780
- 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) => {
6781
- 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, {
6782
6786
  originalEditable: !0,
6783
6787
  automaticLayout: !0,
6784
6788
  renderSideBySide: !l.value,
@@ -6787,8 +6791,8 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6787
6791
  }), i.setModel({ original: c, modified: p }), h = i.getOriginalEditor(), h.onDidChangeModelContent((P) => {
6788
6792
  let H = h.getValue();
6789
6793
  e("update:original", H), e("change", H);
6790
- }), g = i.getModifiedEditor(), g.onDidChangeModelContent((P) => {
6791
- let H = g.getValue();
6794
+ }), f = i.getModifiedEditor(), f.onDidChangeModelContent((P) => {
6795
+ let H = f.getValue();
6792
6796
  e("update:modelValue", H);
6793
6797
  });
6794
6798
  };
@@ -6809,24 +6813,24 @@ const Tt = /* @__PURE__ */ je(Lr, [["render", Or]]), Ai = /* @__PURE__ */ X({
6809
6813
  return;
6810
6814
  let H = p.getValue();
6811
6815
  x != H && p.setValue(x ?? "");
6812
- }), (x, P) => (f(), _("div", {
6816
+ }), (x, P) => (g(), _("div", {
6813
6817
  ref_key: "compareRef",
6814
- ref: $,
6818
+ ref: A,
6815
6819
  class: "ha-compare",
6816
6820
  style: we(o(k))
6817
6821
  }, null, 4));
6818
6822
  }
6819
6823
  }), Hr = {}, Pr = { class: "ha-input" };
6820
6824
  function zr(d, r) {
6821
- return f(), _("div", Pr, r[0] || (r[0] = [
6825
+ return g(), _("div", Pr, r[0] || (r[0] = [
6822
6826
  w("input", { type: "text" }, null, -1)
6823
6827
  ]));
6824
6828
  }
6825
6829
  const Ri = /* @__PURE__ */ je(Hr, [["render", zr]]), Br = {}, Nr = { class: "ha-option" };
6826
6830
  function Fr(d, r) {
6827
- return f(), _("div", Nr, "选项");
6831
+ return g(), _("div", Nr, "选项");
6828
6832
  }
6829
- 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({
6830
6834
  __name: "RichText",
6831
6835
  props: /* @__PURE__ */ Ce({
6832
6836
  options: {}
@@ -6836,7 +6840,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6836
6840
  }),
6837
6841
  emits: /* @__PURE__ */ Ce(["change", "scroll"], ["update:modelValue"]),
6838
6842
  setup(d, { expose: r, emit: e }) {
6839
- 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) => {
6840
6844
  let le = m.time.formatDate(), te = getSelection(), I = te.getRangeAt(0), Z = I.startContainer;
6841
6845
  if (Z.nodeName == "#text")
6842
6846
  Z.insertData(I.startOffset, le), I.setStart(Z, I.startOffset + le.length), te.removeAllRanges(), te.addRange(I);
@@ -6854,7 +6858,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6854
6858
  c = H, t("scroll", H);
6855
6859
  }, x = () => `height: calc(100% - ${m.dom.getHeight(y.value)}px)`, P = async () => {
6856
6860
  let H = await z.cdn.getQuill();
6857
- u = new H(g.value, {
6861
+ f.value != null && (u = new H(f.value, {
6858
6862
  modules: {
6859
6863
  toolbar: {
6860
6864
  container: y.value,
@@ -6862,16 +6866,14 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6862
6866
  }
6863
6867
  },
6864
6868
  theme: "snow"
6865
- }), k.value = !0, Ve(() => {
6866
- j.value.style = x();
6867
- }), 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) => {
6868
6870
  i.innerHTML != n.value && (p = !0, n.value = i.innerHTML);
6869
6871
  }), i.addEventListener("paste", (le) => {
6870
6872
  h = !0;
6871
- });
6873
+ }));
6872
6874
  };
6873
- return ye(() => {
6874
- P();
6875
+ return ye(async () => {
6876
+ await P();
6875
6877
  }), xe(() => {
6876
6878
  u = null;
6877
6879
  }), me(() => n.value, (H, le) => {
@@ -6880,7 +6882,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6880
6882
  H != null && (c == null ? void 0 : c.scrollTop) != H && Ve(() => {
6881
6883
  j.value.options.scrollTop = H;
6882
6884
  });
6883
- }), r({}), (H, le) => (f(), _("div", qr, [
6885
+ }), r({}), (H, le) => (g(), _("div", Wr, [
6884
6886
  gl(w("div", {
6885
6887
  ref_key: "toolbarRef",
6886
6888
  ref: y
@@ -6889,9 +6891,9 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6889
6891
  ]), 512), [
6890
6892
  [vl, o(k)]
6891
6893
  ]),
6892
- A(o(Vr), {
6894
+ $(o(Vr), {
6893
6895
  ref_key: "scrollerRef",
6894
- ref: $,
6896
+ ref: A,
6895
6897
  class: "ql-body",
6896
6898
  options: o(j).options,
6897
6899
  onScroll: o(N),
@@ -6900,7 +6902,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6900
6902
  default: b(() => [
6901
6903
  w("div", {
6902
6904
  ref_key: "editorRef",
6903
- ref: g
6905
+ ref: f
6904
6906
  }, null, 512)
6905
6907
  ]),
6906
6908
  _: 1
@@ -6909,7 +6911,7 @@ const Wr = /* @__PURE__ */ je(Br, [["render", Fr]]), qr = { class: "ha-rich-text
6909
6911
  }
6910
6912
  }), Kr = {}, Yr = { class: "ha-select" };
6911
6913
  function Jr(d, r) {
6912
- return f(), _("div", Yr, r[0] || (r[0] = [
6914
+ return g(), _("div", Yr, r[0] || (r[0] = [
6913
6915
  w("div", { class: "select-title" }, "头", -1),
6914
6916
  w("div", { class: "select-body" }, [
6915
6917
  w("input", { type: "text" })
@@ -6950,21 +6952,21 @@ const Xr = { class: "ha-condition" }, Qr = /* @__PURE__ */ X({
6950
6952
  },
6951
6953
  setup(d) {
6952
6954
  let r = d, { name: e, operator: t, value: l } = ie(r);
6953
- return (s, n) => (f(), _("div", Xr, [
6954
- A(o(ct), {
6955
+ return (s, n) => (g(), _("div", Xr, [
6956
+ $(o(ct), {
6955
6957
  modelValue: o(e),
6956
6958
  "onUpdate:modelValue": n[0] || (n[0] = (u) => _e(e) ? e.value = u : e = u)
6957
6959
  }, null, 8, ["modelValue"]),
6958
- A(o(ct), {
6960
+ $(o(ct), {
6959
6961
  modelValue: o(t),
6960
6962
  "onUpdate:modelValue": n[1] || (n[1] = (u) => _e(t) ? t.value = u : t = u)
6961
6963
  }, {
6962
6964
  default: b(() => [
6963
- A(o(Wr))
6965
+ $(o(qr))
6964
6966
  ]),
6965
6967
  _: 1
6966
6968
  }, 8, ["modelValue"]),
6967
- A(o(ct), {
6969
+ $(o(ct), {
6968
6970
  modelValue: o(l),
6969
6971
  "onUpdate:modelValue": n[2] || (n[2] = (u) => _e(l) ? l.value = u : l = u)
6970
6972
  }, null, 8, ["modelValue"])
@@ -6977,8 +6979,8 @@ const Xr = { class: "ha-condition" }, Qr = /* @__PURE__ */ X({
6977
6979
  },
6978
6980
  setup(d) {
6979
6981
  let r = d, { conditions: e } = ie(r);
6980
- return (t, l) => (f(), _("div", Gr, [
6981
- (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), {
6982
6984
  name: s.name,
6983
6985
  operator: s.operator,
6984
6986
  value: s.value
@@ -6987,7 +6989,7 @@ const Xr = { class: "ha-condition" }, Qr = /* @__PURE__ */ X({
6987
6989
  }
6988
6990
  }), Zr = {}, en = { class: "ha-col" };
6989
6991
  function tn(d, r) {
6990
- return f(), _("div", en, [
6992
+ return g(), _("div", en, [
6991
6993
  ae(d.$slots, "default")
6992
6994
  ]);
6993
6995
  }
@@ -6998,7 +7000,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
6998
7000
  },
6999
7001
  setup(d, { expose: r }) {
7000
7002
  let e = d, { container: t } = ie(e), l = S();
7001
- return r({ ref: l }), (s, n) => (f(), _("div", {
7003
+ return r({ ref: l }), (s, n) => (g(), _("div", {
7002
7004
  class: ce({ "ha-container": o(t) }),
7003
7005
  ref_key: "containerRef",
7004
7006
  ref: l
@@ -7017,7 +7019,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7017
7019
  let u = { gap: null };
7018
7020
  return t.value && (u.gap = t.value + "px"), u;
7019
7021
  });
7020
- return r({ ref: s }), (u, i) => (f(), _("div", {
7022
+ return r({ ref: s }), (u, i) => (g(), _("div", {
7021
7023
  ref_key: "rowRef",
7022
7024
  ref: s,
7023
7025
  class: ce(["ha-row", o(l)]),
@@ -7056,7 +7058,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7056
7058
  clearInterval(l);
7057
7059
  }), me(() => r.value, (u, i) => {
7058
7060
  u ? s() : n();
7059
- }), (u, i) => o(e) ? (f(), _("div", {
7061
+ }), (u, i) => o(e) ? (g(), _("div", {
7060
7062
  key: 0,
7061
7063
  class: "ha-progress",
7062
7064
  style: we({ width: o(t) + "%" })
@@ -7069,7 +7071,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7069
7071
  },
7070
7072
  setup(d) {
7071
7073
  let r = d, { type: e } = ie(r);
7072
- return (t, l) => (f(), _("div", {
7074
+ return (t, l) => (g(), _("div", {
7073
7075
  class: ce(["progress-tip", o(e)])
7074
7076
  }, [
7075
7077
  ae(t.$slots, "default")
@@ -7084,13 +7086,13 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7084
7086
  },
7085
7087
  setup(d) {
7086
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));
7087
- return (i, c) => (f(), _("div", {
7089
+ return (i, c) => (g(), _("div", {
7088
7090
  class: ce(["ha-socket-progress", {
7089
7091
  error: o(l).errored > 0 && o(l).errored == o(l).handled,
7090
7092
  warning: o(l).errored > 0 && o(l).errored < o(l).handled
7091
7093
  }])
7092
7094
  }, [
7093
- A(o(Tt), { class: "progress-chart" }, {
7095
+ $(o(Tt), { class: "progress-chart" }, {
7094
7096
  default: b(() => {
7095
7097
  var p;
7096
7098
  return [
@@ -7100,8 +7102,8 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7100
7102
  style: we({ width: o(s) + "%" })
7101
7103
  }, null, 4),
7102
7104
  w("div", nn, [
7103
- o(e) ? (f(), _("div", on, L(o(e)) + ":" + L(((p = o(l).current) == null ? void 0 : p[o(t)]) ?? "-"), 1)) : Q("", !0),
7104
- 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),
7105
7107
  w("div", null, "进度:" + L(o(n)), 1)
7106
7108
  ])
7107
7109
  ]),
@@ -7110,15 +7112,15 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7110
7112
  }),
7111
7113
  _: 1
7112
7114
  }),
7113
- A(o(Tt), { class: "progress-tips" }, {
7115
+ $(o(Tt), { class: "progress-tips" }, {
7114
7116
  default: b(() => [
7115
- A(o(Rt), { type: "success" }, {
7117
+ $(o(Rt), { type: "success" }, {
7116
7118
  default: b(() => [
7117
7119
  G("成功 " + L(o(l).succeed ?? "-"), 1)
7118
7120
  ]),
7119
7121
  _: 1
7120
7122
  }),
7121
- A(o(Rt), { type: "error" }, {
7123
+ $(o(Rt), { type: "error" }, {
7122
7124
  default: b(() => [
7123
7125
  G("异常 " + L(o(l).errored ?? "-"), 1)
7124
7126
  ]),
@@ -7152,7 +7154,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7152
7154
  let e = r, t = d, { title: l, content: s } = ie(t), n = () => {
7153
7155
  e("retry");
7154
7156
  };
7155
- return (u, i) => o(l) || o(s) ? (f(), _("div", cn, [
7157
+ return (u, i) => o(l) || o(s) ? (g(), _("div", cn, [
7156
7158
  w("div", dn, [
7157
7159
  G(L(o(l)), 1),
7158
7160
  w("a", {
@@ -7161,10 +7163,10 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7161
7163
  (...c) => o(n) && o(n)(...c))
7162
7164
  }, L(o(E).t("common.retry")), 1)
7163
7165
  ]),
7164
- o(s) ? (f(), _("div", pn, [
7166
+ o(s) ? (g(), _("div", pn, [
7165
7167
  w("div", mn, L(o(s)), 1)
7166
7168
  ])) : Q("", !0)
7167
- ])) : (f(), _("div", hn, [
7169
+ ])) : (g(), _("div", hn, [
7168
7170
  w("div", fn, [
7169
7171
  i[1] || (i[1] = w("div", { class: "spinner-dots" }, [
7170
7172
  w("i"),
@@ -7183,7 +7185,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7183
7185
  destroy: { type: Boolean }
7184
7186
  },
7185
7187
  setup(d) {
7186
- 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] = [
7187
7189
  w("div", { class: "tab-header" }, null, -1),
7188
7190
  w("div", { class: "tab-body" }, null, -1)
7189
7191
  ])));
@@ -7196,8 +7198,8 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7196
7198
  },
7197
7199
  setup(d) {
7198
7200
  let r = d, { text: e, delay: t } = ie(r);
7199
- return (l, s) => (f(), _("div", bn, [
7200
- (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", {
7201
7203
  class: "char",
7202
7204
  style: we({ animationDelay: `${o(t) + u * 0.1}s` })
7203
7205
  }, L(n), 5))), 256))
@@ -7205,7 +7207,7 @@ const Di = /* @__PURE__ */ je(Zr, [["render", tn]]), ln = /* @__PURE__ */ X({
7205
7207
  }
7206
7208
  });
7207
7209
  let wn = async (d) => {
7208
- let r = await Ar(d);
7210
+ let r = await $r(d);
7209
7211
  await Tr(r), await Rr(r), await Er();
7210
7212
  };
7211
7213
  class _n extends Ft {
@@ -7257,13 +7259,13 @@ class _n extends Ft {
7257
7259
  }
7258
7260
  }
7259
7261
  let kn = new _n(), xn = [
7260
- { path: "/install", component: () => import("./Install-CtxfqAO3.js") },
7261
- { path: "/login", component: () => import("./Index-Bc885wCg.js") },
7262
- { path: "/register", component: () => import("./Register-BEqrc8hq.js") },
7263
- { path: "/maintaince", component: () => import("./Maintaince-D8nnelGo.js") },
7264
- { path: "/sso/callback", component: () => import("./Callback-C9dcX6B1.js") },
7262
+ { path: "/install", component: () => import("./Install-WcZL3to7.js") },
7263
+ { path: "/login", component: () => import("./Index-D685f1Kv.js") },
7264
+ { path: "/register", component: () => import("./Register-nJSRScaV.js") },
7265
+ { path: "/maintaince", component: () => import("./Maintaince-BQw0atZc.js") },
7266
+ { path: "/sso/callback", component: () => import("./Callback-wqSA4EN3.js") },
7265
7267
  //优先匹配自定义路由,自定义路由匹配不到后,再使用框架页面
7266
- { path: "/:pathMatch(.*)*", component: () => import("./Index-D2z02wQR.js") }
7268
+ { path: "/:pathMatch(.*)*", component: () => import("./Index-obMYdEFM.js") }
7267
7269
  ], Cn = () => ({
7268
7270
  /**
7269
7271
  * 安装路由
@@ -7284,8 +7286,8 @@ class Sn {
7284
7286
  /**
7285
7287
  * 初始化
7286
7288
  */
7287
- async useGlobal(r) {
7288
- 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) => {
7289
7291
  let l = e.message, s = t.$el;
7290
7292
  throw s && s.className && (l += ` 对应dom类: .${s.className}`), V.log.add("error", l, e.stack), e;
7291
7293
  };
@@ -7300,7 +7302,7 @@ class Sn {
7300
7302
  * 注册自定义组件
7301
7303
  */
7302
7304
  useComponents(r, e, t, l) {
7303
- Ae.register(r, e, t, l);
7305
+ $e.register(r, e, t, l);
7304
7306
  }
7305
7307
  //#region 多语言
7306
7308
  /**
@@ -7308,18 +7310,18 @@ class Sn {
7308
7310
  */
7309
7311
  async switchI18n(r) {
7310
7312
  if (await z.i18n.switch(r), r == "zh-cn") {
7311
- this.locale = $l;
7313
+ this.locale = Al;
7312
7314
  return;
7313
7315
  }
7314
7316
  if (r == "en") {
7315
- this.locale = Al;
7317
+ this.locale = $l;
7316
7318
  return;
7317
7319
  }
7318
7320
  r == "hu" && (this.locale = Tl);
7319
7321
  }
7320
7322
  //#endregion
7321
7323
  }
7322
- class $n {
7324
+ class An {
7323
7325
  constructor() {
7324
7326
  /**
7325
7327
  * 目前系统中正在运行的首页组件
@@ -7334,7 +7336,7 @@ class $n {
7334
7336
  * 初始化&注册全局组件
7335
7337
  */
7336
7338
  init(r) {
7337
- this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-DgFlfrlw.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-BcN7P3LU.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-CH-09RQo.js"), "../coms/controls/Code.vue": () => import("./Code-CrvLGEo5.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-XBeUE_oP.js"), "../coms/controls/Date.vue": () => import("./Date-Io0GMIId.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-Bicvl-i6.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-BUlLMG98.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-xdRZUB_0.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-jCNrrtE_.js"), "../coms/controls/Image.vue": () => import("./Image-BuIQZBI0.js"), "../coms/controls/Index.vue": () => import("./Index-YjX8nj4V.js"), "../coms/controls/Int.vue": () => import("./Int-Dv3KX05l.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-QAO2ipkS.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-DY94cZ2e.js"), "../coms/controls/Select.vue": () => import("./Select-B8Xp8-rE.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-CzGqM27Q.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-DPxLsj9O.js"), "../coms/controls/Upload.vue": () => import("./Upload-B9XCz3bT.js"), "../coms/controls/Year.vue": () => import("./Year-BevjziW3.js") }), "../../halo-pc/coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-DXZBssWK.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-QiyPJDqx.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-Upwpxjpr.js"), "../coms/lists/Stock.vue": () => import("./Stock-BpdLiCul.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-BU9faLDr.js"), "../coms/lists/Tree.vue": () => import("./Tree-CpIKPHbi.js") }), "../../halo-pc/coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-CgBdjIiN.js"), "../coms/pagings/Code.vue": () => import("./Code-5slnxo1r.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-Cu_ez4M5.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-DuRXwErL.js"), "../coms/pagings/File.vue": () => import("./File-D684-dxC.js"), "../coms/pagings/Index.vue": () => import("./Index-DTLxqhHl.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-CvtR1Y-R.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-QdTf7BZz.js"), "../coms/pagings/Table.vue": () => import("./Table-Att1iZnB.js") }), "../../halo-pc/coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-CQgpF0yB.js"), "../coms/partials/Detail.vue": () => import("./Detail-Br_oSFNw.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-C0EI7M3f.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-CPfxJWuj.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-wco-oEhY.js"), "../coms/partials/Update.vue": () => import("./Update-H4Zle84Q.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-DuqJCDPa.js") }), "../../halo-pc/coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-CIoDe0Cb.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-D4jExz5J.js"), "../coms/searches/Index.vue": () => import("./Index-D7fzu-sd.js"), "../coms/searches/Int.vue": () => import("./Int-BLmQOjFT.js"), "../coms/searches/Month.vue": () => import("./Month-Dhn96RJ2.js"), "../coms/searches/Select.vue": () => import("./Select-BbPoEuw5.js"), "../coms/searches/Text.vue": () => import("./Text-D2UzSOZb.js") }), "../../halo-pc/coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-D-Hs0Pj8.js"), "../coms/singles/Comment.vue": () => import("./Comment-DSsfU7-w.js"), "../coms/singles/Index.vue": () => import("./Index-BPXHfQbj.js"), "../coms/singles/Normal.vue": () => import("./Normal-C7B943d8.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-BChGRcOv.js"), "../coms/singles/Table.vue": () => import("./Table-pn4rLYpp.js"), "../coms/singles/Tree.vue": () => import("./Tree-3s6Uh9XM.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-UmT5nRcK.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-BxyKLu5C.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-DWFOyxzg.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-BiQQ5MaS.js"), "../coms/texts/Code.vue": () => import("./Code-ClrELJ2j.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-qEx-qmMH.js"), "../coms/texts/Copy.vue": () => import("./Copy-DncOGTUm.js"), "../coms/texts/Date.vue": () => import("./Date-D-_0V2lO.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-nW23mYp3.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-B517xq6Q.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-SAj5746i.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-BXFQJnHG.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-DBNzs4Da.js"), "../coms/texts/Month.vue": () => import("./Month-B6vRAk_T.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-CQSqmMxQ.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-C4icorgZ.js"), "../coms/texts/Switch.vue": () => import("./Switch-BCKaAWlg.js"), "../coms/texts/Text.vue": () => import("./Text-B-oDttNr.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-D9a0Lnkd.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-CSNFeGpg.js"), "../coms/texts/Upload.vue": () => import("./Upload-Bb4jkwYw.js"), "../coms/texts/Year.vue": () => import("./Year-OULHImI3.js") }), "../../halo-pc/coms/texts/", "text"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-DgFlfrlw.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-BcN7P3LU.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-CH-09RQo.js"), "../coms/controls/Code.vue": () => import("./Code-CrvLGEo5.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-XBeUE_oP.js"), "../coms/controls/Date.vue": () => import("./Date-Io0GMIId.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-Bicvl-i6.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-BUlLMG98.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-xdRZUB_0.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-jCNrrtE_.js"), "../coms/controls/Image.vue": () => import("./Image-BuIQZBI0.js"), "../coms/controls/Index.vue": () => import("./Index-YjX8nj4V.js"), "../coms/controls/Int.vue": () => import("./Int-Dv3KX05l.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-QAO2ipkS.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-DY94cZ2e.js"), "../coms/controls/Select.vue": () => import("./Select-B8Xp8-rE.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-CzGqM27Q.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-DPxLsj9O.js"), "../coms/controls/Upload.vue": () => import("./Upload-B9XCz3bT.js"), "../coms/controls/Year.vue": () => import("./Year-BevjziW3.js") }), "../coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-DXZBssWK.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-QiyPJDqx.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-Upwpxjpr.js"), "../coms/lists/Stock.vue": () => import("./Stock-BpdLiCul.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-BU9faLDr.js"), "../coms/lists/Tree.vue": () => import("./Tree-CpIKPHbi.js") }), "../coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-CgBdjIiN.js"), "../coms/pagings/Code.vue": () => import("./Code-5slnxo1r.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-Cu_ez4M5.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-DuRXwErL.js"), "../coms/pagings/File.vue": () => import("./File-D684-dxC.js"), "../coms/pagings/Index.vue": () => import("./Index-DTLxqhHl.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-CvtR1Y-R.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-QdTf7BZz.js"), "../coms/pagings/Table.vue": () => import("./Table-Att1iZnB.js") }), "../coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-CQgpF0yB.js"), "../coms/partials/Detail.vue": () => import("./Detail-Br_oSFNw.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-C0EI7M3f.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-CPfxJWuj.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-wco-oEhY.js"), "../coms/partials/Update.vue": () => import("./Update-H4Zle84Q.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-DuqJCDPa.js") }), "../coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-CIoDe0Cb.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-D4jExz5J.js"), "../coms/searches/Index.vue": () => import("./Index-D7fzu-sd.js"), "../coms/searches/Int.vue": () => import("./Int-BLmQOjFT.js"), "../coms/searches/Month.vue": () => import("./Month-Dhn96RJ2.js"), "../coms/searches/Select.vue": () => import("./Select-BbPoEuw5.js"), "../coms/searches/Text.vue": () => import("./Text-D2UzSOZb.js") }), "../coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-D-Hs0Pj8.js"), "../coms/singles/Comment.vue": () => import("./Comment-DSsfU7-w.js"), "../coms/singles/Index.vue": () => import("./Index-BPXHfQbj.js"), "../coms/singles/Normal.vue": () => import("./Normal-C7B943d8.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-BChGRcOv.js"), "../coms/singles/Table.vue": () => import("./Table-pn4rLYpp.js"), "../coms/singles/Tree.vue": () => import("./Tree-3s6Uh9XM.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-UmT5nRcK.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-BxyKLu5C.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-DWFOyxzg.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-BiQQ5MaS.js"), "../coms/texts/Code.vue": () => import("./Code-ClrELJ2j.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-qEx-qmMH.js"), "../coms/texts/Copy.vue": () => import("./Copy-DncOGTUm.js"), "../coms/texts/Date.vue": () => import("./Date-D-_0V2lO.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-nW23mYp3.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-B517xq6Q.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-SAj5746i.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-BXFQJnHG.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-DBNzs4Da.js"), "../coms/texts/Month.vue": () => import("./Month-B6vRAk_T.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-CQSqmMxQ.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-C4icorgZ.js"), "../coms/texts/Switch.vue": () => import("./Switch-BCKaAWlg.js"), "../coms/texts/Text.vue": () => import("./Text-B-oDttNr.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-D9a0Lnkd.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-CSNFeGpg.js"), "../coms/texts/Upload.vue": () => import("./Upload-Bb4jkwYw.js"), "../coms/texts/Year.vue": () => import("./Year-OULHImI3.js") }), "../coms/texts/", "text");
7339
+ this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-Q3OkxnH8.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-B5o35bD-.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-tcEMouFN.js"), "../coms/controls/Code.vue": () => import("./Code-CSG_76gb.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-BlljQWBQ.js"), "../coms/controls/Date.vue": () => import("./Date-y8lv76Ti.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-9l5EKIRZ.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-zKghiAk2.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-Cr-79y7b.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-BVtRKSv8.js"), "../coms/controls/Image.vue": () => import("./Image-B8VvAEMa.js"), "../coms/controls/Index.vue": () => import("./Index-DJ2ND4KV.js"), "../coms/controls/Int.vue": () => import("./Int-CPxmN0qt.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-6D6vdfJC.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-BSEex9vi.js"), "../coms/controls/Select.vue": () => import("./Select-CQ_TxlNj.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-FyUgw6pa.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-C-JUjwi8.js"), "../coms/controls/Upload.vue": () => import("./Upload-BlfGPW_P.js"), "../coms/controls/Year.vue": () => import("./Year-DPxI6hSz.js") }), "../../halo-pc/coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-C6dp4mkt.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-DBnlIYrB.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-3f4cg0DO.js"), "../coms/lists/Stock.vue": () => import("./Stock-BxuVocRF.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-Dbsp0dPk.js"), "../coms/lists/Tree.vue": () => import("./Tree-DlFsf1Gd.js") }), "../../halo-pc/coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-B84VAixe.js"), "../coms/pagings/Code.vue": () => import("./Code-B8hfY2XQ.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-D7-nyu-l.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-96EzerQu.js"), "../coms/pagings/File.vue": () => import("./File-Bs5dU1Rk.js"), "../coms/pagings/Index.vue": () => import("./Index-a2WnGLAL.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-oOFoOTk1.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-CCVpMhNk.js"), "../coms/pagings/Table.vue": () => import("./Table-Di9JNqC9.js") }), "../../halo-pc/coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-BFYLnY72.js"), "../coms/partials/Detail.vue": () => import("./Detail-OI8hYejW.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-8CKCL1q6.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-F5IPq91q.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-CTZlylIy.js"), "../coms/partials/Update.vue": () => import("./Update-BqArDw4q.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-Yr4m-kiB.js") }), "../../halo-pc/coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-CHDWK1KM.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-ZEsMdoWi.js"), "../coms/searches/Index.vue": () => import("./Index-BYH7c7Hy.js"), "../coms/searches/Int.vue": () => import("./Int-B99qgq5f.js"), "../coms/searches/Month.vue": () => import("./Month-Bwd88sLJ.js"), "../coms/searches/Select.vue": () => import("./Select-DQ0f_-u3.js"), "../coms/searches/Text.vue": () => import("./Text-PeCT9_s1.js") }), "../../halo-pc/coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-C8JJr5Mf.js"), "../coms/singles/Comment.vue": () => import("./Comment-D3zPuZVm.js"), "../coms/singles/Index.vue": () => import("./Index-TOHKeKua.js"), "../coms/singles/Normal.vue": () => import("./Normal-Cxw9cBLO.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-BPNKPUgt.js"), "../coms/singles/Table.vue": () => import("./Table-D3qblu6c.js"), "../coms/singles/Tree.vue": () => import("./Tree-mio6VZmh.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-CSM6pR_L.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-B1k72pm-.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-BdlGL8c4.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-KPwXReus.js"), "../coms/texts/Code.vue": () => import("./Code-r99zTgST.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-C-9GBrHI.js"), "../coms/texts/Copy.vue": () => import("./Copy-Cgj_WDDG.js"), "../coms/texts/Date.vue": () => import("./Date-ZmCWntv9.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-B9zYybXS.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-BDa8NVPH.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-B7Gs8ERP.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-BZeCjjCo.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-BJk-Of5I.js"), "../coms/texts/Month.vue": () => import("./Month-BMfk3ogI.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-0IqsFkR2.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-a4eRzEy4.js"), "../coms/texts/Switch.vue": () => import("./Switch-C2Em1D_A.js"), "../coms/texts/Text.vue": () => import("./Text-DppspAOA.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-BVcttEr4.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-DVkIU8L2.js"), "../coms/texts/Upload.vue": () => import("./Upload-CkBfWTxs.js"), "../coms/texts/Year.vue": () => import("./Year-CyY0Wspy.js") }), "../../halo-pc/coms/texts/", "text"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/controls/Autocomplete.vue": () => import("./Autocomplete-Q3OkxnH8.js"), "../coms/controls/Cascader.vue": () => import("./Cascader-B5o35bD-.js"), "../coms/controls/Checkbox.vue": () => import("./Checkbox-tcEMouFN.js"), "../coms/controls/Code.vue": () => import("./Code-CSG_76gb.js"), "../coms/controls/Color.vue": () => import("./Color-Da69pnQg.js"), "../coms/controls/Compare.vue": () => import("./Compare-BlljQWBQ.js"), "../coms/controls/Date.vue": () => import("./Date-y8lv76Ti.js"), "../coms/controls/DateRange.vue": () => import("./DateRange-9l5EKIRZ.js"), "../coms/controls/DateTime.vue": () => import("./DateTime-zKghiAk2.js"), "../coms/controls/DateTimeRange.vue": () => import("./DateTimeRange-Cr-79y7b.js"), "../coms/controls/Decimal.vue": () => import("./Decimal-C38-N54B.js"), "../coms/controls/Email.vue": () => import("./Email-BVtRKSv8.js"), "../coms/controls/Image.vue": () => import("./Image-B8VvAEMa.js"), "../coms/controls/Index.vue": () => import("./Index-DJ2ND4KV.js"), "../coms/controls/Int.vue": () => import("./Int-CPxmN0qt.js"), "../coms/controls/Markdown.vue": () => import("./Markdown-BzMP3m7o.js"), "../coms/controls/Month.vue": () => import("./Month-6D6vdfJC.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-BSEex9vi.js"), "../coms/controls/Select.vue": () => import("./Select-CQ_TxlNj.js"), "../coms/controls/Switch.vue": () => import("./Switch-DhFaku5L.js"), "../coms/controls/Text.vue": () => import("./Text-FyUgw6pa.js"), "../coms/controls/Textarea.vue": () => import("./Textarea-D9TgF9ig.js"), "../coms/controls/Time.vue": () => import("./Time-C-JUjwi8.js"), "../coms/controls/Upload.vue": () => import("./Upload-BlfGPW_P.js"), "../coms/controls/Year.vue": () => import("./Year-DPxI6hSz.js") }), "../coms/controls/", "control"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/lists/Calender.vue": () => import("./Calender-C6dp4mkt.js"), "../coms/lists/Racebar.vue": () => import("./Racebar-DBnlIYrB.js"), "../coms/lists/Statistic.vue": () => import("./Statistic-3f4cg0DO.js"), "../coms/lists/Stock.vue": () => import("./Stock-BxuVocRF.js"), "../coms/lists/Timeline.vue": () => import("./Timeline-Dbsp0dPk.js"), "../coms/lists/Tree.vue": () => import("./Tree-DlFsf1Gd.js") }), "../coms/lists/", "list"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/pagings/Article.vue": () => import("./Article-B84VAixe.js"), "../coms/pagings/Code.vue": () => import("./Code-B8hfY2XQ.js"), "../coms/pagings/DataExport.vue": () => import("./DataExport-D7-nyu-l.js"), "../coms/pagings/DataImport.vue": () => import("./DataImport-96EzerQu.js"), "../coms/pagings/File.vue": () => import("./File-Bs5dU1Rk.js"), "../coms/pagings/Index.vue": () => import("./Index-a2WnGLAL.js"), "../coms/pagings/SearchForm.vue": () => import("./SearchForm-oOFoOTk1.js"), "../coms/pagings/SearchHeader.vue": () => import("./SearchHeader-CCVpMhNk.js"), "../coms/pagings/Table.vue": () => import("./Table-Di9JNqC9.js") }), "../coms/pagings/", "paging"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/partials/ArticleFooter.vue": () => import("./ArticleFooter-BFYLnY72.js"), "../coms/partials/Detail.vue": () => import("./Detail-OI8hYejW.js"), "../coms/partials/PagingHeader.vue": () => import("./PagingHeader-8CKCL1q6.js"), "../coms/partials/PagingRow.vue": () => import("./PagingRow-F5IPq91q.js"), "../coms/partials/TreeNode.vue": () => import("./TreeNode-CTZlylIy.js"), "../coms/partials/Update.vue": () => import("./Update-BqArDw4q.js"), "../coms/partials/UpdateChild.vue": () => import("./UpdateChild-Yr4m-kiB.js") }), "../coms/partials/", "partial"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/searches/Autocomplete.vue": () => import("./Autocomplete-CHDWK1KM.js"), "../coms/searches/Daterange.vue": () => import("./Daterange-ZEsMdoWi.js"), "../coms/searches/Index.vue": () => import("./Index-BYH7c7Hy.js"), "../coms/searches/Int.vue": () => import("./Int-B99qgq5f.js"), "../coms/searches/Month.vue": () => import("./Month-Bwd88sLJ.js"), "../coms/searches/Select.vue": () => import("./Select-DQ0f_-u3.js"), "../coms/searches/Text.vue": () => import("./Text-PeCT9_s1.js") }), "../coms/searches/", "search"), this.register(r, /* @__PURE__ */ Object.assign({ "../coms/singles/Code.vue": () => import("./Code-C8JJr5Mf.js"), "../coms/singles/Comment.vue": () => import("./Comment-D3zPuZVm.js"), "../coms/singles/Index.vue": () => import("./Index-TOHKeKua.js"), "../coms/singles/Normal.vue": () => import("./Normal-Cxw9cBLO.js"), "../coms/singles/Statistic.vue": () => import("./Statistic-Dxa-CZ8G.js"), "../coms/singles/Stock.vue": () => import("./Stock-BPNKPUgt.js"), "../coms/singles/Table.vue": () => import("./Table-D3qblu6c.js"), "../coms/singles/Tree.vue": () => import("./Tree-mio6VZmh.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-CSM6pR_L.js"), "../coms/texts/CSharp.vue": () => import("./CSharp-B1k72pm-.js"), "../coms/texts/Cascader.vue": () => import("./Cascader-BdlGL8c4.js"), "../coms/texts/Checkbox.vue": () => import("./Checkbox-KPwXReus.js"), "../coms/texts/Code.vue": () => import("./Code-r99zTgST.js"), "../coms/texts/Color.vue": () => import("./Color-CfXtJFUo.js"), "../coms/texts/Compare.vue": () => import("./Compare-C-9GBrHI.js"), "../coms/texts/Copy.vue": () => import("./Copy-Cgj_WDDG.js"), "../coms/texts/Date.vue": () => import("./Date-ZmCWntv9.js"), "../coms/texts/DateRange.vue": () => import("./DateRange-DrYK_l0Y.js"), "../coms/texts/DateTime.vue": () => import("./DateTime-B9zYybXS.js"), "../coms/texts/Decimal.vue": () => import("./Decimal-BDa8NVPH.js"), "../coms/texts/Dictionary.vue": () => import("./Dictionary-B7Gs8ERP.js"), "../coms/texts/Email.vue": () => import("./Email-BKW9GRcH.js"), "../coms/texts/Index.vue": () => import("./Index-BZeCjjCo.js"), "../coms/texts/Int.vue": () => import("./Int-B-t8edhd.js"), "../coms/texts/Markdown.vue": () => import("./Markdown-BJk-Of5I.js"), "../coms/texts/Month.vue": () => import("./Month-BMfk3ogI.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-0IqsFkR2.js"), "../coms/texts/Rate.vue": () => import("./Rate-BmC4gw_0.js"), "../coms/texts/RichText.vue": () => import("./RichText-Bk0Msyhl.js"), "../coms/texts/Select.vue": () => import("./Select-a4eRzEy4.js"), "../coms/texts/Switch.vue": () => import("./Switch-C2Em1D_A.js"), "../coms/texts/Text.vue": () => import("./Text-DppspAOA.js"), "../coms/texts/TextLink.vue": () => import("./TextLink-BVcttEr4.js"), "../coms/texts/Textarea.vue": () => import("./Textarea-DVkIU8L2.js"), "../coms/texts/Upload.vue": () => import("./Upload-CkBfWTxs.js"), "../coms/texts/Year.vue": () => import("./Year-CyY0Wspy.js") }), "../coms/texts/", "text");
7338
7340
  }
7339
7341
  /**
7340
7342
  * 注册全局异步或同步组件
@@ -7366,7 +7368,7 @@ class $n {
7366
7368
  delete this.pages[r];
7367
7369
  }
7368
7370
  }
7369
- class An {
7371
+ class $n {
7370
7372
  /**
7371
7373
  * 获取控件的值,自动区分搜索控件和提交表单控件
7372
7374
  */
@@ -7607,8 +7609,8 @@ class Un {
7607
7609
  let c = {
7608
7610
  message: `${n[u].message}`,
7609
7611
  trigger: "change",
7610
- validator(p, h, g) {
7611
- g(new Error());
7612
+ validator(p, h, f) {
7613
+ f(new Error());
7612
7614
  }
7613
7615
  };
7614
7616
  s.push(c);
@@ -7681,8 +7683,8 @@ class Mn extends V {
7681
7683
  */
7682
7684
  a(Mn, "control");
7683
7685
  let Vn = async () => {
7684
- 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();
7685
- }, 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 = {};
7686
7688
  class Ii {
7687
7689
  constructor() {
7688
7690
  /**
@@ -7699,8 +7701,8 @@ class Ii {
7699
7701
  a(this, "lang");
7700
7702
  }
7701
7703
  }
7702
- let Pn = $e(() => import("./Column-JtP300Z3.js")), zn = $e(() => import("./Custom-Ct0DVIcX.js")), Bn = $e(() => import("./Delete-aE3tN6Bc.js")), Nn = $e(() => import("./Index-C7rta_l8.js")), Fn = $e(() => import("./Paging-BICuyGsB.js")), tt = $e(() => import("./Single-B3U8fH8_.js")), Wn = $e(() => import("./List-CBlPNvMl.js"));
7703
- const qn = {
7704
+ let Pn = Ae(() => import("./Column-BC7oBV50.js")), zn = Ae(() => import("./Custom-a_CwMbiA.js")), Bn = Ae(() => import("./Delete--bb5si4_.js")), Nn = Ae(() => import("./Index-CZKjVJJ8.js")), Fn = Ae(() => import("./Paging-BpVbuvIK.js")), tt = Ae(() => import("./Single-BKtL-ahI.js")), qn = Ae(() => import("./List-CP5EEsIb.js"));
7705
+ const Wn = {
7704
7706
  components: {
7705
7707
  CopyPage: tt,
7706
7708
  ColumnPage: Pn,
@@ -7710,11 +7712,11 @@ const qn = {
7710
7712
  IndexPage: Nn,
7711
7713
  InsertPage: tt,
7712
7714
  PagingPage: Fn,
7713
- ListPage: Wn,
7715
+ ListPage: qn,
7714
7716
  UpdatePage: tt
7715
7717
  }
7716
7718
  }, Oe = /* @__PURE__ */ X({
7717
- ...qn,
7719
+ ...Wn,
7718
7720
  __name: "Index",
7719
7721
  props: {
7720
7722
  url: {},
@@ -7722,7 +7724,7 @@ const qn = {
7722
7724
  },
7723
7725
  emits: ["navigate", "loaded", "succeed", "close"],
7724
7726
  setup(d, { expose: r, emit: e }) {
7725
- 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 = () => {
7726
7728
  if (h.value) {
7727
7729
  P(s.value, !0);
7728
7730
  return;
@@ -7732,13 +7734,13 @@ const qn = {
7732
7734
  re.module.triggerClose(i.value, D);
7733
7735
  }, x = (D, U) => {
7734
7736
  j = U, t("navigate", D);
7735
- }, P = (D, U = !1, q = null) => {
7736
- 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;
7737
7739
  let K = m.url.getUrl(D, { schema: "" });
7738
7740
  z.http.get(K).then((T) => {
7739
- 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);
7740
7742
  }).catch((T) => {
7741
- 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;
7742
7744
  }).finally(() => {
7743
7745
  p.value = !1;
7744
7746
  });
@@ -7756,13 +7758,13 @@ const qn = {
7756
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]);
7757
7759
  }, Y = (D) => {
7758
7760
  var T;
7759
- let U = Ae.getComponent(D, "view");
7761
+ let U = $e.getComponent(D, "view");
7760
7762
  if (U) {
7761
7763
  y.value.type = "custom", y.value.view = U, h.value = !1;
7762
7764
  return;
7763
7765
  }
7764
- let q = ["insert", "copy", "update", "detail", "paging", "list", "delete"], K = (T = m.url.getLastSegment(D)) == null ? void 0 : T.toLowerCase();
7765
- 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)) {
7766
7768
  if (y.value.type = K, !i.value) {
7767
7769
  P(D, !0);
7768
7770
  return;
@@ -7773,12 +7775,12 @@ const qn = {
7773
7775
  P(D, C, j), j = null;
7774
7776
  return;
7775
7777
  }
7776
- 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;
7777
7779
  };
7778
7780
  Y(s.value), ye(() => {
7779
- Ae.addPage(k, {}), $.resize(u.value, O);
7781
+ $e.addPage(k, {}), A.resize(u.value, O);
7780
7782
  }), ht(() => {
7781
- Ae.removePage(k), $.dispose();
7783
+ $e.removePage(k), A.dispose();
7782
7784
  });
7783
7785
  let se = he(() => {
7784
7786
  let D = m.url.getRoute(s.value);
@@ -7787,22 +7789,22 @@ const qn = {
7787
7789
  return me(() => s.value, (D, U) => {
7788
7790
  Y(D);
7789
7791
  }), r({ onRefresh: M, onClose: N, onKeyboard: I, onSocket: Z }), (D, U) => {
7790
- const q = J("custom-page"), K = J("column-page");
7791
- return f(), _("div", {
7792
+ const W = J("custom-page"), K = J("column-page");
7793
+ return g(), _("div", {
7792
7794
  ref_key: "rootRef",
7793
7795
  ref: u,
7794
7796
  class: "ha-page"
7795
7797
  }, [
7796
- A(o(sn), {
7798
+ $(o(sn), {
7797
7799
  modelValue: o(p),
7798
7800
  "onUpdate:modelValue": U[0] || (U[0] = (T) => _e(p) ? p.value = T : p = T)
7799
7801
  }, null, 8, ["modelValue"]),
7800
- o(h) ? (f(), W(o(yn), {
7802
+ o(h) ? (g(), q(o(yn), {
7801
7803
  key: 0,
7802
- title: o(g).title,
7803
- content: o(g).content,
7804
+ title: o(f).title,
7805
+ content: o(f).content,
7804
7806
  onRetry: o(M)
7805
- }, 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, {
7806
7808
  key: 1,
7807
7809
  ref_key: "pageRef",
7808
7810
  ref: i,
@@ -7811,7 +7813,7 @@ const qn = {
7811
7813
  view: o(y).view,
7812
7814
  onLoaded: o(te),
7813
7815
  onNavigate: o(x)
7814
- }, 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, {
7815
7817
  key: 2,
7816
7818
  ref_key: "pageRef",
7817
7819
  ref: i,
@@ -7820,7 +7822,7 @@ const qn = {
7820
7822
  view: o(y).view,
7821
7823
  onLoaded: o(te),
7822
7824
  onNavigate: o(x)
7823
- }, 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`), {
7824
7826
  key: 3,
7825
7827
  ref_key: "pageRef",
7826
7828
  ref: i,
@@ -7847,27 +7849,27 @@ const qn = {
7847
7849
  }),
7848
7850
  emits: /* @__PURE__ */ Ce(["succeed", "navigate", "update:modelValue"], ["update:modelValue"]),
7849
7851
  setup(d, { emit: r }) {
7850
- 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) => {
7851
- u.value.type = g.module.type, u.value.name = g.module.name;
7852
- }, p = (g) => {
7853
- e("navigate", g);
7854
- }, h = (g) => {
7855
- 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);
7856
7858
  };
7857
- return (g, y) => {
7858
- const $ = J("el-drawer");
7859
- return f(), W(ft, {
7859
+ return (f, y) => {
7860
+ const A = J("el-drawer");
7861
+ return g(), q(ft, {
7860
7862
  to: o(l),
7861
7863
  disabled: !o(l)
7862
7864
  }, [
7863
- A($, {
7865
+ $(A, {
7864
7866
  title: o(E).module(o(u).type, o(u).name),
7865
7867
  size: o(ll).getDrawerWidth(o(i)),
7866
7868
  modelValue: o(n),
7867
7869
  "onUpdate:modelValue": y[0] || (y[0] = (k) => _e(n) ? n.value = k : n = k)
7868
7870
  }, {
7869
7871
  default: b(() => [
7870
- o(s) ? (f(), W(o(Oe), {
7872
+ o(s) ? (g(), q(o(Oe), {
7871
7873
  key: 0,
7872
7874
  ref: "pageRef",
7873
7875
  url: o(s),
@@ -7887,7 +7889,7 @@ const qn = {
7887
7889
  emits: [],
7888
7890
  setup(d, { emit: r }) {
7889
7891
  return ie(d), ye(async () => {
7890
- }), (t, l) => (f(), _("div", Kn, [
7892
+ }), (t, l) => (g(), _("div", Kn, [
7891
7893
  ae(t.$slots, "default")
7892
7894
  ]));
7893
7895
  }
@@ -7909,8 +7911,8 @@ const qn = {
7909
7911
  };
7910
7912
  return r({ show: (p, h) => {
7911
7913
  e.value.current = p, e.value.url = h, e.value.visible = !0;
7912
- } }), (p, h) => o(e).visible ? (f(), _("div", Yn, [
7913
- A(o(Ke), {
7914
+ } }), (p, h) => o(e).visible ? (g(), _("div", Yn, [
7915
+ $(o(Ke), {
7914
7916
  ref_key: "feedbackRef",
7915
7917
  ref: t,
7916
7918
  id: "feedback",
@@ -7918,17 +7920,17 @@ const qn = {
7918
7920
  bottom: o(s),
7919
7921
  onClose: o(u),
7920
7922
  modelValue: o(e).visible,
7921
- "onUpdate:modelValue": h[3] || (h[3] = (g) => o(e).visible = g)
7923
+ "onUpdate:modelValue": h[3] || (h[3] = (f) => o(e).visible = f)
7922
7924
  }, {
7923
7925
  side: b(() => [
7924
- A(o(ol), {
7926
+ $(o(ol), {
7925
7927
  modelValue: o(e).current,
7926
- "onUpdate:modelValue": h[2] || (h[2] = (g) => o(e).current = g)
7928
+ "onUpdate:modelValue": h[2] || (h[2] = (f) => o(e).current = f)
7927
7929
  }, {
7928
7930
  default: b(() => [
7929
- A(o(st), {
7931
+ $(o(st), {
7930
7932
  name: "add",
7931
- onClick: h[0] || (h[0] = (g) => o(n)("/ctl_feedback/insert"))
7933
+ onClick: h[0] || (h[0] = (f) => o(n)("/ctl_feedback/insert"))
7932
7934
  }, {
7933
7935
  default: b(() => [
7934
7936
  h[4] || (h[4] = w("i", { class: "fa fa-plus" }, null, -1)),
@@ -7936,9 +7938,9 @@ const qn = {
7936
7938
  ]),
7937
7939
  _: 1
7938
7940
  }),
7939
- A(o(st), {
7941
+ $(o(st), {
7940
7942
  name: "my",
7941
- onClick: h[1] || (h[1] = (g) => o(n)("/ctl_feedback/paging"))
7943
+ onClick: h[1] || (h[1] = (f) => o(n)("/ctl_feedback/paging"))
7942
7944
  }, {
7943
7945
  default: b(() => [
7944
7946
  h[5] || (h[5] = w("i", { class: "fa fa-list" }, null, -1)),
@@ -7951,7 +7953,7 @@ const qn = {
7951
7953
  }, 8, ["modelValue"])
7952
7954
  ]),
7953
7955
  default: b(() => [
7954
- o(e).url ? (f(), W(o(Oe), {
7956
+ o(e).url ? (g(), q(o(Oe), {
7955
7957
  key: 0,
7956
7958
  url: o(e).url,
7957
7959
  onLoaded: o(i),
@@ -7979,16 +7981,16 @@ const qn = {
7979
7981
  return (() => {
7980
7982
  n.value = s.value.type;
7981
7983
  })(), (c, p) => {
7982
- const h = J("el-radio-button"), g = J("el-radio-group");
7983
- return o(l).layouts.length > 1 ? (f(), _("div", Xn, [
7984
- 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, {
7985
7987
  size: "small",
7986
7988
  onChange: o(u),
7987
7989
  modelValue: o(n),
7988
7990
  "onUpdate:modelValue": p[0] || (p[0] = (y) => _e(n) ? n.value = y : n = y)
7989
7991
  }, {
7990
7992
  default: b(() => [
7991
- (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, {
7992
7994
  type: "primary",
7993
7995
  value: y
7994
7996
  }, {
@@ -8016,11 +8018,11 @@ const qn = {
8016
8018
  setup(d, { emit: r }) {
8017
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) => {
8018
8020
  i.value.style.left = p.value.style.left = `${M}px`, c.value.style.width = `${M}px`, n = M;
8019
- }, g = () => {
8021
+ }, f = () => {
8020
8022
  e("refresh");
8021
8023
  }, y = (M) => {
8022
8024
  u = M.clientX - M.target.offsetLeft, t.value = !0;
8023
- }, $ = (M) => {
8025
+ }, A = (M) => {
8024
8026
  if (t.value) {
8025
8027
  let x = M.clientX - u;
8026
8028
  x < 0 && (x = 0), x > 500 && (x = 500), h(x);
@@ -8028,13 +8030,13 @@ const qn = {
8028
8030
  }, k = (M) => {
8029
8031
  t.value && (e("validate", n), t.value = !1);
8030
8032
  }, j = () => {
8031
- 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);
8032
8034
  };
8033
8035
  return ye(() => {
8034
8036
  j();
8035
8037
  }), xe(() => {
8036
- p.value.removeEventListener("mousedown", y), document.removeEventListener("mousemove", $), document.removeEventListener("mouseup", k);
8037
- }), (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, [
8038
8040
  w("div", Gn, [
8039
8041
  w("div", Zn, [
8040
8042
  w("img", {
@@ -8055,7 +8057,7 @@ const qn = {
8055
8057
  w("i", {
8056
8058
  class: "fa fa-refresh image-refresh",
8057
8059
  onClick: N[0] || (N[0] = //@ts-ignore
8058
- (...x) => o(g) && o(g)(...x))
8060
+ (...x) => o(f) && o(f)(...x))
8059
8061
  })
8060
8062
  ]),
8061
8063
  w("div", {
@@ -8094,7 +8096,7 @@ const qn = {
8094
8096
  t(e.theme);
8095
8097
  }), me(() => e.theme, (l, s) => {
8096
8098
  t(l);
8097
- }), (l, s) => (f(), _("div", lo));
8099
+ }), (l, s) => (g(), _("div", lo));
8098
8100
  }
8099
8101
  }), Ni = /* @__PURE__ */ X({
8100
8102
  __name: "Table",
@@ -8111,20 +8113,20 @@ const qn = {
8111
8113
  }),
8112
8114
  emits: /* @__PURE__ */ Ce(["row-click", "page-change", "size-change", "sort-change"], ["update:page", "update:size"]),
8113
8115
  setup(d, { expose: r, emit: e }) {
8114
- 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) => {
8115
8117
  t("row-click", D);
8116
8118
  }, x = async (D) => {
8117
8119
  t("page-change", D), await Ve(), O();
8118
8120
  }, P = async (D) => {
8119
8121
  t("size-change", D), await Ve(), O();
8120
- }, H = async ({ column: D, prop: U, order: q }) => {
8121
- 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();
8122
8124
  }, le = (D) => {
8123
8125
  k.value.setCurrentRow(D);
8124
8126
  }, te = () => {
8125
8127
  if (!i.value)
8126
8128
  return;
8127
- 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;
8128
8130
  M.value = `${ne}px`;
8129
8131
  }, I = (D) => {
8130
8132
  te();
@@ -8137,7 +8139,7 @@ const qn = {
8137
8139
  }, D);
8138
8140
  return m.math.filterPage(U, c.value, p.value);
8139
8141
  }, O = () => {
8140
- g.value = Z(), $.value = s.value.length;
8142
+ f.value = Z(), A.value = s.value.length;
8141
8143
  }, Y = () => {
8142
8144
  y == null || y.interval(n.value, O);
8143
8145
  }, se = () => {
@@ -8150,9 +8152,9 @@ const qn = {
8150
8152
  }), xe(() => {
8151
8153
  se();
8152
8154
  }), r({ selectRow: le, onResize: I, update: O, start: Y, stop: se }), (D, U) => {
8153
- const q = J("el-table"), K = J("el-pagination");
8154
- return f(), _(ue, null, [
8155
- A(q, {
8155
+ const W = J("el-table"), K = J("el-pagination");
8156
+ return g(), _(ue, null, [
8157
+ $(W, {
8156
8158
  ref_key: "tableRef",
8157
8159
  ref: k,
8158
8160
  class: "ha-table",
@@ -8161,7 +8163,7 @@ const qn = {
8161
8163
  border: "",
8162
8164
  size: "small",
8163
8165
  "max-height": o(M),
8164
- data: o(g),
8166
+ data: o(f),
8165
8167
  "default-sort": o(u),
8166
8168
  onRowClick: o(N),
8167
8169
  onSortChange: o(H)
@@ -8176,11 +8178,11 @@ const qn = {
8176
8178
  ]),
8177
8179
  _: 3
8178
8180
  }, 8, ["max-height", "data", "default-sort", "onRowClick", "onSortChange"]),
8179
- A(K, {
8181
+ $(K, {
8180
8182
  ref_key: "paginationRef",
8181
8183
  ref: j,
8182
8184
  layout: "total,prev,pager,next,jumper,sizes",
8183
- total: o($),
8185
+ total: o(A),
8184
8186
  "page-sizes": [10, 50, 500, 5e3, 5e4, 5e5],
8185
8187
  "current-page": o(c),
8186
8188
  "page-size": o(p),
@@ -8204,20 +8206,20 @@ const qn = {
8204
8206
  };
8205
8207
  return (u, i) => {
8206
8208
  const c = J("el-tooltip"), p = J("el-table-column");
8207
- return f(), W(p, {
8209
+ return g(), q(p, {
8208
8210
  label: o(t),
8209
8211
  prop: o(e),
8210
8212
  width: o(l)
8211
8213
  }, {
8212
8214
  header: b((h) => [
8213
- A(c, {
8215
+ $(c, {
8214
8216
  placement: "top",
8215
8217
  content: o(t),
8216
8218
  disabled: !o(s)
8217
8219
  }, {
8218
8220
  default: b(() => [
8219
8221
  w("span", {
8220
- onMouseenter: (g) => o(n)(g, h.column)
8222
+ onMouseenter: (f) => o(n)(f, h.column)
8221
8223
  }, [
8222
8224
  w("span", null, L(o(t)), 1)
8223
8225
  ], 40, so)
@@ -8242,35 +8244,35 @@ const qn = {
8242
8244
  },
8243
8245
  emits: ["resize"],
8244
8246
  setup(d, { emit: r }) {
8245
- let e = r, t = d, { width: l } = ie(t), s = S(!1), n = null, u = null, i = (g) => {
8246
- g.preventDefault(), s.value = !0, n = g, u = l.value, document.addEventListener("mousemove", c), document.addEventListener("mouseup", p);
8247
- }, c = (g) => {
8248
- let y = g.clientX - n.clientX, $ = u + y;
8249
- h($);
8250
- }, 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) => {
8251
8253
  s.value = !1, n = null, u = null, document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", p);
8252
- }, h = (g) => {
8253
- e("resize", g);
8254
+ }, h = (f) => {
8255
+ e("resize", f);
8254
8256
  };
8255
- return (g, y) => (f(), _("div", ro, [
8256
- o(l) != null ? (f(), _("div", {
8257
+ return (f, y) => (g(), _("div", ro, [
8258
+ o(l) != null ? (g(), _("div", {
8257
8259
  key: 0,
8258
8260
  class: "resizer-left",
8259
8261
  style: we({ width: `${o(l)}px` })
8260
8262
  }, [
8261
- ae(g.$slots, "left")
8263
+ ae(f.$slots, "left")
8262
8264
  ], 4)) : Q("", !0),
8263
8265
  w("div", {
8264
8266
  class: "resizer-right",
8265
8267
  style: we({ width: `calc(100% - ${o(l) ?? 0}px)` })
8266
8268
  }, [
8267
- ae(g.$slots, "default")
8269
+ ae(f.$slots, "default")
8268
8270
  ], 4),
8269
- o(l) != null ? (f(), _("div", {
8271
+ o(l) != null ? (g(), _("div", {
8270
8272
  key: 1,
8271
8273
  class: ce(["resizer-handle", { dragging: o(s) }]),
8272
8274
  onMousedown: y[0] || (y[0] = //@ts-ignore
8273
- (...$) => o(i) && o(i)(...$)),
8275
+ (...A) => o(i) && o(i)(...A)),
8274
8276
  style: we({ left: `${o(l)}px` })
8275
8277
  }, null, 38)) : Q("", !0)
8276
8278
  ]));
@@ -8278,7 +8280,7 @@ const qn = {
8278
8280
  }), no = { class: "text-popover" }, oo = {
8279
8281
  key: 2,
8280
8282
  class: "control-operation"
8281
- }, Wi = /* @__PURE__ */ X({
8283
+ }, qi = /* @__PURE__ */ X({
8282
8284
  __name: "Index",
8283
8285
  props: {
8284
8286
  schema: {},
@@ -8290,10 +8292,10 @@ const qn = {
8290
8292
  },
8291
8293
  emits: ["submit", "change"],
8292
8294
  setup(d, { emit: r }) {
8293
- let e = $e(() => import("./Index-BXFQJnHG.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-BZeCjjCo.js")), t = r, l = d, { schema: s, table: n, field: u, set: i, row: c, config: p } = ie(l), h = S(), f = () => {
8294
8296
  }, y = (M) => {
8295
8297
  t("submit", M);
8296
- }, $ = (M) => {
8298
+ }, A = (M) => {
8297
8299
  t("change", M);
8298
8300
  }, k = he(() => {
8299
8301
  var x, P;
@@ -8309,9 +8311,9 @@ const qn = {
8309
8311
  }), j = he(() => `control-${m.string.getDashName(k.value)}`);
8310
8312
  return (M, N) => {
8311
8313
  const x = J("el-popover"), P = J("el-link");
8312
- return f(), _(ue, null, [
8313
- o(u).control.textualize ? (f(), _(ue, { key: 0 }, [
8314
- 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, {
8315
8317
  key: 0,
8316
8318
  trigger: "hover",
8317
8319
  placement: "top",
@@ -8319,7 +8321,7 @@ const qn = {
8319
8321
  }, {
8320
8322
  reference: b(() => [
8321
8323
  w("div", no, [
8322
- A(o(e), {
8324
+ $(o(e), {
8323
8325
  ref_key: "controlRef",
8324
8326
  ref: h,
8325
8327
  schema: o(s),
@@ -8332,7 +8334,7 @@ const qn = {
8332
8334
  ])
8333
8335
  ]),
8334
8336
  default: b(() => [
8335
- A(o(e), {
8337
+ $(o(e), {
8336
8338
  ref_key: "controlRef",
8337
8339
  ref: h,
8338
8340
  schema: o(s),
@@ -8344,7 +8346,7 @@ const qn = {
8344
8346
  }, null, 8, ["schema", "table", "field", "set", "row", "config"])
8345
8347
  ]),
8346
8348
  _: 1
8347
- }, 8, ["width"])) : (f(), W(o(e), {
8349
+ }, 8, ["width"])) : (g(), q(o(e), {
8348
8350
  key: 1,
8349
8351
  ref_key: "controlRef",
8350
8352
  ref: h,
@@ -8355,7 +8357,7 @@ const qn = {
8355
8357
  row: o(c),
8356
8358
  config: o(p)
8357
8359
  }, null, 8, ["schema", "table", "field", "set", "row", "config"]))
8358
- ], 64)) : (f(), W(Ne(o(j)), {
8360
+ ], 64)) : (g(), q(Ne(o(j)), {
8359
8361
  key: 1,
8360
8362
  ref_key: "controlRef",
8361
8363
  ref: h,
@@ -8364,9 +8366,9 @@ const qn = {
8364
8366
  field: o(u),
8365
8367
  set: o(i),
8366
8368
  row: o(c),
8367
- onChange: o($),
8369
+ onChange: o(A),
8368
8370
  onSubmit: o(y),
8369
- onClear: o(g),
8371
+ onClear: o(f),
8370
8372
  modelValue: o(c)[o(u).name],
8371
8373
  "onUpdate:modelValue": N[0] || (N[0] = (H) => o(c)[o(u).name] = H)
8372
8374
  }, {
@@ -8375,8 +8377,8 @@ const qn = {
8375
8377
  ]),
8376
8378
  _: 1
8377
8379
  }, 40, ["schema", "table", "field", "set", "row", "onChange", "onSubmit", "onClear", "modelValue"])),
8378
- o(u).operation ? (f(), _("div", oo, [
8379
- A(P, {
8380
+ o(u).operation ? (g(), _("div", oo, [
8381
+ $(P, {
8380
8382
  type: "primary",
8381
8383
  underline: !1
8382
8384
  }, {
@@ -8418,29 +8420,29 @@ const qn = {
8418
8420
  h(k);
8419
8421
  }, h = (k) => {
8420
8422
  c.value.url = k, c.value.visible = !0;
8421
- }, g = () => {
8423
+ }, f = () => {
8422
8424
  let k;
8423
8425
  s.value ? k = i.value ? `/copy?id=${i.value}` : "/insert" : k = i.value ? `/update?id=${i.value}` : "/insert";
8424
8426
  let j = `/${l.value}${k}`;
8425
8427
  h(j);
8426
8428
  }, y = (k) => {
8427
8429
  c.value.type = k.module.type, c.value.name = k.module.name;
8428
- }, $ = async (k) => {
8430
+ }, A = async (k) => {
8429
8431
  c.value.visible = !1, e("succeed", k, c.value.name);
8430
8432
  };
8431
8433
  return (k, j) => {
8432
8434
  const M = J("el-dropdown-item"), N = J("el-dropdown-menu"), x = J("el-dropdown"), P = J("el-drawer");
8433
- return f(), _(ue, null, [
8434
- A(x, {
8435
+ return g(), _(ue, null, [
8436
+ $(x, {
8435
8437
  "split-button": "",
8436
8438
  size: o(n),
8437
8439
  onCommand: o(p),
8438
- onClick: o(g)
8440
+ onClick: o(f)
8439
8441
  }, {
8440
8442
  dropdown: b(() => [
8441
- A(N, null, {
8443
+ $(N, null, {
8442
8444
  default: b(() => [
8443
- o(i) ? (f(), W(M, {
8445
+ o(i) ? (g(), q(M, {
8444
8446
  key: 0,
8445
8447
  command: `/${o(l)}/detail?id=${o(i)}`
8446
8448
  }, {
@@ -8450,7 +8452,7 @@ const qn = {
8450
8452
  ])),
8451
8453
  _: 1
8452
8454
  }, 8, ["command"])) : Q("", !0),
8453
- o(i) && !o(s) ? (f(), W(M, {
8455
+ o(i) && !o(s) ? (g(), q(M, {
8454
8456
  key: 1,
8455
8457
  command: `/${o(l)}/copy?id=${o(i)}`
8456
8458
  }, {
@@ -8460,7 +8462,7 @@ const qn = {
8460
8462
  ])),
8461
8463
  _: 1
8462
8464
  }, 8, ["command"])) : Q("", !0),
8463
- o(i) && !o(s) ? (f(), W(M, {
8465
+ o(i) && !o(s) ? (g(), q(M, {
8464
8466
  key: 2,
8465
8467
  command: `/${o(l)}/delete?id=${o(i)}`
8466
8468
  }, {
@@ -8470,7 +8472,7 @@ const qn = {
8470
8472
  ])),
8471
8473
  _: 1
8472
8474
  }, 8, ["command"])) : Q("", !0),
8473
- A(M, {
8475
+ $(M, {
8474
8476
  command: `/${o(l)}/paging`
8475
8477
  }, {
8476
8478
  default: b(() => j[4] || (j[4] = [
@@ -8485,32 +8487,32 @@ const qn = {
8485
8487
  })
8486
8488
  ]),
8487
8489
  default: b(() => [
8488
- o(s) ? (f(), _(ue, { key: 0 }, [
8489
- o(i) ? (f(), _("i", ao)) : (f(), _("i", io))
8490
- ], 64)) : (f(), _(ue, { key: 1 }, [
8491
- 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))
8492
8494
  ], 64))
8493
8495
  ]),
8494
8496
  _: 3
8495
8497
  }, 8, ["size", "onCommand", "onClick"]),
8496
- (f(), W(ft, {
8498
+ (g(), q(ft, {
8497
8499
  to: o(u),
8498
8500
  disabled: !o(u)
8499
8501
  }, [
8500
- A(P, {
8502
+ $(P, {
8501
8503
  title: o(E).module(o(c).type, o(c).name),
8502
8504
  size: "60%",
8503
8505
  modelValue: o(c).visible,
8504
8506
  "onUpdate:modelValue": j[0] || (j[0] = (H) => o(c).visible = H)
8505
8507
  }, {
8506
8508
  default: b(() => [
8507
- o(c).url ? (f(), W(o(Oe), {
8509
+ o(c).url ? (g(), q(o(Oe), {
8508
8510
  key: 0,
8509
8511
  ref: "pageRef",
8510
8512
  url: o(c).url,
8511
8513
  onLoaded: o(y),
8512
- onSucceed: o($),
8513
- onClose: o($)
8514
+ onSucceed: o(A),
8515
+ onClose: o(A)
8514
8516
  }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])) : Q("", !0)
8515
8517
  ]),
8516
8518
  _: 1
@@ -8535,12 +8537,12 @@ const qn = {
8535
8537
  }, h = (k) => {
8536
8538
  let j;
8537
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);
8538
- }, g = (k) => {
8540
+ }, f = (k) => {
8539
8541
  t("loaded", k);
8540
8542
  };
8541
8543
  return r({ loadAsync: async (k, j) => {
8542
8544
  let M = await re.query.loadDriversAsync(k, j, u.value);
8543
- l.drivers == null && (c.value = M), g(M);
8545
+ l.drivers == null && (c.value = M), f(M);
8544
8546
  }, updateForm: () => {
8545
8547
  let k = c.value.find((j) => j.text == i.value.name);
8546
8548
  if (k == null) {
@@ -8550,12 +8552,12 @@ const qn = {
8550
8552
  i.value.id = k.value;
8551
8553
  } }), (k, j) => {
8552
8554
  const M = J("el-option"), N = J("el-select"), x = J("el-form-item");
8553
- return f(), W(x, {
8555
+ return g(), q(x, {
8554
8556
  class: ce(["ha-kind name", { editable: o(n) }]),
8555
8557
  label: o(s) ? o(E).enum("DriverKind", o(u)) : null
8556
8558
  }, {
8557
8559
  default: b(() => [
8558
- A(N, {
8560
+ $(N, {
8559
8561
  clearable: "",
8560
8562
  filterable: "",
8561
8563
  placeholder: `请选择${o(E).enum("DriverKind", o(u))}`,
@@ -8564,7 +8566,7 @@ const qn = {
8564
8566
  "onUpdate:modelValue": j[0] || (j[0] = (P) => o(i).id = P)
8565
8567
  }, {
8566
8568
  default: b(() => [
8567
- (f(!0), _(ue, null, pe(o(c), (P) => (f(), W(M, {
8569
+ (g(!0), _(ue, null, pe(o(c), (P) => (g(), q(M, {
8568
8570
  value: P.value,
8569
8571
  label: `${P.text}(${P.suffix})`,
8570
8572
  key: P.value
@@ -8580,7 +8582,7 @@ const qn = {
8580
8582
  ]),
8581
8583
  _: 3
8582
8584
  }, 8, ["placeholder", "onChange", "modelValue"]),
8583
- o(n) ? (f(), W(rl, {
8585
+ o(n) ? (g(), q(rl, {
8584
8586
  key: 0,
8585
8587
  module: "ctl_driver",
8586
8588
  onSucceed: o(p),
@@ -8605,20 +8607,20 @@ const qn = {
8605
8607
  },
8606
8608
  emits: ["loaded", "change", "succeed"],
8607
8609
  setup(d, { expose: r, emit: e }) {
8608
- 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) => {
8609
8611
  var se;
8610
- 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();
8611
8613
  let Y = re.query.apps.find((D) => D.value == O);
8612
8614
  t("change", "app", O, Y);
8613
8615
  }, j = async (O) => {
8614
8616
  var se;
8615
- 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();
8616
8618
  let Y = re.query.envs.find((D) => D.value == O);
8617
8619
  t("change", "env", O, Y);
8618
8620
  }, M = async (O, Y) => {
8619
8621
  t("change", "id", O, Y);
8620
8622
  }, N = (O) => {
8621
- $.value = O;
8623
+ A.value = O;
8622
8624
  }, x = () => {
8623
8625
  te(!0);
8624
8626
  }, P = async () => {
@@ -8626,15 +8628,15 @@ const qn = {
8626
8628
  }, H = (O, Y) => {
8627
8629
  re.module.triggerKeyboard(y.value, O, Y);
8628
8630
  }, le = async (O, Y) => {
8629
- g.value != null && await g.value.loadAsync(O, Y);
8631
+ f.value != null && await f.value.loadAsync(O, Y);
8630
8632
  }, te = async (O = !1) => {
8631
8633
  await Promise.all([re.query.loadAppsAsync(O), re.query.loadEnvsAsync(), le(p.value.app, p.value.env)]), I();
8632
8634
  }, I = () => {
8633
- t("loaded", re.query.apps, re.query.envs, $.value);
8635
+ t("loaded", re.query.apps, re.query.envs, A.value);
8634
8636
  }, Z = he(() => m.dom.getClass(l.class, i.value ? "editable" : null, n.value ? "inline" : null));
8635
8637
  return r({ onKeyboard: H, onRefresh: x, loadAsync: te }), (O, Y) => {
8636
- const se = J("el-option"), D = J("el-select"), U = J("el-form-item"), q = J("el-form");
8637
- 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, {
8638
8640
  ref_key: "driverRef",
8639
8641
  ref: h,
8640
8642
  class: ce(["ha-driver", o(Z)]),
@@ -8642,12 +8644,12 @@ const qn = {
8642
8644
  "label-width": o(n) ? null : o(u)
8643
8645
  }, {
8644
8646
  default: b(() => [
8645
- A(U, {
8647
+ $(U, {
8646
8648
  class: "app",
8647
8649
  label: o(s) ? "应用" : null
8648
8650
  }, {
8649
8651
  default: b(() => [
8650
- A(D, {
8652
+ $(D, {
8651
8653
  filterable: "",
8652
8654
  clearable: "",
8653
8655
  placeholder: "请选择应用",
@@ -8656,7 +8658,7 @@ const qn = {
8656
8658
  "onUpdate:modelValue": Y[0] || (Y[0] = (K) => o(p).app = K)
8657
8659
  }, {
8658
8660
  default: b(() => [
8659
- (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, {
8660
8662
  label: `${K.text}(${K.suffix})`,
8661
8663
  value: K.value,
8662
8664
  key: K.value
@@ -8670,7 +8672,7 @@ const qn = {
8670
8672
  ]),
8671
8673
  _: 1
8672
8674
  }, 8, ["onChange", "modelValue"]),
8673
- o(i) ? (f(), W(rl, {
8675
+ o(i) ? (g(), q(rl, {
8674
8676
  key: 0,
8675
8677
  module: "ctl_app",
8676
8678
  onSucceed: o(P),
@@ -8680,12 +8682,12 @@ const qn = {
8680
8682
  ]),
8681
8683
  _: 1
8682
8684
  }, 8, ["label"]),
8683
- A(U, {
8685
+ $(U, {
8684
8686
  class: "env",
8685
8687
  label: o(s) ? "环境" : null
8686
8688
  }, {
8687
8689
  default: b(() => [
8688
- A(D, {
8690
+ $(D, {
8689
8691
  clearable: "",
8690
8692
  filterable: "",
8691
8693
  placeholder: "请选择环境",
@@ -8694,7 +8696,7 @@ const qn = {
8694
8696
  "onUpdate:modelValue": Y[2] || (Y[2] = (K) => o(p).env = K)
8695
8697
  }, {
8696
8698
  default: b(() => [
8697
- (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, {
8698
8700
  value: K.value,
8699
8701
  label: `${K.text}(${K.suffix})`,
8700
8702
  key: K.value
@@ -8711,14 +8713,14 @@ const qn = {
8711
8713
  ]),
8712
8714
  _: 1
8713
8715
  }, 8, ["label"]),
8714
- o(c) ? (f(), W(ho, {
8716
+ o(c) ? (g(), q(ho, {
8715
8717
  key: 0,
8716
8718
  ref_key: "kindRef",
8717
- ref: g,
8719
+ ref: f,
8718
8720
  label: o(s),
8719
8721
  editable: o(i),
8720
8722
  kind: o(c),
8721
- drivers: o($),
8723
+ drivers: o(A),
8722
8724
  form: o(p),
8723
8725
  onChange: o(M),
8724
8726
  onLoaded: o(N),
@@ -8739,7 +8741,7 @@ const qn = {
8739
8741
  }, So = {
8740
8742
  key: 1,
8741
8743
  class: "panel-footer"
8742
- }, qi = /* @__PURE__ */ X({
8744
+ }, Wi = /* @__PURE__ */ X({
8743
8745
  __name: "Panel",
8744
8746
  props: {
8745
8747
  title: { type: String },
@@ -8751,7 +8753,7 @@ const qn = {
8751
8753
  };
8752
8754
  return s(), gt(() => {
8753
8755
  s();
8754
- }), (n, u) => (f(), _("div", {
8756
+ }), (n, u) => (g(), _("div", {
8755
8757
  class: ce(["ha-panel", { "panel-dark": d.dark }])
8756
8758
  }, [
8757
8759
  w("div", wo, [
@@ -8764,23 +8766,23 @@ const qn = {
8764
8766
  ae(n.$slots, "operation")
8765
8767
  ])
8766
8768
  ]),
8767
- o(e) ? (f(), _("div", xo, [
8768
- o(t) ? (f(), _("div", Co, [
8769
+ o(e) ? (g(), _("div", xo, [
8770
+ o(t) ? (g(), _("div", Co, [
8769
8771
  ae(n.$slots, "default")
8770
8772
  ])) : Q("", !0),
8771
- o(l) ? (f(), _("div", So, [
8773
+ o(l) ? (g(), _("div", So, [
8772
8774
  ae(n.$slots, "panel-footer")
8773
8775
  ])) : Q("", !0)
8774
8776
  ])) : Q("", !0)
8775
8777
  ], 2));
8776
8778
  }
8777
- }), $o = {}, Ao = { class: "ha-group" };
8779
+ }), Ao = {}, $o = { class: "ha-group" };
8778
8780
  function To(d, r) {
8779
- return f(), _("div", Ao, [
8781
+ return g(), _("div", $o, [
8780
8782
  ae(d.$slots, "default")
8781
8783
  ]);
8782
8784
  }
8783
- 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({
8784
8786
  __name: "Operation",
8785
8787
  props: {
8786
8788
  padding: {}
@@ -8789,7 +8791,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8789
8791
  let e = d, { padding: t } = ie(e), l = S();
8790
8792
  return gt(() => {
8791
8793
  }), ye(() => {
8792
- }), r({ ref: l }), (s, n) => (f(), _("div", {
8794
+ }), r({ ref: l }), (s, n) => (g(), _("div", {
8793
8795
  ref_key: "operationRef",
8794
8796
  ref: l,
8795
8797
  class: "ha-operation",
@@ -8818,7 +8820,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8818
8820
  }, c = () => {
8819
8821
  e("submit");
8820
8822
  };
8821
- 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()}`), {
8822
8824
  schema: o(l),
8823
8825
  table: o(s),
8824
8826
  field: o(n),
@@ -8826,7 +8828,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8826
8828
  onChange: o(i),
8827
8829
  onSubmit: o(c),
8828
8830
  modelValue: o(u)[o(s).name][o(n).name],
8829
- "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)
8830
8832
  }, {
8831
8833
  default: b(() => [
8832
8834
  w("div", Uo, L(o(E).t("paging.not_implemented_search_control", o(n).search.control)), 1)
@@ -8848,29 +8850,29 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8848
8850
  setup(d) {
8849
8851
  let r = S(!1), e = S("all"), t = S(1), l = S(10), s = () => {
8850
8852
  t.value = 1;
8851
- }, n = (g) => {
8852
- t.value = g;
8853
- }, u = (g) => {
8854
- r.value = g;
8855
- }, i = async (g) => {
8856
- 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);
8857
8859
  };
8858
8860
  he(() => Math.ceil(h.value.length / l.value));
8859
8861
  let c = he(() => {
8860
- let g = (t.value - 1) * l.value, y = t.value * l.value;
8861
- return h.value.filter((k, j) => j >= g && j < y);
8862
- }), 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"));
8863
- return (g, y) => {
8864
- 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");
8865
- 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, [
8866
8868
  w("div", {
8867
8869
  class: "header-btn",
8868
8870
  onClick: y[0] || (y[0] = (H) => _e(r) ? r.value = !0 : r = !0)
8869
8871
  }, [
8870
8872
  y[5] || (y[5] = w("i", { class: "far fa-bell" }, null, -1)),
8871
- 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)
8872
8874
  ]),
8873
- A(P, {
8875
+ $(P, {
8874
8876
  class: "logs",
8875
8877
  size: "40%",
8876
8878
  "append-to-body": "",
@@ -8881,29 +8883,29 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8881
8883
  "onUpdate:modelValue": y[4] || (y[4] = (H) => _e(r) ? r.value = H : r = H)
8882
8884
  }, {
8883
8885
  default: b(() => [
8884
- A(M, null, {
8886
+ $(M, null, {
8885
8887
  default: b(() => [
8886
- A(j, null, {
8888
+ $(j, null, {
8887
8889
  default: b(() => [
8888
- A(k, {
8890
+ $(k, {
8889
8891
  onChange: o(s),
8890
8892
  modelValue: o(e),
8891
8893
  "onUpdate:modelValue": y[1] || (y[1] = (H) => _e(e) ? e.value = H : e = H)
8892
8894
  }, {
8893
8895
  default: b(() => [
8894
- A($, { value: "all" }, {
8896
+ $(A, { value: "all" }, {
8895
8897
  default: b(() => [
8896
8898
  G(L(o(E).t("common.all")), 1)
8897
8899
  ]),
8898
8900
  _: 1
8899
8901
  }),
8900
- A($, { value: "success" }, {
8902
+ $(A, { value: "success" }, {
8901
8903
  default: b(() => [
8902
8904
  G(L(o(E).t("common.success")), 1)
8903
8905
  ]),
8904
8906
  _: 1
8905
8907
  }),
8906
- A($, { value: "error" }, {
8908
+ $(A, { value: "error" }, {
8907
8909
  default: b(() => [
8908
8910
  G(L(o(E).t("common.error")), 1)
8909
8911
  ]),
@@ -8918,18 +8920,18 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8918
8920
  ]),
8919
8921
  _: 1
8920
8922
  }),
8921
- o(h).length > 0 ? (f(), W(N, {
8923
+ o(h).length > 0 ? (g(), q(N, {
8922
8924
  key: 0,
8923
8925
  style: { height: "calc(100% - 95px)" }
8924
8926
  }, {
8925
8927
  default: b(() => [
8926
- (f(!0), _(ue, null, pe(o(c), (H, le) => (f(), _("div", {
8928
+ (g(!0), _(ue, null, pe(o(c), (H, le) => (g(), _("div", {
8927
8929
  class: ce(["log", H.code == "Ok" ? "success" : "error"]),
8928
8930
  key: le
8929
8931
  }, [
8930
8932
  w("div", Do, [
8931
8933
  w("div", Mo, L(H.message), 1),
8932
- 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),
8933
8935
  w("div", Lo, L(o(E).t("common.time")) + ":" + L(H.time) + " " + L(o(E).t("common.elapsed")) + ":" + L(H.elapsed) + "ms ", 1)
8934
8936
  ]),
8935
8937
  w("div", {
@@ -8942,8 +8944,8 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8942
8944
  ]),
8943
8945
  _: 1
8944
8946
  })) : Q("", !0),
8945
- o(h).length == 0 ? (f(), _("div", Oo, L(o(E).t("common.no_data")), 1)) : Q("", !0),
8946
- A(x, {
8947
+ o(h).length == 0 ? (g(), _("div", Oo, L(o(E).t("common.no_data")), 1)) : Q("", !0),
8948
+ $(x, {
8947
8949
  size: "small",
8948
8950
  layout: "prev, pager, next, total",
8949
8951
  "page-size": o(l),
@@ -8970,8 +8972,8 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8970
8972
  t.value = !1;
8971
8973
  };
8972
8974
  return r({ show: n }), (c, p) => {
8973
- 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");
8974
- 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, {
8975
8977
  class: "setting",
8976
8978
  width: "750px",
8977
8979
  draggable: "",
@@ -8984,7 +8986,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8984
8986
  footer: b(() => [
8985
8987
  p[8] || (p[8] = w("div", null, null, -1)),
8986
8988
  w("div", zo, [
8987
- A(M, {
8989
+ $(M, {
8988
8990
  type: "primary",
8989
8991
  onClick: o(u)
8990
8992
  }, {
@@ -8993,7 +8995,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
8993
8995
  ]),
8994
8996
  _: 1
8995
8997
  }, 8, ["onClick"]),
8996
- A(M, { onClick: o(i) }, {
8998
+ $(M, { onClick: o(i) }, {
8997
8999
  default: b(() => [
8998
9000
  G(L(o(E).t("common.cancel")), 1)
8999
9001
  ]),
@@ -9002,32 +9004,32 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9002
9004
  ])
9003
9005
  ]),
9004
9006
  default: b(() => [
9005
- A(j, {
9007
+ $(j, {
9006
9008
  "tab-position": "left",
9007
9009
  modelValue: o(s).function,
9008
9010
  "onUpdate:modelValue": p[6] || (p[6] = (x) => o(s).function = x)
9009
9011
  }, {
9010
9012
  default: b(() => [
9011
- A(y, {
9013
+ $(y, {
9012
9014
  name: "personal",
9013
9015
  label: o(E).t("common.personal")
9014
9016
  }, {
9015
9017
  default: b(() => [
9016
- A(g, { "label-width": 100 }, {
9018
+ $(f, { "label-width": 100 }, {
9017
9019
  default: b(() => [
9018
- A(h, { label: "用户ID:" }, {
9020
+ $(h, { label: "用户ID:" }, {
9019
9021
  default: b(() => [
9020
9022
  G(L(o(V).user.user.userId), 1)
9021
9023
  ]),
9022
9024
  _: 1
9023
9025
  }),
9024
- A(h, { label: "姓名:" }, {
9026
+ $(h, { label: "姓名:" }, {
9025
9027
  default: b(() => [
9026
9028
  G(L(o(V).user.user.truename), 1)
9027
9029
  ]),
9028
9030
  _: 1
9029
9031
  }),
9030
- A(h, { label: "调试权限:" }, {
9032
+ $(h, { label: "调试权限:" }, {
9031
9033
  default: b(() => [
9032
9034
  G(L(o(V).user.user.debugger), 1)
9033
9035
  ]),
@@ -9039,24 +9041,24 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9039
9041
  ]),
9040
9042
  _: 1
9041
9043
  }, 8, ["label"]),
9042
- A(y, {
9044
+ $(y, {
9043
9045
  name: "common",
9044
9046
  label: o(E).t("common.common")
9045
9047
  }, {
9046
9048
  default: b(() => [
9047
- A(g, null, {
9049
+ $(f, null, {
9048
9050
  default: b(() => [
9049
- o(V).setting.layouts.length > 0 ? (f(), W(h, {
9051
+ o(V).setting.layouts.length > 0 ? (g(), q(h, {
9050
9052
  key: 0,
9051
9053
  label: o(E).t("common.layout")
9052
9054
  }, {
9053
9055
  default: b(() => [
9054
- A(k, {
9056
+ $(k, {
9055
9057
  modelValue: o(s).layout,
9056
9058
  "onUpdate:modelValue": p[0] || (p[0] = (x) => o(s).layout = x)
9057
9059
  }, {
9058
9060
  default: b(() => [
9059
- (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, {
9060
9062
  value: x.value
9061
9063
  }, {
9062
9064
  default: b(() => [
@@ -9070,17 +9072,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9070
9072
  ]),
9071
9073
  _: 1
9072
9074
  }, 8, ["label"])) : Q("", !0),
9073
- o(V).setting.themes.length > 0 ? (f(), W(h, {
9075
+ o(V).setting.themes.length > 0 ? (g(), q(h, {
9074
9076
  key: 1,
9075
9077
  label: o(E).t("common.theme")
9076
9078
  }, {
9077
9079
  default: b(() => [
9078
- A(k, {
9080
+ $(k, {
9079
9081
  modelValue: o(s).theme,
9080
9082
  "onUpdate:modelValue": p[1] || (p[1] = (x) => o(s).theme = x)
9081
9083
  }, {
9082
9084
  default: b(() => [
9083
- (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, {
9084
9086
  value: x.value
9085
9087
  }, {
9086
9088
  default: b(() => [
@@ -9094,17 +9096,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9094
9096
  ]),
9095
9097
  _: 1
9096
9098
  }, 8, ["label"])) : Q("", !0),
9097
- o(V).setting.backgrounds.length > 0 ? (f(), W(h, {
9099
+ o(V).setting.backgrounds.length > 0 ? (g(), q(h, {
9098
9100
  key: 2,
9099
9101
  label: o(E).t("common.background")
9100
9102
  }, {
9101
9103
  default: b(() => [
9102
- A(k, {
9104
+ $(k, {
9103
9105
  modelValue: o(s).background,
9104
9106
  "onUpdate:modelValue": p[2] || (p[2] = (x) => o(s).background = x)
9105
9107
  }, {
9106
9108
  default: b(() => [
9107
- (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, {
9108
9110
  value: x.value
9109
9111
  }, {
9110
9112
  default: b(() => [
@@ -9118,17 +9120,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9118
9120
  ]),
9119
9121
  _: 1
9120
9122
  }, 8, ["label"])) : Q("", !0),
9121
- o(V).setting.locales.length > 0 ? (f(), W(h, {
9123
+ o(V).setting.locales.length > 0 ? (g(), q(h, {
9122
9124
  key: 3,
9123
9125
  label: o(E).t("common.language")
9124
9126
  }, {
9125
9127
  default: b(() => [
9126
- A(k, {
9128
+ $(k, {
9127
9129
  modelValue: o(s).language,
9128
9130
  "onUpdate:modelValue": p[3] || (p[3] = (x) => o(s).language = x)
9129
9131
  }, {
9130
9132
  default: b(() => [
9131
- (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, {
9132
9134
  value: x.value
9133
9135
  }, {
9134
9136
  default: b(() => [
@@ -9142,17 +9144,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9142
9144
  ]),
9143
9145
  _: 1
9144
9146
  }, 8, ["label"])) : Q("", !0),
9145
- o(V).setting.fonts.length > 0 ? (f(), W(h, {
9147
+ o(V).setting.fonts.length > 0 ? (g(), q(h, {
9146
9148
  key: 4,
9147
9149
  label: o(E).t("common.font")
9148
9150
  }, {
9149
9151
  default: b(() => [
9150
- A(k, {
9152
+ $(k, {
9151
9153
  modelValue: o(s).font,
9152
9154
  "onUpdate:modelValue": p[4] || (p[4] = (x) => o(s).font = x)
9153
9155
  }, {
9154
9156
  default: b(() => [
9155
- (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, {
9156
9158
  value: x.value
9157
9159
  }, {
9158
9160
  default: b(() => [
@@ -9166,17 +9168,17 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9166
9168
  ]),
9167
9169
  _: 1
9168
9170
  }, 8, ["label"])) : Q("", !0),
9169
- o(V).setting.cdns.length > 0 ? (f(), W(h, {
9171
+ o(V).setting.cdns.length > 0 ? (g(), q(h, {
9170
9172
  key: 5,
9171
9173
  label: o(E).t("common.cdn")
9172
9174
  }, {
9173
9175
  default: b(() => [
9174
- A(k, {
9176
+ $(k, {
9175
9177
  modelValue: o(s).cdn,
9176
9178
  "onUpdate:modelValue": p[5] || (p[5] = (x) => o(s).cdn = x)
9177
9179
  }, {
9178
9180
  default: b(() => [
9179
- (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, {
9180
9182
  value: x.value
9181
9183
  }, {
9182
9184
  default: b(() => [
@@ -9196,7 +9198,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9196
9198
  ]),
9197
9199
  _: 1
9198
9200
  }, 8, ["label"]),
9199
- A(y, {
9201
+ $(y, {
9200
9202
  name: "about",
9201
9203
  label: o(E).t("common.about")
9202
9204
  }, {
@@ -9226,7 +9228,7 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9226
9228
  let e = r, t = d, { name: l, url: s } = ie(t), n = Mt("model"), u = (c, p, h) => {
9227
9229
  c.preventDefault(), h || (n.value = p), e("click", c, p, h);
9228
9230
  }, i = he(() => m.url.getAnchor(s.value, { m: l.value }));
9229
- return (c, p) => (f(), _("a", {
9231
+ return (c, p) => (g(), _("a", {
9230
9232
  class: ce(["ha-window-tab", { current: o(n) == o(l) }]),
9231
9233
  href: o(i).href,
9232
9234
  target: o(i).target,
@@ -9249,16 +9251,16 @@ const Ki = /* @__PURE__ */ je($o, [["render", To]]), Ro = { class: "operation-le
9249
9251
  let r = Te(d, "modelValue");
9250
9252
  return Vt("model", r), (e, t) => ae(e.$slots, "default");
9251
9253
  }
9252
- }), Wo = {}, qo = { class: "ha-miss-component" }, Ko = { class: "miss-content" };
9254
+ }), qo = {}, Wo = { class: "ha-miss-component" }, Ko = { class: "miss-content" };
9253
9255
  function Yo(d, r) {
9254
- return f(), _("div", qo, [
9256
+ return g(), _("div", Wo, [
9255
9257
  r[0] || (r[0] = w("div", { class: "miss-title" }, "404", -1)),
9256
9258
  w("div", Ko, [
9257
9259
  ae(d.$slots, "default")
9258
9260
  ])
9259
9261
  ]);
9260
9262
  }
9261
- 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 = {
9262
9264
  key: 0,
9263
9265
  class: "arrow fa fa-chevron-down"
9264
9266
  }, Go = {
@@ -9277,7 +9279,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9277
9279
  },
9278
9280
  emits: ["click"],
9279
9281
  setup(d, { expose: r, emit: e }) {
9280
- 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) => {
9281
9283
  k.value = !1, t("click", O);
9282
9284
  }, N = (O) => {
9283
9285
  k.value = !1, t("click", O);
@@ -9285,7 +9287,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9285
9287
  P(h.value);
9286
9288
  }, P = (O) => {
9287
9289
  let Y = m.dom.getViewportStyle(O, ".menu-title", ".el-scrollbar__view", window.document.documentElement, te.value);
9288
- $.value = Y, y.value && y.value.update();
9290
+ A.value = Y, y.value && y.value.update();
9289
9291
  }, H = (O) => {
9290
9292
  P(O.currentTarget), k.value = !0, j.dispose();
9291
9293
  }, le = (O) => {
@@ -9298,7 +9300,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9298
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] }));
9299
9301
  return r({ onResize: x }), (O, Y) => {
9300
9302
  const se = J("menu-item", !0), D = J("el-scrollbar");
9301
- return f(), _("div", {
9303
+ return g(), _("div", {
9302
9304
  ref_key: "menuRef",
9303
9305
  ref: h,
9304
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) }]),
@@ -9318,31 +9320,31 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9318
9320
  class: ce(["icon", o(s)[o(i).icon]])
9319
9321
  }, null, 2),
9320
9322
  w("span", Xo, L(o(E).menu(o(s)[o(i).id])), 1),
9321
- o(s)[o(i).children].length > 0 ? (f(), _(ue, { key: 0 }, [
9322
- 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))
9323
9325
  ], 64)) : Q("", !0)
9324
9326
  ], 12, Jo),
9325
- o(s)[o(i).children].length > 0 ? (f(), _("div", {
9327
+ o(s)[o(i).children].length > 0 ? (g(), _("div", {
9326
9328
  key: 0,
9327
9329
  class: "menu-content",
9328
- style: we(o($))
9330
+ style: we(o(A))
9329
9331
  }, [
9330
- A(D, {
9332
+ $(D, {
9331
9333
  ref_key: "scrollerRef",
9332
9334
  ref: y
9333
9335
  }, {
9334
9336
  default: b(() => [
9335
- (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, {
9336
9338
  ref_for: !0,
9337
9339
  ref_key: "menusRef",
9338
- ref: g,
9340
+ ref: f,
9339
9341
  menu: U,
9340
9342
  level: o(n) + 1,
9341
9343
  opts: o(i),
9342
9344
  "active-ids": o(c),
9343
9345
  onClick: o(N),
9344
9346
  modelValue: o(p),
9345
- "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),
9346
9348
  key: U[o(i).id]
9347
9349
  }, null, 8, ["menu", "level", "opts", "active-ids", "onClick", "modelValue"]))), 128))
9348
9350
  ]),
@@ -9365,11 +9367,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9365
9367
  },
9366
9368
  emits: ["click", "update:modelValue"],
9367
9369
  setup(d, { expose: r, emit: e }) {
9368
- let t = e, l = d, { menus: s, direction: n, options: u, modelValue: i } = ie(l), c = S(), p = ($) => {
9369
- 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 });
9370
9372
  t("update:modelValue", k), t("click", j);
9371
- }, h = ($) => {
9372
- }, g = he(() => {
9373
+ }, h = (A) => {
9374
+ }, f = he(() => {
9373
9375
  var k, j, M, N, x;
9374
9376
  return {
9375
9377
  id: ((k = u.value) == null ? void 0 : k.id) || "id",
@@ -9378,27 +9380,27 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9378
9380
  icon: ((N = u.value) == null ? void 0 : N.icon) || "icon",
9379
9381
  children: ((x = u.value) == null ? void 0 : x.children) || "children"
9380
9382
  };
9381
- }), y = he(() => m.tree.getParentsById(i.value, g.value.id, s.value, g.value.children, !0).map((j) => j[g.value.id]));
9382
- 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) => {
9383
9385
  const j = J("el-scrollbar");
9384
- return f(), W(j, null, {
9386
+ return g(), q(j, null, {
9385
9387
  default: b(() => [
9386
9388
  w("div", {
9387
9389
  class: ce(["ha-menus", o(n)])
9388
9390
  }, [
9389
- (f(!0), _(ue, null, pe(o(s), (M) => (f(), W(Zo, {
9391
+ (g(!0), _(ue, null, pe(o(s), (M) => (g(), q(Zo, {
9390
9392
  ref_for: !0,
9391
9393
  ref_key: "menusRef",
9392
9394
  ref: c,
9393
9395
  menu: M,
9394
9396
  direction: o(n),
9395
9397
  level: 1,
9396
- opts: o(g),
9398
+ opts: o(f),
9397
9399
  "active-ids": o(y),
9398
9400
  onClick: o(p),
9399
9401
  modelValue: o(i),
9400
9402
  "onUpdate:modelValue": k[0] || (k[0] = (N) => _e(i) ? i.value = N : i = N),
9401
- key: M[o(g).id]
9403
+ key: M[o(f).id]
9402
9404
  }, null, 8, ["menu", "direction", "opts", "active-ids", "onClick", "modelValue"]))), 128))
9403
9405
  ], 2)
9404
9406
  ]),
@@ -9415,17 +9417,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9415
9417
  },
9416
9418
  emits: ["click"],
9417
9419
  setup(d, { emit: r }) {
9418
- let e = r, t = d, { name: l, url: s, title: n } = ie(t), u = Mt("model"), i = (p, h, g) => {
9419
- 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);
9420
9422
  }, c = he(() => m.url.getAnchor(s.value, { m: l.value }));
9421
- return (p, h) => (f(), _("a", {
9423
+ return (p, h) => (g(), _("a", {
9422
9424
  class: ce(["ha-window-tab", { current: o(u) == o(l) }]),
9423
9425
  href: o(c).href,
9424
9426
  target: o(c).target,
9425
9427
  title: o(n),
9426
9428
  onClick: [
9427
- h[0] || (h[0] = Re((g) => o(i)(g, o(l), !1), ["exact"])),
9428
- 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"]))
9429
9431
  ]
9430
9432
  }, [
9431
9433
  ae(p.$slots, "default")
@@ -9465,13 +9467,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9465
9467
  }),
9466
9468
  emits: /* @__PURE__ */ Ce(["close", "focus", "blur", "min", "max"], ["update:modelValue"]),
9467
9469
  setup(d, { expose: r, emit: e }) {
9468
- 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) => {
9469
9471
  if (i.value.state == "max") {
9470
9472
  He();
9471
9473
  return;
9472
9474
  }
9473
9475
  Je();
9474
- }, q = (B) => 0, K = (B, ee, de, oe, ke) => {
9476
+ }, W = (B) => 0, K = (B, ee, de, oe, ke) => {
9475
9477
  if (!oe) {
9476
9478
  R(B);
9477
9479
  return;
@@ -9483,7 +9485,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9483
9485
  let B = i.value.state;
9484
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);
9485
9487
  }, v = (B, ee) => {
9486
- 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;
9487
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;
9488
9490
  }, R = (B) => {
9489
9491
  let ee = B.x - N.x, de = B.y - N.y;
@@ -9559,7 +9561,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9559
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);
9560
9562
  }, Ct = () => {
9561
9563
  let B = Dt();
9562
- 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;
9563
9565
  };
9564
9566
  return gt(() => {
9565
9567
  Ct();
@@ -9571,7 +9573,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9571
9573
  m.object.mergeTo(i.value, oe), ke && (te = ke), Qe && (I = Qe), Ge && (Z = Ge);
9572
9574
  }
9573
9575
  dl(), i.value.index == null && Xe();
9574
- 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 };
9575
9577
  D.drag(h.value, de);
9576
9578
  }), xe(() => {
9577
9579
  D.dispose();
@@ -9582,7 +9584,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9582
9584
  m.object.mergeTo(i.value, B);
9583
9585
  }, { deep: !0 }), r({ focus: at, blur: ul, min: Ye, max: Je, restore: He, affix: C, toggleShow: cl, options: i.value }), (B, ee) => {
9584
9586
  const de = J("el-scrollbar");
9585
- return o(Y) ? (f(), W(ft, {
9587
+ return o(Y) ? (g(), q(ft, {
9586
9588
  key: 0,
9587
9589
  to: "body"
9588
9590
  }, [
@@ -9609,13 +9611,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9609
9611
  onDblclick: ee[0] || (ee[0] = //@ts-ignore
9610
9612
  (...oe) => o(U) && o(U)(...oe))
9611
9613
  }, [
9612
- o($) ? ae(B.$slots, "title", { key: 0 }) : (f(), _(ue, { key: 1 }, [
9614
+ o(A) ? ae(B.$slots, "title", { key: 0 }) : (g(), _(ue, { key: 1 }, [
9613
9615
  G(L(o(n)), 1)
9614
9616
  ], 64))
9615
9617
  ], 544),
9616
9618
  w("div", {
9617
9619
  ref_key: "toolbarRef",
9618
- ref: g,
9620
+ ref: f,
9619
9621
  class: "header-toolbar"
9620
9622
  }, [
9621
9623
  ae(B.$slots, "toolbar"),
@@ -9624,12 +9626,12 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9624
9626
  onClick: ee[1] || (ee[1] = //@ts-ignore
9625
9627
  (...oe) => o(Ye) && o(Ye)(...oe))
9626
9628
  }),
9627
- o(i).state != "max" ? (f(), _("i", {
9629
+ o(i).state != "max" ? (g(), _("i", {
9628
9630
  key: 0,
9629
9631
  class: "toolbar-max",
9630
9632
  onClick: ee[2] || (ee[2] = //@ts-ignore
9631
9633
  (...oe) => o(Je) && o(Je)(...oe))
9632
- })) : (f(), _("i", {
9634
+ })) : (g(), _("i", {
9633
9635
  key: 1,
9634
9636
  class: "toolbar-restore",
9635
9637
  onClick: ee[3] || (ee[3] = //@ts-ignore
@@ -9642,13 +9644,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9642
9644
  })
9643
9645
  ], 512)
9644
9646
  ]),
9645
- A(o(sl), {
9647
+ $(o(sl), {
9646
9648
  class: "window-body",
9647
9649
  width: o(i).side,
9648
9650
  onResize: o(il)
9649
9651
  }, {
9650
9652
  left: b(() => [
9651
- o(k) ? (f(), W(de, {
9653
+ o(k) ? (g(), q(de, {
9652
9654
  key: 0,
9653
9655
  class: "window-side"
9654
9656
  }, {
@@ -9660,7 +9662,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9660
9662
  ]),
9661
9663
  default: b(() => [
9662
9664
  w("div", la, [
9663
- o(j) ? (f(), W(de, {
9665
+ o(j) ? (g(), q(de, {
9664
9666
  key: 0,
9665
9667
  class: "window-main-header",
9666
9668
  onClick: o(at)
@@ -9673,7 +9675,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9673
9675
  w("div", sa, [
9674
9676
  ae(B.$slots, "default")
9675
9677
  ]),
9676
- o(M) ? (f(), _("div", ra, [
9678
+ o(M) ? (g(), _("div", ra, [
9677
9679
  ae(B.$slots, "footer")
9678
9680
  ])) : Q("", !0)
9679
9681
  ])
@@ -9714,7 +9716,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9714
9716
  onMousedown: ee[12] || (ee[12] = (oe) => o(ne)(oe, "bottom-left"))
9715
9717
  }, null, 32)
9716
9718
  ]),
9717
- o(se) ? (f(), _("div", {
9719
+ o(se) ? (g(), _("div", {
9718
9720
  key: 0,
9719
9721
  class: "window-widget",
9720
9722
  style: we({ height: `calc(100% - ${o(u)}px)` })
@@ -9728,17 +9730,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9728
9730
  setup(d) {
9729
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 () => {
9730
9732
  e.value = await V.user.loadUsers(r.value);
9731
- }, c = ($, k) => {
9732
- $ == "env" && (V.user.env = k);
9733
- }, p = ($) => {
9734
- r.value.text = $, i();
9733
+ }, c = (A, k) => {
9734
+ A == "env" && (V.user.env = k);
9735
+ }, p = (A) => {
9736
+ r.value.text = A, i();
9735
9737
  }, h = async () => {
9736
9738
  s.value = !0, await Ve(), n.value.loadAsync().then();
9737
- }, g = () => {
9739
+ }, f = () => {
9738
9740
  s.value = !1;
9739
- }, y = async ($) => {
9741
+ }, y = async (A) => {
9740
9742
  let k = await V.user.getSso();
9741
- 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) => {
9742
9744
  z.messenger.success(M.message);
9743
9745
  });
9744
9746
  };
@@ -9746,9 +9748,9 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9746
9748
  await u.openAsync("sys", "debugger", l.value);
9747
9749
  }), xe(async () => {
9748
9750
  await u.dispose();
9749
- }), ($, k) => {
9751
+ }), (A, k) => {
9750
9752
  const j = J("el-option"), M = J("el-select"), N = J("el-form-item"), x = J("el-button");
9751
- return f(), _(ue, null, [
9753
+ return g(), _(ue, null, [
9752
9754
  w("div", {
9753
9755
  class: "header-btn",
9754
9756
  onClick: k[0] || (k[0] = //@ts-ignore
@@ -9756,7 +9758,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9756
9758
  }, k[3] || (k[3] = [
9757
9759
  w("i", { class: "fa fa-bolt-lightning" }, null, -1)
9758
9760
  ])),
9759
- o(s) ? (f(), W(o(Ke), {
9761
+ o(s) ? (g(), q(o(Ke), {
9760
9762
  key: 0,
9761
9763
  id: "debugger",
9762
9764
  title: "调试",
@@ -9767,7 +9769,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9767
9769
  footer: b(() => [
9768
9770
  k[6] || (k[6] = w("div", null, null, -1)),
9769
9771
  w("div", oa, [
9770
- A(x, {
9772
+ $(x, {
9771
9773
  type: "primary",
9772
9774
  plain: ""
9773
9775
  }, {
@@ -9776,7 +9778,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9776
9778
  ])),
9777
9779
  _: 1
9778
9780
  }),
9779
- A(x, { onClick: o(g) }, {
9781
+ $(x, { onClick: o(f) }, {
9780
9782
  default: b(() => k[5] || (k[5] = [
9781
9783
  G("取消")
9782
9784
  ])),
@@ -9785,18 +9787,18 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9785
9787
  ])
9786
9788
  ]),
9787
9789
  default: b(() => [
9788
- A(o(ln), null, {
9790
+ $(o(ln), null, {
9789
9791
  default: b(() => [
9790
- A(o(bo), {
9792
+ $(o(bo), {
9791
9793
  ref_key: "driverRef",
9792
9794
  ref: n,
9793
9795
  form: o(l),
9794
9796
  onChange: o(c)
9795
9797
  }, {
9796
9798
  default: b(() => [
9797
- A(N, { label: "用户" }, {
9799
+ $(N, { label: "用户" }, {
9798
9800
  default: b(() => [
9799
- o(V).user.debugger ? (f(), W(M, {
9801
+ o(V).user.debugger ? (g(), q(M, {
9800
9802
  key: 0,
9801
9803
  filterable: "",
9802
9804
  remote: "",
@@ -9809,7 +9811,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9809
9811
  "onUpdate:modelValue": k[1] || (k[1] = (P) => o(t).secret = P)
9810
9812
  }, {
9811
9813
  default: b(() => [
9812
- (f(!0), _(ue, null, pe(o(e), (P) => (f(), W(j, {
9814
+ (g(!0), _(ue, null, pe(o(e), (P) => (g(), q(j, {
9813
9815
  value: P.value,
9814
9816
  label: `${P.text}(${P.value})`
9815
9817
  }, {
@@ -9849,14 +9851,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9849
9851
  __name: "HeaderRight",
9850
9852
  emits: ["show-tips", "show-changes"],
9851
9853
  setup(d, { emit: r }) {
9852
- let e = r, t = S(), l = S(), s = Fe(), n = (g) => {
9853
- l.value.style.animationPlayState = g;
9854
+ let e = r, t = S(), l = S(), s = Fe(), n = (f) => {
9855
+ l.value.style.animationPlayState = f;
9854
9856
  }, u = () => {
9855
- let g = s.path;
9856
- be.to(`/login?return_url=${g}`);
9857
+ let f = s.path;
9858
+ be.to(`/login?return_url=${f}`);
9857
9859
  }, i = () => {
9858
- z.http.get("/app/cache/clear").then(({ message: g }) => {
9859
- z.messenger.success(g);
9860
+ z.http.get("/app/cache/clear").then(({ message: f }) => {
9861
+ z.messenger.success(f);
9860
9862
  });
9861
9863
  }, c = () => {
9862
9864
  e("show-tips");
@@ -9867,11 +9869,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9867
9869
  u();
9868
9870
  });
9869
9871
  };
9870
- return (g, y) => {
9871
- const $ = J("el-dropdown-item"), k = J("el-dropdown-menu"), j = J("el-dropdown");
9872
- 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, [
9873
9875
  w("div", ia, [
9874
- o(E).exists("sys.notice") ? (f(), _("div", {
9876
+ o(E).exists("sys.notice") ? (g(), _("div", {
9875
9877
  key: 0,
9876
9878
  ref_key: "marqueeRef",
9877
9879
  ref: l,
@@ -9880,24 +9882,24 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9880
9882
  onMouseout: y[1] || (y[1] = (M) => o(n)("running"))
9881
9883
  }, L(o(E).t("sys.notice")), 545)) : Q("", !0)
9882
9884
  ]),
9883
- 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] = [
9884
9886
  w("i", { class: "fa fa-warning" }, null, -1),
9885
9887
  G(" Socket连接已断开 ")
9886
9888
  ]))) : Q("", !0),
9887
- o(V).user.user ? (f(), W(aa, { key: 1 })) : Q("", !0),
9888
- A(Ho),
9889
- A(Bo, {
9889
+ o(V).user.user ? (g(), q(aa, { key: 1 })) : Q("", !0),
9890
+ $(Ho),
9891
+ $(Bo, {
9890
9892
  ref_key: "settingRef",
9891
9893
  ref: t
9892
9894
  }, null, 512),
9893
- o(V).user.user ? (f(), W(j, {
9895
+ o(V).user.user ? (g(), q(j, {
9894
9896
  key: 2,
9895
9897
  trigger: "click"
9896
9898
  }, {
9897
9899
  dropdown: b(() => [
9898
- A(k, { class: "avatar-dropdown" }, {
9900
+ $(k, { class: "avatar-dropdown" }, {
9899
9901
  default: b(() => [
9900
- A($, {
9902
+ $(A, {
9901
9903
  onClick: y[2] || (y[2] = (M) => o(t).show())
9902
9904
  }, {
9903
9905
  default: b(() => [
@@ -9905,7 +9907,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9905
9907
  ]),
9906
9908
  _: 1
9907
9909
  }),
9908
- A($, {
9910
+ $(A, {
9909
9911
  divided: "",
9910
9912
  onClick: o(c)
9911
9913
  }, {
@@ -9914,19 +9916,19 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9914
9916
  ]),
9915
9917
  _: 1
9916
9918
  }, 8, ["onClick"]),
9917
- A($, { onClick: o(p) }, {
9919
+ $(A, { onClick: o(p) }, {
9918
9920
  default: b(() => [
9919
9921
  G(L(o(E).sys("changes_title")), 1)
9920
9922
  ]),
9921
9923
  _: 1
9922
9924
  }, 8, ["onClick"]),
9923
- A($, { onClick: o(i) }, {
9925
+ $(A, { onClick: o(i) }, {
9924
9926
  default: b(() => [
9925
9927
  G(L(o(E).t("setting.clear_cache")), 1)
9926
9928
  ]),
9927
9929
  _: 1
9928
9930
  }, 8, ["onClick"]),
9929
- A($, {
9931
+ $(A, {
9930
9932
  divided: "",
9931
9933
  onClick: o(i)
9932
9934
  }, {
@@ -9935,7 +9937,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9935
9937
  ]),
9936
9938
  _: 1
9937
9939
  }, 8, ["onClick"]),
9938
- A($, { onClick: o(h) }, {
9940
+ $(A, { onClick: o(h) }, {
9939
9941
  default: b(() => [
9940
9942
  G(L(o(E).t("common.logout")), 1)
9941
9943
  ]),
@@ -9946,18 +9948,18 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9946
9948
  })
9947
9949
  ]),
9948
9950
  default: b(() => [
9949
- o(V).user.user ? (f(), _("div", ca, [
9950
- o(V).user.user.avatar ? (f(), _("img", {
9951
+ o(V).user.user ? (g(), _("div", ca, [
9952
+ o(V).user.user.avatar ? (g(), _("img", {
9951
9953
  key: 0,
9952
9954
  src: o(V).user.user.avatar,
9953
9955
  alt: o(V).user.user.truename
9954
- }, null, 8, da)) : (f(), _("i", pa)),
9956
+ }, null, 8, da)) : (g(), _("i", pa)),
9955
9957
  w("div", null, L(o(V).user.user.truename), 1),
9956
9958
  y[5] || (y[5] = w("i", { class: "fa fa-chevron-down" }, null, -1))
9957
9959
  ])) : Q("", !0)
9958
9960
  ]),
9959
9961
  _: 1
9960
- })) : (f(), _("div", {
9962
+ })) : (g(), _("div", {
9961
9963
  key: 3,
9962
9964
  class: "header-btn",
9963
9965
  onClick: y[3] || (y[3] = //@ts-ignore
@@ -9982,8 +9984,8 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9982
9984
  let i = E.sys("tips");
9983
9985
  i != null && (s = Object.keys(i)), n.length = s.length, n.next();
9984
9986
  }), (i, c) => {
9985
- const p = J("el-alert"), h = J("el-checkbox"), g = J("el-button");
9986
- 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), {
9987
9989
  key: 0,
9988
9990
  id: "welcome",
9989
9991
  class: "ha-tips",
@@ -9994,7 +9996,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
9994
9996
  "onUpdate:modelValue": c[3] || (c[3] = (y) => o(l).visible = y)
9995
9997
  }, {
9996
9998
  footer: b(() => [
9997
- A(h, {
9999
+ $(h, {
9998
10000
  modelValue: o(l).never,
9999
10001
  "onUpdate:modelValue": c[0] || (c[0] = (y) => o(l).never = y)
10000
10002
  }, {
@@ -10005,7 +10007,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10005
10007
  }, 8, ["modelValue"]),
10006
10008
  w("div", fa, [
10007
10009
  w("div", null, L(o(n).current + 1) + "/" + L(o(n).length), 1),
10008
- A(g, {
10010
+ $(f, {
10009
10011
  disabled: !o(n).hasPrev,
10010
10012
  onClick: c[1] || (c[1] = (y) => o(n).prev())
10011
10013
  }, {
@@ -10014,7 +10016,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10014
10016
  ])),
10015
10017
  _: 1
10016
10018
  }, 8, ["disabled"]),
10017
- A(g, {
10019
+ $(f, {
10018
10020
  type: "primary",
10019
10021
  plain: "",
10020
10022
  disabled: !o(n).hasNext,
@@ -10025,7 +10027,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10025
10027
  ])),
10026
10028
  _: 1
10027
10029
  }, 8, ["disabled"]),
10028
- A(g, { onClick: o(u) }, {
10030
+ $(f, { onClick: o(u) }, {
10029
10031
  default: b(() => c[7] || (c[7] = [
10030
10032
  G("关闭")
10031
10033
  ])),
@@ -10034,7 +10036,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10034
10036
  ])
10035
10037
  ]),
10036
10038
  default: b(() => [
10037
- A(p, {
10039
+ $(p, {
10038
10040
  type: "warning",
10039
10041
  title: o(E).sys("tips_welcome"),
10040
10042
  style: { "margin-bottom": "10px" },
@@ -10059,17 +10061,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10059
10061
  return ye(() => {
10060
10062
  let e = E.sys("changes");
10061
10063
  r.value = Object.keys(e);
10062
- }), (e, t) => (f(), W(o(Ke), {
10064
+ }), (e, t) => (g(), q(o(Ke), {
10063
10065
  class: "ha-changes",
10064
10066
  id: "changes",
10065
10067
  title: o(E).sys("changes_title"),
10066
10068
  options: e.options
10067
10069
  }, {
10068
10070
  side: b(() => [
10069
- (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))
10070
10072
  ]),
10071
10073
  default: b(() => [
10072
- (f(!0), _(ue, null, pe(o(r), (l) => (f(), _("div", ya, [
10074
+ (g(!0), _(ue, null, pe(o(r), (l) => (g(), _("div", ya, [
10073
10075
  w("div", va, L(l), 1),
10074
10076
  w("div", {
10075
10077
  class: "ha-rich-text",
@@ -10097,31 +10099,31 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10097
10099
  ye(async () => {
10098
10100
  await Ul.tour().start(), await l.openAsync("sys", "header", t.value);
10099
10101
  });
10100
- let u = he(() => Ae.getComponent("/", "header"));
10101
- return (i, c) => (f(), _("div", _a, [
10102
+ let u = he(() => $e.getComponent("/", "header"));
10103
+ return (i, c) => (g(), _("div", _a, [
10102
10104
  w("div", ka, [
10103
10105
  ae(i.$slots, "default")
10104
10106
  ]),
10105
10107
  w("div", xa, [
10106
- (f(), W(Ne(o(u))))
10108
+ (g(), q(Ne(o(u))))
10107
10109
  ]),
10108
10110
  w("div", Ca, [
10109
- A(ma, {
10111
+ $(ma, {
10110
10112
  onShowTips: o(s),
10111
10113
  onShowChanges: o(n)
10112
10114
  }, null, 8, ["onShowTips", "onShowChanges"]),
10113
- A(ga, {
10115
+ $(ga, {
10114
10116
  form: o(t).tips,
10115
10117
  bottom: o(e)
10116
10118
  }, null, 8, ["form", "bottom"]),
10117
- o(t).changes.visible ? (f(), W(wa, {
10119
+ o(t).changes.visible ? (g(), q(wa, {
10118
10120
  key: 0,
10119
10121
  options: o(t).changes.options
10120
10122
  }, null, 8, ["options"])) : Q("", !0)
10121
10123
  ])
10122
10124
  ]));
10123
10125
  }
10124
- }), 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({
10125
10127
  __name: "Logo",
10126
10128
  emits: ["click"],
10127
10129
  setup(d, { emit: r }) {
@@ -10130,15 +10132,15 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10130
10132
  }, l = he(() => E.sys("title"));
10131
10133
  return (s, n) => {
10132
10134
  var u;
10133
- return f(), _("a", {
10135
+ return g(), _("a", {
10134
10136
  class: "logo",
10135
10137
  href: o(re).setting.home,
10136
10138
  onClick: n[0] || (n[0] = Re((i) => o(t)(o(re).setting.home), ["prevent"]))
10137
10139
  }, [
10138
- w("div", $a, L((u = o(l)) == null ? void 0 : u.substring(0, 1)), 1),
10139
- w("div", Aa, [
10140
- A(o(Et), { text: o(l) }, null, 8, ["text"]),
10141
- 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), {
10142
10144
  class: "logo-version",
10143
10145
  delay: o(l).length * 0.1,
10144
10146
  text: o(V).setting.version
@@ -10160,7 +10162,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10160
10162
  C.dialogRef = T;
10161
10163
  }, h = (T, C) => {
10162
10164
  C.pageRef = T;
10163
- }, g = (T, C = null) => {
10165
+ }, f = (T, C = null) => {
10164
10166
  if (!C)
10165
10167
  return;
10166
10168
  C.bodyUrl = T;
@@ -10177,7 +10179,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10177
10179
  v.sideMenuId = C, v.headerMenuId = C;
10178
10180
  let ne;
10179
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);
10180
- }, $ = (T, C, v, R) => {
10182
+ }, A = (T, C, v, R) => {
10181
10183
  if (R) {
10182
10184
  Y(T, C);
10183
10185
  return;
@@ -10261,7 +10263,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10261
10263
  bodyUrl: null
10262
10264
  }, R = C[C.length - 1];
10263
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));
10264
- }, q = (T, C) => {
10266
+ }, W = (T, C) => {
10265
10267
  if (m.object.isObject(T)) {
10266
10268
  let { module: v } = T;
10267
10269
  C.title = E.module(v.type, v.name), C.env = v.env;
@@ -10304,17 +10306,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10304
10306
  i && i.saveAsync("desktop", "taskbars", v);
10305
10307
  }, { deep: !0 });
10306
10308
  let K = he(() => m.url.getM(u.fullPath));
10307
- return (T, C) => (f(), _("div", {
10309
+ return (T, C) => (g(), _("div", {
10308
10310
  ref_key: "appRef",
10309
10311
  ref: e,
10310
10312
  class: "app-wrapper"
10311
10313
  }, [
10312
- A(o(nt), {
10314
+ $(o(nt), {
10313
10315
  class: "desktop-tools",
10314
10316
  bottom: o(n).height
10315
10317
  }, null, 8, ["bottom"]),
10316
- o(V).user.menus.length ? (f(), _("div", Ta, [
10317
- (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", {
10318
10320
  href: o(m).url.getAnchor(v.url, { m: v.id }).href,
10319
10321
  class: "desktop-icon",
10320
10322
  title: o(E).menu(v.id),
@@ -10328,10 +10330,10 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10328
10330
  ], 12, Ra))), 256))
10329
10331
  ])) : Q("", !0),
10330
10332
  w("div", Ua, [
10331
- A(o(wt), {
10332
- 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]))
10333
10335
  }),
10334
- (f(!0), _(ue, null, pe(o(r), (v) => (f(), _("div", {
10336
+ (g(!0), _(ue, null, pe(o(r), (v) => (g(), _("div", {
10335
10337
  class: ce(["desktop-task", { focus: v.options.focus }]),
10336
10338
  onClick: (R) => o(O)(v)
10337
10339
  }, [
@@ -10341,7 +10343,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10341
10343
  G(L(v.title), 1)
10342
10344
  ], 10, ja))), 256))
10343
10345
  ]),
10344
- (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), {
10345
10347
  ref_for: !0,
10346
10348
  ref: (R) => o(p)(R, v),
10347
10349
  id: v.id,
@@ -10361,12 +10363,12 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10361
10363
  }, null, 8, Da)
10362
10364
  ]),
10363
10365
  title: b(() => [
10364
- v.menu.icon ? (f(), _("i", {
10366
+ v.menu.icon ? (g(), _("i", {
10365
10367
  key: 0,
10366
10368
  class: ce(`icon ${v.menu.icon}`)
10367
10369
  }, null, 2)) : Q("", !0),
10368
10370
  G(" " + L(v.title) + " ", 1),
10369
- v.env ? (f(), _("span", Ma, "[" + L(v.env) + "]", 1)) : Q("", !0)
10371
+ v.env ? (g(), _("span", Ma, "[" + L(v.env) + "]", 1)) : Q("", !0)
10370
10372
  ]),
10371
10373
  toolbar: b(() => [
10372
10374
  w("i", {
@@ -10375,14 +10377,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10375
10377
  }, null, 8, Va)
10376
10378
  ]),
10377
10379
  default: b(() => [
10378
- v.bodyUrl ? (f(), W(o(Oe), {
10380
+ v.bodyUrl ? (g(), q(o(Oe), {
10379
10381
  key: 0,
10380
10382
  ref_for: !0,
10381
10383
  ref: (R) => o(h)(R, v),
10382
10384
  url: v.bodyUrl,
10383
10385
  win: v.id,
10384
- onNavigate: (R) => o(g)(R, v),
10385
- onLoaded: (R) => o(q)(R, v),
10386
+ onNavigate: (R) => o(f)(R, v),
10387
+ onLoaded: (R) => o(W)(R, v),
10386
10388
  onSucceed: (R) => o(x)(v),
10387
10389
  onClose: (R) => o(P)(v)
10388
10390
  }, null, 8, ["url", "win", "onNavigate", "onLoaded", "onSucceed", "onClose"])) : Q("", !0)
@@ -10392,19 +10394,19 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10392
10394
  v.sideMenu.children.length ? {
10393
10395
  name: "side",
10394
10396
  fn: b(() => [
10395
- A(o(ol), {
10397
+ $(o(ol), {
10396
10398
  modelValue: v.sideMenuId,
10397
10399
  "onUpdate:modelValue": (R) => v.sideMenuId = R
10398
10400
  }, {
10399
10401
  default: b(() => [
10400
- A(o(st), {
10402
+ $(o(st), {
10401
10403
  name: v.sideMenu.id,
10402
10404
  url: v.sideMenu.url,
10403
10405
  title: o(E).menu(v.sideMenu.id),
10404
10406
  onClick: (R, ne, ge) => o(y)(R, v.sideMenu.id, v, ge)
10405
10407
  }, {
10406
10408
  default: b(() => [
10407
- v.sideMenu.icon ? (f(), _("i", {
10409
+ v.sideMenu.icon ? (g(), _("i", {
10408
10410
  key: 0,
10409
10411
  class: ce(`prefix ${v.sideMenu.icon}`)
10410
10412
  }, null, 2)) : Q("", !0),
@@ -10412,19 +10414,19 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10412
10414
  ]),
10413
10415
  _: 2
10414
10416
  }, 1032, ["name", "url", "title", "onClick"]),
10415
- (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), {
10416
10418
  name: R.id,
10417
10419
  url: R.url,
10418
10420
  title: o(E).menu(R.id),
10419
10421
  onClick: (ne, ge, Se) => o(y)(ne, R.id, v, Se)
10420
10422
  }, {
10421
10423
  default: b(() => [
10422
- R.icon ? (f(), _("i", {
10424
+ R.icon ? (g(), _("i", {
10423
10425
  key: 0,
10424
10426
  class: ce(`prefix ${R.icon}`)
10425
10427
  }, null, 2)) : Q("", !0),
10426
10428
  G(" " + L(o(E).menu(R.id)) + " ", 1),
10427
- R.children.length ? (f(), _("i", La)) : Q("", !0)
10429
+ R.children.length ? (g(), _("i", La)) : Q("", !0)
10428
10430
  ]),
10429
10431
  _: 2
10430
10432
  }, 1032, ["name", "url", "title", "onClick"]))), 256))
@@ -10437,15 +10439,15 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10437
10439
  v.headerMenu && v.headerMenu.children.length ? {
10438
10440
  name: "header",
10439
10441
  fn: b(() => [
10440
- A(o(Fo), {
10442
+ $(o(Fo), {
10441
10443
  modelValue: v.headerMenuId,
10442
10444
  "onUpdate:modelValue": (R) => v.headerMenuId = R
10443
10445
  }, {
10444
10446
  default: b(() => [
10445
- A(o(Ut), {
10447
+ $(o(Ut), {
10446
10448
  name: v.headerMenu.id,
10447
10449
  url: v.headerMenu.url,
10448
- onClick: (R, ne, ge) => o($)(R, v.headerMenu.id, v, ge)
10450
+ onClick: (R, ne, ge) => o(A)(R, v.headerMenu.id, v, ge)
10449
10451
  }, {
10450
10452
  default: b(() => [
10451
10453
  w("i", {
@@ -10455,10 +10457,10 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10455
10457
  ]),
10456
10458
  _: 2
10457
10459
  }, 1032, ["name", "url", "onClick"]),
10458
- (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), {
10459
10461
  name: R.id,
10460
10462
  url: R.url,
10461
- onClick: (ne, ge, Se) => o($)(ne, R.id, v, Se)
10463
+ onClick: (ne, ge, Se) => o(A)(ne, R.id, v, Se)
10462
10464
  }, {
10463
10465
  default: b(() => [
10464
10466
  w("i", {
@@ -10475,7 +10477,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10475
10477
  key: "1"
10476
10478
  } : void 0
10477
10479
  ]), 1032, ["id", "bottom", "options", "onMin", "onClose", "onFocus", "modelValue", "onUpdate:modelValue"]))), 128)),
10478
- A(o(Jn), {
10480
+ $(o(Jn), {
10479
10481
  ref_key: "feedbackRef",
10480
10482
  ref: t,
10481
10483
  bottom: o(n).height
@@ -10503,17 +10505,17 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10503
10505
  n.path.startsWith("/redirect/") || t();
10504
10506
  }), (n, u) => {
10505
10507
  const i = J("el-breadcrumb-item"), c = J("el-breadcrumb");
10506
- return f(), W(c, { separator: "/" }, {
10508
+ return g(), q(c, { separator: "/" }, {
10507
10509
  default: b(() => [
10508
- A(wl, { name: "breadcrumb" }, {
10510
+ $(wl, { name: "breadcrumb" }, {
10509
10511
  default: b(() => [
10510
- (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, {
10511
10513
  key: p.path
10512
10514
  }, {
10513
10515
  default: b(() => [
10514
- 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", {
10515
10517
  key: 1,
10516
- onClick: Re((g) => o(s)(p), ["prevent"])
10518
+ onClick: Re((f) => o(s)(p), ["prevent"])
10517
10519
  }, L(p.meta.title), 9, Ha))
10518
10520
  ]),
10519
10521
  _: 2
@@ -10542,12 +10544,12 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10542
10544
  let e = r, t = () => {
10543
10545
  e("toggleClick");
10544
10546
  };
10545
- return (l, s) => (f(), _("div", {
10547
+ return (l, s) => (g(), _("div", {
10546
10548
  class: "ha-hamburger",
10547
10549
  onClick: s[0] || (s[0] = //@ts-ignore
10548
10550
  (...n) => o(t) && o(t)(...n))
10549
10551
  }, [
10550
- d.isActive ? (f(), _("i", za)) : (f(), _("i", Ba))
10552
+ d.isActive ? (g(), _("i", za)) : (g(), _("i", Ba))
10551
10553
  ]));
10552
10554
  }
10553
10555
  }), Fa = /* @__PURE__ */ X({
@@ -10557,7 +10559,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10557
10559
  let e = r, t = () => {
10558
10560
  e("refresh");
10559
10561
  };
10560
- return (l, s) => (f(), _("div", {
10562
+ return (l, s) => (g(), _("div", {
10561
10563
  class: ce(["btn-refresh", { loading: !1 }]),
10562
10564
  onClick: s[0] || (s[0] = //@ts-ignore
10563
10565
  (...n) => o(t) && o(t)(...n))
@@ -10565,7 +10567,7 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10565
10567
  w("i", { class: "fa fa-sync" }, null, -1)
10566
10568
  ])));
10567
10569
  }
10568
- }), Wa = { class: "side-header" }, qa = { class: "side-body" }, Ka = {
10570
+ }), qa = { class: "side-header" }, Wa = { class: "side-body" }, Ka = {
10569
10571
  key: 1,
10570
10572
  class: "ha-empty"
10571
10573
  }, Ya = ["innerHTML"], Ja = { class: "main-container" }, Xa = {
@@ -10589,11 +10591,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10589
10591
  hideNav: !1
10590
10592
  }), h = (te) => {
10591
10593
  typeof te == "string" && z.i18n.setI18nTitle(te);
10592
- }, g = (te) => {
10594
+ }, f = (te) => {
10593
10595
  be.to(te, !1);
10594
10596
  }, y = () => {
10595
10597
  re.module.triggerRefresh(e.value);
10596
- }, $ = (te) => {
10598
+ }, A = (te) => {
10597
10599
  re.module.triggerClose(e.value, te);
10598
10600
  }, k = (te) => {
10599
10601
  M(Ee.ctrlS, te);
@@ -10612,16 +10614,16 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10612
10614
  s.value = t.fullPath, n.value = t.query.m;
10613
10615
  };
10614
10616
  H(), ye(async () => {
10615
- 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);
10616
10618
  }), xe(() => {
10617
- m.event.unbind(["beforeunload"], window, $), u.removeCtrlS(document), u.removeCtrlEnter(document);
10619
+ m.event.unbind(["beforeunload"], window, A), u.removeCtrlS(document), u.removeCtrlEnter(document);
10618
10620
  });
10619
10621
  let le = he(() => m.tree.searchTree(l.value, V.user.menus, "children", ["name", "url"]));
10620
10622
  return me(() => t.fullPath, (te, I) => {
10621
10623
  H();
10622
10624
  }), r({ onKeyboard: M }), (te, I) => {
10623
10625
  const Z = J("el-input"), O = J("el-backtop");
10624
- return f(), W(o(sl), {
10626
+ return g(), q(o(sl), {
10625
10627
  class: "app-wrapper",
10626
10628
  width: o(p).width,
10627
10629
  onResize: o(P)
@@ -10630,9 +10632,9 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10630
10632
  w("div", {
10631
10633
  class: ce(["side-nav", { hide: !o(p).opened }])
10632
10634
  }, [
10633
- w("div", Wa, [
10634
- A(wt, { onClick: o(g) }, null, 8, ["onClick"]),
10635
- A(Z, {
10635
+ w("div", qa, [
10636
+ $(wt, { onClick: o(f) }, null, 8, ["onClick"]),
10637
+ $(Z, {
10636
10638
  type: "text",
10637
10639
  clearable: "",
10638
10640
  placeholder: o(E).t("common.search_menu"),
@@ -10645,16 +10647,16 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10645
10647
  _: 1
10646
10648
  }, 8, ["placeholder", "modelValue"])
10647
10649
  ]),
10648
- w("div", qa, [
10649
- o(le).length ? (f(), W(o(nl), {
10650
+ w("div", Wa, [
10651
+ o(le).length ? (g(), q(o(nl), {
10650
10652
  key: 0,
10651
10653
  menus: o(le),
10652
10654
  direction: "vertical",
10653
10655
  "expand-active": "",
10654
- onClick: o(g),
10656
+ onClick: o(f),
10655
10657
  modelValue: o(n),
10656
10658
  "onUpdate:modelValue": I[1] || (I[1] = (Y) => _e(n) ? n.value = Y : n = Y)
10657
- }, 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))
10658
10660
  ]),
10659
10661
  w("div", {
10660
10662
  class: "side-footer",
@@ -10664,14 +10666,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10664
10666
  ]),
10665
10667
  default: b(() => [
10666
10668
  w("div", Ja, [
10667
- o(p).hideNav ? Q("", !0) : (f(), W(nt, { key: 0 }, {
10669
+ o(p).hideNav ? Q("", !0) : (g(), q(nt, { key: 0 }, {
10668
10670
  default: b(() => [
10669
- A(Na, {
10671
+ $(Na, {
10670
10672
  "is-active": o(p).opened,
10671
10673
  onToggleClick: o(x)
10672
10674
  }, null, 8, ["is-active", "onToggleClick"]),
10673
- A(Fa, { onRefresh: o(y) }, null, 8, ["onRefresh"]),
10674
- A(Pa)
10675
+ $(Fa, { onRefresh: o(y) }, null, 8, ["onRefresh"]),
10676
+ $(Pa)
10675
10677
  ]),
10676
10678
  _: 1
10677
10679
  })),
@@ -10679,14 +10681,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10679
10681
  class: "ha-main",
10680
10682
  style: we({ height: o(p).hideNav ? "100vh" : "calc(100vh - 49px)" })
10681
10683
  }, [
10682
- A(o(Oe), {
10684
+ $(o(Oe), {
10683
10685
  ref_key: "mainRef",
10684
10686
  ref: e,
10685
10687
  url: o(s),
10686
10688
  onLoaded: o(h),
10687
- onNavigate: o(g)
10689
+ onNavigate: o(f)
10688
10690
  }, null, 8, ["url", "onLoaded", "onNavigate"]),
10689
- A(O, { target: ".ha-main" })
10691
+ $(O, { target: ".ha-main" })
10690
10692
  ], 4)
10691
10693
  ])
10692
10694
  ]),
@@ -10701,11 +10703,11 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10701
10703
  typeof N == "string" && z.i18n.setI18nTitle(N);
10702
10704
  }, h = (N) => {
10703
10705
  be.to(N, !1);
10704
- }, g = (N) => {
10705
- $(Ee.ctrlS, N);
10706
+ }, f = (N) => {
10707
+ A(Ee.ctrlS, N);
10706
10708
  }, y = (N) => {
10707
- $(Ee.ctrlEnter, N);
10708
- }, $ = (N, x) => {
10709
+ A(Ee.ctrlEnter, N);
10710
+ }, A = (N, x) => {
10709
10711
  re.module.triggerKeyboard(e.value, N, x);
10710
10712
  }, k = (N) => {
10711
10713
  let x = JSON.parse(N.data);
@@ -10716,23 +10718,23 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10716
10718
  t.value = n.fullPath, u.value = n.query.m;
10717
10719
  };
10718
10720
  return M(), ye(() => {
10719
- 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;
10720
10722
  }), ht(() => {
10721
10723
  c.removeCtrlS(document), c.removeCtrlEnter(document), i.dispose();
10722
10724
  }), me(() => n.fullPath, (N, x) => {
10723
10725
  M();
10724
- }), r({ onKeyboard: $ }), (N, x) => {
10726
+ }), r({ onKeyboard: A }), (N, x) => {
10725
10727
  const P = J("el-backtop");
10726
- return f(), _("div", {
10728
+ return g(), _("div", {
10727
10729
  ref_key: "appRef",
10728
10730
  ref: l,
10729
10731
  class: "app-wrapper"
10730
10732
  }, [
10731
10733
  w("div", Ga, [
10732
- A(o(nt), { class: "top-nav-menu" }, {
10734
+ $(o(nt), { class: "top-nav-menu" }, {
10733
10735
  default: b(() => [
10734
- A(o(wt), { onClick: o(h) }, null, 8, ["onClick"]),
10735
- A(o(nl), {
10736
+ $(o(wt), { onClick: o(h) }, null, 8, ["onClick"]),
10737
+ $(o(nl), {
10736
10738
  ref_key: "menuRef",
10737
10739
  ref: s,
10738
10740
  menus: o(V).user.menus,
@@ -10746,14 +10748,14 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10746
10748
  ]),
10747
10749
  w("div", Za, [
10748
10750
  w("section", ei, [
10749
- A(o(Oe), {
10751
+ $(o(Oe), {
10750
10752
  ref_key: "mainRef",
10751
10753
  ref: e,
10752
10754
  url: o(t),
10753
10755
  onLoaded: o(p),
10754
10756
  onNavigate: o(h)
10755
10757
  }, null, 8, ["url", "onLoaded", "onNavigate"]),
10756
- A(P, { target: ".ha-main" })
10758
+ $(P, { target: ".ha-main" })
10757
10759
  ])
10758
10760
  ])
10759
10761
  ], 512);
@@ -10772,13 +10774,13 @@ const Xi = /* @__PURE__ */ je(Wo, [["render", Yo]]), Jo = ["href", "target"], Xo
10772
10774
  e();
10773
10775
  }), (t, l) => {
10774
10776
  const s = J("el-watermark");
10775
- return f(), W(s, {
10777
+ return g(), q(s, {
10776
10778
  class: "ha-watermark",
10777
10779
  "z-index": 99,
10778
10780
  content: o(V).setting.watermark
10779
10781
  }, {
10780
10782
  default: b(() => [
10781
- (f(), W(Ne(`${o(r).layout}-layout`), null, {
10783
+ (g(), q(Ne(`${o(r).layout}-layout`), null, {
10782
10784
  default: b(() => [
10783
10785
  G(" 未实现的布局方式:" + L(o(r).layout), 1)
10784
10786
  ]),
@@ -10804,7 +10806,7 @@ let si = async () => {
10804
10806
  }, Zi = async (d, r) => {
10805
10807
  V.env.useEnv(r.env);
10806
10808
  let e = F.repo.setting, t = new Lt();
10807
- 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);
10808
10810
  };
10809
10811
  export {
10810
10812
  yn as $,
@@ -10814,7 +10816,7 @@ export {
10814
10816
  z as D,
10815
10817
  Vr as E,
10816
10818
  F,
10817
- $i as G,
10819
+ Ai as G,
10818
10820
  Xi as H,
10819
10821
  E as I,
10820
10822
  Tt as J,
@@ -10824,7 +10826,7 @@ export {
10824
10826
  ji as N,
10825
10827
  Ti as O,
10826
10828
  Ri as P,
10827
- Wr as Q,
10829
+ qr as Q,
10828
10830
  re as R,
10829
10831
  V as S,
10830
10832
  ct as T,
@@ -10854,8 +10856,8 @@ export {
10854
10856
  Bs as aE,
10855
10857
  Ns as aF,
10856
10858
  Fs as aG,
10857
- Ws as aH,
10858
- qs as aI,
10859
+ qs as aH,
10860
+ Ws as aI,
10859
10861
  Ks as aJ,
10860
10862
  Ys as aK,
10861
10863
  Js as aL,
@@ -10885,7 +10887,7 @@ export {
10885
10887
  fs as ai,
10886
10888
  as as aj,
10887
10889
  bi as ak,
10888
- At as al,
10890
+ $t as al,
10889
10891
  bs as am,
10890
10892
  ws as an,
10891
10893
  _s as ao,
@@ -10893,21 +10895,21 @@ export {
10893
10895
  Ft as aq,
10894
10896
  Cs as ar,
10895
10897
  Ll as as,
10896
- $t as at,
10897
- As as au,
10898
+ At as at,
10899
+ $s as au,
10898
10900
  cs as av,
10899
10901
  ds as aw,
10900
10902
  vi as ax,
10901
10903
  Ds as ay,
10902
10904
  Ls as az,
10903
- Wi as b,
10905
+ qi as b,
10904
10906
  bt as b0,
10905
10907
  pr as b1,
10906
10908
  Xt as b2,
10907
10909
  hr as b3,
10908
10910
  ki as b4,
10909
10911
  xi as b5,
10910
- Ar as b6,
10912
+ $r as b6,
10911
10913
  Tr as b7,
10912
10914
  Rr as b8,
10913
10915
  fe as b9,
@@ -10931,7 +10933,7 @@ export {
10931
10933
  Cr as bj,
10932
10934
  Sr as bk,
10933
10935
  tl as bl,
10934
- $r as bm,
10936
+ Ar as bm,
10935
10937
  Ii as bn,
10936
10938
  Oi as bo,
10937
10939
  Hi as bp,
@@ -10945,8 +10947,8 @@ export {
10945
10947
  Ki as bx,
10946
10948
  Ut as by,
10947
10949
  Fo as bz,
10948
- Ae as c,
10949
- Ai as d,
10950
+ $e as c,
10951
+ $i as d,
10950
10952
  je as e,
10951
10953
  Ei as f,
10952
10954
  Pi as g,
@@ -10956,7 +10958,7 @@ export {
10956
10958
  Ji as k,
10957
10959
  sl as l,
10958
10960
  On as m,
10959
- qi as n,
10961
+ Wi as n,
10960
10962
  Le as o,
10961
10963
  Yi as p,
10962
10964
  ll as q,