jmash-core 0.0.134 → 0.0.136
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-DBxsa9bE.mjs → 401-Bce6Fh5h.mjs} +1 -1
- package/dist/{404-BJn8FeIF.mjs → 404-BLUUqh7P.mjs} +1 -1
- package/dist/{BarChart-CKyYrrT7.mjs → BarChart-SQcGOIBj.mjs} +1 -1
- package/dist/{index-0oN-y8sE.mjs → index-7T9ulZqC.mjs} +2 -2
- package/dist/{index-CcmQ5Fxl.mjs → index-BVwsfY_S.mjs} +1 -1
- package/dist/{index-BDxV6vcz.mjs → index-C2uMRI2k.mjs} +1 -1
- package/dist/{index-_d8kiXHj.mjs → index-CXDaF7Bg.mjs} +5411 -5482
- package/dist/{index-Bi7QxdAK.mjs → index-xQPQCwlE.mjs} +3 -3
- package/dist/index.mjs +11 -11
- package/dist/{profile-DJslFxPO.mjs → profile-Br7Mlo-g.mjs} +1 -1
- package/dist/{runAs-DnOQlPBg.mjs → runAs-DokAoI2t.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-CYDXnEId.mjs → runAs.vue_vue_type_script_setup_true_lang-BWmlrPPC.mjs} +1 -1
- package/dist/{types-BoRZUoKd.mjs → types-Cwi-xsrB.mjs} +1 -1
- package/dist/{updatePwd-BA65AfsA.mjs → updatePwd-BS8TnIaD.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BVcgzG2G.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CoWib0Tg.mjs} +1 -1
- package/dts/src/hooks/table.d.ts +8 -0
- package/dts/src/index.d.ts +1 -1
- package/dts/src/stores/modules/searchCondition.d.ts +26 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as Q, E as Ue, _ as le, S as qe, a as we, b as He, c as ne, D as pe, d as We, f as Ke, e as ue, g as Xe, h as je, i as U, j as Ve, r as $e, k as fe, T as be, m as Ge, s as Ye, l as Je, n as de, o as Qe } from "./index-
|
|
1
|
+
import { u as Q, E as Ue, _ as le, S as qe, a as we, b as He, c as ne, D as pe, d as We, f as Ke, e as ue, g as Xe, h as je, i as U, j as Ve, r as $e, k as fe, T as be, m as Ge, s as Ye, l as Je, n as de, o as Qe } from "./index-CXDaF7Bg.mjs";
|
|
2
2
|
import { defineComponent as R, ref as F, resolveComponent as V, openBlock as d, createBlock as S, withCtx as b, createVNode as p, createElementBlock as x, Fragment as j, renderList as se, unref as l, createTextVNode as N, toDisplayString as E, createElementVNode as k, computed as B, createCommentVNode as $, isRef as _e, watch as oe, onBeforeMount as Ze, TransitionGroup as et, withModifiers as ce, normalizeClass as H, Transition as Pe, KeepAlive as tt, resolveDynamicComponent as ke, getCurrentInstance as nt, nextTick as Ae, onMounted as Ee, withDirectives as ot, normalizeStyle as it, vShow as at, normalizeProps as lt, guardReactiveProps as st, renderSlot as rt, watchEffect as ct } from "vue";
|
|
3
3
|
import { useRoute as me, useRouter as Se } from "vue-router";
|
|
4
|
-
import { _ as ut } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as dt } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as ut } from "./updatePwd.vue_vue_type_script_setup_true_lang-CoWib0Tg.mjs";
|
|
5
|
+
import { _ as dt } from "./runAs.vue_vue_type_script_setup_true_lang-BWmlrPPC.mjs";
|
|
6
6
|
import { storeToRefs as ft } from "pinia";
|
|
7
7
|
const mt = /* @__PURE__ */ R({
|
|
8
8
|
__name: "index",
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { aa as t, ab as r, az as
|
|
1
|
+
import { aa as t, ab as r, az as o, ac as i, ax as n, ae as u, B as d, av as g, aw as p, ar as l, as as c, at as m, au as P, ay as v, S, aj as E, Z as k, U as y, V as b, O as f, a1 as D, A as M, a2 as h, Q as A, e as C, P as L, ad as R, f as z, a3 as H, v as B, a0 as U, a4 as x, j as O, ag as V, R as w, p as Q, z as T, N as W, ap as j, r as q, ah as I, K, af as N, ak as F, W as X, aq as Y, $ as Z, X as $, Y as G, u as J, al as _, ao as aa, k as ea, am as sa, c as ta, ai as ra, a as oa, b as ia, an as na, a7 as ua, a9 as da, a8 as ga, a5 as pa, a6 as la, x as ca } from "./index-CXDaF7Bg.mjs";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
export {
|
|
4
4
|
t as BizDict,
|
|
5
5
|
r as BizLayDict,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
o as ChangeOrgan,
|
|
7
|
+
i as CustomBizDict,
|
|
8
8
|
n as DashboardPage,
|
|
9
9
|
u as EnableBizDict,
|
|
10
10
|
d as EnumDict,
|
|
@@ -17,11 +17,11 @@ export {
|
|
|
17
17
|
v as RedirectPage,
|
|
18
18
|
S as SysApiImpl,
|
|
19
19
|
E as TableHooks,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
k as addDynamicRoute,
|
|
21
|
+
y as addViteMenus,
|
|
22
22
|
b as addWebpackMenus,
|
|
23
23
|
f as axiosConfig,
|
|
24
|
-
|
|
24
|
+
D as clearEmpty,
|
|
25
25
|
M as createLoginQrcode,
|
|
26
26
|
h as deepMerge,
|
|
27
27
|
A as default,
|
|
@@ -29,8 +29,8 @@ export {
|
|
|
29
29
|
L as directive,
|
|
30
30
|
R as enumMapCache,
|
|
31
31
|
z as fileApi,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
H as generateRandomKey,
|
|
33
|
+
B as getCaptchaApi,
|
|
34
34
|
U as getQueryParams,
|
|
35
35
|
x as handlePreview,
|
|
36
36
|
O as i18n,
|
|
@@ -52,13 +52,13 @@ export {
|
|
|
52
52
|
G as updateWebpackMetaEnv,
|
|
53
53
|
J as useAppStore,
|
|
54
54
|
_ as useAppStoreHook,
|
|
55
|
-
aa as
|
|
55
|
+
aa as useListStoreHook,
|
|
56
56
|
ea as usePermissionStore,
|
|
57
57
|
sa as usePermissionStoreHook,
|
|
58
58
|
ta as useSettingsStore,
|
|
59
59
|
ra as useTableHooks,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
oa as useTagsViewStore,
|
|
61
|
+
ia as useUserStore,
|
|
62
62
|
na as useUserStoreHook,
|
|
63
63
|
ua as validateCreditCode,
|
|
64
64
|
da as validateEmail,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var F = Object.defineProperty;
|
|
2
2
|
var L = (m, p, i) => p in m ? F(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
|
|
3
3
|
var y = (m, p, i) => L(m, typeof p != "symbol" ? p + "" : p, i);
|
|
4
|
-
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-
|
|
4
|
+
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-CXDaF7Bg.mjs";
|
|
5
5
|
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, openBlock as c, createElementBlock as k, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as $, renderList as N, createBlock as U, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
|
|
6
6
|
import { ElMessage as ae } from "element-plus";
|
|
7
7
|
class h {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, J as x, g as T, K as U, E as V, _ as B, L as P } from "./index-
|
|
1
|
+
import { b as s, J as x, g as T, K as U, E as V, _ as B, L as P } from "./index-CXDaF7Bg.mjs";
|
|
2
2
|
import { defineComponent as M, ref as _, useModel as S, reactive as $, resolveComponent as A, openBlock as m, createBlock as D, withCtx as a, createVNode as d, unref as t, createTextVNode as c, toDisplayString as n, createElementBlock as y, withDirectives as f, vShow as g, createCommentVNode as C } from "vue";
|
|
3
3
|
const L = {
|
|
4
4
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as I, createElementBlock 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 { v as E, b as w, w as N, x as q, y as R } from "./index-
|
|
2
|
+
import { v as E, b as w, w as N, x as q, y as R } from "./index-CXDaF7Bg.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, openBlock as O, createBlock as A, unref as t, isRef as U, withCtx as n, createElementVNode as z, createVNode as r, createTextVNode as g, toDisplayString as _ } from "vue";
|
|
2
2
|
import { ElMessage as B } from "element-plus";
|
|
3
|
-
import { z as b, M as D } from "./index-
|
|
3
|
+
import { z as b, M as D } from "./index-CXDaF7Bg.mjs";
|
|
4
4
|
import { useI18n as I } from "vue-i18n";
|
|
5
5
|
const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
6
6
|
__name: "updatePwd",
|
package/dts/src/hooks/table.d.ts
CHANGED
|
@@ -28,8 +28,16 @@ export declare class TableHooks {
|
|
|
28
28
|
findPage(): boolean;
|
|
29
29
|
/** 处理查询,如果查询数据中存在当前页数,则重置为第一页. */
|
|
30
30
|
handleQuery(): void;
|
|
31
|
+
/** 从详情页返回列表页并保留查询条件重新查询 */
|
|
32
|
+
restoreAndQuery(): void;
|
|
31
33
|
handleSort(prop: string, order: string | null): void;
|
|
32
34
|
resetQuery(): void;
|
|
35
|
+
/**
|
|
36
|
+
* 用于清除查询条件并重新加载数据与restoreAndQuery()对应
|
|
37
|
+
* 此函数用于重置查询表单,清除查询参数,并触发数据的重新加载
|
|
38
|
+
* @param {Array<string>} key - 需要重置的查询参数键数组
|
|
39
|
+
*/
|
|
40
|
+
clearQueryAndReload(key: Array<string>): void;
|
|
33
41
|
/** 删除记录 */
|
|
34
42
|
deleteRecord(row: EntityModel): void;
|
|
35
43
|
/** 删除多项记录 */
|
package/dts/src/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export { netEncrypt } from "./utils/netsecret";
|
|
|
14
14
|
export { fileApi } from "./api/file/index";
|
|
15
15
|
export { routerUtil } from "./utils/route";
|
|
16
16
|
export { SysApiImpl } from "./api/sys/index";
|
|
17
|
-
export { useListData } from "./hooks/useList";
|
|
18
17
|
export { useTableHooks, TableHooks } from "./hooks/table";
|
|
19
18
|
export { store } from "./stores";
|
|
20
19
|
export { useAppStore, useAppStoreHook } from "./stores/modules/app";
|
|
@@ -22,6 +21,7 @@ export { usePermissionStore, usePermissionStoreHook } from "./stores/modules/per
|
|
|
22
21
|
export { useSettingsStore } from "./stores/modules/settings";
|
|
23
22
|
export { useTagsViewStore } from "./stores/modules/tagsView";
|
|
24
23
|
export { useUserStore, useUserStoreHook } from "./stores/modules/user";
|
|
24
|
+
export { useListStoreHook } from "./stores/modules/searchCondition";
|
|
25
25
|
export { resetRouter, updateRouter } from "./router";
|
|
26
26
|
import routerRef from "./router";
|
|
27
27
|
export { routerRef };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const useListStore: import("pinia").StoreDefinition<"list", Pick<{
|
|
2
|
+
setQueryParams: (params: Record<string, any>) => void;
|
|
3
|
+
resetQueryParams: (keysToDelete?: string[]) => void;
|
|
4
|
+
queryParams: Record<string, any>;
|
|
5
|
+
}, "queryParams">, Pick<{
|
|
6
|
+
setQueryParams: (params: Record<string, any>) => void;
|
|
7
|
+
resetQueryParams: (keysToDelete?: string[]) => void;
|
|
8
|
+
queryParams: Record<string, any>;
|
|
9
|
+
}, never>, Pick<{
|
|
10
|
+
setQueryParams: (params: Record<string, any>) => void;
|
|
11
|
+
resetQueryParams: (keysToDelete?: string[]) => void;
|
|
12
|
+
queryParams: Record<string, any>;
|
|
13
|
+
}, "setQueryParams" | "resetQueryParams">>;
|
|
14
|
+
export declare function useListStoreHook(): import("pinia").Store<"list", Pick<{
|
|
15
|
+
setQueryParams: (params: Record<string, any>) => void;
|
|
16
|
+
resetQueryParams: (keysToDelete?: string[] | undefined) => void;
|
|
17
|
+
queryParams: Record<string, any>;
|
|
18
|
+
}, "queryParams">, Pick<{
|
|
19
|
+
setQueryParams: (params: Record<string, any>) => void;
|
|
20
|
+
resetQueryParams: (keysToDelete?: string[] | undefined) => void;
|
|
21
|
+
queryParams: Record<string, any>;
|
|
22
|
+
}, never>, Pick<{
|
|
23
|
+
setQueryParams: (params: Record<string, any>) => void;
|
|
24
|
+
resetQueryParams: (keysToDelete?: string[] | undefined) => void;
|
|
25
|
+
queryParams: Record<string, any>;
|
|
26
|
+
}, "setQueryParams" | "resetQueryParams">>;
|