halo-pc 1.0.19 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-C00dDtgQ.js → Article-D3N6eVpH.js} +52 -51
- package/dist/{ArticleFooter-jAlMJJ0Z.js → ArticleFooter-CbvmQHCn.js} +5 -5
- package/dist/{Autocomplete-DYgdzQEa.js → Autocomplete-BrKsj5vx.js} +1 -1
- package/dist/{Autocomplete-BYlz8Q3t.js → Autocomplete-C1Q-qo5y.js} +9 -9
- package/dist/{Autocomplete-CQ-UuksH.js → Autocomplete-C_t_3Onz.js} +9 -9
- package/dist/{CSharp-ouau54_s.js → CSharp-DGmv2biT.js} +1 -1
- package/dist/{Calender-iu_I3vcU.js → Calender-dCiW7eIK.js} +2 -2
- package/dist/{Callback-bRXyRBO2.js → Callback-BcjLHYz6.js} +3 -3
- package/dist/{Cascader-BJs2FXbQ.js → Cascader-BMs1Kw-s.js} +10 -10
- package/dist/{Cascader-ljR17aOe.js → Cascader-BoZLMQjq.js} +5 -5
- package/dist/{Checkbox-C2OWgiE1.js → Checkbox-DeuCkQ_E.js} +12 -12
- package/dist/{Checkbox-Cy5zNH7D.js → Checkbox-DklZD5ff.js} +1 -1
- package/dist/{Code-Cruabofi.js → Code-CmB3ZGnM.js} +10 -10
- package/dist/{Code-DTvIe3kd.js → Code-DVZ9QWgE.js} +1 -1
- package/dist/{Code-B9oyIhEo.js → Code-Q9ETcIfA.js} +1 -1
- package/dist/Code-hiW76EUm.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-BmQDWq2q.js → Code.vue_vue_type_style_index_0_lang-DJO46RBx.js} +4 -4
- package/dist/{Column-ClHvuVuz.js → Column-K0p0pVuf.js} +26 -25
- package/dist/{Comment-D292jtJC.js → Comment-B_jDWUXE.js} +12 -12
- package/dist/Compare-CziDSVLD.js +37 -0
- package/dist/Compare-DFDzyQIR.js +57 -0
- package/dist/{Copy-CvgX-bKU.js → Copy-gHXEFE58.js} +5 -5
- package/dist/{Custom-4bEXZx8t.js → Custom-DS1OrDHT.js} +11 -11
- package/dist/{DataExport-DH0oVaJf.js → DataExport-DAk1d4uG.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BV2aSpcq.js → DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js} +19 -19
- package/dist/{DataImport-D73iWOit.js → DataImport-BLOSIbQ2.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-B39IZpM3.js → DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js} +19 -19
- package/dist/{Date-DCtZ8VpD.js → Date-BOrgXdKV.js} +4 -4
- package/dist/{Date-BJ2vBWIM.js → Date-D1KihBir.js} +1 -1
- package/dist/{DateRange-BWXik5I2.js → DateRange-Clg_We_d.js} +1 -1
- package/dist/{DateTime-BBHPa2zE.js → DateTime-Ba-L9NIq.js} +4 -4
- package/dist/{DateTime-D_GCbnKC.js → DateTime-Dwg6aUf3.js} +1 -1
- package/dist/{DateTimeRange-C4-4mq77.js → DateTimeRange-Cir1-Js8.js} +1 -1
- package/dist/{Daterange-CPVrg_r8.js → Daterange-Gaj6hNOK.js} +3 -3
- package/dist/{Decimal-Bv5A7-xm.js → Decimal-tv9vqaXk.js} +1 -1
- package/dist/{Delete-lSTmw_3a.js → Delete-HzVURBlh.js} +18 -17
- package/dist/{Detail-Dfvzkkw6.js → Detail-B2rtvufA.js} +6 -5
- package/dist/{Dictionary-thXsHbOo.js → Dictionary-DKnp-UJn.js} +3 -3
- package/dist/{Email-BDg7Qf9f.js → Email-CpOxaSSw.js} +4 -4
- package/dist/{File-TEaB_uIR.js → File-C63qevce.js} +42 -41
- package/dist/Image-DRIunv3_.js +9 -0
- package/dist/{Index-DapcfeaN.js → Index-B6Ec8rbl.js} +1 -1
- package/dist/{Index-ld-kC6ij.js → Index-BD6O3A9N.js} +7 -7
- package/dist/{Index-Cn5Qex6Q.js → Index-Cc_CDbUJ.js} +1 -1
- package/dist/{Index-BuhrNqZE.js → Index-Cev7Nudv.js} +1 -1
- package/dist/Index-DSKuNKCT.js +4 -0
- package/dist/Index-QIBRYf1L.js +4 -0
- package/dist/Index-ZOfKMgat.js +4 -0
- package/dist/{Index-BQKjFLbE.js → Index-bxLda8lZ.js} +29 -28
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BKPwS2s9.js → Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js} +4 -3
- package/dist/{Index.vue_vue_type_script_setup_true_lang-zlsTcQ-k.js → Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js} +10 -9
- package/dist/{Index.vue_vue_type_style_index_0_lang-CqjK1AVM.js → Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js} +11 -11
- package/dist/{Install-BQ_rGQFg.js → Install-CTAGNKPW.js} +13 -12
- package/dist/{Int-DRcbQElJ.js → Int-DmNjhEfK.js} +8 -8
- package/dist/{Int-C33TxFtW.js → Int-nUzbSSOv.js} +11 -11
- package/dist/{List-CSkx_cTr.js → List-gNI3y_wH.js} +14 -13
- package/dist/{Maintaince-D0JZ-9mL.js → Maintaince-pTASKuMA.js} +1 -1
- package/dist/{Markdown-DjbgXlE6.js → Markdown-BJB6rQY8.js} +1 -1
- package/dist/{Month-C_sIkUIo.js → Month-CHfaIo8p.js} +4 -4
- package/dist/{Month-unY9f1-N.js → Month-DgztqRaq.js} +5 -5
- package/dist/{Month-68Hi85T_.js → Month-ui1XorBW.js} +1 -1
- package/dist/{Normal-BAoQvNjn.js → Normal-Cf7kP6RU.js} +61 -60
- package/dist/{Paging-BNVKLCCy.js → Paging-CBgVct8q.js} +9 -8
- package/dist/{PagingHeader-CkESvHSg.js → PagingHeader-BkFBl-r_.js} +18 -18
- package/dist/{PagingRow-DrMTqBj9.js → PagingRow-eXCadgdO.js} +7 -7
- package/dist/{QueryApi-D410WxrU.js → QueryApi-Wf86Sm6m.js} +1 -1
- package/dist/{Racebar-BhPT9MdU.js → Racebar-ClXzi9hV.js} +16 -16
- package/dist/{Radio-D1AcW1pn.js → Radio-llyoK7PI.js} +1 -1
- package/dist/{Register-jgIuWNwI.js → Register-BaHhaZMu.js} +49 -48
- package/dist/{RichText-BgLtVFup.js → RichText-Cc_jptgY.js} +8 -8
- package/dist/{SearchFooter-CAWhmjR2.js → SearchFooter-BgJxQrMo.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-ClaSxScx.js → SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js} +1 -1
- package/dist/{SearchForm--aMZLLx4.js → SearchForm-CroUQ_3K.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-_rdBTvY_.js → SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js} +28 -27
- package/dist/{Select-DU_6d_Ob.js → Select-BYw63gZy.js} +17 -16
- package/dist/{Select-CVnXZcZi.js → Select-BtNeUq9h.js} +1 -1
- package/dist/{Select-JFUTkpkm.js → Select-wxKjwxJj.js} +17 -17
- package/dist/{Single-B0g3q0uZ.js → Single-CCVi3Pcj.js} +83 -82
- package/dist/{Statistic-XTBdaF7E.js → Statistic-g3nQvsbW.js} +30 -29
- package/dist/{Stock-nsqld-XR.js → Stock-C6Fxo31l.js} +1 -1
- package/dist/{Stock-CWU3inQY.js → Stock-CNqLeSld.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js → Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js} +11 -11
- package/dist/{Switch-BqHPuFzA.js → Switch-NMkH-rhl.js} +1 -1
- package/dist/{Table-l0km2rz7.js → Table-Cdd_tPoL.js} +57 -56
- package/dist/{Table-xRltYWjc.js → Table-DpA4dO4P.js} +51 -50
- package/dist/{Text-DOTMUPPm.js → Text-DanSgaL9.js} +7 -7
- package/dist/Text-DgZjeg-u.js +4 -0
- package/dist/{Text-alXcFJHa.js → Text-GuLK7BYX.js} +6 -6
- package/dist/{Text.vue_vue_type_style_index_0_lang-1wF_kb3u.js → Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js} +8 -8
- package/dist/{TextLink-BUpIHKqh.js → TextLink-B_Ur1pg0.js} +3 -3
- package/dist/{Textarea-IFX_g2SZ.js → Textarea-HhP_VFJV.js} +1 -1
- package/dist/{Time-CHadluUL.js → Time-CmyrAm3i.js} +8 -8
- package/dist/{Timeline-B7xPAwXh.js → Timeline-B85T2wBn.js} +11 -11
- package/dist/{Tree-qvL1DgaM.js → Tree-Ck_7r3nf.js} +85 -84
- package/dist/{Tree-DoXqyUpn.js → Tree-OqvNLgYj.js} +15 -14
- package/dist/{TreeNode-CUSAKhTp.js → TreeNode-Ba2f55wK.js} +1 -1
- package/dist/{Update-eETfPmHB.js → Update-DrmLFoty.js} +9 -8
- package/dist/{UpdateChild-DbbXDvCz.js → UpdateChild-CGCn-Eh4.js} +6 -6
- package/dist/{Upload-CAUGBT7A.js → Upload-D9HeSZCg.js} +18 -17
- package/dist/{Upload-DMfKIPRu.js → Upload-DXADyB6r.js} +49 -48
- package/dist/{UploadApi-FEbSWkVM.js → UploadApi-DAT-xdsM.js} +1 -1
- package/dist/{Year-CAxdMb2V.js → Year-Dx_qNPrz.js} +5 -5
- package/dist/{Year-CnHHib5-.js → Year-RGAEzf_V.js} +1 -1
- package/dist/assets/halo-fe-idvmXC0t.js +15923 -0
- package/dist/main-COiaaxGk.js +3542 -0
- package/dist/main.js +129 -129
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Code-C8zrvj8s.js +0 -4
- package/dist/Compare-CGW1IWLh.js +0 -56
- package/dist/Compare-DjrTKaz2.js +0 -26
- package/dist/Image-BqCjtyvc.js +0 -9
- package/dist/Index-BCku46lC.js +0 -4
- package/dist/Index-BLoAow8U.js +0 -4
- package/dist/Index-C3Dtv0ze.js +0 -4
- package/dist/Text-CFZ1y9Xn.js +0 -4
- package/dist/main-DArl7gFs.js +0 -19837
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
const
|
1
|
+
import { defineComponent as E, defineAsyncComponent as I, toRefs as P, 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 Q } from "vue";
|
2
|
+
import { Q as U, P as $ } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
const j = { class: "text-popover" }, q = {
|
4
4
|
key: 2,
|
5
5
|
class: "control-operation"
|
6
|
-
},
|
6
|
+
}, J = /* @__PURE__ */ E({
|
7
7
|
__name: "Index",
|
8
8
|
props: {
|
9
9
|
schema: {},
|
@@ -15,7 +15,7 @@ const q = { class: "text-popover" }, G = {
|
|
15
15
|
},
|
16
16
|
emits: ["submit", "change"],
|
17
17
|
setup(V, { emit: B }) {
|
18
|
-
let y =
|
18
|
+
let y = I(() => import("./Index-BD6O3A9N.js")), N = B, R = V, { schema: a, table: c, field: t, set: i, row: o, config: l } = P(R), s = z(), D = () => {
|
19
19
|
}, S = (r) => {
|
20
20
|
N("submit", r);
|
21
21
|
}, b = k(() => {
|
@@ -29,7 +29,7 @@ const q = { class: "text-popover" }, G = {
|
|
29
29
|
return u;
|
30
30
|
}
|
31
31
|
return r.type;
|
32
|
-
}), T = k(() => `control-${
|
32
|
+
}), T = k(() => `control-${U.getDashName(b.value)}`);
|
33
33
|
return (r, m) => {
|
34
34
|
const f = w("el-popover"), p = w("el-link");
|
35
35
|
return n(), _(g, null, [
|
@@ -41,7 +41,7 @@ const q = { class: "text-popover" }, G = {
|
|
41
41
|
width: e(t).control.popover.width
|
42
42
|
}, {
|
43
43
|
reference: d(() => [
|
44
|
-
x("div",
|
44
|
+
x("div", j, [
|
45
45
|
v(e(y), {
|
46
46
|
ref_key: "controlRef",
|
47
47
|
ref: s,
|
@@ -93,11 +93,11 @@ const q = { class: "text-popover" }, G = {
|
|
93
93
|
"onUpdate:modelValue": m[0] || (m[0] = (u) => e(o)[e(t).name] = u)
|
94
94
|
}, {
|
95
95
|
default: d(() => [
|
96
|
-
x("div", null, C(e(
|
96
|
+
x("div", null, C(e($)("common.unsupported_control", e(b))), 1)
|
97
97
|
]),
|
98
98
|
_: 1
|
99
99
|
}, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
|
100
|
-
e(t).operation ? (n(), _("div",
|
100
|
+
e(t).operation ? (n(), _("div", q, [
|
101
101
|
v(p, {
|
102
102
|
type: "primary",
|
103
103
|
underline: !1
|
@@ -107,11 +107,11 @@ const q = { class: "text-popover" }, G = {
|
|
107
107
|
]),
|
108
108
|
_: 1
|
109
109
|
})
|
110
|
-
])) :
|
110
|
+
])) : Q("", !0)
|
111
111
|
], 64);
|
112
112
|
};
|
113
113
|
}
|
114
114
|
});
|
115
115
|
export {
|
116
|
-
|
116
|
+
J as _
|
117
117
|
};
|
@@ -1,11 +1,12 @@
|
|
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 B, toDisplayString as x, createCommentVNode as T } from "vue";
|
2
|
+
import { L as U } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { g as w } from "./main-COiaaxGk.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
6
|
const E = { class: "option-text" }, L = {
|
6
7
|
key: 0,
|
7
8
|
class: "option-suffix"
|
8
|
-
},
|
9
|
+
}, I = /* @__PURE__ */ k({
|
9
10
|
__name: "Install",
|
10
11
|
setup(O) {
|
11
12
|
let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
@@ -16,19 +17,19 @@ const E = { class: "option-text" }, L = {
|
|
16
17
|
{ value: "Oracle", text: "Oracle" },
|
17
18
|
{ value: "Trino", text: "Trino" }
|
18
19
|
]), V = () => {
|
19
|
-
u.value = !0, i.value.validate((
|
20
|
-
if (!
|
20
|
+
u.value = !0, i.value.validate((f, n) => {
|
21
|
+
if (!f)
|
21
22
|
return u.value = !1, !1;
|
22
|
-
|
23
|
+
U.post("/app/install", o.value).then(({ data: p }) => {
|
23
24
|
}).finally(() => {
|
24
25
|
u.value = !1;
|
25
26
|
});
|
26
27
|
});
|
27
28
|
};
|
28
29
|
return C(() => {
|
29
|
-
}), (
|
30
|
-
const p = r("el-input"), s = r("el-form-item"),
|
31
|
-
return d(),
|
30
|
+
}), (f, n) => {
|
31
|
+
const p = r("el-input"), s = r("el-form-item"), g = r("el-option"), S = r("el-select"), q = r("el-button"), b = r("el-form");
|
32
|
+
return d(), _(l(w), {
|
32
33
|
class: "ha-install",
|
33
34
|
title: "数据库信息"
|
34
35
|
}, {
|
@@ -63,12 +64,12 @@ const E = { class: "option-text" }, L = {
|
|
63
64
|
rules: [{ required: !0, message: "数据库类型不能为空" }]
|
64
65
|
}, {
|
65
66
|
default: t(() => [
|
66
|
-
a(
|
67
|
+
a(S, {
|
67
68
|
modelValue: l(o).type,
|
68
69
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
69
70
|
}, {
|
70
71
|
default: t(() => [
|
71
|
-
(d(!0), v(M, null, N(l(y), (e) => (d(),
|
72
|
+
(d(!0), v(M, null, N(l(y), (e) => (d(), _(g, {
|
72
73
|
value: e.value,
|
73
74
|
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
74
75
|
key: `${e.value}`
|
@@ -124,5 +125,5 @@ const E = { class: "option-text" }, L = {
|
|
124
125
|
}
|
125
126
|
});
|
126
127
|
export {
|
127
|
-
|
128
|
+
I as default
|
128
129
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as
|
2
|
-
import {
|
3
|
-
const
|
1
|
+
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as K, isRef as y } from "vue";
|
2
|
+
import { P as N, aK as k } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
const D = /* @__PURE__ */ f({
|
4
4
|
__name: "Int",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -11,7 +11,7 @@ const C = /* @__PURE__ */ f({
|
|
11
11
|
},
|
12
12
|
emits: ["change", "submit", "update:modelValue"],
|
13
13
|
setup(m, { emit: u }) {
|
14
|
-
let l = u, s = m, { table: p, field: r, searchData:
|
14
|
+
let l = u, s = m, { table: p, field: r, searchData: x, modelValue: i } = _(s), d = () => {
|
15
15
|
l("submit");
|
16
16
|
}, o = h({
|
17
17
|
get() {
|
@@ -24,15 +24,15 @@ const C = /* @__PURE__ */ f({
|
|
24
24
|
return (t, n) => {
|
25
25
|
const c = b("el-input-number");
|
26
26
|
return V(), g(c, {
|
27
|
-
placeholder: e(
|
27
|
+
placeholder: e(N)("common.please_input") + e(k)(e(p).name, e(r).name),
|
28
28
|
"controls-position": "right",
|
29
|
-
onKeyup:
|
29
|
+
onKeyup: K(e(d), ["enter", "native"]),
|
30
30
|
modelValue: e(o),
|
31
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) =>
|
31
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => y(o) ? o.value = a : o = a)
|
32
32
|
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
33
33
|
};
|
34
34
|
}
|
35
35
|
});
|
36
36
|
export {
|
37
|
-
|
37
|
+
D as default
|
38
38
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as c, toRefs as f, computed as
|
2
|
-
import {
|
3
|
-
const
|
1
|
+
import { defineComponent as c, toRefs as f, computed as V, resolveComponent as _, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
|
2
|
+
import { Q as K, aM as k } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
const C = /* @__PURE__ */ c({
|
4
4
|
__name: "Int",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -12,23 +12,23 @@ const B = /* @__PURE__ */ c({
|
|
12
12
|
},
|
13
13
|
emits: ["submit", "change", "update:modelValue"],
|
14
14
|
setup(r, { emit: i }) {
|
15
|
-
let l = i, s = r, { table: d, field:
|
15
|
+
let l = i, s = r, { table: d, field: a, set: w, modelValue: n } = f(s), p = () => {
|
16
16
|
l("submit");
|
17
|
-
}, t =
|
17
|
+
}, t = V({
|
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);
|
24
24
|
}
|
25
25
|
});
|
26
26
|
return (o, u) => {
|
27
|
-
const b =
|
27
|
+
const b = _("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)
|
@@ -37,5 +37,5 @@ const B = /* @__PURE__ */ c({
|
|
37
37
|
}
|
38
38
|
});
|
39
39
|
export {
|
40
|
-
|
40
|
+
C as default
|
41
41
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as B, toRefs as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as B, toRefs as K, 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 { K as n, e as j, G as A, s as H } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { s as d } from "./main-COiaaxGk.js";
|
4
|
+
const I = { class: "not-support" }, W = /* @__PURE__ */ B({
|
4
5
|
__name: "List",
|
5
6
|
props: {
|
6
7
|
base: {},
|
@@ -10,18 +11,18 @@ const I = { 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 l =
|
14
|
+
let h = P, k = b, { url: m, base: p, route: r } = K(k), f = u(), i = u(), s = u(), y = u(), g = u(), o = u(), c = u(), q = (e) => {
|
15
|
+
let l = n.getPath(e), a = n.getPath(m.value);
|
15
16
|
return l != a;
|
16
17
|
}, C = (e) => {
|
17
|
-
let l =
|
18
|
+
let l = n.getPath(m.value), a = n.getPath(e);
|
18
19
|
return l != a;
|
19
20
|
}, x = (e) => {
|
20
21
|
var a;
|
21
22
|
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),
|
23
|
+
A.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema), s.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
24
|
}, v = (e = null, l = null) => {
|
24
|
-
let a = e ?? r.value.query, N =
|
25
|
+
let a = e ?? r.value.query, N = n.getUrl(r.value.path, a);
|
25
26
|
h("load", N, !1, l);
|
26
27
|
}, R = (e) => {
|
27
28
|
v(null, e);
|
@@ -45,14 +46,14 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
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) => (F(), G(T(`list-${t(
|
49
|
+
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboard: z, resize: L }), (e, l) => (F(), G(T(`list-${t(s).layouts[0].type.toLowerCase()}`), {
|
49
50
|
ref_key: "listRef",
|
50
51
|
ref: o,
|
51
52
|
route: t(r),
|
52
53
|
module: t(f),
|
53
54
|
schema: t(i),
|
54
|
-
table: t(
|
55
|
-
layout: t(
|
55
|
+
table: t(s),
|
56
|
+
layout: t(s).layouts[0],
|
56
57
|
next: t(y),
|
57
58
|
set: t(g),
|
58
59
|
"search-data": t(c),
|
@@ -62,12 +63,12 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
62
63
|
onRefresh: t(_)
|
63
64
|
}, {
|
64
65
|
default: U(() => [
|
65
|
-
V("div", I, "未支持的列表布局方式:" + $(t(
|
66
|
+
V("div", I, "未支持的列表布局方式:" + $(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
|
+
W 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-idvmXC0t.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-DgZjeg-u.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),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as
|
2
|
-
import {
|
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 { aL as Y } from "./assets/halo-fe-idvmXC0t.js";
|
3
3
|
const x = /* @__PURE__ */ i({
|
4
4
|
__name: "Month",
|
5
5
|
props: {
|
@@ -12,7 +12,7 @@ const x = /* @__PURE__ */ i({
|
|
12
12
|
},
|
13
13
|
emits: ["submit", "change", "update:modelValue"],
|
14
14
|
setup(n, { emit: r }) {
|
15
|
-
let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l =
|
15
|
+
let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
|
16
16
|
get() {
|
17
17
|
return s.value;
|
18
18
|
},
|
@@ -21,7 +21,7 @@ const x = /* @__PURE__ */ i({
|
|
21
21
|
}
|
22
22
|
});
|
23
23
|
return (t, m) => {
|
24
|
-
const c =
|
24
|
+
const c = V("el-date-picker");
|
25
25
|
return h(), b(c, {
|
26
26
|
type: "month",
|
27
27
|
placeholder: e(Y)(e(u).name, e(a).name),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as
|
2
|
-
import {
|
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 { aL as Y } from "./assets/halo-fe-idvmXC0t.js";
|
3
3
|
const x = /* @__PURE__ */ i({
|
4
4
|
__name: "Month",
|
5
5
|
props: {
|
@@ -11,7 +11,7 @@ const x = /* @__PURE__ */ i({
|
|
11
11
|
},
|
12
12
|
emits: ["submit", "change", "update:modelValue"],
|
13
13
|
setup(n, { emit: r }) {
|
14
|
-
let a = r, p = n, { table: u, field: o, searchData: g, modelValue: s } = f(p), l =
|
14
|
+
let a = r, p = n, { table: u, field: o, searchData: g, modelValue: s } = f(p), l = h({
|
15
15
|
get() {
|
16
16
|
return s.value;
|
17
17
|
},
|
@@ -20,8 +20,8 @@ const x = /* @__PURE__ */ i({
|
|
20
20
|
}
|
21
21
|
});
|
22
22
|
return (t, m) => {
|
23
|
-
const c =
|
24
|
-
return
|
23
|
+
const c = _("el-date-picker");
|
24
|
+
return V(), b(c, {
|
25
25
|
type: "month",
|
26
26
|
placeholder: e(Y)(e(u).name, e(o).name),
|
27
27
|
"value-format": "YYYY-MM",
|
@@ -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-DgZjeg-u.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,8 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as de, toRefs as he, ref as w, onMounted as fe, computed as z, watch as q, resolveComponent as _, openBlock as n, createElementBlock as v, normalizeClass as G, unref as e, createBlock as g, withCtx as m, Fragment as S, renderList as R, createVNode as C, createCommentVNode as E, toDisplayString as B, createElementVNode as L, normalizeStyle as ge, createTextVNode as _e, resolveDynamicComponent as be } from "vue";
|
2
|
+
import { i as ye, P as Ce, aK as ke, g as xe } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { d as H, s as I, c as we, i as Se } from "./main-COiaaxGk.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
|
-
import { _ as
|
6
|
+
import { _ as J } from "./Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js";
|
6
7
|
const Re = {
|
7
8
|
key: 1,
|
8
9
|
class: "ha-empty"
|
@@ -13,7 +14,7 @@ const Re = {
|
|
13
14
|
}, ze = {
|
14
15
|
key: 0,
|
15
16
|
class: "normal-selection"
|
16
|
-
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */
|
17
|
+
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */ L("i", { class: "fa fa-question-circle icon-question" }, null, -1), Le = /* @__PURE__ */ de({
|
17
18
|
__name: "Normal",
|
18
19
|
props: {
|
19
20
|
route: {},
|
@@ -26,31 +27,31 @@ const Re = {
|
|
26
27
|
set: {}
|
27
28
|
},
|
28
29
|
emits: ["change", "submit"],
|
29
|
-
setup(
|
30
|
-
let
|
31
|
-
|
30
|
+
setup(Q, { expose: U, emit: X }) {
|
31
|
+
let M = X, Y = Q, { module: O, set: c, schema: V, table: t, layout: i, validateErrors: A } = he(Y), p = w({ page: 1, count: c.value[t.value.name].length }), k = w([]), b = w(), P = w([]), j = w(), Z = (l) => {
|
32
|
+
P.value.push(l);
|
32
33
|
}, ee = () => {
|
33
34
|
p.value.page = 1;
|
34
35
|
}, le = () => {
|
35
|
-
b.value =
|
36
|
-
let l =
|
36
|
+
b.value = K(t.value);
|
37
|
+
let l = I.getDefaultRow(t.value);
|
37
38
|
c.value[t.value.name].push(l);
|
38
39
|
}, te = () => {
|
39
40
|
let l = c.value[t.value.name];
|
40
41
|
k.value.forEach((a) => {
|
41
42
|
l.splice(l.indexOf(a), 1);
|
42
|
-
}), k.value = [],
|
43
|
+
}), k.value = [], P.value.forEach((a) => {
|
43
44
|
a.model && (a.model = !1);
|
44
45
|
});
|
45
|
-
},
|
46
|
-
|
46
|
+
}, N = (l) => c.value[t.value.name].indexOf(l), ae = (l, a, o, r, d) => {
|
47
|
+
M("change", l, a, o, r, d);
|
47
48
|
}, ne = (l, a) => {
|
48
|
-
l ? k.value.push(a) :
|
49
|
+
l ? k.value.push(a) : xe.remove(k.value, a);
|
49
50
|
}, oe = (l) => {
|
50
|
-
|
51
|
+
M("submit", l);
|
51
52
|
}, re = (l, a = null) => {
|
52
53
|
p.value.page = l;
|
53
|
-
},
|
54
|
+
}, K = (l) => {
|
54
55
|
if (l.main || l.search.length == 0)
|
55
56
|
return null;
|
56
57
|
let a = {};
|
@@ -59,35 +60,35 @@ const Re = {
|
|
59
60
|
});
|
60
61
|
let o = {};
|
61
62
|
return o[l.name] = a, o;
|
62
|
-
},
|
63
|
-
b.value =
|
63
|
+
}, T = (l) => {
|
64
|
+
b.value = K(l);
|
64
65
|
}, ue = () => {
|
65
|
-
|
66
|
+
D();
|
66
67
|
}, se = (l) => {
|
67
|
-
|
68
|
-
},
|
68
|
+
T(l.schema[0]);
|
69
|
+
}, D = () => {
|
69
70
|
let l = j.value.clientWidth;
|
70
71
|
i.value.column = Math.ceil(l / 500);
|
71
72
|
}, me = () => {
|
72
|
-
|
73
|
+
D(), T(t.value);
|
73
74
|
};
|
74
75
|
fe(() => {
|
75
76
|
me();
|
76
77
|
});
|
77
|
-
let ce = z(() =>
|
78
|
+
let ce = z(() => H.splitRows(t.value.search, i.value.column)), W = z(() => {
|
78
79
|
if (!b.value)
|
79
80
|
return c.value[t.value.name];
|
80
81
|
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.pageSize, o = p.value.page * i.value.pageSize - 1, r = c.value[t.value.name].filter(($) => {
|
81
82
|
let f = !0;
|
82
83
|
for (let x = 0; x < t.value.search.length; x++) {
|
83
|
-
let y = t.value.search[x], s = $[y.name],
|
84
|
-
if (
|
84
|
+
let y = t.value.search[x], s = $[y.name], h = l[y.name];
|
85
|
+
if (h) {
|
85
86
|
if (y.search == "Equals") {
|
86
|
-
if (s !==
|
87
|
+
if (s !== h) {
|
87
88
|
f = !1;
|
88
89
|
break;
|
89
90
|
}
|
90
|
-
} else if (y.search == "Contains" && s.indexOf(
|
91
|
+
} else if (y.search == "Contains" && s.indexOf(h) == -1) {
|
91
92
|
f = !1;
|
92
93
|
break;
|
93
94
|
}
|
@@ -96,45 +97,45 @@ const Re = {
|
|
96
97
|
return f;
|
97
98
|
});
|
98
99
|
return p.value.count = r.length, r.filter(($, f) => f >= a && f <= o);
|
99
|
-
}), ie = z(() =>
|
100
|
+
}), ie = z(() => I.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), pe = z(() => {
|
100
101
|
let l = t.value.main ? `/${t.value.name}` : `/${V.value[0].name}/${t.value.name}`;
|
101
|
-
return
|
102
|
+
return we.getComponent(`${l}/update-child`, "partial", "update-child");
|
102
103
|
});
|
103
|
-
return
|
104
|
-
let o = l.length, r = a.length,
|
105
|
-
(o > r || o < r && p.value.page >
|
106
|
-
}, { deep: !0 }),
|
104
|
+
return q(() => c.value[t.value.name], (l, a) => {
|
105
|
+
let o = l.length, r = a.length, d = ye.pageCount(c.value[t.value.name].length, i.value.pageSize);
|
106
|
+
(o > r || o < r && p.value.page > d) && (p.value.page = d);
|
107
|
+
}, { deep: !0 }), q(A, (l, a) => {
|
107
108
|
let o = l.find((r) => r.table == t.value.name);
|
108
109
|
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.pageSize));
|
109
|
-
}),
|
110
|
-
|
111
|
-
}),
|
112
|
-
const o = _("el-form-item"), r = _("el-col"),
|
110
|
+
}), q(t, (l, a) => {
|
111
|
+
D();
|
112
|
+
}), U({ resize: ue, update: se }), (l, a) => {
|
113
|
+
const o = _("el-form-item"), r = _("el-col"), d = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
|
113
114
|
return n(), v("div", {
|
114
115
|
ref_key: "normalRef",
|
115
116
|
ref: j,
|
116
|
-
class:
|
117
|
+
class: G(["ha-normal-layout", { draggable: e(i).sort }])
|
117
118
|
}, [
|
118
119
|
e(b) ? (n(), g($, {
|
119
120
|
key: 0,
|
120
121
|
class: "search-form"
|
121
122
|
}, {
|
122
123
|
default: m(() => [
|
123
|
-
(n(!0), v(S, null, R(e(ce), (s,
|
124
|
+
(n(!0), v(S, null, R(e(ce), (s, h) => (n(), g(d, {
|
124
125
|
gutter: 5,
|
125
|
-
key:
|
126
|
+
key: h
|
126
127
|
}, {
|
127
128
|
default: m(() => [
|
128
|
-
(n(!0), v(S, null, R(s, (u,
|
129
|
+
(n(!0), v(S, null, R(s, (u, F) => (n(), g(r, {
|
129
130
|
span: 24 / e(i).column,
|
130
|
-
key:
|
131
|
+
key: F
|
131
132
|
}, {
|
132
133
|
default: m(() => [
|
133
134
|
C(o, {
|
134
135
|
label: u.label
|
135
136
|
}, {
|
136
137
|
default: m(() => [
|
137
|
-
C(
|
138
|
+
C(J, {
|
138
139
|
schema: e(V),
|
139
140
|
table: e(t),
|
140
141
|
field: u,
|
@@ -153,9 +154,9 @@ const Re = {
|
|
153
154
|
]),
|
154
155
|
_: 1
|
155
156
|
})) : E("", !0),
|
156
|
-
e(
|
157
|
-
(n(!0), v(S, null, R(e(
|
158
|
-
class:
|
157
|
+
e(W).length ? (n(), v("div", $e, [
|
158
|
+
(n(!0), v(S, null, R(e(W), (s) => (n(), v("div", {
|
159
|
+
class: G(["normal-row", { main: e(t).main }])
|
159
160
|
}, [
|
160
161
|
e(t).main ? E("", !0) : (n(), v("div", ze, [
|
161
162
|
C(f, {
|
@@ -163,25 +164,25 @@ const Re = {
|
|
163
164
|
ref: e(Z),
|
164
165
|
class: "normal-checkbox",
|
165
166
|
row: s,
|
166
|
-
onChange: (
|
167
|
+
onChange: (h) => e(ne)(h, s)
|
167
168
|
}, null, 8, ["row", "onChange"])
|
168
169
|
])),
|
169
|
-
|
170
|
-
(n(!0), v(S, null, R(e(ie), (
|
170
|
+
L("div", Ee, [
|
171
|
+
(n(!0), v(S, null, R(e(ie), (h) => (n(), g(d, null, {
|
171
172
|
default: m(() => [
|
172
|
-
(n(!0), v(S, null, R(
|
173
|
-
span:
|
173
|
+
(n(!0), v(S, null, R(h, ({ data: u, span: F }) => (n(), g(r, {
|
174
|
+
span: F,
|
174
175
|
key: `${e(t).name}.${u.name}`
|
175
176
|
}, {
|
176
177
|
default: m(() => [
|
177
178
|
C(o, {
|
178
|
-
style: ge(e(
|
179
|
+
style: ge(e(H).getStyle(u, e(O).type, e(i).type)),
|
179
180
|
label: u.label,
|
180
|
-
rules: e(
|
181
|
-
prop: `[${e(t).name}][${e(
|
181
|
+
rules: e(I).getRules(e(A), e(t), u, e(N)(s)),
|
182
|
+
prop: `[${e(t).name}][${e(N)(s)}][${u.name}]`
|
182
183
|
}, {
|
183
184
|
label: m(() => [
|
184
|
-
_e(
|
185
|
+
_e(B(e(ke)(e(t).name, u.name)) + " ", 1),
|
185
186
|
u.control.tooltip ? (n(), g(x, {
|
186
187
|
key: 0,
|
187
188
|
trigger: "hover",
|
@@ -193,20 +194,20 @@ const Re = {
|
|
193
194
|
Ve
|
194
195
|
]),
|
195
196
|
default: m(() => [
|
196
|
-
|
197
|
+
L("pre", null, B(u.control.tooltip.content), 1)
|
197
198
|
]),
|
198
199
|
_: 2
|
199
200
|
}, 1032, ["title"])) : E("", !0)
|
200
201
|
]),
|
201
202
|
default: m(() => [
|
202
|
-
C(
|
203
|
+
C(J, {
|
203
204
|
schema: e(V),
|
204
205
|
table: e(t),
|
205
206
|
field: u,
|
206
207
|
set: e(c),
|
207
208
|
row: s,
|
208
209
|
onSubmit: e(oe),
|
209
|
-
onChange: (ve) => e(ae)(ve, e(c), e(t), u, e(
|
210
|
+
onChange: (ve) => e(ae)(ve, e(c), e(t), u, e(N)(s))
|
210
211
|
}, null, 8, ["schema", "table", "field", "set", "row", "onSubmit", "onChange"])
|
211
212
|
]),
|
212
213
|
_: 2
|
@@ -219,8 +220,8 @@ const Re = {
|
|
219
220
|
}, 1024))), 256))
|
220
221
|
])
|
221
222
|
], 2))), 256))
|
222
|
-
], 512)) : (n(), v("div", Re,
|
223
|
-
e(t).main ? E("", !0) : (n(), g(e(
|
223
|
+
], 512)) : (n(), v("div", Re, B(e(Ce)("common.no_data")), 1)),
|
224
|
+
e(t).main ? E("", !0) : (n(), g(e(Se), { key: 3 }, {
|
224
225
|
left: m(() => [
|
225
226
|
(n(), g(be(e(pe)), {
|
226
227
|
module: e(O),
|
@@ -248,5 +249,5 @@ const Re = {
|
|
248
249
|
}
|
249
250
|
});
|
250
251
|
export {
|
251
|
-
|
252
|
+
Le as default
|
252
253
|
};
|