halo-pc 1.0.39 → 1.0.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DZlstqWL.js → Article-CqtkXVmQ.js} +37 -36
- package/dist/{ArticleFooter-BkduiKh8.js → ArticleFooter-DeJdTtZD.js} +12 -13
- package/dist/{Autocomplete-DMKnFezN.js → Autocomplete-0fxB2_FC.js} +1 -1
- package/dist/Autocomplete-BfhYwZ5G.js +49 -0
- package/dist/{Autocomplete-0Yf6lJQ7.js → Autocomplete-LQiKcvz1.js} +10 -11
- package/dist/{CSharp-q8eOBm4y.js → CSharp-BIFRQLaK.js} +1 -1
- package/dist/{Calender-CseGNCuW.js → Calender-DPNTn-S4.js} +2 -2
- package/dist/Callback-Ci5KrWOC.js +20 -0
- package/dist/Cascader-CnOEgPDf.js +41 -0
- package/dist/{Cascader-BG5ev35M.js → Cascader-Vhc81TDV.js} +17 -18
- package/dist/{Checkbox-CsCA6iQb.js → Checkbox-CIim5NiB.js} +1 -1
- package/dist/{Checkbox-dw8RNAGt.js → Checkbox-D9Sp6ZGQ.js} +11 -12
- package/dist/Code-BEjqqeFZ.js +54 -0
- package/dist/Code-BSrEPuXk.js +4 -0
- package/dist/Code-Dp1-k8sW.js +36 -0
- package/dist/{Code-BE8YLGaE.js → Code-yDKaH1uF.js} +10 -8
- package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +59 -0
- package/dist/Column-B0ViSver.js +69 -0
- package/dist/{Comment-kTmfTlbF.js → Comment-tU2wBvGO.js} +22 -26
- package/dist/{Compare-DlyQBCat.js → Compare-D7Gz-lE9.js} +10 -11
- package/dist/{Compare-DVWaiCUC.js → Compare-DqvGyQWA.js} +8 -9
- package/dist/Copy-Dm1LH9qB.js +43 -0
- package/dist/Custom-CLKAPWEo.js +49 -0
- package/dist/{DataExport-Um1wXyRe.js → DataExport-BDftKI0U.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js → DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js} +27 -28
- package/dist/{DataImport-CPMLup4P.js → DataImport-CRYaaQfA.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js → DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js} +30 -31
- package/dist/{Date-BhZ8ltgp.js → Date-DPPiYLWw.js} +7 -8
- package/dist/{Date-Cj9lCW_Y.js → Date-Dlh1_S7p.js} +1 -1
- package/dist/{DateRange-Bw_Oyawz.js → DateRange-BgF_T3ls.js} +5 -6
- package/dist/{DateTime-Cv-SRE88.js → DateTime-CNjPeK9t.js} +1 -1
- package/dist/{DateTime-BU6JaBPk.js → DateTime-DP-VfmtN.js} +7 -8
- package/dist/{DateTimeRange-B4Ah6LQY.js → DateTimeRange-DbEpW4nB.js} +9 -10
- package/dist/{Daterange-CSZe4XGO.js → Daterange-DHVjhrK9.js} +4 -5
- package/dist/{Decimal-DSDuwW9Z.js → Decimal-BDEWVSsK.js} +1 -1
- package/dist/{Delete-CjPgg-5G.js → Delete-Bl0GmthL.js} +19 -20
- package/dist/{Detail-gj--ICe8.js → Detail-BozyhOTt.js} +10 -11
- package/dist/{Dictionary-Ck_02mWa.js → Dictionary-CJwZPQz6.js} +9 -15
- package/dist/{Email-BSQbDvh1.js → Email-D5X1SzuJ.js} +11 -12
- package/dist/{File-FW4usX43.js → File-DixK0K7p.js} +44 -43
- package/dist/Image-BrelhCGo.js +9 -0
- package/dist/Index-BeM6hKX9.js +4 -0
- package/dist/Index-BkfLyqpm.js +173 -0
- package/dist/{Index-MUgqP8jJ.js → Index-D2FOeoNQ.js} +1 -1
- package/dist/Index-D8UVsXwf.js +4 -0
- package/dist/{Index-Dq5Vp-ts.js → Index-DbXgnBz6.js} +15 -16
- package/dist/Index-FL-dxfFB.js +4 -0
- package/dist/Index-fWOqfFkG.js +4 -0
- package/dist/{Index-BibWDRoP.js → Index-j15c7lwJ.js} +1 -1
- package/dist/Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js +80 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js → Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js} +21 -22
- package/dist/{Install-Cpp3BDCS.js → Install-WR3b4IfI.js} +13 -14
- package/dist/{Int-Ck1SvK7R.js → Int-CWsDtoxE.js} +9 -10
- package/dist/{Int-DcQsipaO.js → Int-GGWiUqO2.js} +13 -14
- package/dist/List-kRCsHp6d.js +71 -0
- package/dist/Maintaince-BG8MUi3A.js +14 -0
- package/dist/{Markdown-BEUz4VZ7.js → Markdown-nVfQs7kc.js} +1 -1
- package/dist/Month-B1icZmL4.js +37 -0
- package/dist/{Month-DmUiyF1G.js → Month-CxKMP4kO.js} +1 -1
- package/dist/{Month-DJGGGrZr.js → Month-DnYlAi7k.js} +10 -11
- package/dist/{Normal-ACcTHsXb.js → Normal-RcqEyIFN.js} +47 -46
- package/dist/Paging-DrdGzxeP.js +94 -0
- package/dist/{PagingHeader-DDkmqv98.js → PagingHeader-C8UpM9Kj.js} +18 -17
- package/dist/{PagingRow-B4Nfa2Vk.js → PagingRow-oQWCofO4.js} +13 -14
- package/dist/{Racebar-LfnPLNOY.js → Racebar-CvoF2ySW.js} +32 -36
- package/dist/{Radio-DcEZI4m7.js → Radio-DhjfkC14.js} +1 -1
- package/dist/{Register-B4x_zgyH.js → Register-B0Vx60wY.js} +55 -56
- package/dist/RichText-4wrLw9cy.js +41 -0
- package/dist/{SearchForm-DU5QLTbe.js → SearchForm-BHVnQaSL.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js → SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js} +50 -51
- package/dist/SearchHeader-C9yovXli.js +4 -0
- package/dist/SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js +60 -0
- package/dist/{Select-C3gUeHmu.js → Select-BDoCqD3I.js} +10 -11
- package/dist/{Select-CMxubJIV.js → Select-CX4i5KPQ.js} +1 -1
- package/dist/{Select-DrDDVJtz.js → Select-vgwpegBi.js} +20 -21
- package/dist/{Single-De-YyuVk.js → Single-C3629BdC.js} +127 -128
- package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
- package/dist/{Statistic-SvjQ7uGI.js → Statistic-WPezAlUn.js} +34 -33
- package/dist/{Stock-C2b9p3-N.js → Stock-BD5Acf8y.js} +8 -6
- package/dist/{Stock-XZkBSQw1.js → Stock-EPM3j2f_.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js → Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js} +22 -21
- package/dist/{Switch-PJT-5dDt.js → Switch-B0XN4K-9.js} +1 -1
- package/dist/{Table-Dy1H2IHN.js → Table-BklK1hSh.js} +142 -136
- package/dist/{Table-CkoZ8OjZ.js → Table-JFdOXuME.js} +61 -60
- package/dist/Text-CNtHdodK.js +4 -0
- package/dist/{Text-CytgR_l_.js → Text-DrJkdxZF.js} +12 -13
- package/dist/Text-KAuEjP7I.js +48 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +53 -0
- package/dist/{TextLink-DINdFWzs.js → TextLink-BnijIoEJ.js} +8 -9
- package/dist/{Textarea-DakZXfN6.js → Textarea-3SWLqQvO.js} +1 -1
- package/dist/{Time-Bn1Av2wo.js → Time-C3qlNZkJ.js} +9 -10
- package/dist/{Timeline-B32cUvwI.js → Timeline-B6hUIYhL.js} +11 -15
- package/dist/{Tree-BGfHm4k_.js → Tree-DBvFF4Rj.js} +77 -76
- package/dist/{Tree-BItAXuSC.js → Tree-JexLPBXX.js} +38 -42
- package/dist/{TreeNode-DmiM_a2n.js → TreeNode-BOWB2WN9.js} +9 -10
- package/dist/{Update-DSTmaeT8.js → Update-CDLYYwgj.js} +5 -6
- package/dist/{UpdateChild-BgBJJwT3.js → UpdateChild-DUG7pAuO.js} +19 -20
- package/dist/{Upload-DMqlcxCt.js → Upload-B2hbxDsT.js} +46 -47
- package/dist/Upload-mlk6Y4Po.js +65 -0
- package/dist/{Year-DckBNPK_.js → Year-BRsJ7b1J.js} +1 -1
- package/dist/{Year-Cv92J5pF.js → Year-BUF60NmB.js} +7 -8
- package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
- package/dist/main-DymfKjqO.js +16480 -0
- package/dist/main.js +144 -142
- package/dist/style.css +1 -1
- package/esm/coms/commons/Table.vue.d.ts +1 -1
- package/esm/coms/drivers/Index.vue.d.ts +2 -2
- package/esm/coms/globals/Menu.vue.d.ts +1 -1
- package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
- package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
- package/esm/coms/headers/Index.vue.d.ts +1 -1
- package/esm/coms/layouts/Index.vue.d.ts +3 -3
- package/esm/coms/layouts/Side.vue.d.ts +2 -2
- package/esm/coms/layouts/Top.vue.d.ts +1 -1
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +3 -3
- package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Custom.vue.d.ts +6 -6
- package/esm/coms/pages/List.vue.d.ts +5 -3
- package/esm/coms/pages/Paging.vue.d.ts +5 -3
- package/esm/coms/pages/Single.vue.d.ts +3 -3
- package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
- package/esm/coms/pagings/@types/index.d.ts +2 -2
- package/esm/coms/pagings/Article.vue.d.ts +2 -2
- package/esm/coms/pagings/Index.vue.d.ts +4 -2
- package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
- package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
- package/esm/coms/pagings/Table.vue.d.ts +4 -2
- package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
- package/esm/coms/singles/Index.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Table.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/package.json +6 -6
- package/dist/Autocomplete-bc-9LfGa.js +0 -50
- package/dist/Callback-D_dFJlfv.js +0 -21
- package/dist/Cascader-Dzeoz7ss.js +0 -47
- package/dist/Code-BRe68AIa.js +0 -42
- package/dist/Code-C5QfTMNw.js +0 -60
- package/dist/Code-_XoN6vQE.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js +0 -63
- package/dist/Column-C-NHhT2v.js +0 -75
- package/dist/Copy-DQFJy3uX.js +0 -44
- package/dist/Custom-D5HoD0nQ.js +0 -59
- package/dist/Image-DiAw_6jM.js +0 -9
- package/dist/Index-B_5hshjJ.js +0 -4
- package/dist/Index-BtlD6ocN.js +0 -4
- package/dist/Index-C3f38zw0.js +0 -4
- package/dist/Index-CB_TnEaw.js +0 -4
- package/dist/Index-hgTZyQps.js +0 -174
- package/dist/Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js +0 -82
- package/dist/List-hWB41wF_.js +0 -72
- package/dist/Maintaince-l-Tdveur.js +0 -20
- package/dist/Month-DkafiRHq.js +0 -38
- package/dist/Paging-Vfz2RDBo.js +0 -93
- package/dist/RichText-B1Iogpgr.js +0 -47
- package/dist/SearchFooter-CmM8qnxP.js +0 -4
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js +0 -55
- package/dist/Text-Bt5jL_KV.js +0 -49
- package/dist/Text-vHouxGHU.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js +0 -59
- package/dist/Upload-DpQu3z1T.js +0 -71
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/main-KNkwb0pq.js +0 -10515
@@ -0,0 +1,36 @@
|
|
1
|
+
import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as x, isRef as F } from "vue";
|
2
|
+
import { M as _ } from "./main-DymfKjqO.js";
|
3
|
+
const C = /* @__PURE__ */ v({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(s) {
|
14
|
+
let f = s, { table: g, field: t, set: b, row: d, modelValue: a } = h(f), r = i(), o = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", p = (e) => e ? g.value.fields.find((u) => u.name == e) : null, c = (e) => {
|
15
|
+
let l = p(e);
|
16
|
+
return l ? d.value[l.name] : null;
|
17
|
+
};
|
18
|
+
return (() => {
|
19
|
+
if (r.value = m(), t.value.control.languageField == null)
|
20
|
+
o.value.language = t.value.control.language;
|
21
|
+
else {
|
22
|
+
let e = c(t.value.control.languageField);
|
23
|
+
e && (o.value.language = e);
|
24
|
+
}
|
25
|
+
})(), (e, l) => (V(), y(n(_), {
|
26
|
+
class: "text-code",
|
27
|
+
options: n(o),
|
28
|
+
style: x(n(r)),
|
29
|
+
modelValue: n(a),
|
30
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => F(a) ? a.value = u : a = u)
|
31
|
+
}, null, 8, ["options", "style", "modelValue"]));
|
32
|
+
}
|
33
|
+
});
|
34
|
+
export {
|
35
|
+
C as default
|
36
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-
|
3
|
-
const b = /* @__PURE__ */
|
1
|
+
import { defineComponent as u, toRefs as c, openBlock as p, createBlock as _, unref as e } from "vue";
|
2
|
+
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-CmkomJXY.js";
|
3
|
+
const b = /* @__PURE__ */ u({
|
4
4
|
__name: "Code",
|
5
5
|
props: {
|
6
6
|
searchData: {},
|
@@ -9,17 +9,19 @@ const b = /* @__PURE__ */ r({
|
|
9
9
|
table: {},
|
10
10
|
layout: {},
|
11
11
|
next: {},
|
12
|
-
set: {}
|
12
|
+
set: {},
|
13
|
+
url: {},
|
14
|
+
win: {}
|
13
15
|
},
|
14
16
|
setup(t) {
|
15
|
-
let a = t, { module: o, schema: l, table: s, layout:
|
17
|
+
let a = t, { module: o, schema: l, table: s, layout: n, next: m, set: r } = c(a);
|
16
18
|
return (d, h) => (p(), _(f, {
|
17
19
|
module: e(o),
|
18
20
|
schema: e(l),
|
19
21
|
table: e(s),
|
20
|
-
layout: e(
|
21
|
-
next: e(
|
22
|
-
set: e(
|
22
|
+
layout: e(n),
|
23
|
+
next: e(m),
|
24
|
+
set: e(r)
|
23
25
|
}, null, 8, ["module", "schema", "table", "layout", "next", "set"]));
|
24
26
|
}
|
25
27
|
});
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent as C, toRefs as b, ref as d, onMounted as k, resolveComponent as i, openBlock as r, createElementBlock as u, createVNode as m, unref as e, isRef as h, withCtx as p, Fragment as c, renderList as w, createBlock as B, createTextVNode as _, toDisplayString as f, createCommentVNode as L } from "vue";
|
2
|
+
import { v as M, M as N } from "./main-DymfKjqO.js";
|
3
|
+
const E = { class: "ha-code-layout" }, q = /* @__PURE__ */ C({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
route: {},
|
7
|
+
validateErrors: {},
|
8
|
+
module: {},
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
layout: {},
|
12
|
+
next: {},
|
13
|
+
set: {},
|
14
|
+
url: {},
|
15
|
+
win: {}
|
16
|
+
},
|
17
|
+
emits: ["submit", "change"],
|
18
|
+
setup(g, { emit: R }) {
|
19
|
+
let v = g, { module: U, schema: A, table: D, layout: a, next: F, set: S } = b(v), n = d({}), t = d(), V = () => {
|
20
|
+
t.value = a.value.languages[0];
|
21
|
+
};
|
22
|
+
return k(async () => {
|
23
|
+
V();
|
24
|
+
let s = await M.loadCodeLanguageAsync();
|
25
|
+
for (let l of s)
|
26
|
+
n.value[l.text] = l.suffix;
|
27
|
+
}), (s, l) => {
|
28
|
+
const x = i("el-radio"), y = i("el-radio-group");
|
29
|
+
return r(), u("div", E, [
|
30
|
+
m(y, {
|
31
|
+
modelValue: e(t),
|
32
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => h(t) ? t.value = o : t = o)
|
33
|
+
}, {
|
34
|
+
default: p(() => [
|
35
|
+
(r(!0), u(c, null, w(e(a).languages, (o) => (r(), B(x, { value: o }, {
|
36
|
+
default: p(() => [
|
37
|
+
_(f(o) + " ", 1),
|
38
|
+
e(n)[o] ? (r(), u(c, { key: 0 }, [
|
39
|
+
_("(" + f(e(n)[o]) + ")", 1)
|
40
|
+
], 64)) : L("", !0)
|
41
|
+
]),
|
42
|
+
_: 2
|
43
|
+
}, 1032, ["value"]))), 256))
|
44
|
+
]),
|
45
|
+
_: 1
|
46
|
+
}, 8, ["modelValue"]),
|
47
|
+
m(e(N), {
|
48
|
+
border: "",
|
49
|
+
options: { language: e(n)[e(t)] },
|
50
|
+
modelValue: e(a).codes[e(t)],
|
51
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).codes[e(t)] = o)
|
52
|
+
}, null, 8, ["options", "modelValue"])
|
53
|
+
]);
|
54
|
+
};
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
q as _
|
59
|
+
};
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { defineComponent as M, toRefs as b, onMounted as D, computed as k, openBlock as r, createBlock as C, unref as e, withCtx as y, createElementBlock as s, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as i, createElementVNode as a, toDisplayString as m, resolveDynamicComponent as R, createVNode as S, createTextVNode as u } from "vue";
|
2
|
+
import { U as h, d as _, z as F, H as P } from "./main-DymfKjqO.js";
|
3
|
+
import "element-plus";
|
4
|
+
import "vue-router";
|
5
|
+
import "./assets/intro.js-Cg1adLK7.js";
|
6
|
+
const T = {
|
7
|
+
key: 0,
|
8
|
+
class: "menus"
|
9
|
+
}, $ = ["onClick"], j = { class: "title" }, q = {
|
10
|
+
key: 1,
|
11
|
+
class: "column-empty"
|
12
|
+
}, Q = /* @__PURE__ */ M({
|
13
|
+
__name: "Column",
|
14
|
+
props: {
|
15
|
+
view: {},
|
16
|
+
url: {},
|
17
|
+
win: {}
|
18
|
+
},
|
19
|
+
emits: ["loaded", "navigate"],
|
20
|
+
setup(g, { expose: x, emit: U }) {
|
21
|
+
let d = U, w = g, { url: p, view: c } = b(w), B = (l) => !0, N = (l) => !0, V = () => {
|
22
|
+
v();
|
23
|
+
}, v = () => {
|
24
|
+
d("loaded", n.value.title);
|
25
|
+
}, z = (l) => {
|
26
|
+
let t = _.url.getUrl(l.url, { m: l.id });
|
27
|
+
d("navigate", t);
|
28
|
+
};
|
29
|
+
D(() => {
|
30
|
+
v();
|
31
|
+
});
|
32
|
+
let n = k(() => h.getMenuByUrl(p.value)), f = k(() => _.url.getPath(p.value));
|
33
|
+
return x({ shouldLoad: B, shouldSpin: N, onRefresh: V }), (l, t) => (r(), C(e(F), null, {
|
34
|
+
default: y(() => [
|
35
|
+
e(n) ? (r(), s("div", T, [
|
36
|
+
(r(!0), s(E, null, H(e(n).children, (o) => (r(), s("div", {
|
37
|
+
class: "menu",
|
38
|
+
key: o.id,
|
39
|
+
onClick: (A) => e(z)(o)
|
40
|
+
}, [
|
41
|
+
o.icon ? (r(), s("i", {
|
42
|
+
key: 0,
|
43
|
+
class: L(o.icon)
|
44
|
+
}, null, 2)) : i("", !0),
|
45
|
+
a("div", j, m(o.title), 1)
|
46
|
+
], 8, $))), 128))
|
47
|
+
])) : i("", !0),
|
48
|
+
(r(), C(R(e(c)))),
|
49
|
+
(!e(n) || e(n).children == 0) && !e(c) ? (r(), s("div", q, [
|
50
|
+
S(e(P), null, {
|
51
|
+
default: y(() => t[0] || (t[0] = [
|
52
|
+
u(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
53
|
+
])),
|
54
|
+
_: 1
|
55
|
+
}),
|
56
|
+
t[1] || (t[1] = u(" 可考虑以下任一选项:")),
|
57
|
+
t[2] || (t[2] = a("br", null, null, -1)),
|
58
|
+
u(" 1. 在 src/views 中实现自定义页面:" + m(e(f)), 1),
|
59
|
+
t[3] || (t[3] = a("br", null, null, -1)),
|
60
|
+
u(" 2. 在 src/coms/partials 中实现自定义首页部分视图:" + m(e(f)), 1)
|
61
|
+
])) : i("", !0)
|
62
|
+
]),
|
63
|
+
_: 1
|
64
|
+
}));
|
65
|
+
}
|
66
|
+
});
|
67
|
+
export {
|
68
|
+
Q as default
|
69
|
+
};
|
@@ -1,12 +1,6 @@
|
|
1
|
-
import { defineComponent as E, toRefs as N, ref as j, computed as y, resolveComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { class: "add-footer" }, R = { class: "footer-title" }, S = { class: "comment-user" }, $ = { class: "avatar" }, A = { class: "comment-body" }, G = { class: "comment-time" }, H = { class: "comment-content" }, J = { class: "comment-footer" }, oe = /* @__PURE__ */ E({
|
1
|
+
import { defineComponent as E, toRefs as N, ref as j, computed as y, resolveComponent as c, openBlock as m, createElementBlock as _, createElementVNode as e, createVNode as v, createTextVNode as a, toDisplayString as r, unref as t, withCtx as b, Fragment as B, renderList as T, createBlock as q, createCommentVNode as D } from "vue";
|
2
|
+
import { d as F } from "./main-DymfKjqO.js";
|
3
|
+
const L = { class: "ha-comment-layout" }, M = { class: "comment-add" }, R = { class: "add-footer" }, S = { class: "footer-title" }, U = { class: "comment-user" }, $ = { class: "avatar" }, A = { class: "comment-body" }, G = { class: "comment-time" }, H = { class: "comment-content" }, J = { class: "comment-footer" }, W = /* @__PURE__ */ E({
|
10
4
|
__name: "Comment",
|
11
5
|
props: {
|
12
6
|
route: {},
|
@@ -16,22 +10,24 @@ const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { cl
|
|
16
10
|
table: {},
|
17
11
|
layout: {},
|
18
12
|
next: {},
|
19
|
-
set: {}
|
13
|
+
set: {},
|
14
|
+
url: {},
|
15
|
+
win: {}
|
20
16
|
},
|
21
17
|
setup(C) {
|
22
|
-
let x = C, { schema: K, table: i, layout: n, set: p, validateErrors: O } = N(x),
|
23
|
-
|
18
|
+
let x = C, { schema: K, table: i, layout: n, set: p, validateErrors: O } = N(x), u = j(1), k = (s) => {
|
19
|
+
u.value = s;
|
24
20
|
}, w = y(() => {
|
25
|
-
let s = (
|
26
|
-
return p.value[i.value.name].filter((h,
|
21
|
+
let s = (u.value - 1) * n.value.size, o = u.value * n.value.size - 1;
|
22
|
+
return p.value[i.value.name].filter((h, d) => d >= s && d <= o);
|
27
23
|
}), f = y(() => i.value.fields.find((o) => o.name == n.value.userId));
|
28
24
|
return (s, o) => {
|
29
|
-
const g =
|
30
|
-
return
|
31
|
-
e("div",
|
25
|
+
const g = c("el-input"), h = c("el-button"), d = c("router-link"), I = c("el-pagination");
|
26
|
+
return m(), _("div", L, [
|
27
|
+
e("div", M, [
|
32
28
|
v(g, { type: "textarea" }),
|
33
|
-
e("div",
|
34
|
-
e("div",
|
29
|
+
e("div", R, [
|
30
|
+
e("div", S, [
|
35
31
|
o[0] || (o[0] = e("i", { class: "el-icon-s-comment" }, null, -1)),
|
36
32
|
a("全部评论 (" + r(t(p)[t(i).name].length) + ")", 1)
|
37
33
|
]),
|
@@ -47,11 +43,11 @@ const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { cl
|
|
47
43
|
})
|
48
44
|
])
|
49
45
|
]),
|
50
|
-
(
|
46
|
+
(m(!0), _(B, null, T(t(w), (l, z) => (m(), _("div", {
|
51
47
|
class: "comment",
|
52
48
|
key: z
|
53
49
|
}, [
|
54
|
-
e("div",
|
50
|
+
e("div", U, [
|
55
51
|
e("div", $, [
|
56
52
|
o[2] || (o[2] = e("img", {
|
57
53
|
src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
|
@@ -61,16 +57,16 @@ const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { cl
|
|
61
57
|
])
|
62
58
|
]),
|
63
59
|
e("div", A, [
|
64
|
-
t(f) ? (
|
60
|
+
t(f) ? (m(), q(d, {
|
65
61
|
key: 0,
|
66
62
|
class: "comment-name",
|
67
|
-
to: t(
|
63
|
+
to: t(F).url.getUrl("/sys_user/detail", { id: l[t(n).userId], m: s.$route.query.m })
|
68
64
|
}, {
|
69
65
|
default: b(() => [
|
70
66
|
a(r(t(f).control.data.data.find((V) => V.value == l[t(n).userId]).text), 1)
|
71
67
|
]),
|
72
68
|
_: 2
|
73
|
-
}, 1032, ["to"])) :
|
69
|
+
}, 1032, ["to"])) : D("", !0),
|
74
70
|
e("div", G, r(l[t(n).commentTime]), 1),
|
75
71
|
e("div", H, r(l[t(n).content]), 1),
|
76
72
|
o[3] || (o[3] = e("div", { class: "content-footer" }, [
|
@@ -89,7 +85,7 @@ const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { cl
|
|
89
85
|
v(I, {
|
90
86
|
background: "",
|
91
87
|
layout: "total, prev, pager, next, jumper",
|
92
|
-
"current-page": t(
|
88
|
+
"current-page": t(u),
|
93
89
|
"page-size": t(n).size,
|
94
90
|
total: t(p)[t(i).name].length,
|
95
91
|
onCurrentChange: t(k)
|
@@ -100,5 +96,5 @@ const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { cl
|
|
100
96
|
}
|
101
97
|
});
|
102
98
|
export {
|
103
|
-
|
99
|
+
W as default
|
104
100
|
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as x, toRefs as E, onMounted as k, computed as s, unref as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const L = /* @__PURE__ */ x({
|
1
|
+
import { defineComponent as x, toRefs as E, onMounted as k, computed as s, unref as f, openBlock as w, createElementBlock as y, normalizeClass as V, createCommentVNode as b, nextTick as B } from "vue";
|
2
|
+
import { e as N } from "./main-DymfKjqO.js";
|
3
|
+
const D = /* @__PURE__ */ x({
|
5
4
|
__name: "Compare",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -11,11 +10,11 @@ const L = /* @__PURE__ */ x({
|
|
11
10
|
row: {},
|
12
11
|
modelValue: {}
|
13
12
|
},
|
14
|
-
setup(
|
15
|
-
let v =
|
13
|
+
setup(p) {
|
14
|
+
let v = p, { table: l, field: t, set: g, row: a, modelValue: M } = E(v), o = l.value.name + "-" + t.value.name + "-" + g.value[l.value.name].indexOf(a.value), r = null, n = null, i = null, e = null, C = () => {
|
16
15
|
B(() => {
|
17
16
|
let d = l.value.fields.find((h) => h.name == t.value.control.compareWith), c = a.value[d.name];
|
18
|
-
n = e.editor.createModel(c,
|
17
|
+
n = e.editor.createModel(c, m.value), i = e.editor.createModel(u.value, m.value);
|
19
18
|
let _ = document.getElementsByClassName(o)[0];
|
20
19
|
r = e.editor.createDiffEditor(_, { originalEditable: !0 }), r.setModel({
|
21
20
|
original: n,
|
@@ -26,13 +25,13 @@ const L = /* @__PURE__ */ x({
|
|
26
25
|
k(async () => {
|
27
26
|
e = await N.getMonaco(), C();
|
28
27
|
});
|
29
|
-
let
|
30
|
-
return (d, c) =>
|
28
|
+
let u = s(() => M.value || ""), m = s(() => t.value.control.type.toLowerCase());
|
29
|
+
return (d, c) => f(u) ? (w(), y("div", {
|
31
30
|
key: 0,
|
32
|
-
class: V(`text-compare ${
|
31
|
+
class: V(`text-compare ${f(o)}`)
|
33
32
|
}, null, 2)) : b("", !0);
|
34
33
|
}
|
35
34
|
});
|
36
35
|
export {
|
37
|
-
|
36
|
+
D as default
|
38
37
|
};
|
@@ -1,7 +1,6 @@
|
|
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 {
|
3
|
-
|
4
|
-
const q = /* @__PURE__ */ b({
|
2
|
+
import { e as L } from "./main-DymfKjqO.js";
|
3
|
+
const j = /* @__PURE__ */ b({
|
5
4
|
__name: "Compare",
|
6
5
|
props: {
|
7
6
|
schema: {},
|
@@ -13,10 +12,10 @@ const q = /* @__PURE__ */ b({
|
|
13
12
|
},
|
14
13
|
emits: ["submit", "change", "update:modelValue"],
|
15
14
|
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
|
-
|
15
|
+
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, s = h(), p = h(), _ = (e) => {
|
16
|
+
p.value = C(), z(() => {
|
18
17
|
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(
|
18
|
+
f = e.editor.createModel(c.value, o), g = e.editor.createModel(a, o), r = e.editor.createDiffEditor(s.value, {
|
20
19
|
originalEditable: !0,
|
21
20
|
automaticLayout: !0,
|
22
21
|
renderSideBySide: !i.value.control.inline
|
@@ -47,12 +46,12 @@ const q = /* @__PURE__ */ b({
|
|
47
46
|
e != o && l.setValue(e ?? "");
|
48
47
|
}), (e, a) => (B(), D("div", {
|
49
48
|
ref_key: "compareRef",
|
50
|
-
ref:
|
49
|
+
ref: s,
|
51
50
|
class: "control-compare",
|
52
|
-
style: R(W(
|
51
|
+
style: R(W(p))
|
53
52
|
}, null, 4));
|
54
53
|
}
|
55
54
|
});
|
56
55
|
export {
|
57
|
-
|
56
|
+
j as default
|
58
57
|
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as y, toRefs as g, computed as v, unref as l, renderSlot as s, openBlock as b, createElementBlock as C, createElementVNode as a } from "vue";
|
2
|
+
import { l as p } from "./main-DymfKjqO.js";
|
3
|
+
import { C as k } from "./assets/clipboard-ClN4QccS.js";
|
4
|
+
const J = {
|
5
|
+
key: 1,
|
6
|
+
class: "copy-container"
|
7
|
+
}, E = /* @__PURE__ */ y({
|
8
|
+
__name: "Copy",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
set: {},
|
14
|
+
row: {},
|
15
|
+
modelValue: {}
|
16
|
+
},
|
17
|
+
setup(u) {
|
18
|
+
let c = u, { table: w, field: r, set: N, row: S, modelValue: i } = g(c), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, n = () => {
|
19
|
+
let e = new k(".btn-copy", { text: () => f() });
|
20
|
+
e.on("success", function(t) {
|
21
|
+
p.success("复制成功"), e.destroy();
|
22
|
+
}), e.on("error", function(t) {
|
23
|
+
p.error("复制失败"), e.destroy();
|
24
|
+
});
|
25
|
+
}, o = v(() => i.value);
|
26
|
+
return (e, t) => l(r).control.copy ? (b(), C("div", J, [
|
27
|
+
a("i", {
|
28
|
+
class: "btn-copy",
|
29
|
+
onClick: t[0] || (t[0] = //@ts-ignore
|
30
|
+
(...m) => l(n) && l(n)(...m))
|
31
|
+
}, t[1] || (t[1] = [
|
32
|
+
a("img", {
|
33
|
+
src: "/default/images/clippy.svg",
|
34
|
+
alt: "复制文本"
|
35
|
+
}, null, -1)
|
36
|
+
])),
|
37
|
+
s(e.$slots, "default")
|
38
|
+
])) : s(e.$slots, "default", { key: 0 });
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
E as default
|
43
|
+
};
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { defineComponent as L, toRefs as b, ref as u, openBlock as i, createBlock as s, KeepAlive as z, resolveDynamicComponent as B, unref as r } from "vue";
|
2
|
+
import { S as o, d as N } from "./main-DymfKjqO.js";
|
3
|
+
const D = /* @__PURE__ */ L({
|
4
|
+
__name: "Custom",
|
5
|
+
props: {
|
6
|
+
view: {},
|
7
|
+
url: {},
|
8
|
+
win: {}
|
9
|
+
},
|
10
|
+
emits: ["loaded", "navigate"],
|
11
|
+
setup(d, { expose: c, emit: f }) {
|
12
|
+
let a = f, v = d, { url: n, win: m, view: g } = b(v), t = u(), p = u({}), R = (e) => {
|
13
|
+
o.triggerClose(t.value, e);
|
14
|
+
}, h = (e) => {
|
15
|
+
o.triggerResize(t.value, e);
|
16
|
+
}, w = (e) => !0, C = (e) => !0, _ = () => {
|
17
|
+
o.triggerRefresh(t.value);
|
18
|
+
}, x = (e, l) => {
|
19
|
+
o.triggerKeyboard(t.value, e, l);
|
20
|
+
}, S = (e) => {
|
21
|
+
o.triggerSocket(t.value, e);
|
22
|
+
}, k = (e) => {
|
23
|
+
if (e == null)
|
24
|
+
return;
|
25
|
+
let l = p.value;
|
26
|
+
if (l[n.value] != null) {
|
27
|
+
t.value = l[n.value];
|
28
|
+
return;
|
29
|
+
}
|
30
|
+
N.dictionary.containsValue(l, e) || (l[n.value] = e, t.value = e);
|
31
|
+
}, y = (e) => {
|
32
|
+
a("loaded", e);
|
33
|
+
}, K = (e) => {
|
34
|
+
a("navigate", e);
|
35
|
+
};
|
36
|
+
return c({ shouldLoad: w, shouldSpin: C, onRefresh: _, onClose: R, onKeyboard: x, onResize: h, onSocket: S }), (e, l) => (i(), s(z, null, [
|
37
|
+
(i(), s(B(r(g)), {
|
38
|
+
ref: r(k),
|
39
|
+
url: r(n),
|
40
|
+
win: r(m),
|
41
|
+
onLoaded: r(y),
|
42
|
+
onNavigate: r(K)
|
43
|
+
}, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
|
44
|
+
], 1024));
|
45
|
+
}
|
46
|
+
});
|
47
|
+
export {
|
48
|
+
D as default
|
49
|
+
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
1
|
+
import { defineComponent as D, toRefs as R, ref as f, resolveComponent as r, openBlock as S, createBlock as T, unref as e, isRef as h, withCtx as a, createElementVNode as _, toDisplayString as c, createVNode as n, createTextVNode as v } from "vue";
|
2
|
+
import { p as m, _ as j, d as z, l as A } from "./main-DymfKjqO.js";
|
3
|
+
const F = { class: "footer-content" }, I = /* @__PURE__ */ D({
|
5
4
|
__name: "DataExport",
|
6
5
|
props: {
|
7
6
|
route: { type: String },
|
@@ -10,40 +9,40 @@ const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
|
10
9
|
},
|
11
10
|
emits: ["close", "update:modelValue"],
|
12
11
|
setup(V, { emit: x }) {
|
13
|
-
let C = x, y = V, { route: b, pageCount:
|
14
|
-
o.value.end < o.value.start ?
|
15
|
-
}, U = () => {
|
16
|
-
C("update:modelValue", !1);
|
12
|
+
let C = x, y = V, { route: b, pageCount: p, modelValue: s } = R(y), u = f(!1), o = f({ start: 1, end: 100 }), E = (d, t, i) => {
|
13
|
+
o.value.end < o.value.start ? i(new Error("结束页不能小于起始页")) : i();
|
17
14
|
}, k = () => {
|
18
|
-
|
19
|
-
|
15
|
+
C("update:modelValue", !1);
|
16
|
+
}, N = () => {
|
17
|
+
u.value = !0, j.get(b.value, o.value).then(({ data: d, message: t }) => {
|
18
|
+
z.file.save(d.content, d.name), A.success(t);
|
20
19
|
}).finally(() => {
|
21
|
-
|
20
|
+
u.value = !1;
|
22
21
|
});
|
23
22
|
};
|
24
|
-
return (
|
25
|
-
const
|
26
|
-
return
|
23
|
+
return (d, t) => {
|
24
|
+
const i = r("el-input-number"), g = r("el-form-item"), w = r("el-form"), B = r("el-divider"), U = r("el-button"), q = r("el-dialog");
|
25
|
+
return S(), T(q, {
|
27
26
|
class: "data-export",
|
28
27
|
draggable: "",
|
29
28
|
"destroy-on-close": "",
|
30
29
|
title: e(m)("paging.data_export"),
|
31
30
|
width: "350px",
|
32
|
-
onClose: e(
|
33
|
-
modelValue: e(
|
34
|
-
"onUpdate:modelValue": t[3] || (t[3] = (l) =>
|
31
|
+
onClose: e(k),
|
32
|
+
modelValue: e(s),
|
33
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => h(s) ? s.value = l : s = l)
|
35
34
|
}, {
|
36
35
|
footer: a(() => [
|
37
36
|
_("div", {
|
38
37
|
class: "footer-operation",
|
39
|
-
onClick: t[2] || (t[2] = (l) => e(o).end = e(
|
40
|
-
}, c(e(m)("paging.total_page", [e(
|
38
|
+
onClick: t[2] || (t[2] = (l) => e(o).end = e(p))
|
39
|
+
}, c(e(m)("paging.total_page", [e(p)])), 1),
|
41
40
|
_("div", F, [
|
42
|
-
n(
|
41
|
+
n(U, {
|
43
42
|
type: "primary",
|
44
43
|
plain: "",
|
45
|
-
loading: e(
|
46
|
-
onClick: e(
|
44
|
+
loading: e(u),
|
45
|
+
onClick: e(N)
|
47
46
|
}, {
|
48
47
|
default: a(() => [
|
49
48
|
v(c(e(m)("paging.export")), 1)
|
@@ -53,7 +52,7 @@ const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
|
53
52
|
])
|
54
53
|
]),
|
55
54
|
default: a(() => [
|
56
|
-
n(
|
55
|
+
n(w, {
|
57
56
|
ref: "export",
|
58
57
|
inline: "",
|
59
58
|
model: e(o)
|
@@ -64,7 +63,7 @@ const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
|
64
63
|
rules: [{ required: !0, message: "起始页不能为空", trigger: "change" }]
|
65
64
|
}, {
|
66
65
|
default: a(() => [
|
67
|
-
n(
|
66
|
+
n(i, {
|
68
67
|
"controls-position": "right",
|
69
68
|
min: 1,
|
70
69
|
step: 100,
|
@@ -83,10 +82,10 @@ const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
|
83
82
|
]
|
84
83
|
}, {
|
85
84
|
default: a(() => [
|
86
|
-
n(
|
85
|
+
n(i, {
|
87
86
|
"controls-position": "right",
|
88
87
|
min: e(o).start,
|
89
|
-
max: e(
|
88
|
+
max: e(p),
|
90
89
|
step: 100,
|
91
90
|
modelValue: e(o).end,
|
92
91
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => e(o).end = l)
|
@@ -97,7 +96,7 @@ const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
|
97
96
|
]),
|
98
97
|
_: 1
|
99
98
|
}, 8, ["model"]),
|
100
|
-
n(
|
99
|
+
n(B)
|
101
100
|
]),
|
102
101
|
_: 1
|
103
102
|
}, 8, ["title", "onClose", "modelValue"]);
|
@@ -105,5 +104,5 @@ const F = { class: "footer-content" }, J = /* @__PURE__ */ q({
|
|
105
104
|
}
|
106
105
|
});
|
107
106
|
export {
|
108
|
-
|
107
|
+
I as _
|
109
108
|
};
|