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
package/dist/Upload-Ozg_nOpI.js
DELETED
@@ -1,147 +0,0 @@
|
|
1
|
-
import { defineComponent as X, toRefs as Y, ref as p, onMounted as Z, computed as x, watch as ee, resolveComponent as k, openBlock as I, createElementBlock as B, normalizeClass as le, unref as t, createVNode as C, withCtx as R, createBlock as ae, createTextVNode as te, toDisplayString as oe, isRef as re, createElementVNode as ue } from "vue";
|
2
|
-
import { e as ne, D as U, ai as ie, T as F, v as se, u as s, d as P, b as O, K as de } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
import { e as S, u as $ } from "./main-DB_sVyZe.js";
|
4
|
-
import "./QueryApi-VwISnk96.js";
|
5
|
-
import { U as pe } from "./UploadApi-DVx69g-F.js";
|
6
|
-
const me = {
|
7
|
-
key: 0,
|
8
|
-
class: "fa fa-upload"
|
9
|
-
}, ce = ["src"], Ve = /* @__PURE__ */ X({
|
10
|
-
__name: "Upload",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change", "update:modelValue"],
|
20
|
-
setup(z, { emit: A }) {
|
21
|
-
let h = A, D = z, { table: d, field: u, row: g, set: ve, modelValue: E } = Y(D), m = p(!1), T = p({}), c = p([]), j = p(), L = p(), f = !0, b = p({ action: "", data: null }), q = (e) => {
|
22
|
-
let l = pe.getUploadToken();
|
23
|
-
e.forEach((o) => {
|
24
|
-
let a = `${P.upload.address}/api/objects/download?slug=${o[0]}&token=${l}`;
|
25
|
-
c.value.push({ name: o[1], url: a });
|
26
|
-
});
|
27
|
-
}, H = async (e) => {
|
28
|
-
f = !1;
|
29
|
-
let l = `/upload?table=${d.value.name}&field=${u.value.name}`;
|
30
|
-
b.value.action = U.api.url + l;
|
31
|
-
let o = new ie();
|
32
|
-
o.path = l, o.method = "POST", await F.onRequest(o);
|
33
|
-
let a = o.getHeader("Authorization");
|
34
|
-
return T.value.Authorization = a, u.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (se.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
|
35
|
-
}, K = (e, l) => {
|
36
|
-
f = !1;
|
37
|
-
let a = [e.name.replace(U.api.url, "")];
|
38
|
-
return F.post("/upload/delete", { files: a }).then(({ data: r }) => {
|
39
|
-
let n = l.indexOf(e), _ = s.removeIndex(i.value, n, ",");
|
40
|
-
if (h("update:modelValue", _), u.value.control.name) {
|
41
|
-
let v = d.value.fields.find((y) => y.name == u.value.control.name), V = S.getValue(r.value, n, d.value, v), w = s.removeIndex(V, n, ",");
|
42
|
-
S.setValue(w, r.value, d.value, n, v);
|
43
|
-
}
|
44
|
-
return Promise.resolve();
|
45
|
-
}).catch(() => Promise.reject());
|
46
|
-
}, M = (e) => {
|
47
|
-
m.value = !0, j.value = e.url;
|
48
|
-
}, G = (e, l, o) => {
|
49
|
-
}, J = (e, l) => {
|
50
|
-
F.handleResponseBody(e).then((o) => {
|
51
|
-
let { name: a, url: r } = o.data[0];
|
52
|
-
P.upload.method == "box" || O.isImage(r) || (l.url = $.getFileIcon(r));
|
53
|
-
let _ = s.split(i.value, ",", r).join(",");
|
54
|
-
if (i.value = _, u.value.control.name) {
|
55
|
-
let v = d.value.fields.find((y) => y.name == u.value.control.name), V = g.value[v.value], w = s.split(V, ",", a);
|
56
|
-
g.value[v.value] = w.join(",");
|
57
|
-
}
|
58
|
-
}).catch(() => {
|
59
|
-
c.value = [];
|
60
|
-
}).finally(() => {
|
61
|
-
f = !0;
|
62
|
-
});
|
63
|
-
}, N = () => {
|
64
|
-
if (c.value = [], !i.value)
|
65
|
-
return;
|
66
|
-
let e = s.split(i.value, ","), l = [];
|
67
|
-
if (u.value.control.name) {
|
68
|
-
let a = d.value.fields.find((n) => n.name == u.value.control.name), r = g.value[a.name];
|
69
|
-
l = s.split(r, ",");
|
70
|
-
}
|
71
|
-
let o = s.combine(e, l);
|
72
|
-
if (P.upload.method == "box")
|
73
|
-
q(o);
|
74
|
-
else {
|
75
|
-
let a = de.httpOrHttps(i.value) ? i.value : U.api.url + i.value, r = { name: a, url: null };
|
76
|
-
O.isImage(a) ? r.url = a : r.url = $.getFileIcon(a), c.value.push(r);
|
77
|
-
}
|
78
|
-
};
|
79
|
-
Z(() => {
|
80
|
-
N();
|
81
|
-
});
|
82
|
-
let i = x({
|
83
|
-
get() {
|
84
|
-
return E.value;
|
85
|
-
},
|
86
|
-
set(e) {
|
87
|
-
h("update:modelValue", e), h("change", e);
|
88
|
-
}
|
89
|
-
}), Q = x(() => u.value.control.preview ? "picture-card" : null), W = x(() => W);
|
90
|
-
return ee(() => i.value, (e, l) => {
|
91
|
-
f && N();
|
92
|
-
}), (e, l) => {
|
93
|
-
const o = k("el-button"), a = k("el-upload"), r = k("el-dialog");
|
94
|
-
return I(), B("div", {
|
95
|
-
class: le(t(u).control.preview ? "control-file-preview" : "control-file")
|
96
|
-
}, [
|
97
|
-
C(a, {
|
98
|
-
ref_key: "uploadRef",
|
99
|
-
ref: L,
|
100
|
-
"list-type": t(Q),
|
101
|
-
action: t(b).action,
|
102
|
-
headers: t(T),
|
103
|
-
data: t(b).data,
|
104
|
-
"file-list": t(c),
|
105
|
-
"before-upload": t(H),
|
106
|
-
"before-remove": t(K),
|
107
|
-
"on-preview": t(M),
|
108
|
-
"on-success": t(J),
|
109
|
-
"on-progress": t(G),
|
110
|
-
disabled: t(u).readonly
|
111
|
-
}, {
|
112
|
-
default: R(() => [
|
113
|
-
t(u).control.preview ? (I(), B("i", me)) : (I(), ae(o, {
|
114
|
-
key: 1,
|
115
|
-
icon: "el-icon-upload",
|
116
|
-
type: "primary"
|
117
|
-
}, {
|
118
|
-
default: R(() => [
|
119
|
-
te(oe(t(ne)("common.click_upload")), 1)
|
120
|
-
]),
|
121
|
-
_: 1
|
122
|
-
}))
|
123
|
-
]),
|
124
|
-
_: 1
|
125
|
-
}, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
|
126
|
-
C(r, {
|
127
|
-
draggable: "",
|
128
|
-
"append-to-body": "",
|
129
|
-
modelValue: t(m),
|
130
|
-
"onUpdate:modelValue": l[0] || (l[0] = (n) => re(m) ? m.value = n : m = n)
|
131
|
-
}, {
|
132
|
-
default: R(() => [
|
133
|
-
ue("img", {
|
134
|
-
width: "100%",
|
135
|
-
src: t(j),
|
136
|
-
alt: ""
|
137
|
-
}, null, 8, ce)
|
138
|
-
]),
|
139
|
-
_: 1
|
140
|
-
}, 8, ["modelValue"])
|
141
|
-
], 2);
|
142
|
-
};
|
143
|
-
}
|
144
|
-
});
|
145
|
-
export {
|
146
|
-
Ve as default
|
147
|
-
};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { T as o, t } from "./assets/halo-fe-B-NiIGas.js";
|
2
|
-
let e = null;
|
3
|
-
class s {
|
4
|
-
/**
|
5
|
-
* 获取上传令牌,过期自动获取
|
6
|
-
*/
|
7
|
-
static async getUploadToken() {
|
8
|
-
return e == null || t.getTime() >= t.getTime(e.expireTime) ? o.get("/upload/token").then(({ data: r }) => (e = r, Promise.resolve(e.token))).catch(() => Promise.reject()) : Promise.resolve(e.token);
|
9
|
-
}
|
10
|
-
}
|
11
|
-
export {
|
12
|
-
s as U
|
13
|
-
};
|
package/dist/Year-D7XGe2So.js
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as V, openBlock as b, createBlock as g, unref as e, isRef as Y } from "vue";
|
2
|
-
import { aN as k } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
-
const x = /* @__PURE__ */ f({
|
4
|
-
__name: "Year",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(r, { emit: d }) {
|
15
|
-
let o = d, u = r, { table: p, field: a, row: C, set: y, modelValue: s } = _(u), c = () => {
|
16
|
-
o("submit");
|
17
|
-
}, l = h({
|
18
|
-
get() {
|
19
|
-
return s.value;
|
20
|
-
},
|
21
|
-
set(t) {
|
22
|
-
o("update:modelValue", t), o("change", t);
|
23
|
-
}
|
24
|
-
});
|
25
|
-
return (t, n) => {
|
26
|
-
const i = V("el-date-picker");
|
27
|
-
return b(), g(i, {
|
28
|
-
type: "year",
|
29
|
-
placeholder: e(k)(e(p).name, e(a).name),
|
30
|
-
"value-format": "YYYY",
|
31
|
-
disabled: e(a).control.readonly,
|
32
|
-
onChange: e(c),
|
33
|
-
modelValue: e(l),
|
34
|
-
"onUpdate:modelValue": n[0] || (n[0] = (m) => Y(l) ? l.value = m : l = m)
|
35
|
-
}, null, 8, ["placeholder", "disabled", "onChange", "modelValue"]);
|
36
|
-
};
|
37
|
-
}
|
38
|
-
});
|
39
|
-
export {
|
40
|
-
x as default
|
41
|
-
};
|