@bigbinary/neeto-form-frontend 1.0.37 → 1.0.39
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 +2 -0
- package/dist/index.cjs.js +1430 -691
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1431 -692
- package/dist/index.js.map +1 -1
- package/index.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6493,7 +6493,7 @@ function _objectWithoutProperties$1(source, excluded) {
|
|
|
6493
6493
|
return target;
|
|
6494
6494
|
}
|
|
6495
6495
|
|
|
6496
|
-
var _excluded$
|
|
6496
|
+
var _excluded$n = ["size"],
|
|
6497
6497
|
_excluded2$3 = ["size"],
|
|
6498
6498
|
_excluded3$2 = ["size"],
|
|
6499
6499
|
_excluded4$1 = ["size"],
|
|
@@ -6933,7 +6933,7 @@ var Star = function Star(props) {
|
|
|
6933
6933
|
var _ref = (cov_3ymiqznmu().s[1]++, props),
|
|
6934
6934
|
_ref$size = _ref.size,
|
|
6935
6935
|
size = _ref$size === void 0 ? (cov_3ymiqznmu().b[0][0]++, 20) : _ref$size,
|
|
6936
|
-
other = _objectWithoutProperties$1(_ref, _excluded$
|
|
6936
|
+
other = _objectWithoutProperties$1(_ref, _excluded$n);
|
|
6937
6937
|
cov_3ymiqznmu().s[2]++;
|
|
6938
6938
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$9({
|
|
6939
6939
|
fill: "none",
|
|
@@ -7070,7 +7070,7 @@ var Trophy = function Trophy(_ref5) {
|
|
|
7070
7070
|
|
|
7071
7071
|
function cov_2qs8napxwn() {
|
|
7072
7072
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/constants.jsx";
|
|
7073
|
-
var hash = "
|
|
7073
|
+
var hash = "06c0fa99a8044bfa85dba10dcf9fa947503a23c0";
|
|
7074
7074
|
var global = new Function("return this")();
|
|
7075
7075
|
var gcv = "__coverage__";
|
|
7076
7076
|
var coverageData = {
|
|
@@ -7082,57 +7082,57 @@ function cov_2qs8napxwn() {
|
|
|
7082
7082
|
column: 29
|
|
7083
7083
|
},
|
|
7084
7084
|
end: {
|
|
7085
|
-
line:
|
|
7085
|
+
line: 39,
|
|
7086
7086
|
column: 1
|
|
7087
7087
|
}
|
|
7088
7088
|
},
|
|
7089
7089
|
"1": {
|
|
7090
7090
|
start: {
|
|
7091
|
-
line:
|
|
7091
|
+
line: 41,
|
|
7092
7092
|
column: 29
|
|
7093
7093
|
},
|
|
7094
7094
|
end: {
|
|
7095
|
-
line:
|
|
7095
|
+
line: 45,
|
|
7096
7096
|
column: 1
|
|
7097
7097
|
}
|
|
7098
7098
|
},
|
|
7099
7099
|
"2": {
|
|
7100
7100
|
start: {
|
|
7101
|
-
line:
|
|
7101
|
+
line: 47,
|
|
7102
7102
|
column: 42
|
|
7103
7103
|
},
|
|
7104
7104
|
end: {
|
|
7105
|
-
line:
|
|
7106
|
-
column:
|
|
7105
|
+
line: 47,
|
|
7106
|
+
column: 73
|
|
7107
7107
|
}
|
|
7108
7108
|
},
|
|
7109
7109
|
"3": {
|
|
7110
7110
|
start: {
|
|
7111
|
-
line:
|
|
7111
|
+
line: 49,
|
|
7112
7112
|
column: 30
|
|
7113
7113
|
},
|
|
7114
7114
|
end: {
|
|
7115
|
-
line:
|
|
7115
|
+
line: 65,
|
|
7116
7116
|
column: 1
|
|
7117
7117
|
}
|
|
7118
7118
|
},
|
|
7119
7119
|
"4": {
|
|
7120
7120
|
start: {
|
|
7121
|
-
line:
|
|
7121
|
+
line: 67,
|
|
7122
7122
|
column: 35
|
|
7123
7123
|
},
|
|
7124
7124
|
end: {
|
|
7125
|
-
line:
|
|
7125
|
+
line: 67,
|
|
7126
7126
|
column: 49
|
|
7127
7127
|
}
|
|
7128
7128
|
},
|
|
7129
7129
|
"5": {
|
|
7130
7130
|
start: {
|
|
7131
|
-
line:
|
|
7131
|
+
line: 69,
|
|
7132
7132
|
column: 25
|
|
7133
7133
|
},
|
|
7134
7134
|
end: {
|
|
7135
|
-
line:
|
|
7135
|
+
line: 75,
|
|
7136
7136
|
column: 1
|
|
7137
7137
|
}
|
|
7138
7138
|
}
|
|
@@ -7150,7 +7150,7 @@ function cov_2qs8napxwn() {
|
|
|
7150
7150
|
f: {},
|
|
7151
7151
|
b: {},
|
|
7152
7152
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
7153
|
-
hash: "
|
|
7153
|
+
hash: "06c0fa99a8044bfa85dba10dcf9fa947503a23c0"
|
|
7154
7154
|
};
|
|
7155
7155
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
7156
7156
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -7194,6 +7194,9 @@ var QUESTION_KIND = (cov_2qs8napxwn().s[0]++, {
|
|
|
7194
7194
|
DROPDOWN: {
|
|
7195
7195
|
value: "dropdown"
|
|
7196
7196
|
},
|
|
7197
|
+
PARAGRAPH: {
|
|
7198
|
+
value: "paragraph"
|
|
7199
|
+
},
|
|
7197
7200
|
TEXTAREA: {
|
|
7198
7201
|
value: "textarea"
|
|
7199
7202
|
},
|
|
@@ -7210,6 +7213,10 @@ var QUESTION_KIND = (cov_2qs8napxwn().s[0]++, {
|
|
|
7210
7213
|
value: "termsandcondition",
|
|
7211
7214
|
type: "checkbox"
|
|
7212
7215
|
},
|
|
7216
|
+
CONDITION: {
|
|
7217
|
+
value: "condition",
|
|
7218
|
+
type: "checkbox"
|
|
7219
|
+
},
|
|
7213
7220
|
DATE: {
|
|
7214
7221
|
value: "date"
|
|
7215
7222
|
},
|
|
@@ -7234,7 +7241,7 @@ var RATING_VALUES = (cov_2qs8napxwn().s[1]++, {
|
|
|
7234
7241
|
value: "bad"
|
|
7235
7242
|
}
|
|
7236
7243
|
});
|
|
7237
|
-
var SCHEMA_LESS_QUESTION_KINDS = (cov_2qs8napxwn().s[2]++, [QUESTION_KIND.
|
|
7244
|
+
var SCHEMA_LESS_QUESTION_KINDS = (cov_2qs8napxwn().s[2]++, [QUESTION_KIND.PARAGRAPH.value]);
|
|
7238
7245
|
var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
|
|
7239
7246
|
icon: SvgHappyFace,
|
|
7240
7247
|
modifier: "happy",
|
|
@@ -8457,7 +8464,7 @@ var queryClient = (cov_dn5xf8jlj().s[0]++, new QueryClient({
|
|
|
8457
8464
|
})
|
|
8458
8465
|
}));
|
|
8459
8466
|
|
|
8460
|
-
var _excluded$
|
|
8467
|
+
var _excluded$m = ["formId", "preview"],
|
|
8461
8468
|
_excluded3$1 = ["formId", "submissionId"];
|
|
8462
8469
|
function cov_2atpj3pe74() {
|
|
8463
8470
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/hooks/useFormApi.js";
|
|
@@ -10157,7 +10164,7 @@ cov_2atpj3pe74().s[0]++;
|
|
|
10157
10164
|
var useForm = function useForm(_ref) {
|
|
10158
10165
|
var formId = _ref.formId,
|
|
10159
10166
|
preview = _ref.preview,
|
|
10160
|
-
options = _objectWithoutProperties$1(_ref, _excluded$
|
|
10167
|
+
options = _objectWithoutProperties$1(_ref, _excluded$m);
|
|
10161
10168
|
cov_2atpj3pe74().f[0]++;
|
|
10162
10169
|
cov_2atpj3pe74().s[1]++;
|
|
10163
10170
|
return useQuery([QUERY_KEYS.QUESTIONS, preview ? (cov_2atpj3pe74().b[0][0]++, "preview/".concat(formId)) : (cov_2atpj3pe74().b[0][1]++, formId)], function () {
|
|
@@ -12395,7 +12402,7 @@ reactIs_production_min.typeOf=y;
|
|
|
12395
12402
|
}
|
|
12396
12403
|
} (reactIs));
|
|
12397
12404
|
|
|
12398
|
-
var _excluded$
|
|
12405
|
+
var _excluded$l = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"],
|
|
12399
12406
|
_excluded2$2 = ["reactReduxForwardedRef"];
|
|
12400
12407
|
|
|
12401
12408
|
var EMPTY_ARRAY = [];
|
|
@@ -12545,7 +12552,7 @@ _ref) {
|
|
|
12545
12552
|
forwardRef = _ref2$forwardRef === void 0 ? false : _ref2$forwardRef,
|
|
12546
12553
|
_ref2$context = _ref2.context,
|
|
12547
12554
|
context = _ref2$context === void 0 ? ReactReduxContext : _ref2$context,
|
|
12548
|
-
connectOptions = _objectWithoutPropertiesLoose$1(_ref2, _excluded$
|
|
12555
|
+
connectOptions = _objectWithoutPropertiesLoose$1(_ref2, _excluded$l);
|
|
12549
12556
|
|
|
12550
12557
|
var Context = context;
|
|
12551
12558
|
return function wrapWithConnect(WrappedComponent) {
|
|
@@ -12904,7 +12911,7 @@ function whenMergePropsIsOmitted(mergeProps) {
|
|
|
12904
12911
|
}
|
|
12905
12912
|
var defaultMergePropsFactories = [whenMergePropsIsFunction, whenMergePropsIsOmitted];
|
|
12906
12913
|
|
|
12907
|
-
var _excluded$
|
|
12914
|
+
var _excluded$k = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"];
|
|
12908
12915
|
function impureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch) {
|
|
12909
12916
|
return function impureFinalPropsSelector(state, ownProps) {
|
|
12910
12917
|
return mergeProps(mapStateToProps(state, ownProps), mapDispatchToProps(dispatch, ownProps), ownProps);
|
|
@@ -12977,7 +12984,7 @@ function finalPropsSelectorFactory(dispatch, _ref2) {
|
|
|
12977
12984
|
var initMapStateToProps = _ref2.initMapStateToProps,
|
|
12978
12985
|
initMapDispatchToProps = _ref2.initMapDispatchToProps,
|
|
12979
12986
|
initMergeProps = _ref2.initMergeProps,
|
|
12980
|
-
options = _objectWithoutPropertiesLoose$1(_ref2, _excluded$
|
|
12987
|
+
options = _objectWithoutPropertiesLoose$1(_ref2, _excluded$k);
|
|
12981
12988
|
|
|
12982
12989
|
var mapStateToProps = initMapStateToProps(dispatch, options);
|
|
12983
12990
|
var mapDispatchToProps = initMapDispatchToProps(dispatch, options);
|
|
@@ -12987,7 +12994,7 @@ function finalPropsSelectorFactory(dispatch, _ref2) {
|
|
|
12987
12994
|
return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);
|
|
12988
12995
|
}
|
|
12989
12996
|
|
|
12990
|
-
var _excluded$
|
|
12997
|
+
var _excluded$j = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"];
|
|
12991
12998
|
/*
|
|
12992
12999
|
connect is a facade over connectAdvanced. It turns its args into a compatible
|
|
12993
13000
|
selectorFactory, which has the signature:
|
|
@@ -13051,7 +13058,7 @@ function createConnect(_temp) {
|
|
|
13051
13058
|
areStatePropsEqual = _ref3$areStatePropsEq === void 0 ? shallowEqual : _ref3$areStatePropsEq,
|
|
13052
13059
|
_ref3$areMergedPropsE = _ref3.areMergedPropsEqual,
|
|
13053
13060
|
areMergedPropsEqual = _ref3$areMergedPropsE === void 0 ? shallowEqual : _ref3$areMergedPropsE,
|
|
13054
|
-
extraOptions = _objectWithoutPropertiesLoose$1(_ref3, _excluded$
|
|
13061
|
+
extraOptions = _objectWithoutPropertiesLoose$1(_ref3, _excluded$j);
|
|
13055
13062
|
|
|
13056
13063
|
var initMapStateToProps = match$1(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');
|
|
13057
13064
|
var initMapDispatchToProps = match$1(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');
|
|
@@ -22178,7 +22185,7 @@ var ListItem = function ListItem(_ref) {
|
|
|
22178
22185
|
}, label));
|
|
22179
22186
|
};
|
|
22180
22187
|
|
|
22181
|
-
var _excluded$
|
|
22188
|
+
var _excluded$i = ["size", "color"],
|
|
22182
22189
|
_excluded2$1 = ["size", "color"],
|
|
22183
22190
|
_excluded3 = ["size", "color"],
|
|
22184
22191
|
_excluded4 = ["size", "color"];
|
|
@@ -22498,7 +22505,7 @@ var BadSmiley = function BadSmiley(props) {
|
|
|
22498
22505
|
var _ref = (cov_1dollm8rdo().s[1]++, props),
|
|
22499
22506
|
size = _ref.size,
|
|
22500
22507
|
color = _ref.color,
|
|
22501
|
-
other = _objectWithoutProperties$1(_ref, _excluded$
|
|
22508
|
+
other = _objectWithoutProperties$1(_ref, _excluded$i);
|
|
22502
22509
|
cov_1dollm8rdo().s[2]++;
|
|
22503
22510
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$9({
|
|
22504
22511
|
fill: "none",
|
|
@@ -23450,6 +23457,7 @@ var common = {
|
|
|
23450
23457
|
},
|
|
23451
23458
|
"delete": "Delete",
|
|
23452
23459
|
agreeTermsAndConditions: "I agree to terms & conditions mentioned below",
|
|
23460
|
+
agreeCondition: "I agree",
|
|
23453
23461
|
mustAcceptTermsAndConditions: "You must accept the terms and conditions",
|
|
23454
23462
|
email: "Email",
|
|
23455
23463
|
phone: "Phone",
|
|
@@ -23481,7 +23489,8 @@ var common = {
|
|
|
23481
23489
|
icon: "Icon",
|
|
23482
23490
|
good: "Good",
|
|
23483
23491
|
okay: "Okay",
|
|
23484
|
-
bad: "Bad"
|
|
23492
|
+
bad: "Bad",
|
|
23493
|
+
no: "No"
|
|
23485
23494
|
};
|
|
23486
23495
|
var fields = {
|
|
23487
23496
|
mcf: "Checkbox",
|
|
@@ -23499,7 +23508,8 @@ var fields = {
|
|
|
23499
23508
|
fbf: "Feedback",
|
|
23500
23509
|
meif: "Multiple email",
|
|
23501
23510
|
agif: "Additional guests",
|
|
23502
|
-
rtf: "Rich text field"
|
|
23511
|
+
rtf: "Rich text field",
|
|
23512
|
+
cf: "Condition"
|
|
23503
23513
|
};
|
|
23504
23514
|
var toasts = {
|
|
23505
23515
|
formSubmitted: "Form has been submitted successfully!"
|
|
@@ -23640,7 +23650,7 @@ instance.use(initReactI18next).init({
|
|
|
23640
23650
|
}
|
|
23641
23651
|
});
|
|
23642
23652
|
|
|
23643
|
-
var _excluded$
|
|
23653
|
+
var _excluded$h = ["maxLength"];
|
|
23644
23654
|
function cov_6lo9nrx9t() {
|
|
23645
23655
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/InputWithMaxLength.jsx";
|
|
23646
23656
|
var hash = "8addc9ae593605b6b19a3b6d1c312704df338020";
|
|
@@ -23943,7 +23953,7 @@ cov_6lo9nrx9t();
|
|
|
23943
23953
|
cov_6lo9nrx9t().s[0]++;
|
|
23944
23954
|
var InputWithMaxLength = function InputWithMaxLength(_ref) {
|
|
23945
23955
|
var maxLength = _ref.maxLength,
|
|
23946
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
23956
|
+
props = _objectWithoutProperties$1(_ref, _excluded$h);
|
|
23947
23957
|
cov_6lo9nrx9t().f[0]++;
|
|
23948
23958
|
var _ref2 = (cov_6lo9nrx9t().s[1]++, formik.useField(props)),
|
|
23949
23959
|
_ref3 = _slicedToArray$6(_ref2, 3),
|
|
@@ -23968,7 +23978,7 @@ var InputWithMaxLength = function InputWithMaxLength(_ref) {
|
|
|
23968
23978
|
})));
|
|
23969
23979
|
};
|
|
23970
23980
|
|
|
23971
|
-
var _excluded$
|
|
23981
|
+
var _excluded$g = ["maxLength"];
|
|
23972
23982
|
function cov_1c261hpheg() {
|
|
23973
23983
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/TextareaWithMaxLength.jsx";
|
|
23974
23984
|
var hash = "8d7ba3715092adac47a31c8a2a6521ab7b4bbd0c";
|
|
@@ -24271,7 +24281,7 @@ cov_1c261hpheg();
|
|
|
24271
24281
|
cov_1c261hpheg().s[0]++;
|
|
24272
24282
|
var TextAreaWithMaxLength = function TextAreaWithMaxLength(_ref) {
|
|
24273
24283
|
var maxLength = _ref.maxLength,
|
|
24274
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
24284
|
+
props = _objectWithoutProperties$1(_ref, _excluded$g);
|
|
24275
24285
|
cov_1c261hpheg().f[0]++;
|
|
24276
24286
|
var _ref2 = (cov_1c261hpheg().s[1]++, formik.useField(props)),
|
|
24277
24287
|
_ref3 = _slicedToArray$6(_ref2, 3),
|
|
@@ -24414,6 +24424,162 @@ var AdditionalGuests$1 = function AdditionalGuests(_ref) {
|
|
|
24414
24424
|
}))));
|
|
24415
24425
|
};
|
|
24416
24426
|
|
|
24427
|
+
function cov_2kk1k5b9uc() {
|
|
24428
|
+
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Condition.jsx";
|
|
24429
|
+
var hash = "6a9c9cbddd9ebd68d87e72710f804f94cd3cbf9d";
|
|
24430
|
+
var global = new Function("return this")();
|
|
24431
|
+
var gcv = "__coverage__";
|
|
24432
|
+
var coverageData = {
|
|
24433
|
+
path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Condition.jsx",
|
|
24434
|
+
statementMap: {
|
|
24435
|
+
"0": {
|
|
24436
|
+
start: {
|
|
24437
|
+
line: 8,
|
|
24438
|
+
column: 18
|
|
24439
|
+
},
|
|
24440
|
+
end: {
|
|
24441
|
+
line: 34,
|
|
24442
|
+
column: 1
|
|
24443
|
+
}
|
|
24444
|
+
},
|
|
24445
|
+
"1": {
|
|
24446
|
+
start: {
|
|
24447
|
+
line: 9,
|
|
24448
|
+
column: 16
|
|
24449
|
+
},
|
|
24450
|
+
end: {
|
|
24451
|
+
line: 9,
|
|
24452
|
+
column: 32
|
|
24453
|
+
}
|
|
24454
|
+
},
|
|
24455
|
+
"2": {
|
|
24456
|
+
start: {
|
|
24457
|
+
line: 11,
|
|
24458
|
+
column: 2
|
|
24459
|
+
},
|
|
24460
|
+
end: {
|
|
24461
|
+
line: 33,
|
|
24462
|
+
column: 4
|
|
24463
|
+
}
|
|
24464
|
+
}
|
|
24465
|
+
},
|
|
24466
|
+
fnMap: {
|
|
24467
|
+
"0": {
|
|
24468
|
+
name: "(anonymous_0)",
|
|
24469
|
+
decl: {
|
|
24470
|
+
start: {
|
|
24471
|
+
line: 8,
|
|
24472
|
+
column: 18
|
|
24473
|
+
},
|
|
24474
|
+
end: {
|
|
24475
|
+
line: 8,
|
|
24476
|
+
column: 19
|
|
24477
|
+
}
|
|
24478
|
+
},
|
|
24479
|
+
loc: {
|
|
24480
|
+
start: {
|
|
24481
|
+
line: 8,
|
|
24482
|
+
column: 44
|
|
24483
|
+
},
|
|
24484
|
+
end: {
|
|
24485
|
+
line: 34,
|
|
24486
|
+
column: 1
|
|
24487
|
+
}
|
|
24488
|
+
},
|
|
24489
|
+
line: 8
|
|
24490
|
+
}
|
|
24491
|
+
},
|
|
24492
|
+
branchMap: {
|
|
24493
|
+
"0": {
|
|
24494
|
+
loc: {
|
|
24495
|
+
start: {
|
|
24496
|
+
line: 23,
|
|
24497
|
+
column: 7
|
|
24498
|
+
},
|
|
24499
|
+
end: {
|
|
24500
|
+
line: 31,
|
|
24501
|
+
column: 7
|
|
24502
|
+
}
|
|
24503
|
+
},
|
|
24504
|
+
type: "binary-expr",
|
|
24505
|
+
locations: [{
|
|
24506
|
+
start: {
|
|
24507
|
+
line: 23,
|
|
24508
|
+
column: 7
|
|
24509
|
+
},
|
|
24510
|
+
end: {
|
|
24511
|
+
line: 23,
|
|
24512
|
+
column: 18
|
|
24513
|
+
}
|
|
24514
|
+
}, {
|
|
24515
|
+
start: {
|
|
24516
|
+
line: 24,
|
|
24517
|
+
column: 8
|
|
24518
|
+
},
|
|
24519
|
+
end: {
|
|
24520
|
+
line: 30,
|
|
24521
|
+
column: 14
|
|
24522
|
+
}
|
|
24523
|
+
}],
|
|
24524
|
+
line: 23
|
|
24525
|
+
}
|
|
24526
|
+
},
|
|
24527
|
+
s: {
|
|
24528
|
+
"0": 0,
|
|
24529
|
+
"1": 0,
|
|
24530
|
+
"2": 0
|
|
24531
|
+
},
|
|
24532
|
+
f: {
|
|
24533
|
+
"0": 0
|
|
24534
|
+
},
|
|
24535
|
+
b: {
|
|
24536
|
+
"0": [0, 0]
|
|
24537
|
+
},
|
|
24538
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
24539
|
+
hash: "6a9c9cbddd9ebd68d87e72710f804f94cd3cbf9d"
|
|
24540
|
+
};
|
|
24541
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
24542
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
24543
|
+
coverage[path] = coverageData;
|
|
24544
|
+
}
|
|
24545
|
+
var actualCoverage = coverage[path];
|
|
24546
|
+
{
|
|
24547
|
+
// @ts-ignore
|
|
24548
|
+
cov_2kk1k5b9uc = function () {
|
|
24549
|
+
return actualCoverage;
|
|
24550
|
+
};
|
|
24551
|
+
}
|
|
24552
|
+
return actualCoverage;
|
|
24553
|
+
}
|
|
24554
|
+
cov_2kk1k5b9uc();
|
|
24555
|
+
cov_2kk1k5b9uc().s[0]++;
|
|
24556
|
+
var Condition$3 = function Condition(_ref) {
|
|
24557
|
+
var name = _ref.name,
|
|
24558
|
+
isRequired = _ref.isRequired;
|
|
24559
|
+
cov_2kk1k5b9uc().f[0]++;
|
|
24560
|
+
var _ref2 = (cov_2kk1k5b9uc().s[1]++, useTranslation()),
|
|
24561
|
+
t = _ref2.t;
|
|
24562
|
+
cov_2kk1k5b9uc().s[2]++;
|
|
24563
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24564
|
+
className: "space-y-4"
|
|
24565
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24566
|
+
className: "grid grid-cols-2 gap-4"
|
|
24567
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24568
|
+
className: "col-span-2"
|
|
24569
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextAreaWithMaxLength, {
|
|
24570
|
+
required: true,
|
|
24571
|
+
label: t("questions.common.questionFields.field.question"),
|
|
24572
|
+
name: "".concat(name, ".label"),
|
|
24573
|
+
rows: 1
|
|
24574
|
+
}))), (cov_2kk1k5b9uc().b[0][0]++, !isRequired) && (cov_2kk1k5b9uc().b[0][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24575
|
+
className: "w-full"
|
|
24576
|
+
}, /*#__PURE__*/React__default["default"].createElement(formik$1.Checkbox, {
|
|
24577
|
+
id: "".concat(name, ".isRequired"),
|
|
24578
|
+
label: t("questions.common.questionFields.field.required"),
|
|
24579
|
+
name: "".concat(name, ".isRequired")
|
|
24580
|
+
}))));
|
|
24581
|
+
};
|
|
24582
|
+
|
|
24417
24583
|
function cov_5u7jgeqcn() {
|
|
24418
24584
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/constants.js";
|
|
24419
24585
|
var hash = "b3d19de9685469a419e3fbb91a64e9376eebfe14";
|
|
@@ -27949,7 +28115,7 @@ var Terms$3 = function Terms(_ref) {
|
|
|
27949
28115
|
|
|
27950
28116
|
function cov_2qk3dozy47() {
|
|
27951
28117
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/index.js";
|
|
27952
|
-
var hash = "
|
|
28118
|
+
var hash = "f973b7318af7a0d1059b5369964ad800ca33502b";
|
|
27953
28119
|
var global = new Function("return this")();
|
|
27954
28120
|
var gcv = "__coverage__";
|
|
27955
28121
|
var coverageData = {
|
|
@@ -27957,11 +28123,11 @@ function cov_2qk3dozy47() {
|
|
|
27957
28123
|
statementMap: {
|
|
27958
28124
|
"0": {
|
|
27959
28125
|
start: {
|
|
27960
|
-
line:
|
|
28126
|
+
line: 15,
|
|
27961
28127
|
column: 15
|
|
27962
28128
|
},
|
|
27963
28129
|
end: {
|
|
27964
|
-
line:
|
|
28130
|
+
line: 29,
|
|
27965
28131
|
column: 1
|
|
27966
28132
|
}
|
|
27967
28133
|
}
|
|
@@ -27974,7 +28140,7 @@ function cov_2qk3dozy47() {
|
|
|
27974
28140
|
f: {},
|
|
27975
28141
|
b: {},
|
|
27976
28142
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
27977
|
-
hash: "
|
|
28143
|
+
hash: "f973b7318af7a0d1059b5369964ad800ca33502b"
|
|
27978
28144
|
};
|
|
27979
28145
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
27980
28146
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -28002,7 +28168,8 @@ var Fields = (cov_2qk3dozy47().s[0]++, {
|
|
|
28002
28168
|
Terms: Terms$3,
|
|
28003
28169
|
StarRating: StarRating$2,
|
|
28004
28170
|
AdditionalGuests: AdditionalGuests$1,
|
|
28005
|
-
RichText: RichText$1
|
|
28171
|
+
RichText: RichText$1,
|
|
28172
|
+
Condition: Condition$3
|
|
28006
28173
|
});
|
|
28007
28174
|
|
|
28008
28175
|
function cov_2gcfk56wsh() {
|
|
@@ -28336,7 +28503,7 @@ var Editor = function Editor(_ref) {
|
|
|
28336
28503
|
|
|
28337
28504
|
function cov_2j8tlu2ul5() {
|
|
28338
28505
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
|
|
28339
|
-
var hash = "
|
|
28506
|
+
var hash = "6d2a1487c3ee64be33ed78df7bbb278bf982988b";
|
|
28340
28507
|
var global = new Function("return this")();
|
|
28341
28508
|
var gcv = "__coverage__";
|
|
28342
28509
|
var coverageData = {
|
|
@@ -28344,62 +28511,62 @@ function cov_2j8tlu2ul5() {
|
|
|
28344
28511
|
statementMap: {
|
|
28345
28512
|
"0": {
|
|
28346
28513
|
start: {
|
|
28347
|
-
line:
|
|
28514
|
+
line: 33,
|
|
28348
28515
|
column: 4
|
|
28349
28516
|
},
|
|
28350
28517
|
end: {
|
|
28351
|
-
line:
|
|
28518
|
+
line: 33,
|
|
28352
28519
|
column: 10
|
|
28353
28520
|
}
|
|
28354
28521
|
},
|
|
28355
28522
|
"1": {
|
|
28356
28523
|
start: {
|
|
28357
|
-
line:
|
|
28524
|
+
line: 35,
|
|
28358
28525
|
column: 40
|
|
28359
28526
|
},
|
|
28360
28527
|
end: {
|
|
28361
|
-
line:
|
|
28528
|
+
line: 35,
|
|
28362
28529
|
column: 41
|
|
28363
28530
|
}
|
|
28364
28531
|
},
|
|
28365
28532
|
"2": {
|
|
28366
28533
|
start: {
|
|
28367
|
-
line:
|
|
28534
|
+
line: 36,
|
|
28368
28535
|
column: 35
|
|
28369
28536
|
},
|
|
28370
28537
|
end: {
|
|
28371
|
-
line:
|
|
28538
|
+
line: 36,
|
|
28372
28539
|
column: 36
|
|
28373
28540
|
}
|
|
28374
28541
|
},
|
|
28375
28542
|
"3": {
|
|
28376
28543
|
start: {
|
|
28377
|
-
line:
|
|
28544
|
+
line: 38,
|
|
28378
28545
|
column: 30
|
|
28379
28546
|
},
|
|
28380
28547
|
end: {
|
|
28381
|
-
line:
|
|
28548
|
+
line: 210,
|
|
28382
28549
|
column: 1
|
|
28383
28550
|
}
|
|
28384
28551
|
},
|
|
28385
28552
|
"4": {
|
|
28386
28553
|
start: {
|
|
28387
|
-
line:
|
|
28554
|
+
line: 213,
|
|
28388
28555
|
column: 38
|
|
28389
28556
|
},
|
|
28390
28557
|
end: {
|
|
28391
|
-
line:
|
|
28558
|
+
line: 216,
|
|
28392
28559
|
column: 1
|
|
28393
28560
|
}
|
|
28394
28561
|
},
|
|
28395
28562
|
"5": {
|
|
28396
28563
|
start: {
|
|
28397
|
-
line:
|
|
28564
|
+
line: 218,
|
|
28398
28565
|
column: 29
|
|
28399
28566
|
},
|
|
28400
28567
|
end: {
|
|
28401
|
-
line:
|
|
28402
|
-
column:
|
|
28568
|
+
line: 218,
|
|
28569
|
+
column: 63
|
|
28403
28570
|
}
|
|
28404
28571
|
}
|
|
28405
28572
|
},
|
|
@@ -28416,7 +28583,7 @@ function cov_2j8tlu2ul5() {
|
|
|
28416
28583
|
f: {},
|
|
28417
28584
|
b: {},
|
|
28418
28585
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
28419
|
-
hash: "
|
|
28586
|
+
hash: "6d2a1487c3ee64be33ed78df7bbb278bf982988b"
|
|
28420
28587
|
};
|
|
28421
28588
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
28422
28589
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -28444,7 +28611,8 @@ var _ref$1 = (cov_2j8tlu2ul5().s[0]++, Fields),
|
|
|
28444
28611
|
Terms$2 = _ref$1.Terms,
|
|
28445
28612
|
StarRating$1 = _ref$1.StarRating,
|
|
28446
28613
|
AdditionalGuests = _ref$1.AdditionalGuests,
|
|
28447
|
-
RichText = _ref$1.RichText
|
|
28614
|
+
RichText = _ref$1.RichText,
|
|
28615
|
+
Condition$2 = _ref$1.Condition;
|
|
28448
28616
|
var SINGLE_CHOICE_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[1]++, 2);
|
|
28449
28617
|
var DROPDOWN_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[2]++, 2);
|
|
28450
28618
|
var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
@@ -28498,7 +28666,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
28498
28666
|
label: ""
|
|
28499
28667
|
}
|
|
28500
28668
|
}, {
|
|
28501
|
-
type: "
|
|
28669
|
+
type: "textarea",
|
|
28502
28670
|
label: instance.t("fields.qif"),
|
|
28503
28671
|
isSingular: false,
|
|
28504
28672
|
icon: neetoIcons.Input,
|
|
@@ -28516,7 +28684,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
28516
28684
|
label: ""
|
|
28517
28685
|
}
|
|
28518
28686
|
}, {
|
|
28519
|
-
type: "
|
|
28687
|
+
type: "paragraph",
|
|
28520
28688
|
label: instance.t("fields.def"),
|
|
28521
28689
|
isSingular: false,
|
|
28522
28690
|
icon: neetoIcons.NeetoInvisible,
|
|
@@ -28600,6 +28768,15 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
28600
28768
|
isRequired: true,
|
|
28601
28769
|
label: instance.t("common.agreeTermsAndConditions")
|
|
28602
28770
|
}
|
|
28771
|
+
}, {
|
|
28772
|
+
type: "condition",
|
|
28773
|
+
label: instance.t("fields.cf"),
|
|
28774
|
+
icon: neetoIcons.Checkbox,
|
|
28775
|
+
component: Condition$2,
|
|
28776
|
+
defaults: {
|
|
28777
|
+
isRequired: true,
|
|
28778
|
+
label: instance.t("common.agreeCondition")
|
|
28779
|
+
}
|
|
28603
28780
|
}, {
|
|
28604
28781
|
type: "date",
|
|
28605
28782
|
label: instance.t("fields.date"),
|
|
@@ -28614,10 +28791,10 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
28614
28791
|
|
|
28615
28792
|
// To show the question type as label in accordion
|
|
28616
28793
|
var INDEPENDENT_LABELS_MAP = (cov_2j8tlu2ul5().s[4]++, {
|
|
28617
|
-
|
|
28794
|
+
paragraph: "Paragraph",
|
|
28618
28795
|
termsandcondition: "Terms & conditions"
|
|
28619
28796
|
});
|
|
28620
|
-
var PADDED_FIELDS = (cov_2j8tlu2ul5().s[5]++, ["
|
|
28797
|
+
var PADDED_FIELDS = (cov_2j8tlu2ul5().s[5]++, ["paragraph", "termsandcondition"]);
|
|
28621
28798
|
|
|
28622
28799
|
function cov_xwc6pppkl() {
|
|
28623
28800
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/FormField.jsx";
|
|
@@ -31302,7 +31479,7 @@ var List = function List(_ref) {
|
|
|
31302
31479
|
})));
|
|
31303
31480
|
};
|
|
31304
31481
|
|
|
31305
|
-
var _excluded$
|
|
31482
|
+
var _excluded$f = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn"];
|
|
31306
31483
|
function cov_2e8k7gwd81() {
|
|
31307
31484
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
|
|
31308
31485
|
var hash = "7c11acd7f0e5fde99d6d92b950980d529a13322c";
|
|
@@ -32538,7 +32715,7 @@ var Form = function Form(_ref) {
|
|
|
32538
32715
|
isKindAlreadyActive = _ref.isKindAlreadyActive,
|
|
32539
32716
|
getActiveKindDetails = _ref.getActiveKindDetails,
|
|
32540
32717
|
kindUniqueOn = _ref.kindUniqueOn,
|
|
32541
|
-
formDomProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
32718
|
+
formDomProps = _objectWithoutProperties$1(_ref, _excluded$f);
|
|
32542
32719
|
cov_2e8k7gwd81().f[0]++;
|
|
32543
32720
|
var _ref2 = (cov_2e8k7gwd81().s[1]++, useTranslation()),
|
|
32544
32721
|
t = _ref2.t;
|
|
@@ -32854,7 +33031,7 @@ var getActiveQuestionKindDetails = function getActiveQuestionKindDetails(_ref) {
|
|
|
32854
33031
|
|
|
32855
33032
|
function cov_13igvew484() {
|
|
32856
33033
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/validation.js";
|
|
32857
|
-
var hash = "
|
|
33034
|
+
var hash = "ab8d6004b8f3a2722a845835961287028ecee2f1";
|
|
32858
33035
|
var global = new Function("return this")();
|
|
32859
33036
|
var gcv = "__coverage__";
|
|
32860
33037
|
var coverageData = {
|
|
@@ -32862,41 +33039,41 @@ function cov_13igvew484() {
|
|
|
32862
33039
|
statementMap: {
|
|
32863
33040
|
"0": {
|
|
32864
33041
|
start: {
|
|
32865
|
-
line:
|
|
33042
|
+
line: 5,
|
|
32866
33043
|
column: 22
|
|
32867
33044
|
},
|
|
32868
33045
|
end: {
|
|
32869
|
-
line:
|
|
33046
|
+
line: 9,
|
|
32870
33047
|
column: 36
|
|
32871
33048
|
}
|
|
32872
33049
|
},
|
|
32873
33050
|
"1": {
|
|
32874
33051
|
start: {
|
|
32875
|
-
line:
|
|
33052
|
+
line: 9,
|
|
32876
33053
|
column: 5
|
|
32877
33054
|
},
|
|
32878
33055
|
end: {
|
|
32879
|
-
line:
|
|
33056
|
+
line: 9,
|
|
32880
33057
|
column: 36
|
|
32881
33058
|
}
|
|
32882
33059
|
},
|
|
32883
33060
|
"2": {
|
|
32884
33061
|
start: {
|
|
32885
|
-
line:
|
|
33062
|
+
line: 11,
|
|
32886
33063
|
column: 29
|
|
32887
33064
|
},
|
|
32888
33065
|
end: {
|
|
32889
|
-
line:
|
|
33066
|
+
line: 45,
|
|
32890
33067
|
column: 2
|
|
32891
33068
|
}
|
|
32892
33069
|
},
|
|
32893
33070
|
"3": {
|
|
32894
33071
|
start: {
|
|
32895
|
-
line:
|
|
33072
|
+
line: 21,
|
|
32896
33073
|
column: 10
|
|
32897
33074
|
},
|
|
32898
33075
|
end: {
|
|
32899
|
-
line:
|
|
33076
|
+
line: 33,
|
|
32900
33077
|
column: 34
|
|
32901
33078
|
}
|
|
32902
33079
|
}
|
|
@@ -32906,108 +33083,108 @@ function cov_13igvew484() {
|
|
|
32906
33083
|
name: "(anonymous_0)",
|
|
32907
33084
|
decl: {
|
|
32908
33085
|
start: {
|
|
32909
|
-
line:
|
|
33086
|
+
line: 5,
|
|
32910
33087
|
column: 22
|
|
32911
33088
|
},
|
|
32912
33089
|
end: {
|
|
32913
|
-
line:
|
|
33090
|
+
line: 5,
|
|
32914
33091
|
column: 23
|
|
32915
33092
|
}
|
|
32916
33093
|
},
|
|
32917
33094
|
loc: {
|
|
32918
33095
|
start: {
|
|
32919
|
-
line:
|
|
33096
|
+
line: 9,
|
|
32920
33097
|
column: 5
|
|
32921
33098
|
},
|
|
32922
33099
|
end: {
|
|
32923
|
-
line:
|
|
33100
|
+
line: 9,
|
|
32924
33101
|
column: 36
|
|
32925
33102
|
}
|
|
32926
33103
|
},
|
|
32927
|
-
line:
|
|
33104
|
+
line: 9
|
|
32928
33105
|
},
|
|
32929
33106
|
"1": {
|
|
32930
33107
|
name: "(anonymous_1)",
|
|
32931
33108
|
decl: {
|
|
32932
33109
|
start: {
|
|
32933
|
-
line:
|
|
33110
|
+
line: 20,
|
|
32934
33111
|
column: 48
|
|
32935
33112
|
},
|
|
32936
33113
|
end: {
|
|
32937
|
-
line:
|
|
33114
|
+
line: 20,
|
|
32938
33115
|
column: 49
|
|
32939
33116
|
}
|
|
32940
33117
|
},
|
|
32941
33118
|
loc: {
|
|
32942
33119
|
start: {
|
|
32943
|
-
line:
|
|
33120
|
+
line: 21,
|
|
32944
33121
|
column: 10
|
|
32945
33122
|
},
|
|
32946
33123
|
end: {
|
|
32947
|
-
line:
|
|
33124
|
+
line: 33,
|
|
32948
33125
|
column: 34
|
|
32949
33126
|
}
|
|
32950
33127
|
},
|
|
32951
|
-
line:
|
|
33128
|
+
line: 21
|
|
32952
33129
|
}
|
|
32953
33130
|
},
|
|
32954
33131
|
branchMap: {
|
|
32955
33132
|
"0": {
|
|
32956
33133
|
loc: {
|
|
32957
33134
|
start: {
|
|
32958
|
-
line:
|
|
33135
|
+
line: 6,
|
|
32959
33136
|
column: 2
|
|
32960
33137
|
},
|
|
32961
33138
|
end: {
|
|
32962
|
-
line:
|
|
33139
|
+
line: 8,
|
|
32963
33140
|
column: 4
|
|
32964
33141
|
}
|
|
32965
33142
|
},
|
|
32966
33143
|
type: "default-arg",
|
|
32967
33144
|
locations: [{
|
|
32968
33145
|
start: {
|
|
32969
|
-
line:
|
|
33146
|
+
line: 6,
|
|
32970
33147
|
column: 17
|
|
32971
33148
|
},
|
|
32972
33149
|
end: {
|
|
32973
|
-
line:
|
|
33150
|
+
line: 8,
|
|
32974
33151
|
column: 4
|
|
32975
33152
|
}
|
|
32976
33153
|
}],
|
|
32977
|
-
line:
|
|
33154
|
+
line: 6
|
|
32978
33155
|
},
|
|
32979
33156
|
"1": {
|
|
32980
33157
|
loc: {
|
|
32981
33158
|
start: {
|
|
32982
|
-
line:
|
|
33159
|
+
line: 21,
|
|
32983
33160
|
column: 10
|
|
32984
33161
|
},
|
|
32985
33162
|
end: {
|
|
32986
|
-
line:
|
|
33163
|
+
line: 33,
|
|
32987
33164
|
column: 34
|
|
32988
33165
|
}
|
|
32989
33166
|
},
|
|
32990
33167
|
type: "cond-expr",
|
|
32991
33168
|
locations: [{
|
|
32992
33169
|
start: {
|
|
32993
|
-
line:
|
|
33170
|
+
line: 22,
|
|
32994
33171
|
column: 14
|
|
32995
33172
|
},
|
|
32996
33173
|
end: {
|
|
32997
|
-
line:
|
|
33174
|
+
line: 32,
|
|
32998
33175
|
column: 15
|
|
32999
33176
|
}
|
|
33000
33177
|
}, {
|
|
33001
33178
|
start: {
|
|
33002
|
-
line:
|
|
33179
|
+
line: 33,
|
|
33003
33180
|
column: 14
|
|
33004
33181
|
},
|
|
33005
33182
|
end: {
|
|
33006
|
-
line:
|
|
33183
|
+
line: 33,
|
|
33007
33184
|
column: 34
|
|
33008
33185
|
}
|
|
33009
33186
|
}],
|
|
33010
|
-
line:
|
|
33187
|
+
line: 21
|
|
33011
33188
|
}
|
|
33012
33189
|
},
|
|
33013
33190
|
s: {
|
|
@@ -33025,7 +33202,7 @@ function cov_13igvew484() {
|
|
|
33025
33202
|
"1": [0, 0]
|
|
33026
33203
|
},
|
|
33027
33204
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33028
|
-
hash: "
|
|
33205
|
+
hash: "ab8d6004b8f3a2722a845835961287028ecee2f1"
|
|
33029
33206
|
};
|
|
33030
33207
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
33031
33208
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -33053,7 +33230,7 @@ var requiredLabel = function requiredLabel() {
|
|
|
33053
33230
|
var formValidationSchema = (cov_13igvew484().s[2]++, yup.object().shape({
|
|
33054
33231
|
questions: yup.array().of(yup.object().shape({
|
|
33055
33232
|
label: requiredLabel().when("kind", {
|
|
33056
|
-
is: "
|
|
33233
|
+
is: "paragraph",
|
|
33057
33234
|
then: requiredLabel(instance.t("common.paragraphCantBeEmpty"))
|
|
33058
33235
|
}),
|
|
33059
33236
|
kind: yup.string().required(),
|
|
@@ -35676,7 +35853,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
35676
35853
|
})));
|
|
35677
35854
|
};
|
|
35678
35855
|
|
|
35679
|
-
var _excluded$
|
|
35856
|
+
var _excluded$e = ["label", "loading", "success", "className"];
|
|
35680
35857
|
function cov_2ndo8sz9m4() {
|
|
35681
35858
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/Button.jsx";
|
|
35682
35859
|
var hash = "947a26eed705c861c4cb61ff2cb56fcb2a312c71";
|
|
@@ -36006,7 +36183,7 @@ var Button = function Button(_ref) {
|
|
|
36006
36183
|
success = _ref$success === void 0 ? (cov_2ndo8sz9m4().b[1][0]++, false) : _ref$success,
|
|
36007
36184
|
_ref$className = _ref.className,
|
|
36008
36185
|
className = _ref$className === void 0 ? (cov_2ndo8sz9m4().b[2][0]++, "") : _ref$className,
|
|
36009
|
-
otherProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
36186
|
+
otherProps = _objectWithoutProperties$1(_ref, _excluded$e);
|
|
36010
36187
|
cov_2ndo8sz9m4().f[0]++;
|
|
36011
36188
|
cov_2ndo8sz9m4().s[1]++;
|
|
36012
36189
|
return /*#__PURE__*/React__default["default"].createElement("button", _extends$9({
|
|
@@ -41437,7 +41614,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
41437
41614
|
}), innerProps));
|
|
41438
41615
|
};
|
|
41439
41616
|
|
|
41440
|
-
var _excluded$
|
|
41617
|
+
var _excluded$d = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
|
|
41441
41618
|
var inputCSS = function inputCSS(_ref, unstyled) {
|
|
41442
41619
|
var isDisabled = _ref.isDisabled,
|
|
41443
41620
|
value = _ref.value,
|
|
@@ -41493,7 +41670,7 @@ var Input$1 = function Input(props) {
|
|
|
41493
41670
|
isDisabled = _cleanCommonProps.isDisabled,
|
|
41494
41671
|
isHidden = _cleanCommonProps.isHidden,
|
|
41495
41672
|
inputClassName = _cleanCommonProps.inputClassName,
|
|
41496
|
-
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$
|
|
41673
|
+
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$d);
|
|
41497
41674
|
return jsx("div", _extends$1({}, getStyleProps(props, 'input', {
|
|
41498
41675
|
'input-container': true
|
|
41499
41676
|
}), {
|
|
@@ -42290,10 +42467,10 @@ var createFilter = function createFilter(config) {
|
|
|
42290
42467
|
};
|
|
42291
42468
|
};
|
|
42292
42469
|
|
|
42293
|
-
var _excluded$
|
|
42470
|
+
var _excluded$c = ["innerRef"];
|
|
42294
42471
|
function DummyInput(_ref) {
|
|
42295
42472
|
var innerRef = _ref.innerRef,
|
|
42296
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
42473
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
42297
42474
|
// Remove animation props not meant for HTML elements
|
|
42298
42475
|
var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
42299
42476
|
return jsx("input", _extends$1({
|
|
@@ -44298,7 +44475,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
44298
44475
|
}(React$2.Component);
|
|
44299
44476
|
Select$1.defaultProps = defaultProps;
|
|
44300
44477
|
|
|
44301
|
-
var _excluded$
|
|
44478
|
+
var _excluded$b = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
44302
44479
|
function useStateManager(_ref) {
|
|
44303
44480
|
var _ref$defaultInputValu = _ref.defaultInputValue,
|
|
44304
44481
|
defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
|
|
@@ -44313,7 +44490,7 @@ function useStateManager(_ref) {
|
|
|
44313
44490
|
propsOnMenuClose = _ref.onMenuClose,
|
|
44314
44491
|
propsOnMenuOpen = _ref.onMenuOpen,
|
|
44315
44492
|
propsValue = _ref.value,
|
|
44316
|
-
restSelectProps = _objectWithoutProperties(_ref, _excluded$
|
|
44493
|
+
restSelectProps = _objectWithoutProperties(_ref, _excluded$b);
|
|
44317
44494
|
var _useState = React$2.useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),
|
|
44318
44495
|
_useState2 = _slicedToArray$4(_useState, 2),
|
|
44319
44496
|
stateInputValue = _useState2[0],
|
|
@@ -44365,7 +44542,7 @@ function useStateManager(_ref) {
|
|
|
44365
44542
|
});
|
|
44366
44543
|
}
|
|
44367
44544
|
|
|
44368
|
-
var _excluded$
|
|
44545
|
+
var _excluded$a = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"];
|
|
44369
44546
|
var compareOption = function compareOption() {
|
|
44370
44547
|
var inputValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
44371
44548
|
var option = arguments.length > 1 ? arguments[1] : undefined;
|
|
@@ -44409,7 +44586,7 @@ function useCreatable(_ref) {
|
|
|
44409
44586
|
_ref$options = _ref.options,
|
|
44410
44587
|
propsOptions = _ref$options === void 0 ? [] : _ref$options,
|
|
44411
44588
|
propsOnChange = _ref.onChange,
|
|
44412
|
-
restSelectProps = _objectWithoutProperties(_ref, _excluded$
|
|
44589
|
+
restSelectProps = _objectWithoutProperties(_ref, _excluded$a);
|
|
44413
44590
|
var _restSelectProps$getO = restSelectProps.getOptionValue,
|
|
44414
44591
|
getOptionValue$1$1 = _restSelectProps$getO === void 0 ? getOptionValue$1 : _restSelectProps$getO,
|
|
44415
44592
|
_restSelectProps$getO2 = restSelectProps.getOptionLabel,
|
|
@@ -44468,7 +44645,7 @@ var StateManagedSelect = /*#__PURE__*/React$2.forwardRef(function (props, ref) {
|
|
|
44468
44645
|
}, baseSelectProps));
|
|
44469
44646
|
});
|
|
44470
44647
|
|
|
44471
|
-
var _excluded$
|
|
44648
|
+
var _excluded$9 = ["children"];
|
|
44472
44649
|
function cov_2r9ol8zeg1() {
|
|
44473
44650
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/MultipleEmail/constants.jsx";
|
|
44474
44651
|
var hash = "e09b41725a3ebcee86262f4ca568e046555de10a";
|
|
@@ -44921,7 +45098,7 @@ var STYLES = (cov_2r9ol8zeg1().s[0]++, {
|
|
|
44921
45098
|
cov_2r9ol8zeg1().s[1]++;
|
|
44922
45099
|
var CustomControl = function CustomControl(_ref) {
|
|
44923
45100
|
var children = _ref.children,
|
|
44924
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
45101
|
+
props = _objectWithoutProperties$1(_ref, _excluded$9);
|
|
44925
45102
|
cov_2r9ol8zeg1().f[0]++;
|
|
44926
45103
|
var _ref2 = (cov_2r9ol8zeg1().s[2]++, props.selectProps),
|
|
44927
45104
|
prefix = _ref2.prefix;
|
|
@@ -51987,7 +52164,7 @@ PhoneNumberSearch.prototype.constructor = PhoneNumberSearch;
|
|
|
51987
52164
|
|
|
51988
52165
|
function cov_1l3yhm377b() {
|
|
51989
52166
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/utils.js";
|
|
51990
|
-
var hash = "
|
|
52167
|
+
var hash = "43a1df0efd87b2eb39a9401cdbb55dc1f6ee1045";
|
|
51991
52168
|
var global = new Function("return this")();
|
|
51992
52169
|
var gcv = "__coverage__";
|
|
51993
52170
|
var coverageData = {
|
|
@@ -52049,7 +52226,7 @@ function cov_1l3yhm377b() {
|
|
|
52049
52226
|
column: 34
|
|
52050
52227
|
},
|
|
52051
52228
|
end: {
|
|
52052
|
-
line:
|
|
52229
|
+
line: 84,
|
|
52053
52230
|
column: 1
|
|
52054
52231
|
}
|
|
52055
52232
|
},
|
|
@@ -52109,7 +52286,7 @@ function cov_1l3yhm377b() {
|
|
|
52109
52286
|
column: 2
|
|
52110
52287
|
},
|
|
52111
52288
|
end: {
|
|
52112
|
-
line:
|
|
52289
|
+
line: 81,
|
|
52113
52290
|
column: 5
|
|
52114
52291
|
}
|
|
52115
52292
|
},
|
|
@@ -52129,7 +52306,7 @@ function cov_1l3yhm377b() {
|
|
|
52129
52306
|
column: 4
|
|
52130
52307
|
},
|
|
52131
52308
|
end: {
|
|
52132
|
-
line:
|
|
52309
|
+
line: 80,
|
|
52133
52310
|
column: 5
|
|
52134
52311
|
}
|
|
52135
52312
|
},
|
|
@@ -52140,7 +52317,7 @@ function cov_1l3yhm377b() {
|
|
|
52140
52317
|
},
|
|
52141
52318
|
end: {
|
|
52142
52319
|
line: 43,
|
|
52143
|
-
column:
|
|
52320
|
+
column: 57
|
|
52144
52321
|
}
|
|
52145
52322
|
},
|
|
52146
52323
|
"15": {
|
|
@@ -52155,22 +52332,22 @@ function cov_1l3yhm377b() {
|
|
|
52155
52332
|
},
|
|
52156
52333
|
"16": {
|
|
52157
52334
|
start: {
|
|
52158
|
-
line:
|
|
52335
|
+
line: 48,
|
|
52159
52336
|
column: 8
|
|
52160
52337
|
},
|
|
52161
52338
|
end: {
|
|
52162
|
-
line:
|
|
52163
|
-
column:
|
|
52339
|
+
line: 48,
|
|
52340
|
+
column: 69
|
|
52164
52341
|
}
|
|
52165
52342
|
},
|
|
52166
52343
|
"17": {
|
|
52167
52344
|
start: {
|
|
52168
|
-
line:
|
|
52169
|
-
column:
|
|
52345
|
+
line: 50,
|
|
52346
|
+
column: 8
|
|
52170
52347
|
},
|
|
52171
52348
|
end: {
|
|
52172
|
-
line:
|
|
52173
|
-
column:
|
|
52349
|
+
line: 50,
|
|
52350
|
+
column: 15
|
|
52174
52351
|
}
|
|
52175
52352
|
},
|
|
52176
52353
|
"18": {
|
|
@@ -52179,347 +52356,367 @@ function cov_1l3yhm377b() {
|
|
|
52179
52356
|
column: 8
|
|
52180
52357
|
},
|
|
52181
52358
|
end: {
|
|
52182
|
-
line:
|
|
52183
|
-
column:
|
|
52359
|
+
line: 57,
|
|
52360
|
+
column: 60
|
|
52184
52361
|
}
|
|
52185
52362
|
},
|
|
52186
52363
|
"19": {
|
|
52187
52364
|
start: {
|
|
52188
|
-
line:
|
|
52189
|
-
column:
|
|
52365
|
+
line: 55,
|
|
52366
|
+
column: 14
|
|
52190
52367
|
},
|
|
52191
52368
|
end: {
|
|
52192
|
-
line:
|
|
52193
|
-
column:
|
|
52369
|
+
line: 55,
|
|
52370
|
+
column: 59
|
|
52194
52371
|
}
|
|
52195
52372
|
},
|
|
52196
52373
|
"20": {
|
|
52197
52374
|
start: {
|
|
52198
52375
|
line: 59,
|
|
52199
|
-
column:
|
|
52376
|
+
column: 8
|
|
52200
52377
|
},
|
|
52201
52378
|
end: {
|
|
52202
52379
|
line: 59,
|
|
52203
|
-
column:
|
|
52380
|
+
column: 15
|
|
52204
52381
|
}
|
|
52205
52382
|
},
|
|
52206
52383
|
"21": {
|
|
52207
52384
|
start: {
|
|
52208
|
-
line:
|
|
52385
|
+
line: 63,
|
|
52209
52386
|
column: 8
|
|
52210
52387
|
},
|
|
52211
52388
|
end: {
|
|
52212
|
-
line:
|
|
52213
|
-
column:
|
|
52389
|
+
line: 66,
|
|
52390
|
+
column: 22
|
|
52214
52391
|
}
|
|
52215
52392
|
},
|
|
52216
52393
|
"22": {
|
|
52217
52394
|
start: {
|
|
52218
52395
|
line: 65,
|
|
52219
|
-
column:
|
|
52396
|
+
column: 12
|
|
52220
52397
|
},
|
|
52221
52398
|
end: {
|
|
52222
52399
|
line: 65,
|
|
52223
|
-
column:
|
|
52400
|
+
column: 57
|
|
52224
52401
|
}
|
|
52225
52402
|
},
|
|
52226
52403
|
"23": {
|
|
52227
52404
|
start: {
|
|
52228
|
-
line:
|
|
52405
|
+
line: 68,
|
|
52229
52406
|
column: 8
|
|
52230
52407
|
},
|
|
52231
52408
|
end: {
|
|
52232
|
-
line:
|
|
52409
|
+
line: 68,
|
|
52233
52410
|
column: 15
|
|
52234
52411
|
}
|
|
52235
52412
|
},
|
|
52236
52413
|
"24": {
|
|
52237
52414
|
start: {
|
|
52238
|
-
line:
|
|
52415
|
+
line: 71,
|
|
52239
52416
|
column: 8
|
|
52240
52417
|
},
|
|
52241
52418
|
end: {
|
|
52242
|
-
line:
|
|
52243
|
-
column:
|
|
52419
|
+
line: 71,
|
|
52420
|
+
column: 31
|
|
52244
52421
|
}
|
|
52245
52422
|
},
|
|
52246
52423
|
"25": {
|
|
52247
52424
|
start: {
|
|
52248
|
-
line:
|
|
52425
|
+
line: 73,
|
|
52249
52426
|
column: 8
|
|
52250
52427
|
},
|
|
52251
52428
|
end: {
|
|
52252
|
-
line:
|
|
52429
|
+
line: 73,
|
|
52253
52430
|
column: 15
|
|
52254
52431
|
}
|
|
52255
52432
|
},
|
|
52256
52433
|
"26": {
|
|
52257
52434
|
start: {
|
|
52258
|
-
line:
|
|
52435
|
+
line: 76,
|
|
52436
|
+
column: 8
|
|
52437
|
+
},
|
|
52438
|
+
end: {
|
|
52439
|
+
line: 76,
|
|
52440
|
+
column: 54
|
|
52441
|
+
}
|
|
52442
|
+
},
|
|
52443
|
+
"27": {
|
|
52444
|
+
start: {
|
|
52445
|
+
line: 78,
|
|
52446
|
+
column: 8
|
|
52447
|
+
},
|
|
52448
|
+
end: {
|
|
52449
|
+
line: 78,
|
|
52450
|
+
column: 15
|
|
52451
|
+
}
|
|
52452
|
+
},
|
|
52453
|
+
"28": {
|
|
52454
|
+
start: {
|
|
52455
|
+
line: 83,
|
|
52259
52456
|
column: 2
|
|
52260
52457
|
},
|
|
52261
52458
|
end: {
|
|
52262
|
-
line:
|
|
52459
|
+
line: 83,
|
|
52263
52460
|
column: 64
|
|
52264
52461
|
}
|
|
52265
52462
|
},
|
|
52266
|
-
"
|
|
52463
|
+
"29": {
|
|
52267
52464
|
start: {
|
|
52268
|
-
line:
|
|
52465
|
+
line: 86,
|
|
52269
52466
|
column: 36
|
|
52270
52467
|
},
|
|
52271
52468
|
end: {
|
|
52272
|
-
line:
|
|
52469
|
+
line: 136,
|
|
52273
52470
|
column: 1
|
|
52274
52471
|
}
|
|
52275
52472
|
},
|
|
52276
|
-
"
|
|
52473
|
+
"30": {
|
|
52277
52474
|
start: {
|
|
52278
|
-
line:
|
|
52475
|
+
line: 87,
|
|
52279
52476
|
column: 23
|
|
52280
52477
|
},
|
|
52281
52478
|
end: {
|
|
52282
|
-
line:
|
|
52479
|
+
line: 87,
|
|
52283
52480
|
column: 25
|
|
52284
52481
|
}
|
|
52285
52482
|
},
|
|
52286
|
-
"
|
|
52483
|
+
"31": {
|
|
52287
52484
|
start: {
|
|
52288
|
-
line:
|
|
52485
|
+
line: 88,
|
|
52289
52486
|
column: 2
|
|
52290
52487
|
},
|
|
52291
52488
|
end: {
|
|
52292
|
-
line:
|
|
52489
|
+
line: 133,
|
|
52293
52490
|
column: 5
|
|
52294
52491
|
}
|
|
52295
52492
|
},
|
|
52296
|
-
"
|
|
52493
|
+
"32": {
|
|
52297
52494
|
start: {
|
|
52298
|
-
line:
|
|
52495
|
+
line: 89,
|
|
52299
52496
|
column: 44
|
|
52300
52497
|
},
|
|
52301
52498
|
end: {
|
|
52302
|
-
line:
|
|
52499
|
+
line: 89,
|
|
52303
52500
|
column: 52
|
|
52304
52501
|
}
|
|
52305
52502
|
},
|
|
52306
|
-
"
|
|
52503
|
+
"33": {
|
|
52307
52504
|
start: {
|
|
52308
|
-
line:
|
|
52505
|
+
line: 90,
|
|
52309
52506
|
column: 4
|
|
52310
52507
|
},
|
|
52311
52508
|
end: {
|
|
52312
|
-
line:
|
|
52509
|
+
line: 132,
|
|
52313
52510
|
column: 5
|
|
52314
52511
|
}
|
|
52315
52512
|
},
|
|
52316
|
-
"
|
|
52513
|
+
"34": {
|
|
52317
52514
|
start: {
|
|
52318
|
-
line:
|
|
52515
|
+
line: 91,
|
|
52319
52516
|
column: 38
|
|
52320
52517
|
},
|
|
52321
52518
|
end: {
|
|
52322
|
-
line:
|
|
52519
|
+
line: 91,
|
|
52323
52520
|
column: 46
|
|
52324
52521
|
}
|
|
52325
52522
|
},
|
|
52326
|
-
"
|
|
52523
|
+
"35": {
|
|
52327
52524
|
start: {
|
|
52328
|
-
line:
|
|
52525
|
+
line: 92,
|
|
52329
52526
|
column: 6
|
|
52330
52527
|
},
|
|
52331
52528
|
end: {
|
|
52332
|
-
line:
|
|
52529
|
+
line: 131,
|
|
52333
52530
|
column: 79
|
|
52334
52531
|
}
|
|
52335
52532
|
},
|
|
52336
|
-
"
|
|
52533
|
+
"36": {
|
|
52337
52534
|
start: {
|
|
52338
|
-
line:
|
|
52535
|
+
line: 96,
|
|
52339
52536
|
column: 23
|
|
52340
52537
|
},
|
|
52341
52538
|
end: {
|
|
52342
|
-
line:
|
|
52539
|
+
line: 96,
|
|
52343
52540
|
column: 65
|
|
52344
52541
|
}
|
|
52345
52542
|
},
|
|
52346
|
-
"
|
|
52543
|
+
"37": {
|
|
52347
52544
|
start: {
|
|
52348
|
-
line:
|
|
52545
|
+
line: 97,
|
|
52349
52546
|
column: 8
|
|
52350
52547
|
},
|
|
52351
52548
|
end: {
|
|
52352
|
-
line:
|
|
52549
|
+
line: 104,
|
|
52353
52550
|
column: 9
|
|
52354
52551
|
}
|
|
52355
52552
|
},
|
|
52356
|
-
"
|
|
52553
|
+
"38": {
|
|
52357
52554
|
start: {
|
|
52358
|
-
line:
|
|
52555
|
+
line: 98,
|
|
52359
52556
|
column: 10
|
|
52360
52557
|
},
|
|
52361
52558
|
end: {
|
|
52362
|
-
line:
|
|
52559
|
+
line: 103,
|
|
52363
52560
|
column: 13
|
|
52364
52561
|
}
|
|
52365
52562
|
},
|
|
52366
|
-
"
|
|
52563
|
+
"39": {
|
|
52367
52564
|
start: {
|
|
52368
|
-
line:
|
|
52565
|
+
line: 105,
|
|
52369
52566
|
column: 13
|
|
52370
52567
|
},
|
|
52371
52568
|
end: {
|
|
52372
|
-
line:
|
|
52569
|
+
line: 131,
|
|
52373
52570
|
column: 79
|
|
52374
52571
|
}
|
|
52375
52572
|
},
|
|
52376
|
-
"
|
|
52573
|
+
"40": {
|
|
52377
52574
|
start: {
|
|
52378
|
-
line:
|
|
52575
|
+
line: 106,
|
|
52379
52576
|
column: 8
|
|
52380
52577
|
},
|
|
52381
52578
|
end: {
|
|
52382
|
-
line:
|
|
52579
|
+
line: 116,
|
|
52383
52580
|
column: 11
|
|
52384
52581
|
}
|
|
52385
52582
|
},
|
|
52386
|
-
"
|
|
52583
|
+
"41": {
|
|
52387
52584
|
start: {
|
|
52388
|
-
line:
|
|
52585
|
+
line: 107,
|
|
52389
52586
|
column: 10
|
|
52390
52587
|
},
|
|
52391
52588
|
end: {
|
|
52392
|
-
line:
|
|
52589
|
+
line: 115,
|
|
52393
52590
|
column: 11
|
|
52394
52591
|
}
|
|
52395
52592
|
},
|
|
52396
|
-
"
|
|
52593
|
+
"42": {
|
|
52397
52594
|
start: {
|
|
52398
|
-
line:
|
|
52595
|
+
line: 108,
|
|
52399
52596
|
column: 27
|
|
52400
52597
|
},
|
|
52401
52598
|
end: {
|
|
52402
|
-
line:
|
|
52599
|
+
line: 108,
|
|
52403
52600
|
column: 51
|
|
52404
52601
|
}
|
|
52405
52602
|
},
|
|
52406
|
-
"
|
|
52603
|
+
"43": {
|
|
52407
52604
|
start: {
|
|
52408
|
-
line:
|
|
52605
|
+
line: 109,
|
|
52409
52606
|
column: 12
|
|
52410
52607
|
},
|
|
52411
52608
|
end: {
|
|
52412
|
-
line:
|
|
52609
|
+
line: 114,
|
|
52413
52610
|
column: 15
|
|
52414
52611
|
}
|
|
52415
52612
|
},
|
|
52416
|
-
"
|
|
52613
|
+
"44": {
|
|
52417
52614
|
start: {
|
|
52418
|
-
line:
|
|
52615
|
+
line: 117,
|
|
52419
52616
|
column: 13
|
|
52420
52617
|
},
|
|
52421
52618
|
end: {
|
|
52422
|
-
line:
|
|
52619
|
+
line: 131,
|
|
52423
52620
|
column: 79
|
|
52424
52621
|
}
|
|
52425
52622
|
},
|
|
52426
|
-
"
|
|
52623
|
+
"45": {
|
|
52427
52624
|
start: {
|
|
52428
|
-
line:
|
|
52625
|
+
line: 118,
|
|
52429
52626
|
column: 8
|
|
52430
52627
|
},
|
|
52431
52628
|
end: {
|
|
52432
|
-
line:
|
|
52629
|
+
line: 124,
|
|
52433
52630
|
column: 11
|
|
52434
52631
|
}
|
|
52435
52632
|
},
|
|
52436
|
-
"
|
|
52633
|
+
"46": {
|
|
52437
52634
|
start: {
|
|
52438
|
-
line:
|
|
52635
|
+
line: 125,
|
|
52439
52636
|
column: 13
|
|
52440
52637
|
},
|
|
52441
52638
|
end: {
|
|
52442
|
-
line:
|
|
52639
|
+
line: 131,
|
|
52443
52640
|
column: 79
|
|
52444
52641
|
}
|
|
52445
52642
|
},
|
|
52446
|
-
"
|
|
52643
|
+
"47": {
|
|
52447
52644
|
start: {
|
|
52448
|
-
line:
|
|
52645
|
+
line: 126,
|
|
52449
52646
|
column: 8
|
|
52450
52647
|
},
|
|
52451
52648
|
end: {
|
|
52452
|
-
line:
|
|
52649
|
+
line: 130,
|
|
52453
52650
|
column: 11
|
|
52454
52651
|
}
|
|
52455
52652
|
},
|
|
52456
|
-
"
|
|
52653
|
+
"48": {
|
|
52457
52654
|
start: {
|
|
52458
|
-
line:
|
|
52655
|
+
line: 131,
|
|
52459
52656
|
column: 13
|
|
52460
52657
|
},
|
|
52461
52658
|
end: {
|
|
52462
|
-
line:
|
|
52659
|
+
line: 131,
|
|
52463
52660
|
column: 79
|
|
52464
52661
|
}
|
|
52465
52662
|
},
|
|
52466
|
-
"
|
|
52663
|
+
"49": {
|
|
52467
52664
|
start: {
|
|
52468
|
-
line:
|
|
52665
|
+
line: 135,
|
|
52469
52666
|
column: 2
|
|
52470
52667
|
},
|
|
52471
52668
|
end: {
|
|
52472
|
-
line:
|
|
52669
|
+
line: 135,
|
|
52473
52670
|
column: 22
|
|
52474
52671
|
}
|
|
52475
52672
|
},
|
|
52476
|
-
"
|
|
52673
|
+
"50": {
|
|
52477
52674
|
start: {
|
|
52478
|
-
line:
|
|
52675
|
+
line: 138,
|
|
52479
52676
|
column: 25
|
|
52480
52677
|
},
|
|
52481
52678
|
end: {
|
|
52482
|
-
line:
|
|
52679
|
+
line: 150,
|
|
52483
52680
|
column: 1
|
|
52484
52681
|
}
|
|
52485
52682
|
},
|
|
52486
|
-
"
|
|
52683
|
+
"51": {
|
|
52487
52684
|
start: {
|
|
52488
|
-
line:
|
|
52685
|
+
line: 139,
|
|
52489
52686
|
column: 25
|
|
52490
52687
|
},
|
|
52491
52688
|
end: {
|
|
52492
|
-
line:
|
|
52689
|
+
line: 139,
|
|
52493
52690
|
column: 30
|
|
52494
52691
|
}
|
|
52495
52692
|
},
|
|
52496
|
-
"
|
|
52693
|
+
"52": {
|
|
52497
52694
|
start: {
|
|
52498
|
-
line:
|
|
52695
|
+
line: 141,
|
|
52499
52696
|
column: 2
|
|
52500
52697
|
},
|
|
52501
52698
|
end: {
|
|
52502
|
-
line:
|
|
52699
|
+
line: 147,
|
|
52503
52700
|
column: 3
|
|
52504
52701
|
}
|
|
52505
52702
|
},
|
|
52506
|
-
"
|
|
52703
|
+
"53": {
|
|
52507
52704
|
start: {
|
|
52508
|
-
line:
|
|
52705
|
+
line: 142,
|
|
52509
52706
|
column: 4
|
|
52510
52707
|
},
|
|
52511
52708
|
end: {
|
|
52512
|
-
line:
|
|
52709
|
+
line: 146,
|
|
52513
52710
|
column: 21
|
|
52514
52711
|
}
|
|
52515
52712
|
},
|
|
52516
|
-
"
|
|
52713
|
+
"54": {
|
|
52517
52714
|
start: {
|
|
52518
|
-
line:
|
|
52715
|
+
line: 149,
|
|
52519
52716
|
column: 2
|
|
52520
52717
|
},
|
|
52521
52718
|
end: {
|
|
52522
|
-
line:
|
|
52719
|
+
line: 149,
|
|
52523
52720
|
column: 24
|
|
52524
52721
|
}
|
|
52525
52722
|
}
|
|
@@ -52615,7 +52812,7 @@ function cov_1l3yhm377b() {
|
|
|
52615
52812
|
column: 5
|
|
52616
52813
|
},
|
|
52617
52814
|
end: {
|
|
52618
|
-
line:
|
|
52815
|
+
line: 84,
|
|
52619
52816
|
column: 1
|
|
52620
52817
|
}
|
|
52621
52818
|
},
|
|
@@ -52663,7 +52860,7 @@ function cov_1l3yhm377b() {
|
|
|
52663
52860
|
column: 32
|
|
52664
52861
|
},
|
|
52665
52862
|
end: {
|
|
52666
|
-
line:
|
|
52863
|
+
line: 81,
|
|
52667
52864
|
column: 3
|
|
52668
52865
|
}
|
|
52669
52866
|
},
|
|
@@ -52673,145 +52870,145 @@ function cov_1l3yhm377b() {
|
|
|
52673
52870
|
name: "(anonymous_6)",
|
|
52674
52871
|
decl: {
|
|
52675
52872
|
start: {
|
|
52676
|
-
line:
|
|
52873
|
+
line: 54,
|
|
52677
52874
|
column: 34
|
|
52678
52875
|
},
|
|
52679
52876
|
end: {
|
|
52680
|
-
line:
|
|
52877
|
+
line: 54,
|
|
52681
52878
|
column: 35
|
|
52682
52879
|
}
|
|
52683
52880
|
},
|
|
52684
52881
|
loc: {
|
|
52685
52882
|
start: {
|
|
52686
|
-
line:
|
|
52883
|
+
line: 55,
|
|
52687
52884
|
column: 14
|
|
52688
52885
|
},
|
|
52689
52886
|
end: {
|
|
52690
|
-
line:
|
|
52887
|
+
line: 55,
|
|
52691
52888
|
column: 59
|
|
52692
52889
|
}
|
|
52693
52890
|
},
|
|
52694
|
-
line:
|
|
52891
|
+
line: 55
|
|
52695
52892
|
},
|
|
52696
52893
|
"7": {
|
|
52697
52894
|
name: "(anonymous_7)",
|
|
52698
52895
|
decl: {
|
|
52699
52896
|
start: {
|
|
52700
|
-
line:
|
|
52897
|
+
line: 64,
|
|
52701
52898
|
column: 33
|
|
52702
52899
|
},
|
|
52703
52900
|
end: {
|
|
52704
|
-
line:
|
|
52901
|
+
line: 64,
|
|
52705
52902
|
column: 34
|
|
52706
52903
|
}
|
|
52707
52904
|
},
|
|
52708
52905
|
loc: {
|
|
52709
52906
|
start: {
|
|
52710
|
-
line:
|
|
52907
|
+
line: 65,
|
|
52711
52908
|
column: 12
|
|
52712
52909
|
},
|
|
52713
52910
|
end: {
|
|
52714
|
-
line:
|
|
52911
|
+
line: 65,
|
|
52715
52912
|
column: 57
|
|
52716
52913
|
}
|
|
52717
52914
|
},
|
|
52718
|
-
line:
|
|
52915
|
+
line: 65
|
|
52719
52916
|
},
|
|
52720
52917
|
"8": {
|
|
52721
52918
|
name: "(anonymous_8)",
|
|
52722
52919
|
decl: {
|
|
52723
52920
|
start: {
|
|
52724
|
-
line:
|
|
52921
|
+
line: 86,
|
|
52725
52922
|
column: 36
|
|
52726
52923
|
},
|
|
52727
52924
|
end: {
|
|
52728
|
-
line:
|
|
52925
|
+
line: 86,
|
|
52729
52926
|
column: 37
|
|
52730
52927
|
}
|
|
52731
52928
|
},
|
|
52732
52929
|
loc: {
|
|
52733
52930
|
start: {
|
|
52734
|
-
line:
|
|
52931
|
+
line: 86,
|
|
52735
52932
|
column: 61
|
|
52736
52933
|
},
|
|
52737
52934
|
end: {
|
|
52738
|
-
line:
|
|
52935
|
+
line: 136,
|
|
52739
52936
|
column: 1
|
|
52740
52937
|
}
|
|
52741
52938
|
},
|
|
52742
|
-
line:
|
|
52939
|
+
line: 86
|
|
52743
52940
|
},
|
|
52744
52941
|
"9": {
|
|
52745
52942
|
name: "(anonymous_9)",
|
|
52746
52943
|
decl: {
|
|
52747
52944
|
start: {
|
|
52748
|
-
line:
|
|
52945
|
+
line: 88,
|
|
52749
52946
|
column: 20
|
|
52750
52947
|
},
|
|
52751
52948
|
end: {
|
|
52752
|
-
line:
|
|
52949
|
+
line: 88,
|
|
52753
52950
|
column: 21
|
|
52754
52951
|
}
|
|
52755
52952
|
},
|
|
52756
52953
|
loc: {
|
|
52757
52954
|
start: {
|
|
52758
|
-
line:
|
|
52955
|
+
line: 88,
|
|
52759
52956
|
column: 32
|
|
52760
52957
|
},
|
|
52761
52958
|
end: {
|
|
52762
|
-
line:
|
|
52959
|
+
line: 133,
|
|
52763
52960
|
column: 3
|
|
52764
52961
|
}
|
|
52765
52962
|
},
|
|
52766
|
-
line:
|
|
52963
|
+
line: 88
|
|
52767
52964
|
},
|
|
52768
52965
|
"10": {
|
|
52769
52966
|
name: "(anonymous_10)",
|
|
52770
52967
|
decl: {
|
|
52771
52968
|
start: {
|
|
52772
|
-
line:
|
|
52969
|
+
line: 106,
|
|
52773
52970
|
column: 30
|
|
52774
52971
|
},
|
|
52775
52972
|
end: {
|
|
52776
|
-
line:
|
|
52973
|
+
line: 106,
|
|
52777
52974
|
column: 31
|
|
52778
52975
|
}
|
|
52779
52976
|
},
|
|
52780
52977
|
loc: {
|
|
52781
52978
|
start: {
|
|
52782
|
-
line:
|
|
52979
|
+
line: 106,
|
|
52783
52980
|
column: 52
|
|
52784
52981
|
},
|
|
52785
52982
|
end: {
|
|
52786
|
-
line:
|
|
52983
|
+
line: 116,
|
|
52787
52984
|
column: 9
|
|
52788
52985
|
}
|
|
52789
52986
|
},
|
|
52790
|
-
line:
|
|
52987
|
+
line: 106
|
|
52791
52988
|
},
|
|
52792
52989
|
"11": {
|
|
52793
52990
|
name: "(anonymous_11)",
|
|
52794
52991
|
decl: {
|
|
52795
52992
|
start: {
|
|
52796
|
-
line:
|
|
52993
|
+
line: 138,
|
|
52797
52994
|
column: 25
|
|
52798
52995
|
},
|
|
52799
52996
|
end: {
|
|
52800
|
-
line:
|
|
52997
|
+
line: 138,
|
|
52801
52998
|
column: 26
|
|
52802
52999
|
}
|
|
52803
53000
|
},
|
|
52804
53001
|
loc: {
|
|
52805
53002
|
start: {
|
|
52806
|
-
line:
|
|
53003
|
+
line: 138,
|
|
52807
53004
|
column: 35
|
|
52808
53005
|
},
|
|
52809
53006
|
end: {
|
|
52810
|
-
line:
|
|
53007
|
+
line: 150,
|
|
52811
53008
|
column: 1
|
|
52812
53009
|
}
|
|
52813
53010
|
},
|
|
52814
|
-
line:
|
|
53011
|
+
line: 138
|
|
52815
53012
|
}
|
|
52816
53013
|
},
|
|
52817
53014
|
branchMap: {
|
|
@@ -52960,7 +53157,7 @@ function cov_1l3yhm377b() {
|
|
|
52960
53157
|
column: 4
|
|
52961
53158
|
},
|
|
52962
53159
|
end: {
|
|
52963
|
-
line:
|
|
53160
|
+
line: 80,
|
|
52964
53161
|
column: 5
|
|
52965
53162
|
}
|
|
52966
53163
|
},
|
|
@@ -52971,52 +53168,61 @@ function cov_1l3yhm377b() {
|
|
|
52971
53168
|
column: 6
|
|
52972
53169
|
},
|
|
52973
53170
|
end: {
|
|
52974
|
-
line:
|
|
52975
|
-
column:
|
|
53171
|
+
line: 46,
|
|
53172
|
+
column: 7
|
|
52976
53173
|
}
|
|
52977
53174
|
}, {
|
|
52978
53175
|
start: {
|
|
52979
|
-
line:
|
|
53176
|
+
line: 47,
|
|
52980
53177
|
column: 6
|
|
52981
53178
|
},
|
|
52982
53179
|
end: {
|
|
52983
|
-
line:
|
|
53180
|
+
line: 51,
|
|
52984
53181
|
column: 7
|
|
52985
53182
|
}
|
|
52986
53183
|
}, {
|
|
52987
53184
|
start: {
|
|
52988
|
-
line:
|
|
53185
|
+
line: 52,
|
|
52989
53186
|
column: 6
|
|
52990
53187
|
},
|
|
52991
53188
|
end: {
|
|
52992
|
-
line:
|
|
53189
|
+
line: 60,
|
|
53190
|
+
column: 7
|
|
53191
|
+
}
|
|
53192
|
+
}, {
|
|
53193
|
+
start: {
|
|
53194
|
+
line: 61,
|
|
53195
|
+
column: 6
|
|
53196
|
+
},
|
|
53197
|
+
end: {
|
|
53198
|
+
line: 61,
|
|
52993
53199
|
column: 37
|
|
52994
53200
|
}
|
|
52995
53201
|
}, {
|
|
52996
53202
|
start: {
|
|
52997
|
-
line:
|
|
53203
|
+
line: 62,
|
|
52998
53204
|
column: 6
|
|
52999
53205
|
},
|
|
53000
53206
|
end: {
|
|
53001
|
-
line:
|
|
53207
|
+
line: 69,
|
|
53002
53208
|
column: 7
|
|
53003
53209
|
}
|
|
53004
53210
|
}, {
|
|
53005
53211
|
start: {
|
|
53006
|
-
line:
|
|
53212
|
+
line: 70,
|
|
53007
53213
|
column: 6
|
|
53008
53214
|
},
|
|
53009
53215
|
end: {
|
|
53010
|
-
line:
|
|
53216
|
+
line: 74,
|
|
53011
53217
|
column: 7
|
|
53012
53218
|
}
|
|
53013
53219
|
}, {
|
|
53014
53220
|
start: {
|
|
53015
|
-
line:
|
|
53221
|
+
line: 75,
|
|
53016
53222
|
column: 6
|
|
53017
53223
|
},
|
|
53018
53224
|
end: {
|
|
53019
|
-
line:
|
|
53225
|
+
line: 79,
|
|
53020
53226
|
column: 7
|
|
53021
53227
|
}
|
|
53022
53228
|
}],
|
|
@@ -53030,7 +53236,7 @@ function cov_1l3yhm377b() {
|
|
|
53030
53236
|
},
|
|
53031
53237
|
end: {
|
|
53032
53238
|
line: 43,
|
|
53033
|
-
column:
|
|
53239
|
+
column: 56
|
|
53034
53240
|
}
|
|
53035
53241
|
},
|
|
53036
53242
|
type: "binary-expr",
|
|
@@ -53041,16 +53247,16 @@ function cov_1l3yhm377b() {
|
|
|
53041
53247
|
},
|
|
53042
53248
|
end: {
|
|
53043
53249
|
line: 43,
|
|
53044
|
-
column:
|
|
53250
|
+
column: 47
|
|
53045
53251
|
}
|
|
53046
53252
|
}, {
|
|
53047
53253
|
start: {
|
|
53048
53254
|
line: 43,
|
|
53049
|
-
column:
|
|
53255
|
+
column: 51
|
|
53050
53256
|
},
|
|
53051
53257
|
end: {
|
|
53052
53258
|
line: 43,
|
|
53053
|
-
column:
|
|
53259
|
+
column: 56
|
|
53054
53260
|
}
|
|
53055
53261
|
}],
|
|
53056
53262
|
line: 43
|
|
@@ -53058,154 +53264,187 @@ function cov_1l3yhm377b() {
|
|
|
53058
53264
|
"7": {
|
|
53059
53265
|
loc: {
|
|
53060
53266
|
start: {
|
|
53061
|
-
line:
|
|
53267
|
+
line: 48,
|
|
53062
53268
|
column: 25
|
|
53063
53269
|
},
|
|
53064
53270
|
end: {
|
|
53065
|
-
line:
|
|
53271
|
+
line: 48,
|
|
53272
|
+
column: 68
|
|
53273
|
+
}
|
|
53274
|
+
},
|
|
53275
|
+
type: "binary-expr",
|
|
53276
|
+
locations: [{
|
|
53277
|
+
start: {
|
|
53278
|
+
line: 48,
|
|
53279
|
+
column: 25
|
|
53280
|
+
},
|
|
53281
|
+
end: {
|
|
53282
|
+
line: 48,
|
|
53283
|
+
column: 62
|
|
53284
|
+
}
|
|
53285
|
+
}, {
|
|
53286
|
+
start: {
|
|
53287
|
+
line: 48,
|
|
53288
|
+
column: 66
|
|
53289
|
+
},
|
|
53290
|
+
end: {
|
|
53291
|
+
line: 48,
|
|
53292
|
+
column: 68
|
|
53293
|
+
}
|
|
53294
|
+
}],
|
|
53295
|
+
line: 48
|
|
53296
|
+
},
|
|
53297
|
+
"8": {
|
|
53298
|
+
loc: {
|
|
53299
|
+
start: {
|
|
53300
|
+
line: 53,
|
|
53301
|
+
column: 25
|
|
53302
|
+
},
|
|
53303
|
+
end: {
|
|
53304
|
+
line: 57,
|
|
53066
53305
|
column: 59
|
|
53067
53306
|
}
|
|
53068
53307
|
},
|
|
53069
53308
|
type: "cond-expr",
|
|
53070
53309
|
locations: [{
|
|
53071
53310
|
start: {
|
|
53072
|
-
line:
|
|
53311
|
+
line: 54,
|
|
53073
53312
|
column: 12
|
|
53074
53313
|
},
|
|
53075
53314
|
end: {
|
|
53076
|
-
line:
|
|
53315
|
+
line: 56,
|
|
53077
53316
|
column: 13
|
|
53078
53317
|
}
|
|
53079
53318
|
}, {
|
|
53080
53319
|
start: {
|
|
53081
|
-
line:
|
|
53320
|
+
line: 57,
|
|
53082
53321
|
column: 12
|
|
53083
53322
|
},
|
|
53084
53323
|
end: {
|
|
53085
|
-
line:
|
|
53324
|
+
line: 57,
|
|
53086
53325
|
column: 59
|
|
53087
53326
|
}
|
|
53088
53327
|
}],
|
|
53089
|
-
line:
|
|
53328
|
+
line: 53
|
|
53090
53329
|
},
|
|
53091
|
-
"
|
|
53330
|
+
"9": {
|
|
53092
53331
|
loc: {
|
|
53093
53332
|
start: {
|
|
53094
|
-
line:
|
|
53333
|
+
line: 64,
|
|
53095
53334
|
column: 10
|
|
53096
53335
|
},
|
|
53097
53336
|
end: {
|
|
53098
|
-
line:
|
|
53337
|
+
line: 66,
|
|
53099
53338
|
column: 21
|
|
53100
53339
|
}
|
|
53101
53340
|
},
|
|
53102
53341
|
type: "binary-expr",
|
|
53103
53342
|
locations: [{
|
|
53104
53343
|
start: {
|
|
53105
|
-
line:
|
|
53344
|
+
line: 64,
|
|
53106
53345
|
column: 10
|
|
53107
53346
|
},
|
|
53108
53347
|
end: {
|
|
53109
|
-
line:
|
|
53348
|
+
line: 66,
|
|
53110
53349
|
column: 15
|
|
53111
53350
|
}
|
|
53112
53351
|
}, {
|
|
53113
53352
|
start: {
|
|
53114
|
-
line:
|
|
53353
|
+
line: 66,
|
|
53115
53354
|
column: 19
|
|
53116
53355
|
},
|
|
53117
53356
|
end: {
|
|
53118
|
-
line:
|
|
53357
|
+
line: 66,
|
|
53119
53358
|
column: 21
|
|
53120
53359
|
}
|
|
53121
53360
|
}],
|
|
53122
|
-
line:
|
|
53361
|
+
line: 64
|
|
53123
53362
|
},
|
|
53124
|
-
"
|
|
53363
|
+
"10": {
|
|
53125
53364
|
loc: {
|
|
53126
53365
|
start: {
|
|
53127
|
-
line:
|
|
53366
|
+
line: 76,
|
|
53128
53367
|
column: 25
|
|
53129
53368
|
},
|
|
53130
53369
|
end: {
|
|
53131
|
-
line:
|
|
53370
|
+
line: 76,
|
|
53132
53371
|
column: 53
|
|
53133
53372
|
}
|
|
53134
53373
|
},
|
|
53135
53374
|
type: "binary-expr",
|
|
53136
53375
|
locations: [{
|
|
53137
53376
|
start: {
|
|
53138
|
-
line:
|
|
53377
|
+
line: 76,
|
|
53139
53378
|
column: 25
|
|
53140
53379
|
},
|
|
53141
53380
|
end: {
|
|
53142
|
-
line:
|
|
53381
|
+
line: 76,
|
|
53143
53382
|
column: 47
|
|
53144
53383
|
}
|
|
53145
53384
|
}, {
|
|
53146
53385
|
start: {
|
|
53147
|
-
line:
|
|
53386
|
+
line: 76,
|
|
53148
53387
|
column: 51
|
|
53149
53388
|
},
|
|
53150
53389
|
end: {
|
|
53151
|
-
line:
|
|
53390
|
+
line: 76,
|
|
53152
53391
|
column: 53
|
|
53153
53392
|
}
|
|
53154
53393
|
}],
|
|
53155
|
-
line:
|
|
53394
|
+
line: 76
|
|
53156
53395
|
},
|
|
53157
|
-
"
|
|
53396
|
+
"11": {
|
|
53158
53397
|
loc: {
|
|
53159
53398
|
start: {
|
|
53160
|
-
line:
|
|
53399
|
+
line: 83,
|
|
53161
53400
|
column: 9
|
|
53162
53401
|
},
|
|
53163
53402
|
end: {
|
|
53164
|
-
line:
|
|
53403
|
+
line: 83,
|
|
53165
53404
|
column: 63
|
|
53166
53405
|
}
|
|
53167
53406
|
},
|
|
53168
53407
|
type: "cond-expr",
|
|
53169
53408
|
locations: [{
|
|
53170
53409
|
start: {
|
|
53171
|
-
line:
|
|
53410
|
+
line: 83,
|
|
53172
53411
|
column: 39
|
|
53173
53412
|
},
|
|
53174
53413
|
end: {
|
|
53175
|
-
line:
|
|
53414
|
+
line: 83,
|
|
53176
53415
|
column: 50
|
|
53177
53416
|
}
|
|
53178
53417
|
}, {
|
|
53179
53418
|
start: {
|
|
53180
|
-
line:
|
|
53419
|
+
line: 83,
|
|
53181
53420
|
column: 53
|
|
53182
53421
|
},
|
|
53183
53422
|
end: {
|
|
53184
|
-
line:
|
|
53423
|
+
line: 83,
|
|
53185
53424
|
column: 63
|
|
53186
53425
|
}
|
|
53187
53426
|
}],
|
|
53188
|
-
line:
|
|
53427
|
+
line: 83
|
|
53189
53428
|
},
|
|
53190
|
-
"
|
|
53429
|
+
"12": {
|
|
53191
53430
|
loc: {
|
|
53192
53431
|
start: {
|
|
53193
|
-
line:
|
|
53432
|
+
line: 90,
|
|
53194
53433
|
column: 4
|
|
53195
53434
|
},
|
|
53196
53435
|
end: {
|
|
53197
|
-
line:
|
|
53436
|
+
line: 132,
|
|
53198
53437
|
column: 5
|
|
53199
53438
|
}
|
|
53200
53439
|
},
|
|
53201
53440
|
type: "if",
|
|
53202
53441
|
locations: [{
|
|
53203
53442
|
start: {
|
|
53204
|
-
line:
|
|
53443
|
+
line: 90,
|
|
53205
53444
|
column: 4
|
|
53206
53445
|
},
|
|
53207
53446
|
end: {
|
|
53208
|
-
line:
|
|
53447
|
+
line: 132,
|
|
53209
53448
|
column: 5
|
|
53210
53449
|
}
|
|
53211
53450
|
}, {
|
|
@@ -53218,93 +53457,93 @@ function cov_1l3yhm377b() {
|
|
|
53218
53457
|
column: undefined
|
|
53219
53458
|
}
|
|
53220
53459
|
}],
|
|
53221
|
-
line:
|
|
53460
|
+
line: 90
|
|
53222
53461
|
},
|
|
53223
|
-
"
|
|
53462
|
+
"13": {
|
|
53224
53463
|
loc: {
|
|
53225
53464
|
start: {
|
|
53226
|
-
line:
|
|
53465
|
+
line: 92,
|
|
53227
53466
|
column: 6
|
|
53228
53467
|
},
|
|
53229
53468
|
end: {
|
|
53230
|
-
line:
|
|
53469
|
+
line: 131,
|
|
53231
53470
|
column: 79
|
|
53232
53471
|
}
|
|
53233
53472
|
},
|
|
53234
53473
|
type: "if",
|
|
53235
53474
|
locations: [{
|
|
53236
53475
|
start: {
|
|
53237
|
-
line:
|
|
53476
|
+
line: 92,
|
|
53238
53477
|
column: 6
|
|
53239
53478
|
},
|
|
53240
53479
|
end: {
|
|
53241
|
-
line:
|
|
53480
|
+
line: 131,
|
|
53242
53481
|
column: 79
|
|
53243
53482
|
}
|
|
53244
53483
|
}, {
|
|
53245
53484
|
start: {
|
|
53246
|
-
line:
|
|
53485
|
+
line: 105,
|
|
53247
53486
|
column: 13
|
|
53248
53487
|
},
|
|
53249
53488
|
end: {
|
|
53250
|
-
line:
|
|
53489
|
+
line: 131,
|
|
53251
53490
|
column: 79
|
|
53252
53491
|
}
|
|
53253
53492
|
}],
|
|
53254
|
-
line:
|
|
53493
|
+
line: 92
|
|
53255
53494
|
},
|
|
53256
|
-
"
|
|
53495
|
+
"14": {
|
|
53257
53496
|
loc: {
|
|
53258
53497
|
start: {
|
|
53259
|
-
line:
|
|
53498
|
+
line: 93,
|
|
53260
53499
|
column: 8
|
|
53261
53500
|
},
|
|
53262
53501
|
end: {
|
|
53263
|
-
line:
|
|
53502
|
+
line: 94,
|
|
53264
53503
|
column: 45
|
|
53265
53504
|
}
|
|
53266
53505
|
},
|
|
53267
53506
|
type: "binary-expr",
|
|
53268
53507
|
locations: [{
|
|
53269
53508
|
start: {
|
|
53270
|
-
line:
|
|
53509
|
+
line: 93,
|
|
53271
53510
|
column: 8
|
|
53272
53511
|
},
|
|
53273
53512
|
end: {
|
|
53274
|
-
line:
|
|
53513
|
+
line: 93,
|
|
53275
53514
|
column: 42
|
|
53276
53515
|
}
|
|
53277
53516
|
}, {
|
|
53278
53517
|
start: {
|
|
53279
|
-
line:
|
|
53518
|
+
line: 94,
|
|
53280
53519
|
column: 8
|
|
53281
53520
|
},
|
|
53282
53521
|
end: {
|
|
53283
|
-
line:
|
|
53522
|
+
line: 94,
|
|
53284
53523
|
column: 45
|
|
53285
53524
|
}
|
|
53286
53525
|
}],
|
|
53287
|
-
line:
|
|
53526
|
+
line: 93
|
|
53288
53527
|
},
|
|
53289
|
-
"
|
|
53528
|
+
"15": {
|
|
53290
53529
|
loc: {
|
|
53291
53530
|
start: {
|
|
53292
|
-
line:
|
|
53531
|
+
line: 97,
|
|
53293
53532
|
column: 8
|
|
53294
53533
|
},
|
|
53295
53534
|
end: {
|
|
53296
|
-
line:
|
|
53535
|
+
line: 104,
|
|
53297
53536
|
column: 9
|
|
53298
53537
|
}
|
|
53299
53538
|
},
|
|
53300
53539
|
type: "if",
|
|
53301
53540
|
locations: [{
|
|
53302
53541
|
start: {
|
|
53303
|
-
line:
|
|
53542
|
+
line: 97,
|
|
53304
53543
|
column: 8
|
|
53305
53544
|
},
|
|
53306
53545
|
end: {
|
|
53307
|
-
line:
|
|
53546
|
+
line: 104,
|
|
53308
53547
|
column: 9
|
|
53309
53548
|
}
|
|
53310
53549
|
}, {
|
|
@@ -53317,60 +53556,60 @@ function cov_1l3yhm377b() {
|
|
|
53317
53556
|
column: undefined
|
|
53318
53557
|
}
|
|
53319
53558
|
}],
|
|
53320
|
-
line:
|
|
53559
|
+
line: 97
|
|
53321
53560
|
},
|
|
53322
|
-
"
|
|
53561
|
+
"16": {
|
|
53323
53562
|
loc: {
|
|
53324
53563
|
start: {
|
|
53325
|
-
line:
|
|
53564
|
+
line: 105,
|
|
53326
53565
|
column: 13
|
|
53327
53566
|
},
|
|
53328
53567
|
end: {
|
|
53329
|
-
line:
|
|
53568
|
+
line: 131,
|
|
53330
53569
|
column: 79
|
|
53331
53570
|
}
|
|
53332
53571
|
},
|
|
53333
53572
|
type: "if",
|
|
53334
53573
|
locations: [{
|
|
53335
53574
|
start: {
|
|
53336
|
-
line:
|
|
53575
|
+
line: 105,
|
|
53337
53576
|
column: 13
|
|
53338
53577
|
},
|
|
53339
53578
|
end: {
|
|
53340
|
-
line:
|
|
53579
|
+
line: 131,
|
|
53341
53580
|
column: 79
|
|
53342
53581
|
}
|
|
53343
53582
|
}, {
|
|
53344
53583
|
start: {
|
|
53345
|
-
line:
|
|
53584
|
+
line: 117,
|
|
53346
53585
|
column: 13
|
|
53347
53586
|
},
|
|
53348
53587
|
end: {
|
|
53349
|
-
line:
|
|
53588
|
+
line: 131,
|
|
53350
53589
|
column: 79
|
|
53351
53590
|
}
|
|
53352
53591
|
}],
|
|
53353
|
-
line:
|
|
53592
|
+
line: 105
|
|
53354
53593
|
},
|
|
53355
|
-
"
|
|
53594
|
+
"17": {
|
|
53356
53595
|
loc: {
|
|
53357
53596
|
start: {
|
|
53358
|
-
line:
|
|
53597
|
+
line: 107,
|
|
53359
53598
|
column: 10
|
|
53360
53599
|
},
|
|
53361
53600
|
end: {
|
|
53362
|
-
line:
|
|
53601
|
+
line: 115,
|
|
53363
53602
|
column: 11
|
|
53364
53603
|
}
|
|
53365
53604
|
},
|
|
53366
53605
|
type: "if",
|
|
53367
53606
|
locations: [{
|
|
53368
53607
|
start: {
|
|
53369
|
-
line:
|
|
53608
|
+
line: 107,
|
|
53370
53609
|
column: 10
|
|
53371
53610
|
},
|
|
53372
53611
|
end: {
|
|
53373
|
-
line:
|
|
53612
|
+
line: 115,
|
|
53374
53613
|
column: 11
|
|
53375
53614
|
}
|
|
53376
53615
|
}, {
|
|
@@ -53383,159 +53622,159 @@ function cov_1l3yhm377b() {
|
|
|
53383
53622
|
column: undefined
|
|
53384
53623
|
}
|
|
53385
53624
|
}],
|
|
53386
|
-
line:
|
|
53625
|
+
line: 107
|
|
53387
53626
|
},
|
|
53388
|
-
"
|
|
53627
|
+
"18": {
|
|
53389
53628
|
loc: {
|
|
53390
53629
|
start: {
|
|
53391
|
-
line:
|
|
53630
|
+
line: 117,
|
|
53392
53631
|
column: 13
|
|
53393
53632
|
},
|
|
53394
53633
|
end: {
|
|
53395
|
-
line:
|
|
53634
|
+
line: 131,
|
|
53396
53635
|
column: 79
|
|
53397
53636
|
}
|
|
53398
53637
|
},
|
|
53399
53638
|
type: "if",
|
|
53400
53639
|
locations: [{
|
|
53401
53640
|
start: {
|
|
53402
|
-
line:
|
|
53641
|
+
line: 117,
|
|
53403
53642
|
column: 13
|
|
53404
53643
|
},
|
|
53405
53644
|
end: {
|
|
53406
|
-
line:
|
|
53645
|
+
line: 131,
|
|
53407
53646
|
column: 79
|
|
53408
53647
|
}
|
|
53409
53648
|
}, {
|
|
53410
53649
|
start: {
|
|
53411
|
-
line:
|
|
53650
|
+
line: 125,
|
|
53412
53651
|
column: 13
|
|
53413
53652
|
},
|
|
53414
53653
|
end: {
|
|
53415
|
-
line:
|
|
53654
|
+
line: 131,
|
|
53416
53655
|
column: 79
|
|
53417
53656
|
}
|
|
53418
53657
|
}],
|
|
53419
|
-
line:
|
|
53658
|
+
line: 117
|
|
53420
53659
|
},
|
|
53421
|
-
"
|
|
53660
|
+
"19": {
|
|
53422
53661
|
loc: {
|
|
53423
53662
|
start: {
|
|
53424
|
-
line:
|
|
53663
|
+
line: 120,
|
|
53425
53664
|
column: 17
|
|
53426
53665
|
},
|
|
53427
53666
|
end: {
|
|
53428
|
-
line:
|
|
53667
|
+
line: 122,
|
|
53429
53668
|
column: 16
|
|
53430
53669
|
}
|
|
53431
53670
|
},
|
|
53432
53671
|
type: "cond-expr",
|
|
53433
53672
|
locations: [{
|
|
53434
53673
|
start: {
|
|
53435
|
-
line:
|
|
53674
|
+
line: 121,
|
|
53436
53675
|
column: 14
|
|
53437
53676
|
},
|
|
53438
53677
|
end: {
|
|
53439
|
-
line:
|
|
53678
|
+
line: 121,
|
|
53440
53679
|
column: 67
|
|
53441
53680
|
}
|
|
53442
53681
|
}, {
|
|
53443
53682
|
start: {
|
|
53444
|
-
line:
|
|
53683
|
+
line: 122,
|
|
53445
53684
|
column: 14
|
|
53446
53685
|
},
|
|
53447
53686
|
end: {
|
|
53448
|
-
line:
|
|
53687
|
+
line: 122,
|
|
53449
53688
|
column: 16
|
|
53450
53689
|
}
|
|
53451
53690
|
}],
|
|
53452
|
-
line:
|
|
53691
|
+
line: 120
|
|
53453
53692
|
},
|
|
53454
|
-
"
|
|
53693
|
+
"20": {
|
|
53455
53694
|
loc: {
|
|
53456
53695
|
start: {
|
|
53457
|
-
line:
|
|
53696
|
+
line: 125,
|
|
53458
53697
|
column: 13
|
|
53459
53698
|
},
|
|
53460
53699
|
end: {
|
|
53461
|
-
line:
|
|
53700
|
+
line: 131,
|
|
53462
53701
|
column: 79
|
|
53463
53702
|
}
|
|
53464
53703
|
},
|
|
53465
53704
|
type: "if",
|
|
53466
53705
|
locations: [{
|
|
53467
53706
|
start: {
|
|
53468
|
-
line:
|
|
53707
|
+
line: 125,
|
|
53469
53708
|
column: 13
|
|
53470
53709
|
},
|
|
53471
53710
|
end: {
|
|
53472
|
-
line:
|
|
53711
|
+
line: 131,
|
|
53473
53712
|
column: 79
|
|
53474
53713
|
}
|
|
53475
53714
|
}, {
|
|
53476
53715
|
start: {
|
|
53477
|
-
line:
|
|
53716
|
+
line: 131,
|
|
53478
53717
|
column: 13
|
|
53479
53718
|
},
|
|
53480
53719
|
end: {
|
|
53481
|
-
line:
|
|
53720
|
+
line: 131,
|
|
53482
53721
|
column: 79
|
|
53483
53722
|
}
|
|
53484
53723
|
}],
|
|
53485
|
-
line:
|
|
53724
|
+
line: 125
|
|
53486
53725
|
},
|
|
53487
|
-
"
|
|
53726
|
+
"21": {
|
|
53488
53727
|
loc: {
|
|
53489
53728
|
start: {
|
|
53490
|
-
line:
|
|
53729
|
+
line: 128,
|
|
53491
53730
|
column: 17
|
|
53492
53731
|
},
|
|
53493
53732
|
end: {
|
|
53494
|
-
line:
|
|
53733
|
+
line: 128,
|
|
53495
53734
|
column: 69
|
|
53496
53735
|
}
|
|
53497
53736
|
},
|
|
53498
53737
|
type: "cond-expr",
|
|
53499
53738
|
locations: [{
|
|
53500
53739
|
start: {
|
|
53501
|
-
line:
|
|
53740
|
+
line: 128,
|
|
53502
53741
|
column: 33
|
|
53503
53742
|
},
|
|
53504
53743
|
end: {
|
|
53505
|
-
line:
|
|
53744
|
+
line: 128,
|
|
53506
53745
|
column: 62
|
|
53507
53746
|
}
|
|
53508
53747
|
}, {
|
|
53509
53748
|
start: {
|
|
53510
|
-
line:
|
|
53749
|
+
line: 128,
|
|
53511
53750
|
column: 65
|
|
53512
53751
|
},
|
|
53513
53752
|
end: {
|
|
53514
|
-
line:
|
|
53753
|
+
line: 128,
|
|
53515
53754
|
column: 69
|
|
53516
53755
|
}
|
|
53517
53756
|
}],
|
|
53518
|
-
line:
|
|
53757
|
+
line: 128
|
|
53519
53758
|
},
|
|
53520
|
-
"
|
|
53759
|
+
"22": {
|
|
53521
53760
|
loc: {
|
|
53522
53761
|
start: {
|
|
53523
|
-
line:
|
|
53762
|
+
line: 141,
|
|
53524
53763
|
column: 2
|
|
53525
53764
|
},
|
|
53526
53765
|
end: {
|
|
53527
|
-
line:
|
|
53766
|
+
line: 147,
|
|
53528
53767
|
column: 3
|
|
53529
53768
|
}
|
|
53530
53769
|
},
|
|
53531
53770
|
type: "if",
|
|
53532
53771
|
locations: [{
|
|
53533
53772
|
start: {
|
|
53534
|
-
line:
|
|
53773
|
+
line: 141,
|
|
53535
53774
|
column: 2
|
|
53536
53775
|
},
|
|
53537
53776
|
end: {
|
|
53538
|
-
line:
|
|
53777
|
+
line: 147,
|
|
53539
53778
|
column: 3
|
|
53540
53779
|
}
|
|
53541
53780
|
}, {
|
|
@@ -53548,40 +53787,40 @@ function cov_1l3yhm377b() {
|
|
|
53548
53787
|
column: undefined
|
|
53549
53788
|
}
|
|
53550
53789
|
}],
|
|
53551
|
-
line:
|
|
53790
|
+
line: 141
|
|
53552
53791
|
},
|
|
53553
|
-
"
|
|
53792
|
+
"23": {
|
|
53554
53793
|
loc: {
|
|
53555
53794
|
start: {
|
|
53556
|
-
line:
|
|
53795
|
+
line: 141,
|
|
53557
53796
|
column: 6
|
|
53558
53797
|
},
|
|
53559
53798
|
end: {
|
|
53560
|
-
line:
|
|
53799
|
+
line: 141,
|
|
53561
53800
|
column: 30
|
|
53562
53801
|
}
|
|
53563
53802
|
},
|
|
53564
53803
|
type: "binary-expr",
|
|
53565
53804
|
locations: [{
|
|
53566
53805
|
start: {
|
|
53567
|
-
line:
|
|
53806
|
+
line: 141,
|
|
53568
53807
|
column: 6
|
|
53569
53808
|
},
|
|
53570
53809
|
end: {
|
|
53571
|
-
line:
|
|
53810
|
+
line: 141,
|
|
53572
53811
|
column: 12
|
|
53573
53812
|
}
|
|
53574
53813
|
}, {
|
|
53575
53814
|
start: {
|
|
53576
|
-
line:
|
|
53815
|
+
line: 141,
|
|
53577
53816
|
column: 16
|
|
53578
53817
|
},
|
|
53579
53818
|
end: {
|
|
53580
|
-
line:
|
|
53819
|
+
line: 141,
|
|
53581
53820
|
column: 30
|
|
53582
53821
|
}
|
|
53583
53822
|
}],
|
|
53584
|
-
line:
|
|
53823
|
+
line: 141
|
|
53585
53824
|
}
|
|
53586
53825
|
},
|
|
53587
53826
|
s: {
|
|
@@ -53637,7 +53876,9 @@ function cov_1l3yhm377b() {
|
|
|
53637
53876
|
"49": 0,
|
|
53638
53877
|
"50": 0,
|
|
53639
53878
|
"51": 0,
|
|
53640
|
-
"52": 0
|
|
53879
|
+
"52": 0,
|
|
53880
|
+
"53": 0,
|
|
53881
|
+
"54": 0
|
|
53641
53882
|
},
|
|
53642
53883
|
f: {
|
|
53643
53884
|
"0": 0,
|
|
@@ -53659,7 +53900,7 @@ function cov_1l3yhm377b() {
|
|
|
53659
53900
|
"2": [0],
|
|
53660
53901
|
"3": [0],
|
|
53661
53902
|
"4": [0, 0],
|
|
53662
|
-
"5": [0, 0, 0, 0, 0, 0],
|
|
53903
|
+
"5": [0, 0, 0, 0, 0, 0, 0],
|
|
53663
53904
|
"6": [0, 0],
|
|
53664
53905
|
"7": [0, 0],
|
|
53665
53906
|
"8": [0, 0],
|
|
@@ -53676,10 +53917,11 @@ function cov_1l3yhm377b() {
|
|
|
53676
53917
|
"19": [0, 0],
|
|
53677
53918
|
"20": [0, 0],
|
|
53678
53919
|
"21": [0, 0],
|
|
53679
|
-
"22": [0, 0]
|
|
53920
|
+
"22": [0, 0],
|
|
53921
|
+
"23": [0, 0]
|
|
53680
53922
|
},
|
|
53681
53923
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
53682
|
-
hash: "
|
|
53924
|
+
hash: "43a1df0efd87b2eb39a9401cdbb55dc1f6ee1045"
|
|
53683
53925
|
};
|
|
53684
53926
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
53685
53927
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -53742,7 +53984,6 @@ var generateInitValues = function generateInitValues(questions) {
|
|
|
53742
53984
|
}
|
|
53743
53985
|
cov_1l3yhm377b().s[11]++;
|
|
53744
53986
|
questions.forEach(function (question) {
|
|
53745
|
-
var _ref2, _valuesMap, _valuesMap$id;
|
|
53746
53987
|
cov_1l3yhm377b().f[5]++;
|
|
53747
53988
|
var _ref = (cov_1l3yhm377b().s[12]++, question),
|
|
53748
53989
|
id = _ref.id,
|
|
@@ -53750,88 +53991,100 @@ var generateInitValues = function generateInitValues(questions) {
|
|
|
53750
53991
|
optionsAttributes = _ref.optionsAttributes;
|
|
53751
53992
|
cov_1l3yhm377b().s[13]++;
|
|
53752
53993
|
switch (kind) {
|
|
53753
|
-
case QUESTION_KIND.
|
|
53994
|
+
case QUESTION_KIND.CONDITION.value:
|
|
53754
53995
|
cov_1l3yhm377b().b[5][0]++;
|
|
53755
|
-
|
|
53756
|
-
|
|
53757
|
-
|
|
53758
|
-
|
|
53759
|
-
|
|
53996
|
+
{
|
|
53997
|
+
var _ref2, _valuesMap, _valuesMap$id;
|
|
53998
|
+
cov_1l3yhm377b().s[14]++;
|
|
53999
|
+
initValues[id] = (_ref2 = (cov_1l3yhm377b().b[6][0]++, (_valuesMap = valuesMap) === null || _valuesMap === void 0 ? void 0 : (_valuesMap$id = _valuesMap[id]) === null || _valuesMap$id === void 0 ? void 0 : _valuesMap$id.value)) !== null && _ref2 !== void 0 ? _ref2 : (cov_1l3yhm377b().b[6][1]++, false);
|
|
54000
|
+
cov_1l3yhm377b().s[15]++;
|
|
54001
|
+
return;
|
|
54002
|
+
}
|
|
54003
|
+
case QUESTION_KIND.ADDITIONAL_GUESTS.value:
|
|
53760
54004
|
cov_1l3yhm377b().b[5][1]++;
|
|
53761
54005
|
{
|
|
53762
|
-
var
|
|
54006
|
+
var _ref3, _valuesMap2, _valuesMap2$id;
|
|
53763
54007
|
cov_1l3yhm377b().s[16]++;
|
|
53764
|
-
initValues[id] = (
|
|
54008
|
+
initValues[id] = (_ref3 = (cov_1l3yhm377b().b[7][0]++, toEmailValues((_valuesMap2 = valuesMap) === null || _valuesMap2 === void 0 ? void 0 : (_valuesMap2$id = _valuesMap2[id]) === null || _valuesMap2$id === void 0 ? void 0 : _valuesMap2$id.value))) !== null && _ref3 !== void 0 ? _ref3 : (cov_1l3yhm377b().b[7][1]++, []);
|
|
54009
|
+
cov_1l3yhm377b().s[17]++;
|
|
54010
|
+
return;
|
|
54011
|
+
}
|
|
54012
|
+
case QUESTION_KIND.CHECKBOX.value:
|
|
54013
|
+
cov_1l3yhm377b().b[5][2]++;
|
|
54014
|
+
{
|
|
54015
|
+
var _valuesMap$id2, _valuesMap$id2$option;
|
|
54016
|
+
cov_1l3yhm377b().s[18]++;
|
|
54017
|
+
initValues[id] = (_valuesMap$id2 = valuesMap[id]) !== null && _valuesMap$id2 !== void 0 && (_valuesMap$id2$option = _valuesMap$id2.optionIds) !== null && _valuesMap$id2$option !== void 0 && _valuesMap$id2$option.length ? (cov_1l3yhm377b().b[8][0]++, optionsAttributes.map(function (option) {
|
|
53765
54018
|
var _valuesMap$id3, _valuesMap$id3$option;
|
|
53766
54019
|
cov_1l3yhm377b().f[6]++;
|
|
53767
|
-
cov_1l3yhm377b().s[
|
|
54020
|
+
cov_1l3yhm377b().s[19]++;
|
|
53768
54021
|
return (_valuesMap$id3 = valuesMap[id]) === null || _valuesMap$id3 === void 0 ? void 0 : (_valuesMap$id3$option = _valuesMap$id3.optionIds) === null || _valuesMap$id3$option === void 0 ? void 0 : _valuesMap$id3$option.includes(option.id);
|
|
53769
|
-
})) : (cov_1l3yhm377b().b[
|
|
53770
|
-
cov_1l3yhm377b().s[
|
|
54022
|
+
})) : (cov_1l3yhm377b().b[8][1]++, new Array(optionsAttributes.length).fill(false));
|
|
54023
|
+
cov_1l3yhm377b().s[20]++;
|
|
53771
54024
|
return;
|
|
53772
54025
|
}
|
|
53773
54026
|
case QUESTION_KIND.RADIO.value:
|
|
53774
|
-
cov_1l3yhm377b().b[5][2]++;
|
|
53775
|
-
case QUESTION_KIND.DROPDOWN.value:
|
|
53776
54027
|
cov_1l3yhm377b().b[5][3]++;
|
|
54028
|
+
case QUESTION_KIND.DROPDOWN.value:
|
|
54029
|
+
cov_1l3yhm377b().b[5][4]++;
|
|
53777
54030
|
{
|
|
53778
54031
|
var _optionsAttributes$fi;
|
|
53779
|
-
cov_1l3yhm377b().s[
|
|
53780
|
-
initValues[id] = (cov_1l3yhm377b().b[
|
|
54032
|
+
cov_1l3yhm377b().s[21]++;
|
|
54033
|
+
initValues[id] = (cov_1l3yhm377b().b[9][0]++, (_optionsAttributes$fi = optionsAttributes.find(function (option) {
|
|
53781
54034
|
var _valuesMap$id4, _valuesMap$id4$option;
|
|
53782
54035
|
cov_1l3yhm377b().f[7]++;
|
|
53783
|
-
cov_1l3yhm377b().s[
|
|
54036
|
+
cov_1l3yhm377b().s[22]++;
|
|
53784
54037
|
return (_valuesMap$id4 = valuesMap[id]) === null || _valuesMap$id4 === void 0 ? void 0 : (_valuesMap$id4$option = _valuesMap$id4.optionIds) === null || _valuesMap$id4$option === void 0 ? void 0 : _valuesMap$id4$option.includes(option.id);
|
|
53785
|
-
})) === null || _optionsAttributes$fi === void 0 ? void 0 : _optionsAttributes$fi.id) || (cov_1l3yhm377b().b[
|
|
53786
|
-
cov_1l3yhm377b().s[
|
|
54038
|
+
})) === null || _optionsAttributes$fi === void 0 ? void 0 : _optionsAttributes$fi.id) || (cov_1l3yhm377b().b[9][1]++, "");
|
|
54039
|
+
cov_1l3yhm377b().s[23]++;
|
|
53787
54040
|
return;
|
|
53788
54041
|
}
|
|
53789
54042
|
case QUESTION_KIND.TERMS.value:
|
|
53790
|
-
cov_1l3yhm377b().b[5][
|
|
54043
|
+
cov_1l3yhm377b().b[5][5]++;
|
|
53791
54044
|
{
|
|
53792
|
-
cov_1l3yhm377b().s[
|
|
54045
|
+
cov_1l3yhm377b().s[24]++;
|
|
53793
54046
|
initValues[id] = false;
|
|
53794
|
-
cov_1l3yhm377b().s[
|
|
54047
|
+
cov_1l3yhm377b().s[25]++;
|
|
53795
54048
|
return;
|
|
53796
54049
|
}
|
|
53797
54050
|
default:
|
|
53798
|
-
cov_1l3yhm377b().b[5][
|
|
54051
|
+
cov_1l3yhm377b().b[5][6]++;
|
|
53799
54052
|
{
|
|
53800
|
-
var
|
|
53801
|
-
cov_1l3yhm377b().s[
|
|
53802
|
-
initValues[id] = (
|
|
53803
|
-
cov_1l3yhm377b().s[
|
|
54053
|
+
var _ref4, _valuesMap3, _valuesMap3$id;
|
|
54054
|
+
cov_1l3yhm377b().s[26]++;
|
|
54055
|
+
initValues[id] = (_ref4 = (cov_1l3yhm377b().b[10][0]++, (_valuesMap3 = valuesMap) === null || _valuesMap3 === void 0 ? void 0 : (_valuesMap3$id = _valuesMap3[id]) === null || _valuesMap3$id === void 0 ? void 0 : _valuesMap3$id.value)) !== null && _ref4 !== void 0 ? _ref4 : (cov_1l3yhm377b().b[10][1]++, "");
|
|
54056
|
+
cov_1l3yhm377b().s[27]++;
|
|
53804
54057
|
return;
|
|
53805
54058
|
}
|
|
53806
54059
|
}
|
|
53807
54060
|
});
|
|
53808
|
-
cov_1l3yhm377b().s[
|
|
53809
|
-
return !isEmptyValues(localValues) ? (cov_1l3yhm377b().b[
|
|
54061
|
+
cov_1l3yhm377b().s[28]++;
|
|
54062
|
+
return !isEmptyValues(localValues) ? (cov_1l3yhm377b().b[11][0]++, localValues) : (cov_1l3yhm377b().b[11][1]++, initValues);
|
|
53810
54063
|
};
|
|
53811
|
-
cov_1l3yhm377b().s[
|
|
54064
|
+
cov_1l3yhm377b().s[29]++;
|
|
53812
54065
|
var generateFormResponse = function generateFormResponse(response, questions) {
|
|
53813
54066
|
cov_1l3yhm377b().f[8]++;
|
|
53814
|
-
var formResponse = (cov_1l3yhm377b().s[
|
|
53815
|
-
cov_1l3yhm377b().s[
|
|
54067
|
+
var formResponse = (cov_1l3yhm377b().s[30]++, []);
|
|
54068
|
+
cov_1l3yhm377b().s[31]++;
|
|
53816
54069
|
questions.forEach(function (question) {
|
|
53817
54070
|
cov_1l3yhm377b().f[9]++;
|
|
53818
|
-
var
|
|
53819
|
-
id =
|
|
53820
|
-
kind =
|
|
53821
|
-
optionsAttributes =
|
|
53822
|
-
cov_1l3yhm377b().s[
|
|
54071
|
+
var _ref5 = (cov_1l3yhm377b().s[32]++, question),
|
|
54072
|
+
id = _ref5.id,
|
|
54073
|
+
kind = _ref5.kind,
|
|
54074
|
+
optionsAttributes = _ref5.optionsAttributes;
|
|
54075
|
+
cov_1l3yhm377b().s[33]++;
|
|
53823
54076
|
if (!SCHEMA_LESS_QUESTION_KINDS.includes(kind)) {
|
|
53824
|
-
cov_1l3yhm377b().b[
|
|
53825
|
-
var
|
|
53826
|
-
responseValue =
|
|
53827
|
-
cov_1l3yhm377b().s[
|
|
53828
|
-
if ((cov_1l3yhm377b().b[
|
|
53829
|
-
cov_1l3yhm377b().b[
|
|
53830
|
-
var option = (cov_1l3yhm377b().s[
|
|
53831
|
-
cov_1l3yhm377b().s[
|
|
54077
|
+
cov_1l3yhm377b().b[12][0]++;
|
|
54078
|
+
var _ref6 = (cov_1l3yhm377b().s[34]++, response),
|
|
54079
|
+
responseValue = _ref6[id];
|
|
54080
|
+
cov_1l3yhm377b().s[35]++;
|
|
54081
|
+
if ((cov_1l3yhm377b().b[14][0]++, kind === QUESTION_KIND.RADIO.value) || (cov_1l3yhm377b().b[14][1]++, kind === QUESTION_KIND.DROPDOWN.value)) {
|
|
54082
|
+
cov_1l3yhm377b().b[13][0]++;
|
|
54083
|
+
var option = (cov_1l3yhm377b().s[36]++, pure.findById(responseValue, optionsAttributes));
|
|
54084
|
+
cov_1l3yhm377b().s[37]++;
|
|
53832
54085
|
if (option) {
|
|
53833
|
-
cov_1l3yhm377b().b[
|
|
53834
|
-
cov_1l3yhm377b().s[
|
|
54086
|
+
cov_1l3yhm377b().b[15][0]++;
|
|
54087
|
+
cov_1l3yhm377b().s[38]++;
|
|
53835
54088
|
formResponse.push({
|
|
53836
54089
|
questionId: id,
|
|
53837
54090
|
questionOptionId: option.id,
|
|
@@ -53839,21 +54092,21 @@ var generateFormResponse = function generateFormResponse(response, questions) {
|
|
|
53839
54092
|
kind: kind
|
|
53840
54093
|
});
|
|
53841
54094
|
} else {
|
|
53842
|
-
cov_1l3yhm377b().b[
|
|
54095
|
+
cov_1l3yhm377b().b[15][1]++;
|
|
53843
54096
|
}
|
|
53844
54097
|
} else {
|
|
53845
|
-
cov_1l3yhm377b().b[
|
|
53846
|
-
cov_1l3yhm377b().s[
|
|
54098
|
+
cov_1l3yhm377b().b[13][1]++;
|
|
54099
|
+
cov_1l3yhm377b().s[39]++;
|
|
53847
54100
|
if (kind === QUESTION_KIND.CHECKBOX.value) {
|
|
53848
|
-
cov_1l3yhm377b().b[
|
|
53849
|
-
cov_1l3yhm377b().s[
|
|
54101
|
+
cov_1l3yhm377b().b[16][0]++;
|
|
54102
|
+
cov_1l3yhm377b().s[40]++;
|
|
53850
54103
|
responseValue.forEach(function (isChecked, index) {
|
|
53851
54104
|
cov_1l3yhm377b().f[10]++;
|
|
53852
|
-
cov_1l3yhm377b().s[
|
|
54105
|
+
cov_1l3yhm377b().s[41]++;
|
|
53853
54106
|
if (isChecked) {
|
|
53854
|
-
cov_1l3yhm377b().b[
|
|
53855
|
-
var _option = (cov_1l3yhm377b().s[
|
|
53856
|
-
cov_1l3yhm377b().s[
|
|
54107
|
+
cov_1l3yhm377b().b[17][0]++;
|
|
54108
|
+
var _option = (cov_1l3yhm377b().s[42]++, optionsAttributes[index]);
|
|
54109
|
+
cov_1l3yhm377b().s[43]++;
|
|
53857
54110
|
formResponse.push({
|
|
53858
54111
|
questionId: id,
|
|
53859
54112
|
questionOptionId: _option.id,
|
|
@@ -53861,34 +54114,34 @@ var generateFormResponse = function generateFormResponse(response, questions) {
|
|
|
53861
54114
|
kind: kind
|
|
53862
54115
|
});
|
|
53863
54116
|
} else {
|
|
53864
|
-
cov_1l3yhm377b().b[
|
|
54117
|
+
cov_1l3yhm377b().b[17][1]++;
|
|
53865
54118
|
}
|
|
53866
54119
|
});
|
|
53867
54120
|
} else {
|
|
53868
|
-
cov_1l3yhm377b().b[
|
|
53869
|
-
cov_1l3yhm377b().s[
|
|
54121
|
+
cov_1l3yhm377b().b[16][1]++;
|
|
54122
|
+
cov_1l3yhm377b().s[44]++;
|
|
53870
54123
|
if (kind === QUESTION_KIND.PHONE.value) {
|
|
53871
|
-
cov_1l3yhm377b().b[
|
|
53872
|
-
cov_1l3yhm377b().s[
|
|
54124
|
+
cov_1l3yhm377b().b[18][0]++;
|
|
54125
|
+
cov_1l3yhm377b().s[45]++;
|
|
53873
54126
|
formResponse.push({
|
|
53874
54127
|
questionId: id,
|
|
53875
|
-
value: responseValue ? (cov_1l3yhm377b().b[
|
|
54128
|
+
value: responseValue ? (cov_1l3yhm377b().b[19][0]++, parsePhoneNumberFromString(responseValue).formatInternational()) : (cov_1l3yhm377b().b[19][1]++, ""),
|
|
53876
54129
|
kind: kind
|
|
53877
54130
|
});
|
|
53878
54131
|
} else {
|
|
53879
|
-
cov_1l3yhm377b().b[
|
|
53880
|
-
cov_1l3yhm377b().s[
|
|
54132
|
+
cov_1l3yhm377b().b[18][1]++;
|
|
54133
|
+
cov_1l3yhm377b().s[46]++;
|
|
53881
54134
|
if (kind === QUESTION_KIND.ADDITIONAL_GUESTS.value) {
|
|
53882
|
-
cov_1l3yhm377b().b[
|
|
53883
|
-
cov_1l3yhm377b().s[
|
|
54135
|
+
cov_1l3yhm377b().b[20][0]++;
|
|
54136
|
+
cov_1l3yhm377b().s[47]++;
|
|
53884
54137
|
formResponse.push({
|
|
53885
54138
|
questionId: id,
|
|
53886
|
-
value: responseValue ? (cov_1l3yhm377b().b[
|
|
54139
|
+
value: responseValue ? (cov_1l3yhm377b().b[21][0]++, ramda.pluck("value", responseValue)) : (cov_1l3yhm377b().b[21][1]++, null),
|
|
53887
54140
|
kind: kind
|
|
53888
54141
|
});
|
|
53889
54142
|
} else {
|
|
53890
|
-
cov_1l3yhm377b().b[
|
|
53891
|
-
cov_1l3yhm377b().s[
|
|
54143
|
+
cov_1l3yhm377b().b[20][1]++;
|
|
54144
|
+
cov_1l3yhm377b().s[48]++;
|
|
53892
54145
|
formResponse.push({
|
|
53893
54146
|
questionId: id,
|
|
53894
54147
|
value: responseValue,
|
|
@@ -53899,29 +54152,29 @@ var generateFormResponse = function generateFormResponse(response, questions) {
|
|
|
53899
54152
|
}
|
|
53900
54153
|
}
|
|
53901
54154
|
} else {
|
|
53902
|
-
cov_1l3yhm377b().b[
|
|
54155
|
+
cov_1l3yhm377b().b[12][1]++;
|
|
53903
54156
|
}
|
|
53904
54157
|
});
|
|
53905
|
-
cov_1l3yhm377b().s[
|
|
54158
|
+
cov_1l3yhm377b().s[49]++;
|
|
53906
54159
|
return formResponse;
|
|
53907
54160
|
};
|
|
53908
|
-
cov_1l3yhm377b().s[
|
|
54161
|
+
cov_1l3yhm377b().s[50]++;
|
|
53909
54162
|
var hyphenize = function hyphenize(string) {
|
|
53910
54163
|
cov_1l3yhm377b().f[11]++;
|
|
53911
|
-
var fallbackString = (cov_1l3yhm377b().s[
|
|
53912
|
-
cov_1l3yhm377b().s[
|
|
53913
|
-
if ((cov_1l3yhm377b().b[
|
|
53914
|
-
cov_1l3yhm377b().b[
|
|
53915
|
-
cov_1l3yhm377b().s[
|
|
54164
|
+
var fallbackString = (cov_1l3yhm377b().s[51]++, "nui");
|
|
54165
|
+
cov_1l3yhm377b().s[52]++;
|
|
54166
|
+
if ((cov_1l3yhm377b().b[23][0]++, string) && (cov_1l3yhm377b().b[23][1]++, string.replace)) {
|
|
54167
|
+
cov_1l3yhm377b().b[22][0]++;
|
|
54168
|
+
cov_1l3yhm377b().s[53]++;
|
|
53916
54169
|
return string.replace(/[\s_]/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/-+/g, "-").toLowerCase();
|
|
53917
54170
|
} else {
|
|
53918
|
-
cov_1l3yhm377b().b[
|
|
54171
|
+
cov_1l3yhm377b().b[22][1]++;
|
|
53919
54172
|
}
|
|
53920
|
-
cov_1l3yhm377b().s[
|
|
54173
|
+
cov_1l3yhm377b().s[54]++;
|
|
53921
54174
|
return fallbackString;
|
|
53922
54175
|
};
|
|
53923
54176
|
|
|
53924
|
-
var _excluded$
|
|
54177
|
+
var _excluded$8 = ["label", "placeholder", "helpText", "value", "onChange", "error", "onBlur", "filterInvalidEmails", "counter", "disabled", "maxHeight", "labelProps"];
|
|
53925
54178
|
function cov_ic8t6kb5c() {
|
|
53926
54179
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/MultipleEmail/index.jsx";
|
|
53927
54180
|
var hash = "544673bb225987a32143d318f81ed27bb2496821";
|
|
@@ -55526,7 +55779,7 @@ var MultiEmailInput = (cov_ic8t6kb5c().s[0]++, /*#__PURE__*/React$2.forwardRef(f
|
|
|
55526
55779
|
_ref$maxHeight = _ref.maxHeight,
|
|
55527
55780
|
maxHeight = _ref$maxHeight === void 0 ? (cov_ic8t6kb5c().b[8][0]++, 200) : _ref$maxHeight,
|
|
55528
55781
|
labelProps = _ref.labelProps,
|
|
55529
|
-
otherProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
55782
|
+
otherProps = _objectWithoutProperties$1(_ref, _excluded$8);
|
|
55530
55783
|
cov_ic8t6kb5c().f[0]++;
|
|
55531
55784
|
var _ref2 = (cov_ic8t6kb5c().s[1]++, React$2.useState("")),
|
|
55532
55785
|
_ref3 = _slicedToArray$6(_ref2, 2),
|
|
@@ -56307,7 +56560,7 @@ cov_1zuybttr1q().s[8]++;
|
|
|
56307
56560
|
var _ref9;
|
|
56308
56561
|
function cov_1y9t6ere98() {
|
|
56309
56562
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/validations.js";
|
|
56310
|
-
var hash = "
|
|
56563
|
+
var hash = "4b4662b2577f6470c2291bacfa8dd237536ee800";
|
|
56311
56564
|
var global = new Function("return this")();
|
|
56312
56565
|
var gcv = "__coverage__";
|
|
56313
56566
|
var coverageData = {
|
|
@@ -56809,107 +57062,107 @@ function cov_1y9t6ere98() {
|
|
|
56809
57062
|
column: 30
|
|
56810
57063
|
},
|
|
56811
57064
|
end: {
|
|
56812
|
-
line:
|
|
57065
|
+
line: 127,
|
|
56813
57066
|
column: 1
|
|
56814
57067
|
}
|
|
56815
57068
|
},
|
|
56816
57069
|
"50": {
|
|
56817
57070
|
start: {
|
|
56818
|
-
line:
|
|
57071
|
+
line: 130,
|
|
56819
57072
|
column: 2
|
|
56820
57073
|
},
|
|
56821
57074
|
end: {
|
|
56822
|
-
line:
|
|
57075
|
+
line: 147,
|
|
56823
57076
|
column: 3
|
|
56824
57077
|
}
|
|
56825
57078
|
},
|
|
56826
57079
|
"51": {
|
|
56827
57080
|
start: {
|
|
56828
|
-
line:
|
|
57081
|
+
line: 132,
|
|
56829
57082
|
column: 2
|
|
56830
57083
|
},
|
|
56831
57084
|
end: {
|
|
56832
|
-
line:
|
|
57085
|
+
line: 147,
|
|
56833
57086
|
column: 3
|
|
56834
57087
|
}
|
|
56835
57088
|
},
|
|
56836
57089
|
"52": {
|
|
56837
57090
|
start: {
|
|
56838
|
-
line:
|
|
57091
|
+
line: 133,
|
|
56839
57092
|
column: 4
|
|
56840
57093
|
},
|
|
56841
57094
|
end: {
|
|
56842
|
-
line:
|
|
57095
|
+
line: 146,
|
|
56843
57096
|
column: 5
|
|
56844
57097
|
}
|
|
56845
57098
|
},
|
|
56846
57099
|
"53": {
|
|
56847
57100
|
start: {
|
|
56848
|
-
line:
|
|
57101
|
+
line: 134,
|
|
56849
57102
|
column: 24
|
|
56850
57103
|
},
|
|
56851
57104
|
end: {
|
|
56852
|
-
line:
|
|
57105
|
+
line: 134,
|
|
56853
57106
|
column: 51
|
|
56854
57107
|
}
|
|
56855
57108
|
},
|
|
56856
57109
|
"54": {
|
|
56857
57110
|
start: {
|
|
56858
|
-
line:
|
|
57111
|
+
line: 135,
|
|
56859
57112
|
column: 21
|
|
56860
57113
|
},
|
|
56861
57114
|
end: {
|
|
56862
|
-
line:
|
|
57115
|
+
line: 135,
|
|
56863
57116
|
column: 78
|
|
56864
57117
|
}
|
|
56865
57118
|
},
|
|
56866
57119
|
"55": {
|
|
56867
57120
|
start: {
|
|
56868
|
-
line:
|
|
57121
|
+
line: 138,
|
|
56869
57122
|
column: 6
|
|
56870
57123
|
},
|
|
56871
57124
|
end: {
|
|
56872
|
-
line:
|
|
57125
|
+
line: 145,
|
|
56873
57126
|
column: 9
|
|
56874
57127
|
}
|
|
56875
57128
|
},
|
|
56876
57129
|
"56": {
|
|
56877
57130
|
start: {
|
|
56878
|
-
line:
|
|
57131
|
+
line: 139,
|
|
56879
57132
|
column: 8
|
|
56880
57133
|
},
|
|
56881
57134
|
end: {
|
|
56882
|
-
line:
|
|
57135
|
+
line: 144,
|
|
56883
57136
|
column: 9
|
|
56884
57137
|
}
|
|
56885
57138
|
},
|
|
56886
57139
|
"57": {
|
|
56887
57140
|
start: {
|
|
56888
|
-
line:
|
|
57141
|
+
line: 140,
|
|
56889
57142
|
column: 10
|
|
56890
57143
|
},
|
|
56891
57144
|
end: {
|
|
56892
|
-
line:
|
|
57145
|
+
line: 140,
|
|
56893
57146
|
column: 39
|
|
56894
57147
|
}
|
|
56895
57148
|
},
|
|
56896
57149
|
"58": {
|
|
56897
57150
|
start: {
|
|
56898
|
-
line:
|
|
57151
|
+
line: 141,
|
|
56899
57152
|
column: 10
|
|
56900
57153
|
},
|
|
56901
57154
|
end: {
|
|
56902
|
-
line:
|
|
57155
|
+
line: 141,
|
|
56903
57156
|
column: 29
|
|
56904
57157
|
}
|
|
56905
57158
|
},
|
|
56906
57159
|
"59": {
|
|
56907
57160
|
start: {
|
|
56908
|
-
line:
|
|
57161
|
+
line: 143,
|
|
56909
57162
|
column: 10
|
|
56910
57163
|
},
|
|
56911
57164
|
end: {
|
|
56912
|
-
line:
|
|
57165
|
+
line: 143,
|
|
56913
57166
|
column: 31
|
|
56914
57167
|
}
|
|
56915
57168
|
}
|
|
@@ -57159,73 +57412,73 @@ function cov_1y9t6ere98() {
|
|
|
57159
57412
|
name: "(anonymous_10)",
|
|
57160
57413
|
decl: {
|
|
57161
57414
|
start: {
|
|
57162
|
-
line:
|
|
57415
|
+
line: 130,
|
|
57163
57416
|
column: 2
|
|
57164
57417
|
},
|
|
57165
57418
|
end: {
|
|
57166
|
-
line:
|
|
57419
|
+
line: 130,
|
|
57167
57420
|
column: 3
|
|
57168
57421
|
}
|
|
57169
57422
|
},
|
|
57170
57423
|
loc: {
|
|
57171
57424
|
start: {
|
|
57172
|
-
line:
|
|
57425
|
+
line: 132,
|
|
57173
57426
|
column: 2
|
|
57174
57427
|
},
|
|
57175
57428
|
end: {
|
|
57176
|
-
line:
|
|
57429
|
+
line: 147,
|
|
57177
57430
|
column: 3
|
|
57178
57431
|
}
|
|
57179
57432
|
},
|
|
57180
|
-
line:
|
|
57433
|
+
line: 132
|
|
57181
57434
|
},
|
|
57182
57435
|
"11": {
|
|
57183
57436
|
name: "(anonymous_11)",
|
|
57184
57437
|
decl: {
|
|
57185
57438
|
start: {
|
|
57186
|
-
line:
|
|
57439
|
+
line: 132,
|
|
57187
57440
|
column: 2
|
|
57188
57441
|
},
|
|
57189
57442
|
end: {
|
|
57190
|
-
line:
|
|
57443
|
+
line: 132,
|
|
57191
57444
|
column: 3
|
|
57192
57445
|
}
|
|
57193
57446
|
},
|
|
57194
57447
|
loc: {
|
|
57195
57448
|
start: {
|
|
57196
|
-
line:
|
|
57449
|
+
line: 132,
|
|
57197
57450
|
column: 11
|
|
57198
57451
|
},
|
|
57199
57452
|
end: {
|
|
57200
|
-
line:
|
|
57453
|
+
line: 147,
|
|
57201
57454
|
column: 3
|
|
57202
57455
|
}
|
|
57203
57456
|
},
|
|
57204
|
-
line:
|
|
57457
|
+
line: 132
|
|
57205
57458
|
},
|
|
57206
57459
|
"12": {
|
|
57207
57460
|
name: "(anonymous_12)",
|
|
57208
57461
|
decl: {
|
|
57209
57462
|
start: {
|
|
57210
|
-
line:
|
|
57463
|
+
line: 138,
|
|
57211
57464
|
column: 25
|
|
57212
57465
|
},
|
|
57213
57466
|
end: {
|
|
57214
|
-
line:
|
|
57467
|
+
line: 138,
|
|
57215
57468
|
column: 26
|
|
57216
57469
|
}
|
|
57217
57470
|
},
|
|
57218
57471
|
loc: {
|
|
57219
57472
|
start: {
|
|
57220
|
-
line:
|
|
57473
|
+
line: 138,
|
|
57221
57474
|
column: 42
|
|
57222
57475
|
},
|
|
57223
57476
|
end: {
|
|
57224
|
-
line:
|
|
57477
|
+
line: 145,
|
|
57225
57478
|
column: 7
|
|
57226
57479
|
}
|
|
57227
57480
|
},
|
|
57228
|
-
line:
|
|
57481
|
+
line: 138
|
|
57229
57482
|
}
|
|
57230
57483
|
},
|
|
57231
57484
|
branchMap: {
|
|
@@ -57562,22 +57815,22 @@ function cov_1y9t6ere98() {
|
|
|
57562
57815
|
"10": {
|
|
57563
57816
|
loc: {
|
|
57564
57817
|
start: {
|
|
57565
|
-
line:
|
|
57818
|
+
line: 133,
|
|
57566
57819
|
column: 4
|
|
57567
57820
|
},
|
|
57568
57821
|
end: {
|
|
57569
|
-
line:
|
|
57822
|
+
line: 146,
|
|
57570
57823
|
column: 5
|
|
57571
57824
|
}
|
|
57572
57825
|
},
|
|
57573
57826
|
type: "if",
|
|
57574
57827
|
locations: [{
|
|
57575
57828
|
start: {
|
|
57576
|
-
line:
|
|
57829
|
+
line: 133,
|
|
57577
57830
|
column: 4
|
|
57578
57831
|
},
|
|
57579
57832
|
end: {
|
|
57580
|
-
line:
|
|
57833
|
+
line: 146,
|
|
57581
57834
|
column: 5
|
|
57582
57835
|
}
|
|
57583
57836
|
}, {
|
|
@@ -57590,40 +57843,40 @@ function cov_1y9t6ere98() {
|
|
|
57590
57843
|
column: undefined
|
|
57591
57844
|
}
|
|
57592
57845
|
}],
|
|
57593
|
-
line:
|
|
57846
|
+
line: 133
|
|
57594
57847
|
},
|
|
57595
57848
|
"11": {
|
|
57596
57849
|
loc: {
|
|
57597
57850
|
start: {
|
|
57598
|
-
line:
|
|
57851
|
+
line: 135,
|
|
57599
57852
|
column: 21
|
|
57600
57853
|
},
|
|
57601
57854
|
end: {
|
|
57602
|
-
line:
|
|
57855
|
+
line: 135,
|
|
57603
57856
|
column: 78
|
|
57604
57857
|
}
|
|
57605
57858
|
},
|
|
57606
57859
|
type: "binary-expr",
|
|
57607
57860
|
locations: [{
|
|
57608
57861
|
start: {
|
|
57609
|
-
line:
|
|
57862
|
+
line: 135,
|
|
57610
57863
|
column: 21
|
|
57611
57864
|
},
|
|
57612
57865
|
end: {
|
|
57613
|
-
line:
|
|
57866
|
+
line: 135,
|
|
57614
57867
|
column: 36
|
|
57615
57868
|
}
|
|
57616
57869
|
}, {
|
|
57617
57870
|
start: {
|
|
57618
|
-
line:
|
|
57871
|
+
line: 135,
|
|
57619
57872
|
column: 40
|
|
57620
57873
|
},
|
|
57621
57874
|
end: {
|
|
57622
|
-
line:
|
|
57875
|
+
line: 135,
|
|
57623
57876
|
column: 78
|
|
57624
57877
|
}
|
|
57625
57878
|
}],
|
|
57626
|
-
line:
|
|
57879
|
+
line: 135
|
|
57627
57880
|
}
|
|
57628
57881
|
},
|
|
57629
57882
|
s: {
|
|
@@ -57718,7 +57971,7 @@ function cov_1y9t6ere98() {
|
|
|
57718
57971
|
"11": [0, 0]
|
|
57719
57972
|
},
|
|
57720
57973
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
57721
|
-
hash: "
|
|
57974
|
+
hash: "4b4662b2577f6470c2291bacfa8dd237536ee800"
|
|
57722
57975
|
};
|
|
57723
57976
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
57724
57977
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -57899,7 +58152,7 @@ var validateRichTextField = function validateRichTextField(_ref8) {
|
|
|
57899
58152
|
cov_1y9t6ere98().s[48]++;
|
|
57900
58153
|
return schema;
|
|
57901
58154
|
};
|
|
57902
|
-
var fieldKindValidatorMap = (cov_1y9t6ere98().s[49]++, (_ref9 = {}, _defineProperty$a(_ref9, QUESTION_KIND.EMAIL.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.PHONE.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.TEXT.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.NAME.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.QUESTION.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.DROPDOWN.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RADIO.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.CHECKBOX.value, validateMultiChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RATING.value, validateRatingField), _defineProperty$a(_ref9, QUESTION_KIND.TERMS.value, validateTermsField), _defineProperty$a(_ref9, QUESTION_KIND.DATE.value, validateDateField), _defineProperty$a(_ref9, QUESTION_KIND.STAR_RATING.value, validateStarRatingField), _defineProperty$a(_ref9, QUESTION_KIND.ADDITIONAL_GUESTS.value, validateMultiEmailField), _defineProperty$a(_ref9, QUESTION_KIND.RICH_TEXT.value, validateRichTextField), _ref9));
|
|
58155
|
+
var fieldKindValidatorMap = (cov_1y9t6ere98().s[49]++, (_ref9 = {}, _defineProperty$a(_ref9, QUESTION_KIND.EMAIL.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.PHONE.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.TEXT.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.NAME.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.QUESTION.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.TEXTAREA.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.DROPDOWN.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RADIO.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.CHECKBOX.value, validateMultiChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RATING.value, validateRatingField), _defineProperty$a(_ref9, QUESTION_KIND.TERMS.value, validateTermsField), _defineProperty$a(_ref9, QUESTION_KIND.DATE.value, validateDateField), _defineProperty$a(_ref9, QUESTION_KIND.STAR_RATING.value, validateStarRatingField), _defineProperty$a(_ref9, QUESTION_KIND.ADDITIONAL_GUESTS.value, validateMultiEmailField), _defineProperty$a(_ref9, QUESTION_KIND.RICH_TEXT.value, validateRichTextField), _ref9));
|
|
57903
58156
|
cov_1y9t6ere98().s[50]++;
|
|
57904
58157
|
var validateFieldValue = function validateFieldValue(_ref10) {
|
|
57905
58158
|
var kind = _ref10.kind,
|
|
@@ -58385,6 +58638,394 @@ var MultipleEmailInput = function MultipleEmailInput(_ref) {
|
|
|
58385
58638
|
})));
|
|
58386
58639
|
};
|
|
58387
58640
|
|
|
58641
|
+
var _excluded$7 = ["name", "label", "error", "value"];
|
|
58642
|
+
function cov_1gez8dqmnr() {
|
|
58643
|
+
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Condition.jsx";
|
|
58644
|
+
var hash = "328a2f02a8ce55ca9c1107c4db4abe7d241df713";
|
|
58645
|
+
var global = new Function("return this")();
|
|
58646
|
+
var gcv = "__coverage__";
|
|
58647
|
+
var coverageData = {
|
|
58648
|
+
path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Condition.jsx",
|
|
58649
|
+
statementMap: {
|
|
58650
|
+
"0": {
|
|
58651
|
+
start: {
|
|
58652
|
+
line: 3,
|
|
58653
|
+
column: 18
|
|
58654
|
+
},
|
|
58655
|
+
end: {
|
|
58656
|
+
line: 24,
|
|
58657
|
+
column: 1
|
|
58658
|
+
}
|
|
58659
|
+
},
|
|
58660
|
+
"1": {
|
|
58661
|
+
start: {
|
|
58662
|
+
line: 4,
|
|
58663
|
+
column: 2
|
|
58664
|
+
},
|
|
58665
|
+
end: {
|
|
58666
|
+
line: 23,
|
|
58667
|
+
column: 8
|
|
58668
|
+
}
|
|
58669
|
+
}
|
|
58670
|
+
},
|
|
58671
|
+
fnMap: {
|
|
58672
|
+
"0": {
|
|
58673
|
+
name: "(anonymous_0)",
|
|
58674
|
+
decl: {
|
|
58675
|
+
start: {
|
|
58676
|
+
line: 3,
|
|
58677
|
+
column: 18
|
|
58678
|
+
},
|
|
58679
|
+
end: {
|
|
58680
|
+
line: 3,
|
|
58681
|
+
column: 19
|
|
58682
|
+
}
|
|
58683
|
+
},
|
|
58684
|
+
loc: {
|
|
58685
|
+
start: {
|
|
58686
|
+
line: 4,
|
|
58687
|
+
column: 2
|
|
58688
|
+
},
|
|
58689
|
+
end: {
|
|
58690
|
+
line: 23,
|
|
58691
|
+
column: 8
|
|
58692
|
+
}
|
|
58693
|
+
},
|
|
58694
|
+
line: 4
|
|
58695
|
+
}
|
|
58696
|
+
},
|
|
58697
|
+
branchMap: {
|
|
58698
|
+
"0": {
|
|
58699
|
+
loc: {
|
|
58700
|
+
start: {
|
|
58701
|
+
line: 20,
|
|
58702
|
+
column: 5
|
|
58703
|
+
},
|
|
58704
|
+
end: {
|
|
58705
|
+
line: 22,
|
|
58706
|
+
column: 5
|
|
58707
|
+
}
|
|
58708
|
+
},
|
|
58709
|
+
type: "binary-expr",
|
|
58710
|
+
locations: [{
|
|
58711
|
+
start: {
|
|
58712
|
+
line: 20,
|
|
58713
|
+
column: 5
|
|
58714
|
+
},
|
|
58715
|
+
end: {
|
|
58716
|
+
line: 20,
|
|
58717
|
+
column: 12
|
|
58718
|
+
}
|
|
58719
|
+
}, {
|
|
58720
|
+
start: {
|
|
58721
|
+
line: 20,
|
|
58722
|
+
column: 16
|
|
58723
|
+
},
|
|
58724
|
+
end: {
|
|
58725
|
+
line: 20,
|
|
58726
|
+
column: 41
|
|
58727
|
+
}
|
|
58728
|
+
}, {
|
|
58729
|
+
start: {
|
|
58730
|
+
line: 21,
|
|
58731
|
+
column: 6
|
|
58732
|
+
},
|
|
58733
|
+
end: {
|
|
58734
|
+
line: 21,
|
|
58735
|
+
column: 63
|
|
58736
|
+
}
|
|
58737
|
+
}],
|
|
58738
|
+
line: 20
|
|
58739
|
+
}
|
|
58740
|
+
},
|
|
58741
|
+
s: {
|
|
58742
|
+
"0": 0,
|
|
58743
|
+
"1": 0
|
|
58744
|
+
},
|
|
58745
|
+
f: {
|
|
58746
|
+
"0": 0
|
|
58747
|
+
},
|
|
58748
|
+
b: {
|
|
58749
|
+
"0": [0, 0, 0]
|
|
58750
|
+
},
|
|
58751
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
58752
|
+
hash: "328a2f02a8ce55ca9c1107c4db4abe7d241df713"
|
|
58753
|
+
};
|
|
58754
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
58755
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
58756
|
+
coverage[path] = coverageData;
|
|
58757
|
+
}
|
|
58758
|
+
var actualCoverage = coverage[path];
|
|
58759
|
+
{
|
|
58760
|
+
// @ts-ignore
|
|
58761
|
+
cov_1gez8dqmnr = function () {
|
|
58762
|
+
return actualCoverage;
|
|
58763
|
+
};
|
|
58764
|
+
}
|
|
58765
|
+
return actualCoverage;
|
|
58766
|
+
}
|
|
58767
|
+
cov_1gez8dqmnr();
|
|
58768
|
+
cov_1gez8dqmnr().s[0]++;
|
|
58769
|
+
var Condition = function Condition(_ref, ref) {
|
|
58770
|
+
var name = _ref.name,
|
|
58771
|
+
label = _ref.label,
|
|
58772
|
+
error = _ref.error,
|
|
58773
|
+
value = _ref.value,
|
|
58774
|
+
otherProps = _objectWithoutProperties$1(_ref, _excluded$7);
|
|
58775
|
+
cov_1gez8dqmnr().f[0]++;
|
|
58776
|
+
cov_1gez8dqmnr().s[1]++;
|
|
58777
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58778
|
+
className: "neeto-form-engine-terms"
|
|
58779
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58780
|
+
className: "neeto-form-engine-choice"
|
|
58781
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", _extends$9({
|
|
58782
|
+
required: true,
|
|
58783
|
+
"aria-invalid": !!error,
|
|
58784
|
+
id: "condition-".concat(name),
|
|
58785
|
+
name: name,
|
|
58786
|
+
ref: ref,
|
|
58787
|
+
type: "checkbox",
|
|
58788
|
+
value: value
|
|
58789
|
+
}, otherProps)), /*#__PURE__*/React__default["default"].createElement("label", {
|
|
58790
|
+
className: "neeto-form-engine-label",
|
|
58791
|
+
htmlFor: "condition-".concat(name)
|
|
58792
|
+
}, label)), (cov_1gez8dqmnr().b[0][0]++, !!error) && (cov_1gez8dqmnr().b[0][1]++, typeof error === "string") && (cov_1gez8dqmnr().b[0][2]++, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58793
|
+
className: "neeto-form-engine-input__error"
|
|
58794
|
+
}, error)));
|
|
58795
|
+
};
|
|
58796
|
+
var Condition$1 = /*#__PURE__*/React$2.forwardRef(Condition);
|
|
58797
|
+
|
|
58798
|
+
function cov_2lhrgkh8e4() {
|
|
58799
|
+
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/ConditionField.jsx";
|
|
58800
|
+
var hash = "9dd92df1361b93030c12800c1adefa902b7b6916";
|
|
58801
|
+
var global = new Function("return this")();
|
|
58802
|
+
var gcv = "__coverage__";
|
|
58803
|
+
var coverageData = {
|
|
58804
|
+
path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/ConditionField.jsx",
|
|
58805
|
+
statementMap: {
|
|
58806
|
+
"0": {
|
|
58807
|
+
start: {
|
|
58808
|
+
line: 9,
|
|
58809
|
+
column: 23
|
|
58810
|
+
},
|
|
58811
|
+
end: {
|
|
58812
|
+
line: 32,
|
|
58813
|
+
column: 1
|
|
58814
|
+
}
|
|
58815
|
+
},
|
|
58816
|
+
"1": {
|
|
58817
|
+
start: {
|
|
58818
|
+
line: 10,
|
|
58819
|
+
column: 56
|
|
58820
|
+
},
|
|
58821
|
+
end: {
|
|
58822
|
+
line: 10,
|
|
58823
|
+
column: 64
|
|
58824
|
+
}
|
|
58825
|
+
},
|
|
58826
|
+
"2": {
|
|
58827
|
+
start: {
|
|
58828
|
+
line: 12,
|
|
58829
|
+
column: 2
|
|
58830
|
+
},
|
|
58831
|
+
end: {
|
|
58832
|
+
line: 31,
|
|
58833
|
+
column: 4
|
|
58834
|
+
}
|
|
58835
|
+
},
|
|
58836
|
+
"3": {
|
|
58837
|
+
start: {
|
|
58838
|
+
line: 23,
|
|
58839
|
+
column: 8
|
|
58840
|
+
},
|
|
58841
|
+
end: {
|
|
58842
|
+
line: 28,
|
|
58843
|
+
column: 10
|
|
58844
|
+
}
|
|
58845
|
+
}
|
|
58846
|
+
},
|
|
58847
|
+
fnMap: {
|
|
58848
|
+
"0": {
|
|
58849
|
+
name: "(anonymous_0)",
|
|
58850
|
+
decl: {
|
|
58851
|
+
start: {
|
|
58852
|
+
line: 9,
|
|
58853
|
+
column: 23
|
|
58854
|
+
},
|
|
58855
|
+
end: {
|
|
58856
|
+
line: 9,
|
|
58857
|
+
column: 24
|
|
58858
|
+
}
|
|
58859
|
+
},
|
|
58860
|
+
loc: {
|
|
58861
|
+
start: {
|
|
58862
|
+
line: 9,
|
|
58863
|
+
column: 58
|
|
58864
|
+
},
|
|
58865
|
+
end: {
|
|
58866
|
+
line: 32,
|
|
58867
|
+
column: 1
|
|
58868
|
+
}
|
|
58869
|
+
},
|
|
58870
|
+
line: 9
|
|
58871
|
+
},
|
|
58872
|
+
"1": {
|
|
58873
|
+
name: "(anonymous_1)",
|
|
58874
|
+
decl: {
|
|
58875
|
+
start: {
|
|
58876
|
+
line: 22,
|
|
58877
|
+
column: 7
|
|
58878
|
+
},
|
|
58879
|
+
end: {
|
|
58880
|
+
line: 22,
|
|
58881
|
+
column: 8
|
|
58882
|
+
}
|
|
58883
|
+
},
|
|
58884
|
+
loc: {
|
|
58885
|
+
start: {
|
|
58886
|
+
line: 23,
|
|
58887
|
+
column: 8
|
|
58888
|
+
},
|
|
58889
|
+
end: {
|
|
58890
|
+
line: 28,
|
|
58891
|
+
column: 10
|
|
58892
|
+
}
|
|
58893
|
+
},
|
|
58894
|
+
line: 23
|
|
58895
|
+
}
|
|
58896
|
+
},
|
|
58897
|
+
branchMap: {
|
|
58898
|
+
"0": {
|
|
58899
|
+
loc: {
|
|
58900
|
+
start: {
|
|
58901
|
+
line: 14,
|
|
58902
|
+
column: 12
|
|
58903
|
+
},
|
|
58904
|
+
end: {
|
|
58905
|
+
line: 14,
|
|
58906
|
+
column: 26
|
|
58907
|
+
}
|
|
58908
|
+
},
|
|
58909
|
+
type: "binary-expr",
|
|
58910
|
+
locations: [{
|
|
58911
|
+
start: {
|
|
58912
|
+
line: 14,
|
|
58913
|
+
column: 12
|
|
58914
|
+
},
|
|
58915
|
+
end: {
|
|
58916
|
+
line: 14,
|
|
58917
|
+
column: 16
|
|
58918
|
+
}
|
|
58919
|
+
}, {
|
|
58920
|
+
start: {
|
|
58921
|
+
line: 14,
|
|
58922
|
+
column: 20
|
|
58923
|
+
},
|
|
58924
|
+
end: {
|
|
58925
|
+
line: 14,
|
|
58926
|
+
column: 26
|
|
58927
|
+
}
|
|
58928
|
+
}],
|
|
58929
|
+
line: 14
|
|
58930
|
+
},
|
|
58931
|
+
"1": {
|
|
58932
|
+
loc: {
|
|
58933
|
+
start: {
|
|
58934
|
+
line: 25,
|
|
58935
|
+
column: 17
|
|
58936
|
+
},
|
|
58937
|
+
end: {
|
|
58938
|
+
line: 25,
|
|
58939
|
+
column: 47
|
|
58940
|
+
}
|
|
58941
|
+
},
|
|
58942
|
+
type: "cond-expr",
|
|
58943
|
+
locations: [{
|
|
58944
|
+
start: {
|
|
58945
|
+
line: 25,
|
|
58946
|
+
column: 32
|
|
58947
|
+
},
|
|
58948
|
+
end: {
|
|
58949
|
+
line: 25,
|
|
58950
|
+
column: 42
|
|
58951
|
+
}
|
|
58952
|
+
}, {
|
|
58953
|
+
start: {
|
|
58954
|
+
line: 25,
|
|
58955
|
+
column: 45
|
|
58956
|
+
},
|
|
58957
|
+
end: {
|
|
58958
|
+
line: 25,
|
|
58959
|
+
column: 47
|
|
58960
|
+
}
|
|
58961
|
+
}],
|
|
58962
|
+
line: 25
|
|
58963
|
+
}
|
|
58964
|
+
},
|
|
58965
|
+
s: {
|
|
58966
|
+
"0": 0,
|
|
58967
|
+
"1": 0,
|
|
58968
|
+
"2": 0,
|
|
58969
|
+
"3": 0
|
|
58970
|
+
},
|
|
58971
|
+
f: {
|
|
58972
|
+
"0": 0,
|
|
58973
|
+
"1": 0
|
|
58974
|
+
},
|
|
58975
|
+
b: {
|
|
58976
|
+
"0": [0, 0],
|
|
58977
|
+
"1": [0, 0]
|
|
58978
|
+
},
|
|
58979
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
58980
|
+
hash: "9dd92df1361b93030c12800c1adefa902b7b6916"
|
|
58981
|
+
};
|
|
58982
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
58983
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
58984
|
+
coverage[path] = coverageData;
|
|
58985
|
+
}
|
|
58986
|
+
var actualCoverage = coverage[path];
|
|
58987
|
+
{
|
|
58988
|
+
// @ts-ignore
|
|
58989
|
+
cov_2lhrgkh8e4 = function () {
|
|
58990
|
+
return actualCoverage;
|
|
58991
|
+
};
|
|
58992
|
+
}
|
|
58993
|
+
return actualCoverage;
|
|
58994
|
+
}
|
|
58995
|
+
cov_2lhrgkh8e4();
|
|
58996
|
+
cov_2lhrgkh8e4().s[0]++;
|
|
58997
|
+
var ConditionField = function ConditionField(_ref) {
|
|
58998
|
+
var question = _ref.question,
|
|
58999
|
+
customValidator = _ref.customValidator;
|
|
59000
|
+
cov_2lhrgkh8e4().f[0]++;
|
|
59001
|
+
var _ref2 = (cov_2lhrgkh8e4().s[1]++, question),
|
|
59002
|
+
name = _ref2.id,
|
|
59003
|
+
kind = _ref2.kind,
|
|
59004
|
+
label = _ref2.label,
|
|
59005
|
+
isRequired = _ref2.isRequired,
|
|
59006
|
+
nodeId = _ref2.nodeId;
|
|
59007
|
+
cov_2lhrgkh8e4().s[2]++;
|
|
59008
|
+
return /*#__PURE__*/React__default["default"].createElement(formik.Field, {
|
|
59009
|
+
name: (cov_2lhrgkh8e4().b[0][0]++, name) || (cov_2lhrgkh8e4().b[0][1]++, nodeId),
|
|
59010
|
+
validate: validateFieldValue({
|
|
59011
|
+
kind: kind,
|
|
59012
|
+
label: label,
|
|
59013
|
+
isRequired: isRequired,
|
|
59014
|
+
customValidator: customValidator
|
|
59015
|
+
})
|
|
59016
|
+
}, function (_ref3) {
|
|
59017
|
+
var meta = _ref3.meta,
|
|
59018
|
+
field = _ref3.field;
|
|
59019
|
+
cov_2lhrgkh8e4().f[1]++;
|
|
59020
|
+
cov_2lhrgkh8e4().s[3]++;
|
|
59021
|
+
return /*#__PURE__*/React__default["default"].createElement(Condition$1, _extends$9({}, field, {
|
|
59022
|
+
error: meta.touched ? (cov_2lhrgkh8e4().b[1][0]++, meta.error) : (cov_2lhrgkh8e4().b[1][1]++, ""),
|
|
59023
|
+
label: getLabel$1(label, isRequired),
|
|
59024
|
+
name: name
|
|
59025
|
+
}));
|
|
59026
|
+
});
|
|
59027
|
+
};
|
|
59028
|
+
|
|
58388
59029
|
var dayjs = {};
|
|
58389
59030
|
|
|
58390
59031
|
var interopRequireDefault = {exports: {}};
|
|
@@ -64691,7 +65332,7 @@ var TextField = function TextField(_ref) {
|
|
|
64691
65332
|
_ref3$type = _ref3.type,
|
|
64692
65333
|
type = _ref3$type === void 0 ? (cov_h64dar2vv().b[0][0]++, "text") : _ref3$type,
|
|
64693
65334
|
otherProps = _ref3.otherProps;
|
|
64694
|
-
var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.
|
|
65335
|
+
var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, Textarea) : (cov_h64dar2vv().b[1][1]++, FormInput));
|
|
64695
65336
|
cov_h64dar2vv().s[4]++;
|
|
64696
65337
|
return /*#__PURE__*/React__default["default"].createElement(formik.Field, {
|
|
64697
65338
|
name: (cov_h64dar2vv().b[2][0]++, name) || (cov_h64dar2vv().b[2][1]++, nodeId),
|
|
@@ -64723,7 +65364,7 @@ var TextField = function TextField(_ref) {
|
|
|
64723
65364
|
var _ref2;
|
|
64724
65365
|
function cov_1cenqfav07() {
|
|
64725
65366
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/constants.jsx";
|
|
64726
|
-
var hash = "
|
|
65367
|
+
var hash = "d225c5a1e9ed444a01ab4d7cb1d85c0478f33d27";
|
|
64727
65368
|
var global = new Function("return this")();
|
|
64728
65369
|
var gcv = "__coverage__";
|
|
64729
65370
|
var coverageData = {
|
|
@@ -64731,21 +65372,21 @@ function cov_1cenqfav07() {
|
|
|
64731
65372
|
statementMap: {
|
|
64732
65373
|
"0": {
|
|
64733
65374
|
start: {
|
|
64734
|
-
line:
|
|
65375
|
+
line: 18,
|
|
64735
65376
|
column: 41
|
|
64736
65377
|
},
|
|
64737
65378
|
end: {
|
|
64738
|
-
line:
|
|
65379
|
+
line: 38,
|
|
64739
65380
|
column: 1
|
|
64740
65381
|
}
|
|
64741
65382
|
},
|
|
64742
65383
|
"1": {
|
|
64743
65384
|
start: {
|
|
64744
|
-
line:
|
|
65385
|
+
line: 30,
|
|
64745
65386
|
column: 4
|
|
64746
65387
|
},
|
|
64747
65388
|
end: {
|
|
64748
|
-
line:
|
|
65389
|
+
line: 30,
|
|
64749
65390
|
column: 46
|
|
64750
65391
|
}
|
|
64751
65392
|
}
|
|
@@ -64755,25 +65396,25 @@ function cov_1cenqfav07() {
|
|
|
64755
65396
|
name: "(anonymous_0)",
|
|
64756
65397
|
decl: {
|
|
64757
65398
|
start: {
|
|
64758
|
-
line:
|
|
64759
|
-
column:
|
|
65399
|
+
line: 29,
|
|
65400
|
+
column: 35
|
|
64760
65401
|
},
|
|
64761
65402
|
end: {
|
|
64762
|
-
line:
|
|
64763
|
-
column:
|
|
65403
|
+
line: 29,
|
|
65404
|
+
column: 36
|
|
64764
65405
|
}
|
|
64765
65406
|
},
|
|
64766
65407
|
loc: {
|
|
64767
65408
|
start: {
|
|
64768
|
-
line:
|
|
65409
|
+
line: 30,
|
|
64769
65410
|
column: 4
|
|
64770
65411
|
},
|
|
64771
65412
|
end: {
|
|
64772
|
-
line:
|
|
65413
|
+
line: 30,
|
|
64773
65414
|
column: 46
|
|
64774
65415
|
}
|
|
64775
65416
|
},
|
|
64776
|
-
line:
|
|
65417
|
+
line: 30
|
|
64777
65418
|
}
|
|
64778
65419
|
},
|
|
64779
65420
|
branchMap: {},
|
|
@@ -64786,7 +65427,7 @@ function cov_1cenqfav07() {
|
|
|
64786
65427
|
},
|
|
64787
65428
|
b: {},
|
|
64788
65429
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
64789
|
-
hash: "
|
|
65430
|
+
hash: "d225c5a1e9ed444a01ab4d7cb1d85c0478f33d27"
|
|
64790
65431
|
};
|
|
64791
65432
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
64792
65433
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -64802,14 +65443,14 @@ function cov_1cenqfav07() {
|
|
|
64802
65443
|
return actualCoverage;
|
|
64803
65444
|
}
|
|
64804
65445
|
cov_1cenqfav07();
|
|
64805
|
-
var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$a(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.PHONE.value, PhoneNumberField), _defineProperty$a(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$a(_ref2, QUESTION_KIND.
|
|
65446
|
+
var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$a(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.PHONE.value, PhoneNumberField), _defineProperty$a(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.TEXTAREA.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$a(_ref2, QUESTION_KIND.PARAGRAPH.value, function (_ref) {
|
|
64806
65447
|
var question = _ref.question;
|
|
64807
65448
|
cov_1cenqfav07().f[0]++;
|
|
64808
65449
|
cov_1cenqfav07().s[1]++;
|
|
64809
65450
|
return /*#__PURE__*/React__default["default"].createElement(neetoEditor.EditorContent, {
|
|
64810
65451
|
content: question.label
|
|
64811
65452
|
});
|
|
64812
|
-
}), _defineProperty$a(_ref2, QUESTION_KIND.TERMS.value, TermsField), _defineProperty$a(_ref2, QUESTION_KIND.DATE.value, DateField), _defineProperty$a(_ref2, QUESTION_KIND.STAR_RATING.value, StarRatingField), _defineProperty$a(_ref2, QUESTION_KIND.ADDITIONAL_GUESTS.value, MultipleEmailInput), _defineProperty$a(_ref2, QUESTION_KIND.RICH_TEXT.value, RichTextEditor), _ref2));
|
|
65453
|
+
}), _defineProperty$a(_ref2, QUESTION_KIND.TERMS.value, TermsField), _defineProperty$a(_ref2, QUESTION_KIND.DATE.value, DateField), _defineProperty$a(_ref2, QUESTION_KIND.STAR_RATING.value, StarRatingField), _defineProperty$a(_ref2, QUESTION_KIND.ADDITIONAL_GUESTS.value, MultipleEmailInput), _defineProperty$a(_ref2, QUESTION_KIND.RICH_TEXT.value, RichTextEditor), _defineProperty$a(_ref2, QUESTION_KIND.CONDITION.value, ConditionField), _ref2));
|
|
64813
65454
|
|
|
64814
65455
|
function cov_zmqolo6ug() {
|
|
64815
65456
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/utils.js";
|
|
@@ -70883,7 +71524,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
|
|
|
70883
71524
|
|
|
70884
71525
|
function cov_29xlle89ll() {
|
|
70885
71526
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
|
|
70886
|
-
var hash = "
|
|
71527
|
+
var hash = "5bbf5faa11069095565da90858226edff2576be6";
|
|
70887
71528
|
var global = new Function("return this")();
|
|
70888
71529
|
var gcv = "__coverage__";
|
|
70889
71530
|
var coverageData = {
|
|
@@ -70935,7 +71576,7 @@ function cov_29xlle89ll() {
|
|
|
70935
71576
|
column: 17
|
|
70936
71577
|
},
|
|
70937
71578
|
end: {
|
|
70938
|
-
line:
|
|
71579
|
+
line: 39,
|
|
70939
71580
|
column: 1
|
|
70940
71581
|
}
|
|
70941
71582
|
},
|
|
@@ -70985,137 +71626,157 @@ function cov_29xlle89ll() {
|
|
|
70985
71626
|
column: 2
|
|
70986
71627
|
},
|
|
70987
71628
|
end: {
|
|
70988
|
-
line:
|
|
70989
|
-
column:
|
|
71629
|
+
line: 36,
|
|
71630
|
+
column: 3
|
|
70990
71631
|
}
|
|
70991
71632
|
},
|
|
70992
71633
|
"10": {
|
|
70993
71634
|
start: {
|
|
70994
|
-
line:
|
|
71635
|
+
line: 35,
|
|
71636
|
+
column: 4
|
|
71637
|
+
},
|
|
71638
|
+
end: {
|
|
71639
|
+
line: 35,
|
|
71640
|
+
column: 52
|
|
71641
|
+
}
|
|
71642
|
+
},
|
|
71643
|
+
"11": {
|
|
71644
|
+
start: {
|
|
71645
|
+
line: 38,
|
|
71646
|
+
column: 2
|
|
71647
|
+
},
|
|
71648
|
+
end: {
|
|
71649
|
+
line: 38,
|
|
71650
|
+
column: 15
|
|
71651
|
+
}
|
|
71652
|
+
},
|
|
71653
|
+
"12": {
|
|
71654
|
+
start: {
|
|
71655
|
+
line: 41,
|
|
70995
71656
|
column: 19
|
|
70996
71657
|
},
|
|
70997
71658
|
end: {
|
|
70998
|
-
line:
|
|
71659
|
+
line: 98,
|
|
70999
71660
|
column: 1
|
|
71000
71661
|
}
|
|
71001
71662
|
},
|
|
71002
|
-
"
|
|
71663
|
+
"13": {
|
|
71003
71664
|
start: {
|
|
71004
|
-
line:
|
|
71665
|
+
line: 48,
|
|
71005
71666
|
column: 62
|
|
71006
71667
|
},
|
|
71007
71668
|
end: {
|
|
71008
|
-
line:
|
|
71669
|
+
line: 52,
|
|
71009
71670
|
column: 4
|
|
71010
71671
|
}
|
|
71011
71672
|
},
|
|
71012
|
-
"
|
|
71673
|
+
"14": {
|
|
71013
71674
|
start: {
|
|
71014
|
-
line:
|
|
71675
|
+
line: 54,
|
|
71015
71676
|
column: 24
|
|
71016
71677
|
},
|
|
71017
71678
|
end: {
|
|
71018
|
-
line:
|
|
71679
|
+
line: 54,
|
|
71019
71680
|
column: 34
|
|
71020
71681
|
}
|
|
71021
71682
|
},
|
|
71022
|
-
"
|
|
71683
|
+
"15": {
|
|
71023
71684
|
start: {
|
|
71024
|
-
line:
|
|
71685
|
+
line: 56,
|
|
71025
71686
|
column: 31
|
|
71026
71687
|
},
|
|
71027
71688
|
end: {
|
|
71028
|
-
line:
|
|
71689
|
+
line: 72,
|
|
71029
71690
|
column: 3
|
|
71030
71691
|
}
|
|
71031
71692
|
},
|
|
71032
|
-
"
|
|
71693
|
+
"16": {
|
|
71033
71694
|
start: {
|
|
71034
|
-
line:
|
|
71695
|
+
line: 58,
|
|
71035
71696
|
column: 6
|
|
71036
71697
|
},
|
|
71037
71698
|
end: {
|
|
71038
|
-
line:
|
|
71699
|
+
line: 62,
|
|
71039
71700
|
column: 7
|
|
71040
71701
|
}
|
|
71041
71702
|
},
|
|
71042
|
-
"
|
|
71703
|
+
"17": {
|
|
71043
71704
|
start: {
|
|
71044
|
-
line:
|
|
71705
|
+
line: 59,
|
|
71045
71706
|
column: 8
|
|
71046
71707
|
},
|
|
71047
71708
|
end: {
|
|
71048
|
-
line:
|
|
71709
|
+
line: 59,
|
|
71049
71710
|
column: 69
|
|
71050
71711
|
}
|
|
71051
71712
|
},
|
|
71052
|
-
"
|
|
71713
|
+
"18": {
|
|
71053
71714
|
start: {
|
|
71054
|
-
line:
|
|
71715
|
+
line: 60,
|
|
71055
71716
|
column: 13
|
|
71056
71717
|
},
|
|
71057
71718
|
end: {
|
|
71058
|
-
line:
|
|
71719
|
+
line: 62,
|
|
71059
71720
|
column: 7
|
|
71060
71721
|
}
|
|
71061
71722
|
},
|
|
71062
|
-
"
|
|
71723
|
+
"19": {
|
|
71063
71724
|
start: {
|
|
71064
|
-
line:
|
|
71725
|
+
line: 61,
|
|
71065
71726
|
column: 8
|
|
71066
71727
|
},
|
|
71067
71728
|
end: {
|
|
71068
|
-
line:
|
|
71729
|
+
line: 61,
|
|
71069
71730
|
column: 55
|
|
71070
71731
|
}
|
|
71071
71732
|
},
|
|
71072
|
-
"
|
|
71733
|
+
"20": {
|
|
71073
71734
|
start: {
|
|
71074
|
-
line:
|
|
71735
|
+
line: 64,
|
|
71075
71736
|
column: 6
|
|
71076
71737
|
},
|
|
71077
71738
|
end: {
|
|
71078
|
-
line:
|
|
71739
|
+
line: 70,
|
|
71079
71740
|
column: 8
|
|
71080
71741
|
}
|
|
71081
71742
|
},
|
|
71082
|
-
"
|
|
71743
|
+
"21": {
|
|
71083
71744
|
start: {
|
|
71084
|
-
line:
|
|
71745
|
+
line: 74,
|
|
71085
71746
|
column: 2
|
|
71086
71747
|
},
|
|
71087
71748
|
end: {
|
|
71088
|
-
line:
|
|
71749
|
+
line: 80,
|
|
71089
71750
|
column: 3
|
|
71090
71751
|
}
|
|
71091
71752
|
},
|
|
71092
|
-
"
|
|
71753
|
+
"22": {
|
|
71093
71754
|
start: {
|
|
71094
|
-
line:
|
|
71755
|
+
line: 75,
|
|
71095
71756
|
column: 4
|
|
71096
71757
|
},
|
|
71097
71758
|
end: {
|
|
71098
|
-
line:
|
|
71759
|
+
line: 79,
|
|
71099
71760
|
column: 6
|
|
71100
71761
|
}
|
|
71101
71762
|
},
|
|
71102
|
-
"
|
|
71763
|
+
"23": {
|
|
71103
71764
|
start: {
|
|
71104
|
-
line:
|
|
71765
|
+
line: 82,
|
|
71105
71766
|
column: 2
|
|
71106
71767
|
},
|
|
71107
71768
|
end: {
|
|
71108
|
-
line:
|
|
71769
|
+
line: 97,
|
|
71109
71770
|
column: 4
|
|
71110
71771
|
}
|
|
71111
71772
|
},
|
|
71112
|
-
"
|
|
71773
|
+
"24": {
|
|
71113
71774
|
start: {
|
|
71114
|
-
line:
|
|
71775
|
+
line: 89,
|
|
71115
71776
|
column: 8
|
|
71116
71777
|
},
|
|
71117
71778
|
end: {
|
|
71118
|
-
line:
|
|
71779
|
+
line: 94,
|
|
71119
71780
|
column: 14
|
|
71120
71781
|
}
|
|
71121
71782
|
}
|
|
@@ -71163,7 +71824,7 @@ function cov_29xlle89ll() {
|
|
|
71163
71824
|
column: 38
|
|
71164
71825
|
},
|
|
71165
71826
|
end: {
|
|
71166
|
-
line:
|
|
71827
|
+
line: 39,
|
|
71167
71828
|
column: 1
|
|
71168
71829
|
}
|
|
71169
71830
|
},
|
|
@@ -71173,73 +71834,73 @@ function cov_29xlle89ll() {
|
|
|
71173
71834
|
name: "(anonymous_2)",
|
|
71174
71835
|
decl: {
|
|
71175
71836
|
start: {
|
|
71176
|
-
line:
|
|
71837
|
+
line: 41,
|
|
71177
71838
|
column: 19
|
|
71178
71839
|
},
|
|
71179
71840
|
end: {
|
|
71180
|
-
line:
|
|
71841
|
+
line: 41,
|
|
71181
71842
|
column: 20
|
|
71182
71843
|
}
|
|
71183
71844
|
},
|
|
71184
71845
|
loc: {
|
|
71185
71846
|
start: {
|
|
71186
|
-
line:
|
|
71847
|
+
line: 47,
|
|
71187
71848
|
column: 6
|
|
71188
71849
|
},
|
|
71189
71850
|
end: {
|
|
71190
|
-
line:
|
|
71851
|
+
line: 98,
|
|
71191
71852
|
column: 1
|
|
71192
71853
|
}
|
|
71193
71854
|
},
|
|
71194
|
-
line:
|
|
71855
|
+
line: 47
|
|
71195
71856
|
},
|
|
71196
71857
|
"3": {
|
|
71197
71858
|
name: "(anonymous_3)",
|
|
71198
71859
|
decl: {
|
|
71199
71860
|
start: {
|
|
71200
|
-
line:
|
|
71861
|
+
line: 56,
|
|
71201
71862
|
column: 31
|
|
71202
71863
|
},
|
|
71203
71864
|
end: {
|
|
71204
|
-
line:
|
|
71865
|
+
line: 56,
|
|
71205
71866
|
column: 32
|
|
71206
71867
|
}
|
|
71207
71868
|
},
|
|
71208
71869
|
loc: {
|
|
71209
71870
|
start: {
|
|
71210
|
-
line:
|
|
71871
|
+
line: 56,
|
|
71211
71872
|
column: 48
|
|
71212
71873
|
},
|
|
71213
71874
|
end: {
|
|
71214
|
-
line:
|
|
71875
|
+
line: 72,
|
|
71215
71876
|
column: 3
|
|
71216
71877
|
}
|
|
71217
71878
|
},
|
|
71218
|
-
line:
|
|
71879
|
+
line: 56
|
|
71219
71880
|
},
|
|
71220
71881
|
"4": {
|
|
71221
71882
|
name: "(anonymous_4)",
|
|
71222
71883
|
decl: {
|
|
71223
71884
|
start: {
|
|
71224
|
-
line:
|
|
71885
|
+
line: 88,
|
|
71225
71886
|
column: 21
|
|
71226
71887
|
},
|
|
71227
71888
|
end: {
|
|
71228
|
-
line:
|
|
71889
|
+
line: 88,
|
|
71229
71890
|
column: 22
|
|
71230
71891
|
}
|
|
71231
71892
|
},
|
|
71232
71893
|
loc: {
|
|
71233
71894
|
start: {
|
|
71234
|
-
line:
|
|
71895
|
+
line: 89,
|
|
71235
71896
|
column: 8
|
|
71236
71897
|
},
|
|
71237
71898
|
end: {
|
|
71238
|
-
line:
|
|
71899
|
+
line: 94,
|
|
71239
71900
|
column: 14
|
|
71240
71901
|
}
|
|
71241
71902
|
},
|
|
71242
|
-
line:
|
|
71903
|
+
line: 89
|
|
71243
71904
|
}
|
|
71244
71905
|
},
|
|
71245
71906
|
branchMap: {
|
|
@@ -71378,232 +72039,298 @@ function cov_29xlle89ll() {
|
|
|
71378
72039
|
"4": {
|
|
71379
72040
|
loc: {
|
|
71380
72041
|
start: {
|
|
71381
|
-
line:
|
|
72042
|
+
line: 34,
|
|
71382
72043
|
column: 2
|
|
71383
72044
|
},
|
|
71384
72045
|
end: {
|
|
71385
|
-
line:
|
|
72046
|
+
line: 36,
|
|
72047
|
+
column: 3
|
|
72048
|
+
}
|
|
72049
|
+
},
|
|
72050
|
+
type: "if",
|
|
72051
|
+
locations: [{
|
|
72052
|
+
start: {
|
|
72053
|
+
line: 34,
|
|
72054
|
+
column: 2
|
|
72055
|
+
},
|
|
72056
|
+
end: {
|
|
72057
|
+
line: 36,
|
|
72058
|
+
column: 3
|
|
72059
|
+
}
|
|
72060
|
+
}, {
|
|
72061
|
+
start: {
|
|
72062
|
+
line: undefined,
|
|
72063
|
+
column: undefined
|
|
72064
|
+
},
|
|
72065
|
+
end: {
|
|
72066
|
+
line: undefined,
|
|
72067
|
+
column: undefined
|
|
72068
|
+
}
|
|
72069
|
+
}],
|
|
72070
|
+
line: 34
|
|
72071
|
+
},
|
|
72072
|
+
"5": {
|
|
72073
|
+
loc: {
|
|
72074
|
+
start: {
|
|
72075
|
+
line: 35,
|
|
72076
|
+
column: 11
|
|
72077
|
+
},
|
|
72078
|
+
end: {
|
|
72079
|
+
line: 35,
|
|
72080
|
+
column: 51
|
|
72081
|
+
}
|
|
72082
|
+
},
|
|
72083
|
+
type: "cond-expr",
|
|
72084
|
+
locations: [{
|
|
72085
|
+
start: {
|
|
72086
|
+
line: 35,
|
|
72087
|
+
column: 19
|
|
72088
|
+
},
|
|
72089
|
+
end: {
|
|
72090
|
+
line: 35,
|
|
72091
|
+
column: 34
|
|
72092
|
+
}
|
|
72093
|
+
}, {
|
|
72094
|
+
start: {
|
|
72095
|
+
line: 35,
|
|
72096
|
+
column: 37
|
|
72097
|
+
},
|
|
72098
|
+
end: {
|
|
72099
|
+
line: 35,
|
|
72100
|
+
column: 51
|
|
72101
|
+
}
|
|
72102
|
+
}],
|
|
72103
|
+
line: 35
|
|
72104
|
+
},
|
|
72105
|
+
"6": {
|
|
72106
|
+
loc: {
|
|
72107
|
+
start: {
|
|
72108
|
+
line: 42,
|
|
72109
|
+
column: 2
|
|
72110
|
+
},
|
|
72111
|
+
end: {
|
|
72112
|
+
line: 42,
|
|
71386
72113
|
column: 13
|
|
71387
72114
|
}
|
|
71388
72115
|
},
|
|
71389
72116
|
type: "default-arg",
|
|
71390
72117
|
locations: [{
|
|
71391
72118
|
start: {
|
|
71392
|
-
line:
|
|
72119
|
+
line: 42,
|
|
71393
72120
|
column: 11
|
|
71394
72121
|
},
|
|
71395
72122
|
end: {
|
|
71396
|
-
line:
|
|
72123
|
+
line: 42,
|
|
71397
72124
|
column: 13
|
|
71398
72125
|
}
|
|
71399
72126
|
}],
|
|
71400
|
-
line:
|
|
72127
|
+
line: 42
|
|
71401
72128
|
},
|
|
71402
|
-
"
|
|
72129
|
+
"7": {
|
|
71403
72130
|
loc: {
|
|
71404
72131
|
start: {
|
|
71405
|
-
line:
|
|
72132
|
+
line: 43,
|
|
71406
72133
|
column: 2
|
|
71407
72134
|
},
|
|
71408
72135
|
end: {
|
|
71409
|
-
line:
|
|
72136
|
+
line: 43,
|
|
71410
72137
|
column: 19
|
|
71411
72138
|
}
|
|
71412
72139
|
},
|
|
71413
72140
|
type: "default-arg",
|
|
71414
72141
|
locations: [{
|
|
71415
72142
|
start: {
|
|
71416
|
-
line:
|
|
72143
|
+
line: 43,
|
|
71417
72144
|
column: 17
|
|
71418
72145
|
},
|
|
71419
72146
|
end: {
|
|
71420
|
-
line:
|
|
72147
|
+
line: 43,
|
|
71421
72148
|
column: 19
|
|
71422
72149
|
}
|
|
71423
72150
|
}],
|
|
71424
|
-
line:
|
|
72151
|
+
line: 43
|
|
71425
72152
|
},
|
|
71426
|
-
"
|
|
72153
|
+
"8": {
|
|
71427
72154
|
loc: {
|
|
71428
72155
|
start: {
|
|
71429
|
-
line:
|
|
72156
|
+
line: 44,
|
|
71430
72157
|
column: 2
|
|
71431
72158
|
},
|
|
71432
72159
|
end: {
|
|
71433
|
-
line:
|
|
72160
|
+
line: 44,
|
|
71434
72161
|
column: 16
|
|
71435
72162
|
}
|
|
71436
72163
|
},
|
|
71437
72164
|
type: "default-arg",
|
|
71438
72165
|
locations: [{
|
|
71439
72166
|
start: {
|
|
71440
|
-
line:
|
|
72167
|
+
line: 44,
|
|
71441
72168
|
column: 14
|
|
71442
72169
|
},
|
|
71443
72170
|
end: {
|
|
71444
|
-
line:
|
|
72171
|
+
line: 44,
|
|
71445
72172
|
column: 16
|
|
71446
72173
|
}
|
|
71447
72174
|
}],
|
|
71448
|
-
line:
|
|
72175
|
+
line: 44
|
|
71449
72176
|
},
|
|
71450
|
-
"
|
|
72177
|
+
"9": {
|
|
71451
72178
|
loc: {
|
|
71452
72179
|
start: {
|
|
71453
|
-
line:
|
|
72180
|
+
line: 45,
|
|
71454
72181
|
column: 2
|
|
71455
72182
|
},
|
|
71456
72183
|
end: {
|
|
71457
|
-
line:
|
|
72184
|
+
line: 45,
|
|
71458
72185
|
column: 25
|
|
71459
72186
|
}
|
|
71460
72187
|
},
|
|
71461
72188
|
type: "default-arg",
|
|
71462
72189
|
locations: [{
|
|
71463
72190
|
start: {
|
|
71464
|
-
line:
|
|
72191
|
+
line: 45,
|
|
71465
72192
|
column: 23
|
|
71466
72193
|
},
|
|
71467
72194
|
end: {
|
|
71468
|
-
line:
|
|
72195
|
+
line: 45,
|
|
71469
72196
|
column: 25
|
|
71470
72197
|
}
|
|
71471
72198
|
}],
|
|
71472
|
-
line:
|
|
72199
|
+
line: 45
|
|
71473
72200
|
},
|
|
71474
|
-
"
|
|
72201
|
+
"10": {
|
|
71475
72202
|
loc: {
|
|
71476
72203
|
start: {
|
|
71477
|
-
line:
|
|
72204
|
+
line: 46,
|
|
71478
72205
|
column: 2
|
|
71479
72206
|
},
|
|
71480
72207
|
end: {
|
|
71481
|
-
line:
|
|
72208
|
+
line: 46,
|
|
71482
72209
|
column: 18
|
|
71483
72210
|
}
|
|
71484
72211
|
},
|
|
71485
72212
|
type: "default-arg",
|
|
71486
72213
|
locations: [{
|
|
71487
72214
|
start: {
|
|
71488
|
-
line:
|
|
72215
|
+
line: 46,
|
|
71489
72216
|
column: 16
|
|
71490
72217
|
},
|
|
71491
72218
|
end: {
|
|
71492
|
-
line:
|
|
72219
|
+
line: 46,
|
|
71493
72220
|
column: 18
|
|
71494
72221
|
}
|
|
71495
72222
|
}],
|
|
71496
|
-
line:
|
|
72223
|
+
line: 46
|
|
71497
72224
|
},
|
|
71498
|
-
"
|
|
72225
|
+
"11": {
|
|
71499
72226
|
loc: {
|
|
71500
72227
|
start: {
|
|
71501
|
-
line:
|
|
72228
|
+
line: 48,
|
|
71502
72229
|
column: 16
|
|
71503
72230
|
},
|
|
71504
72231
|
end: {
|
|
71505
|
-
line:
|
|
72232
|
+
line: 48,
|
|
71506
72233
|
column: 46
|
|
71507
72234
|
}
|
|
71508
72235
|
},
|
|
71509
72236
|
type: "default-arg",
|
|
71510
72237
|
locations: [{
|
|
71511
72238
|
start: {
|
|
71512
|
-
line:
|
|
72239
|
+
line: 48,
|
|
71513
72240
|
column: 29
|
|
71514
72241
|
},
|
|
71515
72242
|
end: {
|
|
71516
|
-
line:
|
|
72243
|
+
line: 48,
|
|
71517
72244
|
column: 46
|
|
71518
72245
|
}
|
|
71519
72246
|
}],
|
|
71520
|
-
line:
|
|
72247
|
+
line: 48
|
|
71521
72248
|
},
|
|
71522
|
-
"
|
|
72249
|
+
"12": {
|
|
71523
72250
|
loc: {
|
|
71524
72251
|
start: {
|
|
71525
|
-
line:
|
|
72252
|
+
line: 51,
|
|
71526
72253
|
column: 16
|
|
71527
72254
|
},
|
|
71528
72255
|
end: {
|
|
71529
|
-
line:
|
|
72256
|
+
line: 51,
|
|
71530
72257
|
column: 38
|
|
71531
72258
|
}
|
|
71532
72259
|
},
|
|
71533
72260
|
type: "binary-expr",
|
|
71534
72261
|
locations: [{
|
|
71535
72262
|
start: {
|
|
71536
|
-
line:
|
|
72263
|
+
line: 51,
|
|
71537
72264
|
column: 16
|
|
71538
72265
|
},
|
|
71539
72266
|
end: {
|
|
71540
|
-
line:
|
|
72267
|
+
line: 51,
|
|
71541
72268
|
column: 22
|
|
71542
72269
|
}
|
|
71543
72270
|
}, {
|
|
71544
72271
|
start: {
|
|
71545
|
-
line:
|
|
72272
|
+
line: 51,
|
|
71546
72273
|
column: 26
|
|
71547
72274
|
},
|
|
71548
72275
|
end: {
|
|
71549
|
-
line:
|
|
72276
|
+
line: 51,
|
|
71550
72277
|
column: 38
|
|
71551
72278
|
}
|
|
71552
72279
|
}],
|
|
71553
|
-
line:
|
|
72280
|
+
line: 51
|
|
71554
72281
|
},
|
|
71555
|
-
"
|
|
72282
|
+
"13": {
|
|
71556
72283
|
loc: {
|
|
71557
72284
|
start: {
|
|
71558
|
-
line:
|
|
72285
|
+
line: 58,
|
|
71559
72286
|
column: 6
|
|
71560
72287
|
},
|
|
71561
72288
|
end: {
|
|
71562
|
-
line:
|
|
72289
|
+
line: 62,
|
|
71563
72290
|
column: 7
|
|
71564
72291
|
}
|
|
71565
72292
|
},
|
|
71566
72293
|
type: "if",
|
|
71567
72294
|
locations: [{
|
|
71568
72295
|
start: {
|
|
71569
|
-
line:
|
|
72296
|
+
line: 58,
|
|
71570
72297
|
column: 6
|
|
71571
72298
|
},
|
|
71572
72299
|
end: {
|
|
71573
|
-
line:
|
|
72300
|
+
line: 62,
|
|
71574
72301
|
column: 7
|
|
71575
72302
|
}
|
|
71576
72303
|
}, {
|
|
71577
72304
|
start: {
|
|
71578
|
-
line:
|
|
72305
|
+
line: 60,
|
|
71579
72306
|
column: 13
|
|
71580
72307
|
},
|
|
71581
72308
|
end: {
|
|
71582
|
-
line:
|
|
72309
|
+
line: 62,
|
|
71583
72310
|
column: 7
|
|
71584
72311
|
}
|
|
71585
72312
|
}],
|
|
71586
|
-
line:
|
|
72313
|
+
line: 58
|
|
71587
72314
|
},
|
|
71588
|
-
"
|
|
72315
|
+
"14": {
|
|
71589
72316
|
loc: {
|
|
71590
72317
|
start: {
|
|
71591
|
-
line:
|
|
72318
|
+
line: 60,
|
|
71592
72319
|
column: 13
|
|
71593
72320
|
},
|
|
71594
72321
|
end: {
|
|
71595
|
-
line:
|
|
72322
|
+
line: 62,
|
|
71596
72323
|
column: 7
|
|
71597
72324
|
}
|
|
71598
72325
|
},
|
|
71599
72326
|
type: "if",
|
|
71600
72327
|
locations: [{
|
|
71601
72328
|
start: {
|
|
71602
|
-
line:
|
|
72329
|
+
line: 60,
|
|
71603
72330
|
column: 13
|
|
71604
72331
|
},
|
|
71605
72332
|
end: {
|
|
71606
|
-
line:
|
|
72333
|
+
line: 62,
|
|
71607
72334
|
column: 7
|
|
71608
72335
|
}
|
|
71609
72336
|
}, {
|
|
@@ -71616,27 +72343,27 @@ function cov_29xlle89ll() {
|
|
|
71616
72343
|
column: undefined
|
|
71617
72344
|
}
|
|
71618
72345
|
}],
|
|
71619
|
-
line:
|
|
72346
|
+
line: 60
|
|
71620
72347
|
},
|
|
71621
|
-
"
|
|
72348
|
+
"15": {
|
|
71622
72349
|
loc: {
|
|
71623
72350
|
start: {
|
|
71624
|
-
line:
|
|
72351
|
+
line: 74,
|
|
71625
72352
|
column: 2
|
|
71626
72353
|
},
|
|
71627
72354
|
end: {
|
|
71628
|
-
line:
|
|
72355
|
+
line: 80,
|
|
71629
72356
|
column: 3
|
|
71630
72357
|
}
|
|
71631
72358
|
},
|
|
71632
72359
|
type: "if",
|
|
71633
72360
|
locations: [{
|
|
71634
72361
|
start: {
|
|
71635
|
-
line:
|
|
72362
|
+
line: 74,
|
|
71636
72363
|
column: 2
|
|
71637
72364
|
},
|
|
71638
72365
|
end: {
|
|
71639
|
-
line:
|
|
72366
|
+
line: 80,
|
|
71640
72367
|
column: 3
|
|
71641
72368
|
}
|
|
71642
72369
|
}, {
|
|
@@ -71649,7 +72376,7 @@ function cov_29xlle89ll() {
|
|
|
71649
72376
|
column: undefined
|
|
71650
72377
|
}
|
|
71651
72378
|
}],
|
|
71652
|
-
line:
|
|
72379
|
+
line: 74
|
|
71653
72380
|
}
|
|
71654
72381
|
},
|
|
71655
72382
|
s: {
|
|
@@ -71675,7 +72402,9 @@ function cov_29xlle89ll() {
|
|
|
71675
72402
|
"19": 0,
|
|
71676
72403
|
"20": 0,
|
|
71677
72404
|
"21": 0,
|
|
71678
|
-
"22": 0
|
|
72405
|
+
"22": 0,
|
|
72406
|
+
"23": 0,
|
|
72407
|
+
"24": 0
|
|
71679
72408
|
},
|
|
71680
72409
|
f: {
|
|
71681
72410
|
"0": 0,
|
|
@@ -71689,19 +72418,21 @@ function cov_29xlle89ll() {
|
|
|
71689
72418
|
"1": [0, 0],
|
|
71690
72419
|
"2": [0, 0],
|
|
71691
72420
|
"3": [0, 0],
|
|
71692
|
-
"4": [0],
|
|
71693
|
-
"5": [0],
|
|
72421
|
+
"4": [0, 0],
|
|
72422
|
+
"5": [0, 0],
|
|
71694
72423
|
"6": [0],
|
|
71695
72424
|
"7": [0],
|
|
71696
72425
|
"8": [0],
|
|
71697
72426
|
"9": [0],
|
|
71698
|
-
"10": [0
|
|
71699
|
-
"11": [0
|
|
72427
|
+
"10": [0],
|
|
72428
|
+
"11": [0],
|
|
71700
72429
|
"12": [0, 0],
|
|
71701
|
-
"13": [0, 0]
|
|
72430
|
+
"13": [0, 0],
|
|
72431
|
+
"14": [0, 0],
|
|
72432
|
+
"15": [0, 0]
|
|
71702
72433
|
},
|
|
71703
72434
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
71704
|
-
hash: "
|
|
72435
|
+
hash: "5bbf5faa11069095565da90858226edff2576be6"
|
|
71705
72436
|
};
|
|
71706
72437
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
71707
72438
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -71755,41 +72486,49 @@ var getValue = function getValue(_ref2) {
|
|
|
71755
72486
|
cov_29xlle89ll().b[3][1]++;
|
|
71756
72487
|
}
|
|
71757
72488
|
cov_29xlle89ll().s[9]++;
|
|
72489
|
+
if (kind === QUESTION_KIND.CONDITION.value) {
|
|
72490
|
+
cov_29xlle89ll().b[4][0]++;
|
|
72491
|
+
cov_29xlle89ll().s[10]++;
|
|
72492
|
+
return value ? (cov_29xlle89ll().b[5][0]++, t$1("common.yes")) : (cov_29xlle89ll().b[5][1]++, t$1("common.no"));
|
|
72493
|
+
} else {
|
|
72494
|
+
cov_29xlle89ll().b[4][1]++;
|
|
72495
|
+
}
|
|
72496
|
+
cov_29xlle89ll().s[11]++;
|
|
71758
72497
|
return value;
|
|
71759
72498
|
};
|
|
71760
|
-
cov_29xlle89ll().s[
|
|
72499
|
+
cov_29xlle89ll().s[12]++;
|
|
71761
72500
|
var Submission = function Submission(_ref3) {
|
|
71762
72501
|
var _ref3$formId = _ref3.formId,
|
|
71763
|
-
formId = _ref3$formId === void 0 ? (cov_29xlle89ll().b[
|
|
72502
|
+
formId = _ref3$formId === void 0 ? (cov_29xlle89ll().b[6][0]++, "") : _ref3$formId,
|
|
71764
72503
|
_ref3$submissionId = _ref3.submissionId,
|
|
71765
|
-
submissionId = _ref3$submissionId === void 0 ? (cov_29xlle89ll().b[
|
|
72504
|
+
submissionId = _ref3$submissionId === void 0 ? (cov_29xlle89ll().b[7][0]++, "") : _ref3$submissionId,
|
|
71766
72505
|
_ref3$className = _ref3.className,
|
|
71767
|
-
className = _ref3$className === void 0 ? (cov_29xlle89ll().b[
|
|
72506
|
+
className = _ref3$className === void 0 ? (cov_29xlle89ll().b[8][0]++, "") : _ref3$className,
|
|
71768
72507
|
_ref3$questionLabelPr = _ref3.questionLabelProps,
|
|
71769
|
-
questionLabelProps = _ref3$questionLabelPr === void 0 ? (cov_29xlle89ll().b[
|
|
72508
|
+
questionLabelProps = _ref3$questionLabelPr === void 0 ? (cov_29xlle89ll().b[9][0]++, {}) : _ref3$questionLabelPr,
|
|
71770
72509
|
_ref3$answerProps = _ref3.answerProps,
|
|
71771
|
-
answerProps = _ref3$answerProps === void 0 ? (cov_29xlle89ll().b[
|
|
72510
|
+
answerProps = _ref3$answerProps === void 0 ? (cov_29xlle89ll().b[10][0]++, {}) : _ref3$answerProps;
|
|
71772
72511
|
cov_29xlle89ll().f[2]++;
|
|
71773
|
-
var _ref4 = (cov_29xlle89ll().s[
|
|
72512
|
+
var _ref4 = (cov_29xlle89ll().s[13]++, useSubmission({
|
|
71774
72513
|
formId: formId,
|
|
71775
72514
|
submissionId: submissionId,
|
|
71776
|
-
enabled: !!((cov_29xlle89ll().b[
|
|
72515
|
+
enabled: !!((cov_29xlle89ll().b[12][0]++, formId) && (cov_29xlle89ll().b[12][1]++, submissionId))
|
|
71777
72516
|
})),
|
|
71778
72517
|
_ref4$data = _ref4.data,
|
|
71779
|
-
submission = _ref4$data === void 0 ? (cov_29xlle89ll().b[
|
|
72518
|
+
submission = _ref4$data === void 0 ? (cov_29xlle89ll().b[11][0]++, {
|
|
71780
72519
|
responses: []
|
|
71781
72520
|
}) : _ref4$data,
|
|
71782
72521
|
isLoading = _ref4.isLoading;
|
|
71783
|
-
var _ref5 = (cov_29xlle89ll().s[
|
|
72522
|
+
var _ref5 = (cov_29xlle89ll().s[14]++, submission),
|
|
71784
72523
|
responses = _ref5.responses;
|
|
71785
|
-
cov_29xlle89ll().s[
|
|
72524
|
+
cov_29xlle89ll().s[15]++;
|
|
71786
72525
|
var renderSubmittedValue = function renderSubmittedValue(kind, value) {
|
|
71787
72526
|
cov_29xlle89ll().f[3]++;
|
|
71788
72527
|
{
|
|
71789
|
-
cov_29xlle89ll().s[
|
|
72528
|
+
cov_29xlle89ll().s[16]++;
|
|
71790
72529
|
if (kind === QUESTION_KIND.RICH_TEXT.value) {
|
|
71791
|
-
cov_29xlle89ll().b[
|
|
71792
|
-
cov_29xlle89ll().s[
|
|
72530
|
+
cov_29xlle89ll().b[13][0]++;
|
|
72531
|
+
cov_29xlle89ll().s[17]++;
|
|
71793
72532
|
return /*#__PURE__*/React__default["default"].createElement(neetoEditor.EditorContent, {
|
|
71794
72533
|
content: getValue({
|
|
71795
72534
|
value: value,
|
|
@@ -71797,20 +72536,20 @@ var Submission = function Submission(_ref3) {
|
|
|
71797
72536
|
})
|
|
71798
72537
|
});
|
|
71799
72538
|
} else {
|
|
71800
|
-
cov_29xlle89ll().b[
|
|
71801
|
-
cov_29xlle89ll().s[
|
|
72539
|
+
cov_29xlle89ll().b[13][1]++;
|
|
72540
|
+
cov_29xlle89ll().s[18]++;
|
|
71802
72541
|
if (kind === QUESTION_KIND.PHONE.value) {
|
|
71803
|
-
cov_29xlle89ll().b[
|
|
71804
|
-
cov_29xlle89ll().s[
|
|
72542
|
+
cov_29xlle89ll().b[14][0]++;
|
|
72543
|
+
cov_29xlle89ll().s[19]++;
|
|
71805
72544
|
return /*#__PURE__*/React__default["default"].createElement(PhoneNumber$1.PhoneNumber, {
|
|
71806
72545
|
showEmoji: true,
|
|
71807
72546
|
value: value
|
|
71808
72547
|
});
|
|
71809
72548
|
} else {
|
|
71810
|
-
cov_29xlle89ll().b[
|
|
72549
|
+
cov_29xlle89ll().b[14][1]++;
|
|
71811
72550
|
}
|
|
71812
72551
|
}
|
|
71813
|
-
cov_29xlle89ll().s[
|
|
72552
|
+
cov_29xlle89ll().s[20]++;
|
|
71814
72553
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, _extends$9({
|
|
71815
72554
|
weight: "semibold"
|
|
71816
72555
|
}, answerProps), /*#__PURE__*/React__default["default"].createElement(_default, {
|
|
@@ -71821,17 +72560,17 @@ var Submission = function Submission(_ref3) {
|
|
|
71821
72560
|
})));
|
|
71822
72561
|
}
|
|
71823
72562
|
};
|
|
71824
|
-
cov_29xlle89ll().s[
|
|
72563
|
+
cov_29xlle89ll().s[21]++;
|
|
71825
72564
|
if (isLoading) {
|
|
71826
|
-
cov_29xlle89ll().b[
|
|
71827
|
-
cov_29xlle89ll().s[
|
|
72565
|
+
cov_29xlle89ll().b[15][0]++;
|
|
72566
|
+
cov_29xlle89ll().s[22]++;
|
|
71828
72567
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71829
72568
|
className: "flex h-full w-full items-center justify-center"
|
|
71830
72569
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
|
|
71831
72570
|
} else {
|
|
71832
|
-
cov_29xlle89ll().b[
|
|
72571
|
+
cov_29xlle89ll().b[15][1]++;
|
|
71833
72572
|
}
|
|
71834
|
-
cov_29xlle89ll().s[
|
|
72573
|
+
cov_29xlle89ll().s[23]++;
|
|
71835
72574
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71836
72575
|
className: classnames__default["default"]("mx-auto flex h-full w-full flex-col items-start", _defineProperty$a({}, className, className))
|
|
71837
72576
|
}, responses.map(function (_ref6) {
|
|
@@ -71839,7 +72578,7 @@ var Submission = function Submission(_ref3) {
|
|
|
71839
72578
|
label = _ref6.label,
|
|
71840
72579
|
value = _ref6.value;
|
|
71841
72580
|
cov_29xlle89ll().f[4]++;
|
|
71842
|
-
cov_29xlle89ll().s[
|
|
72581
|
+
cov_29xlle89ll().s[24]++;
|
|
71843
72582
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71844
72583
|
className: "mb-4",
|
|
71845
72584
|
key: label
|