cozy-ui 142.2.2 → 142.3.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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/react/ActionsBar/locales/de.json +4 -0
- package/react/ActionsBar/locales/es.json +4 -0
- package/react/ActionsBar/locales/it.json +4 -0
- package/react/ActionsBar/locales/withActionsLocales.jsx +6 -0
- package/react/ActionsMenu/Actions/locales/de.json +30 -0
- package/react/ActionsMenu/Actions/locales/es.json +30 -0
- package/react/ActionsMenu/Actions/locales/it.json +30 -0
- package/react/ActionsMenu/Actions/locales/withActionsLocales.jsx +6 -0
- package/react/ColorPickerCustom/locales/de.json +6 -0
- package/react/ColorPickerCustom/locales/es.json +6 -0
- package/react/ColorPickerCustom/locales/index.js +6 -0
- package/react/ColorPickerCustom/locales/it.json +6 -0
- package/react/CozyDialogs/SpecificDialogs/locales/de.json +41 -0
- package/react/CozyDialogs/SpecificDialogs/locales/es.json +41 -0
- package/react/CozyDialogs/SpecificDialogs/locales/it.json +41 -0
- package/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.jsx +6 -0
- package/react/CozyDialogs/locales.js +8 -0
- package/react/DatePicker/helpers.js +14 -5
- package/react/DatePicker/helpers.spec.js +23 -1
- package/react/DatePicker/index.jsx +7 -1
- package/react/DatePicker/locales/de.json +8 -0
- package/react/DatePicker/locales/es.json +8 -0
- package/react/DatePicker/locales/it.json +8 -0
- package/react/DatePicker/locales/withOwnLocales.jsx +6 -0
- package/react/EditBadge/locales/de.json +18 -0
- package/react/EditBadge/locales/es.json +18 -0
- package/react/EditBadge/locales/index.js +6 -0
- package/react/EditBadge/locales/it.json +18 -0
- package/react/Nav/locales/de.json +6 -0
- package/react/Nav/locales/es.json +6 -0
- package/react/Nav/locales/it.json +6 -0
- package/react/Nav/locales/withNavLocales.jsx +6 -0
- package/react/PasswordField/index.jsx +6 -0
- package/react/PasswordField/locales/de.json +6 -0
- package/react/PasswordField/locales/es.json +6 -0
- package/react/PasswordField/locales/it.json +6 -0
- package/react/SearchBar/locales/de.json +5 -0
- package/react/SearchBar/locales/es.json +5 -0
- package/react/SearchBar/locales/it.json +5 -0
- package/react/SearchBar/locales/withOnlyLocales.jsx +6 -0
- package/react/Table/Virtualized/HeadCell.jsx +4 -1
- package/react/Table/Virtualized/locales/de.json +6 -0
- package/react/Table/Virtualized/locales/es.json +6 -0
- package/react/Table/Virtualized/locales/it.json +6 -0
- package/react/deprecated/ActionMenu/Actions/locales/de.json +8 -0
- package/react/deprecated/ActionMenu/Actions/locales/es.json +8 -0
- package/react/deprecated/ActionMenu/Actions/locales/it.json +8 -0
- package/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.jsx +6 -0
- package/react/hooks/useConfirmExit/index.jsx +4 -1
- package/react/hooks/useConfirmExit/locales/de.json +8 -0
- package/react/hooks/useConfirmExit/locales/es.json +8 -0
- package/react/hooks/useConfirmExit/locales/it.json +8 -0
- package/react/hooks/useSubmitWithLoader/locales/de.json +6 -0
- package/react/hooks/useSubmitWithLoader/locales/es.json +6 -0
- package/react/hooks/useSubmitWithLoader/locales/it.json +6 -0
- package/transpiled/react/ActionsBar/locales/withActionsLocales.d.ts +6 -0
- package/transpiled/react/ActionsBar/locales/withActionsLocales.js +15 -0
- package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.d.ts +6 -0
- package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.js +93 -0
- package/transpiled/react/ColorPickerCustom/locales/index.d.ts +6 -0
- package/transpiled/react/ColorPickerCustom/locales/index.js +21 -0
- package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.d.ts +6 -0
- package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.js +126 -0
- package/transpiled/react/CozyDialogs/locales.d.ts +14 -2
- package/transpiled/react/CozyDialogs/locales.js +8 -0
- package/transpiled/react/DatePicker/helpers.d.ts +1 -1
- package/transpiled/react/DatePicker/helpers.js +11 -4
- package/transpiled/react/DatePicker/index.js +7 -1
- package/transpiled/react/DatePicker/locales/withOwnLocales.d.ts +6 -0
- package/transpiled/react/DatePicker/locales/withOwnLocales.js +27 -0
- package/transpiled/react/EditBadge/locales/index.d.ts +6 -0
- package/transpiled/react/EditBadge/locales/index.js +57 -0
- package/transpiled/react/Nav/locales/withNavLocales.d.ts +6 -0
- package/transpiled/react/Nav/locales/withNavLocales.js +21 -0
- package/transpiled/react/PasswordField/index.d.ts +6 -0
- package/transpiled/react/PasswordField/index.js +21 -0
- package/transpiled/react/SearchBar/locales/withOnlyLocales.d.ts +6 -0
- package/transpiled/react/SearchBar/locales/withOnlyLocales.js +18 -0
- package/transpiled/react/Table/Virtualized/HeadCell.js +21 -0
- package/transpiled/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.d.ts +6 -0
- package/transpiled/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.js +27 -0
- package/transpiled/react/hooks/useConfirmExit/index.js +27 -0
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
export namespace locales {
|
|
2
|
+
export { de };
|
|
2
3
|
export { en };
|
|
4
|
+
export { es };
|
|
3
5
|
export { fr };
|
|
6
|
+
export { it };
|
|
4
7
|
export { ru };
|
|
5
8
|
export { vi };
|
|
6
9
|
}
|
|
7
10
|
declare var _default: Component;
|
|
8
11
|
export default _default;
|
|
12
|
+
import de from "./de.json";
|
|
9
13
|
import en from "./en.json";
|
|
14
|
+
import es from "./es.json";
|
|
10
15
|
import fr from "./fr.json";
|
|
16
|
+
import it from "./it.json";
|
|
11
17
|
import ru from "./ru.json";
|
|
12
18
|
import vi from "./vi.json";
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { withLocales } from 'twake-i18n';
|
|
2
|
+
var de = {
|
|
3
|
+
viewInContacts: "In Cozy Contacts anzeigen",
|
|
4
|
+
modify: "Bearbeiten",
|
|
5
|
+
emailTo: "E-Mail senden",
|
|
6
|
+
smsTo: "Nachricht senden",
|
|
7
|
+
print: "Drucken",
|
|
8
|
+
call: "Anrufen"
|
|
9
|
+
};
|
|
2
10
|
var en = {
|
|
3
11
|
viewInContacts: "View in Cozy Contacts",
|
|
4
12
|
modify: "Modify",
|
|
@@ -7,6 +15,14 @@ var en = {
|
|
|
7
15
|
print: "Print",
|
|
8
16
|
call: "Call"
|
|
9
17
|
};
|
|
18
|
+
var es = {
|
|
19
|
+
viewInContacts: "Ver en Cozy Contacts",
|
|
20
|
+
modify: "Modificar",
|
|
21
|
+
emailTo: "Enviar un correo",
|
|
22
|
+
smsTo: "Enviar un mensaje",
|
|
23
|
+
print: "Imprimir",
|
|
24
|
+
call: "Llamar"
|
|
25
|
+
};
|
|
10
26
|
var fr = {
|
|
11
27
|
viewInContacts: "Voir dans Cozy Contacts",
|
|
12
28
|
modify: "Modifier",
|
|
@@ -15,6 +31,14 @@ var fr = {
|
|
|
15
31
|
print: "Imprimer",
|
|
16
32
|
call: "Appeler"
|
|
17
33
|
};
|
|
34
|
+
var it = {
|
|
35
|
+
viewInContacts: "Visualizza in Cozy Contacts",
|
|
36
|
+
modify: "Modifica",
|
|
37
|
+
emailTo: "Invia un'email",
|
|
38
|
+
smsTo: "Invia un messaggio",
|
|
39
|
+
print: "Stampa",
|
|
40
|
+
call: "Chiama"
|
|
41
|
+
};
|
|
18
42
|
var ru = {
|
|
19
43
|
viewInContacts: "\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432 Cozy \u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B",
|
|
20
44
|
modify: "\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
@@ -32,8 +56,11 @@ var vi = {
|
|
|
32
56
|
call: "G\u1ECDi"
|
|
33
57
|
};
|
|
34
58
|
export var locales = {
|
|
59
|
+
de: de,
|
|
35
60
|
en: en,
|
|
61
|
+
es: es,
|
|
36
62
|
fr: fr,
|
|
63
|
+
it: it,
|
|
37
64
|
ru: ru,
|
|
38
65
|
vi: vi
|
|
39
66
|
};
|
|
@@ -2,6 +2,14 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import React, { useCallback, useRef, useState } from 'react';
|
|
4
4
|
import { withLocales } from 'twake-i18n';
|
|
5
|
+
var de = {
|
|
6
|
+
useConfirmExit: {
|
|
7
|
+
back: "Abbrechen",
|
|
8
|
+
leave: "Ohne Speichern verlassen",
|
|
9
|
+
title: "\xC4nderungen verwerfen?",
|
|
10
|
+
message: "Einige \xC4nderungen wurden m\xF6glicherweise noch nicht gespeichert. M\xF6chten Sie die Seite wirklich verlassen und diese \xC4nderungen verwerfen?"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
5
13
|
var en = {
|
|
6
14
|
useConfirmExit: {
|
|
7
15
|
back: "Cancel",
|
|
@@ -10,6 +18,14 @@ var en = {
|
|
|
10
18
|
message: "Some changes may not be saved yet. Do you really want to leave and lose these changes?"
|
|
11
19
|
}
|
|
12
20
|
};
|
|
21
|
+
var es = {
|
|
22
|
+
useConfirmExit: {
|
|
23
|
+
back: "Cancelar",
|
|
24
|
+
leave: "Salir sin guardar",
|
|
25
|
+
title: "\xBFDescartar los cambios?",
|
|
26
|
+
message: "Es posible que algunos cambios a\xFAn no se hayan guardado. \xBFSeguro que desea salir y perder estos cambios?"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
13
29
|
var fr = {
|
|
14
30
|
useConfirmExit: {
|
|
15
31
|
back: "Retour",
|
|
@@ -18,6 +34,14 @@ var fr = {
|
|
|
18
34
|
message: "Des modifications n'ont pas encore pu \xEAtre enregistr\xE9es. Voulez-vous vraiment quitter et perdre ces modifications\xA0?"
|
|
19
35
|
}
|
|
20
36
|
};
|
|
37
|
+
var it = {
|
|
38
|
+
useConfirmExit: {
|
|
39
|
+
back: "Annulla",
|
|
40
|
+
leave: "Esci senza salvare",
|
|
41
|
+
title: "Annullare le modifiche?",
|
|
42
|
+
message: "Alcune modifiche potrebbero non essere ancora state salvate. Vuoi davvero uscire e perdere queste modifiche?"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
21
45
|
var ru = {
|
|
22
46
|
useConfirmExit: {
|
|
23
47
|
back: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
@@ -79,8 +103,11 @@ ConfirmModal.propTypes = {
|
|
|
79
103
|
confirmLabel: PropTypes.string
|
|
80
104
|
};
|
|
81
105
|
var dictRequire = {
|
|
106
|
+
de: de,
|
|
82
107
|
en: en,
|
|
108
|
+
es: es,
|
|
83
109
|
fr: fr,
|
|
110
|
+
it: it,
|
|
84
111
|
ru: ru,
|
|
85
112
|
vi: vi
|
|
86
113
|
};
|