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,8 +1,13 @@
|
|
1
1
|
import { defineComponent as U, toRefs as M, ref as v, onMounted as $, onUnmounted as F, openBlock as N, createElementBlock as O, createVNode as V, unref as d, createElementVNode as P, nextTick as T } from "vue";
|
2
2
|
import * as W from "echarts";
|
3
|
-
import {
|
4
|
-
import
|
5
|
-
|
3
|
+
import { D as j, E as _, A } from "./main-KTzfgTac.js";
|
4
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
import { _ as q } from "./SearchForm.vue_vue_type_style_index_0_lang-CVeFjNjG.js";
|
10
|
+
const re = /* @__PURE__ */ U({
|
6
11
|
__name: "Racebar",
|
7
12
|
props: {
|
8
13
|
searchData: {},
|
@@ -15,32 +20,32 @@ const Z = /* @__PURE__ */ U({
|
|
15
20
|
set: {}
|
16
21
|
},
|
17
22
|
emits: ["search"],
|
18
|
-
setup(
|
19
|
-
let
|
23
|
+
setup(R, { expose: k, emit: G }) {
|
24
|
+
let w = R, { route: J, module: K, schema: H, table: D, layout: e, set: m, searchData: L } = M(w), f = v(), x = v(), y = v();
|
20
25
|
v({ width: null, height: null });
|
21
|
-
let
|
22
|
-
},
|
26
|
+
let o = null, b = null, s = [], n = 0, a, { app: B } = j.sys, E = () => {
|
27
|
+
}, z = () => {
|
23
28
|
var t;
|
24
|
-
let l = _.getHeight(y.value),
|
25
|
-
|
26
|
-
let
|
27
|
-
|
28
|
-
},
|
29
|
+
let l = _.getHeight(y.value), h = _.getHeight((t = x.value) == null ? void 0 : t.$el), p = _.getWidth(y.value);
|
30
|
+
p && (f.value.style.width = Math.floor(p) + "px");
|
31
|
+
let g = l - h - 1;
|
32
|
+
g && (f.value.style.height = g + "px");
|
33
|
+
}, C = (l) => {
|
29
34
|
x.value.resize(l), T(() => {
|
30
|
-
|
35
|
+
z(), o == null || o.resize();
|
31
36
|
});
|
32
37
|
}, I = () => {
|
33
|
-
let l =
|
34
|
-
s =
|
35
|
-
function
|
36
|
-
let t = s[n],
|
38
|
+
let l = A.distinct(m.value[D.value.name], (t) => t[e.value.legend]);
|
39
|
+
s = A.distinct(m.value[e.value.table], (t) => t[e.value.date]);
|
40
|
+
function h() {
|
41
|
+
let t = s[n], i = [];
|
37
42
|
for (let r = 0; r < l.length; ++r) {
|
38
|
-
let S = l[r], u =
|
39
|
-
u ?
|
43
|
+
let S = l[r], u = m.value[e.value.table].find((c) => c[e.value.legend] == S && c[e.value.date] == t);
|
44
|
+
u ? i.push(u[e.value.value]) : i.push(0);
|
40
45
|
}
|
41
|
-
return
|
46
|
+
return i;
|
42
47
|
}
|
43
|
-
let
|
48
|
+
let p = h();
|
44
49
|
a = {
|
45
50
|
title: { textStyle: { color: "#777" } },
|
46
51
|
tooltip: { axisPointer: { type: "shadow" } },
|
@@ -79,7 +84,7 @@ const Z = /* @__PURE__ */ U({
|
|
79
84
|
realtimeSort: !0,
|
80
85
|
name: e.value.title,
|
81
86
|
type: "bar",
|
82
|
-
data:
|
87
|
+
data: p,
|
83
88
|
label: {
|
84
89
|
show: !0,
|
85
90
|
precision: 0,
|
@@ -118,24 +123,24 @@ const Z = /* @__PURE__ */ U({
|
|
118
123
|
z: 100
|
119
124
|
}]
|
120
125
|
}
|
121
|
-
},
|
122
|
-
function
|
123
|
-
let t = s[n],
|
124
|
-
for (let r = 0; r <
|
125
|
-
let S = l[r], u =
|
126
|
-
u ?
|
126
|
+
}, B.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)"), o.setOption(a), n++;
|
127
|
+
function g() {
|
128
|
+
let t = s[n], i = a.series[0].data;
|
129
|
+
for (let r = 0; r < i.length; ++r) {
|
130
|
+
let S = l[r], u = m.value[e.value.table].find((c) => c[e.value.legend] == S && c[e.value.date] == t);
|
131
|
+
u ? i[r] = u[e.value.value] : i[r] = 0;
|
127
132
|
}
|
128
|
-
a.graphic.elements[0].style.text = t,
|
133
|
+
a.graphic.elements[0].style.text = t, o.setOption(a);
|
129
134
|
}
|
130
135
|
b = setInterval(function() {
|
131
|
-
|
136
|
+
g(), n++, n == s.length && clearInterval(b);
|
132
137
|
}, 3e3);
|
133
138
|
};
|
134
139
|
return $(() => {
|
135
|
-
|
140
|
+
z(), o = W.init(f.value), I();
|
136
141
|
}), F(() => {
|
137
|
-
clearInterval(b),
|
138
|
-
}),
|
142
|
+
clearInterval(b), o.dispose();
|
143
|
+
}), k({ resize: C }), (l, h) => (N(), O("div", {
|
139
144
|
ref_key: "raceBarRef",
|
140
145
|
ref: y,
|
141
146
|
class: "race-bar-layout"
|
@@ -143,11 +148,11 @@ const Z = /* @__PURE__ */ U({
|
|
143
148
|
V(q, {
|
144
149
|
ref_key: "searchRef",
|
145
150
|
ref: x,
|
146
|
-
schema: d(
|
151
|
+
schema: d(H),
|
147
152
|
table: d(D),
|
148
153
|
layout: d(e),
|
149
|
-
"search-data": d(
|
150
|
-
onSearch: d(
|
154
|
+
"search-data": d(L),
|
155
|
+
onSearch: d(E)
|
151
156
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSearch"]),
|
152
157
|
P("div", {
|
153
158
|
ref_key: "chartRef",
|
@@ -158,5 +163,5 @@ const Z = /* @__PURE__ */ U({
|
|
158
163
|
}
|
159
164
|
});
|
160
165
|
export {
|
161
|
-
|
166
|
+
re as default
|
162
167
|
};
|
@@ -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-B8OMis9G.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,23 +1,27 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import
|
4
|
-
import {
|
1
|
+
import { defineComponent as D, ref as i, onMounted as Q, watch as Y, resolveComponent as m, openBlock as c, createElementBlock as F, createVNode as p, unref as l, withCtx as d, createElementVNode as r, toDisplayString as G, isRef as h, createBlock as g, withKeys as j, normalizeClass as T, withModifiers as J, createTextVNode as W, nextTick as B } from "vue";
|
2
|
+
import { useRoute as X } from "vue-router";
|
3
|
+
import "./assets/underscore-B0BCaBxV.js";
|
4
|
+
import { i as ee, Y as le, Z as te, t as oe, S as k, h as K, r as se, $ as U } from "./main-KTzfgTac.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
9
|
import "./assets/intro.js-DxWjEdp_.js";
|
6
10
|
const ae = { class: "login-container" }, re = { class: "title-container" }, ne = { class: "title" }, ie = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
7
11
|
/* @__PURE__ */ r("i", { class: "fa fa-user" })
|
8
12
|
], -1), ue = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
9
13
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
10
|
-
], -1),
|
14
|
+
], -1), pe = /* @__PURE__ */ r("span", { class: "svg-container" }, [
|
11
15
|
/* @__PURE__ */ r("i", { class: "fa fa-key" })
|
12
|
-
], -1), de = ["innerHTML"],
|
16
|
+
], -1), de = ["innerHTML"], Ve = /* @__PURE__ */ D({
|
13
17
|
__name: "Register",
|
14
|
-
setup(
|
15
|
-
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(), q =
|
18
|
+
setup(fe) {
|
19
|
+
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(), q = X(), H = (o, e, t) => {
|
16
20
|
k.isEmail(e) ? t() : t(new Error("邮箱格式不正确"));
|
17
|
-
},
|
21
|
+
}, M = (o, e, t) => {
|
18
22
|
k.isPassword(e) ? t() : t(new Error("密码格式不正确"));
|
19
|
-
},
|
20
|
-
k.isPassword(e) ? e !=
|
23
|
+
}, S = (o, e, t, f) => {
|
24
|
+
k.isPassword(e) ? e != f.password ? t(new Error("两次密码不一致")) : t() : t(new Error("密码格式不正确"));
|
21
25
|
}, x = (o) => {
|
22
26
|
let { shiftKey: e, key: t } = o;
|
23
27
|
t && t.length == 1 && (e && t >= "a" && t <= "z" || !e && t >= "A" && t <= "Z" ? a.value = !0 : a.value = !1), t == "CapsLock" && a.value == !0 && (a.value = !1);
|
@@ -25,15 +29,15 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
25
29
|
u.value == "password" ? u.value = "" : u.value = "password", B(() => {
|
26
30
|
_.value.focus();
|
27
31
|
});
|
28
|
-
},
|
32
|
+
}, $ = () => {
|
29
33
|
b.value.validate((o) => {
|
30
34
|
if (!o)
|
31
35
|
return !1;
|
32
36
|
V.value = !0;
|
33
37
|
});
|
34
38
|
}, P = () => {
|
35
|
-
|
36
|
-
},
|
39
|
+
E();
|
40
|
+
}, L = (o) => {
|
37
41
|
y.value = !0, n.value.position = o, K.post("/user/register", n.value).then(({ data: e }) => {
|
38
42
|
se.toBackUrl();
|
39
43
|
}).catch((e) => {
|
@@ -43,20 +47,20 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
43
47
|
y.value = !1;
|
44
48
|
});
|
45
49
|
});
|
46
|
-
},
|
50
|
+
}, N = (o) => Object.keys(o).reduce((e, t) => (e[t] = o[t], e), {}), E = () => {
|
47
51
|
K.get("/user/captcha").then(({ data: o, message: e }) => {
|
48
52
|
w.value.jigsaw = U.base64(o.jigsaw), w.value.content = U.base64(o.content);
|
49
53
|
});
|
50
54
|
};
|
51
55
|
return Q(() => {
|
52
|
-
ee.setI18nTitle("common.register"),
|
53
|
-
}),
|
56
|
+
ee.setI18nTitle("common.register"), E(), n.value.email == "" ? R.value.focus() : n.value.password == "" && _.value.focus();
|
57
|
+
}), Y(q, function(o) {
|
54
58
|
const e = o.query;
|
55
|
-
e &&
|
59
|
+
e && N(e);
|
56
60
|
}), (o, e) => {
|
57
|
-
const t = m("el-input"),
|
58
|
-
return c(),
|
59
|
-
|
61
|
+
const t = m("el-input"), f = m("el-form-item"), O = m("el-tooltip"), z = m("el-button"), I = m("el-form");
|
62
|
+
return c(), F("div", ae, [
|
63
|
+
p(I, {
|
60
64
|
ref_key: "formRef",
|
61
65
|
ref: b,
|
62
66
|
class: "login-form",
|
@@ -66,15 +70,15 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
66
70
|
}, {
|
67
71
|
default: d(() => [
|
68
72
|
r("div", re, [
|
69
|
-
r("h3", ne,
|
73
|
+
r("h3", ne, G(l(le)("title")), 1)
|
70
74
|
]),
|
71
|
-
f
|
75
|
+
p(f, {
|
72
76
|
prop: "email",
|
73
|
-
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(
|
77
|
+
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(H) }]
|
74
78
|
}, {
|
75
79
|
default: d(() => [
|
76
80
|
ie,
|
77
|
-
|
81
|
+
p(t, {
|
78
82
|
ref_key: "emailRef",
|
79
83
|
ref: R,
|
80
84
|
modelValue: l(n).email,
|
@@ -88,7 +92,7 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
88
92
|
]),
|
89
93
|
_: 1
|
90
94
|
}, 8, ["rules"]),
|
91
|
-
|
95
|
+
p(O, {
|
92
96
|
modelValue: l(a),
|
93
97
|
"onUpdate:modelValue": e[4] || (e[4] = (s) => h(a) ? a.value = s : a = s),
|
94
98
|
content: "Caps lock is On",
|
@@ -96,9 +100,9 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
96
100
|
manual: ""
|
97
101
|
}, {
|
98
102
|
default: d(() => [
|
99
|
-
f
|
103
|
+
p(f, {
|
100
104
|
prop: "password",
|
101
|
-
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(
|
105
|
+
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(M) }]
|
102
106
|
}, {
|
103
107
|
default: d(() => [
|
104
108
|
ue,
|
@@ -110,7 +114,7 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
110
114
|
name: "password",
|
111
115
|
tabindex: "2",
|
112
116
|
autocomplete: "on",
|
113
|
-
onKeyup:
|
117
|
+
onKeyup: j(l(x), ["native"]),
|
114
118
|
onBlur: e[1] || (e[1] = (s) => h(a) ? a.value = !1 : a = !1),
|
115
119
|
modelValue: l(n).password,
|
116
120
|
"onUpdate:modelValue": e[2] || (e[2] = (s) => l(n).password = s)
|
@@ -130,12 +134,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
130
134
|
]),
|
131
135
|
_: 1
|
132
136
|
}, 8, ["modelValue"]),
|
133
|
-
f
|
137
|
+
p(f, {
|
134
138
|
prop: "confirmPassword",
|
135
|
-
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (s,
|
139
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (s, Z, A) => l(S)(s, Z, A, l(n)) }]
|
136
140
|
}, {
|
137
141
|
default: d(() => [
|
138
|
-
|
142
|
+
pe,
|
139
143
|
(c(), g(t, {
|
140
144
|
ref_key: "passwordRef",
|
141
145
|
ref: _,
|
@@ -145,7 +149,7 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
145
149
|
name: "password",
|
146
150
|
tabindex: "2",
|
147
151
|
autocomplete: "on",
|
148
|
-
onKeyup:
|
152
|
+
onKeyup: j(l(x), ["native"]),
|
149
153
|
onBlur: e[5] || (e[5] = (s) => h(a) ? a.value = !1 : a = !1),
|
150
154
|
modelValue: l(n).confirmPassword,
|
151
155
|
"onUpdate:modelValue": e[6] || (e[6] = (s) => l(n).confirmPassword = s)
|
@@ -162,22 +166,22 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
162
166
|
]),
|
163
167
|
_: 1
|
164
168
|
}, 8, ["rules"]),
|
165
|
-
l(V) ? (c(), g(l(
|
169
|
+
l(V) ? (c(), g(l(te), {
|
166
170
|
key: 1,
|
167
171
|
ref_key: "captchaRef",
|
168
172
|
ref: C,
|
169
173
|
content: l(w).content,
|
170
174
|
jigsaw: l(w).jigsaw,
|
171
175
|
onRefresh: l(P),
|
172
|
-
onValidate: l(
|
173
|
-
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(
|
176
|
+
onValidate: l(L)
|
177
|
+
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(z, {
|
174
178
|
key: 0,
|
175
179
|
type: "primary",
|
176
180
|
loading: l(y),
|
177
|
-
onClick:
|
181
|
+
onClick: J(l($), ["prevent"])
|
178
182
|
}, {
|
179
183
|
default: d(() => [
|
180
|
-
|
184
|
+
W("注册 ")
|
181
185
|
]),
|
182
186
|
_: 1
|
183
187
|
}, 8, ["loading", "onClick"]))
|
@@ -186,12 +190,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
|
|
186
190
|
}, 8, ["model"]),
|
187
191
|
r("div", {
|
188
192
|
class: "powered-by",
|
189
|
-
innerHTML: l(
|
193
|
+
innerHTML: l(oe)("sys.powered_by")
|
190
194
|
}, null, 8, de)
|
191
195
|
]);
|
192
196
|
};
|
193
197
|
}
|
194
198
|
});
|
195
199
|
export {
|
196
|
-
|
200
|
+
Ve as default
|
197
201
|
};
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as v, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } from "vue";
|
2
|
+
import "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import "./assets/clone-BZn0cTAu.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import { v as B } from "./main-KTzfgTac.js";
|
8
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
+
const D = /* @__PURE__ */ g({
|
10
|
+
__name: "RichText",
|
11
|
+
props: /* @__PURE__ */ x({
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {}
|
17
|
+
}, {
|
18
|
+
modelValue: {},
|
19
|
+
modelModifiers: {}
|
20
|
+
}),
|
21
|
+
emits: ["update:modelValue"],
|
22
|
+
setup(n) {
|
23
|
+
let f = n, { field: e, table: h, set: C, row: i } = S(f), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
|
24
|
+
a.value != null && (i.value[a.value.name] = l.scrollTop);
|
25
|
+
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
26
|
+
t.value.readonly = e.value.control.readonly, t.value.scrollTop = m.value, s.value = T();
|
27
|
+
};
|
28
|
+
_(() => {
|
29
|
+
V();
|
30
|
+
});
|
31
|
+
let m = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
32
|
+
return v(() => m.value, (l, o) => {
|
33
|
+
t.value.scrollTop = l;
|
34
|
+
}), v(() => e.value.control.readonly, (l, o) => {
|
35
|
+
t.value.readonly = l;
|
36
|
+
}), (l, o) => (w(), R(r(B), {
|
37
|
+
style: b(r(s)),
|
38
|
+
options: r(t),
|
39
|
+
onScroll: r(y),
|
40
|
+
modelValue: r(u),
|
41
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => k(u) ? u.value = p : u = p)
|
42
|
+
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
43
|
+
}
|
44
|
+
});
|
45
|
+
export {
|
46
|
+
D as default
|
47
|
+
};
|
@@ -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 { d as A } from "./main-KTzfgTac.js";
|
3
3
|
const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
|
4
4
|
__name: "SearchFooter",
|
5
5
|
props: {
|
@@ -1,7 +1,11 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
3
|
-
import
|
4
|
-
|
1
|
+
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as q, watch as Q, resolveComponent as m, 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 "./assets/underscore-B0BCaBxV.js";
|
3
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
+
import { O as ee, s as D, f as te, G as ae } from "./main-KTzfgTac.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const ie = /* @__PURE__ */ I({
|
5
9
|
__name: "SearchForm",
|
6
10
|
props: {
|
7
11
|
schema: { type: Array, required: !0 },
|
@@ -10,19 +14,19 @@ const ue = /* @__PURE__ */ H({
|
|
10
14
|
searchData: { type: Object, required: !0 }
|
11
15
|
},
|
12
16
|
emits: ["change", "submit", "mounted"],
|
13
|
-
setup(
|
14
|
-
let w = T, W =
|
17
|
+
setup(M, { expose: N, emit: T }) {
|
18
|
+
let w = T, W = M, { schema: F, table: u, layout: C, searchData: h } = J(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
|
15
19
|
w("change", e);
|
16
20
|
}, S = (e = null) => {
|
17
21
|
w("submit");
|
18
22
|
}, U = (e, t) => {
|
19
23
|
let l = e == "*" ? null : e;
|
20
|
-
|
21
|
-
},
|
24
|
+
h.value[u.value.name][t.name] = l, S();
|
25
|
+
}, O = () => {
|
22
26
|
V.value && (k.value = V.value.$el.clientWidth);
|
23
27
|
}, $ = (e) => {
|
24
|
-
|
25
|
-
},
|
28
|
+
O();
|
29
|
+
}, R = () => {
|
26
30
|
let e = C.value.tabs;
|
27
31
|
if (e)
|
28
32
|
for (let t = 0; t < e.length; t++) {
|
@@ -30,49 +34,49 @@ const ue = /* @__PURE__ */ H({
|
|
30
34
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
31
35
|
}
|
32
36
|
};
|
33
|
-
d.value = ee.clone(
|
34
|
-
|
37
|
+
d.value = ee.clone(h.value), R(), K(() => {
|
38
|
+
O(), P(() => {
|
35
39
|
w("mounted");
|
36
40
|
});
|
37
41
|
});
|
38
|
-
let z =
|
42
|
+
let z = q(() => {
|
39
43
|
if (!k.value)
|
40
44
|
return [];
|
41
|
-
let e = Math.ceil(k.value / 200), t =
|
42
|
-
return
|
43
|
-
}),
|
45
|
+
let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = C.value.tabs ?? [], c = t.filter((b) => l.indexOf(b.name) == -1);
|
46
|
+
return D.getLines(c, e, (b) => b, () => 1);
|
47
|
+
}), j = q(() => {
|
44
48
|
let e = [], t = C.value.tabs;
|
45
49
|
return t && t.forEach((l) => {
|
46
|
-
let
|
47
|
-
e.push(
|
50
|
+
let c = u.value.fields.find((_) => _.name == l);
|
51
|
+
e.push(c);
|
48
52
|
}), e;
|
49
53
|
});
|
50
|
-
return
|
51
|
-
|
54
|
+
return Q(() => h.value, (e, t) => {
|
55
|
+
R();
|
52
56
|
}), N({ resize: $ }), (e, t) => {
|
53
|
-
const l =
|
54
|
-
return r(), i(
|
57
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), b = m("el-col"), A = m("el-row"), G = m("el-form"), H = m("el-scrollbar");
|
58
|
+
return r(), i(H, {
|
55
59
|
"max-height": "200px",
|
56
60
|
class: "search-form"
|
57
61
|
}, {
|
58
62
|
default: n(() => [
|
59
|
-
a(u).search.length > 0 ? (r(), i(
|
63
|
+
a(u).search.length > 0 ? (r(), i(G, {
|
60
64
|
key: 0,
|
61
65
|
ref_key: "searchFormRef",
|
62
66
|
ref: V,
|
63
67
|
"label-position": "left",
|
64
68
|
inline: "",
|
65
|
-
onSubmit: t[0] || (t[0] =
|
69
|
+
onSubmit: t[0] || (t[0] = X(() => {
|
66
70
|
}, ["prevent"]))
|
67
71
|
}, {
|
68
72
|
default: n(() => [
|
69
|
-
(r(!0), v(g, null, x(a(
|
73
|
+
(r(!0), v(g, null, x(a(j), (s, f) => (r(), i(_, {
|
70
74
|
class: "search-tab",
|
71
75
|
label: s.label,
|
72
76
|
"label-width": 50
|
73
77
|
}, {
|
74
78
|
default: n(() => [
|
75
|
-
y(
|
79
|
+
y(c, {
|
76
80
|
ref_for: !0,
|
77
81
|
ref_key: "tabRefs",
|
78
82
|
ref: E,
|
@@ -83,7 +87,7 @@ const ue = /* @__PURE__ */ H({
|
|
83
87
|
default: n(() => [
|
84
88
|
y(l, { value: "*" }, {
|
85
89
|
default: n(() => [
|
86
|
-
|
90
|
+
B("全部")
|
87
91
|
]),
|
88
92
|
_: 1
|
89
93
|
}),
|
@@ -91,7 +95,7 @@ const ue = /* @__PURE__ */ H({
|
|
91
95
|
value: o.value
|
92
96
|
}, {
|
93
97
|
default: n(() => [
|
94
|
-
|
98
|
+
B(Y(o.text), 1)
|
95
99
|
]),
|
96
100
|
_: 2
|
97
101
|
}, 1032, ["value"]))), 256))
|
@@ -103,22 +107,22 @@ const ue = /* @__PURE__ */ H({
|
|
103
107
|
}, 1032, ["label"]))), 256)),
|
104
108
|
(r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
|
105
109
|
class: "search-row",
|
106
|
-
label: a(
|
110
|
+
label: a(j).length ? "其它" : "",
|
107
111
|
"label-width": 50,
|
108
112
|
gutter: 5
|
109
113
|
}, {
|
110
114
|
default: n(() => [
|
111
|
-
(r(!0), v(g, null, x(s, ({ data:
|
115
|
+
(r(!0), v(g, null, x(s, ({ data: f, span: o }, le) => (r(), i(b, { span: o }, {
|
112
116
|
default: n(() => [
|
113
|
-
y(
|
114
|
-
label: a(te)(
|
117
|
+
y(_, {
|
118
|
+
label: a(te)(f.table.name, f.name)
|
115
119
|
}, {
|
116
120
|
default: n(() => [
|
117
121
|
y(ae, {
|
118
122
|
schema: a(F),
|
119
|
-
table:
|
120
|
-
field:
|
121
|
-
"search-data": a(
|
123
|
+
table: f.table,
|
124
|
+
field: f,
|
125
|
+
"search-data": a(h),
|
122
126
|
onChange: a(L),
|
123
127
|
onSubmit: a(S)
|
124
128
|
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
@@ -141,5 +145,5 @@ const ue = /* @__PURE__ */ H({
|
|
141
145
|
}
|
142
146
|
});
|
143
147
|
export {
|
144
|
-
|
148
|
+
ie as _
|
145
149
|
};
|