halo-pc 1.0.36 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CSL7LnKj.js → Article-DSuvpyeC.js} +58 -60
- package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-Cx3OC7sV.js} +1 -1
- package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-1jt0wRMS.js} +1 -1
- package/dist/{Autocomplete-Buw1Hs35.js → Autocomplete-C7CYy8w6.js} +3 -3
- package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-DASTUS8d.js} +2 -2
- package/dist/{CSharp-CMmXPS2i.js → CSharp-CebNTVPd.js} +1 -1
- package/dist/{Calender-P8tmSbW2.js → Calender-BBILvX8n.js} +4 -4
- package/dist/{Callback-SEWVfpG_.js → Callback-CLA9Ab9q.js} +1 -1
- package/dist/{Cascader-DWNTommi.js → Cascader-DY2zOwsa.js} +1 -1
- package/dist/{Cascader-CeQ0jUxU.js → Cascader-DyQ312mS.js} +5 -5
- package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-CHmMU0Cs.js} +1 -1
- package/dist/{Checkbox--pNX7Slb.js → Checkbox-CyC_mo50.js} +1 -1
- package/dist/{Code-CXMdFELH.js → Code-B4Z7WuUc.js} +1 -1
- package/dist/{Code-THGJ7IzI.js → Code-BOTf1uZ5.js} +1 -1
- package/dist/{Code-C6A3DOQp.js → Code-CIFJJJo3.js} +1 -1
- package/dist/Code-Da4PjT9q.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js → Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js} +3 -3
- package/dist/{Column-CucHIBYv.js → Column-9A6-8_Y7.js} +1 -1
- package/dist/{Comment-T5XWLthu.js → Comment-D78rr4-n.js} +27 -27
- package/dist/{Compare-jjtb6UdZ.js → Compare-Cb9vYPl5.js} +9 -9
- package/dist/{Compare-KV2Q7Tb7.js → Compare-DLiL32cA.js} +6 -6
- package/dist/{Copy-Ck1HeTdy.js → Copy-CH2_hawJ.js} +1 -1
- package/dist/Custom-D9qN9bwa.js +59 -0
- package/dist/{DataExport-BY1fIwSd.js → DataExport-D8cqXPrh.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +1 -1
- package/dist/{DataImport--xUxoWAq.js → DataImport-3KwXYYGw.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +1 -1
- package/dist/{Date-C3H04U5q.js → Date-OZxdofhB.js} +1 -1
- package/dist/{Date-DRk7BsnD.js → Date-yHlD-Lw2.js} +1 -1
- package/dist/{DateRange-CICZ9gVp.js → DateRange-BLSxDHKv.js} +1 -1
- package/dist/{DateTime-CjTCtAm4.js → DateTime-8tbpOKOK.js} +1 -1
- package/dist/{DateTime-DXHkaHtE.js → DateTime-B7GzMj8Q.js} +1 -1
- package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-COFWmQoO.js} +1 -1
- package/dist/{Daterange-cmpjJVxl.js → Daterange-Cy8l4CfJ.js} +1 -1
- package/dist/{Decimal-BzR8o8bv.js → Decimal-Dw6EtZOm.js} +1 -1
- package/dist/{Delete-B2VzOnk8.js → Delete-DjXSCUKp.js} +1 -1
- package/dist/{Detail-ayakHymC.js → Detail-DU8mI4u2.js} +1 -1
- package/dist/{Dictionary-BiSpx7nU.js → Dictionary-CAAvUqf-.js} +1 -1
- package/dist/{Email-BbipkOFP.js → Email-AHWpz5Ck.js} +3 -3
- package/dist/{File-B131KRit.js → File-DUxwHR5G.js} +16 -16
- package/dist/Image-BJ5q87B6.js +9 -0
- package/dist/Index-CF44rsZW.js +4 -0
- package/dist/Index-CnFjsuQV.js +4 -0
- package/dist/{Index-CymZGuJo.js → Index-D223MCYD.js} +17 -17
- package/dist/Index-DCIDLocj.js +4 -0
- package/dist/{Index-Bps1k5-m.js → Index-Jt1omrn-.js} +1 -1
- package/dist/{Index-B20QLMmF.js → Index-KTv20XtO.js} +1 -1
- package/dist/{Index-BnudlpyF.js → Index-Z8HW5XAm.js} +2 -2
- package/dist/Index-qIfIbiFH.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +15 -17
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +4 -4
- package/dist/{Install-BnCA1XK8.js → Install-C-xxCx9D.js} +8 -8
- package/dist/{Int-BlwraOyw.js → Int-1QpMyTPB.js} +1 -1
- package/dist/{Int-BSA4Srky.js → Int-BsHpY5Gt.js} +1 -1
- package/dist/List-DW7FpMfd.js +72 -0
- package/dist/{Maintaince-CwL7tseR.js → Maintaince-CjUfJUr7.js} +3 -3
- package/dist/{Markdown-Can2d8HC.js → Markdown-BZhSwheI.js} +1 -1
- package/dist/{Month-Dyt_wc8r.js → Month-BKXtBi6i.js} +1 -1
- package/dist/{Month-ClTpaaAr.js → Month-IJnA7Kgl.js} +3 -3
- package/dist/{Month-CRmTCjQr.js → Month-m0FiTmBK.js} +1 -1
- package/dist/{Normal-DBRpkCNs.js → Normal-CettIwbU.js} +72 -72
- package/dist/{Paging-ByJhfHCh.js → Paging-J9vCBFzM.js} +33 -35
- package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-irWrEKGQ.js} +1 -1
- package/dist/{PagingRow-CqAYVjxH.js → PagingRow-Bft1brFD.js} +1 -1
- package/dist/{Racebar-BhRmArVA.js → Racebar-D3VFwM1V.js} +7 -7
- package/dist/{Radio-DCVAYEgh.js → Radio-C-IwNXnz.js} +1 -1
- package/dist/{Register-Dr5HF0B6.js → Register-XTfqbbgr.js} +15 -15
- package/dist/{RichText-Dj93TxtW.js → RichText-D3aLlQph.js} +8 -8
- package/dist/{SearchFooter-D02JAZez.js → SearchFooter-hC7sQBez.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js} +1 -1
- package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BTux7Adt.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js} +27 -29
- package/dist/{Select-ChwyjjbN.js → Select-ClAK8aNJ.js} +8 -8
- package/dist/{Select-CaGb3SAi.js → Select-DlM_C-60.js} +1 -1
- package/dist/{Select-DK5-x-rC.js → Select-K1dU20i2.js} +11 -11
- package/dist/{Single-DIyLnILS.js → Single-DYDwq041.js} +66 -68
- package/dist/{Statistic-ArzDDFwp.js → Statistic-CidgrAcU.js} +21 -21
- package/dist/{Stock-DapT2McI.js → Stock-BFszdaCn.js} +1 -1
- package/dist/{Stock-CsVIZtQ4.js → Stock-BiuhsKPB.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +8 -8
- package/dist/{Switch-B0VJc80B.js → Switch-TI8J8-E2.js} +1 -1
- package/dist/{Table-C5kHBVpV.js → Table-DJOSPNrn.js} +79 -81
- package/dist/{Table-Cwe8QuVi.js → Table-DYELgaTY.js} +56 -56
- package/dist/Text-DAliAA9U.js +4 -0
- package/dist/{Text-CK1PT6x8.js → Text-DEv-wMFU.js} +3 -3
- package/dist/Text-Dy6uYSm3.js +49 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-epPB32IU.js → Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js} +1 -1
- package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-CKPExcuj.js} +1 -1
- package/dist/{Textarea-C6Pi4p9b.js → Textarea-CEv7HYqY.js} +1 -1
- package/dist/{Time-DWG3pwjK.js → Time-BeTq6Tq3.js} +1 -1
- package/dist/{Timeline-Bqq3rFbX.js → Timeline-BI2o8Kug.js} +1 -1
- package/dist/{Tree-CU2UHknq.js → Tree-BPeNz1X4.js} +58 -60
- package/dist/{Tree-DRUGEHR3.js → Tree-DlIrY3e2.js} +33 -33
- package/dist/{TreeNode-DD-YfbgL.js → TreeNode-CzM6Npi5.js} +1 -1
- package/dist/{Update-BdbT4B2n.js → Update-Bv6Lp8LZ.js} +1 -1
- package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-mrF1t5G8.js} +1 -1
- package/dist/{Upload-BCGGzOTn.js → Upload-B0dBN1oH.js} +9 -9
- package/dist/{Upload-CKHSikDI.js → Upload-BCdzJlzR.js} +13 -13
- package/dist/{Year-CnA4ZUPj.js → Year-2hJSZcj_.js} +7 -7
- package/dist/{Year-nGY1S5_T.js → Year-DLITl-_8.js} +1 -1
- package/dist/{main-BLb5AIWJ.js → main-SNlEeN01.js} +3045 -2957
- package/dist/main.js +136 -133
- package/dist/style.css +1 -1
- package/esm/coms/business/Form.vue.d.ts +2 -1
- package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
- package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
- package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
- package/esm/coms/drivers/@types/index.d.ts +3 -1
- package/esm/coms/drivers/Index.vue.d.ts +26 -29
- package/esm/coms/drivers/Kind.vue.d.ts +8 -8
- package/esm/coms/layouts/Index.vue.d.ts +7 -3
- package/esm/coms/layouts/Side.vue.d.ts +5 -2
- package/esm/coms/layouts/Top.vue.d.ts +4 -1
- package/esm/coms/lists/Tree.vue.d.ts +2 -1
- package/esm/coms/pages/@types/index.d.ts +1 -2
- package/esm/coms/pages/Custom.vue.d.ts +2 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +2 -1
- package/esm/coms/pages/Single.vue.d.ts +2 -1
- package/esm/coms/pagings/Article.vue.d.ts +2 -1
- package/esm/coms/pagings/Index.vue.d.ts +2 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -1
- package/esm/coms/searches/Text.vue.d.ts +5 -7
- package/esm/svcs/ModuleSvc.d.ts +40 -0
- package/esm/svcs/index.d.ts +3 -3
- package/package.json +9 -9
- package/dist/Code-CQSTwwc4.js +0 -4
- package/dist/Custom-CkyWaXAB.js +0 -61
- package/dist/Image-Cb1PzLpD.js +0 -9
- package/dist/Index-2vdi0Nq0.js +0 -4
- package/dist/Index-BOKSKn0N.js +0 -4
- package/dist/Index-Cz0Ti6rP.js +0 -4
- package/dist/Index-Dhg6Vts6.js +0 -4
- package/dist/List-BnT_8B_q.js +0 -74
- package/dist/Text-D2P-_cQT.js +0 -54
- package/dist/Text-oKVRjuSR.js +0 -4
@@ -1,15 +1,15 @@
|
|
1
|
-
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as p, createBlock as _, unref as t, withCtx as a, createTextVNode as v, createVNode as o, createElementBlock as c, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as
|
2
|
-
import {
|
1
|
+
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as p, createBlock as _, unref as t, withCtx as a, createTextVNode as v, createVNode as o, createElementBlock as c, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
|
2
|
+
import { F as U, h as w } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
import "element-plus";
|
5
5
|
import "vue-router";
|
6
6
|
import "./assets/intro.js-Cg1adLK7.js";
|
7
|
-
const
|
7
|
+
const E = { class: "option-text" }, F = {
|
8
8
|
key: 0,
|
9
9
|
class: "option-suffix"
|
10
10
|
}, z = /* @__PURE__ */ k({
|
11
11
|
__name: "Install",
|
12
|
-
setup(
|
12
|
+
setup(O) {
|
13
13
|
let n = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
14
14
|
{ value: "SqlServer", text: "SqlServer" },
|
15
15
|
{ value: "MySql", text: "MySql" },
|
@@ -21,7 +21,7 @@ const w = { class: "option-text" }, O = {
|
|
21
21
|
u.value = !0, i.value.validate((f, l) => {
|
22
22
|
if (!f)
|
23
23
|
return u.value = !1, !1;
|
24
|
-
|
24
|
+
w.post("/app/install", n.value).then(({ data: d }) => {
|
25
25
|
}).finally(() => {
|
26
26
|
u.value = !1;
|
27
27
|
});
|
@@ -30,7 +30,7 @@ const w = { class: "option-text" }, O = {
|
|
30
30
|
return C(() => {
|
31
31
|
}), (f, l) => {
|
32
32
|
const d = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
|
33
|
-
return p(), _(t(
|
33
|
+
return p(), _(t(U), {
|
34
34
|
class: "ha-install",
|
35
35
|
title: "数据库信息"
|
36
36
|
}, {
|
@@ -76,8 +76,8 @@ const w = { class: "option-text" }, O = {
|
|
76
76
|
key: `${e.value}`
|
77
77
|
}, {
|
78
78
|
default: a(() => [
|
79
|
-
B("span",
|
80
|
-
e.value ? (p(), c("span",
|
79
|
+
B("span", E, x(e.text), 1),
|
80
|
+
e.value ? (p(), c("span", F, "(" + x(e.value) + ")", 1)) : T("", !0)
|
81
81
|
]),
|
82
82
|
_: 2
|
83
83
|
}, 1032, ["value", "label"]))), 128))
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
|
2
|
-
import { U as K,
|
2
|
+
import { U as K, l as U } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const C = /* @__PURE__ */ b({
|
5
5
|
__name: "Int",
|
@@ -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 { t as k,
|
2
|
+
import { t as k, j as x } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const R = /* @__PURE__ */ f({
|
5
5
|
__name: "Int",
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import { defineComponent as U, toRefs as B, ref as u, watch as H, openBlock as E, createBlock as F, resolveDynamicComponent as K, unref as t, withCtx as T, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
+
import { U as n, c as j, i as A, d as m, e as G, a as I } from "./main-SNlEeN01.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const J = { class: "not-support" }, X = /* @__PURE__ */ U({
|
5
|
+
__name: "List",
|
6
|
+
props: {
|
7
|
+
base: {},
|
8
|
+
route: {},
|
9
|
+
url: {},
|
10
|
+
win: {}
|
11
|
+
},
|
12
|
+
emits: ["load", "navigate"],
|
13
|
+
setup(b, { expose: S, emit: P }) {
|
14
|
+
let h = P, R = b, { url: v, base: p, route: o } = B(R), f = u(), i = u(), r = u(), y = u(), g = u(), s = u(), c = u(), q = (e) => {
|
15
|
+
let l = n.url.getPath(e), a = n.url.getPath(v.value);
|
16
|
+
return l != a;
|
17
|
+
}, C = (e) => {
|
18
|
+
let l = n.url.getPath(v.value), a = n.url.getPath(e);
|
19
|
+
return l != a;
|
20
|
+
}, x = (e) => {
|
21
|
+
var a;
|
22
|
+
let l = j(e.module.type, e.module.name);
|
23
|
+
A.setTitle(l, e.module.env), f.value = e.module, i.value = m.expandSchema(e.schema, e.set), r.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = m.expandSet(e.schema, e.set), c.value = m.getConditionForm(i.value, o.value.query.condition);
|
24
|
+
}, d = (e = null, l = null) => {
|
25
|
+
let a = e ?? o.value.query, N = n.url.getUrl(o.value.path, a);
|
26
|
+
h("load", N, !1, l);
|
27
|
+
}, k = (e) => {
|
28
|
+
d(null, e);
|
29
|
+
}, w = (e) => {
|
30
|
+
h("navigate", e);
|
31
|
+
}, D = async (e) => {
|
32
|
+
let l = o.value.query;
|
33
|
+
l.condition = G.encode(c.value), d(l, e);
|
34
|
+
}, _ = () => {
|
35
|
+
d();
|
36
|
+
}, z = (e, l) => {
|
37
|
+
I.triggerKeyboardHandler(s.value, e, l);
|
38
|
+
}, L = (e) => {
|
39
|
+
if (!s.value || !s.value.resize)
|
40
|
+
return !1;
|
41
|
+
s.value.resize(e);
|
42
|
+
};
|
43
|
+
return (() => {
|
44
|
+
x(p.value.data);
|
45
|
+
})(), H(() => p.value, (e) => {
|
46
|
+
x(e.data);
|
47
|
+
}), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboardHandler: z, resize: L }), (e, l) => (E(), F(K(`list-${t(r).layouts[0].type.toLowerCase()}`), {
|
48
|
+
ref_key: "listRef",
|
49
|
+
ref: s,
|
50
|
+
route: t(o),
|
51
|
+
module: t(f),
|
52
|
+
schema: t(i),
|
53
|
+
table: t(r),
|
54
|
+
layout: t(r).layouts[0],
|
55
|
+
next: t(y),
|
56
|
+
set: t(g),
|
57
|
+
"search-data": t(c),
|
58
|
+
onSucceed: t(k),
|
59
|
+
onSearch: t(D),
|
60
|
+
onNavigate: t(w),
|
61
|
+
onRefresh: t(_)
|
62
|
+
}, {
|
63
|
+
default: T(() => [
|
64
|
+
V("div", J, "未支持的列表布局方式:" + $(t(r).layouts[0].type), 1)
|
65
|
+
]),
|
66
|
+
_: 1
|
67
|
+
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
68
|
+
}
|
69
|
+
});
|
70
|
+
export {
|
71
|
+
X as default
|
72
|
+
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as o, openBlock as i, createElementBlock as n, createElementVNode as e, toDisplayString as r, unref as s } from "vue";
|
2
|
-
import {
|
2
|
+
import { z as m } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
4
|
import "./assets/underscore-B0BCaBxV.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/clone-BZn0cTAu.js";
|
7
7
|
import "./assets/underscore.string-DVXD2SZo.js";
|
8
8
|
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const p = { class: "maintenance" }, a = { class: "description" },
|
9
|
+
const p = { class: "maintenance" }, a = { class: "description" }, B = /* @__PURE__ */ o({
|
10
10
|
__name: "Maintaince",
|
11
11
|
setup(c) {
|
12
12
|
return (l, t) => (i(), n("div", p, [
|
@@ -16,5 +16,5 @@ const p = { class: "maintenance" }, a = { class: "description" }, y = /* @__PURE
|
|
16
16
|
}
|
17
17
|
});
|
18
18
|
export {
|
19
|
-
|
19
|
+
B as default
|
20
20
|
};
|
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Text-
|
13
|
+
let r = i(() => import("./Text-DAliAA9U.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-DAliAA9U.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 _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import {
|
2
|
+
import { n as Y } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const y = /* @__PURE__ */ i({
|
5
5
|
__name: "Month",
|
@@ -12,8 +12,8 @@ const y = /* @__PURE__ */ i({
|
|
12
12
|
modelValue: {}
|
13
13
|
},
|
14
14
|
emits: ["submit", "change", "update:modelValue"],
|
15
|
-
setup(
|
16
|
-
let t =
|
15
|
+
setup(n, { emit: r }) {
|
16
|
+
let t = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
|
17
17
|
get() {
|
18
18
|
return s.value;
|
19
19
|
},
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import {
|
2
|
+
import { n as Y } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const y = /* @__PURE__ */ i({
|
5
5
|
__name: "Month",
|
@@ -1,19 +1,19 @@
|
|
1
|
-
import { defineComponent as he, toRefs as fe, ref as
|
2
|
-
import {
|
1
|
+
import { defineComponent as he, toRefs as fe, ref as w, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as H, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as k, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
|
2
|
+
import { w as K, d as N, f as ke, U as P, k as Q, t as Ce, j as xe, J as we } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
import "vue-router";
|
5
5
|
import "./assets/intro.js-Cg1adLK7.js";
|
6
|
-
const
|
6
|
+
const Re = {
|
7
7
|
key: 1,
|
8
8
|
class: "ha-empty"
|
9
|
-
},
|
9
|
+
}, Se = {
|
10
10
|
key: 2,
|
11
11
|
ref: "normalRows",
|
12
12
|
class: "normal-rows"
|
13
13
|
}, $e = {
|
14
14
|
key: 0,
|
15
15
|
class: "normal-selection"
|
16
|
-
}, ze = { class: "normal-content" },
|
16
|
+
}, ze = { class: "normal-content" }, qe = /* @__PURE__ */ he({
|
17
17
|
__name: "Normal",
|
18
18
|
props: {
|
19
19
|
route: {},
|
@@ -27,57 +27,57 @@ const we = {
|
|
27
27
|
},
|
28
28
|
emits: ["change", "submit"],
|
29
29
|
setup(X, { expose: Y, emit: Z }) {
|
30
|
-
let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors:
|
31
|
-
|
30
|
+
let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = fe(ee), p = w({ page: 1, count: c.value[t.value.name].length }), C = w([]), b = w(), A = w([]), T = w(), le = (l) => {
|
31
|
+
A.value.push(l);
|
32
32
|
}, te = () => {
|
33
33
|
p.value.page = 1;
|
34
34
|
}, ae = () => {
|
35
|
-
b.value =
|
35
|
+
b.value = J(t.value);
|
36
36
|
let l = N.getDefaultRow(t.value);
|
37
37
|
c.value[t.value.name].push(l);
|
38
38
|
}, ne = () => {
|
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 = [], A.value.forEach((a) => {
|
43
43
|
a.model && (a.model = !1);
|
44
44
|
});
|
45
|
-
},
|
46
|
-
N.updateTooltip(o,
|
47
|
-
},
|
48
|
-
l ?
|
49
|
-
},
|
45
|
+
}, U = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
|
46
|
+
N.updateTooltip(o, u, v), M("change", l, a, o, u, v);
|
47
|
+
}, ue = (l, a) => {
|
48
|
+
l ? C.value.push(a) : P.array.remove(C.value, a);
|
49
|
+
}, re = (l) => {
|
50
50
|
M("submit", l);
|
51
51
|
}, se = (l, a = null) => {
|
52
52
|
p.value.page = l;
|
53
|
-
},
|
53
|
+
}, J = (l) => {
|
54
54
|
if (l.main || l.search.length == 0)
|
55
55
|
return null;
|
56
56
|
let a = {};
|
57
|
-
l.search.forEach((
|
58
|
-
a[
|
57
|
+
l.search.forEach((u) => {
|
58
|
+
a[u.name] || (a[u.name] = null);
|
59
59
|
});
|
60
60
|
let o = {};
|
61
61
|
return o[l.name] = a, o;
|
62
|
-
},
|
63
|
-
b.value =
|
62
|
+
}, W = (l) => {
|
63
|
+
b.value = J(l);
|
64
64
|
}, me = () => {
|
65
65
|
F();
|
66
66
|
}, ce = (l) => {
|
67
|
-
|
67
|
+
W(l.schema[0]);
|
68
68
|
}, F = () => {
|
69
|
-
let l =
|
69
|
+
let l = T.value.clientWidth;
|
70
70
|
i.value.column = Math.ceil(l / 500);
|
71
71
|
}, ie = () => {
|
72
|
-
F(),
|
72
|
+
F(), W(t.value);
|
73
73
|
};
|
74
74
|
ge(() => {
|
75
75
|
ie();
|
76
76
|
});
|
77
|
-
let pe = E(() => K.splitRows(t.value.search, i.value.column)),
|
77
|
+
let pe = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
|
78
78
|
if (!b.value)
|
79
79
|
return c.value[t.value.name];
|
80
|
-
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.
|
80
|
+
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.size, o = p.value.page * i.value.size - 1, u = c.value[t.value.name].filter(($) => {
|
81
81
|
let f = !0;
|
82
82
|
for (let x = 0; x < t.value.search.length; x++) {
|
83
83
|
let y = t.value.search[x], s = $[y.name], h = l[y.name];
|
@@ -95,49 +95,49 @@ const we = {
|
|
95
95
|
}
|
96
96
|
return f;
|
97
97
|
});
|
98
|
-
return p.value.count =
|
98
|
+
return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
|
99
99
|
}), ve = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
|
100
100
|
let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
|
101
|
-
return
|
101
|
+
return ke.getComponent(`${l}/update-child`, "partial", "update-child");
|
102
102
|
});
|
103
|
-
return
|
104
|
-
let o = l.length,
|
105
|
-
(o >
|
106
|
-
}, { deep: !0 }),
|
107
|
-
let o = l.find((
|
108
|
-
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.
|
109
|
-
}),
|
103
|
+
return B(() => c.value[t.value.name], (l, a) => {
|
104
|
+
let o = l.length, u = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.size);
|
105
|
+
(o > u || o < u && p.value.page > v) && (p.value.page = v);
|
106
|
+
}, { deep: !0 }), B(j, (l, a) => {
|
107
|
+
let o = l.find((u) => u.table == t.value.name);
|
108
|
+
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
|
109
|
+
}), B(t, (l, a) => {
|
110
110
|
F();
|
111
111
|
}), Y({ resize: me, update: ce }), (l, a) => {
|
112
|
-
const o = _("el-form-item"),
|
112
|
+
const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
|
113
113
|
return n(), d("div", {
|
114
114
|
ref_key: "normalRef",
|
115
|
-
ref:
|
116
|
-
class:
|
115
|
+
ref: T,
|
116
|
+
class: H(["ha-normal-layout", { draggable: e(i).sort }])
|
117
117
|
}, [
|
118
118
|
e(b) ? (n(), g($, {
|
119
119
|
key: 0,
|
120
120
|
class: "search-form"
|
121
121
|
}, {
|
122
122
|
default: m(() => [
|
123
|
-
(n(!0), d(
|
123
|
+
(n(!0), d(R, null, S(e(pe), (s, h) => (n(), g(v, {
|
124
124
|
gutter: 5,
|
125
125
|
key: h
|
126
126
|
}, {
|
127
127
|
default: m(() => [
|
128
|
-
(n(!0), d(
|
128
|
+
(n(!0), d(R, null, S(s, (r, q) => (n(), g(u, {
|
129
129
|
span: 24 / e(i).column,
|
130
|
-
key:
|
130
|
+
key: q
|
131
131
|
}, {
|
132
132
|
default: m(() => [
|
133
|
-
|
134
|
-
label:
|
133
|
+
k(o, {
|
134
|
+
label: r.label
|
135
135
|
}, {
|
136
136
|
default: m(() => [
|
137
|
-
|
137
|
+
k(e(Q), {
|
138
138
|
schema: e(D),
|
139
139
|
table: e(t),
|
140
|
-
field:
|
140
|
+
field: r,
|
141
141
|
set: e(b),
|
142
142
|
onSubmit: e(te)
|
143
143
|
}, null, 8, ["schema", "table", "field", "set", "onSubmit"])
|
@@ -153,63 +153,63 @@ const we = {
|
|
153
153
|
]),
|
154
154
|
_: 1
|
155
155
|
})) : V("", !0),
|
156
|
-
e(
|
157
|
-
(n(!0), d(
|
158
|
-
class:
|
156
|
+
e(G).length ? (n(), d("div", Se, [
|
157
|
+
(n(!0), d(R, null, S(e(G), (s) => (n(), d("div", {
|
158
|
+
class: H(["normal-row", { main: e(t).main }])
|
159
159
|
}, [
|
160
160
|
e(t).main ? V("", !0) : (n(), d("div", $e, [
|
161
|
-
|
161
|
+
k(f, {
|
162
162
|
ref_for: !0,
|
163
163
|
ref: e(le),
|
164
164
|
class: "normal-checkbox",
|
165
165
|
row: s,
|
166
|
-
onChange: (h) => e(
|
166
|
+
onChange: (h) => e(ue)(h, s)
|
167
167
|
}, null, 8, ["row", "onChange"])
|
168
168
|
])),
|
169
169
|
L("div", ze, [
|
170
|
-
(n(!0), d(
|
170
|
+
(n(!0), d(R, null, S(e(ve), (h) => (n(), g(v, null, {
|
171
171
|
default: m(() => [
|
172
|
-
(n(!0), d(
|
173
|
-
span:
|
174
|
-
key: `${e(t).name}.${
|
172
|
+
(n(!0), d(R, null, S(h, ({ data: r, span: q }) => (n(), g(u, {
|
173
|
+
span: q,
|
174
|
+
key: `${e(t).name}.${r.name}`
|
175
175
|
}, {
|
176
176
|
default: m(() => [
|
177
|
-
|
178
|
-
style: _e(e(K).getStyle(
|
179
|
-
label:
|
180
|
-
rules: e(N).getRules(e(
|
181
|
-
prop: `[${e(t).name}][${e(
|
177
|
+
k(o, {
|
178
|
+
style: _e(e(K).getStyle(r, e(O).type, e(i).type)),
|
179
|
+
label: r.label,
|
180
|
+
rules: e(N).getRules(e(j), e(t), r, e(U)(s)),
|
181
|
+
prop: `[${e(t).name}][${e(U)(s)}][${r.name}]`
|
182
182
|
}, {
|
183
183
|
label: m(() => {
|
184
184
|
var z;
|
185
185
|
return [
|
186
|
-
be(
|
187
|
-
(z =
|
186
|
+
be(I(e(xe)(e(t).name, r.name)) + " ", 1),
|
187
|
+
(z = r.control.tooltip) != null && z.content ? (n(), g(x, {
|
188
188
|
key: 0,
|
189
189
|
trigger: "hover",
|
190
190
|
placement: "top",
|
191
191
|
width: "auto",
|
192
|
-
title:
|
192
|
+
title: r.control.tooltip.title
|
193
193
|
}, {
|
194
194
|
reference: m(() => a[1] || (a[1] = [
|
195
195
|
L("i", { class: "fa fa-question-circle icon-question" }, null, -1)
|
196
196
|
])),
|
197
197
|
default: m(() => [
|
198
|
-
L("pre", null,
|
198
|
+
L("pre", null, I(r.control.tooltip.content), 1)
|
199
199
|
]),
|
200
200
|
_: 2
|
201
201
|
}, 1032, ["title"])) : V("", !0)
|
202
202
|
];
|
203
203
|
}),
|
204
204
|
default: m(() => [
|
205
|
-
|
205
|
+
k(e(Q), {
|
206
206
|
schema: e(D),
|
207
207
|
set: e(c),
|
208
208
|
table: e(t),
|
209
209
|
row: s,
|
210
|
-
field:
|
211
|
-
onSubmit: e(
|
212
|
-
onChange: (z) => e(oe)(z, e(c), e(t), s,
|
210
|
+
field: r,
|
211
|
+
onSubmit: e(re),
|
212
|
+
onChange: (z) => e(oe)(z, e(c), e(t), s, r)
|
213
213
|
}, null, 8, ["schema", "set", "table", "row", "field", "onSubmit", "onChange"])
|
214
214
|
]),
|
215
215
|
_: 2
|
@@ -222,24 +222,24 @@ const we = {
|
|
222
222
|
}, 1024))), 256))
|
223
223
|
])
|
224
224
|
], 2))), 256))
|
225
|
-
], 512)) : (n(), d("div",
|
226
|
-
e(t).main ? V("", !0) : (n(), g(e(
|
225
|
+
], 512)) : (n(), d("div", Re, I(e(Ce)("common.no_data")), 1)),
|
226
|
+
e(t).main ? V("", !0) : (n(), g(e(we), { key: 3 }, {
|
227
227
|
left: m(() => [
|
228
228
|
(n(), g(ye(e(de)), {
|
229
229
|
module: e(O),
|
230
230
|
set: e(c),
|
231
231
|
table: e(t),
|
232
|
-
selection: e(
|
232
|
+
selection: e(C),
|
233
233
|
onAdd: e(ae),
|
234
234
|
onRemove: e(ne)
|
235
235
|
}, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
|
236
236
|
]),
|
237
237
|
default: m(() => [
|
238
|
-
|
238
|
+
k(y, {
|
239
239
|
background: "",
|
240
240
|
layout: "total, prev, pager, next, jumper",
|
241
241
|
"current-page": e(p).page,
|
242
|
-
"page-size": e(i).
|
242
|
+
"page-size": e(i).size,
|
243
243
|
total: e(p).count,
|
244
244
|
onCurrentChange: a[0] || (a[0] = (s) => e(se)(s, e(t)))
|
245
245
|
}, null, 8, ["current-page", "page-size", "total"])
|
@@ -251,5 +251,5 @@ const we = {
|
|
251
251
|
}
|
252
252
|
});
|
253
253
|
export {
|
254
|
-
|
254
|
+
qe as default
|
255
255
|
};
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { U as o,
|
1
|
+
import { defineComponent as T, toRefs as V, ref as r, onMounted as $, watch as A, unref as a, openBlock as E, createBlock as G, createCommentVNode as I } from "vue";
|
2
|
+
import { U as o, c as Q, i as W, d, e as q, a as X } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import { _ as
|
5
|
-
const
|
4
|
+
import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-BznVrY52.js";
|
5
|
+
const ae = /* @__PURE__ */ T({
|
6
6
|
__name: "Paging",
|
7
7
|
props: {
|
8
8
|
base: {},
|
@@ -11,64 +11,62 @@ const te = /* @__PURE__ */ $({
|
|
11
11
|
win: {}
|
12
12
|
},
|
13
13
|
emits: ["navigate", "load"],
|
14
|
-
setup(
|
15
|
-
let m =
|
14
|
+
setup(b, { expose: z, emit: P }) {
|
15
|
+
let m = P, k = b, { url: p, base: y, route: u } = V(k), f = r(), v = r(), c = r(), g = r(), x = r(), C = r(), h = r(), s = r(), N = (e) => !0, R = (e) => {
|
16
16
|
let l = o.url.getPath(p.value), t = o.url.getPath(e);
|
17
17
|
return l != t;
|
18
|
-
},
|
18
|
+
}, L = (e = null) => {
|
19
19
|
_(e);
|
20
20
|
}, w = () => {
|
21
21
|
}, S = (e) => {
|
22
22
|
var t;
|
23
23
|
let l = Q(e.module.type, e.module.name);
|
24
|
-
W.setTitle(l, 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, e.set), c.value = (t = v.value) == null ? void 0 : t[0],
|
24
|
+
W.setTitle(l, 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, e.set), c.value = (t = v.value) == null ? void 0 : t[0], g.value = c.value.layouts[0], h.value = d.getConditionForm(v.value, u.value.query.condition);
|
25
25
|
}, U = (e = null, l = null) => {
|
26
26
|
let t = e ?? u.value.query, n = o.url.getUrl(u.value.path, t);
|
27
|
-
m("load", n, !1, (
|
28
|
-
l && l(
|
27
|
+
m("load", n, !1, (O) => {
|
28
|
+
l && l(O);
|
29
29
|
});
|
30
30
|
}, i = (e, l) => {
|
31
31
|
m("navigate", e, l);
|
32
32
|
}, B = async (e) => {
|
33
33
|
let l = u.value.query;
|
34
34
|
l.page = 1;
|
35
|
-
let t = o.object.pure(
|
36
|
-
l.condition =
|
35
|
+
let t = o.object.pure(h.value);
|
36
|
+
l.condition = q.encode(t);
|
37
37
|
let n = o.url.getUrl(u.value.path, l);
|
38
38
|
n == p.value ? U(l, e) : i(n, e);
|
39
39
|
}, D = (e, l) => {
|
40
40
|
let t = u.value.query;
|
41
|
-
t.order_by =
|
41
|
+
t.order_by = q.encode(JSON.stringify(e));
|
42
42
|
let n = o.url.getUrl(u.value.path, t);
|
43
43
|
i(n, l);
|
44
|
-
},
|
44
|
+
}, H = (e, l = null) => {
|
45
45
|
let t = u.value.query;
|
46
46
|
t.page = e;
|
47
47
|
let n = o.url.getUrl(u.value.path, t);
|
48
48
|
i(n, l);
|
49
|
-
},
|
49
|
+
}, j = (e, l = null) => {
|
50
50
|
let t = u.value.query;
|
51
51
|
t.size = e;
|
52
52
|
let n = o.url.getUrl(u.value.path, t);
|
53
53
|
i(n, l);
|
54
|
-
},
|
55
|
-
|
56
|
-
},
|
54
|
+
}, F = (e) => {
|
55
|
+
g.value = c.value.layouts.find((l) => l.type == e);
|
56
|
+
}, J = () => {
|
57
57
|
S(y.value.data);
|
58
|
-
}, _ = (e = null) => U(null, e),
|
58
|
+
}, _ = (e = null) => U(null, e), K = (e) => {
|
59
59
|
if (!s.value || !s.value.resize)
|
60
60
|
return !1;
|
61
61
|
s.value.resize(e);
|
62
|
-
},
|
63
|
-
|
64
|
-
return !1;
|
65
|
-
s.value.keyboard(e, l);
|
62
|
+
}, M = (e, l) => {
|
63
|
+
X.triggerKeyboardHandler(s.value, e, l);
|
66
64
|
};
|
67
|
-
return
|
68
|
-
|
69
|
-
}),
|
65
|
+
return $(async () => {
|
66
|
+
J();
|
67
|
+
}), A(() => y.value, (e) => {
|
70
68
|
S(e.data);
|
71
|
-
}),
|
69
|
+
}), z({ shouldLoad: N, shouldSpin: R, refresh: _, keyboardHandler: M, resize: K }), (e, l) => a(g) ? (E(), G(Y, {
|
72
70
|
key: 0,
|
73
71
|
ref_key: "pagingRef",
|
74
72
|
ref: s,
|
@@ -77,19 +75,19 @@ const te = /* @__PURE__ */ $({
|
|
77
75
|
set: a(C),
|
78
76
|
schema: a(v),
|
79
77
|
table: a(c),
|
80
|
-
layout: a(
|
81
|
-
"search-data": a(
|
78
|
+
layout: a(g),
|
79
|
+
"search-data": a(h),
|
82
80
|
onNavigate: a(i),
|
83
81
|
onSort: a(D),
|
84
82
|
onSearch: a(B),
|
85
|
-
onPageChange: a(
|
86
|
-
onSizeChange: a(
|
87
|
-
onLayoutChange: a(
|
88
|
-
onSucceed: a(
|
83
|
+
onPageChange: a(H),
|
84
|
+
onSizeChange: a(j),
|
85
|
+
onLayoutChange: a(F),
|
86
|
+
onSucceed: a(L),
|
89
87
|
onClose: a(w)
|
90
|
-
}, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) :
|
88
|
+
}, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : I("", !0);
|
91
89
|
}
|
92
90
|
});
|
93
91
|
export {
|
94
|
-
|
92
|
+
ae as default
|
95
93
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as D, toRefs as F, ref as H, resolveComponent as b, openBlock as c, createElementBlock as I, Fragment as P, createElementVNode as l, unref as e, createBlock as d, withCtx as o, createTextVNode as m, toDisplayString as i, createCommentVNode as u, createVNode as k, createSlots as R } from "vue";
|
2
|
-
import { t as n } from "./main-
|
2
|
+
import { t as n } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const T = { class: "search-title" }, $ = { class: "search-operation" }, L = /* @__PURE__ */ D({
|
5
5
|
__name: "PagingHeader",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as x, toRefs as y, resolveComponent as _, openBlock as r, createElementBlock as c, unref as e, createCommentVNode as a, createBlock as g, withCtx as B, createElementVNode as R } from "vue";
|
2
|
-
import { t as p } from "./main-
|
2
|
+
import { t as p } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const E = { class: "paging-row" }, z = /* @__PURE__ */ x({
|
5
5
|
__name: "PagingRow",
|