halo-pc 1.0.27 → 1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CTqryR4L.js → Article-N3ZaJaLc.js} +75 -70
- package/dist/{ArticleFooter-BumGH5nC.js → ArticleFooter-sspAOJuS.js} +23 -17
- package/dist/Autocomplete-CD6CsF2X.js +54 -0
- package/dist/{Autocomplete-BNx0bErM.js → Autocomplete-DY6OaWAK.js} +1 -1
- package/dist/Autocomplete-DkkUx0lx.js +53 -0
- package/dist/{CSharp-Dt6H75E9.js → CSharp-BwNnAf8e.js} +1 -1
- package/dist/{Calender-DhKZyJri.js → Calender-VwwIDi3Q.js} +1 -1
- package/dist/Callback-BRrShVCU.js +26 -0
- package/dist/Cascader-CurlPJsQ.js +87 -0
- package/dist/Cascader-i3KkCfFF.js +47 -0
- package/dist/{Checkbox-C-iEGB0k.js → Checkbox-Bk98RtL7.js} +1 -1
- package/dist/Checkbox-CNMzO79X.js +76 -0
- package/dist/Code-BdDjNSqs.js +42 -0
- package/dist/{Code-Q_6THgGl.js → Code-C4XPPKO8.js} +1 -1
- package/dist/{Code-JtSSnUWC.js → Code-CRH4WNXz.js} +1 -1
- package/dist/Code-CqA6bVSZ.js +60 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-Dkdu_fcm.js +65 -0
- package/dist/Column-BCz-Xp-3.js +75 -0
- package/dist/Comment-BoOQfrxv.js +104 -0
- package/dist/Compare-ChJu8LUo.js +44 -0
- package/dist/{Compare-DZVrBYEh.js → Compare-DxOXRPzs.js} +25 -19
- package/dist/Copy-DBUSr3OW.js +49 -0
- package/dist/Custom-CNQIPMHT.js +57 -0
- package/dist/{DataExport-DSz5371s.js → DataExport-B-0vVYMT.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js → DataExport.vue_vue_type_script_setup_true_lang-BvyBbSLP.js} +41 -36
- package/dist/{DataImport-CX7G70a7.js → DataImport-ApAPTQcq.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-CKd0CAf_.js +176 -0
- package/dist/Date-BnRTPDSJ.js +43 -0
- package/dist/{Date-ytWe2gz8.js → Date-gMmfQ3pA.js} +1 -1
- package/dist/DateRange-BPQ2TOXk.js +63 -0
- package/dist/DateTime-CsZdXjmB.js +44 -0
- package/dist/{DateTime-p6YgmtGd.js → DateTime-Cz09I2-B.js} +1 -1
- package/dist/{DateTimeRange-DGobnXqs.js → DateTimeRange-DPjTS-A2.js} +17 -11
- package/dist/Daterange-DCyMLI8G.js +63 -0
- package/dist/{Decimal-BvyzJq1c.js → Decimal-Cpz-_Ef3.js} +1 -1
- package/dist/Delete-Di56R5Tf.js +62 -0
- package/dist/{Detail-DZJ0aUFr.js → Detail-DP1ReSaw.js} +22 -17
- package/dist/Dictionary-B8OMis9G.js +59 -0
- package/dist/Email-CCZH8SDT.js +54 -0
- package/dist/{File-BEBElTSS.js → File-BUw6o5UN.js} +32 -27
- package/dist/{Image-DDK05SW7.js → Image-DBjqi76B.js} +1 -1
- package/dist/Index-B6sevgc6.js +4 -0
- package/dist/{Index-DPwdcUO4.js → Index-BDVj7Dy2.js} +1 -1
- package/dist/Index-CZYVZtFI.js +178 -0
- package/dist/Index-Cch9emdC.js +4 -0
- package/dist/Index-CfpZf8By.js +4 -0
- package/dist/Index-Cn3HXkPm.js +4 -0
- package/dist/{Index-CuEyzMd0.js → Index-DuKtMNgH.js} +25 -20
- package/dist/{Index-BiF8qEWf.js → Index-Z8dMl0cU.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js → Index.vue_vue_type_script_setup_true_lang-BJJPNo3Y.js} +20 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js → Index.vue_vue_type_script_setup_true_lang-DCxwPrIZ.js} +17 -12
- package/dist/{Install-CxuoWpHC.js → Install-CNE0J2Q9.js} +27 -22
- package/dist/Int-C5AxmjK0.js +46 -0
- package/dist/Int-RoCJiPje.js +44 -0
- package/dist/List-DJuE2QHL.js +79 -0
- package/dist/Maintaince-CdqWSHAZ.js +20 -0
- package/dist/{Markdown-x1hASyA-.js → Markdown-DKyCVBYy.js} +1 -1
- package/dist/{Month-Bb0tgF-k.js → Month-BfSG37wf.js} +1 -1
- package/dist/Month-OH6snasK.js +43 -0
- package/dist/Month-iU9F-vQ5.js +44 -0
- package/dist/{Normal-CYmy5sN7.js → Normal-DPJQ_Ds5.js} +70 -66
- package/dist/Paging-CYU3sSbD.js +99 -0
- package/dist/{PagingHeader-DWbFl1do.js → PagingHeader-CgWbC7R1.js} +30 -24
- package/dist/{PagingRow-CR2N1vgm.js → PagingRow-Y8lG-1cI.js} +26 -20
- package/dist/QueryApi-C3h4tWd0.js +20 -0
- package/dist/{Racebar-BsgDK6Zf.js → Racebar-CtFYJKrh.js} +42 -37
- package/dist/{Radio-B3Af-uZE.js → Radio-Bz2SE_FO.js} +1 -1
- package/dist/{Register-Cwr3iIZm.js → Register-CiK44o2W.js} +44 -40
- package/dist/RichText-BkhW8muI.js +47 -0
- package/dist/{SearchFooter-DiILcc_U.js → SearchFooter-D6O_c5DS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js → SearchFooter.vue_vue_type_style_index_0_lang-BDe_uXW2.js} +1 -1
- package/dist/{SearchForm-BOw_kHs2.js → SearchForm-CZjHSE1s.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js → SearchForm.vue_vue_type_style_index_0_lang-CVeFjNjG.js} +40 -36
- package/dist/Select-BEgPZsaR.js +117 -0
- package/dist/Select-CY1CA4pv.js +86 -0
- package/dist/{Select-BdYG1KQE.js → Select-FFqI2hOh.js} +1 -1
- package/dist/{Single-DqCIZBIB.js → Single-BQRWqAOH.js} +103 -99
- package/dist/{Statistic-B9ZcUUk1.js → Statistic-CyqoTZZj.js} +37 -33
- package/dist/{Stock-BnBNtuo7.js → Stock-N57DPrDl.js} +1 -1
- package/dist/{Stock-BiSr7zAF.js → Stock-negSF4zD.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js → Stock.vue_vue_type_style_index_0_lang-BuxuI7Wg.js} +31 -26
- package/dist/{Switch-BE4dQcja.js → Switch-g5K9zh4g.js} +1 -1
- package/dist/{Table-CaH_zu8W.js → Table-CHKHAajT.js} +77 -74
- package/dist/{Table-e0uLPRLG.js → Table-nB7wA6gP.js} +78 -73
- package/dist/{Text-BAw88r5O.js → Text-7oaEmWun.js} +19 -13
- package/dist/Text-BefOYKkr.js +4 -0
- package/dist/{Text-BDAob4mp.js → Text-KKwYRpSW.js} +21 -15
- package/dist/Text.vue_vue_type_style_index_0_lang-BrmC8Xhc.js +59 -0
- package/dist/TextLink-DoArgh5L.js +65 -0
- package/dist/{Textarea-CU5PjIoa.js → Textarea-DEvxrKMK.js} +1 -1
- package/dist/Time-D8Ikb-KB.js +43 -0
- package/dist/Timeline-BEt6ygzA.js +59 -0
- package/dist/{Tree-D-v632h1.js → Tree-caBJzrZQ.js} +105 -101
- package/dist/Tree-ftxBqmRQ.js +122 -0
- package/dist/TreeNode-XITOvihe.js +42 -0
- package/dist/{Update-DRAFce7_.js → Update-JgTiZCDi.js} +20 -15
- package/dist/{UpdateChild-DMC0FG4Z.js → UpdateChild-y0OPiT92.js} +23 -17
- package/dist/Upload-BlnOvJFg.js +150 -0
- package/dist/Upload-kUYBfIS2.js +72 -0
- package/dist/UploadApi-RRAsIVG7.js +20 -0
- package/dist/{Year-CpcMBvQ7.js → Year-C2_kuiZX.js} +1 -1
- package/dist/Year-Cre43mQI.js +47 -0
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/main-KTzfgTac.js +9105 -0
- package/dist/main.js +139 -140
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/Autocomplete-C9RS9-qw.js +0 -48
- package/dist/Autocomplete-DIucpEpj.js +0 -49
- package/dist/Callback-D6G_933H.js +0 -20
- package/dist/Cascader-C6t8Q18c.js +0 -41
- package/dist/Cascader-F_XWwXKY.js +0 -81
- package/dist/Checkbox-ipHs0O-8.js +0 -70
- package/dist/Code-DKtqow6y.js +0 -36
- package/dist/Code-LeguA9RL.js +0 -54
- package/dist/Code.vue_vue_type_style_index_0_lang-DmeXbg91.js +0 -59
- package/dist/Column-BeQwafyN.js +0 -70
- package/dist/Comment-DIcCHP9F.js +0 -98
- package/dist/Compare-Dzqm7kPE.js +0 -38
- package/dist/Copy-iLieXx22.js +0 -43
- package/dist/Custom-BGtEDHlD.js +0 -51
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js +0 -172
- package/dist/Date-CNOCOcNz.js +0 -37
- package/dist/DateRange-CaIiObxN.js +0 -57
- package/dist/DateTime-CH6J1GoP.js +0 -38
- package/dist/Daterange-BUSKAGlK.js +0 -57
- package/dist/Delete-BeFC0gjD.js +0 -57
- package/dist/Dictionary-CsBiv-CI.js +0 -55
- package/dist/Email-Dwa6x3jW.js +0 -48
- package/dist/Index-Bpe7pY2Z.js +0 -4
- package/dist/Index-CUYQxzNd.js +0 -174
- package/dist/Index-DMnL8F7Y.js +0 -4
- package/dist/Index-DNG25ox2.js +0 -4
- package/dist/Index-DqUNI6MV.js +0 -4
- package/dist/Int-BFv18KXi.js +0 -38
- package/dist/Int-C0ijmdYS.js +0 -41
- package/dist/List-CfQzWq_5.js +0 -74
- package/dist/Maintaince-BzDEwQcU.js +0 -14
- package/dist/Month-Bp_Pfi_b.js +0 -37
- package/dist/Month-CKkjwzza.js +0 -38
- package/dist/Paging-DpoBp7x_.js +0 -95
- package/dist/QueryApi-VwISnk96.js +0 -13
- package/dist/RichText-CNahMrfb.js +0 -41
- package/dist/Select-BeNZqAP1.js +0 -112
- package/dist/Select-CqOE6uI8.js +0 -80
- package/dist/Text-5803XWI6.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js +0 -53
- package/dist/TextLink-TYXcDAlo.js +0 -59
- package/dist/Time-Dd-Trib4.js +0 -37
- package/dist/Timeline-D6LCIkQp.js +0 -53
- package/dist/Tree-BKmFZrK3.js +0 -118
- package/dist/TreeNode-L_A5ZKy0.js +0 -37
- package/dist/Upload-DJRh4a7g.js +0 -68
- package/dist/Upload-Ozg_nOpI.js +0 -147
- package/dist/UploadApi-DVx69g-F.js +0 -13
- package/dist/Year-D7XGe2So.js +0 -41
- package/dist/assets/halo-fe-B-NiIGas.js +0 -12088
- package/dist/main-DB_sVyZe.js +0 -3620
@@ -1,81 +0,0 @@
|
|
1
|
-
import { defineComponent as E, toRefs as N, ref as w, computed as R, resolveComponent as S, openBlock as c, createBlock as D, unref as a, isRef as I, withCtx as O, createElementVNode as P, createTextVNode as T, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
-
import { aN as j, O as h, T as q } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const U = {
|
4
|
-
key: 0,
|
5
|
-
class: "cascader-suffix"
|
6
|
-
}, z = {
|
7
|
-
key: 0,
|
8
|
-
class: "cascader-length"
|
9
|
-
}, J = /* @__PURE__ */ E({
|
10
|
-
__name: "Cascader",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change", "update:modelValue"],
|
20
|
-
setup(v, { emit: g }) {
|
21
|
-
let d = g, V = v, { table: b, field: t, set: A, row: F, modelValue: _ } = N(V), s = w(), p = null, x = () => {
|
22
|
-
s.value || (s.value = t.value.control.data.data);
|
23
|
-
let e = _.value, l = [];
|
24
|
-
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((n) => {
|
25
|
-
let o = h.getParentsById(n, "value", s.value, "children", !0);
|
26
|
-
o.length > 0 && l.push(o.map((B) => B.value));
|
27
|
-
}) : h.getParentsById(e, "value", s.value, "children", !0).forEach((n) => {
|
28
|
-
l.push(n.value);
|
29
|
-
}), l;
|
30
|
-
}, C = (e) => {
|
31
|
-
let l;
|
32
|
-
t.value.control.multiple ? l = e.map((r) => r[r.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
|
33
|
-
}, y = (e) => {
|
34
|
-
e && (p = null, k());
|
35
|
-
}, k = () => {
|
36
|
-
let e = { text: p, conditions: [] };
|
37
|
-
t.value.control.data.conditions.forEach((l) => {
|
38
|
-
e.conditions.push({ name: l.name, value: null });
|
39
|
-
}), q.post(t.value.control.data.route, e).then(({ data: l }) => {
|
40
|
-
s.value = l;
|
41
|
-
});
|
42
|
-
}, u = R({
|
43
|
-
get() {
|
44
|
-
return x();
|
45
|
-
},
|
46
|
-
set(e) {
|
47
|
-
C(e);
|
48
|
-
}
|
49
|
-
});
|
50
|
-
return (e, l) => {
|
51
|
-
const r = S("el-cascader");
|
52
|
-
return c(), D(r, {
|
53
|
-
ref: "cascaderRef",
|
54
|
-
placeholder: a(j)(a(b).name, a(t).name),
|
55
|
-
filterable: "",
|
56
|
-
"collapse-tags": "",
|
57
|
-
"collapse-tags-tooltip": "",
|
58
|
-
"max-collapse-tags": 6,
|
59
|
-
options: a(s),
|
60
|
-
disabled: a(t).readonly,
|
61
|
-
props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
|
62
|
-
clearable: !a(t).control.required,
|
63
|
-
onVisibleChange: a(y),
|
64
|
-
modelValue: a(u),
|
65
|
-
"onUpdate:modelValue": l[0] || (l[0] = (n) => I(u) ? u.value = n : u = n)
|
66
|
-
}, {
|
67
|
-
default: O(({ node: n, data: o }) => [
|
68
|
-
P("span", null, [
|
69
|
-
T(i(o.text), 1),
|
70
|
-
o.suffix ? (c(), m("span", U, "(" + i(o.suffix) + ")", 1)) : f("", !0)
|
71
|
-
]),
|
72
|
-
o.children ? (c(), m("span", z, i(o.children.length), 1)) : f("", !0)
|
73
|
-
]),
|
74
|
-
_: 1
|
75
|
-
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
76
|
-
};
|
77
|
-
}
|
78
|
-
});
|
79
|
-
export {
|
80
|
-
J as default
|
81
|
-
};
|
@@ -1,70 +0,0 @@
|
|
1
|
-
import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as g, openBlock as s, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
|
2
|
-
import { e as D } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__PURE__ */ N({
|
4
|
-
__name: "Checkbox",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["change", "update:modelValue"],
|
14
|
-
setup(x, { emit: b }) {
|
15
|
-
let i = b, C = x, { field: r, table: T, set: j, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
|
16
|
-
o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
|
17
|
-
}, B = (n) => {
|
18
|
-
let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
|
19
|
-
u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
|
20
|
-
}, o = A({
|
21
|
-
get() {
|
22
|
-
return h.value ? h.value.split(",") : [];
|
23
|
-
},
|
24
|
-
set(n) {
|
25
|
-
let e = n.toString();
|
26
|
-
i("update:modelValue", e), i("change", e);
|
27
|
-
}
|
28
|
-
});
|
29
|
-
return (n, e) => {
|
30
|
-
const a = g("el-checkbox"), d = g("el-checkbox-group");
|
31
|
-
return s(), f("div", F, [
|
32
|
-
v(d, {
|
33
|
-
onChange: t(B),
|
34
|
-
modelValue: t(o),
|
35
|
-
"onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
|
36
|
-
}, {
|
37
|
-
default: m(() => [
|
38
|
-
(s(!0), f(E, null, R(t(r).control.data.data, (l) => (s(), S(a, {
|
39
|
-
disabled: t(r).control.readonly,
|
40
|
-
value: l.value,
|
41
|
-
key: l.value
|
42
|
-
}, {
|
43
|
-
default: m(() => [
|
44
|
-
V(k(l.text), 1)
|
45
|
-
]),
|
46
|
-
_: 2
|
47
|
-
}, 1032, ["disabled", "value"]))), 128))
|
48
|
-
]),
|
49
|
-
_: 1
|
50
|
-
}, 8, ["onChange", "modelValue"]),
|
51
|
-
U("div", L, [
|
52
|
-
v(a, {
|
53
|
-
indeterminate: t(c),
|
54
|
-
onChange: t(y),
|
55
|
-
modelValue: t(u),
|
56
|
-
"onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
|
57
|
-
}, {
|
58
|
-
default: m(() => [
|
59
|
-
V(k(t(D)("common.select_all")), 1)
|
60
|
-
]),
|
61
|
-
_: 1
|
62
|
-
}, 8, ["indeterminate", "onChange", "modelValue"])
|
63
|
-
])
|
64
|
-
]);
|
65
|
-
};
|
66
|
-
}
|
67
|
-
});
|
68
|
-
export {
|
69
|
-
G as default
|
70
|
-
};
|
package/dist/Code-DKtqow6y.js
DELETED
@@ -1,36 +0,0 @@
|
|
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 _ } from "vue";
|
2
|
-
import { _ as F } from "./assets/halo-fe-B-NiIGas.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(f) {
|
14
|
-
let g = f, { table: s, field: t, set: b, row: d, modelValue: a } = h(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(F), {
|
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) => _(a) ? a.value = u : a = u)
|
31
|
-
}, null, 8, ["config", "style", "modelValue"]));
|
32
|
-
}
|
33
|
-
});
|
34
|
-
export {
|
35
|
-
C as default
|
36
|
-
};
|
package/dist/Code-LeguA9RL.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
|
2
|
-
import { _ as x } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const R = /* @__PURE__ */ b({
|
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 } = h(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,59 +0,0 @@
|
|
1
|
-
import { defineComponent as C, toRefs as h, 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 _, toDisplayString as f, createCommentVNode as L } from "vue";
|
2
|
-
import { _ as N } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
import { Q } from "./QueryApi-VwISnk96.js";
|
4
|
-
const R = { class: "ha-code-layout" }, q = /* @__PURE__ */ C({
|
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 } = h(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"), y = m("el-radio-group");
|
29
|
-
return n(), u("div", R, [
|
30
|
-
i(y, {
|
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
|
-
};
|
package/dist/Column-BeQwafyN.js
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
import { defineComponent as F, toRefs as M, onMounted as b, computed as f, openBlock as l, createBlock as h, unref as e, withCtx as k, createElementBlock as o, Fragment as D, renderList as E, normalizeClass as H, createCommentVNode as i, createElementVNode as a, toDisplayString as u, resolveDynamicComponent as L, createVNode as S, createTextVNode as s } from "vue";
|
2
|
-
import { F as z, K as C, a3 as K } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
import { H as P } from "./main-DB_sVyZe.js";
|
4
|
-
import "element-plus";
|
5
|
-
import "vue-router";
|
6
|
-
import "./assets/intro.js-DxWjEdp_.js";
|
7
|
-
const R = {
|
8
|
-
key: 0,
|
9
|
-
class: "menus"
|
10
|
-
}, T = ["onClick"], $ = { class: "title" }, j = {
|
11
|
-
key: 1,
|
12
|
-
class: "column-empty"
|
13
|
-
}, q = /* @__PURE__ */ a("br", null, null, -1), A = /* @__PURE__ */ a("br", null, null, -1), Y = /* @__PURE__ */ F({
|
14
|
-
__name: "Column",
|
15
|
-
props: {
|
16
|
-
view: {},
|
17
|
-
url: {},
|
18
|
-
win: {}
|
19
|
-
},
|
20
|
-
emits: ["loaded", "navigate"],
|
21
|
-
setup(y, { expose: g, emit: x }) {
|
22
|
-
let c = x, w = y, { url: m, view: d } = M(w), B = (t) => !0, N = (t) => !0, U = () => {
|
23
|
-
p();
|
24
|
-
}, p = () => {
|
25
|
-
c("loaded", r.value.title);
|
26
|
-
}, V = (t) => {
|
27
|
-
let v = C.getUrl(t.url, { m: t.id });
|
28
|
-
c("navigate", v);
|
29
|
-
};
|
30
|
-
b(() => {
|
31
|
-
p();
|
32
|
-
});
|
33
|
-
let r = f(() => z.getMenuByUrl(m.value)), _ = f(() => C.getPath(m.value));
|
34
|
-
return g({ shouldLoad: B, shouldSpin: N, refresh: U }), (t, v) => (l(), h(e(K), null, {
|
35
|
-
default: k(() => [
|
36
|
-
e(r) ? (l(), o("div", R, [
|
37
|
-
(l(!0), o(D, null, E(e(r).children, (n) => (l(), o("div", {
|
38
|
-
class: "menu",
|
39
|
-
key: n.id,
|
40
|
-
onClick: (G) => e(V)(n)
|
41
|
-
}, [
|
42
|
-
n.icon ? (l(), o("i", {
|
43
|
-
key: 0,
|
44
|
-
class: H(n.icon)
|
45
|
-
}, null, 2)) : i("", !0),
|
46
|
-
a("div", $, u(n.title), 1)
|
47
|
-
], 8, T))), 128))
|
48
|
-
])) : i("", !0),
|
49
|
-
(l(), h(L(e(d)))),
|
50
|
-
(!e(r) || e(r).children == 0) && !e(d) ? (l(), o("div", j, [
|
51
|
-
S(e(P), null, {
|
52
|
-
default: k(() => [
|
53
|
-
s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
54
|
-
]),
|
55
|
-
_: 1
|
56
|
-
}),
|
57
|
-
s(" 可考虑以下任一选项:"),
|
58
|
-
q,
|
59
|
-
s(" 1. 在 src/views 中实现自定义页面:" + u(e(_)), 1),
|
60
|
-
A,
|
61
|
-
s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + u(e(_)), 1)
|
62
|
-
])) : i("", !0)
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}));
|
66
|
-
}
|
67
|
-
});
|
68
|
-
export {
|
69
|
-
Y as default
|
70
|
-
};
|
package/dist/Comment-DIcCHP9F.js
DELETED
@@ -1,98 +0,0 @@
|
|
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 { K as D } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const F = { class: "ha-comment-layout" }, K = { class: "comment-add" }, L = { class: "add-footer" }, M = { class: "footer-title" }, R = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), U = { 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" }, O = /* @__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), P = { 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: Q, table: r, layout: o, set: _, validateErrors: W } = 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", K, [
|
38
|
-
v(g, { type: "textarea" }),
|
39
|
-
t("div", L, [
|
40
|
-
t("div", M, [
|
41
|
-
R,
|
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", U, [
|
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
|
-
O
|
80
|
-
])
|
81
|
-
]))), 128)),
|
82
|
-
t("div", P, [
|
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
|
-
};
|
package/dist/Compare-Dzqm7kPE.js
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
import { defineComponent as x, toRefs as E, onMounted as b, computed as s, unref as f, openBlock as k, createElementBlock as w, normalizeClass as y, createCommentVNode as B, nextTick as V } from "vue";
|
2
|
-
import { B as N } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const D = /* @__PURE__ */ x({
|
4
|
-
__name: "Compare",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
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 = () => {
|
15
|
-
V(() => {
|
16
|
-
let d = l.value.fields.find((h) => h.name == t.value.control.compareWith), c = a.value[d.name];
|
17
|
-
n = e.editor.createModel(c, m.value), i = e.editor.createModel(u.value, m.value);
|
18
|
-
let _ = document.getElementsByClassName(o)[0];
|
19
|
-
debugger;
|
20
|
-
r = e.editor.createDiffEditor(_, { originalEditable: !0 }), r.setModel({
|
21
|
-
original: n,
|
22
|
-
modified: i
|
23
|
-
});
|
24
|
-
});
|
25
|
-
};
|
26
|
-
b(async () => {
|
27
|
-
e = await N.getMonaco(), C();
|
28
|
-
});
|
29
|
-
let u = s(() => M.value || ""), m = s(() => t.value.control.type.toLowerCase());
|
30
|
-
return (d, c) => f(u) ? (k(), w("div", {
|
31
|
-
key: 0,
|
32
|
-
class: y(`text-compare ${f(o)}`)
|
33
|
-
}, null, 2)) : B("", !0);
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
D as default
|
38
|
-
};
|
package/dist/Copy-iLieXx22.js
DELETED
@@ -1,43 +0,0 @@
|
|
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 { v as a } from "./assets/halo-fe-B-NiIGas.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
|
-
};
|
package/dist/Custom-BGtEDHlD.js
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
import { defineComponent as x, toRefs as z, ref as L, openBlock as n, createBlock as i, KeepAlive as R, resolveDynamicComponent as B, unref as o } from "vue";
|
2
|
-
import { K, v as N, e as U } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const P = /* @__PURE__ */ x({
|
4
|
-
__name: "Custom",
|
5
|
-
props: {
|
6
|
-
view: {},
|
7
|
-
url: {},
|
8
|
-
win: {}
|
9
|
-
},
|
10
|
-
emits: ["loaded", "navigate"],
|
11
|
-
setup(u, { expose: s, emit: f }) {
|
12
|
-
let a = f, v = u, { url: d, view: m, win: p } = z(v), t = L(), c = (e, l) => {
|
13
|
-
if (!t.value || !t.value.keyboard)
|
14
|
-
return !1;
|
15
|
-
t.value.keyboard(e, l);
|
16
|
-
}, h = (e) => !0, g = (e) => !0, w = () => {
|
17
|
-
var l;
|
18
|
-
let e = (l = t.value) == null ? void 0 : l.refresh;
|
19
|
-
if (!e) {
|
20
|
-
let r = K.getPath(d.value);
|
21
|
-
N.notify(U("common.tips"), `要实现自定义刷新功能,请在组件 ${r} 内部定义并暴露refresh方法即可`, "warning");
|
22
|
-
return;
|
23
|
-
}
|
24
|
-
e();
|
25
|
-
}, _ = (e) => {
|
26
|
-
var r;
|
27
|
-
let l = (r = t.value) == null ? void 0 : r.beforeClose;
|
28
|
-
l && l(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
|
-
a("loaded", e);
|
35
|
-
}, C = (e) => {
|
36
|
-
a("navigate", e);
|
37
|
-
};
|
38
|
-
return s({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, l) => (n(), i(R, null, [
|
39
|
-
(n(), i(B(o(m)), {
|
40
|
-
ref_key: "customRef",
|
41
|
-
ref: t,
|
42
|
-
win: o(p),
|
43
|
-
onLoaded: o(y),
|
44
|
-
onNavigate: o(C)
|
45
|
-
}, null, 40, ["win", "onLoaded", "onNavigate"]))
|
46
|
-
], 1024));
|
47
|
-
}
|
48
|
-
});
|
49
|
-
export {
|
50
|
-
P as default
|
51
|
-
};
|