halo-pc 1.0.22 → 1.0.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/dist/{Article-C_3LULzy.js → Article-B85JcyzM.js} +10 -10
  2. package/dist/{ArticleFooter-Do6I1mma.js → ArticleFooter-BCHVxIWa.js} +1 -1
  3. package/dist/{Autocomplete-BLrbt1wN.js → Autocomplete-BA0pEA9T.js} +2 -2
  4. package/dist/{Autocomplete-C27XN8Sp.js → Autocomplete-C1MC46ef.js} +3 -3
  5. package/dist/{Autocomplete-BLOOqTTn.js → Autocomplete-DUmzcj_9.js} +1 -1
  6. package/dist/{CSharp-BGn9jf2B.js → CSharp-CLKgbbVS.js} +1 -1
  7. package/dist/{Calender-4bSMqUzx.js → Calender-DIjZoC1-.js} +4 -4
  8. package/dist/{Callback-BHYDtogL.js → Callback-DmCRycGX.js} +3 -3
  9. package/dist/{Cascader-D3y3WjFF.js → Cascader-CQqLPpEF.js} +10 -10
  10. package/dist/{Cascader-D9Y8L7X2.js → Cascader-DcM0THgE.js} +1 -1
  11. package/dist/{Checkbox-DnTLeLjt.js → Checkbox-BJjYhPvp.js} +1 -1
  12. package/dist/{Checkbox-dDfYBhhc.js → Checkbox-CLGuZoor.js} +1 -1
  13. package/dist/{Code-Af5URLnL.js → Code-C5fE_bvq.js} +1 -1
  14. package/dist/{Code-CWsSgkJq.js → Code-CVyrDYHh.js} +4 -4
  15. package/dist/{Code-Bi9Y45vV.js → Code-CfODGNBF.js} +1 -1
  16. package/dist/{Code-QYs-sjcG.js → Code-D7kMH044.js} +1 -1
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-CI6sLXKy.js → Code.vue_vue_type_style_index_0_lang-CGIHkYJn.js} +5 -5
  18. package/dist/{Column-wzxM_-Vp.js → Column-4XWgmnKg.js} +13 -12
  19. package/dist/{Comment-BF8L1umD.js → Comment-CNvy-1Iq.js} +1 -1
  20. package/dist/{Compare-Cj_CPjIV.js → Compare-DICZHIEn.js} +1 -1
  21. package/dist/{Compare-CjSQcnd3.js → Compare-wgk3D3EX.js} +13 -12
  22. package/dist/{Copy-BNt-Dwoo.js → Copy-C_EBpWht.js} +1 -1
  23. package/dist/{Custom-CYPkAqpf.js → Custom-OUdFT-Z9.js} +1 -1
  24. package/dist/{DataExport-CHQtRKzA.js → DataExport-f8caAI4D.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dt2BAaAO.js → DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js} +1 -1
  26. package/dist/{DataImport-CDcmH3Du.js → DataImport-CZaVBfZq.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-dULXjbl_.js → DataImport.vue_vue_type_script_setup_true_lang-DIrLf0yN.js} +6 -6
  28. package/dist/{Date-U1py5NaK.js → Date-B1jUMPdx.js} +3 -3
  29. package/dist/{Date-BStpsA7n.js → Date-DtHzdllB.js} +1 -1
  30. package/dist/{DateRange-DxAx2gxI.js → DateRange-CXUIVfwU.js} +1 -1
  31. package/dist/{DateTime-B3609Ct6.js → DateTime-6lhPVe1O.js} +1 -1
  32. package/dist/{DateTime-CmJw1-WA.js → DateTime-G4F8DiCI.js} +1 -1
  33. package/dist/{DateTimeRange-aDw57sTG.js → DateTimeRange-CG9K8X5b.js} +5 -5
  34. package/dist/{Daterange-C48t6usd.js → Daterange-DbhWv06V.js} +1 -1
  35. package/dist/{Decimal-Ca0K6NoZ.js → Decimal-iKOftOtx.js} +1 -1
  36. package/dist/{Delete-FhIvONUV.js → Delete-BU-TdXZR.js} +1 -1
  37. package/dist/{Detail-qqW0J946.js → Detail-syloerEZ.js} +12 -11
  38. package/dist/{Dictionary-CaXytFmK.js → Dictionary-DYPWj-d0.js} +7 -7
  39. package/dist/{Email-H2DHJhMe.js → Email-BTKIb--f.js} +1 -1
  40. package/dist/{File-CjXewuui.js → File-IQG0slBy.js} +15 -14
  41. package/dist/Image-BRH98A7N.js +9 -0
  42. package/dist/{Index-BIbR8SAU.js → Index-BJWMiDrx.js} +25 -25
  43. package/dist/{Index-DUgprnVp.js → Index-BqseRji6.js} +1 -1
  44. package/dist/Index-C8CUkTm5.js +4 -0
  45. package/dist/Index-CBAGTH43.js +4 -0
  46. package/dist/{Index-BrI9x7i7.js → Index-CnqiNw5R.js} +1 -1
  47. package/dist/{Index-icEhc88J.js → Index-CttpoRk-.js} +2 -2
  48. package/dist/Index-D3WQg1HZ.js +4 -0
  49. package/dist/Index-KxibedJH.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js → Index.vue_vue_type_script_setup_true_lang-C0QNQ1MJ.js} +4 -3
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-Beb5UD_S.js → Index.vue_vue_type_script_setup_true_lang-Cx8eXCsw.js} +7 -6
  52. package/dist/{Install-FwXpJIWk.js → Install-BEeQqQzM.js} +4 -3
  53. package/dist/{Int-CXl1QpEL.js → Int-Ae-gJbt5.js} +1 -1
  54. package/dist/{Int-DAxz3ETu.js → Int-BqZ6sIcn.js} +3 -3
  55. package/dist/{List-CV9bkdrq.js → List-D8C_gyVz.js} +2 -2
  56. package/dist/{Maintaince-DZNq9aHX.js → Maintaince-DdS89Bbv.js} +3 -3
  57. package/dist/{Markdown-BhwqDlwa.js → Markdown-DR4rlU3-.js} +1 -1
  58. package/dist/{Month-bgEd_K7_.js → Month-BECDFWum.js} +3 -3
  59. package/dist/{Month-BEmnA7zU.js → Month-BRuj2vZ-.js} +1 -1
  60. package/dist/{Month-DXQBHoJU.js → Month-CnScc0mu.js} +3 -3
  61. package/dist/{Normal-Dya4aqc7.js → Normal-B6h5U5-c.js} +95 -93
  62. package/dist/{Paging-JXDzxoM0.js → Paging-CdUnYWJ1.js} +51 -51
  63. package/dist/{PagingHeader-BETGBySb.js → PagingHeader-BEfi7NBv.js} +1 -1
  64. package/dist/{PagingRow-BLqp1c9E.js → PagingRow-C-l9v-bo.js} +1 -1
  65. package/dist/{QueryApi-B5jI3sBl.js → QueryApi-CwNeSXIs.js} +1 -1
  66. package/dist/{Racebar-CozeXwLJ.js → Racebar-BdLTF_ZH.js} +27 -27
  67. package/dist/{Radio-CuAxYw7j.js → Radio-DVmzOE7P.js} +1 -1
  68. package/dist/{Register-B11jE2Ox.js → Register-CQSkhKvF.js} +24 -24
  69. package/dist/{RichText-CxBE_cVg.js → RichText-D-AaPwkx.js} +8 -8
  70. package/dist/{SearchFooter-agTqPUGE.js → SearchFooter-CKOh4Fzz.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-C-1Yr5_9.js → SearchFooter.vue_vue_type_style_index_0_lang-D6xp89r9.js} +1 -1
  72. package/dist/{SearchForm-DNKmE8W0.js → SearchForm-WtocjgIQ.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js → SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js} +8 -8
  74. package/dist/{Select-MqDjnB-C.js → Select-CGC68XKI.js} +1 -1
  75. package/dist/{Select-BPa5rx_H.js → Select-DuHwIGlP.js} +1 -1
  76. package/dist/{Select-CRfEAtba.js → Select-RG1Hkpw4.js} +17 -17
  77. package/dist/{Single-C5Kkr9SY.js → Single-PROE_P9A.js} +22 -23
  78. package/dist/{Statistic-Ce_FMw5O.js → Statistic-R1oy4jve.js} +25 -27
  79. package/dist/{Stock-BTjhpaxv.js → Stock-Dzlxs_TK.js} +1 -1
  80. package/dist/{Stock-D8AJmsvb.js → Stock-zGPixaHC.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js → Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.js} +10 -10
  82. package/dist/{Switch-gwGbi34o.js → Switch-y8TGQEHX.js} +1 -1
  83. package/dist/{Table-C03eUBYm.js → Table-D--KFpz3.js} +107 -108
  84. package/dist/{Table-DA8aGGEH.js → Table-NDlPEOwH.js} +77 -77
  85. package/dist/{Text-B5uPrGof.js → Text-BkKR1LPU.js} +4 -4
  86. package/dist/Text-DXGGbFhr.js +4 -0
  87. package/dist/{Text-D-VS-lCk.js → Text-DXGzwZnW.js} +5 -5
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-Fsbur1tJ.js → Text.vue_vue_type_style_index_0_lang-CeWH48Pu.js} +1 -1
  89. package/dist/{TextLink-B_Qg6CnF.js → TextLink-DYisoDVn.js} +1 -1
  90. package/dist/{Textarea-gtXLL6Qe.js → Textarea-C4PlCQXP.js} +1 -1
  91. package/dist/{Time-DYOIZ2Rv.js → Time-DxojKVPC.js} +3 -3
  92. package/dist/{Timeline-B4AYezYA.js → Timeline-hBk2KUsH.js} +1 -1
  93. package/dist/{Tree-CTmXjN1O.js → Tree-Dsrpy8UN.js} +9 -9
  94. package/dist/{Tree-CRDb0vS5.js → Tree-DzfCEHVR.js} +19 -19
  95. package/dist/{TreeNode-HFcGpAOb.js → TreeNode-BAZbs0jL.js} +1 -1
  96. package/dist/{Update-EHyhYK5k.js → Update-BzPazrMP.js} +4 -3
  97. package/dist/{UpdateChild-CC3b9evd.js → UpdateChild-BvIiamkv.js} +1 -1
  98. package/dist/{Upload-CkQ-5tVg.js → Upload-Dt2pNqjv.js} +16 -16
  99. package/dist/{Upload-um4BYzwO.js → Upload-fnKNelcS.js} +14 -14
  100. package/dist/{UploadApi-BmdGJGjh.js → UploadApi-D_HwEoQY.js} +1 -1
  101. package/dist/{Year-DKBG5ihv.js → Year-BUO5CKKv.js} +4 -4
  102. package/dist/{Year-Lhvyb9Vk.js → Year-DJPzJlot.js} +1 -1
  103. package/dist/{main-C1iALE1f.js → main--j4fHmql.js} +2985 -2848
  104. package/dist/main.js +130 -128
  105. package/dist/style.css +1 -1
  106. package/esm/coms/controls/index.d.ts +2 -0
  107. package/esm/coms/headers/Index.vue.d.ts +21 -2
  108. package/esm/svcs/AppSvc.d.ts +4 -36
  109. package/esm/svcs/ControlSvc.d.ts +8 -8
  110. package/esm/svcs/PageSvc.d.ts +0 -12
  111. package/esm/svcs/StandardSvc.d.ts +13 -3
  112. package/esm/svcs/index.d.ts +1 -6
  113. package/package.json +2 -2
  114. package/dist/Image-BSuCHshD.js +0 -9
  115. package/dist/Index-9KImKLrj.js +0 -4
  116. package/dist/Index-BaoxkF9F.js +0 -4
  117. package/dist/Index-CXR5RC6-.js +0 -4
  118. package/dist/Index-CpGonJ_m.js +0 -4
  119. package/dist/Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js +0 -122
  120. package/dist/Text-NRww74M3.js +0 -4
  121. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  122. package/dist/assets/@vue-aVYGocXp.js +0 -93
  123. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
