@yh-ui/yh-ui 1.0.26 → 1.0.30

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/full.mjs CHANGED
@@ -1,1697 +1,20 @@
1
1
  import components__default from '@yh-ui/components';
2
2
  export * from '@yh-ui/components';
3
+ export { Loading, YhIcon, createIconComponent } from '@yh-ui/components';
3
4
  export * from '@yh-ui/hooks';
4
5
  export * from '@yh-ui/utils';
5
6
  export { hexToRgb, rgbToHex } from '@yh-ui/utils';
6
7
  export * from '@yh-ui/theme';
8
+ export { AVAILABLE_COLLECTIONS, COMMON_ICONS, DEFAULT_ENABLED_PRESETS, ICON_COLLECTIONS, Icon as IconifyIcon, YhIcon as IconifyYhIcon, PREFIX_ALIAS, PRESETS, RECOMMENDED_COLLECTIONS, createIconifyComponent, getAllPrefixes, getCollection, getIconData, getPreset, iconExists, parseIconName } from '@yh-ui/icons';
9
+ export * from '@yh-ui/icons/components';
10
+ export { Loading as LoadingIcon, createIconComponent as createPresetIconComponent } from '@yh-ui/icons/components';
11
+ export * from '@yh-ui/locale';
12
+ export { en, zhCn } from '@yh-ui/locale';
7
13
 
8
- const version$1 = "1.0.26";
14
+ const version$1 = "1.0.30";
9
15
  const packageJson = {
10
16
  version: version$1};
11
17
 
