jmash-core 0.0.41 → 0.0.43

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 (29) hide show
  1. package/dist/{401-CJFCHgSZ.mjs → 401-CMRJwVPp.mjs} +2 -2
  2. package/dist/{404-CIMxkP9D.mjs → 404-DlPJCMs6.mjs} +1 -1
  3. package/dist/{BarChart-DU09mkLm.mjs → BarChart-BpCddrOj.mjs} +2 -2
  4. package/dist/{PieChart-CoqFm60I.mjs → PieChart-DOrakwmv.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs → PieChart.vue_vue_type_script_setup_true_lang-DNdYnpwo.mjs} +2 -2
  6. package/dist/{RadarChart-0WISsxpt.mjs → RadarChart-BRDSuluc.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs → RadarChart.vue_vue_type_script_setup_true_lang-D4nKakJq.mjs} +2 -2
  8. package/dist/{el-card-DTXS4SWb.mjs → el-card-CEkNmpTA.mjs} +1 -1
  9. package/dist/{el-col-C1oER81S.mjs → el-col-DqGm1RXL.mjs} +1 -1
  10. package/dist/{el-form-item-CJcAbcqr.mjs → el-form-item-C5AS_vxF.mjs} +1 -1
  11. package/dist/{index-ORr19rEl.mjs → index-BCvcc-qp.mjs} +55 -55
  12. package/dist/{index-C195Pa7c.mjs → index-Bhpdn6p0.mjs} +6641 -6410
  13. package/dist/{index-BAk-5oG9.mjs → index-CJJ2nF0n.mjs} +1 -1
  14. package/dist/{index-BwIx8FCt.mjs → index-DqCJ7xWe.mjs} +6 -6
  15. package/dist/{index-DB4OW-7Q.mjs → index-bSeqwbjQ.mjs} +951 -990
  16. package/dist/index.mjs +20 -20
  17. package/dist/{index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs → index.vue_vue_type_script_setup_true_lang-DGXPZz4w.mjs} +2 -2
  18. package/dist/{picture-Cpgh-vo-.mjs → picture-D64VadMB.mjs} +63 -63
  19. package/dist/{position-M0AZIV5D.mjs → position-CBxO5bxf.mjs} +1 -1
  20. package/dist/{profile-DBegP-cF.mjs → profile-Cfsk6PqO.mjs} +400 -400
  21. package/dist/{runAs-xhA9mf-i.mjs → runAs-nFGNxP2F.mjs} +1 -1
  22. package/dist/{runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs → runAs.vue_vue_type_script_setup_true_lang-B90JKV7e.mjs} +18 -18
  23. package/dist/style.css +1 -1
  24. package/dist/{types-FkPgztcJ.mjs → types-CazjxJc2.mjs} +4 -4
  25. package/dist/{updatePwd-D1EnTbTY.mjs → updatePwd-DDTIj-1c.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BZ4D36iE.mjs} +11 -11
  27. package/dts/src/index.d.ts +3 -3
  28. package/dts/src/types/index.d.ts +7 -0
  29. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs";
