halo-pc 1.0.19 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. package/dist/{Article-C00dDtgQ.js → Article-D3N6eVpH.js} +52 -51
  2. package/dist/{ArticleFooter-jAlMJJ0Z.js → ArticleFooter-CbvmQHCn.js} +5 -5
  3. package/dist/{Autocomplete-DYgdzQEa.js → Autocomplete-BrKsj5vx.js} +1 -1
  4. package/dist/{Autocomplete-BYlz8Q3t.js → Autocomplete-C1Q-qo5y.js} +9 -9
  5. package/dist/{Autocomplete-CQ-UuksH.js → Autocomplete-C_t_3Onz.js} +9 -9
  6. package/dist/{CSharp-ouau54_s.js → CSharp-DGmv2biT.js} +1 -1
  7. package/dist/{Calender-iu_I3vcU.js → Calender-dCiW7eIK.js} +2 -2
  8. package/dist/{Callback-bRXyRBO2.js → Callback-BcjLHYz6.js} +3 -3
  9. package/dist/{Cascader-BJs2FXbQ.js → Cascader-BMs1Kw-s.js} +10 -10
  10. package/dist/{Cascader-ljR17aOe.js → Cascader-BoZLMQjq.js} +5 -5
  11. package/dist/{Checkbox-C2OWgiE1.js → Checkbox-DeuCkQ_E.js} +12 -12
  12. package/dist/{Checkbox-Cy5zNH7D.js → Checkbox-DklZD5ff.js} +1 -1
  13. package/dist/{Code-Cruabofi.js → Code-CmB3ZGnM.js} +10 -10
  14. package/dist/{Code-DTvIe3kd.js → Code-DVZ9QWgE.js} +1 -1
  15. package/dist/{Code-B9oyIhEo.js → Code-Q9ETcIfA.js} +1 -1
  16. package/dist/Code-hiW76EUm.js +4 -0
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-BmQDWq2q.js → Code.vue_vue_type_style_index_0_lang-DJO46RBx.js} +4 -4
  18. package/dist/{Column-ClHvuVuz.js → Column-K0p0pVuf.js} +26 -25
  19. package/dist/{Comment-D292jtJC.js → Comment-B_jDWUXE.js} +12 -12
  20. package/dist/Compare-CziDSVLD.js +37 -0
  21. package/dist/Compare-DFDzyQIR.js +57 -0
  22. package/dist/{Copy-CvgX-bKU.js → Copy-gHXEFE58.js} +5 -5
  23. package/dist/{Custom-4bEXZx8t.js → Custom-DS1OrDHT.js} +11 -11
  24. package/dist/{DataExport-DH0oVaJf.js → DataExport-DAk1d4uG.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BV2aSpcq.js → DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js} +19 -19
  26. package/dist/{DataImport-D73iWOit.js → DataImport-BLOSIbQ2.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-B39IZpM3.js → DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js} +19 -19
  28. package/dist/{Date-DCtZ8VpD.js → Date-BOrgXdKV.js} +4 -4
  29. package/dist/{Date-BJ2vBWIM.js → Date-D1KihBir.js} +1 -1
  30. package/dist/{DateRange-BWXik5I2.js → DateRange-Clg_We_d.js} +1 -1
  31. package/dist/{DateTime-BBHPa2zE.js → DateTime-Ba-L9NIq.js} +4 -4
  32. package/dist/{DateTime-D_GCbnKC.js → DateTime-Dwg6aUf3.js} +1 -1
  33. package/dist/{DateTimeRange-C4-4mq77.js → DateTimeRange-Cir1-Js8.js} +1 -1
  34. package/dist/{Daterange-CPVrg_r8.js → Daterange-Gaj6hNOK.js} +3 -3
  35. package/dist/{Decimal-Bv5A7-xm.js → Decimal-tv9vqaXk.js} +1 -1
  36. package/dist/{Delete-lSTmw_3a.js → Delete-HzVURBlh.js} +18 -17
  37. package/dist/{Detail-Dfvzkkw6.js → Detail-B2rtvufA.js} +6 -5
  38. package/dist/{Dictionary-thXsHbOo.js → Dictionary-DKnp-UJn.js} +3 -3
  39. package/dist/{Email-BDg7Qf9f.js → Email-CpOxaSSw.js} +4 -4
  40. package/dist/{File-TEaB_uIR.js → File-C63qevce.js} +42 -41
  41. package/dist/Image-DRIunv3_.js +9 -0
  42. package/dist/{Index-DapcfeaN.js → Index-B6Ec8rbl.js} +1 -1
  43. package/dist/{Index-ld-kC6ij.js → Index-BD6O3A9N.js} +7 -7
  44. package/dist/{Index-Cn5Qex6Q.js → Index-Cc_CDbUJ.js} +1 -1
  45. package/dist/{Index-BuhrNqZE.js → Index-Cev7Nudv.js} +1 -1
  46. package/dist/Index-DSKuNKCT.js +4 -0
  47. package/dist/Index-QIBRYf1L.js +4 -0
  48. package/dist/Index-ZOfKMgat.js +4 -0
  49. package/dist/{Index-BQKjFLbE.js → Index-bxLda8lZ.js} +29 -28
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-BKPwS2s9.js → Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js} +4 -3
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-zlsTcQ-k.js → Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js} +10 -9
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-CqjK1AVM.js → Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js} +11 -11
  53. package/dist/{Install-BQ_rGQFg.js → Install-CTAGNKPW.js} +13 -12
  54. package/dist/{Int-DRcbQElJ.js → Int-DmNjhEfK.js} +8 -8
  55. package/dist/{Int-C33TxFtW.js → Int-nUzbSSOv.js} +11 -11
  56. package/dist/{List-CSkx_cTr.js → List-gNI3y_wH.js} +14 -13
  57. package/dist/{Maintaince-D0JZ-9mL.js → Maintaince-pTASKuMA.js} +1 -1
  58. package/dist/{Markdown-DjbgXlE6.js → Markdown-BJB6rQY8.js} +1 -1
  59. package/dist/{Month-C_sIkUIo.js → Month-CHfaIo8p.js} +4 -4
  60. package/dist/{Month-unY9f1-N.js → Month-DgztqRaq.js} +5 -5
  61. package/dist/{Month-68Hi85T_.js → Month-ui1XorBW.js} +1 -1
  62. package/dist/{Normal-BAoQvNjn.js → Normal-Cf7kP6RU.js} +61 -60
  63. package/dist/{Paging-BNVKLCCy.js → Paging-CBgVct8q.js} +9 -8
  64. package/dist/{PagingHeader-CkESvHSg.js → PagingHeader-BkFBl-r_.js} +18 -18
  65. package/dist/{PagingRow-DrMTqBj9.js → PagingRow-eXCadgdO.js} +7 -7
  66. package/dist/{QueryApi-D410WxrU.js → QueryApi-Wf86Sm6m.js} +1 -1
  67. package/dist/{Racebar-BhPT9MdU.js → Racebar-ClXzi9hV.js} +16 -16
  68. package/dist/{Radio-D1AcW1pn.js → Radio-llyoK7PI.js} +1 -1
  69. package/dist/{Register-jgIuWNwI.js → Register-BaHhaZMu.js} +49 -48
  70. package/dist/{RichText-BgLtVFup.js → RichText-Cc_jptgY.js} +8 -8
  71. package/dist/{SearchFooter-CAWhmjR2.js → SearchFooter-BgJxQrMo.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-ClaSxScx.js → SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js} +1 -1
  73. package/dist/{SearchForm--aMZLLx4.js → SearchForm-CroUQ_3K.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-_rdBTvY_.js → SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js} +28 -27
  75. package/dist/{Select-DU_6d_Ob.js → Select-BYw63gZy.js} +17 -16
  76. package/dist/{Select-CVnXZcZi.js → Select-BtNeUq9h.js} +1 -1
  77. package/dist/{Select-JFUTkpkm.js → Select-wxKjwxJj.js} +17 -17
  78. package/dist/{Single-B0g3q0uZ.js → Single-CCVi3Pcj.js} +83 -82
  79. package/dist/{Statistic-XTBdaF7E.js → Statistic-g3nQvsbW.js} +30 -29
  80. package/dist/{Stock-nsqld-XR.js → Stock-C6Fxo31l.js} +1 -1
  81. package/dist/{Stock-CWU3inQY.js → Stock-CNqLeSld.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js → Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js} +11 -11
  83. package/dist/{Switch-BqHPuFzA.js → Switch-NMkH-rhl.js} +1 -1
  84. package/dist/{Table-l0km2rz7.js → Table-Cdd_tPoL.js} +57 -56
  85. package/dist/{Table-xRltYWjc.js → Table-DpA4dO4P.js} +51 -50
  86. package/dist/{Text-DOTMUPPm.js → Text-DanSgaL9.js} +7 -7
  87. package/dist/Text-DgZjeg-u.js +4 -0
  88. package/dist/{Text-alXcFJHa.js → Text-GuLK7BYX.js} +6 -6
  89. package/dist/{Text.vue_vue_type_style_index_0_lang-1wF_kb3u.js → Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js} +8 -8
  90. package/dist/{TextLink-BUpIHKqh.js → TextLink-B_Ur1pg0.js} +3 -3
  91. package/dist/{Textarea-IFX_g2SZ.js → Textarea-HhP_VFJV.js} +1 -1
  92. package/dist/{Time-CHadluUL.js → Time-CmyrAm3i.js} +8 -8
  93. package/dist/{Timeline-B7xPAwXh.js → Timeline-B85T2wBn.js} +11 -11
  94. package/dist/{Tree-qvL1DgaM.js → Tree-Ck_7r3nf.js} +85 -84
  95. package/dist/{Tree-DoXqyUpn.js → Tree-OqvNLgYj.js} +15 -14
  96. package/dist/{TreeNode-CUSAKhTp.js → TreeNode-Ba2f55wK.js} +1 -1
  97. package/dist/{Update-eETfPmHB.js → Update-DrmLFoty.js} +9 -8
  98. package/dist/{UpdateChild-DbbXDvCz.js → UpdateChild-CGCn-Eh4.js} +6 -6
  99. package/dist/{Upload-CAUGBT7A.js → Upload-D9HeSZCg.js} +18 -17
  100. package/dist/{Upload-DMfKIPRu.js → Upload-DXADyB6r.js} +49 -48
  101. package/dist/{UploadApi-FEbSWkVM.js → UploadApi-DAT-xdsM.js} +1 -1
  102. package/dist/{Year-CAxdMb2V.js → Year-Dx_qNPrz.js} +5 -5
  103. package/dist/{Year-CnHHib5-.js → Year-RGAEzf_V.js} +1 -1
  104. package/dist/assets/halo-fe-idvmXC0t.js +15923 -0
  105. package/dist/main-COiaaxGk.js +3542 -0
  106. package/dist/main.js +129 -129
  107. package/dist/style.css +1 -1
  108. package/package.json +2 -2
  109. package/dist/Code-C8zrvj8s.js +0 -4
  110. package/dist/Compare-CGW1IWLh.js +0 -56
  111. package/dist/Compare-DjrTKaz2.js +0 -26
  112. package/dist/Image-BqCjtyvc.js +0 -9
  113. package/dist/Index-BCku46lC.js +0 -4
  114. package/dist/Index-BLoAow8U.js +0 -4
  115. package/dist/Index-C3Dtv0ze.js +0 -4
  116. package/dist/Text-CFZ1y9Xn.js +0 -4
  117. package/dist/main-DArl7gFs.js +0 -19837
