jmash-core 0.1.33 → 0.1.34
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/README.md +57 -57
- package/dist/{401-GeMUpX0S.mjs → 401-DSukePjs.mjs} +16 -20
- package/dist/{404-BDVG9Vfa.mjs → 404-ylQyc9SY.mjs} +8 -8
- package/dist/{BarChart-CfTSvu1B.mjs → BarChart-CiSbjetf.mjs} +5 -5
- package/dist/{PieChart-mjcVGXoE.mjs → PieChart-Datstl3H.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs → PieChart.vue_vue_type_script_setup_true_lang-C9cBCIoL.mjs} +3 -3
- package/dist/{RadarChart-Dkl7lCAh.mjs → RadarChart-DAVpffV9.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs → RadarChart.vue_vue_type_script_setup_true_lang-JASfAScs.mjs} +3 -3
- package/dist/{index-C_Rc2raF.mjs → index-CHcoOAdM.mjs} +17143 -16807
- package/dist/{index-BnOMcrbK.mjs → index-CbPmB-NU.mjs} +27 -31
- package/dist/{index-CagRIXTI.mjs → index-DZ74vkVA.mjs} +6 -7
- package/dist/{index-BtFBPJr4.mjs → index-MSuebL-7.mjs} +181 -181
- package/dist/{index-8qX8zOfW.mjs → index-mc9grqVw.mjs} +15 -15
- package/dist/{index-B69RTZE5.mjs → index-rdMvfmXq.mjs} +3 -4
- package/dist/index.mjs +13 -13
- package/dist/{profile-BpbsUqSm.mjs → profile-bUsJ73lv.mjs} +48 -48
- package/dist/{runAs-XXShxN_s.mjs → runAs-DSgRwNWI.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-CuJliV0M.mjs → runAs.vue_vue_type_script_setup_true_lang-BfFZ1rIx.mjs} +630 -614
- package/dist/style.css +1 -1
- package/dist/{types-CB484IED.mjs → types-BxS-YwWj.mjs} +7 -8
- package/dist/{updatePwd-B_6-r18x.mjs → updatePwd-COTedf1U.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DnESgcWG.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BwinLVTt.mjs} +1 -1
- package/dts/src/api/auth/index.d.ts +8 -8
- package/dts/src/api/file/index.d.ts +1 -1
- package/dts/src/components/NameValidate/index.vue.d.ts +2 -2
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
- package/dts/src/utils/common.d.ts +1 -2
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
- package/package.json +13 -13
- package/dts/src/components/ForgetPwd/index.vue.d.ts +0 -6
- package/dts/src/components/GraphicVerification/index.vue.d.ts +0 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createElementBlock as y, openBlock as k, createElementVNode as u, defineComponent as E, ref as I, reactive as f, resolveComponent as i, Fragment as F, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as C } from "vue";
|
|
2
|
-
import { A as M, v, a as w, B as $, C as z } from "./index-
|
|
2
|
+
import { A as M, v, a as w, B as $, C as z } from "./index-CHcoOAdM.mjs";
|
|
3
3
|
const N = {
|
|
4
4
|
viewBox: "0 0 1024 1024",
|
|
5
5
|
width: "1.2em",
|
|
6
6
|
height: "1.2em"
|
|
7
7
|
};
|
|
8
8
|
function T(x, c) {
|
|
9
|
-
return k(), y("svg", N, c[0] || (c[0] = [
|
|
9
|
+
return k(), y("svg", N, [...c[0] || (c[0] = [
|
|
10
10
|
u("path", {
|
|
11
11
|
fill: "currentColor",
|
|
12
12
|
d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
|
|
@@ -15,7 +15,7 @@ function T(x, c) {
|
|
|
15
15
|
fill: "currentColor",
|
|
16
16
|
d: "M384 288q64 0 64 64t-64 64t-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472l122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888l49.92 39.936l-215.808 269.824l-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072l-.64-.512a32 32 0 0 0-44.8 5.952z"
|
|
17
17
|
}, null, -1)
|
|
18
|
-
]));
|
|
18
|
+
])]);
|
|
19
19
|
}
|
|
20
20
|
const q = { name: "ep-picture", render: T }, S = { class: "h-[40px]" }, L = { class: "image-slot" }, O = { class: "dialog-footer" }, Y = /* @__PURE__ */ E({
|
|
21
21
|
__name: "types",
|
|
@@ -136,11 +136,10 @@ const q = { name: "ep-picture", render: T }, S = { class: "h-[40px]" }, L = { cl
|
|
|
136
136
|
class: "w-full",
|
|
137
137
|
onClick: R
|
|
138
138
|
}, {
|
|
139
|
-
default: l(() => e[5] || (e[5] = [
|
|
140
|
-
_(" 登录 ")
|
|
141
|
-
])),
|
|
142
|
-
_: 1
|
|
143
|
-
__: [5]
|
|
139
|
+
default: l(() => [...e[5] || (e[5] = [
|
|
140
|
+
_(" 登录 ", -1)
|
|
141
|
+
])]),
|
|
142
|
+
_: 1
|
|
144
143
|
})
|
|
145
144
|
]),
|
|
146
145
|
_: 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 U, withCtx as s, createVNode as r, createElementVNode as B, createTextVNode as g, toDisplayString as _ } from "vue";
|
|
2
2
|
import { ElMessage as D } from "element-plus";
|
|
3
|
-
import { H as b,
|
|
3
|
+
import { H as b, aL as I } from "./index-CHcoOAdM.mjs";
|
|
4
4
|
import { useI18n as S } from "vue-i18n";
|
|
5
5
|
const z = { class: "dialog-footer" }, T = /* @__PURE__ */ q({
|
|
6
6
|
__name: "updatePwd",
|
|
@@ -37,14 +37,14 @@ export declare function logincode(data: any): AxiosPromise<CaptchaResult>;
|
|
|
37
37
|
* 用户信息
|
|
38
38
|
*/
|
|
39
39
|
export declare function getUserInfoApi(): AxiosPromise<UserInfo>;
|
|
40
|
-
export declare function updateUser(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
export declare function updatePwd(encodeOldPwd: string, encodeNewPwd: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
-
export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
+
export declare function updateUser(data: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
41
|
+
export declare function updatePwd(encodeOldPwd: string, encodeNewPwd: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
42
|
+
export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
43
43
|
/**
|
|
44
44
|
* 切换用户身份
|
|
45
45
|
*/
|
|
46
|
-
export declare function runAsUser(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
|
-
export declare function selectDsdRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
+
export declare function runAsUser(userId: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
47
|
+
export declare function selectDsdRoles(): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
48
48
|
/**
|
|
49
49
|
* 获取所有角色列表
|
|
50
50
|
*
|
|
@@ -56,20 +56,20 @@ export declare function listRoles(): AxiosPromise<RolesPerms>;
|
|
|
56
56
|
*
|
|
57
57
|
* @returns 返回请求结果的Promise对象
|
|
58
58
|
*/
|
|
59
|
-
export declare function listRoutes(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
59
|
+
export declare function listRoutes(): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
60
60
|
/**
|
|
61
61
|
* 获取部门树形列表
|
|
62
62
|
*
|
|
63
63
|
* @param deptId 部门ID,可选
|
|
64
64
|
* @returns 返回部门树形列表
|
|
65
65
|
*/
|
|
66
|
-
export declare function treelistDept(deptId?: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
+
export declare function treelistDept(deptId?: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
67
67
|
/**
|
|
68
68
|
* 获取树形列表中所有岗位信息
|
|
69
69
|
*
|
|
70
70
|
* @returns 返回请求结果
|
|
71
71
|
*/
|
|
72
|
-
export declare function treelistJob(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
72
|
+
export declare function treelistJob(): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
73
73
|
export declare function createLoginQrcode(): AxiosPromise<LoginQrcodeResp>;
|
|
74
74
|
export declare function loginQrcode(data: LoginQrcodeReq): AxiosPromise<LoginResult>;
|
|
75
75
|
export declare function loginOrganApi(data: string): AxiosPromise<LoginResult>;
|
|
@@ -38,7 +38,7 @@ declare class FileApi {
|
|
|
38
38
|
/** 上传文件 */
|
|
39
39
|
uploadFileApi(file: File): AxiosPromise<FileInfo>;
|
|
40
40
|
/** 删除文件 */
|
|
41
|
-
deleteFileApi(filePath?: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
+
deleteFileApi(filePath?: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
42
42
|
}
|
|
43
43
|
declare const fileApi: FileApi;
|
|
44
44
|
export { fileApi };
|
|
@@ -53,10 +53,10 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
53
53
|
default: never[];
|
|
54
54
|
};
|
|
55
55
|
}>> & Readonly<{}>, {
|
|
56
|
-
validateField: string[];
|
|
57
|
-
name: string;
|
|
58
56
|
captchaId: string;
|
|
59
57
|
captchaCode: string;
|
|
58
|
+
validateField: string[];
|
|
59
|
+
name: string;
|
|
60
60
|
formRef: FormInstance;
|
|
61
61
|
placeholder: string;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
|
-
name: string;
|
|
29
28
|
title: string;
|
|
30
29
|
icon: string;
|
|
30
|
+
name: string;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FileResponseReq } from "@/types";
|
|
2
1
|
/**
|
|
3
2
|
* 生成随机密钥
|
|
4
3
|
* 该函数生成一个包含大写字母、小写字母、数字和特殊字符的随机密钥
|
|
@@ -12,4 +11,4 @@ export declare function generateRandomKey(): string;
|
|
|
12
11
|
* 预览附件
|
|
13
12
|
* @param {FileResponseReq} row - 附件实体
|
|
14
13
|
*/
|
|
15
|
-
export declare function handlePreview(
|
|
14
|
+
export declare function handlePreview(fileUrl: string): Window | null;
|
|
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
width: string;
|
|
41
40
|
id: string;
|
|
41
|
+
width: string;
|
|
42
42
|
height: string;
|
|
43
43
|
className: string;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
width: string;
|
|
41
40
|
id: string;
|
|
41
|
+
width: string;
|
|
42
42
|
height: string;
|
|
43
43
|
className: string;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
width: string;
|
|
41
40
|
id: string;
|
|
41
|
+
width: string;
|
|
42
42
|
height: string;
|
|
43
43
|
className: string;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
width: string;
|
|
41
40
|
id: string;
|
|
41
|
+
width: string;
|
|
42
42
|
height: string;
|
|
43
43
|
className: string;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmash-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -8,17 +8,6 @@
|
|
|
8
8
|
"dist",
|
|
9
9
|
"dts/src"
|
|
10
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
11
|
"devDependencies": {
|
|
23
12
|
"@eslint/js": "^9.11.0",
|
|
24
13
|
"@iconify-json/ep": "^1.1.15",
|
|
@@ -78,5 +67,16 @@
|
|
|
78
67
|
"qs": "^6.14.0",
|
|
79
68
|
"sm-crypto": "^0.3.13",
|
|
80
69
|
"sortablejs": "^1.15.6"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"dev": "pnpm build:generate && vite serve --mode development",
|
|
73
|
+
"build": "pnpm build:generate && vite build && pnpm build:dts",
|
|
74
|
+
"build:generate": "tsx build/generate.ts",
|
|
75
|
+
"preview": "vite preview",
|
|
76
|
+
"build-only": "vite build",
|
|
77
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
78
|
+
"type-check": "vue-tsc --build --force",
|
|
79
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
80
|
+
"format": "prettier --write src/"
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
-
modelValue: globalThis.PropType<boolean>;
|
|
3
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
4
|
-
modelValue: globalThis.PropType<boolean>;
|
|
5
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
-
captchaId: globalThis.PropType<string>;
|
|
3
|
-
captchaCode: globalThis.PropType<string>;
|
|
4
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
5
|
-
captchaId: globalThis.PropType<string>;
|
|
6
|
-
captchaCode: globalThis.PropType<string>;
|
|
7
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|