@expcat/tigercat-core 1.4.0 → 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 (105) 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/index.cjs +1523 -480
  30. package/dist/index.d.cts +422 -28
  31. package/dist/index.d.ts +422 -28
  32. package/dist/index.js +1471 -479
  33. package/dist/{locale-DxwhmqfF.d.cts → locale-BTAo7XO1.d.cts} +94 -2
  34. package/dist/{locale-9tTj1QdZ.d.ts → locale-hhhI2kH6.d.ts} +94 -2
  35. package/dist/locales/ar-SA.cjs +296 -2
  36. package/dist/locales/ar-SA.d.cts +2 -2
  37. package/dist/locales/ar-SA.d.ts +2 -2
  38. package/dist/locales/ar-SA.js +296 -2
  39. package/dist/locales/de-DE.cjs +296 -2
  40. package/dist/locales/de-DE.d.cts +2 -2
  41. package/dist/locales/de-DE.d.ts +2 -2
  42. package/dist/locales/de-DE.js +296 -2
  43. package/dist/locales/en-US.cjs +98 -1
  44. package/dist/locales/en-US.d.cts +2 -2
  45. package/dist/locales/en-US.d.ts +2 -2
  46. package/dist/locales/en-US.js +98 -1
  47. package/dist/locales/es-ES.cjs +296 -2
  48. package/dist/locales/es-ES.d.cts +2 -2
  49. package/dist/locales/es-ES.d.ts +2 -2
  50. package/dist/locales/es-ES.js +296 -2
  51. package/dist/locales/fr-FR.cjs +296 -2
  52. package/dist/locales/fr-FR.d.cts +2 -2
  53. package/dist/locales/fr-FR.d.ts +2 -2
  54. package/dist/locales/fr-FR.js +296 -2
  55. package/dist/locales/id-ID.cjs +443 -2
  56. package/dist/locales/id-ID.d.cts +2 -2
  57. package/dist/locales/id-ID.d.ts +2 -2
  58. package/dist/locales/id-ID.js +441 -2
  59. package/dist/locales/ja-JP.cjs +443 -2
  60. package/dist/locales/ja-JP.d.cts +2 -2
  61. package/dist/locales/ja-JP.d.ts +2 -2
  62. package/dist/locales/ja-JP.js +441 -2
  63. package/dist/locales/ko-KR.cjs +443 -2
  64. package/dist/locales/ko-KR.d.cts +2 -2
  65. package/dist/locales/ko-KR.d.ts +2 -2
  66. package/dist/locales/ko-KR.js +441 -2
  67. package/dist/locales/pt-BR.cjs +296 -2
  68. package/dist/locales/pt-BR.d.cts +2 -2
  69. package/dist/locales/pt-BR.d.ts +2 -2
  70. package/dist/locales/pt-BR.js +296 -2
  71. package/dist/locales/th-TH.cjs +443 -2
  72. package/dist/locales/th-TH.d.cts +2 -2
  73. package/dist/locales/th-TH.d.ts +2 -2
  74. package/dist/locales/th-TH.js +441 -2
  75. package/dist/locales/vi-VN.cjs +443 -2
  76. package/dist/locales/vi-VN.d.cts +2 -2
  77. package/dist/locales/vi-VN.d.ts +2 -2
  78. package/dist/locales/vi-VN.js +441 -2
  79. package/dist/locales/zh-CN.cjs +98 -1
  80. package/dist/locales/zh-CN.d.cts +2 -2
  81. package/dist/locales/zh-CN.d.ts +2 -2
  82. package/dist/locales/zh-CN.js +98 -1
  83. package/dist/locales/zh-TW.cjs +443 -2
  84. package/dist/locales/zh-TW.d.cts +2 -2
  85. package/dist/locales/zh-TW.d.ts +2 -2
  86. package/dist/locales/zh-TW.js +441 -2
  87. package/dist/{table-export-GRimhvlM.d.ts → table-export-CfdzU6Y5.d.ts} +2 -2
  88. package/dist/{table-export-BMBH75rj.d.cts → table-export-vfyBzKui.d.cts} +2 -2
  89. package/dist/tailwind/modern.cjs +75 -80
  90. package/dist/tailwind/modern.d.cts +2 -3
  91. package/dist/tailwind/modern.d.ts +2 -3
  92. package/dist/tailwind/modern.js +75 -80
  93. package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.cts} +7 -41
  94. package/dist/{tailwind-entry-DUchHtjs.d.cts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
  95. package/dist/tailwind.cjs +123 -70
  96. package/dist/tailwind.d.cts +2 -3
  97. package/dist/tailwind.d.ts +2 -3
  98. package/dist/tailwind.js +123 -70
  99. package/dist/utils/table-export.d.cts +3 -3
  100. package/dist/utils/table-export.d.ts +3 -3
  101. package/package.json +4 -3
  102. package/tokens/tailwind-tokens.js +6 -3
  103. package/tokens/tokens.css +30 -15
  104. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
  105. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
@@ -29,6 +29,20 @@ var DEFAULT_UPLOAD_LABELS = {
29
29
  previewFileAriaLabel: "Preview {fileName}"
30
30
  };
31
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
+
32
46
  // src/utils/i18n/locales/en-US.ts
33
47
  var enUS = {
34
48
  locale: "en-US",
@@ -43,6 +57,12 @@ var enUS = {
43
57
  searchPlaceholder: "Search",
44
58
  clearText: "Clear"
45
59
  },
60
+ empty: {
61
+ noData: "No data",
62
+ noDataAvailable: "No data available",
63
+ noResults: "No results found",
64
+ error: "Something went wrong"
65
+ },
46
66
  modal: {
47
67
  closeAriaLabel: "Close",
48
68
  okText: "OK",
@@ -51,6 +71,15 @@ var enUS = {
51
71
  drawer: {
52
72
  closeAriaLabel: "Close"
53
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
+ },
54
83
  upload: DEFAULT_UPLOAD_LABELS,
55
84
  pagination: {
56
85
  totalText: "Total {total} items",
@@ -79,17 +108,85 @@ var enUS = {
79
108
  columnSettingsText: "Column settings",
80
109
  columnSettingsAriaLabel: "Column settings",
81
110
  lockColumnAriaLabel: "Lock column {column}",
82
- unlockColumnAriaLabel: "Unlock 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"
83
120
  },
121
+ datePicker: EN_US_DATEPICKER_LOCALE,
84
122
  timePicker: DEFAULT_TIME_PICKER_LABELS,
85
123
  formWizard: {
86
124
  prevText: "Previous",
87
125
  nextText: "Next",
88
126
  finishText: "Finish"
89
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
+ },
90
186
  taskBoard: {
91
187
  emptyColumnText: "No tasks",
92
188
  addCardText: "Add task",
189
+ addColumnText: "Add column",
93
190
  wipLimitText: "WIP limit: {limit}",
94
191
  dragHintText: "Drag to move",
95
192
  boardAriaLabel: "Task Board"
@@ -118,7 +215,193 @@ var enUS = {
118
215
  }
119
216
  };
120
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
+
121
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
+ );
122
405
  function isPlainObject(value) {
123
406
  if (value === null || typeof value !== "object") return false;
124
407
  const proto = Object.getPrototypeOf(value);
@@ -140,7 +423,9 @@ function deepMerge(base, override) {
140
423
  return out;
141
424
  }
142
425
  function defineLocale(overrides = {}) {
143
- return deepMerge(enUS, 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);
144
429
  }
145
430
 
146
431
  // src/utils/i18n/locales/ar-SA.ts
@@ -163,6 +448,15 @@ var arSA = defineLocale({
163
448
  drawer: {
164
449
  closeAriaLabel: "\u0625\u063A\u0644\u0627\u0642"
165
450
  },
451
+ qrcode: {
452
+ ariaLabel: "\u0631\u0645\u0632 QR",
453
+ expiredText: "\u0627\u0646\u062A\u0647\u062A \u0635\u0644\u0627\u062D\u064A\u0629 \u0631\u0645\u0632 QR",
454
+ refreshText: "\u062A\u062D\u062F\u064A\u062B",
455
+ loadingText: "\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644..."
456
+ },
457
+ timeline: {
458
+ pendingText: "\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644..."
459
+ },
166
460
  upload: {
167
461
  dragAreaAriaLabel: "\u0631\u0641\u0639 \u0645\u0644\u0641 \u0628\u0627\u0644\u0646\u0642\u0631 \u0623\u0648 \u0627\u0644\u0633\u062D\u0628",
168
462
  buttonAriaLabel: "\u0631\u0641\u0639 \u0645\u0644\u0641",
@@ -56,6 +56,20 @@ var DEFAULT_UPLOAD_LABELS = {
56
56
  previewFileAriaLabel: "Preview {fileName}"
57
57
  };
58
58
 
59
+ // src/utils/i18n/datepicker-locales/en-US.ts
60
+ var EN_US_DATEPICKER_LOCALE = {
61
+ locale: "en-US",
62
+ labels: {
63
+ today: "Today",
64
+ ok: "OK",
65
+ calendar: "Calendar",
66
+ toggleCalendar: "Toggle calendar",
67
+ clearDate: "Clear date",
68
+ previousMonth: "Previous month",
69
+ nextMonth: "Next month"
70
+ }
71
+ };
72
+
59
73
  // src/utils/i18n/locales/en-US.ts
60
74
  var enUS = {
61
75
  locale: "en-US",
@@ -70,6 +84,12 @@ var enUS = {
70
84
  searchPlaceholder: "Search",
71
85
  clearText: "Clear"
72
86
  },
87
+ empty: {
88
+ noData: "No data",
89
+ noDataAvailable: "No data available",
90
+ noResults: "No results found",
91
+ error: "Something went wrong"
92
+ },
73
93
  modal: {
74
94
  closeAriaLabel: "Close",
75
95
  okText: "OK",
@@ -78,6 +98,15 @@ var enUS = {
78
98
  drawer: {
79
99
  closeAriaLabel: "Close"
80
100
  },
101
+ qrcode: {
102
+ ariaLabel: "QR Code",
103
+ expiredText: "QR code expired",
104
+ refreshText: "Refresh",
105
+ loadingText: "Loading..."
106
+ },
107
+ timeline: {
108
+ pendingText: "Loading..."
109
+ },
81
110
  upload: DEFAULT_UPLOAD_LABELS,
82
111
  pagination: {
83
112
  totalText: "Total {total} items",
@@ -106,17 +135,85 @@ var enUS = {
106
135
  columnSettingsText: "Column settings",
107
136
  columnSettingsAriaLabel: "Column settings",
108
137
  lockColumnAriaLabel: "Lock column {column}",
109
- unlockColumnAriaLabel: "Unlock column {column}"
138
+ unlockColumnAriaLabel: "Unlock column {column}",
139
+ allText: "All",
140
+ filterPlaceholder: "Filter...",
141
+ exportCsvText: "Export CSV",
142
+ exportExcelText: "Export Excel",
143
+ exportCsvAriaLabel: "Export to CSV",
144
+ exportExcelAriaLabel: "Export to Excel",
145
+ expandRowAriaLabel: "Expand row",
146
+ collapseRowAriaLabel: "Collapse row"
110
147
  },
148
+ datePicker: EN_US_DATEPICKER_LOCALE,
111
149
  timePicker: DEFAULT_TIME_PICKER_LABELS,
112
150
  formWizard: {
113
151
  prevText: "Previous",
114
152
  nextText: "Next",
115
153
  finishText: "Finish"
116
154
  },
155
+ tour: {
156
+ prevText: "Previous",
157
+ nextText: "Next",
158
+ finishText: "Finish",
159
+ closeAriaLabel: "Close tour"
160
+ },
161
+ calendar: {
162
+ previousMonth: "Previous month",
163
+ nextMonth: "Next month",
164
+ previousYear: "Previous year",
165
+ nextYear: "Next year",
166
+ yearSelectAriaLabel: "Year",
167
+ monthSelectAriaLabel: "Month",
168
+ daySelectAriaLabel: "Day"
169
+ },
170
+ fileManager: {
171
+ rootText: "Root"
172
+ },
173
+ imageViewer: {
174
+ dialogAriaLabel: "Image viewer",
175
+ previewDialogAriaLabel: "Image preview",
176
+ closeAriaLabel: "Close",
177
+ closePreviewAriaLabel: "Close preview",
178
+ previousImageAriaLabel: "Previous image",
179
+ nextImageAriaLabel: "Next image",
180
+ zoomOutAriaLabel: "Zoom out",
181
+ resetAriaLabel: "Reset",
182
+ zoomInAriaLabel: "Zoom in",
183
+ rotateLeftAriaLabel: "Rotate left",
184
+ rotateRightAriaLabel: "Rotate right"
185
+ },
186
+ imageEditor: {
187
+ selectImageText: "Select image",
188
+ selectImageAriaLabel: "Select image to crop and upload",
189
+ cropModalTitle: "Crop image",
190
+ cropCancelText: "Cancel",
191
+ cropConfirmText: "Confirm crop",
192
+ cropperDialogAriaLabel: "Image cropper",
193
+ imageToCropAriaLabel: "Image to crop",
194
+ moveCropAreaAriaLabel: "Move crop area",
195
+ resizeCropAreaAriaLabel: "Resize crop area {handle}",
196
+ loadingCropImageAriaLabel: "Loading image for cropping",
197
+ annotationToolbarAriaLabel: "Annotation tools",
198
+ annotationEditorAriaLabel: "Image annotation editor",
199
+ annotationCanvasAriaLabel: "Image annotation canvas",
200
+ loadingAnnotationImageAriaLabel: "Loading image for annotation",
201
+ selectToolText: "Select",
202
+ rectangleToolText: "Rectangle",
203
+ ellipseToolText: "Ellipse",
204
+ polygonToolText: "Polygon",
205
+ freehandToolText: "Freehand",
206
+ deleteText: "Delete"
207
+ },
208
+ status: {
209
+ tagCloseAriaLabel: "Close tag",
210
+ badgeLabel: "notification",
211
+ badgeCountLabel: "{count} notifications"
212
+ },
117
213
  taskBoard: {
118
214
  emptyColumnText: "No tasks",
119
215
  addCardText: "Add task",
216
+ addColumnText: "Add column",
120
217
  wipLimitText: "WIP limit: {limit}",
121
218
  dragHintText: "Drag to move",
122
219
  boardAriaLabel: "Task Board"
@@ -145,7 +242,193 @@ var enUS = {
145
242
  }
146
243
  };
147
244
 
245
+ // src/utils/i18n/datepicker-locales/ar-SA.ts
246
+ var AR_SA_DATEPICKER_LOCALE = {
247
+ locale: "ar-SA",
248
+ labels: {
249
+ today: "\u0627\u0644\u064A\u0648\u0645",
250
+ ok: "\u0645\u0648\u0627\u0641\u0642",
251
+ calendar: "\u0627\u0644\u062A\u0642\u0648\u064A\u0645",
252
+ toggleCalendar: "\u0641\u062A\u062D \u0627\u0644\u062A\u0642\u0648\u064A\u0645",
253
+ clearDate: "\u0645\u0633\u062D \u0627\u0644\u062A\u0627\u0631\u064A\u062E",
254
+ previousMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642",
255
+ nextMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062A\u0627\u0644\u064A"
256
+ }
257
+ };
258
+
259
+ // src/utils/i18n/datepicker-locales/de-DE.ts
260
+ var DE_DE_DATEPICKER_LOCALE = {
261
+ locale: "de-DE",
262
+ labels: {
263
+ today: "Heute",
264
+ ok: "OK",
265
+ calendar: "Kalender",
266
+ toggleCalendar: "Kalender \xF6ffnen",
267
+ clearDate: "Datum l\xF6schen",
268
+ previousMonth: "Vorheriger Monat",
269
+ nextMonth: "N\xE4chster Monat"
270
+ }
271
+ };
272
+
273
+ // src/utils/i18n/datepicker-locales/es-ES.ts
274
+ var ES_ES_DATEPICKER_LOCALE = {
275
+ locale: "es-ES",
276
+ labels: {
277
+ today: "Hoy",
278
+ ok: "Aceptar",
279
+ calendar: "Calendario",
280
+ toggleCalendar: "Abrir calendario",
281
+ clearDate: "Borrar fecha",
282
+ previousMonth: "Mes anterior",
283
+ nextMonth: "Mes siguiente"
284
+ }
285
+ };
286
+
287
+ // src/utils/i18n/datepicker-locales/fr-FR.ts
288
+ var FR_FR_DATEPICKER_LOCALE = {
289
+ locale: "fr-FR",
290
+ labels: {
291
+ today: "Aujourd'hui",
292
+ ok: "OK",
293
+ calendar: "Calendrier",
294
+ toggleCalendar: "Ouvrir le calendrier",
295
+ clearDate: "Effacer la date",
296
+ previousMonth: "Mois pr\xE9c\xE9dent",
297
+ nextMonth: "Mois suivant"
298
+ }
299
+ };
300
+
301
+ // src/utils/i18n/datepicker-locales/id-ID.ts
302
+ var ID_ID_DATEPICKER_LOCALE = {
303
+ locale: "id-ID",
304
+ labels: {
305
+ today: "Hari ini",
306
+ ok: "OK",
307
+ calendar: "Kalender",
308
+ toggleCalendar: "Buka kalender",
309
+ clearDate: "Hapus tanggal",
310
+ previousMonth: "Bulan sebelumnya",
311
+ nextMonth: "Bulan berikutnya"
312
+ }
313
+ };
314
+
315
+ // src/utils/i18n/datepicker-locales/ja-JP.ts
316
+ var JA_JP_DATEPICKER_LOCALE = {
317
+ locale: "ja-JP",
318
+ labels: {
319
+ today: "\u4ECA\u65E5",
320
+ ok: "OK",
321
+ calendar: "\u30AB\u30EC\u30F3\u30C0\u30FC",
322
+ toggleCalendar: "\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u958B\u304F",
323
+ clearDate: "\u65E5\u4ED8\u3092\u30AF\u30EA\u30A2",
324
+ previousMonth: "\u524D\u306E\u6708",
325
+ nextMonth: "\u6B21\u306E\u6708"
326
+ }
327
+ };
328
+
329
+ // src/utils/i18n/datepicker-locales/ko-KR.ts
330
+ var KO_KR_DATEPICKER_LOCALE = {
331
+ locale: "ko-KR",
332
+ labels: {
333
+ today: "\uC624\uB298",
334
+ ok: "\uD655\uC778",
335
+ calendar: "\uB2EC\uB825",
336
+ toggleCalendar: "\uB2EC\uB825 \uC5F4\uAE30",
337
+ clearDate: "\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",
338
+ previousMonth: "\uC774\uC804 \uB2EC",
339
+ nextMonth: "\uB2E4\uC74C \uB2EC"
340
+ }
341
+ };
342
+
343
+ // src/utils/i18n/datepicker-locales/pt-BR.ts
344
+ var PT_BR_DATEPICKER_LOCALE = {
345
+ locale: "pt-BR",
346
+ labels: {
347
+ today: "Hoje",
348
+ ok: "OK",
349
+ calendar: "Calend\xE1rio",
350
+ toggleCalendar: "Abrir calend\xE1rio",
351
+ clearDate: "Limpar data",
352
+ previousMonth: "M\xEAs anterior",
353
+ nextMonth: "Pr\xF3ximo m\xEAs"
354
+ }
355
+ };
356
+
357
+ // src/utils/i18n/datepicker-locales/th-TH.ts
358
+ var TH_TH_DATEPICKER_LOCALE = {
359
+ locale: "th-TH",
360
+ labels: {
361
+ today: "\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",
362
+ ok: "\u0E15\u0E01\u0E25\u0E07",
363
+ calendar: "\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
364
+ toggleCalendar: "\u0E40\u0E1B\u0E34\u0E14\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
365
+ clearDate: "\u0E25\u0E49\u0E32\u0E07\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48",
366
+ previousMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
367
+ nextMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B"
368
+ }
369
+ };
370
+
371
+ // src/utils/i18n/datepicker-locales/vi-VN.ts
372
+ var VI_VN_DATEPICKER_LOCALE = {
373
+ locale: "vi-VN",
374
+ labels: {
375
+ today: "H\xF4m nay",
376
+ ok: "OK",
377
+ calendar: "L\u1ECBch",
378
+ toggleCalendar: "M\u1EDF l\u1ECBch",
379
+ clearDate: "X\xF3a ng\xE0y",
380
+ previousMonth: "Th\xE1ng tr\u01B0\u1EDBc",
381
+ nextMonth: "Th\xE1ng sau"
382
+ }
383
+ };
384
+
385
+ // src/utils/i18n/datepicker-locales/zh-CN.ts
386
+ var ZH_CN_DATEPICKER_LOCALE = {
387
+ locale: "zh-CN",
388
+ labels: {
389
+ today: "\u4ECA\u5929",
390
+ ok: "\u786E\u5B9A",
391
+ calendar: "\u65E5\u5386",
392
+ toggleCalendar: "\u6253\u5F00\u65E5\u5386",
393
+ clearDate: "\u6E05\u9664\u65E5\u671F",
394
+ previousMonth: "\u4E0A\u4E2A\u6708",
395
+ nextMonth: "\u4E0B\u4E2A\u6708"
396
+ }
397
+ };
398
+
399
+ // src/utils/i18n/datepicker-locales/zh-TW.ts
400
+ var ZH_TW_DATEPICKER_LOCALE = {
401
+ locale: "zh-TW",
402
+ labels: {
403
+ today: "\u4ECA\u5929",
404
+ ok: "\u78BA\u5B9A",
405
+ calendar: "\u65E5\u66C6",
406
+ toggleCalendar: "\u958B\u555F\u65E5\u66C6",
407
+ clearDate: "\u6E05\u9664\u65E5\u671F",
408
+ previousMonth: "\u4E0A\u500B\u6708",
409
+ nextMonth: "\u4E0B\u500B\u6708"
410
+ }
411
+ };
412
+
148
413
  // src/utils/i18n/define-locale.ts
414
+ var DATEPICKER_LOCALES = [
415
+ EN_US_DATEPICKER_LOCALE,
416
+ ZH_CN_DATEPICKER_LOCALE,
417
+ ZH_TW_DATEPICKER_LOCALE,
418
+ JA_JP_DATEPICKER_LOCALE,
419
+ KO_KR_DATEPICKER_LOCALE,
420
+ TH_TH_DATEPICKER_LOCALE,
421
+ VI_VN_DATEPICKER_LOCALE,
422
+ ID_ID_DATEPICKER_LOCALE,
423
+ ES_ES_DATEPICKER_LOCALE,
424
+ FR_FR_DATEPICKER_LOCALE,
425
+ DE_DE_DATEPICKER_LOCALE,
426
+ PT_BR_DATEPICKER_LOCALE,
427
+ AR_SA_DATEPICKER_LOCALE
428
+ ];
429
+ var DATEPICKER_LOCALE_BY_ID = new Map(
430
+ DATEPICKER_LOCALES.map((locale) => [locale.locale, locale])
431
+ );
149
432
  function isPlainObject(value) {
150
433
  if (value === null || typeof value !== "object") return false;
151
434
  const proto = Object.getPrototypeOf(value);
@@ -167,7 +450,9 @@ function deepMerge(base, override) {
167
450
  return out;
168
451
  }
169
452
  function defineLocale(overrides = {}) {
170
- return deepMerge(enUS, overrides);
453
+ const locale = overrides.locale ? DATEPICKER_LOCALE_BY_ID.get(overrides.locale) : void 0;
454
+ const normalizedOverrides = locale && !overrides.datePicker ? { ...overrides, datePicker: locale } : overrides;
455
+ return deepMerge(enUS, normalizedOverrides);
171
456
  }
172
457
 
173
458
  // src/utils/i18n/locales/de-DE.ts
@@ -190,6 +475,15 @@ var deDE = defineLocale({
190
475
  drawer: {
191
476
  closeAriaLabel: "Schlie\xDFen"
192
477
  },
478
+ qrcode: {
479
+ ariaLabel: "QR-Code",
480
+ expiredText: "QR-Code abgelaufen",
481
+ refreshText: "Aktualisieren",
482
+ loadingText: "Wird geladen..."
483
+ },
484
+ timeline: {
485
+ pendingText: "Wird geladen..."
486
+ },
193
487
  upload: {
194
488
  dragAreaAriaLabel: "Datei per Klick oder Drag-and-drop hochladen",
195
489
  buttonAriaLabel: "Datei hochladen",