@expcat/tigercat-core 1.3.4 → 1.5.0

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.
Files changed (109) hide show
  1. package/dist/{datepicker-DXzS_8l8.d.cts → datepicker-gSOJN_pQ.d.cts} +1 -1
  2. package/dist/{datepicker-DXzS_8l8.d.ts → datepicker-gSOJN_pQ.d.ts} +1 -1
  3. package/dist/datepicker-locales/ar-SA.d.cts +1 -1
  4. package/dist/datepicker-locales/ar-SA.d.ts +1 -1
  5. package/dist/datepicker-locales/de-DE.d.cts +1 -1
  6. package/dist/datepicker-locales/de-DE.d.ts +1 -1
  7. package/dist/datepicker-locales/en-US.d.cts +1 -1
  8. package/dist/datepicker-locales/en-US.d.ts +1 -1
  9. package/dist/datepicker-locales/es-ES.d.cts +1 -1
  10. package/dist/datepicker-locales/es-ES.d.ts +1 -1
  11. package/dist/datepicker-locales/fr-FR.d.cts +1 -1
  12. package/dist/datepicker-locales/fr-FR.d.ts +1 -1
  13. package/dist/datepicker-locales/id-ID.d.cts +1 -1
  14. package/dist/datepicker-locales/id-ID.d.ts +1 -1
  15. package/dist/datepicker-locales/ja-JP.d.cts +1 -1
  16. package/dist/datepicker-locales/ja-JP.d.ts +1 -1
  17. package/dist/datepicker-locales/ko-KR.d.cts +1 -1
  18. package/dist/datepicker-locales/ko-KR.d.ts +1 -1
  19. package/dist/datepicker-locales/pt-BR.d.cts +1 -1
  20. package/dist/datepicker-locales/pt-BR.d.ts +1 -1
  21. package/dist/datepicker-locales/th-TH.d.cts +1 -1
  22. package/dist/datepicker-locales/th-TH.d.ts +1 -1
  23. package/dist/datepicker-locales/vi-VN.d.cts +1 -1
  24. package/dist/datepicker-locales/vi-VN.d.ts +1 -1
  25. package/dist/datepicker-locales/zh-CN.d.cts +1 -1
  26. package/dist/datepicker-locales/zh-CN.d.ts +1 -1
  27. package/dist/datepicker-locales/zh-TW.d.cts +1 -1
  28. package/dist/datepicker-locales/zh-TW.d.ts +1 -1
  29. package/dist/icons/registry.cjs +1 -3
  30. package/dist/icons/registry.js +1 -3
  31. package/dist/index.cjs +2094 -715
  32. package/dist/index.d.cts +811 -319
  33. package/dist/index.d.ts +811 -319
  34. package/dist/index.js +2023 -712
  35. package/dist/locale-BTAo7XO1.d.cts +392 -0
  36. package/dist/locale-hhhI2kH6.d.ts +392 -0
  37. package/dist/locales/ar-SA.cjs +357 -4
  38. package/dist/locales/ar-SA.d.cts +2 -2
  39. package/dist/locales/ar-SA.d.ts +2 -2
  40. package/dist/locales/ar-SA.js +357 -4
  41. package/dist/locales/de-DE.cjs +357 -4
  42. package/dist/locales/de-DE.d.cts +2 -2
  43. package/dist/locales/de-DE.d.ts +2 -2
  44. package/dist/locales/de-DE.js +357 -4
  45. package/dist/locales/en-US.cjs +159 -2
  46. package/dist/locales/en-US.d.cts +2 -2
  47. package/dist/locales/en-US.d.ts +2 -2
  48. package/dist/locales/en-US.js +157 -2
  49. package/dist/locales/es-ES.cjs +357 -4
  50. package/dist/locales/es-ES.d.cts +2 -2
  51. package/dist/locales/es-ES.d.ts +2 -2
  52. package/dist/locales/es-ES.js +357 -4
  53. package/dist/locales/fr-FR.cjs +357 -4
  54. package/dist/locales/fr-FR.d.cts +2 -2
  55. package/dist/locales/fr-FR.d.ts +2 -2
  56. package/dist/locales/fr-FR.js +357 -4
  57. package/dist/locales/id-ID.cjs +445 -3
  58. package/dist/locales/id-ID.d.cts +2 -2
  59. package/dist/locales/id-ID.d.ts +2 -2
  60. package/dist/locales/id-ID.js +443 -3
  61. package/dist/locales/ja-JP.cjs +445 -3
  62. package/dist/locales/ja-JP.d.cts +2 -2
  63. package/dist/locales/ja-JP.d.ts +2 -2
  64. package/dist/locales/ja-JP.js +443 -3
  65. package/dist/locales/ko-KR.cjs +445 -3
  66. package/dist/locales/ko-KR.d.cts +2 -2
  67. package/dist/locales/ko-KR.d.ts +2 -2
  68. package/dist/locales/ko-KR.js +443 -3
  69. package/dist/locales/pt-BR.cjs +357 -4
  70. package/dist/locales/pt-BR.d.cts +2 -2
  71. package/dist/locales/pt-BR.d.ts +2 -2
  72. package/dist/locales/pt-BR.js +357 -4
  73. package/dist/locales/th-TH.cjs +445 -3
  74. package/dist/locales/th-TH.d.cts +2 -2
  75. package/dist/locales/th-TH.d.ts +2 -2
  76. package/dist/locales/th-TH.js +443 -3
  77. package/dist/locales/vi-VN.cjs +445 -3
  78. package/dist/locales/vi-VN.d.cts +2 -2
  79. package/dist/locales/vi-VN.d.ts +2 -2
  80. package/dist/locales/vi-VN.js +443 -3
  81. package/dist/locales/zh-CN.cjs +159 -2
  82. package/dist/locales/zh-CN.d.cts +2 -2
  83. package/dist/locales/zh-CN.d.ts +2 -2
  84. package/dist/locales/zh-CN.js +157 -2
  85. package/dist/locales/zh-TW.cjs +445 -3
  86. package/dist/locales/zh-TW.d.cts +2 -2
  87. package/dist/locales/zh-TW.d.ts +2 -2
  88. package/dist/locales/zh-TW.js +443 -3
  89. package/dist/{table-export-CZ7wtGf4.d.ts → table-export-CfdzU6Y5.d.ts} +2 -2
  90. package/dist/{table-export-DOqFkseW.d.cts → table-export-vfyBzKui.d.cts} +2 -2
  91. package/dist/tailwind/modern.cjs +76 -81
  92. package/dist/tailwind/modern.d.cts +2 -3
  93. package/dist/tailwind/modern.d.ts +2 -3
  94. package/dist/tailwind/modern.js +76 -81
  95. package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.cts} +7 -41
  96. package/dist/{tailwind-entry-DUchHtjs.d.cts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
  97. package/dist/tailwind.cjs +123 -70
  98. package/dist/tailwind.d.cts +2 -3
  99. package/dist/tailwind.d.ts +2 -3
  100. package/dist/tailwind.js +123 -70
  101. package/dist/utils/table-export.cjs +7 -0
  102. package/dist/utils/table-export.d.cts +3 -3
  103. package/dist/utils/table-export.d.ts +3 -3
  104. package/dist/utils/table-export.js +7 -0
  105. package/package.json +5 -12
  106. package/dist/locale-BuZwW3Ok.d.ts +0 -135
  107. package/dist/locale-DDFn0b6z.d.cts +0 -135
  108. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
  109. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
@@ -1,5 +1,435 @@
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/datepicker-locales/ar-SA.ts
219
+ var AR_SA_DATEPICKER_LOCALE = {
220
+ locale: "ar-SA",
221
+ labels: {
222
+ today: "\u0627\u0644\u064A\u0648\u0645",
223
+ ok: "\u0645\u0648\u0627\u0641\u0642",
224
+ calendar: "\u0627\u0644\u062A\u0642\u0648\u064A\u0645",
225
+ toggleCalendar: "\u0641\u062A\u062D \u0627\u0644\u062A\u0642\u0648\u064A\u0645",
226
+ clearDate: "\u0645\u0633\u062D \u0627\u0644\u062A\u0627\u0631\u064A\u062E",
227
+ previousMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642",
228
+ nextMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062A\u0627\u0644\u064A"
229
+ }
230
+ };
231
+
232
+ // src/utils/i18n/datepicker-locales/de-DE.ts
233
+ var DE_DE_DATEPICKER_LOCALE = {
234
+ locale: "de-DE",
235
+ labels: {
236
+ today: "Heute",
237
+ ok: "OK",
238
+ calendar: "Kalender",
239
+ toggleCalendar: "Kalender \xF6ffnen",
240
+ clearDate: "Datum l\xF6schen",
241
+ previousMonth: "Vorheriger Monat",
242
+ nextMonth: "N\xE4chster Monat"
243
+ }
244
+ };
245
+
246
+ // src/utils/i18n/datepicker-locales/es-ES.ts
247
+ var ES_ES_DATEPICKER_LOCALE = {
248
+ locale: "es-ES",
249
+ labels: {
250
+ today: "Hoy",
251
+ ok: "Aceptar",
252
+ calendar: "Calendario",
253
+ toggleCalendar: "Abrir calendario",
254
+ clearDate: "Borrar fecha",
255
+ previousMonth: "Mes anterior",
256
+ nextMonth: "Mes siguiente"
257
+ }
258
+ };
259
+
260
+ // src/utils/i18n/datepicker-locales/fr-FR.ts
261
+ var FR_FR_DATEPICKER_LOCALE = {
262
+ locale: "fr-FR",
263
+ labels: {
264
+ today: "Aujourd'hui",
265
+ ok: "OK",
266
+ calendar: "Calendrier",
267
+ toggleCalendar: "Ouvrir le calendrier",
268
+ clearDate: "Effacer la date",
269
+ previousMonth: "Mois pr\xE9c\xE9dent",
270
+ nextMonth: "Mois suivant"
271
+ }
272
+ };
273
+
274
+ // src/utils/i18n/datepicker-locales/id-ID.ts
275
+ var ID_ID_DATEPICKER_LOCALE = {
276
+ locale: "id-ID",
277
+ labels: {
278
+ today: "Hari ini",
279
+ ok: "OK",
280
+ calendar: "Kalender",
281
+ toggleCalendar: "Buka kalender",
282
+ clearDate: "Hapus tanggal",
283
+ previousMonth: "Bulan sebelumnya",
284
+ nextMonth: "Bulan berikutnya"
285
+ }
286
+ };
287
+
288
+ // src/utils/i18n/datepicker-locales/ja-JP.ts
289
+ var JA_JP_DATEPICKER_LOCALE = {
290
+ locale: "ja-JP",
291
+ labels: {
292
+ today: "\u4ECA\u65E5",
293
+ ok: "OK",
294
+ calendar: "\u30AB\u30EC\u30F3\u30C0\u30FC",
295
+ toggleCalendar: "\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u958B\u304F",
296
+ clearDate: "\u65E5\u4ED8\u3092\u30AF\u30EA\u30A2",
297
+ previousMonth: "\u524D\u306E\u6708",
298
+ nextMonth: "\u6B21\u306E\u6708"
299
+ }
300
+ };
301
+
302
+ // src/utils/i18n/datepicker-locales/ko-KR.ts
303
+ var KO_KR_DATEPICKER_LOCALE = {
304
+ locale: "ko-KR",
305
+ labels: {
306
+ today: "\uC624\uB298",
307
+ ok: "\uD655\uC778",
308
+ calendar: "\uB2EC\uB825",
309
+ toggleCalendar: "\uB2EC\uB825 \uC5F4\uAE30",
310
+ clearDate: "\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",
311
+ previousMonth: "\uC774\uC804 \uB2EC",
312
+ nextMonth: "\uB2E4\uC74C \uB2EC"
313
+ }
314
+ };
315
+
316
+ // src/utils/i18n/datepicker-locales/pt-BR.ts
317
+ var PT_BR_DATEPICKER_LOCALE = {
318
+ locale: "pt-BR",
319
+ labels: {
320
+ today: "Hoje",
321
+ ok: "OK",
322
+ calendar: "Calend\xE1rio",
323
+ toggleCalendar: "Abrir calend\xE1rio",
324
+ clearDate: "Limpar data",
325
+ previousMonth: "M\xEAs anterior",
326
+ nextMonth: "Pr\xF3ximo m\xEAs"
327
+ }
328
+ };
329
+
330
+ // src/utils/i18n/datepicker-locales/th-TH.ts
331
+ var TH_TH_DATEPICKER_LOCALE = {
332
+ locale: "th-TH",
333
+ labels: {
334
+ today: "\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",
335
+ ok: "\u0E15\u0E01\u0E25\u0E07",
336
+ calendar: "\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
337
+ toggleCalendar: "\u0E40\u0E1B\u0E34\u0E14\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
338
+ clearDate: "\u0E25\u0E49\u0E32\u0E07\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48",
339
+ previousMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
340
+ nextMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B"
341
+ }
342
+ };
343
+
344
+ // src/utils/i18n/datepicker-locales/vi-VN.ts
345
+ var VI_VN_DATEPICKER_LOCALE = {
346
+ locale: "vi-VN",
347
+ labels: {
348
+ today: "H\xF4m nay",
349
+ ok: "OK",
350
+ calendar: "L\u1ECBch",
351
+ toggleCalendar: "M\u1EDF l\u1ECBch",
352
+ clearDate: "X\xF3a ng\xE0y",
353
+ previousMonth: "Th\xE1ng tr\u01B0\u1EDBc",
354
+ nextMonth: "Th\xE1ng sau"
355
+ }
356
+ };
357
+
358
+ // src/utils/i18n/datepicker-locales/zh-CN.ts
359
+ var ZH_CN_DATEPICKER_LOCALE = {
360
+ locale: "zh-CN",
361
+ labels: {
362
+ today: "\u4ECA\u5929",
363
+ ok: "\u786E\u5B9A",
364
+ calendar: "\u65E5\u5386",
365
+ toggleCalendar: "\u6253\u5F00\u65E5\u5386",
366
+ clearDate: "\u6E05\u9664\u65E5\u671F",
367
+ previousMonth: "\u4E0A\u4E2A\u6708",
368
+ nextMonth: "\u4E0B\u4E2A\u6708"
369
+ }
370
+ };
371
+
372
+ // src/utils/i18n/datepicker-locales/zh-TW.ts
373
+ var ZH_TW_DATEPICKER_LOCALE = {
374
+ locale: "zh-TW",
375
+ labels: {
376
+ today: "\u4ECA\u5929",
377
+ ok: "\u78BA\u5B9A",
378
+ calendar: "\u65E5\u66C6",
379
+ toggleCalendar: "\u958B\u555F\u65E5\u66C6",
380
+ clearDate: "\u6E05\u9664\u65E5\u671F",
381
+ previousMonth: "\u4E0A\u500B\u6708",
382
+ nextMonth: "\u4E0B\u500B\u6708"
383
+ }
384
+ };
385
+
386
+ // src/utils/i18n/define-locale.ts
387
+ var DATEPICKER_LOCALES = [
388
+ EN_US_DATEPICKER_LOCALE,
389
+ ZH_CN_DATEPICKER_LOCALE,
390
+ ZH_TW_DATEPICKER_LOCALE,
391
+ JA_JP_DATEPICKER_LOCALE,
392
+ KO_KR_DATEPICKER_LOCALE,
393
+ TH_TH_DATEPICKER_LOCALE,
394
+ VI_VN_DATEPICKER_LOCALE,
395
+ ID_ID_DATEPICKER_LOCALE,
396
+ ES_ES_DATEPICKER_LOCALE,
397
+ FR_FR_DATEPICKER_LOCALE,
398
+ DE_DE_DATEPICKER_LOCALE,
399
+ PT_BR_DATEPICKER_LOCALE,
400
+ AR_SA_DATEPICKER_LOCALE
401
+ ];
402
+ var DATEPICKER_LOCALE_BY_ID = new Map(
403
+ DATEPICKER_LOCALES.map((locale) => [locale.locale, locale])
404
+ );
405
+ function isPlainObject(value) {
406
+ if (value === null || typeof value !== "object") return false;
407
+ const proto = Object.getPrototypeOf(value);
408
+ return proto === Object.prototype || proto === null;
409
+ }
410
+ function deepMerge(base, override) {
411
+ if (!override) return { ...base };
412
+ const out = { ...base };
413
+ for (const key of Object.keys(override)) {
414
+ const next = override[key];
415
+ if (next === void 0) continue;
416
+ const prev = base[key];
417
+ if (isPlainObject(prev) && isPlainObject(next)) {
418
+ out[key] = deepMerge(prev, next);
419
+ } else {
420
+ out[key] = next;
421
+ }
422
+ }
423
+ return out;
424
+ }
425
+ function defineLocale(overrides = {}) {
426
+ const locale = overrides.locale ? DATEPICKER_LOCALE_BY_ID.get(overrides.locale) : void 0;
427
+ const normalizedOverrides = locale && !overrides.datePicker ? { ...overrides, datePicker: locale } : overrides;
428
+ return deepMerge(enUS, normalizedOverrides);
429
+ }
430
+
1
431
  // src/utils/i18n/locales/vi-VN.ts
2
- var viVN = {
432
+ var viVN = defineLocale({
3
433
  locale: "vi-VN",
4
434
  direction: "ltr",
5
435
  common: {
@@ -7,7 +437,8 @@ var viVN = {
7
437
  cancelText: "H\u1EE7y",
8
438
  closeText: "\u0110\xF3ng",
9
439
  loadingText: "\u0110ang t\u1EA3i...",
10
- emptyText: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u"
440
+ emptyText: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
441
+ noMoreText: "Kh\xF4ng c\xF2n d\u1EEF li\u1EC7u"
11
442
  },
12
443
  modal: {
13
444
  closeAriaLabel: "\u0110\xF3ng",
@@ -17,6 +448,15 @@ var viVN = {
17
448
  drawer: {
18
449
  closeAriaLabel: "\u0110\xF3ng"
19
450
  },
451
+ qrcode: {
452
+ ariaLabel: "M\xE3 QR",
453
+ expiredText: "M\xE3 QR \u0111\xE3 h\u1EBFt h\u1EA1n",
454
+ refreshText: "L\xE0m m\u1EDBi",
455
+ loadingText: "\u0110ang t\u1EA3i..."
456
+ },
457
+ timeline: {
458
+ pendingText: "\u0110ang t\u1EA3i..."
459
+ },
20
460
  pagination: {
21
461
  totalText: "T\u1ED5ng {total} m\u1EE5c",
22
462
  itemsPerPageText: "/trang",
@@ -58,7 +498,7 @@ var viVN = {
58
498
  dragHintText: "K\xE9o \u0111\u1EC3 di chuy\u1EC3n",
59
499
  boardAriaLabel: "B\u1EA3ng nhi\u1EC7m v\u1EE5"
60
500
  }
61
- };
501
+ });
62
502
  export {
63
503
  viVN
64
504
  };
@@ -23,6 +23,53 @@ __export(zh_CN_exports, {
23
23
  zhCN: () => zhCN
24
24
  });
25
25
  module.exports = __toCommonJS(zh_CN_exports);
26
+
27
+ // src/utils/locale-utils.ts
28
+ var ZH_CN_TIME_PICKER_LABELS = {
29
+ hour: "\u65F6",
30
+ minute: "\u5206",
31
+ second: "\u79D2",
32
+ now: "\u73B0\u5728",
33
+ ok: "\u786E\u5B9A",
34
+ start: "\u5F00\u59CB",
35
+ end: "\u7ED3\u675F",
36
+ clear: "\u6E05\u9664\u65F6\u95F4",
37
+ toggle: "\u6253\u5F00\u65F6\u95F4\u9009\u62E9\u5668",
38
+ dialog: "\u65F6\u95F4\u9009\u62E9\u5668",
39
+ selectTime: "\u8BF7\u9009\u62E9\u65F6\u95F4",
40
+ selectTimeRange: "\u8BF7\u9009\u62E9\u65F6\u95F4\u8303\u56F4"
41
+ };
42
+ var ZH_CN_UPLOAD_LABELS = {
43
+ dragAreaAriaLabel: "\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u6587\u4EF6",
44
+ buttonAriaLabel: "\u4E0A\u4F20\u6587\u4EF6",
45
+ clickToUploadText: "\u70B9\u51FB\u4E0A\u4F20",
46
+ dragAndDropText: "\u6216\u62D6\u62FD\u5230\u6B64\u5904",
47
+ acceptInfoText: "\u652F\u6301\uFF1A{accept}",
48
+ maxSizeInfoText: "\u6700\u5927\u5927\u5C0F\uFF1A{maxSize}",
49
+ selectFileText: "\u9009\u62E9\u6587\u4EF6",
50
+ uploadedFilesAriaLabel: "\u5DF2\u4E0A\u4F20\u6587\u4EF6",
51
+ successAriaLabel: "\u6210\u529F",
52
+ errorAriaLabel: "\u9519\u8BEF",
53
+ uploadingAriaLabel: "\u4E0A\u4F20\u4E2D",
54
+ removeFileAriaLabel: "\u79FB\u9664 {fileName}",
55
+ previewFileAriaLabel: "\u9884\u89C8 {fileName}"
56
+ };
57
+
58
+ // src/utils/i18n/datepicker-locales/zh-CN.ts
59
+ var ZH_CN_DATEPICKER_LOCALE = {
60
+ locale: "zh-CN",
61
+ labels: {
62
+ today: "\u4ECA\u5929",
63
+ ok: "\u786E\u5B9A",
64
+ calendar: "\u65E5\u5386",
65
+ toggleCalendar: "\u6253\u5F00\u65E5\u5386",
66
+ clearDate: "\u6E05\u9664\u65E5\u671F",
67
+ previousMonth: "\u4E0A\u4E2A\u6708",
68
+ nextMonth: "\u4E0B\u4E2A\u6708"
69
+ }
70
+ };
71
+
72
+ // src/utils/i18n/locales/zh-CN.ts
26
73
  var zhCN = {
27
74
  locale: "zh-CN",
28
75
  direction: "ltr",
@@ -31,7 +78,16 @@ var zhCN = {
31
78
  cancelText: "\u53D6\u6D88",
32
79
  closeText: "\u5173\u95ED",
33
80
  loadingText: "\u52A0\u8F7D\u4E2D...",
34
- emptyText: "\u6682\u65E0\u6570\u636E"
81
+ emptyText: "\u6682\u65E0\u6570\u636E",
82
+ noMoreText: "\u6CA1\u6709\u66F4\u591A\u4E86",
83
+ searchPlaceholder: "\u641C\u7D22",
84
+ clearText: "\u6E05\u9664"
85
+ },
86
+ empty: {
87
+ noData: "\u6682\u65E0\u6570\u636E",
88
+ noDataAvailable: "\u6682\u65E0\u53EF\u7528\u6570\u636E",
89
+ noResults: "\u6682\u65E0\u7ED3\u679C",
90
+ error: "\u51FA\u73B0\u9519\u8BEF"
35
91
  },
36
92
  modal: {
37
93
  closeAriaLabel: "\u5173\u95ED",
@@ -41,6 +97,16 @@ var zhCN = {
41
97
  drawer: {
42
98
  closeAriaLabel: "\u5173\u95ED"
43
99
  },
100
+ qrcode: {
101
+ ariaLabel: "\u4E8C\u7EF4\u7801",
102
+ expiredText: "\u4E8C\u7EF4\u7801\u5DF2\u8FC7\u671F",
103
+ refreshText: "\u5237\u65B0",
104
+ loadingText: "\u52A0\u8F7D\u4E2D..."
105
+ },
106
+ timeline: {
107
+ pendingText: "\u52A0\u8F7D\u4E2D..."
108
+ },
109
+ upload: ZH_CN_UPLOAD_LABELS,
44
110
  pagination: {
45
111
  totalText: "\u5171 {total} \u6761",
46
112
  itemsPerPageText: "\u6761/\u9875",
@@ -68,19 +134,110 @@ var zhCN = {
68
134
  columnSettingsText: "\u5217\u8BBE\u7F6E",
69
135
  columnSettingsAriaLabel: "\u5217\u8BBE\u7F6E",
70
136
  lockColumnAriaLabel: "\u9501\u5B9A{column}\u5217",
71
- unlockColumnAriaLabel: "\u53D6\u6D88\u9501\u5B9A{column}\u5217"
137
+ unlockColumnAriaLabel: "\u53D6\u6D88\u9501\u5B9A{column}\u5217",
138
+ allText: "\u5168\u90E8",
139
+ filterPlaceholder: "\u7B5B\u9009...",
140
+ exportCsvText: "\u5BFC\u51FA CSV",
141
+ exportExcelText: "\u5BFC\u51FA Excel",
142
+ exportCsvAriaLabel: "\u5BFC\u51FA\u4E3A CSV",
143
+ exportExcelAriaLabel: "\u5BFC\u51FA\u4E3A Excel",
144
+ expandRowAriaLabel: "\u5C55\u5F00\u884C",
145
+ collapseRowAriaLabel: "\u6536\u8D77\u884C"
72
146
  },
147
+ datePicker: ZH_CN_DATEPICKER_LOCALE,
148
+ timePicker: ZH_CN_TIME_PICKER_LABELS,
73
149
  formWizard: {
74
150
  prevText: "\u4E0A\u4E00\u6B65",
75
151
  nextText: "\u4E0B\u4E00\u6B65",
76
152
  finishText: "\u5B8C\u6210"
77
153
  },
154
+ tour: {
155
+ prevText: "\u4E0A\u4E00\u6B65",
156
+ nextText: "\u4E0B\u4E00\u6B65",
157
+ finishText: "\u5B8C\u6210",
158
+ closeAriaLabel: "\u5173\u95ED\u5BFC\u89C8"
159
+ },
160
+ calendar: {
161
+ previousMonth: "\u4E0A\u4E2A\u6708",
162
+ nextMonth: "\u4E0B\u4E2A\u6708",
163
+ previousYear: "\u4E0A\u4E00\u5E74",
164
+ nextYear: "\u4E0B\u4E00\u5E74",
165
+ yearSelectAriaLabel: "\u5E74\u4EFD",
166
+ monthSelectAriaLabel: "\u6708\u4EFD",
167
+ daySelectAriaLabel: "\u65E5\u671F"
168
+ },
169
+ fileManager: {
170
+ rootText: "\u6839\u76EE\u5F55"
171
+ },
172
+ imageViewer: {
173
+ dialogAriaLabel: "\u56FE\u7247\u67E5\u770B\u5668",
174
+ previewDialogAriaLabel: "\u56FE\u7247\u9884\u89C8",
175
+ closeAriaLabel: "\u5173\u95ED",
176
+ closePreviewAriaLabel: "\u5173\u95ED\u9884\u89C8",
177
+ previousImageAriaLabel: "\u4E0A\u4E00\u5F20\u56FE\u7247",
178
+ nextImageAriaLabel: "\u4E0B\u4E00\u5F20\u56FE\u7247",
179
+ zoomOutAriaLabel: "\u7F29\u5C0F",
180
+ resetAriaLabel: "\u91CD\u7F6E",
181
+ zoomInAriaLabel: "\u653E\u5927",
182
+ rotateLeftAriaLabel: "\u5411\u5DE6\u65CB\u8F6C",
183
+ rotateRightAriaLabel: "\u5411\u53F3\u65CB\u8F6C"
184
+ },
185
+ imageEditor: {
186
+ selectImageText: "\u9009\u62E9\u56FE\u7247",
187
+ selectImageAriaLabel: "\u9009\u62E9\u56FE\u7247\u8FDB\u884C\u88C1\u526A\u5E76\u4E0A\u4F20",
188
+ cropModalTitle: "\u88C1\u526A\u56FE\u7247",
189
+ cropCancelText: "\u53D6\u6D88",
190
+ cropConfirmText: "\u786E\u8BA4\u88C1\u526A",
191
+ cropperDialogAriaLabel: "\u56FE\u7247\u88C1\u526A\u5668",
192
+ imageToCropAriaLabel: "\u5F85\u88C1\u526A\u56FE\u7247",
193
+ moveCropAreaAriaLabel: "\u79FB\u52A8\u88C1\u526A\u533A\u57DF",
194
+ resizeCropAreaAriaLabel: "\u8C03\u6574\u88C1\u526A\u533A\u57DF {handle}",
195
+ loadingCropImageAriaLabel: "\u6B63\u5728\u52A0\u8F7D\u5F85\u88C1\u526A\u56FE\u7247",
196
+ annotationToolbarAriaLabel: "\u6807\u6CE8\u5DE5\u5177",
197
+ annotationEditorAriaLabel: "\u56FE\u7247\u6807\u6CE8\u7F16\u8F91\u5668",
198
+ annotationCanvasAriaLabel: "\u56FE\u7247\u6807\u6CE8\u753B\u5E03",
199
+ loadingAnnotationImageAriaLabel: "\u6B63\u5728\u52A0\u8F7D\u5F85\u6807\u6CE8\u56FE\u7247",
200
+ selectToolText: "\u9009\u62E9",
201
+ rectangleToolText: "\u77E9\u5F62",
202
+ ellipseToolText: "\u692D\u5706",
203
+ polygonToolText: "\u591A\u8FB9\u5F62",
204
+ freehandToolText: "\u81EA\u7531\u7ED8\u5236",
205
+ deleteText: "\u5220\u9664"
206
+ },
207
+ status: {
208
+ tagCloseAriaLabel: "\u5173\u95ED\u6807\u7B7E",
209
+ badgeLabel: "\u901A\u77E5",
210
+ badgeCountLabel: "{count} \u6761\u901A\u77E5"
211
+ },
78
212
  taskBoard: {
79
213
  emptyColumnText: "\u6682\u65E0\u4EFB\u52A1",
80
214
  addCardText: "\u6DFB\u52A0\u4EFB\u52A1",
215
+ addColumnText: "\u6DFB\u52A0\u5217",
81
216
  wipLimitText: "WIP \u9650\u5236: {limit}",
82
217
  dragHintText: "\u62D6\u62FD\u4EE5\u79FB\u52A8",
83
218
  boardAriaLabel: "\u4EFB\u52A1\u770B\u677F"
219
+ },
220
+ formValidation: {
221
+ required: "\u6B64\u5B57\u6BB5\u4E3A\u5FC5\u586B\u9879",
222
+ typeString: "\u503C\u5FC5\u987B\u662F\u5B57\u7B26\u4E32",
223
+ typeNumber: "\u503C\u5FC5\u987B\u662F\u6570\u5B57",
224
+ typeBoolean: "\u503C\u5FC5\u987B\u662F\u5E03\u5C14\u503C",
225
+ typeArray: "\u503C\u5FC5\u987B\u662F\u6570\u7EC4",
226
+ typeObject: "\u503C\u5FC5\u987B\u662F\u5BF9\u8C61",
227
+ email: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u90AE\u7BB1\u5730\u5740",
228
+ phone: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7535\u8BDD\u53F7\u7801",
229
+ url: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7F51\u5740",
230
+ date: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F",
231
+ idCard: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",
232
+ minLength: "\u957F\u5EA6\u4E0D\u80FD\u5C11\u4E8E {min} \u4E2A\u5B57\u7B26",
233
+ maxLength: "\u957F\u5EA6\u4E0D\u80FD\u8D85\u8FC7 {max} \u4E2A\u5B57\u7B26",
234
+ minValue: "\u6570\u503C\u4E0D\u80FD\u5C0F\u4E8E {min}",
235
+ maxValue: "\u6570\u503C\u4E0D\u80FD\u5927\u4E8E {max}",
236
+ minItems: "\u81F3\u5C11\u9700\u8981 {min} \u9879",
237
+ maxItems: "\u6700\u591A\u5141\u8BB8 {max} \u9879",
238
+ patternMismatch: "\u683C\u5F0F\u4E0D\u6B63\u786E",
239
+ validatorFailed: "\u6821\u9A8C\u672A\u901A\u8FC7",
240
+ validatorError: "\u6821\u9A8C\u65F6\u53D1\u751F\u9519\u8BEF"
84
241
  }
85
242
  };
86
243
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,5 +1,5 @@
1
- import { T as TigerLocale } from '../locale-DDFn0b6z.cjs';
2
- import '../datepicker-DXzS_8l8.cjs';
1
+ import { T as TigerLocale } from '../locale-BTAo7XO1.cjs';
2
+ import '../datepicker-gSOJN_pQ.cjs';
3
3
 
4
4
  /**
5
5
  * Simplified Chinese (zh-CN).
@@ -1,5 +1,5 @@
1
- import { T as TigerLocale } from '../locale-BuZwW3Ok.js';
2
- import '../datepicker-DXzS_8l8.js';
1
+ import { T as TigerLocale } from '../locale-hhhI2kH6.js';
2
+ import '../datepicker-gSOJN_pQ.js';
3
3
 
4
4
  /**
5
5
  * Simplified Chinese (zh-CN).