jmash-core 0.1.34 → 0.1.35
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-DSukePjs.mjs → 401-DRuUSg3F.mjs} +20 -16
- package/dist/{404-ylQyc9SY.mjs → 404-4C6xYEP5.mjs} +8 -8
- package/dist/{BarChart-CiSbjetf.mjs → BarChart-B9ZIV9n9.mjs} +5 -5
- package/dist/{PieChart-Datstl3H.mjs → PieChart-mjcVGXoE.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-C9cBCIoL.mjs → PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs} +3 -3
- package/dist/{RadarChart-DAVpffV9.mjs → RadarChart-Dkl7lCAh.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-JASfAScs.mjs → RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs} +3 -3
- package/dist/{index-DZ74vkVA.mjs → index-BK28ZYi1.mjs} +7 -6
- package/dist/{index-CHcoOAdM.mjs → index-Bb07LNei.mjs} +16824 -17160
- package/dist/{index-MSuebL-7.mjs → index-Bc6XbTe4.mjs} +181 -181
- package/dist/{index-rdMvfmXq.mjs → index-CVbEWSTv.mjs} +4 -3
- package/dist/{index-mc9grqVw.mjs → index-DNQXZm88.mjs} +15 -15
- package/dist/{index-CbPmB-NU.mjs → index-GBjNAvVR.mjs} +44 -38
- package/dist/index.mjs +13 -13
- package/dist/{profile-bUsJ73lv.mjs → profile-F3Og3Ps8.mjs} +48 -48
- package/dist/{runAs-DSgRwNWI.mjs → runAs-C3a9lRKM.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-BfFZ1rIx.mjs → runAs.vue_vue_type_script_setup_true_lang-CpwxfXNP.mjs} +614 -630
- package/dist/style.css +1 -1
- package/dist/{types-BxS-YwWj.mjs → types-MfP9obKu.mjs} +8 -7
- package/dist/{updatePwd-COTedf1U.mjs → updatePwd-DHfb7-SA.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BwinLVTt.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CzYovQjJ.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/ForgetPwd/index.vue.d.ts +6 -0
- package/dts/src/components/GraphicVerification/index.vue.d.ts +8 -0
- package/dts/src/components/JmashSingleImageUpload/index.vue.d.ts +2 -0
- 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/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
|
@@ -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-Bb07LNei.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,
|
|
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,10 +136,11 @@ 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(() =>
|
|
140
|
-
_(" 登录 "
|
|
141
|
-
])
|
|
142
|
-
_: 1
|
|
139
|
+
default: l(() => e[5] || (e[5] = [
|
|
140
|
+
_(" 登录 ")
|
|
141
|
+
])),
|
|
142
|
+
_: 1,
|
|
143
|
+
__: [5]
|
|
143
144
|
})
|
|
144
145
|
]),
|
|
145
146
|
_: 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, aJ as I } from "./index-Bb07LNei.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 };
|
|
@@ -0,0 +1,6 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -17,6 +17,7 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
17
17
|
};
|
|
18
18
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
imageSrc: (...args: any[]) => void;
|
|
20
|
+
imageUrl: (...args: any[]) => void;
|
|
20
21
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
21
22
|
pictureUrl: {
|
|
22
23
|
type: StringConstructor;
|
|
@@ -36,6 +37,7 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
36
37
|
};
|
|
37
38
|
}>> & Readonly<{
|
|
38
39
|
onImageSrc?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onImageUrl?: ((...args: any[]) => any) | undefined;
|
|
39
41
|
}>, {
|
|
40
42
|
type: string;
|
|
41
43
|
width: number;
|
|
@@ -53,10 +53,10 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
53
53
|
default: never[];
|
|
54
54
|
};
|
|
55
55
|
}>> & Readonly<{}>, {
|
|
56
|
-
captchaId: string;
|
|
57
|
-
captchaCode: string;
|
|
58
56
|
validateField: string[];
|
|
59
57
|
name: string;
|
|
58
|
+
captchaId: string;
|
|
59
|
+
captchaCode: 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;
|
|
28
29
|
title: string;
|
|
29
30
|
icon: string;
|
|
30
|
-
name: string;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
id: string;
|
|
41
40
|
width: string;
|
|
41
|
+
id: 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
|
-
id: string;
|
|
41
40
|
width: string;
|
|
41
|
+
id: 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
|
-
id: string;
|
|
41
40
|
width: string;
|
|
41
|
+
id: 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
|
-
id: string;
|
|
41
40
|
width: string;
|
|
41
|
+
id: 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.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -8,6 +8,17 @@
|
|
|
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
|
+
},
|
|
11
22
|
"devDependencies": {
|
|
12
23
|
"@eslint/js": "^9.11.0",
|
|
13
24
|
"@iconify-json/ep": "^1.1.15",
|
|
@@ -67,16 +78,5 @@
|
|
|
67
78
|
"qs": "^6.14.0",
|
|
68
79
|
"sm-crypto": "^0.3.13",
|
|
69
80
|
"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
|
+
}
|