@expcat/tigercat-core 1.4.0 → 2.0.0-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{datepicker-DXzS_8l8.d.cts → datepicker-ZdzYUqm5.d.ts} +77 -11
- package/dist/datepicker-locales/ar-SA.d.ts +1 -1
- package/dist/datepicker-locales/de-DE.d.ts +1 -1
- package/dist/datepicker-locales/en-US.d.ts +1 -1
- package/dist/datepicker-locales/es-ES.d.ts +1 -1
- package/dist/datepicker-locales/fr-FR.d.ts +1 -1
- package/dist/datepicker-locales/id-ID.d.ts +1 -1
- package/dist/datepicker-locales/ja-JP.d.ts +1 -1
- package/dist/datepicker-locales/ko-KR.d.ts +1 -1
- package/dist/datepicker-locales/pt-BR.d.ts +1 -1
- package/dist/datepicker-locales/registry.d.ts +7 -0
- package/dist/datepicker-locales/registry.js +224 -0
- package/dist/datepicker-locales/th-TH.d.ts +1 -1
- package/dist/datepicker-locales/vi-VN.d.ts +1 -1
- package/dist/datepicker-locales/zh-CN.d.ts +1 -1
- package/dist/datepicker-locales/zh-TW.d.ts +1 -1
- package/dist/icons/picker.d.ts +1 -13
- package/dist/icons/picker.js +0 -12
- package/dist/index.d.ts +12341 -12244
- package/dist/index.js +1482 -659
- package/dist/{locale-9tTj1QdZ.d.ts → locale-44p_QYnH.d.ts} +96 -7
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +122 -1
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +122 -1
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/en-US.js +98 -1
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +122 -1
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +122 -1
- package/dist/locales/id-ID.d.ts +2 -2
- package/dist/locales/id-ID.js +268 -2
- package/dist/locales/ja-JP.d.ts +2 -2
- package/dist/locales/ja-JP.js +268 -2
- package/dist/locales/ko-KR.d.ts +2 -2
- package/dist/locales/ko-KR.js +268 -2
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +122 -1
- package/dist/locales/th-TH.d.ts +2 -2
- package/dist/locales/th-TH.js +268 -2
- package/dist/locales/vi-VN.d.ts +2 -2
- package/dist/locales/vi-VN.js +268 -2
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-CN.js +98 -1
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +268 -2
- package/dist/{table-export-GRimhvlM.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
- package/dist/tailwind/modern.d.ts +2 -3
- package/dist/tailwind/modern.js +75 -80
- package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
- package/dist/tailwind.d.ts +2 -3
- package/dist/tailwind.js +123 -70
- package/dist/utils/table-export.d.ts +3 -3
- package/package.json +43 -73
- package/tokens/tailwind-tokens.js +6 -3
- package/tokens/tokens.css +8 -322
- package/dist/datepicker-DXzS_8l8.d.ts +0 -130
- package/dist/datepicker-locales/ar-SA.cjs +0 -46
- package/dist/datepicker-locales/ar-SA.d.cts +0 -6
- package/dist/datepicker-locales/de-DE.cjs +0 -46
- package/dist/datepicker-locales/de-DE.d.cts +0 -6
- package/dist/datepicker-locales/en-US.cjs +0 -46
- package/dist/datepicker-locales/en-US.d.cts +0 -6
- package/dist/datepicker-locales/es-ES.cjs +0 -46
- package/dist/datepicker-locales/es-ES.d.cts +0 -6
- package/dist/datepicker-locales/fr-FR.cjs +0 -46
- package/dist/datepicker-locales/fr-FR.d.cts +0 -6
- package/dist/datepicker-locales/id-ID.cjs +0 -46
- package/dist/datepicker-locales/id-ID.d.cts +0 -6
- package/dist/datepicker-locales/ja-JP.cjs +0 -46
- package/dist/datepicker-locales/ja-JP.d.cts +0 -6
- package/dist/datepicker-locales/ko-KR.cjs +0 -46
- package/dist/datepicker-locales/ko-KR.d.cts +0 -6
- package/dist/datepicker-locales/pt-BR.cjs +0 -46
- package/dist/datepicker-locales/pt-BR.d.cts +0 -6
- package/dist/datepicker-locales/th-TH.cjs +0 -46
- package/dist/datepicker-locales/th-TH.d.cts +0 -6
- package/dist/datepicker-locales/vi-VN.cjs +0 -46
- package/dist/datepicker-locales/vi-VN.d.cts +0 -6
- package/dist/datepicker-locales/zh-CN.cjs +0 -46
- package/dist/datepicker-locales/zh-CN.d.cts +0 -6
- package/dist/datepicker-locales/zh-TW.cjs +0 -46
- package/dist/datepicker-locales/zh-TW.d.cts +0 -6
- package/dist/icons/common.cjs +0 -54
- package/dist/icons/common.d.cts +0 -20
- package/dist/icons/picker.cjs +0 -75
- package/dist/icons/picker.d.cts +0 -53
- package/dist/icons/registry.cjs +0 -172
- package/dist/icons/registry.d.cts +0 -102
- package/dist/icons/status.cjs +0 -47
- package/dist/icons/status.d.cts +0 -13
- package/dist/icons/table.cjs +0 -48
- package/dist/icons/table.d.cts +0 -25
- package/dist/index.cjs +0 -21268
- package/dist/index.d.cts +0 -20129
- package/dist/locale-DxwhmqfF.d.cts +0 -300
- package/dist/locales/ar-SA.cjs +0 -254
- package/dist/locales/ar-SA.d.cts +0 -10
- package/dist/locales/de-DE.cjs +0 -254
- package/dist/locales/de-DE.d.cts +0 -10
- package/dist/locales/en-US.cjs +0 -149
- package/dist/locales/en-US.d.cts +0 -10
- package/dist/locales/es-ES.cjs +0 -254
- package/dist/locales/es-ES.d.cts +0 -10
- package/dist/locales/fr-FR.cjs +0 -254
- package/dist/locales/fr-FR.d.cts +0 -10
- package/dist/locales/id-ID.cjs +0 -90
- package/dist/locales/id-ID.d.cts +0 -10
- package/dist/locales/ja-JP.cjs +0 -90
- package/dist/locales/ja-JP.d.cts +0 -10
- package/dist/locales/ko-KR.cjs +0 -90
- package/dist/locales/ko-KR.d.cts +0 -10
- package/dist/locales/pt-BR.cjs +0 -254
- package/dist/locales/pt-BR.d.cts +0 -10
- package/dist/locales/th-TH.cjs +0 -90
- package/dist/locales/th-TH.d.cts +0 -10
- package/dist/locales/vi-VN.cjs +0 -90
- package/dist/locales/vi-VN.d.cts +0 -10
- package/dist/locales/zh-CN.cjs +0 -149
- package/dist/locales/zh-CN.d.cts +0 -10
- package/dist/locales/zh-TW.cjs +0 -90
- package/dist/locales/zh-TW.d.cts +0 -10
- package/dist/table-export-BMBH75rj.d.cts +0 -882
- package/dist/tailwind/modern.cjs +0 -368
- package/dist/tailwind/modern.d.cts +0 -6
- package/dist/tailwind-entry-DUchHtjs.d.cts +0 -218
- package/dist/tailwind.cjs +0 -221
- package/dist/tailwind.d.cts +0 -3
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
- package/dist/utils/table-export.cjs +0 -119
- package/dist/utils/table-export.d.cts +0 -3
package/dist/locales/es-ES.js
CHANGED
|
@@ -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/es-ES.ts
|
|
244
|
+
var ES_ES_DATEPICKER_LOCALE = {
|
|
245
|
+
locale: "es-ES",
|
|
246
|
+
labels: {
|
|
247
|
+
today: "Hoy",
|
|
248
|
+
ok: "Aceptar",
|
|
249
|
+
calendar: "Calendario",
|
|
250
|
+
toggleCalendar: "Abrir calendario",
|
|
251
|
+
clearDate: "Borrar fecha",
|
|
252
|
+
previousMonth: "Mes anterior",
|
|
253
|
+
nextMonth: "Mes siguiente"
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
|
|
146
257
|
// src/utils/i18n/locales/es-ES.ts
|
|
147
258
|
var esES = defineLocale({
|
|
148
259
|
locale: "es-ES",
|
|
149
260
|
direction: "ltr",
|
|
261
|
+
datePicker: ES_ES_DATEPICKER_LOCALE,
|
|
150
262
|
common: {
|
|
151
263
|
okText: "Aceptar",
|
|
152
264
|
cancelText: "Cancelar",
|
|
@@ -163,6 +275,15 @@ var esES = defineLocale({
|
|
|
163
275
|
drawer: {
|
|
164
276
|
closeAriaLabel: "Cerrar"
|
|
165
277
|
},
|
|
278
|
+
qrcode: {
|
|
279
|
+
ariaLabel: "C\xF3digo QR",
|
|
280
|
+
expiredText: "El c\xF3digo QR ha caducado",
|
|
281
|
+
refreshText: "Actualizar",
|
|
282
|
+
loadingText: "Cargando..."
|
|
283
|
+
},
|
|
284
|
+
timeline: {
|
|
285
|
+
pendingText: "Cargando..."
|
|
286
|
+
},
|
|
166
287
|
upload: {
|
|
167
288
|
dragAreaAriaLabel: "Subir archivo haciendo clic o arrastrando",
|
|
168
289
|
buttonAriaLabel: "Subir archivo",
|
package/dist/locales/fr-FR.d.ts
CHANGED
package/dist/locales/fr-FR.js
CHANGED
|
@@ -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/fr-FR.ts
|
|
244
|
+
var FR_FR_DATEPICKER_LOCALE = {
|
|
245
|
+
locale: "fr-FR",
|
|
246
|
+
labels: {
|
|
247
|
+
today: "Aujourd'hui",
|
|
248
|
+
ok: "OK",
|
|
249
|
+
calendar: "Calendrier",
|
|
250
|
+
toggleCalendar: "Ouvrir le calendrier",
|
|
251
|
+
clearDate: "Effacer la date",
|
|
252
|
+
previousMonth: "Mois pr\xE9c\xE9dent",
|
|
253
|
+
nextMonth: "Mois suivant"
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
|
|
146
257
|
// src/utils/i18n/locales/fr-FR.ts
|
|
147
258
|
var frFR = defineLocale({
|
|
148
259
|
locale: "fr-FR",
|
|
149
260
|
direction: "ltr",
|
|
261
|
+
datePicker: FR_FR_DATEPICKER_LOCALE,
|
|
150
262
|
common: {
|
|
151
263
|
okText: "OK",
|
|
152
264
|
cancelText: "Annuler",
|
|
@@ -163,6 +275,15 @@ var frFR = defineLocale({
|
|
|
163
275
|
drawer: {
|
|
164
276
|
closeAriaLabel: "Fermer"
|
|
165
277
|
},
|
|
278
|
+
qrcode: {
|
|
279
|
+
ariaLabel: "Code QR",
|
|
280
|
+
expiredText: "Le code QR a expir\xE9",
|
|
281
|
+
refreshText: "Actualiser",
|
|
282
|
+
loadingText: "Chargement..."
|
|
283
|
+
},
|
|
284
|
+
timeline: {
|
|
285
|
+
pendingText: "Chargement..."
|
|
286
|
+
},
|
|
166
287
|
upload: {
|
|
167
288
|
dragAreaAriaLabel: "T\xE9l\xE9verser un fichier en cliquant ou en le d\xE9posant",
|
|
168
289
|
buttonAriaLabel: "T\xE9l\xE9verser un fichier",
|
package/dist/locales/id-ID.d.ts
CHANGED
package/dist/locales/id-ID.js
CHANGED
|
@@ -1,7 +1,264 @@
|
|
|
1
|
+
// src/utils/locale-utils.ts
|
|
2
|
+
var DEFAULT_TIME_PICKER_LABELS = {
|
|
3
|
+
hour: "Hour",
|
|
4
|
+
minute: "Min",
|
|
5
|
+
second: "Sec",
|
|
6
|
+
now: "Now",
|
|
7
|
+
ok: "OK",
|
|
8
|
+
start: "Start",
|
|
9
|
+
end: "End",
|
|
10
|
+
clear: "Clear time",
|
|
11
|
+
toggle: "Toggle time picker",
|
|
12
|
+
dialog: "Time picker",
|
|
13
|
+
selectTime: "Select time",
|
|
14
|
+
selectTimeRange: "Select time range"
|
|
15
|
+
};
|
|
16
|
+
var DEFAULT_UPLOAD_LABELS = {
|
|
17
|
+
dragAreaAriaLabel: "Upload file by clicking or dragging",
|
|
18
|
+
buttonAriaLabel: "Upload file",
|
|
19
|
+
clickToUploadText: "Click to upload",
|
|
20
|
+
dragAndDropText: "or drag and drop",
|
|
21
|
+
acceptInfoText: "Accepted: {accept}",
|
|
22
|
+
maxSizeInfoText: "Max size: {maxSize}",
|
|
23
|
+
selectFileText: "Select File",
|
|
24
|
+
uploadedFilesAriaLabel: "Uploaded files",
|
|
25
|
+
successAriaLabel: "Success",
|
|
26
|
+
errorAriaLabel: "Error",
|
|
27
|
+
uploadingAriaLabel: "Uploading",
|
|
28
|
+
removeFileAriaLabel: "Remove {fileName}",
|
|
29
|
+
previewFileAriaLabel: "Preview {fileName}"
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// src/utils/i18n/datepicker-locales/en-US.ts
|
|
33
|
+
var EN_US_DATEPICKER_LOCALE = {
|
|
34
|
+
locale: "en-US",
|
|
35
|
+
labels: {
|
|
36
|
+
today: "Today",
|
|
37
|
+
ok: "OK",
|
|
38
|
+
calendar: "Calendar",
|
|
39
|
+
toggleCalendar: "Toggle calendar",
|
|
40
|
+
clearDate: "Clear date",
|
|
41
|
+
previousMonth: "Previous month",
|
|
42
|
+
nextMonth: "Next month"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// src/utils/i18n/locales/en-US.ts
|
|
47
|
+
var enUS = {
|
|
48
|
+
locale: "en-US",
|
|
49
|
+
direction: "ltr",
|
|
50
|
+
common: {
|
|
51
|
+
okText: "OK",
|
|
52
|
+
cancelText: "Cancel",
|
|
53
|
+
closeText: "Close",
|
|
54
|
+
loadingText: "Loading...",
|
|
55
|
+
emptyText: "No data",
|
|
56
|
+
noMoreText: "No more data",
|
|
57
|
+
searchPlaceholder: "Search",
|
|
58
|
+
clearText: "Clear"
|
|
59
|
+
},
|
|
60
|
+
empty: {
|
|
61
|
+
noData: "No data",
|
|
62
|
+
noDataAvailable: "No data available",
|
|
63
|
+
noResults: "No results found",
|
|
64
|
+
error: "Something went wrong"
|
|
65
|
+
},
|
|
66
|
+
modal: {
|
|
67
|
+
closeAriaLabel: "Close",
|
|
68
|
+
okText: "OK",
|
|
69
|
+
cancelText: "Cancel"
|
|
70
|
+
},
|
|
71
|
+
drawer: {
|
|
72
|
+
closeAriaLabel: "Close"
|
|
73
|
+
},
|
|
74
|
+
qrcode: {
|
|
75
|
+
ariaLabel: "QR Code",
|
|
76
|
+
expiredText: "QR code expired",
|
|
77
|
+
refreshText: "Refresh",
|
|
78
|
+
loadingText: "Loading..."
|
|
79
|
+
},
|
|
80
|
+
timeline: {
|
|
81
|
+
pendingText: "Loading..."
|
|
82
|
+
},
|
|
83
|
+
upload: DEFAULT_UPLOAD_LABELS,
|
|
84
|
+
pagination: {
|
|
85
|
+
totalText: "Total {total} items",
|
|
86
|
+
itemsPerPageText: "/ page",
|
|
87
|
+
jumpToText: "Go to",
|
|
88
|
+
pageText: "page",
|
|
89
|
+
prevPageAriaLabel: "Previous page",
|
|
90
|
+
nextPageAriaLabel: "Next page",
|
|
91
|
+
pageAriaLabel: "Page {page}",
|
|
92
|
+
pageIndicatorText: "Page {current} of {total}"
|
|
93
|
+
},
|
|
94
|
+
table: {
|
|
95
|
+
emptyText: "No data",
|
|
96
|
+
loadingText: "Loading",
|
|
97
|
+
expandText: "Expand",
|
|
98
|
+
collapseText: "Collapse",
|
|
99
|
+
selectAllText: "Select all",
|
|
100
|
+
selectRowAriaLabel: "Select row {row}",
|
|
101
|
+
sortByText: "Sort by {column}",
|
|
102
|
+
clearSortText: "Clear sort",
|
|
103
|
+
toolbarAriaLabel: "Data table toolbar",
|
|
104
|
+
searchPlaceholder: "Search",
|
|
105
|
+
searchButtonText: "Search",
|
|
106
|
+
selectedText: "Selected",
|
|
107
|
+
selectedItemsText: "items",
|
|
108
|
+
columnSettingsText: "Column settings",
|
|
109
|
+
columnSettingsAriaLabel: "Column settings",
|
|
110
|
+
lockColumnAriaLabel: "Lock column {column}",
|
|
111
|
+
unlockColumnAriaLabel: "Unlock column {column}",
|
|
112
|
+
allText: "All",
|
|
113
|
+
filterPlaceholder: "Filter...",
|
|
114
|
+
exportCsvText: "Export CSV",
|
|
115
|
+
exportExcelText: "Export Excel",
|
|
116
|
+
exportCsvAriaLabel: "Export to CSV",
|
|
117
|
+
exportExcelAriaLabel: "Export to Excel",
|
|
118
|
+
expandRowAriaLabel: "Expand row",
|
|
119
|
+
collapseRowAriaLabel: "Collapse row"
|
|
120
|
+
},
|
|
121
|
+
datePicker: EN_US_DATEPICKER_LOCALE,
|
|
122
|
+
timePicker: DEFAULT_TIME_PICKER_LABELS,
|
|
123
|
+
formWizard: {
|
|
124
|
+
prevText: "Previous",
|
|
125
|
+
nextText: "Next",
|
|
126
|
+
finishText: "Finish"
|
|
127
|
+
},
|
|
128
|
+
tour: {
|
|
129
|
+
prevText: "Previous",
|
|
130
|
+
nextText: "Next",
|
|
131
|
+
finishText: "Finish",
|
|
132
|
+
closeAriaLabel: "Close tour"
|
|
133
|
+
},
|
|
134
|
+
calendar: {
|
|
135
|
+
previousMonth: "Previous month",
|
|
136
|
+
nextMonth: "Next month",
|
|
137
|
+
previousYear: "Previous year",
|
|
138
|
+
nextYear: "Next year",
|
|
139
|
+
yearSelectAriaLabel: "Year",
|
|
140
|
+
monthSelectAriaLabel: "Month",
|
|
141
|
+
daySelectAriaLabel: "Day"
|
|
142
|
+
},
|
|
143
|
+
fileManager: {
|
|
144
|
+
rootText: "Root"
|
|
145
|
+
},
|
|
146
|
+
imageViewer: {
|
|
147
|
+
dialogAriaLabel: "Image viewer",
|
|
148
|
+
previewDialogAriaLabel: "Image preview",
|
|
149
|
+
closeAriaLabel: "Close",
|
|
150
|
+
closePreviewAriaLabel: "Close preview",
|
|
151
|
+
previousImageAriaLabel: "Previous image",
|
|
152
|
+
nextImageAriaLabel: "Next image",
|
|
153
|
+
zoomOutAriaLabel: "Zoom out",
|
|
154
|
+
resetAriaLabel: "Reset",
|
|
155
|
+
zoomInAriaLabel: "Zoom in",
|
|
156
|
+
rotateLeftAriaLabel: "Rotate left",
|
|
157
|
+
rotateRightAriaLabel: "Rotate right"
|
|
158
|
+
},
|
|
159
|
+
imageEditor: {
|
|
160
|
+
selectImageText: "Select image",
|
|
161
|
+
selectImageAriaLabel: "Select image to crop and upload",
|
|
162
|
+
cropModalTitle: "Crop image",
|
|
163
|
+
cropCancelText: "Cancel",
|
|
164
|
+
cropConfirmText: "Confirm crop",
|
|
165
|
+
cropperDialogAriaLabel: "Image cropper",
|
|
166
|
+
imageToCropAriaLabel: "Image to crop",
|
|
167
|
+
moveCropAreaAriaLabel: "Move crop area",
|
|
168
|
+
resizeCropAreaAriaLabel: "Resize crop area {handle}",
|
|
169
|
+
loadingCropImageAriaLabel: "Loading image for cropping",
|
|
170
|
+
annotationToolbarAriaLabel: "Annotation tools",
|
|
171
|
+
annotationEditorAriaLabel: "Image annotation editor",
|
|
172
|
+
annotationCanvasAriaLabel: "Image annotation canvas",
|
|
173
|
+
loadingAnnotationImageAriaLabel: "Loading image for annotation",
|
|
174
|
+
selectToolText: "Select",
|
|
175
|
+
rectangleToolText: "Rectangle",
|
|
176
|
+
ellipseToolText: "Ellipse",
|
|
177
|
+
polygonToolText: "Polygon",
|
|
178
|
+
freehandToolText: "Freehand",
|
|
179
|
+
deleteText: "Delete"
|
|
180
|
+
},
|
|
181
|
+
status: {
|
|
182
|
+
tagCloseAriaLabel: "Close tag",
|
|
183
|
+
badgeLabel: "notification",
|
|
184
|
+
badgeCountLabel: "{count} notifications"
|
|
185
|
+
},
|
|
186
|
+
taskBoard: {
|
|
187
|
+
emptyColumnText: "No tasks",
|
|
188
|
+
addCardText: "Add task",
|
|
189
|
+
addColumnText: "Add column",
|
|
190
|
+
wipLimitText: "WIP limit: {limit}",
|
|
191
|
+
dragHintText: "Drag to move",
|
|
192
|
+
boardAriaLabel: "Task Board"
|
|
193
|
+
},
|
|
194
|
+
formValidation: {
|
|
195
|
+
required: "This field is required",
|
|
196
|
+
typeString: "Value must be a string",
|
|
197
|
+
typeNumber: "Value must be a number",
|
|
198
|
+
typeBoolean: "Value must be a boolean",
|
|
199
|
+
typeArray: "Value must be an array",
|
|
200
|
+
typeObject: "Value must be an object",
|
|
201
|
+
email: "Please enter a valid email address",
|
|
202
|
+
phone: "Please enter a valid phone number",
|
|
203
|
+
url: "Please enter a valid URL",
|
|
204
|
+
date: "Please enter a valid date",
|
|
205
|
+
idCard: "Please enter a valid ID card number",
|
|
206
|
+
minLength: "Minimum length is {min} characters",
|
|
207
|
+
maxLength: "Maximum length is {max} characters",
|
|
208
|
+
minValue: "Minimum value is {min}",
|
|
209
|
+
maxValue: "Maximum value is {max}",
|
|
210
|
+
minItems: "Minimum {min} items required",
|
|
211
|
+
maxItems: "Maximum {max} items allowed",
|
|
212
|
+
patternMismatch: "Value does not match the required pattern",
|
|
213
|
+
validatorFailed: "Validation failed",
|
|
214
|
+
validatorError: "Validation error occurred"
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
// src/utils/i18n/define-locale.ts
|
|
219
|
+
function isPlainObject(value) {
|
|
220
|
+
if (value === null || typeof value !== "object") return false;
|
|
221
|
+
const proto = Object.getPrototypeOf(value);
|
|
222
|
+
return proto === Object.prototype || proto === null;
|
|
223
|
+
}
|
|
224
|
+
function deepMerge(base, override) {
|
|
225
|
+
if (!override) return { ...base };
|
|
226
|
+
const out = { ...base };
|
|
227
|
+
for (const key of Object.keys(override)) {
|
|
228
|
+
const next = override[key];
|
|
229
|
+
if (next === void 0) continue;
|
|
230
|
+
const prev = base[key];
|
|
231
|
+
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
232
|
+
out[key] = deepMerge(prev, next);
|
|
233
|
+
} else {
|
|
234
|
+
out[key] = next;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
return out;
|
|
238
|
+
}
|
|
239
|
+
function defineLocale(overrides = {}) {
|
|
240
|
+
return deepMerge(enUS, overrides);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// src/utils/i18n/datepicker-locales/id-ID.ts
|
|
244
|
+
var ID_ID_DATEPICKER_LOCALE = {
|
|
245
|
+
locale: "id-ID",
|
|
246
|
+
labels: {
|
|
247
|
+
today: "Hari ini",
|
|
248
|
+
ok: "OK",
|
|
249
|
+
calendar: "Kalender",
|
|
250
|
+
toggleCalendar: "Buka kalender",
|
|
251
|
+
clearDate: "Hapus tanggal",
|
|
252
|
+
previousMonth: "Bulan sebelumnya",
|
|
253
|
+
nextMonth: "Bulan berikutnya"
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
|
|
1
257
|
// src/utils/i18n/locales/id-ID.ts
|
|
2
|
-
var idID = {
|
|
258
|
+
var idID = defineLocale({
|
|
3
259
|
locale: "id-ID",
|
|
4
260
|
direction: "ltr",
|
|
261
|
+
datePicker: ID_ID_DATEPICKER_LOCALE,
|
|
5
262
|
common: {
|
|
6
263
|
okText: "OK",
|
|
7
264
|
cancelText: "Batal",
|
|
@@ -18,6 +275,15 @@ var idID = {
|
|
|
18
275
|
drawer: {
|
|
19
276
|
closeAriaLabel: "Tutup"
|
|
20
277
|
},
|
|
278
|
+
qrcode: {
|
|
279
|
+
ariaLabel: "Kode QR",
|
|
280
|
+
expiredText: "Kode QR kedaluwarsa",
|
|
281
|
+
refreshText: "Muat ulang",
|
|
282
|
+
loadingText: "Memuat..."
|
|
283
|
+
},
|
|
284
|
+
timeline: {
|
|
285
|
+
pendingText: "Memuat..."
|
|
286
|
+
},
|
|
21
287
|
pagination: {
|
|
22
288
|
totalText: "Total {total} item",
|
|
23
289
|
itemsPerPageText: "/halaman",
|
|
@@ -59,7 +325,7 @@ var idID = {
|
|
|
59
325
|
dragHintText: "Seret untuk memindahkan",
|
|
60
326
|
boardAriaLabel: "Papan Tugas"
|
|
61
327
|
}
|
|
62
|
-
};
|
|
328
|
+
});
|
|
63
329
|
export {
|
|
64
330
|
idID
|
|
65
331
|
};
|
package/dist/locales/ja-JP.d.ts
CHANGED