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.modern.js
CHANGED
@@ -2719,8 +2719,9 @@ var ChangeUserPasswordAction = function ChangeUserPasswordAction(props) {
|
|
2719
2719
|
});
|
2720
2720
|
}, function (error) {
|
2721
2721
|
var _errorMessages$key;
|
2722
|
-
|
2723
|
-
var
|
2722
|
+
console.log("ChangeUserPasswordAction error", error);
|
2723
|
+
var key = error.message ? error.message.toUpperCase() : "";
|
2724
|
+
var message = ((_errorMessages$key = errorMessages[key]) == null ? void 0 : _errorMessages$key.description) || error.message || "Unknown error";
|
2724
2725
|
site.notify({
|
2725
2726
|
title: "Error",
|
2726
2727
|
body: message,
|
@@ -2752,7 +2753,6 @@ var ChangeUserPasswordAction = function ChangeUserPasswordAction(props) {
|
|
2752
2753
|
}) : /*#__PURE__*/React.createElement(Button, {
|
2753
2754
|
label: label,
|
2754
2755
|
action: execute,
|
2755
|
-
outlined: true,
|
2756
2756
|
className: ""
|
2757
2757
|
});
|
2758
2758
|
};
|
@@ -2777,6 +2777,15 @@ var LOGIN_DICTIONARY = (_LOGIN_DICTIONARY = {
|
|
2777
2777
|
it: 'Conferma la nuova password',
|
2778
2778
|
fr: 'Confirmer le nouveau mot de passe'
|
2779
2779
|
},
|
2780
|
+
'Change Password': {
|
2781
|
+
en: 'Change Password',
|
2782
|
+
es: 'Cambiar Contraseña',
|
2783
|
+
de: 'Passwort ändern',
|
2784
|
+
pt: 'Alterar Senha',
|
2785
|
+
ca: 'Canviar Contrasenya',
|
2786
|
+
it: 'Cambia Password',
|
2787
|
+
fr: 'Changer le mot de passe'
|
2788
|
+
},
|
2780
2789
|
'Forgot Password': {
|
2781
2790
|
en: 'Forgot Password',
|
2782
2791
|
es: 'Olvidé mi contraseña',
|