halo-pc 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-BZph3Slr.js +194 -0
- package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BW_G0Irk.js} +17 -24
- package/dist/Autocomplete-CuAwiHhE.js +49 -0
- package/dist/Autocomplete-Dw1r9LjJ.js +48 -0
- package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-qmcT2ECx.js} +1 -1
- package/dist/{CSharp-BGzxI5QJ.js → CSharp-BWYY3ixE.js} +1 -1
- package/dist/{Calender-DkBPl9bM.js → Calender-CGxlpOR0.js} +3 -3
- package/dist/Callback-phrGGQ_Q.js +20 -0
- package/dist/Cascader-CT7ASkSy.js +41 -0
- package/dist/Cascader-CsJ1jVBY.js +81 -0
- package/dist/{Checkbox-CuRjXSPc.js → Checkbox-BOC7ECAx.js} +1 -1
- package/dist/Checkbox-BePH3x-V.js +70 -0
- package/dist/Code-CE-Fe7WB.js +36 -0
- package/dist/{Code-BlwPnx9J.js → Code-CWxVzJHq.js} +1 -1
- package/dist/Code-CqLG9fEE.js +54 -0
- package/dist/Code-TBB9w4CV.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-oiyt3bsp.js +59 -0
- package/dist/Column-Ctyq9hqP.js +68 -0
- package/dist/Comment-RyVJJjTd.js +98 -0
- package/dist/Compare-DEccApnU.js +56 -0
- package/dist/Compare-ZBeSkf8f.js +26 -0
- package/dist/Copy-CNJ1TZJl.js +43 -0
- package/dist/Custom-DHvr_EJi.js +51 -0
- package/dist/{DataExport-C0jItlVY.js → DataExport-39v2Wzii.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js} +34 -40
- package/dist/{DataImport-BfBkneEy.js → DataImport-C1O_zTRs.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js} +54 -59
- package/dist/{Date-B8b9JXpP.js → Date-BAk-TE4a.js} +1 -1
- package/dist/Date-CsIPLFzI.js +37 -0
- package/dist/DateRange-BXSMqDJ0.js +57 -0
- package/dist/DateTime-2RoBkqWb.js +38 -0
- package/dist/{DateTime-DjhuyxFC.js → DateTime-DSiPx95t.js} +1 -1
- package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-l6kVSbZe.js} +13 -20
- package/dist/Daterange-DRq9WIRI.js +57 -0
- package/dist/{Decimal-DqMMTfvl.js → Decimal-DGia5Sy8.js} +1 -1
- package/dist/Delete-B7X35s7r.js +56 -0
- package/dist/{Detail-C-OFWPso.js → Detail-wJXhceca.js} +16 -23
- package/dist/Dictionary-CUFHT-1d.js +55 -0
- package/dist/Email-BqiiArN8.js +48 -0
- package/dist/{File-C2fLmTcj.js → File-DngRHLmK.js} +40 -47
- package/dist/Image-D3FNAo-5.js +9 -0
- package/dist/Index-B3hh_9-f.js +4 -0
- package/dist/{Index-D7DerkIw.js → Index-B4bG41Qh.js} +1 -1
- package/dist/Index-BJ4rN3ua.js +4 -0
- package/dist/Index-C3EFws1o.js +4 -0
- package/dist/Index-ChQl4mWS.js +70 -0
- package/dist/{Index-B90giDWQ.js → Index-D6WfgZso.js} +1 -1
- package/dist/Index-Dec7ANPo.js +173 -0
- package/dist/{Index-CQURvmzd.js → Index-yxohMYWu.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js} +16 -23
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js} +14 -21
- package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js} +30 -36
- package/dist/{Install-Cqj44p9F.js → Install-DvLkDt-G.js} +20 -27
- package/dist/{Int-Bj3Gagp5.js → Int-CTZDyiRf.js} +9 -16
- package/dist/Int-DUxDmxeN.js +41 -0
- package/dist/List-DhQAnj6h.js +73 -0
- package/dist/Maintaince-DlOgC995.js +14 -0
- package/dist/{Markdown-COY9enBf.js → Markdown-BBZs8Oeu.js} +1 -1
- package/dist/Month-BOpeFNyJ.js +37 -0
- package/dist/Month-CGeJVL3p.js +38 -0
- package/dist/{Month-B7jIGlKI.js → Month-UvBNgDPi.js} +1 -1
- package/dist/{Normal-B8YL2DeI.js → Normal-AYl3k_ON.js} +43 -49
- package/dist/Paging-B45u8Pwz.js +94 -0
- package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-BKtQX0FN.js} +37 -44
- package/dist/{PagingRow-CHDlm8UI.js → PagingRow-C1sBqbWn.js} +21 -28
- package/dist/QueryApi-DwKYCq-u.js +13 -0
- package/dist/{Racebar-ClsuYbRj.js → Racebar-DEHtOLFI.js} +43 -49
- package/dist/{Radio-C6j5nvI9.js → Radio-i6CjikAh.js} +1 -1
- package/dist/{Register-BnwfjjXP.js → Register-SHm6xbyk.js} +74 -80
- package/dist/RichText-Bxc-XIY-.js +41 -0
- package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-Co8AjPaU.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js} +1 -1
- package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CMiBnK26.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js} +34 -40
- package/dist/{Select-BiFIpc5-.js → Select-B-gNnoDq.js} +1 -1
- package/dist/Select-DuecGTXX.js +111 -0
- package/dist/{Select-Z8b2t5QQ.js → Select-t1xYHXcV.js} +19 -26
- package/dist/{Single-DdcVVH9V.js → Single-Da4zGSt4.js} +116 -122
- package/dist/{Statistic-B7niMPBf.js → Statistic-MUCQAxl_.js} +25 -31
- package/dist/{Stock-CRsu1vcy.js → Stock-C0gpktjX.js} +1 -1
- package/dist/{Stock-xm8v4vDf.js → Stock-CFVyfAIN.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js} +26 -32
- package/dist/{Switch-BaER4xWy.js → Switch-CT0S6MHJ.js} +1 -1
- package/dist/{Table-C2dYPoGi.js → Table-CU6q8l3a.js} +54 -61
- package/dist/{Table-a5uj25Nj.js → Table-NC8CrrxW.js} +63 -68
- package/dist/Text-Bx4cfjya.js +52 -0
- package/dist/{Text-CMEzogZ8.js → Text-ChJQSLGE.js} +1 -1
- package/dist/Text-ChdZDU0g.js +53 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-BZNDg39p.js +53 -0
- package/dist/TextLink-DIHx9sjo.js +59 -0
- package/dist/{Textarea-DAICkidp.js → Textarea-CRi6hLdT.js} +1 -1
- package/dist/Time-Cn6eQVUQ.js +37 -0
- package/dist/Timeline-DpEcUmkJ.js +53 -0
- package/dist/{Tree-BwQkDP2T.js → Tree-B0Rqvp37.js} +73 -79
- package/dist/Tree-nr0ZIvCA.js +117 -0
- package/dist/TreeNode-e51TMrSj.js +37 -0
- package/dist/{Update-BZe92EwV.js → Update-QF8Zkcdq.js} +13 -20
- package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-DouQaV7E.js} +19 -26
- package/dist/Upload-0ba29Dyr.js +67 -0
- package/dist/Upload-BXj28BSA.js +146 -0
- package/dist/UploadApi-Boq1A5E-.js +13 -0
- package/dist/Year-DuBH5ghc.js +41 -0
- package/dist/{Year-2tcz8PDF.js → Year-x4NXoaB_.js} +1 -1
- package/dist/main-RFuk2-Bk.js +19837 -0
- package/dist/main.js +54 -56
- 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-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
@@ -1,14 +1,8 @@
|
|
1
|
-
import { defineComponent as I, toRefs as U, ref as v, onMounted as M, onUnmounted as
|
2
|
-
import * as
|
3
|
-
import {
|
4
|
-
import "./
|
5
|
-
|
6
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
-
import { _ as j } from "./SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js";
|
11
|
-
const re = /* @__PURE__ */ I({
|
1
|
+
import { defineComponent as I, toRefs as U, ref as v, onMounted as M, onUnmounted as N, openBlock as $, createElementBlock as F, createVNode as O, unref as d, createElementVNode as V, nextTick as q } from "vue";
|
2
|
+
import * as P from "echarts";
|
3
|
+
import { N as _, i as z, k as T } from "./main-RFuk2-Bk.js";
|
4
|
+
import { _ as W } from "./SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js";
|
5
|
+
const Y = /* @__PURE__ */ I({
|
12
6
|
__name: "Racebar",
|
13
7
|
props: {
|
14
8
|
searchData: {},
|
@@ -21,32 +15,32 @@ const re = /* @__PURE__ */ I({
|
|
21
15
|
set: {}
|
22
16
|
},
|
23
17
|
emits: ["search"],
|
24
|
-
setup(R, { expose:
|
25
|
-
let
|
18
|
+
setup(R, { expose: w, emit: j }) {
|
19
|
+
let A = R, { route: G, module: J, schema: L, table: D, layout: e, set: h, searchData: B } = U(A), f = v(), x = v(), y = v();
|
26
20
|
v({ width: null, height: null });
|
27
|
-
let
|
28
|
-
},
|
21
|
+
let i = null, b = null, s = [], n = 0, a, C = () => {
|
22
|
+
}, k = () => {
|
29
23
|
var t;
|
30
|
-
let l = _.getHeight(y.value),
|
31
|
-
|
32
|
-
let
|
33
|
-
|
34
|
-
},
|
35
|
-
x.value.resize(l),
|
36
|
-
|
24
|
+
let l = _.getHeight(y.value), g = _.getHeight((t = x.value) == null ? void 0 : t.$el), m = _.getWidth(y.value);
|
25
|
+
m && (f.value.style.width = Math.floor(m) + "px");
|
26
|
+
let p = l - g - 1;
|
27
|
+
p && (f.value.style.height = p + "px");
|
28
|
+
}, E = (l) => {
|
29
|
+
x.value.resize(l), q(() => {
|
30
|
+
k(), i == null || i.resize();
|
37
31
|
});
|
38
|
-
},
|
39
|
-
let l =
|
40
|
-
s =
|
41
|
-
function
|
42
|
-
let t = s[n],
|
32
|
+
}, H = () => {
|
33
|
+
let l = z.distinct(h.value[D.value.name], (t) => t[e.value.legend]);
|
34
|
+
s = z.distinct(h.value[e.value.table], (t) => t[e.value.date]);
|
35
|
+
function g() {
|
36
|
+
let t = s[n], o = [];
|
43
37
|
for (let r = 0; r < l.length; ++r) {
|
44
|
-
let S = l[r], u =
|
45
|
-
u ?
|
38
|
+
let S = l[r], u = h.value[e.value.table].find((c) => c[e.value.legend] == S && c[e.value.date] == t);
|
39
|
+
u ? o.push(u[e.value.value]) : o.push(0);
|
46
40
|
}
|
47
|
-
return
|
41
|
+
return o;
|
48
42
|
}
|
49
|
-
let
|
43
|
+
let m = g();
|
50
44
|
a = {
|
51
45
|
title: { textStyle: { color: "#777" } },
|
52
46
|
tooltip: { axisPointer: { type: "shadow" } },
|
@@ -85,7 +79,7 @@ const re = /* @__PURE__ */ I({
|
|
85
79
|
realtimeSort: !0,
|
86
80
|
name: e.value.title,
|
87
81
|
type: "bar",
|
88
|
-
data:
|
82
|
+
data: m,
|
89
83
|
label: {
|
90
84
|
show: !0,
|
91
85
|
precision: 0,
|
@@ -124,36 +118,36 @@ const re = /* @__PURE__ */ I({
|
|
124
118
|
z: 100
|
125
119
|
}]
|
126
120
|
}
|
127
|
-
},
|
128
|
-
function
|
129
|
-
let t = s[n],
|
130
|
-
for (let r = 0; r <
|
131
|
-
let S = l[r], u =
|
132
|
-
u ?
|
121
|
+
}, T.theme == "dark" && (a.title.textStyle.color = "rgba(255,255,255,0.8)", a.legend.textStyle.color = "rgba(255,255,255,.72)", a.xAxis.axisLabel.color = "rgba(255,255,255,.72)", a.xAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", a.yAxis.axisLabel.color = "rgba(255,255,255,.72)", a.series[0].label.color = "rgba(255,255,255,.72)"), i.setOption(a), n++;
|
122
|
+
function p() {
|
123
|
+
let t = s[n], o = a.series[0].data;
|
124
|
+
for (let r = 0; r < o.length; ++r) {
|
125
|
+
let S = l[r], u = h.value[e.value.table].find((c) => c[e.value.legend] == S && c[e.value.date] == t);
|
126
|
+
u ? o[r] = u[e.value.value] : o[r] = 0;
|
133
127
|
}
|
134
|
-
a.graphic.elements[0].style.text = t,
|
128
|
+
a.graphic.elements[0].style.text = t, i.setOption(a);
|
135
129
|
}
|
136
130
|
b = setInterval(function() {
|
137
|
-
|
131
|
+
p(), n++, n == s.length && clearInterval(b);
|
138
132
|
}, 3e3);
|
139
133
|
};
|
140
134
|
return M(() => {
|
141
|
-
|
142
|
-
}),
|
143
|
-
clearInterval(b),
|
144
|
-
}),
|
135
|
+
k(), i = P.init(f.value), H();
|
136
|
+
}), N(() => {
|
137
|
+
clearInterval(b), i.dispose();
|
138
|
+
}), w({ resize: E }), (l, g) => ($(), F("div", {
|
145
139
|
ref_key: "raceBarRef",
|
146
140
|
ref: y,
|
147
141
|
class: "race-bar-layout"
|
148
142
|
}, [
|
149
|
-
O(
|
143
|
+
O(W, {
|
150
144
|
ref_key: "searchRef",
|
151
145
|
ref: x,
|
152
|
-
schema: d(
|
146
|
+
schema: d(L),
|
153
147
|
table: d(D),
|
154
148
|
layout: d(e),
|
155
|
-
"search-data": d(
|
156
|
-
onSearch: d(
|
149
|
+
"search-data": d(B),
|
150
|
+
onSearch: d(C)
|
157
151
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSearch"]),
|
158
152
|
V("div", {
|
159
153
|
ref_key: "chartRef",
|
@@ -164,5 +158,5 @@ const re = /* @__PURE__ */ I({
|
|
164
158
|
}
|
165
159
|
});
|
166
160
|
export {
|
167
|
-
|
161
|
+
Y as default
|
168
162
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ p({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = u(() => import("./Dictionary-
|
13
|
+
let r = u(() => import("./Dictionary-CUFHT-1d.js")), s = a, { schema: m, table: n, field: d, set: i, row: f, modelValue: l } = c(s);
|
14
14
|
return (_, o) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -1,67 +1,61 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import "./
|
4
|
-
import { i as ee, W as le, X as te, t as oe, S as k, h as K, r as se, Y as S } from "./main-BS_9gx1M.js";
|
5
|
-
import "./assets/clone-BZn0cTAu.js";
|
6
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as I, ref as i, onMounted as Q, watch as X, resolveComponent as m, openBlock as c, createElementBlock as Z, createVNode as d, unref as l, withCtx as f, createElementVNode as r, toDisplayString as F, isRef as h, createBlock as g, withKeys as T, normalizeClass as j, withModifiers as J, createTextVNode as W, nextTick as U } from "vue";
|
2
|
+
import { useRoute as Y } from "vue-router";
|
3
|
+
import { G as ee, P as le, S as se, U as te, X as k, L as B, r as oe, T as K } from "./main-RFuk2-Bk.js";
|
10
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
11
5
|
const ae = { class: "login-container" }, re = { class: "title-container" }, ne = { class: "title" }, ie = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
12
6
|
/* @__PURE__ */ r("i", { class: "fa fa-user" })
|
13
7
|
], -1), ue = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
14
8
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
15
|
-
], -1),
|
9
|
+
], -1), de = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
16
10
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
17
|
-
], -1),
|
11
|
+
], -1), fe = ["innerHTML"], ge = /* @__PURE__ */ I({
|
18
12
|
__name: "Register",
|
19
|
-
setup(
|
20
|
-
let V = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), y = i(!1), w = i({ jigsaw: null, content: null }), b = i(), R = i(), _ = i(), C = i(),
|
21
|
-
k.isEmail(e) ?
|
22
|
-
},
|
23
|
-
k.isPassword(e) ?
|
24
|
-
},
|
25
|
-
k.isPassword(e) ? e !=
|
26
|
-
},
|
27
|
-
let { shiftKey: e, key:
|
28
|
-
|
13
|
+
setup(pe) {
|
14
|
+
let V = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), y = i(!1), w = i({ jigsaw: null, content: null }), b = i(), R = i(), _ = i(), C = i(), M = Y(), q = (t, e, s) => {
|
15
|
+
k.isEmail(e) ? s() : s(new Error("邮箱格式不正确"));
|
16
|
+
}, L = (t, e, s) => {
|
17
|
+
k.isPassword(e) ? s() : s(new Error("密码格式不正确"));
|
18
|
+
}, N = (t, e, s, p) => {
|
19
|
+
k.isPassword(e) ? e != p.password ? s(new Error("两次密码不一致")) : s() : s(new Error("密码格式不正确"));
|
20
|
+
}, P = (t) => {
|
21
|
+
let { shiftKey: e, key: s } = t;
|
22
|
+
s && s.length == 1 && (e && s >= "a" && s <= "z" || !e && s >= "A" && s <= "Z" ? a.value = !0 : a.value = !1), s == "CapsLock" && a.value == !0 && (a.value = !1);
|
29
23
|
}, v = () => {
|
30
|
-
u.value == "password" ? u.value = "" : u.value = "password",
|
24
|
+
u.value == "password" ? u.value = "" : u.value = "password", U(() => {
|
31
25
|
_.value.focus();
|
32
26
|
});
|
33
|
-
},
|
34
|
-
b.value.validate((
|
35
|
-
if (!
|
27
|
+
}, O = () => {
|
28
|
+
b.value.validate((t) => {
|
29
|
+
if (!t)
|
36
30
|
return !1;
|
37
31
|
V.value = !0;
|
38
32
|
});
|
39
|
-
},
|
33
|
+
}, x = () => {
|
40
34
|
E();
|
41
|
-
},
|
42
|
-
y.value = !0, n.value.position =
|
43
|
-
|
35
|
+
}, S = (t) => {
|
36
|
+
y.value = !0, n.value.position = t, B.post("/user/register", n.value).then(({ data: e }) => {
|
37
|
+
oe.toBackUrl();
|
44
38
|
}).catch((e) => {
|
45
|
-
throw
|
39
|
+
throw x(), C.value.error(), e;
|
46
40
|
}).finally(() => {
|
47
|
-
|
41
|
+
U(() => {
|
48
42
|
y.value = !1;
|
49
43
|
});
|
50
44
|
});
|
51
|
-
},
|
52
|
-
|
53
|
-
w.value.jigsaw =
|
45
|
+
}, $ = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {}), E = () => {
|
46
|
+
B.get("/user/captcha").then(({ data: t, message: e }) => {
|
47
|
+
w.value.jigsaw = K.base64(t.jigsaw), w.value.content = K.base64(t.content);
|
54
48
|
});
|
55
49
|
};
|
56
|
-
return
|
50
|
+
return Q(() => {
|
57
51
|
ee.setI18nTitle("common.register"), E(), n.value.email == "" ? R.value.focus() : n.value.password == "" && _.value.focus();
|
58
|
-
}), X(
|
59
|
-
const e =
|
60
|
-
e &&
|
61
|
-
}), (
|
62
|
-
const
|
63
|
-
return c(),
|
64
|
-
|
52
|
+
}), X(M, function(t) {
|
53
|
+
const e = t.query;
|
54
|
+
e && $(e);
|
55
|
+
}), (t, e) => {
|
56
|
+
const s = m("el-input"), p = m("el-form-item"), z = m("el-tooltip"), D = m("el-button"), H = m("el-form");
|
57
|
+
return c(), Z("div", ae, [
|
58
|
+
d(H, {
|
65
59
|
ref_key: "formRef",
|
66
60
|
ref: b,
|
67
61
|
class: "login-form",
|
@@ -69,21 +63,21 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
69
63
|
"label-position": "left",
|
70
64
|
model: l(n)
|
71
65
|
}, {
|
72
|
-
default:
|
66
|
+
default: f(() => [
|
73
67
|
r("div", re, [
|
74
|
-
r("h3", ne,
|
68
|
+
r("h3", ne, F(l(le)("title")), 1)
|
75
69
|
]),
|
76
|
-
p
|
70
|
+
d(p, {
|
77
71
|
prop: "email",
|
78
72
|
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(q) }]
|
79
73
|
}, {
|
80
|
-
default:
|
74
|
+
default: f(() => [
|
81
75
|
ie,
|
82
|
-
|
76
|
+
d(s, {
|
83
77
|
ref_key: "emailRef",
|
84
78
|
ref: R,
|
85
79
|
modelValue: l(n).email,
|
86
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
80
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(n).email = o),
|
87
81
|
placeholder: "邮箱",
|
88
82
|
name: "email",
|
89
83
|
type: "text",
|
@@ -93,21 +87,21 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
93
87
|
]),
|
94
88
|
_: 1
|
95
89
|
}, 8, ["rules"]),
|
96
|
-
|
90
|
+
d(z, {
|
97
91
|
modelValue: l(a),
|
98
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
92
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => h(a) ? a.value = o : a = o),
|
99
93
|
content: "Caps lock is On",
|
100
94
|
placement: "right",
|
101
95
|
manual: ""
|
102
96
|
}, {
|
103
|
-
default:
|
104
|
-
p
|
97
|
+
default: f(() => [
|
98
|
+
d(p, {
|
105
99
|
prop: "password",
|
106
|
-
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(
|
100
|
+
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(L) }]
|
107
101
|
}, {
|
108
|
-
default:
|
102
|
+
default: f(() => [
|
109
103
|
ue,
|
110
|
-
(c(), g(
|
104
|
+
(c(), g(s, {
|
111
105
|
ref: "password",
|
112
106
|
key: l(u),
|
113
107
|
type: l(u),
|
@@ -115,18 +109,18 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
115
109
|
name: "password",
|
116
110
|
tabindex: "2",
|
117
111
|
autocomplete: "on",
|
118
|
-
onKeyup:
|
119
|
-
onBlur: e[1] || (e[1] = (
|
112
|
+
onKeyup: T(l(P), ["native"]),
|
113
|
+
onBlur: e[1] || (e[1] = (o) => h(a) ? a.value = !1 : a = !1),
|
120
114
|
modelValue: l(n).password,
|
121
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
115
|
+
"onUpdate:modelValue": e[2] || (e[2] = (o) => l(n).password = o)
|
122
116
|
}, null, 8, ["type", "onKeyup", "modelValue"])),
|
123
117
|
r("span", {
|
124
118
|
class: "show-pwd",
|
125
119
|
onClick: e[3] || (e[3] = //@ts-ignore
|
126
|
-
(...
|
120
|
+
(...o) => l(v) && l(v)(...o))
|
127
121
|
}, [
|
128
122
|
r("i", {
|
129
|
-
class:
|
123
|
+
class: j(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
130
124
|
}, null, 2)
|
131
125
|
])
|
132
126
|
]),
|
@@ -135,13 +129,13 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
135
129
|
]),
|
136
130
|
_: 1
|
137
131
|
}, 8, ["modelValue"]),
|
138
|
-
p
|
132
|
+
d(p, {
|
139
133
|
prop: "confirmPassword",
|
140
|
-
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (
|
134
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, A, G) => l(N)(o, A, G, l(n)) }]
|
141
135
|
}, {
|
142
|
-
default:
|
143
|
-
|
144
|
-
(c(), g(
|
136
|
+
default: f(() => [
|
137
|
+
de,
|
138
|
+
(c(), g(s, {
|
145
139
|
ref_key: "passwordRef",
|
146
140
|
ref: _,
|
147
141
|
key: l(u),
|
@@ -150,39 +144,39 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
150
144
|
name: "password",
|
151
145
|
tabindex: "2",
|
152
146
|
autocomplete: "on",
|
153
|
-
onKeyup:
|
154
|
-
onBlur: e[5] || (e[5] = (
|
147
|
+
onKeyup: T(l(P), ["native"]),
|
148
|
+
onBlur: e[5] || (e[5] = (o) => h(a) ? a.value = !1 : a = !1),
|
155
149
|
modelValue: l(n).confirmPassword,
|
156
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
150
|
+
"onUpdate:modelValue": e[6] || (e[6] = (o) => l(n).confirmPassword = o)
|
157
151
|
}, null, 8, ["type", "onKeyup", "modelValue"])),
|
158
152
|
r("span", {
|
159
153
|
class: "show-pwd",
|
160
154
|
onClick: e[7] || (e[7] = //@ts-ignore
|
161
|
-
(...
|
155
|
+
(...o) => l(v) && l(v)(...o))
|
162
156
|
}, [
|
163
157
|
r("i", {
|
164
|
-
class:
|
158
|
+
class: j(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
165
159
|
}, null, 2)
|
166
160
|
])
|
167
161
|
]),
|
168
162
|
_: 1
|
169
163
|
}, 8, ["rules"]),
|
170
|
-
l(V) ? (c(), g(l(
|
164
|
+
l(V) ? (c(), g(l(se), {
|
171
165
|
key: 1,
|
172
166
|
ref_key: "captchaRef",
|
173
167
|
ref: C,
|
174
168
|
content: l(w).content,
|
175
169
|
jigsaw: l(w).jigsaw,
|
176
|
-
onRefresh: l(
|
177
|
-
onValidate: l(
|
178
|
-
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(
|
170
|
+
onRefresh: l(x),
|
171
|
+
onValidate: l(S)
|
172
|
+
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(D, {
|
179
173
|
key: 0,
|
180
174
|
type: "primary",
|
181
175
|
loading: l(y),
|
182
|
-
onClick:
|
176
|
+
onClick: J(l(O), ["prevent"])
|
183
177
|
}, {
|
184
|
-
default:
|
185
|
-
|
178
|
+
default: f(() => [
|
179
|
+
W("注册 ")
|
186
180
|
]),
|
187
181
|
_: 1
|
188
182
|
}, 8, ["loading", "onClick"]))
|
@@ -191,12 +185,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
191
185
|
}, 8, ["model"]),
|
192
186
|
r("div", {
|
193
187
|
class: "powered-by",
|
194
|
-
innerHTML: l(
|
195
|
-
}, null, 8,
|
188
|
+
innerHTML: l(te)("sys.powered_by")
|
189
|
+
}, null, 8, fe)
|
196
190
|
]);
|
197
191
|
};
|
198
192
|
}
|
199
193
|
});
|
200
194
|
export {
|
201
|
-
|
195
|
+
ge as default
|
202
196
|
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as c, onMounted as w, computed as m, watch as v, openBlock as R, createBlock as b, unref as r, normalizeStyle as k, isRef as B } from "vue";
|
2
|
+
import { p as C } from "./main-RFuk2-Bk.js";
|
3
|
+
const O = /* @__PURE__ */ g({
|
4
|
+
__name: "RichText",
|
5
|
+
props: /* @__PURE__ */ x({
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {}
|
11
|
+
}, {
|
12
|
+
modelValue: {},
|
13
|
+
modelModifiers: {}
|
14
|
+
}),
|
15
|
+
emits: ["update:modelValue"],
|
16
|
+
setup(n) {
|
17
|
+
let f = n, { field: e, table: h, set: _, row: s } = S(f), u = M(n, "modelValue"), t = c({ readonly: !1, scrollTop: 0 }), i = c(), y = (l) => {
|
18
|
+
a.value != null && (s.value[a.value.name] = l.scrollTop);
|
19
|
+
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
20
|
+
t.value.readonly = e.value.control.readonly, t.value.scrollTop = d.value, i.value = T();
|
21
|
+
};
|
22
|
+
w(() => {
|
23
|
+
V();
|
24
|
+
});
|
25
|
+
let d = m(() => a.value ? s.value[a.value.name] : null), a = m(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
26
|
+
return v(() => d.value, (l, o) => {
|
27
|
+
t.value.scrollTop = l;
|
28
|
+
}), v(() => e.value.control.readonly, (l, o) => {
|
29
|
+
t.value.readonly = l;
|
30
|
+
}), (l, o) => (R(), b(r(C), {
|
31
|
+
style: k(r(i)),
|
32
|
+
options: r(t),
|
33
|
+
onScroll: r(y),
|
34
|
+
modelValue: r(u),
|
35
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => B(u) ? u.value = p : u = p)
|
36
|
+
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
37
|
+
}
|
38
|
+
});
|
39
|
+
export {
|
40
|
+
O as default
|
41
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as f, toRefs as g, computed as j, openBlock as c, createElementBlock as C, createBlock as O, resolveDynamicComponent as q, unref as e } from "vue";
|
2
|
-
import {
|
2
|
+
import { c as A } from "./main-RFuk2-Bk.js";
|
3
3
|
const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
|
4
4
|
__name: "SearchFooter",
|
5
5
|
props: {
|
@@ -1,12 +1,6 @@
|
|
1
|
-
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as
|
2
|
-
import "./
|
3
|
-
|
4
|
-
import { O as ee, s as D, f as te, C as ae } from "./main-BS_9gx1M.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const de = /* @__PURE__ */ I({
|
1
|
+
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as j, watch as Q, resolveComponent as c, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import { t as ee, s as D, q as te, m as ae } from "./main-RFuk2-Bk.js";
|
3
|
+
const oe = /* @__PURE__ */ I({
|
10
4
|
__name: "SearchForm",
|
11
5
|
props: {
|
12
6
|
schema: { type: Array, required: !0 },
|
@@ -16,52 +10,52 @@ const de = /* @__PURE__ */ I({
|
|
16
10
|
},
|
17
11
|
emits: ["change", "submit", "mounted"],
|
18
12
|
setup(M, { expose: N, emit: T }) {
|
19
|
-
let
|
20
|
-
|
13
|
+
let w = T, W = M, { schema: F, table: u, layout: C, searchData: f } = J(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
|
14
|
+
w("change", e);
|
21
15
|
}, S = (e = null) => {
|
22
|
-
|
16
|
+
w("submit");
|
23
17
|
}, U = (e, t) => {
|
24
18
|
let l = e == "*" ? null : e;
|
25
|
-
|
26
|
-
},
|
19
|
+
f.value[u.value.name][t.name] = l, S();
|
20
|
+
}, q = () => {
|
27
21
|
V.value && (k.value = V.value.$el.clientWidth);
|
28
22
|
}, $ = (e) => {
|
29
|
-
|
23
|
+
q();
|
30
24
|
}, R = () => {
|
31
|
-
let e =
|
25
|
+
let e = C.value.tabs;
|
32
26
|
if (e)
|
33
27
|
for (let t = 0; t < e.length; t++) {
|
34
28
|
let l = e[t];
|
35
29
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
36
30
|
}
|
37
31
|
};
|
38
|
-
d.value = ee.clone(
|
39
|
-
|
40
|
-
|
32
|
+
d.value = ee.clone(f.value), R(), K(() => {
|
33
|
+
q(), P(() => {
|
34
|
+
w("mounted");
|
41
35
|
});
|
42
36
|
});
|
43
|
-
let z =
|
37
|
+
let z = j(() => {
|
44
38
|
if (!k.value)
|
45
39
|
return [];
|
46
|
-
let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l =
|
47
|
-
return D.getLines(
|
48
|
-
}),
|
49
|
-
let e = [], t =
|
40
|
+
let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = C.value.tabs ?? [], m = t.filter((_) => l.indexOf(_.name) == -1);
|
41
|
+
return D.getLines(m, e, (_) => _, () => 1);
|
42
|
+
}), O = j(() => {
|
43
|
+
let e = [], t = C.value.tabs;
|
50
44
|
return t && t.forEach((l) => {
|
51
|
-
let
|
52
|
-
e.push(
|
45
|
+
let m = u.value.fields.find((h) => h.name == l);
|
46
|
+
e.push(m);
|
53
47
|
}), e;
|
54
48
|
});
|
55
|
-
return Q(() =>
|
49
|
+
return Q(() => f.value, (e, t) => {
|
56
50
|
R();
|
57
51
|
}), N({ resize: $ }), (e, t) => {
|
58
|
-
const l =
|
59
|
-
return r(), i(
|
52
|
+
const l = c("el-radio-button"), m = c("el-radio-group"), h = c("el-form-item"), _ = c("el-col"), A = c("el-row"), G = c("el-form"), H = c("el-scrollbar");
|
53
|
+
return r(), i(H, {
|
60
54
|
"max-height": "200px",
|
61
55
|
class: "search-form"
|
62
56
|
}, {
|
63
57
|
default: n(() => [
|
64
|
-
a(u).search.length > 0 ? (r(), i(
|
58
|
+
a(u).search.length > 0 ? (r(), i(G, {
|
65
59
|
key: 0,
|
66
60
|
ref_key: "searchFormRef",
|
67
61
|
ref: V,
|
@@ -71,13 +65,13 @@ const de = /* @__PURE__ */ I({
|
|
71
65
|
}, ["prevent"]))
|
72
66
|
}, {
|
73
67
|
default: n(() => [
|
74
|
-
(r(!0), v(g, null, x(a(
|
68
|
+
(r(!0), v(g, null, x(a(O), (s, b) => (r(), i(h, {
|
75
69
|
class: "search-tab",
|
76
70
|
label: s.label,
|
77
71
|
"label-width": 50
|
78
72
|
}, {
|
79
73
|
default: n(() => [
|
80
|
-
y(
|
74
|
+
y(m, {
|
81
75
|
ref_for: !0,
|
82
76
|
ref_key: "tabRefs",
|
83
77
|
ref: E,
|
@@ -108,22 +102,22 @@ const de = /* @__PURE__ */ I({
|
|
108
102
|
}, 1032, ["label"]))), 256)),
|
109
103
|
(r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
|
110
104
|
class: "search-row",
|
111
|
-
label: a(
|
105
|
+
label: a(O).length ? "其它" : "",
|
112
106
|
"label-width": 50,
|
113
107
|
gutter: 5
|
114
108
|
}, {
|
115
109
|
default: n(() => [
|
116
|
-
(r(!0), v(g, null, x(s, ({ data:
|
110
|
+
(r(!0), v(g, null, x(s, ({ data: b, span: o }, le) => (r(), i(_, { span: o }, {
|
117
111
|
default: n(() => [
|
118
|
-
y(
|
119
|
-
label: a(te)(
|
112
|
+
y(h, {
|
113
|
+
label: a(te)(b.table.name, b.name)
|
120
114
|
}, {
|
121
115
|
default: n(() => [
|
122
116
|
y(ae, {
|
123
117
|
schema: a(F),
|
124
|
-
table:
|
125
|
-
field:
|
126
|
-
"search-data": a(
|
118
|
+
table: b.table,
|
119
|
+
field: b,
|
120
|
+
"search-data": a(f),
|
127
121
|
onChange: a(L),
|
128
122
|
onSubmit: a(S)
|
129
123
|
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
@@ -146,5 +140,5 @@ const de = /* @__PURE__ */ I({
|
|
146
140
|
}
|
147
141
|
});
|
148
142
|
export {
|
149
|
-
|
143
|
+
oe as _
|
150
144
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-CUFHT-1d.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
14
|
return (_, t) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|