jmash-core 0.1.23 → 0.1.25

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.
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, reactive as v, toRefs as V, resolveComponent as n, createElementBlock as c, openBlock as x, createVNode as e, withCtx as l, createTextVNode as r, createElementVNode as o, withModifiers as C, unref as u, isRef as y } from "vue";
2
2
  import z from "./assets/a6029a1ec37b99c2.gif";
3
3
  import { useRouter as N } from "vue-router";
4
- import { f as R } from "./index-B8QloXhY.mjs";
4
+ import { f as R } from "./index-CmF7Kcr8.mjs";
5
5
  const B = { class: "errPage-container" }, E = { class: "list-unstyled" }, P = { class: "link-type" }, j = ["src"], G = /* @__PURE__ */ d({
6
6
  __name: "401",
7
7
  setup(I) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as i, createElementBlock as a, openBlock as l, createElementVNode as s, createStaticVNode as r, createTextVNode as c, toDisplayString as d } from "vue";
2
2
  import n from "./assets/53044ba5490eb488.png";
3
3
  import e from "./assets/1fa4b4a419330812.png";
4
- import { f as _ } from "./index-B8QloXhY.mjs";
4
+ import { f as _ } from "./index-CmF7Kcr8.mjs";
5
5
  const p = { class: "wscn-http404-container" }, m = { class: "wscn-http404" }, h = { class: "bullshit" }, f = { class: "bullshit__headline" }, u = {
6
6
  name: "Page404"
7
7
  }, b = /* @__PURE__ */ i({
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as g, openBlock as f, createElementVNode as d, defineComponent as y, ref as x, onMounted as _, markRaw as v, onActivated as w, resolveComponent as c, createBlock as b, withCtx as r, normalizeStyle as C, normalizeClass as L, createTextVNode as S, createVNode as s } from "vue";
2
2
  import { L as m, i as k } from "./index-DVI4ph38.mjs";
3
- import { f as E } from "./index-B8QloXhY.mjs";
3
+ import { f as E } from "./index-CmF7Kcr8.mjs";
4
4
  const z = {
5
5
  viewBox: "0 0 1024 1024",
6
6
  width: "1.2em",
@@ -1,10 +1,10 @@
1
- import { u as ne, _ as de, E as Ge, a as ue, s as Re, v as Ye, G as xe, b as ke, c as Je, d as Ze, e as et, f as X, S as tt, g as Te, h as le, D as ge, i as nt, j as ot, k as at, l as pe, m as Ne, r as qe, n as _e, T as ye, o as lt, p as it, q as rt, t as ve, w as st } from "./index-B8QloXhY.mjs";
1
+ import { u as ne, _ as de, E as Ge, a as ue, s as Re, v as Ye, G as xe, b as ke, c as Je, d as Ze, e as et, f as X, S as tt, g as Te, h as le, D as ge, i as nt, j as ot, k as at, l as pe, m as Ne, r as qe, n as _e, T as ye, o as lt, p as it, q as rt, t as ve, w as st } from "./index-CmF7Kcr8.mjs";
2
2
  import { defineComponent as B, ref as I, resolveComponent as w, createBlock as V, openBlock as f, withCtx as p, createElementVNode as k, createVNode as d, createElementBlock as S, Fragment as J, renderList as fe, unref as i, createTextVNode as R, toDisplayString as M, useModel as Ae, mergeModels as Se, reactive as ct, resolveDirective as ut, withDirectives as Be, computed as z, createCommentVNode as P, isRef as ae, watch as re, onBeforeMount as dt, TransitionGroup as ft, withModifiers as me, normalizeClass as G, Transition as Oe, KeepAlive as mt, resolveDynamicComponent as Ee, getCurrentInstance as pt, nextTick as De, onMounted as ze, normalizeStyle as vt, vShow as _t, normalizeProps as ht, guardReactiveProps as gt, renderSlot as bt, watchEffect as Ct } from "vue";
3
3
  import { useRoute as he, useRouter as Me } from "vue-router";
4
- import { _ as wt } from "./updatePwd.vue_vue_type_script_setup_true_lang-CfwjDyXd.mjs";
4
+ import { _ as wt } from "./updatePwd.vue_vue_type_script_setup_true_lang-BYJY3MWz.mjs";
5
5
  import { useI18n as Pe } from "vue-i18n";
6
6
  import { ElMessage as Fe } from "element-plus";
7
- import { _ as yt, E as Vt } from "./runAs.vue_vue_type_script_setup_true_lang-eu4mLh_O.mjs";
7
+ import { _ as yt, E as Vt } from "./runAs.vue_vue_type_script_setup_true_lang-DVT9dLOD.mjs";
8
8
  import { storeToRefs as xt } from "pinia";
9
9
  const kt = /* @__PURE__ */ B({
10
10
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { v as k, u as _, a as G, w as J, k as X, l as Y, F as Z, H as ee, A as te, e as le, f as oe } from "./index-B8QloXhY.mjs";
1
+ import { v as k, u as _, a as G, w as J, k as X, l as Y, F as Z, H as ee, A as te, e as le, f as oe } from "./index-CmF7Kcr8.mjs";
2
2
  import { defineComponent as se, ref as d, computed as re, watchEffect as ae, resolveComponent as c, createElementBlock as ne, openBlock as D, createElementVNode as l, createVNode as o, withDirectives as Q, createBlock as ie, createCommentVNode as ue, unref as V, withCtx as u, normalizeStyle as de, vShow as j, withKeys as z, withModifiers as ce, createTextVNode as pe, toDisplayString as B, normalizeClass as me } from "vue";
3
3
  import fe from "./assets/0cda52992278af9e.png";
4
4
  import { useI18n as ve } from "vue-i18n";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, resolveComponent as n, createElementBlock as s, openBlock as a, createVNode as t, unref as c, withCtx as d, createElementVNode as _ } from "vue";
2
- import { u as i, aK as p, f as l } from "./index-B8QloXhY.mjs";
2
+ import { u as i, aK as p, f as l } from "./index-CmF7Kcr8.mjs";
3
3
  const m = { class: "register-container" }, f = /* @__PURE__ */ r({
4
4
  __name: "index",
5
5
  setup(u) {
@@ -1,7 +1,7 @@
1
1
  import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs";
2
2
  import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs";
3
- import F from "./BarChart-fgFAuEhe.mjs";
4
- import { f as B, j as G, a as H, y as f, z as p, _ as R } from "./index-B8QloXhY.mjs";
3
+ import F from "./BarChart-CR3KD-Zz.mjs";
4
+ import { f as B, j as G, a as H, y as f, z as p, _ as R } from "./index-CmF7Kcr8.mjs";
5
5
  import { createElementBlock as y, openBlock as C, createElementVNode as t, defineComponent as q, computed as k, ref as x, resolveComponent as c, createVNode as s, withCtx as n, unref as l, toDisplayString as r, createTextVNode as u } from "vue";
6
6
  const J = {}, K = {
7
7
  href: "https://github.com/haoxianrui",
@@ -400,9 +400,9 @@ const pn = $r({
400
400
  APP_TIMEOUT: 6e4
401
401
  }), ls = /* @__PURE__ */ new Map(), w_ = [];
402
402
  let j1 = `${Ot.APP_API_URL}v1/file/path/pc`;
403
- const Hb = () => import("./index-2GuFmWHv.mjs");
403
+ const Hb = () => import("./index-BWD_ZioM.mjs");
404
404
  ls.set("Layout", Hb);
405
- const Vb = /* @__PURE__ */ Object.assign({ "./views/change-organ/index.vue": () => import("./index-Bhxr-578.mjs"), "./views/dashboard/components/BarChart.vue": () => import("./BarChart-fgFAuEhe.mjs"), "./views/dashboard/components/FunnelChart.vue": () => import("./FunnelChart-Bdwa_Dl7.mjs"), "./views/dashboard/components/PieChart.vue": () => import("./PieChart-mjcVGXoE.mjs"), "./views/dashboard/components/RadarChart.vue": () => import("./RadarChart-Dkl7lCAh.mjs"), "./views/dashboard/index.vue": () => import("./index-DhIC3DzM.mjs"), "./views/error-page/401.vue": () => import("./401-wf-4LU5z.mjs"), "./views/error-page/404.vue": () => import("./404-B3hg09bP.mjs"), "./views/login/components/types.vue": () => import("./types-W0xzEV_A.mjs"), "./views/login/index.vue": () => import("./index-BoRAs6HI.mjs"), "./views/my/profile.vue": () => import("./profile-DXi-78Zv.mjs"), "./views/my/runAs.vue": () => import("./runAs-B0w2aMlY.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-C67usnoT.mjs"), "./views/redirect/index.vue": () => import("./index-JBmY6Vt0.mjs"), "./views/register/index.vue": () => import("./index-BxCLyBWu.mjs") });
405
+ const Vb = /* @__PURE__ */ Object.assign({ "./views/change-organ/index.vue": () => import("./index-D7vTRuz9.mjs"), "./views/dashboard/components/BarChart.vue": () => import("./BarChart-CR3KD-Zz.mjs"), "./views/dashboard/components/FunnelChart.vue": () => import("./FunnelChart-Bdwa_Dl7.mjs"), "./views/dashboard/components/PieChart.vue": () => import("./PieChart-mjcVGXoE.mjs"), "./views/dashboard/components/RadarChart.vue": () => import("./RadarChart-Dkl7lCAh.mjs"), "./views/dashboard/index.vue": () => import("./index-Ce1ZrKTN.mjs"), "./views/error-page/401.vue": () => import("./401-DqAdWHXD.mjs"), "./views/error-page/404.vue": () => import("./404-DvKHgPjP.mjs"), "./views/login/components/types.vue": () => import("./types-CByYd7DM.mjs"), "./views/login/index.vue": () => import("./index-BWr16fyD.mjs"), "./views/my/profile.vue": () => import("./profile-CKbFk8vD.mjs"), "./views/my/runAs.vue": () => import("./runAs-Dyyygrg6.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-CvnUJYG1.mjs"), "./views/redirect/index.vue": () => import("./index-JBmY6Vt0.mjs"), "./views/register/index.vue": () => import("./index-BtKMrW6i.mjs") });
406
406
  $b(Vb, 7);
407
407
  function $b(e, t) {
408
408
  for (const r in e) {
@@ -665,7 +665,7 @@ function rC(e) {
665
665
  data: e
666
666
  });
667
667
  }
668
- const Ws = () => import("./index-2GuFmWHv.mjs"), nC = () => import("./index-BoRAs6HI.mjs"), aC = () => import("./index-BxCLyBWu.mjs"), oC = () => import("./types-W0xzEV_A.mjs"), iC = () => import("./profile-DXi-78Zv.mjs"), sC = () => import("./401-wf-4LU5z.mjs"), uC = () => import("./404-B3hg09bP.mjs"), lC = () => import("./index-DhIC3DzM.mjs"), cC = () => import("./index-JBmY6Vt0.mjs"), dC = () => import("./index-Bhxr-578.mjs"), D_ = [
668
+ const Ws = () => import("./index-BWD_ZioM.mjs"), nC = () => import("./index-BWr16fyD.mjs"), aC = () => import("./index-BtKMrW6i.mjs"), oC = () => import("./types-CByYd7DM.mjs"), iC = () => import("./profile-CKbFk8vD.mjs"), sC = () => import("./401-DqAdWHXD.mjs"), uC = () => import("./404-DvKHgPjP.mjs"), lC = () => import("./index-Ce1ZrKTN.mjs"), cC = () => import("./index-JBmY6Vt0.mjs"), dC = () => import("./index-D7vTRuz9.mjs"), D_ = [
669
669
  {
670
670
  path: "/redirect",
671
671
  component: Ws,
@@ -2113,8 +2113,8 @@ const gQ = Ha("setting", () => {
2113
2113
  }
2114
2114
  function a(f) {
2115
2115
  return new Promise((v, g) => {
2116
- Kb(f).then(({ data: h }) => {
2117
- t.value = h.accessToken, h.expiresDate = (/* @__PURE__ */ new Date()).getTime() + h.expiresIn * 1e3, r.value = h, v(h);
2116
+ Kb(f).then(({ status: h, data: m }) => {
2117
+ h === 200 ? (t.value = m.accessToken, m.expiresDate = (/* @__PURE__ */ new Date()).getTime() + m.expiresIn * 1e3, r.value = m, v(m)) : g(m);
2118
2118
  }).catch((h) => {
2119
2119
  console.log(h), g(h);
2120
2120
  });
@@ -2179,8 +2179,8 @@ const gQ = Ha("setting", () => {
2179
2179
  }
2180
2180
  function p() {
2181
2181
  return new Promise((f, v) => {
2182
- Xb(t.value).then(() => {
2183
- t.value = "", e.roleCodes = [], e.permCodes = [], r.value = {}, f();
2182
+ Xb(t.value).then(({ data: g }) => {
2183
+ g ? (t.value = "", e.roleCodes = [], e.permCodes = [], r.value = {}, f(g)) : v("注销失败");
2184
2184
  }).catch((g) => {
2185
2185
  v(g);
2186
2186
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as l, createElementVNode as s, Fragment as x, renderList as k, unref as _, createVNode as g, toDisplayString as C, withCtx as w } from "vue";
2
- import { a as p, x as B, j as R, f as q } from "./index-B8QloXhY.mjs";
2
+ import { a as p, x as B, j as R, f as q } from "./index-CmF7Kcr8.mjs";
3
3
  import { useRoute as A, useRouter as L } from "vue-router";
4
4
  const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["onClick"], U = ["src"], b = { style: { "margin-right": "auto" } }, j = /* @__PURE__ */ v({
5
5
  __name: "index",
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { b4 as t, b5 as r, bw as o, b6 as i, bu as b, b8 as n, I as u, bs as g, bt as d, F as l, bo as p, bp as m, bq as c, br as P, bv as S, aK as v, bx as E, S as h, bg as A, aV as M, aQ as R, aR as f, aL as k, aZ as y, e as D, aX as L, a_ as C, aN as H, l as U, aM as I, b7 as V, j as w, bd as x, a$ as z, A as B, aY as F, b0 as O, m as T, aP as Q, bc as W, ba as j, aO as q, x as K, H as N, bb as X, s as Y, bm as Z, r as _, be as $, aI as G, b9 as J, bh as aa, aS as ea, bn as sa, aW as ta, aT as ra, aU as oa, u as ia, bi as ba, bl as na, n as ua, bj as ga, h as da, bf as la, g as pa, a as ma, bk as ca, b2 as Pa, d as Sa, b3 as va, c as Ea, b1 as ha, v as Aa } from "./index-B8QloXhY.mjs";
1
+ import { b4 as t, b5 as r, bw as o, b6 as i, bu as b, b8 as n, I as u, bs as g, bt as d, F as l, bo as p, bp as m, bq as c, br as P, bv as S, aK as v, bx as E, S as h, bg as A, aV as M, aQ as R, aR as f, aL as k, aZ as y, e as D, aX as L, a_ as C, aN as H, l as U, aM as I, b7 as V, j as w, bd as x, a$ as z, A as B, aY as F, b0 as O, m as T, aP as Q, bc as W, ba as j, aO as q, x as K, H as N, bb as X, s as Y, bm as Z, r as _, be as $, aI as G, b9 as J, bh as aa, aS as ea, bn as sa, aW as ta, aT as ra, aU as oa, u as ia, bi as ba, bl as na, n as ua, bj as ga, h as da, bf as la, g as pa, a as ma, bk as ca, b2 as Pa, d as Sa, b3 as va, c as Ea, b1 as ha, v as Aa } from "./index-CmF7Kcr8.mjs";
2
2
  import "element-plus";
3
3
  export {
4
4
  t as BizDict,
@@ -1,7 +1,7 @@
1
1
  var B = Object.defineProperty;
2
2
  var z = (m, p, i) => p in m ? B(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
3
3
  var y = (m, p, i) => z(m, typeof p != "symbol" ? p + "" : p, i);
4
- import { I as F, a as K, J as T, K as H, L as Q, M as W, N as X, f as Z } from "./index-B8QloXhY.mjs";
4
+ import { I as F, a as K, J as T, K as H, L as Q, M as W, N as X, f as Z } from "./index-CmF7Kcr8.mjs";
5
5
  import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, createElementBlock as k, openBlock as c, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as N, renderList as $, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
6
6
  import { ElMessage as ae } from "element-plus";
7
7
  class U {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-eu4mLh_O.mjs";
1
+ import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-DVT9dLOD.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { O as Yn, P as jn, Q as hn, R as Xn, U as $t, V as mn, W as yt, X as gn, Y as Ht, Z as qn, $ as ye, a0 as Vt, a1 as Zn, a2 as et, a3 as de, a4 as oe, a5 as Jn, a6 as Ie, a7 as Qn, a8 as bn, a9 as eo, aa as to, ab as no, ac as oo, ad as rt, ae as Be, af as Le, ag as fe, ah as ao, ai as ro, aj as so, ak as io, al as ie, am as We, an as qe, ao as yn, ap as Et, aq as wt, ar as lo, as as ft, at as uo, au as zt, av as Dt, aw as co, ax as fo, ay as vo, az as po, aA as ho, aB as mo, aC as Ut, aD as Kt, aE as Wt, aF as go, a as _e, aG as bo, aH as yo, _ as Eo, aI as wo, E as So } from "./index-B8QloXhY.mjs";
1
+ import { O as Yn, P as jn, Q as hn, R as Xn, U as $t, V as mn, W as yt, X as gn, Y as Ht, Z as qn, $ as ye, a0 as Vt, a1 as Zn, a2 as et, a3 as de, a4 as oe, a5 as Jn, a6 as Ie, a7 as Qn, a8 as bn, a9 as eo, aa as to, ab as no, ac as oo, ad as rt, ae as Be, af as Le, ag as fe, ah as ao, ai as ro, aj as so, ak as io, al as ie, am as We, an as qe, ao as yn, ap as Et, aq as wt, ar as lo, as as ft, at as uo, au as zt, av as Dt, aw as co, ax as fo, ay as vo, az as po, aA as ho, aB as mo, aC as Ut, aD as Kt, aE as Wt, aF as go, a as _e, aG as bo, aH as yo, _ as Eo, aI as wo, E as So } from "./index-CmF7Kcr8.mjs";
2
2
  import { computed as y, getCurrentInstance as Re, inject as ve, unref as d, ref as x, onMounted as pe, watch as Y, toRef as Ze, onUnmounted as Co, shallowRef as Ge, nextTick as D, defineComponent as Q, useAttrs as To, useSlots as En, createElementBlock as L, openBlock as b, normalizeStyle as Je, normalizeClass as S, createCommentVNode as I, Fragment as Ye, createElementVNode as H, renderSlot as G, createBlock as A, withCtx as B, resolveDynamicComponent as K, mergeProps as vt, withModifiers as ke, toDisplayString as W, onBeforeUnmount as Pe, provide as wn, Text as ko, reactive as St, createVNode as J, h as Io, watchEffect as Mo, isRef as Ao, onScopeDispose as xo, markRaw as pt, toRefs as Bo, resolveComponent as ge, Transition as No, withDirectives as Me, withKeys as $e, vShow as Ae, createTextVNode as xe, isVNode as Sn, render as Cn, useModel as Lo } from "vue";
3
3
  function Ro(e) {
4
4
  return e;