halo-pc 1.0.21 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/Article-4S7jNdlM.js +200 -0
  2. package/dist/{ArticleFooter-CbvmQHCn.js → ArticleFooter-DQs1A7g2.js} +24 -18
  3. package/dist/Autocomplete-B9SJNrNq.js +53 -0
  4. package/dist/{Autocomplete-BrKsj5vx.js → Autocomplete-BXwtzACg.js} +1 -1
  5. package/dist/Autocomplete-BZNDoWFj.js +54 -0
  6. package/dist/{CSharp-DGmv2biT.js → CSharp-aXdVWxPS.js} +1 -1
  7. package/dist/{Calender-dCiW7eIK.js → Calender-DSckLCh-.js} +4 -4
  8. package/dist/Callback-xlj8oj2-.js +26 -0
  9. package/dist/Cascader-Cwi5mukb.js +87 -0
  10. package/dist/Cascader-D1RbjsMs.js +47 -0
  11. package/dist/Checkbox-DFnVivE9.js +76 -0
  12. package/dist/{Checkbox-DklZD5ff.js → Checkbox-DtNMPsX4.js} +1 -1
  13. package/dist/{Code-DVZ9QWgE.js → Code-B2jpV8ek.js} +1 -1
  14. package/dist/Code-CEafFSlR.js +4 -0
  15. package/dist/Code-CTmcyEEu.js +60 -0
  16. package/dist/Code-DEOvcbgy.js +42 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-Cf1QzL0C.js +65 -0
  18. package/dist/Column-zAYqqGgI.js +74 -0
  19. package/dist/Comment-BZTVtxyP.js +104 -0
  20. package/dist/Compare-DMDVEK_Q.js +63 -0
  21. package/dist/Compare-Dy_YDKN2.js +43 -0
  22. package/dist/Copy-KA_-9J5g.js +49 -0
  23. package/dist/Custom-BpQzSpoK.js +57 -0
  24. package/dist/{DataExport-DAk1d4uG.js → DataExport-CU9MMI6C.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js → DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js} +42 -37
  26. package/dist/{DataImport-BLOSIbQ2.js → DataImport-Dzq9P4hO.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js → DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js} +64 -60
  28. package/dist/{Date-D1KihBir.js → Date-BD5syhZL.js} +1 -1
  29. package/dist/Date-yqT5zILQ.js +43 -0
  30. package/dist/DateRange-CUQsaLxD.js +63 -0
  31. package/dist/DateTime-DcerQByM.js +44 -0
  32. package/dist/{DateTime-Dwg6aUf3.js → DateTime-hLc--zka.js} +1 -1
  33. package/dist/{DateTimeRange-Cir1-Js8.js → DateTimeRange-CSRaF4s1.js} +19 -13
  34. package/dist/Daterange-DY2i3jwP.js +63 -0
  35. package/dist/{Decimal-tv9vqaXk.js → Decimal-DY34o2Nh.js} +1 -1
  36. package/dist/Delete-CXnvlNw9.js +62 -0
  37. package/dist/{Detail-B2rtvufA.js → Detail-BYlDGKVP.js} +22 -17
  38. package/dist/Dictionary-DtXqTf_k.js +59 -0
  39. package/dist/Email-ofMPw09E.js +54 -0
  40. package/dist/{File-C63qevce.js → File-czipSVR0.js} +33 -28
  41. package/dist/Image-BwJO-IEo.js +9 -0
  42. package/dist/{Index-Cc_CDbUJ.js → Index-BSZ_tPMy.js} +1 -1
  43. package/dist/Index-Bwy9Q7qy.js +4 -0
  44. package/dist/{Index-Cev7Nudv.js → Index-CK25oTiA.js} +1 -1
  45. package/dist/Index-Ch5_Jqsf.js +4 -0
  46. package/dist/{Index-BD6O3A9N.js → Index-DIUPLGQ4.js} +25 -20
  47. package/dist/Index-DnNVMYOZ.js +4 -0
  48. package/dist/Index-j9BffBys.js +178 -0
  49. package/dist/{Index-B6Ec8rbl.js → Index-qOyfJhdG.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js → Index.vue_vue_type_script_setup_true_lang-Bp4JjtSz.js} +21 -16
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js → Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js} +21 -16
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js → Index.vue_vue_type_style_index_0_lang-CTTyswoD.js} +40 -35
  53. package/dist/{Install-CTAGNKPW.js → Install-qFVqjd7y.js} +29 -24
  54. package/dist/Int-BWcRpPzt.js +44 -0
  55. package/dist/Int-BYyavcrM.js +46 -0
  56. package/dist/List-BejoBArm.js +79 -0
  57. package/dist/Maintaince-Dlh2ICnO.js +20 -0
  58. package/dist/{Markdown-BJB6rQY8.js → Markdown-DymmFy2X.js} +1 -1
  59. package/dist/{Month-ui1XorBW.js → Month-C5_ANmVr.js} +1 -1
  60. package/dist/Month-Cf8e0cin.js +43 -0
  61. package/dist/Month-DaYaF2WK.js +44 -0
  62. package/dist/{Normal-Cf7kP6RU.js → Normal-NYkjZ2aA.js} +49 -45
  63. package/dist/Paging-DoQ_cXwj.js +99 -0
  64. package/dist/{PagingHeader-BkFBl-r_.js → PagingHeader-BhwoSfFl.js} +31 -25
  65. package/dist/{PagingRow-eXCadgdO.js → PagingRow-BF6pUhoJ.js} +28 -22
  66. package/dist/QueryApi-CPQ67lb4.js +20 -0
  67. package/dist/{Racebar-ClXzi9hV.js → Racebar-BNPXg9aN.js} +42 -37
  68. package/dist/{Radio-llyoK7PI.js → Radio-wHwEjg6V.js} +1 -1
  69. package/dist/{Register-BaHhaZMu.js → Register-B4Bc8s-2.js} +70 -66
  70. package/dist/RichText-Cj5QP79L.js +47 -0
  71. package/dist/{SearchFooter-BgJxQrMo.js → SearchFooter-zNYx9YkN.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js → SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js} +1 -1
  73. package/dist/{SearchForm-CroUQ_3K.js → SearchForm-CJ3ru63a.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js → SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js} +37 -33
  75. package/dist/{Select-BtNeUq9h.js → Select-BDaDhqW7.js} +1 -1
  76. package/dist/Select-DFLY8nGY.js +86 -0
  77. package/dist/{Select-BYw63gZy.js → Select-WXibWkE0.js} +35 -30
  78. package/dist/{Single-CCVi3Pcj.js → Single-CmQgQl_u.js} +106 -102
  79. package/dist/{Statistic-g3nQvsbW.js → Statistic-BuU_GxqZ.js} +34 -30
  80. package/dist/{Stock-C6Fxo31l.js → Stock-B7NgfM19.js} +1 -1
  81. package/dist/{Stock-CNqLeSld.js → Stock-CDJ-AVw-.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js → Stock.vue_vue_type_style_index_0_lang-pZYnIJLp.js} +30 -25
  83. package/dist/{Switch-NMkH-rhl.js → Switch-DHf-0HZD.js} +1 -1
  84. package/dist/{Table-DpA4dO4P.js → Table-7P4KXMsy.js} +66 -61
  85. package/dist/{Table-Cdd_tPoL.js → Table-CN-KYO1R.js} +69 -66
  86. package/dist/Text-C05EoDxO.js +59 -0
  87. package/dist/{Text-DanSgaL9.js → Text-Da3ROjFC.js} +18 -12
  88. package/dist/Text-DqapEwUL.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-DKX9_aI4.js +59 -0
  90. package/dist/TextLink-CQ_46bry.js +65 -0
  91. package/dist/{Textarea-HhP_VFJV.js → Textarea-B91EwIdj.js} +1 -1
  92. package/dist/Time-DxyveGcA.js +43 -0
  93. package/dist/Timeline-C1xOEcU4.js +59 -0
  94. package/dist/Tree-BK6p6Ake.js +122 -0
  95. package/dist/{Tree-Ck_7r3nf.js → Tree-DxJKaqc6.js} +101 -97
  96. package/dist/TreeNode-C84IoqkK.js +42 -0
  97. package/dist/{Update-DrmLFoty.js → Update-D5cXmHyf.js} +20 -15
  98. package/dist/{UpdateChild-CGCn-Eh4.js → UpdateChild-DvrF1nBA.js} +23 -17
  99. package/dist/Upload-CK-ALAKV.js +72 -0
  100. package/dist/Upload-CRpCHz3m.js +150 -0
  101. package/dist/UploadApi-B-7WPVHD.js +20 -0
  102. package/dist/Year-BOL9ynRU.js +47 -0
  103. package/dist/{Year-RGAEzf_V.js → Year-CwaPwkLN.js} +1 -1
  104. package/dist/assets/@intlify-BISCQg1h.js +2189 -0
  105. package/dist/assets/@vue-aVYGocXp.js +93 -0
  106. package/dist/assets/clone-BZn0cTAu.js +134 -0
  107. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  108. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  109. package/dist/assets/moment-h96o7c8I.js +2578 -0
  110. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  111. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  112. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  113. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  114. package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
  115. package/dist/main-CnPQ_RYM.js +8948 -0
  116. package/dist/main.js +130 -130
  117. package/dist/style.css +1 -1
  118. package/package.json +1 -1
  119. package/dist/Article-D3N6eVpH.js +0 -195
  120. package/dist/Autocomplete-C1Q-qo5y.js +0 -49
  121. package/dist/Autocomplete-C_t_3Onz.js +0 -48
  122. package/dist/Callback-BcjLHYz6.js +0 -20
  123. package/dist/Cascader-BMs1Kw-s.js +0 -81
  124. package/dist/Cascader-BoZLMQjq.js +0 -41
  125. package/dist/Checkbox-DeuCkQ_E.js +0 -70
  126. package/dist/Code-CmB3ZGnM.js +0 -54
  127. package/dist/Code-Q9ETcIfA.js +0 -36
  128. package/dist/Code-hiW76EUm.js +0 -4
  129. package/dist/Code.vue_vue_type_style_index_0_lang-DJO46RBx.js +0 -59
  130. package/dist/Column-K0p0pVuf.js +0 -69
  131. package/dist/Comment-B_jDWUXE.js +0 -98
  132. package/dist/Compare-CziDSVLD.js +0 -37
  133. package/dist/Compare-DFDzyQIR.js +0 -57
  134. package/dist/Copy-gHXEFE58.js +0 -43
  135. package/dist/Custom-DS1OrDHT.js +0 -51
  136. package/dist/Date-BOrgXdKV.js +0 -37
  137. package/dist/DateRange-Clg_We_d.js +0 -57
  138. package/dist/DateTime-Ba-L9NIq.js +0 -38
  139. package/dist/Daterange-Gaj6hNOK.js +0 -57
  140. package/dist/Delete-HzVURBlh.js +0 -57
  141. package/dist/Dictionary-DKnp-UJn.js +0 -55
  142. package/dist/Email-CpOxaSSw.js +0 -48
  143. package/dist/Image-DRIunv3_.js +0 -9
  144. package/dist/Index-DSKuNKCT.js +0 -4
  145. package/dist/Index-QIBRYf1L.js +0 -4
  146. package/dist/Index-ZOfKMgat.js +0 -4
  147. package/dist/Index-bxLda8lZ.js +0 -174
  148. package/dist/Int-DmNjhEfK.js +0 -38
  149. package/dist/Int-nUzbSSOv.js +0 -41
  150. package/dist/List-gNI3y_wH.js +0 -74
  151. package/dist/Maintaince-pTASKuMA.js +0 -14
  152. package/dist/Month-CHfaIo8p.js +0 -38
  153. package/dist/Month-DgztqRaq.js +0 -37
  154. package/dist/Paging-CBgVct8q.js +0 -95
  155. package/dist/QueryApi-Wf86Sm6m.js +0 -13
  156. package/dist/RichText-Cc_jptgY.js +0 -41
  157. package/dist/Select-wxKjwxJj.js +0 -80
  158. package/dist/Text-DgZjeg-u.js +0 -4
  159. package/dist/Text-GuLK7BYX.js +0 -53
  160. package/dist/Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js +0 -53
  161. package/dist/TextLink-B_Ur1pg0.js +0 -59
  162. package/dist/Time-CmyrAm3i.js +0 -37
  163. package/dist/Timeline-B85T2wBn.js +0 -53
  164. package/dist/Tree-OqvNLgYj.js +0 -118
  165. package/dist/TreeNode-Ba2f55wK.js +0 -37
  166. package/dist/Upload-D9HeSZCg.js +0 -68
  167. package/dist/Upload-DXADyB6r.js +0 -147
  168. package/dist/UploadApi-DAT-xdsM.js +0 -13
  169. package/dist/Year-Dx_qNPrz.js +0 -41
  170. package/dist/assets/halo-fe-idvmXC0t.js +0 -15923
  171. package/dist/main-COiaaxGk.js +0 -3542
