@jnrs/vue-core 1.2.8 → 1.2.10

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,8 +1,8 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".jn_globalSetting_header{margin-bottom:0;padding-bottom:20px}.jn_globalSetting_item[data-v-c92f56b2]{margin-bottom:20px}.jn_imageView[data-v-8977f80c]{display:block;width:100%;height:100%}.jn_imageView .jn_imageView_error[data-v-8977f80c]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.8em;line-height:1.1em;text-align:center;filter:opacity(.7)}.jn_image_view_icon[data-v-8977f80c]:hover{color:var(--jnrs-color-primary);transform:scale(1.2);transition:all .3s ease}.jn_fileView[data-v-d95b99b8]{display:block;width:100%;height:100%;line-height:1em;cursor:pointer}.jn_fileView:hover .jn_fileView_button[data-v-d95b99b8]{color:var(--jnrs-color-primary)}.jn_fileView .jn_fileView_fileName[data-v-d95b99b8]{font-size:.8em;color:var(--jnrs-font-primary-06);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jn_fileView .jn_fileView_button[data-v-d95b99b8]{height:auto;padding:0;text-decoration:underline;font-size:.9em;transition:all .3s ease}.jn_fileUpload[data-v-2979c34e]{position:relative;width:100%;color:var(--jnrs-font-primary-06)}.jn_fileUpload[data-v-2979c34e] .el-upload-dragger{padding:30px 0 10px}.jn_fileUpload .jn_uploadTips[data-v-2979c34e]{display:block;width:100%;margin-top:5px;line-height:1.2em}.jn_fileUpload .jn_uploadTips span[data-v-2979c34e]{display:inline-block;margin-right:10px}.jn_fileUpload .jn_uploadTips b[data-v-2979c34e]{color:var(--el-color-danger, #ff3300)}.jn_fileUpload .jn_uploadTips_isDrag[data-v-2979c34e]{position:absolute;top:4px;left:0;text-align:center}.jn_fileUpload .jn_fileList[data-v-2979c34e]{width:100%}.jn_fileUpload .jn_fileList .jn_fileLis_item[data-v-2979c34e]{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding:5px 0;border:1px solid var(--jnrs-font-primary-03);background:var(--jnrs-background-primary)}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_left[data-v-2979c34e]{flex:1;position:relative;display:flex;align-items:center;justify-content:flex-start;padding-right:50px;line-height:1.1em}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_right[data-v-2979c34e]{flex-shrink:0;width:60px;display:flex;align-items:center;justify-content:flex-end;padding-right:4px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_index[data-v-2979c34e]{flex-shrink:0;width:20px;height:20px;line-height:20px;text-align:center}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_icon[data-v-2979c34e]{flex-shrink:0;width:20px;height:20px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_name[data-v-2979c34e]{padding:0 4px;word-break:break-all}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_size[data-v-2979c34e]{position:absolute;right:0;width:50px;color:#999;white-space:nowrap;text-align:right}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn[data-v-2979c34e]{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin:0 2px;border-radius:3px;font-size:16px;color:var(--el-color-primary, #5887f7);transition:all .3s ease;cursor:pointer}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn[data-v-2979c34e]:hover{background-color:var(--jnrs-card-primary)}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn_danger[data-v-2979c34e]{color:var(--el-color-danger, #ff3300)}.jnImportAndExport_button.is-text[data-v-32a46b54]{padding:0}.jnImportAndExport_underlineBtn[data-v-32a46b54]{display:inline-block;margin-right:36px;color:#3697fc;text-decoration:underline;cursor:pointer}.jnImportAndExport_underlineBtn[data-v-32a46b54]:hover{opacity:.8}.jn_table[data-v-8f78b1fa]{width:100%}.jn_table[data-v-8f78b1fa] .jn_table_header{color:var(--jnrs-font-primary)!important;background:var(--jnrs-background-head)!important}.jn_table[data-v-8f78b1fa] .jn_table_header .cell{padding:0 8px;line-height:1.2em}.jn_selectTemplate[data-v-6f3c4b57]{display:flex;align-items:center;font-size:0}.jn_selectTemplate .jn_select[data-v-6f3c4b57]{flex:1;right:-1px;z-index:1}.jn_selectTemplate .jn_select[data-v-6f3c4b57] .el-select__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.jn_selectTemplate .jn_select_button[data-v-6f3c4b57]{border-radius:0 3px 3px 0}.t_select_button_only[data-v-6f3c4b57]{margin-left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.jn_dialog_header[data-v-6f3c4b57]{display:flex;align-items:center}[data-v-6f3c4b57] .el-input__validateIcon{display:none}[data-v-6f3c4b57] th .el-checkbox--small{display:none!important}[data-v-6f3c4b57] .el-table__row{cursor:pointer}.tableIsSingle[data-v-6f3c4b57] .el-checkbox__inner{border-radius:50%}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".jn_globalSetting_header{margin-bottom:0;padding-bottom:20px}.jn_globalSetting_item[data-v-c92f56b2]{margin-bottom:20px}.jn_imageView[data-v-8977f80c]{display:block;width:100%;height:100%}.jn_imageView .jn_imageView_error[data-v-8977f80c]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.8em;line-height:1.1em;text-align:center;filter:opacity(.7)}.jn_image_view_icon[data-v-8977f80c]:hover{color:var(--jnrs-color-primary);transform:scale(1.2);transition:all .3s ease}.jn_fileView[data-v-d95b99b8]{display:block;width:100%;height:100%;line-height:1em;cursor:pointer}.jn_fileView:hover .jn_fileView_button[data-v-d95b99b8]{color:var(--jnrs-color-primary)}.jn_fileView .jn_fileView_fileName[data-v-d95b99b8]{font-size:.8em;color:var(--jnrs-font-primary-06);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jn_fileView .jn_fileView_button[data-v-d95b99b8]{height:auto;padding:0;text-decoration:underline;font-size:.9em;transition:all .3s ease}.jn_fileUpload[data-v-004820d2]{position:relative;width:100%;color:var(--jnrs-font-primary-06)}.jn_fileUpload[data-v-004820d2] .el-upload-dragger{padding:30px 0 10px}.jn_fileUpload .jn_uploadTips[data-v-004820d2]{display:block;width:100%;margin-top:5px;line-height:1.2em}.jn_fileUpload .jn_uploadTips span[data-v-004820d2]{display:inline-block;margin-right:10px}.jn_fileUpload .jn_uploadTips b[data-v-004820d2]{color:var(--el-color-danger, #ff3300)}.jn_fileUpload .jn_uploadTips_isDrag[data-v-004820d2]{position:absolute;top:4px;left:0;text-align:center}.jn_fileUpload .jn_fileList[data-v-004820d2]{width:100%}.jn_fileUpload .jn_fileList .jn_fileLis_item[data-v-004820d2]{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding:5px 0;border:1px solid var(--jnrs-font-primary-03);background:var(--jnrs-background-primary)}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_left[data-v-004820d2]{flex:1;position:relative;display:flex;align-items:center;justify-content:flex-start;padding-right:50px;line-height:1.1em}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_right[data-v-004820d2]{flex-shrink:0;width:60px;display:flex;align-items:center;justify-content:flex-end;padding-right:4px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_index[data-v-004820d2]{flex-shrink:0;width:20px;height:20px;line-height:20px;text-align:center}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_icon[data-v-004820d2]{flex-shrink:0;width:20px;height:20px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_name[data-v-004820d2]{padding:0 4px;word-break:break-all}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_size[data-v-004820d2]{position:absolute;right:0;width:50px;color:#999;white-space:nowrap;text-align:right}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn[data-v-004820d2]{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin:0 2px;border-radius:3px;font-size:16px;color:var(--el-color-primary, #5887f7);transition:all .3s ease;cursor:pointer}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn[data-v-004820d2]:hover{background-color:var(--jnrs-card-primary)}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn_danger[data-v-004820d2]{color:var(--el-color-danger, #ff3300)}.jnImportAndExport_button.is-text[data-v-80709b7b]{padding:0}.jnImportAndExport_underlineBtn[data-v-80709b7b]{display:inline-block;margin-right:36px;color:#3697fc;text-decoration:underline;cursor:pointer}.jnImportAndExport_underlineBtn[data-v-80709b7b]:hover{opacity:.8}.jn_table[data-v-89d959fb]{width:100%}.jn_table[data-v-89d959fb] .jn_table_header{color:var(--jnrs-font-primary)!important;background:var(--jnrs-background-head)!important}.jn_table[data-v-89d959fb] .jn_table_header .cell{padding:0 8px;line-height:1.2em}.jn_selectTemplate[data-v-6ec9d84c]{display:flex;align-items:center;font-size:0}.jn_selectTemplate .jn_select[data-v-6ec9d84c]{flex:1;right:-1px;z-index:1}.jn_selectTemplate .jn_select[data-v-6ec9d84c] .el-select__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.jn_selectTemplate .jn_select_button[data-v-6ec9d84c]{border-radius:0 3px 3px 0}.jn_selectTemplate .jn_select_button[data-v-6ec9d84c]:hover{z-index:1}.t_select_button_only[data-v-6ec9d84c]{margin-left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.jn_dialog_header[data-v-6ec9d84c]{display:flex;align-items:center}[data-v-6ec9d84c] .el-input__validateIcon{display:none}[data-v-6ec9d84c] th .el-checkbox--small{display:none!important}[data-v-6ec9d84c] .el-table__row{cursor:pointer}.tableIsSingle[data-v-6ec9d84c] .el-checkbox__inner{border-radius:50%}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
2
  import { defineComponent as H, ref as B, createBlock as U, openBlock as h, unref as i, withCtx as f, createElementVNode as p, createVNode as v, toDisplayString as y, isRef as zt, createElementBlock as E, Fragment as X, renderList as ee, createTextVNode as D, computed as N, normalizeStyle as Ie, createCommentVNode as P, renderSlot as le, withDirectives as ke, normalizeClass as Pe, vShow as Vt, nextTick as te, withModifiers as Be, watch as Ae, onMounted as Ft, mergeProps as Xt } from "vue";
3
3
  import { storeToRefs as Ht } from "pinia";
4
4
  import { ElDrawer as xt, ElSwitch as Ot, ElRadioGroup as Ee, ElRadio as pe, ElImage as Kt, ElIcon as L, ElButton as V, ElDialog as mt, ElUpload as Mt, vLoading as De, ElMessage as G, ElForm as vt, ElFormItem as Rt, ElMessageBox as Ke, ElLoading as Qe, ElPagination as ht, ElTable as It, ElTableColumn as fe, ElSelect as Gt, ElOption as Nt, ElCheckbox as Jt } from "element-plus";
5
- import { u as qt, b as Yt, L as Zt, M as Wt, C as $t } from "../index-KdP2kDTZ.js";
5
+ import { u as qt, a as Yt, L as Zt, M as Wt, C as $t } from "../index-BFtkMENx.js";
6
6
  import { Back as _t, Right as ea, DArrowRight as ta, ZoomOut as aa, ZoomIn as na, Switch as la, RefreshLeft as ia, Refresh as oa, Download as Fe, Delete as Me, Upload as ra } from "@element-plus/icons-vue";
7
7
  import { downloadByUrl as Ct, downloadByBlob as Re, objectToFormData as sa } from "@jnrs/shared";
8
8
  import { useI18n as ua } from "vue-i18n";
@@ -506,7 +506,7 @@ const ga = { class: "jn_globalSetting_item" }, ma = { class: "jn_globalSetting_i
506
506
  ]) : P("", !0)
507
507
  ]));
