jmash-core 0.0.39 → 0.0.41

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.
Files changed (73) hide show
  1. package/dist/{401-CdhEu4T4.mjs → 401-CJFCHgSZ.mjs} +2 -2
  2. package/dist/{404-DkL9XgVz.mjs → 404-CIMxkP9D.mjs} +1 -1
  3. package/dist/{BarChart-BAUAF2EM.mjs → BarChart-DU09mkLm.mjs} +2 -2
  4. package/dist/{PieChart-DawdhjgV.mjs → PieChart-CoqFm60I.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BNpfYKP_.mjs → PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs} +2 -2
  6. package/dist/{RadarChart-Cmy4Kx6_.mjs → RadarChart-0WISsxpt.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DSbItcHQ.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs} +2 -2
  8. package/dist/{el-card-C34Q0Uym.mjs → el-card-DTXS4SWb.mjs} +1 -1
  9. package/dist/{el-col-B52VUKzg.mjs → el-col-C1oER81S.mjs} +1 -1
  10. package/dist/{el-form-item-B4UdYQRs.mjs → el-form-item-CJcAbcqr.mjs} +76 -76
  11. package/dist/{index-C8YRqnUz.mjs → index-BAk-5oG9.mjs} +1 -1
  12. package/dist/{index-C80YQc_W.mjs → index-BwIx8FCt.mjs} +32 -32
  13. package/dist/{index-uMvRmAE4.mjs → index-C195Pa7c.mjs} +9761 -11328
  14. package/dist/{index-C8BZXM0g.mjs → index-DB4OW-7Q.mjs} +982 -946
  15. package/dist/{index-Bo7YJt82.mjs → index-ORr19rEl.mjs} +48 -48
  16. package/dist/index.mjs +40 -37
  17. package/dist/index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs +720 -0
  18. package/dist/{picture-BWU-5yjz.mjs → picture-Cpgh-vo-.mjs} +106 -106
  19. package/dist/{position-C-x4QW6J.mjs → position-M0AZIV5D.mjs} +1 -1
  20. package/dist/profile-DBegP-cF.mjs +4904 -0
  21. package/dist/{runAs-TvH5stYU.mjs → runAs-xhA9mf-i.mjs} +1 -1
  22. package/dist/runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs +610 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{types-D2erVkDs.mjs → types-FkPgztcJ.mjs} +4 -3
  25. package/dist/{updatePwd-B2_g0SZo.mjs → updatePwd-D1EnTbTY.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BizfnzzV.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs} +20 -20
  27. package/dts/src/api/auth/index.d.ts +27 -2
  28. package/dts/src/api/auth/types.d.ts +42 -34
  29. package/dts/src/api/index.d.ts +7 -1
  30. package/dts/src/api/types.d.ts +10 -0
  31. package/dts/src/index.d.ts +9 -8
  32. package/dts/src/lang/package/zh-cn.d.ts +2 -0
  33. package/dts/src/router/index.d.ts +5 -3
  34. package/dts/src/utils/request.d.ts +2 -0
  35. package/package.json +1 -1
  36. package/dist/edit-BLaPAzUL.mjs +0 -4
  37. package/dist/edit-BXuyxZh9.mjs +0 -4
  38. package/dist/edit-CFf0s07O.mjs +0 -823
  39. package/dist/edit-DZ9hTXeR.mjs +0 -4
  40. package/dist/edit-DlrFLzTL.mjs +0 -4
  41. package/dist/edit-EdaB9SSf.mjs +0 -4
  42. package/dist/edit-Kne2PwwU.mjs +0 -459
  43. package/dist/edit-jg9l_Reg.mjs +0 -4
  44. package/dist/edit.vue_vue_type_script_setup_true_lang-4rHDZXXI.mjs +0 -216
  45. package/dist/edit.vue_vue_type_script_setup_true_lang-BC1zWgeA.mjs +0 -593
  46. package/dist/edit.vue_vue_type_script_setup_true_lang-BckjVLbr.mjs +0 -136
  47. package/dist/edit.vue_vue_type_script_setup_true_lang-Bd_6zzD7.mjs +0 -157
  48. package/dist/edit.vue_vue_type_script_setup_true_lang-BmDTKxvL.mjs +0 -280
  49. package/dist/edit.vue_vue_type_script_setup_true_lang-BwDzJpxL.mjs +0 -226
  50. package/dist/el-checkbox-group-l0sNRNKZ.mjs +0 -1
  51. package/dist/el-date-picker-ZuZ7Icew.mjs +0 -3345
  52. package/dist/el-divider-B2Q7h8Ue.mjs +0 -45
  53. package/dist/el-dropdown-item-CF7AWJJk.mjs +0 -671
  54. package/dist/el-tree-select-B2n1iK36.mjs +0 -1313
  55. package/dist/index-BBtOEuTE.mjs +0 -280
  56. package/dist/index-BYBALKYQ.mjs +0 -74
  57. package/dist/index-BZ0HWESU.mjs +0 -949
  58. package/dist/index-BoC2W_nt.mjs +0 -280
  59. package/dist/index-CLxvt-Vt.mjs +0 -292
  60. package/dist/index-CoJe3ek6.mjs +0 -280
  61. package/dist/index-CtCbUL0r.mjs +0 -471
  62. package/dist/index-D-Ce5smQ.mjs +0 -505
  63. package/dist/index-DDBu5r9o.mjs +0 -93
  64. package/dist/index-DFRe9_oD.mjs +0 -480
  65. package/dist/index-DHMuTZ7a.mjs +0 -246
  66. package/dist/index-DqfVM012.mjs +0 -502
  67. package/dist/index-Niej8SwP.mjs +0 -134
  68. package/dist/index-Orr0L_H3.mjs +0 -63
  69. package/dist/index-wDuQo7A0.mjs +0 -501
  70. package/dist/index.vue_vue_type_script_setup_true_lang-DIcVpe9M.mjs +0 -55
  71. package/dist/moment-CMYwqyVT.mjs +0 -2579
  72. package/dist/profile-VVxA40z5.mjs +0 -262
  73. package/dist/runAs.vue_vue_type_script_setup_true_lang-BHqTCD_Q.mjs +0 -114
