@expcat/tigercat-core 1.0.7 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/datepicker-DXzS_8l8.d.cts +130 -0
- package/dist/datepicker-DXzS_8l8.d.ts +130 -0
- package/dist/datepicker-locales/ar-SA.cjs +46 -0
- package/dist/datepicker-locales/ar-SA.d.cts +6 -0
- package/dist/datepicker-locales/ar-SA.d.ts +6 -0
- package/dist/datepicker-locales/ar-SA.js +20 -0
- package/dist/datepicker-locales/de-DE.cjs +46 -0
- package/dist/datepicker-locales/de-DE.d.cts +6 -0
- package/dist/datepicker-locales/de-DE.d.ts +6 -0
- package/dist/datepicker-locales/de-DE.js +20 -0
- package/dist/datepicker-locales/en-US.cjs +46 -0
- package/dist/datepicker-locales/en-US.d.cts +6 -0
- package/dist/datepicker-locales/en-US.d.ts +6 -0
- package/dist/datepicker-locales/en-US.js +20 -0
- package/dist/datepicker-locales/es-ES.cjs +46 -0
- package/dist/datepicker-locales/es-ES.d.cts +6 -0
- package/dist/datepicker-locales/es-ES.d.ts +6 -0
- package/dist/datepicker-locales/es-ES.js +20 -0
- package/dist/datepicker-locales/fr-FR.cjs +46 -0
- package/dist/datepicker-locales/fr-FR.d.cts +6 -0
- package/dist/datepicker-locales/fr-FR.d.ts +6 -0
- package/dist/datepicker-locales/fr-FR.js +20 -0
- package/dist/datepicker-locales/id-ID.cjs +46 -0
- package/dist/datepicker-locales/id-ID.d.cts +6 -0
- package/dist/datepicker-locales/id-ID.d.ts +6 -0
- package/dist/datepicker-locales/id-ID.js +20 -0
- package/dist/datepicker-locales/ja-JP.cjs +46 -0
- package/dist/datepicker-locales/ja-JP.d.cts +6 -0
- package/dist/datepicker-locales/ja-JP.d.ts +6 -0
- package/dist/datepicker-locales/ja-JP.js +20 -0
- package/dist/datepicker-locales/ko-KR.cjs +46 -0
- package/dist/datepicker-locales/ko-KR.d.cts +6 -0
- package/dist/datepicker-locales/ko-KR.d.ts +6 -0
- package/dist/datepicker-locales/ko-KR.js +20 -0
- package/dist/datepicker-locales/pt-BR.cjs +46 -0
- package/dist/datepicker-locales/pt-BR.d.cts +6 -0
- package/dist/datepicker-locales/pt-BR.d.ts +6 -0
- package/dist/datepicker-locales/pt-BR.js +20 -0
- package/dist/datepicker-locales/th-TH.cjs +46 -0
- package/dist/datepicker-locales/th-TH.d.cts +6 -0
- package/dist/datepicker-locales/th-TH.d.ts +6 -0
- package/dist/datepicker-locales/th-TH.js +20 -0
- package/dist/datepicker-locales/vi-VN.cjs +46 -0
- package/dist/datepicker-locales/vi-VN.d.cts +6 -0
- package/dist/datepicker-locales/vi-VN.d.ts +6 -0
- package/dist/datepicker-locales/vi-VN.js +20 -0
- package/dist/datepicker-locales/zh-CN.cjs +46 -0
- package/dist/datepicker-locales/zh-CN.d.cts +6 -0
- package/dist/datepicker-locales/zh-CN.d.ts +6 -0
- package/dist/datepicker-locales/zh-CN.js +20 -0
- package/dist/datepicker-locales/zh-TW.cjs +46 -0
- package/dist/datepicker-locales/zh-TW.d.cts +6 -0
- package/dist/datepicker-locales/zh-TW.d.ts +6 -0
- package/dist/datepicker-locales/zh-TW.js +20 -0
- package/dist/icons/common.cjs +54 -0
- package/dist/icons/common.d.cts +20 -0
- package/dist/icons/common.d.ts +20 -0
- package/dist/icons/common.js +21 -0
- package/dist/icons/picker.cjs +75 -0
- package/dist/icons/picker.d.cts +53 -0
- package/dist/icons/picker.d.ts +53 -0
- package/dist/icons/picker.js +35 -0
- package/dist/icons/status.cjs +47 -0
- package/dist/icons/status.d.cts +13 -0
- package/dist/icons/status.d.ts +13 -0
- package/dist/icons/status.js +18 -0
- package/dist/icons/table.cjs +48 -0
- package/dist/icons/table.d.cts +25 -0
- package/dist/icons/table.d.ts +25 -0
- package/dist/icons/table.js +17 -0
- package/dist/index.cjs +7064 -886
- package/dist/index.d.cts +3826 -1238
- package/dist/index.d.ts +3826 -1238
- package/dist/index.js +6705 -1011
- package/dist/locale-9-B-d0mp.d.cts +97 -0
- package/dist/locale-Bc3zz2b0.d.ts +97 -0
- package/dist/locales/ar-SA.cjs +155 -0
- package/dist/locales/ar-SA.d.cts +10 -0
- package/dist/locales/ar-SA.d.ts +10 -0
- package/dist/locales/ar-SA.js +128 -0
- package/dist/locales/de-DE.cjs +155 -0
- package/dist/locales/de-DE.d.cts +10 -0
- package/dist/locales/de-DE.d.ts +10 -0
- package/dist/locales/de-DE.js +128 -0
- package/dist/locales/en-US.cjs +69 -0
- package/dist/locales/en-US.d.cts +10 -0
- package/dist/locales/en-US.d.ts +10 -0
- package/dist/locales/en-US.js +44 -0
- package/dist/locales/es-ES.cjs +155 -0
- package/dist/locales/es-ES.d.cts +10 -0
- package/dist/locales/es-ES.d.ts +10 -0
- package/dist/locales/es-ES.js +128 -0
- package/dist/locales/fr-FR.cjs +155 -0
- package/dist/locales/fr-FR.d.cts +10 -0
- package/dist/locales/fr-FR.d.ts +10 -0
- package/dist/locales/fr-FR.js +128 -0
- package/dist/locales/id-ID.cjs +69 -0
- package/dist/locales/id-ID.d.cts +10 -0
- package/dist/locales/id-ID.d.ts +10 -0
- package/dist/locales/id-ID.js +44 -0
- package/dist/locales/ja-JP.cjs +69 -0
- package/dist/locales/ja-JP.d.cts +10 -0
- package/dist/locales/ja-JP.d.ts +10 -0
- package/dist/locales/ja-JP.js +44 -0
- package/dist/locales/ko-KR.cjs +69 -0
- package/dist/locales/ko-KR.d.cts +10 -0
- package/dist/locales/ko-KR.d.ts +10 -0
- package/dist/locales/ko-KR.js +44 -0
- package/dist/locales/pt-BR.cjs +155 -0
- package/dist/locales/pt-BR.d.cts +10 -0
- package/dist/locales/pt-BR.d.ts +10 -0
- package/dist/locales/pt-BR.js +128 -0
- package/dist/locales/th-TH.cjs +69 -0
- package/dist/locales/th-TH.d.cts +10 -0
- package/dist/locales/th-TH.d.ts +10 -0
- package/dist/locales/th-TH.js +44 -0
- package/dist/locales/vi-VN.cjs +69 -0
- package/dist/locales/vi-VN.d.cts +10 -0
- package/dist/locales/vi-VN.d.ts +10 -0
- package/dist/locales/vi-VN.js +44 -0
- package/dist/locales/zh-CN.cjs +69 -0
- package/dist/locales/zh-CN.d.cts +10 -0
- package/dist/locales/zh-CN.d.ts +10 -0
- package/dist/locales/zh-CN.js +44 -0
- package/dist/locales/zh-TW.cjs +69 -0
- package/dist/locales/zh-TW.d.cts +10 -0
- package/dist/locales/zh-TW.d.ts +10 -0
- package/dist/locales/zh-TW.js +44 -0
- package/dist/table-export-6ISYSoVB.d.cts +490 -0
- package/dist/table-export-6ISYSoVB.d.ts +490 -0
- package/dist/tailwind/modern.cjs +353 -0
- package/dist/tailwind/modern.d.cts +6 -0
- package/dist/tailwind/modern.d.ts +6 -0
- package/dist/tailwind/modern.js +320 -0
- package/dist/tailwind-entry-D4_sseNi.d.ts +218 -0
- package/dist/tailwind-entry-DUchHtjs.d.cts +218 -0
- package/dist/tailwind.cjs +206 -0
- package/dist/tailwind.d.cts +3 -0
- package/dist/tailwind.d.ts +3 -0
- package/dist/tailwind.js +173 -0
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +126 -0
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +126 -0
- package/dist/utils/table-export.cjs +112 -0
- package/dist/utils/table-export.d.cts +1 -0
- package/dist/utils/table-export.d.ts +1 -0
- package/dist/utils/table-export.js +79 -0
- package/package.json +190 -12
- package/tokens/figma-variables.json +2553 -0
- package/tokens/tailwind-tokens.js +145 -0
- package/tokens/tokens.css +640 -0
- package/tokens/tokens.json +395 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// src/utils/i18n/locales/en-US.ts
|
|
2
|
+
var enUS = {
|
|
3
|
+
locale: "en-US",
|
|
4
|
+
direction: "ltr",
|
|
5
|
+
common: {
|
|
6
|
+
okText: "OK",
|
|
7
|
+
cancelText: "Cancel",
|
|
8
|
+
closeText: "Close",
|
|
9
|
+
loadingText: "Loading...",
|
|
10
|
+
emptyText: "No data"
|
|
11
|
+
},
|
|
12
|
+
modal: {
|
|
13
|
+
closeAriaLabel: "Close",
|
|
14
|
+
okText: "OK",
|
|
15
|
+
cancelText: "Cancel"
|
|
16
|
+
},
|
|
17
|
+
drawer: {
|
|
18
|
+
closeAriaLabel: "Close"
|
|
19
|
+
},
|
|
20
|
+
pagination: {
|
|
21
|
+
totalText: "Total {total} items",
|
|
22
|
+
itemsPerPageText: "/ page",
|
|
23
|
+
jumpToText: "Go to",
|
|
24
|
+
pageText: "page",
|
|
25
|
+
prevPageAriaLabel: "Previous page",
|
|
26
|
+
nextPageAriaLabel: "Next page",
|
|
27
|
+
pageAriaLabel: "Page {page}"
|
|
28
|
+
},
|
|
29
|
+
formWizard: {
|
|
30
|
+
prevText: "Previous",
|
|
31
|
+
nextText: "Next",
|
|
32
|
+
finishText: "Finish"
|
|
33
|
+
},
|
|
34
|
+
taskBoard: {
|
|
35
|
+
emptyColumnText: "No tasks",
|
|
36
|
+
addCardText: "Add task",
|
|
37
|
+
wipLimitText: "WIP limit: {limit}",
|
|
38
|
+
dragHintText: "Drag to move",
|
|
39
|
+
boardAriaLabel: "Task Board"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// src/utils/i18n/define-locale.ts
|
|
44
|
+
function isPlainObject(value) {
|
|
45
|
+
if (value === null || typeof value !== "object") return false;
|
|
46
|
+
const proto = Object.getPrototypeOf(value);
|
|
47
|
+
return proto === Object.prototype || proto === null;
|
|
48
|
+
}
|
|
49
|
+
function deepMerge(base, override) {
|
|
50
|
+
if (!override) return { ...base };
|
|
51
|
+
const out = { ...base };
|
|
52
|
+
for (const key of Object.keys(override)) {
|
|
53
|
+
const next = override[key];
|
|
54
|
+
if (next === void 0) continue;
|
|
55
|
+
const prev = base[key];
|
|
56
|
+
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
57
|
+
out[key] = deepMerge(prev, next);
|
|
58
|
+
} else {
|
|
59
|
+
out[key] = next;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return out;
|
|
63
|
+
}
|
|
64
|
+
function defineLocale(overrides = {}) {
|
|
65
|
+
return deepMerge(enUS, overrides);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// src/utils/i18n/locales/de-DE.ts
|
|
69
|
+
var deDE = defineLocale({
|
|
70
|
+
locale: "de-DE",
|
|
71
|
+
direction: "ltr",
|
|
72
|
+
common: {
|
|
73
|
+
okText: "OK",
|
|
74
|
+
cancelText: "Abbrechen",
|
|
75
|
+
closeText: "Schlie\xDFen",
|
|
76
|
+
loadingText: "Wird geladen...",
|
|
77
|
+
emptyText: "Keine Daten"
|
|
78
|
+
},
|
|
79
|
+
modal: {
|
|
80
|
+
closeAriaLabel: "Schlie\xDFen",
|
|
81
|
+
okText: "OK",
|
|
82
|
+
cancelText: "Abbrechen"
|
|
83
|
+
},
|
|
84
|
+
drawer: {
|
|
85
|
+
closeAriaLabel: "Schlie\xDFen"
|
|
86
|
+
},
|
|
87
|
+
upload: {
|
|
88
|
+
dragAreaAriaLabel: "Datei per Klick oder Drag-and-drop hochladen",
|
|
89
|
+
buttonAriaLabel: "Datei hochladen",
|
|
90
|
+
clickToUploadText: "Zum Hochladen klicken",
|
|
91
|
+
dragAndDropText: "oder hierher ziehen",
|
|
92
|
+
acceptInfoText: "Akzeptiert: {accept}",
|
|
93
|
+
maxSizeInfoText: "Maximale Gr\xF6\xDFe: {maxSize}",
|
|
94
|
+
selectFileText: "Datei ausw\xE4hlen",
|
|
95
|
+
uploadedFilesAriaLabel: "Hochgeladene Dateien",
|
|
96
|
+
successAriaLabel: "Erfolg",
|
|
97
|
+
errorAriaLabel: "Fehler",
|
|
98
|
+
uploadingAriaLabel: "Wird hochgeladen",
|
|
99
|
+
removeFileAriaLabel: "{fileName} entfernen",
|
|
100
|
+
previewFileAriaLabel: "Vorschau von {fileName}"
|
|
101
|
+
},
|
|
102
|
+
pagination: {
|
|
103
|
+
totalText: "Insgesamt {total} Elemente",
|
|
104
|
+
itemsPerPageText: "/ Seite",
|
|
105
|
+
jumpToText: "Gehe zu",
|
|
106
|
+
pageText: "Seite",
|
|
107
|
+
prevPageAriaLabel: "Vorherige Seite",
|
|
108
|
+
nextPageAriaLabel: "N\xE4chste Seite",
|
|
109
|
+
pageAriaLabel: "Seite {page}"
|
|
110
|
+
},
|
|
111
|
+
formWizard: {
|
|
112
|
+
prevText: "Zur\xFCck",
|
|
113
|
+
nextText: "Weiter",
|
|
114
|
+
finishText: "Fertigstellen"
|
|
115
|
+
},
|
|
116
|
+
taskBoard: {
|
|
117
|
+
emptyColumnText: "Keine Aufgaben",
|
|
118
|
+
addCardText: "Aufgabe hinzuf\xFCgen",
|
|
119
|
+
wipLimitText: "WIP-Limit: {limit}",
|
|
120
|
+
dragHintText: "Zum Verschieben ziehen",
|
|
121
|
+
boardAriaLabel: "Aufgabenboard"
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
var de_DE_default = deDE;
|
|
125
|
+
export {
|
|
126
|
+
deDE,
|
|
127
|
+
de_DE_default as default
|
|
128
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
var enUS = {
|
|
27
|
+
locale: "en-US",
|
|
28
|
+
direction: "ltr",
|
|
29
|
+
common: {
|
|
30
|
+
okText: "OK",
|
|
31
|
+
cancelText: "Cancel",
|
|
32
|
+
closeText: "Close",
|
|
33
|
+
loadingText: "Loading...",
|
|
34
|
+
emptyText: "No data"
|
|
35
|
+
},
|
|
36
|
+
modal: {
|
|
37
|
+
closeAriaLabel: "Close",
|
|
38
|
+
okText: "OK",
|
|
39
|
+
cancelText: "Cancel"
|
|
40
|
+
},
|
|
41
|
+
drawer: {
|
|
42
|
+
closeAriaLabel: "Close"
|
|
43
|
+
},
|
|
44
|
+
pagination: {
|
|
45
|
+
totalText: "Total {total} items",
|
|
46
|
+
itemsPerPageText: "/ page",
|
|
47
|
+
jumpToText: "Go to",
|
|
48
|
+
pageText: "page",
|
|
49
|
+
prevPageAriaLabel: "Previous page",
|
|
50
|
+
nextPageAriaLabel: "Next page",
|
|
51
|
+
pageAriaLabel: "Page {page}"
|
|
52
|
+
},
|
|
53
|
+
formWizard: {
|
|
54
|
+
prevText: "Previous",
|
|
55
|
+
nextText: "Next",
|
|
56
|
+
finishText: "Finish"
|
|
57
|
+
},
|
|
58
|
+
taskBoard: {
|
|
59
|
+
emptyColumnText: "No tasks",
|
|
60
|
+
addCardText: "Add task",
|
|
61
|
+
wipLimitText: "WIP limit: {limit}",
|
|
62
|
+
dragHintText: "Drag to move",
|
|
63
|
+
boardAriaLabel: "Task Board"
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
67
|
+
0 && (module.exports = {
|
|
68
|
+
enUS
|
|
69
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// src/utils/i18n/locales/en-US.ts
|
|
2
|
+
var enUS = {
|
|
3
|
+
locale: "en-US",
|
|
4
|
+
direction: "ltr",
|
|
5
|
+
common: {
|
|
6
|
+
okText: "OK",
|
|
7
|
+
cancelText: "Cancel",
|
|
8
|
+
closeText: "Close",
|
|
9
|
+
loadingText: "Loading...",
|
|
10
|
+
emptyText: "No data"
|
|
11
|
+
},
|
|
12
|
+
modal: {
|
|
13
|
+
closeAriaLabel: "Close",
|
|
14
|
+
okText: "OK",
|
|
15
|
+
cancelText: "Cancel"
|
|
16
|
+
},
|
|
17
|
+
drawer: {
|
|
18
|
+
closeAriaLabel: "Close"
|
|
19
|
+
},
|
|
20
|
+
pagination: {
|
|
21
|
+
totalText: "Total {total} items",
|
|
22
|
+
itemsPerPageText: "/ page",
|
|
23
|
+
jumpToText: "Go to",
|
|
24
|
+
pageText: "page",
|
|
25
|
+
prevPageAriaLabel: "Previous page",
|
|
26
|
+
nextPageAriaLabel: "Next page",
|
|
27
|
+
pageAriaLabel: "Page {page}"
|
|
28
|
+
},
|
|
29
|
+
formWizard: {
|
|
30
|
+
prevText: "Previous",
|
|
31
|
+
nextText: "Next",
|
|
32
|
+
finishText: "Finish"
|
|
33
|
+
},
|
|
34
|
+
taskBoard: {
|
|
35
|
+
emptyColumnText: "No tasks",
|
|
36
|
+
addCardText: "Add task",
|
|
37
|
+
wipLimitText: "WIP limit: {limit}",
|
|
38
|
+
dragHintText: "Drag to move",
|
|
39
|
+
boardAriaLabel: "Task Board"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
enUS
|
|
44
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
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/i18n/locales/en-US.ts
|
|
29
|
+
var enUS = {
|
|
30
|
+
locale: "en-US",
|
|
31
|
+
direction: "ltr",
|
|
32
|
+
common: {
|
|
33
|
+
okText: "OK",
|
|
34
|
+
cancelText: "Cancel",
|
|
35
|
+
closeText: "Close",
|
|
36
|
+
loadingText: "Loading...",
|
|
37
|
+
emptyText: "No data"
|
|
38
|
+
},
|
|
39
|
+
modal: {
|
|
40
|
+
closeAriaLabel: "Close",
|
|
41
|
+
okText: "OK",
|
|
42
|
+
cancelText: "Cancel"
|
|
43
|
+
},
|
|
44
|
+
drawer: {
|
|
45
|
+
closeAriaLabel: "Close"
|
|
46
|
+
},
|
|
47
|
+
pagination: {
|
|
48
|
+
totalText: "Total {total} items",
|
|
49
|
+
itemsPerPageText: "/ page",
|
|
50
|
+
jumpToText: "Go to",
|
|
51
|
+
pageText: "page",
|
|
52
|
+
prevPageAriaLabel: "Previous page",
|
|
53
|
+
nextPageAriaLabel: "Next page",
|
|
54
|
+
pageAriaLabel: "Page {page}"
|
|
55
|
+
},
|
|
56
|
+
formWizard: {
|
|
57
|
+
prevText: "Previous",
|
|
58
|
+
nextText: "Next",
|
|
59
|
+
finishText: "Finish"
|
|
60
|
+
},
|
|
61
|
+
taskBoard: {
|
|
62
|
+
emptyColumnText: "No tasks",
|
|
63
|
+
addCardText: "Add task",
|
|
64
|
+
wipLimitText: "WIP limit: {limit}",
|
|
65
|
+
dragHintText: "Drag to move",
|
|
66
|
+
boardAriaLabel: "Task Board"
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
// src/utils/i18n/define-locale.ts
|
|
71
|
+
function isPlainObject(value) {
|
|
72
|
+
if (value === null || typeof value !== "object") return false;
|
|
73
|
+
const proto = Object.getPrototypeOf(value);
|
|
74
|
+
return proto === Object.prototype || proto === null;
|
|
75
|
+
}
|
|
76
|
+
function deepMerge(base, override) {
|
|
77
|
+
if (!override) return { ...base };
|
|
78
|
+
const out = { ...base };
|
|
79
|
+
for (const key of Object.keys(override)) {
|
|
80
|
+
const next = override[key];
|
|
81
|
+
if (next === void 0) continue;
|
|
82
|
+
const prev = base[key];
|
|
83
|
+
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
84
|
+
out[key] = deepMerge(prev, next);
|
|
85
|
+
} else {
|
|
86
|
+
out[key] = next;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return out;
|
|
90
|
+
}
|
|
91
|
+
function defineLocale(overrides = {}) {
|
|
92
|
+
return deepMerge(enUS, overrides);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// src/utils/i18n/locales/es-ES.ts
|
|
96
|
+
var esES = defineLocale({
|
|
97
|
+
locale: "es-ES",
|
|
98
|
+
direction: "ltr",
|
|
99
|
+
common: {
|
|
100
|
+
okText: "Aceptar",
|
|
101
|
+
cancelText: "Cancelar",
|
|
102
|
+
closeText: "Cerrar",
|
|
103
|
+
loadingText: "Cargando...",
|
|
104
|
+
emptyText: "Sin datos"
|
|
105
|
+
},
|
|
106
|
+
modal: {
|
|
107
|
+
closeAriaLabel: "Cerrar",
|
|
108
|
+
okText: "Aceptar",
|
|
109
|
+
cancelText: "Cancelar"
|
|
110
|
+
},
|
|
111
|
+
drawer: {
|
|
112
|
+
closeAriaLabel: "Cerrar"
|
|
113
|
+
},
|
|
114
|
+
upload: {
|
|
115
|
+
dragAreaAriaLabel: "Subir archivo haciendo clic o arrastrando",
|
|
116
|
+
buttonAriaLabel: "Subir archivo",
|
|
117
|
+
clickToUploadText: "Haz clic para subir",
|
|
118
|
+
dragAndDropText: "o arrastra y suelta",
|
|
119
|
+
acceptInfoText: "Aceptado: {accept}",
|
|
120
|
+
maxSizeInfoText: "Tama\xF1o m\xE1ximo: {maxSize}",
|
|
121
|
+
selectFileText: "Seleccionar archivo",
|
|
122
|
+
uploadedFilesAriaLabel: "Archivos subidos",
|
|
123
|
+
successAriaLabel: "Correcto",
|
|
124
|
+
errorAriaLabel: "Error",
|
|
125
|
+
uploadingAriaLabel: "Subiendo",
|
|
126
|
+
removeFileAriaLabel: "Eliminar {fileName}",
|
|
127
|
+
previewFileAriaLabel: "Vista previa de {fileName}"
|
|
128
|
+
},
|
|
129
|
+
pagination: {
|
|
130
|
+
totalText: "Total {total} elementos",
|
|
131
|
+
itemsPerPageText: "/ p\xE1gina",
|
|
132
|
+
jumpToText: "Ir a",
|
|
133
|
+
pageText: "p\xE1gina",
|
|
134
|
+
prevPageAriaLabel: "P\xE1gina anterior",
|
|
135
|
+
nextPageAriaLabel: "P\xE1gina siguiente",
|
|
136
|
+
pageAriaLabel: "P\xE1gina {page}"
|
|
137
|
+
},
|
|
138
|
+
formWizard: {
|
|
139
|
+
prevText: "Anterior",
|
|
140
|
+
nextText: "Siguiente",
|
|
141
|
+
finishText: "Finalizar"
|
|
142
|
+
},
|
|
143
|
+
taskBoard: {
|
|
144
|
+
emptyColumnText: "Sin tareas",
|
|
145
|
+
addCardText: "Agregar tarea",
|
|
146
|
+
wipLimitText: "L\xEDmite WIP: {limit}",
|
|
147
|
+
dragHintText: "Arrastra para mover",
|
|
148
|
+
boardAriaLabel: "Tablero de tareas"
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var es_ES_default = esES;
|
|
152
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
153
|
+
0 && (module.exports = {
|
|
154
|
+
esES
|
|
155
|
+
});
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// src/utils/i18n/locales/en-US.ts
|
|
2
|
+
var enUS = {
|
|
3
|
+
locale: "en-US",
|
|
4
|
+
direction: "ltr",
|
|
5
|
+
common: {
|
|
6
|
+
okText: "OK",
|
|
7
|
+
cancelText: "Cancel",
|
|
8
|
+
closeText: "Close",
|
|
9
|
+
loadingText: "Loading...",
|
|
10
|
+
emptyText: "No data"
|
|
11
|
+
},
|
|
12
|
+
modal: {
|
|
13
|
+
closeAriaLabel: "Close",
|
|
14
|
+
okText: "OK",
|
|
15
|
+
cancelText: "Cancel"
|
|
16
|
+
},
|
|
17
|
+
drawer: {
|
|
18
|
+
closeAriaLabel: "Close"
|
|
19
|
+
},
|
|
20
|
+
pagination: {
|
|
21
|
+
totalText: "Total {total} items",
|
|
22
|
+
itemsPerPageText: "/ page",
|
|
23
|
+
jumpToText: "Go to",
|
|
24
|
+
pageText: "page",
|
|
25
|
+
prevPageAriaLabel: "Previous page",
|
|
26
|
+
nextPageAriaLabel: "Next page",
|
|
27
|
+
pageAriaLabel: "Page {page}"
|
|
28
|
+
},
|
|
29
|
+
formWizard: {
|
|
30
|
+
prevText: "Previous",
|
|
31
|
+
nextText: "Next",
|
|
32
|
+
finishText: "Finish"
|
|
33
|
+
},
|
|
34
|
+
taskBoard: {
|
|
35
|
+
emptyColumnText: "No tasks",
|
|
36
|
+
addCardText: "Add task",
|
|
37
|
+
wipLimitText: "WIP limit: {limit}",
|
|
38
|
+
dragHintText: "Drag to move",
|
|
39
|
+
boardAriaLabel: "Task Board"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// src/utils/i18n/define-locale.ts
|
|
44
|
+
function isPlainObject(value) {
|
|
45
|
+
if (value === null || typeof value !== "object") return false;
|
|
46
|
+
const proto = Object.getPrototypeOf(value);
|
|
47
|
+
return proto === Object.prototype || proto === null;
|
|
48
|
+
}
|
|
49
|
+
function deepMerge(base, override) {
|
|
50
|
+
if (!override) return { ...base };
|
|
51
|
+
const out = { ...base };
|
|
52
|
+
for (const key of Object.keys(override)) {
|
|
53
|
+
const next = override[key];
|
|
54
|
+
if (next === void 0) continue;
|
|
55
|
+
const prev = base[key];
|
|
56
|
+
if (isPlainObject(prev) && isPlainObject(next)) {
|
|
57
|
+
out[key] = deepMerge(prev, next);
|
|
58
|
+
} else {
|
|
59
|
+
out[key] = next;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return out;
|
|
63
|
+
}
|
|
64
|
+
function defineLocale(overrides = {}) {
|
|
65
|
+
return deepMerge(enUS, overrides);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// src/utils/i18n/locales/es-ES.ts
|
|
69
|
+
var esES = defineLocale({
|
|
70
|
+
locale: "es-ES",
|
|
71
|
+
direction: "ltr",
|
|
72
|
+
common: {
|
|
73
|
+
okText: "Aceptar",
|
|
74
|
+
cancelText: "Cancelar",
|
|
75
|
+
closeText: "Cerrar",
|
|
76
|
+
loadingText: "Cargando...",
|
|
77
|
+
emptyText: "Sin datos"
|
|
78
|
+
},
|
|
79
|
+
modal: {
|
|
80
|
+
closeAriaLabel: "Cerrar",
|
|
81
|
+
okText: "Aceptar",
|
|
82
|
+
cancelText: "Cancelar"
|
|
83
|
+
},
|
|
84
|
+
drawer: {
|
|
85
|
+
closeAriaLabel: "Cerrar"
|
|
86
|
+
},
|
|
87
|
+
upload: {
|
|
88
|
+
dragAreaAriaLabel: "Subir archivo haciendo clic o arrastrando",
|
|
89
|
+
buttonAriaLabel: "Subir archivo",
|
|
90
|
+
clickToUploadText: "Haz clic para subir",
|
|
91
|
+
dragAndDropText: "o arrastra y suelta",
|
|
92
|
+
acceptInfoText: "Aceptado: {accept}",
|
|
93
|
+
maxSizeInfoText: "Tama\xF1o m\xE1ximo: {maxSize}",
|
|
94
|
+
selectFileText: "Seleccionar archivo",
|
|
95
|
+
uploadedFilesAriaLabel: "Archivos subidos",
|
|
96
|
+
successAriaLabel: "Correcto",
|
|
97
|
+
errorAriaLabel: "Error",
|
|
98
|
+
uploadingAriaLabel: "Subiendo",
|
|
99
|
+
removeFileAriaLabel: "Eliminar {fileName}",
|
|
100
|
+
previewFileAriaLabel: "Vista previa de {fileName}"
|
|
101
|
+
},
|
|
102
|
+
pagination: {
|
|
103
|
+
totalText: "Total {total} elementos",
|
|
104
|
+
itemsPerPageText: "/ p\xE1gina",
|
|
105
|
+
jumpToText: "Ir a",
|
|
106
|
+
pageText: "p\xE1gina",
|
|
107
|
+
prevPageAriaLabel: "P\xE1gina anterior",
|
|
108
|
+
nextPageAriaLabel: "P\xE1gina siguiente",
|
|
109
|
+
pageAriaLabel: "P\xE1gina {page}"
|
|
110
|
+
},
|
|
111
|
+
formWizard: {
|
|
112
|
+
prevText: "Anterior",
|
|
113
|
+
nextText: "Siguiente",
|
|
114
|
+
finishText: "Finalizar"
|
|
115
|
+
},
|
|
116
|
+
taskBoard: {
|
|
117
|
+
emptyColumnText: "Sin tareas",
|
|
118
|
+
addCardText: "Agregar tarea",
|
|
119
|
+
wipLimitText: "L\xEDmite WIP: {limit}",
|
|
120
|
+
dragHintText: "Arrastra para mover",
|
|
121
|
+
boardAriaLabel: "Tablero de tareas"
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
var es_ES_default = esES;
|
|
125
|
+
export {
|
|
126
|
+
es_ES_default as default,
|
|
127
|
+
esES
|
|
128
|
+
};
|