1
+ import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-B90JKV7e.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
- import { A as we, t as Be, I as Te, s as Me, H as ke, E as Se, br as Ie, bs as Ae, bt as Ve, bu as _, ax as ee, bv as Re, bw as Le, _ as Oe, bx as $e, c as Ne, g as ie, j as ne, V as Pe, b9 as ze, ag as te, aY as oe, z as De, by as Ue, $ as L, bz as Fe, bA as He, X as Ke, bB as je, al as qe } from "./index-C195Pa7c.mjs";
2
- import { nextTick as $, defineComponent as ue, computed as w, ref as C, reactive as de, watch as se, onMounted as Xe, onBeforeUnmount as Ge, toRefs as We, resolveComponent as k, openBlock as f, createBlock as g, Transition as Ye, withCtx as m, withDirectives as H, createVNode as h, createElementVNode as v, normalizeClass as d, normalizeStyle as le, withModifiers as D, createElementBlock as K, resolveDynamicComponent as U, createCommentVNode as S, toDisplayString as O, withKeys as F, renderSlot as Ze, createTextVNode as j, vShow as q, isVNode as ce, render as fe, useModel as Je, resolveDirective as Qe, unref as X } from "vue";
1
+ import { A as we, t as Be, I as Te, s as Me, H as ke, E as Se, bs as Ie, bt as Ae, bu as Ve, bv as _, ay as ee, bw as Re, bx as Le, _ as Oe, by as $e, c as Ne, g as ie, j as ne, V as Pe, ba as ze, ah as te, aZ as oe, z as De, bz as Ue, $ as L, bA as Fe, bB as He, X as Ke, bC as je, am as qe } from "./index-Bhpdn6p0.mjs";
2
+ import { nextTick as $, defineComponent as ue, computed as w, ref as C, reactive as de, watch as se, onMounted as Xe, onBeforeUnmount as Ge, toRefs as We, resolveComponent as k, openBlock as f, createBlock as g, Transition as Ze, withCtx as m, withDirectives as H, createVNode as h, createElementVNode as v, normalizeClass as d, normalizeStyle as le, withModifiers as D, createElementBlock as K, resolveDynamicComponent as U, createCommentVNode as S, toDisplayString as O, withKeys as F, renderSlot as Je, createTextVNode as j, vShow as q, isVNode as ce, render as fe, useModel as Qe, resolveDirective as Ye, unref as X } from "vue";
3
3
  const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', _e = (e) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, ae = (e) => Array.from(e.querySelectorAll(xe)).filter((n) => en(n) && _e(n)), en = (e) => {
4
4
  if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null)
5
5
  return !0;
