halo-pc 1.0.36 → 1.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/dist/{Article-CSL7LnKj.js → Article-DSuvpyeC.js} +58 -60
  2. package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-Cx3OC7sV.js} +1 -1
  3. package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-1jt0wRMS.js} +1 -1
  4. package/dist/{Autocomplete-Buw1Hs35.js → Autocomplete-C7CYy8w6.js} +3 -3
  5. package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-DASTUS8d.js} +2 -2
  6. package/dist/{CSharp-CMmXPS2i.js → CSharp-CebNTVPd.js} +1 -1
  7. package/dist/{Calender-P8tmSbW2.js → Calender-BBILvX8n.js} +4 -4
  8. package/dist/{Callback-SEWVfpG_.js → Callback-CLA9Ab9q.js} +1 -1
  9. package/dist/{Cascader-DWNTommi.js → Cascader-DY2zOwsa.js} +1 -1
  10. package/dist/{Cascader-CeQ0jUxU.js → Cascader-DyQ312mS.js} +5 -5
  11. package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-CHmMU0Cs.js} +1 -1
  12. package/dist/{Checkbox--pNX7Slb.js → Checkbox-CyC_mo50.js} +1 -1
  13. package/dist/{Code-CXMdFELH.js → Code-B4Z7WuUc.js} +1 -1
  14. package/dist/{Code-THGJ7IzI.js → Code-BOTf1uZ5.js} +1 -1
  15. package/dist/{Code-C6A3DOQp.js → Code-CIFJJJo3.js} +1 -1
  16. package/dist/Code-Da4PjT9q.js +4 -0
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js → Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js} +3 -3
  18. package/dist/{Column-CucHIBYv.js → Column-9A6-8_Y7.js} +1 -1
  19. package/dist/{Comment-T5XWLthu.js → Comment-D78rr4-n.js} +27 -27
  20. package/dist/{Compare-jjtb6UdZ.js → Compare-Cb9vYPl5.js} +9 -9
  21. package/dist/{Compare-KV2Q7Tb7.js → Compare-DLiL32cA.js} +6 -6
  22. package/dist/{Copy-Ck1HeTdy.js → Copy-CH2_hawJ.js} +1 -1
  23. package/dist/Custom-D9qN9bwa.js +59 -0
  24. package/dist/{DataExport-BY1fIwSd.js → DataExport-D8cqXPrh.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +1 -1
  26. package/dist/{DataImport--xUxoWAq.js → DataImport-3KwXYYGw.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +1 -1
  28. package/dist/{Date-C3H04U5q.js → Date-OZxdofhB.js} +1 -1
  29. package/dist/{Date-DRk7BsnD.js → Date-yHlD-Lw2.js} +1 -1
  30. package/dist/{DateRange-CICZ9gVp.js → DateRange-BLSxDHKv.js} +1 -1
  31. package/dist/{DateTime-CjTCtAm4.js → DateTime-8tbpOKOK.js} +1 -1
  32. package/dist/{DateTime-DXHkaHtE.js → DateTime-B7GzMj8Q.js} +1 -1
  33. package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-COFWmQoO.js} +1 -1
  34. package/dist/{Daterange-cmpjJVxl.js → Daterange-Cy8l4CfJ.js} +1 -1
  35. package/dist/{Decimal-BzR8o8bv.js → Decimal-Dw6EtZOm.js} +1 -1
  36. package/dist/{Delete-B2VzOnk8.js → Delete-DjXSCUKp.js} +1 -1
  37. package/dist/{Detail-ayakHymC.js → Detail-DU8mI4u2.js} +1 -1
  38. package/dist/{Dictionary-BiSpx7nU.js → Dictionary-CAAvUqf-.js} +1 -1
  39. package/dist/{Email-BbipkOFP.js → Email-AHWpz5Ck.js} +3 -3
  40. package/dist/{File-B131KRit.js → File-DUxwHR5G.js} +16 -16
  41. package/dist/Image-BJ5q87B6.js +9 -0
  42. package/dist/Index-CF44rsZW.js +4 -0
  43. package/dist/Index-CnFjsuQV.js +4 -0
  44. package/dist/{Index-CymZGuJo.js → Index-D223MCYD.js} +17 -17
  45. package/dist/Index-DCIDLocj.js +4 -0
  46. package/dist/{Index-Bps1k5-m.js → Index-Jt1omrn-.js} +1 -1
  47. package/dist/{Index-B20QLMmF.js → Index-KTv20XtO.js} +1 -1
  48. package/dist/{Index-BnudlpyF.js → Index-Z8HW5XAm.js} +2 -2
  49. package/dist/Index-qIfIbiFH.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +15 -17
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +4 -4
  52. package/dist/{Install-BnCA1XK8.js → Install-C-xxCx9D.js} +8 -8
  53. package/dist/{Int-BlwraOyw.js → Int-1QpMyTPB.js} +1 -1
  54. package/dist/{Int-BSA4Srky.js → Int-BsHpY5Gt.js} +1 -1
  55. package/dist/List-DW7FpMfd.js +72 -0
  56. package/dist/{Maintaince-CwL7tseR.js → Maintaince-CjUfJUr7.js} +3 -3
  57. package/dist/{Markdown-Can2d8HC.js → Markdown-BZhSwheI.js} +1 -1
  58. package/dist/{Month-Dyt_wc8r.js → Month-BKXtBi6i.js} +1 -1
  59. package/dist/{Month-ClTpaaAr.js → Month-IJnA7Kgl.js} +3 -3
  60. package/dist/{Month-CRmTCjQr.js → Month-m0FiTmBK.js} +1 -1
  61. package/dist/{Normal-DBRpkCNs.js → Normal-CettIwbU.js} +72 -72
  62. package/dist/{Paging-ByJhfHCh.js → Paging-J9vCBFzM.js} +33 -35
  63. package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-irWrEKGQ.js} +1 -1
  64. package/dist/{PagingRow-CqAYVjxH.js → PagingRow-Bft1brFD.js} +1 -1
  65. package/dist/{Racebar-BhRmArVA.js → Racebar-D3VFwM1V.js} +7 -7
  66. package/dist/{Radio-DCVAYEgh.js → Radio-C-IwNXnz.js} +1 -1
  67. package/dist/{Register-Dr5HF0B6.js → Register-XTfqbbgr.js} +15 -15
  68. package/dist/{RichText-Dj93TxtW.js → RichText-D3aLlQph.js} +8 -8
  69. package/dist/{SearchFooter-D02JAZez.js → SearchFooter-hC7sQBez.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js} +1 -1
  71. package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BTux7Adt.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js} +27 -29
  73. package/dist/{Select-ChwyjjbN.js → Select-ClAK8aNJ.js} +8 -8
  74. package/dist/{Select-CaGb3SAi.js → Select-DlM_C-60.js} +1 -1
  75. package/dist/{Select-DK5-x-rC.js → Select-K1dU20i2.js} +11 -11
  76. package/dist/{Single-DIyLnILS.js → Single-DYDwq041.js} +66 -68
  77. package/dist/{Statistic-ArzDDFwp.js → Statistic-CidgrAcU.js} +21 -21
  78. package/dist/{Stock-DapT2McI.js → Stock-BFszdaCn.js} +1 -1
  79. package/dist/{Stock-CsVIZtQ4.js → Stock-BiuhsKPB.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +8 -8
  81. package/dist/{Switch-B0VJc80B.js → Switch-TI8J8-E2.js} +1 -1
  82. package/dist/{Table-C5kHBVpV.js → Table-DJOSPNrn.js} +79 -81
  83. package/dist/{Table-Cwe8QuVi.js → Table-DYELgaTY.js} +56 -56
  84. package/dist/Text-DAliAA9U.js +4 -0
  85. package/dist/{Text-CK1PT6x8.js → Text-DEv-wMFU.js} +3 -3
  86. package/dist/Text-Dy6uYSm3.js +49 -0
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-epPB32IU.js → Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js} +1 -1
  88. package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-CKPExcuj.js} +1 -1
  89. package/dist/{Textarea-C6Pi4p9b.js → Textarea-CEv7HYqY.js} +1 -1
  90. package/dist/{Time-DWG3pwjK.js → Time-BeTq6Tq3.js} +1 -1
  91. package/dist/{Timeline-Bqq3rFbX.js → Timeline-BI2o8Kug.js} +1 -1
  92. package/dist/{Tree-CU2UHknq.js → Tree-BPeNz1X4.js} +58 -60
  93. package/dist/{Tree-DRUGEHR3.js → Tree-DlIrY3e2.js} +33 -33
  94. package/dist/{TreeNode-DD-YfbgL.js → TreeNode-CzM6Npi5.js} +1 -1
  95. package/dist/{Update-BdbT4B2n.js → Update-Bv6Lp8LZ.js} +1 -1
  96. package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-mrF1t5G8.js} +1 -1
  97. package/dist/{Upload-BCGGzOTn.js → Upload-B0dBN1oH.js} +9 -9
  98. package/dist/{Upload-CKHSikDI.js → Upload-BCdzJlzR.js} +13 -13
  99. package/dist/{Year-CnA4ZUPj.js → Year-2hJSZcj_.js} +7 -7
  100. package/dist/{Year-nGY1S5_T.js → Year-DLITl-_8.js} +1 -1
  101. package/dist/{main-BLb5AIWJ.js → main-SNlEeN01.js} +3045 -2957
  102. package/dist/main.js +136 -133
  103. package/dist/style.css +1 -1
  104. package/esm/coms/business/Form.vue.d.ts +2 -1
  105. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  106. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  107. package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
  108. package/esm/coms/drivers/@types/index.d.ts +3 -1
  109. package/esm/coms/drivers/Index.vue.d.ts +26 -29
  110. package/esm/coms/drivers/Kind.vue.d.ts +8 -8
  111. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  112. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  113. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  114. package/esm/coms/lists/Tree.vue.d.ts +2 -1
  115. package/esm/coms/pages/@types/index.d.ts +1 -2
  116. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  117. package/esm/coms/pages/List.vue.d.ts +1 -1
  118. package/esm/coms/pages/Paging.vue.d.ts +2 -1
  119. package/esm/coms/pages/Single.vue.d.ts +2 -1
  120. package/esm/coms/pagings/Article.vue.d.ts +2 -1
  121. package/esm/coms/pagings/Index.vue.d.ts +2 -1
  122. package/esm/coms/pagings/Table.vue.d.ts +2 -1
  123. package/esm/coms/searches/Text.vue.d.ts +5 -7
  124. package/esm/svcs/ModuleSvc.d.ts +40 -0
  125. package/esm/svcs/index.d.ts +3 -3
  126. package/package.json +9 -9
  127. package/dist/Code-CQSTwwc4.js +0 -4
  128. package/dist/Custom-CkyWaXAB.js +0 -61
  129. package/dist/Image-Cb1PzLpD.js +0 -9
  130. package/dist/Index-2vdi0Nq0.js +0 -4
  131. package/dist/Index-BOKSKn0N.js +0 -4
  132. package/dist/Index-Cz0Ti6rP.js +0 -4
  133. package/dist/Index-Dhg6Vts6.js +0 -4
  134. package/dist/List-BnT_8B_q.js +0 -74
  135. package/dist/Text-D2P-_cQT.js +0 -54
  136. package/dist/Text-oKVRjuSR.js +0 -4
