@nocios/crudify-ui 3.0.54 → 3.0.56

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.js CHANGED
@@ -4775,7 +4775,10 @@ var useCrudifyWithNotifications = (options = {}) => {
4775
4775
  moduleKey = actionConfig.moduleKey;
4776
4776
  }
4777
4777
  }
4778
- if (shouldShowSuccessNotification(operation, moduleKey)) {
4778
+ if (operation === "validateAndResetPassword") {
4779
+ const message = getSafeTranslation("resetPassword.successMessage", "Contrase\xF1a restablecida exitosamente");
4780
+ showNotification(message, "success", { autoHideDuration });
4781
+ } else if (shouldShowSuccessNotification(operation, moduleKey)) {
4779
4782
  const message = getSuccessMessage(operation, moduleKey, actionConfig);
4780
4783
  showNotification(message, "success", { autoHideDuration });
4781
4784
  }
package/dist/index.mjs CHANGED
@@ -4761,7 +4761,10 @@ var useCrudifyWithNotifications = (options = {}) => {
4761
4761
  moduleKey = actionConfig.moduleKey;
4762
4762
  }
4763
4763
  }
4764
- if (shouldShowSuccessNotification(operation, moduleKey)) {
4764
+ if (operation === "validateAndResetPassword") {
4765
+ const message = getSafeTranslation("resetPassword.successMessage", "Contrase\xF1a restablecida exitosamente");
4766
+ showNotification(message, "success", { autoHideDuration });
4767
+ } else if (shouldShowSuccessNotification(operation, moduleKey)) {
4765
4768
  const message = getSuccessMessage(operation, moduleKey, actionConfig);
4766
4769
  showNotification(message, "success", { autoHideDuration });
4767
4770
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocios/crudify-ui",
3
- "version": "3.0.54",
3
+ "version": "3.0.56",
4
4
  "description": "Biblioteca de componentes UI para Crudify",
5
5
  "author": "Nocios",
6
6
  "license": "MIT",