ui-kit-ck-consultant 0.5.120 → 0.5.124
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/css/style.css +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -455,7 +455,7 @@ var FormRange = /*#__PURE__*/function (_React$Component) {
|
|
455
455
|
isOpen: !_this2.state.isOpen
|
456
456
|
});
|
457
457
|
}
|
458
|
-
}, /*#__PURE__*/React.createElement("span", null, this.findText(this.props.options1, this.props.value1), " -"
|
458
|
+
}, /*#__PURE__*/React.createElement("span", null, this.findText(this.props.options1, this.props.value1), this.findText(this.props.options1, this.props.value1) !== this.findText(this.props.options2, this.props.value2) ? " - " + this.findText(this.props.options2, this.props.value2) : ''), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
459
459
|
icon: this.state.isOpen ? faCaretUp : faCaretDown
|
460
460
|
}))), this.state.isOpen ? /*#__PURE__*/React.createElement("div", {
|
461
461
|
className: style$4.form_range_modal
|
@@ -467,7 +467,7 @@ var FormRange = /*#__PURE__*/function (_React$Component) {
|
|
467
467
|
className: "mr-10 w-100",
|
468
468
|
ignore: true,
|
469
469
|
disabled: false,
|
470
|
-
init:
|
470
|
+
init: this.props.init1
|
471
471
|
}), /*#__PURE__*/React.createElement(FormSelect, {
|
472
472
|
name: this.props.name2,
|
473
473
|
options: this.props.options2,
|
@@ -476,7 +476,7 @@ var FormRange = /*#__PURE__*/function (_React$Component) {
|
|
476
476
|
className: "w-100",
|
477
477
|
ignore: true,
|
478
478
|
disabled: false,
|
479
|
-
init:
|
479
|
+
init: this.props.init2
|
480
480
|
})) : null);
|
481
481
|
};
|
482
482
|
|