riku
7 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import { FormErrorMessage } from '../form/index';
import { ImageProps } from '../image/index';
export interface TdConfigProviderProps {
    globalConfig?: {
        type: ObjectConstructor;
        value?: GlobalConfigProvider;
    };
    themeVars?: {
        type: ObjectConstructor;
        value?: object;
    };
}
export interface GlobalConfigProvider {
    actionSheet?: ActionSheetConfig;
    calendar?: CalendarConfig;
    cascader?: CascaderConfig;
    classPrefix?: string;
    dateTimePicker?: DateTimePickerConfig;
    dropdownMenu?: DropdownMenuConfig;
    guide?: GuideConfig;
    picker?: PickerConfig;
    pullDownRefresh?: PullDownRefreshConfig;
    qrcode?: QRCodeConfig;
    rate?: RateConfig;
    tabBar?: TabBarConfig;
    upload?: UploadConfig;
}
export interface ActionSheetConfig {
    cancel?: string;
}
export interface AttachmentsConfig {
    status?: {
        pending: string;
        fail: string;
    };
}
export interface CalendarConfig {
    confirm?: string;
    monthTitle?: string;
    months?: string[];
    title?: string;
    weekdays?: string[];
}
export interface CascaderConfig {
    placeholder?: string;
    title?: string;
}
export interface ChatActionbarConfig {
    actionBar?: {
        replay: string;
        copy: string;
        good: string;
        bad: string;
        share: string;
        quote: string;
    };
}
export interface ChatSenderConfig {
    placeholder?: string;
    sendText?: string;
    stopText?: string;
}
export interface ChatThinkingConfig {
    status?: {
        pending: string;
        complete: string;
        stop: string;
    };
}
export interface DateTimePickerConfig {
    cancel?: string;
    confirm?: string;
    dateLabel?: string;
    format?: string;
    hourLabel?: string;
    minuteLabel?: string;
    monthLabel?: string;
    secondLabel?: string;
    title?: string;
    yearLabel?: string;
}
export interface DropdownMenuConfig {
    confirm?: string;
    reset?: string;
}
export interface FormConfig {
    colonText?: string;
    errorMessage?: FormErrorMessage;
    requiredMark?: boolean;
    requiredMarkPosition?: 'left' | 'right';
}
export interface GuideConfig {
    back?: string;
    finish?: string;
    next?: string;
    skip?: string;
}
export interface ImageConfig {
    errorText?: string;
    loadingText?: string;
    replaceImageSrc?: (params: ImageProps) => string;
}
export interface InputConfig {
    placeholder?: string;
}
export interface PickerConfig {
    cancel?: string;
    confirm?: string;
}
export interface PullDownRefreshConfig {
    loadingTexts?: string[];
}
export interface QRCodeConfig {
    expiredText?: string;
    refreshText?: string;
    scannedText?: string;
}
export interface RateConfig {
    noValueText?: string;
    valueText?: string;
}
export interface TabBarConfig {
    haveMoreNewsAriaLabel?: string;
    haveNewsAriaLabel?: string;
    moreNewsAriaLabel?: string;
    newsAriaLabel?: string;
}
export interface UploadConfig {
    progress?: UploadConfigProgress;
}
export interface UploadConfigProgress {
    failText?: string;
    successText?: string;
    uploadingText?: string;
    waitingText?: string;
}