@@ -1,8 +1,13 @@
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 { x as O, a3 as K, g as N, Y as S } from "./assets/halo-fe-idvmXC0t.js";
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-CnPQ_RYM.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import "./assets/clone-BZn0cTAu.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import "./assets/liquidjs-C-LVcoaY.js";
3
8
  const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), z = [
4
9
  j
5
- ], Q = /* @__PURE__ */ F({
10
+ ], ee = /* @__PURE__ */ F({
6
11
  __name: "Stock",
7
12
  props: {
8
13
  searchData: {},
@@ -15,21 +20,21 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
15
20
  set: {}
16
21
  },
17
22
  setup(k) {
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) => {
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) => {
19
24
  let o = N.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
20
25
  for (let i = 0; i < o.length; i++) {
21
26
  let a = o[i];
22
27
  e.push(a[n.value.time]);
23
- let d = parseFloat(a[n.value.open]), s = parseFloat(a[n.value.close]);
24
- l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
28
+ let c = parseFloat(a[n.value.open]), s = parseFloat(a[n.value.close]);
29
+ l.push([c, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
25
30
  let C = {
26
31
  value: parseFloat(a[n.value.volumn]),
27
- itemStyle: { color: s > d ? x : p }
32
+ itemStyle: { color: s > c ? y : x }
28
33
  };
29
34
  r.push(C);
30
35
  }
31
36
  return { times: e, values: l, volumes: r };
32
- }, h = (t, o) => {
37
+ }, m = (t, o) => {
33
38
  let e = [];
34
39
  for (let l = 0, r = t.values.length; l < r; l++) {
35
40
  if (l < o) {
@@ -147,10 +152,10 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
147
152
  //网格索引,表示使用第2个网格的配置
148
153
  data: t.values,
149
154
  itemStyle: {
150
- color: x,
151
- color0: p,
152
- borderColor: x,
153
- borderColor0: p
155
+ color: y,
156
+ color0: x,
157
+ borderColor: y,
158
+ borderColor0: x
154
159
  },
155
160
  markPoint: {
156
161
  //图标标注
@@ -184,7 +189,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
184
189
  {
185
190
  name: "MA5",
186
191
  type: "line",
187
- data: h(t, 5),
192
+ data: m(t, 5),
188
193
  smooth: !0,
189
194
  lineStyle: { width: 1 },
190
195
  itemStyle: { opacity: 0 }
@@ -193,7 +198,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
193
198
  {
194
199
  name: "MA10",
195
200
  type: "line",
196
- data: h(t, 10),
201
+ data: m(t, 10),
197
202
  smooth: !0,
198
203
  lineStyle: { width: 1 },
199
204
  itemStyle: { opacity: 0 }
@@ -202,7 +207,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
202
207
  {
203
208
  name: "MA20",
204
209
  type: "line",
205
- data: h(t, 20),
210
+ data: m(t, 20),
206
211
  smooth: !0,
207
212
  lineStyle: { width: 1 },
208
213
  itemStyle: { opacity: 0 }
@@ -211,7 +216,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
211
216
  {
212
217
  name: "MA30",
213
218
  type: "line",
214
- data: h(t, 30),
219
+ data: m(t, 30),
215
220
  smooth: !0,
216
221
  lineStyle: { width: 1 },
217
222
  itemStyle: { opacity: 0 }
@@ -229,7 +234,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
229
234
  smooth: !0,
230
235
  data: [],
231
236
  areaStyle: {
232
- color: new c.graphic.LinearGradient(0, 0, 0, 1, [{
237
+ color: new d.graphic.LinearGradient(0, 0, 0, 1, [{
233
238
  offset: 0,
234
239
  color: l
235
240
  }, {
@@ -238,7 +243,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
238
243
  }])
239
244
  }
240
245
  };
241
- S.theme == "dark" && (r.areaStyle.color = new c.graphic.LinearGradient(
246
+ S.theme == "dark" && (r.areaStyle.color = new d.graphic.LinearGradient(
242
247
  0,
243
248
  0,
244
249
  0,
@@ -252,14 +257,14 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
252
257
  r.data.push(...i), e.series.push(r);
253
258
  }
254
259
  return o && f.value[o.table].forEach((r) => {
255
- let i = r[o.time], a = t.times.indexOf(i), d = t.values[a], s = {
260
+ let i = r[o.time], a = t.times.indexOf(i), c = t.values[a], s = {
256
261
  coord: [i],
257
262
  itemStyle: { color: null },
258
263
  label: { position: null, offset: null },
259
264
  value: null,
260
265
  symbolRotate: null
261
266
  };
262
- r[o.direction] == 1 ? (s.coord.push(d[2] * 0.99), s.value = "买", s.itemStyle.color = "#00c805", s.symbolRotate = 180, s.label.position = "insideBottom", s.label.offset = [0, -5]) : (s.coord.push(d[3] * 1.01), s.value = "卖", s.itemStyle.color = "#ff5000"), e.series[0].markPoint.data.push(s);
267
+ r[o.direction] == 1 ? (s.coord.push(c[2] * 0.99), s.value = "买", s.itemStyle.color = "#00c805", s.symbolRotate = 180, s.label.position = "insideBottom", s.label.offset = [0, -5]) : (s.coord.push(c[3] * 1.01), s.value = "卖", s.itemStyle.color = "#ff5000"), e.series[0].markPoint.data.push(s);
263
268
  }), e;
264
269
  }, g = (t) => {
265
270
  let o = 0;
@@ -269,7 +274,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
269
274
  }), o / t.length * 100;
270
275
  }, I = (t) => {
271
276
  let o = M(t);
272
- y || (y = c.init(w.value)), y.setOption(o);
277
+ p || (p = d.init(w.value)), p.setOption(o);
273
278
  let e = t.values, l = e.reverse();
274
279
  u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
275
280
  }, Z = () => {
@@ -277,20 +282,20 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
277
282
  t.length > 0 && I(_(t));
278
283
  };
279
284
  return B(async () => {
280
- c = await O.getECharts(), Z();
281
- }), (t, o) => (E(), G(m(K), null, {
285
+ d = await O.getECharts(), Z();
286
+ }), (t, o) => (E(), G(h(K), null, {
282
287
  default: P(() => [
283
288
  A("div", {
284
289
  ref_key: "chartRef",
285
290
  ref: w,
286
291
  class: "chart"
287
292
  }, z, 512),
288
- V(" 30日开盘振幅:" + b(m(u).month) + "% 7日开盘振幅:" + b(m(u).week) + "% 历史开盘振幅:" + b(m(u).history) + "% ", 1)
293
+ V(" 30日开盘振幅:" + b(h(u).month) + "% 7日开盘振幅:" + b(h(u).week) + "% 历史开盘振幅:" + b(h(u).history) + "% ", 1)
289
294
  ]),
290
295
  _: 1
291
296
  }));
292
297
  }
293
298
  });
294
299
  export {
295
- Q as _
300
+ ee as _
296
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-DKnp-UJn.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-DtXqTf_k.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),
@@ -1,17 +1,22 @@
1
- import { defineComponent as We, toRefs as Be, ref as u, onMounted as Te, nextTick as M, computed as le, resolveComponent as k, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as oe, toDisplayString as R, Fragment as He, renderList as Ne, createBlock as S, createCommentVNode as z, createElementVNode as H, resolveDynamicComponent as Ue } from "vue";
2
- import { N as $, P as j, aK as Ee, i as Ke, K as Le, L as Pe, f as Me, e as je } from "./assets/halo-fe-idvmXC0t.js";
3
- import { p as q, c as qe, h as Ae, d as Fe, i as Oe, _ as Ie } from "./main-COiaaxGk.js";
4
- import { _ as Ge } from "./SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js";
5
- import { _ as Je } from "./DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js";
6
- import { _ as Qe } from "./DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js";
7
- import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js";
1
+ import { defineComponent as We, toRefs as He, ref as i, onMounted as Be, nextTick as K, computed as le, resolveComponent as k, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as oe, toDisplayString as R, Fragment as Te, renderList as Ue, createBlock as S, createCommentVNode as z, createElementVNode as T, resolveDynamicComponent as Ne } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import { K as j, D as $, d as Ee, L as Le, t as q, f as Me, w as Pe, N as Ke, P as je, U as qe, a as Ae, h as Fe, m as Oe, b as Ie } from "./main-CnPQ_RYM.js";
4
+ import "./assets/underscore.string-DVXD2SZo.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/moment-h96o7c8I.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ import { _ as Ge } from "./SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js";
10
+ import { _ as Je } from "./DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js";
11
+ import { _ as Qe } from "./DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js";
12
+ import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-CTTyswoD.js";
8
13
  import "vue-router";
9
14
  import "./assets/intro.js-DxWjEdp_.js";
10
- import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js";
15
+ import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js";
11
16
  const Ze = {
12
17
  key: 0,
13
18
  class: "required"
14
- }, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], vt = /* @__PURE__ */ We({
19
+ }, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], wt = /* @__PURE__ */ We({
15
20
  __name: "Table",
16
21
  props: {
17
22
  searchData: {},
@@ -24,7 +29,7 @@ const Ze = {
24
29
  },
25
30
  emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
26
31
  setup(ne, { expose: re, emit: se }) {
27
- let b = se, ue = ne, { module: ie, schema: N, table: r, layout: i, next: p, set: _, searchData: A } = Be(ue), U = u([]), V = u(), E = u(), K = u(), F = u(), O = u(), W = u(), m = u(!1), g = u(!1), I = u(), G = u("120px"), J = u(), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), B = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = (t) => {
32
+ let b = se, ie = ne, { module: ue, schema: U, table: r, layout: u, next: p, set: _, searchData: A } = He(ie), N = i([]), V = i(), E = i(), L = i(), F = i(), O = i(), W = i(), m = i(!1), g = i(!1), I = i(), G = i("120px"), J = i(), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = (t) => {
28
33
  x("insert", null, t);
29
34
  }, pe = (t, a) => {
30
35
  x("detail", t, a);
@@ -36,8 +41,8 @@ const Ze = {
36
41
  x("delete", t, a);
37
42
  }, Q = (t) => {
38
43
  let a = t.map((o) => o[r.value.key.name]);
39
- Pe.post(p.value.delete.route, a).then((o) => {
40
- Me.success(o.message), L();
44
+ Fe.post(p.value.delete.route, a).then((o) => {
45
+ Oe.success(o.message), M();
41
46
  });
42
47
  }, x = (t, a, o) => {
43
48
  let s = ve(t, a);
@@ -52,16 +57,16 @@ const Ze = {
52
57
  }, fe = () => {
53
58
  n.value.visible = !1, b("close");
54
59
  }, he = (t) => {
55
- n.value.title = je(t.module.type, t.module.name), n.value.env = t.module.env;
56
- }, L = () => {
60
+ n.value.title = Ie(t.module.type, t.module.name), n.value.env = t.module.env;
61
+ }, M = () => {
57
62
  n.value.visible = !1;
58
- let t = U.value;
63
+ let t = N.value;
59
64
  b("succeed", (a) => {
60
65
  let o = a.data.set[r.value.name];
61
66
  if (!o.length)
62
67
  return;
63
68
  let s = r.value.key;
64
- M(() => {
69
+ K(() => {
65
70
  let c = n.value.row;
66
71
  if (c) {
67
72
  let d = o.find((C) => C[s.name] == c[s.name]);
@@ -87,39 +92,39 @@ const Ze = {
87
92
  }, xe = (t) => {
88
93
  G.value = t;
89
94
  }, Ce = (t, a) => {
90
- U.value = t;
95
+ N.value = t;
91
96
  }, ke = (t, a, o) => {
92
97
  let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
93
98
  o._headerTooltip = c > d;
94
99
  }, Re = async (t, a, o, s) => {
95
- await q.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
100
+ await j.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
96
101
  }, Y = () => {
97
102
  var s, c, d;
98
- let t = $.getHeight(V.value), a = $.getHeight([(s = K.value) == null ? void 0 : s.$el, (c = F.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
103
+ let t = $.getHeight(V.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = F.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
99
104
  I.value = `${o}px`;
100
105
  }, Z = () => {
101
- let t = B.value;
106
+ let t = H.value;
102
107
  t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
103
108
  }, Se = (t, a) => {
104
109
  if (!W.value || !W.value.keyboard)
105
110
  return !1;
106
111
  W.value.keyboard(t, a);
107
112
  }, ze = (t) => {
108
- K.value.resize(t), B.value = $.getWidth(V.value), Z(), M(() => {
113
+ L.value.resize(t), H.value = $.getWidth(V.value), Z(), K(() => {
109
114
  Y();
110
115
  });
111
116
  };
112
- Te(async () => {
113
- J.value = await q.getFieldConfigs(), B.value = $.getWidth(V.value), Z(), M(() => {
117
+ Be(async () => {
118
+ J.value = await j.getFieldConfigs(), H.value = $.getWidth(V.value), Z(), K(() => {
114
119
  Y();
115
120
  });
116
121
  });
117
122
  let $e = le(() => {
118
- let a = Object.keys(i.value.orderBys)[0], o = i.value.orderBys[a];
123
+ let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
119
124
  return { prop: a, order: o ? "ascending" : "descending" };
120
125
  }), Ve = le(() => {
121
126
  let t = `/${r.value.name}/paging-row`;
122
- return qe.getComponent(t, "partial", "paging-row");
127
+ return Ee.getComponent(t, "partial", "paging-row");
123
128
  });
124
129
  return re({ keyboard: Se, resize: ze }), (t, a) => {
125
130
  const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), C = k("el-drawer");
@@ -130,22 +135,22 @@ const Ze = {
130
135
  }, [
131
136
  v(Ge, {
132
137
  ref_key: "searchRef",
133
- ref: K,
134
- schema: e(N),
138
+ ref: L,
139
+ schema: e(U),
135
140
  table: e(r),
136
- layout: e(i),
141
+ layout: e(u),
137
142
  "search-data": e(A),
138
143
  onSubmit: e(X)
139
144
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
140
145
  v(Ye, {
141
146
  ref_key: "headerRef",
142
147
  ref: F,
143
- schema: e(N),
148
+ schema: e(U),
144
149
  table: e(r),
145
- layout: e(i),
150
+ layout: e(u),
146
151
  set: e(_),
147
152
  next: e(p),
148
- selection: e(U),
153
+ selection: e(N),
149
154
  "search-data": e(A),
150
155
  onAdd: e(de),
151
156
  onRemove: e(Q),
@@ -156,7 +161,7 @@ const Ze = {
156
161
  v(c, {
157
162
  ref_key: "tableRef",
158
163
  ref: E,
159
- class: De([{ "hide-nav": e(Ae).hideNav }, "table-default table-paging"]),
164
+ class: De([{ "hide-nav": e(Le).hideNav }, "table-default table-paging"]),
160
165
  size: "small",
161
166
  border: "",
162
167
  "highlight-current-row": "",
@@ -168,25 +173,25 @@ const Ze = {
168
173
  onHeaderDragend: e(Re)
169
174
  }, {
170
175
  empty: h(() => [
171
- oe(R(e(j)("common.no_data")), 1)
176
+ oe(R(e(q)("common.no_data")), 1)
172
177
  ]),
173
178
  default: h(() => [
174
179
  v(o, {
175
180
  type: "selection",
176
181
  width: "30"
177
182
  }),
178
- (f(!0), D(He, null, Ne(e(r).show, (l, ot) => {
183
+ (f(!0), D(Te, null, Ue(e(r).show, (l, ot) => {
179
184
  var ee, te, ae;
180
185
  return f(), S(o, {
181
186
  sortable: e(r) ? "custom" : !1,
182
187
  prop: l.name,
183
188
  "sort-orders": ["descending", "ascending"],
184
- fixed: e(i).fixed.indexOf(l.name) > -1,
189
+ fixed: e(u).fixed.indexOf(l.name) > -1,
185
190
  "min-width": ((ae = (te = (ee = e(J)) == null ? void 0 : ee[e(p).paging.route]) == null ? void 0 : te[e(r).name]) == null ? void 0 : ae[l.name]) ?? l.control.width,
186
191
  label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
187
192
  key: `${e(r).name}.${l.name}`
188
193
  }, {
189
- header: h((T) => [
194
+ header: h((B) => [
190
195
  l.control.required && l.control.editable ? (f(), D("i", Ze)) : z("", !0),
191
196
  v(s, {
192
197
  placement: "top",
@@ -194,37 +199,37 @@ const Ze = {
194
199
  disabled: !l._headerTooltip
195
200
  }, {
196
201
  default: h(() => [
197
- H("span", {
198
- onMouseenter: (P) => e(ke)(P, T.column, l)
202
+ T("span", {
203
+ onMouseenter: (P) => e(ke)(P, B.column, l)
199
204
  }, [
200
- H("span", null, R(e(Ee)(e(r).name, l.name)), 1)
205
+ T("span", null, R(e(Me)(e(r).name, l.name)), 1)
201
206
  ], 40, et)
202
207
  ]),
203
208
  _: 2
204
209
  }, 1032, ["content", "disabled"])
205
210
  ]),
206
- default: h((T) => [
211
+ default: h((B) => [
207
212
  v(Xe, {
208
- schema: e(N),
213
+ schema: e(U),
209
214
  table: e(r),
210
215
  field: l,
211
216
  set: e(_),
212
- row: T.row,
213
- config: e(Fe).getConfig(l, e(ie).type, e(i).type),
214
- onChange: (P) => e(_e)(P, e(r), l, e(_), T.row)
217
+ row: B.row,
218
+ config: e(Pe).getConfig(l, e(ue).type, e(u).type),
219
+ onChange: (P) => e(_e)(P, e(r), l, e(_), B.row)
215
220
  }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
216
221
  ]),
217
222
  _: 2
218
223
  }, 1032, ["sortable", "prop", "fixed", "min-width", "label"]);
219
224
  }), 128)),
220
225
  v(o, {
221
- label: e(j)("common.operation"),
226
+ label: e(q)("common.operation"),
222
227
  fixed: "right",
223
228
  "show-overflow-tooltip": "",
224
229
  "min-width": e(G)
225
230
  }, {
226
231
  default: h((l) => [
227
- (f(), S(Ue(e(Ve)), {
232
+ (f(), S(Ne(e(Ve)), {
228
233
  table: e(r),
229
234
  next: e(p),
230
235
  set: e(_),
@@ -242,7 +247,7 @@ const Ze = {
242
247
  ]),
243
248
  _: 1
244
249
  }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
245
- v(e(Oe), {
250
+ v(e(Ke), {
246
251
  ref_key: "footerRef",
247
252
  ref: O,
248
253
  class: "list-toolbar"
@@ -251,14 +256,14 @@ const Ze = {
251
256
  v(d, {
252
257
  background: "",
253
258
  layout: e(y).layout,
254
- "current-page": e(i).page,
259
+ "current-page": e(u).page,
255
260
  "pager-count": e(y).count,
256
- total: e(i).count,
261
+ total: e(u).count,
257
262
  "page-sizes": e(y).sizes,
258
263
  onCurrentChange: e(ye),
259
264
  onSizeChange: e(be),
260
- "page-size": e(i).pageSize,
261
- "onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).pageSize = l)
265
+ "page-size": e(u).pageSize,
266
+ "onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).pageSize = l)
262
267
  }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
263
268
  ]),
264
269
  _: 1
@@ -267,14 +272,14 @@ const Ze = {
267
272
  key: 0,
268
273
  next: e(p),
269
274
  onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
270
- onSucceed: e(L),
275
+ onSucceed: e(M),
271
276
  modelValue: e(m),
272
277
  "onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
273
278
  }, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
274
279
  e(p).export ? (f(), S(Qe, {
275
280
  key: 1,
276
281
  route: e(p).export.route,
277
- "page-count": e(Ke).pageCount(e(i).count, e(i).pageSize),
282
+ "page-count": e(je).pageCount(e(u).count, e(u).pageSize),
278
283
  onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
279
284
  modelValue: e(g),
280
285
  "onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
@@ -283,27 +288,27 @@ const Ze = {
283
288
  key: 2,
284
289
  "destroy-on-close": "",
285
290
  "append-to-body": e(n).appendToBody,
286
- size: e(q).getDrawerWidth(e(B)),
291
+ size: e(j).getDrawerWidth(e(H)),
287
292
  modelValue: e(n).visible,
288
293
  "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
289
294
  }, {
290
295
  header: h(() => [
291
- H("div", tt, [
296
+ T("div", tt, [
292
297
  oe(R(e(n).title) + " ", 1),
293
298
  e(n).env ? (f(), D("span", at, "[" + R(e(n).env) + "]", 1)) : z("", !0),
294
- H("a", {
299
+ T("a", {
295
300
  class: "drawer-copy",
296
- href: e(Le).getToUrl(e(n).url)
297
- }, R(e(j)("common.link")), 9, lt)
301
+ href: e(qe).getToUrl(e(n).url)
302
+ }, R(e(q)("common.link")), 9, lt)
298
303
  ])
299
304
  ]),
300
305
  default: h(() => [
301
- v(e(Ie), {
306
+ v(e(Ae), {
302
307
  ref_key: "pageRef",
303
308
  ref: W,
304
309
  url: e(n).url,
305
310
  onLoaded: e(he),
306
- onSucceed: e(L),
311
+ onSucceed: e(M),
307
312
  onClose: e(fe)
308
313
  }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
309
314
  ]),
@@ -314,5 +319,5 @@ const Ze = {
314
319
  }
315
320
  });
316
321
  export {
317
- vt as default
322
+ wt as default
318
323
  };