12
- const zhCn = {
13
- name: "zh-cn",
14
- yh: {
15
- // 通用
16
- common: {
17
- yes: "\u662F",
18
- no: "\u5426",
19
- confirm: "\u786E\u8BA4",
20
- cancel: "\u53D6\u6D88",
21
- loading: "\u52A0\u8F7D\u4E2D",
22
- close: "\u5173\u95ED",
23
- clear: "\u6E05\u7A7A",
24
- reset: "\u91CD\u7F6E",
25
- save: "\u4FDD\u5B58",
26
- delete: "\u5220\u9664",
27
- edit: "\u7F16\u8F91",
28
- add: "\u65B0\u589E",
29
- search: "\u641C\u7D22",
30
- refresh: "\u5237\u65B0",
31
- expand: "\u5C55\u5F00",
32
- collapse: "\u6536\u8D77",
33
- more: "\u66F4\u591A",
34
- noData: "\u6682\u65E0\u6570\u636E",
35
- noMatch: "\u65E0\u5339\u914D\u6570\u636E",
36
- selectAll: "\u5168\u9009",
37
- unselectAll: "\u53D6\u6D88\u5168\u9009"
38
- },
39
- // 颜色选择器
40
- colorpicker: {
41
- confirm: "\u786E\u5B9A",
42
- clear: "\u6E05\u7A7A",
43
- eyeDropper: "\u5438\u8272\u5668",
44
- suggestionDark: "\u767D\u8272\u6587\u5B57\u6700\u4F73",
45
- suggestionLight: "\u9ED1\u8272\u6587\u5B57\u6700\u4F73",
46
- recentColors: "\u6700\u8FD1\u4F7F\u7528",
47
- presetColors: "\u9884\u8BBE\u989C\u8272"
48
- },
49
- // 日期选择器
50
- datepicker: {
51
- now: "\u6B64\u523B",
52
- today: "\u4ECA\u5929",
53
- cancel: "\u53D6\u6D88",
54
- clear: "\u6E05\u7A7A",
55
- confirm: "\u786E\u5B9A",
56
- selectDate: "\u9009\u62E9\u65E5\u671F",
57
- selectTime: "\u9009\u62E9\u65F6\u95F4",
58
- startDate: "\u5F00\u59CB\u65E5\u671F",
59
- startTime: "\u5F00\u59CB\u65F6\u95F4",
60
- endDate: "\u7ED3\u675F\u65E5\u671F",
61
- endTime: "\u7ED3\u675F\u65F6\u95F4",
62
- year: "\u5E74",
63
- month: "\u6708",
64
- day: "\u65E5",
65
- week: "\u5468",
66
- monthBeforeYear: false,
67
- prevYear: "\u4E0A\u4E00\u5E74",
68
- nextYear: "\u4E0B\u4E00\u5E74",
69
- prevMonth: "\u4E0A\u4E2A\u6708",
70
- nextMonth: "\u4E0B\u4E2A\u6708",
71
- weeks: {
72
- sun: "\u65E5",
73
- mon: "\u4E00",
74
- tue: "\u4E8C",
75
- wed: "\u4E09",
76
- thu: "\u56DB",
77
- fri: "\u4E94",
78
- sat: "\u516D"
79
- },
80
- months: {
81
- jan: "\u4E00\u6708",
82
- feb: "\u4E8C\u6708",
83
- mar: "\u4E09\u6708",
84
- apr: "\u56DB\u6708",
85
- may: "\u4E94\u6708",
86
- jun: "\u516D\u6708",
87
- jul: "\u4E03\u6708",
88
- aug: "\u516B\u6708",
89
- sep: "\u4E5D\u6708",
90
- oct: "\u5341\u6708",
91
- nov: "\u5341\u4E00\u6708",
92
- dec: "\u5341\u4E8C\u6708"
93
- },
94
- quarters: {
95
- q1: "\u7B2C\u4E00\u5B63\u5EA6",
96
- q2: "\u7B2C\u4E8C\u5B63\u5EA6",
97
- q3: "\u7B2C\u4E09\u5B63\u5EA6",
98
- q4: "\u7B2C\u56DB\u5B63\u5EA6"
99
- }
100
- },
101
- // 时间选择器
102
- timepicker: {
103
- confirm: "\u786E\u5B9A",
104
- cancel: "\u53D6\u6D88",
105
- now: "\u6B64\u523B",
106
- placeholder: "\u9009\u62E9\u65F6\u95F4",
107
- startPlaceholder: "\u5F00\u59CB\u65F6\u95F4",
108
- endPlaceholder: "\u7ED3\u675F\u65F6\u95F4",
109
- selectTime: "\u9009\u62E9\u65F6\u95F4"
110
- },
111
- // 时间选择
112
- timeselect: {
113
- placeholder: "\u9009\u62E9\u65F6\u95F4"
114
- },
115
- // 树
116
- tree: {
117
- emptyText: "\u6682\u65E0\u6570\u636E",
118
- loading: "\u52A0\u8F7D\u4E2D...",
119
- checkAll: "\u5168\u9009",
120
- uncheckAll: "\u53D6\u6D88\u5168\u9009",
121
- expandAll: "\u5C55\u5F00\u5168\u90E8",
122
- collapseAll: "\u6536\u8D77\u5168\u90E8"
123
- },
124
- // 树选择
125
- treeselect: {
126
- placeholder: "\u8BF7\u9009\u62E9",
127
- emptyText: "\u6682\u65E0\u6570\u636E",
128
- loading: "\u52A0\u8F7D\u4E2D...",
129
- noMatch: "\u65E0\u5339\u914D\u6570\u636E"
130
- },
131
- // 日历
132
- calendar: {
133
- prevMonth: "\u4E0A\u4E2A\u6708",
134
- nextMonth: "\u4E0B\u4E2A\u6708",
135
- prevYear: "\u4E0A\u4E00\u5E74",
136
- nextYear: "\u4E0B\u4E00\u5E74",
137
- today: "\u4ECA\u5929",
138
- week: "\u5468",
139
- holiday: "\u4F11",
140
- workday: "\u73ED",
141
- monthHeaderFormat: "YYYY\u5E74M\u6708",
142
- weeks: {
143
- sun: "\u65E5",
144
- mon: "\u4E00",
145
- tue: "\u4E8C",
146
- wed: "\u4E09",
147
- thu: "\u56DB",
148
- fri: "\u4E94",
149
- sat: "\u516D"
150
- }
151
- },
152
- // 自动完成
153
- autocomplete: {
154
- loading: "\u52A0\u8F7D\u4E2D...",
155
- placeholder: "\u8BF7\u8F93\u5165",
156
- noData: "\u6682\u65E0\u6570\u636E",
157
- noMatch: "\u65E0\u5339\u914D\u6570\u636E"
158
- },
159
- // 倒计时
160
- countdown: {
161
- days: "\u5929",
162
- hours: "\u65F6",
163
- minutes: "\u5206",
164
- seconds: "\u79D2",
165
- milliseconds: "\u6BEB\u79D2",
166
- finished: "\u5DF2\u7ED3\u675F"
167
- },
168
- // 级联选择
169
- cascader: {
170
- noMatch: "\u65E0\u5339\u914D\u6570\u636E",
171
- placeholder: "\u8BF7\u9009\u62E9",
172
- loading: "\u52A0\u8F7D\u4E2D...",
173
- noData: "\u6682\u65E0\u6570\u636E"
174
- },
175
- // 穿梭框
176
- transfer: {
177
- noMatch: "\u65E0\u5339\u914D\u6570\u636E",
178
- noData: "\u65E0\u6570\u636E",
179
- titles: ["\u5217\u8868 1", "\u5217\u8868 2"],
180
- filterPlaceholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",
181
- noCheckedFormat: "\u5171 {total} \u9879",
182
- hasCheckedFormat: "\u5DF2\u9009 {checked}/{total} \u9879",
183
- searchPlaceholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"
184
- },
185
- // 表格
186
- table: {
187
- emptyText: "\u6682\u65E0\u6570\u636E",
188
- confirmFilter: "\u7B5B\u9009",
189
- resetFilter: "\u91CD\u7F6E",
190
- clearFilter: "\u5168\u90E8",
191
- sumText: "\u5408\u8BA1",
192
- loading: "\u6B63\u5728\u52A0\u8F7D...",
193
- index: "\u5E8F\u53F7",
194
- print: "\u6253 \u5370",
195
- cancel: "\u53D6 \u6D88",
196
- preview: "\u6253\u5370\u9884\u89C8",
197
- printTime: "\u6253\u5370\u65F6\u95F4",
198
- total: "\u5171 {total} \u6761",
199
- page: "\u7B2C {page} \u9875",
200
- yes: "\u662F",
201
- no: "\u5426",
202
- // 工具栏
203
- toolbar: {
204
- refresh: "\u5237\u65B0",
205
- density: "\u5BC6\u5EA6",
206
- densityDefault: "\u9ED8\u8BA4",
207
- densityLarge: "\u5BBD\u677E",
208
- densitySmall: "\u7D27\u51D1",
209
- columnSetting: "\u5217\u8BBE\u7F6E",
210
- fullscreen: "\u5168\u5C4F",
211
- exitFullscreen: "\u9000\u51FA\u5168\u5C4F",
212
- export: "\u5BFC\u51FA",
213
- import: "\u5BFC\u5165",
214
- search: "\u641C\u7D22",
215
- searchPlaceholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"
216
- },
217
- // 筛选
218
- filter: {
219
- selectAll: "\u5168\u9009",
220
- selectInvert: "\u53CD\u9009",
221
- empty: "\u4E3A\u7A7A",
222
- notEmpty: "\u4E0D\u4E3A\u7A7A",
223
- contains: "\u5305\u542B",
224
- notContains: "\u4E0D\u5305\u542B",
225
- equals: "\u7B49\u4E8E",
226
- notEquals: "\u4E0D\u7B49\u4E8E",
227
- startsWith: "\u5F00\u5934\u662F",
228
- endsWith: "\u7ED3\u5C3E\u662F",
229
- greaterThan: "\u5927\u4E8E",
230
- lessThan: "\u5C0F\u4E8E",
231
- between: "\u4ECB\u4E8E"
232
- },
233
- // 排序
234
- sort: {
235
- asc: "\u5347\u5E8F",
236
- desc: "\u964D\u5E8F",
237
- clear: "\u53D6\u6D88\u6392\u5E8F"
238
- },
239
- // 导出
240
- export: {
241
- title: "\u5BFC\u51FA\u6570\u636E",
242
- filename: "\u6587\u4EF6\u540D",
243
- type: "\u6587\u4EF6\u7C7B\u578B",
244
- scope: "\u5BFC\u51FA\u8303\u56F4",
245
- scopeAll: "\u5168\u90E8\u6570\u636E",
246
- scopeSelected: "\u9009\u4E2D\u6570\u636E",
247
- scopeCurrentPage: "\u5F53\u524D\u9875\u6570\u636E",
248
- includeHeader: "\u5305\u542B\u8868\u5934",
249
- exporting: "\u6B63\u5728\u5BFC\u51FA...",
250
- success: "\u5BFC\u51FA\u6210\u529F",
251
- error: "\u5BFC\u51FA\u5931\u8D25"
252
- },
253
- // 导入
254
- import: {
255
- title: "\u5BFC\u5165\u6570\u636E",
256
- selectFile: "\u9009\u62E9\u6587\u4EF6",
257
- dragTip: "\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u5904\u4E0A\u4F20",
258
- importing: "\u6B63\u5728\u5BFC\u5165...",
259
- success: "\u5BFC\u5165\u6210\u529F",
260
- error: "\u5BFC\u5165\u5931\u8D25",
261
- preview: "\u6570\u636E\u9884\u89C8",
262
- confirm: "\u786E\u8BA4\u5BFC\u5165"
263
- },
264
- // 打印
265
- printConfig: {
266
- title: "\u6253\u5370\u8BBE\u7F6E",
267
- pageTitle: "\u9875\u9762\u6807\u9898",
268
- pageHeader: "\u9875\u7709",
269
- pageFooter: "\u9875\u811A",
270
- printAll: "\u6253\u5370\u5168\u90E8",
271
- printSelected: "\u6253\u5370\u9009\u4E2D",
272
- printCurrentPage: "\u6253\u5370\u5F53\u524D\u9875",
273
- landscape: "\u6A2A\u5411",
274
- portrait: "\u7EB5\u5411",
275
- printing: "\u6B63\u5728\u6253\u5370..."
276
- },
277
- // 列设置
278
- columnSetting: {
279
- title: "\u5217\u8BBE\u7F6E",
280
- showAll: "\u663E\u793A\u5168\u90E8",
281
- hideAll: "\u9690\u85CF\u5168\u90E8",
282
- reset: "\u91CD\u7F6E",
283
- fixedLeft: "\u56FA\u5B9A\u5728\u5DE6\u4FA7",
284
- fixedRight: "\u56FA\u5B9A\u5728\u53F3\u4FA7",
285
- unfixed: "\u53D6\u6D88\u56FA\u5B9A"
286
- },
287
- // 右键菜单
288
- contextMenu: {
289
- copy: "\u590D\u5236",
290
- copyRow: "\u590D\u5236\u884C",
291
- copyCell: "\u590D\u5236\u5355\u5143\u683C",
292
- paste: "\u7C98\u8D34",
293
- insertRowAbove: "\u5728\u4E0A\u65B9\u63D2\u5165\u884C",
294
- insertRowBelow: "\u5728\u4E0B\u65B9\u63D2\u5165\u884C",
295
- deleteRow: "\u5220\u9664\u884C",
296
- deleteSelectedRows: "\u5220\u9664\u9009\u4E2D\u884C",
297
- exportSelected: "\u5BFC\u51FA\u9009\u4E2D\u6570\u636E"
298
- },
299
- // 选择
300
- selection: {
301
- selectAll: "\u5168\u9009",
302
- selectInvert: "\u53CD\u9009",
303
- selectNone: "\u53D6\u6D88\u9009\u62E9",
304
- selected: "\u5DF2\u9009\u62E9 {count} \u9879"
305
- },
306
- // 展开
307
- expand: {
308
- expandAll: "\u5C55\u5F00\u5168\u90E8",
309
- collapseAll: "\u6536\u8D77\u5168\u90E8"
310
- },
311
- // 树形
312
- tree: {
313
- expandAll: "\u5C55\u5F00\u5168\u90E8",
314
- collapseAll: "\u6536\u8D77\u5168\u90E8",
315
- expandLevel: "\u5C55\u5F00\u5230\u7B2C {level} \u5C42"
316
- },
317
- // 拖拽
318
- drag: {
319
- dragTip: "\u62D6\u62FD\u4EE5\u8C03\u6574\u987A\u5E8F",
320
- dropTip: "\u91CA\u653E\u4EE5\u653E\u7F6E"
321
- }
322
- },
323
- // 消息框
324
- messagebox: {
325
- title: "\u63D0\u793A",
326
- confirm: "\u786E\u5B9A",
327
- cancel: "\u53D6\u6D88",
328
- close: "\u5173\u95ED",
329
- error: "\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!",
330
- alert: "\u8B66\u544A",
331
- prompt: "\u8BF7\u8F93\u5165",
332
- inputPlaceholder: "\u8BF7\u8F93\u5165\u5185\u5BB9"
333
- },
334
- // 上传
335
- upload: {
336
- deleteTip: "\u6309 delete \u952E\u53EF\u5220\u9664",
337
- delete: "\u5220\u9664",
338
- preview: "\u67E5\u770B\u56FE\u7247",
339
- continue: "\u7EE7\u7EED\u4E0A\u4F20",
340
- upload: "\u70B9\u51FB\u4E0A\u4F20",
341
- tip: "\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u5904<em>\u4E0A\u4F20</em>",
342
- dragTip: "\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\uFF0C\u6216\u70B9\u51FB\u4E0A\u4F20",
343
- uploading: "\u4E0A\u4F20\u4E2D...",
344
- success: "\u4E0A\u4F20\u6210\u529F",
345
- error: "\u4E0A\u4F20\u5931\u8D25",
346
- retry: "\u91CD\u65B0\u4E0A\u4F20",
347
- cancel: "\u53D6\u6D88\u4E0A\u4F20",
348
- fileTypeError: "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301",
349
- fileSizeError: "\u6587\u4EF6\u5927\u5C0F\u8D85\u51FA\u9650\u5236",
350
- fileCountError: "\u6587\u4EF6\u6570\u91CF\u8D85\u51FA\u9650\u5236"
351
- },
352
- // 表单
353
- form: {
354
- validationFailed: "\u6821\u9A8C\u5931\u8D25",
355
- required: "\u5FC5\u586B\u9879",
356
- pleaseInput: "\u8BF7\u8F93\u5165",
357
- pleaseSelect: "\u8BF7\u9009\u62E9"
358
- },
359
- // 按钮
360
- button: {
361
- loading: "\u52A0\u8F7D\u4E2D..."
362
- },
363
- // 输入框
364
- input: {
365
- placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9",
366
- clear: "\u6E05\u7A7A",
367
- showPassword: "\u663E\u793A\u5BC6\u7801",
368
- hidePassword: "\u9690\u85CF\u5BC6\u7801",
369
- copy: "\u590D\u5236",
370
- copied: "\u5DF2\u590D\u5236"
371
- },
372
- // 数字输入框
373
- inputnumber: {
374
- placeholder: "\u8BF7\u8F93\u5165\u6570\u5B57",
375
- increase: "\u589E\u52A0",
376
- decrease: "\u51CF\u5C11"
377
- },
378
- // 标签输入
379
- inputtag: {
380
- placeholder: "\u8BF7\u8F93\u5165",
381
- add: "\u6DFB\u52A0",
382
- remove: "\u79FB\u9664"
383
- },
384
- // 面包屑
385
- breadcrumb: {
386
- label: "\u9762\u5305\u5C51",
387
- more: "\u66F4\u591A"
388
- },
389
- // 返回顶部
390
- backtop: {
391
- text: "\u56DE\u5230\u9876\u90E8"
392
- },
393
- // 选择器
394
- select: {
395
- placeholder: "\u8BF7\u9009\u62E9",
396
- noData: "\u6682\u65E0\u6570\u636E",
397
- loading: "\u52A0\u8F7D\u4E2D...",
398
- noMatch: "\u65E0\u5339\u914D\u6570\u636E",
399
- selectAll: "\u5168\u9009",
400
- clearAll: "\u6E05\u7A7A"
401
- },
402
- // 分页
403
- pagination: {
404
- goto: "\u524D\u5F80",
405
- page: "\u9875",
406
- total: "\u5171 {total} \u6761",
407
- pageSize: "\u6761/\u9875",
408
- prev: "\u4E0A\u4E00\u9875",
409
- next: "\u4E0B\u4E00\u9875",
410
- first: "\u9996\u9875",
411
- last: "\u672B\u9875",
412
- pageClassifier: "\u9875"
413
- },
414
- // 气泡确认
415
- popconfirm: {
416
- confirm: "\u786E\u5B9A",
417
- cancel: "\u53D6\u6D88",
418
- dontAskAgain: "\u4E0D\u518D\u63D0\u793A"
419
- },
420
- // 对话框
421
- dialog: {
422
- confirm: "\u786E\u5B9A",
423
- cancel: "\u53D6\u6D88",
424
- close: "\u5173\u95ED",
425
- maximize: "\u6700\u5927\u5316",
426
- restore: "\u8FD8\u539F"
427
- },
428
- // 抽屉
429
- drawer: {
430
- close: "\u5173\u95ED",
431
- confirm: "\u786E\u5B9A",
432
- cancel: "\u53D6\u6D88"
433
- },
434
- // 下拉菜单
435
- dropdown: {
436
- loading: "\u52A0\u8F7D\u4E2D..."
437
- },
438
- // 图片
439
- image: {
440
- error: "\u52A0\u8F7D\u5931\u8D25",
441
- loading: "\u52A0\u8F7D\u4E2D...",
442
- preview: "\u9884\u89C8",
443
- zoomIn: "\u653E\u5927",
444
- zoomOut: "\u7F29\u5C0F",
445
- rotateLeft: "\u5411\u5DE6\u65CB\u8F6C",
446
- rotateRight: "\u5411\u53F3\u65CB\u8F6C",
447
- originalSize: "\u539F\u59CB\u5927\u5C0F",
448
- fullscreen: "\u5168\u5C4F"
449
- },
450
- // 图片预览
451
- imageviewer: {
452
- close: "\u5173\u95ED",
453
- prev: "\u4E0A\u4E00\u5F20",
454
- next: "\u4E0B\u4E00\u5F20",
455
- zoomIn: "\u653E\u5927",
456
- zoomOut: "\u7F29\u5C0F",
457
- rotateLeft: "\u5411\u5DE6\u65CB\u8F6C",
458
- rotateRight: "\u5411\u53F3\u65CB\u8F6C",
459
- reset: "\u91CD\u7F6E",
460
- fullscreen: "\u5168\u5C4F",
461
- exitFullscreen: "\u9000\u51FA\u5168\u5C4F"
462
- },
463
- // 无限滚动
464
- infinitescroll: {
465
- loading: "\u52A0\u8F7D\u4E2D...",
466
- finished: "\u6CA1\u6709\u66F4\u591A\u4E86",
467
- error: "\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5",
468
- retry: "\u70B9\u51FB\u91CD\u8BD5"
469
- },
470
- // 消息
471
- message: {
472
- close: "\u5173\u95ED"
473
- },
474
- // 通知
475
- notification: {
476
- close: "\u5173\u95ED"
477
- },
478
- // 加载
479
- loading: {
480
- text: "\u52A0\u8F7D\u4E2D..."
481
- },
482
- // 加载中
483
- spin: {
484
- text: "\u52A0\u8F7D\u4E2D..."
485
- },
486
- // 评分
487
- rate: {
488
- texts: ["\u6781\u5DEE", "\u5931\u671B", "\u4E00\u822C", "\u6EE1\u610F", "\u60CA\u559C"]
489
- },
490
- // 警告
491
- alert: {
492
- close: "\u5173\u95ED"
493
- },
494
- // 标签
495
- tag: {
496
- close: "\u5173\u95ED"
497
- },
498
- // 标签页
499
- tabs: {
500
- close: "\u5173\u95ED",
501
- add: "\u65B0\u589E",
502
- more: "\u66F4\u591A"
503
- },
504
- // 步骤条
505
- steps: {
506
- finish: "\u5DF2\u5B8C\u6210",
507
- process: "\u8FDB\u884C\u4E2D",
508
- wait: "\u7B49\u5F85\u4E2D",
509
- error: "\u9519\u8BEF"
510
- },
511
- // 进度条
512
- progress: {
513
- success: "\u6210\u529F",
514
- exception: "\u5F02\u5E38",
515
- warning: "\u8B66\u544A"
516
- },
517
- // 骨架屏
518
- skeleton: {
519
- loading: "\u52A0\u8F7D\u4E2D..."
520
- },
521
- // 空状态
522
- empty: {
523
- description: "\u6682\u65E0\u6570\u636E",
524
- noData: "\u6682\u65E0\u6570\u636E",
525
- noResult: "\u6682\u65E0\u7ED3\u679C",
526
- networkError: "\u7F51\u7EDC\u9519\u8BEF",
527
- serverError: "\u670D\u52A1\u5668\u9519\u8BEF"
528
- },
529
- // 结果
530
- result: {
531
- success: "\u64CD\u4F5C\u6210\u529F",
532
- error: "\u64CD\u4F5C\u5931\u8D25",
533
- warning: "\u8B66\u544A",
534
- info: "\u63D0\u793A",
535
- backHome: "\u8FD4\u56DE\u9996\u9875"
536
- },
537
- // 瀑布流
538
- waterfall: {
539
- loading: "\u52A0\u8F7D\u4E2D...",
540
- noMore: "\u6CA1\u6709\u66F4\u591A\u4E86",
541
- empty: "\u6682\u65E0\u6570\u636E"
542
- },
543
- // 描述列表
544
- descriptions: {
545
- colon: "\uFF1A"
546
- },
547
- // 滑块
548
- slider: {
549
- tipFormatter: "{value}"
550
- },
551
- // 开关
552
- switch: {
553
- on: "\u5F00",
554
- off: "\u5173"
555
- },
556
- // 复选框
557
- checkbox: {
558
- selectAll: "\u5168\u9009"
559
- },
560
- // 单选框
561
- radio: {},
562
- // 菜单
563
- menu: {
564
- collapse: "\u6536\u8D77\u83DC\u5355",
565
- expand: "\u5C55\u5F00\u83DC\u5355"
566
- },
567
- // 卡片
568
- card: {
569
- collapse: "\u6536\u8D77",
570
- expand: "\u5C55\u5F00"
571
- },
572
- // 折叠面板
573
- collapse: {
574
- expand: "\u5C55\u5F00",
575
- collapse: "\u6536\u8D77"
576
- },
577
- // 工具提示
578
- tooltip: {},
579
- // 气泡卡片
580
- popover: {},
581
- // 徽标
582
- badge: {},
583
- // 头像
584
- avatar: {
585
- error: "\u52A0\u8F7D\u5931\u8D25"
586
- },
587
- // 水印
588
- watermark: {},
589
- // 分割线
590
- divider: {},
591
- // 走马灯
592
- carousel: {
593
- prev: "\u4E0A\u4E00\u5F20",
594
- next: "\u4E0B\u4E00\u5F20"
595
- },
596
- // 跑马灯
597
- marquee: {},
598
- // 固钉
599
- affix: {},
600
- // 流程图
601
- flow: {
602
- zoomIn: "\u653E\u5927\u753B\u5E03",
603
- zoomOut: "\u7F29\u5C0F\u753B\u5E03",
604
- fitView: "\u81EA\u9002\u5E94\u89C6\u56FE",
605
- lock: "\u9501\u5B9A/\u89E3\u9501\u753B\u5E03"
606
- },
607
- // 锚点
608
- anchor: {},
609
- // 提及
610
- mention: {
611
- placeholder: "\u8BF7\u8F93\u5165",
612
- loading: "\u52A0\u8F7D\u4E2D...",
613
- noData: "\u6682\u65E0\u6570\u636E"
614
- },
615
- // SKU 选择器
616
- skuselector: {
617
- placeholder: "\u8BF7\u9009\u62E9\u89C4\u683C",
618
- emptyText: "\u6682\u65E0\u89C4\u683C",
619
- stock: "\u5E93\u5B58",
620
- price: "\u4EF7\u683C",
621
- selected: "\u5DF2\u9009",
622
- outOfStock: "\u6682\u65F6\u65E0\u8D27"
623
- },
624
- // 商品卡片
625
- productcard: {
626
- viewDetails: "\u67E5\u770B\u8BE6\u60C5",
627
- buyNow: "\u7ACB\u5373\u8D2D\u4E70",
628
- addToCart: "\u52A0\u5165\u8D2D\u7269\u8F66",
629
- sold: "\u5DF2\u552E",
630
- soldOut: "\u552E\u7F44",
631
- vip: "\u4F1A\u5458"
632
- },
633
- // 价格
634
- price: {
635
- original: "\u539F\u4EF7"
636
- },
637
- // 优惠券
638
- couponcard: {
639
- available: "\u70B9\u51FB\u9886\u53D6",
640
- used: "\u5DF2\u4F7F\u7528",
641
- expired: "\u5DF2\u8FC7\u671F",
642
- received: "\u5DF2\u9886\u53D6",
643
- limit: "\u6EE1 {threshold} \u5143\u53EF\u7528",
644
- noThreshold: "\u65E0\u95E8\u69DB",
645
- validPeriod: "\u6709\u6548\u671F",
646
- ruleTitle: "\u4F7F\u7528\u8BF4\u660E\u53CA\u89C4\u5219"
647
- },
648
- // 幸运抽奖
649
- luckydraw: {
650
- start: "\u5F00\u59CB\u62BD\u5956",
651
- drawing: "\u62BD\u5956\u4E2D...",
652
- end: "\u4E2D\u5956\u4E86",
653
- retry: "\u518D\u8BD5\u4E00\u6B21"
654
- },
655
- // 筛选排序栏
656
- filterbar: {
657
- all: "\u5168\u90E8",
658
- sort: "\u6392\u5E8F",
659
- filter: "\u7B5B\u9009",
660
- cancel: "\u53D6\u6D88",
661
- reset: "\u91CD\u7F6E",
662
- confirm: "\u786E\u5B9A",
663
- noOptions: "\u6682\u65E0\u7B5B\u9009\u9879",
664
- asc: "\u5347\u5E8F",
665
- desc: "\u964D\u5E8F",
666
- selected: "\u5DF2\u9009"
667
- },
668
- // 结算栏
669
- submitbar: {
670
- total: "\u5C0F\u8BA1\uFF1A",
671
- selected: "\u5DF2\u9009 {count} \u4EF6",
672
- submit: "\u53BB\u7ED3\u7B97",
673
- allSelect: "\u5168\u9009"
674
- },
675
- // 品类导航
676
- categorynav: {
677
- all: "\u5168\u90E8",
678
- noData: "\u6682\u65E0\u6570\u636E",
679
- loading: "\u52A0\u8F7D\u4E2D..."
680
- },
681
- // 智能地址
682
- smartaddress: {
683
- placeholder: "\u8BF7\u7C98\u8D34\u6536\u8D27\u5730\u5740\uFF0C\u81EA\u52A8\u8BC6\u522B\u59D3\u540D\u3001\u624B\u673A\u53F7\u3001\u5730\u5740",
684
- parse: "\u667A\u80FD\u8BC6\u522B",
685
- province: "\u7701/\u5E02/\u533A",
686
- city: "\u5E02",
687
- district: "\u533A/\u53BF",
688
- street: "\u8857\u9053/\u9547",
689
- detail: "\u8BE6\u7EC6\u5730\u5740",
690
- phone: "\u624B\u673A\u53F7",
691
- name: "\u6536\u8D27\u4EBA",
692
- parseSuccess: "\u5730\u5740\u8BC6\u522B\u6210\u529F",
693
- parseFailed: "\u672A\u80FD\u8BC6\u522B\uFF0C\u8BF7\u624B\u52A8\u586B\u5199",
694
- required: "\u8BF7\u586B\u5199\u5B8C\u6574\u5730\u5740",
695
- provinceKeywords: ["\u7701", "\u81EA\u6CBB\u533A", "\u7279\u522B\u884C\u653F\u533A"],
696
- cityKeywords: ["\u5E02", "\u5DDE", "\u76DF"],
697
- districtKeywords: ["\u533A", "\u53BF", "\u65D7", "\u9547", "\u5E02"],
698
- streetKeywords: ["\u8857\u9053", "\u9547", "\u4E61", "\u6751"]
699
- },
700
- // AI 组件
701
- ai: {
702
- bubble: {
703
- citations: "\u53C2\u8003\u5F15\u7528"
704
- },
705
- mention: {
706
- placeholder: "@ \u547C\u53EB Agent\u3001\u6587\u6863\u6216\u8868\u683C...",
707
- agent: "\u667A\u80FD\u4F53",
708
- document: "\u6587\u6863",
709
- table: "\u8868\u683C",
710
- knowledge: "\u77E5\u8BC6\u5E93"
711
- },
712
- codeBlock: {
713
- copyCode: "\u590D\u5236\u4EE3\u7801",
714
- copied: "\u5DF2\u590D\u5236\uFF01",
715
- run: "\u8FD0\u884C\u4EE3\u7801",
716
- edit: "\u7F16\u8F91",
717
- save: "\u4FDD\u5B58",
718
- cancel: "\u53D6\u6D88"
719
- },
720
- codeRunner: {
721
- run: "\u8FD0\u884C",
722
- stop: "\u505C\u6B62",
723
- clear: "\u6E05\u7A7A",
724
- reset: "\u91CD\u7F6E",
725
- placeholder: "\u70B9\u51FB\u8FD0\u884C\u6309\u94AE\u6267\u884C\u4EE3\u7801..."
726
- },
727
- sender: {
728
- placeholder: "\u53D1\u9001\u6D88\u606F...",
729
- dragTip: "\u91CA\u653E\u9F20\u6807\u4EE5\u4E0A\u4F20\u6587\u4EF6"
730
- },
731
- thoughtChain: {
732
- thoughtProcess: "\u601D\u8003\u8FC7\u7A0B",
733
- thinking: "\u601D\u8003\u4E2D...",
734
- defaultTitle: "\u65B0\u6B65\u9AA4",
735
- addNode: "\u6DFB\u52A0\u8282\u70B9"
736
- },
737
- thinking: {
738
- start: "\u5F00\u59CB\u601D\u8003",
739
- thinking: "\u601D\u8003\u4E2D...",
740
- complete: "\u5DF2\u5B8C\u6210\u601D\u8003",
741
- error: "\u601D\u8003\u51FA\u9519\u4E86"
742
- },
743
- welcome: {
744
- title: "\u4F60\u597D\uFF0C\u6211\u662F YH AI",
745
- description: "\u6211\u53EF\u4EE5\u5E2E\u4F60\u5199\u4EE3\u7801\u3001\u7FFB\u8BD1\u6587\u6863\u6216\u8FDB\u884C\u521B\u610F\u5199\u4F5C\u3002\u4ECA\u5929\u6211\u80FD\u4E3A\u4F60\u505A\u70B9\u4EC0\u4E48\uFF1F"
746
- },
747
- action: {
748
- copy: "\u590D\u5236",
749
- regenerate: "\u91CD\u65B0\u751F\u6210",
750
- share: "\u5206\u4EAB",
751
- like: "\u8D5E\u540C",
752
- dislike: "\u53CD\u5BF9",
753
- edit: "\u7F16\u8F91",
754
- delete: "\u5220\u9664"
755
- },
756
- artifacts: {
757
- preview: "\u9884\u89C8",
758
- inline: "\u884C\u5185",
759
- code: "\u6E90\u7801",
760
- versions: "\u7248\u672C\u5386\u53F2",
761
- rendering: "\u6B63\u5728\u6E32\u67D3\u7EC4\u4EF6...",
762
- renderingChart: "\u6B63\u5728\u6E32\u67D3\u56FE\u8868...",
763
- renderingCanvas: "\u6B63\u5728\u51C6\u5907\u753B\u677F..."
764
- },
765
- voice: {
766
- trigger: "\u70B9\u51FB\u8BF4\u8BDD",
767
- listening: "\u8046\u542C\u4E2D..."
768
- },
769
- // AiAgentCard
770
- agent: {
771
- uses: "\u6B21\u8C03\u7528",
772
- use: "\u7ACB\u5373\u4F7F\u7528",
773
- favorite: "\u6536\u85CF",
774
- unfavorite: "\u53D6\u6D88\u6536\u85CF",
775
- share: "\u5206\u4EAB",
776
- online: "\u5728\u7EBF",
777
- offline: "\u79BB\u7EBF",
778
- busy: "\u5FD9\u788C",
779
- verified: "\u5B98\u65B9\u8BA4\u8BC1",
780
- rating: "\u8BC4\u5206",
781
- reviews: "\u6761\u8BC4\u4EF7",
782
- responseTime: "\u54CD\u5E94\u65F6\u95F4",
783
- ms: "ms"
784
- },
785
- // AiSources
786
- sources: {
787
- references: "\u53C2\u8003\u6765\u6E90",
788
- referencedSources: "\u5F15\u7528\u6765\u6E90",
789
- relevant: "\u76F8\u5173\u5EA6",
790
- viewOriginal: "\u67E5\u770B\u539F\u6587",
791
- showAll: "\u663E\u793A\u5168\u90E8",
792
- more: "\u66F4\u591A\u6765\u6E90",
793
- drawerTitle: "\u53C2\u8003\u6765\u6E90",
794
- expandMore: "\u5C55\u5F00\u66F4\u591A",
795
- collapseMore: "\u6536\u8D77",
796
- noSources: "\u6682\u65E0\u6765\u6E90",
797
- today: "\u4ECA\u5929",
798
- last7Days: "\u6700\u8FD1 7 \u5929",
799
- last30Days: "\u6700\u8FD1 30 \u5929",
800
- earlier: "\u66F4\u65E9",
801
- pinned: "\u5DF2\u7F6E\u9876"
802
- },
803
- // AiConversations groups
804
- conversations: {
805
- today: "\u4ECA\u5929",
806
- last7Days: "\u6700\u8FD1 7 \u5929",
807
- last30Days: "\u6700\u8FD1 30 \u5929",
808
- earlier: "\u66F4\u65E9",
809
- pinned: "\u7F6E\u9876",
810
- pin: "\u7F6E\u9876",
811
- unpin: "\u53D6\u6D88\u7F6E\u9876",
812
- newConversation: "\u65B0\u5EFA\u5BF9\u8BDD",
813
- noData: "\u6682\u65E0\u5BF9\u8BDD\u8BB0\u5F55",
814
- rename: "\u91CD\u547D\u540D",
815
- delete: "\u5220\u9664",
816
- deleteConfirm: "\u786E\u8BA4\u5220\u9664\u6B64\u5BF9\u8BDD\uFF1F"
817
- },
818
- // AiAttachments
819
- attachments: {
820
- dropTip: "\u91CA\u653E\u9F20\u6807\u4EE5\u4E0A\u4F20\u6587\u4EF6",
821
- clickToUpload: "\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u5904\u4E0A\u4F20",
822
- uploadSuccess: "\u4E0A\u4F20\u6210\u529F",
823
- uploadError: "\u4E0A\u4F20\u5931\u8D25",
824
- deleteConfirm: "\u786E\u5B9A\u5220\u9664\u6B64\u6587\u4EF6\uFF1F",
825
- fileTooLarge: "\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {size}",
826
- invalidFileType: "\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B"
827
- },
828
- // AiMermaid
829
- mermaid: {
830
- image: "\u56FE\u7247",
831
- code: "\u4EE3\u7801",
832
- zoomIn: "\u653E\u5927",
833
- zoomOut: "\u7F29\u5C0F",
834
- reset: "\u91CD\u7F6E",
835
- download: "\u4E0B\u8F7D",
836
- copyCode: "\u590D\u5236\u4EE3\u7801",
837
- rendering: "\u6B63\u5728\u6E32\u67D3...",
838
- renderError: "\u6E32\u67D3\u5931\u8D25",
839
- renderSuccess: "\u6E32\u67D3\u6210\u529F",
840
- retry: "\u91CD\u8BD5"
841
- }
842
- }
843
- }
844
- };
845
-
846
- const en = {
847
- name: "en",
848
- yh: {
849
- // Common
850
- common: {
851
- yes: "Yes",
852
- no: "No",
853
- confirm: "Confirm",
854
- cancel: "Cancel",
855
- loading: "Loading",
856
- close: "Close",
857
- clear: "Clear",
858
- reset: "Reset",
859
- save: "Save",
860
- delete: "Delete",
861
- edit: "Edit",
862
- add: "Add",
863
- search: "Search",
864
- refresh: "Refresh",
865
- expand: "Expand",
866
- collapse: "Collapse",
867
- more: "More",
868
- noData: "No Data",
869
- noMatch: "No matching data",
870
- selectAll: "Select All",
871
- unselectAll: "Unselect All"
872
- },
873
- // Color Picker
874
- colorpicker: {
875
- confirm: "OK",
876
- clear: "Clear",
877
- eyeDropper: "Eye Dropper",
878
- suggestionDark: "White text is best",
879
- suggestionLight: "Black text is best",
880
- recentColors: "Recent Colors",
881
- presetColors: "Preset Colors"
882
- },
883
- // Date Picker
884
- datepicker: {
885
- now: "Now",
886
- today: "Today",
887
- cancel: "Cancel",
888
- clear: "Clear",
889
- confirm: "OK",
890
- selectDate: "Select date",
891
- selectTime: "Select time",
892
- startDate: "Start Date",
893
- startTime: "Start Time",
894
- endDate: "End Date",
895
- endTime: "End Time",
896
- year: "",
897
- month: "",
898
- day: "",
899
- week: "Week",
900
- monthBeforeYear: true,
901
- prevYear: "Previous Year",
902
- nextYear: "Next Year",
903
- prevMonth: "Previous Month",
904
- nextMonth: "Next Month",
905
- weeks: {
906
- sun: "Sun",
907
- mon: "Mon",
908
- tue: "Tue",
909
- wed: "Wed",
910
- thu: "Thu",
911
- fri: "Fri",
912
- sat: "Sat"
913
- },
914
- months: {
915
- jan: "Jan",
916
- feb: "Feb",
917
- mar: "Mar",
918
- apr: "Apr",
919
- may: "May",
920
- jun: "Jun",
921
- jul: "Jul",
922
- aug: "Aug",
923
- sep: "Sep",
924
- oct: "Oct",
925
- nov: "Nov",
926
- dec: "Dec"
927
- },
928
- quarters: {
929
- q1: "Q1",
930
- q2: "Q2",
931
- q3: "Q3",
932
- q4: "Q4"
933
- }
934
- },
935
- // Time Picker
936
- timepicker: {
937
- confirm: "OK",
938
- cancel: "Cancel",
939
- now: "Now",
940
- placeholder: "Select time",
941
- startPlaceholder: "Start time",
942
- endPlaceholder: "End time",
943
- selectTime: "Select time"
944
- },
945
- // Time Select
946
- timeselect: {
947
- placeholder: "Select time"
948
- },
949
- // Tree
950
- tree: {
951
- emptyText: "No Data",
952
- loading: "Loading...",
953
- checkAll: "Check All",
954
- uncheckAll: "Uncheck All",
955
- expandAll: "Expand All",
956
- collapseAll: "Collapse All"
957
- },
958
- // Tree Select
959
- treeselect: {
960
- placeholder: "Select",
961
- emptyText: "No Data",
962
- loading: "Loading...",
963
- noMatch: "No matching data"
964
- },
965
- // Calendar
966
- calendar: {
967
- prevMonth: "Previous Month",
968
- nextMonth: "Next Month",
969
- prevYear: "Previous Year",
970
- nextYear: "Next Year",
971
- today: "Today",
972
- week: "Week",
973
- holiday: "Holiday",
974
- workday: "Work",
975
- monthHeaderFormat: "MMMM YYYY",
976
- weeks: {
977
- sun: "Sun",
978
- mon: "Mon",
979
- tue: "Tue",
980
- wed: "Wed",
981
- thu: "Thu",
982
- fri: "Fri",
983
- sat: "Sat"
984
- }
985
- },
986
- // Autocomplete
987
- autocomplete: {
988
- loading: "Loading...",
989
- placeholder: "Please input",
990
- noData: "No Data",
991
- noMatch: "No matching data"
992
- },
993
- // Countdown
994
- countdown: {
995
- days: "days",
996
- hours: "hours",
997
- minutes: "minutes",
998
- seconds: "seconds",
999
- milliseconds: "milliseconds",
1000
- finished: "Finished"
1001
- },
1002
- // Cascader
1003
- cascader: {
1004
- noMatch: "No matching data",
1005
- placeholder: "Select",
1006
- loading: "Loading...",
1007
- noData: "No Data"
1008
- },
1009
- // Transfer
1010
- transfer: {
1011
- noMatch: "No matching data",
1012
- noData: "No data",
1013
- titles: ["List 1", "List 2"],
1014
- filterPlaceholder: "Enter keyword",
1015
- noCheckedFormat: "{total} items",
1016
- hasCheckedFormat: "{checked}/{total} checked",
1017
- searchPlaceholder: "Enter keyword"
1018
- },
1019
- // Table
1020
- table: {
1021
- emptyText: "No Data",
1022
- confirmFilter: "Confirm",
1023
- resetFilter: "Reset",
1024
- clearFilter: "All",
1025
- sumText: "Sum",
1026
- loading: "Loading...",
1027
- index: "Index",
1028
- print: "Print",
1029
- cancel: "Cancel",
1030
- preview: "Print Preview",
1031
- printTime: "Print Time",
1032
- total: "Total {total} items",
1033
- page: "Page {page}",
1034
- yes: "Yes",
1035
- no: "No",
1036
- // Toolbar
1037
- toolbar: {
1038
- refresh: "Refresh",
1039
- density: "Density",
1040
- densityDefault: "Default",
1041
- densityLarge: "Large",
1042
- densitySmall: "Small",
1043
- columnSetting: "Column Settings",
1044
- fullscreen: "Fullscreen",
1045
- exitFullscreen: "Exit Fullscreen",
1046
- export: "Export",
1047
- import: "Import",
1048
- search: "Search",
1049
- searchPlaceholder: "Enter keywords to search"
1050
- },
1051
- // Filter
1052
- filter: {
1053
- selectAll: "Select All",
1054
- selectInvert: "Invert Selection",
1055
- empty: "Is Empty",
1056
- notEmpty: "Is Not Empty",
1057
- contains: "Contains",
1058
- notContains: "Does Not Contain",
1059
- equals: "Equals",
1060
- notEquals: "Does Not Equal",
1061
- startsWith: "Starts With",
1062
- endsWith: "Ends With",
1063
- greaterThan: "Greater Than",
1064
- lessThan: "Less Than",
1065
- between: "Between"
1066
- },
1067
- // Sort
1068
- sort: {
1069
- asc: "Ascending",
1070
- desc: "Descending",
1071
- clear: "Clear Sort"
1072
- },
1073
- // Export
1074
- export: {
1075
- title: "Export Data",
1076
- filename: "Filename",
1077
- type: "File Type",
1078
- scope: "Export Scope",
1079
- scopeAll: "All Data",
1080
- scopeSelected: "Selected Data",
1081
- scopeCurrentPage: "Current Page",
1082
- includeHeader: "Include Header",
1083
- exporting: "Exporting...",
1084
- success: "Export Successful",
1085
- error: "Export Failed"
1086
- },
1087
- // Import
1088
- import: {
1089
- title: "Import Data",
1090
- selectFile: "Select File",
1091
- dragTip: "Click or drag file here to upload",
1092
- importing: "Importing...",
1093
- success: "Import Successful",
1094
- error: "Import Failed",
1095
- preview: "Data Preview",
1096
- confirm: "Confirm Import"
1097
- },
1098
- // Print
1099
- printConfig: {
1100
- title: "Print Settings",
1101
- pageTitle: "Page Title",
1102
- pageHeader: "Header",
1103
- pageFooter: "Footer",
1104
- printAll: "Print All",
1105
- printSelected: "Print Selected",
1106
- printCurrentPage: "Print Current Page",
1107
- landscape: "Landscape",
1108
- portrait: "Portrait",
1109
- printing: "Printing..."
1110
- },
1111
- // Column Settings
1112
- columnSetting: {
1113
- title: "Column Settings",
1114
- showAll: "Show All",
1115
- hideAll: "Hide All",
1116
- reset: "Reset",
1117
- fixedLeft: "Fix to Left",
1118
- fixedRight: "Fix to Right",
1119
- unfixed: "Unfix"
1120
- },
1121
- // Context Menu
1122
- contextMenu: {
1123
- copy: "Copy",
1124
- copyRow: "Copy Row",
1125
- copyCell: "Copy Cell",
1126
- paste: "Paste",
1127
- insertRowAbove: "Insert Row Above",
1128
- insertRowBelow: "Insert Row Below",
1129
- deleteRow: "Delete Row",
1130
- deleteSelectedRows: "Delete Selected Rows",
1131
- exportSelected: "Export Selected"
1132
- },
1133
- // Selection
1134
- selection: {
1135
- selectAll: "Select All",
1136
- selectInvert: "Invert Selection",
1137
- selectNone: "Clear Selection",
1138
- selected: "{count} items selected"
1139
- },
1140
- // Expand
1141
- expand: {
1142
- expandAll: "Expand All",
1143
- collapseAll: "Collapse All"
1144
- },
1145
- // Tree
1146
- tree: {
1147
- expandAll: "Expand All",
1148
- collapseAll: "Collapse All",
1149
- expandLevel: "Expand to Level {level}"
1150
- },
1151
- // Drag
1152
- drag: {
1153
- dragTip: "Drag to reorder",
1154
- dropTip: "Drop to place"
1155
- }
1156
- },
1157
- // Message Box
1158
- messagebox: {
1159
- title: "Message",
1160
- confirm: "OK",
1161
- cancel: "Cancel",
1162
- close: "Close",
1163
- error: "Illegal input",
1164
- alert: "Alert",
1165
- prompt: "Prompt",
1166
- inputPlaceholder: "Please input"
1167
- },
1168
- // Upload
1169
- upload: {
1170
- deleteTip: "press delete to remove",
1171
- delete: "Delete",
1172
- preview: "Preview",
1173
- continue: "Continue",
1174
- upload: "Click to upload",
1175
- tip: "Click or drag file to this area to <em>upload</em>",
1176
- dragTip: "Drop file here or click to upload",
1177
- uploading: "Uploading...",
1178
- success: "Upload successful",
1179
- error: "Upload failed",
1180
- retry: "Retry",
1181
- cancel: "Cancel upload",
1182
- fileTypeError: "File type not supported",
1183
- fileSizeError: "File size exceeds limit",
1184
- fileCountError: "File count exceeds limit"
1185
- },
1186
- // Form
1187
- form: {
1188
- validationFailed: "Validation failed",
1189
- required: "Required",
1190
- pleaseInput: "Please input",
1191
- pleaseSelect: "Please select"
1192
- },
1193
- // Button
1194
- button: {
1195
- loading: "Loading..."
1196
- },
1197
- // Input
1198
- input: {
1199
- placeholder: "Please input",
1200
- clear: "Clear",
1201
- showPassword: "Show password",
1202
- hidePassword: "Hide password",
1203
- copy: "Copy",
1204
- copied: "Copied"
1205
- },
1206
- // Input Number
1207
- inputnumber: {
1208
- placeholder: "Please input number",
1209
- increase: "Increase",
1210
- decrease: "Decrease"
1211
- },
1212
- // Input Tag
1213
- inputtag: {
1214
- placeholder: "Please input",
1215
- add: "Add",
1216
- remove: "Remove"
1217
- },
1218
- // Breadcrumb
1219
- breadcrumb: {
1220
- label: "Breadcrumb",
1221
- more: "More"
1222
- },
1223
- // Back Top
1224
- backtop: {
1225
- text: "Back to Top"
1226
- },
1227
- // Select
1228
- select: {
1229
- placeholder: "Please select",
1230
- noData: "No Data",
1231
- loading: "Loading...",
1232
- noMatch: "No matching data",
1233
- selectAll: "Select All",
1234
- clearAll: "Clear All"
1235
- },
1236
- // Pagination
1237
- pagination: {
1238
- goto: "Go to",
1239
- page: "",
1240
- total: "Total {total}",
1241
- pageSize: "/page",
1242
- prev: "Previous",
1243
- next: "Next",
1244
- first: "First",
1245
- last: "Last",
1246
- pageClassifier: ""
1247
- },
1248
- // Popconfirm
1249
- popconfirm: {
1250
- confirm: "OK",
1251
- cancel: "Cancel",
1252
- dontAskAgain: "Don't ask again"
1253
- },
1254
- // Dialog
1255
- dialog: {
1256
- confirm: "OK",
1257
- cancel: "Cancel",
1258
- close: "Close",
1259
- maximize: "Maximize",
1260
- restore: "Restore"
1261
- },
1262
- // Drawer
1263
- drawer: {
1264
- close: "Close",
1265
- confirm: "OK",
1266
- cancel: "Cancel"
1267
- },
1268
- // Dropdown
1269
- dropdown: {
1270
- loading: "Loading..."
1271
- },
1272
- // Image
1273
- image: {
1274
- error: "FAILED",
1275
- loading: "Loading...",
1276
- preview: "Preview",
1277
- zoomIn: "Zoom In",
1278
- zoomOut: "Zoom Out",
1279
- rotateLeft: "Rotate Left",
1280
- rotateRight: "Rotate Right",
1281
- originalSize: "Original Size",
1282
- fullscreen: "Fullscreen"
1283
- },
1284
- // Image Viewer
1285
- imageviewer: {
1286
- close: "Close",
1287
- prev: "Previous",
1288
- next: "Next",
1289
- zoomIn: "Zoom In",
1290
- zoomOut: "Zoom Out",
1291
- rotateLeft: "Rotate Left",
1292
- rotateRight: "Rotate Right",
1293
- reset: "Reset",
1294
- fullscreen: "Fullscreen",
1295
- exitFullscreen: "Exit Fullscreen"
1296
- },
1297
- // Infinite Scroll
1298
- infinitescroll: {
1299
- loading: "Loading...",
1300
- finished: "No more data",
1301
- error: "Load failed, click to retry",
1302
- retry: "Click to retry"
1303
- },
1304
- // Message
1305
- message: {
1306
- close: "Close"
1307
- },
1308
- // Notification
1309
- notification: {
1310
- close: "Close"
1311
- },
1312
- // Loading
1313
- loading: {
1314
- text: "Loading..."
1315
- },
1316
- // Spin
1317
- spin: {
1318
- text: "Loading..."
1319
- },
1320
- // Rate
1321
- rate: {
1322
- texts: ["Extremely poor", "Disappointed", "Fair", "Satisfied", "Surprised"]
1323
- },
1324
- // Alert
1325
- alert: {
1326
- close: "Close"
1327
- },
1328
- // Tag
1329
- tag: {
1330
- close: "Close"
1331
- },
1332
- // Tabs
1333
- tabs: {
1334
- close: "Close",
1335
- add: "Add",
1336
- more: "More"
1337
- },
1338
- // Steps
1339
- steps: {
1340
- finish: "Finished",
1341
- process: "In Progress",
1342
- wait: "Waiting",
1343
- error: "Error"
1344
- },
1345
- // Progress
1346
- progress: {
1347
- success: "Success",
1348
- exception: "Exception",
1349
- warning: "Warning"
1350
- },
1351
- // Skeleton
1352
- skeleton: {
1353
- loading: "Loading..."
1354
- },
1355
- // Empty
1356
- empty: {
1357
- description: "No Data",
1358
- noData: "No Data",
1359
- noResult: "No Results",
1360
- networkError: "Network Error",
1361
- serverError: "Server Error"
1362
- },
1363
- // Result
1364
- result: {
1365
- success: "Success",
1366
- error: "Error",
1367
- warning: "Warning",
1368
- info: "Info",
1369
- backHome: "Back to Home"
1370
- },
1371
- // Waterfall
1372
- waterfall: {
1373
- loading: "Loading...",
1374
- noMore: "No more data",
1375
- empty: "No Data"
1376
- },
1377
- // Descriptions
1378
- descriptions: {
1379
- colon: ":"
1380
- },
1381
- // Slider
1382
- slider: {
1383
- tipFormatter: "{value}"
1384
- },
1385
- // Switch
1386
- switch: {
1387
- on: "ON",
1388
- off: "OFF"
1389
- },
1390
- // Checkbox
1391
- checkbox: {
1392
- selectAll: "Select All"
1393
- },
1394
- // Radio
1395
- radio: {},
1396
- // Menu
1397
- menu: {
1398
- collapse: "Collapse Menu",
1399
- expand: "Expand Menu"
1400
- },
1401
- // Card
1402
- card: {
1403
- collapse: "Collapse",
1404
- expand: "Expand"
1405
- },
1406
- // Collapse
1407
- collapse: {
1408
- expand: "Expand",
1409
- collapse: "Collapse"
1410
- },
1411
- // Tooltip
1412
- tooltip: {},
1413
- // Popover
1414
- popover: {},
1415
- // Badge
1416
- badge: {},
1417
- // Avatar
1418
- avatar: {
1419
- error: "Load failed"
1420
- },
1421
- // Watermark
1422
- watermark: {},
1423
- // Divider
1424
- divider: {},
1425
- // Carousel
1426
- carousel: {
1427
- prev: "Previous",
1428
- next: "Next"
1429
- },
1430
- // Marquee
1431
- marquee: {},
1432
- // Affix
1433
- affix: {},
1434
- // Flow
1435
- flow: {
1436
- zoomIn: "Zoom In",
1437
- zoomOut: "Zoom Out",
1438
- fitView: "Fit View",
1439
- lock: "Toggle Interactivity"
1440
- },
1441
- // Anchor
1442
- anchor: {},
1443
- // Mention
1444
- mention: {
1445
- placeholder: "Please input",
1446
- loading: "Loading...",
1447
- noData: "No Data"
1448
- },
1449
- // SKU Selector
1450
- skuselector: {
1451
- placeholder: "Select specifications",
1452
- emptyText: "No specifications",
1453
- stock: "Stock",
1454
- price: "Price",
1455
- selected: "Selected",
1456
- outOfStock: "Out of Stock"
1457
- },
1458
- // Product Card
1459
- productcard: {
1460
- viewDetails: "View Details",
1461
- buyNow: "Buy Now",
1462
- addToCart: "Add to Cart",
1463
- sold: "Sold",
1464
- soldOut: "Sold Out",
1465
- vip: "VIP"
1466
- },
1467
- // Price
1468
- price: {
1469
- original: "Original"
1470
- },
1471
- // Coupon Card
1472
- couponcard: {
1473
- available: "Claim Now",
1474
- used: "Used",
1475
- expired: "Expired",
1476
- received: "Received",
1477
- limit: "Orders over {threshold}",
1478
- noThreshold: "No threshold",
1479
- validPeriod: "Validity",
1480
- ruleTitle: "Usage Rules"
1481
- },
1482
- // Lucky Draw
1483
- luckydraw: {
1484
- start: "Start",
1485
- drawing: "Drawing...",
1486
- end: "Winner!",
1487
- retry: "Retry"
1488
- },
1489
- // Filter Bar
1490
- filterbar: {
1491
- all: "All",
1492
- sort: "Sort",
1493
- filter: "Filter",
1494
- cancel: "Cancel",
1495
- reset: "Reset",
1496
- confirm: "Confirm",
1497
- noOptions: "No options",
1498
- asc: "Ascending",
1499
- desc: "Descending",
1500
- selected: "Selected"
1501
- },
1502
- // Submit Bar
1503
- submitbar: {
1504
- total: "Total: ",
1505
- selected: "{count} selected",
1506
- submit: "Checkout",
1507
- allSelect: "Select All"
1508
- },
1509
- // Category Nav
1510
- categorynav: {
1511
- all: "All",
1512
- noData: "No Data",
1513
- loading: "Loading..."
1514
- },
1515
- // Smart Address
1516
- smartaddress: {
1517
- placeholder: "Paste address here, auto-detect name, phone, location",
1518
- parse: "Smart Parse",
1519
- province: "Province/City/District",
1520
- city: "City",
1521
- district: "District/County",
1522
- street: "Street/Town",
1523
- detail: "Detailed Address",
1524
- phone: "Phone",
1525
- name: "Recipient",
1526
- parseSuccess: "Address parsed successfully",
1527
- parseFailed: "Parse failed, please fill manually",
1528
- required: "Please fill complete address",
1529
- provinceKeywords: ["Province", "State"],
1530
- cityKeywords: ["City", "Prefecture"],
1531
- districtKeywords: ["District", "County", "Township"],
1532
- streetKeywords: ["Street", "Road", "Ave", "Lane"]
1533
- },
1534
- ganttchart: {
1535
- taskName: "Task Name",
1536
- searchPlaceholder: "Search tasks...",
1537
- zoom: "Zoom",
1538
- day: "Day",
1539
- week: "Week",
1540
- month: "Month",
1541
- year: "Year",
1542
- milestone: "Milestone"
1543
- },
1544
- imagemagnifier: {
1545
- switchToImage: "Switch to image {index}",
1546
- galleryItem: "Gallery {index}",
1547
- close: "Close"
1548
- },
1549
- // AI Components
1550
- ai: {
1551
- bubble: {
1552
- citations: "Citations"
1553
- },
1554
- mention: {
1555
- placeholder: "@ Mention Agent, Doc or Table...",
1556
- agent: "Agent",
1557
- document: "Document",
1558
- table: "Table",
1559
- knowledge: "Knowledge"
1560
- },
1561
- codeBlock: {
1562
- copyCode: "Copy code",
1563
- copied: "Copied!",
1564
- run: "Run Code",
1565
- edit: "Edit",
1566
- save: "Save",
1567
- cancel: "Cancel"
1568
- },
1569
- codeRunner: {
1570
- run: "Run",
1571
- stop: "Stop",
1572
- clear: "Clear",
1573
- reset: "Reset",
1574
- placeholder: "Click Run to execute the code..."
1575
- },
1576
- sender: {
1577
- placeholder: "Send a message...",
1578
- dragTip: "Release to upload files"
1579
- },
1580
- thoughtChain: {
1581
- thoughtProcess: "Thought Process",
1582
- thinking: "Thinking...",
1583
- defaultTitle: "New Step",
1584
- addNode: "Add Step"
1585
- },
1586
- thinking: {
1587
- start: "Start thinking",
1588
- thinking: "Thinking...",
1589
- complete: "Thinking complete",
1590
- error: "Thinking error"
1591
- },
1592
- welcome: {
1593
- title: "Hello, I am YH AI",
1594
- description: "I can help you with coding, translating documents, or creative writing. What can I do for you today?"
1595
- },
1596
- action: {
1597
- copy: "Copy",
1598
- regenerate: "Regenerate",
1599
- share: "Share",
1600
- like: "Like",
1601
- dislike: "Dislike",
1602
- edit: "Edit",
1603
- delete: "Delete"
1604
- },
1605
- artifacts: {
1606
- preview: "Preview",
1607
- inline: "Inline",
1608
- code: "Source",
1609
- versions: "Versions",
1610
- rendering: "Rendering component...",
1611
- renderingChart: "Rendering chart...",
1612
- renderingCanvas: "Preparing canvas..."
1613
- },
1614
- voice: {
1615
- trigger: "Click to Speak",
1616
- listening: "Listening..."
1617
- },
1618
- // AiAgentCard
1619
- agent: {
1620
- uses: "uses",
1621
- use: "Use Now",
1622
- favorite: "Favorite",
1623
- unfavorite: "Unfavorite",
1624
- share: "Share",
1625
- online: "Online",
1626
- offline: "Offline",
1627
- busy: "Busy",
1628
- verified: "Verified",
1629
- rating: "Rating",
1630
- reviews: "reviews",
1631
- responseTime: "Avg. Response",
1632
- ms: "ms"
1633
- },
1634
- // AiSources
1635
- sources: {
1636
- references: "References",
1637
- referencedSources: "Referenced Sources",
1638
- relevant: "Relevance",
1639
- viewOriginal: "View Original",
1640
- showAll: "Show All",
1641
- more: "more sources",
1642
- drawerTitle: "References",
1643
- expandMore: "Show More",
1644
- collapseMore: "Collapse",
1645
- noSources: "No sources",
1646
- today: "Today",
1647
- last7Days: "Last 7 Days",
1648
- last30Days: "Last 30 Days",
1649
- earlier: "Earlier",
1650
- pinned: "Pinned"
1651
- },
1652
- // AiConversations groups
1653
- conversations: {
1654
- today: "Today",
1655
- last7Days: "Last 7 Days",
1656
- last30Days: "Last 30 Days",
1657
- earlier: "Earlier",
1658
- pinned: "Pinned",
1659
- pin: "Pin",
1660
- unpin: "Unpin",
1661
- newConversation: "New Conversation",
1662
- noData: "No conversations yet",
1663
- rename: "Rename",
1664
- delete: "Delete",
1665
- deleteConfirm: "Confirm delete this conversation?"
1666
- },
1667
- // AiAttachments
1668
- attachments: {
1669
- dropTip: "Drop files here to upload",
1670
- clickToUpload: "Click or drag files to upload",
1671
- uploadSuccess: "Upload success",
1672
- uploadError: "Upload failed",
1673
- deleteConfirm: "Are you sure to delete this file?",
1674
- fileTooLarge: "File size cannot exceed {size}",
1675
- invalidFileType: "Invalid file type"
1676
- },
1677
- // AiMermaid
1678
- mermaid: {
1679
- image: "Image",
1680
- code: "Code",
1681
- zoomIn: "Zoom In",
1682
- zoomOut: "Zoom Out",
1683
- reset: "Reset",
1684
- download: "Download",
1685
- copyCode: "Copy Code",
1686
- rendering: "Rendering...",
1687
- renderError: "Render failed",
1688
- renderSuccess: "Render success",
1689
- retry: "Retry"
1690
- }
1691
- }
1692
- }
1693
- };
1694
-
1695
18
  const createYhUI = (options = {}) => {
1696
19
  return {
1697
20
  install(app) {
@@ -1709,4 +32,4 @@ const index = {
1709
32
  };
1710
33
  const version = packageJson.version;
1711
34
 
1712
- export { createYhUI, index as default, en, install, version, zhCn };
35
+ export { createYhUI, index as default, install, version };