@expcat/tigercat-core 2.1.2 → 2.1.3
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/{data-export-CLWdsrRn.d.ts → data-export-D01yjggE.d.ts} +18 -7
- package/dist/datepicker-locales/ar-SA.d.ts +2 -1
- package/dist/datepicker-locales/ar-SA.js +8 -1
- package/dist/datepicker-locales/de-DE.d.ts +2 -1
- package/dist/datepicker-locales/de-DE.js +8 -1
- package/dist/datepicker-locales/en-US.d.ts +2 -1
- package/dist/datepicker-locales/en-US.js +3 -1
- package/dist/datepicker-locales/es-ES.d.ts +2 -1
- package/dist/datepicker-locales/es-ES.js +8 -1
- package/dist/datepicker-locales/fr-FR.d.ts +2 -1
- package/dist/datepicker-locales/fr-FR.js +8 -1
- package/dist/datepicker-locales/id-ID.d.ts +2 -1
- package/dist/datepicker-locales/id-ID.js +8 -1
- package/dist/datepicker-locales/ja-JP.d.ts +2 -1
- package/dist/datepicker-locales/ja-JP.js +8 -1
- package/dist/datepicker-locales/ko-KR.d.ts +2 -1
- package/dist/datepicker-locales/ko-KR.js +8 -1
- package/dist/datepicker-locales/pt-BR.d.ts +2 -1
- package/dist/datepicker-locales/pt-BR.js +8 -1
- package/dist/datepicker-locales/registry.d.ts +2 -1
- package/dist/datepicker-locales/registry.js +94 -13
- package/dist/datepicker-locales/th-TH.d.ts +2 -1
- package/dist/datepicker-locales/th-TH.js +8 -1
- package/dist/datepicker-locales/vi-VN.d.ts +2 -1
- package/dist/datepicker-locales/vi-VN.js +8 -1
- package/dist/datepicker-locales/zh-CN.d.ts +2 -1
- package/dist/datepicker-locales/zh-CN.js +3 -1
- package/dist/datepicker-locales/zh-TW.d.ts +2 -1
- package/dist/datepicker-locales/zh-TW.js +8 -1
- package/dist/icons/common.d.ts +2 -2
- package/dist/icons/common.js +14 -8
- package/dist/index.d.ts +10277 -5385
- package/dist/index.js +30920 -16435
- package/dist/locale-qoiGEqe_.d.ts +1507 -0
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +448 -442
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +456 -450
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/en-US.js +259 -62
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +450 -444
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +453 -447
- package/dist/locales/id-ID.d.ts +3 -3
- package/dist/locales/id-ID.js +471 -448
- package/dist/locales/ja-JP.d.ts +3 -3
- package/dist/locales/ja-JP.js +465 -442
- package/dist/locales/ko-KR.d.ts +3 -3
- package/dist/locales/ko-KR.js +465 -442
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +452 -446
- package/dist/locales/th-TH.d.ts +3 -3
- package/dist/locales/th-TH.js +467 -444
- package/dist/locales/vi-VN.d.ts +3 -3
- package/dist/locales/vi-VN.js +467 -444
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-CN.js +257 -60
- package/dist/locales/zh-TW.d.ts +3 -3
- package/dist/locales/zh-TW.js +467 -444
- package/dist/{table-CHeBgM_2.d.ts → table-R9Yp1aVa.d.ts} +77 -54
- package/dist/tailwind/modern.js +1364 -150
- package/dist/{tailwind-entry-nnuviNxx.d.ts → tailwind-entry-C26Y3TZG.d.ts} +13 -10
- package/dist/tailwind.d.ts +1 -1
- package/dist/tailwind.js +1406 -136
- package/dist/utils/data-export.d.ts +19 -5
- package/dist/utils/data-export.js +138 -13
- package/dist/utils/table-export.d.ts +21 -12
- package/dist/utils/table-export.js +75 -46
- package/package.json +1 -1
- package/tokens/figma-variables.json +223 -147
- package/tokens/tokens.css +224 -57
- package/tokens/tokens.json +205 -31
- package/dist/datepicker-Digy7Stt.d.ts +0 -201
- package/dist/locale-KMGxL6bT.d.ts +0 -625
- package/tokens/tailwind-tokens.js +0 -145
|
@@ -1,625 +0,0 @@
|
|
|
1
|
-
import { C as ComponentSize, D as DatePickerLocalePreset } from './datepicker-Digy7Stt.js';
|
|
2
|
-
|
|
3
|
-
/** TimePicker shared types */
|
|
4
|
-
|
|
5
|
-
type TimeFormat = '12' | '24';
|
|
6
|
-
type TimePickerModelValue = string | null | [string | null, string | null];
|
|
7
|
-
interface TimePickerLabels {
|
|
8
|
-
hour: string;
|
|
9
|
-
minute: string;
|
|
10
|
-
second: string;
|
|
11
|
-
now: string;
|
|
12
|
-
ok: string;
|
|
13
|
-
start: string;
|
|
14
|
-
end: string;
|
|
15
|
-
clear: string;
|
|
16
|
-
toggle: string;
|
|
17
|
-
dialog: string;
|
|
18
|
-
selectTime: string;
|
|
19
|
-
selectTimeRange: string;
|
|
20
|
-
}
|
|
21
|
-
interface TimePickerProps {
|
|
22
|
-
/**
|
|
23
|
-
* Locale used for UI labels (e.g. AM/PM) and display formatting.
|
|
24
|
-
* Example: 'zh-CN', 'en-US', or a Tigercat locale object.
|
|
25
|
-
*/
|
|
26
|
-
locale?: string | Partial<TigerLocale>;
|
|
27
|
-
/**
|
|
28
|
-
* UI labels for i18n.
|
|
29
|
-
* When provided, merges with locale-based defaults.
|
|
30
|
-
*/
|
|
31
|
-
labels?: Partial<TimePickerLabels>;
|
|
32
|
-
/**
|
|
33
|
-
* TimePicker size
|
|
34
|
-
* @default 'md'
|
|
35
|
-
*/
|
|
36
|
-
size?: ComponentSize;
|
|
37
|
-
/** Controlled value. Format: 'HH:mm' or 'HH:mm:ss' */
|
|
38
|
-
value?: TimePickerModelValue;
|
|
39
|
-
/** Uncontrolled default value. Format: 'HH:mm' or 'HH:mm:ss' */
|
|
40
|
-
defaultValue?: TimePickerModelValue;
|
|
41
|
-
/**
|
|
42
|
-
* Enable range selection (start/end).
|
|
43
|
-
* When true, value/defaultValue use a tuple: [start, end].
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
range?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Time format (12-hour or 24-hour)
|
|
49
|
-
* @default '24'
|
|
50
|
-
*/
|
|
51
|
-
format?: TimeFormat;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to show seconds
|
|
54
|
-
* @default false
|
|
55
|
-
*/
|
|
56
|
-
showSeconds?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Hour step
|
|
59
|
-
* @default 1
|
|
60
|
-
*/
|
|
61
|
-
hourStep?: number;
|
|
62
|
-
/**
|
|
63
|
-
* Minute step
|
|
64
|
-
* @default 1
|
|
65
|
-
*/
|
|
66
|
-
minuteStep?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Second step
|
|
69
|
-
* @default 1
|
|
70
|
-
*/
|
|
71
|
-
secondStep?: number;
|
|
72
|
-
/**
|
|
73
|
-
* Placeholder text
|
|
74
|
-
* @default 'Select time'
|
|
75
|
-
*/
|
|
76
|
-
placeholder?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Whether the timepicker is disabled
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
disabled?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Whether the timepicker is readonly
|
|
84
|
-
* @default false
|
|
85
|
-
*/
|
|
86
|
-
readonly?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Whether the timepicker is required
|
|
89
|
-
* @default false
|
|
90
|
-
*/
|
|
91
|
-
required?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Minimum selectable time (HH:mm format)
|
|
94
|
-
*/
|
|
95
|
-
minTime?: string | null;
|
|
96
|
-
/**
|
|
97
|
-
* Maximum selectable time (HH:mm format)
|
|
98
|
-
*/
|
|
99
|
-
maxTime?: string | null;
|
|
100
|
-
/**
|
|
101
|
-
* Whether to show the clear button
|
|
102
|
-
* @default true
|
|
103
|
-
*/
|
|
104
|
-
clearable?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Input name attribute
|
|
107
|
-
*/
|
|
108
|
-
name?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Input id attribute
|
|
111
|
-
*/
|
|
112
|
-
id?: string;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
type TigerLocaleDirection = 'ltr' | 'rtl';
|
|
116
|
-
interface TigerLocaleCommon {
|
|
117
|
-
okText?: string;
|
|
118
|
-
cancelText?: string;
|
|
119
|
-
closeText?: string;
|
|
120
|
-
loadingText?: string;
|
|
121
|
-
emptyText?: string;
|
|
122
|
-
/** Default "no more items" text for infinite-scroll end state */
|
|
123
|
-
noMoreText?: string;
|
|
124
|
-
/** Default placeholder for in-component search inputs (Select/Tree/Transfer/Cascader…) */
|
|
125
|
-
searchPlaceholder?: string;
|
|
126
|
-
/** Default label for clear actions */
|
|
127
|
-
clearText?: string;
|
|
128
|
-
}
|
|
129
|
-
interface TigerLocaleEmpty {
|
|
130
|
-
noData?: string;
|
|
131
|
-
noDataAvailable?: string;
|
|
132
|
-
noResults?: string;
|
|
133
|
-
error?: string;
|
|
134
|
-
}
|
|
135
|
-
interface TigerLocaleModal {
|
|
136
|
-
closeAriaLabel?: string;
|
|
137
|
-
okText?: string;
|
|
138
|
-
cancelText?: string;
|
|
139
|
-
}
|
|
140
|
-
interface TigerLocaleDrawer {
|
|
141
|
-
closeAriaLabel?: string;
|
|
142
|
-
}
|
|
143
|
-
interface TigerLocaleQRCode {
|
|
144
|
-
ariaLabel?: string;
|
|
145
|
-
expiredText?: string;
|
|
146
|
-
refreshText?: string;
|
|
147
|
-
loadingText?: string;
|
|
148
|
-
}
|
|
149
|
-
interface TigerLocaleTimeline {
|
|
150
|
-
pendingText?: string;
|
|
151
|
-
}
|
|
152
|
-
interface TigerLocaleUpload {
|
|
153
|
-
/** Drag area aria-label */
|
|
154
|
-
dragAreaAriaLabel?: string;
|
|
155
|
-
/** Upload button aria-label (non-drag mode) */
|
|
156
|
-
buttonAriaLabel?: string;
|
|
157
|
-
/** Main drag-area instruction (emphasized part) */
|
|
158
|
-
clickToUploadText?: string;
|
|
159
|
-
/** Secondary drag-area instruction */
|
|
160
|
-
dragAndDropText?: string;
|
|
161
|
-
/** Template: supports {accept} */
|
|
162
|
-
acceptInfoText?: string;
|
|
163
|
-
/** Template: supports {maxSize} */
|
|
164
|
-
maxSizeInfoText?: string;
|
|
165
|
-
/** Default non-drag button text */
|
|
166
|
-
selectFileText?: string;
|
|
167
|
-
/** File list aria-label */
|
|
168
|
-
uploadedFilesAriaLabel?: string;
|
|
169
|
-
/** Status aria-labels */
|
|
170
|
-
successAriaLabel?: string;
|
|
171
|
-
errorAriaLabel?: string;
|
|
172
|
-
uploadingAriaLabel?: string;
|
|
173
|
-
/** Templates: support {fileName} */
|
|
174
|
-
removeFileAriaLabel?: string;
|
|
175
|
-
previewFileAriaLabel?: string;
|
|
176
|
-
}
|
|
177
|
-
interface TigerLocalePagination {
|
|
178
|
-
/** Total text template: supports {total}, {start}, {end} */
|
|
179
|
-
totalText?: string;
|
|
180
|
-
/** Items per page text */
|
|
181
|
-
itemsPerPageText?: string;
|
|
182
|
-
/** Quick jumper label */
|
|
183
|
-
jumpToText?: string;
|
|
184
|
-
/** Page text (after number) */
|
|
185
|
-
pageText?: string;
|
|
186
|
-
/** Previous page button aria-label */
|
|
187
|
-
prevPageAriaLabel?: string;
|
|
188
|
-
/** Next page button aria-label */
|
|
189
|
-
nextPageAriaLabel?: string;
|
|
190
|
-
/** Page button aria-label template: supports {page} */
|
|
191
|
-
pageAriaLabel?: string;
|
|
192
|
-
/** Simple pagination page indicator template: supports {current}, {total} */
|
|
193
|
-
pageIndicatorText?: string;
|
|
194
|
-
}
|
|
195
|
-
interface TigerLocaleTable {
|
|
196
|
-
emptyText?: string;
|
|
197
|
-
loadingText?: string;
|
|
198
|
-
expandText?: string;
|
|
199
|
-
collapseText?: string;
|
|
200
|
-
selectAllText?: string;
|
|
201
|
-
/** Template: supports {row} */
|
|
202
|
-
selectRowAriaLabel?: string;
|
|
203
|
-
/** Template: supports {column} */
|
|
204
|
-
sortByText?: string;
|
|
205
|
-
clearSortText?: string;
|
|
206
|
-
toolbarAriaLabel?: string;
|
|
207
|
-
searchPlaceholder?: string;
|
|
208
|
-
searchButtonText?: string;
|
|
209
|
-
selectedText?: string;
|
|
210
|
-
selectedItemsText?: string;
|
|
211
|
-
/** Column-settings panel title / trigger label */
|
|
212
|
-
columnSettingsText?: string;
|
|
213
|
-
/** Aria label for the column-settings trigger button */
|
|
214
|
-
columnSettingsAriaLabel?: string;
|
|
215
|
-
/** Lock-column button aria-label. Template: supports {column} */
|
|
216
|
-
lockColumnAriaLabel?: string;
|
|
217
|
-
/** Unlock-column button aria-label. Template: supports {column} */
|
|
218
|
-
unlockColumnAriaLabel?: string;
|
|
219
|
-
allText?: string;
|
|
220
|
-
filterPlaceholder?: string;
|
|
221
|
-
exportCsvText?: string;
|
|
222
|
-
exportExcelText?: string;
|
|
223
|
-
exportCsvAriaLabel?: string;
|
|
224
|
-
exportExcelAriaLabel?: string;
|
|
225
|
-
expandRowAriaLabel?: string;
|
|
226
|
-
collapseRowAriaLabel?: string;
|
|
227
|
-
}
|
|
228
|
-
interface TigerLocaleDataExport {
|
|
229
|
-
/** Trigger button text when multiple formats are offered */
|
|
230
|
-
triggerText?: string;
|
|
231
|
-
/** Aria label for the export trigger button */
|
|
232
|
-
triggerAriaLabel?: string;
|
|
233
|
-
/** Button/menu-item text for xlsx export */
|
|
234
|
-
xlsxText?: string;
|
|
235
|
-
/** Button/menu-item text for markdown export */
|
|
236
|
-
markdownText?: string;
|
|
237
|
-
/** Trigger text while an export is running */
|
|
238
|
-
exportingText?: string;
|
|
239
|
-
}
|
|
240
|
-
interface TigerLocaleFormWizard {
|
|
241
|
-
prevText?: string;
|
|
242
|
-
nextText?: string;
|
|
243
|
-
finishText?: string;
|
|
244
|
-
}
|
|
245
|
-
interface TigerLocaleTour {
|
|
246
|
-
prevText?: string;
|
|
247
|
-
nextText?: string;
|
|
248
|
-
finishText?: string;
|
|
249
|
-
closeAriaLabel?: string;
|
|
250
|
-
}
|
|
251
|
-
interface TigerLocaleCalendar {
|
|
252
|
-
previousMonth?: string;
|
|
253
|
-
nextMonth?: string;
|
|
254
|
-
previousYear?: string;
|
|
255
|
-
nextYear?: string;
|
|
256
|
-
yearSelectAriaLabel?: string;
|
|
257
|
-
monthSelectAriaLabel?: string;
|
|
258
|
-
daySelectAriaLabel?: string;
|
|
259
|
-
}
|
|
260
|
-
interface TigerLocaleFileManager {
|
|
261
|
-
rootText?: string;
|
|
262
|
-
}
|
|
263
|
-
interface TigerLocaleImageViewer {
|
|
264
|
-
dialogAriaLabel?: string;
|
|
265
|
-
previewDialogAriaLabel?: string;
|
|
266
|
-
closeAriaLabel?: string;
|
|
267
|
-
closePreviewAriaLabel?: string;
|
|
268
|
-
previousImageAriaLabel?: string;
|
|
269
|
-
nextImageAriaLabel?: string;
|
|
270
|
-
zoomOutAriaLabel?: string;
|
|
271
|
-
resetAriaLabel?: string;
|
|
272
|
-
zoomInAriaLabel?: string;
|
|
273
|
-
rotateLeftAriaLabel?: string;
|
|
274
|
-
rotateRightAriaLabel?: string;
|
|
275
|
-
}
|
|
276
|
-
interface TigerLocaleImageEditor {
|
|
277
|
-
selectImageText?: string;
|
|
278
|
-
selectImageAriaLabel?: string;
|
|
279
|
-
cropModalTitle?: string;
|
|
280
|
-
cropCancelText?: string;
|
|
281
|
-
cropConfirmText?: string;
|
|
282
|
-
cropperDialogAriaLabel?: string;
|
|
283
|
-
imageToCropAriaLabel?: string;
|
|
284
|
-
moveCropAreaAriaLabel?: string;
|
|
285
|
-
resizeCropAreaAriaLabel?: string;
|
|
286
|
-
loadingCropImageAriaLabel?: string;
|
|
287
|
-
annotationToolbarAriaLabel?: string;
|
|
288
|
-
annotationEditorAriaLabel?: string;
|
|
289
|
-
annotationCanvasAriaLabel?: string;
|
|
290
|
-
loadingAnnotationImageAriaLabel?: string;
|
|
291
|
-
selectToolText?: string;
|
|
292
|
-
rectangleToolText?: string;
|
|
293
|
-
ellipseToolText?: string;
|
|
294
|
-
polygonToolText?: string;
|
|
295
|
-
freehandToolText?: string;
|
|
296
|
-
deleteText?: string;
|
|
297
|
-
}
|
|
298
|
-
interface TigerLocaleStatus {
|
|
299
|
-
tagCloseAriaLabel?: string;
|
|
300
|
-
badgeLabel?: string;
|
|
301
|
-
badgeCountLabel?: string;
|
|
302
|
-
}
|
|
303
|
-
type TigerLocaleTimePicker = Partial<TimePickerLabels>;
|
|
304
|
-
interface TigerLocaleTaskBoard {
|
|
305
|
-
/** Placeholder shown inside an empty column */
|
|
306
|
-
emptyColumnText?: string;
|
|
307
|
-
/** Label for the add-card button */
|
|
308
|
-
addCardText?: string;
|
|
309
|
-
/** Label for the add-column button */
|
|
310
|
-
addColumnText?: string;
|
|
311
|
-
/** Template: supports {limit} */
|
|
312
|
-
wipLimitText?: string;
|
|
313
|
-
/** Aria hint for draggable items */
|
|
314
|
-
dragHintText?: string;
|
|
315
|
-
/** Aria label for the board root region */
|
|
316
|
-
boardAriaLabel?: string;
|
|
317
|
-
}
|
|
318
|
-
interface TigerLocaleChatWindow {
|
|
319
|
-
emptyText?: string;
|
|
320
|
-
sendText?: string;
|
|
321
|
-
placeholder?: string;
|
|
322
|
-
sendingText?: string;
|
|
323
|
-
sentText?: string;
|
|
324
|
-
failedText?: string;
|
|
325
|
-
}
|
|
326
|
-
interface TigerLocaleCode {
|
|
327
|
-
copyLabel?: string;
|
|
328
|
-
copiedLabel?: string;
|
|
329
|
-
copyFailedLabel?: string;
|
|
330
|
-
}
|
|
331
|
-
interface TigerLocaleCommentThread {
|
|
332
|
-
emptyText?: string;
|
|
333
|
-
replyPlaceholder?: string;
|
|
334
|
-
replyButtonText?: string;
|
|
335
|
-
cancelReplyText?: string;
|
|
336
|
-
likeText?: string;
|
|
337
|
-
likedText?: string;
|
|
338
|
-
replyText?: string;
|
|
339
|
-
moreText?: string;
|
|
340
|
-
loadMoreText?: string;
|
|
341
|
-
collapseRepliesText?: string;
|
|
342
|
-
/** Template: supports {count} */
|
|
343
|
-
expandRepliesText?: string;
|
|
344
|
-
}
|
|
345
|
-
interface TigerLocaleActivityFeed {
|
|
346
|
-
emptyText?: string;
|
|
347
|
-
loadingText?: string;
|
|
348
|
-
}
|
|
349
|
-
interface TigerLocaleNotificationCenter {
|
|
350
|
-
title?: string;
|
|
351
|
-
emptyText?: string;
|
|
352
|
-
loadingText?: string;
|
|
353
|
-
allLabel?: string;
|
|
354
|
-
unreadLabel?: string;
|
|
355
|
-
readLabel?: string;
|
|
356
|
-
markAllReadText?: string;
|
|
357
|
-
markReadText?: string;
|
|
358
|
-
markUnreadText?: string;
|
|
359
|
-
}
|
|
360
|
-
interface TigerLocaleSelect {
|
|
361
|
-
/** Mobile dropdown completion action text */
|
|
362
|
-
doneText?: string;
|
|
363
|
-
/** Trigger placeholder when no option is selected */
|
|
364
|
-
placeholder?: string;
|
|
365
|
-
/** Empty options list / no-match copy */
|
|
366
|
-
emptyText?: string;
|
|
367
|
-
}
|
|
368
|
-
interface TigerLocaleColorPicker {
|
|
369
|
-
/** Trigger aria-label / title. Default "Pick color". */
|
|
370
|
-
trigger?: string;
|
|
371
|
-
/** Panel heading and dialog accessible name */
|
|
372
|
-
panelTitle?: string;
|
|
373
|
-
/** Clear-color action text */
|
|
374
|
-
clear?: string;
|
|
375
|
-
/** Hue slider label */
|
|
376
|
-
hue?: string;
|
|
377
|
-
/** Alpha slider label */
|
|
378
|
-
alpha?: string;
|
|
379
|
-
/** Color value input aria-label */
|
|
380
|
-
value?: string;
|
|
381
|
-
/** Preview swatch aria-label */
|
|
382
|
-
preview?: string;
|
|
383
|
-
/** Preset swatch aria-label. Template: supports {color} */
|
|
384
|
-
selectPreset?: string;
|
|
385
|
-
}
|
|
386
|
-
interface TigerLocaleTabs {
|
|
387
|
-
addTabAriaLabel?: string;
|
|
388
|
-
/** Template: supports {label} */
|
|
389
|
-
closeTabAriaLabel?: string;
|
|
390
|
-
}
|
|
391
|
-
interface TigerLocaleRate {
|
|
392
|
-
ariaLabel?: string;
|
|
393
|
-
/** Template: supports {value} */
|
|
394
|
-
valueText?: string;
|
|
395
|
-
}
|
|
396
|
-
interface TigerLocaleAvatarGroup {
|
|
397
|
-
ariaLabel?: string;
|
|
398
|
-
/** Template: supports {count} */
|
|
399
|
-
overflowAriaLabel?: string;
|
|
400
|
-
}
|
|
401
|
-
interface TigerLocaleCarousel {
|
|
402
|
-
ariaLabel?: string;
|
|
403
|
-
navigationAriaLabel?: string;
|
|
404
|
-
previousSlideAriaLabel?: string;
|
|
405
|
-
nextSlideAriaLabel?: string;
|
|
406
|
-
/** Template: supports {index} */
|
|
407
|
-
goToSlideAriaLabel?: string;
|
|
408
|
-
/** Template: supports {index} and {total} */
|
|
409
|
-
slideAriaLabel?: string;
|
|
410
|
-
}
|
|
411
|
-
interface TigerLocaleTransfer {
|
|
412
|
-
sourceTitle?: string;
|
|
413
|
-
targetTitle?: string;
|
|
414
|
-
/** Template: supports {title} */
|
|
415
|
-
searchAriaLabel?: string;
|
|
416
|
-
/** Template: supports {title} */
|
|
417
|
-
itemsAriaLabel?: string;
|
|
418
|
-
moveToTargetAriaLabel?: string;
|
|
419
|
-
moveToSourceAriaLabel?: string;
|
|
420
|
-
}
|
|
421
|
-
interface TigerLocaleChart {
|
|
422
|
-
legendAriaLabel?: string;
|
|
423
|
-
/** Template: supports {index}, {x}, {y} */
|
|
424
|
-
pointAriaLabel?: string;
|
|
425
|
-
}
|
|
426
|
-
interface TigerLocaleMarkdownEditor {
|
|
427
|
-
formattingToolbarAriaLabel?: string;
|
|
428
|
-
modeToolbarAriaLabel?: string;
|
|
429
|
-
editorAriaLabel?: string;
|
|
430
|
-
previewAriaLabel?: string;
|
|
431
|
-
editModeLabel?: string;
|
|
432
|
-
splitModeLabel?: string;
|
|
433
|
-
previewModeLabel?: string;
|
|
434
|
-
bold?: string;
|
|
435
|
-
italic?: string;
|
|
436
|
-
strikethrough?: string;
|
|
437
|
-
heading?: string;
|
|
438
|
-
blockquote?: string;
|
|
439
|
-
unorderedList?: string;
|
|
440
|
-
orderedList?: string;
|
|
441
|
-
inlineCode?: string;
|
|
442
|
-
codeBlock?: string;
|
|
443
|
-
link?: string;
|
|
444
|
-
image?: string;
|
|
445
|
-
table?: string;
|
|
446
|
-
horizontalRule?: string;
|
|
447
|
-
}
|
|
448
|
-
interface TigerLocaleRichTextEditor {
|
|
449
|
-
formattingToolbarAriaLabel?: string;
|
|
450
|
-
editorAriaLabel?: string;
|
|
451
|
-
bold?: string;
|
|
452
|
-
italic?: string;
|
|
453
|
-
underline?: string;
|
|
454
|
-
strikethrough?: string;
|
|
455
|
-
heading1?: string;
|
|
456
|
-
heading2?: string;
|
|
457
|
-
heading3?: string;
|
|
458
|
-
bulletList?: string;
|
|
459
|
-
orderedList?: string;
|
|
460
|
-
blockquote?: string;
|
|
461
|
-
codeBlock?: string;
|
|
462
|
-
link?: string;
|
|
463
|
-
image?: string;
|
|
464
|
-
horizontalRule?: string;
|
|
465
|
-
undo?: string;
|
|
466
|
-
redo?: string;
|
|
467
|
-
clear?: string;
|
|
468
|
-
}
|
|
469
|
-
interface TigerLocaleCronEditor {
|
|
470
|
-
ariaLabel?: string;
|
|
471
|
-
expressionAriaLabel?: string;
|
|
472
|
-
presetAriaLabel?: string;
|
|
473
|
-
presetPlaceholder?: string;
|
|
474
|
-
everyMinutePreset?: string;
|
|
475
|
-
hourlyPreset?: string;
|
|
476
|
-
dailyPreset?: string;
|
|
477
|
-
weeklyPreset?: string;
|
|
478
|
-
monthlyPreset?: string;
|
|
479
|
-
minuteLabel?: string;
|
|
480
|
-
hourLabel?: string;
|
|
481
|
-
dayOfMonthLabel?: string;
|
|
482
|
-
monthLabel?: string;
|
|
483
|
-
dayOfWeekLabel?: string;
|
|
484
|
-
modeAnyLabel?: string;
|
|
485
|
-
modeEveryLabel?: string;
|
|
486
|
-
modeSpecificLabel?: string;
|
|
487
|
-
modeRangeLabel?: string;
|
|
488
|
-
modeCustomLabel?: string;
|
|
489
|
-
modeAriaLabel?: string;
|
|
490
|
-
stepAriaLabel?: string;
|
|
491
|
-
valueAriaLabel?: string;
|
|
492
|
-
rangeStartAriaLabel?: string;
|
|
493
|
-
rangeEndAriaLabel?: string;
|
|
494
|
-
customValueAriaLabel?: string;
|
|
495
|
-
expressionFieldsError?: string;
|
|
496
|
-
fieldRequiredError?: string;
|
|
497
|
-
invalidStepError?: string;
|
|
498
|
-
stepRangeError?: string;
|
|
499
|
-
fieldRangeError?: string;
|
|
500
|
-
rangeOrderError?: string;
|
|
501
|
-
invalidFieldError?: string;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* Built-in form-validation messages.
|
|
505
|
-
*
|
|
506
|
-
* Used by `validateRule`/`validateField`/`validateForm` to localize the
|
|
507
|
-
* default error messages. A per-rule `message` always takes precedence over
|
|
508
|
-
* these. Range messages support `{min}` / `{max}` placeholders.
|
|
509
|
-
*/
|
|
510
|
-
interface TigerLocaleFormValidation {
|
|
511
|
-
/** Required-field message */
|
|
512
|
-
required?: string;
|
|
513
|
-
/** Type errors */
|
|
514
|
-
typeString?: string;
|
|
515
|
-
typeNumber?: string;
|
|
516
|
-
typeBoolean?: string;
|
|
517
|
-
typeArray?: string;
|
|
518
|
-
typeObject?: string;
|
|
519
|
-
/** Preset type errors */
|
|
520
|
-
email?: string;
|
|
521
|
-
phone?: string;
|
|
522
|
-
url?: string;
|
|
523
|
-
date?: string;
|
|
524
|
-
idCard?: string;
|
|
525
|
-
/** Range errors — template: supports {min} */
|
|
526
|
-
minLength?: string;
|
|
527
|
-
/** Template: supports {max} */
|
|
528
|
-
maxLength?: string;
|
|
529
|
-
/** Template: supports {min} */
|
|
530
|
-
minValue?: string;
|
|
531
|
-
/** Template: supports {max} */
|
|
532
|
-
maxValue?: string;
|
|
533
|
-
/** Template: supports {min} */
|
|
534
|
-
minItems?: string;
|
|
535
|
-
/** Template: supports {max} */
|
|
536
|
-
maxItems?: string;
|
|
537
|
-
/** Pattern mismatch message */
|
|
538
|
-
patternMismatch?: string;
|
|
539
|
-
/** Custom validator returned false */
|
|
540
|
-
validatorFailed?: string;
|
|
541
|
-
/** Custom validator threw */
|
|
542
|
-
validatorError?: string;
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* InputOTP labels.
|
|
546
|
-
* @since 2.1.0
|
|
547
|
-
*/
|
|
548
|
-
interface TigerLocaleInputOTP {
|
|
549
|
-
/** Accessible label for the slot group */
|
|
550
|
-
groupLabel?: string;
|
|
551
|
-
/** Per-slot aria-label — template: supports {index} (1-based) and {total} */
|
|
552
|
-
slotLabel?: string;
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* TagsInput labels.
|
|
556
|
-
* @since 2.1.0
|
|
557
|
-
*/
|
|
558
|
-
interface TigerLocaleTagsInput {
|
|
559
|
-
/** Remove-tag button aria-label — template: supports {tag} */
|
|
560
|
-
removeTagLabel?: string;
|
|
561
|
-
/** Clear-all button aria-label */
|
|
562
|
-
clearAllLabel?: string;
|
|
563
|
-
}
|
|
564
|
-
interface TigerLocale {
|
|
565
|
-
/** BCP 47 locale identifier, for Intl formatting and direction inference. */
|
|
566
|
-
locale?: string;
|
|
567
|
-
/** Text/layout direction. RTL locales should set this to `rtl`. */
|
|
568
|
-
direction?: TigerLocaleDirection;
|
|
569
|
-
common?: TigerLocaleCommon;
|
|
570
|
-
empty?: TigerLocaleEmpty;
|
|
571
|
-
modal?: TigerLocaleModal;
|
|
572
|
-
drawer?: TigerLocaleDrawer;
|
|
573
|
-
qrcode?: TigerLocaleQRCode;
|
|
574
|
-
timeline?: TigerLocaleTimeline;
|
|
575
|
-
upload?: TigerLocaleUpload;
|
|
576
|
-
pagination?: TigerLocalePagination;
|
|
577
|
-
table?: TigerLocaleTable;
|
|
578
|
-
datePicker?: Partial<DatePickerLocalePreset>;
|
|
579
|
-
timePicker?: TigerLocaleTimePicker;
|
|
580
|
-
dataExport?: TigerLocaleDataExport;
|
|
581
|
-
formWizard?: TigerLocaleFormWizard;
|
|
582
|
-
tour?: TigerLocaleTour;
|
|
583
|
-
calendar?: TigerLocaleCalendar;
|
|
584
|
-
fileManager?: TigerLocaleFileManager;
|
|
585
|
-
imageViewer?: TigerLocaleImageViewer;
|
|
586
|
-
imageEditor?: TigerLocaleImageEditor;
|
|
587
|
-
status?: TigerLocaleStatus;
|
|
588
|
-
taskBoard?: TigerLocaleTaskBoard;
|
|
589
|
-
chatWindow?: TigerLocaleChatWindow;
|
|
590
|
-
code?: TigerLocaleCode;
|
|
591
|
-
commentThread?: TigerLocaleCommentThread;
|
|
592
|
-
activityFeed?: TigerLocaleActivityFeed;
|
|
593
|
-
notificationCenter?: TigerLocaleNotificationCenter;
|
|
594
|
-
select?: TigerLocaleSelect;
|
|
595
|
-
colorPicker?: TigerLocaleColorPicker;
|
|
596
|
-
tabs?: TigerLocaleTabs;
|
|
597
|
-
rate?: TigerLocaleRate;
|
|
598
|
-
avatarGroup?: TigerLocaleAvatarGroup;
|
|
599
|
-
carousel?: TigerLocaleCarousel;
|
|
600
|
-
transfer?: TigerLocaleTransfer;
|
|
601
|
-
chart?: TigerLocaleChart;
|
|
602
|
-
markdownEditor?: TigerLocaleMarkdownEditor;
|
|
603
|
-
richTextEditor?: TigerLocaleRichTextEditor;
|
|
604
|
-
cronEditor?: TigerLocaleCronEditor;
|
|
605
|
-
formValidation?: TigerLocaleFormValidation;
|
|
606
|
-
inputOtp?: TigerLocaleInputOTP;
|
|
607
|
-
tagsInput?: TigerLocaleTagsInput;
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* Flat custom-text overlay for single-language projects that do not need i18n.
|
|
611
|
-
*
|
|
612
|
-
* Same shape as `TigerLocale` but without the `locale` code / `direction`
|
|
613
|
-
* fields — it carries only the component text. Pass it to
|
|
614
|
-
* `<ConfigProvider locale={defineText({...})} />` for app-wide custom text, or
|
|
615
|
-
* to a component's `labels` prop for a one-off override. No locale data files
|
|
616
|
-
* are pulled in, so the bundle stays small.
|
|
617
|
-
*/
|
|
618
|
-
type TigerText = Omit<Partial<TigerLocale>, 'locale' | 'direction'>;
|
|
619
|
-
type TigerLocaleLazyModule = Partial<TigerLocale> | {
|
|
620
|
-
default?: Partial<TigerLocale>;
|
|
621
|
-
} | Record<string, unknown>;
|
|
622
|
-
type TigerLocaleLoader = () => PromiseLike<TigerLocaleLazyModule>;
|
|
623
|
-
type TigerLocaleInput = Partial<TigerLocale> | PromiseLike<TigerLocaleLazyModule> | TigerLocaleLoader;
|
|
624
|
-
|
|
625
|
-
export type { TigerLocaleTabs as A, TigerLocaleTagsInput as B, TigerLocaleTaskBoard as C, TimePickerLabels as D, TigerLocaleTour as E, TigerLocaleTransfer as F, TigerLocaleDirection as G, TigerLocaleLazyModule as H, TigerLocaleLoader as I, TigerText as J, TimeFormat as K, TigerLocaleDrawer as L, TigerLocaleModal as M, TigerLocaleCommon as N, TigerLocaleEmpty as O, TigerLocaleQRCode as P, TigerLocaleTimePicker as Q, TigerLocaleTimeline as R, TigerLocaleUpload as S, TigerLocale as T, TimePickerModelValue as U, TimePickerProps as V, TigerLocaleInput as a, TigerLocalePagination as b, TigerLocaleTable as c, TigerLocaleActivityFeed as d, TigerLocaleAvatarGroup as e, TigerLocaleCalendar as f, TigerLocaleCarousel as g, TigerLocaleChart as h, TigerLocaleChatWindow as i, TigerLocaleCode as j, TigerLocaleColorPicker as k, TigerLocaleCommentThread as l, TigerLocaleCronEditor as m, TigerLocaleDataExport as n, TigerLocaleFileManager as o, TigerLocaleFormValidation as p, TigerLocaleFormWizard as q, TigerLocaleImageEditor as r, TigerLocaleImageViewer as s, TigerLocaleInputOTP as t, TigerLocaleMarkdownEditor as u, TigerLocaleNotificationCenter as v, TigerLocaleRate as w, TigerLocaleRichTextEditor as x, TigerLocaleSelect as y, TigerLocaleStatus as z };
|