xto-fronted 0.4.109 → 0.4.111

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.
@@ -3,7 +3,7 @@ import { Form as N, FormItem as v, Input as x, Select as Q, Switch as S } from "
3
3
  import { Tag as W, Pagination as X } from "@xto/data";
4
4
  import { Popconfirm as Y, Modal as Z, Message as B } from "@xto/feedback";
5
5
  import { Space as L, Button as f } from "@xto/base";
6
- import { S as d, a as ee, _ as te } from "./index-Cqe1Z1sC.js";
6
+ import { S as d, a as ee, _ as te } from "./index-Cjel_bu8.js";
7
7
  const le = { class: "role-page" }, se = { class: "search-section" }, oe = { class: "table-section" }, ae = { class: "table-toolbar" }, ne = { class: "toolbar-left" }, ie = { class: "toolbar-right" }, de = { class: "table-count" }, re = { class: "table-wrapper" }, ue = { class: "data-table" }, ce = { key: 0 }, pe = { key: 1 }, me = { class: "col-id" }, ve = { class: "id-badge" }, fe = { class: "col-name" }, ge = { class: "role-name" }, ye = { class: "col-code" }, _e = { class: "col-desc" }, ke = { class: "desc-text" }, he = { class: "col-status" }, xe = { class: "status-switch" }, Ve = { class: "col-time" }, be = { class: "time-text" }, Ee = { class: "col-actions" }, Ce = { class: "pagination-wrapper" }, Be = { class: "status-field" }, Le = { class: "status-label" }, De = /* @__PURE__ */ P({
8
8
  __name: "index",
9
9
  setup(we) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, ref as l, resolveComponent as b, openBlock as a, createElementBlock as o, createElementVNode as s, Fragment as n, renderList as c, normalizeStyle as r, toDisplayString as i, normalizeClass as d, createBlock as w, withCtx as U, createVNode as u, unref as v } from "vue";
2
2
  import { Progress as _ } from "@xto/data";
3
- import { _ as q } from "./index-Cqe1Z1sC.js";
3
+ import { _ as q } from "./index-Cjel_bu8.js";
4
4
  const x = { class: "dashboard" }, C = { class: "stats-section" }, B = { class: "stat-content" }, M = { class: "stat-title" }, I = {
5
5
  key: 0,
6
6
  viewBox: "0 0 24 24",
@@ -3,7 +3,7 @@ import { Form as S, FormItem as c, Input as x, Select as W, Switch as U } from "
3
3
  import { Tag as X, Pagination as Y } from "@xto/data";
4
4
  import { Popconfirm as Z, Modal as ee, Message as C } from "@xto/feedback";
5
5
  import { Space as D, Button as g } from "@xto/base";
6
- import { S as d, a as te, _ as le } from "./index-Cqe1Z1sC.js";
6
+ import { S as d, a as te, _ as le } from "./index-Cjel_bu8.js";
7
7
  const se = { class: "user-page" }, ae = { class: "search-section" }, oe = { class: "table-section" }, ne = { class: "table-toolbar" }, ie = { class: "toolbar-left" }, de = { class: "toolbar-right" }, re = { class: "table-count" }, ue = { class: "table-wrapper" }, me = { class: "data-table" }, ce = { key: 0 }, pe = { key: 1 }, ve = { class: "col-id" }, fe = { class: "id-badge" }, he = { class: "col-user" }, ge = { class: "user-info" }, ke = { class: "user-avatar" }, _e = { class: "user-detail" }, ye = { class: "user-nickname" }, xe = { class: "user-username" }, Ve = { class: "col-contact" }, be = { class: "contact-info" }, Ee = { class: "contact-email" }, Be = { class: "contact-phone" }, Ce = { class: "col-roles" }, De = { class: "role-tags" }, Le = { class: "col-status" }, we = { class: "status-switch" }, ze = { class: "col-time" }, Ae = { class: "time-text" }, Ne = { class: "col-actions" }, Se = { class: "pagination-wrapper" }, Ue = { class: "status-field" }, Me = { class: "status-label" }, Te = /* @__PURE__ */ R({
8
8
  __name: "index",
9
9
  setup(Ie) {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { F as a, c as t, G as o, d as r, e as n, H as u, L as i, i as p, M as l, b as T, f as d, g, h as R, S as c, a as k, j as f, T as h, k as S, l as U, m, n as A, o as M, p as y, q as x, r as L, s as C, t as D, u as b, v as I, w as F, x as G, y as B, z as E, A as O, B as P, C as v, D as w, E as H, I as N, J as j, K as q, N as z } from "./index-Cqe1Z1sC.js";
2
- import { J as K, b as X, A as Q, c as V, a as W, d as Y, e as Z, f as _, g as $, F as ee, D as se, C as ae, K as te, h as oe, i as re, L as ne, M as ue, j as ie, k as pe, y as le, N as Te, O as de, l as ge, m as Re, n as ce, z as ke, P as fe, H as he, Q as Se, E as Ue, x as me, R as Ae, o as Me, p as ye, r as xe, q as Le, S as Ce, T as De, G as be, I as Ie, U as Fe, V as Ge, W as Be, X as Ee, Y as Oe, B as Pe, Z as ve, u as we, s as He, t as Ne, v as je, w as qe } from "./user-CnAtwLXY.js";
1
+ import { F as a, c as t, G as o, d as r, e as n, H as u, L as i, i as p, M as l, b as T, f as d, g, h as R, S as c, a as h, j as k, T as f, k as S, l as U, m, n as A, o as M, p as y, q as x, r as L, s as C, t as D, u as b, v as I, w as B, x as F, y as G, z as E, A as P, B as O, C as v, D as w, E as H, I as N, J as j, K as q, N as z } from "./index-Cjel_bu8.js";
2
+ import { K, b as X, A as Q, c as V, a as W, d as Y, e as Z, f as _, g as $, G as ee, D as se, E as ae, C as te, L as oe, h as re, i as ne, M as ue, N as ie, j as pe, k as le, y as Te, O as de, P as ge, l as Re, m as ce, n as he, z as ke, Q as fe, I as Se, R as Ue, F as me, x as Ae, S as Me, o as ye, p as xe, r as Le, q as Ce, T as De, U as be, H as Ie, J as Be, V as Fe, W as Ge, X as Ee, Y as Pe, Z as Oe, B as ve, _ as we, u as He, s as Ne, t as je, v as qe, w as ze } from "./user-Dr3u-kRk.js";
3
3
  export {
4
4
  a as Footer,
5
5
  t as Forbidden,
@@ -15,9 +15,9 @@ export {
15
15
  g as NotFound,
16
16
  R as Sidebar,
17
17
  c as Status,
18
- k as StatusOptions,
19
- f as StatusText,
20
- h as Tabs,
18
+ h as StatusOptions,
19
+ k as StatusText,
20
+ f as Tabs,
21
21
  K as appConfig,
22
22
  X as batchDeleteUsers,
23
23
  Q as clearToken,
@@ -34,60 +34,61 @@ export {
34
34
  $ as deleteUser,
35
35
  ee as getApiBaseUrl,
36
36
  se as getAppId,
37
- ae as getClientId,
38
- te as getCode,
39
- oe as getMenuList,
40
- re as getMenuTree,
41
- ne as getRefreshTime,
42
- ue as getRefreshToken,
43
- ie as getRoleDetail,
44
- pe as getRoleList,
45
- le as getToken,
46
- Te as getTokenExpire,
47
- de as getTokenType,
48
- ge as getUserDetail,
49
- Re as getUserInfo,
50
- ce as getUserList,
37
+ ae as getBasePath,
38
+ te as getClientId,
39
+ oe as getCode,
40
+ re as getMenuList,
41
+ ne as getMenuTree,
42
+ ue as getRefreshTime,
43
+ ie as getRefreshToken,
44
+ pe as getRoleDetail,
45
+ le as getRoleList,
46
+ Te as getToken,
47
+ de as getTokenExpire,
48
+ ge as getTokenType,
49
+ Re as getUserDetail,
50
+ ce as getUserInfo,
51
+ he as getUserList,
51
52
  y as hasPermission,
52
53
  x as hasRole,
53
54
  ke as hasToken,
54
55
  fe as http,
55
- he as initAppConfig,
56
+ Se as initAppConfig,
56
57
  L as isAdmin,
57
- Se as isTokenExpired,
58
+ Ue as isTokenExpired,
58
59
  C as layoutRoute,
59
- Ue as loadRuntimeConfig,
60
- me as local,
61
- Ae as localStorageUtil,
62
- Me as login,
63
- ye as logout,
60
+ me as loadRuntimeConfig,
61
+ Ae as local,
62
+ Me as localStorageUtil,
63
+ ye as login,
64
+ xe as logout,
64
65
  D as mockMenuData,
65
66
  b as permissionDirective,
66
- xe as refreshToken,
67
- Le as resetPassword,
67
+ Le as refreshToken,
68
+ Ce as resetPassword,
68
69
  I as resetRouter,
69
- F as router,
70
- Ce as session,
71
- De as sessionStorageUtil,
72
- be as setApiBaseUrl,
73
- Ie as setBasePath,
70
+ B as router,
71
+ De as session,
72
+ be as sessionStorageUtil,
73
+ Ie as setApiBaseUrl,
74
+ Be as setBasePath,
74
75
  Fe as setCode,
75
76
  Ge as setRefreshTime,
76
- Be as setRefreshToken,
77
- Ee as setToken,
77
+ Ee as setRefreshToken,
78
+ Pe as setToken,
78
79
  Oe as setTokenExpire,
79
- Pe as setTokenInfo,
80
- ve as setTokenType,
81
- G as setupRouterGuards,
82
- B as staticRoutes,
83
- we as updateMenu,
84
- He as updateRole,
85
- Ne as updateRoleStatus,
86
- je as updateUser,
87
- qe as updateUserStatus,
80
+ ve as setTokenInfo,
81
+ we as setTokenType,
82
+ F as setupRouterGuards,
83
+ G as staticRoutes,
84
+ He as updateMenu,
85
+ Ne as updateRole,
86
+ je as updateRoleStatus,
87
+ qe as updateUser,
88
+ ze as updateUserStatus,
88
89
  E as useApp,
89
- O as useAppStore,
90
- P as useAuth,
90
+ P as useAppStore,
91
+ O as useAuth,
91
92
  v as useAuthStore,
92
93
  w as useForm,
93
94
  H as useI18n,
@@ -5,6 +5,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
5
5
  userId: string;
6
6
  userName: string;
7
7
  departmentName?: string | undefined;
8
+ roleName?: string | undefined;
8
9
  email?: string | undefined;
9
10
  mobilePhone?: string | undefined;
10
11
  positionName?: string | undefined;
@@ -14,6 +15,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
14
15
  userId: string;
15
16
  userName: string;
16
17
  departmentName?: string | undefined;
18
+ roleName?: string | undefined;
17
19
  email?: string | undefined;
18
20
  mobilePhone?: string | undefined;
19
21
  positionName?: string | undefined;
@@ -23,6 +25,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
23
25
  userId: import('vue').ComputedRef<string>;
24
26
  userName: import('vue').ComputedRef<string>;
25
27
  departmentName: import('vue').ComputedRef<string>;
28
+ roleName: import('vue').ComputedRef<string>;
26
29
  email: import('vue').ComputedRef<string>;
27
30
  mobilePhone: import('vue').ComputedRef<string>;
28
31
  positionName: import('vue').ComputedRef<string>;
@@ -35,6 +38,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
35
38
  userId: string;
36
39
  userName: string;
37
40
  departmentName?: string | undefined;
41
+ roleName?: string | undefined;
38
42
  email?: string | undefined;
39
43
  mobilePhone?: string | undefined;
40
44
  positionName?: string | undefined;
@@ -44,6 +48,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
44
48
  userId: string;
45
49
  userName: string;
46
50
  departmentName?: string | undefined;
51
+ roleName?: string | undefined;
47
52
  email?: string | undefined;
48
53
  mobilePhone?: string | undefined;
49
54
  positionName?: string | undefined;
@@ -53,18 +58,20 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
53
58
  userId: import('vue').ComputedRef<string>;
54
59
  userName: import('vue').ComputedRef<string>;
55
60
  departmentName: import('vue').ComputedRef<string>;
61
+ roleName: import('vue').ComputedRef<string>;
56
62
  email: import('vue').ComputedRef<string>;
57
63
  mobilePhone: import('vue').ComputedRef<string>;
58
64
  positionName: import('vue').ComputedRef<string>;
59
65
  avatar: import('vue').ComputedRef<string>;
60
66
  setUserInfo: (info: UserInfo) => void;
61
67
  clearUserInfo: () => void;
62
- }, "userId" | "userName" | "departmentName" | "email" | "mobilePhone" | "positionName" | "avatar" | "isLoggedIn">, Pick<{
68
+ }, "userId" | "userName" | "departmentName" | "roleName" | "email" | "mobilePhone" | "positionName" | "avatar" | "isLoggedIn">, Pick<{
63
69
  userInfo: import('vue').Ref<{
64
70
  appId: string;
65
71
  userId: string;
66
72
  userName: string;
67
73
  departmentName?: string | undefined;
74
+ roleName?: string | undefined;
68
75
  email?: string | undefined;
69
76
  mobilePhone?: string | undefined;
70
77
  positionName?: string | undefined;
@@ -74,6 +81,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
74
81
  userId: string;
75
82
  userName: string;
76
83
  departmentName?: string | undefined;
84
+ roleName?: string | undefined;
77
85
  email?: string | undefined;
78
86
  mobilePhone?: string | undefined;
79
87
  positionName?: string | undefined;
@@ -83,6 +91,7 @@ export declare const useUserStore: import('pinia').StoreDefinition<"user", Pick<
83
91
  userId: import('vue').ComputedRef<string>;
84
92
  userName: import('vue').ComputedRef<string>;
85
93
  departmentName: import('vue').ComputedRef<string>;
94
+ roleName: import('vue').ComputedRef<string>;
86
95
  email: import('vue').ComputedRef<string>;
87
96
  mobilePhone: import('vue').ComputedRef<string>;
88
97
  positionName: import('vue').ComputedRef<string>;