@bigbinary/neeto-rules-frontend 2.5.2 → 2.5.4

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.
@@ -2330,8 +2330,8 @@ var getSchemaForExecutionDelay = function getSchemaForExecutionDelay(_) {
2330
2330
  return true;
2331
2331
  }
2332
2332
  var schema = yup.object().shape({
2333
- value: yup.number().nullable().typeError(t$1("neetoRules.validations.number")).min(1, t$1("neetoRules.validations.minDelay", {
2334
- min: 0
2333
+ value: yup.number().nullable().integer().typeError(t$1("neetoRules.validations.number")).min(1, t$1("neetoRules.validations.minDelay", {
2334
+ min: 1
2335
2335
  })).max(15, t$1("neetoRules.validations.maxDelay", {
2336
2336
  max: 15
2337
2337
  })).required(t$1("neetoRules.validations.required.value")),
@@ -3674,6 +3674,9 @@ var AddDelay = function AddDelay(_ref) {
3674
3674
  style: "body2",
3675
3675
  children: t("neetoRules.form.delayExecutionBy")
3676
3676
  }), /*#__PURE__*/jsx(Input$2, {
3677
+ className: "w-44",
3678
+ max: 15,
3679
+ min: 1,
3677
3680
  name: "".concat(name, ".value.value"),
3678
3681
  placeholder: t("neetoRules.placeholders.enterDelay"),
3679
3682
  type: "number"
@@ -3691,6 +3694,7 @@ var AddDelay = function AddDelay(_ref) {
3691
3694
  }
3692
3695
  })]
3693
3696
  }), /*#__PURE__*/jsx(Button, {
3697
+ "data-cy": "delete-delay-button",
3694
3698
  icon: Delete,
3695
3699
  size: "small",
3696
3700
  style: "text",