@@ -1,10 +1,11 @@
1
- import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Le, resolveComponent as f, openBlock as d, createElementBlock as W, normalizeClass as Be, unref as e, createElementVNode as m, createVNode as h, withCtx as s, withModifiers as De, createBlock as g, isRef as Z, Fragment as ee, renderList as le, toDisplayString as x, createCommentVNode as L, resolveDynamicComponent as qe, normalizeStyle as Ke, createTextVNode as te, nextTick as ae } from "vue";
2
- import { c as Ne, K as Pe, U as oe, q as Fe, W as P, _ as Me, t as Oe, L as We, v as ue, a as je, G as Ae, s as re } from "./main-DArl7gFs.js";
3
- import { _ as Ge } from "./Index.vue_vue_type_style_index_0_lang-CqjK1AVM.js";
4
- import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-zlsTcQ-k.js";
5
- const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class: "row-title" }, Qe = /* @__PURE__ */ m("i", { class: "fa fa-close" }, null, -1), Xe = [
6
- Qe
7
- ], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"], rl = /* @__PURE__ */ Ue({
1
+ import { defineComponent as $e, toRefs as Ue, ref as u, computed as Y, watch as Le, resolveComponent as f, openBlock as d, createElementBlock as j, normalizeClass as Be, unref as e, createElementVNode as m, createVNode as h, withCtx as s, withModifiers as De, createBlock as g, isRef as Z, Fragment as ee, renderList as le, toDisplayString as x, createCommentVNode as L, resolveDynamicComponent as Ke, normalizeStyle as Pe, createTextVNode as te, nextTick as ae } from "vue";
2
+ import { aO as Ne, P as oe, aK as qe, K as q, t as Oe, L as Fe, f as ue, e as Me, G as je } from "./assets/halo-fe-idvmXC0t.js";
3
+ import { c as Ae, _ as Ge, s as re } from "./main-COiaaxGk.js";
4
+ import { _ as He } from "./Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js";
5
+ import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js";
6
+ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class: "row-title" }, We = /* @__PURE__ */ m("i", { class: "fa fa-close" }, null, -1), Xe = [
7
+ We
8
+ ], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"], nl = /* @__PURE__ */ $e({
8
9
  __name: "Single",
