jmash-core 0.0.122 → 0.0.124
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-1G9AzUCS.mjs → 401-CX5KENr5.mjs} +1 -1
- package/dist/{404-Bd6bMygr.mjs → 404-DW_mzomp.mjs} +1 -1
- package/dist/{BarChart-hALYfKFd.mjs → BarChart-Bd48Ha_h.mjs} +1 -1
- package/dist/{index-CWlORBi_.mjs → index-BFIHxdqP.mjs} +1 -1
- package/dist/{index-Cr900eg7.mjs → index-BKJXiIf2.mjs} +3849 -3817
- package/dist/{index-DEUaOAlo.mjs → index-CEa4ruRn.mjs} +6 -4
- package/dist/{index-CjPMVCPK.mjs → index-Ca2EHiGh.mjs} +2 -2
- package/dist/{index-LApJDnOt.mjs → index-CtjcL4ka.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{profile-BGPN2_-1.mjs → profile-Dq_OhHeh.mjs} +21 -19
- package/dist/{runAs-DXVPx5B7.mjs → runAs-DgV270Tw.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-BAaa55xZ.mjs → runAs.vue_vue_type_script_setup_true_lang-CxukYkqN.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{types-DvSYoaBD.mjs → types-xpQFKVRu.mjs} +1 -1
- package/dist/{updatePwd-DkcWx8zr.mjs → updatePwd-DRELWW1T.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-C3c07sMz.mjs → updatePwd.vue_vue_type_script_setup_true_lang-wqvBT_Cv.mjs} +1 -1
- package/dts/src/components/DictRadio/index.vue.d.ts +32 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +50 -0
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +27 -0
- package/dts/src/components/JmashSingleImageUpload/index.vue.d.ts +27 -0
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/Table/index.vue.d.ts +64 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
- package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
- package/dts/src/components/Upload/index.vue.d.ts +18 -0
- package/package.json +87 -87
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as Q, E as Ue, _ as le, S as qe, a as we, b as He, c as ne, D as pe, d as We, f as Ke, e as ue, g as Xe, h as je, i as U, j as Ve, r as $e, k as fe, T as be, m as Ge, s as Ye, l as Je, n as de, o as Qe } from "./index-
|
|
1
|
+
import { u as Q, E as Ue, _ as le, S as qe, a as we, b as He, c as ne, D as pe, d as We, f as Ke, e as ue, g as Xe, h as je, i as U, j as Ve, r as $e, k as fe, T as be, m as Ge, s as Ye, l as Je, n as de, o as Qe } from "./index-BKJXiIf2.mjs";
|
|
2
2
|
import { defineComponent as R, ref as F, resolveComponent as V, openBlock as d, createBlock as S, withCtx as b, createVNode as p, createElementBlock as x, Fragment as j, renderList as se, unref as l, createTextVNode as N, toDisplayString as E, createElementVNode as k, computed as B, createCommentVNode as $, isRef as _e, watch as oe, onBeforeMount as Ze, TransitionGroup as et, withModifiers as ce, normalizeClass as H, Transition as Pe, KeepAlive as tt, resolveDynamicComponent as ke, getCurrentInstance as nt, nextTick as Ae, onMounted as Ee, withDirectives as ot, normalizeStyle as it, vShow as at, normalizeProps as lt, guardReactiveProps as st, renderSlot as rt, watchEffect as ct } from "vue";
|
|
3
3
|
import { useRoute as me, useRouter as Se } from "vue-router";
|
|
4
|
-
import { _ as ut } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as dt } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as ut } from "./updatePwd.vue_vue_type_script_setup_true_lang-wqvBT_Cv.mjs";
|
|
5
|
+
import { _ as dt } from "./runAs.vue_vue_type_script_setup_true_lang-CxukYkqN.mjs";
|
|
6
6
|
import { storeToRefs as ft } from "pinia";
|
|
7
7
|
const mt = /* @__PURE__ */ R({
|
|
8
8
|
__name: "index",
|
|
@@ -1219,7 +1219,9 @@ const De = /* @__PURE__ */ Je(Re), rn = { class: "tags-container" }, cn = /* @__
|
|
|
1219
1219
|
}
|
|
1220
1220
|
},
|
|
1221
1221
|
setup(i) {
|
|
1222
|
-
const e = i, t = B(() => de(e.to))
|
|
1222
|
+
const e = i, t = B(() => de(e.to));
|
|
1223
|
+
console.log(t.value, e.to);
|
|
1224
|
+
const n = B(() => t.value ? "a" : "router-link"), r = (o) => t.value ? { href: o, target: "_blank", rel: "noopener noreferrer" } : { to: o };
|
|
1223
1225
|
return (o, a) => (d(), S(ke(l(n)), lt(st(r(i.to))), {
|
|
1224
1226
|
default: b(() => [
|
|
1225
1227
|
rt(o.$slots, "default")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as U } from "./RadarChart.vue_vue_type_script_setup_true_lang-CPbv9lgv.mjs";
|
|
2
2
|
import { _ as A } from "./PieChart.vue_vue_type_script_setup_true_lang-B4J5buH_.mjs";
|
|
3
|
-
import Z from "./BarChart-
|
|
4
|
-
import { i as B, f as q, b as F, q as f, t as x, _ as G } from "./index-
|
|
3
|
+
import Z from "./BarChart-Bd48Ha_h.mjs";
|
|
4
|
+
import { i as B, f as q, b as F, q as f, t as x, _ as G } from "./index-BKJXiIf2.mjs";
|
|
5
5
|
import { openBlock as b, createElementBlock as C, createElementVNode as t, defineComponent as H, computed as k, ref as p, resolveComponent as c, createVNode as s, withCtx as n, unref as l, toDisplayString as r, createTextVNode as u } from "vue";
|
|
6
6
|
const R = {}, J = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as y, resolveComponent as d, openBlock as c, createElementBlock as i, createElementVNode as s, Fragment as x, renderList as k, unref as _, toDisplayString as C, createVNode as g, withCtx as w } from "vue";
|
|
2
|
-
import { b as p, p as B, f as R, i as b } from "./index-
|
|
2
|
+
import { b as p, p as B, f as R, i as b } from "./index-BKJXiIf2.mjs";
|
|
3
3
|
import { useRoute as q, useRouter as A } from "vue-router";
|
|
4
4
|
const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["onClick"], S = ["src"], U = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as t, a6 as r, au as o, a7 as i, as as u, a9 as n, B as g, aq as p, ar as d, am as c, an as l, ao as m, ap as P, at as S, S as E, af as f, Z as k, U as y, V as D, O as M, a1 as b, A as v, a2 as A, Q as R, e as L, P as h, a8 as z, f as B, a3 as C, v as H, a0 as U, a4 as V, j as x, ab as O, R as Q, p as T, z as W, N as j, ak as q, r as w, ac as K, K as F, aa as I, ag as N, W as X, al as Y, $ as Z, X as $, Y as G, u as J, ah as _, ad as aa, k as ea, ai as sa, c as ta, ae as ra, a as oa, b as ia, aj as ua, x as na } from "./index-
|
|
1
|
+
import { a5 as t, a6 as r, au as o, a7 as i, as as u, a9 as n, B as g, aq as p, ar as d, am as c, an as l, ao as m, ap as P, at as S, S as E, af as f, Z as k, U as y, V as D, O as M, a1 as b, A as v, a2 as A, Q as R, e as L, P as h, a8 as z, f as B, a3 as C, v as H, a0 as U, a4 as V, j as x, ab as O, R as Q, p as T, z as W, N as j, ak as q, r as w, ac as K, K as F, aa as I, ag as N, W as X, al as Y, $ as Z, X as $, Y as G, u as J, ah as _, ad as aa, k as ea, ai as sa, c as ta, ae as ra, a as oa, b as ia, aj as ua, x as na } from "./index-BKJXiIf2.mjs";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
export {
|
|
4
4
|
t as BizDict,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var F = Object.defineProperty;
|
|
2
2
|
var L = (m, p, i) => p in m ? F(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
|
|
3
3
|
var y = (m, p, i) => L(m, typeof p != "symbol" ? p + "" : p, i);
|
|
4
|
-
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-
|
|
5
|
-
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, openBlock as c, createElementBlock as k, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as $, renderList as N, createBlock as
|
|
4
|
+
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-BKJXiIf2.mjs";
|
|
5
|
+
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, openBlock as c, createElementBlock as k, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as $, renderList as N, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
|
|
6
6
|
import { ElMessage as ae } from "element-plus";
|
|
7
|
-
class
|
|
7
|
+
class U {
|
|
8
8
|
}
|
|
9
9
|
//模块
|
|
10
|
-
y(
|
|
11
|
-
y(
|
|
10
|
+
y(U, "MODULE_ORGAN", "rbac"), // 性别
|
|
11
|
+
y(U, "GENDER", "jmash.protobuf.Gender");
|
|
12
12
|
class D {
|
|
13
13
|
}
|
|
14
|
-
y(D, "genderEnum", new z(
|
|
14
|
+
y(D, "genderEnum", new z(U.MODULE_ORGAN, U.GENDER));
|
|
15
15
|
const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @__PURE__ */ x({
|
|
16
16
|
__name: "profile",
|
|
17
17
|
setup(m) {
|
|
@@ -51,14 +51,14 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
51
51
|
jobId: ""
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function w(e) {
|
|
55
55
|
var o;
|
|
56
56
|
(o = l.user.userJobs) == null || o.splice(e, 1);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function C(e) {
|
|
59
59
|
l.user.avatar = e;
|
|
60
60
|
}
|
|
61
|
-
const
|
|
61
|
+
const M = () => {
|
|
62
62
|
W(l.user).then((e) => {
|
|
63
63
|
l.user.requestId = Math.random() * 10 + "", e.status === 200 && ae({
|
|
64
64
|
message: "个人信息修改成功",
|
|
@@ -67,7 +67,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
67
67
|
});
|
|
68
68
|
};
|
|
69
69
|
return R(), (e, o) => {
|
|
70
|
-
const
|
|
70
|
+
const j = X, u = n("el-form-item"), b = n("el-input"), g = n("el-tree-select"), f = n("el-col"), q = n("CirclePlus"), I = n("el-icon"), Y = n("Remove"), A = n("el-row"), G = n("el-option"), O = n("el-select"), S = n("el-date-picker"), B = n("el-button"), P = n("el-form");
|
|
71
71
|
return c(), k("div", oe, [
|
|
72
72
|
t(P, {
|
|
73
73
|
ref_key: "userInfoRef",
|
|
@@ -80,9 +80,11 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
80
80
|
label: e.$t("sysUser.avatar")
|
|
81
81
|
}, {
|
|
82
82
|
default: a(() => [
|
|
83
|
-
t(
|
|
83
|
+
t(j, {
|
|
84
84
|
"picture-url": s(l).user.avatar,
|
|
85
|
-
onImageSrc:
|
|
85
|
+
onImageSrc: C,
|
|
86
|
+
width: 50,
|
|
87
|
+
type: "trans"
|
|
86
88
|
}, null, 8, ["picture-url"])
|
|
87
89
|
]),
|
|
88
90
|
_: 1
|
|
@@ -112,7 +114,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
112
114
|
_: 1
|
|
113
115
|
}, 8, ["label"]),
|
|
114
116
|
le("div", re, [
|
|
115
|
-
(c(!0), k($, null, N(s(l).user.userJobs, (r, d) => (c(),
|
|
117
|
+
(c(!0), k($, null, N(s(l).user.userJobs, (r, d) => (c(), h(A, {
|
|
116
118
|
key: d,
|
|
117
119
|
style: { width: "100%" }
|
|
118
120
|
}, {
|
|
@@ -163,7 +165,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
163
165
|
]),
|
|
164
166
|
_: 2
|
|
165
167
|
}, 1024),
|
|
166
|
-
d == 0 ? (c(),
|
|
168
|
+
d == 0 ? (c(), h(f, {
|
|
167
169
|
key: 0,
|
|
168
170
|
span: 1,
|
|
169
171
|
class: "position-center"
|
|
@@ -181,7 +183,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
181
183
|
]),
|
|
182
184
|
_: 1
|
|
183
185
|
})) : J("", !0),
|
|
184
|
-
d !== 0 ? (c(),
|
|
186
|
+
d !== 0 ? (c(), h(f, {
|
|
185
187
|
key: 1,
|
|
186
188
|
span: 1,
|
|
187
189
|
class: "position-center"
|
|
@@ -189,7 +191,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
189
191
|
default: a(() => [
|
|
190
192
|
t(I, {
|
|
191
193
|
size: "16",
|
|
192
|
-
onClick: (_) =>
|
|
194
|
+
onClick: (_) => w(d)
|
|
193
195
|
}, {
|
|
194
196
|
default: a(() => [
|
|
195
197
|
t(Y)
|
|
@@ -243,7 +245,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
243
245
|
clearable: ""
|
|
244
246
|
}, {
|
|
245
247
|
default: a(() => [
|
|
246
|
-
(c(!0), k($, null, N(s(D).genderEnum.values, (r) => (c(),
|
|
248
|
+
(c(!0), k($, null, N(s(D).genderEnum.values, (r) => (c(), h(G, {
|
|
247
249
|
key: r.key,
|
|
248
250
|
label: r.value,
|
|
249
251
|
value: r.key
|
|
@@ -275,7 +277,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
275
277
|
default: a(() => [
|
|
276
278
|
t(B, {
|
|
277
279
|
type: "primary",
|
|
278
|
-
onClick:
|
|
280
|
+
onClick: M
|
|
279
281
|
}, {
|
|
280
282
|
default: a(() => [
|
|
281
283
|
te(se(e.$t("common.save")), 1)
|
|
@@ -291,7 +293,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
291
293
|
]);
|
|
292
294
|
};
|
|
293
295
|
}
|
|
294
|
-
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-
|
|
296
|
+
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-d425ad19"]]);
|
|
295
297
|
export {
|
|
296
298
|
ie as default
|
|
297
299
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, J as x, g as T, K as U, E as V, _ as B, L as P } from "./index-
|
|
1
|
+
import { b as s, J as x, g as T, K as U, E as V, _ as B, L as P } from "./index-BKJXiIf2.mjs";
|
|
2
2
|
import { defineComponent as M, ref as _, useModel as S, reactive as $, resolveComponent as A, openBlock as m, createBlock as D, withCtx as a, createVNode as d, unref as t, createTextVNode as c, toDisplayString as n, createElementBlock as y, withDirectives as f, vShow as g, createCommentVNode as C } from "vue";
|
|
3
3
|
const L = {
|
|
4
4
|
key: 0,
|