halo-pc 1.0.40 → 1.0.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CqtkXVmQ.js → Article-BMW_FzdK.js} +32 -31
- package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-7iPkMQaX.js} +13 -12
- package/dist/Autocomplete-B6Mwp9rT.js +50 -0
- package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-C-El55Lz.js} +1 -1
- package/dist/{Autocomplete-LQiKcvz1.js → Autocomplete-PZTjEBIx.js} +11 -10
- package/dist/{CSharp-BIFRQLaK.js → CSharp-BQUrQwua.js} +1 -1
- package/dist/{Calender-DPNTn-S4.js → Calender-CJXR7uhM.js} +2 -2
- package/dist/Callback-CyDW9WU2.js +21 -0
- package/dist/{Cascader-Vhc81TDV.js → Cascader-CFc_8QSm.js} +18 -17
- package/dist/Cascader-DMQjalNv.js +47 -0
- package/dist/{Checkbox-D9Sp6ZGQ.js → Checkbox-aU8e779g.js} +12 -11
- package/dist/{Checkbox-CIim5NiB.js → Checkbox-pV01os-T.js} +1 -1
- package/dist/Code-C0Kxulod.js +4 -0
- package/dist/Code-C4pIa8BE.js +60 -0
- package/dist/Code-CCJx9RSm.js +42 -0
- package/dist/{Code-yDKaH1uF.js → Code-kDBbVC1W.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-36NN7tgP.js +65 -0
- package/dist/Column-BebDf5Z9.js +75 -0
- package/dist/{Comment-tU2wBvGO.js → Comment-BgfD9WtL.js} +25 -19
- package/dist/{Compare-DqvGyQWA.js → Compare-BZucuvFP.js} +9 -8
- package/dist/{Compare-D7Gz-lE9.js → Compare-D-Byn_Gq.js} +11 -10
- package/dist/Copy-DW4jSNQi.js +44 -0
- package/dist/Custom-DIF-RYi3.js +55 -0
- package/dist/{DataExport-BDftKI0U.js → DataExport-CyQy2xjO.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +28 -27
- package/dist/{DataImport-CRYaaQfA.js → DataImport-BVF83UsQ.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +31 -30
- package/dist/{Date-Dlh1_S7p.js → Date-CqpFvbYZ.js} +1 -1
- package/dist/{Date-DPPiYLWw.js → Date-g1XKWU4b.js} +8 -7
- package/dist/{DateRange-BgF_T3ls.js → DateRange-B2afkdbT.js} +6 -5
- package/dist/{DateTime-DP-VfmtN.js → DateTime-D_x_wBZR.js} +8 -7
- package/dist/{DateTime-CNjPeK9t.js → DateTime-Zi3vtH77.js} +1 -1
- package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BFWM_U7H.js} +10 -9
- package/dist/{Daterange-DHVjhrK9.js → Daterange-tXA0b0Ak.js} +5 -4
- package/dist/{Decimal-BDEWVSsK.js → Decimal-DKQ38XS_.js} +1 -1
- package/dist/{Delete-Bl0GmthL.js → Delete-BOkBpAGN.js} +20 -19
- package/dist/{Detail-BozyhOTt.js → Detail-SWgERqKG.js} +11 -10
- package/dist/{Dictionary-CJwZPQz6.js → Dictionary-Xsj_Qorw.js} +15 -9
- package/dist/{Email-D5X1SzuJ.js → Email-DILPnLkb.js} +12 -11
- package/dist/{File-DixK0K7p.js → File-BDUTK7hV.js} +40 -39
- package/dist/Image-Yx3ZHHJK.js +9 -0
- package/dist/Index-BTa4YIN9.js +174 -0
- package/dist/Index-BWukqxQl.js +4 -0
- package/dist/Index-BahY1OIJ.js +4 -0
- package/dist/Index-C9ffFYsl.js +4 -0
- package/dist/{Index-j15c7lwJ.js → Index-CiQQmYeA.js} +1 -1
- package/dist/Index-DG7Hovsx.js +4 -0
- package/dist/{Index-D2FOeoNQ.js → Index-DeYqTT9Q.js} +1 -1
- package/dist/{Index-DbXgnBz6.js → Index-WVLyjyqt.js} +16 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +13 -12
- package/dist/{Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js} +21 -15
- package/dist/{Install-WR3b4IfI.js → Install-DW5uDsXF.js} +14 -13
- package/dist/{Int-GGWiUqO2.js → Int-BM4sbZvh.js} +14 -13
- package/dist/{Int-CWsDtoxE.js → Int-BrFE_Hmm.js} +10 -9
- package/dist/List-DWjTqrJR.js +72 -0
- package/dist/Maintaince-DF3nu9Jd.js +20 -0
- package/dist/{Markdown-nVfQs7kc.js → Markdown-BC8l7O_U.js} +1 -1
- package/dist/{Month-CxKMP4kO.js → Month-DRa9o-WC.js} +1 -1
- package/dist/{Month-DnYlAi7k.js → Month-QG6OiiLU.js} +11 -10
- package/dist/Month-Y0kLXgV7.js +38 -0
- package/dist/{Normal-RcqEyIFN.js → Normal-CSy3DFPH.js} +50 -49
- package/dist/{Paging-DrdGzxeP.js → Paging-BYccIXmC.js} +43 -42
- package/dist/{PagingHeader-C8UpM9Kj.js → PagingHeader-U-oJ1TQE.js} +16 -15
- package/dist/{PagingRow-oQWCofO4.js → PagingRow-BmokRXX3.js} +14 -13
- package/dist/{Racebar-CvoF2ySW.js → Racebar-BvFHNGb8.js} +28 -22
- package/dist/{Radio-DhjfkC14.js → Radio-CjfXrTOE.js} +1 -1
- package/dist/{Register-B0Vx60wY.js → Register-BG-3_Q2E.js} +55 -54
- package/dist/RichText-C88f59ao.js +47 -0
- package/dist/{SearchForm-BHVnQaSL.js → SearchForm-C0zqD7UP.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +46 -45
- package/dist/{SearchHeader-C9yovXli.js → SearchHeader-e2LOidgU.js} +1 -1
- package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js} +1 -1
- package/dist/{Select-vgwpegBi.js → Select-CfIvGDPS.js} +21 -20
- package/dist/{Select-CX4i5KPQ.js → Select-CvP_zGxM.js} +1 -1
- package/dist/{Select-BDoCqD3I.js → Select-Cz6MPDCC.js} +11 -10
- package/dist/{Single-C3629BdC.js → Single-p-8OfzhQ.js} +101 -100
- package/dist/{Statistic-WPezAlUn.js → Statistic-BIKfbZCI.js} +32 -31
- package/dist/{Stock-EPM3j2f_.js → Stock-B7RP-SuF.js} +1 -1
- package/dist/{Stock-BD5Acf8y.js → Stock-BhOP8J0c.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +20 -19
- package/dist/{Switch-B0XN4K-9.js → Switch-BcDhe4_E.js} +1 -1
- package/dist/{Table-BklK1hSh.js → Table-Cy7FarYr.js} +71 -70
- package/dist/{Table-JFdOXuME.js → Table-DK-TaejU.js} +58 -57
- package/dist/Text-B580p9od.js +49 -0
- package/dist/Text-D89aQLxL.js +4 -0
- package/dist/{Text-DrJkdxZF.js → Text-YNB0It4-.js} +13 -12
- package/dist/Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js +59 -0
- package/dist/{TextLink-BnijIoEJ.js → TextLink-CI-AIgdm.js} +9 -8
- package/dist/{Textarea-3SWLqQvO.js → Textarea-86C9lCtg.js} +1 -1
- package/dist/{Time-C3qlNZkJ.js → Time-BgArfSc6.js} +10 -9
- package/dist/{Timeline-B6hUIYhL.js → Timeline-O_jWjdxT.js} +19 -13
- package/dist/{Tree-JexLPBXX.js → Tree-BfFRW-xZ.js} +41 -35
- package/dist/{Tree-DBvFF4Rj.js → Tree-DayADkaC.js} +73 -72
- package/dist/{TreeNode-BOWB2WN9.js → TreeNode-BZp8w6M5.js} +10 -9
- package/dist/{Update-CDLYYwgj.js → Update-Bcdz87R4.js} +6 -5
- package/dist/{UpdateChild-DUG7pAuO.js → UpdateChild-YzPMnj_r.js} +20 -19
- package/dist/{Upload-B2hbxDsT.js → Upload-DU5VOqXj.js} +47 -46
- package/dist/Upload-Dj5nSsug.js +71 -0
- package/dist/{Year-BUF60NmB.js → Year-B3E0kOiA.js} +8 -7
- package/dist/{Year-BRsJ7b1J.js → Year-CcbzIuwy.js} +1 -1
- package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -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/main-DxH9UW19.js +10723 -0
- package/dist/main.js +60 -59
- package/dist/style.css +1 -1
- package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
- package/package.json +1 -1
- package/dist/Autocomplete-BfhYwZ5G.js +0 -49
- package/dist/Callback-Ci5KrWOC.js +0 -20
- package/dist/Cascader-CnOEgPDf.js +0 -41
- package/dist/Code-BEjqqeFZ.js +0 -54
- package/dist/Code-BSrEPuXk.js +0 -4
- package/dist/Code-Dp1-k8sW.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
- package/dist/Column-B0ViSver.js +0 -69
- package/dist/Copy-Dm1LH9qB.js +0 -43
- package/dist/Custom-CLKAPWEo.js +0 -49
- package/dist/Image-BrelhCGo.js +0 -9
- package/dist/Index-BeM6hKX9.js +0 -4
- package/dist/Index-BkfLyqpm.js +0 -173
- package/dist/Index-D8UVsXwf.js +0 -4
- package/dist/Index-FL-dxfFB.js +0 -4
- package/dist/Index-fWOqfFkG.js +0 -4
- package/dist/List-kRCsHp6d.js +0 -71
- package/dist/Maintaince-BG8MUi3A.js +0 -14
- package/dist/Month-B1icZmL4.js +0 -37
- package/dist/RichText-4wrLw9cy.js +0 -41
- package/dist/Text-CNtHdodK.js +0 -4
- package/dist/Text-KAuEjP7I.js +0 -48
- package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
- package/dist/Upload-mlk6Y4Po.js +0 -65
- package/dist/main-DymfKjqO.js +0 -16480
@@ -1,13 +1,14 @@
|
|
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
|
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 U, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as D } from "vue";
|
2
|
+
import { f as ce, U as h, t as de, b as pe, h as me, a as ge, m as ve } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js";
|
4
5
|
const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"], be = { class: "article-title" }, ke = {
|
5
6
|
key: 0,
|
6
7
|
class: "article-content"
|
7
8
|
}, we = { class: "article-time" }, Ce = {
|
8
9
|
key: 1,
|
9
10
|
class: "article-view-count"
|
10
|
-
}, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"],
|
11
|
+
}, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"], He = /* @__PURE__ */ le({
|
11
12
|
__name: "Article",
|
12
13
|
props: {
|
13
14
|
searchData: {},
|
@@ -21,32 +22,32 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
21
22
|
win: {}
|
22
23
|
},
|
23
24
|
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
24
|
-
setup(
|
25
|
-
let p =
|
25
|
+
setup(E, { expose: K, emit: M }) {
|
26
|
+
let p = M, N = E, { module: F, schema: P, table: n, layout: r, next: m, set: R, searchData: j } = oe(N), x = c(), y = c(), $ = c(), B = c(), z = c();
|
26
27
|
c({ layout: "prev, pager, next", count: 5 });
|
27
|
-
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }),
|
28
|
-
|
28
|
+
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
|
29
|
+
v("insert", null, t);
|
29
30
|
}, A = (t, l) => {
|
30
|
-
|
31
|
+
v("detail", t, l);
|
31
32
|
}, L = (t, l) => {
|
32
|
-
|
33
|
+
v("update", t, l);
|
33
34
|
}, q = (t, l) => {
|
34
|
-
|
35
|
+
v("copy", t, l);
|
35
36
|
}, G = (t, l) => {
|
36
|
-
|
37
|
+
v("delete", t, l);
|
37
38
|
}, I = (t) => {
|
38
39
|
let l = t.map((s) => s[n.value.key.name]);
|
39
40
|
me.post(m.value.delete.route, l).then((s) => {
|
40
|
-
|
41
|
+
ge.success(s.message), V();
|
41
42
|
});
|
42
|
-
},
|
43
|
-
let
|
44
|
-
s.ctrlKey ? (o.value.row = null, p("navigate",
|
43
|
+
}, v = (t, l, s) => {
|
44
|
+
let g = T(t, l);
|
45
|
+
s.ctrlKey ? (o.value.row = null, p("navigate", g)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = g, o.value.row = l, o.value.visible = !0);
|
45
46
|
}, T = (t, l = null) => {
|
46
47
|
let s = `${m.value[t].route}`;
|
47
48
|
if (l != null) {
|
48
|
-
let
|
49
|
-
s += `?id=${
|
49
|
+
let g = l[n.value.key.name];
|
50
|
+
s += `?id=${g}`;
|
50
51
|
}
|
51
52
|
return s;
|
52
53
|
}, J = () => {
|
@@ -62,14 +63,14 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
62
63
|
}, X = () => {
|
63
64
|
H();
|
64
65
|
}, Y = (t, l) => {
|
65
|
-
|
66
|
+
ve.triggerKeyboard(z.value, t, l);
|
66
67
|
}, Z = (t) => {
|
67
68
|
H();
|
68
69
|
}, H = () => {
|
69
70
|
if (y.value == null)
|
70
71
|
return;
|
71
72
|
let t = h.dom.getHeight(x.value), l = h.dom.getHeight([y.value.$el, $.value]);
|
72
|
-
|
73
|
+
B.value = t - l;
|
73
74
|
};
|
74
75
|
ae(() => {
|
75
76
|
});
|
@@ -77,8 +78,8 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
77
78
|
let t = `/${n.value.name}/article-footer`;
|
78
79
|
return ce.getComponent(t, "partial", "article-footer");
|
79
80
|
});
|
80
|
-
return
|
81
|
-
const s = b("el-scrollbar"),
|
81
|
+
return K({ onKeyboard: Y, onResize: Z }), (t, l) => {
|
82
|
+
const s = b("el-scrollbar"), g = b("el-pagination"), te = b("el-drawer");
|
82
83
|
return u(), f("div", {
|
83
84
|
ref_key: "pagingRef",
|
84
85
|
ref: x,
|
@@ -97,14 +98,14 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
97
98
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
98
99
|
w(s, {
|
99
100
|
class: "article-scroller",
|
100
|
-
style: re({ height: e(
|
101
|
+
style: re({ height: e(B) + "px" })
|
101
102
|
}, {
|
102
103
|
default: C(() => [
|
103
104
|
i("div", he, [
|
104
105
|
(u(!0), f(se, null, ie(e(R)[e(n).name], (a) => (u(), f("a", {
|
105
106
|
class: "article",
|
106
107
|
href: `${e(m).detail.route}?id=${a[e(n).key.name]}`,
|
107
|
-
onClick:
|
108
|
+
onClick: U((Be) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
|
108
109
|
key: a[e(n).key.name]
|
109
110
|
}, [
|
110
111
|
i("img", {
|
@@ -130,14 +131,14 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
130
131
|
i("a", {
|
131
132
|
href: e(T)("insert"),
|
132
133
|
class: "article-add",
|
133
|
-
onClick: l[0] || (l[0] =
|
134
|
+
onClick: l[0] || (l[0] = U(
|
134
135
|
//@ts-ignore
|
135
|
-
(...a) => e(
|
136
|
+
(...a) => e(S) && e(S)(...a),
|
136
137
|
["prevent"]
|
137
138
|
))
|
138
139
|
}, [
|
139
140
|
l[2] || (l[2] = i("i", { class: "fa fa-plus" }, null, -1)),
|
140
|
-
|
141
|
+
D(" 添加新" + d(e(n).title), 1)
|
141
142
|
], 8, Re)
|
142
143
|
])
|
143
144
|
]),
|
@@ -148,7 +149,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
148
149
|
ref: $,
|
149
150
|
class: "article-bottom"
|
150
151
|
}, [
|
151
|
-
w(
|
152
|
+
w(g, {
|
152
153
|
background: "",
|
153
154
|
layout: "total, prev, pager, next, jumper",
|
154
155
|
"current-page": e(r).page,
|
@@ -167,7 +168,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
167
168
|
}, {
|
168
169
|
header: C(() => [
|
169
170
|
i("div", xe, [
|
170
|
-
|
171
|
+
D(d(e(m)[e(o).page].title) + " ", 1),
|
171
172
|
i("a", {
|
172
173
|
class: "drawer-copy",
|
173
174
|
href: e(h).url.getToUrl(e(o).url)
|
@@ -177,7 +178,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
177
178
|
default: C(() => [
|
178
179
|
w(e(pe), {
|
179
180
|
ref_key: "pageRef",
|
180
|
-
ref:
|
181
|
+
ref: z,
|
181
182
|
url: e(o).url,
|
182
183
|
onSucceed: e(V),
|
183
184
|
onClose: e(J)
|
@@ -190,5 +191,5 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
190
191
|
}
|
191
192
|
});
|
192
193
|
export {
|
193
|
-
|
194
|
+
He as default
|
194
195
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as
|
2
|
-
import {
|
3
|
-
|
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 { t as a } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
4
5
|
__name: "ArticleFooter",
|
5
6
|
props: {
|
6
7
|
table: {},
|
@@ -22,29 +23,29 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
|
|
22
23
|
};
|
23
24
|
return (o, t) => {
|
24
25
|
const y = B("el-popconfirm");
|
25
|
-
return r(),
|
26
|
-
e(l).detail ? (r(),
|
26
|
+
return r(), m("div", V, [
|
27
|
+
e(l).detail ? (r(), m("i", {
|
27
28
|
key: 0,
|
28
29
|
class: "fa fa-search-plus btn-icon",
|
29
|
-
onClick: t[0] || (t[0] =
|
30
|
+
onClick: t[0] || (t[0] = p(
|
30
31
|
//@ts-ignore
|
31
32
|
(...n) => e(f) && e(f)(...n),
|
32
33
|
["prevent", "stop"]
|
33
34
|
))
|
34
35
|
})) : s("", !0),
|
35
|
-
e(l).update ? (r(),
|
36
|
+
e(l).update ? (r(), m("i", {
|
36
37
|
key: 1,
|
37
38
|
class: "fa fa-pencil btn-icon",
|
38
|
-
onClick: t[1] || (t[1] =
|
39
|
+
onClick: t[1] || (t[1] = p(
|
39
40
|
//@ts-ignore
|
40
41
|
(...n) => e(u) && e(u)(...n),
|
41
42
|
["prevent", "stop"]
|
42
43
|
))
|
43
44
|
})) : s("", !0),
|
44
|
-
e(l).copy ? (r(),
|
45
|
+
e(l).copy ? (r(), m("i", {
|
45
46
|
key: 2,
|
46
47
|
class: "fa fa-copy btn-icon",
|
47
|
-
onClick: t[2] || (t[2] =
|
48
|
+
onClick: t[2] || (t[2] = p(
|
48
49
|
//@ts-ignore
|
49
50
|
(...n) => e(v) && e(v)(...n),
|
50
51
|
["prevent", "stop"]
|
@@ -61,7 +62,7 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
|
|
61
62
|
reference: N(() => [
|
62
63
|
R("i", {
|
63
64
|
class: "fa fa-trash-alt btn-icon",
|
64
|
-
onClick: t[3] || (t[3] =
|
65
|
+
onClick: t[3] || (t[3] = p(
|
65
66
|
//@ts-ignore
|
66
67
|
(...n) => e(d) && e(d)(...n),
|
67
68
|
["prevent", "stop"]
|
@@ -75,5 +76,5 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
|
|
75
76
|
}
|
76
77
|
});
|
77
78
|
export {
|
78
|
-
|
79
|
+
q as default
|
79
80
|
};
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as o, isRef as k } from "vue";
|
2
|
+
import { l as B, U as R, h as w } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const y = /* @__PURE__ */ _({
|
5
|
+
__name: "Autocomplete",
|
6
|
+
props: {
|
7
|
+
schema: {},
|
8
|
+
table: {},
|
9
|
+
field: {},
|
10
|
+
set: {},
|
11
|
+
row: {},
|
12
|
+
modelValue: {}
|
13
|
+
},
|
14
|
+
emits: ["submit", "change", "update:modelValue"],
|
15
|
+
setup(p, { emit: d }) {
|
16
|
+
let r = d, i = p, { table: c, field: m, set: A, modelValue: f } = v(i), a = V([]), h = null, g = (l, e) => {
|
17
|
+
if (a.value.length) {
|
18
|
+
let t = a.value.filter((s) => R.string.containsIgnoreCase(l, s.value));
|
19
|
+
e(t);
|
20
|
+
return;
|
21
|
+
}
|
22
|
+
let u = { text: h, conditions: [] };
|
23
|
+
w.post(m.value.control.data.route, u).then(({ data: t }) => {
|
24
|
+
a.value = t.map((s) => ({ value: s.text })), e(a.value);
|
25
|
+
}).catch(() => {
|
26
|
+
e([]);
|
27
|
+
});
|
28
|
+
}, n = x({
|
29
|
+
get() {
|
30
|
+
return f.value;
|
31
|
+
},
|
32
|
+
set(l) {
|
33
|
+
r("update:modelValue", l), r("change", l);
|
34
|
+
}
|
35
|
+
});
|
36
|
+
return (l, e) => {
|
37
|
+
const u = C("el-autocomplete");
|
38
|
+
return U(), b(u, {
|
39
|
+
clearable: "",
|
40
|
+
placeholder: o(B)(o(c).name, o(m).name),
|
41
|
+
"fetch-suggestions": o(g),
|
42
|
+
modelValue: o(n),
|
43
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
|
44
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
45
|
+
};
|
46
|
+
}
|
47
|
+
});
|
48
|
+
export {
|
49
|
+
y as default
|
50
|
+
};
|
@@ -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-D89aQLxL.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),
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as a, isRef as k } from "vue";
|
2
|
+
import { l as B, U as D, h as R } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const w = /* @__PURE__ */ _({
|
4
5
|
__name: "Autocomplete",
|
5
6
|
props: {
|
6
7
|
schema: {},
|
@@ -10,10 +11,10 @@ const j = /* @__PURE__ */ v({
|
|
10
11
|
modelValue: {}
|
11
12
|
},
|
12
13
|
emits: ["submit", "change", "update:modelValue"],
|
13
|
-
setup(
|
14
|
-
let s =
|
14
|
+
setup(p, { emit: d }) {
|
15
|
+
let s = d, c = p, { table: i, field: m, searchData: A, modelValue: f } = v(c), o = V([]), h = null, g = (l, e) => {
|
15
16
|
if (o.value.length) {
|
16
|
-
let t = o.value.filter((r) =>
|
17
|
+
let t = o.value.filter((r) => D.string.containsIgnoreCase(l, r.value));
|
17
18
|
e(t);
|
18
19
|
return;
|
19
20
|
}
|
@@ -33,16 +34,16 @@ const j = /* @__PURE__ */ v({
|
|
33
34
|
});
|
34
35
|
return (l, e) => {
|
35
36
|
const u = C("el-autocomplete");
|
36
|
-
return
|
37
|
+
return U(), b(u, {
|
37
38
|
clearable: "",
|
38
|
-
placeholder: a(
|
39
|
+
placeholder: a(B)(a(i).name, a(m).name),
|
39
40
|
"fetch-suggestions": a(g),
|
40
41
|
modelValue: a(n),
|
41
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
42
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
|
42
43
|
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
43
44
|
};
|
44
45
|
}
|
45
46
|
});
|
46
47
|
export {
|
47
|
-
|
48
|
+
w as default
|
48
49
|
};
|
@@ -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-CCJx9RSm.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,7 +1,7 @@
|
|
1
1
|
import { openBlock as e, createElementBlock as r } from "vue";
|
2
|
-
import {
|
2
|
+
import { q as c } from "./main-DxH9UW19.js";
|
3
3
|
const n = {};
|
4
|
-
function o(t,
|
4
|
+
function o(t, _) {
|
5
5
|
return e(), r("div", null, "日历");
|
6
6
|
}
|
7
7
|
const l = /* @__PURE__ */ c(n, [["render", o]]);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { defineComponent as o } from "vue";
|
2
|
+
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
+
import { a as s, N as a } from "./main-DxH9UW19.js";
|
4
|
+
import "./assets/moment-h96o7c8I.js";
|
5
|
+
const f = /* @__PURE__ */ o({
|
6
|
+
__name: "Callback",
|
7
|
+
setup(u) {
|
8
|
+
let r = i(), t = n().query;
|
9
|
+
return (async () => {
|
10
|
+
if (!t.type) {
|
11
|
+
s.error("缺失type参数");
|
12
|
+
return;
|
13
|
+
}
|
14
|
+
let e = await a.sso.createAsync(t.type.toString());
|
15
|
+
t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
|
16
|
+
})(), (e, m) => " 登录完毕,处理回调中... ";
|
17
|
+
}
|
18
|
+
});
|
19
|
+
export {
|
20
|
+
f as default
|
21
|
+
};
|
@@ -1,12 +1,13 @@
|
|
1
|
-
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as
|
2
|
-
import {
|
1
|
+
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as U, unref as a, isRef as D, withCtx as I, createElementVNode as P, createTextVNode as j, toDisplayString as i, createElementBlock as m, createCommentVNode as h } from "vue";
|
2
|
+
import { n as q, U as f, h as T } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
3
4
|
const z = {
|
4
5
|
key: 0,
|
5
6
|
class: "cascader-suffix"
|
6
7
|
}, A = {
|
7
8
|
key: 0,
|
8
9
|
class: "cascader-length"
|
9
|
-
},
|
10
|
+
}, L = /* @__PURE__ */ E({
|
10
11
|
__name: "Cascader",
|
11
12
|
props: {
|
12
13
|
schema: {},
|
@@ -18,26 +19,26 @@ const z = {
|
|
18
19
|
},
|
19
20
|
emits: ["submit", "change", "update:modelValue"],
|
20
21
|
setup(v, { emit: g }) {
|
21
|
-
let d = g,
|
22
|
-
|
22
|
+
let d = g, _ = v, { table: V, field: t, set: F, row: G, modelValue: b } = w(_), s = N(), p = null, x = () => {
|
23
|
+
s.value || (s.value = t.value.control.data.data);
|
23
24
|
let e = b.value, l = [];
|
24
25
|
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
|
25
|
-
let o =
|
26
|
+
let o = f.tree.getParentsById(r, "value", s.value, "children", !0);
|
26
27
|
o.length > 0 && l.push(o.map((B) => B.value));
|
27
|
-
}) :
|
28
|
+
}) : f.tree.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
|
28
29
|
l.push(r.value);
|
29
30
|
}), l;
|
30
31
|
}, C = (e) => {
|
31
32
|
let l;
|
32
|
-
t.value.control.multiple ? l = e.map((
|
33
|
+
t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
|
33
34
|
}, y = (e) => {
|
34
35
|
e && (p = null, k());
|
35
36
|
}, k = () => {
|
36
37
|
let e = { text: p, conditions: [] };
|
37
38
|
t.value.control.data.conditions.forEach((l) => {
|
38
39
|
e.conditions.push({ name: l.name, value: null });
|
39
|
-
}),
|
40
|
-
|
40
|
+
}), T.post(t.value.control.data.route, e).then(({ data: l }) => {
|
41
|
+
s.value = l;
|
41
42
|
});
|
42
43
|
}, u = R({
|
43
44
|
get() {
|
@@ -48,15 +49,15 @@ const z = {
|
|
48
49
|
}
|
49
50
|
});
|
50
51
|
return (e, l) => {
|
51
|
-
const
|
52
|
-
return c(),
|
52
|
+
const n = S("el-cascader");
|
53
|
+
return c(), U(n, {
|
53
54
|
ref: "cascaderRef",
|
54
|
-
placeholder: a(q)(a(
|
55
|
+
placeholder: a(q)(a(V).name, a(t).name),
|
55
56
|
filterable: "",
|
56
57
|
"collapse-tags": "",
|
57
58
|
"collapse-tags-tooltip": "",
|
58
59
|
"max-collapse-tags": 6,
|
59
|
-
options: a(
|
60
|
+
options: a(s),
|
60
61
|
disabled: a(t).readonly,
|
61
62
|
props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
|
62
63
|
clearable: !a(t).control.required,
|
@@ -67,9 +68,9 @@ const z = {
|
|
67
68
|
default: I(({ node: r, data: o }) => [
|
68
69
|
P("span", null, [
|
69
70
|
j(i(o.text), 1),
|
70
|
-
o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) :
|
71
|
+
o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) : h("", !0)
|
71
72
|
]),
|
72
|
-
o.children ? (c(), m("span", A, i(o.children.length), 1)) :
|
73
|
+
o.children ? (c(), m("span", A, i(o.children.length), 1)) : h("", !0)
|
73
74
|
]),
|
74
75
|
_: 1
|
75
76
|
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
@@ -77,5 +78,5 @@ const z = {
|
|
77
78
|
}
|
78
79
|
});
|
79
80
|
export {
|
80
|
-
|
81
|
+
L as default
|
81
82
|
};
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
+
import { U as B } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.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";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
const C = { class: "text-cascader" }, S = {
|
10
|
+
key: 0,
|
11
|
+
class: "cascader-seperator"
|
12
|
+
}, j = /* @__PURE__ */ y({
|
13
|
+
__name: "Cascader",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
set: {},
|
19
|
+
row: {},
|
20
|
+
modelValue: {}
|
21
|
+
},
|
22
|
+
emits: ["submit", "change"],
|
23
|
+
setup(_, { emit: V }) {
|
24
|
+
let v = _, { table: w, field: s, set: E, row: U, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
|
25
|
+
if (u.value.length > 0) {
|
26
|
+
let p = s.value.control.data.data, a = [];
|
27
|
+
return u.value.forEach((r) => {
|
28
|
+
let l = B.tree.getParentsById(r, "value", p, "children", !0);
|
29
|
+
l.length > 0 && a.push(l);
|
30
|
+
}), a;
|
31
|
+
}
|
32
|
+
return [];
|
33
|
+
});
|
34
|
+
return (p, a) => (e(), t("div", C, [
|
35
|
+
(e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
|
36
|
+
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
37
|
+
style: x({ color: n.color }),
|
38
|
+
key: n.value
|
39
|
+
}, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
40
|
+
l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
41
|
+
]))), 256))
|
42
|
+
]));
|
43
|
+
}
|
44
|
+
});
|
45
|
+
export {
|
46
|
+
j as default
|
47
|
+
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as N, toRefs as w, ref as h, computed as A, resolveComponent as g, openBlock as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as N, toRefs as w, ref as h, computed as A, resolveComponent as g, openBlock as m, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as i, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
|
2
|
+
import { t as D } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__PURE__ */ N({
|
4
5
|
__name: "Checkbox",
|
5
6
|
props: {
|
6
7
|
schema: {},
|
@@ -12,7 +13,7 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
|
|
12
13
|
},
|
13
14
|
emits: ["change", "update:modelValue"],
|
14
15
|
setup(x, { emit: b }) {
|
15
|
-
let
|
16
|
+
let s = b, C = x, { field: r, table: T, set: j, modelValue: p } = w(C), u = h(!1), c = h(!1), y = (n) => {
|
16
17
|
o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
|
17
18
|
}, B = (n) => {
|
18
19
|
let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
|
@@ -23,24 +24,24 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
|
|
23
24
|
},
|
24
25
|
set(n) {
|
25
26
|
let e = n.toString();
|
26
|
-
|
27
|
+
s("update:modelValue", e), s("change", e);
|
27
28
|
}
|
28
29
|
});
|
29
30
|
return (n, e) => {
|
30
31
|
const a = g("el-checkbox"), d = g("el-checkbox-group");
|
31
|
-
return
|
32
|
+
return m(), f("div", F, [
|
32
33
|
v(d, {
|
33
34
|
onChange: t(B),
|
34
35
|
modelValue: t(o),
|
35
36
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
|
36
37
|
}, {
|
37
|
-
default:
|
38
|
-
(
|
38
|
+
default: i(() => [
|
39
|
+
(m(!0), f(E, null, R(t(r).control.data.data, (l) => (m(), S(a, {
|
39
40
|
disabled: t(r).control.readonly,
|
40
41
|
value: l.value,
|
41
42
|
key: l.value
|
42
43
|
}, {
|
43
|
-
default:
|
44
|
+
default: i(() => [
|
44
45
|
V(k(l.text), 1)
|
45
46
|
]),
|
46
47
|
_: 2
|
@@ -55,7 +56,7 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
|
|
55
56
|
modelValue: t(u),
|
56
57
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
|
57
58
|
}, {
|
58
|
-
default:
|
59
|
+
default: i(() => [
|
59
60
|
V(k(t(D)("common.select_all")), 1)
|
60
61
|
]),
|
61
62
|
_: 1
|
@@ -66,5 +67,5 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
|
|
66
67
|
}
|
67
68
|
});
|
68
69
|
export {
|
69
|
-
|
70
|
+
H as default
|
70
71
|
};
|
@@ -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-Xsj_Qorw.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),
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as r, isRef as k } from "vue";
|
2
|
+
import { o as x } from "./main-DxH9UW19.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.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";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
const q = /* @__PURE__ */ b({
|
10
|
+
__name: "Code",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["submit", "change", "update:modelValue"],
|
20
|
+
setup(p, { emit: d }) {
|
21
|
+
let i = d, g = p, { table: s, field: o, set: y, row: m, modelValue: f } = h(g), a = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
22
|
+
let l = c(o.value.control.scrollTop);
|
23
|
+
l && (m.value[l.name] = e);
|
24
|
+
}, V = () => {
|
25
|
+
let e = n(o.value.control.scrollTop);
|
26
|
+
if (e && (a.value.scrollTop = parseInt(e)), a.value.lineNumbers = o.value.control.lineNumbers, o.value.control.languageField == null)
|
27
|
+
a.value.language = o.value.control.language;
|
28
|
+
else {
|
29
|
+
let l = n(o.value.control.languageField);
|
30
|
+
l && (a.value.language = l);
|
31
|
+
}
|
32
|
+
o.value.control.schema && (a.value.schema = o.value.control.schema, a.value.category = `${s.value.name}.${o.value.name}`);
|
33
|
+
}, n = (e) => {
|
34
|
+
let l = c(e);
|
35
|
+
return l ? m.value[l.name] : null;
|
36
|
+
}, c = (e) => e ? s.value.fields.find((t) => t.name == e) : null;
|
37
|
+
V();
|
38
|
+
let u = T({
|
39
|
+
get() {
|
40
|
+
return f.value ?? "";
|
41
|
+
},
|
42
|
+
set(e) {
|
43
|
+
i("update:modelValue", e), i("change", e);
|
44
|
+
}
|
45
|
+
});
|
46
|
+
return _(() => n(o.value.control.languageField), (e, l) => {
|
47
|
+
a.value.language = e;
|
48
|
+
}), (e, l) => (w(), N(r(x), {
|
49
|
+
class: "control-code",
|
50
|
+
border: "",
|
51
|
+
options: r(a),
|
52
|
+
onScroll: r(v),
|
53
|
+
modelValue: r(u),
|
54
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => k(u) ? u.value = t : u = t)
|
55
|
+
}, null, 8, ["options", "onScroll", "modelValue"]));
|
56
|
+
}
|
57
|
+
});
|
58
|
+
export {
|
59
|
+
q as default
|
60
|
+
};
|