ui-kit-ck-consultant 0.5.224 → 0.5.227
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.css +6 -3
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -622,7 +622,11 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
622
622
|
isDisplay: !_this2.state.isDisplay
|
623
623
|
});
|
624
624
|
}
|
625
|
-
}, /*#__PURE__*/React.createElement("span", null, this.props.value
|
625
|
+
}, /*#__PURE__*/React.createElement("span", null, !this.props.value && this.props.value.length ? this.props.options.filter(function (element) {
|
626
|
+
return _this2.props.value.includes(element.value);
|
627
|
+
}).map(function (element, idx) {
|
628
|
+
return "" + (idx ? ";" : "") + element.text;
|
629
|
+
}) : this.props["default"]), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
626
630
|
icon: faCaretDown
|
627
631
|
}))), this.state.isDisplay ? /*#__PURE__*/React.createElement("div", {
|
628
632
|
style: {
|
@@ -631,7 +635,7 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
631
635
|
width: this.inputRef.current.offsetWidth
|
632
636
|
},
|
633
637
|
className: style$6.form_select_values
|
634
|
-
}, this.props.options.map(function (element, idx) {
|
638
|
+
}, /*#__PURE__*/React.createElement("div", null, this.props.options.map(function (element, idx) {
|
635
639
|
return /*#__PURE__*/React.createElement("div", {
|
636
640
|
key: idx,
|
637
641
|
onClick: function onClick() {
|
@@ -644,7 +648,7 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
644
648
|
checked: _this2.props.value.includes(element.value),
|
645
649
|
text: element.text
|
646
650
|
}));
|
647
|
-
}), /*#__PURE__*/React.createElement("div", {
|
651
|
+
})), /*#__PURE__*/React.createElement("div", {
|
648
652
|
className: classNames$1('mt-auto d-flex', style$6.form_select_multiples_bottom)
|
649
653
|
}, /*#__PURE__*/React.createElement("span", {
|
650
654
|
onClick: function onClick() {
|