jmash-core 0.0.50 → 0.0.52

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 (27) hide show
  1. package/dist/{401-Dzt3Ii3A.mjs → 401-kENY9Z2u.mjs} +2 -2
  2. package/dist/{404-DBI6LlFu.mjs → 404-xczLkr32.mjs} +1 -1
  3. package/dist/{BarChart-DJD-Vmd_.mjs → BarChart-DFeddolN.mjs} +14 -14
  4. package/dist/{PieChart-COVmacHJ.mjs → PieChart-CfIMfeLi.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-ws4MLUdW.mjs → PieChart.vue_vue_type_script_setup_true_lang-7OQeIqZr.mjs} +2 -2
  6. package/dist/{RadarChart-BKI5cYkA.mjs → RadarChart-DtOwT8V7.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-C4kgTyLc.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CfBQd-Rb.mjs} +2 -2
  8. package/dist/{el-card-DwKP8wZt.mjs → el-card-XI6Fna3F.mjs} +1 -1
  9. package/dist/{el-col-BbP7z16T.mjs → el-col-B8fQ0tI-.mjs} +1 -1
  10. package/dist/{el-form-item-0klcZdlf.mjs → el-form-item-wQsGoBCp.mjs} +149 -156
  11. package/dist/{index-oYpGc2kq.mjs → index-BCUHPnNY.mjs} +8298 -7591
  12. package/dist/{index-IoeuPBOj.mjs → index-CNjZ3In_.mjs} +17 -17
  13. package/dist/{index-BTC09X9C.mjs → index-CUSZn22T.mjs} +1 -1
  14. package/dist/{index-DheU0iB7.mjs → index-CZfJwqjd.mjs} +92 -97
  15. package/dist/{index-DdeUixFT.mjs → index-Dg7yobDr.mjs} +13 -14
  16. package/dist/index.mjs +34 -34
  17. package/dist/{picture-D0unBJ5G.mjs → picture-136_THIE.mjs} +128 -128
  18. package/dist/{position-C2f9hf-1.mjs → position-sn9Bb9uG.mjs} +1 -1
  19. package/dist/{profile-CYoEgwxf.mjs → profile-gYTN9Oii.mjs} +307 -307
  20. package/dist/{runAs-DvUOiSZ4.mjs → runAs-BiuhgMW_.mjs} +1 -1
  21. package/dist/{runAs.vue_vue_type_script_setup_true_lang-BRFyVHr9.mjs → runAs.vue_vue_type_script_setup_true_lang-ZxwSmO7-.mjs} +68 -68
  22. package/dist/style.css +1 -1
  23. package/dist/{types-BTNUpi44.mjs → types-DAjtyiHG.mjs} +5 -5
  24. package/dist/{updatePwd-Q1-36iZ0.mjs → updatePwd-DhFqBbve.mjs} +1 -1
  25. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-rskuizxf.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BXZiwPnZ.mjs} +6 -6
  26. package/package.json +1 -1
  27. package/dist/index.vue_vue_type_script_setup_true_lang-l0b1jTR4.mjs +0 -720
