halo-pc 1.0.16 → 1.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/dist/{Article-DASEvkfO.js → Article-C00dDtgQ.js} +2 -2
  2. package/dist/{ArticleFooter-BSesl8iy.js → ArticleFooter-jAlMJJ0Z.js} +1 -1
  3. package/dist/{Autocomplete-DToic2Cg.js → Autocomplete-BYlz8Q3t.js} +1 -1
  4. package/dist/{Autocomplete-CzfOoMve.js → Autocomplete-CQ-UuksH.js} +1 -1
  5. package/dist/{Autocomplete-ClAQY5V5.js → Autocomplete-DYgdzQEa.js} +1 -1
  6. package/dist/{CSharp-23QccebX.js → CSharp-ouau54_s.js} +1 -1
  7. package/dist/{Calender-DZkQaIeV.js → Calender-iu_I3vcU.js} +1 -1
  8. package/dist/{Callback-CWBDUe_C.js → Callback-bRXyRBO2.js} +1 -1
  9. package/dist/{Cascader-CpD_hbhQ.js → Cascader-BJs2FXbQ.js} +1 -1
  10. package/dist/{Cascader-BDfFyqiv.js → Cascader-ljR17aOe.js} +1 -1
  11. package/dist/{Checkbox--gCBkIuI.js → Checkbox-C2OWgiE1.js} +1 -1
  12. package/dist/{Checkbox-SLi7MK1r.js → Checkbox-Cy5zNH7D.js} +1 -1
  13. package/dist/{Code-nrn4wOhB.js → Code-B9oyIhEo.js} +4 -4
  14. package/dist/{Code-CO4WPAe_.js → Code-C8zrvj8s.js} +1 -1
  15. package/dist/{Code-BVTjF5rW.js → Code-Cruabofi.js} +4 -4
  16. package/dist/{Code-C4hdU4t4.js → Code-DTvIe3kd.js} +1 -1
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js → Code.vue_vue_type_style_index_0_lang-BmQDWq2q.js} +7 -7
  18. package/dist/{Column-DcMAu4JL.js → Column-ClHvuVuz.js} +8 -8
  19. package/dist/{Comment-CPxVIapg.js → Comment-D292jtJC.js} +1 -1
  20. package/dist/{Compare-C2oFy0EZ.js → Compare-CGW1IWLh.js} +1 -1
  21. package/dist/{Compare-P9zOBC1v.js → Compare-DjrTKaz2.js} +1 -1
  22. package/dist/{Copy-B5vrho98.js → Copy-CvgX-bKU.js} +1 -1
  23. package/dist/{Custom-BETJLilj.js → Custom-4bEXZx8t.js} +10 -10
  24. package/dist/{DataExport-YTc4EX6l.js → DataExport-DH0oVaJf.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-amvVzv4A.js → DataExport.vue_vue_type_script_setup_true_lang-BV2aSpcq.js} +1 -1
  26. package/dist/{DataImport-ByV8MQkV.js → DataImport-D73iWOit.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-CYwCKg5Z.js → DataImport.vue_vue_type_script_setup_true_lang-B39IZpM3.js} +33 -33
  28. package/dist/{Date-DbTzQla9.js → Date-BJ2vBWIM.js} +1 -1
  29. package/dist/{Date-DpiWNuFs.js → Date-DCtZ8VpD.js} +1 -1
  30. package/dist/{DateRange-Su0Q2cwY.js → DateRange-BWXik5I2.js} +3 -3
  31. package/dist/{DateTime-QyKfqaVG.js → DateTime-BBHPa2zE.js} +1 -1
  32. package/dist/{DateTime-C3NrioJi.js → DateTime-D_GCbnKC.js} +1 -1
  33. package/dist/{DateTimeRange-lytkhCjC.js → DateTimeRange-C4-4mq77.js} +4 -4
  34. package/dist/{Daterange-D7ZHkOmo.js → Daterange-CPVrg_r8.js} +5 -5
  35. package/dist/{Decimal-CTTT98BQ.js → Decimal-Bv5A7-xm.js} +1 -1
  36. package/dist/{Delete-MfXy7gUi.js → Delete-lSTmw_3a.js} +4 -4
  37. package/dist/{Detail-CUiSzyT7.js → Detail-Dfvzkkw6.js} +1 -1
  38. package/dist/{Dictionary-Dd_IU-Hn.js → Dictionary-thXsHbOo.js} +8 -8
  39. package/dist/{Email-BzN4JpJv.js → Email-BDg7Qf9f.js} +1 -1
  40. package/dist/{File-Ckh37Ne2.js → File-TEaB_uIR.js} +13 -13
  41. package/dist/{Image-Dkd69DoD.js → Image-BqCjtyvc.js} +1 -1
  42. package/dist/Index-BCku46lC.js +4 -0
  43. package/dist/Index-BLoAow8U.js +4 -0
  44. package/dist/{Index-DJJcNPgN.js → Index-BQKjFLbE.js} +11 -11
  45. package/dist/{Index-G36KYPCK.js → Index-BuhrNqZE.js} +1 -1
  46. package/dist/Index-C3Dtv0ze.js +4 -0
  47. package/dist/{Index-DlrpDUD3.js → Index-Cn5Qex6Q.js} +1 -1
  48. package/dist/{Index-x4c71OJZ.js → Index-DapcfeaN.js} +1 -1
  49. package/dist/{Index-DxvVjg9S.js → Index-ld-kC6ij.js} +2 -2
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js → Index.vue_vue_type_script_setup_true_lang-BKPwS2s9.js} +4 -4
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-oQyBcgPa.js → Index.vue_vue_type_script_setup_true_lang-zlsTcQ-k.js} +3 -3
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-DVYceMeD.js → Index.vue_vue_type_style_index_0_lang-CqjK1AVM.js} +2 -2
  53. package/dist/{Install-BW_ulT9I.js → Install-BQ_rGQFg.js} +1 -1
  54. package/dist/{Int-BRqYiJo7.js → Int-C33TxFtW.js} +1 -1
  55. package/dist/{Int-BYSjwPG_.js → Int-DRcbQElJ.js} +1 -1
  56. package/dist/{List-DAFqVlam.js → List-CSkx_cTr.js} +6 -6
  57. package/dist/{Maintaince-B8mM4PEp.js → Maintaince-D0JZ-9mL.js} +2 -2
  58. package/dist/{Markdown-BXKlgSON.js → Markdown-DjbgXlE6.js} +1 -1
  59. package/dist/{Month-DKeTzNrD.js → Month-68Hi85T_.js} +1 -1
  60. package/dist/{Month-BiW1DL44.js → Month-C_sIkUIo.js} +1 -1
  61. package/dist/{Month-BHvq72xE.js → Month-unY9f1-N.js} +1 -1
  62. package/dist/{Normal-CgSREifM.js → Normal-BAoQvNjn.js} +47 -47
  63. package/dist/{Paging-D02YApLL.js → Paging-BNVKLCCy.js} +2 -2
  64. package/dist/{PagingHeader-DJ7MmfGl.js → PagingHeader-CkESvHSg.js} +1 -1
  65. package/dist/{PagingRow-BM1GMtrr.js → PagingRow-DrMTqBj9.js} +1 -1
  66. package/dist/{QueryApi-ChpV_S8J.js → QueryApi-D410WxrU.js} +1 -1
  67. package/dist/{Racebar-CZlaC5Gm.js → Racebar-BhPT9MdU.js} +2 -2
  68. package/dist/{Radio-BPq3WJa4.js → Radio-D1AcW1pn.js} +1 -1
  69. package/dist/{Register-ByxrZyWq.js → Register-jgIuWNwI.js} +1 -1
  70. package/dist/{RichText-BtQDAhn9.js → RichText-BgLtVFup.js} +7 -7
  71. package/dist/{SearchFooter-B61gsy3w.js → SearchFooter-CAWhmjR2.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js → SearchFooter.vue_vue_type_style_index_0_lang-ClaSxScx.js} +1 -1
  73. package/dist/{SearchForm-CLvZoPGQ.js → SearchForm--aMZLLx4.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js → SearchForm.vue_vue_type_style_index_0_lang-_rdBTvY_.js} +1 -1
  75. package/dist/{Select-Nb9K2FMY.js → Select-CVnXZcZi.js} +1 -1
  76. package/dist/{Select-C_afSAvf.js → Select-DU_6d_Ob.js} +7 -7
  77. package/dist/{Select-DGXJMnE9.js → Select-JFUTkpkm.js} +1 -1
  78. package/dist/{Single-C-2qA2MU.js → Single-B0g3q0uZ.js} +19 -19
  79. package/dist/{Statistic-B1K-qIZb.js → Statistic-XTBdaF7E.js} +14 -14
  80. package/dist/{Stock-_rnn0B8I.js → Stock-CWU3inQY.js} +1 -1
  81. package/dist/{Stock-C560McFR.js → Stock-nsqld-XR.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-BEwvRtU6.js → Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js} +1 -1
  83. package/dist/{Switch-BadvkLSw.js → Switch-BqHPuFzA.js} +1 -1
  84. package/dist/{Table-B46N43V3.js → Table-l0km2rz7.js} +26 -26
  85. package/dist/{Table-Dk48tQ1r.js → Table-xRltYWjc.js} +15 -15
  86. package/dist/Text-CFZ1y9Xn.js +4 -0
  87. package/dist/{Text-DblKaz4m.js → Text-DOTMUPPm.js} +1 -1
  88. package/dist/{Text-CNF204mx.js → Text-alXcFJHa.js} +1 -1
  89. package/dist/{Text.vue_vue_type_style_index_0_lang-DtnGWes5.js → Text.vue_vue_type_style_index_0_lang-1wF_kb3u.js} +1 -1
  90. package/dist/{TextLink-B4Q0zX1K.js → TextLink-BUpIHKqh.js} +1 -1
  91. package/dist/{Textarea-D1BOQFgK.js → Textarea-IFX_g2SZ.js} +1 -1
  92. package/dist/{Time-DZQxglEi.js → Time-CHadluUL.js} +1 -1
  93. package/dist/{Timeline-8QaD9H_I.js → Timeline-B7xPAwXh.js} +4 -4
  94. package/dist/{Tree-BUcyK0i_.js → Tree-DoXqyUpn.js} +1 -1
  95. package/dist/{Tree-DVeTdmmL.js → Tree-qvL1DgaM.js} +24 -24
  96. package/dist/{TreeNode-BScAFHPZ.js → TreeNode-CUSAKhTp.js} +1 -1
  97. package/dist/{Update-BbU5H_Qf.js → Update-eETfPmHB.js} +3 -3
  98. package/dist/{UpdateChild-BbXuXfOR.js → UpdateChild-DbbXDvCz.js} +1 -1
  99. package/dist/{Upload-CmtHETKR.js → Upload-CAUGBT7A.js} +10 -10
  100. package/dist/{Upload-C1obfZui.js → Upload-DMfKIPRu.js} +32 -32
  101. package/dist/{UploadApi-2sfpKCMa.js → UploadApi-FEbSWkVM.js} +1 -1
  102. package/dist/{Year-CRd3PkNx.js → Year-CAxdMb2V.js} +1 -1
  103. package/dist/{Year-CTo-9KjE.js → Year-CnHHib5-.js} +1 -1
  104. package/dist/{main-65efBfek.js → main-DArl7gFs.js} +675 -673
  105. package/dist/main.js +42 -43
  106. package/dist/style.css +1 -1
  107. package/package.json +1 -1
  108. package/dist/Index-CGJLRExG.js +0 -4
  109. package/dist/Index-CLzHDG05.js +0 -4
  110. package/dist/Index-dTIwhIau.js +0 -4
  111. package/dist/Text-y-q7UXlg.js +0 -4
