halo-pc 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-Cr0paCOd.js → Article-CiVdO1Ui.js} +70 -70
- package/dist/{Autocomplete-BissS2A3.js → Autocomplete-DSE7qXaY.js} +5 -5
- package/dist/{Autocomplete-BomWDDWr.js → Autocomplete-TVE3ZXGj.js} +1 -1
- package/dist/{Autocomplete-_O3g7SYt.js → Autocomplete-gwIpU0Ap.js} +6 -6
- package/dist/{CSharp-Chv8lll5.js → CSharp-ZvsrI2tS.js} +1 -1
- package/dist/{Calender-CcXM5xUM.js → Calender-BN1Qici-.js} +2 -2
- package/dist/{Callback-D-HauKTc.js → Callback-C5vXOse3.js} +4 -4
- package/dist/{Cascader-C_YYvlMe.js → Cascader-DIwiaPq_.js} +9 -9
- package/dist/{Cascader-Cjin8BPz.js → Cascader-DhcIQmz0.js} +5 -5
- package/dist/{Checkbox-DGJtHqmU.js → Checkbox-DPVFKvtd.js} +1 -1
- package/dist/{Code-UnNJwSVi.js → Code-C-Xxwb29.js} +1 -1
- package/dist/{Code-CXhbCjHw.js → Code-EMhF8em7.js} +10 -10
- package/dist/Code-MpN64VDz.js +4 -0
- package/dist/{Code-DD8gAydz.js → Code-rSRVyC9T.js} +1 -1
- package/dist/{Code.vue_vue_type_style_index_0_lang-C1J-SoAM.js → Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js} +2 -2
- package/dist/{Column-Ba3n9lah.js → Column-CjVMWBjC.js} +10 -10
- package/dist/{Comment-DulAeabk.js → Comment-CakkgoNi.js} +1 -1
- package/dist/{Compare-PyNusYx3.js → Compare-C7v4kOpE.js} +1 -1
- package/dist/{Compare-CmlD1ECo.js → Compare-fM9jPPuu.js} +1 -1
- package/dist/{Copy-DtwoucC7.js → Copy-CYEJ22tk.js} +2 -2
- package/dist/{Custom-BV_EaF7f.js → Custom-Cig2xWvf.js} +1 -1
- package/dist/{DataExport-p-XTQ4Bo.js → DataExport-D6d04miG.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DYlu1ZpK.js → DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js} +9 -9
- package/dist/{DataImport-CiRRckYq.js → DataImport-CceWCzes.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-CVb_SvzU.js → DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js} +17 -17
- package/dist/{Date-DhXOp3UZ.js → Date-Ddu6Um1a.js} +1 -1
- package/dist/{DateRange-Dk12_9EG.js → DateRange-DLCMlMSG.js} +1 -1
- package/dist/{DateTime-Cfp17-qg.js → DateTime-Bdvr9_wj.js} +1 -1
- package/dist/{DateTimeRange-DyL2IsZP.js → DateTimeRange-DPWqS1Es.js} +1 -1
- package/dist/{Daterange-BDtHZQMV.js → Daterange-D_JOuZ8Z.js} +1 -1
- package/dist/{Decimal-BaFrJUjb.js → Decimal-D4atkIK7.js} +1 -1
- package/dist/{Delete-thdB3rVm.js → Delete-gFaS3kE9.js} +10 -10
- package/dist/{Detail-rwzyud9y.js → Detail-B5FvVxu9.js} +8 -8
- package/dist/{Dictionary-BgfQMBi8.js → Dictionary-Ce3GwIP_.js} +8 -8
- package/dist/{File-Dv9NexiC.js → File-B2lndVjU.js} +23 -23
- package/dist/Image-CrvP5qms.js +9 -0
- package/dist/{Index-iBPC-KXy.js → Index-BQHiLvTh.js} +1 -1
- package/dist/Index-BRmnOaBf.js +4 -0
- package/dist/{Index-BVv4l4ck.js → Index-BaLKJJ75.js} +1 -1
- package/dist/{Index-BgoXQ1Wl.js → Index-BbbIu4pT.js} +52 -52
- package/dist/{Index-C6T9VjbG.js → Index-CNiNRbjO.js} +2 -2
- package/dist/Index-DMei5mlA.js +4 -0
- package/dist/{Index-DCPI1-65.js → Index-DNZBSOK6.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D0QapFN1.js → Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js} +5 -5
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DMLN7fuC.js → Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js} +5 -5
- package/dist/{Index.vue_vue_type_style_index_0_lang-QhW1-B80.js → Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js} +11 -11
- package/dist/{Install-B7lphLHl.js → Install-D1bxQmez.js} +6 -6
- package/dist/{Int-B_GYg_-a.js → Int-BaGIs_nk.js} +1 -1
- package/dist/{List-BMEZrjDr.js → List-BjQi_wnf.js} +23 -23
- package/dist/{Maintaince-aqCw0DHb.js → Maintaince-fou9nONX.js} +3 -3
- package/dist/{Markdown-B9rSQoSk.js → Markdown-Ceg9Ms5R.js} +1 -1
- package/dist/{Month-QXiAbCWq.js → Month-CfB3ZFt4.js} +1 -1
- package/dist/{Normal-BkJ7zUcf.js → Normal-DaCn1qBW.js} +33 -33
- package/dist/{Paging-C17Ky2Ym.js → Paging-C5q8jJUU.js} +25 -25
- package/dist/{QueryApi-rH-MUOz4.js → QueryApi-DjT4dEyX.js} +1 -1
- package/dist/{Racebar-B64iqDpa.js → Racebar-DBFWFMO-.js} +11 -11
- package/dist/{Radio-DT6DYkMm.js → Radio-CJyl__ew.js} +1 -1
- package/dist/{Register-Br4Ho5_h.js → Register-IVPcpL6f.js} +19 -19
- package/dist/{RichText-B7mZvV3h.js → RichText-D_JQUWM1.js} +12 -12
- package/dist/{SearchFooter-CJhcsVwS.js → SearchFooter-DEoLMe9k.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-4pj5BIPU.js → SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js} +1 -1
- package/dist/{SearchForm-B0Mhg7mY.js → SearchForm-BHHmYaCS.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Cpk8lxSg.js → SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js} +14 -14
- package/dist/{Select-DOv6YMyd.js → Select-C2FBbD52.js} +1 -1
- package/dist/{Select-C6waLN_p.js → Select-Cz2uCsb-.js} +9 -9
- package/dist/{Select-BqGycr7D.js → Select-DM1c8XBr.js} +9 -9
- package/dist/{Single-BsVcYImb.js → Single-B63Zrug-.js} +20 -20
- package/dist/{Statistic-cTv7XwZm.js → Statistic-0yl1BOUE.js} +15 -15
- package/dist/{Stock-4ne0C_6C.js → Stock-4iCvNHGj.js} +1 -1
- package/dist/{Stock-BmagKP2Z.js → Stock-DcJZ8DgI.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-7J7U50Do.js → Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js} +14 -14
- package/dist/{Switch-D2U2T-VY.js → Switch-N3gJPSk8.js} +1 -1
- package/dist/{Table-ByVJNMIs.js → Table-Cs56tnaN.js} +30 -30
- package/dist/{Table-DpGjoJJ8.js → Table-J3e4-OH2.js} +43 -43
- package/dist/Text-DheLweEH.js +4 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-D3BX2I3_.js → Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js} +8 -8
- package/dist/{TextLink-BVdiz7C8.js → TextLink-CSaLrd5t.js} +5 -5
- package/dist/{Textarea-DqfHJ-pT.js → Textarea-B5AXrlWa.js} +1 -1
- package/dist/Timeline-BhPZJNP4.js +53 -0
- package/dist/{Tree-IdYR7KBj.js → Tree-BdW8K2i6.js} +27 -27
- package/dist/{Tree-CqO-oS4J.js → Tree-Ctq_fSOd.js} +20 -20
- package/dist/{TreeNode-DtiaVE46.js → TreeNode-CDItFlDT.js} +5 -5
- package/dist/{Update-BLUslZO8.js → Update-K3FS-dz-.js} +4 -4
- package/dist/{Upload-Dy80NqjS.js → Upload-C73uEqps.js} +8 -8
- package/dist/Upload-DGz1o9dx.js +146 -0
- package/dist/{UploadApi-Cjo168Xz.js → UploadApi-Dy7aGZWx.js} +1 -1
- package/dist/{Year-DxuRORBQ.js → Year-CMlo3zsG.js} +1 -1
- package/dist/{main-CsvsIylY.js → main-CVY9fyTk.js} +5611 -5589
- package/dist/main.js +98 -117
- package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
- package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
- package/esm/coms/business/HaCrud.vue.d.ts +6 -4
- package/esm/coms/business/HaDriver.vue.d.ts +9 -7
- package/esm/coms/business/HaForm.vue.d.ts +6 -4
- package/esm/coms/commons/HaDebug.vue.d.ts +4 -2
- package/esm/coms/commons/HaEditable.vue.d.ts +6 -4
- package/esm/coms/commons/HaLoading.vue.d.ts +6 -4
- package/esm/coms/commons/HaResizer.vue.d.ts +7 -5
- package/esm/coms/commons/HaTable.vue.d.ts +8 -6
- package/esm/coms/commons/HaTableColumn.vue.d.ts +8 -6
- package/esm/coms/controls/Switch.vue.d.ts +2 -2
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +6 -4
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +6 -4
- package/esm/coms/globals/HaMenu.vue.d.ts +8 -8
- package/esm/coms/globals/HaMenuItem.vue.d.ts +8 -8
- package/esm/coms/globals/HaMissComponent.vue.d.ts +4 -2
- package/esm/coms/globals/HaSideTab.vue.d.ts +6 -4
- package/esm/coms/globals/HaSideTabs.vue.d.ts +6 -4
- package/esm/coms/globals/HaWindow.vue.d.ts +12 -10
- package/esm/coms/pagings/SearchFooter.vue.d.ts +16 -16
- package/esm/coms/pagings/SearchForm.vue.d.ts +8 -8
- package/esm/coms/panels/HaGroup.vue.d.ts +4 -2
- package/esm/coms/panels/HaOperation.vue.d.ts +6 -4
- package/esm/coms/panels/HaPanel.vue.d.ts +9 -7
- package/esm/coms/panels/HaShrink.vue.d.ts +6 -4
- package/esm/coms/texts/Copy.vue.d.ts +7 -5
- package/esm/coms/texts/TextLink.vue.d.ts +8 -6
- package/package.json +14 -9
- package/dist/Code-B-kH_AEs.js +0 -4
- package/dist/Image-fiCxDDah.js +0 -9
- package/dist/Index-Ch9KV-2J.js +0 -4
- package/dist/Index-auePVeWT.js +0 -4
- package/dist/Text-D7hTUYqZ.js +0 -4
- package/dist/Timeline-BdFiDkbs.js +0 -53
- package/dist/Upload-BLKrxNpk.js +0 -2519
- package/dist/vendor-@monaco-editor-B50UdwzE.js +0 -92
- package/dist/vendor-clone-BPtCWdXG.js +0 -134
- package/dist/vendor-crypto-js-YOeWQTUw.js +0 -4997
- package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
- package/dist/vendor-moment-h96o7c8I.js +0 -2578
- package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
- package/dist/vendor-state-local-CEworIRt.js +0 -131
- package/dist/vendor-underscore-D6LmOFb9.js +0 -1067
- package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
- package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
- package/dist/vendor-xlsx-js-style-DIFxrP6P.js +0 -11862
@@ -1,73 +1,73 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as P, ref as u, onMounted as Q, computed as j, watch as D, resolveComponent as p, openBlock as d, createElementBlock as h, createVNode as g, unref as t, withCtx as f, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as b, isRef as E, withKeys as $, normalizeClass as Z, withModifiers as G, createTextVNode as L, Fragment as J, renderList as W, nextTick as T } from "vue";
|
2
2
|
import { useRoute as X } from "vue-router";
|
3
|
-
import {
|
4
|
-
const
|
3
|
+
import { p as Y, u as K, i as ee, V as te, P as F, $ as le, r as M, l as oe } from "./main-CVY9fyTk.js";
|
4
|
+
const re = { class: "login-container" }, se = { class: "title-container" }, ne = { class: "title" }, ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
5
5
|
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
6
|
-
], -1),
|
6
|
+
], -1), ie = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
7
7
|
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
8
|
-
], -1),
|
8
|
+
], -1), ue = { class: "btn-others" }, de = ["href"], ce = ["innerHTML"], ye = /* @__PURE__ */ P({
|
9
9
|
__name: "Index",
|
10
|
-
setup(
|
11
|
-
let a = u({ id: "", secret: "" }), c = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), { t: i, t_sys:
|
10
|
+
setup(pe) {
|
11
|
+
let a = u({ id: "", secret: "" }), c = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), { t: i, t_sys: N } = ee, V = X(), O = {
|
12
12
|
id: [{
|
13
13
|
required: !0,
|
14
14
|
trigger: "blur",
|
15
|
-
validator: (
|
16
|
-
e ? e.indexOf("@") > -1 ?
|
15
|
+
validator: (l, e, r) => {
|
16
|
+
e ? e.indexOf("@") > -1 ? te.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
17
17
|
}
|
18
18
|
}]
|
19
19
|
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
20
|
-
},
|
21
|
-
|
22
|
-
},
|
23
|
-
c.value == "password" ? c.value = "" : c.value = "password",
|
20
|
+
}, S = (l) => {
|
21
|
+
l.key && l.key.length == 1 && (l.shiftKey && l.key >= "a" && l.key <= "z" || !l.shiftKey && l.key >= "A" && l.key <= "Z" ? s.value = !0 : s.value = !1), l.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
22
|
+
}, U = () => {
|
23
|
+
c.value == "password" ? c.value = "" : c.value = "password", T(() => {
|
24
24
|
w.value.focus();
|
25
25
|
});
|
26
|
-
},
|
26
|
+
}, x = async (l) => {
|
27
27
|
_.value = !0, C.value.validate(async (e) => {
|
28
28
|
if (!e)
|
29
29
|
return _.value = !1, !1;
|
30
|
-
(await
|
30
|
+
(await F.sso.create(l)).login(a.value).then(({ data: m }) => {
|
31
31
|
le.getBackUrl() ? M.toBackUrl() : M.to("/");
|
32
32
|
}).finally(() => {
|
33
|
-
|
33
|
+
T(() => {
|
34
34
|
_.value = !1;
|
35
35
|
});
|
36
36
|
});
|
37
37
|
});
|
38
|
-
}, q = async (
|
39
|
-
let e = await
|
40
|
-
return e.loginUrl(
|
41
|
-
}, A = (
|
38
|
+
}, q = async (l) => {
|
39
|
+
let e = await F.sso.create(l), r = V.query.return_url, m = `${window.location.origin}/sso/callback?type=${l.toLowerCase()}&return_url=${r}`;
|
40
|
+
return e.loginUrl(oe.api.url + `/user/login?type=${l.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
41
|
+
}, A = (l) => Object.keys(l).reduce((e, r) => (e[r] = l[r], e), {});
|
42
42
|
Q(() => {
|
43
|
-
|
43
|
+
Y.setI18nTitle("common.login"), y.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
|
44
44
|
});
|
45
|
-
let y =
|
46
|
-
return
|
45
|
+
let y = j(() => K.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
46
|
+
return D(() => V, (l) => {
|
47
47
|
debugger;
|
48
|
-
const e =
|
48
|
+
const e = l.query;
|
49
49
|
e && (otherQuery = A(e));
|
50
|
-
}), (
|
51
|
-
const r = p("el-input"), m = p("el-form-item"),
|
52
|
-
return d(), h("div",
|
53
|
-
g(
|
50
|
+
}), (l, e) => {
|
51
|
+
const r = p("el-input"), m = p("el-form-item"), B = p("el-tooltip"), I = p("el-button"), z = p("router-link"), H = p("el-form");
|
52
|
+
return d(), h("div", re, [
|
53
|
+
g(H, {
|
54
54
|
ref_key: "loginFormRef",
|
55
55
|
ref: C,
|
56
56
|
autocomplete: "on",
|
57
57
|
"label-position": "left",
|
58
58
|
model: t(a),
|
59
|
-
rules: t(
|
59
|
+
rules: t(O)
|
60
60
|
}, {
|
61
61
|
default: f(() => [
|
62
|
-
n("div",
|
63
|
-
n("h3",
|
62
|
+
n("div", se, [
|
63
|
+
n("h3", ne, k(t(N)("title")), 1)
|
64
64
|
]),
|
65
65
|
t(y) ? (d(), v(m, {
|
66
66
|
key: 0,
|
67
67
|
prop: "id"
|
68
68
|
}, {
|
69
69
|
default: f(() => [
|
70
|
-
|
70
|
+
ae,
|
71
71
|
g(r, {
|
72
72
|
ref_key: "idRef",
|
73
73
|
ref: R,
|
@@ -77,23 +77,23 @@ const se = { class: "login-container" }, ne = { class: "title-container" }, ae =
|
|
77
77
|
tabindex: "1",
|
78
78
|
autocomplete: "on",
|
79
79
|
modelValue: t(a).id,
|
80
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
80
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => t(a).id = o)
|
81
81
|
}, null, 8, ["placeholder", "modelValue"])
|
82
82
|
]),
|
83
83
|
_: 1
|
84
84
|
})) : b("", !0),
|
85
|
-
t(y) ? (d(), v(
|
85
|
+
t(y) ? (d(), v(B, {
|
86
86
|
key: 1,
|
87
87
|
content: "Caps lock is On",
|
88
88
|
placement: "right",
|
89
89
|
manual: "",
|
90
90
|
modelValue: t(s),
|
91
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
91
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => E(s) ? s.value = o : s = o)
|
92
92
|
}, {
|
93
93
|
default: f(() => [
|
94
94
|
g(m, { prop: "secret" }, {
|
95
95
|
default: f(() => [
|
96
|
-
|
96
|
+
ie,
|
97
97
|
(d(), v(r, {
|
98
98
|
ref_key: "secretRef",
|
99
99
|
ref: w,
|
@@ -104,20 +104,20 @@ const se = { class: "login-container" }, ne = { class: "title-container" }, ae =
|
|
104
104
|
tabindex: "2",
|
105
105
|
autocomplete: "on",
|
106
106
|
onKeyup: [
|
107
|
-
|
108
|
-
e[2] || (e[2] =
|
107
|
+
$(t(S), ["native"]),
|
108
|
+
e[2] || (e[2] = $((o) => t(x)("Bearer"), ["enter", "native"]))
|
109
109
|
],
|
110
|
-
onBlur: e[1] || (e[1] = (
|
110
|
+
onBlur: e[1] || (e[1] = (o) => E(s) ? s.value = !1 : s = !1),
|
111
111
|
modelValue: t(a).secret,
|
112
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
112
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => t(a).secret = o)
|
113
113
|
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
114
114
|
n("span", {
|
115
115
|
class: "btn-pwd",
|
116
116
|
onClick: e[4] || (e[4] = //@ts-ignore
|
117
|
-
(...
|
117
|
+
(...o) => t(U) && t(U)(...o))
|
118
118
|
}, [
|
119
119
|
n("i", {
|
120
|
-
class:
|
120
|
+
class: Z(t(c) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
121
121
|
}, null, 2)
|
122
122
|
])
|
123
123
|
]),
|
@@ -131,23 +131,23 @@ const se = { class: "login-container" }, ne = { class: "title-container" }, ae =
|
|
131
131
|
type: "primary",
|
132
132
|
class: "btn-login",
|
133
133
|
loading: t(_),
|
134
|
-
onClick: e[6] || (e[6] =
|
134
|
+
onClick: e[6] || (e[6] = G((o) => t(x)("Bearer"), ["prevent"]))
|
135
135
|
}, {
|
136
136
|
default: f(() => [
|
137
|
-
|
137
|
+
L(k(t(i)("common.login")), 1)
|
138
138
|
]),
|
139
139
|
_: 1
|
140
140
|
}, 8, ["loading"])) : b("", !0),
|
141
|
-
n("div",
|
142
|
-
(d(!0), h(
|
143
|
-
href: t(q)(
|
144
|
-
}, k(t(i)(
|
145
|
-
g(
|
141
|
+
n("div", ue, [
|
142
|
+
(d(!0), h(J, null, W(t(K).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), h("a", {
|
143
|
+
href: t(q)(o.type)
|
144
|
+
}, k(t(i)(o.text)), 9, de))), 256)),
|
145
|
+
g(z, {
|
146
146
|
class: "btn-register",
|
147
147
|
to: "/register"
|
148
148
|
}, {
|
149
149
|
default: f(() => [
|
150
|
-
|
150
|
+
L(k(t(i)("common.register")), 1)
|
151
151
|
]),
|
152
152
|
_: 1
|
153
153
|
})
|
@@ -158,11 +158,11 @@ const se = { class: "login-container" }, ne = { class: "title-container" }, ae =
|
|
158
158
|
n("div", {
|
159
159
|
class: "powered-by",
|
160
160
|
innerHTML: t(i)("sys.powered_by")
|
161
|
-
}, null, 8,
|
161
|
+
}, null, 8, ce)
|
162
162
|
]);
|
163
163
|
};
|
164
164
|
}
|
165
165
|
});
|
166
166
|
export {
|
167
|
-
|
167
|
+
ye as default
|
168
168
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
|
2
|
-
import {
|
2
|
+
import { V as N } from "./main-CVY9fyTk.js";
|
3
3
|
const U = /* @__PURE__ */ x({
|
4
4
|
__name: "Index",
|
5
5
|
props: {
|
@@ -12,7 +12,7 @@ const U = /* @__PURE__ */ x({
|
|
12
12
|
},
|
13
13
|
emits: ["submit", "change"],
|
14
14
|
setup(V, { emit: B }) {
|
15
|
-
let g = C(() => import("./TextLink-
|
15
|
+
let g = C(() => import("./TextLink-CSaLrd5t.js")), k = V, { schema: u, table: s, field: o, set: d, row: a, config: m } = D(k), i = p(() => {
|
16
16
|
let l = o.value.control.type;
|
17
17
|
return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
|
18
18
|
}), y = p(() => `text-${N.getDashName(i.value)}`), t = p({
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as k, toRefs as D, ref as N, openBlock as r, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
-
import {
|
2
|
+
import { j } from "./main-CVY9fyTk.js";
|
3
3
|
import "vue-router";
|
4
|
-
import "./vendor-intro.js-
|
5
|
-
const
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
6
6
|
__name: "Index",
|
7
7
|
props: {
|
8
8
|
searchData: {},
|
@@ -41,7 +41,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
41
41
|
return !1;
|
42
42
|
n.value.keyboard(a, t);
|
43
43
|
} }), (a, t) => (r(), B(L, null, [
|
44
|
-
R(e(
|
44
|
+
R(e(j), {
|
45
45
|
layout: e(l),
|
46
46
|
table: e(s),
|
47
47
|
onLayoutChange: e(S)
|
@@ -65,7 +65,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
65
65
|
onClose: e(z)
|
66
66
|
}, {
|
67
67
|
default: P(() => [
|
68
|
-
V("div",
|
68
|
+
V("div", F, "未支持的分页布局方式:" + $(e(l).type), 1)
|
69
69
|
]),
|
70
70
|
_: 1
|
71
71
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as E, toRefs as x, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
-
import {
|
2
|
+
import { j } from "./main-CVY9fyTk.js";
|
3
3
|
import "vue-router";
|
4
|
-
import "./vendor-intro.js-
|
5
|
-
const
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const F = { class: "not-support" }, G = /* @__PURE__ */ E({
|
6
6
|
__name: "Index",
|
7
7
|
props: {
|
8
8
|
route: {},
|
@@ -32,7 +32,7 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ E({
|
|
32
32
|
};
|
33
33
|
return k(() => {
|
34
34
|
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
35
|
-
L(e(
|
35
|
+
L(e(j), {
|
36
36
|
layout: e(a),
|
37
37
|
table: e(r),
|
38
38
|
onLayoutChange: e(f)
|
@@ -53,7 +53,7 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ E({
|
|
53
53
|
onSubmit: e(b)
|
54
54
|
}, {
|
55
55
|
default: N(() => [
|
56
|
-
V("div",
|
56
|
+
V("div", F, $(t.t("single.not_supported_layout", e(a).type)), 1)
|
57
57
|
]),
|
58
58
|
_: 1
|
59
59
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as I, toRefs as z, ref as A, computed as h, resolveComponent as v, openBlock as r, createElementBlock as u, Fragment as b, unref as e, createBlock as d, withCtx as s, createElementVNode as g, createVNode as _, resolveDynamicComponent as F, toDisplayString as k, createTextVNode as
|
2
|
-
import {
|
3
|
-
const
|
1
|
+
import { defineComponent as E, defineAsyncComponent as I, toRefs as z, ref as A, computed as h, resolveComponent as v, openBlock as r, createElementBlock as u, Fragment as b, unref as e, createBlock as d, withCtx as s, createElementVNode as g, createVNode as _, resolveDynamicComponent as F, toDisplayString as k, createTextVNode as U, createCommentVNode as $ } from "vue";
|
2
|
+
import { V as j } from "./main-CVY9fyTk.js";
|
3
|
+
const q = { class: "text-popover" }, G = {
|
4
4
|
key: 2,
|
5
5
|
class: "control-operation"
|
6
|
-
},
|
6
|
+
}, K = /* @__PURE__ */ E({
|
7
7
|
__name: "Index",
|
8
8
|
props: {
|
9
9
|
schema: {},
|
@@ -15,13 +15,13 @@ const j = { class: "text-popover" }, q = {
|
|
15
15
|
},
|
16
16
|
emits: ["submit", "change"],
|
17
17
|
setup(w, { emit: x }) {
|
18
|
-
let f = I(() => import("./Index-
|
18
|
+
let f = I(() => import("./Index-CNiNRbjO.js")), C = x, V = w, { schema: a, table: c, field: t, set: i, row: l, config: o } = z(V), m = A(), N = () => {
|
19
19
|
}, R = (n) => {
|
20
20
|
C("submit", n);
|
21
21
|
}, y = h(() => {
|
22
22
|
let n = t.value.control.type;
|
23
23
|
return o.value && o.value.control && o.value.control.type ? o.value.control.type : n;
|
24
|
-
}), B = h(() => `control-${
|
24
|
+
}), B = h(() => `control-${j.getDashName(y.value)}`);
|
25
25
|
return (n, p) => {
|
26
26
|
const D = v("el-popover"), S = v("el-link");
|
27
27
|
return r(), u(b, null, [
|
@@ -33,7 +33,7 @@ const j = { class: "text-popover" }, q = {
|
|
33
33
|
width: e(t).control.popover.width
|
34
34
|
}, {
|
35
35
|
reference: s(() => [
|
36
|
-
g("div",
|
36
|
+
g("div", q, [
|
37
37
|
_(e(f), {
|
38
38
|
ref_key: "controlRef",
|
39
39
|
ref: m,
|
@@ -89,21 +89,21 @@ const j = { class: "text-popover" }, q = {
|
|
89
89
|
]),
|
90
90
|
_: 1
|
91
91
|
}, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
|
92
|
-
e(t).operation ? (r(), u("div",
|
92
|
+
e(t).operation ? (r(), u("div", G, [
|
93
93
|
_(S, {
|
94
94
|
type: "primary",
|
95
95
|
underline: !1
|
96
96
|
}, {
|
97
97
|
default: s(() => [
|
98
|
-
|
98
|
+
U(k(e(t).operation.name), 1)
|
99
99
|
]),
|
100
100
|
_: 1
|
101
101
|
})
|
102
|
-
])) :
|
102
|
+
])) : $("", !0)
|
103
103
|
], 64);
|
104
104
|
};
|
105
105
|
}
|
106
106
|
});
|
107
107
|
export {
|
108
|
-
|
108
|
+
K as _
|
109
109
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
|
2
|
-
import {
|
2
|
+
import { y as U, q as w } from "./main-CVY9fyTk.js";
|
3
3
|
import "vue-router";
|
4
|
-
import "./vendor-intro.js-
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
5
|
const E = { class: "option-text" }, O = {
|
6
6
|
key: 0,
|
7
7
|
class: "option-suffix"
|
@@ -27,7 +27,7 @@ const E = { class: "option-text" }, O = {
|
|
27
27
|
};
|
28
28
|
return C(() => {
|
29
29
|
}), (_, n) => {
|
30
|
-
const p = r("el-input"), s = r("el-form-item"),
|
30
|
+
const p = r("el-input"), s = r("el-form-item"), q = r("el-option"), S = r("el-select"), g = r("el-button"), b = r("el-form");
|
31
31
|
return d(), f(l(U), {
|
32
32
|
class: "ha-install",
|
33
33
|
title: "数据库信息"
|
@@ -63,12 +63,12 @@ const E = { class: "option-text" }, O = {
|
|
63
63
|
rules: [{ required: !0, message: "数据库类型不能为空" }]
|
64
64
|
}, {
|
65
65
|
default: t(() => [
|
66
|
-
a(
|
66
|
+
a(S, {
|
67
67
|
modelValue: l(o).type,
|
68
68
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
69
69
|
}, {
|
70
70
|
default: t(() => [
|
71
|
-
(d(!0), v(M, null, N(l(y), (e) => (d(), f(
|
71
|
+
(d(!0), v(M, null, N(l(y), (e) => (d(), f(q, {
|
72
72
|
value: e.value,
|
73
73
|
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
74
74
|
key: `${e.value}`
|
@@ -101,7 +101,7 @@ const E = { class: "option-text" }, O = {
|
|
101
101
|
}),
|
102
102
|
a(s, null, {
|
103
103
|
default: t(() => [
|
104
|
-
a(
|
104
|
+
a(g, {
|
105
105
|
type: "primary",
|
106
106
|
loading: l(u),
|
107
107
|
onClick: l(V)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as g, unref as e, withKeys as v, isRef as y } from "vue";
|
2
|
-
import {
|
2
|
+
import { V as K } from "./main-CVY9fyTk.js";
|
3
3
|
const C = /* @__PURE__ */ c({
|
4
4
|
__name: "Int",
|
5
5
|
props: {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { $ as s, p as H,
|
3
|
-
const K = { class: "not-support" }, W = /* @__PURE__ */
|
1
|
+
import { defineComponent as $, toRefs as E, ref as u, watch as F, openBlock as T, createBlock as U, resolveDynamicComponent as V, unref as t, withCtx as j, createElementVNode as A, toDisplayString as G } from "vue";
|
2
|
+
import { $ as s, p as H, a as d, k as I, i as J } from "./main-CVY9fyTk.js";
|
3
|
+
const K = { class: "not-support" }, W = /* @__PURE__ */ $({
|
4
4
|
__name: "List",
|
5
5
|
props: {
|
6
6
|
base: {},
|
@@ -8,33 +8,33 @@ const K = { class: "not-support" }, W = /* @__PURE__ */ B({
|
|
8
8
|
url: {}
|
9
9
|
},
|
10
10
|
emits: ["load", "navigate"],
|
11
|
-
setup(_, { expose: b, emit:
|
12
|
-
let h =
|
13
|
-
let
|
14
|
-
return
|
11
|
+
setup(_, { expose: b, emit: k }) {
|
12
|
+
let h = k, P = _, { url: m, base: p, route: r } = E(P), f = u(), i = u(), n = u(), y = u(), g = u(), o = u(), c = u(), { t_module: q } = J, C = (e) => {
|
13
|
+
let a = s.getPath(e), l = s.getPath(m.value);
|
14
|
+
return a != l;
|
15
15
|
}, R = (e) => {
|
16
|
-
let
|
17
|
-
return
|
16
|
+
let a = s.getPath(m.value), l = s.getPath(e);
|
17
|
+
return a != l;
|
18
18
|
}, x = (e) => {
|
19
|
-
var
|
20
|
-
let
|
21
|
-
H.setTitle(
|
22
|
-
}, v = (e = null,
|
23
|
-
let
|
24
|
-
h("load",
|
19
|
+
var l;
|
20
|
+
let a = q(e.module.type, e.module.name);
|
21
|
+
H.setTitle(a, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema), n.value = (l = i.value) == null ? void 0 : l[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, r.value.query.condition);
|
22
|
+
}, v = (e = null, a = null) => {
|
23
|
+
let l = e ?? r.value.query, B = s.getUrl(r.value.path, l);
|
24
|
+
h("load", B, !1, a);
|
25
25
|
}, D = (e) => {
|
26
26
|
v(null, e);
|
27
27
|
}, w = (e) => {
|
28
28
|
h("navigate", e);
|
29
29
|
}, z = async (e) => {
|
30
|
-
let
|
31
|
-
|
30
|
+
let a = r.value.query;
|
31
|
+
a.condition = I.encode(c.value), v(a, e);
|
32
32
|
}, S = () => {
|
33
33
|
v();
|
34
|
-
}, L = (e,
|
34
|
+
}, L = (e, a) => {
|
35
35
|
if (!o.value || !o.value.keyboard)
|
36
36
|
return !1;
|
37
|
-
o.value.keyboard(e,
|
37
|
+
o.value.keyboard(e, a);
|
38
38
|
}, N = (e) => {
|
39
39
|
if (!o.value || !o.value.resize)
|
40
40
|
return !1;
|
@@ -42,9 +42,9 @@ const K = { class: "not-support" }, W = /* @__PURE__ */ B({
|
|
42
42
|
};
|
43
43
|
return (() => {
|
44
44
|
x(p.value.data);
|
45
|
-
})(),
|
45
|
+
})(), F(() => p.value, (e) => {
|
46
46
|
x(e.data);
|
47
|
-
}), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboard: L, resize: N }), (e,
|
47
|
+
}), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboard: L, resize: N }), (e, a) => (T(), U(V(`list-${t(n).layouts[0].type.toLowerCase()}`), {
|
48
48
|
ref_key: "listRef",
|
49
49
|
ref: o,
|
50
50
|
route: t(r),
|
@@ -60,8 +60,8 @@ const K = { class: "not-support" }, W = /* @__PURE__ */ B({
|
|
60
60
|
onNavigate: t(w),
|
61
61
|
onRefresh: t(S)
|
62
62
|
}, {
|
63
|
-
default:
|
64
|
-
|
63
|
+
default: j(() => [
|
64
|
+
A("div", K, "未支持的列表布局方式:" + G(t(n).layouts[0].type), 1)
|
65
65
|
]),
|
66
66
|
_: 1
|
67
67
|
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as t, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as s, unref as c } from "vue";
|
2
|
-
import {
|
3
|
-
const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" },
|
2
|
+
import { u as i } from "./main-CVY9fyTk.js";
|
3
|
+
const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" }, f = /* @__PURE__ */ t({
|
4
4
|
__name: "Maintaince",
|
5
5
|
setup(d) {
|
6
6
|
return (l, m) => (n(), o("div", a, [
|
@@ -10,5 +10,5 @@ const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title
|
|
10
10
|
}
|
11
11
|
});
|
12
12
|
export {
|
13
|
-
|
13
|
+
f as default
|
14
14
|
};
|
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Text-
|
13
|
+
let r = i(() => import("./Text-DheLweEH.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
|
14
14
|
return (x, o) => (w(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let s = i(() => import("./Text-
|
13
|
+
let s = i(() => import("./Text-DheLweEH.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
|
14
14
|
return (w, t) => (V(), b(e(s), {
|
15
15
|
schema: e(n),
|
16
16
|
table: e(r),
|