@@ -1,15 +1,14 @@
1
1
  import { defineComponent as Ue, toRefs as $e, ref as r, 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 h, withCtx as s, withModifiers as Le, createBlock as g, isRef as Z, Fragment as ee, renderList as le, toDisplayString as x, createCommentVNode as B, resolveDynamicComponent as Ne, normalizeStyle as Oe, createTextVNode as te, nextTick as ae } from "vue";
2
2
  import "./assets/underscore-B0BCaBxV.js";
3
3
  import "./assets/underscore.string-DVXD2SZo.js";
4
- import { d as Pe, e as qe, t as oe, f as Ke, U as q, a as je, O as Fe, h as He, m as re, b as Me, i as Ae, s as ue } from "./main-C1iALE1f.js";
4
+ import { d as Pe, e as qe, t as oe, f as Ke, g as je, U as q, a as Fe, O as He, h as Me, m as re, b as Ae, i as Ge, s as ue } from "./main--j4fHmql.js";
5
5
  import "./assets/file-saver-CwlpTZSc.js";
6
6
  import "./assets/moment-h96o7c8I.js";
7
7
  import "./assets/liquidjs-C-LVcoaY.js";
8
- import { _ as Ge } from "./Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js";
9
- import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js";
8
+ import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-C0QNQ1MJ.js";
10
9
  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 = [
11
10
  We
12
- ], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"], ml = /* @__PURE__ */ Ue({
11
+ ], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"], dl = /* @__PURE__ */ Ue({
13
12
  __name: "Single",
