vft 0.0.511 → 0.0.514
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/dist/index.css +1 -1
- package/es/components/cascader/cascader.vue2.js +202 -203
- package/es/components/cascader-panel/menu.vue2.js +49 -50
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +18 -19
- package/es/components/color-picker/color-picker.vue2.js +133 -134
- package/es/components/config-provider/config-provider.vue.d.ts +0 -2
- package/es/components/config-provider/config-provider.vue2.js +4 -5
- package/es/components/config-provider/constants.d.ts +0 -1
- package/es/components/config-provider/constants.js +2 -3
- package/es/components/config-provider/hooks/use-global-config.js +30 -33
- package/es/components/config-provider/index.d.ts +0 -9
- package/es/components/config-provider/index.js +5 -6
- package/es/components/date-picker/composables/use-basic-date-table.js +82 -83
- package/es/components/date-picker/composables/use-month-range-header.js +14 -15
- package/es/components/date-picker/composables/use-panel-date-range.js +23 -24
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +38 -39
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +38 -39
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +183 -184
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +224 -225
- package/es/components/date-time-select/date-time-select.vue2.js +36 -39
- package/es/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown.vue.d.ts +1 -1
- package/es/components/dropdown/dropdown.vue2.js +67 -68
- package/es/components/dropdown/index.d.ts +33 -33
- package/es/components/empty/empty.vue2.js +38 -39
- package/es/components/full-screen/full-screen.vue2.js +17 -18
- package/es/components/image/image.vue2.js +59 -60
- package/es/components/image-viewer/image-viewer.vue2.js +44 -45
- package/es/components/index.js +97 -98
- package/es/components/md-container/md-container.vue2.js +74 -75
- package/es/components/md-container/toc.js +36 -37
- package/es/components/message-box/message-box.vue2.js +3 -3
- package/es/components/message-box/method.js +47 -48
- package/es/components/modal/modal-footer-action.vue2.js +24 -25
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +15 -16
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +53 -54
- package/es/components/popconfirm/popconfirm.vue2.js +39 -40
- package/es/components/search/search.vue2.js +50 -51
- package/es/components/select/useSelect.js +231 -232
- package/es/components/super-form/super-form-item.vue2.js +66 -66
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +65 -66
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +133 -134
- package/es/components/transfer/transfer-panel.vue2.js +56 -57
- package/es/components/transfer/transfer.vue2.js +69 -70
- package/es/components/tree/tree.vue2.js +59 -60
- package/es/components/upload/upload-content.vue2.js +49 -50
- package/es/components/upload/upload-list.vue2.js +45 -46
- package/es/components/upload/upload.vue2.js +99 -100
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -5
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/cascader/cascader.vue2.cjs +1 -1
- package/lib/components/cascader-panel/menu.vue2.cjs +4 -4
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue.d.ts +0 -2
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/constants.cjs +1 -1
- package/lib/components/config-provider/constants.d.ts +0 -1
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/config-provider/index.d.ts +0 -9
- package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
- package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/dropdown/index.d.ts +33 -33
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/message-box/message-box.vue2.cjs +1 -1
- package/lib/components/message-box/method.cjs +1 -1
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
- package/lib/components/transfer/transfer.vue2.cjs +1 -1
- package/lib/components/tree/tree.vue2.cjs +1 -1
- package/lib/components/upload/upload-content.vue2.cjs +1 -1
- package/lib/components/upload/upload-list.vue2.cjs +1 -1
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/theme-style/index.css +1 -1
- package/theme-style/src/image-viewer.scss +12 -0
- package/theme-style/src/message-box.scss +2 -2
- package/theme-style/src/table.scss +6 -0
- package/theme-style/vft-image-viewer.css +1 -1
- package/theme-style/vft-message-box.css +1 -1
- package/theme-style/vft-table.css +1 -1
- package/web-types.json +1 -1
- package/es/locale/index.d.js +0 -1
- package/es/locale/index.d.ts +0 -26
- package/es/locale/index.js +0 -10
- package/es/locale/lang/en.d.ts +0 -183
- package/es/locale/lang/en.js +0 -241
- package/es/locale/lang/zh-cn.d.ts +0 -183
- package/es/locale/lang/zh-cn.js +0 -241
- package/es/locale/lang/zh-tw.d.ts +0 -183
- package/es/locale/lang/zh-tw.js +0 -241
- package/es/locale/use-locale.d.ts +0 -17
- package/es/locale/use-locale.js +0 -56
- package/lib/locale/index.cjs +0 -1
- package/lib/locale/index.d.cjs +0 -1
- package/lib/locale/index.d.ts +0 -26
- package/lib/locale/lang/en.cjs +0 -1
- package/lib/locale/lang/en.d.ts +0 -183
- package/lib/locale/lang/zh-cn.cjs +0 -1
- package/lib/locale/lang/zh-cn.d.ts +0 -183
- package/lib/locale/lang/zh-tw.cjs +0 -1
- package/lib/locale/lang/zh-tw.d.ts +0 -183
- package/lib/locale/use-locale.cjs +0 -1
- package/lib/locale/use-locale.d.ts +0 -17
package/es/locale/lang/zh-cn.js
DELETED
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "zh-cn",
|
|
3
|
-
vft: {
|
|
4
|
-
// 通用
|
|
5
|
-
ok: "确定",
|
|
6
|
-
cancel: "取消",
|
|
7
|
-
confirm: "确认",
|
|
8
|
-
close: "关闭",
|
|
9
|
-
save: "保存",
|
|
10
|
-
delete: "删除",
|
|
11
|
-
edit: "编辑",
|
|
12
|
-
add: "添加",
|
|
13
|
-
search: "搜索",
|
|
14
|
-
reset: "重置",
|
|
15
|
-
submit: "提交",
|
|
16
|
-
loading: "加载中",
|
|
17
|
-
noData: "暂无数据",
|
|
18
|
-
noMatch: "无匹配数据",
|
|
19
|
-
error: "错误",
|
|
20
|
-
success: "成功",
|
|
21
|
-
warning: "警告",
|
|
22
|
-
info: "提示",
|
|
23
|
-
// 分页
|
|
24
|
-
pagination: {
|
|
25
|
-
goto: "前往",
|
|
26
|
-
pagesize: "条/页",
|
|
27
|
-
total: "共 {total} 条",
|
|
28
|
-
pageClassifier: "页"
|
|
29
|
-
},
|
|
30
|
-
// 表格
|
|
31
|
-
table: {
|
|
32
|
-
emptyText: "暂无数据",
|
|
33
|
-
confirmDeleteRecord: "此操作将永久删除该记录,是否继续?",
|
|
34
|
-
deleteSuccess: "删除成功",
|
|
35
|
-
deleteFailed: "删除失败",
|
|
36
|
-
search: "搜索",
|
|
37
|
-
seq: "序号",
|
|
38
|
-
name: "名称",
|
|
39
|
-
time: "时间",
|
|
40
|
-
createTime: "创建时间",
|
|
41
|
-
updateTime: "更新时间",
|
|
42
|
-
status: "状态",
|
|
43
|
-
statusNormal: "正常",
|
|
44
|
-
statusDisabled: "禁用",
|
|
45
|
-
actionColumn: "操作栏",
|
|
46
|
-
edit: "编辑",
|
|
47
|
-
delete: "删除",
|
|
48
|
-
confirmDelete: "确认删除?"
|
|
49
|
-
},
|
|
50
|
-
// 表单
|
|
51
|
-
form: {
|
|
52
|
-
required: "此项为必填项",
|
|
53
|
-
invalidFormat: "格式不正确",
|
|
54
|
-
submitSuccess: "提交成功",
|
|
55
|
-
submitFailed: "提交失败"
|
|
56
|
-
},
|
|
57
|
-
// 对话框
|
|
58
|
-
dialog: {
|
|
59
|
-
confirm: "确定",
|
|
60
|
-
cancel: "取消"
|
|
61
|
-
},
|
|
62
|
-
// Empty 组件
|
|
63
|
-
empty: {
|
|
64
|
-
notFound: "页面不存在",
|
|
65
|
-
deleted: "已删除",
|
|
66
|
-
networkDisconnect: "网络已断开",
|
|
67
|
-
noData: "暂无数据",
|
|
68
|
-
pageError: "系统异常",
|
|
69
|
-
noFilter: "此筛选条件下无结果",
|
|
70
|
-
noSearch: "没有搜索结果"
|
|
71
|
-
},
|
|
72
|
-
// Popconfirm 组件
|
|
73
|
-
popconfirm: {
|
|
74
|
-
confirm: "确认",
|
|
75
|
-
cancel: "取消"
|
|
76
|
-
},
|
|
77
|
-
// SuperForm 组件
|
|
78
|
-
superForm: {
|
|
79
|
-
reset: "重置",
|
|
80
|
-
submit: "确认",
|
|
81
|
-
cancel: "取消"
|
|
82
|
-
},
|
|
83
|
-
// Tree 组件
|
|
84
|
-
tree: {
|
|
85
|
-
emptyText: "暂无数据"
|
|
86
|
-
},
|
|
87
|
-
// TimePicker 组件
|
|
88
|
-
timePicker: {
|
|
89
|
-
cancel: "取消",
|
|
90
|
-
confirm: "确认"
|
|
91
|
-
},
|
|
92
|
-
// Transfer 组件
|
|
93
|
-
transfer: {
|
|
94
|
-
filterPlaceholder: "请输入搜索内容"
|
|
95
|
-
},
|
|
96
|
-
// Search 组件
|
|
97
|
-
search: {
|
|
98
|
-
placeholder: "请输入你要搜索的内容"
|
|
99
|
-
},
|
|
100
|
-
// Table 组件
|
|
101
|
-
table: {
|
|
102
|
-
search: "搜索"
|
|
103
|
-
},
|
|
104
|
-
// Modal 组件
|
|
105
|
-
modal: {
|
|
106
|
-
confirm: "确认",
|
|
107
|
-
cancel: "取消"
|
|
108
|
-
},
|
|
109
|
-
// MultipleTabs 组件
|
|
110
|
-
multipleTabs: {
|
|
111
|
-
unpin: "取消固定",
|
|
112
|
-
refresh: "刷新",
|
|
113
|
-
openInNewTab: "新页面打开",
|
|
114
|
-
closeTab: "关闭标签页",
|
|
115
|
-
closeLeft: "关闭左侧标签页",
|
|
116
|
-
closeRight: "关闭右侧标签页",
|
|
117
|
-
closeOther: "关闭其它标签页",
|
|
118
|
-
closeAll: "关闭所有标签页",
|
|
119
|
-
fullScreen: "全屏",
|
|
120
|
-
standalone: "独立页面",
|
|
121
|
-
pin: "固定"
|
|
122
|
-
},
|
|
123
|
-
// Cascader 组件
|
|
124
|
-
cascader: {
|
|
125
|
-
placeholder: "请选择",
|
|
126
|
-
noData: "无匹配数据"
|
|
127
|
-
},
|
|
128
|
-
// ClampToggle 组件
|
|
129
|
-
clampToggle: {
|
|
130
|
-
expand: "展开",
|
|
131
|
-
collapse: "收缩"
|
|
132
|
-
},
|
|
133
|
-
// ColorPicker 组件
|
|
134
|
-
colorPicker: {
|
|
135
|
-
ariaDescription: "目前色彩為 {color}。按一下 Enter 以選擇新色彩",
|
|
136
|
-
label: "色彩选择器"
|
|
137
|
-
},
|
|
138
|
-
// DatePicker 组件
|
|
139
|
-
datePicker: {
|
|
140
|
-
dateTableLabel: "使用方向键与 Enter 键可选择日期",
|
|
141
|
-
monthTableLabel: "使用方向键与 Enter 键可选择月份",
|
|
142
|
-
yearTableLabel: "使用方向键与 Enter 键以选择年份",
|
|
143
|
-
selectDate: "选择日期",
|
|
144
|
-
selectTime: "选择时间",
|
|
145
|
-
year: "年",
|
|
146
|
-
startDate: "开始日期",
|
|
147
|
-
startTime: "开始时间",
|
|
148
|
-
endDate: "结束日期",
|
|
149
|
-
endTime: "结束时间",
|
|
150
|
-
weekSunday: "日",
|
|
151
|
-
weekMonday: "一",
|
|
152
|
-
weekTuesday: "二",
|
|
153
|
-
weekWednesday: "三",
|
|
154
|
-
weekThursday: "四",
|
|
155
|
-
weekFriday: "五",
|
|
156
|
-
weekSaturday: "六"
|
|
157
|
-
},
|
|
158
|
-
// DateTimeSelect 组件
|
|
159
|
-
dateTimeSelect: {
|
|
160
|
-
placeholder: "请选择时间"
|
|
161
|
-
},
|
|
162
|
-
// Dropdown 组件
|
|
163
|
-
dropdown: {
|
|
164
|
-
ariaLabel: "切换下拉菜单"
|
|
165
|
-
},
|
|
166
|
-
// FullScreen 组件
|
|
167
|
-
fullScreen: {
|
|
168
|
-
enter: "全屏",
|
|
169
|
-
exit: "退出全屏"
|
|
170
|
-
},
|
|
171
|
-
// ImageViewer 组件
|
|
172
|
-
imageViewer: {
|
|
173
|
-
loadFailed: "加载失败"
|
|
174
|
-
},
|
|
175
|
-
// MdContainer 组件
|
|
176
|
-
mdContainer: {
|
|
177
|
-
publishTime: "发布时间",
|
|
178
|
-
readCount: "阅读量",
|
|
179
|
-
tableOfContents: "此页内容"
|
|
180
|
-
},
|
|
181
|
-
// Pagination 组件
|
|
182
|
-
pagination: {
|
|
183
|
-
itemsPerPage: "条/页"
|
|
184
|
-
},
|
|
185
|
-
// Select 组件
|
|
186
|
-
select: {
|
|
187
|
-
loading: "加载中",
|
|
188
|
-
noMatch: "无匹配数据",
|
|
189
|
-
noData: "暂无数据",
|
|
190
|
-
placeholder: "请选择"
|
|
191
|
-
},
|
|
192
|
-
// SuperForm 组件 - 扩展
|
|
193
|
-
superFormPlaceholder: {
|
|
194
|
-
input: "请输入",
|
|
195
|
-
password: "请输入密码",
|
|
196
|
-
select: "请选择",
|
|
197
|
-
checkbox: "请勾选",
|
|
198
|
-
search: "请输入要搜索的内容",
|
|
199
|
-
tag: "请输入标签内容",
|
|
200
|
-
upload: "请选择上传文件",
|
|
201
|
-
slider: "请拖动滑块",
|
|
202
|
-
time: "请选择时间",
|
|
203
|
-
startTime: "开始时间",
|
|
204
|
-
endTime: "结束时间",
|
|
205
|
-
startDate: "开始日期",
|
|
206
|
-
endDate: "结束日期",
|
|
207
|
-
startMonth: "开始月份",
|
|
208
|
-
endMonth: "结束月份"
|
|
209
|
-
},
|
|
210
|
-
superFormError: {
|
|
211
|
-
componentPropsError: "componentProps 执行错误:",
|
|
212
|
-
fetchRemoteDataError: "fetchRemoteData 执行错误:"
|
|
213
|
-
},
|
|
214
|
-
// Table 组件 - 扩展
|
|
215
|
-
tableError: {
|
|
216
|
-
noDataToExpand: "expandTreeLevel: 没有数据可展开"
|
|
217
|
-
},
|
|
218
|
-
// Transfer 组件 - 扩展
|
|
219
|
-
transferExtend: {
|
|
220
|
-
noMatch: "无匹配数据",
|
|
221
|
-
noData: "无数据",
|
|
222
|
-
list1: "列表 1",
|
|
223
|
-
list2: "列表 2"
|
|
224
|
-
},
|
|
225
|
-
// Upload 组件
|
|
226
|
-
upload: {
|
|
227
|
-
sizeExceed: "文件大小超出限制",
|
|
228
|
-
sizeCheckFailed: "尺寸校验失败:",
|
|
229
|
-
typeNotSupported: "文件类型不支持尺寸校验",
|
|
230
|
-
imageLoadFailed: "图片加载失败",
|
|
231
|
-
videoLoadFailed: "视频加载失败",
|
|
232
|
-
defaultSizeMessage: "默认文件大小超出提示:",
|
|
233
|
-
defaultSizeCheckMessage: "默认尺寸校验提示:",
|
|
234
|
-
defaultTypeCheckMessage: "默认文件类型校验提示:",
|
|
235
|
-
deleteKeyTip: "按 delete 键可删除"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
export {
|
|
240
|
-
e as default
|
|
241
|
-
};
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
name: string;
|
|
3
|
-
vft: {
|
|
4
|
-
ok: string;
|
|
5
|
-
cancel: string;
|
|
6
|
-
confirm: string;
|
|
7
|
-
close: string;
|
|
8
|
-
save: string;
|
|
9
|
-
delete: string;
|
|
10
|
-
edit: string;
|
|
11
|
-
add: string;
|
|
12
|
-
search: {
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
15
|
-
reset: string;
|
|
16
|
-
submit: string;
|
|
17
|
-
loading: string;
|
|
18
|
-
noData: string;
|
|
19
|
-
noMatch: string;
|
|
20
|
-
error: string;
|
|
21
|
-
success: string;
|
|
22
|
-
warning: string;
|
|
23
|
-
info: string;
|
|
24
|
-
pagination: {
|
|
25
|
-
itemsPerPage: string;
|
|
26
|
-
};
|
|
27
|
-
table: {
|
|
28
|
-
search: string;
|
|
29
|
-
};
|
|
30
|
-
form: {
|
|
31
|
-
required: string;
|
|
32
|
-
invalidFormat: string;
|
|
33
|
-
submitSuccess: string;
|
|
34
|
-
submitFailed: string;
|
|
35
|
-
};
|
|
36
|
-
dialog: {
|
|
37
|
-
confirm: string;
|
|
38
|
-
cancel: string;
|
|
39
|
-
};
|
|
40
|
-
empty: {
|
|
41
|
-
notFound: string;
|
|
42
|
-
deleted: string;
|
|
43
|
-
networkDisconnect: string;
|
|
44
|
-
noData: string;
|
|
45
|
-
pageError: string;
|
|
46
|
-
noFilter: string;
|
|
47
|
-
noSearch: string;
|
|
48
|
-
};
|
|
49
|
-
popconfirm: {
|
|
50
|
-
confirm: string;
|
|
51
|
-
cancel: string;
|
|
52
|
-
};
|
|
53
|
-
superForm: {
|
|
54
|
-
reset: string;
|
|
55
|
-
submit: string;
|
|
56
|
-
cancel: string;
|
|
57
|
-
};
|
|
58
|
-
tree: {
|
|
59
|
-
emptyText: string;
|
|
60
|
-
};
|
|
61
|
-
timePicker: {
|
|
62
|
-
cancel: string;
|
|
63
|
-
confirm: string;
|
|
64
|
-
};
|
|
65
|
-
transfer: {
|
|
66
|
-
filterPlaceholder: string;
|
|
67
|
-
};
|
|
68
|
-
modal: {
|
|
69
|
-
confirm: string;
|
|
70
|
-
cancel: string;
|
|
71
|
-
};
|
|
72
|
-
multipleTabs: {
|
|
73
|
-
unpin: string;
|
|
74
|
-
refresh: string;
|
|
75
|
-
openInNewTab: string;
|
|
76
|
-
closeTab: string;
|
|
77
|
-
closeLeft: string;
|
|
78
|
-
closeRight: string;
|
|
79
|
-
closeOther: string;
|
|
80
|
-
closeAll: string;
|
|
81
|
-
fullScreen: string;
|
|
82
|
-
standalone: string;
|
|
83
|
-
pin: string;
|
|
84
|
-
};
|
|
85
|
-
cascader: {
|
|
86
|
-
placeholder: string;
|
|
87
|
-
noData: string;
|
|
88
|
-
};
|
|
89
|
-
clampToggle: {
|
|
90
|
-
expand: string;
|
|
91
|
-
collapse: string;
|
|
92
|
-
};
|
|
93
|
-
colorPicker: {
|
|
94
|
-
ariaDescription: string;
|
|
95
|
-
label: string;
|
|
96
|
-
};
|
|
97
|
-
datePicker: {
|
|
98
|
-
dateTableLabel: string;
|
|
99
|
-
monthTableLabel: string;
|
|
100
|
-
yearTableLabel: string;
|
|
101
|
-
selectDate: string;
|
|
102
|
-
selectTime: string;
|
|
103
|
-
year: string;
|
|
104
|
-
startDate: string;
|
|
105
|
-
startTime: string;
|
|
106
|
-
endDate: string;
|
|
107
|
-
endTime: string;
|
|
108
|
-
weekSunday: string;
|
|
109
|
-
weekMonday: string;
|
|
110
|
-
weekTuesday: string;
|
|
111
|
-
weekWednesday: string;
|
|
112
|
-
weekThursday: string;
|
|
113
|
-
weekFriday: string;
|
|
114
|
-
weekSaturday: string;
|
|
115
|
-
};
|
|
116
|
-
dateTimeSelect: {
|
|
117
|
-
placeholder: string;
|
|
118
|
-
};
|
|
119
|
-
dropdown: {
|
|
120
|
-
ariaLabel: string;
|
|
121
|
-
};
|
|
122
|
-
fullScreen: {
|
|
123
|
-
enter: string;
|
|
124
|
-
exit: string;
|
|
125
|
-
};
|
|
126
|
-
imageViewer: {
|
|
127
|
-
loadFailed: string;
|
|
128
|
-
};
|
|
129
|
-
mdContainer: {
|
|
130
|
-
publishTime: string;
|
|
131
|
-
readCount: string;
|
|
132
|
-
tableOfContents: string;
|
|
133
|
-
};
|
|
134
|
-
select: {
|
|
135
|
-
loading: string;
|
|
136
|
-
noMatch: string;
|
|
137
|
-
noData: string;
|
|
138
|
-
placeholder: string;
|
|
139
|
-
};
|
|
140
|
-
superFormPlaceholder: {
|
|
141
|
-
input: string;
|
|
142
|
-
password: string;
|
|
143
|
-
select: string;
|
|
144
|
-
checkbox: string;
|
|
145
|
-
search: string;
|
|
146
|
-
tag: string;
|
|
147
|
-
upload: string;
|
|
148
|
-
slider: string;
|
|
149
|
-
time: string;
|
|
150
|
-
startTime: string;
|
|
151
|
-
endTime: string;
|
|
152
|
-
startDate: string;
|
|
153
|
-
endDate: string;
|
|
154
|
-
startMonth: string;
|
|
155
|
-
endMonth: string;
|
|
156
|
-
};
|
|
157
|
-
superFormError: {
|
|
158
|
-
componentPropsError: string;
|
|
159
|
-
fetchRemoteDataError: string;
|
|
160
|
-
};
|
|
161
|
-
tableError: {
|
|
162
|
-
noDataToExpand: string;
|
|
163
|
-
};
|
|
164
|
-
transferExtend: {
|
|
165
|
-
noMatch: string;
|
|
166
|
-
noData: string;
|
|
167
|
-
list1: string;
|
|
168
|
-
list2: string;
|
|
169
|
-
};
|
|
170
|
-
upload: {
|
|
171
|
-
sizeExceed: string;
|
|
172
|
-
sizeCheckFailed: string;
|
|
173
|
-
typeNotSupported: string;
|
|
174
|
-
imageLoadFailed: string;
|
|
175
|
-
videoLoadFailed: string;
|
|
176
|
-
defaultSizeMessage: string;
|
|
177
|
-
defaultSizeCheckMessage: string;
|
|
178
|
-
defaultTypeCheckMessage: string;
|
|
179
|
-
deleteKeyTip: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
export default _default;
|
package/es/locale/lang/zh-tw.js
DELETED
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "zh-tw",
|
|
3
|
-
vft: {
|
|
4
|
-
// 通用
|
|
5
|
-
ok: "確定",
|
|
6
|
-
cancel: "取消",
|
|
7
|
-
confirm: "確認",
|
|
8
|
-
close: "關閉",
|
|
9
|
-
save: "保存",
|
|
10
|
-
delete: "刪除",
|
|
11
|
-
edit: "編輯",
|
|
12
|
-
add: "添加",
|
|
13
|
-
search: "搜尋",
|
|
14
|
-
reset: "重置",
|
|
15
|
-
submit: "提交",
|
|
16
|
-
loading: "加載中",
|
|
17
|
-
noData: "暫無數據",
|
|
18
|
-
noMatch: "無匹配數據",
|
|
19
|
-
error: "錯誤",
|
|
20
|
-
success: "成功",
|
|
21
|
-
warning: "警告",
|
|
22
|
-
info: "提示",
|
|
23
|
-
// 分頁
|
|
24
|
-
pagination: {
|
|
25
|
-
goto: "前往",
|
|
26
|
-
pagesize: "條/頁",
|
|
27
|
-
total: "共 {total} 條",
|
|
28
|
-
pageClassifier: "頁"
|
|
29
|
-
},
|
|
30
|
-
// 表格
|
|
31
|
-
table: {
|
|
32
|
-
emptyText: "暫無數據",
|
|
33
|
-
confirmDeleteRecord: "此操作將永久刪除該記錄,是否繼續?",
|
|
34
|
-
deleteSuccess: "刪除成功",
|
|
35
|
-
deleteFailed: "刪除失敗",
|
|
36
|
-
search: "搜尋",
|
|
37
|
-
seq: "序號",
|
|
38
|
-
name: "名稱",
|
|
39
|
-
time: "時間",
|
|
40
|
-
createTime: "建立時間",
|
|
41
|
-
updateTime: "更新時間",
|
|
42
|
-
status: "狀態",
|
|
43
|
-
statusNormal: "正常",
|
|
44
|
-
statusDisabled: "禁用",
|
|
45
|
-
actionColumn: "操作欄",
|
|
46
|
-
edit: "編輯",
|
|
47
|
-
delete: "刪除",
|
|
48
|
-
confirmDelete: "確認刪除?"
|
|
49
|
-
},
|
|
50
|
-
// 表單
|
|
51
|
-
form: {
|
|
52
|
-
required: "此項為必填項",
|
|
53
|
-
invalidFormat: "格式不正確",
|
|
54
|
-
submitSuccess: "提交成功",
|
|
55
|
-
submitFailed: "提交失敗"
|
|
56
|
-
},
|
|
57
|
-
// 對話框
|
|
58
|
-
dialog: {
|
|
59
|
-
confirm: "確定",
|
|
60
|
-
cancel: "取消"
|
|
61
|
-
},
|
|
62
|
-
// Empty 組件
|
|
63
|
-
empty: {
|
|
64
|
-
notFound: "頁面不存在",
|
|
65
|
-
deleted: "已刪除",
|
|
66
|
-
networkDisconnect: "網路已斷開",
|
|
67
|
-
noData: "暫無數據",
|
|
68
|
-
pageError: "系統異常",
|
|
69
|
-
noFilter: "此篩選條件下無結果",
|
|
70
|
-
noSearch: "沒有搜尋結果"
|
|
71
|
-
},
|
|
72
|
-
// Popconfirm 組件
|
|
73
|
-
popconfirm: {
|
|
74
|
-
confirm: "確認",
|
|
75
|
-
cancel: "取消"
|
|
76
|
-
},
|
|
77
|
-
// SuperForm 組件
|
|
78
|
-
superForm: {
|
|
79
|
-
reset: "重置",
|
|
80
|
-
submit: "確認",
|
|
81
|
-
cancel: "取消"
|
|
82
|
-
},
|
|
83
|
-
// Tree 組件
|
|
84
|
-
tree: {
|
|
85
|
-
emptyText: "暫無數據"
|
|
86
|
-
},
|
|
87
|
-
// TimePicker 組件
|
|
88
|
-
timePicker: {
|
|
89
|
-
cancel: "取消",
|
|
90
|
-
confirm: "確認"
|
|
91
|
-
},
|
|
92
|
-
// Transfer 組件
|
|
93
|
-
transfer: {
|
|
94
|
-
filterPlaceholder: "請輸入搜尋內容"
|
|
95
|
-
},
|
|
96
|
-
// Search 組件
|
|
97
|
-
search: {
|
|
98
|
-
placeholder: "請輸入你要搜尋的內容"
|
|
99
|
-
},
|
|
100
|
-
// Table 組件
|
|
101
|
-
table: {
|
|
102
|
-
search: "搜尋"
|
|
103
|
-
},
|
|
104
|
-
// Modal 組件
|
|
105
|
-
modal: {
|
|
106
|
-
confirm: "確認",
|
|
107
|
-
cancel: "取消"
|
|
108
|
-
},
|
|
109
|
-
// MultipleTabs 組件
|
|
110
|
-
multipleTabs: {
|
|
111
|
-
unpin: "取消固定",
|
|
112
|
-
refresh: "刷新",
|
|
113
|
-
openInNewTab: "新頁面打開",
|
|
114
|
-
closeTab: "關閉標籤頁",
|
|
115
|
-
closeLeft: "關閉左側標籤頁",
|
|
116
|
-
closeRight: "關閉右側標籤頁",
|
|
117
|
-
closeOther: "關閉其它標籤頁",
|
|
118
|
-
closeAll: "關閉所有標籤頁",
|
|
119
|
-
fullScreen: "全屏",
|
|
120
|
-
standalone: "獨立頁面",
|
|
121
|
-
pin: "固定"
|
|
122
|
-
},
|
|
123
|
-
// Cascader 組件
|
|
124
|
-
cascader: {
|
|
125
|
-
placeholder: "請選擇",
|
|
126
|
-
noData: "無匹配數據"
|
|
127
|
-
},
|
|
128
|
-
// ClampToggle 組件
|
|
129
|
-
clampToggle: {
|
|
130
|
-
expand: "展開",
|
|
131
|
-
collapse: "收縮"
|
|
132
|
-
},
|
|
133
|
-
// ColorPicker 組件
|
|
134
|
-
colorPicker: {
|
|
135
|
-
ariaDescription: "目前色彩為 {color}。按一下 Enter 以選擇新色彩",
|
|
136
|
-
label: "色彩選擇器"
|
|
137
|
-
},
|
|
138
|
-
// DatePicker 組件
|
|
139
|
-
datePicker: {
|
|
140
|
-
dateTableLabel: "使用方向鍵與 Enter 鍵可選擇日期",
|
|
141
|
-
monthTableLabel: "使用方向鍵與 Enter 鍵可選擇月份",
|
|
142
|
-
yearTableLabel: "使用方向鍵與 Enter 鍵以選擇年份",
|
|
143
|
-
selectDate: "選擇日期",
|
|
144
|
-
selectTime: "選擇時間",
|
|
145
|
-
year: "年",
|
|
146
|
-
startDate: "開始日期",
|
|
147
|
-
startTime: "開始時間",
|
|
148
|
-
endDate: "結束日期",
|
|
149
|
-
endTime: "結束時間",
|
|
150
|
-
weekSunday: "日",
|
|
151
|
-
weekMonday: "一",
|
|
152
|
-
weekTuesday: "二",
|
|
153
|
-
weekWednesday: "三",
|
|
154
|
-
weekThursday: "四",
|
|
155
|
-
weekFriday: "五",
|
|
156
|
-
weekSaturday: "六"
|
|
157
|
-
},
|
|
158
|
-
// DateTimeSelect 組件
|
|
159
|
-
dateTimeSelect: {
|
|
160
|
-
placeholder: "請選擇時間"
|
|
161
|
-
},
|
|
162
|
-
// Dropdown 組件
|
|
163
|
-
dropdown: {
|
|
164
|
-
ariaLabel: "切換下拉菜單"
|
|
165
|
-
},
|
|
166
|
-
// FullScreen 組件
|
|
167
|
-
fullScreen: {
|
|
168
|
-
enter: "全屏",
|
|
169
|
-
exit: "退出全屏"
|
|
170
|
-
},
|
|
171
|
-
// ImageViewer 組件
|
|
172
|
-
imageViewer: {
|
|
173
|
-
loadFailed: "加載失敗"
|
|
174
|
-
},
|
|
175
|
-
// MdContainer 組件
|
|
176
|
-
mdContainer: {
|
|
177
|
-
publishTime: "發佈時間",
|
|
178
|
-
readCount: "閱讀量",
|
|
179
|
-
tableOfContents: "此頁內容"
|
|
180
|
-
},
|
|
181
|
-
// Pagination 組件
|
|
182
|
-
pagination: {
|
|
183
|
-
itemsPerPage: "條/頁"
|
|
184
|
-
},
|
|
185
|
-
// Select 組件
|
|
186
|
-
select: {
|
|
187
|
-
loading: "加載中",
|
|
188
|
-
noMatch: "無匹配數據",
|
|
189
|
-
noData: "暫無數據",
|
|
190
|
-
placeholder: "請選擇"
|
|
191
|
-
},
|
|
192
|
-
// SuperForm 組件 - 擴展
|
|
193
|
-
superFormPlaceholder: {
|
|
194
|
-
input: "請輸入",
|
|
195
|
-
password: "請輸入密碼",
|
|
196
|
-
select: "請選擇",
|
|
197
|
-
checkbox: "請勾選",
|
|
198
|
-
search: "請輸入要搜尋的內容",
|
|
199
|
-
tag: "請輸入標籤內容",
|
|
200
|
-
upload: "請選擇上傳文件",
|
|
201
|
-
slider: "請拖動滑塊",
|
|
202
|
-
time: "請選擇時間",
|
|
203
|
-
startTime: "開始時間",
|
|
204
|
-
endTime: "結束時間",
|
|
205
|
-
startDate: "開始日期",
|
|
206
|
-
endDate: "結束日期",
|
|
207
|
-
startMonth: "開始月份",
|
|
208
|
-
endMonth: "結束月份"
|
|
209
|
-
},
|
|
210
|
-
superFormError: {
|
|
211
|
-
componentPropsError: "componentProps 執行錯誤:",
|
|
212
|
-
fetchRemoteDataError: "fetchRemoteData 執行錯誤:"
|
|
213
|
-
},
|
|
214
|
-
// Table 組件 - 擴展
|
|
215
|
-
tableError: {
|
|
216
|
-
noDataToExpand: "expandTreeLevel: 沒有數據可展開"
|
|
217
|
-
},
|
|
218
|
-
// Transfer 組件 - 擴展
|
|
219
|
-
transferExtend: {
|
|
220
|
-
noMatch: "無匹配數據",
|
|
221
|
-
noData: "無數據",
|
|
222
|
-
list1: "列表 1",
|
|
223
|
-
list2: "列表 2"
|
|
224
|
-
},
|
|
225
|
-
// Upload 組件
|
|
226
|
-
upload: {
|
|
227
|
-
sizeExceed: "文件大小超出限制",
|
|
228
|
-
sizeCheckFailed: "尺寸校驗失敗:",
|
|
229
|
-
typeNotSupported: "文件類型不支持尺寸校驗",
|
|
230
|
-
imageLoadFailed: "圖片加載失敗",
|
|
231
|
-
videoLoadFailed: "視頻加載失敗",
|
|
232
|
-
defaultSizeMessage: "默認文件大小超出提示:",
|
|
233
|
-
defaultSizeCheckMessage: "默認尺寸校驗提示:",
|
|
234
|
-
defaultTypeCheckMessage: "默認文件類型校驗提示:",
|
|
235
|
-
deleteKeyTip: "按 delete 鍵可刪除"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
export {
|
|
240
|
-
e as default
|
|
241
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Language } from './index';
|
|
2
|
-
export type LocaleType = 'zh-cn' | 'en' | 'zh-tw';
|
|
3
|
-
export declare const localeContextKey: unique symbol;
|
|
4
|
-
/**
|
|
5
|
-
* 使用国际化 hook
|
|
6
|
-
* @param defaultLocale 默认语言(仅在未通过 ConfigProvider 注入时生效)
|
|
7
|
-
* @returns 语言对象和切换函数
|
|
8
|
-
*/
|
|
9
|
-
export declare function useLocale(defaultLocale?: LocaleType): {
|
|
10
|
-
locale: import("vue").ComputedRef<Language>;
|
|
11
|
-
currentLocale: import("vue").ComputedRef<string>;
|
|
12
|
-
setLocale: (lang: LocaleType) => void;
|
|
13
|
-
getLocale: () => Language;
|
|
14
|
-
getCurrentLocale: () => string;
|
|
15
|
-
t: (key: string, defaultValue?: string) => any;
|
|
16
|
-
};
|
|
17
|
-
export default useLocale;
|