halo-pc 1.0.36 → 1.0.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/dist/{Article-CSL7LnKj.js → Article-H_clf90b.js} +56 -59
  2. package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-BLi4TNA7.js} +3 -4
  3. package/dist/Autocomplete-BF9x0F4f.js +49 -0
  4. package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-CcIzTPSr.js} +11 -12
  5. package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-DMm6oI1g.js} +1 -1
  6. package/dist/{CSharp-CMmXPS2i.js → CSharp-CZOchOE-.js} +1 -1
  7. package/dist/Calender-BoQV7bhA.js +10 -0
  8. package/dist/Callback-79Bw4RwY.js +20 -0
  9. package/dist/Cascader-D1Ou5OSg.js +41 -0
  10. package/dist/{Cascader-CeQ0jUxU.js → Cascader-DMhl98vw.js} +25 -26
  11. package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-C6t6S7ii.js} +1 -1
  12. package/dist/{Checkbox--pNX7Slb.js → Checkbox-DtrXMDBR.js} +13 -14
  13. package/dist/Code-B8ISTTYK.js +54 -0
  14. package/dist/Code-BMlBvnqa.js +4 -0
  15. package/dist/{Code-C6A3DOQp.js → Code-DDacfgvl.js} +1 -1
  16. package/dist/Code-DIGn8Raz.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +57 -0
  18. package/dist/Column-DjA11efs.js +69 -0
  19. package/dist/{Comment-T5XWLthu.js → Comment-Ixu0gPk3.js} +29 -35
  20. package/dist/{Compare-KV2Q7Tb7.js → Compare-C1uq4lgK.js} +7 -8
  21. package/dist/{Compare-jjtb6UdZ.js → Compare-NN40QJWm.js} +9 -10
  22. package/dist/{Copy-Ck1HeTdy.js → Copy-BcfSvyWG.js} +11 -12
  23. package/dist/Custom-Dn9_vPuD.js +58 -0
  24. package/dist/{DataExport-BY1fIwSd.js → DataExport-DNGgWqsx.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js} +24 -25
  26. package/dist/{DataImport--xUxoWAq.js → DataImport-CI9eM5T1.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js} +39 -40
  28. package/dist/{Date-C3H04U5q.js → Date-CGyzi8yX.js} +1 -1
  29. package/dist/{Date-DRk7BsnD.js → Date-CZGbZKjB.js} +8 -9
  30. package/dist/{DateRange-CICZ9gVp.js → DateRange-MbbkmZ_Y.js} +9 -10
  31. package/dist/{DateTime-DXHkaHtE.js → DateTime-DHrHmRLL.js} +1 -1
  32. package/dist/{DateTime-CjTCtAm4.js → DateTime-DqUOXGWH.js} +8 -9
  33. package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-DgXQkZLx.js} +11 -12
  34. package/dist/{Daterange-cmpjJVxl.js → Daterange-DLHJuRur.js} +8 -9
  35. package/dist/{Decimal-BzR8o8bv.js → Decimal-BUJuuvfr.js} +1 -1
  36. package/dist/{Delete-B2VzOnk8.js → Delete-BGMk0orl.js} +19 -20
  37. package/dist/{Detail-ayakHymC.js → Detail-D4KzWdHQ.js} +7 -8
  38. package/dist/Dictionary-Esd3ERAq.js +55 -0
  39. package/dist/{Email-BbipkOFP.js → Email-C9K09hwC.js} +9 -10
  40. package/dist/{File-B131KRit.js → File-ai1eYO7v.js} +49 -50
  41. package/dist/Image-CfY4G1Yn.js +9 -0
  42. package/dist/{Index-BnudlpyF.js → Index-B5o7uf36.js} +15 -16
  43. package/dist/Index-CH3nwnPZ.js +4 -0
  44. package/dist/Index-CTjDkp7e.js +4 -0
  45. package/dist/Index-DSZ8wa7U.js +4 -0
  46. package/dist/Index-DVdiF3gr.js +4 -0
  47. package/dist/{Index-Bps1k5-m.js → Index-DYHrSEZ5.js} +1 -1
  48. package/dist/Index-DsZPtDYE.js +173 -0
  49. package/dist/{Index-B20QLMmF.js → Index-S1btGSGD.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js} +8 -9
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js} +19 -27
  52. package/dist/{Install-BnCA1XK8.js → Install-D-MgafyF.js} +13 -14
  53. package/dist/{Int-BSA4Srky.js → Int-CnvfCxgn.js} +9 -10
  54. package/dist/{Int-BlwraOyw.js → Int-D3RqVcmN.js} +13 -14
  55. package/dist/List-DA4SO_le.js +71 -0
  56. package/dist/Maintaince-BIgEbjrq.js +14 -0
  57. package/dist/{Markdown-Can2d8HC.js → Markdown-hax8By5O.js} +1 -1
  58. package/dist/Month-5lTUiWin.js +37 -0
  59. package/dist/{Month-ClTpaaAr.js → Month-BDkwv-vc.js} +12 -13
  60. package/dist/{Month-Dyt_wc8r.js → Month-CnVTSnyK.js} +1 -1
  61. package/dist/{Normal-DBRpkCNs.js → Normal-DoE9t7d7.js} +73 -74
  62. package/dist/Paging-5qsCTRWy.js +92 -0
  63. package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-BFtE6jSy.js} +35 -36
  64. package/dist/{PagingRow-CqAYVjxH.js → PagingRow-CSB-kwMz.js} +19 -20
  65. package/dist/{Racebar-BhRmArVA.js → Racebar-Bc-dDRss.js} +26 -32
  66. package/dist/{Radio-DCVAYEgh.js → Radio-CMGOtMnx.js} +1 -1
  67. package/dist/{Register-Dr5HF0B6.js → Register-8wi0uixs.js} +54 -55
  68. package/dist/RichText-BR4Kvx0J.js +41 -0
  69. package/dist/{SearchFooter-D02JAZez.js → SearchFooter-DOC21dmS.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js} +3 -3
  71. package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BMTSPce_.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js} +38 -41
  73. package/dist/{Select-ChwyjjbN.js → Select-DAxdpZlO.js} +8 -9
  74. package/dist/{Select-DK5-x-rC.js → Select-DnFyey0n.js} +23 -24
  75. package/dist/{Select-CaGb3SAi.js → Select-MBD4Simw.js} +1 -1
  76. package/dist/{Single-DIyLnILS.js → Single-D6x6VV_B.js} +85 -88
  77. package/dist/{Statistic-ArzDDFwp.js → Statistic-BS_DA72m.js} +22 -23
  78. package/dist/{Stock-DapT2McI.js → Stock-CbucObTu.js} +1 -1
  79. package/dist/{Stock-CsVIZtQ4.js → Stock-CtmevqBK.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js} +12 -13
  81. package/dist/{Switch-B0VJc80B.js → Switch-BlXAy9qH.js} +1 -1
  82. package/dist/{Table-C5kHBVpV.js → Table-CqsfAMh7.js} +84 -87
  83. package/dist/{Table-Cwe8QuVi.js → Table-Da9gan1Y.js} +78 -79
  84. package/dist/Text-C72NLZMt.js +48 -0
  85. package/dist/Text-CHvsKR9H.js +4 -0
  86. package/dist/{Text-CK1PT6x8.js → Text-CbZlEVTJ.js} +10 -11
  87. package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +53 -0
  88. package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-SAnZ7BfX.js} +10 -11
  89. package/dist/{Textarea-C6Pi4p9b.js → Textarea-DphCUpXp.js} +1 -1
  90. package/dist/{Time-DWG3pwjK.js → Time-DjE8yYdK.js} +10 -11
  91. package/dist/{Timeline-Bqq3rFbX.js → Timeline-D11vjkpZ.js} +13 -19
  92. package/dist/Tree-DK73Ou_F.js +117 -0
  93. package/dist/{Tree-CU2UHknq.js → Tree-kich05vY.js} +99 -102
  94. package/dist/{TreeNode-DD-YfbgL.js → TreeNode-Dx6cZ31Z.js} +10 -11
  95. package/dist/{Update-BdbT4B2n.js → Update-D2Plm_AG.js} +14 -15
  96. package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-BXV7QqaP.js} +20 -21
  97. package/dist/{Upload-CKHSikDI.js → Upload-B87EDynn.js} +44 -45
  98. package/dist/Upload-CHPjMGFZ.js +65 -0
  99. package/dist/{Year-nGY1S5_T.js → Year-BPFmIiPX.js} +1 -1
  100. package/dist/{Year-CnA4ZUPj.js → Year-C93IJgc8.js} +8 -9
  101. package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
  102. package/dist/main-nvsTmKXH.js +16321 -0
  103. package/dist/main.js +137 -136
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/Form.vue.d.ts +2 -1
  106. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  107. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  108. package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
  109. package/esm/coms/drivers/@types/index.d.ts +3 -1
  110. package/esm/coms/drivers/Index.vue.d.ts +26 -29
  111. package/esm/coms/drivers/Kind.vue.d.ts +8 -8
  112. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  113. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  114. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  115. package/esm/coms/lists/Tree.vue.d.ts +2 -1
  116. package/esm/coms/pages/@types/index.d.ts +1 -2
  117. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  118. package/esm/coms/pages/List.vue.d.ts +1 -1
  119. package/esm/coms/pages/Paging.vue.d.ts +2 -1
  120. package/esm/coms/pages/Single.vue.d.ts +2 -1
  121. package/esm/coms/pagings/Article.vue.d.ts +2 -1
  122. package/esm/coms/pagings/Index.vue.d.ts +2 -1
  123. package/esm/coms/pagings/Table.vue.d.ts +2 -1
  124. package/esm/coms/searches/Text.vue.d.ts +5 -7
  125. package/esm/svcs/ModuleSvc.d.ts +40 -0
  126. package/esm/svcs/index.d.ts +3 -3
  127. package/package.json +9 -9
  128. package/dist/Autocomplete-Buw1Hs35.js +0 -50
  129. package/dist/Calender-P8tmSbW2.js +0 -10
  130. package/dist/Callback-SEWVfpG_.js +0 -21
  131. package/dist/Cascader-DWNTommi.js +0 -47
  132. package/dist/Code-CQSTwwc4.js +0 -4
  133. package/dist/Code-CXMdFELH.js +0 -42
  134. package/dist/Code-THGJ7IzI.js +0 -60
  135. package/dist/Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js +0 -63
  136. package/dist/Column-CucHIBYv.js +0 -75
  137. package/dist/Custom-CkyWaXAB.js +0 -61
  138. package/dist/Dictionary-BiSpx7nU.js +0 -61
  139. package/dist/Image-Cb1PzLpD.js +0 -9
  140. package/dist/Index-2vdi0Nq0.js +0 -4
  141. package/dist/Index-BOKSKn0N.js +0 -4
  142. package/dist/Index-CymZGuJo.js +0 -174
  143. package/dist/Index-Cz0Ti6rP.js +0 -4
  144. package/dist/Index-Dhg6Vts6.js +0 -4
  145. package/dist/List-BnT_8B_q.js +0 -74
  146. package/dist/Maintaince-CwL7tseR.js +0 -20
  147. package/dist/Month-CRmTCjQr.js +0 -38
  148. package/dist/Paging-ByJhfHCh.js +0 -95
  149. package/dist/RichText-Dj93TxtW.js +0 -47
  150. package/dist/Text-D2P-_cQT.js +0 -54
  151. package/dist/Text-oKVRjuSR.js +0 -4
  152. package/dist/Text.vue_vue_type_style_index_0_lang-epPB32IU.js +0 -59
  153. package/dist/Tree-DRUGEHR3.js +0 -123
  154. package/dist/Upload-BCGGzOTn.js +0 -71
  155. package/dist/assets/clone-BZn0cTAu.js +0 -134
  156. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  157. package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
  158. package/dist/assets/moment-h96o7c8I.js +0 -2578
  159. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  160. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  161. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  162. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  163. package/dist/main-BLb5AIWJ.js +0 -10249
