halo-pc 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-DASEvkfO.js +194 -0
- package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BSesl8iy.js} +17 -24
- package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-ClAQY5V5.js} +1 -1
- package/dist/Autocomplete-CzfOoMve.js +48 -0
- package/dist/Autocomplete-DToic2Cg.js +49 -0
- package/dist/{CSharp-BGzxI5QJ.js → CSharp-23QccebX.js} +1 -1
- package/dist/{Calender-DkBPl9bM.js → Calender-DZkQaIeV.js} +3 -3
- package/dist/Callback-CWBDUe_C.js +20 -0
- package/dist/Cascader-BDfFyqiv.js +41 -0
- package/dist/Cascader-CpD_hbhQ.js +81 -0
- package/dist/Checkbox--gCBkIuI.js +70 -0
- package/dist/{Checkbox-CuRjXSPc.js → Checkbox-SLi7MK1r.js} +1 -1
- package/dist/Code-BVTjF5rW.js +54 -0
- package/dist/{Code-BlwPnx9J.js → Code-C4hdU4t4.js} +1 -1
- package/dist/Code-CO4WPAe_.js +4 -0
- package/dist/Code-nrn4wOhB.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js +59 -0
- package/dist/Column-DcMAu4JL.js +68 -0
- package/dist/Comment-CPxVIapg.js +98 -0
- package/dist/Compare-C2oFy0EZ.js +56 -0
- package/dist/Compare-P9zOBC1v.js +26 -0
- package/dist/Copy-B5vrho98.js +43 -0
- package/dist/Custom-BETJLilj.js +51 -0
- package/dist/{DataExport-C0jItlVY.js → DataExport-YTc4EX6l.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-amvVzv4A.js} +34 -40
- package/dist/{DataImport-BfBkneEy.js → DataImport-ByV8MQkV.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CYwCKg5Z.js} +61 -66
- package/dist/{Date-B8b9JXpP.js → Date-DbTzQla9.js} +1 -1
- package/dist/Date-DpiWNuFs.js +37 -0
- package/dist/DateRange-Su0Q2cwY.js +57 -0
- package/dist/{DateTime-DjhuyxFC.js → DateTime-C3NrioJi.js} +1 -1
- package/dist/DateTime-QyKfqaVG.js +38 -0
- package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-lytkhCjC.js} +11 -18
- package/dist/Daterange-D7ZHkOmo.js +57 -0
- package/dist/{Decimal-DqMMTfvl.js → Decimal-CTTT98BQ.js} +1 -1
- package/dist/Delete-MfXy7gUi.js +56 -0
- package/dist/{Detail-C-OFWPso.js → Detail-CUiSzyT7.js} +16 -23
- package/dist/Dictionary-Dd_IU-Hn.js +55 -0
- package/dist/Email-BzN4JpJv.js +48 -0
- package/dist/{File-C2fLmTcj.js → File-Ckh37Ne2.js} +42 -49
- package/dist/Image-Dkd69DoD.js +9 -0
- package/dist/Index-CGJLRExG.js +4 -0
- package/dist/Index-CLzHDG05.js +4 -0
- package/dist/Index-DJJcNPgN.js +173 -0
- package/dist/{Index-B90giDWQ.js → Index-DlrpDUD3.js} +1 -1
- package/dist/Index-DxvVjg9S.js +70 -0
- package/dist/{Index-CQURvmzd.js → Index-G36KYPCK.js} +1 -1
- package/dist/Index-dTIwhIau.js +4 -0
- package/dist/{Index-D7DerkIw.js → Index-x4c71OJZ.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js} +16 -23
- package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-oQyBcgPa.js} +16 -23
- package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-DVYceMeD.js} +30 -36
- package/dist/{Install-Cqj44p9F.js → Install-BW_ulT9I.js} +20 -27
- package/dist/Int-BRqYiJo7.js +41 -0
- package/dist/{Int-Bj3Gagp5.js → Int-BYSjwPG_.js} +9 -16
- package/dist/List-DAFqVlam.js +73 -0
- package/dist/Maintaince-B8mM4PEp.js +14 -0
- package/dist/{Markdown-COY9enBf.js → Markdown-BXKlgSON.js} +1 -1
- package/dist/Month-BHvq72xE.js +37 -0
- package/dist/Month-BiW1DL44.js +38 -0
- package/dist/{Month-B7jIGlKI.js → Month-DKeTzNrD.js} +1 -1
- package/dist/{Normal-B8YL2DeI.js → Normal-CgSREifM.js} +52 -58
- package/dist/Paging-D02YApLL.js +94 -0
- package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-DJ7MmfGl.js} +37 -44
- package/dist/{PagingRow-CHDlm8UI.js → PagingRow-BM1GMtrr.js} +21 -28
- package/dist/QueryApi-ChpV_S8J.js +13 -0
- package/dist/{Racebar-ClsuYbRj.js → Racebar-CZlaC5Gm.js} +43 -49
- package/dist/{Radio-C6j5nvI9.js → Radio-BPq3WJa4.js} +1 -1
- package/dist/{Register-BnwfjjXP.js → Register-ByxrZyWq.js} +74 -80
- package/dist/RichText-BtQDAhn9.js +41 -0
- package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-B61gsy3w.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js} +1 -1
- package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CLvZoPGQ.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js} +34 -40
- package/dist/Select-C_afSAvf.js +111 -0
- package/dist/{Select-Z8b2t5QQ.js → Select-DGXJMnE9.js} +19 -26
- package/dist/{Select-BiFIpc5-.js → Select-Nb9K2FMY.js} +1 -1
- package/dist/{Single-DdcVVH9V.js → Single-C-2qA2MU.js} +111 -117
- package/dist/{Statistic-B7niMPBf.js → Statistic-B1K-qIZb.js} +30 -36
- package/dist/{Stock-CRsu1vcy.js → Stock-C560McFR.js} +1 -1
- package/dist/{Stock-xm8v4vDf.js → Stock-_rnn0B8I.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-BEwvRtU6.js} +26 -32
- package/dist/{Switch-BaER4xWy.js → Switch-BadvkLSw.js} +1 -1
- package/dist/{Table-a5uj25Nj.js → Table-B46N43V3.js} +69 -74
- package/dist/{Table-C2dYPoGi.js → Table-Dk48tQ1r.js} +59 -66
- package/dist/Text-CNF204mx.js +53 -0
- package/dist/Text-DblKaz4m.js +52 -0
- package/dist/Text-y-q7UXlg.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-DtnGWes5.js +53 -0
- package/dist/TextLink-B4Q0zX1K.js +59 -0
- package/dist/{Textarea-DAICkidp.js → Textarea-D1BOQFgK.js} +1 -1
- package/dist/Time-DZQxglEi.js +37 -0
- package/dist/Timeline-8QaD9H_I.js +53 -0
- package/dist/Tree-BUcyK0i_.js +117 -0
- package/dist/{Tree-BwQkDP2T.js → Tree-DVeTdmmL.js} +66 -72
- package/dist/TreeNode-BScAFHPZ.js +37 -0
- package/dist/{Update-BZe92EwV.js → Update-BbU5H_Qf.js} +14 -21
- package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-BbXuXfOR.js} +19 -26
- package/dist/Upload-C1obfZui.js +146 -0
- package/dist/Upload-CmtHETKR.js +67 -0
- package/dist/UploadApi-2sfpKCMa.js +13 -0
- package/dist/Year-CRd3PkNx.js +41 -0
- package/dist/{Year-2tcz8PDF.js → Year-CTo-9KjE.js} +1 -1
- package/dist/main-65efBfek.js +19835 -0
- package/dist/main.js +53 -54
- package/dist/style.css +1 -1
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/vite.config.d.ts +6 -0
- package/package.json +1 -1
- package/dist/Article-BH4dl6Bf.js +0 -201
- package/dist/Autocomplete-DYxWYClO.js +0 -55
- package/dist/Autocomplete-SOenNkH4.js +0 -54
- package/dist/Callback-B57W83N1.js +0 -27
- package/dist/Cascader-BI6T7N-q.js +0 -88
- package/dist/Cascader-BoN_F8v4.js +0 -48
- package/dist/Checkbox-DdolP6wO.js +0 -77
- package/dist/Code--y8oCkjX.js +0 -43
- package/dist/Code-C48Gf7gU.js +0 -61
- package/dist/Code-DiOQvIZv.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js +0 -66
- package/dist/Column-BNGw36Iq.js +0 -75
- package/dist/Comment-D37SdQb6.js +0 -105
- package/dist/Compare-C09T8aaU.js +0 -33
- package/dist/Compare-CnnCTG12.js +0 -63
- package/dist/Copy-DNrXXJRQ.js +0 -50
- package/dist/Custom--I04Jyzr.js +0 -58
- package/dist/Date-TKW4HbCJ.js +0 -44
- package/dist/DateRange-JCP1Eokf.js +0 -64
- package/dist/DateTime-DVOVXS_f.js +0 -45
- package/dist/Daterange-CqHXC9JN.js +0 -64
- package/dist/Delete-PcTE_3Cp.js +0 -63
- package/dist/Dictionary-Cfhmc2OQ.js +0 -60
- package/dist/Email-Rj-ZvdfJ.js +0 -55
- package/dist/Image-zgBgvAup.js +0 -9
- package/dist/Index-9fyKz8TT.js +0 -4
- package/dist/Index-CAlWNb2l.js +0 -179
- package/dist/Index-CjFLlnmH.js +0 -4
- package/dist/Index-Cr2WAY6Z.js +0 -76
- package/dist/Index-Izl4chSJ.js +0 -4
- package/dist/Int-dlbcQ6_t.js +0 -47
- package/dist/List-BsAOvgmQ.js +0 -80
- package/dist/Maintaince-DjSvIfbu.js +0 -21
- package/dist/Month-BhNUuzcc.js +0 -44
- package/dist/Month-KDuTRSA0.js +0 -45
- package/dist/Paging-BlFnu-w0.js +0 -100
- package/dist/QueryApi-Bc_kmvgs.js +0 -21
- package/dist/RichText-BImFNkHQ.js +0 -48
- package/dist/Select-f15Y0Ko-.js +0 -118
- package/dist/Text-CMEzogZ8.js +0 -4
- package/dist/Text-CqKE2xDo.js +0 -59
- package/dist/Text-DfqLW_KH.js +0 -60
- package/dist/Text.vue_vue_type_style_index_0_lang-BNpeGb1c.js +0 -60
- package/dist/TextLink-XJurKE8Q.js +0 -66
- package/dist/Time-BmdIHgOY.js +0 -44
- package/dist/Timeline-BOPAiaK-.js +0 -60
- package/dist/Tree-BR8gmBBa.js +0 -123
- package/dist/TreeNode-CdBVgaRW.js +0 -43
- package/dist/Upload-BtErvzEO.js +0 -151
- package/dist/Upload-vPTA8ndw.js +0 -73
- package/dist/UploadApi-CpwS4Kf1.js +0 -21
- package/dist/Year-CVqwpSLR.js +0 -48
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/state-local-CEworIRt.js +0 -131
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
- package/dist/main-BS_9gx1M.js +0 -8937
@@ -0,0 +1,54 @@
|
|
1
|
+
import { defineComponent as h, toRefs as b, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
|
2
|
+
import { h as x } from "./main-65efBfek.js";
|
3
|
+
const R = /* @__PURE__ */ h({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(d, { emit: g }) {
|
15
|
+
let c = g, f = d, { table: s, field: a, set: y, row: i, modelValue: p } = b(f), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
16
|
+
let l = m(a.value.control.scrollTop);
|
17
|
+
l && (i.value[l.name] = e);
|
18
|
+
}, V = () => {
|
19
|
+
let e = r(a.value.control.scrollTop);
|
20
|
+
if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
|
21
|
+
o.value.language = a.value.control.language;
|
22
|
+
else {
|
23
|
+
let l = r(a.value.control.languageField);
|
24
|
+
l && (o.value.language = l);
|
25
|
+
}
|
26
|
+
a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${s.value.name}.${a.value.name}`);
|
27
|
+
}, r = (e) => {
|
28
|
+
let l = m(e);
|
29
|
+
return l ? i.value[l.name] : null;
|
30
|
+
}, m = (e) => e ? s.value.fields.find((u) => u.name == e) : null;
|
31
|
+
V();
|
32
|
+
let t = T({
|
33
|
+
get() {
|
34
|
+
return p.value ?? "";
|
35
|
+
},
|
36
|
+
set(e) {
|
37
|
+
c("update:modelValue", e), c("change", e);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
return _(() => r(a.value.control.languageField), (e, l) => {
|
41
|
+
o.value.language = e;
|
42
|
+
}), (e, l) => (w(), N(n(x), {
|
43
|
+
class: "control-code",
|
44
|
+
border: "",
|
45
|
+
config: n(o),
|
46
|
+
onScroll: n(v),
|
47
|
+
modelValue: n(t),
|
48
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
|
49
|
+
}, null, 8, ["config", "onScroll", "modelValue"]));
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
R as default
|
54
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
|
2
|
-
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js";
|
3
3
|
const b = /* @__PURE__ */ r({
|
4
4
|
__name: "Code",
|
5
5
|
props: {
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { defineComponent as h, toRefs as v, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as x, isRef as F } from "vue";
|
2
|
+
import { h as _ } from "./main-65efBfek.js";
|
3
|
+
const C = /* @__PURE__ */ h({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(f) {
|
14
|
+
let g = f, { table: s, field: t, set: b, row: d, modelValue: a } = v(g), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", c = (e) => e ? s.value.fields.find((u) => u.name == e) : null, p = (e) => {
|
15
|
+
let l = c(e);
|
16
|
+
return l ? d.value[l.name] : null;
|
17
|
+
};
|
18
|
+
return (() => {
|
19
|
+
if (o.value = m(), t.value.control.languageField == null)
|
20
|
+
r.value.language = t.value.control.language;
|
21
|
+
else {
|
22
|
+
let e = p(t.value.control.languageField);
|
23
|
+
e && (r.value.language = e);
|
24
|
+
}
|
25
|
+
})(), (e, l) => (V(), y(n(_), {
|
26
|
+
class: "text-code",
|
27
|
+
config: n(r),
|
28
|
+
style: x(n(o)),
|
29
|
+
modelValue: n(a),
|
30
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => F(a) ? a.value = u : a = u)
|
31
|
+
}, null, 8, ["config", "style", "modelValue"]));
|
32
|
+
}
|
33
|
+
});
|
34
|
+
export {
|
35
|
+
C as default
|
36
|
+
};
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent as y, toRefs as C, ref as s, onMounted as b, resolveComponent as m, openBlock as n, createElementBlock as u, createVNode as i, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as f, toDisplayString as _, createCommentVNode as L } from "vue";
|
2
|
+
import { h as N } from "./main-65efBfek.js";
|
3
|
+
import { Q } from "./QueryApi-ChpV_S8J.js";
|
4
|
+
const R = { class: "ha-code-layout" }, q = /* @__PURE__ */ y({
|
5
|
+
__name: "Code",
|
6
|
+
props: {
|
7
|
+
route: {},
|
8
|
+
validateErrors: {},
|
9
|
+
module: {},
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
layout: {},
|
13
|
+
next: {},
|
14
|
+
set: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change"],
|
17
|
+
setup(g, { emit: U }) {
|
18
|
+
let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = C(V), r = s({}), t = s(), v = () => {
|
19
|
+
t.value = l.value.languages[0];
|
20
|
+
};
|
21
|
+
return b(() => {
|
22
|
+
v(), Q.loadCodeLanguage().then((d) => {
|
23
|
+
d.forEach((a) => {
|
24
|
+
r.value[a.text] = a.suffix;
|
25
|
+
});
|
26
|
+
});
|
27
|
+
}), (d, a) => {
|
28
|
+
const x = m("el-radio"), h = m("el-radio-group");
|
29
|
+
return n(), u("div", R, [
|
30
|
+
i(h, {
|
31
|
+
modelValue: e(t),
|
32
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
|
33
|
+
}, {
|
34
|
+
default: p(() => [
|
35
|
+
(n(!0), u(c, null, B(e(l).languages, (o) => (n(), E(x, { value: o }, {
|
36
|
+
default: p(() => [
|
37
|
+
f(_(o) + " ", 1),
|
38
|
+
e(r)[o] ? (n(), u(c, { key: 0 }, [
|
39
|
+
f("(" + _(e(r)[o]) + ")", 1)
|
40
|
+
], 64)) : L("", !0)
|
41
|
+
]),
|
42
|
+
_: 2
|
43
|
+
}, 1032, ["value"]))), 256))
|
44
|
+
]),
|
45
|
+
_: 1
|
46
|
+
}, 8, ["modelValue"]),
|
47
|
+
i(e(N), {
|
48
|
+
border: "",
|
49
|
+
config: { language: e(r)[e(t)] },
|
50
|
+
modelValue: e(l).codes[e(t)],
|
51
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
|
52
|
+
}, null, 8, ["config", "modelValue"])
|
53
|
+
]);
|
54
|
+
};
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
q as _
|
59
|
+
};
|
@@ -0,0 +1,68 @@
|
|
1
|
+
import { defineComponent as M, toRefs as b, onMounted as D, computed as h, openBlock as l, createBlock as f, unref as e, withCtx as k, createElementBlock as o, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as S, createVNode as z, createTextVNode as s } from "vue";
|
2
|
+
import { B as F, W as C, v as P, H as R } from "./main-65efBfek.js";
|
3
|
+
import "vue-router";
|
4
|
+
import "./assets/intro.js-DxWjEdp_.js";
|
5
|
+
const T = {
|
6
|
+
key: 0,
|
7
|
+
class: "menus"
|
8
|
+
}, W = ["onClick"], $ = { class: "title" }, j = {
|
9
|
+
key: 1,
|
10
|
+
class: "column-empty"
|
11
|
+
}, q = /* @__PURE__ */ a("br", null, null, -1), A = /* @__PURE__ */ a("br", null, null, -1), Q = /* @__PURE__ */ M({
|
12
|
+
__name: "Column",
|
13
|
+
props: {
|
14
|
+
view: {},
|
15
|
+
url: {},
|
16
|
+
win: {}
|
17
|
+
},
|
18
|
+
emits: ["loaded", "navigate"],
|
19
|
+
setup(y, { expose: g, emit: x }) {
|
20
|
+
let c = x, B = y, { url: m, view: d } = b(B), w = (t) => !0, N = (t) => !0, U = () => {
|
21
|
+
p();
|
22
|
+
}, p = () => {
|
23
|
+
c("loaded", n.value.title);
|
24
|
+
}, V = (t) => {
|
25
|
+
let v = C.getUrl(t.url, { m: t.id });
|
26
|
+
c("navigate", v);
|
27
|
+
};
|
28
|
+
D(() => {
|
29
|
+
p();
|
30
|
+
});
|
31
|
+
let n = h(() => F.getMenuByUrl(m.value)), _ = h(() => C.getPath(m.value));
|
32
|
+
return g({ shouldLoad: w, shouldSpin: N, refresh: U }), (t, v) => (l(), f(e(P), null, {
|
33
|
+
default: k(() => [
|
34
|
+
e(n) ? (l(), o("div", T, [
|
35
|
+
(l(!0), o(E, null, H(e(n).children, (r) => (l(), o("div", {
|
36
|
+
class: "menu",
|
37
|
+
key: r.id,
|
38
|
+
onClick: (G) => e(V)(r)
|
39
|
+
}, [
|
40
|
+
r.icon ? (l(), o("i", {
|
41
|
+
key: 0,
|
42
|
+
class: L(r.icon)
|
43
|
+
}, null, 2)) : u("", !0),
|
44
|
+
a("div", $, i(r.title), 1)
|
45
|
+
], 8, W))), 128))
|
46
|
+
])) : u("", !0),
|
47
|
+
(l(), f(S(e(d)))),
|
48
|
+
(!e(n) || e(n).children == 0) && !e(d) ? (l(), o("div", j, [
|
49
|
+
z(e(R), null, {
|
50
|
+
default: k(() => [
|
51
|
+
s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
52
|
+
]),
|
53
|
+
_: 1
|
54
|
+
}),
|
55
|
+
s(" 可考虑以下任一选项:"),
|
56
|
+
q,
|
57
|
+
s(" 1. 在 src/views 中实现自定义页面:" + i(e(_)), 1),
|
58
|
+
A,
|
59
|
+
s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + i(e(_)), 1)
|
60
|
+
])) : u("", !0)
|
61
|
+
]),
|
62
|
+
_: 1
|
63
|
+
}));
|
64
|
+
}
|
65
|
+
});
|
66
|
+
export {
|
67
|
+
Q as default
|
68
|
+
};
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as u, openBlock as m, createElementBlock as p, createElementVNode as t, createVNode as v, createTextVNode as a, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as T, createCommentVNode as q } from "vue";
|
2
|
+
import { W as D } from "./main-65efBfek.js";
|
3
|
+
const F = { class: "ha-comment-layout" }, L = { class: "comment-add" }, M = { class: "add-footer" }, R = { class: "footer-title" }, U = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), W = { class: "comment-user" }, $ = { class: "avatar" }, A = /* @__PURE__ */ t("img", {
|
4
|
+
src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
|
5
|
+
alt: ""
|
6
|
+
}, null, -1), G = { class: "comment-body" }, H = { class: "comment-time" }, J = { class: "comment-content" }, K = /* @__PURE__ */ t("div", { class: "content-footer" }, [
|
7
|
+
/* @__PURE__ */ t("span", null, [
|
8
|
+
/* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
|
9
|
+
/* @__PURE__ */ a("20")
|
10
|
+
]),
|
11
|
+
/* @__PURE__ */ t("span", null, [
|
12
|
+
/* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
|
13
|
+
/* @__PURE__ */ a("回复")
|
14
|
+
])
|
15
|
+
], -1), O = { class: "comment-footer" }, Z = /* @__PURE__ */ E({
|
16
|
+
__name: "Comment",
|
17
|
+
props: {
|
18
|
+
route: {},
|
19
|
+
validateErrors: {},
|
20
|
+
module: {},
|
21
|
+
schema: {},
|
22
|
+
table: {},
|
23
|
+
layout: {},
|
24
|
+
next: {},
|
25
|
+
set: {}
|
26
|
+
},
|
27
|
+
setup(C) {
|
28
|
+
let x = C, { schema: P, table: r, layout: o, set: _, validateErrors: Q } = N(x), c = S(1), k = (n) => {
|
29
|
+
c.value = n;
|
30
|
+
}, w = y(() => {
|
31
|
+
let n = (c.value - 1) * o.value.pageSize, i = c.value * o.value.pageSize - 1;
|
32
|
+
return _.value[r.value.name].filter((f, d) => d >= n && d <= i);
|
33
|
+
}), h = y(() => r.value.fields.find((i) => i.name == o.value.userId));
|
34
|
+
return (n, i) => {
|
35
|
+
const g = u("el-input"), f = u("el-button"), d = u("router-link"), I = u("el-pagination");
|
36
|
+
return m(), p("div", F, [
|
37
|
+
t("div", L, [
|
38
|
+
v(g, { type: "textarea" }),
|
39
|
+
t("div", M, [
|
40
|
+
t("div", R, [
|
41
|
+
U,
|
42
|
+
a("全部评论 (" + l(e(_)[e(r).name].length) + ")", 1)
|
43
|
+
]),
|
44
|
+
v(f, {
|
45
|
+
type: "primary",
|
46
|
+
class: "btn-comment",
|
47
|
+
icon: "el-icon-s-promotion"
|
48
|
+
}, {
|
49
|
+
default: b(() => [
|
50
|
+
a("评论")
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
})
|
54
|
+
])
|
55
|
+
]),
|
56
|
+
(m(!0), p(j, null, B(e(w), (s, z) => (m(), p("div", {
|
57
|
+
class: "comment",
|
58
|
+
key: z
|
59
|
+
}, [
|
60
|
+
t("div", W, [
|
61
|
+
t("div", $, [
|
62
|
+
A,
|
63
|
+
a(" " + l(s[e(o).avatar]), 1)
|
64
|
+
])
|
65
|
+
]),
|
66
|
+
t("div", G, [
|
67
|
+
e(h) ? (m(), T(d, {
|
68
|
+
key: 0,
|
69
|
+
class: "comment-name",
|
70
|
+
to: e(D).getUrl("/sys_user/detail", { id: s[e(o).userId], m: n.$route.query.m })
|
71
|
+
}, {
|
72
|
+
default: b(() => [
|
73
|
+
a(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
|
74
|
+
]),
|
75
|
+
_: 2
|
76
|
+
}, 1032, ["to"])) : q("", !0),
|
77
|
+
t("div", H, l(s[e(o).commentTime]), 1),
|
78
|
+
t("div", J, l(s[e(o).content]), 1),
|
79
|
+
K
|
80
|
+
])
|
81
|
+
]))), 128)),
|
82
|
+
t("div", O, [
|
83
|
+
v(I, {
|
84
|
+
background: "",
|
85
|
+
layout: "total, prev, pager, next, jumper",
|
86
|
+
"current-page": e(c),
|
87
|
+
"page-size": e(o).pageSize,
|
88
|
+
total: e(_)[e(r).name].length,
|
89
|
+
onCurrentChange: e(k)
|
90
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
91
|
+
])
|
92
|
+
]);
|
93
|
+
};
|
94
|
+
}
|
95
|
+
});
|
96
|
+
export {
|
97
|
+
Z as default
|
98
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { defineComponent as b, toRefs as k, ref as h, computed as S, watch as v, openBlock as w, createElementBlock as B, normalizeStyle as D, unref as R, nextTick as W } from "vue";
|
2
|
+
import { J as z } from "./main-65efBfek.js";
|
3
|
+
const T = /* @__PURE__ */ b({
|
4
|
+
__name: "Compare",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(V, { emit: E }) {
|
15
|
+
let m = E, M = V, { table: y, field: o, set: J, row: n, modelValue: c } = k(M), r = null, f = null, g = null, l = null, t = null, p = h(), s = h(), _ = (e) => {
|
16
|
+
s.value = C(), W(() => {
|
17
|
+
let a = n.value[d.value.name], i = o.value.control.language;
|
18
|
+
f = e.editor.createModel(c.value, i), g = e.editor.createModel(a, i), r = e.editor.createDiffEditor(p.value, {
|
19
|
+
originalEditable: !0,
|
20
|
+
automaticLayout: !0,
|
21
|
+
renderSideBySide: !o.value.control.inline
|
22
|
+
//是否启用行内模式
|
23
|
+
}), r.setModel({ original: f, modified: g }), l = r.getOriginalEditor(), l.onDidChangeModelContent((x) => {
|
24
|
+
let u = l.getValue();
|
25
|
+
m("update:modelValue", u), m("change", u);
|
26
|
+
}), t = r.getModifiedEditor(), t.onDidChangeModelContent((x) => {
|
27
|
+
let u = t.getValue();
|
28
|
+
n.value[d.value.name] = u;
|
29
|
+
});
|
30
|
+
});
|
31
|
+
}, C = () => o.value.control.height ? `height: ${o.value.control.height}px` : "min-height: 200px;";
|
32
|
+
z.init().then((e) => {
|
33
|
+
_(e);
|
34
|
+
});
|
35
|
+
let d = S(() => y.value.fields.find((a) => a.name == o.value.control.compareWith));
|
36
|
+
return v(() => c.value, (e, a) => {
|
37
|
+
if (!l)
|
38
|
+
return;
|
39
|
+
let i = l.getValue();
|
40
|
+
e != i && l.setValue(e ?? "");
|
41
|
+
}), v(() => n.value[d.value.name], (e, a) => {
|
42
|
+
if (!t)
|
43
|
+
return;
|
44
|
+
let i = t.getValue();
|
45
|
+
e != i && t.setValue(e ?? "");
|
46
|
+
}), (e, a) => (w(), B("div", {
|
47
|
+
ref_key: "compareRef",
|
48
|
+
ref: p,
|
49
|
+
class: "control-compare",
|
50
|
+
style: D(R(s))
|
51
|
+
}, null, 4));
|
52
|
+
}
|
53
|
+
});
|
54
|
+
export {
|
55
|
+
T as default
|
56
|
+
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { defineComponent as d, toRefs as i, computed as l, unref as a, openBlock as f, createElementBlock as v, normalizeClass as _, createCommentVNode as C } from "vue";
|
2
|
+
import { J as x } from "./main-65efBfek.js";
|
3
|
+
const V = /* @__PURE__ */ d({
|
4
|
+
__name: "Compare",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(o) {
|
14
|
+
let r = o, { table: e, field: t, set: m, row: n, modelValue: u } = i(r), s = e.value.name + "-" + t.value.name + "-" + m.value[e.value.name].indexOf(n.value);
|
15
|
+
x.init().then((p) => {
|
16
|
+
});
|
17
|
+
let c = l(() => u || "");
|
18
|
+
return l(() => t.value.control.type.toLowerCase()), (p, h) => a(c) ? (f(), v("div", {
|
19
|
+
key: 0,
|
20
|
+
class: _(`text-compare ${a(s)}`)
|
21
|
+
}, null, 2)) : C("", !0);
|
22
|
+
}
|
23
|
+
});
|
24
|
+
export {
|
25
|
+
V as default
|
26
|
+
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as y, toRefs as v, computed as _, unref as l, renderSlot as n, openBlock as g, createElementBlock as b, createElementVNode as c } from "vue";
|
2
|
+
import { a } from "./main-65efBfek.js";
|
3
|
+
import { C } from "./assets/clipboard-DjQPoCBJ.js";
|
4
|
+
const k = {
|
5
|
+
key: 1,
|
6
|
+
class: "copy-container"
|
7
|
+
}, J = /* @__PURE__ */ c("img", {
|
8
|
+
src: "/default/images/clippy.svg",
|
9
|
+
alt: "复制文本"
|
10
|
+
}, null, -1), h = [
|
11
|
+
J
|
12
|
+
], E = /* @__PURE__ */ y({
|
13
|
+
__name: "Copy",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
set: {},
|
19
|
+
row: {},
|
20
|
+
modelValue: {}
|
21
|
+
},
|
22
|
+
setup(p) {
|
23
|
+
let u = p, { table: w, field: r, set: N, row: S, modelValue: i } = v(u), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
|
24
|
+
let e = new C(".btn-copy", { text: () => f() });
|
25
|
+
e.on("success", function(t) {
|
26
|
+
a.success("复制成功"), e.destroy();
|
27
|
+
}), e.on("error", function(t) {
|
28
|
+
a.error("复制失败"), e.destroy();
|
29
|
+
});
|
30
|
+
}, o = _(() => i.value);
|
31
|
+
return (e, t) => l(r).control.copy ? (g(), b("div", k, [
|
32
|
+
c("i", {
|
33
|
+
class: "btn-copy",
|
34
|
+
onClick: t[0] || (t[0] = //@ts-ignore
|
35
|
+
(...m) => l(s) && l(s)(...m))
|
36
|
+
}, h),
|
37
|
+
n(e.$slots, "default")
|
38
|
+
])) : n(e.$slots, "default", { key: 0 });
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
E as default
|
43
|
+
};
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { defineComponent as x, toRefs as U, ref as z, openBlock as n, createBlock as i, KeepAlive as L, resolveDynamicComponent as R, unref as a } from "vue";
|
2
|
+
import { W as B, a as N, U as A } from "./main-65efBfek.js";
|
3
|
+
const P = /* @__PURE__ */ x({
|
4
|
+
__name: "Custom",
|
5
|
+
props: {
|
6
|
+
view: {},
|
7
|
+
url: {},
|
8
|
+
win: {}
|
9
|
+
},
|
10
|
+
emits: ["loaded", "navigate"],
|
11
|
+
setup(s, { expose: u, emit: f }) {
|
12
|
+
let o = f, d = s, { url: v, view: m, win: p } = U(d), t = z(), c = (e, r) => {
|
13
|
+
if (!t.value || !t.value.keyboard)
|
14
|
+
return !1;
|
15
|
+
t.value.keyboard(e, r);
|
16
|
+
}, h = (e) => !0, g = (e) => !0, w = () => {
|
17
|
+
var r;
|
18
|
+
let e = (r = t.value) == null ? void 0 : r.refresh;
|
19
|
+
if (!e) {
|
20
|
+
let l = B.getPath(v.value);
|
21
|
+
N.notify(A("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
e();
|
25
|
+
}, _ = (e) => {
|
26
|
+
var l;
|
27
|
+
let r = (l = t.value) == null ? void 0 : l.beforeClose;
|
28
|
+
r && r(e);
|
29
|
+
}, b = (e) => {
|
30
|
+
t.value && t.value.resize && t.value.resize(e);
|
31
|
+
}, k = (e) => {
|
32
|
+
t.value.handler(e);
|
33
|
+
}, y = (e) => {
|
34
|
+
o("loaded", e);
|
35
|
+
}, C = (e) => {
|
36
|
+
o("navigate", e);
|
37
|
+
};
|
38
|
+
return u({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, r) => (n(), i(L, null, [
|
39
|
+
(n(), i(R(a(m)), {
|
40
|
+
ref_key: "customRef",
|
41
|
+
ref: t,
|
42
|
+
win: a(p),
|
43
|
+
onLoaded: a(y),
|
44
|
+
onNavigate: a(C)
|
45
|
+
}, null, 40, ["win", "onLoaded", "onNavigate"]))
|
46
|
+
], 1024));
|
47
|
+
}
|
48
|
+
});
|
49
|
+
export {
|
50
|
+
P as default
|
51
|
+
};
|
@@ -1,12 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./
|
3
|
-
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import { t as d, h as H, F as T, m as j } from "./main-BS_9gx1M.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const z = { class: "footer-content" }, P = /* @__PURE__ */ q({
|
1
|
+
import { defineComponent as h, toRefs as q, ref as _, resolveComponent as a, openBlock as R, createBlock as S, unref as e, isRef as L, withCtx as r, createElementVNode as f, toDisplayString as c, createVNode as n, createTextVNode as v } from "vue";
|
2
|
+
import { U as m, L as T, D as j, a as z } from "./main-65efBfek.js";
|
3
|
+
const A = { class: "footer-content" }, H = /* @__PURE__ */ h({
|
10
4
|
__name: "DataExport",
|
11
5
|
props: {
|
12
6
|
route: { type: String },
|
@@ -15,61 +9,61 @@ const z = { class: "footer-content" }, P = /* @__PURE__ */ q({
|
|
15
9
|
},
|
16
10
|
emits: ["close", "update:modelValue"],
|
17
11
|
setup(V, { emit: x }) {
|
18
|
-
let C = x, y = V, { route: b, pageCount:
|
19
|
-
o.value.end < o.value.start ?
|
20
|
-
},
|
12
|
+
let C = x, y = V, { route: b, pageCount: d, modelValue: i } = q(y), p = _(!1), o = _({ start: 1, end: 100 }), E = (u, t, s) => {
|
13
|
+
o.value.end < o.value.start ? s(new Error("结束页不能小于起始页")) : s();
|
14
|
+
}, U = () => {
|
21
15
|
C("update:modelValue", !1);
|
22
16
|
}, k = () => {
|
23
|
-
|
24
|
-
|
17
|
+
p.value = !0, T.get(b.value, o.value).then(({ data: u, message: t }) => {
|
18
|
+
j.save(u.content, u.name), z.success(t);
|
25
19
|
}).finally(() => {
|
26
|
-
|
20
|
+
p.value = !1;
|
27
21
|
});
|
28
22
|
};
|
29
|
-
return (
|
30
|
-
const
|
31
|
-
return
|
23
|
+
return (u, t) => {
|
24
|
+
const s = a("el-input-number"), g = a("el-form-item"), D = a("el-form"), N = a("el-divider"), w = a("el-button"), B = a("el-dialog");
|
25
|
+
return R(), S(B, {
|
32
26
|
class: "data-export",
|
33
27
|
draggable: "",
|
34
28
|
"destroy-on-close": "",
|
35
|
-
title: e(
|
29
|
+
title: e(m)("paging.data_export"),
|
36
30
|
width: "350px",
|
37
|
-
onClose: e(
|
38
|
-
modelValue: e(
|
39
|
-
"onUpdate:modelValue": t[3] || (t[3] = (l) =>
|
31
|
+
onClose: e(U),
|
32
|
+
modelValue: e(i),
|
33
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => L(i) ? i.value = l : i = l)
|
40
34
|
}, {
|
41
|
-
footer:
|
35
|
+
footer: r(() => [
|
42
36
|
f("div", {
|
43
37
|
class: "footer-operation",
|
44
|
-
onClick: t[2] || (t[2] = (l) => e(o).end = e(
|
45
|
-
}, c(e(
|
46
|
-
f("div",
|
47
|
-
n(
|
38
|
+
onClick: t[2] || (t[2] = (l) => e(o).end = e(d))
|
39
|
+
}, c(e(m)("paging.total_page", [e(d)])), 1),
|
40
|
+
f("div", A, [
|
41
|
+
n(w, {
|
48
42
|
type: "primary",
|
49
43
|
plain: "",
|
50
|
-
loading: e(
|
44
|
+
loading: e(p),
|
51
45
|
onClick: e(k)
|
52
46
|
}, {
|
53
|
-
default:
|
54
|
-
v(c(e(
|
47
|
+
default: r(() => [
|
48
|
+
v(c(e(m)("paging.export")), 1)
|
55
49
|
]),
|
56
50
|
_: 1
|
57
51
|
}, 8, ["loading", "onClick"])
|
58
52
|
])
|
59
53
|
]),
|
60
|
-
default:
|
61
|
-
n(
|
54
|
+
default: r(() => [
|
55
|
+
n(D, {
|
62
56
|
ref: "export",
|
63
57
|
inline: "",
|
64
58
|
model: e(o)
|
65
59
|
}, {
|
66
|
-
default:
|
60
|
+
default: r(() => [
|
67
61
|
n(g, {
|
68
62
|
prop: "start",
|
69
63
|
rules: [{ required: !0, message: "起始页不能为空", trigger: "change" }]
|
70
64
|
}, {
|
71
|
-
default:
|
72
|
-
n(
|
65
|
+
default: r(() => [
|
66
|
+
n(s, {
|
73
67
|
"controls-position": "right",
|
74
68
|
min: 1,
|
75
69
|
step: 100,
|
@@ -87,11 +81,11 @@ const z = { class: "footer-content" }, P = /* @__PURE__ */ q({
|
|
87
81
|
{ validator: e(E), trigger: "change" }
|
88
82
|
]
|
89
83
|
}, {
|
90
|
-
default:
|
91
|
-
n(
|
84
|
+
default: r(() => [
|
85
|
+
n(s, {
|
92
86
|
"controls-position": "right",
|
93
87
|
min: e(o).start,
|
94
|
-
max: e(
|
88
|
+
max: e(d),
|
95
89
|
step: 100,
|
96
90
|
modelValue: e(o).end,
|
97
91
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => e(o).end = l)
|
@@ -102,7 +96,7 @@ const z = { class: "footer-content" }, P = /* @__PURE__ */ q({
|
|
102
96
|
]),
|
103
97
|
_: 1
|
104
98
|
}, 8, ["model"]),
|
105
|
-
n(
|
99
|
+
n(N)
|
106
100
|
]),
|
107
101
|
_: 1
|
108
102
|
}, 8, ["title", "onClose", "modelValue"]);
|
@@ -110,5 +104,5 @@ const z = { class: "footer-content" }, P = /* @__PURE__ */ q({
|
|
110
104
|
}
|
111
105
|
});
|
112
106
|
export {
|
113
|
-
|
107
|
+
H as _
|
114
108
|
};
|