react-toolkits 0.8.32 → 0.8.34
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/CHANGELOG.md +12 -0
- package/lib/{index-AVf37y11.chunk.js → index-HSoEdyOF.chunk.js} +2 -2
- package/lib/{index-C7cscwRb.chunk.js → index-IkU_Jhlo.chunk.js} +19 -19
- package/lib/{index-42lqQLRS.chunk.js → index-LTX-HhTO.chunk.js} +1 -1
- package/lib/{index-7tRXWU1P.chunk.js → index-cQ8pQilA.chunk.js} +3 -3
- package/lib/{index-0iYXh8vN.chunk.js → index-dbViMn8Q.chunk.js} +39 -39
- package/lib/{index-QAldSxFv.chunk.js → index-tdO1I83u.chunk.js} +1027 -1023
- package/lib/index.d.ts +11 -0
- package/lib/index.js +22 -21
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as S, j as e, d as $ } from "./index-
|
|
1
|
+
import { a as S, j as e, d as $ } from "./index-tdO1I83u.chunk.js";
|
|
2
2
|
import { Collapse as D, Checkbox as k, Row as G, Col as _, Skeleton as T, Typography as A, Divider as w, Card as K, Space as M, Select as E, Button as N, Empty as O } from "antd";
|
|
3
|
-
import { h as R, i as B } from "./index-
|
|
3
|
+
import { h as R, i as B } from "./index-LTX-HhTO.chunk.js";
|
|
4
4
|
import { useState as P, useCallback as F, useEffect as b } from "react";
|
|
5
5
|
const q = (x) => {
|
|
6
6
|
const { permissions: l, readonly: t, expand: d, value: a, onChange: r } = x, [m, p] = P([]), [g, u] = P({}), [c, f] = P(a ?? []), C = S(), h = F((s) => {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as T, _ as U, c as N, d as P, u as y, a as b, j as e, P as j, r as _, H as z, Q as $, b as S } from "./index-tdO1I83u.chunk.js";
|
|
2
2
|
import { App as f, Space as F, Card as G, Form as g, Input as L } from "antd";
|
|
3
3
|
import { p as A } from "./immer-BLf7GM7E.chunk.js";
|
|
4
4
|
import { Link as B } from "react-router-dom";
|
|
5
|
-
import { P as k } from "./index-
|
|
6
|
-
import { d as E, e as q, f as D } from "./index-
|
|
5
|
+
import { P as k } from "./index-HSoEdyOF.chunk.js";
|
|
6
|
+
import { d as E, e as q, f as D } from "./index-LTX-HhTO.chunk.js";
|
|
7
7
|
import * as v from "react";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
var Q = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z" } }] }, name: "usergroup-add", theme: "outlined" };
|
|
10
10
|
const H = Q;
|
|
11
11
|
var I = function(r, a) {
|
|
12
|
-
return /* @__PURE__ */ v.createElement(
|
|
12
|
+
return /* @__PURE__ */ v.createElement(T, U({}, r, {
|
|
13
13
|
ref: a,
|
|
14
14
|
icon: H
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
process.env.NODE_ENV !== "production" && (I.displayName = "UsergroupAddOutlined");
|
|
18
18
|
const K = /* @__PURE__ */ v.forwardRef(I), h = "/api/usystem/role/list", J = () => {
|
|
19
|
-
const { message: c } = f.useApp(), { setPayload: r } = y(), a = q(), n = b(), l = async (
|
|
19
|
+
const { message: c } = f.useApp(), { setPayload: r } = y(), a = q(), n = b(), l = async (o) => {
|
|
20
20
|
await a.trigger({
|
|
21
|
-
name: `role_${
|
|
22
|
-
permissions:
|
|
21
|
+
name: `role_${o.name}`,
|
|
22
|
+
permissions: o.permissions
|
|
23
23
|
}), r(h, { page: 1 }), c.success(n("RoleList.createSuccessfully"));
|
|
24
24
|
};
|
|
25
25
|
return S({
|
|
@@ -43,24 +43,24 @@ const K = /* @__PURE__ */ v.forwardRef(I), h = "/api/usystem/role/list", J = ()
|
|
|
43
43
|
/* @__PURE__ */ e.jsx(g.Item, { label: n("global.name"), name: "name", rules: [{ required: !0 }], children: /* @__PURE__ */ e.jsx(L, { readOnly: !0, addonBefore: "role_" }) }),
|
|
44
44
|
/* @__PURE__ */ e.jsx(g.Item, { name: "permissions", children: /* @__PURE__ */ e.jsx(k, {}) })
|
|
45
45
|
] }),
|
|
46
|
-
onConfirm: async (l,
|
|
46
|
+
onConfirm: async (l, o) => {
|
|
47
47
|
await a.trigger({
|
|
48
|
-
id:
|
|
48
|
+
id: o == null ? void 0 : o.id,
|
|
49
49
|
name: `role_${l.name}`,
|
|
50
50
|
permissions: l.permissions
|
|
51
51
|
}), r(
|
|
52
52
|
h,
|
|
53
53
|
(x) => A(x, (m) => {
|
|
54
54
|
var p;
|
|
55
|
-
const u = (p = m == null ? void 0 : m.dataSource) == null ? void 0 : p.find((t) => t.id === (
|
|
55
|
+
const u = (p = m == null ? void 0 : m.dataSource) == null ? void 0 : p.find((t) => t.id === (o == null ? void 0 : o.id));
|
|
56
56
|
u && (u.permissions = l.permissions);
|
|
57
57
|
}),
|
|
58
58
|
{ revalidate: !1 }
|
|
59
59
|
), c.success(n("RoleList.updateSuccessfully"));
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
},
|
|
63
|
-
const { accessible: c } = N("200005", !0), { modal: r, message: a } = f.useApp(), { usePermissionApiV2: n } = P(), l = E(), { mutate:
|
|
62
|
+
}, oe = () => {
|
|
63
|
+
const { accessible: c } = N("200005", !0), { modal: r, message: a } = f.useApp(), { usePermissionApiV2: n } = P(), l = E(), { mutate: o } = y(), { show: x, modal: m } = J(), { show: u, modal: p } = W(), t = b(), M = [
|
|
64
64
|
{
|
|
65
65
|
title: t("global.name"),
|
|
66
66
|
key: "name",
|
|
@@ -91,17 +91,17 @@ const K = /* @__PURE__ */ v.forwardRef(I), h = "/api/usystem/role/list", J = ()
|
|
|
91
91
|
size: "small",
|
|
92
92
|
type: "link",
|
|
93
93
|
onClick: async () => {
|
|
94
|
-
const { data:
|
|
94
|
+
const { data: i } = await _(
|
|
95
95
|
`/api/usystem/role/info${n ? "V2" : ""}?name=${s.name}`,
|
|
96
96
|
{ isGlobalNS: !0 }
|
|
97
97
|
);
|
|
98
98
|
u({
|
|
99
99
|
initialValues: {
|
|
100
|
-
permissions:
|
|
101
|
-
name:
|
|
100
|
+
permissions: i == null ? void 0 : i.permissions,
|
|
101
|
+
name: i == null ? void 0 : i.name.replace(/^role_/, "")
|
|
102
102
|
},
|
|
103
103
|
extraValues: {
|
|
104
|
-
id:
|
|
104
|
+
id: i == null ? void 0 : i.id
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
},
|
|
@@ -124,9 +124,9 @@ const K = /* @__PURE__ */ v.forwardRef(I), h = "/api/usystem/role/list", J = ()
|
|
|
124
124
|
await l.trigger({
|
|
125
125
|
id: s.id,
|
|
126
126
|
name: s.name
|
|
127
|
-
}),
|
|
127
|
+
}), o(h, (i) => A(i, (d) => {
|
|
128
128
|
var R, C;
|
|
129
|
-
const w = (R = d == null ? void 0 : d.dataSource) == null ? void 0 : R.findIndex((
|
|
129
|
+
const w = (R = d == null ? void 0 : d.dataSource) == null ? void 0 : R.findIndex((O) => O.id === s.id);
|
|
130
130
|
w && ((C = d == null ? void 0 : d.dataSource) == null || C.splice(w, 1));
|
|
131
131
|
})), a.success(t("RoleList.deleteSuccessfully"));
|
|
132
132
|
}
|
|
@@ -175,5 +175,5 @@ const K = /* @__PURE__ */ v.forwardRef(I), h = "/api/usystem/role/list", J = ()
|
|
|
175
175
|
] });
|
|
176
176
|
};
|
|
177
177
|
export {
|
|
178
|
-
|
|
178
|
+
oe as default
|
|
179
179
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as O, w as W, e as h, f as x, s as z, m as w, g as V, U as R, h as U, d as G, r as n, c as K } from "./index-
|
|
1
|
+
import { I as O, w as W, e as h, f as x, s as z, m as w, g as V, U as R, h as U, d as G, r as n, c as K } from "./index-tdO1I83u.chunk.js";
|
|
2
2
|
import L, { useRef as o, useCallback as N, useState as $ } from "react";
|
|
3
3
|
const P = O ? (e) => {
|
|
4
4
|
e();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as t, j as i } from "./index-
|
|
1
|
+
import { a as t, j as i } from "./index-tdO1I83u.chunk.js";
|
|
2
2
|
import { Breadcrumb as m, Card as n, Skeleton as a, Descriptions as l } from "antd";
|
|
3
3
|
import { useParams as c, Link as x } from "react-router-dom";
|
|
4
|
-
import { P as j } from "./index-
|
|
5
|
-
import { g as p } from "./index-
|
|
4
|
+
import { P as j } from "./index-HSoEdyOF.chunk.js";
|
|
5
|
+
import { g as p } from "./index-LTX-HhTO.chunk.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
const k = () => {
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { A as T, _ as N, u as j, a as b, j as e, P as h, H as R, Q as z, b as w } from "./index-
|
|
2
|
-
import { App as U, Row as F, Col as P, Tag as A, Space as E, Card as G, Form as
|
|
1
|
+
import { A as T, _ as N, u as j, a as b, j as e, P as h, H as R, Q as z, b as w } from "./index-tdO1I83u.chunk.js";
|
|
2
|
+
import { App as U, Row as F, Col as P, Tag as A, Space as E, Card as G, Form as x, Input as L, Select as y } from "antd";
|
|
3
3
|
import { p as I } from "./immer-BLf7GM7E.chunk.js";
|
|
4
4
|
import { Link as D } from "react-router-dom";
|
|
5
|
-
import { u as Q, a as _, b as k, c as $ } from "./index-
|
|
5
|
+
import { u as Q, a as _, b as k, c as $ } from "./index-LTX-HhTO.chunk.js";
|
|
6
6
|
import * as M from "react";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
var q = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] }, name: "user-add", theme: "outlined" };
|
|
9
9
|
const B = q;
|
|
10
|
-
var O = function(i,
|
|
10
|
+
var O = function(i, n) {
|
|
11
11
|
return /* @__PURE__ */ M.createElement(T, N({}, i, {
|
|
12
|
-
ref:
|
|
12
|
+
ref: n,
|
|
13
13
|
icon: B
|
|
14
14
|
}));
|
|
15
15
|
};
|
|
16
16
|
process.env.NODE_ENV !== "production" && (O.displayName = "UserAddOutlined");
|
|
17
|
-
const H = /* @__PURE__ */ M.forwardRef(O), { Option: K } = y,
|
|
17
|
+
const H = /* @__PURE__ */ M.forwardRef(O), { Option: K } = y, g = "/api/usystem/user/list";
|
|
18
18
|
function J() {
|
|
19
|
-
const { message: d } = U.useApp(), i = _(), { data:
|
|
19
|
+
const { message: d } = U.useApp(), i = _(), { data: n, isLoading: u } = k(), { setPayload: m } = j(), o = b();
|
|
20
20
|
return w({
|
|
21
|
-
title:
|
|
21
|
+
title: o("UserList.createTitle"),
|
|
22
22
|
formProps: {
|
|
23
23
|
labelCol: { flex: "80px" }
|
|
24
24
|
},
|
|
25
25
|
content: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
26
|
-
/* @__PURE__ */ e.jsx(
|
|
27
|
-
/* @__PURE__ */ e.jsx(
|
|
26
|
+
/* @__PURE__ */ e.jsx(x.Item, { label: o("global.name"), name: "name", rules: [{ required: !0 }], children: /* @__PURE__ */ e.jsx(L, {}) }),
|
|
27
|
+
/* @__PURE__ */ e.jsx(x.Item, { label: o("global.role"), name: "roles", children: /* @__PURE__ */ e.jsx(y, { allowClear: !0, mode: "multiple", loading: u, children: (n ?? []).map((t) => /* @__PURE__ */ e.jsx(K, { value: t.name, children: t.name }, t.id)) }) })
|
|
28
28
|
] }),
|
|
29
29
|
async onConfirm(t) {
|
|
30
|
-
await i.trigger(t), m(
|
|
30
|
+
await i.trigger(t), m(g, { page: 1 }), d.success(o("UserList.createSuccessfully"));
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
function W() {
|
|
35
|
-
const { message: d } = U.useApp(), i = $(), { data:
|
|
35
|
+
const { message: d } = U.useApp(), i = $(), { data: n, isLoading: u } = k(), { mutate: m } = j(), o = b();
|
|
36
36
|
return w({
|
|
37
|
-
title:
|
|
37
|
+
title: o("UserList.updateTitle"),
|
|
38
38
|
formProps: {
|
|
39
39
|
labelCol: { flex: "80px" }
|
|
40
40
|
},
|
|
41
41
|
content: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
42
|
-
/* @__PURE__ */ e.jsx(
|
|
43
|
-
/* @__PURE__ */ e.jsx(
|
|
42
|
+
/* @__PURE__ */ e.jsx(x.Item, { label: o("global.name"), name: "name", rules: [{ required: !0 }], children: /* @__PURE__ */ e.jsx(L, { readOnly: !0 }) }),
|
|
43
|
+
/* @__PURE__ */ e.jsx(x.Item, { label: o("global.role"), name: "roles", children: /* @__PURE__ */ e.jsx(
|
|
44
44
|
y,
|
|
45
45
|
{
|
|
46
46
|
allowClear: !0,
|
|
47
47
|
mode: "multiple",
|
|
48
48
|
loading: u,
|
|
49
|
-
options:
|
|
49
|
+
options: n == null ? void 0 : n.map((t) => ({
|
|
50
50
|
label: t.name,
|
|
51
51
|
value: t.name
|
|
52
52
|
}))
|
|
@@ -55,23 +55,23 @@ function W() {
|
|
|
55
55
|
] }),
|
|
56
56
|
async onConfirm(t, p) {
|
|
57
57
|
await i.trigger(t), m(
|
|
58
|
-
|
|
59
|
-
(
|
|
58
|
+
g,
|
|
59
|
+
(a) => I(a, (c) => {
|
|
60
60
|
var s;
|
|
61
61
|
if (c != null && c.dataSource) {
|
|
62
|
-
const
|
|
63
|
-
|
|
62
|
+
const l = (s = c.dataSource) == null ? void 0 : s.findIndex((r) => r.id === (p == null ? void 0 : p.id));
|
|
63
|
+
l !== -1 && (c.dataSource[l].roles = t.roles);
|
|
64
64
|
}
|
|
65
65
|
}),
|
|
66
66
|
{ revalidate: !1 }
|
|
67
|
-
), d.success(
|
|
67
|
+
), d.success(o("UserList.updateSuccessfully"));
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
const te = () => {
|
|
72
|
-
const { modal: d, message: i } = U.useApp(),
|
|
72
|
+
const { modal: d, message: i } = U.useApp(), n = Q(), { mutate: u } = j(), { show: m, modal: o } = J(), { show: t, modal: p } = W(), a = b(), c = [
|
|
73
73
|
{
|
|
74
|
-
title:
|
|
74
|
+
title: a("global.name"),
|
|
75
75
|
dataIndex: "name",
|
|
76
76
|
key: "name"
|
|
77
77
|
},
|
|
@@ -81,21 +81,21 @@ const te = () => {
|
|
|
81
81
|
key: "id"
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
title:
|
|
84
|
+
title: a("global.role"),
|
|
85
85
|
dataIndex: "roles",
|
|
86
86
|
key: "roles",
|
|
87
87
|
width: "40%",
|
|
88
88
|
render(s) {
|
|
89
|
-
return /* @__PURE__ */ e.jsx(F, { gutter: [4, 4], children: (s || []).map((
|
|
89
|
+
return /* @__PURE__ */ e.jsx(F, { gutter: [4, 4], children: (s || []).map((l) => /* @__PURE__ */ e.jsx(P, { children: l === "root" ? /* @__PURE__ */ e.jsx(A, { color: "#f50", children: l }) : /* @__PURE__ */ e.jsx(A, { color: "#ff5a00", children: /* @__PURE__ */ e.jsx(D, { to: `/permission/role/${l}`, children: l }) }) }, l)) });
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
title:
|
|
93
|
+
title: a("global.creationTime"),
|
|
94
94
|
dataIndex: "Ctime",
|
|
95
95
|
key: "ctime"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
title:
|
|
98
|
+
title: a("global.operation"),
|
|
99
99
|
width: 150,
|
|
100
100
|
align: "center",
|
|
101
101
|
render: (s) => /* @__PURE__ */ e.jsxs(E, { children: [
|
|
@@ -117,7 +117,7 @@ const te = () => {
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
},
|
|
120
|
-
children:
|
|
120
|
+
children: a("global.update")
|
|
121
121
|
}
|
|
122
122
|
),
|
|
123
123
|
/* @__PURE__ */ e.jsx(
|
|
@@ -130,21 +130,21 @@ const te = () => {
|
|
|
130
130
|
type: "link",
|
|
131
131
|
onClick: () => {
|
|
132
132
|
d.confirm({
|
|
133
|
-
title:
|
|
134
|
-
content: /* @__PURE__ */ e.jsx(R, { texts: [s.name], children:
|
|
133
|
+
title: a("UserList.deleteTitle"),
|
|
134
|
+
content: /* @__PURE__ */ e.jsx(R, { texts: [s.name], children: a("UserList.deleteContent", { user: s.name }) }),
|
|
135
135
|
async onOk() {
|
|
136
|
-
await
|
|
136
|
+
await n.trigger({
|
|
137
137
|
id: s.id,
|
|
138
138
|
name: s.name
|
|
139
|
-
}), u(
|
|
139
|
+
}), u(g, (l) => I(l, (r) => {
|
|
140
140
|
var C, S;
|
|
141
141
|
const f = (C = r == null ? void 0 : r.dataSource) == null ? void 0 : C.findIndex((v) => v.id === s.id);
|
|
142
142
|
f && ((S = r == null ? void 0 : r.dataSource) == null || S.splice(f, 1));
|
|
143
|
-
})), i.success(
|
|
143
|
+
})), i.success(a("UserList.deleteSuccessfully"));
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
},
|
|
147
|
-
children:
|
|
147
|
+
children: a("global.delete")
|
|
148
148
|
}
|
|
149
149
|
)
|
|
150
150
|
] })
|
|
@@ -154,7 +154,7 @@ const te = () => {
|
|
|
154
154
|
/* @__PURE__ */ e.jsx(
|
|
155
155
|
G,
|
|
156
156
|
{
|
|
157
|
-
title:
|
|
157
|
+
title: a("global.user"),
|
|
158
158
|
extra: /* @__PURE__ */ e.jsx(
|
|
159
159
|
h,
|
|
160
160
|
{
|
|
@@ -165,7 +165,7 @@ const te = () => {
|
|
|
165
165
|
onClick: () => {
|
|
166
166
|
m();
|
|
167
167
|
},
|
|
168
|
-
children:
|
|
168
|
+
children: a("UserList.createTitle")
|
|
169
169
|
}
|
|
170
170
|
),
|
|
171
171
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -173,7 +173,7 @@ const te = () => {
|
|
|
173
173
|
{
|
|
174
174
|
isGlobalNS: !0,
|
|
175
175
|
code: "100001",
|
|
176
|
-
action:
|
|
176
|
+
action: g,
|
|
177
177
|
rowKey: "id",
|
|
178
178
|
columns: c,
|
|
179
179
|
getTotal: (s) => s.Total,
|
|
@@ -182,11 +182,11 @@ const te = () => {
|
|
|
182
182
|
)
|
|
183
183
|
}
|
|
184
184
|
),
|
|
185
|
-
|
|
185
|
+
o,
|
|
186
186
|
p
|
|
187
187
|
] });
|
|
188
188
|
};
|
|
189
189
|
export {
|
|
190
|
-
|
|
190
|
+
g as action,
|
|
191
191
|
te as default
|
|
192
192
|
};
|