9
10
  props: {
10
11
  base: {},
@@ -14,18 +15,18 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
14
15
  },
15
16
  emits: ["navigate", "load", "succeed", "close"],
16
17
  setup(se, { expose: ie, emit: de }) {
17
- let B = de, me = se, { url: ve, base: j, route: z } = $e(me), p = u(), b = u(), v = u(), r = u(), y = u(), D = u(), c = u({ table: null, layout: null }), w = u(), q = u([]), ce = u(), E = u(), R = u(), F = u(), C = u(), K = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), M = u(), S = u(), fe = (l) => !0, pe = (l) => {
18
- let t = P.getPath(ve.value), a = P.getPath(l);
18
+ let B = de, me = se, { url: ce, base: A, route: z } = Ue(me), p = u(), b = u(), c = u(), r = u(), y = u(), D = u(), v = u({ table: null, layout: null }), w = u(), K = u([]), ve = u(), E = u(), R = u(), O = u(), C = u(), P = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), F = u(), S = u(), fe = (l) => !0, pe = (l) => {
19
+ let t = q.getPath(ce.value), a = q.getPath(l);
19
20
  return t != a;
20
21
  }, be = () => {
21
22
  Ve();
22
23
  }, ye = (l, t) => {
23
- A("copy", l, t);
24
+ G("copy", l, t);
24
25
  }, _e = (l, t) => {
25
- A("update", l, t);
26
+ G("update", l, t);
26
27
  }, he = () => {
27
28
  i.value.visible = !1;
28
- }, A = (l, t, a) => {
29
+ }, G = (l, t, a) => {
29
30
  let n = ge(l, t);
30
31
  a.ctrlKey ? B("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
31
32
  }, ge = (l, t = null) => {
@@ -36,23 +37,23 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
36
37
  }
37
38
  return a;
38
39
  }, we = (l, t, a) => {
39
- (a.ctrlKey || k.value) && (M.value = l, S.value = Oe.clone(t), k.value = !0, S.value.fields.forEach((n) => {
40
+ (a.ctrlKey || k.value) && (F.value = l, S.value = Oe.clone(t), k.value = !0, S.value.fields.forEach((n) => {
40
41
  n.control.textualize = !1;
41
42
  }));
42
- }, G = (l) => {
43
- i.value.visible = !1, B("succeed", Q.value, l);
43
+ }, H = (l) => {
44
+ i.value.visible = !1, B("succeed", W.value, l);
44
45
  }, Ce = () => {
45
46
  B("close");
46
- }, H = (l, t, a, n, T) => {
47
- }, I = (l, t) => {
47
+ }, I = (l, t, a, n, T) => {
48
+ }, J = (l, t) => {
48
49
  if (t) {
49
50
  D.value = y.value.layouts.find((a) => a.type == l);
50
51
  return;
51
52
  }
52
- c.value.layout = c.value.table.layouts.find((a) => a.type == l);
53
+ v.value.layout = v.value.table.layouts.find((a) => a.type == l);
53
54
  }, ke = (l) => {
54
55
  let t = r.value.find((a) => a.name == l);
55
- c.value.table = t, c.value.layout = t.layouts[0];
56
+ v.value.table = t, v.value.layout = t.layouts[0];
56
57
  }, xe = (l) => {
57
58
  let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
58
59
  r.value.find((T) => T.name == a).main || (w.value = a);
@@ -61,13 +62,13 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
61
62
  E.value.validate((n, T) => {
62
63
  if (!n)
63
64
  return xe(T), a && a(!1), !1;
64
- let U = p.value.type == "Update" ? b.value.update.route : b.value.insert.route;
65
- t && t(U, v.value), We.post(U, v.value).then(({ data: $, message: V }) => {
66
- E.value.clearValidate(), ue.success(V), G(v.value);
67
- }).catch(({ code: $, data: V, message: X }) => {
68
- if ($ != "ValidateError")
65
+ let $ = p.value.type == "Update" ? b.value.update.route : b.value.insert.route;
66
+ t && t($, c.value), Fe.post($, c.value).then(({ data: U, message: V }) => {
67
+ E.value.clearValidate(), ue.success(V), H(c.value);
68
+ }).catch(({ code: U, data: V, message: X }) => {
69
+ if (U != "ValidateError")
69
70
  return;
70
- q.value = V;
71
+ K.value = V;
71
72
  let N = V.find((_) => _.table !== y.value.name);
72
73
  if (N) {
73
74
  let _ = r.value.find((o) => o.name == N.table);
@@ -75,7 +76,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
75
76
  }
76
77
  ae(() => {
77
78
  E.value.clearValidate(), E.value.validate((_, o) => {
78
- _ || (a && a(!1), q.value = []);
79
+ _ || (a && a(!1), K.value = []);
79
80
  });
80
81
  });
81
82
  }).finally(() => {
@@ -83,56 +84,56 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
83
84
  });
84
85
  });
85
86
  });
86
- }, J = (l) => {
87
+ }, Q = (l) => {
87
88
  var a, n;
88
- let t = je(l.module.type, l.module.name);
89
- Ae.setTitle(t, l.module.env), p.value = l.module, b.value = l.next, v.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema), y.value = (a = r.value) == null ? void 0 : a[0], D.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, c.value.table = r.value[1], c.value.layout = r.value[1].layouts[0]);
89
+ let t = Me(l.module.type, l.module.name);
90
+ je.setTitle(t, l.module.env), p.value = l.module, b.value = l.next, c.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema), y.value = (a = r.value) == null ? void 0 : a[0], D.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, v.value.table = r.value[1], v.value.layout = r.value[1].layouts[0]);
90
91
  }, Se = (l) => {
91
92
  R.value && R.value.resize && R.value.resize(l), C.value && C.value.resize && C.value.resize(l);
92
93
  }, Te = (l, t) => {
93
94
  if (l == "ctrlS") {
94
95
  if (p.value.type == "Detail") {
95
- if (!K.value || !K.value.keyboard)
96
+ if (!P.value || !P.value.keyboard)
96
97
  return !1;
97
- K.value.keyboard(l, t);
98
+ P.value.keyboard(l, t);
98
99
  return;
99
100
  }
100
- O(t);
101
+ M(t);
101
102
  }
102
103
  }, Ve = () => {
103
- let l = P.getUrl(z.value.path, z.value.query);
104
+ let l = q.getUrl(z.value.path, z.value.query);
104
105
  B("load", l, !1, (t) => {
105
106
  });
106
107
  };
