halo-pc 1.0.26 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-BNacU3kR.js → Article-CTqryR4L.js} +18 -17
- package/dist/{ArticleFooter-Ya07aLYn.js → ArticleFooter-BumGH5nC.js} +1 -1
- package/dist/{Autocomplete-CyXE-g54.js → Autocomplete-BNx0bErM.js} +1 -1
- package/dist/{Autocomplete-Bud53PPx.js → Autocomplete-C9RS9-qw.js} +3 -3
- package/dist/{Autocomplete-CfE5ZKi2.js → Autocomplete-DIucpEpj.js} +3 -3
- package/dist/{CSharp-DQLgcbTQ.js → CSharp-Dt6H75E9.js} +1 -1
- package/dist/{Calender-YujFxcgS.js → Calender-DhKZyJri.js} +1 -1
- package/dist/{Callback-BaFg5U2u.js → Callback-D6G_933H.js} +1 -1
- package/dist/{Cascader-C1kyNib7.js → Cascader-C6t8Q18c.js} +1 -1
- package/dist/{Cascader-D5PO9zK9.js → Cascader-F_XWwXKY.js} +3 -3
- package/dist/{Checkbox-Dkqh7eR4.js → Checkbox-C-iEGB0k.js} +1 -1
- package/dist/{Checkbox-CUtyT8l7.js → Checkbox-ipHs0O-8.js} +1 -1
- package/dist/{Code-pe9JMCAj.js → Code-DKtqow6y.js} +4 -4
- package/dist/{Code-Dszcah6J.js → Code-JtSSnUWC.js} +1 -1
- package/dist/{Code-C160-nQS.js → Code-LeguA9RL.js} +1 -1
- package/dist/Code-Q_6THgGl.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js → Code.vue_vue_type_style_index_0_lang-DmeXbg91.js} +5 -5
- package/dist/{Column-C3j98RGT.js → Column-BeQwafyN.js} +16 -15
- package/dist/{Comment-DIrY0RiI.js → Comment-DIcCHP9F.js} +1 -1
- package/dist/{Compare-DKLN4wT4.js → Compare-DZVrBYEh.js} +4 -4
- package/dist/{Compare-5j7MYou6.js → Compare-Dzqm7kPE.js} +7 -7
- package/dist/{Copy-Go_1uhB5.js → Copy-iLieXx22.js} +1 -1
- package/dist/{Custom-C00oYEFm.js → Custom-BGtEDHlD.js} +1 -1
- package/dist/{DataExport-CFjE1loi.js → DataExport-DSz5371s.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js → DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js} +5 -5
- package/dist/{DataImport-BQ0rieu8.js → DataImport-CX7G70a7.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js → DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js} +10 -10
- package/dist/{Date-uHiOL-PD.js → Date-CNOCOcNz.js} +1 -1
- package/dist/{Date-C5WCVXDU.js → Date-ytWe2gz8.js} +1 -1
- package/dist/{DateRange-B-HjKQpJ.js → DateRange-CaIiObxN.js} +1 -1
- package/dist/{DateTime-D4Ck5hBj.js → DateTime-CH6J1GoP.js} +1 -1
- package/dist/{DateTime-BrsWm90_.js → DateTime-p6YgmtGd.js} +1 -1
- package/dist/{DateTimeRange-DjIp1SAX.js → DateTimeRange-DGobnXqs.js} +1 -1
- package/dist/{Daterange-DiZUFL_F.js → Daterange-BUSKAGlK.js} +1 -1
- package/dist/{Decimal-_6FobwTd.js → Decimal-BvyzJq1c.js} +1 -1
- package/dist/{Delete-C46eSfMC.js → Delete-BeFC0gjD.js} +12 -11
- package/dist/{Detail-BMbiENm0.js → Detail-DZJ0aUFr.js} +7 -6
- package/dist/{Dictionary-Dga6kbof.js → Dictionary-CsBiv-CI.js} +1 -1
- package/dist/{Email-PVk9gqfn.js → Email-Dwa6x3jW.js} +1 -1
- package/dist/{File-B9Q2QOa-.js → File-BEBElTSS.js} +24 -23
- package/dist/{Image-CzOq81lm.js → Image-DDK05SW7.js} +1 -1
- package/dist/{Index-DvfJmbPU.js → Index-BiF8qEWf.js} +1 -1
- package/dist/Index-Bpe7pY2Z.js +4 -0
- package/dist/{Index-Cq20wsZC.js → Index-CUYQxzNd.js} +53 -52
- package/dist/{Index-DJz-eVVd.js → Index-CuEyzMd0.js} +2 -2
- package/dist/Index-DMnL8F7Y.js +4 -0
- package/dist/Index-DNG25ox2.js +4 -0
- package/dist/{Index-BmVFh23J.js → Index-DPwdcUO4.js} +1 -1
- package/dist/Index-DqUNI6MV.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js → Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js} +6 -5
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js → Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js} +10 -9
- package/dist/{Install-CXj-qqao.js → Install-CxuoWpHC.js} +15 -14
- package/dist/{Int-BG6MD24t.js → Int-BFv18KXi.js} +1 -1
- package/dist/{Int-Dc7h_7Ga.js → Int-C0ijmdYS.js} +7 -7
- package/dist/{List-EDwPH8aL.js → List-CfQzWq_5.js} +10 -9
- package/dist/{Maintaince-BqvMHxH0.js → Maintaince-BzDEwQcU.js} +1 -1
- package/dist/{Markdown-CdP4Uf3M.js → Markdown-x1hASyA-.js} +1 -1
- package/dist/{Month-BUvqsSfA.js → Month-Bb0tgF-k.js} +1 -1
- package/dist/{Month-8mDUGsOp.js → Month-Bp_Pfi_b.js} +1 -1
- package/dist/{Month-ClGd6IhI.js → Month-CKkjwzza.js} +1 -1
- package/dist/{Normal-DUlWYlcs.js → Normal-CYmy5sN7.js} +60 -59
- package/dist/{Paging-D_ticCtb.js → Paging-DpoBp7x_.js} +19 -18
- package/dist/{PagingHeader-aZb0fGRv.js → PagingHeader-DWbFl1do.js} +1 -1
- package/dist/{PagingRow-_H7tCWDM.js → PagingRow-CR2N1vgm.js} +1 -1
- package/dist/{QueryApi-S0e3c6l0.js → QueryApi-VwISnk96.js} +1 -1
- package/dist/{Racebar-DESsxoi9.js → Racebar-BsgDK6Zf.js} +2 -2
- package/dist/{Radio-ChF3_bX0.js → Radio-B3Af-uZE.js} +1 -1
- package/dist/{Register-Du5lRabU.js → Register-Cwr3iIZm.js} +66 -65
- package/dist/{RichText-BJVvArGS.js → RichText-CNahMrfb.js} +3 -3
- package/dist/{SearchFooter-HjKH1gD5.js → SearchFooter-DiILcc_U.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js → SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js} +1 -1
- package/dist/{SearchForm-C-o0Orkp.js → SearchForm-BOw_kHs2.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js → SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js} +33 -32
- package/dist/{Select-DrybbaWb.js → Select-BdYG1KQE.js} +1 -1
- package/dist/{Select-DgKzH1gD.js → Select-BeNZqAP1.js} +15 -14
- package/dist/{Select-CYaWHcWs.js → Select-CqOE6uI8.js} +5 -5
- package/dist/{Single-B-253IzX.js → Single-DqCIZBIB.js} +48 -47
- package/dist/{Statistic-B7Tib1eh.js → Statistic-B9ZcUUk1.js} +19 -18
- package/dist/{Stock-BBcnzi6G.js → Stock-BiSr7zAF.js} +1 -1
- package/dist/{Stock-DuyZiPxv.js → Stock-BnBNtuo7.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js → Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js} +4 -4
- package/dist/{Switch-DP-_EUOK.js → Switch-BE4dQcja.js} +1 -1
- package/dist/{Table-hHG9kq1I.js → Table-CaH_zu8W.js} +38 -37
- package/dist/{Table-2jZ0ISz7.js → Table-e0uLPRLG.js} +48 -47
- package/dist/Text-5803XWI6.js +4 -0
- package/dist/{Text-RsldE1sr.js → Text-BAw88r5O.js} +4 -4
- package/dist/{Text-lak-4VnA.js → Text-BDAob4mp.js} +1 -1
- package/dist/{Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js → Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js} +8 -8
- package/dist/{TextLink-C-NU-oVe.js → TextLink-TYXcDAlo.js} +3 -3
- package/dist/{Textarea-QGa_EKSl.js → Textarea-CU5PjIoa.js} +1 -1
- package/dist/{Time-BgWPjGd1.js → Time-Dd-Trib4.js} +6 -6
- package/dist/{Timeline-CBWcOVdY.js → Timeline-D6LCIkQp.js} +12 -12
- package/dist/{Tree--dJKRJvG.js → Tree-BKmFZrK3.js} +4 -3
- package/dist/{Tree-B2fZE9Qf.js → Tree-D-v632h1.js} +47 -46
- package/dist/{TreeNode-CxTzNQo9.js → TreeNode-L_A5ZKy0.js} +1 -1
- package/dist/{Update-BqQGp_9h.js → Update-DRAFce7_.js} +7 -6
- package/dist/{UpdateChild-DejVqKrE.js → UpdateChild-DMC0FG4Z.js} +1 -1
- package/dist/{Upload-tlSQp2Qu.js → Upload-DJRh4a7g.js} +17 -16
- package/dist/{Upload-9z5VIixQ.js → Upload-Ozg_nOpI.js} +22 -21
- package/dist/{UploadApi-B2dxOS0T.js → UploadApi-DVx69g-F.js} +1 -1
- package/dist/{Year-CrN8Fl5U.js → Year-CpcMBvQ7.js} +1 -1
- package/dist/{Year-DNDyqe5X.js → Year-D7XGe2So.js} +1 -1
- package/dist/assets/halo-fe-B-NiIGas.js +12088 -0
- package/dist/main-DB_sVyZe.js +3620 -0
- package/dist/main.js +141 -140
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Code-DXkJ6x5_.js +0 -4
- package/dist/Index-CfDvQD94.js +0 -4
- package/dist/Index-DGiRkT-p.js +0 -4
- package/dist/Index-DyK_nYp9.js +0 -4
- package/dist/Index-z5MnS_Wq.js +0 -4
- package/dist/Text-C70dFJLS.js +0 -4
- package/dist/main-D3_7YhaK.js +0 -15700
@@ -1,14 +1,15 @@
|
|
1
|
-
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as
|
2
|
-
import {
|
1
|
+
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as _, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as T, toDisplayString as x, createCommentVNode as B } from "vue";
|
2
|
+
import { T as U } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { h } from "./main-DB_sVyZe.js";
|
3
4
|
import "element-plus";
|
4
5
|
import "vue-router";
|
5
6
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
const
|
7
|
+
const w = { class: "option-text" }, E = {
|
7
8
|
key: 0,
|
8
9
|
class: "option-suffix"
|
9
|
-
},
|
10
|
+
}, j = /* @__PURE__ */ k({
|
10
11
|
__name: "Install",
|
11
|
-
setup(
|
12
|
+
setup(O) {
|
12
13
|
let o = 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" },
|
@@ -17,19 +18,19 @@ const E = { class: "option-text" }, O = {
|
|
17
18
|
{ value: "Oracle", text: "Oracle" },
|
18
19
|
{ value: "Trino", text: "Trino" }
|
19
20
|
]), V = () => {
|
20
|
-
u.value = !0, i.value.validate((
|
21
|
-
if (!
|
21
|
+
u.value = !0, i.value.validate((f, n) => {
|
22
|
+
if (!f)
|
22
23
|
return u.value = !1, !1;
|
23
|
-
|
24
|
+
U.post("/app/install", o.value).then(({ data: p }) => {
|
24
25
|
}).finally(() => {
|
25
26
|
u.value = !1;
|
26
27
|
});
|
27
28
|
});
|
28
29
|
};
|
29
30
|
return C(() => {
|
30
|
-
}), (
|
31
|
+
}), (f, n) => {
|
31
32
|
const p = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
|
32
|
-
return d(),
|
33
|
+
return d(), _(l(h), {
|
33
34
|
class: "ha-install",
|
34
35
|
title: "数据库信息"
|
35
36
|
}, {
|
@@ -69,14 +70,14 @@ const E = { class: "option-text" }, O = {
|
|
69
70
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
70
71
|
}, {
|
71
72
|
default: t(() => [
|
72
|
-
(d(!0), v(M, null,
|
73
|
+
(d(!0), v(M, null, N(l(y), (e) => (d(), _(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: t(() => [
|
78
|
-
|
79
|
-
e.value ? (d(), v("span",
|
79
|
+
T("span", w, x(e.text), 1),
|
80
|
+
e.value ? (d(), v("span", E, "(" + x(e.value) + ")", 1)) : B("", !0)
|
80
81
|
]),
|
81
82
|
_: 2
|
82
83
|
}, 1032, ["value", "label"]))), 128))
|
@@ -125,5 +126,5 @@ const E = { class: "option-text" }, O = {
|
|
125
126
|
}
|
126
127
|
});
|
127
128
|
export {
|
128
|
-
|
129
|
+
j as default
|
129
130
|
};
|
@@ -1,5 +1,5 @@
|
|
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 { e as k,
|
2
|
+
import { e as k, aM as x } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const N = /* @__PURE__ */ f({
|
4
4
|
__name: "Int",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
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 { W as K,
|
2
|
+
import { W as K, aO as k } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const C = /* @__PURE__ */ c({
|
4
4
|
__name: "Int",
|
5
5
|
props: {
|
@@ -11,13 +11,13 @@ const C = /* @__PURE__ */ c({
|
|
11
11
|
modelValue: {}
|
12
12
|
},
|
13
13
|
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(
|
15
|
-
let l =
|
14
|
+
setup(r, { emit: i }) {
|
15
|
+
let l = i, s = r, { table: d, field: a, set: w, modelValue: n } = f(s), p = () => {
|
16
16
|
l("submit");
|
17
17
|
}, t = _({
|
18
18
|
get() {
|
19
|
-
if (K.isNumber(
|
20
|
-
return
|
19
|
+
if (K.isNumber(n.value))
|
20
|
+
return n.value;
|
21
21
|
},
|
22
22
|
set(o) {
|
23
23
|
l("update:modelValue", o), l("change", o);
|
@@ -26,9 +26,9 @@ const C = /* @__PURE__ */ c({
|
|
26
26
|
return (o, u) => {
|
27
27
|
const b = V("el-input-number");
|
28
28
|
return g(), h(b, {
|
29
|
-
"aria-label": e(k)(e(d).name, e(
|
29
|
+
"aria-label": e(k)(e(d).name, e(a).name),
|
30
30
|
"controls-position": "right",
|
31
|
-
disabled: e(
|
31
|
+
disabled: e(a).control.readonly,
|
32
32
|
onKeyup: v(e(p), ["enter", "native"]),
|
33
33
|
modelValue: e(t),
|
34
34
|
"onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as B, toRefs as
|
2
|
-
import { K as n, o as $, J as j,
|
3
|
-
|
1
|
+
import { defineComponent as B, toRefs as Y, ref as u, watch as E, openBlock as F, createBlock as J, resolveDynamicComponent as K, unref as t, withCtx as T, createElementVNode as U, toDisplayString as V } from "vue";
|
2
|
+
import { K as n, o as $, J as j, Y as A } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { s as d } from "./main-DB_sVyZe.js";
|
4
|
+
const G = { class: "not-support" }, Q = /* @__PURE__ */ B({
|
4
5
|
__name: "List",
|
5
6
|
props: {
|
6
7
|
base: {},
|
@@ -10,7 +11,7 @@ const G = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
10
11
|
},
|
11
12
|
emits: ["load", "navigate"],
|
12
13
|
setup(b, { expose: S, emit: P }) {
|
13
|
-
let h = P, k = b, { url: m, base: p, route: r } =
|
14
|
+
let h = P, k = b, { url: m, base: p, route: r } = Y(k), f = u(), i = u(), s = u(), y = u(), g = u(), o = u(), c = u(), q = (e) => {
|
14
15
|
let l = n.getPath(e), a = n.getPath(m.value);
|
15
16
|
return l != a;
|
16
17
|
}, C = (e) => {
|
@@ -43,9 +44,9 @@ const G = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
43
44
|
};
|
44
45
|
return (() => {
|
45
46
|
x(p.value.data);
|
46
|
-
})(),
|
47
|
+
})(), E(() => p.value, (e) => {
|
47
48
|
x(e.data);
|
48
|
-
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboard: z, resize: L }), (e, l) => (
|
49
|
+
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboard: z, resize: L }), (e, l) => (F(), J(K(`list-${t(s).layouts[0].type.toLowerCase()}`), {
|
49
50
|
ref_key: "listRef",
|
50
51
|
ref: o,
|
51
52
|
route: t(r),
|
@@ -61,13 +62,13 @@ const G = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
61
62
|
onNavigate: t(w),
|
62
63
|
onRefresh: t(_)
|
63
64
|
}, {
|
64
|
-
default:
|
65
|
-
|
65
|
+
default: T(() => [
|
66
|
+
U("div", G, "未支持的列表布局方式:" + V(t(s).layouts[0].type), 1)
|
66
67
|
]),
|
67
68
|
_: 1
|
68
69
|
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
69
70
|
}
|
70
71
|
});
|
71
72
|
export {
|
72
|
-
|
73
|
+
Q as default
|
73
74
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as t, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as s, unref as c } from "vue";
|
2
|
-
import {
|
2
|
+
import { d as i } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" }, u = /* @__PURE__ */ t({
|
4
4
|
__name: "Maintaince",
|
5
5
|
setup(d) {
|
@@ -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-5803XWI6.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-5803XWI6.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,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, toRefs as f, computed as h, resolveComponent as _, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import {
|
2
|
+
import { aN as Y } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const x = /* @__PURE__ */ i({
|
4
4
|
__name: "Month",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import {
|
2
|
+
import { aN as Y } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const x = /* @__PURE__ */ i({
|
4
4
|
__name: "Month",
|
5
5
|
props: {
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { defineComponent as de, toRefs as he, ref as S, onMounted as fe, computed as E, watch as q, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as K, unref as e, createBlock as g, withCtx as
|
2
|
-
import {
|
1
|
+
import { defineComponent as de, toRefs as he, ref as S, onMounted as fe, computed as E, watch as q, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as K, unref as e, createBlock as g, withCtx as m, Fragment as w, renderList as R, createVNode as C, createCommentVNode as V, toDisplayString as B, createElementVNode as I, normalizeStyle as ge, createTextVNode as _e, resolveDynamicComponent as be } from "vue";
|
2
|
+
import { n as ye, e as Ce, aM as ke, u as xe } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { e as P, s as N, c as Se, a as Q, j as we } from "./main-DB_sVyZe.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
6
|
const Re = {
|
@@ -12,7 +13,7 @@ const Re = {
|
|
12
13
|
}, ze = {
|
13
14
|
key: 0,
|
14
15
|
class: "normal-selection"
|
15
|
-
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */ I("i", { class: "fa fa-question-circle icon-question" }, null, -1),
|
16
|
+
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */ I("i", { class: "fa fa-question-circle icon-question" }, null, -1), Be = /* @__PURE__ */ de({
|
16
17
|
__name: "Normal",
|
17
18
|
props: {
|
18
19
|
route: {},
|
@@ -26,30 +27,30 @@ const Re = {
|
|
26
27
|
},
|
27
28
|
emits: ["change", "submit"],
|
28
29
|
setup(U, { expose: X, emit: Y }) {
|
29
|
-
let
|
30
|
-
|
30
|
+
let L = Y, Z = U, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = he(Z), p = S({ page: 1, count: c.value[t.value.name].length }), k = S([]), b = S(), A = S([]), T = S(), ee = (l) => {
|
31
|
+
A.value.push(l);
|
31
32
|
}, le = () => {
|
32
33
|
p.value.page = 1;
|
33
34
|
}, te = () => {
|
34
|
-
b.value =
|
35
|
+
b.value = G(t.value);
|
35
36
|
let l = N.getDefaultRow(t.value);
|
36
|
-
|
37
|
+
c.value[t.value.name].push(l);
|
37
38
|
}, ae = () => {
|
38
|
-
let l =
|
39
|
-
|
39
|
+
let l = c.value[t.value.name];
|
40
|
+
k.value.forEach((a) => {
|
40
41
|
l.splice(l.indexOf(a), 1);
|
41
|
-
}),
|
42
|
+
}), k.value = [], A.value.forEach((a) => {
|
42
43
|
a.model && (a.model = !1);
|
43
44
|
});
|
44
|
-
},
|
45
|
-
N.updateTooltip(o, u, v),
|
45
|
+
}, W = (l) => c.value[t.value.name].indexOf(l), ne = (l, a, o, u, v) => {
|
46
|
+
N.updateTooltip(o, u, v), L("change", l, a, o, u, v);
|
46
47
|
}, oe = (l, a) => {
|
47
|
-
l ?
|
48
|
+
l ? k.value.push(a) : xe.remove(k.value, a);
|
48
49
|
}, ue = (l) => {
|
49
|
-
|
50
|
+
L("submit", l);
|
50
51
|
}, re = (l, a = null) => {
|
51
52
|
p.value.page = l;
|
52
|
-
},
|
53
|
+
}, G = (l) => {
|
53
54
|
if (l.main || l.search.length == 0)
|
54
55
|
return null;
|
55
56
|
let a = {};
|
@@ -59,24 +60,24 @@ const Re = {
|
|
59
60
|
let o = {};
|
60
61
|
return o[l.name] = a, o;
|
61
62
|
}, H = (l) => {
|
62
|
-
b.value =
|
63
|
+
b.value = G(l);
|
63
64
|
}, se = () => {
|
64
65
|
F();
|
65
|
-
},
|
66
|
+
}, me = (l) => {
|
66
67
|
H(l.schema[0]);
|
67
68
|
}, F = () => {
|
68
|
-
let l =
|
69
|
+
let l = T.value.clientWidth;
|
69
70
|
i.value.column = Math.ceil(l / 500);
|
70
|
-
},
|
71
|
+
}, ce = () => {
|
71
72
|
F(), H(t.value);
|
72
73
|
};
|
73
74
|
fe(() => {
|
74
|
-
|
75
|
+
ce();
|
75
76
|
});
|
76
77
|
let ie = E(() => P.splitRows(t.value.search, i.value.column)), J = E(() => {
|
77
78
|
if (!b.value)
|
78
|
-
return
|
79
|
-
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.pageSize, o = p.value.page * i.value.pageSize - 1, u =
|
79
|
+
return c.value[t.value.name];
|
80
|
+
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.pageSize, o = p.value.page * i.value.pageSize - 1, u = c.value[t.value.name].filter(($) => {
|
80
81
|
let f = !0;
|
81
82
|
for (let x = 0; x < t.value.search.length; x++) {
|
82
83
|
let y = t.value.search[x], s = $[y.name], h = l[y.name];
|
@@ -97,43 +98,43 @@ const Re = {
|
|
97
98
|
return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
|
98
99
|
}), pe = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), ve = E(() => {
|
99
100
|
let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
|
100
|
-
return
|
101
|
+
return Se.getComponent(`${l}/update-child`, "partial", "update-child");
|
101
102
|
});
|
102
|
-
return q(() =>
|
103
|
-
let o = l.length, u = a.length, v =
|
103
|
+
return q(() => c.value[t.value.name], (l, a) => {
|
104
|
+
let o = l.length, u = a.length, v = ye.pageCount(c.value[t.value.name].length, i.value.pageSize);
|
104
105
|
(o > u || o < u && p.value.page > v) && (p.value.page = v);
|
105
|
-
}, { deep: !0 }), q(
|
106
|
+
}, { deep: !0 }), q(j, (l, a) => {
|
106
107
|
let o = l.find((u) => u.table == t.value.name);
|
107
108
|
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.pageSize));
|
108
109
|
}), q(t, (l, a) => {
|
109
110
|
F();
|
110
|
-
}), X({ resize: se, update:
|
111
|
+
}), X({ resize: se, update: me }), (l, a) => {
|
111
112
|
const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
|
112
113
|
return n(), d("div", {
|
113
114
|
ref_key: "normalRef",
|
114
|
-
ref:
|
115
|
+
ref: T,
|
115
116
|
class: K(["ha-normal-layout", { draggable: e(i).sort }])
|
116
117
|
}, [
|
117
118
|
e(b) ? (n(), g($, {
|
118
119
|
key: 0,
|
119
120
|
class: "search-form"
|
120
121
|
}, {
|
121
|
-
default:
|
122
|
+
default: m(() => [
|
122
123
|
(n(!0), d(w, null, R(e(ie), (s, h) => (n(), g(v, {
|
123
124
|
gutter: 5,
|
124
125
|
key: h
|
125
126
|
}, {
|
126
|
-
default:
|
127
|
-
(n(!0), d(w, null, R(s, (r,
|
127
|
+
default: m(() => [
|
128
|
+
(n(!0), d(w, null, R(s, (r, M) => (n(), g(u, {
|
128
129
|
span: 24 / e(i).column,
|
129
|
-
key:
|
130
|
+
key: M
|
130
131
|
}, {
|
131
|
-
default:
|
132
|
-
|
132
|
+
default: m(() => [
|
133
|
+
C(o, {
|
133
134
|
label: r.label
|
134
135
|
}, {
|
135
|
-
default:
|
136
|
-
|
136
|
+
default: m(() => [
|
137
|
+
C(e(Q), {
|
137
138
|
schema: e(D),
|
138
139
|
table: e(t),
|
139
140
|
field: r,
|
@@ -157,7 +158,7 @@ const Re = {
|
|
157
158
|
class: K(["normal-row", { main: e(t).main }])
|
158
159
|
}, [
|
159
160
|
e(t).main ? V("", !0) : (n(), d("div", ze, [
|
160
|
-
|
161
|
+
C(f, {
|
161
162
|
ref_for: !0,
|
162
163
|
ref: e(ee),
|
163
164
|
class: "normal-checkbox",
|
@@ -167,22 +168,22 @@ const Re = {
|
|
167
168
|
])),
|
168
169
|
I("div", Ee, [
|
169
170
|
(n(!0), d(w, null, R(e(pe), (h) => (n(), g(v, null, {
|
170
|
-
default:
|
171
|
-
(n(!0), d(w, null, R(h, ({ data: r, span:
|
172
|
-
span:
|
171
|
+
default: m(() => [
|
172
|
+
(n(!0), d(w, null, R(h, ({ data: r, span: M }) => (n(), g(u, {
|
173
|
+
span: M,
|
173
174
|
key: `${e(t).name}.${r.name}`
|
174
175
|
}, {
|
175
|
-
default:
|
176
|
-
|
176
|
+
default: m(() => [
|
177
|
+
C(o, {
|
177
178
|
style: ge(e(P).getStyle(r, e(O).type, e(i).type)),
|
178
179
|
label: r.label,
|
179
|
-
rules: e(N).getRules(e(
|
180
|
-
prop: `[${e(t).name}][${e(
|
180
|
+
rules: e(N).getRules(e(j), e(t), r, e(W)(s)),
|
181
|
+
prop: `[${e(t).name}][${e(W)(s)}][${r.name}]`
|
181
182
|
}, {
|
182
|
-
label:
|
183
|
+
label: m(() => {
|
183
184
|
var z;
|
184
185
|
return [
|
185
|
-
_e(B(e(
|
186
|
+
_e(B(e(ke)(e(t).name, r.name)) + " ", 1),
|
186
187
|
(z = r.control.tooltip) != null && z.content ? (n(), g(x, {
|
187
188
|
key: 0,
|
188
189
|
trigger: "hover",
|
@@ -190,25 +191,25 @@ const Re = {
|
|
190
191
|
width: "auto",
|
191
192
|
title: r.control.tooltip.title
|
192
193
|
}, {
|
193
|
-
reference:
|
194
|
+
reference: m(() => [
|
194
195
|
Ve
|
195
196
|
]),
|
196
|
-
default:
|
197
|
+
default: m(() => [
|
197
198
|
I("pre", null, B(r.control.tooltip.content), 1)
|
198
199
|
]),
|
199
200
|
_: 2
|
200
201
|
}, 1032, ["title"])) : V("", !0)
|
201
202
|
];
|
202
203
|
}),
|
203
|
-
default:
|
204
|
-
|
204
|
+
default: m(() => [
|
205
|
+
C(e(Q), {
|
205
206
|
schema: e(D),
|
206
|
-
set: e(
|
207
|
+
set: e(c),
|
207
208
|
table: e(t),
|
208
209
|
row: s,
|
209
210
|
field: r,
|
210
211
|
onSubmit: e(ue),
|
211
|
-
onChange: (z) => e(ne)(z, e(
|
212
|
+
onChange: (z) => e(ne)(z, e(c), e(t), s, r)
|
212
213
|
}, null, 8, ["schema", "set", "table", "row", "field", "onSubmit", "onChange"])
|
213
214
|
]),
|
214
215
|
_: 2
|
@@ -222,19 +223,19 @@ const Re = {
|
|
222
223
|
])
|
223
224
|
], 2))), 256))
|
224
225
|
], 512)) : (n(), d("div", Re, B(e(Ce)("common.no_data")), 1)),
|
225
|
-
e(t).main ? V("", !0) : (n(), g(e(
|
226
|
-
left:
|
226
|
+
e(t).main ? V("", !0) : (n(), g(e(we), { key: 3 }, {
|
227
|
+
left: m(() => [
|
227
228
|
(n(), g(be(e(ve)), {
|
228
229
|
module: e(O),
|
229
|
-
set: e(
|
230
|
+
set: e(c),
|
230
231
|
table: e(t),
|
231
|
-
selection: e(
|
232
|
+
selection: e(k),
|
232
233
|
onAdd: e(te),
|
233
234
|
onRemove: e(ae)
|
234
235
|
}, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
|
235
236
|
]),
|
236
|
-
default:
|
237
|
-
|
237
|
+
default: m(() => [
|
238
|
+
C(y, {
|
238
239
|
background: "",
|
239
240
|
layout: "total, prev, pager, next, jumper",
|
240
241
|
"current-page": e(p).page,
|
@@ -250,5 +251,5 @@ const Re = {
|
|
250
251
|
}
|
251
252
|
});
|
252
253
|
export {
|
253
|
-
|
254
|
+
Be as default
|
254
255
|
};
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { defineComponent as V, toRefs as $, ref as r, onMounted as j, watch as A, unref as a, openBlock as E, createBlock as G, createCommentVNode as H } from "vue";
|
2
|
-
import { K as s, o as I, J as Q,
|
3
|
-
import {
|
4
|
-
|
2
|
+
import { K as s, o as I, J as Q, c as W, Y as U } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { s as m } from "./main-DB_sVyZe.js";
|
4
|
+
import { _ as X } from "./Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js";
|
5
|
+
const ae = /* @__PURE__ */ V({
|
5
6
|
__name: "Paging",
|
6
7
|
props: {
|
7
8
|
base: {},
|
@@ -11,41 +12,41 @@ const te = /* @__PURE__ */ V({
|
|
11
12
|
},
|
12
13
|
emits: ["navigate", "load"],
|
13
14
|
setup(b, { expose: k, emit: z }) {
|
14
|
-
let
|
15
|
+
let d = z, P = b, { url: p, base: y, route: u } = $(P), f = r(), v = r(), c = r(), h = r(), x = r(), C = r(), g = r(), o = r(), N = (e) => !0, L = (e) => {
|
15
16
|
let l = s.getPath(p.value), t = s.getPath(e);
|
16
17
|
return l != t;
|
17
18
|
}, R = (e = null) => {
|
18
19
|
_(e);
|
19
|
-
},
|
20
|
+
}, Y = () => {
|
20
21
|
}, S = (e) => {
|
21
22
|
var t;
|
22
23
|
let l = I(e.module.type, e.module.name);
|
23
|
-
Q.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value =
|
24
|
+
Q.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = m.expandSet(e.schema, e.set), v.value = m.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], h.value = c.value.layouts[0], g.value = m.getConditionForm(v.value, u.value.query.condition);
|
24
25
|
}, q = (e = null, l = null) => {
|
25
26
|
let t = e ?? u.value.query, n = s.getUrl(u.value.path, t);
|
26
|
-
|
27
|
+
d("load", n, !1, (T) => {
|
27
28
|
l && l(T);
|
28
29
|
});
|
29
30
|
}, i = (e, l) => {
|
30
|
-
|
31
|
-
},
|
31
|
+
d("navigate", e, l);
|
32
|
+
}, w = async (e) => {
|
32
33
|
let l = u.value.query;
|
33
34
|
l.page = 1;
|
34
35
|
let t = W.pure(g.value);
|
35
36
|
l.condition = U.encode(t);
|
36
37
|
let n = s.getUrl(u.value.path, l);
|
37
38
|
n == p.value ? q(l, e) : i(n, e);
|
38
|
-
},
|
39
|
+
}, B = (e, l) => {
|
39
40
|
let t = u.value.query;
|
40
41
|
t.order_by = U.encode(JSON.stringify(e));
|
41
42
|
let n = s.getUrl(u.value.path, t);
|
42
43
|
i(n, l);
|
43
|
-
},
|
44
|
+
}, D = (e, l = null) => {
|
44
45
|
let t = u.value.query;
|
45
46
|
t.page = e;
|
46
47
|
let n = s.getUrl(u.value.path, t);
|
47
48
|
i(n, l);
|
48
|
-
},
|
49
|
+
}, J = (e, l = null) => {
|
49
50
|
let t = u.value.query;
|
50
51
|
t.size = e;
|
51
52
|
let n = s.getUrl(u.value.path, t);
|
@@ -79,16 +80,16 @@ const te = /* @__PURE__ */ V({
|
|
79
80
|
layout: a(h),
|
80
81
|
"search-data": a(g),
|
81
82
|
onNavigate: a(i),
|
82
|
-
onSort: a(
|
83
|
-
onSearch: a(
|
84
|
-
onPageChange: a(
|
85
|
-
onSizeChange: a(
|
83
|
+
onSort: a(B),
|
84
|
+
onSearch: a(w),
|
85
|
+
onPageChange: a(D),
|
86
|
+
onSizeChange: a(J),
|
86
87
|
onLayoutChange: a(F),
|
87
88
|
onSucceed: a(R),
|
88
|
-
onClose: a(
|
89
|
+
onClose: a(Y)
|
89
90
|
}, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : H("", !0);
|
90
91
|
}
|
91
92
|
});
|
92
93
|
export {
|
93
|
-
|
94
|
+
ae as default
|
94
95
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as D, toRefs as F, ref as H, resolveComponent as g, openBlock as s, createElementBlock as I, Fragment as P, createElementVNode as l, unref as e, createBlock as m, withCtx as t, createTextVNode as r, toDisplayString as n, createCommentVNode as p, createVNode as y, createSlots as R } from "vue";
|
2
|
-
import { e as o } from "./
|
2
|
+
import { e as o } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const T = { class: "search-title" }, $ = /* @__PURE__ */ l("i", { class: "fa fa-plus" }, null, -1), j = /* @__PURE__ */ l("i", { class: "fa fa-copy" }, null, -1), z = /* @__PURE__ */ l("i", { class: "fa fa-trash-alt" }, null, -1), A = { class: "search-operation" }, G = /* @__PURE__ */ l("i", { class: "fa fa-search" }, null, -1), J = /* @__PURE__ */ l("i", { class: "fa fa-file-upload" }, null, -1), K = /* @__PURE__ */ l("i", { class: "fa fa-share-square" }, null, -1), W = /* @__PURE__ */ D({
|
4
4
|
__name: "PagingHeader",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as x, toRefs as y, resolveComponent as _, openBlock as r, createElementBlock as m, unref as e, createCommentVNode as a, createBlock as g, withCtx as B, createElementVNode as R } from "vue";
|
2
|
-
import { e as p } from "./
|
2
|
+
import { e as p } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const E = { class: "paging-row" }, q = /* @__PURE__ */ x({
|
4
4
|
__name: "PagingRow",
|
5
5
|
props: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as U, toRefs as M, ref as v, onMounted as $, onUnmounted as F, openBlock as N, createElementBlock as O, createVNode as V, unref as d, createElementVNode as P, nextTick as T } from "vue";
|
2
2
|
import * as W from "echarts";
|
3
|
-
import {
|
4
|
-
import { _ as q } from "./SearchForm.vue_vue_type_style_index_0_lang-
|
3
|
+
import { H as j, R as _, u as z } from "./assets/halo-fe-B-NiIGas.js";
|
4
|
+
import { _ as q } from "./SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js";
|
5
5
|
const Z = /* @__PURE__ */ U({
|
6
6
|
__name: "Racebar",
|
7
7
|
props: {
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ p({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = u(() => import("./Dictionary-
|
13
|
+
let r = u(() => import("./Dictionary-CsBiv-CI.js")), s = a, { schema: m, table: n, field: d, set: i, row: f, modelValue: l } = c(s);
|
14
14
|
return (_, o) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|