halo-pc 1.0.18 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-C00dDtgQ.js → Article-aps_F4Uq.js} +34 -34
- package/dist/{ArticleFooter-jAlMJJ0Z.js → ArticleFooter-CsCnjrJ1.js} +5 -5
- package/dist/{Autocomplete-DYgdzQEa.js → Autocomplete-BGkHGSX_.js} +1 -1
- package/dist/{Autocomplete-CQ-UuksH.js → Autocomplete-CGoxGIM2.js} +8 -8
- package/dist/{Autocomplete-BYlz8Q3t.js → Autocomplete-XdLV4jzi.js} +8 -8
- package/dist/{CSharp-ouau54_s.js → CSharp-NuDfWEq7.js} +1 -1
- package/dist/{Calender-iu_I3vcU.js → Calender-C2YaNTHk.js} +1 -1
- package/dist/{Callback-bRXyRBO2.js → Callback-Czdr_dVp.js} +1 -1
- package/dist/{Cascader-BJs2FXbQ.js → Cascader-D3Kr80fH.js} +10 -10
- package/dist/{Cascader-ljR17aOe.js → Cascader-DRvnD4Xc.js} +5 -5
- package/dist/{Checkbox-C2OWgiE1.js → Checkbox-5pSKww4M.js} +12 -12
- package/dist/{Checkbox-Cy5zNH7D.js → Checkbox-BAcK--1U.js} +1 -1
- package/dist/Code-BHEes80c.js +4 -0
- package/dist/{Code-Cruabofi.js → Code-BxQxsVD8.js} +10 -10
- package/dist/{Code-DTvIe3kd.js → Code-CbsVyhOv.js} +1 -1
- package/dist/{Code-B9oyIhEo.js → Code-CtDTGfBy.js} +1 -1
- package/dist/{Code.vue_vue_type_style_index_0_lang-BmQDWq2q.js → Code.vue_vue_type_style_index_0_lang-CPZKY3vQ.js} +2 -2
- package/dist/{Column-ClHvuVuz.js → Column-D3PMyaiE.js} +17 -17
- package/dist/{Comment-D292jtJC.js → Comment-B3fvVYJF.js} +12 -12
- package/dist/Compare-BXxJuIXf.js +37 -0
- package/dist/Compare-gEOPuGLB.js +57 -0
- package/dist/{Copy-CvgX-bKU.js → Copy-1znXP-dt.js} +4 -4
- package/dist/{Custom-4bEXZx8t.js → Custom-C_15ZImX.js} +11 -11
- package/dist/{DataExport-DH0oVaJf.js → DataExport-hwoZoZUN.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BV2aSpcq.js → DataExport.vue_vue_type_script_setup_true_lang-Dkq4fSkZ.js} +18 -18
- package/dist/{DataImport-D73iWOit.js → DataImport-CQYeF50z.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-B39IZpM3.js → DataImport.vue_vue_type_script_setup_true_lang-ChWRjj2W.js} +13 -13
- package/dist/{Date-DCtZ8VpD.js → Date-0bIUTNCs.js} +6 -6
- package/dist/{Date-BJ2vBWIM.js → Date-a3T1YbHN.js} +1 -1
- package/dist/{DateRange-BWXik5I2.js → DateRange-Cxu9FXTE.js} +1 -1
- package/dist/{DateTime-D_GCbnKC.js → DateTime-BUYojCOY.js} +1 -1
- package/dist/{DateTime-BBHPa2zE.js → DateTime-IlsYZL-l.js} +6 -6
- package/dist/{DateTimeRange-C4-4mq77.js → DateTimeRange-D9K4am0p.js} +4 -4
- package/dist/{Daterange-CPVrg_r8.js → Daterange-CX0Klog4.js} +7 -7
- package/dist/{Decimal-Bv5A7-xm.js → Decimal-CNhxJUZg.js} +1 -1
- package/dist/{Delete-lSTmw_3a.js → Delete-DFl8Tr27.js} +13 -13
- package/dist/{Detail-Dfvzkkw6.js → Detail-BXkTd6Wh.js} +5 -5
- package/dist/{Dictionary-thXsHbOo.js → Dictionary-DmarNVsi.js} +10 -10
- package/dist/{Email-BDg7Qf9f.js → Email-BBjDCCOK.js} +4 -4
- package/dist/{File-TEaB_uIR.js → File-CAnAcqJX.js} +37 -37
- package/dist/{Image-BqCjtyvc.js → Image-pufFvop2.js} +1 -1
- package/dist/{Index-ld-kC6ij.js → Index-BqjKndKz.js} +7 -7
- package/dist/{Index-BQKjFLbE.js → Index-C4D5pwwu.js} +24 -24
- package/dist/Index-CD_KS2lO.js +4 -0
- package/dist/Index-CEh3KlPE.js +4 -0
- package/dist/{Index-Cn5Qex6Q.js → Index-CseSUp2Z.js} +1 -1
- package/dist/{Index-BuhrNqZE.js → Index-DJvB04cS.js} +1 -1
- package/dist/{Index-DapcfeaN.js → Index-RZT6JXBO.js} +1 -1
- package/dist/Index-XmvSiC1h.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-zlsTcQ-k.js → Index.vue_vue_type_script_setup_true_lang-C8ZEc4nU.js} +3 -3
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BKPwS2s9.js → Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js} +1 -1
- package/dist/{Index.vue_vue_type_style_index_0_lang-CqjK1AVM.js → Index.vue_vue_type_style_index_0_lang-T12lwRy6.js} +11 -11
- package/dist/{Install-BQ_rGQFg.js → Install-DWWpscrR.js} +3 -3
- package/dist/{Int-C33TxFtW.js → Int-Bi3P8XeV.js} +6 -6
- package/dist/{Int-DRcbQElJ.js → Int-Bn2p1DqA.js} +8 -8
- package/dist/{List-CSkx_cTr.js → List-CeQRwXop.js} +17 -17
- package/dist/{Maintaince-D0JZ-9mL.js → Maintaince-CVMjhqSO.js} +1 -1
- package/dist/{Markdown-DjbgXlE6.js → Markdown-d8PCfAFf.js} +1 -1
- package/dist/{Month-C_sIkUIo.js → Month-BfUSQ3xa.js} +6 -6
- package/dist/{Month-68Hi85T_.js → Month-COEkKDL_.js} +1 -1
- package/dist/{Month-unY9f1-N.js → Month-DQKfNQzN.js} +7 -7
- package/dist/{Normal-BAoQvNjn.js → Normal-BD7sNr-b.js} +49 -49
- package/dist/{Paging-BNVKLCCy.js → Paging-d_-VefNv.js} +6 -6
- package/dist/{PagingHeader-CkESvHSg.js → PagingHeader-CznmI0kr.js} +18 -18
- package/dist/{PagingRow-DrMTqBj9.js → PagingRow-BJ-VLpfV.js} +7 -7
- package/dist/{QueryApi-D410WxrU.js → QueryApi-Cdniq3mZ.js} +1 -1
- package/dist/{Racebar-BhPT9MdU.js → Racebar-BkwhD-rw.js} +16 -16
- package/dist/{Radio-D1AcW1pn.js → Radio-CS12bajp.js} +1 -1
- package/dist/{Register-jgIuWNwI.js → Register-l_X4fDPP.js} +23 -23
- package/dist/{RichText-BgLtVFup.js → RichText-9MwwjuZi.js} +8 -8
- package/dist/{SearchFooter-CAWhmjR2.js → SearchFooter-C8N9ku25.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-ClaSxScx.js → SearchFooter.vue_vue_type_style_index_0_lang-6WvYHIn1.js} +1 -1
- package/dist/{SearchForm--aMZLLx4.js → SearchForm-DX0mN20A.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-_rdBTvY_.js → SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js} +19 -19
- package/dist/{Select-DU_6d_Ob.js → Select-CQE5kY-n.js} +14 -14
- package/dist/{Select-CVnXZcZi.js → Select-DYjvtHyi.js} +1 -1
- package/dist/{Select-JFUTkpkm.js → Select-DaEqum3a.js} +17 -17
- package/dist/{Single-B0g3q0uZ.js → Single-DErvX9y_.js} +81 -81
- package/dist/{Statistic-XTBdaF7E.js → Statistic-CQxXdu-V.js} +31 -31
- package/dist/{Stock-CWU3inQY.js → Stock-CsoHCwV6.js} +1 -1
- package/dist/{Stock-nsqld-XR.js → Stock-DXLdfC3r.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js → Stock.vue_vue_type_style_index_0_lang-B-b3Lj_h.js} +6 -6
- package/dist/{Switch-BqHPuFzA.js → Switch-BCgZXfWo.js} +1 -1
- package/dist/{Table-xRltYWjc.js → Table-CAVxyUTD.js} +55 -55
- package/dist/{Table-l0km2rz7.js → Table-DkJYgLFt.js} +52 -52
- package/dist/{Text-DOTMUPPm.js → Text-Cn0cOTli.js} +7 -7
- package/dist/{Text-alXcFJHa.js → Text-Dk5tNNZo.js} +6 -6
- package/dist/Text-DvVWvaMO.js +4 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-1wF_kb3u.js → Text.vue_vue_type_style_index_0_lang-I01JEYAx.js} +2 -2
- package/dist/{TextLink-BUpIHKqh.js → TextLink-D3nvnLHn.js} +3 -3
- package/dist/{Textarea-IFX_g2SZ.js → Textarea-Pc4TfoC3.js} +1 -1
- package/dist/{Time-CHadluUL.js → Time-CToG3p0T.js} +6 -6
- package/dist/{Timeline-B7xPAwXh.js → Timeline-DphvhX0U.js} +2 -2
- package/dist/{Tree-qvL1DgaM.js → Tree-01Sb-9zi.js} +54 -54
- package/dist/{Tree-DoXqyUpn.js → Tree-CH1RoUqu.js} +13 -13
- package/dist/{TreeNode-CUSAKhTp.js → TreeNode-C54d29V-.js} +1 -1
- package/dist/{Update-eETfPmHB.js → Update-Cy1lFPVv.js} +5 -5
- package/dist/{UpdateChild-DbbXDvCz.js → UpdateChild-DV_8KV9G.js} +6 -6
- package/dist/{Upload-DMfKIPRu.js → Upload-BalaO4wz.js} +48 -48
- package/dist/{Upload-CAUGBT7A.js → Upload-DQVaPUdG.js} +13 -13
- package/dist/{UploadApi-FEbSWkVM.js → UploadApi-Cfm5DM_x.js} +1 -1
- package/dist/{Year-CnHHib5-.js → Year-BFZPXXq0.js} +1 -1
- package/dist/{Year-CAxdMb2V.js → Year-Swm3VSzj.js} +7 -7
- package/dist/{main-DArl7gFs.js → main-BYJVoHlf.js} +3883 -4263
- package/dist/main.js +26 -27
- 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/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
@@ -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 "./main-BYJVoHlf.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-BqjKndKz.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,11 @@
|
|
1
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 {
|
2
|
+
import { A as U, L as w } from "./main-BYJVoHlf.js";
|
3
3
|
import "vue-router";
|
4
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
5
|
const E = { class: "option-text" }, L = {
|
6
6
|
key: 0,
|
7
7
|
class: "option-suffix"
|
8
|
-
},
|
8
|
+
}, D = /* @__PURE__ */ k({
|
9
9
|
__name: "Install",
|
10
10
|
setup(O) {
|
11
11
|
let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
@@ -124,5 +124,5 @@ const E = { class: "option-text" }, L = {
|
|
124
124
|
}
|
125
125
|
});
|
126
126
|
export {
|
127
|
-
|
127
|
+
D as default
|
128
128
|
};
|
@@ -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, V as k } from "./main-BYJVoHlf.js";
|
3
|
+
const C = /* @__PURE__ */ c({
|
4
4
|
__name: "Int",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -14,7 +14,7 @@ const B = /* @__PURE__ */ c({
|
|
14
14
|
setup(r, { emit: i }) {
|
15
15
|
let l = i, s = r, { table: d, field: n, set: w, modelValue: a } = f(s), p = () => {
|
16
16
|
l("submit");
|
17
|
-
}, t =
|
17
|
+
}, t = V({
|
18
18
|
get() {
|
19
19
|
if (K.isNumber(a.value))
|
20
20
|
return a.value;
|
@@ -24,7 +24,7 @@ const B = /* @__PURE__ */ c({
|
|
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
29
|
"aria-label": e(k)(e(d).name, e(n).name),
|
30
30
|
"controls-position": "right",
|
@@ -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,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 N, isRef as y } from "vue";
|
2
|
+
import { P as K, N as k } from "./main-BYJVoHlf.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(K)("common.please_input") + e(k)(e(p).name, e(r).name),
|
28
28
|
"controls-position": "right",
|
29
|
-
onKeyup:
|
29
|
+
onKeyup: N(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 B, toRefs as
|
2
|
-
import {
|
3
|
-
const I = { class: "not-support" },
|
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, c as j, G as A, s as v, d as H } from "./main-BYJVoHlf.js";
|
3
|
+
const I = { class: "not-support" }, Q = /* @__PURE__ */ B({
|
4
4
|
__name: "List",
|
5
5
|
props: {
|
6
6
|
base: {},
|
@@ -10,28 +10,28 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
10
10
|
},
|
11
11
|
emits: ["load", "navigate"],
|
12
12
|
setup(b, { expose: S, emit: P }) {
|
13
|
-
let h = P, k = b, { url: m, base: p, route: r } =
|
14
|
-
let l =
|
13
|
+
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) => {
|
14
|
+
let l = n.getPath(e), a = n.getPath(m.value);
|
15
15
|
return l != a;
|
16
16
|
}, C = (e) => {
|
17
|
-
let l =
|
17
|
+
let l = n.getPath(m.value), a = n.getPath(e);
|
18
18
|
return l != a;
|
19
19
|
}, x = (e) => {
|
20
20
|
var a;
|
21
21
|
let l = j(e.module.type, e.module.name);
|
22
|
-
A.setTitle(l, e.module.env), f.value = e.module, i.value =
|
23
|
-
},
|
24
|
-
let a = e ?? r.value.query, N =
|
22
|
+
A.setTitle(l, e.module.env), f.value = e.module, i.value = v.expandSchema(e.schema), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = v.expandSet(e.schema, e.set), c.value = v.getConditionForm(i.value, r.value.query.condition);
|
23
|
+
}, d = (e = null, l = null) => {
|
24
|
+
let a = e ?? r.value.query, N = n.getUrl(r.value.path, a);
|
25
25
|
h("load", N, !1, l);
|
26
26
|
}, R = (e) => {
|
27
|
-
|
27
|
+
d(null, e);
|
28
28
|
}, w = (e) => {
|
29
29
|
h("navigate", e);
|
30
30
|
}, D = async (e) => {
|
31
31
|
let l = r.value.query;
|
32
|
-
l.condition = H.encode(c.value),
|
32
|
+
l.condition = H.encode(c.value), d(l, e);
|
33
33
|
}, _ = () => {
|
34
|
-
|
34
|
+
d();
|
35
35
|
}, z = (e, l) => {
|
36
36
|
if (!o.value || !o.value.keyboard)
|
37
37
|
return !1;
|
@@ -45,14 +45,14 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
45
45
|
x(p.value.data);
|
46
46
|
})(), E(() => p.value, (e) => {
|
47
47
|
x(e.data);
|
48
|
-
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboard: z, resize: L }), (e, l) => (F(), G(T(`list-${t(
|
48
|
+
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboard: z, resize: L }), (e, l) => (F(), G(T(`list-${t(s).layouts[0].type.toLowerCase()}`), {
|
49
49
|
ref_key: "listRef",
|
50
50
|
ref: o,
|
51
51
|
route: t(r),
|
52
52
|
module: t(f),
|
53
53
|
schema: t(i),
|
54
|
-
table: t(
|
55
|
-
layout: t(
|
54
|
+
table: t(s),
|
55
|
+
layout: t(s).layouts[0],
|
56
56
|
next: t(y),
|
57
57
|
set: t(g),
|
58
58
|
"search-data": t(c),
|
@@ -62,12 +62,12 @@ const I = { class: "not-support" }, O = /* @__PURE__ */ B({
|
|
62
62
|
onRefresh: t(_)
|
63
63
|
}, {
|
64
64
|
default: U(() => [
|
65
|
-
V("div", I, "未支持的列表布局方式:" + $(t(
|
65
|
+
V("div", I, "未支持的列表布局方式:" + $(t(s).layouts[0].type), 1)
|
66
66
|
]),
|
67
67
|
_: 1
|
68
68
|
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
69
69
|
}
|
70
70
|
});
|
71
71
|
export {
|
72
|
-
|
72
|
+
Q as default
|
73
73
|
};
|
@@ -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 { o as i } from "./main-BYJVoHlf.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-DvVWvaMO.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,6 +1,6 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as
|
2
|
-
import {
|
3
|
-
const
|
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 { q as Y } from "./main-BYJVoHlf.js";
|
3
|
+
const v = /* @__PURE__ */ i({
|
4
4
|
__name: "Month",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -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),
|
@@ -34,5 +34,5 @@ const x = /* @__PURE__ */ i({
|
|
34
34
|
}
|
35
35
|
});
|
36
36
|
export {
|
37
|
-
|
37
|
+
v as default
|
38
38
|
};
|
@@ -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-DvVWvaMO.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
|
14
14
|
return (w, t) => (V(), b(e(s), {
|
15
15
|
schema: e(n),
|
16
16
|
table: e(r),
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as
|
2
|
-
import {
|
3
|
-
const
|
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 { q as Y } from "./main-BYJVoHlf.js";
|
3
|
+
const v = /* @__PURE__ */ i({
|
4
4
|
__name: "Month",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -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",
|
@@ -33,5 +33,5 @@ const x = /* @__PURE__ */ i({
|
|
33
33
|
}
|
34
34
|
});
|
35
35
|
export {
|
36
|
-
|
36
|
+
v as default
|
37
37
|
};
|
@@ -1,8 +1,8 @@
|
|
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 H, unref as e, createBlock as g, withCtx as m, Fragment as S, renderList as R, createVNode as k, createCommentVNode as E, toDisplayString as B, createElementVNode as L, normalizeStyle as ge, createTextVNode as _e, resolveDynamicComponent as be } from "vue";
|
2
|
+
import { k as J, s as I, e as ye, F as ke, P as Ce, N as xe, E as we, n as Se } from "./main-BYJVoHlf.js";
|
3
3
|
import "vue-router";
|
4
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
|
-
import { _ as K } from "./Index.vue_vue_type_style_index_0_lang-
|
5
|
+
import { _ as K } from "./Index.vue_vue_type_style_index_0_lang-T12lwRy6.js";
|
6
6
|
const Re = {
|
7
7
|
key: 1,
|
8
8
|
class: "ha-empty"
|
@@ -13,7 +13,7 @@ const Re = {
|
|
13
13
|
}, ze = {
|
14
14
|
key: 0,
|
15
15
|
class: "normal-selection"
|
16
|
-
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */
|
16
|
+
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */ L("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ie = /* @__PURE__ */ de({
|
17
17
|
__name: "Normal",
|
18
18
|
props: {
|
19
19
|
route: {},
|
@@ -26,28 +26,28 @@ const Re = {
|
|
26
26
|
set: {}
|
27
27
|
},
|
28
28
|
emits: ["change", "submit"],
|
29
|
-
setup(
|
30
|
-
let
|
31
|
-
|
29
|
+
setup(Q, { expose: U, emit: X }) {
|
30
|
+
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 }), C = w([]), b = w(), P = w([]), j = w(), Z = (l) => {
|
31
|
+
P.value.push(l);
|
32
32
|
}, ee = () => {
|
33
33
|
p.value.page = 1;
|
34
34
|
}, le = () => {
|
35
35
|
b.value = T(t.value);
|
36
|
-
let l =
|
36
|
+
let l = I.getDefaultRow(t.value);
|
37
37
|
c.value[t.value.name].push(l);
|
38
38
|
}, te = () => {
|
39
39
|
let l = c.value[t.value.name];
|
40
|
-
|
40
|
+
C.value.forEach((a) => {
|
41
41
|
l.splice(l.indexOf(a), 1);
|
42
|
-
}),
|
42
|
+
}), C.value = [], P.value.forEach((a) => {
|
43
43
|
a.model && (a.model = !1);
|
44
44
|
});
|
45
|
-
},
|
46
|
-
|
45
|
+
}, N = (l) => c.value[t.value.name].indexOf(l), ae = (l, a, o, r, d) => {
|
46
|
+
M("change", l, a, o, r, d);
|
47
47
|
}, ne = (l, a) => {
|
48
|
-
l ?
|
48
|
+
l ? C.value.push(a) : Se.remove(C.value, a);
|
49
49
|
}, oe = (l) => {
|
50
|
-
|
50
|
+
M("submit", l);
|
51
51
|
}, re = (l, a = null) => {
|
52
52
|
p.value.page = l;
|
53
53
|
}, T = (l) => {
|
@@ -80,14 +80,14 @@ const Re = {
|
|
80
80
|
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
81
|
let f = !0;
|
82
82
|
for (let x = 0; x < t.value.search.length; x++) {
|
83
|
-
let y = t.value.search[x], s = $[y.name],
|
84
|
-
if (
|
83
|
+
let y = t.value.search[x], s = $[y.name], h = l[y.name];
|
84
|
+
if (h) {
|
85
85
|
if (y.search == "Equals") {
|
86
|
-
if (s !==
|
86
|
+
if (s !== h) {
|
87
87
|
f = !1;
|
88
88
|
break;
|
89
89
|
}
|
90
|
-
} else if (y.search == "Contains" && s.indexOf(
|
90
|
+
} else if (y.search == "Contains" && s.indexOf(h) == -1) {
|
91
91
|
f = !1;
|
92
92
|
break;
|
93
93
|
}
|
@@ -96,20 +96,20 @@ const Re = {
|
|
96
96
|
return f;
|
97
97
|
});
|
98
98
|
return p.value.count = r.length, r.filter(($, f) => f >= a && f <= o);
|
99
|
-
}), ie = z(() =>
|
99
|
+
}), ie = z(() => I.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), pe = z(() => {
|
100
100
|
let l = t.value.main ? `/${t.value.name}` : `/${V.value[0].name}/${t.value.name}`;
|
101
101
|
return ye.getComponent(`${l}/update-child`, "partial", "update-child");
|
102
102
|
});
|
103
|
-
return
|
104
|
-
let o = l.length, r = a.length,
|
105
|
-
(o > r || o < r && p.value.page >
|
106
|
-
}, { deep: !0 }),
|
103
|
+
return q(() => c.value[t.value.name], (l, a) => {
|
104
|
+
let o = l.length, r = a.length, d = ke.pageCount(c.value[t.value.name].length, i.value.pageSize);
|
105
|
+
(o > r || o < r && p.value.page > d) && (p.value.page = d);
|
106
|
+
}, { deep: !0 }), q(A, (l, a) => {
|
107
107
|
let o = l.find((r) => r.table == t.value.name);
|
108
108
|
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.pageSize));
|
109
|
-
}),
|
109
|
+
}), q(t, (l, a) => {
|
110
110
|
F();
|
111
|
-
}),
|
112
|
-
const o = _("el-form-item"), r = _("el-col"),
|
111
|
+
}), U({ resize: ue, update: se }), (l, a) => {
|
112
|
+
const o = _("el-form-item"), r = _("el-col"), d = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
|
113
113
|
return n(), v("div", {
|
114
114
|
ref_key: "normalRef",
|
115
115
|
ref: j,
|
@@ -120,21 +120,21 @@ const Re = {
|
|
120
120
|
class: "search-form"
|
121
121
|
}, {
|
122
122
|
default: m(() => [
|
123
|
-
(n(!0), v(S, null, R(e(ce), (s,
|
123
|
+
(n(!0), v(S, null, R(e(ce), (s, h) => (n(), g(d, {
|
124
124
|
gutter: 5,
|
125
|
-
key:
|
125
|
+
key: h
|
126
126
|
}, {
|
127
127
|
default: m(() => [
|
128
|
-
(n(!0), v(S, null, R(s, (u,
|
128
|
+
(n(!0), v(S, null, R(s, (u, D) => (n(), g(r, {
|
129
129
|
span: 24 / e(i).column,
|
130
|
-
key:
|
130
|
+
key: D
|
131
131
|
}, {
|
132
132
|
default: m(() => [
|
133
|
-
|
133
|
+
k(o, {
|
134
134
|
label: u.label
|
135
135
|
}, {
|
136
136
|
default: m(() => [
|
137
|
-
|
137
|
+
k(K, {
|
138
138
|
schema: e(V),
|
139
139
|
table: e(t),
|
140
140
|
field: u,
|
@@ -158,30 +158,30 @@ const Re = {
|
|
158
158
|
class: H(["normal-row", { main: e(t).main }])
|
159
159
|
}, [
|
160
160
|
e(t).main ? E("", !0) : (n(), v("div", ze, [
|
161
|
-
|
161
|
+
k(f, {
|
162
162
|
ref_for: !0,
|
163
163
|
ref: e(Z),
|
164
164
|
class: "normal-checkbox",
|
165
165
|
row: s,
|
166
|
-
onChange: (
|
166
|
+
onChange: (h) => e(ne)(h, s)
|
167
167
|
}, null, 8, ["row", "onChange"])
|
168
168
|
])),
|
169
|
-
|
170
|
-
(n(!0), v(S, null, R(e(ie), (
|
169
|
+
L("div", Ee, [
|
170
|
+
(n(!0), v(S, null, R(e(ie), (h) => (n(), g(d, null, {
|
171
171
|
default: m(() => [
|
172
|
-
(n(!0), v(S, null, R(
|
173
|
-
span:
|
172
|
+
(n(!0), v(S, null, R(h, ({ data: u, span: D }) => (n(), g(r, {
|
173
|
+
span: D,
|
174
174
|
key: `${e(t).name}.${u.name}`
|
175
175
|
}, {
|
176
176
|
default: m(() => [
|
177
|
-
|
177
|
+
k(o, {
|
178
178
|
style: ge(e(J).getStyle(u, e(O).type, e(i).type)),
|
179
179
|
label: u.label,
|
180
|
-
rules: e(
|
181
|
-
prop: `[${e(t).name}][${e(
|
180
|
+
rules: e(I).getRules(e(A), e(t), u, e(N)(s)),
|
181
|
+
prop: `[${e(t).name}][${e(N)(s)}][${u.name}]`
|
182
182
|
}, {
|
183
183
|
label: m(() => [
|
184
|
-
_e(
|
184
|
+
_e(B(e(xe)(e(t).name, u.name)) + " ", 1),
|
185
185
|
u.control.tooltip ? (n(), g(x, {
|
186
186
|
key: 0,
|
187
187
|
trigger: "hover",
|
@@ -193,20 +193,20 @@ const Re = {
|
|
193
193
|
Ve
|
194
194
|
]),
|
195
195
|
default: m(() => [
|
196
|
-
|
196
|
+
L("pre", null, B(u.control.tooltip.content), 1)
|
197
197
|
]),
|
198
198
|
_: 2
|
199
199
|
}, 1032, ["title"])) : E("", !0)
|
200
200
|
]),
|
201
201
|
default: m(() => [
|
202
|
-
|
202
|
+
k(K, {
|
203
203
|
schema: e(V),
|
204
204
|
table: e(t),
|
205
205
|
field: u,
|
206
206
|
set: e(c),
|
207
207
|
row: s,
|
208
208
|
onSubmit: e(oe),
|
209
|
-
onChange: (ve) => e(ae)(ve, e(c), e(t), u, e(
|
209
|
+
onChange: (ve) => e(ae)(ve, e(c), e(t), u, e(N)(s))
|
210
210
|
}, null, 8, ["schema", "table", "field", "set", "row", "onSubmit", "onChange"])
|
211
211
|
]),
|
212
212
|
_: 2
|
@@ -219,20 +219,20 @@ const Re = {
|
|
219
219
|
}, 1024))), 256))
|
220
220
|
])
|
221
221
|
], 2))), 256))
|
222
|
-
], 512)) : (n(), v("div", Re,
|
222
|
+
], 512)) : (n(), v("div", Re, B(e(Ce)("common.no_data")), 1)),
|
223
223
|
e(t).main ? E("", !0) : (n(), g(e(we), { key: 3 }, {
|
224
224
|
left: m(() => [
|
225
225
|
(n(), g(be(e(pe)), {
|
226
226
|
module: e(O),
|
227
227
|
set: e(c),
|
228
228
|
table: e(t),
|
229
|
-
selection: e(
|
229
|
+
selection: e(C),
|
230
230
|
onAdd: e(le),
|
231
231
|
onRemove: e(te)
|
232
232
|
}, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
|
233
233
|
]),
|
234
234
|
default: m(() => [
|
235
|
-
|
235
|
+
k(y, {
|
236
236
|
background: "",
|
237
237
|
layout: "total, prev, pager, next, jumper",
|
238
238
|
"current-page": e(p).page,
|
@@ -248,5 +248,5 @@ const Re = {
|
|
248
248
|
}
|
249
249
|
});
|
250
250
|
export {
|
251
|
-
|
251
|
+
Ie as default
|
252
252
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as V, toRefs as $, ref as r, onMounted as j, watch as A, unref as t, openBlock as E, createBlock as H, createCommentVNode as I } from "vue";
|
2
|
-
import {
|
3
|
-
import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { K as s, c as Q, G as W, s as d, t as X, d as U } from "./main-BYJVoHlf.js";
|
3
|
+
import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js";
|
4
4
|
const le = /* @__PURE__ */ V({
|
5
5
|
__name: "Paging",
|
6
6
|
props: {
|
@@ -19,8 +19,8 @@ const le = /* @__PURE__ */ V({
|
|
19
19
|
}, w = () => {
|
20
20
|
}, S = (e) => {
|
21
21
|
var l;
|
22
|
-
let a =
|
23
|
-
|
22
|
+
let a = Q(e.module.type, e.module.name);
|
23
|
+
W.setTitle(a, e.module.env), f.value = e.module, x.value = e.next, C.value = d.expandSet(e.schema, e.set), v.value = d.expandSchema(e.schema), c.value = (l = v.value) == null ? void 0 : l[0], h.value = c.value.layouts[0], g.value = d.getConditionForm(v.value, u.value.query.condition);
|
24
24
|
}, q = (e = null, a = null) => {
|
25
25
|
let l = e ?? u.value.query, n = s.getUrl(u.value.path, l);
|
26
26
|
m("load", n, !1, (T) => {
|
@@ -40,7 +40,7 @@ const le = /* @__PURE__ */ V({
|
|
40
40
|
l.order_by = U.encode(JSON.stringify(e));
|
41
41
|
let n = s.getUrl(u.value.path, l);
|
42
42
|
i(n, a);
|
43
|
-
},
|
43
|
+
}, K = (e, a = null) => {
|
44
44
|
let l = u.value.query;
|
45
45
|
l.page = e;
|
46
46
|
let n = s.getUrl(u.value.path, l);
|
@@ -81,7 +81,7 @@ const le = /* @__PURE__ */ V({
|
|
81
81
|
onNavigate: t(i),
|
82
82
|
onSort: t(D),
|
83
83
|
onSearch: t(B),
|
84
|
-
onPageChange: t(
|
84
|
+
onPageChange: t(K),
|
85
85
|
onSizeChange: t(F),
|
86
86
|
onLayoutChange: t(G),
|
87
87
|
onSucceed: t(R),
|