@@ -1,8 +1,8 @@
1
- import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Be, resolveComponent as p, openBlock as d, createElementBlock as O, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Le, createBlock as h, isRef as Z, Fragment as ee, renderList as le, toDisplayString as x, createCommentVNode as B, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as te, nextTick as ae } from "vue";
2
- import { d as qe, e as Ke, t as oe, f as je, g as Fe, U as D, a as Me, h as Oe, m as ue, b as Ae, i as Ge, s as re } from "./main-BLb5AIWJ.js";
1
+ import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Be, resolveComponent as p, openBlock as d, createElementBlock as H, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Ke, createBlock as h, isRef as Z, Fragment as ee, renderList as le, toDisplayString as k, createCommentVNode as B, resolveDynamicComponent as Le, normalizeStyle as Ne, createTextVNode as te, nextTick as ae } from "vue";
2
+ import { f as Pe, g as je, t as oe, j as qe, k as Fe, U as D, b as He, h as Me, m as ue, c as Oe, i as Ae, d as re, K as Ge, a as Ie } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js";
5
- const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class: "row-title" }, Qe = { class: "el-drawer__title" }, We = ["href"], tl = /* @__PURE__ */ Ue({
4
+ import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js";
5
+ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class: "row-title" }, Xe = { class: "el-drawer__title" }, Ye = ["href"], ol = /* @__PURE__ */ Ue({
6
6
  __name: "Single",
7
7
  props: {
8
8
  base: {},
@@ -12,20 +12,20 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
12
12
  },
13
13
  emits: ["navigate", "load", "succeed", "close"],
14
14
  setup(se, { expose: ie, emit: de }) {
15
- let L = de, me = se, { url: ve, base: A, route: z } = $e(me), c = u(), b = u(), v = u(), r = u(), y = u(), N = u(), f = u({ table: null, layout: null }), w = u(), P = u([]), fe = u(), E = u(), R = u(), j = u(), C = u(), q = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), F = u(), S = u(), pe = (l) => !0, ce = (l) => {
15
+ let K = de, me = se, { url: ve, base: M, route: z } = $e(me), c = u(), b = u(), v = u(), r = u(), y = u(), L = u(), f = u({ table: null, layout: null }), w = u(), N = u([]), fe = u(), E = u(), R = u(), j = u(), C = u(), O = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), x = u(!1), q = u(), S = u(), pe = (l) => !0, ce = (l) => {
16
16
  let t = D.url.getPath(ve.value), a = D.url.getPath(l);
17
17
  return t != a;
18
18
  }, be = () => {
19
19
  Ve();
20
20
  }, ye = (l, t) => {
21
- G("copy", l, t);
21
+ A("copy", l, t);
22
22
  }, _e = (l, t) => {
23
- G("update", l, t);
23
+ A("update", l, t);
24
24
  }, ge = () => {
25
25
  i.value.visible = !1;
26
- }, G = (l, t, a) => {
26
+ }, A = (l, t, a) => {
27
27
  let n = he(l, t);
28
- a.ctrlKey ? L("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
28
+ a.ctrlKey ? K("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
29
29
  }, he = (l, t = null) => {
30
30
  let a = `${b.value[l].route}`;
31
31
  if (t != null) {
@@ -34,46 +34,46 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
34
34
  }
35
35
  return a;
36
36
  }, we = (l, t, a) => {
37
- (a.ctrlKey || k.value) && (F.value = l, S.value = D.object.clone(t), k.value = !0, S.value.fields.forEach((n) => {
37
+ (a.ctrlKey || x.value) && (q.value = l, S.value = D.object.clone(t), x.value = !0, S.value.fields.forEach((n) => {
38
38
  n.control.textualize = !1;
39
39
  }));
40
- }, H = (l) => {
41
- i.value.visible = !1, L("succeed", W.value, l);
40
+ }, G = (l) => {
41
+ i.value.visible = !1, K("succeed", W.value, l);
42
42
  }, Ce = () => {
43
- L("close");
43
+ K("close");
44
44
  }, I = (l, t, a, n, T) => {
45
45
  }, J = (l, t) => {
46
46
  if (t) {
47
- N.value = y.value.layouts.find((a) => a.type == l);
47
+ L.value = y.value.layouts.find((a) => a.type == l);
48
48
  return;
49
49
  }
50
50
  f.value.layout = f.value.table.layouts.find((a) => a.type == l);
51
- }, ke = (l) => {
51
+ }, xe = (l) => {
52
52
  let t = r.value.find((a) => a.name == l);
53
53
  f.value.table = t, f.value.layout = t.layouts[0];
54
- }, xe = (l) => {
54
+ }, ke = (l) => {
55
55
  let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
56
56
  r.value.find((T) => T.name == a).main || (w.value = a);
57
57
  }, Re = (l, t = null, a = null) => {
58
58
  ae(() => {
59
59
  E.value.validate((n, T) => {
60
60
  if (!n)
61
- return xe(T), a && a(!1), !1;
61
+ return ke(T), a && a(!1), !1;
62
62
  let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
63
- t && t(U, v.value), Oe.post(U, v.value).then(({ data: $, message: V }) => {
64
- E.value.clearValidate(), ue.success(V), H(v.value);
63
+ t && t(U, v.value), Me.post(U, v.value).then(({ data: $, message: V }) => {
64
+ E.value.clearValidate(), ue.success(V), G(v.value);
65
65
  }).catch(({ code: $, data: V, message: X }) => {
66
66
  if ($ != "ValidateError")
67
67
  return;
68
- P.value = V;
69
- let K = V.find((_) => _.table !== y.value.name);
70
- if (K) {
71
- let _ = r.value.find((o) => o.name == K.table);
68
+ N.value = V;
69
+ let P = V.find((_) => _.table !== y.value.name);
70
+ if (P) {
71
+ let _ = r.value.find((o) => o.name == P.table);
72
72
  _ && (w.value = _.name);
73
73
  }
74
74
  ae(() => {
75
75
  E.value.clearValidate(), E.value.validate((_, o) => {
76
- _ || (a && a(!1), P.value = []);
76
+ _ || (a && a(!1), N.value = []);
77
77
  });
78
78
  });
79
79
  }).finally(() => {
@@ -83,29 +83,27 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
83
83
  });
84
84
  }, Q = (l) => {
85
85
  var a, n;
86
- let t = Ae(l.module.type, l.module.name);
87
- Ge.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, v.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema, l.set), y.value = (a = r.value) == null ? void 0 : a[0], N.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, f.value.table = r.value[1], f.value.layout = r.value[1].layouts[0]);
86
+ let t = Oe(l.module.type, l.module.name);
87
+ Ae.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, v.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema, l.set), y.value = (a = r.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, f.value.table = r.value[1], f.value.layout = r.value[1].layouts[0]);
88
88
  }, Se = (l) => {
89
89
  R.value && R.value.resize && R.value.resize(l), C.value && C.value.resize && C.value.resize(l);
90
90
  }, Te = (l, t) => {
91
- if (l == "ctrlS") {
91
+ if (l == Ge.ctrlS) {
92
92
  if (c.value.type == "Detail") {
93
- if (!q.value || !q.value.keyboard)
94
- return !1;
95
- q.value.keyboard(l, t);
93
+ Ie.triggerKeyboardHandler(O.value, l, t);
96
94
  return;
97
95
  }
98
- M(t);
96
+ F(t);
99
97
  }
100
98
  }, Ve = () => {
101
99
  let l = D.url.getUrl(z.value.path, z.value.query);
102
- L("load", l, !1, (t) => {
100
+ K("load", l, !1, (t) => {
103
101
  });
104
102
  };
105
103
  (() => {
106
- Q(A.value.data);
104
+ Q(M.value.data);
107
105
  })();
108
- let M = (l) => {
106
+ let F = (l) => {
109
107
  if (!j.value.submit) {
110
108
  ue.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
111
109
  return;
@@ -113,25 +111,25 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
113
111
  j.value.submit(l);
114
112
  }, ze = Y(() => {
115
113
  let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
116
- return qe.getComponent(l, "partial", t);
114
+ return Pe.getComponent(l, "partial", t);
117
115
  }), W = Y(() => c.value.type.toLowerCase());
118
- return Be(() => A.value, (l) => {
116
+ return Be(() => M.value, (l) => {
119
117
  Q(l.data), R.value.update && R.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
120
- }), ie({ shouldLoad: pe, shouldSpin: ce, keyboard: Te, refresh: be, resize: Se }), (l, t) => {
121
- const a = p("el-tooltip"), n = p("el-tab-pane"), T = p("el-tabs"), U = p("el-form"), $ = p("el-scrollbar"), V = p("el-popover"), X = p("el-form-item"), K = p("el-card"), _ = p("el-drawer");
122
- return d(), O("div", {
118
+ }), ie({ shouldLoad: pe, shouldSpin: ce, keyboardHandler: Te, refresh: be, resize: Se }), (l, t) => {
119
+ const a = p("el-tooltip"), n = p("el-tab-pane"), T = p("el-tabs"), U = p("el-form"), $ = p("el-scrollbar"), V = p("el-popover"), X = p("el-form-item"), P = p("el-card"), _ = p("el-drawer");
120
+ return d(), H("div", {
123
121
  ref_key: "singleRef",
124
122
  ref: fe,
125
- class: De(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(k) }])
123
+ class: De(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(x) }])
126
124
  }, [
127
- m("div", He, [
125
+ m("div", Je, [
128
126
  g($, { class: "main-scroller" }, {
129
127
  default: s(() => [
130
128
  g(U, {
131
129
  ref_key: "formRef",
132
130
  ref: E,
133
131
  model: e(v),
134
- onSubmit: t[3] || (t[3] = Le(() => {
132
+ onSubmit: t[3] || (t[3] = Ke(() => {
135
133
  }, ["prevent"]))
136
134
  }, {
137
135
  default: s(() => [
@@ -141,24 +139,24 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
141
139
  module: e(c),
142
140
  schema: e(r),
143
141
  table: e(y),
144
- layout: e(N),
142
+ layout: e(L),
145
143
  next: e(b),
146
144
  set: e(v),
147
145
  route: e(z),
148
- "validate-errors": e(P),
146
+ "validate-errors": e(N),
149
147
  onChange: e(I),
150
148
  onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
151
- onSubmit: e(M)
149
+ onSubmit: e(F)
152
150
  }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
153
151
  e(r).length > 1 ? (d(), h(T, {
154
152
  key: 0,
155
153
  type: "border-card",
156
- onTabChange: e(ke),
154
+ onTabChange: e(xe),
157
155
  modelValue: e(w),
158
156
  "onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
159
157
  }, {
160
158
  default: s(() => [
161
- (d(!0), O(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), h(n, {
159
+ (d(!0), H(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), h(n, {
162
160
  name: o.name,
163
161
  key: o.name
164
162
  }, {
@@ -169,7 +167,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
169
167
  disabled: !o.tooltip
170
168
  }, {
171
169
  default: s(() => [
172
- m("div", null, x(e(Ke)(o.table)), 1)
170
+ m("div", null, k(e(je)(o.table)), 1)
173
171
  ]),
174
172
  _: 2
175
173
  }, 1032, ["content", "disabled"])
@@ -190,11 +188,11 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
190
188
  next: e(b),
191
189
  set: e(v),
192
190
  route: e(z),
193
- "validate-errors": e(P),
191
+ "validate-errors": e(N),
194
192
  onRowEdit: e(we),
195
193
  onChange: e(I),
196
194
  onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
197
- onSubmit: e(M)
195
+ onSubmit: e(F)
198
196
  }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : B("", !0)
199
197
  ]),
200
198
  _: 1
@@ -202,13 +200,13 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
202
200
  ]),
203
201
  _: 1
204
202
  }),
205
- (d(), h(Ne(e(ze)), {
203
+ (d(), h(Le(e(ze)), {
206
204
  ref_key: "updateRef",
207
205
  ref: j,
208
206
  class: "main-footer",
209
207
  schema: e(r),
210
208
  table: e(y),
211
- layout: e(N),
209
+ layout: e(L),
212
210
  next: e(b),
213
211
  set: e(v),
214
212
  route: e(z),
@@ -218,16 +216,16 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
218
216
  onClose: e(Ce)
219
217
  }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
220
218
  ]),
221
- e(k) ? (d(), h(K, {
219
+ e(x) ? (d(), h(P, {
222
220
  key: 0,
223
221
  class: "side-form"
224
222
  }, {
225
223
  header: s(() => [
226
- m("div", Ie, [
227
- m("div", Je, x(e(oe)("common.modify")) + " " + x(e(F)[e(S).show[0].name]), 1),
224
+ m("div", Qe, [
225
+ m("div", We, k(e(oe)("common.modify")) + " " + k(e(q)[e(S).show[0].name]), 1),
228
226
  m("div", {
229
227
  class: "row-close",
230
- onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
228
+ onClick: t[4] || (t[4] = (o) => Z(x) ? x.value = !1 : x = !1)
231
229
  }, t[6] || (t[6] = [
232
230
  m("i", { class: "fa fa-close" }, null, -1)
233
231
  ]))
@@ -241,12 +239,12 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
241
239
  "label-width": "80px"
242
240
  }, {
243
241
  default: s(() => [
244
- (d(!0), O(ee, null, le(e(S).show, (o) => (d(), h(X, {
245
- style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
242
+ (d(!0), H(ee, null, le(e(S).show, (o) => (d(), h(X, {
243
+ style: Ne(o.control.height ? `height: ${o.control.height}px;` : ""),
246
244
  rules: o.rules
247
245
  }, {
248
246
  label: s(() => [
249
- te(x(e(je)(e(S).name, o.name)) + " ", 1),
247
+ te(k(e(qe)(e(S).name, o.name)) + " ", 1),
250
248
  o.control.tooltip ? (d(), h(V, {
251
249
  key: 0,
252
250
  trigger: "hover",
@@ -258,7 +256,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
258
256
  m("i", { class: "fa fa-question-circle icon-question" }, null, -1)
259
257
  ])),
260
258
  default: s(() => [
261
- m("pre", null, x(o.control.tooltip.content), 1)
259
+ m("pre", null, k(o.control.tooltip.content), 1)
262
260
  ]),
263
261
  _: 2
264
262
  }, 1032, ["title"])) : B("", !0)
@@ -269,7 +267,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
269
267
  table: e(S),
270
268
  field: o,
271
269
  set: e(v),
272
- row: e(F)
270
+ row: e(q)
273
271
  }, null, 8, ["schema", "table", "field", "set", "row"])
274
272
  ]),
275
273
  _: 2
@@ -292,20 +290,20 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
292
290
  "onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
293
291
  }, {
294
292
  header: s(() => [
295
- m("div", Qe, [
296
- te(x(e(b)[e(i).page].title) + " ", 1),
293
+ m("div", Xe, [
294
+ te(k(e(b)[e(i).page].title) + " ", 1),
297
295
  m("a", {
298
296
  class: "drawer-copy",
299
297
  href: `${e(D).url.getToUrl(e(i).url)}`
300
- }, x(e(oe)("common.link")), 9, We)
298
+ }, k(e(oe)("common.link")), 9, Ye)
301
299
  ])
302
300
  ]),
303
301
  default: s(() => [
304
- g(e(Me), {
302
+ g(e(He), {
305
303
  ref_key: "pageRef",
306
- ref: q,
304
+ ref: O,
307
305
  url: e(i).url,
308
- onSucceed: e(H),
306
+ onSucceed: e(G),
309
307
  onClose: e(ge)
310
308
  }, null, 8, ["url", "onSucceed", "onClose"])
311
309
  ]),
@@ -316,5 +314,5 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
316
314
  }
317
315
  });
318
316
  export {
319
- tl as default
317
+ ol as default
320
318
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as j, toRefs as q, ref as c, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as r, createElementVNode as K, normalizeStyle as P, nextTick as R } from "vue";
2
- import { B as Q, s as W, n as X, U as C, m as Y } from "./main-BLb5AIWJ.js";
1
+ import { defineComponent as j, toRefs as q, ref as c, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as s, createElementVNode as K, normalizeStyle as P, nextTick as R } from "vue";
2
+ import { C as Q, d as W, p as X, U as C, m as Y } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js";
5
- const re = /* @__PURE__ */ j({
4
+ import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
5
+ const se = /* @__PURE__ */ j({
6
6
  __name: "Statistic",
7
7
  props: {
8
8
  searchData: {},
@@ -16,12 +16,12 @@ const re = /* @__PURE__ */ j({
16
16
  },
17
17
  emits: ["search"],
18
18
  setup(A, { expose: F, emit: z }) {
19
- let B = z, H = A, { route: E, module: T, schema: y, table: m, layout: l, next: ee, set: u, searchData: x } = q(H), i = null, p = null, g = c(), d = c(), v = c(), b = c(), { app: S } = Q.sys, V = (t) => {
19
+ let H = z, B = A, { route: E, module: T, schema: m, table: y, layout: l, next: ee, set: u, searchData: p } = q(B), i = null, x = null, g = c(), d = c(), v = c(), b = c(), { app: S } = Q.sys, V = (t) => {
20
20
  D("search");
21
21
  }, D = (t, e = null) => {
22
- B(t, (s) => {
22
+ H(t, (r) => {
23
23
  R(() => {
24
- f(), e == null || e(s);
24
+ f(), e == null || e(r);
25
25
  });
26
26
  });
27
27
  }, f = () => {
@@ -60,7 +60,7 @@ const re = /* @__PURE__ */ j({
60
60
  series: []
61
61
  };
62
62
  S.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)");
63
- let s = l.value.fields.find((a) => a.group && a.name != l.value.date), k = m.value.fields.find((a) => a.name == s.name).control.data.data;
63
+ let r = l.value.fields.find((a) => a.group && a.name != l.value.date), k = y.value.fields.find((a) => a.name == r.name).control.data.data;
64
64
  for (let a = 0; a < k.length; a++) {
65
65
  let o = k[a];
66
66
  o.color || Y.error("颜色字段不能为空");
@@ -104,23 +104,23 @@ const re = /* @__PURE__ */ j({
104
104
  global: !0
105
105
  });
106
106
  for (let h = 0; h < t.length; h++) {
107
- let $ = t[h], _ = u.value[l.value.table].find((L) => L[s.name] == o.value && L[l.value.date] == $);
107
+ let $ = t[h], _ = u.value[l.value.table].find((L) => L[r.name] == o.value && L[l.value.date] == $);
108
108
  _ == null ? n.data.push(null) : n.data.push(_[l.value.value]);
109
109
  }
110
110
  e.series.push(n), e.legend.data.push(o.text);
111
111
  }
112
112
  e.xAxis.data.push(...t), i.setOption(e);
113
113
  }, w = async () => {
114
- var s;
115
- let t = C.dom.getHeight([(s = d.value) == null ? void 0 : s.$el]), e = b.value.getBoundingClientRect();
114
+ var r;
115
+ let t = C.dom.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = b.value.getBoundingClientRect();
116
116
  g.value = e.height - t - 10 - 1, await R();
117
117
  }, N = async (t) => {
118
118
  d.value.resize(t), await w(), i == null || i.resize();
119
119
  }, U = async () => {
120
- await w(), i = p.init(v.value), f();
120
+ await w(), i = x.init(v.value), f();
121
121
  };
122
122
  return G(async () => {
123
- x.value = W.getConditionForm(y.value, E.value.query.condition), p = await X.getECharts(), await U();
123
+ p.value = W.getConditionForm(m.value, E.value.query.condition), x = await X.getECharts(), await U();
124
124
  }), M(() => l.value, (t, e) => {
125
125
  f();
126
126
  }), F({ resize: N }), (t, e) => (O(), I("div", {
@@ -131,22 +131,22 @@ const re = /* @__PURE__ */ j({
131
131
  J(Z, {
132
132
  ref_key: "searchRef",
133
133
  ref: d,
134
- schema: r(y),
135
- table: r(m),
136
- layout: r(l),
137
- set: r(u),
138
- "search-data": r(x),
139
- onChange: r(V)
134
+ schema: s(m),
135
+ table: s(y),
136
+ layout: s(l),
137
+ set: s(u),
138
+ "search-data": s(p),
139
+ onChange: s(V)
140
140
  }, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
141
141
  K("div", {
142
142
  ref_key: "chartRef",
143
143
  ref: v,
144
144
  class: "chart",
145
- style: P({ height: r(g) + "px" })
145
+ style: P({ height: s(g) + "px" })
146
146
  }, null, 4)
147
147
  ], 512));
148
148
  }
149
149
  });
150
150
  export {
151
- re as default
151
+ se as default
152
152
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-JABRw23-.js";
1
+ import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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-JABRw23-.js";
2
+ import { _ } from "./Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js";
3
3
  const b = /* @__PURE__ */ c({
4
4
  __name: "Stock",
5
5
  props: {
@@ -1,5 +1,5 @@
1
- import { defineComponent as F, toRefs as B, ref as R, onMounted as T, openBlock as E, createBlock as G, unref as f, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
2
- import { B as O, n as K, _ as N, U } from "./main-BLb5AIWJ.js";
1
+ import { defineComponent as F, toRefs as R, ref as T, onMounted as B, openBlock as E, createBlock as G, unref as f, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
2
+ import { C as O, p as K, _ as N, U } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
4
  const J = /* @__PURE__ */ F({
5
5
  __name: "Stock",
@@ -14,7 +14,7 @@ const J = /* @__PURE__ */ F({
14
14
  set: {}
15
15
  },
16
16
  setup(k) {
17
- let L = k, { module: j, schema: z, table: v, layout: n, next: W, set: h } = B(L), y = null, c = null, p = "#04aa4e", x = "#ff5945", w = R(), u = { history: null, week: null, month: null }, { app: S } = O.sys, M = (t) => {
17
+ let L = k, { module: j, schema: z, table: v, layout: n, next: W, set: h } = R(L), p = null, c = null, y = "#04aa4e", x = "#ff5945", w = T(), u = { history: null, week: null, month: null }, { app: S } = O.sys, M = (t) => {
18
18
  let o = U.array.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
19
19
  for (let i = 0; i < o.length; i++) {
20
20
  let a = o[i];
@@ -23,7 +23,7 @@ const J = /* @__PURE__ */ F({
23
23
  l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
24
24
  let C = {
25
25
  value: parseFloat(a[n.value.volumn]),
26
- itemStyle: { color: s > d ? p : x }
26
+ itemStyle: { color: s > d ? y : x }
27
27
  };
28
28
  r.push(C);
29
29
  }
@@ -146,9 +146,9 @@ const J = /* @__PURE__ */ F({
146
146
  //网格索引,表示使用第2个网格的配置
147
147
  data: t.values,
148
148
  itemStyle: {
149
- color: p,
149
+ color: y,
150
150
  color0: x,
151
- borderColor: p,
151
+ borderColor: y,
152
152
  borderColor0: x
153
153
  },
154
154
  markPoint: {
@@ -268,14 +268,14 @@ const J = /* @__PURE__ */ F({
268
268
  }), o / t.length * 100;
269
269
  }, I = (t) => {
270
270
  let o = _(t);
271
- y || (y = c.init(w.value)), y.setOption(o);
271
+ p || (p = c.init(w.value)), p.setOption(o);
272
272
  let e = t.values, l = e.reverse();
273
273
  u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
274
274
  }, Z = () => {
275
275
  let t = h.value[v.value.name];
276
276
  t.length > 0 && I(M(t));
277
277
  };
278
- return T(async () => {
278
+ return B(async () => {
279
279
  c = await K.getECharts(), Z();
280
280
  }), (t, o) => (E(), G(f(N), null, {
281
281
  default: P(() => [
@@ -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-BiSpx7nU.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-CAAvUqf-.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),