halo-pc 1.0.36 → 1.0.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CSL7LnKj.js → Article-H_clf90b.js} +56 -59
- package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-BLi4TNA7.js} +3 -4
- package/dist/Autocomplete-BF9x0F4f.js +49 -0
- package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-CcIzTPSr.js} +11 -12
- package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-DMm6oI1g.js} +1 -1
- package/dist/{CSharp-CMmXPS2i.js → CSharp-CZOchOE-.js} +1 -1
- package/dist/Calender-BoQV7bhA.js +10 -0
- package/dist/Callback-79Bw4RwY.js +20 -0
- package/dist/Cascader-D1Ou5OSg.js +41 -0
- package/dist/{Cascader-CeQ0jUxU.js → Cascader-DMhl98vw.js} +25 -26
- package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-C6t6S7ii.js} +1 -1
- package/dist/{Checkbox--pNX7Slb.js → Checkbox-DtrXMDBR.js} +13 -14
- package/dist/Code-B8ISTTYK.js +54 -0
- package/dist/Code-BMlBvnqa.js +4 -0
- package/dist/{Code-C6A3DOQp.js → Code-DDacfgvl.js} +1 -1
- package/dist/Code-DIGn8Raz.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +57 -0
- package/dist/Column-DjA11efs.js +69 -0
- package/dist/{Comment-T5XWLthu.js → Comment-Ixu0gPk3.js} +29 -35
- package/dist/{Compare-KV2Q7Tb7.js → Compare-C1uq4lgK.js} +7 -8
- package/dist/{Compare-jjtb6UdZ.js → Compare-NN40QJWm.js} +9 -10
- package/dist/{Copy-Ck1HeTdy.js → Copy-BcfSvyWG.js} +11 -12
- package/dist/Custom-Dn9_vPuD.js +58 -0
- package/dist/{DataExport-BY1fIwSd.js → DataExport-DNGgWqsx.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js} +24 -25
- package/dist/{DataImport--xUxoWAq.js → DataImport-CI9eM5T1.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js} +39 -40
- package/dist/{Date-C3H04U5q.js → Date-CGyzi8yX.js} +1 -1
- package/dist/{Date-DRk7BsnD.js → Date-CZGbZKjB.js} +8 -9
- package/dist/{DateRange-CICZ9gVp.js → DateRange-MbbkmZ_Y.js} +9 -10
- package/dist/{DateTime-DXHkaHtE.js → DateTime-DHrHmRLL.js} +1 -1
- package/dist/{DateTime-CjTCtAm4.js → DateTime-DqUOXGWH.js} +8 -9
- package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-DgXQkZLx.js} +11 -12
- package/dist/{Daterange-cmpjJVxl.js → Daterange-DLHJuRur.js} +8 -9
- package/dist/{Decimal-BzR8o8bv.js → Decimal-BUJuuvfr.js} +1 -1
- package/dist/{Delete-B2VzOnk8.js → Delete-BGMk0orl.js} +19 -20
- package/dist/{Detail-ayakHymC.js → Detail-D4KzWdHQ.js} +7 -8
- package/dist/Dictionary-Esd3ERAq.js +55 -0
- package/dist/{Email-BbipkOFP.js → Email-C9K09hwC.js} +9 -10
- package/dist/{File-B131KRit.js → File-ai1eYO7v.js} +49 -50
- package/dist/Image-CfY4G1Yn.js +9 -0
- package/dist/{Index-BnudlpyF.js → Index-B5o7uf36.js} +15 -16
- package/dist/Index-CH3nwnPZ.js +4 -0
- package/dist/Index-CTjDkp7e.js +4 -0
- package/dist/Index-DSZ8wa7U.js +4 -0
- package/dist/Index-DVdiF3gr.js +4 -0
- package/dist/{Index-Bps1k5-m.js → Index-DYHrSEZ5.js} +1 -1
- package/dist/Index-DsZPtDYE.js +173 -0
- package/dist/{Index-B20QLMmF.js → Index-S1btGSGD.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js} +8 -9
- package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js} +19 -27
- package/dist/{Install-BnCA1XK8.js → Install-D-MgafyF.js} +13 -14
- package/dist/{Int-BSA4Srky.js → Int-CnvfCxgn.js} +9 -10
- package/dist/{Int-BlwraOyw.js → Int-D3RqVcmN.js} +13 -14
- package/dist/List-DA4SO_le.js +71 -0
- package/dist/Maintaince-BIgEbjrq.js +14 -0
- package/dist/{Markdown-Can2d8HC.js → Markdown-hax8By5O.js} +1 -1
- package/dist/Month-5lTUiWin.js +37 -0
- package/dist/{Month-ClTpaaAr.js → Month-BDkwv-vc.js} +12 -13
- package/dist/{Month-Dyt_wc8r.js → Month-CnVTSnyK.js} +1 -1
- package/dist/{Normal-DBRpkCNs.js → Normal-DoE9t7d7.js} +73 -74
- package/dist/Paging-5qsCTRWy.js +92 -0
- package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-BFtE6jSy.js} +35 -36
- package/dist/{PagingRow-CqAYVjxH.js → PagingRow-CSB-kwMz.js} +19 -20
- package/dist/{Racebar-BhRmArVA.js → Racebar-Bc-dDRss.js} +26 -32
- package/dist/{Radio-DCVAYEgh.js → Radio-CMGOtMnx.js} +1 -1
- package/dist/{Register-Dr5HF0B6.js → Register-8wi0uixs.js} +54 -55
- package/dist/RichText-BR4Kvx0J.js +41 -0
- package/dist/{SearchFooter-D02JAZez.js → SearchFooter-DOC21dmS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js} +3 -3
- package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BMTSPce_.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js} +38 -41
- package/dist/{Select-ChwyjjbN.js → Select-DAxdpZlO.js} +8 -9
- package/dist/{Select-DK5-x-rC.js → Select-DnFyey0n.js} +23 -24
- package/dist/{Select-CaGb3SAi.js → Select-MBD4Simw.js} +1 -1
- package/dist/{Single-DIyLnILS.js → Single-D6x6VV_B.js} +85 -88
- package/dist/{Statistic-ArzDDFwp.js → Statistic-BS_DA72m.js} +22 -23
- package/dist/{Stock-DapT2McI.js → Stock-CbucObTu.js} +1 -1
- package/dist/{Stock-CsVIZtQ4.js → Stock-CtmevqBK.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js} +12 -13
- package/dist/{Switch-B0VJc80B.js → Switch-BlXAy9qH.js} +1 -1
- package/dist/{Table-C5kHBVpV.js → Table-CqsfAMh7.js} +84 -87
- package/dist/{Table-Cwe8QuVi.js → Table-Da9gan1Y.js} +78 -79
- package/dist/Text-C72NLZMt.js +48 -0
- package/dist/Text-CHvsKR9H.js +4 -0
- package/dist/{Text-CK1PT6x8.js → Text-CbZlEVTJ.js} +10 -11
- package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +53 -0
- package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-SAnZ7BfX.js} +10 -11
- package/dist/{Textarea-C6Pi4p9b.js → Textarea-DphCUpXp.js} +1 -1
- package/dist/{Time-DWG3pwjK.js → Time-DjE8yYdK.js} +10 -11
- package/dist/{Timeline-Bqq3rFbX.js → Timeline-D11vjkpZ.js} +13 -19
- package/dist/Tree-DK73Ou_F.js +117 -0
- package/dist/{Tree-CU2UHknq.js → Tree-kich05vY.js} +99 -102
- package/dist/{TreeNode-DD-YfbgL.js → TreeNode-Dx6cZ31Z.js} +10 -11
- package/dist/{Update-BdbT4B2n.js → Update-D2Plm_AG.js} +14 -15
- package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-BXV7QqaP.js} +20 -21
- package/dist/{Upload-CKHSikDI.js → Upload-B87EDynn.js} +44 -45
- package/dist/Upload-CHPjMGFZ.js +65 -0
- package/dist/{Year-nGY1S5_T.js → Year-BPFmIiPX.js} +1 -1
- package/dist/{Year-CnA4ZUPj.js → Year-C93IJgc8.js} +8 -9
- package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
- package/dist/main-nvsTmKXH.js +16321 -0
- package/dist/main.js +137 -136
- package/dist/style.css +1 -1
- package/esm/coms/business/Form.vue.d.ts +2 -1
- package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
- package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
- package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
- package/esm/coms/drivers/@types/index.d.ts +3 -1
- package/esm/coms/drivers/Index.vue.d.ts +26 -29
- package/esm/coms/drivers/Kind.vue.d.ts +8 -8
- package/esm/coms/layouts/Index.vue.d.ts +7 -3
- package/esm/coms/layouts/Side.vue.d.ts +5 -2
- package/esm/coms/layouts/Top.vue.d.ts +4 -1
- package/esm/coms/lists/Tree.vue.d.ts +2 -1
- package/esm/coms/pages/@types/index.d.ts +1 -2
- package/esm/coms/pages/Custom.vue.d.ts +2 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +2 -1
- package/esm/coms/pages/Single.vue.d.ts +2 -1
- package/esm/coms/pagings/Article.vue.d.ts +2 -1
- package/esm/coms/pagings/Index.vue.d.ts +2 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -1
- package/esm/coms/searches/Text.vue.d.ts +5 -7
- package/esm/svcs/ModuleSvc.d.ts +40 -0
- package/esm/svcs/index.d.ts +3 -3
- package/package.json +9 -9
- package/dist/Autocomplete-Buw1Hs35.js +0 -50
- package/dist/Calender-P8tmSbW2.js +0 -10
- package/dist/Callback-SEWVfpG_.js +0 -21
- package/dist/Cascader-DWNTommi.js +0 -47
- package/dist/Code-CQSTwwc4.js +0 -4
- package/dist/Code-CXMdFELH.js +0 -42
- package/dist/Code-THGJ7IzI.js +0 -60
- package/dist/Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js +0 -63
- package/dist/Column-CucHIBYv.js +0 -75
- package/dist/Custom-CkyWaXAB.js +0 -61
- package/dist/Dictionary-BiSpx7nU.js +0 -61
- package/dist/Image-Cb1PzLpD.js +0 -9
- package/dist/Index-2vdi0Nq0.js +0 -4
- package/dist/Index-BOKSKn0N.js +0 -4
- package/dist/Index-CymZGuJo.js +0 -174
- package/dist/Index-Cz0Ti6rP.js +0 -4
- package/dist/Index-Dhg6Vts6.js +0 -4
- package/dist/List-BnT_8B_q.js +0 -74
- package/dist/Maintaince-CwL7tseR.js +0 -20
- package/dist/Month-CRmTCjQr.js +0 -38
- package/dist/Paging-ByJhfHCh.js +0 -95
- package/dist/RichText-Dj93TxtW.js +0 -47
- package/dist/Text-D2P-_cQT.js +0 -54
- package/dist/Text-oKVRjuSR.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-epPB32IU.js +0 -59
- package/dist/Tree-DRUGEHR3.js +0 -123
- package/dist/Upload-BCGGzOTn.js +0 -71
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/main-BLb5AIWJ.js +0 -10249
@@ -1,14 +1,13 @@
|
|
1
|
-
import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as
|
2
|
-
import {
|
3
|
-
import "./
|
4
|
-
|
5
|
-
const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"], _e = { class: "article-title" }, ke = {
|
1
|
+
import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as re, withCtx as C, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as D, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as E } from "vue";
|
2
|
+
import { c as ce, d as h, f as de, a as pe, _ as me, i as ve, A as ge } from "./main-nvsTmKXH.js";
|
3
|
+
import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js";
|
4
|
+
const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"], be = { class: "article-title" }, ke = {
|
6
5
|
key: 0,
|
7
6
|
class: "article-content"
|
8
|
-
},
|
7
|
+
}, we = { class: "article-time" }, Ce = {
|
9
8
|
key: 1,
|
10
9
|
class: "article-view-count"
|
11
|
-
},
|
10
|
+
}, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"], Te = /* @__PURE__ */ le({
|
12
11
|
__name: "Article",
|
13
12
|
props: {
|
14
13
|
searchData: {},
|
@@ -20,12 +19,12 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
20
19
|
set: {}
|
21
20
|
},
|
22
21
|
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
23
|
-
setup(
|
24
|
-
let p =
|
22
|
+
setup(M, { expose: N, emit: U }) {
|
23
|
+
let p = U, A = M, { module: K, schema: F, table: n, layout: r, next: m, set: R, searchData: P } = oe(A), x = c(), y = c(), $ = c(), B = c(), H = c();
|
25
24
|
c({ layout: "prev, pager, next", count: 5 });
|
26
25
|
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), z = (t) => {
|
27
26
|
g("insert", null, t);
|
28
|
-
},
|
27
|
+
}, j = (t, l) => {
|
29
28
|
g("detail", t, l);
|
30
29
|
}, L = (t, l) => {
|
31
30
|
g("update", t, l);
|
@@ -36,12 +35,12 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
36
35
|
}, I = (t) => {
|
37
36
|
let l = t.map((s) => s[n.value.key.name]);
|
38
37
|
me.post(m.value.delete.route, l).then((s) => {
|
39
|
-
ve.success(s.message),
|
38
|
+
ve.success(s.message), T();
|
40
39
|
});
|
41
40
|
}, g = (t, l, s) => {
|
42
|
-
let v =
|
41
|
+
let v = S(t, l);
|
43
42
|
s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
|
44
|
-
},
|
43
|
+
}, S = (t, l = null) => {
|
45
44
|
let s = `${m.value[t].route}`;
|
46
45
|
if (l != null) {
|
47
46
|
let v = l[n.value.key.name];
|
@@ -50,7 +49,7 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
50
49
|
return s;
|
51
50
|
}, J = () => {
|
52
51
|
o.value.visible = !1, p("close");
|
53
|
-
},
|
52
|
+
}, T = (t = null) => {
|
54
53
|
o.value.visible = !1, p("succeed", t);
|
55
54
|
}, O = (t) => {
|
56
55
|
p("page-change", t);
|
@@ -59,18 +58,16 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
59
58
|
}, W = () => {
|
60
59
|
p("search");
|
61
60
|
}, X = () => {
|
62
|
-
|
61
|
+
V();
|
63
62
|
}, Y = (t, l) => {
|
64
|
-
|
65
|
-
return !1;
|
66
|
-
y.value.keyboard(t, l);
|
63
|
+
ge.triggerKeyboardHandler(H.value, t, l);
|
67
64
|
}, Z = (t) => {
|
68
|
-
|
69
|
-
},
|
70
|
-
if (
|
65
|
+
V();
|
66
|
+
}, V = () => {
|
67
|
+
if (y.value == null)
|
71
68
|
return;
|
72
|
-
let t = h.dom.getHeight(
|
73
|
-
|
69
|
+
let t = h.dom.getHeight(x.value), l = h.dom.getHeight([y.value.$el, $.value]);
|
70
|
+
B.value = t - l;
|
74
71
|
};
|
75
72
|
ae(() => {
|
76
73
|
});
|
@@ -78,87 +75,87 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
78
75
|
let t = `/${n.value.name}/article-footer`;
|
79
76
|
return ce.getComponent(t, "partial", "article-footer");
|
80
77
|
});
|
81
|
-
return
|
78
|
+
return N({ keyboardHandler: Y, resize: Z }), (t, l) => {
|
82
79
|
const s = b("el-scrollbar"), v = b("el-pagination"), te = b("el-drawer");
|
83
80
|
return u(), f("div", {
|
84
81
|
ref_key: "pagingRef",
|
85
|
-
ref:
|
82
|
+
ref: x,
|
86
83
|
class: "paging-article"
|
87
84
|
}, [
|
88
|
-
e(n).search.length > 0 ? (u(),
|
85
|
+
e(n).search.length > 0 ? (u(), k(fe, {
|
89
86
|
key: 0,
|
90
87
|
ref_key: "searchRef",
|
91
|
-
ref:
|
92
|
-
schema: e(
|
88
|
+
ref: y,
|
89
|
+
schema: e(F),
|
93
90
|
table: e(n),
|
94
91
|
layout: e(r),
|
95
|
-
"search-data": e(
|
92
|
+
"search-data": e(P),
|
96
93
|
onSubmit: e(W),
|
97
94
|
onMounted: e(X)
|
98
95
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
99
|
-
|
96
|
+
w(s, {
|
100
97
|
class: "article-scroller",
|
101
|
-
style: re({ height: e(
|
98
|
+
style: re({ height: e(B) + "px" })
|
102
99
|
}, {
|
103
|
-
default:
|
104
|
-
i("div",
|
105
|
-
(u(!0), f(se, null, ie(e(
|
100
|
+
default: C(() => [
|
101
|
+
i("div", he, [
|
102
|
+
(u(!0), f(se, null, ie(e(R)[e(n).name], (a) => (u(), f("a", {
|
106
103
|
class: "article",
|
107
104
|
href: `${e(m).detail.route}?id=${a[e(n).key.name]}`,
|
108
|
-
onClick:
|
105
|
+
onClick: D((Be) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
|
109
106
|
key: a[e(n).key.name]
|
110
107
|
}, [
|
111
108
|
i("img", {
|
112
109
|
class: "article-image",
|
113
110
|
src: a[e(r).image]
|
114
111
|
}, null, 8, ye),
|
115
|
-
i("div",
|
112
|
+
i("div", be, d(a[e(r).title]), 1),
|
116
113
|
e(h).html.getText(a[e(r).content]) ? (u(), f("div", ke, d(e(h).html.getText(a[e(r).content])), 1)) : _("", !0),
|
117
|
-
i("div",
|
118
|
-
a[e(r).viewCount] ? (u(), f("div",
|
119
|
-
(u(),
|
114
|
+
i("div", we, d(a[e(r).time]), 1),
|
115
|
+
a[e(r).viewCount] ? (u(), f("div", Ce, d(a[e(r).viewCount]), 1)) : _("", !0),
|
116
|
+
(u(), k(ue(e(ee)), {
|
120
117
|
table: e(n),
|
121
118
|
next: e(m),
|
122
|
-
set: e(
|
119
|
+
set: e(R),
|
123
120
|
row: a,
|
124
|
-
onPreview: e(
|
121
|
+
onPreview: e(j),
|
125
122
|
onEdit: e(L),
|
126
123
|
onCopy: e(q),
|
127
124
|
onBeforeRemove: e(G),
|
128
125
|
onRemove: e(I)
|
129
126
|
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
130
|
-
], 8,
|
127
|
+
], 8, _e))), 128)),
|
131
128
|
i("a", {
|
132
|
-
href: e(
|
129
|
+
href: e(S)("insert"),
|
133
130
|
class: "article-add",
|
134
|
-
onClick: l[0] || (l[0] =
|
131
|
+
onClick: l[0] || (l[0] = D(
|
135
132
|
//@ts-ignore
|
136
133
|
(...a) => e(z) && e(z)(...a),
|
137
134
|
["prevent"]
|
138
135
|
))
|
139
136
|
}, [
|
140
137
|
l[2] || (l[2] = i("i", { class: "fa fa-plus" }, null, -1)),
|
141
|
-
|
142
|
-
], 8,
|
138
|
+
E(" 添加新" + d(e(n).title), 1)
|
139
|
+
], 8, Re)
|
143
140
|
])
|
144
141
|
]),
|
145
142
|
_: 1
|
146
143
|
}, 8, ["style"]),
|
147
144
|
i("div", {
|
148
145
|
ref_key: "footerRef",
|
149
|
-
ref:
|
146
|
+
ref: $,
|
150
147
|
class: "article-bottom"
|
151
148
|
}, [
|
152
|
-
|
149
|
+
w(v, {
|
153
150
|
background: "",
|
154
151
|
layout: "total, prev, pager, next, jumper",
|
155
152
|
"current-page": e(r).page,
|
156
|
-
"page-size": e(r).
|
153
|
+
"page-size": e(r).size,
|
157
154
|
total: e(r).count,
|
158
155
|
onCurrentChange: e(O)
|
159
156
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
160
157
|
], 512),
|
161
|
-
e(o).page ? (u(),
|
158
|
+
e(o).page ? (u(), k(te, {
|
162
159
|
key: 1,
|
163
160
|
"destroy-on-close": "",
|
164
161
|
"append-to-body": e(o).appendToBody,
|
@@ -166,21 +163,21 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
166
163
|
modelValue: e(o).visible,
|
167
164
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
168
165
|
}, {
|
169
|
-
header:
|
170
|
-
i("div",
|
171
|
-
|
166
|
+
header: C(() => [
|
167
|
+
i("div", xe, [
|
168
|
+
E(d(e(m)[e(o).page].title) + " ", 1),
|
172
169
|
i("a", {
|
173
170
|
class: "drawer-copy",
|
174
171
|
href: e(h).url.getToUrl(e(o).url)
|
175
|
-
}, d(e(de)("common.link")), 9,
|
172
|
+
}, d(e(de)("common.link")), 9, $e)
|
176
173
|
])
|
177
174
|
]),
|
178
|
-
default:
|
179
|
-
|
175
|
+
default: C(() => [
|
176
|
+
w(e(pe), {
|
180
177
|
ref_key: "pageRef",
|
181
|
-
ref:
|
178
|
+
ref: H,
|
182
179
|
url: e(o).url,
|
183
|
-
onSucceed: e(
|
180
|
+
onSucceed: e(T),
|
184
181
|
onClose: e(J)
|
185
182
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
186
183
|
]),
|
@@ -191,5 +188,5 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
|
|
191
188
|
}
|
192
189
|
});
|
193
190
|
export {
|
194
|
-
|
191
|
+
Te as default
|
195
192
|
};
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as m, unref as e, withModifiers as p, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
|
2
|
-
import {
|
3
|
-
|
4
|
-
const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
2
|
+
import { f as a } from "./main-nvsTmKXH.js";
|
3
|
+
const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
|
5
4
|
__name: "ArticleFooter",
|
6
5
|
props: {
|
7
6
|
table: {},
|
@@ -76,5 +75,5 @@ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
|
76
75
|
}
|
77
76
|
});
|
78
77
|
export {
|
79
|
-
|
78
|
+
j as default
|
80
79
|
};
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as o, isRef as B } from "vue";
|
2
|
+
import { h as R, d as w, _ as A } from "./main-nvsTmKXH.js";
|
3
|
+
const q = /* @__PURE__ */ v({
|
4
|
+
__name: "Autocomplete",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(d, { emit: p }) {
|
15
|
+
let m = p, c = d, { table: i, field: r, set: I, modelValue: f } = _(c), a = V([]), g = null, h = (l, e) => {
|
16
|
+
if (a.value.length) {
|
17
|
+
let t = a.value.filter((s) => w.string.containsIgnoreCase(l, s.value));
|
18
|
+
e(t);
|
19
|
+
return;
|
20
|
+
}
|
21
|
+
let u = { text: g, conditions: [] };
|
22
|
+
A.post(r.value.control.data.route, u).then(({ data: t }) => {
|
23
|
+
a.value = t.map((s) => ({ value: s.text })), e(a.value);
|
24
|
+
}).catch(() => {
|
25
|
+
e([]);
|
26
|
+
});
|
27
|
+
}, n = x({
|
28
|
+
get() {
|
29
|
+
return f.value;
|
30
|
+
},
|
31
|
+
set(l) {
|
32
|
+
m("update:modelValue", l), m("change", l);
|
33
|
+
}
|
34
|
+
});
|
35
|
+
return (l, e) => {
|
36
|
+
const u = C("el-autocomplete");
|
37
|
+
return b(), k(u, {
|
38
|
+
clearable: "",
|
39
|
+
placeholder: o(R)(o(i).name, o(r).name),
|
40
|
+
"fetch-suggestions": o(h),
|
41
|
+
modelValue: o(n),
|
42
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => B(n) ? n.value = t : n = t)
|
43
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
44
|
+
};
|
45
|
+
}
|
46
|
+
});
|
47
|
+
export {
|
48
|
+
q as default
|
49
|
+
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const w = /* @__PURE__ */ _({
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
|
2
|
+
import { h as D, d as R, _ as A } from "./main-nvsTmKXH.js";
|
3
|
+
const q = /* @__PURE__ */ v({
|
5
4
|
__name: "Autocomplete",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -11,15 +10,15 @@ const w = /* @__PURE__ */ _({
|
|
11
10
|
modelValue: {}
|
12
11
|
},
|
13
12
|
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(
|
15
|
-
let s =
|
13
|
+
setup(d, { emit: p }) {
|
14
|
+
let s = p, c = d, { table: i, field: m, searchData: I, modelValue: f } = _(c), o = V([]), h = null, g = (l, e) => {
|
16
15
|
if (o.value.length) {
|
17
|
-
let t = o.value.filter((r) =>
|
16
|
+
let t = o.value.filter((r) => R.string.containsIgnoreCase(l, r.value));
|
18
17
|
e(t);
|
19
18
|
return;
|
20
19
|
}
|
21
20
|
let u = { text: h, conditions: [] };
|
22
|
-
|
21
|
+
A.post(m.value.control.data.route, u).then(({ data: t }) => {
|
23
22
|
o.value = t.map((r) => ({ value: r.text })), e(o.value);
|
24
23
|
}).catch(() => {
|
25
24
|
e([]);
|
@@ -34,16 +33,16 @@ const w = /* @__PURE__ */ _({
|
|
34
33
|
});
|
35
34
|
return (l, e) => {
|
36
35
|
const u = C("el-autocomplete");
|
37
|
-
return
|
36
|
+
return b(), k(u, {
|
38
37
|
clearable: "",
|
39
|
-
placeholder: a(
|
38
|
+
placeholder: a(D)(a(i).name, a(m).name),
|
40
39
|
"fetch-suggestions": a(g),
|
41
40
|
modelValue: a(n),
|
42
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
41
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => B(n) ? n.value = t : n = t)
|
43
42
|
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
44
43
|
};
|
45
44
|
}
|
46
45
|
});
|
47
46
|
export {
|
48
|
-
|
47
|
+
q as default
|
49
48
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let m = i(() => import("./Text-
|
13
|
+
let m = i(() => import("./Text-CHvsKR9H.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
|
14
14
|
return (u, o) => (V(), b(e(m), {
|
15
15
|
schema: u.schema,
|
16
16
|
table: e(r),
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Code-
|
13
|
+
let r = i(() => import("./Code-DIGn8Raz.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { openBlock as e, createElementBlock as r } from "vue";
|
2
|
+
import { l as c } from "./main-nvsTmKXH.js";
|
3
|
+
const n = {};
|
4
|
+
function o(t, l) {
|
5
|
+
return e(), r("div", null, "日历");
|
6
|
+
}
|
7
|
+
const f = /* @__PURE__ */ c(n, [["render", o]]);
|
8
|
+
export {
|
9
|
+
f as default
|
10
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { defineComponent as i } from "vue";
|
2
|
+
import { useRouter as o, useRoute as n } from "vue-router";
|
3
|
+
import { i as s, I as u } from "./main-nvsTmKXH.js";
|
4
|
+
const _ = /* @__PURE__ */ i({
|
5
|
+
__name: "Callback",
|
6
|
+
setup(a) {
|
7
|
+
let r = o(), t = n().query;
|
8
|
+
return (async () => {
|
9
|
+
if (!t.type) {
|
10
|
+
s.error("缺失type参数");
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
let e = await u.sso.createAsync(t.type.toString());
|
14
|
+
t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
|
15
|
+
})(), (e, y) => " 登录完毕,处理回调中... ";
|
16
|
+
}
|
17
|
+
});
|
18
|
+
export {
|
19
|
+
_ as default
|
20
|
+
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as d, renderList as m, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
+
import { d as B } from "./main-nvsTmKXH.js";
|
3
|
+
const C = { class: "text-cascader" }, S = {
|
4
|
+
key: 0,
|
5
|
+
class: "cascader-seperator"
|
6
|
+
}, I = /* @__PURE__ */ y({
|
7
|
+
__name: "Cascader",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change"],
|
17
|
+
setup(_, { emit: V }) {
|
18
|
+
let v = _, { table: w, field: s, set: E, row: z, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
19
|
+
if (u.value.length > 0) {
|
20
|
+
let i = s.value.control.data.data, n = [];
|
21
|
+
return u.value.forEach((r) => {
|
22
|
+
let l = B.tree.getParentsById(r, "value", i, "children", !0);
|
23
|
+
l.length > 0 && n.push(l);
|
24
|
+
}), n;
|
25
|
+
}
|
26
|
+
return [];
|
27
|
+
});
|
28
|
+
return (i, n) => (e(), t("div", C, [
|
29
|
+
(e(!0), t(d, null, m(f(c), (r, l) => (e(), t("span", null, [
|
30
|
+
(e(!0), t(d, null, m(r, (o, g) => (e(), t("span", {
|
31
|
+
style: x({ color: o.color }),
|
32
|
+
key: o.value
|
33
|
+
}, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
34
|
+
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
35
|
+
]))), 256))
|
36
|
+
]));
|
37
|
+
}
|
38
|
+
});
|
39
|
+
export {
|
40
|
+
I as default
|
41
|
+
};
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as
|
2
|
-
import { k as
|
3
|
-
import "./assets/moment-h96o7c8I.js";
|
1
|
+
import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as D, unref as a, isRef as I, withCtx as P, createElementVNode as j, createTextVNode as q, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
+
import { k as T, d as h, _ as U } from "./main-nvsTmKXH.js";
|
4
3
|
const z = {
|
5
4
|
key: 0,
|
6
5
|
class: "cascader-suffix"
|
7
6
|
}, A = {
|
8
7
|
key: 0,
|
9
8
|
class: "cascader-length"
|
10
|
-
},
|
9
|
+
}, K = /* @__PURE__ */ E({
|
11
10
|
__name: "Cascader",
|
12
11
|
props: {
|
13
12
|
schema: {},
|
@@ -19,58 +18,58 @@ const z = {
|
|
19
18
|
},
|
20
19
|
emits: ["submit", "change", "update:modelValue"],
|
21
20
|
setup(v, { emit: g }) {
|
22
|
-
let d = g,
|
23
|
-
|
21
|
+
let d = g, V = v, { table: _, field: t, set: F, row: G, modelValue: b } = w(V), n = N(), p = null, x = () => {
|
22
|
+
n.value || (n.value = t.value.control.data.data);
|
24
23
|
let e = b.value, l = [];
|
25
24
|
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
|
26
|
-
let o =
|
25
|
+
let o = h.tree.getParentsById(r, "value", n.value, "children", !0);
|
27
26
|
o.length > 0 && l.push(o.map((B) => B.value));
|
28
|
-
}) :
|
27
|
+
}) : h.tree.getParentsById(e, "value", n.value, "children", !0).forEach((r) => {
|
29
28
|
l.push(r.value);
|
30
29
|
}), l;
|
31
|
-
}, C = (e) => {
|
32
|
-
let l;
|
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);
|
34
30
|
}, k = (e) => {
|
31
|
+
let l;
|
32
|
+
t.value.control.multiple ? l = e.map((s) => s[s.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
|
33
|
+
}, C = (e) => {
|
35
34
|
e && (p = null, y());
|
36
35
|
}, y = () => {
|
37
36
|
let e = { text: p, conditions: [] };
|
38
37
|
t.value.control.data.conditions.forEach((l) => {
|
39
38
|
e.conditions.push({ name: l.name, value: null });
|
40
|
-
}),
|
41
|
-
|
39
|
+
}), U.post(t.value.control.data.route, e).then(({ data: l }) => {
|
40
|
+
n.value = l;
|
42
41
|
});
|
43
42
|
}, u = R({
|
44
43
|
get() {
|
45
44
|
return x();
|
46
45
|
},
|
47
46
|
set(e) {
|
48
|
-
|
47
|
+
k(e);
|
49
48
|
}
|
50
49
|
});
|
51
50
|
return (e, l) => {
|
52
|
-
const
|
53
|
-
return c(),
|
51
|
+
const s = S("el-cascader");
|
52
|
+
return c(), D(s, {
|
54
53
|
ref: "cascaderRef",
|
55
|
-
placeholder: a(
|
54
|
+
placeholder: a(T)(a(_).name, a(t).name),
|
56
55
|
filterable: "",
|
57
56
|
"collapse-tags": "",
|
58
57
|
"collapse-tags-tooltip": "",
|
59
58
|
"max-collapse-tags": 6,
|
60
|
-
options: a(
|
59
|
+
options: a(n),
|
61
60
|
disabled: a(t).readonly,
|
62
61
|
props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
|
63
62
|
clearable: !a(t).control.required,
|
64
|
-
onVisibleChange: a(
|
63
|
+
onVisibleChange: a(C),
|
65
64
|
modelValue: a(u),
|
66
|
-
"onUpdate:modelValue": l[0] || (l[0] = (r) =>
|
65
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => I(u) ? u.value = r : u = r)
|
67
66
|
}, {
|
68
|
-
default:
|
69
|
-
|
70
|
-
|
71
|
-
o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) :
|
67
|
+
default: P(({ node: r, data: o }) => [
|
68
|
+
j("span", null, [
|
69
|
+
q(i(o.text), 1),
|
70
|
+
o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) : f("", !0)
|
72
71
|
]),
|
73
|
-
o.children ? (c(), m("span", A, i(o.children.length), 1)) :
|
72
|
+
o.children ? (c(), m("span", A, i(o.children.length), 1)) : f("", !0)
|
74
73
|
]),
|
75
74
|
_: 1
|
76
75
|
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
@@ -78,5 +77,5 @@ const z = {
|
|
78
77
|
}
|
79
78
|
});
|
80
79
|
export {
|
81
|
-
|
80
|
+
K as default
|
82
81
|
};
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = u(() => import("./Dictionary-
|
13
|
+
let r = u(() => import("./Dictionary-Esd3ERAq.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as N, toRefs as w, ref as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__PURE__ */ N({
|
1
|
+
import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as f, openBlock as s, createElementBlock as g, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
|
2
|
+
import { f as D } from "./main-nvsTmKXH.js";
|
3
|
+
const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__PURE__ */ N({
|
5
4
|
__name: "Checkbox",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -13,35 +12,35 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__P
|
|
13
12
|
},
|
14
13
|
emits: ["change", "update:modelValue"],
|
15
14
|
setup(x, { emit: b }) {
|
16
|
-
let
|
15
|
+
let i = b, C = x, { field: r, table: T, set: j, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
|
17
16
|
o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
|
18
17
|
}, B = (n) => {
|
19
18
|
let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
|
20
19
|
u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
|
21
20
|
}, o = A({
|
22
21
|
get() {
|
23
|
-
return
|
22
|
+
return h.value ? h.value.split(",") : [];
|
24
23
|
},
|
25
24
|
set(n) {
|
26
25
|
let e = n.toString();
|
27
|
-
|
26
|
+
i("update:modelValue", e), i("change", e);
|
28
27
|
}
|
29
28
|
});
|
30
29
|
return (n, e) => {
|
31
|
-
const a =
|
32
|
-
return
|
30
|
+
const a = f("el-checkbox"), d = f("el-checkbox-group");
|
31
|
+
return s(), g("div", F, [
|
33
32
|
v(d, {
|
34
33
|
onChange: t(B),
|
35
34
|
modelValue: t(o),
|
36
35
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
|
37
36
|
}, {
|
38
|
-
default:
|
39
|
-
(
|
37
|
+
default: m(() => [
|
38
|
+
(s(!0), g(E, null, R(t(r).control.data.data, (l) => (s(), S(a, {
|
40
39
|
disabled: t(r).control.readonly,
|
41
40
|
value: l.value,
|
42
41
|
key: l.value
|
43
42
|
}, {
|
44
|
-
default:
|
43
|
+
default: m(() => [
|
45
44
|
V(k(l.text), 1)
|
46
45
|
]),
|
47
46
|
_: 2
|
@@ -56,7 +55,7 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__P
|
|
56
55
|
modelValue: t(u),
|
57
56
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
|
58
57
|
}, {
|
59
|
-
default:
|
58
|
+
default: m(() => [
|
60
59
|
V(k(t(D)("common.select_all")), 1)
|
61
60
|
]),
|
62
61
|
_: 1
|
@@ -67,5 +66,5 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__P
|
|
67
66
|
}
|
68
67
|
});
|
69
68
|
export {
|
70
|
-
|
69
|
+
G as default
|
71
70
|
};
|