halo-pc 1.0.20 → 1.0.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-C_3LULzy.js +200 -0
- package/dist/{ArticleFooter-CsCnjrJ1.js → ArticleFooter-Do6I1mma.js} +24 -18
- package/dist/{Autocomplete-BGkHGSX_.js → Autocomplete-BLOOqTTn.js} +1 -1
- package/dist/Autocomplete-BLrbt1wN.js +53 -0
- package/dist/Autocomplete-C27XN8Sp.js +54 -0
- package/dist/{CSharp-NuDfWEq7.js → CSharp-BGn9jf2B.js} +1 -1
- package/dist/{Calender-C2YaNTHk.js → Calender-4bSMqUzx.js} +4 -4
- package/dist/Callback-BHYDtogL.js +26 -0
- package/dist/Cascader-D3y3WjFF.js +87 -0
- package/dist/Cascader-D9Y8L7X2.js +47 -0
- package/dist/{Checkbox-BAcK--1U.js → Checkbox-DnTLeLjt.js} +1 -1
- package/dist/Checkbox-dDfYBhhc.js +76 -0
- package/dist/{Code-CbsVyhOv.js → Code-Af5URLnL.js} +1 -1
- package/dist/Code-Bi9Y45vV.js +42 -0
- package/dist/Code-CWsSgkJq.js +60 -0
- package/dist/{Code-BHEes80c.js → Code-QYs-sjcG.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-CI6sLXKy.js +65 -0
- package/dist/Column-wzxM_-Vp.js +74 -0
- package/dist/Comment-BF8L1umD.js +104 -0
- package/dist/Compare-CjSQcnd3.js +43 -0
- package/dist/{Compare-gEOPuGLB.js → Compare-Cj_CPjIV.js} +25 -19
- package/dist/Copy-BNt-Dwoo.js +49 -0
- package/dist/Custom-CYPkAqpf.js +57 -0
- package/dist/{DataExport-hwoZoZUN.js → DataExport-CHQtRKzA.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dkq4fSkZ.js → DataExport.vue_vue_type_script_setup_true_lang-Dt2BAaAO.js} +41 -36
- package/dist/{DataImport-CQYeF50z.js → DataImport-CDcmH3Du.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-dULXjbl_.js +176 -0
- package/dist/{Date-a3T1YbHN.js → Date-BStpsA7n.js} +1 -1
- package/dist/Date-U1py5NaK.js +43 -0
- package/dist/DateRange-DxAx2gxI.js +63 -0
- package/dist/DateTime-B3609Ct6.js +44 -0
- package/dist/{DateTime-BUYojCOY.js → DateTime-CmJw1-WA.js} +1 -1
- package/dist/{DateTimeRange-D9K4am0p.js → DateTimeRange-aDw57sTG.js} +17 -11
- package/dist/Daterange-C48t6usd.js +63 -0
- package/dist/{Decimal-CNhxJUZg.js → Decimal-Ca0K6NoZ.js} +1 -1
- package/dist/Delete-FhIvONUV.js +62 -0
- package/dist/{Detail-BXkTd6Wh.js → Detail-qqW0J946.js} +21 -15
- package/dist/Dictionary-CaXytFmK.js +59 -0
- package/dist/Email-H2DHJhMe.js +54 -0
- package/dist/{File-CAnAcqJX.js → File-CjXewuui.js} +33 -27
- package/dist/Image-BSuCHshD.js +9 -0
- package/dist/Index-9KImKLrj.js +4 -0
- package/dist/Index-BIbR8SAU.js +178 -0
- package/dist/Index-BaoxkF9F.js +4 -0
- package/dist/{Index-DJvB04cS.js → Index-BrI9x7i7.js} +1 -1
- package/dist/Index-CXR5RC6-.js +4 -0
- package/dist/{Index-RZT6JXBO.js → Index-CpGonJ_m.js} +1 -1
- package/dist/{Index-CseSUp2Z.js → Index-DUgprnVp.js} +1 -1
- package/dist/{Index-BqjKndKz.js → Index-icEhc88J.js} +25 -20
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js → Index.vue_vue_type_script_setup_true_lang-Beb5UD_S.js} +21 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C8ZEc4nU.js → Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js} +22 -16
- package/dist/{Index.vue_vue_type_style_index_0_lang-T12lwRy6.js → Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js} +40 -35
- package/dist/{Install-DWWpscrR.js → Install-FwXpJIWk.js} +26 -20
- package/dist/Int-CXl1QpEL.js +44 -0
- package/dist/Int-DAxz3ETu.js +46 -0
- package/dist/List-CV9bkdrq.js +79 -0
- package/dist/Maintaince-DZNq9aHX.js +20 -0
- package/dist/{Markdown-d8PCfAFf.js → Markdown-BhwqDlwa.js} +1 -1
- package/dist/{Month-COEkKDL_.js → Month-BEmnA7zU.js} +1 -1
- package/dist/Month-DXQBHoJU.js +43 -0
- package/dist/Month-bgEd_K7_.js +44 -0
- package/dist/{Normal-BD7sNr-b.js → Normal-Dya4aqc7.js} +56 -51
- package/dist/Paging-JXDzxoM0.js +99 -0
- package/dist/{PagingHeader-CznmI0kr.js → PagingHeader-BETGBySb.js} +31 -25
- package/dist/{PagingRow-BJ-VLpfV.js → PagingRow-BLqp1c9E.js} +28 -22
- package/dist/QueryApi-B5jI3sBl.js +20 -0
- package/dist/{Racebar-BkwhD-rw.js → Racebar-CozeXwLJ.js} +42 -37
- package/dist/{Radio-CS12bajp.js → Radio-CuAxYw7j.js} +1 -1
- package/dist/{Register-l_X4fDPP.js → Register-B11jE2Ox.js} +78 -73
- package/dist/RichText-CxBE_cVg.js +47 -0
- package/dist/{SearchFooter-C8N9ku25.js → SearchFooter-agTqPUGE.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-6WvYHIn1.js → SearchFooter.vue_vue_type_style_index_0_lang-C-1Yr5_9.js} +1 -1
- package/dist/{SearchForm-DX0mN20A.js → SearchForm-DNKmE8W0.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js → SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js} +40 -35
- package/dist/Select-BPa5rx_H.js +86 -0
- package/dist/Select-CRfEAtba.js +117 -0
- package/dist/{Select-DYjvtHyi.js → Select-MqDjnB-C.js} +1 -1
- package/dist/{Single-DErvX9y_.js → Single-C5Kkr9SY.js} +112 -107
- package/dist/{Statistic-CQxXdu-V.js → Statistic-Ce_FMw5O.js} +36 -31
- package/dist/{Stock-CsoHCwV6.js → Stock-BTjhpaxv.js} +1 -1
- package/dist/{Stock-DXLdfC3r.js → Stock-D8AJmsvb.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B-b3Lj_h.js → Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js} +28 -23
- package/dist/{Switch-BCgZXfWo.js → Switch-gwGbi34o.js} +1 -1
- package/dist/{Table-CAVxyUTD.js → Table-C03eUBYm.js} +69 -63
- package/dist/{Table-DkJYgLFt.js → Table-DA8aGGEH.js} +74 -70
- package/dist/{Text-Cn0cOTli.js → Text-B5uPrGof.js} +18 -12
- package/dist/Text-D-VS-lCk.js +59 -0
- package/dist/Text-NRww74M3.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-Fsbur1tJ.js +59 -0
- package/dist/TextLink-B_Qg6CnF.js +65 -0
- package/dist/{Textarea-Pc4TfoC3.js → Textarea-gtXLL6Qe.js} +1 -1
- package/dist/Time-DYOIZ2Rv.js +43 -0
- package/dist/Timeline-B4AYezYA.js +59 -0
- package/dist/{Tree-01Sb-9zi.js → Tree-CRDb0vS5.js} +67 -62
- package/dist/Tree-CTmXjN1O.js +122 -0
- package/dist/TreeNode-HFcGpAOb.js +42 -0
- package/dist/{Update-Cy1lFPVv.js → Update-EHyhYK5k.js} +18 -12
- package/dist/{UpdateChild-DV_8KV9G.js → UpdateChild-CC3b9evd.js} +23 -17
- package/dist/Upload-CkQ-5tVg.js +72 -0
- package/dist/Upload-um4BYzwO.js +150 -0
- package/dist/UploadApi-BmdGJGjh.js +20 -0
- package/dist/Year-DKBG5ihv.js +47 -0
- package/dist/{Year-BFZPXXq0.js → Year-Lhvyb9Vk.js} +1 -1
- package/dist/assets/@intlify-BISCQg1h.js +2189 -0
- package/dist/assets/@vue-aVYGocXp.js +93 -0
- 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/assets/vue-i18n-CLr3brPz.js +1670 -0
- package/dist/main-C1iALE1f.js +8947 -0
- package/dist/main.js +42 -41
- package/package.json +2 -2
- package/dist/Article-aps_F4Uq.js +0 -194
- package/dist/Autocomplete-CGoxGIM2.js +0 -48
- package/dist/Autocomplete-XdLV4jzi.js +0 -49
- package/dist/Callback-Czdr_dVp.js +0 -20
- package/dist/Cascader-D3Kr80fH.js +0 -81
- package/dist/Cascader-DRvnD4Xc.js +0 -41
- package/dist/Checkbox-5pSKww4M.js +0 -70
- package/dist/Code-BxQxsVD8.js +0 -54
- package/dist/Code-CtDTGfBy.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-CPZKY3vQ.js +0 -59
- package/dist/Column-D3PMyaiE.js +0 -68
- package/dist/Comment-B3fvVYJF.js +0 -98
- package/dist/Compare-BXxJuIXf.js +0 -37
- package/dist/Copy-1znXP-dt.js +0 -43
- package/dist/Custom-C_15ZImX.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-ChWRjj2W.js +0 -172
- package/dist/Date-0bIUTNCs.js +0 -37
- package/dist/DateRange-Cxu9FXTE.js +0 -57
- package/dist/DateTime-IlsYZL-l.js +0 -38
- package/dist/Daterange-CX0Klog4.js +0 -57
- package/dist/Delete-DFl8Tr27.js +0 -56
- package/dist/Dictionary-DmarNVsi.js +0 -55
- package/dist/Email-BBjDCCOK.js +0 -48
- package/dist/Image-pufFvop2.js +0 -9
- package/dist/Index-C4D5pwwu.js +0 -173
- package/dist/Index-CD_KS2lO.js +0 -4
- package/dist/Index-CEh3KlPE.js +0 -4
- package/dist/Index-XmvSiC1h.js +0 -4
- package/dist/Int-Bi3P8XeV.js +0 -41
- package/dist/Int-Bn2p1DqA.js +0 -38
- package/dist/List-CeQRwXop.js +0 -73
- package/dist/Maintaince-CVMjhqSO.js +0 -14
- package/dist/Month-BfUSQ3xa.js +0 -38
- package/dist/Month-DQKfNQzN.js +0 -37
- package/dist/Paging-d_-VefNv.js +0 -94
- package/dist/QueryApi-Cdniq3mZ.js +0 -13
- package/dist/RichText-9MwwjuZi.js +0 -41
- package/dist/Select-CQE5kY-n.js +0 -111
- package/dist/Select-DaEqum3a.js +0 -80
- package/dist/Text-Dk5tNNZo.js +0 -53
- package/dist/Text-DvVWvaMO.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-I01JEYAx.js +0 -53
- package/dist/TextLink-D3nvnLHn.js +0 -59
- package/dist/Time-CToG3p0T.js +0 -37
- package/dist/Timeline-DphvhX0U.js +0 -53
- package/dist/Tree-CH1RoUqu.js +0 -117
- package/dist/TreeNode-C54d29V-.js +0 -37
- package/dist/Upload-BalaO4wz.js +0 -146
- package/dist/Upload-DQVaPUdG.js +0 -67
- package/dist/UploadApi-Cfm5DM_x.js +0 -13
- package/dist/Year-Swm3VSzj.js +0 -41
- package/dist/main-BYJVoHlf.js +0 -19457
@@ -1,61 +1,66 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import
|
1
|
+
import { defineComponent as Q, ref as i, onMounted as W, watch as X, resolveComponent as m, openBlock as c, createElementBlock as Y, createVNode as p, unref as l, withCtx as d, createElementVNode as r, toDisplayString as Z, isRef as h, createBlock as g, withKeys as j, normalizeClass as T, withModifiers as F, createTextVNode as G, nextTick as B } from "vue";
|
2
|
+
import { useRoute as J } from "vue-router";
|
3
|
+
import "./assets/underscore-B0BCaBxV.js";
|
4
|
+
import { i as ee, W as le, X as te, t as oe, S as k, h as K, r as se, Y as S } from "./main-C1iALE1f.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
4
9
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
10
|
const ae = { class: "login-container" }, re = { class: "title-container" }, ne = { class: "title" }, ie = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
6
11
|
/* @__PURE__ */ r("i", { class: "fa fa-user" })
|
7
12
|
], -1), ue = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
8
13
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
9
|
-
], -1),
|
14
|
+
], -1), pe = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
10
15
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
11
|
-
], -1),
|
16
|
+
], -1), de = ["innerHTML"], Ve = /* @__PURE__ */ Q({
|
12
17
|
__name: "Register",
|
13
|
-
setup(
|
14
|
-
let V = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), y = i(!1), w = i({ jigsaw: null, content: null }), b = i(), R = i(), _ = i(), C = i(),
|
15
|
-
k.isEmail(e) ?
|
16
|
-
},
|
17
|
-
k.isPassword(e) ?
|
18
|
-
},
|
19
|
-
k.isPassword(e) ? e !=
|
20
|
-
},
|
21
|
-
let { shiftKey: e, key:
|
22
|
-
|
18
|
+
setup(fe) {
|
19
|
+
let V = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), y = i(!1), w = i({ jigsaw: null, content: null }), b = i(), R = i(), _ = i(), C = i(), U = J(), q = (o, e, t) => {
|
20
|
+
k.isEmail(e) ? t() : t(new Error("邮箱格式不正确"));
|
21
|
+
}, H = (o, e, t) => {
|
22
|
+
k.isPassword(e) ? t() : t(new Error("密码格式不正确"));
|
23
|
+
}, M = (o, e, t, f) => {
|
24
|
+
k.isPassword(e) ? e != f.password ? t(new Error("两次密码不一致")) : t() : t(new Error("密码格式不正确"));
|
25
|
+
}, x = (o) => {
|
26
|
+
let { shiftKey: e, key: t } = o;
|
27
|
+
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);
|
23
28
|
}, v = () => {
|
24
29
|
u.value == "password" ? u.value = "" : u.value = "password", B(() => {
|
25
30
|
_.value.focus();
|
26
31
|
});
|
27
|
-
},
|
28
|
-
b.value.validate((
|
29
|
-
if (!
|
32
|
+
}, L = () => {
|
33
|
+
b.value.validate((o) => {
|
34
|
+
if (!o)
|
30
35
|
return !1;
|
31
36
|
V.value = !0;
|
32
37
|
});
|
33
|
-
},
|
38
|
+
}, P = () => {
|
34
39
|
E();
|
35
|
-
},
|
36
|
-
y.value = !0, n.value.position =
|
37
|
-
|
40
|
+
}, N = (o) => {
|
41
|
+
y.value = !0, n.value.position = o, K.post("/user/register", n.value).then(({ data: e }) => {
|
42
|
+
se.toBackUrl();
|
38
43
|
}).catch((e) => {
|
39
|
-
throw
|
44
|
+
throw P(), C.value.error(), e;
|
40
45
|
}).finally(() => {
|
41
46
|
B(() => {
|
42
47
|
y.value = !1;
|
43
48
|
});
|
44
49
|
});
|
45
|
-
},
|
46
|
-
K.get("/user/captcha").then(({ data:
|
47
|
-
w.value.jigsaw =
|
50
|
+
}, O = (o) => Object.keys(o).reduce((e, t) => (e[t] = o[t], e), {}), E = () => {
|
51
|
+
K.get("/user/captcha").then(({ data: o, message: e }) => {
|
52
|
+
w.value.jigsaw = S.base64(o.jigsaw), w.value.content = S.base64(o.content);
|
48
53
|
});
|
49
54
|
};
|
50
|
-
return
|
55
|
+
return W(() => {
|
51
56
|
ee.setI18nTitle("common.register"), E(), n.value.email == "" ? R.value.focus() : n.value.password == "" && _.value.focus();
|
52
|
-
}),
|
53
|
-
const e =
|
54
|
-
e &&
|
55
|
-
}), (
|
56
|
-
const
|
57
|
-
return c(),
|
58
|
-
|
57
|
+
}), X(U, function(o) {
|
58
|
+
const e = o.query;
|
59
|
+
e && O(e);
|
60
|
+
}), (o, e) => {
|
61
|
+
const t = m("el-input"), f = m("el-form-item"), $ = m("el-tooltip"), z = m("el-button"), I = m("el-form");
|
62
|
+
return c(), Y("div", ae, [
|
63
|
+
p(I, {
|
59
64
|
ref_key: "formRef",
|
60
65
|
ref: b,
|
61
66
|
class: "login-form",
|
@@ -63,21 +68,21 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
63
68
|
"label-position": "left",
|
64
69
|
model: l(n)
|
65
70
|
}, {
|
66
|
-
default:
|
71
|
+
default: d(() => [
|
67
72
|
r("div", re, [
|
68
|
-
r("h3", ne,
|
73
|
+
r("h3", ne, Z(l(le)("title")), 1)
|
69
74
|
]),
|
70
|
-
|
75
|
+
p(f, {
|
71
76
|
prop: "email",
|
72
|
-
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(
|
77
|
+
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(q) }]
|
73
78
|
}, {
|
74
|
-
default:
|
79
|
+
default: d(() => [
|
75
80
|
ie,
|
76
|
-
|
81
|
+
p(t, {
|
77
82
|
ref_key: "emailRef",
|
78
83
|
ref: R,
|
79
84
|
modelValue: l(n).email,
|
80
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
85
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => l(n).email = s),
|
81
86
|
placeholder: "邮箱",
|
82
87
|
name: "email",
|
83
88
|
type: "text",
|
@@ -87,21 +92,21 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
87
92
|
]),
|
88
93
|
_: 1
|
89
94
|
}, 8, ["rules"]),
|
90
|
-
|
95
|
+
p($, {
|
91
96
|
modelValue: l(a),
|
92
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
97
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => h(a) ? a.value = s : a = s),
|
93
98
|
content: "Caps lock is On",
|
94
99
|
placement: "right",
|
95
100
|
manual: ""
|
96
101
|
}, {
|
97
|
-
default:
|
98
|
-
|
102
|
+
default: d(() => [
|
103
|
+
p(f, {
|
99
104
|
prop: "password",
|
100
|
-
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(
|
105
|
+
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(H) }]
|
101
106
|
}, {
|
102
|
-
default:
|
107
|
+
default: d(() => [
|
103
108
|
ue,
|
104
|
-
(c(), g(
|
109
|
+
(c(), g(t, {
|
105
110
|
ref: "password",
|
106
111
|
key: l(u),
|
107
112
|
type: l(u),
|
@@ -109,18 +114,18 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
109
114
|
name: "password",
|
110
115
|
tabindex: "2",
|
111
116
|
autocomplete: "on",
|
112
|
-
onKeyup:
|
113
|
-
onBlur: e[1] || (e[1] = (
|
117
|
+
onKeyup: j(l(x), ["native"]),
|
118
|
+
onBlur: e[1] || (e[1] = (s) => h(a) ? a.value = !1 : a = !1),
|
114
119
|
modelValue: l(n).password,
|
115
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
120
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => l(n).password = s)
|
116
121
|
}, null, 8, ["type", "onKeyup", "modelValue"])),
|
117
122
|
r("span", {
|
118
123
|
class: "show-pwd",
|
119
124
|
onClick: e[3] || (e[3] = //@ts-ignore
|
120
|
-
(...
|
125
|
+
(...s) => l(v) && l(v)(...s))
|
121
126
|
}, [
|
122
127
|
r("i", {
|
123
|
-
class:
|
128
|
+
class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
124
129
|
}, null, 2)
|
125
130
|
])
|
126
131
|
]),
|
@@ -129,13 +134,13 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
129
134
|
]),
|
130
135
|
_: 1
|
131
136
|
}, 8, ["modelValue"]),
|
132
|
-
|
137
|
+
p(f, {
|
133
138
|
prop: "confirmPassword",
|
134
|
-
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (
|
139
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (s, A, D) => l(M)(s, A, D, l(n)) }]
|
135
140
|
}, {
|
136
|
-
default:
|
137
|
-
|
138
|
-
(c(), g(
|
141
|
+
default: d(() => [
|
142
|
+
pe,
|
143
|
+
(c(), g(t, {
|
139
144
|
ref_key: "passwordRef",
|
140
145
|
ref: _,
|
141
146
|
key: l(u),
|
@@ -144,39 +149,39 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
144
149
|
name: "password",
|
145
150
|
tabindex: "2",
|
146
151
|
autocomplete: "on",
|
147
|
-
onKeyup:
|
148
|
-
onBlur: e[5] || (e[5] = (
|
152
|
+
onKeyup: j(l(x), ["native"]),
|
153
|
+
onBlur: e[5] || (e[5] = (s) => h(a) ? a.value = !1 : a = !1),
|
149
154
|
modelValue: l(n).confirmPassword,
|
150
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
155
|
+
"onUpdate:modelValue": e[6] || (e[6] = (s) => l(n).confirmPassword = s)
|
151
156
|
}, null, 8, ["type", "onKeyup", "modelValue"])),
|
152
157
|
r("span", {
|
153
158
|
class: "show-pwd",
|
154
159
|
onClick: e[7] || (e[7] = //@ts-ignore
|
155
|
-
(...
|
160
|
+
(...s) => l(v) && l(v)(...s))
|
156
161
|
}, [
|
157
162
|
r("i", {
|
158
|
-
class:
|
163
|
+
class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
159
164
|
}, null, 2)
|
160
165
|
])
|
161
166
|
]),
|
162
167
|
_: 1
|
163
168
|
}, 8, ["rules"]),
|
164
|
-
l(V) ? (c(), g(l(
|
169
|
+
l(V) ? (c(), g(l(te), {
|
165
170
|
key: 1,
|
166
171
|
ref_key: "captchaRef",
|
167
172
|
ref: C,
|
168
173
|
content: l(w).content,
|
169
174
|
jigsaw: l(w).jigsaw,
|
170
|
-
onRefresh: l(
|
171
|
-
onValidate: l(
|
172
|
-
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(
|
175
|
+
onRefresh: l(P),
|
176
|
+
onValidate: l(N)
|
177
|
+
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(z, {
|
173
178
|
key: 0,
|
174
179
|
type: "primary",
|
175
180
|
loading: l(y),
|
176
|
-
onClick:
|
181
|
+
onClick: F(l(L), ["prevent"])
|
177
182
|
}, {
|
178
|
-
default:
|
179
|
-
|
183
|
+
default: d(() => [
|
184
|
+
G("注册 ")
|
180
185
|
]),
|
181
186
|
_: 1
|
182
187
|
}, 8, ["loading", "onClick"]))
|
@@ -185,12 +190,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
185
190
|
}, 8, ["model"]),
|
186
191
|
r("div", {
|
187
192
|
class: "powered-by",
|
188
|
-
innerHTML: l(
|
189
|
-
}, null, 8,
|
193
|
+
innerHTML: l(oe)("sys.powered_by")
|
194
|
+
}, null, 8, de)
|
190
195
|
]);
|
191
196
|
};
|
192
197
|
}
|
193
198
|
});
|
194
199
|
export {
|
195
|
-
|
200
|
+
Ve as default
|
196
201
|
};
|
@@ -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 "./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 { p as B } from "./main-C1iALE1f.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.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: i } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
|
24
|
+
a.value != null && (i.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 = p.value, s.value = T();
|
27
|
+
};
|
28
|
+
_(() => {
|
29
|
+
V();
|
30
|
+
});
|
31
|
+
let p = c(() => a.value ? i.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(() => p.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(s)),
|
38
|
+
options: r(t),
|
39
|
+
onScroll: r(y),
|
40
|
+
modelValue: r(u),
|
41
|
+
"onUpdate:modelValue": o[0] || (o[0] = (m) => k(u) ? u.value = m : u = m)
|
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 f, toRefs as g, computed as j, openBlock as c, createElementBlock as C, createBlock as O, resolveDynamicComponent as q, unref as e } from "vue";
|
2
|
-
import {
|
2
|
+
import { d as A } from "./main-C1iALE1f.js";
|
3
3
|
const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
|
4
4
|
__name: "SearchFooter",
|
5
5
|
props: {
|
@@ -1,6 +1,11 @@
|
|
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 q, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import { O as ee, s as D, f as te, E as ae } from "./main-C1iALE1f.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const ie = /* @__PURE__ */ I({
|
4
9
|
__name: "SearchForm",
|
5
10
|
props: {
|
6
11
|
schema: { type: Array, required: !0 },
|
@@ -9,19 +14,19 @@ const oe = /* @__PURE__ */ I({
|
|
9
14
|
searchData: { type: Object, required: !0 }
|
10
15
|
},
|
11
16
|
emits: ["change", "submit", "mounted"],
|
12
|
-
setup(
|
13
|
-
let w =
|
17
|
+
setup(E, { expose: M, emit: N }) {
|
18
|
+
let w = N, T = E, { schema: F, table: u, layout: C, searchData: h } = J(T), V = p(), k = p(), W = p(), d = p(), L = (e) => {
|
14
19
|
w("change", e);
|
15
20
|
}, S = (e = null) => {
|
16
21
|
w("submit");
|
17
22
|
}, U = (e, t) => {
|
18
23
|
let l = e == "*" ? null : e;
|
19
|
-
|
20
|
-
},
|
24
|
+
h.value[u.value.name][t.name] = l, S();
|
25
|
+
}, O = () => {
|
21
26
|
V.value && (k.value = V.value.$el.clientWidth);
|
22
27
|
}, $ = (e) => {
|
23
|
-
|
24
|
-
},
|
28
|
+
O();
|
29
|
+
}, R = () => {
|
25
30
|
let e = C.value.tabs;
|
26
31
|
if (e)
|
27
32
|
for (let t = 0; t < e.length; t++) {
|
@@ -29,33 +34,33 @@ const oe = /* @__PURE__ */ I({
|
|
29
34
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
30
35
|
}
|
31
36
|
};
|
32
|
-
d.value = ee.clone(
|
33
|
-
|
37
|
+
d.value = ee.clone(h.value), R(), K(() => {
|
38
|
+
O(), P(() => {
|
34
39
|
w("mounted");
|
35
40
|
});
|
36
41
|
});
|
37
|
-
let z =
|
42
|
+
let z = q(() => {
|
38
43
|
if (!k.value)
|
39
44
|
return [];
|
40
|
-
let e = Math.ceil(k.value / 200), t =
|
41
|
-
return
|
42
|
-
}),
|
45
|
+
let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = C.value.tabs ?? [], c = t.filter((b) => l.indexOf(b.name) == -1);
|
46
|
+
return D.getLines(c, e, (b) => b, () => 1);
|
47
|
+
}), j = q(() => {
|
43
48
|
let e = [], t = C.value.tabs;
|
44
49
|
return t && t.forEach((l) => {
|
45
|
-
let
|
46
|
-
e.push(
|
50
|
+
let c = u.value.fields.find((_) => _.name == l);
|
51
|
+
e.push(c);
|
47
52
|
}), e;
|
48
53
|
});
|
49
|
-
return Q(() =>
|
50
|
-
|
54
|
+
return Q(() => h.value, (e, t) => {
|
55
|
+
R();
|
51
56
|
}), M({ resize: $ }), (e, t) => {
|
52
|
-
const l =
|
53
|
-
return r(), i(
|
57
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), b = m("el-col"), A = m("el-row"), H = m("el-form"), G = m("el-scrollbar");
|
58
|
+
return r(), i(G, {
|
54
59
|
"max-height": "200px",
|
55
60
|
class: "search-form"
|
56
61
|
}, {
|
57
62
|
default: n(() => [
|
58
|
-
a(u).search.length > 0 ? (r(), i(
|
63
|
+
a(u).search.length > 0 ? (r(), i(H, {
|
59
64
|
key: 0,
|
60
65
|
ref_key: "searchFormRef",
|
61
66
|
ref: V,
|
@@ -65,16 +70,16 @@ const oe = /* @__PURE__ */ I({
|
|
65
70
|
}, ["prevent"]))
|
66
71
|
}, {
|
67
72
|
default: n(() => [
|
68
|
-
(r(!0), v(g, null, x(a(
|
73
|
+
(r(!0), v(g, null, x(a(j), (s, f) => (r(), i(_, {
|
69
74
|
class: "search-tab",
|
70
75
|
label: s.label,
|
71
76
|
"label-width": 50
|
72
77
|
}, {
|
73
78
|
default: n(() => [
|
74
|
-
y(
|
79
|
+
y(c, {
|
75
80
|
ref_for: !0,
|
76
81
|
ref_key: "tabRefs",
|
77
|
-
ref:
|
82
|
+
ref: W,
|
78
83
|
onChange: (o) => a(U)(o, s),
|
79
84
|
modelValue: a(d)[a(u).name][s.name],
|
80
85
|
"onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
|
@@ -82,7 +87,7 @@ const oe = /* @__PURE__ */ I({
|
|
82
87
|
default: n(() => [
|
83
88
|
y(l, { value: "*" }, {
|
84
89
|
default: n(() => [
|
85
|
-
|
90
|
+
B("全部")
|
86
91
|
]),
|
87
92
|
_: 1
|
88
93
|
}),
|
@@ -90,7 +95,7 @@ const oe = /* @__PURE__ */ I({
|
|
90
95
|
value: o.value
|
91
96
|
}, {
|
92
97
|
default: n(() => [
|
93
|
-
|
98
|
+
B(Y(o.text), 1)
|
94
99
|
]),
|
95
100
|
_: 2
|
96
101
|
}, 1032, ["value"]))), 256))
|
@@ -102,22 +107,22 @@ const oe = /* @__PURE__ */ I({
|
|
102
107
|
}, 1032, ["label"]))), 256)),
|
103
108
|
(r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
|
104
109
|
class: "search-row",
|
105
|
-
label: a(
|
110
|
+
label: a(j).length ? "其它" : "",
|
106
111
|
"label-width": 50,
|
107
112
|
gutter: 5
|
108
113
|
}, {
|
109
114
|
default: n(() => [
|
110
|
-
(r(!0), v(g, null, x(s, ({ data:
|
115
|
+
(r(!0), v(g, null, x(s, ({ data: f, span: o }, le) => (r(), i(b, { span: o }, {
|
111
116
|
default: n(() => [
|
112
|
-
y(
|
113
|
-
label: a(te)(
|
117
|
+
y(_, {
|
118
|
+
label: a(te)(f.table.name, f.name)
|
114
119
|
}, {
|
115
120
|
default: n(() => [
|
116
121
|
y(ae, {
|
117
122
|
schema: a(F),
|
118
|
-
table:
|
119
|
-
field:
|
120
|
-
"search-data": a(
|
123
|
+
table: f.table,
|
124
|
+
field: f,
|
125
|
+
"search-data": a(h),
|
121
126
|
onChange: a(L),
|
122
127
|
onSubmit: a(S)
|
123
128
|
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
@@ -140,5 +145,5 @@ const oe = /* @__PURE__ */ I({
|
|
140
145
|
}
|
141
146
|
});
|
142
147
|
export {
|
143
|
-
|
148
|
+
ie as _
|
144
149
|
};
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import { defineComponent as K, toRefs as R, ref as i, computed as S, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as _, createCommentVNode as q } 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 z, f as A, h as G } from "./main-C1iALE1f.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const H = { class: "option-text" }, I = {
|
10
|
+
key: 0,
|
11
|
+
class: "option-suffix"
|
12
|
+
}, ee = /* @__PURE__ */ K({
|
13
|
+
__name: "Select",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
searchData: {},
|
19
|
+
modelValue: { type: [String, Boolean] }
|
20
|
+
},
|
21
|
+
emits: ["change", "submit", "update:modelValue"],
|
22
|
+
setup(v, { emit: x }) {
|
23
|
+
let s = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), k = i(!1), m = i(), d = i(a.value.control.data.data), C = () => {
|
24
|
+
s("submit");
|
25
|
+
}, w = () => {
|
26
|
+
}, B = (l) => {
|
27
|
+
m.value = l, D();
|
28
|
+
}, D = () => {
|
29
|
+
let l = { text: m.value, conditions: [] };
|
30
|
+
a.value.control.data.conditions.forEach((o) => {
|
31
|
+
let u = y.value[o.table][o.field];
|
32
|
+
l.conditions.push({ name: o.name, value: u });
|
33
|
+
}), G.post(a.value.control.data.route, l).then(({ data: o }) => {
|
34
|
+
d.value = o;
|
35
|
+
}).finally(() => {
|
36
|
+
k.value = !1;
|
37
|
+
});
|
38
|
+
}, n = S({
|
39
|
+
get() {
|
40
|
+
return V.value;
|
41
|
+
},
|
42
|
+
set(l) {
|
43
|
+
s("update:modelValue", l), s("change", l);
|
44
|
+
}
|
45
|
+
});
|
46
|
+
return (l, o) => {
|
47
|
+
const u = p("el-option"), E = p("el-select");
|
48
|
+
return r(), c(E, {
|
49
|
+
ref: "selectRef",
|
50
|
+
filterable: "",
|
51
|
+
remote: "",
|
52
|
+
"reserve-keyword": "",
|
53
|
+
clearable: "",
|
54
|
+
"default-first-option": "",
|
55
|
+
"remote-show-suffix": "",
|
56
|
+
placeholder: t(z)("common.please_choose") + t(A)(t(g).name, t(a).name),
|
57
|
+
multiple: t(a).control.multiple,
|
58
|
+
"loading-text": "加载中",
|
59
|
+
"remote-method": t(B),
|
60
|
+
disabled: t(a).control.readonly,
|
61
|
+
onKeyup: M(N(t(C), ["alt"]), ["enter", "native"]),
|
62
|
+
onChange: t(w),
|
63
|
+
modelValue: t(n),
|
64
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
|
65
|
+
}, {
|
66
|
+
default: f(() => [
|
67
|
+
(r(!0), h(L, null, U(t(d), (e, O) => (r(), c(u, {
|
68
|
+
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
69
|
+
value: e.value,
|
70
|
+
key: e.value
|
71
|
+
}, {
|
72
|
+
default: f(() => [
|
73
|
+
j("span", H, _(e.text), 1),
|
74
|
+
e.suffix ? (r(), h("span", I, "(" + _(e.suffix) + ")", 1)) : q("", !0)
|
75
|
+
]),
|
76
|
+
_: 2
|
77
|
+
}, 1032, ["label", "value"]))), 128))
|
78
|
+
]),
|
79
|
+
_: 1
|
80
|
+
}, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
|
81
|
+
};
|
82
|
+
}
|
83
|
+
});
|
84
|
+
export {
|
85
|
+
ee as default
|
86
|
+
};
|