halo-pc 1.0.40 → 1.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/dist/{Article-CqtkXVmQ.js → Article-BMW_FzdK.js} +32 -31
  2. package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-7iPkMQaX.js} +13 -12
  3. package/dist/Autocomplete-B6Mwp9rT.js +50 -0
  4. package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-C-El55Lz.js} +1 -1
  5. package/dist/{Autocomplete-LQiKcvz1.js → Autocomplete-PZTjEBIx.js} +11 -10
  6. package/dist/{CSharp-BIFRQLaK.js → CSharp-BQUrQwua.js} +1 -1
  7. package/dist/{Calender-DPNTn-S4.js → Calender-CJXR7uhM.js} +2 -2
  8. package/dist/Callback-CyDW9WU2.js +21 -0
  9. package/dist/{Cascader-Vhc81TDV.js → Cascader-CFc_8QSm.js} +18 -17
  10. package/dist/Cascader-DMQjalNv.js +47 -0
  11. package/dist/{Checkbox-D9Sp6ZGQ.js → Checkbox-aU8e779g.js} +12 -11
  12. package/dist/{Checkbox-CIim5NiB.js → Checkbox-pV01os-T.js} +1 -1
  13. package/dist/Code-C0Kxulod.js +4 -0
  14. package/dist/Code-C4pIa8BE.js +60 -0
  15. package/dist/Code-CCJx9RSm.js +42 -0
  16. package/dist/{Code-yDKaH1uF.js → Code-kDBbVC1W.js} +1 -1
  17. package/dist/Code.vue_vue_type_style_index_0_lang-36NN7tgP.js +65 -0
  18. package/dist/Column-BebDf5Z9.js +75 -0
  19. package/dist/{Comment-tU2wBvGO.js → Comment-BgfD9WtL.js} +25 -19
  20. package/dist/{Compare-DqvGyQWA.js → Compare-BZucuvFP.js} +9 -8
  21. package/dist/{Compare-D7Gz-lE9.js → Compare-D-Byn_Gq.js} +11 -10
  22. package/dist/Copy-DW4jSNQi.js +44 -0
  23. package/dist/Custom-DIF-RYi3.js +55 -0
  24. package/dist/{DataExport-BDftKI0U.js → DataExport-CyQy2xjO.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +28 -27
  26. package/dist/{DataImport-CRYaaQfA.js → DataImport-BVF83UsQ.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +31 -30
  28. package/dist/{Date-Dlh1_S7p.js → Date-CqpFvbYZ.js} +1 -1
  29. package/dist/{Date-DPPiYLWw.js → Date-g1XKWU4b.js} +8 -7
  30. package/dist/{DateRange-BgF_T3ls.js → DateRange-B2afkdbT.js} +6 -5
  31. package/dist/{DateTime-DP-VfmtN.js → DateTime-D_x_wBZR.js} +8 -7
  32. package/dist/{DateTime-CNjPeK9t.js → DateTime-Zi3vtH77.js} +1 -1
  33. package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BFWM_U7H.js} +10 -9
  34. package/dist/{Daterange-DHVjhrK9.js → Daterange-tXA0b0Ak.js} +5 -4
  35. package/dist/{Decimal-BDEWVSsK.js → Decimal-DKQ38XS_.js} +1 -1
  36. package/dist/{Delete-Bl0GmthL.js → Delete-BOkBpAGN.js} +20 -19
  37. package/dist/{Detail-BozyhOTt.js → Detail-SWgERqKG.js} +11 -10
  38. package/dist/{Dictionary-CJwZPQz6.js → Dictionary-Xsj_Qorw.js} +15 -9
  39. package/dist/{Email-D5X1SzuJ.js → Email-DILPnLkb.js} +12 -11
  40. package/dist/{File-DixK0K7p.js → File-BDUTK7hV.js} +40 -39
  41. package/dist/Image-Yx3ZHHJK.js +9 -0
  42. package/dist/Index-BTa4YIN9.js +174 -0
  43. package/dist/Index-BWukqxQl.js +4 -0
  44. package/dist/Index-BahY1OIJ.js +4 -0
  45. package/dist/Index-C9ffFYsl.js +4 -0
  46. package/dist/{Index-j15c7lwJ.js → Index-CiQQmYeA.js} +1 -1
  47. package/dist/Index-DG7Hovsx.js +4 -0
  48. package/dist/{Index-D2FOeoNQ.js → Index-DeYqTT9Q.js} +1 -1
  49. package/dist/{Index-DbXgnBz6.js → Index-WVLyjyqt.js} +16 -15
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +13 -12
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js} +21 -15
  52. package/dist/{Install-WR3b4IfI.js → Install-DW5uDsXF.js} +14 -13
  53. package/dist/{Int-GGWiUqO2.js → Int-BM4sbZvh.js} +14 -13
  54. package/dist/{Int-CWsDtoxE.js → Int-BrFE_Hmm.js} +10 -9
  55. package/dist/List-DWjTqrJR.js +72 -0
  56. package/dist/Maintaince-DF3nu9Jd.js +20 -0
  57. package/dist/{Markdown-nVfQs7kc.js → Markdown-BC8l7O_U.js} +1 -1
  58. package/dist/{Month-CxKMP4kO.js → Month-DRa9o-WC.js} +1 -1
  59. package/dist/{Month-DnYlAi7k.js → Month-QG6OiiLU.js} +11 -10
  60. package/dist/Month-Y0kLXgV7.js +38 -0
  61. package/dist/{Normal-RcqEyIFN.js → Normal-CSy3DFPH.js} +50 -49
  62. package/dist/{Paging-DrdGzxeP.js → Paging-BYccIXmC.js} +43 -42
  63. package/dist/{PagingHeader-C8UpM9Kj.js → PagingHeader-U-oJ1TQE.js} +16 -15
  64. package/dist/{PagingRow-oQWCofO4.js → PagingRow-BmokRXX3.js} +14 -13
  65. package/dist/{Racebar-CvoF2ySW.js → Racebar-BvFHNGb8.js} +28 -22
  66. package/dist/{Radio-DhjfkC14.js → Radio-CjfXrTOE.js} +1 -1
  67. package/dist/{Register-B0Vx60wY.js → Register-BG-3_Q2E.js} +55 -54
  68. package/dist/RichText-C88f59ao.js +47 -0
  69. package/dist/{SearchForm-BHVnQaSL.js → SearchForm-C0zqD7UP.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +46 -45
  71. package/dist/{SearchHeader-C9yovXli.js → SearchHeader-e2LOidgU.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js} +1 -1
  73. package/dist/{Select-vgwpegBi.js → Select-CfIvGDPS.js} +21 -20
  74. package/dist/{Select-CX4i5KPQ.js → Select-CvP_zGxM.js} +1 -1
  75. package/dist/{Select-BDoCqD3I.js → Select-Cz6MPDCC.js} +11 -10
  76. package/dist/{Single-C3629BdC.js → Single-p-8OfzhQ.js} +101 -100
  77. package/dist/{Statistic-WPezAlUn.js → Statistic-BIKfbZCI.js} +32 -31
  78. package/dist/{Stock-EPM3j2f_.js → Stock-B7RP-SuF.js} +1 -1
  79. package/dist/{Stock-BD5Acf8y.js → Stock-BhOP8J0c.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +20 -19
  81. package/dist/{Switch-B0XN4K-9.js → Switch-BcDhe4_E.js} +1 -1
  82. package/dist/{Table-BklK1hSh.js → Table-Cy7FarYr.js} +71 -70
  83. package/dist/{Table-JFdOXuME.js → Table-DK-TaejU.js} +58 -57
  84. package/dist/Text-B580p9od.js +49 -0
  85. package/dist/Text-D89aQLxL.js +4 -0
  86. package/dist/{Text-DrJkdxZF.js → Text-YNB0It4-.js} +13 -12
  87. package/dist/Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js +59 -0
  88. package/dist/{TextLink-BnijIoEJ.js → TextLink-CI-AIgdm.js} +9 -8
  89. package/dist/{Textarea-3SWLqQvO.js → Textarea-86C9lCtg.js} +1 -1
  90. package/dist/{Time-C3qlNZkJ.js → Time-BgArfSc6.js} +10 -9
  91. package/dist/{Timeline-B6hUIYhL.js → Timeline-O_jWjdxT.js} +19 -13
  92. package/dist/{Tree-JexLPBXX.js → Tree-BfFRW-xZ.js} +41 -35
  93. package/dist/{Tree-DBvFF4Rj.js → Tree-DayADkaC.js} +73 -72
  94. package/dist/{TreeNode-BOWB2WN9.js → TreeNode-BZp8w6M5.js} +10 -9
  95. package/dist/{Update-CDLYYwgj.js → Update-Bcdz87R4.js} +6 -5
  96. package/dist/{UpdateChild-DUG7pAuO.js → UpdateChild-YzPMnj_r.js} +20 -19
  97. package/dist/{Upload-B2hbxDsT.js → Upload-DU5VOqXj.js} +47 -46
  98. package/dist/Upload-Dj5nSsug.js +71 -0
  99. package/dist/{Year-BUF60NmB.js → Year-B3E0kOiA.js} +8 -7
  100. package/dist/{Year-BRsJ7b1J.js → Year-CcbzIuwy.js} +1 -1
  101. package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
  102. package/dist/assets/clone-BZn0cTAu.js +134 -0
  103. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  104. package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -0
  105. package/dist/assets/moment-h96o7c8I.js +2578 -0
  106. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  107. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  108. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  109. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  110. package/dist/main-DxH9UW19.js +10723 -0
  111. package/dist/main.js +60 -59
  112. package/dist/style.css +1 -1
  113. package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
  114. package/package.json +1 -1
  115. package/dist/Autocomplete-BfhYwZ5G.js +0 -49
  116. package/dist/Callback-Ci5KrWOC.js +0 -20
  117. package/dist/Cascader-CnOEgPDf.js +0 -41
  118. package/dist/Code-BEjqqeFZ.js +0 -54
  119. package/dist/Code-BSrEPuXk.js +0 -4
  120. package/dist/Code-Dp1-k8sW.js +0 -36
  121. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
  122. package/dist/Column-B0ViSver.js +0 -69
  123. package/dist/Copy-Dm1LH9qB.js +0 -43
  124. package/dist/Custom-CLKAPWEo.js +0 -49
  125. package/dist/Image-BrelhCGo.js +0 -9
  126. package/dist/Index-BeM6hKX9.js +0 -4
  127. package/dist/Index-BkfLyqpm.js +0 -173
  128. package/dist/Index-D8UVsXwf.js +0 -4
  129. package/dist/Index-FL-dxfFB.js +0 -4
  130. package/dist/Index-fWOqfFkG.js +0 -4
  131. package/dist/List-kRCsHp6d.js +0 -71
  132. package/dist/Maintaince-BG8MUi3A.js +0 -14
  133. package/dist/Month-B1icZmL4.js +0 -37
  134. package/dist/RichText-4wrLw9cy.js +0 -41
  135. package/dist/Text-CNtHdodK.js +0 -4
  136. package/dist/Text-KAuEjP7I.js +0 -48
  137. package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
  138. package/dist/Upload-mlk6Y4Po.js +0 -65
  139. package/dist/main-DymfKjqO.js +0 -16480
@@ -1,14 +1,15 @@
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";
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-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
3
4
  import "element-plus";
4
5
  import "vue-router";
5
6
  import "./assets/intro.js-Cg1adLK7.js";
6
- const E = { class: "option-text" }, O = {
7
+ const E = { class: "option-text" }, F = {
7
8
  key: 0,
8
9
  class: "option-suffix"
9
- }, j = /* @__PURE__ */ k({
10
+ }, z = /* @__PURE__ */ k({
10
11
  __name: "Install",
11
- setup(R) {
12
+ setup(O) {
12
13
  let n = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
13
14
  { value: "SqlServer", text: "SqlServer" },
14
15
  { value: "MySql", text: "MySql" },
@@ -20,7 +21,7 @@ const E = { class: "option-text" }, O = {
20
21
  u.value = !0, i.value.validate((f, l) => {
21
22
  if (!f)
22
23
  return u.value = !1, !1;
23
- w.post("/app/install", n.value).then(({ data: p }) => {
24
+ w.post("/app/install", n.value).then(({ data: d }) => {
24
25
  }).finally(() => {
25
26
  u.value = !1;
26
27
  });
@@ -28,8 +29,8 @@ const E = { class: "option-text" }, O = {
28
29
  };
29
30
  return C(() => {
30
31
  }), (f, l) => {
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), {
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), {
33
34
  class: "ha-install",
34
35
  title: "数据库信息"
35
36
  }, {
@@ -50,7 +51,7 @@ const E = { class: "option-text" }, O = {
50
51
  rules: [{ required: !0, message: "数据库名不能为空" }]
51
52
  }, {
52
53
  default: a(() => [
53
- o(p, {
54
+ o(d, {
54
55
  type: "text",
55
56
  modelValue: t(n).name,
56
57
  "onUpdate:modelValue": l[0] || (l[0] = (e) => t(n).name = e)
@@ -69,14 +70,14 @@ const E = { class: "option-text" }, O = {
69
70
  "onUpdate:modelValue": l[1] || (l[1] = (e) => t(n).type = e)
70
71
  }, {
71
72
  default: a(() => [
72
- (d(!0), c(M, null, N(t(y), (e) => (d(), _(S, {
73
+ (p(!0), c(M, null, N(t(y), (e) => (p(), _(S, {
73
74
  value: e.value,
74
75
  label: e.text + (e.value ? "(" + e.value + ")" : ""),
75
76
  key: `${e.value}`
76
77
  }, {
77
78
  default: a(() => [
78
79
  B("span", E, x(e.text), 1),
79
- e.value ? (d(), c("span", O, "(" + x(e.value) + ")", 1)) : T("", !0)
80
+ e.value ? (p(), c("span", F, "(" + x(e.value) + ")", 1)) : T("", !0)
80
81
  ]),
81
82
  _: 2
82
83
  }, 1032, ["value", "label"]))), 128))
@@ -92,7 +93,7 @@ const E = { class: "option-text" }, O = {
92
93
  rules: [{ required: !0, message: "数据库连接串不能为空" }]
93
94
  }, {
94
95
  default: a(() => [
95
- o(p, {
96
+ o(d, {
96
97
  type: "textarea",
97
98
  modelValue: t(n).conn,
98
99
  "onUpdate:modelValue": l[2] || (l[2] = (e) => t(n).conn = e)
@@ -125,5 +126,5 @@ const E = { class: "option-text" }, O = {
125
126
  }
126
127
  });
127
128
  export {
128
- j as default
129
+ z as default
129
130
  };
@@ -1,6 +1,7 @@
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({
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-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const C = /* @__PURE__ */ b({
4
5
  __name: "Int",
5
6
  props: {
6
7
  schema: {},
@@ -11,27 +12,27 @@ const C = /* @__PURE__ */ c({
11
12
  modelValue: {}
12
13
  },
13
14
  emits: ["submit", "change", "update:modelValue"],
14
- setup(r, { emit: i }) {
15
- let l = i, s = r, { table: d, field: n, set: w, modelValue: a } = f(s), p = () => {
15
+ setup(m, { emit: u }) {
16
+ let l = u, s = m, { table: d, field: a, set: k, modelValue: n } = f(s), p = () => {
16
17
  l("submit");
17
18
  }, t = _({
18
19
  get() {
19
- if (K.string.isNumber(a.value))
20
- return a.value;
20
+ if (K.string.isNumber(n.value))
21
+ return n.value;
21
22
  },
22
23
  set(o) {
23
24
  l("update:modelValue", o), l("change", o);
24
25
  }
25
26
  });
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),
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),
30
31
  "controls-position": "right",
31
- disabled: e(n).control.readonly,
32
+ disabled: e(a).control.readonly,
32
33
  onKeyup: v(e(p), ["enter", "native"]),
33
34
  modelValue: e(t),
34
- "onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
35
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => y(t) ? t.value = i : t = i)
35
36
  }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
36
37
  };
37
38
  }
@@ -1,6 +1,7 @@
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({
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-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const R = /* @__PURE__ */ f({
4
5
  __name: "Int",
5
6
  props: {
6
7
  schema: {},
@@ -11,11 +12,11 @@ const N = /* @__PURE__ */ f({
11
12
  },
12
13
  emits: ["change", "submit", "update:modelValue"],
13
14
  setup(m, { emit: u }) {
14
- let l = u, p = m, { table: s, field: r, searchData: x, modelValue: i } = _(p), d = () => {
15
+ let l = u, p = m, { table: r, field: i, searchData: B, modelValue: s } = _(p), d = () => {
15
16
  l("submit");
16
17
  }, o = h({
17
18
  get() {
18
- return i.value;
19
+ return s.value;
19
20
  },
20
21
  set(t) {
21
22
  isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
@@ -24,15 +25,15 @@ const N = /* @__PURE__ */ f({
24
25
  return (t, n) => {
25
26
  const c = b("el-input-number");
26
27
  return V(), g(c, {
27
- placeholder: e(K)("common.please_input") + e(k)(e(s).name, e(r).name),
28
+ placeholder: e(k)("common.please_input") + e(x)(e(r).name, e(i).name),
28
29
  "controls-position": "right",
29
- onKeyup: C(e(d), ["enter", "native"]),
30
+ onKeyup: y(e(d), ["enter", "native"]),
30
31
  modelValue: e(o),
31
- "onUpdate:modelValue": n[0] || (n[0] = (a) => y(o) ? o.value = a : o = a)
32
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => K(o) ? o.value = a : o = a)
32
33
  }, null, 8, ["placeholder", "onKeyup", "modelValue"]);
33
34
  };
34
35
  }
35
36
  });
36
37
  export {
37
- N as default
38
+ R as default
38
39
  };
@@ -0,0 +1,72 @@
1
+ import { defineComponent as K, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as V, resolveDynamicComponent as $, unref as t, withCtx as j, createElementVNode as A, toDisplayString as G } from "vue";
2
+ import { U as n, c as H, i as I, d, e as J, m as h } from "./main-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const M = { class: "not-support" }, Y = /* @__PURE__ */ K({
5
+ __name: "List",
6
+ props: {
7
+ base: {},
8
+ route: {},
9
+ url: {},
10
+ win: {}
11
+ },
12
+ emits: ["load", "navigate"],
13
+ setup(b, { expose: R, emit: P }) {
14
+ let v = P, k = b, { url: p, base: g, route: u } = E(k), y = o(), s = o(), r = o(), f = o(), x = o(), i = o(), c = o(), q = (e) => {
15
+ let l = n.url.getPath(e), a = n.url.getPath(p.value);
16
+ return l != a;
17
+ }, C = (e) => {
18
+ let l = n.url.getPath(p.value), a = n.url.getPath(e);
19
+ return l != a;
20
+ }, S = (e) => {
21
+ var a;
22
+ let l = H(e.module.type, e.module.name);
23
+ I.setTitle(l, e.module.env), y.value = e.module, s.value = d.expandSchema(e.schema, e.set), r.value = (a = s.value) == null ? void 0 : a[0], f.value = e.next, x.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(s.value, u.value.query.condition);
24
+ }, m = (e = null, l = null) => {
25
+ let a = e ?? u.value.query, B = n.url.getUrl(u.value.path, a);
26
+ v("load", B, !1, l);
27
+ }, w = (e) => {
28
+ m(null, e);
29
+ }, D = (e) => {
30
+ v("navigate", e);
31
+ }, L = async (e) => {
32
+ let l = u.value.query;
33
+ l.condition = J.encode(c.value), m(l, e);
34
+ }, _ = () => {
35
+ m();
36
+ }, N = (e, l) => {
37
+ h.triggerKeyboard(i.value, e, l);
38
+ }, U = (e) => {
39
+ h.triggerSocket(i.value, e);
40
+ }, z = (e) => {
41
+ h.triggerResize(i.value, e);
42
+ };
43
+ return (() => {
44
+ S(g.value.data);
45
+ })(), F(() => g.value, (e) => {
46
+ S(e.data);
47
+ }), R({ shouldLoad: q, shouldSpin: C, onRefresh: _, onKeyboard: N, onSocket: U, onResize: z }), (e, l) => (T(), V($(`list-${t(r).layouts[0].type.toLowerCase()}`), {
48
+ ref_key: "listRef",
49
+ ref: i,
50
+ route: t(u),
51
+ module: t(y),
52
+ schema: t(s),
53
+ table: t(r),
54
+ layout: t(r).layouts[0],
55
+ next: t(f),
56
+ set: t(x),
57
+ "search-data": t(c),
58
+ onSucceed: t(w),
59
+ onSearch: t(L),
60
+ onNavigate: t(D),
61
+ onRefresh: t(_)
62
+ }, {
63
+ default: j(() => [
64
+ A("div", M, "未支持的列表布局方式:" + G(t(r).layouts[0].type), 1)
65
+ ]),
66
+ _: 1
67
+ }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
68
+ }
69
+ });
70
+ export {
71
+ Y as default
72
+ };
@@ -0,0 +1,20 @@
1
+ import { defineComponent as o, openBlock as i, createElementBlock as n, createElementVNode as e, toDisplayString as r, unref as s } from "vue";
2
+ import { z as m } from "./main-DxH9UW19.js";
3
+ import "./assets/liquidjs-BfOWWjtJ.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";
9
+ const p = { class: "maintenance" }, a = { class: "description" }, B = /* @__PURE__ */ o({
10
+ __name: "Maintaince",
11
+ setup(c) {
12
+ return (l, t) => (i(), n("div", p, [
13
+ t[0] || (t[0] = e("div", { class: "title" }, "系统维护中", -1)),
14
+ e("div", a, r(s(m)), 1)
15
+ ]));
16
+ }
17
+ });
18
+ export {
19
+ B as default
20
+ };
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Text-CNtHdodK.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let r = i(() => import("./Text-D89aQLxL.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),
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let s = i(() => import("./Text-CNtHdodK.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
13
+ let s = i(() => import("./Text-D89aQLxL.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,6 +1,7 @@
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({
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-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const y = /* @__PURE__ */ i({
4
5
  __name: "Month",
5
6
  props: {
6
7
  schema: {},
@@ -12,17 +13,17 @@ const x = /* @__PURE__ */ i({
12
13
  },
13
14
  emits: ["submit", "change", "update:modelValue"],
14
15
  setup(n, { emit: r }) {
15
- let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
16
+ let t = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
16
17
  get() {
17
18
  return s.value;
18
19
  },
19
- set(t) {
20
- o("update:modelValue", t), o("change", t);
20
+ set(o) {
21
+ t("update:modelValue", o), t("change", o);
21
22
  }
22
23
  });
23
- return (t, m) => {
24
- const c = V("el-date-picker");
25
- return h(), b(c, {
24
+ return (o, m) => {
25
+ const c = h("el-date-picker");
26
+ return V(), b(c, {
26
27
  type: "month",
27
28
  placeholder: e(Y)(e(u).name, e(a).name),
28
29
  "value-format": "YYYY-MM",
@@ -34,5 +35,5 @@ const x = /* @__PURE__ */ i({
34
35
  }
35
36
  });
36
37
  export {
37
- x as default
38
+ y as default
38
39
  };
@@ -0,0 +1,38 @@
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-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const y = /* @__PURE__ */ i({
5
+ __name: "Month",
6
+ props: {
7
+ schema: {},
8
+ table: {},
9
+ field: {},
10
+ searchData: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(r, { emit: n }) {
15
+ let t = n, p = r, { table: u, field: a, searchData: g, modelValue: s } = f(p), l = _({
16
+ get() {
17
+ return s.value;
18
+ },
19
+ set(o) {
20
+ t("update:modelValue", o), t("change", o);
21
+ }
22
+ });
23
+ return (o, m) => {
24
+ const c = h("el-date-picker");
25
+ return V(), b(c, {
26
+ type: "month",
27
+ placeholder: e(Y)(e(u).name, e(a).name),
28
+ "value-format": "YYYY-MM",
29
+ disabled: e(a).control.readonly,
30
+ modelValue: e(l),
31
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
32
+ }, null, 8, ["placeholder", "disabled", "modelValue"]);
33
+ };
34
+ }
35
+ });
36
+ export {
37
+ y as default
38
+ };
@@ -1,5 +1,6 @@
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";
1
+ import { defineComponent as he, toRefs as fe, ref as x, 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 we, J as xe } from "./main-DxH9UW19.js";
3
+ import "./assets/moment-h96o7c8I.js";
3
4
  import "vue-router";
4
5
  import "./assets/intro.js-Cg1adLK7.js";
5
6
  const Re = {
@@ -12,7 +13,7 @@ const Re = {
12
13
  }, $e = {
13
14
  key: 0,
14
15
  class: "normal-selection"
15
- }, ze = { class: "normal-content" }, Fe = /* @__PURE__ */ he({
16
+ }, ze = { class: "normal-content" }, qe = /* @__PURE__ */ he({
16
17
  __name: "Normal",
17
18
  props: {
18
19
  route: {},
@@ -28,30 +29,30 @@ const Re = {
28
29
  },
29
30
  emits: ["change", "submit"],
30
31
  setup(X, { expose: Y, emit: Z }) {
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
+ let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = fe(ee), p = x({ page: 1, count: c.value[t.value.name].length }), C = x([]), b = x(), A = x([]), T = x(), le = (l) => {
33
+ A.value.push(l);
33
34
  }, te = () => {
34
35
  p.value.page = 1;
35
36
  }, ae = () => {
36
- b.value = G(t.value);
37
- let l = D.getDefaultRow(t.value);
37
+ b.value = J(t.value);
38
+ let l = N.getDefaultRow(t.value);
38
39
  c.value[t.value.name].push(l);
39
40
  }, ne = () => {
40
41
  let l = c.value[t.value.name];
41
- k.value.forEach((a) => {
42
+ C.value.forEach((a) => {
42
43
  l.splice(l.indexOf(a), 1);
43
- }), k.value = [], T.value.forEach((a) => {
44
+ }), C.value = [], A.value.forEach((a) => {
44
45
  a.model && (a.model = !1);
45
46
  });
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
+ }, U = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
48
+ N.updateTooltip(o, u, v), M("change", l, a, o, u, v);
48
49
  }, ue = (l, a) => {
49
- l ? k.value.push(a) : Q.array.remove(k.value, a);
50
+ l ? C.value.push(a) : P.array.remove(C.value, a);
50
51
  }, re = (l) => {
51
52
  M("submit", l);
52
53
  }, se = (l, a = null) => {
53
54
  p.value.page = l;
54
- }, G = (l) => {
55
+ }, J = (l) => {
55
56
  if (l.main || l.search.length == 0)
56
57
  return null;
57
58
  let a = {};
@@ -60,28 +61,28 @@ const Re = {
60
61
  });
61
62
  let o = {};
62
63
  return o[l.name] = a, o;
63
- }, H = (l) => {
64
- b.value = G(l);
64
+ }, W = (l) => {
65
+ b.value = J(l);
65
66
  }, me = () => {
66
67
  F();
67
68
  }, ce = (l) => {
68
- H(l.schema[0]);
69
+ W(l.schema[0]);
69
70
  }, F = () => {
70
- let l = j.value.clientWidth;
71
+ let l = T.value.clientWidth;
71
72
  i.value.column = Math.ceil(l / 500);
72
73
  }, ie = () => {
73
- F(), H(t.value);
74
+ F(), W(t.value);
74
75
  };
75
76
  ge(() => {
76
77
  ie();
77
78
  });
78
- let pe = E(() => P.splitRows(t.value.search, i.value.column)), J = E(() => {
79
+ let pe = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
79
80
  if (!b.value)
80
81
  return c.value[t.value.name];
81
82
  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(($) => {
82
83
  let f = !0;
83
- for (let x = 0; x < t.value.search.length; x++) {
84
- let y = t.value.search[x], s = $[y.name], h = l[y.name];
84
+ for (let w = 0; w < t.value.search.length; w++) {
85
+ let y = t.value.search[w], s = $[y.name], h = l[y.name];
85
86
  if (h) {
86
87
  if (y.search == "Equals") {
87
88
  if (s !== h) {
@@ -97,24 +98,24 @@ const Re = {
97
98
  return f;
98
99
  });
99
100
  return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
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");
101
+ }), ve = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
102
+ let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
103
+ return ke.getComponent(`${l}/update-child`, "partial", "update-child");
103
104
  });
104
105
  return B(() => c.value[t.value.name], (l, a) => {
105
- let o = l.length, u = a.length, v = Q.math.pageCount(c.value[t.value.name].length, i.value.size);
106
+ let o = l.length, u = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.size);
106
107
  (o > u || o < u && p.value.page > v) && (p.value.page = v);
107
- }, { deep: !0 }), B(A, (l, a) => {
108
+ }, { deep: !0 }), B(j, (l, a) => {
108
109
  let o = l.find((u) => u.table == t.value.name);
109
110
  o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
110
111
  }), B(t, (l, a) => {
111
112
  F();
112
113
  }), Y({ onResize: me, update: ce }), (l, a) => {
113
- const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
114
+ const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), w = _("el-popover"), y = _("el-pagination");
114
115
  return n(), d("div", {
115
116
  ref_key: "normalRef",
116
- ref: j,
117
- class: K(["ha-normal-layout", { draggable: e(i).sort }])
117
+ ref: T,
118
+ class: H(["ha-normal-layout", { draggable: e(i).sort }])
118
119
  }, [
119
120
  e(b) ? (n(), g($, {
120
121
  key: 0,
@@ -131,12 +132,12 @@ const Re = {
131
132
  key: q
132
133
  }, {
133
134
  default: m(() => [
134
- C(o, {
135
+ k(o, {
135
136
  label: r.label
136
137
  }, {
137
138
  default: m(() => [
138
- C(e(U), {
139
- schema: e(N),
139
+ k(e(Q), {
140
+ schema: e(D),
140
141
  table: e(t),
141
142
  field: r,
142
143
  set: e(b),
@@ -154,12 +155,12 @@ const Re = {
154
155
  ]),
155
156
  _: 1
156
157
  })) : V("", !0),
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 }])
158
+ e(G).length ? (n(), d("div", Se, [
159
+ (n(!0), d(R, null, S(e(G), (s) => (n(), d("div", {
160
+ class: H(["normal-row", { main: e(t).main }])
160
161
  }, [
161
162
  e(t).main ? V("", !0) : (n(), d("div", $e, [
162
- C(f, {
163
+ k(f, {
163
164
  ref_for: !0,
164
165
  ref: e(le),
165
166
  class: "normal-checkbox",
@@ -175,17 +176,17 @@ const Re = {
175
176
  key: `${e(t).name}.${r.name}`
176
177
  }, {
177
178
  default: m(() => [
178
- C(o, {
179
- style: _e(e(P).getStyle(r, e(O).type, e(i).type)),
179
+ k(o, {
180
+ style: _e(e(K).getStyle(r, e(O).type, e(i).type)),
180
181
  label: r.label,
181
- rules: e(D).getRules(e(A), e(t), r, e(W)(s)),
182
- prop: `[${e(t).name}][${e(W)(s)}][${r.name}]`
182
+ rules: e(N).getRules(e(j), e(t), r, e(U)(s)),
183
+ prop: `[${e(t).name}][${e(U)(s)}][${r.name}]`
183
184
  }, {
184
185
  label: m(() => {
185
186
  var z;
186
187
  return [
187
- be(I(e(xe)(e(t).name, r.name)) + " ", 1),
188
- (z = r.control.tooltip) != null && z.content ? (n(), g(x, {
188
+ be(I(e(we)(e(t).name, r.name)) + " ", 1),
189
+ (z = r.control.tooltip) != null && z.content ? (n(), g(w, {
189
190
  key: 0,
190
191
  trigger: "hover",
191
192
  placement: "top",
@@ -203,8 +204,8 @@ const Re = {
203
204
  ];
204
205
  }),
205
206
  default: m(() => [
206
- C(e(U), {
207
- schema: e(N),
207
+ k(e(Q), {
208
+ schema: e(D),
208
209
  set: e(c),
209
210
  table: e(t),
210
211
  row: s,
@@ -223,20 +224,20 @@ const Re = {
223
224
  }, 1024))), 256))
224
225
  ])
225
226
  ], 2))), 256))
226
- ], 512)) : (n(), d("div", Re, I(e(ke)("common.no_data")), 1)),
227
- e(t).main ? V("", !0) : (n(), g(e(we), { key: 3 }, {
227
+ ], 512)) : (n(), d("div", Re, I(e(Ce)("common.no_data")), 1)),
228
+ e(t).main ? V("", !0) : (n(), g(e(xe), { key: 3 }, {
228
229
  left: m(() => [
229
230
  (n(), g(ye(e(de)), {
230
231
  module: e(O),
231
232
  set: e(c),
232
233
  table: e(t),
233
- selection: e(k),
234
+ selection: e(C),
234
235
  onAdd: e(ae),
235
236
  onRemove: e(ne)
236
237
  }, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
237
238
  ]),
238
239
  default: m(() => [
239
- C(y, {
240
+ k(y, {
240
241
  background: "",
241
242
  layout: "total, prev, pager, next, jumper",
242
243
  "current-page": e(p).page,
@@ -252,5 +253,5 @@ const Re = {
252
253
  }
253
254
  });
254
255
  export {
255
- Fe as default
256
+ qe as default
256
257
  };