halo-pc 1.0.21 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/Article-C_3LULzy.js +200 -0
  2. package/dist/{ArticleFooter-CbvmQHCn.js → ArticleFooter-Do6I1mma.js} +24 -18
  3. package/dist/{Autocomplete-BrKsj5vx.js → Autocomplete-BLOOqTTn.js} +1 -1
  4. package/dist/Autocomplete-BLrbt1wN.js +53 -0
  5. package/dist/Autocomplete-C27XN8Sp.js +54 -0
  6. package/dist/{CSharp-DGmv2biT.js → CSharp-BGn9jf2B.js} +1 -1
  7. package/dist/{Calender-dCiW7eIK.js → Calender-4bSMqUzx.js} +4 -4
  8. package/dist/Callback-BHYDtogL.js +26 -0
  9. package/dist/Cascader-D3y3WjFF.js +87 -0
  10. package/dist/Cascader-D9Y8L7X2.js +47 -0
  11. package/dist/{Checkbox-DklZD5ff.js → Checkbox-DnTLeLjt.js} +1 -1
  12. package/dist/Checkbox-dDfYBhhc.js +76 -0
  13. package/dist/{Code-DVZ9QWgE.js → Code-Af5URLnL.js} +1 -1
  14. package/dist/Code-Bi9Y45vV.js +42 -0
  15. package/dist/Code-CWsSgkJq.js +60 -0
  16. package/dist/Code-QYs-sjcG.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-CI6sLXKy.js +65 -0
  18. package/dist/Column-wzxM_-Vp.js +74 -0
  19. package/dist/Comment-BF8L1umD.js +104 -0
  20. package/dist/Compare-CjSQcnd3.js +43 -0
  21. package/dist/Compare-Cj_CPjIV.js +63 -0
  22. package/dist/Copy-BNt-Dwoo.js +49 -0
  23. package/dist/Custom-CYPkAqpf.js +57 -0
  24. package/dist/{DataExport-DAk1d4uG.js → DataExport-CHQtRKzA.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js → DataExport.vue_vue_type_script_setup_true_lang-Dt2BAaAO.js} +42 -37
  26. package/dist/{DataImport-BLOSIbQ2.js → DataImport-CDcmH3Du.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js → DataImport.vue_vue_type_script_setup_true_lang-dULXjbl_.js} +64 -60
  28. package/dist/{Date-D1KihBir.js → Date-BStpsA7n.js} +1 -1
  29. package/dist/Date-U1py5NaK.js +43 -0
  30. package/dist/DateRange-DxAx2gxI.js +63 -0
  31. package/dist/DateTime-B3609Ct6.js +44 -0
  32. package/dist/{DateTime-Dwg6aUf3.js → DateTime-CmJw1-WA.js} +1 -1
  33. package/dist/{DateTimeRange-Cir1-Js8.js → DateTimeRange-aDw57sTG.js} +19 -13
  34. package/dist/Daterange-C48t6usd.js +63 -0
  35. package/dist/{Decimal-tv9vqaXk.js → Decimal-Ca0K6NoZ.js} +1 -1
  36. package/dist/Delete-FhIvONUV.js +62 -0
  37. package/dist/{Detail-B2rtvufA.js → Detail-qqW0J946.js} +22 -17
  38. package/dist/Dictionary-CaXytFmK.js +59 -0
  39. package/dist/Email-H2DHJhMe.js +54 -0
  40. package/dist/{File-C63qevce.js → File-CjXewuui.js} +33 -28
  41. package/dist/Image-BSuCHshD.js +9 -0
  42. package/dist/Index-9KImKLrj.js +4 -0
  43. package/dist/Index-BIbR8SAU.js +178 -0
  44. package/dist/Index-BaoxkF9F.js +4 -0
  45. package/dist/{Index-Cc_CDbUJ.js → Index-BrI9x7i7.js} +1 -1
  46. package/dist/Index-CXR5RC6-.js +4 -0
  47. package/dist/{Index-B6Ec8rbl.js → Index-CpGonJ_m.js} +1 -1
  48. package/dist/{Index-Cev7Nudv.js → Index-DUgprnVp.js} +1 -1
  49. package/dist/{Index-BD6O3A9N.js → Index-icEhc88J.js} +25 -20
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js → Index.vue_vue_type_script_setup_true_lang-Beb5UD_S.js} +21 -16
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js → Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js} +21 -16
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js → Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js} +40 -35
  53. package/dist/{Install-CTAGNKPW.js → Install-FwXpJIWk.js} +29 -24
  54. package/dist/Int-CXl1QpEL.js +44 -0
  55. package/dist/Int-DAxz3ETu.js +46 -0
  56. package/dist/List-CV9bkdrq.js +79 -0
  57. package/dist/Maintaince-DZNq9aHX.js +20 -0
  58. package/dist/{Markdown-BJB6rQY8.js → Markdown-BhwqDlwa.js} +1 -1
  59. package/dist/{Month-ui1XorBW.js → Month-BEmnA7zU.js} +1 -1
  60. package/dist/Month-DXQBHoJU.js +43 -0
  61. package/dist/Month-bgEd_K7_.js +44 -0
  62. package/dist/{Normal-Cf7kP6RU.js → Normal-Dya4aqc7.js} +49 -45
  63. package/dist/Paging-JXDzxoM0.js +99 -0
  64. package/dist/{PagingHeader-BkFBl-r_.js → PagingHeader-BETGBySb.js} +31 -25
  65. package/dist/{PagingRow-eXCadgdO.js → PagingRow-BLqp1c9E.js} +28 -22
  66. package/dist/QueryApi-B5jI3sBl.js +20 -0
  67. package/dist/{Racebar-ClXzi9hV.js → Racebar-CozeXwLJ.js} +42 -37
  68. package/dist/{Radio-llyoK7PI.js → Radio-CuAxYw7j.js} +1 -1
  69. package/dist/{Register-BaHhaZMu.js → Register-B11jE2Ox.js} +70 -66
  70. package/dist/RichText-CxBE_cVg.js +47 -0
  71. package/dist/{SearchFooter-BgJxQrMo.js → SearchFooter-agTqPUGE.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js → SearchFooter.vue_vue_type_style_index_0_lang-C-1Yr5_9.js} +1 -1
  73. package/dist/{SearchForm-CroUQ_3K.js → SearchForm-DNKmE8W0.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js → SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js} +37 -33
  75. package/dist/Select-BPa5rx_H.js +86 -0
  76. package/dist/{Select-BYw63gZy.js → Select-CRfEAtba.js} +35 -30
  77. package/dist/{Select-BtNeUq9h.js → Select-MqDjnB-C.js} +1 -1
  78. package/dist/{Single-CCVi3Pcj.js → Single-C5Kkr9SY.js} +106 -102
  79. package/dist/{Statistic-g3nQvsbW.js → Statistic-Ce_FMw5O.js} +34 -30
  80. package/dist/{Stock-CNqLeSld.js → Stock-BTjhpaxv.js} +1 -1
  81. package/dist/{Stock-C6Fxo31l.js → Stock-D8AJmsvb.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js → Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js} +30 -25
  83. package/dist/{Switch-NMkH-rhl.js → Switch-gwGbi34o.js} +1 -1
  84. package/dist/{Table-DpA4dO4P.js → Table-C03eUBYm.js} +66 -61
  85. package/dist/{Table-Cdd_tPoL.js → Table-DA8aGGEH.js} +69 -66
  86. package/dist/{Text-DanSgaL9.js → Text-B5uPrGof.js} +18 -12
  87. package/dist/Text-D-VS-lCk.js +59 -0
  88. package/dist/Text-NRww74M3.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-Fsbur1tJ.js +59 -0
  90. package/dist/TextLink-B_Qg6CnF.js +65 -0
  91. package/dist/{Textarea-HhP_VFJV.js → Textarea-gtXLL6Qe.js} +1 -1
  92. package/dist/Time-DYOIZ2Rv.js +43 -0
  93. package/dist/Timeline-B4AYezYA.js +59 -0
  94. package/dist/{Tree-Ck_7r3nf.js → Tree-CRDb0vS5.js} +101 -97
  95. package/dist/Tree-CTmXjN1O.js +122 -0
  96. package/dist/TreeNode-HFcGpAOb.js +42 -0
  97. package/dist/{Update-DrmLFoty.js → Update-EHyhYK5k.js} +20 -15
  98. package/dist/{UpdateChild-CGCn-Eh4.js → UpdateChild-CC3b9evd.js} +23 -17
  99. package/dist/Upload-CkQ-5tVg.js +72 -0
  100. package/dist/Upload-um4BYzwO.js +150 -0
  101. package/dist/UploadApi-BmdGJGjh.js +20 -0
  102. package/dist/Year-DKBG5ihv.js +47 -0
  103. package/dist/{Year-RGAEzf_V.js → Year-Lhvyb9Vk.js} +1 -1
  104. package/dist/assets/@intlify-BISCQg1h.js +2189 -0
  105. package/dist/assets/@vue-aVYGocXp.js +93 -0
  106. package/dist/assets/clone-BZn0cTAu.js +134 -0
  107. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  108. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  109. package/dist/assets/moment-h96o7c8I.js +2578 -0
  110. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  111. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  112. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  113. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  114. package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
  115. package/dist/main-C1iALE1f.js +8947 -0
  116. package/dist/main.js +130 -130
  117. package/dist/style.css +1 -1
  118. package/package.json +1 -1
  119. package/dist/Article-D3N6eVpH.js +0 -195
  120. package/dist/Autocomplete-C1Q-qo5y.js +0 -49
  121. package/dist/Autocomplete-C_t_3Onz.js +0 -48
  122. package/dist/Callback-BcjLHYz6.js +0 -20
  123. package/dist/Cascader-BMs1Kw-s.js +0 -81
  124. package/dist/Cascader-BoZLMQjq.js +0 -41
  125. package/dist/Checkbox-DeuCkQ_E.js +0 -70
  126. package/dist/Code-CmB3ZGnM.js +0 -54
  127. package/dist/Code-Q9ETcIfA.js +0 -36
  128. package/dist/Code-hiW76EUm.js +0 -4
  129. package/dist/Code.vue_vue_type_style_index_0_lang-DJO46RBx.js +0 -59
  130. package/dist/Column-K0p0pVuf.js +0 -69
  131. package/dist/Comment-B_jDWUXE.js +0 -98
  132. package/dist/Compare-CziDSVLD.js +0 -37
  133. package/dist/Compare-DFDzyQIR.js +0 -57
  134. package/dist/Copy-gHXEFE58.js +0 -43
  135. package/dist/Custom-DS1OrDHT.js +0 -51
  136. package/dist/Date-BOrgXdKV.js +0 -37
  137. package/dist/DateRange-Clg_We_d.js +0 -57
  138. package/dist/DateTime-Ba-L9NIq.js +0 -38
  139. package/dist/Daterange-Gaj6hNOK.js +0 -57
  140. package/dist/Delete-HzVURBlh.js +0 -57
  141. package/dist/Dictionary-DKnp-UJn.js +0 -55
  142. package/dist/Email-CpOxaSSw.js +0 -48
  143. package/dist/Image-DRIunv3_.js +0 -9
  144. package/dist/Index-DSKuNKCT.js +0 -4
  145. package/dist/Index-QIBRYf1L.js +0 -4
  146. package/dist/Index-ZOfKMgat.js +0 -4
  147. package/dist/Index-bxLda8lZ.js +0 -174
  148. package/dist/Int-DmNjhEfK.js +0 -38
  149. package/dist/Int-nUzbSSOv.js +0 -41
  150. package/dist/List-gNI3y_wH.js +0 -74
  151. package/dist/Maintaince-pTASKuMA.js +0 -14
  152. package/dist/Month-CHfaIo8p.js +0 -38
  153. package/dist/Month-DgztqRaq.js +0 -37
  154. package/dist/Paging-CBgVct8q.js +0 -95
  155. package/dist/QueryApi-Wf86Sm6m.js +0 -13
  156. package/dist/RichText-Cc_jptgY.js +0 -41
  157. package/dist/Select-wxKjwxJj.js +0 -80
  158. package/dist/Text-DgZjeg-u.js +0 -4
  159. package/dist/Text-GuLK7BYX.js +0 -53
  160. package/dist/Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js +0 -53
  161. package/dist/TextLink-B_Ur1pg0.js +0 -59
  162. package/dist/Time-CmyrAm3i.js +0 -37
  163. package/dist/Timeline-B85T2wBn.js +0 -53
  164. package/dist/Tree-OqvNLgYj.js +0 -118
  165. package/dist/TreeNode-Ba2f55wK.js +0 -37
  166. package/dist/Upload-D9HeSZCg.js +0 -68
  167. package/dist/Upload-DXADyB6r.js +0 -147
  168. package/dist/UploadApi-DAT-xdsM.js +0 -13
  169. package/dist/Year-Dx_qNPrz.js +0 -41
  170. package/dist/assets/halo-fe-idvmXC0t.js +0 -15923
  171. package/dist/main-COiaaxGk.js +0 -3542
