ywana-core8 0.1.41 → 0.1.43
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/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +12 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +12 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/login/actions.js +4 -3
- package/src/widgets/login/dictionary.js +10 -0
package/dist/index.cjs
CHANGED
@@ -2728,8 +2728,9 @@ var ChangeUserPasswordAction = function ChangeUserPasswordAction(props) {
|
|
2728
2728
|
});
|
2729
2729
|
}, function (error) {
|
2730
2730
|
var _errorMessages$key;
|
2731
|
-
|
2732
|
-
var
|
2731
|
+
console.log("ChangeUserPasswordAction error", error);
|
2732
|
+
var key = error.message ? error.message.toUpperCase() : "";
|
2733
|
+
var message = ((_errorMessages$key = errorMessages[key]) == null ? void 0 : _errorMessages$key.description) || error.message || "Unknown error";
|
2733
2734
|
site.notify({
|
2734
2735
|
title: "Error",
|
2735
2736
|
body: message,
|
@@ -2761,7 +2762,6 @@ var ChangeUserPasswordAction = function ChangeUserPasswordAction(props) {
|
|
2761
2762
|
}) : /*#__PURE__*/React__default["default"].createElement(Button, {
|
2762
2763
|
label: label,
|
2763
2764
|
action: execute,
|
2764
|
-
outlined: true,
|
2765
2765
|
className: ""
|
2766
2766
|
});
|
2767
2767
|
};
|
@@ -2786,6 +2786,15 @@ var LOGIN_DICTIONARY = (_LOGIN_DICTIONARY = {
|
|
2786
2786
|
it: 'Conferma la nuova password',
|
2787
2787
|
fr: 'Confirmer le nouveau mot de passe'
|
2788
2788
|
},
|
2789
|
+
'Change Password': {
|
2790
|
+
en: 'Change Password',
|
2791
|
+
es: 'Cambiar Contraseña',
|
2792
|
+
de: 'Passwort ändern',
|
2793
|
+
pt: 'Alterar Senha',
|
2794
|
+
ca: 'Canviar Contrasenya',
|
2795
|
+
it: 'Cambia Password',
|
2796
|
+
fr: 'Changer le mot de passe'
|
2797
|
+
},
|
2789
2798
|
'Forgot Password': {
|
2790
2799
|
en: 'Forgot Password',
|
2791
2800
|
es: 'Olvidé mi contraseña',
|