@@ -153,12 +153,12 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
153
153
  }), A = w(() => {
154
154
  const i = t.type;
155
155
  return { [a.bm("icon", i)]: i && _[i] };
156
- }), E = ee(), u = ee(), pe = w(() => t.icon || _[t.type] || ""), me = w(() => !!t.message), T = C(), W = C(), V = C(), P = C(), Y = C(), ve = w(() => t.confirmButtonClass);
156
+ }), E = ee(), u = ee(), pe = w(() => t.icon || _[t.type] || ""), me = w(() => !!t.message), T = C(), W = C(), V = C(), P = C(), Z = C(), ve = w(() => t.confirmButtonClass);
157
157
  se(() => t.inputValue, async (i) => {
158
- await $(), e.boxType === "prompt" && i !== null && J();
158
+ await $(), e.boxType === "prompt" && i !== null && Q();
159
159
  }, { immediate: !0 }), se(() => p.value, (i) => {
160
160
  var b, M;
161
- i && (e.boxType !== "prompt" && (t.autofocus ? V.value = (M = (b = Y.value) == null ? void 0 : b.$el) != null ? M : T.value : V.value = T.value), t.zIndex = c()), e.boxType === "prompt" && (i ? $().then(() => {
161
+ i && (e.boxType !== "prompt" && (t.autofocus ? V.value = (M = (b = Z.value) == null ? void 0 : b.$el) != null ? M : T.value : V.value = T.value), t.zIndex = c()), e.boxType === "prompt" && (i ? $().then(() => {
162
162
  var x;
163
163
  P.value && P.value.$el && (t.autofocus ? V.value = (x = he()) != null ? x : T.value : V.value = T.value);
164
164
  }) : (t.editorErrorMessage = "", t.validateError = !1));
@@ -174,15 +174,15 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
174
174
  t.action && n("action", t.action);
175
175
  }));
176
176
  }
177
- const Z = () => {
177
+ const J = () => {
178
178
  e.closeOnClickModal && z(t.distinguishCancelAndClose ? "close" : "cancel");
179
- }, ye = $e(Z), Ce = (i) => {
179
+ }, ye = $e(J), Ce = (i) => {
180
180
  if (t.inputType !== "textarea")
181
181
  return i.preventDefault(), z("confirm");
182
182
  }, z = (i) => {
183
183
  var b;
184
- e.boxType === "prompt" && i === "confirm" && !J() || (t.action = i, t.beforeClose ? (b = t.beforeClose) == null || b.call(t, i, t, R) : R());
185
- }, J = () => {
184
+ e.boxType === "prompt" && i === "confirm" && !Q() || (t.action = i, t.beforeClose ? (b = t.beforeClose) == null || b.call(t, i, t, R) : R());
185
+ }, Q = () => {
186
186
  if (e.boxType === "prompt") {
187
187
  const i = t.inputPattern;
188
188
  if (i && !i.test(t.inputValue || ""))
@@ -200,10 +200,10 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
200
200
  }, he = () => {
201
201
  const i = P.value.$refs;
202
202
  return i.input || i.textarea;
203
- }, Q = () => {
203
+ }, Y = () => {
204
204
  z("close");
205
205
  }, Ee = () => {
206
- e.closeOnPressEscape && Q();
206
+ e.closeOnPressEscape && Y();
207
207
  };
208
208
  return e.lockScroll && Le(p), {
209
209
  ...We(t),
@@ -221,11 +221,11 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
221
221
  focusStartRef: V,
222
222
  headerRef: W,
223
223
  inputRef: P,
224
- confirmRef: Y,
224
+ confirmRef: Z,
225
225
  doClose: R,
226
- handleClose: Q,
226
+ handleClose: Y,
227
227
  onCloseRequested: Ee,
228
- handleWrapperClick: Z,
228
+ handleWrapperClick: J,
229
229
  handleInputEnter: Ce,
230
230
  handleAction: z,
231
231
  t: r
@@ -234,7 +234,7 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
234
234
  }), on = ["aria-label", "aria-describedby"], sn = ["aria-label"], ln = ["id"];
235
235
  function an(e, n, o, s, a, l) {
236
236
  const r = k("el-icon"), c = k("close"), p = k("el-input"), t = k("el-button"), A = k("el-focus-trap"), E = k("el-overlay");
237
- return f(), g(Ye, {
237
+ return f(), g(Ze, {
238
238
  name: "fade-in-linear",
239
239
  onAfterLeave: n[11] || (n[11] = (u) => e.$emit("vanish")),
240
240
  persisted: ""
@@ -334,7 +334,7 @@ function an(e, n, o, s, a, l) {
334
334
  key: 1,
335
335
  class: d(e.ns.e("message"))
336
336
  }, [
337
- Ze(e.$slots, "default", {}, () => [
337
+ Je(e.$slots, "default", {}, () => [
338
338
  e.dangerouslyUseHTMLString ? (f(), g(U(e.showInput ? "label" : "p"), {
339
339
  key: 1,
340
340
  for: e.showInput ? e.inputId : void 0,
@@ -503,7 +503,7 @@ const gn = y, bn = ["onClick"], En = /* @__PURE__ */ ue({
503
503
  },
504
504
  emits: ["update:modelValue"],
505
505
  setup(e) {
506
- const n = C(!1), o = C([]), s = Je(e, "modelValue"), a = de([
506
+ const n = C(!1), o = C([]), s = Qe(e, "modelValue"), a = de([
507
507
  {
508
508
  label: "用户名",
509
509
  prop: "loginName",
@@ -569,7 +569,7 @@ const gn = y, bn = ["onClick"], En = /* @__PURE__ */ ue({
569
569
  });
570
570
  }
571
571
  return (r, c) => {
572
- const p = je, t = qe, A = Qe("hasPerm");
572
+ const p = je, t = qe, A = Ye("hasPerm");
573
573
  return f(), g(t, {
574
574
  title: "切换身份",
575
575
  modelValue: s.value,