@@ -1,7 +1,6 @@
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";
3
- import "./assets/moment-h96o7c8I.js";
4
- const J = /* @__PURE__ */ F({
1
+ import { defineComponent as _, 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 { Z as O, s as K, B as N, d as j } from "./main-nvsTmKXH.js";
3
+ const Q = /* @__PURE__ */ _({
5
4
  __name: "Stock",
6
5
  props: {
7
6
  searchData: {},
@@ -14,18 +13,18 @@ const J = /* @__PURE__ */ F({
14
13
  set: {}
15
14
  },
16
15
  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) => {
18
- let o = U.array.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
16
+ let L = k, { module: z, schema: W, table: v, layout: n, next: q, 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 o = j.array.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
19
18
  for (let i = 0; i < o.length; i++) {
20
19
  let a = o[i];
21
20
  e.push(a[n.value.time]);
22
21
  let d = parseFloat(a[n.value.open]), s = parseFloat(a[n.value.close]);
23
22
  l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
24
- let C = {
23
+ let F = {
25
24
  value: parseFloat(a[n.value.volumn]),
26
25
  itemStyle: { color: s > d ? p : x }
27
26
  };
28
- r.push(C);
27
+ r.push(F);
29
28
  }
30
29
  return { times: e, values: l, volumes: r };
31
30
  }, m = (t, o) => {
@@ -41,7 +40,7 @@ const J = /* @__PURE__ */ F({
41
40
  e.push(i / o);
42
41
  }
43
42
  return e;
44
- }, _ = (t) => {
43
+ }, Z = (t) => {
45
44
  let o = n.value.trade, e = {
46
45
  animation: !1,
47
46
  //关闭动画,提升性能
@@ -267,16 +266,16 @@ const J = /* @__PURE__ */ F({
267
266
  o += r;
268
267
  }), o / t.length * 100;
269
268
  }, I = (t) => {
270
- let o = _(t);
269
+ let o = Z(t);
271
270
  y || (y = c.init(w.value)), y.setOption(o);
272
271
  let e = t.values, l = e.reverse();
273
272
  u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
274
- }, Z = () => {
273
+ }, C = () => {
275
274
  let t = h.value[v.value.name];
276
275
  t.length > 0 && I(M(t));
277
276
  };
278
277
  return T(async () => {
279
- c = await K.getECharts(), Z();
278
+ c = await K.getECharts(), C();
280
279
  }), (t, o) => (E(), G(f(N), null, {
281
280
  default: P(() => [
282
281
  A("div", {
@@ -293,5 +292,5 @@ const J = /* @__PURE__ */ F({
293
292
  }
294
293
  });
295
294
  export {
296
- J as _
295
+ Q as _
297
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-BiSpx7nU.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-Esd3ERAq.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,16 +1,15 @@
1
- import { defineComponent as Be, toRefs as Ue, ref as u, onMounted as Te, nextTick as P, computed as ae, resolveComponent as k, openBlock as f, createElementBlock as T, createVNode as v, unref as e, isRef as x, normalizeClass as De, withCtx as h, createTextVNode as le, toDisplayString as S, Fragment as He, renderList as Ee, createBlock as z, createCommentVNode as $, createElementVNode as D, resolveDynamicComponent as Ne } from "vue";
2
- import { U as b, d as Le, G as Me, t as j, f as Ae, g as Pe, v as je, I as qe, J as oe, a as Ie, S as Ke, h as Oe, m as Fe, b as Ge } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import { _ as Je } from "./SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js";
5
- import { _ as Qe } from "./DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js";
6
- import { _ as Xe } from "./DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js";
1
+ import { defineComponent as Be, toRefs as He, ref as u, onMounted as De, nextTick as M, computed as ae, resolveComponent as k, openBlock as f, createElementBlock as H, createVNode as v, unref as e, isRef as x, normalizeClass as Te, withCtx as h, createTextVNode as le, toDisplayString as S, Fragment as Ue, renderList as Ee, createBlock as z, createCommentVNode as $, createElementVNode as D, resolveDynamicComponent as Ae } from "vue";
2
+ import { D as Ne, d as b, c as Le, E as Me, f as K, w as Ke, e as Pe, o as je, F as qe, G as oe, a as Fe, _ as Oe, i as Ge, S as Ie, A as Je } from "./main-nvsTmKXH.js";
3
+ import { _ as Qe } from "./SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js";
4
+ import { _ as Xe } from "./DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js";
5
+ import { _ as Ye } from "./DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js";
7
6
  import "vue-router";
8
7
  import "./assets/intro.js-Cg1adLK7.js";
9
- import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js";
10
- const Ze = {
8
+ import { _ as Ze } from "./SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js";
9
+ const et = {
11
10
  key: 0,
12
11
  class: "required"
13
- }, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], ct = /* @__PURE__ */ Be({
12
+ }, tt = ["onMouseenter"], at = { class: "el-drawer__title" }, lt = { key: 0 }, ot = ["href"], gt = /* @__PURE__ */ Be({
14
13
  __name: "Table",
15
14
  props: {
16
15
  searchData: {},
@@ -23,20 +22,20 @@ const Ze = {
23
22
  },
24
23
  emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
25
24
  setup(ne, { expose: re, emit: se }) {
26
- let w = se, ue = ne, { module: ie, schema: H, table: r, layout: i, next: p, set: C, searchData: q } = Ue(ue), E = u([]), V = u(), N = u(), L = u(), I = u(), K = u(), W = u(), m = u(!1), g = u(!1), O = u(), F = u("120px"), G = 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 = new Ke(), pe = (t) => {
25
+ let w = se, ue = ne, { module: ie, schema: T, table: r, layout: i, next: p, set: C, searchData: P } = He(ue), U = u([]), V = u(), E = u(), A = u(), j = u(), q = u(), F = u(), m = u(!1), c = u(!1), O = u(), G = u("120px"), I = u({}), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), W = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = new Ne(), pe = (t) => {
27
26
  R("insert", null, t);
28
27
  }, me = (t, a) => {
29
28
  R("detail", t, a);
30
- }, ge = (t, a) => {
31
- R("update", t, a);
32
29
  }, ce = (t, a) => {
30
+ R("update", t, a);
31
+ }, ge = (t, a) => {
33
32
  R("copy", t, a);
34
33
  }, ve = (t, a) => {
35
34
  R("delete", t, a);
36
35
  }, J = async (t) => {
37
36
  let a = t.map((o) => o[r.value.key.name]);
38
37
  await Oe.post(p.value.delete.route, a).then((o) => {
39
- Fe.success(o.message), M();
38
+ Ge.success(o.message), N();
40
39
  });
41
40
  }, R = (t, a, o) => {
42
41
  let s = fe(t, a);
@@ -51,24 +50,24 @@ const Ze = {
51
50
  }, he = () => {
52
51
  n.value.visible = !1, w("close");
53
52
  }, ye = (t) => {
54
- n.value.title = Ge(t.module.type, t.module.name), n.value.env = t.module.env;
55
- }, M = () => {
53
+ n.value.title = Ie(t.module.type, t.module.name), n.value.env = t.module.env;
54
+ }, N = () => {
56
55
  n.value.visible = !1;
57
- let t = E.value;
56
+ let t = U.value;
58
57
  w("succeed", async (a) => {
59
58
  let o = a.data.set[r.value.name];
60
59
  if (!o.length)
61
60
  return;
62
- await P();
63
- let s = r.value.key, c = n.value.row;
64
- if (c != null) {
65
- let d = o.find((_) => _[s.name] == c[s.name]);
66
- d && N.value.setCurrentRow(d);
61
+ await M();
62
+ let s = r.value.key, g = n.value.row;
63
+ if (g != null) {
64
+ let d = o.find((_) => _[s.name] == g[s.name]);
65
+ d && E.value.setCurrentRow(d);
67
66
  }
68
67
  if (t.length > 0)
69
68
  for (let d of t) {
70
69
  let _ = o.find((l) => l[s.name] == d[s.name]);
71
- _ != null && N.value.toggleRowSelection(_, !0);
70
+ _ != null && E.value.toggleRowSelection(_, !0);
72
71
  }
73
72
  });
74
73
  }, Q = (t) => {
@@ -80,34 +79,32 @@ const Ze = {
80
79
  }, _e = (t, a) => {
81
80
  let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
82
81
  w("sort", o);
83
- }, xe = (t, a, o, s, c) => {
82
+ }, xe = (t, a, o, s, g) => {
84
83
  }, Ce = (t) => {
85
- F.value = t;
84
+ G.value = t;
86
85
  }, Re = (t, a) => {
87
- E.value = t;
86
+ U.value = t;
88
87
  }, ke = (t, a, o) => {
89
- let s = t.target.children[0], c = b.dom.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
90
- o._headerTooltip = c > d;
88
+ let s = t.target.children[0], g = b.dom.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
89
+ o._headerTooltip = g > d;
91
90
  }, Se = async (t, a, o, s) => {
92
91
  await oe.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
93
92
  }, X = () => {
94
- var s, c, d;
95
- let t = b.dom.getHeight(V.value), a = b.dom.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = I.value) == null ? void 0 : c.$el, (d = K.value) == null ? void 0 : d.$el]), o = t - a;
93
+ var s, g, d;
94
+ let t = b.dom.getHeight(V.value), a = b.dom.getHeight([(s = A.value) == null ? void 0 : s.$el, (g = j.value) == null ? void 0 : g.$el, (d = q.value) == null ? void 0 : d.$el]), o = t - a;
96
95
  O.value = `${o}px`;
97
96
  }, Y = () => {
98
- let t = B.value;
97
+ let t = W.value;
99
98
  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";
100
99
  }, ze = (t, a) => {
101
- if (!W.value || !W.value.keyboard)
102
- return !1;
103
- W.value.keyboard(t, a);
100
+ Je.triggerKeyboardHandler(F.value, t, a);
104
101
  }, $e = (t) => {
105
- L.value.resize(t), B.value = b.dom.getWidth(V.value), Y(), P(() => {
102
+ A.value.resize(t), W.value = b.dom.getWidth(V.value), Y(), M(() => {
106
103
  X();
107
104
  });
108
105
  };
109
- Te(async () => {
110
- await de.openAsync("sys", "page", G.value), B.value = b.dom.getWidth(V.value), Y(), await P(), X();
106
+ De(async () => {
107
+ await de.openAsync("sys", "page", I.value), W.value = b.dom.getWidth(V.value), Y(), await M(), X();
111
108
  });
112
109
  let Ve = ae(() => {
113
110
  let a = Object.keys(i.value.orderBys)[0], o = i.value.orderBys[a];
@@ -116,42 +113,42 @@ const Ze = {
116
113
  let t = `/${r.value.name}/paging-row`;
117
114
  return Le.getComponent(t, "partial", "paging-row");
118
115
  });
119
- return re({ keyboard: ze, resize: $e }), (t, a) => {
120
- const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), _ = k("el-drawer");
121
- return f(), T("div", {
116
+ return re({ keyboardHandler: ze, resize: $e }), (t, a) => {
117
+ const o = k("el-table-column"), s = k("el-tooltip"), g = k("el-table"), d = k("el-pagination"), _ = k("el-drawer");
118
+ return f(), H("div", {
122
119
  ref_key: "pagingRef",
123
120
  ref: V,
124
121
  class: "paging-table"
125
122
  }, [
126
- v(Je, {
123
+ v(Qe, {
127
124
  ref_key: "searchRef",
128
- ref: L,
129
- schema: e(H),
125
+ ref: A,
126
+ schema: e(T),
130
127
  table: e(r),
131
128
  layout: e(i),
132
- "search-data": e(q),
129
+ "search-data": e(P),
133
130
  onSubmit: e(Q)
134
131
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
135
- v(Ye, {
132
+ v(Ze, {
136
133
  ref_key: "headerRef",
137
- ref: I,
138
- schema: e(H),
134
+ ref: j,
135
+ schema: e(T),
139
136
  table: e(r),
140
137
  layout: e(i),
141
138
  set: e(C),
142
139
  next: e(p),
143
- selection: e(E),
144
- "search-data": e(q),
140
+ selection: e(U),
141
+ "search-data": e(P),
145
142
  onAdd: e(pe),
146
143
  onRemove: e(J),
147
144
  onShowImport: a[0] || (a[0] = (l) => x(m) ? m.value = !0 : m = !0),
148
- onShowExport: a[1] || (a[1] = (l) => x(g) ? g.value = !0 : g = !0),
145
+ onShowExport: a[1] || (a[1] = (l) => x(c) ? c.value = !0 : c = !0),
149
146
  onSearch: e(Q)
150
147
  }, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
151
- v(c, {
148
+ v(g, {
152
149
  ref_key: "tableRef",
153
- ref: N,
154
- class: De([{ "hide-nav": e(Me).hideNav }, "table-default table-paging"]),
150
+ ref: E,
151
+ class: Te([{ "hide-nav": e(Me).hideNav }, "table-default table-paging"]),
155
152
  size: "small",
156
153
  border: "",
157
154
  "highlight-current-row": "",
@@ -163,26 +160,26 @@ const Ze = {
163
160
  onHeaderDragend: e(Se)
164
161
  }, {
165
162
  empty: h(() => [
166
- le(S(e(j)("common.no_data")), 1)
163
+ le(S(e(K)("common.no_data")), 1)
167
164
  ]),
168
165
  default: h(() => [
169
166
  v(o, {
170
167
  type: "selection",
171
168
  width: "30"
172
169
  }),
173
- (f(!0), T(He, null, Ee(e(r).show, (l, ot) => {
170
+ (f(!0), H(Ue, null, Ee(e(r).show, (l, nt) => {
174
171
  var Z, ee, te;
175
172
  return f(), z(o, {
176
173
  sortable: e(r) ? "custom" : !1,
177
174
  prop: l.name,
178
175
  "sort-orders": ["descending", "ascending"],
179
176
  fixed: e(i).fixed.indexOf(l.name) > -1,
180
- "min-width": ((te = (ee = (Z = e(G)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
177
+ "min-width": ((te = (ee = (Z = e(I)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
181
178
  label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
182
179
  key: `${e(r).name}.${l.name}`
183
180
  }, {
184
- header: h((U) => [
185
- l.control.required && l.control.editable ? (f(), T("i", Ze)) : $("", !0),
181
+ header: h((B) => [
182
+ l.control.required && l.control.editable ? (f(), H("i", et)) : $("", !0),
186
183
  v(s, {
187
184
  placement: "top",
188
185
  content: l.label,
@@ -190,43 +187,43 @@ const Ze = {
190
187
  }, {
191
188
  default: h(() => [
192
189
  D("span", {
193
- onMouseenter: (A) => e(ke)(A, U.column, l)
190
+ onMouseenter: (L) => e(ke)(L, B.column, l)
194
191
  }, [
195
- D("span", null, S(e(Ae)(e(r).name, l.name)), 1)
196
- ], 40, et)
192
+ D("span", null, S(e(Ke)(e(r).name, l.name)), 1)
193
+ ], 40, tt)
197
194
  ]),
198
195
  _: 2
199
196
  }, 1032, ["content", "disabled"])
200
197
  ]),
201
- default: h((U) => [
198
+ default: h((B) => [
202
199
  v(Pe, {
203
- schema: e(H),
200
+ schema: e(T),
204
201
  table: e(r),
205
202
  field: l,
206
203
  set: e(C),
207
- row: U.row,
204
+ row: B.row,
208
205
  config: e(je).getConfig(l, e(ie).type, e(i).type),
209
- onChange: (A) => e(xe)(A, e(r), l, e(C), U.row)
206
+ onChange: (L) => e(xe)(L, e(r), l, e(C), B.row)
210
207
  }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
211
208
  ]),
212
209
  _: 2
213
210
  }, 1032, ["sortable", "prop", "fixed", "min-width", "label"]);
214
211
  }), 128)),
215
212
  v(o, {
216
- label: e(j)("common.operation"),
213
+ label: e(K)("common.operation"),
217
214
  fixed: "right",
218
215
  "show-overflow-tooltip": "",
219
- "min-width": e(F)
216
+ "min-width": e(G)
220
217
  }, {
221
218
  default: h((l) => [
222
- (f(), z(Ne(e(We)), {
219
+ (f(), z(Ae(e(We)), {
223
220
  table: e(r),
224
221
  next: e(p),
225
222
  set: e(C),
226
223
  row: l.row,
227
224
  onPreview: e(me),
228
- onEdit: e(ge),
229
- onCopy: e(ce),
225
+ onEdit: e(ce),
226
+ onCopy: e(ge),
230
227
  onBeforeRemove: e(ve),
231
228
  onRemove: e(J),
232
229
  onChangeWidth: e(Ce)
@@ -239,7 +236,7 @@ const Ze = {
239
236
  }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
240
237
  v(e(qe), {
241
238
  ref_key: "footerRef",
242
- ref: K,
239
+ ref: q,
243
240
  class: "list-toolbar"
244
241
  }, {
245
242
  default: h(() => [
@@ -252,53 +249,53 @@ const Ze = {
252
249
  "page-sizes": e(y).sizes,
253
250
  onCurrentChange: e(we),
254
251
  onSizeChange: e(be),
255
- "page-size": e(i).pageSize,
256
- "onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).pageSize = l)
252
+ "page-size": e(i).size,
253
+ "onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).size = l)
257
254
  }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
258
255
  ]),
259
256
  _: 1
260
257
  }, 512),
261
- e(p).import ? (f(), z(Qe, {
258
+ e(p).import ? (f(), z(Xe, {
262
259
  key: 0,
263
260
  next: e(p),
264
261
  onClose: a[5] || (a[5] = (l) => x(m) ? m.value = !1 : m = !1),
265
- onSucceed: e(M),
262
+ onSucceed: e(N),
266
263
  modelValue: e(m),
267
264
  "onUpdate:modelValue": a[6] || (a[6] = (l) => x(m) ? m.value = l : m = l)
268
265
  }, null, 8, ["next", "onSucceed", "modelValue"])) : $("", !0),
269
- e(p).export ? (f(), z(Xe, {
266
+ e(p).export ? (f(), z(Ye, {
270
267
  key: 1,
271
268
  route: e(p).export.route,
272
- "page-count": e(b).math.pageCount(e(i).count, e(i).pageSize),
273
- onClose: a[7] || (a[7] = (l) => x(g) ? g.value = !1 : g = !1),
274
- modelValue: e(g),
275
- "onUpdate:modelValue": a[8] || (a[8] = (l) => x(g) ? g.value = l : g = l)
269
+ "page-count": e(b).math.pageCount(e(i).count, e(i).size),
270
+ onClose: a[7] || (a[7] = (l) => x(c) ? c.value = !1 : c = !1),
271
+ modelValue: e(c),
272
+ "onUpdate:modelValue": a[8] || (a[8] = (l) => x(c) ? c.value = l : c = l)
276
273
  }, null, 8, ["route", "page-count", "modelValue"])) : $("", !0),
277
274
  e(n).page ? (f(), z(_, {
278
275
  key: 2,
279
276
  "destroy-on-close": "",
280
277
  "append-to-body": e(n).appendToBody,
281
- size: e(oe).getDrawerWidth(e(B)),
278
+ size: e(oe).getDrawerWidth(e(W)),
282
279
  modelValue: e(n).visible,
283
280
  "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
284
281
  }, {
285
282
  header: h(() => [
286
- D("div", tt, [
283
+ D("div", at, [
287
284
  le(S(e(n).title) + " ", 1),
288
- e(n).env ? (f(), T("span", at, "[" + S(e(n).env) + "]", 1)) : $("", !0),
285
+ e(n).env ? (f(), H("span", lt, "[" + S(e(n).env) + "]", 1)) : $("", !0),
289
286
  D("a", {
290
287
  class: "drawer-copy",
291
288
  href: e(b).url.getToUrl(e(n).url)
292
- }, S(e(j)("common.link")), 9, lt)
289
+ }, S(e(K)("common.link")), 9, ot)
293
290
  ])
294
291
  ]),
295
292
  default: h(() => [
296
- v(e(Ie), {
293
+ v(e(Fe), {
297
294
  ref_key: "pageRef",
298
- ref: W,
295
+ ref: F,
299
296
  url: e(n).url,
300
297
  onLoaded: e(ye),
301
- onSucceed: e(M),
298
+ onSucceed: e(N),
302
299
  onClose: e(he)
303
300
  }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
304
301
  ]),
@@ -309,5 +306,5 @@ const Ze = {
309
306
  }
310
307
  });
311
308
  export {
312
- ct as default
309
+ gt as default
313
310
  };