halo-pc 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-7pMF1N-k.js → Article-BbJTCOkX.js} +66 -62
- package/dist/{Autocomplete-CEjjKXwo.js → Autocomplete-A0m1RW7z.js} +1 -1
- package/dist/Autocomplete-C3d_yunJ.js +52 -0
- package/dist/Autocomplete-H0_xgWsN.js +53 -0
- package/dist/{CSharp-DatSqpip.js → CSharp-Bwl97exE.js} +1 -1
- package/dist/{Calender-B1HoFiQg.js → Calender-C3vbVYIN.js} +1 -1
- package/dist/Callback-oU2ap8v9.js +24 -0
- package/dist/Cascader-ClSabtOx.js +45 -0
- package/dist/Cascader-DRErYyH6.js +84 -0
- package/dist/{Checkbox-B6IkMrWB.js → Checkbox-BJS0a1NT.js} +1 -1
- package/dist/{Code-SZuIImtp.js → Code-9I77CMRV.js} +1 -1
- package/dist/Code-B2DrYXDa.js +58 -0
- package/dist/Code-BgqGTky1.js +40 -0
- package/dist/Code-Cv1pm18C.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +63 -0
- package/dist/Column-Dgs0SdWX.js +71 -0
- package/dist/Comment-Cy6lpmqk.js +102 -0
- package/dist/Compare-5cTiHEdo.js +30 -0
- package/dist/Compare-CWeuLw9n.js +60 -0
- package/dist/Copy-C6WEtRhC.js +47 -0
- package/dist/Custom-QDHQJoxC.js +53 -0
- package/dist/{DataExport-I9iG4oEo.js → DataExport-BHh7NvbT.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js → DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js} +37 -33
- package/dist/{DataImport-2KtOy-of.js → DataImport-CtBsCyNb.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js → DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js} +59 -55
- package/dist/{Date-PERpDDy_.js → Date-IV1FwqTW.js} +1 -1
- package/dist/{DateRange-BaxHMjcx.js → DateRange-IWmDLSuy.js} +11 -7
- package/dist/{DateTime-B7gHENiu.js → DateTime-Di6sr-tq.js} +1 -1
- package/dist/{DateTimeRange-yI9Y2qgC.js → DateTimeRange-BNUGYgWf.js} +14 -10
- package/dist/{Daterange-DqvBvK-B.js → Daterange-rrlMT4tD.js} +17 -13
- package/dist/{Decimal-AXwMeqBW.js → Decimal-D9TVQqyS.js} +1 -1
- package/dist/Delete-B-k4PTWk.js +59 -0
- package/dist/{Detail-aWACqVnM.js → Detail-HAblGKTY.js} +20 -16
- package/dist/Dictionary-BUmany6B.js +59 -0
- package/dist/{File--NsXL6XX.js → File-MF1QgEQX.js} +45 -41
- package/dist/{Image-CuwfJLKW.js → Image-Dps_vfcZ.js} +1 -1
- package/dist/{Index-BNOFdDjW.js → Index-7cTFT9Xb.js} +19 -15
- package/dist/{Index-CQ9S2R9b.js → Index-C_mfWEwr.js} +1 -1
- package/dist/Index-Cgets8DK.js +4 -0
- package/dist/Index-DGnHsBz4.js +4 -0
- package/dist/{Index-Cewv4-Ik.js → Index-DupYRMRj.js} +45 -41
- package/dist/{Index-DA2wAurY.js → Index-XBFHPLbK.js} +1 -1
- package/dist/{Index-Cj79dCuO.js → Index-hgpg_5ma.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js → Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js} +15 -11
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js → Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js} +16 -12
- package/dist/{Index.vue_vue_type_style_index_0_lang-DApNHvNX.js → Index.vue_vue_type_style_index_0_lang-DBERwM_v.js} +31 -27
- package/dist/{Install-BWdNbtVx.js → Install-A9qs4Vg-.js} +20 -16
- package/dist/{Int-nmVkFRqG.js → Int-B3L54Gcc.js} +16 -12
- package/dist/List-Om6OdbbR.js +76 -0
- package/dist/Maintaince-CrfEX-5B.js +19 -0
- package/dist/{Markdown-DD6ufwhM.js → Markdown-wcGRlabe.js} +1 -1
- package/dist/{Month-BqbTFGgo.js → Month-C1tCQKvO.js} +1 -1
- package/dist/{Normal-f4HN1ciI.js → Normal-HoU_elKy.js} +51 -47
- package/dist/Paging-C_StoYuZ.js +94 -0
- package/dist/QueryApi-BrYyIwqV.js +18 -0
- package/dist/{Racebar-Bou-XNCm.js → Racebar-BXuP1N9F.js} +27 -23
- package/dist/{Radio-BmikzeCv.js → Radio-D6W9guyM.js} +1 -1
- package/dist/{Register-CgbRZH9W.js → Register-DGhIjRDD.js} +79 -75
- package/dist/{RichText-BeK3zZam.js → RichText-B3Br1uzj.js} +22 -18
- package/dist/{SearchFooter-C4PeAkaR.js → SearchFooter-D3-9GTr1.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js → SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js} +1 -1
- package/dist/{SearchForm-C7fZiQaW.js → SearchForm-rWozLa4B.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js → SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js} +30 -26
- package/dist/{Select-C1-NVZdG.js → Select-64nQiHNA.js} +21 -17
- package/dist/{Select-DR5fQH0d.js → Select-CAmBUDp3.js} +40 -36
- package/dist/{Select-DlbQvxQu.js → Select-qCdhL7vC.js} +1 -1
- package/dist/{Single-BLRyJKB-.js → Single-Bnrt5Hxb.js} +81 -77
- package/dist/{Statistic-BOtmYiRA.js → Statistic-BTbwlH9l.js} +35 -31
- package/dist/{Stock-Dnwof0R1.js → Stock-Br_02hsI.js} +1 -1
- package/dist/{Stock-BqQ6lM5B.js → Stock-DbExd680.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js → Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js} +26 -22
- package/dist/{Switch-DuMBV0AX.js → Switch-J2GIv4Wa.js} +1 -1
- package/dist/{Table-Be-rPXr_.js → Table-DjBx2UGm.js} +68 -64
- package/dist/{Table-RMVT0hlE.js → Table-X4vTHlpm.js} +52 -48
- package/dist/{Text-DSXRKFPa.js → Text-BFZc81F2.js} +1 -1
- package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +56 -0
- package/dist/TextLink-C_lFWaZv.js +66 -0
- package/dist/{Textarea-3ypOGE1S.js → Textarea-Dw_qLc3Y.js} +1 -1
- package/dist/{Timeline-CLezCcgQ.js → Timeline-DaaRGmGd.js} +21 -17
- package/dist/Tree-CDD2Nd6q.js +121 -0
- package/dist/{Tree-B6RBRT1y.js → Tree-Cmp10DWw.js} +85 -81
- package/dist/TreeNode-BM8-GyIc.js +38 -0
- package/dist/{Update-Dc3Tdkn0.js → Update-PffbXMXH.js} +17 -13
- package/dist/Upload-F6HXe76H.js +71 -0
- package/dist/Upload-kwwpaDe6.js +147 -0
- package/dist/{UploadApi-Bs507D0w.js → UploadApi-D2W_aGKA.js} +8 -3
- package/dist/{Year-DKxOQNyS.js → Year-Dr5ST0Pk.js} +1 -1
- package/dist/main-B8RC13GR.js +6528 -0
- package/dist/main.js +113 -113
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/{vendor-intro.js-DwWqhM1v.js → vendor-intro.js-CZkClzQO.js} +1 -1
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-DVTek3G4.js +1070 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- package/esm/coms/controls/Text.vue.d.ts +1 -1
- package/esm/coms/globals/HaMenu.vue.d.ts +1 -1
- package/esm/coms/globals/HaWindow.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +2 -2
- package/esm/coms/pages/Single.vue.d.ts +2 -2
- package/esm/coms/pagings/Article.vue.d.ts +2 -2
- package/esm/coms/pagings/DataExport.vue.d.ts +2 -2
- package/esm/coms/pagings/DataImport.vue.d.ts +2 -2
- package/esm/coms/pagings/Index.vue.d.ts +2 -2
- package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -2
- package/esm/main.d.ts +4 -3
- package/esm/services/ServiceFactory.d.ts +3 -0
- package/esm/types/PcOptions.d.ts +18 -0
- package/esm/types/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/Autocomplete-DqKo5NiJ.js +0 -49
- package/dist/Autocomplete-K5ipzchR.js +0 -48
- package/dist/Callback-PyCjejiv.js +0 -20
- package/dist/Cascader-B9lLRKjA.js +0 -80
- package/dist/Cascader-BNvlqc5t.js +0 -41
- package/dist/Code-BdK547kD.js +0 -4
- package/dist/Code-DfFF-84i.js +0 -36
- package/dist/Code-LFQVJotC.js +0 -54
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +0 -59
- package/dist/Column-DVjYrrr7.js +0 -67
- package/dist/Comment-Do7Mjpjr.js +0 -98
- package/dist/Compare-C_iDn27Q.js +0 -56
- package/dist/Compare-CrX3yfD4.js +0 -26
- package/dist/Copy-_sbdQvHJ.js +0 -43
- package/dist/Custom-DarpQFG8.js +0 -49
- package/dist/Delete-BY3vAVWa.js +0 -55
- package/dist/Dictionary-DpQuFYQ5.js +0 -55
- package/dist/Index-B_a_HzsB.js +0 -4
- package/dist/Index-Cx2J_P37.js +0 -4
- package/dist/List-BjdY1rMk.js +0 -72
- package/dist/Maintaince-DzYzyrAc.js +0 -15
- package/dist/Paging-BMPtLi8P.js +0 -90
- package/dist/QueryApi-CbP5cCyH.js +0 -13
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +0 -52
- package/dist/TextLink-BZW-y_FS.js +0 -62
- package/dist/Tree-CLpCeirT.js +0 -117
- package/dist/TreeNode-C16N8jqm.js +0 -34
- package/dist/Upload-DvWyjK3a.js +0 -143
- package/dist/Upload-SEu1V1yX.js +0 -67
- package/dist/main-QtNG6p7a.js +0 -16673
- package/dist/vendor-pinia-yrN6kSxh.js +0 -861
- package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
@@ -1,13 +1,17 @@
|
|
1
|
-
import { defineComponent as ae, toRefs as
|
2
|
-
import
|
3
|
-
import
|
1
|
+
import { defineComponent as ae, toRefs as re, ref as c, onMounted as ne, computed as se, resolveComponent as y, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as b, normalizeStyle as ie, withCtx as C, createElementVNode as i, Fragment as ue, renderList as ce, withModifiers as V, toDisplayString as d, resolveDynamicComponent as de, createTextVNode as D } from "vue";
|
2
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import { l as pe, S as U, g as me, p as ge, h as ve, m as fe, D as E } from "./main-B8RC13GR.js";
|
5
|
+
import "xlsx-js-style";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js";
|
4
8
|
const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, Ce = {
|
5
9
|
key: 0,
|
6
10
|
class: "article-content"
|
7
11
|
}, we = { class: "article-time" }, Re = {
|
8
12
|
key: 1,
|
9
13
|
class: "article-view-count"
|
10
|
-
}, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1),
|
14
|
+
}, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), He = { class: "el-drawer__title" }, Se = ["href"], Me = /* @__PURE__ */ ae({
|
11
15
|
__name: "Article",
|
12
16
|
props: {
|
13
17
|
searchData: {},
|
@@ -19,37 +23,37 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
19
23
|
set: {}
|
20
24
|
},
|
21
25
|
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
22
|
-
setup(
|
23
|
-
let p =
|
26
|
+
setup(F, { expose: M, emit: N }) {
|
27
|
+
let p = N, K = F, { module: P, schema: j, table: r, layout: n, next: m, set: w, searchData: A } = re(K), R = c(), x = c(), $ = c(), H = c(), h = c(), L = pe();
|
24
28
|
c({ layout: "prev, pager, next", count: 5 });
|
25
29
|
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
|
26
|
-
|
27
|
-
}, L = (t, l) => {
|
28
|
-
g("detail", t, l);
|
30
|
+
v("insert", null, t);
|
29
31
|
}, q = (t, l) => {
|
30
|
-
|
32
|
+
v("detail", t, l);
|
31
33
|
}, G = (t, l) => {
|
32
|
-
|
34
|
+
v("update", t, l);
|
35
|
+
}, I = (t, l) => {
|
36
|
+
v("copy", t, l);
|
33
37
|
}, J = (t, l) => {
|
34
|
-
|
38
|
+
v("delete", t, l);
|
35
39
|
}, O = (t) => {
|
36
|
-
let l = t.map((s) => s[
|
37
|
-
|
38
|
-
fe.success(s.message),
|
40
|
+
let l = t.map((s) => s[r.value.key.name]);
|
41
|
+
ve.post(m.value.delete.route, l).then((s) => {
|
42
|
+
fe.success(s.message), z();
|
39
43
|
});
|
40
|
-
},
|
41
|
-
let
|
42
|
-
s.ctrlKey ? (o.value.row = null, p("navigate",
|
43
|
-
},
|
44
|
+
}, v = (t, l, s) => {
|
45
|
+
let g = B(t, l);
|
46
|
+
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);
|
47
|
+
}, B = (t, l = null) => {
|
44
48
|
let s = `${m.value[t].route}`;
|
45
49
|
if (l != null) {
|
46
|
-
let
|
47
|
-
s += `?id=${
|
50
|
+
let g = l[r.value.key.name];
|
51
|
+
s += `?id=${g}`;
|
48
52
|
}
|
49
53
|
return s;
|
50
54
|
}, Q = () => {
|
51
55
|
o.value.visible = !1, p("close");
|
52
|
-
},
|
56
|
+
}, z = (t = null) => {
|
53
57
|
o.value.visible = !1, p("succeed", t);
|
54
58
|
}, W = (t) => {
|
55
59
|
p("page-change", t);
|
@@ -58,84 +62,84 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
58
62
|
}, Y = () => {
|
59
63
|
p("search");
|
60
64
|
}, Z = () => {
|
61
|
-
|
65
|
+
T();
|
62
66
|
}, ee = (t, l) => {
|
63
67
|
if (!h.value || !h.value.keyboard)
|
64
68
|
return !1;
|
65
69
|
h.value.keyboard(t, l);
|
66
70
|
}, te = (t) => {
|
67
|
-
|
68
|
-
},
|
69
|
-
let t =
|
70
|
-
|
71
|
+
T();
|
72
|
+
}, T = () => {
|
73
|
+
let t = E.getHeight(R.value), l = E.getHeight([x.value.$el, $.value]);
|
74
|
+
H.value = t - l;
|
71
75
|
};
|
72
|
-
|
76
|
+
ne(() => {
|
73
77
|
});
|
74
78
|
let le = se(() => {
|
75
|
-
let t = `/${
|
76
|
-
return
|
79
|
+
let t = `/${r.value.name}/article-footer`;
|
80
|
+
return L.getComponent(t, "partial", "article-footer");
|
77
81
|
});
|
78
|
-
return
|
79
|
-
const s = y("el-scrollbar"),
|
82
|
+
return M({ keyboard: ee, resize: te }), (t, l) => {
|
83
|
+
const s = y("el-scrollbar"), g = y("el-pagination"), oe = y("el-drawer");
|
80
84
|
return u(), f("div", {
|
81
85
|
ref_key: "pagingRef",
|
82
86
|
ref: R,
|
83
87
|
class: "paging-article"
|
84
88
|
}, [
|
85
|
-
e(
|
89
|
+
e(r).search.length > 0 ? (u(), k(he, {
|
86
90
|
key: 0,
|
87
91
|
ref_key: "searchRef",
|
88
92
|
ref: x,
|
89
|
-
schema: e(
|
90
|
-
table: e(
|
91
|
-
layout: e(
|
93
|
+
schema: e(j),
|
94
|
+
table: e(r),
|
95
|
+
layout: e(n),
|
92
96
|
"search-data": e(A),
|
93
97
|
onSubmit: e(Y),
|
94
98
|
onMounted: e(Z)
|
95
99
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
96
100
|
b(s, {
|
97
101
|
class: "article-scroller",
|
98
|
-
style: ie({ height: e(
|
102
|
+
style: ie({ height: e(H) + "px" })
|
99
103
|
}, {
|
100
104
|
default: C(() => [
|
101
105
|
i("div", _e, [
|
102
|
-
(u(!0), f(ue, null, ce(e(w)[e(
|
106
|
+
(u(!0), f(ue, null, ce(e(w)[e(r).name], (a) => (u(), f("a", {
|
103
107
|
class: "article",
|
104
|
-
href: `${e(m).detail.route}?id=${a[e(
|
105
|
-
onClick:
|
106
|
-
key: a[e(
|
108
|
+
href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
|
109
|
+
onClick: V((Be) => e(X)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
|
110
|
+
key: a[e(r).key.name]
|
107
111
|
}, [
|
108
112
|
i("img", {
|
109
113
|
class: "article-image",
|
110
|
-
src: a[e(
|
114
|
+
src: a[e(n).image]
|
111
115
|
}, null, 8, ke),
|
112
|
-
i("div", be, d(a[e(
|
113
|
-
e(
|
114
|
-
i("div", we, d(a[e(
|
115
|
-
a[e(
|
116
|
+
i("div", be, d(a[e(n).title]), 1),
|
117
|
+
e(U).getTextFromHtml(a[e(n).content]) ? (u(), f("div", Ce, d(e(U).getTextFromHtml(a[e(n).content])), 1)) : _("", !0),
|
118
|
+
i("div", we, d(a[e(n).time]), 1),
|
119
|
+
a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
|
116
120
|
(u(), k(de(e(le)), {
|
117
|
-
table: e(
|
121
|
+
table: e(r),
|
118
122
|
next: e(m),
|
119
123
|
set: e(w),
|
120
124
|
row: a,
|
121
|
-
onPreview: e(
|
122
|
-
onEdit: e(
|
123
|
-
onCopy: e(
|
125
|
+
onPreview: e(q),
|
126
|
+
onEdit: e(G),
|
127
|
+
onCopy: e(I),
|
124
128
|
onBeforeRemove: e(J),
|
125
129
|
onRemove: e(O)
|
126
130
|
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
127
131
|
], 8, ye))), 128)),
|
128
132
|
i("a", {
|
129
|
-
href: e(
|
133
|
+
href: e(B)("insert"),
|
130
134
|
class: "article-add",
|
131
|
-
onClick: l[0] || (l[0] =
|
135
|
+
onClick: l[0] || (l[0] = V(
|
132
136
|
//@ts-ignore
|
133
137
|
(...a) => e(S) && e(S)(...a),
|
134
138
|
["prevent"]
|
135
139
|
))
|
136
140
|
}, [
|
137
141
|
$e,
|
138
|
-
D(" 添加新" + d(e(
|
142
|
+
D(" 添加新" + d(e(r).title), 1)
|
139
143
|
], 8, xe)
|
140
144
|
])
|
141
145
|
]),
|
@@ -146,12 +150,12 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
146
150
|
ref: $,
|
147
151
|
class: "article-bottom"
|
148
152
|
}, [
|
149
|
-
b(
|
153
|
+
b(g, {
|
150
154
|
background: "",
|
151
155
|
layout: "total, prev, pager, next, jumper",
|
152
|
-
"current-page": e(
|
153
|
-
"page-size": e(
|
154
|
-
total: e(
|
156
|
+
"current-page": e(n).page,
|
157
|
+
"page-size": e(n).pageSize,
|
158
|
+
total: e(n).count,
|
155
159
|
onCurrentChange: e(W)
|
156
160
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
157
161
|
], 512),
|
@@ -159,12 +163,12 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
159
163
|
key: 1,
|
160
164
|
"destroy-on-close": "",
|
161
165
|
"append-to-body": e(o).appendToBody,
|
162
|
-
size: `${e(
|
166
|
+
size: `${e(P).width ?? "60%"}`,
|
163
167
|
modelValue: e(o).visible,
|
164
168
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
165
169
|
}, {
|
166
170
|
header: C(() => [
|
167
|
-
i("div",
|
171
|
+
i("div", He, [
|
168
172
|
D(d(e(m)[e(o).page].title) + " ", 1),
|
169
173
|
i("a", {
|
170
174
|
class: "drawer-copy",
|
@@ -173,11 +177,11 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
173
177
|
])
|
174
178
|
]),
|
175
179
|
default: C(() => [
|
176
|
-
b(e(
|
180
|
+
b(e(ge), {
|
177
181
|
ref_key: "pageRef",
|
178
182
|
ref: h,
|
179
183
|
url: e(o).url,
|
180
|
-
onSucceed: e(
|
184
|
+
onSucceed: e(z),
|
181
185
|
onClose: e(Q)
|
182
186
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
183
187
|
]),
|
@@ -188,5 +192,5 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
188
192
|
}
|
189
193
|
});
|
190
194
|
export {
|
191
|
-
|
195
|
+
Me as default
|
192
196
|
};
|
@@ -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-BFZc81F2.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),
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as n, isRef as k } from "vue";
|
2
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import { S as B, h as D } from "./main-B8RC13GR.js";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
const w = /* @__PURE__ */ v({
|
8
|
+
__name: "Autocomplete",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
searchData: {},
|
14
|
+
modelValue: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change", "update:modelValue"],
|
17
|
+
setup(p, { emit: i }) {
|
18
|
+
let m = i, d = p, { table: c, field: s, searchData: R, modelValue: f } = _(d), o = V([]), h = null, g = (e, t) => {
|
19
|
+
if (o.value.length) {
|
20
|
+
let l = o.value.filter((u) => B.containsIgnoreCase(e, u.value));
|
21
|
+
t(l);
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
let r = { text: h, conditions: [] };
|
25
|
+
D.post(s.value.control.data.route, r).then(({ data: l }) => {
|
26
|
+
o.value = l.map((u) => ({ value: u.text })), t(o.value);
|
27
|
+
}).catch(() => {
|
28
|
+
t([]);
|
29
|
+
});
|
30
|
+
}, a = x({
|
31
|
+
get() {
|
32
|
+
return f.value;
|
33
|
+
},
|
34
|
+
set(e) {
|
35
|
+
m("update:modelValue", e), m("change", e);
|
36
|
+
}
|
37
|
+
});
|
38
|
+
return (e, t) => {
|
39
|
+
const r = C("el-autocomplete");
|
40
|
+
return S(), b(r, {
|
41
|
+
clearable: "",
|
42
|
+
placeholder: e.t_field_placeholder(n(c).name, n(s).name),
|
43
|
+
"fetch-suggestions": n(g),
|
44
|
+
modelValue: n(a),
|
45
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => k(a) ? a.value = l : a = l)
|
46
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
47
|
+
};
|
48
|
+
}
|
49
|
+
});
|
50
|
+
export {
|
51
|
+
w as default
|
52
|
+
};
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as n, isRef as k } from "vue";
|
2
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import { S as B, h as R } from "./main-B8RC13GR.js";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
const y = /* @__PURE__ */ v({
|
8
|
+
__name: "Autocomplete",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
set: {},
|
14
|
+
row: {},
|
15
|
+
modelValue: {}
|
16
|
+
},
|
17
|
+
emits: ["submit", "change", "update:modelValue"],
|
18
|
+
setup(p, { emit: i }) {
|
19
|
+
let m = i, d = p, { table: c, field: s, set: w, modelValue: f } = _(d), o = V([]), g = null, h = (e, t) => {
|
20
|
+
if (o.value.length) {
|
21
|
+
let l = o.value.filter((r) => B.containsIgnoreCase(e, r.value));
|
22
|
+
t(l);
|
23
|
+
return;
|
24
|
+
}
|
25
|
+
let u = { text: g, conditions: [] };
|
26
|
+
R.post(s.value.control.data.route, u).then(({ data: l }) => {
|
27
|
+
o.value = l.map((r) => ({ value: r.text })), t(o.value);
|
28
|
+
}).catch(() => {
|
29
|
+
t([]);
|
30
|
+
});
|
31
|
+
}, a = x({
|
32
|
+
get() {
|
33
|
+
return f.value;
|
34
|
+
},
|
35
|
+
set(e) {
|
36
|
+
m("update:modelValue", e), m("change", e);
|
37
|
+
}
|
38
|
+
});
|
39
|
+
return (e, t) => {
|
40
|
+
const u = C("el-autocomplete");
|
41
|
+
return S(), b(u, {
|
42
|
+
clearable: "",
|
43
|
+
placeholder: e.t_field_placeholder(n(c).name, n(s).name),
|
44
|
+
"fetch-suggestions": n(h),
|
45
|
+
modelValue: n(a),
|
46
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => k(a) ? a.value = l : a = l)
|
47
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
48
|
+
};
|
49
|
+
}
|
50
|
+
});
|
51
|
+
export {
|
52
|
+
y as default
|
53
|
+
};
|
@@ -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-BgqGTky1.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),
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { defineComponent as o } from "vue";
|
2
|
+
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
+
import "./vendor-moment-h96o7c8I.js";
|
5
|
+
import { m as s, q as p } from "./main-B8RC13GR.js";
|
6
|
+
import "xlsx-js-style";
|
7
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
8
|
+
const S = /* @__PURE__ */ o({
|
9
|
+
__name: "Callback",
|
10
|
+
setup(a) {
|
11
|
+
let e = i(), t = n().query;
|
12
|
+
return (async () => {
|
13
|
+
if (!t.type) {
|
14
|
+
s.error("缺失type参数");
|
15
|
+
return;
|
16
|
+
}
|
17
|
+
let r = await p.create(t.type.toString());
|
18
|
+
t.identity = JSON.parse(t.identity.toString()), r.login(t), e.push(t.return_url.toString());
|
19
|
+
})(), (r, u) => " 登录完毕,处理回调中... ";
|
20
|
+
}
|
21
|
+
});
|
22
|
+
export {
|
23
|
+
S as default
|
24
|
+
};
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { defineComponent as y, toRefs as k, computed as p, 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 "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import { T as B } from "./main-B8RC13GR.js";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
const C = { class: "text-cascader" }, S = {
|
8
|
+
key: 0,
|
9
|
+
class: "cascader-seperator"
|
10
|
+
}, N = /* @__PURE__ */ y({
|
11
|
+
__name: "Cascader",
|
12
|
+
props: {
|
13
|
+
schema: {},
|
14
|
+
table: {},
|
15
|
+
field: {},
|
16
|
+
set: {},
|
17
|
+
row: {},
|
18
|
+
modelValue: {}
|
19
|
+
},
|
20
|
+
emits: ["submit", "change"],
|
21
|
+
setup(_, { emit: V }) {
|
22
|
+
let v = _, { table: w, field: s, set: E, row: T, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
23
|
+
if (u.value.length > 0) {
|
24
|
+
let i = s.value.control.data.data, o = [];
|
25
|
+
return u.value.forEach((r) => {
|
26
|
+
let l = B.getParentsById(r, "value", i, "children", !0);
|
27
|
+
l.length > 0 && o.push(l);
|
28
|
+
}), o;
|
29
|
+
}
|
30
|
+
return [];
|
31
|
+
});
|
32
|
+
return (i, o) => (e(), t("div", C, [
|
33
|
+
(e(!0), t(m, null, d(f(c), (r, l) => (e(), t("span", null, [
|
34
|
+
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
35
|
+
style: x({ color: n.color }),
|
36
|
+
key: n.value
|
37
|
+
}, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
38
|
+
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
39
|
+
]))), 256))
|
40
|
+
]));
|
41
|
+
}
|
42
|
+
});
|
43
|
+
export {
|
44
|
+
N as default
|
45
|
+
};
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import { defineComponent as B, toRefs as E, ref as w, computed as N, resolveComponent as R, openBlock as i, createBlock as S, unref as n, isRef as T, withCtx as D, createElementVNode as I, createTextVNode as P, toDisplayString as c, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import { T as h, h as j } from "./main-B8RC13GR.js";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
const q = {
|
8
|
+
key: 0,
|
9
|
+
class: "cascader-suffix"
|
10
|
+
}, H = {
|
11
|
+
key: 0,
|
12
|
+
class: "cascader-length"
|
13
|
+
}, O = /* @__PURE__ */ B({
|
14
|
+
__name: "Cascader",
|
15
|
+
props: {
|
16
|
+
schema: {},
|
17
|
+
table: {},
|
18
|
+
field: {},
|
19
|
+
set: {},
|
20
|
+
row: {},
|
21
|
+
modelValue: {}
|
22
|
+
},
|
23
|
+
emits: ["submit", "change", "update:modelValue"],
|
24
|
+
setup(v, { emit: g }) {
|
25
|
+
let p = g, V = v, { table: U, field: l, set: z, row: A, modelValue: b } = E(V), r = w(), d = null, _ = () => {
|
26
|
+
r.value || (r.value = l.value.control.data.data);
|
27
|
+
let e = b.value, t = [];
|
28
|
+
return l.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((o) => {
|
29
|
+
let a = h.getParentsById(o, "value", r.value, "children", !0);
|
30
|
+
a.length > 0 && t.push(a.map((k) => k.value));
|
31
|
+
}) : h.getParentsById(e, "value", r.value, "children", !0).forEach((o) => {
|
32
|
+
t.push(o.value);
|
33
|
+
}), t;
|
34
|
+
}, x = (e) => {
|
35
|
+
let t;
|
36
|
+
l.value.control.multiple ? t = e.map((s) => s[s.length - 1]).join(",") : t = e[e.length - 1], p("update:modelValue", t), p("change", t);
|
37
|
+
}, C = (e) => {
|
38
|
+
e && (d = null, y());
|
39
|
+
}, y = () => {
|
40
|
+
let e = { text: d, conditions: [] };
|
41
|
+
l.value.control.data.conditions.forEach((t) => {
|
42
|
+
e.conditions.push({ name: t.name, value: null });
|
43
|
+
}), j.post(l.value.control.data.route, e).then(({ data: t }) => {
|
44
|
+
r.value = t;
|
45
|
+
});
|
46
|
+
}, u = N({
|
47
|
+
get() {
|
48
|
+
return _();
|
49
|
+
},
|
50
|
+
set(e) {
|
51
|
+
x(e);
|
52
|
+
}
|
53
|
+
});
|
54
|
+
return (e, t) => {
|
55
|
+
const s = R("el-cascader");
|
56
|
+
return i(), S(s, {
|
57
|
+
ref: "cascaderRef",
|
58
|
+
filterable: "",
|
59
|
+
"collapse-tags": "",
|
60
|
+
"collapse-tags-tooltip": "",
|
61
|
+
"max-collapse-tags": 6,
|
62
|
+
options: n(r),
|
63
|
+
disabled: n(l).readonly,
|
64
|
+
props: { label: "text", checkStrictly: !0, multiple: n(l).control.multiple },
|
65
|
+
clearable: !n(l).control.required,
|
66
|
+
onVisibleChange: n(C),
|
67
|
+
modelValue: n(u),
|
68
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => T(u) ? u.value = o : u = o)
|
69
|
+
}, {
|
70
|
+
default: D(({ node: o, data: a }) => [
|
71
|
+
I("span", null, [
|
72
|
+
P(c(a.text), 1),
|
73
|
+
a.suffix ? (i(), m("span", q, "(" + c(a.suffix) + ")", 1)) : f("", !0)
|
74
|
+
]),
|
75
|
+
a.children ? (i(), m("span", H, c(a.children.length), 1)) : f("", !0)
|
76
|
+
]),
|
77
|
+
_: 1
|
78
|
+
}, 8, ["options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
79
|
+
};
|
80
|
+
}
|
81
|
+
});
|
82
|
+
export {
|
83
|
+
O as default
|
84
|
+
};
|
@@ -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-BUmany6B.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,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-IHZepbsi.js";
|
3
3
|
const b = /* @__PURE__ */ r({
|
4
4
|
__name: "Code",
|
5
5
|
props: {
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { defineComponent as b, toRefs as h, ref as _, computed as F, watch as T, openBlock as w, createBlock as N, unref as r, isRef as k } from "vue";
|
2
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import { _ as x } from "./main-B8RC13GR.js";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
const U = /* @__PURE__ */ b({
|
8
|
+
__name: "Code",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
set: {},
|
14
|
+
row: {},
|
15
|
+
modelValue: {}
|
16
|
+
},
|
17
|
+
emits: ["submit", "change", "update:modelValue"],
|
18
|
+
setup(d, { emit: g }) {
|
19
|
+
let c = g, f = d, { table: i, field: a, set: y, row: s, modelValue: p } = h(f), o = _({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
20
|
+
let l = m(a.value.control.scrollTop);
|
21
|
+
l && (s.value[l.name] = e);
|
22
|
+
}, V = () => {
|
23
|
+
let e = n(a.value.control.scrollTop);
|
24
|
+
if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
|
25
|
+
o.value.language = a.value.control.language;
|
26
|
+
else {
|
27
|
+
let l = n(a.value.control.languageField);
|
28
|
+
l && (o.value.language = l);
|
29
|
+
}
|
30
|
+
a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${i.value.name}.${a.value.name}`);
|
31
|
+
}, n = (e) => {
|
32
|
+
let l = m(e);
|
33
|
+
return l ? s.value[l.name] : null;
|
34
|
+
}, m = (e) => e ? i.value.fields.find((u) => u.name == e) : null;
|
35
|
+
V();
|
36
|
+
let t = F({
|
37
|
+
get() {
|
38
|
+
return p.value ?? "";
|
39
|
+
},
|
40
|
+
set(e) {
|
41
|
+
c("update:modelValue", e), c("change", e);
|
42
|
+
}
|
43
|
+
});
|
44
|
+
return T(() => n(a.value.control.languageField), (e, l) => {
|
45
|
+
o.value.language = e;
|
46
|
+
}), (e, l) => (w(), N(r(x), {
|
47
|
+
class: "control-code",
|
48
|
+
border: "",
|
49
|
+
config: r(o),
|
50
|
+
onScroll: r(v),
|
51
|
+
modelValue: r(t),
|
52
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
|
53
|
+
}, null, 8, ["config", "onScroll", "modelValue"]));
|
54
|
+
}
|
55
|
+
});
|
56
|
+
export {
|
57
|
+
U as default
|
58
|
+
};
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as _, unref as n, normalizeStyle as y, isRef as x } from "vue";
|
2
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
+
import "./vendor-moment-h96o7c8I.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import { _ as F } from "./main-B8RC13GR.js";
|
6
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
+
const N = /* @__PURE__ */ v({
|
8
|
+
__name: "Code",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
set: {},
|
14
|
+
row: {},
|
15
|
+
modelValue: {}
|
16
|
+
},
|
17
|
+
setup(f) {
|
18
|
+
let s = f, { table: g, field: t, set: b, row: m, modelValue: a } = h(s), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), d = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", p = (e) => e ? g.value.fields.find((u) => u.name == e) : null, c = (e) => {
|
19
|
+
let l = p(e);
|
20
|
+
return l ? m.value[l.name] : null;
|
21
|
+
};
|
22
|
+
return (() => {
|
23
|
+
if (o.value = d(), t.value.control.languageField == null)
|
24
|
+
r.value.language = t.value.control.language;
|
25
|
+
else {
|
26
|
+
let e = c(t.value.control.languageField);
|
27
|
+
e && (r.value.language = e);
|
28
|
+
}
|
29
|
+
})(), (e, l) => (V(), _(n(F), {
|
30
|
+
class: "text-code",
|
31
|
+
config: n(r),
|
32
|
+
style: y(n(o)),
|
33
|
+
modelValue: n(a),
|
34
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => x(a) ? a.value = u : a = u)
|
35
|
+
}, null, 8, ["config", "style", "modelValue"]));
|
36
|
+
}
|
37
|
+
});
|
38
|
+
export {
|
39
|
+
N as default
|
40
|
+
};
|