14
13
  props: {
15
14
  base: {},
@@ -19,7 +18,7 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
19
18
  },
20
19
  emits: ["navigate", "load", "succeed", "close"],
21
20
  setup(se, { expose: ie, emit: de }) {
22
- let D = de, me = se, { url: ce, base: M, route: z } = $e(me), f = r(), b = r(), c = r(), u = r(), _ = r(), L = r(), v = r({ table: null, layout: null }), w = r(), N = r([]), ve = r(), E = r(), S = r(), K = r(), C = r(), O = r(), i = r({ page: null, url: null, visible: !1, appendToBody: !1 }), k = r(!1), j = r(), R = r(), pe = (l) => !0, fe = (l) => {
21
+ let D = de, me = se, { url: ce, base: M, route: z } = $e(me), f = r(), b = r(), c = r(), u = r(), _ = r(), L = r(), v = r({ table: null, layout: null }), w = r(), N = r([]), ve = r(), E = r(), R = r(), K = r(), C = r(), O = r(), i = r({ page: null, url: null, visible: !1, appendToBody: !1 }), k = r(!1), j = r(), S = r(), pe = (l) => !0, fe = (l) => {
23
22
  let t = q.getPath(ce.value), a = q.getPath(l);
24
23
  return t != a;
25
24
  }, be = () => {
@@ -41,7 +40,7 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
41
40
  }
42
41
  return a;
43
42
  }, we = (l, t, a) => {
44
- (a.ctrlKey || k.value) && (j.value = l, R.value = Fe.clone(t), k.value = !0, R.value.fields.forEach((n) => {
43
+ (a.ctrlKey || k.value) && (j.value = l, S.value = He.clone(t), k.value = !0, S.value.fields.forEach((n) => {
45
44
  n.control.textualize = !1;
46
45
  }));
47
46
  }, G = (l) => {
@@ -61,13 +60,13 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
61
60
  }, xe = (l) => {
62
61
  let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
63
62
  u.value.find((T) => T.name == a).main || (w.value = a);
64
- }, Se = (l, t = null, a = null) => {
63
+ }, Re = (l, t = null, a = null) => {
65
64
  ae(() => {
66
65
  E.value.validate((n, T) => {
67
66
  if (!n)
68
67
  return xe(T), a && a(!1), !1;
69
68
  let U = f.value.type == "Update" ? b.value.update.route : b.value.insert.route;
70
- t && t(U, c.value), He.post(U, c.value).then(({ data: $, message: V }) => {
69
+ t && t(U, c.value), Me.post(U, c.value).then(({ data: $, message: V }) => {
71
70
  E.value.clearValidate(), re.success(V), G(c.value);
72
71
  }).catch(({ code: $, data: V, message: X }) => {
73
72
  if ($ != "ValidateError")
@@ -90,10 +89,10 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
90
89
  });
91
90
  }, Q = (l) => {
92
91
  var a, n;
93
- let t = Me(l.module.type, l.module.name);
94
- Ae.setTitle(t, l.module.env), f.value = l.module, b.value = l.next, c.value = ue.expandSet(l.schema, l.set), u.value = ue.expandSchema(l.schema), _.value = (a = u.value) == null ? void 0 : a[0], L.value = _.value.layouts[0], ((n = u.value) == null ? void 0 : n.length) > 1 && (w.value = u.value[1].name, v.value.table = u.value[1], v.value.layout = u.value[1].layouts[0]);
95
- }, Re = (l) => {
96
- S.value && S.value.resize && S.value.resize(l), C.value && C.value.resize && C.value.resize(l);
92
+ let t = Ae(l.module.type, l.module.name);
93
+ Ge.setTitle(t, l.module.env), f.value = l.module, b.value = l.next, c.value = ue.expandSet(l.schema, l.set), u.value = ue.expandSchema(l.schema, l.set), _.value = (a = u.value) == null ? void 0 : a[0], L.value = _.value.layouts[0], ((n = u.value) == null ? void 0 : n.length) > 1 && (w.value = u.value[1].name, v.value.table = u.value[1], v.value.layout = u.value[1].layouts[0]);
94
+ }, Se = (l) => {
95
+ R.value && R.value.resize && R.value.resize(l), C.value && C.value.resize && C.value.resize(l);
97
96
  }, Te = (l, t) => {
98
97
  if (l == "ctrlS") {
99
98
  if (f.value.type == "Detail") {
@@ -123,8 +122,8 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
123
122
  return Pe.getComponent(l, "partial", t);
124
123
  }), W = Y(() => f.value.type.toLowerCase());
125
124
  return Be(() => M.value, (l) => {
126
- Q(l.data), S.value.update && S.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
127
- }), ie({ shouldLoad: pe, shouldSpin: fe, keyboard: Te, refresh: be, resize: Re }), (l, t) => {
125
+ Q(l.data), R.value.update && R.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
126
+ }), ie({ shouldLoad: pe, shouldSpin: fe, keyboard: Te, refresh: be, resize: Se }), (l, t) => {
128
127
  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"), y = p("el-drawer");
129
128
  return d(), H("div", {
130
129
  ref_key: "singleRef",
@@ -144,7 +143,7 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
144
143
  default: s(() => [
145
144
  h(ne, {
146
145
  ref_key: "mainRef",
147
- ref: S,
146
+ ref: R,
148
147
  module: e(f),
149
148
  schema: e(u),
150
149
  table: e(_),
@@ -221,7 +220,7 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
221
220
  route: e(z),
222
221
  onCopy: e(_e),
223
222
  onEdit: e(ye),
224
- onSubmit: e(Se),
223
+ onSubmit: e(Re),
225
224
  onClose: e(Ce)
226
225
  }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
227
226
  ]),
@@ -231,7 +230,7 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
231
230
  }, {
232
231
  header: s(() => [
233
232
  m("div", Je, [
234
- m("div", Qe, x(e(oe)("common.modify")) + " " + x(e(j)[e(R).show[0].name]), 1),
233
+ m("div", Qe, x(e(oe)("common.modify")) + " " + x(e(j)[e(S).show[0].name]), 1),
235
234
  m("div", {
236
235
  class: "row-close",
237
236
  onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
@@ -246,12 +245,12 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
246
245
  "label-width": "80px"
247
246
  }, {
248
247
  default: s(() => [
249
- (d(!0), H(ee, null, le(e(R).show, (o) => (d(), g(X, {
248
+ (d(!0), H(ee, null, le(e(S).show, (o) => (d(), g(X, {
250
249
  style: Oe(o.control.height ? `height: ${o.control.height}px;` : ""),
251
250
  rules: o.rules
252
251
  }, {
253
252
  label: s(() => [
254
- te(x(e(Ke)(e(R).name, o.name)) + " ", 1),
253
+ te(x(e(Ke)(e(S).name, o.name)) + " ", 1),
255
254
  o.control.tooltip ? (d(), g(V, {
256
255
  key: 0,
257
256
  trigger: "hover",
@@ -269,9 +268,9 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
269
268
  }, 1032, ["title"])) : B("", !0)
270
269
  ]),
271
270
  default: s(() => [
272
- h(Ge, {
271
+ h(je, {
273
272
  schema: e(u),
274
- table: e(R),
273
+ table: e(S),
275
274
  field: o,
276
275
  set: e(c),
277
276
  row: e(j)
@@ -306,7 +305,7 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
306
305
  ])
307
306
  ]),
308
307
  default: s(() => [
309
- h(e(je), {
308
+ h(e(Fe), {
310
309
  ref_key: "pageRef",
311
310
  ref: O,
312
311
  url: e(i).url,
@@ -321,5 +320,5 @@ const Ie = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
321
320
  }
322
321
  });
323
322
  export {
324
- ml as default
323
+ dl as default
325
324
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as j, toRefs as q, 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 m } from "vue";
2
- import { s as Q, l as U, A as W, C as R, m as X, D as Y } from "./main-C1iALE1f.js";
1
+ import { defineComponent as j, toRefs as q, 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 R } from "vue";
2
+ import { D as Q, s as U, n as W, A as X, m as Y, E as Z } from "./main--j4fHmql.js";
3
3
  import "./assets/underscore.string-DVXD2SZo.js";
4
4
  import "./assets/clone-BZn0cTAu.js";
5
5
  import "./assets/file-saver-CwlpTZSc.js";
6
6
  import "./assets/moment-h96o7c8I.js";
7
7
  import "./assets/liquidjs-C-LVcoaY.js";
8
- import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js";
9
- const ue = /* @__PURE__ */ j({
8
+ import { _ as ee } from "./SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js";
9
+ const de = /* @__PURE__ */ j({
10
10
  __name: "Statistic",
11
11
  props: {
12
12
  searchData: {},
@@ -20,17 +20,17 @@ const ue = /* @__PURE__ */ j({
20
20
  },
21
21
  emits: ["search"],
22
22
  setup(A, { expose: C, emit: H }) {
23
- let F = H, z = A, { route: D, module: B, schema: p, table: x, layout: l, next: ee, set: u, searchData: y } = q(z), s = null, g = null, v = n(), d = n(), b = n(), S = n(), E = (t) => {
23
+ let F = H, z = A, { route: D, module: E, schema: m, table: p, layout: l, next: te, set: u, searchData: y } = q(z), s = null, x = null, g = n(), d = n(), v = n(), b = n(), { app: S } = Q.sys, B = (t) => {
24
24
  T("search");
25
25
  }, T = (t, e = null) => {
26
26
  F(t, (r) => {
27
- m(() => {
27
+ R(() => {
28
28
  f(), e && e(r);
29
29
  });
30
30
  });
31
31
  }, f = () => {
32
- let t = W.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
33
- title: { text: B.value.title, left: "center", textStyle: { color: "#777" } },
32
+ let t = X.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
33
+ title: { text: E.value.title, left: "center", textStyle: { color: "#777" } },
34
34
  //标题
35
35
  tooltip: { trigger: "axis" },
36
36
  //提示
@@ -63,11 +63,11 @@ const ue = /* @__PURE__ */ j({
63
63
  //坐标
64
64
  series: []
65
65
  };
66
- 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)");
67
- let r = l.value.fields.find((a) => a.group && a.name != l.value.date), _ = x.value.fields.find((a) => a.name == r.name).control.data.data;
66
+ 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)");
67
+ let r = l.value.fields.find((a) => a.group && a.name != l.value.date), _ = p.value.fields.find((a) => a.name == r.name).control.data.data;
68
68
  for (let a = 0; a < _.length; a++) {
69
69
  let o = _[a];
70
- o.color || X.error("颜色字段不能为空");
70
+ o.color || Y.error("颜色字段不能为空");
71
71
  let c = {
72
72
  name: o.text,
73
73
  type: "line",
@@ -93,7 +93,7 @@ const ue = /* @__PURE__ */ j({
93
93
  }
94
94
  }
95
95
  };
96
- R.theme == "dark" && (c.areaStyle.color = {
96
+ S.theme == "dark" && (c.areaStyle.color = {
97
97
  type: "linear",
98
98
  x: 0,
99
99
  y: 0,
@@ -116,45 +116,43 @@ const ue = /* @__PURE__ */ j({
116
116
  e.xAxis.data.push(...t), s.setOption(e);
117
117
  }, k = () => {
118
118
  var r;
119
- let t = Y.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
120
- v.value = e.height - t - 10 - 1;
119
+ let t = Z.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = b.value.getBoundingClientRect();
120
+ g.value = e.height - t - 10 - 1;
121
121
  }, V = (t) => {
122
- d.value.resize(t), m(() => {
122
+ d.value.resize(t), R(() => {
123
123
  k(), s == null || s.resize();
124
124
  });
125
125
  }, N = () => {
126
- k(), m(() => {
127
- s = g.init(b.value), f();
128
- });
126
+ k(), s = x.init(v.value), f();
129
127
  };
130
128
  return G(async () => {
131
- y.value = Q.getConditionForm(p.value, D.value.query.condition), g = await U.getECharts(), N();
129
+ y.value = U.getConditionForm(m.value, D.value.query.condition), x = await W.getECharts(), N();
132
130
  }), M(() => l.value, (t, e) => {
133
131
  f();
134
132
  }), C({ resize: V }), (t, e) => (O(), I("div", {
135
133
  ref_key: "statisticRef",
136
- ref: S,
134
+ ref: b,
137
135
  class: "ha-statistic-layout"
138
136
  }, [
139
- J(Z, {
137
+ J(ee, {
140
138
  ref_key: "searchRef",
141
139
  ref: d,
142
- schema: i(p),
143
- table: i(x),
140
+ schema: i(m),
141
+ table: i(p),
144
142
  layout: i(l),
145
143
  set: i(u),
146
144
  "search-data": i(y),
147
- onChange: i(E)
145
+ onChange: i(B)
148
146
  }, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
149
147
  K("div", {
150
148
  ref_key: "chartRef",
151
- ref: b,
149
+ ref: v,
152
150
  class: "chart",
153
- style: P({ height: i(v) + "px" })
151
+ style: P({ height: i(g) + "px" })
154
152
  }, null, 4)
155
153
  ], 512));
156
154
  }
157
155
  });
158
156
  export {
159
- ue as default
157
+ de as default
160
158
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js";
1
+ import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.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-DTj2ITJ6.js";
2
+ import { _ } from "./Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.js";
3
3
  const b = /* @__PURE__ */ c({
4
4
  __name: "Stock",
5
5
  props: {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as F, toRefs as R, ref as T, onMounted as B, openBlock as E, createBlock as G, unref as h, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
2
- import { l as O, _ as K, A as N, C as S } from "./main-C1iALE1f.js";
2
+ import { D as O, n as K, _ as N, A as j } from "./main--j4fHmql.js";
3
3
  import "./assets/underscore.string-DVXD2SZo.js";
4
4
  import "./assets/clone-BZn0cTAu.js";
5
5
  import "./assets/file-saver-CwlpTZSc.js";
6
6
  import "./assets/moment-h96o7c8I.js";
7
7
  import "./assets/liquidjs-C-LVcoaY.js";
8
- const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), z = [
9
- j
10
- ], ee = /* @__PURE__ */ F({
8
+ const z = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), H = [
9
+ z
10
+ ], te = /* @__PURE__ */ F({
11
11
  __name: "Stock",
12
12
  props: {
13
13
  searchData: {},
@@ -20,8 +20,8 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
20
20
  set: {}
21
21
  },
22
22
  setup(k) {
23
- let L = k, { module: H, schema: W, table: v, layout: n, next: $, set: f } = R(L), p = null, d = null, y = "#04aa4e", x = "#ff5945", w = T(), u = { history: null, week: null, month: null }, _ = (t) => {
24
- let o = N.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
23
+ let L = k, { module: W, schema: $, table: v, layout: n, next: q, set: f } = R(L), p = null, d = null, y = "#04aa4e", x = "#ff5945", w = T(), u = { history: null, week: null, month: null }, { app: S } = O.sys, _ = (t) => {
24
+ let o = j.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
25
25
  for (let i = 0; i < o.length; i++) {
26
26
  let a = o[i];
27
27
  e.push(a[n.value.time]);
@@ -282,14 +282,14 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
282
282
  t.length > 0 && I(_(t));
283
283
  };
284
284
  return B(async () => {
285
- d = await O.getECharts(), Z();
286
- }), (t, o) => (E(), G(h(K), null, {
285
+ d = await K.getECharts(), Z();
286
+ }), (t, o) => (E(), G(h(N), null, {
287
287
  default: P(() => [
288
288
  A("div", {
289
289
  ref_key: "chartRef",
290
290
  ref: w,
291
291
  class: "chart"
292
- }, z, 512),
292
+ }, H, 512),
293
293
  V(" 30日开盘振幅:" + b(h(u).month) + "% 7日开盘振幅:" + b(h(u).week) + "% 历史开盘振幅:" + b(h(u).history) + "% ", 1)
294
294
  ]),
295
295
  _: 1
@@ -297,5 +297,5 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
297
297
  }
298
298
  });
299
299
  export {
300
- ee as _
300
+ te as _
301
301
  };
@@ -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-CaXytFmK.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-DYPWj-d0.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),