halo-pc 1.0.26 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-BNacU3kR.js → Article-CTqryR4L.js} +18 -17
- package/dist/{ArticleFooter-Ya07aLYn.js → ArticleFooter-BumGH5nC.js} +1 -1
- package/dist/{Autocomplete-CyXE-g54.js → Autocomplete-BNx0bErM.js} +1 -1
- package/dist/{Autocomplete-Bud53PPx.js → Autocomplete-C9RS9-qw.js} +3 -3
- package/dist/{Autocomplete-CfE5ZKi2.js → Autocomplete-DIucpEpj.js} +3 -3
- package/dist/{CSharp-DQLgcbTQ.js → CSharp-Dt6H75E9.js} +1 -1
- package/dist/{Calender-YujFxcgS.js → Calender-DhKZyJri.js} +1 -1
- package/dist/{Callback-BaFg5U2u.js → Callback-D6G_933H.js} +1 -1
- package/dist/{Cascader-C1kyNib7.js → Cascader-C6t8Q18c.js} +1 -1
- package/dist/{Cascader-D5PO9zK9.js → Cascader-F_XWwXKY.js} +3 -3
- package/dist/{Checkbox-Dkqh7eR4.js → Checkbox-C-iEGB0k.js} +1 -1
- package/dist/{Checkbox-CUtyT8l7.js → Checkbox-ipHs0O-8.js} +1 -1
- package/dist/{Code-pe9JMCAj.js → Code-DKtqow6y.js} +4 -4
- package/dist/{Code-Dszcah6J.js → Code-JtSSnUWC.js} +1 -1
- package/dist/{Code-C160-nQS.js → Code-LeguA9RL.js} +1 -1
- package/dist/Code-Q_6THgGl.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js → Code.vue_vue_type_style_index_0_lang-DmeXbg91.js} +5 -5
- package/dist/{Column-C3j98RGT.js → Column-BeQwafyN.js} +16 -15
- package/dist/{Comment-DIrY0RiI.js → Comment-DIcCHP9F.js} +1 -1
- package/dist/{Compare-DKLN4wT4.js → Compare-DZVrBYEh.js} +4 -4
- package/dist/{Compare-5j7MYou6.js → Compare-Dzqm7kPE.js} +7 -7
- package/dist/{Copy-Go_1uhB5.js → Copy-iLieXx22.js} +1 -1
- package/dist/{Custom-C00oYEFm.js → Custom-BGtEDHlD.js} +1 -1
- package/dist/{DataExport-CFjE1loi.js → DataExport-DSz5371s.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js → DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js} +5 -5
- package/dist/{DataImport-BQ0rieu8.js → DataImport-CX7G70a7.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js → DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js} +10 -10
- package/dist/{Date-uHiOL-PD.js → Date-CNOCOcNz.js} +1 -1
- package/dist/{Date-C5WCVXDU.js → Date-ytWe2gz8.js} +1 -1
- package/dist/{DateRange-B-HjKQpJ.js → DateRange-CaIiObxN.js} +1 -1
- package/dist/{DateTime-D4Ck5hBj.js → DateTime-CH6J1GoP.js} +1 -1
- package/dist/{DateTime-BrsWm90_.js → DateTime-p6YgmtGd.js} +1 -1
- package/dist/{DateTimeRange-DjIp1SAX.js → DateTimeRange-DGobnXqs.js} +1 -1
- package/dist/{Daterange-DiZUFL_F.js → Daterange-BUSKAGlK.js} +1 -1
- package/dist/{Decimal-_6FobwTd.js → Decimal-BvyzJq1c.js} +1 -1
- package/dist/{Delete-C46eSfMC.js → Delete-BeFC0gjD.js} +12 -11
- package/dist/{Detail-BMbiENm0.js → Detail-DZJ0aUFr.js} +7 -6
- package/dist/{Dictionary-Dga6kbof.js → Dictionary-CsBiv-CI.js} +1 -1
- package/dist/{Email-PVk9gqfn.js → Email-Dwa6x3jW.js} +1 -1
- package/dist/{File-B9Q2QOa-.js → File-BEBElTSS.js} +24 -23
- package/dist/{Image-CzOq81lm.js → Image-DDK05SW7.js} +1 -1
- package/dist/{Index-DvfJmbPU.js → Index-BiF8qEWf.js} +1 -1
- package/dist/Index-Bpe7pY2Z.js +4 -0
- package/dist/{Index-Cq20wsZC.js → Index-CUYQxzNd.js} +53 -52
- package/dist/{Index-DJz-eVVd.js → Index-CuEyzMd0.js} +2 -2
- package/dist/Index-DMnL8F7Y.js +4 -0
- package/dist/Index-DNG25ox2.js +4 -0
- package/dist/{Index-BmVFh23J.js → Index-DPwdcUO4.js} +1 -1
- package/dist/Index-DqUNI6MV.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js → Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js} +6 -5
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js → Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js} +10 -9
- package/dist/{Install-CXj-qqao.js → Install-CxuoWpHC.js} +15 -14
- package/dist/{Int-BG6MD24t.js → Int-BFv18KXi.js} +1 -1
- package/dist/{Int-Dc7h_7Ga.js → Int-C0ijmdYS.js} +7 -7
- package/dist/{List-EDwPH8aL.js → List-CfQzWq_5.js} +10 -9
- package/dist/{Maintaince-BqvMHxH0.js → Maintaince-BzDEwQcU.js} +1 -1
- package/dist/{Markdown-CdP4Uf3M.js → Markdown-x1hASyA-.js} +1 -1
- package/dist/{Month-BUvqsSfA.js → Month-Bb0tgF-k.js} +1 -1
- package/dist/{Month-8mDUGsOp.js → Month-Bp_Pfi_b.js} +1 -1
- package/dist/{Month-ClGd6IhI.js → Month-CKkjwzza.js} +1 -1
- package/dist/{Normal-DUlWYlcs.js → Normal-CYmy5sN7.js} +60 -59
- package/dist/{Paging-D_ticCtb.js → Paging-DpoBp7x_.js} +19 -18
- package/dist/{PagingHeader-aZb0fGRv.js → PagingHeader-DWbFl1do.js} +1 -1
- package/dist/{PagingRow-_H7tCWDM.js → PagingRow-CR2N1vgm.js} +1 -1
- package/dist/{QueryApi-S0e3c6l0.js → QueryApi-VwISnk96.js} +1 -1
- package/dist/{Racebar-DESsxoi9.js → Racebar-BsgDK6Zf.js} +2 -2
- package/dist/{Radio-ChF3_bX0.js → Radio-B3Af-uZE.js} +1 -1
- package/dist/{Register-Du5lRabU.js → Register-Cwr3iIZm.js} +66 -65
- package/dist/{RichText-BJVvArGS.js → RichText-CNahMrfb.js} +3 -3
- package/dist/{SearchFooter-HjKH1gD5.js → SearchFooter-DiILcc_U.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js → SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js} +1 -1
- package/dist/{SearchForm-C-o0Orkp.js → SearchForm-BOw_kHs2.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js → SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js} +33 -32
- package/dist/{Select-DrybbaWb.js → Select-BdYG1KQE.js} +1 -1
- package/dist/{Select-DgKzH1gD.js → Select-BeNZqAP1.js} +15 -14
- package/dist/{Select-CYaWHcWs.js → Select-CqOE6uI8.js} +5 -5
- package/dist/{Single-B-253IzX.js → Single-DqCIZBIB.js} +48 -47
- package/dist/{Statistic-B7Tib1eh.js → Statistic-B9ZcUUk1.js} +19 -18
- package/dist/{Stock-BBcnzi6G.js → Stock-BiSr7zAF.js} +1 -1
- package/dist/{Stock-DuyZiPxv.js → Stock-BnBNtuo7.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js → Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js} +4 -4
- package/dist/{Switch-DP-_EUOK.js → Switch-BE4dQcja.js} +1 -1
- package/dist/{Table-hHG9kq1I.js → Table-CaH_zu8W.js} +38 -37
- package/dist/{Table-2jZ0ISz7.js → Table-e0uLPRLG.js} +48 -47
- package/dist/Text-5803XWI6.js +4 -0
- package/dist/{Text-RsldE1sr.js → Text-BAw88r5O.js} +4 -4
- package/dist/{Text-lak-4VnA.js → Text-BDAob4mp.js} +1 -1
- package/dist/{Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js → Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js} +8 -8
- package/dist/{TextLink-C-NU-oVe.js → TextLink-TYXcDAlo.js} +3 -3
- package/dist/{Textarea-QGa_EKSl.js → Textarea-CU5PjIoa.js} +1 -1
- package/dist/{Time-BgWPjGd1.js → Time-Dd-Trib4.js} +6 -6
- package/dist/{Timeline-CBWcOVdY.js → Timeline-D6LCIkQp.js} +12 -12
- package/dist/{Tree--dJKRJvG.js → Tree-BKmFZrK3.js} +4 -3
- package/dist/{Tree-B2fZE9Qf.js → Tree-D-v632h1.js} +47 -46
- package/dist/{TreeNode-CxTzNQo9.js → TreeNode-L_A5ZKy0.js} +1 -1
- package/dist/{Update-BqQGp_9h.js → Update-DRAFce7_.js} +7 -6
- package/dist/{UpdateChild-DejVqKrE.js → UpdateChild-DMC0FG4Z.js} +1 -1
- package/dist/{Upload-tlSQp2Qu.js → Upload-DJRh4a7g.js} +17 -16
- package/dist/{Upload-9z5VIixQ.js → Upload-Ozg_nOpI.js} +22 -21
- package/dist/{UploadApi-B2dxOS0T.js → UploadApi-DVx69g-F.js} +1 -1
- package/dist/{Year-CrN8Fl5U.js → Year-CpcMBvQ7.js} +1 -1
- package/dist/{Year-DNDyqe5X.js → Year-D7XGe2So.js} +1 -1
- package/dist/assets/halo-fe-B-NiIGas.js +12088 -0
- package/dist/main-DB_sVyZe.js +3620 -0
- package/dist/main.js +141 -140
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Code-DXkJ6x5_.js +0 -4
- package/dist/Index-CfDvQD94.js +0 -4
- package/dist/Index-DGiRkT-p.js +0 -4
- package/dist/Index-DyK_nYp9.js +0 -4
- package/dist/Index-z5MnS_Wq.js +0 -4
- package/dist/Text-C70dFJLS.js +0 -4
- package/dist/main-D3_7YhaK.js +0 -15700
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let m = i(() => import("./Text-
|
13
|
+
let m = i(() => import("./Text-5803XWI6.js")), s = a, { schema: r, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
|
14
14
|
return (x, t) => (V(), b(e(m), {
|
15
15
|
schema: e(r),
|
16
16
|
table: e(n),
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent as x, toRefs as g, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as
|
2
|
-
import { e as l, T as V, v as w
|
3
|
-
|
1
|
+
import { defineComponent as x, toRefs as g, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as r, toDisplayString as o, unref as e, createVNode as i, withCtx as d, createTextVNode as m } from "vue";
|
2
|
+
import { e as l, T as V, v as w } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { r as E } from "./main-DB_sVyZe.js";
|
4
|
+
const S = { class: "delete" }, T = { class: "delete-title" }, q = { class: "delete-buttons" }, A = /* @__PURE__ */ x({
|
4
5
|
__name: "Delete",
|
5
6
|
props: {
|
6
7
|
base: {},
|
@@ -10,14 +11,14 @@ const S = { class: "delete" }, T = { class: "delete-title" }, q = { class: "dele
|
|
10
11
|
},
|
11
12
|
emits: ["navigate", "succeed", "close"],
|
12
13
|
setup(u, { emit: _ }) {
|
13
|
-
let c = _, p = u, { base:
|
14
|
+
let c = _, p = u, { base: f, route: v } = g(p), n = y(), k = (t) => {
|
14
15
|
n.value = t.next;
|
15
16
|
};
|
16
17
|
(() => {
|
17
|
-
k(
|
18
|
+
k(f.value.data);
|
18
19
|
})();
|
19
20
|
let C = () => {
|
20
|
-
let t = [
|
21
|
+
let t = [v.value.query.id];
|
21
22
|
V.post(n.value.delete.route, t).then((s) => {
|
22
23
|
w.success(s.message), b();
|
23
24
|
});
|
@@ -29,9 +30,9 @@ const S = { class: "delete" }, T = { class: "delete-title" }, q = { class: "dele
|
|
29
30
|
return (t, s) => {
|
30
31
|
const a = B("el-button");
|
31
32
|
return D(), N("div", S, [
|
32
|
-
|
33
|
-
|
34
|
-
|
33
|
+
r("div", T, o(e(l)("common.confirm_delete")), 1),
|
34
|
+
r("div", q, [
|
35
|
+
i(a, {
|
35
36
|
type: "danger",
|
36
37
|
onClick: e(C)
|
37
38
|
}, {
|
@@ -40,7 +41,7 @@ const S = { class: "delete" }, T = { class: "delete-title" }, q = { class: "dele
|
|
40
41
|
]),
|
41
42
|
_: 1
|
42
43
|
}, 8, ["onClick"]),
|
43
|
-
|
44
|
+
i(a, { onClick: e(h) }, {
|
44
45
|
default: d(() => [
|
45
46
|
m(o(e(l)("common.cancel")), 1)
|
46
47
|
]),
|
@@ -52,5 +53,5 @@ const S = { class: "delete" }, T = { class: "delete-title" }, q = { class: "dele
|
|
52
53
|
}
|
53
54
|
});
|
54
55
|
export {
|
55
|
-
|
56
|
+
A as default
|
56
57
|
};
|
@@ -1,9 +1,10 @@
|
|
1
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 {
|
2
|
+
import { e as s } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { j as N } from "./main-DB_sVyZe.js";
|
3
4
|
import "element-plus";
|
4
5
|
import "vue-router";
|
5
6
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
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),
|
7
|
+
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), z = /* @__PURE__ */ C({
|
7
8
|
__name: "Detail",
|
8
9
|
props: {
|
9
10
|
route: {},
|
@@ -12,15 +13,15 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
12
13
|
set: {}
|
13
14
|
},
|
14
15
|
emits: ["copy", "edit", "close"],
|
15
|
-
setup(
|
16
|
-
let l =
|
16
|
+
setup(f, { emit: _ }) {
|
17
|
+
let l = _, u = f, { route: D, table: r, set: p, next: j } = h(u), d = (o) => {
|
17
18
|
l("copy", p.value[r.value.name][0], o);
|
18
19
|
}, y = (o) => {
|
19
20
|
l("edit", p.value[r.value.name][0], o);
|
20
21
|
}, k = () => {
|
21
22
|
l("close");
|
22
23
|
};
|
23
|
-
return (o,
|
24
|
+
return (o, w) => {
|
24
25
|
const n = v("el-button");
|
25
26
|
return x(), b(e(N), { padding: 5 }, {
|
26
27
|
default: t(() => [
|
@@ -65,5 +66,5 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
65
66
|
}
|
66
67
|
});
|
67
68
|
export {
|
68
|
-
|
69
|
+
z as default
|
69
70
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as x, toRefs as g, 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 {
|
2
|
+
import { a as s, W as D, u as E } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const z = { class: "text-dictionary" }, F = {
|
4
4
|
key: 0,
|
5
5
|
class: "suffix"
|
@@ -1,5 +1,5 @@
|
|
1
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 {
|
2
|
+
import { aO as K } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const D = /* @__PURE__ */ f({
|
4
4
|
__name: "Email",
|
5
5
|
props: {
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import {
|
1
|
+
import { defineComponent as Y, toRefs as j, ref as H, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
|
2
|
+
import { useRoute as P, useRouter as A } from "vue-router";
|
3
|
+
import { o as G, H as c, e as I, T as J, Y as K } from "./assets/halo-fe-B-NiIGas.js";
|
4
|
+
import { h as M } from "./main-DB_sVyZe.js";
|
4
5
|
import "element-plus";
|
5
6
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
import { _ as O } from "./SearchForm.vue_vue_type_style_index_0_lang-
|
7
|
+
import { _ as O } from "./SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js";
|
7
8
|
const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), X = [
|
8
9
|
W
|
9
10
|
], Z = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), ee = [
|
@@ -14,7 +15,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
14
15
|
}, oe = { class: "file-image" }, ae = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
|
15
16
|
key: 2,
|
16
17
|
class: "not-support"
|
17
|
-
},
|
18
|
+
}, ge = /* @__PURE__ */ Y({
|
18
19
|
__name: "File",
|
19
20
|
props: {
|
20
21
|
searchData: {},
|
@@ -26,25 +27,25 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
26
27
|
set: {}
|
27
28
|
},
|
28
29
|
setup(z) {
|
29
|
-
let
|
30
|
+
let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: ue } = j(F), f = P(), v = A(), k = H(), C = (o) => {
|
30
31
|
let a = { type: "fileLayout", value: o };
|
31
|
-
|
32
|
+
J.post("/user/config", a).then((y) => {
|
32
33
|
c.fileLayout = o;
|
33
34
|
});
|
34
|
-
},
|
35
|
+
}, V = (o) => {
|
35
36
|
let a = { ...f.query };
|
36
37
|
a.page = o, v.push({ path: d.value.paging.route, query: a });
|
37
|
-
},
|
38
|
+
}, B = () => {
|
38
39
|
let o = { ...f.query };
|
39
|
-
o.page = "1", o.condition =
|
40
|
+
o.page = "1", o.condition = K.encode(k.value);
|
40
41
|
let a = { path: d.value.paging.route, query: o };
|
41
42
|
v.push(a);
|
42
43
|
};
|
43
44
|
return (o, a) => {
|
44
|
-
const
|
45
|
+
const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), T = p("el-pagination");
|
45
46
|
return l(), u("div", Q, [
|
46
|
-
h(e(
|
47
|
-
title: e(
|
47
|
+
h(e(M), {
|
48
|
+
title: e(G)(o.module.type, o.module.name)
|
48
49
|
}, {
|
49
50
|
operation: r(() => [
|
50
51
|
s("div", U, [
|
@@ -60,7 +61,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
60
61
|
]),
|
61
62
|
append: r(() => [
|
62
63
|
e(c).fileLayout == "image" ? (l(), u("div", te, [
|
63
|
-
(l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), y
|
64
|
+
(l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), g(y, {
|
64
65
|
class: "file",
|
65
66
|
to: { path: e(d).detail.route, query: { id: t[e(n).key.name], m: e(f).query.m } },
|
66
67
|
key: $
|
@@ -76,17 +77,17 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
76
77
|
]),
|
77
78
|
_: 2
|
78
79
|
}, 1032, ["to"]))), 128))
|
79
|
-
])) : e(c).fileLayout == "list" ? (l(),
|
80
|
+
])) : e(c).fileLayout == "list" ? (l(), g(R, {
|
80
81
|
key: 1,
|
81
82
|
class: "files-list",
|
82
83
|
border: "",
|
83
84
|
data: e(b)[e(n).name]
|
84
85
|
}, {
|
85
86
|
empty: r(() => [
|
86
|
-
w(_(e(
|
87
|
+
w(_(e(I)("common.no_data")), 1)
|
87
88
|
]),
|
88
89
|
default: r(() => [
|
89
|
-
(l(!0), u(L, null, q(e(n).show, (t, $) => (l(),
|
90
|
+
(l(!0), u(L, null, q(e(n).show, (t, $) => (l(), g(D, {
|
90
91
|
"show-overflow-tooltip": "",
|
91
92
|
sortable: e(n) ? "custom" : !1,
|
92
93
|
"min-width": "180",
|
@@ -113,12 +114,12 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
113
114
|
}, 8, ["data"])) : (l(), u("div", ie, "未支持的文件布局:" + _(e(c).fileLayout), 1))
|
114
115
|
]),
|
115
116
|
default: r(() => [
|
116
|
-
e(n).search.length > 0 ? (l(),
|
117
|
+
e(n).search.length > 0 ? (l(), g(O, {
|
117
118
|
key: 0,
|
118
|
-
schema: e(
|
119
|
+
schema: e(N),
|
119
120
|
table: e(n),
|
120
121
|
search: e(k),
|
121
|
-
onSubmit: e(
|
122
|
+
onSubmit: e(B)
|
122
123
|
}, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
|
123
124
|
]),
|
124
125
|
_: 1
|
@@ -128,7 +129,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
128
129
|
icon: "el-icon-plus"
|
129
130
|
}, {
|
130
131
|
default: r(() => [
|
131
|
-
h(
|
132
|
+
h(y, {
|
132
133
|
to: { path: e(d).insert.route, query: { m: e(f).query.m } }
|
133
134
|
}, {
|
134
135
|
default: r(() => [
|
@@ -145,12 +146,12 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
145
146
|
"current-page": e(i).page,
|
146
147
|
"page-size": e(i).pageSize,
|
147
148
|
total: e(i).count,
|
148
|
-
onCurrentChange: e(
|
149
|
+
onCurrentChange: e(V)
|
149
150
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
150
151
|
]);
|
151
152
|
};
|
152
153
|
}
|
153
154
|
});
|
154
155
|
export {
|
155
|
-
|
156
|
+
ge as default
|
156
157
|
};
|
@@ -1,73 +1,74 @@
|
|
1
|
-
import { defineComponent as z, ref as u, onMounted as H, computed as
|
2
|
-
import { useRoute as
|
3
|
-
import { J as
|
1
|
+
import { defineComponent as z, ref as u, onMounted as H, computed as S, watch as J, resolveComponent as c, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as p, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as P, withModifiers as Q, createTextVNode as $, Fragment as W, renderList as Z, nextTick as K } from "vue";
|
2
|
+
import { useRoute as G } from "vue-router";
|
3
|
+
import { J as X, d as w, j as Y, e as i, W as ee, E as F, K as te, D as le } from "./assets/halo-fe-B-NiIGas.js";
|
4
|
+
import { r as M } from "./main-DB_sVyZe.js";
|
4
5
|
const oe = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
5
6
|
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
6
7
|
], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
7
8
|
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
8
|
-
], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"],
|
9
|
+
], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], ye = /* @__PURE__ */ z({
|
9
10
|
__name: "Index",
|
10
11
|
setup(fe) {
|
11
|
-
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), U = u(), V = u(), h = u(), x =
|
12
|
+
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), U = u(), V = u(), h = u(), x = G(), N = {
|
12
13
|
id: [{
|
13
14
|
required: !0,
|
14
15
|
trigger: "blur",
|
15
|
-
validator: (
|
16
|
+
validator: (t, e, r) => {
|
16
17
|
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
|
}
|
18
19
|
}]
|
19
20
|
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
20
|
-
},
|
21
|
-
|
21
|
+
}, O = (t) => {
|
22
|
+
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
23
|
}, B = () => {
|
23
24
|
f.value == "password" ? f.value = "" : f.value = "password", K(() => {
|
24
25
|
h.value.focus();
|
25
26
|
});
|
26
|
-
}, E = async (
|
27
|
+
}, E = async (t) => {
|
27
28
|
_.value = !0, U.value.validate(async (e) => {
|
28
29
|
if (!e)
|
29
30
|
return _.value = !1, !1;
|
30
|
-
(await
|
31
|
-
|
31
|
+
(await F.sso.create(t)).login(a.value).then(({ data: m }) => {
|
32
|
+
te.getBackUrl() ? M.toBackUrl() : M.to("/");
|
32
33
|
}).finally(() => {
|
33
34
|
K(() => {
|
34
35
|
_.value = !1;
|
35
36
|
});
|
36
37
|
});
|
37
38
|
});
|
38
|
-
},
|
39
|
-
let e = await
|
40
|
-
return e.loginUrl(
|
41
|
-
}, A = (
|
39
|
+
}, q = async (t) => {
|
40
|
+
let e = await F.sso.create(t), r = x.query.return_url, m = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
|
41
|
+
return e.loginUrl(le.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
42
|
+
}, A = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
|
42
43
|
H(async () => {
|
43
|
-
|
44
|
-
for (let
|
45
|
-
let e = w.ssos[
|
46
|
-
e.loginUrl = await
|
44
|
+
X.setI18nTitle("common.login");
|
45
|
+
for (let t = 0; t < w.ssos.length; t++) {
|
46
|
+
let e = w.ssos[t];
|
47
|
+
e.loginUrl = await q(e.type);
|
47
48
|
}
|
48
49
|
y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
|
49
50
|
});
|
50
|
-
let y =
|
51
|
-
return J(() => x, (
|
51
|
+
let y = S(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
52
|
+
return J(() => x, (t) => {
|
52
53
|
debugger;
|
53
|
-
const e =
|
54
|
+
const e = t.query;
|
54
55
|
e && A(e);
|
55
|
-
}), (
|
56
|
-
const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), D = c("el-button"), I = c("router-link"),
|
56
|
+
}), (t, e) => {
|
57
|
+
const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), D = c("el-button"), I = c("router-link"), j = c("el-form");
|
57
58
|
return d(), C("div", oe, [
|
58
|
-
g(
|
59
|
+
g(j, {
|
59
60
|
ref_key: "loginFormRef",
|
60
61
|
ref: U,
|
61
62
|
autocomplete: "on",
|
62
63
|
"label-position": "left",
|
63
|
-
model:
|
64
|
-
rules:
|
64
|
+
model: l(a),
|
65
|
+
rules: l(N)
|
65
66
|
}, {
|
66
67
|
default: p(() => [
|
67
68
|
n("div", re, [
|
68
|
-
n("h3", se, k(
|
69
|
+
n("h3", se, k(l(Y)("title")), 1)
|
69
70
|
]),
|
70
|
-
|
71
|
+
l(y) ? (d(), v(m, {
|
71
72
|
key: 0,
|
72
73
|
prop: "id"
|
73
74
|
}, {
|
@@ -76,23 +77,23 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
76
77
|
g(r, {
|
77
78
|
ref_key: "idRef",
|
78
79
|
ref: V,
|
79
|
-
placeholder:
|
80
|
+
placeholder: l(i)("common.username_or_email"),
|
80
81
|
name: "id",
|
81
82
|
type: "text",
|
82
83
|
tabindex: "1",
|
83
84
|
autocomplete: "on",
|
84
|
-
modelValue:
|
85
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) =>
|
85
|
+
modelValue: l(a).id,
|
86
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
|
86
87
|
}, null, 8, ["placeholder", "modelValue"])
|
87
88
|
]),
|
88
89
|
_: 1
|
89
90
|
})) : R("", !0),
|
90
|
-
|
91
|
+
l(y) ? (d(), v(b, {
|
91
92
|
key: 1,
|
92
93
|
content: "Caps lock is On",
|
93
94
|
placement: "right",
|
94
95
|
manual: "",
|
95
|
-
modelValue:
|
96
|
+
modelValue: l(s),
|
96
97
|
"onUpdate:modelValue": e[5] || (e[5] = (o) => L(s) ? s.value = o : s = o)
|
97
98
|
}, {
|
98
99
|
default: p(() => [
|
@@ -102,27 +103,27 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
102
103
|
(d(), v(r, {
|
103
104
|
ref_key: "secretRef",
|
104
105
|
ref: h,
|
105
|
-
key:
|
106
|
-
type:
|
107
|
-
placeholder:
|
106
|
+
key: l(f),
|
107
|
+
type: l(f),
|
108
|
+
placeholder: l(i)("common.password"),
|
108
109
|
name: "secret",
|
109
110
|
tabindex: "2",
|
110
111
|
autocomplete: "on",
|
111
112
|
onKeyup: [
|
112
|
-
T(
|
113
|
-
e[2] || (e[2] = T((o) =>
|
113
|
+
T(l(O), ["native"]),
|
114
|
+
e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
|
114
115
|
],
|
115
116
|
onBlur: e[1] || (e[1] = (o) => L(s) ? s.value = !1 : s = !1),
|
116
|
-
modelValue:
|
117
|
-
"onUpdate:modelValue": e[3] || (e[3] = (o) =>
|
117
|
+
modelValue: l(a).secret,
|
118
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => l(a).secret = o)
|
118
119
|
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
119
120
|
n("span", {
|
120
121
|
class: "btn-pwd",
|
121
122
|
onClick: e[4] || (e[4] = //@ts-ignore
|
122
|
-
(...o) =>
|
123
|
+
(...o) => l(B) && l(B)(...o))
|
123
124
|
}, [
|
124
125
|
n("i", {
|
125
|
-
class: P(
|
126
|
+
class: P(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
126
127
|
}, null, 2)
|
127
128
|
])
|
128
129
|
]),
|
@@ -131,28 +132,28 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
131
132
|
]),
|
132
133
|
_: 1
|
133
134
|
}, 8, ["modelValue"])) : R("", !0),
|
134
|
-
|
135
|
+
l(y) ? (d(), v(D, {
|
135
136
|
key: 2,
|
136
137
|
type: "primary",
|
137
138
|
class: "btn-login",
|
138
|
-
loading:
|
139
|
-
onClick: e[6] || (e[6] = Q((o) =>
|
139
|
+
loading: l(_),
|
140
|
+
onClick: e[6] || (e[6] = Q((o) => l(E)("Bearer"), ["prevent"]))
|
140
141
|
}, {
|
141
142
|
default: p(() => [
|
142
|
-
$(k(
|
143
|
+
$(k(l(i)("common.login")), 1)
|
143
144
|
]),
|
144
145
|
_: 1
|
145
146
|
}, 8, ["loading"])) : R("", !0),
|
146
147
|
n("div", ie, [
|
147
|
-
(d(!0), C(W, null,
|
148
|
+
(d(!0), C(W, null, Z(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
|
148
149
|
href: o.loginUrl
|
149
|
-
}, k(
|
150
|
+
}, k(l(i)(o.text)), 9, ue))), 256)),
|
150
151
|
g(I, {
|
151
152
|
class: "btn-register",
|
152
153
|
to: "/register"
|
153
154
|
}, {
|
154
155
|
default: p(() => [
|
155
|
-
$(k(
|
156
|
+
$(k(l(i)("common.register")), 1)
|
156
157
|
]),
|
157
158
|
_: 1
|
158
159
|
})
|
@@ -162,12 +163,12 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
162
163
|
}, 8, ["model", "rules"]),
|
163
164
|
n("div", {
|
164
165
|
class: "powered-by",
|
165
|
-
innerHTML:
|
166
|
+
innerHTML: l(i)("sys.powered_by")
|
166
167
|
}, null, 8, de)
|
167
168
|
]);
|
168
169
|
};
|
169
170
|
}
|
170
171
|
});
|
171
172
|
export {
|
172
|
-
|
173
|
+
ye as default
|
173
174
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as C, defineAsyncComponent as D, toRefs as N, 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 { W as B, e as x } from "./
|
2
|
+
import { W as B, e as x } from "./assets/halo-fe-B-NiIGas.js";
|
3
3
|
const A = /* @__PURE__ */ C({
|
4
4
|
__name: "Index",
|
5
5
|
props: {
|
@@ -12,7 +12,7 @@ const A = /* @__PURE__ */ C({
|
|
12
12
|
},
|
13
13
|
emits: ["submit", "change"],
|
14
14
|
setup(V, { emit: R }) {
|
15
|
-
let g = D(() => import("./TextLink-
|
15
|
+
let g = D(() => import("./TextLink-TYXcDAlo.js")), k = V, { schema: u, table: s, field: l, set: d, row: a, config: m } = N(k), i = p(() => {
|
16
16
|
let o = l.value.control.type;
|
17
17
|
return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
|
18
18
|
}), _ = p(() => `text-${B.getDashName(i.value)}`), t = p({
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { defineComponent as x, toRefs as E, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
-
import {
|
2
|
+
import { e as F } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { d as I } from "./main-DB_sVyZe.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "element-plus";
|
5
6
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
const M = { class: "not-support" },
|
7
|
+
const M = { class: "not-support" }, K = /* @__PURE__ */ x({
|
7
8
|
__name: "Index",
|
8
9
|
props: {
|
9
10
|
route: {},
|
@@ -33,7 +34,7 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
|
|
33
34
|
};
|
34
35
|
return k(() => {
|
35
36
|
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
36
|
-
L(e(
|
37
|
+
L(e(I), {
|
37
38
|
layout: e(a),
|
38
39
|
table: e(r),
|
39
40
|
onLayoutChange: e(f)
|
@@ -54,7 +55,7 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
|
|
54
55
|
onSubmit: e(b)
|
55
56
|
}, {
|
56
57
|
default: N(() => [
|
57
|
-
V("div", M, $(e(
|
58
|
+
V("div", M, $(e(F)("single.not_supported_layout", e(a).type)), 1)
|
58
59
|
]),
|
59
60
|
_: 1
|
60
61
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
@@ -62,5 +63,5 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
|
|
62
63
|
}
|
63
64
|
});
|
64
65
|
export {
|
65
|
-
|
66
|
+
K as _
|
66
67
|
};
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent as k, toRefs as D, ref as N, openBlock as
|
2
|
-
import
|
1
|
+
import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
+
import "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { d as F } from "./main-DB_sVyZe.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "element-plus";
|
5
6
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
|
-
const I = { class: "not-support" },
|
7
|
+
const I = { class: "not-support" }, O = /* @__PURE__ */ k({
|
7
8
|
__name: "Index",
|
8
9
|
props: {
|
9
10
|
searchData: {},
|
@@ -16,7 +17,7 @@ const I = { class: "not-support" }, M = /* @__PURE__ */ k({
|
|
16
17
|
},
|
17
18
|
emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
|
18
19
|
setup(c, { expose: u, emit: i }) {
|
19
|
-
let o = i, g = c, { module: h, schema: m, table:
|
20
|
+
let o = i, g = c, { module: h, schema: m, table: r, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
|
20
21
|
o("navigate", a, t);
|
21
22
|
}, C = (a, t) => {
|
22
23
|
o("sort", a, t);
|
@@ -41,18 +42,18 @@ const I = { class: "not-support" }, M = /* @__PURE__ */ k({
|
|
41
42
|
if (!n.value || !n.value.keyboard)
|
42
43
|
return !1;
|
43
44
|
n.value.keyboard(a, t);
|
44
|
-
} }), (a, t) => (
|
45
|
+
} }), (a, t) => (s(), B(L, null, [
|
45
46
|
R(e(F), {
|
46
47
|
layout: e(l),
|
47
|
-
table: e(
|
48
|
+
table: e(r),
|
48
49
|
onLayoutChange: e(S)
|
49
50
|
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
50
|
-
(
|
51
|
+
(s(), w(E(`paging-${e(l).type.toLowerCase()}`), {
|
51
52
|
ref_key: "pagingRef",
|
52
53
|
ref: n,
|
53
54
|
module: e(h),
|
54
55
|
schema: e(m),
|
55
|
-
table: e(
|
56
|
+
table: e(r),
|
56
57
|
layout: e(l),
|
57
58
|
next: e(p),
|
58
59
|
set: e(d),
|
@@ -74,5 +75,5 @@ const I = { class: "not-support" }, M = /* @__PURE__ */ k({
|
|
74
75
|
}
|
75
76
|
});
|
76
77
|
export {
|
77
|
-
|
78
|
+
O as _
|
78
79
|
};
|