@bpmn-nova/studio 0.3.9-preview → 0.4.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/README.md +2 -2
- package/dist/canvas.js +97 -25
- package/dist/config.js +13 -0
- package/dist/context-menu.js +41 -32
- package/dist/controller.js +45 -19
- package/dist/index.d.ts +47 -2
- package/dist/index.js +1 -0
- package/dist/interactions.js +6 -1
- package/dist/modules/bpmn-model/index.d.ts +2 -1
- package/dist/modules/bpmn-model/index.js +12 -10
- package/dist/modules/core/gateway.js +16 -13
- package/dist/modules/core/index.d.ts +6 -4
- package/dist/modules/core/model.js +12 -7
- package/dist/modules/designer/index.d.ts +5 -1
- package/dist/modules/designer/index.js +36 -15
- package/dist/modules/export-svg/index.d.ts +12 -5
- package/dist/modules/export-svg/preview.js +34 -24
- package/dist/modules/export-svg/render.js +102 -50
- package/dist/modules/i18n/index.d.ts +647 -0
- package/dist/modules/i18n/index.js +247 -0
- package/dist/modules/i18n/locales/en-US.js +823 -0
- package/dist/modules/i18n/locales/zh-CN.js +805 -0
- package/dist/modules/node-presentation/index.d.ts +3 -2
- package/dist/modules/node-presentation/index.js +14 -11
- package/dist/modules/palette/index.d.ts +6 -1
- package/dist/modules/palette/index.js +26 -8
- package/dist/modules/palette/panel.js +44 -6
- package/dist/modules/properties/index.d.ts +2 -1
- package/dist/modules/properties/index.js +2 -2
- package/dist/modules/properties-activiti/index.js +84 -59
- package/dist/modules/properties-bpmn/index.js +151 -128
- package/dist/modules/properties-core/index.d.ts +9 -3
- package/dist/modules/properties-core/index.js +16 -4
- package/dist/modules/properties-flowable/index.js +55 -34
- package/dist/modules/properties-renderer/index.d.ts +5 -1
- package/dist/modules/properties-renderer/index.js +110 -42
- package/dist/modules/renderer-svg/index.d.ts +6 -2
- package/dist/modules/renderer-svg/index.js +113 -38
- package/dist/modules/runtime/index.d.ts +33 -5
- package/dist/modules/runtime/index.js +97 -73
- package/dist/modules/runtime/time.js +89 -4
- package/dist/modules/runtime/visits.js +6 -4
- package/dist/modules/theme/index.d.ts +5 -2
- package/dist/modules/theme/index.js +8 -4
- package/dist/modules/viewer/index.d.ts +28 -7
- package/dist/modules/viewer/index.js +213 -56
- package/dist/modules/viewer/runtime-content.js +26 -20
- package/dist/modules/viewer/runtime-trace.js +43 -25
- package/dist/modules/viewer/timeline.js +103 -36
- package/dist/shell.js +258 -75
- package/dist/sidebars.js +3 -1
- package/dist/styles.css +3 -2
- package/llms-full.txt +241 -46
- package/llms.txt +4 -4
- package/package.json +2 -3
|
@@ -0,0 +1,805 @@
|
|
|
1
|
+
export const zhCN = {
|
|
2
|
+
common: {
|
|
3
|
+
listSeparator: '、',
|
|
4
|
+
issueSeparator: ';',
|
|
5
|
+
},
|
|
6
|
+
elementTypes: {
|
|
7
|
+
startEvent: '开始事件',
|
|
8
|
+
messageStartEvent: '消息开始',
|
|
9
|
+
timerStartEvent: '定时开始',
|
|
10
|
+
conditionalStartEvent: '条件开始',
|
|
11
|
+
signalStartEvent: '信号开始',
|
|
12
|
+
errorStartEvent: '错误开始',
|
|
13
|
+
escalationStartEvent: '升级开始',
|
|
14
|
+
compensationStartEvent: '补偿开始',
|
|
15
|
+
|
|
16
|
+
intermediateCatchEvent: '中间捕获事件',
|
|
17
|
+
messageIntermediateCatchEvent: '消息捕获',
|
|
18
|
+
timerIntermediateCatchEvent: '定时捕获',
|
|
19
|
+
conditionalIntermediateCatchEvent: '条件捕获',
|
|
20
|
+
signalIntermediateCatchEvent: '信号捕获',
|
|
21
|
+
linkIntermediateCatchEvent: '链接捕获',
|
|
22
|
+
intermediateThrowEvent: '中间抛出事件',
|
|
23
|
+
messageIntermediateThrowEvent: '消息抛出',
|
|
24
|
+
escalationIntermediateThrowEvent: '升级抛出',
|
|
25
|
+
signalIntermediateThrowEvent: '信号抛出',
|
|
26
|
+
linkIntermediateThrowEvent: '链接抛出',
|
|
27
|
+
compensationIntermediateThrowEvent: '补偿抛出',
|
|
28
|
+
|
|
29
|
+
timerBoundaryEvent: '定时边界事件',
|
|
30
|
+
messageBoundaryEvent: '消息边界事件',
|
|
31
|
+
errorBoundaryEvent: '错误边界事件',
|
|
32
|
+
escalationBoundaryEvent: '升级边界事件',
|
|
33
|
+
signalBoundaryEvent: '信号边界事件',
|
|
34
|
+
conditionalBoundaryEvent: '条件边界事件',
|
|
35
|
+
compensationBoundaryEvent: '补偿边界事件',
|
|
36
|
+
|
|
37
|
+
endEvent: '结束事件',
|
|
38
|
+
messageEndEvent: '消息结束',
|
|
39
|
+
errorEndEvent: '错误结束',
|
|
40
|
+
escalationEndEvent: '升级结束',
|
|
41
|
+
cancelEndEvent: '取消结束',
|
|
42
|
+
compensationEndEvent: '补偿结束',
|
|
43
|
+
signalEndEvent: '信号结束',
|
|
44
|
+
terminateEndEvent: '终止结束',
|
|
45
|
+
|
|
46
|
+
task: '任务',
|
|
47
|
+
userTask: '用户任务',
|
|
48
|
+
manualTask: '手工任务',
|
|
49
|
+
serviceTask: '服务任务',
|
|
50
|
+
scriptTask: '脚本任务',
|
|
51
|
+
businessRuleTask: '业务规则任务',
|
|
52
|
+
sendTask: '发送任务',
|
|
53
|
+
receiveTask: '接收任务',
|
|
54
|
+
callActivity: '调用活动',
|
|
55
|
+
subProcess: '子流程',
|
|
56
|
+
eventSubProcess: '事件子流程',
|
|
57
|
+
transaction: '事务子流程',
|
|
58
|
+
adHocSubProcess: 'Ad-hoc 子流程',
|
|
59
|
+
|
|
60
|
+
exclusiveGateway: '排他网关',
|
|
61
|
+
parallelGateway: '并行网关',
|
|
62
|
+
inclusiveGateway: '包容网关',
|
|
63
|
+
eventBasedGateway: '事件网关',
|
|
64
|
+
complexGateway: '复杂网关',
|
|
65
|
+
|
|
66
|
+
dataObjectReference: '数据对象',
|
|
67
|
+
dataStoreReference: '数据存储',
|
|
68
|
+
textAnnotation: '文本注释',
|
|
69
|
+
group: '分组',
|
|
70
|
+
participant: '参与者 / Pool',
|
|
71
|
+
lane: '泳道 Lane',
|
|
72
|
+
generic: 'BPMN 节点',
|
|
73
|
+
|
|
74
|
+
parallelDiverging: '并行分支',
|
|
75
|
+
parallelConverging: '并行汇聚',
|
|
76
|
+
},
|
|
77
|
+
edgeTypes: {
|
|
78
|
+
sequenceFlow: '顺序流',
|
|
79
|
+
messageFlow: '消息流',
|
|
80
|
+
association: '关联',
|
|
81
|
+
},
|
|
82
|
+
actions: {
|
|
83
|
+
submit: '提交',
|
|
84
|
+
approve: '通过',
|
|
85
|
+
reject: '驳回',
|
|
86
|
+
return: '退回',
|
|
87
|
+
'add-sign': '加签',
|
|
88
|
+
transfer: '转办',
|
|
89
|
+
delegate: '委派',
|
|
90
|
+
withdraw: '撤回',
|
|
91
|
+
comment: '备注',
|
|
92
|
+
skip: '跳过',
|
|
93
|
+
cancel: '取消',
|
|
94
|
+
default: '审批操作',
|
|
95
|
+
},
|
|
96
|
+
shell: {
|
|
97
|
+
modeAria: 'Studio 模式',
|
|
98
|
+
modes: {
|
|
99
|
+
design: '流程设计',
|
|
100
|
+
viewer: '流程展示',
|
|
101
|
+
instance: '审批轨迹',
|
|
102
|
+
},
|
|
103
|
+
modeSwitchTo: ({ label }) => `切换到${label}`,
|
|
104
|
+
projectionAria: '审批轨迹视图',
|
|
105
|
+
projections: {
|
|
106
|
+
approval: '实际路径',
|
|
107
|
+
standard: '完整 BPMN',
|
|
108
|
+
compact: '移动时间线',
|
|
109
|
+
},
|
|
110
|
+
tools: {
|
|
111
|
+
undo: '撤销 Ctrl/⌘+Z',
|
|
112
|
+
redo: '重做 Ctrl/⌘+Y',
|
|
113
|
+
beautify: '一键美化',
|
|
114
|
+
beautifyTitle: '按当前设置整理节点与连线',
|
|
115
|
+
beautifyStrategyTitle: '选择布局策略',
|
|
116
|
+
beautifyMenuTitle: '布局策略',
|
|
117
|
+
validate: '校验',
|
|
118
|
+
validateTitle: '校验流程结构',
|
|
119
|
+
import: '导入',
|
|
120
|
+
importTitle: '导入 BPMN XML',
|
|
121
|
+
export: '导出',
|
|
122
|
+
exportTitle: '导出当前内容',
|
|
123
|
+
exportSvg: '导出 SVG',
|
|
124
|
+
exportSvgHint: '预览确认后下载',
|
|
125
|
+
exportBpmn: '导出 BPMN',
|
|
126
|
+
exportBpmnHint: '下载流程 XML',
|
|
127
|
+
},
|
|
128
|
+
density: {
|
|
129
|
+
compact: '紧凑',
|
|
130
|
+
balanced: '标准',
|
|
131
|
+
spacious: '舒展',
|
|
132
|
+
},
|
|
133
|
+
beautifyActions: {
|
|
134
|
+
horizontal: '横向智能布局',
|
|
135
|
+
horizontalHint: '按审批流方向重新排版',
|
|
136
|
+
vertical: '纵向智能布局',
|
|
137
|
+
verticalHint: '按审批层级纵向排版',
|
|
138
|
+
routing: '重算圆角连线',
|
|
139
|
+
routingHint: '保留节点位置,仅重算线路',
|
|
140
|
+
smooth: '柔和曲线连线',
|
|
141
|
+
smoothHint: '保留节点位置,增强连线弧度',
|
|
142
|
+
},
|
|
143
|
+
canvasHead: {
|
|
144
|
+
editingMode: '编辑模式',
|
|
145
|
+
back: '返回上一级',
|
|
146
|
+
backToParent: ({ name }) => `返回上一级:${name}`,
|
|
147
|
+
scopeNavAria: '流程层级',
|
|
148
|
+
backToScope: ({ name }) => `返回 ${name}`,
|
|
149
|
+
},
|
|
150
|
+
viewport: {
|
|
151
|
+
zoomOut: '缩小',
|
|
152
|
+
zoomIn: '放大',
|
|
153
|
+
actualSize: '100% 实际大小',
|
|
154
|
+
fitView: '最佳视图',
|
|
155
|
+
},
|
|
156
|
+
sidebar: {
|
|
157
|
+
toggle: ({ collapsed, side }) => `${collapsed ? '展开' : '收起'}${side === 'left' ? '左侧节点面板' : '右侧面板'}`,
|
|
158
|
+
},
|
|
159
|
+
status: {
|
|
160
|
+
ready: '就绪',
|
|
161
|
+
graphSummary: ({ nodes, edges }) => `${nodes} 节点 · ${edges} 连线`,
|
|
162
|
+
viewerReadonly: '流程展示 · 只读预览',
|
|
163
|
+
traceTimeline: '审批轨迹 · 移动时间线',
|
|
164
|
+
traceStandard: '审批轨迹 · 完整 BPMN',
|
|
165
|
+
traceApproval: '审批轨迹 · 实际路径',
|
|
166
|
+
importedBpmn: '已导入 BPMN 文件',
|
|
167
|
+
importFailed: ({ message }) => `导入失败:${message}`,
|
|
168
|
+
exportedBpmn: 'BPMN 文件已导出',
|
|
169
|
+
exportedSvg: ({ filename }) => `SVG 已导出:${filename}`,
|
|
170
|
+
validationPassed: '校验通过:流程结构正常',
|
|
171
|
+
validationSummary: ({ summary }) => `校验完成:${summary}`,
|
|
172
|
+
errorCount: ({ count }) => `${count} 个错误`,
|
|
173
|
+
warningCount: ({ count }) => `${count} 个警告`,
|
|
174
|
+
},
|
|
175
|
+
errors: {
|
|
176
|
+
svgExportUnsupported: '当前视图不支持 SVG 导出。',
|
|
177
|
+
},
|
|
178
|
+
exportSvgPreviewTitle: ({ label }) => `导出 ${label} SVG`,
|
|
179
|
+
readonlyDetails: {
|
|
180
|
+
edgeFallbackTitle: '流程连线',
|
|
181
|
+
traceBadge: '运行轨迹',
|
|
182
|
+
readonlyBadge: '只读',
|
|
183
|
+
currentStatus: '当前状态',
|
|
184
|
+
participants: '处理人员',
|
|
185
|
+
round: '处理轮次',
|
|
186
|
+
roundValue: ({ round }) => `第 ${round} 次`,
|
|
187
|
+
latestAction: '最近操作',
|
|
188
|
+
elementType: '元素类型',
|
|
189
|
+
bpmnType: 'BPMN 类型',
|
|
190
|
+
name: '名称',
|
|
191
|
+
elementId: 'Element ID',
|
|
192
|
+
source: '来源',
|
|
193
|
+
target: '目标',
|
|
194
|
+
condition: '条件',
|
|
195
|
+
processName: '流程名称',
|
|
196
|
+
engine: '流程引擎',
|
|
197
|
+
nodeCount: '节点数量',
|
|
198
|
+
edgeCount: '连线数量',
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
palette: {
|
|
202
|
+
groups: {
|
|
203
|
+
favorites: '常用',
|
|
204
|
+
startEvents: '开始事件',
|
|
205
|
+
intermediateEvents: '中间事件',
|
|
206
|
+
boundaryEvents: '边界事件',
|
|
207
|
+
endEvents: '结束事件',
|
|
208
|
+
tasks: '任务',
|
|
209
|
+
activities: '活动 / 子流程',
|
|
210
|
+
gateways: '网关',
|
|
211
|
+
data: '数据',
|
|
212
|
+
artifacts: '注释 / 分组',
|
|
213
|
+
collaboration: '协作 / 泳道',
|
|
214
|
+
},
|
|
215
|
+
parallelDivergingDesc: '并行启动多条后续线路',
|
|
216
|
+
parallelConvergingDesc: '等待所有并行入口到达',
|
|
217
|
+
itemUnavailable: '该节点类型当前不可用',
|
|
218
|
+
},
|
|
219
|
+
contextMenu: {
|
|
220
|
+
ariaLabel: '画布快捷操作',
|
|
221
|
+
groups: {
|
|
222
|
+
align: '对齐',
|
|
223
|
+
distribute: '等距分布',
|
|
224
|
+
pointer: '操作模式',
|
|
225
|
+
},
|
|
226
|
+
actions: {
|
|
227
|
+
canvasFit: '最佳视图',
|
|
228
|
+
canvasBeautify: '美化当前流程',
|
|
229
|
+
canvasReroute: '优化全部连线',
|
|
230
|
+
pointerSelect: '单选',
|
|
231
|
+
pointerMarquee: '框选',
|
|
232
|
+
pointerPan: '拖动',
|
|
233
|
+
nodeQuickAdd: '快捷添加下一节点',
|
|
234
|
+
nodeConnect: '连接已有节点',
|
|
235
|
+
nodeEnterScope: '进入子流程',
|
|
236
|
+
nodeUngroup: '取消分组',
|
|
237
|
+
nodeDelete: '删除节点',
|
|
238
|
+
edgeRename: '编辑连线名称',
|
|
239
|
+
edgeResetRoute: '恢复自动路由',
|
|
240
|
+
edgeLocateSource: '定位起点',
|
|
241
|
+
edgeLocateTarget: '定位终点',
|
|
242
|
+
edgeDelete: '删除连线',
|
|
243
|
+
alignLeft: '左对齐',
|
|
244
|
+
alignCenterX: '水平居中',
|
|
245
|
+
alignRight: '右对齐',
|
|
246
|
+
alignTop: '顶部对齐',
|
|
247
|
+
alignCenterY: '垂直居中',
|
|
248
|
+
alignBottom: '底部对齐',
|
|
249
|
+
selectionGroup: '创建分组',
|
|
250
|
+
distributeHorizontal: '水平等距',
|
|
251
|
+
distributeVertical: '垂直等距',
|
|
252
|
+
selectionLayout: '美化选区',
|
|
253
|
+
selectionReroute: '优化关联连线',
|
|
254
|
+
selectionFit: '适应选区',
|
|
255
|
+
selectionDelete: '删除选区',
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
canvas: {
|
|
259
|
+
pointerToolbarAria: '画布操作模式',
|
|
260
|
+
pointerModes: {
|
|
261
|
+
select: '单选',
|
|
262
|
+
selectTitle: '单选与移动节点',
|
|
263
|
+
marquee: '框选',
|
|
264
|
+
marqueeTitle: '拖动空白区域框选节点',
|
|
265
|
+
pan: '拖动',
|
|
266
|
+
panTitle: '拖动画布',
|
|
267
|
+
},
|
|
268
|
+
selectionToolbarAria: '选区布局工具栏',
|
|
269
|
+
selectionActions: {
|
|
270
|
+
group: '创建分组',
|
|
271
|
+
align: '对齐选区',
|
|
272
|
+
distribute: '等距分布',
|
|
273
|
+
layout: '美化选区',
|
|
274
|
+
reroute: '优化选区连线',
|
|
275
|
+
fit: '适应选区',
|
|
276
|
+
},
|
|
277
|
+
emptySubProcessTitle: '空子流程',
|
|
278
|
+
emptySubProcessHint: '拖入节点或添加开始事件',
|
|
279
|
+
edgePlaceholder: '设置分支名称',
|
|
280
|
+
edgeInputPlaceholder: '输入分支名称',
|
|
281
|
+
ports: {
|
|
282
|
+
connectToNode: '连接到此节点',
|
|
283
|
+
createConnection: '创建连接',
|
|
284
|
+
incomingPort: '输入连接点',
|
|
285
|
+
},
|
|
286
|
+
resizeLaneDivider: '调整相邻泳道高度',
|
|
287
|
+
nodeActions: {
|
|
288
|
+
enterSubProcess: '进入子流程',
|
|
289
|
+
quickAdd: '快捷添加下一节点',
|
|
290
|
+
cancelConnect: '取消连接模式(Esc)',
|
|
291
|
+
connectExisting: '连接到已有节点',
|
|
292
|
+
ungroup: '取消分组',
|
|
293
|
+
deleteNode: '删除节点',
|
|
294
|
+
},
|
|
295
|
+
connectHint: '选择目标节点 · Esc 取消',
|
|
296
|
+
quickMenu: {
|
|
297
|
+
title: '添加下一节点',
|
|
298
|
+
subtitle: '自动连线并智能摆放',
|
|
299
|
+
close: '关闭',
|
|
300
|
+
searchPlaceholder: '搜索 BPMN 节点…',
|
|
301
|
+
},
|
|
302
|
+
gatewayRoleBadge: {
|
|
303
|
+
diverging: '分',
|
|
304
|
+
converging: '汇',
|
|
305
|
+
ambiguous: '?',
|
|
306
|
+
},
|
|
307
|
+
gatewayRoleStatus: {
|
|
308
|
+
valid: '结构正常',
|
|
309
|
+
incomplete: '结构未完成',
|
|
310
|
+
conflict: '结构冲突',
|
|
311
|
+
ambiguous: '角色待判断',
|
|
312
|
+
},
|
|
313
|
+
gatewayRoleTitle: ({ role, status }) => `${role} · ${status}`,
|
|
314
|
+
runtimeTransitionAria: ({ label }) => label,
|
|
315
|
+
runtimeTransitionAriaWithOperator: ({ label, operator }) => `${label},操作人:${operator}`,
|
|
316
|
+
viewRuntimeDetailsAria: ({ name, status }) => `查看${name}审批详情,当前状态:${status}`,
|
|
317
|
+
defaultAnnotationCaption: '说明',
|
|
318
|
+
defaultGroupCaption: '分组',
|
|
319
|
+
defaultSubtitles: {
|
|
320
|
+
userTask: '待配置审批人',
|
|
321
|
+
serviceTask: '待配置执行实现',
|
|
322
|
+
callActivity: '待配置调用流程',
|
|
323
|
+
receiveTask: '等待消息或外部触发',
|
|
324
|
+
manualTask: '人工线下处理',
|
|
325
|
+
subProcess: '可折叠子流程',
|
|
326
|
+
eventSubProcess: '事件触发子流程',
|
|
327
|
+
transaction: '事务边界',
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
modeling: {
|
|
331
|
+
nodeLimitExceeded: ({ max, label }) => `最多 ${max} 个${label}`,
|
|
332
|
+
nodeLimitReached: ({ label }) => `已达${label}数量上限`,
|
|
333
|
+
branchName: ({ index }) => `分支 ${index}`,
|
|
334
|
+
defaultGroupCategory: '分组',
|
|
335
|
+
defaultProcessName: '未命名流程',
|
|
336
|
+
defaultAnnotationText: '说明文字',
|
|
337
|
+
},
|
|
338
|
+
validation: {
|
|
339
|
+
missingStartEvent: '流程至少需要一个开始事件。',
|
|
340
|
+
missingEndEvent: '建议至少配置一个结束事件。',
|
|
341
|
+
invalidSubProcessScope: '节点引用了不存在或无效的子流程作用域。',
|
|
342
|
+
edgeMissingNode: '连线引用了不存在的节点。',
|
|
343
|
+
edgeCrossScope: '连线不能跨越流程或子流程作用域。',
|
|
344
|
+
sequenceFlowSelfLoop: '顺序流不能连接到自身。',
|
|
345
|
+
serviceTaskMissingImpl: ({ name }) => `${name}: 服务任务尚未配置实现。`,
|
|
346
|
+
userTaskMissingAssignee: ({ name }) => `${name}: 用户任务尚未配置处理人。`,
|
|
347
|
+
boundaryMissingTarget: ({ name }) => `${name}: 边界事件尚未选择附着活动。`,
|
|
348
|
+
gatewayNeedsTwoOutgoing: ({ name }) => `${name}: 网关通常需要至少两个出口。`,
|
|
349
|
+
gatewayBranchNeedsName: ({ name }) => `${name}: 建议为每条分支线路设置名称,便于审批展示和运行追踪。`,
|
|
350
|
+
timerMissingExpression: ({ name }) => `${name}: 定时事件尚未配置定时表达式。`,
|
|
351
|
+
nodeIssue: ({ name, message }) => `${name}: ${message}`,
|
|
352
|
+
parallelGateway: {
|
|
353
|
+
convergingMinIncoming: '并行汇聚至少需要两条入口线路。',
|
|
354
|
+
convergingSingleOutgoing: '并行汇聚通常应只有一条出口线路。',
|
|
355
|
+
divergingSingleIncoming: '并行分支通常应只有一条入口线路。',
|
|
356
|
+
divergingMinOutgoing: '并行分支至少需要两条出口线路。',
|
|
357
|
+
mixedNotAllowed: '并行网关同时存在多个入口和多个出口,建议拆分为汇聚与分支两个网关。',
|
|
358
|
+
ambiguousTopology: '当前线路不足,暂时无法判断并行分支或并行汇聚。',
|
|
359
|
+
noConditionAllowed: '并行网关出口不应设置条件表达式。',
|
|
360
|
+
noDefaultAllowed: '并行网关不支持默认出口。',
|
|
361
|
+
},
|
|
362
|
+
import: {
|
|
363
|
+
xmlParseFailed: ({ detail }) => `BPMN XML 解析失败: ${detail}`,
|
|
364
|
+
missingProcessElement: '未找到 <process> 元素。',
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
properties: {
|
|
368
|
+
empty: '请选择元素查看属性',
|
|
369
|
+
profileAria: '属性视图',
|
|
370
|
+
profiles: {
|
|
371
|
+
business: '业务',
|
|
372
|
+
developer: '开发者',
|
|
373
|
+
},
|
|
374
|
+
header: {
|
|
375
|
+
none: '未选择元素',
|
|
376
|
+
multiSelected: ({ count }) => `已选择 ${count} 个元素`,
|
|
377
|
+
process: '流程与画布',
|
|
378
|
+
association: '关联',
|
|
379
|
+
sequenceFlow: '流程分支',
|
|
380
|
+
unnamedElement: '未命名元素',
|
|
381
|
+
},
|
|
382
|
+
multiSummary: {
|
|
383
|
+
title: '批量布局选区',
|
|
384
|
+
description: '在画布上使用悬浮工具栏进行对齐、分布和局部美化。',
|
|
385
|
+
fitSelection: '适应选区',
|
|
386
|
+
kinds: {
|
|
387
|
+
task: '任务',
|
|
388
|
+
event: '事件',
|
|
389
|
+
gateway: '网关',
|
|
390
|
+
container: '子流程',
|
|
391
|
+
boundary: '边界事件',
|
|
392
|
+
other: '其他',
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
controls: {
|
|
396
|
+
selectLabel: '选择',
|
|
397
|
+
selectPlaceholder: '请选择',
|
|
398
|
+
selectEmpty: '暂无选项',
|
|
399
|
+
selectAria: ({ label, value }) => `${label}:${value}`,
|
|
400
|
+
switchOn: '开启',
|
|
401
|
+
switchOff: '关闭',
|
|
402
|
+
defaultAction: '执行',
|
|
403
|
+
tagsHint: '使用逗号分隔多个值;也可填写表达式。',
|
|
404
|
+
smartSelectPlaceholder: '选择或输入值',
|
|
405
|
+
nodeFallbackType: '流程节点',
|
|
406
|
+
locateNodeAria: ({ label }) => `定位到节点:${label}`,
|
|
407
|
+
emptyNodeList: '暂无节点引用',
|
|
408
|
+
unconnected: '未连接',
|
|
409
|
+
emptyFlowList: '暂无线路',
|
|
410
|
+
removeRow: '删除',
|
|
411
|
+
emptyTable: '暂无配置',
|
|
412
|
+
addRow: ({ label }) => `添加${label}`,
|
|
413
|
+
defaultRowLabel: '一项',
|
|
414
|
+
},
|
|
415
|
+
branchList: {
|
|
416
|
+
title: ({ index }) => `分支 ${index}`,
|
|
417
|
+
locate: '定位',
|
|
418
|
+
nameLabel: '出口名称',
|
|
419
|
+
namePlaceholder: '例如:采购审批',
|
|
420
|
+
conditionLabel: '条件表达式',
|
|
421
|
+
defaultFlow: '默认线路',
|
|
422
|
+
targetLabel: '流向',
|
|
423
|
+
empty: '当前网关没有出口分支',
|
|
424
|
+
},
|
|
425
|
+
validators: {
|
|
426
|
+
idRequired: 'ID 不能为空',
|
|
427
|
+
idInvalid: 'ID 只能包含字母、数字、_、-、.,且不能以数字开头',
|
|
428
|
+
idDuplicate: 'ID 已存在;BPMN Element ID 必须在 Definitions 内唯一',
|
|
429
|
+
},
|
|
430
|
+
bpmn: {
|
|
431
|
+
basicGroup: '基本信息',
|
|
432
|
+
branchDefGroup: '分支定义',
|
|
433
|
+
edgeInfoGroup: '连线信息',
|
|
434
|
+
processName: '流程名称',
|
|
435
|
+
processIdNote: '部署到流程引擎时作为 processDefinitionKey。',
|
|
436
|
+
executable: '可执行流程',
|
|
437
|
+
engine: '流程引擎',
|
|
438
|
+
name: '名称',
|
|
439
|
+
edgeNamePlaceholder: '例如:同意 / 驳回 / 金额 ≥ 5万',
|
|
440
|
+
nodeType: '节点类型',
|
|
441
|
+
documentationGroup: '文档说明',
|
|
442
|
+
documentationPlaceholder: '节点说明、业务规则、实现备注或流程文档。',
|
|
443
|
+
startPermissionsGroup: '启动权限',
|
|
444
|
+
starterUsers: '候选启动用户',
|
|
445
|
+
starterGroups: '候选启动组',
|
|
446
|
+
globalResourcesGroup: '全局事件资源',
|
|
447
|
+
globalResourcesDesc: '集中管理 Message / Signal / Error / Escalation,事件节点通过 ID 引用。',
|
|
448
|
+
messageRowLabel: '消息',
|
|
449
|
+
messageDefaultName: '新消息',
|
|
450
|
+
signalRowLabel: '信号',
|
|
451
|
+
signalDefaultName: '新信号',
|
|
452
|
+
errorRowLabel: '错误',
|
|
453
|
+
errorDefaultName: '业务错误',
|
|
454
|
+
escalationRowLabel: '升级',
|
|
455
|
+
escalationDefaultName: '业务升级',
|
|
456
|
+
namespacesGroup: '命名空间',
|
|
457
|
+
namespacesDesc: '自定义属性 / Extension Element 使用的 XML Namespace。填写前缀时使用 xmlns:company 形式。',
|
|
458
|
+
namespaceRowLabel: '命名空间',
|
|
459
|
+
canvasDisplayGroup: '画布显示',
|
|
460
|
+
showGrid: '显示网格',
|
|
461
|
+
gridSize: '网格尺寸',
|
|
462
|
+
snapToGrid: '吸附到网格',
|
|
463
|
+
alignmentGuides: '智能对齐辅助线',
|
|
464
|
+
alignmentGuidesNote: '关闭后不再进行磁性对齐,也不显示拖动辅助线。',
|
|
465
|
+
layoutGroup: '布局与连线',
|
|
466
|
+
defaultDirection: '默认布局方向',
|
|
467
|
+
directionHorizontal: '横向 Left → Right',
|
|
468
|
+
directionVertical: '纵向 Top → Bottom',
|
|
469
|
+
layoutDensity: '布局紧凑度',
|
|
470
|
+
layoutDensityNote: '影响快捷添加和一键美化的节点间距。',
|
|
471
|
+
defaultEdgeStyle: '默认连线风格',
|
|
472
|
+
edgeStyleRounded: '圆角折线',
|
|
473
|
+
edgeStyleSmooth: '柔和曲线',
|
|
474
|
+
edgeStyleStraight: '直角折线',
|
|
475
|
+
beautifyEntryLabel: '一键整理全部节点与连线',
|
|
476
|
+
beautifyActionLabel: '一键美化',
|
|
477
|
+
conditionGroup: '条件与默认出口',
|
|
478
|
+
conditionExpression: '条件表达式',
|
|
479
|
+
conditionParallelNote: '并行网关不会根据条件选择出口;仅供开发者清理历史数据。',
|
|
480
|
+
conditionDefaultNote: '导出为 bpmn:conditionExpression。',
|
|
481
|
+
defaultFlow: '默认线路',
|
|
482
|
+
defaultFlowParallelNote: '并行网关不支持默认出口;仅供开发者清理历史数据。',
|
|
483
|
+
edgeStyleGroup: '流程图显示',
|
|
484
|
+
routeStyle: '线路样式',
|
|
485
|
+
cornerRadius: '圆角半径',
|
|
486
|
+
resetRouteLabel: '重算最佳路径',
|
|
487
|
+
resetRouteActionLabel: '重算线路',
|
|
488
|
+
multiInstanceGroup: '循环 / 多实例',
|
|
489
|
+
loopType: '循环类型',
|
|
490
|
+
loopNone: '无',
|
|
491
|
+
loopStandard: '标准循环',
|
|
492
|
+
loopParallel: '并行多实例',
|
|
493
|
+
loopSequential: '串行多实例',
|
|
494
|
+
isForCompensation: '补偿活动',
|
|
495
|
+
scriptGroup: '脚本',
|
|
496
|
+
callActivityGroup: '调用流程',
|
|
497
|
+
inheritBusinessKey: '继承 Business Key',
|
|
498
|
+
inheritVariables: '继承流程变量',
|
|
499
|
+
inputMapping: '输入参数 In',
|
|
500
|
+
inputMappingRow: '输入映射',
|
|
501
|
+
outputMapping: '输出参数 Out',
|
|
502
|
+
outputMappingRow: '输出映射',
|
|
503
|
+
messageRefPlaceholder: '选择或输入 Message ID',
|
|
504
|
+
messageSendGroup: '消息发送',
|
|
505
|
+
messageReceiveGroup: '消息接收',
|
|
506
|
+
subProcessGroup: '子流程行为',
|
|
507
|
+
parallelRole: '并行角色',
|
|
508
|
+
parallelRoleAuto: '自动判断',
|
|
509
|
+
parallelRoleMixedDev: '混合(开发者配置)',
|
|
510
|
+
parallelConvergingNote: '并行汇聚会等待所有入口到达后再继续。',
|
|
511
|
+
gatewayDirectionDiverging: 'Diverging / 分支',
|
|
512
|
+
gatewayDirectionConverging: 'Converging / 汇聚',
|
|
513
|
+
gatewayGroup: '网关配置',
|
|
514
|
+
gatewayBranchesGroup: ({ count }) => `分支线路 · ${count}`,
|
|
515
|
+
gatewayBranchesDesc: '直接在网关面板维护出口名称、条件和默认线路;点击定位可选中对应 Sequence Flow。',
|
|
516
|
+
parallelOutgoingGroup: ({ count }) => `并行出口 · ${count}`,
|
|
517
|
+
parallelOutgoingDesc: '并行分支会同时激活所有出口;可维护线路名称或定位对应 Sequence Flow。',
|
|
518
|
+
connectExistingNode: '连接已有节点',
|
|
519
|
+
connectParallelBranch: '连接并行分支',
|
|
520
|
+
parallelJoinIncomingGroup: ({ count }) => `汇聚入口 · ${count}`,
|
|
521
|
+
parallelIncomingGroup: ({ count }) => `入口线路 · ${count}`,
|
|
522
|
+
parallelIncomingAmbiguousDesc: '当前角色尚未确定,仅展示已有入口线路。',
|
|
523
|
+
parallelIncomingEmpty: '当前并行网关没有入口线路',
|
|
524
|
+
parallelJoinOutgoingGroup: ({ count }) => `后续出口 · ${count}`,
|
|
525
|
+
parallelOutgoingAmbiguousGroup: ({ count }) => `出口线路 · ${count}`,
|
|
526
|
+
parallelJoinOutgoingDesc: '并行汇聚通常只连接一个后续节点。',
|
|
527
|
+
parallelOutgoingAmbiguousDesc: '当前角色尚未确定,仅展示已有出口线路。',
|
|
528
|
+
parallelOutgoingEmpty: '当前并行网关没有出口线路',
|
|
529
|
+
connectParallelNext: '连接后续节点',
|
|
530
|
+
parallelStructureGroup: '结构校验',
|
|
531
|
+
parallelStructureSummaryLabel: '线路结构',
|
|
532
|
+
parallelStructureSummaryValue: ({ incoming, outgoing }) => `${incoming} 入 · ${outgoing} 出`,
|
|
533
|
+
parallelStructureStatusLabel: '状态',
|
|
534
|
+
parallelStructureIssuesLabel: '提示',
|
|
535
|
+
timerType: '定时类型',
|
|
536
|
+
timerValue: '时间表达式',
|
|
537
|
+
eventRefMessage: '消息 Message',
|
|
538
|
+
eventRefSignal: '信号 Signal',
|
|
539
|
+
eventRefError: '错误 Error',
|
|
540
|
+
eventRefEscalation: '升级 Escalation',
|
|
541
|
+
eventRefPlaceholder: '选择或输入资源 ID',
|
|
542
|
+
eventDefinition: '事件定义',
|
|
543
|
+
boundaryGroup: '边界事件',
|
|
544
|
+
attachedToRef: '附着到活动',
|
|
545
|
+
cancelActivity: '中断主活动',
|
|
546
|
+
annotationText: '文本',
|
|
547
|
+
swimlaneLabelPlacement: '标题位置',
|
|
548
|
+
swimlaneSide: '左侧竖排',
|
|
549
|
+
swimlaneTop: '上方横排',
|
|
550
|
+
swimlanePoolNote: '挂载到此 Pool 的 Lane 会继承该标题布局。',
|
|
551
|
+
swimlaneSideInherited: '左侧竖排(跟随 Pool)',
|
|
552
|
+
swimlaneTopInherited: '上方横排(跟随 Pool)',
|
|
553
|
+
swimlaneLaneInheritedNote: '挂载 Lane 的标题布局由所属 Pool 统一控制。',
|
|
554
|
+
swimlaneLaneLocalNote: '该设置仅影响编辑器展示,不写入标准 BPMN XML。',
|
|
555
|
+
laneMembers: '包含节点',
|
|
556
|
+
laneMembersNote: '节点拖入 Lane 后可由布局/containment 模块维护;此处用于检查当前引用。',
|
|
557
|
+
artifactGroup: '元素配置',
|
|
558
|
+
extensionElementsDesc: '原始扩展 XML 会无损保留。推荐通过 Properties Provider + Engine/Extension serializer 管理结构化扩展;此处适合查看或维护少量未知扩展。',
|
|
559
|
+
extensionAttributesGroup: '扩展属性',
|
|
560
|
+
extensionAttributesDesc: '用于企业自定义 namespace attribute。请同时在 Process 的 namespaceDeclarations 中注册对应 xmlns 前缀。未知 Extension Elements 在导入/导出时仍会保留。',
|
|
561
|
+
extensionAttributeRow: '属性',
|
|
562
|
+
elementActionsGroup: '元素操作',
|
|
563
|
+
deleteElementLabel: '删除当前元素',
|
|
564
|
+
deleteElementAction: '删除元素',
|
|
565
|
+
},
|
|
566
|
+
engine: {
|
|
567
|
+
columnType: '类型',
|
|
568
|
+
columnImplementation: '实现',
|
|
569
|
+
listenerRow: '监听器',
|
|
570
|
+
assignee: '负责人 Assignee',
|
|
571
|
+
candidateUsers: '候选用户',
|
|
572
|
+
candidateGroups: '候选组',
|
|
573
|
+
taskConfigGroup: '任务属性',
|
|
574
|
+
taskListenersLabel: '任务监听器',
|
|
575
|
+
implementationType: '实现方式',
|
|
576
|
+
implementationValue: '实现值',
|
|
577
|
+
fieldInjectionLabel: '字段注入',
|
|
578
|
+
executionListenersLabel: '执行监听器',
|
|
579
|
+
flowableProcessExecutionGroup: 'Flowable 执行监听器',
|
|
580
|
+
flowableAssignmentGroup: '人员分配 · Flowable',
|
|
581
|
+
flowableRuleImplGroup: '业务规则实现 · Flowable',
|
|
582
|
+
flowableSendImplGroup: '发送实现 · Flowable',
|
|
583
|
+
flowableServiceImplGroup: '服务实现 · Flowable',
|
|
584
|
+
flowableExecutionGroup: '执行配置 · Flowable',
|
|
585
|
+
flowableCallGroup: 'Flowable 调用选项',
|
|
586
|
+
activitiProcessExecutionGroup: 'Activiti 执行监听器',
|
|
587
|
+
activitiAssignmentGroup: '人员分配 · Activiti',
|
|
588
|
+
activitiImplGroup: '执行实现 · Activiti',
|
|
589
|
+
activitiExecutionGroup: '执行配置 · Activiti',
|
|
590
|
+
activitiCallGroup: 'Activiti 调用选项',
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
runtime: {
|
|
594
|
+
status: {
|
|
595
|
+
idle: '未到达',
|
|
596
|
+
active: '处理中',
|
|
597
|
+
completed: '已完成',
|
|
598
|
+
failed: '失败',
|
|
599
|
+
cancelled: '已取消',
|
|
600
|
+
skipped: '未经过',
|
|
601
|
+
rejected: '已驳回',
|
|
602
|
+
returned: '已退回',
|
|
603
|
+
reentry: '重新审批',
|
|
604
|
+
countersign: ({ completed, total }) => `会签 ${completed}/${total}`,
|
|
605
|
+
sequentialCountersign: ({ completed, total }) => `顺序会签 ${completed}/${total}`,
|
|
606
|
+
orSign: ({ completed, total }) => `或签 ${completed}/${total}`,
|
|
607
|
+
multiApproval: ({ completed, total }) => `多人审批 ${completed}/${total}`,
|
|
608
|
+
activeVisits: ({ active }) => `处理中 ${active} 项执行`,
|
|
609
|
+
activeVisitsOfTotal: ({ active, total }) => `处理中 ${active}/${total} 项执行`,
|
|
610
|
+
},
|
|
611
|
+
summary: {
|
|
612
|
+
pendingAssignee: '待分配审批人',
|
|
613
|
+
pendingClaim: ({ value }) => `待领取 · ${value}`,
|
|
614
|
+
branchSkipped: '分支未经过',
|
|
615
|
+
notVisited: '流程未经过',
|
|
616
|
+
notReachedYet: '尚未流转',
|
|
617
|
+
automatedActive: '执行中',
|
|
618
|
+
automatedCompleted: '执行完成',
|
|
619
|
+
automatedFailed: '执行失败',
|
|
620
|
+
automatedWaiting: '等待执行',
|
|
621
|
+
},
|
|
622
|
+
transitions: {
|
|
623
|
+
reject: '驳回',
|
|
624
|
+
return: '退回',
|
|
625
|
+
skip: '跳过',
|
|
626
|
+
forward: '流转',
|
|
627
|
+
rejectPrefix: '驳回至',
|
|
628
|
+
returnPrefix: '退回至',
|
|
629
|
+
skipPrefix: '跳过',
|
|
630
|
+
forwardPrefix: '流转至',
|
|
631
|
+
rejectTo: ({ target }) => `驳回至:${target}`,
|
|
632
|
+
returnTo: ({ target }) => `退回至:${target}`,
|
|
633
|
+
skipTo: ({ target }) => `跳过:${target}`,
|
|
634
|
+
forwardTo: ({ target }) => `流转至:${target}`,
|
|
635
|
+
},
|
|
636
|
+
action: {
|
|
637
|
+
imageCount: ({ count }) => `${count} 张图片`,
|
|
638
|
+
fileCount: ({ count }) => `${count} 个附件`,
|
|
639
|
+
},
|
|
640
|
+
diagnostics: {
|
|
641
|
+
duplicateActivityId: '工作项 ID 重复。',
|
|
642
|
+
visitElementMismatch: '同一 visitId 关联了不同 BPMN 元素。',
|
|
643
|
+
invalidTime: '时间无法解析。',
|
|
644
|
+
naiveTime: '时间缺少时区,比较结果可能因环境而异。',
|
|
645
|
+
unknownElement: '工作项引用了不存在的 BPMN 元素。',
|
|
646
|
+
duplicateActionId: '操作 ID 重复。',
|
|
647
|
+
unknownActivity: '操作引用了不存在的工作项。',
|
|
648
|
+
actionIdentityMismatch: '操作与工作项的元素或 Visit 不一致。',
|
|
649
|
+
actionInvalidTime: '操作时间无法解析。',
|
|
650
|
+
actionNaiveTime: '操作时间缺少时区。',
|
|
651
|
+
actionMissingTime: '操作缺少时间,排序仅用于展示。',
|
|
652
|
+
duplicateTransitionId: '跳转 ID 重复。',
|
|
653
|
+
transitionUnknownActivity: '跳转引用了不存在的来源工作项。',
|
|
654
|
+
transitionUnknownAction: '跳转引用了不存在的操作。',
|
|
655
|
+
transitionUnknownSource: '跳转来源元素不存在。',
|
|
656
|
+
transitionUnknownTarget: '跳转目标元素不存在。',
|
|
657
|
+
transitionInvalidTime: '跳转时间无法解析。',
|
|
658
|
+
transitionNaiveTime: '跳转时间缺少时区。',
|
|
659
|
+
duplicateEdgeVisitId: '连线经过 ID 重复。',
|
|
660
|
+
unknownEdge: '连线经过引用了不存在的 BPMN 连线。',
|
|
661
|
+
invalidationWorkItemId: '失效字段收到工作项 ID,该字段只接受 BPMN 元素 ID。',
|
|
662
|
+
invalidationUnknownElement: '失效范围引用了不存在的 BPMN 元素。',
|
|
663
|
+
invalidationFieldConflict: 'invalidatedElementIds 与 invalidatedActivityIds 不一致,已按元素字段生效。',
|
|
664
|
+
elementInvalidationConcurrentVisits: '元素级失效遇到多个有效 Visit,未取消无关的并发执行。',
|
|
665
|
+
unknownSupersededVisit: 'supersedesVisitId 未匹配到同节点 Visit。',
|
|
666
|
+
concurrentVisits: '同一节点存在时间重叠且未声明替代关系的独立 Visit。',
|
|
667
|
+
ambiguousVisitOrder: '多个 Visit 缺少可比较时间,未将历史 active 解释为先后重办。',
|
|
668
|
+
},
|
|
669
|
+
invalidationIssues: {
|
|
670
|
+
missingEndpoints: '驳回来源或目标节点不存在,无法推断失效路径。',
|
|
671
|
+
crossScope: '驳回跨越流程作用域,未自动重置路径。',
|
|
672
|
+
multipleCandidatePaths: '驳回路径存在多个候选分支,未自动重置路径。',
|
|
673
|
+
pathNotFound: '未找到驳回目标到来源的已访问路径。',
|
|
674
|
+
},
|
|
675
|
+
trace: {
|
|
676
|
+
predictedSummary: '待处理',
|
|
677
|
+
parallelGroupDefault: '并行审批',
|
|
678
|
+
missingElementWarning: ({ elementId }) => `运行记录引用了不存在的元素:${elementId}`,
|
|
679
|
+
},
|
|
680
|
+
},
|
|
681
|
+
viewer: {
|
|
682
|
+
outcomes: {
|
|
683
|
+
approved: '通过',
|
|
684
|
+
rejected: '驳回',
|
|
685
|
+
returned: '退回',
|
|
686
|
+
submitted: '提交',
|
|
687
|
+
pending: '待处理',
|
|
688
|
+
},
|
|
689
|
+
details: {
|
|
690
|
+
ariaLabel: ({ name }) => `${name}审批详情`,
|
|
691
|
+
fallbackNodeName: '节点',
|
|
692
|
+
fallbackTitle: '节点详情',
|
|
693
|
+
roundLabel: ({ round }) => `第 ${round} 次处理`,
|
|
694
|
+
roundHistorical: ({ round }) => `第 ${round} 次处理 · 历史`,
|
|
695
|
+
traceSubtitle: '审批轨迹',
|
|
696
|
+
closeLabel: '关闭审批详情',
|
|
697
|
+
approvalModeAll: '会签',
|
|
698
|
+
approvalModeAllSequential: '顺序会签',
|
|
699
|
+
approvalModeAny: '或签',
|
|
700
|
+
approvalModeMulti: '多人审批',
|
|
701
|
+
systemActor: '系统',
|
|
702
|
+
targets: ({ names }) => `目标:${names}`,
|
|
703
|
+
targetElement: ({ id }) => `目标节点:${id}`,
|
|
704
|
+
rejectedTo: ({ target }) => `驳回至 ${target}`,
|
|
705
|
+
returnedTo: ({ target }) => `退回至 ${target}`,
|
|
706
|
+
},
|
|
707
|
+
transitionDetails: {
|
|
708
|
+
rejectRecord: '驳回记录',
|
|
709
|
+
returnRecord: '退回记录',
|
|
710
|
+
rejectRecordAria: ({ source }) => `${source}驳回记录`,
|
|
711
|
+
returnRecordAria: ({ source }) => `${source}退回记录`,
|
|
712
|
+
fallbackNodeName: '节点',
|
|
713
|
+
fallbackTitle: '驳回记录',
|
|
714
|
+
rejectedBadge: '已驳回',
|
|
715
|
+
returnedBadge: '已退回',
|
|
716
|
+
closeRejectDetails: '关闭驳回详情',
|
|
717
|
+
closeReturnDetails: '关闭退回详情',
|
|
718
|
+
unknownOperator: '未知处理人',
|
|
719
|
+
rejectedTo: ({ target }) => `驳回至 ${target}`,
|
|
720
|
+
returnedTo: ({ target }) => `退回至 ${target}`,
|
|
721
|
+
locateSource: '定位来源',
|
|
722
|
+
locateTarget: '定位目标',
|
|
723
|
+
},
|
|
724
|
+
assets: {
|
|
725
|
+
unavailable: '资源不可用',
|
|
726
|
+
imageLoading: '图片加载中',
|
|
727
|
+
imagePreviewAria: ({ name }) => `图片预览:${name}`,
|
|
728
|
+
closeImagePreview: '关闭图片预览',
|
|
729
|
+
previewImageAria: ({ name }) => `预览图片:${name}`,
|
|
730
|
+
imageUnavailable: '图片资源不可用',
|
|
731
|
+
fileUnavailable: '附件资源不可用',
|
|
732
|
+
downloadFileAria: ({ name }) => `下载附件:${name}`,
|
|
733
|
+
preparingDownload: '准备下载',
|
|
734
|
+
download: '下载',
|
|
735
|
+
unsupportedContent: ({ type }) => `暂不支持的内容:${type}`,
|
|
736
|
+
},
|
|
737
|
+
},
|
|
738
|
+
timeline: {
|
|
739
|
+
defaultTitle: '审批轨迹',
|
|
740
|
+
defaultDescription: '按实际处理顺序展示',
|
|
741
|
+
ariaLabel: ({ title }) => `${title}审批轨迹`,
|
|
742
|
+
fallbackProcessName: '流程',
|
|
743
|
+
empty: '暂无运行轨迹',
|
|
744
|
+
round: ({ round }) => `第 ${round} 次`,
|
|
745
|
+
results: {
|
|
746
|
+
approved: '已同意',
|
|
747
|
+
rejected: '已驳回',
|
|
748
|
+
returned: '已退回',
|
|
749
|
+
submitted: '已提交',
|
|
750
|
+
pending: '待处理',
|
|
751
|
+
},
|
|
752
|
+
participantsToggle: ({ count }) => `查看处理人 · ${count}人`,
|
|
753
|
+
earlierActions: ({ count }) => `查看更早操作 · ${count} 条`,
|
|
754
|
+
targets: ({ names }) => `目标:${names}`,
|
|
755
|
+
parallelCompleted: ({ completed, total }) => `${completed}/${total} 已完成`,
|
|
756
|
+
parallelSvgHeader: ({ label, completed, total }) => `${label} · ${completed}/${total} 已完成`,
|
|
757
|
+
itemAria: ({ name, status, summary, comment }) => [name, status, summary, comment].filter(Boolean).join(','),
|
|
758
|
+
},
|
|
759
|
+
exportSvg: {
|
|
760
|
+
defaultLabels: {
|
|
761
|
+
design: '流程设计',
|
|
762
|
+
viewer: '流程展示',
|
|
763
|
+
instance: '审批轨迹',
|
|
764
|
+
timeline: '移动时间线',
|
|
765
|
+
approval: '实际路径',
|
|
766
|
+
standard: '完整 BPMN',
|
|
767
|
+
},
|
|
768
|
+
preview: {
|
|
769
|
+
defaultTitle: '导出 SVG',
|
|
770
|
+
subtitle: '预览确认后下载',
|
|
771
|
+
closeAria: '关闭 SVG 预览',
|
|
772
|
+
themeGroupAria: 'SVG 主题',
|
|
773
|
+
themeCurrent: '当前',
|
|
774
|
+
themeLight: '浅色',
|
|
775
|
+
themeDark: '深色',
|
|
776
|
+
transparentBackground: '透明背景',
|
|
777
|
+
zoomOut: '缩小',
|
|
778
|
+
zoomIn: '放大',
|
|
779
|
+
fitView: '最佳视图',
|
|
780
|
+
actualSize: '1:1',
|
|
781
|
+
viewportAria: 'SVG 预览画布,可拖动和缩放',
|
|
782
|
+
imageAlt: 'SVG 导出预览',
|
|
783
|
+
generating: '正在生成 SVG…',
|
|
784
|
+
preparingExport: '准备导出',
|
|
785
|
+
preparingFullContent: '正在准备完整内容',
|
|
786
|
+
failed: ({ message }) => `生成失败:${message}`,
|
|
787
|
+
unknownError: '未知错误',
|
|
788
|
+
notGenerated: 'SVG 尚未生成',
|
|
789
|
+
cancel: '取消',
|
|
790
|
+
retry: '重试',
|
|
791
|
+
confirmDownload: '确认下载',
|
|
792
|
+
warningsHeading: ({ count }) => `${count} 项内容已降级处理`,
|
|
793
|
+
warningsMore: ({ count }) => `另有 ${count} 项`,
|
|
794
|
+
},
|
|
795
|
+
warnings: {
|
|
796
|
+
customNodeRendererFailed: ({ name }) => `节点“${name}”的 SVG Renderer 执行失败,已使用标准视觉。`,
|
|
797
|
+
customNodeRendererFallback: ({ name }) => `节点“${name}”没有 SVG Renderer,已使用标准视觉。`,
|
|
798
|
+
customTimelineRendererFailed: '自定义时间线 SVG Renderer 执行失败,已使用默认时间线。',
|
|
799
|
+
assetInvalid: '审批图片引用无效,已显示占位内容。',
|
|
800
|
+
assetUnavailable: ({ name }) => `图片“${name}”无法嵌入 SVG,已显示占位内容。`,
|
|
801
|
+
avatarUnavailable: '处理人头像无法嵌入 SVG,已显示姓名首字。',
|
|
802
|
+
},
|
|
803
|
+
fileUnavailable: '附件不可用',
|
|
804
|
+
},
|
|
805
|
+
};
|