halo-pc 1.0.40 → 1.0.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CqtkXVmQ.js → Article-BMW_FzdK.js} +32 -31
- package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-7iPkMQaX.js} +13 -12
- package/dist/Autocomplete-B6Mwp9rT.js +50 -0
- package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-C-El55Lz.js} +1 -1
- package/dist/{Autocomplete-LQiKcvz1.js → Autocomplete-PZTjEBIx.js} +11 -10
- package/dist/{CSharp-BIFRQLaK.js → CSharp-BQUrQwua.js} +1 -1
- package/dist/{Calender-DPNTn-S4.js → Calender-CJXR7uhM.js} +2 -2
- package/dist/Callback-CyDW9WU2.js +21 -0
- package/dist/{Cascader-Vhc81TDV.js → Cascader-CFc_8QSm.js} +18 -17
- package/dist/Cascader-DMQjalNv.js +47 -0
- package/dist/{Checkbox-D9Sp6ZGQ.js → Checkbox-aU8e779g.js} +12 -11
- package/dist/{Checkbox-CIim5NiB.js → Checkbox-pV01os-T.js} +1 -1
- package/dist/Code-C0Kxulod.js +4 -0
- package/dist/Code-C4pIa8BE.js +60 -0
- package/dist/Code-CCJx9RSm.js +42 -0
- package/dist/{Code-yDKaH1uF.js → Code-kDBbVC1W.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-36NN7tgP.js +65 -0
- package/dist/Column-BebDf5Z9.js +75 -0
- package/dist/{Comment-tU2wBvGO.js → Comment-BgfD9WtL.js} +25 -19
- package/dist/{Compare-DqvGyQWA.js → Compare-BZucuvFP.js} +9 -8
- package/dist/{Compare-D7Gz-lE9.js → Compare-D-Byn_Gq.js} +11 -10
- package/dist/Copy-DW4jSNQi.js +44 -0
- package/dist/Custom-DIF-RYi3.js +55 -0
- package/dist/{DataExport-BDftKI0U.js → DataExport-CyQy2xjO.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +28 -27
- package/dist/{DataImport-CRYaaQfA.js → DataImport-BVF83UsQ.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +31 -30
- package/dist/{Date-Dlh1_S7p.js → Date-CqpFvbYZ.js} +1 -1
- package/dist/{Date-DPPiYLWw.js → Date-g1XKWU4b.js} +8 -7
- package/dist/{DateRange-BgF_T3ls.js → DateRange-B2afkdbT.js} +6 -5
- package/dist/{DateTime-DP-VfmtN.js → DateTime-D_x_wBZR.js} +8 -7
- package/dist/{DateTime-CNjPeK9t.js → DateTime-Zi3vtH77.js} +1 -1
- package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BFWM_U7H.js} +10 -9
- package/dist/{Daterange-DHVjhrK9.js → Daterange-tXA0b0Ak.js} +5 -4
- package/dist/{Decimal-BDEWVSsK.js → Decimal-DKQ38XS_.js} +1 -1
- package/dist/{Delete-Bl0GmthL.js → Delete-BOkBpAGN.js} +20 -19
- package/dist/{Detail-BozyhOTt.js → Detail-SWgERqKG.js} +11 -10
- package/dist/{Dictionary-CJwZPQz6.js → Dictionary-Xsj_Qorw.js} +15 -9
- package/dist/{Email-D5X1SzuJ.js → Email-DILPnLkb.js} +12 -11
- package/dist/{File-DixK0K7p.js → File-BDUTK7hV.js} +40 -39
- package/dist/Image-Yx3ZHHJK.js +9 -0
- package/dist/Index-BTa4YIN9.js +174 -0
- package/dist/Index-BWukqxQl.js +4 -0
- package/dist/Index-BahY1OIJ.js +4 -0
- package/dist/Index-C9ffFYsl.js +4 -0
- package/dist/{Index-j15c7lwJ.js → Index-CiQQmYeA.js} +1 -1
- package/dist/Index-DG7Hovsx.js +4 -0
- package/dist/{Index-D2FOeoNQ.js → Index-DeYqTT9Q.js} +1 -1
- package/dist/{Index-DbXgnBz6.js → Index-WVLyjyqt.js} +16 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +13 -12
- package/dist/{Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js} +21 -15
- package/dist/{Install-WR3b4IfI.js → Install-DW5uDsXF.js} +14 -13
- package/dist/{Int-GGWiUqO2.js → Int-BM4sbZvh.js} +14 -13
- package/dist/{Int-CWsDtoxE.js → Int-BrFE_Hmm.js} +10 -9
- package/dist/List-DWjTqrJR.js +72 -0
- package/dist/Maintaince-DF3nu9Jd.js +20 -0
- package/dist/{Markdown-nVfQs7kc.js → Markdown-BC8l7O_U.js} +1 -1
- package/dist/{Month-CxKMP4kO.js → Month-DRa9o-WC.js} +1 -1
- package/dist/{Month-DnYlAi7k.js → Month-QG6OiiLU.js} +11 -10
- package/dist/Month-Y0kLXgV7.js +38 -0
- package/dist/{Normal-RcqEyIFN.js → Normal-CSy3DFPH.js} +50 -49
- package/dist/{Paging-DrdGzxeP.js → Paging-BYccIXmC.js} +43 -42
- package/dist/{PagingHeader-C8UpM9Kj.js → PagingHeader-U-oJ1TQE.js} +16 -15
- package/dist/{PagingRow-oQWCofO4.js → PagingRow-BmokRXX3.js} +14 -13
- package/dist/{Racebar-CvoF2ySW.js → Racebar-BvFHNGb8.js} +28 -22
- package/dist/{Radio-DhjfkC14.js → Radio-CjfXrTOE.js} +1 -1
- package/dist/{Register-B0Vx60wY.js → Register-BG-3_Q2E.js} +55 -54
- package/dist/RichText-C88f59ao.js +47 -0
- package/dist/{SearchForm-BHVnQaSL.js → SearchForm-C0zqD7UP.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +46 -45
- package/dist/{SearchHeader-C9yovXli.js → SearchHeader-e2LOidgU.js} +1 -1
- package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js} +1 -1
- package/dist/{Select-vgwpegBi.js → Select-CfIvGDPS.js} +21 -20
- package/dist/{Select-CX4i5KPQ.js → Select-CvP_zGxM.js} +1 -1
- package/dist/{Select-BDoCqD3I.js → Select-Cz6MPDCC.js} +11 -10
- package/dist/{Single-C3629BdC.js → Single-p-8OfzhQ.js} +101 -100
- package/dist/{Statistic-WPezAlUn.js → Statistic-BIKfbZCI.js} +32 -31
- package/dist/{Stock-EPM3j2f_.js → Stock-B7RP-SuF.js} +1 -1
- package/dist/{Stock-BD5Acf8y.js → Stock-BhOP8J0c.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +20 -19
- package/dist/{Switch-B0XN4K-9.js → Switch-BcDhe4_E.js} +1 -1
- package/dist/{Table-BklK1hSh.js → Table-Cy7FarYr.js} +71 -70
- package/dist/{Table-JFdOXuME.js → Table-DK-TaejU.js} +58 -57
- package/dist/Text-B580p9od.js +49 -0
- package/dist/Text-D89aQLxL.js +4 -0
- package/dist/{Text-DrJkdxZF.js → Text-YNB0It4-.js} +13 -12
- package/dist/Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js +59 -0
- package/dist/{TextLink-BnijIoEJ.js → TextLink-CI-AIgdm.js} +9 -8
- package/dist/{Textarea-3SWLqQvO.js → Textarea-86C9lCtg.js} +1 -1
- package/dist/{Time-C3qlNZkJ.js → Time-BgArfSc6.js} +10 -9
- package/dist/{Timeline-B6hUIYhL.js → Timeline-O_jWjdxT.js} +19 -13
- package/dist/{Tree-JexLPBXX.js → Tree-BfFRW-xZ.js} +41 -35
- package/dist/{Tree-DBvFF4Rj.js → Tree-DayADkaC.js} +73 -72
- package/dist/{TreeNode-BOWB2WN9.js → TreeNode-BZp8w6M5.js} +10 -9
- package/dist/{Update-CDLYYwgj.js → Update-Bcdz87R4.js} +6 -5
- package/dist/{UpdateChild-DUG7pAuO.js → UpdateChild-YzPMnj_r.js} +20 -19
- package/dist/{Upload-B2hbxDsT.js → Upload-DU5VOqXj.js} +47 -46
- package/dist/Upload-Dj5nSsug.js +71 -0
- package/dist/{Year-BUF60NmB.js → Year-B3E0kOiA.js} +8 -7
- package/dist/{Year-BRsJ7b1J.js → Year-CcbzIuwy.js} +1 -1
- package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/main-DxH9UW19.js +10723 -0
- package/dist/main.js +60 -59
- package/dist/style.css +1 -1
- package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
- package/package.json +1 -1
- package/dist/Autocomplete-BfhYwZ5G.js +0 -49
- package/dist/Callback-Ci5KrWOC.js +0 -20
- package/dist/Cascader-CnOEgPDf.js +0 -41
- package/dist/Code-BEjqqeFZ.js +0 -54
- package/dist/Code-BSrEPuXk.js +0 -4
- package/dist/Code-Dp1-k8sW.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
- package/dist/Column-B0ViSver.js +0 -69
- package/dist/Copy-Dm1LH9qB.js +0 -43
- package/dist/Custom-CLKAPWEo.js +0 -49
- package/dist/Image-BrelhCGo.js +0 -9
- package/dist/Index-BeM6hKX9.js +0 -4
- package/dist/Index-BkfLyqpm.js +0 -173
- package/dist/Index-D8UVsXwf.js +0 -4
- package/dist/Index-FL-dxfFB.js +0 -4
- package/dist/Index-fWOqfFkG.js +0 -4
- package/dist/List-kRCsHp6d.js +0 -71
- package/dist/Maintaince-BG8MUi3A.js +0 -14
- package/dist/Month-B1icZmL4.js +0 -37
- package/dist/RichText-4wrLw9cy.js +0 -41
- package/dist/Text-CNtHdodK.js +0 -4
- package/dist/Text-KAuEjP7I.js +0 -48
- package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
- package/dist/Upload-mlk6Y4Po.js +0 -65
- package/dist/main-DymfKjqO.js +0 -16480
@@ -1,14 +1,15 @@
|
|
1
|
-
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as
|
2
|
-
import {
|
1
|
+
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as p, 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 { F as U, h as w } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
3
4
|
import "element-plus";
|
4
5
|
import "vue-router";
|
5
6
|
import "./assets/intro.js-Cg1adLK7.js";
|
6
|
-
const E = { class: "option-text" },
|
7
|
+
const E = { class: "option-text" }, F = {
|
7
8
|
key: 0,
|
8
9
|
class: "option-suffix"
|
9
|
-
},
|
10
|
+
}, z = /* @__PURE__ */ k({
|
10
11
|
__name: "Install",
|
11
|
-
setup(
|
12
|
+
setup(O) {
|
12
13
|
let n = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
13
14
|
{ value: "SqlServer", text: "SqlServer" },
|
14
15
|
{ value: "MySql", text: "MySql" },
|
@@ -20,7 +21,7 @@ const E = { class: "option-text" }, O = {
|
|
20
21
|
u.value = !0, i.value.validate((f, l) => {
|
21
22
|
if (!f)
|
22
23
|
return u.value = !1, !1;
|
23
|
-
w.post("/app/install", n.value).then(({ data:
|
24
|
+
w.post("/app/install", n.value).then(({ data: d }) => {
|
24
25
|
}).finally(() => {
|
25
26
|
u.value = !1;
|
26
27
|
});
|
@@ -28,8 +29,8 @@ const E = { class: "option-text" }, O = {
|
|
28
29
|
};
|
29
30
|
return C(() => {
|
30
31
|
}), (f, l) => {
|
31
|
-
const
|
32
|
-
return
|
32
|
+
const d = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
|
33
|
+
return p(), _(t(U), {
|
33
34
|
class: "ha-install",
|
34
35
|
title: "数据库信息"
|
35
36
|
}, {
|
@@ -50,7 +51,7 @@ const E = { class: "option-text" }, O = {
|
|
50
51
|
rules: [{ required: !0, message: "数据库名不能为空" }]
|
51
52
|
}, {
|
52
53
|
default: a(() => [
|
53
|
-
o(
|
54
|
+
o(d, {
|
54
55
|
type: "text",
|
55
56
|
modelValue: t(n).name,
|
56
57
|
"onUpdate:modelValue": l[0] || (l[0] = (e) => t(n).name = e)
|
@@ -69,14 +70,14 @@ const E = { class: "option-text" }, O = {
|
|
69
70
|
"onUpdate:modelValue": l[1] || (l[1] = (e) => t(n).type = e)
|
70
71
|
}, {
|
71
72
|
default: a(() => [
|
72
|
-
(
|
73
|
+
(p(!0), c(M, null, N(t(y), (e) => (p(), _(S, {
|
73
74
|
value: e.value,
|
74
75
|
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
75
76
|
key: `${e.value}`
|
76
77
|
}, {
|
77
78
|
default: a(() => [
|
78
79
|
B("span", E, x(e.text), 1),
|
79
|
-
e.value ? (
|
80
|
+
e.value ? (p(), c("span", F, "(" + x(e.value) + ")", 1)) : T("", !0)
|
80
81
|
]),
|
81
82
|
_: 2
|
82
83
|
}, 1032, ["value", "label"]))), 128))
|
@@ -92,7 +93,7 @@ const E = { class: "option-text" }, O = {
|
|
92
93
|
rules: [{ required: !0, message: "数据库连接串不能为空" }]
|
93
94
|
}, {
|
94
95
|
default: a(() => [
|
95
|
-
o(
|
96
|
+
o(d, {
|
96
97
|
type: "textarea",
|
97
98
|
modelValue: t(n).conn,
|
98
99
|
"onUpdate:modelValue": l[2] || (l[2] = (e) => t(n).conn = e)
|
@@ -125,5 +126,5 @@ const E = { class: "option-text" }, O = {
|
|
125
126
|
}
|
126
127
|
});
|
127
128
|
export {
|
128
|
-
|
129
|
+
z as default
|
129
130
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as b, 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 { U as K, l as U } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const C = /* @__PURE__ */ b({
|
4
5
|
__name: "Int",
|
5
6
|
props: {
|
6
7
|
schema: {},
|
@@ -11,27 +12,27 @@ const C = /* @__PURE__ */ c({
|
|
11
12
|
modelValue: {}
|
12
13
|
},
|
13
14
|
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(
|
15
|
-
let l =
|
15
|
+
setup(m, { emit: u }) {
|
16
|
+
let l = u, s = m, { table: d, field: a, set: k, modelValue: n } = f(s), p = () => {
|
16
17
|
l("submit");
|
17
18
|
}, t = _({
|
18
19
|
get() {
|
19
|
-
if (K.string.isNumber(
|
20
|
-
return
|
20
|
+
if (K.string.isNumber(n.value))
|
21
|
+
return n.value;
|
21
22
|
},
|
22
23
|
set(o) {
|
23
24
|
l("update:modelValue", o), l("change", o);
|
24
25
|
}
|
25
26
|
});
|
26
|
-
return (o,
|
27
|
-
const
|
28
|
-
return g(), h(
|
29
|
-
"aria-label": e(
|
27
|
+
return (o, r) => {
|
28
|
+
const c = V("el-input-number");
|
29
|
+
return g(), h(c, {
|
30
|
+
"aria-label": e(U)(e(d).name, e(a).name),
|
30
31
|
"controls-position": "right",
|
31
|
-
disabled: e(
|
32
|
+
disabled: e(a).control.readonly,
|
32
33
|
onKeyup: v(e(p), ["enter", "native"]),
|
33
34
|
modelValue: e(t),
|
34
|
-
"onUpdate:modelValue":
|
35
|
+
"onUpdate:modelValue": r[0] || (r[0] = (i) => y(t) ? t.value = i : t = i)
|
35
36
|
}, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
|
36
37
|
};
|
37
38
|
}
|
@@ -1,6 +1,7 @@
|
|
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
|
-
|
1
|
+
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as y, isRef as K } from "vue";
|
2
|
+
import { t as k, j as x } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const R = /* @__PURE__ */ f({
|
4
5
|
__name: "Int",
|
5
6
|
props: {
|
6
7
|
schema: {},
|
@@ -11,11 +12,11 @@ const N = /* @__PURE__ */ f({
|
|
11
12
|
},
|
12
13
|
emits: ["change", "submit", "update:modelValue"],
|
13
14
|
setup(m, { emit: u }) {
|
14
|
-
let l = u, p = m, { table:
|
15
|
+
let l = u, p = m, { table: r, field: i, searchData: B, modelValue: s } = _(p), d = () => {
|
15
16
|
l("submit");
|
16
17
|
}, o = h({
|
17
18
|
get() {
|
18
|
-
return
|
19
|
+
return s.value;
|
19
20
|
},
|
20
21
|
set(t) {
|
21
22
|
isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
|
@@ -24,15 +25,15 @@ const N = /* @__PURE__ */ f({
|
|
24
25
|
return (t, n) => {
|
25
26
|
const c = b("el-input-number");
|
26
27
|
return V(), g(c, {
|
27
|
-
placeholder: e(
|
28
|
+
placeholder: e(k)("common.please_input") + e(x)(e(r).name, e(i).name),
|
28
29
|
"controls-position": "right",
|
29
|
-
onKeyup:
|
30
|
+
onKeyup: y(e(d), ["enter", "native"]),
|
30
31
|
modelValue: e(o),
|
31
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) =>
|
32
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => K(o) ? o.value = a : o = a)
|
32
33
|
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
33
34
|
};
|
34
35
|
}
|
35
36
|
});
|
36
37
|
export {
|
37
|
-
|
38
|
+
R as default
|
38
39
|
};
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import { defineComponent as K, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as V, resolveDynamicComponent as $, unref as t, withCtx as j, createElementVNode as A, toDisplayString as G } from "vue";
|
2
|
+
import { U as n, c as H, i as I, d, e as J, m as h } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const M = { class: "not-support" }, Y = /* @__PURE__ */ K({
|
5
|
+
__name: "List",
|
6
|
+
props: {
|
7
|
+
base: {},
|
8
|
+
route: {},
|
9
|
+
url: {},
|
10
|
+
win: {}
|
11
|
+
},
|
12
|
+
emits: ["load", "navigate"],
|
13
|
+
setup(b, { expose: R, emit: P }) {
|
14
|
+
let v = P, k = b, { url: p, base: g, route: u } = E(k), y = o(), s = o(), r = o(), f = o(), x = o(), i = o(), c = o(), q = (e) => {
|
15
|
+
let l = n.url.getPath(e), a = n.url.getPath(p.value);
|
16
|
+
return l != a;
|
17
|
+
}, C = (e) => {
|
18
|
+
let l = n.url.getPath(p.value), a = n.url.getPath(e);
|
19
|
+
return l != a;
|
20
|
+
}, S = (e) => {
|
21
|
+
var a;
|
22
|
+
let l = H(e.module.type, e.module.name);
|
23
|
+
I.setTitle(l, e.module.env), y.value = e.module, s.value = d.expandSchema(e.schema, e.set), r.value = (a = s.value) == null ? void 0 : a[0], f.value = e.next, x.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(s.value, u.value.query.condition);
|
24
|
+
}, m = (e = null, l = null) => {
|
25
|
+
let a = e ?? u.value.query, B = n.url.getUrl(u.value.path, a);
|
26
|
+
v("load", B, !1, l);
|
27
|
+
}, w = (e) => {
|
28
|
+
m(null, e);
|
29
|
+
}, D = (e) => {
|
30
|
+
v("navigate", e);
|
31
|
+
}, L = async (e) => {
|
32
|
+
let l = u.value.query;
|
33
|
+
l.condition = J.encode(c.value), m(l, e);
|
34
|
+
}, _ = () => {
|
35
|
+
m();
|
36
|
+
}, N = (e, l) => {
|
37
|
+
h.triggerKeyboard(i.value, e, l);
|
38
|
+
}, U = (e) => {
|
39
|
+
h.triggerSocket(i.value, e);
|
40
|
+
}, z = (e) => {
|
41
|
+
h.triggerResize(i.value, e);
|
42
|
+
};
|
43
|
+
return (() => {
|
44
|
+
S(g.value.data);
|
45
|
+
})(), F(() => g.value, (e) => {
|
46
|
+
S(e.data);
|
47
|
+
}), R({ shouldLoad: q, shouldSpin: C, onRefresh: _, onKeyboard: N, onSocket: U, onResize: z }), (e, l) => (T(), V($(`list-${t(r).layouts[0].type.toLowerCase()}`), {
|
48
|
+
ref_key: "listRef",
|
49
|
+
ref: i,
|
50
|
+
route: t(u),
|
51
|
+
module: t(y),
|
52
|
+
schema: t(s),
|
53
|
+
table: t(r),
|
54
|
+
layout: t(r).layouts[0],
|
55
|
+
next: t(f),
|
56
|
+
set: t(x),
|
57
|
+
"search-data": t(c),
|
58
|
+
onSucceed: t(w),
|
59
|
+
onSearch: t(L),
|
60
|
+
onNavigate: t(D),
|
61
|
+
onRefresh: t(_)
|
62
|
+
}, {
|
63
|
+
default: j(() => [
|
64
|
+
A("div", M, "未支持的列表布局方式:" + G(t(r).layouts[0].type), 1)
|
65
|
+
]),
|
66
|
+
_: 1
|
67
|
+
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
68
|
+
}
|
69
|
+
});
|
70
|
+
export {
|
71
|
+
Y as default
|
72
|
+
};
|
@@ -0,0 +1,20 @@
|
|
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-DxH9UW19.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.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
|
+
};
|
@@ -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-D89aQLxL.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-D89aQLxL.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,7 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as
|
2
|
-
import {
|
3
|
-
|
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-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const y = /* @__PURE__ */ i({
|
4
5
|
__name: "Month",
|
5
6
|
props: {
|
6
7
|
schema: {},
|
@@ -12,17 +13,17 @@ const x = /* @__PURE__ */ i({
|
|
12
13
|
},
|
13
14
|
emits: ["submit", "change", "update:modelValue"],
|
14
15
|
setup(n, { emit: r }) {
|
15
|
-
let
|
16
|
+
let t = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
|
16
17
|
get() {
|
17
18
|
return s.value;
|
18
19
|
},
|
19
|
-
set(
|
20
|
-
|
20
|
+
set(o) {
|
21
|
+
t("update:modelValue", o), t("change", o);
|
21
22
|
}
|
22
23
|
});
|
23
|
-
return (
|
24
|
-
const c =
|
25
|
-
return
|
24
|
+
return (o, m) => {
|
25
|
+
const c = h("el-date-picker");
|
26
|
+
return V(), b(c, {
|
26
27
|
type: "month",
|
27
28
|
placeholder: e(Y)(e(u).name, e(a).name),
|
28
29
|
"value-format": "YYYY-MM",
|
@@ -34,5 +35,5 @@ const x = /* @__PURE__ */ i({
|
|
34
35
|
}
|
35
36
|
});
|
36
37
|
export {
|
37
|
-
|
38
|
+
y as default
|
38
39
|
};
|
@@ -0,0 +1,38 @@
|
|
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-DxH9UW19.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
|
+
};
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { defineComponent as he, toRefs as fe, ref as
|
2
|
-
import {
|
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 H, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as k, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
|
2
|
+
import { w as K, d as N, f as ke, U as P, k as Q, t as Ce, j as we, J as xe } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-Cg1adLK7.js";
|
5
6
|
const Re = {
|
@@ -12,7 +13,7 @@ const Re = {
|
|
12
13
|
}, $e = {
|
13
14
|
key: 0,
|
14
15
|
class: "normal-selection"
|
15
|
-
}, ze = { class: "normal-content" },
|
16
|
+
}, ze = { class: "normal-content" }, qe = /* @__PURE__ */ he({
|
16
17
|
__name: "Normal",
|
17
18
|
props: {
|
18
19
|
route: {},
|
@@ -28,30 +29,30 @@ const Re = {
|
|
28
29
|
},
|
29
30
|
emits: ["change", "submit"],
|
30
31
|
setup(X, { expose: Y, emit: Z }) {
|
31
|
-
let M = Z, ee = X, { module: O, set: c, schema:
|
32
|
-
|
32
|
+
let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = fe(ee), p = x({ page: 1, count: c.value[t.value.name].length }), C = x([]), b = x(), A = x([]), T = x(), le = (l) => {
|
33
|
+
A.value.push(l);
|
33
34
|
}, te = () => {
|
34
35
|
p.value.page = 1;
|
35
36
|
}, ae = () => {
|
36
|
-
b.value =
|
37
|
-
let l =
|
37
|
+
b.value = J(t.value);
|
38
|
+
let l = N.getDefaultRow(t.value);
|
38
39
|
c.value[t.value.name].push(l);
|
39
40
|
}, ne = () => {
|
40
41
|
let l = c.value[t.value.name];
|
41
|
-
|
42
|
+
C.value.forEach((a) => {
|
42
43
|
l.splice(l.indexOf(a), 1);
|
43
|
-
}),
|
44
|
+
}), C.value = [], A.value.forEach((a) => {
|
44
45
|
a.model && (a.model = !1);
|
45
46
|
});
|
46
|
-
},
|
47
|
-
|
47
|
+
}, U = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
|
48
|
+
N.updateTooltip(o, u, v), M("change", l, a, o, u, v);
|
48
49
|
}, ue = (l, a) => {
|
49
|
-
l ?
|
50
|
+
l ? C.value.push(a) : P.array.remove(C.value, a);
|
50
51
|
}, re = (l) => {
|
51
52
|
M("submit", l);
|
52
53
|
}, se = (l, a = null) => {
|
53
54
|
p.value.page = l;
|
54
|
-
},
|
55
|
+
}, J = (l) => {
|
55
56
|
if (l.main || l.search.length == 0)
|
56
57
|
return null;
|
57
58
|
let a = {};
|
@@ -60,28 +61,28 @@ const Re = {
|
|
60
61
|
});
|
61
62
|
let o = {};
|
62
63
|
return o[l.name] = a, o;
|
63
|
-
},
|
64
|
-
b.value =
|
64
|
+
}, W = (l) => {
|
65
|
+
b.value = J(l);
|
65
66
|
}, me = () => {
|
66
67
|
F();
|
67
68
|
}, ce = (l) => {
|
68
|
-
|
69
|
+
W(l.schema[0]);
|
69
70
|
}, F = () => {
|
70
|
-
let l =
|
71
|
+
let l = T.value.clientWidth;
|
71
72
|
i.value.column = Math.ceil(l / 500);
|
72
73
|
}, ie = () => {
|
73
|
-
F(),
|
74
|
+
F(), W(t.value);
|
74
75
|
};
|
75
76
|
ge(() => {
|
76
77
|
ie();
|
77
78
|
});
|
78
|
-
let pe = E(() =>
|
79
|
+
let pe = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
|
79
80
|
if (!b.value)
|
80
81
|
return c.value[t.value.name];
|
81
82
|
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(($) => {
|
82
83
|
let f = !0;
|
83
|
-
for (let
|
84
|
-
let y = t.value.search[
|
84
|
+
for (let w = 0; w < t.value.search.length; w++) {
|
85
|
+
let y = t.value.search[w], s = $[y.name], h = l[y.name];
|
85
86
|
if (h) {
|
86
87
|
if (y.search == "Equals") {
|
87
88
|
if (s !== h) {
|
@@ -97,24 +98,24 @@ const Re = {
|
|
97
98
|
return f;
|
98
99
|
});
|
99
100
|
return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
|
100
|
-
}), ve = E(() =>
|
101
|
-
let l = t.value.main ? `/${t.value.name}` : `/${
|
102
|
-
return
|
101
|
+
}), ve = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
|
102
|
+
let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
|
103
|
+
return ke.getComponent(`${l}/update-child`, "partial", "update-child");
|
103
104
|
});
|
104
105
|
return B(() => c.value[t.value.name], (l, a) => {
|
105
|
-
let o = l.length, u = a.length, v =
|
106
|
+
let o = l.length, u = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.size);
|
106
107
|
(o > u || o < u && p.value.page > v) && (p.value.page = v);
|
107
|
-
}, { deep: !0 }), B(
|
108
|
+
}, { deep: !0 }), B(j, (l, a) => {
|
108
109
|
let o = l.find((u) => u.table == t.value.name);
|
109
110
|
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
|
110
111
|
}), B(t, (l, a) => {
|
111
112
|
F();
|
112
113
|
}), Y({ onResize: me, update: ce }), (l, a) => {
|
113
|
-
const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"),
|
114
|
+
const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), w = _("el-popover"), y = _("el-pagination");
|
114
115
|
return n(), d("div", {
|
115
116
|
ref_key: "normalRef",
|
116
|
-
ref:
|
117
|
-
class:
|
117
|
+
ref: T,
|
118
|
+
class: H(["ha-normal-layout", { draggable: e(i).sort }])
|
118
119
|
}, [
|
119
120
|
e(b) ? (n(), g($, {
|
120
121
|
key: 0,
|
@@ -131,12 +132,12 @@ const Re = {
|
|
131
132
|
key: q
|
132
133
|
}, {
|
133
134
|
default: m(() => [
|
134
|
-
|
135
|
+
k(o, {
|
135
136
|
label: r.label
|
136
137
|
}, {
|
137
138
|
default: m(() => [
|
138
|
-
|
139
|
-
schema: e(
|
139
|
+
k(e(Q), {
|
140
|
+
schema: e(D),
|
140
141
|
table: e(t),
|
141
142
|
field: r,
|
142
143
|
set: e(b),
|
@@ -154,12 +155,12 @@ const Re = {
|
|
154
155
|
]),
|
155
156
|
_: 1
|
156
157
|
})) : V("", !0),
|
157
|
-
e(
|
158
|
-
(n(!0), d(R, null, S(e(
|
159
|
-
class:
|
158
|
+
e(G).length ? (n(), d("div", Se, [
|
159
|
+
(n(!0), d(R, null, S(e(G), (s) => (n(), d("div", {
|
160
|
+
class: H(["normal-row", { main: e(t).main }])
|
160
161
|
}, [
|
161
162
|
e(t).main ? V("", !0) : (n(), d("div", $e, [
|
162
|
-
|
163
|
+
k(f, {
|
163
164
|
ref_for: !0,
|
164
165
|
ref: e(le),
|
165
166
|
class: "normal-checkbox",
|
@@ -175,17 +176,17 @@ const Re = {
|
|
175
176
|
key: `${e(t).name}.${r.name}`
|
176
177
|
}, {
|
177
178
|
default: m(() => [
|
178
|
-
|
179
|
-
style: _e(e(
|
179
|
+
k(o, {
|
180
|
+
style: _e(e(K).getStyle(r, e(O).type, e(i).type)),
|
180
181
|
label: r.label,
|
181
|
-
rules: e(
|
182
|
-
prop: `[${e(t).name}][${e(
|
182
|
+
rules: e(N).getRules(e(j), e(t), r, e(U)(s)),
|
183
|
+
prop: `[${e(t).name}][${e(U)(s)}][${r.name}]`
|
183
184
|
}, {
|
184
185
|
label: m(() => {
|
185
186
|
var z;
|
186
187
|
return [
|
187
|
-
be(I(e(
|
188
|
-
(z = r.control.tooltip) != null && z.content ? (n(), g(
|
188
|
+
be(I(e(we)(e(t).name, r.name)) + " ", 1),
|
189
|
+
(z = r.control.tooltip) != null && z.content ? (n(), g(w, {
|
189
190
|
key: 0,
|
190
191
|
trigger: "hover",
|
191
192
|
placement: "top",
|
@@ -203,8 +204,8 @@ const Re = {
|
|
203
204
|
];
|
204
205
|
}),
|
205
206
|
default: m(() => [
|
206
|
-
|
207
|
-
schema: e(
|
207
|
+
k(e(Q), {
|
208
|
+
schema: e(D),
|
208
209
|
set: e(c),
|
209
210
|
table: e(t),
|
210
211
|
row: s,
|
@@ -223,20 +224,20 @@ const Re = {
|
|
223
224
|
}, 1024))), 256))
|
224
225
|
])
|
225
226
|
], 2))), 256))
|
226
|
-
], 512)) : (n(), d("div", Re, I(e(
|
227
|
-
e(t).main ? V("", !0) : (n(), g(e(
|
227
|
+
], 512)) : (n(), d("div", Re, I(e(Ce)("common.no_data")), 1)),
|
228
|
+
e(t).main ? V("", !0) : (n(), g(e(xe), { key: 3 }, {
|
228
229
|
left: m(() => [
|
229
230
|
(n(), g(ye(e(de)), {
|
230
231
|
module: e(O),
|
231
232
|
set: e(c),
|
232
233
|
table: e(t),
|
233
|
-
selection: e(
|
234
|
+
selection: e(C),
|
234
235
|
onAdd: e(ae),
|
235
236
|
onRemove: e(ne)
|
236
237
|
}, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
|
237
238
|
]),
|
238
239
|
default: m(() => [
|
239
|
-
|
240
|
+
k(y, {
|
240
241
|
background: "",
|
241
242
|
layout: "total, prev, pager, next, jumper",
|
242
243
|
"current-page": e(p).page,
|
@@ -252,5 +253,5 @@ const Re = {
|
|
252
253
|
}
|
253
254
|
});
|
254
255
|
export {
|
255
|
-
|
256
|
+
qe as default
|
256
257
|
};
|