@optimiser/common 1.0.425 → 1.0.426
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/lib/utility.js +18 -16
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -4846,22 +4846,24 @@ function ValidateUserInput(options) {
|
|
|
4846
4846
|
break;
|
|
4847
4847
|
}
|
|
4848
4848
|
}
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
break
|
|
4849
|
+
if (pageData.Groups && pageData.Groups.length) {
|
|
4850
|
+
for (_d = 0, _e = pageData.Groups; _d < _e.length; _d++) {
|
|
4851
|
+
grp = _e[_d];
|
|
4852
|
+
if (grp.IsConditionalGroup) {
|
|
4853
|
+
_loop_19 = function (fld) {
|
|
4854
|
+
fld = JSON.parse(JSON.stringify(fld));
|
|
4855
|
+
var schemafld = schemaFields.find(function (x) { return x.Name == fld.Name; });
|
|
4856
|
+
fld.Schema = schemafld;
|
|
4857
|
+
msg = CheckConditionalGroup(grp, fld, fieldsJsonData);
|
|
4858
|
+
if (msg != "")
|
|
4859
|
+
return "break";
|
|
4860
|
+
};
|
|
4861
|
+
for (_f = 0, _g = grp.Fields; _f < _g.length; _f++) {
|
|
4862
|
+
fld = _g[_f];
|
|
4863
|
+
state_2 = _loop_19(fld);
|
|
4864
|
+
if (state_2 === "break")
|
|
4865
|
+
break;
|
|
4866
|
+
}
|
|
4865
4867
|
}
|
|
4866
4868
|
}
|
|
4867
4869
|
}
|