@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-tw";
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-tw",
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-tw",
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
- whitespace: "${name}不能為空",
158
- required: "${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-tw";
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-tw",
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-tw",
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
+ whitespace: "${name}不能為空",
158
+ required: "${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,6 +1,6 @@
1
- export default {
2
- classPrefix: "t",
3
- form: {
4
- requiredMark: undefined
5
- }
6
- } as const;
1
+ export default {
2
+ classPrefix: "t",
3
+ form: {
4
+ requiredMark: undefined
5
+ }
6
+ } as const;