@bigbinary/neeto-form-frontend 1.0.25 → 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 +281 -293
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +283 -295
- package/dist/index.js.map +1 -1
- package/index.d.ts +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useCo
|
|
|
3
3
|
import { useField, useFormikContext, FieldArray, Form as Form$1, Formik, Field } from 'formik';
|
|
4
4
|
import PageLoader from 'neetomolecules/PageLoader';
|
|
5
5
|
import { Toastr, Typography, Dropdown as Dropdown$2, Button as Button$1, Label, Alert, Spinner as Spinner$1 } from '@bigbinary/neetoui';
|
|
6
|
-
import { assoc, prop, reject, omit, insert,
|
|
6
|
+
import { assoc, prop, isEmpty, reject, omit, insert, compose as compose$1, trim as trim$1, either, isNil, values as values$1, equals, not, times } from 'ramda';
|
|
7
7
|
import ReactDOM, { unstable_batchedUpdates as unstable_batchedUpdates$1, createPortal } from 'react-dom';
|
|
8
8
|
import axios from 'axios';
|
|
9
9
|
import { Input as Input$2, Textarea as Textarea$1, Checkbox, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
10
|
-
import { noop as noop$4, isPresent, findById, isNotEmpty } from '@bigbinary/neeto-commons-frontend/pure';
|
|
10
|
+
import { noop as noop$4, findBy, isPresent, findById, isNotEmpty } from '@bigbinary/neeto-commons-frontend/pure';
|
|
11
11
|
import { withImmutableActions } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
12
12
|
import { create as create$1 } from 'zustand';
|
|
13
13
|
import classnames from 'classnames';
|
|
@@ -27491,165 +27491,151 @@ var _ref$1 = (cov_2j8tlu2ul5().s[0]++, Fields),
|
|
|
27491
27491
|
StarRating$1 = _ref$1.StarRating;
|
|
27492
27492
|
var SINGLE_CHOICE_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[1]++, 2);
|
|
27493
27493
|
var DROPDOWN_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[2]++, 2);
|
|
27494
|
-
var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, {
|
|
27495
|
-
|
|
27496
|
-
|
|
27497
|
-
|
|
27498
|
-
|
|
27499
|
-
|
|
27500
|
-
|
|
27501
|
-
|
|
27502
|
-
|
|
27503
|
-
|
|
27504
|
-
|
|
27505
|
-
|
|
27506
|
-
|
|
27507
|
-
|
|
27508
|
-
|
|
27509
|
-
|
|
27510
|
-
|
|
27511
|
-
|
|
27512
|
-
|
|
27513
|
-
|
|
27514
|
-
|
|
27515
|
-
|
|
27516
|
-
|
|
27517
|
-
|
|
27518
|
-
|
|
27519
|
-
|
|
27520
|
-
|
|
27521
|
-
|
|
27522
|
-
|
|
27523
|
-
|
|
27524
|
-
|
|
27525
|
-
|
|
27526
|
-
|
|
27527
|
-
|
|
27528
|
-
|
|
27529
|
-
|
|
27530
|
-
|
|
27531
|
-
|
|
27532
|
-
|
|
27533
|
-
|
|
27534
|
-
|
|
27535
|
-
|
|
27494
|
+
var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
|
|
27495
|
+
type: "email",
|
|
27496
|
+
label: instance.t("fields.eif"),
|
|
27497
|
+
isSingular: true,
|
|
27498
|
+
labelPlaceholder: instance.t("common.email"),
|
|
27499
|
+
icon: Email$2,
|
|
27500
|
+
component: Email,
|
|
27501
|
+
defaults: {
|
|
27502
|
+
label: ""
|
|
27503
|
+
}
|
|
27504
|
+
}, {
|
|
27505
|
+
type: "phone",
|
|
27506
|
+
label: instance.t("fields.pif"),
|
|
27507
|
+
isSingular: true,
|
|
27508
|
+
labelPlaceholder: instance.t("common.phNo"),
|
|
27509
|
+
icon: Phone$2,
|
|
27510
|
+
component: Phone,
|
|
27511
|
+
defaults: {
|
|
27512
|
+
label: ""
|
|
27513
|
+
}
|
|
27514
|
+
}, {
|
|
27515
|
+
type: "name",
|
|
27516
|
+
label: instance.t("fields.nif"),
|
|
27517
|
+
isSingular: true,
|
|
27518
|
+
labelPlaceholder: instance.t("common.name"),
|
|
27519
|
+
icon: Input$3,
|
|
27520
|
+
component: ShortText,
|
|
27521
|
+
defaults: {
|
|
27522
|
+
label: ""
|
|
27523
|
+
}
|
|
27524
|
+
}, {
|
|
27525
|
+
type: "text",
|
|
27526
|
+
label: instance.t("fields.tif"),
|
|
27527
|
+
isSingular: false,
|
|
27528
|
+
labelPlaceholder: instance.t("common.text"),
|
|
27529
|
+
icon: Input$3,
|
|
27530
|
+
component: ShortText,
|
|
27531
|
+
defaults: {
|
|
27532
|
+
label: ""
|
|
27533
|
+
}
|
|
27534
|
+
}, {
|
|
27535
|
+
type: "question",
|
|
27536
|
+
label: instance.t("fields.qif"),
|
|
27537
|
+
isSingular: false,
|
|
27538
|
+
icon: Input$3,
|
|
27539
|
+
component: LongText,
|
|
27540
|
+
defaults: {
|
|
27541
|
+
label: ""
|
|
27542
|
+
}
|
|
27543
|
+
}, {
|
|
27544
|
+
type: "textarea",
|
|
27545
|
+
label: instance.t("fields.def"),
|
|
27546
|
+
isSingular: false,
|
|
27547
|
+
icon: NeetoInvisible,
|
|
27548
|
+
component: Editor,
|
|
27549
|
+
defaults: {
|
|
27550
|
+
label: ""
|
|
27551
|
+
}
|
|
27552
|
+
}, {
|
|
27553
|
+
type: "checkbox",
|
|
27554
|
+
label: instance.t("fields.mcf"),
|
|
27555
|
+
isSingular: false,
|
|
27556
|
+
icon: MultipleChoice$2,
|
|
27557
|
+
component: MultipleChoice,
|
|
27558
|
+
defaults: {
|
|
27559
|
+
label: "",
|
|
27560
|
+
isRequired: false,
|
|
27561
|
+
optionsAttributes: [{
|
|
27536
27562
|
label: ""
|
|
27537
|
-
}
|
|
27538
|
-
}
|
|
27539
|
-
|
|
27540
|
-
|
|
27541
|
-
|
|
27542
|
-
|
|
27543
|
-
|
|
27544
|
-
|
|
27545
|
-
|
|
27563
|
+
}]
|
|
27564
|
+
}
|
|
27565
|
+
}, {
|
|
27566
|
+
type: "radio",
|
|
27567
|
+
label: instance.t("fields.scf"),
|
|
27568
|
+
isSingular: false,
|
|
27569
|
+
icon: ListDot,
|
|
27570
|
+
component: SingleChoice,
|
|
27571
|
+
defaults: {
|
|
27572
|
+
label: "",
|
|
27573
|
+
isRequired: false,
|
|
27574
|
+
optionsAttributes: new Array(SINGLE_CHOICE_FIELD_MIN_OPTIONS).fill({
|
|
27546
27575
|
label: ""
|
|
27547
|
-
}
|
|
27548
|
-
}
|
|
27549
|
-
|
|
27550
|
-
|
|
27551
|
-
|
|
27552
|
-
|
|
27553
|
-
|
|
27554
|
-
|
|
27555
|
-
|
|
27576
|
+
})
|
|
27577
|
+
}
|
|
27578
|
+
}, {
|
|
27579
|
+
type: "dropdown",
|
|
27580
|
+
label: instance.t("fields.drf"),
|
|
27581
|
+
isSingular: false,
|
|
27582
|
+
icon: Dropdown$3,
|
|
27583
|
+
component: Dropdown,
|
|
27584
|
+
defaults: {
|
|
27585
|
+
label: "",
|
|
27586
|
+
isRequired: false,
|
|
27587
|
+
optionsAttributes: new Array(DROPDOWN_FIELD_MIN_OPTIONS).fill({
|
|
27556
27588
|
label: ""
|
|
27557
|
-
}
|
|
27558
|
-
},
|
|
27559
|
-
checkbox: {
|
|
27560
|
-
type: "checkbox",
|
|
27561
|
-
label: instance.t("fields.mcf"),
|
|
27562
|
-
isSingular: false,
|
|
27563
|
-
icon: MultipleChoice$2,
|
|
27564
|
-
component: MultipleChoice,
|
|
27565
|
-
defaults: {
|
|
27566
|
-
label: "",
|
|
27567
|
-
isRequired: false,
|
|
27568
|
-
optionsAttributes: [{
|
|
27569
|
-
label: ""
|
|
27570
|
-
}]
|
|
27571
|
-
}
|
|
27572
|
-
},
|
|
27573
|
-
radio: {
|
|
27574
|
-
type: "radio",
|
|
27575
|
-
label: instance.t("fields.scf"),
|
|
27576
|
-
isSingular: false,
|
|
27577
|
-
icon: ListDot,
|
|
27578
|
-
component: SingleChoice,
|
|
27579
|
-
defaults: {
|
|
27580
|
-
label: "",
|
|
27581
|
-
isRequired: false,
|
|
27582
|
-
optionsAttributes: new Array(SINGLE_CHOICE_FIELD_MIN_OPTIONS).fill({
|
|
27583
|
-
label: ""
|
|
27584
|
-
})
|
|
27585
|
-
}
|
|
27586
|
-
},
|
|
27587
|
-
dropdown: {
|
|
27588
|
-
type: "dropdown",
|
|
27589
|
-
label: instance.t("fields.drf"),
|
|
27590
|
-
isSingular: false,
|
|
27591
|
-
icon: Dropdown$3,
|
|
27592
|
-
component: Dropdown,
|
|
27593
|
-
defaults: {
|
|
27594
|
-
label: "",
|
|
27595
|
-
isRequired: false,
|
|
27596
|
-
optionsAttributes: new Array(DROPDOWN_FIELD_MIN_OPTIONS).fill({
|
|
27597
|
-
label: ""
|
|
27598
|
-
})
|
|
27599
|
-
}
|
|
27600
|
-
},
|
|
27601
|
-
star_rating: {
|
|
27602
|
-
type: "star_rating",
|
|
27603
|
-
label: instance.t("fields.rif"),
|
|
27604
|
-
isSingular: false,
|
|
27605
|
-
icon: Rating$3,
|
|
27606
|
-
component: StarRating$1,
|
|
27607
|
-
defaults: {
|
|
27608
|
-
label: "",
|
|
27609
|
-
isRequired: true,
|
|
27610
|
-
count: 5,
|
|
27611
|
-
shape: "star"
|
|
27612
|
-
}
|
|
27613
|
-
},
|
|
27614
|
-
rating: {
|
|
27615
|
-
type: "rating",
|
|
27616
|
-
label: instance.t("fields.fbf"),
|
|
27617
|
-
isSingular: false,
|
|
27618
|
-
icon: Smiley,
|
|
27619
|
-
component: Rating$1,
|
|
27620
|
-
defaults: {
|
|
27621
|
-
label: "",
|
|
27622
|
-
isRequired: true,
|
|
27623
|
-
highestRatingLabel: "",
|
|
27624
|
-
averageRatingLabel: "",
|
|
27625
|
-
lowestRatingLabel: ""
|
|
27626
|
-
}
|
|
27627
|
-
},
|
|
27628
|
-
termsandcondition: {
|
|
27629
|
-
type: "termsandcondition",
|
|
27630
|
-
label: instance.t("fields.tcf"),
|
|
27631
|
-
isSingular: true,
|
|
27632
|
-
icon: NeetoInvisible,
|
|
27633
|
-
component: Terms$2,
|
|
27634
|
-
defaults: {
|
|
27635
|
-
termsLink: "",
|
|
27636
|
-
privacyPolicyLink: "",
|
|
27637
|
-
isRequired: true,
|
|
27638
|
-
label: instance.t("common.agreeTermsAndConditions")
|
|
27639
|
-
}
|
|
27640
|
-
},
|
|
27641
|
-
date: {
|
|
27642
|
-
type: "date",
|
|
27643
|
-
label: instance.t("fields.date"),
|
|
27644
|
-
isSingular: false,
|
|
27645
|
-
icon: Calendar,
|
|
27646
|
-
component: ShortText,
|
|
27647
|
-
defaults: {
|
|
27648
|
-
label: "",
|
|
27649
|
-
isRequired: true
|
|
27650
|
-
}
|
|
27589
|
+
})
|
|
27651
27590
|
}
|
|
27652
|
-
}
|
|
27591
|
+
}, {
|
|
27592
|
+
type: "star_rating",
|
|
27593
|
+
label: instance.t("fields.rif"),
|
|
27594
|
+
isSingular: false,
|
|
27595
|
+
icon: Rating$3,
|
|
27596
|
+
component: StarRating$1,
|
|
27597
|
+
defaults: {
|
|
27598
|
+
label: "",
|
|
27599
|
+
isRequired: true,
|
|
27600
|
+
count: 5,
|
|
27601
|
+
shape: "star"
|
|
27602
|
+
}
|
|
27603
|
+
}, {
|
|
27604
|
+
type: "rating",
|
|
27605
|
+
label: instance.t("fields.fbf"),
|
|
27606
|
+
isSingular: false,
|
|
27607
|
+
icon: Smiley,
|
|
27608
|
+
component: Rating$1,
|
|
27609
|
+
defaults: {
|
|
27610
|
+
label: "",
|
|
27611
|
+
isRequired: true,
|
|
27612
|
+
highestRatingLabel: "",
|
|
27613
|
+
averageRatingLabel: "",
|
|
27614
|
+
lowestRatingLabel: ""
|
|
27615
|
+
}
|
|
27616
|
+
}, {
|
|
27617
|
+
type: "termsandcondition",
|
|
27618
|
+
label: instance.t("fields.tcf"),
|
|
27619
|
+
isSingular: true,
|
|
27620
|
+
icon: NeetoInvisible,
|
|
27621
|
+
component: Terms$2,
|
|
27622
|
+
defaults: {
|
|
27623
|
+
termsLink: "",
|
|
27624
|
+
privacyPolicyLink: "",
|
|
27625
|
+
isRequired: true,
|
|
27626
|
+
label: instance.t("common.agreeTermsAndConditions")
|
|
27627
|
+
}
|
|
27628
|
+
}, {
|
|
27629
|
+
type: "date",
|
|
27630
|
+
label: instance.t("fields.date"),
|
|
27631
|
+
isSingular: false,
|
|
27632
|
+
icon: Calendar,
|
|
27633
|
+
component: ShortText,
|
|
27634
|
+
defaults: {
|
|
27635
|
+
label: "",
|
|
27636
|
+
isRequired: true
|
|
27637
|
+
}
|
|
27638
|
+
}]);
|
|
27653
27639
|
|
|
27654
27640
|
// To show the question type as label in accordion
|
|
27655
27641
|
var INDEPENDENT_LABELS_MAP = (cov_2j8tlu2ul5().s[4]++, {
|
|
@@ -27660,7 +27646,7 @@ var PADDED_FIELDS = (cov_2j8tlu2ul5().s[5]++, ["textarea", "termsandcondition"])
|
|
|
27660
27646
|
|
|
27661
27647
|
function cov_xwc6pppkl() {
|
|
27662
27648
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/FormField.jsx";
|
|
27663
|
-
var hash = "
|
|
27649
|
+
var hash = "c22b8999f9a44ff11944e9508195eb2aa07200ac";
|
|
27664
27650
|
var global = new Function("return this")();
|
|
27665
27651
|
var gcv = "__coverage__";
|
|
27666
27652
|
var coverageData = {
|
|
@@ -27668,61 +27654,61 @@ function cov_xwc6pppkl() {
|
|
|
27668
27654
|
statementMap: {
|
|
27669
27655
|
"0": {
|
|
27670
27656
|
start: {
|
|
27671
|
-
line:
|
|
27657
|
+
line: 12,
|
|
27672
27658
|
column: 18
|
|
27673
27659
|
},
|
|
27674
27660
|
end: {
|
|
27675
|
-
line:
|
|
27661
|
+
line: 50,
|
|
27676
27662
|
column: 1
|
|
27677
27663
|
}
|
|
27678
27664
|
},
|
|
27679
27665
|
"1": {
|
|
27680
27666
|
start: {
|
|
27681
|
-
line:
|
|
27667
|
+
line: 24,
|
|
27682
27668
|
column: 6
|
|
27683
27669
|
},
|
|
27684
27670
|
end: {
|
|
27685
|
-
line:
|
|
27671
|
+
line: 24,
|
|
27686
27672
|
column: 11
|
|
27687
27673
|
}
|
|
27688
27674
|
},
|
|
27689
27675
|
"2": {
|
|
27690
27676
|
start: {
|
|
27691
|
-
line:
|
|
27677
|
+
line: 25,
|
|
27692
27678
|
column: 26
|
|
27693
27679
|
},
|
|
27694
27680
|
end: {
|
|
27695
|
-
line:
|
|
27681
|
+
line: 25,
|
|
27696
27682
|
column: 30
|
|
27697
27683
|
}
|
|
27698
27684
|
},
|
|
27699
27685
|
"3": {
|
|
27700
27686
|
start: {
|
|
27701
|
-
line:
|
|
27687
|
+
line: 31,
|
|
27702
27688
|
column: 6
|
|
27703
27689
|
},
|
|
27704
27690
|
end: {
|
|
27705
|
-
line:
|
|
27706
|
-
column:
|
|
27691
|
+
line: 31,
|
|
27692
|
+
column: 44
|
|
27707
27693
|
}
|
|
27708
27694
|
},
|
|
27709
27695
|
"4": {
|
|
27710
27696
|
start: {
|
|
27711
|
-
line:
|
|
27697
|
+
line: 33,
|
|
27712
27698
|
column: 2
|
|
27713
27699
|
},
|
|
27714
27700
|
end: {
|
|
27715
|
-
line:
|
|
27701
|
+
line: 49,
|
|
27716
27702
|
column: 4
|
|
27717
27703
|
}
|
|
27718
27704
|
},
|
|
27719
27705
|
"5": {
|
|
27720
27706
|
start: {
|
|
27721
|
-
line:
|
|
27707
|
+
line: 45,
|
|
27722
27708
|
column: 22
|
|
27723
27709
|
},
|
|
27724
27710
|
end: {
|
|
27725
|
-
line:
|
|
27711
|
+
line: 45,
|
|
27726
27712
|
column: 51
|
|
27727
27713
|
}
|
|
27728
27714
|
}
|
|
@@ -27732,141 +27718,141 @@ function cov_xwc6pppkl() {
|
|
|
27732
27718
|
name: "(anonymous_0)",
|
|
27733
27719
|
decl: {
|
|
27734
27720
|
start: {
|
|
27735
|
-
line:
|
|
27721
|
+
line: 12,
|
|
27736
27722
|
column: 18
|
|
27737
27723
|
},
|
|
27738
27724
|
end: {
|
|
27739
|
-
line:
|
|
27725
|
+
line: 12,
|
|
27740
27726
|
column: 19
|
|
27741
27727
|
}
|
|
27742
27728
|
},
|
|
27743
27729
|
loc: {
|
|
27744
27730
|
start: {
|
|
27745
|
-
line:
|
|
27731
|
+
line: 12,
|
|
27746
27732
|
column: 27
|
|
27747
27733
|
},
|
|
27748
27734
|
end: {
|
|
27749
|
-
line:
|
|
27735
|
+
line: 50,
|
|
27750
27736
|
column: 1
|
|
27751
27737
|
}
|
|
27752
27738
|
},
|
|
27753
|
-
line:
|
|
27739
|
+
line: 12
|
|
27754
27740
|
},
|
|
27755
27741
|
"1": {
|
|
27756
27742
|
name: "(anonymous_1)",
|
|
27757
27743
|
decl: {
|
|
27758
27744
|
start: {
|
|
27759
|
-
line:
|
|
27745
|
+
line: 45,
|
|
27760
27746
|
column: 16
|
|
27761
27747
|
},
|
|
27762
27748
|
end: {
|
|
27763
|
-
line:
|
|
27749
|
+
line: 45,
|
|
27764
27750
|
column: 17
|
|
27765
27751
|
}
|
|
27766
27752
|
},
|
|
27767
27753
|
loc: {
|
|
27768
27754
|
start: {
|
|
27769
|
-
line:
|
|
27755
|
+
line: 45,
|
|
27770
27756
|
column: 22
|
|
27771
27757
|
},
|
|
27772
27758
|
end: {
|
|
27773
|
-
line:
|
|
27759
|
+
line: 45,
|
|
27774
27760
|
column: 51
|
|
27775
27761
|
}
|
|
27776
27762
|
},
|
|
27777
|
-
line:
|
|
27763
|
+
line: 45
|
|
27778
27764
|
}
|
|
27779
27765
|
},
|
|
27780
27766
|
branchMap: {
|
|
27781
27767
|
"0": {
|
|
27782
27768
|
loc: {
|
|
27783
27769
|
start: {
|
|
27784
|
-
line:
|
|
27770
|
+
line: 15,
|
|
27785
27771
|
column: 4
|
|
27786
27772
|
},
|
|
27787
27773
|
end: {
|
|
27788
|
-
line:
|
|
27774
|
+
line: 15,
|
|
27789
27775
|
column: 21
|
|
27790
27776
|
}
|
|
27791
27777
|
},
|
|
27792
27778
|
type: "default-arg",
|
|
27793
27779
|
locations: [{
|
|
27794
27780
|
start: {
|
|
27795
|
-
line:
|
|
27781
|
+
line: 15,
|
|
27796
27782
|
column: 17
|
|
27797
27783
|
},
|
|
27798
27784
|
end: {
|
|
27799
|
-
line:
|
|
27785
|
+
line: 15,
|
|
27800
27786
|
column: 21
|
|
27801
27787
|
}
|
|
27802
27788
|
}],
|
|
27803
|
-
line:
|
|
27789
|
+
line: 15
|
|
27804
27790
|
},
|
|
27805
27791
|
"1": {
|
|
27806
27792
|
loc: {
|
|
27807
27793
|
start: {
|
|
27808
|
-
line:
|
|
27794
|
+
line: 38,
|
|
27809
27795
|
column: 13
|
|
27810
27796
|
},
|
|
27811
27797
|
end: {
|
|
27812
|
-
line:
|
|
27798
|
+
line: 38,
|
|
27813
27799
|
column: 50
|
|
27814
27800
|
}
|
|
27815
27801
|
},
|
|
27816
27802
|
type: "binary-expr",
|
|
27817
27803
|
locations: [{
|
|
27818
27804
|
start: {
|
|
27819
|
-
line:
|
|
27805
|
+
line: 38,
|
|
27820
27806
|
column: 13
|
|
27821
27807
|
},
|
|
27822
27808
|
end: {
|
|
27823
|
-
line:
|
|
27809
|
+
line: 38,
|
|
27824
27810
|
column: 41
|
|
27825
27811
|
}
|
|
27826
27812
|
}, {
|
|
27827
27813
|
start: {
|
|
27828
|
-
line:
|
|
27814
|
+
line: 38,
|
|
27829
27815
|
column: 45
|
|
27830
27816
|
},
|
|
27831
27817
|
end: {
|
|
27832
|
-
line:
|
|
27818
|
+
line: 38,
|
|
27833
27819
|
column: 50
|
|
27834
27820
|
}
|
|
27835
27821
|
}],
|
|
27836
|
-
line:
|
|
27822
|
+
line: 38
|
|
27837
27823
|
},
|
|
27838
27824
|
"2": {
|
|
27839
27825
|
loc: {
|
|
27840
27826
|
start: {
|
|
27841
|
-
line:
|
|
27827
|
+
line: 44,
|
|
27842
27828
|
column: 19
|
|
27843
27829
|
},
|
|
27844
27830
|
end: {
|
|
27845
|
-
line:
|
|
27831
|
+
line: 44,
|
|
27846
27832
|
column: 45
|
|
27847
27833
|
}
|
|
27848
27834
|
},
|
|
27849
27835
|
type: "binary-expr",
|
|
27850
27836
|
locations: [{
|
|
27851
27837
|
start: {
|
|
27852
|
-
line:
|
|
27838
|
+
line: 44,
|
|
27853
27839
|
column: 19
|
|
27854
27840
|
},
|
|
27855
27841
|
end: {
|
|
27856
|
-
line:
|
|
27842
|
+
line: 44,
|
|
27857
27843
|
column: 30
|
|
27858
27844
|
}
|
|
27859
27845
|
}, {
|
|
27860
27846
|
start: {
|
|
27861
|
-
line:
|
|
27847
|
+
line: 44,
|
|
27862
27848
|
column: 34
|
|
27863
27849
|
},
|
|
27864
27850
|
end: {
|
|
27865
|
-
line:
|
|
27851
|
+
line: 44,
|
|
27866
27852
|
column: 45
|
|
27867
27853
|
}
|
|
27868
27854
|
}],
|
|
27869
|
-
line:
|
|
27855
|
+
line: 44
|
|
27870
27856
|
}
|
|
27871
27857
|
},
|
|
27872
27858
|
s: {
|
|
@@ -27887,7 +27873,7 @@ function cov_xwc6pppkl() {
|
|
|
27887
27873
|
"2": [0, 0]
|
|
27888
27874
|
},
|
|
27889
27875
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
27890
|
-
hash: "
|
|
27876
|
+
hash: "c22b8999f9a44ff11944e9508195eb2aa07200ac"
|
|
27891
27877
|
};
|
|
27892
27878
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
27893
27879
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -27922,7 +27908,9 @@ var FormField = function FormField(props) {
|
|
|
27922
27908
|
var _ref2 = (cov_xwc6pppkl().s[2]++, item),
|
|
27923
27909
|
kind = _ref2.kind,
|
|
27924
27910
|
label = _ref2.label;
|
|
27925
|
-
var _ref3 = (cov_xwc6pppkl().s[3]++,
|
|
27911
|
+
var _ref3 = (cov_xwc6pppkl().s[3]++, findBy({
|
|
27912
|
+
type: kind
|
|
27913
|
+
}, QUESTION_KINDS)),
|
|
27926
27914
|
FieldComponent = _ref3.component,
|
|
27927
27915
|
FieldIcon = _ref3.icon,
|
|
27928
27916
|
isSingular = _ref3.isSingular;
|
|
@@ -29045,7 +29033,7 @@ v35('v5', 0x50, sha1);
|
|
|
29045
29033
|
|
|
29046
29034
|
function cov_1ia73x4fw3() {
|
|
29047
29035
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/utils.js";
|
|
29048
|
-
var hash = "
|
|
29036
|
+
var hash = "c3927f25fb15841467e1e5e5d25d5fcc9ca03dd5";
|
|
29049
29037
|
var global = new Function("return this")();
|
|
29050
29038
|
var gcv = "__coverage__";
|
|
29051
29039
|
var coverageData = {
|
|
@@ -29178,17 +29166,17 @@ function cov_1ia73x4fw3() {
|
|
|
29178
29166
|
},
|
|
29179
29167
|
end: {
|
|
29180
29168
|
line: 46,
|
|
29181
|
-
column:
|
|
29169
|
+
column: 56
|
|
29182
29170
|
}
|
|
29183
29171
|
},
|
|
29184
29172
|
"13": {
|
|
29185
29173
|
start: {
|
|
29186
29174
|
line: 46,
|
|
29187
|
-
column:
|
|
29175
|
+
column: 32
|
|
29188
29176
|
},
|
|
29189
29177
|
end: {
|
|
29190
29178
|
line: 46,
|
|
29191
|
-
column:
|
|
29179
|
+
column: 56
|
|
29192
29180
|
}
|
|
29193
29181
|
},
|
|
29194
29182
|
"14": {
|
|
@@ -29248,7 +29236,7 @@ function cov_1ia73x4fw3() {
|
|
|
29248
29236
|
},
|
|
29249
29237
|
end: {
|
|
29250
29238
|
line: 58,
|
|
29251
|
-
column:
|
|
29239
|
+
column: 23
|
|
29252
29240
|
}
|
|
29253
29241
|
},
|
|
29254
29242
|
"20": {
|
|
@@ -29618,7 +29606,7 @@ function cov_1ia73x4fw3() {
|
|
|
29618
29606
|
},
|
|
29619
29607
|
end: {
|
|
29620
29608
|
line: 46,
|
|
29621
|
-
column:
|
|
29609
|
+
column: 56
|
|
29622
29610
|
}
|
|
29623
29611
|
},
|
|
29624
29612
|
type: "if",
|
|
@@ -29629,7 +29617,7 @@ function cov_1ia73x4fw3() {
|
|
|
29629
29617
|
},
|
|
29630
29618
|
end: {
|
|
29631
29619
|
line: 46,
|
|
29632
|
-
column:
|
|
29620
|
+
column: 56
|
|
29633
29621
|
}
|
|
29634
29622
|
}, {
|
|
29635
29623
|
start: {
|
|
@@ -29824,7 +29812,7 @@ function cov_1ia73x4fw3() {
|
|
|
29824
29812
|
"8": [0, 0]
|
|
29825
29813
|
},
|
|
29826
29814
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
29827
|
-
hash: "
|
|
29815
|
+
hash: "c3927f25fb15841467e1e5e5d25d5fcc9ca03dd5"
|
|
29828
29816
|
};
|
|
29829
29817
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
29830
29818
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -29875,7 +29863,7 @@ var createFieldData = function createFieldData(_ref2, isRequired) {
|
|
|
29875
29863
|
cov_1ia73x4fw3().f[2]++;
|
|
29876
29864
|
cov_1ia73x4fw3().s[8]++;
|
|
29877
29865
|
return _objectSpread$a(_objectSpread$a({}, defaults), {}, {
|
|
29878
|
-
|
|
29866
|
+
isRequired: isRequired,
|
|
29879
29867
|
kind: type,
|
|
29880
29868
|
nodeId: v4()
|
|
29881
29869
|
});
|
|
@@ -29901,10 +29889,10 @@ var getAvailableQuestionKinds = function getAvailableQuestionKinds(allQuestionKi
|
|
|
29901
29889
|
var activeQuestions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_1ia73x4fw3().b[3][0]++, []);
|
|
29902
29890
|
cov_1ia73x4fw3().f[4]++;
|
|
29903
29891
|
cov_1ia73x4fw3().s[12]++;
|
|
29904
|
-
if (
|
|
29892
|
+
if (isEmpty(activeQuestions)) {
|
|
29905
29893
|
cov_1ia73x4fw3().b[4][0]++;
|
|
29906
29894
|
cov_1ia73x4fw3().s[13]++;
|
|
29907
|
-
return
|
|
29895
|
+
return allQuestionKinds;
|
|
29908
29896
|
} else {
|
|
29909
29897
|
cov_1ia73x4fw3().b[4][1]++;
|
|
29910
29898
|
}
|
|
@@ -29920,7 +29908,7 @@ var getAvailableQuestionKinds = function getAvailableQuestionKinds(allQuestionKi
|
|
|
29920
29908
|
return (cov_1ia73x4fw3().b[6][0]++, isSingularKind) && (cov_1ia73x4fw3().b[6][1]++, isKindAlreadyActive);
|
|
29921
29909
|
}, allQuestionKinds));
|
|
29922
29910
|
cov_1ia73x4fw3().s[19]++;
|
|
29923
|
-
return
|
|
29911
|
+
return questionKinds;
|
|
29924
29912
|
};
|
|
29925
29913
|
cov_1ia73x4fw3().s[20]++;
|
|
29926
29914
|
var sliceLabel = function sliceLabel(label) {
|
|
@@ -64844,7 +64832,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
|
|
|
64844
64832
|
|
|
64845
64833
|
function cov_29xlle89ll() {
|
|
64846
64834
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
|
|
64847
|
-
var hash = "
|
|
64835
|
+
var hash = "f309c9df1c79dbf4de7b84c18c2f39eed53b297f";
|
|
64848
64836
|
var global = new Function("return this")();
|
|
64849
64837
|
var gcv = "__coverage__";
|
|
64850
64838
|
var coverageData = {
|
|
@@ -64852,71 +64840,71 @@ function cov_29xlle89ll() {
|
|
|
64852
64840
|
statementMap: {
|
|
64853
64841
|
"0": {
|
|
64854
64842
|
start: {
|
|
64855
|
-
line:
|
|
64843
|
+
line: 13,
|
|
64856
64844
|
column: 19
|
|
64857
64845
|
},
|
|
64858
64846
|
end: {
|
|
64859
|
-
line:
|
|
64847
|
+
line: 56,
|
|
64860
64848
|
column: 1
|
|
64861
64849
|
}
|
|
64862
64850
|
},
|
|
64863
64851
|
"1": {
|
|
64864
64852
|
start: {
|
|
64865
|
-
line:
|
|
64853
|
+
line: 20,
|
|
64866
64854
|
column: 62
|
|
64867
64855
|
},
|
|
64868
64856
|
end: {
|
|
64869
|
-
line:
|
|
64857
|
+
line: 24,
|
|
64870
64858
|
column: 4
|
|
64871
64859
|
}
|
|
64872
64860
|
},
|
|
64873
64861
|
"2": {
|
|
64874
64862
|
start: {
|
|
64875
|
-
line:
|
|
64863
|
+
line: 26,
|
|
64876
64864
|
column: 24
|
|
64877
64865
|
},
|
|
64878
64866
|
end: {
|
|
64879
|
-
line:
|
|
64867
|
+
line: 26,
|
|
64880
64868
|
column: 34
|
|
64881
64869
|
}
|
|
64882
64870
|
},
|
|
64883
64871
|
"3": {
|
|
64884
64872
|
start: {
|
|
64885
|
-
line:
|
|
64873
|
+
line: 28,
|
|
64886
64874
|
column: 2
|
|
64887
64875
|
},
|
|
64888
64876
|
end: {
|
|
64889
|
-
line:
|
|
64877
|
+
line: 34,
|
|
64890
64878
|
column: 3
|
|
64891
64879
|
}
|
|
64892
64880
|
},
|
|
64893
64881
|
"4": {
|
|
64894
64882
|
start: {
|
|
64895
|
-
line:
|
|
64883
|
+
line: 29,
|
|
64896
64884
|
column: 4
|
|
64897
64885
|
},
|
|
64898
64886
|
end: {
|
|
64899
|
-
line:
|
|
64887
|
+
line: 33,
|
|
64900
64888
|
column: 6
|
|
64901
64889
|
}
|
|
64902
64890
|
},
|
|
64903
64891
|
"5": {
|
|
64904
64892
|
start: {
|
|
64905
|
-
line:
|
|
64893
|
+
line: 36,
|
|
64906
64894
|
column: 2
|
|
64907
64895
|
},
|
|
64908
64896
|
end: {
|
|
64909
|
-
line:
|
|
64897
|
+
line: 55,
|
|
64910
64898
|
column: 4
|
|
64911
64899
|
}
|
|
64912
64900
|
},
|
|
64913
64901
|
"6": {
|
|
64914
64902
|
start: {
|
|
64915
|
-
line:
|
|
64903
|
+
line: 43,
|
|
64916
64904
|
column: 8
|
|
64917
64905
|
},
|
|
64918
64906
|
end: {
|
|
64919
|
-
line:
|
|
64907
|
+
line: 52,
|
|
64920
64908
|
column: 14
|
|
64921
64909
|
}
|
|
64922
64910
|
}
|
|
@@ -64926,248 +64914,248 @@ function cov_29xlle89ll() {
|
|
|
64926
64914
|
name: "(anonymous_0)",
|
|
64927
64915
|
decl: {
|
|
64928
64916
|
start: {
|
|
64929
|
-
line:
|
|
64917
|
+
line: 13,
|
|
64930
64918
|
column: 19
|
|
64931
64919
|
},
|
|
64932
64920
|
end: {
|
|
64933
|
-
line:
|
|
64921
|
+
line: 13,
|
|
64934
64922
|
column: 20
|
|
64935
64923
|
}
|
|
64936
64924
|
},
|
|
64937
64925
|
loc: {
|
|
64938
64926
|
start: {
|
|
64939
|
-
line:
|
|
64927
|
+
line: 19,
|
|
64940
64928
|
column: 6
|
|
64941
64929
|
},
|
|
64942
64930
|
end: {
|
|
64943
|
-
line:
|
|
64931
|
+
line: 56,
|
|
64944
64932
|
column: 1
|
|
64945
64933
|
}
|
|
64946
64934
|
},
|
|
64947
|
-
line:
|
|
64935
|
+
line: 19
|
|
64948
64936
|
},
|
|
64949
64937
|
"1": {
|
|
64950
64938
|
name: "(anonymous_1)",
|
|
64951
64939
|
decl: {
|
|
64952
64940
|
start: {
|
|
64953
|
-
line:
|
|
64941
|
+
line: 42,
|
|
64954
64942
|
column: 21
|
|
64955
64943
|
},
|
|
64956
64944
|
end: {
|
|
64957
|
-
line:
|
|
64945
|
+
line: 42,
|
|
64958
64946
|
column: 22
|
|
64959
64947
|
}
|
|
64960
64948
|
},
|
|
64961
64949
|
loc: {
|
|
64962
64950
|
start: {
|
|
64963
|
-
line:
|
|
64951
|
+
line: 43,
|
|
64964
64952
|
column: 8
|
|
64965
64953
|
},
|
|
64966
64954
|
end: {
|
|
64967
|
-
line:
|
|
64955
|
+
line: 52,
|
|
64968
64956
|
column: 14
|
|
64969
64957
|
}
|
|
64970
64958
|
},
|
|
64971
|
-
line:
|
|
64959
|
+
line: 43
|
|
64972
64960
|
}
|
|
64973
64961
|
},
|
|
64974
64962
|
branchMap: {
|
|
64975
64963
|
"0": {
|
|
64976
64964
|
loc: {
|
|
64977
64965
|
start: {
|
|
64978
|
-
line:
|
|
64966
|
+
line: 14,
|
|
64979
64967
|
column: 2
|
|
64980
64968
|
},
|
|
64981
64969
|
end: {
|
|
64982
|
-
line:
|
|
64970
|
+
line: 14,
|
|
64983
64971
|
column: 13
|
|
64984
64972
|
}
|
|
64985
64973
|
},
|
|
64986
64974
|
type: "default-arg",
|
|
64987
64975
|
locations: [{
|
|
64988
64976
|
start: {
|
|
64989
|
-
line:
|
|
64977
|
+
line: 14,
|
|
64990
64978
|
column: 11
|
|
64991
64979
|
},
|
|
64992
64980
|
end: {
|
|
64993
|
-
line:
|
|
64981
|
+
line: 14,
|
|
64994
64982
|
column: 13
|
|
64995
64983
|
}
|
|
64996
64984
|
}],
|
|
64997
|
-
line:
|
|
64985
|
+
line: 14
|
|
64998
64986
|
},
|
|
64999
64987
|
"1": {
|
|
65000
64988
|
loc: {
|
|
65001
64989
|
start: {
|
|
65002
|
-
line:
|
|
64990
|
+
line: 15,
|
|
65003
64991
|
column: 2
|
|
65004
64992
|
},
|
|
65005
64993
|
end: {
|
|
65006
|
-
line:
|
|
64994
|
+
line: 15,
|
|
65007
64995
|
column: 19
|
|
65008
64996
|
}
|
|
65009
64997
|
},
|
|
65010
64998
|
type: "default-arg",
|
|
65011
64999
|
locations: [{
|
|
65012
65000
|
start: {
|
|
65013
|
-
line:
|
|
65001
|
+
line: 15,
|
|
65014
65002
|
column: 17
|
|
65015
65003
|
},
|
|
65016
65004
|
end: {
|
|
65017
|
-
line:
|
|
65005
|
+
line: 15,
|
|
65018
65006
|
column: 19
|
|
65019
65007
|
}
|
|
65020
65008
|
}],
|
|
65021
|
-
line:
|
|
65009
|
+
line: 15
|
|
65022
65010
|
},
|
|
65023
65011
|
"2": {
|
|
65024
65012
|
loc: {
|
|
65025
65013
|
start: {
|
|
65026
|
-
line:
|
|
65014
|
+
line: 16,
|
|
65027
65015
|
column: 2
|
|
65028
65016
|
},
|
|
65029
65017
|
end: {
|
|
65030
|
-
line:
|
|
65018
|
+
line: 16,
|
|
65031
65019
|
column: 16
|
|
65032
65020
|
}
|
|
65033
65021
|
},
|
|
65034
65022
|
type: "default-arg",
|
|
65035
65023
|
locations: [{
|
|
65036
65024
|
start: {
|
|
65037
|
-
line:
|
|
65025
|
+
line: 16,
|
|
65038
65026
|
column: 14
|
|
65039
65027
|
},
|
|
65040
65028
|
end: {
|
|
65041
|
-
line:
|
|
65029
|
+
line: 16,
|
|
65042
65030
|
column: 16
|
|
65043
65031
|
}
|
|
65044
65032
|
}],
|
|
65045
|
-
line:
|
|
65033
|
+
line: 16
|
|
65046
65034
|
},
|
|
65047
65035
|
"3": {
|
|
65048
65036
|
loc: {
|
|
65049
65037
|
start: {
|
|
65050
|
-
line:
|
|
65038
|
+
line: 17,
|
|
65051
65039
|
column: 2
|
|
65052
65040
|
},
|
|
65053
65041
|
end: {
|
|
65054
|
-
line:
|
|
65042
|
+
line: 17,
|
|
65055
65043
|
column: 25
|
|
65056
65044
|
}
|
|
65057
65045
|
},
|
|
65058
65046
|
type: "default-arg",
|
|
65059
65047
|
locations: [{
|
|
65060
65048
|
start: {
|
|
65061
|
-
line:
|
|
65049
|
+
line: 17,
|
|
65062
65050
|
column: 23
|
|
65063
65051
|
},
|
|
65064
65052
|
end: {
|
|
65065
|
-
line:
|
|
65053
|
+
line: 17,
|
|
65066
65054
|
column: 25
|
|
65067
65055
|
}
|
|
65068
65056
|
}],
|
|
65069
|
-
line:
|
|
65057
|
+
line: 17
|
|
65070
65058
|
},
|
|
65071
65059
|
"4": {
|
|
65072
65060
|
loc: {
|
|
65073
65061
|
start: {
|
|
65074
|
-
line:
|
|
65062
|
+
line: 18,
|
|
65075
65063
|
column: 2
|
|
65076
65064
|
},
|
|
65077
65065
|
end: {
|
|
65078
|
-
line:
|
|
65066
|
+
line: 18,
|
|
65079
65067
|
column: 18
|
|
65080
65068
|
}
|
|
65081
65069
|
},
|
|
65082
65070
|
type: "default-arg",
|
|
65083
65071
|
locations: [{
|
|
65084
65072
|
start: {
|
|
65085
|
-
line:
|
|
65073
|
+
line: 18,
|
|
65086
65074
|
column: 16
|
|
65087
65075
|
},
|
|
65088
65076
|
end: {
|
|
65089
|
-
line:
|
|
65077
|
+
line: 18,
|
|
65090
65078
|
column: 18
|
|
65091
65079
|
}
|
|
65092
65080
|
}],
|
|
65093
|
-
line:
|
|
65081
|
+
line: 18
|
|
65094
65082
|
},
|
|
65095
65083
|
"5": {
|
|
65096
65084
|
loc: {
|
|
65097
65085
|
start: {
|
|
65098
|
-
line:
|
|
65086
|
+
line: 20,
|
|
65099
65087
|
column: 16
|
|
65100
65088
|
},
|
|
65101
65089
|
end: {
|
|
65102
|
-
line:
|
|
65090
|
+
line: 20,
|
|
65103
65091
|
column: 46
|
|
65104
65092
|
}
|
|
65105
65093
|
},
|
|
65106
65094
|
type: "default-arg",
|
|
65107
65095
|
locations: [{
|
|
65108
65096
|
start: {
|
|
65109
|
-
line:
|
|
65097
|
+
line: 20,
|
|
65110
65098
|
column: 29
|
|
65111
65099
|
},
|
|
65112
65100
|
end: {
|
|
65113
|
-
line:
|
|
65101
|
+
line: 20,
|
|
65114
65102
|
column: 46
|
|
65115
65103
|
}
|
|
65116
65104
|
}],
|
|
65117
|
-
line:
|
|
65105
|
+
line: 20
|
|
65118
65106
|
},
|
|
65119
65107
|
"6": {
|
|
65120
65108
|
loc: {
|
|
65121
65109
|
start: {
|
|
65122
|
-
line:
|
|
65110
|
+
line: 23,
|
|
65123
65111
|
column: 16
|
|
65124
65112
|
},
|
|
65125
65113
|
end: {
|
|
65126
|
-
line:
|
|
65114
|
+
line: 23,
|
|
65127
65115
|
column: 38
|
|
65128
65116
|
}
|
|
65129
65117
|
},
|
|
65130
65118
|
type: "binary-expr",
|
|
65131
65119
|
locations: [{
|
|
65132
65120
|
start: {
|
|
65133
|
-
line:
|
|
65121
|
+
line: 23,
|
|
65134
65122
|
column: 16
|
|
65135
65123
|
},
|
|
65136
65124
|
end: {
|
|
65137
|
-
line:
|
|
65125
|
+
line: 23,
|
|
65138
65126
|
column: 22
|
|
65139
65127
|
}
|
|
65140
65128
|
}, {
|
|
65141
65129
|
start: {
|
|
65142
|
-
line:
|
|
65130
|
+
line: 23,
|
|
65143
65131
|
column: 26
|
|
65144
65132
|
},
|
|
65145
65133
|
end: {
|
|
65146
|
-
line:
|
|
65134
|
+
line: 23,
|
|
65147
65135
|
column: 38
|
|
65148
65136
|
}
|
|
65149
65137
|
}],
|
|
65150
|
-
line:
|
|
65138
|
+
line: 23
|
|
65151
65139
|
},
|
|
65152
65140
|
"7": {
|
|
65153
65141
|
loc: {
|
|
65154
65142
|
start: {
|
|
65155
|
-
line:
|
|
65143
|
+
line: 28,
|
|
65156
65144
|
column: 2
|
|
65157
65145
|
},
|
|
65158
65146
|
end: {
|
|
65159
|
-
line:
|
|
65147
|
+
line: 34,
|
|
65160
65148
|
column: 3
|
|
65161
65149
|
}
|
|
65162
65150
|
},
|
|
65163
65151
|
type: "if",
|
|
65164
65152
|
locations: [{
|
|
65165
65153
|
start: {
|
|
65166
|
-
line:
|
|
65154
|
+
line: 28,
|
|
65167
65155
|
column: 2
|
|
65168
65156
|
},
|
|
65169
65157
|
end: {
|
|
65170
|
-
line:
|
|
65158
|
+
line: 34,
|
|
65171
65159
|
column: 3
|
|
65172
65160
|
}
|
|
65173
65161
|
}, {
|
|
@@ -65180,40 +65168,40 @@ function cov_29xlle89ll() {
|
|
|
65180
65168
|
column: undefined
|
|
65181
65169
|
}
|
|
65182
65170
|
}],
|
|
65183
|
-
line:
|
|
65171
|
+
line: 28
|
|
65184
65172
|
},
|
|
65185
65173
|
"8": {
|
|
65186
65174
|
loc: {
|
|
65187
65175
|
start: {
|
|
65188
|
-
line:
|
|
65176
|
+
line: 49,
|
|
65189
65177
|
column: 15
|
|
65190
65178
|
},
|
|
65191
65179
|
end: {
|
|
65192
|
-
line:
|
|
65193
|
-
column:
|
|
65180
|
+
line: 49,
|
|
65181
|
+
column: 63
|
|
65194
65182
|
}
|
|
65195
65183
|
},
|
|
65196
65184
|
type: "cond-expr",
|
|
65197
65185
|
locations: [{
|
|
65198
65186
|
start: {
|
|
65199
|
-
line:
|
|
65200
|
-
column:
|
|
65187
|
+
line: 49,
|
|
65188
|
+
column: 33
|
|
65201
65189
|
},
|
|
65202
65190
|
end: {
|
|
65203
|
-
line:
|
|
65204
|
-
column:
|
|
65191
|
+
line: 49,
|
|
65192
|
+
column: 55
|
|
65205
65193
|
}
|
|
65206
65194
|
}, {
|
|
65207
65195
|
start: {
|
|
65208
|
-
line:
|
|
65209
|
-
column:
|
|
65196
|
+
line: 49,
|
|
65197
|
+
column: 58
|
|
65210
65198
|
},
|
|
65211
65199
|
end: {
|
|
65212
|
-
line:
|
|
65213
|
-
column:
|
|
65200
|
+
line: 49,
|
|
65201
|
+
column: 63
|
|
65214
65202
|
}
|
|
65215
65203
|
}],
|
|
65216
|
-
line:
|
|
65204
|
+
line: 49
|
|
65217
65205
|
}
|
|
65218
65206
|
},
|
|
65219
65207
|
s: {
|
|
@@ -65241,7 +65229,7 @@ function cov_29xlle89ll() {
|
|
|
65241
65229
|
"8": [0, 0]
|
|
65242
65230
|
},
|
|
65243
65231
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
65244
|
-
hash: "
|
|
65232
|
+
hash: "f309c9df1c79dbf4de7b84c18c2f39eed53b297f"
|
|
65245
65233
|
};
|
|
65246
65234
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
65247
65235
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -65311,7 +65299,7 @@ var Submission = function Submission(_ref) {
|
|
|
65311
65299
|
weight: "semibold"
|
|
65312
65300
|
}, answerProps), /*#__PURE__*/React__default.createElement(_default, {
|
|
65313
65301
|
componentDecorator: linkifyDecorator
|
|
65314
|
-
}, kind ===
|
|
65302
|
+
}, kind === "date" ? (cov_29xlle89ll().b[8][0]++, dateFormat.date(value)) : (cov_29xlle89ll().b[8][1]++, value))));
|
|
65315
65303
|
}));
|
|
65316
65304
|
};
|
|
65317
65305
|
|