-
Notifications
You must be signed in to change notification settings - Fork 138
/
types.ts
73 lines (66 loc) 路 1.33 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/IDuxFE/idux/blob/main/LICENSE
*/
export interface ProTableLocale {
layout: {
title: string
sm: string
md: string
lg: string
placeholder: string
all: string
reset: string
indexable: string
expandable: string
selectable: string
startPin: string
endPin: string
noPin: string
startPinTitle: string
endPinTitle: string
noPinTitle: string
}
}
export interface ProTreeLocale {
expandAll: string
collapseAll: string
}
export interface ProSearchLocale {
keyword: string
keywordFallbackLabel: string
ok: string
cancel: string
selectAll: string
allSelected: string
placeholder: string
switchToTimePanel: string
switchToDatePanel: string
}
export interface ProTagSelectLocale {
colors: {
grey: string
green: string
blue: string
yellow: string
red: string
orange: string
}
remove: string
createTag: string
removeTag: string
maxExceededAlert: string
empty: string
ok: string
cancel: string
}
export interface ProLocale {
type: ProLocaleType
table: ProTableLocale
tagSelect: ProTagSelectLocale
tree: ProTreeLocale
search: ProSearchLocale
}
export type ProLocaleType = 'zh-CN' | 'en-US'