@expcat/tigercat-core 1.1.0 → 1.2.14
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-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 +30 -7
- package/dist/datepicker-locales/en-US.js +5 -2
- 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 +30 -7
- package/dist/datepicker-locales/id-ID.js +5 -2
- package/dist/datepicker-locales/ja-JP.cjs +30 -7
- package/dist/datepicker-locales/ja-JP.js +5 -2
- package/dist/datepicker-locales/ko-KR.cjs +30 -7
- package/dist/datepicker-locales/ko-KR.js +5 -2
- 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 +30 -7
- package/dist/datepicker-locales/th-TH.js +5 -2
- package/dist/datepicker-locales/vi-VN.cjs +30 -7
- package/dist/datepicker-locales/vi-VN.js +5 -2
- package/dist/datepicker-locales/zh-CN.cjs +30 -7
- package/dist/datepicker-locales/zh-CN.js +5 -2
- package/dist/datepicker-locales/zh-TW.cjs +30 -7
- package/dist/datepicker-locales/zh-TW.js +5 -2
- package/dist/icons/common.cjs +43 -11
- package/dist/icons/common.js +11 -2
- package/dist/icons/picker.cjs +57 -18
- package/dist/icons/picker.js +18 -2
- package/dist/icons/status.cjs +35 -7
- package/dist/icons/status.js +7 -2
- package/dist/icons/table.cjs +39 -9
- package/dist/icons/table.js +9 -2
- package/dist/index.cjs +6703 -1719
- package/dist/index.d.cts +1940 -58
- package/dist/index.d.ts +1940 -58
- package/dist/index.js +4821 -159
- package/dist/{locale-CEmE5uq-.d.cts → locale-9-B-d0mp.d.cts} +6 -1
- package/dist/{locale-m1sF4KRO.d.ts → locale-Bc3zz2b0.d.ts} +6 -1
- 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 +29 -3
- package/dist/locales/en-US.d.cts +1 -1
- package/dist/locales/en-US.d.ts +1 -1
- package/dist/locales/en-US.js +5 -2
- 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 +29 -3
- package/dist/locales/id-ID.d.cts +1 -1
- package/dist/locales/id-ID.d.ts +1 -1
- package/dist/locales/id-ID.js +5 -2
- package/dist/locales/ja-JP.cjs +29 -3
- package/dist/locales/ja-JP.d.cts +1 -1
- package/dist/locales/ja-JP.d.ts +1 -1
- package/dist/locales/ja-JP.js +5 -2
- package/dist/locales/ko-KR.cjs +29 -3
- package/dist/locales/ko-KR.d.cts +1 -1
- package/dist/locales/ko-KR.d.ts +1 -1
- package/dist/locales/ko-KR.js +5 -2
- 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 +29 -3
- package/dist/locales/th-TH.d.cts +1 -1
- package/dist/locales/th-TH.d.ts +1 -1
- package/dist/locales/th-TH.js +5 -2
- package/dist/locales/vi-VN.cjs +29 -3
- package/dist/locales/vi-VN.d.cts +1 -1
- package/dist/locales/vi-VN.d.ts +1 -1
- package/dist/locales/vi-VN.js +5 -2
- package/dist/locales/zh-CN.cjs +29 -3
- package/dist/locales/zh-CN.d.cts +1 -1
- package/dist/locales/zh-CN.d.ts +1 -1
- package/dist/locales/zh-CN.js +5 -2
- package/dist/locales/zh-TW.cjs +29 -3
- package/dist/locales/zh-TW.d.cts +1 -1
- package/dist/locales/zh-TW.d.ts +1 -1
- package/dist/locales/zh-TW.js +5 -2
- package/dist/{table-export-Cy9DgTiO.d.cts → table-export-6ISYSoVB.d.cts} +35 -3
- package/dist/{table-export-Cy9DgTiO.d.ts → table-export-6ISYSoVB.d.ts} +35 -3
- package/dist/tailwind/modern.cjs +81 -18
- package/dist/tailwind/modern.js +49 -13
- package/dist/{tailwind-entry-2KPvkOin.d.ts → tailwind-entry-D4_sseNi.d.ts} +1 -1
- package/dist/{tailwind-entry-CUaMC8Ma.d.cts → tailwind-entry-DUchHtjs.d.cts} +1 -1
- package/dist/tailwind.cjs +75 -10
- package/dist/tailwind.d.cts +1 -1
- package/dist/tailwind.d.ts +1 -1
- package/dist/tailwind.js +43 -5
- package/dist/utils/table-export.cjs +79 -5
- package/dist/utils/table-export.d.cts +1 -1
- package/dist/utils/table-export.d.ts +1 -1
- package/dist/utils/table-export.js +47 -2
- package/package.json +60 -6
- 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
package/dist/locales/en-US.cjs
CHANGED
|
@@ -1,7 +1,31 @@
|
|
|
1
|
-
|
|
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);
|
|
2
19
|
|
|
3
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);
|
|
4
26
|
var enUS = {
|
|
27
|
+
locale: "en-US",
|
|
28
|
+
direction: "ltr",
|
|
5
29
|
common: {
|
|
6
30
|
okText: "OK",
|
|
7
31
|
cancelText: "Cancel",
|
|
@@ -39,5 +63,7 @@ var enUS = {
|
|
|
39
63
|
boardAriaLabel: "Task Board"
|
|
40
64
|
}
|
|
41
65
|
};
|
|
42
|
-
|
|
43
|
-
exports
|
|
66
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
67
|
+
0 && (module.exports = {
|
|
68
|
+
enUS
|
|
69
|
+
});
|
package/dist/locales/en-US.d.cts
CHANGED
package/dist/locales/en-US.d.ts
CHANGED
package/dist/locales/en-US.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// src/utils/i18n/locales/en-US.ts
|
|
2
2
|
var enUS = {
|
|
3
|
+
locale: "en-US",
|
|
4
|
+
direction: "ltr",
|
|
3
5
|
common: {
|
|
4
6
|
okText: "OK",
|
|
5
7
|
cancelText: "Cancel",
|
|
@@ -37,5 +39,6 @@ var enUS = {
|
|
|
37
39
|
boardAriaLabel: "Task Board"
|
|
38
40
|
}
|
|
39
41
|
};
|
|
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
|
+
};
|
|
@@ -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/fr-FR.ts
|
|
21
|
+
var fr_FR_exports = {};
|
|
22
|
+
__export(fr_FR_exports, {
|
|
23
|
+
default: () => fr_FR_default,
|
|
24
|
+
frFR: () => frFR
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(fr_FR_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/fr-FR.ts
|
|
96
|
+
var frFR = defineLocale({
|
|
97
|
+
locale: "fr-FR",
|
|
98
|
+
direction: "ltr",
|
|
99
|
+
common: {
|
|
100
|
+
okText: "OK",
|
|
101
|
+
cancelText: "Annuler",
|
|
102
|
+
closeText: "Fermer",
|
|
103
|
+
loadingText: "Chargement...",
|
|
104
|
+
emptyText: "Aucune donn\xE9e"
|
|
105
|
+
},
|
|
106
|
+
modal: {
|
|
107
|
+
closeAriaLabel: "Fermer",
|
|
108
|
+
okText: "OK",
|
|
109
|
+
cancelText: "Annuler"
|
|
110
|
+
},
|
|
111
|
+
drawer: {
|
|
112
|
+
closeAriaLabel: "Fermer"
|
|
113
|
+
},
|
|
114
|
+
upload: {
|
|
115
|
+
dragAreaAriaLabel: "T\xE9l\xE9verser un fichier en cliquant ou en le d\xE9posant",
|
|
116
|
+
buttonAriaLabel: "T\xE9l\xE9verser un fichier",
|
|
117
|
+
clickToUploadText: "Cliquer pour t\xE9l\xE9verser",
|
|
118
|
+
dragAndDropText: "ou glisser-d\xE9poser",
|
|
119
|
+
acceptInfoText: "Accept\xE9 : {accept}",
|
|
120
|
+
maxSizeInfoText: "Taille max. : {maxSize}",
|
|
121
|
+
selectFileText: "S\xE9lectionner un fichier",
|
|
122
|
+
uploadedFilesAriaLabel: "Fichiers t\xE9l\xE9vers\xE9s",
|
|
123
|
+
successAriaLabel: "Succ\xE8s",
|
|
124
|
+
errorAriaLabel: "Erreur",
|
|
125
|
+
uploadingAriaLabel: "T\xE9l\xE9versement",
|
|
126
|
+
removeFileAriaLabel: "Supprimer {fileName}",
|
|
127
|
+
previewFileAriaLabel: "Pr\xE9visualiser {fileName}"
|
|
128
|
+
},
|
|
129
|
+
pagination: {
|
|
130
|
+
totalText: "Total {total} \xE9l\xE9ments",
|
|
131
|
+
itemsPerPageText: "/ page",
|
|
132
|
+
jumpToText: "Aller \xE0",
|
|
133
|
+
pageText: "page",
|
|
134
|
+
prevPageAriaLabel: "Page pr\xE9c\xE9dente",
|
|
135
|
+
nextPageAriaLabel: "Page suivante",
|
|
136
|
+
pageAriaLabel: "Page {page}"
|
|
137
|
+
},
|
|
138
|
+
formWizard: {
|
|
139
|
+
prevText: "Pr\xE9c\xE9dent",
|
|
140
|
+
nextText: "Suivant",
|
|
141
|
+
finishText: "Terminer"
|
|
142
|
+
},
|
|
143
|
+
taskBoard: {
|
|
144
|
+
emptyColumnText: "Aucune t\xE2che",
|
|
145
|
+
addCardText: "Ajouter une t\xE2che",
|
|
146
|
+
wipLimitText: "Limite WIP : {limit}",
|
|
147
|
+
dragHintText: "Glisser pour d\xE9placer",
|
|
148
|
+
boardAriaLabel: "Tableau des t\xE2ches"
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var fr_FR_default = frFR;
|
|
152
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
153
|
+
0 && (module.exports = {
|
|
154
|
+
frFR
|
|
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/fr-FR.ts
|
|
69
|
+
var frFR = defineLocale({
|
|
70
|
+
locale: "fr-FR",
|
|
71
|
+
direction: "ltr",
|
|
72
|
+
common: {
|
|
73
|
+
okText: "OK",
|
|
74
|
+
cancelText: "Annuler",
|
|
75
|
+
closeText: "Fermer",
|
|
76
|
+
loadingText: "Chargement...",
|
|
77
|
+
emptyText: "Aucune donn\xE9e"
|
|
78
|
+
},
|
|
79
|
+
modal: {
|
|
80
|
+
closeAriaLabel: "Fermer",
|
|
81
|
+
okText: "OK",
|
|
82
|
+
cancelText: "Annuler"
|
|
83
|
+
},
|
|
84
|
+
drawer: {
|
|
85
|
+
closeAriaLabel: "Fermer"
|
|
86
|
+
},
|
|
87
|
+
upload: {
|
|
88
|
+
dragAreaAriaLabel: "T\xE9l\xE9verser un fichier en cliquant ou en le d\xE9posant",
|
|
89
|
+
buttonAriaLabel: "T\xE9l\xE9verser un fichier",
|
|
90
|
+
clickToUploadText: "Cliquer pour t\xE9l\xE9verser",
|
|
91
|
+
dragAndDropText: "ou glisser-d\xE9poser",
|
|
92
|
+
acceptInfoText: "Accept\xE9 : {accept}",
|
|
93
|
+
maxSizeInfoText: "Taille max. : {maxSize}",
|
|
94
|
+
selectFileText: "S\xE9lectionner un fichier",
|
|
95
|
+
uploadedFilesAriaLabel: "Fichiers t\xE9l\xE9vers\xE9s",
|
|
96
|
+
successAriaLabel: "Succ\xE8s",
|
|
97
|
+
errorAriaLabel: "Erreur",
|
|
98
|
+
uploadingAriaLabel: "T\xE9l\xE9versement",
|
|
99
|
+
removeFileAriaLabel: "Supprimer {fileName}",
|
|
100
|
+
previewFileAriaLabel: "Pr\xE9visualiser {fileName}"
|
|
101
|
+
},
|
|
102
|
+
pagination: {
|
|
103
|
+
totalText: "Total {total} \xE9l\xE9ments",
|
|
104
|
+
itemsPerPageText: "/ page",
|
|
105
|
+
jumpToText: "Aller \xE0",
|
|
106
|
+
pageText: "page",
|
|
107
|
+
prevPageAriaLabel: "Page pr\xE9c\xE9dente",
|
|
108
|
+
nextPageAriaLabel: "Page suivante",
|
|
109
|
+
pageAriaLabel: "Page {page}"
|
|
110
|
+
},
|
|
111
|
+
formWizard: {
|
|
112
|
+
prevText: "Pr\xE9c\xE9dent",
|
|
113
|
+
nextText: "Suivant",
|
|
114
|
+
finishText: "Terminer"
|
|
115
|
+
},
|
|
116
|
+
taskBoard: {
|
|
117
|
+
emptyColumnText: "Aucune t\xE2che",
|
|
118
|
+
addCardText: "Ajouter une t\xE2che",
|
|
119
|
+
wipLimitText: "Limite WIP : {limit}",
|
|
120
|
+
dragHintText: "Glisser pour d\xE9placer",
|
|
121
|
+
boardAriaLabel: "Tableau des t\xE2ches"
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
var fr_FR_default = frFR;
|
|
125
|
+
export {
|
|
126
|
+
fr_FR_default as default,
|
|
127
|
+
frFR
|
|
128
|
+
};
|