Skip to content

Commit

Permalink
releases 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Aug 20, 2024
1 parent a89bcf4 commit 755eac6
Show file tree
Hide file tree
Showing 13 changed files with 124 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-pc-ui",
"version": "4.0.96",
"version": "4.1.0",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
12 changes: 10 additions & 2 deletions packages/language/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,19 @@ export default {
}
},
listDesign: {
fieldSettingTab: 'Field setting',
listSettingTab: 'Parameter setting',
fieldSettingTab: 'Field',
listSettingTab: 'Parameter',
searchTitle: 'Search',
listTitle: 'List',
searchField: 'Search field',
listField: 'List field',
activeBtn: {
ActionButtonUpdate: 'Edit',
ActionButtonDelete: 'Delete'
},
search: {
addBtn: 'Edit',
emptyText: 'No filter condition is configured.'
}
},
text: {
Expand Down
12 changes: 10 additions & 2 deletions packages/language/es-ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,19 @@ export default {
}
},
listDesign: {
fieldSettingTab: 'Field setting',
listSettingTab: 'Parameter setting',
fieldSettingTab: 'Field',
listSettingTab: 'Parameter',
searchTitle: 'Search',
listTitle: 'List',
searchField: 'Search field',
listField: 'List field',
activeBtn: {
ActionButtonUpdate: 'Edit',
ActionButtonDelete: 'Delete'
},
search: {
addBtn: 'Edit',
emptyText: 'No filter condition is configured.'
}
},
text: {
Expand Down
14 changes: 13 additions & 1 deletion packages/language/hu-HU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,19 @@ export default {
},
listDesign: {
fieldSettingTab: '字段设置',
listSettingTab: '参数设置'
listSettingTab: '参数设置',
searchTitle: '查询条件',
listTitle: '列表字段',
searchField: '查询字段',
listField: '列表字段',
activeBtn: {
ActionButtonUpdate: '编辑',
ActionButtonDelete: '删除'
},
search: {
addBtn: '编辑',
emptyText: '未配置查询条件'
}
},

/**
Expand Down
12 changes: 10 additions & 2 deletions packages/language/ja-JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,19 @@ export default {
}
},
listDesign: {
fieldSettingTab: 'Field setting',
listSettingTab: 'Parameter setting',
fieldSettingTab: 'Field',
listSettingTab: 'Parameter',
searchTitle: 'Search',
listTitle: 'List',
searchField: 'Search field',
listField: 'List field',
activeBtn: {
ActionButtonUpdate: 'Edit',
ActionButtonDelete: 'Delete'
},
search: {
addBtn: 'Edit',
emptyText: 'No filter condition is configured.'
}
},
text: {
Expand Down
8 changes: 8 additions & 0 deletions packages/language/ko-KR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,17 @@ export default {
listDesign: {
fieldSettingTab: '字段设置',
listSettingTab: '参数设置',
searchTitle: '查询条件',
listTitle: '列表字段',
searchField: '查询字段',
listField: '列表字段',
activeBtn: {
ActionButtonUpdate: '编辑',
ActionButtonDelete: '删除'
},
search: {
addBtn: '编辑',
emptyText: '未配置查询条件'
}
},
text: {
Expand Down
8 changes: 8 additions & 0 deletions packages/language/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,17 @@ export default {
listDesign: {
fieldSettingTab: 'Field setting',
listSettingTab: 'Parameter setting',
searchTitle: 'Search',
listTitle: 'List',
searchField: 'Search field',
listField: 'List field',
activeBtn: {
ActionButtonUpdate: 'Edit',
ActionButtonDelete: 'Delete'
},
search: {
addBtn: 'Edit',
emptyText: 'No filter condition is configured.'
}
},
text: {
Expand Down
8 changes: 8 additions & 0 deletions packages/language/ru-RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,17 @@ export default {
listDesign: {
fieldSettingTab: '字段设置',
listSettingTab: '参数设置',
searchTitle: '查询条件',
listTitle: '列表字段',
searchField: '查询字段',
listField: '列表字段',
activeBtn: {
ActionButtonUpdate: '编辑',
ActionButtonDelete: '删除'
},
search: {
addBtn: '编辑',
emptyText: '未配置查询条件'
}
},
text: {
Expand Down
8 changes: 8 additions & 0 deletions packages/language/vi-VN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,17 @@ export default {
listDesign: {
fieldSettingTab: '字段设置',
listSettingTab: '参数设置',
searchTitle: '查询条件',
listTitle: '列表字段',
searchField: '查询字段',
listField: '列表字段',
activeBtn: {
ActionButtonUpdate: '编辑',
ActionButtonDelete: '删除'
},
search: {
addBtn: '编辑',
emptyText: '未配置查询条件'
}
},
text: {
Expand Down
8 changes: 8 additions & 0 deletions packages/language/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,17 @@ export default {
listDesign: {
fieldSettingTab: '字段设置',
listSettingTab: '参数设置',
searchTitle: '查询条件',
listTitle: '列表字段',
searchField: '查询字段',
listField: '列表字段',
activeBtn: {
ActionButtonUpdate: '编辑',
ActionButtonDelete: '删除'
},
search: {
addBtn: '编辑',
emptyText: '未配置查询条件'
}
},
text: {
Expand Down
8 changes: 8 additions & 0 deletions packages/language/zh-TC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,17 @@ export default {
listDesign: {
fieldSettingTab: '字段設置',
listSettingTab: '参数设置',
searchTitle: '查询条件',
listTitle: '列表字段',
searchField: '查询字段',
listField: '列表字段',
activeBtn: {
ActionButtonUpdate: '編輯',
ActionButtonDelete: '刪除'
},
search: {
addBtn: '编辑',
emptyText: '未配置查询条件'
}
},
text: {
Expand Down
58 changes: 29 additions & 29 deletions packages/list-design/src/default-setting-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,14 +315,14 @@ export const DefaultFieldSettingFormComponent = defineComponent({
default () {
return [
h(VxeFormItemComponent, {
title: '查询字段'
title: getI18n('vxe.listDesign.searchField')
}, {
extra () {
return h(VxeButtonComponent, {
mode: 'text',
status: 'primary',
icon: getIcon().FORM_DESIGN_PROPS_EDIT,
content: '编辑',
content: getI18n('vxe.listDesign.search.addBtn'),
onClick: addSearchEvent
})
},
Expand All @@ -342,13 +342,13 @@ export const DefaultFieldSettingFormComponent = defineComponent({
: h('div', {
class: 'vxe-list-design--field-configs-empty-data'
}, [
h('span', {}, '暂无查询条件')
h('span', {}, getI18n('vxe.listDesign.search.emptyText'))
])
]
}
}),
h(VxeFormItemComponent, {
title: '列表字段'
title: getI18n('vxe.listDesign.listField')
}, {
default () {
return renderFieldOptions()
Expand Down Expand Up @@ -393,10 +393,10 @@ export const DefaultParameterSettingFormComponent = defineComponent({
{ label: '列表视图', value: 'list', isExpand: false }
])

const refFoldOpts = ref([
{ label: '显示', value: true },
{ label: '隐藏', value: false }
])
// const refFoldOpts = ref([
// { label: '显示', value: true },
// { label: '隐藏', value: false }
// ])

const refSeqOpts = ref([
{ label: '显示', value: true },
Expand Down Expand Up @@ -705,27 +705,27 @@ export const DefaultParameterSettingFormComponent = defineComponent({
]
}
}),
h(VxeFormItemComponent, {
title: '查询配置'
}, {
default () {
const { formData } = listDesignReactData
return [
h('div', {
class: 'vxe-list-design--widget-form-item-prop-list'
}, [
h('span', {}, '折叠字段'),
h(VxeRadioGroupComponent, {
modelValue: formData.autoFoldFilter,
options: refFoldOpts.value,
'onUpdate:modelValue' (val) {
formData.autoFoldFilter = val
}
})
])
]
}
}),
// h(VxeFormItemComponent, {
// title: '查询配置'
// }, {
// default () {
// const { formData } = listDesignReactData
// return [
// h('div', {
// class: 'vxe-list-design--widget-form-item-prop-list'
// }, [
// h('span', {}, '折叠字段'),
// h(VxeRadioGroupComponent, {
// modelValue: formData.autoFoldFilter,
// options: refFoldOpts.value,
// 'onUpdate:modelValue' (val) {
// formData.autoFoldFilter = val
// }
// })
// ])
// ]
// }
// }),
h(VxeFormItemComponent, {
title: '列配置'
}, {
Expand Down
6 changes: 3 additions & 3 deletions packages/list-design/src/layout-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default defineComponent({
}, [
h('div', {
class: 'vxe-list-design--preview-title'
}, '查询条件'),
}, getI18n('vxe.listDesign.searchTitle')),
searchFormItems.length
? h(VxeFormComponent, {
data: searchFormData,
Expand All @@ -149,15 +149,15 @@ export default defineComponent({
: h('div', {
class: 'vxe-list-design--field-configs-empty-data'
}, [
h('span', {}, '暂无查询条件')
h('span', {}, getI18n('vxe.listDesign.search.emptyText'))
])
]),
h('div', {
class: 'vxe-list-design--preview-table'
}, [
h('div', {
class: 'vxe-list-design--preview-title'
}, '列表字段'),
}, getI18n('vxe.listDesign.listTitle')),
VxeTableGridComponent
? h(VxeTableGridComponent, {
ref: refGrid,
Expand Down

0 comments on commit 755eac6

Please sign in to comment.