@bigbinary/neeto-rules-frontend 2.5.2 → 2.5.3
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.
|
@@ -2351,8 +2351,8 @@ var getSchemaForExecutionDelay = function getSchemaForExecutionDelay(_) {
|
|
|
2351
2351
|
return true;
|
|
2352
2352
|
}
|
|
2353
2353
|
var schema = yup__namespace.object().shape({
|
|
2354
|
-
value: yup__namespace.number().nullable().typeError(i18next.t("neetoRules.validations.number")).min(1, i18next.t("neetoRules.validations.minDelay", {
|
|
2355
|
-
min:
|
|
2354
|
+
value: yup__namespace.number().nullable().integer().typeError(i18next.t("neetoRules.validations.number")).min(1, i18next.t("neetoRules.validations.minDelay", {
|
|
2355
|
+
min: 1
|
|
2356
2356
|
})).max(15, i18next.t("neetoRules.validations.maxDelay", {
|
|
2357
2357
|
max: 15
|
|
2358
2358
|
})).required(i18next.t("neetoRules.validations.required.value")),
|
|
@@ -3695,6 +3695,9 @@ var AddDelay = function AddDelay(_ref) {
|
|
|
3695
3695
|
style: "body2",
|
|
3696
3696
|
children: t("neetoRules.form.delayExecutionBy")
|
|
3697
3697
|
}), /*#__PURE__*/jsxRuntime.jsx(Input$2, {
|
|
3698
|
+
className: "w-44",
|
|
3699
|
+
max: 15,
|
|
3700
|
+
min: 1,
|
|
3698
3701
|
name: "".concat(name, ".value.value"),
|
|
3699
3702
|
placeholder: t("neetoRules.placeholders.enterDelay"),
|
|
3700
3703
|
type: "number"
|