-
Notifications
You must be signed in to change notification settings - Fork 138
/
types.ts
53 lines (47 loc) 路 1019 Bytes
/
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
/**
* @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
placeholder: string
switchToTimePanel: string
switchToDatePanel: string
}
export interface ProLocale {
type: ProLocaleType
table: ProTableLocale
tree: ProTreeLocale
search: ProSearchLocale
}
export type ProLocaleType = 'zh-CN' | 'en-US'