halo-pc 1.0.39 → 1.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. package/dist/{Article-DZlstqWL.js → Article-CqtkXVmQ.js} +37 -36
  2. package/dist/{ArticleFooter-BkduiKh8.js → ArticleFooter-DeJdTtZD.js} +12 -13
  3. package/dist/{Autocomplete-DMKnFezN.js → Autocomplete-0fxB2_FC.js} +1 -1
  4. package/dist/Autocomplete-BfhYwZ5G.js +49 -0
  5. package/dist/{Autocomplete-0Yf6lJQ7.js → Autocomplete-LQiKcvz1.js} +10 -11
  6. package/dist/{CSharp-q8eOBm4y.js → CSharp-BIFRQLaK.js} +1 -1
  7. package/dist/{Calender-CseGNCuW.js → Calender-DPNTn-S4.js} +2 -2
  8. package/dist/Callback-Ci5KrWOC.js +20 -0
  9. package/dist/Cascader-CnOEgPDf.js +41 -0
  10. package/dist/{Cascader-BG5ev35M.js → Cascader-Vhc81TDV.js} +17 -18
  11. package/dist/{Checkbox-CsCA6iQb.js → Checkbox-CIim5NiB.js} +1 -1
  12. package/dist/{Checkbox-dw8RNAGt.js → Checkbox-D9Sp6ZGQ.js} +11 -12
  13. package/dist/Code-BEjqqeFZ.js +54 -0
  14. package/dist/Code-BSrEPuXk.js +4 -0
  15. package/dist/Code-Dp1-k8sW.js +36 -0
  16. package/dist/{Code-BE8YLGaE.js → Code-yDKaH1uF.js} +10 -8
  17. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +59 -0
  18. package/dist/Column-B0ViSver.js +69 -0
  19. package/dist/{Comment-kTmfTlbF.js → Comment-tU2wBvGO.js} +22 -26
  20. package/dist/{Compare-DlyQBCat.js → Compare-D7Gz-lE9.js} +10 -11
  21. package/dist/{Compare-DVWaiCUC.js → Compare-DqvGyQWA.js} +8 -9
  22. package/dist/Copy-Dm1LH9qB.js +43 -0
  23. package/dist/Custom-CLKAPWEo.js +49 -0
  24. package/dist/{DataExport-Um1wXyRe.js → DataExport-BDftKI0U.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js → DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js} +27 -28
  26. package/dist/{DataImport-CPMLup4P.js → DataImport-CRYaaQfA.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js → DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js} +30 -31
  28. package/dist/{Date-BhZ8ltgp.js → Date-DPPiYLWw.js} +7 -8
  29. package/dist/{Date-Cj9lCW_Y.js → Date-Dlh1_S7p.js} +1 -1
  30. package/dist/{DateRange-Bw_Oyawz.js → DateRange-BgF_T3ls.js} +5 -6
  31. package/dist/{DateTime-Cv-SRE88.js → DateTime-CNjPeK9t.js} +1 -1
  32. package/dist/{DateTime-BU6JaBPk.js → DateTime-DP-VfmtN.js} +7 -8
  33. package/dist/{DateTimeRange-B4Ah6LQY.js → DateTimeRange-DbEpW4nB.js} +9 -10
  34. package/dist/{Daterange-CSZe4XGO.js → Daterange-DHVjhrK9.js} +4 -5
  35. package/dist/{Decimal-DSDuwW9Z.js → Decimal-BDEWVSsK.js} +1 -1
  36. package/dist/{Delete-CjPgg-5G.js → Delete-Bl0GmthL.js} +19 -20
  37. package/dist/{Detail-gj--ICe8.js → Detail-BozyhOTt.js} +10 -11
  38. package/dist/{Dictionary-Ck_02mWa.js → Dictionary-CJwZPQz6.js} +9 -15
  39. package/dist/{Email-BSQbDvh1.js → Email-D5X1SzuJ.js} +11 -12
  40. package/dist/{File-FW4usX43.js → File-DixK0K7p.js} +44 -43
  41. package/dist/Image-BrelhCGo.js +9 -0
  42. package/dist/Index-BeM6hKX9.js +4 -0
  43. package/dist/Index-BkfLyqpm.js +173 -0
  44. package/dist/{Index-MUgqP8jJ.js → Index-D2FOeoNQ.js} +1 -1
  45. package/dist/Index-D8UVsXwf.js +4 -0
  46. package/dist/{Index-Dq5Vp-ts.js → Index-DbXgnBz6.js} +15 -16
  47. package/dist/Index-FL-dxfFB.js +4 -0
  48. package/dist/Index-fWOqfFkG.js +4 -0
  49. package/dist/{Index-BibWDRoP.js → Index-j15c7lwJ.js} +1 -1
  50. package/dist/Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js +80 -0
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js → Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js} +21 -22
  52. package/dist/{Install-Cpp3BDCS.js → Install-WR3b4IfI.js} +13 -14
  53. package/dist/{Int-Ck1SvK7R.js → Int-CWsDtoxE.js} +9 -10
  54. package/dist/{Int-DcQsipaO.js → Int-GGWiUqO2.js} +13 -14
  55. package/dist/List-kRCsHp6d.js +71 -0
  56. package/dist/Maintaince-BG8MUi3A.js +14 -0
  57. package/dist/{Markdown-BEUz4VZ7.js → Markdown-nVfQs7kc.js} +1 -1
  58. package/dist/Month-B1icZmL4.js +37 -0
  59. package/dist/{Month-DmUiyF1G.js → Month-CxKMP4kO.js} +1 -1
  60. package/dist/{Month-DJGGGrZr.js → Month-DnYlAi7k.js} +10 -11
  61. package/dist/{Normal-ACcTHsXb.js → Normal-RcqEyIFN.js} +47 -46
  62. package/dist/Paging-DrdGzxeP.js +94 -0
  63. package/dist/{PagingHeader-DDkmqv98.js → PagingHeader-C8UpM9Kj.js} +18 -17
  64. package/dist/{PagingRow-B4Nfa2Vk.js → PagingRow-oQWCofO4.js} +13 -14
  65. package/dist/{Racebar-LfnPLNOY.js → Racebar-CvoF2ySW.js} +32 -36
  66. package/dist/{Radio-DcEZI4m7.js → Radio-DhjfkC14.js} +1 -1
  67. package/dist/{Register-B4x_zgyH.js → Register-B0Vx60wY.js} +55 -56
  68. package/dist/RichText-4wrLw9cy.js +41 -0
  69. package/dist/{SearchForm-DU5QLTbe.js → SearchForm-BHVnQaSL.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js → SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js} +50 -51
  71. package/dist/SearchHeader-C9yovXli.js +4 -0
  72. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js +60 -0
  73. package/dist/{Select-C3gUeHmu.js → Select-BDoCqD3I.js} +10 -11
  74. package/dist/{Select-CMxubJIV.js → Select-CX4i5KPQ.js} +1 -1
  75. package/dist/{Select-DrDDVJtz.js → Select-vgwpegBi.js} +20 -21
  76. package/dist/{Single-De-YyuVk.js → Single-C3629BdC.js} +127 -128
  77. package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
  78. package/dist/{Statistic-SvjQ7uGI.js → Statistic-WPezAlUn.js} +34 -33
  79. package/dist/{Stock-C2b9p3-N.js → Stock-BD5Acf8y.js} +8 -6
  80. package/dist/{Stock-XZkBSQw1.js → Stock-EPM3j2f_.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js → Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js} +22 -21
  82. package/dist/{Switch-PJT-5dDt.js → Switch-B0XN4K-9.js} +1 -1
  83. package/dist/{Table-Dy1H2IHN.js → Table-BklK1hSh.js} +142 -136
  84. package/dist/{Table-CkoZ8OjZ.js → Table-JFdOXuME.js} +61 -60
  85. package/dist/Text-CNtHdodK.js +4 -0
  86. package/dist/{Text-CytgR_l_.js → Text-DrJkdxZF.js} +12 -13
  87. package/dist/Text-KAuEjP7I.js +48 -0
  88. package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +53 -0
  89. package/dist/{TextLink-DINdFWzs.js → TextLink-BnijIoEJ.js} +8 -9
  90. package/dist/{Textarea-DakZXfN6.js → Textarea-3SWLqQvO.js} +1 -1
  91. package/dist/{Time-Bn1Av2wo.js → Time-C3qlNZkJ.js} +9 -10
  92. package/dist/{Timeline-B32cUvwI.js → Timeline-B6hUIYhL.js} +11 -15
  93. package/dist/{Tree-BGfHm4k_.js → Tree-DBvFF4Rj.js} +77 -76
  94. package/dist/{Tree-BItAXuSC.js → Tree-JexLPBXX.js} +38 -42
  95. package/dist/{TreeNode-DmiM_a2n.js → TreeNode-BOWB2WN9.js} +9 -10
  96. package/dist/{Update-DSTmaeT8.js → Update-CDLYYwgj.js} +5 -6
  97. package/dist/{UpdateChild-BgBJJwT3.js → UpdateChild-DUG7pAuO.js} +19 -20
  98. package/dist/{Upload-DMqlcxCt.js → Upload-B2hbxDsT.js} +46 -47
  99. package/dist/Upload-mlk6Y4Po.js +65 -0
  100. package/dist/{Year-DckBNPK_.js → Year-BRsJ7b1J.js} +1 -1
  101. package/dist/{Year-Cv92J5pF.js → Year-BUF60NmB.js} +7 -8
  102. package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
  103. package/dist/main-DymfKjqO.js +16480 -0
  104. package/dist/main.js +144 -142
  105. package/dist/style.css +1 -1
  106. package/esm/coms/commons/Table.vue.d.ts +1 -1
  107. package/esm/coms/drivers/Index.vue.d.ts +2 -2
  108. package/esm/coms/globals/Menu.vue.d.ts +1 -1
  109. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  110. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
  111. package/esm/coms/headers/Index.vue.d.ts +1 -1
  112. package/esm/coms/layouts/Index.vue.d.ts +3 -3
  113. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  114. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  115. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  116. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  117. package/esm/coms/lists/Tree.vue.d.ts +3 -3
  118. package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
  119. package/esm/coms/pages/Column.vue.d.ts +1 -1
  120. package/esm/coms/pages/Custom.vue.d.ts +6 -6
  121. package/esm/coms/pages/List.vue.d.ts +5 -3
  122. package/esm/coms/pages/Paging.vue.d.ts +5 -3
  123. package/esm/coms/pages/Single.vue.d.ts +3 -3
  124. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
  125. package/esm/coms/pagings/@types/index.d.ts +2 -2
  126. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  127. package/esm/coms/pagings/Index.vue.d.ts +4 -2
  128. package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
  129. package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
  130. package/esm/coms/pagings/Table.vue.d.ts +4 -2
  131. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
  132. package/esm/coms/singles/Index.vue.d.ts +1 -1
  133. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  134. package/esm/coms/singles/Table.vue.d.ts +1 -1
  135. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  136. package/package.json +6 -6
  137. package/dist/Autocomplete-bc-9LfGa.js +0 -50
  138. package/dist/Callback-D_dFJlfv.js +0 -21
  139. package/dist/Cascader-Dzeoz7ss.js +0 -47
  140. package/dist/Code-BRe68AIa.js +0 -42
  141. package/dist/Code-C5QfTMNw.js +0 -60
  142. package/dist/Code-_XoN6vQE.js +0 -4
  143. package/dist/Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js +0 -63
  144. package/dist/Column-C-NHhT2v.js +0 -75
  145. package/dist/Copy-DQFJy3uX.js +0 -44
  146. package/dist/Custom-D5HoD0nQ.js +0 -59
  147. package/dist/Image-DiAw_6jM.js +0 -9
  148. package/dist/Index-B_5hshjJ.js +0 -4
  149. package/dist/Index-BtlD6ocN.js +0 -4
  150. package/dist/Index-C3f38zw0.js +0 -4
  151. package/dist/Index-CB_TnEaw.js +0 -4
  152. package/dist/Index-hgTZyQps.js +0 -174
  153. package/dist/Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js +0 -82
  154. package/dist/List-hWB41wF_.js +0 -72
  155. package/dist/Maintaince-l-Tdveur.js +0 -20
  156. package/dist/Month-DkafiRHq.js +0 -38
  157. package/dist/Paging-Vfz2RDBo.js +0 -93
  158. package/dist/RichText-B1Iogpgr.js +0 -47
  159. package/dist/SearchFooter-CmM8qnxP.js +0 -4
  160. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js +0 -55
  161. package/dist/Text-Bt5jL_KV.js +0 -49
  162. package/dist/Text-vHouxGHU.js +0 -4
  163. package/dist/Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js +0 -59
  164. package/dist/Upload-DpQu3z1T.js +0 -71
  165. package/dist/assets/clone-BZn0cTAu.js +0 -134
  166. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  167. package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
  168. package/dist/assets/moment-h96o7c8I.js +0 -2578
  169. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  170. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  171. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  172. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  173. package/dist/main-KNkwb0pq.js +0 -10515
