jmash-core 0.1.12 → 0.1.14
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-C0q_e1zJ.mjs +104 -0
- package/dist/404-WP7omG9z.mjs +39 -0
- package/dist/{BarChart-4TUTUasV.mjs → BarChart-DjOjRVDo.mjs} +2 -2
- package/dist/assets/09fcc36c527efda6.jpg +0 -0
- package/dist/assets/0cda52992278af9e.png +0 -0
- package/dist/assets/1fa4b4a419330812.png +0 -0
- package/dist/assets/53044ba5490eb488.png +0 -0
- package/dist/assets/6582a007b98ef74f.png +0 -0
- package/dist/assets/a6029a1ec37b99c2.gif +0 -0
- package/dist/{index-SONmoe7f.mjs → index-BWPCazOM.mjs} +18 -18
- package/dist/{index-DoIpmzAF.mjs → index-CKwO5tJ6.mjs} +13 -13
- package/dist/{index-DY2ILYJ5.mjs → index-CVxxMlrU.mjs} +10802 -10575
- package/dist/{index-jbciilFG.mjs → index-DlWOd_33.mjs} +17 -17
- package/dist/index-U1XG9RWU.mjs +237 -0
- package/dist/index.mjs +44 -42
- package/dist/{profile-BJH0YwW_.mjs → profile-BKMc1ACK.mjs} +2 -2
- package/dist/{runAs-DqrDuOUP.mjs → runAs-BkWJ96tl.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-DdgZ9dNt.mjs +2610 -0
- package/dist/style.css +1 -1
- package/dist/{types-B9fYCnd0.mjs → types-CIxV5TtA.mjs} +1 -1
- package/dist/{updatePwd--OT3Q2JS.mjs → updatePwd-DdNcURoD.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DgBnToSJ.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BiODj6l4.mjs} +1 -1
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +1 -1
- package/dts/src/index.d.ts +9 -9
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
- package/dts/src/settings.d.ts +3 -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 +3 -2
- package/dist/401-B-zsepse.mjs +0 -103
- package/dist/404-CONZYh8l.mjs +0 -37
- package/dist/index-B1SSOakk.mjs +0 -235
- package/dist/runAs.vue_vue_type_script_setup_true_lang-D24eVmlS.mjs +0 -2558
|
@@ -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 { t as E, b as w, v as N, w as q, x as R } from "./index-
|
|
2
|
+
import { t as E, b as w, v as N, w as q, x as R } from "./index-CVxxMlrU.mjs";
|
|
3
3
|
const S = {
|
|
4
4
|
viewBox: "0 0 1024 1024",
|
|
5
5
|
width: "1.2em",
|
|
@@ -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 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 { y as b, aD as I } from "./index-
|
|
3
|
+
import { y as b, aD as I } from "./index-CVxxMlrU.mjs";
|
|
4
4
|
import { useI18n as S } from "vue-i18n";
|
|
5
5
|
const z = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
6
6
|
__name: "updatePwd",
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
59
59
|
width: number;
|
|
60
60
|
pictureUrl: unknown[];
|
|
61
61
|
height: number;
|
|
62
|
-
listType: "
|
|
62
|
+
listType: "text" | "picture" | "picture-card";
|
|
63
63
|
limit: number;
|
|
64
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
65
|
export default _default;
|
package/dts/src/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type { VueMetaEnv, TableColumn, TableSort, DialogRef, AppSettings, FileResponseReq, FilesReq } from "./types";
|
|
2
|
-
export type { EntityApi, EnumEntryReq, Entry, LayEntry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq } from "./api/types";
|
|
3
|
-
export type { LoginData, LoginQrcodeResp, MyOrganList, MyOrganModel, LoginResult } from "./api/auth/types";
|
|
1
|
+
export type { VueMetaEnv, TableColumn, TableSort, DialogRef, AppSettings, FileResponseReq, FilesReq, } from "./types";
|
|
2
|
+
export type { EntityApi, EnumEntryReq, Entry, LayEntry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq, } from "./api/types";
|
|
3
|
+
export type { LoginData, LoginQrcodeResp, MyOrganList, MyOrganModel, LoginResult, } from "./api/auth/types";
|
|
4
4
|
import type { App } from "vue";
|
|
5
|
-
export { menus, vueMetaEnv, defaultSettings, addViteMenus, addWebpackMenus, updateMetaEnv, updateViteMetaEnv, updateWebpackMetaEnv, addDynamicRoute, updateSettings } from "./settings";
|
|
5
|
+
export { menus, vueMetaEnv, imageUrl, defaultSettings, addViteMenus, addWebpackMenus, updateMetaEnv, updateViteMetaEnv, updateWebpackMetaEnv, addDynamicRoute, updateSettings, cssImageVar, } from "./settings";
|
|
6
6
|
export { getQueryParams, clearEmpty, deepMerge } from "./utils/grpc";
|
|
7
7
|
import request, { axiosConfig } from "./utils/request";
|
|
8
8
|
export { request, axiosConfig };
|
|
9
9
|
export { generateRandomKey, handlePreview } from "./utils/common";
|
|
10
|
-
export { validatePhoneNumber, validatePhoneOrLandline, validateCreditCode, validateIDCard, validateEmail } from "./utils/validation_utils";
|
|
11
|
-
export { BizDict, BizLayDict, CustomBizDict, EnumDict, enumMapCache, EnableBizDict } from "./api/index";
|
|
12
|
-
export { getCaptchaApi, createLoginQrcode, selectDsdRoles, runAsUser, myorganList, loginOrganApi } from "./api/auth";
|
|
10
|
+
export { validatePhoneNumber, validatePhoneOrLandline, validateCreditCode, validateIDCard, validateEmail, } from "./utils/validation_utils";
|
|
11
|
+
export { BizDict, BizLayDict, CustomBizDict, EnumDict, enumMapCache, EnableBizDict, } from "./api/index";
|
|
12
|
+
export { getCaptchaApi, createLoginQrcode, selectDsdRoles, runAsUser, myorganList, loginOrganApi, } from "./api/auth";
|
|
13
13
|
export { netEncrypt } from "./utils/netsecret";
|
|
14
14
|
export { fileApi } from "./api/file/index";
|
|
15
15
|
export { routerUtil } from "./utils/route";
|
|
@@ -17,7 +17,7 @@ export { SysApiImpl } from "./api/sys/index";
|
|
|
17
17
|
export { useTableHooks, TableHooks } from "./hooks/table";
|
|
18
18
|
export { store } from "./stores";
|
|
19
19
|
export { useAppStore, useAppStoreHook } from "./stores/modules/app";
|
|
20
|
-
export { usePermissionStore, usePermissionStoreHook } from "./stores/modules/permission";
|
|
20
|
+
export { usePermissionStore, usePermissionStoreHook, } from "./stores/modules/permission";
|
|
21
21
|
export { useSettingsStore } from "./stores/modules/settings";
|
|
22
22
|
export { useTagsViewStore } from "./stores/modules/tagsView";
|
|
23
23
|
export { useUserStore, useUserStoreHook } from "./stores/modules/user";
|
|
@@ -27,7 +27,7 @@ import routerRef from "./router";
|
|
|
27
27
|
export { routerRef };
|
|
28
28
|
import directive from "./directive";
|
|
29
29
|
export { directive };
|
|
30
|
-
export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage, ChangeOrgan } from "./router";
|
|
30
|
+
export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage, ChangeOrgan, } from "./router";
|
|
31
31
|
import i18n from "./lang/index";
|
|
32
32
|
export { i18n };
|
|
33
33
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
@@ -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;
|
package/dts/src/settings.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare const defaultSettings: AppSettings;
|
|
|
6
6
|
declare const vueMetaEnv: VueMetaEnv;
|
|
7
7
|
declare const menus: Map<any, any>;
|
|
8
8
|
declare const dynamicRoutes: RouteRecordRaw[];
|
|
9
|
+
declare let imageUrl: string;
|
|
9
10
|
/** 添加Vite模块菜单. **/
|
|
10
11
|
export declare function addViteMenus(modules: Record<string, any>, startLen: number): void;
|
|
11
12
|
export declare function defineComponentWithName(component: any, name: string): import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -31,5 +32,6 @@ export declare function convertViteMetaEnv(viteMetaEnv: ImportMetaEnv): VueMetaE
|
|
|
31
32
|
export declare function convertWebpackMetaEnv(webpackMetaEnv: any): VueMetaEnv;
|
|
32
33
|
/** 更新系统配置信息. */
|
|
33
34
|
export declare function updateSettings(setting: AppSettings): AppSettings;
|
|
34
|
-
export
|
|
35
|
+
export declare function cssImageVar(css: string, image: string, url?: boolean): void;
|
|
36
|
+
export { vueMetaEnv, menus, defaultSettings, dynamicRoutes, imageUrl };
|
|
35
37
|
export default defaultSettings;
|
|
@@ -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.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"@eslint/js": "^9.11.0",
|
|
24
24
|
"@iconify-json/ep": "^1.1.15",
|
|
25
25
|
"@intlify/core-base": "^9.10.2",
|
|
26
|
+
"@laynezh/vite-plugin-lib-assets": "^2.1.0",
|
|
26
27
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
27
28
|
"@tsconfig/node20": "^20.1.2",
|
|
28
29
|
"@types/node": "^20.11.10",
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {
|
|
56
57
|
"axios": "^1.9.0",
|
|
57
|
-
"element-plus": "^2.
|
|
58
|
+
"element-plus": "^2.11.5",
|
|
58
59
|
"pinia": "^2.3.1",
|
|
59
60
|
"vue": "^3.5.13",
|
|
60
61
|
"vue-i18n": "^9.14.4",
|