halo-pc 1.0.37 → 1.0.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DSuvpyeC.js → Article-H_clf90b.js} +31 -32
- package/dist/{ArticleFooter-Cx3OC7sV.js → ArticleFooter-BLi4TNA7.js} +3 -4
- package/dist/Autocomplete-BF9x0F4f.js +49 -0
- package/dist/{Autocomplete-DASTUS8d.js → Autocomplete-CcIzTPSr.js} +11 -12
- package/dist/{Autocomplete-1jt0wRMS.js → Autocomplete-DMm6oI1g.js} +1 -1
- package/dist/{CSharp-CebNTVPd.js → CSharp-CZOchOE-.js} +1 -1
- package/dist/{Calender-BBILvX8n.js → Calender-BoQV7bhA.js} +4 -4
- package/dist/Callback-79Bw4RwY.js +20 -0
- package/dist/Cascader-D1Ou5OSg.js +41 -0
- package/dist/{Cascader-DyQ312mS.js → Cascader-DMhl98vw.js} +27 -28
- package/dist/{Checkbox-CHmMU0Cs.js → Checkbox-C6t6S7ii.js} +1 -1
- package/dist/{Checkbox-CyC_mo50.js → Checkbox-DtrXMDBR.js} +13 -14
- package/dist/Code-B8ISTTYK.js +54 -0
- package/dist/Code-BMlBvnqa.js +4 -0
- package/dist/{Code-CIFJJJo3.js → Code-DDacfgvl.js} +1 -1
- package/dist/Code-DIGn8Raz.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +57 -0
- package/dist/Column-DjA11efs.js +69 -0
- package/dist/{Comment-D78rr4-n.js → Comment-Ixu0gPk3.js} +19 -25
- package/dist/{Compare-DLiL32cA.js → Compare-C1uq4lgK.js} +9 -10
- package/dist/{Compare-Cb9vYPl5.js → Compare-NN40QJWm.js} +10 -11
- package/dist/{Copy-CH2_hawJ.js → Copy-BcfSvyWG.js} +11 -12
- package/dist/{Custom-D9qN9bwa.js → Custom-Dn9_vPuD.js} +21 -22
- package/dist/{DataExport-D8cqXPrh.js → DataExport-DNGgWqsx.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js → DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js} +24 -25
- package/dist/{DataImport-3KwXYYGw.js → DataImport-CI9eM5T1.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js → DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js} +39 -40
- package/dist/{Date-OZxdofhB.js → Date-CGyzi8yX.js} +1 -1
- package/dist/{Date-yHlD-Lw2.js → Date-CZGbZKjB.js} +8 -9
- package/dist/{DateRange-BLSxDHKv.js → DateRange-MbbkmZ_Y.js} +9 -10
- package/dist/{DateTime-B7GzMj8Q.js → DateTime-DHrHmRLL.js} +1 -1
- package/dist/{DateTime-8tbpOKOK.js → DateTime-DqUOXGWH.js} +8 -9
- package/dist/{DateTimeRange-COFWmQoO.js → DateTimeRange-DgXQkZLx.js} +11 -12
- package/dist/{Daterange-Cy8l4CfJ.js → Daterange-DLHJuRur.js} +8 -9
- package/dist/{Decimal-Dw6EtZOm.js → Decimal-BUJuuvfr.js} +1 -1
- package/dist/{Delete-DjXSCUKp.js → Delete-BGMk0orl.js} +19 -20
- package/dist/{Detail-DU8mI4u2.js → Detail-D4KzWdHQ.js} +7 -8
- package/dist/Dictionary-Esd3ERAq.js +55 -0
- package/dist/{Email-AHWpz5Ck.js → Email-C9K09hwC.js} +11 -12
- package/dist/{File-DUxwHR5G.js → File-ai1eYO7v.js} +43 -44
- package/dist/{Image-BJ5q87B6.js → Image-CfY4G1Yn.js} +1 -1
- package/dist/{Index-Z8HW5XAm.js → Index-B5o7uf36.js} +15 -16
- package/dist/Index-CH3nwnPZ.js +4 -0
- package/dist/Index-CTjDkp7e.js +4 -0
- package/dist/Index-DSZ8wa7U.js +4 -0
- package/dist/Index-DVdiF3gr.js +4 -0
- package/dist/{Index-Jt1omrn-.js → Index-DYHrSEZ5.js} +1 -1
- package/dist/Index-DsZPtDYE.js +173 -0
- package/dist/{Index-KTv20XtO.js → Index-S1btGSGD.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js → Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js} +6 -7
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BznVrY52.js → Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js} +14 -20
- package/dist/{Install-C-xxCx9D.js → Install-D-MgafyF.js} +13 -14
- package/dist/{Int-BsHpY5Gt.js → Int-CnvfCxgn.js} +9 -10
- package/dist/{Int-1QpMyTPB.js → Int-D3RqVcmN.js} +13 -14
- package/dist/{List-DW7FpMfd.js → List-DA4SO_le.js} +18 -19
- package/dist/Maintaince-BIgEbjrq.js +14 -0
- package/dist/{Markdown-BZhSwheI.js → Markdown-hax8By5O.js} +1 -1
- package/dist/Month-5lTUiWin.js +37 -0
- package/dist/{Month-IJnA7Kgl.js → Month-BDkwv-vc.js} +11 -12
- package/dist/{Month-BKXtBi6i.js → Month-CnVTSnyK.js} +1 -1
- package/dist/{Normal-CettIwbU.js → Normal-DoE9t7d7.js} +52 -53
- package/dist/Paging-5qsCTRWy.js +92 -0
- package/dist/{PagingHeader-irWrEKGQ.js → PagingHeader-BFtE6jSy.js} +35 -36
- package/dist/{PagingRow-Bft1brFD.js → PagingRow-CSB-kwMz.js} +19 -20
- package/dist/{Racebar-D3VFwM1V.js → Racebar-Bc-dDRss.js} +25 -31
- package/dist/{Radio-C-IwNXnz.js → Radio-CMGOtMnx.js} +1 -1
- package/dist/{Register-XTfqbbgr.js → Register-8wi0uixs.js} +60 -61
- package/dist/RichText-BR4Kvx0J.js +41 -0
- package/dist/{SearchFooter-hC7sQBez.js → SearchFooter-DOC21dmS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js → SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js} +3 -3
- package/dist/{SearchForm-BTux7Adt.js → SearchForm-BMTSPce_.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js → SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js} +31 -32
- package/dist/{Select-ClAK8aNJ.js → Select-DAxdpZlO.js} +15 -16
- package/dist/{Select-K1dU20i2.js → Select-DnFyey0n.js} +30 -31
- package/dist/{Select-DlM_C-60.js → Select-MBD4Simw.js} +1 -1
- package/dist/{Single-DYDwq041.js → Single-D6x6VV_B.js} +74 -75
- package/dist/{Statistic-CidgrAcU.js → Statistic-BS_DA72m.js} +29 -30
- package/dist/{Stock-BFszdaCn.js → Stock-CbucObTu.js} +1 -1
- package/dist/{Stock-BiuhsKPB.js → Stock-CtmevqBK.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js → Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js} +17 -18
- package/dist/{Switch-TI8J8-E2.js → Switch-BlXAy9qH.js} +1 -1
- package/dist/{Table-DJOSPNrn.js → Table-CqsfAMh7.js} +73 -74
- package/dist/{Table-DYELgaTY.js → Table-Da9gan1Y.js} +61 -62
- package/dist/Text-C72NLZMt.js +48 -0
- package/dist/Text-CHvsKR9H.js +4 -0
- package/dist/{Text-DEv-wMFU.js → Text-CbZlEVTJ.js} +11 -12
- package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +53 -0
- package/dist/{TextLink-CKPExcuj.js → TextLink-SAnZ7BfX.js} +10 -11
- package/dist/{Textarea-CEv7HYqY.js → Textarea-DphCUpXp.js} +1 -1
- package/dist/{Time-BeTq6Tq3.js → Time-DjE8yYdK.js} +10 -11
- package/dist/{Timeline-BI2o8Kug.js → Timeline-D11vjkpZ.js} +13 -19
- package/dist/{Tree-DlIrY3e2.js → Tree-DK73Ou_F.js} +35 -41
- package/dist/{Tree-BPeNz1X4.js → Tree-kich05vY.js} +79 -80
- package/dist/{TreeNode-CzM6Npi5.js → TreeNode-Dx6cZ31Z.js} +10 -11
- package/dist/{Update-Bv6Lp8LZ.js → Update-D2Plm_AG.js} +14 -15
- package/dist/{UpdateChild-mrF1t5G8.js → UpdateChild-BXV7QqaP.js} +20 -21
- package/dist/{Upload-BCdzJlzR.js → Upload-B87EDynn.js} +46 -47
- package/dist/Upload-CHPjMGFZ.js +65 -0
- package/dist/{Year-DLITl-_8.js → Year-BPFmIiPX.js} +1 -1
- package/dist/{Year-2hJSZcj_.js → Year-C93IJgc8.js} +8 -9
- package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
- package/dist/main-nvsTmKXH.js +16321 -0
- package/dist/main.js +43 -45
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Autocomplete-C7CYy8w6.js +0 -50
- package/dist/Callback-CLA9Ab9q.js +0 -21
- package/dist/Cascader-DY2zOwsa.js +0 -47
- package/dist/Code-B4Z7WuUc.js +0 -42
- package/dist/Code-BOTf1uZ5.js +0 -60
- package/dist/Code-Da4PjT9q.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js +0 -63
- package/dist/Column-9A6-8_Y7.js +0 -75
- package/dist/Dictionary-CAAvUqf-.js +0 -61
- package/dist/Index-CF44rsZW.js +0 -4
- package/dist/Index-CnFjsuQV.js +0 -4
- package/dist/Index-D223MCYD.js +0 -174
- package/dist/Index-DCIDLocj.js +0 -4
- package/dist/Index-qIfIbiFH.js +0 -4
- package/dist/Maintaince-CjUfJUr7.js +0 -20
- package/dist/Month-m0FiTmBK.js +0 -38
- package/dist/Paging-J9vCBFzM.js +0 -93
- package/dist/RichText-D3aLlQph.js +0 -47
- package/dist/Text-DAliAA9U.js +0 -4
- package/dist/Text-Dy6uYSm3.js +0 -49
- package/dist/Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js +0 -59
- package/dist/Upload-B0dBN1oH.js +0 -71
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/main-SNlEeN01.js +0 -10337
@@ -1,14 +1,13 @@
|
|
1
|
-
import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as re, withCtx as C, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as
|
2
|
-
import {
|
3
|
-
import "./
|
4
|
-
import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
|
1
|
+
import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as re, withCtx as C, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as D, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as E } from "vue";
|
2
|
+
import { c as ce, d as h, f as de, a as pe, _ as me, i as ve, A as ge } from "./main-nvsTmKXH.js";
|
3
|
+
import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js";
|
5
4
|
const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"], be = { class: "article-title" }, ke = {
|
6
5
|
key: 0,
|
7
6
|
class: "article-content"
|
8
7
|
}, we = { class: "article-time" }, Ce = {
|
9
8
|
key: 1,
|
10
9
|
class: "article-view-count"
|
11
|
-
}, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"],
|
10
|
+
}, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"], Te = /* @__PURE__ */ le({
|
12
11
|
__name: "Article",
|
13
12
|
props: {
|
14
13
|
searchData: {},
|
@@ -20,32 +19,32 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
20
19
|
set: {}
|
21
20
|
},
|
22
21
|
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
23
|
-
setup(
|
24
|
-
let p =
|
22
|
+
setup(M, { expose: N, emit: U }) {
|
23
|
+
let p = U, A = M, { module: K, schema: F, table: n, layout: r, next: m, set: R, searchData: P } = oe(A), x = c(), y = c(), $ = c(), B = c(), H = c();
|
25
24
|
c({ layout: "prev, pager, next", count: 5 });
|
26
25
|
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), z = (t) => {
|
27
|
-
|
28
|
-
},
|
29
|
-
|
26
|
+
g("insert", null, t);
|
27
|
+
}, j = (t, l) => {
|
28
|
+
g("detail", t, l);
|
30
29
|
}, L = (t, l) => {
|
31
|
-
|
30
|
+
g("update", t, l);
|
32
31
|
}, q = (t, l) => {
|
33
|
-
|
32
|
+
g("copy", t, l);
|
34
33
|
}, G = (t, l) => {
|
35
|
-
|
34
|
+
g("delete", t, l);
|
36
35
|
}, I = (t) => {
|
37
36
|
let l = t.map((s) => s[n.value.key.name]);
|
38
37
|
me.post(m.value.delete.route, l).then((s) => {
|
39
|
-
|
38
|
+
ve.success(s.message), T();
|
40
39
|
});
|
41
|
-
},
|
42
|
-
let
|
43
|
-
s.ctrlKey ? (o.value.row = null, p("navigate",
|
40
|
+
}, g = (t, l, s) => {
|
41
|
+
let v = S(t, l);
|
42
|
+
s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
|
44
43
|
}, S = (t, l = null) => {
|
45
44
|
let s = `${m.value[t].route}`;
|
46
45
|
if (l != null) {
|
47
|
-
let
|
48
|
-
s += `?id=${
|
46
|
+
let v = l[n.value.key.name];
|
47
|
+
s += `?id=${v}`;
|
49
48
|
}
|
50
49
|
return s;
|
51
50
|
}, J = () => {
|
@@ -61,7 +60,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
61
60
|
}, X = () => {
|
62
61
|
V();
|
63
62
|
}, Y = (t, l) => {
|
64
|
-
|
63
|
+
ge.triggerKeyboardHandler(H.value, t, l);
|
65
64
|
}, Z = (t) => {
|
66
65
|
V();
|
67
66
|
}, V = () => {
|
@@ -76,8 +75,8 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
76
75
|
let t = `/${n.value.name}/article-footer`;
|
77
76
|
return ce.getComponent(t, "partial", "article-footer");
|
78
77
|
});
|
79
|
-
return
|
80
|
-
const s = b("el-scrollbar"),
|
78
|
+
return N({ keyboardHandler: Y, resize: Z }), (t, l) => {
|
79
|
+
const s = b("el-scrollbar"), v = b("el-pagination"), te = b("el-drawer");
|
81
80
|
return u(), f("div", {
|
82
81
|
ref_key: "pagingRef",
|
83
82
|
ref: x,
|
@@ -87,10 +86,10 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
87
86
|
key: 0,
|
88
87
|
ref_key: "searchRef",
|
89
88
|
ref: y,
|
90
|
-
schema: e(
|
89
|
+
schema: e(F),
|
91
90
|
table: e(n),
|
92
91
|
layout: e(r),
|
93
|
-
"search-data": e(
|
92
|
+
"search-data": e(P),
|
94
93
|
onSubmit: e(W),
|
95
94
|
onMounted: e(X)
|
96
95
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
@@ -103,7 +102,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
103
102
|
(u(!0), f(se, null, ie(e(R)[e(n).name], (a) => (u(), f("a", {
|
104
103
|
class: "article",
|
105
104
|
href: `${e(m).detail.route}?id=${a[e(n).key.name]}`,
|
106
|
-
onClick:
|
105
|
+
onClick: D((Be) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
|
107
106
|
key: a[e(n).key.name]
|
108
107
|
}, [
|
109
108
|
i("img", {
|
@@ -119,7 +118,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
119
118
|
next: e(m),
|
120
119
|
set: e(R),
|
121
120
|
row: a,
|
122
|
-
onPreview: e(
|
121
|
+
onPreview: e(j),
|
123
122
|
onEdit: e(L),
|
124
123
|
onCopy: e(q),
|
125
124
|
onBeforeRemove: e(G),
|
@@ -129,14 +128,14 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
129
128
|
i("a", {
|
130
129
|
href: e(S)("insert"),
|
131
130
|
class: "article-add",
|
132
|
-
onClick: l[0] || (l[0] =
|
131
|
+
onClick: l[0] || (l[0] = D(
|
133
132
|
//@ts-ignore
|
134
133
|
(...a) => e(z) && e(z)(...a),
|
135
134
|
["prevent"]
|
136
135
|
))
|
137
136
|
}, [
|
138
137
|
l[2] || (l[2] = i("i", { class: "fa fa-plus" }, null, -1)),
|
139
|
-
|
138
|
+
E(" 添加新" + d(e(n).title), 1)
|
140
139
|
], 8, Re)
|
141
140
|
])
|
142
141
|
]),
|
@@ -147,7 +146,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
147
146
|
ref: $,
|
148
147
|
class: "article-bottom"
|
149
148
|
}, [
|
150
|
-
w(
|
149
|
+
w(v, {
|
151
150
|
background: "",
|
152
151
|
layout: "total, prev, pager, next, jumper",
|
153
152
|
"current-page": e(r).page,
|
@@ -160,13 +159,13 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
160
159
|
key: 1,
|
161
160
|
"destroy-on-close": "",
|
162
161
|
"append-to-body": e(o).appendToBody,
|
163
|
-
size: `${e(
|
162
|
+
size: `${e(K).width ?? "60%"}`,
|
164
163
|
modelValue: e(o).visible,
|
165
164
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
166
165
|
}, {
|
167
166
|
header: C(() => [
|
168
167
|
i("div", xe, [
|
169
|
-
|
168
|
+
E(d(e(m)[e(o).page].title) + " ", 1),
|
170
169
|
i("a", {
|
171
170
|
class: "drawer-copy",
|
172
171
|
href: e(h).url.getToUrl(e(o).url)
|
@@ -189,5 +188,5 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
189
188
|
}
|
190
189
|
});
|
191
190
|
export {
|
192
|
-
|
191
|
+
Te as default
|
193
192
|
};
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as m, unref as e, withModifiers as p, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
|
2
|
-
import {
|
3
|
-
|
4
|
-
const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
2
|
+
import { f as a } from "./main-nvsTmKXH.js";
|
3
|
+
const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
|
5
4
|
__name: "ArticleFooter",
|
6
5
|
props: {
|
7
6
|
table: {},
|
@@ -76,5 +75,5 @@ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
|
76
75
|
}
|
77
76
|
});
|
78
77
|
export {
|
79
|
-
|
78
|
+
j as default
|
80
79
|
};
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as o, isRef as B } from "vue";
|
2
|
+
import { h as R, d as w, _ as A } from "./main-nvsTmKXH.js";
|
3
|
+
const q = /* @__PURE__ */ v({
|
4
|
+
__name: "Autocomplete",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(d, { emit: p }) {
|
15
|
+
let m = p, c = d, { table: i, field: r, set: I, modelValue: f } = _(c), a = V([]), g = null, h = (l, e) => {
|
16
|
+
if (a.value.length) {
|
17
|
+
let t = a.value.filter((s) => w.string.containsIgnoreCase(l, s.value));
|
18
|
+
e(t);
|
19
|
+
return;
|
20
|
+
}
|
21
|
+
let u = { text: g, conditions: [] };
|
22
|
+
A.post(r.value.control.data.route, u).then(({ data: t }) => {
|
23
|
+
a.value = t.map((s) => ({ value: s.text })), e(a.value);
|
24
|
+
}).catch(() => {
|
25
|
+
e([]);
|
26
|
+
});
|
27
|
+
}, n = x({
|
28
|
+
get() {
|
29
|
+
return f.value;
|
30
|
+
},
|
31
|
+
set(l) {
|
32
|
+
m("update:modelValue", l), m("change", l);
|
33
|
+
}
|
34
|
+
});
|
35
|
+
return (l, e) => {
|
36
|
+
const u = C("el-autocomplete");
|
37
|
+
return b(), k(u, {
|
38
|
+
clearable: "",
|
39
|
+
placeholder: o(R)(o(i).name, o(r).name),
|
40
|
+
"fetch-suggestions": o(h),
|
41
|
+
modelValue: o(n),
|
42
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => B(n) ? n.value = t : n = t)
|
43
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
44
|
+
};
|
45
|
+
}
|
46
|
+
});
|
47
|
+
export {
|
48
|
+
q as default
|
49
|
+
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const w = /* @__PURE__ */ _({
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
|
2
|
+
import { h as D, d as R, _ as A } from "./main-nvsTmKXH.js";
|
3
|
+
const q = /* @__PURE__ */ v({
|
5
4
|
__name: "Autocomplete",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -11,15 +10,15 @@ const w = /* @__PURE__ */ _({
|
|
11
10
|
modelValue: {}
|
12
11
|
},
|
13
12
|
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(
|
15
|
-
let s =
|
13
|
+
setup(d, { emit: p }) {
|
14
|
+
let s = p, c = d, { table: i, field: m, searchData: I, modelValue: f } = _(c), o = V([]), h = null, g = (l, e) => {
|
16
15
|
if (o.value.length) {
|
17
|
-
let t = o.value.filter((r) =>
|
16
|
+
let t = o.value.filter((r) => R.string.containsIgnoreCase(l, r.value));
|
18
17
|
e(t);
|
19
18
|
return;
|
20
19
|
}
|
21
20
|
let u = { text: h, conditions: [] };
|
22
|
-
|
21
|
+
A.post(m.value.control.data.route, u).then(({ data: t }) => {
|
23
22
|
o.value = t.map((r) => ({ value: r.text })), e(o.value);
|
24
23
|
}).catch(() => {
|
25
24
|
e([]);
|
@@ -34,16 +33,16 @@ const w = /* @__PURE__ */ _({
|
|
34
33
|
});
|
35
34
|
return (l, e) => {
|
36
35
|
const u = C("el-autocomplete");
|
37
|
-
return
|
36
|
+
return b(), k(u, {
|
38
37
|
clearable: "",
|
39
|
-
placeholder: a(
|
38
|
+
placeholder: a(D)(a(i).name, a(m).name),
|
40
39
|
"fetch-suggestions": a(g),
|
41
40
|
modelValue: a(n),
|
42
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
41
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => B(n) ? n.value = t : n = t)
|
43
42
|
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
44
43
|
};
|
45
44
|
}
|
46
45
|
});
|
47
46
|
export {
|
48
|
-
|
47
|
+
q as default
|
49
48
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let m = i(() => import("./Text-
|
13
|
+
let m = i(() => import("./Text-CHvsKR9H.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
|
14
14
|
return (u, o) => (V(), b(e(m), {
|
15
15
|
schema: u.schema,
|
16
16
|
table: e(r),
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Code-
|
13
|
+
let r = i(() => import("./Code-DIGn8Raz.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { openBlock as e, createElementBlock as r } from "vue";
|
2
|
-
import {
|
2
|
+
import { l as c } from "./main-nvsTmKXH.js";
|
3
3
|
const n = {};
|
4
|
-
function o(t,
|
4
|
+
function o(t, l) {
|
5
5
|
return e(), r("div", null, "日历");
|
6
6
|
}
|
7
|
-
const
|
7
|
+
const f = /* @__PURE__ */ c(n, [["render", o]]);
|
8
8
|
export {
|
9
|
-
|
9
|
+
f as default
|
10
10
|
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { defineComponent as i } from "vue";
|
2
|
+
import { useRouter as o, useRoute as n } from "vue-router";
|
3
|
+
import { i as s, I as u } from "./main-nvsTmKXH.js";
|
4
|
+
const _ = /* @__PURE__ */ i({
|
5
|
+
__name: "Callback",
|
6
|
+
setup(a) {
|
7
|
+
let r = o(), t = n().query;
|
8
|
+
return (async () => {
|
9
|
+
if (!t.type) {
|
10
|
+
s.error("缺失type参数");
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
let e = await u.sso.createAsync(t.type.toString());
|
14
|
+
t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
|
15
|
+
})(), (e, y) => " 登录完毕,处理回调中... ";
|
16
|
+
}
|
17
|
+
});
|
18
|
+
export {
|
19
|
+
_ as default
|
20
|
+
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as d, renderList as m, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
+
import { d as B } from "./main-nvsTmKXH.js";
|
3
|
+
const C = { class: "text-cascader" }, S = {
|
4
|
+
key: 0,
|
5
|
+
class: "cascader-seperator"
|
6
|
+
}, I = /* @__PURE__ */ y({
|
7
|
+
__name: "Cascader",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change"],
|
17
|
+
setup(_, { emit: V }) {
|
18
|
+
let v = _, { table: w, field: s, set: E, row: z, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
19
|
+
if (u.value.length > 0) {
|
20
|
+
let i = s.value.control.data.data, n = [];
|
21
|
+
return u.value.forEach((r) => {
|
22
|
+
let l = B.tree.getParentsById(r, "value", i, "children", !0);
|
23
|
+
l.length > 0 && n.push(l);
|
24
|
+
}), n;
|
25
|
+
}
|
26
|
+
return [];
|
27
|
+
});
|
28
|
+
return (i, n) => (e(), t("div", C, [
|
29
|
+
(e(!0), t(d, null, m(f(c), (r, l) => (e(), t("span", null, [
|
30
|
+
(e(!0), t(d, null, m(r, (o, g) => (e(), t("span", {
|
31
|
+
style: x({ color: o.color }),
|
32
|
+
key: o.value
|
33
|
+
}, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
34
|
+
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
35
|
+
]))), 256))
|
36
|
+
]));
|
37
|
+
}
|
38
|
+
});
|
39
|
+
export {
|
40
|
+
I as default
|
41
|
+
};
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as
|
2
|
-
import {
|
3
|
-
import "./assets/moment-h96o7c8I.js";
|
1
|
+
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as D, unref as a, isRef as I, withCtx as P, createElementVNode as j, createTextVNode as q, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
+
import { k as T, d as h, _ as U } from "./main-nvsTmKXH.js";
|
4
3
|
const z = {
|
5
4
|
key: 0,
|
6
5
|
class: "cascader-suffix"
|
7
6
|
}, A = {
|
8
7
|
key: 0,
|
9
8
|
class: "cascader-length"
|
10
|
-
},
|
9
|
+
}, K = /* @__PURE__ */ E({
|
11
10
|
__name: "Cascader",
|
12
11
|
props: {
|
13
12
|
schema: {},
|
@@ -19,58 +18,58 @@ const z = {
|
|
19
18
|
},
|
20
19
|
emits: ["submit", "change", "update:modelValue"],
|
21
20
|
setup(v, { emit: g }) {
|
22
|
-
let d = g,
|
23
|
-
|
21
|
+
let d = g, V = v, { table: _, field: t, set: F, row: G, modelValue: b } = w(V), n = N(), p = null, x = () => {
|
22
|
+
n.value || (n.value = t.value.control.data.data);
|
24
23
|
let e = b.value, l = [];
|
25
24
|
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
|
26
|
-
let o =
|
25
|
+
let o = h.tree.getParentsById(r, "value", n.value, "children", !0);
|
27
26
|
o.length > 0 && l.push(o.map((B) => B.value));
|
28
|
-
}) :
|
27
|
+
}) : h.tree.getParentsById(e, "value", n.value, "children", !0).forEach((r) => {
|
29
28
|
l.push(r.value);
|
30
29
|
}), l;
|
31
|
-
},
|
30
|
+
}, k = (e) => {
|
32
31
|
let l;
|
33
|
-
t.value.control.multiple ? l = e.map((
|
34
|
-
},
|
35
|
-
e && (p = null,
|
36
|
-
},
|
32
|
+
t.value.control.multiple ? l = e.map((s) => s[s.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
|
33
|
+
}, C = (e) => {
|
34
|
+
e && (p = null, y());
|
35
|
+
}, y = () => {
|
37
36
|
let e = { text: p, conditions: [] };
|
38
37
|
t.value.control.data.conditions.forEach((l) => {
|
39
38
|
e.conditions.push({ name: l.name, value: null });
|
40
|
-
}),
|
41
|
-
|
39
|
+
}), U.post(t.value.control.data.route, e).then(({ data: l }) => {
|
40
|
+
n.value = l;
|
42
41
|
});
|
43
42
|
}, u = R({
|
44
43
|
get() {
|
45
44
|
return x();
|
46
45
|
},
|
47
46
|
set(e) {
|
48
|
-
|
47
|
+
k(e);
|
49
48
|
}
|
50
49
|
});
|
51
50
|
return (e, l) => {
|
52
|
-
const
|
53
|
-
return c(),
|
51
|
+
const s = S("el-cascader");
|
52
|
+
return c(), D(s, {
|
54
53
|
ref: "cascaderRef",
|
55
|
-
placeholder: a(
|
54
|
+
placeholder: a(T)(a(_).name, a(t).name),
|
56
55
|
filterable: "",
|
57
56
|
"collapse-tags": "",
|
58
57
|
"collapse-tags-tooltip": "",
|
59
58
|
"max-collapse-tags": 6,
|
60
|
-
options: a(
|
59
|
+
options: a(n),
|
61
60
|
disabled: a(t).readonly,
|
62
61
|
props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
|
63
62
|
clearable: !a(t).control.required,
|
64
|
-
onVisibleChange: a(
|
63
|
+
onVisibleChange: a(C),
|
65
64
|
modelValue: a(u),
|
66
|
-
"onUpdate:modelValue": l[0] || (l[0] = (r) =>
|
65
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => I(u) ? u.value = r : u = r)
|
67
66
|
}, {
|
68
|
-
default:
|
69
|
-
|
70
|
-
|
71
|
-
o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) :
|
67
|
+
default: P(({ node: r, data: o }) => [
|
68
|
+
j("span", null, [
|
69
|
+
q(i(o.text), 1),
|
70
|
+
o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) : f("", !0)
|
72
71
|
]),
|
73
|
-
o.children ? (c(), m("span", A, i(o.children.length), 1)) :
|
72
|
+
o.children ? (c(), m("span", A, i(o.children.length), 1)) : f("", !0)
|
74
73
|
]),
|
75
74
|
_: 1
|
76
75
|
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
@@ -78,5 +77,5 @@ const z = {
|
|
78
77
|
}
|
79
78
|
});
|
80
79
|
export {
|
81
|
-
|
80
|
+
K as default
|
82
81
|
};
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = u(() => import("./Dictionary-
|
13
|
+
let r = u(() => import("./Dictionary-Esd3ERAq.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as N, toRefs as w, ref as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__PURE__ */ N({
|
1
|
+
import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as f, openBlock as s, createElementBlock as g, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
|
2
|
+
import { f as D } from "./main-nvsTmKXH.js";
|
3
|
+
const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__PURE__ */ N({
|
5
4
|
__name: "Checkbox",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -13,35 +12,35 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__P
|
|
13
12
|
},
|
14
13
|
emits: ["change", "update:modelValue"],
|
15
14
|
setup(x, { emit: b }) {
|
16
|
-
let
|
15
|
+
let i = b, C = x, { field: r, table: T, set: j, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
|
17
16
|
o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
|
18
17
|
}, B = (n) => {
|
19
18
|
let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
|
20
19
|
u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
|
21
20
|
}, o = A({
|
22
21
|
get() {
|
23
|
-
return
|
22
|
+
return h.value ? h.value.split(",") : [];
|
24
23
|
},
|
25
24
|
set(n) {
|
26
25
|
let e = n.toString();
|
27
|
-
|
26
|
+
i("update:modelValue", e), i("change", e);
|
28
27
|
}
|
29
28
|
});
|
30
29
|
return (n, e) => {
|
31
|
-
const a =
|
32
|
-
return
|
30
|
+
const a = f("el-checkbox"), d = f("el-checkbox-group");
|
31
|
+
return s(), g("div", F, [
|
33
32
|
v(d, {
|
34
33
|
onChange: t(B),
|
35
34
|
modelValue: t(o),
|
36
35
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
|
37
36
|
}, {
|
38
|
-
default:
|
39
|
-
(
|
37
|
+
default: m(() => [
|
38
|
+
(s(!0), g(E, null, R(t(r).control.data.data, (l) => (s(), S(a, {
|
40
39
|
disabled: t(r).control.readonly,
|
41
40
|
value: l.value,
|
42
41
|
key: l.value
|
43
42
|
}, {
|
44
|
-
default:
|
43
|
+
default: m(() => [
|
45
44
|
V(k(l.text), 1)
|
46
45
|
]),
|
47
46
|
_: 2
|
@@ -56,7 +55,7 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__P
|
|
56
55
|
modelValue: t(u),
|
57
56
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
|
58
57
|
}, {
|
59
|
-
default:
|
58
|
+
default: m(() => [
|
60
59
|
V(k(t(D)("common.select_all")), 1)
|
61
60
|
]),
|
62
61
|
_: 1
|
@@ -67,5 +66,5 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__P
|
|
67
66
|
}
|
68
67
|
});
|
69
68
|
export {
|
70
|
-
|
69
|
+
G as default
|
71
70
|
};
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
|
2
|
+
import { j as x } from "./main-nvsTmKXH.js";
|
3
|
+
const R = /* @__PURE__ */ b({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(d, { emit: g }) {
|
15
|
+
let s = g, p = d, { table: c, field: a, set: y, row: i, modelValue: f } = h(p), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
16
|
+
let l = m(a.value.control.scrollTop);
|
17
|
+
l && (i.value[l.name] = e);
|
18
|
+
}, V = () => {
|
19
|
+
let e = r(a.value.control.scrollTop);
|
20
|
+
if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
|
21
|
+
o.value.language = a.value.control.language;
|
22
|
+
else {
|
23
|
+
let l = r(a.value.control.languageField);
|
24
|
+
l && (o.value.language = l);
|
25
|
+
}
|
26
|
+
a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${c.value.name}.${a.value.name}`);
|
27
|
+
}, r = (e) => {
|
28
|
+
let l = m(e);
|
29
|
+
return l ? i.value[l.name] : null;
|
30
|
+
}, m = (e) => e ? c.value.fields.find((u) => u.name == e) : null;
|
31
|
+
V();
|
32
|
+
let t = T({
|
33
|
+
get() {
|
34
|
+
return f.value ?? "";
|
35
|
+
},
|
36
|
+
set(e) {
|
37
|
+
s("update:modelValue", e), s("change", e);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
return _(() => r(a.value.control.languageField), (e, l) => {
|
41
|
+
o.value.language = e;
|
42
|
+
}), (e, l) => (w(), N(n(x), {
|
43
|
+
class: "control-code",
|
44
|
+
border: "",
|
45
|
+
options: n(o),
|
46
|
+
onScroll: n(v),
|
47
|
+
modelValue: n(t),
|
48
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
|
49
|
+
}, null, 8, ["options", "onScroll", "modelValue"]));
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
R as default
|
54
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
|
2
|
-
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-hHYTH50F.js";
|
3
3
|
const b = /* @__PURE__ */ r({
|
4
4
|
__name: "Code",
|
5
5
|
props: {
|