halo-pc 1.0.38 → 1.0.39
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-H_clf90b.js → Article-DZlstqWL.js} +32 -31
- package/dist/{ArticleFooter-BLi4TNA7.js → ArticleFooter-BkduiKh8.js} +4 -3
- package/dist/{Autocomplete-CcIzTPSr.js → Autocomplete-0Yf6lJQ7.js} +12 -11
- package/dist/{Autocomplete-DMm6oI1g.js → Autocomplete-DMKnFezN.js} +1 -1
- package/dist/Autocomplete-bc-9LfGa.js +50 -0
- package/dist/{CSharp-CZOchOE-.js → CSharp-q8eOBm4y.js} +1 -1
- package/dist/{Calender-BoQV7bhA.js → Calender-CseGNCuW.js} +4 -4
- package/dist/Callback-D_dFJlfv.js +21 -0
- package/dist/{Cascader-DMhl98vw.js → Cascader-BG5ev35M.js} +28 -27
- package/dist/Cascader-Dzeoz7ss.js +47 -0
- package/dist/{Checkbox-C6t6S7ii.js → Checkbox-CsCA6iQb.js} +1 -1
- package/dist/{Checkbox-DtrXMDBR.js → Checkbox-dw8RNAGt.js} +14 -13
- package/dist/{Code-DDacfgvl.js → Code-BE8YLGaE.js} +1 -1
- package/dist/Code-BRe68AIa.js +42 -0
- package/dist/Code-C5QfTMNw.js +60 -0
- package/dist/Code-_XoN6vQE.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js +63 -0
- package/dist/Column-C-NHhT2v.js +75 -0
- package/dist/{Comment-Ixu0gPk3.js → Comment-kTmfTlbF.js} +25 -19
- package/dist/{Compare-C1uq4lgK.js → Compare-DVWaiCUC.js} +10 -9
- package/dist/{Compare-NN40QJWm.js → Compare-DlyQBCat.js} +11 -10
- package/dist/{Copy-BcfSvyWG.js → Copy-DQFJy3uX.js} +12 -11
- package/dist/{Custom-Dn9_vPuD.js → Custom-D5HoD0nQ.js} +22 -21
- package/dist/{DataExport-DNGgWqsx.js → DataExport-Um1wXyRe.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js → DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js} +25 -24
- package/dist/{DataImport-CI9eM5T1.js → DataImport-CPMLup4P.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js → DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js} +40 -39
- package/dist/{Date-CZGbZKjB.js → Date-BhZ8ltgp.js} +9 -8
- package/dist/{Date-CGyzi8yX.js → Date-Cj9lCW_Y.js} +1 -1
- package/dist/{DateRange-MbbkmZ_Y.js → DateRange-Bw_Oyawz.js} +10 -9
- package/dist/{DateTime-DqUOXGWH.js → DateTime-BU6JaBPk.js} +9 -8
- package/dist/{DateTime-DHrHmRLL.js → DateTime-Cv-SRE88.js} +1 -1
- package/dist/{DateTimeRange-DgXQkZLx.js → DateTimeRange-B4Ah6LQY.js} +12 -11
- package/dist/{Daterange-DLHJuRur.js → Daterange-CSZe4XGO.js} +9 -8
- package/dist/{Decimal-BUJuuvfr.js → Decimal-DSDuwW9Z.js} +1 -1
- package/dist/{Delete-BGMk0orl.js → Delete-CjPgg-5G.js} +20 -19
- package/dist/{Detail-D4KzWdHQ.js → Detail-gj--ICe8.js} +8 -7
- package/dist/{Dictionary-Esd3ERAq.js → Dictionary-Ck_02mWa.js} +15 -9
- package/dist/{Email-C9K09hwC.js → Email-BSQbDvh1.js} +12 -11
- package/dist/{File-ai1eYO7v.js → File-FW4usX43.js} +44 -43
- package/dist/{Image-CfY4G1Yn.js → Image-DiAw_6jM.js} +1 -1
- package/dist/Index-B_5hshjJ.js +4 -0
- package/dist/{Index-DYHrSEZ5.js → Index-BibWDRoP.js} +1 -1
- package/dist/Index-BtlD6ocN.js +4 -0
- package/dist/Index-C3f38zw0.js +4 -0
- package/dist/Index-CB_TnEaw.js +4 -0
- package/dist/{Index-B5o7uf36.js → Index-Dq5Vp-ts.js} +16 -15
- package/dist/{Index-S1btGSGD.js → Index-MUgqP8jJ.js} +1 -1
- package/dist/Index-hgTZyQps.js +174 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js → Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js} +20 -14
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js → Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js} +7 -6
- package/dist/{Install-D-MgafyF.js → Install-Cpp3BDCS.js} +14 -13
- package/dist/{Int-CnvfCxgn.js → Int-Ck1SvK7R.js} +10 -9
- package/dist/{Int-D3RqVcmN.js → Int-DcQsipaO.js} +14 -13
- package/dist/{List-DA4SO_le.js → List-hWB41wF_.js} +19 -18
- package/dist/Maintaince-l-Tdveur.js +20 -0
- package/dist/{Markdown-hax8By5O.js → Markdown-BEUz4VZ7.js} +1 -1
- package/dist/{Month-BDkwv-vc.js → Month-DJGGGrZr.js} +12 -11
- package/dist/Month-DkafiRHq.js +38 -0
- package/dist/{Month-CnVTSnyK.js → Month-DmUiyF1G.js} +1 -1
- package/dist/{Normal-DoE9t7d7.js → Normal-ACcTHsXb.js} +53 -52
- package/dist/Paging-Vfz2RDBo.js +93 -0
- package/dist/{PagingHeader-BFtE6jSy.js → PagingHeader-DDkmqv98.js} +36 -35
- package/dist/{PagingRow-CSB-kwMz.js → PagingRow-B4Nfa2Vk.js} +20 -19
- package/dist/{Racebar-Bc-dDRss.js → Racebar-LfnPLNOY.js} +31 -25
- package/dist/{Radio-CMGOtMnx.js → Radio-DcEZI4m7.js} +1 -1
- package/dist/{Register-8wi0uixs.js → Register-B4x_zgyH.js} +61 -60
- package/dist/RichText-B1Iogpgr.js +47 -0
- package/dist/{SearchFooter-DOC21dmS.js → SearchFooter-CmM8qnxP.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js → SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js} +3 -3
- package/dist/{SearchForm-BMTSPce_.js → SearchForm-DU5QLTbe.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js → SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js} +32 -31
- package/dist/{Select-DAxdpZlO.js → Select-C3gUeHmu.js} +16 -15
- package/dist/{Select-MBD4Simw.js → Select-CMxubJIV.js} +1 -1
- package/dist/{Select-DnFyey0n.js → Select-DrDDVJtz.js} +22 -21
- package/dist/{Single-D6x6VV_B.js → Single-De-YyuVk.js} +75 -74
- package/dist/{Statistic-BS_DA72m.js → Statistic-SvjQ7uGI.js} +30 -29
- package/dist/{Stock-CtmevqBK.js → Stock-C2b9p3-N.js} +1 -1
- package/dist/{Stock-CbucObTu.js → Stock-XZkBSQw1.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js → Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js} +18 -17
- package/dist/{Switch-BlXAy9qH.js → Switch-PJT-5dDt.js} +1 -1
- package/dist/{Table-Da9gan1Y.js → Table-CkoZ8OjZ.js} +62 -61
- package/dist/{Table-CqsfAMh7.js → Table-Dy1H2IHN.js} +74 -73
- package/dist/Text-Bt5jL_KV.js +49 -0
- package/dist/{Text-CbZlEVTJ.js → Text-CytgR_l_.js} +12 -11
- package/dist/Text-vHouxGHU.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js +59 -0
- package/dist/{TextLink-SAnZ7BfX.js → TextLink-DINdFWzs.js} +11 -10
- package/dist/{Textarea-DphCUpXp.js → Textarea-DakZXfN6.js} +1 -1
- package/dist/{Time-DjE8yYdK.js → Time-Bn1Av2wo.js} +11 -10
- package/dist/{Timeline-D11vjkpZ.js → Timeline-B32cUvwI.js} +19 -13
- package/dist/{Tree-kich05vY.js → Tree-BGfHm4k_.js} +80 -79
- package/dist/{Tree-DK73Ou_F.js → Tree-BItAXuSC.js} +41 -35
- package/dist/{TreeNode-Dx6cZ31Z.js → TreeNode-DmiM_a2n.js} +11 -10
- package/dist/{Update-D2Plm_AG.js → Update-DSTmaeT8.js} +15 -14
- package/dist/{UpdateChild-BXV7QqaP.js → UpdateChild-BgBJJwT3.js} +21 -20
- package/dist/{Upload-B87EDynn.js → Upload-DMqlcxCt.js} +47 -46
- package/dist/Upload-DpQu3z1T.js +71 -0
- package/dist/{Year-C93IJgc8.js → Year-Cv92J5pF.js} +9 -8
- package/dist/{Year-BPFmIiPX.js → Year-DckBNPK_.js} +1 -1
- package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-C2HVw1Ra.js +2901 -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-KNkwb0pq.js +10515 -0
- package/dist/main.js +46 -45
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Autocomplete-BF9x0F4f.js +0 -49
- package/dist/Callback-79Bw4RwY.js +0 -20
- package/dist/Cascader-D1Ou5OSg.js +0 -41
- package/dist/Code-B8ISTTYK.js +0 -54
- package/dist/Code-BMlBvnqa.js +0 -4
- package/dist/Code-DIGn8Raz.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +0 -57
- package/dist/Column-DjA11efs.js +0 -69
- package/dist/Index-CH3nwnPZ.js +0 -4
- package/dist/Index-CTjDkp7e.js +0 -4
- package/dist/Index-DSZ8wa7U.js +0 -4
- package/dist/Index-DVdiF3gr.js +0 -4
- package/dist/Index-DsZPtDYE.js +0 -173
- package/dist/Maintaince-BIgEbjrq.js +0 -14
- package/dist/Month-5lTUiWin.js +0 -37
- package/dist/Paging-5qsCTRWy.js +0 -92
- package/dist/RichText-BR4Kvx0J.js +0 -41
- package/dist/Text-C72NLZMt.js +0 -48
- package/dist/Text-CHvsKR9H.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +0 -53
- package/dist/Upload-CHPjMGFZ.js +0 -65
- package/dist/main-nvsTmKXH.js +0 -16321
@@ -1,77 +1,78 @@
|
|
1
|
-
import { defineComponent as I, ref as i, onMounted as
|
1
|
+
import { defineComponent as I, ref as i, onMounted as Q, watch as Z, resolveComponent as m, openBlock as w, createElementBlock as F, createVNode as f, unref as l, withCtx as p, createElementVNode as r, toDisplayString as G, isRef as V, createBlock as y, withKeys as j, normalizeClass as T, withModifiers as J, createTextVNode as W, nextTick as U } from "vue";
|
2
2
|
import { useRoute as X } from "vue-router";
|
3
|
-
import {
|
3
|
+
import { i as Y, O as ee, P as le, t as te, U as g, h as B, r as se } from "./main-KNkwb0pq.js";
|
4
|
+
import "./assets/moment-h96o7c8I.js";
|
4
5
|
import "./assets/intro.js-Cg1adLK7.js";
|
5
|
-
const oe = { class: "login-container" }, ae = { class: "title-container" }, re = { class: "title" }, ne = ["innerHTML"],
|
6
|
+
const oe = { class: "login-container" }, ae = { class: "title-container" }, re = { class: "title" }, ne = ["innerHTML"], we = /* @__PURE__ */ I({
|
6
7
|
__name: "Register",
|
7
8
|
setup(ie) {
|
8
|
-
let b = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), _ = i(!1), v = i({ jigsaw: null, content: null }),
|
9
|
-
g.string.isEmail(e) ?
|
10
|
-
},
|
11
|
-
g.string.isPassword(e) ?
|
12
|
-
},
|
13
|
-
g.string.isPassword(e) ? e !=
|
14
|
-
},
|
15
|
-
let { shiftKey: e, key:
|
16
|
-
|
9
|
+
let b = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), _ = i(!1), v = i({ jigsaw: null, content: null }), h = i(), R = i(), k = i(), C = i(), K = X(), q = (s, e, t) => {
|
10
|
+
g.string.isEmail(e) ? t() : t(new Error("邮箱格式不正确"));
|
11
|
+
}, M = (s, e, t) => {
|
12
|
+
g.string.isPassword(e) ? t() : t(new Error("密码格式不正确"));
|
13
|
+
}, O = (s, e, t, d) => {
|
14
|
+
g.string.isPassword(e) ? e != d.password ? t(new Error("两次密码不一致")) : t() : t(new Error("密码格式不正确"));
|
15
|
+
}, P = (s) => {
|
16
|
+
let { shiftKey: e, key: t } = s;
|
17
|
+
t && t.length == 1 && (e && t >= "a" && t <= "z" || !e && t >= "A" && t <= "Z" ? a.value = !0 : a.value = !1), t == "CapsLock" && a.value == !0 && (a.value = !1);
|
17
18
|
}, c = () => {
|
18
|
-
u.value == "password" ? u.value = "" : u.value = "password",
|
19
|
+
u.value == "password" ? u.value = "" : u.value = "password", U(() => {
|
19
20
|
k.value.focus();
|
20
21
|
});
|
21
|
-
},
|
22
|
-
|
23
|
-
if (!
|
22
|
+
}, L = () => {
|
23
|
+
h.value.validate((s) => {
|
24
|
+
if (!s)
|
24
25
|
return !1;
|
25
26
|
b.value = !0;
|
26
27
|
});
|
27
|
-
},
|
28
|
+
}, x = () => {
|
28
29
|
E();
|
29
|
-
},
|
30
|
-
_.value = !0, n.value.position =
|
31
|
-
|
30
|
+
}, N = (s) => {
|
31
|
+
_.value = !0, n.value.position = s, B.post("/user/register", n.value).then(({ data: e }) => {
|
32
|
+
se.toBackUrl();
|
32
33
|
}).catch((e) => {
|
33
|
-
throw
|
34
|
+
throw x(), C.value.error(), e;
|
34
35
|
}).finally(() => {
|
35
|
-
|
36
|
+
U(() => {
|
36
37
|
_.value = !1;
|
37
38
|
});
|
38
39
|
});
|
39
|
-
}, $ = (
|
40
|
-
B.get("/user/captcha").then(({ data:
|
41
|
-
v.value.jigsaw = g.image.base64(
|
40
|
+
}, $ = (s) => Object.keys(s).reduce((e, t) => (e[t] = s[t], e), {}), E = () => {
|
41
|
+
B.get("/user/captcha").then(({ data: s, message: e }) => {
|
42
|
+
v.value.jigsaw = g.image.base64(s.jigsaw), v.value.content = g.image.base64(s.content);
|
42
43
|
});
|
43
44
|
};
|
44
|
-
return
|
45
|
-
Y.setI18nTitle("common.register"), E(), n.value.email == "" ?
|
46
|
-
}),
|
47
|
-
const e =
|
45
|
+
return Q(() => {
|
46
|
+
Y.setI18nTitle("common.register"), E(), n.value.email == "" ? R.value.focus() : n.value.password == "" && k.value.focus();
|
47
|
+
}), Z(K, function(s) {
|
48
|
+
const e = s.query;
|
48
49
|
e && $(e);
|
49
|
-
}), (
|
50
|
-
const
|
51
|
-
return w(),
|
50
|
+
}), (s, e) => {
|
51
|
+
const t = m("el-input"), d = m("el-form-item"), z = m("el-tooltip"), H = m("el-button"), S = m("el-form");
|
52
|
+
return w(), F("div", oe, [
|
52
53
|
f(S, {
|
53
54
|
ref_key: "formRef",
|
54
|
-
ref:
|
55
|
+
ref: h,
|
55
56
|
class: "login-form",
|
56
57
|
autocomplete: "on",
|
57
58
|
"label-position": "left",
|
58
59
|
model: l(n)
|
59
60
|
}, {
|
60
|
-
default:
|
61
|
+
default: p(() => [
|
61
62
|
r("div", ae, [
|
62
|
-
r("h3", re,
|
63
|
+
r("h3", re, G(l(ee)("title")), 1)
|
63
64
|
]),
|
64
|
-
f(
|
65
|
+
f(d, {
|
65
66
|
prop: "email",
|
66
|
-
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(
|
67
|
+
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(q) }]
|
67
68
|
}, {
|
68
|
-
default:
|
69
|
+
default: p(() => [
|
69
70
|
e[8] || (e[8] = r("span", { class: "svg-container" }, [
|
70
71
|
r("i", { class: "fa fa-user" })
|
71
72
|
], -1)),
|
72
|
-
f(
|
73
|
+
f(t, {
|
73
74
|
ref_key: "emailRef",
|
74
|
-
ref:
|
75
|
+
ref: R,
|
75
76
|
modelValue: l(n).email,
|
76
77
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(n).email = o),
|
77
78
|
placeholder: "邮箱",
|
@@ -90,16 +91,16 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
90
91
|
placement: "right",
|
91
92
|
manual: ""
|
92
93
|
}, {
|
93
|
-
default:
|
94
|
-
f(
|
94
|
+
default: p(() => [
|
95
|
+
f(d, {
|
95
96
|
prop: "password",
|
96
|
-
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(
|
97
|
+
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(M) }]
|
97
98
|
}, {
|
98
|
-
default:
|
99
|
+
default: p(() => [
|
99
100
|
e[9] || (e[9] = r("span", { class: "svg-container" }, [
|
100
101
|
r("i", { class: "fa fa-key" })
|
101
102
|
], -1)),
|
102
|
-
(w(), y(
|
103
|
+
(w(), y(t, {
|
103
104
|
ref: "password",
|
104
105
|
key: l(u),
|
105
106
|
type: l(u),
|
@@ -107,7 +108,7 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
107
108
|
name: "password",
|
108
109
|
tabindex: "2",
|
109
110
|
autocomplete: "on",
|
110
|
-
onKeyup: j(l(
|
111
|
+
onKeyup: j(l(P), ["native"]),
|
111
112
|
onBlur: e[1] || (e[1] = (o) => V(a) ? a.value = !1 : a = !1),
|
112
113
|
modelValue: l(n).password,
|
113
114
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => l(n).password = o)
|
@@ -118,7 +119,7 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
118
119
|
(...o) => l(c) && l(c)(...o))
|
119
120
|
}, [
|
120
121
|
r("i", {
|
121
|
-
class:
|
122
|
+
class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
122
123
|
}, null, 2)
|
123
124
|
])
|
124
125
|
]),
|
@@ -127,15 +128,15 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
127
128
|
]),
|
128
129
|
_: 1
|
129
130
|
}, 8, ["modelValue"]),
|
130
|
-
f(
|
131
|
+
f(d, {
|
131
132
|
prop: "confirmPassword",
|
132
|
-
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, A, D) => l(
|
133
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, A, D) => l(O)(o, A, D, l(n)) }]
|
133
134
|
}, {
|
134
|
-
default:
|
135
|
+
default: p(() => [
|
135
136
|
e[10] || (e[10] = r("span", { class: "svg-container" }, [
|
136
137
|
r("i", { class: "fa fa-key" })
|
137
138
|
], -1)),
|
138
|
-
(w(), y(
|
139
|
+
(w(), y(t, {
|
139
140
|
ref_key: "passwordRef",
|
140
141
|
ref: k,
|
141
142
|
key: l(u),
|
@@ -144,7 +145,7 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
144
145
|
name: "password",
|
145
146
|
tabindex: "2",
|
146
147
|
autocomplete: "on",
|
147
|
-
onKeyup: j(l(
|
148
|
+
onKeyup: j(l(P), ["native"]),
|
148
149
|
onBlur: e[5] || (e[5] = (o) => V(a) ? a.value = !1 : a = !1),
|
149
150
|
modelValue: l(n).confirmPassword,
|
150
151
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => l(n).confirmPassword = o)
|
@@ -155,7 +156,7 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
155
156
|
(...o) => l(c) && l(c)(...o))
|
156
157
|
}, [
|
157
158
|
r("i", {
|
158
|
-
class:
|
159
|
+
class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
159
160
|
}, null, 2)
|
160
161
|
])
|
161
162
|
]),
|
@@ -164,18 +165,18 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
164
165
|
l(b) ? (w(), y(l(le), {
|
165
166
|
key: 1,
|
166
167
|
ref_key: "captchaRef",
|
167
|
-
ref:
|
168
|
+
ref: C,
|
168
169
|
content: l(v).content,
|
169
170
|
jigsaw: l(v).jigsaw,
|
170
|
-
onRefresh: l(
|
171
|
-
onValidate: l(
|
171
|
+
onRefresh: l(x),
|
172
|
+
onValidate: l(N)
|
172
173
|
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (w(), y(H, {
|
173
174
|
key: 0,
|
174
175
|
type: "primary",
|
175
176
|
loading: l(_),
|
176
|
-
onClick:
|
177
|
+
onClick: J(l(L), ["prevent"])
|
177
178
|
}, {
|
178
|
-
default:
|
179
|
+
default: p(() => e[11] || (e[11] = [
|
179
180
|
W("注册 ")
|
180
181
|
])),
|
181
182
|
_: 1
|
@@ -185,12 +186,12 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
185
186
|
}, 8, ["model"]),
|
186
187
|
r("div", {
|
187
188
|
class: "powered-by",
|
188
|
-
innerHTML: l(
|
189
|
+
innerHTML: l(te)("sys.powered_by")
|
189
190
|
}, null, 8, ne)
|
190
191
|
]);
|
191
192
|
};
|
192
193
|
}
|
193
194
|
});
|
194
195
|
export {
|
195
|
-
|
196
|
+
we as default
|
196
197
|
};
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as f, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } from "vue";
|
2
|
+
import { s as B } from "./main-KNkwb0pq.js";
|
3
|
+
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
const D = /* @__PURE__ */ g({
|
10
|
+
__name: "RichText",
|
11
|
+
props: /* @__PURE__ */ x({
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {}
|
17
|
+
}, {
|
18
|
+
modelValue: {},
|
19
|
+
modelModifiers: {}
|
20
|
+
}),
|
21
|
+
emits: ["update:modelValue"],
|
22
|
+
setup(n) {
|
23
|
+
let v = n, { field: e, table: h, set: C, row: s } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), i = d(), y = (l) => {
|
24
|
+
a.value != null && (s.value[a.value.name] = l.scrollTop);
|
25
|
+
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
26
|
+
t.value.readonly = e.value.control.readonly, t.value.scrollTop = m.value, i.value = T();
|
27
|
+
};
|
28
|
+
_(() => {
|
29
|
+
V();
|
30
|
+
});
|
31
|
+
let m = c(() => a.value ? s.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
32
|
+
return f(() => m.value, (l, o) => {
|
33
|
+
t.value.scrollTop = l;
|
34
|
+
}), f(() => e.value.control.readonly, (l, o) => {
|
35
|
+
t.value.readonly = l;
|
36
|
+
}), (l, o) => (w(), R(r(B), {
|
37
|
+
style: b(r(i)),
|
38
|
+
options: r(t),
|
39
|
+
onScroll: r(y),
|
40
|
+
modelValue: r(u),
|
41
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => k(u) ? u.value = p : u = p)
|
42
|
+
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
43
|
+
}
|
44
|
+
});
|
45
|
+
export {
|
46
|
+
D as default
|
47
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as g, toRefs as b, computed as C, openBlock as a, createElementBlock as E, createBlock as k, resolveDynamicComponent as B, unref as e } from "vue";
|
2
|
-
import {
|
2
|
+
import { f as D } from "./main-KNkwb0pq.js";
|
3
3
|
const I = { class: "search-footer" }, H = /* @__PURE__ */ g({
|
4
4
|
__name: "SearchFooter",
|
5
5
|
props: {
|
@@ -12,8 +12,8 @@ const I = { class: "search-footer" }, H = /* @__PURE__ */ g({
|
|
12
12
|
searchData: {}
|
13
13
|
},
|
14
14
|
emits: ["search", "succeed", "add", "remove", "copy", "show-import", "show-export"],
|
15
|
-
setup(
|
16
|
-
let t =
|
15
|
+
setup(r, { emit: c }) {
|
16
|
+
let t = c, s = r, { schema: l, table: n, layout: p, set: m, next: h, selection: d, searchData: R } = b(s), i = (o) => {
|
17
17
|
t("search", o);
|
18
18
|
}, u = () => {
|
19
19
|
t("succeed");
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as B, watch as Q, resolveComponent as m, openBlock as n, createBlock as i, withCtx as r, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as w, createTextVNode as M, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import { U as ee, d as N, j as te, D as ae } from "./main-KNkwb0pq.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const ue = /* @__PURE__ */ I({
|
4
5
|
__name: "SearchForm",
|
5
6
|
props: {
|
6
7
|
schema: {},
|
@@ -9,8 +10,8 @@ const oe = /* @__PURE__ */ I({
|
|
9
10
|
searchData: {}
|
10
11
|
},
|
11
12
|
emits: ["change", "submit", "mounted"],
|
12
|
-
setup(
|
13
|
-
let C =
|
13
|
+
setup(T, { expose: W, emit: j }) {
|
14
|
+
let C = j, E = T, { schema: F, table: u, layout: V, searchData: b } = J(E), k = p(), y = p(), L = p(), d = p(), $ = (e) => {
|
14
15
|
C("change", e);
|
15
16
|
}, S = (e = null) => {
|
16
17
|
C("submit");
|
@@ -21,7 +22,7 @@ const oe = /* @__PURE__ */ I({
|
|
21
22
|
k.value && (y.value = k.value.$el.clientWidth);
|
22
23
|
}, O = (e) => {
|
23
24
|
R();
|
24
|
-
},
|
25
|
+
}, D = () => {
|
25
26
|
let e = V.value.tabs;
|
26
27
|
if (e)
|
27
28
|
for (let t = 0; t < e.length; t++) {
|
@@ -29,15 +30,15 @@ const oe = /* @__PURE__ */ I({
|
|
29
30
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
30
31
|
}
|
31
32
|
};
|
32
|
-
d.value = ee.object.clone(b.value),
|
33
|
+
d.value = ee.object.clone(b.value), D(), K(async () => {
|
33
34
|
R(), await P(), C("mounted");
|
34
35
|
});
|
35
|
-
let q =
|
36
|
+
let q = B(() => {
|
36
37
|
if (!y.value)
|
37
38
|
return [];
|
38
|
-
let e = Math.ceil(y.value / 200), t =
|
39
|
-
return
|
40
|
-
}),
|
39
|
+
let e = Math.ceil(y.value / 200), t = N.expandSearch(F.value), l = V.value.tabs ?? [], c = t.filter((_) => l.indexOf(_.name) == -1);
|
40
|
+
return N.getLines(c, e, (_) => _, () => 1);
|
41
|
+
}), U = B(() => {
|
41
42
|
let e = [], t = V.value.tabs;
|
42
43
|
return t && t.forEach((l) => {
|
43
44
|
let c = u.value.fields.find((f) => f.name == l);
|
@@ -45,9 +46,9 @@ const oe = /* @__PURE__ */ I({
|
|
45
46
|
}), e;
|
46
47
|
});
|
47
48
|
return Q(() => b.value, (e, t) => {
|
48
|
-
|
49
|
-
}),
|
50
|
-
const l = m("el-radio-button"), c = m("el-radio-group"), f = m("el-form-item"),
|
49
|
+
D();
|
50
|
+
}), W({ resize: O }), (e, t) => {
|
51
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), f = m("el-form-item"), _ = m("el-col"), A = m("el-row"), G = m("el-form"), H = m("el-scrollbar");
|
51
52
|
return n(), i(H, {
|
52
53
|
"max-height": "200px",
|
53
54
|
class: "search-form"
|
@@ -63,32 +64,32 @@ const oe = /* @__PURE__ */ I({
|
|
63
64
|
}, ["prevent"]))
|
64
65
|
}, {
|
65
66
|
default: r(() => [
|
66
|
-
(n(!0), v(g, null,
|
67
|
+
(n(!0), v(g, null, x(a(U), (s, h) => (n(), i(f, {
|
67
68
|
class: "search-tab",
|
68
69
|
label: s.label,
|
69
70
|
"label-width": 50
|
70
71
|
}, {
|
71
72
|
default: r(() => [
|
72
|
-
|
73
|
+
w(c, {
|
73
74
|
ref_for: !0,
|
74
75
|
ref_key: "tabRefs",
|
75
|
-
ref:
|
76
|
+
ref: L,
|
76
77
|
onChange: (o) => a(z)(o, s),
|
77
78
|
modelValue: a(d)[a(u).name][s.name],
|
78
79
|
"onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
|
79
80
|
}, {
|
80
81
|
default: r(() => [
|
81
|
-
|
82
|
+
w(l, { value: "*" }, {
|
82
83
|
default: r(() => t[1] || (t[1] = [
|
83
|
-
|
84
|
+
M("全部")
|
84
85
|
])),
|
85
86
|
_: 1
|
86
87
|
}),
|
87
|
-
(n(!0), v(g, null,
|
88
|
+
(n(!0), v(g, null, x(s.control.data.data, (o) => (n(), i(l, {
|
88
89
|
value: o.value
|
89
90
|
}, {
|
90
91
|
default: r(() => [
|
91
|
-
|
92
|
+
M(Y(o.text), 1)
|
92
93
|
]),
|
93
94
|
_: 2
|
94
95
|
}, 1032, ["value"]))), 256))
|
@@ -98,25 +99,25 @@ const oe = /* @__PURE__ */ I({
|
|
98
99
|
]),
|
99
100
|
_: 2
|
100
101
|
}, 1032, ["label"]))), 256)),
|
101
|
-
(n(!0), v(g, null,
|
102
|
+
(n(!0), v(g, null, x(a(q), (s) => (n(), i(A, {
|
102
103
|
class: "search-row",
|
103
|
-
label: a(
|
104
|
+
label: a(U).length ? "其它" : "",
|
104
105
|
"label-width": 50,
|
105
106
|
gutter: 5
|
106
107
|
}, {
|
107
108
|
default: r(() => [
|
108
|
-
(n(!0), v(g, null,
|
109
|
+
(n(!0), v(g, null, x(s, ({ data: h, span: o }, le) => (n(), i(_, { span: o }, {
|
109
110
|
default: r(() => [
|
110
|
-
|
111
|
-
label: a(te)(
|
111
|
+
w(f, {
|
112
|
+
label: a(te)(h.table.name, h.name)
|
112
113
|
}, {
|
113
114
|
default: r(() => [
|
114
|
-
|
115
|
+
w(a(ae), {
|
115
116
|
schema: a(F),
|
116
|
-
table:
|
117
|
-
field:
|
117
|
+
table: h.table,
|
118
|
+
field: h,
|
118
119
|
"search-data": a(b),
|
119
|
-
onChange: a(
|
120
|
+
onChange: a($),
|
120
121
|
onSubmit: a(S)
|
121
122
|
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
122
123
|
]),
|
@@ -138,5 +139,5 @@ const oe = /* @__PURE__ */ I({
|
|
138
139
|
}
|
139
140
|
});
|
140
141
|
export {
|
141
|
-
|
142
|
+
ue as _
|
142
143
|
};
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent as K, toRefs as R, ref as d, computed as S, resolveComponent as c, openBlock as s, createBlock as
|
2
|
-
import {
|
1
|
+
import { defineComponent as K, toRefs as R, ref as d, computed as S, resolveComponent as c, openBlock as s, createBlock as p, unref as t, withKeys as M, withModifiers as N, isRef as j, withCtx as f, createElementBlock as h, Fragment as F, renderList as L, createElementVNode as U, toDisplayString as _, createCommentVNode as q } from "vue";
|
2
|
+
import { t as z, j as A, h as G } from "./main-KNkwb0pq.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
3
4
|
const H = { class: "option-text" }, I = {
|
4
5
|
key: 0,
|
5
6
|
class: "option-suffix"
|
6
|
-
},
|
7
|
+
}, W = /* @__PURE__ */ K({
|
7
8
|
__name: "Select",
|
8
9
|
props: {
|
9
10
|
schema: {},
|
@@ -14,9 +15,9 @@ const H = { class: "option-text" }, I = {
|
|
14
15
|
},
|
15
16
|
emits: ["change", "submit", "update:modelValue"],
|
16
17
|
setup(v, { emit: x }) {
|
17
|
-
let r = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b),
|
18
|
+
let r = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), k = d(!1), i = d(), m = d(a.value.control.data.data), C = () => {
|
18
19
|
r("submit");
|
19
|
-
},
|
20
|
+
}, w = () => {
|
20
21
|
}, B = (l) => {
|
21
22
|
i.value = l, D();
|
22
23
|
}, D = () => {
|
@@ -27,7 +28,7 @@ const H = { class: "option-text" }, I = {
|
|
27
28
|
}), G.post(a.value.control.data.route, l).then(({ data: o }) => {
|
28
29
|
m.value = o;
|
29
30
|
}).finally(() => {
|
30
|
-
|
31
|
+
k.value = !1;
|
31
32
|
});
|
32
33
|
}, n = S({
|
33
34
|
get() {
|
@@ -39,7 +40,7 @@ const H = { class: "option-text" }, I = {
|
|
39
40
|
});
|
40
41
|
return (l, o) => {
|
41
42
|
const u = c("el-option"), E = c("el-select");
|
42
|
-
return s(),
|
43
|
+
return s(), p(E, {
|
43
44
|
ref: "selectRef",
|
44
45
|
filterable: "",
|
45
46
|
remote: "",
|
@@ -52,19 +53,19 @@ const H = { class: "option-text" }, I = {
|
|
52
53
|
"loading-text": "加载中",
|
53
54
|
"remote-method": t(B),
|
54
55
|
disabled: t(a).control.readonly,
|
55
|
-
onKeyup: M(N(t(
|
56
|
-
onChange: t(
|
56
|
+
onKeyup: M(N(t(C), ["alt"]), ["enter", "native"]),
|
57
|
+
onChange: t(w),
|
57
58
|
modelValue: t(n),
|
58
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) =>
|
59
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => j(n) ? n.value = e : n = e)
|
59
60
|
}, {
|
60
|
-
default:
|
61
|
-
(s(!0), h(
|
61
|
+
default: f(() => [
|
62
|
+
(s(!0), h(F, null, L(t(m), (e, O) => (s(), p(u, {
|
62
63
|
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
63
64
|
value: e.value,
|
64
65
|
key: e.value
|
65
66
|
}, {
|
66
|
-
default:
|
67
|
-
|
67
|
+
default: f(() => [
|
68
|
+
U("span", H, _(e.text), 1),
|
68
69
|
e.suffix ? (s(), h("span", I, "(" + _(e.suffix) + ")", 1)) : q("", !0)
|
69
70
|
]),
|
70
71
|
_: 2
|
@@ -76,5 +77,5 @@ const H = { class: "option-text" }, I = {
|
|
76
77
|
}
|
77
78
|
});
|
78
79
|
export {
|
79
|
-
|
80
|
+
W as default
|
80
81
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-Ck_02mWa.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
14
|
return (_, t) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|