halo-pc 1.0.27 → 1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CTqryR4L.js → Article-N3ZaJaLc.js} +75 -70
- package/dist/{ArticleFooter-BumGH5nC.js → ArticleFooter-sspAOJuS.js} +23 -17
- package/dist/Autocomplete-CD6CsF2X.js +54 -0
- package/dist/{Autocomplete-BNx0bErM.js → Autocomplete-DY6OaWAK.js} +1 -1
- package/dist/Autocomplete-DkkUx0lx.js +53 -0
- package/dist/{CSharp-Dt6H75E9.js → CSharp-BwNnAf8e.js} +1 -1
- package/dist/{Calender-DhKZyJri.js → Calender-VwwIDi3Q.js} +1 -1
- package/dist/Callback-BRrShVCU.js +26 -0
- package/dist/Cascader-CurlPJsQ.js +87 -0
- package/dist/Cascader-i3KkCfFF.js +47 -0
- package/dist/{Checkbox-C-iEGB0k.js → Checkbox-Bk98RtL7.js} +1 -1
- package/dist/Checkbox-CNMzO79X.js +76 -0
- package/dist/Code-BdDjNSqs.js +42 -0
- package/dist/{Code-Q_6THgGl.js → Code-C4XPPKO8.js} +1 -1
- package/dist/{Code-JtSSnUWC.js → Code-CRH4WNXz.js} +1 -1
- package/dist/Code-CqA6bVSZ.js +60 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-Dkdu_fcm.js +65 -0
- package/dist/Column-BCz-Xp-3.js +75 -0
- package/dist/Comment-BoOQfrxv.js +104 -0
- package/dist/Compare-ChJu8LUo.js +44 -0
- package/dist/{Compare-DZVrBYEh.js → Compare-DxOXRPzs.js} +25 -19
- package/dist/Copy-DBUSr3OW.js +49 -0
- package/dist/Custom-CNQIPMHT.js +57 -0
- package/dist/{DataExport-DSz5371s.js → DataExport-B-0vVYMT.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js → DataExport.vue_vue_type_script_setup_true_lang-BvyBbSLP.js} +41 -36
- package/dist/{DataImport-CX7G70a7.js → DataImport-ApAPTQcq.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-CKd0CAf_.js +176 -0
- package/dist/Date-BnRTPDSJ.js +43 -0
- package/dist/{Date-ytWe2gz8.js → Date-gMmfQ3pA.js} +1 -1
- package/dist/DateRange-BPQ2TOXk.js +63 -0
- package/dist/DateTime-CsZdXjmB.js +44 -0
- package/dist/{DateTime-p6YgmtGd.js → DateTime-Cz09I2-B.js} +1 -1
- package/dist/{DateTimeRange-DGobnXqs.js → DateTimeRange-DPjTS-A2.js} +17 -11
- package/dist/Daterange-DCyMLI8G.js +63 -0
- package/dist/{Decimal-BvyzJq1c.js → Decimal-Cpz-_Ef3.js} +1 -1
- package/dist/Delete-Di56R5Tf.js +62 -0
- package/dist/{Detail-DZJ0aUFr.js → Detail-DP1ReSaw.js} +22 -17
- package/dist/Dictionary-B8OMis9G.js +59 -0
- package/dist/Email-CCZH8SDT.js +54 -0
- package/dist/{File-BEBElTSS.js → File-BUw6o5UN.js} +32 -27
- package/dist/{Image-DDK05SW7.js → Image-DBjqi76B.js} +1 -1
- package/dist/Index-B6sevgc6.js +4 -0
- package/dist/{Index-DPwdcUO4.js → Index-BDVj7Dy2.js} +1 -1
- package/dist/Index-CZYVZtFI.js +178 -0
- package/dist/Index-Cch9emdC.js +4 -0
- package/dist/Index-CfpZf8By.js +4 -0
- package/dist/Index-Cn3HXkPm.js +4 -0
- package/dist/{Index-CuEyzMd0.js → Index-DuKtMNgH.js} +25 -20
- package/dist/{Index-BiF8qEWf.js → Index-Z8dMl0cU.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js → Index.vue_vue_type_script_setup_true_lang-BJJPNo3Y.js} +20 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js → Index.vue_vue_type_script_setup_true_lang-DCxwPrIZ.js} +17 -12
- package/dist/{Install-CxuoWpHC.js → Install-CNE0J2Q9.js} +27 -22
- package/dist/Int-C5AxmjK0.js +46 -0
- package/dist/Int-RoCJiPje.js +44 -0
- package/dist/List-DJuE2QHL.js +79 -0
- package/dist/Maintaince-CdqWSHAZ.js +20 -0
- package/dist/{Markdown-x1hASyA-.js → Markdown-DKyCVBYy.js} +1 -1
- package/dist/{Month-Bb0tgF-k.js → Month-BfSG37wf.js} +1 -1
- package/dist/Month-OH6snasK.js +43 -0
- package/dist/Month-iU9F-vQ5.js +44 -0
- package/dist/{Normal-CYmy5sN7.js → Normal-DPJQ_Ds5.js} +70 -66
- package/dist/Paging-CYU3sSbD.js +99 -0
- package/dist/{PagingHeader-DWbFl1do.js → PagingHeader-CgWbC7R1.js} +30 -24
- package/dist/{PagingRow-CR2N1vgm.js → PagingRow-Y8lG-1cI.js} +26 -20
- package/dist/QueryApi-C3h4tWd0.js +20 -0
- package/dist/{Racebar-BsgDK6Zf.js → Racebar-CtFYJKrh.js} +42 -37
- package/dist/{Radio-B3Af-uZE.js → Radio-Bz2SE_FO.js} +1 -1
- package/dist/{Register-Cwr3iIZm.js → Register-CiK44o2W.js} +44 -40
- package/dist/RichText-BkhW8muI.js +47 -0
- package/dist/{SearchFooter-DiILcc_U.js → SearchFooter-D6O_c5DS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js → SearchFooter.vue_vue_type_style_index_0_lang-BDe_uXW2.js} +1 -1
- package/dist/{SearchForm-BOw_kHs2.js → SearchForm-CZjHSE1s.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js → SearchForm.vue_vue_type_style_index_0_lang-CVeFjNjG.js} +40 -36
- package/dist/Select-BEgPZsaR.js +117 -0
- package/dist/Select-CY1CA4pv.js +86 -0
- package/dist/{Select-BdYG1KQE.js → Select-FFqI2hOh.js} +1 -1
- package/dist/{Single-DqCIZBIB.js → Single-BQRWqAOH.js} +103 -99
- package/dist/{Statistic-B9ZcUUk1.js → Statistic-CyqoTZZj.js} +37 -33
- package/dist/{Stock-BnBNtuo7.js → Stock-N57DPrDl.js} +1 -1
- package/dist/{Stock-BiSr7zAF.js → Stock-negSF4zD.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js → Stock.vue_vue_type_style_index_0_lang-BuxuI7Wg.js} +31 -26
- package/dist/{Switch-BE4dQcja.js → Switch-g5K9zh4g.js} +1 -1
- package/dist/{Table-CaH_zu8W.js → Table-CHKHAajT.js} +77 -74
- package/dist/{Table-e0uLPRLG.js → Table-nB7wA6gP.js} +78 -73
- package/dist/{Text-BAw88r5O.js → Text-7oaEmWun.js} +19 -13
- package/dist/Text-BefOYKkr.js +4 -0
- package/dist/{Text-BDAob4mp.js → Text-KKwYRpSW.js} +21 -15
- package/dist/Text.vue_vue_type_style_index_0_lang-BrmC8Xhc.js +59 -0
- package/dist/TextLink-DoArgh5L.js +65 -0
- package/dist/{Textarea-CU5PjIoa.js → Textarea-DEvxrKMK.js} +1 -1
- package/dist/Time-D8Ikb-KB.js +43 -0
- package/dist/Timeline-BEt6ygzA.js +59 -0
- package/dist/{Tree-D-v632h1.js → Tree-caBJzrZQ.js} +105 -101
- package/dist/Tree-ftxBqmRQ.js +122 -0
- package/dist/TreeNode-XITOvihe.js +42 -0
- package/dist/{Update-DRAFce7_.js → Update-JgTiZCDi.js} +20 -15
- package/dist/{UpdateChild-DMC0FG4Z.js → UpdateChild-y0OPiT92.js} +23 -17
- package/dist/Upload-BlnOvJFg.js +150 -0
- package/dist/Upload-kUYBfIS2.js +72 -0
- package/dist/UploadApi-RRAsIVG7.js +20 -0
- package/dist/{Year-CpcMBvQ7.js → Year-C2_kuiZX.js} +1 -1
- package/dist/Year-Cre43mQI.js +47 -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/main-KTzfgTac.js +9105 -0
- package/dist/main.js +139 -140
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/Autocomplete-C9RS9-qw.js +0 -48
- package/dist/Autocomplete-DIucpEpj.js +0 -49
- package/dist/Callback-D6G_933H.js +0 -20
- package/dist/Cascader-C6t8Q18c.js +0 -41
- package/dist/Cascader-F_XWwXKY.js +0 -81
- package/dist/Checkbox-ipHs0O-8.js +0 -70
- package/dist/Code-DKtqow6y.js +0 -36
- package/dist/Code-LeguA9RL.js +0 -54
- package/dist/Code.vue_vue_type_style_index_0_lang-DmeXbg91.js +0 -59
- package/dist/Column-BeQwafyN.js +0 -70
- package/dist/Comment-DIcCHP9F.js +0 -98
- package/dist/Compare-Dzqm7kPE.js +0 -38
- package/dist/Copy-iLieXx22.js +0 -43
- package/dist/Custom-BGtEDHlD.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js +0 -172
- package/dist/Date-CNOCOcNz.js +0 -37
- package/dist/DateRange-CaIiObxN.js +0 -57
- package/dist/DateTime-CH6J1GoP.js +0 -38
- package/dist/Daterange-BUSKAGlK.js +0 -57
- package/dist/Delete-BeFC0gjD.js +0 -57
- package/dist/Dictionary-CsBiv-CI.js +0 -55
- package/dist/Email-Dwa6x3jW.js +0 -48
- package/dist/Index-Bpe7pY2Z.js +0 -4
- package/dist/Index-CUYQxzNd.js +0 -174
- package/dist/Index-DMnL8F7Y.js +0 -4
- package/dist/Index-DNG25ox2.js +0 -4
- package/dist/Index-DqUNI6MV.js +0 -4
- package/dist/Int-BFv18KXi.js +0 -38
- package/dist/Int-C0ijmdYS.js +0 -41
- package/dist/List-CfQzWq_5.js +0 -74
- package/dist/Maintaince-BzDEwQcU.js +0 -14
- package/dist/Month-Bp_Pfi_b.js +0 -37
- package/dist/Month-CKkjwzza.js +0 -38
- package/dist/Paging-DpoBp7x_.js +0 -95
- package/dist/QueryApi-VwISnk96.js +0 -13
- package/dist/RichText-CNahMrfb.js +0 -41
- package/dist/Select-BeNZqAP1.js +0 -112
- package/dist/Select-CqOE6uI8.js +0 -80
- package/dist/Text-5803XWI6.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js +0 -53
- package/dist/TextLink-TYXcDAlo.js +0 -59
- package/dist/Time-Dd-Trib4.js +0 -37
- package/dist/Timeline-D6LCIkQp.js +0 -53
- package/dist/Tree-BKmFZrK3.js +0 -118
- package/dist/TreeNode-L_A5ZKy0.js +0 -37
- package/dist/Upload-DJRh4a7g.js +0 -68
- package/dist/Upload-Ozg_nOpI.js +0 -147
- package/dist/UploadApi-DVx69g-F.js +0 -13
- package/dist/Year-D7XGe2So.js +0 -41
- package/dist/assets/halo-fe-B-NiIGas.js +0 -12088
- package/dist/main-DB_sVyZe.js +0 -3620
package/dist/Index-CUYQxzNd.js
DELETED
@@ -1,174 +0,0 @@
|
|
1
|
-
import { defineComponent as z, ref as u, onMounted as H, computed as S, watch as J, resolveComponent as c, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as p, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as P, withModifiers as Q, createTextVNode as $, Fragment as W, renderList as Z, nextTick as K } from "vue";
|
2
|
-
import { useRoute as G } from "vue-router";
|
3
|
-
import { J as X, d as w, j as Y, e as i, W as ee, E as F, K as te, D as le } from "./assets/halo-fe-B-NiIGas.js";
|
4
|
-
import { r as M } from "./main-DB_sVyZe.js";
|
5
|
-
const oe = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
6
|
-
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
7
|
-
], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
8
|
-
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
9
|
-
], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], ye = /* @__PURE__ */ z({
|
10
|
-
__name: "Index",
|
11
|
-
setup(fe) {
|
12
|
-
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), U = u(), V = u(), h = u(), x = G(), N = {
|
13
|
-
id: [{
|
14
|
-
required: !0,
|
15
|
-
trigger: "blur",
|
16
|
-
validator: (t, e, r) => {
|
17
|
-
e ? e.indexOf("@") > -1 ? ee.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
18
|
-
}
|
19
|
-
}]
|
20
|
-
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
21
|
-
}, O = (t) => {
|
22
|
-
t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? s.value = !0 : s.value = !1), t.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
23
|
-
}, B = () => {
|
24
|
-
f.value == "password" ? f.value = "" : f.value = "password", K(() => {
|
25
|
-
h.value.focus();
|
26
|
-
});
|
27
|
-
}, E = async (t) => {
|
28
|
-
_.value = !0, U.value.validate(async (e) => {
|
29
|
-
if (!e)
|
30
|
-
return _.value = !1, !1;
|
31
|
-
(await F.sso.create(t)).login(a.value).then(({ data: m }) => {
|
32
|
-
te.getBackUrl() ? M.toBackUrl() : M.to("/");
|
33
|
-
}).finally(() => {
|
34
|
-
K(() => {
|
35
|
-
_.value = !1;
|
36
|
-
});
|
37
|
-
});
|
38
|
-
});
|
39
|
-
}, q = async (t) => {
|
40
|
-
let e = await F.sso.create(t), r = x.query.return_url, m = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
|
41
|
-
return e.loginUrl(le.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
42
|
-
}, A = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
|
43
|
-
H(async () => {
|
44
|
-
X.setI18nTitle("common.login");
|
45
|
-
for (let t = 0; t < w.ssos.length; t++) {
|
46
|
-
let e = w.ssos[t];
|
47
|
-
e.loginUrl = await q(e.type);
|
48
|
-
}
|
49
|
-
y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
|
50
|
-
});
|
51
|
-
let y = S(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
52
|
-
return J(() => x, (t) => {
|
53
|
-
debugger;
|
54
|
-
const e = t.query;
|
55
|
-
e && A(e);
|
56
|
-
}), (t, e) => {
|
57
|
-
const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), D = c("el-button"), I = c("router-link"), j = c("el-form");
|
58
|
-
return d(), C("div", oe, [
|
59
|
-
g(j, {
|
60
|
-
ref_key: "loginFormRef",
|
61
|
-
ref: U,
|
62
|
-
autocomplete: "on",
|
63
|
-
"label-position": "left",
|
64
|
-
model: l(a),
|
65
|
-
rules: l(N)
|
66
|
-
}, {
|
67
|
-
default: p(() => [
|
68
|
-
n("div", re, [
|
69
|
-
n("h3", se, k(l(Y)("title")), 1)
|
70
|
-
]),
|
71
|
-
l(y) ? (d(), v(m, {
|
72
|
-
key: 0,
|
73
|
-
prop: "id"
|
74
|
-
}, {
|
75
|
-
default: p(() => [
|
76
|
-
ne,
|
77
|
-
g(r, {
|
78
|
-
ref_key: "idRef",
|
79
|
-
ref: V,
|
80
|
-
placeholder: l(i)("common.username_or_email"),
|
81
|
-
name: "id",
|
82
|
-
type: "text",
|
83
|
-
tabindex: "1",
|
84
|
-
autocomplete: "on",
|
85
|
-
modelValue: l(a).id,
|
86
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
|
87
|
-
}, null, 8, ["placeholder", "modelValue"])
|
88
|
-
]),
|
89
|
-
_: 1
|
90
|
-
})) : R("", !0),
|
91
|
-
l(y) ? (d(), v(b, {
|
92
|
-
key: 1,
|
93
|
-
content: "Caps lock is On",
|
94
|
-
placement: "right",
|
95
|
-
manual: "",
|
96
|
-
modelValue: l(s),
|
97
|
-
"onUpdate:modelValue": e[5] || (e[5] = (o) => L(s) ? s.value = o : s = o)
|
98
|
-
}, {
|
99
|
-
default: p(() => [
|
100
|
-
g(m, { prop: "secret" }, {
|
101
|
-
default: p(() => [
|
102
|
-
ae,
|
103
|
-
(d(), v(r, {
|
104
|
-
ref_key: "secretRef",
|
105
|
-
ref: h,
|
106
|
-
key: l(f),
|
107
|
-
type: l(f),
|
108
|
-
placeholder: l(i)("common.password"),
|
109
|
-
name: "secret",
|
110
|
-
tabindex: "2",
|
111
|
-
autocomplete: "on",
|
112
|
-
onKeyup: [
|
113
|
-
T(l(O), ["native"]),
|
114
|
-
e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
|
115
|
-
],
|
116
|
-
onBlur: e[1] || (e[1] = (o) => L(s) ? s.value = !1 : s = !1),
|
117
|
-
modelValue: l(a).secret,
|
118
|
-
"onUpdate:modelValue": e[3] || (e[3] = (o) => l(a).secret = o)
|
119
|
-
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
120
|
-
n("span", {
|
121
|
-
class: "btn-pwd",
|
122
|
-
onClick: e[4] || (e[4] = //@ts-ignore
|
123
|
-
(...o) => l(B) && l(B)(...o))
|
124
|
-
}, [
|
125
|
-
n("i", {
|
126
|
-
class: P(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
127
|
-
}, null, 2)
|
128
|
-
])
|
129
|
-
]),
|
130
|
-
_: 1
|
131
|
-
})
|
132
|
-
]),
|
133
|
-
_: 1
|
134
|
-
}, 8, ["modelValue"])) : R("", !0),
|
135
|
-
l(y) ? (d(), v(D, {
|
136
|
-
key: 2,
|
137
|
-
type: "primary",
|
138
|
-
class: "btn-login",
|
139
|
-
loading: l(_),
|
140
|
-
onClick: e[6] || (e[6] = Q((o) => l(E)("Bearer"), ["prevent"]))
|
141
|
-
}, {
|
142
|
-
default: p(() => [
|
143
|
-
$(k(l(i)("common.login")), 1)
|
144
|
-
]),
|
145
|
-
_: 1
|
146
|
-
}, 8, ["loading"])) : R("", !0),
|
147
|
-
n("div", ie, [
|
148
|
-
(d(!0), C(W, null, Z(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
|
149
|
-
href: o.loginUrl
|
150
|
-
}, k(l(i)(o.text)), 9, ue))), 256)),
|
151
|
-
g(I, {
|
152
|
-
class: "btn-register",
|
153
|
-
to: "/register"
|
154
|
-
}, {
|
155
|
-
default: p(() => [
|
156
|
-
$(k(l(i)("common.register")), 1)
|
157
|
-
]),
|
158
|
-
_: 1
|
159
|
-
})
|
160
|
-
])
|
161
|
-
]),
|
162
|
-
_: 1
|
163
|
-
}, 8, ["model", "rules"]),
|
164
|
-
n("div", {
|
165
|
-
class: "powered-by",
|
166
|
-
innerHTML: l(i)("sys.powered_by")
|
167
|
-
}, null, 8, de)
|
168
|
-
]);
|
169
|
-
};
|
170
|
-
}
|
171
|
-
});
|
172
|
-
export {
|
173
|
-
ye as default
|
174
|
-
};
|
package/dist/Index-DMnL8F7Y.js
DELETED
package/dist/Index-DNG25ox2.js
DELETED
package/dist/Index-DqUNI6MV.js
DELETED
package/dist/Int-BFv18KXi.js
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as y, isRef as K } from "vue";
|
2
|
-
import { e as k, aM as x } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const N = /* @__PURE__ */ f({
|
4
|
-
__name: "Int",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
searchData: {},
|
10
|
-
modelValue: {}
|
11
|
-
},
|
12
|
-
emits: ["change", "submit", "update:modelValue"],
|
13
|
-
setup(m, { emit: u }) {
|
14
|
-
let o = u, r = m, { table: p, field: s, searchData: B, modelValue: i } = _(r), d = () => {
|
15
|
-
o("submit");
|
16
|
-
}, l = h({
|
17
|
-
get() {
|
18
|
-
return i.value;
|
19
|
-
},
|
20
|
-
set(t) {
|
21
|
-
isNaN(t) && (t = null), o("update:modelValue", t), o("change", t);
|
22
|
-
}
|
23
|
-
});
|
24
|
-
return (t, n) => {
|
25
|
-
const c = b("el-input-number");
|
26
|
-
return V(), g(c, {
|
27
|
-
placeholder: e(k)("common.please_input") + e(x)(e(p).name, e(s).name),
|
28
|
-
"controls-position": "right",
|
29
|
-
onKeyup: y(e(d), ["enter", "native"]),
|
30
|
-
modelValue: e(l),
|
31
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) => K(l) ? l.value = a : l = a)
|
32
|
-
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
33
|
-
};
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
N as default
|
38
|
-
};
|
package/dist/Int-C0ijmdYS.js
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
|
2
|
-
import { W as K, aO as k } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const C = /* @__PURE__ */ c({
|
4
|
-
__name: "Int",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(r, { emit: i }) {
|
15
|
-
let l = i, s = r, { table: d, field: a, set: w, modelValue: n } = f(s), p = () => {
|
16
|
-
l("submit");
|
17
|
-
}, t = _({
|
18
|
-
get() {
|
19
|
-
if (K.isNumber(n.value))
|
20
|
-
return n.value;
|
21
|
-
},
|
22
|
-
set(o) {
|
23
|
-
l("update:modelValue", o), l("change", o);
|
24
|
-
}
|
25
|
-
});
|
26
|
-
return (o, u) => {
|
27
|
-
const b = V("el-input-number");
|
28
|
-
return g(), h(b, {
|
29
|
-
"aria-label": e(k)(e(d).name, e(a).name),
|
30
|
-
"controls-position": "right",
|
31
|
-
disabled: e(a).control.readonly,
|
32
|
-
onKeyup: v(e(p), ["enter", "native"]),
|
33
|
-
modelValue: e(t),
|
34
|
-
"onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
|
35
|
-
}, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
|
36
|
-
};
|
37
|
-
}
|
38
|
-
});
|
39
|
-
export {
|
40
|
-
C as default
|
41
|
-
};
|
package/dist/List-CfQzWq_5.js
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
import { defineComponent as B, toRefs as Y, ref as u, watch as E, openBlock as F, createBlock as J, resolveDynamicComponent as K, unref as t, withCtx as T, createElementVNode as U, toDisplayString as V } from "vue";
|
2
|
-
import { K as n, o as $, J as j, Y as A } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
import { s as d } from "./main-DB_sVyZe.js";
|
4
|
-
const G = { class: "not-support" }, Q = /* @__PURE__ */ B({
|
5
|
-
__name: "List",
|
6
|
-
props: {
|
7
|
-
base: {},
|
8
|
-
route: {},
|
9
|
-
url: {},
|
10
|
-
win: {}
|
11
|
-
},
|
12
|
-
emits: ["load", "navigate"],
|
13
|
-
setup(b, { expose: S, emit: P }) {
|
14
|
-
let h = P, k = b, { url: m, base: p, route: r } = Y(k), f = u(), i = u(), s = u(), y = u(), g = u(), o = u(), c = u(), q = (e) => {
|
15
|
-
let l = n.getPath(e), a = n.getPath(m.value);
|
16
|
-
return l != a;
|
17
|
-
}, C = (e) => {
|
18
|
-
let l = n.getPath(m.value), a = n.getPath(e);
|
19
|
-
return l != a;
|
20
|
-
}, x = (e) => {
|
21
|
-
var a;
|
22
|
-
let l = $(e.module.type, e.module.name);
|
23
|
-
j.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema, e.set), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, r.value.query.condition);
|
24
|
-
}, v = (e = null, l = null) => {
|
25
|
-
let a = e ?? r.value.query, N = n.getUrl(r.value.path, a);
|
26
|
-
h("load", N, !1, l);
|
27
|
-
}, R = (e) => {
|
28
|
-
v(null, e);
|
29
|
-
}, w = (e) => {
|
30
|
-
h("navigate", e);
|
31
|
-
}, D = async (e) => {
|
32
|
-
let l = r.value.query;
|
33
|
-
l.condition = A.encode(c.value), v(l, e);
|
34
|
-
}, _ = () => {
|
35
|
-
v();
|
36
|
-
}, z = (e, l) => {
|
37
|
-
if (!o.value || !o.value.keyboard)
|
38
|
-
return !1;
|
39
|
-
o.value.keyboard(e, l);
|
40
|
-
}, L = (e) => {
|
41
|
-
if (!o.value || !o.value.resize)
|
42
|
-
return !1;
|
43
|
-
o.value.resize(e);
|
44
|
-
};
|
45
|
-
return (() => {
|
46
|
-
x(p.value.data);
|
47
|
-
})(), E(() => p.value, (e) => {
|
48
|
-
x(e.data);
|
49
|
-
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboard: z, resize: L }), (e, l) => (F(), J(K(`list-${t(s).layouts[0].type.toLowerCase()}`), {
|
50
|
-
ref_key: "listRef",
|
51
|
-
ref: o,
|
52
|
-
route: t(r),
|
53
|
-
module: t(f),
|
54
|
-
schema: t(i),
|
55
|
-
table: t(s),
|
56
|
-
layout: t(s).layouts[0],
|
57
|
-
next: t(y),
|
58
|
-
set: t(g),
|
59
|
-
"search-data": t(c),
|
60
|
-
onSucceed: t(R),
|
61
|
-
onSearch: t(D),
|
62
|
-
onNavigate: t(w),
|
63
|
-
onRefresh: t(_)
|
64
|
-
}, {
|
65
|
-
default: T(() => [
|
66
|
-
U("div", G, "未支持的列表布局方式:" + V(t(s).layouts[0].type), 1)
|
67
|
-
]),
|
68
|
-
_: 1
|
69
|
-
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
70
|
-
}
|
71
|
-
});
|
72
|
-
export {
|
73
|
-
Q as default
|
74
|
-
};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { defineComponent as t, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as s, unref as c } from "vue";
|
2
|
-
import { d as i } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" }, u = /* @__PURE__ */ t({
|
4
|
-
__name: "Maintaince",
|
5
|
-
setup(d) {
|
6
|
-
return (l, m) => (n(), o("div", a, [
|
7
|
-
r,
|
8
|
-
e("div", _, s(c(i)), 1)
|
9
|
-
]));
|
10
|
-
}
|
11
|
-
});
|
12
|
-
export {
|
13
|
-
u as default
|
14
|
-
};
|
package/dist/Month-Bp_Pfi_b.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as h, resolveComponent as _, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import { aN as Y } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const x = /* @__PURE__ */ i({
|
4
|
-
__name: "Month",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
searchData: {},
|
10
|
-
modelValue: {}
|
11
|
-
},
|
12
|
-
emits: ["submit", "change", "update:modelValue"],
|
13
|
-
setup(d, { emit: r }) {
|
14
|
-
let a = r, p = d, { table: u, field: o, searchData: g, modelValue: s } = f(p), l = h({
|
15
|
-
get() {
|
16
|
-
return s.value;
|
17
|
-
},
|
18
|
-
set(t) {
|
19
|
-
a("update:modelValue", t), a("change", t);
|
20
|
-
}
|
21
|
-
});
|
22
|
-
return (t, m) => {
|
23
|
-
const c = _("el-date-picker");
|
24
|
-
return V(), b(c, {
|
25
|
-
type: "month",
|
26
|
-
placeholder: e(Y)(e(u).name, e(o).name),
|
27
|
-
"value-format": "YYYY-MM",
|
28
|
-
disabled: e(o).control.readonly,
|
29
|
-
modelValue: e(l),
|
30
|
-
"onUpdate:modelValue": m[0] || (m[0] = (n) => k(l) ? l.value = n : l = n)
|
31
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
32
|
-
};
|
33
|
-
}
|
34
|
-
});
|
35
|
-
export {
|
36
|
-
x as default
|
37
|
-
};
|
package/dist/Month-CKkjwzza.js
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import { aN as Y } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const x = /* @__PURE__ */ i({
|
4
|
-
__name: "Month",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(d, { emit: r }) {
|
15
|
-
let o = r, p = d, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
|
16
|
-
get() {
|
17
|
-
return s.value;
|
18
|
-
},
|
19
|
-
set(t) {
|
20
|
-
o("update:modelValue", t), o("change", t);
|
21
|
-
}
|
22
|
-
});
|
23
|
-
return (t, m) => {
|
24
|
-
const c = V("el-date-picker");
|
25
|
-
return h(), b(c, {
|
26
|
-
type: "month",
|
27
|
-
placeholder: e(Y)(e(u).name, e(a).name),
|
28
|
-
"value-format": "YYYY-MM",
|
29
|
-
disabled: e(a).control.readonly,
|
30
|
-
modelValue: e(l),
|
31
|
-
"onUpdate:modelValue": m[0] || (m[0] = (n) => k(l) ? l.value = n : l = n)
|
32
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
33
|
-
};
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
x as default
|
38
|
-
};
|
package/dist/Paging-DpoBp7x_.js
DELETED
@@ -1,95 +0,0 @@
|
|
1
|
-
import { defineComponent as V, toRefs as $, ref as r, onMounted as j, watch as A, unref as a, openBlock as E, createBlock as G, createCommentVNode as H } from "vue";
|
2
|
-
import { K as s, o as I, J as Q, c as W, Y as U } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
import { s as m } from "./main-DB_sVyZe.js";
|
4
|
-
import { _ as X } from "./Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js";
|
5
|
-
const ae = /* @__PURE__ */ V({
|
6
|
-
__name: "Paging",
|
7
|
-
props: {
|
8
|
-
base: {},
|
9
|
-
route: {},
|
10
|
-
url: {},
|
11
|
-
win: {}
|
12
|
-
},
|
13
|
-
emits: ["navigate", "load"],
|
14
|
-
setup(b, { expose: k, emit: z }) {
|
15
|
-
let d = z, P = b, { url: p, base: y, route: u } = $(P), f = r(), v = r(), c = r(), h = r(), x = r(), C = r(), g = r(), o = r(), N = (e) => !0, L = (e) => {
|
16
|
-
let l = s.getPath(p.value), t = s.getPath(e);
|
17
|
-
return l != t;
|
18
|
-
}, R = (e = null) => {
|
19
|
-
_(e);
|
20
|
-
}, Y = () => {
|
21
|
-
}, S = (e) => {
|
22
|
-
var t;
|
23
|
-
let l = I(e.module.type, e.module.name);
|
24
|
-
Q.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = m.expandSet(e.schema, e.set), v.value = m.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], h.value = c.value.layouts[0], g.value = m.getConditionForm(v.value, u.value.query.condition);
|
25
|
-
}, q = (e = null, l = null) => {
|
26
|
-
let t = e ?? u.value.query, n = s.getUrl(u.value.path, t);
|
27
|
-
d("load", n, !1, (T) => {
|
28
|
-
l && l(T);
|
29
|
-
});
|
30
|
-
}, i = (e, l) => {
|
31
|
-
d("navigate", e, l);
|
32
|
-
}, w = async (e) => {
|
33
|
-
let l = u.value.query;
|
34
|
-
l.page = 1;
|
35
|
-
let t = W.pure(g.value);
|
36
|
-
l.condition = U.encode(t);
|
37
|
-
let n = s.getUrl(u.value.path, l);
|
38
|
-
n == p.value ? q(l, e) : i(n, e);
|
39
|
-
}, B = (e, l) => {
|
40
|
-
let t = u.value.query;
|
41
|
-
t.order_by = U.encode(JSON.stringify(e));
|
42
|
-
let n = s.getUrl(u.value.path, t);
|
43
|
-
i(n, l);
|
44
|
-
}, D = (e, l = null) => {
|
45
|
-
let t = u.value.query;
|
46
|
-
t.page = e;
|
47
|
-
let n = s.getUrl(u.value.path, t);
|
48
|
-
i(n, l);
|
49
|
-
}, J = (e, l = null) => {
|
50
|
-
let t = u.value.query;
|
51
|
-
t.size = e;
|
52
|
-
let n = s.getUrl(u.value.path, t);
|
53
|
-
i(n, l);
|
54
|
-
}, F = (e) => {
|
55
|
-
h.value = c.value.layouts.find((l) => l.type == e);
|
56
|
-
}, K = () => {
|
57
|
-
S(y.value.data);
|
58
|
-
}, _ = (e = null) => q(null, e), M = (e) => {
|
59
|
-
if (!o.value || !o.value.resize)
|
60
|
-
return !1;
|
61
|
-
o.value.resize(e);
|
62
|
-
}, O = (e, l) => {
|
63
|
-
if (!o.value || !o.value.keyboard)
|
64
|
-
return !1;
|
65
|
-
o.value.keyboard(e, l);
|
66
|
-
};
|
67
|
-
return j(async () => {
|
68
|
-
K();
|
69
|
-
}), A(() => y.value, (e) => {
|
70
|
-
S(e.data);
|
71
|
-
}), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: O, resize: M }), (e, l) => a(h) ? (E(), G(X, {
|
72
|
-
key: 0,
|
73
|
-
ref_key: "pagingRef",
|
74
|
-
ref: o,
|
75
|
-
module: a(f),
|
76
|
-
next: a(x),
|
77
|
-
set: a(C),
|
78
|
-
schema: a(v),
|
79
|
-
table: a(c),
|
80
|
-
layout: a(h),
|
81
|
-
"search-data": a(g),
|
82
|
-
onNavigate: a(i),
|
83
|
-
onSort: a(B),
|
84
|
-
onSearch: a(w),
|
85
|
-
onPageChange: a(D),
|
86
|
-
onSizeChange: a(J),
|
87
|
-
onLayoutChange: a(F),
|
88
|
-
onSucceed: a(R),
|
89
|
-
onClose: a(Y)
|
90
|
-
}, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : H("", !0);
|
91
|
-
}
|
92
|
-
});
|
93
|
-
export {
|
94
|
-
ae as default
|
95
|
-
};
|
@@ -1,41 +0,0 @@
|
|
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 { a7 as C } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const O = /* @__PURE__ */ g({
|
4
|
-
__name: "RichText",
|
5
|
-
props: /* @__PURE__ */ x({
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {}
|
11
|
-
}, {
|
12
|
-
modelValue: {},
|
13
|
-
modelModifiers: {}
|
14
|
-
}),
|
15
|
-
emits: ["update:modelValue"],
|
16
|
-
setup(n) {
|
17
|
-
let v = n, { field: e, table: h, set: _, row: s } = S(v), u = M(n, "modelValue"), t = p({ readonly: !1, scrollTop: 0 }), i = p(), y = (l) => {
|
18
|
-
a.value != null && (s.value[a.value.name] = l.scrollTop);
|
19
|
-
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
20
|
-
t.value.readonly = e.value.control.readonly, t.value.scrollTop = d.value, i.value = T();
|
21
|
-
};
|
22
|
-
w(() => {
|
23
|
-
V();
|
24
|
-
});
|
25
|
-
let d = m(() => a.value ? s.value[a.value.name] : null), a = m(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
26
|
-
return f(() => d.value, (l, o) => {
|
27
|
-
t.value.scrollTop = l;
|
28
|
-
}), f(() => e.value.control.readonly, (l, o) => {
|
29
|
-
t.value.readonly = l;
|
30
|
-
}), (l, o) => (R(), b(r(C), {
|
31
|
-
style: k(r(i)),
|
32
|
-
options: r(t),
|
33
|
-
onScroll: r(y),
|
34
|
-
modelValue: r(u),
|
35
|
-
"onUpdate:modelValue": o[0] || (o[0] = (c) => B(u) ? u.value = c : u = c)
|
36
|
-
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
37
|
-
}
|
38
|
-
});
|
39
|
-
export {
|
40
|
-
O as default
|
41
|
-
};
|