@bigbinary/neeto-form-frontend 1.0.26 → 1.0.28
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 +1 -0
- package/dist/index.cjs.js +354 -278
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +354 -278
- package/dist/index.js.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React$2 = require('react');
|
|
6
6
|
var formik = require('formik');
|
|
7
|
+
var pure = require('@bigbinary/neeto-commons-frontend/pure');
|
|
7
8
|
var PageLoader = require('neetomolecules/PageLoader');
|
|
8
9
|
var neetoui = require('@bigbinary/neetoui');
|
|
9
10
|
var ramda = require('ramda');
|
|
10
11
|
var ReactDOM = require('react-dom');
|
|
11
12
|
var axios = require('axios');
|
|
12
13
|
var formik$1 = require('@bigbinary/neetoui/formik');
|
|
13
|
-
var pure = require('@bigbinary/neeto-commons-frontend/pure');
|
|
14
14
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
15
15
|
var zustand = require('zustand');
|
|
16
16
|
var classnames = require('classnames');
|
|
@@ -27421,7 +27421,7 @@ var Editor = function Editor(_ref) {
|
|
|
27421
27421
|
|
|
27422
27422
|
function cov_2j8tlu2ul5() {
|
|
27423
27423
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
|
|
27424
|
-
var hash = "
|
|
27424
|
+
var hash = "66ba5b083c318d90b5ba09aa05088ee51337bf74";
|
|
27425
27425
|
var global = new Function("return this")();
|
|
27426
27426
|
var gcv = "__coverage__";
|
|
27427
27427
|
var coverageData = {
|
|
@@ -27463,27 +27463,27 @@ function cov_2j8tlu2ul5() {
|
|
|
27463
27463
|
column: 30
|
|
27464
27464
|
},
|
|
27465
27465
|
end: {
|
|
27466
|
-
line:
|
|
27466
|
+
line: 190,
|
|
27467
27467
|
column: 1
|
|
27468
27468
|
}
|
|
27469
27469
|
},
|
|
27470
27470
|
"4": {
|
|
27471
27471
|
start: {
|
|
27472
|
-
line:
|
|
27472
|
+
line: 193,
|
|
27473
27473
|
column: 38
|
|
27474
27474
|
},
|
|
27475
27475
|
end: {
|
|
27476
|
-
line:
|
|
27476
|
+
line: 196,
|
|
27477
27477
|
column: 1
|
|
27478
27478
|
}
|
|
27479
27479
|
},
|
|
27480
27480
|
"5": {
|
|
27481
27481
|
start: {
|
|
27482
|
-
line:
|
|
27482
|
+
line: 198,
|
|
27483
27483
|
column: 29
|
|
27484
27484
|
},
|
|
27485
27485
|
end: {
|
|
27486
|
-
line:
|
|
27486
|
+
line: 198,
|
|
27487
27487
|
column: 62
|
|
27488
27488
|
}
|
|
27489
27489
|
}
|
|
@@ -27501,7 +27501,7 @@ function cov_2j8tlu2ul5() {
|
|
|
27501
27501
|
f: {},
|
|
27502
27502
|
b: {},
|
|
27503
27503
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
27504
|
-
hash: "
|
|
27504
|
+
hash: "66ba5b083c318d90b5ba09aa05088ee51337bf74"
|
|
27505
27505
|
};
|
|
27506
27506
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
27507
27507
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -27539,7 +27539,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27539
27539
|
component: Email,
|
|
27540
27540
|
defaults: {
|
|
27541
27541
|
label: ""
|
|
27542
|
-
}
|
|
27542
|
+
},
|
|
27543
|
+
metadata: {}
|
|
27543
27544
|
}, {
|
|
27544
27545
|
type: "phone",
|
|
27545
27546
|
label: instance.t("fields.pif"),
|
|
@@ -27549,7 +27550,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27549
27550
|
component: Phone,
|
|
27550
27551
|
defaults: {
|
|
27551
27552
|
label: ""
|
|
27552
|
-
}
|
|
27553
|
+
},
|
|
27554
|
+
metadata: {}
|
|
27553
27555
|
}, {
|
|
27554
27556
|
type: "name",
|
|
27555
27557
|
label: instance.t("fields.nif"),
|
|
@@ -27559,7 +27561,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27559
27561
|
component: ShortText,
|
|
27560
27562
|
defaults: {
|
|
27561
27563
|
label: ""
|
|
27562
|
-
}
|
|
27564
|
+
},
|
|
27565
|
+
metadata: {}
|
|
27563
27566
|
}, {
|
|
27564
27567
|
type: "text",
|
|
27565
27568
|
label: instance.t("fields.tif"),
|
|
@@ -27569,7 +27572,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27569
27572
|
component: ShortText,
|
|
27570
27573
|
defaults: {
|
|
27571
27574
|
label: ""
|
|
27572
|
-
}
|
|
27575
|
+
},
|
|
27576
|
+
metadata: {}
|
|
27573
27577
|
}, {
|
|
27574
27578
|
type: "question",
|
|
27575
27579
|
label: instance.t("fields.qif"),
|
|
@@ -27578,7 +27582,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27578
27582
|
component: LongText,
|
|
27579
27583
|
defaults: {
|
|
27580
27584
|
label: ""
|
|
27581
|
-
}
|
|
27585
|
+
},
|
|
27586
|
+
metadata: {}
|
|
27582
27587
|
}, {
|
|
27583
27588
|
type: "textarea",
|
|
27584
27589
|
label: instance.t("fields.def"),
|
|
@@ -27587,7 +27592,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27587
27592
|
component: Editor,
|
|
27588
27593
|
defaults: {
|
|
27589
27594
|
label: ""
|
|
27590
|
-
}
|
|
27595
|
+
},
|
|
27596
|
+
metadata: {}
|
|
27591
27597
|
}, {
|
|
27592
27598
|
type: "checkbox",
|
|
27593
27599
|
label: instance.t("fields.mcf"),
|
|
@@ -27600,7 +27606,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27600
27606
|
optionsAttributes: [{
|
|
27601
27607
|
label: ""
|
|
27602
27608
|
}]
|
|
27603
|
-
}
|
|
27609
|
+
},
|
|
27610
|
+
metadata: {}
|
|
27604
27611
|
}, {
|
|
27605
27612
|
type: "radio",
|
|
27606
27613
|
label: instance.t("fields.scf"),
|
|
@@ -27613,7 +27620,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27613
27620
|
optionsAttributes: new Array(SINGLE_CHOICE_FIELD_MIN_OPTIONS).fill({
|
|
27614
27621
|
label: ""
|
|
27615
27622
|
})
|
|
27616
|
-
}
|
|
27623
|
+
},
|
|
27624
|
+
metadata: {}
|
|
27617
27625
|
}, {
|
|
27618
27626
|
type: "dropdown",
|
|
27619
27627
|
label: instance.t("fields.drf"),
|
|
@@ -27626,7 +27634,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27626
27634
|
optionsAttributes: new Array(DROPDOWN_FIELD_MIN_OPTIONS).fill({
|
|
27627
27635
|
label: ""
|
|
27628
27636
|
})
|
|
27629
|
-
}
|
|
27637
|
+
},
|
|
27638
|
+
metadata: {}
|
|
27630
27639
|
}, {
|
|
27631
27640
|
type: "star_rating",
|
|
27632
27641
|
label: instance.t("fields.rif"),
|
|
@@ -27638,7 +27647,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27638
27647
|
isRequired: true,
|
|
27639
27648
|
count: 5,
|
|
27640
27649
|
shape: "star"
|
|
27641
|
-
}
|
|
27650
|
+
},
|
|
27651
|
+
metadata: {}
|
|
27642
27652
|
}, {
|
|
27643
27653
|
type: "rating",
|
|
27644
27654
|
label: instance.t("fields.fbf"),
|
|
@@ -27651,7 +27661,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27651
27661
|
highestRatingLabel: "",
|
|
27652
27662
|
averageRatingLabel: "",
|
|
27653
27663
|
lowestRatingLabel: ""
|
|
27654
|
-
}
|
|
27664
|
+
},
|
|
27665
|
+
metadata: {}
|
|
27655
27666
|
}, {
|
|
27656
27667
|
type: "termsandcondition",
|
|
27657
27668
|
label: instance.t("fields.tcf"),
|
|
@@ -27663,7 +27674,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27663
27674
|
privacyPolicyLink: "",
|
|
27664
27675
|
isRequired: true,
|
|
27665
27676
|
label: instance.t("common.agreeTermsAndConditions")
|
|
27666
|
-
}
|
|
27677
|
+
},
|
|
27678
|
+
metadata: {}
|
|
27667
27679
|
}, {
|
|
27668
27680
|
type: "date",
|
|
27669
27681
|
label: instance.t("fields.date"),
|
|
@@ -27673,7 +27685,8 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27673
27685
|
defaults: {
|
|
27674
27686
|
label: "",
|
|
27675
27687
|
isRequired: true
|
|
27676
|
-
}
|
|
27688
|
+
},
|
|
27689
|
+
metadata: {}
|
|
27677
27690
|
}]);
|
|
27678
27691
|
|
|
27679
27692
|
// To show the question type as label in accordion
|
|
@@ -29072,7 +29085,7 @@ v35('v5', 0x50, sha1);
|
|
|
29072
29085
|
|
|
29073
29086
|
function cov_1ia73x4fw3() {
|
|
29074
29087
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/utils.js";
|
|
29075
|
-
var hash = "
|
|
29088
|
+
var hash = "a09f4f3f281a68c5219aa1982a6d83142f7ecb49";
|
|
29076
29089
|
var global = new Function("return this")();
|
|
29077
29090
|
var gcv = "__coverage__";
|
|
29078
29091
|
var coverageData = {
|
|
@@ -29154,167 +29167,167 @@ function cov_1ia73x4fw3() {
|
|
|
29154
29167
|
column: 31
|
|
29155
29168
|
},
|
|
29156
29169
|
end: {
|
|
29157
|
-
line:
|
|
29170
|
+
line: 28,
|
|
29158
29171
|
column: 2
|
|
29159
29172
|
}
|
|
29160
29173
|
},
|
|
29161
29174
|
"8": {
|
|
29162
29175
|
start: {
|
|
29163
29176
|
line: 22,
|
|
29164
|
-
column:
|
|
29177
|
+
column: 78
|
|
29165
29178
|
},
|
|
29166
29179
|
end: {
|
|
29167
|
-
line:
|
|
29180
|
+
line: 28,
|
|
29168
29181
|
column: 1
|
|
29169
29182
|
}
|
|
29170
29183
|
},
|
|
29171
29184
|
"9": {
|
|
29172
29185
|
start: {
|
|
29173
|
-
line:
|
|
29186
|
+
line: 30,
|
|
29174
29187
|
column: 34
|
|
29175
29188
|
},
|
|
29176
29189
|
end: {
|
|
29177
|
-
line:
|
|
29190
|
+
line: 41,
|
|
29178
29191
|
column: 2
|
|
29179
29192
|
}
|
|
29180
29193
|
},
|
|
29181
29194
|
"10": {
|
|
29182
29195
|
start: {
|
|
29183
|
-
line:
|
|
29196
|
+
line: 35,
|
|
29184
29197
|
column: 7
|
|
29185
29198
|
},
|
|
29186
29199
|
end: {
|
|
29187
|
-
line:
|
|
29200
|
+
line: 41,
|
|
29188
29201
|
column: 1
|
|
29189
29202
|
}
|
|
29190
29203
|
},
|
|
29191
29204
|
"11": {
|
|
29192
29205
|
start: {
|
|
29193
|
-
line:
|
|
29206
|
+
line: 43,
|
|
29194
29207
|
column: 41
|
|
29195
29208
|
},
|
|
29196
29209
|
end: {
|
|
29197
|
-
line:
|
|
29210
|
+
line: 60,
|
|
29198
29211
|
column: 1
|
|
29199
29212
|
}
|
|
29200
29213
|
},
|
|
29201
29214
|
"12": {
|
|
29202
29215
|
start: {
|
|
29203
|
-
line:
|
|
29216
|
+
line: 47,
|
|
29204
29217
|
column: 2
|
|
29205
29218
|
},
|
|
29206
29219
|
end: {
|
|
29207
|
-
line:
|
|
29220
|
+
line: 47,
|
|
29208
29221
|
column: 56
|
|
29209
29222
|
}
|
|
29210
29223
|
},
|
|
29211
29224
|
"13": {
|
|
29212
29225
|
start: {
|
|
29213
|
-
line:
|
|
29226
|
+
line: 47,
|
|
29214
29227
|
column: 32
|
|
29215
29228
|
},
|
|
29216
29229
|
end: {
|
|
29217
|
-
line:
|
|
29230
|
+
line: 47,
|
|
29218
29231
|
column: 56
|
|
29219
29232
|
}
|
|
29220
29233
|
},
|
|
29221
29234
|
"14": {
|
|
29222
29235
|
start: {
|
|
29223
|
-
line:
|
|
29236
|
+
line: 49,
|
|
29224
29237
|
column: 24
|
|
29225
29238
|
},
|
|
29226
29239
|
end: {
|
|
29227
|
-
line:
|
|
29240
|
+
line: 57,
|
|
29228
29241
|
column: 22
|
|
29229
29242
|
}
|
|
29230
29243
|
},
|
|
29231
29244
|
"15": {
|
|
29232
29245
|
start: {
|
|
29233
|
-
line:
|
|
29246
|
+
line: 50,
|
|
29234
29247
|
column: 27
|
|
29235
29248
|
},
|
|
29236
29249
|
end: {
|
|
29237
|
-
line:
|
|
29250
|
+
line: 50,
|
|
29238
29251
|
column: 42
|
|
29239
29252
|
}
|
|
29240
29253
|
},
|
|
29241
29254
|
"16": {
|
|
29242
29255
|
start: {
|
|
29243
|
-
line:
|
|
29256
|
+
line: 51,
|
|
29244
29257
|
column: 32
|
|
29245
29258
|
},
|
|
29246
29259
|
end: {
|
|
29247
|
-
line:
|
|
29260
|
+
line: 54,
|
|
29248
29261
|
column: 5
|
|
29249
29262
|
}
|
|
29250
29263
|
},
|
|
29251
29264
|
"17": {
|
|
29252
29265
|
start: {
|
|
29253
|
-
line:
|
|
29266
|
+
line: 53,
|
|
29254
29267
|
column: 8
|
|
29255
29268
|
},
|
|
29256
29269
|
end: {
|
|
29257
|
-
line:
|
|
29270
|
+
line: 53,
|
|
29258
29271
|
column: 77
|
|
29259
29272
|
}
|
|
29260
29273
|
},
|
|
29261
29274
|
"18": {
|
|
29262
29275
|
start: {
|
|
29263
|
-
line:
|
|
29276
|
+
line: 56,
|
|
29264
29277
|
column: 4
|
|
29265
29278
|
},
|
|
29266
29279
|
end: {
|
|
29267
|
-
line:
|
|
29280
|
+
line: 56,
|
|
29268
29281
|
column: 49
|
|
29269
29282
|
}
|
|
29270
29283
|
},
|
|
29271
29284
|
"19": {
|
|
29272
29285
|
start: {
|
|
29273
|
-
line:
|
|
29286
|
+
line: 59,
|
|
29274
29287
|
column: 2
|
|
29275
29288
|
},
|
|
29276
29289
|
end: {
|
|
29277
|
-
line:
|
|
29290
|
+
line: 59,
|
|
29278
29291
|
column: 23
|
|
29279
29292
|
}
|
|
29280
29293
|
},
|
|
29281
29294
|
"20": {
|
|
29282
29295
|
start: {
|
|
29283
|
-
line:
|
|
29296
|
+
line: 62,
|
|
29284
29297
|
column: 26
|
|
29285
29298
|
},
|
|
29286
29299
|
end: {
|
|
29287
|
-
line:
|
|
29300
|
+
line: 68,
|
|
29288
29301
|
column: 1
|
|
29289
29302
|
}
|
|
29290
29303
|
},
|
|
29291
29304
|
"21": {
|
|
29292
29305
|
start: {
|
|
29293
|
-
line:
|
|
29306
|
+
line: 63,
|
|
29294
29307
|
column: 2
|
|
29295
29308
|
},
|
|
29296
29309
|
end: {
|
|
29297
|
-
line:
|
|
29310
|
+
line: 65,
|
|
29298
29311
|
column: 3
|
|
29299
29312
|
}
|
|
29300
29313
|
},
|
|
29301
29314
|
"22": {
|
|
29302
29315
|
start: {
|
|
29303
|
-
line:
|
|
29316
|
+
line: 64,
|
|
29304
29317
|
column: 4
|
|
29305
29318
|
},
|
|
29306
29319
|
end: {
|
|
29307
|
-
line:
|
|
29320
|
+
line: 64,
|
|
29308
29321
|
column: 38
|
|
29309
29322
|
}
|
|
29310
29323
|
},
|
|
29311
29324
|
"23": {
|
|
29312
29325
|
start: {
|
|
29313
|
-
line:
|
|
29326
|
+
line: 67,
|
|
29314
29327
|
column: 2
|
|
29315
29328
|
},
|
|
29316
29329
|
end: {
|
|
29317
|
-
line:
|
|
29330
|
+
line: 67,
|
|
29318
29331
|
column: 15
|
|
29319
29332
|
}
|
|
29320
29333
|
}
|
|
@@ -29383,10 +29396,10 @@ function cov_1ia73x4fw3() {
|
|
|
29383
29396
|
loc: {
|
|
29384
29397
|
start: {
|
|
29385
29398
|
line: 22,
|
|
29386
|
-
column:
|
|
29399
|
+
column: 78
|
|
29387
29400
|
},
|
|
29388
29401
|
end: {
|
|
29389
|
-
line:
|
|
29402
|
+
line: 28,
|
|
29390
29403
|
column: 1
|
|
29391
29404
|
}
|
|
29392
29405
|
},
|
|
@@ -29396,121 +29409,121 @@ function cov_1ia73x4fw3() {
|
|
|
29396
29409
|
name: "(anonymous_3)",
|
|
29397
29410
|
decl: {
|
|
29398
29411
|
start: {
|
|
29399
|
-
line:
|
|
29412
|
+
line: 30,
|
|
29400
29413
|
column: 34
|
|
29401
29414
|
},
|
|
29402
29415
|
end: {
|
|
29403
|
-
line:
|
|
29416
|
+
line: 30,
|
|
29404
29417
|
column: 35
|
|
29405
29418
|
}
|
|
29406
29419
|
},
|
|
29407
29420
|
loc: {
|
|
29408
29421
|
start: {
|
|
29409
|
-
line:
|
|
29422
|
+
line: 35,
|
|
29410
29423
|
column: 7
|
|
29411
29424
|
},
|
|
29412
29425
|
end: {
|
|
29413
|
-
line:
|
|
29426
|
+
line: 41,
|
|
29414
29427
|
column: 1
|
|
29415
29428
|
}
|
|
29416
29429
|
},
|
|
29417
|
-
line:
|
|
29430
|
+
line: 35
|
|
29418
29431
|
},
|
|
29419
29432
|
"4": {
|
|
29420
29433
|
name: "(anonymous_4)",
|
|
29421
29434
|
decl: {
|
|
29422
29435
|
start: {
|
|
29423
|
-
line:
|
|
29436
|
+
line: 43,
|
|
29424
29437
|
column: 41
|
|
29425
29438
|
},
|
|
29426
29439
|
end: {
|
|
29427
|
-
line:
|
|
29440
|
+
line: 43,
|
|
29428
29441
|
column: 42
|
|
29429
29442
|
}
|
|
29430
29443
|
},
|
|
29431
29444
|
loc: {
|
|
29432
29445
|
start: {
|
|
29433
|
-
line:
|
|
29446
|
+
line: 46,
|
|
29434
29447
|
column: 5
|
|
29435
29448
|
},
|
|
29436
29449
|
end: {
|
|
29437
|
-
line:
|
|
29450
|
+
line: 60,
|
|
29438
29451
|
column: 1
|
|
29439
29452
|
}
|
|
29440
29453
|
},
|
|
29441
|
-
line:
|
|
29454
|
+
line: 46
|
|
29442
29455
|
},
|
|
29443
29456
|
"5": {
|
|
29444
29457
|
name: "(anonymous_5)",
|
|
29445
29458
|
decl: {
|
|
29446
29459
|
start: {
|
|
29447
|
-
line:
|
|
29460
|
+
line: 49,
|
|
29448
29461
|
column: 31
|
|
29449
29462
|
},
|
|
29450
29463
|
end: {
|
|
29451
|
-
line:
|
|
29464
|
+
line: 49,
|
|
29452
29465
|
column: 32
|
|
29453
29466
|
}
|
|
29454
29467
|
},
|
|
29455
29468
|
loc: {
|
|
29456
29469
|
start: {
|
|
29457
|
-
line:
|
|
29470
|
+
line: 49,
|
|
29458
29471
|
column: 39
|
|
29459
29472
|
},
|
|
29460
29473
|
end: {
|
|
29461
|
-
line:
|
|
29474
|
+
line: 57,
|
|
29462
29475
|
column: 3
|
|
29463
29476
|
}
|
|
29464
29477
|
},
|
|
29465
|
-
line:
|
|
29478
|
+
line: 49
|
|
29466
29479
|
},
|
|
29467
29480
|
"6": {
|
|
29468
29481
|
name: "(anonymous_6)",
|
|
29469
29482
|
decl: {
|
|
29470
29483
|
start: {
|
|
29471
|
-
line:
|
|
29484
|
+
line: 52,
|
|
29472
29485
|
column: 6
|
|
29473
29486
|
},
|
|
29474
29487
|
end: {
|
|
29475
|
-
line:
|
|
29488
|
+
line: 52,
|
|
29476
29489
|
column: 7
|
|
29477
29490
|
}
|
|
29478
29491
|
},
|
|
29479
29492
|
loc: {
|
|
29480
29493
|
start: {
|
|
29481
|
-
line:
|
|
29494
|
+
line: 53,
|
|
29482
29495
|
column: 8
|
|
29483
29496
|
},
|
|
29484
29497
|
end: {
|
|
29485
|
-
line:
|
|
29498
|
+
line: 53,
|
|
29486
29499
|
column: 77
|
|
29487
29500
|
}
|
|
29488
29501
|
},
|
|
29489
|
-
line:
|
|
29502
|
+
line: 53
|
|
29490
29503
|
},
|
|
29491
29504
|
"7": {
|
|
29492
29505
|
name: "(anonymous_7)",
|
|
29493
29506
|
decl: {
|
|
29494
29507
|
start: {
|
|
29495
|
-
line:
|
|
29508
|
+
line: 62,
|
|
29496
29509
|
column: 26
|
|
29497
29510
|
},
|
|
29498
29511
|
end: {
|
|
29499
|
-
line:
|
|
29512
|
+
line: 62,
|
|
29500
29513
|
column: 27
|
|
29501
29514
|
}
|
|
29502
29515
|
},
|
|
29503
29516
|
loc: {
|
|
29504
29517
|
start: {
|
|
29505
|
-
line:
|
|
29518
|
+
line: 62,
|
|
29506
29519
|
column: 35
|
|
29507
29520
|
},
|
|
29508
29521
|
end: {
|
|
29509
|
-
line:
|
|
29522
|
+
line: 68,
|
|
29510
29523
|
column: 1
|
|
29511
29524
|
}
|
|
29512
29525
|
},
|
|
29513
|
-
line:
|
|
29526
|
+
line: 62
|
|
29514
29527
|
}
|
|
29515
29528
|
},
|
|
29516
29529
|
branchMap: {
|
|
@@ -29583,79 +29596,79 @@ function cov_1ia73x4fw3() {
|
|
|
29583
29596
|
"2": {
|
|
29584
29597
|
loc: {
|
|
29585
29598
|
start: {
|
|
29586
|
-
line:
|
|
29599
|
+
line: 39,
|
|
29587
29600
|
column: 21
|
|
29588
29601
|
},
|
|
29589
29602
|
end: {
|
|
29590
|
-
line:
|
|
29603
|
+
line: 39,
|
|
29591
29604
|
column: 77
|
|
29592
29605
|
}
|
|
29593
29606
|
},
|
|
29594
29607
|
type: "binary-expr",
|
|
29595
29608
|
locations: [{
|
|
29596
29609
|
start: {
|
|
29597
|
-
line:
|
|
29610
|
+
line: 39,
|
|
29598
29611
|
column: 21
|
|
29599
29612
|
},
|
|
29600
29613
|
end: {
|
|
29601
|
-
line:
|
|
29614
|
+
line: 39,
|
|
29602
29615
|
column: 38
|
|
29603
29616
|
}
|
|
29604
29617
|
}, {
|
|
29605
29618
|
start: {
|
|
29606
|
-
line:
|
|
29619
|
+
line: 39,
|
|
29607
29620
|
column: 42
|
|
29608
29621
|
},
|
|
29609
29622
|
end: {
|
|
29610
|
-
line:
|
|
29623
|
+
line: 39,
|
|
29611
29624
|
column: 77
|
|
29612
29625
|
}
|
|
29613
29626
|
}],
|
|
29614
|
-
line:
|
|
29627
|
+
line: 39
|
|
29615
29628
|
},
|
|
29616
29629
|
"3": {
|
|
29617
29630
|
loc: {
|
|
29618
29631
|
start: {
|
|
29619
|
-
line:
|
|
29632
|
+
line: 45,
|
|
29620
29633
|
column: 2
|
|
29621
29634
|
},
|
|
29622
29635
|
end: {
|
|
29623
|
-
line:
|
|
29636
|
+
line: 45,
|
|
29624
29637
|
column: 22
|
|
29625
29638
|
}
|
|
29626
29639
|
},
|
|
29627
29640
|
type: "default-arg",
|
|
29628
29641
|
locations: [{
|
|
29629
29642
|
start: {
|
|
29630
|
-
line:
|
|
29643
|
+
line: 45,
|
|
29631
29644
|
column: 20
|
|
29632
29645
|
},
|
|
29633
29646
|
end: {
|
|
29634
|
-
line:
|
|
29647
|
+
line: 45,
|
|
29635
29648
|
column: 22
|
|
29636
29649
|
}
|
|
29637
29650
|
}],
|
|
29638
|
-
line:
|
|
29651
|
+
line: 45
|
|
29639
29652
|
},
|
|
29640
29653
|
"4": {
|
|
29641
29654
|
loc: {
|
|
29642
29655
|
start: {
|
|
29643
|
-
line:
|
|
29656
|
+
line: 47,
|
|
29644
29657
|
column: 2
|
|
29645
29658
|
},
|
|
29646
29659
|
end: {
|
|
29647
|
-
line:
|
|
29660
|
+
line: 47,
|
|
29648
29661
|
column: 56
|
|
29649
29662
|
}
|
|
29650
29663
|
},
|
|
29651
29664
|
type: "if",
|
|
29652
29665
|
locations: [{
|
|
29653
29666
|
start: {
|
|
29654
|
-
line:
|
|
29667
|
+
line: 47,
|
|
29655
29668
|
column: 2
|
|
29656
29669
|
},
|
|
29657
29670
|
end: {
|
|
29658
|
-
line:
|
|
29671
|
+
line: 47,
|
|
29659
29672
|
column: 56
|
|
29660
29673
|
}
|
|
29661
29674
|
}, {
|
|
@@ -29668,93 +29681,93 @@ function cov_1ia73x4fw3() {
|
|
|
29668
29681
|
column: undefined
|
|
29669
29682
|
}
|
|
29670
29683
|
}],
|
|
29671
|
-
line:
|
|
29684
|
+
line: 47
|
|
29672
29685
|
},
|
|
29673
29686
|
"5": {
|
|
29674
29687
|
loc: {
|
|
29675
29688
|
start: {
|
|
29676
|
-
line:
|
|
29689
|
+
line: 53,
|
|
29677
29690
|
column: 8
|
|
29678
29691
|
},
|
|
29679
29692
|
end: {
|
|
29680
|
-
line:
|
|
29693
|
+
line: 53,
|
|
29681
29694
|
column: 77
|
|
29682
29695
|
}
|
|
29683
29696
|
},
|
|
29684
29697
|
type: "binary-expr",
|
|
29685
29698
|
locations: [{
|
|
29686
29699
|
start: {
|
|
29687
|
-
line:
|
|
29700
|
+
line: 53,
|
|
29688
29701
|
column: 8
|
|
29689
29702
|
},
|
|
29690
29703
|
end: {
|
|
29691
|
-
line:
|
|
29704
|
+
line: 53,
|
|
29692
29705
|
column: 41
|
|
29693
29706
|
}
|
|
29694
29707
|
}, {
|
|
29695
29708
|
start: {
|
|
29696
|
-
line:
|
|
29709
|
+
line: 53,
|
|
29697
29710
|
column: 45
|
|
29698
29711
|
},
|
|
29699
29712
|
end: {
|
|
29700
|
-
line:
|
|
29713
|
+
line: 53,
|
|
29701
29714
|
column: 77
|
|
29702
29715
|
}
|
|
29703
29716
|
}],
|
|
29704
|
-
line:
|
|
29717
|
+
line: 53
|
|
29705
29718
|
},
|
|
29706
29719
|
"6": {
|
|
29707
29720
|
loc: {
|
|
29708
29721
|
start: {
|
|
29709
|
-
line:
|
|
29722
|
+
line: 56,
|
|
29710
29723
|
column: 11
|
|
29711
29724
|
},
|
|
29712
29725
|
end: {
|
|
29713
|
-
line:
|
|
29726
|
+
line: 56,
|
|
29714
29727
|
column: 48
|
|
29715
29728
|
}
|
|
29716
29729
|
},
|
|
29717
29730
|
type: "binary-expr",
|
|
29718
29731
|
locations: [{
|
|
29719
29732
|
start: {
|
|
29720
|
-
line:
|
|
29733
|
+
line: 56,
|
|
29721
29734
|
column: 11
|
|
29722
29735
|
},
|
|
29723
29736
|
end: {
|
|
29724
|
-
line:
|
|
29737
|
+
line: 56,
|
|
29725
29738
|
column: 25
|
|
29726
29739
|
}
|
|
29727
29740
|
}, {
|
|
29728
29741
|
start: {
|
|
29729
|
-
line:
|
|
29742
|
+
line: 56,
|
|
29730
29743
|
column: 29
|
|
29731
29744
|
},
|
|
29732
29745
|
end: {
|
|
29733
|
-
line:
|
|
29746
|
+
line: 56,
|
|
29734
29747
|
column: 48
|
|
29735
29748
|
}
|
|
29736
29749
|
}],
|
|
29737
|
-
line:
|
|
29750
|
+
line: 56
|
|
29738
29751
|
},
|
|
29739
29752
|
"7": {
|
|
29740
29753
|
loc: {
|
|
29741
29754
|
start: {
|
|
29742
|
-
line:
|
|
29755
|
+
line: 63,
|
|
29743
29756
|
column: 2
|
|
29744
29757
|
},
|
|
29745
29758
|
end: {
|
|
29746
|
-
line:
|
|
29759
|
+
line: 65,
|
|
29747
29760
|
column: 3
|
|
29748
29761
|
}
|
|
29749
29762
|
},
|
|
29750
29763
|
type: "if",
|
|
29751
29764
|
locations: [{
|
|
29752
29765
|
start: {
|
|
29753
|
-
line:
|
|
29766
|
+
line: 63,
|
|
29754
29767
|
column: 2
|
|
29755
29768
|
},
|
|
29756
29769
|
end: {
|
|
29757
|
-
line:
|
|
29770
|
+
line: 65,
|
|
29758
29771
|
column: 3
|
|
29759
29772
|
}
|
|
29760
29773
|
}, {
|
|
@@ -29767,40 +29780,40 @@ function cov_1ia73x4fw3() {
|
|
|
29767
29780
|
column: undefined
|
|
29768
29781
|
}
|
|
29769
29782
|
}],
|
|
29770
|
-
line:
|
|
29783
|
+
line: 63
|
|
29771
29784
|
},
|
|
29772
29785
|
"8": {
|
|
29773
29786
|
loc: {
|
|
29774
29787
|
start: {
|
|
29775
|
-
line:
|
|
29788
|
+
line: 63,
|
|
29776
29789
|
column: 6
|
|
29777
29790
|
},
|
|
29778
29791
|
end: {
|
|
29779
|
-
line:
|
|
29792
|
+
line: 63,
|
|
29780
29793
|
column: 32
|
|
29781
29794
|
}
|
|
29782
29795
|
},
|
|
29783
29796
|
type: "binary-expr",
|
|
29784
29797
|
locations: [{
|
|
29785
29798
|
start: {
|
|
29786
|
-
line:
|
|
29799
|
+
line: 63,
|
|
29787
29800
|
column: 6
|
|
29788
29801
|
},
|
|
29789
29802
|
end: {
|
|
29790
|
-
line:
|
|
29803
|
+
line: 63,
|
|
29791
29804
|
column: 11
|
|
29792
29805
|
}
|
|
29793
29806
|
}, {
|
|
29794
29807
|
start: {
|
|
29795
|
-
line:
|
|
29808
|
+
line: 63,
|
|
29796
29809
|
column: 15
|
|
29797
29810
|
},
|
|
29798
29811
|
end: {
|
|
29799
|
-
line:
|
|
29812
|
+
line: 63,
|
|
29800
29813
|
column: 32
|
|
29801
29814
|
}
|
|
29802
29815
|
}],
|
|
29803
|
-
line:
|
|
29816
|
+
line: 63
|
|
29804
29817
|
}
|
|
29805
29818
|
},
|
|
29806
29819
|
s: {
|
|
@@ -29851,7 +29864,7 @@ function cov_1ia73x4fw3() {
|
|
|
29851
29864
|
"8": [0, 0]
|
|
29852
29865
|
},
|
|
29853
29866
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
29854
|
-
hash: "
|
|
29867
|
+
hash: "a09f4f3f281a68c5219aa1982a6d83142f7ecb49"
|
|
29855
29868
|
};
|
|
29856
29869
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
29857
29870
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -29898,10 +29911,12 @@ var handleFieldDragEnd = function handleFieldDragEnd(_ref) {
|
|
|
29898
29911
|
cov_1ia73x4fw3().s[7]++;
|
|
29899
29912
|
var createFieldData = function createFieldData(_ref2, isRequired) {
|
|
29900
29913
|
var defaults = _ref2.defaults,
|
|
29901
|
-
type = _ref2.type
|
|
29914
|
+
type = _ref2.type,
|
|
29915
|
+
metadata = _ref2.metadata;
|
|
29902
29916
|
cov_1ia73x4fw3().f[2]++;
|
|
29903
29917
|
cov_1ia73x4fw3().s[8]++;
|
|
29904
29918
|
return _objectSpread$a(_objectSpread$a({}, defaults), {}, {
|
|
29919
|
+
metadata: metadata,
|
|
29905
29920
|
isRequired: isRequired,
|
|
29906
29921
|
kind: type,
|
|
29907
29922
|
nodeId: v4()
|
|
@@ -32003,7 +32018,7 @@ var formValidationSchema = (cov_13igvew484().s[2]++, yup.object().shape({
|
|
|
32003
32018
|
|
|
32004
32019
|
function cov_2nbnnlcv5p() {
|
|
32005
32020
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/index.jsx";
|
|
32006
|
-
var hash = "
|
|
32021
|
+
var hash = "b88e0689ba4e946eb5dc0499c0e2d153481098de";
|
|
32007
32022
|
var global = new Function("return this")();
|
|
32008
32023
|
var gcv = "__coverage__";
|
|
32009
32024
|
var coverageData = {
|
|
@@ -32011,201 +32026,201 @@ function cov_2nbnnlcv5p() {
|
|
|
32011
32026
|
statementMap: {
|
|
32012
32027
|
"0": {
|
|
32013
32028
|
start: {
|
|
32014
|
-
line:
|
|
32029
|
+
line: 17,
|
|
32015
32030
|
column: 18
|
|
32016
32031
|
},
|
|
32017
32032
|
end: {
|
|
32018
|
-
line:
|
|
32033
|
+
line: 140,
|
|
32019
32034
|
column: 1
|
|
32020
32035
|
}
|
|
32021
32036
|
},
|
|
32022
32037
|
"1": {
|
|
32023
32038
|
start: {
|
|
32024
|
-
line:
|
|
32039
|
+
line: 30,
|
|
32025
32040
|
column: 54
|
|
32026
32041
|
},
|
|
32027
32042
|
end: {
|
|
32028
|
-
line:
|
|
32043
|
+
line: 30,
|
|
32029
32044
|
column: 69
|
|
32030
32045
|
}
|
|
32031
32046
|
},
|
|
32032
32047
|
"2": {
|
|
32033
32048
|
start: {
|
|
32034
|
-
line:
|
|
32049
|
+
line: 32,
|
|
32035
32050
|
column: 22
|
|
32036
32051
|
},
|
|
32037
32052
|
end: {
|
|
32038
|
-
line:
|
|
32053
|
+
line: 32,
|
|
32039
32054
|
column: 38
|
|
32040
32055
|
}
|
|
32041
32056
|
},
|
|
32042
32057
|
"3": {
|
|
32043
32058
|
start: {
|
|
32044
|
-
line:
|
|
32059
|
+
line: 34,
|
|
32045
32060
|
column: 43
|
|
32046
32061
|
},
|
|
32047
32062
|
end: {
|
|
32048
|
-
line:
|
|
32063
|
+
line: 39,
|
|
32049
32064
|
column: 4
|
|
32050
32065
|
}
|
|
32051
32066
|
},
|
|
32052
32067
|
"4": {
|
|
32053
32068
|
start: {
|
|
32054
|
-
line:
|
|
32069
|
+
line: 36,
|
|
32055
32070
|
column: 22
|
|
32056
32071
|
},
|
|
32057
32072
|
end: {
|
|
32058
|
-
line:
|
|
32073
|
+
line: 36,
|
|
32059
32074
|
column: 41
|
|
32060
32075
|
}
|
|
32061
32076
|
},
|
|
32062
32077
|
"5": {
|
|
32063
32078
|
start: {
|
|
32064
|
-
line:
|
|
32079
|
+
line: 38,
|
|
32065
32080
|
column: 6
|
|
32066
32081
|
},
|
|
32067
32082
|
end: {
|
|
32068
|
-
line:
|
|
32083
|
+
line: 38,
|
|
32069
32084
|
column: 28
|
|
32070
32085
|
}
|
|
32071
32086
|
},
|
|
32072
32087
|
"6": {
|
|
32073
32088
|
start: {
|
|
32074
|
-
line:
|
|
32089
|
+
line: 47,
|
|
32075
32090
|
column: 6
|
|
32076
32091
|
},
|
|
32077
32092
|
end: {
|
|
32078
|
-
line:
|
|
32093
|
+
line: 65,
|
|
32079
32094
|
column: 4
|
|
32080
32095
|
}
|
|
32081
32096
|
},
|
|
32082
32097
|
"7": {
|
|
32083
32098
|
start: {
|
|
32084
|
-
line:
|
|
32099
|
+
line: 49,
|
|
32085
32100
|
column: 23
|
|
32086
32101
|
},
|
|
32087
32102
|
end: {
|
|
32088
|
-
line:
|
|
32103
|
+
line: 49,
|
|
32089
32104
|
column: 39
|
|
32090
32105
|
}
|
|
32091
32106
|
},
|
|
32092
32107
|
"8": {
|
|
32093
32108
|
start: {
|
|
32094
|
-
line:
|
|
32109
|
+
line: 67,
|
|
32095
32110
|
column: 23
|
|
32096
32111
|
},
|
|
32097
32112
|
end: {
|
|
32098
|
-
line:
|
|
32113
|
+
line: 74,
|
|
32099
32114
|
column: 6
|
|
32100
32115
|
}
|
|
32101
32116
|
},
|
|
32102
32117
|
"9": {
|
|
32103
32118
|
start: {
|
|
32104
|
-
line:
|
|
32119
|
+
line: 68,
|
|
32105
32120
|
column: 4
|
|
32106
32121
|
},
|
|
32107
32122
|
end: {
|
|
32108
|
-
line:
|
|
32123
|
+
line: 74,
|
|
32109
32124
|
column: 6
|
|
32110
32125
|
}
|
|
32111
32126
|
},
|
|
32112
32127
|
"10": {
|
|
32113
32128
|
start: {
|
|
32114
|
-
line:
|
|
32129
|
+
line: 76,
|
|
32115
32130
|
column: 24
|
|
32116
32131
|
},
|
|
32117
32132
|
end: {
|
|
32118
|
-
line:
|
|
32133
|
+
line: 88,
|
|
32119
32134
|
column: 3
|
|
32120
32135
|
}
|
|
32121
32136
|
},
|
|
32122
32137
|
"11": {
|
|
32123
32138
|
start: {
|
|
32124
|
-
line:
|
|
32139
|
+
line: 77,
|
|
32125
32140
|
column: 32
|
|
32126
32141
|
},
|
|
32127
32142
|
end: {
|
|
32128
|
-
line:
|
|
32143
|
+
line: 80,
|
|
32129
32144
|
column: 6
|
|
32130
32145
|
}
|
|
32131
32146
|
},
|
|
32132
32147
|
"12": {
|
|
32133
32148
|
start: {
|
|
32134
|
-
line:
|
|
32149
|
+
line: 82,
|
|
32135
32150
|
column: 4
|
|
32136
32151
|
},
|
|
32137
32152
|
end: {
|
|
32138
|
-
line:
|
|
32153
|
+
line: 87,
|
|
32139
32154
|
column: 5
|
|
32140
32155
|
}
|
|
32141
32156
|
},
|
|
32142
32157
|
"13": {
|
|
32143
32158
|
start: {
|
|
32144
|
-
line:
|
|
32159
|
+
line: 83,
|
|
32145
32160
|
column: 6
|
|
32146
32161
|
},
|
|
32147
32162
|
end: {
|
|
32148
|
-
line:
|
|
32163
|
+
line: 86,
|
|
32149
32164
|
column: 8
|
|
32150
32165
|
}
|
|
32151
32166
|
},
|
|
32152
32167
|
"14": {
|
|
32153
32168
|
start: {
|
|
32154
|
-
line:
|
|
32169
|
+
line: 90,
|
|
32155
32170
|
column: 2
|
|
32156
32171
|
},
|
|
32157
32172
|
end: {
|
|
32158
|
-
line:
|
|
32173
|
+
line: 96,
|
|
32159
32174
|
column: 3
|
|
32160
32175
|
}
|
|
32161
32176
|
},
|
|
32162
32177
|
"15": {
|
|
32163
32178
|
start: {
|
|
32164
|
-
line:
|
|
32179
|
+
line: 91,
|
|
32165
32180
|
column: 4
|
|
32166
32181
|
},
|
|
32167
32182
|
end: {
|
|
32168
|
-
line:
|
|
32183
|
+
line: 95,
|
|
32169
32184
|
column: 6
|
|
32170
32185
|
}
|
|
32171
32186
|
},
|
|
32172
32187
|
"16": {
|
|
32173
32188
|
start: {
|
|
32174
|
-
line:
|
|
32189
|
+
line: 98,
|
|
32175
32190
|
column: 2
|
|
32176
32191
|
},
|
|
32177
32192
|
end: {
|
|
32178
|
-
line:
|
|
32193
|
+
line: 139,
|
|
32179
32194
|
column: 4
|
|
32180
32195
|
}
|
|
32181
32196
|
},
|
|
32182
32197
|
"17": {
|
|
32183
32198
|
start: {
|
|
32184
|
-
line:
|
|
32199
|
+
line: 111,
|
|
32185
32200
|
column: 10
|
|
32186
32201
|
},
|
|
32187
32202
|
end: {
|
|
32188
|
-
line:
|
|
32203
|
+
line: 130,
|
|
32189
32204
|
column: 12
|
|
32190
32205
|
}
|
|
32191
32206
|
},
|
|
32192
32207
|
"18": {
|
|
32193
32208
|
start: {
|
|
32194
|
-
line:
|
|
32209
|
+
line: 126,
|
|
32195
32210
|
column: 14
|
|
32196
32211
|
},
|
|
32197
32212
|
end: {
|
|
32198
|
-
line:
|
|
32213
|
+
line: 128,
|
|
32199
32214
|
column: 15
|
|
32200
32215
|
}
|
|
32201
32216
|
},
|
|
32202
32217
|
"19": {
|
|
32203
32218
|
start: {
|
|
32204
|
-
line:
|
|
32219
|
+
line: 127,
|
|
32205
32220
|
column: 16
|
|
32206
32221
|
},
|
|
32207
32222
|
end: {
|
|
32208
|
-
line:
|
|
32223
|
+
line: 127,
|
|
32209
32224
|
column: 49
|
|
32210
32225
|
}
|
|
32211
32226
|
}
|
|
@@ -32215,359 +32230,383 @@ function cov_2nbnnlcv5p() {
|
|
|
32215
32230
|
name: "(anonymous_0)",
|
|
32216
32231
|
decl: {
|
|
32217
32232
|
start: {
|
|
32218
|
-
line:
|
|
32233
|
+
line: 17,
|
|
32219
32234
|
column: 18
|
|
32220
32235
|
},
|
|
32221
32236
|
end: {
|
|
32222
|
-
line:
|
|
32237
|
+
line: 17,
|
|
32223
32238
|
column: 19
|
|
32224
32239
|
}
|
|
32225
32240
|
},
|
|
32226
32241
|
loc: {
|
|
32227
32242
|
start: {
|
|
32228
|
-
line:
|
|
32243
|
+
line: 29,
|
|
32229
32244
|
column: 6
|
|
32230
32245
|
},
|
|
32231
32246
|
end: {
|
|
32232
|
-
line:
|
|
32247
|
+
line: 140,
|
|
32233
32248
|
column: 1
|
|
32234
32249
|
}
|
|
32235
32250
|
},
|
|
32236
|
-
line:
|
|
32251
|
+
line: 29
|
|
32237
32252
|
},
|
|
32238
32253
|
"1": {
|
|
32239
32254
|
name: "(anonymous_1)",
|
|
32240
32255
|
decl: {
|
|
32241
32256
|
start: {
|
|
32242
|
-
line:
|
|
32257
|
+
line: 36,
|
|
32243
32258
|
column: 13
|
|
32244
32259
|
},
|
|
32245
32260
|
end: {
|
|
32246
|
-
line:
|
|
32261
|
+
line: 36,
|
|
32247
32262
|
column: 14
|
|
32248
32263
|
}
|
|
32249
32264
|
},
|
|
32250
32265
|
loc: {
|
|
32251
32266
|
start: {
|
|
32252
|
-
line:
|
|
32267
|
+
line: 36,
|
|
32253
32268
|
column: 22
|
|
32254
32269
|
},
|
|
32255
32270
|
end: {
|
|
32256
|
-
line:
|
|
32271
|
+
line: 36,
|
|
32257
32272
|
column: 41
|
|
32258
32273
|
}
|
|
32259
32274
|
},
|
|
32260
|
-
line:
|
|
32275
|
+
line: 36
|
|
32261
32276
|
},
|
|
32262
32277
|
"2": {
|
|
32263
32278
|
name: "(anonymous_2)",
|
|
32264
32279
|
decl: {
|
|
32265
32280
|
start: {
|
|
32266
|
-
line:
|
|
32281
|
+
line: 37,
|
|
32267
32282
|
column: 15
|
|
32268
32283
|
},
|
|
32269
32284
|
end: {
|
|
32270
|
-
line:
|
|
32285
|
+
line: 37,
|
|
32271
32286
|
column: 16
|
|
32272
32287
|
}
|
|
32273
32288
|
},
|
|
32274
32289
|
loc: {
|
|
32275
32290
|
start: {
|
|
32276
|
-
line:
|
|
32291
|
+
line: 38,
|
|
32277
32292
|
column: 6
|
|
32278
32293
|
},
|
|
32279
32294
|
end: {
|
|
32280
|
-
line:
|
|
32295
|
+
line: 38,
|
|
32281
32296
|
column: 28
|
|
32282
32297
|
}
|
|
32283
32298
|
},
|
|
32284
|
-
line:
|
|
32299
|
+
line: 38
|
|
32285
32300
|
},
|
|
32286
32301
|
"3": {
|
|
32287
32302
|
name: "(anonymous_3)",
|
|
32288
32303
|
decl: {
|
|
32289
32304
|
start: {
|
|
32290
|
-
line:
|
|
32305
|
+
line: 49,
|
|
32291
32306
|
column: 15
|
|
32292
32307
|
},
|
|
32293
32308
|
end: {
|
|
32294
|
-
line:
|
|
32309
|
+
line: 49,
|
|
32295
32310
|
column: 16
|
|
32296
32311
|
}
|
|
32297
32312
|
},
|
|
32298
32313
|
loc: {
|
|
32299
32314
|
start: {
|
|
32300
|
-
line:
|
|
32315
|
+
line: 49,
|
|
32301
32316
|
column: 23
|
|
32302
32317
|
},
|
|
32303
32318
|
end: {
|
|
32304
|
-
line:
|
|
32319
|
+
line: 49,
|
|
32305
32320
|
column: 39
|
|
32306
32321
|
}
|
|
32307
32322
|
},
|
|
32308
|
-
line:
|
|
32323
|
+
line: 49
|
|
32309
32324
|
},
|
|
32310
32325
|
"4": {
|
|
32311
32326
|
name: "(anonymous_4)",
|
|
32312
32327
|
decl: {
|
|
32313
32328
|
start: {
|
|
32314
|
-
line:
|
|
32329
|
+
line: 67,
|
|
32315
32330
|
column: 23
|
|
32316
32331
|
},
|
|
32317
32332
|
end: {
|
|
32318
|
-
line:
|
|
32333
|
+
line: 67,
|
|
32319
32334
|
column: 24
|
|
32320
32335
|
}
|
|
32321
32336
|
},
|
|
32322
32337
|
loc: {
|
|
32323
32338
|
start: {
|
|
32324
|
-
line:
|
|
32339
|
+
line: 68,
|
|
32325
32340
|
column: 4
|
|
32326
32341
|
},
|
|
32327
32342
|
end: {
|
|
32328
|
-
line:
|
|
32343
|
+
line: 74,
|
|
32329
32344
|
column: 6
|
|
32330
32345
|
}
|
|
32331
32346
|
},
|
|
32332
|
-
line:
|
|
32347
|
+
line: 68
|
|
32333
32348
|
},
|
|
32334
32349
|
"5": {
|
|
32335
32350
|
name: "(anonymous_5)",
|
|
32336
32351
|
decl: {
|
|
32337
32352
|
start: {
|
|
32338
|
-
line:
|
|
32353
|
+
line: 76,
|
|
32339
32354
|
column: 24
|
|
32340
32355
|
},
|
|
32341
32356
|
end: {
|
|
32342
|
-
line:
|
|
32357
|
+
line: 76,
|
|
32343
32358
|
column: 25
|
|
32344
32359
|
}
|
|
32345
32360
|
},
|
|
32346
32361
|
loc: {
|
|
32347
32362
|
start: {
|
|
32348
|
-
line:
|
|
32363
|
+
line: 76,
|
|
32349
32364
|
column: 37
|
|
32350
32365
|
},
|
|
32351
32366
|
end: {
|
|
32352
|
-
line:
|
|
32367
|
+
line: 88,
|
|
32353
32368
|
column: 3
|
|
32354
32369
|
}
|
|
32355
32370
|
},
|
|
32356
|
-
line:
|
|
32371
|
+
line: 76
|
|
32357
32372
|
},
|
|
32358
32373
|
"6": {
|
|
32359
32374
|
name: "(anonymous_6)",
|
|
32360
32375
|
decl: {
|
|
32361
32376
|
start: {
|
|
32362
|
-
line:
|
|
32377
|
+
line: 110,
|
|
32363
32378
|
column: 9
|
|
32364
32379
|
},
|
|
32365
32380
|
end: {
|
|
32366
|
-
line:
|
|
32381
|
+
line: 110,
|
|
32367
32382
|
column: 10
|
|
32368
32383
|
}
|
|
32369
32384
|
},
|
|
32370
32385
|
loc: {
|
|
32371
32386
|
start: {
|
|
32372
|
-
line:
|
|
32387
|
+
line: 111,
|
|
32373
32388
|
column: 10
|
|
32374
32389
|
},
|
|
32375
32390
|
end: {
|
|
32376
|
-
line:
|
|
32391
|
+
line: 130,
|
|
32377
32392
|
column: 12
|
|
32378
32393
|
}
|
|
32379
32394
|
},
|
|
32380
|
-
line:
|
|
32395
|
+
line: 111
|
|
32381
32396
|
},
|
|
32382
32397
|
"7": {
|
|
32383
32398
|
name: "(anonymous_7)",
|
|
32384
32399
|
decl: {
|
|
32385
32400
|
start: {
|
|
32386
|
-
line:
|
|
32401
|
+
line: 125,
|
|
32387
32402
|
column: 22
|
|
32388
32403
|
},
|
|
32389
32404
|
end: {
|
|
32390
|
-
line:
|
|
32405
|
+
line: 125,
|
|
32391
32406
|
column: 23
|
|
32392
32407
|
}
|
|
32393
32408
|
},
|
|
32394
32409
|
loc: {
|
|
32395
32410
|
start: {
|
|
32396
|
-
line:
|
|
32411
|
+
line: 125,
|
|
32397
32412
|
column: 31
|
|
32398
32413
|
},
|
|
32399
32414
|
end: {
|
|
32400
|
-
line:
|
|
32415
|
+
line: 129,
|
|
32401
32416
|
column: 13
|
|
32402
32417
|
}
|
|
32403
32418
|
},
|
|
32404
|
-
line:
|
|
32419
|
+
line: 125
|
|
32405
32420
|
}
|
|
32406
32421
|
},
|
|
32407
32422
|
branchMap: {
|
|
32408
32423
|
"0": {
|
|
32409
32424
|
loc: {
|
|
32410
32425
|
start: {
|
|
32411
|
-
line:
|
|
32426
|
+
line: 21,
|
|
32412
32427
|
column: 2
|
|
32413
32428
|
},
|
|
32414
32429
|
end: {
|
|
32415
|
-
line:
|
|
32430
|
+
line: 21,
|
|
32416
32431
|
column: 31
|
|
32417
32432
|
}
|
|
32418
32433
|
},
|
|
32419
32434
|
type: "default-arg",
|
|
32420
32435
|
locations: [{
|
|
32421
32436
|
start: {
|
|
32422
|
-
line:
|
|
32437
|
+
line: 21,
|
|
32423
32438
|
column: 27
|
|
32424
32439
|
},
|
|
32425
32440
|
end: {
|
|
32426
|
-
line:
|
|
32441
|
+
line: 21,
|
|
32427
32442
|
column: 31
|
|
32428
32443
|
}
|
|
32429
32444
|
}],
|
|
32430
|
-
line:
|
|
32445
|
+
line: 21
|
|
32431
32446
|
},
|
|
32432
32447
|
"1": {
|
|
32433
32448
|
loc: {
|
|
32434
32449
|
start: {
|
|
32435
|
-
line:
|
|
32450
|
+
line: 22,
|
|
32436
32451
|
column: 2
|
|
32437
32452
|
},
|
|
32438
32453
|
end: {
|
|
32439
|
-
line:
|
|
32454
|
+
line: 22,
|
|
32440
32455
|
column: 25
|
|
32441
32456
|
}
|
|
32442
32457
|
},
|
|
32443
32458
|
type: "default-arg",
|
|
32444
32459
|
locations: [{
|
|
32445
32460
|
start: {
|
|
32446
|
-
line:
|
|
32461
|
+
line: 22,
|
|
32447
32462
|
column: 23
|
|
32448
32463
|
},
|
|
32449
32464
|
end: {
|
|
32450
|
-
line:
|
|
32465
|
+
line: 22,
|
|
32451
32466
|
column: 25
|
|
32452
32467
|
}
|
|
32453
32468
|
}],
|
|
32454
|
-
line:
|
|
32469
|
+
line: 22
|
|
32455
32470
|
},
|
|
32456
32471
|
"2": {
|
|
32457
32472
|
loc: {
|
|
32458
32473
|
start: {
|
|
32459
|
-
line:
|
|
32474
|
+
line: 23,
|
|
32460
32475
|
column: 2
|
|
32461
32476
|
},
|
|
32462
32477
|
end: {
|
|
32463
|
-
line:
|
|
32478
|
+
line: 23,
|
|
32464
32479
|
column: 21
|
|
32465
32480
|
}
|
|
32466
32481
|
},
|
|
32467
32482
|
type: "default-arg",
|
|
32468
32483
|
locations: [{
|
|
32469
32484
|
start: {
|
|
32470
|
-
line:
|
|
32485
|
+
line: 23,
|
|
32471
32486
|
column: 19
|
|
32472
32487
|
},
|
|
32473
32488
|
end: {
|
|
32474
|
-
line:
|
|
32489
|
+
line: 23,
|
|
32475
32490
|
column: 21
|
|
32476
32491
|
}
|
|
32477
32492
|
}],
|
|
32478
|
-
line:
|
|
32493
|
+
line: 23
|
|
32479
32494
|
},
|
|
32480
32495
|
"3": {
|
|
32481
32496
|
loc: {
|
|
32482
32497
|
start: {
|
|
32483
|
-
line:
|
|
32498
|
+
line: 25,
|
|
32484
32499
|
column: 2
|
|
32485
32500
|
},
|
|
32486
32501
|
end: {
|
|
32487
|
-
line:
|
|
32502
|
+
line: 25,
|
|
32488
32503
|
column: 24
|
|
32489
32504
|
}
|
|
32490
32505
|
},
|
|
32491
32506
|
type: "default-arg",
|
|
32492
32507
|
locations: [{
|
|
32493
32508
|
start: {
|
|
32494
|
-
line:
|
|
32509
|
+
line: 25,
|
|
32495
32510
|
column: 20
|
|
32496
32511
|
},
|
|
32497
32512
|
end: {
|
|
32498
|
-
line:
|
|
32513
|
+
line: 25,
|
|
32499
32514
|
column: 24
|
|
32500
32515
|
}
|
|
32501
32516
|
}],
|
|
32502
|
-
line:
|
|
32517
|
+
line: 25
|
|
32503
32518
|
},
|
|
32504
32519
|
"4": {
|
|
32505
32520
|
loc: {
|
|
32506
32521
|
start: {
|
|
32507
|
-
line:
|
|
32522
|
+
line: 28,
|
|
32523
|
+
column: 2
|
|
32524
|
+
},
|
|
32525
|
+
end: {
|
|
32526
|
+
line: 28,
|
|
32527
|
+
column: 20
|
|
32528
|
+
}
|
|
32529
|
+
},
|
|
32530
|
+
type: "default-arg",
|
|
32531
|
+
locations: [{
|
|
32532
|
+
start: {
|
|
32533
|
+
line: 28,
|
|
32508
32534
|
column: 18
|
|
32509
32535
|
},
|
|
32510
32536
|
end: {
|
|
32511
|
-
line:
|
|
32537
|
+
line: 28,
|
|
32538
|
+
column: 20
|
|
32539
|
+
}
|
|
32540
|
+
}],
|
|
32541
|
+
line: 28
|
|
32542
|
+
},
|
|
32543
|
+
"5": {
|
|
32544
|
+
loc: {
|
|
32545
|
+
start: {
|
|
32546
|
+
line: 37,
|
|
32547
|
+
column: 18
|
|
32548
|
+
},
|
|
32549
|
+
end: {
|
|
32550
|
+
line: 37,
|
|
32512
32551
|
column: 70
|
|
32513
32552
|
}
|
|
32514
32553
|
},
|
|
32515
32554
|
type: "default-arg",
|
|
32516
32555
|
locations: [{
|
|
32517
32556
|
start: {
|
|
32518
|
-
line:
|
|
32557
|
+
line: 37,
|
|
32519
32558
|
column: 27
|
|
32520
32559
|
},
|
|
32521
32560
|
end: {
|
|
32522
|
-
line:
|
|
32561
|
+
line: 37,
|
|
32523
32562
|
column: 70
|
|
32524
32563
|
}
|
|
32525
32564
|
}],
|
|
32526
|
-
line:
|
|
32565
|
+
line: 37
|
|
32527
32566
|
},
|
|
32528
|
-
"
|
|
32567
|
+
"6": {
|
|
32529
32568
|
loc: {
|
|
32530
32569
|
start: {
|
|
32531
|
-
line:
|
|
32570
|
+
line: 42,
|
|
32532
32571
|
column: 10
|
|
32533
32572
|
},
|
|
32534
32573
|
end: {
|
|
32535
|
-
line:
|
|
32574
|
+
line: 45,
|
|
32536
32575
|
column: 5
|
|
32537
32576
|
}
|
|
32538
32577
|
},
|
|
32539
32578
|
type: "default-arg",
|
|
32540
32579
|
locations: [{
|
|
32541
32580
|
start: {
|
|
32542
|
-
line:
|
|
32581
|
+
line: 42,
|
|
32543
32582
|
column: 46
|
|
32544
32583
|
},
|
|
32545
32584
|
end: {
|
|
32546
|
-
line:
|
|
32585
|
+
line: 45,
|
|
32547
32586
|
column: 5
|
|
32548
32587
|
}
|
|
32549
32588
|
}],
|
|
32550
|
-
line:
|
|
32589
|
+
line: 42
|
|
32551
32590
|
},
|
|
32552
|
-
"
|
|
32591
|
+
"7": {
|
|
32553
32592
|
loc: {
|
|
32554
32593
|
start: {
|
|
32555
|
-
line:
|
|
32594
|
+
line: 82,
|
|
32556
32595
|
column: 4
|
|
32557
32596
|
},
|
|
32558
32597
|
end: {
|
|
32559
|
-
line:
|
|
32598
|
+
line: 87,
|
|
32560
32599
|
column: 5
|
|
32561
32600
|
}
|
|
32562
32601
|
},
|
|
32563
32602
|
type: "if",
|
|
32564
32603
|
locations: [{
|
|
32565
32604
|
start: {
|
|
32566
|
-
line:
|
|
32605
|
+
line: 82,
|
|
32567
32606
|
column: 4
|
|
32568
32607
|
},
|
|
32569
32608
|
end: {
|
|
32570
|
-
line:
|
|
32609
|
+
line: 87,
|
|
32571
32610
|
column: 5
|
|
32572
32611
|
}
|
|
32573
32612
|
}, {
|
|
@@ -32580,27 +32619,27 @@ function cov_2nbnnlcv5p() {
|
|
|
32580
32619
|
column: undefined
|
|
32581
32620
|
}
|
|
32582
32621
|
}],
|
|
32583
|
-
line:
|
|
32622
|
+
line: 82
|
|
32584
32623
|
},
|
|
32585
|
-
"
|
|
32624
|
+
"8": {
|
|
32586
32625
|
loc: {
|
|
32587
32626
|
start: {
|
|
32588
|
-
line:
|
|
32627
|
+
line: 90,
|
|
32589
32628
|
column: 2
|
|
32590
32629
|
},
|
|
32591
32630
|
end: {
|
|
32592
|
-
line:
|
|
32631
|
+
line: 96,
|
|
32593
32632
|
column: 3
|
|
32594
32633
|
}
|
|
32595
32634
|
},
|
|
32596
32635
|
type: "if",
|
|
32597
32636
|
locations: [{
|
|
32598
32637
|
start: {
|
|
32599
|
-
line:
|
|
32638
|
+
line: 90,
|
|
32600
32639
|
column: 2
|
|
32601
32640
|
},
|
|
32602
32641
|
end: {
|
|
32603
|
-
line:
|
|
32642
|
+
line: 96,
|
|
32604
32643
|
column: 3
|
|
32605
32644
|
}
|
|
32606
32645
|
}, {
|
|
@@ -32613,27 +32652,60 @@ function cov_2nbnnlcv5p() {
|
|
|
32613
32652
|
column: undefined
|
|
32614
32653
|
}
|
|
32615
32654
|
}],
|
|
32616
|
-
line:
|
|
32655
|
+
line: 90
|
|
32617
32656
|
},
|
|
32618
|
-
"
|
|
32657
|
+
"9": {
|
|
32619
32658
|
loc: {
|
|
32620
32659
|
start: {
|
|
32621
32660
|
line: 122,
|
|
32622
32661
|
column: 14
|
|
32623
32662
|
},
|
|
32624
32663
|
end: {
|
|
32625
|
-
line:
|
|
32664
|
+
line: 122,
|
|
32665
|
+
column: 71
|
|
32666
|
+
}
|
|
32667
|
+
},
|
|
32668
|
+
type: "cond-expr",
|
|
32669
|
+
locations: [{
|
|
32670
|
+
start: {
|
|
32671
|
+
line: 122,
|
|
32672
|
+
column: 41
|
|
32673
|
+
},
|
|
32674
|
+
end: {
|
|
32675
|
+
line: 122,
|
|
32676
|
+
column: 54
|
|
32677
|
+
}
|
|
32678
|
+
}, {
|
|
32679
|
+
start: {
|
|
32680
|
+
line: 122,
|
|
32681
|
+
column: 57
|
|
32682
|
+
},
|
|
32683
|
+
end: {
|
|
32684
|
+
line: 122,
|
|
32685
|
+
column: 71
|
|
32686
|
+
}
|
|
32687
|
+
}],
|
|
32688
|
+
line: 122
|
|
32689
|
+
},
|
|
32690
|
+
"10": {
|
|
32691
|
+
loc: {
|
|
32692
|
+
start: {
|
|
32693
|
+
line: 126,
|
|
32694
|
+
column: 14
|
|
32695
|
+
},
|
|
32696
|
+
end: {
|
|
32697
|
+
line: 128,
|
|
32626
32698
|
column: 15
|
|
32627
32699
|
}
|
|
32628
32700
|
},
|
|
32629
32701
|
type: "if",
|
|
32630
32702
|
locations: [{
|
|
32631
32703
|
start: {
|
|
32632
|
-
line:
|
|
32704
|
+
line: 126,
|
|
32633
32705
|
column: 14
|
|
32634
32706
|
},
|
|
32635
32707
|
end: {
|
|
32636
|
-
line:
|
|
32708
|
+
line: 128,
|
|
32637
32709
|
column: 15
|
|
32638
32710
|
}
|
|
32639
32711
|
}, {
|
|
@@ -32646,40 +32718,40 @@ function cov_2nbnnlcv5p() {
|
|
|
32646
32718
|
column: undefined
|
|
32647
32719
|
}
|
|
32648
32720
|
}],
|
|
32649
|
-
line:
|
|
32721
|
+
line: 126
|
|
32650
32722
|
},
|
|
32651
|
-
"
|
|
32723
|
+
"11": {
|
|
32652
32724
|
loc: {
|
|
32653
32725
|
start: {
|
|
32654
|
-
line:
|
|
32726
|
+
line: 133,
|
|
32655
32727
|
column: 7
|
|
32656
32728
|
},
|
|
32657
32729
|
end: {
|
|
32658
|
-
line:
|
|
32730
|
+
line: 137,
|
|
32659
32731
|
column: 7
|
|
32660
32732
|
}
|
|
32661
32733
|
},
|
|
32662
32734
|
type: "binary-expr",
|
|
32663
32735
|
locations: [{
|
|
32664
32736
|
start: {
|
|
32665
|
-
line:
|
|
32737
|
+
line: 133,
|
|
32666
32738
|
column: 7
|
|
32667
32739
|
},
|
|
32668
32740
|
end: {
|
|
32669
|
-
line:
|
|
32741
|
+
line: 133,
|
|
32670
32742
|
column: 25
|
|
32671
32743
|
}
|
|
32672
32744
|
}, {
|
|
32673
32745
|
start: {
|
|
32674
|
-
line:
|
|
32746
|
+
line: 134,
|
|
32675
32747
|
column: 8
|
|
32676
32748
|
},
|
|
32677
32749
|
end: {
|
|
32678
|
-
line:
|
|
32750
|
+
line: 136,
|
|
32679
32751
|
column: 14
|
|
32680
32752
|
}
|
|
32681
32753
|
}],
|
|
32682
|
-
line:
|
|
32754
|
+
line: 133
|
|
32683
32755
|
}
|
|
32684
32756
|
},
|
|
32685
32757
|
s: {
|
|
@@ -32721,13 +32793,15 @@ function cov_2nbnnlcv5p() {
|
|
|
32721
32793
|
"3": [0],
|
|
32722
32794
|
"4": [0],
|
|
32723
32795
|
"5": [0],
|
|
32724
|
-
"6": [0
|
|
32796
|
+
"6": [0],
|
|
32725
32797
|
"7": [0, 0],
|
|
32726
32798
|
"8": [0, 0],
|
|
32727
|
-
"9": [0, 0]
|
|
32799
|
+
"9": [0, 0],
|
|
32800
|
+
"10": [0, 0],
|
|
32801
|
+
"11": [0, 0]
|
|
32728
32802
|
},
|
|
32729
32803
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
32730
|
-
hash: "
|
|
32804
|
+
hash: "b88e0689ba4e946eb5dc0499c0e2d153481098de"
|
|
32731
32805
|
};
|
|
32732
32806
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
32733
32807
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -32760,7 +32834,9 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32760
32834
|
_ref$showActionBlock = _ref.showActionBlock,
|
|
32761
32835
|
showActionBlock = _ref$showActionBlock === void 0 ? (cov_2nbnnlcv5p().b[3][0]++, true) : _ref$showActionBlock,
|
|
32762
32836
|
submitButtonProps = _ref.submitButtonProps,
|
|
32763
|
-
cancelButtonProps = _ref.cancelButtonProps
|
|
32837
|
+
cancelButtonProps = _ref.cancelButtonProps,
|
|
32838
|
+
_ref$questionKinds = _ref.questionKinds,
|
|
32839
|
+
questionKinds = _ref$questionKinds === void 0 ? (cov_2nbnnlcv5p().b[4][0]++, []) : _ref$questionKinds;
|
|
32764
32840
|
cov_2nbnnlcv5p().f[0]++;
|
|
32765
32841
|
var _ref2 = (cov_2nbnnlcv5p().s[1]++, React$2.useState(false)),
|
|
32766
32842
|
_ref3 = _slicedToArray$6(_ref2, 2),
|
|
@@ -32776,7 +32852,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32776
32852
|
},
|
|
32777
32853
|
onSuccess: function onSuccess(_ref5) {
|
|
32778
32854
|
var _ref5$notice = _ref5.notice,
|
|
32779
|
-
notice = _ref5$notice === void 0 ? (cov_2nbnnlcv5p().b[
|
|
32855
|
+
notice = _ref5$notice === void 0 ? (cov_2nbnnlcv5p().b[5][0]++, "Questions have been updated successfully!") : _ref5$notice;
|
|
32780
32856
|
cov_2nbnnlcv5p().f[2]++;
|
|
32781
32857
|
cov_2nbnnlcv5p().s[5]++;
|
|
32782
32858
|
return neetoui.Toastr.success(notice);
|
|
@@ -32804,7 +32880,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32804
32880
|
}
|
|
32805
32881
|
})),
|
|
32806
32882
|
_ref6$data = _ref6.data,
|
|
32807
|
-
_ref6$data2 = _ref6$data === void 0 ? (cov_2nbnnlcv5p().b[
|
|
32883
|
+
_ref6$data2 = _ref6$data === void 0 ? (cov_2nbnnlcv5p().b[6][0]++, {
|
|
32808
32884
|
title: "",
|
|
32809
32885
|
questions: []
|
|
32810
32886
|
}) : _ref6$data,
|
|
@@ -32829,22 +32905,22 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32829
32905
|
dataUpdateCount = _ref7.dataUpdateCount;
|
|
32830
32906
|
cov_2nbnnlcv5p().s[12]++;
|
|
32831
32907
|
if (dataUpdateCount > 0) {
|
|
32832
|
-
cov_2nbnnlcv5p().b[
|
|
32908
|
+
cov_2nbnnlcv5p().b[7][0]++;
|
|
32833
32909
|
cov_2nbnnlcv5p().s[13]++;
|
|
32834
32910
|
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], ramda.assoc("questions", questions));
|
|
32835
32911
|
} else {
|
|
32836
|
-
cov_2nbnnlcv5p().b[
|
|
32912
|
+
cov_2nbnnlcv5p().b[7][1]++;
|
|
32837
32913
|
}
|
|
32838
32914
|
};
|
|
32839
32915
|
cov_2nbnnlcv5p().s[14]++;
|
|
32840
32916
|
if (isLoading) {
|
|
32841
|
-
cov_2nbnnlcv5p().b[
|
|
32917
|
+
cov_2nbnnlcv5p().b[8][0]++;
|
|
32842
32918
|
cov_2nbnnlcv5p().s[15]++;
|
|
32843
32919
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32844
32920
|
className: "flex h-full w-full items-center justify-center py-6"
|
|
32845
32921
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
|
|
32846
32922
|
} else {
|
|
32847
|
-
cov_2nbnnlcv5p().b[
|
|
32923
|
+
cov_2nbnnlcv5p().b[8][1]++;
|
|
32848
32924
|
}
|
|
32849
32925
|
cov_2nbnnlcv5p().s[16]++;
|
|
32850
32926
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -32867,26 +32943,26 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
32867
32943
|
cancelButtonProps: cancelButtonProps,
|
|
32868
32944
|
formId: id,
|
|
32869
32945
|
nonRemovableFields: nonRemovableFields,
|
|
32870
|
-
questionKinds: QUESTION_KINDS,
|
|
32871
32946
|
requiredFields: requiredFields,
|
|
32872
32947
|
setShouldValidate: setShouldValidateForm,
|
|
32873
32948
|
showActionBlock: showActionBlock,
|
|
32874
32949
|
showAddQuestionDivider: showAddQuestionDivider,
|
|
32875
32950
|
submitButtonProps: submitButtonProps,
|
|
32951
|
+
questionKinds: pure.isPresent(questionKinds) ? (cov_2nbnnlcv5p().b[9][0]++, questionKinds) : (cov_2nbnnlcv5p().b[9][1]++, QUESTION_KINDS),
|
|
32876
32952
|
onValueChange: onValueChange,
|
|
32877
32953
|
onChange: function onChange(event) {
|
|
32878
32954
|
cov_2nbnnlcv5p().f[7]++;
|
|
32879
32955
|
cov_2nbnnlcv5p().s[18]++;
|
|
32880
32956
|
if (!ramda.isEmpty(errors)) {
|
|
32881
|
-
cov_2nbnnlcv5p().b[
|
|
32957
|
+
cov_2nbnnlcv5p().b[10][0]++;
|
|
32882
32958
|
cov_2nbnnlcv5p().s[19]++;
|
|
32883
32959
|
setFieldError(event.target.name);
|
|
32884
32960
|
} else {
|
|
32885
|
-
cov_2nbnnlcv5p().b[
|
|
32961
|
+
cov_2nbnnlcv5p().b[10][1]++;
|
|
32886
32962
|
}
|
|
32887
32963
|
}
|
|
32888
32964
|
}));
|
|
32889
|
-
}), (cov_2nbnnlcv5p().b[
|
|
32965
|
+
}), (cov_2nbnnlcv5p().b[11][0]++, isQuestionsLoading) && (cov_2nbnnlcv5p().b[11][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32890
32966
|
className: "neeto-ui-bg-gray-100 absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center opacity-75"
|
|
32891
32967
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null))));
|
|
32892
32968
|
};
|