@@ -1,10 +1,10 @@
1
- import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-C4kgTyLc.mjs";
2
- import { _ as q } from "./PieChart.vue_vue_type_script_setup_true_lang-ws4MLUdW.mjs";
3
- import J from "./BarChart-DJD-Vmd_.mjs";
4
- import { b as K, d as T, u as Q, ah as W, ai as X, _ as tt, w as et, a4 as D, $ as st, aj as E, ak as M, Y as ot, al as at } from "./index-oYpGc2kq.mjs";
5
- import { E as nt } from "./el-card-DwKP8wZt.mjs";
6
- import { E as it, a as lt } from "./el-col-BbP7z16T.mjs";
7
- import { defineComponent as V, computed as A, openBlock as f, createElementBlock as p, normalizeClass as v, unref as a, renderSlot as L, createTextVNode as g, toDisplayString as n, createCommentVNode as P, createElementVNode as t, normalizeStyle as ct, pushScopeId as F, popScopeId as R, ref as I, createVNode as e, withCtx as s } from "vue";
1
+ import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-CfBQd-Rb.mjs";
2
+ import { _ as q } from "./PieChart.vue_vue_type_script_setup_true_lang-7OQeIqZr.mjs";
3
+ import J from "./BarChart-DFeddolN.mjs";
4
+ import { b as K, d as T, u as Q, al as W, am as X, _ as tt, w as et, a8 as D, a2 as st, an as E, ao as M, Y as ot, ap as at } from "./index-BCUHPnNY.mjs";
5
+ import { E as nt } from "./el-card-XI6Fna3F.mjs";
6
+ import { E as it, a as lt } from "./el-col-B8fQ0tI-.mjs";
7
+ import { defineComponent as V, computed as A, openBlock as p, createElementBlock as f, normalizeClass as v, unref as a, renderSlot as L, createTextVNode as g, toDisplayString as n, createCommentVNode as P, createElementVNode as t, normalizeStyle as ct, pushScopeId as F, popScopeId as R, ref as I, createVNode as e, withCtx as s } from "vue";
8
8
  const rt = K({
9
9
  decimalSeparator: {
10
10
  type: String,
@@ -46,10 +46,10 @@ const rt = K({
46
46
  });
47
47
  return y({
48
48
  displayValue: b
49
- }), (o, m) => (f(), p("div", {
49
+ }), (o, m) => (p(), f("div", {
50
50
  class: v(a(d).b())
51
51
  }, [
52
- o.$slots.title || o.title ? (f(), p("div", {
52
+ o.$slots.title || o.title ? (p(), f("div", {
53
53
  key: 0,
54
54
  class: v(a(d).e("head"))
55
55
  }, [
@@ -60,7 +60,7 @@ const rt = K({
60
60
  t("div", {
61
61
  class: v(a(d).e("content"))
62
62
  }, [
63
- o.$slots.prefix || o.prefix ? (f(), p("div", {
63
+ o.$slots.prefix || o.prefix ? (p(), f("div", {
64
64
  key: 0,
65
65
  class: v(a(d).e("prefix"))
66
66
  }, [
@@ -72,7 +72,7 @@ const rt = K({
72
72
  class: v(a(d).e("number")),
73
73
  style: ct(o.valueStyle)
74
74
  }, n(a(b)), 7),
75
- o.$slots.suffix || o.suffix ? (f(), p("div", {
75
+ o.$slots.suffix || o.suffix ? (p(), f("div", {
76
76
  key: 1,
77
77
  class: v(a(d).e("suffix"))
78
78
  }, [
@@ -85,7 +85,7 @@ const rt = K({
85
85
  }
86
86
  });
87
87
  var _t = /* @__PURE__ */ tt(ut, [["__file", "statistic.vue"]]);
88
- const ft = et(_t), pt = {}, B = (l) => (F("data-v-431733f3"), l = l(), R(), l), mt = {
88
+ const pt = et(_t), ft = {}, B = (l) => (F("data-v-431733f3"), l = l(), R(), l), mt = {
89
89
  href: "https://github.com/haoxianrui",
90
90
  target: "_blank",
91
91
  class: "github-corner",
@@ -111,11 +111,11 @@ const ft = et(_t), pt = {}, B = (l) => (F("data-v-431733f3"), l = l(), R(), l),
111
111
  gt
112
112
  ];
113
113
  function bt(l, y) {
114
- return f(), p("a", mt, [
115
- (f(), p("svg", ht, yt))
114
+ return p(), f("a", mt, [
115
+ (p(), f("svg", ht, yt))
116
116
  ]);
117
117
  }
118
- const Ct = /* @__PURE__ */ D(pt, [["render", bt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (F("data-v-95eaccad"), l = l(), R(), l), wt = { class: "dashboard-container" }, St = { class: "flex h-full items-center" }, jt = ["src"], $t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1)), Et = { class: "flex h-full items-center justify-around" }, Mt = { class: "flex items-center" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), Ot = { class: "flex items-center" }, zt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), Nt = { class: "flex items-center" }, kt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), Lt = { class: "flex items-center justify-between" }, Pt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Bt = { class: "text-lg text-right" }, Tt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Dt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), At = { class: "flex items-center justify-between" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Rt = { class: "flex items-center justify-between mt-5" }, Zt = { class: "text-lg text-right" }, Gt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ht = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), Ut = { class: "flex items-center justify-between" }, Yt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), qt = { class: "flex items-center justify-between mt-5" }, Jt = { class: "text-lg text-right" }, Kt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Qt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Wt = { class: "flex items-center justify-between" }, Xt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), te = { class: "flex items-center justify-between mt-5" }, ee = { class: "text-lg text-right" }, se = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, oe = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), O = 5e3, ae = /* @__PURE__ */ V({
118
+ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (F("data-v-95eaccad"), l = l(), R(), l), wt = { class: "dashboard-container" }, St = { class: "flex h-full items-center" }, jt = ["src"], $t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1)), Et = { class: "flex h-full items-center justify-around" }, Mt = { class: "flex items-center" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), Ot = { class: "flex items-center" }, zt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), Nt = { class: "flex items-center" }, kt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), Lt = { class: "flex items-center justify-between" }, Pt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Bt = { class: "text-lg text-right" }, Tt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Dt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), At = { class: "flex items-center justify-between" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Rt = { class: "flex items-center justify-between mt-5" }, Zt = { class: "text-lg text-right" }, Gt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ht = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), Ut = { class: "flex items-center justify-between" }, Yt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), qt = { class: "flex items-center justify-between mt-5" }, Jt = { class: "text-lg text-right" }, Kt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Qt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Wt = { class: "flex items-center justify-between" }, Xt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), te = { class: "flex items-center justify-between mt-5" }, ee = { class: "text-lg text-right" }, se = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, oe = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), O = 5e3, ae = /* @__PURE__ */ V({
119
119
  name: "Dashboard",
120
120
  inheritAttrs: !1,
121
121
  __name: "index",
@@ -153,8 +153,8 @@ const Ct = /* @__PURE__ */ D(pt, [["render", bt], ["__scopeId", "data-v-431733f3
153
153
  transition: M.easeOutExpo
154
154
  });
155
155
  return x.value = 2e3, (c, j) => {
156
- const Z = Ct, r = it, _ = ot, N = ft, k = lt, C = nt, $ = at, G = J, H = q, U = Y;
157
- return f(), p("div", wt, [
156
+ const Z = Ct, r = it, _ = ot, N = pt, k = lt, C = nt, $ = at, G = J, H = q, U = Y;
157
+ return p(), f("div", wt, [
158
158
  e(Z, { class: "github-corner" }),
159
159
  e(C, { shadow: "never" }, {
160
160
  default: s(() => [
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, openBlock as n, createBlock as r, Transition as l, mergeProps as p, unref as g, toHandlers as m, withCtx as f, renderSlot as y } from "vue";
2
- import { u as c, _ as h } from "./index-oYpGc2kq.mjs";
2
+ import { u as c, _ as h } from "./index-BCUHPnNY.mjs";
3
3
  const _ = s({
4
4
  name: "ElCollapseTransition"
5
5
  }), v = /* @__PURE__ */ s({
@@ -1,32 +1,31 @@
1
- import { a0 as x, W as T, ag as ee, $ as oe, Y as m, ar as te, an as se, as as le, a6 as ne, ac as ae, al as re, at as ce, au as ie, s as de, r as pe, t as ue, a4 as me } from "./index-oYpGc2kq.mjs";
2
- import { E as _e } from "./el-card-DwKP8wZt.mjs";
3
- import { _ as ge, E as fe } from "./picture-D0unBJ5G.mjs";
4
- import { E as he } from "./el-form-item-0klcZdlf.mjs";
5
- import { defineComponent as ve, ref as c, watchEffect as we, computed as ke, onMounted as ye, resolveComponent as Ce, openBlock as v, createElementBlock as q, createElementVNode as n, createVNode as s, unref as t, isRef as Ee, withCtx as a, toDisplayString as $, createTextVNode as I, createBlock as U, Fragment as Ve, renderList as Se, createCommentVNode as be, withKeys as A, withModifiers as xe, withDirectives as $e, vShow as Ie, pushScopeId as Re, popScopeId as De } from "vue";
6
- import { useI18n as Le } from "vue-i18n";
1
+ import { a3 as x, W as T, ak as ee, a2 as oe, a7 as te, Y as u, av as se, ar as le, aw as ae, aa as ne, ag as re, ap as ce, ax as ie, ay as de, s as pe, r as ue, t as me, a8 as _e } from "./index-BCUHPnNY.mjs";
2
+ import { E as ge } from "./el-card-XI6Fna3F.mjs";
3
+ import { _ as fe, E as he } from "./picture-136_THIE.mjs";
4
+ import { E as ve } from "./el-form-item-wQsGoBCp.mjs";
5
+ import { defineComponent as we, ref as c, watchEffect as ke, computed as ye, onMounted as Ce, resolveComponent as Ee, openBlock as v, createElementBlock as q, createElementVNode as a, createVNode as s, unref as o, isRef as Ve, withCtx as n, toDisplayString as I, createTextVNode as $, createBlock as U, Fragment as Se, renderList as be, createCommentVNode as xe, withKeys as A, withModifiers as Ie, withDirectives as $e, vShow as Re, pushScopeId as De, popScopeId as Le } from "vue";
6
+ import { useI18n as Te } from "vue-i18n";
7
7
  import { ElForm as B } from "element-plus";
8
- import { useRoute as Te } from "vue-router";
9
- import { _ as qe } from "./index.vue_vue_type_script_setup_true_lang-l0b1jTR4.mjs";
10
- const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, ze = { class: "captcha" }, Oe = { class: "image-slot" }, We = { class: "forgot-pwd" }, je = { class: "absolute bottom-1 text-[10px] text-center" }, Me = /* @__PURE__ */ F(() => /* @__PURE__ */ n("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ n("p", null, "备案号: XXXX .", -1)), He = [
8
+ import { useRoute as qe } from "vue-router";
9
+ const F = (m) => (De("data-v-40e0eaf8"), m = m(), Le(), m), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, ze = { class: "captcha" }, Oe = { class: "image-slot" }, We = { class: "forgot-pwd" }, je = { class: "absolute bottom-1 text-[10px] text-center" }, Me = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, "备案号: XXXX .", -1)), He = [
11
10
  Me,
12
11
  Pe
13
- ], Qe = 992, Ye = /* @__PURE__ */ ve({
12
+ ], Qe = 992, Ye = /* @__PURE__ */ we({
14
13
  __name: "index",
15
- setup(_) {
14
+ setup(m) {
16
15
  const w = x(), { title: N, version: K } = w, k = c(w.theme === "dark"), X = (e) => {
17
- te(e), w.changeSetting({
16
+ se(e), w.changeSetting({
18
17
  key: "theme",
19
18
  value: e ? "dark" : "light"
20
19
  });
21
20
  }, y = T(), { width: z } = ee();
22
- we(() => {
21
+ ke(() => {
23
22
  z.value < Qe ? y.toggleDevice("mobile") : y.toggleDevice("desktop");
24
23
  });
25
- const C = c(!1), R = c(!1), g = c(!1), D = c(), L = c(B), E = c([]), r = c({
24
+ const C = c(!1), R = c(!1), _ = c(!1), D = c(), L = c(B), E = c([]), r = c({
26
25
  scope: "",
27
26
  username: "",
28
27
  password: ""
29
- }), { t: V } = Le(), O = ke(() => {
28
+ }), { t: V } = Te(), O = ye(() => {
30
29
  const e = y.language === "en" ? "Please enter " : "请输入";
31
30
  return {
32
31
  username: [
@@ -40,8 +39,8 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
40
39
  {
41
40
  required: !0,
42
41
  trigger: "blur",
43
- validator: (o, p, i) => {
44
- p.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
42
+ validator: (t, d, i) => {
43
+ d.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
45
44
  },
46
45
  message: `${e}${V("login.password")}`
47
46
  }
@@ -56,93 +55,89 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
56
55
  };
57
56
  });
58
57
  function W(e) {
59
- const { key: o } = e;
60
- R.value = o && o.length === 1 && o >= "A" && o <= "Z";
58
+ const { key: t } = e;
59
+ R.value = t && t.length === 1 && t >= "A" && t <= "Z";
61
60
  }
62
- function f() {
63
- se().then(({ data: e }) => {
61
+ function g() {
62
+ le().then(({ data: e }) => {
64
63
  r.value.captchaKey = e.captchaId, D.value = e.base64Image;
65
64
  });
66
65
  }
67
66
  function j() {
68
- le().then(({ data: e }) => {
69
- console.log(e), E.value = e.roleList;
67
+ ae().then(({ data: e }) => {
68
+ E.value = e.roleList;
70
69
  });
71
70
  }
72
- const M = Te(), P = oe();
71
+ const M = qe(), P = oe();
73
72
  function S() {
74
73
  L.value.validate((e) => {
75
74
  e && (C.value = !0, P.login(r.value).then(() => {
76
- const o = M.query;
77
- console.log(o);
78
- const p = o.redirect ?? "/";
79
- console.log(p);
80
- const i = Object.keys(o).reduce(
81
- (u, d) => (console.log(u[d], o[d]), d !== "redirect" && (u[d] = o[d]), u),
75
+ const t = M.query, d = t.redirect ?? "/", i = Object.keys(t).reduce(
76
+ (f, p) => (p !== "redirect" && (f[p] = t[p]), f),
82
77
  {}
83
78
  );
84
- console.log(i), ne.value.push({ path: p, query: i }), f();
79
+ ne.value.push({ path: d, query: i }), g();
85
80
  }).catch(() => {
86
- f();
81
+ g();
87
82
  }).finally(() => {
88
83
  C.value = !1;
89
84
  }));
90
85
  });
91
86
  }
92
- return ye(() => {
93
- f(), j();
87
+ return Ce(() => {
88
+ g(), j();
94
89
  const e = x().theme;
95
90
  x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
96
- }), (e, o) => {
97
- const p = ae, i = re, u = ce, d = ie, h = he, b = de, H = pe, Q = ge, Y = fe, Z = Ce("router-link"), G = ue, J = _e;
91
+ }), (e, t) => {
92
+ const d = re, i = ce, f = ie, p = de, h = ve, b = pe, H = ue, Q = fe, Y = he, Z = Ee("router-link"), G = me, J = ge;
98
93
  return v(), q("div", Ue, [
99
- n("div", Ae, [
100
- s(p, {
101
- modelValue: t(k),
102
- "onUpdate:modelValue": o[0] || (o[0] = (l) => Ee(k) ? k.value = l : null),
94
+ a("div", Ae, [
95
+ s(d, {
96
+ modelValue: o(k),
97
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => Ve(k) ? k.value = l : null),
103
98
  "inline-prompt": "",
104
99
  "active-color": "var(--el-fill-color-dark)",
105
100
  "inactive-color": "var(--el-color-primary)",
106
101
  onChange: X
107
102
  }, null, 8, ["modelValue"]),
108
- s(qe, { class: "ml-2 cursor-pointer" })
103
+ s(te, { class: "ml-2 cursor-pointer" })
109
104
  ]),
110
105
  s(J, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
111
- default: a(() => [
112
- n("div", Be, [
113
- n("h2", null, $(t(N)), 1),
106
+ default: n(() => [
107
+ a("div", Be, [
108
+ a("h2", null, I(o(N)), 1),
114
109
  s(i, { class: "ml-2 absolute top-0 right-0" }, {
115
- default: a(() => [
116
- I($(t(K)), 1)
110
+ default: n(() => [
111
+ $(I(o(K)), 1)
117
112
  ]),
118
113
  _: 1
119
114
  })
120
115
  ]),
121
- s(t(B), {
116
+ s(o(B), {
122
117
  ref_key: "loginFormRef",
123
118
  ref: L,
124
- model: t(r),
125
- rules: t(O),
119
+ model: o(r),
120
+ rules: o(O),
126
121
  size: "large",
127
122
  class: "login-form"
128
123
  }, {
129
- default: a(() => [
130
- t(E).length > 0 ? (v(), U(h, {
124
+ default: n(() => [
125
+ o(E).length > 0 ? (v(), U(h, {
131
126
  key: 0,
132
127
  prop: "scope"
133
128
  }, {
134
- default: a(() => [
135
- n("div", Fe, [
136
- s(m, { "icon-class": "user" })
129
+ default: n(() => [
130
+ a("div", Fe, [
131
+ s(u, { "icon-class": "user" })
137
132
  ]),
138
- s(d, {
139
- modelValue: t(r).scope,
140
- "onUpdate:modelValue": o[1] || (o[1] = (l) => t(r).scope = l),
133
+ s(p, {
134
+ modelValue: o(r).scope,
135
+ "onUpdate:modelValue": t[1] || (t[1] = (l) => o(r).scope = l),
141
136
  placeholder: "Select",
142
137
  class: "flex-1"
143
138
  }, {
144
- default: a(() => [
145
- (v(!0), q(Ve, null, Se(t(E), (l) => (v(), U(u, {
139
+ default: n(() => [
140
+ (v(!0), q(Se, null, be(o(E), (l) => (v(), U(f, {
146
141
  key: l.roleCode,
147
142
  label: l.roleName,
148
143
  value: l.roleCode
@@ -152,16 +147,16 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
152
147
  }, 8, ["modelValue"])
153
148
  ]),
154
149
  _: 1
155
- })) : be("", !0),
150
+ })) : xe("", !0),
156
151
  s(h, { prop: "username" }, {
157
- default: a(() => [
158
- n("div", Ne, [
159
- s(m, { "icon-class": "user" })
152
+ default: n(() => [
153
+ a("div", Ne, [
154
+ s(u, { "icon-class": "user" })
160
155
  ]),
161
156
  s(b, {
162
157
  ref: "username",
163
- modelValue: t(r).username,
164
- "onUpdate:modelValue": o[2] || (o[2] = (l) => t(r).username = l),
158
+ modelValue: o(r).username,
159
+ "onUpdate:modelValue": t[2] || (t[2] = (l) => o(r).username = l),
165
160
  class: "flex-1",
166
161
  placeholder: e.$t("login.username"),
167
162
  name: "username"
@@ -170,34 +165,34 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
170
165
  _: 1
171
166
  }),
172
167
  s(H, {
173
- disabled: t(R) === !1,
168
+ disabled: o(R) === !1,
174
169
  content: "Caps lock is On",
175
170
  placement: "right"
176
171
  }, {
177
- default: a(() => [
172
+ default: n(() => [
178
173
  s(h, { prop: "password" }, {
179
- default: a(() => [
180
- n("span", Ke, [
181
- s(m, { "icon-class": "password" })
174
+ default: n(() => [
175
+ a("span", Ke, [
176
+ s(u, { "icon-class": "password" })
182
177
  ]),
183
178
  s(b, {
184
- modelValue: t(r).password,
185
- "onUpdate:modelValue": o[3] || (o[3] = (l) => t(r).password = l),
179
+ modelValue: o(r).password,
180
+ "onUpdate:modelValue": t[3] || (t[3] = (l) => o(r).password = l),
186
181
  class: "flex-1",
187
182
  placeholder: e.$t("login.password"),
188
- type: t(g) === !1 ? "password" : "input",
183
+ type: o(_) === !1 ? "password" : "input",
189
184
  name: "password",
190
185
  onKeyup: [
191
186
  W,
192
187
  A(S, ["enter"])
193
188
  ]
194
189
  }, null, 8, ["modelValue", "placeholder", "type"]),
195
- n("span", {
190
+ a("span", {
196
191
  class: "mr-2",
197
- onClick: o[4] || (o[4] = (l) => g.value = !t(g))
192
+ onClick: t[4] || (t[4] = (l) => _.value = !o(_))
198
193
  }, [
199
- s(m, {
200
- "icon-class": t(g) === !1 ? "eye" : "eye-open",
194
+ s(u, {
195
+ "icon-class": o(_) === !1 ? "eye" : "eye-open",
201
196
  class: "cursor-pointer"
202
197
  }, null, 8, ["icon-class"])
203
198
  ])
@@ -208,26 +203,26 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
208
203
  _: 1
209
204
  }, 8, ["disabled"]),
210
205
  s(h, { prop: "captchaCode" }, {
211
- default: a(() => [
212
- n("span", Xe, [
213
- s(m, { "icon-class": "captcha" })
206
+ default: n(() => [
207
+ a("span", Xe, [
208
+ s(u, { "icon-class": "captcha" })
214
209
  ]),
215
210
  s(b, {
216
- modelValue: t(r).captchaCode,
217
- "onUpdate:modelValue": o[5] || (o[5] = (l) => t(r).captchaCode = l),
211
+ modelValue: o(r).captchaCode,
212
+ "onUpdate:modelValue": t[5] || (t[5] = (l) => o(r).captchaCode = l),
218
213
  "auto-complete": "off",
219
214
  placeholder: e.$t("login.captchaCode"),
220
215
  class: "w-[60%]",
221
216
  onKeyup: A(S, ["enter"])
222
217
  }, null, 8, ["modelValue", "placeholder"]),
223
- n("div", ze, [
218
+ a("div", ze, [
224
219
  s(Y, {
225
- src: t(D),
226
- onClick: f,
220
+ src: o(D),
221
+ onClick: g,
227
222
  class: "w-[130px] h-[50px] cursor-pointer"
228
223
  }, {
229
- error: a(() => [
230
- n("div", Oe, [
224
+ error: n(() => [
225
+ a("div", Oe, [
231
226
  s(Q)
232
227
  ])
233
228
  ]),
@@ -237,22 +232,22 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
237
232
  ]),
238
233
  _: 1
239
234
  }),
240
- n("div", We, [
235
+ a("div", We, [
241
236
  s(Z, { to: "/secondLogin" }, {
242
- default: a(() => [
243
- I("手机号/邮箱登录")
237
+ default: n(() => [
238
+ $("手机号/邮箱登录")
244
239
  ]),
245
240
  _: 1
246
241
  })
247
242
  ]),
248
243
  s(G, {
249
- loading: t(C),
244
+ loading: o(C),
250
245
  type: "primary",
251
246
  class: "w-full",
252
- onClick: xe(S, ["prevent"])
247
+ onClick: Ie(S, ["prevent"])
253
248
  }, {
254
- default: a(() => [
255
- I($(e.$t("login.login")), 1)
249
+ default: n(() => [
250
+ $(I(e.$t("login.login")), 1)
256
251
  ]),
257
252
  _: 1
258
253
  }, 8, ["loading"])
@@ -262,13 +257,13 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
262
257
  ]),
263
258
  _: 1
264
259
  }),
265
- $e(n("div", je, He, 512), [
266
- [Ie, t(T)().device == "desktop"]
260
+ $e(a("div", je, He, 512), [
261
+ [Re, o(T)().device == "desktop"]
267
262
  ])
268
263
  ]);
269
264
  };
270
265
  }
271
- }), ao = /* @__PURE__ */ me(Ye, [["__scopeId", "data-v-e78a2e87"]]);
266
+ }), ao = /* @__PURE__ */ _e(Ye, [["__scopeId", "data-v-40e0eaf8"]]);
272
267
  export {
273
268
  ao as default
274
269
  };
@@ -1,12 +1,11 @@
1
- import { b as ke, i as Ee, u as ne, _ as ue, d as Ve, E as we, w as ot, a as at, c as dn, e as vt, f as fn, U as _t, g as ve, h as Fe, C as mn, j as Et, k as zt, l as pn, m as hn, n as vn, o as _n, p as gn, q as bn, r as Ue, s as yn, t as Tt, v as Ht, x as Wt, y as qt, z as It, A as re, B as kn, D as Cn, F as Mn, G as $n, H as wn, I as Sn, J as Ze, K as ut, L as xn, T as En, M as tt, N as Tn, O as At, P as In, Q as An, R as Pn, S as Vn, V as Ln, W as _e, X as Nn, Y as Ne, Z as bt, $ as On, a0 as Se, a1 as Je, a2 as Bn, a3 as ze, a4 as ie, a5 as Pt, a6 as Vt, a7 as je, a8 as ct, a9 as Rn, aa as Fn, ab as Dn, ac as zn, ad as Hn, ae as yt, af as He, ag as Wn } from "./index-oYpGc2kq.mjs";
2
- import { E as Kt, a as Ut, b as jt, _ as qn } from "./index.vue_vue_type_script_setup_true_lang-l0b1jTR4.mjs";
1
+ import { b as ke, i as Ee, u as ne, _ as ue, d as Ve, E as we, w as ot, a as at, c as dn, e as vt, f as fn, U as _t, g as ve, h as Fe, C as mn, j as Et, k as zt, l as pn, m as hn, n as vn, o as _n, p as gn, q as bn, r as Ue, s as yn, t as Tt, v as Ht, x as Wt, y as qt, z as It, A as re, B as kn, D as Cn, F as Mn, G as $n, H as wn, I as Sn, J as Ze, K as ut, L as xn, T as En, M as tt, N as Tn, O as At, P as In, Q as An, R as Pn, S as Vn, V as Ln, W as _e, X as Nn, Y as Ne, Z as Kt, $ as Ut, a0 as jt, a1 as bt, a2 as On, a3 as Se, a4 as Je, a5 as Bn, a6 as ze, a7 as Rn, a8 as ie, a9 as Pt, aa as Vt, ab as je, ac as ct, ad as Fn, ae as Dn, af as zn, ag as Hn, ah as Wn, ai as yt, aj as He, ak as qn } from "./index-BCUHPnNY.mjs";
3
2
  import { defineComponent as D, ref as T, provide as We, onMounted as pe, openBlock as m, createElementBlock as M, normalizeClass as w, unref as r, renderSlot as ae, getCurrentInstance as ge, inject as Le, createElementVNode as C, createBlock as L, withCtx as $, resolveDynamicComponent as lt, toDisplayString as K, shallowRef as Lt, watch as ee, computed as E, normalizeStyle as ye, watchEffect as kt, Fragment as oe, renderList as xe, reactive as st, nextTick as Me, withDirectives as $e, withKeys as Nt, createVNode as _, createCommentVNode as H, createTextVNode as Q, vShow as qe, useSlots as Kn, Teleport as Un, Transition as rt, mergeProps as Xt, withModifiers as Te, onBeforeUnmount as Gt, h as te, toRef as jn, resolveComponent as Oe, isRef as nt, onBeforeMount as Xn, TransitionGroup as Gn, pushScopeId as Yn, popScopeId as Zn, KeepAlive as Jn, normalizeProps as Qn, guardReactiveProps as eo } from "vue";
4
3
  import { useRoute as Xe, useRouter as Ct } from "vue-router";
5
- import { _ as to } from "./updatePwd.vue_vue_type_script_setup_true_lang-rskuizxf.mjs";
6
- import { t as Qe, _ as no, E as oo } from "./runAs.vue_vue_type_script_setup_true_lang-BRFyVHr9.mjs";
7
- import { g as Mt } from "./position-C2f9hf-1.mjs";
4
+ import { _ as to } from "./updatePwd.vue_vue_type_script_setup_true_lang-BXZiwPnZ.mjs";
5
+ import { t as Qe, _ as no, E as oo } from "./runAs.vue_vue_type_script_setup_true_lang-ZxwSmO7-.mjs";
6
+ import { g as Mt } from "./position-sn9Bb9uG.mjs";
8
7
  import { storeToRefs as ao } from "pinia";
9
- import { _ as lo } from "./index-BTC09X9C.mjs";
8
+ import { _ as lo } from "./index-CUSZn22T.mjs";
10
9
  const Yt = Symbol("breadcrumbKey"), so = ke({
11
10
  separator: {
12
11
  type: String,
@@ -1896,7 +1895,7 @@ const ka = at($t), Ca = /* @__PURE__ */ D({
1896
1895
  i.value = k;
1897
1896
  }
1898
1897
  return (k, S) => {
1899
- const R = Ne, N = Ca, b = Ue, Z = qn, Y = Kt, O = Oe("router-link"), j = Ut, P = jt;
1898
+ const R = Ne, N = Ca, b = Ue, Z = Rn, Y = Kt, O = Oe("router-link"), j = Ut, P = jt;
1900
1899
  return m(), M("div", Ma, [
1901
1900
  r(u) ? H("", !0) : (m(), M(oe, { key: 0 }, [
1902
1901
  C("div", {
@@ -2451,7 +2450,7 @@ const Be = (e) => (Yn("data-v-2bdf1403"), e = e(), Zn(), e), Ka = { class: "flex
2451
2450
  return null;
2452
2451
  }
2453
2452
  return (p, v) => {
2454
- const g = Dn, k = zn, S = al, R = nl, N = ta;
2453
+ const g = zn, k = Hn, S = al, R = nl, N = ta;
2455
2454
  return m(), L(N, {
2456
2455
  modelValue: r(a),
2457
2456
  "onUpdate:modelValue": v[7] || (v[7] = (b) => nt(a) ? a.value = b : null),
@@ -2469,8 +2468,8 @@ const Be = (e) => (Yn("data-v-2bdf1403"), e = e(), Zn(), e), Ka = { class: "flex
2469
2468
  _(k, {
2470
2469
  modelValue: r(u),
2471
2470
  "onUpdate:modelValue": v[0] || (v[0] = (b) => nt(u) ? u.value = b : null),
2472
- "active-icon": r(Rn),
2473
- "inactive-icon": r(Fn),
2471
+ "active-icon": r(Fn),
2472
+ "inactive-icon": r(Dn),
2474
2473
  onChange: i
2475
2474
  }, null, 8, ["modelValue", "active-icon", "inactive-icon"])
2476
2475
  ]),
@@ -2772,7 +2771,7 @@ var Ae = {
2772
2771
  };
2773
2772
  Ae.posix = Ae;
2774
2773
  var rn = Ae;
2775
- const un = /* @__PURE__ */ Hn(rn), xl = { class: "tags-container" }, El = /* @__PURE__ */ D({
2774
+ const un = /* @__PURE__ */ Wn(rn), xl = { class: "tags-container" }, El = /* @__PURE__ */ D({
2776
2775
  __name: "index",
2777
2776
  setup(e) {
2778
2777
  const { proxy: n } = ge(), t = Ct(), o = Xe(), s = je(), a = bt(), l = _e(), { visitedViews: u } = ao(a), i = Se(), c = E(() => i.layout), f = T({
@@ -3392,7 +3391,7 @@ const un = /* @__PURE__ */ Hn(rn), xl = { class: "tags-container" }, El = /* @__
3392
3391
  "layout-left": l.value === "left",
3393
3392
  "layout-top": l.value === "top",
3394
3393
  "layout-mix": l.value === "mix"
3395
- })), f = Wn().width;
3394
+ })), f = qn().width;
3396
3395
  kt(() => {
3397
3396
  f.value < Jl ? (n.toggleDevice(Je.MOBILE), n.closeSideBar()) : (n.toggleDevice(Je.DESKTOP), f.value >= 1200 ? n.openSideBar() : n.closeSideBar());
3398
3397
  });
@@ -3453,7 +3452,7 @@ const un = /* @__PURE__ */ Hn(rn), xl = { class: "tags-container" }, El = /* @__
3453
3452
  ], 2);
3454
3453
  };
3455
3454
  }
3456
- }), fs = /* @__PURE__ */ ie(Ql, [["__scopeId", "data-v-71891bc2"]]);
3455
+ }), ds = /* @__PURE__ */ ie(Ql, [["__scopeId", "data-v-71891bc2"]]);
3457
3456
  export {
3458
- fs as default
3457
+ ds as default
3459
3458
  };
package/dist/index.mjs CHANGED
@@ -1,51 +1,51 @@
1
- import { b_ as e, b$ as t, ch as r, c0 as o, c1 as c, cf as i, cg as u, cb as b, cc as n, cd as p, ce as g, ci as d, c5 as P, bQ as S, bR as M, bM as l, bX as E, bY as m, bO as D, bN as k, c2 as f, an as v, bW as L, a5 as R, bP as y, bL as A, c9 as H, a6 as h, bA as B, as as T, c6 as U, bS as V, ca as W, bV as z, bT as C, bU as x, W as Q, c7 as Z, bZ as $, c3 as q, a7 as w, bB as F, a0 as N, c4 as O, Z as X, $ as Y, c8 as _, ap as j } from "./index-oYpGc2kq.mjs";
1
+ import { bO as e, bP as t, c5 as r, bQ as o, bR as b, c3 as u, c4 as i, b$ as c, c0 as n, c1 as p, c2 as g, c6 as d, bV as P, bE as S, bF as E, bA as M, bL as l, bM as D, bC as m, bB as k, bS as v, ar as H, bK as L, a9 as R, bD as f, bz as y, bZ as A, aa as z, bo as B, aw as C, bW as T, bG as U, b_ as V, bJ as W, bH as h, bI as w, W as x, bX as F, bN as Q, bT as q, ab as G, bp as I, a3 as J, bU as K, a1 as N, a2 as O, bY as X, at as Y } from "./index-BCUHPnNY.mjs";
2
2
  export {
3
3
  e as BizDict,
4
4
  t as BizLayDict,
5
5
  r as DashboardPage,
6
6
  o as EnableBizDict,
7
- c as EnumDict,
8
- i as Error401Page,
9
- u as Error404Page,
10
- b as Layout,
7
+ b as EnumDict,
8
+ u as Error401Page,
9
+ i as Error404Page,
10
+ c as Layout,
11
11
  n as LoginPage,
12
12
  p as MultiFactorLoginPage,
13
13
  g as ProfilePage,
14
14
  d as RedirectPage,
15
15
  P as TableHooks,
16
16
  S as addViteMenus,
17
- M as addWebpackMenus,
18
- l as axiosConfig,
19
- E as clearEmpty,
20
- m as deepMerge,
21
- D as default,
17
+ E as addWebpackMenus,
18
+ M as axiosConfig,
19
+ l as clearEmpty,
20
+ D as deepMerge,
21
+ m as default,
22
22
  k as directive,
23
- f as enumMapCache,
24
- v as getCaptchaApi,
23
+ v as enumMapCache,
24
+ H as getCaptchaApi,
25
25
  L as getQueryParams,
26
26
  R as i18n,
27
- y as menus,
28
- A as request,
29
- H as resetRouter,
30
- h as routerRef,
27
+ f as menus,
28
+ y as request,
29
+ A as resetRouter,
30
+ z as routerRef,
31
31
  B as runAsUser,
32
- T as selectDsdRoles,
33
- U as store,
34
- V as updateMetaEnv,
35
- W as updateRouter,
36
- z as updateSettings,
37
- C as updateViteMetaEnv,
38
- x as updateWebpackMetaEnv,
39
- Q as useAppStore,
40
- Z as useAppStoreHook,
41
- $ as useDictionary,
32
+ C as selectDsdRoles,
33
+ T as store,
34
+ U as updateMetaEnv,
35
+ V as updateRouter,
36
+ W as updateSettings,
37
+ h as updateViteMetaEnv,
38
+ w as updateWebpackMetaEnv,
39
+ x as useAppStore,
40
+ F as useAppStoreHook,
41
+ Q as useDictionary,
42
42
  q as useListData,
43
- w as usePermissionStore,
44
- F as usePermissionStoreHook,
45
- N as useSettingsStore,
46
- O as useTableHooks,
47
- X as useTagsViewStore,
48
- Y as useUserStore,
49
- _ as useUserStoreHook,
50
- j as vueMetaEnv
43
+ G as usePermissionStore,
44
+ I as usePermissionStoreHook,
45
+ J as useSettingsStore,
46
+ K as useTableHooks,
47
+ N as useTagsViewStore,
48
+ O as useUserStore,
49
+ X as useUserStoreHook,
50
+ Y as vueMetaEnv
51
51
  };