react-survey-builder 1.0.110 → 1.0.112
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.
@@ -702,7 +702,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
702
702
|
onChange: function onChange(e) {
|
703
703
|
editElementProp('showRadio', 'checked', e);
|
704
704
|
}
|
705
|
-
})), element.hasOwnProperty('bgColor') && /*#__PURE__*/React.createElement(Form.Group, {
|
705
|
+
})), (element.hasOwnProperty('bgColor') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
706
706
|
className: "form-group mb-5"
|
707
707
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
708
708
|
className: "fw-bold",
|
@@ -715,7 +715,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
715
715
|
onChange: function onChange(e) {
|
716
716
|
editElementProp('bgColor', 'value', e);
|
717
717
|
}
|
718
|
-
})), element.hasOwnProperty('textColor') && /*#__PURE__*/React.createElement(Form.Group, {
|
718
|
+
})), (element.hasOwnProperty('textColor') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
719
719
|
className: "form-group mb-5"
|
720
720
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
721
721
|
className: "fw-bold",
|
@@ -728,7 +728,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
728
728
|
onChange: function onChange(e) {
|
729
729
|
editElementProp('textColor', 'value', e);
|
730
730
|
}
|
731
|
-
})), element.hasOwnProperty('className') && /*#__PURE__*/React.createElement(Form.Group, {
|
731
|
+
})), (element.hasOwnProperty('className') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
732
732
|
className: "form-group mb-5"
|
733
733
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
734
734
|
className: "fw-bold",
|
@@ -741,7 +741,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
741
741
|
onChange: function onChange(e) {
|
742
742
|
editElementProp('className', 'value', e);
|
743
743
|
}
|
744
|
-
})), element.hasOwnProperty('fieldLabelClassName') && /*#__PURE__*/React.createElement(Form.Group, {
|
744
|
+
})), (element.hasOwnProperty('fieldLabelClassName') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
745
745
|
className: "form-group mb-5"
|
746
746
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
747
747
|
className: "fw-bold",
|
@@ -754,7 +754,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
754
754
|
onChange: function onChange(e) {
|
755
755
|
editElementProp('fieldLabelClassName', 'value', e);
|
756
756
|
}
|
757
|
-
})), element.hasOwnProperty('fieldDescriptionClassName') && /*#__PURE__*/React.createElement(Form.Group, {
|
757
|
+
})), (element.hasOwnProperty('fieldDescriptionClassName') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
758
758
|
className: "form-group mb-5"
|
759
759
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
760
760
|
className: "fw-bold",
|
@@ -767,7 +767,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
767
767
|
onChange: function onChange(e) {
|
768
768
|
editElementProp('fieldDescriptionClassName', 'value', e);
|
769
769
|
}
|
770
|
-
})), element.hasOwnProperty('selectedClassName') && /*#__PURE__*/React.createElement(Form.Group, {
|
770
|
+
})), (element.hasOwnProperty('selectedClassName') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
771
771
|
className: "form-group mb-5"
|
772
772
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
773
773
|
className: "fw-bold",
|
@@ -780,7 +780,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
780
780
|
onChange: function onChange(e) {
|
781
781
|
editElementProp('selectedClassName', 'value', e);
|
782
782
|
}
|
783
|
-
})), element.hasOwnProperty('unselectedClassName') && /*#__PURE__*/React.createElement(Form.Group, {
|
783
|
+
})), (element.hasOwnProperty('unselectedClassName') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
784
784
|
className: "form-group mb-5"
|
785
785
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
786
786
|
className: "fw-bold",
|
@@ -793,7 +793,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
793
793
|
onChange: function onChange(e) {
|
794
794
|
editElementProp('unselectedClassName', 'value', e);
|
795
795
|
}
|
796
|
-
})), element.hasOwnProperty('selectedColor') && /*#__PURE__*/React.createElement(Form.Group, {
|
796
|
+
})), (element.hasOwnProperty('selectedColor') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
797
797
|
className: "form-group mb-5"
|
798
798
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
799
799
|
className: "fw-bold",
|
@@ -806,7 +806,7 @@ var SurveyElementsEdit = function SurveyElementsEdit(_ref2) {
|
|
806
806
|
onChange: function onChange(e) {
|
807
807
|
editElementProp('selectedColor', 'value', e);
|
808
808
|
}
|
809
|
-
})), element.hasOwnProperty('unselectedColor') && /*#__PURE__*/React.createElement(Form.Group, {
|
809
|
+
})), (element.hasOwnProperty('unselectedColor') || ['Checkboxes', 'RadioButtons', 'ButtonList'].indexOf(element.element)) && /*#__PURE__*/React.createElement(Form.Group, {
|
810
810
|
className: "form-group mb-5"
|
811
811
|
}, /*#__PURE__*/React.createElement(Form.Label, {
|
812
812
|
className: "fw-bold",
|