halo-pc 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/dist/Article-CjlnxF__.js +196 -0
  2. package/dist/ArticleFooter-BAf1rKUX.js +78 -0
  3. package/dist/Autocomplete-BnQpnnyK.js +27 -0
  4. package/dist/Autocomplete-C2FkoM3g.js +52 -0
  5. package/dist/Autocomplete-Da3h7NqJ.js +53 -0
  6. package/dist/CSharp-Dxc7debp.js +27 -0
  7. package/dist/Calender-CZajLEjs.js +10 -0
  8. package/dist/Callback-txUuqwa4.js +24 -0
  9. package/dist/Cascader-Bm6ZjZBu.js +84 -0
  10. package/dist/Cascader-CWljbVzB.js +45 -0
  11. package/dist/Checkbox-CYpA0Abh.js +69 -0
  12. package/dist/Checkbox-DvjA_jtM.js +27 -0
  13. package/dist/Code--QwKtfhx.js +4 -0
  14. package/dist/Code-BO3eZKLy.js +58 -0
  15. package/dist/Code-Dh_cfHCX.js +40 -0
  16. package/dist/Code-Dn68YB2V.js +28 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js +63 -0
  18. package/dist/Color-CfXtJFUo.js +22 -0
  19. package/dist/Color-Da69pnQg.js +34 -0
  20. package/dist/Column-DGnsLHim.js +69 -0
  21. package/dist/Comment--Tr_kWBl.js +102 -0
  22. package/dist/Compare-C3rlbp4P.js +60 -0
  23. package/dist/Compare-DaSyOFIe.js +30 -0
  24. package/dist/Copy-C5yEC9dX.js +43 -0
  25. package/dist/Custom-K9vfVRxn.js +53 -0
  26. package/dist/DataExport-GCZvxEp5.js +4 -0
  27. package/dist/DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js +112 -0
  28. package/dist/DataImport-BofV1eCR.js +4 -0
  29. package/dist/DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js +174 -0
  30. package/dist/Date-BeHsQ2Ow.js +36 -0
  31. package/dist/Date-DgpsRJon.js +27 -0
  32. package/dist/DateRange-DrYK_l0Y.js +19 -0
  33. package/dist/DateRange-UHosLXP9.js +61 -0
  34. package/dist/DateTime-BfNjKDfI.js +37 -0
  35. package/dist/DateTime-CHn5T-FB.js +27 -0
  36. package/dist/DateTimeRange-6TctUiMd.js +65 -0
  37. package/dist/Daterange-DISQqOFM.js +61 -0
  38. package/dist/Decimal-BB2w4V2o.js +27 -0
  39. package/dist/Decimal-C38-N54B.js +36 -0
  40. package/dist/Delete-C7gIYWP8.js +59 -0
  41. package/dist/Detail-D-6vJTGF.js +70 -0
  42. package/dist/Dictionary-DfEacdox.js +59 -0
  43. package/dist/Email-BKW9GRcH.js +19 -0
  44. package/dist/Email-ME_MU94C.js +47 -0
  45. package/dist/File-CMCYSg30.js +158 -0
  46. package/dist/Image-BL458jPH.js +9 -0
  47. package/dist/Index-8lbvVECt.js +4 -0
  48. package/dist/Index-B1ZfzgLV.js +4 -0
  49. package/dist/Index-C_HCipwv.js +4 -0
  50. package/dist/Index-Ch59SxF3.js +74 -0
  51. package/dist/Index-CopnEHli.js +4 -0
  52. package/dist/Index-Cp7EDm0u.js +173 -0
  53. package/dist/Index-DZkeSKKp.js +4 -0
  54. package/dist/Index-tbCW5R6_.js +4 -0
  55. package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +36 -0
  56. package/dist/Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js +70 -0
  57. package/dist/Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js +82 -0
  58. package/dist/Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js +113 -0
  59. package/dist/Install-CJbpeRw0.js +130 -0
  60. package/dist/Int-B-t8edhd.js +19 -0
  61. package/dist/Int-C-0RMDmy.js +37 -0
  62. package/dist/Int-CkzuFSk2.js +45 -0
  63. package/dist/List-V1uPlNfP.js +77 -0
  64. package/dist/Maintaince-BM4tthS_.js +19 -0
  65. package/dist/Markdown-BzMP3m7o.js +37 -0
  66. package/dist/Markdown-Dq7L9EMQ.js +27 -0
  67. package/dist/Month-B_SzKf02.js +36 -0
  68. package/dist/Month-CUX-EnU_.js +27 -0
  69. package/dist/Month-DfemgHac.js +37 -0
  70. package/dist/Normal-B2w0Isvm.js +255 -0
  71. package/dist/Paging-Bnpq9uSh.js +95 -0
  72. package/dist/PagingHeader-CBXHiUXR.js +140 -0
  73. package/dist/PagingRow-tny-wHwu.js +66 -0
  74. package/dist/Password-DuyYEgzR.js +55 -0
  75. package/dist/Password-yHtlY-Qa.js +24 -0
  76. package/dist/Progress-C3D821AQ.js +34 -0
  77. package/dist/Progress-CKVzMO-W.js +25 -0
  78. package/dist/QueryApi-BLc_au6L.js +18 -0
  79. package/dist/Racebar-DqWtIQm-.js +166 -0
  80. package/dist/Radio-DkcBKBvX.js +47 -0
  81. package/dist/Radio-xLd4l78I.js +27 -0
  82. package/dist/Rate-B7jKTFKT.js +34 -0
  83. package/dist/Rate-BmC4gw_0.js +34 -0
  84. package/dist/Register-Bio0HxyZ.js +203 -0
  85. package/dist/RichText-BYNi_iMx.js +105 -0
  86. package/dist/RichText-Bk0Msyhl.js +22 -0
  87. package/dist/SearchFooter-BAPlMiuj.js +4 -0
  88. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js +55 -0
  89. package/dist/SearchForm-BaPwWOch.js +4 -0
  90. package/dist/SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js +150 -0
  91. package/dist/Select-DMDcHdlD.js +116 -0
  92. package/dist/Select-Dlx4Tg2X.js +27 -0
  93. package/dist/Select-Doyr8ioF.js +84 -0
  94. package/dist/Single-B4EEi5Bm.js +323 -0
  95. package/dist/Statistic-AY1NP5tM.js +161 -0
  96. package/dist/Statistic-CTxHNeof.js +76 -0
  97. package/dist/Stock-CcBqUgOB.js +28 -0
  98. package/dist/Stock-Sh2UHojP.js +4 -0
  99. package/dist/Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js +302 -0
  100. package/dist/Switch-BOsRzAW-.js +27 -0
  101. package/dist/Switch-DhFaku5L.js +50 -0
  102. package/dist/Table-C9IrdZEj.js +241 -0
  103. package/dist/Table-CrMo5L6q.js +318 -0
  104. package/dist/Text-BRRmmXYV.js +52 -0
  105. package/dist/Text-DKpPIUcY.js +51 -0
  106. package/dist/Text-vz76Xb4X.js +4 -0
  107. package/dist/Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js +56 -0
  108. package/dist/TextLink-DKm6XbeF.js +66 -0
  109. package/dist/Textarea-D9TgF9ig.js +37 -0
  110. package/dist/Textarea-WPLyT7XC.js +28 -0
  111. package/dist/Time-BcQzBDX-.js +36 -0
  112. package/dist/Timeline-Dolubd-b.js +57 -0
  113. package/dist/Tree-Bv5eVC8s.js +122 -0
  114. package/dist/Tree-KwP6ais4.js +295 -0
  115. package/dist/TreeNode-rHeuE2ot.js +38 -0
  116. package/dist/Tree_Old-h__WmqFA.js +11 -0
  117. package/dist/Update-C5bPCalk.js +65 -0
  118. package/dist/UpdateChild-B2A3hP6m.js +85 -0
  119. package/dist/Upload-BSbIQu56.js +147 -0
  120. package/dist/Upload-heb0FQTh.js +72 -0
  121. package/dist/UploadApi-vYU0Jda6.js +18 -0
  122. package/dist/Year-1ug2_a1g.js +40 -0
  123. package/dist/Year-Dlp5PKhI.js +27 -0
  124. package/dist/main-Bs5Q5ZLl.js +6535 -0
  125. package/dist/main.js +110 -0
  126. package/dist/style.css +1 -0
  127. package/dist/vendor-@intlify-BISCQg1h.js +2189 -0
  128. package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
  129. package/dist/vendor-@vue-aVYGocXp.js +93 -0
  130. package/dist/vendor-clipboard-BqjesuiY.js +521 -0
  131. package/dist/vendor-clone-BPtCWdXG.js +134 -0
  132. package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
  133. package/dist/vendor-element-plus-Z7vJFrsh.js +456 -0
  134. package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
  135. package/dist/vendor-intro.js-CZkClzQO.js +1695 -0
  136. package/dist/vendor-moment-h96o7c8I.js +2578 -0
  137. package/dist/vendor-pinia-C-_fm-ER.js +1167 -0
  138. package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
  139. package/dist/vendor-state-local-CEworIRt.js +131 -0
  140. package/dist/vendor-underscore-DVTek3G4.js +1070 -0
  141. package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
  142. package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
  143. package/dist/vendor-vue-demi-DdR-Jw7p.js +31 -0
  144. package/dist/vendor-vue-i18n-C3KH15Qn.js +1670 -0
  145. package/package.json +1 -1
