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,15 +1,14 @@
|
|
1
|
-
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as
|
2
|
-
import {
|
3
|
-
import "./assets/moment-h96o7c8I.js";
|
1
|
+
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as _, unref as t, withCtx as a, createTextVNode as v, createVNode as o, createElementBlock as c, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
|
2
|
+
import { v as U, _ as w } from "./main-nvsTmKXH.js";
|
4
3
|
import "element-plus";
|
5
4
|
import "vue-router";
|
6
5
|
import "./assets/intro.js-Cg1adLK7.js";
|
7
|
-
const E = { class: "option-text" },
|
6
|
+
const E = { class: "option-text" }, O = {
|
8
7
|
key: 0,
|
9
8
|
class: "option-suffix"
|
10
|
-
},
|
9
|
+
}, j = /* @__PURE__ */ k({
|
11
10
|
__name: "Install",
|
12
|
-
setup(
|
11
|
+
setup(R) {
|
13
12
|
let n = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
14
13
|
{ value: "SqlServer", text: "SqlServer" },
|
15
14
|
{ value: "MySql", text: "MySql" },
|
@@ -21,7 +20,7 @@ const E = { class: "option-text" }, F = {
|
|
21
20
|
u.value = !0, i.value.validate((f, l) => {
|
22
21
|
if (!f)
|
23
22
|
return u.value = !1, !1;
|
24
|
-
w.post("/app/install", n.value).then(({ data:
|
23
|
+
w.post("/app/install", n.value).then(({ data: p }) => {
|
25
24
|
}).finally(() => {
|
26
25
|
u.value = !1;
|
27
26
|
});
|
@@ -29,8 +28,8 @@ const E = { class: "option-text" }, F = {
|
|
29
28
|
};
|
30
29
|
return C(() => {
|
31
30
|
}), (f, l) => {
|
32
|
-
const
|
33
|
-
return
|
31
|
+
const p = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
|
32
|
+
return d(), _(t(U), {
|
34
33
|
class: "ha-install",
|
35
34
|
title: "数据库信息"
|
36
35
|
}, {
|
@@ -51,7 +50,7 @@ const E = { class: "option-text" }, F = {
|
|
51
50
|
rules: [{ required: !0, message: "数据库名不能为空" }]
|
52
51
|
}, {
|
53
52
|
default: a(() => [
|
54
|
-
o(
|
53
|
+
o(p, {
|
55
54
|
type: "text",
|
56
55
|
modelValue: t(n).name,
|
57
56
|
"onUpdate:modelValue": l[0] || (l[0] = (e) => t(n).name = e)
|
@@ -70,14 +69,14 @@ const E = { class: "option-text" }, F = {
|
|
70
69
|
"onUpdate:modelValue": l[1] || (l[1] = (e) => t(n).type = e)
|
71
70
|
}, {
|
72
71
|
default: a(() => [
|
73
|
-
(
|
72
|
+
(d(!0), c(M, null, N(t(y), (e) => (d(), _(S, {
|
74
73
|
value: e.value,
|
75
74
|
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
76
75
|
key: `${e.value}`
|
77
76
|
}, {
|
78
77
|
default: a(() => [
|
79
78
|
B("span", E, x(e.text), 1),
|
80
|
-
e.value ? (
|
79
|
+
e.value ? (d(), c("span", O, "(" + x(e.value) + ")", 1)) : T("", !0)
|
81
80
|
]),
|
82
81
|
_: 2
|
83
82
|
}, 1032, ["value", "label"]))), 128))
|
@@ -93,7 +92,7 @@ const E = { class: "option-text" }, F = {
|
|
93
92
|
rules: [{ required: !0, message: "数据库连接串不能为空" }]
|
94
93
|
}, {
|
95
94
|
default: a(() => [
|
96
|
-
o(
|
95
|
+
o(p, {
|
97
96
|
type: "textarea",
|
98
97
|
modelValue: t(n).conn,
|
99
98
|
"onUpdate:modelValue": l[2] || (l[2] = (e) => t(n).conn = e)
|
@@ -126,5 +125,5 @@ const E = { class: "option-text" }, F = {
|
|
126
125
|
}
|
127
126
|
});
|
128
127
|
export {
|
129
|
-
|
128
|
+
j as default
|
130
129
|
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const R = /* @__PURE__ */ f({
|
1
|
+
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as w, isRef as y } from "vue";
|
2
|
+
import { f as K, w as k } from "./main-nvsTmKXH.js";
|
3
|
+
const D = /* @__PURE__ */ f({
|
5
4
|
__name: "Int",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -12,11 +11,11 @@ const R = /* @__PURE__ */ f({
|
|
12
11
|
},
|
13
12
|
emits: ["change", "submit", "update:modelValue"],
|
14
13
|
setup(m, { emit: u }) {
|
15
|
-
let l = u,
|
14
|
+
let l = u, s = m, { table: p, field: r, searchData: x, modelValue: i } = _(s), d = () => {
|
16
15
|
l("submit");
|
17
16
|
}, o = h({
|
18
17
|
get() {
|
19
|
-
return
|
18
|
+
return i.value;
|
20
19
|
},
|
21
20
|
set(t) {
|
22
21
|
isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
|
@@ -25,15 +24,15 @@ const R = /* @__PURE__ */ f({
|
|
25
24
|
return (t, n) => {
|
26
25
|
const c = b("el-input-number");
|
27
26
|
return V(), g(c, {
|
28
|
-
placeholder: e(
|
27
|
+
placeholder: e(K)("common.please_input") + e(k)(e(p).name, e(r).name),
|
29
28
|
"controls-position": "right",
|
30
|
-
onKeyup:
|
29
|
+
onKeyup: w(e(d), ["enter", "native"]),
|
31
30
|
modelValue: e(o),
|
32
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) =>
|
31
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => y(o) ? o.value = a : o = a)
|
33
32
|
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
34
33
|
};
|
35
34
|
}
|
36
35
|
});
|
37
36
|
export {
|
38
|
-
|
37
|
+
D as default
|
39
38
|
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const C = /* @__PURE__ */ b({
|
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 { d as x, h as K } from "./main-nvsTmKXH.js";
|
3
|
+
const C = /* @__PURE__ */ c({
|
5
4
|
__name: "Int",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -12,27 +11,27 @@ const C = /* @__PURE__ */ b({
|
|
12
11
|
modelValue: {}
|
13
12
|
},
|
14
13
|
emits: ["submit", "change", "update:modelValue"],
|
15
|
-
setup(
|
16
|
-
let l =
|
14
|
+
setup(r, { emit: i }) {
|
15
|
+
let l = i, s = r, { table: d, field: n, set: k, modelValue: a } = f(s), p = () => {
|
17
16
|
l("submit");
|
18
17
|
}, t = _({
|
19
18
|
get() {
|
20
|
-
if (
|
21
|
-
return
|
19
|
+
if (x.string.isNumber(a.value))
|
20
|
+
return a.value;
|
22
21
|
},
|
23
22
|
set(o) {
|
24
23
|
l("update:modelValue", o), l("change", o);
|
25
24
|
}
|
26
25
|
});
|
27
|
-
return (o,
|
28
|
-
const
|
29
|
-
return g(), h(
|
30
|
-
"aria-label": e(
|
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(n).name),
|
31
30
|
"controls-position": "right",
|
32
|
-
disabled: e(
|
31
|
+
disabled: e(n).control.readonly,
|
33
32
|
onKeyup: v(e(p), ["enter", "native"]),
|
34
33
|
modelValue: e(t),
|
35
|
-
"onUpdate:modelValue":
|
34
|
+
"onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
|
36
35
|
}, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
|
37
36
|
};
|
38
37
|
}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const J = { class: "not-support" }, X = /* @__PURE__ */ U({
|
1
|
+
import { defineComponent as A, toRefs as B, ref as u, watch as H, openBlock as M, createBlock as E, resolveDynamicComponent as F, unref as t, withCtx as K, createElementVNode as T, toDisplayString as U } from "vue";
|
2
|
+
import { d as n, S as V, M as $, m as h, g as j, A as G } from "./main-nvsTmKXH.js";
|
3
|
+
const I = { class: "not-support" }, W = /* @__PURE__ */ A({
|
5
4
|
__name: "List",
|
6
5
|
props: {
|
7
6
|
base: {},
|
@@ -10,31 +9,31 @@ const J = { class: "not-support" }, X = /* @__PURE__ */ U({
|
|
10
9
|
win: {}
|
11
10
|
},
|
12
11
|
emits: ["load", "navigate"],
|
13
|
-
setup(
|
14
|
-
let
|
12
|
+
setup(_, { expose: b, emit: P }) {
|
13
|
+
let m = P, q = _, { url: v, base: p, route: o } = B(q), f = u(), i = u(), r = u(), y = u(), g = u(), s = u(), c = u(), C = (e) => {
|
15
14
|
let l = n.url.getPath(e), a = n.url.getPath(v.value);
|
16
15
|
return l != a;
|
17
|
-
},
|
16
|
+
}, R = (e) => {
|
18
17
|
let l = n.url.getPath(v.value), a = n.url.getPath(e);
|
19
18
|
return l != a;
|
20
19
|
}, x = (e) => {
|
21
20
|
var a;
|
22
|
-
let l =
|
23
|
-
|
21
|
+
let l = V(e.module.type, e.module.name);
|
22
|
+
$.setTitle(l, e.module.env), f.value = e.module, i.value = h.expandSchema(e.schema, e.set), r.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = h.expandSet(e.schema, e.set), c.value = h.getConditionForm(i.value, o.value.query.condition);
|
24
23
|
}, d = (e = null, l = null) => {
|
25
24
|
let a = e ?? o.value.query, N = n.url.getUrl(o.value.path, a);
|
26
|
-
|
25
|
+
m("load", N, !1, l);
|
27
26
|
}, k = (e) => {
|
28
27
|
d(null, e);
|
29
28
|
}, w = (e) => {
|
30
|
-
|
29
|
+
m("navigate", e);
|
31
30
|
}, D = async (e) => {
|
32
31
|
let l = o.value.query;
|
33
|
-
l.condition =
|
34
|
-
},
|
32
|
+
l.condition = j.encode(c.value), d(l, e);
|
33
|
+
}, S = () => {
|
35
34
|
d();
|
36
35
|
}, z = (e, l) => {
|
37
|
-
|
36
|
+
G.triggerKeyboardHandler(s.value, e, l);
|
38
37
|
}, L = (e) => {
|
39
38
|
if (!s.value || !s.value.resize)
|
40
39
|
return !1;
|
@@ -44,7 +43,7 @@ const J = { class: "not-support" }, X = /* @__PURE__ */ U({
|
|
44
43
|
x(p.value.data);
|
45
44
|
})(), H(() => p.value, (e) => {
|
46
45
|
x(e.data);
|
47
|
-
}),
|
46
|
+
}), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboardHandler: z, resize: L }), (e, l) => (M(), E(F(`list-${t(r).layouts[0].type.toLowerCase()}`), {
|
48
47
|
ref_key: "listRef",
|
49
48
|
ref: s,
|
50
49
|
route: t(o),
|
@@ -58,15 +57,15 @@ const J = { class: "not-support" }, X = /* @__PURE__ */ U({
|
|
58
57
|
onSucceed: t(k),
|
59
58
|
onSearch: t(D),
|
60
59
|
onNavigate: t(w),
|
61
|
-
onRefresh: t(
|
60
|
+
onRefresh: t(S)
|
62
61
|
}, {
|
63
|
-
default:
|
64
|
-
|
62
|
+
default: K(() => [
|
63
|
+
T("div", I, "未支持的列表布局方式:" + U(t(r).layouts[0].type), 1)
|
65
64
|
]),
|
66
65
|
_: 1
|
67
66
|
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
68
67
|
}
|
69
68
|
});
|
70
69
|
export {
|
71
|
-
|
70
|
+
W as default
|
72
71
|
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { defineComponent as n, openBlock as o, createElementBlock as s, createElementVNode as t, toDisplayString as i, unref as r } from "vue";
|
2
|
+
import { Q as a } from "./main-nvsTmKXH.js";
|
3
|
+
const c = { class: "maintenance" }, l = { class: "description" }, f = /* @__PURE__ */ n({
|
4
|
+
__name: "Maintaince",
|
5
|
+
setup(m) {
|
6
|
+
return (p, e) => (o(), s("div", c, [
|
7
|
+
e[0] || (e[0] = t("div", { class: "title" }, "系统维护中", -1)),
|
8
|
+
t("div", l, i(r(a)), 1)
|
9
|
+
]));
|
10
|
+
}
|
11
|
+
});
|
12
|
+
export {
|
13
|
+
f as default
|
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-CHvsKR9H.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),
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { defineComponent as i, toRefs as f, computed as h, resolveComponent as _, openBlock as V, createBlock as k, unref as e, isRef as b } from "vue";
|
2
|
+
import { k as Y } from "./main-nvsTmKXH.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(n, { emit: r }) {
|
14
|
+
let a = r, p = n, { 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(), k(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] = (d) => b(l) ? l.value = d : l = d)
|
31
|
+
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
32
|
+
};
|
33
|
+
}
|
34
|
+
});
|
35
|
+
export {
|
36
|
+
x as default
|
37
|
+
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const y = /* @__PURE__ */ i({
|
1
|
+
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as k, unref as e, isRef as b } from "vue";
|
2
|
+
import { k as Y } from "./main-nvsTmKXH.js";
|
3
|
+
const x = /* @__PURE__ */ i({
|
5
4
|
__name: "Month",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -13,27 +12,27 @@ const y = /* @__PURE__ */ i({
|
|
13
12
|
},
|
14
13
|
emits: ["submit", "change", "update:modelValue"],
|
15
14
|
setup(n, { emit: r }) {
|
16
|
-
let
|
15
|
+
let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
|
17
16
|
get() {
|
18
17
|
return s.value;
|
19
18
|
},
|
20
|
-
set(
|
21
|
-
|
19
|
+
set(t) {
|
20
|
+
o("update:modelValue", t), o("change", t);
|
22
21
|
}
|
23
22
|
});
|
24
|
-
return (
|
25
|
-
const c =
|
26
|
-
return
|
23
|
+
return (t, m) => {
|
24
|
+
const c = V("el-date-picker");
|
25
|
+
return h(), k(c, {
|
27
26
|
type: "month",
|
28
27
|
placeholder: e(Y)(e(u).name, e(a).name),
|
29
28
|
"value-format": "YYYY-MM",
|
30
29
|
disabled: e(a).control.readonly,
|
31
30
|
modelValue: e(l),
|
32
|
-
"onUpdate:modelValue": m[0] || (m[0] = (d) =>
|
31
|
+
"onUpdate:modelValue": m[0] || (m[0] = (d) => b(l) ? l.value = d : l = d)
|
33
32
|
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
34
33
|
};
|
35
34
|
}
|
36
35
|
});
|
37
36
|
export {
|
38
|
-
|
37
|
+
x as default
|
39
38
|
};
|
@@ -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-CHvsKR9H.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),
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { defineComponent as he, toRefs as fe, ref as
|
2
|
-
import {
|
3
|
-
import "./assets/moment-h96o7c8I.js";
|
1
|
+
import { defineComponent as he, toRefs as fe, ref as x, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as K, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as C, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
|
2
|
+
import { o as P, m as F, c as Ce, d as Q, e as U, f as ke, w as we, F as xe } from "./main-nvsTmKXH.js";
|
4
3
|
import "vue-router";
|
5
4
|
import "./assets/intro.js-Cg1adLK7.js";
|
6
5
|
const Re = {
|
@@ -13,7 +12,7 @@ const Re = {
|
|
13
12
|
}, $e = {
|
14
13
|
key: 0,
|
15
14
|
class: "normal-selection"
|
16
|
-
}, ze = { class: "normal-content" },
|
15
|
+
}, ze = { class: "normal-content" }, De = /* @__PURE__ */ he({
|
17
16
|
__name: "Normal",
|
18
17
|
props: {
|
19
18
|
route: {},
|
@@ -27,30 +26,30 @@ const Re = {
|
|
27
26
|
},
|
28
27
|
emits: ["change", "submit"],
|
29
28
|
setup(X, { expose: Y, emit: Z }) {
|
30
|
-
let M = Z, ee = X, { module: O, set: c, schema:
|
31
|
-
|
29
|
+
let M = Z, ee = X, { module: O, set: c, schema: N, table: t, layout: i, validateErrors: A } = fe(ee), p = x({ page: 1, count: c.value[t.value.name].length }), k = x([]), b = x(), T = x([]), j = x(), le = (l) => {
|
30
|
+
T.value.push(l);
|
32
31
|
}, te = () => {
|
33
32
|
p.value.page = 1;
|
34
33
|
}, ae = () => {
|
35
|
-
b.value =
|
36
|
-
let l =
|
34
|
+
b.value = G(t.value);
|
35
|
+
let l = F.getDefaultRow(t.value);
|
37
36
|
c.value[t.value.name].push(l);
|
38
37
|
}, ne = () => {
|
39
38
|
let l = c.value[t.value.name];
|
40
|
-
|
39
|
+
k.value.forEach((a) => {
|
41
40
|
l.splice(l.indexOf(a), 1);
|
42
|
-
}),
|
41
|
+
}), k.value = [], T.value.forEach((a) => {
|
43
42
|
a.model && (a.model = !1);
|
44
43
|
});
|
45
|
-
},
|
46
|
-
|
44
|
+
}, W = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
|
45
|
+
F.updateTooltip(o, u, v), M("change", l, a, o, u, v);
|
47
46
|
}, ue = (l, a) => {
|
48
|
-
l ?
|
47
|
+
l ? k.value.push(a) : Q.array.remove(k.value, a);
|
49
48
|
}, re = (l) => {
|
50
49
|
M("submit", l);
|
51
50
|
}, se = (l, a = null) => {
|
52
51
|
p.value.page = l;
|
53
|
-
},
|
52
|
+
}, G = (l) => {
|
54
53
|
if (l.main || l.search.length == 0)
|
55
54
|
return null;
|
56
55
|
let a = {};
|
@@ -59,28 +58,28 @@ const Re = {
|
|
59
58
|
});
|
60
59
|
let o = {};
|
61
60
|
return o[l.name] = a, o;
|
62
|
-
},
|
63
|
-
b.value =
|
61
|
+
}, H = (l) => {
|
62
|
+
b.value = G(l);
|
64
63
|
}, me = () => {
|
65
|
-
|
64
|
+
D();
|
66
65
|
}, ce = (l) => {
|
67
|
-
|
68
|
-
},
|
69
|
-
let l =
|
66
|
+
H(l.schema[0]);
|
67
|
+
}, D = () => {
|
68
|
+
let l = j.value.clientWidth;
|
70
69
|
i.value.column = Math.ceil(l / 500);
|
71
70
|
}, ie = () => {
|
72
|
-
|
71
|
+
D(), H(t.value);
|
73
72
|
};
|
74
73
|
ge(() => {
|
75
74
|
ie();
|
76
75
|
});
|
77
|
-
let pe = E(() =>
|
76
|
+
let pe = E(() => P.splitRows(t.value.search, i.value.column)), J = E(() => {
|
78
77
|
if (!b.value)
|
79
78
|
return c.value[t.value.name];
|
80
79
|
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.size, o = p.value.page * i.value.size - 1, u = c.value[t.value.name].filter(($) => {
|
81
80
|
let f = !0;
|
82
|
-
for (let
|
83
|
-
let y = t.value.search[
|
81
|
+
for (let w = 0; w < t.value.search.length; w++) {
|
82
|
+
let y = t.value.search[w], s = $[y.name], h = l[y.name];
|
84
83
|
if (h) {
|
85
84
|
if (y.search == "Equals") {
|
86
85
|
if (s !== h) {
|
@@ -96,24 +95,24 @@ const Re = {
|
|
96
95
|
return f;
|
97
96
|
});
|
98
97
|
return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
|
99
|
-
}), ve = E(() =>
|
100
|
-
let l = t.value.main ? `/${t.value.name}` : `/${
|
101
|
-
return
|
98
|
+
}), ve = E(() => F.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
|
99
|
+
let l = t.value.main ? `/${t.value.name}` : `/${N.value[0].name}/${t.value.name}`;
|
100
|
+
return Ce.getComponent(`${l}/update-child`, "partial", "update-child");
|
102
101
|
});
|
103
102
|
return B(() => c.value[t.value.name], (l, a) => {
|
104
|
-
let o = l.length, u = a.length, v =
|
103
|
+
let o = l.length, u = a.length, v = Q.math.pageCount(c.value[t.value.name].length, i.value.size);
|
105
104
|
(o > u || o < u && p.value.page > v) && (p.value.page = v);
|
106
|
-
}, { deep: !0 }), B(
|
105
|
+
}, { deep: !0 }), B(A, (l, a) => {
|
107
106
|
let o = l.find((u) => u.table == t.value.name);
|
108
107
|
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
|
109
108
|
}), B(t, (l, a) => {
|
110
|
-
|
109
|
+
D();
|
111
110
|
}), Y({ resize: me, update: ce }), (l, a) => {
|
112
|
-
const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"),
|
111
|
+
const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), w = _("el-popover"), y = _("el-pagination");
|
113
112
|
return n(), d("div", {
|
114
113
|
ref_key: "normalRef",
|
115
|
-
ref:
|
116
|
-
class:
|
114
|
+
ref: j,
|
115
|
+
class: K(["ha-normal-layout", { draggable: e(i).sort }])
|
117
116
|
}, [
|
118
117
|
e(b) ? (n(), g($, {
|
119
118
|
key: 0,
|
@@ -130,12 +129,12 @@ const Re = {
|
|
130
129
|
key: q
|
131
130
|
}, {
|
132
131
|
default: m(() => [
|
133
|
-
|
132
|
+
C(o, {
|
134
133
|
label: r.label
|
135
134
|
}, {
|
136
135
|
default: m(() => [
|
137
|
-
|
138
|
-
schema: e(
|
136
|
+
C(e(U), {
|
137
|
+
schema: e(N),
|
139
138
|
table: e(t),
|
140
139
|
field: r,
|
141
140
|
set: e(b),
|
@@ -153,12 +152,12 @@ const Re = {
|
|
153
152
|
]),
|
154
153
|
_: 1
|
155
154
|
})) : V("", !0),
|
156
|
-
e(
|
157
|
-
(n(!0), d(R, null, S(e(
|
158
|
-
class:
|
155
|
+
e(J).length ? (n(), d("div", Se, [
|
156
|
+
(n(!0), d(R, null, S(e(J), (s) => (n(), d("div", {
|
157
|
+
class: K(["normal-row", { main: e(t).main }])
|
159
158
|
}, [
|
160
159
|
e(t).main ? V("", !0) : (n(), d("div", $e, [
|
161
|
-
|
160
|
+
C(f, {
|
162
161
|
ref_for: !0,
|
163
162
|
ref: e(le),
|
164
163
|
class: "normal-checkbox",
|
@@ -174,17 +173,17 @@ const Re = {
|
|
174
173
|
key: `${e(t).name}.${r.name}`
|
175
174
|
}, {
|
176
175
|
default: m(() => [
|
177
|
-
|
178
|
-
style: _e(e(
|
176
|
+
C(o, {
|
177
|
+
style: _e(e(P).getStyle(r, e(O).type, e(i).type)),
|
179
178
|
label: r.label,
|
180
|
-
rules: e(
|
181
|
-
prop: `[${e(t).name}][${e(
|
179
|
+
rules: e(F).getRules(e(A), e(t), r, e(W)(s)),
|
180
|
+
prop: `[${e(t).name}][${e(W)(s)}][${r.name}]`
|
182
181
|
}, {
|
183
182
|
label: m(() => {
|
184
183
|
var z;
|
185
184
|
return [
|
186
|
-
be(I(e(
|
187
|
-
(z = r.control.tooltip) != null && z.content ? (n(), g(
|
185
|
+
be(I(e(we)(e(t).name, r.name)) + " ", 1),
|
186
|
+
(z = r.control.tooltip) != null && z.content ? (n(), g(w, {
|
188
187
|
key: 0,
|
189
188
|
trigger: "hover",
|
190
189
|
placement: "top",
|
@@ -202,8 +201,8 @@ const Re = {
|
|
202
201
|
];
|
203
202
|
}),
|
204
203
|
default: m(() => [
|
205
|
-
|
206
|
-
schema: e(
|
204
|
+
C(e(U), {
|
205
|
+
schema: e(N),
|
207
206
|
set: e(c),
|
208
207
|
table: e(t),
|
209
208
|
row: s,
|
@@ -222,20 +221,20 @@ const Re = {
|
|
222
221
|
}, 1024))), 256))
|
223
222
|
])
|
224
223
|
], 2))), 256))
|
225
|
-
], 512)) : (n(), d("div", Re, I(e(
|
226
|
-
e(t).main ? V("", !0) : (n(), g(e(
|
224
|
+
], 512)) : (n(), d("div", Re, I(e(ke)("common.no_data")), 1)),
|
225
|
+
e(t).main ? V("", !0) : (n(), g(e(xe), { key: 3 }, {
|
227
226
|
left: m(() => [
|
228
227
|
(n(), g(ye(e(de)), {
|
229
228
|
module: e(O),
|
230
229
|
set: e(c),
|
231
230
|
table: e(t),
|
232
|
-
selection: e(
|
231
|
+
selection: e(k),
|
233
232
|
onAdd: e(ae),
|
234
233
|
onRemove: e(ne)
|
235
234
|
}, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
|
236
235
|
]),
|
237
236
|
default: m(() => [
|
238
|
-
|
237
|
+
C(y, {
|
239
238
|
background: "",
|
240
239
|
layout: "total, prev, pager, next, jumper",
|
241
240
|
"current-page": e(p).page,
|
@@ -251,5 +250,5 @@ const Re = {
|
|
251
250
|
}
|
252
251
|
});
|
253
252
|
export {
|
254
|
-
|
253
|
+
De as default
|
255
254
|
};
|