@@ -1,49 +0,0 @@
1
- import { defineComponent as v, toRefs as V, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as o, isRef as B } from "vue";
2
- import { aM as R, Q as w, L as A } from "./assets/halo-fe-idvmXC0t.js";
3
- const Q = /* @__PURE__ */ v({
4
- __name: "Autocomplete",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(p, { emit: d }) {
15
- let m = d, c = p, { table: i, field: r, set: I, modelValue: f } = V(c), a = _([]), g = null, h = (l, e) => {
16
- if (a.value.length) {
17
- let t = a.value.filter((s) => w.containsIgnoreCase(l, s.value));
18
- e(t);
19
- return;
20
- }
21
- let n = { text: g, conditions: [] };
22
- A.post(r.value.control.data.route, n).then(({ data: t }) => {
23
- a.value = t.map((s) => ({ value: s.text })), e(a.value);
24
- }).catch(() => {
25
- e([]);
26
- });
27
- }, u = x({
28
- get() {
29
- return f.value;
30
- },
31
- set(l) {
32
- m("update:modelValue", l), m("change", l);
33
- }
34
- });
35
- return (l, e) => {
36
- const n = C("el-autocomplete");
37
- return b(), k(n, {
38
- clearable: "",
39
- placeholder: o(R)(o(i).name, o(r).name),
40
- "fetch-suggestions": o(h),
41
- modelValue: o(u),
42
- "onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
43
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
44
- };
45
- }
46
- });
47
- export {
48
- Q as default
49
- };
@@ -1,48 +0,0 @@
1
- import { defineComponent as v, toRefs as V, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
2
- import { aM as D, Q as R, L as A } from "./assets/halo-fe-idvmXC0t.js";
3
- const Q = /* @__PURE__ */ v({
4
- __name: "Autocomplete",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- searchData: {},
10
- modelValue: {}
11
- },
12
- emits: ["submit", "change", "update:modelValue"],
13
- setup(p, { emit: c }) {
14
- let m = c, d = p, { table: i, field: r, searchData: I, modelValue: f } = V(d), o = _([]), g = null, h = (l, e) => {
15
- if (o.value.length) {
16
- let t = o.value.filter((s) => R.containsIgnoreCase(l, s.value));
17
- e(t);
18
- return;
19
- }
20
- let n = { text: g, conditions: [] };
21
- A.post(r.value.control.data.route, n).then(({ data: t }) => {
22
- o.value = t.map((s) => ({ value: s.text })), e(o.value);
23
- }).catch(() => {
24
- e([]);
25
- });
26
- }, u = x({
27
- get() {
28
- return f.value;
29
- },
30
- set(l) {
31
- m("update:modelValue", l), m("change", l);
32
- }
33
- });
34
- return (l, e) => {
35
- const n = C("el-autocomplete");
36
- return b(), k(n, {
37
- clearable: "",
38
- placeholder: a(D)(a(i).name, a(r).name),
39
- "fetch-suggestions": a(h),
40
- modelValue: a(u),
41
- "onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
42
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
43
- };
44
- }
45
- });
46
- export {
47
- Q as default
48
- };
@@ -1,20 +0,0 @@
1
- import { defineComponent as o } from "vue";
2
- import { useRouter as i, useRoute as n } from "vue-router";
3
- import { f as s, $ as u } from "./assets/halo-fe-idvmXC0t.js";
4
- const f = /* @__PURE__ */ o({
5
- __name: "Callback",
6
- setup(a) {
7
- let r = i(), t = n().query;
8
- return (async () => {
9
- if (!t.type) {
10
- s.error("缺失type参数");
11
- return;
12
- }
13
- let e = await u.sso.create(t.type.toString());
14
- t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
15
- })(), (e, l) => " 登录完毕,处理回调中... ";
16
- }
17
- });
18
- export {
19
- f as default
20
- };
@@ -1,81 +0,0 @@
1
- import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as j, unref as a, isRef as q, withCtx as D, createElementVNode as I, createTextVNode as L, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
2
- import { aL as P, m as h, L as T } from "./assets/halo-fe-idvmXC0t.js";
3
- const U = {
4
- key: 0,
5
- class: "cascader-suffix"
6
- }, z = {
7
- key: 0,
8
- class: "cascader-length"
9
- }, J = /* @__PURE__ */ E({
10
- __name: "Cascader",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(v, { emit: g }) {
21
- let d = g, V = v, { table: b, field: t, set: A, row: F, modelValue: _ } = w(V), n = N(), p = null, x = () => {
22
- n.value || (n.value = t.value.control.data.data);
23
- let e = _.value, l = [];
24
- return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((s) => {
25
- let o = h.getParentsById(s, "value", n.value, "children", !0);
26
- o.length > 0 && l.push(o.map((B) => B.value));
27
- }) : h.getParentsById(e, "value", n.value, "children", !0).forEach((s) => {
28
- l.push(s.value);
29
- }), l;
30
- }, C = (e) => {
31
- let l;
32
- t.value.control.multiple ? l = e.map((r) => r[r.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
33
- }, y = (e) => {
34
- e && (p = null, k());
35
- }, k = () => {
36
- let e = { text: p, conditions: [] };
37
- t.value.control.data.conditions.forEach((l) => {
38
- e.conditions.push({ name: l.name, value: null });
39
- }), T.post(t.value.control.data.route, e).then(({ data: l }) => {
40
- n.value = l;
41
- });
42
- }, u = R({
43
- get() {
44
- return x();
45
- },
46
- set(e) {
47
- C(e);
48
- }
49
- });
50
- return (e, l) => {
51
- const r = S("el-cascader");
52
- return c(), j(r, {
53
- ref: "cascaderRef",
54
- placeholder: a(P)(a(b).name, a(t).name),
55
- filterable: "",
56
- "collapse-tags": "",
57
- "collapse-tags-tooltip": "",
58
- "max-collapse-tags": 6,
59
- options: a(n),
60
- disabled: a(t).readonly,
61
- props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
62
- clearable: !a(t).control.required,
63
- onVisibleChange: a(y),
64
- modelValue: a(u),
65
- "onUpdate:modelValue": l[0] || (l[0] = (s) => q(u) ? u.value = s : u = s)
66
- }, {
67
- default: D(({ node: s, data: o }) => [
68
- I("span", null, [
69
- L(i(o.text), 1),
70
- o.suffix ? (c(), m("span", U, "(" + i(o.suffix) + ")", 1)) : f("", !0)
71
- ]),
72
- o.children ? (c(), m("span", z, i(o.children.length), 1)) : f("", !0)
73
- ]),
74
- _: 1
75
- }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
76
- };
77
- }
78
- });
79
- export {
80
- J as default
81
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as d, renderList as m, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
2
- import { m as B } from "./assets/halo-fe-idvmXC0t.js";
3
- const C = { class: "text-cascader" }, S = {
4
- key: 0,
5
- class: "cascader-seperator"
6
- }, F = /* @__PURE__ */ y({
7
- __name: "Cascader",
8
- props: {
9
- schema: {},
10
- table: {},
11
- field: {},
12
- set: {},
13
- row: {},
14
- modelValue: {}
15
- },
16
- emits: ["submit", "change"],
17
- setup(_, { emit: V }) {
18
- let v = _, { table: w, field: s, set: E, row: j, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
19
- if (u.value.length > 0) {
20
- let i = s.value.control.data.data, n = [];
21
- return u.value.forEach((r) => {
22
- let l = B.getParentsById(r, "value", i, "children", !0);
23
- l.length > 0 && n.push(l);
24
- }), n;
25
- }
26
- return [];
27
- });
28
- return (i, n) => (e(), t("div", C, [
29
- (e(!0), t(d, null, m(f(c), (r, l) => (e(), t("span", null, [
30
- (e(!0), t(d, null, m(r, (o, g) => (e(), t("span", {
31
- style: x({ color: o.color }),
32
- key: o.value
33
- }, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
34
- l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
35
- ]))), 256))
36
- ]));
37
- }
38
- });
39
- export {
40
- F as default
41
- };
@@ -1,70 +0,0 @@
1
- import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as g, openBlock as s, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as P, createBlock as R, createTextVNode as V, toDisplayString as k, createElementVNode as S } from "vue";
2
- import { P as U } from "./assets/halo-fe-idvmXC0t.js";
3
- const D = { class: "control-checkbox" }, F = { class: "check-all" }, z = /* @__PURE__ */ N({
4
- __name: "Checkbox",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["change", "update:modelValue"],
14
- setup(x, { emit: b }) {
15
- let i = b, C = x, { field: r, table: L, set: T, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
16
- o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
17
- }, B = (n) => {
18
- let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
19
- u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
20
- }, o = A({
21
- get() {
22
- return h.value ? h.value.split(",") : [];
23
- },
24
- set(n) {
25
- let e = n.toString();
26
- i("update:modelValue", e), i("change", e);
27
- }
28
- });
29
- return (n, e) => {
30
- const a = g("el-checkbox"), d = g("el-checkbox-group");
31
- return s(), f("div", D, [
32
- v(d, {
33
- onChange: t(B),
34
- modelValue: t(o),
35
- "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
36
- }, {
37
- default: m(() => [
38
- (s(!0), f(E, null, P(t(r).control.data.data, (l) => (s(), R(a, {
39
- disabled: t(r).control.readonly,
40
- value: l.value,
41
- key: l.value
42
- }, {
43
- default: m(() => [
44
- V(k(l.text), 1)
45
- ]),
46
- _: 2
47
- }, 1032, ["disabled", "value"]))), 128))
48
- ]),
49
- _: 1
50
- }, 8, ["onChange", "modelValue"]),
51
- S("div", F, [
52
- v(a, {
53
- indeterminate: t(c),
54
- onChange: t(y),
55
- modelValue: t(u),
56
- "onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
57
- }, {
58
- default: m(() => [
59
- V(k(t(U)("common.select_all")), 1)
60
- ]),
61
- _: 1
62
- }, 8, ["indeterminate", "onChange", "modelValue"])
63
- ])
64
- ]);
65
- };
66
- }
67
- });
68
- export {
69
- z as default
70
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
2
- import { X as x } from "./assets/halo-fe-idvmXC0t.js";
3
- const R = /* @__PURE__ */ b({
4
- __name: "Code",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(d, { emit: g }) {
15
- let c = g, f = d, { table: s, field: a, set: y, row: i, modelValue: p } = h(f), u = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
16
- let l = m(a.value.control.scrollTop);
17
- l && (i.value[l.name] = e);
18
- }, V = () => {
19
- let e = r(a.value.control.scrollTop);
20
- if (e && (u.value.scrollTop = parseInt(e)), u.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
21
- u.value.language = a.value.control.language;
22
- else {
23
- let l = r(a.value.control.languageField);
24
- l && (u.value.language = l);
25
- }
26
- a.value.control.schema && (u.value.schema = a.value.control.schema, u.value.category = `${s.value.name}.${a.value.name}`);
27
- }, r = (e) => {
28
- let l = m(e);
29
- return l ? i.value[l.name] : null;
30
- }, m = (e) => e ? s.value.fields.find((o) => o.name == e) : null;
31
- V();
32
- let t = T({
33
- get() {
34
- return p.value ?? "";
35
- },
36
- set(e) {
37
- c("update:modelValue", e), c("change", e);
38
- }
39
- });
40
- return _(() => r(a.value.control.languageField), (e, l) => {
41
- u.value.language = e;
42
- }), (e, l) => (w(), N(n(x), {
43
- class: "control-code",
44
- border: "",
45
- config: n(u),
46
- onScroll: n(v),
47
- modelValue: n(t),
48
- "onUpdate:modelValue": l[0] || (l[0] = (o) => k(t) ? t.value = o : t = o)
49
- }, null, 8, ["config", "onScroll", "modelValue"]));
50
- }
51
- });
52
- export {
53
- R as default
54
- };
@@ -1,36 +0,0 @@
1
- import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as x, isRef as F } from "vue";
2
- import { X as _ } from "./assets/halo-fe-idvmXC0t.js";
3
- const C = /* @__PURE__ */ v({
4
- __name: "Code",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- setup(f) {
14
- let g = f, { table: s, field: t, set: b, row: d, modelValue: a } = h(g), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", c = (e) => e ? s.value.fields.find((u) => u.name == e) : null, p = (e) => {
15
- let l = c(e);
16
- return l ? d.value[l.name] : null;
17
- };
18
- return (() => {
19
- if (o.value = m(), t.value.control.languageField == null)
20
- r.value.language = t.value.control.language;
21
- else {
22
- let e = p(t.value.control.languageField);
23
- e && (r.value.language = e);
24
- }
25
- })(), (e, l) => (V(), y(n(_), {
26
- class: "text-code",
27
- config: n(r),
28
- style: x(n(o)),
29
- modelValue: n(a),
30
- "onUpdate:modelValue": l[0] || (l[0] = (u) => F(a) ? a.value = u : a = u)
31
- }, null, 8, ["config", "style", "modelValue"]));
32
- }
33
- });
34
- export {
35
- C as default
36
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DJO46RBx.js";
2
- export {
3
- f as default
4
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as C, toRefs as h, ref as s, onMounted as b, resolveComponent as m, openBlock as n, createElementBlock as u, createVNode as i, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as f, toDisplayString as _, createCommentVNode as L } from "vue";
2
- import { X as N } from "./assets/halo-fe-idvmXC0t.js";
3
- import { Q } from "./QueryApi-Wf86Sm6m.js";
4
- const R = { class: "ha-code-layout" }, j = /* @__PURE__ */ C({
5
- __name: "Code",
6
- props: {
7
- route: {},
8
- validateErrors: {},
9
- module: {},
10
- schema: {},
11
- table: {},
12
- layout: {},
13
- next: {},
14
- set: {}
15
- },
16
- emits: ["submit", "change"],
17
- setup(g, { emit: U }) {
18
- let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = h(V), r = s({}), t = s(), v = () => {
19
- t.value = l.value.languages[0];
20
- };
21
- return b(() => {
22
- v(), Q.loadCodeLanguage().then((d) => {
23
- d.forEach((a) => {
24
- r.value[a.text] = a.suffix;
25
- });
26
- });
27
- }), (d, a) => {
28
- const x = m("el-radio"), y = m("el-radio-group");
29
- return n(), u("div", R, [
30
- i(y, {
31
- modelValue: e(t),
32
- "onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
33
- }, {
34
- default: p(() => [
35
- (n(!0), u(c, null, B(e(l).languages, (o) => (n(), E(x, { value: o }, {
36
- default: p(() => [
37
- f(_(o) + " ", 1),
38
- e(r)[o] ? (n(), u(c, { key: 0 }, [
39
- f("(" + _(e(r)[o]) + ")", 1)
40
- ], 64)) : L("", !0)
41
- ]),
42
- _: 2
43
- }, 1032, ["value"]))), 256))
44
- ]),
45
- _: 1
46
- }, 8, ["modelValue"]),
47
- i(e(N), {
48
- border: "",
49
- config: { language: e(r)[e(t)] },
50
- modelValue: e(l).codes[e(t)],
51
- "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
52
- }, null, 8, ["config", "modelValue"])
53
- ]);
54
- };
55
- }
56
- });
57
- export {
58
- j as _
59
- };
@@ -1,69 +0,0 @@
1
- import { defineComponent as M, toRefs as b, onMounted as D, computed as f, openBlock as l, createBlock as h, unref as e, withCtx as k, createElementBlock as o, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as S, createVNode as z, createTextVNode as s } from "vue";
2
- import { _ as F, K as C, a3 as K } from "./assets/halo-fe-idvmXC0t.js";
3
- import { H as P } from "./main-COiaaxGk.js";
4
- import "vue-router";
5
- import "./assets/intro.js-DxWjEdp_.js";
6
- const R = {
7
- key: 0,
8
- class: "menus"
9
- }, T = ["onClick"], $ = { class: "title" }, j = {
10
- key: 1,
11
- class: "column-empty"
12
- }, q = /* @__PURE__ */ a("br", null, null, -1), A = /* @__PURE__ */ a("br", null, null, -1), X = /* @__PURE__ */ M({
13
- __name: "Column",
14
- props: {
15
- view: {},
16
- url: {},
17
- win: {}
18
- },
19
- emits: ["loaded", "navigate"],
20
- setup(y, { expose: g, emit: x }) {
21
- let c = x, w = y, { url: m, view: d } = b(w), B = (t) => !0, N = (t) => !0, U = () => {
22
- p();
23
- }, p = () => {
24
- c("loaded", r.value.title);
25
- }, V = (t) => {
26
- let v = C.getUrl(t.url, { m: t.id });
27
- c("navigate", v);
28
- };
29
- D(() => {
30
- p();
31
- });
32
- let r = f(() => F.getMenuByUrl(m.value)), _ = f(() => C.getPath(m.value));
33
- return g({ shouldLoad: B, shouldSpin: N, refresh: U }), (t, v) => (l(), h(e(K), null, {
34
- default: k(() => [
35
- e(r) ? (l(), o("div", R, [
36
- (l(!0), o(E, null, H(e(r).children, (n) => (l(), o("div", {
37
- class: "menu",
38
- key: n.id,
39
- onClick: (G) => e(V)(n)
40
- }, [
41
- n.icon ? (l(), o("i", {
42
- key: 0,
43
- class: L(n.icon)
44
- }, null, 2)) : u("", !0),
45
- a("div", $, i(n.title), 1)
46
- ], 8, T))), 128))
47
- ])) : u("", !0),
48
- (l(), h(S(e(d)))),
49
- (!e(r) || e(r).children == 0) && !e(d) ? (l(), o("div", j, [
50
- z(e(P), null, {
51
- default: k(() => [
52
- s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
53
- ]),
54
- _: 1
55
- }),
56
- s(" 可考虑以下任一选项:"),
57
- q,
58
- s(" 1. 在 src/views 中实现自定义页面:" + i(e(_)), 1),
59
- A,
60
- s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + i(e(_)), 1)
61
- ])) : u("", !0)
62
- ]),
63
- _: 1
64
- }));
65
- }
66
- });
67
- export {
68
- X as default
69
- };
@@ -1,98 +0,0 @@
1
- import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as u, openBlock as m, createElementBlock as p, createElementVNode as t, createVNode as v, createTextVNode as a, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as T, createCommentVNode as q } from "vue";
2
- import { K as D } from "./assets/halo-fe-idvmXC0t.js";
3
- const F = { class: "ha-comment-layout" }, K = { class: "comment-add" }, L = { class: "add-footer" }, M = { class: "footer-title" }, R = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), U = { class: "comment-user" }, $ = { class: "avatar" }, A = /* @__PURE__ */ t("img", {
4
- src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
5
- alt: ""
6
- }, null, -1), G = { class: "comment-body" }, H = { class: "comment-time" }, J = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
7
- /* @__PURE__ */ t("span", null, [
8
- /* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
9
- /* @__PURE__ */ a("20")
10
- ]),
11
- /* @__PURE__ */ t("span", null, [
12
- /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
13
- /* @__PURE__ */ a("回复")
14
- ])
15
- ], -1), P = { class: "comment-footer" }, Z = /* @__PURE__ */ E({
16
- __name: "Comment",
17
- props: {
18
- route: {},
19
- validateErrors: {},
20
- module: {},
21
- schema: {},
22
- table: {},
23
- layout: {},
24
- next: {},
25
- set: {}
26
- },
27
- setup(C) {
28
- let x = C, { schema: Q, table: r, layout: o, set: _, validateErrors: W } = N(x), c = S(1), k = (n) => {
29
- c.value = n;
30
- }, w = y(() => {
31
- let n = (c.value - 1) * o.value.pageSize, i = c.value * o.value.pageSize - 1;
32
- return _.value[r.value.name].filter((f, d) => d >= n && d <= i);
33
- }), h = y(() => r.value.fields.find((i) => i.name == o.value.userId));
34
- return (n, i) => {
35
- const g = u("el-input"), f = u("el-button"), d = u("router-link"), I = u("el-pagination");
36
- return m(), p("div", F, [
37
- t("div", K, [
38
- v(g, { type: "textarea" }),
39
- t("div", L, [
40
- t("div", M, [
41
- R,
42
- a("全部评论 (" + l(e(_)[e(r).name].length) + ")", 1)
43
- ]),
44
- v(f, {
45
- type: "primary",
46
- class: "btn-comment",
47
- icon: "el-icon-s-promotion"
48
- }, {
49
- default: b(() => [
50
- a("评论")
51
- ]),
52
- _: 1
53
- })
54
- ])
55
- ]),
56
- (m(!0), p(j, null, B(e(w), (s, z) => (m(), p("div", {
57
- class: "comment",
58
- key: z
59
- }, [
60
- t("div", U, [
61
- t("div", $, [
62
- A,
63
- a(" " + l(s[e(o).avatar]), 1)
64
- ])
65
- ]),
66
- t("div", G, [
67
- e(h) ? (m(), T(d, {
68
- key: 0,
69
- class: "comment-name",
70
- to: e(D).getUrl("/sys_user/detail", { id: s[e(o).userId], m: n.$route.query.m })
71
- }, {
72
- default: b(() => [
73
- a(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
74
- ]),
75
- _: 2
76
- }, 1032, ["to"])) : q("", !0),
77
- t("div", H, l(s[e(o).commentTime]), 1),
78
- t("div", J, l(s[e(o).content]), 1),
79
- O
80
- ])
81
- ]))), 128)),
82
- t("div", P, [
83
- v(I, {
84
- background: "",
85
- layout: "total, prev, pager, next, jumper",
86
- "current-page": e(c),
87
- "page-size": e(o).pageSize,
88
- total: e(_)[e(r).name].length,
89
- onCurrentChange: e(k)
90
- }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
91
- ])
92
- ]);
93
- };
94
- }
95
- });
96
- export {
97
- Z as default
98
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as h, toRefs as y, onMounted as E, computed as s, unref as f, openBlock as k, createElementBlock as w, normalizeClass as V, createCommentVNode as b, nextTick as B } from "vue";
2
- import { x as N } from "./assets/halo-fe-idvmXC0t.js";
3
- const D = /* @__PURE__ */ h({
4
- __name: "Compare",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- setup(p) {
14
- let v = p, { table: l, field: t, set: g, row: a, modelValue: M } = y(v), o = l.value.name + "-" + t.value.name + "-" + g.value[l.value.name].indexOf(a.value), r = null, n = null, i = null, e = null, x = () => {
15
- B(() => {
16
- let d = l.value.fields.find((_) => _.name == t.value.control.compareWith), c = a.value[d.name];
17
- n = e.editor.createModel(c, u.value), i = e.editor.createModel(m.value, u.value);
18
- let C = document.getElementsByClassName(o)[0];
19
- r = e.editor.createDiffEditor(C, { originalEditable: !0 }), r.setModel({
20
- original: n,
21
- modified: i
22
- });
23
- });
24
- };
25
- E(async () => {
26
- e = await N.getMonaco(), x();
27
- });
28
- let m = s(() => M || ""), u = s(() => t.value.control.type.toLowerCase());
29
- return (d, c) => f(m) ? (k(), w("div", {
30
- key: 0,
31
- class: V(`text-compare ${f(o)}`)
32
- }, null, 2)) : b("", !0);
33
- }
34
- });
35
- export {
36
- D as default
37
- };