halo-pc 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-DASEvkfO.js +194 -0
- package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BSesl8iy.js} +17 -24
- package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-ClAQY5V5.js} +1 -1
- package/dist/Autocomplete-CzfOoMve.js +48 -0
- package/dist/Autocomplete-DToic2Cg.js +49 -0
- package/dist/{CSharp-BGzxI5QJ.js → CSharp-23QccebX.js} +1 -1
- package/dist/{Calender-DkBPl9bM.js → Calender-DZkQaIeV.js} +3 -3
- package/dist/Callback-CWBDUe_C.js +20 -0
- package/dist/Cascader-BDfFyqiv.js +41 -0
- package/dist/Cascader-CpD_hbhQ.js +81 -0
- package/dist/Checkbox--gCBkIuI.js +70 -0
- package/dist/{Checkbox-CuRjXSPc.js → Checkbox-SLi7MK1r.js} +1 -1
- package/dist/Code-BVTjF5rW.js +54 -0
- package/dist/{Code-BlwPnx9J.js → Code-C4hdU4t4.js} +1 -1
- package/dist/Code-CO4WPAe_.js +4 -0
- package/dist/Code-nrn4wOhB.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js +59 -0
- package/dist/Column-DcMAu4JL.js +68 -0
- package/dist/Comment-CPxVIapg.js +98 -0
- package/dist/Compare-C2oFy0EZ.js +56 -0
- package/dist/Compare-P9zOBC1v.js +26 -0
- package/dist/Copy-B5vrho98.js +43 -0
- package/dist/Custom-BETJLilj.js +51 -0
- package/dist/{DataExport-C0jItlVY.js → DataExport-YTc4EX6l.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-amvVzv4A.js} +34 -40
- package/dist/{DataImport-BfBkneEy.js → DataImport-ByV8MQkV.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CYwCKg5Z.js} +61 -66
- package/dist/{Date-B8b9JXpP.js → Date-DbTzQla9.js} +1 -1
- package/dist/Date-DpiWNuFs.js +37 -0
- package/dist/DateRange-Su0Q2cwY.js +57 -0
- package/dist/{DateTime-DjhuyxFC.js → DateTime-C3NrioJi.js} +1 -1
- package/dist/DateTime-QyKfqaVG.js +38 -0
- package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-lytkhCjC.js} +11 -18
- package/dist/Daterange-D7ZHkOmo.js +57 -0
- package/dist/{Decimal-DqMMTfvl.js → Decimal-CTTT98BQ.js} +1 -1
- package/dist/Delete-MfXy7gUi.js +56 -0
- package/dist/{Detail-C-OFWPso.js → Detail-CUiSzyT7.js} +16 -23
- package/dist/Dictionary-Dd_IU-Hn.js +55 -0
- package/dist/Email-BzN4JpJv.js +48 -0
- package/dist/{File-C2fLmTcj.js → File-Ckh37Ne2.js} +42 -49
- package/dist/Image-Dkd69DoD.js +9 -0
- package/dist/Index-CGJLRExG.js +4 -0
- package/dist/Index-CLzHDG05.js +4 -0
- package/dist/Index-DJJcNPgN.js +173 -0
- package/dist/{Index-B90giDWQ.js → Index-DlrpDUD3.js} +1 -1
- package/dist/Index-DxvVjg9S.js +70 -0
- package/dist/{Index-CQURvmzd.js → Index-G36KYPCK.js} +1 -1
- package/dist/Index-dTIwhIau.js +4 -0
- package/dist/{Index-D7DerkIw.js → Index-x4c71OJZ.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js} +16 -23
- package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-oQyBcgPa.js} +16 -23
- package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-DVYceMeD.js} +30 -36
- package/dist/{Install-Cqj44p9F.js → Install-BW_ulT9I.js} +20 -27
- package/dist/Int-BRqYiJo7.js +41 -0
- package/dist/{Int-Bj3Gagp5.js → Int-BYSjwPG_.js} +9 -16
- package/dist/List-DAFqVlam.js +73 -0
- package/dist/Maintaince-B8mM4PEp.js +14 -0
- package/dist/{Markdown-COY9enBf.js → Markdown-BXKlgSON.js} +1 -1
- package/dist/Month-BHvq72xE.js +37 -0
- package/dist/Month-BiW1DL44.js +38 -0
- package/dist/{Month-B7jIGlKI.js → Month-DKeTzNrD.js} +1 -1
- package/dist/{Normal-B8YL2DeI.js → Normal-CgSREifM.js} +52 -58
- package/dist/Paging-D02YApLL.js +94 -0
- package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-DJ7MmfGl.js} +37 -44
- package/dist/{PagingRow-CHDlm8UI.js → PagingRow-BM1GMtrr.js} +21 -28
- package/dist/QueryApi-ChpV_S8J.js +13 -0
- package/dist/{Racebar-ClsuYbRj.js → Racebar-CZlaC5Gm.js} +43 -49
- package/dist/{Radio-C6j5nvI9.js → Radio-BPq3WJa4.js} +1 -1
- package/dist/{Register-BnwfjjXP.js → Register-ByxrZyWq.js} +74 -80
- package/dist/RichText-BtQDAhn9.js +41 -0
- package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-B61gsy3w.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js} +1 -1
- package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CLvZoPGQ.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js} +34 -40
- package/dist/Select-C_afSAvf.js +111 -0
- package/dist/{Select-Z8b2t5QQ.js → Select-DGXJMnE9.js} +19 -26
- package/dist/{Select-BiFIpc5-.js → Select-Nb9K2FMY.js} +1 -1
- package/dist/{Single-DdcVVH9V.js → Single-C-2qA2MU.js} +111 -117
- package/dist/{Statistic-B7niMPBf.js → Statistic-B1K-qIZb.js} +30 -36
- package/dist/{Stock-CRsu1vcy.js → Stock-C560McFR.js} +1 -1
- package/dist/{Stock-xm8v4vDf.js → Stock-_rnn0B8I.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-BEwvRtU6.js} +26 -32
- package/dist/{Switch-BaER4xWy.js → Switch-BadvkLSw.js} +1 -1
- package/dist/{Table-a5uj25Nj.js → Table-B46N43V3.js} +69 -74
- package/dist/{Table-C2dYPoGi.js → Table-Dk48tQ1r.js} +59 -66
- package/dist/Text-CNF204mx.js +53 -0
- package/dist/Text-DblKaz4m.js +52 -0
- package/dist/Text-y-q7UXlg.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-DtnGWes5.js +53 -0
- package/dist/TextLink-B4Q0zX1K.js +59 -0
- package/dist/{Textarea-DAICkidp.js → Textarea-D1BOQFgK.js} +1 -1
- package/dist/Time-DZQxglEi.js +37 -0
- package/dist/Timeline-8QaD9H_I.js +53 -0
- package/dist/Tree-BUcyK0i_.js +117 -0
- package/dist/{Tree-BwQkDP2T.js → Tree-DVeTdmmL.js} +66 -72
- package/dist/TreeNode-BScAFHPZ.js +37 -0
- package/dist/{Update-BZe92EwV.js → Update-BbU5H_Qf.js} +14 -21
- package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-BbXuXfOR.js} +19 -26
- package/dist/Upload-C1obfZui.js +146 -0
- package/dist/Upload-CmtHETKR.js +67 -0
- package/dist/UploadApi-2sfpKCMa.js +13 -0
- package/dist/Year-CRd3PkNx.js +41 -0
- package/dist/{Year-2tcz8PDF.js → Year-CTo-9KjE.js} +1 -1
- package/dist/main-65efBfek.js +19835 -0
- package/dist/main.js +53 -54
- package/dist/style.css +1 -1
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/vite.config.d.ts +6 -0
- package/package.json +1 -1
- package/dist/Article-BH4dl6Bf.js +0 -201
- package/dist/Autocomplete-DYxWYClO.js +0 -55
- package/dist/Autocomplete-SOenNkH4.js +0 -54
- package/dist/Callback-B57W83N1.js +0 -27
- package/dist/Cascader-BI6T7N-q.js +0 -88
- package/dist/Cascader-BoN_F8v4.js +0 -48
- package/dist/Checkbox-DdolP6wO.js +0 -77
- package/dist/Code--y8oCkjX.js +0 -43
- package/dist/Code-C48Gf7gU.js +0 -61
- package/dist/Code-DiOQvIZv.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js +0 -66
- package/dist/Column-BNGw36Iq.js +0 -75
- package/dist/Comment-D37SdQb6.js +0 -105
- package/dist/Compare-C09T8aaU.js +0 -33
- package/dist/Compare-CnnCTG12.js +0 -63
- package/dist/Copy-DNrXXJRQ.js +0 -50
- package/dist/Custom--I04Jyzr.js +0 -58
- package/dist/Date-TKW4HbCJ.js +0 -44
- package/dist/DateRange-JCP1Eokf.js +0 -64
- package/dist/DateTime-DVOVXS_f.js +0 -45
- package/dist/Daterange-CqHXC9JN.js +0 -64
- package/dist/Delete-PcTE_3Cp.js +0 -63
- package/dist/Dictionary-Cfhmc2OQ.js +0 -60
- package/dist/Email-Rj-ZvdfJ.js +0 -55
- package/dist/Image-zgBgvAup.js +0 -9
- package/dist/Index-9fyKz8TT.js +0 -4
- package/dist/Index-CAlWNb2l.js +0 -179
- package/dist/Index-CjFLlnmH.js +0 -4
- package/dist/Index-Cr2WAY6Z.js +0 -76
- package/dist/Index-Izl4chSJ.js +0 -4
- package/dist/Int-dlbcQ6_t.js +0 -47
- package/dist/List-BsAOvgmQ.js +0 -80
- package/dist/Maintaince-DjSvIfbu.js +0 -21
- package/dist/Month-BhNUuzcc.js +0 -44
- package/dist/Month-KDuTRSA0.js +0 -45
- package/dist/Paging-BlFnu-w0.js +0 -100
- package/dist/QueryApi-Bc_kmvgs.js +0 -21
- package/dist/RichText-BImFNkHQ.js +0 -48
- package/dist/Select-f15Y0Ko-.js +0 -118
- package/dist/Text-CMEzogZ8.js +0 -4
- package/dist/Text-CqKE2xDo.js +0 -59
- package/dist/Text-DfqLW_KH.js +0 -60
- package/dist/Text.vue_vue_type_style_index_0_lang-BNpeGb1c.js +0 -60
- package/dist/TextLink-XJurKE8Q.js +0 -66
- package/dist/Time-BmdIHgOY.js +0 -44
- package/dist/Timeline-BOPAiaK-.js +0 -60
- package/dist/Tree-BR8gmBBa.js +0 -123
- package/dist/TreeNode-CdBVgaRW.js +0 -43
- package/dist/Upload-BtErvzEO.js +0 -151
- package/dist/Upload-vPTA8ndw.js +0 -73
- package/dist/UploadApi-CpwS4Kf1.js +0 -21
- package/dist/Year-CVqwpSLR.js +0 -48
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/state-local-CEworIRt.js +0 -131
- 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/assets/vue-i18n-CLr3brPz.js +0 -1670
- package/dist/main-BS_9gx1M.js +0 -8937
@@ -1,15 +1,8 @@
|
|
1
|
-
import { defineComponent as k, toRefs as D, ref as N, openBlock as
|
2
|
-
import "./
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import { v as F } from "./main-BS_9gx1M.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as k, toRefs as D, ref as N, openBlock as r, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
+
import { j } from "./main-65efBfek.js";
|
10
3
|
import "vue-router";
|
11
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
12
|
-
const
|
5
|
+
const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
13
6
|
__name: "Index",
|
14
7
|
props: {
|
15
8
|
searchData: {},
|
@@ -21,8 +14,8 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
21
14
|
set: {}
|
22
15
|
},
|
23
16
|
emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
|
24
|
-
setup(c, { expose:
|
25
|
-
let o =
|
17
|
+
setup(c, { expose: u, emit: i }) {
|
18
|
+
let o = i, g = c, { module: h, schema: m, table: s, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
|
26
19
|
o("navigate", a, t);
|
27
20
|
}, C = (a, t) => {
|
28
21
|
o("sort", a, t);
|
@@ -39,7 +32,7 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
39
32
|
}, S = (a) => {
|
40
33
|
o("layout-change", a);
|
41
34
|
};
|
42
|
-
return
|
35
|
+
return u({ resize: (a) => {
|
43
36
|
if (!n.value || !n.value.resize)
|
44
37
|
return !1;
|
45
38
|
n.value.resize(a);
|
@@ -47,20 +40,20 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
47
40
|
if (!n.value || !n.value.keyboard)
|
48
41
|
return !1;
|
49
42
|
n.value.keyboard(a, t);
|
50
|
-
} }), (a, t) => (
|
51
|
-
R(e(
|
43
|
+
} }), (a, t) => (r(), B(L, null, [
|
44
|
+
R(e(j), {
|
52
45
|
layout: e(l),
|
53
|
-
table: e(
|
46
|
+
table: e(s),
|
54
47
|
onLayoutChange: e(S)
|
55
48
|
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
56
|
-
(
|
49
|
+
(r(), w(E(`paging-${e(l).type.toLowerCase()}`), {
|
57
50
|
ref_key: "pagingRef",
|
58
51
|
ref: n,
|
59
|
-
module: e(
|
60
|
-
schema: e(
|
61
|
-
table: e(
|
52
|
+
module: e(h),
|
53
|
+
schema: e(m),
|
54
|
+
table: e(s),
|
62
55
|
layout: e(l),
|
63
|
-
next: e(
|
56
|
+
next: e(p),
|
64
57
|
set: e(d),
|
65
58
|
"search-data": e(y),
|
66
59
|
onNavigate: e(f),
|
@@ -72,7 +65,7 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
72
65
|
onClose: e(z)
|
73
66
|
}, {
|
74
67
|
default: P(() => [
|
75
|
-
V("div",
|
68
|
+
V("div", F, "未支持的分页布局方式:" + $(e(l).type), 1)
|
76
69
|
]),
|
77
70
|
_: 1
|
78
71
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
@@ -80,5 +73,5 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
80
73
|
}
|
81
74
|
});
|
82
75
|
export {
|
83
|
-
|
76
|
+
K as _
|
84
77
|
};
|
@@ -1,15 +1,8 @@
|
|
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
|
2
|
-
import "./
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import { v as F, t as I } from "./main-BS_9gx1M.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
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 U, toDisplayString as V } from "vue";
|
2
|
+
import { j as $, U as j } from "./main-65efBfek.js";
|
10
3
|
import "vue-router";
|
11
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
12
|
-
const
|
5
|
+
const F = { class: "not-support" }, G = /* @__PURE__ */ x({
|
13
6
|
__name: "Index",
|
14
7
|
props: {
|
15
8
|
route: {},
|
@@ -22,8 +15,8 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
|
|
22
15
|
set: {}
|
23
16
|
},
|
24
17
|
emits: ["layout-change", "row-edit", "change", "submit"],
|
25
|
-
setup(
|
26
|
-
let o = m,
|
18
|
+
setup(s, { expose: i, emit: m }) {
|
19
|
+
let o = m, d = s, { module: c, schema: p, table: r, layout: a, next: y, set: h } = E(d), l = R(), f = (t) => {
|
27
20
|
o("layout-change", t);
|
28
21
|
}, g = (t, n, w) => {
|
29
22
|
o("row-edit", t, n, w);
|
@@ -33,23 +26,23 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
|
|
33
26
|
o("submit", t);
|
34
27
|
}, v = (t) => {
|
35
28
|
}, C = (t) => {
|
36
|
-
if (!
|
29
|
+
if (!l.value || !l.value.resize)
|
37
30
|
return !1;
|
38
|
-
|
31
|
+
l.value.resize(t);
|
39
32
|
};
|
40
33
|
return k(() => {
|
41
|
-
}),
|
42
|
-
L(e(
|
34
|
+
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
35
|
+
L(e($), {
|
43
36
|
layout: e(a),
|
44
|
-
table: e(
|
37
|
+
table: e(r),
|
45
38
|
onLayoutChange: e(f)
|
46
39
|
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
47
40
|
(u(), S(D(`update-${e(a).type.toLowerCase()}`), {
|
48
41
|
ref_key: "layoutRef",
|
49
|
-
ref:
|
50
|
-
module: e(
|
51
|
-
schema: e(
|
52
|
-
table: e(
|
42
|
+
ref: l,
|
43
|
+
module: e(c),
|
44
|
+
schema: e(p),
|
45
|
+
table: e(r),
|
53
46
|
layout: e(a),
|
54
47
|
next: e(y),
|
55
48
|
set: e(h),
|
@@ -60,7 +53,7 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
|
|
60
53
|
onSubmit: e(b)
|
61
54
|
}, {
|
62
55
|
default: N(() => [
|
63
|
-
|
56
|
+
U("div", F, V(e(j)("single.not_supported_layout", e(a).type)), 1)
|
64
57
|
]),
|
65
58
|
_: 1
|
66
59
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
@@ -68,5 +61,5 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
|
|
68
61
|
}
|
69
62
|
});
|
70
63
|
export {
|
71
|
-
|
64
|
+
G as _
|
72
65
|
};
|
@@ -1,15 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./
|
3
|
-
import { S as $, t as j } from "./main-BS_9gx1M.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as U, defineAsyncComponent as E, toRefs as I, ref as z, computed as k, resolveComponent as w, openBlock as n, createElementBlock as _, Fragment as g, unref as e, createBlock as h, withCtx as d, createElementVNode as x, createVNode as v, resolveDynamicComponent as A, toDisplayString as C, createTextVNode as F, createCommentVNode as X } from "vue";
|
2
|
+
import { X as $, U as j } from "./main-65efBfek.js";
|
9
3
|
const q = { class: "text-popover" }, G = {
|
10
4
|
key: 2,
|
11
5
|
class: "control-operation"
|
12
|
-
},
|
6
|
+
}, K = /* @__PURE__ */ U({
|
13
7
|
__name: "Index",
|
14
8
|
props: {
|
15
9
|
schema: {},
|
@@ -21,12 +15,12 @@ const q = { class: "text-popover" }, G = {
|
|
21
15
|
},
|
22
16
|
emits: ["submit", "change"],
|
23
17
|
setup(V, { emit: B }) {
|
24
|
-
let y =
|
25
|
-
},
|
18
|
+
let y = E(() => import("./Index-DxvVjg9S.js")), N = B, R = V, { schema: a, table: c, field: t, set: i, row: o, config: l } = I(R), s = z(), D = () => {
|
19
|
+
}, S = (r) => {
|
26
20
|
N("submit", r);
|
27
21
|
}, b = k(() => {
|
28
|
-
var
|
29
|
-
if ((
|
22
|
+
var f, p;
|
23
|
+
if ((p = (f = l == null ? void 0 : l.value) == null ? void 0 : f.control) != null && p.type)
|
30
24
|
return l.value.control.type;
|
31
25
|
let r = t.value.control;
|
32
26
|
if (r.typeBy != null) {
|
@@ -36,11 +30,11 @@ const q = { class: "text-popover" }, G = {
|
|
36
30
|
}
|
37
31
|
return r.type;
|
38
32
|
}), T = k(() => `control-${$.getDashName(b.value)}`);
|
39
|
-
return (r,
|
40
|
-
const
|
33
|
+
return (r, m) => {
|
34
|
+
const f = w("el-popover"), p = w("el-link");
|
41
35
|
return n(), _(g, null, [
|
42
36
|
e(t).control.textualize ? (n(), _(g, { key: 0 }, [
|
43
|
-
e(t).control.popover ? (n(), h(
|
37
|
+
e(t).control.popover ? (n(), h(f, {
|
44
38
|
key: 0,
|
45
39
|
trigger: "hover",
|
46
40
|
placement: "top",
|
@@ -50,11 +44,11 @@ const q = { class: "text-popover" }, G = {
|
|
50
44
|
x("div", q, [
|
51
45
|
v(e(y), {
|
52
46
|
ref_key: "controlRef",
|
53
|
-
ref:
|
47
|
+
ref: s,
|
54
48
|
schema: e(a),
|
55
|
-
table: e(
|
49
|
+
table: e(c),
|
56
50
|
field: e(t),
|
57
|
-
set: e(
|
51
|
+
set: e(i),
|
58
52
|
row: e(o),
|
59
53
|
config: e(l)
|
60
54
|
}, null, 8, ["schema", "table", "field", "set", "row", "config"])
|
@@ -63,11 +57,11 @@ const q = { class: "text-popover" }, G = {
|
|
63
57
|
default: d(() => [
|
64
58
|
v(e(y), {
|
65
59
|
ref_key: "controlRef",
|
66
|
-
ref:
|
60
|
+
ref: s,
|
67
61
|
schema: e(a),
|
68
|
-
table: e(
|
62
|
+
table: e(c),
|
69
63
|
field: e(t),
|
70
|
-
set: e(
|
64
|
+
set: e(i),
|
71
65
|
row: e(o),
|
72
66
|
config: e(l)
|
73
67
|
}, null, 8, ["schema", "table", "field", "set", "row", "config"])
|
@@ -76,27 +70,27 @@ const q = { class: "text-popover" }, G = {
|
|
76
70
|
}, 8, ["width"])) : (n(), h(e(y), {
|
77
71
|
key: 1,
|
78
72
|
ref_key: "controlRef",
|
79
|
-
ref:
|
73
|
+
ref: s,
|
80
74
|
schema: e(a),
|
81
|
-
table: e(
|
75
|
+
table: e(c),
|
82
76
|
field: e(t),
|
83
|
-
set: e(
|
77
|
+
set: e(i),
|
84
78
|
row: e(o),
|
85
79
|
config: e(l)
|
86
80
|
}, null, 8, ["schema", "table", "field", "set", "row", "config"]))
|
87
|
-
], 64)) : (n(), h(
|
81
|
+
], 64)) : (n(), h(A(e(T)), {
|
88
82
|
key: 1,
|
89
83
|
ref_key: "controlRef",
|
90
|
-
ref:
|
84
|
+
ref: s,
|
91
85
|
schema: e(a),
|
92
|
-
table: e(
|
86
|
+
table: e(c),
|
93
87
|
field: e(t),
|
94
|
-
set: e(
|
88
|
+
set: e(i),
|
95
89
|
row: e(o),
|
96
|
-
onSubmit: e(
|
97
|
-
onClear: e(
|
90
|
+
onSubmit: e(S),
|
91
|
+
onClear: e(D),
|
98
92
|
modelValue: e(o)[e(t).name],
|
99
|
-
"onUpdate:modelValue":
|
93
|
+
"onUpdate:modelValue": m[0] || (m[0] = (u) => e(o)[e(t).name] = u)
|
100
94
|
}, {
|
101
95
|
default: d(() => [
|
102
96
|
x("div", null, C(e(j)("common.unsupported_control", e(b))), 1)
|
@@ -104,20 +98,20 @@ const q = { class: "text-popover" }, G = {
|
|
104
98
|
_: 1
|
105
99
|
}, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
|
106
100
|
e(t).operation ? (n(), _("div", G, [
|
107
|
-
v(
|
101
|
+
v(p, {
|
108
102
|
type: "primary",
|
109
103
|
underline: !1
|
110
104
|
}, {
|
111
105
|
default: d(() => [
|
112
|
-
|
106
|
+
F(C(e(t).operation.name), 1)
|
113
107
|
]),
|
114
108
|
_: 1
|
115
109
|
})
|
116
|
-
])) :
|
110
|
+
])) : X("", !0)
|
117
111
|
], 64);
|
118
112
|
};
|
119
113
|
}
|
120
114
|
});
|
121
115
|
export {
|
122
|
-
|
116
|
+
K as _
|
123
117
|
};
|
@@ -1,21 +1,14 @@
|
|
1
|
-
import { defineComponent as k, ref as
|
2
|
-
import "./
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import { J as T, h as U } from "./main-BS_9gx1M.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
|
2
|
+
import { y as U, L as w } from "./main-65efBfek.js";
|
10
3
|
import "vue-router";
|
11
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
12
|
-
const
|
5
|
+
const E = { class: "option-text" }, L = {
|
13
6
|
key: 0,
|
14
7
|
class: "option-suffix"
|
15
|
-
},
|
8
|
+
}, F = /* @__PURE__ */ k({
|
16
9
|
__name: "Install",
|
17
10
|
setup(O) {
|
18
|
-
let o =
|
11
|
+
let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
19
12
|
{ value: "SqlServer", text: "SqlServer" },
|
20
13
|
{ value: "MySql", text: "MySql" },
|
21
14
|
{ value: "Mongo", text: "Mongo" },
|
@@ -23,10 +16,10 @@ const w = { class: "option-text" }, E = {
|
|
23
16
|
{ value: "Oracle", text: "Oracle" },
|
24
17
|
{ value: "Trino", text: "Trino" }
|
25
18
|
]), V = () => {
|
26
|
-
u.value = !0,
|
19
|
+
u.value = !0, i.value.validate((_, n) => {
|
27
20
|
if (!_)
|
28
21
|
return u.value = !1, !1;
|
29
|
-
|
22
|
+
w.post("/app/install", o.value).then(({ data: p }) => {
|
30
23
|
}).finally(() => {
|
31
24
|
u.value = !1;
|
32
25
|
});
|
@@ -34,8 +27,8 @@ const w = { class: "option-text" }, E = {
|
|
34
27
|
};
|
35
28
|
return C(() => {
|
36
29
|
}), (_, n) => {
|
37
|
-
const
|
38
|
-
return
|
30
|
+
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");
|
31
|
+
return d(), f(l(U), {
|
39
32
|
class: "ha-install",
|
40
33
|
title: "数据库信息"
|
41
34
|
}, {
|
@@ -45,18 +38,18 @@ const w = { class: "option-text" }, E = {
|
|
45
38
|
default: t(() => [
|
46
39
|
a(b, {
|
47
40
|
ref_key: "formRef",
|
48
|
-
ref:
|
41
|
+
ref: i,
|
49
42
|
model: l(o),
|
50
43
|
"label-width": "80px"
|
51
44
|
}, {
|
52
45
|
default: t(() => [
|
53
|
-
a(
|
46
|
+
a(s, {
|
54
47
|
label: "名称",
|
55
48
|
prop: "name",
|
56
49
|
rules: [{ required: !0, message: "数据库名不能为空" }]
|
57
50
|
}, {
|
58
51
|
default: t(() => [
|
59
|
-
a(
|
52
|
+
a(p, {
|
60
53
|
type: "text",
|
61
54
|
modelValue: l(o).name,
|
62
55
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
|
@@ -64,7 +57,7 @@ const w = { class: "option-text" }, E = {
|
|
64
57
|
]),
|
65
58
|
_: 1
|
66
59
|
}),
|
67
|
-
a(
|
60
|
+
a(s, {
|
68
61
|
label: "类型",
|
69
62
|
prop: "type",
|
70
63
|
rules: [{ required: !0, message: "数据库类型不能为空" }]
|
@@ -75,14 +68,14 @@ const w = { class: "option-text" }, E = {
|
|
75
68
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
76
69
|
}, {
|
77
70
|
default: t(() => [
|
78
|
-
(
|
71
|
+
(d(!0), v(M, null, N(l(y), (e) => (d(), f(S, {
|
79
72
|
value: e.value,
|
80
73
|
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
81
74
|
key: `${e.value}`
|
82
75
|
}, {
|
83
76
|
default: t(() => [
|
84
|
-
|
85
|
-
e.value ? (
|
77
|
+
B("span", E, x(e.text), 1),
|
78
|
+
e.value ? (d(), v("span", L, "(" + x(e.value) + ")", 1)) : T("", !0)
|
86
79
|
]),
|
87
80
|
_: 2
|
88
81
|
}, 1032, ["value", "label"]))), 128))
|
@@ -92,13 +85,13 @@ const w = { class: "option-text" }, E = {
|
|
92
85
|
]),
|
93
86
|
_: 1
|
94
87
|
}),
|
95
|
-
a(
|
88
|
+
a(s, {
|
96
89
|
label: "连接串",
|
97
90
|
prop: "conn",
|
98
91
|
rules: [{ required: !0, message: "数据库连接串不能为空" }]
|
99
92
|
}, {
|
100
93
|
default: t(() => [
|
101
|
-
a(
|
94
|
+
a(p, {
|
102
95
|
type: "textarea",
|
103
96
|
modelValue: l(o).conn,
|
104
97
|
"onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
|
@@ -106,7 +99,7 @@ const w = { class: "option-text" }, E = {
|
|
106
99
|
]),
|
107
100
|
_: 1
|
108
101
|
}),
|
109
|
-
a(
|
102
|
+
a(s, null, {
|
110
103
|
default: t(() => [
|
111
104
|
a(q, {
|
112
105
|
type: "primary",
|
@@ -131,5 +124,5 @@ const w = { class: "option-text" }, E = {
|
|
131
124
|
}
|
132
125
|
});
|
133
126
|
export {
|
134
|
-
|
127
|
+
F as default
|
135
128
|
};
|
@@ -0,0 +1,41 @@
|
|
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 { X as K, z as k } from "./main-65efBfek.js";
|
3
|
+
const B = /* @__PURE__ */ c({
|
4
|
+
__name: "Int",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(r, { emit: i }) {
|
15
|
+
let l = i, s = r, { table: d, field: n, set: w, modelValue: a } = f(s), p = () => {
|
16
|
+
l("submit");
|
17
|
+
}, t = _({
|
18
|
+
get() {
|
19
|
+
if (K.isNumber(a.value))
|
20
|
+
return a.value;
|
21
|
+
},
|
22
|
+
set(o) {
|
23
|
+
l("update:modelValue", o), l("change", o);
|
24
|
+
}
|
25
|
+
});
|
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),
|
30
|
+
"controls-position": "right",
|
31
|
+
disabled: e(n).control.readonly,
|
32
|
+
onKeyup: v(e(p), ["enter", "native"]),
|
33
|
+
modelValue: e(t),
|
34
|
+
"onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
|
35
|
+
}, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
|
36
|
+
};
|
37
|
+
}
|
38
|
+
});
|
39
|
+
export {
|
40
|
+
B as default
|
41
|
+
};
|
@@ -1,13 +1,6 @@
|
|
1
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 "./
|
3
|
-
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import { t as k, f as x } from "./main-BS_9gx1M.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
-
const v = /* @__PURE__ */ f({
|
2
|
+
import { U, q as k } from "./main-65efBfek.js";
|
3
|
+
const C = /* @__PURE__ */ f({
|
11
4
|
__name: "Int",
|
12
5
|
props: {
|
13
6
|
schema: {},
|
@@ -17,29 +10,29 @@ const v = /* @__PURE__ */ f({
|
|
17
10
|
modelValue: {}
|
18
11
|
},
|
19
12
|
emits: ["change", "submit", "update:modelValue"],
|
20
|
-
setup(
|
21
|
-
let l =
|
13
|
+
setup(m, { emit: u }) {
|
14
|
+
let l = u, s = m, { table: p, field: r, searchData: q, modelValue: i } = _(s), d = () => {
|
22
15
|
l("submit");
|
23
16
|
}, o = h({
|
24
17
|
get() {
|
25
|
-
return
|
18
|
+
return i.value;
|
26
19
|
},
|
27
20
|
set(t) {
|
28
21
|
isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
|
29
22
|
}
|
30
23
|
});
|
31
|
-
return (t,
|
24
|
+
return (t, n) => {
|
32
25
|
const c = b("el-input-number");
|
33
26
|
return V(), g(c, {
|
34
|
-
placeholder: e(
|
27
|
+
placeholder: e(U)("common.please_input") + e(k)(e(p).name, e(r).name),
|
35
28
|
"controls-position": "right",
|
36
29
|
onKeyup: y(e(d), ["enter", "native"]),
|
37
30
|
modelValue: e(o),
|
38
|
-
"onUpdate:modelValue":
|
31
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => K(o) ? o.value = a : o = a)
|
39
32
|
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
40
33
|
};
|
41
34
|
}
|
42
35
|
});
|
43
36
|
export {
|
44
|
-
|
37
|
+
C as default
|
45
38
|
};
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import { defineComponent as B, toRefs as W, ref as u, watch as E, openBlock as F, createBlock as G, resolveDynamicComponent as T, unref as t, withCtx as U, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
+
import { W as s, b as j, G as A, s as d, l as H } from "./main-65efBfek.js";
|
3
|
+
const I = { class: "not-support" }, O = /* @__PURE__ */ B({
|
4
|
+
__name: "List",
|
5
|
+
props: {
|
6
|
+
base: {},
|
7
|
+
route: {},
|
8
|
+
url: {},
|
9
|
+
win: {}
|
10
|
+
},
|
11
|
+
emits: ["load", "navigate"],
|
12
|
+
setup(_, { expose: S, emit: P }) {
|
13
|
+
let h = P, k = _, { url: m, base: p, route: r } = W(k), f = u(), i = u(), n = u(), y = u(), g = u(), o = u(), c = u(), q = (e) => {
|
14
|
+
let l = s.getPath(e), a = s.getPath(m.value);
|
15
|
+
return l != a;
|
16
|
+
}, C = (e) => {
|
17
|
+
let l = s.getPath(m.value), a = s.getPath(e);
|
18
|
+
return l != a;
|
19
|
+
}, x = (e) => {
|
20
|
+
var a;
|
21
|
+
let l = j(e.module.type, e.module.name);
|
22
|
+
A.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema), n.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, r.value.query.condition);
|
23
|
+
}, v = (e = null, l = null) => {
|
24
|
+
let a = e ?? r.value.query, N = s.getUrl(r.value.path, a);
|
25
|
+
h("load", N, !1, l);
|
26
|
+
}, R = (e) => {
|
27
|
+
v(null, e);
|
28
|
+
}, w = (e) => {
|
29
|
+
h("navigate", e);
|
30
|
+
}, D = async (e) => {
|
31
|
+
let l = r.value.query;
|
32
|
+
l.condition = H.encode(c.value), v(l, e);
|
33
|
+
}, b = () => {
|
34
|
+
v();
|
35
|
+
}, z = (e, l) => {
|
36
|
+
if (!o.value || !o.value.keyboard)
|
37
|
+
return !1;
|
38
|
+
o.value.keyboard(e, l);
|
39
|
+
}, L = (e) => {
|
40
|
+
if (!o.value || !o.value.resize)
|
41
|
+
return !1;
|
42
|
+
o.value.resize(e);
|
43
|
+
};
|
44
|
+
return (() => {
|
45
|
+
x(p.value.data);
|
46
|
+
})(), E(() => p.value, (e) => {
|
47
|
+
x(e.data);
|
48
|
+
}), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), G(T(`list-${t(n).layouts[0].type.toLowerCase()}`), {
|
49
|
+
ref_key: "listRef",
|
50
|
+
ref: o,
|
51
|
+
route: t(r),
|
52
|
+
module: t(f),
|
53
|
+
schema: t(i),
|
54
|
+
table: t(n),
|
55
|
+
layout: t(n).layouts[0],
|
56
|
+
next: t(y),
|
57
|
+
set: t(g),
|
58
|
+
"search-data": t(c),
|
59
|
+
onSucceed: t(R),
|
60
|
+
onSearch: t(D),
|
61
|
+
onNavigate: t(w),
|
62
|
+
onRefresh: t(b)
|
63
|
+
}, {
|
64
|
+
default: U(() => [
|
65
|
+
V("div", I, "未支持的列表布局方式:" + $(t(n).layouts[0].type), 1)
|
66
|
+
]),
|
67
|
+
_: 1
|
68
|
+
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
69
|
+
}
|
70
|
+
});
|
71
|
+
export {
|
72
|
+
O as default
|
73
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { defineComponent as t, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as s, unref as c } from "vue";
|
2
|
+
import { m as i } from "./main-65efBfek.js";
|
3
|
+
const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" }, u = /* @__PURE__ */ t({
|
4
|
+
__name: "Maintaince",
|
5
|
+
setup(d) {
|
6
|
+
return (m, l) => (n(), o("div", a, [
|
7
|
+
r,
|
8
|
+
e("div", _, s(c(i)), 1)
|
9
|
+
]));
|
10
|
+
}
|
11
|
+
});
|
12
|
+
export {
|
13
|
+
u 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-y-q7UXlg.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),
|