jmash-core 0.1.6 → 0.1.8
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/dist/{401-s8KdFnM2.mjs → 401-COX2jmcI.mjs} +1 -1
- package/dist/{404-nJQ6-06q.mjs → 404-v0TS58RK.mjs} +1 -1
- package/dist/{BarChart-Cnl4OiG9.mjs → BarChart-Q2HOaIc_.mjs} +1 -1
- package/dist/{index-CcIvTTE9.mjs → index-CNT4DW3y.mjs} +19 -12
- package/dist/{index-D69_BmoP.mjs → index-Cu6-p51e.mjs} +21 -21
- package/dist/{index-CQ2l7VZS.mjs → index-CuuVJvGD.mjs} +12657 -15007
- package/dist/index-D5aNjwG_.mjs +235 -0
- package/dist/{index-CosTlR7B.mjs → index-fXvMf0L6.mjs} +2 -2
- package/dist/index.mjs +41 -41
- package/dist/{profile-BHzPjCo3.mjs → profile-tUzeLFVj.mjs} +4 -4
- package/dist/{runAs-kdAUk9jR.mjs → runAs-DIl9UFkO.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-Brcn3nQq.mjs +2558 -0
- package/dist/style.css +1 -1
- package/dist/{types-1kFUNQLv.mjs → types-C5XY3xxv.mjs} +1 -1
- package/dist/{updatePwd-C-6dm-Kk.mjs → updatePwd-BInRlKAn.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BeXEiK4p.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CpREBlw3.mjs} +9 -9
- package/dts/src/api/index.d.ts +3 -3
- package/package.json +81 -81
- package/dist/index-Bl_wueSn.mjs +0 -229
- package/dist/runAs.vue_vue_type_script_setup_true_lang-CK_deKky.mjs +0 -141
- package/dts/src/components/DictRadio/index.vue.d.ts +0 -32
- package/dts/src/components/DictSelect/index.vue.d.ts +0 -50
- package/dts/src/components/Pagination/index.vue.d.ts +0 -88
- package/dts/src/components/Table/index.vue.d.ts +0 -64
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -65
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +0 -18
- package/dts/src/components/Upload/importUpload.vue.d.ts +0 -31
- package/dts/src/components/Upload/index.vue.d.ts +0 -18
- package/dts/src/hooks/useList.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as I, openBlock as y, createElementVNode as u, defineComponent as B, ref as V, reactive as f, resolveComponent as i, Fragment as D, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as v } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { t as E, b as w, v as N, w as q, x as R } from "./index-CuuVJvGD.mjs";
|
|
3
3
|
const S = {
|
|
4
4
|
viewBox: "0 0 1024 1024",
|
|
5
5
|
width: "1.2em",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, createBlock as O, openBlock as A, unref as t, isRef as
|
|
1
|
+
import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, createBlock as O, openBlock as A, unref as t, isRef as D, withCtx as n, createVNode as r, createElementVNode as U, createTextVNode as g, toDisplayString as _ } from "vue";
|
|
2
2
|
import { ElMessage as B } from "element-plus";
|
|
3
|
-
import {
|
|
4
|
-
import { useI18n as
|
|
5
|
-
const
|
|
3
|
+
import { y as b, aD as I } from "./index-CuuVJvGD.mjs";
|
|
4
|
+
import { useI18n as S } from "vue-i18n";
|
|
5
|
+
const z = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
6
6
|
__name: "updatePwd",
|
|
7
7
|
props: {
|
|
8
8
|
pwdVisible: {
|
|
@@ -11,8 +11,8 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
emits: ["dialogActionChange"],
|
|
14
|
-
setup(
|
|
15
|
-
const { t: a } =
|
|
14
|
+
setup(y, { emit: R }) {
|
|
15
|
+
const { t: a } = S(), p = v(), N = y, { pwdVisible: u } = E(N), c = R;
|
|
16
16
|
let l = V({
|
|
17
17
|
encodeOldPwd: "",
|
|
18
18
|
encodeNewPwd: "",
|
|
@@ -33,7 +33,7 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
|
33
33
|
await ((o = p.value) == null ? void 0 : o.validate((e) => {
|
|
34
34
|
if (e) {
|
|
35
35
|
let d = b(l.encodeOldPwd), w = b(l.encodeNewPwd);
|
|
36
|
-
|
|
36
|
+
I(d, w).then((m) => {
|
|
37
37
|
m.status === 200 && (B({
|
|
38
38
|
message: a("password.successResetPwd"),
|
|
39
39
|
type: "success"
|
|
@@ -52,12 +52,12 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
|
52
52
|
return A(), O(C, {
|
|
53
53
|
title: "修改密码",
|
|
54
54
|
modelValue: t(u),
|
|
55
|
-
"onUpdate:modelValue": e[3] || (e[3] = (s) =>
|
|
55
|
+
"onUpdate:modelValue": e[3] || (e[3] = (s) => D(u) ? u.value = s : null),
|
|
56
56
|
width: "500px",
|
|
57
57
|
onClose: f
|
|
58
58
|
}, {
|
|
59
59
|
footer: n(() => [
|
|
60
|
-
|
|
60
|
+
U("div", z, [
|
|
61
61
|
r(P, { onClick: f }, {
|
|
62
62
|
default: n(() => [
|
|
63
63
|
g(_(o.$t("common.cancel")), 1)
|
package/dts/src/api/index.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ export declare class EnumDict {
|
|
|
11
11
|
}
|
|
12
12
|
/** 查询缓存枚举键值对 */
|
|
13
13
|
export declare function enumMapCache(module: string, className: string, type?: number): Promise<Entry[]>;
|
|
14
|
-
export declare abstract class BizDict {
|
|
15
|
-
values:
|
|
14
|
+
export declare abstract class BizDict<T extends Entry = Entry> {
|
|
15
|
+
values: T[];
|
|
16
16
|
query: any;
|
|
17
17
|
constructor(query: any);
|
|
18
|
-
abstract useValues(): Promise<
|
|
18
|
+
abstract useValues(): Promise<T[]>;
|
|
19
19
|
getValue(key: string): string;
|
|
20
20
|
}
|
|
21
21
|
export declare class EnableBizDict extends BizDict {
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jmash-core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/src/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"dts/src"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "jmash-core",
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"types": "dts/src/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dts/src"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "pnpm build:generate && vite serve --mode development",
|
|
13
|
+
"build": "pnpm build:generate && vite build && pnpm build:dts",
|
|
14
|
+
"build:generate": "tsx build/generate.ts",
|
|
15
|
+
"preview": "vite preview",
|
|
16
|
+
"build-only": "vite build",
|
|
17
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
18
|
+
"type-check": "vue-tsc --build --force",
|
|
19
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
20
|
+
"format": "prettier --write src/"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@eslint/js": "^9.11.0",
|
|
24
|
+
"@iconify-json/ep": "^1.1.15",
|
|
25
|
+
"@intlify/core-base": "^9.10.2",
|
|
26
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
27
|
+
"@tsconfig/node20": "^20.1.2",
|
|
28
|
+
"@types/node": "^20.11.10",
|
|
29
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
30
|
+
"@vue/tsconfig": "^0.5.1",
|
|
31
|
+
"@vueuse/core": "^10.9.0",
|
|
32
|
+
"camelcase": "^8.0.0",
|
|
33
|
+
"chalk": "^5.3.0",
|
|
34
|
+
"consola": "^3.2.3",
|
|
35
|
+
"eslint": "^9.11.0",
|
|
36
|
+
"eslint-plugin-vue": "^9.28.0",
|
|
37
|
+
"fast-glob": "^3.3.2",
|
|
38
|
+
"fs-extra": "^11.2.0",
|
|
39
|
+
"globals": "^15.9.0",
|
|
40
|
+
"npm-run-all2": "^6.1.1",
|
|
41
|
+
"prettier": "^3.0.3",
|
|
42
|
+
"sass": "^1.71.1",
|
|
43
|
+
"sass-loader": "^14.1.1",
|
|
44
|
+
"tsx": "^4.7.1",
|
|
45
|
+
"typescript": "~5.3.0",
|
|
46
|
+
"typescript-eslint": "^8.6.0",
|
|
47
|
+
"unocss": "^0.58.5",
|
|
48
|
+
"unplugin-auto-import": "^0.17.5",
|
|
49
|
+
"unplugin-element-plus": "^0.8.0",
|
|
50
|
+
"unplugin-icons": "^0.18.5",
|
|
51
|
+
"unplugin-vue-components": "^0.26.0",
|
|
52
|
+
"vite": "^5.0.11",
|
|
53
|
+
"vue-tsc": "^1.8.27"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"axios": "^1.9.0",
|
|
57
|
+
"element-plus": "^2.9.10",
|
|
58
|
+
"pinia": "^2.3.1",
|
|
59
|
+
"vue": "^3.5.13",
|
|
60
|
+
"vue-i18n": "^9.14.4",
|
|
61
|
+
"vue-router": "^4.5.1"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
65
|
+
"@vueuse/core": "^10.11.1",
|
|
66
|
+
"@wangeditor-next/editor": "^5.6.34",
|
|
67
|
+
"@wangeditor-next/editor-for-vue": "^5.1.14",
|
|
68
|
+
"crypto-js": "^4.2.0",
|
|
69
|
+
"echarts": "^5.6.0",
|
|
70
|
+
"file-saver": "^2.0.5",
|
|
71
|
+
"lodash-es": "^4.17.21",
|
|
72
|
+
"lrz": "^4.9.41",
|
|
73
|
+
"moment": "^2.30.1",
|
|
74
|
+
"nprogress": "^0.2.0",
|
|
75
|
+
"path-browserify": "^1.0.1",
|
|
76
|
+
"path-to-regexp": "^6.3.0",
|
|
77
|
+
"qs": "^6.14.0",
|
|
78
|
+
"sm-crypto": "^0.3.13",
|
|
79
|
+
"sortablejs": "^1.15.6"
|
|
80
|
+
}
|
|
81
|
+
}
|