@bigbinary/neeto-form-frontend 1.0.30 → 1.0.31
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 +42 -33
- package/dist/index.cjs.js +1303 -811
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1303 -811
- package/dist/index.js.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -24140,7 +24140,7 @@ var STAR_RATING_ICONS_MAP = (cov_5u7jgeqcn().s[5]++, {
|
|
|
24140
24140
|
|
|
24141
24141
|
function cov_2dmleb6ptc() {
|
|
24142
24142
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Dropdown.jsx";
|
|
24143
|
-
var hash = "
|
|
24143
|
+
var hash = "9926432972dd870e218f292a5e8cf35d8de9ef94";
|
|
24144
24144
|
var global = new Function("return this")();
|
|
24145
24145
|
var gcv = "__coverage__";
|
|
24146
24146
|
var coverageData = {
|
|
@@ -24152,118 +24152,118 @@ function cov_2dmleb6ptc() {
|
|
|
24152
24152
|
column: 17
|
|
24153
24153
|
},
|
|
24154
24154
|
end: {
|
|
24155
|
-
line:
|
|
24155
|
+
line: 111,
|
|
24156
24156
|
column: 1
|
|
24157
24157
|
}
|
|
24158
24158
|
},
|
|
24159
24159
|
"1": {
|
|
24160
24160
|
start: {
|
|
24161
|
-
line:
|
|
24162
|
-
column:
|
|
24161
|
+
line: 21,
|
|
24162
|
+
column: 6
|
|
24163
24163
|
},
|
|
24164
24164
|
end: {
|
|
24165
|
-
line:
|
|
24166
|
-
column:
|
|
24165
|
+
line: 21,
|
|
24166
|
+
column: 10
|
|
24167
24167
|
}
|
|
24168
24168
|
},
|
|
24169
24169
|
"2": {
|
|
24170
24170
|
start: {
|
|
24171
|
-
line:
|
|
24171
|
+
line: 22,
|
|
24172
24172
|
column: 16
|
|
24173
24173
|
},
|
|
24174
24174
|
end: {
|
|
24175
|
-
line:
|
|
24175
|
+
line: 22,
|
|
24176
24176
|
column: 32
|
|
24177
24177
|
}
|
|
24178
24178
|
},
|
|
24179
24179
|
"3": {
|
|
24180
24180
|
start: {
|
|
24181
|
-
line:
|
|
24181
|
+
line: 23,
|
|
24182
24182
|
column: 28
|
|
24183
24183
|
},
|
|
24184
24184
|
end: {
|
|
24185
|
-
line:
|
|
24185
|
+
line: 23,
|
|
24186
24186
|
column: 46
|
|
24187
24187
|
}
|
|
24188
24188
|
},
|
|
24189
24189
|
"4": {
|
|
24190
24190
|
start: {
|
|
24191
|
-
line:
|
|
24191
|
+
line: 25,
|
|
24192
24192
|
column: 29
|
|
24193
24193
|
},
|
|
24194
24194
|
end: {
|
|
24195
|
-
line:
|
|
24195
|
+
line: 28,
|
|
24196
24196
|
column: 3
|
|
24197
24197
|
}
|
|
24198
24198
|
},
|
|
24199
24199
|
"5": {
|
|
24200
24200
|
start: {
|
|
24201
|
-
line:
|
|
24201
|
+
line: 26,
|
|
24202
24202
|
column: 24
|
|
24203
24203
|
},
|
|
24204
24204
|
end: {
|
|
24205
|
-
line:
|
|
24205
|
+
line: 26,
|
|
24206
24206
|
column: 77
|
|
24207
24207
|
}
|
|
24208
24208
|
},
|
|
24209
24209
|
"6": {
|
|
24210
24210
|
start: {
|
|
24211
|
-
line:
|
|
24211
|
+
line: 27,
|
|
24212
24212
|
column: 4
|
|
24213
24213
|
},
|
|
24214
24214
|
end: {
|
|
24215
|
-
line:
|
|
24215
|
+
line: 27,
|
|
24216
24216
|
column: 60
|
|
24217
24217
|
}
|
|
24218
24218
|
},
|
|
24219
24219
|
"7": {
|
|
24220
24220
|
start: {
|
|
24221
|
-
line:
|
|
24221
|
+
line: 30,
|
|
24222
24222
|
column: 2
|
|
24223
24223
|
},
|
|
24224
24224
|
end: {
|
|
24225
|
-
line:
|
|
24225
|
+
line: 110,
|
|
24226
24226
|
column: 4
|
|
24227
24227
|
}
|
|
24228
24228
|
},
|
|
24229
24229
|
"8": {
|
|
24230
24230
|
start: {
|
|
24231
|
-
line:
|
|
24231
|
+
line: 49,
|
|
24232
24232
|
column: 12
|
|
24233
24233
|
},
|
|
24234
24234
|
end: {
|
|
24235
|
-
line:
|
|
24235
|
+
line: 96,
|
|
24236
24236
|
column: 15
|
|
24237
24237
|
}
|
|
24238
24238
|
},
|
|
24239
24239
|
"9": {
|
|
24240
24240
|
start: {
|
|
24241
|
-
line:
|
|
24241
|
+
line: 53,
|
|
24242
24242
|
column: 20
|
|
24243
24243
|
},
|
|
24244
24244
|
end: {
|
|
24245
|
-
line:
|
|
24245
|
+
line: 81,
|
|
24246
24246
|
column: 21
|
|
24247
24247
|
}
|
|
24248
24248
|
},
|
|
24249
24249
|
"10": {
|
|
24250
24250
|
start: {
|
|
24251
|
-
line:
|
|
24252
|
-
column:
|
|
24251
|
+
line: 72,
|
|
24252
|
+
column: 30
|
|
24253
24253
|
},
|
|
24254
24254
|
end: {
|
|
24255
|
-
line:
|
|
24256
|
-
column:
|
|
24255
|
+
line: 75,
|
|
24256
|
+
column: 32
|
|
24257
24257
|
}
|
|
24258
24258
|
},
|
|
24259
24259
|
"11": {
|
|
24260
24260
|
start: {
|
|
24261
|
-
line:
|
|
24262
|
-
column:
|
|
24261
|
+
line: 77,
|
|
24262
|
+
column: 43
|
|
24263
24263
|
},
|
|
24264
24264
|
end: {
|
|
24265
|
-
line:
|
|
24266
|
-
column:
|
|
24265
|
+
line: 77,
|
|
24266
|
+
column: 68
|
|
24267
24267
|
}
|
|
24268
24268
|
}
|
|
24269
24269
|
},
|
|
@@ -24286,7 +24286,7 @@ function cov_2dmleb6ptc() {
|
|
|
24286
24286
|
column: 49
|
|
24287
24287
|
},
|
|
24288
24288
|
end: {
|
|
24289
|
-
line:
|
|
24289
|
+
line: 111,
|
|
24290
24290
|
column: 1
|
|
24291
24291
|
}
|
|
24292
24292
|
},
|
|
@@ -24296,222 +24296,336 @@ function cov_2dmleb6ptc() {
|
|
|
24296
24296
|
name: "(anonymous_1)",
|
|
24297
24297
|
decl: {
|
|
24298
24298
|
start: {
|
|
24299
|
-
line:
|
|
24299
|
+
line: 25,
|
|
24300
24300
|
column: 29
|
|
24301
24301
|
},
|
|
24302
24302
|
end: {
|
|
24303
|
-
line:
|
|
24303
|
+
line: 25,
|
|
24304
24304
|
column: 30
|
|
24305
24305
|
}
|
|
24306
24306
|
},
|
|
24307
24307
|
loc: {
|
|
24308
24308
|
start: {
|
|
24309
|
-
line:
|
|
24309
|
+
line: 25,
|
|
24310
24310
|
column: 38
|
|
24311
24311
|
},
|
|
24312
24312
|
end: {
|
|
24313
|
-
line:
|
|
24313
|
+
line: 28,
|
|
24314
24314
|
column: 3
|
|
24315
24315
|
}
|
|
24316
24316
|
},
|
|
24317
|
-
line:
|
|
24317
|
+
line: 25
|
|
24318
24318
|
},
|
|
24319
24319
|
"2": {
|
|
24320
24320
|
name: "(anonymous_2)",
|
|
24321
24321
|
decl: {
|
|
24322
24322
|
start: {
|
|
24323
|
-
line:
|
|
24323
|
+
line: 48,
|
|
24324
24324
|
column: 11
|
|
24325
24325
|
},
|
|
24326
24326
|
end: {
|
|
24327
|
-
line:
|
|
24327
|
+
line: 48,
|
|
24328
24328
|
column: 12
|
|
24329
24329
|
}
|
|
24330
24330
|
},
|
|
24331
24331
|
loc: {
|
|
24332
24332
|
start: {
|
|
24333
|
-
line:
|
|
24333
|
+
line: 49,
|
|
24334
24334
|
column: 12
|
|
24335
24335
|
},
|
|
24336
24336
|
end: {
|
|
24337
|
-
line:
|
|
24337
|
+
line: 96,
|
|
24338
24338
|
column: 15
|
|
24339
24339
|
}
|
|
24340
24340
|
},
|
|
24341
|
-
line:
|
|
24341
|
+
line: 49
|
|
24342
24342
|
},
|
|
24343
24343
|
"3": {
|
|
24344
24344
|
name: "(anonymous_3)",
|
|
24345
24345
|
decl: {
|
|
24346
24346
|
start: {
|
|
24347
|
-
line:
|
|
24347
|
+
line: 52,
|
|
24348
24348
|
column: 18
|
|
24349
24349
|
},
|
|
24350
24350
|
end: {
|
|
24351
|
-
line:
|
|
24351
|
+
line: 52,
|
|
24352
24352
|
column: 19
|
|
24353
24353
|
}
|
|
24354
24354
|
},
|
|
24355
24355
|
loc: {
|
|
24356
24356
|
start: {
|
|
24357
|
-
line:
|
|
24357
|
+
line: 53,
|
|
24358
24358
|
column: 20
|
|
24359
24359
|
},
|
|
24360
24360
|
end: {
|
|
24361
|
-
line:
|
|
24361
|
+
line: 81,
|
|
24362
24362
|
column: 21
|
|
24363
24363
|
}
|
|
24364
24364
|
},
|
|
24365
|
-
line:
|
|
24365
|
+
line: 53
|
|
24366
24366
|
},
|
|
24367
24367
|
"4": {
|
|
24368
24368
|
name: "(anonymous_4)",
|
|
24369
24369
|
decl: {
|
|
24370
24370
|
start: {
|
|
24371
|
-
line:
|
|
24372
|
-
column:
|
|
24371
|
+
line: 71,
|
|
24372
|
+
column: 34
|
|
24373
24373
|
},
|
|
24374
24374
|
end: {
|
|
24375
|
-
line:
|
|
24376
|
-
column:
|
|
24375
|
+
line: 71,
|
|
24376
|
+
column: 35
|
|
24377
24377
|
}
|
|
24378
24378
|
},
|
|
24379
24379
|
loc: {
|
|
24380
24380
|
start: {
|
|
24381
|
-
line:
|
|
24382
|
-
column:
|
|
24381
|
+
line: 72,
|
|
24382
|
+
column: 30
|
|
24383
24383
|
},
|
|
24384
24384
|
end: {
|
|
24385
|
-
line:
|
|
24386
|
-
column:
|
|
24385
|
+
line: 75,
|
|
24386
|
+
column: 32
|
|
24387
24387
|
}
|
|
24388
24388
|
},
|
|
24389
|
-
line:
|
|
24389
|
+
line: 72
|
|
24390
24390
|
},
|
|
24391
24391
|
"5": {
|
|
24392
24392
|
name: "(anonymous_5)",
|
|
24393
24393
|
decl: {
|
|
24394
24394
|
start: {
|
|
24395
|
-
line:
|
|
24396
|
-
column:
|
|
24395
|
+
line: 77,
|
|
24396
|
+
column: 37
|
|
24397
24397
|
},
|
|
24398
24398
|
end: {
|
|
24399
|
-
line:
|
|
24400
|
-
column:
|
|
24399
|
+
line: 77,
|
|
24400
|
+
column: 38
|
|
24401
24401
|
}
|
|
24402
24402
|
},
|
|
24403
24403
|
loc: {
|
|
24404
24404
|
start: {
|
|
24405
|
-
line:
|
|
24406
|
-
column:
|
|
24405
|
+
line: 77,
|
|
24406
|
+
column: 43
|
|
24407
24407
|
},
|
|
24408
24408
|
end: {
|
|
24409
|
-
line:
|
|
24410
|
-
column:
|
|
24409
|
+
line: 77,
|
|
24410
|
+
column: 68
|
|
24411
24411
|
}
|
|
24412
24412
|
},
|
|
24413
|
-
line:
|
|
24413
|
+
line: 77
|
|
24414
24414
|
}
|
|
24415
24415
|
},
|
|
24416
24416
|
branchMap: {
|
|
24417
24417
|
"0": {
|
|
24418
24418
|
loc: {
|
|
24419
24419
|
start: {
|
|
24420
|
-
line:
|
|
24420
|
+
line: 19,
|
|
24421
|
+
column: 4
|
|
24422
|
+
},
|
|
24423
|
+
end: {
|
|
24424
|
+
line: 19,
|
|
24425
|
+
column: 25
|
|
24426
|
+
}
|
|
24427
|
+
},
|
|
24428
|
+
type: "default-arg",
|
|
24429
|
+
locations: [{
|
|
24430
|
+
start: {
|
|
24431
|
+
line: 19,
|
|
24432
|
+
column: 23
|
|
24433
|
+
},
|
|
24434
|
+
end: {
|
|
24435
|
+
line: 19,
|
|
24436
|
+
column: 25
|
|
24437
|
+
}
|
|
24438
|
+
}],
|
|
24439
|
+
line: 19
|
|
24440
|
+
},
|
|
24441
|
+
"1": {
|
|
24442
|
+
loc: {
|
|
24443
|
+
start: {
|
|
24444
|
+
line: 20,
|
|
24445
|
+
column: 4
|
|
24446
|
+
},
|
|
24447
|
+
end: {
|
|
24448
|
+
line: 20,
|
|
24449
|
+
column: 25
|
|
24450
|
+
}
|
|
24451
|
+
},
|
|
24452
|
+
type: "default-arg",
|
|
24453
|
+
locations: [{
|
|
24454
|
+
start: {
|
|
24455
|
+
line: 20,
|
|
24421
24456
|
column: 20
|
|
24422
24457
|
},
|
|
24423
24458
|
end: {
|
|
24424
|
-
line:
|
|
24459
|
+
line: 20,
|
|
24460
|
+
column: 25
|
|
24461
|
+
}
|
|
24462
|
+
}],
|
|
24463
|
+
line: 20
|
|
24464
|
+
},
|
|
24465
|
+
"2": {
|
|
24466
|
+
loc: {
|
|
24467
|
+
start: {
|
|
24468
|
+
line: 53,
|
|
24469
|
+
column: 20
|
|
24470
|
+
},
|
|
24471
|
+
end: {
|
|
24472
|
+
line: 81,
|
|
24425
24473
|
column: 21
|
|
24426
24474
|
}
|
|
24427
24475
|
},
|
|
24428
24476
|
type: "binary-expr",
|
|
24429
24477
|
locations: [{
|
|
24430
24478
|
start: {
|
|
24431
|
-
line:
|
|
24479
|
+
line: 53,
|
|
24432
24480
|
column: 20
|
|
24433
24481
|
},
|
|
24434
24482
|
end: {
|
|
24435
|
-
line:
|
|
24483
|
+
line: 53,
|
|
24436
24484
|
column: 36
|
|
24437
24485
|
}
|
|
24438
24486
|
}, {
|
|
24439
24487
|
start: {
|
|
24440
|
-
line:
|
|
24488
|
+
line: 54,
|
|
24441
24489
|
column: 22
|
|
24442
24490
|
},
|
|
24443
24491
|
end: {
|
|
24444
|
-
line:
|
|
24492
|
+
line: 80,
|
|
24445
24493
|
column: 28
|
|
24446
24494
|
}
|
|
24447
24495
|
}],
|
|
24448
|
-
line:
|
|
24496
|
+
line: 53
|
|
24449
24497
|
},
|
|
24450
|
-
"
|
|
24498
|
+
"3": {
|
|
24451
24499
|
loc: {
|
|
24452
24500
|
start: {
|
|
24453
|
-
line:
|
|
24501
|
+
line: 56,
|
|
24454
24502
|
column: 48
|
|
24455
24503
|
},
|
|
24456
24504
|
end: {
|
|
24457
|
-
line:
|
|
24505
|
+
line: 56,
|
|
24458
24506
|
column: 66
|
|
24459
24507
|
}
|
|
24460
24508
|
},
|
|
24461
24509
|
type: "binary-expr",
|
|
24462
24510
|
locations: [{
|
|
24463
24511
|
start: {
|
|
24464
|
-
line:
|
|
24512
|
+
line: 56,
|
|
24465
24513
|
column: 48
|
|
24466
24514
|
},
|
|
24467
24515
|
end: {
|
|
24468
|
-
line:
|
|
24516
|
+
line: 56,
|
|
24469
24517
|
column: 57
|
|
24470
24518
|
}
|
|
24471
24519
|
}, {
|
|
24472
24520
|
start: {
|
|
24473
|
-
line:
|
|
24521
|
+
line: 56,
|
|
24474
24522
|
column: 61
|
|
24475
24523
|
},
|
|
24476
24524
|
end: {
|
|
24477
|
-
line:
|
|
24525
|
+
line: 56,
|
|
24478
24526
|
column: 66
|
|
24479
24527
|
}
|
|
24480
24528
|
}],
|
|
24481
|
-
line:
|
|
24529
|
+
line: 56
|
|
24530
|
+
},
|
|
24531
|
+
"4": {
|
|
24532
|
+
loc: {
|
|
24533
|
+
start: {
|
|
24534
|
+
line: 65,
|
|
24535
|
+
column: 25
|
|
24536
|
+
},
|
|
24537
|
+
end: {
|
|
24538
|
+
line: 79,
|
|
24539
|
+
column: 25
|
|
24540
|
+
}
|
|
24541
|
+
},
|
|
24542
|
+
type: "binary-expr",
|
|
24543
|
+
locations: [{
|
|
24544
|
+
start: {
|
|
24545
|
+
line: 65,
|
|
24546
|
+
column: 25
|
|
24547
|
+
},
|
|
24548
|
+
end: {
|
|
24549
|
+
line: 65,
|
|
24550
|
+
column: 39
|
|
24551
|
+
}
|
|
24552
|
+
}, {
|
|
24553
|
+
start: {
|
|
24554
|
+
line: 66,
|
|
24555
|
+
column: 26
|
|
24556
|
+
},
|
|
24557
|
+
end: {
|
|
24558
|
+
line: 78,
|
|
24559
|
+
column: 28
|
|
24560
|
+
}
|
|
24561
|
+
}],
|
|
24562
|
+
line: 65
|
|
24563
|
+
},
|
|
24564
|
+
"5": {
|
|
24565
|
+
loc: {
|
|
24566
|
+
start: {
|
|
24567
|
+
line: 84,
|
|
24568
|
+
column: 15
|
|
24569
|
+
},
|
|
24570
|
+
end: {
|
|
24571
|
+
line: 95,
|
|
24572
|
+
column: 15
|
|
24573
|
+
}
|
|
24574
|
+
},
|
|
24575
|
+
type: "binary-expr",
|
|
24576
|
+
locations: [{
|
|
24577
|
+
start: {
|
|
24578
|
+
line: 84,
|
|
24579
|
+
column: 15
|
|
24580
|
+
},
|
|
24581
|
+
end: {
|
|
24582
|
+
line: 84,
|
|
24583
|
+
column: 29
|
|
24584
|
+
}
|
|
24585
|
+
}, {
|
|
24586
|
+
start: {
|
|
24587
|
+
line: 85,
|
|
24588
|
+
column: 16
|
|
24589
|
+
},
|
|
24590
|
+
end: {
|
|
24591
|
+
line: 94,
|
|
24592
|
+
column: 22
|
|
24593
|
+
}
|
|
24594
|
+
}],
|
|
24595
|
+
line: 84
|
|
24482
24596
|
},
|
|
24483
|
-
"
|
|
24597
|
+
"6": {
|
|
24484
24598
|
loc: {
|
|
24485
24599
|
start: {
|
|
24486
|
-
line:
|
|
24600
|
+
line: 100,
|
|
24487
24601
|
column: 7
|
|
24488
24602
|
},
|
|
24489
24603
|
end: {
|
|
24490
|
-
line:
|
|
24604
|
+
line: 108,
|
|
24491
24605
|
column: 7
|
|
24492
24606
|
}
|
|
24493
24607
|
},
|
|
24494
24608
|
type: "binary-expr",
|
|
24495
24609
|
locations: [{
|
|
24496
24610
|
start: {
|
|
24497
|
-
line:
|
|
24611
|
+
line: 100,
|
|
24498
24612
|
column: 7
|
|
24499
24613
|
},
|
|
24500
24614
|
end: {
|
|
24501
|
-
line:
|
|
24615
|
+
line: 100,
|
|
24502
24616
|
column: 18
|
|
24503
24617
|
}
|
|
24504
24618
|
}, {
|
|
24505
24619
|
start: {
|
|
24506
|
-
line:
|
|
24620
|
+
line: 101,
|
|
24507
24621
|
column: 8
|
|
24508
24622
|
},
|
|
24509
24623
|
end: {
|
|
24510
|
-
line:
|
|
24624
|
+
line: 107,
|
|
24511
24625
|
column: 14
|
|
24512
24626
|
}
|
|
24513
24627
|
}],
|
|
24514
|
-
line:
|
|
24628
|
+
line: 100
|
|
24515
24629
|
}
|
|
24516
24630
|
},
|
|
24517
24631
|
s: {
|
|
@@ -24537,12 +24651,16 @@ function cov_2dmleb6ptc() {
|
|
|
24537
24651
|
"5": 0
|
|
24538
24652
|
},
|
|
24539
24653
|
b: {
|
|
24540
|
-
"0": [0
|
|
24541
|
-
"1": [0
|
|
24542
|
-
"2": [0, 0]
|
|
24654
|
+
"0": [0],
|
|
24655
|
+
"1": [0],
|
|
24656
|
+
"2": [0, 0],
|
|
24657
|
+
"3": [0, 0],
|
|
24658
|
+
"4": [0, 0],
|
|
24659
|
+
"5": [0, 0],
|
|
24660
|
+
"6": [0, 0]
|
|
24543
24661
|
},
|
|
24544
24662
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
24545
|
-
hash: "
|
|
24663
|
+
hash: "9926432972dd870e218f292a5e8cf35d8de9ef94"
|
|
24546
24664
|
};
|
|
24547
24665
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
24548
24666
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -24565,7 +24683,11 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24565
24683
|
isRequired = _ref.isRequired;
|
|
24566
24684
|
cov_2dmleb6ptc().f[0]++;
|
|
24567
24685
|
var _ref2 = (cov_2dmleb6ptc().s[1]++, item),
|
|
24568
|
-
optionsAttributes = _ref2.optionsAttributes
|
|
24686
|
+
optionsAttributes = _ref2.optionsAttributes,
|
|
24687
|
+
_ref2$optionLabelProp = _ref2.optionLabelProps,
|
|
24688
|
+
optionLabelProps = _ref2$optionLabelProp === void 0 ? (cov_2dmleb6ptc().b[0][0]++, {}) : _ref2$optionLabelProp,
|
|
24689
|
+
_ref2$freezeOptions = _ref2.freezeOptions,
|
|
24690
|
+
freezeOptions = _ref2$freezeOptions === void 0 ? (cov_2dmleb6ptc().b[1][0]++, false) : _ref2$freezeOptions;
|
|
24569
24691
|
var _ref3 = (cov_2dmleb6ptc().s[2]++, useTranslation()),
|
|
24570
24692
|
t = _ref3.t;
|
|
24571
24693
|
var _ref4 = (cov_2dmleb6ptc().s[3]++, formik.useFormikContext()),
|
|
@@ -24592,9 +24714,9 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24592
24714
|
})
|
|
24593
24715
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24594
24716
|
className: "w-full"
|
|
24595
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, {
|
|
24717
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, _extends$9({
|
|
24596
24718
|
className: "mb-1 block"
|
|
24597
|
-
}, t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default["default"].createElement(formik.FieldArray, {
|
|
24719
|
+
}, optionLabelProps), t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default["default"].createElement(formik.FieldArray, {
|
|
24598
24720
|
name: "".concat(name, ".optionsAttributes")
|
|
24599
24721
|
}, function (_ref5) {
|
|
24600
24722
|
var handlePush = _ref5.handlePush;
|
|
@@ -24606,13 +24728,14 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24606
24728
|
var _ref6;
|
|
24607
24729
|
cov_2dmleb6ptc().f[3]++;
|
|
24608
24730
|
cov_2dmleb6ptc().s[9]++;
|
|
24609
|
-
return (cov_2dmleb6ptc().b[
|
|
24731
|
+
return (cov_2dmleb6ptc().b[2][0]++, !option._destroy) && (cov_2dmleb6ptc().b[2][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24610
24732
|
className: "flex items-start gap-1",
|
|
24611
|
-
key: "question-option-".concat((_ref6 = (cov_2dmleb6ptc().b[
|
|
24733
|
+
key: "question-option-".concat((_ref6 = (cov_2dmleb6ptc().b[3][0]++, option.id)) !== null && _ref6 !== void 0 ? _ref6 : (cov_2dmleb6ptc().b[3][1]++, index))
|
|
24612
24734
|
}, /*#__PURE__*/React__default["default"].createElement(InputWithMaxLength, {
|
|
24735
|
+
disabled: freezeOptions,
|
|
24613
24736
|
name: "".concat(name, ".optionsAttributes.").concat(index, ".label"),
|
|
24614
24737
|
placeholder: "".concat(t("questions.common.questionFields.field.option"), " ").concat(index + 1)
|
|
24615
|
-
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
24738
|
+
}), (cov_2dmleb6ptc().b[4][0]++, !freezeOptions) && (cov_2dmleb6ptc().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
24616
24739
|
style: "text",
|
|
24617
24740
|
className: classnames__default["default"]({
|
|
24618
24741
|
invisible: index < DROPDOWN_FIELD_MIN_OPTIONS$1
|
|
@@ -24630,8 +24753,8 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24630
24753
|
cov_2dmleb6ptc().s[11]++;
|
|
24631
24754
|
return handleRemoveOption(index);
|
|
24632
24755
|
}
|
|
24633
|
-
})));
|
|
24634
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24756
|
+
}))));
|
|
24757
|
+
})), (cov_2dmleb6ptc().b[5][0]++, !freezeOptions) && (cov_2dmleb6ptc().b[5][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24635
24758
|
className: "mt-3 w-full"
|
|
24636
24759
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
24637
24760
|
icon: neetoIcons.Plus,
|
|
@@ -24642,8 +24765,8 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24642
24765
|
onClick: handlePush({
|
|
24643
24766
|
label: ""
|
|
24644
24767
|
})
|
|
24645
|
-
})));
|
|
24646
|
-
})), (cov_2dmleb6ptc().b[
|
|
24768
|
+
}))));
|
|
24769
|
+
})), (cov_2dmleb6ptc().b[6][0]++, !isRequired) && (cov_2dmleb6ptc().b[6][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24647
24770
|
className: "w-full"
|
|
24648
24771
|
}, /*#__PURE__*/React__default["default"].createElement(formik$1.Checkbox, {
|
|
24649
24772
|
id: "".concat(name, ".isRequired"),
|
|
@@ -24977,7 +25100,7 @@ var LongText$1 = function LongText(_ref) {
|
|
|
24977
25100
|
|
|
24978
25101
|
function cov_ezislrxf8() {
|
|
24979
25102
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/MultipleChoice.jsx";
|
|
24980
|
-
var hash = "
|
|
25103
|
+
var hash = "f398b7e5e94047f87461a57e2caf604e32e36a9d";
|
|
24981
25104
|
var global = new Function("return this")();
|
|
24982
25105
|
var gcv = "__coverage__";
|
|
24983
25106
|
var coverageData = {
|
|
@@ -24989,108 +25112,108 @@ function cov_ezislrxf8() {
|
|
|
24989
25112
|
column: 23
|
|
24990
25113
|
},
|
|
24991
25114
|
end: {
|
|
24992
|
-
line:
|
|
25115
|
+
line: 98,
|
|
24993
25116
|
column: 1
|
|
24994
25117
|
}
|
|
24995
25118
|
},
|
|
24996
25119
|
"1": {
|
|
24997
25120
|
start: {
|
|
24998
|
-
line:
|
|
24999
|
-
column:
|
|
25121
|
+
line: 19,
|
|
25122
|
+
column: 6
|
|
25000
25123
|
},
|
|
25001
25124
|
end: {
|
|
25002
|
-
line:
|
|
25003
|
-
column:
|
|
25125
|
+
line: 19,
|
|
25126
|
+
column: 10
|
|
25004
25127
|
}
|
|
25005
25128
|
},
|
|
25006
25129
|
"2": {
|
|
25007
25130
|
start: {
|
|
25008
|
-
line:
|
|
25131
|
+
line: 20,
|
|
25009
25132
|
column: 16
|
|
25010
25133
|
},
|
|
25011
25134
|
end: {
|
|
25012
|
-
line:
|
|
25135
|
+
line: 20,
|
|
25013
25136
|
column: 32
|
|
25014
25137
|
}
|
|
25015
25138
|
},
|
|
25016
25139
|
"3": {
|
|
25017
25140
|
start: {
|
|
25018
|
-
line:
|
|
25141
|
+
line: 21,
|
|
25019
25142
|
column: 28
|
|
25020
25143
|
},
|
|
25021
25144
|
end: {
|
|
25022
|
-
line:
|
|
25145
|
+
line: 21,
|
|
25023
25146
|
column: 46
|
|
25024
25147
|
}
|
|
25025
25148
|
},
|
|
25026
25149
|
"4": {
|
|
25027
25150
|
start: {
|
|
25028
|
-
line:
|
|
25151
|
+
line: 23,
|
|
25029
25152
|
column: 29
|
|
25030
25153
|
},
|
|
25031
25154
|
end: {
|
|
25032
|
-
line:
|
|
25155
|
+
line: 26,
|
|
25033
25156
|
column: 3
|
|
25034
25157
|
}
|
|
25035
25158
|
},
|
|
25036
25159
|
"5": {
|
|
25037
25160
|
start: {
|
|
25038
|
-
line:
|
|
25161
|
+
line: 24,
|
|
25039
25162
|
column: 24
|
|
25040
25163
|
},
|
|
25041
25164
|
end: {
|
|
25042
|
-
line:
|
|
25165
|
+
line: 24,
|
|
25043
25166
|
column: 77
|
|
25044
25167
|
}
|
|
25045
25168
|
},
|
|
25046
25169
|
"6": {
|
|
25047
25170
|
start: {
|
|
25048
|
-
line:
|
|
25171
|
+
line: 25,
|
|
25049
25172
|
column: 4
|
|
25050
25173
|
},
|
|
25051
25174
|
end: {
|
|
25052
|
-
line:
|
|
25175
|
+
line: 25,
|
|
25053
25176
|
column: 60
|
|
25054
25177
|
}
|
|
25055
25178
|
},
|
|
25056
25179
|
"7": {
|
|
25057
25180
|
start: {
|
|
25058
|
-
line:
|
|
25181
|
+
line: 28,
|
|
25059
25182
|
column: 2
|
|
25060
25183
|
},
|
|
25061
25184
|
end: {
|
|
25062
|
-
line:
|
|
25185
|
+
line: 97,
|
|
25063
25186
|
column: 4
|
|
25064
25187
|
}
|
|
25065
25188
|
},
|
|
25066
25189
|
"8": {
|
|
25067
25190
|
start: {
|
|
25068
|
-
line:
|
|
25191
|
+
line: 41,
|
|
25069
25192
|
column: 12
|
|
25070
25193
|
},
|
|
25071
25194
|
end: {
|
|
25072
|
-
line:
|
|
25195
|
+
line: 83,
|
|
25073
25196
|
column: 15
|
|
25074
25197
|
}
|
|
25075
25198
|
},
|
|
25076
25199
|
"9": {
|
|
25077
25200
|
start: {
|
|
25078
|
-
line:
|
|
25201
|
+
line: 48,
|
|
25079
25202
|
column: 20
|
|
25080
25203
|
},
|
|
25081
25204
|
end: {
|
|
25082
|
-
line:
|
|
25205
|
+
line: 68,
|
|
25083
25206
|
column: 21
|
|
25084
25207
|
}
|
|
25085
25208
|
},
|
|
25086
25209
|
"10": {
|
|
25087
25210
|
start: {
|
|
25088
|
-
line:
|
|
25089
|
-
column:
|
|
25211
|
+
line: 64,
|
|
25212
|
+
column: 43
|
|
25090
25213
|
},
|
|
25091
25214
|
end: {
|
|
25092
|
-
line:
|
|
25093
|
-
column:
|
|
25215
|
+
line: 64,
|
|
25216
|
+
column: 68
|
|
25094
25217
|
}
|
|
25095
25218
|
}
|
|
25096
25219
|
},
|
|
@@ -25113,7 +25236,7 @@ function cov_ezislrxf8() {
|
|
|
25113
25236
|
column: 55
|
|
25114
25237
|
},
|
|
25115
25238
|
end: {
|
|
25116
|
-
line:
|
|
25239
|
+
line: 98,
|
|
25117
25240
|
column: 1
|
|
25118
25241
|
}
|
|
25119
25242
|
},
|
|
@@ -25123,198 +25246,312 @@ function cov_ezislrxf8() {
|
|
|
25123
25246
|
name: "(anonymous_1)",
|
|
25124
25247
|
decl: {
|
|
25125
25248
|
start: {
|
|
25126
|
-
line:
|
|
25249
|
+
line: 23,
|
|
25127
25250
|
column: 29
|
|
25128
25251
|
},
|
|
25129
25252
|
end: {
|
|
25130
|
-
line:
|
|
25253
|
+
line: 23,
|
|
25131
25254
|
column: 30
|
|
25132
25255
|
}
|
|
25133
25256
|
},
|
|
25134
25257
|
loc: {
|
|
25135
25258
|
start: {
|
|
25136
|
-
line:
|
|
25259
|
+
line: 23,
|
|
25137
25260
|
column: 38
|
|
25138
25261
|
},
|
|
25139
25262
|
end: {
|
|
25140
|
-
line:
|
|
25263
|
+
line: 26,
|
|
25141
25264
|
column: 3
|
|
25142
25265
|
}
|
|
25143
25266
|
},
|
|
25144
|
-
line:
|
|
25267
|
+
line: 23
|
|
25145
25268
|
},
|
|
25146
25269
|
"2": {
|
|
25147
25270
|
name: "(anonymous_2)",
|
|
25148
25271
|
decl: {
|
|
25149
25272
|
start: {
|
|
25150
|
-
line:
|
|
25273
|
+
line: 40,
|
|
25151
25274
|
column: 11
|
|
25152
25275
|
},
|
|
25153
25276
|
end: {
|
|
25154
|
-
line:
|
|
25277
|
+
line: 40,
|
|
25155
25278
|
column: 12
|
|
25156
25279
|
}
|
|
25157
25280
|
},
|
|
25158
25281
|
loc: {
|
|
25159
25282
|
start: {
|
|
25160
|
-
line:
|
|
25283
|
+
line: 41,
|
|
25161
25284
|
column: 12
|
|
25162
25285
|
},
|
|
25163
25286
|
end: {
|
|
25164
|
-
line:
|
|
25287
|
+
line: 83,
|
|
25165
25288
|
column: 15
|
|
25166
25289
|
}
|
|
25167
25290
|
},
|
|
25168
|
-
line:
|
|
25291
|
+
line: 41
|
|
25169
25292
|
},
|
|
25170
25293
|
"3": {
|
|
25171
25294
|
name: "(anonymous_3)",
|
|
25172
25295
|
decl: {
|
|
25173
25296
|
start: {
|
|
25174
|
-
line:
|
|
25297
|
+
line: 47,
|
|
25175
25298
|
column: 18
|
|
25176
25299
|
},
|
|
25177
25300
|
end: {
|
|
25178
|
-
line:
|
|
25301
|
+
line: 47,
|
|
25179
25302
|
column: 19
|
|
25180
25303
|
}
|
|
25181
25304
|
},
|
|
25182
25305
|
loc: {
|
|
25183
25306
|
start: {
|
|
25184
|
-
line:
|
|
25307
|
+
line: 48,
|
|
25185
25308
|
column: 20
|
|
25186
25309
|
},
|
|
25187
25310
|
end: {
|
|
25188
|
-
line:
|
|
25311
|
+
line: 68,
|
|
25189
25312
|
column: 21
|
|
25190
25313
|
}
|
|
25191
25314
|
},
|
|
25192
|
-
line:
|
|
25315
|
+
line: 48
|
|
25193
25316
|
},
|
|
25194
25317
|
"4": {
|
|
25195
25318
|
name: "(anonymous_4)",
|
|
25196
25319
|
decl: {
|
|
25197
25320
|
start: {
|
|
25198
|
-
line:
|
|
25199
|
-
column:
|
|
25321
|
+
line: 64,
|
|
25322
|
+
column: 37
|
|
25200
25323
|
},
|
|
25201
25324
|
end: {
|
|
25202
|
-
line:
|
|
25203
|
-
column:
|
|
25325
|
+
line: 64,
|
|
25326
|
+
column: 38
|
|
25204
25327
|
}
|
|
25205
25328
|
},
|
|
25206
25329
|
loc: {
|
|
25207
25330
|
start: {
|
|
25208
|
-
line:
|
|
25209
|
-
column:
|
|
25331
|
+
line: 64,
|
|
25332
|
+
column: 43
|
|
25210
25333
|
},
|
|
25211
25334
|
end: {
|
|
25212
|
-
line:
|
|
25213
|
-
column:
|
|
25335
|
+
line: 64,
|
|
25336
|
+
column: 68
|
|
25214
25337
|
}
|
|
25215
25338
|
},
|
|
25216
|
-
line:
|
|
25339
|
+
line: 64
|
|
25217
25340
|
}
|
|
25218
25341
|
},
|
|
25219
25342
|
branchMap: {
|
|
25220
25343
|
"0": {
|
|
25221
25344
|
loc: {
|
|
25222
25345
|
start: {
|
|
25223
|
-
line:
|
|
25346
|
+
line: 17,
|
|
25347
|
+
column: 4
|
|
25348
|
+
},
|
|
25349
|
+
end: {
|
|
25350
|
+
line: 17,
|
|
25351
|
+
column: 25
|
|
25352
|
+
}
|
|
25353
|
+
},
|
|
25354
|
+
type: "default-arg",
|
|
25355
|
+
locations: [{
|
|
25356
|
+
start: {
|
|
25357
|
+
line: 17,
|
|
25358
|
+
column: 23
|
|
25359
|
+
},
|
|
25360
|
+
end: {
|
|
25361
|
+
line: 17,
|
|
25362
|
+
column: 25
|
|
25363
|
+
}
|
|
25364
|
+
}],
|
|
25365
|
+
line: 17
|
|
25366
|
+
},
|
|
25367
|
+
"1": {
|
|
25368
|
+
loc: {
|
|
25369
|
+
start: {
|
|
25370
|
+
line: 18,
|
|
25371
|
+
column: 4
|
|
25372
|
+
},
|
|
25373
|
+
end: {
|
|
25374
|
+
line: 18,
|
|
25375
|
+
column: 25
|
|
25376
|
+
}
|
|
25377
|
+
},
|
|
25378
|
+
type: "default-arg",
|
|
25379
|
+
locations: [{
|
|
25380
|
+
start: {
|
|
25381
|
+
line: 18,
|
|
25224
25382
|
column: 20
|
|
25225
25383
|
},
|
|
25226
25384
|
end: {
|
|
25227
|
-
line:
|
|
25385
|
+
line: 18,
|
|
25386
|
+
column: 25
|
|
25387
|
+
}
|
|
25388
|
+
}],
|
|
25389
|
+
line: 18
|
|
25390
|
+
},
|
|
25391
|
+
"2": {
|
|
25392
|
+
loc: {
|
|
25393
|
+
start: {
|
|
25394
|
+
line: 48,
|
|
25395
|
+
column: 20
|
|
25396
|
+
},
|
|
25397
|
+
end: {
|
|
25398
|
+
line: 68,
|
|
25228
25399
|
column: 21
|
|
25229
25400
|
}
|
|
25230
25401
|
},
|
|
25231
25402
|
type: "binary-expr",
|
|
25232
25403
|
locations: [{
|
|
25233
25404
|
start: {
|
|
25234
|
-
line:
|
|
25405
|
+
line: 48,
|
|
25235
25406
|
column: 20
|
|
25236
25407
|
},
|
|
25237
25408
|
end: {
|
|
25238
|
-
line:
|
|
25409
|
+
line: 48,
|
|
25239
25410
|
column: 36
|
|
25240
25411
|
}
|
|
25241
25412
|
}, {
|
|
25242
25413
|
start: {
|
|
25243
|
-
line:
|
|
25414
|
+
line: 49,
|
|
25244
25415
|
column: 22
|
|
25245
25416
|
},
|
|
25246
25417
|
end: {
|
|
25247
|
-
line:
|
|
25418
|
+
line: 67,
|
|
25419
|
+
column: 28
|
|
25420
|
+
}
|
|
25421
|
+
}],
|
|
25422
|
+
line: 48
|
|
25423
|
+
},
|
|
25424
|
+
"3": {
|
|
25425
|
+
loc: {
|
|
25426
|
+
start: {
|
|
25427
|
+
line: 51,
|
|
25428
|
+
column: 48
|
|
25429
|
+
},
|
|
25430
|
+
end: {
|
|
25431
|
+
line: 51,
|
|
25432
|
+
column: 66
|
|
25433
|
+
}
|
|
25434
|
+
},
|
|
25435
|
+
type: "binary-expr",
|
|
25436
|
+
locations: [{
|
|
25437
|
+
start: {
|
|
25438
|
+
line: 51,
|
|
25439
|
+
column: 48
|
|
25440
|
+
},
|
|
25441
|
+
end: {
|
|
25442
|
+
line: 51,
|
|
25443
|
+
column: 57
|
|
25444
|
+
}
|
|
25445
|
+
}, {
|
|
25446
|
+
start: {
|
|
25447
|
+
line: 51,
|
|
25448
|
+
column: 61
|
|
25449
|
+
},
|
|
25450
|
+
end: {
|
|
25451
|
+
line: 51,
|
|
25452
|
+
column: 66
|
|
25453
|
+
}
|
|
25454
|
+
}],
|
|
25455
|
+
line: 51
|
|
25456
|
+
},
|
|
25457
|
+
"4": {
|
|
25458
|
+
loc: {
|
|
25459
|
+
start: {
|
|
25460
|
+
line: 58,
|
|
25461
|
+
column: 25
|
|
25462
|
+
},
|
|
25463
|
+
end: {
|
|
25464
|
+
line: 66,
|
|
25465
|
+
column: 25
|
|
25466
|
+
}
|
|
25467
|
+
},
|
|
25468
|
+
type: "binary-expr",
|
|
25469
|
+
locations: [{
|
|
25470
|
+
start: {
|
|
25471
|
+
line: 58,
|
|
25472
|
+
column: 25
|
|
25473
|
+
},
|
|
25474
|
+
end: {
|
|
25475
|
+
line: 58,
|
|
25476
|
+
column: 39
|
|
25477
|
+
}
|
|
25478
|
+
}, {
|
|
25479
|
+
start: {
|
|
25480
|
+
line: 59,
|
|
25481
|
+
column: 26
|
|
25482
|
+
},
|
|
25483
|
+
end: {
|
|
25484
|
+
line: 65,
|
|
25248
25485
|
column: 28
|
|
25249
25486
|
}
|
|
25250
25487
|
}],
|
|
25251
|
-
line:
|
|
25488
|
+
line: 58
|
|
25252
25489
|
},
|
|
25253
|
-
"
|
|
25490
|
+
"5": {
|
|
25254
25491
|
loc: {
|
|
25255
25492
|
start: {
|
|
25256
|
-
line:
|
|
25257
|
-
column:
|
|
25493
|
+
line: 71,
|
|
25494
|
+
column: 15
|
|
25258
25495
|
},
|
|
25259
25496
|
end: {
|
|
25260
|
-
line:
|
|
25261
|
-
column:
|
|
25497
|
+
line: 82,
|
|
25498
|
+
column: 15
|
|
25262
25499
|
}
|
|
25263
25500
|
},
|
|
25264
25501
|
type: "binary-expr",
|
|
25265
25502
|
locations: [{
|
|
25266
25503
|
start: {
|
|
25267
|
-
line:
|
|
25268
|
-
column:
|
|
25504
|
+
line: 71,
|
|
25505
|
+
column: 15
|
|
25269
25506
|
},
|
|
25270
25507
|
end: {
|
|
25271
|
-
line:
|
|
25272
|
-
column:
|
|
25508
|
+
line: 71,
|
|
25509
|
+
column: 29
|
|
25273
25510
|
}
|
|
25274
25511
|
}, {
|
|
25275
25512
|
start: {
|
|
25276
|
-
line:
|
|
25277
|
-
column:
|
|
25513
|
+
line: 72,
|
|
25514
|
+
column: 16
|
|
25278
25515
|
},
|
|
25279
25516
|
end: {
|
|
25280
|
-
line:
|
|
25281
|
-
column:
|
|
25517
|
+
line: 81,
|
|
25518
|
+
column: 22
|
|
25282
25519
|
}
|
|
25283
25520
|
}],
|
|
25284
|
-
line:
|
|
25521
|
+
line: 71
|
|
25285
25522
|
},
|
|
25286
|
-
"
|
|
25523
|
+
"6": {
|
|
25287
25524
|
loc: {
|
|
25288
25525
|
start: {
|
|
25289
|
-
line:
|
|
25526
|
+
line: 87,
|
|
25290
25527
|
column: 7
|
|
25291
25528
|
},
|
|
25292
25529
|
end: {
|
|
25293
|
-
line:
|
|
25530
|
+
line: 95,
|
|
25294
25531
|
column: 7
|
|
25295
25532
|
}
|
|
25296
25533
|
},
|
|
25297
25534
|
type: "binary-expr",
|
|
25298
25535
|
locations: [{
|
|
25299
25536
|
start: {
|
|
25300
|
-
line:
|
|
25537
|
+
line: 87,
|
|
25301
25538
|
column: 7
|
|
25302
25539
|
},
|
|
25303
25540
|
end: {
|
|
25304
|
-
line:
|
|
25541
|
+
line: 87,
|
|
25305
25542
|
column: 18
|
|
25306
25543
|
}
|
|
25307
25544
|
}, {
|
|
25308
25545
|
start: {
|
|
25309
|
-
line:
|
|
25546
|
+
line: 88,
|
|
25310
25547
|
column: 8
|
|
25311
25548
|
},
|
|
25312
25549
|
end: {
|
|
25313
|
-
line:
|
|
25550
|
+
line: 94,
|
|
25314
25551
|
column: 14
|
|
25315
25552
|
}
|
|
25316
25553
|
}],
|
|
25317
|
-
line:
|
|
25554
|
+
line: 87
|
|
25318
25555
|
}
|
|
25319
25556
|
},
|
|
25320
25557
|
s: {
|
|
@@ -25338,12 +25575,16 @@ function cov_ezislrxf8() {
|
|
|
25338
25575
|
"4": 0
|
|
25339
25576
|
},
|
|
25340
25577
|
b: {
|
|
25341
|
-
"0": [0
|
|
25342
|
-
"1": [0
|
|
25343
|
-
"2": [0, 0]
|
|
25578
|
+
"0": [0],
|
|
25579
|
+
"1": [0],
|
|
25580
|
+
"2": [0, 0],
|
|
25581
|
+
"3": [0, 0],
|
|
25582
|
+
"4": [0, 0],
|
|
25583
|
+
"5": [0, 0],
|
|
25584
|
+
"6": [0, 0]
|
|
25344
25585
|
},
|
|
25345
25586
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
25346
|
-
hash: "
|
|
25587
|
+
hash: "f398b7e5e94047f87461a57e2caf604e32e36a9d"
|
|
25347
25588
|
};
|
|
25348
25589
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
25349
25590
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -25366,7 +25607,11 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25366
25607
|
isRequired = _ref.isRequired;
|
|
25367
25608
|
cov_ezislrxf8().f[0]++;
|
|
25368
25609
|
var _ref2 = (cov_ezislrxf8().s[1]++, item),
|
|
25369
|
-
optionsAttributes = _ref2.optionsAttributes
|
|
25610
|
+
optionsAttributes = _ref2.optionsAttributes,
|
|
25611
|
+
_ref2$optionLabelProp = _ref2.optionLabelProps,
|
|
25612
|
+
optionLabelProps = _ref2$optionLabelProp === void 0 ? (cov_ezislrxf8().b[0][0]++, {}) : _ref2$optionLabelProp,
|
|
25613
|
+
_ref2$freezeOptions = _ref2.freezeOptions,
|
|
25614
|
+
freezeOptions = _ref2$freezeOptions === void 0 ? (cov_ezislrxf8().b[1][0]++, false) : _ref2$freezeOptions;
|
|
25370
25615
|
var _ref3 = (cov_ezislrxf8().s[2]++, useTranslation()),
|
|
25371
25616
|
t = _ref3.t;
|
|
25372
25617
|
var _ref4 = (cov_ezislrxf8().s[3]++, formik.useFormikContext()),
|
|
@@ -25396,21 +25641,22 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25396
25641
|
var handlePush = _ref5.handlePush;
|
|
25397
25642
|
cov_ezislrxf8().f[2]++;
|
|
25398
25643
|
cov_ezislrxf8().s[8]++;
|
|
25399
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, {
|
|
25644
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, _extends$9({
|
|
25400
25645
|
className: "mb-1 block"
|
|
25401
|
-
}, t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25646
|
+
}, optionLabelProps), t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25402
25647
|
className: "flex w-2/3 flex-col space-y-2"
|
|
25403
25648
|
}, optionsAttributes.map(function (option, index) {
|
|
25404
25649
|
var _ref6;
|
|
25405
25650
|
cov_ezislrxf8().f[3]++;
|
|
25406
25651
|
cov_ezislrxf8().s[9]++;
|
|
25407
|
-
return (cov_ezislrxf8().b[
|
|
25652
|
+
return (cov_ezislrxf8().b[2][0]++, !option._destroy) && (cov_ezislrxf8().b[2][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25408
25653
|
className: "flex items-start gap-1",
|
|
25409
|
-
key: "question-option-".concat((_ref6 = (cov_ezislrxf8().b[
|
|
25654
|
+
key: "question-option-".concat((_ref6 = (cov_ezislrxf8().b[3][0]++, option.id)) !== null && _ref6 !== void 0 ? _ref6 : (cov_ezislrxf8().b[3][1]++, index))
|
|
25410
25655
|
}, /*#__PURE__*/React__default["default"].createElement(InputWithMaxLength, {
|
|
25411
25656
|
required: true,
|
|
25657
|
+
disabled: freezeOptions,
|
|
25412
25658
|
name: "".concat(name, ".optionsAttributes.").concat(index, ".label")
|
|
25413
|
-
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
25659
|
+
}), (cov_ezislrxf8().b[4][0]++, !freezeOptions) && (cov_ezislrxf8().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
25414
25660
|
className: classnames__default["default"]({
|
|
25415
25661
|
invisible: index === 0
|
|
25416
25662
|
}),
|
|
@@ -25422,8 +25668,8 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25422
25668
|
cov_ezislrxf8().s[10]++;
|
|
25423
25669
|
return handleRemoveOption(index);
|
|
25424
25670
|
}
|
|
25425
|
-
})));
|
|
25426
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25671
|
+
}))));
|
|
25672
|
+
})), (cov_ezislrxf8().b[5][0]++, !freezeOptions) && (cov_ezislrxf8().b[5][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25427
25673
|
className: "mt-3 w-full"
|
|
25428
25674
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
25429
25675
|
icon: neetoIcons.Plus,
|
|
@@ -25434,8 +25680,8 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25434
25680
|
onClick: handlePush({
|
|
25435
25681
|
label: ""
|
|
25436
25682
|
})
|
|
25437
|
-
})));
|
|
25438
|
-
})), (cov_ezislrxf8().b[
|
|
25683
|
+
}))));
|
|
25684
|
+
})), (cov_ezislrxf8().b[6][0]++, !isRequired) && (cov_ezislrxf8().b[6][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25439
25685
|
className: "w-full"
|
|
25440
25686
|
}, /*#__PURE__*/React__default["default"].createElement(formik$1.Checkbox, {
|
|
25441
25687
|
id: "".concat(name, ".isRequired"),
|
|
@@ -25999,7 +26245,7 @@ var ShortText$1 = function ShortText(_ref) {
|
|
|
25999
26245
|
|
|
26000
26246
|
function cov_1p625a7ih4() {
|
|
26001
26247
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/SingleChoice.jsx";
|
|
26002
|
-
var hash = "
|
|
26248
|
+
var hash = "1011b25909b9c73b64080f90fa78d81fed144c14";
|
|
26003
26249
|
var global = new Function("return this")();
|
|
26004
26250
|
var gcv = "__coverage__";
|
|
26005
26251
|
var coverageData = {
|
|
@@ -26011,108 +26257,108 @@ function cov_1p625a7ih4() {
|
|
|
26011
26257
|
column: 21
|
|
26012
26258
|
},
|
|
26013
26259
|
end: {
|
|
26014
|
-
line:
|
|
26260
|
+
line: 106,
|
|
26015
26261
|
column: 1
|
|
26016
26262
|
}
|
|
26017
26263
|
},
|
|
26018
26264
|
"1": {
|
|
26019
26265
|
start: {
|
|
26020
|
-
line:
|
|
26021
|
-
column:
|
|
26266
|
+
line: 21,
|
|
26267
|
+
column: 6
|
|
26022
26268
|
},
|
|
26023
26269
|
end: {
|
|
26024
|
-
line:
|
|
26025
|
-
column:
|
|
26270
|
+
line: 21,
|
|
26271
|
+
column: 10
|
|
26026
26272
|
}
|
|
26027
26273
|
},
|
|
26028
26274
|
"2": {
|
|
26029
26275
|
start: {
|
|
26030
|
-
line:
|
|
26276
|
+
line: 22,
|
|
26031
26277
|
column: 16
|
|
26032
26278
|
},
|
|
26033
26279
|
end: {
|
|
26034
|
-
line:
|
|
26280
|
+
line: 22,
|
|
26035
26281
|
column: 32
|
|
26036
26282
|
}
|
|
26037
26283
|
},
|
|
26038
26284
|
"3": {
|
|
26039
26285
|
start: {
|
|
26040
|
-
line:
|
|
26286
|
+
line: 24,
|
|
26041
26287
|
column: 28
|
|
26042
26288
|
},
|
|
26043
26289
|
end: {
|
|
26044
|
-
line:
|
|
26290
|
+
line: 24,
|
|
26045
26291
|
column: 46
|
|
26046
26292
|
}
|
|
26047
26293
|
},
|
|
26048
26294
|
"4": {
|
|
26049
26295
|
start: {
|
|
26050
|
-
line:
|
|
26296
|
+
line: 26,
|
|
26051
26297
|
column: 29
|
|
26052
26298
|
},
|
|
26053
26299
|
end: {
|
|
26054
|
-
line:
|
|
26300
|
+
line: 29,
|
|
26055
26301
|
column: 3
|
|
26056
26302
|
}
|
|
26057
26303
|
},
|
|
26058
26304
|
"5": {
|
|
26059
26305
|
start: {
|
|
26060
|
-
line:
|
|
26306
|
+
line: 27,
|
|
26061
26307
|
column: 24
|
|
26062
26308
|
},
|
|
26063
26309
|
end: {
|
|
26064
|
-
line:
|
|
26310
|
+
line: 27,
|
|
26065
26311
|
column: 77
|
|
26066
26312
|
}
|
|
26067
26313
|
},
|
|
26068
26314
|
"6": {
|
|
26069
26315
|
start: {
|
|
26070
|
-
line:
|
|
26316
|
+
line: 28,
|
|
26071
26317
|
column: 4
|
|
26072
26318
|
},
|
|
26073
26319
|
end: {
|
|
26074
|
-
line:
|
|
26320
|
+
line: 28,
|
|
26075
26321
|
column: 50
|
|
26076
26322
|
}
|
|
26077
26323
|
},
|
|
26078
26324
|
"7": {
|
|
26079
26325
|
start: {
|
|
26080
|
-
line:
|
|
26326
|
+
line: 31,
|
|
26081
26327
|
column: 2
|
|
26082
26328
|
},
|
|
26083
26329
|
end: {
|
|
26084
|
-
line:
|
|
26330
|
+
line: 105,
|
|
26085
26331
|
column: 4
|
|
26086
26332
|
}
|
|
26087
26333
|
},
|
|
26088
26334
|
"8": {
|
|
26089
26335
|
start: {
|
|
26090
|
-
line:
|
|
26336
|
+
line: 44,
|
|
26091
26337
|
column: 12
|
|
26092
26338
|
},
|
|
26093
26339
|
end: {
|
|
26094
|
-
line:
|
|
26340
|
+
line: 91,
|
|
26095
26341
|
column: 15
|
|
26096
26342
|
}
|
|
26097
26343
|
},
|
|
26098
26344
|
"9": {
|
|
26099
26345
|
start: {
|
|
26100
|
-
line:
|
|
26346
|
+
line: 51,
|
|
26101
26347
|
column: 20
|
|
26102
26348
|
},
|
|
26103
26349
|
end: {
|
|
26104
|
-
line:
|
|
26350
|
+
line: 76,
|
|
26105
26351
|
column: 21
|
|
26106
26352
|
}
|
|
26107
26353
|
},
|
|
26108
26354
|
"10": {
|
|
26109
26355
|
start: {
|
|
26110
|
-
line:
|
|
26111
|
-
column:
|
|
26356
|
+
line: 72,
|
|
26357
|
+
column: 43
|
|
26112
26358
|
},
|
|
26113
26359
|
end: {
|
|
26114
|
-
line:
|
|
26115
|
-
column:
|
|
26360
|
+
line: 72,
|
|
26361
|
+
column: 68
|
|
26116
26362
|
}
|
|
26117
26363
|
}
|
|
26118
26364
|
},
|
|
@@ -26135,7 +26381,7 @@ function cov_1p625a7ih4() {
|
|
|
26135
26381
|
column: 53
|
|
26136
26382
|
},
|
|
26137
26383
|
end: {
|
|
26138
|
-
line:
|
|
26384
|
+
line: 106,
|
|
26139
26385
|
column: 1
|
|
26140
26386
|
}
|
|
26141
26387
|
},
|
|
@@ -26145,198 +26391,312 @@ function cov_1p625a7ih4() {
|
|
|
26145
26391
|
name: "(anonymous_1)",
|
|
26146
26392
|
decl: {
|
|
26147
26393
|
start: {
|
|
26148
|
-
line:
|
|
26394
|
+
line: 26,
|
|
26149
26395
|
column: 29
|
|
26150
26396
|
},
|
|
26151
26397
|
end: {
|
|
26152
|
-
line:
|
|
26398
|
+
line: 26,
|
|
26153
26399
|
column: 30
|
|
26154
26400
|
}
|
|
26155
26401
|
},
|
|
26156
26402
|
loc: {
|
|
26157
26403
|
start: {
|
|
26158
|
-
line:
|
|
26404
|
+
line: 26,
|
|
26159
26405
|
column: 38
|
|
26160
26406
|
},
|
|
26161
26407
|
end: {
|
|
26162
|
-
line:
|
|
26408
|
+
line: 29,
|
|
26163
26409
|
column: 3
|
|
26164
26410
|
}
|
|
26165
26411
|
},
|
|
26166
|
-
line:
|
|
26412
|
+
line: 26
|
|
26167
26413
|
},
|
|
26168
26414
|
"2": {
|
|
26169
26415
|
name: "(anonymous_2)",
|
|
26170
26416
|
decl: {
|
|
26171
26417
|
start: {
|
|
26172
|
-
line:
|
|
26418
|
+
line: 43,
|
|
26173
26419
|
column: 11
|
|
26174
26420
|
},
|
|
26175
26421
|
end: {
|
|
26176
|
-
line:
|
|
26422
|
+
line: 43,
|
|
26423
|
+
column: 12
|
|
26424
|
+
}
|
|
26425
|
+
},
|
|
26426
|
+
loc: {
|
|
26427
|
+
start: {
|
|
26428
|
+
line: 44,
|
|
26177
26429
|
column: 12
|
|
26430
|
+
},
|
|
26431
|
+
end: {
|
|
26432
|
+
line: 91,
|
|
26433
|
+
column: 15
|
|
26434
|
+
}
|
|
26435
|
+
},
|
|
26436
|
+
line: 44
|
|
26437
|
+
},
|
|
26438
|
+
"3": {
|
|
26439
|
+
name: "(anonymous_3)",
|
|
26440
|
+
decl: {
|
|
26441
|
+
start: {
|
|
26442
|
+
line: 50,
|
|
26443
|
+
column: 18
|
|
26444
|
+
},
|
|
26445
|
+
end: {
|
|
26446
|
+
line: 50,
|
|
26447
|
+
column: 19
|
|
26448
|
+
}
|
|
26449
|
+
},
|
|
26450
|
+
loc: {
|
|
26451
|
+
start: {
|
|
26452
|
+
line: 51,
|
|
26453
|
+
column: 20
|
|
26454
|
+
},
|
|
26455
|
+
end: {
|
|
26456
|
+
line: 76,
|
|
26457
|
+
column: 21
|
|
26458
|
+
}
|
|
26459
|
+
},
|
|
26460
|
+
line: 51
|
|
26461
|
+
},
|
|
26462
|
+
"4": {
|
|
26463
|
+
name: "(anonymous_4)",
|
|
26464
|
+
decl: {
|
|
26465
|
+
start: {
|
|
26466
|
+
line: 72,
|
|
26467
|
+
column: 37
|
|
26468
|
+
},
|
|
26469
|
+
end: {
|
|
26470
|
+
line: 72,
|
|
26471
|
+
column: 38
|
|
26472
|
+
}
|
|
26473
|
+
},
|
|
26474
|
+
loc: {
|
|
26475
|
+
start: {
|
|
26476
|
+
line: 72,
|
|
26477
|
+
column: 43
|
|
26478
|
+
},
|
|
26479
|
+
end: {
|
|
26480
|
+
line: 72,
|
|
26481
|
+
column: 68
|
|
26482
|
+
}
|
|
26483
|
+
},
|
|
26484
|
+
line: 72
|
|
26485
|
+
}
|
|
26486
|
+
},
|
|
26487
|
+
branchMap: {
|
|
26488
|
+
"0": {
|
|
26489
|
+
loc: {
|
|
26490
|
+
start: {
|
|
26491
|
+
line: 19,
|
|
26492
|
+
column: 4
|
|
26493
|
+
},
|
|
26494
|
+
end: {
|
|
26495
|
+
line: 19,
|
|
26496
|
+
column: 25
|
|
26497
|
+
}
|
|
26498
|
+
},
|
|
26499
|
+
type: "default-arg",
|
|
26500
|
+
locations: [{
|
|
26501
|
+
start: {
|
|
26502
|
+
line: 19,
|
|
26503
|
+
column: 23
|
|
26504
|
+
},
|
|
26505
|
+
end: {
|
|
26506
|
+
line: 19,
|
|
26507
|
+
column: 25
|
|
26508
|
+
}
|
|
26509
|
+
}],
|
|
26510
|
+
line: 19
|
|
26511
|
+
},
|
|
26512
|
+
"1": {
|
|
26513
|
+
loc: {
|
|
26514
|
+
start: {
|
|
26515
|
+
line: 20,
|
|
26516
|
+
column: 4
|
|
26517
|
+
},
|
|
26518
|
+
end: {
|
|
26519
|
+
line: 20,
|
|
26520
|
+
column: 25
|
|
26178
26521
|
}
|
|
26179
26522
|
},
|
|
26523
|
+
type: "default-arg",
|
|
26524
|
+
locations: [{
|
|
26525
|
+
start: {
|
|
26526
|
+
line: 20,
|
|
26527
|
+
column: 20
|
|
26528
|
+
},
|
|
26529
|
+
end: {
|
|
26530
|
+
line: 20,
|
|
26531
|
+
column: 25
|
|
26532
|
+
}
|
|
26533
|
+
}],
|
|
26534
|
+
line: 20
|
|
26535
|
+
},
|
|
26536
|
+
"2": {
|
|
26180
26537
|
loc: {
|
|
26181
26538
|
start: {
|
|
26182
|
-
line:
|
|
26183
|
-
column:
|
|
26539
|
+
line: 51,
|
|
26540
|
+
column: 20
|
|
26541
|
+
},
|
|
26542
|
+
end: {
|
|
26543
|
+
line: 76,
|
|
26544
|
+
column: 21
|
|
26545
|
+
}
|
|
26546
|
+
},
|
|
26547
|
+
type: "binary-expr",
|
|
26548
|
+
locations: [{
|
|
26549
|
+
start: {
|
|
26550
|
+
line: 51,
|
|
26551
|
+
column: 20
|
|
26552
|
+
},
|
|
26553
|
+
end: {
|
|
26554
|
+
line: 51,
|
|
26555
|
+
column: 36
|
|
26556
|
+
}
|
|
26557
|
+
}, {
|
|
26558
|
+
start: {
|
|
26559
|
+
line: 52,
|
|
26560
|
+
column: 22
|
|
26184
26561
|
},
|
|
26185
26562
|
end: {
|
|
26186
|
-
line:
|
|
26187
|
-
column:
|
|
26563
|
+
line: 75,
|
|
26564
|
+
column: 28
|
|
26188
26565
|
}
|
|
26189
|
-
},
|
|
26190
|
-
line:
|
|
26566
|
+
}],
|
|
26567
|
+
line: 51
|
|
26191
26568
|
},
|
|
26192
26569
|
"3": {
|
|
26193
|
-
name: "(anonymous_3)",
|
|
26194
|
-
decl: {
|
|
26195
|
-
start: {
|
|
26196
|
-
line: 46,
|
|
26197
|
-
column: 18
|
|
26198
|
-
},
|
|
26199
|
-
end: {
|
|
26200
|
-
line: 46,
|
|
26201
|
-
column: 19
|
|
26202
|
-
}
|
|
26203
|
-
},
|
|
26204
26570
|
loc: {
|
|
26205
26571
|
start: {
|
|
26206
|
-
line:
|
|
26207
|
-
column:
|
|
26572
|
+
line: 54,
|
|
26573
|
+
column: 48
|
|
26208
26574
|
},
|
|
26209
26575
|
end: {
|
|
26210
|
-
line:
|
|
26211
|
-
column:
|
|
26576
|
+
line: 54,
|
|
26577
|
+
column: 66
|
|
26212
26578
|
}
|
|
26213
26579
|
},
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
"4": {
|
|
26217
|
-
name: "(anonymous_4)",
|
|
26218
|
-
decl: {
|
|
26580
|
+
type: "binary-expr",
|
|
26581
|
+
locations: [{
|
|
26219
26582
|
start: {
|
|
26220
|
-
line:
|
|
26221
|
-
column:
|
|
26583
|
+
line: 54,
|
|
26584
|
+
column: 48
|
|
26222
26585
|
},
|
|
26223
26586
|
end: {
|
|
26224
|
-
line:
|
|
26225
|
-
column:
|
|
26587
|
+
line: 54,
|
|
26588
|
+
column: 57
|
|
26226
26589
|
}
|
|
26227
|
-
},
|
|
26228
|
-
loc: {
|
|
26590
|
+
}, {
|
|
26229
26591
|
start: {
|
|
26230
|
-
line:
|
|
26231
|
-
column:
|
|
26592
|
+
line: 54,
|
|
26593
|
+
column: 61
|
|
26232
26594
|
},
|
|
26233
26595
|
end: {
|
|
26234
|
-
line:
|
|
26596
|
+
line: 54,
|
|
26235
26597
|
column: 66
|
|
26236
26598
|
}
|
|
26237
|
-
},
|
|
26238
|
-
line:
|
|
26239
|
-
}
|
|
26240
|
-
|
|
26241
|
-
branchMap: {
|
|
26242
|
-
"0": {
|
|
26599
|
+
}],
|
|
26600
|
+
line: 54
|
|
26601
|
+
},
|
|
26602
|
+
"4": {
|
|
26243
26603
|
loc: {
|
|
26244
26604
|
start: {
|
|
26245
|
-
line:
|
|
26246
|
-
column:
|
|
26605
|
+
line: 63,
|
|
26606
|
+
column: 25
|
|
26247
26607
|
},
|
|
26248
26608
|
end: {
|
|
26249
|
-
line:
|
|
26250
|
-
column:
|
|
26609
|
+
line: 74,
|
|
26610
|
+
column: 25
|
|
26251
26611
|
}
|
|
26252
26612
|
},
|
|
26253
26613
|
type: "binary-expr",
|
|
26254
26614
|
locations: [{
|
|
26255
26615
|
start: {
|
|
26256
|
-
line:
|
|
26257
|
-
column:
|
|
26616
|
+
line: 63,
|
|
26617
|
+
column: 25
|
|
26258
26618
|
},
|
|
26259
26619
|
end: {
|
|
26260
|
-
line:
|
|
26261
|
-
column:
|
|
26620
|
+
line: 63,
|
|
26621
|
+
column: 39
|
|
26262
26622
|
}
|
|
26263
26623
|
}, {
|
|
26264
26624
|
start: {
|
|
26265
|
-
line:
|
|
26266
|
-
column:
|
|
26625
|
+
line: 64,
|
|
26626
|
+
column: 26
|
|
26267
26627
|
},
|
|
26268
26628
|
end: {
|
|
26269
|
-
line:
|
|
26629
|
+
line: 73,
|
|
26270
26630
|
column: 28
|
|
26271
26631
|
}
|
|
26272
26632
|
}],
|
|
26273
|
-
line:
|
|
26633
|
+
line: 63
|
|
26274
26634
|
},
|
|
26275
|
-
"
|
|
26635
|
+
"5": {
|
|
26276
26636
|
loc: {
|
|
26277
26637
|
start: {
|
|
26278
|
-
line:
|
|
26279
|
-
column:
|
|
26638
|
+
line: 79,
|
|
26639
|
+
column: 15
|
|
26280
26640
|
},
|
|
26281
26641
|
end: {
|
|
26282
|
-
line:
|
|
26283
|
-
column:
|
|
26642
|
+
line: 90,
|
|
26643
|
+
column: 15
|
|
26284
26644
|
}
|
|
26285
26645
|
},
|
|
26286
26646
|
type: "binary-expr",
|
|
26287
26647
|
locations: [{
|
|
26288
26648
|
start: {
|
|
26289
|
-
line:
|
|
26290
|
-
column:
|
|
26649
|
+
line: 79,
|
|
26650
|
+
column: 15
|
|
26291
26651
|
},
|
|
26292
26652
|
end: {
|
|
26293
|
-
line:
|
|
26294
|
-
column:
|
|
26653
|
+
line: 79,
|
|
26654
|
+
column: 29
|
|
26295
26655
|
}
|
|
26296
26656
|
}, {
|
|
26297
26657
|
start: {
|
|
26298
|
-
line:
|
|
26299
|
-
column:
|
|
26658
|
+
line: 80,
|
|
26659
|
+
column: 16
|
|
26300
26660
|
},
|
|
26301
26661
|
end: {
|
|
26302
|
-
line:
|
|
26303
|
-
column:
|
|
26662
|
+
line: 89,
|
|
26663
|
+
column: 22
|
|
26304
26664
|
}
|
|
26305
26665
|
}],
|
|
26306
|
-
line:
|
|
26666
|
+
line: 79
|
|
26307
26667
|
},
|
|
26308
|
-
"
|
|
26668
|
+
"6": {
|
|
26309
26669
|
loc: {
|
|
26310
26670
|
start: {
|
|
26311
|
-
line:
|
|
26671
|
+
line: 95,
|
|
26312
26672
|
column: 7
|
|
26313
26673
|
},
|
|
26314
26674
|
end: {
|
|
26315
|
-
line:
|
|
26675
|
+
line: 103,
|
|
26316
26676
|
column: 7
|
|
26317
26677
|
}
|
|
26318
26678
|
},
|
|
26319
26679
|
type: "binary-expr",
|
|
26320
26680
|
locations: [{
|
|
26321
26681
|
start: {
|
|
26322
|
-
line:
|
|
26682
|
+
line: 95,
|
|
26323
26683
|
column: 7
|
|
26324
26684
|
},
|
|
26325
26685
|
end: {
|
|
26326
|
-
line:
|
|
26686
|
+
line: 95,
|
|
26327
26687
|
column: 18
|
|
26328
26688
|
}
|
|
26329
26689
|
}, {
|
|
26330
26690
|
start: {
|
|
26331
|
-
line:
|
|
26691
|
+
line: 96,
|
|
26332
26692
|
column: 8
|
|
26333
26693
|
},
|
|
26334
26694
|
end: {
|
|
26335
|
-
line:
|
|
26695
|
+
line: 102,
|
|
26336
26696
|
column: 14
|
|
26337
26697
|
}
|
|
26338
26698
|
}],
|
|
26339
|
-
line:
|
|
26699
|
+
line: 95
|
|
26340
26700
|
}
|
|
26341
26701
|
},
|
|
26342
26702
|
s: {
|
|
@@ -26360,12 +26720,16 @@ function cov_1p625a7ih4() {
|
|
|
26360
26720
|
"4": 0
|
|
26361
26721
|
},
|
|
26362
26722
|
b: {
|
|
26363
|
-
"0": [0
|
|
26364
|
-
"1": [0
|
|
26365
|
-
"2": [0, 0]
|
|
26723
|
+
"0": [0],
|
|
26724
|
+
"1": [0],
|
|
26725
|
+
"2": [0, 0],
|
|
26726
|
+
"3": [0, 0],
|
|
26727
|
+
"4": [0, 0],
|
|
26728
|
+
"5": [0, 0],
|
|
26729
|
+
"6": [0, 0]
|
|
26366
26730
|
},
|
|
26367
26731
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
26368
|
-
hash: "
|
|
26732
|
+
hash: "1011b25909b9c73b64080f90fa78d81fed144c14"
|
|
26369
26733
|
};
|
|
26370
26734
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
26371
26735
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -26388,7 +26752,11 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26388
26752
|
isRequired = _ref.isRequired;
|
|
26389
26753
|
cov_1p625a7ih4().f[0]++;
|
|
26390
26754
|
var _ref2 = (cov_1p625a7ih4().s[1]++, item),
|
|
26391
|
-
optionsAttributes = _ref2.optionsAttributes
|
|
26755
|
+
optionsAttributes = _ref2.optionsAttributes,
|
|
26756
|
+
_ref2$optionLabelProp = _ref2.optionLabelProps,
|
|
26757
|
+
optionLabelProps = _ref2$optionLabelProp === void 0 ? (cov_1p625a7ih4().b[0][0]++, {}) : _ref2$optionLabelProp,
|
|
26758
|
+
_ref2$freezeOptions = _ref2.freezeOptions,
|
|
26759
|
+
freezeOptions = _ref2$freezeOptions === void 0 ? (cov_1p625a7ih4().b[1][0]++, false) : _ref2$freezeOptions;
|
|
26392
26760
|
var _ref3 = (cov_1p625a7ih4().s[2]++, useTranslation()),
|
|
26393
26761
|
t = _ref3.t;
|
|
26394
26762
|
var _ref4 = (cov_1p625a7ih4().s[3]++, formik.useFormikContext()),
|
|
@@ -26418,21 +26786,22 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26418
26786
|
var handlePush = _ref5.handlePush;
|
|
26419
26787
|
cov_1p625a7ih4().f[2]++;
|
|
26420
26788
|
cov_1p625a7ih4().s[8]++;
|
|
26421
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, {
|
|
26789
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, _extends$9({
|
|
26422
26790
|
className: "mb-1 block"
|
|
26423
|
-
}, t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26791
|
+
}, optionLabelProps), t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26424
26792
|
className: "flex w-2/3 flex-col space-y-2"
|
|
26425
26793
|
}, optionsAttributes.map(function (option, index) {
|
|
26426
26794
|
var _ref6;
|
|
26427
26795
|
cov_1p625a7ih4().f[3]++;
|
|
26428
26796
|
cov_1p625a7ih4().s[9]++;
|
|
26429
|
-
return (cov_1p625a7ih4().b[
|
|
26797
|
+
return (cov_1p625a7ih4().b[2][0]++, !option._destroy) && (cov_1p625a7ih4().b[2][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26430
26798
|
className: "flex items-start gap-1",
|
|
26431
|
-
key: "question-option-".concat((_ref6 = (cov_1p625a7ih4().b[
|
|
26799
|
+
key: "question-option-".concat((_ref6 = (cov_1p625a7ih4().b[3][0]++, option.id)) !== null && _ref6 !== void 0 ? _ref6 : (cov_1p625a7ih4().b[3][1]++, index))
|
|
26432
26800
|
}, /*#__PURE__*/React__default["default"].createElement(InputWithMaxLength, {
|
|
26801
|
+
disabled: freezeOptions,
|
|
26433
26802
|
name: "".concat(name, ".optionsAttributes.").concat(index, ".label"),
|
|
26434
26803
|
placeholder: "".concat(t("questions.common.questionFields.field.option"), " ").concat(index + 1)
|
|
26435
|
-
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
26804
|
+
}), (cov_1p625a7ih4().b[4][0]++, !freezeOptions) && (cov_1p625a7ih4().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
26436
26805
|
icon: neetoIcons.Delete,
|
|
26437
26806
|
size: "small",
|
|
26438
26807
|
style: "text",
|
|
@@ -26444,8 +26813,8 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26444
26813
|
cov_1p625a7ih4().s[10]++;
|
|
26445
26814
|
return handleRemoveOption(index);
|
|
26446
26815
|
}
|
|
26447
|
-
})));
|
|
26448
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26816
|
+
}))));
|
|
26817
|
+
})), (cov_1p625a7ih4().b[5][0]++, !freezeOptions) && (cov_1p625a7ih4().b[5][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26449
26818
|
className: "mt-3 w-full"
|
|
26450
26819
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
26451
26820
|
icon: neetoIcons.Plus,
|
|
@@ -26456,8 +26825,8 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26456
26825
|
onClick: handlePush({
|
|
26457
26826
|
label: ""
|
|
26458
26827
|
})
|
|
26459
|
-
})));
|
|
26460
|
-
})), (cov_1p625a7ih4().b[
|
|
26828
|
+
}))));
|
|
26829
|
+
})), (cov_1p625a7ih4().b[6][0]++, !isRequired) && (cov_1p625a7ih4().b[6][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26461
26830
|
className: "w-full"
|
|
26462
26831
|
}, /*#__PURE__*/React__default["default"].createElement(formik$1.Checkbox, {
|
|
26463
26832
|
id: "".concat(name, ".isRequired"),
|
|
@@ -28267,7 +28636,7 @@ var Question = function Question(_ref) {
|
|
|
28267
28636
|
var questions = _ref.questions,
|
|
28268
28637
|
insert = _ref.insert,
|
|
28269
28638
|
formProps = _ref.formProps,
|
|
28270
|
-
|
|
28639
|
+
isDeletable = _ref.isDeletable,
|
|
28271
28640
|
isRequiredField = _ref.isRequiredField,
|
|
28272
28641
|
allQuestionKinds = _ref.allQuestionKinds,
|
|
28273
28642
|
getActiveKindDetails = _ref.getActiveKindDetails,
|
|
@@ -28303,8 +28672,8 @@ var Question = function Question(_ref) {
|
|
|
28303
28672
|
}), /*#__PURE__*/React__default["default"].createElement(FormField, _extends$9({
|
|
28304
28673
|
allQuestionKinds: allQuestionKinds,
|
|
28305
28674
|
getActiveKindDetails: getActiveKindDetails,
|
|
28306
|
-
isDeletable:
|
|
28307
|
-
isRequired: isRequiredField(item
|
|
28675
|
+
isDeletable: isDeletable(item),
|
|
28676
|
+
isRequired: isRequiredField(item),
|
|
28308
28677
|
kindUniqueOn: kindUniqueOn
|
|
28309
28678
|
}, formProps(item, index, insert))));
|
|
28310
28679
|
}));
|
|
@@ -30367,10 +30736,10 @@ var List = function List(_ref) {
|
|
|
30367
30736
|
})));
|
|
30368
30737
|
};
|
|
30369
30738
|
|
|
30370
|
-
var _excluded$b = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "
|
|
30739
|
+
var _excluded$b = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn"];
|
|
30371
30740
|
function cov_2e8k7gwd81() {
|
|
30372
30741
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
|
|
30373
|
-
var hash = "
|
|
30742
|
+
var hash = "7c11acd7f0e5fde99d6d92b950980d529a13322c";
|
|
30374
30743
|
var global = new Function("return this")();
|
|
30375
30744
|
var gcv = "__coverage__";
|
|
30376
30745
|
var coverageData = {
|
|
@@ -30382,7 +30751,7 @@ function cov_2e8k7gwd81() {
|
|
|
30382
30751
|
column: 13
|
|
30383
30752
|
},
|
|
30384
30753
|
end: {
|
|
30385
|
-
line:
|
|
30754
|
+
line: 222,
|
|
30386
30755
|
column: 1
|
|
30387
30756
|
}
|
|
30388
30757
|
},
|
|
@@ -30569,200 +30938,180 @@ function cov_2e8k7gwd81() {
|
|
|
30569
30938
|
"19": {
|
|
30570
30939
|
start: {
|
|
30571
30940
|
line: 106,
|
|
30572
|
-
column: 26
|
|
30573
|
-
},
|
|
30574
|
-
end: {
|
|
30575
|
-
line: 106,
|
|
30576
|
-
column: 63
|
|
30577
|
-
}
|
|
30578
|
-
},
|
|
30579
|
-
"20": {
|
|
30580
|
-
start: {
|
|
30581
|
-
line: 106,
|
|
30582
|
-
column: 34
|
|
30583
|
-
},
|
|
30584
|
-
end: {
|
|
30585
|
-
line: 106,
|
|
30586
|
-
column: 63
|
|
30587
|
-
}
|
|
30588
|
-
},
|
|
30589
|
-
"21": {
|
|
30590
|
-
start: {
|
|
30591
|
-
line: 108,
|
|
30592
30941
|
column: 20
|
|
30593
30942
|
},
|
|
30594
30943
|
end: {
|
|
30595
|
-
line:
|
|
30944
|
+
line: 136,
|
|
30596
30945
|
column: 4
|
|
30597
30946
|
}
|
|
30598
30947
|
},
|
|
30599
|
-
"
|
|
30948
|
+
"20": {
|
|
30600
30949
|
start: {
|
|
30601
|
-
line:
|
|
30950
|
+
line: 106,
|
|
30602
30951
|
column: 46
|
|
30603
30952
|
},
|
|
30604
30953
|
end: {
|
|
30605
|
-
line:
|
|
30954
|
+
line: 136,
|
|
30606
30955
|
column: 3
|
|
30607
30956
|
}
|
|
30608
30957
|
},
|
|
30609
|
-
"
|
|
30958
|
+
"21": {
|
|
30610
30959
|
start: {
|
|
30611
|
-
line:
|
|
30960
|
+
line: 115,
|
|
30612
30961
|
column: 6
|
|
30613
30962
|
},
|
|
30614
30963
|
end: {
|
|
30615
|
-
line:
|
|
30964
|
+
line: 115,
|
|
30616
30965
|
column: 62
|
|
30617
30966
|
}
|
|
30618
30967
|
},
|
|
30619
|
-
"
|
|
30968
|
+
"22": {
|
|
30620
30969
|
start: {
|
|
30621
|
-
line:
|
|
30970
|
+
line: 117,
|
|
30622
30971
|
column: 27
|
|
30623
30972
|
},
|
|
30624
30973
|
end: {
|
|
30625
|
-
line:
|
|
30974
|
+
line: 121,
|
|
30626
30975
|
column: 7
|
|
30627
30976
|
}
|
|
30628
30977
|
},
|
|
30629
|
-
"
|
|
30978
|
+
"23": {
|
|
30630
30979
|
start: {
|
|
30631
|
-
line:
|
|
30980
|
+
line: 123,
|
|
30632
30981
|
column: 6
|
|
30633
30982
|
},
|
|
30634
30983
|
end: {
|
|
30635
|
-
line:
|
|
30984
|
+
line: 129,
|
|
30636
30985
|
column: 8
|
|
30637
30986
|
}
|
|
30638
30987
|
},
|
|
30639
|
-
"
|
|
30988
|
+
"24": {
|
|
30640
30989
|
start: {
|
|
30641
|
-
line:
|
|
30990
|
+
line: 125,
|
|
30642
30991
|
column: 47
|
|
30643
30992
|
},
|
|
30644
30993
|
end: {
|
|
30645
|
-
line:
|
|
30994
|
+
line: 128,
|
|
30646
30995
|
column: 9
|
|
30647
30996
|
}
|
|
30648
30997
|
},
|
|
30649
|
-
"
|
|
30998
|
+
"25": {
|
|
30650
30999
|
start: {
|
|
30651
|
-
line:
|
|
31000
|
+
line: 132,
|
|
30652
31001
|
column: 6
|
|
30653
31002
|
},
|
|
30654
31003
|
end: {
|
|
30655
|
-
line:
|
|
31004
|
+
line: 132,
|
|
30656
31005
|
column: 69
|
|
30657
31006
|
}
|
|
30658
31007
|
},
|
|
30659
|
-
"
|
|
31008
|
+
"26": {
|
|
30660
31009
|
start: {
|
|
30661
|
-
line:
|
|
31010
|
+
line: 134,
|
|
30662
31011
|
column: 6
|
|
30663
31012
|
},
|
|
30664
31013
|
end: {
|
|
30665
|
-
line:
|
|
31014
|
+
line: 134,
|
|
30666
31015
|
column: 36
|
|
30667
31016
|
}
|
|
30668
31017
|
},
|
|
30669
|
-
"
|
|
31018
|
+
"27": {
|
|
30670
31019
|
start: {
|
|
30671
|
-
line:
|
|
31020
|
+
line: 138,
|
|
30672
31021
|
column: 2
|
|
30673
31022
|
},
|
|
30674
31023
|
end: {
|
|
30675
|
-
line:
|
|
31024
|
+
line: 221,
|
|
30676
31025
|
column: 4
|
|
30677
31026
|
}
|
|
30678
31027
|
},
|
|
30679
|
-
"
|
|
31028
|
+
"28": {
|
|
30680
31029
|
start: {
|
|
30681
|
-
line:
|
|
31030
|
+
line: 149,
|
|
30682
31031
|
column: 23
|
|
30683
31032
|
},
|
|
30684
31033
|
end: {
|
|
30685
|
-
line:
|
|
31034
|
+
line: 149,
|
|
30686
31035
|
column: 51
|
|
30687
31036
|
}
|
|
30688
31037
|
},
|
|
30689
|
-
"
|
|
31038
|
+
"29": {
|
|
30690
31039
|
start: {
|
|
30691
|
-
line:
|
|
31040
|
+
line: 151,
|
|
30692
31041
|
column: 32
|
|
30693
31042
|
},
|
|
30694
31043
|
end: {
|
|
30695
|
-
line:
|
|
31044
|
+
line: 154,
|
|
30696
31045
|
column: 11
|
|
30697
31046
|
}
|
|
30698
31047
|
},
|
|
30699
|
-
"
|
|
31048
|
+
"30": {
|
|
30700
31049
|
start: {
|
|
30701
|
-
line:
|
|
31050
|
+
line: 155,
|
|
30702
31051
|
column: 10
|
|
30703
31052
|
},
|
|
30704
31053
|
end: {
|
|
30705
|
-
line:
|
|
31054
|
+
line: 155,
|
|
30706
31055
|
column: 59
|
|
30707
31056
|
}
|
|
30708
31057
|
},
|
|
30709
|
-
"
|
|
31058
|
+
"31": {
|
|
30710
31059
|
start: {
|
|
30711
|
-
line:
|
|
31060
|
+
line: 156,
|
|
30712
31061
|
column: 10
|
|
30713
31062
|
},
|
|
30714
31063
|
end: {
|
|
30715
|
-
line:
|
|
31064
|
+
line: 156,
|
|
30716
31065
|
column: 39
|
|
30717
31066
|
}
|
|
30718
31067
|
},
|
|
30719
|
-
"
|
|
31068
|
+
"32": {
|
|
30720
31069
|
start: {
|
|
30721
|
-
line:
|
|
31070
|
+
line: 163,
|
|
30722
31071
|
column: 14
|
|
30723
31072
|
},
|
|
30724
31073
|
end: {
|
|
30725
|
-
line:
|
|
31074
|
+
line: 192,
|
|
30726
31075
|
column: 17
|
|
30727
31076
|
}
|
|
30728
31077
|
},
|
|
30729
|
-
"
|
|
31078
|
+
"33": {
|
|
30730
31079
|
start: {
|
|
30731
|
-
line:
|
|
31080
|
+
line: 166,
|
|
30732
31081
|
column: 20
|
|
30733
31082
|
},
|
|
30734
31083
|
end: {
|
|
30735
|
-
line:
|
|
31084
|
+
line: 171,
|
|
30736
31085
|
column: 22
|
|
30737
31086
|
}
|
|
30738
31087
|
},
|
|
30739
|
-
"
|
|
31088
|
+
"34": {
|
|
30740
31089
|
start: {
|
|
30741
|
-
line:
|
|
31090
|
+
line: 189,
|
|
30742
31091
|
column: 38
|
|
30743
31092
|
},
|
|
30744
31093
|
end: {
|
|
30745
|
-
line:
|
|
31094
|
+
line: 189,
|
|
30746
31095
|
column: 65
|
|
30747
31096
|
}
|
|
30748
31097
|
},
|
|
30749
|
-
"
|
|
31098
|
+
"35": {
|
|
30750
31099
|
start: {
|
|
30751
|
-
line:
|
|
31100
|
+
line: 201,
|
|
30752
31101
|
column: 38
|
|
30753
31102
|
},
|
|
30754
31103
|
end: {
|
|
30755
|
-
line:
|
|
31104
|
+
line: 204,
|
|
30756
31105
|
column: 17
|
|
30757
31106
|
}
|
|
30758
31107
|
},
|
|
30759
|
-
"
|
|
31108
|
+
"36": {
|
|
30760
31109
|
start: {
|
|
30761
|
-
line:
|
|
31110
|
+
line: 205,
|
|
30762
31111
|
column: 16
|
|
30763
31112
|
},
|
|
30764
31113
|
end: {
|
|
30765
|
-
line:
|
|
31114
|
+
line: 205,
|
|
30766
31115
|
column: 65
|
|
30767
31116
|
}
|
|
30768
31117
|
}
|
|
@@ -30786,7 +31135,7 @@ function cov_2e8k7gwd81() {
|
|
|
30786
31135
|
column: 6
|
|
30787
31136
|
},
|
|
30788
31137
|
end: {
|
|
30789
|
-
line:
|
|
31138
|
+
line: 222,
|
|
30790
31139
|
column: 1
|
|
30791
31140
|
}
|
|
30792
31141
|
},
|
|
@@ -30893,21 +31242,21 @@ function cov_2e8k7gwd81() {
|
|
|
30893
31242
|
decl: {
|
|
30894
31243
|
start: {
|
|
30895
31244
|
line: 106,
|
|
30896
|
-
column:
|
|
31245
|
+
column: 20
|
|
30897
31246
|
},
|
|
30898
31247
|
end: {
|
|
30899
31248
|
line: 106,
|
|
30900
|
-
column:
|
|
31249
|
+
column: 21
|
|
30901
31250
|
}
|
|
30902
31251
|
},
|
|
30903
31252
|
loc: {
|
|
30904
31253
|
start: {
|
|
30905
31254
|
line: 106,
|
|
30906
|
-
column:
|
|
31255
|
+
column: 46
|
|
30907
31256
|
},
|
|
30908
31257
|
end: {
|
|
30909
|
-
line:
|
|
30910
|
-
column:
|
|
31258
|
+
line: 136,
|
|
31259
|
+
column: 3
|
|
30911
31260
|
}
|
|
30912
31261
|
},
|
|
30913
31262
|
line: 106
|
|
@@ -30916,289 +31265,265 @@ function cov_2e8k7gwd81() {
|
|
|
30916
31265
|
name: "(anonymous_6)",
|
|
30917
31266
|
decl: {
|
|
30918
31267
|
start: {
|
|
30919
|
-
line:
|
|
30920
|
-
column: 20
|
|
30921
|
-
},
|
|
30922
|
-
end: {
|
|
30923
|
-
line: 108,
|
|
30924
|
-
column: 21
|
|
30925
|
-
}
|
|
30926
|
-
},
|
|
30927
|
-
loc: {
|
|
30928
|
-
start: {
|
|
30929
|
-
line: 108,
|
|
30930
|
-
column: 46
|
|
30931
|
-
},
|
|
30932
|
-
end: {
|
|
30933
|
-
line: 138,
|
|
30934
|
-
column: 3
|
|
30935
|
-
}
|
|
30936
|
-
},
|
|
30937
|
-
line: 108
|
|
30938
|
-
},
|
|
30939
|
-
"7": {
|
|
30940
|
-
name: "(anonymous_7)",
|
|
30941
|
-
decl: {
|
|
30942
|
-
start: {
|
|
30943
|
-
line: 116,
|
|
31268
|
+
line: 114,
|
|
30944
31269
|
column: 22
|
|
30945
31270
|
},
|
|
30946
31271
|
end: {
|
|
30947
|
-
line:
|
|
31272
|
+
line: 114,
|
|
30948
31273
|
column: 23
|
|
30949
31274
|
}
|
|
30950
31275
|
},
|
|
30951
31276
|
loc: {
|
|
30952
31277
|
start: {
|
|
30953
|
-
line:
|
|
31278
|
+
line: 115,
|
|
30954
31279
|
column: 6
|
|
30955
31280
|
},
|
|
30956
31281
|
end: {
|
|
30957
|
-
line:
|
|
31282
|
+
line: 115,
|
|
30958
31283
|
column: 62
|
|
30959
31284
|
}
|
|
30960
31285
|
},
|
|
30961
|
-
line:
|
|
31286
|
+
line: 115
|
|
30962
31287
|
},
|
|
30963
|
-
"
|
|
30964
|
-
name: "(
|
|
31288
|
+
"7": {
|
|
31289
|
+
name: "(anonymous_7)",
|
|
30965
31290
|
decl: {
|
|
30966
31291
|
start: {
|
|
30967
|
-
line:
|
|
31292
|
+
line: 116,
|
|
30968
31293
|
column: 17
|
|
30969
31294
|
},
|
|
30970
31295
|
end: {
|
|
30971
|
-
line:
|
|
31296
|
+
line: 116,
|
|
30972
31297
|
column: 18
|
|
30973
31298
|
}
|
|
30974
31299
|
},
|
|
30975
31300
|
loc: {
|
|
30976
31301
|
start: {
|
|
30977
|
-
line:
|
|
31302
|
+
line: 116,
|
|
30978
31303
|
column: 23
|
|
30979
31304
|
},
|
|
30980
31305
|
end: {
|
|
30981
|
-
line:
|
|
31306
|
+
line: 130,
|
|
30982
31307
|
column: 5
|
|
30983
31308
|
}
|
|
30984
31309
|
},
|
|
30985
|
-
line:
|
|
31310
|
+
line: 116
|
|
30986
31311
|
},
|
|
30987
|
-
"
|
|
30988
|
-
name: "(
|
|
31312
|
+
"8": {
|
|
31313
|
+
name: "(anonymous_8)",
|
|
30989
31314
|
decl: {
|
|
30990
31315
|
start: {
|
|
30991
|
-
line:
|
|
31316
|
+
line: 125,
|
|
30992
31317
|
column: 25
|
|
30993
31318
|
},
|
|
30994
31319
|
end: {
|
|
30995
|
-
line:
|
|
31320
|
+
line: 125,
|
|
30996
31321
|
column: 26
|
|
30997
31322
|
}
|
|
30998
31323
|
},
|
|
30999
31324
|
loc: {
|
|
31000
31325
|
start: {
|
|
31001
|
-
line:
|
|
31326
|
+
line: 125,
|
|
31002
31327
|
column: 47
|
|
31003
31328
|
},
|
|
31004
31329
|
end: {
|
|
31005
|
-
line:
|
|
31330
|
+
line: 128,
|
|
31006
31331
|
column: 9
|
|
31007
31332
|
}
|
|
31008
31333
|
},
|
|
31009
|
-
line:
|
|
31334
|
+
line: 125
|
|
31010
31335
|
},
|
|
31011
|
-
"
|
|
31012
|
-
name: "(
|
|
31336
|
+
"9": {
|
|
31337
|
+
name: "(anonymous_9)",
|
|
31013
31338
|
decl: {
|
|
31014
31339
|
start: {
|
|
31015
|
-
line:
|
|
31340
|
+
line: 131,
|
|
31016
31341
|
column: 14
|
|
31017
31342
|
},
|
|
31018
31343
|
end: {
|
|
31019
|
-
line:
|
|
31344
|
+
line: 131,
|
|
31020
31345
|
column: 15
|
|
31021
31346
|
}
|
|
31022
31347
|
},
|
|
31023
31348
|
loc: {
|
|
31024
31349
|
start: {
|
|
31025
|
-
line:
|
|
31350
|
+
line: 132,
|
|
31026
31351
|
column: 6
|
|
31027
31352
|
},
|
|
31028
31353
|
end: {
|
|
31029
|
-
line:
|
|
31354
|
+
line: 132,
|
|
31030
31355
|
column: 69
|
|
31031
31356
|
}
|
|
31032
31357
|
},
|
|
31033
|
-
line:
|
|
31358
|
+
line: 132
|
|
31034
31359
|
},
|
|
31035
|
-
"
|
|
31036
|
-
name: "(
|
|
31360
|
+
"10": {
|
|
31361
|
+
name: "(anonymous_10)",
|
|
31037
31362
|
decl: {
|
|
31038
31363
|
start: {
|
|
31039
|
-
line:
|
|
31364
|
+
line: 133,
|
|
31040
31365
|
column: 14
|
|
31041
31366
|
},
|
|
31042
31367
|
end: {
|
|
31043
|
-
line:
|
|
31368
|
+
line: 133,
|
|
31044
31369
|
column: 15
|
|
31045
31370
|
}
|
|
31046
31371
|
},
|
|
31047
31372
|
loc: {
|
|
31048
31373
|
start: {
|
|
31049
|
-
line:
|
|
31374
|
+
line: 133,
|
|
31050
31375
|
column: 20
|
|
31051
31376
|
},
|
|
31052
31377
|
end: {
|
|
31053
|
-
line:
|
|
31378
|
+
line: 135,
|
|
31054
31379
|
column: 5
|
|
31055
31380
|
}
|
|
31056
31381
|
},
|
|
31057
|
-
line:
|
|
31382
|
+
line: 133
|
|
31058
31383
|
},
|
|
31059
|
-
"
|
|
31060
|
-
name: "(
|
|
31384
|
+
"11": {
|
|
31385
|
+
name: "(anonymous_11)",
|
|
31061
31386
|
decl: {
|
|
31062
31387
|
start: {
|
|
31063
|
-
line:
|
|
31388
|
+
line: 149,
|
|
31064
31389
|
column: 17
|
|
31065
31390
|
},
|
|
31066
31391
|
end: {
|
|
31067
|
-
line:
|
|
31392
|
+
line: 149,
|
|
31068
31393
|
column: 18
|
|
31069
31394
|
}
|
|
31070
31395
|
},
|
|
31071
31396
|
loc: {
|
|
31072
31397
|
start: {
|
|
31073
|
-
line:
|
|
31398
|
+
line: 149,
|
|
31074
31399
|
column: 23
|
|
31075
31400
|
},
|
|
31076
31401
|
end: {
|
|
31077
|
-
line:
|
|
31402
|
+
line: 149,
|
|
31078
31403
|
column: 51
|
|
31079
31404
|
}
|
|
31080
31405
|
},
|
|
31081
|
-
line:
|
|
31406
|
+
line: 149
|
|
31082
31407
|
},
|
|
31083
|
-
"
|
|
31084
|
-
name: "(
|
|
31408
|
+
"12": {
|
|
31409
|
+
name: "(anonymous_12)",
|
|
31085
31410
|
decl: {
|
|
31086
31411
|
start: {
|
|
31087
|
-
line:
|
|
31412
|
+
line: 150,
|
|
31088
31413
|
column: 18
|
|
31089
31414
|
},
|
|
31090
31415
|
end: {
|
|
31091
|
-
line:
|
|
31416
|
+
line: 150,
|
|
31092
31417
|
column: 19
|
|
31093
31418
|
}
|
|
31094
31419
|
},
|
|
31095
31420
|
loc: {
|
|
31096
31421
|
start: {
|
|
31097
|
-
line:
|
|
31422
|
+
line: 150,
|
|
31098
31423
|
column: 24
|
|
31099
31424
|
},
|
|
31100
31425
|
end: {
|
|
31101
|
-
line:
|
|
31426
|
+
line: 157,
|
|
31102
31427
|
column: 9
|
|
31103
31428
|
}
|
|
31104
31429
|
},
|
|
31105
|
-
line:
|
|
31430
|
+
line: 150
|
|
31106
31431
|
},
|
|
31107
|
-
"
|
|
31108
|
-
name: "(
|
|
31432
|
+
"13": {
|
|
31433
|
+
name: "(anonymous_13)",
|
|
31109
31434
|
decl: {
|
|
31110
31435
|
start: {
|
|
31111
|
-
line:
|
|
31436
|
+
line: 162,
|
|
31112
31437
|
column: 13
|
|
31113
31438
|
},
|
|
31114
31439
|
end: {
|
|
31115
|
-
line:
|
|
31440
|
+
line: 162,
|
|
31116
31441
|
column: 14
|
|
31117
31442
|
}
|
|
31118
31443
|
},
|
|
31119
31444
|
loc: {
|
|
31120
31445
|
start: {
|
|
31121
|
-
line:
|
|
31446
|
+
line: 163,
|
|
31122
31447
|
column: 14
|
|
31123
31448
|
},
|
|
31124
31449
|
end: {
|
|
31125
|
-
line:
|
|
31450
|
+
line: 192,
|
|
31126
31451
|
column: 17
|
|
31127
31452
|
}
|
|
31128
31453
|
},
|
|
31129
|
-
line:
|
|
31454
|
+
line: 163
|
|
31130
31455
|
},
|
|
31131
|
-
"
|
|
31132
|
-
name: "(
|
|
31456
|
+
"14": {
|
|
31457
|
+
name: "(anonymous_14)",
|
|
31133
31458
|
decl: {
|
|
31134
31459
|
start: {
|
|
31135
|
-
line:
|
|
31460
|
+
line: 165,
|
|
31136
31461
|
column: 29
|
|
31137
31462
|
},
|
|
31138
31463
|
end: {
|
|
31139
|
-
line:
|
|
31464
|
+
line: 165,
|
|
31140
31465
|
column: 30
|
|
31141
31466
|
}
|
|
31142
31467
|
},
|
|
31143
31468
|
loc: {
|
|
31144
31469
|
start: {
|
|
31145
|
-
line:
|
|
31470
|
+
line: 166,
|
|
31146
31471
|
column: 20
|
|
31147
31472
|
},
|
|
31148
31473
|
end: {
|
|
31149
|
-
line:
|
|
31474
|
+
line: 171,
|
|
31150
31475
|
column: 22
|
|
31151
31476
|
}
|
|
31152
31477
|
},
|
|
31153
|
-
line:
|
|
31478
|
+
line: 166
|
|
31154
31479
|
},
|
|
31155
|
-
"
|
|
31156
|
-
name: "(
|
|
31480
|
+
"15": {
|
|
31481
|
+
name: "(anonymous_15)",
|
|
31157
31482
|
decl: {
|
|
31158
31483
|
start: {
|
|
31159
|
-
line:
|
|
31484
|
+
line: 189,
|
|
31160
31485
|
column: 30
|
|
31161
31486
|
},
|
|
31162
31487
|
end: {
|
|
31163
|
-
line:
|
|
31488
|
+
line: 189,
|
|
31164
31489
|
column: 31
|
|
31165
31490
|
}
|
|
31166
31491
|
},
|
|
31167
31492
|
loc: {
|
|
31168
31493
|
start: {
|
|
31169
|
-
line:
|
|
31494
|
+
line: 189,
|
|
31170
31495
|
column: 38
|
|
31171
31496
|
},
|
|
31172
31497
|
end: {
|
|
31173
|
-
line:
|
|
31498
|
+
line: 189,
|
|
31174
31499
|
column: 65
|
|
31175
31500
|
}
|
|
31176
31501
|
},
|
|
31177
|
-
line:
|
|
31502
|
+
line: 189
|
|
31178
31503
|
},
|
|
31179
|
-
"
|
|
31180
|
-
name: "(
|
|
31504
|
+
"16": {
|
|
31505
|
+
name: "(anonymous_16)",
|
|
31181
31506
|
decl: {
|
|
31182
31507
|
start: {
|
|
31183
|
-
line:
|
|
31508
|
+
line: 200,
|
|
31184
31509
|
column: 24
|
|
31185
31510
|
},
|
|
31186
31511
|
end: {
|
|
31187
|
-
line:
|
|
31512
|
+
line: 200,
|
|
31188
31513
|
column: 25
|
|
31189
31514
|
}
|
|
31190
31515
|
},
|
|
31191
31516
|
loc: {
|
|
31192
31517
|
start: {
|
|
31193
|
-
line:
|
|
31518
|
+
line: 200,
|
|
31194
31519
|
column: 32
|
|
31195
31520
|
},
|
|
31196
31521
|
end: {
|
|
31197
|
-
line:
|
|
31522
|
+
line: 206,
|
|
31198
31523
|
column: 15
|
|
31199
31524
|
}
|
|
31200
31525
|
},
|
|
31201
|
-
line:
|
|
31526
|
+
line: 200
|
|
31202
31527
|
}
|
|
31203
31528
|
},
|
|
31204
31529
|
branchMap: {
|
|
@@ -31280,266 +31605,266 @@ function cov_2e8k7gwd81() {
|
|
|
31280
31605
|
"2": {
|
|
31281
31606
|
loc: {
|
|
31282
31607
|
start: {
|
|
31283
|
-
line:
|
|
31608
|
+
line: 112,
|
|
31284
31609
|
column: 6
|
|
31285
31610
|
},
|
|
31286
31611
|
end: {
|
|
31287
|
-
line:
|
|
31612
|
+
line: 113,
|
|
31288
31613
|
column: 55
|
|
31289
31614
|
}
|
|
31290
31615
|
},
|
|
31291
31616
|
type: "binary-expr",
|
|
31292
31617
|
locations: [{
|
|
31293
31618
|
start: {
|
|
31294
|
-
line:
|
|
31619
|
+
line: 112,
|
|
31295
31620
|
column: 6
|
|
31296
31621
|
},
|
|
31297
31622
|
end: {
|
|
31298
|
-
line:
|
|
31623
|
+
line: 112,
|
|
31299
31624
|
column: 44
|
|
31300
31625
|
}
|
|
31301
31626
|
}, {
|
|
31302
31627
|
start: {
|
|
31303
|
-
line:
|
|
31628
|
+
line: 113,
|
|
31304
31629
|
column: 6
|
|
31305
31630
|
},
|
|
31306
31631
|
end: {
|
|
31307
|
-
line:
|
|
31632
|
+
line: 113,
|
|
31308
31633
|
column: 55
|
|
31309
31634
|
}
|
|
31310
31635
|
}],
|
|
31311
|
-
line:
|
|
31636
|
+
line: 112
|
|
31312
31637
|
},
|
|
31313
31638
|
"3": {
|
|
31314
31639
|
loc: {
|
|
31315
31640
|
start: {
|
|
31316
|
-
line:
|
|
31641
|
+
line: 112,
|
|
31317
31642
|
column: 21
|
|
31318
31643
|
},
|
|
31319
31644
|
end: {
|
|
31320
|
-
line:
|
|
31645
|
+
line: 112,
|
|
31321
31646
|
column: 43
|
|
31322
31647
|
}
|
|
31323
31648
|
},
|
|
31324
31649
|
type: "binary-expr",
|
|
31325
31650
|
locations: [{
|
|
31326
31651
|
start: {
|
|
31327
|
-
line:
|
|
31652
|
+
line: 112,
|
|
31328
31653
|
column: 21
|
|
31329
31654
|
},
|
|
31330
31655
|
end: {
|
|
31331
|
-
line:
|
|
31656
|
+
line: 112,
|
|
31332
31657
|
column: 32
|
|
31333
31658
|
}
|
|
31334
31659
|
}, {
|
|
31335
31660
|
start: {
|
|
31336
|
-
line:
|
|
31661
|
+
line: 112,
|
|
31337
31662
|
column: 36
|
|
31338
31663
|
},
|
|
31339
31664
|
end: {
|
|
31340
|
-
line:
|
|
31665
|
+
line: 112,
|
|
31341
31666
|
column: 43
|
|
31342
31667
|
}
|
|
31343
31668
|
}],
|
|
31344
|
-
line:
|
|
31669
|
+
line: 112
|
|
31345
31670
|
},
|
|
31346
31671
|
"4": {
|
|
31347
31672
|
loc: {
|
|
31348
31673
|
start: {
|
|
31349
|
-
line:
|
|
31674
|
+
line: 113,
|
|
31350
31675
|
column: 21
|
|
31351
31676
|
},
|
|
31352
31677
|
end: {
|
|
31353
|
-
line:
|
|
31678
|
+
line: 113,
|
|
31354
31679
|
column: 43
|
|
31355
31680
|
}
|
|
31356
31681
|
},
|
|
31357
31682
|
type: "binary-expr",
|
|
31358
31683
|
locations: [{
|
|
31359
31684
|
start: {
|
|
31360
|
-
line:
|
|
31685
|
+
line: 113,
|
|
31361
31686
|
column: 21
|
|
31362
31687
|
},
|
|
31363
31688
|
end: {
|
|
31364
|
-
line:
|
|
31689
|
+
line: 113,
|
|
31365
31690
|
column: 32
|
|
31366
31691
|
}
|
|
31367
31692
|
}, {
|
|
31368
31693
|
start: {
|
|
31369
|
-
line:
|
|
31694
|
+
line: 113,
|
|
31370
31695
|
column: 36
|
|
31371
31696
|
},
|
|
31372
31697
|
end: {
|
|
31373
|
-
line:
|
|
31698
|
+
line: 113,
|
|
31374
31699
|
column: 43
|
|
31375
31700
|
}
|
|
31376
31701
|
}],
|
|
31377
|
-
line:
|
|
31702
|
+
line: 113
|
|
31378
31703
|
},
|
|
31379
31704
|
"5": {
|
|
31380
31705
|
loc: {
|
|
31381
31706
|
start: {
|
|
31382
|
-
line:
|
|
31707
|
+
line: 115,
|
|
31383
31708
|
column: 27
|
|
31384
31709
|
},
|
|
31385
31710
|
end: {
|
|
31386
|
-
line:
|
|
31711
|
+
line: 115,
|
|
31387
31712
|
column: 49
|
|
31388
31713
|
}
|
|
31389
31714
|
},
|
|
31390
31715
|
type: "binary-expr",
|
|
31391
31716
|
locations: [{
|
|
31392
31717
|
start: {
|
|
31393
|
-
line:
|
|
31718
|
+
line: 115,
|
|
31394
31719
|
column: 27
|
|
31395
31720
|
},
|
|
31396
31721
|
end: {
|
|
31397
|
-
line:
|
|
31722
|
+
line: 115,
|
|
31398
31723
|
column: 38
|
|
31399
31724
|
}
|
|
31400
31725
|
}, {
|
|
31401
31726
|
start: {
|
|
31402
|
-
line:
|
|
31727
|
+
line: 115,
|
|
31403
31728
|
column: 42
|
|
31404
31729
|
},
|
|
31405
31730
|
end: {
|
|
31406
|
-
line:
|
|
31731
|
+
line: 115,
|
|
31407
31732
|
column: 49
|
|
31408
31733
|
}
|
|
31409
31734
|
}],
|
|
31410
|
-
line:
|
|
31735
|
+
line: 115
|
|
31411
31736
|
},
|
|
31412
31737
|
"6": {
|
|
31413
31738
|
loc: {
|
|
31414
31739
|
start: {
|
|
31415
|
-
line:
|
|
31740
|
+
line: 146,
|
|
31416
31741
|
column: 12
|
|
31417
31742
|
},
|
|
31418
31743
|
end: {
|
|
31419
|
-
line:
|
|
31744
|
+
line: 147,
|
|
31420
31745
|
column: 61
|
|
31421
31746
|
}
|
|
31422
31747
|
},
|
|
31423
31748
|
type: "binary-expr",
|
|
31424
31749
|
locations: [{
|
|
31425
31750
|
start: {
|
|
31426
|
-
line:
|
|
31751
|
+
line: 146,
|
|
31427
31752
|
column: 12
|
|
31428
31753
|
},
|
|
31429
31754
|
end: {
|
|
31430
|
-
line:
|
|
31755
|
+
line: 146,
|
|
31431
31756
|
column: 72
|
|
31432
31757
|
}
|
|
31433
31758
|
}, {
|
|
31434
31759
|
start: {
|
|
31435
|
-
line:
|
|
31760
|
+
line: 147,
|
|
31436
31761
|
column: 12
|
|
31437
31762
|
},
|
|
31438
31763
|
end: {
|
|
31439
|
-
line:
|
|
31764
|
+
line: 147,
|
|
31440
31765
|
column: 61
|
|
31441
31766
|
}
|
|
31442
31767
|
}],
|
|
31443
|
-
line:
|
|
31768
|
+
line: 146
|
|
31444
31769
|
},
|
|
31445
31770
|
"7": {
|
|
31446
31771
|
loc: {
|
|
31447
31772
|
start: {
|
|
31448
|
-
line:
|
|
31773
|
+
line: 160,
|
|
31449
31774
|
column: 9
|
|
31450
31775
|
},
|
|
31451
31776
|
end: {
|
|
31452
|
-
line:
|
|
31777
|
+
line: 209,
|
|
31453
31778
|
column: 9
|
|
31454
31779
|
}
|
|
31455
31780
|
},
|
|
31456
31781
|
type: "cond-expr",
|
|
31457
31782
|
locations: [{
|
|
31458
31783
|
start: {
|
|
31459
|
-
line:
|
|
31784
|
+
line: 161,
|
|
31460
31785
|
column: 10
|
|
31461
31786
|
},
|
|
31462
31787
|
end: {
|
|
31463
|
-
line:
|
|
31788
|
+
line: 194,
|
|
31464
31789
|
column: 23
|
|
31465
31790
|
}
|
|
31466
31791
|
}, {
|
|
31467
31792
|
start: {
|
|
31468
|
-
line:
|
|
31793
|
+
line: 196,
|
|
31469
31794
|
column: 10
|
|
31470
31795
|
},
|
|
31471
31796
|
end: {
|
|
31472
|
-
line:
|
|
31797
|
+
line: 208,
|
|
31473
31798
|
column: 29
|
|
31474
31799
|
}
|
|
31475
31800
|
}],
|
|
31476
|
-
line:
|
|
31801
|
+
line: 160
|
|
31477
31802
|
},
|
|
31478
31803
|
"8": {
|
|
31479
31804
|
loc: {
|
|
31480
31805
|
start: {
|
|
31481
|
-
line:
|
|
31806
|
+
line: 210,
|
|
31482
31807
|
column: 9
|
|
31483
31808
|
},
|
|
31484
31809
|
end: {
|
|
31485
|
-
line:
|
|
31810
|
+
line: 218,
|
|
31486
31811
|
column: 9
|
|
31487
31812
|
}
|
|
31488
31813
|
},
|
|
31489
31814
|
type: "binary-expr",
|
|
31490
31815
|
locations: [{
|
|
31491
31816
|
start: {
|
|
31492
|
-
line:
|
|
31817
|
+
line: 210,
|
|
31493
31818
|
column: 9
|
|
31494
31819
|
},
|
|
31495
31820
|
end: {
|
|
31496
|
-
line:
|
|
31821
|
+
line: 210,
|
|
31497
31822
|
column: 24
|
|
31498
31823
|
}
|
|
31499
31824
|
}, {
|
|
31500
31825
|
start: {
|
|
31501
|
-
line:
|
|
31826
|
+
line: 211,
|
|
31502
31827
|
column: 10
|
|
31503
31828
|
},
|
|
31504
31829
|
end: {
|
|
31505
|
-
line:
|
|
31830
|
+
line: 217,
|
|
31506
31831
|
column: 12
|
|
31507
31832
|
}
|
|
31508
31833
|
}],
|
|
31509
|
-
line:
|
|
31834
|
+
line: 210
|
|
31510
31835
|
},
|
|
31511
31836
|
"9": {
|
|
31512
31837
|
loc: {
|
|
31513
31838
|
start: {
|
|
31514
|
-
line:
|
|
31839
|
+
line: 214,
|
|
31515
31840
|
column: 24
|
|
31516
31841
|
},
|
|
31517
31842
|
end: {
|
|
31518
|
-
line:
|
|
31843
|
+
line: 214,
|
|
31519
31844
|
column: 46
|
|
31520
31845
|
}
|
|
31521
31846
|
},
|
|
31522
31847
|
type: "binary-expr",
|
|
31523
31848
|
locations: [{
|
|
31524
31849
|
start: {
|
|
31525
|
-
line:
|
|
31850
|
+
line: 214,
|
|
31526
31851
|
column: 24
|
|
31527
31852
|
},
|
|
31528
31853
|
end: {
|
|
31529
|
-
line:
|
|
31854
|
+
line: 214,
|
|
31530
31855
|
column: 36
|
|
31531
31856
|
}
|
|
31532
31857
|
}, {
|
|
31533
31858
|
start: {
|
|
31534
|
-
line:
|
|
31859
|
+
line: 214,
|
|
31535
31860
|
column: 40
|
|
31536
31861
|
},
|
|
31537
31862
|
end: {
|
|
31538
|
-
line:
|
|
31863
|
+
line: 214,
|
|
31539
31864
|
column: 46
|
|
31540
31865
|
}
|
|
31541
31866
|
}],
|
|
31542
|
-
line:
|
|
31867
|
+
line: 214
|
|
31543
31868
|
}
|
|
31544
31869
|
},
|
|
31545
31870
|
s: {
|
|
@@ -31579,9 +31904,7 @@ function cov_2e8k7gwd81() {
|
|
|
31579
31904
|
"33": 0,
|
|
31580
31905
|
"34": 0,
|
|
31581
31906
|
"35": 0,
|
|
31582
|
-
"36": 0
|
|
31583
|
-
"37": 0,
|
|
31584
|
-
"38": 0
|
|
31907
|
+
"36": 0
|
|
31585
31908
|
},
|
|
31586
31909
|
f: {
|
|
31587
31910
|
"0": 0,
|
|
@@ -31600,8 +31923,7 @@ function cov_2e8k7gwd81() {
|
|
|
31600
31923
|
"13": 0,
|
|
31601
31924
|
"14": 0,
|
|
31602
31925
|
"15": 0,
|
|
31603
|
-
"16": 0
|
|
31604
|
-
"17": 0
|
|
31926
|
+
"16": 0
|
|
31605
31927
|
},
|
|
31606
31928
|
b: {
|
|
31607
31929
|
"0": [0, 0, 0],
|
|
@@ -31616,7 +31938,7 @@ function cov_2e8k7gwd81() {
|
|
|
31616
31938
|
"9": [0, 0]
|
|
31617
31939
|
},
|
|
31618
31940
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31619
|
-
hash: "
|
|
31941
|
+
hash: "7c11acd7f0e5fde99d6d92b950980d529a13322c"
|
|
31620
31942
|
};
|
|
31621
31943
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
31622
31944
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -31643,8 +31965,8 @@ var Form = function Form(_ref) {
|
|
|
31643
31965
|
showActionBlock = _ref.showActionBlock,
|
|
31644
31966
|
formId = _ref.formId,
|
|
31645
31967
|
setShouldValidate = _ref.setShouldValidate,
|
|
31646
|
-
|
|
31647
|
-
|
|
31968
|
+
isDeletable = _ref.isDeletable,
|
|
31969
|
+
isRequiredField = _ref.isRequiredField,
|
|
31648
31970
|
submitButtonProps = _ref.submitButtonProps,
|
|
31649
31971
|
cancelButtonProps = _ref.cancelButtonProps,
|
|
31650
31972
|
isKindAlreadyActive = _ref.isKindAlreadyActive,
|
|
@@ -31717,16 +32039,10 @@ var Form = function Form(_ref) {
|
|
|
31717
32039
|
setFormFieldState(ramda.assoc(id, nextFieldState));
|
|
31718
32040
|
};
|
|
31719
32041
|
cov_2e8k7gwd81().s[19]++;
|
|
31720
|
-
var isRequiredField = function isRequiredField(kind) {
|
|
31721
|
-
cov_2e8k7gwd81().f[5]++;
|
|
31722
|
-
cov_2e8k7gwd81().s[20]++;
|
|
31723
|
-
return requiredFields.includes(kind);
|
|
31724
|
-
};
|
|
31725
|
-
cov_2e8k7gwd81().s[21]++;
|
|
31726
32042
|
var formProps = function formProps(item, index, insert) {
|
|
31727
32043
|
var _ref10, _ref11;
|
|
31728
|
-
cov_2e8k7gwd81().f[
|
|
31729
|
-
cov_2e8k7gwd81().s[
|
|
32044
|
+
cov_2e8k7gwd81().f[5]++;
|
|
32045
|
+
cov_2e8k7gwd81().s[20]++;
|
|
31730
32046
|
return {
|
|
31731
32047
|
name: "questions.".concat(index),
|
|
31732
32048
|
questionKinds: availableQuestionKinds,
|
|
@@ -31735,35 +32051,35 @@ var Form = function Form(_ref) {
|
|
|
31735
32051
|
isExpanded: (cov_2e8k7gwd81().b[2][0]++, formFieldState[(_ref10 = (cov_2e8k7gwd81().b[3][0]++, item.nodeId)) !== null && _ref10 !== void 0 ? _ref10 : (cov_2e8k7gwd81().b[3][1]++, item.id)]) && (cov_2e8k7gwd81().b[2][1]++, formFieldState[(_ref11 = (cov_2e8k7gwd81().b[4][0]++, item.nodeId)) !== null && _ref11 !== void 0 ? _ref11 : (cov_2e8k7gwd81().b[4][1]++, item.id)].isExpanded),
|
|
31736
32052
|
onChangeExpanded: function onChangeExpanded(isExpanded) {
|
|
31737
32053
|
var _ref12;
|
|
31738
|
-
cov_2e8k7gwd81().f[
|
|
31739
|
-
cov_2e8k7gwd81().s[
|
|
32054
|
+
cov_2e8k7gwd81().f[6]++;
|
|
32055
|
+
cov_2e8k7gwd81().s[21]++;
|
|
31740
32056
|
return handleChangeExpanded((_ref12 = (cov_2e8k7gwd81().b[5][0]++, item.nodeId)) !== null && _ref12 !== void 0 ? _ref12 : (cov_2e8k7gwd81().b[5][1]++, item.id), isExpanded);
|
|
31741
32057
|
},
|
|
31742
32058
|
onDuplicate: function onDuplicate() {
|
|
31743
|
-
cov_2e8k7gwd81().f[
|
|
31744
|
-
var newQuestions = (cov_2e8k7gwd81().s[
|
|
31745
|
-
cov_2e8k7gwd81().s[
|
|
32059
|
+
cov_2e8k7gwd81().f[7]++;
|
|
32060
|
+
var newQuestions = (cov_2e8k7gwd81().s[22]++, ramda.insert(item.displayOrder, duplicateFieldData(item), values.questions));
|
|
32061
|
+
cov_2e8k7gwd81().s[23]++;
|
|
31746
32062
|
setFieldValue("questions", newQuestions.map(function (question, index) {
|
|
31747
|
-
cov_2e8k7gwd81().f[
|
|
31748
|
-
cov_2e8k7gwd81().s[
|
|
32063
|
+
cov_2e8k7gwd81().f[8]++;
|
|
32064
|
+
cov_2e8k7gwd81().s[24]++;
|
|
31749
32065
|
return _objectSpread$9(_objectSpread$9({}, question), {}, {
|
|
31750
32066
|
displayOrder: index + 1
|
|
31751
32067
|
});
|
|
31752
32068
|
}));
|
|
31753
32069
|
},
|
|
31754
32070
|
onAddNew: function onAddNew(kind) {
|
|
31755
|
-
cov_2e8k7gwd81().f[
|
|
31756
|
-
cov_2e8k7gwd81().s[
|
|
31757
|
-
return insert(index + 1, createFieldData(kind, isRequiredField(
|
|
32071
|
+
cov_2e8k7gwd81().f[9]++;
|
|
32072
|
+
cov_2e8k7gwd81().s[25]++;
|
|
32073
|
+
return insert(index + 1, createFieldData(kind, isRequiredField(item)));
|
|
31758
32074
|
},
|
|
31759
32075
|
onRemove: function onRemove() {
|
|
31760
|
-
cov_2e8k7gwd81().f[
|
|
31761
|
-
cov_2e8k7gwd81().s[
|
|
32076
|
+
cov_2e8k7gwd81().f[10]++;
|
|
32077
|
+
cov_2e8k7gwd81().s[26]++;
|
|
31762
32078
|
setDeleteQuestionIndex(index);
|
|
31763
32079
|
}
|
|
31764
32080
|
};
|
|
31765
32081
|
};
|
|
31766
|
-
cov_2e8k7gwd81().s[
|
|
32082
|
+
cov_2e8k7gwd81().s[27]++;
|
|
31767
32083
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
|
|
31768
32084
|
isOpen: deleteQuestionIndex !== null,
|
|
31769
32085
|
message: t("questions.deleteAlert.message"),
|
|
@@ -31772,16 +32088,16 @@ var Form = function Form(_ref) {
|
|
|
31772
32088
|
label: (_ref13 = (cov_2e8k7gwd81().b[6][0]++, INDEPENDENT_LABELS_MAP[(_questions$deleteQues = questions[deleteQuestionIndex]) === null || _questions$deleteQues === void 0 ? void 0 : _questions$deleteQues.kind])) !== null && _ref13 !== void 0 ? _ref13 : (cov_2e8k7gwd81().b[6][1]++, sliceLabel((_questions$deleteQues2 = questions[deleteQuestionIndex]) === null || _questions$deleteQues2 === void 0 ? void 0 : _questions$deleteQues2.label))
|
|
31773
32089
|
}),
|
|
31774
32090
|
onClose: function onClose() {
|
|
31775
|
-
cov_2e8k7gwd81().f[
|
|
31776
|
-
cov_2e8k7gwd81().s[
|
|
32091
|
+
cov_2e8k7gwd81().f[11]++;
|
|
32092
|
+
cov_2e8k7gwd81().s[28]++;
|
|
31777
32093
|
return setDeleteQuestionIndex(null);
|
|
31778
32094
|
},
|
|
31779
32095
|
onSubmit: function onSubmit() {
|
|
31780
|
-
cov_2e8k7gwd81().f[
|
|
31781
|
-
var nextQuestions = (cov_2e8k7gwd81().s[
|
|
31782
|
-
cov_2e8k7gwd81().s[
|
|
32096
|
+
cov_2e8k7gwd81().f[12]++;
|
|
32097
|
+
var nextQuestions = (cov_2e8k7gwd81().s[29]++, formHelpers.destroyFromList(questions, deleteQuestionIndex));
|
|
32098
|
+
cov_2e8k7gwd81().s[30]++;
|
|
31783
32099
|
setFieldValue("questions", nextQuestions, false);
|
|
31784
|
-
cov_2e8k7gwd81().s[
|
|
32100
|
+
cov_2e8k7gwd81().s[31]++;
|
|
31785
32101
|
setDeleteQuestionIndex(null);
|
|
31786
32102
|
}
|
|
31787
32103
|
}), /*#__PURE__*/React__default["default"].createElement(formik.Form, _extends$9({}, formDomProps, {
|
|
@@ -31791,14 +32107,14 @@ var Form = function Form(_ref) {
|
|
|
31791
32107
|
}, function (_ref14) {
|
|
31792
32108
|
var insert = _ref14.insert,
|
|
31793
32109
|
push = _ref14.push;
|
|
31794
|
-
cov_2e8k7gwd81().f[
|
|
31795
|
-
cov_2e8k7gwd81().s[
|
|
32110
|
+
cov_2e8k7gwd81().f[13]++;
|
|
32111
|
+
cov_2e8k7gwd81().s[32]++;
|
|
31796
32112
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(DragDropContext, {
|
|
31797
32113
|
onDragEnd: function onDragEnd(_ref15) {
|
|
31798
32114
|
var source = _ref15.source,
|
|
31799
32115
|
destination = _ref15.destination;
|
|
31800
|
-
cov_2e8k7gwd81().f[
|
|
31801
|
-
cov_2e8k7gwd81().s[
|
|
32116
|
+
cov_2e8k7gwd81().f[14]++;
|
|
32117
|
+
cov_2e8k7gwd81().s[33]++;
|
|
31802
32118
|
return handleFieldDragEnd({
|
|
31803
32119
|
source: source,
|
|
31804
32120
|
destination: destination,
|
|
@@ -31811,9 +32127,9 @@ var Form = function Form(_ref) {
|
|
|
31811
32127
|
formProps: formProps,
|
|
31812
32128
|
getActiveKindDetails: getActiveKindDetails,
|
|
31813
32129
|
insert: insert,
|
|
32130
|
+
isDeletable: isDeletable,
|
|
31814
32131
|
isRequiredField: isRequiredField,
|
|
31815
32132
|
kindUniqueOn: kindUniqueOn,
|
|
31816
|
-
nonRemovableFields: nonRemovableFields,
|
|
31817
32133
|
questions: questions
|
|
31818
32134
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31819
32135
|
className: "mb-8 w-full"
|
|
@@ -31821,8 +32137,8 @@ var Form = function Form(_ref) {
|
|
|
31821
32137
|
kindUniqueOn: kindUniqueOn,
|
|
31822
32138
|
questionKinds: availableQuestionKinds,
|
|
31823
32139
|
onSelect: function onSelect(kind) {
|
|
31824
|
-
cov_2e8k7gwd81().f[
|
|
31825
|
-
cov_2e8k7gwd81().s[
|
|
32140
|
+
cov_2e8k7gwd81().f[15]++;
|
|
32141
|
+
cov_2e8k7gwd81().s[34]++;
|
|
31826
32142
|
return push(createFieldData(kind));
|
|
31827
32143
|
}
|
|
31828
32144
|
})));
|
|
@@ -31830,9 +32146,9 @@ var Form = function Form(_ref) {
|
|
|
31830
32146
|
kindUniqueOn: kindUniqueOn,
|
|
31831
32147
|
questionKinds: availableQuestionKinds,
|
|
31832
32148
|
onSelect: function onSelect(kind) {
|
|
31833
|
-
cov_2e8k7gwd81().f[
|
|
31834
|
-
var nextQuestions = (cov_2e8k7gwd81().s[
|
|
31835
|
-
cov_2e8k7gwd81().s[
|
|
32149
|
+
cov_2e8k7gwd81().f[16]++;
|
|
32150
|
+
var nextQuestions = (cov_2e8k7gwd81().s[35]++, formHelpers.pushToList(questions, createFieldData(kind)));
|
|
32151
|
+
cov_2e8k7gwd81().s[36]++;
|
|
31836
32152
|
setFieldValue("questions", nextQuestions, false);
|
|
31837
32153
|
}
|
|
31838
32154
|
}))), (cov_2e8k7gwd81().b[8][0]++, showActionBlock) && (cov_2e8k7gwd81().b[8][1]++, /*#__PURE__*/React__default["default"].createElement(formik$1.ActionBlock, {
|
|
@@ -32194,7 +32510,7 @@ var formValidationSchema = (cov_13igvew484().s[2]++, yup.object().shape({
|
|
|
32194
32510
|
|
|
32195
32511
|
function cov_2nbnnlcv5p() {
|
|
32196
32512
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/index.jsx";
|
|
32197
|
-
var hash = "
|
|
32513
|
+
var hash = "3f91bb4f96e8987cc816d9501ef4ff5ac168630d";
|
|
32198
32514
|
var global = new Function("return this")();
|
|
32199
32515
|
var gcv = "__coverage__";
|
|
32200
32516
|
var coverageData = {
|
|
@@ -32206,93 +32522,93 @@ function cov_2nbnnlcv5p() {
|
|
|
32206
32522
|
column: 18
|
|
32207
32523
|
},
|
|
32208
32524
|
end: {
|
|
32209
|
-
line:
|
|
32525
|
+
line: 158,
|
|
32210
32526
|
column: 1
|
|
32211
32527
|
}
|
|
32212
32528
|
},
|
|
32213
32529
|
"1": {
|
|
32214
32530
|
start: {
|
|
32215
|
-
line:
|
|
32531
|
+
line: 38,
|
|
32216
32532
|
column: 54
|
|
32217
32533
|
},
|
|
32218
32534
|
end: {
|
|
32219
|
-
line:
|
|
32535
|
+
line: 38,
|
|
32220
32536
|
column: 69
|
|
32221
32537
|
}
|
|
32222
32538
|
},
|
|
32223
32539
|
"2": {
|
|
32224
32540
|
start: {
|
|
32225
|
-
line:
|
|
32541
|
+
line: 40,
|
|
32226
32542
|
column: 22
|
|
32227
32543
|
},
|
|
32228
32544
|
end: {
|
|
32229
|
-
line:
|
|
32545
|
+
line: 40,
|
|
32230
32546
|
column: 38
|
|
32231
32547
|
}
|
|
32232
32548
|
},
|
|
32233
32549
|
"3": {
|
|
32234
32550
|
start: {
|
|
32235
|
-
line:
|
|
32551
|
+
line: 42,
|
|
32236
32552
|
column: 43
|
|
32237
32553
|
},
|
|
32238
32554
|
end: {
|
|
32239
|
-
line:
|
|
32555
|
+
line: 47,
|
|
32240
32556
|
column: 4
|
|
32241
32557
|
}
|
|
32242
32558
|
},
|
|
32243
32559
|
"4": {
|
|
32244
32560
|
start: {
|
|
32245
|
-
line:
|
|
32561
|
+
line: 44,
|
|
32246
32562
|
column: 22
|
|
32247
32563
|
},
|
|
32248
32564
|
end: {
|
|
32249
|
-
line:
|
|
32565
|
+
line: 44,
|
|
32250
32566
|
column: 41
|
|
32251
32567
|
}
|
|
32252
32568
|
},
|
|
32253
32569
|
"5": {
|
|
32254
32570
|
start: {
|
|
32255
|
-
line:
|
|
32571
|
+
line: 46,
|
|
32256
32572
|
column: 6
|
|
32257
32573
|
},
|
|
32258
32574
|
end: {
|
|
32259
|
-
line:
|
|
32575
|
+
line: 46,
|
|
32260
32576
|
column: 28
|
|
32261
32577
|
}
|
|
32262
32578
|
},
|
|
32263
32579
|
"6": {
|
|
32264
32580
|
start: {
|
|
32265
|
-
line:
|
|
32581
|
+
line: 55,
|
|
32266
32582
|
column: 6
|
|
32267
32583
|
},
|
|
32268
32584
|
end: {
|
|
32269
|
-
line:
|
|
32585
|
+
line: 73,
|
|
32270
32586
|
column: 4
|
|
32271
32587
|
}
|
|
32272
32588
|
},
|
|
32273
32589
|
"7": {
|
|
32274
32590
|
start: {
|
|
32275
|
-
line:
|
|
32591
|
+
line: 57,
|
|
32276
32592
|
column: 23
|
|
32277
32593
|
},
|
|
32278
32594
|
end: {
|
|
32279
|
-
line:
|
|
32595
|
+
line: 57,
|
|
32280
32596
|
column: 39
|
|
32281
32597
|
}
|
|
32282
32598
|
},
|
|
32283
32599
|
"8": {
|
|
32284
32600
|
start: {
|
|
32285
|
-
line:
|
|
32286
|
-
column:
|
|
32601
|
+
line: 75,
|
|
32602
|
+
column: 2
|
|
32287
32603
|
},
|
|
32288
32604
|
end: {
|
|
32289
|
-
line:
|
|
32290
|
-
column:
|
|
32605
|
+
line: 81,
|
|
32606
|
+
column: 3
|
|
32291
32607
|
}
|
|
32292
32608
|
},
|
|
32293
32609
|
"9": {
|
|
32294
32610
|
start: {
|
|
32295
|
-
line:
|
|
32611
|
+
line: 76,
|
|
32296
32612
|
column: 4
|
|
32297
32613
|
},
|
|
32298
32614
|
end: {
|
|
@@ -32302,101 +32618,141 @@ function cov_2nbnnlcv5p() {
|
|
|
32302
32618
|
},
|
|
32303
32619
|
"10": {
|
|
32304
32620
|
start: {
|
|
32305
|
-
line:
|
|
32621
|
+
line: 83,
|
|
32622
|
+
column: 23
|
|
32623
|
+
},
|
|
32624
|
+
end: {
|
|
32625
|
+
line: 90,
|
|
32626
|
+
column: 6
|
|
32627
|
+
}
|
|
32628
|
+
},
|
|
32629
|
+
"11": {
|
|
32630
|
+
start: {
|
|
32631
|
+
line: 84,
|
|
32632
|
+
column: 4
|
|
32633
|
+
},
|
|
32634
|
+
end: {
|
|
32635
|
+
line: 90,
|
|
32636
|
+
column: 6
|
|
32637
|
+
}
|
|
32638
|
+
},
|
|
32639
|
+
"12": {
|
|
32640
|
+
start: {
|
|
32641
|
+
line: 92,
|
|
32306
32642
|
column: 24
|
|
32307
32643
|
},
|
|
32308
32644
|
end: {
|
|
32309
|
-
line:
|
|
32645
|
+
line: 104,
|
|
32310
32646
|
column: 3
|
|
32311
32647
|
}
|
|
32312
32648
|
},
|
|
32313
|
-
"
|
|
32649
|
+
"13": {
|
|
32314
32650
|
start: {
|
|
32315
|
-
line:
|
|
32651
|
+
line: 93,
|
|
32316
32652
|
column: 32
|
|
32317
32653
|
},
|
|
32318
32654
|
end: {
|
|
32319
|
-
line:
|
|
32655
|
+
line: 96,
|
|
32320
32656
|
column: 6
|
|
32321
32657
|
}
|
|
32322
32658
|
},
|
|
32323
|
-
"
|
|
32659
|
+
"14": {
|
|
32324
32660
|
start: {
|
|
32325
|
-
line:
|
|
32661
|
+
line: 98,
|
|
32326
32662
|
column: 4
|
|
32327
32663
|
},
|
|
32328
32664
|
end: {
|
|
32329
|
-
line:
|
|
32665
|
+
line: 103,
|
|
32330
32666
|
column: 5
|
|
32331
32667
|
}
|
|
32332
32668
|
},
|
|
32333
|
-
"
|
|
32669
|
+
"15": {
|
|
32334
32670
|
start: {
|
|
32335
|
-
line:
|
|
32671
|
+
line: 99,
|
|
32336
32672
|
column: 6
|
|
32337
32673
|
},
|
|
32338
32674
|
end: {
|
|
32339
|
-
line:
|
|
32675
|
+
line: 102,
|
|
32340
32676
|
column: 8
|
|
32341
32677
|
}
|
|
32342
32678
|
},
|
|
32343
|
-
"
|
|
32679
|
+
"16": {
|
|
32344
32680
|
start: {
|
|
32345
|
-
line:
|
|
32346
|
-
column:
|
|
32681
|
+
line: 107,
|
|
32682
|
+
column: 4
|
|
32347
32683
|
},
|
|
32348
32684
|
end: {
|
|
32349
|
-
line:
|
|
32350
|
-
column:
|
|
32685
|
+
line: 108,
|
|
32686
|
+
column: 61
|
|
32351
32687
|
}
|
|
32352
32688
|
},
|
|
32353
|
-
"
|
|
32689
|
+
"17": {
|
|
32354
32690
|
start: {
|
|
32355
|
-
line:
|
|
32691
|
+
line: 108,
|
|
32692
|
+
column: 17
|
|
32693
|
+
},
|
|
32694
|
+
end: {
|
|
32695
|
+
line: 108,
|
|
32696
|
+
column: 60
|
|
32697
|
+
}
|
|
32698
|
+
},
|
|
32699
|
+
"18": {
|
|
32700
|
+
start: {
|
|
32701
|
+
line: 111,
|
|
32356
32702
|
column: 4
|
|
32357
32703
|
},
|
|
32358
32704
|
end: {
|
|
32359
|
-
line:
|
|
32360
|
-
column:
|
|
32705
|
+
line: 111,
|
|
32706
|
+
column: 68
|
|
32361
32707
|
}
|
|
32362
32708
|
},
|
|
32363
|
-
"
|
|
32709
|
+
"19": {
|
|
32364
32710
|
start: {
|
|
32365
|
-
line:
|
|
32711
|
+
line: 111,
|
|
32712
|
+
column: 38
|
|
32713
|
+
},
|
|
32714
|
+
end: {
|
|
32715
|
+
line: 111,
|
|
32716
|
+
column: 67
|
|
32717
|
+
}
|
|
32718
|
+
},
|
|
32719
|
+
"20": {
|
|
32720
|
+
start: {
|
|
32721
|
+
line: 113,
|
|
32366
32722
|
column: 2
|
|
32367
32723
|
},
|
|
32368
32724
|
end: {
|
|
32369
|
-
line:
|
|
32725
|
+
line: 157,
|
|
32370
32726
|
column: 4
|
|
32371
32727
|
}
|
|
32372
32728
|
},
|
|
32373
|
-
"
|
|
32729
|
+
"21": {
|
|
32374
32730
|
start: {
|
|
32375
|
-
line:
|
|
32731
|
+
line: 126,
|
|
32376
32732
|
column: 10
|
|
32377
32733
|
},
|
|
32378
32734
|
end: {
|
|
32379
|
-
line:
|
|
32735
|
+
line: 148,
|
|
32380
32736
|
column: 12
|
|
32381
32737
|
}
|
|
32382
32738
|
},
|
|
32383
|
-
"
|
|
32739
|
+
"22": {
|
|
32384
32740
|
start: {
|
|
32385
|
-
line:
|
|
32741
|
+
line: 144,
|
|
32386
32742
|
column: 14
|
|
32387
32743
|
},
|
|
32388
32744
|
end: {
|
|
32389
|
-
line:
|
|
32745
|
+
line: 146,
|
|
32390
32746
|
column: 15
|
|
32391
32747
|
}
|
|
32392
32748
|
},
|
|
32393
|
-
"
|
|
32749
|
+
"23": {
|
|
32394
32750
|
start: {
|
|
32395
|
-
line:
|
|
32751
|
+
line: 145,
|
|
32396
32752
|
column: 16
|
|
32397
32753
|
},
|
|
32398
32754
|
end: {
|
|
32399
|
-
line:
|
|
32755
|
+
line: 145,
|
|
32400
32756
|
column: 49
|
|
32401
32757
|
}
|
|
32402
32758
|
}
|
|
@@ -32416,183 +32772,231 @@ function cov_2nbnnlcv5p() {
|
|
|
32416
32772
|
},
|
|
32417
32773
|
loc: {
|
|
32418
32774
|
start: {
|
|
32419
|
-
line:
|
|
32775
|
+
line: 37,
|
|
32420
32776
|
column: 6
|
|
32421
32777
|
},
|
|
32422
32778
|
end: {
|
|
32423
|
-
line:
|
|
32779
|
+
line: 158,
|
|
32424
32780
|
column: 1
|
|
32425
32781
|
}
|
|
32426
32782
|
},
|
|
32427
|
-
line:
|
|
32783
|
+
line: 37
|
|
32428
32784
|
},
|
|
32429
32785
|
"1": {
|
|
32430
32786
|
name: "(anonymous_1)",
|
|
32431
32787
|
decl: {
|
|
32432
32788
|
start: {
|
|
32433
|
-
line:
|
|
32789
|
+
line: 44,
|
|
32434
32790
|
column: 13
|
|
32435
32791
|
},
|
|
32436
32792
|
end: {
|
|
32437
|
-
line:
|
|
32793
|
+
line: 44,
|
|
32438
32794
|
column: 14
|
|
32439
32795
|
}
|
|
32440
32796
|
},
|
|
32441
32797
|
loc: {
|
|
32442
32798
|
start: {
|
|
32443
|
-
line:
|
|
32799
|
+
line: 44,
|
|
32444
32800
|
column: 22
|
|
32445
32801
|
},
|
|
32446
32802
|
end: {
|
|
32447
|
-
line:
|
|
32803
|
+
line: 44,
|
|
32448
32804
|
column: 41
|
|
32449
32805
|
}
|
|
32450
32806
|
},
|
|
32451
|
-
line:
|
|
32807
|
+
line: 44
|
|
32452
32808
|
},
|
|
32453
32809
|
"2": {
|
|
32454
32810
|
name: "(anonymous_2)",
|
|
32455
32811
|
decl: {
|
|
32456
32812
|
start: {
|
|
32457
|
-
line:
|
|
32813
|
+
line: 45,
|
|
32458
32814
|
column: 15
|
|
32459
32815
|
},
|
|
32460
32816
|
end: {
|
|
32461
|
-
line:
|
|
32817
|
+
line: 45,
|
|
32462
32818
|
column: 16
|
|
32463
32819
|
}
|
|
32464
32820
|
},
|
|
32465
32821
|
loc: {
|
|
32466
32822
|
start: {
|
|
32467
|
-
line:
|
|
32823
|
+
line: 46,
|
|
32468
32824
|
column: 6
|
|
32469
32825
|
},
|
|
32470
32826
|
end: {
|
|
32471
|
-
line:
|
|
32827
|
+
line: 46,
|
|
32472
32828
|
column: 28
|
|
32473
32829
|
}
|
|
32474
32830
|
},
|
|
32475
|
-
line:
|
|
32831
|
+
line: 46
|
|
32476
32832
|
},
|
|
32477
32833
|
"3": {
|
|
32478
32834
|
name: "(anonymous_3)",
|
|
32479
32835
|
decl: {
|
|
32480
32836
|
start: {
|
|
32481
|
-
line:
|
|
32837
|
+
line: 57,
|
|
32482
32838
|
column: 15
|
|
32483
32839
|
},
|
|
32484
32840
|
end: {
|
|
32485
|
-
line:
|
|
32841
|
+
line: 57,
|
|
32486
32842
|
column: 16
|
|
32487
32843
|
}
|
|
32488
32844
|
},
|
|
32489
32845
|
loc: {
|
|
32490
32846
|
start: {
|
|
32491
|
-
line:
|
|
32847
|
+
line: 57,
|
|
32492
32848
|
column: 23
|
|
32493
32849
|
},
|
|
32494
32850
|
end: {
|
|
32495
|
-
line:
|
|
32851
|
+
line: 57,
|
|
32496
32852
|
column: 39
|
|
32497
32853
|
}
|
|
32498
32854
|
},
|
|
32499
|
-
line:
|
|
32855
|
+
line: 57
|
|
32500
32856
|
},
|
|
32501
32857
|
"4": {
|
|
32502
32858
|
name: "(anonymous_4)",
|
|
32503
32859
|
decl: {
|
|
32504
32860
|
start: {
|
|
32505
|
-
line:
|
|
32861
|
+
line: 83,
|
|
32506
32862
|
column: 23
|
|
32507
32863
|
},
|
|
32508
32864
|
end: {
|
|
32509
|
-
line:
|
|
32865
|
+
line: 83,
|
|
32510
32866
|
column: 24
|
|
32511
32867
|
}
|
|
32512
32868
|
},
|
|
32513
32869
|
loc: {
|
|
32514
32870
|
start: {
|
|
32515
|
-
line:
|
|
32871
|
+
line: 84,
|
|
32516
32872
|
column: 4
|
|
32517
32873
|
},
|
|
32518
32874
|
end: {
|
|
32519
|
-
line:
|
|
32875
|
+
line: 90,
|
|
32520
32876
|
column: 6
|
|
32521
32877
|
}
|
|
32522
32878
|
},
|
|
32523
|
-
line:
|
|
32879
|
+
line: 84
|
|
32524
32880
|
},
|
|
32525
32881
|
"5": {
|
|
32526
32882
|
name: "(anonymous_5)",
|
|
32527
32883
|
decl: {
|
|
32528
32884
|
start: {
|
|
32529
|
-
line:
|
|
32885
|
+
line: 92,
|
|
32530
32886
|
column: 24
|
|
32531
32887
|
},
|
|
32532
32888
|
end: {
|
|
32533
|
-
line:
|
|
32889
|
+
line: 92,
|
|
32534
32890
|
column: 25
|
|
32535
32891
|
}
|
|
32536
32892
|
},
|
|
32537
32893
|
loc: {
|
|
32538
32894
|
start: {
|
|
32539
|
-
line:
|
|
32895
|
+
line: 92,
|
|
32540
32896
|
column: 37
|
|
32541
32897
|
},
|
|
32542
32898
|
end: {
|
|
32543
|
-
line:
|
|
32899
|
+
line: 104,
|
|
32544
32900
|
column: 3
|
|
32545
32901
|
}
|
|
32546
32902
|
},
|
|
32547
|
-
line:
|
|
32903
|
+
line: 92
|
|
32548
32904
|
},
|
|
32549
32905
|
"6": {
|
|
32550
32906
|
name: "(anonymous_6)",
|
|
32551
32907
|
decl: {
|
|
32552
32908
|
start: {
|
|
32553
|
-
line:
|
|
32909
|
+
line: 108,
|
|
32910
|
+
column: 5
|
|
32911
|
+
},
|
|
32912
|
+
end: {
|
|
32913
|
+
line: 108,
|
|
32914
|
+
column: 6
|
|
32915
|
+
}
|
|
32916
|
+
},
|
|
32917
|
+
loc: {
|
|
32918
|
+
start: {
|
|
32919
|
+
line: 108,
|
|
32920
|
+
column: 17
|
|
32921
|
+
},
|
|
32922
|
+
end: {
|
|
32923
|
+
line: 108,
|
|
32924
|
+
column: 60
|
|
32925
|
+
}
|
|
32926
|
+
},
|
|
32927
|
+
line: 108
|
|
32928
|
+
},
|
|
32929
|
+
"7": {
|
|
32930
|
+
name: "(anonymous_7)",
|
|
32931
|
+
decl: {
|
|
32932
|
+
start: {
|
|
32933
|
+
line: 111,
|
|
32934
|
+
column: 24
|
|
32935
|
+
},
|
|
32936
|
+
end: {
|
|
32937
|
+
line: 111,
|
|
32938
|
+
column: 25
|
|
32939
|
+
}
|
|
32940
|
+
},
|
|
32941
|
+
loc: {
|
|
32942
|
+
start: {
|
|
32943
|
+
line: 111,
|
|
32944
|
+
column: 38
|
|
32945
|
+
},
|
|
32946
|
+
end: {
|
|
32947
|
+
line: 111,
|
|
32948
|
+
column: 67
|
|
32949
|
+
}
|
|
32950
|
+
},
|
|
32951
|
+
line: 111
|
|
32952
|
+
},
|
|
32953
|
+
"8": {
|
|
32954
|
+
name: "(anonymous_8)",
|
|
32955
|
+
decl: {
|
|
32956
|
+
start: {
|
|
32957
|
+
line: 125,
|
|
32554
32958
|
column: 9
|
|
32555
32959
|
},
|
|
32556
32960
|
end: {
|
|
32557
|
-
line:
|
|
32961
|
+
line: 125,
|
|
32558
32962
|
column: 10
|
|
32559
32963
|
}
|
|
32560
32964
|
},
|
|
32561
32965
|
loc: {
|
|
32562
32966
|
start: {
|
|
32563
|
-
line:
|
|
32967
|
+
line: 126,
|
|
32564
32968
|
column: 10
|
|
32565
32969
|
},
|
|
32566
32970
|
end: {
|
|
32567
|
-
line:
|
|
32971
|
+
line: 148,
|
|
32568
32972
|
column: 12
|
|
32569
32973
|
}
|
|
32570
32974
|
},
|
|
32571
|
-
line:
|
|
32975
|
+
line: 126
|
|
32572
32976
|
},
|
|
32573
|
-
"
|
|
32574
|
-
name: "(
|
|
32977
|
+
"9": {
|
|
32978
|
+
name: "(anonymous_9)",
|
|
32575
32979
|
decl: {
|
|
32576
32980
|
start: {
|
|
32577
|
-
line:
|
|
32981
|
+
line: 143,
|
|
32578
32982
|
column: 22
|
|
32579
32983
|
},
|
|
32580
32984
|
end: {
|
|
32581
|
-
line:
|
|
32985
|
+
line: 143,
|
|
32582
32986
|
column: 23
|
|
32583
32987
|
}
|
|
32584
32988
|
},
|
|
32585
32989
|
loc: {
|
|
32586
32990
|
start: {
|
|
32587
|
-
line:
|
|
32991
|
+
line: 143,
|
|
32588
32992
|
column: 31
|
|
32589
32993
|
},
|
|
32590
32994
|
end: {
|
|
32591
|
-
line:
|
|
32995
|
+
line: 147,
|
|
32592
32996
|
column: 13
|
|
32593
32997
|
}
|
|
32594
32998
|
},
|
|
32595
|
-
line:
|
|
32999
|
+
line: 143
|
|
32596
33000
|
}
|
|
32597
33001
|
},
|
|
32598
33002
|
branchMap: {
|
|
@@ -32767,119 +33171,119 @@ function cov_2nbnnlcv5p() {
|
|
|
32767
33171
|
"7": {
|
|
32768
33172
|
loc: {
|
|
32769
33173
|
start: {
|
|
32770
|
-
line:
|
|
33174
|
+
line: 35,
|
|
32771
33175
|
column: 2
|
|
32772
33176
|
},
|
|
32773
33177
|
end: {
|
|
32774
|
-
line:
|
|
33178
|
+
line: 35,
|
|
32775
33179
|
column: 20
|
|
32776
33180
|
}
|
|
32777
33181
|
},
|
|
32778
33182
|
type: "default-arg",
|
|
32779
33183
|
locations: [{
|
|
32780
33184
|
start: {
|
|
32781
|
-
line:
|
|
33185
|
+
line: 35,
|
|
32782
33186
|
column: 15
|
|
32783
33187
|
},
|
|
32784
33188
|
end: {
|
|
32785
|
-
line:
|
|
33189
|
+
line: 35,
|
|
32786
33190
|
column: 20
|
|
32787
33191
|
}
|
|
32788
33192
|
}],
|
|
32789
|
-
line:
|
|
33193
|
+
line: 35
|
|
32790
33194
|
},
|
|
32791
33195
|
"8": {
|
|
32792
33196
|
loc: {
|
|
32793
33197
|
start: {
|
|
32794
|
-
line:
|
|
33198
|
+
line: 36,
|
|
32795
33199
|
column: 2
|
|
32796
33200
|
},
|
|
32797
33201
|
end: {
|
|
32798
|
-
line:
|
|
33202
|
+
line: 36,
|
|
32799
33203
|
column: 25
|
|
32800
33204
|
}
|
|
32801
33205
|
},
|
|
32802
33206
|
type: "default-arg",
|
|
32803
33207
|
locations: [{
|
|
32804
33208
|
start: {
|
|
32805
|
-
line:
|
|
33209
|
+
line: 36,
|
|
32806
33210
|
column: 17
|
|
32807
33211
|
},
|
|
32808
33212
|
end: {
|
|
32809
|
-
line:
|
|
33213
|
+
line: 36,
|
|
32810
33214
|
column: 25
|
|
32811
33215
|
}
|
|
32812
33216
|
}],
|
|
32813
|
-
line:
|
|
33217
|
+
line: 36
|
|
32814
33218
|
},
|
|
32815
33219
|
"9": {
|
|
32816
33220
|
loc: {
|
|
32817
33221
|
start: {
|
|
32818
|
-
line:
|
|
33222
|
+
line: 45,
|
|
32819
33223
|
column: 18
|
|
32820
33224
|
},
|
|
32821
33225
|
end: {
|
|
32822
|
-
line:
|
|
33226
|
+
line: 45,
|
|
32823
33227
|
column: 70
|
|
32824
33228
|
}
|
|
32825
33229
|
},
|
|
32826
33230
|
type: "default-arg",
|
|
32827
33231
|
locations: [{
|
|
32828
33232
|
start: {
|
|
32829
|
-
line:
|
|
33233
|
+
line: 45,
|
|
32830
33234
|
column: 27
|
|
32831
33235
|
},
|
|
32832
33236
|
end: {
|
|
32833
|
-
line:
|
|
33237
|
+
line: 45,
|
|
32834
33238
|
column: 70
|
|
32835
33239
|
}
|
|
32836
33240
|
}],
|
|
32837
|
-
line:
|
|
33241
|
+
line: 45
|
|
32838
33242
|
},
|
|
32839
33243
|
"10": {
|
|
32840
33244
|
loc: {
|
|
32841
33245
|
start: {
|
|
32842
|
-
line:
|
|
33246
|
+
line: 50,
|
|
32843
33247
|
column: 10
|
|
32844
33248
|
},
|
|
32845
33249
|
end: {
|
|
32846
|
-
line:
|
|
33250
|
+
line: 53,
|
|
32847
33251
|
column: 5
|
|
32848
33252
|
}
|
|
32849
33253
|
},
|
|
32850
33254
|
type: "default-arg",
|
|
32851
33255
|
locations: [{
|
|
32852
33256
|
start: {
|
|
32853
|
-
line:
|
|
33257
|
+
line: 50,
|
|
32854
33258
|
column: 46
|
|
32855
33259
|
},
|
|
32856
33260
|
end: {
|
|
32857
|
-
line:
|
|
33261
|
+
line: 53,
|
|
32858
33262
|
column: 5
|
|
32859
33263
|
}
|
|
32860
33264
|
}],
|
|
32861
|
-
line:
|
|
33265
|
+
line: 50
|
|
32862
33266
|
},
|
|
32863
33267
|
"11": {
|
|
32864
33268
|
loc: {
|
|
32865
33269
|
start: {
|
|
32866
|
-
line:
|
|
32867
|
-
column:
|
|
33270
|
+
line: 75,
|
|
33271
|
+
column: 2
|
|
32868
33272
|
},
|
|
32869
33273
|
end: {
|
|
32870
|
-
line:
|
|
32871
|
-
column:
|
|
33274
|
+
line: 81,
|
|
33275
|
+
column: 3
|
|
32872
33276
|
}
|
|
32873
33277
|
},
|
|
32874
33278
|
type: "if",
|
|
32875
33279
|
locations: [{
|
|
32876
33280
|
start: {
|
|
32877
|
-
line:
|
|
32878
|
-
column:
|
|
33281
|
+
line: 75,
|
|
33282
|
+
column: 2
|
|
32879
33283
|
},
|
|
32880
33284
|
end: {
|
|
32881
|
-
line:
|
|
32882
|
-
column:
|
|
33285
|
+
line: 81,
|
|
33286
|
+
column: 3
|
|
32883
33287
|
}
|
|
32884
33288
|
}, {
|
|
32885
33289
|
start: {
|
|
@@ -32891,28 +33295,70 @@ function cov_2nbnnlcv5p() {
|
|
|
32891
33295
|
column: undefined
|
|
32892
33296
|
}
|
|
32893
33297
|
}],
|
|
32894
|
-
line:
|
|
33298
|
+
line: 75
|
|
32895
33299
|
},
|
|
32896
33300
|
"12": {
|
|
32897
33301
|
loc: {
|
|
32898
33302
|
start: {
|
|
32899
|
-
line:
|
|
32900
|
-
column:
|
|
33303
|
+
line: 75,
|
|
33304
|
+
column: 6
|
|
32901
33305
|
},
|
|
32902
33306
|
end: {
|
|
32903
|
-
line:
|
|
32904
|
-
column:
|
|
33307
|
+
line: 75,
|
|
33308
|
+
column: 53
|
|
33309
|
+
}
|
|
33310
|
+
},
|
|
33311
|
+
type: "binary-expr",
|
|
33312
|
+
locations: [{
|
|
33313
|
+
start: {
|
|
33314
|
+
line: 75,
|
|
33315
|
+
column: 6
|
|
33316
|
+
},
|
|
33317
|
+
end: {
|
|
33318
|
+
line: 75,
|
|
33319
|
+
column: 15
|
|
33320
|
+
}
|
|
33321
|
+
}, {
|
|
33322
|
+
start: {
|
|
33323
|
+
line: 75,
|
|
33324
|
+
column: 20
|
|
33325
|
+
},
|
|
33326
|
+
end: {
|
|
33327
|
+
line: 75,
|
|
33328
|
+
column: 30
|
|
33329
|
+
}
|
|
33330
|
+
}, {
|
|
33331
|
+
start: {
|
|
33332
|
+
line: 75,
|
|
33333
|
+
column: 34
|
|
33334
|
+
},
|
|
33335
|
+
end: {
|
|
33336
|
+
line: 75,
|
|
33337
|
+
column: 52
|
|
33338
|
+
}
|
|
33339
|
+
}],
|
|
33340
|
+
line: 75
|
|
33341
|
+
},
|
|
33342
|
+
"13": {
|
|
33343
|
+
loc: {
|
|
33344
|
+
start: {
|
|
33345
|
+
line: 98,
|
|
33346
|
+
column: 4
|
|
33347
|
+
},
|
|
33348
|
+
end: {
|
|
33349
|
+
line: 103,
|
|
33350
|
+
column: 5
|
|
32905
33351
|
}
|
|
32906
33352
|
},
|
|
32907
33353
|
type: "if",
|
|
32908
33354
|
locations: [{
|
|
32909
33355
|
start: {
|
|
32910
|
-
line:
|
|
32911
|
-
column:
|
|
33356
|
+
line: 98,
|
|
33357
|
+
column: 4
|
|
32912
33358
|
},
|
|
32913
33359
|
end: {
|
|
32914
|
-
line:
|
|
32915
|
-
column:
|
|
33360
|
+
line: 103,
|
|
33361
|
+
column: 5
|
|
32916
33362
|
}
|
|
32917
33363
|
}, {
|
|
32918
33364
|
start: {
|
|
@@ -32924,102 +33370,126 @@ function cov_2nbnnlcv5p() {
|
|
|
32924
33370
|
column: undefined
|
|
32925
33371
|
}
|
|
32926
33372
|
}],
|
|
32927
|
-
line:
|
|
33373
|
+
line: 98
|
|
32928
33374
|
},
|
|
32929
|
-
"
|
|
33375
|
+
"14": {
|
|
32930
33376
|
loc: {
|
|
32931
33377
|
start: {
|
|
32932
|
-
line:
|
|
32933
|
-
column:
|
|
33378
|
+
line: 107,
|
|
33379
|
+
column: 4
|
|
32934
33380
|
},
|
|
32935
33381
|
end: {
|
|
32936
|
-
line:
|
|
32937
|
-
column:
|
|
33382
|
+
line: 108,
|
|
33383
|
+
column: 61
|
|
32938
33384
|
}
|
|
32939
33385
|
},
|
|
32940
33386
|
type: "binary-expr",
|
|
32941
33387
|
locations: [{
|
|
32942
33388
|
start: {
|
|
32943
|
-
line:
|
|
32944
|
-
column:
|
|
33389
|
+
line: 107,
|
|
33390
|
+
column: 4
|
|
32945
33391
|
},
|
|
32946
33392
|
end: {
|
|
32947
|
-
line:
|
|
32948
|
-
column:
|
|
33393
|
+
line: 107,
|
|
33394
|
+
column: 23
|
|
32949
33395
|
}
|
|
32950
33396
|
}, {
|
|
32951
33397
|
start: {
|
|
32952
|
-
line:
|
|
32953
|
-
column:
|
|
33398
|
+
line: 108,
|
|
33399
|
+
column: 5
|
|
32954
33400
|
},
|
|
32955
33401
|
end: {
|
|
32956
|
-
line:
|
|
32957
|
-
column:
|
|
33402
|
+
line: 108,
|
|
33403
|
+
column: 60
|
|
33404
|
+
}
|
|
33405
|
+
}],
|
|
33406
|
+
line: 107
|
|
33407
|
+
},
|
|
33408
|
+
"15": {
|
|
33409
|
+
loc: {
|
|
33410
|
+
start: {
|
|
33411
|
+
line: 111,
|
|
33412
|
+
column: 4
|
|
33413
|
+
},
|
|
33414
|
+
end: {
|
|
33415
|
+
line: 111,
|
|
33416
|
+
column: 68
|
|
33417
|
+
}
|
|
33418
|
+
},
|
|
33419
|
+
type: "binary-expr",
|
|
33420
|
+
locations: [{
|
|
33421
|
+
start: {
|
|
33422
|
+
line: 111,
|
|
33423
|
+
column: 4
|
|
33424
|
+
},
|
|
33425
|
+
end: {
|
|
33426
|
+
line: 111,
|
|
33427
|
+
column: 19
|
|
32958
33428
|
}
|
|
32959
33429
|
}, {
|
|
32960
33430
|
start: {
|
|
32961
|
-
line:
|
|
32962
|
-
column:
|
|
33431
|
+
line: 111,
|
|
33432
|
+
column: 24
|
|
32963
33433
|
},
|
|
32964
33434
|
end: {
|
|
32965
|
-
line:
|
|
32966
|
-
column:
|
|
33435
|
+
line: 111,
|
|
33436
|
+
column: 67
|
|
32967
33437
|
}
|
|
32968
33438
|
}],
|
|
32969
|
-
line:
|
|
33439
|
+
line: 111
|
|
32970
33440
|
},
|
|
32971
|
-
"
|
|
33441
|
+
"16": {
|
|
32972
33442
|
loc: {
|
|
32973
33443
|
start: {
|
|
32974
|
-
line:
|
|
33444
|
+
line: 140,
|
|
32975
33445
|
column: 14
|
|
32976
33446
|
},
|
|
32977
33447
|
end: {
|
|
32978
|
-
line:
|
|
33448
|
+
line: 140,
|
|
32979
33449
|
column: 71
|
|
32980
33450
|
}
|
|
32981
33451
|
},
|
|
32982
33452
|
type: "cond-expr",
|
|
32983
33453
|
locations: [{
|
|
32984
33454
|
start: {
|
|
32985
|
-
line:
|
|
33455
|
+
line: 140,
|
|
32986
33456
|
column: 41
|
|
32987
33457
|
},
|
|
32988
33458
|
end: {
|
|
32989
|
-
line:
|
|
33459
|
+
line: 140,
|
|
32990
33460
|
column: 54
|
|
32991
33461
|
}
|
|
32992
33462
|
}, {
|
|
32993
33463
|
start: {
|
|
32994
|
-
line:
|
|
33464
|
+
line: 140,
|
|
32995
33465
|
column: 57
|
|
32996
33466
|
},
|
|
32997
33467
|
end: {
|
|
32998
|
-
line:
|
|
33468
|
+
line: 140,
|
|
32999
33469
|
column: 71
|
|
33000
33470
|
}
|
|
33001
33471
|
}],
|
|
33002
|
-
line:
|
|
33472
|
+
line: 140
|
|
33003
33473
|
},
|
|
33004
|
-
"
|
|
33474
|
+
"17": {
|
|
33005
33475
|
loc: {
|
|
33006
33476
|
start: {
|
|
33007
|
-
line:
|
|
33477
|
+
line: 144,
|
|
33008
33478
|
column: 14
|
|
33009
33479
|
},
|
|
33010
33480
|
end: {
|
|
33011
|
-
line:
|
|
33481
|
+
line: 146,
|
|
33012
33482
|
column: 15
|
|
33013
33483
|
}
|
|
33014
33484
|
},
|
|
33015
33485
|
type: "if",
|
|
33016
33486
|
locations: [{
|
|
33017
33487
|
start: {
|
|
33018
|
-
line:
|
|
33488
|
+
line: 144,
|
|
33019
33489
|
column: 14
|
|
33020
33490
|
},
|
|
33021
33491
|
end: {
|
|
33022
|
-
line:
|
|
33492
|
+
line: 146,
|
|
33023
33493
|
column: 15
|
|
33024
33494
|
}
|
|
33025
33495
|
}, {
|
|
@@ -33032,40 +33502,40 @@ function cov_2nbnnlcv5p() {
|
|
|
33032
33502
|
column: undefined
|
|
33033
33503
|
}
|
|
33034
33504
|
}],
|
|
33035
|
-
line:
|
|
33505
|
+
line: 144
|
|
33036
33506
|
},
|
|
33037
|
-
"
|
|
33507
|
+
"18": {
|
|
33038
33508
|
loc: {
|
|
33039
33509
|
start: {
|
|
33040
|
-
line:
|
|
33510
|
+
line: 151,
|
|
33041
33511
|
column: 7
|
|
33042
33512
|
},
|
|
33043
33513
|
end: {
|
|
33044
|
-
line:
|
|
33514
|
+
line: 155,
|
|
33045
33515
|
column: 7
|
|
33046
33516
|
}
|
|
33047
33517
|
},
|
|
33048
33518
|
type: "binary-expr",
|
|
33049
33519
|
locations: [{
|
|
33050
33520
|
start: {
|
|
33051
|
-
line:
|
|
33521
|
+
line: 151,
|
|
33052
33522
|
column: 7
|
|
33053
33523
|
},
|
|
33054
33524
|
end: {
|
|
33055
|
-
line:
|
|
33525
|
+
line: 151,
|
|
33056
33526
|
column: 25
|
|
33057
33527
|
}
|
|
33058
33528
|
}, {
|
|
33059
33529
|
start: {
|
|
33060
|
-
line:
|
|
33530
|
+
line: 152,
|
|
33061
33531
|
column: 8
|
|
33062
33532
|
},
|
|
33063
33533
|
end: {
|
|
33064
|
-
line:
|
|
33534
|
+
line: 154,
|
|
33065
33535
|
column: 14
|
|
33066
33536
|
}
|
|
33067
33537
|
}],
|
|
33068
|
-
line:
|
|
33538
|
+
line: 151
|
|
33069
33539
|
}
|
|
33070
33540
|
},
|
|
33071
33541
|
s: {
|
|
@@ -33088,7 +33558,11 @@ function cov_2nbnnlcv5p() {
|
|
|
33088
33558
|
"16": 0,
|
|
33089
33559
|
"17": 0,
|
|
33090
33560
|
"18": 0,
|
|
33091
|
-
"19": 0
|
|
33561
|
+
"19": 0,
|
|
33562
|
+
"20": 0,
|
|
33563
|
+
"21": 0,
|
|
33564
|
+
"22": 0,
|
|
33565
|
+
"23": 0
|
|
33092
33566
|
},
|
|
33093
33567
|
f: {
|
|
33094
33568
|
"0": 0,
|
|
@@ -33098,7 +33572,9 @@ function cov_2nbnnlcv5p() {
|
|
|
33098
33572
|
"4": 0,
|
|
33099
33573
|
"5": 0,
|
|
33100
33574
|
"6": 0,
|
|
33101
|
-
"7": 0
|
|
33575
|
+
"7": 0,
|
|
33576
|
+
"8": 0,
|
|
33577
|
+
"9": 0
|
|
33102
33578
|
},
|
|
33103
33579
|
b: {
|
|
33104
33580
|
"0": [0],
|
|
@@ -33113,14 +33589,16 @@ function cov_2nbnnlcv5p() {
|
|
|
33113
33589
|
"9": [0],
|
|
33114
33590
|
"10": [0],
|
|
33115
33591
|
"11": [0, 0],
|
|
33116
|
-
"12": [0, 0],
|
|
33117
|
-
"13": [0, 0
|
|
33592
|
+
"12": [0, 0, 0],
|
|
33593
|
+
"13": [0, 0],
|
|
33118
33594
|
"14": [0, 0],
|
|
33119
33595
|
"15": [0, 0],
|
|
33120
|
-
"16": [0, 0]
|
|
33596
|
+
"16": [0, 0],
|
|
33597
|
+
"17": [0, 0],
|
|
33598
|
+
"18": [0, 0]
|
|
33121
33599
|
},
|
|
33122
33600
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33123
|
-
hash: "
|
|
33601
|
+
hash: "3f91bb4f96e8987cc816d9501ef4ff5ac168630d"
|
|
33124
33602
|
};
|
|
33125
33603
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
33126
33604
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -33140,6 +33618,7 @@ function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33140
33618
|
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty$a(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
33141
33619
|
cov_2nbnnlcv5p().s[0]++;
|
|
33142
33620
|
var BuildForm = function BuildForm(_ref) {
|
|
33621
|
+
var _ref8, _ref9;
|
|
33143
33622
|
var id = _ref.id,
|
|
33144
33623
|
onUpdate = _ref.onUpdate,
|
|
33145
33624
|
buildRequestArgs = _ref.buildRequestArgs,
|
|
@@ -33160,6 +33639,8 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33160
33639
|
isKindAlreadyActive = _ref$isKindAlreadyAct === void 0 ? (cov_2nbnnlcv5p().b[5][0]++, isQuestionKindAlreadyActive) : _ref$isKindAlreadyAct,
|
|
33161
33640
|
_ref$getActiveKindDet = _ref.getActiveKindDetails,
|
|
33162
33641
|
getActiveKindDetails = _ref$getActiveKindDet === void 0 ? (cov_2nbnnlcv5p().b[6][0]++, getActiveQuestionKindDetails) : _ref$getActiveKindDet,
|
|
33642
|
+
isQuestionDeletable = _ref.isQuestionDeletable,
|
|
33643
|
+
isFieldRequired = _ref.isFieldRequired,
|
|
33163
33644
|
_ref$showLoader = _ref.showLoader,
|
|
33164
33645
|
showLoader = _ref$showLoader === void 0 ? (cov_2nbnnlcv5p().b[7][0]++, false) : _ref$showLoader,
|
|
33165
33646
|
_ref$kindUniqueOn = _ref.kindUniqueOn,
|
|
@@ -33215,9 +33696,19 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33215
33696
|
isQuestionsLoading = _ref6$data2.isQuestionsLoading,
|
|
33216
33697
|
isLoading = _ref6.isLoading;
|
|
33217
33698
|
cov_2nbnnlcv5p().s[8]++;
|
|
33699
|
+
if ((cov_2nbnnlcv5p().b[12][0]++, isLoading) || (cov_2nbnnlcv5p().b[12][1]++, showLoader) && (cov_2nbnnlcv5p().b[12][2]++, isQuestionsLoading)) {
|
|
33700
|
+
cov_2nbnnlcv5p().b[11][0]++;
|
|
33701
|
+
cov_2nbnnlcv5p().s[9]++;
|
|
33702
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33703
|
+
className: "flex h-full w-full items-center justify-center py-6"
|
|
33704
|
+
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
|
|
33705
|
+
} else {
|
|
33706
|
+
cov_2nbnnlcv5p().b[11][1]++;
|
|
33707
|
+
}
|
|
33708
|
+
cov_2nbnnlcv5p().s[10]++;
|
|
33218
33709
|
var handleSubmit = function handleSubmit(payload) {
|
|
33219
33710
|
cov_2nbnnlcv5p().f[4]++;
|
|
33220
|
-
cov_2nbnnlcv5p().s[
|
|
33711
|
+
cov_2nbnnlcv5p().s[11]++;
|
|
33221
33712
|
return updateQuestions({
|
|
33222
33713
|
id: id,
|
|
33223
33714
|
values: _objectSpread$8({
|
|
@@ -33225,31 +33716,32 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33225
33716
|
}, buildRequestArgs)
|
|
33226
33717
|
});
|
|
33227
33718
|
};
|
|
33228
|
-
cov_2nbnnlcv5p().s[
|
|
33719
|
+
cov_2nbnnlcv5p().s[12]++;
|
|
33229
33720
|
var onValueChange = function onValueChange(questions) {
|
|
33230
33721
|
cov_2nbnnlcv5p().f[5]++;
|
|
33231
|
-
var _ref7 = (cov_2nbnnlcv5p().s[
|
|
33722
|
+
var _ref7 = (cov_2nbnnlcv5p().s[13]++, queryClient.getQueryState([QUERY_KEYS.QUESTIONS, id])),
|
|
33232
33723
|
dataUpdateCount = _ref7.dataUpdateCount;
|
|
33233
|
-
cov_2nbnnlcv5p().s[
|
|
33724
|
+
cov_2nbnnlcv5p().s[14]++;
|
|
33234
33725
|
if (dataUpdateCount > 0) {
|
|
33235
|
-
cov_2nbnnlcv5p().b[
|
|
33236
|
-
cov_2nbnnlcv5p().s[
|
|
33726
|
+
cov_2nbnnlcv5p().b[13][0]++;
|
|
33727
|
+
cov_2nbnnlcv5p().s[15]++;
|
|
33237
33728
|
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], ramda.assoc("questions", questions));
|
|
33238
33729
|
} else {
|
|
33239
|
-
cov_2nbnnlcv5p().b[
|
|
33730
|
+
cov_2nbnnlcv5p().b[13][1]++;
|
|
33240
33731
|
}
|
|
33241
33732
|
};
|
|
33242
|
-
cov_2nbnnlcv5p().s[14]
|
|
33243
|
-
|
|
33244
|
-
cov_2nbnnlcv5p().
|
|
33245
|
-
|
|
33246
|
-
|
|
33247
|
-
|
|
33248
|
-
|
|
33249
|
-
|
|
33250
|
-
cov_2nbnnlcv5p().
|
|
33251
|
-
|
|
33252
|
-
|
|
33733
|
+
var isDeletable = (cov_2nbnnlcv5p().s[16]++, (_ref8 = (cov_2nbnnlcv5p().b[14][0]++, isQuestionDeletable)) !== null && _ref8 !== void 0 ? _ref8 : (cov_2nbnnlcv5p().b[14][1]++, function (question) {
|
|
33734
|
+
cov_2nbnnlcv5p().f[6]++;
|
|
33735
|
+
cov_2nbnnlcv5p().s[17]++;
|
|
33736
|
+
return !nonRemovableFields.includes(question.kind);
|
|
33737
|
+
}));
|
|
33738
|
+
var isRequiredField = (cov_2nbnnlcv5p().s[18]++, (_ref9 = (cov_2nbnnlcv5p().b[15][0]++, isFieldRequired)) !== null && _ref9 !== void 0 ? _ref9 : (cov_2nbnnlcv5p().b[15][1]++, function (_ref10) {
|
|
33739
|
+
var kind = _ref10.kind;
|
|
33740
|
+
cov_2nbnnlcv5p().f[7]++;
|
|
33741
|
+
cov_2nbnnlcv5p().s[19]++;
|
|
33742
|
+
return requiredFields.includes(kind);
|
|
33743
|
+
}));
|
|
33744
|
+
cov_2nbnnlcv5p().s[20]++;
|
|
33253
33745
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33254
33746
|
className: "relative"
|
|
33255
33747
|
}, /*#__PURE__*/React__default["default"].createElement(formik.Formik, {
|
|
@@ -33261,38 +33753,38 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33261
33753
|
questions: questions
|
|
33262
33754
|
},
|
|
33263
33755
|
onSubmit: handleSubmit
|
|
33264
|
-
}, function (
|
|
33265
|
-
var errors =
|
|
33266
|
-
setFieldError =
|
|
33267
|
-
cov_2nbnnlcv5p().f[
|
|
33268
|
-
cov_2nbnnlcv5p().s[
|
|
33756
|
+
}, function (_ref11) {
|
|
33757
|
+
var errors = _ref11.errors,
|
|
33758
|
+
setFieldError = _ref11.setFieldError;
|
|
33759
|
+
cov_2nbnnlcv5p().f[8]++;
|
|
33760
|
+
cov_2nbnnlcv5p().s[21]++;
|
|
33269
33761
|
return /*#__PURE__*/React__default["default"].createElement(Form, _extends$9({}, formDomProps, {
|
|
33270
33762
|
cancelButtonProps: cancelButtonProps,
|
|
33271
33763
|
formId: id,
|
|
33272
33764
|
getActiveKindDetails: getActiveKindDetails,
|
|
33765
|
+
isDeletable: isDeletable,
|
|
33273
33766
|
isKindAlreadyActive: isKindAlreadyActive,
|
|
33767
|
+
isRequiredField: isRequiredField,
|
|
33274
33768
|
kindUniqueOn: kindUniqueOn,
|
|
33275
|
-
nonRemovableFields: nonRemovableFields,
|
|
33276
|
-
requiredFields: requiredFields,
|
|
33277
33769
|
setShouldValidate: setShouldValidateForm,
|
|
33278
33770
|
showActionBlock: showActionBlock,
|
|
33279
33771
|
showAddQuestionDivider: showAddQuestionDivider,
|
|
33280
33772
|
submitButtonProps: submitButtonProps,
|
|
33281
|
-
questionKinds: pure.isPresent(questionKinds) ? (cov_2nbnnlcv5p().b[
|
|
33773
|
+
questionKinds: pure.isPresent(questionKinds) ? (cov_2nbnnlcv5p().b[16][0]++, questionKinds) : (cov_2nbnnlcv5p().b[16][1]++, QUESTION_KINDS),
|
|
33282
33774
|
onValueChange: onValueChange,
|
|
33283
33775
|
onChange: function onChange(event) {
|
|
33284
|
-
cov_2nbnnlcv5p().f[
|
|
33285
|
-
cov_2nbnnlcv5p().s[
|
|
33776
|
+
cov_2nbnnlcv5p().f[9]++;
|
|
33777
|
+
cov_2nbnnlcv5p().s[22]++;
|
|
33286
33778
|
if (!ramda.isEmpty(errors)) {
|
|
33287
|
-
cov_2nbnnlcv5p().b[
|
|
33288
|
-
cov_2nbnnlcv5p().s[
|
|
33779
|
+
cov_2nbnnlcv5p().b[17][0]++;
|
|
33780
|
+
cov_2nbnnlcv5p().s[23]++;
|
|
33289
33781
|
setFieldError(event.target.name);
|
|
33290
33782
|
} else {
|
|
33291
|
-
cov_2nbnnlcv5p().b[
|
|
33783
|
+
cov_2nbnnlcv5p().b[17][1]++;
|
|
33292
33784
|
}
|
|
33293
33785
|
}
|
|
33294
33786
|
}));
|
|
33295
|
-
}), (cov_2nbnnlcv5p().b[
|
|
33787
|
+
}), (cov_2nbnnlcv5p().b[18][0]++, isQuestionsLoading) && (cov_2nbnnlcv5p().b[18][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33296
33788
|
className: "neeto-ui-bg-gray-100 absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center opacity-75"
|
|
33297
33789
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null))));
|
|
33298
33790
|
};
|