feat: add simple select component

This commit is contained in:
jialin
2025-07-01 20:20:50 +08:00
parent 7da106798d
commit 9e29e7283c
12 changed files with 339 additions and 129 deletions
+3 -2
View File
@@ -97,7 +97,7 @@ export default {
'common.form.field.input.required': 'required',
'common.form.field.select.required': 'required',
'common.select.option': 'All',
'common.checbox.all': 'All',
'common.checbox.all': 'Select all',
'common.select.all': 'All {type}',
'common.data.unkonwn': 'Unknown',
'common.data.none': 'No Data',
@@ -250,5 +250,6 @@ export default {
'Oops! Something went wrong. Try refreshing the page.',
'common.tips.escape.disable':
'Click Cancel or the X at the top right to close.',
'common.button.clearSelection': 'Clear Selection'
'common.button.clearSelection': 'Clear Selection',
'common.select.count': '{count} selected'
};
+4 -2
View File
@@ -250,7 +250,8 @@ export default {
'Oops! Something went wrong. Try refreshing the page.',
'common.tips.escape.disable':
'Click Cancel or the X at the top right to close.',
'common.button.clearSelection': 'Clear Selection'
'common.button.clearSelection': 'Clear Selection',
'common.select.count': '{count} selected'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -267,5 +268,6 @@ export default {
// 11. 'common.page.wentwrong': 'Something went wrong.',
// 12. 'common.page.refresh.tips': 'Oops! Something went wrong. Try refreshing the page.'
// 13. 'common.tips.escape.disable': 'Click Cancel or the X at the top right to close.'
// 14. 'common.button.clearSelection': 'Clear Selection'
// 14. 'common.button.clearSelection': 'Clear Selection',
// 15. 'common.select.count': '{count} selected'
// ========== End of To-Do List ==========
+3 -1
View File
@@ -249,9 +249,11 @@ export default {
'Упс! Что-то пошло не так. Попробуйте обновить страницу.',
'common.tips.escape.disable':
'Чтобы закрыть, нажмите "Отмена" или крестик (X) в правом верхнем углу.',
'common.button.clearSelection': 'Clear Selection'
'common.button.clearSelection': 'Clear Selection',
'common.select.count': '{count} selected'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'common.button.clearSelection': 'Clear Selection'
// 2. 'common.select.count': '{count} selected'
// ========== End of To-Do List ==========
+2 -1
View File
@@ -243,5 +243,6 @@ export default {
'common.page.wentwrong': '哎呀,出了点问题',
'common.page.refresh.tips': '出了点问题,试试刷新页面吧!',
'common.tips.escape.disable': '请点击「取消」按钮或右上角 X 关闭窗口',
'common.button.clearSelection': '清除选择'
'common.button.clearSelection': '清除选择',
'common.select.count': '已选 {count} 项'
};