jmash-core 0.0.105 → 0.0.106

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.
Files changed (23) hide show
  1. package/dist/{401-BOz_vkD9.mjs → 401-E782PquR.mjs} +1 -1
  2. package/dist/{404-C3j3JcsC.mjs → 404-C_piB9vN.mjs} +1 -1
  3. package/dist/{BarChart-Ct3C3lxf.mjs → BarChart-D6VTKnAU.mjs} +8 -8
  4. package/dist/{index-2a2z9HJi.mjs → index-BbCqgUaV.mjs} +9314 -7066
  5. package/dist/{index-CY_q41vk.mjs → index-Cuya2xZq.mjs} +9 -9
  6. package/dist/{index-A45hOsK0.mjs → index-Mnaauuzn.mjs} +23 -23
  7. package/dist/{index-BQ76LDad.mjs → index-d9XDquy6.mjs} +25 -25
  8. package/dist/index.mjs +41 -41
  9. package/dist/{profile-2Fj4UE_T.mjs → profile-DI2Ni9_V.mjs} +30 -30
  10. package/dist/{runAs-OCfS-w0b.mjs → runAs-e9Fc_nyP.mjs} +1 -1
  11. package/dist/runAs.vue_vue_type_script_setup_true_lang-CxPu4m6V.mjs +140 -0
  12. package/dist/style.css +1 -1
  13. package/dist/{types-CpNFMGvq.mjs → types-_Dh3OFCg.mjs} +6 -6
  14. package/dist/{updatePwd-5Cn-ZpWM.mjs → updatePwd-DcxEOzQy.mjs} +1 -1
  15. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BF92aAwv.mjs → updatePwd.vue_vue_type_script_setup_true_lang-OiSdAbmC.mjs} +11 -11
  16. package/dts/src/components/JmashEnumRadio/index.vue.d.ts +18 -0
  17. package/dts/src/components/JmashImportUpload/index.vue.d.ts +31 -0
  18. package/dts/src/components/JmashMobileInsComponent/index.vue.d.ts +36 -0
  19. package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +38 -0
  20. package/dts/src/components/JmashMultiUpload/index.vue.d.ts +24 -0
  21. package/dts/src/components/JmashSingleImageUpload/index.vue.d.ts +18 -0
  22. package/package.json +1 -1
  23. package/dist/runAs.vue_vue_type_script_setup_true_lang-DxvOUNXP.mjs +0 -2492
@@ -1,7 +1,7 @@
1
- import { _ as G } from "./RadarChart.vue_vue_type_script_setup_true_lang-BNLujpKR.mjs";
2
- import { _ as H } from "./PieChart.vue_vue_type_script_setup_true_lang-D1-1NDvg.mjs";
3
- import R from "./BarChart-Ct3C3lxf.mjs";
4
- import { h as N, f as q, c as J, o as f, p, S as K } from "./index-2a2z9HJi.mjs";
1
+ import { _ as F } from "./RadarChart.vue_vue_type_script_setup_true_lang-BNLujpKR.mjs";
2
+ import { _ as G } from "./PieChart.vue_vue_type_script_setup_true_lang-D1-1NDvg.mjs";
3
+ import H from "./BarChart-D6VTKnAU.mjs";
4
+ import { i as N, f as R, c as J, p as f, q as p, S as K } from "./index-BbCqgUaV.mjs";
5
5
  import { openBlock as C, createElementBlock as y, pushScopeId as P, popScopeId as V, createElementVNode as t, defineComponent as Q, computed as B, ref as x, resolveComponent as d, createVNode as e, withCtx as s, unref as a, toDisplayString as i, createTextVNode as u } from "vue";