@@ -1,15 +1,14 @@
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 T } from "vue";
2
- import { F as U, h as w } from "./main-KNkwb0pq.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 { s as U, _ as w } from "./main-DymfKjqO.js";
4
3
  import "element-plus";
5
4
  import "vue-router";
6
5
  import "./assets/intro.js-Cg1adLK7.js";
7
- const E = { class: "option-text" }, F = {
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
- setup(O) {
11
+ setup(R) {
13
12
  let n = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
14
13
  { value: "SqlServer", text: "SqlServer" },
15
14
  { value: "MySql", text: "MySql" },
@@ -21,7 +20,7 @@ const E = { class: "option-text" }, F = {
21
20
  u.value = !0, i.value.validate((f, l) => {
22
21
  if (!f)
23
22
  return u.value = !1, !1;
24
- w.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 E = { class: "option-text" }, F = {
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(U), {
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 E = { class: "option-text" }, F = {
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 E = { class: "option-text" }, F = {
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
78
  B("span", E, x(e.text), 1),
80
- e.value ? (p(), c("span", F, "(" + x(e.value) + ")", 1)) : T("", !0)
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 E = { class: "option-text" }, F = {
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 E = { class: "option-text" }, F = {
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, j as x } from "./main-KNkwb0pq.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 C, isRef as y } from "vue";
2
+ import { p as K, C as k } from "./main-DymfKjqO.js";
3
+ const N = /* @__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, p = m, { table: s, field: r, searchData: x, modelValue: i } = _(p), 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(s).name, e(r).name),
29
28
  "controls-position": "right",
30
- onKeyup: y(e(d), ["enter", "native"]),
29
+ onKeyup: C(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
+ N 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, l as U } from "./main-KNkwb0pq.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 K, E as k } from "./main-DymfKjqO.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: w, 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 (K.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 K, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as U, resolveDynamicComponent as V, unref as t, withCtx as j, createElementVNode as A, toDisplayString as G } from "vue";
2
+ import { d as n, $ as H, B as I, m, w as J, S as d } from "./main-DymfKjqO.js";
3
+ const M = { class: "not-support" }, X = /* @__PURE__ */ K({
4
+ __name: "List",
5
+ props: {
6
+ base: {},
7
+ route: {},
8
+ url: {},
9
+ win: {}
10
+ },
11
+ emits: ["load", "navigate"],
12
+ setup(b, { expose: P, emit: R }) {
13
+ let v = R, w = b, { url: p, base: g, route: u } = E(w), y = o(), s = o(), r = o(), f = o(), S = o(), i = o(), c = o(), k = (e) => {
14
+ let l = n.url.getPath(e), a = n.url.getPath(p.value);
15
+ return l != a;
16
+ }, q = (e) => {
17
+ let l = n.url.getPath(p.value), a = n.url.getPath(e);
18
+ return l != a;
19
+ }, x = (e) => {
20
+ var a;
21
+ let l = H(e.module.type, e.module.name);
22
+ I.setTitle(l, e.module.env), y.value = e.module, s.value = m.expandSchema(e.schema, e.set), r.value = (a = s.value) == null ? void 0 : a[0], f.value = e.next, S.value = m.expandSet(e.schema, e.set), c.value = m.getConditionForm(s.value, u.value.query.condition);
23
+ }, h = (e = null, l = null) => {
24
+ let a = e ?? u.value.query, z = n.url.getUrl(u.value.path, a);
25
+ v("load", z, !1, l);
26
+ }, C = (e) => {
27
+ h(null, e);
28
+ }, B = (e) => {
29
+ v("navigate", e);
30
+ }, D = async (e) => {
31
+ let l = u.value.query;
32
+ l.condition = J.encode(c.value), h(l, e);
33
+ }, _ = () => {
34
+ h();
35
+ }, L = (e, l) => {
36
+ d.triggerKeyboard(i.value, e, l);
37
+ }, N = (e) => {
38
+ d.triggerSocket(i.value, e);
39
+ }, $ = (e) => {
40
+ d.triggerResize(i.value, e);
41
+ };
42
+ return (() => {
43
+ x(g.value.data);
44
+ })(), F(() => g.value, (e) => {
45
+ x(e.data);
46
+ }), P({ shouldLoad: k, shouldSpin: q, onRefresh: _, onKeyboard: L, onSocket: N, onResize: $ }), (e, l) => (T(), U(V(`list-${t(r).layouts[0].type.toLowerCase()}`), {
47
+ ref_key: "listRef",
48
+ ref: i,
49
+ route: t(u),
50
+ module: t(y),
51
+ schema: t(s),
52
+ table: t(r),
53
+ layout: t(r).layouts[0],
54
+ next: t(f),
55
+ set: t(S),
56
+ "search-data": t(c),
57
+ onSucceed: t(C),
58
+ onSearch: t(D),
59
+ onNavigate: t(B),
60
+ onRefresh: t(_)
61
+ }, {
62
+ default: j(() => [
63
+ A("div", M, "未支持的列表布局方式:" + G(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
+ X 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 { X as a } from "./main-DymfKjqO.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-vHouxGHU.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let r = i(() => import("./Text-CNtHdodK.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 b, unref as e, isRef as k } from "vue";
2
+ import { T as Y } from "./main-DymfKjqO.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(), b(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) => k(l) ? l.value = d : l = d)
31
+ }, null, 8, ["placeholder", "disabled", "modelValue"]);
32
+ };
33
+ }
34
+ });
35
+ export {
36
+ x as default
37
+ };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let s = i(() => import("./Text-vHouxGHU.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
13
+ let s = i(() => import("./Text-CNtHdodK.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),
@@ -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 { n as Y } from "./main-KNkwb0pq.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 b, unref as e, isRef as k } from "vue";
2
+ import { T as Y } from "./main-DymfKjqO.js";
3
+ const x = /* @__PURE__ */ i({
5
4
  __name: "Month",
6
5
  props: {
7
6
  schema: {},
@@ -13,17 +12,17 @@ const y = /* @__PURE__ */ i({
13
12
  },
14
13
  emits: ["submit", "change", "update:modelValue"],
15
14
  setup(n, { emit: r }) {
16
- let t = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
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(), b(c, {
27
26
  type: "month",
28
27
  placeholder: e(Y)(e(u).name, e(a).name),
29
28
  "value-format": "YYYY-MM",
@@ -35,5 +34,5 @@ const y = /* @__PURE__ */ i({
35
34
  }
36
35
  });
37
36
  export {
38
- y as default
37
+ x as default
39
38
  };
@@ -1,6 +1,5 @@
1
- import { defineComponent as he, toRefs as fe, ref as w, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as H, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as k, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
- import { w as K, d as N, f as ke, U as P, k as Q, t as Ce, j as xe, J as we } from "./main-KNkwb0pq.js";
3
- import "./assets/moment-h96o7c8I.js";
1
+ import { defineComponent as he, toRefs as fe, ref as w, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as K, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as C, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
+ import { h as P, m as D, c as Ce, d as Q, b as U, p as ke, C as xe, D as we } from "./main-DymfKjqO.js";
4
3
  import "vue-router";
5
4
  import "./assets/intro.js-Cg1adLK7.js";
6
5
  const Re = {
@@ -13,7 +12,7 @@ const Re = {
13
12
  }, $e = {
14
13
  key: 0,
15
14
  class: "normal-selection"
16
- }, ze = { class: "normal-content" }, qe = /* @__PURE__ */ he({
15
+ }, ze = { class: "normal-content" }, Fe = /* @__PURE__ */ he({
17
16
  __name: "Normal",
18
17
  props: {
19
18
  route: {},
@@ -23,34 +22,36 @@ const Re = {
23
22
  table: {},
24
23
  layout: {},
25
24
  next: {},
26
- set: {}
25
+ set: {},
26
+ url: {},
27
+ win: {}
27
28
  },
28
29
  emits: ["change", "submit"],
29
30
  setup(X, { expose: Y, emit: Z }) {
30
- let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = fe(ee), p = w({ page: 1, count: c.value[t.value.name].length }), C = w([]), b = w(), A = w([]), T = w(), le = (l) => {
31
- A.value.push(l);
31
+ let M = Z, ee = X, { module: O, set: c, schema: N, table: t, layout: i, validateErrors: A } = fe(ee), p = w({ page: 1, count: c.value[t.value.name].length }), k = w([]), b = w(), T = w([]), j = w(), le = (l) => {
32
+ T.value.push(l);
32
33
  }, te = () => {
33
34
  p.value.page = 1;
34
35
  }, ae = () => {
35
- b.value = J(t.value);
36
- let l = N.getDefaultRow(t.value);
36
+ b.value = G(t.value);
37
+ let l = D.getDefaultRow(t.value);
37
38
  c.value[t.value.name].push(l);
38
39
  }, ne = () => {
39
40
  let l = c.value[t.value.name];
40
- C.value.forEach((a) => {
41
+ k.value.forEach((a) => {
41
42
  l.splice(l.indexOf(a), 1);
42
- }), C.value = [], A.value.forEach((a) => {
43
+ }), k.value = [], T.value.forEach((a) => {
43
44
  a.model && (a.model = !1);
44
45
  });
45
- }, U = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
46
- N.updateTooltip(o, u, v), M("change", l, a, o, u, v);
46
+ }, W = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
47
+ D.updateTooltip(o, u, v), M("change", l, a, o, u, v);
47
48
  }, ue = (l, a) => {
48
- l ? C.value.push(a) : P.array.remove(C.value, a);
49
+ l ? k.value.push(a) : Q.array.remove(k.value, a);
49
50
  }, re = (l) => {
50
51
  M("submit", l);
51
52
  }, se = (l, a = null) => {
52
53
  p.value.page = l;
53
- }, J = (l) => {
54
+ }, G = (l) => {
54
55
  if (l.main || l.search.length == 0)
55
56
  return null;
56
57
  let a = {};
@@ -59,22 +60,22 @@ const Re = {
59
60
  });
60
61
  let o = {};
61
62
  return o[l.name] = a, o;
62
- }, W = (l) => {
63
- b.value = J(l);
63
+ }, H = (l) => {
64
+ b.value = G(l);
64
65
  }, me = () => {
65
66
  F();
66
67
  }, ce = (l) => {
67
- W(l.schema[0]);
68
+ H(l.schema[0]);
68
69
  }, F = () => {
69
- let l = T.value.clientWidth;
70
+ let l = j.value.clientWidth;
70
71
  i.value.column = Math.ceil(l / 500);
71
72
  }, ie = () => {
72
- F(), W(t.value);
73
+ F(), H(t.value);
73
74
  };
74
75
  ge(() => {
75
76
  ie();
76
77
  });
77
- let pe = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
78
+ let pe = E(() => P.splitRows(t.value.search, i.value.column)), J = E(() => {
78
79
  if (!b.value)
79
80
  return c.value[t.value.name];
80
81
  let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.size, o = p.value.page * i.value.size - 1, u = c.value[t.value.name].filter(($) => {
@@ -96,24 +97,24 @@ const Re = {
96
97
  return f;
97
98
  });
98
99
  return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
99
- }), ve = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
100
- let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
101
- return ke.getComponent(`${l}/update-child`, "partial", "update-child");
100
+ }), ve = E(() => D.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
101
+ let l = t.value.main ? `/${t.value.name}` : `/${N.value[0].name}/${t.value.name}`;
102
+ return Ce.getComponent(`${l}/update-child`, "partial", "update-child");
102
103
  });
103
104
  return B(() => c.value[t.value.name], (l, a) => {
104
- let o = l.length, u = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.size);
105
+ let o = l.length, u = a.length, v = Q.math.pageCount(c.value[t.value.name].length, i.value.size);
105
106
  (o > u || o < u && p.value.page > v) && (p.value.page = v);
106
- }, { deep: !0 }), B(j, (l, a) => {
107
+ }, { deep: !0 }), B(A, (l, a) => {
107
108
  let o = l.find((u) => u.table == t.value.name);
108
109
  o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
109
110
  }), B(t, (l, a) => {
110
111
  F();
111
- }), Y({ resize: me, update: ce }), (l, a) => {
112
+ }), Y({ onResize: me, update: ce }), (l, a) => {
112
113
  const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
113
114
  return n(), d("div", {
114
115
  ref_key: "normalRef",
115
- ref: T,
116
- class: H(["ha-normal-layout", { draggable: e(i).sort }])
116
+ ref: j,
117
+ class: K(["ha-normal-layout", { draggable: e(i).sort }])
117
118
  }, [
118
119
  e(b) ? (n(), g($, {
119
120
  key: 0,
@@ -130,12 +131,12 @@ const Re = {
130
131
  key: q
131
132
  }, {
132
133
  default: m(() => [
133
- k(o, {
134
+ C(o, {
134
135
  label: r.label
135
136
  }, {
136
137
  default: m(() => [
137
- k(e(Q), {
138
- schema: e(D),
138
+ C(e(U), {
139
+ schema: e(N),
139
140
  table: e(t),
140
141
  field: r,
141
142
  set: e(b),
@@ -153,12 +154,12 @@ const Re = {
153
154
  ]),
154
155
  _: 1
155
156
  })) : V("", !0),
156
- e(G).length ? (n(), d("div", Se, [
157
- (n(!0), d(R, null, S(e(G), (s) => (n(), d("div", {
158
- class: H(["normal-row", { main: e(t).main }])
157
+ e(J).length ? (n(), d("div", Se, [
158
+ (n(!0), d(R, null, S(e(J), (s) => (n(), d("div", {
159
+ class: K(["normal-row", { main: e(t).main }])
159
160
  }, [
160
161
  e(t).main ? V("", !0) : (n(), d("div", $e, [
161
- k(f, {
162
+ C(f, {
162
163
  ref_for: !0,
163
164
  ref: e(le),
164
165
  class: "normal-checkbox",
@@ -174,11 +175,11 @@ const Re = {
174
175
  key: `${e(t).name}.${r.name}`
175
176
  }, {
176
177
  default: m(() => [
177
- k(o, {
178
- style: _e(e(K).getStyle(r, e(O).type, e(i).type)),
178
+ C(o, {
179
+ style: _e(e(P).getStyle(r, e(O).type, e(i).type)),
179
180
  label: r.label,
180
- rules: e(N).getRules(e(j), e(t), r, e(U)(s)),
181
- prop: `[${e(t).name}][${e(U)(s)}][${r.name}]`
181
+ rules: e(D).getRules(e(A), e(t), r, e(W)(s)),
182
+ prop: `[${e(t).name}][${e(W)(s)}][${r.name}]`
182
183
  }, {
183
184
  label: m(() => {
184
185
  var z;
@@ -202,8 +203,8 @@ const Re = {
202
203
  ];
203
204
  }),
204
205
  default: m(() => [
205
- k(e(Q), {
206
- schema: e(D),
206
+ C(e(U), {
207
+ schema: e(N),
207
208
  set: e(c),
208
209
  table: e(t),
209
210
  row: s,
@@ -222,20 +223,20 @@ const Re = {
222
223
  }, 1024))), 256))
223
224
  ])
224
225
  ], 2))), 256))
225
- ], 512)) : (n(), d("div", Re, I(e(Ce)("common.no_data")), 1)),
226
+ ], 512)) : (n(), d("div", Re, I(e(ke)("common.no_data")), 1)),
226
227
  e(t).main ? V("", !0) : (n(), g(e(we), { key: 3 }, {
227
228
  left: m(() => [
228
229
  (n(), g(ye(e(de)), {
229
230
  module: e(O),
230
231
  set: e(c),
231
232
  table: e(t),
232
- selection: e(C),
233
+ selection: e(k),
233
234
  onAdd: e(ae),
234
235
  onRemove: e(ne)
235
236
  }, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
236
237
  ]),
237
238
  default: m(() => [
238
- k(y, {
239
+ C(y, {
239
240
  background: "",
240
241
  layout: "total, prev, pager, next, jumper",
241
242
  "current-page": e(p).page,
@@ -251,5 +252,5 @@ const Re = {
251
252
  }
252
253
  });
253
254
  export {
254
- qe as default
255
+ Fe as default
255
256
  };