@vef-framework-react/approval 2.24.0 → 2.24.1

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 (64) hide show
  1. package/dist/cjs/components/action-dialog/index.cjs +1 -0
  2. package/dist/cjs/components/detail/action-modals.cjs +1 -1
  3. package/dist/cjs/pages/admin-page/tasks.cjs +1 -1
  4. package/dist/es/api/admin-api.js +1 -1
  5. package/dist/es/api/category-api.js +1 -1
  6. package/dist/es/api/delegation-api.js +1 -1
  7. package/dist/es/api/flow-api.js +1 -1
  8. package/dist/es/api/index.js +1 -1
  9. package/dist/es/api/instance-api.js +1 -1
  10. package/dist/es/api/my-api.js +1 -1
  11. package/dist/es/api/query.js +1 -1
  12. package/dist/es/components/action-dialog/index.js +60 -0
  13. package/dist/es/components/detail/action-modals.js +264 -233
  14. package/dist/es/components/detail/admin.js +1 -1
  15. package/dist/es/components/detail/drawer.js +1 -1
  16. package/dist/es/components/detail/index.js +1 -1
  17. package/dist/es/components/flow-graph/index.js +1 -1
  18. package/dist/es/components/flow-graph/node.js +1 -1
  19. package/dist/es/components/flow-graph/people-overlay.js +1 -1
  20. package/dist/es/components/flow-graph/people.js +1 -1
  21. package/dist/es/components/form-panel/index.js +1 -1
  22. package/dist/es/components/format.js +1 -1
  23. package/dist/es/components/icon.js +1 -1
  24. package/dist/es/components/index.js +1 -1
  25. package/dist/es/components/principal/index.js +1 -1
  26. package/dist/es/components/status/colors.js +1 -1
  27. package/dist/es/components/status/index.js +1 -1
  28. package/dist/es/components/status/labels.js +1 -1
  29. package/dist/es/components/timeline/index.js +1 -1
  30. package/dist/es/components/user/index.js +1 -1
  31. package/dist/es/index.js +1 -1
  32. package/dist/es/pages/admin-page/index.js +1 -1
  33. package/dist/es/pages/admin-page/instances.js +1 -1
  34. package/dist/es/pages/admin-page/metrics.js +1 -1
  35. package/dist/es/pages/admin-page/projections.js +1 -1
  36. package/dist/es/pages/admin-page/tasks.js +66 -70
  37. package/dist/es/pages/category-page/columns.js +1 -1
  38. package/dist/es/pages/category-page/form.js +1 -1
  39. package/dist/es/pages/category-page/index.js +1 -1
  40. package/dist/es/pages/delegation-page/columns.js +1 -1
  41. package/dist/es/pages/delegation-page/form.js +1 -1
  42. package/dist/es/pages/delegation-page/index.js +1 -1
  43. package/dist/es/pages/flow-page/columns.js +1 -1
  44. package/dist/es/pages/flow-page/designer/basic-step.js +1 -1
  45. package/dist/es/pages/flow-page/designer/flow-step.js +1 -1
  46. package/dist/es/pages/flow-page/designer/form-step.js +1 -1
  47. package/dist/es/pages/flow-page/designer/index.js +1 -1
  48. package/dist/es/pages/flow-page/designer/review-step.js +1 -1
  49. package/dist/es/pages/flow-page/designer/types.js +1 -1
  50. package/dist/es/pages/flow-page/index.js +1 -1
  51. package/dist/es/pages/flow-page/search.js +1 -1
  52. package/dist/es/pages/flow-page/versions.js +1 -1
  53. package/dist/es/pages/index.js +1 -1
  54. package/dist/es/pages/initiate-page/index.js +1 -1
  55. package/dist/es/pages/initiate-page/start-drawer.js +1 -1
  56. package/dist/es/pages/my-instances-page/index.js +1 -1
  57. package/dist/es/pages/task-center-page/index.js +1 -1
  58. package/dist/es/pages/task-center-page/search.js +1 -1
  59. package/dist/es/permissions.js +1 -1
  60. package/dist/es/plugins/index.js +1 -1
  61. package/dist/es/types/enums.js +1 -1
  62. package/dist/es/types/index.js +1 -1
  63. package/dist/types/components/action-dialog/index.d.ts +44 -0
  64. package/package.json +7 -7
