@jnrs/vue-core 1.2.47 → 1.2.49
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.
- package/CHANGELOG.md +20 -0
- package/dist/components/JnFileUpload.vue.d.ts +49 -275
- package/dist/components/JnImportAndExport.vue.d.ts +19 -139
- package/dist/components/JnSelectTemplate.vue.d.ts +38 -278
- package/dist/components/JnTable.vue.d.ts +994 -2736
- package/dist/components/index.js +3 -3
- package/dist/{index-Ca5AgDYs.js → index-DLqUnm8-.js} +41 -39
- package/dist/index.js +1 -1
- package/dist/piniaStore/index.js +1 -1
- package/dist/vueRouter/createVueRouter.d.ts +1 -1
- package/package.json +3 -3
package/dist/components/index.js
CHANGED
|
@@ -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-1c160a11]{margin-bottom:20px}.jn_imageView[data-v-4b40d759]{display:block;position:relative;width:100%;height:100%;border:1px solid var(--jnrs-font-primary-03)}.jn_imageView[data-v-4b40d759] img{transition:all .25s ease}.jn_imageView[data-v-4b40d759] img:hover{transform:scale(1.2)}.jn_imageView .jn_imageView_error[data-v-4b40d759]{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_imageView_badge[data-v-4b40d759]:after{content:attr(data-count);position:absolute;top:0;right:0;padding:2px 2px 2px 4px;background-color:#000000b3;color:#fff;font-size:.7em;line-height:1;pointer-events:none;z-index:1}.jn_imageView_wrapper[data-v-4b40d759]{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}.jn_imageView_wrapper_all[data-v-4b40d759]{justify-content:flex-start}.jn_image_view_icon[data-v-4b40d759]:hover{color:var(--jnrs-color-primary);transform:scale(1.2);transition:all .3s ease}.jn_fileView[data-v-66598075]{display:block;width:100%;height:100%;line-height:1em;cursor:pointer}.jn_fileView:hover .jn_fileView_button[data-v-66598075]{color:var(--jnrs-color-primary)}.jn_fileView .jn_fileView_fileName[data-v-66598075]{font-size:.8em;color:var(--jnrs-font-primary-05);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jn_fileView .jn_fileView_button[data-v-66598075]{height:auto;padding:0;text-decoration:underline;font-size:.9em;transition:all .3s ease}.jn_fileUpload[data-v-c97c1306]{position:relative;width:100%;color:var(--jnrs-font-primary-05)}.jn_fileUpload[data-v-c97c1306] .el-upload-dragger{padding:30px 0 10px}.jn_fileUpload .jn_uploadTips[data-v-c97c1306]{display:block;width:100%;margin-top:5px;line-height:1.2em}.jn_fileUpload .jn_uploadTips span[data-v-c97c1306]{display:inline-block;margin-right:10px}.jn_fileUpload .jn_uploadTips b[data-v-c97c1306]{color:var(--el-color-danger, #ff3300)}.jn_fileUpload .jn_uploadTips_isDrag[data-v-c97c1306]{position:absolute;top:4px;left:0;text-align:center}.jn_fileUpload .jn_fileList[data-v-c97c1306]{width:100%}.jn_fileUpload .jn_fileList .jn_fileLis_item[data-v-c97c1306]{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-c97c1306]{flex:1;position:relative;display:flex;align-items:center;justify-content:flex-start;padding-right:60px;line-height:1.1em}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_right[data-v-c97c1306]{flex-shrink:0;width:85px;display:flex;align-items:center;justify-content:flex-end;padding-right:4px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_index[data-v-c97c1306]{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-c97c1306]{flex-shrink:0;width:20px;height:20px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_name[data-v-c97c1306]{padding:0 4px;word-break:break-all}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_size[data-v-c97c1306]{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-c97c1306]{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-c97c1306]:hover{background-color:var(--jnrs-card-primary)}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn_danger[data-v-c97c1306]{color:var(--el-color-danger, #ff3300)}.jnImportAndExport_button.is-text[data-v-2b07c696]{padding:0}.jnImportAndExport_underlineBtn[data-v-2b07c696]{display:inline-block;margin-right:36px;color:#3697fc;text-decoration:underline;cursor:pointer}.jnImportAndExport_underlineBtn[data-v-2b07c696]:hover{opacity:.8}.jn-datetime-date[data-v-6d9d4c9b]{display:block}.jn-datetime-time[data-v-6d9d4c9b]{opacity:.7;font-size:.9em}.jn-datetime-time-inline[data-v-6d9d4c9b]{display:inline-block;margin-left:.5em;font-size:1em}.jn_table[data-v-
|
|
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-1c160a11]{margin-bottom:20px}.jn_imageView[data-v-4b40d759]{display:block;position:relative;width:100%;height:100%;border:1px solid var(--jnrs-font-primary-03)}.jn_imageView[data-v-4b40d759] img{transition:all .25s ease}.jn_imageView[data-v-4b40d759] img:hover{transform:scale(1.2)}.jn_imageView .jn_imageView_error[data-v-4b40d759]{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_imageView_badge[data-v-4b40d759]:after{content:attr(data-count);position:absolute;top:0;right:0;padding:2px 2px 2px 4px;background-color:#000000b3;color:#fff;font-size:.7em;line-height:1;pointer-events:none;z-index:1}.jn_imageView_wrapper[data-v-4b40d759]{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}.jn_imageView_wrapper_all[data-v-4b40d759]{justify-content:flex-start}.jn_image_view_icon[data-v-4b40d759]:hover{color:var(--jnrs-color-primary);transform:scale(1.2);transition:all .3s ease}.jn_fileView[data-v-66598075]{display:block;width:100%;height:100%;line-height:1em;cursor:pointer}.jn_fileView:hover .jn_fileView_button[data-v-66598075]{color:var(--jnrs-color-primary)}.jn_fileView .jn_fileView_fileName[data-v-66598075]{font-size:.8em;color:var(--jnrs-font-primary-05);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jn_fileView .jn_fileView_button[data-v-66598075]{height:auto;padding:0;text-decoration:underline;font-size:.9em;transition:all .3s ease}.jn_fileUpload[data-v-c97c1306]{position:relative;width:100%;color:var(--jnrs-font-primary-05)}.jn_fileUpload[data-v-c97c1306] .el-upload-dragger{padding:30px 0 10px}.jn_fileUpload .jn_uploadTips[data-v-c97c1306]{display:block;width:100%;margin-top:5px;line-height:1.2em}.jn_fileUpload .jn_uploadTips span[data-v-c97c1306]{display:inline-block;margin-right:10px}.jn_fileUpload .jn_uploadTips b[data-v-c97c1306]{color:var(--el-color-danger, #ff3300)}.jn_fileUpload .jn_uploadTips_isDrag[data-v-c97c1306]{position:absolute;top:4px;left:0;text-align:center}.jn_fileUpload .jn_fileList[data-v-c97c1306]{width:100%}.jn_fileUpload .jn_fileList .jn_fileLis_item[data-v-c97c1306]{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-c97c1306]{flex:1;position:relative;display:flex;align-items:center;justify-content:flex-start;padding-right:60px;line-height:1.1em}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_right[data-v-c97c1306]{flex-shrink:0;width:85px;display:flex;align-items:center;justify-content:flex-end;padding-right:4px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_index[data-v-c97c1306]{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-c97c1306]{flex-shrink:0;width:20px;height:20px}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_name[data-v-c97c1306]{padding:0 4px;word-break:break-all}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_size[data-v-c97c1306]{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-c97c1306]{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-c97c1306]:hover{background-color:var(--jnrs-card-primary)}.jn_fileUpload .jn_fileList .jn_fileLis_item .fileLis_item_btn_danger[data-v-c97c1306]{color:var(--el-color-danger, #ff3300)}.jnImportAndExport_button.is-text[data-v-2b07c696]{padding:0}.jnImportAndExport_underlineBtn[data-v-2b07c696]{display:inline-block;margin-right:36px;color:#3697fc;text-decoration:underline;cursor:pointer}.jnImportAndExport_underlineBtn[data-v-2b07c696]:hover{opacity:.8}.jn-datetime-date[data-v-6d9d4c9b]{display:block}.jn-datetime-time[data-v-6d9d4c9b]{opacity:.7;font-size:.9em}.jn-datetime-time-inline[data-v-6d9d4c9b]{display:inline-block;margin-left:.5em;font-size:1em}.jn_table[data-v-cd66eeee]{width:100%}.jn_table[data-v-cd66eeee] .jn_table_header{color:var(--jnrs-font-primary)!important;background:var(--jnrs-background-head)!important}.jn_table[data-v-cd66eeee] .jn_table_header .cell{padding:0 8px;line-height:1.2em}.jn-main-table[data-v-cd66eeee] .el-table__row{cursor:pointer}.jn-main-table[data-v-cd66eeee] .jn-row-selected td{background-color:var(--jnrs-color-primary-fade03)!important}.jn_selectTemplate[data-v-d4b003b4]{display:flex;align-items:center;font-size:0}.jn_selectTemplate .jn_select[data-v-d4b003b4]{flex:1;right:-1px;z-index:1}.jn_selectTemplate .jn_select[data-v-d4b003b4] .el-select__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.jn_selectTemplate .jn_select_button[data-v-d4b003b4]{border-radius:0 3px 3px 0}.jn_selectTemplate .jn_select_button[data-v-d4b003b4]:hover{z-index:1}.t_select_button_only[data-v-d4b003b4]{margin-left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.jn_dialog_header[data-v-d4b003b4]{display:flex;align-items:center}[data-v-d4b003b4] .el-input__validateIcon{display:none}[data-v-d4b003b4] th .el-checkbox--small{display:none!important}[data-v-d4b003b4] .el-table__row{cursor:pointer}.tableIsSingle[data-v-d4b003b4] .el-checkbox__inner{border-radius:50%}.jn-date-query[data-v-f9c1ea28]{display:flex;align-items:center;gap:10px}.jn-date-query__main[data-v-f9c1ea28]{display:flex;align-items:center;gap:0}.jn-date-query__switcher[data-v-f9c1ea28]{display:flex;align-items:center}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
|
|
2
2
|
import { defineComponent as q, ref as V, createBlock as F, openBlock as d, unref as l, withCtx as p, createElementVNode as j, createVNode as E, toDisplayString as C, isRef as ta, createElementBlock as k, Fragment as J, renderList as Z, createTextVNode as H, computed as X, normalizeClass as te, normalizeStyle as ke, createCommentVNode as T, renderSlot as fe, withDirectives as Xe, vShow as aa, nextTick as se, withModifiers as He, watch as de, onMounted as jt, mergeProps as na } from "vue";
|
|
3
3
|
import { storeToRefs as la } from "pinia";
|
|
4
4
|
import { ElDrawer as ia, ElSwitch as oa, ElRadioGroup as Ue, ElRadio as ze, ElImage as ra, ElIcon as G, ElButton as R, ElDialog as Tt, ElUpload as sa, vLoading as Oe, ElMessage as Y, ElForm as Ut, ElFormItem as ua, ElMessageBox as lt, ElLoading as Fe, ElPagination as zt, ElTable as Ft, ElTableColumn as Ie, ElSelect as Lt, ElOption as Vt, ElCheckbox as ca, ElButtonGroup as da, ElDatePicker as Aa } from "element-plus";
|
|
5
|
-
import { u as fa, a as ga, L as ma, M as va, C as ha } from "../index-
|
|
5
|
+
import { u as fa, a as ga, L as ma, M as va, C as ha } from "../index-DLqUnm8-.js";
|
|
6
6
|
import { Back as ya, Right as pa, DArrowRight as ba, ZoomOut as Ia, ZoomIn as Ca, Switch as Ea, RefreshLeft as wa, Refresh as Sa, Download as Ne, View as ka, Delete as it, Upload as Qa, ArrowLeft as Da, ArrowRight as Ba } from "@element-plus/icons-vue";
|
|
7
7
|
import { downloadByUrl as xt, downloadByBlob as ot, objectToFormData as Pa } from "@jnrs/shared";
|
|
8
8
|
import { useI18n as he } from "vue-i18n";
|
|
@@ -1533,7 +1533,7 @@ const Pr = /* @__PURE__ */ q({
|
|
|
1533
1533
|
_: 3
|
|
1534
1534
|
}, 8, ["class", "row-key", "data", "height", "showScrollbar-always-on", "onMousedown"]));
|
|
1535
1535
|
}
|
|
1536
|
-
}), ls = /* @__PURE__ */ _(Pr, [["__scopeId", "data-v-
|
|
1536
|
+
}), ls = /* @__PURE__ */ _(Pr, [["__scopeId", "data-v-cd66eeee"]]), jr = { key: 0 }, Tr = { style: { float: "left" } }, Ur = {
|
|
1537
1537
|
key: 0,
|
|
1538
1538
|
style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "0.8em", "padding-left": "2em" }
|
|
1539
1539
|
}, zr = { key: 0 }, Fr = { class: "jn_dialog_header" }, Lr = { style: { color: "#999", "font-size": "0.8em" } }, Vr = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "pinia-plugin-persistedstate";
|
|
2
|
-
import { defineStore as
|
|
3
|
-
import { ref as
|
|
2
|
+
import { defineStore as d } from "pinia";
|
|
3
|
+
import { ref as c, computed as b, watch as v } from "vue";
|
|
4
4
|
import { Fullscreen as S } from "@jnrs/shared";
|
|
5
5
|
import { usePreferredDark as f } from "@vueuse/core";
|
|
6
6
|
import { a as k } from "./index-B3d_yqVP.js";
|
|
7
|
-
const O =
|
|
7
|
+
const O = d(
|
|
8
8
|
"@jnrs/vue-core/pinia:mock",
|
|
9
|
-
() => ({ useMockServe:
|
|
9
|
+
() => ({ useMockServe: c(!1) }),
|
|
10
10
|
{
|
|
11
11
|
persist: {
|
|
12
12
|
pick: ["useMockServe"]
|
|
@@ -52,38 +52,38 @@ function U(e) {
|
|
|
52
52
|
function j(e) {
|
|
53
53
|
return typeof e == "string" && e.trim() !== "";
|
|
54
54
|
}
|
|
55
|
-
const x =
|
|
55
|
+
const x = d(
|
|
56
56
|
"@jnrs/vue-core/pinia:system",
|
|
57
57
|
() => {
|
|
58
|
-
const e =
|
|
59
|
-
await
|
|
60
|
-
},
|
|
58
|
+
const e = c(!1), o = () => e.value = !e.value, i = new S(), l = c(!1), m = async () => {
|
|
59
|
+
await i.toggle(), l.value = i.isFullscreen();
|
|
60
|
+
}, a = c({
|
|
61
61
|
locale: C[0].value,
|
|
62
62
|
mode: M[0].value,
|
|
63
63
|
primaryColor: w[0].value
|
|
64
|
-
}),
|
|
65
|
-
return
|
|
66
|
-
[() =>
|
|
67
|
-
([r,
|
|
64
|
+
}), s = b(() => a.value.mode === "auto" ? n.value ? "dark" : "light" : a.value.mode), n = f();
|
|
65
|
+
return v(
|
|
66
|
+
[() => a.value.mode, n, () => a.value.primaryColor],
|
|
67
|
+
([r, y, g]) => {
|
|
68
68
|
const u = document.documentElement;
|
|
69
|
-
u.classList.remove("light", "dark"), r === "auto" ? u.classList.add(
|
|
69
|
+
u.classList.remove("light", "dark"), r === "auto" ? u.classList.add(y ? "dark" : "light") : u.classList.add(r), g ? u.style.setProperty("--jnrs-color-primary", g) : u.style.removeProperty("--jnrs-color-primary");
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0 }
|
|
72
72
|
), {
|
|
73
|
-
theme:
|
|
74
|
-
computedThemeMode:
|
|
73
|
+
theme: a,
|
|
74
|
+
computedThemeMode: s,
|
|
75
75
|
menuCollapse: e,
|
|
76
76
|
documentFullscreen: l,
|
|
77
77
|
toggleCollapse: o,
|
|
78
|
-
toggleFullScreen:
|
|
78
|
+
toggleFullScreen: m,
|
|
79
79
|
setLocale: (r) => {
|
|
80
|
-
G(r) && (
|
|
80
|
+
G(r) && (a.value.locale = r);
|
|
81
81
|
},
|
|
82
82
|
setMode: (r) => {
|
|
83
|
-
U(r) && (
|
|
83
|
+
U(r) && (a.value.mode = r);
|
|
84
84
|
},
|
|
85
85
|
setPrimaryColor: (r) => {
|
|
86
|
-
j(r) && (
|
|
86
|
+
j(r) && (a.value.primaryColor = r);
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
89
|
},
|
|
@@ -98,45 +98,47 @@ for (let e = 0; e < 256; ++e)
|
|
|
98
98
|
function L(e, o = 0) {
|
|
99
99
|
return (t[e[o + 0]] + t[e[o + 1]] + t[e[o + 2]] + t[e[o + 3]] + "-" + t[e[o + 4]] + t[e[o + 5]] + "-" + t[e[o + 6]] + t[e[o + 7]] + "-" + t[e[o + 8]] + t[e[o + 9]] + "-" + t[e[o + 10]] + t[e[o + 11]] + t[e[o + 12]] + t[e[o + 13]] + t[e[o + 14]] + t[e[o + 15]]).toLowerCase();
|
|
100
100
|
}
|
|
101
|
-
let
|
|
101
|
+
let p;
|
|
102
102
|
const P = new Uint8Array(16);
|
|
103
103
|
function R() {
|
|
104
|
-
if (!
|
|
104
|
+
if (!p) {
|
|
105
105
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
106
106
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
107
|
-
|
|
107
|
+
p = crypto.getRandomValues.bind(crypto);
|
|
108
108
|
}
|
|
109
|
-
return
|
|
109
|
+
return p(P);
|
|
110
110
|
}
|
|
111
|
-
const D = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
112
|
-
function I(e, o,
|
|
111
|
+
const D = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), h = { randomUUID: D };
|
|
112
|
+
function I(e, o, i) {
|
|
113
113
|
e = e || {};
|
|
114
114
|
const l = e.random ?? e.rng?.() ?? R();
|
|
115
115
|
if (l.length < 16)
|
|
116
116
|
throw new Error("Random bytes length must be >= 16");
|
|
117
117
|
return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, L(l);
|
|
118
118
|
}
|
|
119
|
-
function _(e, o,
|
|
120
|
-
return
|
|
119
|
+
function _(e, o, i) {
|
|
120
|
+
return h.randomUUID && !e ? h.randomUUID() : I(e);
|
|
121
121
|
}
|
|
122
|
-
const T =
|
|
122
|
+
const T = d(
|
|
123
123
|
"@jnrs/vue-core/pinia:menu",
|
|
124
124
|
() => {
|
|
125
|
-
const e =
|
|
125
|
+
const e = c(!1), o = c([]), i = async (s) => {
|
|
126
126
|
if (e.value)
|
|
127
127
|
return o.value;
|
|
128
|
-
l(
|
|
128
|
+
l(s);
|
|
129
129
|
try {
|
|
130
|
-
await k(
|
|
131
|
-
} catch (
|
|
132
|
-
throw
|
|
130
|
+
await k(s);
|
|
131
|
+
} catch (n) {
|
|
132
|
+
throw n;
|
|
133
133
|
}
|
|
134
|
-
return o.value;
|
|
135
|
-
}, l = (
|
|
136
|
-
for (const
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
134
|
+
return o.value = m(s), e.value = !0, o.value;
|
|
135
|
+
}, l = (s) => {
|
|
136
|
+
for (const n of s)
|
|
137
|
+
n.meta.uuid = _(), n.children && l(n.children);
|
|
138
|
+
}, m = (s) => s.filter((n) => !n.meta.hidden).map(
|
|
139
|
+
(n) => n.children ? { ...n, children: m(n.children) } : n
|
|
140
|
+
);
|
|
141
|
+
return { hasFetchedAsyncMenus: e, menus: o, asyncSetMenus: i, clearMenu: () => {
|
|
140
142
|
e.value = !1, o.value = [];
|
|
141
143
|
} };
|
|
142
144
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as r } from "./index-B3d_yqVP.js";
|
|
2
|
-
import { i } from "./index-
|
|
2
|
+
import { i } from "./index-DLqUnm8-.js";
|
|
3
3
|
console.log(
|
|
4
4
|
"%c✨ 欢迎使用 @jnrs/vue-core",
|
|
5
5
|
'background: #42B883; color: #39495C; font-weight: bold; padding: 4px 8px; border-radius: 4px; font-family: "Helvetica Neue", sans-serif;'
|
package/dist/piniaStore/index.js
CHANGED
|
@@ -14,7 +14,7 @@ declare const createVueRouter: ({ options, fileModules, layoutName, globalCompon
|
|
|
14
14
|
/**
|
|
15
15
|
* 路由跳转、替换或新开标签页
|
|
16
16
|
* @param to 路由跳转参数
|
|
17
|
-
* @param type 默认为push
|
|
17
|
+
* @param type 默认为 'push',可选值为 'push' | 'replace' | '_blank'
|
|
18
18
|
* @returns Promise<boolean | void>
|
|
19
19
|
*/
|
|
20
20
|
declare const handleRouter: (to: RouteLocationRaw, type?: "push" | "replace" | "_blank") => Promise<void | import('vue-router').NavigationFailure>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jnrs/vue-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.49",
|
|
4
4
|
"description": "巨能(JNRS)前端工程化开发,Vue 专用核心功能包。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jnrs",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@element-plus/icons-vue": "^2.3.2",
|
|
56
56
|
"@vueuse/core": "^14.1.0",
|
|
57
|
-
"element-plus": "^2.
|
|
57
|
+
"element-plus": "^2.14.5",
|
|
58
58
|
"pinia": "^3.0.3",
|
|
59
59
|
"pinia-plugin-persistedstate": "^4.7.1",
|
|
60
60
|
"vue": "^3.5.22",
|
|
61
61
|
"vue-i18n": "^11.2.8",
|
|
62
62
|
"vue-router": "^4.5.1",
|
|
63
|
-
"@jnrs/shared": "1.1.
|
|
63
|
+
"@jnrs/shared": "1.1.40"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@vitejs/plugin-vue": "^6.0.1",
|