6
6
  const W = {}, w = (c) => (P("data-v-5088dedb"), c = c(), V(), c), X = {
7
7
  href: "https://github.com/haoxianrui",
@@ -38,7 +38,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
38
38
  inheritAttrs: !1,
39
39
  __name: "index",
40
40
  setup(c) {
41
- const j = B(() => q.imageUrl(M.user.avatar, 160, 160)), M = J(), D = /* @__PURE__ */ new Date(), T = B(() => {
41
+ const j = B(() => R.imageUrl(M.user.avatar, 160, 160)), M = J(), D = /* @__PURE__ */ new Date(), T = B(() => {
42
42
  const n = D.getHours();
43
43
  let h = M.user.realName;
44
44
  if (n >= 6 && n < 8)
@@ -71,7 +71,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
71
71
  transition: p.easeOutExpo
72
72
  });
73
73
  return E.value = 2e3, (n, h) => {
74
- const U = at, l = d("el-col"), r = K, g = d("el-statistic"), b = d("el-row"), _ = d("el-card"), m = d("el-tag"), A = R, Z = H, F = G;
74
+ const U = at, l = d("el-col"), r = K, g = d("el-statistic"), b = d("el-row"), _ = d("el-card"), m = d("el-tag"), A = H, Z = G, q = F;
75
75
  return C(), y("div", ct, [
76
76
  e(U, { class: "github-corner" }),
77
77
  e(_, { shadow: "never" }, {
@@ -346,7 +346,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
346
346
  class: "mb-2"
347
347
  }, {
348
348
  default: s(() => [
349
- e(F, {
349
+ e(q, {
350
350
  id: "radarChart",
351
351
  height: "400px",
352
352
  width: "100%",
@@ -361,7 +361,7 @@ const at = /* @__PURE__ */ N(W, [["render", nt], ["__scopeId", "data-v-5088dedb"
361
361
  ]);
362
362
  };
363
363
  }
364
- }), qt = /* @__PURE__ */ N(At, [["__scopeId", "data-v-496f50be"]]);
364
+ }), Rt = /* @__PURE__ */ N(At, [["__scopeId", "data-v-496f50be"]]);
365
365
  export {
366
- qt as default
366
+ Rt as default
367
367
  };
@@ -1,8 +1,8 @@
1
- import { u as Q, E as Ue, S as ae, a as qe, b as be, c as He, d as te, D as me, e as We, f as Ke, g as ce, _ as Xe, h as F, i as Se, r as Ce, j as de, T as he, m as je, s as Ge, k as Ye, l as ue, n as Je } from "./index-2a2z9HJi.mjs";
2
- import { defineComponent as I, ref as z, resolveComponent as V, openBlock as u, createBlock as k, withCtx as g, createVNode as _, createElementBlock as x, Fragment as K, renderList as le, unref as l, createTextVNode as B, toDisplayString as P, createElementVNode as w, computed as R, createCommentVNode as T, isRef as _e, watch as ne, onBeforeMount as Qe, TransitionGroup as Ze, withModifiers as re, normalizeClass as H, pushScopeId as et, popScopeId as tt, Transition as Te, KeepAlive as nt, resolveDynamicComponent as xe, getCurrentInstance as ot, nextTick as $e, onMounted as Ae, withDirectives as it, normalizeStyle as at, vShow as lt, normalizeProps as st, guardReactiveProps as rt, renderSlot as ct, watchEffect as ut } from "vue";
1
+ import { u as Q, E as Ue, S as ae, a as qe, b as be, c as He, d as te, D as me, e as We, f as Ke, g as ce, h as Xe, _ as je, i as F, j as Se, r as Ce, k as de, T as he, m as Ge, s as Ye, l as Je, n as ue, o as Qe } from "./index-BbCqgUaV.mjs";
2
+ import { defineComponent as I, ref as z, resolveComponent as V, openBlock as u, createBlock as k, withCtx as g, createVNode as _, createElementBlock as x, Fragment as K, renderList as le, unref as l, createTextVNode as B, toDisplayString as P, createElementVNode as w, computed as R, createCommentVNode as T, isRef as _e, watch as ne, onBeforeMount as Ze, TransitionGroup as et, withModifiers as re, normalizeClass as H, pushScopeId as tt, popScopeId as nt, Transition as Te, KeepAlive as ot, resolveDynamicComponent as xe, getCurrentInstance as it, nextTick as $e, onMounted as Ae, withDirectives as at, normalizeStyle as lt, vShow as st, normalizeProps as rt, guardReactiveProps as ct, renderSlot as ut, watchEffect as dt } from "vue";
3
3
  import { useRoute as fe, useRouter as ye } from "vue-router";
4
- import { _ as dt } from "./updatePwd.vue_vue_type_script_setup_true_lang-BF92aAwv.mjs";
5
- import { _ as ft, E as mt } from "./runAs.vue_vue_type_script_setup_true_lang-DxvOUNXP.mjs";
4
+ import { _ as ft } from "./updatePwd.vue_vue_type_script_setup_true_lang-OiSdAbmC.mjs";
5
+ import { _ as mt } from "./runAs.vue_vue_type_script_setup_true_lang-CxPu4m6V.mjs";
6
6
  import { storeToRefs as _t } from "pinia";
7
7
  const pt = /* @__PURE__ */ I({
8
8
  __name: "index",
@@ -57,7 +57,7 @@ const pt = /* @__PURE__ */ I({
57
57
  d.value = !0;
58
58
  }
59
59
  function y() {
60
- mt.confirm("确定注销并退出系统吗?", "提示", {
60
+ Xe.confirm("确定注销并退出系统吗?", "提示", {
61
61
  confirmButtonText: "确定",
62
62
  cancelButtonText: "取消",
63
63
  type: "warning",
@@ -74,7 +74,7 @@ const pt = /* @__PURE__ */ I({
74
74
  c.value = S;
75
75
  }
76
76
  return (S, $) => {
77
- const N = ae, C = pt, U = V("el-tooltip"), Z = Xe, q = V("router-link"), O = V("el-dropdown-item"), G = V("el-dropdown-menu"), ee = V("el-dropdown");
77
+ const N = ae, C = pt, U = V("el-tooltip"), Z = je, q = V("router-link"), O = V("el-dropdown-item"), G = V("el-dropdown-menu"), ee = V("el-dropdown");
78
78
  return u(), x("div", vt, [
79
79
  l(r) ? T("", !0) : (u(), x(K, { key: 0 }, [
80
80
  w("div", {
@@ -174,12 +174,12 @@ const pt = /* @__PURE__ */ I({
174
174
  }, [
175
175
  _(N, { "icon-class": "setting" })
176
176
  ])) : T("", !0),
177
- l(c) ? (u(), k(dt, {
177
+ l(c) ? (u(), k(ft, {
178
178
  key: 2,
179
179
  "pwd-visible": l(c),
180
180
  onDialogActionChange: A
181
181
  }, null, 8, ["pwd-visible"])) : T("", !0),
182
- l(d) ? (u(), k(ft, {
182
+ l(d) ? (u(), k(mt, {
183
183
  key: 3,
184
184
  modelValue: l(d),
185
185
  "onUpdate:modelValue": $[3] || ($[3] = (Y) => _e(d) ? d.value = Y : null)
@@ -413,13 +413,13 @@ const Tt = {
413
413
  (r) => {
414
414
  r.startsWith("/redirect/") || s();
415
415
  }
416
- ), Qe(() => {
416
+ ), Ze(() => {
417
417
  s();
418
418
  }), (r, c) => {
419
419
  const d = V("el-breadcrumb-item"), m = V("el-breadcrumb");
420
420
  return u(), k(m, { class: "flex-y-center" }, {
421
421
  default: g(() => [
422
- _(Ze, { "enter-active-class": "animate__animated animate__fadeInRight" }, {
422
+ _(et, { "enter-active-class": "animate__animated animate__fadeInRight" }, {
423
423
  default: g(() => [
424
424
  (u(!0), x(K, null, le(l(n), (f, p) => (u(), k(d, {
425
425
  key: f.path
@@ -496,7 +496,7 @@ function Bt(i, e) {
496
496
  }
497
497
  const Nt = /* @__PURE__ */ F(Rt, [["render", Bt], ["__scopeId", "data-v-706e4188"]]);
498
498
  var J = /* @__PURE__ */ ((i) => (i.LEFT = "left", i.TOP = "top", i.MIX = "mix", i))(J || {});
499
- const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex flex-wrap justify-around w-full h-12" }, zt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ft = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ut = [
499
+ const se = (i) => (tt("data-v-d50a3d59"), i = i(), nt(), i), Ot = { class: "flex flex-wrap justify-around w-full h-12" }, zt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ft = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ut = [
500
500
  zt,
501
501
  Ft
502
502
  ], qt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ht = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Wt = [
@@ -649,8 +649,8 @@ const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex
649
649
  _(A, {
650
650
  modelValue: l(r),
651
651
  "onUpdate:modelValue": h[0] || (h[0] = (C) => _e(r) ? r.value = C : null),
652
- "active-icon": l(je),
653
- "inactive-icon": l(Ge),
652
+ "active-icon": l(Ge),
653
+ "inactive-icon": l(Ye),
654
654
  onChange: c
655
655
  }, null, 8, ["modelValue", "active-icon", "inactive-icon"])
656
656
  ]),
@@ -730,7 +730,7 @@ const se = (i) => (et("data-v-d50a3d59"), i = i(), tt(), i), Ot = { class: "flex
730
730
  mode: "out-in"
731
731
  }, {
732
732
  default: g(() => [
733
- (u(), k(nt, { include: l(e) }, [
733
+ (u(), k(ot, { include: l(e) }, [
734
734
  (u(), k(xe(o), {
735
735
  key: a.path
736
736
  }))
@@ -942,10 +942,10 @@ var oe = {
942
942
  };
943
943
  oe.posix = oe;
944
944
  var Ee = oe;
945
- const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__PURE__ */ I({
945
+ const Le = /* @__PURE__ */ Je(Ee), wn = { class: "tags-container" }, kn = /* @__PURE__ */ I({
946
946
  __name: "index",
947
947
  setup(i) {
948
- const { proxy: e } = ot(), t = ye(), n = fe(), s = de(), o = be(), a = Q(), { visitedViews: r } = _t(o), c = te(), d = R(() => c.layout), m = z({
948
+ const { proxy: e } = it(), t = ye(), n = fe(), s = de(), o = be(), a = Q(), { visitedViews: r } = _t(o), c = te(), d = R(() => c.layout), m = z({
949
949
  path: "",
950
950
  query: "",
951
951
  fullPath: "",
@@ -1149,9 +1149,9 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
1149
1149
  ]),
1150
1150
  _: 1
1151
1151
  }),
1152
- it(w("ul", {
1152
+ at(w("ul", {
1153
1153
  class: "contextmenu",
1154
- style: at({ left: l(p) + "px", top: l(h) + "px" })
1154
+ style: lt({ left: l(p) + "px", top: l(h) + "px" })
1155
1155
  }, [
1156
1156
  w("li", {
1157
1157
  onClick: b[0] || (b[0] = (E) => O(l(m)))
@@ -1191,7 +1191,7 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
1191
1191
  B(" 关闭所有 ")
1192
1192
  ])
1193
1193
  ], 4), [
1194
- [lt, l(y)]
1194
+ [st, l(y)]
1195
1195
  ])
1196
1196
  ]);
1197
1197
  };
@@ -1208,9 +1208,9 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
1208
1208
  },
1209
1209
  setup(i) {
1210
1210
  const e = i, t = R(() => ue(e.to)), n = R(() => t.value ? "a" : "router-link"), s = (o) => t.value ? { href: o, target: "_blank", rel: "noopener noreferrer" } : { to: o };
1211
- return (o, a) => (u(), k(xe(l(n)), st(rt(s(i.to))), {
1211
+ return (o, a) => (u(), k(xe(l(n)), rt(ct(s(i.to))), {
1212
1212
  default: g(() => [
1213
- ct(o.$slots, "default")
1213
+ ut(o.$slots, "default")
1214
1214
  ]),
1215
1215
  _: 3
1216
1216
  }, 16));
@@ -1563,8 +1563,8 @@ const Le = /* @__PURE__ */ Ye(Ee), wn = { class: "tags-container" }, kn = /* @__
1563
1563
  "layout-left": a.value === "left",
1564
1564
  "layout-top": a.value === "top",
1565
1565
  "layout-mix": a.value === "mix"
1566
- })), m = Je().width;
1567
- ut(() => {
1566
+ })), m = Qe().width;
1567
+ dt(() => {
1568
1568
  m.value < Xn ? (e.toggleDevice(me.MOBILE), e.closeSideBar()) : (e.toggleDevice(me.DESKTOP), m.value >= 1200 ? e.openSideBar() : e.closeSideBar());
1569
1569
  });
1570
1570
  function f() {
@@ -1,10 +1,10 @@
1
1
  import { _ as oe } from "./picture-CBRsHLZl.mjs";
2
- import { defineComponent as te, ref as d, watchEffect as se, computed as le, onMounted as ne, resolveComponent as c, openBlock as v, createElementBlock as U, createElementVNode as n, createVNode as t, unref as o, isRef as ae, withCtx as r, toDisplayString as R, createTextVNode as D, createBlock as A, Fragment as re, renderList as ce, createCommentVNode as ie, withKeys as N, withModifiers as de, withDirectives as pe, vShow as ue, pushScopeId as me, popScopeId as _e } from "vue";
2
+ import { defineComponent as te, ref as d, watchEffect as se, computed as le, onMounted as ne, resolveComponent as c, openBlock as v, createElementBlock as A, createElementVNode as n, createVNode as t, unref as o, isRef as ae, withCtx as r, toDisplayString as R, createTextVNode as D, createBlock as U, Fragment as re, renderList as ce, createCommentVNode as ie, withKeys as N, withModifiers as de, withDirectives as pe, vShow as ue, pushScopeId as me, popScopeId as _e } from "vue";
3
3
  import { useI18n as ge } from "vue-i18n";
4
- import { d as I, u as T, n as he, c as fe, _ as ve, S as m, x as we, q as ye, y as ke, z as Ce, r as Ve, h as be } from "./index-2a2z9HJi.mjs";
4
+ import { d as I, u as T, o as fe, c as he, _ as ve, S as m, y as we, t as ye, z as ke, A as Ce, r as Ve, i as be } from "./index-BbCqgUaV.mjs";
5
5
  import { ElForm as z } from "element-plus";
6
6
  import { useRoute as Se } from "vue-router";
7
- const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login-container" }, $e = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Re = { class: "text-center relative" }, De = { class: "p-2" }, Ie = { class: "p-2" }, Ee = { class: "p-2" }, qe = { class: "p-2" }, Le = { class: "captcha" }, Ue = { class: "image-slot" }, Ae = { class: "forgot-pwd" }, Ne = { class: "absolute bottom-1 text-[10px] text-center" }, Te = /* @__PURE__ */ B(() => /* @__PURE__ */ n("p", null, "Copyright © 2024 All Rights Reserved. Apache 2.0 协议.", -1)), ze = /* @__PURE__ */ B(() => /* @__PURE__ */ n("p", null, "备案号: XXXX .", -1)), Be = [
7
+ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login-container" }, $e = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Re = { class: "text-center relative" }, De = { class: "p-2" }, Ie = { class: "p-2" }, Ee = { class: "p-2" }, Le = { class: "p-2" }, qe = { class: "captcha" }, Ae = { class: "image-slot" }, Ue = { class: "forgot-pwd" }, Ne = { class: "absolute bottom-1 text-[10px] text-center" }, Te = /* @__PURE__ */ B(() => /* @__PURE__ */ n("p", null, "Copyright © 2024 All Rights Reserved. Apache 2.0 协议.", -1)), ze = /* @__PURE__ */ B(() => /* @__PURE__ */ n("p", null, "备案号: XXXX .", -1)), Be = [
8
8
  Te,
9
9
  ze
10
10
  ], Fe = 992, Ke = /* @__PURE__ */ te({
@@ -15,11 +15,11 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
15
15
  key: "theme",
16
16
  value: e ? "dark" : "light"
17
17
  });
18
- }, k = T(), { width: j } = he();
18
+ }, k = T(), { width: j } = fe();
19
19
  se(() => {
20
20
  j.value < Fe ? k.toggleDevice("mobile") : k.toggleDevice("desktop");
21
21
  });
22
- const C = d(!1), E = d(!1), g = d(!1), q = d(), L = d(z), V = d([]), a = d({
22
+ const C = d(!1), E = d(!1), g = d(!1), L = d(), q = d(z), V = d([]), a = d({
23
23
  scope: "",
24
24
  username: "",
25
25
  password: ""
@@ -56,9 +56,9 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
56
56
  const { key: s } = e;
57
57
  E.value = s && s.length === 1 && s >= "A" && s <= "Z";
58
58
  }
59
- function h() {
59
+ function f() {
60
60
  ye().then(({ data: e }) => {
61
- a.value.captchaKey = e.captchaId, q.value = e.base64Image;
61
+ a.value.captchaKey = e.captchaId, L.value = e.base64Image;
62
62
  });
63
63
  }
64
64
  function P() {
@@ -66,17 +66,17 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
66
66
  V.value = e.roleList;
67
67
  });
68
68
  }
69
- const W = Se(), H = fe();
69
+ const W = Se(), H = he();
70
70
  function S() {
71
- L.value.validate((e) => {
71
+ q.value.validate((e) => {
72
72
  if (e) {
73
73
  C.value = !0;
74
74
  let s = { ...a.value };
75
75
  s.password = Ce(a.value.password), a.value.password = "", H.login(s).then(() => {
76
- const p = W.query, u = p.redirect ?? "/", x = Object.keys(p).reduce((f, i) => (i !== "redirect" && (f[i] = p[i]), f), {});
77
- Ve.value.push({ path: u, query: x }), h();
76
+ const p = W.query, u = p.redirect ?? "/", x = Object.keys(p).reduce((h, i) => (i !== "redirect" && (h[i] = p[i]), h), {});
77
+ Ve.value.push({ path: u, query: x }), f();
78
78
  }).catch(() => {
79
- h();
79
+ f();
80
80
  }).finally(() => {
81
81
  C.value = !1;
82
82
  });
@@ -84,12 +84,12 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
84
84
  });
85
85
  }
86
86
  return ne(() => {
87
- h(), P();
87
+ f(), P();
88
88
  const e = I().theme;
89
89
  I().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
90
90
  }), (e, s) => {
91
- const p = c("el-switch"), u = c("el-tag"), x = c("el-option"), f = c("el-select"), i = c("el-form-item"), $ = c("el-input"), Q = c("el-tooltip"), Z = oe, G = c("el-image"), J = c("router-link"), Y = c("el-button"), ee = c("el-card");
92
- return v(), U("div", xe, [
91
+ const p = c("el-switch"), u = c("el-tag"), x = c("el-option"), h = c("el-select"), i = c("el-form-item"), $ = c("el-input"), Q = c("el-tooltip"), Z = oe, G = c("el-image"), J = c("router-link"), Y = c("el-button"), ee = c("el-card");
92
+ return v(), A("div", xe, [
93
93
  n("div", $e, [
94
94
  t(p, {
95
95
  modelValue: o(y),
@@ -114,14 +114,14 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
114
114
  ]),
115
115
  t(o(z), {
116
116
  ref_key: "loginFormRef",
117
- ref: L,
117
+ ref: q,
118
118
  model: o(a),
119
119
  rules: o(M),
120
120
  size: "large",
121
121
  class: "login-form"
122
122
  }, {
123
123
  default: r(() => [
124
- o(V).length > 0 ? (v(), A(i, {
124
+ o(V).length > 0 ? (v(), U(i, {
125
125
  key: 0,
126
126
  prop: "scope"
127
127
  }, {
@@ -129,14 +129,14 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
129
129
  n("div", De, [
130
130
  t(m, { "icon-class": "user" })
131
131
  ]),
132
- t(f, {
132
+ t(h, {
133
133
  modelValue: o(a).scope,
134
134
  "onUpdate:modelValue": s[1] || (s[1] = (l) => o(a).scope = l),
135
135
  placeholder: "Select",
136
136
  class: "flex-1"
137
137
  }, {
138
138
  default: r(() => [
139
- (v(!0), U(re, null, ce(o(V), (l) => (v(), A(x, {
139
+ (v(!0), A(re, null, ce(o(V), (l) => (v(), U(x, {
140
140
  key: l.roleCode,
141
141
  label: l.roleName,
142
142
  value: l.roleCode
@@ -203,7 +203,7 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
203
203
  }, 8, ["disabled"]),
204
204
  t(i, { prop: "captchaCode" }, {
205
205
  default: r(() => [
206
- n("span", qe, [
206
+ n("span", Le, [
207
207
  t(m, { "icon-class": "captcha" })
208
208
  ]),
209
209
  t($, {
@@ -214,14 +214,14 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
214
214
  class: "w-[60%]",
215
215
  onKeyup: N(S, ["enter"])
216
216
  }, null, 8, ["modelValue", "placeholder"]),
217
- n("div", Le, [
217
+ n("div", qe, [
218
218
  t(G, {
219
- src: o(q),
220
- onClick: h,
219
+ src: o(L),
220
+ onClick: f,
221
221
  class: "w-[130px] h-[50px] cursor-pointer"
222
222
  }, {
223
223
  error: r(() => [
224
- n("div", Ue, [
224
+ n("div", Ae, [
225
225
  t(Z)
226
226
  ])
227
227
  ]),
@@ -231,7 +231,7 @@ const B = (_) => (me("data-v-5014ef67"), _ = _(), _e(), _), xe = { class: "login
231
231
  ]),
232
232
  _: 1
233
233
  }),
234
- n("div", Ae, [
234
+ n("div", Ue, [
235
235
  t(J, { to: "/secondLogin" }, {
236
236
  default: r(() => [
237
237
  D("手机号/邮箱登录")
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { aU as t, aV as r, aW as o, be as i, aZ as u, aX as b, bc as n, bd as p, b8 as d, b9 as c, ba as g, bb as l, bf as S, a as m, b1 as P, aO as E, aJ as D, aK as M, aF as f, aR as y, aS as k, aH as v, g as R, aG as A, aY as H, f as L, q as z, aQ as B, i as U, aI as C, z as T, aE as V, b6 as h, r as W, a_ as q, aB as x, y as F, b2 as I, aL as Q, b7 as j, aP as w, aM as G, aN as J, u as K, b3 as N, aT as O, a$ as X, j as Y, b4 as Z, d as _, b0 as $, b as aa, c as sa, b5 as ea, v as ta } from "./index-2a2z9HJi.mjs";
1
+ import { a1 as t, a2 as r, a3 as o, an as i, a6 as u, a4 as n, al as p, am as d, ah as c, ai as g, aj as l, ak as m, ao as P, a as S, aa as D, W as E, P as M, Q as f, L as k, Z as b, $ as y, N as A, g as R, M as v, a5 as L, f as z, t as H, Y as U, j as h, O as B, A as C, K as V, af as T, r as W, a7 as j, I as w, z as x, ab as I, R as Q, ag as q, X as F, U as K, V as N, u as O, ac as X, a0 as Y, a8 as Z, k as $, ad as G, d as J, a9 as _, b as aa, c as sa, ae as ea, w as ta } from "./index-BbCqgUaV.mjs";
2
2
  import "element-plus";
3
3
  export {
4
4
  t as BizDict,
@@ -6,52 +6,52 @@ export {
6
6
  o as CustomBizDict,
7
7
  i as DashboardPage,
8
8
  u as EnableBizDict,
9
- b as EnumDict,
10
- n as Error401Page,
11
- p as Error404Page,
12
- d as Layout,
13
- c as LoginPage,
14
- g as MultiFactorLoginPage,
15
- l as ProfilePage,
16
- S as RedirectPage,
17
- m as SysApiImpl,
18
- P as TableHooks,
9
+ n as EnumDict,
10
+ p as Error401Page,
11
+ d as Error404Page,
12
+ c as Layout,
13
+ g as LoginPage,
14
+ l as MultiFactorLoginPage,
15
+ m as ProfilePage,
16
+ P as RedirectPage,
17
+ S as SysApiImpl,
18
+ D as TableHooks,
19
19
  E as addDynamicRoute,
20
- D as addViteMenus,
21
- M as addWebpackMenus,
22
- f as axiosConfig,
23
- y as clearEmpty,
24
- k as deepMerge,
25
- v as default,
20
+ M as addViteMenus,
21
+ f as addWebpackMenus,
22
+ k as axiosConfig,
23
+ b as clearEmpty,
24
+ y as deepMerge,
25
+ A as default,
26
26
  R as defaultSettings,
27
- A as directive,
28
- H as enumMapCache,
29
- L as fileApi,
30
- z as getCaptchaApi,
31
- B as getQueryParams,
32
- U as i18n,
33
- C as menus,
34
- T as netEncrypt,
27
+ v as directive,
28
+ L as enumMapCache,
29
+ z as fileApi,
30
+ H as getCaptchaApi,
31
+ U as getQueryParams,
32
+ h as i18n,
33
+ B as menus,
34
+ C as netEncrypt,
35
35
  V as request,
36
- h as resetRouter,
36
+ T as resetRouter,
37
37
  W as routerRef,
38
- q as routerUtil,
39
- x as runAsUser,
40
- F as selectDsdRoles,
38
+ j as routerUtil,
39
+ w as runAsUser,
40
+ x as selectDsdRoles,
41
41
  I as store,
42
42
  Q as updateMetaEnv,
43
- j as updateRouter,
44
- w as updateSettings,
45
- G as updateViteMetaEnv,
46
- J as updateWebpackMetaEnv,
47
- K as useAppStore,
48
- N as useAppStoreHook,
49
- O as useDictionary,
50
- X as useListData,
51
- Y as usePermissionStore,
52
- Z as usePermissionStoreHook,
53
- _ as useSettingsStore,
54
- $ as useTableHooks,
43
+ q as updateRouter,
44
+ F as updateSettings,
45
+ K as updateViteMetaEnv,
46
+ N as updateWebpackMetaEnv,
47
+ O as useAppStore,
48
+ X as useAppStoreHook,
49
+ Y as useDictionary,
50
+ Z as useListData,
51
+ $ as usePermissionStore,
52
+ G as usePermissionStoreHook,
53
+ J as useSettingsStore,
54
+ _ as useTableHooks,
55
55
  aa as useTagsViewStore,
56
56
  sa as useUserStore,
57
57
  ea as useUserStoreHook,
@@ -1,13 +1,13 @@
1
- import { c as S, A as E, B as F, C as P, F as z, G, H, h as L } from "./index-2a2z9HJi.mjs";
2
- import { defineComponent as O, ref as i, reactive as T, resolveComponent as a, openBlock as p, createElementBlock as $, createVNode as t, unref as o, withCtx as s, createElementVNode as f, toDisplayString as _, Fragment as K, renderList as Q, createBlock as b, createCommentVNode as I, createTextVNode as W } from "vue";
3
- import { ElMessage as X } from "element-plus";
4
- const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__PURE__ */ O({
1
+ import { defineComponent as S, ref as i, reactive as E, resolveComponent as a, openBlock as p, createElementBlock as I, createVNode as t, unref as o, withCtx as s, createElementVNode as f, toDisplayString as b, Fragment as F, renderList as P, createBlock as _, createCommentVNode as v, createTextVNode as z } from "vue";
2
+ import { c as G, B as L, C as O, F as T, G as H, i as K } from "./index-BbCqgUaV.mjs";
3
+ import { ElMessage as Q } from "element-plus";
4
+ const W = { class: "app-container" }, X = { class: "positon_name" }, Z = /* @__PURE__ */ S({
5
5
  __name: "profile",
6
- setup(le) {
7
- const v = i(), h = i(), y = i();
8
- let l = T({
6
+ setup(x) {
7
+ const $ = i(), y = i(), h = i();
8
+ let l = E({
9
9
  user: {
10
- tenant: S().user.tenant,
10
+ tenant: G().user.tenant,
11
11
  requestId: Math.random() * 10 + "",
12
12
  updateMask: "nickName,gender,birthDate,realName,avatar",
13
13
  userJobs: [
@@ -19,7 +19,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
19
19
  }
20
20
  });
21
21
  function g() {
22
- E().then(({ data: e }) => {
22
+ L().then(({ data: e }) => {
23
23
  var r;
24
24
  l.user = Object.assign(l.user, { ...e }), ((r = l.user.userJobs) == null ? void 0 : r.length) === 0 && (l.user.userJobs = [
25
25
  {
@@ -27,10 +27,10 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
27
27
  jobId: ""
28
28
  }
29
29
  ]);
30
- }), F().then(({ data: e }) => {
31
- h.value = e.results;
32
- }), P().then(({ data: e }) => {
30
+ }), O().then(({ data: e }) => {
33
31
  y.value = e.results;
32
+ }), T().then(({ data: e }) => {
33
+ h.value = e.results;
34
34
  });
35
35
  }
36
36
  function J() {
@@ -48,19 +48,19 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
48
48
  l.user.avatar = e;
49
49
  }
50
50
  const R = () => {
51
- z(l.user).then((e) => {
52
- l.user.requestId = Math.random() * 10 + "", e.status === 200 && X({
51
+ H(l.user).then((e) => {
52
+ l.user.requestId = Math.random() * 10 + "", e.status === 200 && Q({
53
53
  message: "个人信息修改成功",
54
54
  type: "success"
55
55
  });
56
56
  });
57
57
  };
58
58
  return g(), (e, r) => {
59
- const D = G, n = a("el-form-item"), U = a("el-tree-select"), m = a("el-col"), j = a("CirclePlus"), V = a("el-icon"), q = a("Remove"), w = a("el-row"), k = a("el-input"), M = H, Y = a("el-date-picker"), A = a("el-button"), B = a("el-form");
60
- return p(), $("div", Z, [
59
+ const D = a("upload"), n = a("el-form-item"), U = a("el-tree-select"), m = a("el-col"), j = a("CirclePlus"), V = a("el-icon"), q = a("Remove"), w = a("el-row"), k = a("el-input"), M = a("dict-select"), Y = a("el-date-picker"), A = a("el-button"), B = a("el-form");
60
+ return p(), I("div", W, [
61
61
  t(B, {
62
62
  ref_key: "userInfoRef",
63
- ref: v,
63
+ ref: $,
64
64
  mode: o(l).user,
65
65
  "label-width": "80px"
66
66
  }, {
@@ -78,7 +78,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
78
78
  label: e.$t("sysUser.phoneNumber")
79
79
  }, {
80
80
  default: s(() => [
81
- f("span", null, _(o(l).user.mobilePhone), 1)
81
+ f("span", null, b(o(l).user.mobilePhone), 1)
82
82
  ]),
83
83
  _: 1
84
84
  }, 8, ["label"]),
@@ -86,12 +86,12 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
86
86
  label: e.$t("sysUser.email")
87
87
  }, {
88
88
  default: s(() => [
89
- f("span", null, _(o(l).user.email), 1)
89
+ f("span", null, b(o(l).user.email), 1)
90
90
  ]),
91
91
  _: 1
92
92
  }, 8, ["label"]),
93
- f("div", x, [
94
- (p(!0), $(K, null, Q(o(l).user.userJobs, (d, u) => (p(), b(w, {
93
+ f("div", X, [
94
+ (p(!0), I(F, null, P(o(l).user.userJobs, (d, u) => (p(), _(w, {
95
95
  key: u,
96
96
  style: { width: "100%" }
97
97
  }, {
@@ -106,7 +106,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
106
106
  t(U, {
107
107
  modelValue: o(l).user.userJobs[u].deptId,
108
108
  "onUpdate:modelValue": (c) => o(l).user.userJobs[u].deptId = c,
109
- data: h.value,
109
+ data: y.value,
110
110
  "render-after-expand": !1,
111
111
  filterable: "",
112
112
  "check-strictly": "",
@@ -129,7 +129,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
129
129
  t(U, {
130
130
  modelValue: o(l).user.userJobs[u].jobId,
131
131
  "onUpdate:modelValue": (c) => o(l).user.userJobs[u].jobId = c,
132
- data: y.value,
132
+ data: h.value,
133
133
  "render-after-expand": !1,
134
134
  filterable: "",
135
135
  "check-strictly": "",
@@ -142,7 +142,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
142
142
  ]),
143
143
  _: 2
144
144
  }, 1024),
145
- u == 0 ? (p(), b(m, {
145
+ u == 0 ? (p(), _(m, {
146
146
  key: 0,
147
147
  span: 1,
148
148
  class: "position-center"
@@ -159,8 +159,8 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
159
159
  })
160
160
  ]),
161
161
  _: 1
162
- })) : I("", !0),
163
- u !== 0 ? (p(), b(m, {
162
+ })) : v("", !0),
163
+ u !== 0 ? (p(), _(m, {
164
164
  key: 1,
165
165
  span: 1,
166
166
  class: "position-center"
@@ -177,7 +177,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
177
177
  }, 1032, ["onClick"])
178
178
  ]),
179
179
  _: 2
180
- }, 1024)) : I("", !0)
180
+ }, 1024)) : v("", !0)
181
181
  ]),
182
182
  _: 2
183
183
  }, 1024))), 128))
@@ -248,7 +248,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
248
248
  onClick: R
249
249
  }, {
250
250
  default: s(() => [
251
- W(_(e.$t("common.save")), 1)
251
+ z(b(e.$t("common.save")), 1)
252
252
  ]),
253
253
  _: 1
254
254
  })
@@ -261,7 +261,7 @@ const Z = { class: "app-container" }, x = { class: "positon_name" }, ee = /* @__
261
261
  ]);
262
262
  };
263
263
  }
264
- }), re = /* @__PURE__ */ L(ee, [["__scopeId", "data-v-17cc8a64"]]);
264
+ }), se = /* @__PURE__ */ K(Z, [["__scopeId", "data-v-17cc8a64"]]);
265
265
  export {
266
- re as default
266
+ se as default
267
267
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-DxvOUNXP.mjs";
1
+ import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-CxPu4m6V.mjs";
2
2
  export {
3
3
  f as default
4
4
  };