@bigbinary/neeto-form-frontend 1.0.29 → 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 +1385 -872
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1385 -872
- package/dist/index.js.map +1 -1
- package/index.d.ts +35 -28
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -24101,7 +24101,7 @@ var STAR_RATING_ICONS_MAP = (cov_5u7jgeqcn().s[5]++, {
|
|
|
24101
24101
|
|
|
24102
24102
|
function cov_2dmleb6ptc() {
|
|
24103
24103
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Dropdown.jsx";
|
|
24104
|
-
var hash = "
|
|
24104
|
+
var hash = "9926432972dd870e218f292a5e8cf35d8de9ef94";
|
|
24105
24105
|
var global = new Function("return this")();
|
|
24106
24106
|
var gcv = "__coverage__";
|
|
24107
24107
|
var coverageData = {
|
|
@@ -24113,118 +24113,118 @@ function cov_2dmleb6ptc() {
|
|
|
24113
24113
|
column: 17
|
|
24114
24114
|
},
|
|
24115
24115
|
end: {
|
|
24116
|
-
line:
|
|
24116
|
+
line: 111,
|
|
24117
24117
|
column: 1
|
|
24118
24118
|
}
|
|
24119
24119
|
},
|
|
24120
24120
|
"1": {
|
|
24121
24121
|
start: {
|
|
24122
|
-
line:
|
|
24123
|
-
column:
|
|
24122
|
+
line: 21,
|
|
24123
|
+
column: 6
|
|
24124
24124
|
},
|
|
24125
24125
|
end: {
|
|
24126
|
-
line:
|
|
24127
|
-
column:
|
|
24126
|
+
line: 21,
|
|
24127
|
+
column: 10
|
|
24128
24128
|
}
|
|
24129
24129
|
},
|
|
24130
24130
|
"2": {
|
|
24131
24131
|
start: {
|
|
24132
|
-
line:
|
|
24132
|
+
line: 22,
|
|
24133
24133
|
column: 16
|
|
24134
24134
|
},
|
|
24135
24135
|
end: {
|
|
24136
|
-
line:
|
|
24136
|
+
line: 22,
|
|
24137
24137
|
column: 32
|
|
24138
24138
|
}
|
|
24139
24139
|
},
|
|
24140
24140
|
"3": {
|
|
24141
24141
|
start: {
|
|
24142
|
-
line:
|
|
24142
|
+
line: 23,
|
|
24143
24143
|
column: 28
|
|
24144
24144
|
},
|
|
24145
24145
|
end: {
|
|
24146
|
-
line:
|
|
24146
|
+
line: 23,
|
|
24147
24147
|
column: 46
|
|
24148
24148
|
}
|
|
24149
24149
|
},
|
|
24150
24150
|
"4": {
|
|
24151
24151
|
start: {
|
|
24152
|
-
line:
|
|
24152
|
+
line: 25,
|
|
24153
24153
|
column: 29
|
|
24154
24154
|
},
|
|
24155
24155
|
end: {
|
|
24156
|
-
line:
|
|
24156
|
+
line: 28,
|
|
24157
24157
|
column: 3
|
|
24158
24158
|
}
|
|
24159
24159
|
},
|
|
24160
24160
|
"5": {
|
|
24161
24161
|
start: {
|
|
24162
|
-
line:
|
|
24162
|
+
line: 26,
|
|
24163
24163
|
column: 24
|
|
24164
24164
|
},
|
|
24165
24165
|
end: {
|
|
24166
|
-
line:
|
|
24166
|
+
line: 26,
|
|
24167
24167
|
column: 77
|
|
24168
24168
|
}
|
|
24169
24169
|
},
|
|
24170
24170
|
"6": {
|
|
24171
24171
|
start: {
|
|
24172
|
-
line:
|
|
24172
|
+
line: 27,
|
|
24173
24173
|
column: 4
|
|
24174
24174
|
},
|
|
24175
24175
|
end: {
|
|
24176
|
-
line:
|
|
24176
|
+
line: 27,
|
|
24177
24177
|
column: 60
|
|
24178
24178
|
}
|
|
24179
24179
|
},
|
|
24180
24180
|
"7": {
|
|
24181
24181
|
start: {
|
|
24182
|
-
line:
|
|
24182
|
+
line: 30,
|
|
24183
24183
|
column: 2
|
|
24184
24184
|
},
|
|
24185
24185
|
end: {
|
|
24186
|
-
line:
|
|
24186
|
+
line: 110,
|
|
24187
24187
|
column: 4
|
|
24188
24188
|
}
|
|
24189
24189
|
},
|
|
24190
24190
|
"8": {
|
|
24191
24191
|
start: {
|
|
24192
|
-
line:
|
|
24192
|
+
line: 49,
|
|
24193
24193
|
column: 12
|
|
24194
24194
|
},
|
|
24195
24195
|
end: {
|
|
24196
|
-
line:
|
|
24196
|
+
line: 96,
|
|
24197
24197
|
column: 15
|
|
24198
24198
|
}
|
|
24199
24199
|
},
|
|
24200
24200
|
"9": {
|
|
24201
24201
|
start: {
|
|
24202
|
-
line:
|
|
24202
|
+
line: 53,
|
|
24203
24203
|
column: 20
|
|
24204
24204
|
},
|
|
24205
24205
|
end: {
|
|
24206
|
-
line:
|
|
24206
|
+
line: 81,
|
|
24207
24207
|
column: 21
|
|
24208
24208
|
}
|
|
24209
24209
|
},
|
|
24210
24210
|
"10": {
|
|
24211
24211
|
start: {
|
|
24212
|
-
line:
|
|
24213
|
-
column:
|
|
24212
|
+
line: 72,
|
|
24213
|
+
column: 30
|
|
24214
24214
|
},
|
|
24215
24215
|
end: {
|
|
24216
|
-
line:
|
|
24217
|
-
column:
|
|
24216
|
+
line: 75,
|
|
24217
|
+
column: 32
|
|
24218
24218
|
}
|
|
24219
24219
|
},
|
|
24220
24220
|
"11": {
|
|
24221
24221
|
start: {
|
|
24222
|
-
line:
|
|
24223
|
-
column:
|
|
24222
|
+
line: 77,
|
|
24223
|
+
column: 43
|
|
24224
24224
|
},
|
|
24225
24225
|
end: {
|
|
24226
|
-
line:
|
|
24227
|
-
column:
|
|
24226
|
+
line: 77,
|
|
24227
|
+
column: 68
|
|
24228
24228
|
}
|
|
24229
24229
|
}
|
|
24230
24230
|
},
|
|
@@ -24247,7 +24247,7 @@ function cov_2dmleb6ptc() {
|
|
|
24247
24247
|
column: 49
|
|
24248
24248
|
},
|
|
24249
24249
|
end: {
|
|
24250
|
-
line:
|
|
24250
|
+
line: 111,
|
|
24251
24251
|
column: 1
|
|
24252
24252
|
}
|
|
24253
24253
|
},
|
|
@@ -24257,222 +24257,336 @@ function cov_2dmleb6ptc() {
|
|
|
24257
24257
|
name: "(anonymous_1)",
|
|
24258
24258
|
decl: {
|
|
24259
24259
|
start: {
|
|
24260
|
-
line:
|
|
24260
|
+
line: 25,
|
|
24261
24261
|
column: 29
|
|
24262
24262
|
},
|
|
24263
24263
|
end: {
|
|
24264
|
-
line:
|
|
24264
|
+
line: 25,
|
|
24265
24265
|
column: 30
|
|
24266
24266
|
}
|
|
24267
24267
|
},
|
|
24268
24268
|
loc: {
|
|
24269
24269
|
start: {
|
|
24270
|
-
line:
|
|
24270
|
+
line: 25,
|
|
24271
24271
|
column: 38
|
|
24272
24272
|
},
|
|
24273
24273
|
end: {
|
|
24274
|
-
line:
|
|
24274
|
+
line: 28,
|
|
24275
24275
|
column: 3
|
|
24276
24276
|
}
|
|
24277
24277
|
},
|
|
24278
|
-
line:
|
|
24278
|
+
line: 25
|
|
24279
24279
|
},
|
|
24280
24280
|
"2": {
|
|
24281
24281
|
name: "(anonymous_2)",
|
|
24282
24282
|
decl: {
|
|
24283
24283
|
start: {
|
|
24284
|
-
line:
|
|
24284
|
+
line: 48,
|
|
24285
24285
|
column: 11
|
|
24286
24286
|
},
|
|
24287
24287
|
end: {
|
|
24288
|
-
line:
|
|
24288
|
+
line: 48,
|
|
24289
24289
|
column: 12
|
|
24290
24290
|
}
|
|
24291
24291
|
},
|
|
24292
24292
|
loc: {
|
|
24293
24293
|
start: {
|
|
24294
|
-
line:
|
|
24294
|
+
line: 49,
|
|
24295
24295
|
column: 12
|
|
24296
24296
|
},
|
|
24297
24297
|
end: {
|
|
24298
|
-
line:
|
|
24298
|
+
line: 96,
|
|
24299
24299
|
column: 15
|
|
24300
24300
|
}
|
|
24301
24301
|
},
|
|
24302
|
-
line:
|
|
24302
|
+
line: 49
|
|
24303
24303
|
},
|
|
24304
24304
|
"3": {
|
|
24305
24305
|
name: "(anonymous_3)",
|
|
24306
24306
|
decl: {
|
|
24307
24307
|
start: {
|
|
24308
|
-
line:
|
|
24308
|
+
line: 52,
|
|
24309
24309
|
column: 18
|
|
24310
24310
|
},
|
|
24311
24311
|
end: {
|
|
24312
|
-
line:
|
|
24312
|
+
line: 52,
|
|
24313
24313
|
column: 19
|
|
24314
24314
|
}
|
|
24315
24315
|
},
|
|
24316
24316
|
loc: {
|
|
24317
24317
|
start: {
|
|
24318
|
-
line:
|
|
24318
|
+
line: 53,
|
|
24319
24319
|
column: 20
|
|
24320
24320
|
},
|
|
24321
24321
|
end: {
|
|
24322
|
-
line:
|
|
24322
|
+
line: 81,
|
|
24323
24323
|
column: 21
|
|
24324
24324
|
}
|
|
24325
24325
|
},
|
|
24326
|
-
line:
|
|
24326
|
+
line: 53
|
|
24327
24327
|
},
|
|
24328
24328
|
"4": {
|
|
24329
24329
|
name: "(anonymous_4)",
|
|
24330
24330
|
decl: {
|
|
24331
24331
|
start: {
|
|
24332
|
-
line:
|
|
24333
|
-
column:
|
|
24332
|
+
line: 71,
|
|
24333
|
+
column: 34
|
|
24334
24334
|
},
|
|
24335
24335
|
end: {
|
|
24336
|
-
line:
|
|
24337
|
-
column:
|
|
24336
|
+
line: 71,
|
|
24337
|
+
column: 35
|
|
24338
24338
|
}
|
|
24339
24339
|
},
|
|
24340
24340
|
loc: {
|
|
24341
24341
|
start: {
|
|
24342
|
-
line:
|
|
24343
|
-
column:
|
|
24342
|
+
line: 72,
|
|
24343
|
+
column: 30
|
|
24344
24344
|
},
|
|
24345
24345
|
end: {
|
|
24346
|
-
line:
|
|
24347
|
-
column:
|
|
24346
|
+
line: 75,
|
|
24347
|
+
column: 32
|
|
24348
24348
|
}
|
|
24349
24349
|
},
|
|
24350
|
-
line:
|
|
24350
|
+
line: 72
|
|
24351
24351
|
},
|
|
24352
24352
|
"5": {
|
|
24353
24353
|
name: "(anonymous_5)",
|
|
24354
24354
|
decl: {
|
|
24355
24355
|
start: {
|
|
24356
|
-
line:
|
|
24357
|
-
column:
|
|
24356
|
+
line: 77,
|
|
24357
|
+
column: 37
|
|
24358
24358
|
},
|
|
24359
24359
|
end: {
|
|
24360
|
-
line:
|
|
24361
|
-
column:
|
|
24360
|
+
line: 77,
|
|
24361
|
+
column: 38
|
|
24362
24362
|
}
|
|
24363
24363
|
},
|
|
24364
24364
|
loc: {
|
|
24365
24365
|
start: {
|
|
24366
|
-
line:
|
|
24367
|
-
column:
|
|
24366
|
+
line: 77,
|
|
24367
|
+
column: 43
|
|
24368
24368
|
},
|
|
24369
24369
|
end: {
|
|
24370
|
-
line:
|
|
24371
|
-
column:
|
|
24370
|
+
line: 77,
|
|
24371
|
+
column: 68
|
|
24372
24372
|
}
|
|
24373
24373
|
},
|
|
24374
|
-
line:
|
|
24374
|
+
line: 77
|
|
24375
24375
|
}
|
|
24376
24376
|
},
|
|
24377
24377
|
branchMap: {
|
|
24378
24378
|
"0": {
|
|
24379
24379
|
loc: {
|
|
24380
24380
|
start: {
|
|
24381
|
-
line:
|
|
24381
|
+
line: 19,
|
|
24382
|
+
column: 4
|
|
24383
|
+
},
|
|
24384
|
+
end: {
|
|
24385
|
+
line: 19,
|
|
24386
|
+
column: 25
|
|
24387
|
+
}
|
|
24388
|
+
},
|
|
24389
|
+
type: "default-arg",
|
|
24390
|
+
locations: [{
|
|
24391
|
+
start: {
|
|
24392
|
+
line: 19,
|
|
24393
|
+
column: 23
|
|
24394
|
+
},
|
|
24395
|
+
end: {
|
|
24396
|
+
line: 19,
|
|
24397
|
+
column: 25
|
|
24398
|
+
}
|
|
24399
|
+
}],
|
|
24400
|
+
line: 19
|
|
24401
|
+
},
|
|
24402
|
+
"1": {
|
|
24403
|
+
loc: {
|
|
24404
|
+
start: {
|
|
24405
|
+
line: 20,
|
|
24406
|
+
column: 4
|
|
24407
|
+
},
|
|
24408
|
+
end: {
|
|
24409
|
+
line: 20,
|
|
24410
|
+
column: 25
|
|
24411
|
+
}
|
|
24412
|
+
},
|
|
24413
|
+
type: "default-arg",
|
|
24414
|
+
locations: [{
|
|
24415
|
+
start: {
|
|
24416
|
+
line: 20,
|
|
24382
24417
|
column: 20
|
|
24383
24418
|
},
|
|
24384
24419
|
end: {
|
|
24385
|
-
line:
|
|
24420
|
+
line: 20,
|
|
24421
|
+
column: 25
|
|
24422
|
+
}
|
|
24423
|
+
}],
|
|
24424
|
+
line: 20
|
|
24425
|
+
},
|
|
24426
|
+
"2": {
|
|
24427
|
+
loc: {
|
|
24428
|
+
start: {
|
|
24429
|
+
line: 53,
|
|
24430
|
+
column: 20
|
|
24431
|
+
},
|
|
24432
|
+
end: {
|
|
24433
|
+
line: 81,
|
|
24386
24434
|
column: 21
|
|
24387
24435
|
}
|
|
24388
24436
|
},
|
|
24389
24437
|
type: "binary-expr",
|
|
24390
24438
|
locations: [{
|
|
24391
24439
|
start: {
|
|
24392
|
-
line:
|
|
24440
|
+
line: 53,
|
|
24393
24441
|
column: 20
|
|
24394
24442
|
},
|
|
24395
24443
|
end: {
|
|
24396
|
-
line:
|
|
24444
|
+
line: 53,
|
|
24397
24445
|
column: 36
|
|
24398
24446
|
}
|
|
24399
24447
|
}, {
|
|
24400
24448
|
start: {
|
|
24401
|
-
line:
|
|
24449
|
+
line: 54,
|
|
24402
24450
|
column: 22
|
|
24403
24451
|
},
|
|
24404
24452
|
end: {
|
|
24405
|
-
line:
|
|
24453
|
+
line: 80,
|
|
24406
24454
|
column: 28
|
|
24407
24455
|
}
|
|
24408
24456
|
}],
|
|
24409
|
-
line:
|
|
24457
|
+
line: 53
|
|
24410
24458
|
},
|
|
24411
|
-
"
|
|
24459
|
+
"3": {
|
|
24412
24460
|
loc: {
|
|
24413
24461
|
start: {
|
|
24414
|
-
line:
|
|
24462
|
+
line: 56,
|
|
24415
24463
|
column: 48
|
|
24416
24464
|
},
|
|
24417
24465
|
end: {
|
|
24418
|
-
line:
|
|
24466
|
+
line: 56,
|
|
24419
24467
|
column: 66
|
|
24420
24468
|
}
|
|
24421
24469
|
},
|
|
24422
24470
|
type: "binary-expr",
|
|
24423
24471
|
locations: [{
|
|
24424
24472
|
start: {
|
|
24425
|
-
line:
|
|
24473
|
+
line: 56,
|
|
24426
24474
|
column: 48
|
|
24427
24475
|
},
|
|
24428
24476
|
end: {
|
|
24429
|
-
line:
|
|
24477
|
+
line: 56,
|
|
24430
24478
|
column: 57
|
|
24431
24479
|
}
|
|
24432
24480
|
}, {
|
|
24433
24481
|
start: {
|
|
24434
|
-
line:
|
|
24482
|
+
line: 56,
|
|
24435
24483
|
column: 61
|
|
24436
24484
|
},
|
|
24437
24485
|
end: {
|
|
24438
|
-
line:
|
|
24486
|
+
line: 56,
|
|
24439
24487
|
column: 66
|
|
24440
24488
|
}
|
|
24441
24489
|
}],
|
|
24442
|
-
line:
|
|
24490
|
+
line: 56
|
|
24443
24491
|
},
|
|
24444
|
-
"
|
|
24492
|
+
"4": {
|
|
24445
24493
|
loc: {
|
|
24446
24494
|
start: {
|
|
24447
|
-
line:
|
|
24495
|
+
line: 65,
|
|
24496
|
+
column: 25
|
|
24497
|
+
},
|
|
24498
|
+
end: {
|
|
24499
|
+
line: 79,
|
|
24500
|
+
column: 25
|
|
24501
|
+
}
|
|
24502
|
+
},
|
|
24503
|
+
type: "binary-expr",
|
|
24504
|
+
locations: [{
|
|
24505
|
+
start: {
|
|
24506
|
+
line: 65,
|
|
24507
|
+
column: 25
|
|
24508
|
+
},
|
|
24509
|
+
end: {
|
|
24510
|
+
line: 65,
|
|
24511
|
+
column: 39
|
|
24512
|
+
}
|
|
24513
|
+
}, {
|
|
24514
|
+
start: {
|
|
24515
|
+
line: 66,
|
|
24516
|
+
column: 26
|
|
24517
|
+
},
|
|
24518
|
+
end: {
|
|
24519
|
+
line: 78,
|
|
24520
|
+
column: 28
|
|
24521
|
+
}
|
|
24522
|
+
}],
|
|
24523
|
+
line: 65
|
|
24524
|
+
},
|
|
24525
|
+
"5": {
|
|
24526
|
+
loc: {
|
|
24527
|
+
start: {
|
|
24528
|
+
line: 84,
|
|
24529
|
+
column: 15
|
|
24530
|
+
},
|
|
24531
|
+
end: {
|
|
24532
|
+
line: 95,
|
|
24533
|
+
column: 15
|
|
24534
|
+
}
|
|
24535
|
+
},
|
|
24536
|
+
type: "binary-expr",
|
|
24537
|
+
locations: [{
|
|
24538
|
+
start: {
|
|
24539
|
+
line: 84,
|
|
24540
|
+
column: 15
|
|
24541
|
+
},
|
|
24542
|
+
end: {
|
|
24543
|
+
line: 84,
|
|
24544
|
+
column: 29
|
|
24545
|
+
}
|
|
24546
|
+
}, {
|
|
24547
|
+
start: {
|
|
24548
|
+
line: 85,
|
|
24549
|
+
column: 16
|
|
24550
|
+
},
|
|
24551
|
+
end: {
|
|
24552
|
+
line: 94,
|
|
24553
|
+
column: 22
|
|
24554
|
+
}
|
|
24555
|
+
}],
|
|
24556
|
+
line: 84
|
|
24557
|
+
},
|
|
24558
|
+
"6": {
|
|
24559
|
+
loc: {
|
|
24560
|
+
start: {
|
|
24561
|
+
line: 100,
|
|
24448
24562
|
column: 7
|
|
24449
24563
|
},
|
|
24450
24564
|
end: {
|
|
24451
|
-
line:
|
|
24565
|
+
line: 108,
|
|
24452
24566
|
column: 7
|
|
24453
24567
|
}
|
|
24454
24568
|
},
|
|
24455
24569
|
type: "binary-expr",
|
|
24456
24570
|
locations: [{
|
|
24457
24571
|
start: {
|
|
24458
|
-
line:
|
|
24572
|
+
line: 100,
|
|
24459
24573
|
column: 7
|
|
24460
24574
|
},
|
|
24461
24575
|
end: {
|
|
24462
|
-
line:
|
|
24576
|
+
line: 100,
|
|
24463
24577
|
column: 18
|
|
24464
24578
|
}
|
|
24465
24579
|
}, {
|
|
24466
24580
|
start: {
|
|
24467
|
-
line:
|
|
24581
|
+
line: 101,
|
|
24468
24582
|
column: 8
|
|
24469
24583
|
},
|
|
24470
24584
|
end: {
|
|
24471
|
-
line:
|
|
24585
|
+
line: 107,
|
|
24472
24586
|
column: 14
|
|
24473
24587
|
}
|
|
24474
24588
|
}],
|
|
24475
|
-
line:
|
|
24589
|
+
line: 100
|
|
24476
24590
|
}
|
|
24477
24591
|
},
|
|
24478
24592
|
s: {
|
|
@@ -24498,12 +24612,16 @@ function cov_2dmleb6ptc() {
|
|
|
24498
24612
|
"5": 0
|
|
24499
24613
|
},
|
|
24500
24614
|
b: {
|
|
24501
|
-
"0": [0
|
|
24502
|
-
"1": [0
|
|
24503
|
-
"2": [0, 0]
|
|
24615
|
+
"0": [0],
|
|
24616
|
+
"1": [0],
|
|
24617
|
+
"2": [0, 0],
|
|
24618
|
+
"3": [0, 0],
|
|
24619
|
+
"4": [0, 0],
|
|
24620
|
+
"5": [0, 0],
|
|
24621
|
+
"6": [0, 0]
|
|
24504
24622
|
},
|
|
24505
24623
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
24506
|
-
hash: "
|
|
24624
|
+
hash: "9926432972dd870e218f292a5e8cf35d8de9ef94"
|
|
24507
24625
|
};
|
|
24508
24626
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
24509
24627
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -24526,7 +24644,11 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24526
24644
|
isRequired = _ref.isRequired;
|
|
24527
24645
|
cov_2dmleb6ptc().f[0]++;
|
|
24528
24646
|
var _ref2 = (cov_2dmleb6ptc().s[1]++, item),
|
|
24529
|
-
optionsAttributes = _ref2.optionsAttributes
|
|
24647
|
+
optionsAttributes = _ref2.optionsAttributes,
|
|
24648
|
+
_ref2$optionLabelProp = _ref2.optionLabelProps,
|
|
24649
|
+
optionLabelProps = _ref2$optionLabelProp === void 0 ? (cov_2dmleb6ptc().b[0][0]++, {}) : _ref2$optionLabelProp,
|
|
24650
|
+
_ref2$freezeOptions = _ref2.freezeOptions,
|
|
24651
|
+
freezeOptions = _ref2$freezeOptions === void 0 ? (cov_2dmleb6ptc().b[1][0]++, false) : _ref2$freezeOptions;
|
|
24530
24652
|
var _ref3 = (cov_2dmleb6ptc().s[2]++, useTranslation()),
|
|
24531
24653
|
t = _ref3.t;
|
|
24532
24654
|
var _ref4 = (cov_2dmleb6ptc().s[3]++, useFormikContext()),
|
|
@@ -24553,9 +24675,9 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24553
24675
|
})
|
|
24554
24676
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
24555
24677
|
className: "w-full"
|
|
24556
|
-
}, /*#__PURE__*/React__default.createElement(Label, {
|
|
24678
|
+
}, /*#__PURE__*/React__default.createElement(Label, _extends$9({
|
|
24557
24679
|
className: "mb-1 block"
|
|
24558
|
-
}, t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default.createElement(FieldArray, {
|
|
24680
|
+
}, optionLabelProps), t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default.createElement(FieldArray, {
|
|
24559
24681
|
name: "".concat(name, ".optionsAttributes")
|
|
24560
24682
|
}, function (_ref5) {
|
|
24561
24683
|
var handlePush = _ref5.handlePush;
|
|
@@ -24567,13 +24689,14 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24567
24689
|
var _ref6;
|
|
24568
24690
|
cov_2dmleb6ptc().f[3]++;
|
|
24569
24691
|
cov_2dmleb6ptc().s[9]++;
|
|
24570
|
-
return (cov_2dmleb6ptc().b[
|
|
24692
|
+
return (cov_2dmleb6ptc().b[2][0]++, !option._destroy) && (cov_2dmleb6ptc().b[2][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
24571
24693
|
className: "flex items-start gap-1",
|
|
24572
|
-
key: "question-option-".concat((_ref6 = (cov_2dmleb6ptc().b[
|
|
24694
|
+
key: "question-option-".concat((_ref6 = (cov_2dmleb6ptc().b[3][0]++, option.id)) !== null && _ref6 !== void 0 ? _ref6 : (cov_2dmleb6ptc().b[3][1]++, index))
|
|
24573
24695
|
}, /*#__PURE__*/React__default.createElement(InputWithMaxLength, {
|
|
24696
|
+
disabled: freezeOptions,
|
|
24574
24697
|
name: "".concat(name, ".optionsAttributes.").concat(index, ".label"),
|
|
24575
24698
|
placeholder: "".concat(t("questions.common.questionFields.field.option"), " ").concat(index + 1)
|
|
24576
|
-
}), /*#__PURE__*/React__default.createElement(Button$1, {
|
|
24699
|
+
}), (cov_2dmleb6ptc().b[4][0]++, !freezeOptions) && (cov_2dmleb6ptc().b[4][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
24577
24700
|
style: "text",
|
|
24578
24701
|
className: classnames({
|
|
24579
24702
|
invisible: index < DROPDOWN_FIELD_MIN_OPTIONS$1
|
|
@@ -24591,8 +24714,8 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24591
24714
|
cov_2dmleb6ptc().s[11]++;
|
|
24592
24715
|
return handleRemoveOption(index);
|
|
24593
24716
|
}
|
|
24594
|
-
})));
|
|
24595
|
-
})), /*#__PURE__*/React__default.createElement("div", {
|
|
24717
|
+
}))));
|
|
24718
|
+
})), (cov_2dmleb6ptc().b[5][0]++, !freezeOptions) && (cov_2dmleb6ptc().b[5][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
24596
24719
|
className: "mt-3 w-full"
|
|
24597
24720
|
}, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
24598
24721
|
icon: Plus,
|
|
@@ -24603,8 +24726,8 @@ var Dropdown$1 = function Dropdown(_ref) {
|
|
|
24603
24726
|
onClick: handlePush({
|
|
24604
24727
|
label: ""
|
|
24605
24728
|
})
|
|
24606
|
-
})));
|
|
24607
|
-
})), (cov_2dmleb6ptc().b[
|
|
24729
|
+
}))));
|
|
24730
|
+
})), (cov_2dmleb6ptc().b[6][0]++, !isRequired) && (cov_2dmleb6ptc().b[6][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
24608
24731
|
className: "w-full"
|
|
24609
24732
|
}, /*#__PURE__*/React__default.createElement(Checkbox, {
|
|
24610
24733
|
id: "".concat(name, ".isRequired"),
|
|
@@ -24938,7 +25061,7 @@ var LongText$1 = function LongText(_ref) {
|
|
|
24938
25061
|
|
|
24939
25062
|
function cov_ezislrxf8() {
|
|
24940
25063
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/MultipleChoice.jsx";
|
|
24941
|
-
var hash = "
|
|
25064
|
+
var hash = "f398b7e5e94047f87461a57e2caf604e32e36a9d";
|
|
24942
25065
|
var global = new Function("return this")();
|
|
24943
25066
|
var gcv = "__coverage__";
|
|
24944
25067
|
var coverageData = {
|
|
@@ -24950,108 +25073,108 @@ function cov_ezislrxf8() {
|
|
|
24950
25073
|
column: 23
|
|
24951
25074
|
},
|
|
24952
25075
|
end: {
|
|
24953
|
-
line:
|
|
25076
|
+
line: 98,
|
|
24954
25077
|
column: 1
|
|
24955
25078
|
}
|
|
24956
25079
|
},
|
|
24957
25080
|
"1": {
|
|
24958
25081
|
start: {
|
|
24959
|
-
line:
|
|
24960
|
-
column:
|
|
25082
|
+
line: 19,
|
|
25083
|
+
column: 6
|
|
24961
25084
|
},
|
|
24962
25085
|
end: {
|
|
24963
|
-
line:
|
|
24964
|
-
column:
|
|
25086
|
+
line: 19,
|
|
25087
|
+
column: 10
|
|
24965
25088
|
}
|
|
24966
25089
|
},
|
|
24967
25090
|
"2": {
|
|
24968
25091
|
start: {
|
|
24969
|
-
line:
|
|
25092
|
+
line: 20,
|
|
24970
25093
|
column: 16
|
|
24971
25094
|
},
|
|
24972
25095
|
end: {
|
|
24973
|
-
line:
|
|
25096
|
+
line: 20,
|
|
24974
25097
|
column: 32
|
|
24975
25098
|
}
|
|
24976
25099
|
},
|
|
24977
25100
|
"3": {
|
|
24978
25101
|
start: {
|
|
24979
|
-
line:
|
|
25102
|
+
line: 21,
|
|
24980
25103
|
column: 28
|
|
24981
25104
|
},
|
|
24982
25105
|
end: {
|
|
24983
|
-
line:
|
|
25106
|
+
line: 21,
|
|
24984
25107
|
column: 46
|
|
24985
25108
|
}
|
|
24986
25109
|
},
|
|
24987
25110
|
"4": {
|
|
24988
25111
|
start: {
|
|
24989
|
-
line:
|
|
25112
|
+
line: 23,
|
|
24990
25113
|
column: 29
|
|
24991
25114
|
},
|
|
24992
25115
|
end: {
|
|
24993
|
-
line:
|
|
25116
|
+
line: 26,
|
|
24994
25117
|
column: 3
|
|
24995
25118
|
}
|
|
24996
25119
|
},
|
|
24997
25120
|
"5": {
|
|
24998
25121
|
start: {
|
|
24999
|
-
line:
|
|
25122
|
+
line: 24,
|
|
25000
25123
|
column: 24
|
|
25001
25124
|
},
|
|
25002
25125
|
end: {
|
|
25003
|
-
line:
|
|
25126
|
+
line: 24,
|
|
25004
25127
|
column: 77
|
|
25005
25128
|
}
|
|
25006
25129
|
},
|
|
25007
25130
|
"6": {
|
|
25008
25131
|
start: {
|
|
25009
|
-
line:
|
|
25132
|
+
line: 25,
|
|
25010
25133
|
column: 4
|
|
25011
25134
|
},
|
|
25012
25135
|
end: {
|
|
25013
|
-
line:
|
|
25136
|
+
line: 25,
|
|
25014
25137
|
column: 60
|
|
25015
25138
|
}
|
|
25016
25139
|
},
|
|
25017
25140
|
"7": {
|
|
25018
25141
|
start: {
|
|
25019
|
-
line:
|
|
25142
|
+
line: 28,
|
|
25020
25143
|
column: 2
|
|
25021
25144
|
},
|
|
25022
25145
|
end: {
|
|
25023
|
-
line:
|
|
25146
|
+
line: 97,
|
|
25024
25147
|
column: 4
|
|
25025
25148
|
}
|
|
25026
25149
|
},
|
|
25027
25150
|
"8": {
|
|
25028
25151
|
start: {
|
|
25029
|
-
line:
|
|
25152
|
+
line: 41,
|
|
25030
25153
|
column: 12
|
|
25031
25154
|
},
|
|
25032
25155
|
end: {
|
|
25033
|
-
line:
|
|
25156
|
+
line: 83,
|
|
25034
25157
|
column: 15
|
|
25035
25158
|
}
|
|
25036
25159
|
},
|
|
25037
25160
|
"9": {
|
|
25038
25161
|
start: {
|
|
25039
|
-
line:
|
|
25162
|
+
line: 48,
|
|
25040
25163
|
column: 20
|
|
25041
25164
|
},
|
|
25042
25165
|
end: {
|
|
25043
|
-
line:
|
|
25166
|
+
line: 68,
|
|
25044
25167
|
column: 21
|
|
25045
25168
|
}
|
|
25046
25169
|
},
|
|
25047
25170
|
"10": {
|
|
25048
25171
|
start: {
|
|
25049
|
-
line:
|
|
25050
|
-
column:
|
|
25172
|
+
line: 64,
|
|
25173
|
+
column: 43
|
|
25051
25174
|
},
|
|
25052
25175
|
end: {
|
|
25053
|
-
line:
|
|
25054
|
-
column:
|
|
25176
|
+
line: 64,
|
|
25177
|
+
column: 68
|
|
25055
25178
|
}
|
|
25056
25179
|
}
|
|
25057
25180
|
},
|
|
@@ -25074,7 +25197,7 @@ function cov_ezislrxf8() {
|
|
|
25074
25197
|
column: 55
|
|
25075
25198
|
},
|
|
25076
25199
|
end: {
|
|
25077
|
-
line:
|
|
25200
|
+
line: 98,
|
|
25078
25201
|
column: 1
|
|
25079
25202
|
}
|
|
25080
25203
|
},
|
|
@@ -25084,198 +25207,312 @@ function cov_ezislrxf8() {
|
|
|
25084
25207
|
name: "(anonymous_1)",
|
|
25085
25208
|
decl: {
|
|
25086
25209
|
start: {
|
|
25087
|
-
line:
|
|
25210
|
+
line: 23,
|
|
25088
25211
|
column: 29
|
|
25089
25212
|
},
|
|
25090
25213
|
end: {
|
|
25091
|
-
line:
|
|
25214
|
+
line: 23,
|
|
25092
25215
|
column: 30
|
|
25093
25216
|
}
|
|
25094
25217
|
},
|
|
25095
25218
|
loc: {
|
|
25096
25219
|
start: {
|
|
25097
|
-
line:
|
|
25220
|
+
line: 23,
|
|
25098
25221
|
column: 38
|
|
25099
25222
|
},
|
|
25100
25223
|
end: {
|
|
25101
|
-
line:
|
|
25224
|
+
line: 26,
|
|
25102
25225
|
column: 3
|
|
25103
25226
|
}
|
|
25104
25227
|
},
|
|
25105
|
-
line:
|
|
25228
|
+
line: 23
|
|
25106
25229
|
},
|
|
25107
25230
|
"2": {
|
|
25108
25231
|
name: "(anonymous_2)",
|
|
25109
25232
|
decl: {
|
|
25110
25233
|
start: {
|
|
25111
|
-
line:
|
|
25234
|
+
line: 40,
|
|
25112
25235
|
column: 11
|
|
25113
25236
|
},
|
|
25114
25237
|
end: {
|
|
25115
|
-
line:
|
|
25238
|
+
line: 40,
|
|
25116
25239
|
column: 12
|
|
25117
25240
|
}
|
|
25118
25241
|
},
|
|
25119
25242
|
loc: {
|
|
25120
25243
|
start: {
|
|
25121
|
-
line:
|
|
25244
|
+
line: 41,
|
|
25122
25245
|
column: 12
|
|
25123
25246
|
},
|
|
25124
25247
|
end: {
|
|
25125
|
-
line:
|
|
25248
|
+
line: 83,
|
|
25126
25249
|
column: 15
|
|
25127
25250
|
}
|
|
25128
25251
|
},
|
|
25129
|
-
line:
|
|
25252
|
+
line: 41
|
|
25130
25253
|
},
|
|
25131
25254
|
"3": {
|
|
25132
25255
|
name: "(anonymous_3)",
|
|
25133
25256
|
decl: {
|
|
25134
25257
|
start: {
|
|
25135
|
-
line:
|
|
25258
|
+
line: 47,
|
|
25136
25259
|
column: 18
|
|
25137
25260
|
},
|
|
25138
25261
|
end: {
|
|
25139
|
-
line:
|
|
25262
|
+
line: 47,
|
|
25140
25263
|
column: 19
|
|
25141
25264
|
}
|
|
25142
25265
|
},
|
|
25143
25266
|
loc: {
|
|
25144
25267
|
start: {
|
|
25145
|
-
line:
|
|
25268
|
+
line: 48,
|
|
25146
25269
|
column: 20
|
|
25147
25270
|
},
|
|
25148
25271
|
end: {
|
|
25149
|
-
line:
|
|
25272
|
+
line: 68,
|
|
25150
25273
|
column: 21
|
|
25151
25274
|
}
|
|
25152
25275
|
},
|
|
25153
|
-
line:
|
|
25276
|
+
line: 48
|
|
25154
25277
|
},
|
|
25155
25278
|
"4": {
|
|
25156
25279
|
name: "(anonymous_4)",
|
|
25157
25280
|
decl: {
|
|
25158
25281
|
start: {
|
|
25159
|
-
line:
|
|
25160
|
-
column:
|
|
25282
|
+
line: 64,
|
|
25283
|
+
column: 37
|
|
25161
25284
|
},
|
|
25162
25285
|
end: {
|
|
25163
|
-
line:
|
|
25164
|
-
column:
|
|
25286
|
+
line: 64,
|
|
25287
|
+
column: 38
|
|
25165
25288
|
}
|
|
25166
25289
|
},
|
|
25167
25290
|
loc: {
|
|
25168
25291
|
start: {
|
|
25169
|
-
line:
|
|
25170
|
-
column:
|
|
25292
|
+
line: 64,
|
|
25293
|
+
column: 43
|
|
25171
25294
|
},
|
|
25172
25295
|
end: {
|
|
25173
|
-
line:
|
|
25174
|
-
column:
|
|
25296
|
+
line: 64,
|
|
25297
|
+
column: 68
|
|
25175
25298
|
}
|
|
25176
25299
|
},
|
|
25177
|
-
line:
|
|
25300
|
+
line: 64
|
|
25178
25301
|
}
|
|
25179
25302
|
},
|
|
25180
25303
|
branchMap: {
|
|
25181
25304
|
"0": {
|
|
25182
25305
|
loc: {
|
|
25183
25306
|
start: {
|
|
25184
|
-
line:
|
|
25307
|
+
line: 17,
|
|
25308
|
+
column: 4
|
|
25309
|
+
},
|
|
25310
|
+
end: {
|
|
25311
|
+
line: 17,
|
|
25312
|
+
column: 25
|
|
25313
|
+
}
|
|
25314
|
+
},
|
|
25315
|
+
type: "default-arg",
|
|
25316
|
+
locations: [{
|
|
25317
|
+
start: {
|
|
25318
|
+
line: 17,
|
|
25319
|
+
column: 23
|
|
25320
|
+
},
|
|
25321
|
+
end: {
|
|
25322
|
+
line: 17,
|
|
25323
|
+
column: 25
|
|
25324
|
+
}
|
|
25325
|
+
}],
|
|
25326
|
+
line: 17
|
|
25327
|
+
},
|
|
25328
|
+
"1": {
|
|
25329
|
+
loc: {
|
|
25330
|
+
start: {
|
|
25331
|
+
line: 18,
|
|
25332
|
+
column: 4
|
|
25333
|
+
},
|
|
25334
|
+
end: {
|
|
25335
|
+
line: 18,
|
|
25336
|
+
column: 25
|
|
25337
|
+
}
|
|
25338
|
+
},
|
|
25339
|
+
type: "default-arg",
|
|
25340
|
+
locations: [{
|
|
25341
|
+
start: {
|
|
25342
|
+
line: 18,
|
|
25185
25343
|
column: 20
|
|
25186
25344
|
},
|
|
25187
25345
|
end: {
|
|
25188
|
-
line:
|
|
25346
|
+
line: 18,
|
|
25347
|
+
column: 25
|
|
25348
|
+
}
|
|
25349
|
+
}],
|
|
25350
|
+
line: 18
|
|
25351
|
+
},
|
|
25352
|
+
"2": {
|
|
25353
|
+
loc: {
|
|
25354
|
+
start: {
|
|
25355
|
+
line: 48,
|
|
25356
|
+
column: 20
|
|
25357
|
+
},
|
|
25358
|
+
end: {
|
|
25359
|
+
line: 68,
|
|
25189
25360
|
column: 21
|
|
25190
25361
|
}
|
|
25191
25362
|
},
|
|
25192
25363
|
type: "binary-expr",
|
|
25193
25364
|
locations: [{
|
|
25194
25365
|
start: {
|
|
25195
|
-
line:
|
|
25366
|
+
line: 48,
|
|
25196
25367
|
column: 20
|
|
25197
25368
|
},
|
|
25198
25369
|
end: {
|
|
25199
|
-
line:
|
|
25370
|
+
line: 48,
|
|
25200
25371
|
column: 36
|
|
25201
25372
|
}
|
|
25202
25373
|
}, {
|
|
25203
25374
|
start: {
|
|
25204
|
-
line:
|
|
25375
|
+
line: 49,
|
|
25205
25376
|
column: 22
|
|
25206
25377
|
},
|
|
25207
25378
|
end: {
|
|
25208
|
-
line:
|
|
25379
|
+
line: 67,
|
|
25209
25380
|
column: 28
|
|
25210
25381
|
}
|
|
25211
25382
|
}],
|
|
25212
|
-
line:
|
|
25383
|
+
line: 48
|
|
25213
25384
|
},
|
|
25214
|
-
"
|
|
25385
|
+
"3": {
|
|
25215
25386
|
loc: {
|
|
25216
25387
|
start: {
|
|
25217
|
-
line:
|
|
25388
|
+
line: 51,
|
|
25218
25389
|
column: 48
|
|
25219
25390
|
},
|
|
25220
25391
|
end: {
|
|
25221
|
-
line:
|
|
25392
|
+
line: 51,
|
|
25222
25393
|
column: 66
|
|
25223
25394
|
}
|
|
25224
25395
|
},
|
|
25225
25396
|
type: "binary-expr",
|
|
25226
25397
|
locations: [{
|
|
25227
25398
|
start: {
|
|
25228
|
-
line:
|
|
25399
|
+
line: 51,
|
|
25229
25400
|
column: 48
|
|
25230
25401
|
},
|
|
25231
25402
|
end: {
|
|
25232
|
-
line:
|
|
25403
|
+
line: 51,
|
|
25233
25404
|
column: 57
|
|
25234
25405
|
}
|
|
25235
25406
|
}, {
|
|
25236
25407
|
start: {
|
|
25237
|
-
line:
|
|
25408
|
+
line: 51,
|
|
25238
25409
|
column: 61
|
|
25239
25410
|
},
|
|
25240
25411
|
end: {
|
|
25241
|
-
line:
|
|
25412
|
+
line: 51,
|
|
25242
25413
|
column: 66
|
|
25243
25414
|
}
|
|
25244
25415
|
}],
|
|
25245
|
-
line:
|
|
25416
|
+
line: 51
|
|
25246
25417
|
},
|
|
25247
|
-
"
|
|
25418
|
+
"4": {
|
|
25248
25419
|
loc: {
|
|
25249
25420
|
start: {
|
|
25250
|
-
line:
|
|
25421
|
+
line: 58,
|
|
25422
|
+
column: 25
|
|
25423
|
+
},
|
|
25424
|
+
end: {
|
|
25425
|
+
line: 66,
|
|
25426
|
+
column: 25
|
|
25427
|
+
}
|
|
25428
|
+
},
|
|
25429
|
+
type: "binary-expr",
|
|
25430
|
+
locations: [{
|
|
25431
|
+
start: {
|
|
25432
|
+
line: 58,
|
|
25433
|
+
column: 25
|
|
25434
|
+
},
|
|
25435
|
+
end: {
|
|
25436
|
+
line: 58,
|
|
25437
|
+
column: 39
|
|
25438
|
+
}
|
|
25439
|
+
}, {
|
|
25440
|
+
start: {
|
|
25441
|
+
line: 59,
|
|
25442
|
+
column: 26
|
|
25443
|
+
},
|
|
25444
|
+
end: {
|
|
25445
|
+
line: 65,
|
|
25446
|
+
column: 28
|
|
25447
|
+
}
|
|
25448
|
+
}],
|
|
25449
|
+
line: 58
|
|
25450
|
+
},
|
|
25451
|
+
"5": {
|
|
25452
|
+
loc: {
|
|
25453
|
+
start: {
|
|
25454
|
+
line: 71,
|
|
25455
|
+
column: 15
|
|
25456
|
+
},
|
|
25457
|
+
end: {
|
|
25458
|
+
line: 82,
|
|
25459
|
+
column: 15
|
|
25460
|
+
}
|
|
25461
|
+
},
|
|
25462
|
+
type: "binary-expr",
|
|
25463
|
+
locations: [{
|
|
25464
|
+
start: {
|
|
25465
|
+
line: 71,
|
|
25466
|
+
column: 15
|
|
25467
|
+
},
|
|
25468
|
+
end: {
|
|
25469
|
+
line: 71,
|
|
25470
|
+
column: 29
|
|
25471
|
+
}
|
|
25472
|
+
}, {
|
|
25473
|
+
start: {
|
|
25474
|
+
line: 72,
|
|
25475
|
+
column: 16
|
|
25476
|
+
},
|
|
25477
|
+
end: {
|
|
25478
|
+
line: 81,
|
|
25479
|
+
column: 22
|
|
25480
|
+
}
|
|
25481
|
+
}],
|
|
25482
|
+
line: 71
|
|
25483
|
+
},
|
|
25484
|
+
"6": {
|
|
25485
|
+
loc: {
|
|
25486
|
+
start: {
|
|
25487
|
+
line: 87,
|
|
25251
25488
|
column: 7
|
|
25252
25489
|
},
|
|
25253
25490
|
end: {
|
|
25254
|
-
line:
|
|
25491
|
+
line: 95,
|
|
25255
25492
|
column: 7
|
|
25256
25493
|
}
|
|
25257
25494
|
},
|
|
25258
25495
|
type: "binary-expr",
|
|
25259
25496
|
locations: [{
|
|
25260
25497
|
start: {
|
|
25261
|
-
line:
|
|
25498
|
+
line: 87,
|
|
25262
25499
|
column: 7
|
|
25263
25500
|
},
|
|
25264
25501
|
end: {
|
|
25265
|
-
line:
|
|
25502
|
+
line: 87,
|
|
25266
25503
|
column: 18
|
|
25267
25504
|
}
|
|
25268
25505
|
}, {
|
|
25269
25506
|
start: {
|
|
25270
|
-
line:
|
|
25507
|
+
line: 88,
|
|
25271
25508
|
column: 8
|
|
25272
25509
|
},
|
|
25273
25510
|
end: {
|
|
25274
|
-
line:
|
|
25511
|
+
line: 94,
|
|
25275
25512
|
column: 14
|
|
25276
25513
|
}
|
|
25277
25514
|
}],
|
|
25278
|
-
line:
|
|
25515
|
+
line: 87
|
|
25279
25516
|
}
|
|
25280
25517
|
},
|
|
25281
25518
|
s: {
|
|
@@ -25299,12 +25536,16 @@ function cov_ezislrxf8() {
|
|
|
25299
25536
|
"4": 0
|
|
25300
25537
|
},
|
|
25301
25538
|
b: {
|
|
25302
|
-
"0": [0
|
|
25303
|
-
"1": [0
|
|
25304
|
-
"2": [0, 0]
|
|
25539
|
+
"0": [0],
|
|
25540
|
+
"1": [0],
|
|
25541
|
+
"2": [0, 0],
|
|
25542
|
+
"3": [0, 0],
|
|
25543
|
+
"4": [0, 0],
|
|
25544
|
+
"5": [0, 0],
|
|
25545
|
+
"6": [0, 0]
|
|
25305
25546
|
},
|
|
25306
25547
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
25307
|
-
hash: "
|
|
25548
|
+
hash: "f398b7e5e94047f87461a57e2caf604e32e36a9d"
|
|
25308
25549
|
};
|
|
25309
25550
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
25310
25551
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -25327,7 +25568,11 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25327
25568
|
isRequired = _ref.isRequired;
|
|
25328
25569
|
cov_ezislrxf8().f[0]++;
|
|
25329
25570
|
var _ref2 = (cov_ezislrxf8().s[1]++, item),
|
|
25330
|
-
optionsAttributes = _ref2.optionsAttributes
|
|
25571
|
+
optionsAttributes = _ref2.optionsAttributes,
|
|
25572
|
+
_ref2$optionLabelProp = _ref2.optionLabelProps,
|
|
25573
|
+
optionLabelProps = _ref2$optionLabelProp === void 0 ? (cov_ezislrxf8().b[0][0]++, {}) : _ref2$optionLabelProp,
|
|
25574
|
+
_ref2$freezeOptions = _ref2.freezeOptions,
|
|
25575
|
+
freezeOptions = _ref2$freezeOptions === void 0 ? (cov_ezislrxf8().b[1][0]++, false) : _ref2$freezeOptions;
|
|
25331
25576
|
var _ref3 = (cov_ezislrxf8().s[2]++, useTranslation()),
|
|
25332
25577
|
t = _ref3.t;
|
|
25333
25578
|
var _ref4 = (cov_ezislrxf8().s[3]++, useFormikContext()),
|
|
@@ -25357,21 +25602,22 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25357
25602
|
var handlePush = _ref5.handlePush;
|
|
25358
25603
|
cov_ezislrxf8().f[2]++;
|
|
25359
25604
|
cov_ezislrxf8().s[8]++;
|
|
25360
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Label, {
|
|
25605
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Label, _extends$9({
|
|
25361
25606
|
className: "mb-1 block"
|
|
25362
|
-
}, t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default.createElement("div", {
|
|
25607
|
+
}, optionLabelProps), t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default.createElement("div", {
|
|
25363
25608
|
className: "flex w-2/3 flex-col space-y-2"
|
|
25364
25609
|
}, optionsAttributes.map(function (option, index) {
|
|
25365
25610
|
var _ref6;
|
|
25366
25611
|
cov_ezislrxf8().f[3]++;
|
|
25367
25612
|
cov_ezislrxf8().s[9]++;
|
|
25368
|
-
return (cov_ezislrxf8().b[
|
|
25613
|
+
return (cov_ezislrxf8().b[2][0]++, !option._destroy) && (cov_ezislrxf8().b[2][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
25369
25614
|
className: "flex items-start gap-1",
|
|
25370
|
-
key: "question-option-".concat((_ref6 = (cov_ezislrxf8().b[
|
|
25615
|
+
key: "question-option-".concat((_ref6 = (cov_ezislrxf8().b[3][0]++, option.id)) !== null && _ref6 !== void 0 ? _ref6 : (cov_ezislrxf8().b[3][1]++, index))
|
|
25371
25616
|
}, /*#__PURE__*/React__default.createElement(InputWithMaxLength, {
|
|
25372
25617
|
required: true,
|
|
25618
|
+
disabled: freezeOptions,
|
|
25373
25619
|
name: "".concat(name, ".optionsAttributes.").concat(index, ".label")
|
|
25374
|
-
}), /*#__PURE__*/React__default.createElement(Button$1, {
|
|
25620
|
+
}), (cov_ezislrxf8().b[4][0]++, !freezeOptions) && (cov_ezislrxf8().b[4][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
25375
25621
|
className: classnames({
|
|
25376
25622
|
invisible: index === 0
|
|
25377
25623
|
}),
|
|
@@ -25383,8 +25629,8 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25383
25629
|
cov_ezislrxf8().s[10]++;
|
|
25384
25630
|
return handleRemoveOption(index);
|
|
25385
25631
|
}
|
|
25386
|
-
})));
|
|
25387
|
-
})), /*#__PURE__*/React__default.createElement("div", {
|
|
25632
|
+
}))));
|
|
25633
|
+
})), (cov_ezislrxf8().b[5][0]++, !freezeOptions) && (cov_ezislrxf8().b[5][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
25388
25634
|
className: "mt-3 w-full"
|
|
25389
25635
|
}, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
25390
25636
|
icon: Plus,
|
|
@@ -25395,8 +25641,8 @@ var MultipleChoice$1 = function MultipleChoice(_ref) {
|
|
|
25395
25641
|
onClick: handlePush({
|
|
25396
25642
|
label: ""
|
|
25397
25643
|
})
|
|
25398
|
-
})));
|
|
25399
|
-
})), (cov_ezislrxf8().b[
|
|
25644
|
+
}))));
|
|
25645
|
+
})), (cov_ezislrxf8().b[6][0]++, !isRequired) && (cov_ezislrxf8().b[6][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
25400
25646
|
className: "w-full"
|
|
25401
25647
|
}, /*#__PURE__*/React__default.createElement(Checkbox, {
|
|
25402
25648
|
id: "".concat(name, ".isRequired"),
|
|
@@ -25960,7 +26206,7 @@ var ShortText$1 = function ShortText(_ref) {
|
|
|
25960
26206
|
|
|
25961
26207
|
function cov_1p625a7ih4() {
|
|
25962
26208
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/SingleChoice.jsx";
|
|
25963
|
-
var hash = "
|
|
26209
|
+
var hash = "1011b25909b9c73b64080f90fa78d81fed144c14";
|
|
25964
26210
|
var global = new Function("return this")();
|
|
25965
26211
|
var gcv = "__coverage__";
|
|
25966
26212
|
var coverageData = {
|
|
@@ -25972,108 +26218,108 @@ function cov_1p625a7ih4() {
|
|
|
25972
26218
|
column: 21
|
|
25973
26219
|
},
|
|
25974
26220
|
end: {
|
|
25975
|
-
line:
|
|
26221
|
+
line: 106,
|
|
25976
26222
|
column: 1
|
|
25977
26223
|
}
|
|
25978
26224
|
},
|
|
25979
26225
|
"1": {
|
|
25980
26226
|
start: {
|
|
25981
|
-
line:
|
|
25982
|
-
column:
|
|
26227
|
+
line: 21,
|
|
26228
|
+
column: 6
|
|
25983
26229
|
},
|
|
25984
26230
|
end: {
|
|
25985
|
-
line:
|
|
25986
|
-
column:
|
|
26231
|
+
line: 21,
|
|
26232
|
+
column: 10
|
|
25987
26233
|
}
|
|
25988
26234
|
},
|
|
25989
26235
|
"2": {
|
|
25990
26236
|
start: {
|
|
25991
|
-
line:
|
|
26237
|
+
line: 22,
|
|
25992
26238
|
column: 16
|
|
25993
26239
|
},
|
|
25994
26240
|
end: {
|
|
25995
|
-
line:
|
|
26241
|
+
line: 22,
|
|
25996
26242
|
column: 32
|
|
25997
26243
|
}
|
|
25998
26244
|
},
|
|
25999
26245
|
"3": {
|
|
26000
26246
|
start: {
|
|
26001
|
-
line:
|
|
26247
|
+
line: 24,
|
|
26002
26248
|
column: 28
|
|
26003
26249
|
},
|
|
26004
26250
|
end: {
|
|
26005
|
-
line:
|
|
26251
|
+
line: 24,
|
|
26006
26252
|
column: 46
|
|
26007
26253
|
}
|
|
26008
26254
|
},
|
|
26009
26255
|
"4": {
|
|
26010
26256
|
start: {
|
|
26011
|
-
line:
|
|
26257
|
+
line: 26,
|
|
26012
26258
|
column: 29
|
|
26013
26259
|
},
|
|
26014
26260
|
end: {
|
|
26015
|
-
line:
|
|
26261
|
+
line: 29,
|
|
26016
26262
|
column: 3
|
|
26017
26263
|
}
|
|
26018
26264
|
},
|
|
26019
26265
|
"5": {
|
|
26020
26266
|
start: {
|
|
26021
|
-
line:
|
|
26267
|
+
line: 27,
|
|
26022
26268
|
column: 24
|
|
26023
26269
|
},
|
|
26024
26270
|
end: {
|
|
26025
|
-
line:
|
|
26271
|
+
line: 27,
|
|
26026
26272
|
column: 77
|
|
26027
26273
|
}
|
|
26028
26274
|
},
|
|
26029
26275
|
"6": {
|
|
26030
26276
|
start: {
|
|
26031
|
-
line:
|
|
26277
|
+
line: 28,
|
|
26032
26278
|
column: 4
|
|
26033
26279
|
},
|
|
26034
26280
|
end: {
|
|
26035
|
-
line:
|
|
26281
|
+
line: 28,
|
|
26036
26282
|
column: 50
|
|
26037
26283
|
}
|
|
26038
26284
|
},
|
|
26039
26285
|
"7": {
|
|
26040
26286
|
start: {
|
|
26041
|
-
line:
|
|
26287
|
+
line: 31,
|
|
26042
26288
|
column: 2
|
|
26043
26289
|
},
|
|
26044
26290
|
end: {
|
|
26045
|
-
line:
|
|
26291
|
+
line: 105,
|
|
26046
26292
|
column: 4
|
|
26047
26293
|
}
|
|
26048
26294
|
},
|
|
26049
26295
|
"8": {
|
|
26050
26296
|
start: {
|
|
26051
|
-
line:
|
|
26297
|
+
line: 44,
|
|
26052
26298
|
column: 12
|
|
26053
26299
|
},
|
|
26054
26300
|
end: {
|
|
26055
|
-
line:
|
|
26301
|
+
line: 91,
|
|
26056
26302
|
column: 15
|
|
26057
26303
|
}
|
|
26058
26304
|
},
|
|
26059
26305
|
"9": {
|
|
26060
26306
|
start: {
|
|
26061
|
-
line:
|
|
26307
|
+
line: 51,
|
|
26062
26308
|
column: 20
|
|
26063
26309
|
},
|
|
26064
26310
|
end: {
|
|
26065
|
-
line:
|
|
26311
|
+
line: 76,
|
|
26066
26312
|
column: 21
|
|
26067
26313
|
}
|
|
26068
26314
|
},
|
|
26069
26315
|
"10": {
|
|
26070
26316
|
start: {
|
|
26071
|
-
line:
|
|
26072
|
-
column:
|
|
26317
|
+
line: 72,
|
|
26318
|
+
column: 43
|
|
26073
26319
|
},
|
|
26074
26320
|
end: {
|
|
26075
|
-
line:
|
|
26076
|
-
column:
|
|
26321
|
+
line: 72,
|
|
26322
|
+
column: 68
|
|
26077
26323
|
}
|
|
26078
26324
|
}
|
|
26079
26325
|
},
|
|
@@ -26096,7 +26342,7 @@ function cov_1p625a7ih4() {
|
|
|
26096
26342
|
column: 53
|
|
26097
26343
|
},
|
|
26098
26344
|
end: {
|
|
26099
|
-
line:
|
|
26345
|
+
line: 106,
|
|
26100
26346
|
column: 1
|
|
26101
26347
|
}
|
|
26102
26348
|
},
|
|
@@ -26106,198 +26352,312 @@ function cov_1p625a7ih4() {
|
|
|
26106
26352
|
name: "(anonymous_1)",
|
|
26107
26353
|
decl: {
|
|
26108
26354
|
start: {
|
|
26109
|
-
line:
|
|
26355
|
+
line: 26,
|
|
26110
26356
|
column: 29
|
|
26111
26357
|
},
|
|
26112
26358
|
end: {
|
|
26113
|
-
line:
|
|
26359
|
+
line: 26,
|
|
26114
26360
|
column: 30
|
|
26115
26361
|
}
|
|
26116
26362
|
},
|
|
26117
26363
|
loc: {
|
|
26118
26364
|
start: {
|
|
26119
|
-
line:
|
|
26365
|
+
line: 26,
|
|
26120
26366
|
column: 38
|
|
26121
26367
|
},
|
|
26122
26368
|
end: {
|
|
26123
|
-
line:
|
|
26369
|
+
line: 29,
|
|
26124
26370
|
column: 3
|
|
26125
26371
|
}
|
|
26126
26372
|
},
|
|
26127
|
-
line:
|
|
26373
|
+
line: 26
|
|
26128
26374
|
},
|
|
26129
26375
|
"2": {
|
|
26130
26376
|
name: "(anonymous_2)",
|
|
26131
26377
|
decl: {
|
|
26132
26378
|
start: {
|
|
26133
|
-
line:
|
|
26379
|
+
line: 43,
|
|
26134
26380
|
column: 11
|
|
26135
26381
|
},
|
|
26136
26382
|
end: {
|
|
26137
|
-
line:
|
|
26383
|
+
line: 43,
|
|
26138
26384
|
column: 12
|
|
26139
26385
|
}
|
|
26140
26386
|
},
|
|
26141
26387
|
loc: {
|
|
26142
26388
|
start: {
|
|
26143
|
-
line:
|
|
26389
|
+
line: 44,
|
|
26144
26390
|
column: 12
|
|
26145
26391
|
},
|
|
26146
26392
|
end: {
|
|
26147
|
-
line:
|
|
26393
|
+
line: 91,
|
|
26148
26394
|
column: 15
|
|
26149
26395
|
}
|
|
26150
26396
|
},
|
|
26151
|
-
line:
|
|
26397
|
+
line: 44
|
|
26152
26398
|
},
|
|
26153
26399
|
"3": {
|
|
26154
26400
|
name: "(anonymous_3)",
|
|
26155
26401
|
decl: {
|
|
26156
26402
|
start: {
|
|
26157
|
-
line:
|
|
26403
|
+
line: 50,
|
|
26158
26404
|
column: 18
|
|
26159
26405
|
},
|
|
26160
26406
|
end: {
|
|
26161
|
-
line:
|
|
26407
|
+
line: 50,
|
|
26162
26408
|
column: 19
|
|
26163
26409
|
}
|
|
26164
26410
|
},
|
|
26165
26411
|
loc: {
|
|
26166
26412
|
start: {
|
|
26167
|
-
line:
|
|
26413
|
+
line: 51,
|
|
26168
26414
|
column: 20
|
|
26169
26415
|
},
|
|
26170
26416
|
end: {
|
|
26171
|
-
line:
|
|
26417
|
+
line: 76,
|
|
26172
26418
|
column: 21
|
|
26173
26419
|
}
|
|
26174
26420
|
},
|
|
26175
|
-
line:
|
|
26421
|
+
line: 51
|
|
26176
26422
|
},
|
|
26177
26423
|
"4": {
|
|
26178
26424
|
name: "(anonymous_4)",
|
|
26179
26425
|
decl: {
|
|
26180
26426
|
start: {
|
|
26181
|
-
line:
|
|
26182
|
-
column:
|
|
26427
|
+
line: 72,
|
|
26428
|
+
column: 37
|
|
26183
26429
|
},
|
|
26184
26430
|
end: {
|
|
26185
|
-
line:
|
|
26186
|
-
column:
|
|
26431
|
+
line: 72,
|
|
26432
|
+
column: 38
|
|
26187
26433
|
}
|
|
26188
26434
|
},
|
|
26189
26435
|
loc: {
|
|
26190
26436
|
start: {
|
|
26191
|
-
line:
|
|
26192
|
-
column:
|
|
26437
|
+
line: 72,
|
|
26438
|
+
column: 43
|
|
26193
26439
|
},
|
|
26194
26440
|
end: {
|
|
26195
|
-
line:
|
|
26196
|
-
column:
|
|
26441
|
+
line: 72,
|
|
26442
|
+
column: 68
|
|
26197
26443
|
}
|
|
26198
26444
|
},
|
|
26199
|
-
line:
|
|
26445
|
+
line: 72
|
|
26200
26446
|
}
|
|
26201
26447
|
},
|
|
26202
26448
|
branchMap: {
|
|
26203
26449
|
"0": {
|
|
26204
26450
|
loc: {
|
|
26205
26451
|
start: {
|
|
26206
|
-
line:
|
|
26452
|
+
line: 19,
|
|
26453
|
+
column: 4
|
|
26454
|
+
},
|
|
26455
|
+
end: {
|
|
26456
|
+
line: 19,
|
|
26457
|
+
column: 25
|
|
26458
|
+
}
|
|
26459
|
+
},
|
|
26460
|
+
type: "default-arg",
|
|
26461
|
+
locations: [{
|
|
26462
|
+
start: {
|
|
26463
|
+
line: 19,
|
|
26464
|
+
column: 23
|
|
26465
|
+
},
|
|
26466
|
+
end: {
|
|
26467
|
+
line: 19,
|
|
26468
|
+
column: 25
|
|
26469
|
+
}
|
|
26470
|
+
}],
|
|
26471
|
+
line: 19
|
|
26472
|
+
},
|
|
26473
|
+
"1": {
|
|
26474
|
+
loc: {
|
|
26475
|
+
start: {
|
|
26476
|
+
line: 20,
|
|
26477
|
+
column: 4
|
|
26478
|
+
},
|
|
26479
|
+
end: {
|
|
26480
|
+
line: 20,
|
|
26481
|
+
column: 25
|
|
26482
|
+
}
|
|
26483
|
+
},
|
|
26484
|
+
type: "default-arg",
|
|
26485
|
+
locations: [{
|
|
26486
|
+
start: {
|
|
26487
|
+
line: 20,
|
|
26207
26488
|
column: 20
|
|
26208
26489
|
},
|
|
26209
26490
|
end: {
|
|
26210
|
-
line:
|
|
26491
|
+
line: 20,
|
|
26492
|
+
column: 25
|
|
26493
|
+
}
|
|
26494
|
+
}],
|
|
26495
|
+
line: 20
|
|
26496
|
+
},
|
|
26497
|
+
"2": {
|
|
26498
|
+
loc: {
|
|
26499
|
+
start: {
|
|
26500
|
+
line: 51,
|
|
26501
|
+
column: 20
|
|
26502
|
+
},
|
|
26503
|
+
end: {
|
|
26504
|
+
line: 76,
|
|
26211
26505
|
column: 21
|
|
26212
26506
|
}
|
|
26213
26507
|
},
|
|
26214
26508
|
type: "binary-expr",
|
|
26215
26509
|
locations: [{
|
|
26216
26510
|
start: {
|
|
26217
|
-
line:
|
|
26511
|
+
line: 51,
|
|
26218
26512
|
column: 20
|
|
26219
26513
|
},
|
|
26220
26514
|
end: {
|
|
26221
|
-
line:
|
|
26515
|
+
line: 51,
|
|
26222
26516
|
column: 36
|
|
26223
26517
|
}
|
|
26224
26518
|
}, {
|
|
26225
26519
|
start: {
|
|
26226
|
-
line:
|
|
26520
|
+
line: 52,
|
|
26227
26521
|
column: 22
|
|
26228
26522
|
},
|
|
26229
26523
|
end: {
|
|
26230
|
-
line:
|
|
26524
|
+
line: 75,
|
|
26231
26525
|
column: 28
|
|
26232
26526
|
}
|
|
26233
26527
|
}],
|
|
26234
|
-
line:
|
|
26528
|
+
line: 51
|
|
26235
26529
|
},
|
|
26236
|
-
"
|
|
26530
|
+
"3": {
|
|
26237
26531
|
loc: {
|
|
26238
26532
|
start: {
|
|
26239
|
-
line:
|
|
26533
|
+
line: 54,
|
|
26240
26534
|
column: 48
|
|
26241
26535
|
},
|
|
26242
26536
|
end: {
|
|
26243
|
-
line:
|
|
26537
|
+
line: 54,
|
|
26244
26538
|
column: 66
|
|
26245
26539
|
}
|
|
26246
26540
|
},
|
|
26247
26541
|
type: "binary-expr",
|
|
26248
26542
|
locations: [{
|
|
26249
26543
|
start: {
|
|
26250
|
-
line:
|
|
26544
|
+
line: 54,
|
|
26251
26545
|
column: 48
|
|
26252
26546
|
},
|
|
26253
26547
|
end: {
|
|
26254
|
-
line:
|
|
26548
|
+
line: 54,
|
|
26255
26549
|
column: 57
|
|
26256
26550
|
}
|
|
26257
26551
|
}, {
|
|
26258
26552
|
start: {
|
|
26259
|
-
line:
|
|
26553
|
+
line: 54,
|
|
26260
26554
|
column: 61
|
|
26261
26555
|
},
|
|
26262
26556
|
end: {
|
|
26263
|
-
line:
|
|
26557
|
+
line: 54,
|
|
26264
26558
|
column: 66
|
|
26265
26559
|
}
|
|
26266
26560
|
}],
|
|
26267
|
-
line:
|
|
26561
|
+
line: 54
|
|
26268
26562
|
},
|
|
26269
|
-
"
|
|
26563
|
+
"4": {
|
|
26270
26564
|
loc: {
|
|
26271
26565
|
start: {
|
|
26272
|
-
line:
|
|
26566
|
+
line: 63,
|
|
26567
|
+
column: 25
|
|
26568
|
+
},
|
|
26569
|
+
end: {
|
|
26570
|
+
line: 74,
|
|
26571
|
+
column: 25
|
|
26572
|
+
}
|
|
26573
|
+
},
|
|
26574
|
+
type: "binary-expr",
|
|
26575
|
+
locations: [{
|
|
26576
|
+
start: {
|
|
26577
|
+
line: 63,
|
|
26578
|
+
column: 25
|
|
26579
|
+
},
|
|
26580
|
+
end: {
|
|
26581
|
+
line: 63,
|
|
26582
|
+
column: 39
|
|
26583
|
+
}
|
|
26584
|
+
}, {
|
|
26585
|
+
start: {
|
|
26586
|
+
line: 64,
|
|
26587
|
+
column: 26
|
|
26588
|
+
},
|
|
26589
|
+
end: {
|
|
26590
|
+
line: 73,
|
|
26591
|
+
column: 28
|
|
26592
|
+
}
|
|
26593
|
+
}],
|
|
26594
|
+
line: 63
|
|
26595
|
+
},
|
|
26596
|
+
"5": {
|
|
26597
|
+
loc: {
|
|
26598
|
+
start: {
|
|
26599
|
+
line: 79,
|
|
26600
|
+
column: 15
|
|
26601
|
+
},
|
|
26602
|
+
end: {
|
|
26603
|
+
line: 90,
|
|
26604
|
+
column: 15
|
|
26605
|
+
}
|
|
26606
|
+
},
|
|
26607
|
+
type: "binary-expr",
|
|
26608
|
+
locations: [{
|
|
26609
|
+
start: {
|
|
26610
|
+
line: 79,
|
|
26611
|
+
column: 15
|
|
26612
|
+
},
|
|
26613
|
+
end: {
|
|
26614
|
+
line: 79,
|
|
26615
|
+
column: 29
|
|
26616
|
+
}
|
|
26617
|
+
}, {
|
|
26618
|
+
start: {
|
|
26619
|
+
line: 80,
|
|
26620
|
+
column: 16
|
|
26621
|
+
},
|
|
26622
|
+
end: {
|
|
26623
|
+
line: 89,
|
|
26624
|
+
column: 22
|
|
26625
|
+
}
|
|
26626
|
+
}],
|
|
26627
|
+
line: 79
|
|
26628
|
+
},
|
|
26629
|
+
"6": {
|
|
26630
|
+
loc: {
|
|
26631
|
+
start: {
|
|
26632
|
+
line: 95,
|
|
26273
26633
|
column: 7
|
|
26274
26634
|
},
|
|
26275
26635
|
end: {
|
|
26276
|
-
line:
|
|
26636
|
+
line: 103,
|
|
26277
26637
|
column: 7
|
|
26278
26638
|
}
|
|
26279
26639
|
},
|
|
26280
26640
|
type: "binary-expr",
|
|
26281
26641
|
locations: [{
|
|
26282
26642
|
start: {
|
|
26283
|
-
line:
|
|
26643
|
+
line: 95,
|
|
26284
26644
|
column: 7
|
|
26285
26645
|
},
|
|
26286
26646
|
end: {
|
|
26287
|
-
line:
|
|
26647
|
+
line: 95,
|
|
26288
26648
|
column: 18
|
|
26289
26649
|
}
|
|
26290
26650
|
}, {
|
|
26291
26651
|
start: {
|
|
26292
|
-
line:
|
|
26652
|
+
line: 96,
|
|
26293
26653
|
column: 8
|
|
26294
26654
|
},
|
|
26295
26655
|
end: {
|
|
26296
|
-
line:
|
|
26656
|
+
line: 102,
|
|
26297
26657
|
column: 14
|
|
26298
26658
|
}
|
|
26299
26659
|
}],
|
|
26300
|
-
line:
|
|
26660
|
+
line: 95
|
|
26301
26661
|
}
|
|
26302
26662
|
},
|
|
26303
26663
|
s: {
|
|
@@ -26321,12 +26681,16 @@ function cov_1p625a7ih4() {
|
|
|
26321
26681
|
"4": 0
|
|
26322
26682
|
},
|
|
26323
26683
|
b: {
|
|
26324
|
-
"0": [0
|
|
26325
|
-
"1": [0
|
|
26326
|
-
"2": [0, 0]
|
|
26684
|
+
"0": [0],
|
|
26685
|
+
"1": [0],
|
|
26686
|
+
"2": [0, 0],
|
|
26687
|
+
"3": [0, 0],
|
|
26688
|
+
"4": [0, 0],
|
|
26689
|
+
"5": [0, 0],
|
|
26690
|
+
"6": [0, 0]
|
|
26327
26691
|
},
|
|
26328
26692
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
26329
|
-
hash: "
|
|
26693
|
+
hash: "1011b25909b9c73b64080f90fa78d81fed144c14"
|
|
26330
26694
|
};
|
|
26331
26695
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
26332
26696
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -26349,7 +26713,11 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26349
26713
|
isRequired = _ref.isRequired;
|
|
26350
26714
|
cov_1p625a7ih4().f[0]++;
|
|
26351
26715
|
var _ref2 = (cov_1p625a7ih4().s[1]++, item),
|
|
26352
|
-
optionsAttributes = _ref2.optionsAttributes
|
|
26716
|
+
optionsAttributes = _ref2.optionsAttributes,
|
|
26717
|
+
_ref2$optionLabelProp = _ref2.optionLabelProps,
|
|
26718
|
+
optionLabelProps = _ref2$optionLabelProp === void 0 ? (cov_1p625a7ih4().b[0][0]++, {}) : _ref2$optionLabelProp,
|
|
26719
|
+
_ref2$freezeOptions = _ref2.freezeOptions,
|
|
26720
|
+
freezeOptions = _ref2$freezeOptions === void 0 ? (cov_1p625a7ih4().b[1][0]++, false) : _ref2$freezeOptions;
|
|
26353
26721
|
var _ref3 = (cov_1p625a7ih4().s[2]++, useTranslation()),
|
|
26354
26722
|
t = _ref3.t;
|
|
26355
26723
|
var _ref4 = (cov_1p625a7ih4().s[3]++, useFormikContext()),
|
|
@@ -26379,21 +26747,22 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26379
26747
|
var handlePush = _ref5.handlePush;
|
|
26380
26748
|
cov_1p625a7ih4().f[2]++;
|
|
26381
26749
|
cov_1p625a7ih4().s[8]++;
|
|
26382
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Label, {
|
|
26750
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Label, _extends$9({
|
|
26383
26751
|
className: "mb-1 block"
|
|
26384
|
-
}, t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default.createElement("div", {
|
|
26752
|
+
}, optionLabelProps), t("questions.common.questionFields.field.options")), /*#__PURE__*/React__default.createElement("div", {
|
|
26385
26753
|
className: "flex w-2/3 flex-col space-y-2"
|
|
26386
26754
|
}, optionsAttributes.map(function (option, index) {
|
|
26387
26755
|
var _ref6;
|
|
26388
26756
|
cov_1p625a7ih4().f[3]++;
|
|
26389
26757
|
cov_1p625a7ih4().s[9]++;
|
|
26390
|
-
return (cov_1p625a7ih4().b[
|
|
26758
|
+
return (cov_1p625a7ih4().b[2][0]++, !option._destroy) && (cov_1p625a7ih4().b[2][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
26391
26759
|
className: "flex items-start gap-1",
|
|
26392
|
-
key: "question-option-".concat((_ref6 = (cov_1p625a7ih4().b[
|
|
26760
|
+
key: "question-option-".concat((_ref6 = (cov_1p625a7ih4().b[3][0]++, option.id)) !== null && _ref6 !== void 0 ? _ref6 : (cov_1p625a7ih4().b[3][1]++, index))
|
|
26393
26761
|
}, /*#__PURE__*/React__default.createElement(InputWithMaxLength, {
|
|
26762
|
+
disabled: freezeOptions,
|
|
26394
26763
|
name: "".concat(name, ".optionsAttributes.").concat(index, ".label"),
|
|
26395
26764
|
placeholder: "".concat(t("questions.common.questionFields.field.option"), " ").concat(index + 1)
|
|
26396
|
-
}), /*#__PURE__*/React__default.createElement(Button$1, {
|
|
26765
|
+
}), (cov_1p625a7ih4().b[4][0]++, !freezeOptions) && (cov_1p625a7ih4().b[4][1]++, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
26397
26766
|
icon: Delete,
|
|
26398
26767
|
size: "small",
|
|
26399
26768
|
style: "text",
|
|
@@ -26405,8 +26774,8 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26405
26774
|
cov_1p625a7ih4().s[10]++;
|
|
26406
26775
|
return handleRemoveOption(index);
|
|
26407
26776
|
}
|
|
26408
|
-
})));
|
|
26409
|
-
})), /*#__PURE__*/React__default.createElement("div", {
|
|
26777
|
+
}))));
|
|
26778
|
+
})), (cov_1p625a7ih4().b[5][0]++, !freezeOptions) && (cov_1p625a7ih4().b[5][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
26410
26779
|
className: "mt-3 w-full"
|
|
26411
26780
|
}, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
26412
26781
|
icon: Plus,
|
|
@@ -26417,8 +26786,8 @@ var SingleChoice$1 = function SingleChoice(_ref) {
|
|
|
26417
26786
|
onClick: handlePush({
|
|
26418
26787
|
label: ""
|
|
26419
26788
|
})
|
|
26420
|
-
})));
|
|
26421
|
-
})), (cov_1p625a7ih4().b[
|
|
26789
|
+
}))));
|
|
26790
|
+
})), (cov_1p625a7ih4().b[6][0]++, !isRequired) && (cov_1p625a7ih4().b[6][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
26422
26791
|
className: "w-full"
|
|
26423
26792
|
}, /*#__PURE__*/React__default.createElement(Checkbox, {
|
|
26424
26793
|
id: "".concat(name, ".isRequired"),
|
|
@@ -27383,7 +27752,7 @@ var Editor = function Editor(_ref) {
|
|
|
27383
27752
|
|
|
27384
27753
|
function cov_2j8tlu2ul5() {
|
|
27385
27754
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
|
|
27386
|
-
var hash = "
|
|
27755
|
+
var hash = "cf06aa225404e0ebe444d6f1219d393c9ffc9417";
|
|
27387
27756
|
var global = new Function("return this")();
|
|
27388
27757
|
var gcv = "__coverage__";
|
|
27389
27758
|
var coverageData = {
|
|
@@ -27425,27 +27794,27 @@ function cov_2j8tlu2ul5() {
|
|
|
27425
27794
|
column: 30
|
|
27426
27795
|
},
|
|
27427
27796
|
end: {
|
|
27428
|
-
line:
|
|
27797
|
+
line: 177,
|
|
27429
27798
|
column: 1
|
|
27430
27799
|
}
|
|
27431
27800
|
},
|
|
27432
27801
|
"4": {
|
|
27433
27802
|
start: {
|
|
27434
|
-
line:
|
|
27803
|
+
line: 180,
|
|
27435
27804
|
column: 38
|
|
27436
27805
|
},
|
|
27437
27806
|
end: {
|
|
27438
|
-
line:
|
|
27807
|
+
line: 183,
|
|
27439
27808
|
column: 1
|
|
27440
27809
|
}
|
|
27441
27810
|
},
|
|
27442
27811
|
"5": {
|
|
27443
27812
|
start: {
|
|
27444
|
-
line:
|
|
27813
|
+
line: 185,
|
|
27445
27814
|
column: 29
|
|
27446
27815
|
},
|
|
27447
27816
|
end: {
|
|
27448
|
-
line:
|
|
27817
|
+
line: 185,
|
|
27449
27818
|
column: 62
|
|
27450
27819
|
}
|
|
27451
27820
|
}
|
|
@@ -27463,7 +27832,7 @@ function cov_2j8tlu2ul5() {
|
|
|
27463
27832
|
f: {},
|
|
27464
27833
|
b: {},
|
|
27465
27834
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
27466
|
-
hash: "
|
|
27835
|
+
hash: "cf06aa225404e0ebe444d6f1219d393c9ffc9417"
|
|
27467
27836
|
};
|
|
27468
27837
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
27469
27838
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -27501,8 +27870,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27501
27870
|
component: Email,
|
|
27502
27871
|
defaults: {
|
|
27503
27872
|
label: ""
|
|
27504
|
-
}
|
|
27505
|
-
metadata: {}
|
|
27873
|
+
}
|
|
27506
27874
|
}, {
|
|
27507
27875
|
type: "phone",
|
|
27508
27876
|
label: instance.t("fields.pif"),
|
|
@@ -27512,8 +27880,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27512
27880
|
component: Phone,
|
|
27513
27881
|
defaults: {
|
|
27514
27882
|
label: ""
|
|
27515
|
-
}
|
|
27516
|
-
metadata: {}
|
|
27883
|
+
}
|
|
27517
27884
|
}, {
|
|
27518
27885
|
type: "name",
|
|
27519
27886
|
label: instance.t("fields.nif"),
|
|
@@ -27523,8 +27890,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27523
27890
|
component: ShortText,
|
|
27524
27891
|
defaults: {
|
|
27525
27892
|
label: ""
|
|
27526
|
-
}
|
|
27527
|
-
metadata: {}
|
|
27893
|
+
}
|
|
27528
27894
|
}, {
|
|
27529
27895
|
type: "text",
|
|
27530
27896
|
label: instance.t("fields.tif"),
|
|
@@ -27534,8 +27900,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27534
27900
|
component: ShortText,
|
|
27535
27901
|
defaults: {
|
|
27536
27902
|
label: ""
|
|
27537
|
-
}
|
|
27538
|
-
metadata: {}
|
|
27903
|
+
}
|
|
27539
27904
|
}, {
|
|
27540
27905
|
type: "question",
|
|
27541
27906
|
label: instance.t("fields.qif"),
|
|
@@ -27544,8 +27909,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27544
27909
|
component: LongText,
|
|
27545
27910
|
defaults: {
|
|
27546
27911
|
label: ""
|
|
27547
|
-
}
|
|
27548
|
-
metadata: {}
|
|
27912
|
+
}
|
|
27549
27913
|
}, {
|
|
27550
27914
|
type: "textarea",
|
|
27551
27915
|
label: instance.t("fields.def"),
|
|
@@ -27554,8 +27918,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27554
27918
|
component: Editor,
|
|
27555
27919
|
defaults: {
|
|
27556
27920
|
label: ""
|
|
27557
|
-
}
|
|
27558
|
-
metadata: {}
|
|
27921
|
+
}
|
|
27559
27922
|
}, {
|
|
27560
27923
|
type: "checkbox",
|
|
27561
27924
|
label: instance.t("fields.mcf"),
|
|
@@ -27568,8 +27931,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27568
27931
|
optionsAttributes: [{
|
|
27569
27932
|
label: ""
|
|
27570
27933
|
}]
|
|
27571
|
-
}
|
|
27572
|
-
metadata: {}
|
|
27934
|
+
}
|
|
27573
27935
|
}, {
|
|
27574
27936
|
type: "radio",
|
|
27575
27937
|
label: instance.t("fields.scf"),
|
|
@@ -27582,8 +27944,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27582
27944
|
optionsAttributes: new Array(SINGLE_CHOICE_FIELD_MIN_OPTIONS).fill({
|
|
27583
27945
|
label: ""
|
|
27584
27946
|
})
|
|
27585
|
-
}
|
|
27586
|
-
metadata: {}
|
|
27947
|
+
}
|
|
27587
27948
|
}, {
|
|
27588
27949
|
type: "dropdown",
|
|
27589
27950
|
label: instance.t("fields.drf"),
|
|
@@ -27596,8 +27957,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27596
27957
|
optionsAttributes: new Array(DROPDOWN_FIELD_MIN_OPTIONS).fill({
|
|
27597
27958
|
label: ""
|
|
27598
27959
|
})
|
|
27599
|
-
}
|
|
27600
|
-
metadata: {}
|
|
27960
|
+
}
|
|
27601
27961
|
}, {
|
|
27602
27962
|
type: "star_rating",
|
|
27603
27963
|
label: instance.t("fields.rif"),
|
|
@@ -27609,8 +27969,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27609
27969
|
isRequired: true,
|
|
27610
27970
|
count: 5,
|
|
27611
27971
|
shape: "star"
|
|
27612
|
-
}
|
|
27613
|
-
metadata: {}
|
|
27972
|
+
}
|
|
27614
27973
|
}, {
|
|
27615
27974
|
type: "rating",
|
|
27616
27975
|
label: instance.t("fields.fbf"),
|
|
@@ -27623,8 +27982,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27623
27982
|
highestRatingLabel: "",
|
|
27624
27983
|
averageRatingLabel: "",
|
|
27625
27984
|
lowestRatingLabel: ""
|
|
27626
|
-
}
|
|
27627
|
-
metadata: {}
|
|
27985
|
+
}
|
|
27628
27986
|
}, {
|
|
27629
27987
|
type: "termsandcondition",
|
|
27630
27988
|
label: instance.t("fields.tcf"),
|
|
@@ -27636,8 +27994,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27636
27994
|
privacyPolicyLink: "",
|
|
27637
27995
|
isRequired: true,
|
|
27638
27996
|
label: instance.t("common.agreeTermsAndConditions")
|
|
27639
|
-
}
|
|
27640
|
-
metadata: {}
|
|
27997
|
+
}
|
|
27641
27998
|
}, {
|
|
27642
27999
|
type: "date",
|
|
27643
28000
|
label: instance.t("fields.date"),
|
|
@@ -27647,8 +28004,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
|
27647
28004
|
defaults: {
|
|
27648
28005
|
label: "",
|
|
27649
28006
|
isRequired: true
|
|
27650
|
-
}
|
|
27651
|
-
metadata: {}
|
|
28007
|
+
}
|
|
27652
28008
|
}]);
|
|
27653
28009
|
|
|
27654
28010
|
// To show the question type as label in accordion
|
|
@@ -28241,7 +28597,7 @@ var Question = function Question(_ref) {
|
|
|
28241
28597
|
var questions = _ref.questions,
|
|
28242
28598
|
insert = _ref.insert,
|
|
28243
28599
|
formProps = _ref.formProps,
|
|
28244
|
-
|
|
28600
|
+
isDeletable = _ref.isDeletable,
|
|
28245
28601
|
isRequiredField = _ref.isRequiredField,
|
|
28246
28602
|
allQuestionKinds = _ref.allQuestionKinds,
|
|
28247
28603
|
getActiveKindDetails = _ref.getActiveKindDetails,
|
|
@@ -28277,8 +28633,8 @@ var Question = function Question(_ref) {
|
|
|
28277
28633
|
}), /*#__PURE__*/React__default.createElement(FormField, _extends$9({
|
|
28278
28634
|
allQuestionKinds: allQuestionKinds,
|
|
28279
28635
|
getActiveKindDetails: getActiveKindDetails,
|
|
28280
|
-
isDeletable:
|
|
28281
|
-
isRequired: isRequiredField(item
|
|
28636
|
+
isDeletable: isDeletable(item),
|
|
28637
|
+
isRequired: isRequiredField(item),
|
|
28282
28638
|
kindUniqueOn: kindUniqueOn
|
|
28283
28639
|
}, formProps(item, index, insert))));
|
|
28284
28640
|
}));
|
|
@@ -30341,10 +30697,10 @@ var List = function List(_ref) {
|
|
|
30341
30697
|
})));
|
|
30342
30698
|
};
|
|
30343
30699
|
|
|
30344
|
-
var _excluded$b = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "
|
|
30700
|
+
var _excluded$b = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn"];
|
|
30345
30701
|
function cov_2e8k7gwd81() {
|
|
30346
30702
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
|
|
30347
|
-
var hash = "
|
|
30703
|
+
var hash = "7c11acd7f0e5fde99d6d92b950980d529a13322c";
|
|
30348
30704
|
var global = new Function("return this")();
|
|
30349
30705
|
var gcv = "__coverage__";
|
|
30350
30706
|
var coverageData = {
|
|
@@ -30356,7 +30712,7 @@ function cov_2e8k7gwd81() {
|
|
|
30356
30712
|
column: 13
|
|
30357
30713
|
},
|
|
30358
30714
|
end: {
|
|
30359
|
-
line:
|
|
30715
|
+
line: 222,
|
|
30360
30716
|
column: 1
|
|
30361
30717
|
}
|
|
30362
30718
|
},
|
|
@@ -30543,200 +30899,180 @@ function cov_2e8k7gwd81() {
|
|
|
30543
30899
|
"19": {
|
|
30544
30900
|
start: {
|
|
30545
30901
|
line: 106,
|
|
30546
|
-
column: 26
|
|
30547
|
-
},
|
|
30548
|
-
end: {
|
|
30549
|
-
line: 106,
|
|
30550
|
-
column: 63
|
|
30551
|
-
}
|
|
30552
|
-
},
|
|
30553
|
-
"20": {
|
|
30554
|
-
start: {
|
|
30555
|
-
line: 106,
|
|
30556
|
-
column: 34
|
|
30557
|
-
},
|
|
30558
|
-
end: {
|
|
30559
|
-
line: 106,
|
|
30560
|
-
column: 63
|
|
30561
|
-
}
|
|
30562
|
-
},
|
|
30563
|
-
"21": {
|
|
30564
|
-
start: {
|
|
30565
|
-
line: 108,
|
|
30566
30902
|
column: 20
|
|
30567
30903
|
},
|
|
30568
30904
|
end: {
|
|
30569
|
-
line:
|
|
30905
|
+
line: 136,
|
|
30570
30906
|
column: 4
|
|
30571
30907
|
}
|
|
30572
30908
|
},
|
|
30573
|
-
"
|
|
30909
|
+
"20": {
|
|
30574
30910
|
start: {
|
|
30575
|
-
line:
|
|
30911
|
+
line: 106,
|
|
30576
30912
|
column: 46
|
|
30577
30913
|
},
|
|
30578
30914
|
end: {
|
|
30579
|
-
line:
|
|
30915
|
+
line: 136,
|
|
30580
30916
|
column: 3
|
|
30581
30917
|
}
|
|
30582
30918
|
},
|
|
30583
|
-
"
|
|
30919
|
+
"21": {
|
|
30584
30920
|
start: {
|
|
30585
|
-
line:
|
|
30921
|
+
line: 115,
|
|
30586
30922
|
column: 6
|
|
30587
30923
|
},
|
|
30588
30924
|
end: {
|
|
30589
|
-
line:
|
|
30925
|
+
line: 115,
|
|
30590
30926
|
column: 62
|
|
30591
30927
|
}
|
|
30592
30928
|
},
|
|
30593
|
-
"
|
|
30929
|
+
"22": {
|
|
30594
30930
|
start: {
|
|
30595
|
-
line:
|
|
30931
|
+
line: 117,
|
|
30596
30932
|
column: 27
|
|
30597
30933
|
},
|
|
30598
30934
|
end: {
|
|
30599
|
-
line:
|
|
30935
|
+
line: 121,
|
|
30600
30936
|
column: 7
|
|
30601
30937
|
}
|
|
30602
30938
|
},
|
|
30603
|
-
"
|
|
30939
|
+
"23": {
|
|
30604
30940
|
start: {
|
|
30605
|
-
line:
|
|
30941
|
+
line: 123,
|
|
30606
30942
|
column: 6
|
|
30607
30943
|
},
|
|
30608
30944
|
end: {
|
|
30609
|
-
line:
|
|
30945
|
+
line: 129,
|
|
30610
30946
|
column: 8
|
|
30611
30947
|
}
|
|
30612
30948
|
},
|
|
30613
|
-
"
|
|
30949
|
+
"24": {
|
|
30614
30950
|
start: {
|
|
30615
|
-
line:
|
|
30951
|
+
line: 125,
|
|
30616
30952
|
column: 47
|
|
30617
30953
|
},
|
|
30618
30954
|
end: {
|
|
30619
|
-
line:
|
|
30955
|
+
line: 128,
|
|
30620
30956
|
column: 9
|
|
30621
30957
|
}
|
|
30622
30958
|
},
|
|
30623
|
-
"
|
|
30959
|
+
"25": {
|
|
30624
30960
|
start: {
|
|
30625
|
-
line:
|
|
30961
|
+
line: 132,
|
|
30626
30962
|
column: 6
|
|
30627
30963
|
},
|
|
30628
30964
|
end: {
|
|
30629
|
-
line:
|
|
30965
|
+
line: 132,
|
|
30630
30966
|
column: 69
|
|
30631
30967
|
}
|
|
30632
30968
|
},
|
|
30633
|
-
"
|
|
30969
|
+
"26": {
|
|
30634
30970
|
start: {
|
|
30635
|
-
line:
|
|
30971
|
+
line: 134,
|
|
30636
30972
|
column: 6
|
|
30637
30973
|
},
|
|
30638
30974
|
end: {
|
|
30639
|
-
line:
|
|
30975
|
+
line: 134,
|
|
30640
30976
|
column: 36
|
|
30641
30977
|
}
|
|
30642
30978
|
},
|
|
30643
|
-
"
|
|
30979
|
+
"27": {
|
|
30644
30980
|
start: {
|
|
30645
|
-
line:
|
|
30981
|
+
line: 138,
|
|
30646
30982
|
column: 2
|
|
30647
30983
|
},
|
|
30648
30984
|
end: {
|
|
30649
|
-
line:
|
|
30985
|
+
line: 221,
|
|
30650
30986
|
column: 4
|
|
30651
30987
|
}
|
|
30652
30988
|
},
|
|
30653
|
-
"
|
|
30989
|
+
"28": {
|
|
30654
30990
|
start: {
|
|
30655
|
-
line:
|
|
30991
|
+
line: 149,
|
|
30656
30992
|
column: 23
|
|
30657
30993
|
},
|
|
30658
30994
|
end: {
|
|
30659
|
-
line:
|
|
30995
|
+
line: 149,
|
|
30660
30996
|
column: 51
|
|
30661
30997
|
}
|
|
30662
30998
|
},
|
|
30663
|
-
"
|
|
30999
|
+
"29": {
|
|
30664
31000
|
start: {
|
|
30665
|
-
line:
|
|
31001
|
+
line: 151,
|
|
30666
31002
|
column: 32
|
|
30667
31003
|
},
|
|
30668
31004
|
end: {
|
|
30669
|
-
line:
|
|
31005
|
+
line: 154,
|
|
30670
31006
|
column: 11
|
|
30671
31007
|
}
|
|
30672
31008
|
},
|
|
30673
|
-
"
|
|
31009
|
+
"30": {
|
|
30674
31010
|
start: {
|
|
30675
|
-
line:
|
|
31011
|
+
line: 155,
|
|
30676
31012
|
column: 10
|
|
30677
31013
|
},
|
|
30678
31014
|
end: {
|
|
30679
|
-
line:
|
|
31015
|
+
line: 155,
|
|
30680
31016
|
column: 59
|
|
30681
31017
|
}
|
|
30682
31018
|
},
|
|
30683
|
-
"
|
|
31019
|
+
"31": {
|
|
30684
31020
|
start: {
|
|
30685
|
-
line:
|
|
31021
|
+
line: 156,
|
|
30686
31022
|
column: 10
|
|
30687
31023
|
},
|
|
30688
31024
|
end: {
|
|
30689
|
-
line:
|
|
31025
|
+
line: 156,
|
|
30690
31026
|
column: 39
|
|
30691
31027
|
}
|
|
30692
31028
|
},
|
|
30693
|
-
"
|
|
31029
|
+
"32": {
|
|
30694
31030
|
start: {
|
|
30695
|
-
line:
|
|
31031
|
+
line: 163,
|
|
30696
31032
|
column: 14
|
|
30697
31033
|
},
|
|
30698
31034
|
end: {
|
|
30699
|
-
line:
|
|
31035
|
+
line: 192,
|
|
30700
31036
|
column: 17
|
|
30701
31037
|
}
|
|
30702
31038
|
},
|
|
30703
|
-
"
|
|
31039
|
+
"33": {
|
|
30704
31040
|
start: {
|
|
30705
|
-
line:
|
|
31041
|
+
line: 166,
|
|
30706
31042
|
column: 20
|
|
30707
31043
|
},
|
|
30708
31044
|
end: {
|
|
30709
|
-
line:
|
|
31045
|
+
line: 171,
|
|
30710
31046
|
column: 22
|
|
30711
31047
|
}
|
|
30712
31048
|
},
|
|
30713
|
-
"
|
|
31049
|
+
"34": {
|
|
30714
31050
|
start: {
|
|
30715
|
-
line:
|
|
31051
|
+
line: 189,
|
|
30716
31052
|
column: 38
|
|
30717
31053
|
},
|
|
30718
31054
|
end: {
|
|
30719
|
-
line:
|
|
31055
|
+
line: 189,
|
|
30720
31056
|
column: 65
|
|
30721
31057
|
}
|
|
30722
31058
|
},
|
|
30723
|
-
"
|
|
31059
|
+
"35": {
|
|
30724
31060
|
start: {
|
|
30725
|
-
line:
|
|
31061
|
+
line: 201,
|
|
30726
31062
|
column: 38
|
|
30727
31063
|
},
|
|
30728
31064
|
end: {
|
|
30729
|
-
line:
|
|
31065
|
+
line: 204,
|
|
30730
31066
|
column: 17
|
|
30731
31067
|
}
|
|
30732
31068
|
},
|
|
30733
|
-
"
|
|
31069
|
+
"36": {
|
|
30734
31070
|
start: {
|
|
30735
|
-
line:
|
|
31071
|
+
line: 205,
|
|
30736
31072
|
column: 16
|
|
30737
31073
|
},
|
|
30738
31074
|
end: {
|
|
30739
|
-
line:
|
|
31075
|
+
line: 205,
|
|
30740
31076
|
column: 65
|
|
30741
31077
|
}
|
|
30742
31078
|
}
|
|
@@ -30760,7 +31096,7 @@ function cov_2e8k7gwd81() {
|
|
|
30760
31096
|
column: 6
|
|
30761
31097
|
},
|
|
30762
31098
|
end: {
|
|
30763
|
-
line:
|
|
31099
|
+
line: 222,
|
|
30764
31100
|
column: 1
|
|
30765
31101
|
}
|
|
30766
31102
|
},
|
|
@@ -30867,21 +31203,21 @@ function cov_2e8k7gwd81() {
|
|
|
30867
31203
|
decl: {
|
|
30868
31204
|
start: {
|
|
30869
31205
|
line: 106,
|
|
30870
|
-
column:
|
|
31206
|
+
column: 20
|
|
30871
31207
|
},
|
|
30872
31208
|
end: {
|
|
30873
31209
|
line: 106,
|
|
30874
|
-
column:
|
|
31210
|
+
column: 21
|
|
30875
31211
|
}
|
|
30876
31212
|
},
|
|
30877
31213
|
loc: {
|
|
30878
31214
|
start: {
|
|
30879
31215
|
line: 106,
|
|
30880
|
-
column:
|
|
31216
|
+
column: 46
|
|
30881
31217
|
},
|
|
30882
31218
|
end: {
|
|
30883
|
-
line:
|
|
30884
|
-
column:
|
|
31219
|
+
line: 136,
|
|
31220
|
+
column: 3
|
|
30885
31221
|
}
|
|
30886
31222
|
},
|
|
30887
31223
|
line: 106
|
|
@@ -30890,289 +31226,265 @@ function cov_2e8k7gwd81() {
|
|
|
30890
31226
|
name: "(anonymous_6)",
|
|
30891
31227
|
decl: {
|
|
30892
31228
|
start: {
|
|
30893
|
-
line:
|
|
30894
|
-
column: 20
|
|
30895
|
-
},
|
|
30896
|
-
end: {
|
|
30897
|
-
line: 108,
|
|
30898
|
-
column: 21
|
|
30899
|
-
}
|
|
30900
|
-
},
|
|
30901
|
-
loc: {
|
|
30902
|
-
start: {
|
|
30903
|
-
line: 108,
|
|
30904
|
-
column: 46
|
|
30905
|
-
},
|
|
30906
|
-
end: {
|
|
30907
|
-
line: 138,
|
|
30908
|
-
column: 3
|
|
30909
|
-
}
|
|
30910
|
-
},
|
|
30911
|
-
line: 108
|
|
30912
|
-
},
|
|
30913
|
-
"7": {
|
|
30914
|
-
name: "(anonymous_7)",
|
|
30915
|
-
decl: {
|
|
30916
|
-
start: {
|
|
30917
|
-
line: 116,
|
|
31229
|
+
line: 114,
|
|
30918
31230
|
column: 22
|
|
30919
31231
|
},
|
|
30920
31232
|
end: {
|
|
30921
|
-
line:
|
|
31233
|
+
line: 114,
|
|
30922
31234
|
column: 23
|
|
30923
31235
|
}
|
|
30924
31236
|
},
|
|
30925
31237
|
loc: {
|
|
30926
31238
|
start: {
|
|
30927
|
-
line:
|
|
31239
|
+
line: 115,
|
|
30928
31240
|
column: 6
|
|
30929
31241
|
},
|
|
30930
31242
|
end: {
|
|
30931
|
-
line:
|
|
31243
|
+
line: 115,
|
|
30932
31244
|
column: 62
|
|
30933
31245
|
}
|
|
30934
31246
|
},
|
|
30935
|
-
line:
|
|
31247
|
+
line: 115
|
|
30936
31248
|
},
|
|
30937
|
-
"
|
|
30938
|
-
name: "(
|
|
31249
|
+
"7": {
|
|
31250
|
+
name: "(anonymous_7)",
|
|
30939
31251
|
decl: {
|
|
30940
31252
|
start: {
|
|
30941
|
-
line:
|
|
31253
|
+
line: 116,
|
|
30942
31254
|
column: 17
|
|
30943
31255
|
},
|
|
30944
31256
|
end: {
|
|
30945
|
-
line:
|
|
31257
|
+
line: 116,
|
|
30946
31258
|
column: 18
|
|
30947
31259
|
}
|
|
30948
31260
|
},
|
|
30949
31261
|
loc: {
|
|
30950
31262
|
start: {
|
|
30951
|
-
line:
|
|
31263
|
+
line: 116,
|
|
30952
31264
|
column: 23
|
|
30953
31265
|
},
|
|
30954
31266
|
end: {
|
|
30955
|
-
line:
|
|
31267
|
+
line: 130,
|
|
30956
31268
|
column: 5
|
|
30957
31269
|
}
|
|
30958
31270
|
},
|
|
30959
|
-
line:
|
|
31271
|
+
line: 116
|
|
30960
31272
|
},
|
|
30961
|
-
"
|
|
30962
|
-
name: "(
|
|
31273
|
+
"8": {
|
|
31274
|
+
name: "(anonymous_8)",
|
|
30963
31275
|
decl: {
|
|
30964
31276
|
start: {
|
|
30965
|
-
line:
|
|
31277
|
+
line: 125,
|
|
30966
31278
|
column: 25
|
|
30967
31279
|
},
|
|
30968
31280
|
end: {
|
|
30969
|
-
line:
|
|
31281
|
+
line: 125,
|
|
30970
31282
|
column: 26
|
|
30971
31283
|
}
|
|
30972
31284
|
},
|
|
30973
31285
|
loc: {
|
|
30974
31286
|
start: {
|
|
30975
|
-
line:
|
|
31287
|
+
line: 125,
|
|
30976
31288
|
column: 47
|
|
30977
31289
|
},
|
|
30978
31290
|
end: {
|
|
30979
|
-
line:
|
|
31291
|
+
line: 128,
|
|
30980
31292
|
column: 9
|
|
30981
31293
|
}
|
|
30982
31294
|
},
|
|
30983
|
-
line:
|
|
31295
|
+
line: 125
|
|
30984
31296
|
},
|
|
30985
|
-
"
|
|
30986
|
-
name: "(
|
|
31297
|
+
"9": {
|
|
31298
|
+
name: "(anonymous_9)",
|
|
30987
31299
|
decl: {
|
|
30988
31300
|
start: {
|
|
30989
|
-
line:
|
|
31301
|
+
line: 131,
|
|
30990
31302
|
column: 14
|
|
30991
31303
|
},
|
|
30992
31304
|
end: {
|
|
30993
|
-
line:
|
|
31305
|
+
line: 131,
|
|
30994
31306
|
column: 15
|
|
30995
31307
|
}
|
|
30996
31308
|
},
|
|
30997
31309
|
loc: {
|
|
30998
31310
|
start: {
|
|
30999
|
-
line:
|
|
31311
|
+
line: 132,
|
|
31000
31312
|
column: 6
|
|
31001
31313
|
},
|
|
31002
31314
|
end: {
|
|
31003
|
-
line:
|
|
31315
|
+
line: 132,
|
|
31004
31316
|
column: 69
|
|
31005
31317
|
}
|
|
31006
31318
|
},
|
|
31007
|
-
line:
|
|
31319
|
+
line: 132
|
|
31008
31320
|
},
|
|
31009
|
-
"
|
|
31010
|
-
name: "(
|
|
31321
|
+
"10": {
|
|
31322
|
+
name: "(anonymous_10)",
|
|
31011
31323
|
decl: {
|
|
31012
31324
|
start: {
|
|
31013
|
-
line:
|
|
31325
|
+
line: 133,
|
|
31014
31326
|
column: 14
|
|
31015
31327
|
},
|
|
31016
31328
|
end: {
|
|
31017
|
-
line:
|
|
31329
|
+
line: 133,
|
|
31018
31330
|
column: 15
|
|
31019
31331
|
}
|
|
31020
31332
|
},
|
|
31021
31333
|
loc: {
|
|
31022
31334
|
start: {
|
|
31023
|
-
line:
|
|
31335
|
+
line: 133,
|
|
31024
31336
|
column: 20
|
|
31025
31337
|
},
|
|
31026
31338
|
end: {
|
|
31027
|
-
line:
|
|
31339
|
+
line: 135,
|
|
31028
31340
|
column: 5
|
|
31029
31341
|
}
|
|
31030
31342
|
},
|
|
31031
|
-
line:
|
|
31343
|
+
line: 133
|
|
31032
31344
|
},
|
|
31033
|
-
"
|
|
31034
|
-
name: "(
|
|
31345
|
+
"11": {
|
|
31346
|
+
name: "(anonymous_11)",
|
|
31035
31347
|
decl: {
|
|
31036
31348
|
start: {
|
|
31037
|
-
line:
|
|
31349
|
+
line: 149,
|
|
31038
31350
|
column: 17
|
|
31039
31351
|
},
|
|
31040
31352
|
end: {
|
|
31041
|
-
line:
|
|
31353
|
+
line: 149,
|
|
31042
31354
|
column: 18
|
|
31043
31355
|
}
|
|
31044
31356
|
},
|
|
31045
31357
|
loc: {
|
|
31046
31358
|
start: {
|
|
31047
|
-
line:
|
|
31359
|
+
line: 149,
|
|
31048
31360
|
column: 23
|
|
31049
31361
|
},
|
|
31050
31362
|
end: {
|
|
31051
|
-
line:
|
|
31363
|
+
line: 149,
|
|
31052
31364
|
column: 51
|
|
31053
31365
|
}
|
|
31054
31366
|
},
|
|
31055
|
-
line:
|
|
31367
|
+
line: 149
|
|
31056
31368
|
},
|
|
31057
|
-
"
|
|
31058
|
-
name: "(
|
|
31369
|
+
"12": {
|
|
31370
|
+
name: "(anonymous_12)",
|
|
31059
31371
|
decl: {
|
|
31060
31372
|
start: {
|
|
31061
|
-
line:
|
|
31373
|
+
line: 150,
|
|
31062
31374
|
column: 18
|
|
31063
31375
|
},
|
|
31064
31376
|
end: {
|
|
31065
|
-
line:
|
|
31377
|
+
line: 150,
|
|
31066
31378
|
column: 19
|
|
31067
31379
|
}
|
|
31068
31380
|
},
|
|
31069
31381
|
loc: {
|
|
31070
31382
|
start: {
|
|
31071
|
-
line:
|
|
31383
|
+
line: 150,
|
|
31072
31384
|
column: 24
|
|
31073
31385
|
},
|
|
31074
31386
|
end: {
|
|
31075
|
-
line:
|
|
31387
|
+
line: 157,
|
|
31076
31388
|
column: 9
|
|
31077
31389
|
}
|
|
31078
31390
|
},
|
|
31079
|
-
line:
|
|
31391
|
+
line: 150
|
|
31080
31392
|
},
|
|
31081
|
-
"
|
|
31082
|
-
name: "(
|
|
31393
|
+
"13": {
|
|
31394
|
+
name: "(anonymous_13)",
|
|
31083
31395
|
decl: {
|
|
31084
31396
|
start: {
|
|
31085
|
-
line:
|
|
31397
|
+
line: 162,
|
|
31086
31398
|
column: 13
|
|
31087
31399
|
},
|
|
31088
31400
|
end: {
|
|
31089
|
-
line:
|
|
31401
|
+
line: 162,
|
|
31090
31402
|
column: 14
|
|
31091
31403
|
}
|
|
31092
31404
|
},
|
|
31093
31405
|
loc: {
|
|
31094
31406
|
start: {
|
|
31095
|
-
line:
|
|
31407
|
+
line: 163,
|
|
31096
31408
|
column: 14
|
|
31097
31409
|
},
|
|
31098
31410
|
end: {
|
|
31099
|
-
line:
|
|
31411
|
+
line: 192,
|
|
31100
31412
|
column: 17
|
|
31101
31413
|
}
|
|
31102
31414
|
},
|
|
31103
|
-
line:
|
|
31415
|
+
line: 163
|
|
31104
31416
|
},
|
|
31105
|
-
"
|
|
31106
|
-
name: "(
|
|
31417
|
+
"14": {
|
|
31418
|
+
name: "(anonymous_14)",
|
|
31107
31419
|
decl: {
|
|
31108
31420
|
start: {
|
|
31109
|
-
line:
|
|
31421
|
+
line: 165,
|
|
31110
31422
|
column: 29
|
|
31111
31423
|
},
|
|
31112
31424
|
end: {
|
|
31113
|
-
line:
|
|
31425
|
+
line: 165,
|
|
31114
31426
|
column: 30
|
|
31115
31427
|
}
|
|
31116
31428
|
},
|
|
31117
31429
|
loc: {
|
|
31118
31430
|
start: {
|
|
31119
|
-
line:
|
|
31431
|
+
line: 166,
|
|
31120
31432
|
column: 20
|
|
31121
31433
|
},
|
|
31122
31434
|
end: {
|
|
31123
|
-
line:
|
|
31435
|
+
line: 171,
|
|
31124
31436
|
column: 22
|
|
31125
31437
|
}
|
|
31126
31438
|
},
|
|
31127
|
-
line:
|
|
31439
|
+
line: 166
|
|
31128
31440
|
},
|
|
31129
|
-
"
|
|
31130
|
-
name: "(
|
|
31441
|
+
"15": {
|
|
31442
|
+
name: "(anonymous_15)",
|
|
31131
31443
|
decl: {
|
|
31132
31444
|
start: {
|
|
31133
|
-
line:
|
|
31445
|
+
line: 189,
|
|
31134
31446
|
column: 30
|
|
31135
31447
|
},
|
|
31136
31448
|
end: {
|
|
31137
|
-
line:
|
|
31449
|
+
line: 189,
|
|
31138
31450
|
column: 31
|
|
31139
31451
|
}
|
|
31140
31452
|
},
|
|
31141
31453
|
loc: {
|
|
31142
31454
|
start: {
|
|
31143
|
-
line:
|
|
31455
|
+
line: 189,
|
|
31144
31456
|
column: 38
|
|
31145
31457
|
},
|
|
31146
31458
|
end: {
|
|
31147
|
-
line:
|
|
31459
|
+
line: 189,
|
|
31148
31460
|
column: 65
|
|
31149
31461
|
}
|
|
31150
31462
|
},
|
|
31151
|
-
line:
|
|
31463
|
+
line: 189
|
|
31152
31464
|
},
|
|
31153
|
-
"
|
|
31154
|
-
name: "(
|
|
31465
|
+
"16": {
|
|
31466
|
+
name: "(anonymous_16)",
|
|
31155
31467
|
decl: {
|
|
31156
31468
|
start: {
|
|
31157
|
-
line:
|
|
31469
|
+
line: 200,
|
|
31158
31470
|
column: 24
|
|
31159
31471
|
},
|
|
31160
31472
|
end: {
|
|
31161
|
-
line:
|
|
31473
|
+
line: 200,
|
|
31162
31474
|
column: 25
|
|
31163
31475
|
}
|
|
31164
31476
|
},
|
|
31165
31477
|
loc: {
|
|
31166
31478
|
start: {
|
|
31167
|
-
line:
|
|
31479
|
+
line: 200,
|
|
31168
31480
|
column: 32
|
|
31169
31481
|
},
|
|
31170
31482
|
end: {
|
|
31171
|
-
line:
|
|
31483
|
+
line: 206,
|
|
31172
31484
|
column: 15
|
|
31173
31485
|
}
|
|
31174
31486
|
},
|
|
31175
|
-
line:
|
|
31487
|
+
line: 200
|
|
31176
31488
|
}
|
|
31177
31489
|
},
|
|
31178
31490
|
branchMap: {
|
|
@@ -31254,266 +31566,266 @@ function cov_2e8k7gwd81() {
|
|
|
31254
31566
|
"2": {
|
|
31255
31567
|
loc: {
|
|
31256
31568
|
start: {
|
|
31257
|
-
line:
|
|
31569
|
+
line: 112,
|
|
31258
31570
|
column: 6
|
|
31259
31571
|
},
|
|
31260
31572
|
end: {
|
|
31261
|
-
line:
|
|
31573
|
+
line: 113,
|
|
31262
31574
|
column: 55
|
|
31263
31575
|
}
|
|
31264
31576
|
},
|
|
31265
31577
|
type: "binary-expr",
|
|
31266
31578
|
locations: [{
|
|
31267
31579
|
start: {
|
|
31268
|
-
line:
|
|
31580
|
+
line: 112,
|
|
31269
31581
|
column: 6
|
|
31270
31582
|
},
|
|
31271
31583
|
end: {
|
|
31272
|
-
line:
|
|
31584
|
+
line: 112,
|
|
31273
31585
|
column: 44
|
|
31274
31586
|
}
|
|
31275
31587
|
}, {
|
|
31276
31588
|
start: {
|
|
31277
|
-
line:
|
|
31589
|
+
line: 113,
|
|
31278
31590
|
column: 6
|
|
31279
31591
|
},
|
|
31280
31592
|
end: {
|
|
31281
|
-
line:
|
|
31593
|
+
line: 113,
|
|
31282
31594
|
column: 55
|
|
31283
31595
|
}
|
|
31284
31596
|
}],
|
|
31285
|
-
line:
|
|
31597
|
+
line: 112
|
|
31286
31598
|
},
|
|
31287
31599
|
"3": {
|
|
31288
31600
|
loc: {
|
|
31289
31601
|
start: {
|
|
31290
|
-
line:
|
|
31602
|
+
line: 112,
|
|
31291
31603
|
column: 21
|
|
31292
31604
|
},
|
|
31293
31605
|
end: {
|
|
31294
|
-
line:
|
|
31606
|
+
line: 112,
|
|
31295
31607
|
column: 43
|
|
31296
31608
|
}
|
|
31297
31609
|
},
|
|
31298
31610
|
type: "binary-expr",
|
|
31299
31611
|
locations: [{
|
|
31300
31612
|
start: {
|
|
31301
|
-
line:
|
|
31613
|
+
line: 112,
|
|
31302
31614
|
column: 21
|
|
31303
31615
|
},
|
|
31304
31616
|
end: {
|
|
31305
|
-
line:
|
|
31617
|
+
line: 112,
|
|
31306
31618
|
column: 32
|
|
31307
31619
|
}
|
|
31308
31620
|
}, {
|
|
31309
31621
|
start: {
|
|
31310
|
-
line:
|
|
31622
|
+
line: 112,
|
|
31311
31623
|
column: 36
|
|
31312
31624
|
},
|
|
31313
31625
|
end: {
|
|
31314
|
-
line:
|
|
31626
|
+
line: 112,
|
|
31315
31627
|
column: 43
|
|
31316
31628
|
}
|
|
31317
31629
|
}],
|
|
31318
|
-
line:
|
|
31630
|
+
line: 112
|
|
31319
31631
|
},
|
|
31320
31632
|
"4": {
|
|
31321
31633
|
loc: {
|
|
31322
31634
|
start: {
|
|
31323
|
-
line:
|
|
31635
|
+
line: 113,
|
|
31324
31636
|
column: 21
|
|
31325
31637
|
},
|
|
31326
31638
|
end: {
|
|
31327
|
-
line:
|
|
31639
|
+
line: 113,
|
|
31328
31640
|
column: 43
|
|
31329
31641
|
}
|
|
31330
31642
|
},
|
|
31331
31643
|
type: "binary-expr",
|
|
31332
31644
|
locations: [{
|
|
31333
31645
|
start: {
|
|
31334
|
-
line:
|
|
31646
|
+
line: 113,
|
|
31335
31647
|
column: 21
|
|
31336
31648
|
},
|
|
31337
31649
|
end: {
|
|
31338
|
-
line:
|
|
31650
|
+
line: 113,
|
|
31339
31651
|
column: 32
|
|
31340
31652
|
}
|
|
31341
31653
|
}, {
|
|
31342
31654
|
start: {
|
|
31343
|
-
line:
|
|
31655
|
+
line: 113,
|
|
31344
31656
|
column: 36
|
|
31345
31657
|
},
|
|
31346
31658
|
end: {
|
|
31347
|
-
line:
|
|
31659
|
+
line: 113,
|
|
31348
31660
|
column: 43
|
|
31349
31661
|
}
|
|
31350
31662
|
}],
|
|
31351
|
-
line:
|
|
31663
|
+
line: 113
|
|
31352
31664
|
},
|
|
31353
31665
|
"5": {
|
|
31354
31666
|
loc: {
|
|
31355
31667
|
start: {
|
|
31356
|
-
line:
|
|
31668
|
+
line: 115,
|
|
31357
31669
|
column: 27
|
|
31358
31670
|
},
|
|
31359
31671
|
end: {
|
|
31360
|
-
line:
|
|
31672
|
+
line: 115,
|
|
31361
31673
|
column: 49
|
|
31362
31674
|
}
|
|
31363
31675
|
},
|
|
31364
31676
|
type: "binary-expr",
|
|
31365
31677
|
locations: [{
|
|
31366
31678
|
start: {
|
|
31367
|
-
line:
|
|
31679
|
+
line: 115,
|
|
31368
31680
|
column: 27
|
|
31369
31681
|
},
|
|
31370
31682
|
end: {
|
|
31371
|
-
line:
|
|
31683
|
+
line: 115,
|
|
31372
31684
|
column: 38
|
|
31373
31685
|
}
|
|
31374
31686
|
}, {
|
|
31375
31687
|
start: {
|
|
31376
|
-
line:
|
|
31688
|
+
line: 115,
|
|
31377
31689
|
column: 42
|
|
31378
31690
|
},
|
|
31379
31691
|
end: {
|
|
31380
|
-
line:
|
|
31692
|
+
line: 115,
|
|
31381
31693
|
column: 49
|
|
31382
31694
|
}
|
|
31383
31695
|
}],
|
|
31384
|
-
line:
|
|
31696
|
+
line: 115
|
|
31385
31697
|
},
|
|
31386
31698
|
"6": {
|
|
31387
31699
|
loc: {
|
|
31388
31700
|
start: {
|
|
31389
|
-
line:
|
|
31701
|
+
line: 146,
|
|
31390
31702
|
column: 12
|
|
31391
31703
|
},
|
|
31392
31704
|
end: {
|
|
31393
|
-
line:
|
|
31705
|
+
line: 147,
|
|
31394
31706
|
column: 61
|
|
31395
31707
|
}
|
|
31396
31708
|
},
|
|
31397
31709
|
type: "binary-expr",
|
|
31398
31710
|
locations: [{
|
|
31399
31711
|
start: {
|
|
31400
|
-
line:
|
|
31712
|
+
line: 146,
|
|
31401
31713
|
column: 12
|
|
31402
31714
|
},
|
|
31403
31715
|
end: {
|
|
31404
|
-
line:
|
|
31716
|
+
line: 146,
|
|
31405
31717
|
column: 72
|
|
31406
31718
|
}
|
|
31407
31719
|
}, {
|
|
31408
31720
|
start: {
|
|
31409
|
-
line:
|
|
31721
|
+
line: 147,
|
|
31410
31722
|
column: 12
|
|
31411
31723
|
},
|
|
31412
31724
|
end: {
|
|
31413
|
-
line:
|
|
31725
|
+
line: 147,
|
|
31414
31726
|
column: 61
|
|
31415
31727
|
}
|
|
31416
31728
|
}],
|
|
31417
|
-
line:
|
|
31729
|
+
line: 146
|
|
31418
31730
|
},
|
|
31419
31731
|
"7": {
|
|
31420
31732
|
loc: {
|
|
31421
31733
|
start: {
|
|
31422
|
-
line:
|
|
31734
|
+
line: 160,
|
|
31423
31735
|
column: 9
|
|
31424
31736
|
},
|
|
31425
31737
|
end: {
|
|
31426
|
-
line:
|
|
31738
|
+
line: 209,
|
|
31427
31739
|
column: 9
|
|
31428
31740
|
}
|
|
31429
31741
|
},
|
|
31430
31742
|
type: "cond-expr",
|
|
31431
31743
|
locations: [{
|
|
31432
31744
|
start: {
|
|
31433
|
-
line:
|
|
31745
|
+
line: 161,
|
|
31434
31746
|
column: 10
|
|
31435
31747
|
},
|
|
31436
31748
|
end: {
|
|
31437
|
-
line:
|
|
31749
|
+
line: 194,
|
|
31438
31750
|
column: 23
|
|
31439
31751
|
}
|
|
31440
31752
|
}, {
|
|
31441
31753
|
start: {
|
|
31442
|
-
line:
|
|
31754
|
+
line: 196,
|
|
31443
31755
|
column: 10
|
|
31444
31756
|
},
|
|
31445
31757
|
end: {
|
|
31446
|
-
line:
|
|
31758
|
+
line: 208,
|
|
31447
31759
|
column: 29
|
|
31448
31760
|
}
|
|
31449
31761
|
}],
|
|
31450
|
-
line:
|
|
31762
|
+
line: 160
|
|
31451
31763
|
},
|
|
31452
31764
|
"8": {
|
|
31453
31765
|
loc: {
|
|
31454
31766
|
start: {
|
|
31455
|
-
line:
|
|
31767
|
+
line: 210,
|
|
31456
31768
|
column: 9
|
|
31457
31769
|
},
|
|
31458
31770
|
end: {
|
|
31459
|
-
line:
|
|
31771
|
+
line: 218,
|
|
31460
31772
|
column: 9
|
|
31461
31773
|
}
|
|
31462
31774
|
},
|
|
31463
31775
|
type: "binary-expr",
|
|
31464
31776
|
locations: [{
|
|
31465
31777
|
start: {
|
|
31466
|
-
line:
|
|
31778
|
+
line: 210,
|
|
31467
31779
|
column: 9
|
|
31468
31780
|
},
|
|
31469
31781
|
end: {
|
|
31470
|
-
line:
|
|
31782
|
+
line: 210,
|
|
31471
31783
|
column: 24
|
|
31472
31784
|
}
|
|
31473
31785
|
}, {
|
|
31474
31786
|
start: {
|
|
31475
|
-
line:
|
|
31787
|
+
line: 211,
|
|
31476
31788
|
column: 10
|
|
31477
31789
|
},
|
|
31478
31790
|
end: {
|
|
31479
|
-
line:
|
|
31791
|
+
line: 217,
|
|
31480
31792
|
column: 12
|
|
31481
31793
|
}
|
|
31482
31794
|
}],
|
|
31483
|
-
line:
|
|
31795
|
+
line: 210
|
|
31484
31796
|
},
|
|
31485
31797
|
"9": {
|
|
31486
31798
|
loc: {
|
|
31487
31799
|
start: {
|
|
31488
|
-
line:
|
|
31800
|
+
line: 214,
|
|
31489
31801
|
column: 24
|
|
31490
31802
|
},
|
|
31491
31803
|
end: {
|
|
31492
|
-
line:
|
|
31804
|
+
line: 214,
|
|
31493
31805
|
column: 46
|
|
31494
31806
|
}
|
|
31495
31807
|
},
|
|
31496
31808
|
type: "binary-expr",
|
|
31497
31809
|
locations: [{
|
|
31498
31810
|
start: {
|
|
31499
|
-
line:
|
|
31811
|
+
line: 214,
|
|
31500
31812
|
column: 24
|
|
31501
31813
|
},
|
|
31502
31814
|
end: {
|
|
31503
|
-
line:
|
|
31815
|
+
line: 214,
|
|
31504
31816
|
column: 36
|
|
31505
31817
|
}
|
|
31506
31818
|
}, {
|
|
31507
31819
|
start: {
|
|
31508
|
-
line:
|
|
31820
|
+
line: 214,
|
|
31509
31821
|
column: 40
|
|
31510
31822
|
},
|
|
31511
31823
|
end: {
|
|
31512
|
-
line:
|
|
31824
|
+
line: 214,
|
|
31513
31825
|
column: 46
|
|
31514
31826
|
}
|
|
31515
31827
|
}],
|
|
31516
|
-
line:
|
|
31828
|
+
line: 214
|
|
31517
31829
|
}
|
|
31518
31830
|
},
|
|
31519
31831
|
s: {
|
|
@@ -31553,9 +31865,7 @@ function cov_2e8k7gwd81() {
|
|
|
31553
31865
|
"33": 0,
|
|
31554
31866
|
"34": 0,
|
|
31555
31867
|
"35": 0,
|
|
31556
|
-
"36": 0
|
|
31557
|
-
"37": 0,
|
|
31558
|
-
"38": 0
|
|
31868
|
+
"36": 0
|
|
31559
31869
|
},
|
|
31560
31870
|
f: {
|
|
31561
31871
|
"0": 0,
|
|
@@ -31574,8 +31884,7 @@ function cov_2e8k7gwd81() {
|
|
|
31574
31884
|
"13": 0,
|
|
31575
31885
|
"14": 0,
|
|
31576
31886
|
"15": 0,
|
|
31577
|
-
"16": 0
|
|
31578
|
-
"17": 0
|
|
31887
|
+
"16": 0
|
|
31579
31888
|
},
|
|
31580
31889
|
b: {
|
|
31581
31890
|
"0": [0, 0, 0],
|
|
@@ -31590,7 +31899,7 @@ function cov_2e8k7gwd81() {
|
|
|
31590
31899
|
"9": [0, 0]
|
|
31591
31900
|
},
|
|
31592
31901
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31593
|
-
hash: "
|
|
31902
|
+
hash: "7c11acd7f0e5fde99d6d92b950980d529a13322c"
|
|
31594
31903
|
};
|
|
31595
31904
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
31596
31905
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -31617,8 +31926,8 @@ var Form = function Form(_ref) {
|
|
|
31617
31926
|
showActionBlock = _ref.showActionBlock,
|
|
31618
31927
|
formId = _ref.formId,
|
|
31619
31928
|
setShouldValidate = _ref.setShouldValidate,
|
|
31620
|
-
|
|
31621
|
-
|
|
31929
|
+
isDeletable = _ref.isDeletable,
|
|
31930
|
+
isRequiredField = _ref.isRequiredField,
|
|
31622
31931
|
submitButtonProps = _ref.submitButtonProps,
|
|
31623
31932
|
cancelButtonProps = _ref.cancelButtonProps,
|
|
31624
31933
|
isKindAlreadyActive = _ref.isKindAlreadyActive,
|
|
@@ -31691,16 +32000,10 @@ var Form = function Form(_ref) {
|
|
|
31691
32000
|
setFormFieldState(assoc(id, nextFieldState));
|
|
31692
32001
|
};
|
|
31693
32002
|
cov_2e8k7gwd81().s[19]++;
|
|
31694
|
-
var isRequiredField = function isRequiredField(kind) {
|
|
31695
|
-
cov_2e8k7gwd81().f[5]++;
|
|
31696
|
-
cov_2e8k7gwd81().s[20]++;
|
|
31697
|
-
return requiredFields.includes(kind);
|
|
31698
|
-
};
|
|
31699
|
-
cov_2e8k7gwd81().s[21]++;
|
|
31700
32003
|
var formProps = function formProps(item, index, insert$1) {
|
|
31701
32004
|
var _ref10, _ref11;
|
|
31702
|
-
cov_2e8k7gwd81().f[
|
|
31703
|
-
cov_2e8k7gwd81().s[
|
|
32005
|
+
cov_2e8k7gwd81().f[5]++;
|
|
32006
|
+
cov_2e8k7gwd81().s[20]++;
|
|
31704
32007
|
return {
|
|
31705
32008
|
name: "questions.".concat(index),
|
|
31706
32009
|
questionKinds: availableQuestionKinds,
|
|
@@ -31709,35 +32012,35 @@ var Form = function Form(_ref) {
|
|
|
31709
32012
|
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),
|
|
31710
32013
|
onChangeExpanded: function onChangeExpanded(isExpanded) {
|
|
31711
32014
|
var _ref12;
|
|
31712
|
-
cov_2e8k7gwd81().f[
|
|
31713
|
-
cov_2e8k7gwd81().s[
|
|
32015
|
+
cov_2e8k7gwd81().f[6]++;
|
|
32016
|
+
cov_2e8k7gwd81().s[21]++;
|
|
31714
32017
|
return handleChangeExpanded((_ref12 = (cov_2e8k7gwd81().b[5][0]++, item.nodeId)) !== null && _ref12 !== void 0 ? _ref12 : (cov_2e8k7gwd81().b[5][1]++, item.id), isExpanded);
|
|
31715
32018
|
},
|
|
31716
32019
|
onDuplicate: function onDuplicate() {
|
|
31717
|
-
cov_2e8k7gwd81().f[
|
|
31718
|
-
var newQuestions = (cov_2e8k7gwd81().s[
|
|
31719
|
-
cov_2e8k7gwd81().s[
|
|
32020
|
+
cov_2e8k7gwd81().f[7]++;
|
|
32021
|
+
var newQuestions = (cov_2e8k7gwd81().s[22]++, insert(item.displayOrder, duplicateFieldData(item), values.questions));
|
|
32022
|
+
cov_2e8k7gwd81().s[23]++;
|
|
31720
32023
|
setFieldValue("questions", newQuestions.map(function (question, index) {
|
|
31721
|
-
cov_2e8k7gwd81().f[
|
|
31722
|
-
cov_2e8k7gwd81().s[
|
|
32024
|
+
cov_2e8k7gwd81().f[8]++;
|
|
32025
|
+
cov_2e8k7gwd81().s[24]++;
|
|
31723
32026
|
return _objectSpread$9(_objectSpread$9({}, question), {}, {
|
|
31724
32027
|
displayOrder: index + 1
|
|
31725
32028
|
});
|
|
31726
32029
|
}));
|
|
31727
32030
|
},
|
|
31728
32031
|
onAddNew: function onAddNew(kind) {
|
|
31729
|
-
cov_2e8k7gwd81().f[
|
|
31730
|
-
cov_2e8k7gwd81().s[
|
|
31731
|
-
return insert$1(index + 1, createFieldData(kind, isRequiredField(
|
|
32032
|
+
cov_2e8k7gwd81().f[9]++;
|
|
32033
|
+
cov_2e8k7gwd81().s[25]++;
|
|
32034
|
+
return insert$1(index + 1, createFieldData(kind, isRequiredField(item)));
|
|
31732
32035
|
},
|
|
31733
32036
|
onRemove: function onRemove() {
|
|
31734
|
-
cov_2e8k7gwd81().f[
|
|
31735
|
-
cov_2e8k7gwd81().s[
|
|
32037
|
+
cov_2e8k7gwd81().f[10]++;
|
|
32038
|
+
cov_2e8k7gwd81().s[26]++;
|
|
31736
32039
|
setDeleteQuestionIndex(index);
|
|
31737
32040
|
}
|
|
31738
32041
|
};
|
|
31739
32042
|
};
|
|
31740
|
-
cov_2e8k7gwd81().s[
|
|
32043
|
+
cov_2e8k7gwd81().s[27]++;
|
|
31741
32044
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Alert, {
|
|
31742
32045
|
isOpen: deleteQuestionIndex !== null,
|
|
31743
32046
|
message: t("questions.deleteAlert.message"),
|
|
@@ -31746,16 +32049,16 @@ var Form = function Form(_ref) {
|
|
|
31746
32049
|
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))
|
|
31747
32050
|
}),
|
|
31748
32051
|
onClose: function onClose() {
|
|
31749
|
-
cov_2e8k7gwd81().f[
|
|
31750
|
-
cov_2e8k7gwd81().s[
|
|
32052
|
+
cov_2e8k7gwd81().f[11]++;
|
|
32053
|
+
cov_2e8k7gwd81().s[28]++;
|
|
31751
32054
|
return setDeleteQuestionIndex(null);
|
|
31752
32055
|
},
|
|
31753
32056
|
onSubmit: function onSubmit() {
|
|
31754
|
-
cov_2e8k7gwd81().f[
|
|
31755
|
-
var nextQuestions = (cov_2e8k7gwd81().s[
|
|
31756
|
-
cov_2e8k7gwd81().s[
|
|
32057
|
+
cov_2e8k7gwd81().f[12]++;
|
|
32058
|
+
var nextQuestions = (cov_2e8k7gwd81().s[29]++, formHelpers.destroyFromList(questions, deleteQuestionIndex));
|
|
32059
|
+
cov_2e8k7gwd81().s[30]++;
|
|
31757
32060
|
setFieldValue("questions", nextQuestions, false);
|
|
31758
|
-
cov_2e8k7gwd81().s[
|
|
32061
|
+
cov_2e8k7gwd81().s[31]++;
|
|
31759
32062
|
setDeleteQuestionIndex(null);
|
|
31760
32063
|
}
|
|
31761
32064
|
}), /*#__PURE__*/React__default.createElement(Form$1, _extends$9({}, formDomProps, {
|
|
@@ -31765,14 +32068,14 @@ var Form = function Form(_ref) {
|
|
|
31765
32068
|
}, function (_ref14) {
|
|
31766
32069
|
var insert = _ref14.insert,
|
|
31767
32070
|
push = _ref14.push;
|
|
31768
|
-
cov_2e8k7gwd81().f[
|
|
31769
|
-
cov_2e8k7gwd81().s[
|
|
32071
|
+
cov_2e8k7gwd81().f[13]++;
|
|
32072
|
+
cov_2e8k7gwd81().s[32]++;
|
|
31770
32073
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(DragDropContext, {
|
|
31771
32074
|
onDragEnd: function onDragEnd(_ref15) {
|
|
31772
32075
|
var source = _ref15.source,
|
|
31773
32076
|
destination = _ref15.destination;
|
|
31774
|
-
cov_2e8k7gwd81().f[
|
|
31775
|
-
cov_2e8k7gwd81().s[
|
|
32077
|
+
cov_2e8k7gwd81().f[14]++;
|
|
32078
|
+
cov_2e8k7gwd81().s[33]++;
|
|
31776
32079
|
return handleFieldDragEnd({
|
|
31777
32080
|
source: source,
|
|
31778
32081
|
destination: destination,
|
|
@@ -31785,9 +32088,9 @@ var Form = function Form(_ref) {
|
|
|
31785
32088
|
formProps: formProps,
|
|
31786
32089
|
getActiveKindDetails: getActiveKindDetails,
|
|
31787
32090
|
insert: insert,
|
|
32091
|
+
isDeletable: isDeletable,
|
|
31788
32092
|
isRequiredField: isRequiredField,
|
|
31789
32093
|
kindUniqueOn: kindUniqueOn,
|
|
31790
|
-
nonRemovableFields: nonRemovableFields,
|
|
31791
32094
|
questions: questions
|
|
31792
32095
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
31793
32096
|
className: "mb-8 w-full"
|
|
@@ -31795,8 +32098,8 @@ var Form = function Form(_ref) {
|
|
|
31795
32098
|
kindUniqueOn: kindUniqueOn,
|
|
31796
32099
|
questionKinds: availableQuestionKinds,
|
|
31797
32100
|
onSelect: function onSelect(kind) {
|
|
31798
|
-
cov_2e8k7gwd81().f[
|
|
31799
|
-
cov_2e8k7gwd81().s[
|
|
32101
|
+
cov_2e8k7gwd81().f[15]++;
|
|
32102
|
+
cov_2e8k7gwd81().s[34]++;
|
|
31800
32103
|
return push(createFieldData(kind));
|
|
31801
32104
|
}
|
|
31802
32105
|
})));
|
|
@@ -31804,9 +32107,9 @@ var Form = function Form(_ref) {
|
|
|
31804
32107
|
kindUniqueOn: kindUniqueOn,
|
|
31805
32108
|
questionKinds: availableQuestionKinds,
|
|
31806
32109
|
onSelect: function onSelect(kind) {
|
|
31807
|
-
cov_2e8k7gwd81().f[
|
|
31808
|
-
var nextQuestions = (cov_2e8k7gwd81().s[
|
|
31809
|
-
cov_2e8k7gwd81().s[
|
|
32110
|
+
cov_2e8k7gwd81().f[16]++;
|
|
32111
|
+
var nextQuestions = (cov_2e8k7gwd81().s[35]++, formHelpers.pushToList(questions, createFieldData(kind)));
|
|
32112
|
+
cov_2e8k7gwd81().s[36]++;
|
|
31810
32113
|
setFieldValue("questions", nextQuestions, false);
|
|
31811
32114
|
}
|
|
31812
32115
|
}))), (cov_2e8k7gwd81().b[8][0]++, showActionBlock) && (cov_2e8k7gwd81().b[8][1]++, /*#__PURE__*/React__default.createElement(ActionBlock, {
|
|
@@ -32168,7 +32471,7 @@ var formValidationSchema = (cov_13igvew484().s[2]++, object().shape({
|
|
|
32168
32471
|
|
|
32169
32472
|
function cov_2nbnnlcv5p() {
|
|
32170
32473
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/index.jsx";
|
|
32171
|
-
var hash = "
|
|
32474
|
+
var hash = "3f91bb4f96e8987cc816d9501ef4ff5ac168630d";
|
|
32172
32475
|
var global = new Function("return this")();
|
|
32173
32476
|
var gcv = "__coverage__";
|
|
32174
32477
|
var coverageData = {
|
|
@@ -32180,93 +32483,93 @@ function cov_2nbnnlcv5p() {
|
|
|
32180
32483
|
column: 18
|
|
32181
32484
|
},
|
|
32182
32485
|
end: {
|
|
32183
|
-
line:
|
|
32486
|
+
line: 158,
|
|
32184
32487
|
column: 1
|
|
32185
32488
|
}
|
|
32186
32489
|
},
|
|
32187
32490
|
"1": {
|
|
32188
32491
|
start: {
|
|
32189
|
-
line:
|
|
32492
|
+
line: 38,
|
|
32190
32493
|
column: 54
|
|
32191
32494
|
},
|
|
32192
32495
|
end: {
|
|
32193
|
-
line:
|
|
32496
|
+
line: 38,
|
|
32194
32497
|
column: 69
|
|
32195
32498
|
}
|
|
32196
32499
|
},
|
|
32197
32500
|
"2": {
|
|
32198
32501
|
start: {
|
|
32199
|
-
line:
|
|
32502
|
+
line: 40,
|
|
32200
32503
|
column: 22
|
|
32201
32504
|
},
|
|
32202
32505
|
end: {
|
|
32203
|
-
line:
|
|
32506
|
+
line: 40,
|
|
32204
32507
|
column: 38
|
|
32205
32508
|
}
|
|
32206
32509
|
},
|
|
32207
32510
|
"3": {
|
|
32208
32511
|
start: {
|
|
32209
|
-
line:
|
|
32512
|
+
line: 42,
|
|
32210
32513
|
column: 43
|
|
32211
32514
|
},
|
|
32212
32515
|
end: {
|
|
32213
|
-
line:
|
|
32516
|
+
line: 47,
|
|
32214
32517
|
column: 4
|
|
32215
32518
|
}
|
|
32216
32519
|
},
|
|
32217
32520
|
"4": {
|
|
32218
32521
|
start: {
|
|
32219
|
-
line:
|
|
32522
|
+
line: 44,
|
|
32220
32523
|
column: 22
|
|
32221
32524
|
},
|
|
32222
32525
|
end: {
|
|
32223
|
-
line:
|
|
32526
|
+
line: 44,
|
|
32224
32527
|
column: 41
|
|
32225
32528
|
}
|
|
32226
32529
|
},
|
|
32227
32530
|
"5": {
|
|
32228
32531
|
start: {
|
|
32229
|
-
line:
|
|
32532
|
+
line: 46,
|
|
32230
32533
|
column: 6
|
|
32231
32534
|
},
|
|
32232
32535
|
end: {
|
|
32233
|
-
line:
|
|
32536
|
+
line: 46,
|
|
32234
32537
|
column: 28
|
|
32235
32538
|
}
|
|
32236
32539
|
},
|
|
32237
32540
|
"6": {
|
|
32238
32541
|
start: {
|
|
32239
|
-
line:
|
|
32542
|
+
line: 55,
|
|
32240
32543
|
column: 6
|
|
32241
32544
|
},
|
|
32242
32545
|
end: {
|
|
32243
|
-
line:
|
|
32546
|
+
line: 73,
|
|
32244
32547
|
column: 4
|
|
32245
32548
|
}
|
|
32246
32549
|
},
|
|
32247
32550
|
"7": {
|
|
32248
32551
|
start: {
|
|
32249
|
-
line:
|
|
32552
|
+
line: 57,
|
|
32250
32553
|
column: 23
|
|
32251
32554
|
},
|
|
32252
32555
|
end: {
|
|
32253
|
-
line:
|
|
32556
|
+
line: 57,
|
|
32254
32557
|
column: 39
|
|
32255
32558
|
}
|
|
32256
32559
|
},
|
|
32257
32560
|
"8": {
|
|
32258
32561
|
start: {
|
|
32259
|
-
line:
|
|
32260
|
-
column:
|
|
32562
|
+
line: 75,
|
|
32563
|
+
column: 2
|
|
32261
32564
|
},
|
|
32262
32565
|
end: {
|
|
32263
|
-
line:
|
|
32264
|
-
column:
|
|
32566
|
+
line: 81,
|
|
32567
|
+
column: 3
|
|
32265
32568
|
}
|
|
32266
32569
|
},
|
|
32267
32570
|
"9": {
|
|
32268
32571
|
start: {
|
|
32269
|
-
line:
|
|
32572
|
+
line: 76,
|
|
32270
32573
|
column: 4
|
|
32271
32574
|
},
|
|
32272
32575
|
end: {
|
|
@@ -32276,101 +32579,141 @@ function cov_2nbnnlcv5p() {
|
|
|
32276
32579
|
},
|
|
32277
32580
|
"10": {
|
|
32278
32581
|
start: {
|
|
32279
|
-
line:
|
|
32582
|
+
line: 83,
|
|
32583
|
+
column: 23
|
|
32584
|
+
},
|
|
32585
|
+
end: {
|
|
32586
|
+
line: 90,
|
|
32587
|
+
column: 6
|
|
32588
|
+
}
|
|
32589
|
+
},
|
|
32590
|
+
"11": {
|
|
32591
|
+
start: {
|
|
32592
|
+
line: 84,
|
|
32593
|
+
column: 4
|
|
32594
|
+
},
|
|
32595
|
+
end: {
|
|
32596
|
+
line: 90,
|
|
32597
|
+
column: 6
|
|
32598
|
+
}
|
|
32599
|
+
},
|
|
32600
|
+
"12": {
|
|
32601
|
+
start: {
|
|
32602
|
+
line: 92,
|
|
32280
32603
|
column: 24
|
|
32281
32604
|
},
|
|
32282
32605
|
end: {
|
|
32283
|
-
line:
|
|
32606
|
+
line: 104,
|
|
32284
32607
|
column: 3
|
|
32285
32608
|
}
|
|
32286
32609
|
},
|
|
32287
|
-
"
|
|
32610
|
+
"13": {
|
|
32288
32611
|
start: {
|
|
32289
|
-
line:
|
|
32612
|
+
line: 93,
|
|
32290
32613
|
column: 32
|
|
32291
32614
|
},
|
|
32292
32615
|
end: {
|
|
32293
|
-
line:
|
|
32616
|
+
line: 96,
|
|
32294
32617
|
column: 6
|
|
32295
32618
|
}
|
|
32296
32619
|
},
|
|
32297
|
-
"
|
|
32620
|
+
"14": {
|
|
32298
32621
|
start: {
|
|
32299
|
-
line:
|
|
32622
|
+
line: 98,
|
|
32300
32623
|
column: 4
|
|
32301
32624
|
},
|
|
32302
32625
|
end: {
|
|
32303
|
-
line:
|
|
32626
|
+
line: 103,
|
|
32304
32627
|
column: 5
|
|
32305
32628
|
}
|
|
32306
32629
|
},
|
|
32307
|
-
"
|
|
32630
|
+
"15": {
|
|
32308
32631
|
start: {
|
|
32309
|
-
line:
|
|
32632
|
+
line: 99,
|
|
32310
32633
|
column: 6
|
|
32311
32634
|
},
|
|
32312
32635
|
end: {
|
|
32313
|
-
line:
|
|
32636
|
+
line: 102,
|
|
32314
32637
|
column: 8
|
|
32315
32638
|
}
|
|
32316
32639
|
},
|
|
32317
|
-
"
|
|
32640
|
+
"16": {
|
|
32318
32641
|
start: {
|
|
32319
|
-
line:
|
|
32320
|
-
column:
|
|
32642
|
+
line: 107,
|
|
32643
|
+
column: 4
|
|
32321
32644
|
},
|
|
32322
32645
|
end: {
|
|
32323
|
-
line:
|
|
32324
|
-
column:
|
|
32646
|
+
line: 108,
|
|
32647
|
+
column: 61
|
|
32325
32648
|
}
|
|
32326
32649
|
},
|
|
32327
|
-
"
|
|
32650
|
+
"17": {
|
|
32328
32651
|
start: {
|
|
32329
|
-
line:
|
|
32652
|
+
line: 108,
|
|
32653
|
+
column: 17
|
|
32654
|
+
},
|
|
32655
|
+
end: {
|
|
32656
|
+
line: 108,
|
|
32657
|
+
column: 60
|
|
32658
|
+
}
|
|
32659
|
+
},
|
|
32660
|
+
"18": {
|
|
32661
|
+
start: {
|
|
32662
|
+
line: 111,
|
|
32330
32663
|
column: 4
|
|
32331
32664
|
},
|
|
32332
32665
|
end: {
|
|
32333
|
-
line:
|
|
32334
|
-
column:
|
|
32666
|
+
line: 111,
|
|
32667
|
+
column: 68
|
|
32335
32668
|
}
|
|
32336
32669
|
},
|
|
32337
|
-
"
|
|
32670
|
+
"19": {
|
|
32338
32671
|
start: {
|
|
32339
|
-
line:
|
|
32672
|
+
line: 111,
|
|
32673
|
+
column: 38
|
|
32674
|
+
},
|
|
32675
|
+
end: {
|
|
32676
|
+
line: 111,
|
|
32677
|
+
column: 67
|
|
32678
|
+
}
|
|
32679
|
+
},
|
|
32680
|
+
"20": {
|
|
32681
|
+
start: {
|
|
32682
|
+
line: 113,
|
|
32340
32683
|
column: 2
|
|
32341
32684
|
},
|
|
32342
32685
|
end: {
|
|
32343
|
-
line:
|
|
32686
|
+
line: 157,
|
|
32344
32687
|
column: 4
|
|
32345
32688
|
}
|
|
32346
32689
|
},
|
|
32347
|
-
"
|
|
32690
|
+
"21": {
|
|
32348
32691
|
start: {
|
|
32349
|
-
line:
|
|
32692
|
+
line: 126,
|
|
32350
32693
|
column: 10
|
|
32351
32694
|
},
|
|
32352
32695
|
end: {
|
|
32353
|
-
line:
|
|
32696
|
+
line: 148,
|
|
32354
32697
|
column: 12
|
|
32355
32698
|
}
|
|
32356
32699
|
},
|
|
32357
|
-
"
|
|
32700
|
+
"22": {
|
|
32358
32701
|
start: {
|
|
32359
|
-
line:
|
|
32702
|
+
line: 144,
|
|
32360
32703
|
column: 14
|
|
32361
32704
|
},
|
|
32362
32705
|
end: {
|
|
32363
|
-
line:
|
|
32706
|
+
line: 146,
|
|
32364
32707
|
column: 15
|
|
32365
32708
|
}
|
|
32366
32709
|
},
|
|
32367
|
-
"
|
|
32710
|
+
"23": {
|
|
32368
32711
|
start: {
|
|
32369
|
-
line:
|
|
32712
|
+
line: 145,
|
|
32370
32713
|
column: 16
|
|
32371
32714
|
},
|
|
32372
32715
|
end: {
|
|
32373
|
-
line:
|
|
32716
|
+
line: 145,
|
|
32374
32717
|
column: 49
|
|
32375
32718
|
}
|
|
32376
32719
|
}
|
|
@@ -32390,183 +32733,231 @@ function cov_2nbnnlcv5p() {
|
|
|
32390
32733
|
},
|
|
32391
32734
|
loc: {
|
|
32392
32735
|
start: {
|
|
32393
|
-
line:
|
|
32736
|
+
line: 37,
|
|
32394
32737
|
column: 6
|
|
32395
32738
|
},
|
|
32396
32739
|
end: {
|
|
32397
|
-
line:
|
|
32740
|
+
line: 158,
|
|
32398
32741
|
column: 1
|
|
32399
32742
|
}
|
|
32400
32743
|
},
|
|
32401
|
-
line:
|
|
32744
|
+
line: 37
|
|
32402
32745
|
},
|
|
32403
32746
|
"1": {
|
|
32404
32747
|
name: "(anonymous_1)",
|
|
32405
32748
|
decl: {
|
|
32406
32749
|
start: {
|
|
32407
|
-
line:
|
|
32750
|
+
line: 44,
|
|
32408
32751
|
column: 13
|
|
32409
32752
|
},
|
|
32410
32753
|
end: {
|
|
32411
|
-
line:
|
|
32754
|
+
line: 44,
|
|
32412
32755
|
column: 14
|
|
32413
32756
|
}
|
|
32414
32757
|
},
|
|
32415
32758
|
loc: {
|
|
32416
32759
|
start: {
|
|
32417
|
-
line:
|
|
32760
|
+
line: 44,
|
|
32418
32761
|
column: 22
|
|
32419
32762
|
},
|
|
32420
32763
|
end: {
|
|
32421
|
-
line:
|
|
32764
|
+
line: 44,
|
|
32422
32765
|
column: 41
|
|
32423
32766
|
}
|
|
32424
32767
|
},
|
|
32425
|
-
line:
|
|
32768
|
+
line: 44
|
|
32426
32769
|
},
|
|
32427
32770
|
"2": {
|
|
32428
32771
|
name: "(anonymous_2)",
|
|
32429
32772
|
decl: {
|
|
32430
32773
|
start: {
|
|
32431
|
-
line:
|
|
32774
|
+
line: 45,
|
|
32432
32775
|
column: 15
|
|
32433
32776
|
},
|
|
32434
32777
|
end: {
|
|
32435
|
-
line:
|
|
32778
|
+
line: 45,
|
|
32436
32779
|
column: 16
|
|
32437
32780
|
}
|
|
32438
32781
|
},
|
|
32439
32782
|
loc: {
|
|
32440
32783
|
start: {
|
|
32441
|
-
line:
|
|
32784
|
+
line: 46,
|
|
32442
32785
|
column: 6
|
|
32443
32786
|
},
|
|
32444
32787
|
end: {
|
|
32445
|
-
line:
|
|
32788
|
+
line: 46,
|
|
32446
32789
|
column: 28
|
|
32447
32790
|
}
|
|
32448
32791
|
},
|
|
32449
|
-
line:
|
|
32792
|
+
line: 46
|
|
32450
32793
|
},
|
|
32451
32794
|
"3": {
|
|
32452
32795
|
name: "(anonymous_3)",
|
|
32453
32796
|
decl: {
|
|
32454
32797
|
start: {
|
|
32455
|
-
line:
|
|
32798
|
+
line: 57,
|
|
32456
32799
|
column: 15
|
|
32457
32800
|
},
|
|
32458
32801
|
end: {
|
|
32459
|
-
line:
|
|
32802
|
+
line: 57,
|
|
32460
32803
|
column: 16
|
|
32461
32804
|
}
|
|
32462
32805
|
},
|
|
32463
32806
|
loc: {
|
|
32464
32807
|
start: {
|
|
32465
|
-
line:
|
|
32808
|
+
line: 57,
|
|
32466
32809
|
column: 23
|
|
32467
32810
|
},
|
|
32468
32811
|
end: {
|
|
32469
|
-
line:
|
|
32812
|
+
line: 57,
|
|
32470
32813
|
column: 39
|
|
32471
32814
|
}
|
|
32472
32815
|
},
|
|
32473
|
-
line:
|
|
32816
|
+
line: 57
|
|
32474
32817
|
},
|
|
32475
32818
|
"4": {
|
|
32476
32819
|
name: "(anonymous_4)",
|
|
32477
32820
|
decl: {
|
|
32478
32821
|
start: {
|
|
32479
|
-
line:
|
|
32822
|
+
line: 83,
|
|
32480
32823
|
column: 23
|
|
32481
32824
|
},
|
|
32482
32825
|
end: {
|
|
32483
|
-
line:
|
|
32826
|
+
line: 83,
|
|
32484
32827
|
column: 24
|
|
32485
32828
|
}
|
|
32486
32829
|
},
|
|
32487
32830
|
loc: {
|
|
32488
32831
|
start: {
|
|
32489
|
-
line:
|
|
32832
|
+
line: 84,
|
|
32490
32833
|
column: 4
|
|
32491
32834
|
},
|
|
32492
32835
|
end: {
|
|
32493
|
-
line:
|
|
32836
|
+
line: 90,
|
|
32494
32837
|
column: 6
|
|
32495
32838
|
}
|
|
32496
32839
|
},
|
|
32497
|
-
line:
|
|
32840
|
+
line: 84
|
|
32498
32841
|
},
|
|
32499
32842
|
"5": {
|
|
32500
32843
|
name: "(anonymous_5)",
|
|
32501
32844
|
decl: {
|
|
32502
32845
|
start: {
|
|
32503
|
-
line:
|
|
32846
|
+
line: 92,
|
|
32504
32847
|
column: 24
|
|
32505
32848
|
},
|
|
32506
32849
|
end: {
|
|
32507
|
-
line:
|
|
32850
|
+
line: 92,
|
|
32508
32851
|
column: 25
|
|
32509
32852
|
}
|
|
32510
32853
|
},
|
|
32511
32854
|
loc: {
|
|
32512
32855
|
start: {
|
|
32513
|
-
line:
|
|
32856
|
+
line: 92,
|
|
32514
32857
|
column: 37
|
|
32515
32858
|
},
|
|
32516
32859
|
end: {
|
|
32517
|
-
line:
|
|
32860
|
+
line: 104,
|
|
32518
32861
|
column: 3
|
|
32519
32862
|
}
|
|
32520
32863
|
},
|
|
32521
|
-
line:
|
|
32864
|
+
line: 92
|
|
32522
32865
|
},
|
|
32523
32866
|
"6": {
|
|
32524
32867
|
name: "(anonymous_6)",
|
|
32525
32868
|
decl: {
|
|
32526
32869
|
start: {
|
|
32527
|
-
line:
|
|
32870
|
+
line: 108,
|
|
32871
|
+
column: 5
|
|
32872
|
+
},
|
|
32873
|
+
end: {
|
|
32874
|
+
line: 108,
|
|
32875
|
+
column: 6
|
|
32876
|
+
}
|
|
32877
|
+
},
|
|
32878
|
+
loc: {
|
|
32879
|
+
start: {
|
|
32880
|
+
line: 108,
|
|
32881
|
+
column: 17
|
|
32882
|
+
},
|
|
32883
|
+
end: {
|
|
32884
|
+
line: 108,
|
|
32885
|
+
column: 60
|
|
32886
|
+
}
|
|
32887
|
+
},
|
|
32888
|
+
line: 108
|
|
32889
|
+
},
|
|
32890
|
+
"7": {
|
|
32891
|
+
name: "(anonymous_7)",
|
|
32892
|
+
decl: {
|
|
32893
|
+
start: {
|
|
32894
|
+
line: 111,
|
|
32895
|
+
column: 24
|
|
32896
|
+
},
|
|
32897
|
+
end: {
|
|
32898
|
+
line: 111,
|
|
32899
|
+
column: 25
|
|
32900
|
+
}
|
|
32901
|
+
},
|
|
32902
|
+
loc: {
|
|
32903
|
+
start: {
|
|
32904
|
+
line: 111,
|
|
32905
|
+
column: 38
|
|
32906
|
+
},
|
|
32907
|
+
end: {
|
|
32908
|
+
line: 111,
|
|
32909
|
+
column: 67
|
|
32910
|
+
}
|
|
32911
|
+
},
|
|
32912
|
+
line: 111
|
|
32913
|
+
},
|
|
32914
|
+
"8": {
|
|
32915
|
+
name: "(anonymous_8)",
|
|
32916
|
+
decl: {
|
|
32917
|
+
start: {
|
|
32918
|
+
line: 125,
|
|
32528
32919
|
column: 9
|
|
32529
32920
|
},
|
|
32530
32921
|
end: {
|
|
32531
|
-
line:
|
|
32922
|
+
line: 125,
|
|
32532
32923
|
column: 10
|
|
32533
32924
|
}
|
|
32534
32925
|
},
|
|
32535
32926
|
loc: {
|
|
32536
32927
|
start: {
|
|
32537
|
-
line:
|
|
32928
|
+
line: 126,
|
|
32538
32929
|
column: 10
|
|
32539
32930
|
},
|
|
32540
32931
|
end: {
|
|
32541
|
-
line:
|
|
32932
|
+
line: 148,
|
|
32542
32933
|
column: 12
|
|
32543
32934
|
}
|
|
32544
32935
|
},
|
|
32545
|
-
line:
|
|
32936
|
+
line: 126
|
|
32546
32937
|
},
|
|
32547
|
-
"
|
|
32548
|
-
name: "(
|
|
32938
|
+
"9": {
|
|
32939
|
+
name: "(anonymous_9)",
|
|
32549
32940
|
decl: {
|
|
32550
32941
|
start: {
|
|
32551
|
-
line:
|
|
32942
|
+
line: 143,
|
|
32552
32943
|
column: 22
|
|
32553
32944
|
},
|
|
32554
32945
|
end: {
|
|
32555
|
-
line:
|
|
32946
|
+
line: 143,
|
|
32556
32947
|
column: 23
|
|
32557
32948
|
}
|
|
32558
32949
|
},
|
|
32559
32950
|
loc: {
|
|
32560
32951
|
start: {
|
|
32561
|
-
line:
|
|
32952
|
+
line: 143,
|
|
32562
32953
|
column: 31
|
|
32563
32954
|
},
|
|
32564
32955
|
end: {
|
|
32565
|
-
line:
|
|
32956
|
+
line: 147,
|
|
32566
32957
|
column: 13
|
|
32567
32958
|
}
|
|
32568
32959
|
},
|
|
32569
|
-
line:
|
|
32960
|
+
line: 143
|
|
32570
32961
|
}
|
|
32571
32962
|
},
|
|
32572
32963
|
branchMap: {
|
|
@@ -32741,119 +33132,119 @@ function cov_2nbnnlcv5p() {
|
|
|
32741
33132
|
"7": {
|
|
32742
33133
|
loc: {
|
|
32743
33134
|
start: {
|
|
32744
|
-
line:
|
|
33135
|
+
line: 35,
|
|
32745
33136
|
column: 2
|
|
32746
33137
|
},
|
|
32747
33138
|
end: {
|
|
32748
|
-
line:
|
|
33139
|
+
line: 35,
|
|
32749
33140
|
column: 20
|
|
32750
33141
|
}
|
|
32751
33142
|
},
|
|
32752
33143
|
type: "default-arg",
|
|
32753
33144
|
locations: [{
|
|
32754
33145
|
start: {
|
|
32755
|
-
line:
|
|
33146
|
+
line: 35,
|
|
32756
33147
|
column: 15
|
|
32757
33148
|
},
|
|
32758
33149
|
end: {
|
|
32759
|
-
line:
|
|
33150
|
+
line: 35,
|
|
32760
33151
|
column: 20
|
|
32761
33152
|
}
|
|
32762
33153
|
}],
|
|
32763
|
-
line:
|
|
33154
|
+
line: 35
|
|
32764
33155
|
},
|
|
32765
33156
|
"8": {
|
|
32766
33157
|
loc: {
|
|
32767
33158
|
start: {
|
|
32768
|
-
line:
|
|
33159
|
+
line: 36,
|
|
32769
33160
|
column: 2
|
|
32770
33161
|
},
|
|
32771
33162
|
end: {
|
|
32772
|
-
line:
|
|
33163
|
+
line: 36,
|
|
32773
33164
|
column: 25
|
|
32774
33165
|
}
|
|
32775
33166
|
},
|
|
32776
33167
|
type: "default-arg",
|
|
32777
33168
|
locations: [{
|
|
32778
33169
|
start: {
|
|
32779
|
-
line:
|
|
33170
|
+
line: 36,
|
|
32780
33171
|
column: 17
|
|
32781
33172
|
},
|
|
32782
33173
|
end: {
|
|
32783
|
-
line:
|
|
33174
|
+
line: 36,
|
|
32784
33175
|
column: 25
|
|
32785
33176
|
}
|
|
32786
33177
|
}],
|
|
32787
|
-
line:
|
|
33178
|
+
line: 36
|
|
32788
33179
|
},
|
|
32789
33180
|
"9": {
|
|
32790
33181
|
loc: {
|
|
32791
33182
|
start: {
|
|
32792
|
-
line:
|
|
33183
|
+
line: 45,
|
|
32793
33184
|
column: 18
|
|
32794
33185
|
},
|
|
32795
33186
|
end: {
|
|
32796
|
-
line:
|
|
33187
|
+
line: 45,
|
|
32797
33188
|
column: 70
|
|
32798
33189
|
}
|
|
32799
33190
|
},
|
|
32800
33191
|
type: "default-arg",
|
|
32801
33192
|
locations: [{
|
|
32802
33193
|
start: {
|
|
32803
|
-
line:
|
|
33194
|
+
line: 45,
|
|
32804
33195
|
column: 27
|
|
32805
33196
|
},
|
|
32806
33197
|
end: {
|
|
32807
|
-
line:
|
|
33198
|
+
line: 45,
|
|
32808
33199
|
column: 70
|
|
32809
33200
|
}
|
|
32810
33201
|
}],
|
|
32811
|
-
line:
|
|
33202
|
+
line: 45
|
|
32812
33203
|
},
|
|
32813
33204
|
"10": {
|
|
32814
33205
|
loc: {
|
|
32815
33206
|
start: {
|
|
32816
|
-
line:
|
|
33207
|
+
line: 50,
|
|
32817
33208
|
column: 10
|
|
32818
33209
|
},
|
|
32819
33210
|
end: {
|
|
32820
|
-
line:
|
|
33211
|
+
line: 53,
|
|
32821
33212
|
column: 5
|
|
32822
33213
|
}
|
|
32823
33214
|
},
|
|
32824
33215
|
type: "default-arg",
|
|
32825
33216
|
locations: [{
|
|
32826
33217
|
start: {
|
|
32827
|
-
line:
|
|
33218
|
+
line: 50,
|
|
32828
33219
|
column: 46
|
|
32829
33220
|
},
|
|
32830
33221
|
end: {
|
|
32831
|
-
line:
|
|
33222
|
+
line: 53,
|
|
32832
33223
|
column: 5
|
|
32833
33224
|
}
|
|
32834
33225
|
}],
|
|
32835
|
-
line:
|
|
33226
|
+
line: 50
|
|
32836
33227
|
},
|
|
32837
33228
|
"11": {
|
|
32838
33229
|
loc: {
|
|
32839
33230
|
start: {
|
|
32840
|
-
line:
|
|
32841
|
-
column:
|
|
33231
|
+
line: 75,
|
|
33232
|
+
column: 2
|
|
32842
33233
|
},
|
|
32843
33234
|
end: {
|
|
32844
|
-
line:
|
|
32845
|
-
column:
|
|
33235
|
+
line: 81,
|
|
33236
|
+
column: 3
|
|
32846
33237
|
}
|
|
32847
33238
|
},
|
|
32848
33239
|
type: "if",
|
|
32849
33240
|
locations: [{
|
|
32850
33241
|
start: {
|
|
32851
|
-
line:
|
|
32852
|
-
column:
|
|
33242
|
+
line: 75,
|
|
33243
|
+
column: 2
|
|
32853
33244
|
},
|
|
32854
33245
|
end: {
|
|
32855
|
-
line:
|
|
32856
|
-
column:
|
|
33246
|
+
line: 81,
|
|
33247
|
+
column: 3
|
|
32857
33248
|
}
|
|
32858
33249
|
}, {
|
|
32859
33250
|
start: {
|
|
@@ -32865,28 +33256,70 @@ function cov_2nbnnlcv5p() {
|
|
|
32865
33256
|
column: undefined
|
|
32866
33257
|
}
|
|
32867
33258
|
}],
|
|
32868
|
-
line:
|
|
33259
|
+
line: 75
|
|
32869
33260
|
},
|
|
32870
33261
|
"12": {
|
|
32871
33262
|
loc: {
|
|
32872
33263
|
start: {
|
|
32873
|
-
line:
|
|
32874
|
-
column:
|
|
33264
|
+
line: 75,
|
|
33265
|
+
column: 6
|
|
32875
33266
|
},
|
|
32876
33267
|
end: {
|
|
32877
|
-
line:
|
|
32878
|
-
column:
|
|
33268
|
+
line: 75,
|
|
33269
|
+
column: 53
|
|
33270
|
+
}
|
|
33271
|
+
},
|
|
33272
|
+
type: "binary-expr",
|
|
33273
|
+
locations: [{
|
|
33274
|
+
start: {
|
|
33275
|
+
line: 75,
|
|
33276
|
+
column: 6
|
|
33277
|
+
},
|
|
33278
|
+
end: {
|
|
33279
|
+
line: 75,
|
|
33280
|
+
column: 15
|
|
33281
|
+
}
|
|
33282
|
+
}, {
|
|
33283
|
+
start: {
|
|
33284
|
+
line: 75,
|
|
33285
|
+
column: 20
|
|
33286
|
+
},
|
|
33287
|
+
end: {
|
|
33288
|
+
line: 75,
|
|
33289
|
+
column: 30
|
|
33290
|
+
}
|
|
33291
|
+
}, {
|
|
33292
|
+
start: {
|
|
33293
|
+
line: 75,
|
|
33294
|
+
column: 34
|
|
33295
|
+
},
|
|
33296
|
+
end: {
|
|
33297
|
+
line: 75,
|
|
33298
|
+
column: 52
|
|
33299
|
+
}
|
|
33300
|
+
}],
|
|
33301
|
+
line: 75
|
|
33302
|
+
},
|
|
33303
|
+
"13": {
|
|
33304
|
+
loc: {
|
|
33305
|
+
start: {
|
|
33306
|
+
line: 98,
|
|
33307
|
+
column: 4
|
|
33308
|
+
},
|
|
33309
|
+
end: {
|
|
33310
|
+
line: 103,
|
|
33311
|
+
column: 5
|
|
32879
33312
|
}
|
|
32880
33313
|
},
|
|
32881
33314
|
type: "if",
|
|
32882
33315
|
locations: [{
|
|
32883
33316
|
start: {
|
|
32884
|
-
line:
|
|
32885
|
-
column:
|
|
33317
|
+
line: 98,
|
|
33318
|
+
column: 4
|
|
32886
33319
|
},
|
|
32887
33320
|
end: {
|
|
32888
|
-
line:
|
|
32889
|
-
column:
|
|
33321
|
+
line: 103,
|
|
33322
|
+
column: 5
|
|
32890
33323
|
}
|
|
32891
33324
|
}, {
|
|
32892
33325
|
start: {
|
|
@@ -32898,102 +33331,126 @@ function cov_2nbnnlcv5p() {
|
|
|
32898
33331
|
column: undefined
|
|
32899
33332
|
}
|
|
32900
33333
|
}],
|
|
32901
|
-
line:
|
|
33334
|
+
line: 98
|
|
32902
33335
|
},
|
|
32903
|
-
"
|
|
33336
|
+
"14": {
|
|
32904
33337
|
loc: {
|
|
32905
33338
|
start: {
|
|
32906
|
-
line:
|
|
32907
|
-
column:
|
|
33339
|
+
line: 107,
|
|
33340
|
+
column: 4
|
|
32908
33341
|
},
|
|
32909
33342
|
end: {
|
|
32910
|
-
line:
|
|
32911
|
-
column:
|
|
33343
|
+
line: 108,
|
|
33344
|
+
column: 61
|
|
32912
33345
|
}
|
|
32913
33346
|
},
|
|
32914
33347
|
type: "binary-expr",
|
|
32915
33348
|
locations: [{
|
|
32916
33349
|
start: {
|
|
32917
|
-
line:
|
|
32918
|
-
column:
|
|
33350
|
+
line: 107,
|
|
33351
|
+
column: 4
|
|
32919
33352
|
},
|
|
32920
33353
|
end: {
|
|
32921
|
-
line:
|
|
32922
|
-
column:
|
|
33354
|
+
line: 107,
|
|
33355
|
+
column: 23
|
|
32923
33356
|
}
|
|
32924
33357
|
}, {
|
|
32925
33358
|
start: {
|
|
32926
|
-
line:
|
|
32927
|
-
column:
|
|
33359
|
+
line: 108,
|
|
33360
|
+
column: 5
|
|
32928
33361
|
},
|
|
32929
33362
|
end: {
|
|
32930
|
-
line:
|
|
32931
|
-
column:
|
|
33363
|
+
line: 108,
|
|
33364
|
+
column: 60
|
|
33365
|
+
}
|
|
33366
|
+
}],
|
|
33367
|
+
line: 107
|
|
33368
|
+
},
|
|
33369
|
+
"15": {
|
|
33370
|
+
loc: {
|
|
33371
|
+
start: {
|
|
33372
|
+
line: 111,
|
|
33373
|
+
column: 4
|
|
33374
|
+
},
|
|
33375
|
+
end: {
|
|
33376
|
+
line: 111,
|
|
33377
|
+
column: 68
|
|
33378
|
+
}
|
|
33379
|
+
},
|
|
33380
|
+
type: "binary-expr",
|
|
33381
|
+
locations: [{
|
|
33382
|
+
start: {
|
|
33383
|
+
line: 111,
|
|
33384
|
+
column: 4
|
|
33385
|
+
},
|
|
33386
|
+
end: {
|
|
33387
|
+
line: 111,
|
|
33388
|
+
column: 19
|
|
32932
33389
|
}
|
|
32933
33390
|
}, {
|
|
32934
33391
|
start: {
|
|
32935
|
-
line:
|
|
32936
|
-
column:
|
|
33392
|
+
line: 111,
|
|
33393
|
+
column: 24
|
|
32937
33394
|
},
|
|
32938
33395
|
end: {
|
|
32939
|
-
line:
|
|
32940
|
-
column:
|
|
33396
|
+
line: 111,
|
|
33397
|
+
column: 67
|
|
32941
33398
|
}
|
|
32942
33399
|
}],
|
|
32943
|
-
line:
|
|
33400
|
+
line: 111
|
|
32944
33401
|
},
|
|
32945
|
-
"
|
|
33402
|
+
"16": {
|
|
32946
33403
|
loc: {
|
|
32947
33404
|
start: {
|
|
32948
|
-
line:
|
|
33405
|
+
line: 140,
|
|
32949
33406
|
column: 14
|
|
32950
33407
|
},
|
|
32951
33408
|
end: {
|
|
32952
|
-
line:
|
|
33409
|
+
line: 140,
|
|
32953
33410
|
column: 71
|
|
32954
33411
|
}
|
|
32955
33412
|
},
|
|
32956
33413
|
type: "cond-expr",
|
|
32957
33414
|
locations: [{
|
|
32958
33415
|
start: {
|
|
32959
|
-
line:
|
|
33416
|
+
line: 140,
|
|
32960
33417
|
column: 41
|
|
32961
33418
|
},
|
|
32962
33419
|
end: {
|
|
32963
|
-
line:
|
|
33420
|
+
line: 140,
|
|
32964
33421
|
column: 54
|
|
32965
33422
|
}
|
|
32966
33423
|
}, {
|
|
32967
33424
|
start: {
|
|
32968
|
-
line:
|
|
33425
|
+
line: 140,
|
|
32969
33426
|
column: 57
|
|
32970
33427
|
},
|
|
32971
33428
|
end: {
|
|
32972
|
-
line:
|
|
33429
|
+
line: 140,
|
|
32973
33430
|
column: 71
|
|
32974
33431
|
}
|
|
32975
33432
|
}],
|
|
32976
|
-
line:
|
|
33433
|
+
line: 140
|
|
32977
33434
|
},
|
|
32978
|
-
"
|
|
33435
|
+
"17": {
|
|
32979
33436
|
loc: {
|
|
32980
33437
|
start: {
|
|
32981
|
-
line:
|
|
33438
|
+
line: 144,
|
|
32982
33439
|
column: 14
|
|
32983
33440
|
},
|
|
32984
33441
|
end: {
|
|
32985
|
-
line:
|
|
33442
|
+
line: 146,
|
|
32986
33443
|
column: 15
|
|
32987
33444
|
}
|
|
32988
33445
|
},
|
|
32989
33446
|
type: "if",
|
|
32990
33447
|
locations: [{
|
|
32991
33448
|
start: {
|
|
32992
|
-
line:
|
|
33449
|
+
line: 144,
|
|
32993
33450
|
column: 14
|
|
32994
33451
|
},
|
|
32995
33452
|
end: {
|
|
32996
|
-
line:
|
|
33453
|
+
line: 146,
|
|
32997
33454
|
column: 15
|
|
32998
33455
|
}
|
|
32999
33456
|
}, {
|
|
@@ -33006,40 +33463,40 @@ function cov_2nbnnlcv5p() {
|
|
|
33006
33463
|
column: undefined
|
|
33007
33464
|
}
|
|
33008
33465
|
}],
|
|
33009
|
-
line:
|
|
33466
|
+
line: 144
|
|
33010
33467
|
},
|
|
33011
|
-
"
|
|
33468
|
+
"18": {
|
|
33012
33469
|
loc: {
|
|
33013
33470
|
start: {
|
|
33014
|
-
line:
|
|
33471
|
+
line: 151,
|
|
33015
33472
|
column: 7
|
|
33016
33473
|
},
|
|
33017
33474
|
end: {
|
|
33018
|
-
line:
|
|
33475
|
+
line: 155,
|
|
33019
33476
|
column: 7
|
|
33020
33477
|
}
|
|
33021
33478
|
},
|
|
33022
33479
|
type: "binary-expr",
|
|
33023
33480
|
locations: [{
|
|
33024
33481
|
start: {
|
|
33025
|
-
line:
|
|
33482
|
+
line: 151,
|
|
33026
33483
|
column: 7
|
|
33027
33484
|
},
|
|
33028
33485
|
end: {
|
|
33029
|
-
line:
|
|
33486
|
+
line: 151,
|
|
33030
33487
|
column: 25
|
|
33031
33488
|
}
|
|
33032
33489
|
}, {
|
|
33033
33490
|
start: {
|
|
33034
|
-
line:
|
|
33491
|
+
line: 152,
|
|
33035
33492
|
column: 8
|
|
33036
33493
|
},
|
|
33037
33494
|
end: {
|
|
33038
|
-
line:
|
|
33495
|
+
line: 154,
|
|
33039
33496
|
column: 14
|
|
33040
33497
|
}
|
|
33041
33498
|
}],
|
|
33042
|
-
line:
|
|
33499
|
+
line: 151
|
|
33043
33500
|
}
|
|
33044
33501
|
},
|
|
33045
33502
|
s: {
|
|
@@ -33062,7 +33519,11 @@ function cov_2nbnnlcv5p() {
|
|
|
33062
33519
|
"16": 0,
|
|
33063
33520
|
"17": 0,
|
|
33064
33521
|
"18": 0,
|
|
33065
|
-
"19": 0
|
|
33522
|
+
"19": 0,
|
|
33523
|
+
"20": 0,
|
|
33524
|
+
"21": 0,
|
|
33525
|
+
"22": 0,
|
|
33526
|
+
"23": 0
|
|
33066
33527
|
},
|
|
33067
33528
|
f: {
|
|
33068
33529
|
"0": 0,
|
|
@@ -33072,7 +33533,9 @@ function cov_2nbnnlcv5p() {
|
|
|
33072
33533
|
"4": 0,
|
|
33073
33534
|
"5": 0,
|
|
33074
33535
|
"6": 0,
|
|
33075
|
-
"7": 0
|
|
33536
|
+
"7": 0,
|
|
33537
|
+
"8": 0,
|
|
33538
|
+
"9": 0
|
|
33076
33539
|
},
|
|
33077
33540
|
b: {
|
|
33078
33541
|
"0": [0],
|
|
@@ -33087,14 +33550,16 @@ function cov_2nbnnlcv5p() {
|
|
|
33087
33550
|
"9": [0],
|
|
33088
33551
|
"10": [0],
|
|
33089
33552
|
"11": [0, 0],
|
|
33090
|
-
"12": [0, 0],
|
|
33091
|
-
"13": [0, 0
|
|
33553
|
+
"12": [0, 0, 0],
|
|
33554
|
+
"13": [0, 0],
|
|
33092
33555
|
"14": [0, 0],
|
|
33093
33556
|
"15": [0, 0],
|
|
33094
|
-
"16": [0, 0]
|
|
33557
|
+
"16": [0, 0],
|
|
33558
|
+
"17": [0, 0],
|
|
33559
|
+
"18": [0, 0]
|
|
33095
33560
|
},
|
|
33096
33561
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33097
|
-
hash: "
|
|
33562
|
+
hash: "3f91bb4f96e8987cc816d9501ef4ff5ac168630d"
|
|
33098
33563
|
};
|
|
33099
33564
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
33100
33565
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -33114,6 +33579,7 @@ function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
33114
33579
|
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; }
|
|
33115
33580
|
cov_2nbnnlcv5p().s[0]++;
|
|
33116
33581
|
var BuildForm = function BuildForm(_ref) {
|
|
33582
|
+
var _ref8, _ref9;
|
|
33117
33583
|
var id = _ref.id,
|
|
33118
33584
|
onUpdate = _ref.onUpdate,
|
|
33119
33585
|
buildRequestArgs = _ref.buildRequestArgs,
|
|
@@ -33134,6 +33600,8 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33134
33600
|
isKindAlreadyActive = _ref$isKindAlreadyAct === void 0 ? (cov_2nbnnlcv5p().b[5][0]++, isQuestionKindAlreadyActive) : _ref$isKindAlreadyAct,
|
|
33135
33601
|
_ref$getActiveKindDet = _ref.getActiveKindDetails,
|
|
33136
33602
|
getActiveKindDetails = _ref$getActiveKindDet === void 0 ? (cov_2nbnnlcv5p().b[6][0]++, getActiveQuestionKindDetails) : _ref$getActiveKindDet,
|
|
33603
|
+
isQuestionDeletable = _ref.isQuestionDeletable,
|
|
33604
|
+
isFieldRequired = _ref.isFieldRequired,
|
|
33137
33605
|
_ref$showLoader = _ref.showLoader,
|
|
33138
33606
|
showLoader = _ref$showLoader === void 0 ? (cov_2nbnnlcv5p().b[7][0]++, false) : _ref$showLoader,
|
|
33139
33607
|
_ref$kindUniqueOn = _ref.kindUniqueOn,
|
|
@@ -33189,9 +33657,19 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33189
33657
|
isQuestionsLoading = _ref6$data2.isQuestionsLoading,
|
|
33190
33658
|
isLoading = _ref6.isLoading;
|
|
33191
33659
|
cov_2nbnnlcv5p().s[8]++;
|
|
33660
|
+
if ((cov_2nbnnlcv5p().b[12][0]++, isLoading) || (cov_2nbnnlcv5p().b[12][1]++, showLoader) && (cov_2nbnnlcv5p().b[12][2]++, isQuestionsLoading)) {
|
|
33661
|
+
cov_2nbnnlcv5p().b[11][0]++;
|
|
33662
|
+
cov_2nbnnlcv5p().s[9]++;
|
|
33663
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
33664
|
+
className: "flex h-full w-full items-center justify-center py-6"
|
|
33665
|
+
}, /*#__PURE__*/React__default.createElement(PageLoader, null));
|
|
33666
|
+
} else {
|
|
33667
|
+
cov_2nbnnlcv5p().b[11][1]++;
|
|
33668
|
+
}
|
|
33669
|
+
cov_2nbnnlcv5p().s[10]++;
|
|
33192
33670
|
var handleSubmit = function handleSubmit(payload) {
|
|
33193
33671
|
cov_2nbnnlcv5p().f[4]++;
|
|
33194
|
-
cov_2nbnnlcv5p().s[
|
|
33672
|
+
cov_2nbnnlcv5p().s[11]++;
|
|
33195
33673
|
return updateQuestions({
|
|
33196
33674
|
id: id,
|
|
33197
33675
|
values: _objectSpread$8({
|
|
@@ -33199,31 +33677,32 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33199
33677
|
}, buildRequestArgs)
|
|
33200
33678
|
});
|
|
33201
33679
|
};
|
|
33202
|
-
cov_2nbnnlcv5p().s[
|
|
33680
|
+
cov_2nbnnlcv5p().s[12]++;
|
|
33203
33681
|
var onValueChange = function onValueChange(questions) {
|
|
33204
33682
|
cov_2nbnnlcv5p().f[5]++;
|
|
33205
|
-
var _ref7 = (cov_2nbnnlcv5p().s[
|
|
33683
|
+
var _ref7 = (cov_2nbnnlcv5p().s[13]++, queryClient.getQueryState([QUERY_KEYS.QUESTIONS, id])),
|
|
33206
33684
|
dataUpdateCount = _ref7.dataUpdateCount;
|
|
33207
|
-
cov_2nbnnlcv5p().s[
|
|
33685
|
+
cov_2nbnnlcv5p().s[14]++;
|
|
33208
33686
|
if (dataUpdateCount > 0) {
|
|
33209
|
-
cov_2nbnnlcv5p().b[
|
|
33210
|
-
cov_2nbnnlcv5p().s[
|
|
33687
|
+
cov_2nbnnlcv5p().b[13][0]++;
|
|
33688
|
+
cov_2nbnnlcv5p().s[15]++;
|
|
33211
33689
|
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], assoc("questions", questions));
|
|
33212
33690
|
} else {
|
|
33213
|
-
cov_2nbnnlcv5p().b[
|
|
33691
|
+
cov_2nbnnlcv5p().b[13][1]++;
|
|
33214
33692
|
}
|
|
33215
33693
|
};
|
|
33216
|
-
cov_2nbnnlcv5p().s[14]
|
|
33217
|
-
|
|
33218
|
-
cov_2nbnnlcv5p().
|
|
33219
|
-
|
|
33220
|
-
|
|
33221
|
-
|
|
33222
|
-
|
|
33223
|
-
|
|
33224
|
-
cov_2nbnnlcv5p().
|
|
33225
|
-
|
|
33226
|
-
|
|
33694
|
+
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) {
|
|
33695
|
+
cov_2nbnnlcv5p().f[6]++;
|
|
33696
|
+
cov_2nbnnlcv5p().s[17]++;
|
|
33697
|
+
return !nonRemovableFields.includes(question.kind);
|
|
33698
|
+
}));
|
|
33699
|
+
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) {
|
|
33700
|
+
var kind = _ref10.kind;
|
|
33701
|
+
cov_2nbnnlcv5p().f[7]++;
|
|
33702
|
+
cov_2nbnnlcv5p().s[19]++;
|
|
33703
|
+
return requiredFields.includes(kind);
|
|
33704
|
+
}));
|
|
33705
|
+
cov_2nbnnlcv5p().s[20]++;
|
|
33227
33706
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
33228
33707
|
className: "relative"
|
|
33229
33708
|
}, /*#__PURE__*/React__default.createElement(Formik, {
|
|
@@ -33235,38 +33714,38 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
33235
33714
|
questions: questions
|
|
33236
33715
|
},
|
|
33237
33716
|
onSubmit: handleSubmit
|
|
33238
|
-
}, function (
|
|
33239
|
-
var errors =
|
|
33240
|
-
setFieldError =
|
|
33241
|
-
cov_2nbnnlcv5p().f[
|
|
33242
|
-
cov_2nbnnlcv5p().s[
|
|
33717
|
+
}, function (_ref11) {
|
|
33718
|
+
var errors = _ref11.errors,
|
|
33719
|
+
setFieldError = _ref11.setFieldError;
|
|
33720
|
+
cov_2nbnnlcv5p().f[8]++;
|
|
33721
|
+
cov_2nbnnlcv5p().s[21]++;
|
|
33243
33722
|
return /*#__PURE__*/React__default.createElement(Form, _extends$9({}, formDomProps, {
|
|
33244
33723
|
cancelButtonProps: cancelButtonProps,
|
|
33245
33724
|
formId: id,
|
|
33246
33725
|
getActiveKindDetails: getActiveKindDetails,
|
|
33726
|
+
isDeletable: isDeletable,
|
|
33247
33727
|
isKindAlreadyActive: isKindAlreadyActive,
|
|
33728
|
+
isRequiredField: isRequiredField,
|
|
33248
33729
|
kindUniqueOn: kindUniqueOn,
|
|
33249
|
-
nonRemovableFields: nonRemovableFields,
|
|
33250
|
-
requiredFields: requiredFields,
|
|
33251
33730
|
setShouldValidate: setShouldValidateForm,
|
|
33252
33731
|
showActionBlock: showActionBlock,
|
|
33253
33732
|
showAddQuestionDivider: showAddQuestionDivider,
|
|
33254
33733
|
submitButtonProps: submitButtonProps,
|
|
33255
|
-
questionKinds: isPresent(questionKinds) ? (cov_2nbnnlcv5p().b[
|
|
33734
|
+
questionKinds: isPresent(questionKinds) ? (cov_2nbnnlcv5p().b[16][0]++, questionKinds) : (cov_2nbnnlcv5p().b[16][1]++, QUESTION_KINDS),
|
|
33256
33735
|
onValueChange: onValueChange,
|
|
33257
33736
|
onChange: function onChange(event) {
|
|
33258
|
-
cov_2nbnnlcv5p().f[
|
|
33259
|
-
cov_2nbnnlcv5p().s[
|
|
33737
|
+
cov_2nbnnlcv5p().f[9]++;
|
|
33738
|
+
cov_2nbnnlcv5p().s[22]++;
|
|
33260
33739
|
if (!isEmpty(errors)) {
|
|
33261
|
-
cov_2nbnnlcv5p().b[
|
|
33262
|
-
cov_2nbnnlcv5p().s[
|
|
33740
|
+
cov_2nbnnlcv5p().b[17][0]++;
|
|
33741
|
+
cov_2nbnnlcv5p().s[23]++;
|
|
33263
33742
|
setFieldError(event.target.name);
|
|
33264
33743
|
} else {
|
|
33265
|
-
cov_2nbnnlcv5p().b[
|
|
33744
|
+
cov_2nbnnlcv5p().b[17][1]++;
|
|
33266
33745
|
}
|
|
33267
33746
|
}
|
|
33268
33747
|
}));
|
|
33269
|
-
}), (cov_2nbnnlcv5p().b[
|
|
33748
|
+
}), (cov_2nbnnlcv5p().b[18][0]++, isQuestionsLoading) && (cov_2nbnnlcv5p().b[18][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
33270
33749
|
className: "neeto-ui-bg-gray-100 absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center opacity-75"
|
|
33271
33750
|
}, /*#__PURE__*/React__default.createElement(PageLoader, null))));
|
|
33272
33751
|
};
|
|
@@ -46022,7 +46501,7 @@ cov_1zuybttr1q().s[8]++;
|
|
|
46022
46501
|
var _ref7;
|
|
46023
46502
|
function cov_1y9t6ere98() {
|
|
46024
46503
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/validations.js";
|
|
46025
|
-
var hash = "
|
|
46504
|
+
var hash = "caddab36f5d99d8486ee83ca1f16c9afcc3b5825";
|
|
46026
46505
|
var global = new Function("return this")();
|
|
46027
46506
|
var gcv = "__coverage__";
|
|
46028
46507
|
var coverageData = {
|
|
@@ -46374,7 +46853,7 @@ function cov_1y9t6ere98() {
|
|
|
46374
46853
|
column: 26
|
|
46375
46854
|
},
|
|
46376
46855
|
end: {
|
|
46377
|
-
line:
|
|
46856
|
+
line: 82,
|
|
46378
46857
|
column: 1
|
|
46379
46858
|
}
|
|
46380
46859
|
},
|
|
@@ -46385,7 +46864,7 @@ function cov_1y9t6ere98() {
|
|
|
46385
46864
|
},
|
|
46386
46865
|
end: {
|
|
46387
46866
|
line: 73,
|
|
46388
|
-
column:
|
|
46867
|
+
column: 50
|
|
46389
46868
|
}
|
|
46390
46869
|
},
|
|
46391
46870
|
"36": {
|
|
@@ -46394,137 +46873,137 @@ function cov_1y9t6ere98() {
|
|
|
46394
46873
|
column: 2
|
|
46395
46874
|
},
|
|
46396
46875
|
end: {
|
|
46397
|
-
line:
|
|
46398
|
-
column:
|
|
46876
|
+
line: 79,
|
|
46877
|
+
column: 3
|
|
46399
46878
|
}
|
|
46400
46879
|
},
|
|
46401
46880
|
"37": {
|
|
46402
46881
|
start: {
|
|
46403
|
-
line:
|
|
46404
|
-
column:
|
|
46882
|
+
line: 75,
|
|
46883
|
+
column: 4
|
|
46405
46884
|
},
|
|
46406
46885
|
end: {
|
|
46407
|
-
line:
|
|
46408
|
-
column:
|
|
46886
|
+
line: 78,
|
|
46887
|
+
column: 46
|
|
46409
46888
|
}
|
|
46410
46889
|
},
|
|
46411
46890
|
"38": {
|
|
46412
46891
|
start: {
|
|
46413
|
-
line:
|
|
46892
|
+
line: 81,
|
|
46414
46893
|
column: 2
|
|
46415
46894
|
},
|
|
46416
46895
|
end: {
|
|
46417
|
-
line:
|
|
46896
|
+
line: 81,
|
|
46418
46897
|
column: 16
|
|
46419
46898
|
}
|
|
46420
46899
|
},
|
|
46421
46900
|
"39": {
|
|
46422
46901
|
start: {
|
|
46423
|
-
line:
|
|
46902
|
+
line: 84,
|
|
46424
46903
|
column: 30
|
|
46425
46904
|
},
|
|
46426
46905
|
end: {
|
|
46427
|
-
line:
|
|
46906
|
+
line: 97,
|
|
46428
46907
|
column: 1
|
|
46429
46908
|
}
|
|
46430
46909
|
},
|
|
46431
46910
|
"40": {
|
|
46432
46911
|
start: {
|
|
46433
|
-
line:
|
|
46912
|
+
line: 100,
|
|
46434
46913
|
column: 2
|
|
46435
46914
|
},
|
|
46436
46915
|
end: {
|
|
46437
|
-
line:
|
|
46916
|
+
line: 117,
|
|
46438
46917
|
column: 3
|
|
46439
46918
|
}
|
|
46440
46919
|
},
|
|
46441
46920
|
"41": {
|
|
46442
46921
|
start: {
|
|
46443
|
-
line:
|
|
46922
|
+
line: 102,
|
|
46444
46923
|
column: 2
|
|
46445
46924
|
},
|
|
46446
46925
|
end: {
|
|
46447
|
-
line:
|
|
46926
|
+
line: 117,
|
|
46448
46927
|
column: 3
|
|
46449
46928
|
}
|
|
46450
46929
|
},
|
|
46451
46930
|
"42": {
|
|
46452
46931
|
start: {
|
|
46453
|
-
line:
|
|
46932
|
+
line: 103,
|
|
46454
46933
|
column: 4
|
|
46455
46934
|
},
|
|
46456
46935
|
end: {
|
|
46457
|
-
line:
|
|
46936
|
+
line: 116,
|
|
46458
46937
|
column: 5
|
|
46459
46938
|
}
|
|
46460
46939
|
},
|
|
46461
46940
|
"43": {
|
|
46462
46941
|
start: {
|
|
46463
|
-
line:
|
|
46942
|
+
line: 104,
|
|
46464
46943
|
column: 24
|
|
46465
46944
|
},
|
|
46466
46945
|
end: {
|
|
46467
|
-
line:
|
|
46946
|
+
line: 104,
|
|
46468
46947
|
column: 51
|
|
46469
46948
|
}
|
|
46470
46949
|
},
|
|
46471
46950
|
"44": {
|
|
46472
46951
|
start: {
|
|
46473
|
-
line:
|
|
46952
|
+
line: 105,
|
|
46474
46953
|
column: 21
|
|
46475
46954
|
},
|
|
46476
46955
|
end: {
|
|
46477
|
-
line:
|
|
46956
|
+
line: 105,
|
|
46478
46957
|
column: 59
|
|
46479
46958
|
}
|
|
46480
46959
|
},
|
|
46481
46960
|
"45": {
|
|
46482
46961
|
start: {
|
|
46483
|
-
line:
|
|
46962
|
+
line: 108,
|
|
46484
46963
|
column: 6
|
|
46485
46964
|
},
|
|
46486
46965
|
end: {
|
|
46487
|
-
line:
|
|
46966
|
+
line: 115,
|
|
46488
46967
|
column: 9
|
|
46489
46968
|
}
|
|
46490
46969
|
},
|
|
46491
46970
|
"46": {
|
|
46492
46971
|
start: {
|
|
46493
|
-
line:
|
|
46972
|
+
line: 109,
|
|
46494
46973
|
column: 8
|
|
46495
46974
|
},
|
|
46496
46975
|
end: {
|
|
46497
|
-
line:
|
|
46976
|
+
line: 114,
|
|
46498
46977
|
column: 9
|
|
46499
46978
|
}
|
|
46500
46979
|
},
|
|
46501
46980
|
"47": {
|
|
46502
46981
|
start: {
|
|
46503
|
-
line:
|
|
46982
|
+
line: 110,
|
|
46504
46983
|
column: 10
|
|
46505
46984
|
},
|
|
46506
46985
|
end: {
|
|
46507
|
-
line:
|
|
46986
|
+
line: 110,
|
|
46508
46987
|
column: 39
|
|
46509
46988
|
}
|
|
46510
46989
|
},
|
|
46511
46990
|
"48": {
|
|
46512
46991
|
start: {
|
|
46513
|
-
line:
|
|
46992
|
+
line: 111,
|
|
46514
46993
|
column: 10
|
|
46515
46994
|
},
|
|
46516
46995
|
end: {
|
|
46517
|
-
line:
|
|
46996
|
+
line: 111,
|
|
46518
46997
|
column: 29
|
|
46519
46998
|
}
|
|
46520
46999
|
},
|
|
46521
47000
|
"49": {
|
|
46522
47001
|
start: {
|
|
46523
|
-
line:
|
|
47002
|
+
line: 113,
|
|
46524
47003
|
column: 10
|
|
46525
47004
|
},
|
|
46526
47005
|
end: {
|
|
46527
|
-
line:
|
|
47006
|
+
line: 113,
|
|
46528
47007
|
column: 31
|
|
46529
47008
|
}
|
|
46530
47009
|
}
|
|
@@ -46716,7 +47195,7 @@ function cov_1y9t6ere98() {
|
|
|
46716
47195
|
column: 53
|
|
46717
47196
|
},
|
|
46718
47197
|
end: {
|
|
46719
|
-
line:
|
|
47198
|
+
line: 82,
|
|
46720
47199
|
column: 1
|
|
46721
47200
|
}
|
|
46722
47201
|
},
|
|
@@ -46726,73 +47205,73 @@ function cov_1y9t6ere98() {
|
|
|
46726
47205
|
name: "(anonymous_8)",
|
|
46727
47206
|
decl: {
|
|
46728
47207
|
start: {
|
|
46729
|
-
line:
|
|
47208
|
+
line: 100,
|
|
46730
47209
|
column: 2
|
|
46731
47210
|
},
|
|
46732
47211
|
end: {
|
|
46733
|
-
line:
|
|
47212
|
+
line: 100,
|
|
46734
47213
|
column: 3
|
|
46735
47214
|
}
|
|
46736
47215
|
},
|
|
46737
47216
|
loc: {
|
|
46738
47217
|
start: {
|
|
46739
|
-
line:
|
|
47218
|
+
line: 102,
|
|
46740
47219
|
column: 2
|
|
46741
47220
|
},
|
|
46742
47221
|
end: {
|
|
46743
|
-
line:
|
|
47222
|
+
line: 117,
|
|
46744
47223
|
column: 3
|
|
46745
47224
|
}
|
|
46746
47225
|
},
|
|
46747
|
-
line:
|
|
47226
|
+
line: 102
|
|
46748
47227
|
},
|
|
46749
47228
|
"9": {
|
|
46750
47229
|
name: "(anonymous_9)",
|
|
46751
47230
|
decl: {
|
|
46752
47231
|
start: {
|
|
46753
|
-
line:
|
|
47232
|
+
line: 102,
|
|
46754
47233
|
column: 2
|
|
46755
47234
|
},
|
|
46756
47235
|
end: {
|
|
46757
|
-
line:
|
|
47236
|
+
line: 102,
|
|
46758
47237
|
column: 3
|
|
46759
47238
|
}
|
|
46760
47239
|
},
|
|
46761
47240
|
loc: {
|
|
46762
47241
|
start: {
|
|
46763
|
-
line:
|
|
47242
|
+
line: 102,
|
|
46764
47243
|
column: 11
|
|
46765
47244
|
},
|
|
46766
47245
|
end: {
|
|
46767
|
-
line:
|
|
47246
|
+
line: 117,
|
|
46768
47247
|
column: 3
|
|
46769
47248
|
}
|
|
46770
47249
|
},
|
|
46771
|
-
line:
|
|
47250
|
+
line: 102
|
|
46772
47251
|
},
|
|
46773
47252
|
"10": {
|
|
46774
47253
|
name: "(anonymous_10)",
|
|
46775
47254
|
decl: {
|
|
46776
47255
|
start: {
|
|
46777
|
-
line:
|
|
47256
|
+
line: 108,
|
|
46778
47257
|
column: 25
|
|
46779
47258
|
},
|
|
46780
47259
|
end: {
|
|
46781
|
-
line:
|
|
47260
|
+
line: 108,
|
|
46782
47261
|
column: 26
|
|
46783
47262
|
}
|
|
46784
47263
|
},
|
|
46785
47264
|
loc: {
|
|
46786
47265
|
start: {
|
|
46787
|
-
line:
|
|
47266
|
+
line: 108,
|
|
46788
47267
|
column: 42
|
|
46789
47268
|
},
|
|
46790
47269
|
end: {
|
|
46791
|
-
line:
|
|
47270
|
+
line: 115,
|
|
46792
47271
|
column: 7
|
|
46793
47272
|
}
|
|
46794
47273
|
},
|
|
46795
|
-
line:
|
|
47274
|
+
line: 108
|
|
46796
47275
|
}
|
|
46797
47276
|
},
|
|
46798
47277
|
branchMap: {
|
|
@@ -47067,8 +47546,8 @@ function cov_1y9t6ere98() {
|
|
|
47067
47546
|
column: 2
|
|
47068
47547
|
},
|
|
47069
47548
|
end: {
|
|
47070
|
-
line:
|
|
47071
|
-
column:
|
|
47549
|
+
line: 79,
|
|
47550
|
+
column: 3
|
|
47072
47551
|
}
|
|
47073
47552
|
},
|
|
47074
47553
|
type: "if",
|
|
@@ -47078,8 +47557,8 @@ function cov_1y9t6ere98() {
|
|
|
47078
47557
|
column: 2
|
|
47079
47558
|
},
|
|
47080
47559
|
end: {
|
|
47081
|
-
line:
|
|
47082
|
-
column:
|
|
47560
|
+
line: 79,
|
|
47561
|
+
column: 3
|
|
47083
47562
|
}
|
|
47084
47563
|
}, {
|
|
47085
47564
|
start: {
|
|
@@ -47096,22 +47575,22 @@ function cov_1y9t6ere98() {
|
|
|
47096
47575
|
"9": {
|
|
47097
47576
|
loc: {
|
|
47098
47577
|
start: {
|
|
47099
|
-
line:
|
|
47578
|
+
line: 103,
|
|
47100
47579
|
column: 4
|
|
47101
47580
|
},
|
|
47102
47581
|
end: {
|
|
47103
|
-
line:
|
|
47582
|
+
line: 116,
|
|
47104
47583
|
column: 5
|
|
47105
47584
|
}
|
|
47106
47585
|
},
|
|
47107
47586
|
type: "if",
|
|
47108
47587
|
locations: [{
|
|
47109
47588
|
start: {
|
|
47110
|
-
line:
|
|
47589
|
+
line: 103,
|
|
47111
47590
|
column: 4
|
|
47112
47591
|
},
|
|
47113
47592
|
end: {
|
|
47114
|
-
line:
|
|
47593
|
+
line: 116,
|
|
47115
47594
|
column: 5
|
|
47116
47595
|
}
|
|
47117
47596
|
}, {
|
|
@@ -47124,7 +47603,7 @@ function cov_1y9t6ere98() {
|
|
|
47124
47603
|
column: undefined
|
|
47125
47604
|
}
|
|
47126
47605
|
}],
|
|
47127
|
-
line:
|
|
47606
|
+
line: 103
|
|
47128
47607
|
}
|
|
47129
47608
|
},
|
|
47130
47609
|
s: {
|
|
@@ -47205,7 +47684,7 @@ function cov_1y9t6ere98() {
|
|
|
47205
47684
|
"9": [0, 0]
|
|
47206
47685
|
},
|
|
47207
47686
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
47208
|
-
hash: "
|
|
47687
|
+
hash: "caddab36f5d99d8486ee83ca1f16c9afcc3b5825"
|
|
47209
47688
|
};
|
|
47210
47689
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
47211
47690
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -47341,12 +47820,12 @@ var validateDateField = function validateDateField(_ref6) {
|
|
|
47341
47820
|
var label = _ref6.label,
|
|
47342
47821
|
isRequired = _ref6.isRequired;
|
|
47343
47822
|
cov_1y9t6ere98().f[7]++;
|
|
47344
|
-
var schema = (cov_1y9t6ere98().s[35]++, yup.date().typeError(
|
|
47823
|
+
var schema = (cov_1y9t6ere98().s[35]++, yup.date().typeError("").nullable());
|
|
47345
47824
|
cov_1y9t6ere98().s[36]++;
|
|
47346
47825
|
if (isRequired) {
|
|
47347
47826
|
cov_1y9t6ere98().b[8][0]++;
|
|
47348
47827
|
cov_1y9t6ere98().s[37]++;
|
|
47349
|
-
schema =
|
|
47828
|
+
schema = yup.date().typeError(getInvalidTypeError(label, "date")).required(getRequiredFieldError(label));
|
|
47350
47829
|
} else {
|
|
47351
47830
|
cov_1y9t6ere98().b[8][1]++;
|
|
47352
47831
|
}
|
|
@@ -65251,7 +65730,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
|
|
|
65251
65730
|
|
|
65252
65731
|
function cov_29xlle89ll() {
|
|
65253
65732
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
|
|
65254
|
-
var hash = "
|
|
65733
|
+
var hash = "4cf87e1b1fcaee8e7e2e1f269b349130d14d288a";
|
|
65255
65734
|
var global = new Function("return this")();
|
|
65256
65735
|
var gcv = "__coverage__";
|
|
65257
65736
|
var coverageData = {
|
|
@@ -65597,7 +66076,7 @@ function cov_29xlle89ll() {
|
|
|
65597
66076
|
},
|
|
65598
66077
|
end: {
|
|
65599
66078
|
line: 49,
|
|
65600
|
-
column:
|
|
66079
|
+
column: 72
|
|
65601
66080
|
}
|
|
65602
66081
|
},
|
|
65603
66082
|
type: "cond-expr",
|
|
@@ -65608,16 +66087,49 @@ function cov_29xlle89ll() {
|
|
|
65608
66087
|
},
|
|
65609
66088
|
end: {
|
|
65610
66089
|
line: 49,
|
|
65611
|
-
column:
|
|
66090
|
+
column: 64
|
|
65612
66091
|
}
|
|
65613
66092
|
}, {
|
|
65614
66093
|
start: {
|
|
65615
66094
|
line: 49,
|
|
65616
|
-
column:
|
|
66095
|
+
column: 67
|
|
65617
66096
|
},
|
|
65618
66097
|
end: {
|
|
65619
66098
|
line: 49,
|
|
65620
|
-
column:
|
|
66099
|
+
column: 72
|
|
66100
|
+
}
|
|
66101
|
+
}],
|
|
66102
|
+
line: 49
|
|
66103
|
+
},
|
|
66104
|
+
"9": {
|
|
66105
|
+
loc: {
|
|
66106
|
+
start: {
|
|
66107
|
+
line: 49,
|
|
66108
|
+
column: 33
|
|
66109
|
+
},
|
|
66110
|
+
end: {
|
|
66111
|
+
line: 49,
|
|
66112
|
+
column: 64
|
|
66113
|
+
}
|
|
66114
|
+
},
|
|
66115
|
+
type: "binary-expr",
|
|
66116
|
+
locations: [{
|
|
66117
|
+
start: {
|
|
66118
|
+
line: 49,
|
|
66119
|
+
column: 33
|
|
66120
|
+
},
|
|
66121
|
+
end: {
|
|
66122
|
+
line: 49,
|
|
66123
|
+
column: 38
|
|
66124
|
+
}
|
|
66125
|
+
}, {
|
|
66126
|
+
start: {
|
|
66127
|
+
line: 49,
|
|
66128
|
+
column: 42
|
|
66129
|
+
},
|
|
66130
|
+
end: {
|
|
66131
|
+
line: 49,
|
|
66132
|
+
column: 64
|
|
65621
66133
|
}
|
|
65622
66134
|
}],
|
|
65623
66135
|
line: 49
|
|
@@ -65645,10 +66157,11 @@ function cov_29xlle89ll() {
|
|
|
65645
66157
|
"5": [0],
|
|
65646
66158
|
"6": [0, 0],
|
|
65647
66159
|
"7": [0, 0],
|
|
65648
|
-
"8": [0, 0]
|
|
66160
|
+
"8": [0, 0],
|
|
66161
|
+
"9": [0, 0]
|
|
65649
66162
|
},
|
|
65650
66163
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
65651
|
-
hash: "
|
|
66164
|
+
hash: "4cf87e1b1fcaee8e7e2e1f269b349130d14d288a"
|
|
65652
66165
|
};
|
|
65653
66166
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
65654
66167
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -65718,7 +66231,7 @@ var Submission = function Submission(_ref) {
|
|
|
65718
66231
|
weight: "semibold"
|
|
65719
66232
|
}, answerProps), /*#__PURE__*/React__default.createElement(_default, {
|
|
65720
66233
|
componentDecorator: linkifyDecorator
|
|
65721
|
-
}, kind === "date" ? (cov_29xlle89ll().b[8][0]++, dateFormat.date(value)) : (cov_29xlle89ll().b[8][1]++, value))));
|
|
66234
|
+
}, kind === "date" ? (cov_29xlle89ll().b[8][0]++, (cov_29xlle89ll().b[9][0]++, value) && (cov_29xlle89ll().b[9][1]++, dateFormat.date(value))) : (cov_29xlle89ll().b[8][1]++, value))));
|
|
65722
66235
|
}));
|
|
65723
66236
|
};
|
|
65724
66237
|
|