@@ -0,0 +1,36 @@
1
+ import { defineComponent as p, toRefs as c, computed as f, resolveComponent as _, openBlock as b, createBlock as V, unref as o, isRef as g } from "vue";
2
+ const B = /* @__PURE__ */ p({
3
+ __name: "Decimal",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(r, { emit: u }) {
14
+ let t = u, s = r, { table: h, field: n, set: k, modelValue: d } = c(s), e = f({
15
+ get() {
16
+ return d.value;
17
+ },
18
+ set(l) {
19
+ t("update:modelValue", l), t("change", l);
20
+ }
21
+ });
22
+ return (l, a) => {
23
+ const i = _("el-input-number");
24
+ return b(), V(i, {
25
+ class: "control-decimal",
26
+ precision: o(n).control.precision,
27
+ disabled: o(n).control.readonly,
28
+ modelValue: o(e),
29
+ "onUpdate:modelValue": a[0] || (a[0] = (m) => g(e) ? e.value = m : e = m)
30
+ }, null, 8, ["precision", "disabled", "modelValue"]);
31
+ };
32
+ }
33
+ });
34
+ export {
35
+ B as default
36
+ };
@@ -0,0 +1,59 @@
1
+ import { defineComponent as g, toRefs as S, ref as x, resolveComponent as y, openBlock as B, createElementBlock as D, createElementVNode as c, toDisplayString as t, createVNode as r, unref as i, withCtx as a, createTextVNode as m } from "vue";
2
+ import { z as N, h as V, M as E } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
5
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
6
+ import "./vendor-moment-h96o7c8I.js";
7
+ const M = { class: "delete" }, R = { class: "delete-title" }, q = { class: "delete-buttons" }, G = /* @__PURE__ */ g({
8
+ __name: "Delete",
9
+ props: {
10
+ base: {},
11
+ route: {},
12
+ url: {}
13
+ },
14
+ emits: ["navigate", "succeed", "close"],
15
+ setup(d, { emit: u }) {
16
+ let o = u, p = d, { base: _, route: f } = S(p), v = N(), l = x(), h = (e) => {
17
+ l.value = e.next;
18
+ };
19
+ (() => {
20
+ h(_.value.data);
21
+ })();
22
+ let k = () => {
23
+ let e = [f.value.query.id];
24
+ V.post(l.value.delete.route, e).then((s) => {
25
+ E.success(s.message), C();
26
+ });
27
+ }, C = () => {
28
+ v.toBackUrl(), o("succeed", "delete");
29
+ }, b = () => {
30
+ o("close");
31
+ };
32
+ return (e, s) => {
33
+ const n = y("el-button");
34
+ return B(), D("div", M, [
35
+ c("div", R, t(e.t("common.confirm_delete")), 1),
36
+ c("div", q, [
37
+ r(n, {
38
+ type: "danger",
39
+ onClick: i(k)
40
+ }, {
41
+ default: a(() => [
42
+ m(t(e.t("common.confirm")), 1)
43
+ ]),
44
+ _: 1
45
+ }, 8, ["onClick"]),
46
+ r(n, { onClick: i(b) }, {
47
+ default: a(() => [
48
+ m(t(e.t("common.cancel")), 1)
49
+ ]),
50
+ _: 1
51
+ }, 8, ["onClick"])
52
+ ])
53
+ ]);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ G as default
59
+ };
@@ -0,0 +1,70 @@
1
+ import { defineComponent as k, toRefs as C, resolveComponent as h, openBlock as v, createBlock as b, unref as o, withCtx as t, createVNode as i, createTextVNode as a, toDisplayString as c, createElementVNode as s } from "vue";
2
+ import { t as x } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
5
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
6
+ import "./vendor-moment-h96o7c8I.js";
7
+ const N = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), V = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), g = /* @__PURE__ */ s("i", { class: "fa fa-chevron-left" }, null, -1), q = /* @__PURE__ */ k({
8
+ __name: "Detail",
9
+ props: {
10
+ route: {},
11
+ table: {},
12
+ next: {},
13
+ set: {}
14
+ },
15
+ emits: ["copy", "edit", "close"],
16
+ setup(p, { emit: f }) {
17
+ let l = f, u = p, { route: B, table: m, set: r, next: D } = C(u), d = (e) => {
18
+ l("copy", r.value[m.value.name][0], e);
19
+ }, _ = (e) => {
20
+ l("edit", r.value[m.value.name][0], e);
21
+ }, y = () => {
22
+ l("close");
23
+ };
24
+ return (e, w) => {
25
+ const n = h("el-button");
26
+ return v(), b(o(x), { padding: 5 }, {
27
+ default: t(() => [
28
+ i(n, {
29
+ type: "primary",
30
+ onClick: o(_)
31
+ }, {
32
+ icon: t(() => [
33
+ N
34
+ ]),
35
+ default: t(() => [
36
+ a(" " + c(e.t("common.modify")), 1)
37
+ ]),
38
+ _: 1
39
+ }, 8, ["onClick"]),
40
+ i(n, {
41
+ type: "primary",
42
+ plain: "",
43
+ onClick: o(d)
44
+ }, {
45
+ icon: t(() => [
46
+ V
47
+ ]),
48
+ default: t(() => [
49
+ a(" " + c(e.t("common.copy")), 1)
50
+ ]),
51
+ _: 1
52
+ }, 8, ["onClick"]),
53
+ i(n, { onClick: o(y) }, {
54
+ icon: t(() => [
55
+ g
56
+ ]),
57
+ default: t(() => [
58
+ a(" " + c(e.t("common.back")), 1)
59
+ ]),
60
+ _: 1
61
+ }, 8, ["onClick"])
62
+ ]),
63
+ _: 1
64
+ });
65
+ };
66
+ }
67
+ });
68
+ export {
69
+ q as default
70
+ };
@@ -0,0 +1,59 @@
1
+ import { defineComponent as g, toRefs as x, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as S, unref as b, createBlock as k, normalizeStyle as B, withCtx as C, createTextVNode as N, toDisplayString as u, createCommentVNode as H } from "vue";
2
+ import { c as s, S as w, A } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
5
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
6
+ import "./vendor-moment-h96o7c8I.js";
7
+ const D = { class: "text-dictionary" }, E = {
8
+ key: 0,
9
+ class: "suffix"
10
+ }, J = /* @__PURE__ */ g({
11
+ __name: "Dictionary",
12
+ props: {
13
+ schema: {},
14
+ table: {},
15
+ field: {},
16
+ set: {},
17
+ row: {},
18
+ modelValue: { type: [String, Number, Boolean] }
19
+ },
20
+ emits: ["submit", "change", "update:modelValue"],
21
+ setup(i, { emit: m }) {
22
+ let n = m, p = i, { table: T, field: c, set: z, modelValue: d } = x(p), t = o({
23
+ get() {
24
+ return d.value;
25
+ },
26
+ set(e) {
27
+ n("update:modelValue", e), n("change", e);
28
+ }
29
+ }), f = o(() => {
30
+ if (t.value == null)
31
+ return [];
32
+ if (s.isNumber(t.value))
33
+ return [t.value];
34
+ if (s.isBoolean(t.value))
35
+ return [t.value];
36
+ let e = t.value.toString();
37
+ return w.isEmpty(e) ? [] : e.split(",");
38
+ }), _ = o(() => A.fromValues(f.value, c.value.control.data.data, "value", "text"));
39
+ return (e, F) => {
40
+ const v = h("el-tag");
41
+ return r(), a("div", D, [
42
+ (r(!0), a(V, null, S(b(_), (l, y) => (r(), k(v, {
43
+ type: "info",
44
+ style: B({ color: l.color }),
45
+ key: y
46
+ }, {
47
+ default: C(() => [
48
+ N(u(l.text) + " ", 1),
49
+ l.suffix ? (r(), a("span", E, "(" + u(l.suffix) + ")", 1)) : H("", !0)
50
+ ]),
51
+ _: 2
52
+ }, 1032, ["style"]))), 128))
53
+ ]);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ J as default
59
+ };
@@ -0,0 +1,19 @@
1
+ import { defineComponent as l, toRefs as a, openBlock as s, createElementBlock as n, toDisplayString as r, unref as c } from "vue";
2
+ const m = { class: "text-email" }, x = /* @__PURE__ */ l({
3
+ __name: "Email",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ setup(e) {
13
+ let t = e, { table: p, field: i, set: f, row: _, modelValue: o } = a(t);
14
+ return (d, u) => (s(), n("span", m, r(c(o)), 1));
15
+ }
16
+ });
17
+ export {
18
+ x as default
19
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as f, toRefs as _, computed as V, resolveComponent as b, openBlock as h, createBlock as y, unref as e, withKeys as x, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
2
+ const R = /* @__PURE__ */ f({
3
+ __name: "Email",
4
+ props: {
5
+ schema: {},
6
+ table: {},
7
+ field: {},
8
+ set: {},
9
+ row: {},
10
+ modelValue: {}
11
+ },
12
+ emits: ["submit", "change", "update:modelValue"],
13
+ setup(m, { emit: i }) {
14
+ let a = i, u = m, { table: p, field: t, set: K, modelValue: s } = _(u), r = () => {
15
+ a("submit");
16
+ }, l = V({
17
+ get() {
18
+ return s.value;
19
+ },
20
+ set(o) {
21
+ a("update:modelValue", o), a("change", o);
22
+ }
23
+ });
24
+ return (o, n) => {
25
+ const c = b("el-input");
26
+ return h(), y(c, {
27
+ type: "email",
28
+ disabled: e(t).control.readonly,
29
+ placeholder: o.t_field_placeholder(e(p).name, e(t).name),
30
+ onKeyup: x(e(r), ["enter", "native"]),
31
+ modelValue: e(l),
32
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => g(l) ? l.value = d : l = d)
33
+ }, k({ _: 2 }, [
34
+ e(t).suffix ? {
35
+ name: "append",
36
+ fn: v(() => [
37
+ w(C(e(t).suffix), 1)
38
+ ]),
39
+ key: "0"
40
+ } : void 0
41
+ ]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
42
+ };
43
+ }
44
+ });
45
+ export {
46
+ R as default
47
+ };
@@ -0,0 +1,158 @@
1
+ import { defineComponent as O, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as q, Fragment as L, renderList as w, createBlock as h, toDisplayString as _, createTextVNode as S, createCommentVNode as x } from "vue";
2
+ import { useRoute as A, useRouter as G } from "vue-router";
3
+ import { i as F, n as H, h as I, q as K } from "./main-Bs5Q5ZLl.js";
4
+ import "xlsx-js-style";
5
+ import "./vendor-crypto-js-ftX_aBC-.js";
6
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
7
+ import "./vendor-moment-h96o7c8I.js";
8
+ import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js";
9
+ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ n("i", { class: "fa fa-list" }, null, -1), X = [
10
+ W
11
+ ], Y = /* @__PURE__ */ n("i", { class: "fa fa-image" }, null, -1), Z = [
12
+ Y
13
+ ], ee = {
14
+ key: 0,
15
+ class: "files-image"
16
+ }, te = { class: "file-image" }, oe = ["src"], ae = { class: "file-title" }, le = { class: "file-name" }, ne = ["src", "alt"], se = { class: "file-title" }, re = {
17
+ key: 2,
18
+ class: "not-support"
19
+ }, he = /* @__PURE__ */ O({
20
+ __name: "File",
21
+ props: {
22
+ searchData: {},
23
+ module: {},
24
+ schema: {},
25
+ table: {},
26
+ layout: {},
27
+ next: {},
28
+ set: {}
29
+ },
30
+ setup(N) {
31
+ let z = N, { schema: B, table: s, layout: i, next: d, set: b, searchData: ie } = P(z), c = F(), f = A(), v = G(), k = T(), C = (t) => {
32
+ let a = { type: "fileLayout", value: t };
33
+ I.post("/user/config", a).then((y) => {
34
+ F.fileLayout = t;
35
+ });
36
+ }, D = (t) => {
37
+ let a = { ...f.query };
38
+ a.page = t, v.push({ path: d.value.paging.route, query: a });
39
+ }, V = () => {
40
+ let t = { ...f.query };
41
+ t.page = "1", t.condition = K.getEncoder().getBase64().encode(JSON.stringify(k.value));
42
+ let a = { path: d.value.paging.route, query: t };
43
+ v.push(a);
44
+ };
45
+ return (t, a) => {
46
+ const y = p("router-link"), E = p("el-table-column"), R = p("el-table"), j = p("el-button"), J = p("el-pagination");
47
+ return l(), u("div", Q, [
48
+ g(e(H), {
49
+ title: t.t_module(t.module.type, t.module.name)
50
+ }, {
51
+ operation: r(() => [
52
+ n("div", U, [
53
+ n("a", {
54
+ class: q({ active: e(c).fileLayout == "list" }),
55
+ onClick: a[0] || (a[0] = (o) => e(C)("list"))
56
+ }, X, 2),
57
+ n("a", {
58
+ class: q({ active: e(c).fileLayout == "image" }),
59
+ onClick: a[1] || (a[1] = (o) => e(C)("image"))
60
+ }, Z, 2)
61
+ ])
62
+ ]),
63
+ append: r(() => [
64
+ e(c).fileLayout == "image" ? (l(), u("div", ee, [
65
+ (l(!0), u(L, null, w(e(b)[e(s).name], (o, $) => (l(), h(y, {
66
+ class: "file",
67
+ to: { path: e(d).detail.route, query: { id: o[e(s).key.name], m: e(f).query.m } },
68
+ key: $
69
+ }, {
70
+ default: r(() => [
71
+ n("div", te, [
72
+ n("img", {
73
+ src: o[e(i).url],
74
+ alt: ""
75
+ }, null, 8, oe)
76
+ ]),
77
+ n("div", ae, _(o[e(i).name]), 1)
78
+ ]),
79
+ _: 2
80
+ }, 1032, ["to"]))), 128))
81
+ ])) : e(c).fileLayout == "list" ? (l(), h(R, {
82
+ key: 1,
83
+ class: "files-list",
84
+ border: "",
85
+ data: e(b)[e(s).name]
86
+ }, {
87
+ empty: r(() => [
88
+ S(_(t.t("common.no_data")), 1)
89
+ ]),
90
+ default: r(() => [
91
+ (l(!0), u(L, null, w(e(s).show, (o, $) => (l(), h(E, {
92
+ "show-overflow-tooltip": "",
93
+ sortable: e(s) ? "custom" : !1,
94
+ "min-width": "180",
95
+ "sort-orders": ["descending", "ascending"],
96
+ prop: o.name,
97
+ label: `${o.label}${o.prefix || o.suffix ? "(" + (o.prefix || o.suffix) + ")" : ""}`,
98
+ key: `${e(s).name}.${o.name}`
99
+ }, {
100
+ default: r((m) => [
101
+ n("div", le, [
102
+ m.column.property == e(i).name ? (l(), u("img", {
103
+ key: 0,
104
+ class: "file-image",
105
+ src: m.row[e(i).url],
106
+ alt: m.row[e(i).name]
107
+ }, null, 8, ne)) : x("", !0),
108
+ n("div", se, _(m.row[m.column.property]), 1)
109
+ ])
110
+ ]),
111
+ _: 2
112
+ }, 1032, ["sortable", "prop", "label"]))), 128))
113
+ ]),
114
+ _: 1
115
+ }, 8, ["data"])) : (l(), u("div", re, "未支持的文件布局:" + _(e(c).fileLayout), 1))
116
+ ]),
117
+ default: r(() => [
118
+ e(s).search.length > 0 ? (l(), h(M, {
119
+ key: 0,
120
+ schema: e(B),
121
+ table: e(s),
122
+ search: e(k),
123
+ onSubmit: e(V)
124
+ }, null, 8, ["schema", "table", "search", "onSubmit"])) : x("", !0)
125
+ ]),
126
+ _: 1
127
+ }, 8, ["title"]),
128
+ g(j, {
129
+ type: "primary",
130
+ icon: "el-icon-plus"
131
+ }, {
132
+ default: r(() => [
133
+ g(y, {
134
+ to: { path: e(d).insert.route, query: { m: e(f).query.m } }
135
+ }, {
136
+ default: r(() => [
137
+ S("添加新" + _(e(s).title), 1)
138
+ ]),
139
+ _: 1
140
+ }, 8, ["to"])
141
+ ]),
142
+ _: 1
143
+ }),
144
+ g(J, {
145
+ background: "",
146
+ layout: "total, prev, pager, next, jumper",
147
+ "current-page": e(i).page,
148
+ "page-size": e(i).pageSize,
149
+ total: e(i).count,
150
+ onCurrentChange: e(D)
151
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
152
+ ]);
153
+ };
154
+ }
155
+ });
156
+ export {
157
+ he as default
158
+ };
@@ -0,0 +1,9 @@
1
+ import { b as e } from "./main-Bs5Q5ZLl.js";
2
+ const r = {};
3
+ function c(n, t) {
4
+ return null;
5
+ }
6
+ const o = /* @__PURE__ */ e(r, [["render", c]]);
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,4 @@
1
+ import { E as f } from "./main-Bs5Q5ZLl.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,74 @@
1
+ import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
2
+ import { S as N } from "./main-Bs5Q5ZLl.js";
3
+ import "xlsx-js-style";
4
+ import "./vendor-crypto-js-ftX_aBC-.js";
5
+ import "./vendor-@monaco-editor-DKC4UNw_.js";
6
+ import "./vendor-moment-h96o7c8I.js";
7
+ const H = /* @__PURE__ */ x({
8
+ __name: "Index",
9
+ props: {
10
+ schema: {},
11
+ table: {},
12
+ field: {},
13
+ set: {},
14
+ row: {},
15
+ config: {}
16
+ },
17
+ emits: ["submit", "change"],
18
+ setup(g, { emit: S }) {
19
+ let V = C(() => import("./TextLink-DKm6XbeF.js")), k = g, { schema: u, table: s, field: o, set: i, row: a, config: m } = D(k), p = d(() => {
20
+ let l = o.value.control.type;
21
+ return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
22
+ }), y = d(() => `text-${N.getDashName(p.value)}`), t = d({
23
+ get() {
24
+ return a.value[o.value.name];
25
+ },
26
+ set(l) {
27
+ a.value[o.value.name] = l;
28
+ }
29
+ });
30
+ return (l, r) => e(o).link ? (c(), f(e(V), {
31
+ key: 0,
32
+ schema: e(u),
33
+ table: e(s),
34
+ field: e(o),
35
+ set: e(i),
36
+ row: e(a)
37
+ }, {
38
+ default: v(() => [
39
+ (c(), f(b(e(y)), {
40
+ schema: e(u),
41
+ table: e(s),
42
+ field: e(o),
43
+ set: e(i),
44
+ row: e(a),
45
+ modelValue: e(t),
46
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => w(t) ? t.value = n : t = n)
47
+ }, {
48
+ default: v(() => [
49
+ _("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
50
+ ]),
51
+ _: 1
52
+ }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
53
+ ]),
54
+ _: 1
55
+ }, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(b(e(y)), {
56
+ key: 1,
57
+ schema: e(u),
58
+ table: e(s),
59
+ field: e(o),
60
+ set: e(i),
61
+ row: e(a),
62
+ modelValue: e(t),
63
+ "onUpdate:modelValue": r[1] || (r[1] = (n) => w(t) ? t.value = n : t = n)
64
+ }, {
65
+ default: v(() => [
66
+ _("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
67
+ ]),
68
+ _: 1
69
+ }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
70
+ }
71
+ });
72
+ export {
73
+ H as default
74
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js";
2
+ export {
3
+ f as default
4
+ };