@@ -1,11 +1,12 @@
1
- import { am as x, $ as b, an as D, ao as U, ap as $, s as B, t as N, al as R } from "./index-uMvRmAE4.mjs";
2
- import { _ as S, E as q } from "./picture-BWU-5yjz.mjs";
3
- import { E as z, a as A } from "./el-form-item-B4UdYQRs.mjs";
1
+ import { am as x, $ as b, an as D, ao as U, ap as $, s as B, t as N, al as R } from "./index-C195Pa7c.mjs";
2
+ import { _ as S, E as q } from "./picture-Cpgh-vo-.mjs";
3
+ import { E as z, a as A } from "./el-form-item-CJcAbcqr.mjs";
4
4
  import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as a, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
5
5
  const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, X = /* @__PURE__ */ M({
6
6
  __name: "types",
7
7
  setup(J) {
8
8
  const _ = I(), c = m({
9
+ title: "",
9
10
  visible: !1
10
11
  }), n = m({
11
12
  content: "获取验证码",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-BizfnzzV.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- import { aR as y, s as C, t as h, al as v } from "./index-uMvRmAE4.mjs";
2
- import { E as x, a as O } from "./el-form-item-B4UdYQRs.mjs";
3
- import { defineComponent as A, ref as R, toRefs as B, reactive as f, openBlock as F, createBlock as I, unref as r, isRef as U, withCtx as a, createElementVNode as q, createVNode as t, createTextVNode as c } from "vue";
1
+ import { bC as N, s as y, t as h, al as v } from "./index-C195Pa7c.mjs";
2
+ import { E as x, a as O } from "./el-form-item-CJcAbcqr.mjs";
3
+ import { defineComponent as A, ref as B, toRefs as F, reactive as f, openBlock as I, createBlock as R, unref as r, isRef as U, withCtx as n, createElementVNode as q, createVNode as t, createTextVNode as c } from "vue";
4
4
  import { ElMessage as D } from "element-plus";
5
5
  const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
6
6
  __name: "updatePwd",
@@ -12,7 +12,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
12
12
  },
13
13
  emits: ["dialogActionChange"],
14
14
  setup(P, { emit: _ }) {
15
- const i = R(), V = P, { pwdVisible: w } = B(V), u = _;
15
+ const i = B(), V = P, { pwdVisible: w } = F(V), u = _;
16
16
  let l = f({
17
17
  encodeOldPwd: "",
18
18
  encodeNewPwd: "",
@@ -38,7 +38,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
38
38
  var d;
39
39
  await ((d = i.value) == null ? void 0 : d.validate((e) => {
40
40
  if (e)
41
- y(l.encodeOldPwd, l.encodeNewPwd).then((o) => {
41
+ N(l.encodeOldPwd, l.encodeNewPwd).then((o) => {
42
42
  o.status === 200 && (D({
43
43
  message: "密码修改成功",
44
44
  type: "success"
@@ -53,18 +53,18 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
53
53
  (d = i.value) == null || d.resetFields(), u("dialogActionChange", !1);
54
54
  }
55
55
  return (d, e) => {
56
- const o = C, s = x, N = O, m = h, b = v;
57
- return F(), I(b, {
56
+ const o = y, s = x, b = O, m = h, C = v;
57
+ return I(), R(C, {
58
58
  title: "修改密码",
59
59
  modelValue: r(w),
60
- "onUpdate:modelValue": e[3] || (e[3] = (n) => U(w) ? w.value = n : null),
60
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => U(w) ? w.value = a : null),
61
61
  width: "500px",
62
62
  onClose: p
63
63
  }, {
64
- footer: a(() => [
64
+ footer: n(() => [
65
65
  q("div", $, [
66
66
  t(m, { onClick: p }, {
67
- default: a(() => [
67
+ default: n(() => [
68
68
  c("取消")
69
69
  ]),
70
70
  _: 1
@@ -73,31 +73,31 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
73
73
  type: "primary",
74
74
  onClick: E
75
75
  }, {
76
- default: a(() => [
76
+ default: n(() => [
77
77
  c("确认")
78
78
  ]),
79
79
  _: 1
80
80
  })
81
81
  ])
82
82
  ]),
83
- default: a(() => [
84
- t(N, {
83
+ default: n(() => [
84
+ t(b, {
85
85
  ref_key: "pwdRef",
86
86
  ref: i,
87
87
  model: r(l),
88
88
  "label-width": "80px",
89
89
  rules: g
90
90
  }, {
91
- default: a(() => [
91
+ default: n(() => [
92
92
  t(s, {
93
93
  label: "旧密码",
94
94
  prop: "encodeOldPwd"
95
95
  }, {
96
- default: a(() => [
96
+ default: n(() => [
97
97
  t(o, {
98
98
  type: "password",
99
99
  modelValue: r(l).encodeOldPwd,
100
- "onUpdate:modelValue": e[0] || (e[0] = (n) => r(l).encodeOldPwd = n),
100
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => r(l).encodeOldPwd = a),
101
101
  placeholder: "请输入旧密码",
102
102
  "show-password": "",
103
103
  clearable: ""
@@ -109,11 +109,11 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
109
109
  label: "新密码",
110
110
  prop: "encodeNewPwd"
111
111
  }, {
112
- default: a(() => [
112
+ default: n(() => [
113
113
  t(o, {
114
114
  type: "password",
115
115
  modelValue: r(l).encodeNewPwd,
116
- "onUpdate:modelValue": e[1] || (e[1] = (n) => r(l).encodeNewPwd = n),
116
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => r(l).encodeNewPwd = a),
117
117
  placeholder: "请输入新密码",
118
118
  "show-password": "",
119
119
  clearable: ""
@@ -125,11 +125,11 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
125
125
  label: "确认密码",
126
126
  prop: "confirmPwd"
127
127
  }, {
128
- default: a(() => [
128
+ default: n(() => [
129
129
  t(o, {
130
130
  type: "password",
131
131
  modelValue: r(l).confirmPwd,
132
- "onUpdate:modelValue": e[2] || (e[2] = (n) => r(l).confirmPwd = n),
132
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => r(l).confirmPwd = a),
133
133
  placeholder: "请再一次输入新密码",
134
134
  "show-password": "",
135
135
  clearable: ""
@@ -1,5 +1,5 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { CaptchaResult, LoginData, LoginResult, userInfo } from "./types";
2
+ import type { CaptchaResult, LoginData, LoginResult, UserInfo } from "./types";
3
3
  /**
4
4
  * 登录API
5
5
  *
@@ -30,7 +30,7 @@ export declare function logincode(data: any): AxiosPromise<CaptchaResult>;
30
30
  /**
31
31
  * 用户信息
32
32
  */
33
- export declare function getUserInfoApi(): AxiosPromise<userInfo>;
33
+ export declare function getUserInfoApi(): AxiosPromise<UserInfo>;
34
34
  export declare function updateUser(data: any): Promise<import("axios").AxiosResponse<any, any>>;
35
35
  export declare function updatePwd(encodeOldPwd: string, encodeNewPwd: string): Promise<import("axios").AxiosResponse<any, any>>;
36
36
  export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<any, any>>;
@@ -39,3 +39,28 @@ export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<
39
39
  */
40
40
  export declare function runAsUser(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
41
41
  export declare function selectDsdRoles(): Promise<import("axios").AxiosResponse<any, any>>;
42
+ /**
43
+ * 获取所有角色列表
44
+ *
45
+ * @returns 返回请求响应结果
46
+ */
47
+ export declare function listRoles(): Promise<import("axios").AxiosResponse<any, any>>;
48
+ /**
49
+ * 获取所有路由列表
50
+ *
51
+ * @returns 返回请求结果的Promise对象
52
+ */
53
+ export declare function listRoutes(): Promise<import("axios").AxiosResponse<any, any>>;
54
+ /**
55
+ * 获取部门树形列表
56
+ *
57
+ * @param deptId 部门ID,可选
58
+ * @returns 返回部门树形列表
59
+ */
60
+ export declare function treelistDept(deptId?: string): Promise<import("axios").AxiosResponse<any, any>>;
61
+ /**
62
+ * 获取树形列表中所有岗位信息
63
+ *
64
+ * @returns 返回请求结果
65
+ */
66
+ export declare function treelistJob(): Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,34 +1,24 @@
1
+ import type { RouteComponent, RouteRecordRedirectOption, RouteMeta, RouteRecordName } from "vue-router";
2
+ declare type Lazy<T> = () => Promise<T>;
3
+ /** 路由类型 */
4
+ export interface RouteRecord {
5
+ path: string;
6
+ name?: RouteRecordName;
7
+ redirect?: RouteRecordRedirectOption;
8
+ componentName: RouteComponent | Lazy<RouteComponent> | never | string;
9
+ meta: RouteMeta;
10
+ children?: RouteRecord[] | null;
11
+ }
1
12
  /**
2
13
  * 登录用户信息
3
14
  */
4
- export interface userInfo {
5
- /**
6
- * 用户ID --不必填
7
- */
15
+ export interface UserInfo {
8
16
  userId?: string;
9
- /**
10
- * 用户名 --不必填
11
- */
12
17
  userName?: string;
13
- /**
14
- * 昵称 --不必填
15
- */
16
18
  nickName?: string;
17
- /**
18
- * 头像 --不必填
19
- */
20
19
  avatar?: string;
21
- /**
22
- * 租户
23
- */
24
20
  tenant: string;
25
- /**
26
- * 角色权限
27
- */
28
21
  roleCodes: string[];
29
- /**
30
- * 操作按钮权限
31
- */
32
22
  permCodes: string[];
33
23
  }
34
24
  /**
@@ -88,7 +78,7 @@ export interface CaptchaResult {
88
78
  /** 验证码图片Base64字符串 */
89
79
  base64Image: string;
90
80
  }
91
- export interface sendModelRef {
81
+ export interface SendModelRef {
92
82
  /**
93
83
  * 操作内容
94
84
  */
@@ -105,7 +95,7 @@ export interface sendModelRef {
105
95
  /**
106
96
  * 找回密码
107
97
  */
108
- export interface verificateRef {
98
+ export interface VerificateRef {
109
99
  /**
110
100
  * 邮箱、手机号
111
101
  */
@@ -126,7 +116,7 @@ export interface verificateRef {
126
116
  /**
127
117
  * 修改密码
128
118
  */
129
- export interface updatePwdForm {
119
+ export interface UpdatePwdForm {
130
120
  /**
131
121
  * 旧密码
132
122
  */
@@ -143,7 +133,7 @@ export interface updatePwdForm {
143
133
  /**
144
134
  * 找回密码
145
135
  */
146
- export interface findPwdRef {
136
+ export interface FindPwdRef {
147
137
  /**
148
138
  * 租户
149
139
  */
@@ -169,12 +159,30 @@ export interface findPwdRef {
169
159
  */
170
160
  directoryId: string;
171
161
  }
172
- /**
173
- * 弹框
174
- */
175
- export interface dialogRef {
176
- /**
177
- * 显示隐藏
178
- */
179
- visible: boolean;
162
+ export interface UserForm {
163
+ tenant?: string;
164
+ updateMask?: string;
165
+ requestId?: string;
166
+ userId?: string;
167
+ repeatPwd?: string;
168
+ avatar?: string;
169
+ directoryId?: string;
170
+ loginName?: string;
171
+ nickName?: string;
172
+ realName?: string;
173
+ birthDate?: string;
174
+ gender?: string;
175
+ mobilePhone?: string;
176
+ roleIds: Array<string>;
177
+ email?: string;
178
+ status?: string;
179
+ pwd?: string;
180
+ userJobs?: UserJobsItem[];
181
+ phoneApproved?: boolean;
182
+ emailApproved?: boolean;
183
+ }
184
+ interface UserJobsItem {
185
+ deptId: string;
186
+ jobId: string;
180
187
  }
188
+ export {};
@@ -1,4 +1,4 @@
1
- import type { Entry } from "./types";
1
+ import type { Entry, LayEntry } from "./types";
2
2
  import { type Ref } from "vue";
3
3
  export interface BizDict {
4
4
  data: Ref<Entry[]>;
@@ -6,6 +6,12 @@ export interface BizDict {
6
6
  useValues(): Promise<Ref<Entry[]>>;
7
7
  getValue(key: string): string;
8
8
  }
9
+ export interface BizLayDict {
10
+ data: Ref<LayEntry[]>;
11
+ query: any;
12
+ useValues(): Promise<Ref<LayEntry[]>>;
13
+ getValue(key: string): string;
14
+ }
9
15
  export declare class EnumDict {
10
16
  module: string;
11
17
  enumClass: string;
@@ -23,6 +23,16 @@ export interface Entry {
23
23
  key: string;
24
24
  value: string;
25
25
  }
26
+ export interface LayEntry {
27
+ value: string;
28
+ label: string;
29
+ parentId: string;
30
+ children: LayEntry[];
31
+ }
32
+ export interface EntityExportReq {
33
+ type: number;
34
+ data: any;
35
+ }
26
36
  export interface EntityReq {
27
37
  curPage?: number;
28
38
  pageSize?: number;
@@ -1,13 +1,14 @@
1
1
  export type { VueMetaEnv, TableColumn, TableSort, AppSettings } from "./types";
2
- export type { EntityApi, EnumEntryReq, Entry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq } from "./api/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 } from "@/api/auth/types";
3
4
  import type { App } from "vue";
4
5
  export { menus, vueMetaEnv, addViteMenus, addWebpackMenus, updateMetaEnv, updateSettings } from "./settings";
5
6
  export { getQueryParams, clearEmpty, deepMerge } from "./utils/grpc";
6
- import request from "./utils/request";
7
- export { request };
7
+ import request, { axiosConfig } from "./utils/request";
8
+ export { request, axiosConfig };
8
9
  export { useDictionary } from "./utils/common";
9
- export { dictMap } from "./api/system/index";
10
- export { type BizDict, EnableBizDict, EnumDict, enumMapCache, useEnum } from "./api/index";
10
+ export { type BizDict, type BizLayDict, EnableBizDict, EnumDict, enumMapCache, useEnum } from "./api/index";
11
+ export { getCaptchaApi, selectDsdRoles } from "@/api/auth";
11
12
  export { useListData } from "./hooks/useList";
12
13
  export { useColumnToggleTable } from "./hooks/useColumnToggleTable";
13
14
  export { useTableHooks, TableHooks } from "./hooks/table";
@@ -17,9 +18,9 @@ export { usePermissionStore, usePermissionStoreHook } from "./stores/modules/per
17
18
  export { useSettingsStore } from "./stores/modules/settings";
18
19
  export { useTagsViewStore } from "./stores/modules/tagsView";
19
20
  export { useUserStore, useUserStoreHook } from "./stores/modules/user";
20
- export { resetRouter } from "./router";
21
- import router from "./router";
22
- export { router };
21
+ export { resetRouter, updateRouter } from "./router";
22
+ import routerRef from "./router";
23
+ export { routerRef };
23
24
  import directive from "./directive";
24
25
  export { directive };
25
26
  export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage } from "./router";
@@ -93,6 +93,8 @@ declare const _default: {
93
93
  confirm: string;
94
94
  cancel: string;
95
95
  unbind: string;
96
+ next: string;
97
+ last: string;
96
98
  uploadFiles: string;
97
99
  dragFiles: string;
98
100
  uploadEvent: string;
@@ -1,4 +1,5 @@
1
- import type { RouteRecordRaw } from "vue-router";
1
+ import { type Ref } from "vue";
2
+ import type { RouteRecordRaw, Router } from "vue-router";
2
3
  export declare const Layout: () => Promise<typeof import("@/layout/index.vue")>;
3
4
  export declare const LoginPage: () => Promise<typeof import("@/views/login/index.vue")>;
4
5
  export declare const MultiFactorLoginPage: () => Promise<typeof import("@/views/login/components/types.vue")>;
@@ -11,9 +12,10 @@ export declare const constantRoutes: RouteRecordRaw[];
11
12
  /**
12
13
  * 创建路由
13
14
  */
14
- declare const router: import("vue-router").Router;
15
+ declare const routerRef: Ref;
15
16
  /**
16
17
  * 重置路由
17
18
  */
18
19
  export declare function resetRouter(): void;
19
- export default router;
20
+ export declare function updateRouter(newRouter: Router): void;
21
+ export default routerRef;
@@ -1,2 +1,4 @@
1
+ import type { VueMetaEnv } from "@/types/index";
1
2
  declare const service: import("axios").AxiosInstance;
3
+ export declare function axiosConfig(metaEnv: VueMetaEnv): void;
2
4
  export default service;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BckjVLbr.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-4rHDZXXI.mjs";
2
- export {
3
- f as default
4
- };