@bigbinary/neeto-form-frontend 1.0.24 → 1.0.26

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
@@ -24558,7 +24558,7 @@ function cov_2dmleb6ptc() {
24558
24558
  }
24559
24559
  cov_2dmleb6ptc();
24560
24560
  cov_2dmleb6ptc().s[0]++;
24561
- var Dropdown = function Dropdown(_ref) {
24561
+ var Dropdown$1 = function Dropdown(_ref) {
24562
24562
  var item = _ref.item,
24563
24563
  name = _ref.name,
24564
24564
  isRequired = _ref.isRequired;
@@ -24780,7 +24780,7 @@ function cov_27ckchp1ss() {
24780
24780
  }
24781
24781
  cov_27ckchp1ss();
24782
24782
  cov_27ckchp1ss().s[0]++;
24783
- var Email = function Email(_ref) {
24783
+ var Email$1 = function Email(_ref) {
24784
24784
  var name = _ref.name,
24785
24785
  isRequired = _ref.isRequired;
24786
24786
  cov_27ckchp1ss().f[0]++;
@@ -24941,7 +24941,7 @@ function cov_1b2ulkh5av() {
24941
24941
  }
24942
24942
  cov_1b2ulkh5av();
24943
24943
  cov_1b2ulkh5av().s[0]++;
24944
- var LongText = function LongText(_ref) {
24944
+ var LongText$1 = function LongText(_ref) {
24945
24945
  var name = _ref.name,
24946
24946
  isRequired = _ref.isRequired;
24947
24947
  cov_1b2ulkh5av().f[0]++;
@@ -25359,7 +25359,7 @@ function cov_ezislrxf8() {
25359
25359
  }
25360
25360
  cov_ezislrxf8();
25361
25361
  cov_ezislrxf8().s[0]++;
25362
- var MultipleChoice = function MultipleChoice(_ref) {
25362
+ var MultipleChoice$1 = function MultipleChoice(_ref) {
25363
25363
  var item = _ref.item,
25364
25364
  name = _ref.name,
25365
25365
  isRequired = _ref.isRequired;
@@ -25572,7 +25572,7 @@ function cov_sj6n6ei6b() {
25572
25572
  }
25573
25573
  cov_sj6n6ei6b();
25574
25574
  cov_sj6n6ei6b().s[0]++;
25575
- var Phone = function Phone(_ref) {
25575
+ var Phone$1 = function Phone(_ref) {
25576
25576
  var name = _ref.name,
25577
25577
  isRequired = _ref.isRequired;
25578
25578
  cov_sj6n6ei6b().f[0]++;
@@ -25789,7 +25789,7 @@ var RatingItem = function RatingItem(_ref) {
25789
25789
  }, children);
25790
25790
  };
25791
25791
  cov_2mbawiwhpy().s[2]++;
25792
- var Rating$1 = function Rating(_ref2) {
25792
+ var Rating$2 = function Rating(_ref2) {
25793
25793
  var name = _ref2.name,
25794
25794
  isRequired = _ref2.isRequired;
25795
25795
  cov_2mbawiwhpy().f[1]++;
@@ -25964,7 +25964,7 @@ function cov_ahxbwc6e2() {
25964
25964
  }
25965
25965
  cov_ahxbwc6e2();
25966
25966
  cov_ahxbwc6e2().s[0]++;
25967
- var ShortText = function ShortText(_ref) {
25967
+ var ShortText$1 = function ShortText(_ref) {
25968
25968
  var name = _ref.name,
25969
25969
  isRequired = _ref.isRequired;
25970
25970
  cov_ahxbwc6e2().f[0]++;
@@ -26381,7 +26381,7 @@ function cov_1p625a7ih4() {
26381
26381
  }
26382
26382
  cov_1p625a7ih4();
26383
26383
  cov_1p625a7ih4().s[0]++;
26384
- var SingleChoice = function SingleChoice(_ref) {
26384
+ var SingleChoice$1 = function SingleChoice(_ref) {
26385
26385
  var item = _ref.item,
26386
26386
  name = _ref.name,
26387
26387
  isRequired = _ref.isRequired;
@@ -26688,7 +26688,7 @@ function cov_h8r08qzr() {
26688
26688
  }
26689
26689
  cov_h8r08qzr();
26690
26690
  cov_h8r08qzr().s[0]++;
26691
- var StarRating$1 = function StarRating(_ref) {
26691
+ var StarRating$2 = function StarRating(_ref) {
26692
26692
  var name = _ref.name,
26693
26693
  isRequired = _ref.isRequired;
26694
26694
  cov_h8r08qzr().f[0]++;
@@ -26989,7 +26989,7 @@ function cov_12g0frjp3f() {
26989
26989
  }
26990
26990
  cov_12g0frjp3f();
26991
26991
  cov_12g0frjp3f().s[0]++;
26992
- var Terms$2 = function Terms(_ref) {
26992
+ var Terms$3 = function Terms(_ref) {
26993
26993
  var name = _ref.name;
26994
26994
  cov_12g0frjp3f().f[0]++;
26995
26995
  var editorRef = (cov_12g0frjp3f().s[1]++, React$2.useRef(null));
@@ -27036,19 +27036,32 @@ var Terms$2 = function Terms(_ref) {
27036
27036
 
27037
27037
  function cov_2qk3dozy47() {
27038
27038
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/index.js";
27039
- var hash = "277d24c4aea3c5f3a20d3c5388d14f16bbb74179";
27039
+ var hash = "f240b3dc3957b377c9acff43090e6d3d1fca5bb0";
27040
27040
  var global = new Function("return this")();
27041
27041
  var gcv = "__coverage__";
27042
27042
  var coverageData = {
27043
27043
  path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/index.js",
27044
- statementMap: {},
27044
+ statementMap: {
27045
+ "0": {
27046
+ start: {
27047
+ line: 12,
27048
+ column: 15
27049
+ },
27050
+ end: {
27051
+ line: 23,
27052
+ column: 1
27053
+ }
27054
+ }
27055
+ },
27045
27056
  fnMap: {},
27046
27057
  branchMap: {},
27047
- s: {},
27058
+ s: {
27059
+ "0": 0
27060
+ },
27048
27061
  f: {},
27049
27062
  b: {},
27050
27063
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
27051
- hash: "277d24c4aea3c5f3a20d3c5388d14f16bbb74179"
27064
+ hash: "f240b3dc3957b377c9acff43090e6d3d1fca5bb0"
27052
27065
  };
27053
27066
  var coverage = global[gcv] || (global[gcv] = {});
27054
27067
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -27064,6 +27077,18 @@ function cov_2qk3dozy47() {
27064
27077
  return actualCoverage;
27065
27078
  }
27066
27079
  cov_2qk3dozy47();
27080
+ var Fields = (cov_2qk3dozy47().s[0]++, {
27081
+ Email: Email$1,
27082
+ Dropdown: Dropdown$1,
27083
+ ShortText: ShortText$1,
27084
+ LongText: LongText$1,
27085
+ MultipleChoice: MultipleChoice$1,
27086
+ SingleChoice: SingleChoice$1,
27087
+ Phone: Phone$1,
27088
+ Rating: Rating$2,
27089
+ Terms: Terms$3,
27090
+ StarRating: StarRating$2
27091
+ });
27067
27092
 
27068
27093
  function cov_2gcfk56wsh() {
27069
27094
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Editor.jsx";
@@ -27396,7 +27421,7 @@ var Editor = function Editor(_ref) {
27396
27421
 
27397
27422
  function cov_2j8tlu2ul5() {
27398
27423
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
27399
- var hash = "4f6df693ca82c2555b57cb2705ed6d1f7c5ecb47";
27424
+ var hash = "cf06aa225404e0ebe444d6f1219d393c9ffc9417";
27400
27425
  var global = new Function("return this")();
27401
27426
  var gcv = "__coverage__";
27402
27427
  var coverageData = {
@@ -27405,50 +27430,60 @@ function cov_2j8tlu2ul5() {
27405
27430
  "0": {
27406
27431
  start: {
27407
27432
  line: 29,
27408
- column: 40
27433
+ column: 4
27409
27434
  },
27410
27435
  end: {
27411
27436
  line: 29,
27412
- column: 41
27437
+ column: 10
27413
27438
  }
27414
27439
  },
27415
27440
  "1": {
27416
27441
  start: {
27417
- line: 30,
27418
- column: 35
27442
+ line: 31,
27443
+ column: 40
27419
27444
  },
27420
27445
  end: {
27421
- line: 30,
27422
- column: 36
27446
+ line: 31,
27447
+ column: 41
27423
27448
  }
27424
27449
  },
27425
27450
  "2": {
27426
27451
  start: {
27427
27452
  line: 32,
27428
- column: 30
27453
+ column: 35
27429
27454
  },
27430
27455
  end: {
27431
- line: 175,
27432
- column: 1
27456
+ line: 32,
27457
+ column: 36
27433
27458
  }
27434
27459
  },
27435
27460
  "3": {
27436
27461
  start: {
27437
- line: 178,
27438
- column: 38
27462
+ line: 34,
27463
+ column: 30
27439
27464
  },
27440
27465
  end: {
27441
- line: 181,
27466
+ line: 177,
27442
27467
  column: 1
27443
27468
  }
27444
27469
  },
27445
27470
  "4": {
27446
27471
  start: {
27472
+ line: 180,
27473
+ column: 38
27474
+ },
27475
+ end: {
27447
27476
  line: 183,
27477
+ column: 1
27478
+ }
27479
+ },
27480
+ "5": {
27481
+ start: {
27482
+ line: 185,
27448
27483
  column: 29
27449
27484
  },
27450
27485
  end: {
27451
- line: 183,
27486
+ line: 185,
27452
27487
  column: 62
27453
27488
  }
27454
27489
  }
@@ -27460,12 +27495,13 @@ function cov_2j8tlu2ul5() {
27460
27495
  "1": 0,
27461
27496
  "2": 0,
27462
27497
  "3": 0,
27463
- "4": 0
27498
+ "4": 0,
27499
+ "5": 0
27464
27500
  },
27465
27501
  f: {},
27466
27502
  b: {},
27467
27503
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
27468
- hash: "4f6df693ca82c2555b57cb2705ed6d1f7c5ecb47"
27504
+ hash: "cf06aa225404e0ebe444d6f1219d393c9ffc9417"
27469
27505
  };
27470
27506
  var coverage = global[gcv] || (global[gcv] = {});
27471
27507
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -27481,178 +27517,175 @@ function cov_2j8tlu2ul5() {
27481
27517
  return actualCoverage;
27482
27518
  }
27483
27519
  cov_2j8tlu2ul5();
27484
- var SINGLE_CHOICE_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[0]++, 2);
27485
- var DROPDOWN_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[1]++, 2);
27486
- var QUESTION_KINDS = (cov_2j8tlu2ul5().s[2]++, {
27487
- email: {
27488
- type: "email",
27489
- label: instance.t("fields.eif"),
27490
- isSingular: true,
27491
- labelPlaceholder: instance.t("common.email"),
27492
- icon: neetoIcons.Email,
27493
- component: Email,
27494
- defaults: {
27495
- label: ""
27496
- }
27497
- },
27498
- phone: {
27499
- type: "phone",
27500
- label: instance.t("fields.pif"),
27501
- isSingular: true,
27502
- labelPlaceholder: instance.t("common.phNo"),
27503
- icon: neetoIcons.Phone,
27504
- component: Phone,
27505
- defaults: {
27506
- label: ""
27507
- }
27508
- },
27509
- name: {
27510
- type: "name",
27511
- label: instance.t("fields.nif"),
27512
- isSingular: true,
27513
- labelPlaceholder: instance.t("common.name"),
27514
- icon: neetoIcons.Input,
27515
- component: ShortText,
27516
- defaults: {
27517
- label: ""
27518
- }
27519
- },
27520
- text: {
27521
- type: "text",
27522
- label: instance.t("fields.tif"),
27523
- isSingular: false,
27524
- labelPlaceholder: instance.t("common.text"),
27525
- icon: neetoIcons.Input,
27526
- component: ShortText,
27527
- defaults: {
27520
+ var _ref$1 = (cov_2j8tlu2ul5().s[0]++, Fields),
27521
+ Email = _ref$1.Email,
27522
+ Dropdown = _ref$1.Dropdown,
27523
+ ShortText = _ref$1.ShortText,
27524
+ LongText = _ref$1.LongText,
27525
+ MultipleChoice = _ref$1.MultipleChoice,
27526
+ SingleChoice = _ref$1.SingleChoice,
27527
+ Phone = _ref$1.Phone,
27528
+ Rating$1 = _ref$1.Rating,
27529
+ Terms$2 = _ref$1.Terms,
27530
+ StarRating$1 = _ref$1.StarRating;
27531
+ var SINGLE_CHOICE_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[1]++, 2);
27532
+ var DROPDOWN_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[2]++, 2);
27533
+ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
27534
+ type: "email",
27535
+ label: instance.t("fields.eif"),
27536
+ isSingular: true,
27537
+ labelPlaceholder: instance.t("common.email"),
27538
+ icon: neetoIcons.Email,
27539
+ component: Email,
27540
+ defaults: {
27541
+ label: ""
27542
+ }
27543
+ }, {
27544
+ type: "phone",
27545
+ label: instance.t("fields.pif"),
27546
+ isSingular: true,
27547
+ labelPlaceholder: instance.t("common.phNo"),
27548
+ icon: neetoIcons.Phone,
27549
+ component: Phone,
27550
+ defaults: {
27551
+ label: ""
27552
+ }
27553
+ }, {
27554
+ type: "name",
27555
+ label: instance.t("fields.nif"),
27556
+ isSingular: true,
27557
+ labelPlaceholder: instance.t("common.name"),
27558
+ icon: neetoIcons.Input,
27559
+ component: ShortText,
27560
+ defaults: {
27561
+ label: ""
27562
+ }
27563
+ }, {
27564
+ type: "text",
27565
+ label: instance.t("fields.tif"),
27566
+ isSingular: false,
27567
+ labelPlaceholder: instance.t("common.text"),
27568
+ icon: neetoIcons.Input,
27569
+ component: ShortText,
27570
+ defaults: {
27571
+ label: ""
27572
+ }
27573
+ }, {
27574
+ type: "question",
27575
+ label: instance.t("fields.qif"),
27576
+ isSingular: false,
27577
+ icon: neetoIcons.Input,
27578
+ component: LongText,
27579
+ defaults: {
27580
+ label: ""
27581
+ }
27582
+ }, {
27583
+ type: "textarea",
27584
+ label: instance.t("fields.def"),
27585
+ isSingular: false,
27586
+ icon: neetoIcons.NeetoInvisible,
27587
+ component: Editor,
27588
+ defaults: {
27589
+ label: ""
27590
+ }
27591
+ }, {
27592
+ type: "checkbox",
27593
+ label: instance.t("fields.mcf"),
27594
+ isSingular: false,
27595
+ icon: neetoIcons.MultipleChoice,
27596
+ component: MultipleChoice,
27597
+ defaults: {
27598
+ label: "",
27599
+ isRequired: false,
27600
+ optionsAttributes: [{
27528
27601
  label: ""
27529
- }
27530
- },
27531
- question: {
27532
- type: "question",
27533
- label: instance.t("fields.qif"),
27534
- isSingular: false,
27535
- icon: neetoIcons.Input,
27536
- component: LongText,
27537
- defaults: {
27602
+ }]
27603
+ }
27604
+ }, {
27605
+ type: "radio",
27606
+ label: instance.t("fields.scf"),
27607
+ isSingular: false,
27608
+ icon: neetoIcons.ListDot,
27609
+ component: SingleChoice,
27610
+ defaults: {
27611
+ label: "",
27612
+ isRequired: false,
27613
+ optionsAttributes: new Array(SINGLE_CHOICE_FIELD_MIN_OPTIONS).fill({
27538
27614
  label: ""
27539
- }
27540
- },
27541
- textarea: {
27542
- type: "textarea",
27543
- label: instance.t("fields.def"),
27544
- isSingular: false,
27545
- icon: neetoIcons.NeetoInvisible,
27546
- component: Editor,
27547
- defaults: {
27615
+ })
27616
+ }
27617
+ }, {
27618
+ type: "dropdown",
27619
+ label: instance.t("fields.drf"),
27620
+ isSingular: false,
27621
+ icon: neetoIcons.Dropdown,
27622
+ component: Dropdown,
27623
+ defaults: {
27624
+ label: "",
27625
+ isRequired: false,
27626
+ optionsAttributes: new Array(DROPDOWN_FIELD_MIN_OPTIONS).fill({
27548
27627
  label: ""
27549
- }
27550
- },
27551
- checkbox: {
27552
- type: "checkbox",
27553
- label: instance.t("fields.mcf"),
27554
- isSingular: false,
27555
- icon: neetoIcons.MultipleChoice,
27556
- component: MultipleChoice,
27557
- defaults: {
27558
- label: "",
27559
- isRequired: false,
27560
- optionsAttributes: [{
27561
- label: ""
27562
- }]
27563
- }
27564
- },
27565
- radio: {
27566
- type: "radio",
27567
- label: instance.t("fields.scf"),
27568
- isSingular: false,
27569
- icon: neetoIcons.ListDot,
27570
- component: SingleChoice,
27571
- defaults: {
27572
- label: "",
27573
- isRequired: false,
27574
- optionsAttributes: new Array(SINGLE_CHOICE_FIELD_MIN_OPTIONS).fill({
27575
- label: ""
27576
- })
27577
- }
27578
- },
27579
- dropdown: {
27580
- type: "dropdown",
27581
- label: instance.t("fields.drf"),
27582
- isSingular: false,
27583
- icon: neetoIcons.Dropdown,
27584
- component: Dropdown,
27585
- defaults: {
27586
- label: "",
27587
- isRequired: false,
27588
- optionsAttributes: new Array(DROPDOWN_FIELD_MIN_OPTIONS).fill({
27589
- label: ""
27590
- })
27591
- }
27592
- },
27593
- star_rating: {
27594
- type: "star_rating",
27595
- label: instance.t("fields.rif"),
27596
- isSingular: false,
27597
- icon: neetoIcons.Rating,
27598
- component: StarRating$1,
27599
- defaults: {
27600
- label: "",
27601
- isRequired: true,
27602
- count: 5,
27603
- shape: "star"
27604
- }
27605
- },
27606
- rating: {
27607
- type: "rating",
27608
- label: instance.t("fields.fbf"),
27609
- isSingular: false,
27610
- icon: neetoIcons.Smiley,
27611
- component: Rating$1,
27612
- defaults: {
27613
- label: "",
27614
- isRequired: true,
27615
- highestRatingLabel: "",
27616
- averageRatingLabel: "",
27617
- lowestRatingLabel: ""
27618
- }
27619
- },
27620
- termsandcondition: {
27621
- type: "termsandcondition",
27622
- label: instance.t("fields.tcf"),
27623
- isSingular: true,
27624
- icon: neetoIcons.NeetoInvisible,
27625
- component: Terms$2,
27626
- defaults: {
27627
- termsLink: "",
27628
- privacyPolicyLink: "",
27629
- isRequired: true,
27630
- label: instance.t("common.agreeTermsAndConditions")
27631
- }
27632
- },
27633
- date: {
27634
- type: "date",
27635
- label: instance.t("fields.date"),
27636
- isSingular: false,
27637
- icon: neetoIcons.Calendar,
27638
- component: ShortText,
27639
- defaults: {
27640
- label: "",
27641
- isRequired: true
27642
- }
27628
+ })
27643
27629
  }
27644
- });
27630
+ }, {
27631
+ type: "star_rating",
27632
+ label: instance.t("fields.rif"),
27633
+ isSingular: false,
27634
+ icon: neetoIcons.Rating,
27635
+ component: StarRating$1,
27636
+ defaults: {
27637
+ label: "",
27638
+ isRequired: true,
27639
+ count: 5,
27640
+ shape: "star"
27641
+ }
27642
+ }, {
27643
+ type: "rating",
27644
+ label: instance.t("fields.fbf"),
27645
+ isSingular: false,
27646
+ icon: neetoIcons.Smiley,
27647
+ component: Rating$1,
27648
+ defaults: {
27649
+ label: "",
27650
+ isRequired: true,
27651
+ highestRatingLabel: "",
27652
+ averageRatingLabel: "",
27653
+ lowestRatingLabel: ""
27654
+ }
27655
+ }, {
27656
+ type: "termsandcondition",
27657
+ label: instance.t("fields.tcf"),
27658
+ isSingular: true,
27659
+ icon: neetoIcons.NeetoInvisible,
27660
+ component: Terms$2,
27661
+ defaults: {
27662
+ termsLink: "",
27663
+ privacyPolicyLink: "",
27664
+ isRequired: true,
27665
+ label: instance.t("common.agreeTermsAndConditions")
27666
+ }
27667
+ }, {
27668
+ type: "date",
27669
+ label: instance.t("fields.date"),
27670
+ isSingular: false,
27671
+ icon: neetoIcons.Calendar,
27672
+ component: ShortText,
27673
+ defaults: {
27674
+ label: "",
27675
+ isRequired: true
27676
+ }
27677
+ }]);
27645
27678
 
27646
27679
  // To show the question type as label in accordion
27647
- var INDEPENDENT_LABELS_MAP = (cov_2j8tlu2ul5().s[3]++, {
27680
+ var INDEPENDENT_LABELS_MAP = (cov_2j8tlu2ul5().s[4]++, {
27648
27681
  textarea: "Paragraph",
27649
27682
  termsandcondition: "Terms & conditions"
27650
27683
  });
27651
- var PADDED_FIELDS = (cov_2j8tlu2ul5().s[4]++, ["textarea", "termsandcondition"]);
27684
+ var PADDED_FIELDS = (cov_2j8tlu2ul5().s[5]++, ["textarea", "termsandcondition"]);
27652
27685
 
27653
27686
  function cov_xwc6pppkl() {
27654
27687
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/FormField.jsx";
27655
- var hash = "cba680cb5d1feec4877d26f79a7d90373fc66039";
27688
+ var hash = "c22b8999f9a44ff11944e9508195eb2aa07200ac";
27656
27689
  var global = new Function("return this")();
27657
27690
  var gcv = "__coverage__";
27658
27691
  var coverageData = {
@@ -27660,61 +27693,61 @@ function cov_xwc6pppkl() {
27660
27693
  statementMap: {
27661
27694
  "0": {
27662
27695
  start: {
27663
- line: 10,
27696
+ line: 12,
27664
27697
  column: 18
27665
27698
  },
27666
27699
  end: {
27667
- line: 48,
27700
+ line: 50,
27668
27701
  column: 1
27669
27702
  }
27670
27703
  },
27671
27704
  "1": {
27672
27705
  start: {
27673
- line: 22,
27706
+ line: 24,
27674
27707
  column: 6
27675
27708
  },
27676
27709
  end: {
27677
- line: 22,
27710
+ line: 24,
27678
27711
  column: 11
27679
27712
  }
27680
27713
  },
27681
27714
  "2": {
27682
27715
  start: {
27683
- line: 23,
27716
+ line: 25,
27684
27717
  column: 26
27685
27718
  },
27686
27719
  end: {
27687
- line: 23,
27720
+ line: 25,
27688
27721
  column: 30
27689
27722
  }
27690
27723
  },
27691
27724
  "3": {
27692
27725
  start: {
27693
- line: 29,
27726
+ line: 31,
27694
27727
  column: 6
27695
27728
  },
27696
27729
  end: {
27697
- line: 29,
27698
- column: 26
27730
+ line: 31,
27731
+ column: 44
27699
27732
  }
27700
27733
  },
27701
27734
  "4": {
27702
27735
  start: {
27703
- line: 31,
27736
+ line: 33,
27704
27737
  column: 2
27705
27738
  },
27706
27739
  end: {
27707
- line: 47,
27740
+ line: 49,
27708
27741
  column: 4
27709
27742
  }
27710
27743
  },
27711
27744
  "5": {
27712
27745
  start: {
27713
- line: 43,
27746
+ line: 45,
27714
27747
  column: 22
27715
27748
  },
27716
27749
  end: {
27717
- line: 43,
27750
+ line: 45,
27718
27751
  column: 51
27719
27752
  }
27720
27753
  }
@@ -27724,141 +27757,141 @@ function cov_xwc6pppkl() {
27724
27757
  name: "(anonymous_0)",
27725
27758
  decl: {
27726
27759
  start: {
27727
- line: 10,
27760
+ line: 12,
27728
27761
  column: 18
27729
27762
  },
27730
27763
  end: {
27731
- line: 10,
27764
+ line: 12,
27732
27765
  column: 19
27733
27766
  }
27734
27767
  },
27735
27768
  loc: {
27736
27769
  start: {
27737
- line: 10,
27770
+ line: 12,
27738
27771
  column: 27
27739
27772
  },
27740
27773
  end: {
27741
- line: 48,
27774
+ line: 50,
27742
27775
  column: 1
27743
27776
  }
27744
27777
  },
27745
- line: 10
27778
+ line: 12
27746
27779
  },
27747
27780
  "1": {
27748
27781
  name: "(anonymous_1)",
27749
27782
  decl: {
27750
27783
  start: {
27751
- line: 43,
27784
+ line: 45,
27752
27785
  column: 16
27753
27786
  },
27754
27787
  end: {
27755
- line: 43,
27788
+ line: 45,
27756
27789
  column: 17
27757
27790
  }
27758
27791
  },
27759
27792
  loc: {
27760
27793
  start: {
27761
- line: 43,
27794
+ line: 45,
27762
27795
  column: 22
27763
27796
  },
27764
27797
  end: {
27765
- line: 43,
27798
+ line: 45,
27766
27799
  column: 51
27767
27800
  }
27768
27801
  },
27769
- line: 43
27802
+ line: 45
27770
27803
  }
27771
27804
  },
27772
27805
  branchMap: {
27773
27806
  "0": {
27774
27807
  loc: {
27775
27808
  start: {
27776
- line: 13,
27809
+ line: 15,
27777
27810
  column: 4
27778
27811
  },
27779
27812
  end: {
27780
- line: 13,
27813
+ line: 15,
27781
27814
  column: 21
27782
27815
  }
27783
27816
  },
27784
27817
  type: "default-arg",
27785
27818
  locations: [{
27786
27819
  start: {
27787
- line: 13,
27820
+ line: 15,
27788
27821
  column: 17
27789
27822
  },
27790
27823
  end: {
27791
- line: 13,
27824
+ line: 15,
27792
27825
  column: 21
27793
27826
  }
27794
27827
  }],
27795
- line: 13
27828
+ line: 15
27796
27829
  },
27797
27830
  "1": {
27798
27831
  loc: {
27799
27832
  start: {
27800
- line: 36,
27833
+ line: 38,
27801
27834
  column: 13
27802
27835
  },
27803
27836
  end: {
27804
- line: 36,
27837
+ line: 38,
27805
27838
  column: 50
27806
27839
  }
27807
27840
  },
27808
27841
  type: "binary-expr",
27809
27842
  locations: [{
27810
27843
  start: {
27811
- line: 36,
27844
+ line: 38,
27812
27845
  column: 13
27813
27846
  },
27814
27847
  end: {
27815
- line: 36,
27848
+ line: 38,
27816
27849
  column: 41
27817
27850
  }
27818
27851
  }, {
27819
27852
  start: {
27820
- line: 36,
27853
+ line: 38,
27821
27854
  column: 45
27822
27855
  },
27823
27856
  end: {
27824
- line: 36,
27857
+ line: 38,
27825
27858
  column: 50
27826
27859
  }
27827
27860
  }],
27828
- line: 36
27861
+ line: 38
27829
27862
  },
27830
27863
  "2": {
27831
27864
  loc: {
27832
27865
  start: {
27833
- line: 42,
27866
+ line: 44,
27834
27867
  column: 19
27835
27868
  },
27836
27869
  end: {
27837
- line: 42,
27870
+ line: 44,
27838
27871
  column: 45
27839
27872
  }
27840
27873
  },
27841
27874
  type: "binary-expr",
27842
27875
  locations: [{
27843
27876
  start: {
27844
- line: 42,
27877
+ line: 44,
27845
27878
  column: 19
27846
27879
  },
27847
27880
  end: {
27848
- line: 42,
27881
+ line: 44,
27849
27882
  column: 30
27850
27883
  }
27851
27884
  }, {
27852
27885
  start: {
27853
- line: 42,
27886
+ line: 44,
27854
27887
  column: 34
27855
27888
  },
27856
27889
  end: {
27857
- line: 42,
27890
+ line: 44,
27858
27891
  column: 45
27859
27892
  }
27860
27893
  }],
27861
- line: 42
27894
+ line: 44
27862
27895
  }
27863
27896
  },
27864
27897
  s: {
@@ -27879,7 +27912,7 @@ function cov_xwc6pppkl() {
27879
27912
  "2": [0, 0]
27880
27913
  },
27881
27914
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
27882
- hash: "cba680cb5d1feec4877d26f79a7d90373fc66039"
27915
+ hash: "c22b8999f9a44ff11944e9508195eb2aa07200ac"
27883
27916
  };
27884
27917
  var coverage = global[gcv] || (global[gcv] = {});
27885
27918
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -27914,7 +27947,9 @@ var FormField = function FormField(props) {
27914
27947
  var _ref2 = (cov_xwc6pppkl().s[2]++, item),
27915
27948
  kind = _ref2.kind,
27916
27949
  label = _ref2.label;
27917
- var _ref3 = (cov_xwc6pppkl().s[3]++, QUESTION_KINDS[kind]),
27950
+ var _ref3 = (cov_xwc6pppkl().s[3]++, pure.findBy({
27951
+ type: kind
27952
+ }, QUESTION_KINDS)),
27918
27953
  FieldComponent = _ref3.component,
27919
27954
  FieldIcon = _ref3.icon,
27920
27955
  isSingular = _ref3.isSingular;
@@ -29037,7 +29072,7 @@ v35('v5', 0x50, sha1);
29037
29072
 
29038
29073
  function cov_1ia73x4fw3() {
29039
29074
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/utils.js";
29040
- var hash = "a5c16942c6889823d2858787a6d7193997ba5931";
29075
+ var hash = "c3927f25fb15841467e1e5e5d25d5fcc9ca03dd5";
29041
29076
  var global = new Function("return this")();
29042
29077
  var gcv = "__coverage__";
29043
29078
  var coverageData = {
@@ -29126,7 +29161,7 @@ function cov_1ia73x4fw3() {
29126
29161
  "8": {
29127
29162
  start: {
29128
29163
  line: 22,
29129
- column: 67
29164
+ column: 68
29130
29165
  },
29131
29166
  end: {
29132
29167
  line: 27,
@@ -29170,17 +29205,17 @@ function cov_1ia73x4fw3() {
29170
29205
  },
29171
29206
  end: {
29172
29207
  line: 46,
29173
- column: 70
29208
+ column: 56
29174
29209
  }
29175
29210
  },
29176
29211
  "13": {
29177
29212
  start: {
29178
29213
  line: 46,
29179
- column: 31
29214
+ column: 32
29180
29215
  },
29181
29216
  end: {
29182
29217
  line: 46,
29183
- column: 70
29218
+ column: 56
29184
29219
  }
29185
29220
  },
29186
29221
  "14": {
@@ -29240,7 +29275,7 @@ function cov_1ia73x4fw3() {
29240
29275
  },
29241
29276
  end: {
29242
29277
  line: 58,
29243
- column: 38
29278
+ column: 23
29244
29279
  }
29245
29280
  },
29246
29281
  "20": {
@@ -29348,7 +29383,7 @@ function cov_1ia73x4fw3() {
29348
29383
  loc: {
29349
29384
  start: {
29350
29385
  line: 22,
29351
- column: 67
29386
+ column: 68
29352
29387
  },
29353
29388
  end: {
29354
29389
  line: 27,
@@ -29610,7 +29645,7 @@ function cov_1ia73x4fw3() {
29610
29645
  },
29611
29646
  end: {
29612
29647
  line: 46,
29613
- column: 70
29648
+ column: 56
29614
29649
  }
29615
29650
  },
29616
29651
  type: "if",
@@ -29621,7 +29656,7 @@ function cov_1ia73x4fw3() {
29621
29656
  },
29622
29657
  end: {
29623
29658
  line: 46,
29624
- column: 70
29659
+ column: 56
29625
29660
  }
29626
29661
  }, {
29627
29662
  start: {
@@ -29816,7 +29851,7 @@ function cov_1ia73x4fw3() {
29816
29851
  "8": [0, 0]
29817
29852
  },
29818
29853
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
29819
- hash: "a5c16942c6889823d2858787a6d7193997ba5931"
29854
+ hash: "c3927f25fb15841467e1e5e5d25d5fcc9ca03dd5"
29820
29855
  };
29821
29856
  var coverage = global[gcv] || (global[gcv] = {});
29822
29857
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -29861,13 +29896,13 @@ var handleFieldDragEnd = function handleFieldDragEnd(_ref) {
29861
29896
  }
29862
29897
  };
29863
29898
  cov_1ia73x4fw3().s[7]++;
29864
- var createFieldData = function createFieldData(_ref2, isRequied) {
29899
+ var createFieldData = function createFieldData(_ref2, isRequired) {
29865
29900
  var defaults = _ref2.defaults,
29866
29901
  type = _ref2.type;
29867
29902
  cov_1ia73x4fw3().f[2]++;
29868
29903
  cov_1ia73x4fw3().s[8]++;
29869
29904
  return _objectSpread$a(_objectSpread$a({}, defaults), {}, {
29870
- requird: isRequied,
29905
+ isRequired: isRequired,
29871
29906
  kind: type,
29872
29907
  nodeId: v4()
29873
29908
  });
@@ -29893,10 +29928,10 @@ var getAvailableQuestionKinds = function getAvailableQuestionKinds(allQuestionKi
29893
29928
  var activeQuestions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_1ia73x4fw3().b[3][0]++, []);
29894
29929
  cov_1ia73x4fw3().f[4]++;
29895
29930
  cov_1ia73x4fw3().s[12]++;
29896
- if (!activeQuestions.length) {
29931
+ if (ramda.isEmpty(activeQuestions)) {
29897
29932
  cov_1ia73x4fw3().b[4][0]++;
29898
29933
  cov_1ia73x4fw3().s[13]++;
29899
- return Object.values(allQuestionKinds);
29934
+ return allQuestionKinds;
29900
29935
  } else {
29901
29936
  cov_1ia73x4fw3().b[4][1]++;
29902
29937
  }
@@ -29912,7 +29947,7 @@ var getAvailableQuestionKinds = function getAvailableQuestionKinds(allQuestionKi
29912
29947
  return (cov_1ia73x4fw3().b[6][0]++, isSingularKind) && (cov_1ia73x4fw3().b[6][1]++, isKindAlreadyActive);
29913
29948
  }, allQuestionKinds));
29914
29949
  cov_1ia73x4fw3().s[19]++;
29915
- return Object.values(questionKinds);
29950
+ return questionKinds;
29916
29951
  };
29917
29952
  cov_1ia73x4fw3().s[20]++;
29918
29953
  var sliceLabel = function sliceLabel(label) {
@@ -64836,7 +64871,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
64836
64871
 
64837
64872
  function cov_29xlle89ll() {
64838
64873
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
64839
- var hash = "5396a6e3a1a5ecf3060a0d611e84501852de5059";
64874
+ var hash = "f309c9df1c79dbf4de7b84c18c2f39eed53b297f";
64840
64875
  var global = new Function("return this")();
64841
64876
  var gcv = "__coverage__";
64842
64877
  var coverageData = {
@@ -64844,71 +64879,71 @@ function cov_29xlle89ll() {
64844
64879
  statementMap: {
64845
64880
  "0": {
64846
64881
  start: {
64847
- line: 14,
64882
+ line: 13,
64848
64883
  column: 19
64849
64884
  },
64850
64885
  end: {
64851
- line: 59,
64886
+ line: 56,
64852
64887
  column: 1
64853
64888
  }
64854
64889
  },
64855
64890
  "1": {
64856
64891
  start: {
64857
- line: 21,
64892
+ line: 20,
64858
64893
  column: 62
64859
64894
  },
64860
64895
  end: {
64861
- line: 25,
64896
+ line: 24,
64862
64897
  column: 4
64863
64898
  }
64864
64899
  },
64865
64900
  "2": {
64866
64901
  start: {
64867
- line: 27,
64902
+ line: 26,
64868
64903
  column: 24
64869
64904
  },
64870
64905
  end: {
64871
- line: 27,
64906
+ line: 26,
64872
64907
  column: 34
64873
64908
  }
64874
64909
  },
64875
64910
  "3": {
64876
64911
  start: {
64877
- line: 29,
64912
+ line: 28,
64878
64913
  column: 2
64879
64914
  },
64880
64915
  end: {
64881
- line: 35,
64916
+ line: 34,
64882
64917
  column: 3
64883
64918
  }
64884
64919
  },
64885
64920
  "4": {
64886
64921
  start: {
64887
- line: 30,
64922
+ line: 29,
64888
64923
  column: 4
64889
64924
  },
64890
64925
  end: {
64891
- line: 34,
64926
+ line: 33,
64892
64927
  column: 6
64893
64928
  }
64894
64929
  },
64895
64930
  "5": {
64896
64931
  start: {
64897
- line: 37,
64932
+ line: 36,
64898
64933
  column: 2
64899
64934
  },
64900
64935
  end: {
64901
- line: 58,
64936
+ line: 55,
64902
64937
  column: 4
64903
64938
  }
64904
64939
  },
64905
64940
  "6": {
64906
64941
  start: {
64907
- line: 44,
64942
+ line: 43,
64908
64943
  column: 8
64909
64944
  },
64910
64945
  end: {
64911
- line: 55,
64946
+ line: 52,
64912
64947
  column: 14
64913
64948
  }
64914
64949
  }
@@ -64918,248 +64953,248 @@ function cov_29xlle89ll() {
64918
64953
  name: "(anonymous_0)",
64919
64954
  decl: {
64920
64955
  start: {
64921
- line: 14,
64956
+ line: 13,
64922
64957
  column: 19
64923
64958
  },
64924
64959
  end: {
64925
- line: 14,
64960
+ line: 13,
64926
64961
  column: 20
64927
64962
  }
64928
64963
  },
64929
64964
  loc: {
64930
64965
  start: {
64931
- line: 20,
64966
+ line: 19,
64932
64967
  column: 6
64933
64968
  },
64934
64969
  end: {
64935
- line: 59,
64970
+ line: 56,
64936
64971
  column: 1
64937
64972
  }
64938
64973
  },
64939
- line: 20
64974
+ line: 19
64940
64975
  },
64941
64976
  "1": {
64942
64977
  name: "(anonymous_1)",
64943
64978
  decl: {
64944
64979
  start: {
64945
- line: 43,
64980
+ line: 42,
64946
64981
  column: 21
64947
64982
  },
64948
64983
  end: {
64949
- line: 43,
64984
+ line: 42,
64950
64985
  column: 22
64951
64986
  }
64952
64987
  },
64953
64988
  loc: {
64954
64989
  start: {
64955
- line: 44,
64990
+ line: 43,
64956
64991
  column: 8
64957
64992
  },
64958
64993
  end: {
64959
- line: 55,
64994
+ line: 52,
64960
64995
  column: 14
64961
64996
  }
64962
64997
  },
64963
- line: 44
64998
+ line: 43
64964
64999
  }
64965
65000
  },
64966
65001
  branchMap: {
64967
65002
  "0": {
64968
65003
  loc: {
64969
65004
  start: {
64970
- line: 15,
65005
+ line: 14,
64971
65006
  column: 2
64972
65007
  },
64973
65008
  end: {
64974
- line: 15,
65009
+ line: 14,
64975
65010
  column: 13
64976
65011
  }
64977
65012
  },
64978
65013
  type: "default-arg",
64979
65014
  locations: [{
64980
65015
  start: {
64981
- line: 15,
65016
+ line: 14,
64982
65017
  column: 11
64983
65018
  },
64984
65019
  end: {
64985
- line: 15,
65020
+ line: 14,
64986
65021
  column: 13
64987
65022
  }
64988
65023
  }],
64989
- line: 15
65024
+ line: 14
64990
65025
  },
64991
65026
  "1": {
64992
65027
  loc: {
64993
65028
  start: {
64994
- line: 16,
65029
+ line: 15,
64995
65030
  column: 2
64996
65031
  },
64997
65032
  end: {
64998
- line: 16,
65033
+ line: 15,
64999
65034
  column: 19
65000
65035
  }
65001
65036
  },
65002
65037
  type: "default-arg",
65003
65038
  locations: [{
65004
65039
  start: {
65005
- line: 16,
65040
+ line: 15,
65006
65041
  column: 17
65007
65042
  },
65008
65043
  end: {
65009
- line: 16,
65044
+ line: 15,
65010
65045
  column: 19
65011
65046
  }
65012
65047
  }],
65013
- line: 16
65048
+ line: 15
65014
65049
  },
65015
65050
  "2": {
65016
65051
  loc: {
65017
65052
  start: {
65018
- line: 17,
65053
+ line: 16,
65019
65054
  column: 2
65020
65055
  },
65021
65056
  end: {
65022
- line: 17,
65057
+ line: 16,
65023
65058
  column: 16
65024
65059
  }
65025
65060
  },
65026
65061
  type: "default-arg",
65027
65062
  locations: [{
65028
65063
  start: {
65029
- line: 17,
65064
+ line: 16,
65030
65065
  column: 14
65031
65066
  },
65032
65067
  end: {
65033
- line: 17,
65068
+ line: 16,
65034
65069
  column: 16
65035
65070
  }
65036
65071
  }],
65037
- line: 17
65072
+ line: 16
65038
65073
  },
65039
65074
  "3": {
65040
65075
  loc: {
65041
65076
  start: {
65042
- line: 18,
65077
+ line: 17,
65043
65078
  column: 2
65044
65079
  },
65045
65080
  end: {
65046
- line: 18,
65081
+ line: 17,
65047
65082
  column: 25
65048
65083
  }
65049
65084
  },
65050
65085
  type: "default-arg",
65051
65086
  locations: [{
65052
65087
  start: {
65053
- line: 18,
65088
+ line: 17,
65054
65089
  column: 23
65055
65090
  },
65056
65091
  end: {
65057
- line: 18,
65092
+ line: 17,
65058
65093
  column: 25
65059
65094
  }
65060
65095
  }],
65061
- line: 18
65096
+ line: 17
65062
65097
  },
65063
65098
  "4": {
65064
65099
  loc: {
65065
65100
  start: {
65066
- line: 19,
65101
+ line: 18,
65067
65102
  column: 2
65068
65103
  },
65069
65104
  end: {
65070
- line: 19,
65105
+ line: 18,
65071
65106
  column: 18
65072
65107
  }
65073
65108
  },
65074
65109
  type: "default-arg",
65075
65110
  locations: [{
65076
65111
  start: {
65077
- line: 19,
65112
+ line: 18,
65078
65113
  column: 16
65079
65114
  },
65080
65115
  end: {
65081
- line: 19,
65116
+ line: 18,
65082
65117
  column: 18
65083
65118
  }
65084
65119
  }],
65085
- line: 19
65120
+ line: 18
65086
65121
  },
65087
65122
  "5": {
65088
65123
  loc: {
65089
65124
  start: {
65090
- line: 21,
65125
+ line: 20,
65091
65126
  column: 16
65092
65127
  },
65093
65128
  end: {
65094
- line: 21,
65129
+ line: 20,
65095
65130
  column: 46
65096
65131
  }
65097
65132
  },
65098
65133
  type: "default-arg",
65099
65134
  locations: [{
65100
65135
  start: {
65101
- line: 21,
65136
+ line: 20,
65102
65137
  column: 29
65103
65138
  },
65104
65139
  end: {
65105
- line: 21,
65140
+ line: 20,
65106
65141
  column: 46
65107
65142
  }
65108
65143
  }],
65109
- line: 21
65144
+ line: 20
65110
65145
  },
65111
65146
  "6": {
65112
65147
  loc: {
65113
65148
  start: {
65114
- line: 24,
65149
+ line: 23,
65115
65150
  column: 16
65116
65151
  },
65117
65152
  end: {
65118
- line: 24,
65153
+ line: 23,
65119
65154
  column: 38
65120
65155
  }
65121
65156
  },
65122
65157
  type: "binary-expr",
65123
65158
  locations: [{
65124
65159
  start: {
65125
- line: 24,
65160
+ line: 23,
65126
65161
  column: 16
65127
65162
  },
65128
65163
  end: {
65129
- line: 24,
65164
+ line: 23,
65130
65165
  column: 22
65131
65166
  }
65132
65167
  }, {
65133
65168
  start: {
65134
- line: 24,
65169
+ line: 23,
65135
65170
  column: 26
65136
65171
  },
65137
65172
  end: {
65138
- line: 24,
65173
+ line: 23,
65139
65174
  column: 38
65140
65175
  }
65141
65176
  }],
65142
- line: 24
65177
+ line: 23
65143
65178
  },
65144
65179
  "7": {
65145
65180
  loc: {
65146
65181
  start: {
65147
- line: 29,
65182
+ line: 28,
65148
65183
  column: 2
65149
65184
  },
65150
65185
  end: {
65151
- line: 35,
65186
+ line: 34,
65152
65187
  column: 3
65153
65188
  }
65154
65189
  },
65155
65190
  type: "if",
65156
65191
  locations: [{
65157
65192
  start: {
65158
- line: 29,
65193
+ line: 28,
65159
65194
  column: 2
65160
65195
  },
65161
65196
  end: {
65162
- line: 35,
65197
+ line: 34,
65163
65198
  column: 3
65164
65199
  }
65165
65200
  }, {
@@ -65172,40 +65207,40 @@ function cov_29xlle89ll() {
65172
65207
  column: undefined
65173
65208
  }
65174
65209
  }],
65175
- line: 29
65210
+ line: 28
65176
65211
  },
65177
65212
  "8": {
65178
65213
  loc: {
65179
65214
  start: {
65180
- line: 50,
65215
+ line: 49,
65181
65216
  column: 15
65182
65217
  },
65183
65218
  end: {
65184
- line: 52,
65185
- column: 23
65219
+ line: 49,
65220
+ column: 63
65186
65221
  }
65187
65222
  },
65188
65223
  type: "cond-expr",
65189
65224
  locations: [{
65190
65225
  start: {
65191
- line: 51,
65192
- column: 18
65226
+ line: 49,
65227
+ column: 33
65193
65228
  },
65194
65229
  end: {
65195
- line: 51,
65196
- column: 40
65230
+ line: 49,
65231
+ column: 55
65197
65232
  }
65198
65233
  }, {
65199
65234
  start: {
65200
- line: 52,
65201
- column: 18
65235
+ line: 49,
65236
+ column: 58
65202
65237
  },
65203
65238
  end: {
65204
- line: 52,
65205
- column: 23
65239
+ line: 49,
65240
+ column: 63
65206
65241
  }
65207
65242
  }],
65208
- line: 50
65243
+ line: 49
65209
65244
  }
65210
65245
  },
65211
65246
  s: {
@@ -65233,7 +65268,7 @@ function cov_29xlle89ll() {
65233
65268
  "8": [0, 0]
65234
65269
  },
65235
65270
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
65236
- hash: "5396a6e3a1a5ecf3060a0d611e84501852de5059"
65271
+ hash: "f309c9df1c79dbf4de7b84c18c2f39eed53b297f"
65237
65272
  };
65238
65273
  var coverage = global[gcv] || (global[gcv] = {});
65239
65274
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -65303,7 +65338,7 @@ var Submission = function Submission(_ref) {
65303
65338
  weight: "semibold"
65304
65339
  }, answerProps), /*#__PURE__*/React__default["default"].createElement(_default, {
65305
65340
  componentDecorator: linkifyDecorator
65306
- }, kind === QUESTION_KINDS.date.type ? (cov_29xlle89ll().b[8][0]++, utils.dateFormat.date(value)) : (cov_29xlle89ll().b[8][1]++, value))));
65341
+ }, kind === "date" ? (cov_29xlle89ll().b[8][0]++, utils.dateFormat.date(value)) : (cov_29xlle89ll().b[8][1]++, value))));
65307
65342
  }));
65308
65343
  };
65309
65344
 
@@ -65539,6 +65574,7 @@ cov_26ii2dyz6b();
65539
65574
 
65540
65575
  exports.BuildForm = BuildForm;
65541
65576
  exports.ExternalForm = ExternalForm;
65577
+ exports.Fields = Fields;
65542
65578
  exports.NeetoFormProvider = NeetoFormProvider;
65543
65579
  exports.Submission = Submission;
65544
65580
  exports.useBuildFormState = useBuildFormState;