UNPKG

jjb-lc-designable

Version:

基于alibaba-designable源码二次封装的表单设计器。

323 lines 10.1 kB
export const Field = { 'zh-CN': { settings: { name: '字段标识', title: '标题', required: '必填', description: '描述', default: '默认值', enum: '可选项', 'x-display': { title: '展示状态', tooltip: '半隐藏只会隐藏UI,全隐藏会删除数据', dataSource: ['显示', '半隐藏', '全隐藏', '继承'] }, 'x-pattern': { title: 'UI形态', dataSource: ['可编辑', '禁用', '只读', '阅读', '继承'] }, 'x-validator': '校验规则', 'x-decorator': '容器组件', 'x-reactions': '响应器规则', 'field-group': '字段属性', 'component-group': '组件属性', 'decorator-group': '容器属性', 'component-style-group': '组件样式', 'decorator-style-group': '容器样式', 'x-component-props': { size: { title: '尺寸', dataSource: ['', '', '默认', '继承'] }, allowClear: '允许清除内容', autoFocus: '自动获取焦点', showSearch: '支持搜索', notFoundContent: '空状态内容', bordered: '是否有边框', placeholder: '占位提示', style: { width: '宽度', height: '高度', display: '展示', background: '背景', boxShadow: '阴影', font: '字体', margin: '外边距', padding: '内边距', borderRadius: '圆角', border: '边框', opacity: '透明度' } }, 'x-decorator-props': { addonAfter: '后缀标签', addonBefore: '前缀标签', tooltip: '提示', asterisk: '星号', gridSpan: '网格跨列', labelCol: '标签网格宽度', wrapperCol: '组件网格宽度', colon: '是否有冒号', labelAlign: { title: '标签对齐', dataSource: ['左对齐', '右对齐', '继承'] }, wrapperAlign: { title: '组件对齐', dataSource: ['左对齐', '右对齐', '继承'] }, labelWrap: '标签换行', wrapperWrap: '组件换行', labelWidth: '标签宽度', wrapperWidth: '组件宽度', fullness: '组件占满', inset: '内联布局', shallow: '是否浅传递', bordered: '是否有边框', size: { title: '尺寸', dataSource: ['', '', '默认', '继承'] }, layout: { title: '布局', dataSource: ['垂直', '水平', '内联', '继承'] }, feedbackLayout: { title: '反馈布局', dataSource: ['宽松', '紧凑', '弹层', '', '继承'] }, tooltipLayout: { title: '提示布局', dataSource: ['图标', '文本', '继承'] }, style: { width: '宽度', height: '高度', display: '展示', background: '背景', boxShadow: '阴影', font: '字体', margin: '外边距', padding: '内边距', borderRadius: '圆角', border: '边框', opacity: '透明度' } } } }, 'en-US': { settings: { name: 'Name', title: 'Title', required: 'Required', description: 'Description', default: 'Default', enum: 'Options', 'x-display': { title: 'Display State', tooltip: 'When the display value is "None", the data will be "Hidden" and deleted. When the display value is hidden, only the UI will be hidden', dataSource: ['Visible', 'Hidden', 'None', 'Inherit'] }, 'x-pattern': { title: 'UI Pattern', dataSource: ['Editable', 'Disabled', 'ReadOnly', 'ReadPretty', 'Inherit'] }, 'x-validator': 'Validator', 'x-decorator': 'Decorator', 'x-reactions': 'Reactions', 'field-group': 'Field Properties', 'component-group': 'Component Properties', 'decorator-group': 'Decorator Properties', 'component-style-group': 'Component Style', 'decorator-style-group': 'Decorator Style', 'x-component-props': { size: { title: 'Size', dataSource: ['Large', 'Small', 'Default', 'Inherit'] }, allowClear: 'Allow Clear', autoFocus: 'Auto Focus', showSearch: 'Show Search', notFoundContent: 'Not Found Content', bordered: 'Bordered', placeholder: 'Placeholder', style: { width: 'Width', height: 'Height', display: 'Display', background: 'Background', boxShadow: 'Box Shadow', font: 'Font', margin: 'Margin', padding: 'Padding', borderRadius: 'Radius', border: 'Border', opacity: 'Opacity' } }, 'x-decorator-props': { addonAfter: 'Addon After', addonBefore: 'Addon Before', tooltip: 'Tooltip', asterisk: 'Asterisk', gridSpan: 'Grid Span', labelCol: 'Label Col', wrapperCol: 'Wrapper Col', colon: 'Colon', labelAlign: { title: 'Label Align', dataSource: ['Left', 'Right', 'Inherit'] }, wrapperAlign: { title: 'Wrapper Align', dataSource: ['Left', 'Right', 'Inherit'] }, labelWrap: 'Label Wrap', wrapperWrap: 'Wrapper Wrap', labelWidth: 'Label Width', wrapperWidth: 'Wrapper Width', fullness: 'Fullness', inset: 'Inset', shallow: 'Shallow', bordered: 'Bordered', size: { title: 'Size', dataSource: ['Large', 'Small', 'Default', 'Inherit'] }, layout: { title: 'Layout', dataSource: ['Vertical', 'Horizontal', 'Inline', 'Inherit'] }, feedbackLayout: { title: 'Feedback Layout', dataSource: ['Loose', 'Terse', 'Popup', 'None', 'Inherit'] }, tooltipLayout: { title: 'Tooltip Layout', dataSource: ['Icon', 'Text', 'Inherit'] }, style: { width: 'Width', height: 'Height', display: 'Display', background: 'Background', boxShadow: 'Box Shadow', font: 'Font', margin: 'Margin', padding: 'Padding', borderRadius: 'Radius', border: 'Border', opacity: 'Opacity' } } } }, 'ko-KR': { settings: { name: '이름', title: '제목', required: '필수항목', description: '설명', default: '기본 값', enum: 'Options', 'x-display': { title: '디스플레이 상태', tooltip: '디스플레이 값이 "없음"이면 데이터가 "숨김"상태가 되고 삭제됩니다. 디스플레이 값이 숨김이면 UI만 숨겨집니다.', dataSource: ['보임', '숨김', '없음', '상속'] }, 'x-pattern': { title: 'UI 패턴', dataSource: ['수정 가능', '비활성화', 'ReadOnly', 'ReadPretty', '상속'] }, 'x-validator': '유효성 검사 도구', 'x-decorator': '데코레이터', 'x-reactions': 'Reactions', 'field-group': '필드 속성', 'component-group': '컴포넌트 속성', 'decorator-group': '데코레이터 속성', 'component-style-group': '컴포넌트 스타일', 'decorator-style-group': '데코레이터 스타일', 'x-component-props': { size: { title: '크기', dataSource: ['크게', '작게', '보통', '상속'] }, allowClear: '삭제 허용', autoFocus: '오토 포커스', showSearch: '검색 보기', notFoundContent: '값을 찾을 수 없음', bordered: 'Bordered', placeholder: 'Placeholder', style: { width: '너비', height: '높이', display: '디스플레이', background: '배경', boxShadow: '그림자 박스', font: '폰트', margin: '마진', padding: '패딩', borderRadius: '테두리 굴곡', border: '테두리', opacity: '투명도' } }, 'x-decorator-props': { addonAfter: '에드온 뒤', addonBefore: '에드온 전', tooltip: '툴팁', asterisk: '별표시', gridSpan: 'Grid Span', labelCol: 'Label Col', wrapperCol: 'Wrapper Col', colon: 'Colon', labelAlign: { title: 'Label 정렬', dataSource: ['왼쪽', '오른쪽', '상속'] }, wrapperAlign: { title: 'Wrapper 정렬', dataSource: ['왼쪽', '오른쪽', '상속'] }, labelWrap: 'Label Wrap', wrapperWrap: 'Wrapper Wrap', labelWidth: 'Label Width', wrapperWidth: 'Wrapper Width', fullness: 'Fullness', inset: 'Inset', shallow: '얇게', bordered: 'Bordered', size: { title: '크기', dataSource: ['크게', '작게', '보통', '상속'] }, layout: { title: '레이아웃', dataSource: ['수직', '수평', '인라인', '상속'] }, feedbackLayout: { title: '피드백 레이아웃', dataSource: ['느슨하게', 'Terse', '팝업', '없음', '상속'] }, tooltipLayout: { title: '툴팁 레이아웃', dataSource: ['아이콘', '텍스트', '상속'] }, style: { width: '너비', height: '높이', display: '디스플레이', background: '배경', boxShadow: '그림자 박수', font: '폰트', margin: '마진', padding: '패딩', borderRadius: '테두리 굴곡', border: '테두리', opacity: '투명도' } } } } };