halo-pc 1.0.19 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-C00dDtgQ.js → Article-D3N6eVpH.js} +52 -51
- package/dist/{ArticleFooter-jAlMJJ0Z.js → ArticleFooter-CbvmQHCn.js} +5 -5
- package/dist/{Autocomplete-DYgdzQEa.js → Autocomplete-BrKsj5vx.js} +1 -1
- package/dist/{Autocomplete-BYlz8Q3t.js → Autocomplete-C1Q-qo5y.js} +9 -9
- package/dist/{Autocomplete-CQ-UuksH.js → Autocomplete-C_t_3Onz.js} +9 -9
- package/dist/{CSharp-ouau54_s.js → CSharp-DGmv2biT.js} +1 -1
- package/dist/{Calender-iu_I3vcU.js → Calender-dCiW7eIK.js} +2 -2
- package/dist/{Callback-bRXyRBO2.js → Callback-BcjLHYz6.js} +3 -3
- package/dist/{Cascader-BJs2FXbQ.js → Cascader-BMs1Kw-s.js} +10 -10
- package/dist/{Cascader-ljR17aOe.js → Cascader-BoZLMQjq.js} +5 -5
- package/dist/{Checkbox-C2OWgiE1.js → Checkbox-DeuCkQ_E.js} +12 -12
- package/dist/{Checkbox-Cy5zNH7D.js → Checkbox-DklZD5ff.js} +1 -1
- package/dist/{Code-Cruabofi.js → Code-CmB3ZGnM.js} +10 -10
- package/dist/{Code-DTvIe3kd.js → Code-DVZ9QWgE.js} +1 -1
- package/dist/{Code-B9oyIhEo.js → Code-Q9ETcIfA.js} +1 -1
- package/dist/Code-hiW76EUm.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-BmQDWq2q.js → Code.vue_vue_type_style_index_0_lang-DJO46RBx.js} +4 -4
- package/dist/{Column-ClHvuVuz.js → Column-K0p0pVuf.js} +26 -25
- package/dist/{Comment-D292jtJC.js → Comment-B_jDWUXE.js} +12 -12
- package/dist/Compare-CziDSVLD.js +37 -0
- package/dist/Compare-DFDzyQIR.js +57 -0
- package/dist/{Copy-CvgX-bKU.js → Copy-gHXEFE58.js} +5 -5
- package/dist/{Custom-4bEXZx8t.js → Custom-DS1OrDHT.js} +11 -11
- package/dist/{DataExport-DH0oVaJf.js → DataExport-DAk1d4uG.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BV2aSpcq.js → DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js} +19 -19
- package/dist/{DataImport-D73iWOit.js → DataImport-BLOSIbQ2.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-B39IZpM3.js → DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js} +19 -19
- package/dist/{Date-DCtZ8VpD.js → Date-BOrgXdKV.js} +4 -4
- package/dist/{Date-BJ2vBWIM.js → Date-D1KihBir.js} +1 -1
- package/dist/{DateRange-BWXik5I2.js → DateRange-Clg_We_d.js} +1 -1
- package/dist/{DateTime-BBHPa2zE.js → DateTime-Ba-L9NIq.js} +4 -4
- package/dist/{DateTime-D_GCbnKC.js → DateTime-Dwg6aUf3.js} +1 -1
- package/dist/{DateTimeRange-C4-4mq77.js → DateTimeRange-Cir1-Js8.js} +1 -1
- package/dist/{Daterange-CPVrg_r8.js → Daterange-Gaj6hNOK.js} +3 -3
- package/dist/{Decimal-Bv5A7-xm.js → Decimal-tv9vqaXk.js} +1 -1
- package/dist/{Delete-lSTmw_3a.js → Delete-HzVURBlh.js} +18 -17
- package/dist/{Detail-Dfvzkkw6.js → Detail-B2rtvufA.js} +6 -5
- package/dist/{Dictionary-thXsHbOo.js → Dictionary-DKnp-UJn.js} +3 -3
- package/dist/{Email-BDg7Qf9f.js → Email-CpOxaSSw.js} +4 -4
- package/dist/{File-TEaB_uIR.js → File-C63qevce.js} +42 -41
- package/dist/Image-DRIunv3_.js +9 -0
- package/dist/{Index-DapcfeaN.js → Index-B6Ec8rbl.js} +1 -1
- package/dist/{Index-ld-kC6ij.js → Index-BD6O3A9N.js} +7 -7
- package/dist/{Index-Cn5Qex6Q.js → Index-Cc_CDbUJ.js} +1 -1
- package/dist/{Index-BuhrNqZE.js → Index-Cev7Nudv.js} +1 -1
- package/dist/Index-DSKuNKCT.js +4 -0
- package/dist/Index-QIBRYf1L.js +4 -0
- package/dist/Index-ZOfKMgat.js +4 -0
- package/dist/{Index-BQKjFLbE.js → Index-bxLda8lZ.js} +29 -28
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BKPwS2s9.js → Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js} +4 -3
- package/dist/{Index.vue_vue_type_script_setup_true_lang-zlsTcQ-k.js → Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js} +10 -9
- package/dist/{Index.vue_vue_type_style_index_0_lang-CqjK1AVM.js → Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js} +11 -11
- package/dist/{Install-BQ_rGQFg.js → Install-CTAGNKPW.js} +13 -12
- package/dist/{Int-DRcbQElJ.js → Int-DmNjhEfK.js} +8 -8
- package/dist/{Int-C33TxFtW.js → Int-nUzbSSOv.js} +11 -11
- package/dist/{List-CSkx_cTr.js → List-gNI3y_wH.js} +14 -13
- package/dist/{Maintaince-D0JZ-9mL.js → Maintaince-pTASKuMA.js} +1 -1
- package/dist/{Markdown-DjbgXlE6.js → Markdown-BJB6rQY8.js} +1 -1
- package/dist/{Month-C_sIkUIo.js → Month-CHfaIo8p.js} +4 -4
- package/dist/{Month-unY9f1-N.js → Month-DgztqRaq.js} +5 -5
- package/dist/{Month-68Hi85T_.js → Month-ui1XorBW.js} +1 -1
- package/dist/{Normal-BAoQvNjn.js → Normal-Cf7kP6RU.js} +61 -60
- package/dist/{Paging-BNVKLCCy.js → Paging-CBgVct8q.js} +9 -8
- package/dist/{PagingHeader-CkESvHSg.js → PagingHeader-BkFBl-r_.js} +18 -18
- package/dist/{PagingRow-DrMTqBj9.js → PagingRow-eXCadgdO.js} +7 -7
- package/dist/{QueryApi-D410WxrU.js → QueryApi-Wf86Sm6m.js} +1 -1
- package/dist/{Racebar-BhPT9MdU.js → Racebar-ClXzi9hV.js} +16 -16
- package/dist/{Radio-D1AcW1pn.js → Radio-llyoK7PI.js} +1 -1
- package/dist/{Register-jgIuWNwI.js → Register-BaHhaZMu.js} +49 -48
- package/dist/{RichText-BgLtVFup.js → RichText-Cc_jptgY.js} +8 -8
- package/dist/{SearchFooter-CAWhmjR2.js → SearchFooter-BgJxQrMo.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-ClaSxScx.js → SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js} +1 -1
- package/dist/{SearchForm--aMZLLx4.js → SearchForm-CroUQ_3K.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-_rdBTvY_.js → SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js} +28 -27
- package/dist/{Select-DU_6d_Ob.js → Select-BYw63gZy.js} +17 -16
- package/dist/{Select-CVnXZcZi.js → Select-BtNeUq9h.js} +1 -1
- package/dist/{Select-JFUTkpkm.js → Select-wxKjwxJj.js} +17 -17
- package/dist/{Single-B0g3q0uZ.js → Single-CCVi3Pcj.js} +83 -82
- package/dist/{Statistic-XTBdaF7E.js → Statistic-g3nQvsbW.js} +30 -29
- package/dist/{Stock-nsqld-XR.js → Stock-C6Fxo31l.js} +1 -1
- package/dist/{Stock-CWU3inQY.js → Stock-CNqLeSld.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-B7HB-me6.js → Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js} +11 -11
- package/dist/{Switch-BqHPuFzA.js → Switch-NMkH-rhl.js} +1 -1
- package/dist/{Table-l0km2rz7.js → Table-Cdd_tPoL.js} +57 -56
- package/dist/{Table-xRltYWjc.js → Table-DpA4dO4P.js} +51 -50
- package/dist/{Text-DOTMUPPm.js → Text-DanSgaL9.js} +7 -7
- package/dist/Text-DgZjeg-u.js +4 -0
- package/dist/{Text-alXcFJHa.js → Text-GuLK7BYX.js} +6 -6
- package/dist/{Text.vue_vue_type_style_index_0_lang-1wF_kb3u.js → Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js} +8 -8
- package/dist/{TextLink-BUpIHKqh.js → TextLink-B_Ur1pg0.js} +3 -3
- package/dist/{Textarea-IFX_g2SZ.js → Textarea-HhP_VFJV.js} +1 -1
- package/dist/{Time-CHadluUL.js → Time-CmyrAm3i.js} +8 -8
- package/dist/{Timeline-B7xPAwXh.js → Timeline-B85T2wBn.js} +11 -11
- package/dist/{Tree-qvL1DgaM.js → Tree-Ck_7r3nf.js} +85 -84
- package/dist/{Tree-DoXqyUpn.js → Tree-OqvNLgYj.js} +15 -14
- package/dist/{TreeNode-CUSAKhTp.js → TreeNode-Ba2f55wK.js} +1 -1
- package/dist/{Update-eETfPmHB.js → Update-DrmLFoty.js} +9 -8
- package/dist/{UpdateChild-DbbXDvCz.js → UpdateChild-CGCn-Eh4.js} +6 -6
- package/dist/{Upload-CAUGBT7A.js → Upload-D9HeSZCg.js} +18 -17
- package/dist/{Upload-DMfKIPRu.js → Upload-DXADyB6r.js} +49 -48
- package/dist/{UploadApi-FEbSWkVM.js → UploadApi-DAT-xdsM.js} +1 -1
- package/dist/{Year-CAxdMb2V.js → Year-Dx_qNPrz.js} +5 -5
- package/dist/{Year-CnHHib5-.js → Year-RGAEzf_V.js} +1 -1
- package/dist/assets/halo-fe-idvmXC0t.js +15923 -0
- package/dist/main-COiaaxGk.js +3542 -0
- package/dist/main.js +129 -129
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/Code-C8zrvj8s.js +0 -4
- package/dist/Compare-CGW1IWLh.js +0 -56
- package/dist/Compare-DjrTKaz2.js +0 -26
- package/dist/Image-BqCjtyvc.js +0 -9
- package/dist/Index-BCku46lC.js +0 -4
- package/dist/Index-BLoAow8U.js +0 -4
- package/dist/Index-C3Dtv0ze.js +0 -4
- package/dist/Text-CFZ1y9Xn.js +0 -4
- package/dist/main-DArl7gFs.js +0 -19837
@@ -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 {
|
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 { P as l, L as V, f as w } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { r as E } from "./main-COiaaxGk.js";
|
4
|
+
const P = { class: "delete" }, S = { class: "delete-title" }, q = { class: "delete-buttons" }, j = /* @__PURE__ */ x({
|
4
5
|
__name: "Delete",
|
5
6
|
props: {
|
6
7
|
base: {},
|
@@ -10,37 +11,37 @@ const E = { class: "delete" }, S = { 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(), b = (t) => {
|
14
15
|
n.value = t.next;
|
15
16
|
};
|
16
17
|
(() => {
|
17
|
-
|
18
|
+
b(f.value.data);
|
18
19
|
})();
|
19
|
-
let
|
20
|
-
let t = [
|
21
|
-
|
22
|
-
|
20
|
+
let k = () => {
|
21
|
+
let t = [v.value.query.id];
|
22
|
+
V.post(n.value.delete.route, t).then((s) => {
|
23
|
+
w.success(s.message), C();
|
23
24
|
});
|
24
|
-
},
|
25
|
-
|
25
|
+
}, C = () => {
|
26
|
+
E.toBackUrl(), c("succeed", "delete");
|
26
27
|
}, h = () => {
|
27
28
|
c("close");
|
28
29
|
};
|
29
30
|
return (t, s) => {
|
30
31
|
const a = B("el-button");
|
31
|
-
return D(), N("div",
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
return D(), N("div", P, [
|
33
|
+
r("div", S, o(e(l)("common.confirm_delete")), 1),
|
34
|
+
r("div", q, [
|
35
|
+
i(a, {
|
35
36
|
type: "danger",
|
36
|
-
onClick: e(
|
37
|
+
onClick: e(k)
|
37
38
|
}, {
|
38
39
|
default: d(() => [
|
39
40
|
m(o(e(l)("common.confirm")), 1)
|
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
|
]),
|
@@ -1,8 +1,9 @@
|
|
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 { P as s } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { i as N } from "./main-COiaaxGk.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
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),
|
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), j = /* @__PURE__ */ C({
|
6
7
|
__name: "Detail",
|
7
8
|
props: {
|
8
9
|
route: {},
|
@@ -11,8 +12,8 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
11
12
|
set: {}
|
12
13
|
},
|
13
14
|
emits: ["copy", "edit", "close"],
|
14
|
-
setup(
|
15
|
-
let n =
|
15
|
+
setup(f, { emit: _ }) {
|
16
|
+
let n = _, u = f, { route: D, table: r, set: p, next: P } = h(u), d = (o) => {
|
16
17
|
n("copy", p.value[r.value.name][0], o);
|
17
18
|
}, y = (o) => {
|
18
19
|
n("edit", p.value[r.value.name][0], o);
|
@@ -64,5 +65,5 @@ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
|
|
64
65
|
}
|
65
66
|
});
|
66
67
|
export {
|
67
|
-
|
68
|
+
j as default
|
68
69
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as y, 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 {
|
2
|
+
import { U as s, Q as D, g as E } from "./assets/halo-fe-idvmXC0t.js";
|
3
3
|
const z = { class: "text-dictionary" }, F = {
|
4
4
|
key: 0,
|
5
5
|
class: "suffix"
|
@@ -15,7 +15,7 @@ const z = { class: "text-dictionary" }, F = {
|
|
15
15
|
},
|
16
16
|
emits: ["submit", "change", "update:modelValue"],
|
17
17
|
setup(i, { emit: c }) {
|
18
|
-
let u = c, m = i, { table: L, field: d, set:
|
18
|
+
let u = c, m = i, { table: L, field: d, set: Q, modelValue: f } = x(m), t = r({
|
19
19
|
get() {
|
20
20
|
return f.value;
|
21
21
|
},
|
@@ -32,7 +32,7 @@ const z = { class: "text-dictionary" }, F = {
|
|
32
32
|
let e = t.value.toString();
|
33
33
|
return D.isEmpty(e) ? [] : e.split(",");
|
34
34
|
}), _ = r(() => E.fromValues(p.value, d.value.control.data.data, "value", "text"));
|
35
|
-
return (e,
|
35
|
+
return (e, R) => {
|
36
36
|
const v = h("el-tag");
|
37
37
|
return o(), a("div", z, [
|
38
38
|
(o(!0), a(V, null, b(k(_), (l, g) => (o(), B(v, {
|
@@ -1,6 +1,6 @@
|
|
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 {
|
3
|
-
const
|
2
|
+
import { aM as K } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
const D = /* @__PURE__ */ f({
|
4
4
|
__name: "Email",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -12,7 +12,7 @@ const S = /* @__PURE__ */ f({
|
|
12
12
|
},
|
13
13
|
emits: ["submit", "change", "update:modelValue"],
|
14
14
|
setup(i, { emit: s }) {
|
15
|
-
let o = s, u = i, { table: d, field: t, set:
|
15
|
+
let o = s, u = i, { table: d, field: t, set: B, modelValue: p } = V(u), r = () => {
|
16
16
|
o("submit");
|
17
17
|
}, l = _({
|
18
18
|
get() {
|
@@ -44,5 +44,5 @@ const S = /* @__PURE__ */ f({
|
|
44
44
|
}
|
45
45
|
});
|
46
46
|
export {
|
47
|
-
|
47
|
+
D as default
|
48
48
|
};
|
@@ -1,19 +1,20 @@
|
|
1
|
-
import { defineComponent as j, toRefs as
|
2
|
-
import { useRoute as
|
3
|
-
import {
|
1
|
+
import { defineComponent as j, toRefs as K, 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 $, Fragment as x, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
|
2
|
+
import { useRoute as Y, useRouter as A } from "vue-router";
|
3
|
+
import { e as G, Y as c, P as H, L as I, s as J } from "./assets/halo-fe-idvmXC0t.js";
|
4
|
+
import { g as M } from "./main-COiaaxGk.js";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
|
-
import { _ as
|
6
|
-
const
|
7
|
-
|
6
|
+
import { _ as O } from "./SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js";
|
7
|
+
const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), X = [
|
8
|
+
W
|
8
9
|
], Z = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), ee = [
|
9
10
|
Z
|
10
11
|
], te = {
|
11
12
|
key: 0,
|
12
13
|
class: "files-image"
|
13
|
-
},
|
14
|
+
}, oe = { class: "file-image" }, ae = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
|
14
15
|
key: 2,
|
15
16
|
class: "not-support"
|
16
|
-
},
|
17
|
+
}, he = /* @__PURE__ */ j({
|
17
18
|
__name: "File",
|
18
19
|
props: {
|
19
20
|
searchData: {},
|
@@ -25,67 +26,67 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ *
|
|
25
26
|
set: {}
|
26
27
|
},
|
27
28
|
setup(z) {
|
28
|
-
let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: ue } =
|
29
|
-
let
|
30
|
-
|
31
|
-
c.fileLayout =
|
29
|
+
let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: ue } = K(F), f = Y(), v = A(), k = T(), C = (o) => {
|
30
|
+
let a = { type: "fileLayout", value: o };
|
31
|
+
I.post("/user/config", a).then((y) => {
|
32
|
+
c.fileLayout = o;
|
32
33
|
});
|
33
|
-
}, V = (
|
34
|
-
let o = { ...f.query };
|
35
|
-
o.page = a, v.push({ path: d.value.paging.route, query: o });
|
36
|
-
}, B = () => {
|
34
|
+
}, V = (o) => {
|
37
35
|
let a = { ...f.query };
|
38
|
-
a.page =
|
39
|
-
|
40
|
-
|
36
|
+
a.page = o, v.push({ path: d.value.paging.route, query: a });
|
37
|
+
}, B = () => {
|
38
|
+
let o = { ...f.query };
|
39
|
+
o.page = "1", o.condition = J.encode(k.value);
|
40
|
+
let a = { path: d.value.paging.route, query: o };
|
41
|
+
v.push(a);
|
41
42
|
};
|
42
|
-
return (
|
43
|
-
const y = p("router-link"), D = p("el-table-column"),
|
44
|
-
return l(), u("div",
|
45
|
-
h(e(
|
46
|
-
title: e(
|
43
|
+
return (o, a) => {
|
44
|
+
const y = p("router-link"), D = p("el-table-column"), P = p("el-table"), R = p("el-button"), E = p("el-pagination");
|
45
|
+
return l(), u("div", Q, [
|
46
|
+
h(e(M), {
|
47
|
+
title: e(G)(o.module.type, o.module.name)
|
47
48
|
}, {
|
48
49
|
operation: r(() => [
|
49
|
-
s("div",
|
50
|
+
s("div", U, [
|
50
51
|
s("a", {
|
51
|
-
class:
|
52
|
-
onClick:
|
53
|
-
},
|
52
|
+
class: $({ active: e(c).fileLayout == "list" }),
|
53
|
+
onClick: a[0] || (a[0] = (t) => e(C)("list"))
|
54
|
+
}, X, 2),
|
54
55
|
s("a", {
|
55
|
-
class:
|
56
|
-
onClick:
|
56
|
+
class: $({ active: e(c).fileLayout == "image" }),
|
57
|
+
onClick: a[1] || (a[1] = (t) => e(C)("image"))
|
57
58
|
}, ee, 2)
|
58
59
|
])
|
59
60
|
]),
|
60
61
|
append: r(() => [
|
61
62
|
e(c).fileLayout == "image" ? (l(), u("div", te, [
|
62
|
-
(l(!0), u(
|
63
|
+
(l(!0), u(x, null, q(e(b)[e(n).name], (t, L) => (l(), g(y, {
|
63
64
|
class: "file",
|
64
65
|
to: { path: e(d).detail.route, query: { id: t[e(n).key.name], m: e(f).query.m } },
|
65
|
-
key:
|
66
|
+
key: L
|
66
67
|
}, {
|
67
68
|
default: r(() => [
|
68
|
-
s("div",
|
69
|
+
s("div", oe, [
|
69
70
|
s("img", {
|
70
71
|
src: t[e(i).url],
|
71
72
|
alt: ""
|
72
|
-
}, null, 8,
|
73
|
+
}, null, 8, ae)
|
73
74
|
]),
|
74
75
|
s("div", le, _(t[e(i).name]), 1)
|
75
76
|
]),
|
76
77
|
_: 2
|
77
78
|
}, 1032, ["to"]))), 128))
|
78
|
-
])) : e(c).fileLayout == "list" ? (l(), g(
|
79
|
+
])) : e(c).fileLayout == "list" ? (l(), g(P, {
|
79
80
|
key: 1,
|
80
81
|
class: "files-list",
|
81
82
|
border: "",
|
82
83
|
data: e(b)[e(n).name]
|
83
84
|
}, {
|
84
85
|
empty: r(() => [
|
85
|
-
w(_(e(
|
86
|
+
w(_(e(H)("common.no_data")), 1)
|
86
87
|
]),
|
87
88
|
default: r(() => [
|
88
|
-
(l(!0), u(
|
89
|
+
(l(!0), u(x, null, q(e(n).show, (t, L) => (l(), g(D, {
|
89
90
|
"show-overflow-tooltip": "",
|
90
91
|
sortable: e(n) ? "custom" : !1,
|
91
92
|
"min-width": "180",
|
@@ -112,7 +113,7 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ *
|
|
112
113
|
}, 8, ["data"])) : (l(), u("div", ie, "未支持的文件布局:" + _(e(c).fileLayout), 1))
|
113
114
|
]),
|
114
115
|
default: r(() => [
|
115
|
-
e(n).search.length > 0 ? (l(), g(
|
116
|
+
e(n).search.length > 0 ? (l(), g(O, {
|
116
117
|
key: 0,
|
117
118
|
schema: e(N),
|
118
119
|
table: e(n),
|
@@ -122,7 +123,7 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ *
|
|
122
123
|
]),
|
123
124
|
_: 1
|
124
125
|
}, 8, ["title"]),
|
125
|
-
h(
|
126
|
+
h(R, {
|
126
127
|
type: "primary",
|
127
128
|
icon: "el-icon-plus"
|
128
129
|
}, {
|
@@ -138,7 +139,7 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ *
|
|
138
139
|
]),
|
139
140
|
_: 1
|
140
141
|
}),
|
141
|
-
h(
|
142
|
+
h(E, {
|
142
143
|
background: "",
|
143
144
|
layout: "total, prev, pager, next, jumper",
|
144
145
|
"current-page": e(i).page,
|
@@ -151,5 +152,5 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ *
|
|
151
152
|
}
|
152
153
|
});
|
153
154
|
export {
|
154
|
-
|
155
|
+
he as default
|
155
156
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as C, defineAsyncComponent as
|
2
|
-
import {
|
3
|
-
const
|
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 { Q as B, P as x } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
const U = /* @__PURE__ */ C({
|
4
4
|
__name: "Index",
|
5
5
|
props: {
|
6
6
|
schema: {},
|
@@ -11,11 +11,11 @@ const A = /* @__PURE__ */ C({
|
|
11
11
|
config: {}
|
12
12
|
},
|
13
13
|
emits: ["submit", "change"],
|
14
|
-
setup(V, { emit:
|
15
|
-
let g =
|
14
|
+
setup(V, { emit: P }) {
|
15
|
+
let g = D(() => import("./TextLink-B_Ur1pg0.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
|
-
}), _ = p(() => `text-${
|
18
|
+
}), _ = p(() => `text-${B.getDashName(i.value)}`), t = p({
|
19
19
|
get() {
|
20
20
|
return a.value[l.value.name];
|
21
21
|
},
|
@@ -66,5 +66,5 @@ const A = /* @__PURE__ */ C({
|
|
66
66
|
}
|
67
67
|
});
|
68
68
|
export {
|
69
|
-
|
69
|
+
U as default
|
70
70
|
};
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import { defineComponent as H, ref as u, onMounted as
|
2
|
-
import { useRoute as
|
3
|
-
import { G as
|
1
|
+
import { defineComponent as H, ref as u, onMounted as Q, 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 $, withKeys as L, normalizeClass as D, withModifiers as G, createTextVNode as T, Fragment as Z, renderList as J, nextTick as K } from "vue";
|
2
|
+
import { useRoute as W } from "vue-router";
|
3
|
+
import { G as X, d as w, aN as Y, P as i, Q as ee, $ as F, K as te, c as le } from "./assets/halo-fe-idvmXC0t.js";
|
4
|
+
import { r as N } from "./main-COiaaxGk.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__ */ H({
|
9
10
|
__name: "Index",
|
10
11
|
setup(fe) {
|
11
|
-
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1),
|
12
|
+
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), U = u(), V = u(), h = u(), x = W(), I = {
|
12
13
|
id: [{
|
13
14
|
required: !0,
|
14
15
|
trigger: "blur",
|
@@ -17,30 +18,30 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
17
18
|
}
|
18
19
|
}]
|
19
20
|
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
20
|
-
},
|
21
|
+
}, M = (t) => {
|
21
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
|
-
f.value == "password" ? f.value = "" : f.value = "password",
|
24
|
+
f.value == "password" ? f.value = "" : f.value = "password", K(() => {
|
24
25
|
h.value.focus();
|
25
26
|
});
|
26
27
|
}, E = async (t) => {
|
27
|
-
_.value = !0,
|
28
|
+
_.value = !0, U.value.validate(async (e) => {
|
28
29
|
if (!e)
|
29
30
|
return _.value = !1, !1;
|
30
|
-
(await
|
31
|
-
te.getBackUrl() ?
|
31
|
+
(await F.sso.create(t)).login(a.value).then(({ data: m }) => {
|
32
|
+
te.getBackUrl() ? N.toBackUrl() : N.to("/");
|
32
33
|
}).finally(() => {
|
33
|
-
|
34
|
+
K(() => {
|
34
35
|
_.value = !1;
|
35
36
|
});
|
36
37
|
});
|
37
38
|
});
|
38
39
|
}, O = async (t) => {
|
39
|
-
let e = await
|
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}`;
|
40
41
|
return e.loginUrl(le.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
41
42
|
}, q = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
|
42
|
-
|
43
|
-
|
43
|
+
Q(async () => {
|
44
|
+
X.setI18nTitle("common.login");
|
44
45
|
for (let t = 0; t < w.ssos.length; t++) {
|
45
46
|
let e = w.ssos[t];
|
46
47
|
e.loginUrl = await O(e.type);
|
@@ -48,20 +49,20 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
48
49
|
y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
|
49
50
|
});
|
50
51
|
let y = S(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
51
|
-
return
|
52
|
+
return j(() => x, (t) => {
|
52
53
|
debugger;
|
53
54
|
const e = t.query;
|
54
55
|
e && q(e);
|
55
56
|
}), (t, e) => {
|
56
|
-
const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), A = c("el-button"),
|
57
|
-
return d(),
|
57
|
+
const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), A = c("el-button"), P = c("router-link"), z = c("el-form");
|
58
|
+
return d(), C("div", oe, [
|
58
59
|
g(z, {
|
59
60
|
ref_key: "loginFormRef",
|
60
|
-
ref:
|
61
|
+
ref: U,
|
61
62
|
autocomplete: "on",
|
62
63
|
"label-position": "left",
|
63
64
|
model: l(a),
|
64
|
-
rules: l(
|
65
|
+
rules: l(I)
|
65
66
|
}, {
|
66
67
|
default: p(() => [
|
67
68
|
n("div", re, [
|
@@ -86,7 +87,7 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
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",
|
@@ -109,7 +110,7 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
109
110
|
tabindex: "2",
|
110
111
|
autocomplete: "on",
|
111
112
|
onKeyup: [
|
112
|
-
L(l(
|
113
|
+
L(l(M), ["native"]),
|
113
114
|
e[2] || (e[2] = L((o) => l(E)("Bearer"), ["enter", "native"]))
|
114
115
|
],
|
115
116
|
onBlur: e[1] || (e[1] = (o) => $(s) ? s.value = !1 : s = !1),
|
@@ -122,7 +123,7 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
122
123
|
(...o) => l(B) && l(B)(...o))
|
123
124
|
}, [
|
124
125
|
n("i", {
|
125
|
-
class:
|
126
|
+
class: D(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
126
127
|
}, null, 2)
|
127
128
|
])
|
128
129
|
]),
|
@@ -130,24 +131,24 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
130
131
|
})
|
131
132
|
]),
|
132
133
|
_: 1
|
133
|
-
}, 8, ["modelValue"])) :
|
134
|
+
}, 8, ["modelValue"])) : R("", !0),
|
134
135
|
l(y) ? (d(), v(A, {
|
135
136
|
key: 2,
|
136
137
|
type: "primary",
|
137
138
|
class: "btn-login",
|
138
139
|
loading: l(_),
|
139
|
-
onClick: e[6] || (e[6] =
|
140
|
+
onClick: e[6] || (e[6] = G((o) => l(E)("Bearer"), ["prevent"]))
|
140
141
|
}, {
|
141
142
|
default: p(() => [
|
142
143
|
T(k(l(i)("common.login")), 1)
|
143
144
|
]),
|
144
145
|
_: 1
|
145
|
-
}, 8, ["loading"])) :
|
146
|
+
}, 8, ["loading"])) : R("", !0),
|
146
147
|
n("div", ie, [
|
147
|
-
(d(!0),
|
148
|
+
(d(!0), C(Z, null, J(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
|
148
149
|
href: o.loginUrl
|
149
150
|
}, k(l(i)(o.text)), 9, ue))), 256)),
|
150
|
-
g(
|
151
|
+
g(P, {
|
151
152
|
class: "btn-register",
|
152
153
|
to: "/register"
|
153
154
|
}, {
|
@@ -169,5 +170,5 @@ const oe = { class: "login-container" }, re = { class: "title-container" }, se =
|
|
169
170
|
}
|
170
171
|
});
|
171
172
|
export {
|
172
|
-
|
173
|
+
ye as default
|
173
174
|
};
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { defineComponent as k, toRefs as D, ref as N, openBlock as r, 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
|
2
|
+
import "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { b as F } from "./main-COiaaxGk.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
|
-
const I = { class: "not-support" },
|
6
|
+
const I = { class: "not-support" }, M = /* @__PURE__ */ k({
|
6
7
|
__name: "Index",
|
7
8
|
props: {
|
8
9
|
searchData: {},
|
@@ -73,5 +74,5 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
73
74
|
}
|
74
75
|
});
|
75
76
|
export {
|
76
|
-
|
77
|
+
M as _
|
77
78
|
};
|
@@ -1,8 +1,9 @@
|
|
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
|
2
|
-
import {
|
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 P, toDisplayString as V } from "vue";
|
2
|
+
import { P as $ } from "./assets/halo-fe-idvmXC0t.js";
|
3
|
+
import { b as F } from "./main-COiaaxGk.js";
|
3
4
|
import "vue-router";
|
4
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
5
|
-
const I = { class: "not-support" },
|
6
|
+
const I = { class: "not-support" }, H = /* @__PURE__ */ x({
|
6
7
|
__name: "Index",
|
7
8
|
props: {
|
8
9
|
route: {},
|
@@ -16,7 +17,7 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ x({
|
|
16
17
|
},
|
17
18
|
emits: ["layout-change", "row-edit", "change", "submit"],
|
18
19
|
setup(s, { expose: i, emit: m }) {
|
19
|
-
let o = m, d = s, { module:
|
20
|
+
let o = m, d = s, { module: p, schema: c, table: r, layout: a, next: y, set: h } = E(d), l = R(), f = (t) => {
|
20
21
|
o("layout-change", t);
|
21
22
|
}, g = (t, n, w) => {
|
22
23
|
o("row-edit", t, n, w);
|
@@ -32,7 +33,7 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ x({
|
|
32
33
|
};
|
33
34
|
return k(() => {
|
34
35
|
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
35
|
-
L(e(
|
36
|
+
L(e(F), {
|
36
37
|
layout: e(a),
|
37
38
|
table: e(r),
|
38
39
|
onLayoutChange: e(f)
|
@@ -40,8 +41,8 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ x({
|
|
40
41
|
(u(), S(D(`update-${e(a).type.toLowerCase()}`), {
|
41
42
|
ref_key: "layoutRef",
|
42
43
|
ref: l,
|
43
|
-
module: e(
|
44
|
-
schema: e(
|
44
|
+
module: e(p),
|
45
|
+
schema: e(c),
|
45
46
|
table: e(r),
|
46
47
|
layout: e(a),
|
47
48
|
next: e(y),
|
@@ -53,7 +54,7 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ x({
|
|
53
54
|
onSubmit: e(b)
|
54
55
|
}, {
|
55
56
|
default: N(() => [
|
56
|
-
|
57
|
+
P("div", I, V(e($)("single.not_supported_layout", e(a).type)), 1)
|
57
58
|
]),
|
58
59
|
_: 1
|
59
60
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
@@ -61,5 +62,5 @@ const I = { class: "not-support" }, G = /* @__PURE__ */ x({
|
|
61
62
|
}
|
62
63
|
});
|
63
64
|
export {
|
64
|
-
|
65
|
+
H as _
|
65
66
|
};
|