@expcat/tigercat-core 1.5.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.
Files changed (123) hide show
  1. package/dist/{datepicker-gSOJN_pQ.d.cts → datepicker-ZdzYUqm5.d.ts} +77 -11
  2. package/dist/datepicker-locales/ar-SA.d.ts +1 -1
  3. package/dist/datepicker-locales/de-DE.d.ts +1 -1
  4. package/dist/datepicker-locales/en-US.d.ts +1 -1
  5. package/dist/datepicker-locales/es-ES.d.ts +1 -1
  6. package/dist/datepicker-locales/fr-FR.d.ts +1 -1
  7. package/dist/datepicker-locales/id-ID.d.ts +1 -1
  8. package/dist/datepicker-locales/ja-JP.d.ts +1 -1
  9. package/dist/datepicker-locales/ko-KR.d.ts +1 -1
  10. package/dist/datepicker-locales/pt-BR.d.ts +1 -1
  11. package/dist/datepicker-locales/registry.d.ts +7 -0
  12. package/dist/datepicker-locales/registry.js +224 -0
  13. package/dist/datepicker-locales/th-TH.d.ts +1 -1
  14. package/dist/datepicker-locales/vi-VN.d.ts +1 -1
  15. package/dist/datepicker-locales/zh-CN.d.ts +1 -1
  16. package/dist/datepicker-locales/zh-TW.d.ts +1 -1
  17. package/dist/icons/picker.d.ts +1 -13
  18. package/dist/icons/picker.js +0 -12
  19. package/dist/index.d.ts +11356 -11653
  20. package/dist/index.js +206 -375
  21. package/dist/{locale-hhhI2kH6.d.ts → locale-44p_QYnH.d.ts} +4 -7
  22. package/dist/locales/ar-SA.d.ts +2 -2
  23. package/dist/locales/ar-SA.js +16 -189
  24. package/dist/locales/de-DE.d.ts +2 -2
  25. package/dist/locales/de-DE.js +16 -189
  26. package/dist/locales/en-US.d.ts +2 -2
  27. package/dist/locales/es-ES.d.ts +2 -2
  28. package/dist/locales/es-ES.js +16 -189
  29. package/dist/locales/fr-FR.d.ts +2 -2
  30. package/dist/locales/fr-FR.js +16 -189
  31. package/dist/locales/id-ID.d.ts +2 -2
  32. package/dist/locales/id-ID.js +16 -189
  33. package/dist/locales/ja-JP.d.ts +2 -2
  34. package/dist/locales/ja-JP.js +16 -189
  35. package/dist/locales/ko-KR.d.ts +2 -2
  36. package/dist/locales/ko-KR.js +16 -189
  37. package/dist/locales/pt-BR.d.ts +2 -2
  38. package/dist/locales/pt-BR.js +16 -189
  39. package/dist/locales/th-TH.d.ts +2 -2
  40. package/dist/locales/th-TH.js +16 -189
  41. package/dist/locales/vi-VN.d.ts +2 -2
  42. package/dist/locales/vi-VN.js +16 -189
  43. package/dist/locales/zh-CN.d.ts +2 -2
  44. package/dist/locales/zh-TW.d.ts +2 -2
  45. package/dist/locales/zh-TW.js +16 -189
  46. package/dist/{table-export-CfdzU6Y5.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
  47. package/dist/utils/table-export.d.ts +3 -3
  48. package/package.json +40 -71
  49. package/tokens/tokens.css +0 -329
  50. package/dist/datepicker-gSOJN_pQ.d.ts +0 -130
  51. package/dist/datepicker-locales/ar-SA.cjs +0 -46
  52. package/dist/datepicker-locales/ar-SA.d.cts +0 -6
  53. package/dist/datepicker-locales/de-DE.cjs +0 -46
  54. package/dist/datepicker-locales/de-DE.d.cts +0 -6
  55. package/dist/datepicker-locales/en-US.cjs +0 -46
  56. package/dist/datepicker-locales/en-US.d.cts +0 -6
  57. package/dist/datepicker-locales/es-ES.cjs +0 -46
  58. package/dist/datepicker-locales/es-ES.d.cts +0 -6
  59. package/dist/datepicker-locales/fr-FR.cjs +0 -46
  60. package/dist/datepicker-locales/fr-FR.d.cts +0 -6
  61. package/dist/datepicker-locales/id-ID.cjs +0 -46
  62. package/dist/datepicker-locales/id-ID.d.cts +0 -6
  63. package/dist/datepicker-locales/ja-JP.cjs +0 -46
  64. package/dist/datepicker-locales/ja-JP.d.cts +0 -6
  65. package/dist/datepicker-locales/ko-KR.cjs +0 -46
  66. package/dist/datepicker-locales/ko-KR.d.cts +0 -6
  67. package/dist/datepicker-locales/pt-BR.cjs +0 -46
  68. package/dist/datepicker-locales/pt-BR.d.cts +0 -6
  69. package/dist/datepicker-locales/th-TH.cjs +0 -46
  70. package/dist/datepicker-locales/th-TH.d.cts +0 -6
  71. package/dist/datepicker-locales/vi-VN.cjs +0 -46
  72. package/dist/datepicker-locales/vi-VN.d.cts +0 -6
  73. package/dist/datepicker-locales/zh-CN.cjs +0 -46
  74. package/dist/datepicker-locales/zh-CN.d.cts +0 -6
  75. package/dist/datepicker-locales/zh-TW.cjs +0 -46
  76. package/dist/datepicker-locales/zh-TW.d.cts +0 -6
  77. package/dist/icons/common.cjs +0 -54
  78. package/dist/icons/common.d.cts +0 -20
  79. package/dist/icons/picker.cjs +0 -75
  80. package/dist/icons/picker.d.cts +0 -53
  81. package/dist/icons/registry.cjs +0 -172
  82. package/dist/icons/registry.d.cts +0 -102
  83. package/dist/icons/status.cjs +0 -47
  84. package/dist/icons/status.d.cts +0 -13
  85. package/dist/icons/table.cjs +0 -48
  86. package/dist/icons/table.d.cts +0 -25
  87. package/dist/index.cjs +0 -22311
  88. package/dist/index.d.cts +0 -20523
  89. package/dist/locale-BTAo7XO1.d.cts +0 -392
  90. package/dist/locales/ar-SA.cjs +0 -548
  91. package/dist/locales/ar-SA.d.cts +0 -10
  92. package/dist/locales/de-DE.cjs +0 -548
  93. package/dist/locales/de-DE.d.cts +0 -10
  94. package/dist/locales/en-US.cjs +0 -246
  95. package/dist/locales/en-US.d.cts +0 -10
  96. package/dist/locales/es-ES.cjs +0 -548
  97. package/dist/locales/es-ES.d.cts +0 -10
  98. package/dist/locales/fr-FR.cjs +0 -548
  99. package/dist/locales/fr-FR.d.cts +0 -10
  100. package/dist/locales/id-ID.cjs +0 -531
  101. package/dist/locales/id-ID.d.cts +0 -10
  102. package/dist/locales/ja-JP.cjs +0 -531
  103. package/dist/locales/ja-JP.d.cts +0 -10
  104. package/dist/locales/ko-KR.cjs +0 -531
  105. package/dist/locales/ko-KR.d.cts +0 -10
  106. package/dist/locales/pt-BR.cjs +0 -548
  107. package/dist/locales/pt-BR.d.cts +0 -10
  108. package/dist/locales/th-TH.cjs +0 -531
  109. package/dist/locales/th-TH.d.cts +0 -10
  110. package/dist/locales/vi-VN.cjs +0 -531
  111. package/dist/locales/vi-VN.d.cts +0 -10
  112. package/dist/locales/zh-CN.cjs +0 -246
  113. package/dist/locales/zh-CN.d.cts +0 -10
  114. package/dist/locales/zh-TW.cjs +0 -531
  115. package/dist/locales/zh-TW.d.cts +0 -10
  116. package/dist/table-export-vfyBzKui.d.cts +0 -882
  117. package/dist/tailwind/modern.cjs +0 -363
  118. package/dist/tailwind/modern.d.cts +0 -5
  119. package/dist/tailwind-entry-CNBAH7iv.d.cts +0 -184
  120. package/dist/tailwind.cjs +0 -274
  121. package/dist/tailwind.d.cts +0 -2
  122. package/dist/utils/table-export.cjs +0 -119
  123. package/dist/utils/table-export.d.cts +0 -3
@@ -1,531 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/i18n/locales/zh-TW.ts
21
- var zh_TW_exports = {};
22
- __export(zh_TW_exports, {
23
- zhTW: () => zhTW
24
- });
25
- module.exports = __toCommonJS(zh_TW_exports);
26
-
27
- // src/utils/locale-utils.ts
28
- var DEFAULT_TIME_PICKER_LABELS = {
29
- hour: "Hour",
30
- minute: "Min",
31
- second: "Sec",
32
- now: "Now",
33
- ok: "OK",
34
- start: "Start",
35
- end: "End",
36
- clear: "Clear time",
37
- toggle: "Toggle time picker",
38
- dialog: "Time picker",
39
- selectTime: "Select time",
40
- selectTimeRange: "Select time range"
41
- };
42
- var DEFAULT_UPLOAD_LABELS = {
43
- dragAreaAriaLabel: "Upload file by clicking or dragging",
44
- buttonAriaLabel: "Upload file",
45
- clickToUploadText: "Click to upload",
46
- dragAndDropText: "or drag and drop",
47
- acceptInfoText: "Accepted: {accept}",
48
- maxSizeInfoText: "Max size: {maxSize}",
49
- selectFileText: "Select File",
50
- uploadedFilesAriaLabel: "Uploaded files",
51
- successAriaLabel: "Success",
52
- errorAriaLabel: "Error",
53
- uploadingAriaLabel: "Uploading",
54
- removeFileAriaLabel: "Remove {fileName}",
55
- previewFileAriaLabel: "Preview {fileName}"
56
- };
57
-
58
- // src/utils/i18n/datepicker-locales/en-US.ts
59
- var EN_US_DATEPICKER_LOCALE = {
60
- locale: "en-US",
61
- labels: {
62
- today: "Today",
63
- ok: "OK",
64
- calendar: "Calendar",
65
- toggleCalendar: "Toggle calendar",
66
- clearDate: "Clear date",
67
- previousMonth: "Previous month",
68
- nextMonth: "Next month"
69
- }
70
- };
71
-
72
- // src/utils/i18n/locales/en-US.ts
73
- var enUS = {
74
- locale: "en-US",
75
- direction: "ltr",
76
- common: {
77
- okText: "OK",
78
- cancelText: "Cancel",
79
- closeText: "Close",
80
- loadingText: "Loading...",
81
- emptyText: "No data",
82
- noMoreText: "No more data",
83
- searchPlaceholder: "Search",
84
- clearText: "Clear"
85
- },
86
- empty: {
87
- noData: "No data",
88
- noDataAvailable: "No data available",
89
- noResults: "No results found",
90
- error: "Something went wrong"
91
- },
92
- modal: {
93
- closeAriaLabel: "Close",
94
- okText: "OK",
95
- cancelText: "Cancel"
96
- },
97
- drawer: {
98
- closeAriaLabel: "Close"
99
- },
100
- qrcode: {
101
- ariaLabel: "QR Code",
102
- expiredText: "QR code expired",
103
- refreshText: "Refresh",
104
- loadingText: "Loading..."
105
- },
106
- timeline: {
107
- pendingText: "Loading..."
108
- },
109
- upload: DEFAULT_UPLOAD_LABELS,
110
- pagination: {
111
- totalText: "Total {total} items",
112
- itemsPerPageText: "/ page",
113
- jumpToText: "Go to",
114
- pageText: "page",
115
- prevPageAriaLabel: "Previous page",
116
- nextPageAriaLabel: "Next page",
117
- pageAriaLabel: "Page {page}",
118
- pageIndicatorText: "Page {current} of {total}"
119
- },
120
- table: {
121
- emptyText: "No data",
122
- loadingText: "Loading",
123
- expandText: "Expand",
124
- collapseText: "Collapse",
125
- selectAllText: "Select all",
126
- selectRowAriaLabel: "Select row {row}",
127
- sortByText: "Sort by {column}",
128
- clearSortText: "Clear sort",
129
- toolbarAriaLabel: "Data table toolbar",
130
- searchPlaceholder: "Search",
131
- searchButtonText: "Search",
132
- selectedText: "Selected",
133
- selectedItemsText: "items",
134
- columnSettingsText: "Column settings",
135
- columnSettingsAriaLabel: "Column settings",
136
- lockColumnAriaLabel: "Lock column {column}",
137
- unlockColumnAriaLabel: "Unlock column {column}",
138
- allText: "All",
139
- filterPlaceholder: "Filter...",
140
- exportCsvText: "Export CSV",
141
- exportExcelText: "Export Excel",
142
- exportCsvAriaLabel: "Export to CSV",
143
- exportExcelAriaLabel: "Export to Excel",
144
- expandRowAriaLabel: "Expand row",
145
- collapseRowAriaLabel: "Collapse row"
146
- },
147
- datePicker: EN_US_DATEPICKER_LOCALE,
148
- timePicker: DEFAULT_TIME_PICKER_LABELS,
149
- formWizard: {
150
- prevText: "Previous",
151
- nextText: "Next",
152
- finishText: "Finish"
153
- },
154
- tour: {
155
- prevText: "Previous",
156
- nextText: "Next",
157
- finishText: "Finish",
158
- closeAriaLabel: "Close tour"
159
- },
160
- calendar: {
161
- previousMonth: "Previous month",
162
- nextMonth: "Next month",
163
- previousYear: "Previous year",
164
- nextYear: "Next year",
165
- yearSelectAriaLabel: "Year",
166
- monthSelectAriaLabel: "Month",
167
- daySelectAriaLabel: "Day"
168
- },
169
- fileManager: {
170
- rootText: "Root"
171
- },
172
- imageViewer: {
173
- dialogAriaLabel: "Image viewer",
174
- previewDialogAriaLabel: "Image preview",
175
- closeAriaLabel: "Close",
176
- closePreviewAriaLabel: "Close preview",
177
- previousImageAriaLabel: "Previous image",
178
- nextImageAriaLabel: "Next image",
179
- zoomOutAriaLabel: "Zoom out",
180
- resetAriaLabel: "Reset",
181
- zoomInAriaLabel: "Zoom in",
182
- rotateLeftAriaLabel: "Rotate left",
183
- rotateRightAriaLabel: "Rotate right"
184
- },
185
- imageEditor: {
186
- selectImageText: "Select image",
187
- selectImageAriaLabel: "Select image to crop and upload",
188
- cropModalTitle: "Crop image",
189
- cropCancelText: "Cancel",
190
- cropConfirmText: "Confirm crop",
191
- cropperDialogAriaLabel: "Image cropper",
192
- imageToCropAriaLabel: "Image to crop",
193
- moveCropAreaAriaLabel: "Move crop area",
194
- resizeCropAreaAriaLabel: "Resize crop area {handle}",
195
- loadingCropImageAriaLabel: "Loading image for cropping",
196
- annotationToolbarAriaLabel: "Annotation tools",
197
- annotationEditorAriaLabel: "Image annotation editor",
198
- annotationCanvasAriaLabel: "Image annotation canvas",
199
- loadingAnnotationImageAriaLabel: "Loading image for annotation",
200
- selectToolText: "Select",
201
- rectangleToolText: "Rectangle",
202
- ellipseToolText: "Ellipse",
203
- polygonToolText: "Polygon",
204
- freehandToolText: "Freehand",
205
- deleteText: "Delete"
206
- },
207
- status: {
208
- tagCloseAriaLabel: "Close tag",
209
- badgeLabel: "notification",
210
- badgeCountLabel: "{count} notifications"
211
- },
212
- taskBoard: {
213
- emptyColumnText: "No tasks",
214
- addCardText: "Add task",
215
- addColumnText: "Add column",
216
- wipLimitText: "WIP limit: {limit}",
217
- dragHintText: "Drag to move",
218
- boardAriaLabel: "Task Board"
219
- },
220
- formValidation: {
221
- required: "This field is required",
222
- typeString: "Value must be a string",
223
- typeNumber: "Value must be a number",
224
- typeBoolean: "Value must be a boolean",
225
- typeArray: "Value must be an array",
226
- typeObject: "Value must be an object",
227
- email: "Please enter a valid email address",
228
- phone: "Please enter a valid phone number",
229
- url: "Please enter a valid URL",
230
- date: "Please enter a valid date",
231
- idCard: "Please enter a valid ID card number",
232
- minLength: "Minimum length is {min} characters",
233
- maxLength: "Maximum length is {max} characters",
234
- minValue: "Minimum value is {min}",
235
- maxValue: "Maximum value is {max}",
236
- minItems: "Minimum {min} items required",
237
- maxItems: "Maximum {max} items allowed",
238
- patternMismatch: "Value does not match the required pattern",
239
- validatorFailed: "Validation failed",
240
- validatorError: "Validation error occurred"
241
- }
242
- };
243
-
244
- // src/utils/i18n/datepicker-locales/ar-SA.ts
245
- var AR_SA_DATEPICKER_LOCALE = {
246
- locale: "ar-SA",
247
- labels: {
248
- today: "\u0627\u0644\u064A\u0648\u0645",
249
- ok: "\u0645\u0648\u0627\u0641\u0642",
250
- calendar: "\u0627\u0644\u062A\u0642\u0648\u064A\u0645",
251
- toggleCalendar: "\u0641\u062A\u062D \u0627\u0644\u062A\u0642\u0648\u064A\u0645",
252
- clearDate: "\u0645\u0633\u062D \u0627\u0644\u062A\u0627\u0631\u064A\u062E",
253
- previousMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642",
254
- nextMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062A\u0627\u0644\u064A"
255
- }
256
- };
257
-
258
- // src/utils/i18n/datepicker-locales/de-DE.ts
259
- var DE_DE_DATEPICKER_LOCALE = {
260
- locale: "de-DE",
261
- labels: {
262
- today: "Heute",
263
- ok: "OK",
264
- calendar: "Kalender",
265
- toggleCalendar: "Kalender \xF6ffnen",
266
- clearDate: "Datum l\xF6schen",
267
- previousMonth: "Vorheriger Monat",
268
- nextMonth: "N\xE4chster Monat"
269
- }
270
- };
271
-
272
- // src/utils/i18n/datepicker-locales/es-ES.ts
273
- var ES_ES_DATEPICKER_LOCALE = {
274
- locale: "es-ES",
275
- labels: {
276
- today: "Hoy",
277
- ok: "Aceptar",
278
- calendar: "Calendario",
279
- toggleCalendar: "Abrir calendario",
280
- clearDate: "Borrar fecha",
281
- previousMonth: "Mes anterior",
282
- nextMonth: "Mes siguiente"
283
- }
284
- };
285
-
286
- // src/utils/i18n/datepicker-locales/fr-FR.ts
287
- var FR_FR_DATEPICKER_LOCALE = {
288
- locale: "fr-FR",
289
- labels: {
290
- today: "Aujourd'hui",
291
- ok: "OK",
292
- calendar: "Calendrier",
293
- toggleCalendar: "Ouvrir le calendrier",
294
- clearDate: "Effacer la date",
295
- previousMonth: "Mois pr\xE9c\xE9dent",
296
- nextMonth: "Mois suivant"
297
- }
298
- };
299
-
300
- // src/utils/i18n/datepicker-locales/id-ID.ts
301
- var ID_ID_DATEPICKER_LOCALE = {
302
- locale: "id-ID",
303
- labels: {
304
- today: "Hari ini",
305
- ok: "OK",
306
- calendar: "Kalender",
307
- toggleCalendar: "Buka kalender",
308
- clearDate: "Hapus tanggal",
309
- previousMonth: "Bulan sebelumnya",
310
- nextMonth: "Bulan berikutnya"
311
- }
312
- };
313
-
314
- // src/utils/i18n/datepicker-locales/ja-JP.ts
315
- var JA_JP_DATEPICKER_LOCALE = {
316
- locale: "ja-JP",
317
- labels: {
318
- today: "\u4ECA\u65E5",
319
- ok: "OK",
320
- calendar: "\u30AB\u30EC\u30F3\u30C0\u30FC",
321
- toggleCalendar: "\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u958B\u304F",
322
- clearDate: "\u65E5\u4ED8\u3092\u30AF\u30EA\u30A2",
323
- previousMonth: "\u524D\u306E\u6708",
324
- nextMonth: "\u6B21\u306E\u6708"
325
- }
326
- };
327
-
328
- // src/utils/i18n/datepicker-locales/ko-KR.ts
329
- var KO_KR_DATEPICKER_LOCALE = {
330
- locale: "ko-KR",
331
- labels: {
332
- today: "\uC624\uB298",
333
- ok: "\uD655\uC778",
334
- calendar: "\uB2EC\uB825",
335
- toggleCalendar: "\uB2EC\uB825 \uC5F4\uAE30",
336
- clearDate: "\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",
337
- previousMonth: "\uC774\uC804 \uB2EC",
338
- nextMonth: "\uB2E4\uC74C \uB2EC"
339
- }
340
- };
341
-
342
- // src/utils/i18n/datepicker-locales/pt-BR.ts
343
- var PT_BR_DATEPICKER_LOCALE = {
344
- locale: "pt-BR",
345
- labels: {
346
- today: "Hoje",
347
- ok: "OK",
348
- calendar: "Calend\xE1rio",
349
- toggleCalendar: "Abrir calend\xE1rio",
350
- clearDate: "Limpar data",
351
- previousMonth: "M\xEAs anterior",
352
- nextMonth: "Pr\xF3ximo m\xEAs"
353
- }
354
- };
355
-
356
- // src/utils/i18n/datepicker-locales/th-TH.ts
357
- var TH_TH_DATEPICKER_LOCALE = {
358
- locale: "th-TH",
359
- labels: {
360
- today: "\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",
361
- ok: "\u0E15\u0E01\u0E25\u0E07",
362
- calendar: "\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
363
- toggleCalendar: "\u0E40\u0E1B\u0E34\u0E14\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
364
- clearDate: "\u0E25\u0E49\u0E32\u0E07\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48",
365
- previousMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
366
- nextMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B"
367
- }
368
- };
369
-
370
- // src/utils/i18n/datepicker-locales/vi-VN.ts
371
- var VI_VN_DATEPICKER_LOCALE = {
372
- locale: "vi-VN",
373
- labels: {
374
- today: "H\xF4m nay",
375
- ok: "OK",
376
- calendar: "L\u1ECBch",
377
- toggleCalendar: "M\u1EDF l\u1ECBch",
378
- clearDate: "X\xF3a ng\xE0y",
379
- previousMonth: "Th\xE1ng tr\u01B0\u1EDBc",
380
- nextMonth: "Th\xE1ng sau"
381
- }
382
- };
383
-
384
- // src/utils/i18n/datepicker-locales/zh-CN.ts
385
- var ZH_CN_DATEPICKER_LOCALE = {
386
- locale: "zh-CN",
387
- labels: {
388
- today: "\u4ECA\u5929",
389
- ok: "\u786E\u5B9A",
390
- calendar: "\u65E5\u5386",
391
- toggleCalendar: "\u6253\u5F00\u65E5\u5386",
392
- clearDate: "\u6E05\u9664\u65E5\u671F",
393
- previousMonth: "\u4E0A\u4E2A\u6708",
394
- nextMonth: "\u4E0B\u4E2A\u6708"
395
- }
396
- };
397
-
398
- // src/utils/i18n/datepicker-locales/zh-TW.ts
399
- var ZH_TW_DATEPICKER_LOCALE = {
400
- locale: "zh-TW",
401
- labels: {
402
- today: "\u4ECA\u5929",
403
- ok: "\u78BA\u5B9A",
404
- calendar: "\u65E5\u66C6",
405
- toggleCalendar: "\u958B\u555F\u65E5\u66C6",
406
- clearDate: "\u6E05\u9664\u65E5\u671F",
407
- previousMonth: "\u4E0A\u500B\u6708",
408
- nextMonth: "\u4E0B\u500B\u6708"
409
- }
410
- };
411
-
412
- // src/utils/i18n/define-locale.ts
413
- var DATEPICKER_LOCALES = [
414
- EN_US_DATEPICKER_LOCALE,
415
- ZH_CN_DATEPICKER_LOCALE,
416
- ZH_TW_DATEPICKER_LOCALE,
417
- JA_JP_DATEPICKER_LOCALE,
418
- KO_KR_DATEPICKER_LOCALE,
419
- TH_TH_DATEPICKER_LOCALE,
420
- VI_VN_DATEPICKER_LOCALE,
421
- ID_ID_DATEPICKER_LOCALE,
422
- ES_ES_DATEPICKER_LOCALE,
423
- FR_FR_DATEPICKER_LOCALE,
424
- DE_DE_DATEPICKER_LOCALE,
425
- PT_BR_DATEPICKER_LOCALE,
426
- AR_SA_DATEPICKER_LOCALE
427
- ];
428
- var DATEPICKER_LOCALE_BY_ID = new Map(
429
- DATEPICKER_LOCALES.map((locale) => [locale.locale, locale])
430
- );
431
- function isPlainObject(value) {
432
- if (value === null || typeof value !== "object") return false;
433
- const proto = Object.getPrototypeOf(value);
434
- return proto === Object.prototype || proto === null;
435
- }
436
- function deepMerge(base, override) {
437
- if (!override) return { ...base };
438
- const out = { ...base };
439
- for (const key of Object.keys(override)) {
440
- const next = override[key];
441
- if (next === void 0) continue;
442
- const prev = base[key];
443
- if (isPlainObject(prev) && isPlainObject(next)) {
444
- out[key] = deepMerge(prev, next);
445
- } else {
446
- out[key] = next;
447
- }
448
- }
449
- return out;
450
- }
451
- function defineLocale(overrides = {}) {
452
- const locale = overrides.locale ? DATEPICKER_LOCALE_BY_ID.get(overrides.locale) : void 0;
453
- const normalizedOverrides = locale && !overrides.datePicker ? { ...overrides, datePicker: locale } : overrides;
454
- return deepMerge(enUS, normalizedOverrides);
455
- }
456
-
457
- // src/utils/i18n/locales/zh-TW.ts
458
- var zhTW = defineLocale({
459
- locale: "zh-TW",
460
- direction: "ltr",
461
- common: {
462
- okText: "\u78BA\u5B9A",
463
- cancelText: "\u53D6\u6D88",
464
- closeText: "\u95DC\u9589",
465
- loadingText: "\u8F09\u5165\u4E2D...",
466
- emptyText: "\u66AB\u7121\u8CC7\u6599",
467
- noMoreText: "\u6C92\u6709\u66F4\u591A\u4E86"
468
- },
469
- modal: {
470
- closeAriaLabel: "\u95DC\u9589",
471
- okText: "\u78BA\u5B9A",
472
- cancelText: "\u53D6\u6D88"
473
- },
474
- drawer: {
475
- closeAriaLabel: "\u95DC\u9589"
476
- },
477
- qrcode: {
478
- ariaLabel: "QR Code",
479
- expiredText: "QR Code \u5DF2\u904E\u671F",
480
- refreshText: "\u91CD\u65B0\u6574\u7406",
481
- loadingText: "\u8F09\u5165\u4E2D..."
482
- },
483
- timeline: {
484
- pendingText: "\u8F09\u5165\u4E2D..."
485
- },
486
- pagination: {
487
- totalText: "\u5171 {total} \u7B46",
488
- itemsPerPageText: "\u7B46/\u9801",
489
- jumpToText: "\u8DF3\u81F3",
490
- pageText: "\u9801",
491
- prevPageAriaLabel: "\u4E0A\u4E00\u9801",
492
- nextPageAriaLabel: "\u4E0B\u4E00\u9801",
493
- pageAriaLabel: "\u7B2C {page} \u9801",
494
- pageIndicatorText: "\u7B2C {current} \u9801\uFF0C\u5171 {total} \u9801"
495
- },
496
- table: {
497
- emptyText: "\u66AB\u7121\u8CC7\u6599",
498
- loadingText: "\u8F09\u5165\u4E2D",
499
- expandText: "\u5C55\u958B",
500
- collapseText: "\u6536\u5408",
501
- selectAllText: "\u5168\u9078",
502
- selectRowAriaLabel: "\u9078\u64C7\u7B2C {row} \u5217",
503
- sortByText: "\u4F9D {column} \u6392\u5E8F",
504
- clearSortText: "\u4E0D\u6392\u5E8F",
505
- toolbarAriaLabel: "\u8CC7\u6599\u8868\u683C\u5DE5\u5177\u5217",
506
- searchPlaceholder: "\u641C\u5C0B",
507
- searchButtonText: "\u641C\u5C0B",
508
- selectedText: "\u5DF2\u9078\u64C7",
509
- selectedItemsText: "\u7B46",
510
- columnSettingsText: "\u6B04\u4F4D\u8A2D\u5B9A",
511
- columnSettingsAriaLabel: "\u6B04\u4F4D\u8A2D\u5B9A",
512
- lockColumnAriaLabel: "\u9396\u5B9A{column}\u6B04",
513
- unlockColumnAriaLabel: "\u53D6\u6D88\u9396\u5B9A{column}\u6B04"
514
- },
515
- formWizard: {
516
- prevText: "\u4E0A\u4E00\u6B65",
517
- nextText: "\u4E0B\u4E00\u6B65",
518
- finishText: "\u5B8C\u6210"
519
- },
520
- taskBoard: {
521
- emptyColumnText: "\u66AB\u7121\u4EFB\u52D9",
522
- addCardText: "\u65B0\u589E\u4EFB\u52D9",
523
- wipLimitText: "WIP \u9650\u5236: {limit}",
524
- dragHintText: "\u62D6\u66F3\u4EE5\u79FB\u52D5",
525
- boardAriaLabel: "\u4EFB\u52D9\u770B\u677F"
526
- }
527
- });
528
- // Annotate the CommonJS export names for ESM import in node:
529
- 0 && (module.exports = {
530
- zhTW
531
- });
@@ -1,10 +0,0 @@
1
- import { T as TigerLocale } from '../locale-BTAo7XO1.cjs';
2
- import '../datepicker-gSOJN_pQ.cjs';
3
-
4
- /**
5
- * Traditional Chinese (zh-TW).
6
- */
7
-
8
- declare const zhTW: TigerLocale;
9
-
10
- export { zhTW };