halo-pc 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Article-aps_F4Uq.js → Article-D3N6eVpH.js} +28 -27
- package/dist/{ArticleFooter-CsCnjrJ1.js → ArticleFooter-CbvmQHCn.js} +1 -1
- package/dist/{Autocomplete-BGkHGSX_.js → Autocomplete-BrKsj5vx.js} +1 -1
- package/dist/{Autocomplete-XdLV4jzi.js → Autocomplete-C1Q-qo5y.js} +5 -5
- package/dist/{Autocomplete-CGoxGIM2.js → Autocomplete-C_t_3Onz.js} +5 -5
- package/dist/{CSharp-NuDfWEq7.js → CSharp-DGmv2biT.js} +1 -1
- package/dist/{Calender-C2YaNTHk.js → Calender-dCiW7eIK.js} +2 -2
- package/dist/{Callback-Czdr_dVp.js → Callback-BcjLHYz6.js} +3 -3
- package/dist/{Cascader-D3Kr80fH.js → Cascader-BMs1Kw-s.js} +9 -9
- package/dist/{Cascader-DRvnD4Xc.js → Cascader-BoZLMQjq.js} +2 -2
- package/dist/{Checkbox-5pSKww4M.js → Checkbox-DeuCkQ_E.js} +1 -1
- package/dist/{Checkbox-BAcK--1U.js → Checkbox-DklZD5ff.js} +1 -1
- package/dist/{Code-BxQxsVD8.js → Code-CmB3ZGnM.js} +1 -1
- package/dist/{Code-CbsVyhOv.js → Code-DVZ9QWgE.js} +1 -1
- package/dist/{Code-CtDTGfBy.js → Code-Q9ETcIfA.js} +1 -1
- package/dist/Code-hiW76EUm.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-CPZKY3vQ.js → Code.vue_vue_type_style_index_0_lang-DJO46RBx.js} +4 -4
- package/dist/{Column-D3PMyaiE.js → Column-K0p0pVuf.js} +14 -13
- package/dist/{Comment-B3fvVYJF.js → Comment-B_jDWUXE.js} +1 -1
- package/dist/{Compare-BXxJuIXf.js → Compare-CziDSVLD.js} +4 -4
- package/dist/{Compare-gEOPuGLB.js → Compare-DFDzyQIR.js} +7 -7
- package/dist/{Copy-1znXP-dt.js → Copy-gHXEFE58.js} +4 -4
- package/dist/{Custom-C_15ZImX.js → Custom-DS1OrDHT.js} +1 -1
- package/dist/{DataExport-hwoZoZUN.js → DataExport-DAk1d4uG.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dkq4fSkZ.js → DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js} +6 -6
- package/dist/{DataImport-CQYeF50z.js → DataImport-BLOSIbQ2.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-ChWRjj2W.js → DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js} +9 -9
- package/dist/{Date-0bIUTNCs.js → Date-BOrgXdKV.js} +4 -4
- package/dist/{Date-a3T1YbHN.js → Date-D1KihBir.js} +1 -1
- package/dist/{DateRange-Cxu9FXTE.js → DateRange-Clg_We_d.js} +1 -1
- package/dist/{DateTime-IlsYZL-l.js → DateTime-Ba-L9NIq.js} +3 -3
- package/dist/{DateTime-BUYojCOY.js → DateTime-Dwg6aUf3.js} +1 -1
- package/dist/{DateTimeRange-D9K4am0p.js → DateTimeRange-Cir1-Js8.js} +4 -4
- package/dist/{Daterange-CX0Klog4.js → Daterange-Gaj6hNOK.js} +5 -5
- package/dist/{Decimal-CNhxJUZg.js → Decimal-tv9vqaXk.js} +1 -1
- package/dist/{Delete-DFl8Tr27.js → Delete-HzVURBlh.js} +9 -8
- package/dist/{Detail-BXkTd6Wh.js → Detail-B2rtvufA.js} +7 -6
- package/dist/{Dictionary-DmarNVsi.js → Dictionary-DKnp-UJn.js} +9 -9
- package/dist/{Email-BBjDCCOK.js → Email-CpOxaSSw.js} +1 -1
- package/dist/{File-CAnAcqJX.js → File-C63qevce.js} +13 -12
- package/dist/Image-DRIunv3_.js +9 -0
- package/dist/{Index-RZT6JXBO.js → Index-B6Ec8rbl.js} +1 -1
- package/dist/{Index-BqjKndKz.js → Index-BD6O3A9N.js} +2 -2
- package/dist/{Index-DJvB04cS.js → Index-Cc_CDbUJ.js} +1 -1
- package/dist/{Index-CseSUp2Z.js → Index-Cev7Nudv.js} +1 -1
- package/dist/Index-DSKuNKCT.js +4 -0
- package/dist/Index-QIBRYf1L.js +4 -0
- package/dist/Index-ZOfKMgat.js +4 -0
- package/dist/{Index-C4D5pwwu.js → Index-bxLda8lZ.js} +9 -8
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js → Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js} +4 -3
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C8ZEc4nU.js → Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js} +9 -8
- package/dist/{Index.vue_vue_type_style_index_0_lang-T12lwRy6.js → Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js} +2 -2
- package/dist/{Install-DWWpscrR.js → Install-CTAGNKPW.js} +13 -12
- package/dist/{Int-Bn2p1DqA.js → Int-DmNjhEfK.js} +4 -4
- package/dist/{Int-Bi3P8XeV.js → Int-nUzbSSOv.js} +6 -6
- package/dist/{List-CeQRwXop.js → List-gNI3y_wH.js} +9 -8
- package/dist/{Maintaince-CVMjhqSO.js → Maintaince-pTASKuMA.js} +1 -1
- package/dist/{Markdown-d8PCfAFf.js → Markdown-BJB6rQY8.js} +1 -1
- package/dist/{Month-BfUSQ3xa.js → Month-CHfaIo8p.js} +3 -3
- package/dist/{Month-DQKfNQzN.js → Month-DgztqRaq.js} +3 -3
- package/dist/{Month-COEkKDL_.js → Month-ui1XorBW.js} +1 -1
- package/dist/{Normal-BD7sNr-b.js → Normal-Cf7kP6RU.js} +40 -39
- package/dist/{Paging-d_-VefNv.js → Paging-CBgVct8q.js} +5 -4
- package/dist/{PagingHeader-CznmI0kr.js → PagingHeader-BkFBl-r_.js} +1 -1
- package/dist/{PagingRow-BJ-VLpfV.js → PagingRow-eXCadgdO.js} +1 -1
- package/dist/{QueryApi-Cdniq3mZ.js → QueryApi-Wf86Sm6m.js} +1 -1
- package/dist/{Racebar-BkwhD-rw.js → Racebar-ClXzi9hV.js} +2 -2
- package/dist/{Radio-CS12bajp.js → Radio-llyoK7PI.js} +1 -1
- package/dist/{Register-l_X4fDPP.js → Register-BaHhaZMu.js} +38 -37
- package/dist/{RichText-9MwwjuZi.js → RichText-Cc_jptgY.js} +1 -1
- package/dist/{SearchFooter-C8N9ku25.js → SearchFooter-BgJxQrMo.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-6WvYHIn1.js → SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js} +1 -1
- package/dist/{SearchForm-DX0mN20A.js → SearchForm-CroUQ_3K.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js → SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js} +20 -19
- package/dist/{Select-CQE5kY-n.js → Select-BYw63gZy.js} +16 -15
- package/dist/{Select-DYjvtHyi.js → Select-BtNeUq9h.js} +1 -1
- package/dist/{Select-DaEqum3a.js → Select-wxKjwxJj.js} +5 -5
- package/dist/{Single-DErvX9y_.js → Single-CCVi3Pcj.js} +45 -44
- package/dist/{Statistic-CQxXdu-V.js → Statistic-g3nQvsbW.js} +29 -28
- package/dist/{Stock-DXLdfC3r.js → Stock-C6Fxo31l.js} +1 -1
- package/dist/{Stock-CsoHCwV6.js → Stock-CNqLeSld.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-BqXBN6CJ.js} +7 -7
- package/dist/{Switch-BCgZXfWo.js → Switch-NMkH-rhl.js} +1 -1
- package/dist/{Table-DkJYgLFt.js → Table-Cdd_tPoL.js} +42 -41
- package/dist/{Table-CAVxyUTD.js → Table-DpA4dO4P.js} +44 -43
- package/dist/{Text-Cn0cOTli.js → Text-DanSgaL9.js} +1 -1
- package/dist/Text-DgZjeg-u.js +4 -0
- package/dist/{Text-Dk5tNNZo.js → Text-GuLK7BYX.js} +3 -3
- package/dist/{Text.vue_vue_type_style_index_0_lang-I01JEYAx.js → Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js} +8 -8
- package/dist/{TextLink-D3nvnLHn.js → TextLink-B_Ur1pg0.js} +1 -1
- package/dist/{Textarea-Pc4TfoC3.js → Textarea-HhP_VFJV.js} +1 -1
- package/dist/{Time-CToG3p0T.js → Time-CmyrAm3i.js} +8 -8
- package/dist/{Timeline-DphvhX0U.js → Timeline-B85T2wBn.js} +12 -12
- package/dist/{Tree-01Sb-9zi.js → Tree-Ck_7r3nf.js} +69 -68
- package/dist/{Tree-CH1RoUqu.js → Tree-OqvNLgYj.js} +19 -18
- package/dist/{TreeNode-C54d29V-.js → TreeNode-Ba2f55wK.js} +1 -1
- package/dist/{Update-Cy1lFPVv.js → Update-DrmLFoty.js} +7 -6
- package/dist/{UpdateChild-DV_8KV9G.js → UpdateChild-CGCn-Eh4.js} +1 -1
- package/dist/{Upload-DQVaPUdG.js → Upload-D9HeSZCg.js} +12 -11
- package/dist/{Upload-BalaO4wz.js → Upload-DXADyB6r.js} +20 -19
- package/dist/{UploadApi-Cfm5DM_x.js → UploadApi-DAT-xdsM.js} +1 -1
- package/dist/{Year-Swm3VSzj.js → Year-Dx_qNPrz.js} +3 -3
- package/dist/{Year-BFZPXXq0.js → Year-RGAEzf_V.js} +1 -1
- package/dist/assets/halo-fe-idvmXC0t.js +15923 -0
- package/dist/main-COiaaxGk.js +3542 -0
- package/dist/main.js +129 -128
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Code-BHEes80c.js +0 -4
- package/dist/Image-pufFvop2.js +0 -9
- package/dist/Index-CD_KS2lO.js +0 -4
- package/dist/Index-CEh3KlPE.js +0 -4
- package/dist/Index-XmvSiC1h.js +0 -4
- package/dist/Text-DvVWvaMO.js +0 -4
- package/dist/main-BYJVoHlf.js +0 -19457
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { defineComponent as F, ref as i, onMounted as G, watch as I, resolveComponent as m, openBlock as c, createElementBlock as Z, createVNode as
|
|
1
|
+
import { defineComponent as F, ref as i, onMounted as G, watch as I, resolveComponent as m, openBlock as c, createElementBlock as Z, createVNode as f, unref as l, withCtx as d, createElementVNode as r, toDisplayString as J, isRef as h, createBlock as g, withKeys as E, normalizeClass as T, withModifiers as W, createTextVNode as X, nextTick as B } from "vue";
|
|
2
2
|
import { useRoute as Y } from "vue-router";
|
|
3
|
-
import { G as ee,
|
|
3
|
+
import { G as ee, aN as le, P as se, Q as k, L as K, ak as U } from "./assets/halo-fe-idvmXC0t.js";
|
|
4
|
+
import { j as te, r as oe } from "./main-COiaaxGk.js";
|
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
|
5
6
|
const ae = { class: "login-container" }, re = { class: "title-container" }, ne = { class: "title" }, ie = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
|
6
7
|
/* @__PURE__ */ r("i", { class: "fa fa-user" })
|
|
7
8
|
], -1), ue = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
|
8
9
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
|
9
|
-
], -1),
|
|
10
|
+
], -1), fe = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
|
10
11
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
|
11
|
-
], -1),
|
|
12
|
+
], -1), de = ["innerHTML"], ye = /* @__PURE__ */ F({
|
|
12
13
|
__name: "Register",
|
|
13
14
|
setup(pe) {
|
|
14
15
|
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(), q = Y(), L = (t, e, s) => {
|
|
15
16
|
k.isEmail(e) ? s() : s(new Error("邮箱格式不正确"));
|
|
16
17
|
}, M = (t, e, s) => {
|
|
17
18
|
k.isPassword(e) ? s() : s(new Error("密码格式不正确"));
|
|
18
|
-
},
|
|
19
|
+
}, N = (t, e, s, p) => {
|
|
19
20
|
k.isPassword(e) ? e != p.password ? s(new Error("两次密码不一致")) : s() : s(new Error("密码格式不正确"));
|
|
20
21
|
}, P = (t) => {
|
|
21
22
|
let { shiftKey: e, key: s } = t;
|
|
@@ -24,15 +25,15 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
24
25
|
u.value == "password" ? u.value = "" : u.value = "password", B(() => {
|
|
25
26
|
_.value.focus();
|
|
26
27
|
});
|
|
27
|
-
},
|
|
28
|
+
}, O = () => {
|
|
28
29
|
b.value.validate((t) => {
|
|
29
30
|
if (!t)
|
|
30
31
|
return !1;
|
|
31
32
|
V.value = !0;
|
|
32
33
|
});
|
|
33
34
|
}, x = () => {
|
|
34
|
-
|
|
35
|
-
},
|
|
35
|
+
j();
|
|
36
|
+
}, $ = (t) => {
|
|
36
37
|
y.value = !0, n.value.position = t, K.post("/user/register", n.value).then(({ data: e }) => {
|
|
37
38
|
oe.toBackUrl();
|
|
38
39
|
}).catch((e) => {
|
|
@@ -42,20 +43,20 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
42
43
|
y.value = !1;
|
|
43
44
|
});
|
|
44
45
|
});
|
|
45
|
-
},
|
|
46
|
+
}, z = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {}), j = () => {
|
|
46
47
|
K.get("/user/captcha").then(({ data: t, message: e }) => {
|
|
47
48
|
w.value.jigsaw = U.base64(t.jigsaw), w.value.content = U.base64(t.content);
|
|
48
49
|
});
|
|
49
50
|
};
|
|
50
51
|
return G(() => {
|
|
51
|
-
ee.setI18nTitle("common.register"),
|
|
52
|
+
ee.setI18nTitle("common.register"), j(), n.value.email == "" ? R.value.focus() : n.value.password == "" && _.value.focus();
|
|
52
53
|
}), I(q, function(t) {
|
|
53
54
|
const e = t.query;
|
|
54
|
-
e &&
|
|
55
|
+
e && z(e);
|
|
55
56
|
}), (t, e) => {
|
|
56
|
-
const s = m("el-input"), p = m("el-form-item"),
|
|
57
|
+
const s = m("el-input"), p = m("el-form-item"), H = m("el-tooltip"), Q = m("el-button"), S = m("el-form");
|
|
57
58
|
return c(), Z("div", ae, [
|
|
58
|
-
|
|
59
|
+
f(S, {
|
|
59
60
|
ref_key: "formRef",
|
|
60
61
|
ref: b,
|
|
61
62
|
class: "login-form",
|
|
@@ -63,17 +64,17 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
63
64
|
"label-position": "left",
|
|
64
65
|
model: l(n)
|
|
65
66
|
}, {
|
|
66
|
-
default:
|
|
67
|
+
default: d(() => [
|
|
67
68
|
r("div", re, [
|
|
68
69
|
r("h3", ne, J(l(le)("title")), 1)
|
|
69
70
|
]),
|
|
70
|
-
|
|
71
|
+
f(p, {
|
|
71
72
|
prop: "email",
|
|
72
73
|
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(L) }]
|
|
73
74
|
}, {
|
|
74
|
-
default:
|
|
75
|
+
default: d(() => [
|
|
75
76
|
ie,
|
|
76
|
-
|
|
77
|
+
f(s, {
|
|
77
78
|
ref_key: "emailRef",
|
|
78
79
|
ref: R,
|
|
79
80
|
modelValue: l(n).email,
|
|
@@ -87,19 +88,19 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
87
88
|
]),
|
|
88
89
|
_: 1
|
|
89
90
|
}, 8, ["rules"]),
|
|
90
|
-
|
|
91
|
+
f(H, {
|
|
91
92
|
modelValue: l(a),
|
|
92
93
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => h(a) ? a.value = o : a = o),
|
|
93
94
|
content: "Caps lock is On",
|
|
94
95
|
placement: "right",
|
|
95
96
|
manual: ""
|
|
96
97
|
}, {
|
|
97
|
-
default:
|
|
98
|
-
|
|
98
|
+
default: d(() => [
|
|
99
|
+
f(p, {
|
|
99
100
|
prop: "password",
|
|
100
101
|
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(M) }]
|
|
101
102
|
}, {
|
|
102
|
-
default:
|
|
103
|
+
default: d(() => [
|
|
103
104
|
ue,
|
|
104
105
|
(c(), g(s, {
|
|
105
106
|
ref: "password",
|
|
@@ -109,7 +110,7 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
109
110
|
name: "password",
|
|
110
111
|
tabindex: "2",
|
|
111
112
|
autocomplete: "on",
|
|
112
|
-
onKeyup:
|
|
113
|
+
onKeyup: E(l(P), ["native"]),
|
|
113
114
|
onBlur: e[1] || (e[1] = (o) => h(a) ? a.value = !1 : a = !1),
|
|
114
115
|
modelValue: l(n).password,
|
|
115
116
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => l(n).password = o)
|
|
@@ -120,7 +121,7 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
120
121
|
(...o) => l(v) && l(v)(...o))
|
|
121
122
|
}, [
|
|
122
123
|
r("i", {
|
|
123
|
-
class:
|
|
124
|
+
class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
|
124
125
|
}, null, 2)
|
|
125
126
|
])
|
|
126
127
|
]),
|
|
@@ -129,12 +130,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
129
130
|
]),
|
|
130
131
|
_: 1
|
|
131
132
|
}, 8, ["modelValue"]),
|
|
132
|
-
|
|
133
|
+
f(p, {
|
|
133
134
|
prop: "confirmPassword",
|
|
134
|
-
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, A, D) => l(
|
|
135
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, A, D) => l(N)(o, A, D, l(n)) }]
|
|
135
136
|
}, {
|
|
136
|
-
default:
|
|
137
|
-
|
|
137
|
+
default: d(() => [
|
|
138
|
+
fe,
|
|
138
139
|
(c(), g(s, {
|
|
139
140
|
ref_key: "passwordRef",
|
|
140
141
|
ref: _,
|
|
@@ -144,7 +145,7 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
144
145
|
name: "password",
|
|
145
146
|
tabindex: "2",
|
|
146
147
|
autocomplete: "on",
|
|
147
|
-
onKeyup:
|
|
148
|
+
onKeyup: E(l(P), ["native"]),
|
|
148
149
|
onBlur: e[5] || (e[5] = (o) => h(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,27 +156,27 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
155
156
|
(...o) => l(v) && l(v)(...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
|
]),
|
|
162
163
|
_: 1
|
|
163
164
|
}, 8, ["rules"]),
|
|
164
|
-
l(V) ? (c(), g(l(
|
|
165
|
+
l(V) ? (c(), g(l(te), {
|
|
165
166
|
key: 1,
|
|
166
167
|
ref_key: "captchaRef",
|
|
167
168
|
ref: C,
|
|
168
169
|
content: l(w).content,
|
|
169
170
|
jigsaw: l(w).jigsaw,
|
|
170
171
|
onRefresh: l(x),
|
|
171
|
-
onValidate: l(
|
|
172
|
-
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(
|
|
172
|
+
onValidate: l($)
|
|
173
|
+
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(Q, {
|
|
173
174
|
key: 0,
|
|
174
175
|
type: "primary",
|
|
175
176
|
loading: l(y),
|
|
176
|
-
onClick: W(l(
|
|
177
|
+
onClick: W(l(O), ["prevent"])
|
|
177
178
|
}, {
|
|
178
|
-
default:
|
|
179
|
+
default: d(() => [
|
|
179
180
|
X("注册 ")
|
|
180
181
|
]),
|
|
181
182
|
_: 1
|
|
@@ -185,12 +186,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
|
185
186
|
}, 8, ["model"]),
|
|
186
187
|
r("div", {
|
|
187
188
|
class: "powered-by",
|
|
188
|
-
innerHTML: l(
|
|
189
|
-
}, null, 8,
|
|
189
|
+
innerHTML: l(se)("sys.powered_by")
|
|
190
|
+
}, null, 8, de)
|
|
190
191
|
]);
|
|
191
192
|
};
|
|
192
193
|
}
|
|
193
194
|
});
|
|
194
195
|
export {
|
|
195
|
-
|
|
196
|
+
ye as default
|
|
196
197
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as p, onMounted as w, computed as m, watch as v, openBlock as R, createBlock as b, unref as r, normalizeStyle as k, isRef as B } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a7 as C } from "./assets/halo-fe-idvmXC0t.js";
|
|
3
3
|
const O = /* @__PURE__ */ g({
|
|
4
4
|
__name: "RichText",
|
|
5
5
|
props: /* @__PURE__ */ x({
|
|
@@ -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 { c as A } from "./main-COiaaxGk.js";
|
|
3
3
|
const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
|
|
4
4
|
__name: "SearchFooter",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { t as ee,
|
|
3
|
-
|
|
1
|
+
import { defineComponent as H, toRefs as I, ref as p, onMounted as J, nextTick as P, computed as O, 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 j, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
|
2
|
+
import { t as ee, aK as te } from "./assets/halo-fe-idvmXC0t.js";
|
|
3
|
+
import { s as B, e as ae } from "./main-COiaaxGk.js";
|
|
4
|
+
const ue = /* @__PURE__ */ H({
|
|
4
5
|
__name: "SearchForm",
|
|
5
6
|
props: {
|
|
6
7
|
schema: { type: Array, required: !0 },
|
|
@@ -10,7 +11,7 @@ const oe = /* @__PURE__ */ I({
|
|
|
10
11
|
},
|
|
11
12
|
emits: ["change", "submit", "mounted"],
|
|
12
13
|
setup(D, { expose: M, emit: T }) {
|
|
13
|
-
let w = T, W = D, { schema: F, table: u, layout: C, searchData: f } =
|
|
14
|
+
let w = T, W = D, { schema: F, table: u, layout: C, searchData: f } = I(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
|
|
14
15
|
w("change", e);
|
|
15
16
|
}, S = (e = null) => {
|
|
16
17
|
w("submit");
|
|
@@ -21,7 +22,7 @@ const oe = /* @__PURE__ */ I({
|
|
|
21
22
|
V.value && (k.value = V.value.$el.clientWidth);
|
|
22
23
|
}, $ = (e) => {
|
|
23
24
|
R();
|
|
24
|
-
},
|
|
25
|
+
}, q = () => {
|
|
25
26
|
let e = C.value.tabs;
|
|
26
27
|
if (e)
|
|
27
28
|
for (let t = 0; t < e.length; t++) {
|
|
@@ -29,7 +30,7 @@ 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.clone(f.value),
|
|
33
|
+
d.value = ee.clone(f.value), q(), J(() => {
|
|
33
34
|
R(), P(() => {
|
|
34
35
|
w("mounted");
|
|
35
36
|
});
|
|
@@ -37,25 +38,25 @@ const oe = /* @__PURE__ */ I({
|
|
|
37
38
|
let z = O(() => {
|
|
38
39
|
if (!k.value)
|
|
39
40
|
return [];
|
|
40
|
-
let e = Math.ceil(k.value / 200), t = B.expandSearch(F.value), l = C.value.tabs ?? [],
|
|
41
|
-
return B.getLines(
|
|
42
|
-
}),
|
|
41
|
+
let e = Math.ceil(k.value / 200), t = B.expandSearch(F.value), l = C.value.tabs ?? [], c = t.filter((_) => l.indexOf(_.name) == -1);
|
|
42
|
+
return B.getLines(c, e, (_) => _, () => 1);
|
|
43
|
+
}), N = O(() => {
|
|
43
44
|
let e = [], t = C.value.tabs;
|
|
44
45
|
return t && t.forEach((l) => {
|
|
45
|
-
let
|
|
46
|
-
e.push(
|
|
46
|
+
let c = u.value.fields.find((h) => h.name == l);
|
|
47
|
+
e.push(c);
|
|
47
48
|
}), e;
|
|
48
49
|
});
|
|
49
50
|
return Q(() => f.value, (e, t) => {
|
|
50
|
-
|
|
51
|
+
q();
|
|
51
52
|
}), M({ resize: $ }), (e, t) => {
|
|
52
|
-
const l =
|
|
53
|
-
return r(), i(
|
|
53
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), h = m("el-form-item"), _ = m("el-col"), A = m("el-row"), K = m("el-form"), G = m("el-scrollbar");
|
|
54
|
+
return r(), i(G, {
|
|
54
55
|
"max-height": "200px",
|
|
55
56
|
class: "search-form"
|
|
56
57
|
}, {
|
|
57
58
|
default: n(() => [
|
|
58
|
-
a(u).search.length > 0 ? (r(), i(
|
|
59
|
+
a(u).search.length > 0 ? (r(), i(K, {
|
|
59
60
|
key: 0,
|
|
60
61
|
ref_key: "searchFormRef",
|
|
61
62
|
ref: V,
|
|
@@ -65,13 +66,13 @@ const oe = /* @__PURE__ */ I({
|
|
|
65
66
|
}, ["prevent"]))
|
|
66
67
|
}, {
|
|
67
68
|
default: n(() => [
|
|
68
|
-
(r(!0), v(g, null, x(a(
|
|
69
|
+
(r(!0), v(g, null, x(a(N), (s, b) => (r(), i(h, {
|
|
69
70
|
class: "search-tab",
|
|
70
71
|
label: s.label,
|
|
71
72
|
"label-width": 50
|
|
72
73
|
}, {
|
|
73
74
|
default: n(() => [
|
|
74
|
-
y(
|
|
75
|
+
y(c, {
|
|
75
76
|
ref_for: !0,
|
|
76
77
|
ref_key: "tabRefs",
|
|
77
78
|
ref: E,
|
|
@@ -102,7 +103,7 @@ const oe = /* @__PURE__ */ I({
|
|
|
102
103
|
}, 1032, ["label"]))), 256)),
|
|
103
104
|
(r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
|
|
104
105
|
class: "search-row",
|
|
105
|
-
label: a(
|
|
106
|
+
label: a(N).length ? "其它" : "",
|
|
106
107
|
"label-width": 50,
|
|
107
108
|
gutter: 5
|
|
108
109
|
}, {
|
|
@@ -140,5 +141,5 @@ const oe = /* @__PURE__ */ I({
|
|
|
140
141
|
}
|
|
141
142
|
});
|
|
142
143
|
export {
|
|
143
|
-
|
|
144
|
+
ue as _
|
|
144
145
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as T, toRefs as U, ref as f, computed as q, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as D, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
|
|
2
|
+
import { aL as J, U as P, L as Q } from "./assets/halo-fe-idvmXC0t.js";
|
|
3
|
+
import { d as W } from "./main-COiaaxGk.js";
|
|
3
4
|
const X = { class: "option-text" }, Y = {
|
|
4
5
|
key: 0,
|
|
5
6
|
class: "option-suffix"
|
|
6
|
-
},
|
|
7
|
+
}, te = /* @__PURE__ */ T({
|
|
7
8
|
__name: "Select",
|
|
8
9
|
props: {
|
|
9
10
|
schema: {},
|
|
@@ -15,7 +16,7 @@ const X = { class: "option-text" }, Y = {
|
|
|
15
16
|
},
|
|
16
17
|
emits: ["submit", "change", "update:modelValue"],
|
|
17
18
|
setup(C, { emit: E }) {
|
|
18
|
-
let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } =
|
|
19
|
+
let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } = U(B), x = f(), g = f(), v = f(!1), d = f(u.value.control.data.data), K = (t) => {
|
|
19
20
|
t == "" && (t = null);
|
|
20
21
|
let e;
|
|
21
22
|
if (P.isString(t) && u.value.control.multiple ? e = t.join(",") : e = t, r.value = e, u.value.control.text) {
|
|
@@ -25,16 +26,16 @@ const X = { class: "option-text" }, Y = {
|
|
|
25
26
|
R.value[a.name] = o;
|
|
26
27
|
}
|
|
27
28
|
b(m.value, u.value), s("change", t);
|
|
28
|
-
},
|
|
29
|
+
}, L = () => {
|
|
29
30
|
s("submit");
|
|
31
|
+
}, N = () => {
|
|
30
32
|
}, j = () => {
|
|
31
|
-
}, q = () => {
|
|
32
33
|
v.value = !0;
|
|
33
34
|
let t = { text: g.value, conditions: [] };
|
|
34
35
|
u.value.control.data.conditions.forEach((e) => {
|
|
35
36
|
let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
|
|
36
37
|
t.conditions.push({ name: e.name, value: o });
|
|
37
|
-
}),
|
|
38
|
+
}), Q.post(u.value.control.data.route, t).then(({ data: e }) => {
|
|
38
39
|
d.value = e;
|
|
39
40
|
}).finally(() => {
|
|
40
41
|
v.value = !1, I(() => {
|
|
@@ -43,8 +44,8 @@ const X = { class: "option-text" }, Y = {
|
|
|
43
44
|
});
|
|
44
45
|
});
|
|
45
46
|
}, F = (t) => {
|
|
46
|
-
g.value = t,
|
|
47
|
-
},
|
|
47
|
+
g.value = t, j();
|
|
48
|
+
}, M = (t, e) => {
|
|
48
49
|
let a = [];
|
|
49
50
|
return S.value.forEach((o) => {
|
|
50
51
|
o.fields.forEach((l) => {
|
|
@@ -54,10 +55,10 @@ const X = { class: "option-text" }, Y = {
|
|
|
54
55
|
});
|
|
55
56
|
}), a;
|
|
56
57
|
}, b = (t, e) => {
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
M(t, e).forEach((o) => {
|
|
59
|
+
W.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
|
|
59
60
|
});
|
|
60
|
-
}, r =
|
|
61
|
+
}, r = q({
|
|
61
62
|
get() {
|
|
62
63
|
return u.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
|
|
63
64
|
},
|
|
@@ -82,8 +83,8 @@ const X = { class: "option-text" }, Y = {
|
|
|
82
83
|
"remote-method": n(F),
|
|
83
84
|
loading: n(v),
|
|
84
85
|
disabled: n(u).control.readonly,
|
|
85
|
-
onKeyup: A(D(n(
|
|
86
|
-
onBlur: n(
|
|
86
|
+
onKeyup: A(D(n(L), ["alt"]), ["enter", "native"]),
|
|
87
|
+
onBlur: n(N),
|
|
87
88
|
onChange: n(K),
|
|
88
89
|
modelValue: n(r),
|
|
89
90
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => O(r) ? r.value = l : r = l)
|
|
@@ -107,5 +108,5 @@ const X = { class: "option-text" }, Y = {
|
|
|
107
108
|
}
|
|
108
109
|
});
|
|
109
110
|
export {
|
|
110
|
-
|
|
111
|
+
te as default
|
|
111
112
|
};
|
|
@@ -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-DKnp-UJn.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),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as E, toRefs as
|
|
2
|
-
import { P as q,
|
|
1
|
+
import { defineComponent as E, toRefs as N, ref as d, computed as R, resolveComponent as c, openBlock as s, createBlock as f, unref as t, withKeys as S, withModifiers as L, isRef as M, withCtx as p, createElementBlock as h, Fragment as P, renderList as F, createElementVNode as U, toDisplayString as _, createCommentVNode as j } from "vue";
|
|
2
|
+
import { P as q, aK as z, L as A } from "./assets/halo-fe-idvmXC0t.js";
|
|
3
3
|
const G = { class: "option-text" }, H = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "option-suffix"
|
|
@@ -14,12 +14,12 @@ const G = { class: "option-text" }, H = {
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["change", "submit", "update:modelValue"],
|
|
16
16
|
setup(v, { emit: x }) {
|
|
17
|
-
let r = x, b = v, { schema: I, table: g, field: a, searchData: y, modelValue: V } =
|
|
17
|
+
let r = x, b = v, { schema: I, table: g, field: a, searchData: y, modelValue: V } = N(b), k = d(!1), i = d(), m = d(a.value.control.data.data), C = () => {
|
|
18
18
|
r("submit");
|
|
19
19
|
}, w = () => {
|
|
20
20
|
}, B = (l) => {
|
|
21
|
-
i.value = l,
|
|
22
|
-
},
|
|
21
|
+
i.value = l, K();
|
|
22
|
+
}, K = () => {
|
|
23
23
|
let l = { text: i.value, conditions: [] };
|
|
24
24
|
a.value.control.data.conditions.forEach((o) => {
|
|
25
25
|
let u = y.value[o.table][o.field];
|