halo-pc 1.0.37 → 1.0.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DSuvpyeC.js → Article-H_clf90b.js} +31 -32
- package/dist/{ArticleFooter-Cx3OC7sV.js → ArticleFooter-BLi4TNA7.js} +3 -4
- package/dist/Autocomplete-BF9x0F4f.js +49 -0
- package/dist/{Autocomplete-DASTUS8d.js → Autocomplete-CcIzTPSr.js} +11 -12
- package/dist/{Autocomplete-1jt0wRMS.js → Autocomplete-DMm6oI1g.js} +1 -1
- package/dist/{CSharp-CebNTVPd.js → CSharp-CZOchOE-.js} +1 -1
- package/dist/{Calender-BBILvX8n.js → Calender-BoQV7bhA.js} +4 -4
- package/dist/Callback-79Bw4RwY.js +20 -0
- package/dist/Cascader-D1Ou5OSg.js +41 -0
- package/dist/{Cascader-DyQ312mS.js → Cascader-DMhl98vw.js} +27 -28
- package/dist/{Checkbox-CHmMU0Cs.js → Checkbox-C6t6S7ii.js} +1 -1
- package/dist/{Checkbox-CyC_mo50.js → Checkbox-DtrXMDBR.js} +13 -14
- package/dist/Code-B8ISTTYK.js +54 -0
- package/dist/Code-BMlBvnqa.js +4 -0
- package/dist/{Code-CIFJJJo3.js → Code-DDacfgvl.js} +1 -1
- package/dist/Code-DIGn8Raz.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +57 -0
- package/dist/Column-DjA11efs.js +69 -0
- package/dist/{Comment-D78rr4-n.js → Comment-Ixu0gPk3.js} +19 -25
- package/dist/{Compare-DLiL32cA.js → Compare-C1uq4lgK.js} +9 -10
- package/dist/{Compare-Cb9vYPl5.js → Compare-NN40QJWm.js} +10 -11
- package/dist/{Copy-CH2_hawJ.js → Copy-BcfSvyWG.js} +11 -12
- package/dist/{Custom-D9qN9bwa.js → Custom-Dn9_vPuD.js} +21 -22
- package/dist/{DataExport-D8cqXPrh.js → DataExport-DNGgWqsx.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js → DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js} +24 -25
- package/dist/{DataImport-3KwXYYGw.js → DataImport-CI9eM5T1.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js → DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js} +39 -40
- package/dist/{Date-OZxdofhB.js → Date-CGyzi8yX.js} +1 -1
- package/dist/{Date-yHlD-Lw2.js → Date-CZGbZKjB.js} +8 -9
- package/dist/{DateRange-BLSxDHKv.js → DateRange-MbbkmZ_Y.js} +9 -10
- package/dist/{DateTime-B7GzMj8Q.js → DateTime-DHrHmRLL.js} +1 -1
- package/dist/{DateTime-8tbpOKOK.js → DateTime-DqUOXGWH.js} +8 -9
- package/dist/{DateTimeRange-COFWmQoO.js → DateTimeRange-DgXQkZLx.js} +11 -12
- package/dist/{Daterange-Cy8l4CfJ.js → Daterange-DLHJuRur.js} +8 -9
- package/dist/{Decimal-Dw6EtZOm.js → Decimal-BUJuuvfr.js} +1 -1
- package/dist/{Delete-DjXSCUKp.js → Delete-BGMk0orl.js} +19 -20
- package/dist/{Detail-DU8mI4u2.js → Detail-D4KzWdHQ.js} +7 -8
- package/dist/Dictionary-Esd3ERAq.js +55 -0
- package/dist/{Email-AHWpz5Ck.js → Email-C9K09hwC.js} +11 -12
- package/dist/{File-DUxwHR5G.js → File-ai1eYO7v.js} +43 -44
- package/dist/{Image-BJ5q87B6.js → Image-CfY4G1Yn.js} +1 -1
- package/dist/{Index-Z8HW5XAm.js → Index-B5o7uf36.js} +15 -16
- package/dist/Index-CH3nwnPZ.js +4 -0
- package/dist/Index-CTjDkp7e.js +4 -0
- package/dist/Index-DSZ8wa7U.js +4 -0
- package/dist/Index-DVdiF3gr.js +4 -0
- package/dist/{Index-Jt1omrn-.js → Index-DYHrSEZ5.js} +1 -1
- package/dist/Index-DsZPtDYE.js +173 -0
- package/dist/{Index-KTv20XtO.js → Index-S1btGSGD.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js → Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js} +6 -7
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BznVrY52.js → Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js} +14 -20
- package/dist/{Install-C-xxCx9D.js → Install-D-MgafyF.js} +13 -14
- package/dist/{Int-BsHpY5Gt.js → Int-CnvfCxgn.js} +9 -10
- package/dist/{Int-1QpMyTPB.js → Int-D3RqVcmN.js} +13 -14
- package/dist/{List-DW7FpMfd.js → List-DA4SO_le.js} +18 -19
- package/dist/Maintaince-BIgEbjrq.js +14 -0
- package/dist/{Markdown-BZhSwheI.js → Markdown-hax8By5O.js} +1 -1
- package/dist/Month-5lTUiWin.js +37 -0
- package/dist/{Month-IJnA7Kgl.js → Month-BDkwv-vc.js} +11 -12
- package/dist/{Month-BKXtBi6i.js → Month-CnVTSnyK.js} +1 -1
- package/dist/{Normal-CettIwbU.js → Normal-DoE9t7d7.js} +52 -53
- package/dist/Paging-5qsCTRWy.js +92 -0
- package/dist/{PagingHeader-irWrEKGQ.js → PagingHeader-BFtE6jSy.js} +35 -36
- package/dist/{PagingRow-Bft1brFD.js → PagingRow-CSB-kwMz.js} +19 -20
- package/dist/{Racebar-D3VFwM1V.js → Racebar-Bc-dDRss.js} +25 -31
- package/dist/{Radio-C-IwNXnz.js → Radio-CMGOtMnx.js} +1 -1
- package/dist/{Register-XTfqbbgr.js → Register-8wi0uixs.js} +60 -61
- package/dist/RichText-BR4Kvx0J.js +41 -0
- package/dist/{SearchFooter-hC7sQBez.js → SearchFooter-DOC21dmS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js → SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js} +3 -3
- package/dist/{SearchForm-BTux7Adt.js → SearchForm-BMTSPce_.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js → SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js} +31 -32
- package/dist/{Select-ClAK8aNJ.js → Select-DAxdpZlO.js} +15 -16
- package/dist/{Select-K1dU20i2.js → Select-DnFyey0n.js} +30 -31
- package/dist/{Select-DlM_C-60.js → Select-MBD4Simw.js} +1 -1
- package/dist/{Single-DYDwq041.js → Single-D6x6VV_B.js} +74 -75
- package/dist/{Statistic-CidgrAcU.js → Statistic-BS_DA72m.js} +29 -30
- package/dist/{Stock-BFszdaCn.js → Stock-CbucObTu.js} +1 -1
- package/dist/{Stock-BiuhsKPB.js → Stock-CtmevqBK.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js → Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js} +17 -18
- package/dist/{Switch-TI8J8-E2.js → Switch-BlXAy9qH.js} +1 -1
- package/dist/{Table-DJOSPNrn.js → Table-CqsfAMh7.js} +73 -74
- package/dist/{Table-DYELgaTY.js → Table-Da9gan1Y.js} +61 -62
- package/dist/Text-C72NLZMt.js +48 -0
- package/dist/Text-CHvsKR9H.js +4 -0
- package/dist/{Text-DEv-wMFU.js → Text-CbZlEVTJ.js} +11 -12
- package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +53 -0
- package/dist/{TextLink-CKPExcuj.js → TextLink-SAnZ7BfX.js} +10 -11
- package/dist/{Textarea-CEv7HYqY.js → Textarea-DphCUpXp.js} +1 -1
- package/dist/{Time-BeTq6Tq3.js → Time-DjE8yYdK.js} +10 -11
- package/dist/{Timeline-BI2o8Kug.js → Timeline-D11vjkpZ.js} +13 -19
- package/dist/{Tree-DlIrY3e2.js → Tree-DK73Ou_F.js} +35 -41
- package/dist/{Tree-BPeNz1X4.js → Tree-kich05vY.js} +79 -80
- package/dist/{TreeNode-CzM6Npi5.js → TreeNode-Dx6cZ31Z.js} +10 -11
- package/dist/{Update-Bv6Lp8LZ.js → Update-D2Plm_AG.js} +14 -15
- package/dist/{UpdateChild-mrF1t5G8.js → UpdateChild-BXV7QqaP.js} +20 -21
- package/dist/{Upload-BCdzJlzR.js → Upload-B87EDynn.js} +46 -47
- package/dist/Upload-CHPjMGFZ.js +65 -0
- package/dist/{Year-DLITl-_8.js → Year-BPFmIiPX.js} +1 -1
- package/dist/{Year-2hJSZcj_.js → Year-C93IJgc8.js} +8 -9
- package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
- package/dist/main-nvsTmKXH.js +16321 -0
- package/dist/main.js +43 -45
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Autocomplete-C7CYy8w6.js +0 -50
- package/dist/Callback-CLA9Ab9q.js +0 -21
- package/dist/Cascader-DY2zOwsa.js +0 -47
- package/dist/Code-B4Z7WuUc.js +0 -42
- package/dist/Code-BOTf1uZ5.js +0 -60
- package/dist/Code-Da4PjT9q.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js +0 -63
- package/dist/Column-9A6-8_Y7.js +0 -75
- package/dist/Dictionary-CAAvUqf-.js +0 -61
- package/dist/Index-CF44rsZW.js +0 -4
- package/dist/Index-CnFjsuQV.js +0 -4
- package/dist/Index-D223MCYD.js +0 -174
- package/dist/Index-DCIDLocj.js +0 -4
- package/dist/Index-qIfIbiFH.js +0 -4
- package/dist/Maintaince-CjUfJUr7.js +0 -20
- package/dist/Month-m0FiTmBK.js +0 -38
- package/dist/Paging-J9vCBFzM.js +0 -93
- package/dist/RichText-D3aLlQph.js +0 -47
- package/dist/Text-DAliAA9U.js +0 -4
- package/dist/Text-Dy6uYSm3.js +0 -49
- package/dist/Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js +0 -59
- package/dist/Upload-B0dBN1oH.js +0 -71
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/main-SNlEeN01.js +0 -10337
@@ -1,47 +0,0 @@
|
|
1
|
-
import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
-
import { U as B } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const C = { class: "text-cascader" }, S = {
|
10
|
-
key: 0,
|
11
|
-
class: "cascader-seperator"
|
12
|
-
}, j = /* @__PURE__ */ y({
|
13
|
-
__name: "Cascader",
|
14
|
-
props: {
|
15
|
-
schema: {},
|
16
|
-
table: {},
|
17
|
-
field: {},
|
18
|
-
set: {},
|
19
|
-
row: {},
|
20
|
-
modelValue: {}
|
21
|
-
},
|
22
|
-
emits: ["submit", "change"],
|
23
|
-
setup(_, { emit: V }) {
|
24
|
-
let v = _, { table: w, field: s, set: E, row: U, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
|
25
|
-
if (u.value.length > 0) {
|
26
|
-
let p = s.value.control.data.data, a = [];
|
27
|
-
return u.value.forEach((r) => {
|
28
|
-
let l = B.tree.getParentsById(r, "value", p, "children", !0);
|
29
|
-
l.length > 0 && a.push(l);
|
30
|
-
}), a;
|
31
|
-
}
|
32
|
-
return [];
|
33
|
-
});
|
34
|
-
return (p, a) => (e(), t("div", C, [
|
35
|
-
(e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
|
36
|
-
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
37
|
-
style: x({ color: n.color }),
|
38
|
-
key: n.value
|
39
|
-
}, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
40
|
-
l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
41
|
-
]))), 256))
|
42
|
-
]));
|
43
|
-
}
|
44
|
-
});
|
45
|
-
export {
|
46
|
-
j as default
|
47
|
-
};
|
package/dist/Code-B4Z7WuUc.js
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as u, normalizeStyle as _, isRef as x } from "vue";
|
2
|
-
import { o as F } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const $ = /* @__PURE__ */ v({
|
10
|
-
__name: "Code",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
setup(s) {
|
20
|
-
let m = s, { table: f, field: t, set: b, row: g, modelValue: r } = h(m), n = i(), a = i({ language: null, readonly: !0, lineNumbers: "off" }), p = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", d = (e) => e ? f.value.fields.find((o) => o.name == e) : null, c = (e) => {
|
21
|
-
let l = d(e);
|
22
|
-
return l ? g.value[l.name] : null;
|
23
|
-
};
|
24
|
-
return (() => {
|
25
|
-
if (n.value = p(), t.value.control.languageField == null)
|
26
|
-
a.value.language = t.value.control.language;
|
27
|
-
else {
|
28
|
-
let e = c(t.value.control.languageField);
|
29
|
-
e && (a.value.language = e);
|
30
|
-
}
|
31
|
-
})(), (e, l) => (V(), y(u(F), {
|
32
|
-
class: "text-code",
|
33
|
-
options: u(a),
|
34
|
-
style: _(u(n)),
|
35
|
-
modelValue: u(r),
|
36
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) => x(r) ? r.value = o : r = o)
|
37
|
-
}, null, 8, ["options", "style", "modelValue"]));
|
38
|
-
}
|
39
|
-
});
|
40
|
-
export {
|
41
|
-
$ as default
|
42
|
-
};
|
package/dist/Code-BOTf1uZ5.js
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as r, isRef as k } from "vue";
|
2
|
-
import { o as x } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const q = /* @__PURE__ */ b({
|
10
|
-
__name: "Code",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change", "update:modelValue"],
|
20
|
-
setup(p, { emit: d }) {
|
21
|
-
let i = d, g = p, { table: s, field: o, set: y, row: m, modelValue: f } = h(g), a = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
22
|
-
let l = c(o.value.control.scrollTop);
|
23
|
-
l && (m.value[l.name] = e);
|
24
|
-
}, V = () => {
|
25
|
-
let e = n(o.value.control.scrollTop);
|
26
|
-
if (e && (a.value.scrollTop = parseInt(e)), a.value.lineNumbers = o.value.control.lineNumbers, o.value.control.languageField == null)
|
27
|
-
a.value.language = o.value.control.language;
|
28
|
-
else {
|
29
|
-
let l = n(o.value.control.languageField);
|
30
|
-
l && (a.value.language = l);
|
31
|
-
}
|
32
|
-
o.value.control.schema && (a.value.schema = o.value.control.schema, a.value.category = `${s.value.name}.${o.value.name}`);
|
33
|
-
}, n = (e) => {
|
34
|
-
let l = c(e);
|
35
|
-
return l ? m.value[l.name] : null;
|
36
|
-
}, c = (e) => e ? s.value.fields.find((t) => t.name == e) : null;
|
37
|
-
V();
|
38
|
-
let u = T({
|
39
|
-
get() {
|
40
|
-
return f.value ?? "";
|
41
|
-
},
|
42
|
-
set(e) {
|
43
|
-
i("update:modelValue", e), i("change", e);
|
44
|
-
}
|
45
|
-
});
|
46
|
-
return _(() => n(o.value.control.languageField), (e, l) => {
|
47
|
-
a.value.language = e;
|
48
|
-
}), (e, l) => (w(), N(r(x), {
|
49
|
-
class: "control-code",
|
50
|
-
border: "",
|
51
|
-
options: r(a),
|
52
|
-
onScroll: r(v),
|
53
|
-
modelValue: r(u),
|
54
|
-
"onUpdate:modelValue": l[0] || (l[0] = (t) => k(u) ? u.value = t : u = t)
|
55
|
-
}, null, 8, ["options", "onScroll", "modelValue"]));
|
56
|
-
}
|
57
|
-
});
|
58
|
-
export {
|
59
|
-
q as default
|
60
|
-
};
|
package/dist/Code-Da4PjT9q.js
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
import { defineComponent as C, toRefs as b, ref as m, onMounted as k, resolveComponent as i, openBlock as n, createElementBlock as u, createVNode as d, unref as e, isRef as h, withCtx as p, Fragment as c, renderList as B, createBlock as L, createTextVNode as _, toDisplayString as f, createCommentVNode as N } from "vue";
|
2
|
-
import { G as R, o as w } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const E = { class: "ha-code-layout" }, K = /* @__PURE__ */ C({
|
10
|
-
__name: "Code",
|
11
|
-
props: {
|
12
|
-
route: {},
|
13
|
-
validateErrors: {},
|
14
|
-
module: {},
|
15
|
-
schema: {},
|
16
|
-
table: {},
|
17
|
-
layout: {},
|
18
|
-
next: {},
|
19
|
-
set: {}
|
20
|
-
},
|
21
|
-
emits: ["submit", "change"],
|
22
|
-
setup(g, { emit: U }) {
|
23
|
-
let V = g, { module: q, schema: A, table: D, layout: l, next: F, set: G } = b(V), r = m({}), t = m(), v = () => {
|
24
|
-
t.value = l.value.languages[0];
|
25
|
-
};
|
26
|
-
return k(async () => {
|
27
|
-
v();
|
28
|
-
let s = await R.loadCodeLanguageAsync();
|
29
|
-
for (let a of s)
|
30
|
-
r.value[a.text] = a.suffix;
|
31
|
-
}), (s, a) => {
|
32
|
-
const x = i("el-radio"), y = i("el-radio-group");
|
33
|
-
return n(), u("div", E, [
|
34
|
-
d(y, {
|
35
|
-
modelValue: e(t),
|
36
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) => h(t) ? t.value = o : t = o)
|
37
|
-
}, {
|
38
|
-
default: p(() => [
|
39
|
-
(n(!0), u(c, null, B(e(l).languages, (o) => (n(), L(x, { value: o }, {
|
40
|
-
default: p(() => [
|
41
|
-
_(f(o) + " ", 1),
|
42
|
-
e(r)[o] ? (n(), u(c, { key: 0 }, [
|
43
|
-
_("(" + f(e(r)[o]) + ")", 1)
|
44
|
-
], 64)) : N("", !0)
|
45
|
-
]),
|
46
|
-
_: 2
|
47
|
-
}, 1032, ["value"]))), 256))
|
48
|
-
]),
|
49
|
-
_: 1
|
50
|
-
}, 8, ["modelValue"]),
|
51
|
-
d(e(w), {
|
52
|
-
border: "",
|
53
|
-
options: { language: e(r)[e(t)] },
|
54
|
-
modelValue: e(l).codes[e(t)],
|
55
|
-
"onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
|
56
|
-
}, null, 8, ["options", "modelValue"])
|
57
|
-
]);
|
58
|
-
};
|
59
|
-
}
|
60
|
-
});
|
61
|
-
export {
|
62
|
-
K as _
|
63
|
-
};
|
package/dist/Column-9A6-8_Y7.js
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
import { defineComponent as S, toRefs as b, onMounted as D, computed as _, openBlock as r, createBlock as k, unref as e, withCtx as C, createElementBlock as s, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as m, toDisplayString as a, resolveDynamicComponent as $, createVNode as h, createTextVNode as i } from "vue";
|
2
|
-
import { u as z, U as y, _ as F, H as P } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import "element-plus";
|
10
|
-
import "vue-router";
|
11
|
-
import "./assets/intro.js-Cg1adLK7.js";
|
12
|
-
const R = {
|
13
|
-
key: 0,
|
14
|
-
class: "menus"
|
15
|
-
}, T = ["onClick"], j = { class: "title" }, q = {
|
16
|
-
key: 1,
|
17
|
-
class: "column-empty"
|
18
|
-
}, te = /* @__PURE__ */ S({
|
19
|
-
__name: "Column",
|
20
|
-
props: {
|
21
|
-
view: {},
|
22
|
-
url: {},
|
23
|
-
win: {}
|
24
|
-
},
|
25
|
-
emits: ["loaded", "navigate"],
|
26
|
-
setup(g, { expose: x, emit: U }) {
|
27
|
-
let p = U, w = g, { url: d, view: c } = b(w), B = (l) => !0, N = (l) => !0, V = () => {
|
28
|
-
v();
|
29
|
-
}, v = () => {
|
30
|
-
p("loaded", n.value.title);
|
31
|
-
}, M = (l) => {
|
32
|
-
let t = y.url.getUrl(l.url, { m: l.id });
|
33
|
-
p("navigate", t);
|
34
|
-
};
|
35
|
-
D(() => {
|
36
|
-
v();
|
37
|
-
});
|
38
|
-
let n = _(() => z.getMenuByUrl(d.value)), f = _(() => y.url.getPath(d.value));
|
39
|
-
return x({ shouldLoad: B, shouldSpin: N, refresh: V }), (l, t) => (r(), k(e(F), null, {
|
40
|
-
default: C(() => [
|
41
|
-
e(n) ? (r(), s("div", R, [
|
42
|
-
(r(!0), s(E, null, H(e(n).children, (o) => (r(), s("div", {
|
43
|
-
class: "menu",
|
44
|
-
key: o.id,
|
45
|
-
onClick: (A) => e(M)(o)
|
46
|
-
}, [
|
47
|
-
o.icon ? (r(), s("i", {
|
48
|
-
key: 0,
|
49
|
-
class: L(o.icon)
|
50
|
-
}, null, 2)) : u("", !0),
|
51
|
-
m("div", j, a(o.title), 1)
|
52
|
-
], 8, T))), 128))
|
53
|
-
])) : u("", !0),
|
54
|
-
(r(), k($(e(c)))),
|
55
|
-
(!e(n) || e(n).children == 0) && !e(c) ? (r(), s("div", q, [
|
56
|
-
h(e(P), null, {
|
57
|
-
default: C(() => t[0] || (t[0] = [
|
58
|
-
i(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
59
|
-
])),
|
60
|
-
_: 1
|
61
|
-
}),
|
62
|
-
t[1] || (t[1] = i(" 可考虑以下任一选项:")),
|
63
|
-
t[2] || (t[2] = m("br", null, null, -1)),
|
64
|
-
i(" 1. 在 src/views 中实现自定义页面:" + a(e(f)), 1),
|
65
|
-
t[3] || (t[3] = m("br", null, null, -1)),
|
66
|
-
i(" 2. 在 src/coms/partials 中实现自定义首页部分视图:" + a(e(f)), 1)
|
67
|
-
])) : u("", !0)
|
68
|
-
]),
|
69
|
-
_: 1
|
70
|
-
}));
|
71
|
-
}
|
72
|
-
});
|
73
|
-
export {
|
74
|
-
te as default
|
75
|
-
};
|
@@ -1,61 +0,0 @@
|
|
1
|
-
import { defineComponent as g, toRefs as x, computed as a, resolveComponent as h, openBlock as r, createElementBlock as n, Fragment as V, renderList as b, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as s, createCommentVNode as w } from "vue";
|
2
|
-
import { U as o } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const D = { class: "text-dictionary" }, E = {
|
10
|
-
key: 0,
|
11
|
-
class: "suffix"
|
12
|
-
}, I = /* @__PURE__ */ g({
|
13
|
-
__name: "Dictionary",
|
14
|
-
props: {
|
15
|
-
schema: {},
|
16
|
-
table: {},
|
17
|
-
field: {},
|
18
|
-
set: {},
|
19
|
-
row: {},
|
20
|
-
modelValue: { type: [String, Number, Boolean] }
|
21
|
-
},
|
22
|
-
emits: ["submit", "change", "update:modelValue"],
|
23
|
-
setup(i, { emit: m }) {
|
24
|
-
let u = m, p = i, { table: U, field: c, set: z, modelValue: d } = x(p), t = a({
|
25
|
-
get() {
|
26
|
-
return d.value;
|
27
|
-
},
|
28
|
-
set(e) {
|
29
|
-
u("update:modelValue", e), u("change", e);
|
30
|
-
}
|
31
|
-
}), f = a(() => {
|
32
|
-
if (t.value == null)
|
33
|
-
return [];
|
34
|
-
if (o.type.isNumber(t.value))
|
35
|
-
return [t.value];
|
36
|
-
if (o.type.isBoolean(t.value))
|
37
|
-
return [t.value];
|
38
|
-
let e = t.value.toString();
|
39
|
-
return o.string.isEmpty(e) ? [] : e.split(",");
|
40
|
-
}), y = a(() => o.array.fromValues(f.value, c.value.control.data.data, "value", "text"));
|
41
|
-
return (e, F) => {
|
42
|
-
const _ = h("el-tag");
|
43
|
-
return r(), n("div", D, [
|
44
|
-
(r(!0), n(V, null, b(k(y), (l, v) => (r(), B(_, {
|
45
|
-
type: "info",
|
46
|
-
style: C({ color: l.color }),
|
47
|
-
key: v
|
48
|
-
}, {
|
49
|
-
default: N(() => [
|
50
|
-
S(s(l.text) + " ", 1),
|
51
|
-
l.suffix ? (r(), n("span", E, "(" + s(l.suffix) + ")", 1)) : w("", !0)
|
52
|
-
]),
|
53
|
-
_: 2
|
54
|
-
}, 1032, ["style"]))), 128))
|
55
|
-
]);
|
56
|
-
};
|
57
|
-
}
|
58
|
-
});
|
59
|
-
export {
|
60
|
-
I as default
|
61
|
-
};
|
package/dist/Index-CF44rsZW.js
DELETED
package/dist/Index-CnFjsuQV.js
DELETED
package/dist/Index-D223MCYD.js
DELETED
@@ -1,174 +0,0 @@
|
|
1
|
-
import { defineComponent as j, ref as u, onMounted as D, computed as P, watch as Q, resolveComponent as p, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as Z, withModifiers as G, createTextVNode as $, Fragment as J, renderList as W, nextTick as A } from "vue";
|
2
|
-
import { useRoute as X } from "vue-router";
|
3
|
-
import { i as Y, z as w, O as ee, t as i, U as F, N as K, r as N, x as te } from "./main-SNlEeN01.js";
|
4
|
-
import "./assets/moment-h96o7c8I.js";
|
5
|
-
const le = { class: "login-container" }, oe = { class: "title-container" }, se = { class: "title" }, re = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], me = /* @__PURE__ */ j({
|
6
|
-
__name: "Index",
|
7
|
-
setup(ie) {
|
8
|
-
let a = u({ id: "", secret: "" }), f = u("password"), r = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(), O = {
|
9
|
-
id: [{
|
10
|
-
required: !0,
|
11
|
-
trigger: "blur",
|
12
|
-
validator: (t, e, s) => {
|
13
|
-
e ? e.indexOf("@") > -1 ? F.string.isEmail(e) ? s() : s(new Error("邮箱格式不正确")) : s() : s(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
14
|
-
}
|
15
|
-
}]
|
16
|
-
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
17
|
-
}, M = (t) => {
|
18
|
-
t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? r.value = !0 : r.value = !1), t.key == "CapsLock" && r.value == !0 && (r.value = !1);
|
19
|
-
}, B = () => {
|
20
|
-
f.value == "password" ? f.value = "" : f.value = "password", A(() => {
|
21
|
-
b.value.focus();
|
22
|
-
});
|
23
|
-
}, E = async (t) => {
|
24
|
-
y.value = !0, V.value.validate(async (e) => {
|
25
|
-
if (!e)
|
26
|
-
return y.value = !1, !1;
|
27
|
-
(await K.sso.createAsync(t)).login(a.value).then(({ data: c }) => {
|
28
|
-
F.url.getBackUrl() ? N.toBackUrl() : N.to("/");
|
29
|
-
}).finally(() => {
|
30
|
-
A(() => {
|
31
|
-
y.value = !1;
|
32
|
-
});
|
33
|
-
});
|
34
|
-
});
|
35
|
-
}, q = async (t) => {
|
36
|
-
let e = await K.sso.createAsync(t), s = x.query.return_url, c = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${s}`;
|
37
|
-
return e.loginUrl(te.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(c));
|
38
|
-
}, z = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {});
|
39
|
-
D(async () => {
|
40
|
-
Y.setI18nTitle("common.login");
|
41
|
-
for (let t = 0; t < w.ssos.length; t++) {
|
42
|
-
let e = w.ssos[t];
|
43
|
-
e.loginUrl = await q(e.type);
|
44
|
-
}
|
45
|
-
_.value != null && (a.value.id == "" ? h.value.focus() : a.value.secret == "" && b.value.focus());
|
46
|
-
});
|
47
|
-
let _ = P(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
48
|
-
return Q(() => x, (t) => {
|
49
|
-
debugger;
|
50
|
-
const e = t.query;
|
51
|
-
e && z(e);
|
52
|
-
}), (t, e) => {
|
53
|
-
const s = p("el-input"), c = p("el-form-item"), U = p("el-tooltip"), I = p("el-button"), S = p("router-link"), H = p("el-form");
|
54
|
-
return d(), C("div", le, [
|
55
|
-
g(H, {
|
56
|
-
ref_key: "loginFormRef",
|
57
|
-
ref: V,
|
58
|
-
autocomplete: "on",
|
59
|
-
"label-position": "left",
|
60
|
-
model: l(a),
|
61
|
-
rules: l(O)
|
62
|
-
}, {
|
63
|
-
default: m(() => [
|
64
|
-
n("div", oe, [
|
65
|
-
n("h3", se, k(l(ee)("title")), 1)
|
66
|
-
]),
|
67
|
-
l(_) ? (d(), v(c, {
|
68
|
-
key: 0,
|
69
|
-
prop: "id"
|
70
|
-
}, {
|
71
|
-
default: m(() => [
|
72
|
-
e[7] || (e[7] = n("span", { class: "svg-container" }, [
|
73
|
-
n("i", { class: "fa fa-user" })
|
74
|
-
], -1)),
|
75
|
-
g(s, {
|
76
|
-
ref_key: "idRef",
|
77
|
-
ref: h,
|
78
|
-
placeholder: l(i)("common.username_or_email"),
|
79
|
-
name: "id",
|
80
|
-
type: "text",
|
81
|
-
tabindex: "1",
|
82
|
-
autocomplete: "on",
|
83
|
-
modelValue: l(a).id,
|
84
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
|
85
|
-
}, null, 8, ["placeholder", "modelValue"])
|
86
|
-
]),
|
87
|
-
_: 1
|
88
|
-
})) : R("", !0),
|
89
|
-
l(_) ? (d(), v(U, {
|
90
|
-
key: 1,
|
91
|
-
content: "Caps lock is On",
|
92
|
-
placement: "right",
|
93
|
-
manual: "",
|
94
|
-
modelValue: l(r),
|
95
|
-
"onUpdate:modelValue": e[5] || (e[5] = (o) => L(r) ? r.value = o : r = o)
|
96
|
-
}, {
|
97
|
-
default: m(() => [
|
98
|
-
g(c, { prop: "secret" }, {
|
99
|
-
default: m(() => [
|
100
|
-
e[8] || (e[8] = n("span", { class: "svg-container" }, [
|
101
|
-
n("i", { class: "fa fa-key" })
|
102
|
-
], -1)),
|
103
|
-
(d(), v(s, {
|
104
|
-
ref_key: "secretRef",
|
105
|
-
ref: b,
|
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(M), ["native"]),
|
114
|
-
e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
|
115
|
-
],
|
116
|
-
onBlur: e[1] || (e[1] = (o) => L(r) ? r.value = !1 : r = !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: Z(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(_) ? (d(), v(I, {
|
136
|
-
key: 2,
|
137
|
-
type: "primary",
|
138
|
-
class: "btn-login",
|
139
|
-
loading: l(y),
|
140
|
-
onClick: e[6] || (e[6] = G((o) => l(E)("Bearer"), ["prevent"]))
|
141
|
-
}, {
|
142
|
-
default: m(() => [
|
143
|
-
$(k(l(i)("common.login")), 1)
|
144
|
-
]),
|
145
|
-
_: 1
|
146
|
-
}, 8, ["loading"])) : R("", !0),
|
147
|
-
n("div", re, [
|
148
|
-
(d(!0), C(J, null, W(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
|
149
|
-
href: o.loginUrl
|
150
|
-
}, k(l(i)(o.text)), 9, ne))), 256)),
|
151
|
-
g(S, {
|
152
|
-
class: "btn-register",
|
153
|
-
to: "/register"
|
154
|
-
}, {
|
155
|
-
default: m(() => [
|
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, ae)
|
168
|
-
]);
|
169
|
-
};
|
170
|
-
}
|
171
|
-
});
|
172
|
-
export {
|
173
|
-
me as default
|
174
|
-
};
|
package/dist/Index-DCIDLocj.js
DELETED
package/dist/Index-qIfIbiFH.js
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { defineComponent as o, openBlock as i, createElementBlock as n, createElementVNode as e, toDisplayString as r, unref as s } from "vue";
|
2
|
-
import { z as m } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const p = { class: "maintenance" }, a = { class: "description" }, B = /* @__PURE__ */ o({
|
10
|
-
__name: "Maintaince",
|
11
|
-
setup(c) {
|
12
|
-
return (l, t) => (i(), n("div", p, [
|
13
|
-
t[0] || (t[0] = e("div", { class: "title" }, "系统维护中", -1)),
|
14
|
-
e("div", a, r(s(m)), 1)
|
15
|
-
]));
|
16
|
-
}
|
17
|
-
});
|
18
|
-
export {
|
19
|
-
B as default
|
20
|
-
};
|
package/dist/Month-m0FiTmBK.js
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import { n as Y } from "./main-SNlEeN01.js";
|
3
|
-
import "./assets/moment-h96o7c8I.js";
|
4
|
-
const y = /* @__PURE__ */ i({
|
5
|
-
__name: "Month",
|
6
|
-
props: {
|
7
|
-
schema: {},
|
8
|
-
table: {},
|
9
|
-
field: {},
|
10
|
-
searchData: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(r, { emit: n }) {
|
15
|
-
let t = n, p = r, { table: u, field: a, searchData: g, modelValue: s } = f(p), l = _({
|
16
|
-
get() {
|
17
|
-
return s.value;
|
18
|
-
},
|
19
|
-
set(o) {
|
20
|
-
t("update:modelValue", o), t("change", o);
|
21
|
-
}
|
22
|
-
});
|
23
|
-
return (o, m) => {
|
24
|
-
const c = h("el-date-picker");
|
25
|
-
return V(), 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] = (d) => k(l) ? l.value = d : l = d)
|
32
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
33
|
-
};
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
y as default
|
38
|
-
};
|