jmash-core 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{401-DZeMj80g.mjs → 401-CmPc5gcI.mjs} +3 -3
- package/dist/{BarChart-BYm859ri.mjs → BarChart-Dr4NkYyy.mjs} +3 -3
- package/dist/{FileSaver.min-DJ2XURfB.mjs → FileSaver.min-hdXK3arf.mjs} +5 -5
- package/dist/{PieChart-BRbbIH3_.mjs → PieChart-CqNIbQYs.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-XjLBqCzM.mjs → PieChart.vue_vue_type_script_setup_true_lang-B_E7sfJL.mjs} +2 -2
- package/dist/{RadarChart-Bk_uy6Km.mjs → RadarChart-B2klsLEs.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-COsDkkQU.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BwoKQfXp.mjs} +2 -2
- package/dist/{caret-bottom-DGvkHVYd.mjs → caret-bottom-DgJpDNYo.mjs} +12 -12
- package/dist/{debounce-XYByYe_I.mjs → debounce-CHZzVyGq.mjs} +16 -16
- package/dist/{dropdown2-D_RJXnOl.mjs → dropdown2-BmKE5s7T.mjs} +7 -7
- package/dist/{edit-DmP9tv3r.mjs → edit-A7pGir5H.mjs} +1 -1
- package/dist/{edit-BTjApg1x.mjs → edit-BEqw_aV9.mjs} +21 -21
- package/dist/{edit-BcLHrCSo.mjs → edit-BKrUA5RR.mjs} +1 -1
- package/dist/{edit-DC3SyT6J.mjs → edit-Br36n_4Q.mjs} +1 -1
- package/dist/{edit-FjRAXd1B.mjs → edit-CeABzFXI.mjs} +36 -36
- package/dist/{edit-Dr-9X4r3.mjs → edit-DVel-T8F.mjs} +1 -1
- package/dist/edit-Dd1X0VA6.mjs +4 -0
- package/dist/edit-DtiNSmSz.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bm1SAtWP.mjs → edit.vue_vue_type_script_setup_true_lang-A7bekgiD.mjs} +33 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BKutjIoX.mjs → edit.vue_vue_type_script_setup_true_lang-B2gip-Du.mjs} +35 -35
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BVXBx_a-.mjs → edit.vue_vue_type_script_setup_true_lang-BUcs0ud0.mjs} +18 -18
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CZmh3q4f.mjs → edit.vue_vue_type_script_setup_true_lang-C1RoiBqZ.mjs} +30 -30
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqZ2GCoE.mjs → edit.vue_vue_type_script_setup_true_lang-DvTn2z-J.mjs} +17 -17
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CYZNHUnm.mjs → edit.vue_vue_type_script_setup_true_lang-ZJf_RUit.mjs} +18 -18
- package/dist/{el-card-Da9MvaWO.mjs → el-card-C1xLYv_O.mjs} +4 -4
- package/dist/{el-checkbox-B44P9jFr.mjs → el-checkbox-DrN0G1SF.mjs} +108 -108
- package/dist/{el-col-BY0nB6k3.mjs → el-col-7XGEYR5U.mjs} +37 -37
- package/dist/{el-date-picker-CVwJoDEA.mjs → el-date-picker-Cr86iw7e.mjs} +302 -302
- package/dist/{el-dialog-CSWvTJrq.mjs → el-dialog-BdxK9quG.mjs} +69 -69
- package/dist/{el-dropdown-item-CD8hUpml.mjs → el-dropdown-item-Dj04Ad9E.mjs} +24 -24
- package/dist/{el-form-item-f-baJSfe.mjs → el-form-item-guCmnDy0.mjs} +105 -105
- package/dist/{el-popover-D8RrIMbA.mjs → el-popover-DbvmiEV6.mjs} +17 -17
- package/dist/{el-popper-C13p_dqu.mjs → el-popper-CukL6sFe.mjs} +4 -4
- package/dist/{el-progress-CHUzIxT1.mjs → el-progress-DhzufFnY.mjs} +42 -42
- package/dist/{el-radio-BpdPD-RN.mjs → el-radio-CxnZPYEV.mjs} +46 -46
- package/dist/{el-scrollbar-B8QteGV0.mjs → el-scrollbar-DqUwzRix.mjs} +77 -77
- package/dist/{el-select-ChOy6agQ.mjs → el-select-Clm-yOwQ.mjs} +69 -69
- package/dist/{el-switch-cqWxQwcb.mjs → el-switch-CK9jiVhf.mjs} +41 -41
- package/dist/{el-table-c9Sup56w.mjs → el-table-bycK5zth.mjs} +60 -60
- package/dist/{el-tree-select-CKOwMXR7.mjs → el-tree-select-BMtF2Ws6.mjs} +59 -59
- package/dist/{importUpload.vue_vue_type_script_setup_true_lang-DWrcOBGS.mjs → importUpload.vue_vue_type_script_setup_true_lang-BpTCzUak.mjs} +16 -16
- package/dist/{index-dKz1IRM_.mjs → index-B44VYpFi.mjs} +17 -17
- package/dist/{index-VD-Tf32c.mjs → index-BCUTF5LU.mjs} +1 -1
- package/dist/{index-DUVtKaDI.mjs → index-BV9uI-J1.mjs} +61 -61
- package/dist/{index-BfhiNV8H.mjs → index-BbXH9g-5.mjs} +38 -38
- package/dist/{index-B6wY38lY.mjs → index-BtvOYemS.mjs} +12433 -12427
- package/dist/{index-Dgd4Zhxz.mjs → index-BywdPfzT.mjs} +1 -1
- package/dist/{index-dLPnFa10.mjs → index-C1Cfq3eY.mjs} +51 -51
- package/dist/{index-Cjii0qCc.mjs → index-C9K6ahGx.mjs} +11 -11
- package/dist/{index-Di5--Hao.mjs → index-CXvfC95L.mjs} +50 -50
- package/dist/{index-BuHauank.mjs → index-CzSBHyFf.mjs} +1 -1
- package/dist/{index-DrKW_cyG.mjs → index-D9zc0MHI.mjs} +23 -23
- package/dist/{index-cRrjzkNb.mjs → index-DJNobdMS.mjs} +56 -56
- package/dist/{index-DUKlDGLk.mjs → index-D_piS9OO.mjs} +111 -111
- package/dist/{index-CBJwB8q2.mjs → index-Dim5h0u9.mjs} +113 -113
- package/dist/{index-Czh2Pqwr.mjs → index-FA7rtN5M.mjs} +3 -3
- package/dist/{index-cp7l4CIE.mjs → index-Kd3hgu4t.mjs} +1 -1
- package/dist/{index-LuiPOgGW.mjs → index-_y9mnyxE.mjs} +46 -46
- package/dist/{index-CGCQHwLq.mjs → index-gbXgNLRz.mjs} +28 -28
- package/dist/{index-CYxGYOaT.mjs → index-geUeJsjb.mjs} +64 -64
- package/dist/{index-vp1_Sd0A.mjs → index-p2GMqOZs.mjs} +6 -6
- package/dist/{index-BH-_mfRR.mjs → index-ySvwJXwo.mjs} +26 -26
- package/dist/{index-CU0iVHXP.mjs → index-z0ikqSyZ.mjs} +33 -33
- package/dist/index.mjs +14 -12
- package/dist/{index.vue_vue_type_script_setup_true_lang-DidEhco6.mjs → index.vue_vue_type_script_setup_true_lang-C-8JAWA5.mjs} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs → index.vue_vue_type_script_setup_true_lang-CDBc9XTa.mjs} +29 -29
- package/dist/{picture-kDaEiPHi.mjs → picture-y4uhel5S.mjs} +116 -116
- package/dist/{profile-Sn98YUfh.mjs → profile-BuuWjJT2.mjs} +21 -21
- package/dist/refs-afyjoCXw.mjs +9 -0
- package/dist/style.css +1 -1
- package/dist/{types-BolK_Oyb.mjs → types-RFcucRYr.mjs} +33 -33
- package/dist/{updatePwd-B3rEU05i.mjs → updatePwd-BCcOZV5N.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-1LEdjkQ3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Ces1qysu.mjs} +8 -8
- package/dist/{useColumnToggleTable-CC9EXcfR.mjs → useColumnToggleTable-B0sU_peH.mjs} +22 -22
- package/dts/src/index.d.ts +6 -5
- package/dts/src/main.d.ts +5 -5
- package/dts/src/stores/index.d.ts +0 -5
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -2
- package/dist/edit-bpHMc65Q.mjs +0 -4
- package/dist/edit-lB54egzx.mjs +0 -4
- package/dist/refs-COP_DuTD.mjs +0 -9
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { a as
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
const L = { class: "h-[40px]" },
|
|
1
|
+
import { P as U, z as b, U as x, V as D, W as B, R as N, S as R } from "./index-BtvOYemS.mjs";
|
|
2
|
+
import { E as S } from "./el-dialog-BdxK9quG.mjs";
|
|
3
|
+
import { _ as $, E as z } from "./picture-y4uhel5S.mjs";
|
|
4
|
+
import { a as P, E as q } from "./el-form-item-guCmnDy0.mjs";
|
|
5
|
+
import { defineComponent as A, ref as V, reactive as m, openBlock as M, createElementBlock as T, Fragment as j, createVNode as e, withCtx as a, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
|
|
6
|
+
const L = { class: "h-[40px]" }, W = { class: "image-slot" }, G = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
7
7
|
__name: "types",
|
|
8
|
-
setup(
|
|
9
|
-
const _ =
|
|
8
|
+
setup(H) {
|
|
9
|
+
const _ = V(), c = m({
|
|
10
10
|
visible: !1
|
|
11
11
|
}), n = m({
|
|
12
12
|
content: "获取验证码",
|
|
@@ -17,20 +17,20 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
17
17
|
captchaId: "",
|
|
18
18
|
captchaCode: "",
|
|
19
19
|
validCode: ""
|
|
20
|
-
}), g =
|
|
20
|
+
}), g = V(), C = m({
|
|
21
21
|
captchaCode: [{ required: !0, message: "请输入验证码", trigger: "blur" }],
|
|
22
22
|
name: [{ required: !0, message: "请输入邮箱或手机号", trigger: "blur" }]
|
|
23
23
|
// validCode: [
|
|
24
24
|
// { required: true, message: "请输入6位数字的验证码", trigger: "blur" },
|
|
25
25
|
// ],
|
|
26
26
|
});
|
|
27
|
-
function
|
|
28
|
-
|
|
27
|
+
function v() {
|
|
28
|
+
U().then(({ data: l }) => {
|
|
29
29
|
o.captchaId = l.captchaId, _.value = l.base64Image, c.visible = !0, o.captchaCode = "";
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
|
|
32
|
+
function I() {
|
|
33
|
+
v();
|
|
34
34
|
}
|
|
35
35
|
const E = async () => {
|
|
36
36
|
var l;
|
|
@@ -43,8 +43,8 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
43
43
|
captchaId: o.captchaId,
|
|
44
44
|
captchaCode: o.captchaCode
|
|
45
45
|
};
|
|
46
|
-
|
|
47
|
-
console.log(
|
|
46
|
+
x(i).then(({ data: d }) => {
|
|
47
|
+
console.log(d);
|
|
48
48
|
const r = window.setInterval(() => {
|
|
49
49
|
n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(r));
|
|
50
50
|
}, 1e3);
|
|
@@ -58,7 +58,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
58
58
|
directoryId: "jmash",
|
|
59
59
|
name: o.name,
|
|
60
60
|
validCode: o.validCode,
|
|
61
|
-
clientId:
|
|
61
|
+
clientId: D.APP_CLIENT_ID,
|
|
62
62
|
scope: ""
|
|
63
63
|
};
|
|
64
64
|
B(l).then((t) => {
|
|
@@ -66,39 +66,39 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
return (l, t) => {
|
|
69
|
-
const i = N,
|
|
70
|
-
return
|
|
69
|
+
const i = N, d = P, r = R, h = q, y = $, k = z, F = S;
|
|
70
|
+
return M(), T(j, null, [
|
|
71
71
|
e(h, {
|
|
72
72
|
ref_key: "ruleFormRef",
|
|
73
73
|
ref: g,
|
|
74
74
|
size: "large",
|
|
75
75
|
model: o,
|
|
76
|
-
rules:
|
|
76
|
+
rules: C
|
|
77
77
|
}, {
|
|
78
78
|
default: a(() => [
|
|
79
|
-
e(
|
|
79
|
+
e(d, { prop: "name" }, {
|
|
80
80
|
default: a(() => [
|
|
81
81
|
e(i, {
|
|
82
82
|
modelValue: o.name,
|
|
83
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
83
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => o.name = s),
|
|
84
84
|
clearable: "",
|
|
85
85
|
placeholder: "请输入邮箱/已验证手机号"
|
|
86
86
|
}, null, 8, ["modelValue"])
|
|
87
87
|
]),
|
|
88
88
|
_: 1
|
|
89
89
|
}),
|
|
90
|
-
e(
|
|
90
|
+
e(d, { prop: "validCode" }, {
|
|
91
91
|
default: a(() => [
|
|
92
92
|
e(i, {
|
|
93
93
|
modelValue: o.validCode,
|
|
94
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
94
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => o.validCode = s),
|
|
95
95
|
placeholder: "请输入验证码",
|
|
96
96
|
clearable: ""
|
|
97
97
|
}, {
|
|
98
98
|
append: a(() => [
|
|
99
99
|
e(r, {
|
|
100
100
|
disabled: n.disabled,
|
|
101
|
-
onClick:
|
|
101
|
+
onClick: I
|
|
102
102
|
}, {
|
|
103
103
|
default: a(() => [
|
|
104
104
|
p(u(n.content), 1)
|
|
@@ -111,7 +111,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
111
111
|
]),
|
|
112
112
|
_: 1
|
|
113
113
|
}),
|
|
114
|
-
e(
|
|
114
|
+
e(d, null, {
|
|
115
115
|
default: a(() => [
|
|
116
116
|
e(r, {
|
|
117
117
|
type: "primary",
|
|
@@ -132,13 +132,13 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
132
132
|
e(F, {
|
|
133
133
|
title: "提示",
|
|
134
134
|
modelValue: c.visible,
|
|
135
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
135
|
+
"onUpdate:modelValue": t[4] || (t[4] = (s) => c.visible = s),
|
|
136
136
|
width: "500px"
|
|
137
137
|
}, {
|
|
138
138
|
footer: a(() => [
|
|
139
|
-
f("div",
|
|
139
|
+
f("div", G, [
|
|
140
140
|
e(r, {
|
|
141
|
-
onClick: t[3] || (t[3] = (
|
|
141
|
+
onClick: t[3] || (t[3] = (s) => c.visible = !1)
|
|
142
142
|
}, {
|
|
143
143
|
default: a(() => [
|
|
144
144
|
p(u(l.$t("common.cancel")), 1)
|
|
@@ -161,14 +161,14 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
161
161
|
ref: "pwdFormRef",
|
|
162
162
|
size: "large",
|
|
163
163
|
model: o,
|
|
164
|
-
rules:
|
|
164
|
+
rules: C
|
|
165
165
|
}, {
|
|
166
166
|
default: a(() => [
|
|
167
|
-
e(
|
|
167
|
+
e(d, { prop: "captchaCode" }, {
|
|
168
168
|
default: a(() => [
|
|
169
169
|
e(i, {
|
|
170
170
|
modelValue: o.captchaCode,
|
|
171
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
171
|
+
"onUpdate:modelValue": t[2] || (t[2] = (s) => o.captchaCode = s),
|
|
172
172
|
"auto-complete": "off",
|
|
173
173
|
placeholder: l.$t("login.captchaCode"),
|
|
174
174
|
class: "w-[60%]"
|
|
@@ -176,11 +176,11 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
176
176
|
f("div", L, [
|
|
177
177
|
e(k, {
|
|
178
178
|
src: _.value,
|
|
179
|
-
onClick:
|
|
179
|
+
onClick: v,
|
|
180
180
|
class: "w-[130px] h-[40px] cursor-pointer"
|
|
181
181
|
}, {
|
|
182
182
|
error: a(() => [
|
|
183
|
-
f("div",
|
|
183
|
+
f("div", W, [
|
|
184
184
|
e(y)
|
|
185
185
|
])
|
|
186
186
|
]),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { am as y,
|
|
2
|
-
import { E as x } from "./el-dialog-
|
|
3
|
-
import { a as O, E as A } from "./el-form-item-
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
const
|
|
1
|
+
import { am as y, x as C, R as h, S as v } from "./index-BtvOYemS.mjs";
|
|
2
|
+
import { E as x } from "./el-dialog-BdxK9quG.mjs";
|
|
3
|
+
import { a as O, E as A } from "./el-form-item-guCmnDy0.mjs";
|
|
4
|
+
import { defineComponent as R, ref as B, toRefs as F, reactive as f, openBlock as I, createBlock as U, unref as r, isRef as q, withCtx as a, createElementVNode as D, createVNode as t, createTextVNode as c } from "vue";
|
|
5
|
+
const S = { class: "dialog-footer" }, k = /* @__PURE__ */ R({
|
|
6
6
|
__name: "updatePwd",
|
|
7
7
|
props: {
|
|
8
8
|
pwdVisible: {
|
|
@@ -12,7 +12,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ B({
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["dialogActionChange"],
|
|
14
14
|
setup(P, { emit: _ }) {
|
|
15
|
-
const i =
|
|
15
|
+
const i = B(), V = P, { pwdVisible: w } = F(V), u = _;
|
|
16
16
|
let l = f({
|
|
17
17
|
encodeOldPwd: "",
|
|
18
18
|
encodeNewPwd: "",
|
|
@@ -54,7 +54,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ B({
|
|
|
54
54
|
}
|
|
55
55
|
return (d, e) => {
|
|
56
56
|
const o = h, s = O, N = A, m = v, b = x;
|
|
57
|
-
return
|
|
57
|
+
return I(), U(b, {
|
|
58
58
|
title: "修改密码",
|
|
59
59
|
modelValue: r(w),
|
|
60
60
|
"onUpdate:modelValue": e[3] || (e[3] = (n) => q(w) ? w.value = n : null),
|
|
@@ -62,7 +62,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ B({
|
|
|
62
62
|
onClose: p
|
|
63
63
|
}, {
|
|
64
64
|
footer: a(() => [
|
|
65
|
-
D("div",
|
|
65
|
+
D("div", S, [
|
|
66
66
|
t(m, { onClick: p }, {
|
|
67
67
|
default: a(() => [
|
|
68
68
|
c("取消")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./el-popper-
|
|
3
|
-
import { E as M } from "./el-popover-
|
|
4
|
-
import { E as P } from "./el-switch-
|
|
5
|
-
import { openBlock as x, createElementBlock as
|
|
1
|
+
import { R, S as $, C as V, x as D, I as A } from "./index-BtvOYemS.mjs";
|
|
2
|
+
import "./el-popper-CukL6sFe.mjs";
|
|
3
|
+
import { E as M } from "./el-popover-DbvmiEV6.mjs";
|
|
4
|
+
import { E as P } from "./el-switch-CK9jiVhf.mjs";
|
|
5
|
+
import { openBlock as x, createElementBlock as I, createElementVNode as b, defineComponent as z, ref as u, toRefs as F, watchEffect as N, createBlock as j, withCtx as y, createVNode as _, createTextVNode as k, toDisplayString as T, unref as B, isRef as U, Fragment as q, renderList as O, normalizeClass as Q, withModifiers as G, reactive as H } from "vue";
|
|
6
6
|
import { _ as J } from "./index-DjkMA-Wh.mjs";
|
|
7
|
-
import { E as K } from "./el-form-item-
|
|
7
|
+
import { E as K } from "./el-form-item-guCmnDy0.mjs";
|
|
8
8
|
const W = {
|
|
9
9
|
viewBox: "0 0 1024 1024",
|
|
10
10
|
width: "1.2em",
|
|
@@ -16,7 +16,7 @@ const W = {
|
|
|
16
16
|
X
|
|
17
17
|
];
|
|
18
18
|
function Z(n, a) {
|
|
19
|
-
return x(),
|
|
19
|
+
return x(), I("svg", W, [...Y]);
|
|
20
20
|
}
|
|
21
21
|
const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne = ["onClick"], te = { class: "table-footer" }, fe = /* @__PURE__ */ z({
|
|
22
22
|
__name: "index",
|
|
@@ -37,7 +37,7 @@ const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne =
|
|
|
37
37
|
const c = n, { parIndex: o } = F(c);
|
|
38
38
|
t.value = o.value, console.log(o.value);
|
|
39
39
|
const m = a;
|
|
40
|
-
function
|
|
40
|
+
function C() {
|
|
41
41
|
m("isShowChange");
|
|
42
42
|
}
|
|
43
43
|
function v(e) {
|
|
@@ -56,30 +56,30 @@ const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne =
|
|
|
56
56
|
width: 250,
|
|
57
57
|
trigger: "click"
|
|
58
58
|
}, {
|
|
59
|
-
reference:
|
|
59
|
+
reference: y(() => [
|
|
60
60
|
_(d, {
|
|
61
61
|
"icon-class": "列表",
|
|
62
62
|
class: "dropdown-left"
|
|
63
63
|
}),
|
|
64
64
|
k(" " + T(e.$t("common.tableSet")), 1)
|
|
65
65
|
]),
|
|
66
|
-
default:
|
|
66
|
+
default: y(() => [
|
|
67
67
|
_(S, {
|
|
68
68
|
modelValue: B(i),
|
|
69
69
|
"onUpdate:modelValue": s[0] || (s[0] = (h) => U(i) ? i.value = h : null),
|
|
70
70
|
placeholder: e.$t("common.searchField"),
|
|
71
71
|
clearable: ""
|
|
72
72
|
}, {
|
|
73
|
-
prefix:
|
|
73
|
+
prefix: y(() => [
|
|
74
74
|
_(w)
|
|
75
75
|
]),
|
|
76
76
|
_: 1
|
|
77
77
|
}, 8, ["modelValue", "placeholder"]),
|
|
78
78
|
b("ul", oe, [
|
|
79
|
-
(x(!0),
|
|
79
|
+
(x(!0), I(q, null, O(B(f), (h, E) => (x(), I("li", {
|
|
80
80
|
key: E,
|
|
81
81
|
class: Q({ "fixed-active": E <= B(t) }),
|
|
82
|
-
onClick: (
|
|
82
|
+
onClick: (L) => v(E)
|
|
83
83
|
}, [
|
|
84
84
|
b("span", {
|
|
85
85
|
onClick: s[1] || (s[1] = G(() => {
|
|
@@ -87,8 +87,8 @@ const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne =
|
|
|
87
87
|
}, [
|
|
88
88
|
_(l, {
|
|
89
89
|
modelValue: h.isColumn,
|
|
90
|
-
"onUpdate:modelValue": (
|
|
91
|
-
onChange:
|
|
90
|
+
"onUpdate:modelValue": (L) => h.isColumn = L,
|
|
91
|
+
onChange: C
|
|
92
92
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
93
93
|
]),
|
|
94
94
|
b("span", null, T(h.label), 1),
|
|
@@ -103,7 +103,7 @@ const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne =
|
|
|
103
103
|
plain: "",
|
|
104
104
|
onClick: g
|
|
105
105
|
}, {
|
|
106
|
-
default:
|
|
106
|
+
default: y(() => [
|
|
107
107
|
k(T(e.$t("common.reset")), 1)
|
|
108
108
|
]),
|
|
109
109
|
_: 1
|
|
@@ -116,7 +116,7 @@ const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne =
|
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
function me(n, a, i) {
|
|
119
|
-
const t = u(!1), f = u([]), c = u(0), o = H(i), m = u(),
|
|
119
|
+
const t = u(!1), f = u([]), c = u(0), o = H(i), m = u(), C = u(K), v = u([]);
|
|
120
120
|
function g() {
|
|
121
121
|
if (typeof t > "u" || typeof a > "u" || typeof o > "u" || typeof f > "u" || typeof c > "u") {
|
|
122
122
|
console.error("One or more variables are undefined.");
|
|
@@ -136,7 +136,7 @@ function me(n, a, i) {
|
|
|
136
136
|
o.curPage && (o.curPage = 1), g();
|
|
137
137
|
}
|
|
138
138
|
function s(l) {
|
|
139
|
-
|
|
139
|
+
V.confirm(n("common.confirmDelete"), n("common.delete"), {
|
|
140
140
|
// 取消按钮的文本
|
|
141
141
|
cancelButtonText: n("common.cancel"),
|
|
142
142
|
// 确认按钮的文本
|
|
@@ -164,7 +164,7 @@ function me(n, a, i) {
|
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
166
|
const r = v.value.map((p) => p[l]);
|
|
167
|
-
|
|
167
|
+
V.confirm(n("common.confirmBatchDelete"), n("common.delete"), {
|
|
168
168
|
cancelButtonText: n("common.cancel"),
|
|
169
169
|
confirmButtonText: n("common.confirm"),
|
|
170
170
|
type: "warning"
|
|
@@ -214,7 +214,7 @@ function me(n, a, i) {
|
|
|
214
214
|
getList: g,
|
|
215
215
|
handleQuery: e,
|
|
216
216
|
multipleTableRef: m,
|
|
217
|
-
queryFormRef:
|
|
217
|
+
queryFormRef: C,
|
|
218
218
|
deleteRecord: s,
|
|
219
219
|
// 删除函数
|
|
220
220
|
deleteRecords: d,
|
|
@@ -236,7 +236,7 @@ function de(n, a) {
|
|
|
236
236
|
}
|
|
237
237
|
}), o !== void 0 && (t.value = o);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function C(e) {
|
|
240
240
|
if (!o) {
|
|
241
241
|
console.error("tableLabel is not defined or null!");
|
|
242
242
|
return;
|
|
@@ -261,7 +261,7 @@ function de(n, a) {
|
|
|
261
261
|
parIndex: i,
|
|
262
262
|
tableArray: t,
|
|
263
263
|
getLocalStorageContent: m,
|
|
264
|
-
fixedChange:
|
|
264
|
+
fixedChange: C,
|
|
265
265
|
isShowChange: v
|
|
266
266
|
};
|
|
267
267
|
}
|
package/dts/src/index.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
2
|
export { getQueryParams } from '@/utils/grpc';
|
|
3
3
|
export { ResizeObserver } from '@/utils/resize';
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
import directive from '@/directive';
|
|
7
|
-
export { directive };
|
|
8
|
-
export { useAppStore } from './stores/modules/app';
|
|
4
|
+
export { store } from '@/stores';
|
|
5
|
+
export { useAppStore, useAppStoreHook } from './stores/modules/app';
|
|
9
6
|
export { usePermissionStore, usePermissionStoreHook } from './stores/modules/permission';
|
|
10
7
|
export { useSettingsStore } from './stores/modules/settings';
|
|
11
8
|
export { useTagsViewStore } from './stores/modules/tagsView';
|
|
@@ -13,12 +10,16 @@ export { useUserStore, useUserStoreHook } from './stores/modules/user';
|
|
|
13
10
|
export { resetRouter, Layout } from '@/router';
|
|
14
11
|
import router from '@/router';
|
|
15
12
|
export { router };
|
|
13
|
+
import directive from '@/directive';
|
|
14
|
+
export { directive };
|
|
16
15
|
export declare const LoginPage: () => Promise<typeof import("@/views/login/index.vue")>;
|
|
17
16
|
export declare const MultiFactorLoginPage: () => Promise<typeof import("@/views/login/components/types.vue")>;
|
|
18
17
|
export declare const ProfilePage: () => Promise<typeof import("@/views/my/profile.vue")>;
|
|
19
18
|
export declare const Error401Page: () => Promise<typeof import("@/views/error-page/401.vue")>;
|
|
20
19
|
export declare const Error404Page: () => Promise<typeof import("@/views/error-page/404.vue")>;
|
|
21
20
|
export declare const DashboardPage: () => Promise<typeof import("@/views/dashboard/index.vue")>;
|
|
21
|
+
import i18n from '@/lang/index';
|
|
22
|
+
export { i18n };
|
|
22
23
|
import 'virtual:svg-icons-register';
|
|
23
24
|
import 'element-plus/theme-chalk/dark/css-vars.css';
|
|
24
25
|
import '@/styles/index.scss';
|
package/dts/src/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import '@/permission';
|
|
2
|
+
import 'virtual:svg-icons-register';
|
|
3
|
+
import 'element-plus/theme-chalk/dark/css-vars.css';
|
|
4
|
+
import '@/styles/index.scss';
|
|
5
|
+
import 'uno.css';
|