@tendaui/components 1.3.0 → 1.3.1

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.
Files changed (142) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +176 -176
  3. package/button/_example/ghost.tsx +2 -5
  4. package/color-picker/utils/color-picker/cmyk.ts +89 -89
  5. package/color-picker/utils/color-picker/color.ts +467 -467
  6. package/color-picker/utils/color-picker/constants.ts +187 -187
  7. package/color-picker/utils/color-picker/draggable.ts +99 -99
  8. package/color-picker/utils/color-picker/format.ts +90 -90
  9. package/color-picker/utils/color-picker/gradient.ts +237 -237
  10. package/color-picker/utils/color-picker/index.ts +7 -7
  11. package/color-picker/utils/color-picker/types.ts +33 -33
  12. package/dialog/hooks/useDialogPosition.ts +35 -35
  13. package/form/type.ts +519 -519
  14. package/global-config/default-config.ts +95 -95
  15. package/global-config/locale/ar_KW.ts +259 -259
  16. package/global-config/locale/en_US.ts +265 -265
  17. package/global-config/locale/it_IT.ts +264 -264
  18. package/global-config/locale/ja_JP.ts +264 -264
  19. package/global-config/locale/ko_KR.ts +264 -264
  20. package/global-config/locale/ru_RU.ts +277 -277
  21. package/global-config/locale/zh_CN.ts +265 -265
  22. package/global-config/locale/zh_TW.ts +265 -265
  23. package/global-config/mobile/default-config.ts +6 -6
  24. package/global-config/mobile/locale/ar_KW.ts +112 -112
  25. package/global-config/mobile/locale/en_US.ts +113 -113
  26. package/global-config/mobile/locale/it_IT.ts +113 -113
  27. package/global-config/mobile/locale/ja_JP.ts +100 -100
  28. package/global-config/mobile/locale/ko_KR.ts +100 -100
  29. package/global-config/mobile/locale/ru_RU.ts +112 -112
  30. package/global-config/mobile/locale/zh_CN.ts +100 -100
  31. package/global-config/mobile/locale/zh_TW.ts +100 -100
  32. package/global-config/t.ts +111 -111
  33. package/input-number/InputNumber.tsx +124 -124
  34. package/input-number/defaultProps.ts +17 -17
  35. package/input-number/index.ts +9 -9
  36. package/input-number/style/css.js +1 -1
  37. package/input-number/style/index.js +1 -1
  38. package/input-number/useInputNumber.tsx +270 -270
  39. package/list/ListItem.tsx +36 -36
  40. package/list/ListItemMeta.tsx +40 -40
  41. package/list/defaultProps.ts +11 -11
  42. package/list/hooks/useListVirtualScroll.ts +82 -82
  43. package/list/style/css.js +1 -1
  44. package/list/style/index.js +1 -1
  45. package/locale/LocalReceiver.ts +55 -55
  46. package/locale/ar_KW.ts +7 -7
  47. package/locale/en_US.ts +7 -7
  48. package/locale/it_IT.ts +6 -6
  49. package/locale/ja_JP.ts +6 -6
  50. package/locale/ko_KR.ts +6 -6
  51. package/locale/ru_RU.ts +6 -6
  52. package/locale/zh_CN.ts +5 -5
  53. package/locale/zh_TW.ts +7 -7
  54. package/package.json +2 -2
  55. package/radio/_example/default.tsx +2 -2
  56. package/select/type.ts +382 -382
  57. package/select-input/type.ts +280 -280
  58. package/slider/SliderHandleButton.tsx +50 -50
  59. package/slider/defaultProps.ts +15 -15
  60. package/slider/style/css.js +1 -1
  61. package/slider/style/index.js +1 -1
  62. package/styles/_global.scss +40 -40
  63. package/styles/_vars.scss +374 -374
  64. package/styles/components/alert/_index.scss +175 -175
  65. package/styles/components/alert/_vars.scss +41 -41
  66. package/styles/components/badge/_index.scss +71 -71
  67. package/styles/components/badge/_vars.scss +26 -26
  68. package/styles/components/button/_index.scss +499 -499
  69. package/styles/components/button/_mixins.scss +40 -40
  70. package/styles/components/button/_vars.scss +121 -121
  71. package/styles/components/checkbox/_index.scss +158 -158
  72. package/styles/components/checkbox/_var.scss +59 -59
  73. package/styles/components/color-picker/_index.scss +586 -586
  74. package/styles/components/color-picker/_vars.scss +79 -79
  75. package/styles/components/dialog/_animate.scss +133 -133
  76. package/styles/components/dialog/_index.scss +310 -310
  77. package/styles/components/dialog/_vars.scss +60 -60
  78. package/styles/components/drawer/_index.scss +206 -206
  79. package/styles/components/drawer/_var.scss +55 -55
  80. package/styles/components/fireworks/_index.scss +86 -86
  81. package/styles/components/fireworks/_vars.scss +5 -5
  82. package/styles/components/form/_index.scss +175 -175
  83. package/styles/components/form/_mixins.scss +74 -74
  84. package/styles/components/form/_vars.scss +101 -101
  85. package/styles/components/input/_index.scss +350 -350
  86. package/styles/components/input/_mixins.scss +120 -120
  87. package/styles/components/input/_vars.scss +130 -130
  88. package/styles/components/input-number/_index.scss +327 -327
  89. package/styles/components/input-number/_vars.scss +56 -56
  90. package/styles/components/ip-input/_index.scss +277 -277
  91. package/styles/components/layout/_index.scss +47 -47
  92. package/styles/components/layout/_vars.scss +19 -19
  93. package/styles/components/layout/doc.scss +74 -74
  94. package/styles/components/list/_index.scss +172 -172
  95. package/styles/components/list/_vars.scss +42 -42
  96. package/styles/components/loading/_index.scss +113 -113
  97. package/styles/components/loading/_vars.scss +40 -40
  98. package/styles/components/notification/_index.scss +140 -140
  99. package/styles/components/notification/_mixins.scss +13 -13
  100. package/styles/components/notification/_vars.scss +60 -60
  101. package/styles/components/popup/_index.scss +78 -78
  102. package/styles/components/popup/_mixin.scss +149 -149
  103. package/styles/components/popup/_vars.scss +33 -33
  104. package/styles/components/radio/_index.scss +376 -376
  105. package/styles/components/radio/_vars.scss +89 -89
  106. package/styles/components/select/_index.scss +291 -291
  107. package/styles/components/select/_var.scss +64 -64
  108. package/styles/components/select-input/_index.scss +5 -5
  109. package/styles/components/select-input/_var.scss +4 -4
  110. package/styles/components/slider/_index.scss +241 -241
  111. package/styles/components/slider/_vars.scss +51 -51
  112. package/styles/components/switch/_index.scss +175 -175
  113. package/styles/components/switch/_vars.scss +63 -63
  114. package/styles/components/table/_index.scss +194 -194
  115. package/styles/components/table/_var.scss +52 -52
  116. package/styles/components/tabs/_index.scss +165 -165
  117. package/styles/components/tabs/_mixins.scss +11 -11
  118. package/styles/components/tabs/_vars.scss +72 -72
  119. package/styles/components/tag/_index.scss +317 -317
  120. package/styles/components/tag/_var.scss +86 -86
  121. package/styles/components/tag-input/_index.scss +164 -164
  122. package/styles/components/tag-input/_vars.scss +17 -17
  123. package/styles/mixins/_focus.scss +8 -8
  124. package/styles/mixins/_layout.scss +32 -32
  125. package/styles/mixins/_reset.scss +11 -11
  126. package/styles/mixins/_scrollbar.scss +32 -32
  127. package/styles/mixins/_text.scss +50 -50
  128. package/styles/themes/_dark.scss +169 -169
  129. package/styles/themes/_font.scss +69 -69
  130. package/styles/themes/_index.scss +5 -5
  131. package/styles/themes/_light.scss +170 -170
  132. package/styles/themes/_radius.scss +9 -9
  133. package/styles/themes/_size.scss +68 -68
  134. package/styles/utilities/_animation.scss +58 -58
  135. package/styles/utilities/_tips.scss +10 -10
  136. package/switch/_example/with-label.tsx +1 -1
  137. package/utils/input-number/large-number.ts +423 -423
  138. package/utils/input-number/number.ts +257 -257
  139. package/utils/log/index.ts +3 -3
  140. package/utils/log/log.ts +29 -29
  141. package/utils/log/types.ts +9 -9
  142. package/utils/style.ts +58 -58
