halo-pc 1.0.35 → 1.0.36
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-BqULjBoz.js → Article-CSL7LnKj.js} +4 -5
- package/dist/{ArticleFooter-CRepUD0G.js → ArticleFooter-_CUySAZu.js} +3 -4
- package/dist/{Autocomplete-Dl8yr0gI.js → Autocomplete-BTBqlR6B.js} +5 -6
- package/dist/{Autocomplete-DxWoCy2-.js → Autocomplete-Buw1Hs35.js} +7 -8
- package/dist/{Autocomplete-DW-EQzP_.js → Autocomplete-CIRk6M3c.js} +1 -1
- package/dist/{CSharp-CHmrfPD-.js → CSharp-CMmXPS2i.js} +1 -1
- package/dist/{Calender-BX22DnMb.js → Calender-P8tmSbW2.js} +1 -1
- package/dist/{Callback-BGchl5Pt.js → Callback-SEWVfpG_.js} +5 -6
- package/dist/{Cascader-Wmh_fOfd.js → Cascader-CeQ0jUxU.js} +8 -9
- package/dist/Cascader-DWNTommi.js +47 -0
- package/dist/{Checkbox-BhDHYVQv.js → Checkbox--pNX7Slb.js} +3 -4
- package/dist/{Checkbox-ClYubr5_.js → Checkbox-Fddc4Zgy.js} +1 -1
- package/dist/{Code-Dw8__whP.js → Code-C6A3DOQp.js} +1 -1
- package/dist/Code-CQSTwwc4.js +4 -0
- package/dist/Code-CXMdFELH.js +42 -0
- package/dist/Code-THGJ7IzI.js +60 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js +63 -0
- package/dist/{Column-CNqrSNAW.js → Column-CucHIBYv.js} +23 -19
- package/dist/{Comment-BNLLGPGB.js → Comment-T5XWLthu.js} +15 -11
- package/dist/{Compare-C5P2t4Iq.js → Compare-KV2Q7Tb7.js} +8 -9
- package/dist/{Compare-BjIr4vt8.js → Compare-jjtb6UdZ.js} +11 -12
- package/dist/{Copy-CvBsdMqw.js → Copy-Ck1HeTdy.js} +8 -9
- package/dist/Custom-CkyWaXAB.js +61 -0
- package/dist/{DataExport-J7a12xRD.js → DataExport-BY1fIwSd.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BQ0WNRqq.js → DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js} +12 -13
- package/dist/{DataImport-BgrxhdBP.js → DataImport--xUxoWAq.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-0AgII-Ro.js → DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js} +3 -4
- package/dist/{Date-CqL3Xp1L.js → Date-C3H04U5q.js} +1 -1
- package/dist/{Date-iWorFEXN.js → Date-DRk7BsnD.js} +8 -9
- package/dist/{DateRange-Cfpeirwq.js → DateRange-CICZ9gVp.js} +3 -4
- package/dist/{DateTime-Dv0U5rlW.js → DateTime-CjTCtAm4.js} +5 -6
- package/dist/{DateTime-fa-BOHE8.js → DateTime-DXHkaHtE.js} +1 -1
- package/dist/{DateTimeRange-B0pw5ZiA.js → DateTimeRange-CuEYJBUE.js} +6 -7
- package/dist/{Daterange-DMGOeSyF.js → Daterange-cmpjJVxl.js} +8 -9
- package/dist/{Decimal-ynN-XKqW.js → Decimal-BzR8o8bv.js} +1 -1
- package/dist/{Delete-DKYI0lCr.js → Delete-B2VzOnk8.js} +15 -16
- package/dist/{Detail-Br-ULMjV.js → Detail-ayakHymC.js} +3 -4
- package/dist/{Dictionary-C3z2FWDL.js → Dictionary-BiSpx7nU.js} +10 -6
- package/dist/{Email-B2DsICjF.js → Email-BbipkOFP.js} +7 -8
- package/dist/{File-hdUkjji3.js → File-B131KRit.js} +5 -6
- package/dist/{Image-CwVoPF1W.js → Image-Cb1PzLpD.js} +1 -1
- package/dist/Index-2vdi0Nq0.js +4 -0
- package/dist/{Index-ySmCcOc1.js → Index-B20QLMmF.js} +1 -1
- package/dist/Index-BOKSKn0N.js +4 -0
- package/dist/{Index-Bnw6u3PZ.js → Index-BnudlpyF.js} +4 -5
- package/dist/{Index-BQB6vWfH.js → Index-Bps1k5-m.js} +1 -1
- package/dist/{Index-ChcEoqTf.js → Index-CymZGuJo.js} +33 -34
- package/dist/Index-Cz0Ti6rP.js +4 -0
- package/dist/Index-Dhg6Vts6.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-GUuR0vzO.js → Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js} +8 -9
- package/dist/{Index.vue_vue_type_script_setup_true_lang-CZXsC-E_.js → Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js} +17 -13
- package/dist/{Install-0oA4rPM7.js → Install-BnCA1XK8.js} +3 -4
- package/dist/{Int-CYCrDfkF.js → Int-BSA4Srky.js} +6 -7
- package/dist/{Int-CNHen_OB.js → Int-BlwraOyw.js} +3 -4
- package/dist/{List-Ci3F9DOP.js → List-BnT_8B_q.js} +8 -9
- package/dist/Maintaince-CwL7tseR.js +20 -0
- package/dist/{Markdown-CcnI9mz9.js → Markdown-Can2d8HC.js} +1 -1
- package/dist/{Month-BBF1HARy.js → Month-CRmTCjQr.js} +6 -7
- package/dist/{Month-N0iGv8-c.js → Month-ClTpaaAr.js} +6 -7
- package/dist/{Month-D_9DFUV2.js → Month-Dyt_wc8r.js} +1 -1
- package/dist/{Normal-DwZJydUM.js → Normal-DBRpkCNs.js} +20 -21
- package/dist/{Paging-bRw8LIxA.js → Paging-ByJhfHCh.js} +18 -19
- package/dist/{PagingHeader-GXUua6cK.js → PagingHeader-BQ-8s0NC.js} +4 -5
- package/dist/{PagingRow-DeZCXdLB.js → PagingRow-CqAYVjxH.js} +3 -4
- package/dist/{Racebar-BXFHoJrk.js → Racebar-BhRmArVA.js} +24 -20
- package/dist/{Radio-nUkqPIGx.js → Radio-DCVAYEgh.js} +1 -1
- package/dist/{Register-DNXmULLI.js → Register-Dr5HF0B6.js} +24 -25
- package/dist/{RichText-COY92auQ.js → RichText-Dj93TxtW.js} +16 -12
- package/dist/{SearchFooter-B-2TAXcZ.js → SearchFooter-D02JAZez.js} +1 -1
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js +55 -0
- package/dist/{SearchForm-B1KLbbyY.js → SearchForm-DhrX5Akr.js} +1 -1
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js +145 -0
- package/dist/{Select-CGamhz-L.js → Select-CaGb3SAi.js} +1 -1
- package/dist/{Select-Bw_B6ufE.js → Select-ChwyjjbN.js} +11 -12
- package/dist/{Select-D8xfJf8j.js → Select-DK5-x-rC.js} +3 -4
- package/dist/{Single-DIveQskP.js → Single-DIyLnILS.js} +4 -5
- package/dist/{Statistic-D5iiPISQ.js → Statistic-ArzDDFwp.js} +21 -22
- package/dist/{Stock-bO6XUouM.js → Stock-CsVIZtQ4.js} +1 -1
- package/dist/{Stock-B3zJIs1k.js → Stock-DapT2McI.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js → Stock.vue_vue_type_style_index_0_lang-JABRw23-.js} +8 -9
- package/dist/{Switch-DssI1IBh.js → Switch-B0VJc80B.js} +1 -1
- package/dist/{Table-BO316Cbq.js → Table-C5kHBVpV.js} +77 -82
- package/dist/{Table-DXcpuTmH.js → Table-Cwe8QuVi.js} +28 -29
- package/dist/{Text-Eu5ow8IQ.js → Text-CK1PT6x8.js} +5 -6
- package/dist/{Text-BhvhxnY_.js → Text-D2P-_cQT.js} +3 -4
- package/dist/Text-oKVRjuSR.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-epPB32IU.js +59 -0
- package/dist/{TextLink-jLpxiMgK.js → TextLink-Bn_Z4Ajl.js} +5 -6
- package/dist/{Textarea-Bx3eU0TB.js → Textarea-C6Pi4p9b.js} +1 -1
- package/dist/{Time-CwdRY8H-.js → Time-DWG3pwjK.js} +9 -10
- package/dist/{Timeline-BPtq0iG0.js → Timeline-Bqq3rFbX.js} +14 -10
- package/dist/{Tree-DxerBKds.js → Tree-CU2UHknq.js} +3 -4
- package/dist/{Tree-IuRYghPt.js → Tree-DRUGEHR3.js} +43 -39
- package/dist/{TreeNode-DAY80hF6.js → TreeNode-DD-YfbgL.js} +5 -6
- package/dist/{Update-CSuOw8uK.js → Update-BdbT4B2n.js} +3 -4
- package/dist/{UpdateChild-d6-0uHpZ.js → UpdateChild-CVgQs6_A.js} +3 -4
- package/dist/{Upload-CQoGLh54.js → Upload-BCGGzOTn.js} +13 -9
- package/dist/{Upload-Qrc2AkBp.js → Upload-CKHSikDI.js} +3 -4
- package/dist/{Year-FnibDcf1.js → Year-CnA4ZUPj.js} +7 -8
- package/dist/{Year-DmEcvxnt.js → Year-nGY1S5_T.js} +1 -1
- package/dist/assets/{liquidjs-B8dqQyVv.js → liquidjs-C2HVw1Ra.js} +82 -81
- package/dist/main-BLb5AIWJ.js +10249 -0
- package/dist/main.js +132 -126
- package/dist/style.css +1 -1
- package/esm/coms/business/@types/DriverProps.d.ts +1 -6
- package/esm/coms/business/@types/FormProps.d.ts +0 -12
- package/esm/coms/business/@types/index.d.ts +1 -3
- package/esm/coms/business/Condition.vue.d.ts +6 -3
- package/esm/coms/business/Drawer.vue.d.ts +9 -4
- package/esm/coms/business/Driver.vue.d.ts +1 -0
- package/esm/coms/business/Form.vue.d.ts +1 -6
- package/esm/coms/business/index.d.ts +1 -3
- package/esm/coms/commons/index.d.ts +1 -2
- package/esm/coms/controls/RichText.vue.d.ts +1 -1
- package/esm/coms/drivers/@types/CrudProps.d.ts +22 -0
- package/esm/coms/drivers/@types/DriverBaseProps.d.ts +14 -0
- package/esm/coms/drivers/@types/DriverFormProps.d.ts +15 -0
- package/esm/coms/drivers/@types/DriverProps.d.ts +29 -0
- package/esm/coms/drivers/@types/KindFormProps.d.ts +20 -0
- package/esm/coms/drivers/@types/KindProps.d.ts +21 -0
- package/esm/coms/drivers/@types/index.d.ts +4 -0
- package/esm/coms/drivers/Crud.vue.d.ts +27 -0
- package/esm/coms/drivers/Index.vue.d.ts +117 -0
- package/esm/coms/drivers/Kind.vue.d.ts +33 -0
- package/esm/coms/drivers/index.d.ts +5 -0
- package/esm/coms/globals/@types/WindowEmit.d.ts +14 -0
- package/esm/coms/globals/@types/index.d.ts +2 -1
- package/esm/coms/globals/HeaderTabs.vue.d.ts +6 -3
- package/esm/coms/globals/Window.vue.d.ts +1 -38
- package/esm/coms/index.d.ts +1 -0
- package/esm/coms/lists/Tree.vue.d.ts +2 -2
- package/esm/coms/pages/Delete.vue.d.ts +2 -2
- package/esm/coms/pages/List.vue.d.ts +2 -2
- package/esm/coms/pages/Paging.vue.d.ts +2 -2
- package/esm/coms/pages/Single.vue.d.ts +4 -4
- package/esm/coms/pagings/@types/SearchFooterProps.d.ts +10 -0
- package/esm/coms/pagings/@types/SearchFormProps.d.ts +7 -0
- package/esm/coms/pagings/@types/index.d.ts +3 -1
- package/esm/coms/pagings/Article.vue.d.ts +2 -2
- package/esm/coms/pagings/Index.vue.d.ts +2 -2
- package/esm/coms/pagings/SearchFooter.vue.d.ts +6 -109
- package/esm/coms/pagings/SearchForm.vue.d.ts +6 -65
- package/esm/coms/pagings/Table.vue.d.ts +2 -2
- package/esm/coms/panels/Operation.vue.d.ts +3 -2
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/Detail.vue.d.ts +1 -1
- package/esm/coms/partials/PagingHeader.vue.d.ts +3 -3
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/coms/partials/Update.vue.d.ts +1 -1
- package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
- package/esm/repos/index.d.ts +1 -2
- package/esm/svcs/RouterSvc.d.ts +1 -1
- package/esm/svcs/StandardSvc.d.ts +2 -6
- package/esm/svcs/WindowSvc.d.ts +2 -2
- package/package.json +10 -10
- package/dist/Cascader-BpXwryCx.js +0 -43
- package/dist/Code-BQxUo4S4.js +0 -38
- package/dist/Code-BjpkNJAb.js +0 -4
- package/dist/Code-Co49-iRF.js +0 -56
- package/dist/Code.vue_vue_type_style_index_0_lang-DNzXcIII.js +0 -60
- package/dist/Custom-QVZ_RHXN.js +0 -62
- package/dist/Index-BC2FQhAY.js +0 -4
- package/dist/Index-CBDxaC44.js +0 -4
- package/dist/Index-CT0cKXYs.js +0 -4
- package/dist/Index-D1ZbAjix.js +0 -4
- package/dist/Maintaince-D7QKNnFc.js +0 -16
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-97vAug1N.js +0 -55
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js +0 -146
- package/dist/Text-BCIG-FSm.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-C2rphbrS.js +0 -55
- package/dist/main-BCxKY4GT.js +0 -9933
@@ -1,8 +1,12 @@
|
|
1
|
-
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as
|
2
|
-
import {
|
1
|
+
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as f, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } from "vue";
|
2
|
+
import { p as B } from "./main-BLb5AIWJ.js";
|
3
|
+
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
3
8
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
|
5
|
-
const U = /* @__PURE__ */ g({
|
9
|
+
const D = /* @__PURE__ */ g({
|
6
10
|
__name: "RichText",
|
7
11
|
props: /* @__PURE__ */ x({
|
8
12
|
schema: {},
|
@@ -16,28 +20,28 @@ const U = /* @__PURE__ */ g({
|
|
16
20
|
}),
|
17
21
|
emits: ["update:modelValue"],
|
18
22
|
setup(n) {
|
19
|
-
let v = n, { field: e, table: h, set: C, row:
|
20
|
-
a.value != null && (
|
23
|
+
let v = n, { field: e, table: h, set: C, row: i } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
|
24
|
+
a.value != null && (i.value[a.value.name] = l.scrollTop);
|
21
25
|
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
22
|
-
t.value.readonly = e.value.control.readonly, t.value.scrollTop =
|
26
|
+
t.value.readonly = e.value.control.readonly, t.value.scrollTop = p.value, s.value = T();
|
23
27
|
};
|
24
28
|
_(() => {
|
25
29
|
V();
|
26
30
|
});
|
27
|
-
let
|
28
|
-
return f(() =>
|
31
|
+
let p = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
32
|
+
return f(() => p.value, (l, o) => {
|
29
33
|
t.value.scrollTop = l;
|
30
34
|
}), f(() => e.value.control.readonly, (l, o) => {
|
31
35
|
t.value.readonly = l;
|
32
36
|
}), (l, o) => (w(), R(r(B), {
|
33
|
-
style: b(r(
|
37
|
+
style: b(r(s)),
|
34
38
|
options: r(t),
|
35
39
|
onScroll: r(y),
|
36
40
|
modelValue: r(u),
|
37
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
41
|
+
"onUpdate:modelValue": o[0] || (o[0] = (m) => k(u) ? u.value = m : u = m)
|
38
42
|
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
39
43
|
}
|
40
44
|
});
|
41
45
|
export {
|
42
|
-
|
46
|
+
D as default
|
43
47
|
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as g, toRefs as b, computed as C, openBlock as a, createElementBlock as E, createBlock as k, resolveDynamicComponent as B, unref as e } from "vue";
|
2
|
+
import { d as D } from "./main-BLb5AIWJ.js";
|
3
|
+
const I = { class: "search-footer" }, H = /* @__PURE__ */ g({
|
4
|
+
__name: "SearchFooter",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
layout: {},
|
9
|
+
set: {},
|
10
|
+
next: {},
|
11
|
+
selection: {},
|
12
|
+
searchData: {}
|
13
|
+
},
|
14
|
+
emits: ["search", "succeed", "add", "remove", "copy", "show-import", "show-export"],
|
15
|
+
setup(r, { emit: c }) {
|
16
|
+
let t = c, s = r, { schema: l, table: n, layout: p, set: m, next: h, selection: d, searchData: R } = b(s), i = (o) => {
|
17
|
+
t("search", o);
|
18
|
+
}, u = () => {
|
19
|
+
t("succeed");
|
20
|
+
}, x = (o) => {
|
21
|
+
t("add", o);
|
22
|
+
}, w = (o) => {
|
23
|
+
t("remove", o);
|
24
|
+
}, y = () => {
|
25
|
+
t("copy");
|
26
|
+
}, S = () => {
|
27
|
+
t("show-import");
|
28
|
+
}, v = () => {
|
29
|
+
t("show-export");
|
30
|
+
}, _ = C(() => {
|
31
|
+
let o = `/${n.value.name}/paging-header`;
|
32
|
+
return D.getComponent(o, "partial", "paging-header");
|
33
|
+
});
|
34
|
+
return (o, f) => (a(), E("div", I, [
|
35
|
+
(a(), k(B(e(_)), {
|
36
|
+
schema: e(l),
|
37
|
+
table: e(n),
|
38
|
+
layout: e(p),
|
39
|
+
next: e(h),
|
40
|
+
set: e(m),
|
41
|
+
selection: e(d),
|
42
|
+
onAdd: e(x),
|
43
|
+
onRemove: e(w),
|
44
|
+
onCopy: e(y),
|
45
|
+
onShowImport: e(S),
|
46
|
+
onShowExport: e(v),
|
47
|
+
onSucceed: e(u),
|
48
|
+
onSubmit: e(i)
|
49
|
+
}, null, 40, ["schema", "table", "layout", "next", "set", "selection", "onAdd", "onRemove", "onCopy", "onShowImport", "onShowExport", "onSucceed", "onSubmit"]))
|
50
|
+
]));
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
H as _
|
55
|
+
};
|
@@ -0,0 +1,145 @@
|
|
1
|
+
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as D, watch as Q, resolveComponent as m, openBlock as n, createBlock as i, withCtx as r, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as C, createTextVNode as M, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import { U as ee, s as N, f as te, C as ae } from "./main-BLb5AIWJ.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const ue = /* @__PURE__ */ I({
|
5
|
+
__name: "SearchForm",
|
6
|
+
props: {
|
7
|
+
schema: {},
|
8
|
+
table: {},
|
9
|
+
layout: {},
|
10
|
+
searchData: {}
|
11
|
+
},
|
12
|
+
emits: ["change", "submit", "mounted"],
|
13
|
+
setup(T, { expose: W, emit: E }) {
|
14
|
+
let w = E, L = T, { schema: S, table: u, layout: V, searchData: b } = J(L), k = p(), F = p(), $ = p(), d = p(), j = (e) => {
|
15
|
+
w("change", e);
|
16
|
+
}, y = (e = null) => {
|
17
|
+
w("submit");
|
18
|
+
}, z = (e, t) => {
|
19
|
+
let l = e == "*" ? null : e;
|
20
|
+
b.value[u.value.name][t.name] = l, y();
|
21
|
+
}, R = () => {
|
22
|
+
k.value && (F.value = k.value.$el.clientWidth);
|
23
|
+
}, O = (e) => {
|
24
|
+
R();
|
25
|
+
}, U = () => {
|
26
|
+
let e = V.value.tabs;
|
27
|
+
if (e)
|
28
|
+
for (let t = 0; t < e.length; t++) {
|
29
|
+
let l = e[t];
|
30
|
+
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
31
|
+
}
|
32
|
+
};
|
33
|
+
d.value = ee.object.clone(b.value), U(), K(() => {
|
34
|
+
R(), P(() => {
|
35
|
+
w("mounted");
|
36
|
+
});
|
37
|
+
});
|
38
|
+
let q = D(() => {
|
39
|
+
if (!F.value)
|
40
|
+
return [];
|
41
|
+
let e = Math.ceil(F.value / 200), t = N.expandSearch(S.value), l = V.value.tabs ?? [], c = t.filter((_) => l.indexOf(_.name) == -1);
|
42
|
+
return N.getLines(c, e, (_) => _, () => 1);
|
43
|
+
}), B = D(() => {
|
44
|
+
let e = [], t = V.value.tabs;
|
45
|
+
return t && t.forEach((l) => {
|
46
|
+
let c = u.value.fields.find((f) => f.name == l);
|
47
|
+
e.push(c);
|
48
|
+
}), e;
|
49
|
+
});
|
50
|
+
return Q(() => b.value, (e, t) => {
|
51
|
+
U();
|
52
|
+
}), W({ resize: O }), (e, t) => {
|
53
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), f = m("el-form-item"), _ = m("el-col"), A = m("el-row"), G = m("el-form"), H = m("el-scrollbar");
|
54
|
+
return n(), i(H, {
|
55
|
+
"max-height": "200px",
|
56
|
+
class: "search-form"
|
57
|
+
}, {
|
58
|
+
default: r(() => [
|
59
|
+
a(u).search.length > 0 ? (n(), i(G, {
|
60
|
+
key: 0,
|
61
|
+
ref_key: "searchFormRef",
|
62
|
+
ref: k,
|
63
|
+
"label-position": "left",
|
64
|
+
inline: "",
|
65
|
+
onSubmit: t[0] || (t[0] = X(() => {
|
66
|
+
}, ["prevent"]))
|
67
|
+
}, {
|
68
|
+
default: r(() => [
|
69
|
+
(n(!0), v(g, null, x(a(B), (s, h) => (n(), i(f, {
|
70
|
+
class: "search-tab",
|
71
|
+
label: s.label,
|
72
|
+
"label-width": 50
|
73
|
+
}, {
|
74
|
+
default: r(() => [
|
75
|
+
C(c, {
|
76
|
+
ref_for: !0,
|
77
|
+
ref_key: "tabRefs",
|
78
|
+
ref: $,
|
79
|
+
onChange: (o) => a(z)(o, s),
|
80
|
+
modelValue: a(d)[a(u).name][s.name],
|
81
|
+
"onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
|
82
|
+
}, {
|
83
|
+
default: r(() => [
|
84
|
+
C(l, { value: "*" }, {
|
85
|
+
default: r(() => t[1] || (t[1] = [
|
86
|
+
M("全部")
|
87
|
+
])),
|
88
|
+
_: 1
|
89
|
+
}),
|
90
|
+
(n(!0), v(g, null, x(s.control.data.data, (o) => (n(), i(l, {
|
91
|
+
value: o.value
|
92
|
+
}, {
|
93
|
+
default: r(() => [
|
94
|
+
M(Y(o.text), 1)
|
95
|
+
]),
|
96
|
+
_: 2
|
97
|
+
}, 1032, ["value"]))), 256))
|
98
|
+
]),
|
99
|
+
_: 2
|
100
|
+
}, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])
|
101
|
+
]),
|
102
|
+
_: 2
|
103
|
+
}, 1032, ["label"]))), 256)),
|
104
|
+
(n(!0), v(g, null, x(a(q), (s) => (n(), i(A, {
|
105
|
+
class: "search-row",
|
106
|
+
label: a(B).length ? "其它" : "",
|
107
|
+
"label-width": 50,
|
108
|
+
gutter: 5
|
109
|
+
}, {
|
110
|
+
default: r(() => [
|
111
|
+
(n(!0), v(g, null, x(s, ({ data: h, span: o }, le) => (n(), i(_, { span: o }, {
|
112
|
+
default: r(() => [
|
113
|
+
C(f, {
|
114
|
+
label: a(te)(h.table.name, h.name)
|
115
|
+
}, {
|
116
|
+
default: r(() => [
|
117
|
+
C(ae, {
|
118
|
+
schema: a(S),
|
119
|
+
table: h.table,
|
120
|
+
field: h,
|
121
|
+
"search-data": a(b),
|
122
|
+
onChange: a(j),
|
123
|
+
onSubmit: a(y)
|
124
|
+
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
125
|
+
]),
|
126
|
+
_: 2
|
127
|
+
}, 1032, ["label"])
|
128
|
+
]),
|
129
|
+
_: 2
|
130
|
+
}, 1032, ["span"]))), 256))
|
131
|
+
]),
|
132
|
+
_: 2
|
133
|
+
}, 1032, ["label"]))), 256))
|
134
|
+
]),
|
135
|
+
_: 1
|
136
|
+
}, 512)) : Z("", !0)
|
137
|
+
]),
|
138
|
+
_: 1
|
139
|
+
});
|
140
|
+
};
|
141
|
+
}
|
142
|
+
});
|
143
|
+
export {
|
144
|
+
ue as _
|
145
|
+
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-BiSpx7nU.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
14
|
return (_, t) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { defineComponent as K, toRefs as R, ref as
|
2
|
-
import { t as z, f as A, h as G } from "./main-
|
1
|
+
import { defineComponent as K, toRefs as R, ref as d, computed as S, resolveComponent as c, openBlock as s, createBlock as f, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as p, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as _, createCommentVNode as q } from "vue";
|
2
|
+
import { t as z, f as A, h as G } from "./main-BLb5AIWJ.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import "./assets/liquidjs-B8dqQyVv.js";
|
5
4
|
const H = { class: "option-text" }, I = {
|
6
5
|
key: 0,
|
7
6
|
class: "option-suffix"
|
8
|
-
},
|
7
|
+
}, W = /* @__PURE__ */ K({
|
9
8
|
__name: "Select",
|
10
9
|
props: {
|
11
10
|
schema: {},
|
@@ -16,13 +15,13 @@ const H = { class: "option-text" }, I = {
|
|
16
15
|
},
|
17
16
|
emits: ["change", "submit", "update:modelValue"],
|
18
17
|
setup(v, { emit: x }) {
|
19
|
-
let r = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), k =
|
18
|
+
let r = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), k = d(!1), i = d(), m = d(a.value.control.data.data), C = () => {
|
20
19
|
r("submit");
|
21
20
|
}, w = () => {
|
22
21
|
}, B = (l) => {
|
23
|
-
|
22
|
+
i.value = l, D();
|
24
23
|
}, D = () => {
|
25
|
-
let l = { text:
|
24
|
+
let l = { text: i.value, conditions: [] };
|
26
25
|
a.value.control.data.conditions.forEach((o) => {
|
27
26
|
let u = y.value[o.table][o.field];
|
28
27
|
l.conditions.push({ name: o.name, value: u });
|
@@ -41,7 +40,7 @@ const H = { class: "option-text" }, I = {
|
|
41
40
|
});
|
42
41
|
return (l, o) => {
|
43
42
|
const u = c("el-option"), E = c("el-select");
|
44
|
-
return s(),
|
43
|
+
return s(), f(E, {
|
45
44
|
ref: "selectRef",
|
46
45
|
filterable: "",
|
47
46
|
remote: "",
|
@@ -59,13 +58,13 @@ const H = { class: "option-text" }, I = {
|
|
59
58
|
modelValue: t(n),
|
60
59
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
|
61
60
|
}, {
|
62
|
-
default:
|
63
|
-
(s(!0), h(L, null, U(t(m), (e, O) => (s(),
|
61
|
+
default: p(() => [
|
62
|
+
(s(!0), h(L, null, U(t(m), (e, O) => (s(), f(u, {
|
64
63
|
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
65
64
|
value: e.value,
|
66
65
|
key: e.value
|
67
66
|
}, {
|
68
|
-
default:
|
67
|
+
default: p(() => [
|
69
68
|
j("span", H, _(e.text), 1),
|
70
69
|
e.suffix ? (s(), h("span", I, "(" + _(e.suffix) + ")", 1)) : q("", !0)
|
71
70
|
]),
|
@@ -78,5 +77,5 @@ const H = { class: "option-text" }, I = {
|
|
78
77
|
}
|
79
78
|
});
|
80
79
|
export {
|
81
|
-
|
80
|
+
W as default
|
82
81
|
};
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { defineComponent as T, toRefs as A, ref as f, computed as D, resolveComponent as b, openBlock as c, createBlock as y, unref as n, withKeys as L, withModifiers as O, isRef as $, withCtx as V, createElementBlock as k, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
|
2
|
-
import { k as J, U as P, v as Q, h as W } from "./main-
|
2
|
+
import { k as J, U as P, v as Q, h as W } from "./main-BLb5AIWJ.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import "./assets/liquidjs-B8dqQyVv.js";
|
5
4
|
const X = { class: "option-text" }, Y = {
|
6
5
|
key: 0,
|
7
6
|
class: "option-suffix"
|
8
|
-
},
|
7
|
+
}, te = /* @__PURE__ */ T({
|
9
8
|
__name: "Select",
|
10
9
|
props: {
|
11
10
|
schema: {},
|
@@ -109,5 +108,5 @@ const X = { class: "option-text" }, Y = {
|
|
109
108
|
}
|
110
109
|
});
|
111
110
|
export {
|
112
|
-
|
111
|
+
te as default
|
113
112
|
};
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Be, resolveComponent as p, openBlock as d, createElementBlock as O, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Le, createBlock as h, isRef as Z, Fragment as ee, renderList as le, toDisplayString as x, createCommentVNode as B, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as te, nextTick as ae } from "vue";
|
2
|
-
import { d as qe, e as Ke, t as oe, f as je, g as Fe, U as D, a as Me, h as Oe, m as ue, b as Ae, i as Ge, s as re } from "./main-
|
2
|
+
import { d as qe, e as Ke, t as oe, f as je, g as Fe, U as D, a as Me, h as Oe, m as ue, b as Ae, i as Ge, s as re } from "./main-BLb5AIWJ.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import "./
|
5
|
-
|
6
|
-
const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class: "row-title" }, Qe = { class: "el-drawer__title" }, We = ["href"], al = /* @__PURE__ */ Ue({
|
4
|
+
import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js";
|
5
|
+
const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class: "row-title" }, Qe = { class: "el-drawer__title" }, We = ["href"], tl = /* @__PURE__ */ Ue({
|
7
6
|
__name: "Single",
|
8
7
|
props: {
|
9
8
|
base: {},
|
@@ -317,5 +316,5 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
|
|
317
316
|
}
|
318
317
|
});
|
319
318
|
export {
|
320
|
-
|
319
|
+
tl as default
|
321
320
|
};
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { defineComponent as j, toRefs as q, ref as c, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as
|
2
|
-
import { B as Q, s as W, n as X, U as C, m as Y } from "./main-
|
1
|
+
import { defineComponent as j, toRefs as q, ref as c, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as r, createElementVNode as K, normalizeStyle as P, nextTick as R } from "vue";
|
2
|
+
import { B as Q, s as W, n as X, U as C, m as Y } from "./main-BLb5AIWJ.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import "./
|
5
|
-
|
6
|
-
const ie = /* @__PURE__ */ j({
|
4
|
+
import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js";
|
5
|
+
const re = /* @__PURE__ */ j({
|
7
6
|
__name: "Statistic",
|
8
7
|
props: {
|
9
8
|
searchData: {},
|
@@ -17,12 +16,12 @@ const ie = /* @__PURE__ */ j({
|
|
17
16
|
},
|
18
17
|
emits: ["search"],
|
19
18
|
setup(A, { expose: F, emit: z }) {
|
20
|
-
let B = z, H = A, { route: E, module: T, schema:
|
19
|
+
let B = z, H = A, { route: E, module: T, schema: y, table: m, layout: l, next: ee, set: u, searchData: x } = q(H), i = null, p = null, g = c(), d = c(), v = c(), b = c(), { app: S } = Q.sys, V = (t) => {
|
21
20
|
D("search");
|
22
21
|
}, D = (t, e = null) => {
|
23
|
-
B(t, (
|
22
|
+
B(t, (s) => {
|
24
23
|
R(() => {
|
25
|
-
f(), e == null || e(
|
24
|
+
f(), e == null || e(s);
|
26
25
|
});
|
27
26
|
});
|
28
27
|
}, f = () => {
|
@@ -61,7 +60,7 @@ const ie = /* @__PURE__ */ j({
|
|
61
60
|
series: []
|
62
61
|
};
|
63
62
|
S.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
|
64
|
-
let
|
63
|
+
let s = l.value.fields.find((a) => a.group && a.name != l.value.date), k = m.value.fields.find((a) => a.name == s.name).control.data.data;
|
65
64
|
for (let a = 0; a < k.length; a++) {
|
66
65
|
let o = k[a];
|
67
66
|
o.color || Y.error("颜色字段不能为空");
|
@@ -105,23 +104,23 @@ const ie = /* @__PURE__ */ j({
|
|
105
104
|
global: !0
|
106
105
|
});
|
107
106
|
for (let h = 0; h < t.length; h++) {
|
108
|
-
let $ = t[h], _ = u.value[l.value.table].find((L) => L[
|
107
|
+
let $ = t[h], _ = u.value[l.value.table].find((L) => L[s.name] == o.value && L[l.value.date] == $);
|
109
108
|
_ == null ? n.data.push(null) : n.data.push(_[l.value.value]);
|
110
109
|
}
|
111
110
|
e.series.push(n), e.legend.data.push(o.text);
|
112
111
|
}
|
113
112
|
e.xAxis.data.push(...t), i.setOption(e);
|
114
113
|
}, w = async () => {
|
115
|
-
var
|
116
|
-
let t = C.dom.getHeight([(
|
114
|
+
var s;
|
115
|
+
let t = C.dom.getHeight([(s = d.value) == null ? void 0 : s.$el]), e = b.value.getBoundingClientRect();
|
117
116
|
g.value = e.height - t - 10 - 1, await R();
|
118
117
|
}, N = async (t) => {
|
119
118
|
d.value.resize(t), await w(), i == null || i.resize();
|
120
119
|
}, U = async () => {
|
121
|
-
await w(), i =
|
120
|
+
await w(), i = p.init(v.value), f();
|
122
121
|
};
|
123
122
|
return G(async () => {
|
124
|
-
|
123
|
+
x.value = W.getConditionForm(y.value, E.value.query.condition), p = await X.getECharts(), await U();
|
125
124
|
}), M(() => l.value, (t, e) => {
|
126
125
|
f();
|
127
126
|
}), F({ resize: N }), (t, e) => (O(), I("div", {
|
@@ -132,22 +131,22 @@ const ie = /* @__PURE__ */ j({
|
|
132
131
|
J(Z, {
|
133
132
|
ref_key: "searchRef",
|
134
133
|
ref: d,
|
135
|
-
schema:
|
136
|
-
table:
|
137
|
-
layout:
|
138
|
-
set:
|
139
|
-
"search-data":
|
140
|
-
onChange:
|
134
|
+
schema: r(y),
|
135
|
+
table: r(m),
|
136
|
+
layout: r(l),
|
137
|
+
set: r(u),
|
138
|
+
"search-data": r(x),
|
139
|
+
onChange: r(V)
|
141
140
|
}, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
|
142
141
|
K("div", {
|
143
142
|
ref_key: "chartRef",
|
144
143
|
ref: v,
|
145
144
|
class: "chart",
|
146
|
-
style: P({ height:
|
145
|
+
style: P({ height: r(g) + "px" })
|
147
146
|
}, null, 4)
|
148
147
|
], 512));
|
149
148
|
}
|
150
149
|
});
|
151
150
|
export {
|
152
|
-
|
151
|
+
re as default
|
153
152
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
|
2
|
-
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-JABRw23-.js";
|
3
3
|
const b = /* @__PURE__ */ c({
|
4
4
|
__name: "Stock",
|
5
5
|
props: {
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent as F, toRefs as B, ref as R, onMounted as T, openBlock as E, createBlock as G, unref as f, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
|
2
|
-
import { B as O, n as K, _ as N, U } from "./main-
|
2
|
+
import { B as O, n as K, _ as N, U } from "./main-BLb5AIWJ.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
|
5
|
-
const Q = /* @__PURE__ */ F({
|
4
|
+
const J = /* @__PURE__ */ F({
|
6
5
|
__name: "Stock",
|
7
6
|
props: {
|
8
7
|
searchData: {},
|
@@ -15,7 +14,7 @@ const Q = /* @__PURE__ */ F({
|
|
15
14
|
set: {}
|
16
15
|
},
|
17
16
|
setup(k) {
|
18
|
-
let L = k, { module: j, schema: z, table: v, layout: n, next: W, set: h } = B(L),
|
17
|
+
let L = k, { module: j, schema: z, table: v, layout: n, next: W, set: h } = B(L), y = null, c = null, p = "#04aa4e", x = "#ff5945", w = R(), u = { history: null, week: null, month: null }, { app: S } = O.sys, M = (t) => {
|
19
18
|
let o = U.array.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
|
20
19
|
for (let i = 0; i < o.length; i++) {
|
21
20
|
let a = o[i];
|
@@ -24,7 +23,7 @@ const Q = /* @__PURE__ */ F({
|
|
24
23
|
l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
|
25
24
|
let C = {
|
26
25
|
value: parseFloat(a[n.value.volumn]),
|
27
|
-
itemStyle: { color: s > d ?
|
26
|
+
itemStyle: { color: s > d ? p : x }
|
28
27
|
};
|
29
28
|
r.push(C);
|
30
29
|
}
|
@@ -147,9 +146,9 @@ const Q = /* @__PURE__ */ F({
|
|
147
146
|
//网格索引,表示使用第2个网格的配置
|
148
147
|
data: t.values,
|
149
148
|
itemStyle: {
|
150
|
-
color:
|
149
|
+
color: p,
|
151
150
|
color0: x,
|
152
|
-
borderColor:
|
151
|
+
borderColor: p,
|
153
152
|
borderColor0: x
|
154
153
|
},
|
155
154
|
markPoint: {
|
@@ -269,7 +268,7 @@ const Q = /* @__PURE__ */ F({
|
|
269
268
|
}), o / t.length * 100;
|
270
269
|
}, I = (t) => {
|
271
270
|
let o = _(t);
|
272
|
-
|
271
|
+
y || (y = c.init(w.value)), y.setOption(o);
|
273
272
|
let e = t.values, l = e.reverse();
|
274
273
|
u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
|
275
274
|
}, Z = () => {
|
@@ -294,5 +293,5 @@ const Q = /* @__PURE__ */ F({
|
|
294
293
|
}
|
295
294
|
});
|
296
295
|
export {
|
297
|
-
|
296
|
+
J as _
|
298
297
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-BiSpx7nU.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
|
14
14
|
return (h, l) => (b(), w(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|