508
508
  }
509
- }), dn = /* @__PURE__ */ Y(An, [["__scopeId", "data-v-2979c34e"]]), fn = /* @__PURE__ */ H({
509
+ }), dn = /* @__PURE__ */ Y(An, [["__scopeId", "data-v-004820d2"]]), fn = /* @__PURE__ */ H({
510
510
  __name: "JnImportAndExport",
511
511
  props: {
512
512
  importTemplateApi: { type: Function },
@@ -724,7 +724,7 @@ const ga = { class: "jn_globalSetting_item" }, ma = { class: "jn_globalSetting_i
724
724
  ], 64)) : P("", !0)
725
725
  ], 64));
726
726
  }
727
- }), Pr = /* @__PURE__ */ Y(fn, [["__scopeId", "data-v-32a46b54"]]), gn = { style: { opacity: "0.7", "font-size": "0.9em" } }, mn = { key: 1 }, Br = /* @__PURE__ */ H({
727
+ }), Pr = /* @__PURE__ */ Y(fn, [["__scopeId", "data-v-80709b7b"]]), gn = { style: { opacity: "0.7", "font-size": "0.9em" } }, mn = { key: 1 }, Br = /* @__PURE__ */ H({
728
728
  __name: "JnDatetime",
729
729
  props: {
730
730
  value: { default: "" },
@@ -1489,7 +1489,7 @@ const sr = /* @__PURE__ */ H({
1489
1489
  _: 3
1490
1490
  }, 8, ["row-key", "data", "height", "showScrollbar-always-on", "onMousedown"]));
1491
1491
  }
1492
- }), Tr = /* @__PURE__ */ Y(sr, [["__scopeId", "data-v-8f78b1fa"]]), ur = { key: 0 }, cr = { style: { float: "left" } }, Ar = {
1492
+ }), Tr = /* @__PURE__ */ Y(sr, [["__scopeId", "data-v-89d959fb"]]), ur = { key: 0 }, cr = { style: { float: "left" } }, Ar = {
1493
1493
  key: 0,
1494
1494
  style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "0.8em", "padding-left": "2em" }