@@ -1,280 +1,311 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { TASK_STATUS_LABELS as e } from "../status/labels.js";
3
3
  import { isTaskStatus as t } from "../status/index.js";
4
- import { PrincipalSelect as n } from "../principal/index.js";
5
- import { useEffect as r, useState as i } from "react";
6
- import { Input as a, Labeled as o, Modal as s, Radio as c, Select as l, Stack as u } from "@vef-framework-react/components";
7
- import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
4
+ import { ActionDialog as n, ActionFooter as r, useConfirm as i } from "../action-dialog/index.js";
5
+ import { PrincipalSelect as a } from "../principal/index.js";
6
+ import { useState as o } from "react";
7
+ import { Input as s, Labeled as c, Radio as l, Select as u, Stack as d } from "@vef-framework-react/components";
8
+ import { Fragment as f, jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
8
9
  //#region src/components/detail/action-modals.tsx
9
- var p = {
10
+ var h = {
10
11
  before: "前加签(先于我处理)",
11
12
  after: "后加签(我处理后接续)",
12
13
  parallel: "并行加签(与我同时处理)"
13
14
  };
14
- function m(e) {
15
- let [t, n] = i(!1);
16
- async function r(t) {
17
- n(!0);
18
- try {
19
- await t(), e();
20
- } catch {} finally {
21
- n(!1);
22
- }
23
- }
24
- return {
25
- submitting: t,
26
- run: r
27
- };
28
- }
29
- function h({ open: e, onClose: t, onConfirm: c }) {
30
- let [l, p] = i([]), [h, g] = i(""), { submitting: _, run: v } = m(t);
31
- r(() => {
32
- e && (p([]), g(""));
33
- }, [e]);
34
- let y = l[0];
35
- return /* @__PURE__ */ d(s, {
36
- confirmLoading: _,
37
- okButtonProps: { disabled: y === void 0 },
15
+ function g({ onClose: e, onConfirm: t }) {
16
+ let [n, l] = o([]), [u, h] = o(""), { submitting: g, run: _ } = i(e), v = n[0];
17
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(d, {
18
+ gap: 12,
19
+ style: { paddingBlock: 8 },
20
+ children: [/* @__PURE__ */ p(c, {
21
+ label: "转办给",
22
+ children: /* @__PURE__ */ p(a, {
23
+ kind: "user",
24
+ maxCount: 1,
25
+ value: n,
26
+ onChange: l
27
+ })
28
+ }), /* @__PURE__ */ p(c, {
29
+ label: "转办说明",
30
+ children: /* @__PURE__ */ p(s.TextArea, {
31
+ maxLength: 2e3,
32
+ placeholder: "请输入转办说明(可选)",
33
+ rows: 3,
34
+ value: u,
35
+ onChange: (e) => h(e.target.value)
36
+ })
37
+ })]
38
+ }), /* @__PURE__ */ p(r, {
39
+ disabled: v === void 0,
38
40
  okText: "转办",
41
+ submitting: g,
42
+ onCancel: e,
43
+ onOk: () => v !== void 0 && void _(() => t(v, u))
44
+ })] });
45
+ }
46
+ function _({ open: e, onClose: t, onConfirm: r }) {
47
+ return /* @__PURE__ */ p(n, {
39
48
  open: e,
40
49
  title: "转办",
41
- onCancel: t,
42
- onOk: () => y !== void 0 && v(() => c(y, h)),
43
- children: /* @__PURE__ */ f(u, {
44
- gap: 12,
45
- style: { paddingBlock: 8 },
46
- children: [/* @__PURE__ */ d(o, {
47
- label: "转办给",
48
- children: /* @__PURE__ */ d(n, {
49
- kind: "user",
50
- maxCount: 1,
51
- value: l,
52
- onChange: p
53
- })
54
- }), /* @__PURE__ */ d(o, {
55
- label: "转办说明",
56
- children: /* @__PURE__ */ d(a.TextArea, {
57
- maxLength: 2e3,
58
- placeholder: "请输入转办说明(可选)",
59
- rows: 3,
60
- value: h,
61
- onChange: (e) => g(e.target.value)
62
- })
63
- })]
50
+ onClose: t,
51
+ children: /* @__PURE__ */ p(g, {
52
+ onClose: t,
53
+ onConfirm: r
64
54
  })
65
55
  });
66
56
  }
67
- function g({ open: e, onClose: t, targets: n, onConfirm: c }) {
68
- let [p, h] = i(), [g, _] = i(""), { submitting: v, run: y } = m(t);
69
- return r(() => {
70
- e && (h(n.length === 1 ? n[0]?.nodeId : void 0), _(""));
71
- }, [e, n]), /* @__PURE__ */ d(s, {
72
- confirmLoading: v,
73
- okButtonProps: { disabled: p === void 0 },
57
+ function v({ targets: e, onClose: t, onConfirm: n }) {
58
+ let [a, l] = o(() => e.length === 1 ? e[0]?.nodeId : void 0), [h, g] = o(""), { submitting: _, run: v } = i(t);
59
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(d, {
60
+ gap: 12,
61
+ style: { paddingBlock: 8 },
62
+ children: [/* @__PURE__ */ p(c, {
63
+ label: "回退至",
64
+ children: /* @__PURE__ */ p(u, {
65
+ placeholder: "选择回退节点",
66
+ style: { width: "100%" },
67
+ value: a,
68
+ options: e.map((e) => ({
69
+ label: e.name,
70
+ value: e.nodeId
71
+ })),
72
+ onChange: l
73
+ })
74
+ }), /* @__PURE__ */ p(c, {
75
+ label: "回退说明",
76
+ children: /* @__PURE__ */ p(s.TextArea, {
77
+ maxLength: 2e3,
78
+ placeholder: "请输入回退说明(可选)",
79
+ rows: 3,
80
+ value: h,
81
+ onChange: (e) => g(e.target.value)
82
+ })
83
+ })]
84
+ }), /* @__PURE__ */ p(r, {
85
+ disabled: a === void 0,
74
86
  okText: "回退",
87
+ submitting: _,
88
+ onCancel: t,
89
+ onOk: () => a !== void 0 && void v(() => n(a, h))
90
+ })] });
91
+ }
92
+ function y({ open: e, onClose: t, targets: r, onConfirm: i }) {
93
+ return /* @__PURE__ */ p(n, {
75
94
  open: e,
76
95
  title: "回退",
77
- onCancel: t,
78
- onOk: () => p !== void 0 && y(() => c(p, g)),
79
- children: /* @__PURE__ */ f(u, {
80
- gap: 12,
81
- style: { paddingBlock: 8 },
82
- children: [/* @__PURE__ */ d(o, {
83
- label: "回退至",
84
- children: /* @__PURE__ */ d(l, {
85
- placeholder: "选择回退节点",
86
- style: { width: "100%" },
87
- value: p,
88
- options: n.map((e) => ({
89
- label: e.name,
90
- value: e.nodeId
91
- })),
92
- onChange: h
93
- })
94
- }), /* @__PURE__ */ d(o, {
95
- label: "回退说明",
96
- children: /* @__PURE__ */ d(a.TextArea, {
97
- maxLength: 2e3,
98
- placeholder: "请输入回退说明(可选)",
99
- rows: 3,
100
- value: g,
101
- onChange: (e) => _(e.target.value)
102
- })
103
- })]
96
+ onClose: t,
97
+ children: /* @__PURE__ */ p(v, {
98
+ targets: r,
99
+ onClose: t,
100
+ onConfirm: i
104
101
  })
105
102
  });
106
103
  }
107
- function _({ open: e, onClose: t, allowedTypes: a, onConfirm: l }) {
108
- let [h, g] = i([]), [_, v] = i(), { submitting: y, run: b } = m(t);
109
- return r(() => {
110
- e && (g([]), v(a.length === 1 ? a[0] : void 0));
111
- }, [e, a]), /* @__PURE__ */ d(s, {
112
- confirmLoading: y,
113
- okButtonProps: { disabled: !(h.length > 0 && _ !== void 0) },
104
+ function b({ allowedTypes: e, onClose: t, onConfirm: n }) {
105
+ let [s, u] = o([]), [g, _] = o(() => e.length === 1 ? e[0] : void 0), { submitting: v, run: y } = i(t);
106
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(d, {
107
+ gap: 12,
108
+ style: { paddingBlock: 8 },
109
+ children: [/* @__PURE__ */ p(c, {
110
+ label: "加签人员",
111
+ children: /* @__PURE__ */ p(a, {
112
+ kind: "user",
113
+ maxCount: 50,
114
+ value: s,
115
+ onChange: u
116
+ })
117
+ }), /* @__PURE__ */ p(c, {
118
+ label: "加签方式",
119
+ children: /* @__PURE__ */ p(l.Group, {
120
+ value: g,
121
+ options: e.map((e) => ({
122
+ label: h[e],
123
+ value: e
124
+ })),
125
+ onChange: (e) => {
126
+ let t = e.target.value;
127
+ (t === "before" || t === "after" || t === "parallel") && _(t);
128
+ }
129
+ })
130
+ })]
131
+ }), /* @__PURE__ */ p(r, {
132
+ disabled: s.length === 0 || g === void 0,
114
133
  okText: "加签",
115
- open: e,
116
- title: "加签",
134
+ submitting: v,
117
135
  onCancel: t,
118
136
  onOk: () => {
119
- h.length > 0 && _ !== void 0 && b(() => l(h, _));
120
- },
121
- children: /* @__PURE__ */ f(u, {
122
- gap: 12,
123
- style: { paddingBlock: 8 },
124
- children: [/* @__PURE__ */ d(o, {
125
- label: "加签人员",
126
- children: /* @__PURE__ */ d(n, {
127
- kind: "user",
128
- maxCount: 50,
129
- value: h,
130
- onChange: g
131
- })
132
- }), /* @__PURE__ */ d(o, {
133
- label: "加签方式",
134
- children: /* @__PURE__ */ d(c.Group, {
135
- value: _,
136
- options: a.map((e) => ({
137
- label: p[e],
138
- value: e
139
- })),
140
- onChange: (e) => {
141
- let t = e.target.value;
142
- (t === "before" || t === "after" || t === "parallel") && v(t);
143
- }
144
- })
145
- })]
137
+ s.length > 0 && g !== void 0 && y(() => n(s, g));
138
+ }
139
+ })] });
140
+ }
141
+ function x({ open: e, onClose: t, allowedTypes: r, onConfirm: i }) {
142
+ return /* @__PURE__ */ p(n, {
143
+ open: e,
144
+ title: "加签",
145
+ onClose: t,
146
+ children: /* @__PURE__ */ p(b, {
147
+ allowedTypes: r,
148
+ onClose: t,
149
+ onConfirm: i
146
150
  })
147
151
  });
148
152
  }
149
- function v({ open: n, onClose: a, targets: c, onConfirm: f }) {
150
- let [p, h] = i(), { submitting: g, run: _ } = m(a);
151
- return r(() => {
152
- n && h(c.length === 1 ? c[0]?.taskId : void 0);
153
- }, [n, c]), /* @__PURE__ */ d(s, {
154
- confirmLoading: g,
155
- okButtonProps: {
156
- danger: !0,
157
- disabled: p === void 0
158
- },
153
+ function S({ targets: n, onClose: a, onConfirm: s }) {
154
+ let [l, h] = o(() => n.length === 1 ? n[0]?.taskId : void 0), { submitting: g, run: _ } = i(a);
155
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(d, {
156
+ gap: 12,
157
+ style: { paddingBlock: 8 },
158
+ children: /* @__PURE__ */ p(c, {
159
+ hint: "移除后该审批人不再参与本节点审批。",
160
+ label: "移除审批人",
161
+ children: /* @__PURE__ */ p(u, {
162
+ placeholder: "选择要移除的审批人",
163
+ style: { width: "100%" },
164
+ value: l,
165
+ options: n.map((n) => {
166
+ let r = t(n.status) ? e[n.status] : n.status;
167
+ return {
168
+ label: `${n.assignee.name || n.assignee.id}(${r})`,
169
+ value: n.taskId
170
+ };
171
+ }),
172
+ onChange: h
173
+ })
174
+ })
175
+ }), /* @__PURE__ */ p(r, {
176
+ danger: !0,
177
+ disabled: l === void 0,
159
178
  okText: "减签",
160
- open: n,
161
- title: "减签",
179
+ submitting: g,
162
180
  onCancel: a,
163
- onOk: () => p !== void 0 && _(() => f(p)),
164
- children: /* @__PURE__ */ d(u, {
165
- gap: 12,
166
- style: { paddingBlock: 8 },
167
- children: /* @__PURE__ */ d(o, {
168
- hint: "移除后该审批人不再参与本节点审批。",
169
- label: "移除审批人",
170
- children: /* @__PURE__ */ d(l, {
171
- placeholder: "选择要移除的审批人",
172
- style: { width: "100%" },
173
- value: p,
174
- options: c.map((n) => {
175
- let r = t(n.status) ? e[n.status] : n.status;
176
- return {
177
- label: `${n.assignee.name || n.assignee.id}(${r})`,
178
- value: n.taskId
179
- };
180
- }),
181
- onChange: h
182
- })
183
- })
181
+ onOk: () => l !== void 0 && void _(() => s(l))
182
+ })] });
183
+ }
184
+ function C({ open: e, onClose: t, targets: r, onConfirm: i }) {
185
+ return /* @__PURE__ */ p(n, {
186
+ open: e,
187
+ title: "减签",
188
+ onClose: t,
189
+ children: /* @__PURE__ */ p(S, {
190
+ targets: r,
191
+ onClose: t,
192
+ onConfirm: i
184
193
  })
185
194
  });
186
195
  }
187
- function y({ open: e, onClose: t, onConfirm: a }) {
188
- let [c, l] = i([]), { submitting: f, run: p } = m(t);
189
- return r(() => {
190
- e && l([]);
191
- }, [e]), /* @__PURE__ */ d(s, {
192
- confirmLoading: f,
193
- okButtonProps: { disabled: c.length === 0 },
196
+ function w({ onClose: e, onConfirm: t }) {
197
+ let [n, s] = o([]), { submitting: l, run: u } = i(e);
198
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(d, {
199
+ gap: 4,
200
+ style: { paddingBlock: 8 },
201
+ children: /* @__PURE__ */ p(c, {
202
+ label: "抄送给",
203
+ children: /* @__PURE__ */ p(a, {
204
+ kind: "user",
205
+ maxCount: 50,
206
+ value: n,
207
+ onChange: s
208
+ })
209
+ })
210
+ }), /* @__PURE__ */ p(r, {
211
+ disabled: n.length === 0,
194
212
  okText: "抄送",
213
+ submitting: l,
214
+ onCancel: e,
215
+ onOk: () => n.length > 0 && void u(() => t(n))
216
+ })] });
217
+ }
218
+ function T({ open: e, onClose: t, onConfirm: r }) {
219
+ return /* @__PURE__ */ p(n, {
195
220
  open: e,
196
221
  title: "抄送",
197
- onCancel: t,
198
- onOk: () => c.length > 0 && p(() => a(c)),
199
- children: /* @__PURE__ */ d(u, {
200
- gap: 4,
201
- style: { paddingBlock: 8 },
202
- children: /* @__PURE__ */ d(o, {
203
- label: "抄送给",
204
- children: /* @__PURE__ */ d(n, {
205
- kind: "user",
206
- maxCount: 50,
207
- value: c,
208
- onChange: l
209
- })
210
- })
222
+ onClose: t,
223
+ children: /* @__PURE__ */ p(w, {
224
+ onClose: t,
225
+ onConfirm: r
211
226
  })
212
227
  });
213
228
  }
214
- function b({ open: e, onClose: t, targets: n, onConfirm: c }) {
215
- let [p, h] = i(), [g, _] = i(""), { submitting: v, run: y } = m(t);
216
- return r(() => {
217
- e && (h(n.length === 1 ? n[0]?.taskId : void 0), _(""));
218
- }, [e, n]), /* @__PURE__ */ d(s, {
219
- confirmLoading: v,
220
- okButtonProps: { disabled: p === void 0 },
229
+ function E({ targets: e, onClose: t, onConfirm: n }) {
230
+ let [a, l] = o(() => e.length === 1 ? e[0]?.taskId : void 0), [h, g] = o(""), { submitting: _, run: v } = i(t);
231
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(d, {
232
+ gap: 12,
233
+ style: { paddingBlock: 8 },
234
+ children: [/* @__PURE__ */ p(c, {
235
+ label: "催办对象",
236
+ children: /* @__PURE__ */ p(u, {
237
+ placeholder: "选择待处理任务",
238
+ style: { width: "100%" },
239
+ value: a,
240
+ options: e.map((e) => ({
241
+ label: `${e.assigneeName}(${e.nodeName})`,
242
+ value: e.taskId
243
+ })),
244
+ onChange: l
245
+ })
246
+ }), /* @__PURE__ */ p(c, {
247
+ label: "催办消息",
248
+ children: /* @__PURE__ */ p(s.TextArea, {
249
+ maxLength: 500,
250
+ placeholder: "请输入催办消息(可选)",
251
+ rows: 3,
252
+ value: h,
253
+ onChange: (e) => g(e.target.value)
254
+ })
255
+ })]
256
+ }), /* @__PURE__ */ p(r, {
257
+ disabled: a === void 0,
221
258
  okText: "催办",
259
+ submitting: _,
260
+ onCancel: t,
261
+ onOk: () => a !== void 0 && void v(() => n(a, h))
262
+ })] });
263
+ }
264
+ function D({ open: e, onClose: t, targets: r, onConfirm: i }) {
265
+ return /* @__PURE__ */ p(n, {
222
266
  open: e,
223
267
  title: "催办",
224
- onCancel: t,
225
- onOk: () => p !== void 0 && y(() => c(p, g)),
226
- children: /* @__PURE__ */ f(u, {
227
- gap: 12,
228
- style: { paddingBlock: 8 },
229
- children: [/* @__PURE__ */ d(o, {
230
- label: "催办对象",
231
- children: /* @__PURE__ */ d(l, {
232
- placeholder: "选择待处理任务",
233
- style: { width: "100%" },
234
- value: p,
235
- options: n.map((e) => ({
236
- label: `${e.assigneeName}(${e.nodeName})`,
237
- value: e.taskId
238
- })),
239
- onChange: h
240
- })
241
- }), /* @__PURE__ */ d(o, {
242
- label: "催办消息",
243
- children: /* @__PURE__ */ d(a.TextArea, {
244
- maxLength: 500,
245
- placeholder: "请输入催办消息(可选)",
246
- rows: 3,
247
- value: g,
248
- onChange: (e) => _(e.target.value)
249
- })
250
- })]
268
+ onClose: t,
269
+ children: /* @__PURE__ */ p(E, {
270
+ targets: r,
271
+ onClose: t,
272
+ onConfirm: i
251
273
  })
252
274
  });
253
275
  }
254
- function x({ open: e, onClose: t, title: n, okText: o, danger: c, placeholder: l, onConfirm: f }) {
255
- let [p, h] = i(""), { submitting: g, run: _ } = m(t);
256
- return r(() => {
257
- e && h("");
258
- }, [e]), /* @__PURE__ */ d(s, {
259
- confirmLoading: g,
260
- okButtonProps: c ? { danger: !0 } : void 0,
261
- okText: o,
276
+ function O({ okText: e, danger: t, placeholder: n, onClose: a, onConfirm: c }) {
277
+ let [l, u] = o(""), { submitting: h, run: g } = i(a);
278
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(d, {
279
+ gap: 4,
280
+ style: { paddingBlock: 8 },
281
+ children: /* @__PURE__ */ p(s.TextArea, {
282
+ maxLength: 2e3,
283
+ placeholder: n ?? "请输入原因(可选)",
284
+ rows: 3,
285
+ value: l,
286
+ onChange: (e) => u(e.target.value)
287
+ })
288
+ }), /* @__PURE__ */ p(r, {
289
+ danger: t,
290
+ okText: e,
291
+ submitting: h,
292
+ onCancel: a,
293
+ onOk: () => void g(() => c(l))
294
+ })] });
295
+ }
296
+ function k({ open: e, onClose: t, title: r, okText: i, danger: a, placeholder: o, onConfirm: s }) {
297
+ return /* @__PURE__ */ p(n, {
262
298
  open: e,
263
- title: n,
264
- onCancel: t,
265
- onOk: () => _(() => f(p)),
266
- children: /* @__PURE__ */ d(u, {
267
- gap: 4,
268
- style: { paddingBlock: 8 },
269
- children: /* @__PURE__ */ d(a.TextArea, {
270
- maxLength: 2e3,
271
- placeholder: l ?? "请输入原因(可选)",
272
- rows: 3,
273
- value: p,
274
- onChange: (e) => h(e.target.value)
275
- })
299
+ title: r,
300
+ onClose: t,
301
+ children: /* @__PURE__ */ p(O, {
302
+ danger: a,
303
+ okText: i,
304
+ placeholder: o,
305
+ onClose: t,
306
+ onConfirm: s
276
307
  })
277
308
  });
278
309
  }
279
310
  //#endregion
280
- export { _ as AddAssigneeModal, y as CCModal, x as ReasonModal, v as RemoveAssigneeModal, g as RollbackModal, h as TransferModal, b as UrgeModal };
311
+ export { x as AddAssigneeModal, T as CCModal, k as ReasonModal, C as RemoveAssigneeModal, y as RollbackModal, _ as TransferModal, D as UrgeModal };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { useAdminApprovalApi as e } from "../../api/admin-api.js";
3
3
  import { formatTimestamp as t } from "../format.js";
4
4
  import { ACTIVITY_ACTION_LABELS as n } from "../status/labels.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { InstanceDetailPanel as e } from "./index.js";
3
3
  import { Drawer as t } from "@vef-framework-react/components";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { useInstanceApi as e } from "../../api/instance-api.js";
3
3
  import { useMyApprovalApi as t } from "../../api/my-api.js";
4
4
  import { useApprovalPlugins as n } from "../../plugins/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { ViewerNode as e } from "./node.js";
3
3
  import { useMemo as t } from "react";
4
4
  import { globalCssVars as n } from "@vef-framework-react/components";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { formatTimestamp as e } from "../format.js";
3
3
  import { NODE_PROGRESS_LABELS as t } from "../status/labels.js";
4
4
  import { collectNodePeople as n } from "./people.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { formatTimestamp as e } from "../format.js";
3
3
  import { ACTIVITY_ACTION_LABELS as t } from "../status/labels.js";
4
4
  import { personTone as n } from "./people.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  //#region src/components/flow-graph/people.ts
3
3
  var e = {
4
4
  waiting: "default",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { useApprovalPlugins as e } from "../../plugins/index.js";
3
3
  import { Empty as t } from "@vef-framework-react/components";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import e from "dayjs";
3
3
  //#region src/components/format.ts
4
4
  function t(t) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { DynamicIcon as e } from "@vef-framework-react/components";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  //#region src/components/icon.tsx
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { formatDurationSeconds as e, formatTimestamp as t } from "./format.js";
3
3
  import { ACTIVITY_ACTION_LABELS as n, BINDING_PROJECTION_STATUS_LABELS as r, BINDING_PROJECTION_STATUS_OPTIONS as i, INSTANCE_STATUS_LABELS as a, INSTANCE_STATUS_OPTIONS as o, NODE_PROGRESS_LABELS as s, PROCESS_TASK_ACTION_LABELS as c, TASK_STATUS_LABELS as l, TASK_STATUS_OPTIONS as u, VERSION_STATUS_LABELS as d } from "./status/labels.js";
4
4
  import { BINDING_PROJECTION_STATUS_COLORS as f, INSTANCE_STATUS_COLORS as p, NODE_PROGRESS_COLORS as m, TASK_STATUS_COLORS as h, VERSION_STATUS_COLORS as g } from "./status/colors.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { useApprovalPlugins as e } from "../../plugins/index.js";
3
3
  import { Select as t } from "@vef-framework-react/components";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  //#region src/components/status/colors.ts
3
3
  var e = {
4
4
  running: "processing",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/approval v2.24.0 made by Venus | 2026-09-28T10:02:07.034Z */
1
+ /*! @vef-framework-react/approval v2.24.1 made by Venus | 2026-09-28T10:44:14.388Z */
2
2
  import { BINDING_PROJECTION_STATUS_LABELS as e, INSTANCE_STATUS_LABELS as t, NODE_PROGRESS_LABELS as n, TASK_STATUS_LABELS as r, VERSION_STATUS_LABELS as i } from "./labels.js";
3
3
  import { BINDING_PROJECTION_STATUS_COLORS as a, INSTANCE_STATUS_COLORS as o, NODE_PROGRESS_COLORS as s, TASK_STATUS_COLORS as c, VERSION_STATUS_COLORS as l } from "./colors.js";
4
4
  import { Tag as u } from "@vef-framework-react/components";