107
108
  (() => {
108
- J(j.value.data);
109
+ Q(A.value.data);
109
110
  })();
110
- let O = (l) => {
111
- if (!F.value.submit) {
111
+ let M = (l) => {
112
+ if (!O.value.submit) {
112
113
  ue.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
113
114
  return;
114
115
  }
115
- F.value.submit(l);
116
+ O.value.submit(l);
116
117
  }, ze = Y(() => {
117
118
  let l = `/${y.value.name}/update`, t = p.value.type == "Detail" ? "detail" : "update";
118
- return Ne.getComponent(l, "partial", t);
119
- }), Q = Y(() => p.value.type.toLowerCase());
120
- return Le(() => j.value, (l) => {
121
- J(l.data), R.value.update && R.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
119
+ return Ae.getComponent(l, "partial", t);
120
+ }), W = Y(() => p.value.type.toLowerCase());
121
+ return Le(() => A.value, (l) => {
122
+ Q(l.data), R.value.update && R.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
122
123
  }), ie({ shouldLoad: fe, shouldSpin: pe, keyboard: Te, refresh: be, resize: Se }), (l, t) => {
123
- const a = f("el-tooltip"), n = f("el-tab-pane"), T = f("el-tabs"), U = f("el-form"), $ = f("el-scrollbar"), V = f("el-popover"), X = f("el-form-item"), N = f("el-card"), _ = f("el-drawer");
124
- return d(), W("div", {
124
+ const a = f("el-tooltip"), n = f("el-tab-pane"), T = f("el-tabs"), $ = f("el-form"), U = f("el-scrollbar"), V = f("el-popover"), X = f("el-form-item"), N = f("el-card"), _ = f("el-drawer");
125
+ return d(), j("div", {
125
126
  ref_key: "singleRef",
126
- ref: ce,
127
- class: Be(["ha-single-page", { [e(Q) + "-page"]: !0, editing: e(k) }])
127
+ ref: ve,
128
+ class: Be(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(k) }])
128
129
  }, [
129
- m("div", He, [
130
- h($, { class: "main-scroller" }, {
130
+ m("div", Ie, [
131
+ h(U, { class: "main-scroller" }, {
131
132
  default: s(() => [
132
- h(U, {
133
+ h($, {
133
134
  ref_key: "formRef",
134
135
  ref: E,
135
- model: e(v),
136
+ model: e(c),
136
137
  onSubmit: t[3] || (t[3] = De(() => {
137
138
  }, ["prevent"]))
138
139
  }, {
@@ -145,12 +146,12 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
145
146
  table: e(y),
146
147
  layout: e(D),
147
148
  next: e(b),
148
- set: e(v),
149
+ set: e(c),
149
150
  route: e(z),
150
- "validate-errors": e(q),
151
- onChange: e(H),
152
- onLayoutChange: t[0] || (t[0] = (o) => e(I)(o, !0)),
153
- onSubmit: e(O)
151
+ "validate-errors": e(K),
152
+ onChange: e(I),
153
+ onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
154
+ onSubmit: e(M)
154
155
  }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
155
156
  e(r).length > 1 ? (d(), g(T, {
156
157
  key: 0,
@@ -160,7 +161,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
160
161
  "onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
161
162
  }, {
162
163
  default: s(() => [
163
- (d(!0), W(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), g(n, {
164
+ (d(!0), j(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), g(n, {
164
165
  name: o.name,
165
166
  key: o.name
166
167
  }, {
@@ -171,7 +172,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
171
172
  disabled: !o.tooltip
172
173
  }, {
173
174
  default: s(() => [
174
- m("div", null, x(e(Pe)(o.table)), 1)
175
+ m("div", null, x(e(Ne)(o.table)), 1)
175
176
  ]),
176
177
  _: 2
177
178
  }, 1032, ["content", "disabled"])
@@ -181,22 +182,22 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
181
182
  ]),
182
183
  _: 1
183
184
  }, 8, ["onTabChange", "modelValue"])) : L("", !0),
184
- e(c).table ? (d(), g(ne, {
185
+ e(v).table ? (d(), g(ne, {
185
186
  key: 1,
186
187
  ref_key: "childRef",
187
188
  ref: C,
188
189
  module: e(p),
189
190
  schema: e(r),
190
- table: e(c).table,
191
- layout: e(c).layout,
191
+ table: e(v).table,
192
+ layout: e(v).layout,
192
193
  next: e(b),
193
- set: e(v),
194
+ set: e(c),
194
195
  route: e(z),
195
- "validate-errors": e(q),
196
+ "validate-errors": e(K),
196
197
  onRowEdit: e(we),
197
- onChange: e(H),
198
- onLayoutChange: t[2] || (t[2] = (o) => e(I)(o, !1)),
199
- onSubmit: e(O)
198
+ onChange: e(I),
199
+ onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
200
+ onSubmit: e(M)
200
201
  }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : L("", !0)
201
202
  ]),
202
203
  _: 1
@@ -204,15 +205,15 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
204
205
  ]),
205
206
  _: 1
206
207
  }),
207
- (d(), g(qe(e(ze)), {
208
+ (d(), g(Ke(e(ze)), {
208
209
  ref_key: "updateRef",
209
- ref: F,
210
+ ref: O,
210
211
  class: "main-footer",
211
212
  schema: e(r),
212
213
  table: e(y),
213
214
  layout: e(D),
214
215
  next: e(b),
215
- set: e(v),
216
+ set: e(c),
216
217
  route: e(z),
217
218
  onCopy: e(ye),
218
219
  onEdit: e(_e),
@@ -225,8 +226,8 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
225
226
  class: "side-form"
226
227
  }, {
227
228
  header: s(() => [
228
- m("div", Ie, [
229
- m("div", Je, x(e(oe)("common.modify")) + " " + x(e(M)[e(S).show[0].name]), 1),
229
+ m("div", Je, [
230
+ m("div", Qe, x(e(oe)("common.modify")) + " " + x(e(F)[e(S).show[0].name]), 1),
230
231
  m("div", {
231
232
  class: "row-close",
232
233
  onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
@@ -234,19 +235,19 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
234
235
  ])
235
236
  ]),
236
237
  default: s(() => [
237
- h($, null, {
238
+ h(U, null, {
238
239
  default: s(() => [
239
- h(U, {
240
+ h($, {
240
241
  size: "small",
241
242
  "label-width": "80px"
242
243
  }, {
243
244
  default: s(() => [
244
- (d(!0), W(ee, null, le(e(S).show, (o) => (d(), g(X, {
245
- style: Ke(o.control.height ? `height: ${o.control.height}px;` : ""),
245
+ (d(!0), j(ee, null, le(e(S).show, (o) => (d(), g(X, {
246
+ style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
246
247
  rules: o.rules
247
248
  }, {
248
249
  label: s(() => [
249
- te(x(e(Fe)(e(S).name, o.name)) + " ", 1),
250
+ te(x(e(qe)(e(S).name, o.name)) + " ", 1),
250
251
  o.control.tooltip ? (d(), g(V, {
251
252
  key: 0,
252
253
  trigger: "hover",
@@ -264,12 +265,12 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
264
265
  }, 1032, ["title"])) : L("", !0)
265
266
  ]),
266
267
  default: s(() => [
267
- h(Ge, {
268
+ h(He, {
268
269
  schema: e(r),
269
270
  table: e(S),
270
271
  field: o,
271
- set: e(v),
272
- row: e(M)
272
+ set: e(c),
273
+ row: e(F)
273
274
  }, null, 8, ["schema", "table", "field", "set", "row"])
274
275
  ]),
275
276
  _: 2
@@ -296,16 +297,16 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
296
297
  te(x(e(b)[e(i).page].title) + " ", 1),
297
298
  m("a", {
298
299
  class: "drawer-copy",
299
- href: `${e(P).getToUrl(e(i).url)}`
300
+ href: `${e(q).getToUrl(e(i).url)}`
300
301
  }, x(e(oe)("common.link")), 9, el)
301
302
  ])
302
303
  ]),
303
304
  default: s(() => [
304
- h(e(Me), {
305
+ h(e(Ge), {
305
306
  ref_key: "pageRef",
306
- ref: K,
307
+ ref: P,
307
308
  url: e(i).url,
308
- onSucceed: e(G),
309
+ onSucceed: e(H),
309
310
  onClose: e(he)
310
311
  }, null, 8, ["url", "onSucceed", "onClose"])
311
312
  ]),
@@ -316,5 +317,5 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
316
317
  }
317
318
  });
318
319
  export {
319
- rl as default
320
+ nl as default
320
321
  };
@@ -1,7 +1,8 @@
1
- import { defineComponent as $, toRefs as j, ref as n, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as i, createElementVNode as K, normalizeStyle as P, nextTick as x } from "vue";
2
- import { s as Q, w as U, i as W, k as R, v as X, N as Y } from "./main-DArl7gFs.js";
3
- import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-_rdBTvY_.js";
4
- const re = /* @__PURE__ */ $({
1
+ import { defineComponent as j, toRefs as q, ref as n, onMounted as G, watch as M, openBlock as O, createElementBlock as Y, createVNode as I, unref as i, createElementVNode as J, normalizeStyle as K, nextTick as m } from "vue";
2
+ import { x as P, g as Q, Y as R, f as U, N as W } from "./assets/halo-fe-idvmXC0t.js";
3
+ import { s as X } from "./main-COiaaxGk.js";
4
+ import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js";
5
+ const ie = /* @__PURE__ */ j({
5
6
  __name: "Statistic",
6
7
  props: {
7
8
  searchData: {},
@@ -15,16 +16,16 @@ const re = /* @__PURE__ */ $({
15
16
  },
16
17
  emits: ["search"],
17
18
  setup(C, { expose: A, emit: F }) {
18
- let z = F, H = C, { route: B, module: E, schema: m, table: y, layout: l, next: ee, set: u, searchData: g } = j(H), s = null, p = null, v = n(), d = n(), b = n(), S = n(), N = (t) => {
19
+ let z = F, H = C, { route: B, module: E, schema: x, table: y, layout: l, next: ee, set: u, searchData: g } = q(H), s = null, p = null, v = n(), f = n(), b = n(), S = n(), N = (t) => {
19
20
  T("search");
20
21
  }, T = (t, e = null) => {
21
22
  z(t, (r) => {
22
- x(() => {
23
- f(), e && e(r);
23
+ m(() => {
24
+ d(), e && e(r);
24
25
  });
25
26
  });
26
- }, f = () => {
27
- let t = W.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
27
+ }, d = () => {
28
+ let t = Q.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
28
29
  title: { text: E.value.title, left: "center", textStyle: { color: "#777" } },
29
30
  //标题
30
31
  tooltip: { trigger: "axis" },
@@ -59,10 +60,10 @@ const re = /* @__PURE__ */ $({
59
60
  series: []
60
61
  };
61
62
  R.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
62
- let r = l.value.fields.find((a) => a.group && a.name != l.value.date), w = y.value.fields.find((a) => a.name == r.name).control.data.data;
63
- for (let a = 0; a < w.length; a++) {
64
- let o = w[a];
65
- o.color || X.error("颜色字段不能为空");
63
+ let r = l.value.fields.find((a) => a.group && a.name != l.value.date), _ = y.value.fields.find((a) => a.name == r.name).control.data.data;
64
+ for (let a = 0; a < _.length; a++) {
65
+ let o = _[a];
66
+ o.color || U.error("颜色字段不能为空");
66
67
  let c = {
67
68
  name: o.text,
68
69
  type: "line",
@@ -103,53 +104,53 @@ const re = /* @__PURE__ */ $({
103
104
  global: !0
104
105
  });
105
106
  for (let h = 0; h < t.length; h++) {
106
- let D = t[h], _ = u.value[l.value.table].find((L) => L[r.name] == o.value && L[l.value.date] == D);
107
- _ == null ? c.data.push(null) : c.data.push(_[l.value.value]);
107
+ let $ = t[h], w = u.value[l.value.table].find((L) => L[r.name] == o.value && L[l.value.date] == $);
108
+ w == null ? c.data.push(null) : c.data.push(w[l.value.value]);
108
109
  }
109
110
  e.series.push(c), e.legend.data.push(o.text);
110
111
  }
111
112
  e.xAxis.data.push(...t), s.setOption(e);
112
113
  }, k = () => {
113
114
  var r;
114
- let t = Y.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
115
+ let t = W.getHeight([(r = f.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
115
116
  v.value = e.height - t - 10 - 1;
116
117
  }, V = (t) => {
117
- d.value.resize(t), x(() => {
118
+ f.value.resize(t), m(() => {
118
119
  k(), s == null || s.resize();
119
120
  });
120
- }, q = () => {
121
- k(), x(() => {
122
- s = p.init(b.value), f();
121
+ }, D = () => {
122
+ k(), m(() => {
123
+ s = p.init(b.value), d();
123
124
  });
124
125
  };
125
126
  return G(async () => {
126
- g.value = Q.getConditionForm(m.value, B.value.query.condition), p = await U.getECharts(), q();
127
+ g.value = X.getConditionForm(x.value, B.value.query.condition), p = await P.getECharts(), D();
127
128
  }), M(() => l.value, (t, e) => {
128
- f();
129
- }), A({ resize: V }), (t, e) => (O(), I("div", {
129
+ d();
130
+ }), A({ resize: V }), (t, e) => (O(), Y("div", {
130
131
  ref_key: "statisticRef",
131
132
  ref: S,
132
133
  class: "ha-statistic-layout"
133
134
  }, [
134
- J(Z, {
135
+ I(Z, {
135
136
  ref_key: "searchRef",
136
- ref: d,
137
- schema: i(m),
137
+ ref: f,
138
+ schema: i(x),
138
139
  table: i(y),
139
140
  layout: i(l),
140
141
  set: i(u),
141
142
  "search-data": i(g),
142
143
  onChange: i(N)
143
144
  }, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
144
- K("div", {
145
+ J("div", {
145
146
  ref_key: "chartRef",
146
147
  ref: b,
147
148
  class: "chart",
148
- style: P({ height: i(v) + "px" })
149
+ style: K({ height: i(v) + "px" })
149
150
  }, null, 4)
150
151
  ], 512));
151
152
  }
152
153
  });
153
154
  export {
154
- re as default
155
+ ie as default
155
156
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
2
- import { _ } from "./Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js";
2
+ import { _ } from "./Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js";
3
3
  const b = /* @__PURE__ */ c({
4
4
  __name: "Stock",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js";
1
+ import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as F, toRefs as R, ref as T, onMounted as B, openBlock as E, createBlock as G, unref as m, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
2
- import { w as O, y as K, i as N, k as S } from "./main-DArl7gFs.js";
3
- const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), q = [
2
+ import { x as O, a3 as K, g as N, Y as S } from "./assets/halo-fe-idvmXC0t.js";
3
+ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), z = [
4
4
  j
5
- ], U = /* @__PURE__ */ F({
5
+ ], Q = /* @__PURE__ */ F({
6
6
  __name: "Stock",
7
7
  props: {
8
8
  searchData: {},
@@ -15,7 +15,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
15
15
  set: {}
16
16
  },
17
17
  setup(k) {
18
- let L = k, { module: z, schema: W, table: v, layout: n, next: H, set: f } = R(L), y = null, c = null, p = "#04aa4e", x = "#ff5945", w = T(), u = { history: null, week: null, month: null }, _ = (t) => {
18
+ let L = k, { module: W, schema: Y, table: v, layout: n, next: q, set: f } = R(L), y = null, c = null, x = "#04aa4e", p = "#ff5945", w = T(), u = { history: null, week: null, month: null }, _ = (t) => {
19
19
  let o = N.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
20
20
  for (let i = 0; i < o.length; i++) {
21
21
  let a = o[i];
@@ -24,7 +24,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
24
24
  l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
25
25
  let C = {
26
26
  value: parseFloat(a[n.value.volumn]),
27
- itemStyle: { color: s > d ? p : x }
27
+ itemStyle: { color: s > d ? x : p }
28
28
  };
29
29
  r.push(C);
30
30
  }
@@ -147,10 +147,10 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
147
147
  //网格索引,表示使用第2个网格的配置
148
148
  data: t.values,
149
149
  itemStyle: {
150
- color: p,
151
- color0: x,
152
- borderColor: p,
153
- borderColor0: x
150
+ color: x,
151
+ color0: p,
152
+ borderColor: x,
153
+ borderColor0: p
154
154
  },
155
155
  markPoint: {
156
156
  //图标标注
@@ -284,7 +284,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
284
284
  ref_key: "chartRef",
285
285
  ref: w,
286
286
  class: "chart"
287
- }, q, 512),
287
+ }, z, 512),
288
288
  V(" 30日开盘振幅:" + b(m(u).month) + "% 7日开盘振幅:" + b(m(u).week) + "% 历史开盘振幅:" + b(m(u).history) + "% ", 1)
289
289
  ]),
290
290
  _: 1
@@ -292,5 +292,5 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
292
292
  }
293
293
  });
294
294
  export {
295
- U as _
295
+ Q as _
296
296
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
10
10
  modelValue: { type: [String, Number, Boolean] }
11
11
  },
12
12
  setup(a) {
13
- let r = f(() => import("./Dictionary-thXsHbOo.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-DKnp-UJn.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
14
14
  return (h, l) => (b(), w(e(r), {
15
15
  schema: e(m),
16
16
  table: e(s),