halo-pc 1.0.27 → 1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CTqryR4L.js → Article-N3ZaJaLc.js} +75 -70
- package/dist/{ArticleFooter-BumGH5nC.js → ArticleFooter-sspAOJuS.js} +23 -17
- package/dist/Autocomplete-CD6CsF2X.js +54 -0
- package/dist/{Autocomplete-BNx0bErM.js → Autocomplete-DY6OaWAK.js} +1 -1
- package/dist/Autocomplete-DkkUx0lx.js +53 -0
- package/dist/{CSharp-Dt6H75E9.js → CSharp-BwNnAf8e.js} +1 -1
- package/dist/{Calender-DhKZyJri.js → Calender-VwwIDi3Q.js} +1 -1
- package/dist/Callback-BRrShVCU.js +26 -0
- package/dist/Cascader-CurlPJsQ.js +87 -0
- package/dist/Cascader-i3KkCfFF.js +47 -0
- package/dist/{Checkbox-C-iEGB0k.js → Checkbox-Bk98RtL7.js} +1 -1
- package/dist/Checkbox-CNMzO79X.js +76 -0
- package/dist/Code-BdDjNSqs.js +42 -0
- package/dist/{Code-Q_6THgGl.js → Code-C4XPPKO8.js} +1 -1
- package/dist/{Code-JtSSnUWC.js → Code-CRH4WNXz.js} +1 -1
- package/dist/Code-CqA6bVSZ.js +60 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-Dkdu_fcm.js +65 -0
- package/dist/Column-BCz-Xp-3.js +75 -0
- package/dist/Comment-BoOQfrxv.js +104 -0
- package/dist/Compare-ChJu8LUo.js +44 -0
- package/dist/{Compare-DZVrBYEh.js → Compare-DxOXRPzs.js} +25 -19
- package/dist/Copy-DBUSr3OW.js +49 -0
- package/dist/Custom-CNQIPMHT.js +57 -0
- package/dist/{DataExport-DSz5371s.js → DataExport-B-0vVYMT.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js → DataExport.vue_vue_type_script_setup_true_lang-BvyBbSLP.js} +41 -36
- package/dist/{DataImport-CX7G70a7.js → DataImport-ApAPTQcq.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-CKd0CAf_.js +176 -0
- package/dist/Date-BnRTPDSJ.js +43 -0
- package/dist/{Date-ytWe2gz8.js → Date-gMmfQ3pA.js} +1 -1
- package/dist/DateRange-BPQ2TOXk.js +63 -0
- package/dist/DateTime-CsZdXjmB.js +44 -0
- package/dist/{DateTime-p6YgmtGd.js → DateTime-Cz09I2-B.js} +1 -1
- package/dist/{DateTimeRange-DGobnXqs.js → DateTimeRange-DPjTS-A2.js} +17 -11
- package/dist/Daterange-DCyMLI8G.js +63 -0
- package/dist/{Decimal-BvyzJq1c.js → Decimal-Cpz-_Ef3.js} +1 -1
- package/dist/Delete-Di56R5Tf.js +62 -0
- package/dist/{Detail-DZJ0aUFr.js → Detail-DP1ReSaw.js} +22 -17
- package/dist/Dictionary-B8OMis9G.js +59 -0
- package/dist/Email-CCZH8SDT.js +54 -0
- package/dist/{File-BEBElTSS.js → File-BUw6o5UN.js} +32 -27
- package/dist/{Image-DDK05SW7.js → Image-DBjqi76B.js} +1 -1
- package/dist/Index-B6sevgc6.js +4 -0
- package/dist/{Index-DPwdcUO4.js → Index-BDVj7Dy2.js} +1 -1
- package/dist/Index-CZYVZtFI.js +178 -0
- package/dist/Index-Cch9emdC.js +4 -0
- package/dist/Index-CfpZf8By.js +4 -0
- package/dist/Index-Cn3HXkPm.js +4 -0
- package/dist/{Index-CuEyzMd0.js → Index-DuKtMNgH.js} +25 -20
- package/dist/{Index-BiF8qEWf.js → Index-Z8dMl0cU.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js → Index.vue_vue_type_script_setup_true_lang-BJJPNo3Y.js} +20 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js → Index.vue_vue_type_script_setup_true_lang-DCxwPrIZ.js} +17 -12
- package/dist/{Install-CxuoWpHC.js → Install-CNE0J2Q9.js} +27 -22
- package/dist/Int-C5AxmjK0.js +46 -0
- package/dist/Int-RoCJiPje.js +44 -0
- package/dist/List-DJuE2QHL.js +79 -0
- package/dist/Maintaince-CdqWSHAZ.js +20 -0
- package/dist/{Markdown-x1hASyA-.js → Markdown-DKyCVBYy.js} +1 -1
- package/dist/{Month-Bb0tgF-k.js → Month-BfSG37wf.js} +1 -1
- package/dist/Month-OH6snasK.js +43 -0
- package/dist/Month-iU9F-vQ5.js +44 -0
- package/dist/{Normal-CYmy5sN7.js → Normal-DPJQ_Ds5.js} +70 -66
- package/dist/Paging-CYU3sSbD.js +99 -0
- package/dist/{PagingHeader-DWbFl1do.js → PagingHeader-CgWbC7R1.js} +30 -24
- package/dist/{PagingRow-CR2N1vgm.js → PagingRow-Y8lG-1cI.js} +26 -20
- package/dist/QueryApi-C3h4tWd0.js +20 -0
- package/dist/{Racebar-BsgDK6Zf.js → Racebar-CtFYJKrh.js} +42 -37
- package/dist/{Radio-B3Af-uZE.js → Radio-Bz2SE_FO.js} +1 -1
- package/dist/{Register-Cwr3iIZm.js → Register-CiK44o2W.js} +44 -40
- package/dist/RichText-BkhW8muI.js +47 -0
- package/dist/{SearchFooter-DiILcc_U.js → SearchFooter-D6O_c5DS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js → SearchFooter.vue_vue_type_style_index_0_lang-BDe_uXW2.js} +1 -1
- package/dist/{SearchForm-BOw_kHs2.js → SearchForm-CZjHSE1s.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js → SearchForm.vue_vue_type_style_index_0_lang-CVeFjNjG.js} +40 -36
- package/dist/Select-BEgPZsaR.js +117 -0
- package/dist/Select-CY1CA4pv.js +86 -0
- package/dist/{Select-BdYG1KQE.js → Select-FFqI2hOh.js} +1 -1
- package/dist/{Single-DqCIZBIB.js → Single-BQRWqAOH.js} +103 -99
- package/dist/{Statistic-B9ZcUUk1.js → Statistic-CyqoTZZj.js} +37 -33
- package/dist/{Stock-BnBNtuo7.js → Stock-N57DPrDl.js} +1 -1
- package/dist/{Stock-BiSr7zAF.js → Stock-negSF4zD.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js → Stock.vue_vue_type_style_index_0_lang-BuxuI7Wg.js} +31 -26
- package/dist/{Switch-BE4dQcja.js → Switch-g5K9zh4g.js} +1 -1
- package/dist/{Table-CaH_zu8W.js → Table-CHKHAajT.js} +77 -74
- package/dist/{Table-e0uLPRLG.js → Table-nB7wA6gP.js} +78 -73
- package/dist/{Text-BAw88r5O.js → Text-7oaEmWun.js} +19 -13
- package/dist/Text-BefOYKkr.js +4 -0
- package/dist/{Text-BDAob4mp.js → Text-KKwYRpSW.js} +21 -15
- package/dist/Text.vue_vue_type_style_index_0_lang-BrmC8Xhc.js +59 -0
- package/dist/TextLink-DoArgh5L.js +65 -0
- package/dist/{Textarea-CU5PjIoa.js → Textarea-DEvxrKMK.js} +1 -1
- package/dist/Time-D8Ikb-KB.js +43 -0
- package/dist/Timeline-BEt6ygzA.js +59 -0
- package/dist/{Tree-D-v632h1.js → Tree-caBJzrZQ.js} +105 -101
- package/dist/Tree-ftxBqmRQ.js +122 -0
- package/dist/TreeNode-XITOvihe.js +42 -0
- package/dist/{Update-DRAFce7_.js → Update-JgTiZCDi.js} +20 -15
- package/dist/{UpdateChild-DMC0FG4Z.js → UpdateChild-y0OPiT92.js} +23 -17
- package/dist/Upload-BlnOvJFg.js +150 -0
- package/dist/Upload-kUYBfIS2.js +72 -0
- package/dist/UploadApi-RRAsIVG7.js +20 -0
- package/dist/{Year-CpcMBvQ7.js → Year-C2_kuiZX.js} +1 -1
- package/dist/Year-Cre43mQI.js +47 -0
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/main-KTzfgTac.js +9105 -0
- package/dist/main.js +139 -140
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/Autocomplete-C9RS9-qw.js +0 -48
- package/dist/Autocomplete-DIucpEpj.js +0 -49
- package/dist/Callback-D6G_933H.js +0 -20
- package/dist/Cascader-C6t8Q18c.js +0 -41
- package/dist/Cascader-F_XWwXKY.js +0 -81
- package/dist/Checkbox-ipHs0O-8.js +0 -70
- package/dist/Code-DKtqow6y.js +0 -36
- package/dist/Code-LeguA9RL.js +0 -54
- package/dist/Code.vue_vue_type_style_index_0_lang-DmeXbg91.js +0 -59
- package/dist/Column-BeQwafyN.js +0 -70
- package/dist/Comment-DIcCHP9F.js +0 -98
- package/dist/Compare-Dzqm7kPE.js +0 -38
- package/dist/Copy-iLieXx22.js +0 -43
- package/dist/Custom-BGtEDHlD.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js +0 -172
- package/dist/Date-CNOCOcNz.js +0 -37
- package/dist/DateRange-CaIiObxN.js +0 -57
- package/dist/DateTime-CH6J1GoP.js +0 -38
- package/dist/Daterange-BUSKAGlK.js +0 -57
- package/dist/Delete-BeFC0gjD.js +0 -57
- package/dist/Dictionary-CsBiv-CI.js +0 -55
- package/dist/Email-Dwa6x3jW.js +0 -48
- package/dist/Index-Bpe7pY2Z.js +0 -4
- package/dist/Index-CUYQxzNd.js +0 -174
- package/dist/Index-DMnL8F7Y.js +0 -4
- package/dist/Index-DNG25ox2.js +0 -4
- package/dist/Index-DqUNI6MV.js +0 -4
- package/dist/Int-BFv18KXi.js +0 -38
- package/dist/Int-C0ijmdYS.js +0 -41
- package/dist/List-CfQzWq_5.js +0 -74
- package/dist/Maintaince-BzDEwQcU.js +0 -14
- package/dist/Month-Bp_Pfi_b.js +0 -37
- package/dist/Month-CKkjwzza.js +0 -38
- package/dist/Paging-DpoBp7x_.js +0 -95
- package/dist/QueryApi-VwISnk96.js +0 -13
- package/dist/RichText-CNahMrfb.js +0 -41
- package/dist/Select-BeNZqAP1.js +0 -112
- package/dist/Select-CqOE6uI8.js +0 -80
- package/dist/Text-5803XWI6.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js +0 -53
- package/dist/TextLink-TYXcDAlo.js +0 -59
- package/dist/Time-Dd-Trib4.js +0 -37
- package/dist/Timeline-D6LCIkQp.js +0 -53
- package/dist/Tree-BKmFZrK3.js +0 -118
- package/dist/TreeNode-L_A5ZKy0.js +0 -37
- package/dist/Upload-DJRh4a7g.js +0 -68
- package/dist/Upload-Ozg_nOpI.js +0 -147
- package/dist/UploadApi-DVx69g-F.js +0 -13
- package/dist/Year-D7XGe2So.js +0 -41
- package/dist/assets/halo-fe-B-NiIGas.js +0 -12088
- package/dist/main-DB_sVyZe.js +0 -3620
@@ -1,6 +1,11 @@
|
|
1
|
-
import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as
|
2
|
-
import
|
3
|
-
|
1
|
+
import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import { S, t as x } from "./main-KTzfgTac.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const L = /* @__PURE__ */ C({
|
4
9
|
__name: "Index",
|
5
10
|
props: {
|
6
11
|
schema: {},
|
@@ -11,38 +16,38 @@ const A = /* @__PURE__ */ C({
|
|
11
16
|
config: {}
|
12
17
|
},
|
13
18
|
emits: ["submit", "change"],
|
14
|
-
setup(
|
15
|
-
let
|
19
|
+
setup(g, { emit: B }) {
|
20
|
+
let V = D(() => import("./TextLink-DoArgh5L.js")), k = g, { schema: u, table: s, field: l, set: i, row: r, config: m } = N(k), p = d(() => {
|
16
21
|
let o = l.value.control.type;
|
17
22
|
return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
|
18
|
-
}), _ =
|
23
|
+
}), _ = d(() => `text-${S.getDashName(p.value)}`), t = d({
|
19
24
|
get() {
|
20
|
-
return
|
25
|
+
return r.value[l.value.name];
|
21
26
|
},
|
22
27
|
set(o) {
|
23
|
-
|
28
|
+
r.value[l.value.name] = o;
|
24
29
|
}
|
25
30
|
});
|
26
|
-
return (o,
|
31
|
+
return (o, a) => e(l).link ? (c(), f(e(V), {
|
27
32
|
key: 0,
|
28
33
|
schema: e(u),
|
29
34
|
table: e(s),
|
30
35
|
field: e(l),
|
31
|
-
set: e(
|
32
|
-
row: e(
|
36
|
+
set: e(i),
|
37
|
+
row: e(r)
|
33
38
|
}, {
|
34
39
|
default: v(() => [
|
35
40
|
(c(), f(y(e(_)), {
|
36
41
|
schema: e(u),
|
37
42
|
table: e(s),
|
38
43
|
field: e(l),
|
39
|
-
set: e(
|
40
|
-
row: e(
|
44
|
+
set: e(i),
|
45
|
+
row: e(r),
|
41
46
|
modelValue: e(t),
|
42
|
-
"onUpdate:modelValue":
|
47
|
+
"onUpdate:modelValue": a[0] || (a[0] = (n) => b(t) ? t.value = n : t = n)
|
43
48
|
}, {
|
44
49
|
default: v(() => [
|
45
|
-
w("div", null, h(e(x)("common.unsupported_text_control", e(
|
50
|
+
w("div", null, h(e(x)("common.unsupported_text_control", e(p))), 1)
|
46
51
|
]),
|
47
52
|
_: 1
|
48
53
|
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
@@ -53,18 +58,18 @@ const A = /* @__PURE__ */ C({
|
|
53
58
|
schema: e(u),
|
54
59
|
table: e(s),
|
55
60
|
field: e(l),
|
56
|
-
set: e(
|
57
|
-
row: e(
|
61
|
+
set: e(i),
|
62
|
+
row: e(r),
|
58
63
|
modelValue: e(t),
|
59
|
-
"onUpdate:modelValue":
|
64
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => b(t) ? t.value = n : t = n)
|
60
65
|
}, {
|
61
66
|
default: v(() => [
|
62
|
-
w("div", null, h(e(x)("common.unsupported_text_control", e(
|
67
|
+
w("div", null, h(e(x)("common.unsupported_text_control", e(p))), 1)
|
63
68
|
]),
|
64
69
|
_: 1
|
65
70
|
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
66
71
|
}
|
67
72
|
});
|
68
73
|
export {
|
69
|
-
|
74
|
+
L as default
|
70
75
|
};
|
@@ -1,10 +1,15 @@
|
|
1
1
|
import { defineComponent as x, toRefs as E, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
-
import
|
3
|
-
import
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { q, t as F } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
4
9
|
import "vue-router";
|
5
10
|
import "element-plus";
|
6
11
|
import "./assets/intro.js-DxWjEdp_.js";
|
7
|
-
const
|
12
|
+
const I = { class: "not-support" }, U = /* @__PURE__ */ x({
|
8
13
|
__name: "Index",
|
9
14
|
props: {
|
10
15
|
route: {},
|
@@ -17,8 +22,8 @@ const M = { class: "not-support" }, K = /* @__PURE__ */ x({
|
|
17
22
|
set: {}
|
18
23
|
},
|
19
24
|
emits: ["layout-change", "row-edit", "change", "submit"],
|
20
|
-
setup(
|
21
|
-
let o = m,
|
25
|
+
setup(i, { expose: s, emit: m }) {
|
26
|
+
let o = m, p = i, { module: d, schema: c, table: l, layout: a, next: y, set: h } = E(p), r = R(), f = (t) => {
|
22
27
|
o("layout-change", t);
|
23
28
|
}, g = (t, n, w) => {
|
24
29
|
o("row-edit", t, n, w);
|
@@ -28,23 +33,23 @@ const M = { class: "not-support" }, K = /* @__PURE__ */ x({
|
|
28
33
|
o("submit", t);
|
29
34
|
}, v = (t) => {
|
30
35
|
}, C = (t) => {
|
31
|
-
if (!
|
36
|
+
if (!r.value || !r.value.resize)
|
32
37
|
return !1;
|
33
|
-
|
38
|
+
r.value.resize(t);
|
34
39
|
};
|
35
40
|
return k(() => {
|
36
|
-
}),
|
37
|
-
L(e(
|
41
|
+
}), s({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
42
|
+
L(e(q), {
|
38
43
|
layout: e(a),
|
39
|
-
table: e(
|
44
|
+
table: e(l),
|
40
45
|
onLayoutChange: e(f)
|
41
46
|
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
42
47
|
(u(), S(D(`update-${e(a).type.toLowerCase()}`), {
|
43
48
|
ref_key: "layoutRef",
|
44
|
-
ref:
|
45
|
-
module: e(
|
49
|
+
ref: r,
|
50
|
+
module: e(d),
|
46
51
|
schema: e(c),
|
47
|
-
table: e(
|
52
|
+
table: e(l),
|
48
53
|
layout: e(a),
|
49
54
|
next: e(y),
|
50
55
|
set: e(h),
|
@@ -55,7 +60,7 @@ const M = { class: "not-support" }, K = /* @__PURE__ */ x({
|
|
55
60
|
onSubmit: e(b)
|
56
61
|
}, {
|
57
62
|
default: N(() => [
|
58
|
-
V("div",
|
63
|
+
V("div", I, $(e(F)("single.not_supported_layout", e(a).type)), 1)
|
59
64
|
]),
|
60
65
|
_: 1
|
61
66
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
@@ -63,5 +68,5 @@ const M = { class: "not-support" }, K = /* @__PURE__ */ x({
|
|
63
68
|
}
|
64
69
|
});
|
65
70
|
export {
|
66
|
-
|
71
|
+
U as _
|
67
72
|
};
|
@@ -1,10 +1,15 @@
|
|
1
1
|
import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
-
import "./assets/
|
3
|
-
import
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { q } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
4
9
|
import "vue-router";
|
5
10
|
import "element-plus";
|
6
11
|
import "./assets/intro.js-DxWjEdp_.js";
|
7
|
-
const
|
12
|
+
const F = { class: "not-support" }, X = /* @__PURE__ */ k({
|
8
13
|
__name: "Index",
|
9
14
|
props: {
|
10
15
|
searchData: {},
|
@@ -16,8 +21,8 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
|
16
21
|
set: {}
|
17
22
|
},
|
18
23
|
emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
|
19
|
-
setup(c, { expose:
|
20
|
-
let o =
|
24
|
+
setup(c, { expose: i, emit: u }) {
|
25
|
+
let o = u, g = c, { module: m, schema: p, table: r, layout: l, next: h, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
|
21
26
|
o("navigate", a, t);
|
22
27
|
}, C = (a, t) => {
|
23
28
|
o("sort", a, t);
|
@@ -34,7 +39,7 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
|
34
39
|
}, S = (a) => {
|
35
40
|
o("layout-change", a);
|
36
41
|
};
|
37
|
-
return
|
42
|
+
return i({ resize: (a) => {
|
38
43
|
if (!n.value || !n.value.resize)
|
39
44
|
return !1;
|
40
45
|
n.value.resize(a);
|
@@ -43,7 +48,7 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
|
43
48
|
return !1;
|
44
49
|
n.value.keyboard(a, t);
|
45
50
|
} }), (a, t) => (s(), B(L, null, [
|
46
|
-
R(e(
|
51
|
+
R(e(q), {
|
47
52
|
layout: e(l),
|
48
53
|
table: e(r),
|
49
54
|
onLayoutChange: e(S)
|
@@ -51,11 +56,11 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
|
51
56
|
(s(), w(E(`paging-${e(l).type.toLowerCase()}`), {
|
52
57
|
ref_key: "pagingRef",
|
53
58
|
ref: n,
|
54
|
-
module: e(
|
55
|
-
schema: e(
|
59
|
+
module: e(m),
|
60
|
+
schema: e(p),
|
56
61
|
table: e(r),
|
57
62
|
layout: e(l),
|
58
|
-
next: e(
|
63
|
+
next: e(h),
|
59
64
|
set: e(d),
|
60
65
|
"search-data": e(y),
|
61
66
|
onNavigate: e(f),
|
@@ -67,7 +72,7 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
|
67
72
|
onClose: e(z)
|
68
73
|
}, {
|
69
74
|
default: P(() => [
|
70
|
-
V("div",
|
75
|
+
V("div", F, "未支持的分页布局方式:" + $(e(l).type), 1)
|
71
76
|
]),
|
72
77
|
_: 1
|
73
78
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
@@ -75,5 +80,5 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
|
75
80
|
}
|
76
81
|
});
|
77
82
|
export {
|
78
|
-
|
83
|
+
X as _
|
79
84
|
};
|
@@ -1,16 +1,21 @@
|
|
1
|
-
import { defineComponent as k, ref as
|
2
|
-
import
|
3
|
-
import
|
1
|
+
import { defineComponent as k, ref as s, onMounted as C, resolveComponent as r, openBlock as p, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as h, toDisplayString as x, createCommentVNode as B } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { K as T, h as U } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
4
9
|
import "element-plus";
|
5
10
|
import "vue-router";
|
6
11
|
import "./assets/intro.js-DxWjEdp_.js";
|
7
12
|
const w = { class: "option-text" }, E = {
|
8
13
|
key: 0,
|
9
14
|
class: "option-suffix"
|
10
|
-
},
|
15
|
+
}, H = /* @__PURE__ */ k({
|
11
16
|
__name: "Install",
|
12
17
|
setup(O) {
|
13
|
-
let o =
|
18
|
+
let o = s({ name: null, type: "SqlServer", conn: null }), u = s(!1), d = s(), y = s([
|
14
19
|
{ value: "SqlServer", text: "SqlServer" },
|
15
20
|
{ value: "MySql", text: "MySql" },
|
16
21
|
{ value: "Mongo", text: "Mongo" },
|
@@ -18,19 +23,19 @@ const w = { class: "option-text" }, E = {
|
|
18
23
|
{ value: "Oracle", text: "Oracle" },
|
19
24
|
{ value: "Trino", text: "Trino" }
|
20
25
|
]), V = () => {
|
21
|
-
u.value = !0,
|
22
|
-
if (!
|
26
|
+
u.value = !0, d.value.validate((_, n) => {
|
27
|
+
if (!_)
|
23
28
|
return u.value = !1, !1;
|
24
|
-
U.post("/app/install", o.value).then(({ data:
|
29
|
+
U.post("/app/install", o.value).then(({ data: i }) => {
|
25
30
|
}).finally(() => {
|
26
31
|
u.value = !1;
|
27
32
|
});
|
28
33
|
});
|
29
34
|
};
|
30
35
|
return C(() => {
|
31
|
-
}), (
|
32
|
-
const
|
33
|
-
return
|
36
|
+
}), (_, n) => {
|
37
|
+
const i = r("el-input"), m = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
|
38
|
+
return p(), f(l(T), {
|
34
39
|
class: "ha-install",
|
35
40
|
title: "数据库信息"
|
36
41
|
}, {
|
@@ -40,18 +45,18 @@ const w = { class: "option-text" }, E = {
|
|
40
45
|
default: t(() => [
|
41
46
|
a(b, {
|
42
47
|
ref_key: "formRef",
|
43
|
-
ref:
|
48
|
+
ref: d,
|
44
49
|
model: l(o),
|
45
50
|
"label-width": "80px"
|
46
51
|
}, {
|
47
52
|
default: t(() => [
|
48
|
-
a(
|
53
|
+
a(m, {
|
49
54
|
label: "名称",
|
50
55
|
prop: "name",
|
51
56
|
rules: [{ required: !0, message: "数据库名不能为空" }]
|
52
57
|
}, {
|
53
58
|
default: t(() => [
|
54
|
-
a(
|
59
|
+
a(i, {
|
55
60
|
type: "text",
|
56
61
|
modelValue: l(o).name,
|
57
62
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
|
@@ -59,7 +64,7 @@ const w = { class: "option-text" }, E = {
|
|
59
64
|
]),
|
60
65
|
_: 1
|
61
66
|
}),
|
62
|
-
a(
|
67
|
+
a(m, {
|
63
68
|
label: "类型",
|
64
69
|
prop: "type",
|
65
70
|
rules: [{ required: !0, message: "数据库类型不能为空" }]
|
@@ -70,14 +75,14 @@ const w = { class: "option-text" }, E = {
|
|
70
75
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
71
76
|
}, {
|
72
77
|
default: t(() => [
|
73
|
-
(
|
78
|
+
(p(!0), v(M, null, N(l(y), (e) => (p(), f(S, {
|
74
79
|
value: e.value,
|
75
80
|
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
76
81
|
key: `${e.value}`
|
77
82
|
}, {
|
78
83
|
default: t(() => [
|
79
|
-
|
80
|
-
e.value ? (
|
84
|
+
h("span", w, x(e.text), 1),
|
85
|
+
e.value ? (p(), v("span", E, "(" + x(e.value) + ")", 1)) : B("", !0)
|
81
86
|
]),
|
82
87
|
_: 2
|
83
88
|
}, 1032, ["value", "label"]))), 128))
|
@@ -87,13 +92,13 @@ const w = { class: "option-text" }, E = {
|
|
87
92
|
]),
|
88
93
|
_: 1
|
89
94
|
}),
|
90
|
-
a(
|
95
|
+
a(m, {
|
91
96
|
label: "连接串",
|
92
97
|
prop: "conn",
|
93
98
|
rules: [{ required: !0, message: "数据库连接串不能为空" }]
|
94
99
|
}, {
|
95
100
|
default: t(() => [
|
96
|
-
a(
|
101
|
+
a(i, {
|
97
102
|
type: "textarea",
|
98
103
|
modelValue: l(o).conn,
|
99
104
|
"onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
|
@@ -101,7 +106,7 @@ const w = { class: "option-text" }, E = {
|
|
101
106
|
]),
|
102
107
|
_: 1
|
103
108
|
}),
|
104
|
-
a(
|
109
|
+
a(m, null, {
|
105
110
|
default: t(() => [
|
106
111
|
a(q, {
|
107
112
|
type: "primary",
|
@@ -126,5 +131,5 @@ const w = { class: "option-text" }, E = {
|
|
126
131
|
}
|
127
132
|
});
|
128
133
|
export {
|
129
|
-
|
134
|
+
H as default
|
130
135
|
};
|
@@ -0,0 +1,46 @@
|
|
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 "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import { S as K, j as k } from "./main-KTzfgTac.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const I = /* @__PURE__ */ b({
|
9
|
+
__name: "Int",
|
10
|
+
props: {
|
11
|
+
schema: {},
|
12
|
+
table: {},
|
13
|
+
field: {},
|
14
|
+
set: {},
|
15
|
+
row: {},
|
16
|
+
modelValue: {}
|
17
|
+
},
|
18
|
+
emits: ["submit", "change", "update:modelValue"],
|
19
|
+
setup(i, { emit: u }) {
|
20
|
+
let l = u, p = i, { table: s, field: r, set: w, modelValue: a } = f(p), d = () => {
|
21
|
+
l("submit");
|
22
|
+
}, t = _({
|
23
|
+
get() {
|
24
|
+
if (K.isNumber(a.value))
|
25
|
+
return a.value;
|
26
|
+
},
|
27
|
+
set(o) {
|
28
|
+
l("update:modelValue", o), l("change", o);
|
29
|
+
}
|
30
|
+
});
|
31
|
+
return (o, n) => {
|
32
|
+
const c = V("el-input-number");
|
33
|
+
return g(), h(c, {
|
34
|
+
"aria-label": e(k)(e(s).name, e(r).name),
|
35
|
+
"controls-position": "right",
|
36
|
+
disabled: e(r).control.readonly,
|
37
|
+
onKeyup: v(e(d), ["enter", "native"]),
|
38
|
+
modelValue: e(t),
|
39
|
+
"onUpdate:modelValue": n[0] || (n[0] = (m) => y(t) ? t.value = m : t = m)
|
40
|
+
}, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
|
41
|
+
};
|
42
|
+
}
|
43
|
+
});
|
44
|
+
export {
|
45
|
+
I as default
|
46
|
+
};
|
@@ -0,0 +1,44 @@
|
|
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 "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { t as k, f as x } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const q = /* @__PURE__ */ f({
|
10
|
+
__name: "Int",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
searchData: {},
|
16
|
+
modelValue: {}
|
17
|
+
},
|
18
|
+
emits: ["change", "submit", "update:modelValue"],
|
19
|
+
setup(a, { emit: p }) {
|
20
|
+
let l = p, r = a, { table: i, field: u, searchData: B, modelValue: s } = _(r), d = () => {
|
21
|
+
l("submit");
|
22
|
+
}, o = h({
|
23
|
+
get() {
|
24
|
+
return s.value;
|
25
|
+
},
|
26
|
+
set(t) {
|
27
|
+
isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
|
28
|
+
}
|
29
|
+
});
|
30
|
+
return (t, m) => {
|
31
|
+
const c = b("el-input-number");
|
32
|
+
return V(), g(c, {
|
33
|
+
placeholder: e(k)("common.please_input") + e(x)(e(i).name, e(u).name),
|
34
|
+
"controls-position": "right",
|
35
|
+
onKeyup: y(e(d), ["enter", "native"]),
|
36
|
+
modelValue: e(o),
|
37
|
+
"onUpdate:modelValue": m[0] || (m[0] = (n) => K(o) ? o.value = n : o = n)
|
38
|
+
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
39
|
+
};
|
40
|
+
}
|
41
|
+
});
|
42
|
+
export {
|
43
|
+
q as default
|
44
|
+
};
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import { defineComponent as U, toRefs as B, ref as r, watch as E, openBlock as F, createBlock as H, resolveDynamicComponent as T, unref as t, withCtx as V, createElementVNode as $, toDisplayString as j } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import { U as n, b as A, i as G, s as v, c as I } from "./main-KTzfgTac.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const J = { class: "not-support" }, te = /* @__PURE__ */ U({
|
10
|
+
__name: "List",
|
11
|
+
props: {
|
12
|
+
base: {},
|
13
|
+
route: {},
|
14
|
+
url: {},
|
15
|
+
win: {}
|
16
|
+
},
|
17
|
+
emits: ["load", "navigate"],
|
18
|
+
setup(_, { expose: S, emit: P }) {
|
19
|
+
let d = P, k = _, { url: h, base: p, route: u } = B(k), f = r(), i = r(), s = r(), y = r(), g = r(), o = r(), c = r(), q = (e) => {
|
20
|
+
let l = n.getPath(e), a = n.getPath(h.value);
|
21
|
+
return l != a;
|
22
|
+
}, C = (e) => {
|
23
|
+
let l = n.getPath(h.value), a = n.getPath(e);
|
24
|
+
return l != a;
|
25
|
+
}, x = (e) => {
|
26
|
+
var a;
|
27
|
+
let l = A(e.module.type, e.module.name);
|
28
|
+
G.setTitle(l, e.module.env), f.value = e.module, i.value = v.expandSchema(e.schema, e.set), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = v.expandSet(e.schema, e.set), c.value = v.getConditionForm(i.value, u.value.query.condition);
|
29
|
+
}, m = (e = null, l = null) => {
|
30
|
+
let a = e ?? u.value.query, N = n.getUrl(u.value.path, a);
|
31
|
+
d("load", N, !1, l);
|
32
|
+
}, R = (e) => {
|
33
|
+
m(null, e);
|
34
|
+
}, w = (e) => {
|
35
|
+
d("navigate", e);
|
36
|
+
}, D = async (e) => {
|
37
|
+
let l = u.value.query;
|
38
|
+
l.condition = I.encode(c.value), m(l, e);
|
39
|
+
}, b = () => {
|
40
|
+
m();
|
41
|
+
}, z = (e, l) => {
|
42
|
+
if (!o.value || !o.value.keyboard)
|
43
|
+
return !1;
|
44
|
+
o.value.keyboard(e, l);
|
45
|
+
}, L = (e) => {
|
46
|
+
if (!o.value || !o.value.resize)
|
47
|
+
return !1;
|
48
|
+
o.value.resize(e);
|
49
|
+
};
|
50
|
+
return (() => {
|
51
|
+
x(p.value.data);
|
52
|
+
})(), E(() => p.value, (e) => {
|
53
|
+
x(e.data);
|
54
|
+
}), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), H(T(`list-${t(s).layouts[0].type.toLowerCase()}`), {
|
55
|
+
ref_key: "listRef",
|
56
|
+
ref: o,
|
57
|
+
route: t(u),
|
58
|
+
module: t(f),
|
59
|
+
schema: t(i),
|
60
|
+
table: t(s),
|
61
|
+
layout: t(s).layouts[0],
|
62
|
+
next: t(y),
|
63
|
+
set: t(g),
|
64
|
+
"search-data": t(c),
|
65
|
+
onSucceed: t(R),
|
66
|
+
onSearch: t(D),
|
67
|
+
onNavigate: t(w),
|
68
|
+
onRefresh: t(b)
|
69
|
+
}, {
|
70
|
+
default: V(() => [
|
71
|
+
$("div", J, "未支持的列表布局方式:" + j(t(s).layouts[0].type), 1)
|
72
|
+
]),
|
73
|
+
_: 1
|
74
|
+
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
75
|
+
}
|
76
|
+
});
|
77
|
+
export {
|
78
|
+
te as default
|
79
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { defineComponent as e, openBlock as o, createElementBlock as i, createElementVNode as t, toDisplayString as n, unref as r } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { B as s } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const c = { class: "maintenance" }, a = /* @__PURE__ */ t("div", { class: "title" }, "系统维护中", -1), m = { class: "description" }, x = /* @__PURE__ */ e({
|
10
|
+
__name: "Maintaince",
|
11
|
+
setup(p) {
|
12
|
+
return (_, d) => (o(), i("div", c, [
|
13
|
+
a,
|
14
|
+
t("div", m, n(r(s)), 1)
|
15
|
+
]));
|
16
|
+
}
|
17
|
+
});
|
18
|
+
export {
|
19
|
+
x 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-BefOYKkr.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-BefOYKkr.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),
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { k as Y } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const U = /* @__PURE__ */ c({
|
10
|
+
__name: "Month",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
searchData: {},
|
16
|
+
modelValue: {}
|
17
|
+
},
|
18
|
+
emits: ["submit", "change", "update:modelValue"],
|
19
|
+
setup(p, { emit: d }) {
|
20
|
+
let l = d, n = p, { table: i, field: a, searchData: g, modelValue: u } = f(n), o = _({
|
21
|
+
get() {
|
22
|
+
return u.value;
|
23
|
+
},
|
24
|
+
set(t) {
|
25
|
+
l("update:modelValue", t), l("change", t);
|
26
|
+
}
|
27
|
+
});
|
28
|
+
return (t, m) => {
|
29
|
+
const s = h("el-date-picker");
|
30
|
+
return V(), b(s, {
|
31
|
+
type: "month",
|
32
|
+
placeholder: e(Y)(e(i).name, e(a).name),
|
33
|
+
"value-format": "YYYY-MM",
|
34
|
+
disabled: e(a).control.readonly,
|
35
|
+
modelValue: e(o),
|
36
|
+
"onUpdate:modelValue": m[0] || (m[0] = (r) => k(o) ? o.value = r : o = r)
|
37
|
+
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
38
|
+
};
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
U as default
|
43
|
+
};
|