@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.
Files changed (133) hide show
  1. package/dist/{datepicker-DXzS_8l8.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 +12341 -12244
  20. package/dist/index.js +1482 -659
  21. package/dist/{locale-9tTj1QdZ.d.ts → locale-44p_QYnH.d.ts} +96 -7
  22. package/dist/locales/ar-SA.d.ts +2 -2
  23. package/dist/locales/ar-SA.js +122 -1
  24. package/dist/locales/de-DE.d.ts +2 -2
  25. package/dist/locales/de-DE.js +122 -1
  26. package/dist/locales/en-US.d.ts +2 -2
  27. package/dist/locales/en-US.js +98 -1
  28. package/dist/locales/es-ES.d.ts +2 -2
  29. package/dist/locales/es-ES.js +122 -1
  30. package/dist/locales/fr-FR.d.ts +2 -2
  31. package/dist/locales/fr-FR.js +122 -1
  32. package/dist/locales/id-ID.d.ts +2 -2
  33. package/dist/locales/id-ID.js +268 -2
  34. package/dist/locales/ja-JP.d.ts +2 -2
  35. package/dist/locales/ja-JP.js +268 -2
  36. package/dist/locales/ko-KR.d.ts +2 -2
  37. package/dist/locales/ko-KR.js +268 -2
  38. package/dist/locales/pt-BR.d.ts +2 -2
  39. package/dist/locales/pt-BR.js +122 -1
  40. package/dist/locales/th-TH.d.ts +2 -2
  41. package/dist/locales/th-TH.js +268 -2
  42. package/dist/locales/vi-VN.d.ts +2 -2
  43. package/dist/locales/vi-VN.js +268 -2
  44. package/dist/locales/zh-CN.d.ts +2 -2
  45. package/dist/locales/zh-CN.js +98 -1
  46. package/dist/locales/zh-TW.d.ts +2 -2
  47. package/dist/locales/zh-TW.js +268 -2
  48. package/dist/{table-export-GRimhvlM.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
  49. package/dist/tailwind/modern.d.ts +2 -3
  50. package/dist/tailwind/modern.js +75 -80
  51. package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
  52. package/dist/tailwind.d.ts +2 -3
  53. package/dist/tailwind.js +123 -70
  54. package/dist/utils/table-export.d.ts +3 -3
  55. package/package.json +43 -73
  56. package/tokens/tailwind-tokens.js +6 -3
  57. package/tokens/tokens.css +8 -322
  58. package/dist/datepicker-DXzS_8l8.d.ts +0 -130
  59. package/dist/datepicker-locales/ar-SA.cjs +0 -46
  60. package/dist/datepicker-locales/ar-SA.d.cts +0 -6
  61. package/dist/datepicker-locales/de-DE.cjs +0 -46
  62. package/dist/datepicker-locales/de-DE.d.cts +0 -6
  63. package/dist/datepicker-locales/en-US.cjs +0 -46
  64. package/dist/datepicker-locales/en-US.d.cts +0 -6
  65. package/dist/datepicker-locales/es-ES.cjs +0 -46
  66. package/dist/datepicker-locales/es-ES.d.cts +0 -6
  67. package/dist/datepicker-locales/fr-FR.cjs +0 -46
  68. package/dist/datepicker-locales/fr-FR.d.cts +0 -6
  69. package/dist/datepicker-locales/id-ID.cjs +0 -46
  70. package/dist/datepicker-locales/id-ID.d.cts +0 -6
  71. package/dist/datepicker-locales/ja-JP.cjs +0 -46
  72. package/dist/datepicker-locales/ja-JP.d.cts +0 -6
  73. package/dist/datepicker-locales/ko-KR.cjs +0 -46
  74. package/dist/datepicker-locales/ko-KR.d.cts +0 -6
  75. package/dist/datepicker-locales/pt-BR.cjs +0 -46
  76. package/dist/datepicker-locales/pt-BR.d.cts +0 -6
  77. package/dist/datepicker-locales/th-TH.cjs +0 -46
  78. package/dist/datepicker-locales/th-TH.d.cts +0 -6
  79. package/dist/datepicker-locales/vi-VN.cjs +0 -46
  80. package/dist/datepicker-locales/vi-VN.d.cts +0 -6
  81. package/dist/datepicker-locales/zh-CN.cjs +0 -46
  82. package/dist/datepicker-locales/zh-CN.d.cts +0 -6
  83. package/dist/datepicker-locales/zh-TW.cjs +0 -46
  84. package/dist/datepicker-locales/zh-TW.d.cts +0 -6
  85. package/dist/icons/common.cjs +0 -54
  86. package/dist/icons/common.d.cts +0 -20
  87. package/dist/icons/picker.cjs +0 -75
  88. package/dist/icons/picker.d.cts +0 -53
  89. package/dist/icons/registry.cjs +0 -172
  90. package/dist/icons/registry.d.cts +0 -102
  91. package/dist/icons/status.cjs +0 -47
  92. package/dist/icons/status.d.cts +0 -13
  93. package/dist/icons/table.cjs +0 -48
  94. package/dist/icons/table.d.cts +0 -25
  95. package/dist/index.cjs +0 -21268
  96. package/dist/index.d.cts +0 -20129
  97. package/dist/locale-DxwhmqfF.d.cts +0 -300
  98. package/dist/locales/ar-SA.cjs +0 -254
  99. package/dist/locales/ar-SA.d.cts +0 -10
  100. package/dist/locales/de-DE.cjs +0 -254
  101. package/dist/locales/de-DE.d.cts +0 -10
  102. package/dist/locales/en-US.cjs +0 -149
  103. package/dist/locales/en-US.d.cts +0 -10
  104. package/dist/locales/es-ES.cjs +0 -254
  105. package/dist/locales/es-ES.d.cts +0 -10
  106. package/dist/locales/fr-FR.cjs +0 -254
  107. package/dist/locales/fr-FR.d.cts +0 -10
  108. package/dist/locales/id-ID.cjs +0 -90
  109. package/dist/locales/id-ID.d.cts +0 -10
  110. package/dist/locales/ja-JP.cjs +0 -90
  111. package/dist/locales/ja-JP.d.cts +0 -10
  112. package/dist/locales/ko-KR.cjs +0 -90
  113. package/dist/locales/ko-KR.d.cts +0 -10
  114. package/dist/locales/pt-BR.cjs +0 -254
  115. package/dist/locales/pt-BR.d.cts +0 -10
  116. package/dist/locales/th-TH.cjs +0 -90
  117. package/dist/locales/th-TH.d.cts +0 -10
  118. package/dist/locales/vi-VN.cjs +0 -90
  119. package/dist/locales/vi-VN.d.cts +0 -10
  120. package/dist/locales/zh-CN.cjs +0 -149
  121. package/dist/locales/zh-CN.d.cts +0 -10
  122. package/dist/locales/zh-TW.cjs +0 -90
  123. package/dist/locales/zh-TW.d.cts +0 -10
  124. package/dist/table-export-BMBH75rj.d.cts +0 -882
  125. package/dist/tailwind/modern.cjs +0 -368
  126. package/dist/tailwind/modern.d.cts +0 -6
  127. package/dist/tailwind-entry-DUchHtjs.d.cts +0 -218
  128. package/dist/tailwind.cjs +0 -221
  129. package/dist/tailwind.d.cts +0 -3
  130. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
  131. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
  132. package/dist/utils/table-export.cjs +0 -119
  133. package/dist/utils/table-export.d.cts +0 -3
@@ -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"
@@ -143,10 +240,25 @@ function defineLocale(overrides = {}) {
143
240
  return deepMerge(enUS, overrides);
144
241
  }
145
242
 
243
+ // src/utils/i18n/datepicker-locales/pt-BR.ts
244
+ var PT_BR_DATEPICKER_LOCALE = {
245
+ locale: "pt-BR",
246
+ labels: {
247
+ today: "Hoje",
248
+ ok: "OK",
249
+ calendar: "Calend\xE1rio",
250
+ toggleCalendar: "Abrir calend\xE1rio",
251
+ clearDate: "Limpar data",
252
+ previousMonth: "M\xEAs anterior",
253
+ nextMonth: "Pr\xF3ximo m\xEAs"
254
+ }
255
+ };
256
+
146
257
  // src/utils/i18n/locales/pt-BR.ts
147
258
  var ptBR = defineLocale({
148
259
  locale: "pt-BR",
149
260
  direction: "ltr",
261
+ datePicker: PT_BR_DATEPICKER_LOCALE,
150
262
  common: {
151
263
  okText: "OK",
152
264
  cancelText: "Cancelar",
@@ -163,6 +275,15 @@ var ptBR = defineLocale({
163
275
  drawer: {
164
276
  closeAriaLabel: "Fechar"
165
277
  },
278
+ qrcode: {
279
+ ariaLabel: "C\xF3digo QR",
280
+ expiredText: "C\xF3digo QR expirado",
281
+ refreshText: "Atualizar",
282
+ loadingText: "Carregando..."
283
+ },
284
+ timeline: {
285
+ pendingText: "Carregando..."
286
+ },
166
287
  upload: {
167
288
  dragAreaAriaLabel: "Enviar arquivo clicando ou arrastando",
168
289
  buttonAriaLabel: "Enviar arquivo",
@@ -1,5 +1,5 @@
1
- import { T as TigerLocale } from '../locale-9tTj1QdZ.js';
2
- import '../datepicker-DXzS_8l8.js';
1
+ import { T as TigerLocale } from '../locale-44p_QYnH.js';
2
+ import '../datepicker-ZdzYUqm5.js';
3
3
 
4
4
  /**
5
5
  * Thai (th-TH).
@@ -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/th-TH.ts
244
+ var TH_TH_DATEPICKER_LOCALE = {
245
+ locale: "th-TH",
246
+ labels: {
247
+ today: "\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",
248
+ ok: "\u0E15\u0E01\u0E25\u0E07",
249
+ calendar: "\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
250
+ toggleCalendar: "\u0E40\u0E1B\u0E34\u0E14\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
251
+ clearDate: "\u0E25\u0E49\u0E32\u0E07\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48",
252
+ previousMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
253
+ nextMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B"
254
+ }
255
+ };
256
+
1
257
  // src/utils/i18n/locales/th-TH.ts
2
- var thTH = {
258
+ var thTH = defineLocale({
3
259
  locale: "th-TH",
4
260
  direction: "ltr",
261
+ datePicker: TH_TH_DATEPICKER_LOCALE,
5
262
  common: {
6
263
  okText: "\u0E15\u0E01\u0E25\u0E07",
7
264
  cancelText: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",
@@ -18,6 +275,15 @@ var thTH = {
18
275
  drawer: {
19
276
  closeAriaLabel: "\u0E1B\u0E34\u0E14"
20
277
  },
278
+ qrcode: {
279
+ ariaLabel: "QR Code",
280
+ expiredText: "QR Code \u0E2B\u0E21\u0E14\u0E2D\u0E32\u0E22\u0E38\u0E41\u0E25\u0E49\u0E27",
281
+ refreshText: "\u0E23\u0E35\u0E40\u0E1F\u0E23\u0E0A",
282
+ loadingText: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14..."
283
+ },
284
+ timeline: {
285
+ pendingText: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14..."
286
+ },
21
287
  pagination: {
22
288
  totalText: "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14 {total} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
23
289
  itemsPerPageText: "/\u0E2B\u0E19\u0E49\u0E32",
@@ -59,7 +325,7 @@ var thTH = {
59
325
  dragHintText: "\u0E25\u0E32\u0E01\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E22\u0E49\u0E32\u0E22",
60
326
  boardAriaLabel: "\u0E1A\u0E2D\u0E23\u0E4C\u0E14\u0E07\u0E32\u0E19"
61
327
  }
62
- };
328
+ });
63
329
  export {
64
330
  thTH
65
331
  };
@@ -1,5 +1,5 @@
1
- import { T as TigerLocale } from '../locale-9tTj1QdZ.js';
2
- import '../datepicker-DXzS_8l8.js';
1
+ import { T as TigerLocale } from '../locale-44p_QYnH.js';
2
+ import '../datepicker-ZdzYUqm5.js';
3
3
 
4
4
  /**
5
5
  * Vietnamese (vi-VN).