@@ -1,7 +1,7 @@
1
- import { defineComponent as X, toRefs as Y, ref as p, onMounted as Z, computed as k, watch as ee, resolveComponent as x, openBlock as U, createElementBlock as T, normalizeClass as le, unref as t, createVNode as B, withCtx as I, createBlock as ae, createTextVNode as te, toDisplayString as oe, isRef as re, createElementVNode as ue } from "vue";
2
- import { U as ne, A as R, o as ie, L as F, a as se, k as s, i as C, m as P, D as L, u as O, W as de } from "./main-65efBfek.js";
3
- import "./QueryApi-ChpV_S8J.js";
4
- import { U as pe } from "./UploadApi-2sfpKCMa.js";
1
+ import { defineComponent as X, toRefs as Y, ref as p, onMounted as Z, computed as x, watch as ee, resolveComponent as k, openBlock as I, createElementBlock as B, normalizeClass as le, unref as t, createVNode as C, withCtx as U, createBlock as ae, createTextVNode as te, toDisplayString as oe, isRef as re, createElementVNode as ue } from "vue";
2
+ import { U as ne, I as R, o as ie, L as j, v as se, i as s, h as L, j as F, D as O, u as S, W as de } from "./main-DArl7gFs.js";
3
+ import "./QueryApi-D410WxrU.js";
4
+ import { U as pe } from "./UploadApi-FEbSWkVM.js";
5
5
  const me = {
6
6
  key: 0,
7
7
  class: "fa fa-upload"
@@ -16,11 +16,11 @@ const me = {
16
16
  modelValue: {}
17
17
  },
18
18
  emits: ["submit", "change", "update:modelValue"],
19
- setup(S, { emit: $ }) {
20
- let h = $, z = S, { table: d, field: u, row: g, set: ve, modelValue: D } = Y(z), m = p(!1), j = p({}), c = p([]), A = p(), E = p(), f = !0, _ = p({ action: "", data: null }), q = (e) => {
19
+ setup($, { emit: z }) {
20
+ let h = z, A = $, { table: d, field: u, row: g, set: ve, modelValue: D } = Y(A), m = p(!1), P = p({}), c = p([]), N = p(), E = p(), f = !0, _ = p({ action: "", data: null }), q = (e) => {
21
21
  let l = pe.getUploadToken();
22
22
  e.forEach((o) => {
23
- let a = `${P.upload.address}/api/objects/download?slug=${o[0]}&token=${l}`;
23
+ let a = `${F.upload.address}/api/objects/download?slug=${o[0]}&token=${l}`;
24
24
  c.value.push({ name: o[1], url: a });
25
25
  });
26
26
  }, H = async (e) => {
@@ -28,27 +28,27 @@ const me = {
28
28
  let l = `/upload?table=${d.value.name}&field=${u.value.name}`;
29
29
  _.value.action = R.api.url + l;
30
30
  let o = new ie();
31
- o.path = l, o.method = "POST", await F.onRequest(o);
31
+ o.path = l, o.method = "POST", await j.onRequest(o);
32
32
  let a = o.getHeader("Authorization");
33
- return j.value.Authorization = a, u.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (se.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
33
+ return P.value.Authorization = a, u.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (se.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
34
34
  }, M = (e, l) => {
35
35
  f = !1;
36
36
  let a = [e.name.replace(R.api.url, "")];
37
- return F.post("/upload/delete", { files: a }).then(({ data: r }) => {
37
+ return j.post("/upload/delete", { files: a }).then(({ data: r }) => {
38
38
  let n = l.indexOf(e), b = s.removeIndex(i.value, n, ",");
39
39
  if (h("update:modelValue", b), u.value.control.name) {
40
- let v = d.value.fields.find((y) => y.name == u.value.control.name), V = C.getValue(r.value, n, d.value, v), w = s.removeIndex(V, n, ",");
41
- C.setValue(w, r.value, d.value, n, v);
40
+ let v = d.value.fields.find((y) => y.name == u.value.control.name), V = L.getValue(r.value, n, d.value, v), w = s.removeIndex(V, n, ",");
41
+ L.setValue(w, r.value, d.value, n, v);
42
42
  }
43
43
  return Promise.resolve();
44
44
  }).catch(() => Promise.reject());
45
45
  }, W = (e) => {
46
- m.value = !0, A.value = e.url;
46
+ m.value = !0, N.value = e.url;
47
47
  }, G = (e, l, o) => {
48
48
  }, J = (e, l) => {
49
- F.handleResponseBody(e).then((o) => {
49
+ j.handleResponseBody(e).then((o) => {
50
50
  let { name: a, url: r } = o.data[0];
51
- P.upload.method == "box" || L.isImage(r) || (l.url = O.getFileIcon(r));
51
+ F.upload.method == "box" || O.isImage(r) || (l.url = S.getFileIcon(r));
52
52
  let b = s.split(i.value, ",", r).join(",");
53
53
  if (i.value = b, u.value.control.name) {
54
54
  let v = d.value.fields.find((y) => y.name == u.value.control.name), V = g.value[v.value], w = s.split(V, ",", a);
@@ -59,7 +59,7 @@ const me = {
59
59
  }).finally(() => {
60
60
  f = !0;
61
61
  });
62
- }, N = () => {
62
+ }, T = () => {
63
63
  if (c.value = [], !i.value)
64
64
  return;
65
65
  let e = s.split(i.value, ","), l = [];
@@ -68,37 +68,37 @@ const me = {
68
68
  l = s.split(r, ",");
69
69
  }
70
70
  let o = s.combine(e, l);
71
- if (P.upload.method == "box")
71
+ if (F.upload.method == "box")
72
72
  q(o);
73
73
  else {
74
74
  let a = de.httpOrHttps(i.value) ? i.value : R.api.url + i.value, r = { name: a, url: null };
75
- L.isImage(a) ? r.url = a : r.url = O.getFileIcon(a), c.value.push(r);
75
+ O.isImage(a) ? r.url = a : r.url = S.getFileIcon(a), c.value.push(r);
76
76
  }
77
77
  };
78
78
  Z(() => {
79
- N();
79
+ T();
80
80
  });
81
- let i = k({
81
+ let i = x({
82
82
  get() {
83
83
  return D.value;
84
84
  },
85
85
  set(e) {
86
86
  h("update:modelValue", e), h("change", e);
87
87
  }
88
- }), K = k(() => u.value.control.preview ? "picture-card" : null), Q = k(() => Q);
88
+ }), K = x(() => u.value.control.preview ? "picture-card" : null), Q = x(() => Q);
89
89
  return ee(() => i.value, (e, l) => {
90
- f && N();
90
+ f && T();
91
91
  }), (e, l) => {
92
- const o = x("el-button"), a = x("el-upload"), r = x("el-dialog");
93
- return U(), T("div", {
92
+ const o = k("el-button"), a = k("el-upload"), r = k("el-dialog");
93
+ return I(), B("div", {
94
94
  class: le(t(u).control.preview ? "control-file-preview" : "control-file")
95
95
  }, [
96
- B(a, {
96
+ C(a, {
97
97
  ref_key: "uploadRef",
98
98
  ref: E,
99
99
  "list-type": t(K),
100
100
  action: t(_).action,
101
- headers: t(j),
101
+ headers: t(P),
102
102
  data: t(_).data,
103
103
  "file-list": t(c),
104
104
  "before-upload": t(H),
@@ -108,13 +108,13 @@ const me = {
108
108
  "on-progress": t(G),
109
109
  disabled: t(u).readonly
110
110
  }, {
111
- default: I(() => [
112
- t(u).control.preview ? (U(), T("i", me)) : (U(), ae(o, {
111
+ default: U(() => [
112
+ t(u).control.preview ? (I(), B("i", me)) : (I(), ae(o, {
113
113
  key: 1,
114
114
  icon: "el-icon-upload",
115
115
  type: "primary"
116
116
  }, {
117
- default: I(() => [
117
+ default: U(() => [
118
118
  te(oe(t(ne)("common.click_upload")), 1)
119
119
  ]),
120
120
  _: 1
@@ -122,16 +122,16 @@ const me = {
122
122
  ]),
123
123
  _: 1
124
124
  }, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
125
- B(r, {
125
+ C(r, {
126
126
  draggable: "",
127
127
  "append-to-body": "",
128
128
  modelValue: t(m),
129
129
  "onUpdate:modelValue": l[0] || (l[0] = (n) => re(m) ? m.value = n : m = n)
130
130
  }, {
131
- default: I(() => [
131
+ default: U(() => [
132
132
  ue("img", {
133
133
  width: "100%",
134
- src: t(A),
134
+ src: t(N),
135
135
  alt: ""
136
136
  }, null, 8, ce)
137
137
  ]),
@@ -1,4 +1,4 @@
1
- import { L as o, d as t } from "./main-65efBfek.js";
1
+ import { L as o, b as t } from "./main-DArl7gFs.js";
2
2
  let e = null;
3
3
  class s {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, toRefs as V, computed as _, resolveComponent as h, openBlock as b, createBlock as g, unref as e, isRef as Y } from "vue";
2
- import { V as k } from "./main-65efBfek.js";
2
+ import { V as k } from "./main-DArl7gFs.js";
3
3
  const x = /* @__PURE__ */ f({
4
4
  __name: "Year",
5
5
  props: {
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Text-y-q7UXlg.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let r = i(() => import("./Text-CFZ1y9Xn.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
14
14
  return (x, t) => (V(), b(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),