halo-pc 1.0.16 → 1.0.17

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-BZph3Slr.js} +2 -2
  2. package/dist/{ArticleFooter-BSesl8iy.js → ArticleFooter-BW_G0Irk.js} +1 -1
  3. package/dist/{Autocomplete-DToic2Cg.js → Autocomplete-CuAwiHhE.js} +1 -1
  4. package/dist/{Autocomplete-CzfOoMve.js → Autocomplete-Dw1r9LjJ.js} +1 -1
  5. package/dist/{Autocomplete-ClAQY5V5.js → Autocomplete-qmcT2ECx.js} +1 -1
  6. package/dist/{CSharp-23QccebX.js → CSharp-BWYY3ixE.js} +1 -1
  7. package/dist/{Calender-DZkQaIeV.js → Calender-CGxlpOR0.js} +1 -1
  8. package/dist/{Callback-CWBDUe_C.js → Callback-phrGGQ_Q.js} +1 -1
  9. package/dist/{Cascader-BDfFyqiv.js → Cascader-CT7ASkSy.js} +1 -1
  10. package/dist/{Cascader-CpD_hbhQ.js → Cascader-CsJ1jVBY.js} +1 -1
  11. package/dist/{Checkbox-SLi7MK1r.js → Checkbox-BOC7ECAx.js} +1 -1
  12. package/dist/{Checkbox--gCBkIuI.js → Checkbox-BePH3x-V.js} +1 -1
  13. package/dist/{Code-nrn4wOhB.js → Code-CE-Fe7WB.js} +4 -4
  14. package/dist/{Code-C4hdU4t4.js → Code-CWxVzJHq.js} +1 -1
  15. package/dist/{Code-BVTjF5rW.js → Code-CqLG9fEE.js} +4 -4
  16. package/dist/Code-TBB9w4CV.js +4 -0
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js → Code.vue_vue_type_style_index_0_lang-oiyt3bsp.js} +7 -7
  18. package/dist/{Column-DcMAu4JL.js → Column-Ctyq9hqP.js} +8 -8
  19. package/dist/{Comment-CPxVIapg.js → Comment-RyVJJjTd.js} +1 -1
  20. package/dist/{Compare-C2oFy0EZ.js → Compare-DEccApnU.js} +1 -1
  21. package/dist/{Compare-P9zOBC1v.js → Compare-ZBeSkf8f.js} +1 -1
  22. package/dist/{Copy-B5vrho98.js → Copy-CNJ1TZJl.js} +1 -1
  23. package/dist/{Custom-BETJLilj.js → Custom-DHvr_EJi.js} +10 -10
  24. package/dist/{DataExport-YTc4EX6l.js → DataExport-39v2Wzii.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-amvVzv4A.js → DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js} +1 -1
  26. package/dist/{DataImport-ByV8MQkV.js → DataImport-C1O_zTRs.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-CYwCKg5Z.js → DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js} +33 -33
  28. package/dist/{Date-DbTzQla9.js → Date-BAk-TE4a.js} +1 -1
  29. package/dist/{Date-DpiWNuFs.js → Date-CsIPLFzI.js} +1 -1
  30. package/dist/{DateRange-Su0Q2cwY.js → DateRange-BXSMqDJ0.js} +3 -3
  31. package/dist/{DateTime-QyKfqaVG.js → DateTime-2RoBkqWb.js} +1 -1
  32. package/dist/{DateTime-C3NrioJi.js → DateTime-DSiPx95t.js} +1 -1
  33. package/dist/{DateTimeRange-lytkhCjC.js → DateTimeRange-l6kVSbZe.js} +4 -4
  34. package/dist/{Daterange-D7ZHkOmo.js → Daterange-DRq9WIRI.js} +5 -5
  35. package/dist/{Decimal-CTTT98BQ.js → Decimal-DGia5Sy8.js} +1 -1
  36. package/dist/{Delete-MfXy7gUi.js → Delete-B7X35s7r.js} +4 -4
  37. package/dist/{Detail-CUiSzyT7.js → Detail-wJXhceca.js} +1 -1
  38. package/dist/{Dictionary-Dd_IU-Hn.js → Dictionary-CUFHT-1d.js} +3 -3
  39. package/dist/{Email-BzN4JpJv.js → Email-BqiiArN8.js} +1 -1
  40. package/dist/{File-Ckh37Ne2.js → File-DngRHLmK.js} +13 -13
  41. package/dist/{Image-Dkd69DoD.js → Image-D3FNAo-5.js} +1 -1
  42. package/dist/Index-B3hh_9-f.js +4 -0
  43. package/dist/{Index-x4c71OJZ.js → Index-B4bG41Qh.js} +1 -1
  44. package/dist/Index-BJ4rN3ua.js +4 -0
  45. package/dist/Index-C3EFws1o.js +4 -0
  46. package/dist/{Index-DxvVjg9S.js → Index-ChQl4mWS.js} +2 -2
  47. package/dist/{Index-G36KYPCK.js → Index-D6WfgZso.js} +1 -1
  48. package/dist/{Index-DJJcNPgN.js → Index-Dec7ANPo.js} +11 -11
  49. package/dist/{Index-DlrpDUD3.js → Index-yxohMYWu.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-oQyBcgPa.js → Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js} +3 -3
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js → Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js} +4 -4
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-DVYceMeD.js → Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js} +2 -2
  53. package/dist/{Install-BW_ulT9I.js → Install-DvLkDt-G.js} +1 -1
  54. package/dist/{Int-BYSjwPG_.js → Int-CTZDyiRf.js} +1 -1
  55. package/dist/{Int-BRqYiJo7.js → Int-DUxDmxeN.js} +1 -1
  56. package/dist/{List-DAFqVlam.js → List-DhQAnj6h.js} +6 -6
  57. package/dist/{Maintaince-B8mM4PEp.js → Maintaince-DlOgC995.js} +2 -2
  58. package/dist/{Markdown-BXKlgSON.js → Markdown-BBZs8Oeu.js} +1 -1
  59. package/dist/{Month-BHvq72xE.js → Month-BOpeFNyJ.js} +1 -1
  60. package/dist/{Month-BiW1DL44.js → Month-CGeJVL3p.js} +1 -1
  61. package/dist/{Month-DKeTzNrD.js → Month-UvBNgDPi.js} +1 -1
  62. package/dist/{Normal-CgSREifM.js → Normal-AYl3k_ON.js} +35 -35
  63. package/dist/{Paging-D02YApLL.js → Paging-B45u8Pwz.js} +2 -2
  64. package/dist/{PagingHeader-DJ7MmfGl.js → PagingHeader-BKtQX0FN.js} +1 -1
  65. package/dist/{PagingRow-BM1GMtrr.js → PagingRow-C1sBqbWn.js} +1 -1
  66. package/dist/{QueryApi-ChpV_S8J.js → QueryApi-DwKYCq-u.js} +1 -1
  67. package/dist/{Racebar-CZlaC5Gm.js → Racebar-DEHtOLFI.js} +2 -2
  68. package/dist/{Radio-BPq3WJa4.js → Radio-i6CjikAh.js} +1 -1
  69. package/dist/{Register-ByxrZyWq.js → Register-SHm6xbyk.js} +1 -1
  70. package/dist/{RichText-BtQDAhn9.js → RichText-Bxc-XIY-.js} +7 -7
  71. package/dist/{SearchFooter-B61gsy3w.js → SearchFooter-Co8AjPaU.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js → SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js} +1 -1
  73. package/dist/{SearchForm-CLvZoPGQ.js → SearchForm-CMiBnK26.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js → SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js} +1 -1
  75. package/dist/{Select-Nb9K2FMY.js → Select-B-gNnoDq.js} +1 -1
  76. package/dist/{Select-C_afSAvf.js → Select-DuecGTXX.js} +1 -1
  77. package/dist/{Select-DGXJMnE9.js → Select-t1xYHXcV.js} +1 -1
  78. package/dist/{Single-C-2qA2MU.js → Single-Da4zGSt4.js} +19 -19
  79. package/dist/{Statistic-B1K-qIZb.js → Statistic-MUCQAxl_.js} +14 -14
  80. package/dist/{Stock-C560McFR.js → Stock-C0gpktjX.js} +1 -1
  81. package/dist/{Stock-_rnn0B8I.js → Stock-CFVyfAIN.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-BEwvRtU6.js → Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js} +1 -1
  83. package/dist/{Switch-BadvkLSw.js → Switch-CT0S6MHJ.js} +1 -1
  84. package/dist/{Table-Dk48tQ1r.js → Table-CU6q8l3a.js} +15 -15
  85. package/dist/{Table-B46N43V3.js → Table-NC8CrrxW.js} +26 -26
  86. package/dist/{Text-DblKaz4m.js → Text-Bx4cfjya.js} +1 -1
  87. package/dist/Text-ChJQSLGE.js +4 -0
  88. package/dist/{Text-CNF204mx.js → Text-ChdZDU0g.js} +1 -1
  89. package/dist/{Text.vue_vue_type_style_index_0_lang-DtnGWes5.js → Text.vue_vue_type_style_index_0_lang-BZNDg39p.js} +1 -1
  90. package/dist/{TextLink-B4Q0zX1K.js → TextLink-DIHx9sjo.js} +1 -1
  91. package/dist/{Textarea-D1BOQFgK.js → Textarea-CRi6hLdT.js} +1 -1
  92. package/dist/{Time-DZQxglEi.js → Time-Cn6eQVUQ.js} +1 -1
  93. package/dist/{Timeline-8QaD9H_I.js → Timeline-DpEcUmkJ.js} +4 -4
  94. package/dist/{Tree-DVeTdmmL.js → Tree-B0Rqvp37.js} +24 -24
  95. package/dist/{Tree-BUcyK0i_.js → Tree-nr0ZIvCA.js} +1 -1
  96. package/dist/{TreeNode-BScAFHPZ.js → TreeNode-e51TMrSj.js} +1 -1
  97. package/dist/{Update-BbU5H_Qf.js → Update-QF8Zkcdq.js} +3 -3
  98. package/dist/{UpdateChild-BbXuXfOR.js → UpdateChild-DouQaV7E.js} +1 -1
  99. package/dist/{Upload-CmtHETKR.js → Upload-0ba29Dyr.js} +10 -10
  100. package/dist/{Upload-C1obfZui.js → Upload-BXj28BSA.js} +37 -37
  101. package/dist/{UploadApi-2sfpKCMa.js → UploadApi-Boq1A5E-.js} +1 -1
  102. package/dist/{Year-CRd3PkNx.js → Year-DuBH5ghc.js} +1 -1
  103. package/dist/{Year-CTo-9KjE.js → Year-x4NXoaB_.js} +1 -1
  104. package/dist/{main-65efBfek.js → main-RFuk2-Bk.js} +673 -671
  105. package/dist/main.js +42 -43
  106. package/package.json +1 -1
  107. package/dist/Code-CO4WPAe_.js +0 -4
  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, g as L, j as F, D as O, u as S, W as de } from "./main-RFuk2-Bk.js";
3
+ import "./QueryApi-DwKYCq-u.js";
4
+ import { U as pe } from "./UploadApi-Boq1A5E-.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 g = z, A = $, { table: d, field: u, row: h, 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,77 +28,77 @@ 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
- 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);
39
+ if (g("update:modelValue", b), u.value.control.name) {
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
- let v = d.value.fields.find((y) => y.name == u.value.control.name), V = g.value[v.value], w = s.split(V, ",", a);
55
- g.value[v.value] = w.join(",");
54
+ let v = d.value.fields.find((y) => y.name == u.value.control.name), V = h.value[v.value], w = s.split(V, ",", a);
55
+ h.value[v.value] = w.join(",");
56
56
  }
57
57
  }).catch(() => {
58
58
  c.value = [];
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 = [];
66
66
  if (u.value.control.name) {
67
- let a = d.value.fields.find((n) => n.name == u.value.control.name), r = g.value[a.name];
67
+ let a = d.value.fields.find((n) => n.name == u.value.control.name), r = h.value[a.name];
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
- h("update:modelValue", e), h("change", e);
86
+ g("update:modelValue", e), g("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-RFuk2-Bk.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-RFuk2-Bk.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-ChJQSLGE.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),