halo-pc 1.0.20 → 1.0.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-C_3LULzy.js +200 -0
- package/dist/{ArticleFooter-CsCnjrJ1.js → ArticleFooter-Do6I1mma.js} +24 -18
- package/dist/{Autocomplete-BGkHGSX_.js → Autocomplete-BLOOqTTn.js} +1 -1
- package/dist/Autocomplete-BLrbt1wN.js +53 -0
- package/dist/Autocomplete-C27XN8Sp.js +54 -0
- package/dist/{CSharp-NuDfWEq7.js → CSharp-BGn9jf2B.js} +1 -1
- package/dist/{Calender-C2YaNTHk.js → Calender-4bSMqUzx.js} +4 -4
- package/dist/Callback-BHYDtogL.js +26 -0
- package/dist/Cascader-D3y3WjFF.js +87 -0
- package/dist/Cascader-D9Y8L7X2.js +47 -0
- package/dist/{Checkbox-BAcK--1U.js → Checkbox-DnTLeLjt.js} +1 -1
- package/dist/Checkbox-dDfYBhhc.js +76 -0
- package/dist/{Code-CbsVyhOv.js → Code-Af5URLnL.js} +1 -1
- package/dist/Code-Bi9Y45vV.js +42 -0
- package/dist/Code-CWsSgkJq.js +60 -0
- package/dist/{Code-BHEes80c.js → Code-QYs-sjcG.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-CI6sLXKy.js +65 -0
- package/dist/Column-wzxM_-Vp.js +74 -0
- package/dist/Comment-BF8L1umD.js +104 -0
- package/dist/Compare-CjSQcnd3.js +43 -0
- package/dist/{Compare-gEOPuGLB.js → Compare-Cj_CPjIV.js} +25 -19
- package/dist/Copy-BNt-Dwoo.js +49 -0
- package/dist/Custom-CYPkAqpf.js +57 -0
- package/dist/{DataExport-hwoZoZUN.js → DataExport-CHQtRKzA.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dkq4fSkZ.js → DataExport.vue_vue_type_script_setup_true_lang-Dt2BAaAO.js} +41 -36
- package/dist/{DataImport-CQYeF50z.js → DataImport-CDcmH3Du.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-dULXjbl_.js +176 -0
- package/dist/{Date-a3T1YbHN.js → Date-BStpsA7n.js} +1 -1
- package/dist/Date-U1py5NaK.js +43 -0
- package/dist/DateRange-DxAx2gxI.js +63 -0
- package/dist/DateTime-B3609Ct6.js +44 -0
- package/dist/{DateTime-BUYojCOY.js → DateTime-CmJw1-WA.js} +1 -1
- package/dist/{DateTimeRange-D9K4am0p.js → DateTimeRange-aDw57sTG.js} +17 -11
- package/dist/Daterange-C48t6usd.js +63 -0
- package/dist/{Decimal-CNhxJUZg.js → Decimal-Ca0K6NoZ.js} +1 -1
- package/dist/Delete-FhIvONUV.js +62 -0
- package/dist/{Detail-BXkTd6Wh.js → Detail-qqW0J946.js} +21 -15
- package/dist/Dictionary-CaXytFmK.js +59 -0
- package/dist/Email-H2DHJhMe.js +54 -0
- package/dist/{File-CAnAcqJX.js → File-CjXewuui.js} +33 -27
- package/dist/Image-BSuCHshD.js +9 -0
- package/dist/Index-9KImKLrj.js +4 -0
- package/dist/Index-BIbR8SAU.js +178 -0
- package/dist/Index-BaoxkF9F.js +4 -0
- package/dist/{Index-DJvB04cS.js → Index-BrI9x7i7.js} +1 -1
- package/dist/Index-CXR5RC6-.js +4 -0
- package/dist/{Index-RZT6JXBO.js → Index-CpGonJ_m.js} +1 -1
- package/dist/{Index-CseSUp2Z.js → Index-DUgprnVp.js} +1 -1
- package/dist/{Index-BqjKndKz.js → Index-icEhc88J.js} +25 -20
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js → Index.vue_vue_type_script_setup_true_lang-Beb5UD_S.js} +21 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C8ZEc4nU.js → Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js} +22 -16
- package/dist/{Index.vue_vue_type_style_index_0_lang-T12lwRy6.js → Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js} +40 -35
- package/dist/{Install-DWWpscrR.js → Install-FwXpJIWk.js} +26 -20
- package/dist/Int-CXl1QpEL.js +44 -0
- package/dist/Int-DAxz3ETu.js +46 -0
- package/dist/List-CV9bkdrq.js +79 -0
- package/dist/Maintaince-DZNq9aHX.js +20 -0
- package/dist/{Markdown-d8PCfAFf.js → Markdown-BhwqDlwa.js} +1 -1
- package/dist/{Month-COEkKDL_.js → Month-BEmnA7zU.js} +1 -1
- package/dist/Month-DXQBHoJU.js +43 -0
- package/dist/Month-bgEd_K7_.js +44 -0
- package/dist/{Normal-BD7sNr-b.js → Normal-Dya4aqc7.js} +56 -51
- package/dist/Paging-JXDzxoM0.js +99 -0
- package/dist/{PagingHeader-CznmI0kr.js → PagingHeader-BETGBySb.js} +31 -25
- package/dist/{PagingRow-BJ-VLpfV.js → PagingRow-BLqp1c9E.js} +28 -22
- package/dist/QueryApi-B5jI3sBl.js +20 -0
- package/dist/{Racebar-BkwhD-rw.js → Racebar-CozeXwLJ.js} +42 -37
- package/dist/{Radio-CS12bajp.js → Radio-CuAxYw7j.js} +1 -1
- package/dist/{Register-l_X4fDPP.js → Register-B11jE2Ox.js} +78 -73
- package/dist/RichText-CxBE_cVg.js +47 -0
- package/dist/{SearchFooter-C8N9ku25.js → SearchFooter-agTqPUGE.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-6WvYHIn1.js → SearchFooter.vue_vue_type_style_index_0_lang-C-1Yr5_9.js} +1 -1
- package/dist/{SearchForm-DX0mN20A.js → SearchForm-DNKmE8W0.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js → SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js} +40 -35
- package/dist/Select-BPa5rx_H.js +86 -0
- package/dist/Select-CRfEAtba.js +117 -0
- package/dist/{Select-DYjvtHyi.js → Select-MqDjnB-C.js} +1 -1
- package/dist/{Single-DErvX9y_.js → Single-C5Kkr9SY.js} +112 -107
- package/dist/{Statistic-CQxXdu-V.js → Statistic-Ce_FMw5O.js} +36 -31
- package/dist/{Stock-CsoHCwV6.js → Stock-BTjhpaxv.js} +1 -1
- package/dist/{Stock-DXLdfC3r.js → Stock-D8AJmsvb.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B-b3Lj_h.js → Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js} +28 -23
- package/dist/{Switch-BCgZXfWo.js → Switch-gwGbi34o.js} +1 -1
- package/dist/{Table-CAVxyUTD.js → Table-C03eUBYm.js} +69 -63
- package/dist/{Table-DkJYgLFt.js → Table-DA8aGGEH.js} +74 -70
- package/dist/{Text-Cn0cOTli.js → Text-B5uPrGof.js} +18 -12
- package/dist/Text-D-VS-lCk.js +59 -0
- package/dist/Text-NRww74M3.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-Fsbur1tJ.js +59 -0
- package/dist/TextLink-B_Qg6CnF.js +65 -0
- package/dist/{Textarea-Pc4TfoC3.js → Textarea-gtXLL6Qe.js} +1 -1
- package/dist/Time-DYOIZ2Rv.js +43 -0
- package/dist/Timeline-B4AYezYA.js +59 -0
- package/dist/{Tree-01Sb-9zi.js → Tree-CRDb0vS5.js} +67 -62
- package/dist/Tree-CTmXjN1O.js +122 -0
- package/dist/TreeNode-HFcGpAOb.js +42 -0
- package/dist/{Update-Cy1lFPVv.js → Update-EHyhYK5k.js} +18 -12
- package/dist/{UpdateChild-DV_8KV9G.js → UpdateChild-CC3b9evd.js} +23 -17
- package/dist/Upload-CkQ-5tVg.js +72 -0
- package/dist/Upload-um4BYzwO.js +150 -0
- package/dist/UploadApi-BmdGJGjh.js +20 -0
- package/dist/Year-DKBG5ihv.js +47 -0
- package/dist/{Year-BFZPXXq0.js → Year-Lhvyb9Vk.js} +1 -1
- package/dist/assets/@intlify-BISCQg1h.js +2189 -0
- package/dist/assets/@vue-aVYGocXp.js +93 -0
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
- package/dist/main-C1iALE1f.js +8947 -0
- package/dist/main.js +42 -41
- package/package.json +2 -2
- package/dist/Article-aps_F4Uq.js +0 -194
- package/dist/Autocomplete-CGoxGIM2.js +0 -48
- package/dist/Autocomplete-XdLV4jzi.js +0 -49
- package/dist/Callback-Czdr_dVp.js +0 -20
- package/dist/Cascader-D3Kr80fH.js +0 -81
- package/dist/Cascader-DRvnD4Xc.js +0 -41
- package/dist/Checkbox-5pSKww4M.js +0 -70
- package/dist/Code-BxQxsVD8.js +0 -54
- package/dist/Code-CtDTGfBy.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-CPZKY3vQ.js +0 -59
- package/dist/Column-D3PMyaiE.js +0 -68
- package/dist/Comment-B3fvVYJF.js +0 -98
- package/dist/Compare-BXxJuIXf.js +0 -37
- package/dist/Copy-1znXP-dt.js +0 -43
- package/dist/Custom-C_15ZImX.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-ChWRjj2W.js +0 -172
- package/dist/Date-0bIUTNCs.js +0 -37
- package/dist/DateRange-Cxu9FXTE.js +0 -57
- package/dist/DateTime-IlsYZL-l.js +0 -38
- package/dist/Daterange-CX0Klog4.js +0 -57
- package/dist/Delete-DFl8Tr27.js +0 -56
- package/dist/Dictionary-DmarNVsi.js +0 -55
- package/dist/Email-BBjDCCOK.js +0 -48
- package/dist/Image-pufFvop2.js +0 -9
- package/dist/Index-C4D5pwwu.js +0 -173
- package/dist/Index-CD_KS2lO.js +0 -4
- package/dist/Index-CEh3KlPE.js +0 -4
- package/dist/Index-XmvSiC1h.js +0 -4
- package/dist/Int-Bi3P8XeV.js +0 -41
- package/dist/Int-Bn2p1DqA.js +0 -38
- package/dist/List-CeQRwXop.js +0 -73
- package/dist/Maintaince-CVMjhqSO.js +0 -14
- package/dist/Month-BfUSQ3xa.js +0 -38
- package/dist/Month-DQKfNQzN.js +0 -37
- package/dist/Paging-d_-VefNv.js +0 -94
- package/dist/QueryApi-Cdniq3mZ.js +0 -13
- package/dist/RichText-9MwwjuZi.js +0 -41
- package/dist/Select-CQE5kY-n.js +0 -111
- package/dist/Select-DaEqum3a.js +0 -80
- package/dist/Text-Dk5tNNZo.js +0 -53
- package/dist/Text-DvVWvaMO.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-I01JEYAx.js +0 -53
- package/dist/TextLink-D3nvnLHn.js +0 -59
- package/dist/Time-CToG3p0T.js +0 -37
- package/dist/Timeline-DphvhX0U.js +0 -53
- package/dist/Tree-CH1RoUqu.js +0 -117
- package/dist/TreeNode-C54d29V-.js +0 -37
- package/dist/Upload-BalaO4wz.js +0 -146
- package/dist/Upload-DQVaPUdG.js +0 -67
- package/dist/UploadApi-Cfm5DM_x.js +0 -13
- package/dist/Year-Swm3VSzj.js +0 -41
- package/dist/main-BYJVoHlf.js +0 -19457
@@ -0,0 +1,200 @@
|
|
1
|
+
import { defineComponent as oe, toRefs as ae, ref as c, onMounted as re, computed as ne, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as V, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as D } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import { d as de, G as U, U as pe, t as me, a as ve, h as ge, m as fe, D as E } from "./main-C1iALE1f.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js";
|
10
|
+
const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, we = {
|
11
|
+
key: 0,
|
12
|
+
class: "article-content"
|
13
|
+
}, Ce = { class: "article-time" }, Re = {
|
14
|
+
key: 1,
|
15
|
+
class: "article-view-count"
|
16
|
+
}, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), He = { class: "el-drawer__title" }, Be = ["href"], Ke = /* @__PURE__ */ oe({
|
17
|
+
__name: "Article",
|
18
|
+
props: {
|
19
|
+
searchData: {},
|
20
|
+
module: {},
|
21
|
+
schema: {},
|
22
|
+
table: {},
|
23
|
+
layout: {},
|
24
|
+
next: {},
|
25
|
+
set: {}
|
26
|
+
},
|
27
|
+
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
28
|
+
setup(M, { expose: N, emit: F }) {
|
29
|
+
let p = F, K = M, { module: P, schema: j, table: r, layout: n, next: m, set: R, searchData: A } = ae(K), x = c(), y = c(), $ = c(), H = c(), h = c();
|
30
|
+
c({ layout: "prev, pager, next", count: 5 });
|
31
|
+
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), B = (t) => {
|
32
|
+
g("insert", null, t);
|
33
|
+
}, G = (t, l) => {
|
34
|
+
g("detail", t, l);
|
35
|
+
}, L = (t, l) => {
|
36
|
+
g("update", t, l);
|
37
|
+
}, q = (t, l) => {
|
38
|
+
g("copy", t, l);
|
39
|
+
}, I = (t, l) => {
|
40
|
+
g("delete", t, l);
|
41
|
+
}, J = (t) => {
|
42
|
+
let l = t.map((s) => s[r.value.key.name]);
|
43
|
+
ge.post(m.value.delete.route, l).then((s) => {
|
44
|
+
fe.success(s.message), z();
|
45
|
+
});
|
46
|
+
}, g = (t, l, s) => {
|
47
|
+
let v = S(t, l);
|
48
|
+
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);
|
49
|
+
}, S = (t, l = null) => {
|
50
|
+
let s = `${m.value[t].route}`;
|
51
|
+
if (l != null) {
|
52
|
+
let v = l[r.value.key.name];
|
53
|
+
s += `?id=${v}`;
|
54
|
+
}
|
55
|
+
return s;
|
56
|
+
}, O = () => {
|
57
|
+
o.value.visible = !1, p("close");
|
58
|
+
}, z = (t = null) => {
|
59
|
+
o.value.visible = !1, p("succeed", t);
|
60
|
+
}, Q = (t) => {
|
61
|
+
p("page-change", t);
|
62
|
+
}, W = (t) => {
|
63
|
+
p("navigate", t);
|
64
|
+
}, X = () => {
|
65
|
+
p("search");
|
66
|
+
}, Y = () => {
|
67
|
+
T();
|
68
|
+
}, Z = (t, l) => {
|
69
|
+
if (!h.value || !h.value.keyboard)
|
70
|
+
return !1;
|
71
|
+
h.value.keyboard(t, l);
|
72
|
+
}, ee = (t) => {
|
73
|
+
T();
|
74
|
+
}, T = () => {
|
75
|
+
if (y.value == null)
|
76
|
+
return;
|
77
|
+
let t = E.getHeight(x.value), l = E.getHeight([y.value.$el, $.value]);
|
78
|
+
H.value = t - l;
|
79
|
+
};
|
80
|
+
re(() => {
|
81
|
+
});
|
82
|
+
let te = ne(() => {
|
83
|
+
let t = `/${r.value.name}/article-footer`;
|
84
|
+
return de.getComponent(t, "partial", "article-footer");
|
85
|
+
});
|
86
|
+
return N({ keyboard: Z, resize: ee }), (t, l) => {
|
87
|
+
const s = k("el-scrollbar"), v = k("el-pagination"), le = k("el-drawer");
|
88
|
+
return u(), f("div", {
|
89
|
+
ref_key: "pagingRef",
|
90
|
+
ref: x,
|
91
|
+
class: "paging-article"
|
92
|
+
}, [
|
93
|
+
e(r).search.length > 0 ? (u(), b(he, {
|
94
|
+
key: 0,
|
95
|
+
ref_key: "searchRef",
|
96
|
+
ref: y,
|
97
|
+
schema: e(j),
|
98
|
+
table: e(r),
|
99
|
+
layout: e(n),
|
100
|
+
"search-data": e(A),
|
101
|
+
onSubmit: e(X),
|
102
|
+
onMounted: e(Y)
|
103
|
+
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
104
|
+
w(s, {
|
105
|
+
class: "article-scroller",
|
106
|
+
style: se({ height: e(H) + "px" })
|
107
|
+
}, {
|
108
|
+
default: C(() => [
|
109
|
+
i("div", _e, [
|
110
|
+
(u(!0), f(ie, null, ue(e(R)[e(r).name], (a) => (u(), f("a", {
|
111
|
+
class: "article",
|
112
|
+
href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
|
113
|
+
onClick: V((Se) => e(W)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
|
114
|
+
key: a[e(r).key.name]
|
115
|
+
}, [
|
116
|
+
i("img", {
|
117
|
+
class: "article-image",
|
118
|
+
src: a[e(n).image]
|
119
|
+
}, null, 8, ke),
|
120
|
+
i("div", be, d(a[e(n).title]), 1),
|
121
|
+
e(U).getText(a[e(n).content]) ? (u(), f("div", we, d(e(U).getText(a[e(n).content])), 1)) : _("", !0),
|
122
|
+
i("div", Ce, d(a[e(n).time]), 1),
|
123
|
+
a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
|
124
|
+
(u(), b(ce(e(te)), {
|
125
|
+
table: e(r),
|
126
|
+
next: e(m),
|
127
|
+
set: e(R),
|
128
|
+
row: a,
|
129
|
+
onPreview: e(G),
|
130
|
+
onEdit: e(L),
|
131
|
+
onCopy: e(q),
|
132
|
+
onBeforeRemove: e(I),
|
133
|
+
onRemove: e(J)
|
134
|
+
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
135
|
+
], 8, ye))), 128)),
|
136
|
+
i("a", {
|
137
|
+
href: e(S)("insert"),
|
138
|
+
class: "article-add",
|
139
|
+
onClick: l[0] || (l[0] = V(
|
140
|
+
//@ts-ignore
|
141
|
+
(...a) => e(B) && e(B)(...a),
|
142
|
+
["prevent"]
|
143
|
+
))
|
144
|
+
}, [
|
145
|
+
$e,
|
146
|
+
D(" 添加新" + d(e(r).title), 1)
|
147
|
+
], 8, xe)
|
148
|
+
])
|
149
|
+
]),
|
150
|
+
_: 1
|
151
|
+
}, 8, ["style"]),
|
152
|
+
i("div", {
|
153
|
+
ref_key: "footerRef",
|
154
|
+
ref: $,
|
155
|
+
class: "article-bottom"
|
156
|
+
}, [
|
157
|
+
w(v, {
|
158
|
+
background: "",
|
159
|
+
layout: "total, prev, pager, next, jumper",
|
160
|
+
"current-page": e(n).page,
|
161
|
+
"page-size": e(n).pageSize,
|
162
|
+
total: e(n).count,
|
163
|
+
onCurrentChange: e(Q)
|
164
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
165
|
+
], 512),
|
166
|
+
e(o).page ? (u(), b(le, {
|
167
|
+
key: 1,
|
168
|
+
"destroy-on-close": "",
|
169
|
+
"append-to-body": e(o).appendToBody,
|
170
|
+
size: `${e(P).width ?? "60%"}`,
|
171
|
+
modelValue: e(o).visible,
|
172
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
173
|
+
}, {
|
174
|
+
header: C(() => [
|
175
|
+
i("div", He, [
|
176
|
+
D(d(e(m)[e(o).page].title) + " ", 1),
|
177
|
+
i("a", {
|
178
|
+
class: "drawer-copy",
|
179
|
+
href: e(pe).getToUrl(e(o).url)
|
180
|
+
}, d(e(me)("common.link")), 9, Be)
|
181
|
+
])
|
182
|
+
]),
|
183
|
+
default: C(() => [
|
184
|
+
w(e(ve), {
|
185
|
+
ref_key: "pageRef",
|
186
|
+
ref: h,
|
187
|
+
url: e(o).url,
|
188
|
+
onSucceed: e(z),
|
189
|
+
onClose: e(O)
|
190
|
+
}, null, 8, ["url", "onSucceed", "onClose"])
|
191
|
+
]),
|
192
|
+
_: 1
|
193
|
+
}, 8, ["append-to-body", "size", "modelValue"])) : _("", !0)
|
194
|
+
], 512);
|
195
|
+
};
|
196
|
+
}
|
197
|
+
});
|
198
|
+
export {
|
199
|
+
Ke as default
|
200
|
+
};
|
@@ -1,6 +1,12 @@
|
|
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 p, unref as e, withModifiers as c, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { t as a } from "./main-C1iALE1f.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
|
4
10
|
__name: "ArticleFooter",
|
5
11
|
props: {
|
6
12
|
table: {},
|
@@ -10,41 +16,41 @@ const R = { class: "article-footer" }, g = /* @__PURE__ */ w({
|
|
10
16
|
},
|
11
17
|
emits: ["preview", "edit", "copy", "before-remove", "remove"],
|
12
18
|
setup(b, { emit: k }) {
|
13
|
-
let i = k, C = b, { table:
|
14
|
-
i("preview",
|
19
|
+
let i = k, C = b, { table: A, next: l, set: F, row: m } = _(C), f = (o) => {
|
20
|
+
i("preview", m.value, o);
|
15
21
|
}, u = (o) => {
|
16
|
-
i("edit",
|
22
|
+
i("edit", m.value, o);
|
17
23
|
}, v = (o) => {
|
18
|
-
i("copy",
|
24
|
+
i("copy", m.value, o);
|
19
25
|
}, d = (o) => {
|
20
26
|
}, x = () => {
|
21
|
-
i("remove", [
|
27
|
+
i("remove", [m.value]);
|
22
28
|
};
|
23
29
|
return (o, t) => {
|
24
30
|
const y = B("el-popconfirm");
|
25
|
-
return r(),
|
26
|
-
e(l).detail ? (r(),
|
31
|
+
return r(), p("div", V, [
|
32
|
+
e(l).detail ? (r(), p("i", {
|
27
33
|
key: 0,
|
28
34
|
class: "fa fa-search-plus btn-icon",
|
29
|
-
onClick: t[0] || (t[0] =
|
35
|
+
onClick: t[0] || (t[0] = c(
|
30
36
|
//@ts-ignore
|
31
37
|
(...n) => e(f) && e(f)(...n),
|
32
38
|
["prevent", "stop"]
|
33
39
|
))
|
34
40
|
})) : s("", !0),
|
35
|
-
e(l).update ? (r(),
|
41
|
+
e(l).update ? (r(), p("i", {
|
36
42
|
key: 1,
|
37
43
|
class: "fa fa-pencil btn-icon",
|
38
|
-
onClick: t[1] || (t[1] =
|
44
|
+
onClick: t[1] || (t[1] = c(
|
39
45
|
//@ts-ignore
|
40
46
|
(...n) => e(u) && e(u)(...n),
|
41
47
|
["prevent", "stop"]
|
42
48
|
))
|
43
49
|
})) : s("", !0),
|
44
|
-
e(l).copy ? (r(),
|
50
|
+
e(l).copy ? (r(), p("i", {
|
45
51
|
key: 2,
|
46
52
|
class: "fa fa-copy btn-icon",
|
47
|
-
onClick: t[2] || (t[2] =
|
53
|
+
onClick: t[2] || (t[2] = c(
|
48
54
|
//@ts-ignore
|
49
55
|
(...n) => e(v) && e(v)(...n),
|
50
56
|
["prevent", "stop"]
|
@@ -59,9 +65,9 @@ const R = { class: "article-footer" }, g = /* @__PURE__ */ w({
|
|
59
65
|
onConfirm: e(x)
|
60
66
|
}, {
|
61
67
|
reference: N(() => [
|
62
|
-
|
68
|
+
R("i", {
|
63
69
|
class: "fa fa-trash-alt btn-icon",
|
64
|
-
onClick: t[3] || (t[3] =
|
70
|
+
onClick: t[3] || (t[3] = c(
|
65
71
|
//@ts-ignore
|
66
72
|
(...n) => e(d) && e(d)(...n),
|
67
73
|
["prevent", "stop"]
|
@@ -75,5 +81,5 @@ const R = { class: "article-footer" }, g = /* @__PURE__ */ w({
|
|
75
81
|
}
|
76
82
|
});
|
77
83
|
export {
|
78
|
-
|
84
|
+
I as default
|
79
85
|
};
|
@@ -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-NRww74M3.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,53 @@
|
|
1
|
+
import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import { g as B, S as D, h as R } from "./main-C1iALE1f.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const z = /* @__PURE__ */ _({
|
9
|
+
__name: "Autocomplete",
|
10
|
+
props: {
|
11
|
+
schema: {},
|
12
|
+
table: {},
|
13
|
+
field: {},
|
14
|
+
searchData: {},
|
15
|
+
modelValue: {}
|
16
|
+
},
|
17
|
+
emits: ["submit", "change", "update:modelValue"],
|
18
|
+
setup(p, { emit: i }) {
|
19
|
+
let m = i, d = p, { table: c, field: s, searchData: A, modelValue: f } = v(d), a = V([]), h = null, g = (l, e) => {
|
20
|
+
if (a.value.length) {
|
21
|
+
let t = a.value.filter((u) => D.containsIgnoreCase(l, u.value));
|
22
|
+
e(t);
|
23
|
+
return;
|
24
|
+
}
|
25
|
+
let n = { text: h, conditions: [] };
|
26
|
+
R.post(s.value.control.data.route, n).then(({ data: t }) => {
|
27
|
+
a.value = t.map((u) => ({ value: u.text })), e(a.value);
|
28
|
+
}).catch(() => {
|
29
|
+
e([]);
|
30
|
+
});
|
31
|
+
}, r = x({
|
32
|
+
get() {
|
33
|
+
return f.value;
|
34
|
+
},
|
35
|
+
set(l) {
|
36
|
+
m("update:modelValue", l), m("change", l);
|
37
|
+
}
|
38
|
+
});
|
39
|
+
return (l, e) => {
|
40
|
+
const n = C("el-autocomplete");
|
41
|
+
return S(), b(n, {
|
42
|
+
clearable: "",
|
43
|
+
placeholder: o(B)(o(c).name, o(s).name),
|
44
|
+
"fetch-suggestions": o(g),
|
45
|
+
modelValue: o(r),
|
46
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => k(r) ? r.value = t : r = t)
|
47
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
48
|
+
};
|
49
|
+
}
|
50
|
+
});
|
51
|
+
export {
|
52
|
+
z as default
|
53
|
+
};
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import { g as B, S as R, h as w } from "./main-C1iALE1f.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const D = /* @__PURE__ */ _({
|
9
|
+
__name: "Autocomplete",
|
10
|
+
props: {
|
11
|
+
schema: {},
|
12
|
+
table: {},
|
13
|
+
field: {},
|
14
|
+
set: {},
|
15
|
+
row: {},
|
16
|
+
modelValue: {}
|
17
|
+
},
|
18
|
+
emits: ["submit", "change", "update:modelValue"],
|
19
|
+
setup(p, { emit: i }) {
|
20
|
+
let m = i, d = p, { table: c, field: s, set: A, modelValue: f } = v(d), a = V([]), g = null, h = (l, e) => {
|
21
|
+
if (a.value.length) {
|
22
|
+
let t = a.value.filter((u) => R.containsIgnoreCase(l, u.value));
|
23
|
+
e(t);
|
24
|
+
return;
|
25
|
+
}
|
26
|
+
let r = { text: g, conditions: [] };
|
27
|
+
w.post(s.value.control.data.route, r).then(({ data: t }) => {
|
28
|
+
a.value = t.map((u) => ({ value: u.text })), e(a.value);
|
29
|
+
}).catch(() => {
|
30
|
+
e([]);
|
31
|
+
});
|
32
|
+
}, n = x({
|
33
|
+
get() {
|
34
|
+
return f.value;
|
35
|
+
},
|
36
|
+
set(l) {
|
37
|
+
m("update:modelValue", l), m("change", l);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
return (l, e) => {
|
41
|
+
const r = C("el-autocomplete");
|
42
|
+
return S(), b(r, {
|
43
|
+
clearable: "",
|
44
|
+
placeholder: o(B)(o(c).name, o(s).name),
|
45
|
+
"fetch-suggestions": o(h),
|
46
|
+
modelValue: o(n),
|
47
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
|
48
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
49
|
+
};
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
D as default
|
54
|
+
};
|
@@ -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-Bi9Y45vV.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 {
|
3
|
-
const
|
4
|
-
function
|
2
|
+
import { o } from "./main-C1iALE1f.js";
|
3
|
+
const c = {};
|
4
|
+
function n(t, _) {
|
5
5
|
return e(), r("div", null, "日历");
|
6
6
|
}
|
7
|
-
const l = /* @__PURE__ */ c
|
7
|
+
const l = /* @__PURE__ */ o(c, [["render", n]]);
|
8
8
|
export {
|
9
9
|
l as default
|
10
10
|
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { defineComponent as o } from "vue";
|
2
|
+
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
+
import "./assets/underscore-B0BCaBxV.js";
|
4
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import { m as p, R as s } from "./main-C1iALE1f.js";
|
9
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
+
const h = /* @__PURE__ */ o({
|
11
|
+
__name: "Callback",
|
12
|
+
setup(m) {
|
13
|
+
let e = i(), t = n().query;
|
14
|
+
return (async () => {
|
15
|
+
if (!t.type) {
|
16
|
+
p.error("缺失type参数");
|
17
|
+
return;
|
18
|
+
}
|
19
|
+
let r = await s.sso.create(t.type.toString());
|
20
|
+
t.identity = JSON.parse(t.identity.toString()), r.login(t), e.push(t.return_url.toString());
|
21
|
+
})(), (r, u) => " 登录完毕,处理回调中... ";
|
22
|
+
}
|
23
|
+
});
|
24
|
+
export {
|
25
|
+
h as default
|
26
|
+
};
|
@@ -0,0 +1,87 @@
|
|
1
|
+
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as i, createBlock as T, unref as a, isRef as j, withCtx as D, createElementVNode as I, createTextVNode as P, toDisplayString as c, createElementBlock as m, createCommentVNode as h } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { j as q, T as f, h as H } from "./main-C1iALE1f.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const U = {
|
10
|
+
key: 0,
|
11
|
+
class: "cascader-suffix"
|
12
|
+
}, z = {
|
13
|
+
key: 0,
|
14
|
+
class: "cascader-length"
|
15
|
+
}, X = /* @__PURE__ */ E({
|
16
|
+
__name: "Cascader",
|
17
|
+
props: {
|
18
|
+
schema: {},
|
19
|
+
table: {},
|
20
|
+
field: {},
|
21
|
+
set: {},
|
22
|
+
row: {},
|
23
|
+
modelValue: {}
|
24
|
+
},
|
25
|
+
emits: ["submit", "change", "update:modelValue"],
|
26
|
+
setup(v, { emit: g }) {
|
27
|
+
let p = g, _ = v, { table: V, field: t, set: A, row: F, modelValue: b } = w(_), s = N(), d = null, x = () => {
|
28
|
+
s.value || (s.value = t.value.control.data.data);
|
29
|
+
let e = b.value, l = [];
|
30
|
+
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
|
31
|
+
let o = f.getParentsById(r, "value", s.value, "children", !0);
|
32
|
+
o.length > 0 && l.push(o.map((B) => B.value));
|
33
|
+
}) : f.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
|
34
|
+
l.push(r.value);
|
35
|
+
}), l;
|
36
|
+
}, C = (e) => {
|
37
|
+
let l;
|
38
|
+
t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], p("update:modelValue", l), p("change", l);
|
39
|
+
}, y = (e) => {
|
40
|
+
e && (d = null, k());
|
41
|
+
}, k = () => {
|
42
|
+
let e = { text: d, conditions: [] };
|
43
|
+
t.value.control.data.conditions.forEach((l) => {
|
44
|
+
e.conditions.push({ name: l.name, value: null });
|
45
|
+
}), H.post(t.value.control.data.route, e).then(({ data: l }) => {
|
46
|
+
s.value = l;
|
47
|
+
});
|
48
|
+
}, u = R({
|
49
|
+
get() {
|
50
|
+
return x();
|
51
|
+
},
|
52
|
+
set(e) {
|
53
|
+
C(e);
|
54
|
+
}
|
55
|
+
});
|
56
|
+
return (e, l) => {
|
57
|
+
const n = S("el-cascader");
|
58
|
+
return i(), T(n, {
|
59
|
+
ref: "cascaderRef",
|
60
|
+
placeholder: a(q)(a(V).name, a(t).name),
|
61
|
+
filterable: "",
|
62
|
+
"collapse-tags": "",
|
63
|
+
"collapse-tags-tooltip": "",
|
64
|
+
"max-collapse-tags": 6,
|
65
|
+
options: a(s),
|
66
|
+
disabled: a(t).readonly,
|
67
|
+
props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
|
68
|
+
clearable: !a(t).control.required,
|
69
|
+
onVisibleChange: a(y),
|
70
|
+
modelValue: a(u),
|
71
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => j(u) ? u.value = r : u = r)
|
72
|
+
}, {
|
73
|
+
default: D(({ node: r, data: o }) => [
|
74
|
+
I("span", null, [
|
75
|
+
P(c(o.text), 1),
|
76
|
+
o.suffix ? (i(), m("span", U, "(" + c(o.suffix) + ")", 1)) : h("", !0)
|
77
|
+
]),
|
78
|
+
o.children ? (i(), m("span", z, c(o.children.length), 1)) : h("", !0)
|
79
|
+
]),
|
80
|
+
_: 1
|
81
|
+
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
82
|
+
};
|
83
|
+
}
|
84
|
+
});
|
85
|
+
export {
|
86
|
+
X as default
|
87
|
+
};
|
@@ -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 "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { T as B } from "./main-C1iALE1f.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const C = { class: "text-cascader" }, S = {
|
10
|
+
key: 0,
|
11
|
+
class: "cascader-seperator"
|
12
|
+
}, R = /* @__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: T, 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.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
|
+
R as default
|
47
|
+
};
|
@@ -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-CaXytFmK.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),
|