@bigbinary/neeto-rules-frontend 0.2.3 → 0.2.5
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/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5969,8 +5969,8 @@ var conditionVerbs = {
|
|
|
5969
5969
|
anyTime: "Any time",
|
|
5970
5970
|
during: "During",
|
|
5971
5971
|
notDuring: "Not during",
|
|
5972
|
-
anyOf: "
|
|
5973
|
-
noneOf: "
|
|
5972
|
+
anyOf: "Is",
|
|
5973
|
+
noneOf: "Is not",
|
|
5974
5974
|
isBefore: "Is before",
|
|
5975
5975
|
isAfter: "Is After"
|
|
5976
5976
|
};
|
|
@@ -56012,7 +56012,7 @@ cov_28jtkso8zg().s[34]++;
|
|
|
56012
56012
|
|
|
56013
56013
|
function cov_19hofz0kl6() {
|
|
56014
56014
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Conditions/Fields/InputField.jsx";
|
|
56015
|
-
var hash = "
|
|
56015
|
+
var hash = "193ee35a0e125782b91b884cc1ef1faffff3b103";
|
|
56016
56016
|
var global = new Function("return this")();
|
|
56017
56017
|
var gcv = "__coverage__";
|
|
56018
56018
|
var coverageData = {
|
|
@@ -56095,7 +56095,7 @@ function cov_19hofz0kl6() {
|
|
|
56095
56095
|
},
|
|
56096
56096
|
end: {
|
|
56097
56097
|
line: 26,
|
|
56098
|
-
column:
|
|
56098
|
+
column: 57
|
|
56099
56099
|
}
|
|
56100
56100
|
},
|
|
56101
56101
|
"8": {
|
|
@@ -56537,7 +56537,7 @@ function cov_19hofz0kl6() {
|
|
|
56537
56537
|
"3": [0, 0]
|
|
56538
56538
|
},
|
|
56539
56539
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
56540
|
-
hash: "
|
|
56540
|
+
hash: "193ee35a0e125782b91b884cc1ef1faffff3b103"
|
|
56541
56541
|
};
|
|
56542
56542
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
56543
56543
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -56555,7 +56555,7 @@ function cov_19hofz0kl6() {
|
|
|
56555
56555
|
cov_19hofz0kl6();
|
|
56556
56556
|
cov_19hofz0kl6().s[0]++;
|
|
56557
56557
|
var InputField$1 = function InputField(_ref) {
|
|
56558
|
-
var _condition$metadata, _errors$conditions, _errors$conditions$va, _touched$conditions, _touched$conditions$v;
|
|
56558
|
+
var _condition$metadata, _condition$metadata$v, _errors$conditions, _errors$conditions$va, _touched$conditions, _touched$conditions$v;
|
|
56559
56559
|
var name = _ref.name,
|
|
56560
56560
|
index = _ref.index,
|
|
56561
56561
|
placeholder = _ref.placeholder;
|
|
@@ -56576,7 +56576,7 @@ var InputField$1 = function InputField(_ref) {
|
|
|
56576
56576
|
return setShowInput(false);
|
|
56577
56577
|
});
|
|
56578
56578
|
var condition = (cov_19hofz0kl6().s[6]++, conditions.value[index]);
|
|
56579
|
-
var valueTerm = (cov_19hofz0kl6().s[7]++, (_condition$metadata = condition.metadata) === null || _condition$metadata === void 0 ? void 0 : _condition$metadata.value);
|
|
56579
|
+
var valueTerm = (cov_19hofz0kl6().s[7]++, (_condition$metadata = condition.metadata) === null || _condition$metadata === void 0 ? void 0 : (_condition$metadata$v = _condition$metadata.value) === null || _condition$metadata$v === void 0 ? void 0 : _condition$metadata$v.toString());
|
|
56580
56580
|
var label = (cov_19hofz0kl6().s[8]++, (cov_19hofz0kl6().b[1][0]++, valueTerm) && (cov_19hofz0kl6().b[1][1]++, valueTerm !== null && valueTerm !== void 0 && valueTerm.trim().length) ? (cov_19hofz0kl6().b[0][0]++, valueTerm) : (cov_19hofz0kl6().b[0][1]++, t("form.addValue")));
|
|
56581
56581
|
var isValid = (cov_19hofz0kl6().s[9]++, (cov_19hofz0kl6().b[2][0]++, errors.conditions) && (cov_19hofz0kl6().b[2][1]++, ramda.isNotNil((_errors$conditions = errors.conditions) === null || _errors$conditions === void 0 ? void 0 : (_errors$conditions$va = _errors$conditions.value) === null || _errors$conditions$va === void 0 ? void 0 : _errors$conditions$va[index])) && (cov_19hofz0kl6().b[2][2]++, ramda.isNotNil((_touched$conditions = touched.conditions) === null || _touched$conditions === void 0 ? void 0 : (_touched$conditions$v = _touched$conditions.value) === null || _touched$conditions$v === void 0 ? void 0 : _touched$conditions$v[index])));
|
|
56582
56582
|
cov_19hofz0kl6().s[10]++;
|