halo-pc 1.0.36 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CSL7LnKj.js → Article-DSuvpyeC.js} +58 -60
- package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-Cx3OC7sV.js} +1 -1
- package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-1jt0wRMS.js} +1 -1
- package/dist/{Autocomplete-Buw1Hs35.js → Autocomplete-C7CYy8w6.js} +3 -3
- package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-DASTUS8d.js} +2 -2
- package/dist/{CSharp-CMmXPS2i.js → CSharp-CebNTVPd.js} +1 -1
- package/dist/{Calender-P8tmSbW2.js → Calender-BBILvX8n.js} +4 -4
- package/dist/{Callback-SEWVfpG_.js → Callback-CLA9Ab9q.js} +1 -1
- package/dist/{Cascader-DWNTommi.js → Cascader-DY2zOwsa.js} +1 -1
- package/dist/{Cascader-CeQ0jUxU.js → Cascader-DyQ312mS.js} +5 -5
- package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-CHmMU0Cs.js} +1 -1
- package/dist/{Checkbox--pNX7Slb.js → Checkbox-CyC_mo50.js} +1 -1
- package/dist/{Code-CXMdFELH.js → Code-B4Z7WuUc.js} +1 -1
- package/dist/{Code-THGJ7IzI.js → Code-BOTf1uZ5.js} +1 -1
- package/dist/{Code-C6A3DOQp.js → Code-CIFJJJo3.js} +1 -1
- package/dist/Code-Da4PjT9q.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js → Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js} +3 -3
- package/dist/{Column-CucHIBYv.js → Column-9A6-8_Y7.js} +1 -1
- package/dist/{Comment-T5XWLthu.js → Comment-D78rr4-n.js} +27 -27
- package/dist/{Compare-jjtb6UdZ.js → Compare-Cb9vYPl5.js} +9 -9
- package/dist/{Compare-KV2Q7Tb7.js → Compare-DLiL32cA.js} +6 -6
- package/dist/{Copy-Ck1HeTdy.js → Copy-CH2_hawJ.js} +1 -1
- package/dist/Custom-D9qN9bwa.js +59 -0
- package/dist/{DataExport-BY1fIwSd.js → DataExport-D8cqXPrh.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +1 -1
- package/dist/{DataImport--xUxoWAq.js → DataImport-3KwXYYGw.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +1 -1
- package/dist/{Date-C3H04U5q.js → Date-OZxdofhB.js} +1 -1
- package/dist/{Date-DRk7BsnD.js → Date-yHlD-Lw2.js} +1 -1
- package/dist/{DateRange-CICZ9gVp.js → DateRange-BLSxDHKv.js} +1 -1
- package/dist/{DateTime-CjTCtAm4.js → DateTime-8tbpOKOK.js} +1 -1
- package/dist/{DateTime-DXHkaHtE.js → DateTime-B7GzMj8Q.js} +1 -1
- package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-COFWmQoO.js} +1 -1
- package/dist/{Daterange-cmpjJVxl.js → Daterange-Cy8l4CfJ.js} +1 -1
- package/dist/{Decimal-BzR8o8bv.js → Decimal-Dw6EtZOm.js} +1 -1
- package/dist/{Delete-B2VzOnk8.js → Delete-DjXSCUKp.js} +1 -1
- package/dist/{Detail-ayakHymC.js → Detail-DU8mI4u2.js} +1 -1
- package/dist/{Dictionary-BiSpx7nU.js → Dictionary-CAAvUqf-.js} +1 -1
- package/dist/{Email-BbipkOFP.js → Email-AHWpz5Ck.js} +3 -3
- package/dist/{File-B131KRit.js → File-DUxwHR5G.js} +16 -16
- package/dist/Image-BJ5q87B6.js +9 -0
- package/dist/Index-CF44rsZW.js +4 -0
- package/dist/Index-CnFjsuQV.js +4 -0
- package/dist/{Index-CymZGuJo.js → Index-D223MCYD.js} +17 -17
- package/dist/Index-DCIDLocj.js +4 -0
- package/dist/{Index-Bps1k5-m.js → Index-Jt1omrn-.js} +1 -1
- package/dist/{Index-B20QLMmF.js → Index-KTv20XtO.js} +1 -1
- package/dist/{Index-BnudlpyF.js → Index-Z8HW5XAm.js} +2 -2
- package/dist/Index-qIfIbiFH.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +15 -17
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +4 -4
- package/dist/{Install-BnCA1XK8.js → Install-C-xxCx9D.js} +8 -8
- package/dist/{Int-BlwraOyw.js → Int-1QpMyTPB.js} +1 -1
- package/dist/{Int-BSA4Srky.js → Int-BsHpY5Gt.js} +1 -1
- package/dist/List-DW7FpMfd.js +72 -0
- package/dist/{Maintaince-CwL7tseR.js → Maintaince-CjUfJUr7.js} +3 -3
- package/dist/{Markdown-Can2d8HC.js → Markdown-BZhSwheI.js} +1 -1
- package/dist/{Month-Dyt_wc8r.js → Month-BKXtBi6i.js} +1 -1
- package/dist/{Month-ClTpaaAr.js → Month-IJnA7Kgl.js} +3 -3
- package/dist/{Month-CRmTCjQr.js → Month-m0FiTmBK.js} +1 -1
- package/dist/{Normal-DBRpkCNs.js → Normal-CettIwbU.js} +72 -72
- package/dist/{Paging-ByJhfHCh.js → Paging-J9vCBFzM.js} +33 -35
- package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-irWrEKGQ.js} +1 -1
- package/dist/{PagingRow-CqAYVjxH.js → PagingRow-Bft1brFD.js} +1 -1
- package/dist/{Racebar-BhRmArVA.js → Racebar-D3VFwM1V.js} +7 -7
- package/dist/{Radio-DCVAYEgh.js → Radio-C-IwNXnz.js} +1 -1
- package/dist/{Register-Dr5HF0B6.js → Register-XTfqbbgr.js} +15 -15
- package/dist/{RichText-Dj93TxtW.js → RichText-D3aLlQph.js} +8 -8
- package/dist/{SearchFooter-D02JAZez.js → SearchFooter-hC7sQBez.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js} +1 -1
- package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BTux7Adt.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js} +27 -29
- package/dist/{Select-ChwyjjbN.js → Select-ClAK8aNJ.js} +8 -8
- package/dist/{Select-CaGb3SAi.js → Select-DlM_C-60.js} +1 -1
- package/dist/{Select-DK5-x-rC.js → Select-K1dU20i2.js} +11 -11
- package/dist/{Single-DIyLnILS.js → Single-DYDwq041.js} +66 -68
- package/dist/{Statistic-ArzDDFwp.js → Statistic-CidgrAcU.js} +21 -21
- package/dist/{Stock-DapT2McI.js → Stock-BFszdaCn.js} +1 -1
- package/dist/{Stock-CsVIZtQ4.js → Stock-BiuhsKPB.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +8 -8
- package/dist/{Switch-B0VJc80B.js → Switch-TI8J8-E2.js} +1 -1
- package/dist/{Table-C5kHBVpV.js → Table-DJOSPNrn.js} +79 -81
- package/dist/{Table-Cwe8QuVi.js → Table-DYELgaTY.js} +56 -56
- package/dist/Text-DAliAA9U.js +4 -0
- package/dist/{Text-CK1PT6x8.js → Text-DEv-wMFU.js} +3 -3
- package/dist/Text-Dy6uYSm3.js +49 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-epPB32IU.js → Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js} +1 -1
- package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-CKPExcuj.js} +1 -1
- package/dist/{Textarea-C6Pi4p9b.js → Textarea-CEv7HYqY.js} +1 -1
- package/dist/{Time-DWG3pwjK.js → Time-BeTq6Tq3.js} +1 -1
- package/dist/{Timeline-Bqq3rFbX.js → Timeline-BI2o8Kug.js} +1 -1
- package/dist/{Tree-CU2UHknq.js → Tree-BPeNz1X4.js} +58 -60
- package/dist/{Tree-DRUGEHR3.js → Tree-DlIrY3e2.js} +33 -33
- package/dist/{TreeNode-DD-YfbgL.js → TreeNode-CzM6Npi5.js} +1 -1
- package/dist/{Update-BdbT4B2n.js → Update-Bv6Lp8LZ.js} +1 -1
- package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-mrF1t5G8.js} +1 -1
- package/dist/{Upload-BCGGzOTn.js → Upload-B0dBN1oH.js} +9 -9
- package/dist/{Upload-CKHSikDI.js → Upload-BCdzJlzR.js} +13 -13
- package/dist/{Year-CnA4ZUPj.js → Year-2hJSZcj_.js} +7 -7
- package/dist/{Year-nGY1S5_T.js → Year-DLITl-_8.js} +1 -1
- package/dist/{main-BLb5AIWJ.js → main-SNlEeN01.js} +3045 -2957
- package/dist/main.js +136 -133
- package/dist/style.css +1 -1
- package/esm/coms/business/Form.vue.d.ts +2 -1
- package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
- package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
- package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
- package/esm/coms/drivers/@types/index.d.ts +3 -1
- package/esm/coms/drivers/Index.vue.d.ts +26 -29
- package/esm/coms/drivers/Kind.vue.d.ts +8 -8
- package/esm/coms/layouts/Index.vue.d.ts +7 -3
- package/esm/coms/layouts/Side.vue.d.ts +5 -2
- package/esm/coms/layouts/Top.vue.d.ts +4 -1
- package/esm/coms/lists/Tree.vue.d.ts +2 -1
- package/esm/coms/pages/@types/index.d.ts +1 -2
- package/esm/coms/pages/Custom.vue.d.ts +2 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +2 -1
- package/esm/coms/pages/Single.vue.d.ts +2 -1
- package/esm/coms/pagings/Article.vue.d.ts +2 -1
- package/esm/coms/pagings/Index.vue.d.ts +2 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -1
- package/esm/coms/searches/Text.vue.d.ts +5 -7
- package/esm/svcs/ModuleSvc.d.ts +40 -0
- package/esm/svcs/index.d.ts +3 -3
- package/package.json +9 -9
- package/dist/Code-CQSTwwc4.js +0 -4
- package/dist/Custom-CkyWaXAB.js +0 -61
- package/dist/Image-Cb1PzLpD.js +0 -9
- package/dist/Index-2vdi0Nq0.js +0 -4
- package/dist/Index-BOKSKn0N.js +0 -4
- package/dist/Index-Cz0Ti6rP.js +0 -4
- package/dist/Index-Dhg6Vts6.js +0 -4
- package/dist/List-BnT_8B_q.js +0 -74
- package/dist/Text-D2P-_cQT.js +0 -54
- package/dist/Text-oKVRjuSR.js +0 -4
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, toRefs as k, ref as h, onMounted as w, computed as S, watch as v, openBlock as B, createElementBlock as D, normalizeStyle as R, unref as W, nextTick as z } from "vue";
|
2
|
-
import {
|
2
|
+
import { p as L } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const q = /* @__PURE__ */ b({
|
5
5
|
__name: "Compare",
|
@@ -13,10 +13,10 @@ const q = /* @__PURE__ */ b({
|
|
13
13
|
},
|
14
14
|
emits: ["submit", "change", "update:modelValue"],
|
15
15
|
setup(V, { emit: M }) {
|
16
|
-
let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, g = null, t = null, l = null,
|
17
|
-
|
16
|
+
let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, g = null, t = null, l = null, p = h(), s = h(), _ = (e) => {
|
17
|
+
s.value = C(), z(() => {
|
18
18
|
let a = u.value[d.value.name], o = i.value.control.language;
|
19
|
-
f = e.editor.createModel(c.value, o), g = e.editor.createModel(a, o), r = e.editor.createDiffEditor(
|
19
|
+
f = e.editor.createModel(c.value, o), g = e.editor.createModel(a, o), r = e.editor.createDiffEditor(p.value, {
|
20
20
|
originalEditable: !0,
|
21
21
|
automaticLayout: !0,
|
22
22
|
renderSideBySide: !i.value.control.inline
|
@@ -47,9 +47,9 @@ const q = /* @__PURE__ */ b({
|
|
47
47
|
e != o && l.setValue(e ?? "");
|
48
48
|
}), (e, a) => (B(), D("div", {
|
49
49
|
ref_key: "compareRef",
|
50
|
-
ref:
|
50
|
+
ref: p,
|
51
51
|
class: "control-compare",
|
52
|
-
style: R(W(
|
52
|
+
style: R(W(s))
|
53
53
|
}, null, 4));
|
54
54
|
}
|
55
55
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as y, toRefs as g, computed as v, unref as r, renderSlot as n, openBlock as b, createElementBlock as C, createElementVNode as a } from "vue";
|
2
|
-
import { m as p } from "./main-
|
2
|
+
import { m as p } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
import { C as k } from "./assets/clipboard-DjQPoCBJ.js";
|
5
5
|
const J = {
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent as z, toRefs as L, ref as u, openBlock as i, createBlock as s, KeepAlive as B, resolveDynamicComponent as K, unref as r } from "vue";
|
2
|
+
import { U as f, m as N, t as A, a as D } from "./main-SNlEeN01.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
const $ = /* @__PURE__ */ z({
|
5
|
+
__name: "Custom",
|
6
|
+
props: {
|
7
|
+
view: {},
|
8
|
+
url: {},
|
9
|
+
win: {}
|
10
|
+
},
|
11
|
+
emits: ["loaded", "navigate"],
|
12
|
+
setup(d, { expose: m, emit: v }) {
|
13
|
+
let a = v, c = d, { url: n, win: p, view: g } = L(c), t = u(), h = u({}), w = (e) => {
|
14
|
+
var o;
|
15
|
+
let l = (o = t.value) == null ? void 0 : o.beforeClose;
|
16
|
+
l && l(e);
|
17
|
+
}, C = (e) => {
|
18
|
+
t.value == null || t.value.resize == null || t.value.resize(e);
|
19
|
+
}, _ = (e) => !0, b = (e) => !0, k = () => {
|
20
|
+
var l;
|
21
|
+
let e = (l = t.value) == null ? void 0 : l.refresh;
|
22
|
+
if (!e) {
|
23
|
+
let o = f.url.getPath(n.value);
|
24
|
+
N.notify(A("common.tips"), `要实现自定义刷新功能,请在组件 ${o} 内部定义并暴露refresh方法即可`, "warning");
|
25
|
+
return;
|
26
|
+
}
|
27
|
+
e();
|
28
|
+
}, x = (e, l) => {
|
29
|
+
D.triggerKeyboardHandler(t.value, e, l);
|
30
|
+
}, y = (e) => {
|
31
|
+
t.value.socketHandler(e);
|
32
|
+
}, R = (e) => {
|
33
|
+
if (e == null)
|
34
|
+
return;
|
35
|
+
let l = h.value;
|
36
|
+
if (l[n.value] != null) {
|
37
|
+
t.value = l[n.value];
|
38
|
+
return;
|
39
|
+
}
|
40
|
+
f.dictionary.containsValue(l, e) || (l[n.value] = e, t.value = e);
|
41
|
+
}, H = (e) => {
|
42
|
+
a("loaded", e);
|
43
|
+
}, U = (e) => {
|
44
|
+
a("navigate", e);
|
45
|
+
};
|
46
|
+
return m({ shouldLoad: _, shouldSpin: b, refresh: k, beforeClose: w, keyboardHandler: x, resize: C, socketHandler: y }), (e, l) => (i(), s(B, null, [
|
47
|
+
(i(), s(K(r(g)), {
|
48
|
+
ref: r(R),
|
49
|
+
url: r(n),
|
50
|
+
win: r(p),
|
51
|
+
onLoaded: r(H),
|
52
|
+
onNavigate: r(U)
|
53
|
+
}, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
|
54
|
+
], 1024));
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
$ as default
|
59
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as q, toRefs as D, ref as f, resolveComponent as r, openBlock as R, createBlock as S, unref as e, isRef as T, withCtx as a, createElementVNode as _, toDisplayString as c, createVNode as n, createTextVNode as v } from "vue";
|
2
|
-
import { t as m, h as j, U as z, m as A } from "./main-
|
2
|
+
import { t as m, h as j, U as z, m as A } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
5
5
|
__name: "DataExport",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as X, toRefs as Y, ref as u, resolveComponent as s, openBlock as h, createBlock as x, unref as e, isRef as F, withCtx as t, createElementVNode as v, createVNode as n, createTextVNode as m, toDisplayString as i, createCommentVNode as Z, createElementBlock as $, Fragment as ee, renderList as le } from "vue";
|
2
|
-
import { t as g,
|
2
|
+
import { t as g, x as oe, y as te, h as k, U as C, m as B } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const ae = { style: { color: "red" } }, re = { class: "footer-operation" }, ne = { class: "footer-content" }, de = /* @__PURE__ */ X({
|
5
5
|
__name: "DataImport",
|
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let s = i(() => import("./Text-
|
13
|
+
let s = i(() => import("./Text-DAliAA9U.js")), m = a, { schema: r, table: n, field: d, set: f, row: p, modelValue: l } = c(m);
|
14
14
|
return (x, t) => (V(), b(e(s), {
|
15
15
|
schema: e(r),
|
16
16
|
table: e(n),
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import {
|
2
|
+
import { n as g } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const R = /* @__PURE__ */ i({
|
5
5
|
__name: "Date",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as f, toRefs as h, ref as k, computed as V, resolveComponent as b, openBlock as g, createBlock as v, unref as o, isRef as x } from "vue";
|
2
|
-
import { U as e, t as l } from "./main-
|
2
|
+
import { U as e, t as l } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const U = /* @__PURE__ */ f({
|
5
5
|
__name: "DateRange",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
|
2
|
-
import {
|
2
|
+
import { n as Y } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const x = /* @__PURE__ */ c({
|
5
5
|
__name: "DateTime",
|
@@ -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-DAliAA9U.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,5 +1,5 @@
|
|
1
1
|
import { defineComponent as f, toRefs as _, ref as D, computed as h, resolveComponent as V, openBlock as g, createBlock as w, unref as l, isRef as b } from "vue";
|
2
|
-
import { U as i, t as r } from "./main-
|
2
|
+
import { U as i, t as r } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const R = /* @__PURE__ */ f({
|
5
5
|
__name: "DateTimeRange",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as _, toRefs as g, ref as V, computed as k, resolveComponent as v, openBlock as x, createBlock as b, unref as o, isRef as C } from "vue";
|
2
|
-
import { U as t, t as l } from "./main-
|
2
|
+
import { U as t, t as l } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const B = /* @__PURE__ */ _({
|
5
5
|
__name: "Daterange",
|
@@ -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-DAliAA9U.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,5 +1,5 @@
|
|
1
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 { t as l, h as V, m as w, r as E } from "./main-
|
2
|
+
import { t as l, h as V, m as w, r as E } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const S = { class: "delete" }, q = { class: "delete-title" }, R = { class: "delete-buttons" }, A = /* @__PURE__ */ x({
|
5
5
|
__name: "Delete",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, toRefs as x, resolveComponent as b, openBlock as N, createBlock as V, unref as e, withCtx as t, createVNode as a, createElementVNode as m, createTextVNode as r, toDisplayString as p } from "vue";
|
2
|
-
import {
|
2
|
+
import { J as g, t as c } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
import "element-plus";
|
5
5
|
import "vue-router";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as g, toRefs as x, computed as a, resolveComponent as h, openBlock as r, createElementBlock as n, Fragment as V, renderList as b, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as s, createCommentVNode as w } from "vue";
|
2
|
-
import { U as o } from "./main-
|
2
|
+
import { U as o } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
4
|
import "./assets/underscore-B0BCaBxV.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as f, toRefs as _, computed as V, resolveComponent as b, openBlock as h, createBlock as y, 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 { l as K } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
const
|
4
|
+
const E = /* @__PURE__ */ f({
|
5
5
|
__name: "Email",
|
6
6
|
props: {
|
7
7
|
schema: {},
|
@@ -45,5 +45,5 @@ const D = /* @__PURE__ */ f({
|
|
45
45
|
}
|
46
46
|
});
|
47
47
|
export {
|
48
|
-
|
48
|
+
E as default
|
49
49
|
};
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as x, Fragment as L, renderList as q, createBlock as y, toDisplayString as d, createTextVNode as w, createCommentVNode as
|
1
|
+
import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as x, Fragment as L, renderList as q, createBlock as y, toDisplayString as d, createTextVNode as w, createCommentVNode as F } from "vue";
|
2
2
|
import { useRoute as G, useRouter as H } from "vue-router";
|
3
|
-
import {
|
3
|
+
import { F as I, c as J, C as m, t as K, h as M, e as O } from "./main-SNlEeN01.js";
|
4
4
|
import "./assets/moment-h96o7c8I.js";
|
5
5
|
import "element-plus";
|
6
6
|
import "./assets/intro.js-Cg1adLK7.js";
|
7
|
-
import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-
|
7
|
+
import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
|
8
8
|
const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
9
9
|
key: 0,
|
10
10
|
class: "files-image"
|
@@ -22,23 +22,23 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
|
22
22
|
next: {},
|
23
23
|
set: {}
|
24
24
|
},
|
25
|
-
setup(
|
26
|
-
let
|
25
|
+
setup(S) {
|
26
|
+
let z = S, { schema: N, table: s, layout: i, next: _, set: b, searchData: ne } = T(z), f = G(), v = H(), k = A(), C = (o) => {
|
27
27
|
let t = { type: "fileLayout", value: o };
|
28
28
|
M.post("/config/save", t).then((h) => {
|
29
29
|
m.fileLayout = o;
|
30
30
|
});
|
31
|
-
},
|
31
|
+
}, V = (o) => {
|
32
32
|
let t = { ...f.query };
|
33
33
|
t.page = o, v.push({ path: _.value.paging.route, query: t });
|
34
|
-
},
|
34
|
+
}, B = () => {
|
35
35
|
let o = { ...f.query };
|
36
36
|
o.page = "1", o.condition = O.encode(k.value);
|
37
37
|
let t = { path: _.value.paging.route, query: o };
|
38
38
|
v.push(t);
|
39
39
|
};
|
40
40
|
return (o, t) => {
|
41
|
-
const h = p("router-link"), D = p("el-table-column"),
|
41
|
+
const h = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
|
42
42
|
return l(), u("div", U, [
|
43
43
|
g(e(I), {
|
44
44
|
title: e(J)(o.module.type, o.module.name)
|
@@ -77,7 +77,7 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
|
77
77
|
]),
|
78
78
|
_: 2
|
79
79
|
}, 1032, ["to"]))), 128))
|
80
|
-
])) : e(m).fileLayout == "list" ? (l(), y(
|
80
|
+
])) : e(m).fileLayout == "list" ? (l(), y(R, {
|
81
81
|
key: 1,
|
82
82
|
class: "files-list",
|
83
83
|
border: "",
|
@@ -103,7 +103,7 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
|
103
103
|
class: "file-image",
|
104
104
|
src: c.row[e(i).url],
|
105
105
|
alt: c.row[e(i).name]
|
106
|
-
}, null, 8, ae)) :
|
106
|
+
}, null, 8, ae)) : F("", !0),
|
107
107
|
n("div", oe, d(c.row[c.column.property]), 1)
|
108
108
|
])
|
109
109
|
]),
|
@@ -116,15 +116,15 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
|
116
116
|
default: r(() => [
|
117
117
|
e(s).search.length > 0 ? (l(), y(Q, {
|
118
118
|
key: 0,
|
119
|
-
schema: e(
|
119
|
+
schema: e(N),
|
120
120
|
table: e(s),
|
121
121
|
search: e(k),
|
122
|
-
onSubmit: e(
|
123
|
-
}, null, 8, ["schema", "table", "search", "onSubmit"])) :
|
122
|
+
onSubmit: e(B)
|
123
|
+
}, null, 8, ["schema", "table", "search", "onSubmit"])) : F("", !0)
|
124
124
|
]),
|
125
125
|
_: 1
|
126
126
|
}, 8, ["title"]),
|
127
|
-
g(
|
127
|
+
g(E, {
|
128
128
|
type: "primary",
|
129
129
|
icon: "el-icon-plus"
|
130
130
|
}, {
|
@@ -144,9 +144,9 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
|
144
144
|
background: "",
|
145
145
|
layout: "total, prev, pager, next, jumper",
|
146
146
|
"current-page": e(i).page,
|
147
|
-
"page-size": e(i).
|
147
|
+
"page-size": e(i).size,
|
148
148
|
total: e(i).count,
|
149
|
-
onCurrentChange: e(
|
149
|
+
onCurrentChange: e(V)
|
150
150
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
151
151
|
]);
|
152
152
|
};
|
@@ -1,41 +1,41 @@
|
|
1
|
-
import { defineComponent as j, ref as u, onMounted as D, computed as P, watch as Q, resolveComponent as p, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as Z, withModifiers as G, createTextVNode as $, Fragment as J, renderList as W, nextTick as
|
1
|
+
import { defineComponent as j, ref as u, onMounted as D, computed as P, watch as Q, resolveComponent as p, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as Z, withModifiers as G, createTextVNode as $, Fragment as J, renderList as W, nextTick as A } from "vue";
|
2
2
|
import { useRoute as X } from "vue-router";
|
3
|
-
import { i as Y,
|
3
|
+
import { i as Y, z as w, O as ee, t as i, U as F, N as K, r as N, x as te } from "./main-SNlEeN01.js";
|
4
4
|
import "./assets/moment-h96o7c8I.js";
|
5
5
|
const le = { class: "login-container" }, oe = { class: "title-container" }, se = { class: "title" }, re = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], me = /* @__PURE__ */ j({
|
6
6
|
__name: "Index",
|
7
7
|
setup(ie) {
|
8
|
-
let a = u({ id: "", secret: "" }), f = u("password"), r = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(),
|
8
|
+
let a = u({ id: "", secret: "" }), f = u("password"), r = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(), O = {
|
9
9
|
id: [{
|
10
10
|
required: !0,
|
11
11
|
trigger: "blur",
|
12
12
|
validator: (t, e, s) => {
|
13
|
-
e ? e.indexOf("@") > -1 ?
|
13
|
+
e ? e.indexOf("@") > -1 ? F.string.isEmail(e) ? s() : s(new Error("邮箱格式不正确")) : s() : s(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
14
14
|
}
|
15
15
|
}]
|
16
16
|
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
17
|
-
},
|
17
|
+
}, M = (t) => {
|
18
18
|
t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? r.value = !0 : r.value = !1), t.key == "CapsLock" && r.value == !0 && (r.value = !1);
|
19
19
|
}, B = () => {
|
20
|
-
f.value == "password" ? f.value = "" : f.value = "password",
|
20
|
+
f.value == "password" ? f.value = "" : f.value = "password", A(() => {
|
21
21
|
b.value.focus();
|
22
22
|
});
|
23
23
|
}, E = async (t) => {
|
24
24
|
y.value = !0, V.value.validate(async (e) => {
|
25
25
|
if (!e)
|
26
26
|
return y.value = !1, !1;
|
27
|
-
(await
|
28
|
-
|
27
|
+
(await K.sso.createAsync(t)).login(a.value).then(({ data: c }) => {
|
28
|
+
F.url.getBackUrl() ? N.toBackUrl() : N.to("/");
|
29
29
|
}).finally(() => {
|
30
|
-
|
30
|
+
A(() => {
|
31
31
|
y.value = !1;
|
32
32
|
});
|
33
33
|
});
|
34
34
|
});
|
35
35
|
}, q = async (t) => {
|
36
|
-
let e = await
|
36
|
+
let e = await K.sso.createAsync(t), s = x.query.return_url, c = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${s}`;
|
37
37
|
return e.loginUrl(te.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(c));
|
38
|
-
},
|
38
|
+
}, z = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {});
|
39
39
|
D(async () => {
|
40
40
|
Y.setI18nTitle("common.login");
|
41
41
|
for (let t = 0; t < w.ssos.length; t++) {
|
@@ -48,9 +48,9 @@ const le = { class: "login-container" }, oe = { class: "title-container" }, se =
|
|
48
48
|
return Q(() => x, (t) => {
|
49
49
|
debugger;
|
50
50
|
const e = t.query;
|
51
|
-
e &&
|
51
|
+
e && z(e);
|
52
52
|
}), (t, e) => {
|
53
|
-
const s = p("el-input"), c = p("el-form-item"), U = p("el-tooltip"),
|
53
|
+
const s = p("el-input"), c = p("el-form-item"), U = p("el-tooltip"), I = p("el-button"), S = p("router-link"), H = p("el-form");
|
54
54
|
return d(), C("div", le, [
|
55
55
|
g(H, {
|
56
56
|
ref_key: "loginFormRef",
|
@@ -58,7 +58,7 @@ const le = { class: "login-container" }, oe = { class: "title-container" }, se =
|
|
58
58
|
autocomplete: "on",
|
59
59
|
"label-position": "left",
|
60
60
|
model: l(a),
|
61
|
-
rules: l(
|
61
|
+
rules: l(O)
|
62
62
|
}, {
|
63
63
|
default: m(() => [
|
64
64
|
n("div", oe, [
|
@@ -110,7 +110,7 @@ const le = { class: "login-container" }, oe = { class: "title-container" }, se =
|
|
110
110
|
tabindex: "2",
|
111
111
|
autocomplete: "on",
|
112
112
|
onKeyup: [
|
113
|
-
T(l(
|
113
|
+
T(l(M), ["native"]),
|
114
114
|
e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
|
115
115
|
],
|
116
116
|
onBlur: e[1] || (e[1] = (o) => L(r) ? r.value = !1 : r = !1),
|
@@ -132,7 +132,7 @@ const le = { class: "login-container" }, oe = { class: "title-container" }, se =
|
|
132
132
|
]),
|
133
133
|
_: 1
|
134
134
|
}, 8, ["modelValue"])) : R("", !0),
|
135
|
-
l(_) ? (d(), v(
|
135
|
+
l(_) ? (d(), v(I, {
|
136
136
|
key: 2,
|
137
137
|
type: "primary",
|
138
138
|
class: "btn-login",
|
@@ -148,7 +148,7 @@ const le = { class: "login-container" }, oe = { class: "title-container" }, se =
|
|
148
148
|
(d(!0), C(J, null, W(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
|
149
149
|
href: o.loginUrl
|
150
150
|
}, k(l(i)(o.text)), 9, ne))), 256)),
|
151
|
-
g(
|
151
|
+
g(S, {
|
152
152
|
class: "btn-register",
|
153
153
|
to: "/register"
|
154
154
|
}, {
|
@@ -1,5 +1,5 @@
|
|
1
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 { U as N, t as x } from "./main-
|
2
|
+
import { U as N, t as x } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
const E = /* @__PURE__ */ C({
|
5
5
|
__name: "Index",
|
@@ -13,7 +13,7 @@ const E = /* @__PURE__ */ C({
|
|
13
13
|
},
|
14
14
|
emits: ["submit", "change"],
|
15
15
|
setup(g, { emit: B }) {
|
16
|
-
let V = U(() => import("./TextLink-
|
16
|
+
let V = U(() => import("./TextLink-CKPExcuj.js")), k = g, { schema: u, table: s, field: l, set: i, row: a, config: m } = D(k), d = p(() => {
|
17
17
|
let o = l.value.control.type;
|
18
18
|
return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
|
19
19
|
}), _ = p(() => `text-${N.string.getDashName(d.value)}`), t = p({
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as
|
2
|
-
import {
|
1
|
+
import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as R, Fragment as B, createVNode as H, unref as e, createBlock as L, resolveDynamicComponent as w, withCtx as E, createElementVNode as P, toDisplayString as V } from "vue";
|
2
|
+
import { v as $, a as F } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/liquidjs-C2HVw1Ra.js";
|
4
4
|
import "./assets/underscore-B0BCaBxV.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
@@ -9,7 +9,7 @@ import "./assets/moment-h96o7c8I.js";
|
|
9
9
|
import "element-plus";
|
10
10
|
import "vue-router";
|
11
11
|
import "./assets/intro.js-Cg1adLK7.js";
|
12
|
-
const
|
12
|
+
const I = { class: "not-support" }, Y = /* @__PURE__ */ k({
|
13
13
|
__name: "Index",
|
14
14
|
props: {
|
15
15
|
searchData: {},
|
@@ -26,9 +26,9 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
26
26
|
o("navigate", a, t);
|
27
27
|
}, C = (a, t) => {
|
28
28
|
o("sort", a, t);
|
29
|
-
},
|
29
|
+
}, _ = (a) => {
|
30
30
|
o("search", a);
|
31
|
-
},
|
31
|
+
}, v = (a, t = null) => {
|
32
32
|
o("page-change", a, t);
|
33
33
|
}, b = (a, t = null) => {
|
34
34
|
o("size-change", a, t);
|
@@ -43,17 +43,15 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
43
43
|
if (!n.value || !n.value.resize)
|
44
44
|
return !1;
|
45
45
|
n.value.resize(a);
|
46
|
-
},
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
} }), (a, t) => (s(), B(L, null, [
|
51
|
-
R(e(q), {
|
46
|
+
}, keyboardHandler: (a, t) => {
|
47
|
+
F.triggerKeyboardHandler(n.value, a, t);
|
48
|
+
} }), (a, t) => (s(), R(B, null, [
|
49
|
+
H(e($), {
|
52
50
|
layout: e(l),
|
53
51
|
table: e(r),
|
54
52
|
onLayoutChange: e(S)
|
55
53
|
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
56
|
-
(s(), w(
|
54
|
+
(s(), L(w(`paging-${e(l).type.toLowerCase()}`), {
|
57
55
|
ref_key: "pagingRef",
|
58
56
|
ref: n,
|
59
57
|
module: e(m),
|
@@ -65,14 +63,14 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
65
63
|
"search-data": e(y),
|
66
64
|
onNavigate: e(f),
|
67
65
|
onSort: e(C),
|
68
|
-
onSearch: e(
|
69
|
-
onPageChange: e(
|
66
|
+
onSearch: e(_),
|
67
|
+
onPageChange: e(v),
|
70
68
|
onSizeChange: e(b),
|
71
69
|
onSucceed: e(x),
|
72
70
|
onClose: e(z)
|
73
71
|
}, {
|
74
|
-
default:
|
75
|
-
|
72
|
+
default: E(() => [
|
73
|
+
P("div", I, "未支持的分页布局方式:" + V(e(l).type), 1)
|
76
74
|
]),
|
77
75
|
_: 1
|
78
76
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
@@ -80,5 +78,5 @@ const F = { class: "not-support" }, X = /* @__PURE__ */ k({
|
|
80
78
|
}
|
81
79
|
});
|
82
80
|
export {
|
83
|
-
|
81
|
+
Y as _
|
84
82
|
};
|
@@ -1,10 +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 { v as F, t as I } from "./main-SNlEeN01.js";
|
3
3
|
import "./assets/moment-h96o7c8I.js";
|
4
4
|
import "element-plus";
|
5
5
|
import "vue-router";
|
6
6
|
import "./assets/intro.js-Cg1adLK7.js";
|
7
|
-
const
|
7
|
+
const M = { class: "not-support" }, K = /* @__PURE__ */ x({
|
8
8
|
__name: "Index",
|
9
9
|
props: {
|
10
10
|
route: {},
|
@@ -34,7 +34,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
|
|
34
34
|
};
|
35
35
|
return k(() => {
|
36
36
|
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
37
|
-
L(e(
|
37
|
+
L(e(F), {
|
38
38
|
layout: e(a),
|
39
39
|
table: e(r),
|
40
40
|
onLayoutChange: e(f)
|
@@ -55,7 +55,7 @@ const I = { class: "not-support" }, K = /* @__PURE__ */ x({
|
|
55
55
|
onSubmit: e(b)
|
56
56
|
}, {
|
57
57
|
default: N(() => [
|
58
|
-
V("div",
|
58
|
+
V("div", M, $(e(I)("single.not_supported_layout", e(a).type)), 1)
|
59
59
|
]),
|
60
60
|
_: 1
|
61
61
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|