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,10 +1,9 @@
1
1
  import { defineComponent as x, toRefs as E, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import { q, t as F } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
2
+ import { n as F, f as I } from "./main-nvsTmKXH.js";
4
3
  import "element-plus";
5
4
  import "vue-router";
6
5
  import "./assets/intro.js-Cg1adLK7.js";
7
- const I = { class: "not-support" }, K = /* @__PURE__ */ x({
6
+ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
8
7
  __name: "Index",
9
8
  props: {
10
9
  route: {},
@@ -18,7 +17,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
18
17
  },
19
18
  emits: ["layout-change", "row-edit", "change", "submit"],
20
19
  setup(s, { expose: i, emit: m }) {
21
- let o = m, d = s, { module: p, schema: c, table: r, layout: a, next: y, set: h } = E(d), l = R(), f = (t) => {
20
+ let o = m, d = s, { module: p, schema: c, table: r, layout: a, next: y, set: f } = E(d), l = R(), h = (t) => {
22
21
  o("layout-change", t);
23
22
  }, g = (t, n, w) => {
24
23
  o("row-edit", t, n, w);
@@ -34,10 +33,10 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
34
33
  };
35
34
  return k(() => {
36
35
  }), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
37
- L(e(q), {
36
+ L(e(F), {
38
37
  layout: e(a),
39
38
  table: e(r),
40
- onLayoutChange: e(f)
39
+ onLayoutChange: e(h)
41
40
  }, null, 8, ["layout", "table", "onLayoutChange"]),
42
41
  (u(), S(D(`update-${e(a).type.toLowerCase()}`), {
43
42
  ref_key: "layoutRef",
@@ -47,7 +46,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
47
46
  table: e(r),
48
47
  layout: e(a),
49
48
  next: e(y),
50
- set: e(h),
49
+ set: e(f),
51
50
  route: t.route,
52
51
  "validate-errors": t.validateErrors,
53
52
  onRowEdit: e(g),
@@ -55,7 +54,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
55
54
  onSubmit: e(b)
56
55
  }, {
57
56
  default: N(() => [
58
- V("div", I, $(e(F)("single.not_supported_layout", e(a).type)), 1)
57
+ V("div", M, $(e(I)("single.not_supported_layout", e(a).type)), 1)
59
58
  ]),
60
59
  _: 1
61
60
  }, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
@@ -63,5 +62,5 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
63
62
  }
64
63
  });
65
64
  export {
66
- K as _
65
+ J as _
67
66
  };
@@ -1,15 +1,9 @@
1
- import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import { q } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
1
+ import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as H, createVNode as L, unref as e, createBlock as R, resolveDynamicComponent as w, withCtx as A, createElementVNode as E, toDisplayString as P } from "vue";
2
+ import { n as V, A as $ } from "./main-nvsTmKXH.js";
9
3
  import "element-plus";
10
4
  import "vue-router";
11
5
  import "./assets/intro.js-Cg1adLK7.js";
12
- const F = { class: "not-support" }, X = /* @__PURE__ */ k({
6
+ const F = { class: "not-support" }, O = /* @__PURE__ */ k({
13
7
  __name: "Index",
14
8
  props: {
15
9
  searchData: {},
@@ -22,13 +16,13 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
22
16
  },
23
17
  emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
24
18
  setup(c, { expose: i, emit: u }) {
25
- let o = u, g = c, { module: m, schema: p, table: r, layout: l, next: h, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
19
+ let o = u, g = c, { module: h, schema: m, table: r, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
26
20
  o("navigate", a, t);
27
21
  }, C = (a, t) => {
28
22
  o("sort", a, t);
29
- }, v = (a) => {
23
+ }, _ = (a) => {
30
24
  o("search", a);
31
- }, _ = (a, t = null) => {
25
+ }, v = (a, t = null) => {
32
26
  o("page-change", a, t);
33
27
  }, b = (a, t = null) => {
34
28
  o("size-change", a, t);
@@ -43,36 +37,34 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
43
37
  if (!n.value || !n.value.resize)
44
38
  return !1;
45
39
  n.value.resize(a);
46
- }, keyboard: (a, t) => {
47
- if (!n.value || !n.value.keyboard)
48
- return !1;
49
- n.value.keyboard(a, t);
50
- } }), (a, t) => (s(), B(L, null, [
51
- R(e(q), {
40
+ }, keyboardHandler: (a, t) => {
41
+ $.triggerKeyboardHandler(n.value, a, t);
42
+ } }), (a, t) => (s(), B(H, null, [
43
+ L(e(V), {
52
44
  layout: e(l),
53
45
  table: e(r),
54
46
  onLayoutChange: e(S)
55
47
  }, null, 8, ["layout", "table", "onLayoutChange"]),
56
- (s(), w(E(`paging-${e(l).type.toLowerCase()}`), {
48
+ (s(), R(w(`paging-${e(l).type.toLowerCase()}`), {
57
49
  ref_key: "pagingRef",
58
50
  ref: n,
59
- module: e(m),
60
- schema: e(p),
51
+ module: e(h),
52
+ schema: e(m),
61
53
  table: e(r),
62
54
  layout: e(l),
63
- next: e(h),
55
+ next: e(p),
64
56
  set: e(d),
65
57
  "search-data": e(y),
66
58
  onNavigate: e(f),
67
59
  onSort: e(C),
68
- onSearch: e(v),
69
- onPageChange: e(_),
60
+ onSearch: e(_),
61
+ onPageChange: e(v),
70
62
  onSizeChange: e(b),
71
63
  onSucceed: e(x),
72
64
  onClose: e(z)
73
65
  }, {
74
- default: P(() => [
75
- V("div", F, "未支持的分页布局方式:" + $(e(l).type), 1)
66
+ default: A(() => [
67
+ E("div", F, "未支持的分页布局方式:" + P(e(l).type), 1)
76
68
  ]),
77
69
  _: 1
78
70
  }, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
@@ -80,5 +72,5 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
80
72
  }
81
73
  });
82
74
  export {
83
- X as _
75
+ O as _
84
76
  };
@@ -1,13 +1,12 @@
1
- import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as p, createBlock as _, unref as t, withCtx as a, createTextVNode as v, createVNode as o, createElementBlock as c, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as E } from "vue";
2
- import { E as T, h as U } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
1
+ import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as _, unref as t, withCtx as a, createTextVNode as v, createVNode as o, createElementBlock as c, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
2
+ import { v as U, _ as w } from "./main-nvsTmKXH.js";
4
3
  import "element-plus";
5
4
  import "vue-router";
6
5
  import "./assets/intro.js-Cg1adLK7.js";
7
- const w = { class: "option-text" }, O = {
6
+ const E = { class: "option-text" }, O = {
8
7
  key: 0,
9
8
  class: "option-suffix"
10
- }, z = /* @__PURE__ */ k({
9
+ }, j = /* @__PURE__ */ k({
11
10
  __name: "Install",
12
11
  setup(R) {
13
12
  let n = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
@@ -21,7 +20,7 @@ const w = { class: "option-text" }, O = {
21
20
  u.value = !0, i.value.validate((f, l) => {
22
21
  if (!f)
23
22
  return u.value = !1, !1;
24
- U.post("/app/install", n.value).then(({ data: d }) => {
23
+ w.post("/app/install", n.value).then(({ data: p }) => {
25
24
  }).finally(() => {
26
25
  u.value = !1;
27
26
  });
@@ -29,8 +28,8 @@ const w = { class: "option-text" }, O = {
29
28
  };
30
29
  return C(() => {
31
30
  }), (f, l) => {
32
- const d = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
33
- return p(), _(t(T), {
31
+ const p = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
32
+ return d(), _(t(U), {
34
33
  class: "ha-install",
35
34
  title: "数据库信息"
36
35
  }, {
@@ -51,7 +50,7 @@ const w = { class: "option-text" }, O = {
51
50
  rules: [{ required: !0, message: "数据库名不能为空" }]
52
51
  }, {
53
52
  default: a(() => [
54
- o(d, {
53
+ o(p, {
55
54
  type: "text",
56
55
  modelValue: t(n).name,
57
56
  "onUpdate:modelValue": l[0] || (l[0] = (e) => t(n).name = e)
@@ -70,14 +69,14 @@ const w = { class: "option-text" }, O = {
70
69
  "onUpdate:modelValue": l[1] || (l[1] = (e) => t(n).type = e)
71
70
  }, {
72
71
  default: a(() => [
73
- (p(!0), c(M, null, N(t(y), (e) => (p(), _(S, {
72
+ (d(!0), c(M, null, N(t(y), (e) => (d(), _(S, {
74
73
  value: e.value,
75
74
  label: e.text + (e.value ? "(" + e.value + ")" : ""),
76
75
  key: `${e.value}`
77
76
  }, {
78
77
  default: a(() => [
79
- B("span", w, x(e.text), 1),
80
- e.value ? (p(), c("span", O, "(" + x(e.value) + ")", 1)) : E("", !0)
78
+ B("span", E, x(e.text), 1),
79
+ e.value ? (d(), c("span", O, "(" + x(e.value) + ")", 1)) : T("", !0)
81
80
  ]),
82
81
  _: 2
83
82
  }, 1032, ["value", "label"]))), 128))
@@ -93,7 +92,7 @@ const w = { class: "option-text" }, O = {
93
92
  rules: [{ required: !0, message: "数据库连接串不能为空" }]
94
93
  }, {
95
94
  default: a(() => [
96
- o(d, {
95
+ o(p, {
97
96
  type: "textarea",
98
97
  modelValue: t(n).conn,
99
98
  "onUpdate:modelValue": l[2] || (l[2] = (e) => t(n).conn = e)
@@ -126,5 +125,5 @@ const w = { class: "option-text" }, O = {
126
125
  }
127
126
  });
128
127
  export {
129
- z as default
128
+ j as default
130
129
  };
@@ -1,7 +1,6 @@
1
- import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as y, isRef as K } from "vue";
2
- import { t as k, f as x } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const R = /* @__PURE__ */ f({
1
+ import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as w, isRef as y } from "vue";
2
+ import { f as K, w as k } from "./main-nvsTmKXH.js";
3
+ const D = /* @__PURE__ */ f({
5
4
  __name: "Int",
6
5
  props: {
7
6
  schema: {},
@@ -12,11 +11,11 @@ const R = /* @__PURE__ */ f({
12
11
  },
13
12
  emits: ["change", "submit", "update:modelValue"],
14
13
  setup(m, { emit: u }) {
15
- let l = u, p = m, { table: r, field: i, searchData: B, modelValue: s } = _(p), d = () => {
14
+ let l = u, s = m, { table: p, field: r, searchData: x, modelValue: i } = _(s), d = () => {
16
15
  l("submit");
17
16
  }, o = h({
18
17
  get() {
19
- return s.value;
18
+ return i.value;
20
19
  },
21
20
  set(t) {
22
21
  isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
@@ -25,15 +24,15 @@ const R = /* @__PURE__ */ f({
25
24
  return (t, n) => {
26
25
  const c = b("el-input-number");
27
26
  return V(), g(c, {
28
- placeholder: e(k)("common.please_input") + e(x)(e(r).name, e(i).name),
27
+ placeholder: e(K)("common.please_input") + e(k)(e(p).name, e(r).name),
29
28
  "controls-position": "right",
30
- onKeyup: y(e(d), ["enter", "native"]),
29
+ onKeyup: w(e(d), ["enter", "native"]),
31
30
  modelValue: e(o),
32
- "onUpdate:modelValue": n[0] || (n[0] = (a) => K(o) ? o.value = a : o = a)
31
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => y(o) ? o.value = a : o = a)
33
32
  }, null, 8, ["placeholder", "onKeyup", "modelValue"]);
34
33
  };
35
34
  }
36
35
  });
37
36
  export {
38
- R as default
37
+ D as default
39
38
  };
@@ -1,7 +1,6 @@
1
- import { defineComponent as b, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
- import { U as K, j as U } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const C = /* @__PURE__ */ b({
1
+ import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
+ import { d as x, h as K } from "./main-nvsTmKXH.js";
3
+ const C = /* @__PURE__ */ c({
5
4
  __name: "Int",
6
5
  props: {
7
6
  schema: {},
@@ -12,27 +11,27 @@ const C = /* @__PURE__ */ b({
12
11
  modelValue: {}
13
12
  },
14
13
  emits: ["submit", "change", "update:modelValue"],
15
- setup(m, { emit: u }) {
16
- let l = u, s = m, { table: d, field: a, set: k, modelValue: n } = f(s), p = () => {
14
+ setup(r, { emit: i }) {
15
+ let l = i, s = r, { table: d, field: n, set: k, modelValue: a } = f(s), p = () => {
17
16
  l("submit");
18
17
  }, t = _({
19
18
  get() {
20
- if (K.string.isNumber(n.value))
21
- return n.value;
19
+ if (x.string.isNumber(a.value))
20
+ return a.value;
22
21
  },
23
22
  set(o) {
24
23
  l("update:modelValue", o), l("change", o);
25
24
  }
26
25
  });
27
- return (o, r) => {
28
- const c = V("el-input-number");
29
- return g(), h(c, {
30
- "aria-label": e(U)(e(d).name, e(a).name),
26
+ return (o, u) => {
27
+ const b = V("el-input-number");
28
+ return g(), h(b, {
29
+ "aria-label": e(K)(e(d).name, e(n).name),
31
30
  "controls-position": "right",
32
- disabled: e(a).control.readonly,
31
+ disabled: e(n).control.readonly,
33
32
  onKeyup: v(e(p), ["enter", "native"]),
34
33
  modelValue: e(t),
35
- "onUpdate:modelValue": r[0] || (r[0] = (i) => y(t) ? t.value = i : t = i)
34
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
36
35
  }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
37
36
  };
38
37
  }
@@ -0,0 +1,71 @@
1
+ import { defineComponent as A, toRefs as B, ref as u, watch as H, openBlock as M, createBlock as E, resolveDynamicComponent as F, unref as t, withCtx as K, createElementVNode as T, toDisplayString as U } from "vue";
2
+ import { d as n, S as V, M as $, m as h, g as j, A as G } from "./main-nvsTmKXH.js";
3
+ const I = { class: "not-support" }, W = /* @__PURE__ */ A({
4
+ __name: "List",
5
+ props: {
6
+ base: {},
7
+ route: {},
8
+ url: {},
9
+ win: {}
10
+ },
11
+ emits: ["load", "navigate"],
12
+ setup(_, { expose: b, emit: P }) {
13
+ let m = P, q = _, { url: v, base: p, route: o } = B(q), f = u(), i = u(), r = u(), y = u(), g = u(), s = u(), c = u(), C = (e) => {
14
+ let l = n.url.getPath(e), a = n.url.getPath(v.value);
15
+ return l != a;
16
+ }, R = (e) => {
17
+ let l = n.url.getPath(v.value), a = n.url.getPath(e);
18
+ return l != a;
19
+ }, x = (e) => {
20
+ var a;
21
+ let l = V(e.module.type, e.module.name);
22
+ $.setTitle(l, e.module.env), f.value = e.module, i.value = h.expandSchema(e.schema, e.set), r.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = h.expandSet(e.schema, e.set), c.value = h.getConditionForm(i.value, o.value.query.condition);
23
+ }, d = (e = null, l = null) => {
24
+ let a = e ?? o.value.query, N = n.url.getUrl(o.value.path, a);
25
+ m("load", N, !1, l);
26
+ }, k = (e) => {
27
+ d(null, e);
28
+ }, w = (e) => {
29
+ m("navigate", e);
30
+ }, D = async (e) => {
31
+ let l = o.value.query;
32
+ l.condition = j.encode(c.value), d(l, e);
33
+ }, S = () => {
34
+ d();
35
+ }, z = (e, l) => {
36
+ G.triggerKeyboardHandler(s.value, e, l);
37
+ }, L = (e) => {
38
+ if (!s.value || !s.value.resize)
39
+ return !1;
40
+ s.value.resize(e);
41
+ };
42
+ return (() => {
43
+ x(p.value.data);
44
+ })(), H(() => p.value, (e) => {
45
+ x(e.data);
46
+ }), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboardHandler: z, resize: L }), (e, l) => (M(), E(F(`list-${t(r).layouts[0].type.toLowerCase()}`), {
47
+ ref_key: "listRef",
48
+ ref: s,
49
+ route: t(o),
50
+ module: t(f),
51
+ schema: t(i),
52
+ table: t(r),
53
+ layout: t(r).layouts[0],
54
+ next: t(y),
55
+ set: t(g),
56
+ "search-data": t(c),
57
+ onSucceed: t(k),
58
+ onSearch: t(D),
59
+ onNavigate: t(w),
60
+ onRefresh: t(S)
61
+ }, {
62
+ default: K(() => [
63
+ T("div", I, "未支持的列表布局方式:" + U(t(r).layouts[0].type), 1)
64
+ ]),
65
+ _: 1
66
+ }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
67
+ }
68
+ });
69
+ export {
70
+ W as default
71
+ };
@@ -0,0 +1,14 @@
1
+ import { defineComponent as n, openBlock as o, createElementBlock as s, createElementVNode as t, toDisplayString as i, unref as r } from "vue";
2
+ import { Q as a } from "./main-nvsTmKXH.js";
3
+ const c = { class: "maintenance" }, l = { class: "description" }, f = /* @__PURE__ */ n({
4
+ __name: "Maintaince",
5
+ setup(m) {
6
+ return (p, e) => (o(), s("div", c, [
7
+ e[0] || (e[0] = t("div", { class: "title" }, "系统维护中", -1)),
8
+ t("div", l, i(r(a)), 1)
9
+ ]));
10
+ }
11
+ });
12
+ export {
13
+ f as default
14
+ };
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Text-oKVRjuSR.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let r = i(() => import("./Text-CHvsKR9H.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
14
14
  return (x, o) => (w(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -0,0 +1,37 @@
1
+ import { defineComponent as i, toRefs as f, computed as h, resolveComponent as _, openBlock as V, createBlock as k, unref as e, isRef as b } from "vue";
2
+ import { k as Y } from "./main-nvsTmKXH.js";
3
+ const x = /* @__PURE__ */ i({
4
+ __name: "Month",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ searchData: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(n, { emit: r }) {
14
+ let a = r, p = n, { table: u, field: o, searchData: g, modelValue: s } = f(p), l = h({
15
+ get() {
16
+ return s.value;
17
+ },
18
+ set(t) {
19
+ a("update:modelValue", t), a("change", t);
20
+ }
21
+ });
22
+ return (t, m) => {
23
+ const c = _("el-date-picker");
24
+ return V(), k(c, {
25
+ type: "month",
26
+ placeholder: e(Y)(e(u).name, e(o).name),
27
+ "value-format": "YYYY-MM",
28
+ disabled: e(o).control.readonly,
29
+ modelValue: e(l),
30
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => b(l) ? l.value = d : l = d)
31
+ }, null, 8, ["placeholder", "disabled", "modelValue"]);
32
+ };
33
+ }
34
+ });
35
+ export {
36
+ x as default
37
+ };
@@ -1,7 +1,6 @@
1
- import { defineComponent as i, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { k as Y } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const y = /* @__PURE__ */ i({
1
+ import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as k, unref as e, isRef as b } from "vue";
2
+ import { k as Y } from "./main-nvsTmKXH.js";
3
+ const x = /* @__PURE__ */ i({
5
4
  __name: "Month",
6
5
  props: {
7
6
  schema: {},
@@ -12,28 +11,28 @@ const y = /* @__PURE__ */ i({
12
11
  modelValue: {}
13
12
  },
14
13
  emits: ["submit", "change", "update:modelValue"],
15
- setup(r, { emit: n }) {
16
- let t = n, p = r, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
14
+ setup(n, { emit: r }) {
15
+ let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
17
16
  get() {
18
17
  return s.value;
19
18
  },
20
- set(o) {
21
- t("update:modelValue", o), t("change", o);
19
+ set(t) {
20
+ o("update:modelValue", t), o("change", t);
22
21
  }
23
22
  });
24
- return (o, m) => {
25
- const c = h("el-date-picker");
26
- return V(), b(c, {
23
+ return (t, m) => {
24
+ const c = V("el-date-picker");
25
+ return h(), k(c, {
27
26
  type: "month",
28
27
  placeholder: e(Y)(e(u).name, e(a).name),
29
28
  "value-format": "YYYY-MM",
30
29
  disabled: e(a).control.readonly,
31
30
  modelValue: e(l),
32
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
31
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => b(l) ? l.value = d : l = d)
33
32
  }, null, 8, ["placeholder", "disabled", "modelValue"]);
34
33
  };
35
34
  }
36
35
  });
37
36
  export {
38
- y as default
37
+ x as default
39
38
  };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let s = i(() => import("./Text-oKVRjuSR.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
13
+ let s = i(() => import("./Text-CHvsKR9H.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
14
14
  return (w, t) => (V(), b(e(s), {
15
15
  schema: e(n),
16
16
  table: e(r),