halo-pc 1.0.26 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-BNacU3kR.js → Article-CTqryR4L.js} +18 -17
- package/dist/{ArticleFooter-Ya07aLYn.js → ArticleFooter-BumGH5nC.js} +1 -1
- package/dist/{Autocomplete-CyXE-g54.js → Autocomplete-BNx0bErM.js} +1 -1
- package/dist/{Autocomplete-Bud53PPx.js → Autocomplete-C9RS9-qw.js} +3 -3
- package/dist/{Autocomplete-CfE5ZKi2.js → Autocomplete-DIucpEpj.js} +3 -3
- package/dist/{CSharp-DQLgcbTQ.js → CSharp-Dt6H75E9.js} +1 -1
- package/dist/{Calender-YujFxcgS.js → Calender-DhKZyJri.js} +1 -1
- package/dist/{Callback-BaFg5U2u.js → Callback-D6G_933H.js} +1 -1
- package/dist/{Cascader-C1kyNib7.js → Cascader-C6t8Q18c.js} +1 -1
- package/dist/{Cascader-D5PO9zK9.js → Cascader-F_XWwXKY.js} +3 -3
- package/dist/{Checkbox-Dkqh7eR4.js → Checkbox-C-iEGB0k.js} +1 -1
- package/dist/{Checkbox-CUtyT8l7.js → Checkbox-ipHs0O-8.js} +1 -1
- package/dist/{Code-pe9JMCAj.js → Code-DKtqow6y.js} +4 -4
- package/dist/{Code-Dszcah6J.js → Code-JtSSnUWC.js} +1 -1
- package/dist/{Code-C160-nQS.js → Code-LeguA9RL.js} +1 -1
- package/dist/Code-Q_6THgGl.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js → Code.vue_vue_type_style_index_0_lang-DmeXbg91.js} +5 -5
- package/dist/{Column-C3j98RGT.js → Column-BeQwafyN.js} +16 -15
- package/dist/{Comment-DIrY0RiI.js → Comment-DIcCHP9F.js} +1 -1
- package/dist/{Compare-DKLN4wT4.js → Compare-DZVrBYEh.js} +4 -4
- package/dist/{Compare-5j7MYou6.js → Compare-Dzqm7kPE.js} +7 -7
- package/dist/{Copy-Go_1uhB5.js → Copy-iLieXx22.js} +1 -1
- package/dist/{Custom-C00oYEFm.js → Custom-BGtEDHlD.js} +1 -1
- package/dist/{DataExport-CFjE1loi.js → DataExport-DSz5371s.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js → DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js} +5 -5
- package/dist/{DataImport-BQ0rieu8.js → DataImport-CX7G70a7.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js → DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js} +10 -10
- package/dist/{Date-uHiOL-PD.js → Date-CNOCOcNz.js} +1 -1
- package/dist/{Date-C5WCVXDU.js → Date-ytWe2gz8.js} +1 -1
- package/dist/{DateRange-B-HjKQpJ.js → DateRange-CaIiObxN.js} +1 -1
- package/dist/{DateTime-D4Ck5hBj.js → DateTime-CH6J1GoP.js} +1 -1
- package/dist/{DateTime-BrsWm90_.js → DateTime-p6YgmtGd.js} +1 -1
- package/dist/{DateTimeRange-DjIp1SAX.js → DateTimeRange-DGobnXqs.js} +1 -1
- package/dist/{Daterange-DiZUFL_F.js → Daterange-BUSKAGlK.js} +1 -1
- package/dist/{Decimal-_6FobwTd.js → Decimal-BvyzJq1c.js} +1 -1
- package/dist/{Delete-C46eSfMC.js → Delete-BeFC0gjD.js} +12 -11
- package/dist/{Detail-BMbiENm0.js → Detail-DZJ0aUFr.js} +7 -6
- package/dist/{Dictionary-Dga6kbof.js → Dictionary-CsBiv-CI.js} +1 -1
- package/dist/{Email-PVk9gqfn.js → Email-Dwa6x3jW.js} +1 -1
- package/dist/{File-B9Q2QOa-.js → File-BEBElTSS.js} +24 -23
- package/dist/{Image-CzOq81lm.js → Image-DDK05SW7.js} +1 -1
- package/dist/{Index-DvfJmbPU.js → Index-BiF8qEWf.js} +1 -1
- package/dist/Index-Bpe7pY2Z.js +4 -0
- package/dist/{Index-Cq20wsZC.js → Index-CUYQxzNd.js} +53 -52
- package/dist/{Index-DJz-eVVd.js → Index-CuEyzMd0.js} +2 -2
- package/dist/Index-DMnL8F7Y.js +4 -0
- package/dist/Index-DNG25ox2.js +4 -0
- package/dist/{Index-BmVFh23J.js → Index-DPwdcUO4.js} +1 -1
- package/dist/Index-DqUNI6MV.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js → Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js} +6 -5
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js → Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js} +10 -9
- package/dist/{Install-CXj-qqao.js → Install-CxuoWpHC.js} +15 -14
- package/dist/{Int-BG6MD24t.js → Int-BFv18KXi.js} +1 -1
- package/dist/{Int-Dc7h_7Ga.js → Int-C0ijmdYS.js} +7 -7
- package/dist/{List-EDwPH8aL.js → List-CfQzWq_5.js} +10 -9
- package/dist/{Maintaince-BqvMHxH0.js → Maintaince-BzDEwQcU.js} +1 -1
- package/dist/{Markdown-CdP4Uf3M.js → Markdown-x1hASyA-.js} +1 -1
- package/dist/{Month-BUvqsSfA.js → Month-Bb0tgF-k.js} +1 -1
- package/dist/{Month-8mDUGsOp.js → Month-Bp_Pfi_b.js} +1 -1
- package/dist/{Month-ClGd6IhI.js → Month-CKkjwzza.js} +1 -1
- package/dist/{Normal-DUlWYlcs.js → Normal-CYmy5sN7.js} +60 -59
- package/dist/{Paging-D_ticCtb.js → Paging-DpoBp7x_.js} +19 -18
- package/dist/{PagingHeader-aZb0fGRv.js → PagingHeader-DWbFl1do.js} +1 -1
- package/dist/{PagingRow-_H7tCWDM.js → PagingRow-CR2N1vgm.js} +1 -1
- package/dist/{QueryApi-S0e3c6l0.js → QueryApi-VwISnk96.js} +1 -1
- package/dist/{Racebar-DESsxoi9.js → Racebar-BsgDK6Zf.js} +2 -2
- package/dist/{Radio-ChF3_bX0.js → Radio-B3Af-uZE.js} +1 -1
- package/dist/{Register-Du5lRabU.js → Register-Cwr3iIZm.js} +66 -65
- package/dist/{RichText-BJVvArGS.js → RichText-CNahMrfb.js} +3 -3
- package/dist/{SearchFooter-HjKH1gD5.js → SearchFooter-DiILcc_U.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js → SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js} +1 -1
- package/dist/{SearchForm-C-o0Orkp.js → SearchForm-BOw_kHs2.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js → SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js} +33 -32
- package/dist/{Select-DrybbaWb.js → Select-BdYG1KQE.js} +1 -1
- package/dist/{Select-DgKzH1gD.js → Select-BeNZqAP1.js} +15 -14
- package/dist/{Select-CYaWHcWs.js → Select-CqOE6uI8.js} +5 -5
- package/dist/{Single-B-253IzX.js → Single-DqCIZBIB.js} +48 -47
- package/dist/{Statistic-B7Tib1eh.js → Statistic-B9ZcUUk1.js} +19 -18
- package/dist/{Stock-BBcnzi6G.js → Stock-BiSr7zAF.js} +1 -1
- package/dist/{Stock-DuyZiPxv.js → Stock-BnBNtuo7.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js → Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js} +4 -4
- package/dist/{Switch-DP-_EUOK.js → Switch-BE4dQcja.js} +1 -1
- package/dist/{Table-hHG9kq1I.js → Table-CaH_zu8W.js} +38 -37
- package/dist/{Table-2jZ0ISz7.js → Table-e0uLPRLG.js} +48 -47
- package/dist/Text-5803XWI6.js +4 -0
- package/dist/{Text-RsldE1sr.js → Text-BAw88r5O.js} +4 -4
- package/dist/{Text-lak-4VnA.js → Text-BDAob4mp.js} +1 -1
- package/dist/{Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js → Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js} +8 -8
- package/dist/{TextLink-C-NU-oVe.js → TextLink-TYXcDAlo.js} +3 -3
- package/dist/{Textarea-QGa_EKSl.js → Textarea-CU5PjIoa.js} +1 -1
- package/dist/{Time-BgWPjGd1.js → Time-Dd-Trib4.js} +6 -6
- package/dist/{Timeline-CBWcOVdY.js → Timeline-D6LCIkQp.js} +12 -12
- package/dist/{Tree--dJKRJvG.js → Tree-BKmFZrK3.js} +4 -3
- package/dist/{Tree-B2fZE9Qf.js → Tree-D-v632h1.js} +47 -46
- package/dist/{TreeNode-CxTzNQo9.js → TreeNode-L_A5ZKy0.js} +1 -1
- package/dist/{Update-BqQGp_9h.js → Update-DRAFce7_.js} +7 -6
- package/dist/{UpdateChild-DejVqKrE.js → UpdateChild-DMC0FG4Z.js} +1 -1
- package/dist/{Upload-tlSQp2Qu.js → Upload-DJRh4a7g.js} +17 -16
- package/dist/{Upload-9z5VIixQ.js → Upload-Ozg_nOpI.js} +22 -21
- package/dist/{UploadApi-B2dxOS0T.js → UploadApi-DVx69g-F.js} +1 -1
- package/dist/{Year-CrN8Fl5U.js → Year-CpcMBvQ7.js} +1 -1
- package/dist/{Year-DNDyqe5X.js → Year-D7XGe2So.js} +1 -1
- package/dist/assets/halo-fe-B-NiIGas.js +12088 -0
- package/dist/main-DB_sVyZe.js +3620 -0
- package/dist/main.js +141 -140
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Code-DXkJ6x5_.js +0 -4
- package/dist/Index-CfDvQD94.js +0 -4
- 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/Text-C70dFJLS.js +0 -4
- package/dist/main-D3_7YhaK.js +0 -15700
@@ -1,40 +1,41 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as J, ref as i, onMounted as Q, watch as W, resolveComponent as m, openBlock as c, createElementBlock as Z, createVNode as f, unref as l, withCtx as d, createElementVNode as r, toDisplayString as F, isRef as h, createBlock as g, withKeys as E, normalizeClass as T, withModifiers as G, createTextVNode as X, nextTick as B } from "vue";
|
2
2
|
import { useRoute as Y } from "vue-router";
|
3
|
-
import { J as ee,
|
3
|
+
import { J as ee, j as le, e as te, W as k, T as K, al as U } from "./assets/halo-fe-B-NiIGas.js";
|
4
|
+
import { k as oe, r as se } from "./main-DB_sVyZe.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__ */ J({
|
12
13
|
__name: "Register",
|
13
14
|
setup(pe) {
|
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(), q = Y(), M = (
|
15
|
-
k.isEmail(e) ?
|
16
|
-
}, O = (
|
17
|
-
k.isPassword(e) ?
|
18
|
-
},
|
19
|
-
k.isPassword(e) ? e != p.password ?
|
20
|
-
}, x = (
|
21
|
-
let { shiftKey: e, key:
|
22
|
-
|
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(), M = (o, e, t) => {
|
16
|
+
k.isEmail(e) ? t() : t(new Error("邮箱格式不正确"));
|
17
|
+
}, O = (o, e, t) => {
|
18
|
+
k.isPassword(e) ? t() : t(new Error("密码格式不正确"));
|
19
|
+
}, L = (o, e, t, p) => {
|
20
|
+
k.isPassword(e) ? e != p.password ? t(new Error("两次密码不一致")) : t() : t(new Error("密码格式不正确"));
|
21
|
+
}, x = (o) => {
|
22
|
+
let { shiftKey: e, key: t } = o;
|
23
|
+
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
24
|
}, v = () => {
|
24
25
|
u.value == "password" ? u.value = "" : u.value = "password", B(() => {
|
25
26
|
_.value.focus();
|
26
27
|
});
|
27
|
-
},
|
28
|
-
b.value.validate((
|
29
|
-
if (!
|
28
|
+
}, N = () => {
|
29
|
+
b.value.validate((o) => {
|
30
|
+
if (!o)
|
30
31
|
return !1;
|
31
32
|
V.value = !0;
|
32
33
|
});
|
33
34
|
}, P = () => {
|
34
|
-
|
35
|
-
},
|
36
|
-
y.value = !0, n.value.position =
|
37
|
-
|
35
|
+
j();
|
36
|
+
}, $ = (o) => {
|
37
|
+
y.value = !0, n.value.position = o, K.post("/user/register", n.value).then(({ data: e }) => {
|
38
|
+
se.toBackUrl();
|
38
39
|
}).catch((e) => {
|
39
40
|
throw P(), C.value.error(), e;
|
40
41
|
}).finally(() => {
|
@@ -42,20 +43,20 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
42
43
|
y.value = !1;
|
43
44
|
});
|
44
45
|
});
|
45
|
-
}, z = (
|
46
|
-
K.get("/user/captcha").then(({ data:
|
47
|
-
w.value.jigsaw = U.base64(
|
46
|
+
}, z = (o) => Object.keys(o).reduce((e, t) => (e[t] = o[t], e), {}), j = () => {
|
47
|
+
K.get("/user/captcha").then(({ data: o, message: e }) => {
|
48
|
+
w.value.jigsaw = U.base64(o.jigsaw), w.value.content = U.base64(o.content);
|
48
49
|
});
|
49
50
|
};
|
50
|
-
return
|
51
|
-
ee.setI18nTitle("common.register"),
|
52
|
-
}),
|
53
|
-
const e =
|
51
|
+
return Q(() => {
|
52
|
+
ee.setI18nTitle("common.register"), j(), n.value.email == "" ? R.value.focus() : n.value.password == "" && _.value.focus();
|
53
|
+
}), W(q, function(o) {
|
54
|
+
const e = o.query;
|
54
55
|
e && z(e);
|
55
|
-
}), (
|
56
|
-
const
|
57
|
-
return c(),
|
58
|
-
|
56
|
+
}), (o, e) => {
|
57
|
+
const t = m("el-input"), p = m("el-form-item"), H = m("el-tooltip"), S = m("el-button"), A = m("el-form");
|
58
|
+
return c(), Z("div", ae, [
|
59
|
+
f(A, {
|
59
60
|
ref_key: "formRef",
|
60
61
|
ref: b,
|
61
62
|
class: "login-form",
|
@@ -63,21 +64,21 @@ 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
|
-
r("h3", ne,
|
69
|
+
r("h3", ne, F(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(M) }]
|
73
74
|
}, {
|
74
|
-
default:
|
75
|
+
default: d(() => [
|
75
76
|
ie,
|
76
|
-
|
77
|
+
f(t, {
|
77
78
|
ref_key: "emailRef",
|
78
79
|
ref: R,
|
79
80
|
modelValue: l(n).email,
|
80
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
81
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => l(n).email = s),
|
81
82
|
placeholder: "邮箱",
|
82
83
|
name: "email",
|
83
84
|
type: "text",
|
@@ -87,21 +88,21 @@ 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
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
93
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => h(a) ? a.value = s : a = s),
|
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(O) }]
|
101
102
|
}, {
|
102
|
-
default:
|
103
|
+
default: d(() => [
|
103
104
|
ue,
|
104
|
-
(c(), g(
|
105
|
+
(c(), g(t, {
|
105
106
|
ref: "password",
|
106
107
|
key: l(u),
|
107
108
|
type: l(u),
|
@@ -109,18 +110,18 @@ 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
|
-
onBlur: e[1] || (e[1] = (
|
113
|
+
onKeyup: E(l(x), ["native"]),
|
114
|
+
onBlur: e[1] || (e[1] = (s) => h(a) ? a.value = !1 : a = !1),
|
114
115
|
modelValue: l(n).password,
|
115
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
116
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => l(n).password = s)
|
116
117
|
}, null, 8, ["type", "onKeyup", "modelValue"])),
|
117
118
|
r("span", {
|
118
119
|
class: "show-pwd",
|
119
120
|
onClick: e[3] || (e[3] = //@ts-ignore
|
120
|
-
(...
|
121
|
+
(...s) => l(v) && l(v)(...s))
|
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,13 +130,13 @@ 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: (
|
135
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (s, D, I) => l(L)(s, D, I, l(n)) }]
|
135
136
|
}, {
|
136
|
-
default:
|
137
|
-
|
138
|
-
(c(), g(
|
137
|
+
default: d(() => [
|
138
|
+
fe,
|
139
|
+
(c(), g(t, {
|
139
140
|
ref_key: "passwordRef",
|
140
141
|
ref: _,
|
141
142
|
key: l(u),
|
@@ -144,39 +145,39 @@ 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
|
-
onBlur: e[5] || (e[5] = (
|
148
|
+
onKeyup: E(l(x), ["native"]),
|
149
|
+
onBlur: e[5] || (e[5] = (s) => h(a) ? a.value = !1 : a = !1),
|
149
150
|
modelValue: l(n).confirmPassword,
|
150
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
151
|
+
"onUpdate:modelValue": e[6] || (e[6] = (s) => l(n).confirmPassword = s)
|
151
152
|
}, null, 8, ["type", "onKeyup", "modelValue"])),
|
152
153
|
r("span", {
|
153
154
|
class: "show-pwd",
|
154
155
|
onClick: e[7] || (e[7] = //@ts-ignore
|
155
|
-
(...
|
156
|
+
(...s) => l(v) && l(v)(...s))
|
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(oe), {
|
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(P),
|
171
|
-
onValidate: l(
|
172
|
+
onValidate: l($)
|
172
173
|
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(S, {
|
173
174
|
key: 0,
|
174
175
|
type: "primary",
|
175
176
|
loading: l(y),
|
176
|
-
onClick:
|
177
|
+
onClick: G(l(N), ["prevent"])
|
177
178
|
}, {
|
178
|
-
default:
|
179
|
-
|
179
|
+
default: d(() => [
|
180
|
+
X("注册 ")
|
180
181
|
]),
|
181
182
|
_: 1
|
182
183
|
}, 8, ["loading", "onClick"]))
|
@@ -186,11 +187,11 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
186
187
|
r("div", {
|
187
188
|
class: "powered-by",
|
188
189
|
innerHTML: l(te)("sys.powered_by")
|
189
|
-
}, null, 8,
|
190
|
+
}, null, 8, de)
|
190
191
|
]);
|
191
192
|
};
|
192
193
|
}
|
193
194
|
});
|
194
195
|
export {
|
195
|
-
|
196
|
+
ye as default
|
196
197
|
};
|
@@ -1,6 +1,6 @@
|
|
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 f, openBlock as R, createBlock as b, unref as r, normalizeStyle as k, isRef as B } from "vue";
|
2
|
-
import {
|
3
|
-
const
|
2
|
+
import { a7 as C } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const O = /* @__PURE__ */ g({
|
4
4
|
__name: "RichText",
|
5
5
|
props: /* @__PURE__ */ x({
|
6
6
|
schema: {},
|
@@ -37,5 +37,5 @@ const F = /* @__PURE__ */ g({
|
|
37
37
|
}
|
38
38
|
});
|
39
39
|
export {
|
40
|
-
|
40
|
+
O as default
|
41
41
|
};
|
@@ -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 { c as A } from "./main-
|
2
|
+
import { c as A } from "./main-DB_sVyZe.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 H, toRefs as I, ref as p, onMounted as J, nextTick as K, computed as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as H, toRefs as I, ref as p, onMounted as J, nextTick as K, computed as O, watch as P, resolveComponent as c, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as Q, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as j, toDisplayString as X, createCommentVNode as Z } from "vue";
|
2
|
+
import { c as ee, aM as te } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { s as B, f as ae } from "./main-DB_sVyZe.js";
|
4
|
+
const ue = /* @__PURE__ */ H({
|
4
5
|
__name: "SearchForm",
|
5
6
|
props: {
|
6
7
|
schema: { type: Array, required: !0 },
|
@@ -9,17 +10,17 @@ const oe = /* @__PURE__ */ H({
|
|
9
10
|
searchData: { type: Object, required: !0 }
|
10
11
|
},
|
11
12
|
emits: ["change", "submit", "mounted"],
|
12
|
-
setup(
|
13
|
-
let w = T, W =
|
13
|
+
setup(D, { expose: N, emit: T }) {
|
14
|
+
let w = T, W = D, { schema: F, table: u, layout: C, searchData: b } = 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");
|
17
|
-
},
|
18
|
+
}, U = (e, t) => {
|
18
19
|
let l = e == "*" ? null : e;
|
19
|
-
|
20
|
+
b.value[u.value.name][t.name] = l, S();
|
20
21
|
}, R = () => {
|
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;
|
@@ -29,27 +30,27 @@ const oe = /* @__PURE__ */ H({
|
|
29
30
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
30
31
|
}
|
31
32
|
};
|
32
|
-
d.value = ee.clone(
|
33
|
+
d.value = ee.clone(b.value), q(), J(() => {
|
33
34
|
R(), K(() => {
|
34
35
|
w("mounted");
|
35
36
|
});
|
36
37
|
});
|
37
|
-
let
|
38
|
+
let z = O(() => {
|
38
39
|
if (!k.value)
|
39
40
|
return [];
|
40
|
-
let e = Math.ceil(k.value / 200), t =
|
41
|
-
return
|
42
|
-
}),
|
41
|
+
let e = Math.ceil(k.value / 200), t = B.expandSearch(F.value), l = C.value.tabs ?? [], m = t.filter((h) => l.indexOf(h.name) == -1);
|
42
|
+
return B.getLines(m, e, (h) => h, () => 1);
|
43
|
+
}), M = O(() => {
|
43
44
|
let e = [], t = C.value.tabs;
|
44
45
|
return t && t.forEach((l) => {
|
45
|
-
let m = u.value.fields.find((
|
46
|
+
let m = u.value.fields.find((f) => f.name == l);
|
46
47
|
e.push(m);
|
47
48
|
}), e;
|
48
49
|
});
|
49
|
-
return P(() =>
|
50
|
+
return P(() => b.value, (e, t) => {
|
50
51
|
q();
|
51
|
-
}), N({ resize:
|
52
|
-
const l = c("el-radio-button"), m = c("el-radio-group"),
|
52
|
+
}), N({ resize: $ }), (e, t) => {
|
53
|
+
const l = c("el-radio-button"), m = c("el-radio-group"), f = c("el-form-item"), h = c("el-col"), A = c("el-row"), Y = c("el-form"), G = c("el-scrollbar");
|
53
54
|
return r(), i(G, {
|
54
55
|
"max-height": "200px",
|
55
56
|
class: "search-form"
|
@@ -65,7 +66,7 @@ const oe = /* @__PURE__ */ H({
|
|
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(M), (s, _) => (r(), i(f, {
|
69
70
|
class: "search-tab",
|
70
71
|
label: s.label,
|
71
72
|
"label-width": 50
|
@@ -74,15 +75,15 @@ const oe = /* @__PURE__ */ H({
|
|
74
75
|
y(m, {
|
75
76
|
ref_for: !0,
|
76
77
|
ref_key: "tabRefs",
|
77
|
-
ref:
|
78
|
-
onChange: (o) => a(
|
78
|
+
ref: E,
|
79
|
+
onChange: (o) => a(U)(o, s),
|
79
80
|
modelValue: a(d)[a(u).name][s.name],
|
80
81
|
"onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
|
81
82
|
}, {
|
82
83
|
default: n(() => [
|
83
84
|
y(l, { value: "*" }, {
|
84
85
|
default: n(() => [
|
85
|
-
|
86
|
+
j("全部")
|
86
87
|
]),
|
87
88
|
_: 1
|
88
89
|
}),
|
@@ -90,7 +91,7 @@ const oe = /* @__PURE__ */ H({
|
|
90
91
|
value: o.value
|
91
92
|
}, {
|
92
93
|
default: n(() => [
|
93
|
-
|
94
|
+
j(X(o.text), 1)
|
94
95
|
]),
|
95
96
|
_: 2
|
96
97
|
}, 1032, ["value"]))), 256))
|
@@ -100,25 +101,25 @@ const oe = /* @__PURE__ */ H({
|
|
100
101
|
]),
|
101
102
|
_: 2
|
102
103
|
}, 1032, ["label"]))), 256)),
|
103
|
-
(r(!0), v(g, null, x(a(
|
104
|
+
(r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
|
104
105
|
class: "search-row",
|
105
|
-
label: a(
|
106
|
+
label: a(M).length ? "其它" : "",
|
106
107
|
"label-width": 50,
|
107
108
|
gutter: 5
|
108
109
|
}, {
|
109
110
|
default: n(() => [
|
110
|
-
(r(!0), v(g, null, x(s, ({ data:
|
111
|
+
(r(!0), v(g, null, x(s, ({ data: _, span: o }, le) => (r(), i(h, { span: o }, {
|
111
112
|
default: n(() => [
|
112
|
-
y(
|
113
|
-
label: a(te)(
|
113
|
+
y(f, {
|
114
|
+
label: a(te)(_.table.name, _.name)
|
114
115
|
}, {
|
115
116
|
default: n(() => [
|
116
117
|
y(ae, {
|
117
118
|
schema: a(F),
|
118
|
-
table:
|
119
|
-
field:
|
120
|
-
"search-data": a(
|
121
|
-
onChange: a(
|
119
|
+
table: _.table,
|
120
|
+
field: _,
|
121
|
+
"search-data": a(b),
|
122
|
+
onChange: a(L),
|
122
123
|
onSubmit: a(S)
|
123
124
|
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
124
125
|
]),
|
@@ -140,5 +141,5 @@ const oe = /* @__PURE__ */ H({
|
|
140
141
|
}
|
141
142
|
});
|
142
143
|
export {
|
143
|
-
|
144
|
+
ue as _
|
144
145
|
};
|
@@ -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-CsBiv-CI.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,9 +1,10 @@
|
|
1
|
-
import { defineComponent as U, toRefs as A, ref as
|
2
|
-
import {
|
1
|
+
import { defineComponent as U, toRefs as A, ref as d, computed as D, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as L, withModifiers as O, isRef as $, withCtx as V, createElementBlock as k, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
|
2
|
+
import { aN as J, a as P, T as Q } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { e as W } from "./main-DB_sVyZe.js";
|
3
4
|
const X = { class: "option-text" }, Y = {
|
4
5
|
key: 0,
|
5
6
|
class: "option-suffix"
|
6
|
-
},
|
7
|
+
}, te = /* @__PURE__ */ U({
|
7
8
|
__name: "Select",
|
8
9
|
props: {
|
9
10
|
schema: {},
|
@@ -15,17 +16,17 @@ 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 } = A(B), x =
|
19
|
+
let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } = A(B), x = d(), g = d(), v = d(!1), f = d(u.value.control.data.data), N = (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) {
|
22
23
|
let a = m.value.fields.find((l) => l.name == u.value.control.text), o;
|
23
|
-
e && (o =
|
24
|
+
e && (o = f.value.find((i) => i.value == e).text);
|
24
25
|
debugger;
|
25
26
|
R.value[a.name] = o;
|
26
27
|
}
|
27
28
|
b(m.value, u.value), s("change", t);
|
28
|
-
},
|
29
|
+
}, K = () => {
|
29
30
|
s("submit");
|
30
31
|
}, T = () => {
|
31
32
|
}, j = () => {
|
@@ -34,11 +35,11 @@ const X = { class: "option-text" }, Y = {
|
|
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
|
-
|
38
|
+
}), Q.post(u.value.control.data.route, t).then(({ data: e }) => {
|
39
|
+
f.value = e;
|
39
40
|
}).finally(() => {
|
40
41
|
v.value = !1, I(() => {
|
41
|
-
let e =
|
42
|
+
let e = f.value.find((a) => a.value == r.value);
|
42
43
|
x.value.scrollToOption(e);
|
43
44
|
});
|
44
45
|
});
|
@@ -55,7 +56,7 @@ const X = { class: "option-text" }, Y = {
|
|
55
56
|
}), a;
|
56
57
|
}, b = (t, e) => {
|
57
58
|
M(t, e).forEach((o) => {
|
58
|
-
|
59
|
+
W.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
|
59
60
|
});
|
60
61
|
}, r = D({
|
61
62
|
get() {
|
@@ -82,14 +83,14 @@ 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: L(O(n(
|
86
|
+
onKeyup: L(O(n(K), ["alt"]), ["enter", "native"]),
|
86
87
|
onBlur: n(T),
|
87
|
-
onChange: n(
|
88
|
+
onChange: n(N),
|
88
89
|
modelValue: n(r),
|
89
90
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => $(r) ? r.value = l : r = l)
|
90
91
|
}, {
|
91
92
|
default: V(() => [
|
92
|
-
(c(!0), k(q, null, z(n(
|
93
|
+
(c(!0), k(q, null, z(n(f), (l, i) => (c(), y(a, {
|
93
94
|
label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
|
94
95
|
value: l.value,
|
95
96
|
key: l.value
|
@@ -107,5 +108,5 @@ const X = { class: "option-text" }, Y = {
|
|
107
108
|
}
|
108
109
|
});
|
109
110
|
export {
|
110
|
-
|
111
|
+
te as default
|
111
112
|
};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as K, toRefs as
|
2
|
-
import { e as q,
|
1
|
+
import { defineComponent as K, toRefs as M, ref as d, computed as R, resolveComponent as c, openBlock as s, createBlock as f, unref as t, withKeys as S, withModifiers as N, isRef as F, withCtx as p, createElementBlock as h, Fragment as L, renderList as T, createElementVNode as U, toDisplayString as _, createCommentVNode as j } from "vue";
|
2
|
+
import { e as q, aM as z, T as A } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const G = { class: "option-text" }, H = {
|
4
4
|
key: 0,
|
5
5
|
class: "option-suffix"
|
@@ -14,7 +14,7 @@ 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 } = M(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) => {
|
@@ -29,7 +29,7 @@ const G = { class: "option-text" }, H = {
|
|
29
29
|
}).finally(() => {
|
30
30
|
k.value = !1;
|
31
31
|
});
|
32
|
-
}, n =
|
32
|
+
}, n = R({
|
33
33
|
get() {
|
34
34
|
return V.value;
|
35
35
|
},
|
@@ -52,7 +52,7 @@ const G = { class: "option-text" }, H = {
|
|
52
52
|
"loading-text": "加载中",
|
53
53
|
"remote-method": t(B),
|
54
54
|
disabled: t(a).control.readonly,
|
55
|
-
onKeyup:
|
55
|
+
onKeyup: S(N(t(C), ["alt"]), ["enter", "native"]),
|
56
56
|
onChange: t(w),
|
57
57
|
modelValue: t(n),
|
58
58
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
|