@bigbinary/neeto-form-frontend 1.0.33 → 1.0.34

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/dist/index.cjs.js CHANGED
@@ -18,6 +18,7 @@ var classnames = require('classnames');
18
18
  var neetoEditor = require('@bigbinary/neeto-editor');
19
19
  var yup = require('yup');
20
20
  var dayjs$1 = require('dayjs');
21
+ var PhoneNumber$1 = require('neetomolecules/PhoneNumber');
21
22
  var require$$4 = require('dayjs/plugin/localeData');
22
23
  var utc = require('dayjs/plugin/utc');
23
24
  var require$$3 = require('dayjs/plugin/weekday');
@@ -56183,7 +56184,7 @@ cov_1zuybttr1q().s[8]++;
56183
56184
  var _ref9;
56184
56185
  function cov_1y9t6ere98() {
56185
56186
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/validations.js";
56186
- var hash = "b59238b6ae64f35dcc890e00c70686770cc5bc64";
56187
+ var hash = "5058ac8f69b60910b7f697db1676d1362d5aef65";
56187
56188
  var global = new Function("return this")();
56188
56189
  var gcv = "__coverage__";
56189
56190
  var coverageData = {
@@ -56191,621 +56192,601 @@ function cov_1y9t6ere98() {
56191
56192
  statementMap: {
56192
56193
  "0": {
56193
56194
  start: {
56194
- line: 17,
56195
- column: 28
56196
- },
56197
- end: {
56198
- line: 18,
56199
- column: 63
56200
- }
56201
- },
56202
- "1": {
56203
- start: {
56204
- line: 18,
56205
- column: 2
56206
- },
56207
- end: {
56208
- line: 18,
56209
- column: 63
56210
- }
56211
- },
56212
- "2": {
56213
- start: {
56214
- line: 20,
56195
+ line: 16,
56215
56196
  column: 26
56216
56197
  },
56217
56198
  end: {
56218
- line: 35,
56199
+ line: 29,
56219
56200
  column: 1
56220
56201
  }
56221
56202
  },
56222
- "3": {
56203
+ "1": {
56223
56204
  start: {
56224
- line: 21,
56205
+ line: 17,
56225
56206
  column: 15
56226
56207
  },
56227
56208
  end: {
56228
- line: 21,
56209
+ line: 17,
56229
56210
  column: 75
56230
56211
  }
56231
56212
  },
56232
- "4": {
56213
+ "2": {
56233
56214
  start: {
56234
- line: 22,
56215
+ line: 18,
56235
56216
  column: 2
56236
56217
  },
56237
56218
  end: {
56238
- line: 30,
56219
+ line: 24,
56239
56220
  column: 3
56240
56221
  }
56241
56222
  },
56242
- "5": {
56223
+ "3": {
56243
56224
  start: {
56244
- line: 23,
56225
+ line: 19,
56245
56226
  column: 4
56246
56227
  },
56247
56228
  end: {
56248
- line: 23,
56229
+ line: 19,
56249
56230
  column: 57
56250
56231
  }
56251
56232
  },
56252
- "6": {
56233
+ "4": {
56253
56234
  start: {
56254
- line: 24,
56235
+ line: 20,
56255
56236
  column: 9
56256
56237
  },
56257
56238
  end: {
56258
- line: 30,
56239
+ line: 24,
56259
56240
  column: 3
56260
56241
  }
56261
56242
  },
56262
- "7": {
56243
+ "5": {
56263
56244
  start: {
56264
- line: 25,
56245
+ line: 21,
56265
56246
  column: 4
56266
56247
  },
56267
56248
  end: {
56268
- line: 29,
56249
+ line: 23,
56269
56250
  column: 6
56270
56251
  }
56271
56252
  },
56272
- "8": {
56253
+ "6": {
56273
56254
  start: {
56274
- line: 32,
56255
+ line: 26,
56275
56256
  column: 2
56276
56257
  },
56277
56258
  end: {
56278
- line: 32,
56259
+ line: 26,
56279
56260
  column: 80
56280
56261
  }
56281
56262
  },
56282
- "9": {
56263
+ "7": {
56283
56264
  start: {
56284
- line: 32,
56265
+ line: 26,
56285
56266
  column: 18
56286
56267
  },
56287
56268
  end: {
56288
- line: 32,
56269
+ line: 26,
56289
56270
  column: 80
56290
56271
  }
56291
56272
  },
56292
- "10": {
56273
+ "8": {
56293
56274
  start: {
56294
- line: 34,
56275
+ line: 28,
56295
56276
  column: 2
56296
56277
  },
56297
56278
  end: {
56298
- line: 34,
56279
+ line: 28,
56299
56280
  column: 16
56300
56281
  }
56301
56282
  },
56302
- "11": {
56283
+ "9": {
56303
56284
  start: {
56304
- line: 37,
56285
+ line: 31,
56305
56286
  column: 34
56306
56287
  },
56307
56288
  end: {
56308
- line: 42,
56289
+ line: 36,
56309
56290
  column: 1
56310
56291
  }
56311
56292
  },
56312
- "12": {
56293
+ "10": {
56313
56294
  start: {
56314
- line: 38,
56295
+ line: 32,
56315
56296
  column: 15
56316
56297
  },
56317
56298
  end: {
56318
- line: 38,
56299
+ line: 32,
56319
56300
  column: 75
56320
56301
  }
56321
56302
  },
56322
- "13": {
56303
+ "11": {
56323
56304
  start: {
56324
- line: 39,
56305
+ line: 33,
56325
56306
  column: 2
56326
56307
  },
56327
56308
  end: {
56328
- line: 39,
56309
+ line: 33,
56329
56310
  column: 68
56330
56311
  }
56331
56312
  },
56332
- "14": {
56313
+ "12": {
56333
56314
  start: {
56334
- line: 39,
56315
+ line: 33,
56335
56316
  column: 18
56336
56317
  },
56337
56318
  end: {
56338
- line: 39,
56319
+ line: 33,
56339
56320
  column: 68
56340
56321
  }
56341
56322
  },
56342
- "15": {
56323
+ "13": {
56343
56324
  start: {
56344
- line: 41,
56325
+ line: 35,
56345
56326
  column: 2
56346
56327
  },
56347
56328
  end: {
56348
- line: 41,
56329
+ line: 35,
56349
56330
  column: 16
56350
56331
  }
56351
56332
  },
56352
- "16": {
56333
+ "14": {
56353
56334
  start: {
56354
- line: 44,
56335
+ line: 38,
56355
56336
  column: 33
56356
56337
  },
56357
56338
  end: {
56358
- line: 49,
56339
+ line: 43,
56359
56340
  column: 1
56360
56341
  }
56361
56342
  },
56362
- "17": {
56343
+ "15": {
56363
56344
  start: {
56364
- line: 45,
56345
+ line: 39,
56365
56346
  column: 15
56366
56347
  },
56367
56348
  end: {
56368
- line: 45,
56349
+ line: 39,
56369
56350
  column: 44
56370
56351
  }
56371
56352
  },
56372
- "18": {
56353
+ "16": {
56373
56354
  start: {
56374
- line: 46,
56355
+ line: 40,
56375
56356
  column: 2
56376
56357
  },
56377
56358
  end: {
56378
- line: 46,
56359
+ line: 40,
56379
56360
  column: 76
56380
56361
  }
56381
56362
  },
56382
- "19": {
56363
+ "17": {
56383
56364
  start: {
56384
- line: 46,
56365
+ line: 40,
56385
56366
  column: 18
56386
56367
  },
56387
56368
  end: {
56388
- line: 46,
56369
+ line: 40,
56389
56370
  column: 76
56390
56371
  }
56391
56372
  },
56392
- "20": {
56373
+ "18": {
56393
56374
  start: {
56394
- line: 48,
56375
+ line: 42,
56395
56376
  column: 2
56396
56377
  },
56397
56378
  end: {
56398
- line: 48,
56379
+ line: 42,
56399
56380
  column: 16
56400
56381
  }
56401
56382
  },
56402
- "21": {
56383
+ "19": {
56403
56384
  start: {
56404
- line: 51,
56385
+ line: 45,
56405
56386
  column: 28
56406
56387
  },
56407
56388
  end: {
56408
- line: 56,
56389
+ line: 50,
56409
56390
  column: 1
56410
56391
  }
56411
56392
  },
56412
- "22": {
56393
+ "20": {
56413
56394
  start: {
56414
- line: 52,
56395
+ line: 46,
56415
56396
  column: 15
56416
56397
  },
56417
56398
  end: {
56418
- line: 52,
56399
+ line: 46,
56419
56400
  column: 75
56420
56401
  }
56421
56402
  },
56422
- "23": {
56403
+ "21": {
56423
56404
  start: {
56424
- line: 53,
56405
+ line: 47,
56425
56406
  column: 2
56426
56407
  },
56427
56408
  end: {
56428
- line: 53,
56409
+ line: 47,
56429
56410
  column: 68
56430
56411
  }
56431
56412
  },
56432
- "24": {
56413
+ "22": {
56433
56414
  start: {
56434
- line: 53,
56415
+ line: 47,
56435
56416
  column: 18
56436
56417
  },
56437
56418
  end: {
56438
- line: 53,
56419
+ line: 47,
56439
56420
  column: 68
56440
56421
  }
56441
56422
  },
56442
- "25": {
56423
+ "23": {
56443
56424
  start: {
56444
- line: 55,
56425
+ line: 49,
56445
56426
  column: 2
56446
56427
  },
56447
56428
  end: {
56448
- line: 55,
56429
+ line: 49,
56449
56430
  column: 16
56450
56431
  }
56451
56432
  },
56452
- "26": {
56433
+ "24": {
56453
56434
  start: {
56454
- line: 58,
56435
+ line: 52,
56455
56436
  column: 32
56456
56437
  },
56457
56438
  end: {
56458
- line: 63,
56439
+ line: 57,
56459
56440
  column: 1
56460
56441
  }
56461
56442
  },
56462
- "27": {
56443
+ "25": {
56463
56444
  start: {
56464
- line: 59,
56445
+ line: 53,
56465
56446
  column: 15
56466
56447
  },
56467
56448
  end: {
56468
- line: 59,
56449
+ line: 53,
56469
56450
  column: 75
56470
56451
  }
56471
56452
  },
56472
- "28": {
56453
+ "26": {
56473
56454
  start: {
56474
- line: 60,
56455
+ line: 54,
56475
56456
  column: 2
56476
56457
  },
56477
56458
  end: {
56478
- line: 60,
56459
+ line: 54,
56479
56460
  column: 77
56480
56461
  }
56481
56462
  },
56482
- "29": {
56463
+ "27": {
56483
56464
  start: {
56484
- line: 60,
56465
+ line: 54,
56485
56466
  column: 18
56486
56467
  },
56487
56468
  end: {
56488
- line: 60,
56469
+ line: 54,
56489
56470
  column: 77
56490
56471
  }
56491
56472
  },
56492
- "30": {
56473
+ "28": {
56493
56474
  start: {
56494
- line: 62,
56475
+ line: 56,
56495
56476
  column: 2
56496
56477
  },
56497
56478
  end: {
56498
- line: 62,
56479
+ line: 56,
56499
56480
  column: 16
56500
56481
  }
56501
56482
  },
56502
- "31": {
56483
+ "29": {
56503
56484
  start: {
56504
- line: 65,
56485
+ line: 59,
56505
56486
  column: 27
56506
56487
  },
56507
56488
  end: {
56508
- line: 71,
56489
+ line: 65,
56509
56490
  column: 1
56510
56491
  }
56511
56492
  },
56512
- "32": {
56493
+ "30": {
56513
56494
  start: {
56514
- line: 66,
56495
+ line: 60,
56515
56496
  column: 17
56516
56497
  },
56517
56498
  end: {
56518
- line: 68,
56499
+ line: 62,
56519
56500
  column: 60
56520
56501
  }
56521
56502
  },
56522
- "33": {
56503
+ "31": {
56523
56504
  start: {
56524
- line: 70,
56505
+ line: 64,
56525
56506
  column: 2
56526
56507
  },
56527
56508
  end: {
56528
- line: 70,
56509
+ line: 64,
56529
56510
  column: 16
56530
56511
  }
56531
56512
  },
56532
- "34": {
56513
+ "32": {
56533
56514
  start: {
56534
- line: 73,
56515
+ line: 67,
56535
56516
  column: 26
56536
56517
  },
56537
56518
  end: {
56538
- line: 83,
56519
+ line: 77,
56539
56520
  column: 1
56540
56521
  }
56541
56522
  },
56542
- "35": {
56523
+ "33": {
56543
56524
  start: {
56544
- line: 74,
56525
+ line: 68,
56545
56526
  column: 15
56546
56527
  },
56547
56528
  end: {
56548
- line: 74,
56529
+ line: 68,
56549
56530
  column: 50
56550
56531
  }
56551
56532
  },
56552
- "36": {
56533
+ "34": {
56553
56534
  start: {
56554
- line: 75,
56535
+ line: 69,
56555
56536
  column: 2
56556
56537
  },
56557
56538
  end: {
56558
- line: 80,
56539
+ line: 74,
56559
56540
  column: 3
56560
56541
  }
56561
56542
  },
56562
- "37": {
56543
+ "35": {
56563
56544
  start: {
56564
- line: 76,
56545
+ line: 70,
56565
56546
  column: 4
56566
56547
  },
56567
56548
  end: {
56568
- line: 79,
56549
+ line: 73,
56569
56550
  column: 46
56570
56551
  }
56571
56552
  },
56572
- "38": {
56553
+ "36": {
56573
56554
  start: {
56574
- line: 82,
56555
+ line: 76,
56575
56556
  column: 2
56576
56557
  },
56577
56558
  end: {
56578
- line: 82,
56559
+ line: 76,
56579
56560
  column: 16
56580
56561
  }
56581
56562
  },
56582
- "39": {
56563
+ "37": {
56583
56564
  start: {
56584
- line: 85,
56565
+ line: 79,
56585
56566
  column: 32
56586
56567
  },
56587
56568
  end: {
56588
- line: 99,
56569
+ line: 93,
56589
56570
  column: 1
56590
56571
  }
56591
56572
  },
56592
- "40": {
56573
+ "38": {
56593
56574
  start: {
56594
- line: 86,
56575
+ line: 80,
56595
56576
  column: 15
56596
56577
  },
56597
56578
  end: {
56598
- line: 93,
56579
+ line: 87,
56599
56580
  column: 15
56600
56581
  }
56601
56582
  },
56602
- "41": {
56583
+ "39": {
56603
56584
  start: {
56604
- line: 94,
56585
+ line: 88,
56605
56586
  column: 2
56606
56587
  },
56607
56588
  end: {
56608
- line: 96,
56589
+ line: 90,
56609
56590
  column: 3
56610
56591
  }
56611
56592
  },
56612
- "42": {
56593
+ "40": {
56613
56594
  start: {
56614
- line: 95,
56595
+ line: 89,
56615
56596
  column: 4
56616
56597
  },
56617
56598
  end: {
56618
- line: 95,
56599
+ line: 89,
56619
56600
  column: 71
56620
56601
  }
56621
56602
  },
56622
- "43": {
56603
+ "41": {
56623
56604
  start: {
56624
- line: 98,
56605
+ line: 92,
56625
56606
  column: 2
56626
56607
  },
56627
56608
  end: {
56628
- line: 98,
56609
+ line: 92,
56629
56610
  column: 16
56630
56611
  }
56631
56612
  },
56632
- "44": {
56613
+ "42": {
56633
56614
  start: {
56634
- line: 101,
56615
+ line: 95,
56635
56616
  column: 23
56636
56617
  },
56637
56618
  end: {
56638
- line: 101,
56619
+ line: 95,
56639
56620
  column: 57
56640
56621
  }
56641
56622
  },
56642
- "45": {
56623
+ "43": {
56643
56624
  start: {
56644
- line: 101,
56625
+ line: 95,
56645
56626
  column: 34
56646
56627
  },
56647
56628
  end: {
56648
- line: 101,
56629
+ line: 95,
56649
56630
  column: 57
56650
56631
  }
56651
56632
  },
56652
- "46": {
56633
+ "44": {
56653
56634
  start: {
56654
- line: 103,
56635
+ line: 97,
56655
56636
  column: 30
56656
56637
  },
56657
56638
  end: {
56658
- line: 115,
56639
+ line: 109,
56659
56640
  column: 1
56660
56641
  }
56661
56642
  },
56662
- "47": {
56643
+ "45": {
56663
56644
  start: {
56664
- line: 104,
56645
+ line: 98,
56665
56646
  column: 15
56666
56647
  },
56667
56648
  end: {
56668
- line: 104,
56649
+ line: 98,
56669
56650
  column: 27
56670
56651
  }
56671
56652
  },
56672
- "48": {
56653
+ "46": {
56673
56654
  start: {
56674
- line: 106,
56655
+ line: 100,
56675
56656
  column: 2
56676
56657
  },
56677
56658
  end: {
56678
- line: 112,
56659
+ line: 106,
56679
56660
  column: 3
56680
56661
  }
56681
56662
  },
56682
- "49": {
56663
+ "47": {
56683
56664
  start: {
56684
- line: 107,
56665
+ line: 101,
56685
56666
  column: 4
56686
56667
  },
56687
56668
  end: {
56688
- line: 111,
56669
+ line: 105,
56689
56670
  column: 6
56690
56671
  }
56691
56672
  },
56692
- "50": {
56673
+ "48": {
56693
56674
  start: {
56694
- line: 114,
56675
+ line: 108,
56695
56676
  column: 2
56696
56677
  },
56697
56678
  end: {
56698
- line: 114,
56679
+ line: 108,
56699
56680
  column: 16
56700
56681
  }
56701
56682
  },
56702
- "51": {
56683
+ "49": {
56703
56684
  start: {
56704
- line: 117,
56685
+ line: 111,
56705
56686
  column: 30
56706
56687
  },
56707
56688
  end: {
56708
- line: 132,
56689
+ line: 126,
56709
56690
  column: 1
56710
56691
  }
56711
56692
  },
56712
- "52": {
56693
+ "50": {
56713
56694
  start: {
56714
- line: 135,
56695
+ line: 129,
56715
56696
  column: 2
56716
56697
  },
56717
56698
  end: {
56718
- line: 152,
56699
+ line: 146,
56719
56700
  column: 3
56720
56701
  }
56721
56702
  },
56722
- "53": {
56703
+ "51": {
56723
56704
  start: {
56724
- line: 137,
56705
+ line: 131,
56725
56706
  column: 2
56726
56707
  },
56727
56708
  end: {
56728
- line: 152,
56709
+ line: 146,
56729
56710
  column: 3
56730
56711
  }
56731
56712
  },
56732
- "54": {
56713
+ "52": {
56733
56714
  start: {
56734
- line: 138,
56715
+ line: 132,
56735
56716
  column: 4
56736
56717
  },
56737
56718
  end: {
56738
- line: 151,
56719
+ line: 145,
56739
56720
  column: 5
56740
56721
  }
56741
56722
  },
56742
- "55": {
56723
+ "53": {
56743
56724
  start: {
56744
- line: 139,
56725
+ line: 133,
56745
56726
  column: 24
56746
56727
  },
56747
56728
  end: {
56748
- line: 139,
56729
+ line: 133,
56749
56730
  column: 51
56750
56731
  }
56751
56732
  },
56752
- "56": {
56733
+ "54": {
56753
56734
  start: {
56754
- line: 140,
56735
+ line: 134,
56755
56736
  column: 21
56756
56737
  },
56757
56738
  end: {
56758
- line: 140,
56739
+ line: 134,
56759
56740
  column: 59
56760
56741
  }
56761
56742
  },
56762
- "57": {
56743
+ "55": {
56763
56744
  start: {
56764
- line: 143,
56745
+ line: 137,
56765
56746
  column: 6
56766
56747
  },
56767
56748
  end: {
56768
- line: 150,
56749
+ line: 144,
56769
56750
  column: 9
56770
56751
  }
56771
56752
  },
56772
- "58": {
56753
+ "56": {
56773
56754
  start: {
56774
- line: 144,
56755
+ line: 138,
56775
56756
  column: 8
56776
56757
  },
56777
56758
  end: {
56778
- line: 149,
56759
+ line: 143,
56779
56760
  column: 9
56780
56761
  }
56781
56762
  },
56782
- "59": {
56763
+ "57": {
56783
56764
  start: {
56784
- line: 145,
56765
+ line: 139,
56785
56766
  column: 10
56786
56767
  },
56787
56768
  end: {
56788
- line: 145,
56769
+ line: 139,
56789
56770
  column: 39
56790
56771
  }
56791
56772
  },
56792
- "60": {
56773
+ "58": {
56793
56774
  start: {
56794
- line: 146,
56775
+ line: 140,
56795
56776
  column: 10
56796
56777
  },
56797
56778
  end: {
56798
- line: 146,
56779
+ line: 140,
56799
56780
  column: 29
56800
56781
  }
56801
56782
  },
56802
- "61": {
56783
+ "59": {
56803
56784
  start: {
56804
- line: 148,
56785
+ line: 142,
56805
56786
  column: 10
56806
56787
  },
56807
56788
  end: {
56808
- line: 148,
56789
+ line: 142,
56809
56790
  column: 31
56810
56791
  }
56811
56792
  }
@@ -56815,337 +56796,313 @@ function cov_1y9t6ere98() {
56815
56796
  name: "(anonymous_0)",
56816
56797
  decl: {
56817
56798
  start: {
56818
- line: 17,
56819
- column: 28
56820
- },
56821
- end: {
56822
- line: 17,
56823
- column: 29
56824
- }
56825
- },
56826
- loc: {
56827
- start: {
56828
- line: 18,
56829
- column: 2
56830
- },
56831
- end: {
56832
- line: 18,
56833
- column: 63
56834
- }
56835
- },
56836
- line: 18
56837
- },
56838
- "1": {
56839
- name: "(anonymous_1)",
56840
- decl: {
56841
- start: {
56842
- line: 20,
56799
+ line: 16,
56843
56800
  column: 26
56844
56801
  },
56845
56802
  end: {
56846
- line: 20,
56803
+ line: 16,
56847
56804
  column: 27
56848
56805
  }
56849
56806
  },
56850
56807
  loc: {
56851
56808
  start: {
56852
- line: 20,
56809
+ line: 16,
56853
56810
  column: 59
56854
56811
  },
56855
56812
  end: {
56856
- line: 35,
56813
+ line: 29,
56857
56814
  column: 1
56858
56815
  }
56859
56816
  },
56860
- line: 20
56817
+ line: 16
56861
56818
  },
56862
- "2": {
56863
- name: "(anonymous_2)",
56819
+ "1": {
56820
+ name: "(anonymous_1)",
56864
56821
  decl: {
56865
56822
  start: {
56866
- line: 37,
56823
+ line: 31,
56867
56824
  column: 34
56868
56825
  },
56869
56826
  end: {
56870
- line: 37,
56827
+ line: 31,
56871
56828
  column: 35
56872
56829
  }
56873
56830
  },
56874
56831
  loc: {
56875
56832
  start: {
56876
- line: 37,
56833
+ line: 31,
56877
56834
  column: 61
56878
56835
  },
56879
56836
  end: {
56880
- line: 42,
56837
+ line: 36,
56881
56838
  column: 1
56882
56839
  }
56883
56840
  },
56884
- line: 37
56841
+ line: 31
56885
56842
  },
56886
- "3": {
56887
- name: "(anonymous_3)",
56843
+ "2": {
56844
+ name: "(anonymous_2)",
56888
56845
  decl: {
56889
56846
  start: {
56890
- line: 44,
56847
+ line: 38,
56891
56848
  column: 33
56892
56849
  },
56893
56850
  end: {
56894
- line: 44,
56851
+ line: 38,
56895
56852
  column: 34
56896
56853
  }
56897
56854
  },
56898
56855
  loc: {
56899
56856
  start: {
56900
- line: 44,
56857
+ line: 38,
56901
56858
  column: 53
56902
56859
  },
56903
56860
  end: {
56904
- line: 49,
56861
+ line: 43,
56905
56862
  column: 1
56906
56863
  }
56907
56864
  },
56908
- line: 44
56865
+ line: 38
56909
56866
  },
56910
- "4": {
56911
- name: "(anonymous_4)",
56867
+ "3": {
56868
+ name: "(anonymous_3)",
56912
56869
  decl: {
56913
56870
  start: {
56914
- line: 51,
56871
+ line: 45,
56915
56872
  column: 28
56916
56873
  },
56917
56874
  end: {
56918
- line: 51,
56875
+ line: 45,
56919
56876
  column: 29
56920
56877
  }
56921
56878
  },
56922
56879
  loc: {
56923
56880
  start: {
56924
- line: 51,
56881
+ line: 45,
56925
56882
  column: 55
56926
56883
  },
56927
56884
  end: {
56928
- line: 56,
56885
+ line: 50,
56929
56886
  column: 1
56930
56887
  }
56931
56888
  },
56932
- line: 51
56889
+ line: 45
56933
56890
  },
56934
- "5": {
56935
- name: "(anonymous_5)",
56891
+ "4": {
56892
+ name: "(anonymous_4)",
56936
56893
  decl: {
56937
56894
  start: {
56938
- line: 58,
56895
+ line: 52,
56939
56896
  column: 32
56940
56897
  },
56941
56898
  end: {
56942
- line: 58,
56899
+ line: 52,
56943
56900
  column: 33
56944
56901
  }
56945
56902
  },
56946
56903
  loc: {
56947
56904
  start: {
56948
- line: 58,
56905
+ line: 52,
56949
56906
  column: 59
56950
56907
  },
56951
56908
  end: {
56952
- line: 63,
56909
+ line: 57,
56953
56910
  column: 1
56954
56911
  }
56955
56912
  },
56956
- line: 58
56913
+ line: 52
56957
56914
  },
56958
- "6": {
56959
- name: "(anonymous_6)",
56915
+ "5": {
56916
+ name: "(anonymous_5)",
56960
56917
  decl: {
56961
56918
  start: {
56962
- line: 65,
56919
+ line: 59,
56963
56920
  column: 27
56964
56921
  },
56965
56922
  end: {
56966
- line: 65,
56923
+ line: 59,
56967
56924
  column: 28
56968
56925
  }
56969
56926
  },
56970
56927
  loc: {
56971
56928
  start: {
56972
- line: 65,
56929
+ line: 59,
56973
56930
  column: 33
56974
56931
  },
56975
56932
  end: {
56976
- line: 71,
56933
+ line: 65,
56977
56934
  column: 1
56978
56935
  }
56979
56936
  },
56980
- line: 65
56937
+ line: 59
56981
56938
  },
56982
- "7": {
56983
- name: "(anonymous_7)",
56939
+ "6": {
56940
+ name: "(anonymous_6)",
56984
56941
  decl: {
56985
56942
  start: {
56986
- line: 73,
56943
+ line: 67,
56987
56944
  column: 26
56988
56945
  },
56989
56946
  end: {
56990
- line: 73,
56947
+ line: 67,
56991
56948
  column: 27
56992
56949
  }
56993
56950
  },
56994
56951
  loc: {
56995
56952
  start: {
56996
- line: 73,
56953
+ line: 67,
56997
56954
  column: 53
56998
56955
  },
56999
56956
  end: {
57000
- line: 83,
56957
+ line: 77,
57001
56958
  column: 1
57002
56959
  }
57003
56960
  },
57004
- line: 73
56961
+ line: 67
57005
56962
  },
57006
- "8": {
57007
- name: "(anonymous_8)",
56963
+ "7": {
56964
+ name: "(anonymous_7)",
57008
56965
  decl: {
57009
56966
  start: {
57010
- line: 85,
56967
+ line: 79,
57011
56968
  column: 32
57012
56969
  },
57013
56970
  end: {
57014
- line: 85,
56971
+ line: 79,
57015
56972
  column: 33
57016
56973
  }
57017
56974
  },
57018
56975
  loc: {
57019
56976
  start: {
57020
- line: 85,
56977
+ line: 79,
57021
56978
  column: 52
57022
56979
  },
57023
56980
  end: {
57024
- line: 99,
56981
+ line: 93,
57025
56982
  column: 1
57026
56983
  }
57027
56984
  },
57028
- line: 85
56985
+ line: 79
57029
56986
  },
57030
- "9": {
57031
- name: "(anonymous_9)",
56987
+ "8": {
56988
+ name: "(anonymous_8)",
57032
56989
  decl: {
57033
56990
  start: {
57034
- line: 101,
56991
+ line: 95,
57035
56992
  column: 23
57036
56993
  },
57037
56994
  end: {
57038
- line: 101,
56995
+ line: 95,
57039
56996
  column: 24
57040
56997
  }
57041
56998
  },
57042
56999
  loc: {
57043
57000
  start: {
57044
- line: 101,
57001
+ line: 95,
57045
57002
  column: 34
57046
57003
  },
57047
57004
  end: {
57048
- line: 101,
57005
+ line: 95,
57049
57006
  column: 57
57050
57007
  }
57051
57008
  },
57052
- line: 101
57009
+ line: 95
57053
57010
  },
57054
- "10": {
57055
- name: "(anonymous_10)",
57011
+ "9": {
57012
+ name: "(anonymous_9)",
57056
57013
  decl: {
57057
57014
  start: {
57058
- line: 103,
57015
+ line: 97,
57059
57016
  column: 30
57060
57017
  },
57061
57018
  end: {
57062
- line: 103,
57019
+ line: 97,
57063
57020
  column: 31
57064
57021
  }
57065
57022
  },
57066
57023
  loc: {
57067
57024
  start: {
57068
- line: 103,
57025
+ line: 97,
57069
57026
  column: 50
57070
57027
  },
57071
57028
  end: {
57072
- line: 115,
57029
+ line: 109,
57073
57030
  column: 1
57074
57031
  }
57075
57032
  },
57076
- line: 103
57033
+ line: 97
57077
57034
  },
57078
- "11": {
57079
- name: "(anonymous_11)",
57035
+ "10": {
57036
+ name: "(anonymous_10)",
57080
57037
  decl: {
57081
57038
  start: {
57082
- line: 135,
57039
+ line: 129,
57083
57040
  column: 2
57084
57041
  },
57085
57042
  end: {
57086
- line: 135,
57043
+ line: 129,
57087
57044
  column: 3
57088
57045
  }
57089
57046
  },
57090
57047
  loc: {
57091
57048
  start: {
57092
- line: 137,
57049
+ line: 131,
57093
57050
  column: 2
57094
57051
  },
57095
57052
  end: {
57096
- line: 152,
57053
+ line: 146,
57097
57054
  column: 3
57098
57055
  }
57099
57056
  },
57100
- line: 137
57057
+ line: 131
57101
57058
  },
57102
- "12": {
57103
- name: "(anonymous_12)",
57059
+ "11": {
57060
+ name: "(anonymous_11)",
57104
57061
  decl: {
57105
57062
  start: {
57106
- line: 137,
57063
+ line: 131,
57107
57064
  column: 2
57108
57065
  },
57109
57066
  end: {
57110
- line: 137,
57067
+ line: 131,
57111
57068
  column: 3
57112
57069
  }
57113
57070
  },
57114
57071
  loc: {
57115
57072
  start: {
57116
- line: 137,
57073
+ line: 131,
57117
57074
  column: 11
57118
57075
  },
57119
57076
  end: {
57120
- line: 152,
57077
+ line: 146,
57121
57078
  column: 3
57122
57079
  }
57123
57080
  },
57124
- line: 137
57081
+ line: 131
57125
57082
  },
57126
- "13": {
57127
- name: "(anonymous_13)",
57083
+ "12": {
57084
+ name: "(anonymous_12)",
57128
57085
  decl: {
57129
57086
  start: {
57130
- line: 143,
57087
+ line: 137,
57131
57088
  column: 25
57132
57089
  },
57133
57090
  end: {
57134
- line: 143,
57091
+ line: 137,
57135
57092
  column: 26
57136
57093
  }
57137
57094
  },
57138
57095
  loc: {
57139
57096
  start: {
57140
- line: 143,
57097
+ line: 137,
57141
57098
  column: 42
57142
57099
  },
57143
57100
  end: {
57144
- line: 150,
57101
+ line: 144,
57145
57102
  column: 7
57146
57103
  }
57147
57104
  },
57148
- line: 143
57105
+ line: 137
57149
57106
  }
57150
57107
  },
57151
57108
  branchMap: {
@@ -57156,84 +57113,51 @@ function cov_1y9t6ere98() {
57156
57113
  column: 2
57157
57114
  },
57158
57115
  end: {
57159
- line: 18,
57160
- column: 63
57161
- }
57162
- },
57163
- type: "cond-expr",
57164
- locations: [{
57165
- start: {
57166
- line: 18,
57167
- column: 22
57168
- },
57169
- end: {
57170
- line: 18,
57171
- column: 56
57172
- }
57173
- }, {
57174
- start: {
57175
- line: 18,
57176
- column: 59
57177
- },
57178
- end: {
57179
- line: 18,
57180
- column: 63
57181
- }
57182
- }],
57183
- line: 18
57184
- },
57185
- "1": {
57186
- loc: {
57187
- start: {
57188
- line: 22,
57189
- column: 2
57190
- },
57191
- end: {
57192
- line: 30,
57116
+ line: 24,
57193
57117
  column: 3
57194
57118
  }
57195
57119
  },
57196
57120
  type: "if",
57197
57121
  locations: [{
57198
57122
  start: {
57199
- line: 22,
57123
+ line: 18,
57200
57124
  column: 2
57201
57125
  },
57202
57126
  end: {
57203
- line: 30,
57127
+ line: 24,
57204
57128
  column: 3
57205
57129
  }
57206
57130
  }, {
57207
57131
  start: {
57208
- line: 24,
57132
+ line: 20,
57209
57133
  column: 9
57210
57134
  },
57211
57135
  end: {
57212
- line: 30,
57136
+ line: 24,
57213
57137
  column: 3
57214
57138
  }
57215
57139
  }],
57216
- line: 22
57140
+ line: 18
57217
57141
  },
57218
- "2": {
57142
+ "1": {
57219
57143
  loc: {
57220
57144
  start: {
57221
- line: 24,
57145
+ line: 20,
57222
57146
  column: 9
57223
57147
  },
57224
57148
  end: {
57225
- line: 30,
57149
+ line: 24,
57226
57150
  column: 3
57227
57151
  }
57228
57152
  },
57229
57153
  type: "if",
57230
57154
  locations: [{
57231
57155
  start: {
57232
- line: 24,
57156
+ line: 20,
57233
57157
  column: 9
57234
57158
  },
57235
57159
  end: {
57236
- line: 30,
57160
+ line: 24,
57237
57161
  column: 3
57238
57162
  }
57239
57163
  }, {
@@ -57246,27 +57170,27 @@ function cov_1y9t6ere98() {
57246
57170
  column: undefined
57247
57171
  }
57248
57172
  }],
57249
- line: 24
57173
+ line: 20
57250
57174
  },
57251
- "3": {
57175
+ "2": {
57252
57176
  loc: {
57253
57177
  start: {
57254
- line: 32,
57178
+ line: 26,
57255
57179
  column: 2
57256
57180
  },
57257
57181
  end: {
57258
- line: 32,
57182
+ line: 26,
57259
57183
  column: 80
57260
57184
  }
57261
57185
  },
57262
57186
  type: "if",
57263
57187
  locations: [{
57264
57188
  start: {
57265
- line: 32,
57189
+ line: 26,
57266
57190
  column: 2
57267
57191
  },
57268
57192
  end: {
57269
- line: 32,
57193
+ line: 26,
57270
57194
  column: 80
57271
57195
  }
57272
57196
  }, {
@@ -57279,27 +57203,27 @@ function cov_1y9t6ere98() {
57279
57203
  column: undefined
57280
57204
  }
57281
57205
  }],
57282
- line: 32
57206
+ line: 26
57283
57207
  },
57284
- "4": {
57208
+ "3": {
57285
57209
  loc: {
57286
57210
  start: {
57287
- line: 39,
57211
+ line: 33,
57288
57212
  column: 2
57289
57213
  },
57290
57214
  end: {
57291
- line: 39,
57215
+ line: 33,
57292
57216
  column: 68
57293
57217
  }
57294
57218
  },
57295
57219
  type: "if",
57296
57220
  locations: [{
57297
57221
  start: {
57298
- line: 39,
57222
+ line: 33,
57299
57223
  column: 2
57300
57224
  },
57301
57225
  end: {
57302
- line: 39,
57226
+ line: 33,
57303
57227
  column: 68
57304
57228
  }
57305
57229
  }, {
@@ -57312,27 +57236,27 @@ function cov_1y9t6ere98() {
57312
57236
  column: undefined
57313
57237
  }
57314
57238
  }],
57315
- line: 39
57239
+ line: 33
57316
57240
  },
57317
- "5": {
57241
+ "4": {
57318
57242
  loc: {
57319
57243
  start: {
57320
- line: 46,
57244
+ line: 40,
57321
57245
  column: 2
57322
57246
  },
57323
57247
  end: {
57324
- line: 46,
57248
+ line: 40,
57325
57249
  column: 76
57326
57250
  }
57327
57251
  },
57328
57252
  type: "if",
57329
57253
  locations: [{
57330
57254
  start: {
57331
- line: 46,
57255
+ line: 40,
57332
57256
  column: 2
57333
57257
  },
57334
57258
  end: {
57335
- line: 46,
57259
+ line: 40,
57336
57260
  column: 76
57337
57261
  }
57338
57262
  }, {
@@ -57345,27 +57269,27 @@ function cov_1y9t6ere98() {
57345
57269
  column: undefined
57346
57270
  }
57347
57271
  }],
57348
- line: 46
57272
+ line: 40
57349
57273
  },
57350
- "6": {
57274
+ "5": {
57351
57275
  loc: {
57352
57276
  start: {
57353
- line: 53,
57277
+ line: 47,
57354
57278
  column: 2
57355
57279
  },
57356
57280
  end: {
57357
- line: 53,
57281
+ line: 47,
57358
57282
  column: 68
57359
57283
  }
57360
57284
  },
57361
57285
  type: "if",
57362
57286
  locations: [{
57363
57287
  start: {
57364
- line: 53,
57288
+ line: 47,
57365
57289
  column: 2
57366
57290
  },
57367
57291
  end: {
57368
- line: 53,
57292
+ line: 47,
57369
57293
  column: 68
57370
57294
  }
57371
57295
  }, {
@@ -57378,27 +57302,27 @@ function cov_1y9t6ere98() {
57378
57302
  column: undefined
57379
57303
  }
57380
57304
  }],
57381
- line: 53
57305
+ line: 47
57382
57306
  },
57383
- "7": {
57307
+ "6": {
57384
57308
  loc: {
57385
57309
  start: {
57386
- line: 60,
57310
+ line: 54,
57387
57311
  column: 2
57388
57312
  },
57389
57313
  end: {
57390
- line: 60,
57314
+ line: 54,
57391
57315
  column: 77
57392
57316
  }
57393
57317
  },
57394
57318
  type: "if",
57395
57319
  locations: [{
57396
57320
  start: {
57397
- line: 60,
57321
+ line: 54,
57398
57322
  column: 2
57399
57323
  },
57400
57324
  end: {
57401
- line: 60,
57325
+ line: 54,
57402
57326
  column: 77
57403
57327
  }
57404
57328
  }, {
@@ -57411,27 +57335,27 @@ function cov_1y9t6ere98() {
57411
57335
  column: undefined
57412
57336
  }
57413
57337
  }],
57414
- line: 60
57338
+ line: 54
57415
57339
  },
57416
- "8": {
57340
+ "7": {
57417
57341
  loc: {
57418
57342
  start: {
57419
- line: 75,
57343
+ line: 69,
57420
57344
  column: 2
57421
57345
  },
57422
57346
  end: {
57423
- line: 80,
57347
+ line: 74,
57424
57348
  column: 3
57425
57349
  }
57426
57350
  },
57427
57351
  type: "if",
57428
57352
  locations: [{
57429
57353
  start: {
57430
- line: 75,
57354
+ line: 69,
57431
57355
  column: 2
57432
57356
  },
57433
57357
  end: {
57434
- line: 80,
57358
+ line: 74,
57435
57359
  column: 3
57436
57360
  }
57437
57361
  }, {
@@ -57444,27 +57368,27 @@ function cov_1y9t6ere98() {
57444
57368
  column: undefined
57445
57369
  }
57446
57370
  }],
57447
- line: 75
57371
+ line: 69
57448
57372
  },
57449
- "9": {
57373
+ "8": {
57450
57374
  loc: {
57451
57375
  start: {
57452
- line: 94,
57376
+ line: 88,
57453
57377
  column: 2
57454
57378
  },
57455
57379
  end: {
57456
- line: 96,
57380
+ line: 90,
57457
57381
  column: 3
57458
57382
  }
57459
57383
  },
57460
57384
  type: "if",
57461
57385
  locations: [{
57462
57386
  start: {
57463
- line: 94,
57387
+ line: 88,
57464
57388
  column: 2
57465
57389
  },
57466
57390
  end: {
57467
- line: 96,
57391
+ line: 90,
57468
57392
  column: 3
57469
57393
  }
57470
57394
  }, {
@@ -57477,27 +57401,27 @@ function cov_1y9t6ere98() {
57477
57401
  column: undefined
57478
57402
  }
57479
57403
  }],
57480
- line: 94
57404
+ line: 88
57481
57405
  },
57482
- "10": {
57406
+ "9": {
57483
57407
  loc: {
57484
57408
  start: {
57485
- line: 106,
57409
+ line: 100,
57486
57410
  column: 2
57487
57411
  },
57488
57412
  end: {
57489
- line: 112,
57413
+ line: 106,
57490
57414
  column: 3
57491
57415
  }
57492
57416
  },
57493
57417
  type: "if",
57494
57418
  locations: [{
57495
57419
  start: {
57496
- line: 106,
57420
+ line: 100,
57497
57421
  column: 2
57498
57422
  },
57499
57423
  end: {
57500
- line: 112,
57424
+ line: 106,
57501
57425
  column: 3
57502
57426
  }
57503
57427
  }, {
@@ -57510,27 +57434,27 @@ function cov_1y9t6ere98() {
57510
57434
  column: undefined
57511
57435
  }
57512
57436
  }],
57513
- line: 106
57437
+ line: 100
57514
57438
  },
57515
- "11": {
57439
+ "10": {
57516
57440
  loc: {
57517
57441
  start: {
57518
- line: 138,
57442
+ line: 132,
57519
57443
  column: 4
57520
57444
  },
57521
57445
  end: {
57522
- line: 151,
57446
+ line: 145,
57523
57447
  column: 5
57524
57448
  }
57525
57449
  },
57526
57450
  type: "if",
57527
57451
  locations: [{
57528
57452
  start: {
57529
- line: 138,
57453
+ line: 132,
57530
57454
  column: 4
57531
57455
  },
57532
57456
  end: {
57533
- line: 151,
57457
+ line: 145,
57534
57458
  column: 5
57535
57459
  }
57536
57460
  }, {
@@ -57543,7 +57467,7 @@ function cov_1y9t6ere98() {
57543
57467
  column: undefined
57544
57468
  }
57545
57469
  }],
57546
- line: 138
57470
+ line: 132
57547
57471
  }
57548
57472
  },
57549
57473
  s: {
@@ -57606,9 +57530,7 @@ function cov_1y9t6ere98() {
57606
57530
  "56": 0,
57607
57531
  "57": 0,
57608
57532
  "58": 0,
57609
- "59": 0,
57610
- "60": 0,
57611
- "61": 0
57533
+ "59": 0
57612
57534
  },
57613
57535
  f: {
57614
57536
  "0": 0,
@@ -57623,8 +57545,7 @@ function cov_1y9t6ere98() {
57623
57545
  "9": 0,
57624
57546
  "10": 0,
57625
57547
  "11": 0,
57626
- "12": 0,
57627
- "13": 0
57548
+ "12": 0
57628
57549
  },
57629
57550
  b: {
57630
57551
  "0": [0, 0],
@@ -57637,11 +57558,10 @@ function cov_1y9t6ere98() {
57637
57558
  "7": [0, 0],
57638
57559
  "8": [0, 0],
57639
57560
  "9": [0, 0],
57640
- "10": [0, 0],
57641
- "11": [0, 0]
57561
+ "10": [0, 0]
57642
57562
  },
57643
57563
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
57644
- hash: "b59238b6ae64f35dcc890e00c70686770cc5bc64"
57564
+ hash: "5058ac8f69b60910b7f697db1676d1362d5aef65"
57645
57565
  };
57646
57566
  var coverage = global[gcv] || (global[gcv] = {});
57647
57567
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -57658,221 +57578,214 @@ function cov_1y9t6ere98() {
57658
57578
  }
57659
57579
  cov_1y9t6ere98();
57660
57580
  cov_1y9t6ere98().s[0]++;
57661
- var validatePhoneNumber = function validatePhoneNumber(value) {
57662
- var _parsePhoneNumber;
57663
- cov_1y9t6ere98().f[0]++;
57664
- cov_1y9t6ere98().s[1]++;
57665
- return pure.isNotEmpty(value) ? (cov_1y9t6ere98().b[0][0]++, (_parsePhoneNumber = parsePhoneNumberFromString(value)) === null || _parsePhoneNumber === void 0 ? void 0 : _parsePhoneNumber.isValid()) : (cov_1y9t6ere98().b[0][1]++, true);
57666
- };
57667
- cov_1y9t6ere98().s[2]++;
57668
57581
  var validateTextField = function validateTextField(_ref) {
57669
57582
  var kind = _ref.kind,
57670
57583
  label = _ref.label,
57671
57584
  isRequired = _ref.isRequired;
57672
- cov_1y9t6ere98().f[1]++;
57673
- var schema = (cov_1y9t6ere98().s[3]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57674
- cov_1y9t6ere98().s[4]++;
57585
+ cov_1y9t6ere98().f[0]++;
57586
+ var schema = (cov_1y9t6ere98().s[1]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57587
+ cov_1y9t6ere98().s[2]++;
57675
57588
  if (kind === QUESTION_KIND.EMAIL.value) {
57676
- cov_1y9t6ere98().b[1][0]++;
57677
- cov_1y9t6ere98().s[5]++;
57589
+ cov_1y9t6ere98().b[0][0]++;
57590
+ cov_1y9t6ere98().s[3]++;
57678
57591
  schema = schema.email(getInvalidFieldError("Email"));
57679
57592
  } else {
57680
- cov_1y9t6ere98().b[1][1]++;
57681
- cov_1y9t6ere98().s[6]++;
57593
+ cov_1y9t6ere98().b[0][1]++;
57594
+ cov_1y9t6ere98().s[4]++;
57682
57595
  if (kind === QUESTION_KIND.PHONE.value) {
57683
- cov_1y9t6ere98().b[2][0]++;
57684
- cov_1y9t6ere98().s[7]++;
57685
- schema = schema.test("phone", getInvalidFieldError(t$1("common.phoneNumberValidation")), validatePhoneNumber);
57596
+ cov_1y9t6ere98().b[1][0]++;
57597
+ cov_1y9t6ere98().s[5]++;
57598
+ schema = PhoneNumber$1.validation(getInvalidFieldError(t$1("common.phoneNumberValidation")));
57686
57599
  } else {
57687
- cov_1y9t6ere98().b[2][1]++;
57600
+ cov_1y9t6ere98().b[1][1]++;
57688
57601
  }
57689
57602
  }
57690
- cov_1y9t6ere98().s[8]++;
57603
+ cov_1y9t6ere98().s[6]++;
57691
57604
  if (isRequired) {
57692
- cov_1y9t6ere98().b[3][0]++;
57693
- cov_1y9t6ere98().s[9]++;
57605
+ cov_1y9t6ere98().b[2][0]++;
57606
+ cov_1y9t6ere98().s[7]++;
57694
57607
  schema = schema.trim().required(getRequiredFieldError(label));
57695
57608
  } else {
57696
- cov_1y9t6ere98().b[3][1]++;
57609
+ cov_1y9t6ere98().b[2][1]++;
57697
57610
  }
57698
- cov_1y9t6ere98().s[10]++;
57611
+ cov_1y9t6ere98().s[8]++;
57699
57612
  return schema;
57700
57613
  };
57701
- cov_1y9t6ere98().s[11]++;
57614
+ cov_1y9t6ere98().s[9]++;
57702
57615
  var validateSingleChoiceField = function validateSingleChoiceField(_ref2) {
57703
57616
  var label = _ref2.label,
57704
57617
  isRequired = _ref2.isRequired;
57705
- cov_1y9t6ere98().f[2]++;
57706
- var schema = (cov_1y9t6ere98().s[12]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57707
- cov_1y9t6ere98().s[13]++;
57618
+ cov_1y9t6ere98().f[1]++;
57619
+ var schema = (cov_1y9t6ere98().s[10]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57620
+ cov_1y9t6ere98().s[11]++;
57708
57621
  if (isRequired) {
57709
- cov_1y9t6ere98().b[4][0]++;
57710
- cov_1y9t6ere98().s[14]++;
57622
+ cov_1y9t6ere98().b[3][0]++;
57623
+ cov_1y9t6ere98().s[12]++;
57711
57624
  schema = schema.required(getSelectMinError("an"));
57712
57625
  } else {
57713
- cov_1y9t6ere98().b[4][1]++;
57626
+ cov_1y9t6ere98().b[3][1]++;
57714
57627
  }
57715
- cov_1y9t6ere98().s[15]++;
57628
+ cov_1y9t6ere98().s[13]++;
57716
57629
  return schema;
57717
57630
  };
57718
- cov_1y9t6ere98().s[16]++;
57631
+ cov_1y9t6ere98().s[14]++;
57719
57632
  var validateMultiChoiceField = function validateMultiChoiceField(_ref3) {
57720
57633
  var isRequired = _ref3.isRequired;
57721
- cov_1y9t6ere98().f[3]++;
57722
- var schema = (cov_1y9t6ere98().s[17]++, yup__namespace.array().of(yup__namespace["boolean"]()));
57723
- cov_1y9t6ere98().s[18]++;
57634
+ cov_1y9t6ere98().f[2]++;
57635
+ var schema = (cov_1y9t6ere98().s[15]++, yup__namespace.array().of(yup__namespace["boolean"]()));
57636
+ cov_1y9t6ere98().s[16]++;
57724
57637
  if (isRequired) {
57725
- cov_1y9t6ere98().b[5][0]++;
57726
- cov_1y9t6ere98().s[19]++;
57638
+ cov_1y9t6ere98().b[4][0]++;
57639
+ cov_1y9t6ere98().s[17]++;
57727
57640
  schema = schema.compact().min(1, getSelectMinError("an"));
57728
57641
  } else {
57729
- cov_1y9t6ere98().b[5][1]++;
57642
+ cov_1y9t6ere98().b[4][1]++;
57730
57643
  }
57731
- cov_1y9t6ere98().s[20]++;
57644
+ cov_1y9t6ere98().s[18]++;
57732
57645
  return schema;
57733
57646
  };
57734
- cov_1y9t6ere98().s[21]++;
57647
+ cov_1y9t6ere98().s[19]++;
57735
57648
  var validateRatingField = function validateRatingField(_ref4) {
57736
57649
  var label = _ref4.label,
57737
57650
  isRequired = _ref4.isRequired;
57738
- cov_1y9t6ere98().f[4]++;
57739
- var schema = (cov_1y9t6ere98().s[22]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57740
- cov_1y9t6ere98().s[23]++;
57651
+ cov_1y9t6ere98().f[3]++;
57652
+ var schema = (cov_1y9t6ere98().s[20]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57653
+ cov_1y9t6ere98().s[21]++;
57741
57654
  if (isRequired) {
57742
- cov_1y9t6ere98().b[6][0]++;
57743
- cov_1y9t6ere98().s[24]++;
57655
+ cov_1y9t6ere98().b[5][0]++;
57656
+ cov_1y9t6ere98().s[22]++;
57744
57657
  schema = schema.required(getSelectMinError("an"));
57745
57658
  } else {
57746
- cov_1y9t6ere98().b[6][1]++;
57659
+ cov_1y9t6ere98().b[5][1]++;
57747
57660
  }
57748
- cov_1y9t6ere98().s[25]++;
57661
+ cov_1y9t6ere98().s[23]++;
57749
57662
  return schema;
57750
57663
  };
57751
- cov_1y9t6ere98().s[26]++;
57664
+ cov_1y9t6ere98().s[24]++;
57752
57665
  var validateStarRatingField = function validateStarRatingField(_ref5) {
57753
57666
  var label = _ref5.label,
57754
57667
  isRequired = _ref5.isRequired;
57755
- cov_1y9t6ere98().f[5]++;
57756
- var schema = (cov_1y9t6ere98().s[27]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57757
- cov_1y9t6ere98().s[28]++;
57668
+ cov_1y9t6ere98().f[4]++;
57669
+ var schema = (cov_1y9t6ere98().s[25]++, yup__namespace.string().typeError(getInvalidTypeError(label, "string")));
57670
+ cov_1y9t6ere98().s[26]++;
57758
57671
  if (isRequired) {
57759
- cov_1y9t6ere98().b[7][0]++;
57760
- cov_1y9t6ere98().s[29]++;
57672
+ cov_1y9t6ere98().b[6][0]++;
57673
+ cov_1y9t6ere98().s[27]++;
57761
57674
  schema = schema.required(getSelectMinError("a", "rating"));
57762
57675
  } else {
57763
- cov_1y9t6ere98().b[7][1]++;
57676
+ cov_1y9t6ere98().b[6][1]++;
57764
57677
  }
57765
- cov_1y9t6ere98().s[30]++;
57678
+ cov_1y9t6ere98().s[28]++;
57766
57679
  return schema;
57767
57680
  };
57768
- cov_1y9t6ere98().s[31]++;
57681
+ cov_1y9t6ere98().s[29]++;
57769
57682
  var validateTermsField = function validateTermsField() {
57770
- cov_1y9t6ere98().f[6]++;
57771
- var schema = (cov_1y9t6ere98().s[32]++, yup__namespace["boolean"]().oneOf([true], t$1("common.mustAcceptTermsAndConditions")));
57772
- cov_1y9t6ere98().s[33]++;
57683
+ cov_1y9t6ere98().f[5]++;
57684
+ var schema = (cov_1y9t6ere98().s[30]++, yup__namespace["boolean"]().oneOf([true], t$1("common.mustAcceptTermsAndConditions")));
57685
+ cov_1y9t6ere98().s[31]++;
57773
57686
  return schema;
57774
57687
  };
57775
- cov_1y9t6ere98().s[34]++;
57688
+ cov_1y9t6ere98().s[32]++;
57776
57689
  var validateDateField = function validateDateField(_ref6) {
57777
57690
  var label = _ref6.label,
57778
57691
  isRequired = _ref6.isRequired;
57779
- cov_1y9t6ere98().f[7]++;
57780
- var schema = (cov_1y9t6ere98().s[35]++, yup__namespace.date().typeError("").nullable());
57781
- cov_1y9t6ere98().s[36]++;
57692
+ cov_1y9t6ere98().f[6]++;
57693
+ var schema = (cov_1y9t6ere98().s[33]++, yup__namespace.date().typeError("").nullable());
57694
+ cov_1y9t6ere98().s[34]++;
57782
57695
  if (isRequired) {
57783
- cov_1y9t6ere98().b[8][0]++;
57784
- cov_1y9t6ere98().s[37]++;
57696
+ cov_1y9t6ere98().b[7][0]++;
57697
+ cov_1y9t6ere98().s[35]++;
57785
57698
  schema = yup__namespace.date().typeError(getInvalidTypeError(label, "date")).required(getRequiredFieldError(label));
57786
57699
  } else {
57787
- cov_1y9t6ere98().b[8][1]++;
57700
+ cov_1y9t6ere98().b[7][1]++;
57788
57701
  }
57789
- cov_1y9t6ere98().s[38]++;
57702
+ cov_1y9t6ere98().s[36]++;
57790
57703
  return schema;
57791
57704
  };
57792
- cov_1y9t6ere98().s[39]++;
57705
+ cov_1y9t6ere98().s[37]++;
57793
57706
  var validateMultiEmailField = function validateMultiEmailField(_ref7) {
57794
57707
  var isRequired = _ref7.isRequired;
57795
- cov_1y9t6ere98().f[8]++;
57796
- var schema = (cov_1y9t6ere98().s[40]++, yup__namespace.array().of(yup__namespace.object().shape({
57708
+ cov_1y9t6ere98().f[7]++;
57709
+ var schema = (cov_1y9t6ere98().s[38]++, yup__namespace.array().of(yup__namespace.object().shape({
57797
57710
  value: yup__namespace.string().email(getInvalidFieldError("Email"))
57798
57711
  })).nullable());
57799
- cov_1y9t6ere98().s[41]++;
57712
+ cov_1y9t6ere98().s[39]++;
57800
57713
  if (isRequired) {
57801
- cov_1y9t6ere98().b[9][0]++;
57802
- cov_1y9t6ere98().s[42]++;
57714
+ cov_1y9t6ere98().b[8][0]++;
57715
+ cov_1y9t6ere98().s[40]++;
57803
57716
  schema = schema.compact().min(1, getSelectMinError("an", "email"));
57804
57717
  } else {
57805
- cov_1y9t6ere98().b[9][1]++;
57718
+ cov_1y9t6ere98().b[8][1]++;
57806
57719
  }
57807
- cov_1y9t6ere98().s[43]++;
57720
+ cov_1y9t6ere98().s[41]++;
57808
57721
  return schema;
57809
57722
  };
57810
- cov_1y9t6ere98().s[44]++;
57723
+ cov_1y9t6ere98().s[42]++;
57811
57724
  var editorHasValue = function editorHasValue(content) {
57812
- cov_1y9t6ere98().f[9]++;
57813
- cov_1y9t6ere98().s[45]++;
57725
+ cov_1y9t6ere98().f[8]++;
57726
+ cov_1y9t6ere98().s[43]++;
57814
57727
  return !neetoEditor.isEditorEmpty(content);
57815
57728
  };
57816
- cov_1y9t6ere98().s[46]++;
57729
+ cov_1y9t6ere98().s[44]++;
57817
57730
  var validateRichTextField = function validateRichTextField(_ref8) {
57818
57731
  var isRequired = _ref8.isRequired;
57819
- cov_1y9t6ere98().f[10]++;
57820
- var schema = (cov_1y9t6ere98().s[47]++, yup__namespace.string());
57821
- cov_1y9t6ere98().s[48]++;
57732
+ cov_1y9t6ere98().f[9]++;
57733
+ var schema = (cov_1y9t6ere98().s[45]++, yup__namespace.string());
57734
+ cov_1y9t6ere98().s[46]++;
57822
57735
  if (isRequired) {
57823
- cov_1y9t6ere98().b[10][0]++;
57824
- cov_1y9t6ere98().s[49]++;
57736
+ cov_1y9t6ere98().b[9][0]++;
57737
+ cov_1y9t6ere98().s[47]++;
57825
57738
  schema = schema.test("required", getRequiredFieldError("content"), editorHasValue);
57826
57739
  } else {
57827
- cov_1y9t6ere98().b[10][1]++;
57740
+ cov_1y9t6ere98().b[9][1]++;
57828
57741
  }
57829
- cov_1y9t6ere98().s[50]++;
57742
+ cov_1y9t6ere98().s[48]++;
57830
57743
  return schema;
57831
57744
  };
57832
- var fieldKindValidatorMap = (cov_1y9t6ere98().s[51]++, (_ref9 = {}, _defineProperty$a(_ref9, QUESTION_KIND.EMAIL.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.PHONE.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.TEXT.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.NAME.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.QUESTION.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.DROPDOWN.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RADIO.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.CHECKBOX.value, validateMultiChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RATING.value, validateRatingField), _defineProperty$a(_ref9, QUESTION_KIND.TERMS.value, validateTermsField), _defineProperty$a(_ref9, QUESTION_KIND.DATE.value, validateDateField), _defineProperty$a(_ref9, QUESTION_KIND.STAR_RATING.value, validateStarRatingField), _defineProperty$a(_ref9, QUESTION_KIND.ADDITIONAL_GUESTS.value, validateMultiEmailField), _defineProperty$a(_ref9, QUESTION_KIND.RICH_TEXT.value, validateRichTextField), _ref9));
57833
- cov_1y9t6ere98().s[52]++;
57745
+ var fieldKindValidatorMap = (cov_1y9t6ere98().s[49]++, (_ref9 = {}, _defineProperty$a(_ref9, QUESTION_KIND.EMAIL.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.PHONE.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.TEXT.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.NAME.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.QUESTION.value, validateTextField), _defineProperty$a(_ref9, QUESTION_KIND.DROPDOWN.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RADIO.value, validateSingleChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.CHECKBOX.value, validateMultiChoiceField), _defineProperty$a(_ref9, QUESTION_KIND.RATING.value, validateRatingField), _defineProperty$a(_ref9, QUESTION_KIND.TERMS.value, validateTermsField), _defineProperty$a(_ref9, QUESTION_KIND.DATE.value, validateDateField), _defineProperty$a(_ref9, QUESTION_KIND.STAR_RATING.value, validateStarRatingField), _defineProperty$a(_ref9, QUESTION_KIND.ADDITIONAL_GUESTS.value, validateMultiEmailField), _defineProperty$a(_ref9, QUESTION_KIND.RICH_TEXT.value, validateRichTextField), _ref9));
57746
+ cov_1y9t6ere98().s[50]++;
57834
57747
  var validateFieldValue = function validateFieldValue(_ref10) {
57835
57748
  var kind = _ref10.kind,
57836
57749
  label = _ref10.label,
57837
57750
  isRequired = _ref10.isRequired;
57838
- cov_1y9t6ere98().f[11]++;
57839
- cov_1y9t6ere98().s[53]++;
57751
+ cov_1y9t6ere98().f[10]++;
57752
+ cov_1y9t6ere98().s[51]++;
57840
57753
  return (
57841
57754
  // eslint-disable-next-line consistent-return
57842
57755
  function (value) {
57843
- cov_1y9t6ere98().f[12]++;
57844
- cov_1y9t6ere98().s[54]++;
57756
+ cov_1y9t6ere98().f[11]++;
57757
+ cov_1y9t6ere98().s[52]++;
57845
57758
  if (kind in fieldKindValidatorMap) {
57846
- cov_1y9t6ere98().b[11][0]++;
57847
- var validator = (cov_1y9t6ere98().s[55]++, fieldKindValidatorMap[kind]);
57848
- var schema = (cov_1y9t6ere98().s[56]++, validator({
57759
+ cov_1y9t6ere98().b[10][0]++;
57760
+ var validator = (cov_1y9t6ere98().s[53]++, fieldKindValidatorMap[kind]);
57761
+ var schema = (cov_1y9t6ere98().s[54]++, validator({
57849
57762
  kind: kind,
57850
57763
  label: label,
57851
57764
  isRequired: isRequired
57852
57765
  }));
57853
57766
 
57854
57767
  // eslint-disable-next-line no-async-promise-executor
57855
- cov_1y9t6ere98().s[57]++;
57768
+ cov_1y9t6ere98().s[55]++;
57856
57769
  return new Promise( /*#__PURE__*/function () {
57857
57770
  var _ref11 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(resolve) {
57858
57771
  return regenerator.wrap(function _callee$(_context) {
57859
57772
  while (1) switch (_context.prev = _context.next) {
57860
57773
  case 0:
57861
- cov_1y9t6ere98().f[13]++;
57862
- cov_1y9t6ere98().s[58]++;
57774
+ cov_1y9t6ere98().f[12]++;
57775
+ cov_1y9t6ere98().s[56]++;
57863
57776
  _context.prev = 2;
57864
- cov_1y9t6ere98().s[59]++;
57777
+ cov_1y9t6ere98().s[57]++;
57865
57778
  _context.next = 6;
57866
57779
  return schema.validate(value);
57867
57780
  case 6:
57868
- cov_1y9t6ere98().s[60]++;
57781
+ cov_1y9t6ere98().s[58]++;
57869
57782
  resolve(undefined);
57870
57783
  _context.next = 14;
57871
57784
  break;
57872
57785
  case 10:
57873
57786
  _context.prev = 10;
57874
57787
  _context.t0 = _context["catch"](2);
57875
- cov_1y9t6ere98().s[61]++;
57788
+ cov_1y9t6ere98().s[59]++;
57876
57789
  resolve(_context.t0.message);
57877
57790
  case 14:
57878
57791
  case "end":
@@ -57885,7 +57798,7 @@ var validateFieldValue = function validateFieldValue(_ref10) {
57885
57798
  };
57886
57799
  }());
57887
57800
  } else {
57888
- cov_1y9t6ere98().b[11][1]++;
57801
+ cov_1y9t6ere98().b[10][1]++;
57889
57802
  }
57890
57803
  }
57891
57804
  );
@@ -60861,6 +60774,292 @@ var OptionsField = function OptionsField(_ref) {
60861
60774
  });
60862
60775
  };
60863
60776
 
60777
+ function cov_91boqbsi0() {
60778
+ var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/PhoneNumberField.jsx";
60779
+ var hash = "53b231995ea411baa5e11ca5d4a1afd94fe59969";
60780
+ var global = new Function("return this")();
60781
+ var gcv = "__coverage__";
60782
+ var coverageData = {
60783
+ path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/PhoneNumberField.jsx",
60784
+ statementMap: {
60785
+ "0": {
60786
+ start: {
60787
+ line: 8,
60788
+ column: 25
60789
+ },
60790
+ end: {
60791
+ line: 29,
60792
+ column: 1
60793
+ }
60794
+ },
60795
+ "1": {
60796
+ start: {
60797
+ line: 9,
60798
+ column: 28
60799
+ },
60800
+ end: {
60801
+ line: 9,
60802
+ column: 46
60803
+ }
60804
+ },
60805
+ "2": {
60806
+ start: {
60807
+ line: 10,
60808
+ column: 69
60809
+ },
60810
+ end: {
60811
+ line: 10,
60812
+ column: 77
60813
+ }
60814
+ },
60815
+ "3": {
60816
+ start: {
60817
+ line: 12,
60818
+ column: 2
60819
+ },
60820
+ end: {
60821
+ line: 28,
60822
+ column: 4
60823
+ }
60824
+ },
60825
+ "4": {
60826
+ start: {
60827
+ line: 18,
60828
+ column: 8
60829
+ },
60830
+ end: {
60831
+ line: 25,
60832
+ column: 10
60833
+ }
60834
+ },
60835
+ "5": {
60836
+ start: {
60837
+ line: 24,
60838
+ column: 29
60839
+ },
60840
+ end: {
60841
+ line: 24,
60842
+ column: 61
60843
+ }
60844
+ }
60845
+ },
60846
+ fnMap: {
60847
+ "0": {
60848
+ name: "(anonymous_0)",
60849
+ decl: {
60850
+ start: {
60851
+ line: 8,
60852
+ column: 25
60853
+ },
60854
+ end: {
60855
+ line: 8,
60856
+ column: 26
60857
+ }
60858
+ },
60859
+ loc: {
60860
+ start: {
60861
+ line: 8,
60862
+ column: 43
60863
+ },
60864
+ end: {
60865
+ line: 29,
60866
+ column: 1
60867
+ }
60868
+ },
60869
+ line: 8
60870
+ },
60871
+ "1": {
60872
+ name: "(anonymous_1)",
60873
+ decl: {
60874
+ start: {
60875
+ line: 17,
60876
+ column: 7
60877
+ },
60878
+ end: {
60879
+ line: 17,
60880
+ column: 8
60881
+ }
60882
+ },
60883
+ loc: {
60884
+ start: {
60885
+ line: 18,
60886
+ column: 8
60887
+ },
60888
+ end: {
60889
+ line: 25,
60890
+ column: 10
60891
+ }
60892
+ },
60893
+ line: 18
60894
+ },
60895
+ "2": {
60896
+ name: "(anonymous_2)",
60897
+ decl: {
60898
+ start: {
60899
+ line: 24,
60900
+ column: 20
60901
+ },
60902
+ end: {
60903
+ line: 24,
60904
+ column: 21
60905
+ }
60906
+ },
60907
+ loc: {
60908
+ start: {
60909
+ line: 24,
60910
+ column: 29
60911
+ },
60912
+ end: {
60913
+ line: 24,
60914
+ column: 61
60915
+ }
60916
+ },
60917
+ line: 24
60918
+ }
60919
+ },
60920
+ branchMap: {
60921
+ "0": {
60922
+ loc: {
60923
+ start: {
60924
+ line: 14,
60925
+ column: 12
60926
+ },
60927
+ end: {
60928
+ line: 14,
60929
+ column: 26
60930
+ }
60931
+ },
60932
+ type: "binary-expr",
60933
+ locations: [{
60934
+ start: {
60935
+ line: 14,
60936
+ column: 12
60937
+ },
60938
+ end: {
60939
+ line: 14,
60940
+ column: 16
60941
+ }
60942
+ }, {
60943
+ start: {
60944
+ line: 14,
60945
+ column: 20
60946
+ },
60947
+ end: {
60948
+ line: 14,
60949
+ column: 26
60950
+ }
60951
+ }],
60952
+ line: 14
60953
+ },
60954
+ "1": {
60955
+ loc: {
60956
+ start: {
60957
+ line: 19,
60958
+ column: 17
60959
+ },
60960
+ end: {
60961
+ line: 19,
60962
+ column: 47
60963
+ }
60964
+ },
60965
+ type: "cond-expr",
60966
+ locations: [{
60967
+ start: {
60968
+ line: 19,
60969
+ column: 32
60970
+ },
60971
+ end: {
60972
+ line: 19,
60973
+ column: 42
60974
+ }
60975
+ }, {
60976
+ start: {
60977
+ line: 19,
60978
+ column: 45
60979
+ },
60980
+ end: {
60981
+ line: 19,
60982
+ column: 47
60983
+ }
60984
+ }],
60985
+ line: 19
60986
+ }
60987
+ },
60988
+ s: {
60989
+ "0": 0,
60990
+ "1": 0,
60991
+ "2": 0,
60992
+ "3": 0,
60993
+ "4": 0,
60994
+ "5": 0
60995
+ },
60996
+ f: {
60997
+ "0": 0,
60998
+ "1": 0,
60999
+ "2": 0
61000
+ },
61001
+ b: {
61002
+ "0": [0, 0],
61003
+ "1": [0, 0]
61004
+ },
61005
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
61006
+ hash: "53b231995ea411baa5e11ca5d4a1afd94fe59969"
61007
+ };
61008
+ var coverage = global[gcv] || (global[gcv] = {});
61009
+ if (!coverage[path] || coverage[path].hash !== hash) {
61010
+ coverage[path] = coverageData;
61011
+ }
61012
+ var actualCoverage = coverage[path];
61013
+ {
61014
+ // @ts-ignore
61015
+ cov_91boqbsi0 = function () {
61016
+ return actualCoverage;
61017
+ };
61018
+ }
61019
+ return actualCoverage;
61020
+ }
61021
+ cov_91boqbsi0();
61022
+ cov_91boqbsi0().s[0]++;
61023
+ var PhoneNumberField = function PhoneNumberField(_ref) {
61024
+ var question = _ref.question;
61025
+ cov_91boqbsi0().f[0]++;
61026
+ var _ref2 = (cov_91boqbsi0().s[1]++, formik.useFormikContext()),
61027
+ setFieldValue = _ref2.setFieldValue;
61028
+ var _ref3 = (cov_91boqbsi0().s[2]++, question),
61029
+ name = _ref3.id,
61030
+ kind = _ref3.kind,
61031
+ label = _ref3.label,
61032
+ placeholder = _ref3.placeholder,
61033
+ isRequired = _ref3.isRequired,
61034
+ nodeId = _ref3.nodeId;
61035
+ cov_91boqbsi0().s[3]++;
61036
+ return /*#__PURE__*/React__default["default"].createElement(formik.Field, {
61037
+ name: (cov_91boqbsi0().b[0][0]++, name) || (cov_91boqbsi0().b[0][1]++, nodeId),
61038
+ validate: validateFieldValue({
61039
+ kind: kind,
61040
+ label: label,
61041
+ isRequired: isRequired
61042
+ })
61043
+ }, function (_ref4) {
61044
+ var meta = _ref4.meta,
61045
+ field = _ref4.field;
61046
+ cov_91boqbsi0().f[1]++;
61047
+ cov_91boqbsi0().s[4]++;
61048
+ return /*#__PURE__*/React__default["default"].createElement(PhoneNumber$1.PhoneNumberInput, {
61049
+ error: meta.touched ? (cov_91boqbsi0().b[1][0]++, meta.error) : (cov_91boqbsi0().b[1][1]++, ""),
61050
+ label: label,
61051
+ placeholder: placeholder,
61052
+ required: isRequired,
61053
+ value: field.value,
61054
+ onChange: function onChange(value) {
61055
+ cov_91boqbsi0().f[2]++;
61056
+ cov_91boqbsi0().s[5]++;
61057
+ return setFieldValue(field.name, value);
61058
+ }
61059
+ });
61060
+ });
61061
+ };
61062
+
60864
61063
  var _excluded$4 = ["name", "label", "error", "lowestRatingLabel", "averageRatingLabel", "highestRatingLabel", "value"];
60865
61064
  function cov_me840oqeh() {
60866
61065
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Rating.jsx";
@@ -64379,7 +64578,7 @@ var TextField = function TextField(_ref) {
64379
64578
  var _ref2;
64380
64579
  function cov_1cenqfav07() {
64381
64580
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/constants.jsx";
64382
- var hash = "09758111909bc2d5c3e99d9f34286abb93785e41";
64581
+ var hash = "6a6ab8c31cb2f74800019aa5dc2d515fe1e639ee";
64383
64582
  var global = new Function("return this")();
64384
64583
  var gcv = "__coverage__";
64385
64584
  var coverageData = {
@@ -64387,21 +64586,21 @@ function cov_1cenqfav07() {
64387
64586
  statementMap: {
64388
64587
  "0": {
64389
64588
  start: {
64390
- line: 16,
64589
+ line: 17,
64391
64590
  column: 41
64392
64591
  },
64393
64592
  end: {
64394
- line: 34,
64593
+ line: 35,
64395
64594
  column: 1
64396
64595
  }
64397
64596
  },
64398
64597
  "1": {
64399
64598
  start: {
64400
- line: 27,
64599
+ line: 28,
64401
64600
  column: 4
64402
64601
  },
64403
64602
  end: {
64404
- line: 27,
64603
+ line: 28,
64405
64604
  column: 46
64406
64605
  }
64407
64606
  }
@@ -64411,25 +64610,25 @@ function cov_1cenqfav07() {
64411
64610
  name: "(anonymous_0)",
64412
64611
  decl: {
64413
64612
  start: {
64414
- line: 26,
64613
+ line: 27,
64415
64614
  column: 34
64416
64615
  },
64417
64616
  end: {
64418
- line: 26,
64617
+ line: 27,
64419
64618
  column: 35
64420
64619
  }
64421
64620
  },
64422
64621
  loc: {
64423
64622
  start: {
64424
- line: 27,
64623
+ line: 28,
64425
64624
  column: 4
64426
64625
  },
64427
64626
  end: {
64428
- line: 27,
64627
+ line: 28,
64429
64628
  column: 46
64430
64629
  }
64431
64630
  },
64432
- line: 27
64631
+ line: 28
64433
64632
  }
64434
64633
  },
64435
64634
  branchMap: {},
@@ -64442,7 +64641,7 @@ function cov_1cenqfav07() {
64442
64641
  },
64443
64642
  b: {},
64444
64643
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
64445
- hash: "09758111909bc2d5c3e99d9f34286abb93785e41"
64644
+ hash: "6a6ab8c31cb2f74800019aa5dc2d515fe1e639ee"
64446
64645
  };
64447
64646
  var coverage = global[gcv] || (global[gcv] = {});
64448
64647
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -64458,7 +64657,7 @@ function cov_1cenqfav07() {
64458
64657
  return actualCoverage;
64459
64658
  }
64460
64659
  cov_1cenqfav07();
64461
- var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$a(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.PHONE.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$a(_ref2, QUESTION_KIND.TEXTAREA.value, function (_ref) {
64660
+ var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _defineProperty$a(_ref2, QUESTION_KIND.TEXT.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.NAME.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.EMAIL.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.PHONE.value, PhoneNumberField), _defineProperty$a(_ref2, QUESTION_KIND.QUESTION.value, TextField), _defineProperty$a(_ref2, QUESTION_KIND.CHECKBOX.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RADIO.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.DROPDOWN.value, OptionsField), _defineProperty$a(_ref2, QUESTION_KIND.RATING.value, RatingField), _defineProperty$a(_ref2, QUESTION_KIND.TEXTAREA.value, function (_ref) {
64462
64661
  var question = _ref.question;
64463
64662
  cov_1cenqfav07().f[0]++;
64464
64663
  cov_1cenqfav07().s[1]++;
@@ -70537,7 +70736,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
70537
70736
 
70538
70737
  function cov_29xlle89ll() {
70539
70738
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
70540
- var hash = "a2cc6e5e3d86c8258ed8b91505a2056ac64c90ff";
70739
+ var hash = "c62c7cdd0a05bcdbc09bb134860adb35bde42935";
70541
70740
  var global = new Function("return this")();
70542
70741
  var gcv = "__coverage__";
70543
70742
  var coverageData = {
@@ -70545,171 +70744,231 @@ function cov_29xlle89ll() {
70545
70744
  statementMap: {
70546
70745
  "0": {
70547
70746
  start: {
70548
- line: 16,
70747
+ line: 17,
70549
70748
  column: 17
70550
70749
  },
70551
70750
  end: {
70552
- line: 22,
70751
+ line: 23,
70553
70752
  column: 1
70554
70753
  }
70555
70754
  },
70556
70755
  "1": {
70557
70756
  start: {
70558
- line: 17,
70757
+ line: 18,
70559
70758
  column: 2
70560
70759
  },
70561
70760
  end: {
70562
- line: 19,
70761
+ line: 20,
70563
70762
  column: 3
70564
70763
  }
70565
70764
  },
70566
70765
  "2": {
70567
70766
  start: {
70568
- line: 18,
70767
+ line: 19,
70569
70768
  column: 4
70570
70769
  },
70571
70770
  end: {
70572
- line: 18,
70771
+ line: 19,
70573
70772
  column: 40
70574
70773
  }
70575
70774
  },
70576
70775
  "3": {
70577
70776
  start: {
70578
- line: 21,
70777
+ line: 22,
70579
70778
  column: 2
70580
70779
  },
70581
70780
  end: {
70582
- line: 21,
70781
+ line: 22,
70583
70782
  column: 15
70584
70783
  }
70585
70784
  },
70586
70785
  "4": {
70587
70786
  start: {
70588
- line: 24,
70787
+ line: 25,
70589
70788
  column: 17
70590
70789
  },
70591
70790
  end: {
70592
- line: 34,
70791
+ line: 35,
70593
70792
  column: 1
70594
70793
  }
70595
70794
  },
70596
70795
  "5": {
70597
70796
  start: {
70598
- line: 25,
70797
+ line: 26,
70599
70798
  column: 2
70600
70799
  },
70601
70800
  end: {
70602
- line: 27,
70801
+ line: 28,
70603
70802
  column: 3
70604
70803
  }
70605
70804
  },
70606
70805
  "6": {
70607
70806
  start: {
70608
- line: 26,
70807
+ line: 27,
70609
70808
  column: 4
70610
70809
  },
70611
70810
  end: {
70612
- line: 26,
70811
+ line: 27,
70613
70812
  column: 43
70614
70813
  }
70615
70814
  },
70616
70815
  "7": {
70617
70816
  start: {
70618
- line: 29,
70817
+ line: 30,
70619
70818
  column: 2
70620
70819
  },
70621
70820
  end: {
70622
- line: 31,
70821
+ line: 32,
70623
70822
  column: 3
70624
70823
  }
70625
70824
  },
70626
70825
  "8": {
70627
70826
  start: {
70628
- line: 30,
70827
+ line: 31,
70629
70828
  column: 4
70630
70829
  },
70631
70830
  end: {
70632
- line: 30,
70831
+ line: 31,
70633
70832
  column: 29
70634
70833
  }
70635
70834
  },
70636
70835
  "9": {
70637
70836
  start: {
70638
- line: 33,
70837
+ line: 34,
70639
70838
  column: 2
70640
70839
  },
70641
70840
  end: {
70642
- line: 33,
70841
+ line: 34,
70643
70842
  column: 15
70644
70843
  }
70645
70844
  },
70646
70845
  "10": {
70647
70846
  start: {
70648
- line: 36,
70847
+ line: 37,
70649
70848
  column: 19
70650
70849
  },
70651
70850
  end: {
70652
- line: 83,
70851
+ line: 94,
70653
70852
  column: 1
70654
70853
  }
70655
70854
  },
70656
70855
  "11": {
70657
70856
  start: {
70658
- line: 43,
70857
+ line: 44,
70659
70858
  column: 62
70660
70859
  },
70661
70860
  end: {
70662
- line: 47,
70861
+ line: 48,
70663
70862
  column: 4
70664
70863
  }
70665
70864
  },
70666
70865
  "12": {
70667
70866
  start: {
70668
- line: 49,
70867
+ line: 50,
70669
70868
  column: 24
70670
70869
  },
70671
70870
  end: {
70672
- line: 49,
70871
+ line: 50,
70673
70872
  column: 34
70674
70873
  }
70675
70874
  },
70676
70875
  "13": {
70677
70876
  start: {
70678
- line: 51,
70679
- column: 2
70877
+ line: 52,
70878
+ column: 31
70680
70879
  },
70681
70880
  end: {
70682
- line: 57,
70881
+ line: 68,
70683
70882
  column: 3
70684
70883
  }
70685
70884
  },
70686
70885
  "14": {
70687
70886
  start: {
70688
- line: 52,
70689
- column: 4
70887
+ line: 54,
70888
+ column: 6
70690
70889
  },
70691
70890
  end: {
70891
+ line: 58,
70892
+ column: 7
70893
+ }
70894
+ },
70895
+ "15": {
70896
+ start: {
70897
+ line: 55,
70898
+ column: 8
70899
+ },
70900
+ end: {
70901
+ line: 55,
70902
+ column: 69
70903
+ }
70904
+ },
70905
+ "16": {
70906
+ start: {
70692
70907
  line: 56,
70908
+ column: 13
70909
+ },
70910
+ end: {
70911
+ line: 58,
70912
+ column: 7
70913
+ }
70914
+ },
70915
+ "17": {
70916
+ start: {
70917
+ line: 57,
70918
+ column: 8
70919
+ },
70920
+ end: {
70921
+ line: 57,
70922
+ column: 55
70923
+ }
70924
+ },
70925
+ "18": {
70926
+ start: {
70927
+ line: 60,
70693
70928
  column: 6
70929
+ },
70930
+ end: {
70931
+ line: 66,
70932
+ column: 8
70694
70933
  }
70695
70934
  },
70696
- "15": {
70935
+ "19": {
70697
70936
  start: {
70698
- line: 59,
70937
+ line: 70,
70699
70938
  column: 2
70700
70939
  },
70701
70940
  end: {
70702
- line: 82,
70941
+ line: 76,
70942
+ column: 3
70943
+ }
70944
+ },
70945
+ "20": {
70946
+ start: {
70947
+ line: 71,
70703
70948
  column: 4
70949
+ },
70950
+ end: {
70951
+ line: 75,
70952
+ column: 6
70704
70953
  }
70705
70954
  },
70706
- "16": {
70955
+ "21": {
70707
70956
  start: {
70708
- line: 66,
70957
+ line: 78,
70958
+ column: 2
70959
+ },
70960
+ end: {
70961
+ line: 93,
70962
+ column: 4
70963
+ }
70964
+ },
70965
+ "22": {
70966
+ start: {
70967
+ line: 85,
70709
70968
  column: 8
70710
70969
  },
70711
70970
  end: {
70712
- line: 79,
70971
+ line: 90,
70713
70972
  column: 14
70714
70973
  }
70715
70974
  }
@@ -70719,119 +70978,143 @@ function cov_29xlle89ll() {
70719
70978
  name: "(anonymous_0)",
70720
70979
  decl: {
70721
70980
  start: {
70722
- line: 16,
70981
+ line: 17,
70723
70982
  column: 17
70724
70983
  },
70725
70984
  end: {
70726
- line: 16,
70985
+ line: 17,
70727
70986
  column: 18
70728
70987
  }
70729
70988
  },
70730
70989
  loc: {
70731
70990
  start: {
70732
- line: 16,
70991
+ line: 17,
70733
70992
  column: 38
70734
70993
  },
70735
70994
  end: {
70736
- line: 22,
70995
+ line: 23,
70737
70996
  column: 1
70738
70997
  }
70739
70998
  },
70740
- line: 16
70999
+ line: 17
70741
71000
  },
70742
71001
  "1": {
70743
71002
  name: "(anonymous_1)",
70744
71003
  decl: {
70745
71004
  start: {
70746
- line: 24,
71005
+ line: 25,
70747
71006
  column: 17
70748
71007
  },
70749
71008
  end: {
70750
- line: 24,
71009
+ line: 25,
70751
71010
  column: 18
70752
71011
  }
70753
71012
  },
70754
71013
  loc: {
70755
71014
  start: {
70756
- line: 24,
71015
+ line: 25,
70757
71016
  column: 38
70758
71017
  },
70759
71018
  end: {
70760
- line: 34,
71019
+ line: 35,
70761
71020
  column: 1
70762
71021
  }
70763
71022
  },
70764
- line: 24
71023
+ line: 25
70765
71024
  },
70766
71025
  "2": {
70767
71026
  name: "(anonymous_2)",
70768
71027
  decl: {
70769
71028
  start: {
70770
- line: 36,
71029
+ line: 37,
70771
71030
  column: 19
70772
71031
  },
70773
71032
  end: {
70774
- line: 36,
71033
+ line: 37,
70775
71034
  column: 20
70776
71035
  }
70777
71036
  },
70778
71037
  loc: {
70779
71038
  start: {
70780
- line: 42,
71039
+ line: 43,
70781
71040
  column: 6
70782
71041
  },
70783
71042
  end: {
70784
- line: 83,
71043
+ line: 94,
70785
71044
  column: 1
70786
71045
  }
70787
71046
  },
70788
- line: 42
71047
+ line: 43
70789
71048
  },
70790
71049
  "3": {
70791
71050
  name: "(anonymous_3)",
70792
71051
  decl: {
70793
71052
  start: {
70794
- line: 65,
71053
+ line: 52,
71054
+ column: 31
71055
+ },
71056
+ end: {
71057
+ line: 52,
71058
+ column: 32
71059
+ }
71060
+ },
71061
+ loc: {
71062
+ start: {
71063
+ line: 52,
71064
+ column: 48
71065
+ },
71066
+ end: {
71067
+ line: 68,
71068
+ column: 3
71069
+ }
71070
+ },
71071
+ line: 52
71072
+ },
71073
+ "4": {
71074
+ name: "(anonymous_4)",
71075
+ decl: {
71076
+ start: {
71077
+ line: 84,
70795
71078
  column: 21
70796
71079
  },
70797
71080
  end: {
70798
- line: 65,
71081
+ line: 84,
70799
71082
  column: 22
70800
71083
  }
70801
71084
  },
70802
71085
  loc: {
70803
71086
  start: {
70804
- line: 66,
71087
+ line: 85,
70805
71088
  column: 8
70806
71089
  },
70807
71090
  end: {
70808
- line: 79,
71091
+ line: 90,
70809
71092
  column: 14
70810
71093
  }
70811
71094
  },
70812
- line: 66
71095
+ line: 85
70813
71096
  }
70814
71097
  },
70815
71098
  branchMap: {
70816
71099
  "0": {
70817
71100
  loc: {
70818
71101
  start: {
70819
- line: 17,
71102
+ line: 18,
70820
71103
  column: 2
70821
71104
  },
70822
71105
  end: {
70823
- line: 19,
71106
+ line: 20,
70824
71107
  column: 3
70825
71108
  }
70826
71109
  },
70827
71110
  type: "if",
70828
71111
  locations: [{
70829
71112
  start: {
70830
- line: 17,
71113
+ line: 18,
70831
71114
  column: 2
70832
71115
  },
70833
71116
  end: {
70834
- line: 19,
71117
+ line: 20,
70835
71118
  column: 3
70836
71119
  }
70837
71120
  }, {
@@ -70844,27 +71127,27 @@ function cov_29xlle89ll() {
70844
71127
  column: undefined
70845
71128
  }
70846
71129
  }],
70847
- line: 17
71130
+ line: 18
70848
71131
  },
70849
71132
  "1": {
70850
71133
  loc: {
70851
71134
  start: {
70852
- line: 25,
71135
+ line: 26,
70853
71136
  column: 2
70854
71137
  },
70855
71138
  end: {
70856
- line: 27,
71139
+ line: 28,
70857
71140
  column: 3
70858
71141
  }
70859
71142
  },
70860
71143
  type: "if",
70861
71144
  locations: [{
70862
71145
  start: {
70863
- line: 25,
71146
+ line: 26,
70864
71147
  column: 2
70865
71148
  },
70866
71149
  end: {
70867
- line: 27,
71150
+ line: 28,
70868
71151
  column: 3
70869
71152
  }
70870
71153
  }, {
@@ -70877,60 +71160,60 @@ function cov_29xlle89ll() {
70877
71160
  column: undefined
70878
71161
  }
70879
71162
  }],
70880
- line: 25
71163
+ line: 26
70881
71164
  },
70882
71165
  "2": {
70883
71166
  loc: {
70884
71167
  start: {
70885
- line: 26,
71168
+ line: 27,
70886
71169
  column: 11
70887
71170
  },
70888
71171
  end: {
70889
- line: 26,
71172
+ line: 27,
70890
71173
  column: 42
70891
71174
  }
70892
71175
  },
70893
71176
  type: "binary-expr",
70894
71177
  locations: [{
70895
71178
  start: {
70896
- line: 26,
71179
+ line: 27,
70897
71180
  column: 11
70898
71181
  },
70899
71182
  end: {
70900
- line: 26,
71183
+ line: 27,
70901
71184
  column: 16
70902
71185
  }
70903
71186
  }, {
70904
71187
  start: {
70905
- line: 26,
71188
+ line: 27,
70906
71189
  column: 20
70907
71190
  },
70908
71191
  end: {
70909
- line: 26,
71192
+ line: 27,
70910
71193
  column: 42
70911
71194
  }
70912
71195
  }],
70913
- line: 26
71196
+ line: 27
70914
71197
  },
70915
71198
  "3": {
70916
71199
  loc: {
70917
71200
  start: {
70918
- line: 29,
71201
+ line: 30,
70919
71202
  column: 2
70920
71203
  },
70921
71204
  end: {
70922
- line: 31,
71205
+ line: 32,
70923
71206
  column: 3
70924
71207
  }
70925
71208
  },
70926
71209
  type: "if",
70927
71210
  locations: [{
70928
71211
  start: {
70929
- line: 29,
71212
+ line: 30,
70930
71213
  column: 2
70931
71214
  },
70932
71215
  end: {
70933
- line: 31,
71216
+ line: 32,
70934
71217
  column: 3
70935
71218
  }
70936
71219
  }, {
@@ -70943,205 +71226,238 @@ function cov_29xlle89ll() {
70943
71226
  column: undefined
70944
71227
  }
70945
71228
  }],
70946
- line: 29
71229
+ line: 30
70947
71230
  },
70948
71231
  "4": {
70949
71232
  loc: {
70950
71233
  start: {
70951
- line: 37,
71234
+ line: 38,
70952
71235
  column: 2
70953
71236
  },
70954
71237
  end: {
70955
- line: 37,
71238
+ line: 38,
70956
71239
  column: 13
70957
71240
  }
70958
71241
  },
70959
71242
  type: "default-arg",
70960
71243
  locations: [{
70961
71244
  start: {
70962
- line: 37,
71245
+ line: 38,
70963
71246
  column: 11
70964
71247
  },
70965
71248
  end: {
70966
- line: 37,
71249
+ line: 38,
70967
71250
  column: 13
70968
71251
  }
70969
71252
  }],
70970
- line: 37
71253
+ line: 38
70971
71254
  },
70972
71255
  "5": {
70973
71256
  loc: {
70974
71257
  start: {
70975
- line: 38,
71258
+ line: 39,
70976
71259
  column: 2
70977
71260
  },
70978
71261
  end: {
70979
- line: 38,
71262
+ line: 39,
70980
71263
  column: 19
70981
71264
  }
70982
71265
  },
70983
71266
  type: "default-arg",
70984
71267
  locations: [{
70985
71268
  start: {
70986
- line: 38,
71269
+ line: 39,
70987
71270
  column: 17
70988
71271
  },
70989
71272
  end: {
70990
- line: 38,
71273
+ line: 39,
70991
71274
  column: 19
70992
71275
  }
70993
71276
  }],
70994
- line: 38
71277
+ line: 39
70995
71278
  },
70996
71279
  "6": {
70997
71280
  loc: {
70998
71281
  start: {
70999
- line: 39,
71282
+ line: 40,
71000
71283
  column: 2
71001
71284
  },
71002
71285
  end: {
71003
- line: 39,
71286
+ line: 40,
71004
71287
  column: 16
71005
71288
  }
71006
71289
  },
71007
71290
  type: "default-arg",
71008
71291
  locations: [{
71009
71292
  start: {
71010
- line: 39,
71293
+ line: 40,
71011
71294
  column: 14
71012
71295
  },
71013
71296
  end: {
71014
- line: 39,
71297
+ line: 40,
71015
71298
  column: 16
71016
71299
  }
71017
71300
  }],
71018
- line: 39
71301
+ line: 40
71019
71302
  },
71020
71303
  "7": {
71021
71304
  loc: {
71022
71305
  start: {
71023
- line: 40,
71306
+ line: 41,
71024
71307
  column: 2
71025
71308
  },
71026
71309
  end: {
71027
- line: 40,
71310
+ line: 41,
71028
71311
  column: 25
71029
71312
  }
71030
71313
  },
71031
71314
  type: "default-arg",
71032
71315
  locations: [{
71033
71316
  start: {
71034
- line: 40,
71317
+ line: 41,
71035
71318
  column: 23
71036
71319
  },
71037
71320
  end: {
71038
- line: 40,
71321
+ line: 41,
71039
71322
  column: 25
71040
71323
  }
71041
71324
  }],
71042
- line: 40
71325
+ line: 41
71043
71326
  },
71044
71327
  "8": {
71045
71328
  loc: {
71046
71329
  start: {
71047
- line: 41,
71330
+ line: 42,
71048
71331
  column: 2
71049
71332
  },
71050
71333
  end: {
71051
- line: 41,
71334
+ line: 42,
71052
71335
  column: 18
71053
71336
  }
71054
71337
  },
71055
71338
  type: "default-arg",
71056
71339
  locations: [{
71057
71340
  start: {
71058
- line: 41,
71341
+ line: 42,
71059
71342
  column: 16
71060
71343
  },
71061
71344
  end: {
71062
- line: 41,
71345
+ line: 42,
71063
71346
  column: 18
71064
71347
  }
71065
71348
  }],
71066
- line: 41
71349
+ line: 42
71067
71350
  },
71068
71351
  "9": {
71069
71352
  loc: {
71070
71353
  start: {
71071
- line: 43,
71354
+ line: 44,
71072
71355
  column: 16
71073
71356
  },
71074
71357
  end: {
71075
- line: 43,
71358
+ line: 44,
71076
71359
  column: 46
71077
71360
  }
71078
71361
  },
71079
71362
  type: "default-arg",
71080
71363
  locations: [{
71081
71364
  start: {
71082
- line: 43,
71365
+ line: 44,
71083
71366
  column: 29
71084
71367
  },
71085
71368
  end: {
71086
- line: 43,
71369
+ line: 44,
71087
71370
  column: 46
71088
71371
  }
71089
71372
  }],
71090
- line: 43
71373
+ line: 44
71091
71374
  },
71092
71375
  "10": {
71093
71376
  loc: {
71094
71377
  start: {
71095
- line: 46,
71378
+ line: 47,
71096
71379
  column: 16
71097
71380
  },
71098
71381
  end: {
71099
- line: 46,
71382
+ line: 47,
71100
71383
  column: 38
71101
71384
  }
71102
71385
  },
71103
71386
  type: "binary-expr",
71104
71387
  locations: [{
71105
71388
  start: {
71106
- line: 46,
71389
+ line: 47,
71107
71390
  column: 16
71108
71391
  },
71109
71392
  end: {
71110
- line: 46,
71393
+ line: 47,
71111
71394
  column: 22
71112
71395
  }
71113
71396
  }, {
71114
71397
  start: {
71115
- line: 46,
71398
+ line: 47,
71116
71399
  column: 26
71117
71400
  },
71118
71401
  end: {
71119
- line: 46,
71402
+ line: 47,
71120
71403
  column: 38
71121
71404
  }
71122
71405
  }],
71123
- line: 46
71406
+ line: 47
71124
71407
  },
71125
71408
  "11": {
71126
71409
  loc: {
71127
71410
  start: {
71128
- line: 51,
71129
- column: 2
71411
+ line: 54,
71412
+ column: 6
71130
71413
  },
71131
71414
  end: {
71132
- line: 57,
71133
- column: 3
71415
+ line: 58,
71416
+ column: 7
71134
71417
  }
71135
71418
  },
71136
71419
  type: "if",
71137
71420
  locations: [{
71138
71421
  start: {
71139
- line: 51,
71140
- column: 2
71422
+ line: 54,
71423
+ column: 6
71141
71424
  },
71142
71425
  end: {
71143
- line: 57,
71144
- column: 3
71426
+ line: 58,
71427
+ column: 7
71428
+ }
71429
+ }, {
71430
+ start: {
71431
+ line: 56,
71432
+ column: 13
71433
+ },
71434
+ end: {
71435
+ line: 58,
71436
+ column: 7
71437
+ }
71438
+ }],
71439
+ line: 54
71440
+ },
71441
+ "12": {
71442
+ loc: {
71443
+ start: {
71444
+ line: 56,
71445
+ column: 13
71446
+ },
71447
+ end: {
71448
+ line: 58,
71449
+ column: 7
71450
+ }
71451
+ },
71452
+ type: "if",
71453
+ locations: [{
71454
+ start: {
71455
+ line: 56,
71456
+ column: 13
71457
+ },
71458
+ end: {
71459
+ line: 58,
71460
+ column: 7
71145
71461
  }
71146
71462
  }, {
71147
71463
  start: {
@@ -71153,37 +71469,37 @@ function cov_29xlle89ll() {
71153
71469
  column: undefined
71154
71470
  }
71155
71471
  }],
71156
- line: 51
71472
+ line: 56
71157
71473
  },
71158
- "12": {
71474
+ "13": {
71159
71475
  loc: {
71160
71476
  start: {
71161
71477
  line: 70,
71162
- column: 11
71478
+ column: 2
71163
71479
  },
71164
71480
  end: {
71165
- line: 78,
71166
- column: 11
71481
+ line: 76,
71482
+ column: 3
71167
71483
  }
71168
71484
  },
71169
- type: "cond-expr",
71485
+ type: "if",
71170
71486
  locations: [{
71171
71487
  start: {
71172
- line: 71,
71173
- column: 12
71488
+ line: 70,
71489
+ column: 2
71174
71490
  },
71175
71491
  end: {
71176
- line: 71,
71177
- column: 65
71492
+ line: 76,
71493
+ column: 3
71178
71494
  }
71179
71495
  }, {
71180
71496
  start: {
71181
- line: 73,
71182
- column: 12
71497
+ line: undefined,
71498
+ column: undefined
71183
71499
  },
71184
71500
  end: {
71185
- line: 77,
71186
- column: 25
71501
+ line: undefined,
71502
+ column: undefined
71187
71503
  }
71188
71504
  }],
71189
71505
  line: 70
@@ -71206,13 +71522,20 @@ function cov_29xlle89ll() {
71206
71522
  "13": 0,
71207
71523
  "14": 0,
71208
71524
  "15": 0,
71209
- "16": 0
71525
+ "16": 0,
71526
+ "17": 0,
71527
+ "18": 0,
71528
+ "19": 0,
71529
+ "20": 0,
71530
+ "21": 0,
71531
+ "22": 0
71210
71532
  },
71211
71533
  f: {
71212
71534
  "0": 0,
71213
71535
  "1": 0,
71214
71536
  "2": 0,
71215
- "3": 0
71537
+ "3": 0,
71538
+ "4": 0
71216
71539
  },
71217
71540
  b: {
71218
71541
  "0": [0, 0],
@@ -71227,10 +71550,11 @@ function cov_29xlle89ll() {
71227
71550
  "9": [0],
71228
71551
  "10": [0, 0],
71229
71552
  "11": [0, 0],
71230
- "12": [0, 0]
71553
+ "12": [0, 0],
71554
+ "13": [0, 0]
71231
71555
  },
71232
71556
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
71233
- hash: "a2cc6e5e3d86c8258ed8b91505a2056ac64c90ff"
71557
+ hash: "c62c7cdd0a05bcdbc09bb134860adb35bde42935"
71234
71558
  };
71235
71559
  var coverage = global[gcv] || (global[gcv] = {});
71236
71560
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -71312,24 +71636,63 @@ var Submission = function Submission(_ref3) {
71312
71636
  var _ref5 = (cov_29xlle89ll().s[12]++, submission),
71313
71637
  responses = _ref5.responses;
71314
71638
  cov_29xlle89ll().s[13]++;
71639
+ var renderSubmittedValue = function renderSubmittedValue(kind, value) {
71640
+ cov_29xlle89ll().f[3]++;
71641
+ {
71642
+ cov_29xlle89ll().s[14]++;
71643
+ if (kind === QUESTION_KIND.RICH_TEXT.value) {
71644
+ cov_29xlle89ll().b[11][0]++;
71645
+ cov_29xlle89ll().s[15]++;
71646
+ return /*#__PURE__*/React__default["default"].createElement(neetoEditor.EditorContent, {
71647
+ content: getValue({
71648
+ value: value,
71649
+ kind: kind
71650
+ })
71651
+ });
71652
+ } else {
71653
+ cov_29xlle89ll().b[11][1]++;
71654
+ cov_29xlle89ll().s[16]++;
71655
+ if (kind === QUESTION_KIND.PHONE.value) {
71656
+ cov_29xlle89ll().b[12][0]++;
71657
+ cov_29xlle89ll().s[17]++;
71658
+ return /*#__PURE__*/React__default["default"].createElement(PhoneNumber$1.PhoneNumber, {
71659
+ showEmoji: true,
71660
+ value: value
71661
+ });
71662
+ } else {
71663
+ cov_29xlle89ll().b[12][1]++;
71664
+ }
71665
+ }
71666
+ cov_29xlle89ll().s[18]++;
71667
+ return /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, _extends$9({
71668
+ weight: "semibold"
71669
+ }, answerProps), /*#__PURE__*/React__default["default"].createElement(_default, {
71670
+ componentDecorator: linkifyDecorator
71671
+ }, getValue({
71672
+ value: value,
71673
+ kind: kind
71674
+ })));
71675
+ }
71676
+ };
71677
+ cov_29xlle89ll().s[19]++;
71315
71678
  if (isLoading) {
71316
- cov_29xlle89ll().b[11][0]++;
71317
- cov_29xlle89ll().s[14]++;
71679
+ cov_29xlle89ll().b[13][0]++;
71680
+ cov_29xlle89ll().s[20]++;
71318
71681
  return /*#__PURE__*/React__default["default"].createElement("div", {
71319
71682
  className: "flex h-full w-full items-center justify-center"
71320
71683
  }, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
71321
71684
  } else {
71322
- cov_29xlle89ll().b[11][1]++;
71685
+ cov_29xlle89ll().b[13][1]++;
71323
71686
  }
71324
- cov_29xlle89ll().s[15]++;
71687
+ cov_29xlle89ll().s[21]++;
71325
71688
  return /*#__PURE__*/React__default["default"].createElement("div", {
71326
71689
  className: classnames__default["default"]("mx-auto flex h-full w-full flex-col items-start", _defineProperty$a({}, className, className))
71327
71690
  }, responses.map(function (_ref6) {
71328
71691
  var kind = _ref6.kind,
71329
71692
  label = _ref6.label,
71330
71693
  value = _ref6.value;
71331
- cov_29xlle89ll().f[3]++;
71332
- cov_29xlle89ll().s[16]++;
71694
+ cov_29xlle89ll().f[4]++;
71695
+ cov_29xlle89ll().s[22]++;
71333
71696
  return /*#__PURE__*/React__default["default"].createElement("div", {
71334
71697
  className: "mb-4",
71335
71698
  key: label
@@ -71339,19 +71702,7 @@ var Submission = function Submission(_ref3) {
71339
71702
  }, questionLabelProps), getLabel({
71340
71703
  label: label,
71341
71704
  kind: kind
71342
- })), kind === QUESTION_KIND.RICH_TEXT.value ? (cov_29xlle89ll().b[12][0]++, /*#__PURE__*/React__default["default"].createElement(neetoEditor.EditorContent, {
71343
- content: getValue({
71344
- value: value,
71345
- kind: kind
71346
- })
71347
- })) : (cov_29xlle89ll().b[12][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, _extends$9({
71348
- weight: "semibold"
71349
- }, answerProps), /*#__PURE__*/React__default["default"].createElement(_default, {
71350
- componentDecorator: linkifyDecorator
71351
- }, getValue({
71352
- value: value,
71353
- kind: kind
71354
- })))));
71705
+ })), renderSubmittedValue(kind, value));
71355
71706
  }));
71356
71707
  };
71357
71708