@@ -1,265 +1,265 @@
1
- // 文件有效,为国际化做准备
2
- import "dayjs/locale/zh-cn";
3
-
4
- export default {
5
- autoComplete: {
6
- empty: "暂无数据"
7
- },
8
- pagination: {
9
- itemsPerPage: "{size} 条/页",
10
- jumpTo: "跳至",
11
- page: "页",
12
- total: "共 {count} 条数据"
13
- },
14
- cascader: {
15
- empty: "暂无数据",
16
- loadingText: "加载中",
17
- placeholder: "请选择"
18
- },
19
- calendar: {
20
- yearSelection: "{year} 年",
21
- monthSelection: "{month} 月",
22
- yearRadio: "年",
23
- monthRadio: "月",
24
- hideWeekend: "隐藏周末",
25
- showWeekend: "显示周末",
26
- today: "今天",
27
- thisMonth: "本月",
28
- week: "一,二,三,四,五,六,日",
29
- cellMonth: "1 月,2 月,3 月,4 月,5 月,6 月,7 月,8 月,9 月,10 月,11 月,12 月"
30
- },
31
- transfer: {
32
- title: "{checked} / {total} 项",
33
- empty: "暂无数据",
34
- placeholder: "请输入关键词搜索"
35
- },
36
- timePicker: {
37
- dayjsLocale: "zh-cn",
38
- now: "此刻",
39
- confirm: "确定",
40
- anteMeridiem: "上午",
41
- postMeridiem: "下午",
42
- placeholder: "选择时间"
43
- },
44
- dialog: {
45
- confirm: "确认",
46
- cancel: "取消"
47
- },
48
- drawer: {
49
- confirm: "确认",
50
- cancel: "取消"
51
- },
52
- popconfirm: {
53
- confirm: {
54
- content: "确定"
55
- },
56
- cancel: {
57
- content: "取消"
58
- }
59
- },
60
- table: {
61
- empty: "暂无数据",
62
- loadingText: "正在加载中,请稍后",
63
- loadingMoreText: "点击加载更多",
64
- filterInputPlaceholder: "请输入内容(无默认值)",
65
- sortAscendingOperationText: "点击升序",
66
- sortCancelOperationText: "点击取消排序",
67
- sortDescendingOperationText: "点击降序",
68
- clearFilterResultButtonText: "清空筛选",
69
- columnConfigButtonText: "列配置",
70
- columnConfigTitleText: "表格列配置",
71
- columnConfigDescriptionText: "请选择需要在表格中显示的数据列",
72
- confirmText: "确认",
73
- cancelText: "取消",
74
- resetText: "重置",
75
- selectAllText: "全选",
76
- searchResultText: "搜索“{result}”,找到 {count} 条结果"
77
- },
78
- select: {
79
- empty: "暂无数据",
80
- loadingText: "加载中",
81
- placeholder: "请选择"
82
- },
83
- tree: {
84
- empty: "暂无数据"
85
- },
86
- treeSelect: {
87
- empty: "暂无数据",
88
- loadingText: "加载中",
89
- placeholder: "请选择"
90
- },
91
- datePicker: {
92
- dayjsLocale: "zh-cn",
93
- placeholder: {
94
- date: "请选择日期",
95
- month: "请选择月份",
96
- year: "请选择年份",
97
- quarter: "请选择季度",
98
- week: "请选择周"
99
- },
100
- weekdays: ["一", "二", "三", "四", "五", "六", "日"],
101
- months: ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"],
102
- quarters: ["一季度", "二季度", "三季度", "四季度"],
103
- rangeSeparator: " - ",
104
- direction: "ltr",
105
- format: "YYYY-MM-DD",
106
- dayAriaLabel: "日",
107
- weekAbbreviation: "周",
108
- yearAriaLabel: "年",
109
- monthAriaLabel: "月",
110
- confirm: "确定",
111
- selectTime: "选择时间",
112
- selectDate: "选择日期",
113
- nextYear: "下一年",
114
- preYear: "上一年",
115
- nextMonth: "下个月",
116
- preMonth: "上个月",
117
- preDecade: "上个十年",
118
- nextDecade: "下个十年",
119
- now: "当前"
120
- },
121
- upload: {
122
- sizeLimitMessage: "文件大小不能超过 {sizeLimit}",
123
- cancelUploadText: "取消上传",
124
- triggerUploadText: {
125
- fileInput: "选择文件",
126
- image: "点击上传图片",
127
- normal: "点击上传",
128
- // 选择文件和上传文件是 2 个步骤,文本需明确步骤
129
- reupload: "重新选择",
130
- continueUpload: "继续选择",
131
- delete: "删除",
132
- uploading: "上传中"
133
- },
134
- dragger: {
135
- dragDropText: "释放鼠标",
136
- draggingText: "拖拽到此区域",
137
- clickAndDragText: "点击上方“选择文件”或将文件拖拽到此区域"
138
- },
139
- file: {
140
- fileNameText: "文件名",
141
- fileSizeText: "文件大小",
142
- fileStatusText: "状态",
143
- fileOperationText: "操作",
144
- fileOperationDateText: "上传日期"
145
- },
146
- progress: {
147
- uploadingText: "上传中",
148
- waitingText: "待上传",
149
- failText: "上传失败",
150
- successText: "上传成功"
151
- }
152
- },
153
- form: {
154
- errorMessage: {
155
- date: "请输入正确的${name}",
156
- url: "请输入正确的${name}",
157
- required: "${name}必填",
158
- whitespace: "${name}不能为空",
159
- max: "${name}字符长度不能超过 ${validate} 个字符,一个中文等于两个字符",
160
- min: "${name}字符长度不能少于 ${validate} 个字符,一个中文等于两个字符",
161
- len: "${name}字符长度必须是 ${validate}",
162
- enum: "${name}只能是${validate}等",
163
- idcard: "请输入正确的${name}",
164
- telnumber: "请输入正确的${name}",
165
- pattern: "请输入正确的${name}",
166
- validator: "${name}不符合要求",
167
- boolean: "${name}数据类型必须是布尔类型",
168
- number: "${name}必须是数字"
169
- },
170
- colonText: ":"
171
- },
172
- input: {
173
- placeholder: "请输入"
174
- },
175
- list: {
176
- loadingText: "正在加载中,请稍等",
177
- loadingMoreText: "点击加载更多"
178
- },
179
- alert: {
180
- expandText: "展开更多",
181
- collapseText: "收起"
182
- },
183
- anchor: {
184
- copySuccessText: "链接复制成功",
185
- copyText: "复制链接"
186
- },
187
- colorPicker: {
188
- swatchColorTitle: "系统预设颜色",
189
- recentColorTitle: "最近使用颜色",
190
- clearConfirmText: "确定清空最近使用的颜色吗?",
191
- singleColor: "单色",
192
- gradientColor: "渐变"
193
- },
194
- guide: {
195
- finishButtonProps: {
196
- content: "完成",
197
- theme: "primary"
198
- },
199
- nextButtonProps: {
200
- content: "下一步",
201
- theme: "primary"
202
- },
203
- skipButtonProps: {
204
- content: "跳过",
205
- theme: "default"
206
- },
207
- prevButtonProps: {
208
- content: "上一步",
209
- theme: "default"
210
- }
211
- },
212
- image: {
213
- errorText: "图片无法显示",
214
- loadingText: "图片加载中"
215
- },
216
- imageViewer: {
217
- errorText: "图片加载失败,可尝试重新加载",
218
- mirrorTipText: "镜像",
219
- rotateTipText: "旋转",
220
- originalSizeTipText: "原始大小"
221
- },
222
- typography: {
223
- expandText: "展开",
224
- collapseText: "收起",
225
- copiedText: "复制成功"
226
- },
227
- rate: {
228
- rateText: ["极差", "失望", "一般", "满意", "惊喜"]
229
- },
230
- empty: {
231
- titleText: {
232
- maintenance: "建设中",
233
- success: "成功",
234
- fail: "失败",
235
- empty: "暂无数据",
236
- networkError: "网络错误"
237
- }
238
- },
239
- descriptions: {
240
- colonText: ":"
241
- },
242
- chat: {
243
- placeholder: "请输入消息...",
244
- stopBtnText: "中止",
245
- refreshTipText: "重新生成",
246
- copyTipText: "复制",
247
- likeTipText: "点赞",
248
- dislikeTipText: "点踩",
249
- copyCodeBtnText: "复制代码",
250
- copyCodeSuccessText: "已复制",
251
- clearHistoryBtnText: "清空历史记录",
252
- copyTextSuccess: "已成功复制到剪贴板",
253
- copyTextFail: "复制到剪贴板失败",
254
- confirmClearHistory: "确定要清空所有的消息吗?",
255
- loadingText: "思考中...",
256
- loadingEndText: "已深度思考",
257
- uploadImageText: "上传图片",
258
- uploadAttachmentText: "上传附件"
259
- },
260
- qrcode: {
261
- expiredText: "二维码过期",
262
- refreshText: "点击刷新",
263
- scannedText: "已扫描"
264
- }
265
- } as const;
1
+ // 文件有效,为国际化做准备
2
+ import "dayjs/locale/zh-cn";
3
+
4
+ export default {
5
+ autoComplete: {
6
+ empty: "暂无数据"
7
+ },
8
+ pagination: {
9
+ itemsPerPage: "{size} 条/页",
10
+ jumpTo: "跳至",
11
+ page: "页",
12
+ total: "共 {count} 条数据"
13
+ },
14
+ cascader: {
15
+ empty: "暂无数据",
16
+ loadingText: "加载中",
17
+ placeholder: "请选择"
18
+ },
19
+ calendar: {
20
+ yearSelection: "{year} 年",
21
+ monthSelection: "{month} 月",
22
+ yearRadio: "年",
23
+ monthRadio: "月",
24
+ hideWeekend: "隐藏周末",
25
+ showWeekend: "显示周末",
26
+ today: "今天",
27
+ thisMonth: "本月",
28
+ week: "一,二,三,四,五,六,日",
29
+ cellMonth: "1 月,2 月,3 月,4 月,5 月,6 月,7 月,8 月,9 月,10 月,11 月,12 月"
30
+ },
31
+ transfer: {
32
+ title: "{checked} / {total} 项",
33
+ empty: "暂无数据",
34
+ placeholder: "请输入关键词搜索"
35
+ },
36
+ timePicker: {
37
+ dayjsLocale: "zh-cn",
38
+ now: "此刻",
39
+ confirm: "确定",
40
+ anteMeridiem: "上午",
41
+ postMeridiem: "下午",
42
+ placeholder: "选择时间"
43
+ },
44
+ dialog: {
45
+ confirm: "确认",
46
+ cancel: "取消"
47
+ },
48
+ drawer: {
49
+ confirm: "确认",
50
+ cancel: "取消"
51
+ },
52
+ popconfirm: {
53
+ confirm: {
54
+ content: "确定"
55
+ },
56
+ cancel: {
57
+ content: "取消"
58
+ }
59
+ },
60
+ table: {
61
+ empty: "暂无数据",
62
+ loadingText: "正在加载中,请稍后",
63
+ loadingMoreText: "点击加载更多",
64
+ filterInputPlaceholder: "请输入内容(无默认值)",
65
+ sortAscendingOperationText: "点击升序",
66
+ sortCancelOperationText: "点击取消排序",
67
+ sortDescendingOperationText: "点击降序",
68
+ clearFilterResultButtonText: "清空筛选",
69
+ columnConfigButtonText: "列配置",
70
+ columnConfigTitleText: "表格列配置",
71
+ columnConfigDescriptionText: "请选择需要在表格中显示的数据列",
72
+ confirmText: "确认",
73
+ cancelText: "取消",
74
+ resetText: "重置",
75
+ selectAllText: "全选",
76
+ searchResultText: "搜索“{result}”,找到 {count} 条结果"
77
+ },
78
+ select: {
79
+ empty: "暂无数据",
80
+ loadingText: "加载中",
81
+ placeholder: "请选择"
82
+ },
83
+ tree: {
84
+ empty: "暂无数据"
85
+ },
86
+ treeSelect: {
87
+ empty: "暂无数据",
88
+ loadingText: "加载中",
89
+ placeholder: "请选择"
90
+ },
91
+ datePicker: {
92
+ dayjsLocale: "zh-cn",
93
+ placeholder: {
94
+ date: "请选择日期",
95
+ month: "请选择月份",
96
+ year: "请选择年份",
97
+ quarter: "请选择季度",
98
+ week: "请选择周"
99
+ },
100
+ weekdays: ["一", "二", "三", "四", "五", "六", "日"],
101
+ months: ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"],
102
+ quarters: ["一季度", "二季度", "三季度", "四季度"],
103
+ rangeSeparator: " - ",
104
+ direction: "ltr",
105
+ format: "YYYY-MM-DD",
106
+ dayAriaLabel: "日",
107
+ weekAbbreviation: "周",
108
+ yearAriaLabel: "年",
109
+ monthAriaLabel: "月",
110
+ confirm: "确定",
111
+ selectTime: "选择时间",
112
+ selectDate: "选择日期",
113
+ nextYear: "下一年",
114
+ preYear: "上一年",
115
+ nextMonth: "下个月",
116
+ preMonth: "上个月",
117
+ preDecade: "上个十年",
118
+ nextDecade: "下个十年",
119
+ now: "当前"
120
+ },
121
+ upload: {
122
+ sizeLimitMessage: "文件大小不能超过 {sizeLimit}",
123
+ cancelUploadText: "取消上传",
124
+ triggerUploadText: {
125
+ fileInput: "选择文件",
126
+ image: "点击上传图片",
127
+ normal: "点击上传",
128
+ // 选择文件和上传文件是 2 个步骤,文本需明确步骤
129
+ reupload: "重新选择",
130
+ continueUpload: "继续选择",
131
+ delete: "删除",
132
+ uploading: "上传中"
133
+ },
134
+ dragger: {
135
+ dragDropText: "释放鼠标",
136
+ draggingText: "拖拽到此区域",
137
+ clickAndDragText: "点击上方“选择文件”或将文件拖拽到此区域"
138
+ },
139
+ file: {
140
+ fileNameText: "文件名",
141
+ fileSizeText: "文件大小",
142
+ fileStatusText: "状态",
143
+ fileOperationText: "操作",
144
+ fileOperationDateText: "上传日期"
145
+ },
146
+ progress: {
147
+ uploadingText: "上传中",
148
+ waitingText: "待上传",
149
+ failText: "上传失败",
150
+ successText: "上传成功"
151
+ }
152
+ },
153
+ form: {
154
+ errorMessage: {
155
+ date: "请输入正确的${name}",
156
+ url: "请输入正确的${name}",
157
+ required: "${name}必填",
158
+ whitespace: "${name}不能为空",
159
+ max: "${name}字符长度不能超过 ${validate} 个字符,一个中文等于两个字符",
160
+ min: "${name}字符长度不能少于 ${validate} 个字符,一个中文等于两个字符",
161
+ len: "${name}字符长度必须是 ${validate}",
162
+ enum: "${name}只能是${validate}等",
163
+ idcard: "请输入正确的${name}",
164
+ telnumber: "请输入正确的${name}",
165
+ pattern: "请输入正确的${name}",
166
+ validator: "${name}不符合要求",
167
+ boolean: "${name}数据类型必须是布尔类型",
168
+ number: "${name}必须是数字"
169
+ },
170
+ colonText: ":"
171
+ },
172
+ input: {
173
+ placeholder: "请输入"
174
+ },
175
+ list: {
176
+ loadingText: "正在加载中,请稍等",
177
+ loadingMoreText: "点击加载更多"
178
+ },
179
+ alert: {
180
+ expandText: "展开更多",
181
+ collapseText: "收起"
182
+ },
183
+ anchor: {
184
+ copySuccessText: "链接复制成功",
185
+ copyText: "复制链接"
186
+ },
187
+ colorPicker: {
188
+ swatchColorTitle: "系统预设颜色",
189
+ recentColorTitle: "最近使用颜色",
190
+ clearConfirmText: "确定清空最近使用的颜色吗?",
191
+ singleColor: "单色",
192
+ gradientColor: "渐变"
193
+ },
194
+ guide: {
195
+ finishButtonProps: {
196
+ content: "完成",
197
+ theme: "primary"
198
+ },
199
+ nextButtonProps: {
200
+ content: "下一步",
201
+ theme: "primary"
202
+ },
203
+ skipButtonProps: {
204
+ content: "跳过",
205
+ theme: "default"
206
+ },
207
+ prevButtonProps: {
208
+ content: "上一步",
209
+ theme: "default"
210
+ }
211
+ },
212
+ image: {
213
+ errorText: "图片无法显示",
214
+ loadingText: "图片加载中"
215
+ },
216
+ imageViewer: {
217
+ errorText: "图片加载失败,可尝试重新加载",
218
+ mirrorTipText: "镜像",
219
+ rotateTipText: "旋转",
220
+ originalSizeTipText: "原始大小"
221
+ },
222
+ typography: {
223
+ expandText: "展开",
224
+ collapseText: "收起",
225
+ copiedText: "复制成功"
226
+ },
227
+ rate: {
228
+ rateText: ["极差", "失望", "一般", "满意", "惊喜"]
229
+ },
230
+ empty: {
231
+ titleText: {
232
+ maintenance: "建设中",
233
+ success: "成功",
234
+ fail: "失败",
235
+ empty: "暂无数据",
236
+ networkError: "网络错误"
237
+ }
238
+ },
239
+ descriptions: {
240
+ colonText: ":"
241
+ },
242
+ chat: {
243
+ placeholder: "请输入消息...",
244
+ stopBtnText: "中止",
245
+ refreshTipText: "重新生成",
246
+ copyTipText: "复制",
247
+ likeTipText: "点赞",
248
+ dislikeTipText: "点踩",
249
+ copyCodeBtnText: "复制代码",
250
+ copyCodeSuccessText: "已复制",
251
+ clearHistoryBtnText: "清空历史记录",
252
+ copyTextSuccess: "已成功复制到剪贴板",
253
+ copyTextFail: "复制到剪贴板失败",
254
+ confirmClearHistory: "确定要清空所有的消息吗?",
255
+ loadingText: "思考中...",
256
+ loadingEndText: "已深度思考",
257
+ uploadImageText: "上传图片",
258
+ uploadAttachmentText: "上传附件"
259
+ },
260
+ qrcode: {
261
+ expiredText: "二维码过期",
262
+ refreshText: "点击刷新",
263
+ scannedText: "已扫描"
264
+ }
265
+ } as const;