@bigbinary/neeto-form-frontend 1.0.40 → 1.0.41
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 +44 -36
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +44 -36
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.cjs.js
CHANGED
|
@@ -26653,7 +26653,7 @@ var Rating$2 = function Rating(_ref2) {
|
|
|
26653
26653
|
|
|
26654
26654
|
function cov_1j1yg440h3() {
|
|
26655
26655
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/RichText.jsx";
|
|
26656
|
-
var hash = "
|
|
26656
|
+
var hash = "ae73cb4ad3ef2b18eff02f58dc524760c09e76b9";
|
|
26657
26657
|
var global = new Function("return this")();
|
|
26658
26658
|
var gcv = "__coverage__";
|
|
26659
26659
|
var coverageData = {
|
|
@@ -26665,7 +26665,7 @@ function cov_1j1yg440h3() {
|
|
|
26665
26665
|
column: 17
|
|
26666
26666
|
},
|
|
26667
26667
|
end: {
|
|
26668
|
-
line:
|
|
26668
|
+
line: 42,
|
|
26669
26669
|
column: 1
|
|
26670
26670
|
}
|
|
26671
26671
|
},
|
|
@@ -26685,7 +26685,7 @@ function cov_1j1yg440h3() {
|
|
|
26685
26685
|
column: 2
|
|
26686
26686
|
},
|
|
26687
26687
|
end: {
|
|
26688
|
-
line:
|
|
26688
|
+
line: 41,
|
|
26689
26689
|
column: 4
|
|
26690
26690
|
}
|
|
26691
26691
|
}
|
|
@@ -26709,7 +26709,7 @@ function cov_1j1yg440h3() {
|
|
|
26709
26709
|
column: 60
|
|
26710
26710
|
},
|
|
26711
26711
|
end: {
|
|
26712
|
-
line:
|
|
26712
|
+
line: 42,
|
|
26713
26713
|
column: 1
|
|
26714
26714
|
}
|
|
26715
26715
|
},
|
|
@@ -26720,35 +26720,35 @@ function cov_1j1yg440h3() {
|
|
|
26720
26720
|
"0": {
|
|
26721
26721
|
loc: {
|
|
26722
26722
|
start: {
|
|
26723
|
-
line:
|
|
26723
|
+
line: 31,
|
|
26724
26724
|
column: 7
|
|
26725
26725
|
},
|
|
26726
26726
|
end: {
|
|
26727
|
-
line:
|
|
26727
|
+
line: 39,
|
|
26728
26728
|
column: 7
|
|
26729
26729
|
}
|
|
26730
26730
|
},
|
|
26731
26731
|
type: "binary-expr",
|
|
26732
26732
|
locations: [{
|
|
26733
26733
|
start: {
|
|
26734
|
-
line:
|
|
26734
|
+
line: 31,
|
|
26735
26735
|
column: 7
|
|
26736
26736
|
},
|
|
26737
26737
|
end: {
|
|
26738
|
-
line:
|
|
26738
|
+
line: 31,
|
|
26739
26739
|
column: 18
|
|
26740
26740
|
}
|
|
26741
26741
|
}, {
|
|
26742
26742
|
start: {
|
|
26743
|
-
line:
|
|
26743
|
+
line: 32,
|
|
26744
26744
|
column: 8
|
|
26745
26745
|
},
|
|
26746
26746
|
end: {
|
|
26747
|
-
line:
|
|
26747
|
+
line: 38,
|
|
26748
26748
|
column: 14
|
|
26749
26749
|
}
|
|
26750
26750
|
}],
|
|
26751
|
-
line:
|
|
26751
|
+
line: 31
|
|
26752
26752
|
}
|
|
26753
26753
|
},
|
|
26754
26754
|
s: {
|
|
@@ -26763,7 +26763,7 @@ function cov_1j1yg440h3() {
|
|
|
26763
26763
|
"0": [0, 0]
|
|
26764
26764
|
},
|
|
26765
26765
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
26766
|
-
hash: "
|
|
26766
|
+
hash: "ae73cb4ad3ef2b18eff02f58dc524760c09e76b9"
|
|
26767
26767
|
};
|
|
26768
26768
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
26769
26769
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -26800,6 +26800,12 @@ var RichText$1 = function RichText(_ref) {
|
|
|
26800
26800
|
label: t("questions.common.questionFields.field.question"),
|
|
26801
26801
|
name: "".concat(name, ".label"),
|
|
26802
26802
|
rows: 1
|
|
26803
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26804
|
+
className: "col-span-2"
|
|
26805
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextAreaWithMaxLength, {
|
|
26806
|
+
label: t("questions.common.questionFields.field.placeholder"),
|
|
26807
|
+
name: "".concat(name, ".placeholder"),
|
|
26808
|
+
rows: 3
|
|
26803
26809
|
}))), (cov_1j1yg440h3().b[0][0]++, !isRequired) && (cov_1j1yg440h3().b[0][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26804
26810
|
className: "w-full"
|
|
26805
26811
|
}, /*#__PURE__*/React__default["default"].createElement(formik$1.Checkbox, {
|
|
@@ -62590,7 +62596,7 @@ var RatingField = function RatingField(_ref) {
|
|
|
62590
62596
|
|
|
62591
62597
|
function cov_169joloac6() {
|
|
62592
62598
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/RichTextEditor.jsx";
|
|
62593
|
-
var hash = "
|
|
62599
|
+
var hash = "53fd3688aa83451f7f39b66ea40c7dfe6344a2f5";
|
|
62594
62600
|
var global = new Function("return this")();
|
|
62595
62601
|
var gcv = "__coverage__";
|
|
62596
62602
|
var coverageData = {
|
|
@@ -62602,18 +62608,18 @@ function cov_169joloac6() {
|
|
|
62602
62608
|
column: 23
|
|
62603
62609
|
},
|
|
62604
62610
|
end: {
|
|
62605
|
-
line:
|
|
62611
|
+
line: 45,
|
|
62606
62612
|
column: 1
|
|
62607
62613
|
}
|
|
62608
62614
|
},
|
|
62609
62615
|
"1": {
|
|
62610
62616
|
start: {
|
|
62611
62617
|
line: 10,
|
|
62612
|
-
column:
|
|
62618
|
+
column: 69
|
|
62613
62619
|
},
|
|
62614
62620
|
end: {
|
|
62615
62621
|
line: 10,
|
|
62616
|
-
column:
|
|
62622
|
+
column: 77
|
|
62617
62623
|
}
|
|
62618
62624
|
},
|
|
62619
62625
|
"2": {
|
|
@@ -62622,7 +62628,7 @@ function cov_169joloac6() {
|
|
|
62622
62628
|
column: 2
|
|
62623
62629
|
},
|
|
62624
62630
|
end: {
|
|
62625
|
-
line:
|
|
62631
|
+
line: 44,
|
|
62626
62632
|
column: 4
|
|
62627
62633
|
}
|
|
62628
62634
|
},
|
|
@@ -62632,27 +62638,27 @@ function cov_169joloac6() {
|
|
|
62632
62638
|
column: 10
|
|
62633
62639
|
},
|
|
62634
62640
|
end: {
|
|
62635
|
-
line:
|
|
62641
|
+
line: 40,
|
|
62636
62642
|
column: 12
|
|
62637
62643
|
}
|
|
62638
62644
|
},
|
|
62639
62645
|
"4": {
|
|
62640
62646
|
start: {
|
|
62641
|
-
line:
|
|
62647
|
+
line: 37,
|
|
62642
62648
|
column: 26
|
|
62643
62649
|
},
|
|
62644
62650
|
end: {
|
|
62645
|
-
line:
|
|
62651
|
+
line: 37,
|
|
62646
62652
|
column: 58
|
|
62647
62653
|
}
|
|
62648
62654
|
},
|
|
62649
62655
|
"5": {
|
|
62650
62656
|
start: {
|
|
62651
|
-
line:
|
|
62657
|
+
line: 38,
|
|
62652
62658
|
column: 31
|
|
62653
62659
|
},
|
|
62654
62660
|
end: {
|
|
62655
|
-
line:
|
|
62661
|
+
line: 38,
|
|
62656
62662
|
column: 62
|
|
62657
62663
|
}
|
|
62658
62664
|
}
|
|
@@ -62676,7 +62682,7 @@ function cov_169joloac6() {
|
|
|
62676
62682
|
column: 59
|
|
62677
62683
|
},
|
|
62678
62684
|
end: {
|
|
62679
|
-
line:
|
|
62685
|
+
line: 45,
|
|
62680
62686
|
column: 1
|
|
62681
62687
|
}
|
|
62682
62688
|
},
|
|
@@ -62700,7 +62706,7 @@ function cov_169joloac6() {
|
|
|
62700
62706
|
column: 10
|
|
62701
62707
|
},
|
|
62702
62708
|
end: {
|
|
62703
|
-
line:
|
|
62709
|
+
line: 40,
|
|
62704
62710
|
column: 12
|
|
62705
62711
|
}
|
|
62706
62712
|
},
|
|
@@ -62710,49 +62716,49 @@ function cov_169joloac6() {
|
|
|
62710
62716
|
name: "(anonymous_2)",
|
|
62711
62717
|
decl: {
|
|
62712
62718
|
start: {
|
|
62713
|
-
line:
|
|
62719
|
+
line: 37,
|
|
62714
62720
|
column: 20
|
|
62715
62721
|
},
|
|
62716
62722
|
end: {
|
|
62717
|
-
line:
|
|
62723
|
+
line: 37,
|
|
62718
62724
|
column: 21
|
|
62719
62725
|
}
|
|
62720
62726
|
},
|
|
62721
62727
|
loc: {
|
|
62722
62728
|
start: {
|
|
62723
|
-
line:
|
|
62729
|
+
line: 37,
|
|
62724
62730
|
column: 26
|
|
62725
62731
|
},
|
|
62726
62732
|
end: {
|
|
62727
|
-
line:
|
|
62733
|
+
line: 37,
|
|
62728
62734
|
column: 58
|
|
62729
62735
|
}
|
|
62730
62736
|
},
|
|
62731
|
-
line:
|
|
62737
|
+
line: 37
|
|
62732
62738
|
},
|
|
62733
62739
|
"3": {
|
|
62734
62740
|
name: "(anonymous_3)",
|
|
62735
62741
|
decl: {
|
|
62736
62742
|
start: {
|
|
62737
|
-
line:
|
|
62743
|
+
line: 38,
|
|
62738
62744
|
column: 22
|
|
62739
62745
|
},
|
|
62740
62746
|
end: {
|
|
62741
|
-
line:
|
|
62747
|
+
line: 38,
|
|
62742
62748
|
column: 23
|
|
62743
62749
|
}
|
|
62744
62750
|
},
|
|
62745
62751
|
loc: {
|
|
62746
62752
|
start: {
|
|
62747
|
-
line:
|
|
62753
|
+
line: 38,
|
|
62748
62754
|
column: 31
|
|
62749
62755
|
},
|
|
62750
62756
|
end: {
|
|
62751
|
-
line:
|
|
62757
|
+
line: 38,
|
|
62752
62758
|
column: 62
|
|
62753
62759
|
}
|
|
62754
62760
|
},
|
|
62755
|
-
line:
|
|
62761
|
+
line: 38
|
|
62756
62762
|
}
|
|
62757
62763
|
},
|
|
62758
62764
|
branchMap: {
|
|
@@ -62901,7 +62907,7 @@ function cov_169joloac6() {
|
|
|
62901
62907
|
"3": [0, 0]
|
|
62902
62908
|
},
|
|
62903
62909
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
62904
|
-
hash: "
|
|
62910
|
+
hash: "53fd3688aa83451f7f39b66ea40c7dfe6344a2f5"
|
|
62905
62911
|
};
|
|
62906
62912
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
62907
62913
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -62928,7 +62934,8 @@ var RichTextEditor = function RichTextEditor(_ref) {
|
|
|
62928
62934
|
kind = _ref2.kind,
|
|
62929
62935
|
label = _ref2.label,
|
|
62930
62936
|
isRequired = _ref2.isRequired,
|
|
62931
|
-
nodeId = _ref2.nodeId
|
|
62937
|
+
nodeId = _ref2.nodeId,
|
|
62938
|
+
placeholder = _ref2.placeholder;
|
|
62932
62939
|
cov_169joloac6().s[2]++;
|
|
62933
62940
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62934
62941
|
className: "neeto-form-engine-input__wrapper"
|
|
@@ -62953,6 +62960,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
|
|
|
62953
62960
|
className: "neeto-form-engine-rich-text-input",
|
|
62954
62961
|
error: meta.touched ? (cov_169joloac6().b[3][0]++, meta.error) : (cov_169joloac6().b[3][1]++, ""),
|
|
62955
62962
|
initialValue: field.value,
|
|
62963
|
+
placeholder: placeholder,
|
|
62956
62964
|
addons: ["attachments", "block-quote", "code-block", "image-upload"],
|
|
62957
62965
|
onBlur: function onBlur() {
|
|
62958
62966
|
cov_169joloac6().f[2]++;
|