@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.
|
@@ -223,8 +223,8 @@
|
|
|
223
223
|
"invalidPhoneNumber": "Phone number is invalid",
|
|
224
224
|
"invalidUrlEntity": "{{entity}} must be a valid URL",
|
|
225
225
|
"maximumEmails": "Only up to {{max}} email addresses are allowed",
|
|
226
|
-
"maxDelay": "Delay
|
|
227
|
-
"minDelay": "Delay
|
|
226
|
+
"maxDelay": "Delay can't be more than {{max}}",
|
|
227
|
+
"minDelay": "Delay can't be less than {{min}}"
|
|
228
228
|
},
|
|
229
229
|
"conditionVerbs": {
|
|
230
230
|
"is": "Is",
|
package/dist/NeetoRulesForm.js
CHANGED
|
@@ -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:
|
|
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"
|