@dcp-designable/dn-components
Version:
设计期组件
108 lines • 3.91 kB
JavaScript
/*
* @Description:
* @Version: 2.0
* @Autor: 李术禹
* @Date: 2022-12-15 18:36:58
*/
import { mergeSchema } from '@dcp-designable/utils';
import { CommonLocale } from '../common/locales/common';
export default mergeSchema(CommonLocale, {
'zh-CN': {
title: '工作流按钮',
settings: {
'event-group': {
'title': '事件',
'x-submit-events': '提交',
'x-approval-events': '审批通过',
'x-return-events': '审批驳回',
'x-prestep-events': '退回到上一步',
'x-cancel-events': '撤销',
'x-ReSubmit-events': '重新提交',
'x-SaveDraft-events': '保存草稿',
'x-updateDraft-events': '更新草稿',
},
'x-component-props': {
anchor: '边缘吸附',
anchorPosition: '边缘位置',
workflowTemplate: '工作流模板',
submitBusiness: '提交业务ID',
detailsBusiness: '详情业务ID',
bpmButtonVisible: {
title: '按钮定制',
dataSource: [
'通过',
'驳回',
'退回上一步',
'跳转',
'提交',
'重新提交',
'草稿箱',
'撤销',
'委派',
'邀请阅示',
'挂起',
'流程图',
'审批预测',
'时间轴',
'流程历史',
],
},
bpmButtonCustom: '开启按钮定制',
style: {
borderRadius: '圆角',
border: '边框',
},
},
},
},
'en-US': {
title: 'BPMButton',
settings: {
'event-group': {
'title': 'Event',
'x-submit-events': 'submit',
'x-approval-events': 'approval',
'x-return-events': 'return',
'x-prestep-events': 'prestep',
'x-cancel-events': 'cancel',
'x-ReSubmit-events': 'ReSubmit',
'x-SaveDraft-events': 'SaveDraft',
'x-UpdateDraft-events': 'UpdateDraft',
},
'x-component-props': {
anchor: 'anchor',
anchorPosition: 'anchorPosition',
workflowTemplate: 'workflowTemplate',
submitBusiness: 'submitBusiness',
detailsBusiness: 'detailsBusiness',
bpmButtonVisible: {
title: 'buttonCustomization',
dataSource: [
'pass',
'overrule',
'returnToPrevious',
'fallback',
'submit',
'reSubmit',
'saveDraft',
'undo',
'entrust',
'invite',
'suspend',
'flowChart',
'forecast',
'timeline',
'history',
],
},
bpmButtonCustom: 'bpmButtonCustom',
style: {
background: 'Background',
borderRadius: 'Radius',
border: 'Border',
},
},
},
},
});
//# sourceMappingURL=locale.js.map