@bigbinary/neeto-rules-frontend 0.2.5 → 0.3.1
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/README.md +4 -0
- package/dist/index.cjs.js +3501 -602
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +3501 -604
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import React, { Component, useContext, useState, useRef, useEffect, useMemo, mem
|
|
|
4
4
|
import { useFormikContext, FieldArray, Formik, Form, useField, ErrorMessage } from 'formik';
|
|
5
5
|
import Scrollable from 'neetomolecules/Scrollable';
|
|
6
6
|
import { MultiEmailInput, Input as Input$2, Textarea, ActionBlock, Select as Select$1, Radio } from '@bigbinary/neetoui/formik';
|
|
7
|
-
import { Search, Check, Plus, Delete, Eye, Close, Refresh } from '@bigbinary/neeto-icons';
|
|
7
|
+
import { Search, Check, Plus, Delete, Eye, Down, Up, Close, Refresh } from '@bigbinary/neeto-icons';
|
|
8
8
|
import { Dropdown as Dropdown$2, Typography, Input as Input$1, Checkbox, Pane, Button, DatePicker, Select, Label } from '@bigbinary/neetoui';
|
|
9
9
|
import classNames from 'classnames';
|
|
10
10
|
import { isNotEmpty, findBy, toLabelAndValue, noop as noop$2, removeBy } from '@bigbinary/neeto-commons-frontend/pure';
|
|
@@ -13,6 +13,7 @@ import * as dayjs from 'dayjs';
|
|
|
13
13
|
import dayjs__default from 'dayjs';
|
|
14
14
|
import { FormikEditor, isEditorEmpty } from '@bigbinary/neeto-editor';
|
|
15
15
|
import * as yup from 'yup';
|
|
16
|
+
import PageLoader from 'neetomolecules/PageLoader';
|
|
16
17
|
import { joinHyphenCase } from '@bigbinary/neeto-commons-frontend/utils';
|
|
17
18
|
import { useDebounce, useHotKeys } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
18
19
|
|
|
@@ -5771,7 +5772,9 @@ var common$1 = {
|
|
|
5771
5772
|
or: "or",
|
|
5772
5773
|
search: "Search",
|
|
5773
5774
|
as: "as",
|
|
5774
|
-
"delete": "Delete"
|
|
5775
|
+
"delete": "Delete",
|
|
5776
|
+
viewMore: "View more",
|
|
5777
|
+
viewLess: "View less"
|
|
5775
5778
|
};
|
|
5776
5779
|
var form = {
|
|
5777
5780
|
noEvents: "A rule without events will run hourly.",
|
|
@@ -5871,7 +5874,8 @@ var labels = {
|
|
|
5871
5874
|
unassigned: "Unassigned",
|
|
5872
5875
|
checked: "Checked",
|
|
5873
5876
|
unchecked: "Unchecked",
|
|
5874
|
-
text: "Text"
|
|
5877
|
+
text: "Text",
|
|
5878
|
+
ruleSummary: "Automation rule summary"
|
|
5875
5879
|
};
|
|
5876
5880
|
var placeholders$1 = {
|
|
5877
5881
|
"if": "If",
|
|
@@ -15717,7 +15721,7 @@ function cov_1l1zuel3qt() {
|
|
|
15717
15721
|
}
|
|
15718
15722
|
cov_1l1zuel3qt();
|
|
15719
15723
|
cov_1l1zuel3qt().s[0]++;
|
|
15720
|
-
var Title = function Title(_ref) {
|
|
15724
|
+
var Title$1 = function Title(_ref) {
|
|
15721
15725
|
var title = _ref.title,
|
|
15722
15726
|
children = _ref.children;
|
|
15723
15727
|
cov_1l1zuel3qt().f[0]++;
|
|
@@ -16559,7 +16563,7 @@ var Actions$1 = function Actions(_ref) {
|
|
|
16559
16563
|
setScrollToBottom(true);
|
|
16560
16564
|
};
|
|
16561
16565
|
cov_3lq6cjh4u().s[18]++;
|
|
16562
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Title, {
|
|
16566
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Title$1, {
|
|
16563
16567
|
title: t("common.actions")
|
|
16564
16568
|
}, /*#__PURE__*/React.createElement(FieldArray, {
|
|
16565
16569
|
name: "actions",
|
|
@@ -26519,7 +26523,7 @@ var Conditions$1 = function Conditions(_ref2) {
|
|
|
26519
26523
|
return index ? (cov_2otqdci4wd().b[4][0]++, t("placeholders.if").toLowerCase()) : (cov_2otqdci4wd().b[4][1]++, t("placeholders.if"));
|
|
26520
26524
|
};
|
|
26521
26525
|
cov_2otqdci4wd().s[22]++;
|
|
26522
|
-
return /*#__PURE__*/React.createElement(Title, {
|
|
26526
|
+
return /*#__PURE__*/React.createElement(Title$1, {
|
|
26523
26527
|
title: t("common.conditions")
|
|
26524
26528
|
}, /*#__PURE__*/React.createElement(FieldArray, {
|
|
26525
26529
|
name: "conditions",
|
|
@@ -31357,7 +31361,7 @@ var Events$2 = function Events() {
|
|
|
31357
31361
|
arrayHelper.remove(index);
|
|
31358
31362
|
};
|
|
31359
31363
|
cov_dprwv7svz().s[12]++;
|
|
31360
|
-
return /*#__PURE__*/React.createElement(Title, {
|
|
31364
|
+
return /*#__PURE__*/React.createElement(Title$1, {
|
|
31361
31365
|
title: t("common.events")
|
|
31362
31366
|
}, /*#__PURE__*/React.createElement(FieldArray, {
|
|
31363
31367
|
name: "events",
|
|
@@ -33895,489 +33899,83 @@ var NeetoRules$2 = function NeetoRules(_ref) {
|
|
|
33895
33899
|
return /*#__PURE__*/React.createElement(BrowserRouter, null, /*#__PURE__*/React.createElement(Main, rest));
|
|
33896
33900
|
};
|
|
33897
33901
|
|
|
33898
|
-
function
|
|
33899
|
-
|
|
33900
|
-
|
|
33901
|
-
var value = info.value;
|
|
33902
|
-
} catch (error) {
|
|
33903
|
-
reject(error);
|
|
33904
|
-
return;
|
|
33905
|
-
}
|
|
33906
|
-
if (info.done) {
|
|
33907
|
-
resolve(value);
|
|
33908
|
-
} else {
|
|
33909
|
-
Promise.resolve(value).then(_next, _throw);
|
|
33910
|
-
}
|
|
33911
|
-
}
|
|
33912
|
-
function _asyncToGenerator(fn) {
|
|
33913
|
-
return function () {
|
|
33914
|
-
var self = this,
|
|
33915
|
-
args = arguments;
|
|
33916
|
-
return new Promise(function (resolve, reject) {
|
|
33917
|
-
var gen = fn.apply(self, args);
|
|
33918
|
-
function _next(value) {
|
|
33919
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
33920
|
-
}
|
|
33921
|
-
function _throw(err) {
|
|
33922
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
33923
|
-
}
|
|
33924
|
-
_next(undefined);
|
|
33925
|
-
});
|
|
33926
|
-
};
|
|
33927
|
-
}
|
|
33928
|
-
|
|
33929
|
-
var regeneratorRuntime$1 = {exports: {}};
|
|
33930
|
-
|
|
33931
|
-
var _typeof = {exports: {}};
|
|
33932
|
-
|
|
33933
|
-
(function (module) {
|
|
33934
|
-
function _typeof(obj) {
|
|
33935
|
-
"@babel/helpers - typeof";
|
|
33936
|
-
|
|
33937
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
33938
|
-
return typeof obj;
|
|
33939
|
-
} : function (obj) {
|
|
33940
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
33941
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
33942
|
-
}
|
|
33943
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
33944
|
-
})(_typeof);
|
|
33945
|
-
|
|
33946
|
-
(function (module) {
|
|
33947
|
-
var _typeof$1 = _typeof.exports["default"];
|
|
33948
|
-
function _regeneratorRuntime() {
|
|
33949
|
-
|
|
33950
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
33951
|
-
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
33952
|
-
return exports;
|
|
33953
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
33954
|
-
var exports = {},
|
|
33955
|
-
Op = Object.prototype,
|
|
33956
|
-
hasOwn = Op.hasOwnProperty,
|
|
33957
|
-
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
33958
|
-
obj[key] = desc.value;
|
|
33959
|
-
},
|
|
33960
|
-
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
33961
|
-
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
33962
|
-
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
33963
|
-
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
33964
|
-
function define(obj, key, value) {
|
|
33965
|
-
return Object.defineProperty(obj, key, {
|
|
33966
|
-
value: value,
|
|
33967
|
-
enumerable: !0,
|
|
33968
|
-
configurable: !0,
|
|
33969
|
-
writable: !0
|
|
33970
|
-
}), obj[key];
|
|
33971
|
-
}
|
|
33972
|
-
try {
|
|
33973
|
-
define({}, "");
|
|
33974
|
-
} catch (err) {
|
|
33975
|
-
define = function define(obj, key, value) {
|
|
33976
|
-
return obj[key] = value;
|
|
33977
|
-
};
|
|
33978
|
-
}
|
|
33979
|
-
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
33980
|
-
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
33981
|
-
generator = Object.create(protoGenerator.prototype),
|
|
33982
|
-
context = new Context(tryLocsList || []);
|
|
33983
|
-
return defineProperty(generator, "_invoke", {
|
|
33984
|
-
value: makeInvokeMethod(innerFn, self, context)
|
|
33985
|
-
}), generator;
|
|
33986
|
-
}
|
|
33987
|
-
function tryCatch(fn, obj, arg) {
|
|
33988
|
-
try {
|
|
33989
|
-
return {
|
|
33990
|
-
type: "normal",
|
|
33991
|
-
arg: fn.call(obj, arg)
|
|
33992
|
-
};
|
|
33993
|
-
} catch (err) {
|
|
33994
|
-
return {
|
|
33995
|
-
type: "throw",
|
|
33996
|
-
arg: err
|
|
33997
|
-
};
|
|
33998
|
-
}
|
|
33999
|
-
}
|
|
34000
|
-
exports.wrap = wrap;
|
|
34001
|
-
var ContinueSentinel = {};
|
|
34002
|
-
function Generator() {}
|
|
34003
|
-
function GeneratorFunction() {}
|
|
34004
|
-
function GeneratorFunctionPrototype() {}
|
|
34005
|
-
var IteratorPrototype = {};
|
|
34006
|
-
define(IteratorPrototype, iteratorSymbol, function () {
|
|
34007
|
-
return this;
|
|
34008
|
-
});
|
|
34009
|
-
var getProto = Object.getPrototypeOf,
|
|
34010
|
-
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
34011
|
-
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
34012
|
-
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
34013
|
-
function defineIteratorMethods(prototype) {
|
|
34014
|
-
["next", "throw", "return"].forEach(function (method) {
|
|
34015
|
-
define(prototype, method, function (arg) {
|
|
34016
|
-
return this._invoke(method, arg);
|
|
34017
|
-
});
|
|
34018
|
-
});
|
|
34019
|
-
}
|
|
34020
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
34021
|
-
function invoke(method, arg, resolve, reject) {
|
|
34022
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
34023
|
-
if ("throw" !== record.type) {
|
|
34024
|
-
var result = record.arg,
|
|
34025
|
-
value = result.value;
|
|
34026
|
-
return value && "object" == _typeof$1(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
34027
|
-
invoke("next", value, resolve, reject);
|
|
34028
|
-
}, function (err) {
|
|
34029
|
-
invoke("throw", err, resolve, reject);
|
|
34030
|
-
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
34031
|
-
result.value = unwrapped, resolve(result);
|
|
34032
|
-
}, function (error) {
|
|
34033
|
-
return invoke("throw", error, resolve, reject);
|
|
34034
|
-
});
|
|
34035
|
-
}
|
|
34036
|
-
reject(record.arg);
|
|
34037
|
-
}
|
|
34038
|
-
var previousPromise;
|
|
34039
|
-
defineProperty(this, "_invoke", {
|
|
34040
|
-
value: function value(method, arg) {
|
|
34041
|
-
function callInvokeWithMethodAndArg() {
|
|
34042
|
-
return new PromiseImpl(function (resolve, reject) {
|
|
34043
|
-
invoke(method, arg, resolve, reject);
|
|
34044
|
-
});
|
|
34045
|
-
}
|
|
34046
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
34047
|
-
}
|
|
34048
|
-
});
|
|
34049
|
-
}
|
|
34050
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
34051
|
-
var state = "suspendedStart";
|
|
34052
|
-
return function (method, arg) {
|
|
34053
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
|
34054
|
-
if ("completed" === state) {
|
|
34055
|
-
if ("throw" === method) throw arg;
|
|
34056
|
-
return doneResult();
|
|
34057
|
-
}
|
|
34058
|
-
for (context.method = method, context.arg = arg;;) {
|
|
34059
|
-
var delegate = context.delegate;
|
|
34060
|
-
if (delegate) {
|
|
34061
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
34062
|
-
if (delegateResult) {
|
|
34063
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
34064
|
-
return delegateResult;
|
|
34065
|
-
}
|
|
34066
|
-
}
|
|
34067
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
34068
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
34069
|
-
context.dispatchException(context.arg);
|
|
34070
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
34071
|
-
state = "executing";
|
|
34072
|
-
var record = tryCatch(innerFn, self, context);
|
|
34073
|
-
if ("normal" === record.type) {
|
|
34074
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
34075
|
-
return {
|
|
34076
|
-
value: record.arg,
|
|
34077
|
-
done: context.done
|
|
34078
|
-
};
|
|
34079
|
-
}
|
|
34080
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
34081
|
-
}
|
|
34082
|
-
};
|
|
34083
|
-
}
|
|
34084
|
-
function maybeInvokeDelegate(delegate, context) {
|
|
34085
|
-
var methodName = context.method,
|
|
34086
|
-
method = delegate.iterator[methodName];
|
|
34087
|
-
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
34088
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
34089
|
-
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
34090
|
-
var info = record.arg;
|
|
34091
|
-
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
34092
|
-
}
|
|
34093
|
-
function pushTryEntry(locs) {
|
|
34094
|
-
var entry = {
|
|
34095
|
-
tryLoc: locs[0]
|
|
34096
|
-
};
|
|
34097
|
-
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
34098
|
-
}
|
|
34099
|
-
function resetTryEntry(entry) {
|
|
34100
|
-
var record = entry.completion || {};
|
|
34101
|
-
record.type = "normal", delete record.arg, entry.completion = record;
|
|
34102
|
-
}
|
|
34103
|
-
function Context(tryLocsList) {
|
|
34104
|
-
this.tryEntries = [{
|
|
34105
|
-
tryLoc: "root"
|
|
34106
|
-
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
34107
|
-
}
|
|
34108
|
-
function values(iterable) {
|
|
34109
|
-
if (iterable) {
|
|
34110
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
34111
|
-
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
34112
|
-
if ("function" == typeof iterable.next) return iterable;
|
|
34113
|
-
if (!isNaN(iterable.length)) {
|
|
34114
|
-
var i = -1,
|
|
34115
|
-
next = function next() {
|
|
34116
|
-
for (; ++i < iterable.length;) {
|
|
34117
|
-
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
34118
|
-
}
|
|
34119
|
-
return next.value = undefined, next.done = !0, next;
|
|
34120
|
-
};
|
|
34121
|
-
return next.next = next;
|
|
34122
|
-
}
|
|
34123
|
-
}
|
|
34124
|
-
return {
|
|
34125
|
-
next: doneResult
|
|
34126
|
-
};
|
|
34127
|
-
}
|
|
34128
|
-
function doneResult() {
|
|
34129
|
-
return {
|
|
34130
|
-
value: undefined,
|
|
34131
|
-
done: !0
|
|
34132
|
-
};
|
|
34133
|
-
}
|
|
34134
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
34135
|
-
value: GeneratorFunctionPrototype,
|
|
34136
|
-
configurable: !0
|
|
34137
|
-
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
34138
|
-
value: GeneratorFunction,
|
|
34139
|
-
configurable: !0
|
|
34140
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
34141
|
-
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
34142
|
-
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
34143
|
-
}, exports.mark = function (genFun) {
|
|
34144
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
34145
|
-
}, exports.awrap = function (arg) {
|
|
34146
|
-
return {
|
|
34147
|
-
__await: arg
|
|
34148
|
-
};
|
|
34149
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
34150
|
-
return this;
|
|
34151
|
-
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
34152
|
-
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
34153
|
-
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
34154
|
-
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
34155
|
-
return result.done ? result.value : iter.next();
|
|
34156
|
-
});
|
|
34157
|
-
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
34158
|
-
return this;
|
|
34159
|
-
}), define(Gp, "toString", function () {
|
|
34160
|
-
return "[object Generator]";
|
|
34161
|
-
}), exports.keys = function (val) {
|
|
34162
|
-
var object = Object(val),
|
|
34163
|
-
keys = [];
|
|
34164
|
-
for (var key in object) {
|
|
34165
|
-
keys.push(key);
|
|
34166
|
-
}
|
|
34167
|
-
return keys.reverse(), function next() {
|
|
34168
|
-
for (; keys.length;) {
|
|
34169
|
-
var key = keys.pop();
|
|
34170
|
-
if (key in object) return next.value = key, next.done = !1, next;
|
|
34171
|
-
}
|
|
34172
|
-
return next.done = !0, next;
|
|
34173
|
-
};
|
|
34174
|
-
}, exports.values = values, Context.prototype = {
|
|
34175
|
-
constructor: Context,
|
|
34176
|
-
reset: function reset(skipTempReset) {
|
|
34177
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
|
|
34178
|
-
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
34179
|
-
}
|
|
34180
|
-
},
|
|
34181
|
-
stop: function stop() {
|
|
34182
|
-
this.done = !0;
|
|
34183
|
-
var rootRecord = this.tryEntries[0].completion;
|
|
34184
|
-
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
34185
|
-
return this.rval;
|
|
34186
|
-
},
|
|
34187
|
-
dispatchException: function dispatchException(exception) {
|
|
34188
|
-
if (this.done) throw exception;
|
|
34189
|
-
var context = this;
|
|
34190
|
-
function handle(loc, caught) {
|
|
34191
|
-
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
34192
|
-
}
|
|
34193
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
34194
|
-
var entry = this.tryEntries[i],
|
|
34195
|
-
record = entry.completion;
|
|
34196
|
-
if ("root" === entry.tryLoc) return handle("end");
|
|
34197
|
-
if (entry.tryLoc <= this.prev) {
|
|
34198
|
-
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
34199
|
-
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
34200
|
-
if (hasCatch && hasFinally) {
|
|
34201
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
34202
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
34203
|
-
} else if (hasCatch) {
|
|
34204
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
34205
|
-
} else {
|
|
34206
|
-
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
34207
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
34208
|
-
}
|
|
34209
|
-
}
|
|
34210
|
-
}
|
|
34211
|
-
},
|
|
34212
|
-
abrupt: function abrupt(type, arg) {
|
|
34213
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
34214
|
-
var entry = this.tryEntries[i];
|
|
34215
|
-
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
34216
|
-
var finallyEntry = entry;
|
|
34217
|
-
break;
|
|
34218
|
-
}
|
|
34219
|
-
}
|
|
34220
|
-
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
34221
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
34222
|
-
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
34223
|
-
},
|
|
34224
|
-
complete: function complete(record, afterLoc) {
|
|
34225
|
-
if ("throw" === record.type) throw record.arg;
|
|
34226
|
-
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
34227
|
-
},
|
|
34228
|
-
finish: function finish(finallyLoc) {
|
|
34229
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
34230
|
-
var entry = this.tryEntries[i];
|
|
34231
|
-
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
34232
|
-
}
|
|
34233
|
-
},
|
|
34234
|
-
"catch": function _catch(tryLoc) {
|
|
34235
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
34236
|
-
var entry = this.tryEntries[i];
|
|
34237
|
-
if (entry.tryLoc === tryLoc) {
|
|
34238
|
-
var record = entry.completion;
|
|
34239
|
-
if ("throw" === record.type) {
|
|
34240
|
-
var thrown = record.arg;
|
|
34241
|
-
resetTryEntry(entry);
|
|
34242
|
-
}
|
|
34243
|
-
return thrown;
|
|
34244
|
-
}
|
|
34245
|
-
}
|
|
34246
|
-
throw new Error("illegal catch attempt");
|
|
34247
|
-
},
|
|
34248
|
-
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
34249
|
-
return this.delegate = {
|
|
34250
|
-
iterator: values(iterable),
|
|
34251
|
-
resultName: resultName,
|
|
34252
|
-
nextLoc: nextLoc
|
|
34253
|
-
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
34254
|
-
}
|
|
34255
|
-
}, exports;
|
|
34256
|
-
}
|
|
34257
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
34258
|
-
})(regeneratorRuntime$1);
|
|
34259
|
-
|
|
34260
|
-
// TODO(Babel 8): Remove this file.
|
|
34261
|
-
|
|
34262
|
-
var runtime = regeneratorRuntime$1.exports();
|
|
34263
|
-
var regenerator = runtime;
|
|
34264
|
-
|
|
34265
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
34266
|
-
try {
|
|
34267
|
-
regeneratorRuntime = runtime;
|
|
34268
|
-
} catch (accidentalStrictMode) {
|
|
34269
|
-
if ((typeof globalThis === "undefined" ? "undefined" : _typeof$2(globalThis)) === "object") {
|
|
34270
|
-
globalThis.regeneratorRuntime = runtime;
|
|
34271
|
-
} else {
|
|
34272
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
34273
|
-
}
|
|
34274
|
-
}
|
|
34275
|
-
|
|
34276
|
-
function cov_k2snexiez() {
|
|
34277
|
-
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/constants.js";
|
|
34278
|
-
var hash = "a62a7b0d81cfcce07b53d50e2f5aad6922fc1011";
|
|
33902
|
+
function cov_13jp1hsz0e() {
|
|
33903
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/Card.jsx";
|
|
33904
|
+
var hash = "060ed8cb86ad2890593771245657ef35803f1a4f";
|
|
34279
33905
|
var global = new Function("return this")();
|
|
34280
33906
|
var gcv = "__coverage__";
|
|
34281
33907
|
var coverageData = {
|
|
34282
|
-
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/
|
|
33908
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/Card.jsx",
|
|
34283
33909
|
statementMap: {
|
|
34284
33910
|
"0": {
|
|
34285
33911
|
start: {
|
|
34286
|
-
line:
|
|
34287
|
-
column:
|
|
33912
|
+
line: 6,
|
|
33913
|
+
column: 14
|
|
34288
33914
|
},
|
|
34289
33915
|
end: {
|
|
34290
|
-
line:
|
|
33916
|
+
line: 15,
|
|
34291
33917
|
column: 1
|
|
34292
33918
|
}
|
|
34293
33919
|
},
|
|
34294
33920
|
"1": {
|
|
34295
33921
|
start: {
|
|
34296
|
-
line:
|
|
34297
|
-
column:
|
|
33922
|
+
line: 7,
|
|
33923
|
+
column: 2
|
|
34298
33924
|
},
|
|
34299
33925
|
end: {
|
|
34300
|
-
line:
|
|
34301
|
-
column:
|
|
33926
|
+
line: 14,
|
|
33927
|
+
column: 5
|
|
34302
33928
|
}
|
|
34303
33929
|
},
|
|
34304
33930
|
"2": {
|
|
34305
33931
|
start: {
|
|
34306
|
-
line:
|
|
34307
|
-
column:
|
|
34308
|
-
},
|
|
34309
|
-
end: {
|
|
34310
|
-
line: 36,
|
|
34311
|
-
column: 1
|
|
34312
|
-
}
|
|
34313
|
-
},
|
|
34314
|
-
"3": {
|
|
34315
|
-
start: {
|
|
34316
|
-
line: 38,
|
|
34317
|
-
column: 28
|
|
34318
|
-
},
|
|
34319
|
-
end: {
|
|
34320
|
-
line: 41,
|
|
34321
|
-
column: 1
|
|
34322
|
-
}
|
|
34323
|
-
},
|
|
34324
|
-
"4": {
|
|
34325
|
-
start: {
|
|
34326
|
-
line: 43,
|
|
34327
|
-
column: 22
|
|
34328
|
-
},
|
|
34329
|
-
end: {
|
|
34330
|
-
line: 43,
|
|
34331
|
-
column: 67
|
|
34332
|
-
}
|
|
34333
|
-
},
|
|
34334
|
-
"5": {
|
|
34335
|
-
start: {
|
|
34336
|
-
line: 45,
|
|
34337
|
-
column: 20
|
|
33932
|
+
line: 17,
|
|
33933
|
+
column: 0
|
|
34338
33934
|
},
|
|
34339
33935
|
end: {
|
|
34340
|
-
line:
|
|
34341
|
-
column:
|
|
33936
|
+
line: 20,
|
|
33937
|
+
column: 2
|
|
34342
33938
|
}
|
|
34343
|
-
}
|
|
34344
|
-
|
|
34345
|
-
|
|
34346
|
-
|
|
34347
|
-
|
|
33939
|
+
}
|
|
33940
|
+
},
|
|
33941
|
+
fnMap: {
|
|
33942
|
+
"0": {
|
|
33943
|
+
name: "(anonymous_0)",
|
|
33944
|
+
decl: {
|
|
33945
|
+
start: {
|
|
33946
|
+
line: 6,
|
|
33947
|
+
column: 14
|
|
33948
|
+
},
|
|
33949
|
+
end: {
|
|
33950
|
+
line: 6,
|
|
33951
|
+
column: 15
|
|
33952
|
+
}
|
|
34348
33953
|
},
|
|
34349
|
-
|
|
34350
|
-
|
|
34351
|
-
|
|
34352
|
-
|
|
34353
|
-
|
|
34354
|
-
|
|
34355
|
-
|
|
34356
|
-
|
|
34357
|
-
|
|
33954
|
+
loc: {
|
|
33955
|
+
start: {
|
|
33956
|
+
line: 7,
|
|
33957
|
+
column: 2
|
|
33958
|
+
},
|
|
33959
|
+
end: {
|
|
33960
|
+
line: 14,
|
|
33961
|
+
column: 5
|
|
33962
|
+
}
|
|
34358
33963
|
},
|
|
34359
|
-
|
|
34360
|
-
line: 49,
|
|
34361
|
-
column: 65
|
|
34362
|
-
}
|
|
33964
|
+
line: 7
|
|
34363
33965
|
}
|
|
34364
33966
|
},
|
|
34365
|
-
fnMap: {},
|
|
34366
33967
|
branchMap: {},
|
|
34367
33968
|
s: {
|
|
34368
33969
|
"0": 0,
|
|
34369
33970
|
"1": 0,
|
|
34370
|
-
"2": 0
|
|
34371
|
-
|
|
34372
|
-
|
|
34373
|
-
"
|
|
34374
|
-
"6": 0,
|
|
34375
|
-
"7": 0
|
|
33971
|
+
"2": 0
|
|
33972
|
+
},
|
|
33973
|
+
f: {
|
|
33974
|
+
"0": 0
|
|
34376
33975
|
},
|
|
34377
|
-
f: {},
|
|
34378
33976
|
b: {},
|
|
34379
33977
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34380
|
-
hash: "
|
|
33978
|
+
hash: "060ed8cb86ad2890593771245657ef35803f1a4f"
|
|
34381
33979
|
};
|
|
34382
33980
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
34383
33981
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -34386,31 +33984,3317 @@ function cov_k2snexiez() {
|
|
|
34386
33984
|
var actualCoverage = coverage[path];
|
|
34387
33985
|
{
|
|
34388
33986
|
// @ts-ignore
|
|
34389
|
-
|
|
33987
|
+
cov_13jp1hsz0e = function () {
|
|
34390
33988
|
return actualCoverage;
|
|
34391
33989
|
};
|
|
34392
33990
|
}
|
|
34393
33991
|
return actualCoverage;
|
|
34394
33992
|
}
|
|
34395
|
-
|
|
34396
|
-
|
|
34397
|
-
|
|
34398
|
-
|
|
34399
|
-
|
|
34400
|
-
|
|
34401
|
-
|
|
34402
|
-
|
|
34403
|
-
|
|
34404
|
-
|
|
34405
|
-
|
|
34406
|
-
|
|
34407
|
-
|
|
34408
|
-
|
|
34409
|
-
|
|
34410
|
-
|
|
34411
|
-
|
|
34412
|
-
|
|
34413
|
-
|
|
33993
|
+
cov_13jp1hsz0e();
|
|
33994
|
+
cov_13jp1hsz0e().s[0]++;
|
|
33995
|
+
var Title = function Title(_ref) {
|
|
33996
|
+
var title = _ref.title,
|
|
33997
|
+
children = _ref.children;
|
|
33998
|
+
cov_13jp1hsz0e().f[0]++;
|
|
33999
|
+
cov_13jp1hsz0e().s[1]++;
|
|
34000
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, {
|
|
34001
|
+
className: "neeto-ui-text-gray-800",
|
|
34002
|
+
style: "h5",
|
|
34003
|
+
weight: "semibold"
|
|
34004
|
+
}, title), /*#__PURE__*/React.createElement("div", {
|
|
34005
|
+
className: "neeto-ui-bg-gray-100 neeto-ui-rounded-sm my-3 p-4"
|
|
34006
|
+
}, children));
|
|
34007
|
+
};
|
|
34008
|
+
cov_13jp1hsz0e().s[2]++;
|
|
34009
|
+
|
|
34010
|
+
function cov_1yo87bzjl0() {
|
|
34011
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/MultiSelectValues.jsx";
|
|
34012
|
+
var hash = "ebc82c77b82c7a6b1fe37565159b52052ceca263";
|
|
34013
|
+
var global = new Function("return this")();
|
|
34014
|
+
var gcv = "__coverage__";
|
|
34015
|
+
var coverageData = {
|
|
34016
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/MultiSelectValues.jsx",
|
|
34017
|
+
statementMap: {
|
|
34018
|
+
"0": {
|
|
34019
|
+
start: {
|
|
34020
|
+
line: 5,
|
|
34021
|
+
column: 26
|
|
34022
|
+
},
|
|
34023
|
+
end: {
|
|
34024
|
+
line: 28,
|
|
34025
|
+
column: 1
|
|
34026
|
+
}
|
|
34027
|
+
},
|
|
34028
|
+
"1": {
|
|
34029
|
+
start: {
|
|
34030
|
+
line: 6,
|
|
34031
|
+
column: 2
|
|
34032
|
+
},
|
|
34033
|
+
end: {
|
|
34034
|
+
line: 27,
|
|
34035
|
+
column: 5
|
|
34036
|
+
}
|
|
34037
|
+
},
|
|
34038
|
+
"2": {
|
|
34039
|
+
start: {
|
|
34040
|
+
line: 8,
|
|
34041
|
+
column: 6
|
|
34042
|
+
},
|
|
34043
|
+
end: {
|
|
34044
|
+
line: 25,
|
|
34045
|
+
column: 23
|
|
34046
|
+
}
|
|
34047
|
+
}
|
|
34048
|
+
},
|
|
34049
|
+
fnMap: {
|
|
34050
|
+
"0": {
|
|
34051
|
+
name: "(anonymous_0)",
|
|
34052
|
+
decl: {
|
|
34053
|
+
start: {
|
|
34054
|
+
line: 5,
|
|
34055
|
+
column: 26
|
|
34056
|
+
},
|
|
34057
|
+
end: {
|
|
34058
|
+
line: 5,
|
|
34059
|
+
column: 27
|
|
34060
|
+
}
|
|
34061
|
+
},
|
|
34062
|
+
loc: {
|
|
34063
|
+
start: {
|
|
34064
|
+
line: 6,
|
|
34065
|
+
column: 2
|
|
34066
|
+
},
|
|
34067
|
+
end: {
|
|
34068
|
+
line: 27,
|
|
34069
|
+
column: 5
|
|
34070
|
+
}
|
|
34071
|
+
},
|
|
34072
|
+
line: 6
|
|
34073
|
+
},
|
|
34074
|
+
"1": {
|
|
34075
|
+
name: "(anonymous_1)",
|
|
34076
|
+
decl: {
|
|
34077
|
+
start: {
|
|
34078
|
+
line: 7,
|
|
34079
|
+
column: 17
|
|
34080
|
+
},
|
|
34081
|
+
end: {
|
|
34082
|
+
line: 7,
|
|
34083
|
+
column: 18
|
|
34084
|
+
}
|
|
34085
|
+
},
|
|
34086
|
+
loc: {
|
|
34087
|
+
start: {
|
|
34088
|
+
line: 8,
|
|
34089
|
+
column: 6
|
|
34090
|
+
},
|
|
34091
|
+
end: {
|
|
34092
|
+
line: 25,
|
|
34093
|
+
column: 23
|
|
34094
|
+
}
|
|
34095
|
+
},
|
|
34096
|
+
line: 8
|
|
34097
|
+
}
|
|
34098
|
+
},
|
|
34099
|
+
branchMap: {
|
|
34100
|
+
"0": {
|
|
34101
|
+
loc: {
|
|
34102
|
+
start: {
|
|
34103
|
+
line: 9,
|
|
34104
|
+
column: 9
|
|
34105
|
+
},
|
|
34106
|
+
end: {
|
|
34107
|
+
line: 17,
|
|
34108
|
+
column: 9
|
|
34109
|
+
}
|
|
34110
|
+
},
|
|
34111
|
+
type: "binary-expr",
|
|
34112
|
+
locations: [{
|
|
34113
|
+
start: {
|
|
34114
|
+
line: 9,
|
|
34115
|
+
column: 9
|
|
34116
|
+
},
|
|
34117
|
+
end: {
|
|
34118
|
+
line: 9,
|
|
34119
|
+
column: 14
|
|
34120
|
+
}
|
|
34121
|
+
}, {
|
|
34122
|
+
start: {
|
|
34123
|
+
line: 10,
|
|
34124
|
+
column: 10
|
|
34125
|
+
},
|
|
34126
|
+
end: {
|
|
34127
|
+
line: 16,
|
|
34128
|
+
column: 23
|
|
34129
|
+
}
|
|
34130
|
+
}],
|
|
34131
|
+
line: 9
|
|
34132
|
+
}
|
|
34133
|
+
},
|
|
34134
|
+
s: {
|
|
34135
|
+
"0": 0,
|
|
34136
|
+
"1": 0,
|
|
34137
|
+
"2": 0
|
|
34138
|
+
},
|
|
34139
|
+
f: {
|
|
34140
|
+
"0": 0,
|
|
34141
|
+
"1": 0
|
|
34142
|
+
},
|
|
34143
|
+
b: {
|
|
34144
|
+
"0": [0, 0]
|
|
34145
|
+
},
|
|
34146
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34147
|
+
hash: "ebc82c77b82c7a6b1fe37565159b52052ceca263"
|
|
34148
|
+
};
|
|
34149
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
34150
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
34151
|
+
coverage[path] = coverageData;
|
|
34152
|
+
}
|
|
34153
|
+
var actualCoverage = coverage[path];
|
|
34154
|
+
{
|
|
34155
|
+
// @ts-ignore
|
|
34156
|
+
cov_1yo87bzjl0 = function () {
|
|
34157
|
+
return actualCoverage;
|
|
34158
|
+
};
|
|
34159
|
+
}
|
|
34160
|
+
return actualCoverage;
|
|
34161
|
+
}
|
|
34162
|
+
cov_1yo87bzjl0();
|
|
34163
|
+
cov_1yo87bzjl0().s[0]++;
|
|
34164
|
+
var MultiSelectValues = function MultiSelectValues(_ref) {
|
|
34165
|
+
var separator = _ref.separator,
|
|
34166
|
+
values = _ref.values;
|
|
34167
|
+
cov_1yo87bzjl0().f[0]++;
|
|
34168
|
+
cov_1yo87bzjl0().s[1]++;
|
|
34169
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, values === null || values === void 0 ? void 0 : values.map(function (value, idx) {
|
|
34170
|
+
cov_1yo87bzjl0().f[1]++;
|
|
34171
|
+
cov_1yo87bzjl0().s[2]++;
|
|
34172
|
+
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
34173
|
+
key: idx
|
|
34174
|
+
}, (cov_1yo87bzjl0().b[0][0]++, !!idx) && (cov_1yo87bzjl0().b[0][1]++, /*#__PURE__*/React.createElement(Typography, {
|
|
34175
|
+
className: "neeto-ui-text-gray-700",
|
|
34176
|
+
style: "h5",
|
|
34177
|
+
weight: "normal"
|
|
34178
|
+
}, separator)), /*#__PURE__*/React.createElement(Typography, {
|
|
34179
|
+
className: "neeto-ui-text-gray-800",
|
|
34180
|
+
style: "h5",
|
|
34181
|
+
weight: "semibold"
|
|
34182
|
+
}, value.toLowerCase()));
|
|
34183
|
+
}));
|
|
34184
|
+
};
|
|
34185
|
+
|
|
34186
|
+
function cov_l89oqcaez() {
|
|
34187
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/utils.js";
|
|
34188
|
+
var hash = "67d71dfe37d2327777bd145bf79ff7779c4b115d";
|
|
34189
|
+
var global = new Function("return this")();
|
|
34190
|
+
var gcv = "__coverage__";
|
|
34191
|
+
var coverageData = {
|
|
34192
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/utils.js",
|
|
34193
|
+
statementMap: {
|
|
34194
|
+
"0": {
|
|
34195
|
+
start: {
|
|
34196
|
+
line: 3,
|
|
34197
|
+
column: 37
|
|
34198
|
+
},
|
|
34199
|
+
end: {
|
|
34200
|
+
line: 7,
|
|
34201
|
+
column: 25
|
|
34202
|
+
}
|
|
34203
|
+
},
|
|
34204
|
+
"1": {
|
|
34205
|
+
start: {
|
|
34206
|
+
line: 4,
|
|
34207
|
+
column: 2
|
|
34208
|
+
},
|
|
34209
|
+
end: {
|
|
34210
|
+
line: 7,
|
|
34211
|
+
column: 25
|
|
34212
|
+
}
|
|
34213
|
+
}
|
|
34214
|
+
},
|
|
34215
|
+
fnMap: {
|
|
34216
|
+
"0": {
|
|
34217
|
+
name: "(anonymous_0)",
|
|
34218
|
+
decl: {
|
|
34219
|
+
start: {
|
|
34220
|
+
line: 3,
|
|
34221
|
+
column: 37
|
|
34222
|
+
},
|
|
34223
|
+
end: {
|
|
34224
|
+
line: 3,
|
|
34225
|
+
column: 38
|
|
34226
|
+
}
|
|
34227
|
+
},
|
|
34228
|
+
loc: {
|
|
34229
|
+
start: {
|
|
34230
|
+
line: 4,
|
|
34231
|
+
column: 2
|
|
34232
|
+
},
|
|
34233
|
+
end: {
|
|
34234
|
+
line: 7,
|
|
34235
|
+
column: 25
|
|
34236
|
+
}
|
|
34237
|
+
},
|
|
34238
|
+
line: 4
|
|
34239
|
+
}
|
|
34240
|
+
},
|
|
34241
|
+
branchMap: {},
|
|
34242
|
+
s: {
|
|
34243
|
+
"0": 0,
|
|
34244
|
+
"1": 0
|
|
34245
|
+
},
|
|
34246
|
+
f: {
|
|
34247
|
+
"0": 0
|
|
34248
|
+
},
|
|
34249
|
+
b: {},
|
|
34250
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34251
|
+
hash: "67d71dfe37d2327777bd145bf79ff7779c4b115d"
|
|
34252
|
+
};
|
|
34253
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
34254
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
34255
|
+
coverage[path] = coverageData;
|
|
34256
|
+
}
|
|
34257
|
+
var actualCoverage = coverage[path];
|
|
34258
|
+
{
|
|
34259
|
+
// @ts-ignore
|
|
34260
|
+
cov_l89oqcaez = function () {
|
|
34261
|
+
return actualCoverage;
|
|
34262
|
+
};
|
|
34263
|
+
}
|
|
34264
|
+
return actualCoverage;
|
|
34265
|
+
}
|
|
34266
|
+
cov_l89oqcaez();
|
|
34267
|
+
cov_l89oqcaez().s[0]++;
|
|
34268
|
+
var getEntityDisplayValue = function getEntityDisplayValue(entitiy, entitiyOption) {
|
|
34269
|
+
var _findBy, _findBy$label;
|
|
34270
|
+
cov_l89oqcaez().f[0]++;
|
|
34271
|
+
cov_l89oqcaez().s[1]++;
|
|
34272
|
+
return (_findBy = findBy({
|
|
34273
|
+
value: entitiy.metadata.value
|
|
34274
|
+
}, entitiyOption.dropdownOptions)) === null || _findBy === void 0 ? void 0 : (_findBy$label = _findBy.label) === null || _findBy$label === void 0 ? void 0 : _findBy$label.toLowerCase();
|
|
34275
|
+
};
|
|
34276
|
+
|
|
34277
|
+
function cov_12s3p009b2() {
|
|
34278
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/ActionsDetail.jsx";
|
|
34279
|
+
var hash = "f649e2bb358ba3c6a0dec691b8f1c0f6ace29061";
|
|
34280
|
+
var global = new Function("return this")();
|
|
34281
|
+
var gcv = "__coverage__";
|
|
34282
|
+
var coverageData = {
|
|
34283
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/ActionsDetail.jsx",
|
|
34284
|
+
statementMap: {
|
|
34285
|
+
"0": {
|
|
34286
|
+
start: {
|
|
34287
|
+
line: 13,
|
|
34288
|
+
column: 22
|
|
34289
|
+
},
|
|
34290
|
+
end: {
|
|
34291
|
+
line: 103,
|
|
34292
|
+
column: 1
|
|
34293
|
+
}
|
|
34294
|
+
},
|
|
34295
|
+
"1": {
|
|
34296
|
+
start: {
|
|
34297
|
+
line: 14,
|
|
34298
|
+
column: 34
|
|
34299
|
+
},
|
|
34300
|
+
end: {
|
|
34301
|
+
line: 14,
|
|
34302
|
+
column: 49
|
|
34303
|
+
}
|
|
34304
|
+
},
|
|
34305
|
+
"2": {
|
|
34306
|
+
start: {
|
|
34307
|
+
line: 15,
|
|
34308
|
+
column: 16
|
|
34309
|
+
},
|
|
34310
|
+
end: {
|
|
34311
|
+
line: 15,
|
|
34312
|
+
column: 32
|
|
34313
|
+
}
|
|
34314
|
+
},
|
|
34315
|
+
"3": {
|
|
34316
|
+
start: {
|
|
34317
|
+
line: 17,
|
|
34318
|
+
column: 22
|
|
34319
|
+
},
|
|
34320
|
+
end: {
|
|
34321
|
+
line: 17,
|
|
34322
|
+
column: 35
|
|
34323
|
+
}
|
|
34324
|
+
},
|
|
34325
|
+
"4": {
|
|
34326
|
+
start: {
|
|
34327
|
+
line: 19,
|
|
34328
|
+
column: 4
|
|
34329
|
+
},
|
|
34330
|
+
end: {
|
|
34331
|
+
line: 19,
|
|
34332
|
+
column: 78
|
|
34333
|
+
}
|
|
34334
|
+
},
|
|
34335
|
+
"5": {
|
|
34336
|
+
start: {
|
|
34337
|
+
line: 21,
|
|
34338
|
+
column: 19
|
|
34339
|
+
},
|
|
34340
|
+
end: {
|
|
34341
|
+
line: 24,
|
|
34342
|
+
column: 24
|
|
34343
|
+
}
|
|
34344
|
+
},
|
|
34345
|
+
"6": {
|
|
34346
|
+
start: {
|
|
34347
|
+
line: 22,
|
|
34348
|
+
column: 4
|
|
34349
|
+
},
|
|
34350
|
+
end: {
|
|
34351
|
+
line: 24,
|
|
34352
|
+
column: 24
|
|
34353
|
+
}
|
|
34354
|
+
},
|
|
34355
|
+
"7": {
|
|
34356
|
+
start: {
|
|
34357
|
+
line: 26,
|
|
34358
|
+
column: 29
|
|
34359
|
+
},
|
|
34360
|
+
end: {
|
|
34361
|
+
line: 56,
|
|
34362
|
+
column: 3
|
|
34363
|
+
}
|
|
34364
|
+
},
|
|
34365
|
+
"8": {
|
|
34366
|
+
start: {
|
|
34367
|
+
line: 27,
|
|
34368
|
+
column: 4
|
|
34369
|
+
},
|
|
34370
|
+
end: {
|
|
34371
|
+
line: 37,
|
|
34372
|
+
column: 5
|
|
34373
|
+
}
|
|
34374
|
+
},
|
|
34375
|
+
"9": {
|
|
34376
|
+
start: {
|
|
34377
|
+
line: 28,
|
|
34378
|
+
column: 6
|
|
34379
|
+
},
|
|
34380
|
+
end: {
|
|
34381
|
+
line: 36,
|
|
34382
|
+
column: 8
|
|
34383
|
+
}
|
|
34384
|
+
},
|
|
34385
|
+
"10": {
|
|
34386
|
+
start: {
|
|
34387
|
+
line: 39,
|
|
34388
|
+
column: 4
|
|
34389
|
+
},
|
|
34390
|
+
end: {
|
|
34391
|
+
line: 53,
|
|
34392
|
+
column: 5
|
|
34393
|
+
}
|
|
34394
|
+
},
|
|
34395
|
+
"11": {
|
|
34396
|
+
start: {
|
|
34397
|
+
line: 40,
|
|
34398
|
+
column: 21
|
|
34399
|
+
},
|
|
34400
|
+
end: {
|
|
34401
|
+
line: 45,
|
|
34402
|
+
column: 7
|
|
34403
|
+
}
|
|
34404
|
+
},
|
|
34405
|
+
"12": {
|
|
34406
|
+
start: {
|
|
34407
|
+
line: 43,
|
|
34408
|
+
column: 10
|
|
34409
|
+
},
|
|
34410
|
+
end: {
|
|
34411
|
+
line: 43,
|
|
34412
|
+
column: 47
|
|
34413
|
+
}
|
|
34414
|
+
},
|
|
34415
|
+
"13": {
|
|
34416
|
+
start: {
|
|
34417
|
+
line: 47,
|
|
34418
|
+
column: 6
|
|
34419
|
+
},
|
|
34420
|
+
end: {
|
|
34421
|
+
line: 52,
|
|
34422
|
+
column: 8
|
|
34423
|
+
}
|
|
34424
|
+
},
|
|
34425
|
+
"14": {
|
|
34426
|
+
start: {
|
|
34427
|
+
line: 55,
|
|
34428
|
+
column: 4
|
|
34429
|
+
},
|
|
34430
|
+
end: {
|
|
34431
|
+
line: 55,
|
|
34432
|
+
column: 16
|
|
34433
|
+
}
|
|
34434
|
+
},
|
|
34435
|
+
"15": {
|
|
34436
|
+
start: {
|
|
34437
|
+
line: 58,
|
|
34438
|
+
column: 23
|
|
34439
|
+
},
|
|
34440
|
+
end: {
|
|
34441
|
+
line: 74,
|
|
34442
|
+
column: 3
|
|
34443
|
+
}
|
|
34444
|
+
},
|
|
34445
|
+
"16": {
|
|
34446
|
+
start: {
|
|
34447
|
+
line: 59,
|
|
34448
|
+
column: 25
|
|
34449
|
+
},
|
|
34450
|
+
end: {
|
|
34451
|
+
line: 59,
|
|
34452
|
+
column: 78
|
|
34453
|
+
}
|
|
34454
|
+
},
|
|
34455
|
+
"17": {
|
|
34456
|
+
start: {
|
|
34457
|
+
line: 60,
|
|
34458
|
+
column: 4
|
|
34459
|
+
},
|
|
34460
|
+
end: {
|
|
34461
|
+
line: 60,
|
|
34462
|
+
column: 35
|
|
34463
|
+
}
|
|
34464
|
+
},
|
|
34465
|
+
"18": {
|
|
34466
|
+
start: {
|
|
34467
|
+
line: 60,
|
|
34468
|
+
column: 23
|
|
34469
|
+
},
|
|
34470
|
+
end: {
|
|
34471
|
+
line: 60,
|
|
34472
|
+
column: 35
|
|
34473
|
+
}
|
|
34474
|
+
},
|
|
34475
|
+
"19": {
|
|
34476
|
+
start: {
|
|
34477
|
+
line: 62,
|
|
34478
|
+
column: 4
|
|
34479
|
+
},
|
|
34480
|
+
end: {
|
|
34481
|
+
line: 73,
|
|
34482
|
+
column: 6
|
|
34483
|
+
}
|
|
34484
|
+
},
|
|
34485
|
+
"20": {
|
|
34486
|
+
start: {
|
|
34487
|
+
line: 76,
|
|
34488
|
+
column: 2
|
|
34489
|
+
},
|
|
34490
|
+
end: {
|
|
34491
|
+
line: 102,
|
|
34492
|
+
column: 4
|
|
34493
|
+
}
|
|
34494
|
+
},
|
|
34495
|
+
"21": {
|
|
34496
|
+
start: {
|
|
34497
|
+
line: 79,
|
|
34498
|
+
column: 8
|
|
34499
|
+
},
|
|
34500
|
+
end: {
|
|
34501
|
+
line: 88,
|
|
34502
|
+
column: 14
|
|
34503
|
+
}
|
|
34504
|
+
},
|
|
34505
|
+
"22": {
|
|
34506
|
+
start: {
|
|
34507
|
+
line: 97,
|
|
34508
|
+
column: 27
|
|
34509
|
+
},
|
|
34510
|
+
end: {
|
|
34511
|
+
line: 97,
|
|
34512
|
+
column: 63
|
|
34513
|
+
}
|
|
34514
|
+
},
|
|
34515
|
+
"23": {
|
|
34516
|
+
start: {
|
|
34517
|
+
line: 97,
|
|
34518
|
+
column: 52
|
|
34519
|
+
},
|
|
34520
|
+
end: {
|
|
34521
|
+
line: 97,
|
|
34522
|
+
column: 62
|
|
34523
|
+
}
|
|
34524
|
+
}
|
|
34525
|
+
},
|
|
34526
|
+
fnMap: {
|
|
34527
|
+
"0": {
|
|
34528
|
+
name: "(anonymous_0)",
|
|
34529
|
+
decl: {
|
|
34530
|
+
start: {
|
|
34531
|
+
line: 13,
|
|
34532
|
+
column: 22
|
|
34533
|
+
},
|
|
34534
|
+
end: {
|
|
34535
|
+
line: 13,
|
|
34536
|
+
column: 23
|
|
34537
|
+
}
|
|
34538
|
+
},
|
|
34539
|
+
loc: {
|
|
34540
|
+
start: {
|
|
34541
|
+
line: 13,
|
|
34542
|
+
column: 39
|
|
34543
|
+
},
|
|
34544
|
+
end: {
|
|
34545
|
+
line: 103,
|
|
34546
|
+
column: 1
|
|
34547
|
+
}
|
|
34548
|
+
},
|
|
34549
|
+
line: 13
|
|
34550
|
+
},
|
|
34551
|
+
"1": {
|
|
34552
|
+
name: "(anonymous_1)",
|
|
34553
|
+
decl: {
|
|
34554
|
+
start: {
|
|
34555
|
+
line: 21,
|
|
34556
|
+
column: 19
|
|
34557
|
+
},
|
|
34558
|
+
end: {
|
|
34559
|
+
line: 21,
|
|
34560
|
+
column: 20
|
|
34561
|
+
}
|
|
34562
|
+
},
|
|
34563
|
+
loc: {
|
|
34564
|
+
start: {
|
|
34565
|
+
line: 22,
|
|
34566
|
+
column: 4
|
|
34567
|
+
},
|
|
34568
|
+
end: {
|
|
34569
|
+
line: 24,
|
|
34570
|
+
column: 24
|
|
34571
|
+
}
|
|
34572
|
+
},
|
|
34573
|
+
line: 22
|
|
34574
|
+
},
|
|
34575
|
+
"2": {
|
|
34576
|
+
name: "(anonymous_2)",
|
|
34577
|
+
decl: {
|
|
34578
|
+
start: {
|
|
34579
|
+
line: 26,
|
|
34580
|
+
column: 29
|
|
34581
|
+
},
|
|
34582
|
+
end: {
|
|
34583
|
+
line: 26,
|
|
34584
|
+
column: 30
|
|
34585
|
+
}
|
|
34586
|
+
},
|
|
34587
|
+
loc: {
|
|
34588
|
+
start: {
|
|
34589
|
+
line: 26,
|
|
34590
|
+
column: 55
|
|
34591
|
+
},
|
|
34592
|
+
end: {
|
|
34593
|
+
line: 56,
|
|
34594
|
+
column: 3
|
|
34595
|
+
}
|
|
34596
|
+
},
|
|
34597
|
+
line: 26
|
|
34598
|
+
},
|
|
34599
|
+
"3": {
|
|
34600
|
+
name: "(anonymous_3)",
|
|
34601
|
+
decl: {
|
|
34602
|
+
start: {
|
|
34603
|
+
line: 42,
|
|
34604
|
+
column: 44
|
|
34605
|
+
},
|
|
34606
|
+
end: {
|
|
34607
|
+
line: 42,
|
|
34608
|
+
column: 45
|
|
34609
|
+
}
|
|
34610
|
+
},
|
|
34611
|
+
loc: {
|
|
34612
|
+
start: {
|
|
34613
|
+
line: 43,
|
|
34614
|
+
column: 10
|
|
34615
|
+
},
|
|
34616
|
+
end: {
|
|
34617
|
+
line: 43,
|
|
34618
|
+
column: 47
|
|
34619
|
+
}
|
|
34620
|
+
},
|
|
34621
|
+
line: 43
|
|
34622
|
+
},
|
|
34623
|
+
"4": {
|
|
34624
|
+
name: "(anonymous_4)",
|
|
34625
|
+
decl: {
|
|
34626
|
+
start: {
|
|
34627
|
+
line: 58,
|
|
34628
|
+
column: 23
|
|
34629
|
+
},
|
|
34630
|
+
end: {
|
|
34631
|
+
line: 58,
|
|
34632
|
+
column: 24
|
|
34633
|
+
}
|
|
34634
|
+
},
|
|
34635
|
+
loc: {
|
|
34636
|
+
start: {
|
|
34637
|
+
line: 58,
|
|
34638
|
+
column: 33
|
|
34639
|
+
},
|
|
34640
|
+
end: {
|
|
34641
|
+
line: 74,
|
|
34642
|
+
column: 3
|
|
34643
|
+
}
|
|
34644
|
+
},
|
|
34645
|
+
line: 58
|
|
34646
|
+
},
|
|
34647
|
+
"5": {
|
|
34648
|
+
name: "(anonymous_5)",
|
|
34649
|
+
decl: {
|
|
34650
|
+
start: {
|
|
34651
|
+
line: 78,
|
|
34652
|
+
column: 22
|
|
34653
|
+
},
|
|
34654
|
+
end: {
|
|
34655
|
+
line: 78,
|
|
34656
|
+
column: 23
|
|
34657
|
+
}
|
|
34658
|
+
},
|
|
34659
|
+
loc: {
|
|
34660
|
+
start: {
|
|
34661
|
+
line: 79,
|
|
34662
|
+
column: 8
|
|
34663
|
+
},
|
|
34664
|
+
end: {
|
|
34665
|
+
line: 88,
|
|
34666
|
+
column: 14
|
|
34667
|
+
}
|
|
34668
|
+
},
|
|
34669
|
+
line: 79
|
|
34670
|
+
},
|
|
34671
|
+
"6": {
|
|
34672
|
+
name: "(anonymous_6)",
|
|
34673
|
+
decl: {
|
|
34674
|
+
start: {
|
|
34675
|
+
line: 97,
|
|
34676
|
+
column: 21
|
|
34677
|
+
},
|
|
34678
|
+
end: {
|
|
34679
|
+
line: 97,
|
|
34680
|
+
column: 22
|
|
34681
|
+
}
|
|
34682
|
+
},
|
|
34683
|
+
loc: {
|
|
34684
|
+
start: {
|
|
34685
|
+
line: 97,
|
|
34686
|
+
column: 27
|
|
34687
|
+
},
|
|
34688
|
+
end: {
|
|
34689
|
+
line: 97,
|
|
34690
|
+
column: 63
|
|
34691
|
+
}
|
|
34692
|
+
},
|
|
34693
|
+
line: 97
|
|
34694
|
+
},
|
|
34695
|
+
"7": {
|
|
34696
|
+
name: "(anonymous_7)",
|
|
34697
|
+
decl: {
|
|
34698
|
+
start: {
|
|
34699
|
+
line: 97,
|
|
34700
|
+
column: 39
|
|
34701
|
+
},
|
|
34702
|
+
end: {
|
|
34703
|
+
line: 97,
|
|
34704
|
+
column: 40
|
|
34705
|
+
}
|
|
34706
|
+
},
|
|
34707
|
+
loc: {
|
|
34708
|
+
start: {
|
|
34709
|
+
line: 97,
|
|
34710
|
+
column: 52
|
|
34711
|
+
},
|
|
34712
|
+
end: {
|
|
34713
|
+
line: 97,
|
|
34714
|
+
column: 62
|
|
34715
|
+
}
|
|
34716
|
+
},
|
|
34717
|
+
line: 97
|
|
34718
|
+
}
|
|
34719
|
+
},
|
|
34720
|
+
branchMap: {
|
|
34721
|
+
"0": {
|
|
34722
|
+
loc: {
|
|
34723
|
+
start: {
|
|
34724
|
+
line: 19,
|
|
34725
|
+
column: 4
|
|
34726
|
+
},
|
|
34727
|
+
end: {
|
|
34728
|
+
line: 19,
|
|
34729
|
+
column: 78
|
|
34730
|
+
}
|
|
34731
|
+
},
|
|
34732
|
+
type: "cond-expr",
|
|
34733
|
+
locations: [{
|
|
34734
|
+
start: {
|
|
34735
|
+
line: 19,
|
|
34736
|
+
column: 41
|
|
34737
|
+
},
|
|
34738
|
+
end: {
|
|
34739
|
+
line: 19,
|
|
34740
|
+
column: 52
|
|
34741
|
+
}
|
|
34742
|
+
}, {
|
|
34743
|
+
start: {
|
|
34744
|
+
line: 19,
|
|
34745
|
+
column: 55
|
|
34746
|
+
},
|
|
34747
|
+
end: {
|
|
34748
|
+
line: 19,
|
|
34749
|
+
column: 78
|
|
34750
|
+
}
|
|
34751
|
+
}],
|
|
34752
|
+
line: 19
|
|
34753
|
+
},
|
|
34754
|
+
"1": {
|
|
34755
|
+
loc: {
|
|
34756
|
+
start: {
|
|
34757
|
+
line: 19,
|
|
34758
|
+
column: 4
|
|
34759
|
+
},
|
|
34760
|
+
end: {
|
|
34761
|
+
line: 19,
|
|
34762
|
+
column: 38
|
|
34763
|
+
}
|
|
34764
|
+
},
|
|
34765
|
+
type: "binary-expr",
|
|
34766
|
+
locations: [{
|
|
34767
|
+
start: {
|
|
34768
|
+
line: 19,
|
|
34769
|
+
column: 4
|
|
34770
|
+
},
|
|
34771
|
+
end: {
|
|
34772
|
+
line: 19,
|
|
34773
|
+
column: 12
|
|
34774
|
+
}
|
|
34775
|
+
}, {
|
|
34776
|
+
start: {
|
|
34777
|
+
line: 19,
|
|
34778
|
+
column: 16
|
|
34779
|
+
},
|
|
34780
|
+
end: {
|
|
34781
|
+
line: 19,
|
|
34782
|
+
column: 38
|
|
34783
|
+
}
|
|
34784
|
+
}],
|
|
34785
|
+
line: 19
|
|
34786
|
+
},
|
|
34787
|
+
"2": {
|
|
34788
|
+
loc: {
|
|
34789
|
+
start: {
|
|
34790
|
+
line: 22,
|
|
34791
|
+
column: 4
|
|
34792
|
+
},
|
|
34793
|
+
end: {
|
|
34794
|
+
line: 24,
|
|
34795
|
+
column: 24
|
|
34796
|
+
}
|
|
34797
|
+
},
|
|
34798
|
+
type: "cond-expr",
|
|
34799
|
+
locations: [{
|
|
34800
|
+
start: {
|
|
34801
|
+
line: 23,
|
|
34802
|
+
column: 8
|
|
34803
|
+
},
|
|
34804
|
+
end: {
|
|
34805
|
+
line: 23,
|
|
34806
|
+
column: 65
|
|
34807
|
+
}
|
|
34808
|
+
}, {
|
|
34809
|
+
start: {
|
|
34810
|
+
line: 24,
|
|
34811
|
+
column: 8
|
|
34812
|
+
},
|
|
34813
|
+
end: {
|
|
34814
|
+
line: 24,
|
|
34815
|
+
column: 24
|
|
34816
|
+
}
|
|
34817
|
+
}],
|
|
34818
|
+
line: 22
|
|
34819
|
+
},
|
|
34820
|
+
"3": {
|
|
34821
|
+
loc: {
|
|
34822
|
+
start: {
|
|
34823
|
+
line: 27,
|
|
34824
|
+
column: 4
|
|
34825
|
+
},
|
|
34826
|
+
end: {
|
|
34827
|
+
line: 37,
|
|
34828
|
+
column: 5
|
|
34829
|
+
}
|
|
34830
|
+
},
|
|
34831
|
+
type: "if",
|
|
34832
|
+
locations: [{
|
|
34833
|
+
start: {
|
|
34834
|
+
line: 27,
|
|
34835
|
+
column: 4
|
|
34836
|
+
},
|
|
34837
|
+
end: {
|
|
34838
|
+
line: 37,
|
|
34839
|
+
column: 5
|
|
34840
|
+
}
|
|
34841
|
+
}, {
|
|
34842
|
+
start: {
|
|
34843
|
+
line: undefined,
|
|
34844
|
+
column: undefined
|
|
34845
|
+
},
|
|
34846
|
+
end: {
|
|
34847
|
+
line: undefined,
|
|
34848
|
+
column: undefined
|
|
34849
|
+
}
|
|
34850
|
+
}],
|
|
34851
|
+
line: 27
|
|
34852
|
+
},
|
|
34853
|
+
"4": {
|
|
34854
|
+
loc: {
|
|
34855
|
+
start: {
|
|
34856
|
+
line: 39,
|
|
34857
|
+
column: 4
|
|
34858
|
+
},
|
|
34859
|
+
end: {
|
|
34860
|
+
line: 53,
|
|
34861
|
+
column: 5
|
|
34862
|
+
}
|
|
34863
|
+
},
|
|
34864
|
+
type: "if",
|
|
34865
|
+
locations: [{
|
|
34866
|
+
start: {
|
|
34867
|
+
line: 39,
|
|
34868
|
+
column: 4
|
|
34869
|
+
},
|
|
34870
|
+
end: {
|
|
34871
|
+
line: 53,
|
|
34872
|
+
column: 5
|
|
34873
|
+
}
|
|
34874
|
+
}, {
|
|
34875
|
+
start: {
|
|
34876
|
+
line: undefined,
|
|
34877
|
+
column: undefined
|
|
34878
|
+
},
|
|
34879
|
+
end: {
|
|
34880
|
+
line: undefined,
|
|
34881
|
+
column: undefined
|
|
34882
|
+
}
|
|
34883
|
+
}],
|
|
34884
|
+
line: 39
|
|
34885
|
+
},
|
|
34886
|
+
"5": {
|
|
34887
|
+
loc: {
|
|
34888
|
+
start: {
|
|
34889
|
+
line: 60,
|
|
34890
|
+
column: 4
|
|
34891
|
+
},
|
|
34892
|
+
end: {
|
|
34893
|
+
line: 60,
|
|
34894
|
+
column: 35
|
|
34895
|
+
}
|
|
34896
|
+
},
|
|
34897
|
+
type: "if",
|
|
34898
|
+
locations: [{
|
|
34899
|
+
start: {
|
|
34900
|
+
line: 60,
|
|
34901
|
+
column: 4
|
|
34902
|
+
},
|
|
34903
|
+
end: {
|
|
34904
|
+
line: 60,
|
|
34905
|
+
column: 35
|
|
34906
|
+
}
|
|
34907
|
+
}, {
|
|
34908
|
+
start: {
|
|
34909
|
+
line: undefined,
|
|
34910
|
+
column: undefined
|
|
34911
|
+
},
|
|
34912
|
+
end: {
|
|
34913
|
+
line: undefined,
|
|
34914
|
+
column: undefined
|
|
34915
|
+
}
|
|
34916
|
+
}],
|
|
34917
|
+
line: 60
|
|
34918
|
+
},
|
|
34919
|
+
"6": {
|
|
34920
|
+
loc: {
|
|
34921
|
+
start: {
|
|
34922
|
+
line: 90,
|
|
34923
|
+
column: 7
|
|
34924
|
+
},
|
|
34925
|
+
end: {
|
|
34926
|
+
line: 100,
|
|
34927
|
+
column: 7
|
|
34928
|
+
}
|
|
34929
|
+
},
|
|
34930
|
+
type: "binary-expr",
|
|
34931
|
+
locations: [{
|
|
34932
|
+
start: {
|
|
34933
|
+
line: 90,
|
|
34934
|
+
column: 7
|
|
34935
|
+
},
|
|
34936
|
+
end: {
|
|
34937
|
+
line: 90,
|
|
34938
|
+
column: 29
|
|
34939
|
+
}
|
|
34940
|
+
}, {
|
|
34941
|
+
start: {
|
|
34942
|
+
line: 91,
|
|
34943
|
+
column: 8
|
|
34944
|
+
},
|
|
34945
|
+
end: {
|
|
34946
|
+
line: 99,
|
|
34947
|
+
column: 14
|
|
34948
|
+
}
|
|
34949
|
+
}],
|
|
34950
|
+
line: 90
|
|
34951
|
+
},
|
|
34952
|
+
"7": {
|
|
34953
|
+
loc: {
|
|
34954
|
+
start: {
|
|
34955
|
+
line: 93,
|
|
34956
|
+
column: 18
|
|
34957
|
+
},
|
|
34958
|
+
end: {
|
|
34959
|
+
line: 93,
|
|
34960
|
+
column: 39
|
|
34961
|
+
}
|
|
34962
|
+
},
|
|
34963
|
+
type: "cond-expr",
|
|
34964
|
+
locations: [{
|
|
34965
|
+
start: {
|
|
34966
|
+
line: 93,
|
|
34967
|
+
column: 30
|
|
34968
|
+
},
|
|
34969
|
+
end: {
|
|
34970
|
+
line: 93,
|
|
34971
|
+
column: 34
|
|
34972
|
+
}
|
|
34973
|
+
}, {
|
|
34974
|
+
start: {
|
|
34975
|
+
line: 93,
|
|
34976
|
+
column: 37
|
|
34977
|
+
},
|
|
34978
|
+
end: {
|
|
34979
|
+
line: 93,
|
|
34980
|
+
column: 39
|
|
34981
|
+
}
|
|
34982
|
+
}],
|
|
34983
|
+
line: 93
|
|
34984
|
+
},
|
|
34985
|
+
"8": {
|
|
34986
|
+
loc: {
|
|
34987
|
+
start: {
|
|
34988
|
+
line: 94,
|
|
34989
|
+
column: 19
|
|
34990
|
+
},
|
|
34991
|
+
end: {
|
|
34992
|
+
line: 94,
|
|
34993
|
+
column: 74
|
|
34994
|
+
}
|
|
34995
|
+
},
|
|
34996
|
+
type: "cond-expr",
|
|
34997
|
+
locations: [{
|
|
34998
|
+
start: {
|
|
34999
|
+
line: 94,
|
|
35000
|
+
column: 31
|
|
35001
|
+
},
|
|
35002
|
+
end: {
|
|
35003
|
+
line: 94,
|
|
35004
|
+
column: 51
|
|
35005
|
+
}
|
|
35006
|
+
}, {
|
|
35007
|
+
start: {
|
|
35008
|
+
line: 94,
|
|
35009
|
+
column: 54
|
|
35010
|
+
},
|
|
35011
|
+
end: {
|
|
35012
|
+
line: 94,
|
|
35013
|
+
column: 74
|
|
35014
|
+
}
|
|
35015
|
+
}],
|
|
35016
|
+
line: 94
|
|
35017
|
+
}
|
|
35018
|
+
},
|
|
35019
|
+
s: {
|
|
35020
|
+
"0": 0,
|
|
35021
|
+
"1": 0,
|
|
35022
|
+
"2": 0,
|
|
35023
|
+
"3": 0,
|
|
35024
|
+
"4": 0,
|
|
35025
|
+
"5": 0,
|
|
35026
|
+
"6": 0,
|
|
35027
|
+
"7": 0,
|
|
35028
|
+
"8": 0,
|
|
35029
|
+
"9": 0,
|
|
35030
|
+
"10": 0,
|
|
35031
|
+
"11": 0,
|
|
35032
|
+
"12": 0,
|
|
35033
|
+
"13": 0,
|
|
35034
|
+
"14": 0,
|
|
35035
|
+
"15": 0,
|
|
35036
|
+
"16": 0,
|
|
35037
|
+
"17": 0,
|
|
35038
|
+
"18": 0,
|
|
35039
|
+
"19": 0,
|
|
35040
|
+
"20": 0,
|
|
35041
|
+
"21": 0,
|
|
35042
|
+
"22": 0,
|
|
35043
|
+
"23": 0
|
|
35044
|
+
},
|
|
35045
|
+
f: {
|
|
35046
|
+
"0": 0,
|
|
35047
|
+
"1": 0,
|
|
35048
|
+
"2": 0,
|
|
35049
|
+
"3": 0,
|
|
35050
|
+
"4": 0,
|
|
35051
|
+
"5": 0,
|
|
35052
|
+
"6": 0,
|
|
35053
|
+
"7": 0
|
|
35054
|
+
},
|
|
35055
|
+
b: {
|
|
35056
|
+
"0": [0, 0],
|
|
35057
|
+
"1": [0, 0],
|
|
35058
|
+
"2": [0, 0],
|
|
35059
|
+
"3": [0, 0],
|
|
35060
|
+
"4": [0, 0],
|
|
35061
|
+
"5": [0, 0],
|
|
35062
|
+
"6": [0, 0],
|
|
35063
|
+
"7": [0, 0],
|
|
35064
|
+
"8": [0, 0]
|
|
35065
|
+
},
|
|
35066
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35067
|
+
hash: "f649e2bb358ba3c6a0dec691b8f1c0f6ace29061"
|
|
35068
|
+
};
|
|
35069
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
35070
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35071
|
+
coverage[path] = coverageData;
|
|
35072
|
+
}
|
|
35073
|
+
var actualCoverage = coverage[path];
|
|
35074
|
+
{
|
|
35075
|
+
// @ts-ignore
|
|
35076
|
+
cov_12s3p009b2 = function () {
|
|
35077
|
+
return actualCoverage;
|
|
35078
|
+
};
|
|
35079
|
+
}
|
|
35080
|
+
return actualCoverage;
|
|
35081
|
+
}
|
|
35082
|
+
cov_12s3p009b2();
|
|
35083
|
+
cov_12s3p009b2().s[0]++;
|
|
35084
|
+
var ActionsDetail = function ActionsDetail(_ref) {
|
|
35085
|
+
var actions = _ref.actions;
|
|
35086
|
+
cov_12s3p009b2().f[0]++;
|
|
35087
|
+
var _ref2 = (cov_12s3p009b2().s[1]++, useState(false)),
|
|
35088
|
+
_ref3 = _slicedToArray(_ref2, 2),
|
|
35089
|
+
viewMore = _ref3[0],
|
|
35090
|
+
setViewMore = _ref3[1];
|
|
35091
|
+
var _ref4 = (cov_12s3p009b2().s[2]++, useTranslation()),
|
|
35092
|
+
t = _ref4.t;
|
|
35093
|
+
var actionsList = (cov_12s3p009b2().s[3]++, actions.value);
|
|
35094
|
+
var allActions = (cov_12s3p009b2().s[4]++, (cov_12s3p009b2().b[1][0]++, viewMore) && (cov_12s3p009b2().b[1][1]++, actionsList.length > 4) ? (cov_12s3p009b2().b[0][0]++, actionsList) : (cov_12s3p009b2().b[0][1]++, actionsList.slice(0, 4)));
|
|
35095
|
+
cov_12s3p009b2().s[5]++;
|
|
35096
|
+
var getLabel = function getLabel(index) {
|
|
35097
|
+
cov_12s3p009b2().f[1]++;
|
|
35098
|
+
cov_12s3p009b2().s[6]++;
|
|
35099
|
+
return index ? (cov_12s3p009b2().b[2][0]++, t("common.and", {
|
|
35100
|
+
what: t("common.then").toLowerCase()
|
|
35101
|
+
})) : (cov_12s3p009b2().b[2][1]++, t("common.then"));
|
|
35102
|
+
};
|
|
35103
|
+
cov_12s3p009b2().s[7]++;
|
|
35104
|
+
var renderActionValues = function renderActionValues(action, actionOption) {
|
|
35105
|
+
cov_12s3p009b2().f[2]++;
|
|
35106
|
+
cov_12s3p009b2().s[8]++;
|
|
35107
|
+
if (actionOption.type === "dropdown") {
|
|
35108
|
+
cov_12s3p009b2().b[3][0]++;
|
|
35109
|
+
cov_12s3p009b2().s[9]++;
|
|
35110
|
+
return /*#__PURE__*/React.createElement(Typography, {
|
|
35111
|
+
className: "neeto-ui-text-gray-800",
|
|
35112
|
+
style: "h5",
|
|
35113
|
+
weight: "semibold"
|
|
35114
|
+
}, getEntityDisplayValue(action, actionOption));
|
|
35115
|
+
} else {
|
|
35116
|
+
cov_12s3p009b2().b[3][1]++;
|
|
35117
|
+
}
|
|
35118
|
+
cov_12s3p009b2().s[10]++;
|
|
35119
|
+
if (actionOption.type === "multiSelect") {
|
|
35120
|
+
cov_12s3p009b2().b[4][0]++;
|
|
35121
|
+
var values = (cov_12s3p009b2().s[11]++, pluck("label", actionOption.dropdownOptions.filter(function (_ref5) {
|
|
35122
|
+
var value = _ref5.value;
|
|
35123
|
+
cov_12s3p009b2().f[3]++;
|
|
35124
|
+
cov_12s3p009b2().s[12]++;
|
|
35125
|
+
return action.metadata.value.includes(value);
|
|
35126
|
+
})));
|
|
35127
|
+
cov_12s3p009b2().s[13]++;
|
|
35128
|
+
return /*#__PURE__*/React.createElement(MultiSelectValues, {
|
|
35129
|
+
separator: t("common.and", {
|
|
35130
|
+
what: ""
|
|
35131
|
+
}),
|
|
35132
|
+
values: values
|
|
35133
|
+
});
|
|
35134
|
+
} else {
|
|
35135
|
+
cov_12s3p009b2().b[4][1]++;
|
|
35136
|
+
}
|
|
35137
|
+
cov_12s3p009b2().s[14]++;
|
|
35138
|
+
return null;
|
|
35139
|
+
};
|
|
35140
|
+
cov_12s3p009b2().s[15]++;
|
|
35141
|
+
var renderAction = function renderAction(action) {
|
|
35142
|
+
cov_12s3p009b2().f[4]++;
|
|
35143
|
+
var actionOption = (cov_12s3p009b2().s[16]++, findBy({
|
|
35144
|
+
value: action.name
|
|
35145
|
+
}, actions.actionOptions));
|
|
35146
|
+
cov_12s3p009b2().s[17]++;
|
|
35147
|
+
if (!actionOption) {
|
|
35148
|
+
cov_12s3p009b2().b[5][0]++;
|
|
35149
|
+
cov_12s3p009b2().s[18]++;
|
|
35150
|
+
return null;
|
|
35151
|
+
} else {
|
|
35152
|
+
cov_12s3p009b2().b[5][1]++;
|
|
35153
|
+
}
|
|
35154
|
+
cov_12s3p009b2().s[19]++;
|
|
35155
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, {
|
|
35156
|
+
className: "neeto-ui-text-gray-800",
|
|
35157
|
+
style: "h5",
|
|
35158
|
+
weight: "semibold"
|
|
35159
|
+
}, actionOption === null || actionOption === void 0 ? void 0 : actionOption.label.toLowerCase()), renderActionValues(action, actionOption));
|
|
35160
|
+
};
|
|
35161
|
+
cov_12s3p009b2().s[20]++;
|
|
35162
|
+
return /*#__PURE__*/React.createElement(Title, {
|
|
35163
|
+
title: t("common.then")
|
|
35164
|
+
}, allActions.map(function (action, index) {
|
|
35165
|
+
cov_12s3p009b2().f[5]++;
|
|
35166
|
+
cov_12s3p009b2().s[21]++;
|
|
35167
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
35168
|
+
className: "mb-2 flex flex-wrap gap-x-1 gap-y-2",
|
|
35169
|
+
key: action.name
|
|
35170
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
35171
|
+
className: "neeto-ui-text-gray-700",
|
|
35172
|
+
style: "h5",
|
|
35173
|
+
weight: "normal"
|
|
35174
|
+
}, getLabel(index)), renderAction(action));
|
|
35175
|
+
}), (cov_12s3p009b2().b[6][0]++, actionsList.length > 4) && (cov_12s3p009b2().b[6][1]++, /*#__PURE__*/React.createElement("div", {
|
|
35176
|
+
className: "mt-3 w-full"
|
|
35177
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
35178
|
+
icon: !viewMore ? (cov_12s3p009b2().b[7][0]++, Down) : (cov_12s3p009b2().b[7][1]++, Up),
|
|
35179
|
+
label: !viewMore ? (cov_12s3p009b2().b[8][0]++, t("common.viewMore")) : (cov_12s3p009b2().b[8][1]++, t("common.viewLess")),
|
|
35180
|
+
size: "small",
|
|
35181
|
+
style: "link",
|
|
35182
|
+
onClick: function onClick() {
|
|
35183
|
+
cov_12s3p009b2().f[6]++;
|
|
35184
|
+
cov_12s3p009b2().s[22]++;
|
|
35185
|
+
return setViewMore(function (prevState) {
|
|
35186
|
+
cov_12s3p009b2().f[7]++;
|
|
35187
|
+
cov_12s3p009b2().s[23]++;
|
|
35188
|
+
return !prevState;
|
|
35189
|
+
});
|
|
35190
|
+
}
|
|
35191
|
+
}))));
|
|
35192
|
+
};
|
|
35193
|
+
|
|
35194
|
+
function cov_h01t9qzwy() {
|
|
35195
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/ConditionsDetail.jsx";
|
|
35196
|
+
var hash = "fc61378f8f3779c202fa96af72a7593a3f420615";
|
|
35197
|
+
var global = new Function("return this")();
|
|
35198
|
+
var gcv = "__coverage__";
|
|
35199
|
+
var coverageData = {
|
|
35200
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/ConditionsDetail.jsx",
|
|
35201
|
+
statementMap: {
|
|
35202
|
+
"0": {
|
|
35203
|
+
start: {
|
|
35204
|
+
line: 11,
|
|
35205
|
+
column: 25
|
|
35206
|
+
},
|
|
35207
|
+
end: {
|
|
35208
|
+
line: 118,
|
|
35209
|
+
column: 1
|
|
35210
|
+
}
|
|
35211
|
+
},
|
|
35212
|
+
"1": {
|
|
35213
|
+
start: {
|
|
35214
|
+
line: 12,
|
|
35215
|
+
column: 27
|
|
35216
|
+
},
|
|
35217
|
+
end: {
|
|
35218
|
+
line: 13,
|
|
35219
|
+
column: 45
|
|
35220
|
+
}
|
|
35221
|
+
},
|
|
35222
|
+
"2": {
|
|
35223
|
+
start: {
|
|
35224
|
+
line: 13,
|
|
35225
|
+
column: 4
|
|
35226
|
+
},
|
|
35227
|
+
end: {
|
|
35228
|
+
line: 13,
|
|
35229
|
+
column: 45
|
|
35230
|
+
}
|
|
35231
|
+
},
|
|
35232
|
+
"3": {
|
|
35233
|
+
start: {
|
|
35234
|
+
line: 15,
|
|
35235
|
+
column: 32
|
|
35236
|
+
},
|
|
35237
|
+
end: {
|
|
35238
|
+
line: 52,
|
|
35239
|
+
column: 3
|
|
35240
|
+
}
|
|
35241
|
+
},
|
|
35242
|
+
"4": {
|
|
35243
|
+
start: {
|
|
35244
|
+
line: 16,
|
|
35245
|
+
column: 4
|
|
35246
|
+
},
|
|
35247
|
+
end: {
|
|
35248
|
+
line: 26,
|
|
35249
|
+
column: 5
|
|
35250
|
+
}
|
|
35251
|
+
},
|
|
35252
|
+
"5": {
|
|
35253
|
+
start: {
|
|
35254
|
+
line: 17,
|
|
35255
|
+
column: 6
|
|
35256
|
+
},
|
|
35257
|
+
end: {
|
|
35258
|
+
line: 25,
|
|
35259
|
+
column: 8
|
|
35260
|
+
}
|
|
35261
|
+
},
|
|
35262
|
+
"6": {
|
|
35263
|
+
start: {
|
|
35264
|
+
line: 28,
|
|
35265
|
+
column: 4
|
|
35266
|
+
},
|
|
35267
|
+
end: {
|
|
35268
|
+
line: 37,
|
|
35269
|
+
column: 5
|
|
35270
|
+
}
|
|
35271
|
+
},
|
|
35272
|
+
"7": {
|
|
35273
|
+
start: {
|
|
35274
|
+
line: 29,
|
|
35275
|
+
column: 21
|
|
35276
|
+
},
|
|
35277
|
+
end: {
|
|
35278
|
+
line: 34,
|
|
35279
|
+
column: 7
|
|
35280
|
+
}
|
|
35281
|
+
},
|
|
35282
|
+
"8": {
|
|
35283
|
+
start: {
|
|
35284
|
+
line: 32,
|
|
35285
|
+
column: 10
|
|
35286
|
+
},
|
|
35287
|
+
end: {
|
|
35288
|
+
line: 32,
|
|
35289
|
+
column: 51
|
|
35290
|
+
}
|
|
35291
|
+
},
|
|
35292
|
+
"9": {
|
|
35293
|
+
start: {
|
|
35294
|
+
line: 36,
|
|
35295
|
+
column: 6
|
|
35296
|
+
},
|
|
35297
|
+
end: {
|
|
35298
|
+
line: 36,
|
|
35299
|
+
column: 78
|
|
35300
|
+
}
|
|
35301
|
+
},
|
|
35302
|
+
"10": {
|
|
35303
|
+
start: {
|
|
35304
|
+
line: 39,
|
|
35305
|
+
column: 4
|
|
35306
|
+
},
|
|
35307
|
+
end: {
|
|
35308
|
+
line: 49,
|
|
35309
|
+
column: 5
|
|
35310
|
+
}
|
|
35311
|
+
},
|
|
35312
|
+
"11": {
|
|
35313
|
+
start: {
|
|
35314
|
+
line: 40,
|
|
35315
|
+
column: 6
|
|
35316
|
+
},
|
|
35317
|
+
end: {
|
|
35318
|
+
line: 48,
|
|
35319
|
+
column: 8
|
|
35320
|
+
}
|
|
35321
|
+
},
|
|
35322
|
+
"12": {
|
|
35323
|
+
start: {
|
|
35324
|
+
line: 51,
|
|
35325
|
+
column: 4
|
|
35326
|
+
},
|
|
35327
|
+
end: {
|
|
35328
|
+
line: 51,
|
|
35329
|
+
column: 16
|
|
35330
|
+
}
|
|
35331
|
+
},
|
|
35332
|
+
"13": {
|
|
35333
|
+
start: {
|
|
35334
|
+
line: 54,
|
|
35335
|
+
column: 26
|
|
35336
|
+
},
|
|
35337
|
+
end: {
|
|
35338
|
+
line: 82,
|
|
35339
|
+
column: 3
|
|
35340
|
+
}
|
|
35341
|
+
},
|
|
35342
|
+
"14": {
|
|
35343
|
+
start: {
|
|
35344
|
+
line: 55,
|
|
35345
|
+
column: 28
|
|
35346
|
+
},
|
|
35347
|
+
end: {
|
|
35348
|
+
line: 58,
|
|
35349
|
+
column: 5
|
|
35350
|
+
}
|
|
35351
|
+
},
|
|
35352
|
+
"15": {
|
|
35353
|
+
start: {
|
|
35354
|
+
line: 59,
|
|
35355
|
+
column: 4
|
|
35356
|
+
},
|
|
35357
|
+
end: {
|
|
35358
|
+
line: 59,
|
|
35359
|
+
column: 38
|
|
35360
|
+
}
|
|
35361
|
+
},
|
|
35362
|
+
"16": {
|
|
35363
|
+
start: {
|
|
35364
|
+
line: 59,
|
|
35365
|
+
column: 26
|
|
35366
|
+
},
|
|
35367
|
+
end: {
|
|
35368
|
+
line: 59,
|
|
35369
|
+
column: 38
|
|
35370
|
+
}
|
|
35371
|
+
},
|
|
35372
|
+
"17": {
|
|
35373
|
+
start: {
|
|
35374
|
+
line: 61,
|
|
35375
|
+
column: 26
|
|
35376
|
+
},
|
|
35377
|
+
end: {
|
|
35378
|
+
line: 61,
|
|
35379
|
+
column: 71
|
|
35380
|
+
}
|
|
35381
|
+
},
|
|
35382
|
+
"18": {
|
|
35383
|
+
start: {
|
|
35384
|
+
line: 63,
|
|
35385
|
+
column: 4
|
|
35386
|
+
},
|
|
35387
|
+
end: {
|
|
35388
|
+
line: 81,
|
|
35389
|
+
column: 6
|
|
35390
|
+
}
|
|
35391
|
+
},
|
|
35392
|
+
"19": {
|
|
35393
|
+
start: {
|
|
35394
|
+
line: 84,
|
|
35395
|
+
column: 2
|
|
35396
|
+
},
|
|
35397
|
+
end: {
|
|
35398
|
+
line: 117,
|
|
35399
|
+
column: 4
|
|
35400
|
+
}
|
|
35401
|
+
},
|
|
35402
|
+
"20": {
|
|
35403
|
+
start: {
|
|
35404
|
+
line: 87,
|
|
35405
|
+
column: 8
|
|
35406
|
+
},
|
|
35407
|
+
end: {
|
|
35408
|
+
line: 114,
|
|
35409
|
+
column: 14
|
|
35410
|
+
}
|
|
35411
|
+
}
|
|
35412
|
+
},
|
|
35413
|
+
fnMap: {
|
|
35414
|
+
"0": {
|
|
35415
|
+
name: "(anonymous_0)",
|
|
35416
|
+
decl: {
|
|
35417
|
+
start: {
|
|
35418
|
+
line: 11,
|
|
35419
|
+
column: 25
|
|
35420
|
+
},
|
|
35421
|
+
end: {
|
|
35422
|
+
line: 11,
|
|
35423
|
+
column: 26
|
|
35424
|
+
}
|
|
35425
|
+
},
|
|
35426
|
+
loc: {
|
|
35427
|
+
start: {
|
|
35428
|
+
line: 11,
|
|
35429
|
+
column: 79
|
|
35430
|
+
},
|
|
35431
|
+
end: {
|
|
35432
|
+
line: 118,
|
|
35433
|
+
column: 1
|
|
35434
|
+
}
|
|
35435
|
+
},
|
|
35436
|
+
line: 11
|
|
35437
|
+
},
|
|
35438
|
+
"1": {
|
|
35439
|
+
name: "(anonymous_1)",
|
|
35440
|
+
decl: {
|
|
35441
|
+
start: {
|
|
35442
|
+
line: 12,
|
|
35443
|
+
column: 27
|
|
35444
|
+
},
|
|
35445
|
+
end: {
|
|
35446
|
+
line: 12,
|
|
35447
|
+
column: 28
|
|
35448
|
+
}
|
|
35449
|
+
},
|
|
35450
|
+
loc: {
|
|
35451
|
+
start: {
|
|
35452
|
+
line: 13,
|
|
35453
|
+
column: 4
|
|
35454
|
+
},
|
|
35455
|
+
end: {
|
|
35456
|
+
line: 13,
|
|
35457
|
+
column: 45
|
|
35458
|
+
}
|
|
35459
|
+
},
|
|
35460
|
+
line: 13
|
|
35461
|
+
},
|
|
35462
|
+
"2": {
|
|
35463
|
+
name: "(anonymous_2)",
|
|
35464
|
+
decl: {
|
|
35465
|
+
start: {
|
|
35466
|
+
line: 15,
|
|
35467
|
+
column: 32
|
|
35468
|
+
},
|
|
35469
|
+
end: {
|
|
35470
|
+
line: 15,
|
|
35471
|
+
column: 33
|
|
35472
|
+
}
|
|
35473
|
+
},
|
|
35474
|
+
loc: {
|
|
35475
|
+
start: {
|
|
35476
|
+
line: 15,
|
|
35477
|
+
column: 64
|
|
35478
|
+
},
|
|
35479
|
+
end: {
|
|
35480
|
+
line: 52,
|
|
35481
|
+
column: 3
|
|
35482
|
+
}
|
|
35483
|
+
},
|
|
35484
|
+
line: 15
|
|
35485
|
+
},
|
|
35486
|
+
"3": {
|
|
35487
|
+
name: "(anonymous_3)",
|
|
35488
|
+
decl: {
|
|
35489
|
+
start: {
|
|
35490
|
+
line: 31,
|
|
35491
|
+
column: 47
|
|
35492
|
+
},
|
|
35493
|
+
end: {
|
|
35494
|
+
line: 31,
|
|
35495
|
+
column: 48
|
|
35496
|
+
}
|
|
35497
|
+
},
|
|
35498
|
+
loc: {
|
|
35499
|
+
start: {
|
|
35500
|
+
line: 32,
|
|
35501
|
+
column: 10
|
|
35502
|
+
},
|
|
35503
|
+
end: {
|
|
35504
|
+
line: 32,
|
|
35505
|
+
column: 51
|
|
35506
|
+
}
|
|
35507
|
+
},
|
|
35508
|
+
line: 32
|
|
35509
|
+
},
|
|
35510
|
+
"4": {
|
|
35511
|
+
name: "(anonymous_4)",
|
|
35512
|
+
decl: {
|
|
35513
|
+
start: {
|
|
35514
|
+
line: 54,
|
|
35515
|
+
column: 26
|
|
35516
|
+
},
|
|
35517
|
+
end: {
|
|
35518
|
+
line: 54,
|
|
35519
|
+
column: 27
|
|
35520
|
+
}
|
|
35521
|
+
},
|
|
35522
|
+
loc: {
|
|
35523
|
+
start: {
|
|
35524
|
+
line: 54,
|
|
35525
|
+
column: 39
|
|
35526
|
+
},
|
|
35527
|
+
end: {
|
|
35528
|
+
line: 82,
|
|
35529
|
+
column: 3
|
|
35530
|
+
}
|
|
35531
|
+
},
|
|
35532
|
+
line: 54
|
|
35533
|
+
},
|
|
35534
|
+
"5": {
|
|
35535
|
+
name: "(anonymous_5)",
|
|
35536
|
+
decl: {
|
|
35537
|
+
start: {
|
|
35538
|
+
line: 86,
|
|
35539
|
+
column: 22
|
|
35540
|
+
},
|
|
35541
|
+
end: {
|
|
35542
|
+
line: 86,
|
|
35543
|
+
column: 23
|
|
35544
|
+
}
|
|
35545
|
+
},
|
|
35546
|
+
loc: {
|
|
35547
|
+
start: {
|
|
35548
|
+
line: 87,
|
|
35549
|
+
column: 8
|
|
35550
|
+
},
|
|
35551
|
+
end: {
|
|
35552
|
+
line: 114,
|
|
35553
|
+
column: 14
|
|
35554
|
+
}
|
|
35555
|
+
},
|
|
35556
|
+
line: 87
|
|
35557
|
+
}
|
|
35558
|
+
},
|
|
35559
|
+
branchMap: {
|
|
35560
|
+
"0": {
|
|
35561
|
+
loc: {
|
|
35562
|
+
start: {
|
|
35563
|
+
line: 13,
|
|
35564
|
+
column: 4
|
|
35565
|
+
},
|
|
35566
|
+
end: {
|
|
35567
|
+
line: 13,
|
|
35568
|
+
column: 45
|
|
35569
|
+
}
|
|
35570
|
+
},
|
|
35571
|
+
type: "cond-expr",
|
|
35572
|
+
locations: [{
|
|
35573
|
+
start: {
|
|
35574
|
+
line: 13,
|
|
35575
|
+
column: 33
|
|
35576
|
+
},
|
|
35577
|
+
end: {
|
|
35578
|
+
line: 13,
|
|
35579
|
+
column: 37
|
|
35580
|
+
}
|
|
35581
|
+
}, {
|
|
35582
|
+
start: {
|
|
35583
|
+
line: 13,
|
|
35584
|
+
column: 40
|
|
35585
|
+
},
|
|
35586
|
+
end: {
|
|
35587
|
+
line: 13,
|
|
35588
|
+
column: 45
|
|
35589
|
+
}
|
|
35590
|
+
}],
|
|
35591
|
+
line: 13
|
|
35592
|
+
},
|
|
35593
|
+
"1": {
|
|
35594
|
+
loc: {
|
|
35595
|
+
start: {
|
|
35596
|
+
line: 16,
|
|
35597
|
+
column: 4
|
|
35598
|
+
},
|
|
35599
|
+
end: {
|
|
35600
|
+
line: 26,
|
|
35601
|
+
column: 5
|
|
35602
|
+
}
|
|
35603
|
+
},
|
|
35604
|
+
type: "if",
|
|
35605
|
+
locations: [{
|
|
35606
|
+
start: {
|
|
35607
|
+
line: 16,
|
|
35608
|
+
column: 4
|
|
35609
|
+
},
|
|
35610
|
+
end: {
|
|
35611
|
+
line: 26,
|
|
35612
|
+
column: 5
|
|
35613
|
+
}
|
|
35614
|
+
}, {
|
|
35615
|
+
start: {
|
|
35616
|
+
line: undefined,
|
|
35617
|
+
column: undefined
|
|
35618
|
+
},
|
|
35619
|
+
end: {
|
|
35620
|
+
line: undefined,
|
|
35621
|
+
column: undefined
|
|
35622
|
+
}
|
|
35623
|
+
}],
|
|
35624
|
+
line: 16
|
|
35625
|
+
},
|
|
35626
|
+
"2": {
|
|
35627
|
+
loc: {
|
|
35628
|
+
start: {
|
|
35629
|
+
line: 28,
|
|
35630
|
+
column: 4
|
|
35631
|
+
},
|
|
35632
|
+
end: {
|
|
35633
|
+
line: 37,
|
|
35634
|
+
column: 5
|
|
35635
|
+
}
|
|
35636
|
+
},
|
|
35637
|
+
type: "if",
|
|
35638
|
+
locations: [{
|
|
35639
|
+
start: {
|
|
35640
|
+
line: 28,
|
|
35641
|
+
column: 4
|
|
35642
|
+
},
|
|
35643
|
+
end: {
|
|
35644
|
+
line: 37,
|
|
35645
|
+
column: 5
|
|
35646
|
+
}
|
|
35647
|
+
}, {
|
|
35648
|
+
start: {
|
|
35649
|
+
line: undefined,
|
|
35650
|
+
column: undefined
|
|
35651
|
+
},
|
|
35652
|
+
end: {
|
|
35653
|
+
line: undefined,
|
|
35654
|
+
column: undefined
|
|
35655
|
+
}
|
|
35656
|
+
}],
|
|
35657
|
+
line: 28
|
|
35658
|
+
},
|
|
35659
|
+
"3": {
|
|
35660
|
+
loc: {
|
|
35661
|
+
start: {
|
|
35662
|
+
line: 39,
|
|
35663
|
+
column: 4
|
|
35664
|
+
},
|
|
35665
|
+
end: {
|
|
35666
|
+
line: 49,
|
|
35667
|
+
column: 5
|
|
35668
|
+
}
|
|
35669
|
+
},
|
|
35670
|
+
type: "if",
|
|
35671
|
+
locations: [{
|
|
35672
|
+
start: {
|
|
35673
|
+
line: 39,
|
|
35674
|
+
column: 4
|
|
35675
|
+
},
|
|
35676
|
+
end: {
|
|
35677
|
+
line: 49,
|
|
35678
|
+
column: 5
|
|
35679
|
+
}
|
|
35680
|
+
}, {
|
|
35681
|
+
start: {
|
|
35682
|
+
line: undefined,
|
|
35683
|
+
column: undefined
|
|
35684
|
+
},
|
|
35685
|
+
end: {
|
|
35686
|
+
line: undefined,
|
|
35687
|
+
column: undefined
|
|
35688
|
+
}
|
|
35689
|
+
}],
|
|
35690
|
+
line: 39
|
|
35691
|
+
},
|
|
35692
|
+
"4": {
|
|
35693
|
+
loc: {
|
|
35694
|
+
start: {
|
|
35695
|
+
line: 59,
|
|
35696
|
+
column: 4
|
|
35697
|
+
},
|
|
35698
|
+
end: {
|
|
35699
|
+
line: 59,
|
|
35700
|
+
column: 38
|
|
35701
|
+
}
|
|
35702
|
+
},
|
|
35703
|
+
type: "if",
|
|
35704
|
+
locations: [{
|
|
35705
|
+
start: {
|
|
35706
|
+
line: 59,
|
|
35707
|
+
column: 4
|
|
35708
|
+
},
|
|
35709
|
+
end: {
|
|
35710
|
+
line: 59,
|
|
35711
|
+
column: 38
|
|
35712
|
+
}
|
|
35713
|
+
}, {
|
|
35714
|
+
start: {
|
|
35715
|
+
line: undefined,
|
|
35716
|
+
column: undefined
|
|
35717
|
+
},
|
|
35718
|
+
end: {
|
|
35719
|
+
line: undefined,
|
|
35720
|
+
column: undefined
|
|
35721
|
+
}
|
|
35722
|
+
}],
|
|
35723
|
+
line: 59
|
|
35724
|
+
},
|
|
35725
|
+
"5": {
|
|
35726
|
+
loc: {
|
|
35727
|
+
start: {
|
|
35728
|
+
line: 88,
|
|
35729
|
+
column: 11
|
|
35730
|
+
},
|
|
35731
|
+
end: {
|
|
35732
|
+
line: 96,
|
|
35733
|
+
column: 11
|
|
35734
|
+
}
|
|
35735
|
+
},
|
|
35736
|
+
type: "binary-expr",
|
|
35737
|
+
locations: [{
|
|
35738
|
+
start: {
|
|
35739
|
+
line: 88,
|
|
35740
|
+
column: 11
|
|
35741
|
+
},
|
|
35742
|
+
end: {
|
|
35743
|
+
line: 88,
|
|
35744
|
+
column: 17
|
|
35745
|
+
}
|
|
35746
|
+
}, {
|
|
35747
|
+
start: {
|
|
35748
|
+
line: 89,
|
|
35749
|
+
column: 12
|
|
35750
|
+
},
|
|
35751
|
+
end: {
|
|
35752
|
+
line: 95,
|
|
35753
|
+
column: 25
|
|
35754
|
+
}
|
|
35755
|
+
}],
|
|
35756
|
+
line: 88
|
|
35757
|
+
},
|
|
35758
|
+
"6": {
|
|
35759
|
+
loc: {
|
|
35760
|
+
start: {
|
|
35761
|
+
line: 97,
|
|
35762
|
+
column: 11
|
|
35763
|
+
},
|
|
35764
|
+
end: {
|
|
35765
|
+
line: 105,
|
|
35766
|
+
column: 11
|
|
35767
|
+
}
|
|
35768
|
+
},
|
|
35769
|
+
type: "binary-expr",
|
|
35770
|
+
locations: [{
|
|
35771
|
+
start: {
|
|
35772
|
+
line: 97,
|
|
35773
|
+
column: 11
|
|
35774
|
+
},
|
|
35775
|
+
end: {
|
|
35776
|
+
line: 97,
|
|
35777
|
+
column: 18
|
|
35778
|
+
}
|
|
35779
|
+
}, {
|
|
35780
|
+
start: {
|
|
35781
|
+
line: 98,
|
|
35782
|
+
column: 12
|
|
35783
|
+
},
|
|
35784
|
+
end: {
|
|
35785
|
+
line: 104,
|
|
35786
|
+
column: 25
|
|
35787
|
+
}
|
|
35788
|
+
}],
|
|
35789
|
+
line: 97
|
|
35790
|
+
}
|
|
35791
|
+
},
|
|
35792
|
+
s: {
|
|
35793
|
+
"0": 0,
|
|
35794
|
+
"1": 0,
|
|
35795
|
+
"2": 0,
|
|
35796
|
+
"3": 0,
|
|
35797
|
+
"4": 0,
|
|
35798
|
+
"5": 0,
|
|
35799
|
+
"6": 0,
|
|
35800
|
+
"7": 0,
|
|
35801
|
+
"8": 0,
|
|
35802
|
+
"9": 0,
|
|
35803
|
+
"10": 0,
|
|
35804
|
+
"11": 0,
|
|
35805
|
+
"12": 0,
|
|
35806
|
+
"13": 0,
|
|
35807
|
+
"14": 0,
|
|
35808
|
+
"15": 0,
|
|
35809
|
+
"16": 0,
|
|
35810
|
+
"17": 0,
|
|
35811
|
+
"18": 0,
|
|
35812
|
+
"19": 0,
|
|
35813
|
+
"20": 0
|
|
35814
|
+
},
|
|
35815
|
+
f: {
|
|
35816
|
+
"0": 0,
|
|
35817
|
+
"1": 0,
|
|
35818
|
+
"2": 0,
|
|
35819
|
+
"3": 0,
|
|
35820
|
+
"4": 0,
|
|
35821
|
+
"5": 0
|
|
35822
|
+
},
|
|
35823
|
+
b: {
|
|
35824
|
+
"0": [0, 0],
|
|
35825
|
+
"1": [0, 0],
|
|
35826
|
+
"2": [0, 0],
|
|
35827
|
+
"3": [0, 0],
|
|
35828
|
+
"4": [0, 0],
|
|
35829
|
+
"5": [0, 0],
|
|
35830
|
+
"6": [0, 0]
|
|
35831
|
+
},
|
|
35832
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35833
|
+
hash: "fc61378f8f3779c202fa96af72a7593a3f420615"
|
|
35834
|
+
};
|
|
35835
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
35836
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35837
|
+
coverage[path] = coverageData;
|
|
35838
|
+
}
|
|
35839
|
+
var actualCoverage = coverage[path];
|
|
35840
|
+
{
|
|
35841
|
+
// @ts-ignore
|
|
35842
|
+
cov_h01t9qzwy = function () {
|
|
35843
|
+
return actualCoverage;
|
|
35844
|
+
};
|
|
35845
|
+
}
|
|
35846
|
+
return actualCoverage;
|
|
35847
|
+
}
|
|
35848
|
+
cov_h01t9qzwy();
|
|
35849
|
+
cov_h01t9qzwy().s[0]++;
|
|
35850
|
+
var ConditionsDetail = function ConditionsDetail(_ref) {
|
|
35851
|
+
var conditions = _ref.conditions,
|
|
35852
|
+
conditionOptions = _ref.conditionOptions,
|
|
35853
|
+
conditionVerbs = _ref.conditionVerbs;
|
|
35854
|
+
cov_h01t9qzwy().f[0]++;
|
|
35855
|
+
cov_h01t9qzwy().s[1]++;
|
|
35856
|
+
var getLogicOperator = function getLogicOperator(joinType) {
|
|
35857
|
+
cov_h01t9qzwy().f[1]++;
|
|
35858
|
+
cov_h01t9qzwy().s[2]++;
|
|
35859
|
+
return joinType === "or_operator" ? (cov_h01t9qzwy().b[0][0]++, "or") : (cov_h01t9qzwy().b[0][1]++, "and");
|
|
35860
|
+
};
|
|
35861
|
+
cov_h01t9qzwy().s[3]++;
|
|
35862
|
+
var renderConditionValues = function renderConditionValues(condition, conditionOption) {
|
|
35863
|
+
cov_h01t9qzwy().f[2]++;
|
|
35864
|
+
cov_h01t9qzwy().s[4]++;
|
|
35865
|
+
if (["email", "text", "number"].includes(conditionOption.type)) {
|
|
35866
|
+
var _condition$metadata$v;
|
|
35867
|
+
cov_h01t9qzwy().b[1][0]++;
|
|
35868
|
+
cov_h01t9qzwy().s[5]++;
|
|
35869
|
+
return /*#__PURE__*/React.createElement(Typography, {
|
|
35870
|
+
className: "neeto-ui-text-gray-800",
|
|
35871
|
+
style: "h5",
|
|
35872
|
+
weight: "semibold"
|
|
35873
|
+
}, (_condition$metadata$v = condition.metadata.value) === null || _condition$metadata$v === void 0 ? void 0 : _condition$metadata$v.toLowerCase());
|
|
35874
|
+
} else {
|
|
35875
|
+
cov_h01t9qzwy().b[1][1]++;
|
|
35876
|
+
}
|
|
35877
|
+
cov_h01t9qzwy().s[6]++;
|
|
35878
|
+
if (conditionOption.type === "multi-select") {
|
|
35879
|
+
cov_h01t9qzwy().b[2][0]++;
|
|
35880
|
+
var values = (cov_h01t9qzwy().s[7]++, pluck("label", conditionOption.dropdownOptions.filter(function (_ref2) {
|
|
35881
|
+
var value = _ref2.value;
|
|
35882
|
+
cov_h01t9qzwy().f[3]++;
|
|
35883
|
+
cov_h01t9qzwy().s[8]++;
|
|
35884
|
+
return condition.metadata.values.includes(value);
|
|
35885
|
+
})));
|
|
35886
|
+
cov_h01t9qzwy().s[9]++;
|
|
35887
|
+
return /*#__PURE__*/React.createElement(MultiSelectValues, {
|
|
35888
|
+
separator: t("common.or"),
|
|
35889
|
+
values: values
|
|
35890
|
+
});
|
|
35891
|
+
} else {
|
|
35892
|
+
cov_h01t9qzwy().b[2][1]++;
|
|
35893
|
+
}
|
|
35894
|
+
cov_h01t9qzwy().s[10]++;
|
|
35895
|
+
if (conditionOption.type === "dropdown") {
|
|
35896
|
+
cov_h01t9qzwy().b[3][0]++;
|
|
35897
|
+
cov_h01t9qzwy().s[11]++;
|
|
35898
|
+
return /*#__PURE__*/React.createElement(Typography, {
|
|
35899
|
+
className: "neeto-ui-text-gray-800",
|
|
35900
|
+
style: "h5",
|
|
35901
|
+
weight: "semibold"
|
|
35902
|
+
}, getEntityDisplayValue(condition, conditionOption));
|
|
35903
|
+
} else {
|
|
35904
|
+
cov_h01t9qzwy().b[3][1]++;
|
|
35905
|
+
}
|
|
35906
|
+
cov_h01t9qzwy().s[12]++;
|
|
35907
|
+
return null;
|
|
35908
|
+
};
|
|
35909
|
+
cov_h01t9qzwy().s[13]++;
|
|
35910
|
+
var renderCondition = function renderCondition(condition) {
|
|
35911
|
+
var _conditionVerbs$condi;
|
|
35912
|
+
cov_h01t9qzwy().f[4]++;
|
|
35913
|
+
var conditionOption = (cov_h01t9qzwy().s[14]++, findBy({
|
|
35914
|
+
value: condition.field
|
|
35915
|
+
}, conditionOptions));
|
|
35916
|
+
cov_h01t9qzwy().s[15]++;
|
|
35917
|
+
if (!conditionOption) {
|
|
35918
|
+
cov_h01t9qzwy().b[4][0]++;
|
|
35919
|
+
cov_h01t9qzwy().s[16]++;
|
|
35920
|
+
return null;
|
|
35921
|
+
} else {
|
|
35922
|
+
cov_h01t9qzwy().b[4][1]++;
|
|
35923
|
+
}
|
|
35924
|
+
var conditionVerb = (cov_h01t9qzwy().s[17]++, (_conditionVerbs$condi = conditionVerbs[condition.verb]) === null || _conditionVerbs$condi === void 0 ? void 0 : _conditionVerbs$condi.toLowerCase());
|
|
35925
|
+
cov_h01t9qzwy().s[18]++;
|
|
35926
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, {
|
|
35927
|
+
className: "neeto-ui-text-gray-800",
|
|
35928
|
+
style: "h5",
|
|
35929
|
+
weight: "semibold"
|
|
35930
|
+
}, conditionOption === null || conditionOption === void 0 ? void 0 : conditionOption.label.toLowerCase()), /*#__PURE__*/React.createElement(Typography, {
|
|
35931
|
+
className: "neeto-ui-text-gray-800",
|
|
35932
|
+
style: "h5",
|
|
35933
|
+
weight: "semibold"
|
|
35934
|
+
}, conditionVerb), renderConditionValues(condition, conditionOption));
|
|
35935
|
+
};
|
|
35936
|
+
cov_h01t9qzwy().s[19]++;
|
|
35937
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
35938
|
+
className: "mt-2"
|
|
35939
|
+
}, conditions.map(function (condition, index) {
|
|
35940
|
+
cov_h01t9qzwy().f[5]++;
|
|
35941
|
+
cov_h01t9qzwy().s[20]++;
|
|
35942
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
35943
|
+
className: "mb-2 flex flex-wrap gap-x-2 gap-y-2",
|
|
35944
|
+
key: condition.id
|
|
35945
|
+
}, (cov_h01t9qzwy().b[5][0]++, !index) && (cov_h01t9qzwy().b[5][1]++, /*#__PURE__*/React.createElement(Typography, {
|
|
35946
|
+
className: "neeto-ui-text-gray-700",
|
|
35947
|
+
style: "h5",
|
|
35948
|
+
weight: "normal"
|
|
35949
|
+
}, t("common.and", {
|
|
35950
|
+
what: ""
|
|
35951
|
+
}))), (cov_h01t9qzwy().b[6][0]++, !!index) && (cov_h01t9qzwy().b[6][1]++, /*#__PURE__*/React.createElement(Typography, {
|
|
35952
|
+
className: "neeto-ui-text-gray-800",
|
|
35953
|
+
style: "h5",
|
|
35954
|
+
weight: "semibold"
|
|
35955
|
+
}, getLogicOperator(condition.joinType))), /*#__PURE__*/React.createElement(Typography, {
|
|
35956
|
+
className: "neeto-ui-text-gray-700",
|
|
35957
|
+
style: "h5",
|
|
35958
|
+
weight: "normal"
|
|
35959
|
+
}, t("common.when").toLowerCase()), renderCondition(condition));
|
|
35960
|
+
}));
|
|
35961
|
+
};
|
|
35962
|
+
|
|
35963
|
+
function cov_rr7czlpcc() {
|
|
35964
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/EventsDetail.jsx";
|
|
35965
|
+
var hash = "027ffb7dc7b431626e71008ddc8edc3a2d938d8a";
|
|
35966
|
+
var global = new Function("return this")();
|
|
35967
|
+
var gcv = "__coverage__";
|
|
35968
|
+
var coverageData = {
|
|
35969
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/EventsDetail.jsx",
|
|
35970
|
+
statementMap: {
|
|
35971
|
+
"0": {
|
|
35972
|
+
start: {
|
|
35973
|
+
line: 12,
|
|
35974
|
+
column: 21
|
|
35975
|
+
},
|
|
35976
|
+
end: {
|
|
35977
|
+
line: 96,
|
|
35978
|
+
column: 1
|
|
35979
|
+
}
|
|
35980
|
+
},
|
|
35981
|
+
"1": {
|
|
35982
|
+
start: {
|
|
35983
|
+
line: 13,
|
|
35984
|
+
column: 34
|
|
35985
|
+
},
|
|
35986
|
+
end: {
|
|
35987
|
+
line: 13,
|
|
35988
|
+
column: 49
|
|
35989
|
+
}
|
|
35990
|
+
},
|
|
35991
|
+
"2": {
|
|
35992
|
+
start: {
|
|
35993
|
+
line: 15,
|
|
35994
|
+
column: 21
|
|
35995
|
+
},
|
|
35996
|
+
end: {
|
|
35997
|
+
line: 15,
|
|
35998
|
+
column: 48
|
|
35999
|
+
}
|
|
36000
|
+
},
|
|
36001
|
+
"3": {
|
|
36002
|
+
start: {
|
|
36003
|
+
line: 16,
|
|
36004
|
+
column: 20
|
|
36005
|
+
},
|
|
36006
|
+
end: {
|
|
36007
|
+
line: 18,
|
|
36008
|
+
column: 3
|
|
36009
|
+
}
|
|
36010
|
+
},
|
|
36011
|
+
"4": {
|
|
36012
|
+
start: {
|
|
36013
|
+
line: 17,
|
|
36014
|
+
column: 4
|
|
36015
|
+
},
|
|
36016
|
+
end: {
|
|
36017
|
+
line: 17,
|
|
36018
|
+
column: 37
|
|
36019
|
+
}
|
|
36020
|
+
},
|
|
36021
|
+
"5": {
|
|
36022
|
+
start: {
|
|
36023
|
+
line: 20,
|
|
36024
|
+
column: 25
|
|
36025
|
+
},
|
|
36026
|
+
end: {
|
|
36027
|
+
line: 20,
|
|
36028
|
+
column: 41
|
|
36029
|
+
}
|
|
36030
|
+
},
|
|
36031
|
+
"6": {
|
|
36032
|
+
start: {
|
|
36033
|
+
line: 22,
|
|
36034
|
+
column: 4
|
|
36035
|
+
},
|
|
36036
|
+
end: {
|
|
36037
|
+
line: 24,
|
|
36038
|
+
column: 34
|
|
36039
|
+
}
|
|
36040
|
+
},
|
|
36041
|
+
"7": {
|
|
36042
|
+
start: {
|
|
36043
|
+
line: 26,
|
|
36044
|
+
column: 27
|
|
36045
|
+
},
|
|
36046
|
+
end: {
|
|
36047
|
+
line: 29,
|
|
36048
|
+
column: 3
|
|
36049
|
+
}
|
|
36050
|
+
},
|
|
36051
|
+
"8": {
|
|
36052
|
+
start: {
|
|
36053
|
+
line: 31,
|
|
36054
|
+
column: 2
|
|
36055
|
+
},
|
|
36056
|
+
end: {
|
|
36057
|
+
line: 95,
|
|
36058
|
+
column: 4
|
|
36059
|
+
}
|
|
36060
|
+
},
|
|
36061
|
+
"9": {
|
|
36062
|
+
start: {
|
|
36063
|
+
line: 35,
|
|
36064
|
+
column: 10
|
|
36065
|
+
},
|
|
36066
|
+
end: {
|
|
36067
|
+
line: 61,
|
|
36068
|
+
column: 16
|
|
36069
|
+
}
|
|
36070
|
+
},
|
|
36071
|
+
"10": {
|
|
36072
|
+
start: {
|
|
36073
|
+
line: 90,
|
|
36074
|
+
column: 27
|
|
36075
|
+
},
|
|
36076
|
+
end: {
|
|
36077
|
+
line: 90,
|
|
36078
|
+
column: 63
|
|
36079
|
+
}
|
|
36080
|
+
},
|
|
36081
|
+
"11": {
|
|
36082
|
+
start: {
|
|
36083
|
+
line: 90,
|
|
36084
|
+
column: 52
|
|
36085
|
+
},
|
|
36086
|
+
end: {
|
|
36087
|
+
line: 90,
|
|
36088
|
+
column: 62
|
|
36089
|
+
}
|
|
36090
|
+
}
|
|
36091
|
+
},
|
|
36092
|
+
fnMap: {
|
|
36093
|
+
"0": {
|
|
36094
|
+
name: "(anonymous_0)",
|
|
36095
|
+
decl: {
|
|
36096
|
+
start: {
|
|
36097
|
+
line: 12,
|
|
36098
|
+
column: 21
|
|
36099
|
+
},
|
|
36100
|
+
end: {
|
|
36101
|
+
line: 12,
|
|
36102
|
+
column: 22
|
|
36103
|
+
}
|
|
36104
|
+
},
|
|
36105
|
+
loc: {
|
|
36106
|
+
start: {
|
|
36107
|
+
line: 12,
|
|
36108
|
+
column: 60
|
|
36109
|
+
},
|
|
36110
|
+
end: {
|
|
36111
|
+
line: 96,
|
|
36112
|
+
column: 1
|
|
36113
|
+
}
|
|
36114
|
+
},
|
|
36115
|
+
line: 12
|
|
36116
|
+
},
|
|
36117
|
+
"1": {
|
|
36118
|
+
name: "(anonymous_1)",
|
|
36119
|
+
decl: {
|
|
36120
|
+
start: {
|
|
36121
|
+
line: 16,
|
|
36122
|
+
column: 47
|
|
36123
|
+
},
|
|
36124
|
+
end: {
|
|
36125
|
+
line: 16,
|
|
36126
|
+
column: 48
|
|
36127
|
+
}
|
|
36128
|
+
},
|
|
36129
|
+
loc: {
|
|
36130
|
+
start: {
|
|
36131
|
+
line: 17,
|
|
36132
|
+
column: 4
|
|
36133
|
+
},
|
|
36134
|
+
end: {
|
|
36135
|
+
line: 17,
|
|
36136
|
+
column: 37
|
|
36137
|
+
}
|
|
36138
|
+
},
|
|
36139
|
+
line: 17
|
|
36140
|
+
},
|
|
36141
|
+
"2": {
|
|
36142
|
+
name: "(anonymous_2)",
|
|
36143
|
+
decl: {
|
|
36144
|
+
start: {
|
|
36145
|
+
line: 34,
|
|
36146
|
+
column: 23
|
|
36147
|
+
},
|
|
36148
|
+
end: {
|
|
36149
|
+
line: 34,
|
|
36150
|
+
column: 24
|
|
36151
|
+
}
|
|
36152
|
+
},
|
|
36153
|
+
loc: {
|
|
36154
|
+
start: {
|
|
36155
|
+
line: 35,
|
|
36156
|
+
column: 10
|
|
36157
|
+
},
|
|
36158
|
+
end: {
|
|
36159
|
+
line: 61,
|
|
36160
|
+
column: 16
|
|
36161
|
+
}
|
|
36162
|
+
},
|
|
36163
|
+
line: 35
|
|
36164
|
+
},
|
|
36165
|
+
"3": {
|
|
36166
|
+
name: "(anonymous_3)",
|
|
36167
|
+
decl: {
|
|
36168
|
+
start: {
|
|
36169
|
+
line: 90,
|
|
36170
|
+
column: 21
|
|
36171
|
+
},
|
|
36172
|
+
end: {
|
|
36173
|
+
line: 90,
|
|
36174
|
+
column: 22
|
|
36175
|
+
}
|
|
36176
|
+
},
|
|
36177
|
+
loc: {
|
|
36178
|
+
start: {
|
|
36179
|
+
line: 90,
|
|
36180
|
+
column: 27
|
|
36181
|
+
},
|
|
36182
|
+
end: {
|
|
36183
|
+
line: 90,
|
|
36184
|
+
column: 63
|
|
36185
|
+
}
|
|
36186
|
+
},
|
|
36187
|
+
line: 90
|
|
36188
|
+
},
|
|
36189
|
+
"4": {
|
|
36190
|
+
name: "(anonymous_4)",
|
|
36191
|
+
decl: {
|
|
36192
|
+
start: {
|
|
36193
|
+
line: 90,
|
|
36194
|
+
column: 39
|
|
36195
|
+
},
|
|
36196
|
+
end: {
|
|
36197
|
+
line: 90,
|
|
36198
|
+
column: 40
|
|
36199
|
+
}
|
|
36200
|
+
},
|
|
36201
|
+
loc: {
|
|
36202
|
+
start: {
|
|
36203
|
+
line: 90,
|
|
36204
|
+
column: 52
|
|
36205
|
+
},
|
|
36206
|
+
end: {
|
|
36207
|
+
line: 90,
|
|
36208
|
+
column: 62
|
|
36209
|
+
}
|
|
36210
|
+
},
|
|
36211
|
+
line: 90
|
|
36212
|
+
}
|
|
36213
|
+
},
|
|
36214
|
+
branchMap: {
|
|
36215
|
+
"0": {
|
|
36216
|
+
loc: {
|
|
36217
|
+
start: {
|
|
36218
|
+
line: 22,
|
|
36219
|
+
column: 4
|
|
36220
|
+
},
|
|
36221
|
+
end: {
|
|
36222
|
+
line: 24,
|
|
36223
|
+
column: 34
|
|
36224
|
+
}
|
|
36225
|
+
},
|
|
36226
|
+
type: "cond-expr",
|
|
36227
|
+
locations: [{
|
|
36228
|
+
start: {
|
|
36229
|
+
line: 23,
|
|
36230
|
+
column: 8
|
|
36231
|
+
},
|
|
36232
|
+
end: {
|
|
36233
|
+
line: 23,
|
|
36234
|
+
column: 22
|
|
36235
|
+
}
|
|
36236
|
+
}, {
|
|
36237
|
+
start: {
|
|
36238
|
+
line: 24,
|
|
36239
|
+
column: 8
|
|
36240
|
+
},
|
|
36241
|
+
end: {
|
|
36242
|
+
line: 24,
|
|
36243
|
+
column: 34
|
|
36244
|
+
}
|
|
36245
|
+
}],
|
|
36246
|
+
line: 22
|
|
36247
|
+
},
|
|
36248
|
+
"1": {
|
|
36249
|
+
loc: {
|
|
36250
|
+
start: {
|
|
36251
|
+
line: 22,
|
|
36252
|
+
column: 4
|
|
36253
|
+
},
|
|
36254
|
+
end: {
|
|
36255
|
+
line: 22,
|
|
36256
|
+
column: 41
|
|
36257
|
+
}
|
|
36258
|
+
},
|
|
36259
|
+
type: "binary-expr",
|
|
36260
|
+
locations: [{
|
|
36261
|
+
start: {
|
|
36262
|
+
line: 22,
|
|
36263
|
+
column: 4
|
|
36264
|
+
},
|
|
36265
|
+
end: {
|
|
36266
|
+
line: 22,
|
|
36267
|
+
column: 12
|
|
36268
|
+
}
|
|
36269
|
+
}, {
|
|
36270
|
+
start: {
|
|
36271
|
+
line: 22,
|
|
36272
|
+
column: 16
|
|
36273
|
+
},
|
|
36274
|
+
end: {
|
|
36275
|
+
line: 22,
|
|
36276
|
+
column: 41
|
|
36277
|
+
}
|
|
36278
|
+
}],
|
|
36279
|
+
line: 22
|
|
36280
|
+
},
|
|
36281
|
+
"2": {
|
|
36282
|
+
loc: {
|
|
36283
|
+
start: {
|
|
36284
|
+
line: 36,
|
|
36285
|
+
column: 13
|
|
36286
|
+
},
|
|
36287
|
+
end: {
|
|
36288
|
+
line: 44,
|
|
36289
|
+
column: 13
|
|
36290
|
+
}
|
|
36291
|
+
},
|
|
36292
|
+
type: "binary-expr",
|
|
36293
|
+
locations: [{
|
|
36294
|
+
start: {
|
|
36295
|
+
line: 36,
|
|
36296
|
+
column: 13
|
|
36297
|
+
},
|
|
36298
|
+
end: {
|
|
36299
|
+
line: 36,
|
|
36300
|
+
column: 19
|
|
36301
|
+
}
|
|
36302
|
+
}, {
|
|
36303
|
+
start: {
|
|
36304
|
+
line: 37,
|
|
36305
|
+
column: 14
|
|
36306
|
+
},
|
|
36307
|
+
end: {
|
|
36308
|
+
line: 43,
|
|
36309
|
+
column: 27
|
|
36310
|
+
}
|
|
36311
|
+
}],
|
|
36312
|
+
line: 36
|
|
36313
|
+
},
|
|
36314
|
+
"3": {
|
|
36315
|
+
loc: {
|
|
36316
|
+
start: {
|
|
36317
|
+
line: 45,
|
|
36318
|
+
column: 13
|
|
36319
|
+
},
|
|
36320
|
+
end: {
|
|
36321
|
+
line: 53,
|
|
36322
|
+
column: 13
|
|
36323
|
+
}
|
|
36324
|
+
},
|
|
36325
|
+
type: "binary-expr",
|
|
36326
|
+
locations: [{
|
|
36327
|
+
start: {
|
|
36328
|
+
line: 45,
|
|
36329
|
+
column: 13
|
|
36330
|
+
},
|
|
36331
|
+
end: {
|
|
36332
|
+
line: 45,
|
|
36333
|
+
column: 20
|
|
36334
|
+
}
|
|
36335
|
+
}, {
|
|
36336
|
+
start: {
|
|
36337
|
+
line: 46,
|
|
36338
|
+
column: 14
|
|
36339
|
+
},
|
|
36340
|
+
end: {
|
|
36341
|
+
line: 52,
|
|
36342
|
+
column: 27
|
|
36343
|
+
}
|
|
36344
|
+
}],
|
|
36345
|
+
line: 45
|
|
36346
|
+
},
|
|
36347
|
+
"4": {
|
|
36348
|
+
loc: {
|
|
36349
|
+
start: {
|
|
36350
|
+
line: 83,
|
|
36351
|
+
column: 7
|
|
36352
|
+
},
|
|
36353
|
+
end: {
|
|
36354
|
+
line: 93,
|
|
36355
|
+
column: 7
|
|
36356
|
+
}
|
|
36357
|
+
},
|
|
36358
|
+
type: "binary-expr",
|
|
36359
|
+
locations: [{
|
|
36360
|
+
start: {
|
|
36361
|
+
line: 83,
|
|
36362
|
+
column: 7
|
|
36363
|
+
},
|
|
36364
|
+
end: {
|
|
36365
|
+
line: 83,
|
|
36366
|
+
column: 32
|
|
36367
|
+
}
|
|
36368
|
+
}, {
|
|
36369
|
+
start: {
|
|
36370
|
+
line: 84,
|
|
36371
|
+
column: 8
|
|
36372
|
+
},
|
|
36373
|
+
end: {
|
|
36374
|
+
line: 92,
|
|
36375
|
+
column: 14
|
|
36376
|
+
}
|
|
36377
|
+
}],
|
|
36378
|
+
line: 83
|
|
36379
|
+
},
|
|
36380
|
+
"5": {
|
|
36381
|
+
loc: {
|
|
36382
|
+
start: {
|
|
36383
|
+
line: 86,
|
|
36384
|
+
column: 18
|
|
36385
|
+
},
|
|
36386
|
+
end: {
|
|
36387
|
+
line: 86,
|
|
36388
|
+
column: 39
|
|
36389
|
+
}
|
|
36390
|
+
},
|
|
36391
|
+
type: "cond-expr",
|
|
36392
|
+
locations: [{
|
|
36393
|
+
start: {
|
|
36394
|
+
line: 86,
|
|
36395
|
+
column: 30
|
|
36396
|
+
},
|
|
36397
|
+
end: {
|
|
36398
|
+
line: 86,
|
|
36399
|
+
column: 34
|
|
36400
|
+
}
|
|
36401
|
+
}, {
|
|
36402
|
+
start: {
|
|
36403
|
+
line: 86,
|
|
36404
|
+
column: 37
|
|
36405
|
+
},
|
|
36406
|
+
end: {
|
|
36407
|
+
line: 86,
|
|
36408
|
+
column: 39
|
|
36409
|
+
}
|
|
36410
|
+
}],
|
|
36411
|
+
line: 86
|
|
36412
|
+
},
|
|
36413
|
+
"6": {
|
|
36414
|
+
loc: {
|
|
36415
|
+
start: {
|
|
36416
|
+
line: 87,
|
|
36417
|
+
column: 19
|
|
36418
|
+
},
|
|
36419
|
+
end: {
|
|
36420
|
+
line: 87,
|
|
36421
|
+
column: 74
|
|
36422
|
+
}
|
|
36423
|
+
},
|
|
36424
|
+
type: "cond-expr",
|
|
36425
|
+
locations: [{
|
|
36426
|
+
start: {
|
|
36427
|
+
line: 87,
|
|
36428
|
+
column: 31
|
|
36429
|
+
},
|
|
36430
|
+
end: {
|
|
36431
|
+
line: 87,
|
|
36432
|
+
column: 51
|
|
36433
|
+
}
|
|
36434
|
+
}, {
|
|
36435
|
+
start: {
|
|
36436
|
+
line: 87,
|
|
36437
|
+
column: 54
|
|
36438
|
+
},
|
|
36439
|
+
end: {
|
|
36440
|
+
line: 87,
|
|
36441
|
+
column: 74
|
|
36442
|
+
}
|
|
36443
|
+
}],
|
|
36444
|
+
line: 87
|
|
36445
|
+
}
|
|
36446
|
+
},
|
|
36447
|
+
s: {
|
|
36448
|
+
"0": 0,
|
|
36449
|
+
"1": 0,
|
|
36450
|
+
"2": 0,
|
|
36451
|
+
"3": 0,
|
|
36452
|
+
"4": 0,
|
|
36453
|
+
"5": 0,
|
|
36454
|
+
"6": 0,
|
|
36455
|
+
"7": 0,
|
|
36456
|
+
"8": 0,
|
|
36457
|
+
"9": 0,
|
|
36458
|
+
"10": 0,
|
|
36459
|
+
"11": 0
|
|
36460
|
+
},
|
|
36461
|
+
f: {
|
|
36462
|
+
"0": 0,
|
|
36463
|
+
"1": 0,
|
|
36464
|
+
"2": 0,
|
|
36465
|
+
"3": 0,
|
|
36466
|
+
"4": 0
|
|
36467
|
+
},
|
|
36468
|
+
b: {
|
|
36469
|
+
"0": [0, 0],
|
|
36470
|
+
"1": [0, 0],
|
|
36471
|
+
"2": [0, 0],
|
|
36472
|
+
"3": [0, 0],
|
|
36473
|
+
"4": [0, 0],
|
|
36474
|
+
"5": [0, 0],
|
|
36475
|
+
"6": [0, 0]
|
|
36476
|
+
},
|
|
36477
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
36478
|
+
hash: "027ffb7dc7b431626e71008ddc8edc3a2d938d8a"
|
|
36479
|
+
};
|
|
36480
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
36481
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
36482
|
+
coverage[path] = coverageData;
|
|
36483
|
+
}
|
|
36484
|
+
var actualCoverage = coverage[path];
|
|
36485
|
+
{
|
|
36486
|
+
// @ts-ignore
|
|
36487
|
+
cov_rr7czlpcc = function () {
|
|
36488
|
+
return actualCoverage;
|
|
36489
|
+
};
|
|
36490
|
+
}
|
|
36491
|
+
return actualCoverage;
|
|
36492
|
+
}
|
|
36493
|
+
cov_rr7czlpcc();
|
|
36494
|
+
cov_rr7czlpcc().s[0]++;
|
|
36495
|
+
var EventsDetail = function EventsDetail(_ref) {
|
|
36496
|
+
var _currentPerformer$lab;
|
|
36497
|
+
var events = _ref.events,
|
|
36498
|
+
performer = _ref.performer,
|
|
36499
|
+
conditions = _ref.conditions;
|
|
36500
|
+
cov_rr7czlpcc().f[0]++;
|
|
36501
|
+
var _ref2 = (cov_rr7czlpcc().s[1]++, useState(false)),
|
|
36502
|
+
_ref3 = _slicedToArray(_ref2, 2),
|
|
36503
|
+
viewMore = _ref3[0],
|
|
36504
|
+
setViewMore = _ref3[1];
|
|
36505
|
+
var eventNames = (cov_rr7czlpcc().s[2]++, pluck("name", events.value));
|
|
36506
|
+
var allEvents = (cov_rr7czlpcc().s[3]++, events.eventOptions.filter(function (event) {
|
|
36507
|
+
cov_rr7czlpcc().f[1]++;
|
|
36508
|
+
cov_rr7czlpcc().s[4]++;
|
|
36509
|
+
return eventNames === null || eventNames === void 0 ? void 0 : eventNames.includes(event.value);
|
|
36510
|
+
}));
|
|
36511
|
+
var conditionsList = (cov_rr7czlpcc().s[5]++, conditions.value);
|
|
36512
|
+
var allConditions = (cov_rr7czlpcc().s[6]++, (cov_rr7czlpcc().b[1][0]++, viewMore) && (cov_rr7czlpcc().b[1][1]++, conditionsList.length > 3) ? (cov_rr7czlpcc().b[0][0]++, conditionsList) : (cov_rr7czlpcc().b[0][1]++, conditionsList.slice(0, 3)));
|
|
36513
|
+
var currentPerformer = (cov_rr7czlpcc().s[7]++, findBy({
|
|
36514
|
+
value: performer.value
|
|
36515
|
+
}, performer.options));
|
|
36516
|
+
cov_rr7czlpcc().s[8]++;
|
|
36517
|
+
return /*#__PURE__*/React.createElement(Title, {
|
|
36518
|
+
title: t("common.when")
|
|
36519
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36520
|
+
className: "flex flex-wrap gap-x-2 gap-y-2"
|
|
36521
|
+
}, allEvents.map(function (event, index) {
|
|
36522
|
+
cov_rr7czlpcc().f[2]++;
|
|
36523
|
+
cov_rr7czlpcc().s[9]++;
|
|
36524
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
36525
|
+
className: "flex gap-x-2",
|
|
36526
|
+
key: index
|
|
36527
|
+
}, (cov_rr7czlpcc().b[2][0]++, !index) && (cov_rr7czlpcc().b[2][1]++, /*#__PURE__*/React.createElement(Typography, {
|
|
36528
|
+
className: "neeto-ui-text-gray-700 my-auto",
|
|
36529
|
+
style: "h5",
|
|
36530
|
+
weight: "normal"
|
|
36531
|
+
}, t("common.when"))), (cov_rr7czlpcc().b[3][0]++, !!index) && (cov_rr7czlpcc().b[3][1]++, /*#__PURE__*/React.createElement(Typography, {
|
|
36532
|
+
className: "neeto-ui-text-gray-700 my-auto",
|
|
36533
|
+
style: "h5",
|
|
36534
|
+
weight: "normal"
|
|
36535
|
+
}, t("common.or"))), /*#__PURE__*/React.createElement(Typography, {
|
|
36536
|
+
className: "neeto-ui-text-gray-800",
|
|
36537
|
+
style: "h5",
|
|
36538
|
+
weight: "semibold"
|
|
36539
|
+
}, event.label.toLowerCase()));
|
|
36540
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
36541
|
+
className: "neeto-ui-text-gray-700",
|
|
36542
|
+
style: "h5",
|
|
36543
|
+
weight: "normal"
|
|
36544
|
+
}, t("common.by")), /*#__PURE__*/React.createElement(Typography, {
|
|
36545
|
+
className: "neeto-ui-text-gray-800",
|
|
36546
|
+
style: "h5",
|
|
36547
|
+
weight: "semibold"
|
|
36548
|
+
}, currentPerformer === null || currentPerformer === void 0 ? void 0 : (_currentPerformer$lab = currentPerformer.label) === null || _currentPerformer$lab === void 0 ? void 0 : _currentPerformer$lab.toLowerCase())), /*#__PURE__*/React.createElement(ConditionsDetail, {
|
|
36549
|
+
conditionOptions: conditions.conditionOptions,
|
|
36550
|
+
conditionVerbs: conditions.verbs,
|
|
36551
|
+
conditions: allConditions
|
|
36552
|
+
}), (cov_rr7czlpcc().b[4][0]++, conditionsList.length > 3) && (cov_rr7czlpcc().b[4][1]++, /*#__PURE__*/React.createElement("div", {
|
|
36553
|
+
className: "mt-3 w-full"
|
|
36554
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
36555
|
+
icon: !viewMore ? (cov_rr7czlpcc().b[5][0]++, Down) : (cov_rr7czlpcc().b[5][1]++, Up),
|
|
36556
|
+
label: !viewMore ? (cov_rr7czlpcc().b[6][0]++, t("common.viewMore")) : (cov_rr7czlpcc().b[6][1]++, t("common.viewLess")),
|
|
36557
|
+
size: "small",
|
|
36558
|
+
style: "link",
|
|
36559
|
+
onClick: function onClick() {
|
|
36560
|
+
cov_rr7czlpcc().f[3]++;
|
|
36561
|
+
cov_rr7czlpcc().s[10]++;
|
|
36562
|
+
return setViewMore(function (prevState) {
|
|
36563
|
+
cov_rr7czlpcc().f[4]++;
|
|
36564
|
+
cov_rr7czlpcc().s[11]++;
|
|
36565
|
+
return !prevState;
|
|
36566
|
+
});
|
|
36567
|
+
}
|
|
36568
|
+
}))));
|
|
36569
|
+
};
|
|
36570
|
+
|
|
36571
|
+
function cov_229plf36at() {
|
|
36572
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/index.jsx";
|
|
36573
|
+
var hash = "3462c6a4c7347e110f00d280be805931b49100da";
|
|
36574
|
+
var global = new Function("return this")();
|
|
36575
|
+
var gcv = "__coverage__";
|
|
36576
|
+
var coverageData = {
|
|
36577
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/RulePreview/index.jsx",
|
|
36578
|
+
statementMap: {
|
|
36579
|
+
"0": {
|
|
36580
|
+
start: {
|
|
36581
|
+
line: 10,
|
|
36582
|
+
column: 20
|
|
36583
|
+
},
|
|
36584
|
+
end: {
|
|
36585
|
+
line: 73,
|
|
36586
|
+
column: 1
|
|
36587
|
+
}
|
|
36588
|
+
},
|
|
36589
|
+
"1": {
|
|
36590
|
+
start: {
|
|
36591
|
+
line: 11,
|
|
36592
|
+
column: 16
|
|
36593
|
+
},
|
|
36594
|
+
end: {
|
|
36595
|
+
line: 11,
|
|
36596
|
+
column: 32
|
|
36597
|
+
}
|
|
36598
|
+
},
|
|
36599
|
+
"2": {
|
|
36600
|
+
start: {
|
|
36601
|
+
line: 13,
|
|
36602
|
+
column: 2
|
|
36603
|
+
},
|
|
36604
|
+
end: {
|
|
36605
|
+
line: 13,
|
|
36606
|
+
column: 39
|
|
36607
|
+
}
|
|
36608
|
+
},
|
|
36609
|
+
"3": {
|
|
36610
|
+
start: {
|
|
36611
|
+
line: 13,
|
|
36612
|
+
column: 17
|
|
36613
|
+
},
|
|
36614
|
+
end: {
|
|
36615
|
+
line: 13,
|
|
36616
|
+
column: 39
|
|
36617
|
+
}
|
|
36618
|
+
},
|
|
36619
|
+
"4": {
|
|
36620
|
+
start: {
|
|
36621
|
+
line: 15,
|
|
36622
|
+
column: 2
|
|
36623
|
+
},
|
|
36624
|
+
end: {
|
|
36625
|
+
line: 72,
|
|
36626
|
+
column: 4
|
|
36627
|
+
}
|
|
36628
|
+
}
|
|
36629
|
+
},
|
|
36630
|
+
fnMap: {
|
|
36631
|
+
"0": {
|
|
36632
|
+
name: "(anonymous_0)",
|
|
36633
|
+
decl: {
|
|
36634
|
+
start: {
|
|
36635
|
+
line: 10,
|
|
36636
|
+
column: 20
|
|
36637
|
+
},
|
|
36638
|
+
end: {
|
|
36639
|
+
line: 10,
|
|
36640
|
+
column: 21
|
|
36641
|
+
}
|
|
36642
|
+
},
|
|
36643
|
+
loc: {
|
|
36644
|
+
start: {
|
|
36645
|
+
line: 10,
|
|
36646
|
+
column: 69
|
|
36647
|
+
},
|
|
36648
|
+
end: {
|
|
36649
|
+
line: 73,
|
|
36650
|
+
column: 1
|
|
36651
|
+
}
|
|
36652
|
+
},
|
|
36653
|
+
line: 10
|
|
36654
|
+
}
|
|
36655
|
+
},
|
|
36656
|
+
branchMap: {
|
|
36657
|
+
"0": {
|
|
36658
|
+
loc: {
|
|
36659
|
+
start: {
|
|
36660
|
+
line: 13,
|
|
36661
|
+
column: 2
|
|
36662
|
+
},
|
|
36663
|
+
end: {
|
|
36664
|
+
line: 13,
|
|
36665
|
+
column: 39
|
|
36666
|
+
}
|
|
36667
|
+
},
|
|
36668
|
+
type: "if",
|
|
36669
|
+
locations: [{
|
|
36670
|
+
start: {
|
|
36671
|
+
line: 13,
|
|
36672
|
+
column: 2
|
|
36673
|
+
},
|
|
36674
|
+
end: {
|
|
36675
|
+
line: 13,
|
|
36676
|
+
column: 39
|
|
36677
|
+
}
|
|
36678
|
+
}, {
|
|
36679
|
+
start: {
|
|
36680
|
+
line: undefined,
|
|
36681
|
+
column: undefined
|
|
36682
|
+
},
|
|
36683
|
+
end: {
|
|
36684
|
+
line: undefined,
|
|
36685
|
+
column: undefined
|
|
36686
|
+
}
|
|
36687
|
+
}],
|
|
36688
|
+
line: 13
|
|
36689
|
+
}
|
|
36690
|
+
},
|
|
36691
|
+
s: {
|
|
36692
|
+
"0": 0,
|
|
36693
|
+
"1": 0,
|
|
36694
|
+
"2": 0,
|
|
36695
|
+
"3": 0,
|
|
36696
|
+
"4": 0
|
|
36697
|
+
},
|
|
36698
|
+
f: {
|
|
36699
|
+
"0": 0
|
|
36700
|
+
},
|
|
36701
|
+
b: {
|
|
36702
|
+
"0": [0, 0]
|
|
36703
|
+
},
|
|
36704
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
36705
|
+
hash: "3462c6a4c7347e110f00d280be805931b49100da"
|
|
36706
|
+
};
|
|
36707
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
36708
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
36709
|
+
coverage[path] = coverageData;
|
|
36710
|
+
}
|
|
36711
|
+
var actualCoverage = coverage[path];
|
|
36712
|
+
{
|
|
36713
|
+
// @ts-ignore
|
|
36714
|
+
cov_229plf36at = function () {
|
|
36715
|
+
return actualCoverage;
|
|
36716
|
+
};
|
|
36717
|
+
}
|
|
36718
|
+
return actualCoverage;
|
|
36719
|
+
}
|
|
36720
|
+
cov_229plf36at();
|
|
36721
|
+
cov_229plf36at().s[0]++;
|
|
36722
|
+
var RulePreview = function RulePreview(_ref) {
|
|
36723
|
+
var isLoading = _ref.isLoading,
|
|
36724
|
+
ruleDetails = _ref.ruleDetails,
|
|
36725
|
+
isOpen = _ref.isOpen,
|
|
36726
|
+
onClose = _ref.onClose;
|
|
36727
|
+
cov_229plf36at().f[0]++;
|
|
36728
|
+
var _ref2 = (cov_229plf36at().s[1]++, useTranslation()),
|
|
36729
|
+
t = _ref2.t;
|
|
36730
|
+
cov_229plf36at().s[2]++;
|
|
36731
|
+
if (isLoading) {
|
|
36732
|
+
cov_229plf36at().b[0][0]++;
|
|
36733
|
+
cov_229plf36at().s[3]++;
|
|
36734
|
+
return /*#__PURE__*/React.createElement(PageLoader, null);
|
|
36735
|
+
} else {
|
|
36736
|
+
cov_229plf36at().b[0][1]++;
|
|
36737
|
+
}
|
|
36738
|
+
cov_229plf36at().s[4]++;
|
|
36739
|
+
return /*#__PURE__*/React.createElement(Pane, {
|
|
36740
|
+
isOpen: isOpen,
|
|
36741
|
+
onClose: onClose
|
|
36742
|
+
}, /*#__PURE__*/React.createElement(Pane.Header, null, /*#__PURE__*/React.createElement(Typography, {
|
|
36743
|
+
style: "h2",
|
|
36744
|
+
weight: "semibold"
|
|
36745
|
+
}, t("labels.ruleSummary"))), /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
36746
|
+
className: "w-full"
|
|
36747
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36748
|
+
className: "neeto-ui-rounded mb-4 border p-4"
|
|
36749
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36750
|
+
className: "mb-3 flex flex-wrap justify-between gap-x-4"
|
|
36751
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36752
|
+
className: "neeto-ui-text-gray-700 my-auto",
|
|
36753
|
+
style: "h5",
|
|
36754
|
+
weight: "semibold"
|
|
36755
|
+
}, t("common.name")), /*#__PURE__*/React.createElement("div", {
|
|
36756
|
+
className: "flex w-72 flex-wrap"
|
|
36757
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36758
|
+
className: "neeto-ui-text-gray-800 my-auto",
|
|
36759
|
+
style: "h5",
|
|
36760
|
+
weight: "normal"
|
|
36761
|
+
}, ruleDetails.name.value))), /*#__PURE__*/React.createElement("hr", null), /*#__PURE__*/React.createElement("div", {
|
|
36762
|
+
className: "my-3 flex flex-wrap justify-between gap-x-2"
|
|
36763
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36764
|
+
className: "neeto-ui-text-gray-700 my-auto",
|
|
36765
|
+
style: "h5",
|
|
36766
|
+
weight: "semibold"
|
|
36767
|
+
}, t("common.description")), /*#__PURE__*/React.createElement("div", {
|
|
36768
|
+
className: "flex w-72 flex-wrap"
|
|
36769
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36770
|
+
className: "neeto-ui-text-gray-800 my-auto",
|
|
36771
|
+
style: "h5",
|
|
36772
|
+
weight: "normal"
|
|
36773
|
+
}, ruleDetails.description.value)))), /*#__PURE__*/React.createElement(EventsDetail, {
|
|
36774
|
+
conditions: ruleDetails.conditions,
|
|
36775
|
+
events: ruleDetails.events,
|
|
36776
|
+
performer: ruleDetails.performer
|
|
36777
|
+
}), /*#__PURE__*/React.createElement(ActionsDetail, {
|
|
36778
|
+
actions: ruleDetails.actions
|
|
36779
|
+
}))));
|
|
36780
|
+
};
|
|
36781
|
+
|
|
36782
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
36783
|
+
try {
|
|
36784
|
+
var info = gen[key](arg);
|
|
36785
|
+
var value = info.value;
|
|
36786
|
+
} catch (error) {
|
|
36787
|
+
reject(error);
|
|
36788
|
+
return;
|
|
36789
|
+
}
|
|
36790
|
+
if (info.done) {
|
|
36791
|
+
resolve(value);
|
|
36792
|
+
} else {
|
|
36793
|
+
Promise.resolve(value).then(_next, _throw);
|
|
36794
|
+
}
|
|
36795
|
+
}
|
|
36796
|
+
function _asyncToGenerator(fn) {
|
|
36797
|
+
return function () {
|
|
36798
|
+
var self = this,
|
|
36799
|
+
args = arguments;
|
|
36800
|
+
return new Promise(function (resolve, reject) {
|
|
36801
|
+
var gen = fn.apply(self, args);
|
|
36802
|
+
function _next(value) {
|
|
36803
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
36804
|
+
}
|
|
36805
|
+
function _throw(err) {
|
|
36806
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
36807
|
+
}
|
|
36808
|
+
_next(undefined);
|
|
36809
|
+
});
|
|
36810
|
+
};
|
|
36811
|
+
}
|
|
36812
|
+
|
|
36813
|
+
var regeneratorRuntime$1 = {exports: {}};
|
|
36814
|
+
|
|
36815
|
+
var _typeof = {exports: {}};
|
|
36816
|
+
|
|
36817
|
+
(function (module) {
|
|
36818
|
+
function _typeof(obj) {
|
|
36819
|
+
"@babel/helpers - typeof";
|
|
36820
|
+
|
|
36821
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
36822
|
+
return typeof obj;
|
|
36823
|
+
} : function (obj) {
|
|
36824
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
36825
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
36826
|
+
}
|
|
36827
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
36828
|
+
})(_typeof);
|
|
36829
|
+
|
|
36830
|
+
(function (module) {
|
|
36831
|
+
var _typeof$1 = _typeof.exports["default"];
|
|
36832
|
+
function _regeneratorRuntime() {
|
|
36833
|
+
|
|
36834
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
36835
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
36836
|
+
return exports;
|
|
36837
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
36838
|
+
var exports = {},
|
|
36839
|
+
Op = Object.prototype,
|
|
36840
|
+
hasOwn = Op.hasOwnProperty,
|
|
36841
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
36842
|
+
obj[key] = desc.value;
|
|
36843
|
+
},
|
|
36844
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
36845
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
36846
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
36847
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
36848
|
+
function define(obj, key, value) {
|
|
36849
|
+
return Object.defineProperty(obj, key, {
|
|
36850
|
+
value: value,
|
|
36851
|
+
enumerable: !0,
|
|
36852
|
+
configurable: !0,
|
|
36853
|
+
writable: !0
|
|
36854
|
+
}), obj[key];
|
|
36855
|
+
}
|
|
36856
|
+
try {
|
|
36857
|
+
define({}, "");
|
|
36858
|
+
} catch (err) {
|
|
36859
|
+
define = function define(obj, key, value) {
|
|
36860
|
+
return obj[key] = value;
|
|
36861
|
+
};
|
|
36862
|
+
}
|
|
36863
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
36864
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
36865
|
+
generator = Object.create(protoGenerator.prototype),
|
|
36866
|
+
context = new Context(tryLocsList || []);
|
|
36867
|
+
return defineProperty(generator, "_invoke", {
|
|
36868
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
36869
|
+
}), generator;
|
|
36870
|
+
}
|
|
36871
|
+
function tryCatch(fn, obj, arg) {
|
|
36872
|
+
try {
|
|
36873
|
+
return {
|
|
36874
|
+
type: "normal",
|
|
36875
|
+
arg: fn.call(obj, arg)
|
|
36876
|
+
};
|
|
36877
|
+
} catch (err) {
|
|
36878
|
+
return {
|
|
36879
|
+
type: "throw",
|
|
36880
|
+
arg: err
|
|
36881
|
+
};
|
|
36882
|
+
}
|
|
36883
|
+
}
|
|
36884
|
+
exports.wrap = wrap;
|
|
36885
|
+
var ContinueSentinel = {};
|
|
36886
|
+
function Generator() {}
|
|
36887
|
+
function GeneratorFunction() {}
|
|
36888
|
+
function GeneratorFunctionPrototype() {}
|
|
36889
|
+
var IteratorPrototype = {};
|
|
36890
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
36891
|
+
return this;
|
|
36892
|
+
});
|
|
36893
|
+
var getProto = Object.getPrototypeOf,
|
|
36894
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
36895
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
36896
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
36897
|
+
function defineIteratorMethods(prototype) {
|
|
36898
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
36899
|
+
define(prototype, method, function (arg) {
|
|
36900
|
+
return this._invoke(method, arg);
|
|
36901
|
+
});
|
|
36902
|
+
});
|
|
36903
|
+
}
|
|
36904
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
36905
|
+
function invoke(method, arg, resolve, reject) {
|
|
36906
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
36907
|
+
if ("throw" !== record.type) {
|
|
36908
|
+
var result = record.arg,
|
|
36909
|
+
value = result.value;
|
|
36910
|
+
return value && "object" == _typeof$1(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
36911
|
+
invoke("next", value, resolve, reject);
|
|
36912
|
+
}, function (err) {
|
|
36913
|
+
invoke("throw", err, resolve, reject);
|
|
36914
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
36915
|
+
result.value = unwrapped, resolve(result);
|
|
36916
|
+
}, function (error) {
|
|
36917
|
+
return invoke("throw", error, resolve, reject);
|
|
36918
|
+
});
|
|
36919
|
+
}
|
|
36920
|
+
reject(record.arg);
|
|
36921
|
+
}
|
|
36922
|
+
var previousPromise;
|
|
36923
|
+
defineProperty(this, "_invoke", {
|
|
36924
|
+
value: function value(method, arg) {
|
|
36925
|
+
function callInvokeWithMethodAndArg() {
|
|
36926
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
36927
|
+
invoke(method, arg, resolve, reject);
|
|
36928
|
+
});
|
|
36929
|
+
}
|
|
36930
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
36931
|
+
}
|
|
36932
|
+
});
|
|
36933
|
+
}
|
|
36934
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
36935
|
+
var state = "suspendedStart";
|
|
36936
|
+
return function (method, arg) {
|
|
36937
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
36938
|
+
if ("completed" === state) {
|
|
36939
|
+
if ("throw" === method) throw arg;
|
|
36940
|
+
return doneResult();
|
|
36941
|
+
}
|
|
36942
|
+
for (context.method = method, context.arg = arg;;) {
|
|
36943
|
+
var delegate = context.delegate;
|
|
36944
|
+
if (delegate) {
|
|
36945
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
36946
|
+
if (delegateResult) {
|
|
36947
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
36948
|
+
return delegateResult;
|
|
36949
|
+
}
|
|
36950
|
+
}
|
|
36951
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
36952
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
36953
|
+
context.dispatchException(context.arg);
|
|
36954
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
36955
|
+
state = "executing";
|
|
36956
|
+
var record = tryCatch(innerFn, self, context);
|
|
36957
|
+
if ("normal" === record.type) {
|
|
36958
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
36959
|
+
return {
|
|
36960
|
+
value: record.arg,
|
|
36961
|
+
done: context.done
|
|
36962
|
+
};
|
|
36963
|
+
}
|
|
36964
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
36965
|
+
}
|
|
36966
|
+
};
|
|
36967
|
+
}
|
|
36968
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
36969
|
+
var methodName = context.method,
|
|
36970
|
+
method = delegate.iterator[methodName];
|
|
36971
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
36972
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
36973
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
36974
|
+
var info = record.arg;
|
|
36975
|
+
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
36976
|
+
}
|
|
36977
|
+
function pushTryEntry(locs) {
|
|
36978
|
+
var entry = {
|
|
36979
|
+
tryLoc: locs[0]
|
|
36980
|
+
};
|
|
36981
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
36982
|
+
}
|
|
36983
|
+
function resetTryEntry(entry) {
|
|
36984
|
+
var record = entry.completion || {};
|
|
36985
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
36986
|
+
}
|
|
36987
|
+
function Context(tryLocsList) {
|
|
36988
|
+
this.tryEntries = [{
|
|
36989
|
+
tryLoc: "root"
|
|
36990
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
36991
|
+
}
|
|
36992
|
+
function values(iterable) {
|
|
36993
|
+
if (iterable) {
|
|
36994
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
36995
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
36996
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
36997
|
+
if (!isNaN(iterable.length)) {
|
|
36998
|
+
var i = -1,
|
|
36999
|
+
next = function next() {
|
|
37000
|
+
for (; ++i < iterable.length;) {
|
|
37001
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
37002
|
+
}
|
|
37003
|
+
return next.value = undefined, next.done = !0, next;
|
|
37004
|
+
};
|
|
37005
|
+
return next.next = next;
|
|
37006
|
+
}
|
|
37007
|
+
}
|
|
37008
|
+
return {
|
|
37009
|
+
next: doneResult
|
|
37010
|
+
};
|
|
37011
|
+
}
|
|
37012
|
+
function doneResult() {
|
|
37013
|
+
return {
|
|
37014
|
+
value: undefined,
|
|
37015
|
+
done: !0
|
|
37016
|
+
};
|
|
37017
|
+
}
|
|
37018
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
37019
|
+
value: GeneratorFunctionPrototype,
|
|
37020
|
+
configurable: !0
|
|
37021
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
37022
|
+
value: GeneratorFunction,
|
|
37023
|
+
configurable: !0
|
|
37024
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
37025
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
37026
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
37027
|
+
}, exports.mark = function (genFun) {
|
|
37028
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
37029
|
+
}, exports.awrap = function (arg) {
|
|
37030
|
+
return {
|
|
37031
|
+
__await: arg
|
|
37032
|
+
};
|
|
37033
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
37034
|
+
return this;
|
|
37035
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
37036
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
37037
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
37038
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
37039
|
+
return result.done ? result.value : iter.next();
|
|
37040
|
+
});
|
|
37041
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
37042
|
+
return this;
|
|
37043
|
+
}), define(Gp, "toString", function () {
|
|
37044
|
+
return "[object Generator]";
|
|
37045
|
+
}), exports.keys = function (val) {
|
|
37046
|
+
var object = Object(val),
|
|
37047
|
+
keys = [];
|
|
37048
|
+
for (var key in object) {
|
|
37049
|
+
keys.push(key);
|
|
37050
|
+
}
|
|
37051
|
+
return keys.reverse(), function next() {
|
|
37052
|
+
for (; keys.length;) {
|
|
37053
|
+
var key = keys.pop();
|
|
37054
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
37055
|
+
}
|
|
37056
|
+
return next.done = !0, next;
|
|
37057
|
+
};
|
|
37058
|
+
}, exports.values = values, Context.prototype = {
|
|
37059
|
+
constructor: Context,
|
|
37060
|
+
reset: function reset(skipTempReset) {
|
|
37061
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
|
|
37062
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
37063
|
+
}
|
|
37064
|
+
},
|
|
37065
|
+
stop: function stop() {
|
|
37066
|
+
this.done = !0;
|
|
37067
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
37068
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
37069
|
+
return this.rval;
|
|
37070
|
+
},
|
|
37071
|
+
dispatchException: function dispatchException(exception) {
|
|
37072
|
+
if (this.done) throw exception;
|
|
37073
|
+
var context = this;
|
|
37074
|
+
function handle(loc, caught) {
|
|
37075
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
37076
|
+
}
|
|
37077
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
37078
|
+
var entry = this.tryEntries[i],
|
|
37079
|
+
record = entry.completion;
|
|
37080
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
37081
|
+
if (entry.tryLoc <= this.prev) {
|
|
37082
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
37083
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
37084
|
+
if (hasCatch && hasFinally) {
|
|
37085
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
37086
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
37087
|
+
} else if (hasCatch) {
|
|
37088
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
37089
|
+
} else {
|
|
37090
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
37091
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
37092
|
+
}
|
|
37093
|
+
}
|
|
37094
|
+
}
|
|
37095
|
+
},
|
|
37096
|
+
abrupt: function abrupt(type, arg) {
|
|
37097
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
37098
|
+
var entry = this.tryEntries[i];
|
|
37099
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
37100
|
+
var finallyEntry = entry;
|
|
37101
|
+
break;
|
|
37102
|
+
}
|
|
37103
|
+
}
|
|
37104
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
37105
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
37106
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
37107
|
+
},
|
|
37108
|
+
complete: function complete(record, afterLoc) {
|
|
37109
|
+
if ("throw" === record.type) throw record.arg;
|
|
37110
|
+
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
37111
|
+
},
|
|
37112
|
+
finish: function finish(finallyLoc) {
|
|
37113
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
37114
|
+
var entry = this.tryEntries[i];
|
|
37115
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
37116
|
+
}
|
|
37117
|
+
},
|
|
37118
|
+
"catch": function _catch(tryLoc) {
|
|
37119
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
37120
|
+
var entry = this.tryEntries[i];
|
|
37121
|
+
if (entry.tryLoc === tryLoc) {
|
|
37122
|
+
var record = entry.completion;
|
|
37123
|
+
if ("throw" === record.type) {
|
|
37124
|
+
var thrown = record.arg;
|
|
37125
|
+
resetTryEntry(entry);
|
|
37126
|
+
}
|
|
37127
|
+
return thrown;
|
|
37128
|
+
}
|
|
37129
|
+
}
|
|
37130
|
+
throw new Error("illegal catch attempt");
|
|
37131
|
+
},
|
|
37132
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
37133
|
+
return this.delegate = {
|
|
37134
|
+
iterator: values(iterable),
|
|
37135
|
+
resultName: resultName,
|
|
37136
|
+
nextLoc: nextLoc
|
|
37137
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
37138
|
+
}
|
|
37139
|
+
}, exports;
|
|
37140
|
+
}
|
|
37141
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
37142
|
+
})(regeneratorRuntime$1);
|
|
37143
|
+
|
|
37144
|
+
// TODO(Babel 8): Remove this file.
|
|
37145
|
+
|
|
37146
|
+
var runtime = regeneratorRuntime$1.exports();
|
|
37147
|
+
var regenerator = runtime;
|
|
37148
|
+
|
|
37149
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
37150
|
+
try {
|
|
37151
|
+
regeneratorRuntime = runtime;
|
|
37152
|
+
} catch (accidentalStrictMode) {
|
|
37153
|
+
if ((typeof globalThis === "undefined" ? "undefined" : _typeof$2(globalThis)) === "object") {
|
|
37154
|
+
globalThis.regeneratorRuntime = runtime;
|
|
37155
|
+
} else {
|
|
37156
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
37157
|
+
}
|
|
37158
|
+
}
|
|
37159
|
+
|
|
37160
|
+
function cov_k2snexiez() {
|
|
37161
|
+
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/constants.js";
|
|
37162
|
+
var hash = "a62a7b0d81cfcce07b53d50e2f5aad6922fc1011";
|
|
37163
|
+
var global = new Function("return this")();
|
|
37164
|
+
var gcv = "__coverage__";
|
|
37165
|
+
var coverageData = {
|
|
37166
|
+
path: "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/constants.js",
|
|
37167
|
+
statementMap: {
|
|
37168
|
+
"0": {
|
|
37169
|
+
start: {
|
|
37170
|
+
line: 3,
|
|
37171
|
+
column: 21
|
|
37172
|
+
},
|
|
37173
|
+
end: {
|
|
37174
|
+
line: 18,
|
|
37175
|
+
column: 1
|
|
37176
|
+
}
|
|
37177
|
+
},
|
|
37178
|
+
"1": {
|
|
37179
|
+
start: {
|
|
37180
|
+
line: 20,
|
|
37181
|
+
column: 33
|
|
37182
|
+
},
|
|
37183
|
+
end: {
|
|
37184
|
+
line: 31,
|
|
37185
|
+
column: 1
|
|
37186
|
+
}
|
|
37187
|
+
},
|
|
37188
|
+
"2": {
|
|
37189
|
+
start: {
|
|
37190
|
+
line: 33,
|
|
37191
|
+
column: 16
|
|
37192
|
+
},
|
|
37193
|
+
end: {
|
|
37194
|
+
line: 36,
|
|
37195
|
+
column: 1
|
|
37196
|
+
}
|
|
37197
|
+
},
|
|
37198
|
+
"3": {
|
|
37199
|
+
start: {
|
|
37200
|
+
line: 38,
|
|
37201
|
+
column: 28
|
|
37202
|
+
},
|
|
37203
|
+
end: {
|
|
37204
|
+
line: 41,
|
|
37205
|
+
column: 1
|
|
37206
|
+
}
|
|
37207
|
+
},
|
|
37208
|
+
"4": {
|
|
37209
|
+
start: {
|
|
37210
|
+
line: 43,
|
|
37211
|
+
column: 22
|
|
37212
|
+
},
|
|
37213
|
+
end: {
|
|
37214
|
+
line: 43,
|
|
37215
|
+
column: 67
|
|
37216
|
+
}
|
|
37217
|
+
},
|
|
37218
|
+
"5": {
|
|
37219
|
+
start: {
|
|
37220
|
+
line: 45,
|
|
37221
|
+
column: 20
|
|
37222
|
+
},
|
|
37223
|
+
end: {
|
|
37224
|
+
line: 45,
|
|
37225
|
+
column: 48
|
|
37226
|
+
}
|
|
37227
|
+
},
|
|
37228
|
+
"6": {
|
|
37229
|
+
start: {
|
|
37230
|
+
line: 47,
|
|
37231
|
+
column: 30
|
|
37232
|
+
},
|
|
37233
|
+
end: {
|
|
37234
|
+
line: 47,
|
|
37235
|
+
column: 31
|
|
37236
|
+
}
|
|
37237
|
+
},
|
|
37238
|
+
"7": {
|
|
37239
|
+
start: {
|
|
37240
|
+
line: 49,
|
|
37241
|
+
column: 27
|
|
37242
|
+
},
|
|
37243
|
+
end: {
|
|
37244
|
+
line: 49,
|
|
37245
|
+
column: 65
|
|
37246
|
+
}
|
|
37247
|
+
}
|
|
37248
|
+
},
|
|
37249
|
+
fnMap: {},
|
|
37250
|
+
branchMap: {},
|
|
37251
|
+
s: {
|
|
37252
|
+
"0": 0,
|
|
37253
|
+
"1": 0,
|
|
37254
|
+
"2": 0,
|
|
37255
|
+
"3": 0,
|
|
37256
|
+
"4": 0,
|
|
37257
|
+
"5": 0,
|
|
37258
|
+
"6": 0,
|
|
37259
|
+
"7": 0
|
|
37260
|
+
},
|
|
37261
|
+
f: {},
|
|
37262
|
+
b: {},
|
|
37263
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
37264
|
+
hash: "a62a7b0d81cfcce07b53d50e2f5aad6922fc1011"
|
|
37265
|
+
};
|
|
37266
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
37267
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
37268
|
+
coverage[path] = coverageData;
|
|
37269
|
+
}
|
|
37270
|
+
var actualCoverage = coverage[path];
|
|
37271
|
+
{
|
|
37272
|
+
// @ts-ignore
|
|
37273
|
+
cov_k2snexiez = function () {
|
|
37274
|
+
return actualCoverage;
|
|
37275
|
+
};
|
|
37276
|
+
}
|
|
37277
|
+
return actualCoverage;
|
|
37278
|
+
}
|
|
37279
|
+
cov_k2snexiez();
|
|
37280
|
+
var ACTION_TYPES = (cov_k2snexiez().s[0]++, {
|
|
37281
|
+
emailToIds: "emailToIds",
|
|
37282
|
+
email: "email",
|
|
37283
|
+
emailTo: "emailTo",
|
|
37284
|
+
dropdown: "dropdown",
|
|
37285
|
+
list: "list",
|
|
37286
|
+
multiSelect: "multiSelect",
|
|
37287
|
+
note: "note",
|
|
37288
|
+
text: "text",
|
|
37289
|
+
number: "number",
|
|
37290
|
+
decimal: "decimal",
|
|
37291
|
+
regex: "regex",
|
|
37292
|
+
textarea: "textarea",
|
|
37293
|
+
date: "date",
|
|
37294
|
+
longText: "longText"
|
|
37295
|
+
});
|
|
37296
|
+
var LIST_FIELD_TOOLTIP_PROPS = (cov_k2snexiez().s[1]++, {
|
|
37297
|
+
save: {
|
|
34414
37298
|
content: t("buttons.save"),
|
|
34415
37299
|
position: "top",
|
|
34416
37300
|
delay: 300
|
|
@@ -41899,7 +44783,7 @@ var getSlackChannelErrors = function getSlackChannelErrors(slackChannels, action
|
|
|
41899
44783
|
|
|
41900
44784
|
function cov_ydtn5b3nu() {
|
|
41901
44785
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/DropdownField.jsx";
|
|
41902
|
-
var hash = "
|
|
44786
|
+
var hash = "f757258b10f39c22c2519e0f955df06c0555bce5";
|
|
41903
44787
|
var global = new Function("return this")();
|
|
41904
44788
|
var gcv = "__coverage__";
|
|
41905
44789
|
var coverageData = {
|
|
@@ -41921,7 +44805,7 @@ function cov_ydtn5b3nu() {
|
|
|
41921
44805
|
column: 22
|
|
41922
44806
|
},
|
|
41923
44807
|
end: {
|
|
41924
|
-
line:
|
|
44808
|
+
line: 156,
|
|
41925
44809
|
column: 1
|
|
41926
44810
|
}
|
|
41927
44811
|
},
|
|
@@ -42081,7 +44965,7 @@ function cov_ydtn5b3nu() {
|
|
|
42081
44965
|
column: 36
|
|
42082
44966
|
},
|
|
42083
44967
|
end: {
|
|
42084
|
-
line:
|
|
44968
|
+
line: 69,
|
|
42085
44969
|
column: 3
|
|
42086
44970
|
}
|
|
42087
44971
|
},
|
|
@@ -42091,7 +44975,7 @@ function cov_ydtn5b3nu() {
|
|
|
42091
44975
|
column: 4
|
|
42092
44976
|
},
|
|
42093
44977
|
end: {
|
|
42094
|
-
line:
|
|
44978
|
+
line: 68,
|
|
42095
44979
|
column: 5
|
|
42096
44980
|
}
|
|
42097
44981
|
},
|
|
@@ -42111,7 +44995,7 @@ function cov_ydtn5b3nu() {
|
|
|
42111
44995
|
column: 6
|
|
42112
44996
|
},
|
|
42113
44997
|
end: {
|
|
42114
|
-
line:
|
|
44998
|
+
line: 65,
|
|
42115
44999
|
column: 7
|
|
42116
45000
|
}
|
|
42117
45001
|
},
|
|
@@ -42137,121 +45021,131 @@ function cov_ydtn5b3nu() {
|
|
|
42137
45021
|
},
|
|
42138
45022
|
"23": {
|
|
42139
45023
|
start: {
|
|
42140
|
-
line:
|
|
45024
|
+
line: 64,
|
|
45025
|
+
column: 8
|
|
45026
|
+
},
|
|
45027
|
+
end: {
|
|
45028
|
+
line: 64,
|
|
45029
|
+
column: 34
|
|
45030
|
+
}
|
|
45031
|
+
},
|
|
45032
|
+
"24": {
|
|
45033
|
+
start: {
|
|
45034
|
+
line: 67,
|
|
42141
45035
|
column: 6
|
|
42142
45036
|
},
|
|
42143
45037
|
end: {
|
|
42144
|
-
line:
|
|
45038
|
+
line: 67,
|
|
42145
45039
|
column: 56
|
|
42146
45040
|
}
|
|
42147
45041
|
},
|
|
42148
|
-
"
|
|
45042
|
+
"25": {
|
|
42149
45043
|
start: {
|
|
42150
|
-
line:
|
|
45044
|
+
line: 71,
|
|
42151
45045
|
column: 2
|
|
42152
45046
|
},
|
|
42153
45047
|
end: {
|
|
42154
|
-
line:
|
|
45048
|
+
line: 73,
|
|
42155
45049
|
column: 38
|
|
42156
45050
|
}
|
|
42157
45051
|
},
|
|
42158
|
-
"
|
|
45052
|
+
"26": {
|
|
42159
45053
|
start: {
|
|
42160
|
-
line:
|
|
45054
|
+
line: 72,
|
|
42161
45055
|
column: 4
|
|
42162
45056
|
},
|
|
42163
45057
|
end: {
|
|
42164
|
-
line:
|
|
45058
|
+
line: 72,
|
|
42165
45059
|
column: 32
|
|
42166
45060
|
}
|
|
42167
45061
|
},
|
|
42168
|
-
"
|
|
45062
|
+
"27": {
|
|
42169
45063
|
start: {
|
|
42170
|
-
line:
|
|
45064
|
+
line: 75,
|
|
42171
45065
|
column: 2
|
|
42172
45066
|
},
|
|
42173
45067
|
end: {
|
|
42174
|
-
line:
|
|
45068
|
+
line: 155,
|
|
42175
45069
|
column: 4
|
|
42176
45070
|
}
|
|
42177
45071
|
},
|
|
42178
|
-
"
|
|
45072
|
+
"28": {
|
|
42179
45073
|
start: {
|
|
42180
|
-
line:
|
|
45074
|
+
line: 103,
|
|
42181
45075
|
column: 14
|
|
42182
45076
|
},
|
|
42183
45077
|
end: {
|
|
42184
|
-
line:
|
|
45078
|
+
line: 103,
|
|
42185
45079
|
column: 80
|
|
42186
45080
|
}
|
|
42187
45081
|
},
|
|
42188
|
-
"
|
|
45082
|
+
"29": {
|
|
42189
45083
|
start: {
|
|
42190
|
-
line:
|
|
45084
|
+
line: 104,
|
|
42191
45085
|
column: 14
|
|
42192
45086
|
},
|
|
42193
45087
|
end: {
|
|
42194
|
-
line:
|
|
45088
|
+
line: 104,
|
|
42195
45089
|
column: 51
|
|
42196
45090
|
}
|
|
42197
45091
|
},
|
|
42198
|
-
"
|
|
45092
|
+
"30": {
|
|
42199
45093
|
start: {
|
|
42200
|
-
line:
|
|
45094
|
+
line: 104,
|
|
42201
45095
|
column: 39
|
|
42202
45096
|
},
|
|
42203
45097
|
end: {
|
|
42204
|
-
line:
|
|
45098
|
+
line: 104,
|
|
42205
45099
|
column: 49
|
|
42206
45100
|
}
|
|
42207
45101
|
},
|
|
42208
|
-
"
|
|
45102
|
+
"31": {
|
|
42209
45103
|
start: {
|
|
42210
|
-
line:
|
|
45104
|
+
line: 121,
|
|
42211
45105
|
column: 29
|
|
42212
45106
|
},
|
|
42213
45107
|
end: {
|
|
42214
|
-
line:
|
|
45108
|
+
line: 121,
|
|
42215
45109
|
column: 58
|
|
42216
45110
|
}
|
|
42217
45111
|
},
|
|
42218
|
-
"
|
|
45112
|
+
"32": {
|
|
42219
45113
|
start: {
|
|
42220
|
-
line:
|
|
45114
|
+
line: 122,
|
|
42221
45115
|
column: 28
|
|
42222
45116
|
},
|
|
42223
45117
|
end: {
|
|
42224
|
-
line:
|
|
45118
|
+
line: 122,
|
|
42225
45119
|
column: 47
|
|
42226
45120
|
}
|
|
42227
45121
|
},
|
|
42228
|
-
"
|
|
45122
|
+
"33": {
|
|
42229
45123
|
start: {
|
|
42230
|
-
line:
|
|
45124
|
+
line: 129,
|
|
42231
45125
|
column: 14
|
|
42232
45126
|
},
|
|
42233
45127
|
end: {
|
|
42234
|
-
line:
|
|
45128
|
+
line: 144,
|
|
42235
45129
|
column: 32
|
|
42236
45130
|
}
|
|
42237
45131
|
},
|
|
42238
|
-
"
|
|
45132
|
+
"34": {
|
|
42239
45133
|
start: {
|
|
42240
|
-
line:
|
|
45134
|
+
line: 141,
|
|
42241
45135
|
column: 31
|
|
42242
45136
|
},
|
|
42243
45137
|
end: {
|
|
42244
|
-
line:
|
|
45138
|
+
line: 141,
|
|
42245
45139
|
column: 57
|
|
42246
45140
|
}
|
|
42247
45141
|
},
|
|
42248
|
-
"
|
|
45142
|
+
"35": {
|
|
42249
45143
|
start: {
|
|
42250
|
-
line:
|
|
45144
|
+
line: 158,
|
|
42251
45145
|
column: 0
|
|
42252
45146
|
},
|
|
42253
45147
|
end: {
|
|
42254
|
-
line:
|
|
45148
|
+
line: 162,
|
|
42255
45149
|
column: 2
|
|
42256
45150
|
}
|
|
42257
45151
|
}
|
|
@@ -42275,7 +45169,7 @@ function cov_ydtn5b3nu() {
|
|
|
42275
45169
|
column: 75
|
|
42276
45170
|
},
|
|
42277
45171
|
end: {
|
|
42278
|
-
line:
|
|
45172
|
+
line: 156,
|
|
42279
45173
|
column: 1
|
|
42280
45174
|
}
|
|
42281
45175
|
},
|
|
@@ -42347,7 +45241,7 @@ function cov_ydtn5b3nu() {
|
|
|
42347
45241
|
column: 42
|
|
42348
45242
|
},
|
|
42349
45243
|
end: {
|
|
42350
|
-
line:
|
|
45244
|
+
line: 69,
|
|
42351
45245
|
column: 3
|
|
42352
45246
|
}
|
|
42353
45247
|
},
|
|
@@ -42357,169 +45251,169 @@ function cov_ydtn5b3nu() {
|
|
|
42357
45251
|
name: "(anonymous_4)",
|
|
42358
45252
|
decl: {
|
|
42359
45253
|
start: {
|
|
42360
|
-
line:
|
|
45254
|
+
line: 71,
|
|
42361
45255
|
column: 12
|
|
42362
45256
|
},
|
|
42363
45257
|
end: {
|
|
42364
|
-
line:
|
|
45258
|
+
line: 71,
|
|
42365
45259
|
column: 13
|
|
42366
45260
|
}
|
|
42367
45261
|
},
|
|
42368
45262
|
loc: {
|
|
42369
45263
|
start: {
|
|
42370
|
-
line:
|
|
45264
|
+
line: 71,
|
|
42371
45265
|
column: 18
|
|
42372
45266
|
},
|
|
42373
45267
|
end: {
|
|
42374
|
-
line:
|
|
45268
|
+
line: 73,
|
|
42375
45269
|
column: 3
|
|
42376
45270
|
}
|
|
42377
45271
|
},
|
|
42378
|
-
line:
|
|
45272
|
+
line: 71
|
|
42379
45273
|
},
|
|
42380
45274
|
"5": {
|
|
42381
45275
|
name: "(anonymous_5)",
|
|
42382
45276
|
decl: {
|
|
42383
45277
|
start: {
|
|
42384
|
-
line:
|
|
45278
|
+
line: 102,
|
|
42385
45279
|
column: 21
|
|
42386
45280
|
},
|
|
42387
45281
|
end: {
|
|
42388
|
-
line:
|
|
45282
|
+
line: 102,
|
|
42389
45283
|
column: 22
|
|
42390
45284
|
}
|
|
42391
45285
|
},
|
|
42392
45286
|
loc: {
|
|
42393
45287
|
start: {
|
|
42394
|
-
line:
|
|
45288
|
+
line: 102,
|
|
42395
45289
|
column: 27
|
|
42396
45290
|
},
|
|
42397
45291
|
end: {
|
|
42398
|
-
line:
|
|
45292
|
+
line: 105,
|
|
42399
45293
|
column: 13
|
|
42400
45294
|
}
|
|
42401
45295
|
},
|
|
42402
|
-
line:
|
|
45296
|
+
line: 102
|
|
42403
45297
|
},
|
|
42404
45298
|
"6": {
|
|
42405
45299
|
name: "(anonymous_6)",
|
|
42406
45300
|
decl: {
|
|
42407
45301
|
start: {
|
|
42408
|
-
line:
|
|
45302
|
+
line: 104,
|
|
42409
45303
|
column: 26
|
|
42410
45304
|
},
|
|
42411
45305
|
end: {
|
|
42412
|
-
line:
|
|
45306
|
+
line: 104,
|
|
42413
45307
|
column: 27
|
|
42414
45308
|
}
|
|
42415
45309
|
},
|
|
42416
45310
|
loc: {
|
|
42417
45311
|
start: {
|
|
42418
|
-
line:
|
|
45312
|
+
line: 104,
|
|
42419
45313
|
column: 39
|
|
42420
45314
|
},
|
|
42421
45315
|
end: {
|
|
42422
|
-
line:
|
|
45316
|
+
line: 104,
|
|
42423
45317
|
column: 49
|
|
42424
45318
|
}
|
|
42425
45319
|
},
|
|
42426
|
-
line:
|
|
45320
|
+
line: 104
|
|
42427
45321
|
},
|
|
42428
45322
|
"7": {
|
|
42429
45323
|
name: "(anonymous_7)",
|
|
42430
45324
|
decl: {
|
|
42431
45325
|
start: {
|
|
42432
|
-
line:
|
|
45326
|
+
line: 121,
|
|
42433
45327
|
column: 24
|
|
42434
45328
|
},
|
|
42435
45329
|
end: {
|
|
42436
|
-
line:
|
|
45330
|
+
line: 121,
|
|
42437
45331
|
column: 25
|
|
42438
45332
|
}
|
|
42439
45333
|
},
|
|
42440
45334
|
loc: {
|
|
42441
45335
|
start: {
|
|
42442
|
-
line:
|
|
45336
|
+
line: 121,
|
|
42443
45337
|
column: 29
|
|
42444
45338
|
},
|
|
42445
45339
|
end: {
|
|
42446
|
-
line:
|
|
45340
|
+
line: 121,
|
|
42447
45341
|
column: 58
|
|
42448
45342
|
}
|
|
42449
45343
|
},
|
|
42450
|
-
line:
|
|
45344
|
+
line: 121
|
|
42451
45345
|
},
|
|
42452
45346
|
"8": {
|
|
42453
45347
|
name: "(anonymous_8)",
|
|
42454
45348
|
decl: {
|
|
42455
45349
|
start: {
|
|
42456
|
-
line:
|
|
45350
|
+
line: 122,
|
|
42457
45351
|
column: 23
|
|
42458
45352
|
},
|
|
42459
45353
|
end: {
|
|
42460
|
-
line:
|
|
45354
|
+
line: 122,
|
|
42461
45355
|
column: 24
|
|
42462
45356
|
}
|
|
42463
45357
|
},
|
|
42464
45358
|
loc: {
|
|
42465
45359
|
start: {
|
|
42466
|
-
line:
|
|
45360
|
+
line: 122,
|
|
42467
45361
|
column: 28
|
|
42468
45362
|
},
|
|
42469
45363
|
end: {
|
|
42470
|
-
line:
|
|
45364
|
+
line: 122,
|
|
42471
45365
|
column: 47
|
|
42472
45366
|
}
|
|
42473
45367
|
},
|
|
42474
|
-
line:
|
|
45368
|
+
line: 122
|
|
42475
45369
|
},
|
|
42476
45370
|
"9": {
|
|
42477
45371
|
name: "(anonymous_9)",
|
|
42478
45372
|
decl: {
|
|
42479
45373
|
start: {
|
|
42480
|
-
line:
|
|
45374
|
+
line: 128,
|
|
42481
45375
|
column: 33
|
|
42482
45376
|
},
|
|
42483
45377
|
end: {
|
|
42484
|
-
line:
|
|
45378
|
+
line: 128,
|
|
42485
45379
|
column: 34
|
|
42486
45380
|
}
|
|
42487
45381
|
},
|
|
42488
45382
|
loc: {
|
|
42489
45383
|
start: {
|
|
42490
|
-
line:
|
|
45384
|
+
line: 129,
|
|
42491
45385
|
column: 14
|
|
42492
45386
|
},
|
|
42493
45387
|
end: {
|
|
42494
|
-
line:
|
|
45388
|
+
line: 144,
|
|
42495
45389
|
column: 32
|
|
42496
45390
|
}
|
|
42497
45391
|
},
|
|
42498
|
-
line:
|
|
45392
|
+
line: 129
|
|
42499
45393
|
},
|
|
42500
45394
|
"10": {
|
|
42501
45395
|
name: "(anonymous_10)",
|
|
42502
45396
|
decl: {
|
|
42503
45397
|
start: {
|
|
42504
|
-
line:
|
|
45398
|
+
line: 141,
|
|
42505
45399
|
column: 25
|
|
42506
45400
|
},
|
|
42507
45401
|
end: {
|
|
42508
|
-
line:
|
|
45402
|
+
line: 141,
|
|
42509
45403
|
column: 26
|
|
42510
45404
|
}
|
|
42511
45405
|
},
|
|
42512
45406
|
loc: {
|
|
42513
45407
|
start: {
|
|
42514
|
-
line:
|
|
45408
|
+
line: 141,
|
|
42515
45409
|
column: 31
|
|
42516
45410
|
},
|
|
42517
45411
|
end: {
|
|
42518
|
-
line:
|
|
45412
|
+
line: 141,
|
|
42519
45413
|
column: 57
|
|
42520
45414
|
}
|
|
42521
45415
|
},
|
|
42522
|
-
line:
|
|
45416
|
+
line: 141
|
|
42523
45417
|
}
|
|
42524
45418
|
},
|
|
42525
45419
|
branchMap: {
|
|
@@ -42647,7 +45541,7 @@ function cov_ydtn5b3nu() {
|
|
|
42647
45541
|
column: 4
|
|
42648
45542
|
},
|
|
42649
45543
|
end: {
|
|
42650
|
-
line:
|
|
45544
|
+
line: 68,
|
|
42651
45545
|
column: 5
|
|
42652
45546
|
}
|
|
42653
45547
|
},
|
|
@@ -42658,16 +45552,16 @@ function cov_ydtn5b3nu() {
|
|
|
42658
45552
|
column: 4
|
|
42659
45553
|
},
|
|
42660
45554
|
end: {
|
|
42661
|
-
line:
|
|
45555
|
+
line: 68,
|
|
42662
45556
|
column: 5
|
|
42663
45557
|
}
|
|
42664
45558
|
}, {
|
|
42665
45559
|
start: {
|
|
42666
|
-
line:
|
|
45560
|
+
line: 66,
|
|
42667
45561
|
column: 11
|
|
42668
45562
|
},
|
|
42669
45563
|
end: {
|
|
42670
|
-
line:
|
|
45564
|
+
line: 68,
|
|
42671
45565
|
column: 5
|
|
42672
45566
|
}
|
|
42673
45567
|
}],
|
|
@@ -42680,7 +45574,7 @@ function cov_ydtn5b3nu() {
|
|
|
42680
45574
|
column: 6
|
|
42681
45575
|
},
|
|
42682
45576
|
end: {
|
|
42683
|
-
line:
|
|
45577
|
+
line: 65,
|
|
42684
45578
|
column: 7
|
|
42685
45579
|
}
|
|
42686
45580
|
},
|
|
@@ -42691,7 +45585,7 @@ function cov_ydtn5b3nu() {
|
|
|
42691
45585
|
column: 6
|
|
42692
45586
|
},
|
|
42693
45587
|
end: {
|
|
42694
|
-
line:
|
|
45588
|
+
line: 65,
|
|
42695
45589
|
column: 7
|
|
42696
45590
|
}
|
|
42697
45591
|
}, {
|
|
@@ -42700,7 +45594,7 @@ function cov_ydtn5b3nu() {
|
|
|
42700
45594
|
column: 13
|
|
42701
45595
|
},
|
|
42702
45596
|
end: {
|
|
42703
|
-
line:
|
|
45597
|
+
line: 65,
|
|
42704
45598
|
column: 7
|
|
42705
45599
|
}
|
|
42706
45600
|
}],
|
|
@@ -42709,134 +45603,134 @@ function cov_ydtn5b3nu() {
|
|
|
42709
45603
|
"5": {
|
|
42710
45604
|
loc: {
|
|
42711
45605
|
start: {
|
|
42712
|
-
line:
|
|
45606
|
+
line: 77,
|
|
42713
45607
|
column: 7
|
|
42714
45608
|
},
|
|
42715
45609
|
end: {
|
|
42716
|
-
line:
|
|
45610
|
+
line: 86,
|
|
42717
45611
|
column: 7
|
|
42718
45612
|
}
|
|
42719
45613
|
},
|
|
42720
45614
|
type: "binary-expr",
|
|
42721
45615
|
locations: [{
|
|
42722
45616
|
start: {
|
|
42723
|
-
line:
|
|
45617
|
+
line: 77,
|
|
42724
45618
|
column: 7
|
|
42725
45619
|
},
|
|
42726
45620
|
end: {
|
|
42727
|
-
line:
|
|
45621
|
+
line: 77,
|
|
42728
45622
|
column: 35
|
|
42729
45623
|
}
|
|
42730
45624
|
}, {
|
|
42731
45625
|
start: {
|
|
42732
|
-
line:
|
|
45626
|
+
line: 78,
|
|
42733
45627
|
column: 8
|
|
42734
45628
|
},
|
|
42735
45629
|
end: {
|
|
42736
|
-
line:
|
|
45630
|
+
line: 85,
|
|
42737
45631
|
column: 21
|
|
42738
45632
|
}
|
|
42739
45633
|
}],
|
|
42740
|
-
line:
|
|
45634
|
+
line: 77
|
|
42741
45635
|
},
|
|
42742
45636
|
"6": {
|
|
42743
45637
|
loc: {
|
|
42744
45638
|
start: {
|
|
42745
|
-
line:
|
|
45639
|
+
line: 113,
|
|
42746
45640
|
column: 11
|
|
42747
45641
|
},
|
|
42748
45642
|
end: {
|
|
42749
|
-
line:
|
|
45643
|
+
line: 124,
|
|
42750
45644
|
column: 11
|
|
42751
45645
|
}
|
|
42752
45646
|
},
|
|
42753
45647
|
type: "binary-expr",
|
|
42754
45648
|
locations: [{
|
|
42755
45649
|
start: {
|
|
42756
|
-
line:
|
|
45650
|
+
line: 113,
|
|
42757
45651
|
column: 11
|
|
42758
45652
|
},
|
|
42759
45653
|
end: {
|
|
42760
|
-
line:
|
|
45654
|
+
line: 113,
|
|
42761
45655
|
column: 57
|
|
42762
45656
|
}
|
|
42763
45657
|
}, {
|
|
42764
45658
|
start: {
|
|
42765
|
-
line:
|
|
45659
|
+
line: 114,
|
|
42766
45660
|
column: 12
|
|
42767
45661
|
},
|
|
42768
45662
|
end: {
|
|
42769
|
-
line:
|
|
45663
|
+
line: 123,
|
|
42770
45664
|
column: 14
|
|
42771
45665
|
}
|
|
42772
45666
|
}],
|
|
42773
|
-
line:
|
|
45667
|
+
line: 113
|
|
42774
45668
|
},
|
|
42775
45669
|
"7": {
|
|
42776
45670
|
loc: {
|
|
42777
45671
|
start: {
|
|
42778
|
-
line:
|
|
45672
|
+
line: 137,
|
|
42779
45673
|
column: 18
|
|
42780
45674
|
},
|
|
42781
45675
|
end: {
|
|
42782
|
-
line:
|
|
45676
|
+
line: 139,
|
|
42783
45677
|
column: 19
|
|
42784
45678
|
}
|
|
42785
45679
|
},
|
|
42786
45680
|
type: "binary-expr",
|
|
42787
45681
|
locations: [{
|
|
42788
45682
|
start: {
|
|
42789
|
-
line:
|
|
45683
|
+
line: 137,
|
|
42790
45684
|
column: 18
|
|
42791
45685
|
},
|
|
42792
45686
|
end: {
|
|
42793
|
-
line:
|
|
45687
|
+
line: 137,
|
|
42794
45688
|
column: 62
|
|
42795
45689
|
}
|
|
42796
45690
|
}, {
|
|
42797
45691
|
start: {
|
|
42798
|
-
line:
|
|
45692
|
+
line: 138,
|
|
42799
45693
|
column: 20
|
|
42800
45694
|
},
|
|
42801
45695
|
end: {
|
|
42802
|
-
line:
|
|
45696
|
+
line: 138,
|
|
42803
45697
|
column: 67
|
|
42804
45698
|
}
|
|
42805
45699
|
}],
|
|
42806
|
-
line:
|
|
45700
|
+
line: 137
|
|
42807
45701
|
},
|
|
42808
45702
|
"8": {
|
|
42809
45703
|
loc: {
|
|
42810
45704
|
start: {
|
|
42811
|
-
line:
|
|
45705
|
+
line: 147,
|
|
42812
45706
|
column: 11
|
|
42813
45707
|
},
|
|
42814
45708
|
end: {
|
|
42815
|
-
line:
|
|
45709
|
+
line: 151,
|
|
42816
45710
|
column: 11
|
|
42817
45711
|
}
|
|
42818
45712
|
},
|
|
42819
45713
|
type: "binary-expr",
|
|
42820
45714
|
locations: [{
|
|
42821
45715
|
start: {
|
|
42822
|
-
line:
|
|
45716
|
+
line: 147,
|
|
42823
45717
|
column: 11
|
|
42824
45718
|
},
|
|
42825
45719
|
end: {
|
|
42826
|
-
line:
|
|
45720
|
+
line: 147,
|
|
42827
45721
|
column: 35
|
|
42828
45722
|
}
|
|
42829
45723
|
}, {
|
|
42830
45724
|
start: {
|
|
42831
|
-
line:
|
|
45725
|
+
line: 148,
|
|
42832
45726
|
column: 12
|
|
42833
45727
|
},
|
|
42834
45728
|
end: {
|
|
42835
|
-
line:
|
|
45729
|
+
line: 150,
|
|
42836
45730
|
column: 30
|
|
42837
45731
|
}
|
|
42838
45732
|
}],
|
|
42839
|
-
line:
|
|
45733
|
+
line: 147
|
|
42840
45734
|
}
|
|
42841
45735
|
},
|
|
42842
45736
|
s: {
|
|
@@ -42874,7 +45768,8 @@ function cov_ydtn5b3nu() {
|
|
|
42874
45768
|
"31": 0,
|
|
42875
45769
|
"32": 0,
|
|
42876
45770
|
"33": 0,
|
|
42877
|
-
"34": 0
|
|
45771
|
+
"34": 0,
|
|
45772
|
+
"35": 0
|
|
42878
45773
|
},
|
|
42879
45774
|
f: {
|
|
42880
45775
|
"0": 0,
|
|
@@ -42901,7 +45796,7 @@ function cov_ydtn5b3nu() {
|
|
|
42901
45796
|
"8": [0, 0]
|
|
42902
45797
|
},
|
|
42903
45798
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
42904
|
-
hash: "
|
|
45799
|
+
hash: "f757258b10f39c22c2519e0f955df06c0555bce5"
|
|
42905
45800
|
};
|
|
42906
45801
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
42907
45802
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -42989,22 +45884,24 @@ var DropdownField$1 = function DropdownField(_ref2) {
|
|
|
42989
45884
|
setDefaultSelectedOption({
|
|
42990
45885
|
label: defaultLabel
|
|
42991
45886
|
});
|
|
45887
|
+
cov_ydtn5b3nu().s[23]++;
|
|
45888
|
+
setFieldValue(name, null);
|
|
42992
45889
|
}
|
|
42993
45890
|
} else {
|
|
42994
45891
|
cov_ydtn5b3nu().b[3][1]++;
|
|
42995
|
-
cov_ydtn5b3nu().s[
|
|
45892
|
+
cov_ydtn5b3nu().s[24]++;
|
|
42996
45893
|
setDefaultSelectedOption({
|
|
42997
45894
|
label: defaultLabel
|
|
42998
45895
|
});
|
|
42999
45896
|
}
|
|
43000
45897
|
};
|
|
43001
|
-
cov_ydtn5b3nu().s[
|
|
45898
|
+
cov_ydtn5b3nu().s[25]++;
|
|
43002
45899
|
useEffect(function () {
|
|
43003
45900
|
cov_ydtn5b3nu().f[4]++;
|
|
43004
|
-
cov_ydtn5b3nu().s[
|
|
45901
|
+
cov_ydtn5b3nu().s[26]++;
|
|
43005
45902
|
findDefaultSelectedOption();
|
|
43006
45903
|
}, [defaultValue, dropdownOptions]);
|
|
43007
|
-
cov_ydtn5b3nu().s[
|
|
45904
|
+
cov_ydtn5b3nu().s[27]++;
|
|
43008
45905
|
return /*#__PURE__*/React.createElement(React.Fragment, null, (cov_ydtn5b3nu().b[5][0]++, !selectedField.hideSeparator) && (cov_ydtn5b3nu().b[5][1]++, /*#__PURE__*/React.createElement(Typography, {
|
|
43009
45906
|
className: "neeto-ui-text-gray-700 mt-1",
|
|
43010
45907
|
"data-cy": "action-dropdown-seperator-text",
|
|
@@ -43023,12 +45920,12 @@ var DropdownField$1 = function DropdownField(_ref2) {
|
|
|
43023
45920
|
}),
|
|
43024
45921
|
onClick: function onClick() {
|
|
43025
45922
|
cov_ydtn5b3nu().f[5]++;
|
|
43026
|
-
cov_ydtn5b3nu().s[27]++;
|
|
43027
|
-
setTouched(assocPath(["actions", "value", index], true, touched));
|
|
43028
45923
|
cov_ydtn5b3nu().s[28]++;
|
|
45924
|
+
setTouched(assocPath(["actions", "value", index], true, touched));
|
|
45925
|
+
cov_ydtn5b3nu().s[29]++;
|
|
43029
45926
|
setIsActive(function (prevState) {
|
|
43030
45927
|
cov_ydtn5b3nu().f[6]++;
|
|
43031
|
-
cov_ydtn5b3nu().s[
|
|
45928
|
+
cov_ydtn5b3nu().s[30]++;
|
|
43032
45929
|
return !prevState;
|
|
43033
45930
|
});
|
|
43034
45931
|
}
|
|
@@ -43045,19 +45942,19 @@ var DropdownField$1 = function DropdownField(_ref2) {
|
|
|
43045
45942
|
value: searchTerm,
|
|
43046
45943
|
onChange: function onChange(e) {
|
|
43047
45944
|
cov_ydtn5b3nu().f[7]++;
|
|
43048
|
-
cov_ydtn5b3nu().s[
|
|
45945
|
+
cov_ydtn5b3nu().s[31]++;
|
|
43049
45946
|
return setSearchTerm(e.target.value);
|
|
43050
45947
|
},
|
|
43051
45948
|
onClick: function onClick(e) {
|
|
43052
45949
|
cov_ydtn5b3nu().f[8]++;
|
|
43053
|
-
cov_ydtn5b3nu().s[
|
|
45950
|
+
cov_ydtn5b3nu().s[32]++;
|
|
43054
45951
|
return e.stopPropagation();
|
|
43055
45952
|
}
|
|
43056
45953
|
})), /*#__PURE__*/React.createElement(OptionsWrapper, {
|
|
43057
45954
|
hasScroll: dropdownOptions.length > MAXIMUM_OPTION_LENGTH$3
|
|
43058
45955
|
}, searchedOptions.map(function (option, idx) {
|
|
43059
45956
|
cov_ydtn5b3nu().f[9]++;
|
|
43060
|
-
cov_ydtn5b3nu().s[
|
|
45957
|
+
cov_ydtn5b3nu().s[33]++;
|
|
43061
45958
|
return /*#__PURE__*/React.createElement(MenuItem$9.Button, {
|
|
43062
45959
|
"data-cy": "".concat(joinHyphenCase(option.label), "-menu-item"),
|
|
43063
45960
|
key: idx,
|
|
@@ -43069,7 +45966,7 @@ var DropdownField$1 = function DropdownField(_ref2) {
|
|
|
43069
45966
|
})),
|
|
43070
45967
|
onClick: function onClick() {
|
|
43071
45968
|
cov_ydtn5b3nu().f[10]++;
|
|
43072
|
-
cov_ydtn5b3nu().s[
|
|
45969
|
+
cov_ydtn5b3nu().s[34]++;
|
|
43073
45970
|
return handleSelectOption(option);
|
|
43074
45971
|
}
|
|
43075
45972
|
}, option.label);
|
|
@@ -43077,7 +45974,7 @@ var DropdownField$1 = function DropdownField(_ref2) {
|
|
|
43077
45974
|
"data-cy": "no-options-menu-item"
|
|
43078
45975
|
}, t("common.noOptions"))))));
|
|
43079
45976
|
};
|
|
43080
|
-
cov_ydtn5b3nu().s[
|
|
45977
|
+
cov_ydtn5b3nu().s[35]++;
|
|
43081
45978
|
|
|
43082
45979
|
function cov_1ifnsi25f3() {
|
|
43083
45980
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/Fields/EditorAction.jsx";
|
|
@@ -71068,5 +73965,5 @@ function cov_2lkzw7diw1() {
|
|
|
71068
73965
|
}
|
|
71069
73966
|
cov_2lkzw7diw1();
|
|
71070
73967
|
|
|
71071
|
-
export { Actions$1 as ActionForm, Conditions$1 as ConditionForm, NeetoRules as NeetoRulesForm, NeetoRules$2 as default };
|
|
73968
|
+
export { Actions$1 as ActionForm, Conditions$1 as ConditionForm, NeetoRules as NeetoRulesForm, RulePreview, NeetoRules$2 as default };
|
|
71072
73969
|
//# sourceMappingURL=index.js.map
|