1495
1495
  }, dr = { key: 0 }, fr = { class: "jn_dialog_header" }, gr = { style: { color: "#999", "font-size": "0.8em" } }, mr = {
@@ -1779,7 +1779,7 @@ const sr = /* @__PURE__ */ H({
1779
1779
  loading: s.value
1780
1780
  }, {
1781
1781
  default: f(() => [...b[8] || (b[8] = [
1782
- D("提交", -1)
1782
+ D("确定", -1)
1783
1783
  ])]),
1784
1784
  _: 1
1785
1785
  }, 8, ["loading"])
@@ -1862,7 +1862,7 @@ const sr = /* @__PURE__ */ H({
1862
1862
  }, 8, ["modelValue", "width"])
1863
1863
  ], 64));
1864
1864
  }
1865
- }), Ur = /* @__PURE__ */ Y(hr, [["__scopeId", "data-v-6f3c4b57"]]);
1865
+ }), Ur = /* @__PURE__ */ Y(hr, [["__scopeId", "data-v-6ec9d84c"]]);
1866
1866
  export {
1867
1867
  wr as GlobalSetting,
1868
1868
  Br as JnDatetime,
@@ -1,14 +1,14 @@
1
1
  import { c as G, u as K } from "../useMouseSelection-DU3qQWIm.js";
2
2
  import { ref as p, onDeactivated as x, onActivated as A, onUnmounted as D } from "vue";
3
3
  import { ElMessage as v } from "element-plus";
4
- import { a as L, u as _ } from "../index-KdP2kDTZ.js";
4
+ import { b as L, u as _ } from "../index-BFtkMENx.js";
5
5
  const { token: H } = L(), { isMock: R } = _();
6
6
  function z(O) {
7
7
  const {
8
8
  url: S,
9
- token: k = H,
9
+ token: b = H,
10
10
  connectionTimeoutDuration: C = 6e4,
11
- heartbeat: b = !1,
11
+ heartbeat: k = !1,
12
12
  heartbeatInterval: T = 3e4,
13
13
  heartbeatTimeout: N = 1e4,
14
14
  showLog: i = !1,
@@ -42,7 +42,7 @@ function z(O) {
42
42
  }, w = () => {
43
43
  if (e.value?.readyState === WebSocket.OPEN) return;
44
44
  e.value && e.value.close(), g(), t && clearTimeout(t);
45
- const n = k ? [k] : void 0;
45
+ const n = b ? [b] : void 0;
46
46
  e.value = new WebSocket(h, n), t = setTimeout(() => {
47
47
  e.value && e.value.readyState !== WebSocket.OPEN && (o = "WebSocket 连接超时", f.value = !1, s.value = !1, u.value = "连接超时", i && console.error(o), c && v({
48
48
  message: o,
@@ -58,7 +58,7 @@ function z(O) {
58
58
  grouping: !0,
59
59
  showClose: !0,
60
60
  duration: 3e3
61
- }), E?.(), b && (g(), r = setInterval(W, T));
61
+ }), E?.(), k && (g(), r = setInterval(W, T));
62
62
  }, e.value.onmessage = (l) => {
63
63
  if (u.value = "数据接收中", typeof l.data == "string")
64
64
  try {
@@ -110,7 +110,7 @@ function z(O) {
110
110
  return w(), x(() => {
111
111
  r && (clearInterval(r), r = null), a && (clearTimeout(a), a = null);
112
112
  }), A(() => {
113
- s.value && b && (r = setInterval(W, T));
113
+ s.value && k && (r = setInterval(W, T));
114
114
  }), D(() => {
115
115
  d();
116
116
  }), {
@@ -3,7 +3,7 @@
3
3
  * @WeChat : Tan578853789
4
4
  * @File : useMouseSelection.ts
5
5
  * @Date : 2025/04/14
6
- * @Desc. : 鼠标框选表格进行多选、回车执行回调
6
+ * @Desc. : 鼠标框选表格进行多选
7
7
  */
8
8
  /**
9
9
  * @param {*} containerClass 表格或容器类名,默认值 el-table,如果页面存在多个表格,则必须分别传入自定义类名
@@ -3,7 +3,7 @@ import { defineStore as p } from "pinia";
3
3
  import { ref as s, computed as k, watch as S } from "vue";
4
4
  import { Fullscreen as j } from "@jnrs/shared";
5
5
  import { usePreferredDark as O } from "@vueuse/core";
6
- import { a as C } from "./index-Ci9uljtG.js";
6
+ import { a as C } from "./index-GnfhAnhF.js";
7
7
  const M = p(
8
8
  "jnrs-app-mock",
9
9
  () => ({ isMock: s(!1) }),
@@ -193,8 +193,8 @@ export {
193
193
  U as C,
194
194
  w as L,
195
195
  G as M,
196
- D as a,
197
- R as b,
196
+ R as a,
197
+ D as b,
198
198
  F as c,
199
199
  J as i,
200
200
  M as u
@@ -3,28 +3,33 @@ const h = {
3
3
  history: p(),
4
4
  routes: []
5
5
  };
6
- let n, s, i, m;
7
- const f = ({ options: o, fileModules: t, layoutName: e, globalComponent: a, handleBeforeEach: r }) => (s = t, e && (i = e), a && (m = a), n = d({ ...h, ...o }), n.beforeEach(
8
- async (c, u) => r?.(c, u)
9
- ), n), g = async (o, t = "push") => {
6
+ let a, s, i, m;
7
+ const f = ({ options: o, fileModules: t, layoutName: e, globalComponent: n, handleBeforeEach: r }) => (s = t, e && (i = e), n && (m = n), a = d({ ...h, ...o }), a.beforeEach(
8
+ async (c, l) => r?.(c, l)
9
+ ), a), g = async (o, t = "push") => {
10
10
  try {
11
- return await n[t](o);
11
+ return await a[t](o);
12
12
  } catch (e) {
13
- n[t]({ name: "404" }), console.warn(`router.${t} 失败`, {
13
+ a[t]({ name: "404" }), console.warn(`router.${t} 失败`, {
14
14
  code: "ROUTER_NOT_MATCH",
15
15
  message: "未匹配到有效路由",
16
16
  error: o || e,
17
17
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
18
18
  });
19
19
  }
20
- }, _ = (o) => s[`/src/views${o}.vue`], l = async (o, t) => {
20
+ }, _ = (o) => s[`/src/views${o}.vue`], u = async (o, t) => {
21
21
  for (const e of o) {
22
22
  if (e.meta.fullPathTitle = t ? t.meta.fullPathTitle + "," + e.meta.title : e.meta.title, !e.component) {
23
- e.children && e.children.length > 0 && l(e.children, e);
23
+ e.redirect && a.addRoute({
24
+ path: e.path,
25
+ name: e.name,
26
+ meta: e.meta,
27
+ redirect: e.redirect
28
+ }), e.children && e.children.length > 0 && await u(e.children, e);
24
29
  continue;
25
30
  }
26
- const a = e.component.replace(/[^a-zA-Z0-9/._-]/g, "");
27
- if (!a.startsWith("/") || a.includes("..")) {
31
+ const n = e.component.replace(/[^a-zA-Z0-9/._-]/g, "");
32
+ if (!n.startsWith("/") || n.includes("..")) {
28
33
  console.warn("[Router] 组件加载失败", {
29
34
  code: "INVALID_COMPONENT_PATH",
30
35
  message: "组件路径拼写不符合规则,应以 '/' 开头且不能包含 '..',请检查 component 字段是否配置正确",
@@ -37,7 +42,7 @@ const f = ({ options: o, fileModules: t, layoutName: e, globalComponent: a, hand
37
42
  });
38
43
  continue;
39
44
  }
40
- const r = _(a);
45
+ const r = _(n);
41
46
  if (!r) {
42
47
  console.warn("[Router] 组件加载失败", {
43
48
  code: "COMPONENT_NOT_FOUND",
@@ -72,11 +77,11 @@ const f = ({ options: o, fileModules: t, layoutName: e, globalComponent: a, hand
72
77
  component: () => r()
73
78
  }
74
79
  ]
75
- }), n.addRoute(c)) : n.addRoute(i, c);
80
+ }), a.addRoute(c)) : a.addRoute(i, c);
76
81
  }
77
82
  }, O = () => {
78
83
  const o = [];
79
- for (const t of n.getRoutes())
84
+ for (const t of a.getRoutes())
80
85
  o.push({
81
86
  name: t.name,
82
87
  path: t.path,
@@ -85,7 +90,7 @@ const f = ({ options: o, fileModules: t, layoutName: e, globalComponent: a, hand
85
90
  return o;
86
91
  }, T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
87
92
  __proto__: null,
88
- asyncGenerateRoute: l,
93
+ asyncGenerateRoute: u,
89
94
  createVueRouter: f,
90
95
  getRoutes: O,
91
96
  handleRouter: g
@@ -95,7 +100,7 @@ console.log(
95
100
  'background: #42B883; color: #39495C; font-weight: bold; padding: 4px 8px; border-radius: 4px; font-family: "Helvetica Neue", sans-serif;'
96
101
  );
97
102
  export {
98
- l as a,
103
+ u as a,
99
104
  f as b,
100
105
  T as c,
101
106
  O as g,
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export type * from './types/base';
2
2
  export * as vueRouter from './vueRouter/createVueRouter';
3
3
  export * as piniaStore from './piniaStore/index';
4
- export * as request from './request/index';
package/dist/index.js CHANGED
@@ -1,12 +1,10 @@
1
- import { c as r } from "./index-Ci9uljtG.js";
2
- import { i } from "./index-KdP2kDTZ.js";
3
- import { i as t } from "./index-BVrPZ7_E.js";
1
+ import { c as r } from "./index-GnfhAnhF.js";
2
+ import { i } from "./index-BFtkMENx.js";
4
3
  console.log(
5
4
  "%c✨ 欢迎使用 @jnrs/vue-core",
6
5
  'background: #42B883; color: #39495C; font-weight: bold; padding: 4px 8px; border-radius: 4px; font-family: "Helvetica Neue", sans-serif;'
7
6
  );
8
7
  export {
9
8
  i as piniaStore,
10
- t as request,
11
9
  r as vueRouter
12
10
  };
@@ -1,5 +1,5 @@
1
1
  import "pinia-plugin-persistedstate";
2
- import { a as t, c as r, u, b as a } from "../index-KdP2kDTZ.js";
2
+ import { b as t, c as r, u, a } from "../index-BFtkMENx.js";
3
3
  export {
4
4
  t as useAuthStore,
5
5
  r as useMenuStore,
@@ -1,5 +1,5 @@
1
1
  import { useRoute as o, useRouter as a } from "vue-router";
2
- import { a as u, b as s, g as R, h as n } from "../index-Ci9uljtG.js";
2
+ import { a as u, b as s, g as R, h as n } from "../index-GnfhAnhF.js";
3
3
  export {
4
4
  u as asyncGenerateRoute,
5
5
  s as createVueRouter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jnrs/vue-core",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "description": "巨能前端工程化开发,Vue 专用核心功能包。",
5
5
  "keywords": [
6
6
  "jnrs",
@@ -40,10 +40,6 @@
40
40
  "import": "./dist/piniaStore/index.js",
41
41
  "types": "./dist/piniaStore/index.d.ts"
42
42
  },
43
- "./request": {
44
- "import": "./dist/request/index.js",
45
- "types": "./dist/request/index.d.ts"
46
- },
47
43
  "./components": {
48
44
  "import": "./dist/components/index.js",
49
45
  "types": "./dist/components/index.d.ts"
@@ -55,14 +51,14 @@
55
51
  },
56
52
  "peerDependencies": {
57
53
  "@vueuse/core": "^14.1.0",
58
- "element-plus": "^2.11.9",
54
+ "element-plus": "^2.13.3",
59
55
  "@element-plus/icons-vue": "^2.3.2",
60
56
  "pinia": "^3.0.3",
61
57
  "pinia-plugin-persistedstate": "^4.7.1",
62
58
  "vue": "^3.5.22",
63
59
  "vue-router": "^4.5.1",
64
60
  "vue-i18n": "^11.2.8",
65
- "@jnrs/shared": "1.1.11"
61
+ "@jnrs/shared": "1.1.15"
66
62
  },
67
63
  "devDependencies": {
68
64
  "@vitejs/plugin-vue": "^6.0.1",