arengibook 2.4.690 → 2.4.692
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.js +39 -37
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36615,44 +36615,46 @@ var Dropdown = function Dropdown(props) {
|
|
|
36615
36615
|
}, placeholder)));
|
|
36616
36616
|
}
|
|
36617
36617
|
} else {
|
|
36618
|
-
if (
|
|
36619
|
-
|
|
36620
|
-
|
|
36621
|
-
|
|
36622
|
-
|
|
36623
|
-
|
|
36624
|
-
|
|
36625
|
-
|
|
36626
|
-
|
|
36627
|
-
|
|
36628
|
-
|
|
36629
|
-
|
|
36630
|
-
|
|
36631
|
-
|
|
36632
|
-
|
|
36633
|
-
|
|
36634
|
-
|
|
36635
|
-
|
|
36636
|
-
|
|
36637
|
-
|
|
36638
|
-
|
|
36639
|
-
|
|
36640
|
-
|
|
36641
|
-
|
|
36642
|
-
|
|
36643
|
-
|
|
36644
|
-
}, imgUrl && /*#__PURE__*/React__default.createElement("img", {
|
|
36645
|
-
src: imgUrl,
|
|
36646
|
-
alt: "",
|
|
36647
|
-
style: {
|
|
36648
|
-
width: '18px',
|
|
36649
|
-
height: '18px',
|
|
36650
|
-
objectFit: 'contain'
|
|
36618
|
+
if (isSelectMeta) {
|
|
36619
|
+
if (!isEditing) {
|
|
36620
|
+
var _iconColor = option !== null && option !== void 0 && option.color ? inverseColor(option === null || option === void 0 ? void 0 : option.color) : '#000000';
|
|
36621
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
36622
|
+
ref: dropdownRef
|
|
36623
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
36624
|
+
className: 'badge select-badge',
|
|
36625
|
+
style: _objectSpread2({
|
|
36626
|
+
backgroundColor: option !== null && option !== void 0 && option.color ? option === null || option === void 0 ? void 0 : option.color : '#FFFFFF',
|
|
36627
|
+
color: _iconColor,
|
|
36628
|
+
padding: '6px 12px',
|
|
36629
|
+
fontSize: '14px',
|
|
36630
|
+
borderRadius: '8px',
|
|
36631
|
+
boxShadow: '2px 2px 4px rgba(0, 0, 0, 0.15)',
|
|
36632
|
+
display: 'inline-block',
|
|
36633
|
+
fontFamily: 'Arial'
|
|
36634
|
+
}, valueStyle)
|
|
36635
|
+
}, option !== null && option !== void 0 && option[optionLabel] ? /*#__PURE__*/React__default.createElement("span", {
|
|
36636
|
+
style: {
|
|
36637
|
+
color: _iconColor
|
|
36638
|
+
}
|
|
36639
|
+
}, option === null || option === void 0 ? void 0 : option[optionLabel]) : /*#__PURE__*/React__default.createElement("span", {
|
|
36640
|
+
style: {
|
|
36641
|
+
color: '#000000'
|
|
36642
|
+
}
|
|
36643
|
+
}, placeholder)));
|
|
36651
36644
|
}
|
|
36652
|
-
}
|
|
36653
|
-
|
|
36654
|
-
|
|
36655
|
-
|
|
36645
|
+
} else {
|
|
36646
|
+
var attrs = {
|
|
36647
|
+
className: valueClassname,
|
|
36648
|
+
style: _objectSpread2({
|
|
36649
|
+
fontFamily: 'Arial',
|
|
36650
|
+
fontSize: '14px'
|
|
36651
|
+
}, valueStyle)
|
|
36652
|
+
};
|
|
36653
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
36654
|
+
className: attrs.className,
|
|
36655
|
+
style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
|
|
36656
|
+
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36657
|
+
}
|
|
36656
36658
|
}
|
|
36657
36659
|
};
|
|
36658
36660
|
var handleFilter = function handleFilter(event) {
|