@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.js
CHANGED
|
@@ -5939,8 +5939,8 @@ var conditionVerbs = {
|
|
|
5939
5939
|
anyTime: "Any time",
|
|
5940
5940
|
during: "During",
|
|
5941
5941
|
notDuring: "Not during",
|
|
5942
|
-
anyOf: "
|
|
5943
|
-
noneOf: "
|
|
5942
|
+
anyOf: "Is",
|
|
5943
|
+
noneOf: "Is not",
|
|
5944
5944
|
isBefore: "Is before",
|
|
5945
5945
|
isAfter: "Is After"
|
|
5946
5946
|
};
|
|
@@ -55982,7 +55982,7 @@ cov_28jtkso8zg().s[34]++;
|
|
|
55982
55982
|
|
|
55983
55983
|
function cov_19hofz0kl6() {
|
|
55984
55984
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Conditions/Fields/InputField.jsx";
|
|
55985
|
-
var hash = "
|
|
55985
|
+
var hash = "193ee35a0e125782b91b884cc1ef1faffff3b103";
|
|
55986
55986
|
var global = new Function("return this")();
|
|
55987
55987
|
var gcv = "__coverage__";
|
|
55988
55988
|
var coverageData = {
|
|
@@ -56065,7 +56065,7 @@ function cov_19hofz0kl6() {
|
|
|
56065
56065
|
},
|
|
56066
56066
|
end: {
|
|
56067
56067
|
line: 26,
|
|
56068
|
-
column:
|
|
56068
|
+
column: 57
|
|
56069
56069
|
}
|
|
56070
56070
|
},
|
|
56071
56071
|
"8": {
|
|
@@ -56507,7 +56507,7 @@ function cov_19hofz0kl6() {
|
|
|
56507
56507
|
"3": [0, 0]
|
|
56508
56508
|
},
|
|
56509
56509
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
56510
|
-
hash: "
|
|
56510
|
+
hash: "193ee35a0e125782b91b884cc1ef1faffff3b103"
|
|
56511
56511
|
};
|
|
56512
56512
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
56513
56513
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -56525,7 +56525,7 @@ function cov_19hofz0kl6() {
|
|
|
56525
56525
|
cov_19hofz0kl6();
|
|
56526
56526
|
cov_19hofz0kl6().s[0]++;
|
|
56527
56527
|
var InputField$1 = function InputField(_ref) {
|
|
56528
|
-
var _condition$metadata, _errors$conditions, _errors$conditions$va, _touched$conditions, _touched$conditions$v;
|
|
56528
|
+
var _condition$metadata, _condition$metadata$v, _errors$conditions, _errors$conditions$va, _touched$conditions, _touched$conditions$v;
|
|
56529
56529
|
var name = _ref.name,
|
|
56530
56530
|
index = _ref.index,
|
|
56531
56531
|
placeholder = _ref.placeholder;
|
|
@@ -56546,7 +56546,7 @@ var InputField$1 = function InputField(_ref) {
|
|
|
56546
56546
|
return setShowInput(false);
|
|
56547
56547
|
});
|
|
56548
56548
|
var condition = (cov_19hofz0kl6().s[6]++, conditions.value[index]);
|
|
56549
|
-
var valueTerm = (cov_19hofz0kl6().s[7]++, (_condition$metadata = condition.metadata) === null || _condition$metadata === void 0 ? void 0 : _condition$metadata.value);
|
|
56549
|
+
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());
|
|
56550
56550
|
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")));
|
|
56551
56551
|
var isValid = (cov_19hofz0kl6().s[9]++, (cov_19hofz0kl6().b[2][0]++, errors.conditions) && (cov_19hofz0kl6().b[2][1]++, 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]++, 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])));
|
|
56552
56552
|
cov_19hofz0kl6().s[10]++;
|