halo-pc 1.0.20 → 1.0.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-C_3LULzy.js +200 -0
- package/dist/{ArticleFooter-CsCnjrJ1.js → ArticleFooter-Do6I1mma.js} +24 -18
- package/dist/{Autocomplete-BGkHGSX_.js → Autocomplete-BLOOqTTn.js} +1 -1
- package/dist/Autocomplete-BLrbt1wN.js +53 -0
- package/dist/Autocomplete-C27XN8Sp.js +54 -0
- package/dist/{CSharp-NuDfWEq7.js → CSharp-BGn9jf2B.js} +1 -1
- package/dist/{Calender-C2YaNTHk.js → Calender-4bSMqUzx.js} +4 -4
- package/dist/Callback-BHYDtogL.js +26 -0
- package/dist/Cascader-D3y3WjFF.js +87 -0
- package/dist/Cascader-D9Y8L7X2.js +47 -0
- package/dist/{Checkbox-BAcK--1U.js → Checkbox-DnTLeLjt.js} +1 -1
- package/dist/Checkbox-dDfYBhhc.js +76 -0
- package/dist/{Code-CbsVyhOv.js → Code-Af5URLnL.js} +1 -1
- package/dist/Code-Bi9Y45vV.js +42 -0
- package/dist/Code-CWsSgkJq.js +60 -0
- package/dist/{Code-BHEes80c.js → Code-QYs-sjcG.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-CI6sLXKy.js +65 -0
- package/dist/Column-wzxM_-Vp.js +74 -0
- package/dist/Comment-BF8L1umD.js +104 -0
- package/dist/Compare-CjSQcnd3.js +43 -0
- package/dist/{Compare-gEOPuGLB.js → Compare-Cj_CPjIV.js} +25 -19
- package/dist/Copy-BNt-Dwoo.js +49 -0
- package/dist/Custom-CYPkAqpf.js +57 -0
- package/dist/{DataExport-hwoZoZUN.js → DataExport-CHQtRKzA.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dkq4fSkZ.js → DataExport.vue_vue_type_script_setup_true_lang-Dt2BAaAO.js} +41 -36
- package/dist/{DataImport-CQYeF50z.js → DataImport-CDcmH3Du.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-dULXjbl_.js +176 -0
- package/dist/{Date-a3T1YbHN.js → Date-BStpsA7n.js} +1 -1
- package/dist/Date-U1py5NaK.js +43 -0
- package/dist/DateRange-DxAx2gxI.js +63 -0
- package/dist/DateTime-B3609Ct6.js +44 -0
- package/dist/{DateTime-BUYojCOY.js → DateTime-CmJw1-WA.js} +1 -1
- package/dist/{DateTimeRange-D9K4am0p.js → DateTimeRange-aDw57sTG.js} +17 -11
- package/dist/Daterange-C48t6usd.js +63 -0
- package/dist/{Decimal-CNhxJUZg.js → Decimal-Ca0K6NoZ.js} +1 -1
- package/dist/Delete-FhIvONUV.js +62 -0
- package/dist/{Detail-BXkTd6Wh.js → Detail-qqW0J946.js} +21 -15
- package/dist/Dictionary-CaXytFmK.js +59 -0
- package/dist/Email-H2DHJhMe.js +54 -0
- package/dist/{File-CAnAcqJX.js → File-CjXewuui.js} +33 -27
- package/dist/Image-BSuCHshD.js +9 -0
- package/dist/Index-9KImKLrj.js +4 -0
- package/dist/Index-BIbR8SAU.js +178 -0
- package/dist/Index-BaoxkF9F.js +4 -0
- package/dist/{Index-DJvB04cS.js → Index-BrI9x7i7.js} +1 -1
- package/dist/Index-CXR5RC6-.js +4 -0
- package/dist/{Index-RZT6JXBO.js → Index-CpGonJ_m.js} +1 -1
- package/dist/{Index-CseSUp2Z.js → Index-DUgprnVp.js} +1 -1
- package/dist/{Index-BqjKndKz.js → Index-icEhc88J.js} +25 -20
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js → Index.vue_vue_type_script_setup_true_lang-Beb5UD_S.js} +21 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C8ZEc4nU.js → Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js} +22 -16
- package/dist/{Index.vue_vue_type_style_index_0_lang-T12lwRy6.js → Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js} +40 -35
- package/dist/{Install-DWWpscrR.js → Install-FwXpJIWk.js} +26 -20
- package/dist/Int-CXl1QpEL.js +44 -0
- package/dist/Int-DAxz3ETu.js +46 -0
- package/dist/List-CV9bkdrq.js +79 -0
- package/dist/Maintaince-DZNq9aHX.js +20 -0
- package/dist/{Markdown-d8PCfAFf.js → Markdown-BhwqDlwa.js} +1 -1
- package/dist/{Month-COEkKDL_.js → Month-BEmnA7zU.js} +1 -1
- package/dist/Month-DXQBHoJU.js +43 -0
- package/dist/Month-bgEd_K7_.js +44 -0
- package/dist/{Normal-BD7sNr-b.js → Normal-Dya4aqc7.js} +56 -51
- package/dist/Paging-JXDzxoM0.js +99 -0
- package/dist/{PagingHeader-CznmI0kr.js → PagingHeader-BETGBySb.js} +31 -25
- package/dist/{PagingRow-BJ-VLpfV.js → PagingRow-BLqp1c9E.js} +28 -22
- package/dist/QueryApi-B5jI3sBl.js +20 -0
- package/dist/{Racebar-BkwhD-rw.js → Racebar-CozeXwLJ.js} +42 -37
- package/dist/{Radio-CS12bajp.js → Radio-CuAxYw7j.js} +1 -1
- package/dist/{Register-l_X4fDPP.js → Register-B11jE2Ox.js} +78 -73
- package/dist/RichText-CxBE_cVg.js +47 -0
- package/dist/{SearchFooter-C8N9ku25.js → SearchFooter-agTqPUGE.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-6WvYHIn1.js → SearchFooter.vue_vue_type_style_index_0_lang-C-1Yr5_9.js} +1 -1
- package/dist/{SearchForm-DX0mN20A.js → SearchForm-DNKmE8W0.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js → SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js} +40 -35
- package/dist/Select-BPa5rx_H.js +86 -0
- package/dist/Select-CRfEAtba.js +117 -0
- package/dist/{Select-DYjvtHyi.js → Select-MqDjnB-C.js} +1 -1
- package/dist/{Single-DErvX9y_.js → Single-C5Kkr9SY.js} +112 -107
- package/dist/{Statistic-CQxXdu-V.js → Statistic-Ce_FMw5O.js} +36 -31
- package/dist/{Stock-CsoHCwV6.js → Stock-BTjhpaxv.js} +1 -1
- package/dist/{Stock-DXLdfC3r.js → Stock-D8AJmsvb.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B-b3Lj_h.js → Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js} +28 -23
- package/dist/{Switch-BCgZXfWo.js → Switch-gwGbi34o.js} +1 -1
- package/dist/{Table-CAVxyUTD.js → Table-C03eUBYm.js} +69 -63
- package/dist/{Table-DkJYgLFt.js → Table-DA8aGGEH.js} +74 -70
- package/dist/{Text-Cn0cOTli.js → Text-B5uPrGof.js} +18 -12
- package/dist/Text-D-VS-lCk.js +59 -0
- package/dist/Text-NRww74M3.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-Fsbur1tJ.js +59 -0
- package/dist/TextLink-B_Qg6CnF.js +65 -0
- package/dist/{Textarea-Pc4TfoC3.js → Textarea-gtXLL6Qe.js} +1 -1
- package/dist/Time-DYOIZ2Rv.js +43 -0
- package/dist/Timeline-B4AYezYA.js +59 -0
- package/dist/{Tree-01Sb-9zi.js → Tree-CRDb0vS5.js} +67 -62
- package/dist/Tree-CTmXjN1O.js +122 -0
- package/dist/TreeNode-HFcGpAOb.js +42 -0
- package/dist/{Update-Cy1lFPVv.js → Update-EHyhYK5k.js} +18 -12
- package/dist/{UpdateChild-DV_8KV9G.js → UpdateChild-CC3b9evd.js} +23 -17
- package/dist/Upload-CkQ-5tVg.js +72 -0
- package/dist/Upload-um4BYzwO.js +150 -0
- package/dist/UploadApi-BmdGJGjh.js +20 -0
- package/dist/Year-DKBG5ihv.js +47 -0
- package/dist/{Year-BFZPXXq0.js → Year-Lhvyb9Vk.js} +1 -1
- package/dist/assets/@intlify-BISCQg1h.js +2189 -0
- package/dist/assets/@vue-aVYGocXp.js +93 -0
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
- package/dist/main-C1iALE1f.js +8947 -0
- package/dist/main.js +42 -41
- package/package.json +2 -2
- package/dist/Article-aps_F4Uq.js +0 -194
- package/dist/Autocomplete-CGoxGIM2.js +0 -48
- package/dist/Autocomplete-XdLV4jzi.js +0 -49
- package/dist/Callback-Czdr_dVp.js +0 -20
- package/dist/Cascader-D3Kr80fH.js +0 -81
- package/dist/Cascader-DRvnD4Xc.js +0 -41
- package/dist/Checkbox-5pSKww4M.js +0 -70
- package/dist/Code-BxQxsVD8.js +0 -54
- package/dist/Code-CtDTGfBy.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-CPZKY3vQ.js +0 -59
- package/dist/Column-D3PMyaiE.js +0 -68
- package/dist/Comment-B3fvVYJF.js +0 -98
- package/dist/Compare-BXxJuIXf.js +0 -37
- package/dist/Copy-1znXP-dt.js +0 -43
- package/dist/Custom-C_15ZImX.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-ChWRjj2W.js +0 -172
- package/dist/Date-0bIUTNCs.js +0 -37
- package/dist/DateRange-Cxu9FXTE.js +0 -57
- package/dist/DateTime-IlsYZL-l.js +0 -38
- package/dist/Daterange-CX0Klog4.js +0 -57
- package/dist/Delete-DFl8Tr27.js +0 -56
- package/dist/Dictionary-DmarNVsi.js +0 -55
- package/dist/Email-BBjDCCOK.js +0 -48
- package/dist/Image-pufFvop2.js +0 -9
- package/dist/Index-C4D5pwwu.js +0 -173
- package/dist/Index-CD_KS2lO.js +0 -4
- package/dist/Index-CEh3KlPE.js +0 -4
- package/dist/Index-XmvSiC1h.js +0 -4
- package/dist/Int-Bi3P8XeV.js +0 -41
- package/dist/Int-Bn2p1DqA.js +0 -38
- package/dist/List-CeQRwXop.js +0 -73
- package/dist/Maintaince-CVMjhqSO.js +0 -14
- package/dist/Month-BfUSQ3xa.js +0 -38
- package/dist/Month-DQKfNQzN.js +0 -37
- package/dist/Paging-d_-VefNv.js +0 -94
- package/dist/QueryApi-Cdniq3mZ.js +0 -13
- package/dist/RichText-9MwwjuZi.js +0 -41
- package/dist/Select-CQE5kY-n.js +0 -111
- package/dist/Select-DaEqum3a.js +0 -80
- package/dist/Text-Dk5tNNZo.js +0 -53
- package/dist/Text-DvVWvaMO.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-I01JEYAx.js +0 -53
- package/dist/TextLink-D3nvnLHn.js +0 -59
- package/dist/Time-CToG3p0T.js +0 -37
- package/dist/Timeline-DphvhX0U.js +0 -53
- package/dist/Tree-CH1RoUqu.js +0 -117
- package/dist/TreeNode-C54d29V-.js +0 -37
- package/dist/Upload-BalaO4wz.js +0 -146
- package/dist/Upload-DQVaPUdG.js +0 -67
- package/dist/UploadApi-Cfm5DM_x.js +0 -13
- package/dist/Year-Swm3VSzj.js +0 -41
- package/dist/main-BYJVoHlf.js +0 -19457
@@ -1,14 +0,0 @@
|
|
1
|
-
import { defineComponent as t, openBlock as n, createElementBlock as o, createElementVNode as e, toDisplayString as s, unref as c } from "vue";
|
2
|
-
import { o as i } from "./main-BYJVoHlf.js";
|
3
|
-
const a = { class: "maintenance" }, r = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), _ = { class: "description" }, u = /* @__PURE__ */ t({
|
4
|
-
__name: "Maintaince",
|
5
|
-
setup(d) {
|
6
|
-
return (l, m) => (n(), o("div", a, [
|
7
|
-
r,
|
8
|
-
e("div", _, s(c(i)), 1)
|
9
|
-
]));
|
10
|
-
}
|
11
|
-
});
|
12
|
-
export {
|
13
|
-
u as default
|
14
|
-
};
|
package/dist/Month-BfUSQ3xa.js
DELETED
@@ -1,38 +0,0 @@
|
|
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
|
-
__name: "Month",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(n, { emit: r }) {
|
15
|
-
let o = r, p = n, { table: u, field: a, set: g, modelValue: s } = f(p), l = _({
|
16
|
-
get() {
|
17
|
-
return s.value;
|
18
|
-
},
|
19
|
-
set(t) {
|
20
|
-
o("update:modelValue", t), o("change", t);
|
21
|
-
}
|
22
|
-
});
|
23
|
-
return (t, m) => {
|
24
|
-
const c = V("el-date-picker");
|
25
|
-
return h(), b(c, {
|
26
|
-
type: "month",
|
27
|
-
placeholder: e(Y)(e(u).name, e(a).name),
|
28
|
-
"value-format": "YYYY-MM",
|
29
|
-
disabled: e(a).control.readonly,
|
30
|
-
modelValue: e(l),
|
31
|
-
"onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
|
32
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
33
|
-
};
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
v as default
|
38
|
-
};
|
package/dist/Month-DQKfNQzN.js
DELETED
@@ -1,37 +0,0 @@
|
|
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
|
-
__name: "Month",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
searchData: {},
|
10
|
-
modelValue: {}
|
11
|
-
},
|
12
|
-
emits: ["submit", "change", "update:modelValue"],
|
13
|
-
setup(n, { emit: r }) {
|
14
|
-
let a = r, p = n, { table: u, field: o, searchData: g, modelValue: s } = f(p), l = h({
|
15
|
-
get() {
|
16
|
-
return s.value;
|
17
|
-
},
|
18
|
-
set(t) {
|
19
|
-
a("update:modelValue", t), a("change", t);
|
20
|
-
}
|
21
|
-
});
|
22
|
-
return (t, m) => {
|
23
|
-
const c = _("el-date-picker");
|
24
|
-
return V(), b(c, {
|
25
|
-
type: "month",
|
26
|
-
placeholder: e(Y)(e(u).name, e(o).name),
|
27
|
-
"value-format": "YYYY-MM",
|
28
|
-
disabled: e(o).control.readonly,
|
29
|
-
modelValue: e(l),
|
30
|
-
"onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
|
31
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
32
|
-
};
|
33
|
-
}
|
34
|
-
});
|
35
|
-
export {
|
36
|
-
v as default
|
37
|
-
};
|
package/dist/Paging-d_-VefNv.js
DELETED
@@ -1,94 +0,0 @@
|
|
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 { 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
|
-
const le = /* @__PURE__ */ V({
|
5
|
-
__name: "Paging",
|
6
|
-
props: {
|
7
|
-
base: {},
|
8
|
-
route: {},
|
9
|
-
url: {},
|
10
|
-
win: {}
|
11
|
-
},
|
12
|
-
emits: ["navigate", "load"],
|
13
|
-
setup(b, { expose: k, emit: z }) {
|
14
|
-
let m = z, P = b, { url: p, base: y, route: u } = $(P), f = r(), v = r(), c = r(), h = r(), x = r(), C = r(), g = r(), o = r(), N = (e) => !0, L = (e) => {
|
15
|
-
let a = s.getPath(p.value), l = s.getPath(e);
|
16
|
-
return a != l;
|
17
|
-
}, R = (e = null) => {
|
18
|
-
_(e);
|
19
|
-
}, w = () => {
|
20
|
-
}, S = (e) => {
|
21
|
-
var l;
|
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
|
-
}, q = (e = null, a = null) => {
|
25
|
-
let l = e ?? u.value.query, n = s.getUrl(u.value.path, l);
|
26
|
-
m("load", n, !1, (T) => {
|
27
|
-
a && a(T);
|
28
|
-
});
|
29
|
-
}, i = (e, a) => {
|
30
|
-
m("navigate", e, a);
|
31
|
-
}, B = async (e) => {
|
32
|
-
let a = u.value.query;
|
33
|
-
a.page = 1;
|
34
|
-
let l = X.pure(g.value);
|
35
|
-
a.condition = U.encode(l);
|
36
|
-
let n = s.getUrl(u.value.path, a);
|
37
|
-
n == p.value ? q(a, e) : i(n, e);
|
38
|
-
}, D = (e, a) => {
|
39
|
-
let l = u.value.query;
|
40
|
-
l.order_by = U.encode(JSON.stringify(e));
|
41
|
-
let n = s.getUrl(u.value.path, l);
|
42
|
-
i(n, a);
|
43
|
-
}, K = (e, a = null) => {
|
44
|
-
let l = u.value.query;
|
45
|
-
l.page = e;
|
46
|
-
let n = s.getUrl(u.value.path, l);
|
47
|
-
i(n, a);
|
48
|
-
}, F = (e, a = null) => {
|
49
|
-
let l = u.value.query;
|
50
|
-
l.size = e;
|
51
|
-
let n = s.getUrl(u.value.path, l);
|
52
|
-
i(n, a);
|
53
|
-
}, G = (e) => {
|
54
|
-
h.value = c.value.layouts.find((a) => a.type == e);
|
55
|
-
}, J = () => {
|
56
|
-
S(y.value.data);
|
57
|
-
}, _ = (e = null) => q(null, e), M = (e) => {
|
58
|
-
if (!o.value || !o.value.resize)
|
59
|
-
return !1;
|
60
|
-
o.value.resize(e);
|
61
|
-
}, O = (e, a) => {
|
62
|
-
if (!o.value || !o.value.keyboard)
|
63
|
-
return !1;
|
64
|
-
o.value.keyboard(e, a);
|
65
|
-
};
|
66
|
-
return j(async () => {
|
67
|
-
J();
|
68
|
-
}), A(() => y.value, (e) => {
|
69
|
-
S(e.data);
|
70
|
-
}), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: O, resize: M }), (e, a) => t(h) ? (E(), H(Y, {
|
71
|
-
key: 0,
|
72
|
-
ref_key: "pagingRef",
|
73
|
-
ref: o,
|
74
|
-
module: t(f),
|
75
|
-
next: t(x),
|
76
|
-
set: t(C),
|
77
|
-
schema: t(v),
|
78
|
-
table: t(c),
|
79
|
-
layout: t(h),
|
80
|
-
"search-data": t(g),
|
81
|
-
onNavigate: t(i),
|
82
|
-
onSort: t(D),
|
83
|
-
onSearch: t(B),
|
84
|
-
onPageChange: t(K),
|
85
|
-
onSizeChange: t(F),
|
86
|
-
onLayoutChange: t(G),
|
87
|
-
onSucceed: t(R),
|
88
|
-
onClose: t(w)
|
89
|
-
}, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : I("", !0);
|
90
|
-
}
|
91
|
-
});
|
92
|
-
export {
|
93
|
-
le as default
|
94
|
-
};
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as p, onMounted as w, computed as m, watch as v, openBlock as R, createBlock as b, unref as r, normalizeStyle as k, isRef as B } from "vue";
|
2
|
-
import { h as C } from "./main-BYJVoHlf.js";
|
3
|
-
const O = /* @__PURE__ */ g({
|
4
|
-
__name: "RichText",
|
5
|
-
props: /* @__PURE__ */ x({
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {}
|
11
|
-
}, {
|
12
|
-
modelValue: {},
|
13
|
-
modelModifiers: {}
|
14
|
-
}),
|
15
|
-
emits: ["update:modelValue"],
|
16
|
-
setup(n) {
|
17
|
-
let f = n, { field: e, table: h, set: _, row: s } = S(f), u = M(n, "modelValue"), t = p({ readonly: !1, scrollTop: 0 }), d = p(), y = (l) => {
|
18
|
-
a.value != null && (s.value[a.value.name] = l.scrollTop);
|
19
|
-
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
20
|
-
t.value.readonly = e.value.control.readonly, t.value.scrollTop = i.value, d.value = T();
|
21
|
-
};
|
22
|
-
w(() => {
|
23
|
-
V();
|
24
|
-
});
|
25
|
-
let i = m(() => a.value ? s.value[a.value.name] : null), a = m(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
26
|
-
return v(() => i.value, (l, o) => {
|
27
|
-
t.value.scrollTop = l;
|
28
|
-
}), v(() => e.value.control.readonly, (l, o) => {
|
29
|
-
t.value.readonly = l;
|
30
|
-
}), (l, o) => (R(), b(r(C), {
|
31
|
-
style: k(r(d)),
|
32
|
-
options: r(t),
|
33
|
-
onScroll: r(y),
|
34
|
-
modelValue: r(u),
|
35
|
-
"onUpdate:modelValue": o[0] || (o[0] = (c) => B(u) ? u.value = c : u = c)
|
36
|
-
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
37
|
-
}
|
38
|
-
});
|
39
|
-
export {
|
40
|
-
O as default
|
41
|
-
};
|
package/dist/Select-CQE5kY-n.js
DELETED
@@ -1,111 +0,0 @@
|
|
1
|
-
import { defineComponent as M, toRefs as T, ref as f, computed as U, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as D, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
|
2
|
-
import { q as J, U as P, k as Q, L as W } from "./main-BYJVoHlf.js";
|
3
|
-
const X = { class: "option-text" }, Y = {
|
4
|
-
key: 0,
|
5
|
-
class: "option-suffix"
|
6
|
-
}, le = /* @__PURE__ */ M({
|
7
|
-
__name: "Select",
|
8
|
-
props: {
|
9
|
-
schema: {},
|
10
|
-
table: {},
|
11
|
-
field: {},
|
12
|
-
set: {},
|
13
|
-
row: {},
|
14
|
-
modelValue: { type: [String, Number, Boolean, Array] }
|
15
|
-
},
|
16
|
-
emits: ["submit", "change", "update:modelValue"],
|
17
|
-
setup(C, { emit: E }) {
|
18
|
-
let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } = T(B), x = f(), g = f(), v = f(!1), d = f(u.value.control.data.data), K = (t) => {
|
19
|
-
t == "" && (t = null);
|
20
|
-
let e;
|
21
|
-
if (P.isString(t) && u.value.control.multiple ? e = t.join(",") : e = t, r.value = e, u.value.control.text) {
|
22
|
-
let a = m.value.fields.find((l) => l.name == u.value.control.text), o;
|
23
|
-
e && (o = d.value.find((i) => i.value == e).text);
|
24
|
-
debugger;
|
25
|
-
R.value[a.name] = o;
|
26
|
-
}
|
27
|
-
b(m.value, u.value), s("change", t);
|
28
|
-
}, N = () => {
|
29
|
-
s("submit");
|
30
|
-
}, j = () => {
|
31
|
-
}, q = () => {
|
32
|
-
v.value = !0;
|
33
|
-
let t = { text: g.value, conditions: [] };
|
34
|
-
u.value.control.data.conditions.forEach((e) => {
|
35
|
-
let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
|
36
|
-
t.conditions.push({ name: e.name, value: o });
|
37
|
-
}), W.post(u.value.control.data.route, t).then(({ data: e }) => {
|
38
|
-
d.value = e;
|
39
|
-
}).finally(() => {
|
40
|
-
v.value = !1, I(() => {
|
41
|
-
let e = d.value.find((a) => a.value == r.value);
|
42
|
-
x.value.scrollToOption(e);
|
43
|
-
});
|
44
|
-
});
|
45
|
-
}, F = (t) => {
|
46
|
-
g.value = t, q();
|
47
|
-
}, L = (t, e) => {
|
48
|
-
let a = [];
|
49
|
-
return S.value.forEach((o) => {
|
50
|
-
o.fields.forEach((l) => {
|
51
|
-
l.dictionary && l.dictionary.conditions.forEach((i) => {
|
52
|
-
i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
|
53
|
-
});
|
54
|
-
});
|
55
|
-
}), a;
|
56
|
-
}, b = (t, e) => {
|
57
|
-
L(t, e).forEach((o) => {
|
58
|
-
Q.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
|
59
|
-
});
|
60
|
-
}, r = U({
|
61
|
-
get() {
|
62
|
-
return u.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
|
63
|
-
},
|
64
|
-
set(t) {
|
65
|
-
s("update:modelValue", t), s("change", t);
|
66
|
-
}
|
67
|
-
});
|
68
|
-
return (t, e) => {
|
69
|
-
const a = _("el-option"), o = _("el-select");
|
70
|
-
return c(), y(o, {
|
71
|
-
ref_key: "selectRef",
|
72
|
-
ref: x,
|
73
|
-
filterable: "",
|
74
|
-
remote: "",
|
75
|
-
"reserve-keyword": "",
|
76
|
-
"default-first-option": "",
|
77
|
-
"remote-show-suffix": "",
|
78
|
-
"loading-text": "加载中",
|
79
|
-
clearable: "",
|
80
|
-
placeholder: n(J)(n(m).name, n(u).name),
|
81
|
-
multiple: n(u).control.multiple,
|
82
|
-
"remote-method": n(F),
|
83
|
-
loading: n(v),
|
84
|
-
disabled: n(u).control.readonly,
|
85
|
-
onKeyup: A(D(n(N), ["alt"]), ["enter", "native"]),
|
86
|
-
onBlur: n(j),
|
87
|
-
onChange: n(K),
|
88
|
-
modelValue: n(r),
|
89
|
-
"onUpdate:modelValue": e[0] || (e[0] = (l) => O(r) ? r.value = l : r = l)
|
90
|
-
}, {
|
91
|
-
default: V(() => [
|
92
|
-
(c(!0), k($, null, z(n(d), (l, i) => (c(), y(a, {
|
93
|
-
label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
|
94
|
-
value: l.value,
|
95
|
-
key: l.value
|
96
|
-
}, {
|
97
|
-
default: V(() => [
|
98
|
-
G("span", X, w(l.text), 1),
|
99
|
-
l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : H("", !0)
|
100
|
-
]),
|
101
|
-
_: 2
|
102
|
-
}, 1032, ["label", "value"]))), 128))
|
103
|
-
]),
|
104
|
-
_: 1
|
105
|
-
}, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
|
106
|
-
};
|
107
|
-
}
|
108
|
-
});
|
109
|
-
export {
|
110
|
-
le as default
|
111
|
-
};
|
package/dist/Select-DaEqum3a.js
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
import { defineComponent as E, toRefs as K, ref as d, computed as R, resolveComponent as c, openBlock as s, createBlock as f, unref as t, withKeys as S, withModifiers as L, isRef as M, withCtx as p, createElementBlock as h, Fragment as P, renderList as F, createElementVNode as U, toDisplayString as _, createCommentVNode as j } from "vue";
|
2
|
-
import { P as q, N as z, L as A } from "./main-BYJVoHlf.js";
|
3
|
-
const G = { class: "option-text" }, H = {
|
4
|
-
key: 0,
|
5
|
-
class: "option-suffix"
|
6
|
-
}, T = /* @__PURE__ */ E({
|
7
|
-
__name: "Select",
|
8
|
-
props: {
|
9
|
-
schema: {},
|
10
|
-
table: {},
|
11
|
-
field: {},
|
12
|
-
searchData: {},
|
13
|
-
modelValue: { type: [String, Boolean] }
|
14
|
-
},
|
15
|
-
emits: ["change", "submit", "update:modelValue"],
|
16
|
-
setup(v, { emit: x }) {
|
17
|
-
let r = x, b = v, { schema: I, table: g, field: a, searchData: y, modelValue: V } = K(b), k = d(!1), i = d(), m = d(a.value.control.data.data), C = () => {
|
18
|
-
r("submit");
|
19
|
-
}, w = () => {
|
20
|
-
}, B = (l) => {
|
21
|
-
i.value = l, N();
|
22
|
-
}, N = () => {
|
23
|
-
let l = { text: i.value, conditions: [] };
|
24
|
-
a.value.control.data.conditions.forEach((o) => {
|
25
|
-
let u = y.value[o.table][o.field];
|
26
|
-
l.conditions.push({ name: o.name, value: u });
|
27
|
-
}), A.post(a.value.control.data.route, l).then(({ data: o }) => {
|
28
|
-
m.value = o;
|
29
|
-
}).finally(() => {
|
30
|
-
k.value = !1;
|
31
|
-
});
|
32
|
-
}, n = R({
|
33
|
-
get() {
|
34
|
-
return V.value;
|
35
|
-
},
|
36
|
-
set(l) {
|
37
|
-
r("update:modelValue", l), r("change", l);
|
38
|
-
}
|
39
|
-
});
|
40
|
-
return (l, o) => {
|
41
|
-
const u = c("el-option"), D = c("el-select");
|
42
|
-
return s(), f(D, {
|
43
|
-
ref: "selectRef",
|
44
|
-
filterable: "",
|
45
|
-
remote: "",
|
46
|
-
"reserve-keyword": "",
|
47
|
-
clearable: "",
|
48
|
-
"default-first-option": "",
|
49
|
-
"remote-show-suffix": "",
|
50
|
-
placeholder: t(q)("common.please_choose") + t(z)(t(g).name, t(a).name),
|
51
|
-
multiple: t(a).control.multiple,
|
52
|
-
"loading-text": "加载中",
|
53
|
-
"remote-method": t(B),
|
54
|
-
disabled: t(a).control.readonly,
|
55
|
-
onKeyup: S(L(t(C), ["alt"]), ["enter", "native"]),
|
56
|
-
onChange: t(w),
|
57
|
-
modelValue: t(n),
|
58
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) => M(n) ? n.value = e : n = e)
|
59
|
-
}, {
|
60
|
-
default: p(() => [
|
61
|
-
(s(!0), h(P, null, F(t(m), (e, J) => (s(), f(u, {
|
62
|
-
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
63
|
-
value: e.value,
|
64
|
-
key: e.value
|
65
|
-
}, {
|
66
|
-
default: p(() => [
|
67
|
-
U("span", G, _(e.text), 1),
|
68
|
-
e.suffix ? (s(), h("span", H, "(" + _(e.suffix) + ")", 1)) : j("", !0)
|
69
|
-
]),
|
70
|
-
_: 2
|
71
|
-
}, 1032, ["label", "value"]))), 128))
|
72
|
-
]),
|
73
|
-
_: 1
|
74
|
-
}, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
|
75
|
-
};
|
76
|
-
}
|
77
|
-
});
|
78
|
-
export {
|
79
|
-
T as default
|
80
|
-
};
|
package/dist/Text-Dk5tNNZo.js
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
import { defineComponent as V, toRefs as x, computed as _, resolveComponent as g, openBlock as C, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as w } from "vue";
|
2
|
-
import { V as B } from "./main-BYJVoHlf.js";
|
3
|
-
const N = /* @__PURE__ */ V({
|
4
|
-
__name: "Text",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
searchData: {},
|
10
|
-
modelValue: {}
|
11
|
-
},
|
12
|
-
emits: ["change", "submit", "update:modelValue"],
|
13
|
-
setup(u, { emit: p }) {
|
14
|
-
let l = p, s = u, { table: i, field: o, searchData: R, modelValue: d } = x(s), c = (a) => {
|
15
|
-
l("change", a);
|
16
|
-
}, n = () => {
|
17
|
-
l("submit");
|
18
|
-
}, f = () => {
|
19
|
-
n();
|
20
|
-
}, t = _({
|
21
|
-
get() {
|
22
|
-
return d.value;
|
23
|
-
},
|
24
|
-
set(a) {
|
25
|
-
l("update:modelValue", a);
|
26
|
-
}
|
27
|
-
});
|
28
|
-
return (a, m) => {
|
29
|
-
const h = g("el-input");
|
30
|
-
return C(), b(h, {
|
31
|
-
type: "text",
|
32
|
-
placeholder: e(B)(e(i).name, e(o).name),
|
33
|
-
clearable: "",
|
34
|
-
onKeyup: y(e(n), ["enter", "native"]),
|
35
|
-
onChange: e(c),
|
36
|
-
onClear: e(f),
|
37
|
-
modelValue: e(t),
|
38
|
-
"onUpdate:modelValue": m[0] || (m[0] = (r) => v(t) ? t.value = r : t = r)
|
39
|
-
}, k({ _: 2 }, [
|
40
|
-
e(o).suffix ? {
|
41
|
-
name: "append",
|
42
|
-
fn: D(() => [
|
43
|
-
K(w(e(o).suffix), 1)
|
44
|
-
]),
|
45
|
-
key: "0"
|
46
|
-
} : void 0
|
47
|
-
]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
|
48
|
-
};
|
49
|
-
}
|
50
|
-
});
|
51
|
-
export {
|
52
|
-
N as default
|
53
|
-
};
|
package/dist/Text-DvVWvaMO.js
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
import { defineComponent as x, toRefs as v, ref as d, computed as V, resolveComponent as y, openBlock as s, createElementBlock as u, Fragment as g, unref as l, createBlock as B, isRef as p, createCommentVNode as C, nextTick as R, createElementVNode as T } from "vue";
|
2
|
-
import { J as H } from "./main-BYJVoHlf.js";
|
3
|
-
const b = ["innerHTML"], w = /* @__PURE__ */ T("i", { class: "fa fa-edit" }, null, -1), E = [
|
4
|
-
w
|
5
|
-
], S = /* @__PURE__ */ x({
|
6
|
-
__name: "Text",
|
7
|
-
props: {
|
8
|
-
schema: {},
|
9
|
-
table: {},
|
10
|
-
field: {},
|
11
|
-
set: {},
|
12
|
-
row: {},
|
13
|
-
modelValue: {}
|
14
|
-
},
|
15
|
-
setup(c) {
|
16
|
-
let _ = c, { table: J, field: a, set: L, row: M, modelValue: k } = v(_), t = d(!1), i = d(), m = () => {
|
17
|
-
t.value = !0, R(() => {
|
18
|
-
i.value.focus();
|
19
|
-
});
|
20
|
-
}, o = V(() => {
|
21
|
-
var r;
|
22
|
-
let f = H.getHtml((r = k.value) == null ? void 0 : r.toString());
|
23
|
-
return (a.value.control.prefix || "") + (f || "") + (a.value.control.suffix || "");
|
24
|
-
});
|
25
|
-
return (f, e) => {
|
26
|
-
const r = y("el-input");
|
27
|
-
return s(), u(g, null, [
|
28
|
-
l(t) ? (s(), B(r, {
|
29
|
-
key: 1,
|
30
|
-
ref_key: "editRef",
|
31
|
-
ref: i,
|
32
|
-
type: "text",
|
33
|
-
onBlur: e[0] || (e[0] = (n) => p(t) ? t.value = !1 : t = !1),
|
34
|
-
modelValue: l(o),
|
35
|
-
"onUpdate:modelValue": e[1] || (e[1] = (n) => p(o) ? o.value = n : o = n)
|
36
|
-
}, null, 8, ["modelValue"])) : (s(), u("span", {
|
37
|
-
key: 0,
|
38
|
-
class: "text-text",
|
39
|
-
innerHTML: l(o)
|
40
|
-
}, null, 8, b)),
|
41
|
-
l(t) ? C("", !0) : (s(), u("span", {
|
42
|
-
key: 2,
|
43
|
-
class: "edit-inline",
|
44
|
-
onClick: e[2] || (e[2] = //@ts-ignore
|
45
|
-
(...n) => l(m) && l(m)(...n))
|
46
|
-
}, E))
|
47
|
-
], 64);
|
48
|
-
};
|
49
|
-
}
|
50
|
-
});
|
51
|
-
export {
|
52
|
-
S as _
|
53
|
-
};
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import { defineComponent as g, toRefs as E, ref as $, computed as s, resolveComponent as w, unref as o, openBlock as u, createElementBlock as d, renderSlot as i, createBlock as x, withCtx as y } from "vue";
|
2
|
-
import { K as m, d as B } from "./main-BYJVoHlf.js";
|
3
|
-
const C = { key: 0 }, R = ["href", "target"], S = /* @__PURE__ */ g({
|
4
|
-
__name: "TextLink",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {}
|
11
|
-
},
|
12
|
-
emits: ["submit", "change", "update:modelValue"],
|
13
|
-
setup(h, { emit: L }) {
|
14
|
-
let k = h, { table: O, field: t, set: T, row: c } = E(k), p = $(), a = s(() => {
|
15
|
-
let e = t.value.link.href;
|
16
|
-
return t.value.link.values.forEach((r) => {
|
17
|
-
e = e.replace(`{${r}}`, c.value[r]);
|
18
|
-
}), e;
|
19
|
-
}), _ = s(() => m.httpOrHttps(a.value)), v = s(() => {
|
20
|
-
let e = a.value;
|
21
|
-
if (t.value.link.tables.length > 0) {
|
22
|
-
let l = {};
|
23
|
-
t.value.link.tables.forEach((n) => {
|
24
|
-
l[n.name] = {}, n.search.forEach((f) => {
|
25
|
-
l[n.name][f.name] = c.value[f.value];
|
26
|
-
});
|
27
|
-
});
|
28
|
-
let b = B.encode(l);
|
29
|
-
e += "&condition=" + b;
|
30
|
-
}
|
31
|
-
return m.getToRoute(e);
|
32
|
-
});
|
33
|
-
return (e, r) => {
|
34
|
-
const l = w("router-link");
|
35
|
-
return o(p) ? (u(), d("div", C, [
|
36
|
-
i(e.$slots, "default")
|
37
|
-
])) : o(_) ? (u(), d("a", {
|
38
|
-
key: 1,
|
39
|
-
class: "text-link",
|
40
|
-
href: o(a),
|
41
|
-
target: o(t).link.target
|
42
|
-
}, [
|
43
|
-
i(e.$slots, "default")
|
44
|
-
], 8, R)) : (u(), x(l, {
|
45
|
-
key: 2,
|
46
|
-
class: "text-link",
|
47
|
-
to: o(v)
|
48
|
-
}, {
|
49
|
-
default: y(() => [
|
50
|
-
i(e.$slots, "default")
|
51
|
-
]),
|
52
|
-
_: 3
|
53
|
-
}, 8, ["to"]));
|
54
|
-
};
|
55
|
-
}
|
56
|
-
});
|
57
|
-
export {
|
58
|
-
S as default
|
59
|
-
};
|
package/dist/Time-CToG3p0T.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as b, createBlock as h, unref as e, isRef as g } from "vue";
|
2
|
-
import { q as k } from "./main-BYJVoHlf.js";
|
3
|
-
const B = /* @__PURE__ */ c({
|
4
|
-
__name: "Time",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(n, { emit: s }) {
|
15
|
-
let o = s, r = n, { table: u, field: m, set: q, modelValue: p } = f(r), l = _({
|
16
|
-
get() {
|
17
|
-
return p.value;
|
18
|
-
},
|
19
|
-
set(t) {
|
20
|
-
o("update:modelValue", t), o("change", t);
|
21
|
-
}
|
22
|
-
});
|
23
|
-
return (t, a) => {
|
24
|
-
const i = V("el-time-select");
|
25
|
-
return b(), h(i, {
|
26
|
-
type: "time",
|
27
|
-
placeholder: e(k)(e(u).name, e(m).name),
|
28
|
-
disabled: e(m).control.readonly,
|
29
|
-
modelValue: e(l),
|
30
|
-
"onUpdate:modelValue": a[0] || (a[0] = (d) => g(l) ? l.value = d : l = d)
|
31
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
32
|
-
};
|
33
|
-
}
|
34
|
-
});
|
35
|
-
export {
|
36
|
-
B as default
|
37
|
-
};
|