halo-pc 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-BZph3Slr.js +194 -0
- package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BW_G0Irk.js} +17 -24
- package/dist/Autocomplete-CuAwiHhE.js +49 -0
- package/dist/Autocomplete-Dw1r9LjJ.js +48 -0
- package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-qmcT2ECx.js} +1 -1
- package/dist/{CSharp-BGzxI5QJ.js → CSharp-BWYY3ixE.js} +1 -1
- package/dist/{Calender-DkBPl9bM.js → Calender-CGxlpOR0.js} +3 -3
- package/dist/Callback-phrGGQ_Q.js +20 -0
- package/dist/Cascader-CT7ASkSy.js +41 -0
- package/dist/Cascader-CsJ1jVBY.js +81 -0
- package/dist/{Checkbox-CuRjXSPc.js → Checkbox-BOC7ECAx.js} +1 -1
- package/dist/Checkbox-BePH3x-V.js +70 -0
- package/dist/Code-CE-Fe7WB.js +36 -0
- package/dist/{Code-BlwPnx9J.js → Code-CWxVzJHq.js} +1 -1
- package/dist/Code-CqLG9fEE.js +54 -0
- package/dist/Code-TBB9w4CV.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-oiyt3bsp.js +59 -0
- package/dist/Column-Ctyq9hqP.js +68 -0
- package/dist/Comment-RyVJJjTd.js +98 -0
- package/dist/Compare-DEccApnU.js +56 -0
- package/dist/Compare-ZBeSkf8f.js +26 -0
- package/dist/Copy-CNJ1TZJl.js +43 -0
- package/dist/Custom-DHvr_EJi.js +51 -0
- package/dist/{DataExport-C0jItlVY.js → DataExport-39v2Wzii.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js} +34 -40
- package/dist/{DataImport-BfBkneEy.js → DataImport-C1O_zTRs.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js} +54 -59
- package/dist/{Date-B8b9JXpP.js → Date-BAk-TE4a.js} +1 -1
- package/dist/Date-CsIPLFzI.js +37 -0
- package/dist/DateRange-BXSMqDJ0.js +57 -0
- package/dist/DateTime-2RoBkqWb.js +38 -0
- package/dist/{DateTime-DjhuyxFC.js → DateTime-DSiPx95t.js} +1 -1
- package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-l6kVSbZe.js} +13 -20
- package/dist/Daterange-DRq9WIRI.js +57 -0
- package/dist/{Decimal-DqMMTfvl.js → Decimal-DGia5Sy8.js} +1 -1
- package/dist/Delete-B7X35s7r.js +56 -0
- package/dist/{Detail-C-OFWPso.js → Detail-wJXhceca.js} +16 -23
- package/dist/Dictionary-CUFHT-1d.js +55 -0
- package/dist/Email-BqiiArN8.js +48 -0
- package/dist/{File-C2fLmTcj.js → File-DngRHLmK.js} +40 -47
- package/dist/Image-D3FNAo-5.js +9 -0
- package/dist/Index-B3hh_9-f.js +4 -0
- package/dist/{Index-D7DerkIw.js → Index-B4bG41Qh.js} +1 -1
- package/dist/Index-BJ4rN3ua.js +4 -0
- package/dist/Index-C3EFws1o.js +4 -0
- package/dist/Index-ChQl4mWS.js +70 -0
- package/dist/{Index-B90giDWQ.js → Index-D6WfgZso.js} +1 -1
- package/dist/Index-Dec7ANPo.js +173 -0
- package/dist/{Index-CQURvmzd.js → Index-yxohMYWu.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js} +16 -23
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js} +14 -21
- package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js} +30 -36
- package/dist/{Install-Cqj44p9F.js → Install-DvLkDt-G.js} +20 -27
- package/dist/{Int-Bj3Gagp5.js → Int-CTZDyiRf.js} +9 -16
- package/dist/Int-DUxDmxeN.js +41 -0
- package/dist/List-DhQAnj6h.js +73 -0
- package/dist/Maintaince-DlOgC995.js +14 -0
- package/dist/{Markdown-COY9enBf.js → Markdown-BBZs8Oeu.js} +1 -1
- package/dist/Month-BOpeFNyJ.js +37 -0
- package/dist/Month-CGeJVL3p.js +38 -0
- package/dist/{Month-B7jIGlKI.js → Month-UvBNgDPi.js} +1 -1
- package/dist/{Normal-B8YL2DeI.js → Normal-AYl3k_ON.js} +43 -49
- package/dist/Paging-B45u8Pwz.js +94 -0
- package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-BKtQX0FN.js} +37 -44
- package/dist/{PagingRow-CHDlm8UI.js → PagingRow-C1sBqbWn.js} +21 -28
- package/dist/QueryApi-DwKYCq-u.js +13 -0
- package/dist/{Racebar-ClsuYbRj.js → Racebar-DEHtOLFI.js} +43 -49
- package/dist/{Radio-C6j5nvI9.js → Radio-i6CjikAh.js} +1 -1
- package/dist/{Register-BnwfjjXP.js → Register-SHm6xbyk.js} +74 -80
- package/dist/RichText-Bxc-XIY-.js +41 -0
- package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-Co8AjPaU.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js} +1 -1
- package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CMiBnK26.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js} +34 -40
- package/dist/{Select-BiFIpc5-.js → Select-B-gNnoDq.js} +1 -1
- package/dist/Select-DuecGTXX.js +111 -0
- package/dist/{Select-Z8b2t5QQ.js → Select-t1xYHXcV.js} +19 -26
- package/dist/{Single-DdcVVH9V.js → Single-Da4zGSt4.js} +116 -122
- package/dist/{Statistic-B7niMPBf.js → Statistic-MUCQAxl_.js} +25 -31
- package/dist/{Stock-CRsu1vcy.js → Stock-C0gpktjX.js} +1 -1
- package/dist/{Stock-xm8v4vDf.js → Stock-CFVyfAIN.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js} +26 -32
- package/dist/{Switch-BaER4xWy.js → Switch-CT0S6MHJ.js} +1 -1
- package/dist/{Table-C2dYPoGi.js → Table-CU6q8l3a.js} +54 -61
- package/dist/{Table-a5uj25Nj.js → Table-NC8CrrxW.js} +63 -68
- package/dist/Text-Bx4cfjya.js +52 -0
- package/dist/{Text-CMEzogZ8.js → Text-ChJQSLGE.js} +1 -1
- package/dist/Text-ChdZDU0g.js +53 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-BZNDg39p.js +53 -0
- package/dist/TextLink-DIHx9sjo.js +59 -0
- package/dist/{Textarea-DAICkidp.js → Textarea-CRi6hLdT.js} +1 -1
- package/dist/Time-Cn6eQVUQ.js +37 -0
- package/dist/Timeline-DpEcUmkJ.js +53 -0
- package/dist/{Tree-BwQkDP2T.js → Tree-B0Rqvp37.js} +73 -79
- package/dist/Tree-nr0ZIvCA.js +117 -0
- package/dist/TreeNode-e51TMrSj.js +37 -0
- package/dist/{Update-BZe92EwV.js → Update-QF8Zkcdq.js} +13 -20
- package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-DouQaV7E.js} +19 -26
- package/dist/Upload-0ba29Dyr.js +67 -0
- package/dist/Upload-BXj28BSA.js +146 -0
- package/dist/UploadApi-Boq1A5E-.js +13 -0
- package/dist/Year-DuBH5ghc.js +41 -0
- package/dist/{Year-2tcz8PDF.js → Year-x4NXoaB_.js} +1 -1
- package/dist/main-RFuk2-Bk.js +19837 -0
- package/dist/main.js +54 -56
- package/dist/style.css +1 -1
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/vite.config.d.ts +6 -0
- package/package.json +1 -1
- package/dist/Article-BH4dl6Bf.js +0 -201
- package/dist/Autocomplete-DYxWYClO.js +0 -55
- package/dist/Autocomplete-SOenNkH4.js +0 -54
- package/dist/Callback-B57W83N1.js +0 -27
- package/dist/Cascader-BI6T7N-q.js +0 -88
- package/dist/Cascader-BoN_F8v4.js +0 -48
- package/dist/Checkbox-DdolP6wO.js +0 -77
- package/dist/Code--y8oCkjX.js +0 -43
- package/dist/Code-C48Gf7gU.js +0 -61
- package/dist/Code-DiOQvIZv.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js +0 -66
- package/dist/Column-BNGw36Iq.js +0 -75
- package/dist/Comment-D37SdQb6.js +0 -105
- package/dist/Compare-C09T8aaU.js +0 -33
- package/dist/Compare-CnnCTG12.js +0 -63
- package/dist/Copy-DNrXXJRQ.js +0 -50
- package/dist/Custom--I04Jyzr.js +0 -58
- package/dist/Date-TKW4HbCJ.js +0 -44
- package/dist/DateRange-JCP1Eokf.js +0 -64
- package/dist/DateTime-DVOVXS_f.js +0 -45
- package/dist/Daterange-CqHXC9JN.js +0 -64
- package/dist/Delete-PcTE_3Cp.js +0 -63
- package/dist/Dictionary-Cfhmc2OQ.js +0 -60
- package/dist/Email-Rj-ZvdfJ.js +0 -55
- package/dist/Image-zgBgvAup.js +0 -9
- package/dist/Index-9fyKz8TT.js +0 -4
- package/dist/Index-CAlWNb2l.js +0 -179
- package/dist/Index-CjFLlnmH.js +0 -4
- package/dist/Index-Cr2WAY6Z.js +0 -76
- package/dist/Index-Izl4chSJ.js +0 -4
- package/dist/Int-dlbcQ6_t.js +0 -47
- package/dist/List-BsAOvgmQ.js +0 -80
- package/dist/Maintaince-DjSvIfbu.js +0 -21
- package/dist/Month-BhNUuzcc.js +0 -44
- package/dist/Month-KDuTRSA0.js +0 -45
- package/dist/Paging-BlFnu-w0.js +0 -100
- package/dist/QueryApi-Bc_kmvgs.js +0 -21
- package/dist/RichText-BImFNkHQ.js +0 -48
- package/dist/Select-f15Y0Ko-.js +0 -118
- package/dist/Text-CqKE2xDo.js +0 -59
- package/dist/Text-DfqLW_KH.js +0 -60
- package/dist/Text.vue_vue_type_style_index_0_lang-BNpeGb1c.js +0 -60
- package/dist/TextLink-XJurKE8Q.js +0 -66
- package/dist/Time-BmdIHgOY.js +0 -44
- package/dist/Timeline-BOPAiaK-.js +0 -60
- package/dist/Tree-BR8gmBBa.js +0 -123
- package/dist/TreeNode-CdBVgaRW.js +0 -43
- package/dist/Upload-BtErvzEO.js +0 -151
- package/dist/Upload-vPTA8ndw.js +0 -73
- package/dist/UploadApi-CpwS4Kf1.js +0 -21
- package/dist/Year-CVqwpSLR.js +0 -48
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/state-local-CEworIRt.js +0 -131
- 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/assets/vue-i18n-CLr3brPz.js +0 -1670
- package/dist/main-BS_9gx1M.js +0 -8937
@@ -1,15 +1,8 @@
|
|
1
|
-
import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as
|
2
|
-
import "./
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import { N, t as m } from "./main-BS_9gx1M.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as c, createTextVNode as a, toDisplayString as i, createElementVNode as m } from "vue";
|
2
|
+
import { F as N, U as s } from "./main-RFuk2-Bk.js";
|
10
3
|
import "vue-router";
|
11
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
12
|
-
const V = /* @__PURE__ */
|
5
|
+
const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__PURE__ */ m("i", { class: "fa fa-copy" }, null, -1), B = /* @__PURE__ */ m("i", { class: "fa fa-chevron-left" }, null, -1), T = /* @__PURE__ */ C({
|
13
6
|
__name: "Detail",
|
14
7
|
props: {
|
15
8
|
route: {},
|
@@ -19,18 +12,18 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
19
12
|
},
|
20
13
|
emits: ["copy", "edit", "close"],
|
21
14
|
setup(_, { emit: f }) {
|
22
|
-
let
|
23
|
-
|
15
|
+
let n = f, u = _, { route: D, table: r, set: p, next: U } = h(u), d = (o) => {
|
16
|
+
n("copy", p.value[r.value.name][0], o);
|
24
17
|
}, y = (o) => {
|
25
|
-
|
18
|
+
n("edit", p.value[r.value.name][0], o);
|
26
19
|
}, k = () => {
|
27
|
-
|
20
|
+
n("close");
|
28
21
|
};
|
29
|
-
return (o,
|
30
|
-
const
|
22
|
+
return (o, w) => {
|
23
|
+
const l = v("el-button");
|
31
24
|
return x(), b(e(N), { padding: 5 }, {
|
32
25
|
default: t(() => [
|
33
|
-
l
|
26
|
+
c(l, {
|
34
27
|
type: "primary",
|
35
28
|
onClick: e(y)
|
36
29
|
}, {
|
@@ -38,11 +31,11 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
38
31
|
V
|
39
32
|
]),
|
40
33
|
default: t(() => [
|
41
|
-
|
34
|
+
a(" " + i(e(s)("common.modify")), 1)
|
42
35
|
]),
|
43
36
|
_: 1
|
44
37
|
}, 8, ["onClick"]),
|
45
|
-
l
|
38
|
+
c(l, {
|
46
39
|
type: "primary",
|
47
40
|
plain: "",
|
48
41
|
onClick: e(d)
|
@@ -51,16 +44,16 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
51
44
|
g
|
52
45
|
]),
|
53
46
|
default: t(() => [
|
54
|
-
|
47
|
+
a(" " + i(e(s)("common.copy")), 1)
|
55
48
|
]),
|
56
49
|
_: 1
|
57
50
|
}, 8, ["onClick"]),
|
58
|
-
l
|
51
|
+
c(l, { onClick: e(k) }, {
|
59
52
|
icon: t(() => [
|
60
53
|
B
|
61
54
|
]),
|
62
55
|
default: t(() => [
|
63
|
-
|
56
|
+
a(" " + i(e(s)("common.back")), 1)
|
64
57
|
]),
|
65
58
|
_: 1
|
66
59
|
}, 8, ["onClick"])
|
@@ -71,5 +64,5 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
71
64
|
}
|
72
65
|
});
|
73
66
|
export {
|
74
|
-
|
67
|
+
T as default
|
75
68
|
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as g, toRefs as x, computed as r, resolveComponent as h, openBlock as o, createElementBlock as a, Fragment as V, renderList as b, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as n, createCommentVNode as w } from "vue";
|
2
|
+
import { f as s, X as D, i as E } from "./main-RFuk2-Bk.js";
|
3
|
+
const z = { class: "text-dictionary" }, F = {
|
4
|
+
key: 0,
|
5
|
+
class: "suffix"
|
6
|
+
}, j = /* @__PURE__ */ g({
|
7
|
+
__name: "Dictionary",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: { type: [String, Number, Boolean] }
|
15
|
+
},
|
16
|
+
emits: ["submit", "change", "update:modelValue"],
|
17
|
+
setup(i, { emit: c }) {
|
18
|
+
let u = c, m = i, { table: L, field: f, set: R, modelValue: d } = x(m), t = r({
|
19
|
+
get() {
|
20
|
+
return d.value;
|
21
|
+
},
|
22
|
+
set(e) {
|
23
|
+
u("update:modelValue", e), u("change", e);
|
24
|
+
}
|
25
|
+
}), p = r(() => {
|
26
|
+
if (t.value == null)
|
27
|
+
return [];
|
28
|
+
if (s.isNumber(t.value))
|
29
|
+
return [t.value];
|
30
|
+
if (s.isBoolean(t.value))
|
31
|
+
return [t.value];
|
32
|
+
let e = t.value.toString();
|
33
|
+
return D.isEmpty(e) ? [] : e.split(",");
|
34
|
+
}), _ = r(() => E.fromValues(p.value, f.value.control.data.data, "value", "text"));
|
35
|
+
return (e, T) => {
|
36
|
+
const v = h("el-tag");
|
37
|
+
return o(), a("div", z, [
|
38
|
+
(o(!0), a(V, null, b(k(_), (l, y) => (o(), B(v, {
|
39
|
+
type: "info",
|
40
|
+
style: C({ color: l.color }),
|
41
|
+
key: y
|
42
|
+
}, {
|
43
|
+
default: N(() => [
|
44
|
+
S(n(l.text) + " ", 1),
|
45
|
+
l.suffix ? (o(), a("span", F, "(" + n(l.suffix) + ")", 1)) : w("", !0)
|
46
|
+
]),
|
47
|
+
_: 2
|
48
|
+
}, 1032, ["style"]))), 128))
|
49
|
+
]);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
j as default
|
55
|
+
};
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { defineComponent as f, toRefs as V, computed as _, resolveComponent as b, openBlock as y, createBlock as h, unref as e, withKeys as x, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
|
2
|
+
import { z as K } from "./main-RFuk2-Bk.js";
|
3
|
+
const S = /* @__PURE__ */ f({
|
4
|
+
__name: "Email",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(i, { emit: s }) {
|
15
|
+
let o = s, u = i, { table: d, field: t, set: z, modelValue: p } = V(u), r = () => {
|
16
|
+
o("submit");
|
17
|
+
}, l = _({
|
18
|
+
get() {
|
19
|
+
return p.value;
|
20
|
+
},
|
21
|
+
set(a) {
|
22
|
+
o("update:modelValue", a), o("change", a);
|
23
|
+
}
|
24
|
+
});
|
25
|
+
return (a, n) => {
|
26
|
+
const c = b("el-input");
|
27
|
+
return y(), h(c, {
|
28
|
+
type: "email",
|
29
|
+
disabled: e(t).control.readonly,
|
30
|
+
placeholder: e(K)(e(d).name, e(t).name),
|
31
|
+
onKeyup: x(e(r), ["enter", "native"]),
|
32
|
+
modelValue: e(l),
|
33
|
+
"onUpdate:modelValue": n[0] || (n[0] = (m) => g(l) ? l.value = m : l = m)
|
34
|
+
}, k({ _: 2 }, [
|
35
|
+
e(t).suffix ? {
|
36
|
+
name: "append",
|
37
|
+
fn: v(() => [
|
38
|
+
w(C(e(t).suffix), 1)
|
39
|
+
]),
|
40
|
+
key: "0"
|
41
|
+
} : void 0
|
42
|
+
]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
|
43
|
+
};
|
44
|
+
}
|
45
|
+
});
|
46
|
+
export {
|
47
|
+
S as default
|
48
|
+
};
|
@@ -1,26 +1,19 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import "./
|
4
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
5
|
-
import "./assets/clone-BZn0cTAu.js";
|
6
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import { J as H, b as I, B as c, t as K, h as M, c as O } from "./main-BS_9gx1M.js";
|
10
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as j, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as L, Fragment as $, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
|
2
|
+
import { useRoute as W, useRouter as A } from "vue-router";
|
3
|
+
import { x as G, a as H, k as c, U as I, L as J, l as K } from "./main-RFuk2-Bk.js";
|
11
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
12
|
-
import { _ as
|
13
|
-
const
|
5
|
+
import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js";
|
6
|
+
const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), Y = [
|
14
7
|
X
|
15
8
|
], Z = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), ee = [
|
16
9
|
Z
|
17
10
|
], te = {
|
18
11
|
key: 0,
|
19
12
|
class: "files-image"
|
20
|
-
},
|
13
|
+
}, ae = { class: "file-image" }, oe = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
|
21
14
|
key: 2,
|
22
15
|
class: "not-support"
|
23
|
-
},
|
16
|
+
}, fe = /* @__PURE__ */ j({
|
24
17
|
__name: "File",
|
25
18
|
props: {
|
26
19
|
searchData: {},
|
@@ -32,51 +25,51 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
|
|
32
25
|
set: {}
|
33
26
|
},
|
34
27
|
setup(z) {
|
35
|
-
let
|
36
|
-
let
|
37
|
-
|
38
|
-
c.fileLayout =
|
28
|
+
let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: ue } = P(F), f = W(), v = A(), k = T(), C = (a) => {
|
29
|
+
let o = { type: "fileLayout", value: a };
|
30
|
+
J.post("/user/config", o).then((y) => {
|
31
|
+
c.fileLayout = a;
|
39
32
|
});
|
40
|
-
},
|
41
|
-
let a = { ...f.query };
|
42
|
-
a.page = o, v.push({ path: d.value.paging.route, query: a });
|
43
|
-
}, V = () => {
|
33
|
+
}, V = (a) => {
|
44
34
|
let o = { ...f.query };
|
45
|
-
o.page =
|
46
|
-
|
47
|
-
|
35
|
+
o.page = a, v.push({ path: d.value.paging.route, query: o });
|
36
|
+
}, B = () => {
|
37
|
+
let a = { ...f.query };
|
38
|
+
a.page = "1", a.condition = K.encode(k.value);
|
39
|
+
let o = { path: d.value.paging.route, query: a };
|
40
|
+
v.push(o);
|
48
41
|
};
|
49
|
-
return (
|
50
|
-
const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"),
|
51
|
-
return l(), u("div",
|
52
|
-
h(e(
|
53
|
-
title: e(
|
42
|
+
return (a, o) => {
|
43
|
+
const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), U = p("el-pagination");
|
44
|
+
return l(), u("div", O, [
|
45
|
+
h(e(G), {
|
46
|
+
title: e(H)(a.module.type, a.module.name)
|
54
47
|
}, {
|
55
48
|
operation: r(() => [
|
56
|
-
s("div",
|
49
|
+
s("div", Q, [
|
57
50
|
s("a", {
|
58
|
-
class:
|
59
|
-
onClick:
|
51
|
+
class: L({ active: e(c).fileLayout == "list" }),
|
52
|
+
onClick: o[0] || (o[0] = (t) => e(C)("list"))
|
60
53
|
}, Y, 2),
|
61
54
|
s("a", {
|
62
|
-
class:
|
63
|
-
onClick:
|
55
|
+
class: L({ active: e(c).fileLayout == "image" }),
|
56
|
+
onClick: o[1] || (o[1] = (t) => e(C)("image"))
|
64
57
|
}, ee, 2)
|
65
58
|
])
|
66
59
|
]),
|
67
60
|
append: r(() => [
|
68
61
|
e(c).fileLayout == "image" ? (l(), u("div", te, [
|
69
|
-
(l(!0), u(
|
62
|
+
(l(!0), u($, null, q(e(b)[e(n).name], (t, x) => (l(), g(y, {
|
70
63
|
class: "file",
|
71
64
|
to: { path: e(d).detail.route, query: { id: t[e(n).key.name], m: e(f).query.m } },
|
72
|
-
key:
|
65
|
+
key: x
|
73
66
|
}, {
|
74
67
|
default: r(() => [
|
75
|
-
s("div",
|
68
|
+
s("div", ae, [
|
76
69
|
s("img", {
|
77
70
|
src: t[e(i).url],
|
78
71
|
alt: ""
|
79
|
-
}, null, 8,
|
72
|
+
}, null, 8, oe)
|
80
73
|
]),
|
81
74
|
s("div", le, _(t[e(i).name]), 1)
|
82
75
|
]),
|
@@ -89,10 +82,10 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
|
|
89
82
|
data: e(b)[e(n).name]
|
90
83
|
}, {
|
91
84
|
empty: r(() => [
|
92
|
-
w(_(e(
|
85
|
+
w(_(e(I)("common.no_data")), 1)
|
93
86
|
]),
|
94
87
|
default: r(() => [
|
95
|
-
(l(!0), u(
|
88
|
+
(l(!0), u($, null, q(e(n).show, (t, x) => (l(), g(D, {
|
96
89
|
"show-overflow-tooltip": "",
|
97
90
|
sortable: e(n) ? "custom" : !1,
|
98
91
|
"min-width": "180",
|
@@ -119,12 +112,12 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
|
|
119
112
|
}, 8, ["data"])) : (l(), u("div", ie, "未支持的文件布局:" + _(e(c).fileLayout), 1))
|
120
113
|
]),
|
121
114
|
default: r(() => [
|
122
|
-
e(n).search.length > 0 ? (l(), g(
|
115
|
+
e(n).search.length > 0 ? (l(), g(M, {
|
123
116
|
key: 0,
|
124
|
-
schema: e(
|
117
|
+
schema: e(N),
|
125
118
|
table: e(n),
|
126
119
|
search: e(k),
|
127
|
-
onSubmit: e(
|
120
|
+
onSubmit: e(B)
|
128
121
|
}, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
|
129
122
|
]),
|
130
123
|
_: 1
|
@@ -145,18 +138,18 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
|
|
145
138
|
]),
|
146
139
|
_: 1
|
147
140
|
}),
|
148
|
-
h(
|
141
|
+
h(U, {
|
149
142
|
background: "",
|
150
143
|
layout: "total, prev, pager, next, jumper",
|
151
144
|
"current-page": e(i).page,
|
152
145
|
"page-size": e(i).pageSize,
|
153
146
|
total: e(i).count,
|
154
|
-
onCurrentChange: e(
|
147
|
+
onCurrentChange: e(V)
|
155
148
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
156
149
|
]);
|
157
150
|
};
|
158
151
|
}
|
159
152
|
});
|
160
153
|
export {
|
161
|
-
|
154
|
+
fe as default
|
162
155
|
};
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { defineComponent as C, defineAsyncComponent as U, toRefs as D, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
|
2
|
+
import { X as N, U as x } from "./main-RFuk2-Bk.js";
|
3
|
+
const A = /* @__PURE__ */ C({
|
4
|
+
__name: "Index",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
config: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change"],
|
14
|
+
setup(V, { emit: B }) {
|
15
|
+
let g = U(() => import("./TextLink-DIHx9sjo.js")), k = V, { schema: u, table: s, field: l, set: d, row: a, config: m } = D(k), i = p(() => {
|
16
|
+
let o = l.value.control.type;
|
17
|
+
return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
|
18
|
+
}), _ = p(() => `text-${N.getDashName(i.value)}`), t = p({
|
19
|
+
get() {
|
20
|
+
return a.value[l.value.name];
|
21
|
+
},
|
22
|
+
set(o) {
|
23
|
+
a.value[l.value.name] = o;
|
24
|
+
}
|
25
|
+
});
|
26
|
+
return (o, n) => e(l).link ? (c(), f(e(g), {
|
27
|
+
key: 0,
|
28
|
+
schema: e(u),
|
29
|
+
table: e(s),
|
30
|
+
field: e(l),
|
31
|
+
set: e(d),
|
32
|
+
row: e(a)
|
33
|
+
}, {
|
34
|
+
default: v(() => [
|
35
|
+
(c(), f(y(e(_)), {
|
36
|
+
schema: e(u),
|
37
|
+
table: e(s),
|
38
|
+
field: e(l),
|
39
|
+
set: e(d),
|
40
|
+
row: e(a),
|
41
|
+
modelValue: e(t),
|
42
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => b(t) ? t.value = r : t = r)
|
43
|
+
}, {
|
44
|
+
default: v(() => [
|
45
|
+
w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
|
46
|
+
]),
|
47
|
+
_: 1
|
48
|
+
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
49
|
+
]),
|
50
|
+
_: 1
|
51
|
+
}, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(y(e(_)), {
|
52
|
+
key: 1,
|
53
|
+
schema: e(u),
|
54
|
+
table: e(s),
|
55
|
+
field: e(l),
|
56
|
+
set: e(d),
|
57
|
+
row: e(a),
|
58
|
+
modelValue: e(t),
|
59
|
+
"onUpdate:modelValue": n[1] || (n[1] = (r) => b(t) ? t.value = r : t = r)
|
60
|
+
}, {
|
61
|
+
default: v(() => [
|
62
|
+
w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
|
63
|
+
]),
|
64
|
+
_: 1
|
65
|
+
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
66
|
+
}
|
67
|
+
});
|
68
|
+
export {
|
69
|
+
A as default
|
70
|
+
};
|
@@ -0,0 +1,173 @@
|
|
1
|
+
import { defineComponent as H, ref as u, onMounted as P, computed as S, watch as D, resolveComponent as c, openBlock as d, createElementBlock as U, createVNode as g, unref as l, withCtx as p, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as C, isRef as $, withKeys as L, normalizeClass as G, withModifiers as Q, createTextVNode as T, Fragment as W, renderList as X, nextTick as I } from "vue";
|
2
|
+
import { useRoute as Z } from "vue-router";
|
3
|
+
import { G as J, j as w, P as Y, U as i, X as ee, $ as K, W as te, r as M, I as le } from "./main-RFuk2-Bk.js";
|
4
|
+
const oe = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
5
|
+
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
6
|
+
], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
7
|
+
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
8
|
+
], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], _e = /* @__PURE__ */ H({
|
9
|
+
__name: "Index",
|
10
|
+
setup(fe) {
|
11
|
+
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), R = u(), V = u(), h = u(), x = Z(), F = {
|
12
|
+
id: [{
|
13
|
+
required: !0,
|
14
|
+
trigger: "blur",
|
15
|
+
validator: (t, e, r) => {
|
16
|
+
e ? e.indexOf("@") > -1 ? ee.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
17
|
+
}
|
18
|
+
}]
|
19
|
+
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
20
|
+
}, N = (t) => {
|
21
|
+
t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? s.value = !0 : s.value = !1), t.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
22
|
+
}, B = () => {
|
23
|
+
f.value == "password" ? f.value = "" : f.value = "password", I(() => {
|
24
|
+
h.value.focus();
|
25
|
+
});
|
26
|
+
}, E = async (t) => {
|
27
|
+
_.value = !0, R.value.validate(async (e) => {
|
28
|
+
if (!e)
|
29
|
+
return _.value = !1, !1;
|
30
|
+
(await K.sso.create(t)).login(a.value).then(({ data: m }) => {
|
31
|
+
te.getBackUrl() ? M.toBackUrl() : M.to("/");
|
32
|
+
}).finally(() => {
|
33
|
+
I(() => {
|
34
|
+
_.value = !1;
|
35
|
+
});
|
36
|
+
});
|
37
|
+
});
|
38
|
+
}, O = async (t) => {
|
39
|
+
let e = await K.sso.create(t), r = x.query.return_url, m = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
|
40
|
+
return e.loginUrl(le.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
41
|
+
}, q = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
|
42
|
+
P(async () => {
|
43
|
+
J.setI18nTitle("common.login");
|
44
|
+
for (let t = 0; t < w.ssos.length; t++) {
|
45
|
+
let e = w.ssos[t];
|
46
|
+
e.loginUrl = await O(e.type);
|
47
|
+
}
|
48
|
+
y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
|
49
|
+
});
|
50
|
+
let y = S(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
51
|
+
return D(() => x, (t) => {
|
52
|
+
debugger;
|
53
|
+
const e = t.query;
|
54
|
+
e && q(e);
|
55
|
+
}), (t, e) => {
|
56
|
+
const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), A = c("el-button"), j = c("router-link"), z = c("el-form");
|
57
|
+
return d(), U("div", oe, [
|
58
|
+
g(z, {
|
59
|
+
ref_key: "loginFormRef",
|
60
|
+
ref: R,
|
61
|
+
autocomplete: "on",
|
62
|
+
"label-position": "left",
|
63
|
+
model: l(a),
|
64
|
+
rules: l(F)
|
65
|
+
}, {
|
66
|
+
default: p(() => [
|
67
|
+
n("div", re, [
|
68
|
+
n("h3", se, k(l(Y)("title")), 1)
|
69
|
+
]),
|
70
|
+
l(y) ? (d(), v(m, {
|
71
|
+
key: 0,
|
72
|
+
prop: "id"
|
73
|
+
}, {
|
74
|
+
default: p(() => [
|
75
|
+
ne,
|
76
|
+
g(r, {
|
77
|
+
ref_key: "idRef",
|
78
|
+
ref: V,
|
79
|
+
placeholder: l(i)("common.username_or_email"),
|
80
|
+
name: "id",
|
81
|
+
type: "text",
|
82
|
+
tabindex: "1",
|
83
|
+
autocomplete: "on",
|
84
|
+
modelValue: l(a).id,
|
85
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
|
86
|
+
}, null, 8, ["placeholder", "modelValue"])
|
87
|
+
]),
|
88
|
+
_: 1
|
89
|
+
})) : C("", !0),
|
90
|
+
l(y) ? (d(), v(b, {
|
91
|
+
key: 1,
|
92
|
+
content: "Caps lock is On",
|
93
|
+
placement: "right",
|
94
|
+
manual: "",
|
95
|
+
modelValue: l(s),
|
96
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => $(s) ? s.value = o : s = o)
|
97
|
+
}, {
|
98
|
+
default: p(() => [
|
99
|
+
g(m, { prop: "secret" }, {
|
100
|
+
default: p(() => [
|
101
|
+
ae,
|
102
|
+
(d(), v(r, {
|
103
|
+
ref_key: "secretRef",
|
104
|
+
ref: h,
|
105
|
+
key: l(f),
|
106
|
+
type: l(f),
|
107
|
+
placeholder: l(i)("common.password"),
|
108
|
+
name: "secret",
|
109
|
+
tabindex: "2",
|
110
|
+
autocomplete: "on",
|
111
|
+
onKeyup: [
|
112
|
+
L(l(N), ["native"]),
|
113
|
+
e[2] || (e[2] = L((o) => l(E)("Bearer"), ["enter", "native"]))
|
114
|
+
],
|
115
|
+
onBlur: e[1] || (e[1] = (o) => $(s) ? s.value = !1 : s = !1),
|
116
|
+
modelValue: l(a).secret,
|
117
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => l(a).secret = o)
|
118
|
+
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
119
|
+
n("span", {
|
120
|
+
class: "btn-pwd",
|
121
|
+
onClick: e[4] || (e[4] = //@ts-ignore
|
122
|
+
(...o) => l(B) && l(B)(...o))
|
123
|
+
}, [
|
124
|
+
n("i", {
|
125
|
+
class: G(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
126
|
+
}, null, 2)
|
127
|
+
])
|
128
|
+
]),
|
129
|
+
_: 1
|
130
|
+
})
|
131
|
+
]),
|
132
|
+
_: 1
|
133
|
+
}, 8, ["modelValue"])) : C("", !0),
|
134
|
+
l(y) ? (d(), v(A, {
|
135
|
+
key: 2,
|
136
|
+
type: "primary",
|
137
|
+
class: "btn-login",
|
138
|
+
loading: l(_),
|
139
|
+
onClick: e[6] || (e[6] = Q((o) => l(E)("Bearer"), ["prevent"]))
|
140
|
+
}, {
|
141
|
+
default: p(() => [
|
142
|
+
T(k(l(i)("common.login")), 1)
|
143
|
+
]),
|
144
|
+
_: 1
|
145
|
+
}, 8, ["loading"])) : C("", !0),
|
146
|
+
n("div", ie, [
|
147
|
+
(d(!0), U(W, null, X(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), U("a", {
|
148
|
+
href: o.loginUrl
|
149
|
+
}, k(l(i)(o.text)), 9, ue))), 256)),
|
150
|
+
g(j, {
|
151
|
+
class: "btn-register",
|
152
|
+
to: "/register"
|
153
|
+
}, {
|
154
|
+
default: p(() => [
|
155
|
+
T(k(l(i)("common.register")), 1)
|
156
|
+
]),
|
157
|
+
_: 1
|
158
|
+
})
|
159
|
+
])
|
160
|
+
]),
|
161
|
+
_: 1
|
162
|
+
}, 8, ["model", "rules"]),
|
163
|
+
n("div", {
|
164
|
+
class: "powered-by",
|
165
|
+
innerHTML: l(i)("sys.powered_by")
|
166
|
+
}, null, 8, de)
|
167
|
+
]);
|
168
|
+
};
|
169
|
+
}
|
170
|
+
});
|
171
|
+
export {
|
172
|
+
_e as default
|
173
|
+
};
|