halo-pc 1.0.26 → 1.0.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-BNacU3kR.js → Article-CTzPZjf8.js} +71 -65
- package/dist/{ArticleFooter-Ya07aLYn.js → ArticleFooter-jyfzfZHH.js} +23 -17
- package/dist/{Autocomplete-CyXE-g54.js → Autocomplete-D8ytFwqa.js} +1 -1
- package/dist/Autocomplete-DoUE3T0L.js +53 -0
- package/dist/Autocomplete-FGRT-2ru.js +54 -0
- package/dist/{CSharp-DQLgcbTQ.js → CSharp-qh_kEfGr.js} +1 -1
- package/dist/{Calender-YujFxcgS.js → Calender-DOuq9uAK.js} +1 -1
- package/dist/Callback-DuaBaO1q.js +26 -0
- package/dist/Cascader-DgKBpjUK.js +47 -0
- package/dist/Cascader-s8VT55_K.js +87 -0
- package/dist/{Checkbox-Dkqh7eR4.js → Checkbox-D9NUw4jZ.js} +1 -1
- package/dist/Checkbox-REcdbTXR.js +76 -0
- package/dist/{Code-DXkJ6x5_.js → Code-CBVRms_j.js} +1 -1
- package/dist/Code-DZ-bK9UT.js +60 -0
- package/dist/Code-DfnLveft.js +42 -0
- package/dist/{Code-Dszcah6J.js → Code-loaJtKGd.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-BVLhtr1Y.js +65 -0
- package/dist/Column-B96LbQFW.js +75 -0
- package/dist/Comment-bPWbEkgq.js +104 -0
- package/dist/Compare-D4O0qmYv.js +44 -0
- package/dist/{Compare-DKLN4wT4.js → Compare-dimRoHFX.js} +24 -18
- package/dist/Copy-CKLxfWd4.js +49 -0
- package/dist/Custom-Bwyy4_tA.js +57 -0
- package/dist/{DataExport-CFjE1loi.js → DataExport-Bp50K0_6.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js → DataExport.vue_vue_type_script_setup_true_lang-8nDL-PI_.js} +41 -36
- package/dist/{DataImport-BQ0rieu8.js → DataImport-BWI4eCxA.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DCS1SfNf.js +176 -0
- package/dist/Date-Cf64NT4R.js +43 -0
- package/dist/{Date-C5WCVXDU.js → Date-FBemqmex.js} +1 -1
- package/dist/DateRange-D5kvmDIo.js +63 -0
- package/dist/DateTime-CTGuyJ4w.js +44 -0
- package/dist/{DateTime-BrsWm90_.js → DateTime-Cvnnthwx.js} +1 -1
- package/dist/{DateTimeRange-DjIp1SAX.js → DateTimeRange-Gb33uiRV.js} +17 -11
- package/dist/Daterange-CfAdeV7J.js +63 -0
- package/dist/{Decimal-_6FobwTd.js → Decimal-B-fyPiuP.js} +1 -1
- package/dist/Delete-DhbWFnzt.js +62 -0
- package/dist/{Detail-BMbiENm0.js → Detail-DV-JRRLT.js} +20 -14
- package/dist/Dictionary-b_mbt-WU.js +59 -0
- package/dist/Email-C2Yl7bMF.js +54 -0
- package/dist/{File-B9Q2QOa-.js → File-D57qYYt1.js} +28 -22
- package/dist/{Image-CzOq81lm.js → Image-BKNUY356.js} +1 -1
- package/dist/{Index-DJz-eVVd.js → Index-BPfkpoVf.js} +25 -20
- package/dist/Index-BUCyMvJX.js +4 -0
- package/dist/Index-BtxNIZsx.js +4 -0
- package/dist/Index-C5WYmq9P.js +4 -0
- package/dist/{Index-DvfJmbPU.js → Index-CSzgmzRG.js} +1 -1
- package/dist/Index-ChWD2gJt.js +4 -0
- package/dist/{Index-BmVFh23J.js → Index-P3uHTgX-.js} +1 -1
- package/dist/Index-PB-VnCO7.js +178 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js → Index.vue_vue_type_script_setup_true_lang-BkjFEuPH.js} +20 -14
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js → Index.vue_vue_type_script_setup_true_lang-CJV5JBz9.js} +22 -16
- package/dist/{Install-CXj-qqao.js → Install-o0VJz9Rl.js} +27 -21
- package/dist/Int-BNwPsWfI.js +44 -0
- package/dist/Int-DN3vf18e.js +46 -0
- package/dist/List-DRAtVlgE.js +79 -0
- package/dist/Maintaince-CdVk7qiu.js +20 -0
- package/dist/{Markdown-CdP4Uf3M.js → Markdown-CFwOeXFg.js} +1 -1
- package/dist/Month-CrvLoEQy.js +43 -0
- package/dist/Month-CyB2owvQ.js +44 -0
- package/dist/{Month-BUvqsSfA.js → Month-DsKmd425.js} +1 -1
- package/dist/{Normal-DUlWYlcs.js → Normal-B_SPQW9Z.js} +99 -94
- package/dist/Paging-CzCgExDM.js +99 -0
- package/dist/{PagingHeader-aZb0fGRv.js → PagingHeader-Bfnnsv6m.js} +30 -24
- package/dist/{PagingRow-_H7tCWDM.js → PagingRow-BXaakA5y.js} +26 -20
- package/dist/QueryApi-Cah37Kwx.js +20 -0
- package/dist/{Racebar-DESsxoi9.js → Racebar-6FTe1C4G.js} +42 -37
- package/dist/{Radio-ChF3_bX0.js → Radio-rym8cXJN.js} +1 -1
- package/dist/{Register-Du5lRabU.js → Register-v__-wpY2.js} +75 -70
- package/dist/RichText-BDP5KDin.js +47 -0
- package/dist/{SearchFooter-HjKH1gD5.js → SearchFooter-0mHMD0Xf.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js → SearchFooter.vue_vue_type_style_index_0_lang-CXTYGXIa.js} +1 -1
- package/dist/{SearchForm-C-o0Orkp.js → SearchForm-jSIiiv2r.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js → SearchForm.vue_vue_type_style_index_0_lang-CFxxTJiB.js} +45 -40
- package/dist/{Select-CYaWHcWs.js → Select-Cpj86Kaw.js} +26 -20
- package/dist/{Select-DgKzH1gD.js → Select-DKjXN6Ag.js} +34 -28
- package/dist/{Select-DrybbaWb.js → Select-R0EsEK0_.js} +1 -1
- package/dist/{Single-B-253IzX.js → Single-fIhSt1dN.js} +111 -106
- package/dist/{Statistic-B7Tib1eh.js → Statistic-DM3Fr6sO.js} +29 -24
- package/dist/{Stock-DuyZiPxv.js → Stock-BemUvyqK.js} +1 -1
- package/dist/{Stock-BBcnzi6G.js → Stock-DUrxld5G.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js → Stock.vue_vue_type_style_index_0_lang-Cv9Jvd6d.js} +29 -24
- package/dist/{Switch-DP-_EUOK.js → Switch-QdLS7c3q.js} +1 -1
- package/dist/{Table-hHG9kq1I.js → Table-BcVHufy3.js} +85 -81
- package/dist/{Table-2jZ0ISz7.js → Table-C4dGV7IQ.js} +74 -68
- package/dist/{Text-lak-4VnA.js → Text-BJNnrW9U.js} +21 -15
- package/dist/{Text-RsldE1sr.js → Text-BNAKwCCe.js} +18 -12
- package/dist/{Text-C70dFJLS.js → Text-D3DqixJp.js} +1 -1
- package/dist/Text.vue_vue_type_style_index_0_lang-B253xD5Z.js +59 -0
- package/dist/TextLink-D-9pICMh.js +65 -0
- package/dist/{Textarea-QGa_EKSl.js → Textarea-Cr5zt_LK.js} +1 -1
- package/dist/Time-DQJPtNWo.js +43 -0
- package/dist/Timeline-Dy37Cou2.js +59 -0
- package/dist/Tree-3zBuSLBv.js +122 -0
- package/dist/{Tree-B2fZE9Qf.js → Tree-4v2brZjr.js} +112 -107
- package/dist/TreeNode-CvS8mLCJ.js +42 -0
- package/dist/{Update-BqQGp_9h.js → Update-Cp50LcVx.js} +18 -12
- package/dist/{UpdateChild-DejVqKrE.js → UpdateChild-CFi_DjLv.js} +23 -17
- package/dist/Upload-Bqp-5cFa.js +72 -0
- package/dist/Upload-D-hvecbh.js +150 -0
- package/dist/UploadApi-CC5hZcM_.js +20 -0
- package/dist/Year-CYSncKVk.js +47 -0
- package/dist/{Year-CrN8Fl5U.js → Year-q0tWWwkv.js} +1 -1
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/main-D-QTCahZ.js +9107 -0
- package/dist/main.js +36 -35
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Autocomplete-Bud53PPx.js +0 -48
- package/dist/Autocomplete-CfE5ZKi2.js +0 -49
- package/dist/Callback-BaFg5U2u.js +0 -20
- package/dist/Cascader-C1kyNib7.js +0 -41
- package/dist/Cascader-D5PO9zK9.js +0 -81
- package/dist/Checkbox-CUtyT8l7.js +0 -70
- package/dist/Code-C160-nQS.js +0 -54
- package/dist/Code-pe9JMCAj.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js +0 -59
- package/dist/Column-C3j98RGT.js +0 -69
- package/dist/Comment-DIrY0RiI.js +0 -98
- package/dist/Compare-5j7MYou6.js +0 -38
- package/dist/Copy-Go_1uhB5.js +0 -43
- package/dist/Custom-C00oYEFm.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js +0 -172
- package/dist/Date-uHiOL-PD.js +0 -37
- package/dist/DateRange-B-HjKQpJ.js +0 -57
- package/dist/DateTime-D4Ck5hBj.js +0 -38
- package/dist/Daterange-DiZUFL_F.js +0 -57
- package/dist/Delete-C46eSfMC.js +0 -56
- package/dist/Dictionary-Dga6kbof.js +0 -55
- package/dist/Email-PVk9gqfn.js +0 -48
- package/dist/Index-CfDvQD94.js +0 -4
- package/dist/Index-Cq20wsZC.js +0 -173
- package/dist/Index-DGiRkT-p.js +0 -4
- package/dist/Index-DyK_nYp9.js +0 -4
- package/dist/Index-z5MnS_Wq.js +0 -4
- package/dist/Int-BG6MD24t.js +0 -38
- package/dist/Int-Dc7h_7Ga.js +0 -41
- package/dist/List-EDwPH8aL.js +0 -73
- package/dist/Maintaince-BqvMHxH0.js +0 -14
- package/dist/Month-8mDUGsOp.js +0 -37
- package/dist/Month-ClGd6IhI.js +0 -38
- package/dist/Paging-D_ticCtb.js +0 -94
- package/dist/QueryApi-S0e3c6l0.js +0 -13
- package/dist/RichText-BJVvArGS.js +0 -41
- package/dist/Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js +0 -53
- package/dist/TextLink-C-NU-oVe.js +0 -59
- package/dist/Time-BgWPjGd1.js +0 -37
- package/dist/Timeline-CBWcOVdY.js +0 -53
- package/dist/Tree--dJKRJvG.js +0 -117
- package/dist/TreeNode-CxTzNQo9.js +0 -37
- package/dist/Upload-9z5VIixQ.js +0 -146
- package/dist/Upload-tlSQp2Qu.js +0 -67
- package/dist/UploadApi-B2dxOS0T.js +0 -13
- package/dist/Year-DNDyqe5X.js +0 -41
- package/dist/main-D3_7YhaK.js +0 -15700
@@ -0,0 +1,62 @@
|
|
1
|
+
import { defineComponent as x, toRefs as g, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as i, toDisplayString as o, unref as e, createVNode as a, withCtx as m, createTextVNode as d } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { t as l, h as V, m as w, r as E } from "./main-D-QTCahZ.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const S = { class: "delete" }, q = { class: "delete-title" }, R = { class: "delete-buttons" }, J = /* @__PURE__ */ x({
|
10
|
+
__name: "Delete",
|
11
|
+
props: {
|
12
|
+
base: {},
|
13
|
+
route: {},
|
14
|
+
url: {},
|
15
|
+
win: {}
|
16
|
+
},
|
17
|
+
emits: ["navigate", "succeed", "close"],
|
18
|
+
setup(u, { emit: p }) {
|
19
|
+
let n = p, _ = u, { base: f, route: v } = g(_), s = y(), h = (t) => {
|
20
|
+
s.value = t.next;
|
21
|
+
};
|
22
|
+
(() => {
|
23
|
+
h(f.value.data);
|
24
|
+
})();
|
25
|
+
let k = () => {
|
26
|
+
let t = [v.value.query.id];
|
27
|
+
V.post(s.value.delete.route, t).then((c) => {
|
28
|
+
w.success(c.message), C();
|
29
|
+
});
|
30
|
+
}, C = () => {
|
31
|
+
E.toBackUrl(), n("succeed", "delete");
|
32
|
+
}, b = () => {
|
33
|
+
n("close");
|
34
|
+
};
|
35
|
+
return (t, c) => {
|
36
|
+
const r = B("el-button");
|
37
|
+
return D(), N("div", S, [
|
38
|
+
i("div", q, o(e(l)("common.confirm_delete")), 1),
|
39
|
+
i("div", R, [
|
40
|
+
a(r, {
|
41
|
+
type: "danger",
|
42
|
+
onClick: e(k)
|
43
|
+
}, {
|
44
|
+
default: m(() => [
|
45
|
+
d(o(e(l)("common.confirm")), 1)
|
46
|
+
]),
|
47
|
+
_: 1
|
48
|
+
}, 8, ["onClick"]),
|
49
|
+
a(r, { onClick: e(b) }, {
|
50
|
+
default: m(() => [
|
51
|
+
d(o(e(l)("common.cancel")), 1)
|
52
|
+
]),
|
53
|
+
_: 1
|
54
|
+
}, 8, ["onClick"])
|
55
|
+
])
|
56
|
+
]);
|
57
|
+
};
|
58
|
+
}
|
59
|
+
});
|
60
|
+
export {
|
61
|
+
J as default
|
62
|
+
};
|
@@ -1,9 +1,15 @@
|
|
1
|
-
import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as
|
2
|
-
import
|
1
|
+
import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as l, createTextVNode as c, toDisplayString as a, createElementVNode as r } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { N, t as m } from "./main-D-QTCahZ.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
3
9
|
import "element-plus";
|
4
10
|
import "vue-router";
|
5
11
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
const V = /* @__PURE__ */
|
12
|
+
const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__PURE__ */ r("i", { class: "fa fa-copy" }, null, -1), B = /* @__PURE__ */ r("i", { class: "fa fa-chevron-left" }, null, -1), I = /* @__PURE__ */ C({
|
7
13
|
__name: "Detail",
|
8
14
|
props: {
|
9
15
|
route: {},
|
@@ -13,18 +19,18 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
13
19
|
},
|
14
20
|
emits: ["copy", "edit", "close"],
|
15
21
|
setup(_, { emit: f }) {
|
16
|
-
let
|
17
|
-
|
22
|
+
let i = f, u = _, { route: D, table: p, set: s, next: w } = h(u), d = (o) => {
|
23
|
+
i("copy", s.value[p.value.name][0], o);
|
18
24
|
}, y = (o) => {
|
19
|
-
|
25
|
+
i("edit", s.value[p.value.name][0], o);
|
20
26
|
}, k = () => {
|
21
|
-
|
27
|
+
i("close");
|
22
28
|
};
|
23
29
|
return (o, E) => {
|
24
30
|
const n = v("el-button");
|
25
31
|
return x(), b(e(N), { padding: 5 }, {
|
26
32
|
default: t(() => [
|
27
|
-
|
33
|
+
l(n, {
|
28
34
|
type: "primary",
|
29
35
|
onClick: e(y)
|
30
36
|
}, {
|
@@ -32,11 +38,11 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
32
38
|
V
|
33
39
|
]),
|
34
40
|
default: t(() => [
|
35
|
-
|
41
|
+
c(" " + a(e(m)("common.modify")), 1)
|
36
42
|
]),
|
37
43
|
_: 1
|
38
44
|
}, 8, ["onClick"]),
|
39
|
-
|
45
|
+
l(n, {
|
40
46
|
type: "primary",
|
41
47
|
plain: "",
|
42
48
|
onClick: e(d)
|
@@ -45,16 +51,16 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
45
51
|
g
|
46
52
|
]),
|
47
53
|
default: t(() => [
|
48
|
-
|
54
|
+
c(" " + a(e(m)("common.copy")), 1)
|
49
55
|
]),
|
50
56
|
_: 1
|
51
57
|
}, 8, ["onClick"]),
|
52
|
-
|
58
|
+
l(n, { onClick: e(k) }, {
|
53
59
|
icon: t(() => [
|
54
60
|
B
|
55
61
|
]),
|
56
62
|
default: t(() => [
|
57
|
-
|
63
|
+
c(" " + a(e(m)("common.back")), 1)
|
58
64
|
]),
|
59
65
|
_: 1
|
60
66
|
}, 8, ["onClick"])
|
@@ -65,5 +71,5 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
65
71
|
}
|
66
72
|
});
|
67
73
|
export {
|
68
|
-
|
74
|
+
I as default
|
69
75
|
};
|
@@ -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 w } from "vue";
|
2
|
+
import { w as s, S as H, A } from "./main-D-QTCahZ.js";
|
3
|
+
import "./assets/clone-BZn0cTAu.js";
|
4
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
5
|
+
import "./assets/moment-h96o7c8I.js";
|
6
|
+
import "./assets/liquidjs-C-LVcoaY.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 H.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)) : w("", !0)
|
50
|
+
]),
|
51
|
+
_: 2
|
52
|
+
}, 1032, ["style"]))), 128))
|
53
|
+
]);
|
54
|
+
};
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
J as default
|
59
|
+
};
|
@@ -0,0 +1,54 @@
|
|
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
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { j as K } from "./main-D-QTCahZ.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const q = /* @__PURE__ */ f({
|
10
|
+
__name: "Email",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["submit", "change", "update:modelValue"],
|
20
|
+
setup(p, { emit: n }) {
|
21
|
+
let l = n, r = p, { table: d, field: t, set: B, modelValue: u } = _(r), s = () => {
|
22
|
+
l("submit");
|
23
|
+
}, o = V({
|
24
|
+
get() {
|
25
|
+
return u.value;
|
26
|
+
},
|
27
|
+
set(a) {
|
28
|
+
l("update:modelValue", a), l("change", a);
|
29
|
+
}
|
30
|
+
});
|
31
|
+
return (a, m) => {
|
32
|
+
const c = b("el-input");
|
33
|
+
return h(), y(c, {
|
34
|
+
type: "email",
|
35
|
+
disabled: e(t).control.readonly,
|
36
|
+
placeholder: e(K)(e(d).name, e(t).name),
|
37
|
+
onKeyup: x(e(s), ["enter", "native"]),
|
38
|
+
modelValue: e(o),
|
39
|
+
"onUpdate:modelValue": m[0] || (m[0] = (i) => g(o) ? o.value = i : o = i)
|
40
|
+
}, k({ _: 2 }, [
|
41
|
+
e(t).suffix ? {
|
42
|
+
name: "append",
|
43
|
+
fn: v(() => [
|
44
|
+
w(C(e(t).suffix), 1)
|
45
|
+
]),
|
46
|
+
key: "0"
|
47
|
+
} : void 0
|
48
|
+
]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
|
49
|
+
};
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
q as default
|
54
|
+
};
|
@@ -1,11 +1,17 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import
|
1
|
+
import { defineComponent as K, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
|
2
|
+
import { useRoute as A, useRouter as G } from "vue-router";
|
3
|
+
import "./assets/underscore-B0BCaBxV.js";
|
4
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import { K as H, b as I, D as c, t as J, h as M, c as O } from "./main-D-QTCahZ.js";
|
9
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
4
10
|
import "element-plus";
|
5
11
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
import { _ as
|
7
|
-
const
|
8
|
-
|
12
|
+
import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-CFxxTJiB.js";
|
13
|
+
const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), Y = [
|
14
|
+
X
|
9
15
|
], Z = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), ee = [
|
10
16
|
Z
|
11
17
|
], te = {
|
@@ -14,7 +20,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
14
20
|
}, oe = { class: "file-image" }, ae = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
|
15
21
|
key: 2,
|
16
22
|
class: "not-support"
|
17
|
-
},
|
23
|
+
}, Ce = /* @__PURE__ */ K({
|
18
24
|
__name: "File",
|
19
25
|
props: {
|
20
26
|
searchData: {},
|
@@ -26,9 +32,9 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
26
32
|
set: {}
|
27
33
|
},
|
28
34
|
setup(z) {
|
29
|
-
let
|
35
|
+
let D = z, { schema: F, table: n, layout: i, next: d, set: b, searchData: ue } = P(D), f = A(), v = G(), k = T(), C = (o) => {
|
30
36
|
let a = { type: "fileLayout", value: o };
|
31
|
-
|
37
|
+
M.post("/user/config", a).then((y) => {
|
32
38
|
c.fileLayout = o;
|
33
39
|
});
|
34
40
|
}, N = (o) => {
|
@@ -36,22 +42,22 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
36
42
|
a.page = o, v.push({ path: d.value.paging.route, query: a });
|
37
43
|
}, V = () => {
|
38
44
|
let o = { ...f.query };
|
39
|
-
o.page = "1", o.condition =
|
45
|
+
o.page = "1", o.condition = O.encode(k.value);
|
40
46
|
let a = { path: d.value.paging.route, query: o };
|
41
47
|
v.push(a);
|
42
48
|
};
|
43
49
|
return (o, a) => {
|
44
|
-
const
|
45
|
-
return l(), u("div",
|
46
|
-
h(e(
|
50
|
+
const y = p("router-link"), B = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
|
51
|
+
return l(), u("div", U, [
|
52
|
+
h(e(H), {
|
47
53
|
title: e(I)(o.module.type, o.module.name)
|
48
54
|
}, {
|
49
55
|
operation: r(() => [
|
50
|
-
s("div",
|
56
|
+
s("div", W, [
|
51
57
|
s("a", {
|
52
58
|
class: x({ active: e(c).fileLayout == "list" }),
|
53
59
|
onClick: a[0] || (a[0] = (t) => e(C)("list"))
|
54
|
-
},
|
60
|
+
}, Y, 2),
|
55
61
|
s("a", {
|
56
62
|
class: x({ active: e(c).fileLayout == "image" }),
|
57
63
|
onClick: a[1] || (a[1] = (t) => e(C)("image"))
|
@@ -60,7 +66,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
60
66
|
]),
|
61
67
|
append: r(() => [
|
62
68
|
e(c).fileLayout == "image" ? (l(), u("div", te, [
|
63
|
-
(l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), y
|
69
|
+
(l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), g(y, {
|
64
70
|
class: "file",
|
65
71
|
to: { path: e(d).detail.route, query: { id: t[e(n).key.name], m: e(f).query.m } },
|
66
72
|
key: $
|
@@ -76,7 +82,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
76
82
|
]),
|
77
83
|
_: 2
|
78
84
|
}, 1032, ["to"]))), 128))
|
79
|
-
])) : e(c).fileLayout == "list" ? (l(),
|
85
|
+
])) : e(c).fileLayout == "list" ? (l(), g(R, {
|
80
86
|
key: 1,
|
81
87
|
class: "files-list",
|
82
88
|
border: "",
|
@@ -86,7 +92,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
86
92
|
w(_(e(J)("common.no_data")), 1)
|
87
93
|
]),
|
88
94
|
default: r(() => [
|
89
|
-
(l(!0), u(L, null, q(e(n).show, (t, $) => (l(),
|
95
|
+
(l(!0), u(L, null, q(e(n).show, (t, $) => (l(), g(B, {
|
90
96
|
"show-overflow-tooltip": "",
|
91
97
|
sortable: e(n) ? "custom" : !1,
|
92
98
|
"min-width": "180",
|
@@ -113,7 +119,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
113
119
|
}, 8, ["data"])) : (l(), u("div", ie, "未支持的文件布局:" + _(e(c).fileLayout), 1))
|
114
120
|
]),
|
115
121
|
default: r(() => [
|
116
|
-
e(n).search.length > 0 ? (l(),
|
122
|
+
e(n).search.length > 0 ? (l(), g(Q, {
|
117
123
|
key: 0,
|
118
124
|
schema: e(F),
|
119
125
|
table: e(n),
|
@@ -128,7 +134,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
128
134
|
icon: "el-icon-plus"
|
129
135
|
}, {
|
130
136
|
default: r(() => [
|
131
|
-
h(
|
137
|
+
h(y, {
|
132
138
|
to: { path: e(d).insert.route, query: { m: e(f).query.m } }
|
133
139
|
}, {
|
134
140
|
default: r(() => [
|
@@ -139,7 +145,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
139
145
|
]),
|
140
146
|
_: 1
|
141
147
|
}),
|
142
|
-
h(
|
148
|
+
h(j, {
|
143
149
|
background: "",
|
144
150
|
layout: "total, prev, pager, next, jumper",
|
145
151
|
"current-page": e(i).page,
|
@@ -152,5 +158,5 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
152
158
|
}
|
153
159
|
});
|
154
160
|
export {
|
155
|
-
|
161
|
+
Ce as default
|
156
162
|
};
|
@@ -1,6 +1,11 @@
|
|
1
|
-
import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as
|
2
|
-
import
|
3
|
-
|
1
|
+
import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import { S, t as x } from "./main-D-QTCahZ.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const L = /* @__PURE__ */ C({
|
4
9
|
__name: "Index",
|
5
10
|
props: {
|
6
11
|
schema: {},
|
@@ -11,38 +16,38 @@ const A = /* @__PURE__ */ C({
|
|
11
16
|
config: {}
|
12
17
|
},
|
13
18
|
emits: ["submit", "change"],
|
14
|
-
setup(
|
15
|
-
let
|
19
|
+
setup(g, { emit: B }) {
|
20
|
+
let V = D(() => import("./TextLink-D-9pICMh.js")), k = g, { schema: u, table: s, field: l, set: i, row: r, config: m } = N(k), p = d(() => {
|
16
21
|
let o = l.value.control.type;
|
17
22
|
return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
|
18
|
-
}), _ =
|
23
|
+
}), _ = d(() => `text-${S.getDashName(p.value)}`), t = d({
|
19
24
|
get() {
|
20
|
-
return
|
25
|
+
return r.value[l.value.name];
|
21
26
|
},
|
22
27
|
set(o) {
|
23
|
-
|
28
|
+
r.value[l.value.name] = o;
|
24
29
|
}
|
25
30
|
});
|
26
|
-
return (o,
|
31
|
+
return (o, a) => e(l).link ? (c(), f(e(V), {
|
27
32
|
key: 0,
|
28
33
|
schema: e(u),
|
29
34
|
table: e(s),
|
30
35
|
field: e(l),
|
31
|
-
set: e(
|
32
|
-
row: e(
|
36
|
+
set: e(i),
|
37
|
+
row: e(r)
|
33
38
|
}, {
|
34
39
|
default: v(() => [
|
35
40
|
(c(), f(y(e(_)), {
|
36
41
|
schema: e(u),
|
37
42
|
table: e(s),
|
38
43
|
field: e(l),
|
39
|
-
set: e(
|
40
|
-
row: e(
|
44
|
+
set: e(i),
|
45
|
+
row: e(r),
|
41
46
|
modelValue: e(t),
|
42
|
-
"onUpdate:modelValue":
|
47
|
+
"onUpdate:modelValue": a[0] || (a[0] = (n) => b(t) ? t.value = n : t = n)
|
43
48
|
}, {
|
44
49
|
default: v(() => [
|
45
|
-
w("div", null, h(e(x)("common.unsupported_text_control", e(
|
50
|
+
w("div", null, h(e(x)("common.unsupported_text_control", e(p))), 1)
|
46
51
|
]),
|
47
52
|
_: 1
|
48
53
|
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
@@ -53,18 +58,18 @@ const A = /* @__PURE__ */ C({
|
|
53
58
|
schema: e(u),
|
54
59
|
table: e(s),
|
55
60
|
field: e(l),
|
56
|
-
set: e(
|
57
|
-
row: e(
|
61
|
+
set: e(i),
|
62
|
+
row: e(r),
|
58
63
|
modelValue: e(t),
|
59
|
-
"onUpdate:modelValue":
|
64
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => b(t) ? t.value = n : t = n)
|
60
65
|
}, {
|
61
66
|
default: v(() => [
|
62
|
-
w("div", null, h(e(x)("common.unsupported_text_control", e(
|
67
|
+
w("div", null, h(e(x)("common.unsupported_text_control", e(p))), 1)
|
63
68
|
]),
|
64
69
|
_: 1
|
65
70
|
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
66
71
|
}
|
67
72
|
});
|
68
73
|
export {
|
69
|
-
|
74
|
+
L as default
|
70
75
|
};
|