@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/de-DE.cjs
DELETED
|
@@ -1,254 +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/de-DE.ts
|
|
21
|
-
var de_DE_exports = {};
|
|
22
|
-
__export(de_DE_exports, {
|
|
23
|
-
deDE: () => deDE,
|
|
24
|
-
default: () => de_DE_default
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(de_DE_exports);
|
|
27
|
-
|
|
28
|
-
// src/utils/locale-utils.ts
|
|
29
|
-
var DEFAULT_TIME_PICKER_LABELS = {
|
|
30
|
-
hour: "Hour",
|
|
31
|
-
minute: "Min",
|
|
32
|
-
second: "Sec",
|
|
33
|
-
now: "Now",
|
|
34
|
-
ok: "OK",
|
|
35
|
-
start: "Start",
|
|
36
|
-
end: "End",
|
|
37
|
-
clear: "Clear time",
|
|
38
|
-
toggle: "Toggle time picker",
|
|
39
|
-
dialog: "Time picker",
|
|
40
|
-
selectTime: "Select time",
|
|
41
|
-
selectTimeRange: "Select time range"
|
|
42
|
-
};
|
|
43
|
-
var DEFAULT_UPLOAD_LABELS = {
|
|
44
|
-
dragAreaAriaLabel: "Upload file by clicking or dragging",
|
|
45
|
-
buttonAriaLabel: "Upload file",
|
|
46
|
-
clickToUploadText: "Click to upload",
|
|
47
|
-
dragAndDropText: "or drag and drop",
|
|
48
|
-
acceptInfoText: "Accepted: {accept}",
|
|
49
|
-
maxSizeInfoText: "Max size: {maxSize}",
|
|
50
|
-
selectFileText: "Select File",
|
|
51
|
-
uploadedFilesAriaLabel: "Uploaded files",
|
|
52
|
-
successAriaLabel: "Success",
|
|
53
|
-
errorAriaLabel: "Error",
|
|
54
|
-
uploadingAriaLabel: "Uploading",
|
|
55
|
-
removeFileAriaLabel: "Remove {fileName}",
|
|
56
|
-
previewFileAriaLabel: "Preview {fileName}"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// src/utils/i18n/locales/en-US.ts
|
|
60
|
-
var enUS = {
|
|
61
|
-
locale: "en-US",
|
|
62
|
-
direction: "ltr",
|
|
63
|
-
common: {
|
|
64
|
-
okText: "OK",
|
|
65
|
-
cancelText: "Cancel",
|
|
66
|
-
closeText: "Close",
|
|
67
|
-
loadingText: "Loading...",
|
|
68
|
-
emptyText: "No data",
|
|
69
|
-
noMoreText: "No more data",
|
|
70
|
-
searchPlaceholder: "Search",
|
|
71
|
-
clearText: "Clear"
|
|
72
|
-
},
|
|
73
|
-
modal: {
|
|
74
|
-
closeAriaLabel: "Close",
|
|
75
|
-
okText: "OK",
|
|
76
|
-
cancelText: "Cancel"
|
|
77
|
-
},
|
|
78
|
-
drawer: {
|
|
79
|
-
closeAriaLabel: "Close"
|
|
80
|
-
},
|
|
81
|
-
upload: DEFAULT_UPLOAD_LABELS,
|
|
82
|
-
pagination: {
|
|
83
|
-
totalText: "Total {total} items",
|
|
84
|
-
itemsPerPageText: "/ page",
|
|
85
|
-
jumpToText: "Go to",
|
|
86
|
-
pageText: "page",
|
|
87
|
-
prevPageAriaLabel: "Previous page",
|
|
88
|
-
nextPageAriaLabel: "Next page",
|
|
89
|
-
pageAriaLabel: "Page {page}",
|
|
90
|
-
pageIndicatorText: "Page {current} of {total}"
|
|
91
|
-
},
|
|
92
|
-
table: {
|
|
93
|
-
emptyText: "No data",
|
|
94
|
-
loadingText: "Loading",
|
|
95
|
-
expandText: "Expand",
|
|
96
|
-
collapseText: "Collapse",
|
|
97
|
-
selectAllText: "Select all",
|
|
98
|
-
selectRowAriaLabel: "Select row {row}",
|
|
99
|
-
sortByText: "Sort by {column}",
|
|
100
|
-
clearSortText: "Clear sort",
|
|
101
|
-
toolbarAriaLabel: "Data table toolbar",
|
|
102
|
-
searchPlaceholder: "Search",
|
|
103
|
-
searchButtonText: "Search",
|
|
104
|
-
selectedText: "Selected",
|
|
105
|
-
selectedItemsText: "items",
|
|
106
|
-
columnSettingsText: "Column settings",
|
|
107
|
-
columnSettingsAriaLabel: "Column settings",
|
|
108
|
-
lockColumnAriaLabel: "Lock column {column}",
|
|
109
|
-
unlockColumnAriaLabel: "Unlock column {column}"
|
|
110
|
-
},
|
|
111
|
-
timePicker: DEFAULT_TIME_PICKER_LABELS,
|
|
112
|
-
formWizard: {
|
|
113
|
-
prevText: "Previous",
|
|
114
|
-
nextText: "Next",
|
|
115
|
-
finishText: "Finish"
|
|
116
|
-
},
|
|
117
|
-
taskBoard: {
|
|
118
|
-
emptyColumnText: "No tasks",
|
|
119
|
-
addCardText: "Add task",
|
|
120
|
-
wipLimitText: "WIP limit: {limit}",
|
|
121
|
-
dragHintText: "Drag to move",
|
|
122
|
-
boardAriaLabel: "Task Board"
|
|
123
|
-
},
|
|
124
|
-
formValidation: {
|
|
125
|
-
required: "This field is required",
|
|
126
|
-
typeString: "Value must be a string",
|
|
127
|
-
typeNumber: "Value must be a number",
|
|
128
|
-
typeBoolean: "Value must be a boolean",
|
|
129
|
-
typeArray: "Value must be an array",
|
|
130
|
-
typeObject: "Value must be an object",
|
|
131
|
-
email: "Please enter a valid email address",
|
|
132
|
-
phone: "Please enter a valid phone number",
|
|
133
|
-
url: "Please enter a valid URL",
|
|
134
|
-
date: "Please enter a valid date",
|
|
135
|
-
idCard: "Please enter a valid ID card number",
|
|
136
|
-
minLength: "Minimum length is {min} characters",
|
|
137
|
-
maxLength: "Maximum length is {max} characters",
|
|
138
|
-
minValue: "Minimum value is {min}",
|
|
139
|
-
maxValue: "Maximum value is {max}",
|
|
140
|
-
minItems: "Minimum {min} items required",
|
|
141
|
-
maxItems: "Maximum {max} items allowed",
|
|
142
|
-
patternMismatch: "Value does not match the required pattern",
|
|
143
|
-
validatorFailed: "Validation failed",
|
|
144
|
-
validatorError: "Validation error occurred"
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
// src/utils/i18n/define-locale.ts
|
|
149
|
-
function isPlainObject(value) {
|
|
150
|
-
if (value === null || typeof value !== "object") return false;
|
|
151
|
-
const proto = Object.getPrototypeOf(value);
|
|
152
|
-
return proto === Object.prototype || proto === null;
|
|
153
|
-
}
|
|
154
|
-
function deepMerge(base, override) {
|
|
155
|
-
if (!override) return { ...base };
|
|
156
|
-
const out = { ...base };
|
|
157
|
-
for (const key of Object.keys(override)) {
|
|
158
|
-
const next = override[key];
|
|
159
|
-
if (next === void 0) continue;
|
|
160
|
-
const prev = base[key];
|
|
161
|
-
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
162
|
-
out[key] = deepMerge(prev, next);
|
|
163
|
-
} else {
|
|
164
|
-
out[key] = next;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
return out;
|
|
168
|
-
}
|
|
169
|
-
function defineLocale(overrides = {}) {
|
|
170
|
-
return deepMerge(enUS, overrides);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// src/utils/i18n/locales/de-DE.ts
|
|
174
|
-
var deDE = defineLocale({
|
|
175
|
-
locale: "de-DE",
|
|
176
|
-
direction: "ltr",
|
|
177
|
-
common: {
|
|
178
|
-
okText: "OK",
|
|
179
|
-
cancelText: "Abbrechen",
|
|
180
|
-
closeText: "Schlie\xDFen",
|
|
181
|
-
loadingText: "Wird geladen...",
|
|
182
|
-
emptyText: "Keine Daten",
|
|
183
|
-
noMoreText: "Keine weiteren Daten"
|
|
184
|
-
},
|
|
185
|
-
modal: {
|
|
186
|
-
closeAriaLabel: "Schlie\xDFen",
|
|
187
|
-
okText: "OK",
|
|
188
|
-
cancelText: "Abbrechen"
|
|
189
|
-
},
|
|
190
|
-
drawer: {
|
|
191
|
-
closeAriaLabel: "Schlie\xDFen"
|
|
192
|
-
},
|
|
193
|
-
upload: {
|
|
194
|
-
dragAreaAriaLabel: "Datei per Klick oder Drag-and-drop hochladen",
|
|
195
|
-
buttonAriaLabel: "Datei hochladen",
|
|
196
|
-
clickToUploadText: "Zum Hochladen klicken",
|
|
197
|
-
dragAndDropText: "oder hierher ziehen",
|
|
198
|
-
acceptInfoText: "Akzeptiert: {accept}",
|
|
199
|
-
maxSizeInfoText: "Maximale Gr\xF6\xDFe: {maxSize}",
|
|
200
|
-
selectFileText: "Datei ausw\xE4hlen",
|
|
201
|
-
uploadedFilesAriaLabel: "Hochgeladene Dateien",
|
|
202
|
-
successAriaLabel: "Erfolg",
|
|
203
|
-
errorAriaLabel: "Fehler",
|
|
204
|
-
uploadingAriaLabel: "Wird hochgeladen",
|
|
205
|
-
removeFileAriaLabel: "{fileName} entfernen",
|
|
206
|
-
previewFileAriaLabel: "Vorschau von {fileName}"
|
|
207
|
-
},
|
|
208
|
-
pagination: {
|
|
209
|
-
totalText: "Insgesamt {total} Elemente",
|
|
210
|
-
itemsPerPageText: "/ Seite",
|
|
211
|
-
jumpToText: "Gehe zu",
|
|
212
|
-
pageText: "Seite",
|
|
213
|
-
prevPageAriaLabel: "Vorherige Seite",
|
|
214
|
-
nextPageAriaLabel: "N\xE4chste Seite",
|
|
215
|
-
pageAriaLabel: "Seite {page}",
|
|
216
|
-
pageIndicatorText: "Seite {current} von {total}"
|
|
217
|
-
},
|
|
218
|
-
table: {
|
|
219
|
-
emptyText: "Keine Daten",
|
|
220
|
-
loadingText: "Wird geladen",
|
|
221
|
-
expandText: "Erweitern",
|
|
222
|
-
collapseText: "Reduzieren",
|
|
223
|
-
selectAllText: "Alle ausw\xE4hlen",
|
|
224
|
-
selectRowAriaLabel: "Zeile {row} ausw\xE4hlen",
|
|
225
|
-
sortByText: "Nach {column} sortieren",
|
|
226
|
-
clearSortText: "Sortierung l\xF6schen",
|
|
227
|
-
toolbarAriaLabel: "Datentabellen-Werkzeugleiste",
|
|
228
|
-
searchPlaceholder: "Suchen",
|
|
229
|
-
searchButtonText: "Suchen",
|
|
230
|
-
selectedText: "Ausgew\xE4hlt",
|
|
231
|
-
selectedItemsText: "Eintr\xE4ge",
|
|
232
|
-
columnSettingsText: "Spalteneinstellungen",
|
|
233
|
-
columnSettingsAriaLabel: "Spalteneinstellungen",
|
|
234
|
-
lockColumnAriaLabel: "Spalte {column} sperren",
|
|
235
|
-
unlockColumnAriaLabel: "Spalte {column} entsperren"
|
|
236
|
-
},
|
|
237
|
-
formWizard: {
|
|
238
|
-
prevText: "Zur\xFCck",
|
|
239
|
-
nextText: "Weiter",
|
|
240
|
-
finishText: "Fertigstellen"
|
|
241
|
-
},
|
|
242
|
-
taskBoard: {
|
|
243
|
-
emptyColumnText: "Keine Aufgaben",
|
|
244
|
-
addCardText: "Aufgabe hinzuf\xFCgen",
|
|
245
|
-
wipLimitText: "WIP-Limit: {limit}",
|
|
246
|
-
dragHintText: "Zum Verschieben ziehen",
|
|
247
|
-
boardAriaLabel: "Aufgabenboard"
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
var de_DE_default = deDE;
|
|
251
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
252
|
-
0 && (module.exports = {
|
|
253
|
-
deDE
|
|
254
|
-
});
|
package/dist/locales/de-DE.d.cts
DELETED
package/dist/locales/en-US.cjs
DELETED
|
@@ -1,149 +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/en-US.ts
|
|
21
|
-
var en_US_exports = {};
|
|
22
|
-
__export(en_US_exports, {
|
|
23
|
-
enUS: () => enUS
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(en_US_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/locales/en-US.ts
|
|
59
|
-
var enUS = {
|
|
60
|
-
locale: "en-US",
|
|
61
|
-
direction: "ltr",
|
|
62
|
-
common: {
|
|
63
|
-
okText: "OK",
|
|
64
|
-
cancelText: "Cancel",
|
|
65
|
-
closeText: "Close",
|
|
66
|
-
loadingText: "Loading...",
|
|
67
|
-
emptyText: "No data",
|
|
68
|
-
noMoreText: "No more data",
|
|
69
|
-
searchPlaceholder: "Search",
|
|
70
|
-
clearText: "Clear"
|
|
71
|
-
},
|
|
72
|
-
modal: {
|
|
73
|
-
closeAriaLabel: "Close",
|
|
74
|
-
okText: "OK",
|
|
75
|
-
cancelText: "Cancel"
|
|
76
|
-
},
|
|
77
|
-
drawer: {
|
|
78
|
-
closeAriaLabel: "Close"
|
|
79
|
-
},
|
|
80
|
-
upload: DEFAULT_UPLOAD_LABELS,
|
|
81
|
-
pagination: {
|
|
82
|
-
totalText: "Total {total} items",
|
|
83
|
-
itemsPerPageText: "/ page",
|
|
84
|
-
jumpToText: "Go to",
|
|
85
|
-
pageText: "page",
|
|
86
|
-
prevPageAriaLabel: "Previous page",
|
|
87
|
-
nextPageAriaLabel: "Next page",
|
|
88
|
-
pageAriaLabel: "Page {page}",
|
|
89
|
-
pageIndicatorText: "Page {current} of {total}"
|
|
90
|
-
},
|
|
91
|
-
table: {
|
|
92
|
-
emptyText: "No data",
|
|
93
|
-
loadingText: "Loading",
|
|
94
|
-
expandText: "Expand",
|
|
95
|
-
collapseText: "Collapse",
|
|
96
|
-
selectAllText: "Select all",
|
|
97
|
-
selectRowAriaLabel: "Select row {row}",
|
|
98
|
-
sortByText: "Sort by {column}",
|
|
99
|
-
clearSortText: "Clear sort",
|
|
100
|
-
toolbarAriaLabel: "Data table toolbar",
|
|
101
|
-
searchPlaceholder: "Search",
|
|
102
|
-
searchButtonText: "Search",
|
|
103
|
-
selectedText: "Selected",
|
|
104
|
-
selectedItemsText: "items",
|
|
105
|
-
columnSettingsText: "Column settings",
|
|
106
|
-
columnSettingsAriaLabel: "Column settings",
|
|
107
|
-
lockColumnAriaLabel: "Lock column {column}",
|
|
108
|
-
unlockColumnAriaLabel: "Unlock column {column}"
|
|
109
|
-
},
|
|
110
|
-
timePicker: DEFAULT_TIME_PICKER_LABELS,
|
|
111
|
-
formWizard: {
|
|
112
|
-
prevText: "Previous",
|
|
113
|
-
nextText: "Next",
|
|
114
|
-
finishText: "Finish"
|
|
115
|
-
},
|
|
116
|
-
taskBoard: {
|
|
117
|
-
emptyColumnText: "No tasks",
|
|
118
|
-
addCardText: "Add task",
|
|
119
|
-
wipLimitText: "WIP limit: {limit}",
|
|
120
|
-
dragHintText: "Drag to move",
|
|
121
|
-
boardAriaLabel: "Task Board"
|
|
122
|
-
},
|
|
123
|
-
formValidation: {
|
|
124
|
-
required: "This field is required",
|
|
125
|
-
typeString: "Value must be a string",
|
|
126
|
-
typeNumber: "Value must be a number",
|
|
127
|
-
typeBoolean: "Value must be a boolean",
|
|
128
|
-
typeArray: "Value must be an array",
|
|
129
|
-
typeObject: "Value must be an object",
|
|
130
|
-
email: "Please enter a valid email address",
|
|
131
|
-
phone: "Please enter a valid phone number",
|
|
132
|
-
url: "Please enter a valid URL",
|
|
133
|
-
date: "Please enter a valid date",
|
|
134
|
-
idCard: "Please enter a valid ID card number",
|
|
135
|
-
minLength: "Minimum length is {min} characters",
|
|
136
|
-
maxLength: "Maximum length is {max} characters",
|
|
137
|
-
minValue: "Minimum value is {min}",
|
|
138
|
-
maxValue: "Maximum value is {max}",
|
|
139
|
-
minItems: "Minimum {min} items required",
|
|
140
|
-
maxItems: "Maximum {max} items allowed",
|
|
141
|
-
patternMismatch: "Value does not match the required pattern",
|
|
142
|
-
validatorFailed: "Validation failed",
|
|
143
|
-
validatorError: "Validation error occurred"
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
147
|
-
0 && (module.exports = {
|
|
148
|
-
enUS
|
|
149
|
-
});
|
package/dist/locales/en-US.d.cts
DELETED
package/dist/locales/es-ES.cjs
DELETED
|
@@ -1,254 +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/es-ES.ts
|
|
21
|
-
var es_ES_exports = {};
|
|
22
|
-
__export(es_ES_exports, {
|
|
23
|
-
default: () => es_ES_default,
|
|
24
|
-
esES: () => esES
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(es_ES_exports);
|
|
27
|
-
|
|
28
|
-
// src/utils/locale-utils.ts
|
|
29
|
-
var DEFAULT_TIME_PICKER_LABELS = {
|
|
30
|
-
hour: "Hour",
|
|
31
|
-
minute: "Min",
|
|
32
|
-
second: "Sec",
|
|
33
|
-
now: "Now",
|
|
34
|
-
ok: "OK",
|
|
35
|
-
start: "Start",
|
|
36
|
-
end: "End",
|
|
37
|
-
clear: "Clear time",
|
|
38
|
-
toggle: "Toggle time picker",
|
|
39
|
-
dialog: "Time picker",
|
|
40
|
-
selectTime: "Select time",
|
|
41
|
-
selectTimeRange: "Select time range"
|
|
42
|
-
};
|
|
43
|
-
var DEFAULT_UPLOAD_LABELS = {
|
|
44
|
-
dragAreaAriaLabel: "Upload file by clicking or dragging",
|
|
45
|
-
buttonAriaLabel: "Upload file",
|
|
46
|
-
clickToUploadText: "Click to upload",
|
|
47
|
-
dragAndDropText: "or drag and drop",
|
|
48
|
-
acceptInfoText: "Accepted: {accept}",
|
|
49
|
-
maxSizeInfoText: "Max size: {maxSize}",
|
|
50
|
-
selectFileText: "Select File",
|
|
51
|
-
uploadedFilesAriaLabel: "Uploaded files",
|
|
52
|
-
successAriaLabel: "Success",
|
|
53
|
-
errorAriaLabel: "Error",
|
|
54
|
-
uploadingAriaLabel: "Uploading",
|
|
55
|
-
removeFileAriaLabel: "Remove {fileName}",
|
|
56
|
-
previewFileAriaLabel: "Preview {fileName}"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// src/utils/i18n/locales/en-US.ts
|
|
60
|
-
var enUS = {
|
|
61
|
-
locale: "en-US",
|
|
62
|
-
direction: "ltr",
|
|
63
|
-
common: {
|
|
64
|
-
okText: "OK",
|
|
65
|
-
cancelText: "Cancel",
|
|
66
|
-
closeText: "Close",
|
|
67
|
-
loadingText: "Loading...",
|
|
68
|
-
emptyText: "No data",
|
|
69
|
-
noMoreText: "No more data",
|
|
70
|
-
searchPlaceholder: "Search",
|
|
71
|
-
clearText: "Clear"
|
|
72
|
-
},
|
|
73
|
-
modal: {
|
|
74
|
-
closeAriaLabel: "Close",
|
|
75
|
-
okText: "OK",
|
|
76
|
-
cancelText: "Cancel"
|
|
77
|
-
},
|
|
78
|
-
drawer: {
|
|
79
|
-
closeAriaLabel: "Close"
|
|
80
|
-
},
|
|
81
|
-
upload: DEFAULT_UPLOAD_LABELS,
|
|
82
|
-
pagination: {
|
|
83
|
-
totalText: "Total {total} items",
|
|
84
|
-
itemsPerPageText: "/ page",
|
|
85
|
-
jumpToText: "Go to",
|
|
86
|
-
pageText: "page",
|
|
87
|
-
prevPageAriaLabel: "Previous page",
|
|
88
|
-
nextPageAriaLabel: "Next page",
|
|
89
|
-
pageAriaLabel: "Page {page}",
|
|
90
|
-
pageIndicatorText: "Page {current} of {total}"
|
|
91
|
-
},
|
|
92
|
-
table: {
|
|
93
|
-
emptyText: "No data",
|
|
94
|
-
loadingText: "Loading",
|
|
95
|
-
expandText: "Expand",
|
|
96
|
-
collapseText: "Collapse",
|
|
97
|
-
selectAllText: "Select all",
|
|
98
|
-
selectRowAriaLabel: "Select row {row}",
|
|
99
|
-
sortByText: "Sort by {column}",
|
|
100
|
-
clearSortText: "Clear sort",
|
|
101
|
-
toolbarAriaLabel: "Data table toolbar",
|
|
102
|
-
searchPlaceholder: "Search",
|
|
103
|
-
searchButtonText: "Search",
|
|
104
|
-
selectedText: "Selected",
|
|
105
|
-
selectedItemsText: "items",
|
|
106
|
-
columnSettingsText: "Column settings",
|
|
107
|
-
columnSettingsAriaLabel: "Column settings",
|
|
108
|
-
lockColumnAriaLabel: "Lock column {column}",
|
|
109
|
-
unlockColumnAriaLabel: "Unlock column {column}"
|
|
110
|
-
},
|
|
111
|
-
timePicker: DEFAULT_TIME_PICKER_LABELS,
|
|
112
|
-
formWizard: {
|
|
113
|
-
prevText: "Previous",
|
|
114
|
-
nextText: "Next",
|
|
115
|
-
finishText: "Finish"
|
|
116
|
-
},
|
|
117
|
-
taskBoard: {
|
|
118
|
-
emptyColumnText: "No tasks",
|
|
119
|
-
addCardText: "Add task",
|
|
120
|
-
wipLimitText: "WIP limit: {limit}",
|
|
121
|
-
dragHintText: "Drag to move",
|
|
122
|
-
boardAriaLabel: "Task Board"
|
|
123
|
-
},
|
|
124
|
-
formValidation: {
|
|
125
|
-
required: "This field is required",
|
|
126
|
-
typeString: "Value must be a string",
|
|
127
|
-
typeNumber: "Value must be a number",
|
|
128
|
-
typeBoolean: "Value must be a boolean",
|
|
129
|
-
typeArray: "Value must be an array",
|
|
130
|
-
typeObject: "Value must be an object",
|
|
131
|
-
email: "Please enter a valid email address",
|
|
132
|
-
phone: "Please enter a valid phone number",
|
|
133
|
-
url: "Please enter a valid URL",
|
|
134
|
-
date: "Please enter a valid date",
|
|
135
|
-
idCard: "Please enter a valid ID card number",
|
|
136
|
-
minLength: "Minimum length is {min} characters",
|
|
137
|
-
maxLength: "Maximum length is {max} characters",
|
|
138
|
-
minValue: "Minimum value is {min}",
|
|
139
|
-
maxValue: "Maximum value is {max}",
|
|
140
|
-
minItems: "Minimum {min} items required",
|
|
141
|
-
maxItems: "Maximum {max} items allowed",
|
|
142
|
-
patternMismatch: "Value does not match the required pattern",
|
|
143
|
-
validatorFailed: "Validation failed",
|
|
144
|
-
validatorError: "Validation error occurred"
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
// src/utils/i18n/define-locale.ts
|
|
149
|
-
function isPlainObject(value) {
|
|
150
|
-
if (value === null || typeof value !== "object") return false;
|
|
151
|
-
const proto = Object.getPrototypeOf(value);
|
|
152
|
-
return proto === Object.prototype || proto === null;
|
|
153
|
-
}
|
|
154
|
-
function deepMerge(base, override) {
|
|
155
|
-
if (!override) return { ...base };
|
|
156
|
-
const out = { ...base };
|
|
157
|
-
for (const key of Object.keys(override)) {
|
|
158
|
-
const next = override[key];
|
|
159
|
-
if (next === void 0) continue;
|
|
160
|
-
const prev = base[key];
|
|
161
|
-
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
162
|
-
out[key] = deepMerge(prev, next);
|
|
163
|
-
} else {
|
|
164
|
-
out[key] = next;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
return out;
|
|
168
|
-
}
|
|
169
|
-
function defineLocale(overrides = {}) {
|
|
170
|
-
return deepMerge(enUS, overrides);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// src/utils/i18n/locales/es-ES.ts
|
|
174
|
-
var esES = defineLocale({
|
|
175
|
-
locale: "es-ES",
|
|
176
|
-
direction: "ltr",
|
|
177
|
-
common: {
|
|
178
|
-
okText: "Aceptar",
|
|
179
|
-
cancelText: "Cancelar",
|
|
180
|
-
closeText: "Cerrar",
|
|
181
|
-
loadingText: "Cargando...",
|
|
182
|
-
emptyText: "Sin datos",
|
|
183
|
-
noMoreText: "No hay m\xE1s datos"
|
|
184
|
-
},
|
|
185
|
-
modal: {
|
|
186
|
-
closeAriaLabel: "Cerrar",
|
|
187
|
-
okText: "Aceptar",
|
|
188
|
-
cancelText: "Cancelar"
|
|
189
|
-
},
|
|
190
|
-
drawer: {
|
|
191
|
-
closeAriaLabel: "Cerrar"
|
|
192
|
-
},
|
|
193
|
-
upload: {
|
|
194
|
-
dragAreaAriaLabel: "Subir archivo haciendo clic o arrastrando",
|
|
195
|
-
buttonAriaLabel: "Subir archivo",
|
|
196
|
-
clickToUploadText: "Haz clic para subir",
|
|
197
|
-
dragAndDropText: "o arrastra y suelta",
|
|
198
|
-
acceptInfoText: "Aceptado: {accept}",
|
|
199
|
-
maxSizeInfoText: "Tama\xF1o m\xE1ximo: {maxSize}",
|
|
200
|
-
selectFileText: "Seleccionar archivo",
|
|
201
|
-
uploadedFilesAriaLabel: "Archivos subidos",
|
|
202
|
-
successAriaLabel: "Correcto",
|
|
203
|
-
errorAriaLabel: "Error",
|
|
204
|
-
uploadingAriaLabel: "Subiendo",
|
|
205
|
-
removeFileAriaLabel: "Eliminar {fileName}",
|
|
206
|
-
previewFileAriaLabel: "Vista previa de {fileName}"
|
|
207
|
-
},
|
|
208
|
-
pagination: {
|
|
209
|
-
totalText: "Total {total} elementos",
|
|
210
|
-
itemsPerPageText: "/ p\xE1gina",
|
|
211
|
-
jumpToText: "Ir a",
|
|
212
|
-
pageText: "p\xE1gina",
|
|
213
|
-
prevPageAriaLabel: "P\xE1gina anterior",
|
|
214
|
-
nextPageAriaLabel: "P\xE1gina siguiente",
|
|
215
|
-
pageAriaLabel: "P\xE1gina {page}",
|
|
216
|
-
pageIndicatorText: "P\xE1gina {current} de {total}"
|
|
217
|
-
},
|
|
218
|
-
table: {
|
|
219
|
-
emptyText: "Sin datos",
|
|
220
|
-
loadingText: "Cargando",
|
|
221
|
-
expandText: "Expandir",
|
|
222
|
-
collapseText: "Contraer",
|
|
223
|
-
selectAllText: "Seleccionar todo",
|
|
224
|
-
selectRowAriaLabel: "Seleccionar fila {row}",
|
|
225
|
-
sortByText: "Ordenar por {column}",
|
|
226
|
-
clearSortText: "Borrar orden",
|
|
227
|
-
toolbarAriaLabel: "Barra de herramientas de tabla de datos",
|
|
228
|
-
searchPlaceholder: "Buscar",
|
|
229
|
-
searchButtonText: "Buscar",
|
|
230
|
-
selectedText: "Seleccionado",
|
|
231
|
-
selectedItemsText: "elementos",
|
|
232
|
-
columnSettingsText: "Configuraci\xF3n de columnas",
|
|
233
|
-
columnSettingsAriaLabel: "Configuraci\xF3n de columnas",
|
|
234
|
-
lockColumnAriaLabel: "Bloquear columna {column}",
|
|
235
|
-
unlockColumnAriaLabel: "Desbloquear columna {column}"
|
|
236
|
-
},
|
|
237
|
-
formWizard: {
|
|
238
|
-
prevText: "Anterior",
|
|
239
|
-
nextText: "Siguiente",
|
|
240
|
-
finishText: "Finalizar"
|
|
241
|
-
},
|
|
242
|
-
taskBoard: {
|
|
243
|
-
emptyColumnText: "Sin tareas",
|
|
244
|
-
addCardText: "Agregar tarea",
|
|
245
|
-
wipLimitText: "L\xEDmite WIP: {limit}",
|
|
246
|
-
dragHintText: "Arrastra para mover",
|
|
247
|
-
boardAriaLabel: "Tablero de tareas"
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
var es_ES_default = esES;
|
|
251
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
252
|
-
0 && (module.exports = {
|
|
253
|
-
esES
|
|
254
|
-
});
|