@bigbinary/neeto-rules-frontend 2.5.53 → 2.5.54

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.
@@ -249,6 +249,7 @@
249
249
  "invalidPhoneNumber": "Phone number is invalid",
250
250
  "invalidUrlEntity": "{{entity}} must be a valid URL",
251
251
  "maximumEmails": "Only up to {{max}} email addresses are allowed",
252
+ "maximumPhoneNumbers": "Only up to {{max}} phone numbers are allowed",
252
253
  "maxDelay": "Delay can't be more than {{max}}",
253
254
  "minDelay": "Delay can't be less than {{min}}",
254
255
  "invalidJsonBody": "Body should be a valid JSON"
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-03-31T07:03:00.905Z
1
+ Built at 2026-04-07T15:15:38.590Z
@@ -5132,7 +5132,16 @@ var getActionsSchema = function getActionsSchema(element, customData) {
5132
5132
  entity: t$1("neetoRules.common.phoneNumber")
5133
5133
  })).of(yup.string().test("testPhoneNumber", t$1("neetoRules.validations.invalidPhoneNumber"), function (value) {
5134
5134
  return isPhoneNumberValid(value);
5135
- })) : schema,
5135
+ })).when("test", {
5136
+ is: function is() {
5137
+ return selectedAction === null || selectedAction === void 0 ? void 0 : selectedAction.maxLimit;
5138
+ },
5139
+ then: function then(schema) {
5140
+ return schema.max(selectedAction.maxLimit, t$1("neetoRules.validations.maximumPhoneNumbers", {
5141
+ max: selectedAction.maxLimit
5142
+ }));
5143
+ }
5144
+ }) : schema,
5136
5145
  body: yup.string().test("body", t$1("neetoRules.validations.required.body"), function (value) {
5137
5146
  return !isEditorEmpty(value);
5138
5147
  }),