xto-fronted 0.8.3 → 0.9.0

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/api/index.js CHANGED
@@ -1,26 +1,27 @@
1
- import { b as a, c as t, a as r, d as l, e as o, f as u, g as d, h as g, i as n, j as U, k as i, l as p, m as R, n as c, o as M, p as f, r as h, q as D, u as L, s as b, t as k, v as m, w } from "../user-BfEOXV7Q.js";
1
+ import { b as a, c as t, a as r, d as o, e as l, f as u, g, h as d, i as n, j as i, k as p, l as U, m as R, n as c, o as f, p as M, q as h, r as D, s as L, u as b, t as k, v as m, w, x } from "../user-B0q24FmO.js";
2
2
  export {
3
3
  a as batchDeleteUsers,
4
4
  t as createMenu,
5
5
  r as createRole,
6
- l as createUser,
7
- o as deleteMenu,
6
+ o as createUser,
7
+ l as deleteMenu,
8
8
  u as deleteRole,
9
- d as deleteUser,
10
- g as getMenuList,
11
- n as getMenuTree,
12
- U as getRoleDetail,
13
- i as getRoleList,
14
- p as getUserDetail,
15
- R as getUserInfo,
16
- c as getUserList,
9
+ g as deleteUser,
10
+ d as getAppUiConfig,
11
+ n as getMenuList,
12
+ i as getMenuTree,
13
+ p as getRoleDetail,
14
+ U as getRoleList,
15
+ R as getUserDetail,
16
+ c as getUserInfo,
17
+ f as getUserList,
17
18
  M as login,
18
- f as logout,
19
- h as refreshToken,
20
- D as resetPassword,
21
- L as updateMenu,
22
- b as updateRole,
23
- k as updateRoleStatus,
24
- m as updateUser,
25
- w as updateUserStatus
19
+ h as logout,
20
+ D as refreshToken,
21
+ L as resetPassword,
22
+ b as updateMenu,
23
+ k as updateRole,
24
+ m as updateRoleStatus,
25
+ w as updateUser,
26
+ x as updateUserStatus
26
27
  };
@@ -11,6 +11,7 @@ export declare function deleteRole(id: string | number): Promise<unknown>;
11
11
  export declare function updateRoleStatus(id: string | number, status: number): Promise<unknown>;
12
12
  export declare function getMenuList(): Promise<MenuItem[]>;
13
13
  export declare function getMenuTree(appId?: string): Promise<MenuItem[]>;
14
+ export declare function getAppUiConfig(appId?: string): Promise<Record<string, any>>;
14
15
  export declare function createMenu(data: Partial<MenuItem>): Promise<MenuItem>;
15
16
  export declare function updateMenu(id: string | number, data: Partial<MenuItem>): Promise<MenuItem>;
16
17
  export declare function deleteMenu(id: string | number): Promise<unknown>;
@@ -1,9 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  logoSrc?: string;
3
3
  };
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
- logoSrc: string;
6
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
5
  searchRef: HTMLDivElement;
8
6
  dropdownRef: HTMLDivElement;
9
7
  }, HTMLDivElement>;
@@ -8,6 +8,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
8
8
  menuList: any[];
9
9
  showLogo: boolean;
10
10
  showUser: boolean;
11
- logoSrc: string;
12
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
12
  export default _default;
@@ -1,9 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  logoSrc?: string;
3
3
  };
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
- logoSrc: string;
6
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
5
  searchRef: HTMLDivElement;
8
6
  dropdownRef: HTMLDivElement;
9
7
  }, HTMLDivElement>;
@@ -1,7 +1,5 @@
1
1
  type __VLS_Props = {
2
2
  logoSrc?: string;
3
3
  };
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
- logoSrc: string;
6
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
5
  export default _default;
@@ -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-C3QbtrpD.js";
6
+ import { S as d, a as te, _ as le } from "./index-C4XoKbUh.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" }, be = { class: "col-contact" }, Ve = { class: "contact-info" }, Ee = { class: "contact-email" }, Be = { class: "contact-phone" }, Ce = { class: "col-roles" }, De = { class: "role-tags" }, Le = { class: "col-status" }, Ae = { class: "status-switch" }, we = { class: "col-time" }, ze = { 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(Fe) {
@@ -3,7 +3,7 @@ import { Form as Z, FormItem as m, Input as h, Select as q, InputNumber as Y, Sw
3
3
  import { Tag as E } from "@xto/data";
4
4
  import { Modal as G, Message as J } from "@xto/feedback";
5
5
  import { Button as y, Space as C } from "@xto/base";
6
- import { S as r, M as f, b as K, _ as P } from "./index-C3QbtrpD.js";
6
+ import { S as r, M as f, b as K, _ as P } from "./index-C4XoKbUh.js";
7
7
  const Q = { class: "menu-page" }, W = { class: "table-section" }, X = { class: "table-toolbar" }, ee = { class: "toolbar-left" }, te = { class: "toolbar-right" }, se = { class: "table-count" }, le = { class: "table-wrapper" }, oe = { class: "data-table" }, ae = { key: 0 }, ne = { key: 1 }, de = { class: "data-row tree-row--level-0" }, ie = { class: "col-name" }, re = { class: "menu-info" }, ue = { class: "menu-icon-wrapper" }, pe = {
8
8
  viewBox: "0 0 24 24",
9
9
  fill: "none",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as l, resolveComponent as g, openBlock as o, createElementBlock as a, createElementVNode as s, Fragment as n, renderList as c, normalizeStyle as M, toDisplayString as i, normalizeClass as v, createBlock as w, withCtx as x, createVNode as r, unref as d } from "vue";
2
2
  import { Progress as u } from "@xto/data";
3
- import { _ as b } from "./index-C3QbtrpD.js";
3
+ import { _ as b } from "./index-C4XoKbUh.js";
4
4
  const Z = { class: "dashboard" }, C = { class: "stats-section" }, U = { class: "stat-icon" }, q = ["d"], B = { class: "stat-content" }, F = { class: "stat-title" }, V = { class: "stat-value" }, L = {
5
5
  key: 0,
6
6
  viewBox: "0 0 24 24",
@@ -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 C } 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-C3QbtrpD.js";
6
+ import { S as d, a as ee, _ as te } from "./index-C4XoKbUh.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" }, Ee = { class: "time-text" }, be = { class: "col-actions" }, Be = { class: "pagination-wrapper" }, Ce = { class: "status-field" }, Le = { class: "status-label" }, De = /* @__PURE__ */ P({
8
8
  __name: "index",
9
9
  setup(we) {