@expcat/tigercat-core 1.4.0 → 2.0.0-preview.1
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/{datepicker-DXzS_8l8.d.cts → datepicker-ZdzYUqm5.d.ts} +77 -11
- package/dist/datepicker-locales/ar-SA.d.ts +1 -1
- package/dist/datepicker-locales/de-DE.d.ts +1 -1
- package/dist/datepicker-locales/en-US.d.ts +1 -1
- package/dist/datepicker-locales/es-ES.d.ts +1 -1
- package/dist/datepicker-locales/fr-FR.d.ts +1 -1
- package/dist/datepicker-locales/id-ID.d.ts +1 -1
- package/dist/datepicker-locales/ja-JP.d.ts +1 -1
- package/dist/datepicker-locales/ko-KR.d.ts +1 -1
- package/dist/datepicker-locales/pt-BR.d.ts +1 -1
- package/dist/datepicker-locales/registry.d.ts +7 -0
- package/dist/datepicker-locales/registry.js +224 -0
- package/dist/datepicker-locales/th-TH.d.ts +1 -1
- package/dist/datepicker-locales/vi-VN.d.ts +1 -1
- package/dist/datepicker-locales/zh-CN.d.ts +1 -1
- package/dist/datepicker-locales/zh-TW.d.ts +1 -1
- package/dist/icons/picker.d.ts +1 -13
- package/dist/icons/picker.js +0 -12
- package/dist/index.d.ts +12341 -12244
- package/dist/index.js +1482 -659
- package/dist/{locale-9tTj1QdZ.d.ts → locale-44p_QYnH.d.ts} +96 -7
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +122 -1
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +122 -1
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/en-US.js +98 -1
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +122 -1
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +122 -1
- package/dist/locales/id-ID.d.ts +2 -2
- package/dist/locales/id-ID.js +268 -2
- package/dist/locales/ja-JP.d.ts +2 -2
- package/dist/locales/ja-JP.js +268 -2
- package/dist/locales/ko-KR.d.ts +2 -2
- package/dist/locales/ko-KR.js +268 -2
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +122 -1
- package/dist/locales/th-TH.d.ts +2 -2
- package/dist/locales/th-TH.js +268 -2
- package/dist/locales/vi-VN.d.ts +2 -2
- package/dist/locales/vi-VN.js +268 -2
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-CN.js +98 -1
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +268 -2
- package/dist/{table-export-GRimhvlM.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
- package/dist/tailwind/modern.d.ts +2 -3
- package/dist/tailwind/modern.js +75 -80
- package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
- package/dist/tailwind.d.ts +2 -3
- package/dist/tailwind.js +123 -70
- package/dist/utils/table-export.d.ts +3 -3
- package/package.json +43 -73
- package/tokens/tailwind-tokens.js +6 -3
- package/tokens/tokens.css +8 -322
- package/dist/datepicker-DXzS_8l8.d.ts +0 -130
- package/dist/datepicker-locales/ar-SA.cjs +0 -46
- package/dist/datepicker-locales/ar-SA.d.cts +0 -6
- package/dist/datepicker-locales/de-DE.cjs +0 -46
- package/dist/datepicker-locales/de-DE.d.cts +0 -6
- package/dist/datepicker-locales/en-US.cjs +0 -46
- package/dist/datepicker-locales/en-US.d.cts +0 -6
- package/dist/datepicker-locales/es-ES.cjs +0 -46
- package/dist/datepicker-locales/es-ES.d.cts +0 -6
- package/dist/datepicker-locales/fr-FR.cjs +0 -46
- package/dist/datepicker-locales/fr-FR.d.cts +0 -6
- package/dist/datepicker-locales/id-ID.cjs +0 -46
- package/dist/datepicker-locales/id-ID.d.cts +0 -6
- package/dist/datepicker-locales/ja-JP.cjs +0 -46
- package/dist/datepicker-locales/ja-JP.d.cts +0 -6
- package/dist/datepicker-locales/ko-KR.cjs +0 -46
- package/dist/datepicker-locales/ko-KR.d.cts +0 -6
- package/dist/datepicker-locales/pt-BR.cjs +0 -46
- package/dist/datepicker-locales/pt-BR.d.cts +0 -6
- package/dist/datepicker-locales/th-TH.cjs +0 -46
- package/dist/datepicker-locales/th-TH.d.cts +0 -6
- package/dist/datepicker-locales/vi-VN.cjs +0 -46
- package/dist/datepicker-locales/vi-VN.d.cts +0 -6
- package/dist/datepicker-locales/zh-CN.cjs +0 -46
- package/dist/datepicker-locales/zh-CN.d.cts +0 -6
- package/dist/datepicker-locales/zh-TW.cjs +0 -46
- package/dist/datepicker-locales/zh-TW.d.cts +0 -6
- package/dist/icons/common.cjs +0 -54
- package/dist/icons/common.d.cts +0 -20
- package/dist/icons/picker.cjs +0 -75
- package/dist/icons/picker.d.cts +0 -53
- package/dist/icons/registry.cjs +0 -172
- package/dist/icons/registry.d.cts +0 -102
- package/dist/icons/status.cjs +0 -47
- package/dist/icons/status.d.cts +0 -13
- package/dist/icons/table.cjs +0 -48
- package/dist/icons/table.d.cts +0 -25
- package/dist/index.cjs +0 -21268
- package/dist/index.d.cts +0 -20129
- package/dist/locale-DxwhmqfF.d.cts +0 -300
- package/dist/locales/ar-SA.cjs +0 -254
- package/dist/locales/ar-SA.d.cts +0 -10
- package/dist/locales/de-DE.cjs +0 -254
- package/dist/locales/de-DE.d.cts +0 -10
- package/dist/locales/en-US.cjs +0 -149
- package/dist/locales/en-US.d.cts +0 -10
- package/dist/locales/es-ES.cjs +0 -254
- package/dist/locales/es-ES.d.cts +0 -10
- package/dist/locales/fr-FR.cjs +0 -254
- package/dist/locales/fr-FR.d.cts +0 -10
- package/dist/locales/id-ID.cjs +0 -90
- package/dist/locales/id-ID.d.cts +0 -10
- package/dist/locales/ja-JP.cjs +0 -90
- package/dist/locales/ja-JP.d.cts +0 -10
- package/dist/locales/ko-KR.cjs +0 -90
- package/dist/locales/ko-KR.d.cts +0 -10
- package/dist/locales/pt-BR.cjs +0 -254
- package/dist/locales/pt-BR.d.cts +0 -10
- package/dist/locales/th-TH.cjs +0 -90
- package/dist/locales/th-TH.d.cts +0 -10
- package/dist/locales/vi-VN.cjs +0 -90
- package/dist/locales/vi-VN.d.cts +0 -10
- package/dist/locales/zh-CN.cjs +0 -149
- package/dist/locales/zh-CN.d.cts +0 -10
- package/dist/locales/zh-TW.cjs +0 -90
- package/dist/locales/zh-TW.d.cts +0 -10
- package/dist/table-export-BMBH75rj.d.cts +0 -882
- package/dist/tailwind/modern.cjs +0 -368
- package/dist/tailwind/modern.d.cts +0 -6
- package/dist/tailwind-entry-DUchHtjs.d.cts +0 -218
- package/dist/tailwind.cjs +0 -221
- package/dist/tailwind.d.cts +0 -3
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
- package/dist/utils/table-export.cjs +0 -119
- package/dist/utils/table-export.d.cts +0 -3
package/dist/locales/vi-VN.js
CHANGED
|
@@ -1,7 +1,264 @@
|
|
|
1
|
+
// src/utils/locale-utils.ts
|
|
2
|
+
var DEFAULT_TIME_PICKER_LABELS = {
|
|
3
|
+
hour: "Hour",
|
|
4
|
+
minute: "Min",
|
|
5
|
+
second: "Sec",
|
|
6
|
+
now: "Now",
|
|
7
|
+
ok: "OK",
|
|
8
|
+
start: "Start",
|
|
9
|
+
end: "End",
|
|
10
|
+
clear: "Clear time",
|
|
11
|
+
toggle: "Toggle time picker",
|
|
12
|
+
dialog: "Time picker",
|
|
13
|
+
selectTime: "Select time",
|
|
14
|
+
selectTimeRange: "Select time range"
|
|
15
|
+
};
|
|
16
|
+
var DEFAULT_UPLOAD_LABELS = {
|
|
17
|
+
dragAreaAriaLabel: "Upload file by clicking or dragging",
|
|
18
|
+
buttonAriaLabel: "Upload file",
|
|
19
|
+
clickToUploadText: "Click to upload",
|
|
20
|
+
dragAndDropText: "or drag and drop",
|
|
21
|
+
acceptInfoText: "Accepted: {accept}",
|
|
22
|
+
maxSizeInfoText: "Max size: {maxSize}",
|
|
23
|
+
selectFileText: "Select File",
|
|
24
|
+
uploadedFilesAriaLabel: "Uploaded files",
|
|
25
|
+
successAriaLabel: "Success",
|
|
26
|
+
errorAriaLabel: "Error",
|
|
27
|
+
uploadingAriaLabel: "Uploading",
|
|
28
|
+
removeFileAriaLabel: "Remove {fileName}",
|
|
29
|
+
previewFileAriaLabel: "Preview {fileName}"
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// src/utils/i18n/datepicker-locales/en-US.ts
|
|
33
|
+
var EN_US_DATEPICKER_LOCALE = {
|
|
34
|
+
locale: "en-US",
|
|
35
|
+
labels: {
|
|
36
|
+
today: "Today",
|
|
37
|
+
ok: "OK",
|
|
38
|
+
calendar: "Calendar",
|
|
39
|
+
toggleCalendar: "Toggle calendar",
|
|
40
|
+
clearDate: "Clear date",
|
|
41
|
+
previousMonth: "Previous month",
|
|
42
|
+
nextMonth: "Next month"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// src/utils/i18n/locales/en-US.ts
|
|
47
|
+
var enUS = {
|
|
48
|
+
locale: "en-US",
|
|
49
|
+
direction: "ltr",
|
|
50
|
+
common: {
|
|
51
|
+
okText: "OK",
|
|
52
|
+
cancelText: "Cancel",
|
|
53
|
+
closeText: "Close",
|
|
54
|
+
loadingText: "Loading...",
|
|
55
|
+
emptyText: "No data",
|
|
56
|
+
noMoreText: "No more data",
|
|
57
|
+
searchPlaceholder: "Search",
|
|
58
|
+
clearText: "Clear"
|
|
59
|
+
},
|
|
60
|
+
empty: {
|
|
61
|
+
noData: "No data",
|
|
62
|
+
noDataAvailable: "No data available",
|
|
63
|
+
noResults: "No results found",
|
|
64
|
+
error: "Something went wrong"
|
|
65
|
+
},
|
|
66
|
+
modal: {
|
|
67
|
+
closeAriaLabel: "Close",
|
|
68
|
+
okText: "OK",
|
|
69
|
+
cancelText: "Cancel"
|
|
70
|
+
},
|
|
71
|
+
drawer: {
|
|
72
|
+
closeAriaLabel: "Close"
|
|
73
|
+
},
|
|
74
|
+
qrcode: {
|
|
75
|
+
ariaLabel: "QR Code",
|
|
76
|
+
expiredText: "QR code expired",
|
|
77
|
+
refreshText: "Refresh",
|
|
78
|
+
loadingText: "Loading..."
|
|
79
|
+
},
|
|
80
|
+
timeline: {
|
|
81
|
+
pendingText: "Loading..."
|
|
82
|
+
},
|
|
83
|
+
upload: DEFAULT_UPLOAD_LABELS,
|
|
84
|
+
pagination: {
|
|
85
|
+
totalText: "Total {total} items",
|
|
86
|
+
itemsPerPageText: "/ page",
|
|
87
|
+
jumpToText: "Go to",
|
|
88
|
+
pageText: "page",
|
|
89
|
+
prevPageAriaLabel: "Previous page",
|
|
90
|
+
nextPageAriaLabel: "Next page",
|
|
91
|
+
pageAriaLabel: "Page {page}",
|
|
92
|
+
pageIndicatorText: "Page {current} of {total}"
|
|
93
|
+
},
|
|
94
|
+
table: {
|
|
95
|
+
emptyText: "No data",
|
|
96
|
+
loadingText: "Loading",
|
|
97
|
+
expandText: "Expand",
|
|
98
|
+
collapseText: "Collapse",
|
|
99
|
+
selectAllText: "Select all",
|
|
100
|
+
selectRowAriaLabel: "Select row {row}",
|
|
101
|
+
sortByText: "Sort by {column}",
|
|
102
|
+
clearSortText: "Clear sort",
|
|
103
|
+
toolbarAriaLabel: "Data table toolbar",
|
|
104
|
+
searchPlaceholder: "Search",
|
|
105
|
+
searchButtonText: "Search",
|
|
106
|
+
selectedText: "Selected",
|
|
107
|
+
selectedItemsText: "items",
|
|
108
|
+
columnSettingsText: "Column settings",
|
|
109
|
+
columnSettingsAriaLabel: "Column settings",
|
|
110
|
+
lockColumnAriaLabel: "Lock column {column}",
|
|
111
|
+
unlockColumnAriaLabel: "Unlock column {column}",
|
|
112
|
+
allText: "All",
|
|
113
|
+
filterPlaceholder: "Filter...",
|
|
114
|
+
exportCsvText: "Export CSV",
|
|
115
|
+
exportExcelText: "Export Excel",
|
|
116
|
+
exportCsvAriaLabel: "Export to CSV",
|
|
117
|
+
exportExcelAriaLabel: "Export to Excel",
|
|
118
|
+
expandRowAriaLabel: "Expand row",
|
|
119
|
+
collapseRowAriaLabel: "Collapse row"
|
|
120
|
+
},
|
|
121
|
+
datePicker: EN_US_DATEPICKER_LOCALE,
|
|
122
|
+
timePicker: DEFAULT_TIME_PICKER_LABELS,
|
|
123
|
+
formWizard: {
|
|
124
|
+
prevText: "Previous",
|
|
125
|
+
nextText: "Next",
|
|
126
|
+
finishText: "Finish"
|
|
127
|
+
},
|
|
128
|
+
tour: {
|
|
129
|
+
prevText: "Previous",
|
|
130
|
+
nextText: "Next",
|
|
131
|
+
finishText: "Finish",
|
|
132
|
+
closeAriaLabel: "Close tour"
|
|
133
|
+
},
|
|
134
|
+
calendar: {
|
|
135
|
+
previousMonth: "Previous month",
|
|
136
|
+
nextMonth: "Next month",
|
|
137
|
+
previousYear: "Previous year",
|
|
138
|
+
nextYear: "Next year",
|
|
139
|
+
yearSelectAriaLabel: "Year",
|
|
140
|
+
monthSelectAriaLabel: "Month",
|
|
141
|
+
daySelectAriaLabel: "Day"
|
|
142
|
+
},
|
|
143
|
+
fileManager: {
|
|
144
|
+
rootText: "Root"
|
|
145
|
+
},
|
|
146
|
+
imageViewer: {
|
|
147
|
+
dialogAriaLabel: "Image viewer",
|
|
148
|
+
previewDialogAriaLabel: "Image preview",
|
|
149
|
+
closeAriaLabel: "Close",
|
|
150
|
+
closePreviewAriaLabel: "Close preview",
|
|
151
|
+
previousImageAriaLabel: "Previous image",
|
|
152
|
+
nextImageAriaLabel: "Next image",
|
|
153
|
+
zoomOutAriaLabel: "Zoom out",
|
|
154
|
+
resetAriaLabel: "Reset",
|
|
155
|
+
zoomInAriaLabel: "Zoom in",
|
|
156
|
+
rotateLeftAriaLabel: "Rotate left",
|
|
157
|
+
rotateRightAriaLabel: "Rotate right"
|
|
158
|
+
},
|
|
159
|
+
imageEditor: {
|
|
160
|
+
selectImageText: "Select image",
|
|
161
|
+
selectImageAriaLabel: "Select image to crop and upload",
|
|
162
|
+
cropModalTitle: "Crop image",
|
|
163
|
+
cropCancelText: "Cancel",
|
|
164
|
+
cropConfirmText: "Confirm crop",
|
|
165
|
+
cropperDialogAriaLabel: "Image cropper",
|
|
166
|
+
imageToCropAriaLabel: "Image to crop",
|
|
167
|
+
moveCropAreaAriaLabel: "Move crop area",
|
|
168
|
+
resizeCropAreaAriaLabel: "Resize crop area {handle}",
|
|
169
|
+
loadingCropImageAriaLabel: "Loading image for cropping",
|
|
170
|
+
annotationToolbarAriaLabel: "Annotation tools",
|
|
171
|
+
annotationEditorAriaLabel: "Image annotation editor",
|
|
172
|
+
annotationCanvasAriaLabel: "Image annotation canvas",
|
|
173
|
+
loadingAnnotationImageAriaLabel: "Loading image for annotation",
|
|
174
|
+
selectToolText: "Select",
|
|
175
|
+
rectangleToolText: "Rectangle",
|
|
176
|
+
ellipseToolText: "Ellipse",
|
|
177
|
+
polygonToolText: "Polygon",
|
|
178
|
+
freehandToolText: "Freehand",
|
|
179
|
+
deleteText: "Delete"
|
|
180
|
+
},
|
|
181
|
+
status: {
|
|
182
|
+
tagCloseAriaLabel: "Close tag",
|
|
183
|
+
badgeLabel: "notification",
|
|
184
|
+
badgeCountLabel: "{count} notifications"
|
|
185
|
+
},
|
|
186
|
+
taskBoard: {
|
|
187
|
+
emptyColumnText: "No tasks",
|
|
188
|
+
addCardText: "Add task",
|
|
189
|
+
addColumnText: "Add column",
|
|
190
|
+
wipLimitText: "WIP limit: {limit}",
|
|
191
|
+
dragHintText: "Drag to move",
|
|
192
|
+
boardAriaLabel: "Task Board"
|
|
193
|
+
},
|
|
194
|
+
formValidation: {
|
|
195
|
+
required: "This field is required",
|
|
196
|
+
typeString: "Value must be a string",
|
|
197
|
+
typeNumber: "Value must be a number",
|
|
198
|
+
typeBoolean: "Value must be a boolean",
|
|
199
|
+
typeArray: "Value must be an array",
|
|
200
|
+
typeObject: "Value must be an object",
|
|
201
|
+
email: "Please enter a valid email address",
|
|
202
|
+
phone: "Please enter a valid phone number",
|
|
203
|
+
url: "Please enter a valid URL",
|
|
204
|
+
date: "Please enter a valid date",
|
|
205
|
+
idCard: "Please enter a valid ID card number",
|
|
206
|
+
minLength: "Minimum length is {min} characters",
|
|
207
|
+
maxLength: "Maximum length is {max} characters",
|
|
208
|
+
minValue: "Minimum value is {min}",
|
|
209
|
+
maxValue: "Maximum value is {max}",
|
|
210
|
+
minItems: "Minimum {min} items required",
|
|
211
|
+
maxItems: "Maximum {max} items allowed",
|
|
212
|
+
patternMismatch: "Value does not match the required pattern",
|
|
213
|
+
validatorFailed: "Validation failed",
|
|
214
|
+
validatorError: "Validation error occurred"
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
// src/utils/i18n/define-locale.ts
|
|
219
|
+
function isPlainObject(value) {
|
|
220
|
+
if (value === null || typeof value !== "object") return false;
|
|
221
|
+
const proto = Object.getPrototypeOf(value);
|
|
222
|
+
return proto === Object.prototype || proto === null;
|
|
223
|
+
}
|
|
224
|
+
function deepMerge(base, override) {
|
|
225
|
+
if (!override) return { ...base };
|
|
226
|
+
const out = { ...base };
|
|
227
|
+
for (const key of Object.keys(override)) {
|
|
228
|
+
const next = override[key];
|
|
229
|
+
if (next === void 0) continue;
|
|
230
|
+
const prev = base[key];
|
|
231
|
+
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
232
|
+
out[key] = deepMerge(prev, next);
|
|
233
|
+
} else {
|
|
234
|
+
out[key] = next;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
return out;
|
|
238
|
+
}
|
|
239
|
+
function defineLocale(overrides = {}) {
|
|
240
|
+
return deepMerge(enUS, overrides);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// src/utils/i18n/datepicker-locales/vi-VN.ts
|
|
244
|
+
var VI_VN_DATEPICKER_LOCALE = {
|
|
245
|
+
locale: "vi-VN",
|
|
246
|
+
labels: {
|
|
247
|
+
today: "H\xF4m nay",
|
|
248
|
+
ok: "OK",
|
|
249
|
+
calendar: "L\u1ECBch",
|
|
250
|
+
toggleCalendar: "M\u1EDF l\u1ECBch",
|
|
251
|
+
clearDate: "X\xF3a ng\xE0y",
|
|
252
|
+
previousMonth: "Th\xE1ng tr\u01B0\u1EDBc",
|
|
253
|
+
nextMonth: "Th\xE1ng sau"
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
|
|
1
257
|
// src/utils/i18n/locales/vi-VN.ts
|
|
2
|
-
var viVN = {
|
|
258
|
+
var viVN = defineLocale({
|
|
3
259
|
locale: "vi-VN",
|
|
4
260
|
direction: "ltr",
|
|
261
|
+
datePicker: VI_VN_DATEPICKER_LOCALE,
|
|
5
262
|
common: {
|
|
6
263
|
okText: "\u0110\u1ED3ng \xFD",
|
|
7
264
|
cancelText: "H\u1EE7y",
|
|
@@ -18,6 +275,15 @@ var viVN = {
|
|
|
18
275
|
drawer: {
|
|
19
276
|
closeAriaLabel: "\u0110\xF3ng"
|
|
20
277
|
},
|
|
278
|
+
qrcode: {
|
|
279
|
+
ariaLabel: "M\xE3 QR",
|
|
280
|
+
expiredText: "M\xE3 QR \u0111\xE3 h\u1EBFt h\u1EA1n",
|
|
281
|
+
refreshText: "L\xE0m m\u1EDBi",
|
|
282
|
+
loadingText: "\u0110ang t\u1EA3i..."
|
|
283
|
+
},
|
|
284
|
+
timeline: {
|
|
285
|
+
pendingText: "\u0110ang t\u1EA3i..."
|
|
286
|
+
},
|
|
21
287
|
pagination: {
|
|
22
288
|
totalText: "T\u1ED5ng {total} m\u1EE5c",
|
|
23
289
|
itemsPerPageText: "/trang",
|
|
@@ -59,7 +325,7 @@ var viVN = {
|
|
|
59
325
|
dragHintText: "K\xE9o \u0111\u1EC3 di chuy\u1EC3n",
|
|
60
326
|
boardAriaLabel: "B\u1EA3ng nhi\u1EC7m v\u1EE5"
|
|
61
327
|
}
|
|
62
|
-
};
|
|
328
|
+
});
|
|
63
329
|
export {
|
|
64
330
|
viVN
|
|
65
331
|
};
|
package/dist/locales/zh-CN.d.ts
CHANGED
package/dist/locales/zh-CN.js
CHANGED
|
@@ -29,6 +29,20 @@ var ZH_CN_UPLOAD_LABELS = {
|
|
|
29
29
|
previewFileAriaLabel: "\u9884\u89C8 {fileName}"
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
+
// src/utils/i18n/datepicker-locales/zh-CN.ts
|
|
33
|
+
var ZH_CN_DATEPICKER_LOCALE = {
|
|
34
|
+
locale: "zh-CN",
|
|
35
|
+
labels: {
|
|
36
|
+
today: "\u4ECA\u5929",
|
|
37
|
+
ok: "\u786E\u5B9A",
|
|
38
|
+
calendar: "\u65E5\u5386",
|
|
39
|
+
toggleCalendar: "\u6253\u5F00\u65E5\u5386",
|
|
40
|
+
clearDate: "\u6E05\u9664\u65E5\u671F",
|
|
41
|
+
previousMonth: "\u4E0A\u4E2A\u6708",
|
|
42
|
+
nextMonth: "\u4E0B\u4E2A\u6708"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
32
46
|
// src/utils/i18n/locales/zh-CN.ts
|
|
33
47
|
var zhCN = {
|
|
34
48
|
locale: "zh-CN",
|
|
@@ -43,6 +57,12 @@ var zhCN = {
|
|
|
43
57
|
searchPlaceholder: "\u641C\u7D22",
|
|
44
58
|
clearText: "\u6E05\u9664"
|
|
45
59
|
},
|
|
60
|
+
empty: {
|
|
61
|
+
noData: "\u6682\u65E0\u6570\u636E",
|
|
62
|
+
noDataAvailable: "\u6682\u65E0\u53EF\u7528\u6570\u636E",
|
|
63
|
+
noResults: "\u6682\u65E0\u7ED3\u679C",
|
|
64
|
+
error: "\u51FA\u73B0\u9519\u8BEF"
|
|
65
|
+
},
|
|
46
66
|
modal: {
|
|
47
67
|
closeAriaLabel: "\u5173\u95ED",
|
|
48
68
|
okText: "\u786E\u5B9A",
|
|
@@ -51,6 +71,15 @@ var zhCN = {
|
|
|
51
71
|
drawer: {
|
|
52
72
|
closeAriaLabel: "\u5173\u95ED"
|
|
53
73
|
},
|
|
74
|
+
qrcode: {
|
|
75
|
+
ariaLabel: "\u4E8C\u7EF4\u7801",
|
|
76
|
+
expiredText: "\u4E8C\u7EF4\u7801\u5DF2\u8FC7\u671F",
|
|
77
|
+
refreshText: "\u5237\u65B0",
|
|
78
|
+
loadingText: "\u52A0\u8F7D\u4E2D..."
|
|
79
|
+
},
|
|
80
|
+
timeline: {
|
|
81
|
+
pendingText: "\u52A0\u8F7D\u4E2D..."
|
|
82
|
+
},
|
|
54
83
|
upload: ZH_CN_UPLOAD_LABELS,
|
|
55
84
|
pagination: {
|
|
56
85
|
totalText: "\u5171 {total} \u6761",
|
|
@@ -79,17 +108,85 @@ var zhCN = {
|
|
|
79
108
|
columnSettingsText: "\u5217\u8BBE\u7F6E",
|
|
80
109
|
columnSettingsAriaLabel: "\u5217\u8BBE\u7F6E",
|
|
81
110
|
lockColumnAriaLabel: "\u9501\u5B9A{column}\u5217",
|
|
82
|
-
unlockColumnAriaLabel: "\u53D6\u6D88\u9501\u5B9A{column}\u5217"
|
|
111
|
+
unlockColumnAriaLabel: "\u53D6\u6D88\u9501\u5B9A{column}\u5217",
|
|
112
|
+
allText: "\u5168\u90E8",
|
|
113
|
+
filterPlaceholder: "\u7B5B\u9009...",
|
|
114
|
+
exportCsvText: "\u5BFC\u51FA CSV",
|
|
115
|
+
exportExcelText: "\u5BFC\u51FA Excel",
|
|
116
|
+
exportCsvAriaLabel: "\u5BFC\u51FA\u4E3A CSV",
|
|
117
|
+
exportExcelAriaLabel: "\u5BFC\u51FA\u4E3A Excel",
|
|
118
|
+
expandRowAriaLabel: "\u5C55\u5F00\u884C",
|
|
119
|
+
collapseRowAriaLabel: "\u6536\u8D77\u884C"
|
|
83
120
|
},
|
|
121
|
+
datePicker: ZH_CN_DATEPICKER_LOCALE,
|
|
84
122
|
timePicker: ZH_CN_TIME_PICKER_LABELS,
|
|
85
123
|
formWizard: {
|
|
86
124
|
prevText: "\u4E0A\u4E00\u6B65",
|
|
87
125
|
nextText: "\u4E0B\u4E00\u6B65",
|
|
88
126
|
finishText: "\u5B8C\u6210"
|
|
89
127
|
},
|
|
128
|
+
tour: {
|
|
129
|
+
prevText: "\u4E0A\u4E00\u6B65",
|
|
130
|
+
nextText: "\u4E0B\u4E00\u6B65",
|
|
131
|
+
finishText: "\u5B8C\u6210",
|
|
132
|
+
closeAriaLabel: "\u5173\u95ED\u5BFC\u89C8"
|
|
133
|
+
},
|
|
134
|
+
calendar: {
|
|
135
|
+
previousMonth: "\u4E0A\u4E2A\u6708",
|
|
136
|
+
nextMonth: "\u4E0B\u4E2A\u6708",
|
|
137
|
+
previousYear: "\u4E0A\u4E00\u5E74",
|
|
138
|
+
nextYear: "\u4E0B\u4E00\u5E74",
|
|
139
|
+
yearSelectAriaLabel: "\u5E74\u4EFD",
|
|
140
|
+
monthSelectAriaLabel: "\u6708\u4EFD",
|
|
141
|
+
daySelectAriaLabel: "\u65E5\u671F"
|
|
142
|
+
},
|
|
143
|
+
fileManager: {
|
|
144
|
+
rootText: "\u6839\u76EE\u5F55"
|
|
145
|
+
},
|
|
146
|
+
imageViewer: {
|
|
147
|
+
dialogAriaLabel: "\u56FE\u7247\u67E5\u770B\u5668",
|
|
148
|
+
previewDialogAriaLabel: "\u56FE\u7247\u9884\u89C8",
|
|
149
|
+
closeAriaLabel: "\u5173\u95ED",
|
|
150
|
+
closePreviewAriaLabel: "\u5173\u95ED\u9884\u89C8",
|
|
151
|
+
previousImageAriaLabel: "\u4E0A\u4E00\u5F20\u56FE\u7247",
|
|
152
|
+
nextImageAriaLabel: "\u4E0B\u4E00\u5F20\u56FE\u7247",
|
|
153
|
+
zoomOutAriaLabel: "\u7F29\u5C0F",
|
|
154
|
+
resetAriaLabel: "\u91CD\u7F6E",
|
|
155
|
+
zoomInAriaLabel: "\u653E\u5927",
|
|
156
|
+
rotateLeftAriaLabel: "\u5411\u5DE6\u65CB\u8F6C",
|
|
157
|
+
rotateRightAriaLabel: "\u5411\u53F3\u65CB\u8F6C"
|
|
158
|
+
},
|
|
159
|
+
imageEditor: {
|
|
160
|
+
selectImageText: "\u9009\u62E9\u56FE\u7247",
|
|
161
|
+
selectImageAriaLabel: "\u9009\u62E9\u56FE\u7247\u8FDB\u884C\u88C1\u526A\u5E76\u4E0A\u4F20",
|
|
162
|
+
cropModalTitle: "\u88C1\u526A\u56FE\u7247",
|
|
163
|
+
cropCancelText: "\u53D6\u6D88",
|
|
164
|
+
cropConfirmText: "\u786E\u8BA4\u88C1\u526A",
|
|
165
|
+
cropperDialogAriaLabel: "\u56FE\u7247\u88C1\u526A\u5668",
|
|
166
|
+
imageToCropAriaLabel: "\u5F85\u88C1\u526A\u56FE\u7247",
|
|
167
|
+
moveCropAreaAriaLabel: "\u79FB\u52A8\u88C1\u526A\u533A\u57DF",
|
|
168
|
+
resizeCropAreaAriaLabel: "\u8C03\u6574\u88C1\u526A\u533A\u57DF {handle}",
|
|
169
|
+
loadingCropImageAriaLabel: "\u6B63\u5728\u52A0\u8F7D\u5F85\u88C1\u526A\u56FE\u7247",
|
|
170
|
+
annotationToolbarAriaLabel: "\u6807\u6CE8\u5DE5\u5177",
|
|
171
|
+
annotationEditorAriaLabel: "\u56FE\u7247\u6807\u6CE8\u7F16\u8F91\u5668",
|
|
172
|
+
annotationCanvasAriaLabel: "\u56FE\u7247\u6807\u6CE8\u753B\u5E03",
|
|
173
|
+
loadingAnnotationImageAriaLabel: "\u6B63\u5728\u52A0\u8F7D\u5F85\u6807\u6CE8\u56FE\u7247",
|
|
174
|
+
selectToolText: "\u9009\u62E9",
|
|
175
|
+
rectangleToolText: "\u77E9\u5F62",
|
|
176
|
+
ellipseToolText: "\u692D\u5706",
|
|
177
|
+
polygonToolText: "\u591A\u8FB9\u5F62",
|
|
178
|
+
freehandToolText: "\u81EA\u7531\u7ED8\u5236",
|
|
179
|
+
deleteText: "\u5220\u9664"
|
|
180
|
+
},
|
|
181
|
+
status: {
|
|
182
|
+
tagCloseAriaLabel: "\u5173\u95ED\u6807\u7B7E",
|
|
183
|
+
badgeLabel: "\u901A\u77E5",
|
|
184
|
+
badgeCountLabel: "{count} \u6761\u901A\u77E5"
|
|
185
|
+
},
|
|
90
186
|
taskBoard: {
|
|
91
187
|
emptyColumnText: "\u6682\u65E0\u4EFB\u52A1",
|
|
92
188
|
addCardText: "\u6DFB\u52A0\u4EFB\u52A1",
|
|
189
|
+
addColumnText: "\u6DFB\u52A0\u5217",
|
|
93
190
|
wipLimitText: "WIP \u9650\u5236: {limit}",
|
|
94
191
|
dragHintText: "\u62D6\u62FD\u4EE5\u79FB\u52A8",
|
|
95
192
|
boardAriaLabel: "\u4EFB\u52A1\u770B\u677F"
|
package/dist/locales/zh-TW.d.ts
CHANGED