arengibook 2.4.692 → 2.4.694
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 +27 -39
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36615,46 +36615,34 @@ var Dropdown = function Dropdown(props) {
|
|
|
36615
36615
|
}, placeholder)));
|
|
36616
36616
|
}
|
|
36617
36617
|
} else {
|
|
36618
|
-
|
|
36619
|
-
|
|
36620
|
-
|
|
36621
|
-
|
|
36622
|
-
|
|
36623
|
-
|
|
36624
|
-
|
|
36625
|
-
|
|
36626
|
-
|
|
36627
|
-
|
|
36628
|
-
|
|
36629
|
-
|
|
36630
|
-
|
|
36631
|
-
|
|
36632
|
-
|
|
36633
|
-
|
|
36634
|
-
|
|
36635
|
-
|
|
36636
|
-
|
|
36637
|
-
|
|
36638
|
-
|
|
36639
|
-
|
|
36640
|
-
|
|
36641
|
-
color: '#000000'
|
|
36642
|
-
}
|
|
36643
|
-
}, placeholder)));
|
|
36618
|
+
var optionAttrs = (option === null || option === void 0 ? void 0 : option.attrs) || {};
|
|
36619
|
+
var imgUrl = optionAttrs['data-linkimg'];
|
|
36620
|
+
var _style2 = _objectSpread2({
|
|
36621
|
+
display: 'flex',
|
|
36622
|
+
alignItems: 'center',
|
|
36623
|
+
gap: '0.5rem'
|
|
36624
|
+
}, valueStyle || {});
|
|
36625
|
+
var attrs = {
|
|
36626
|
+
className: valueClassname,
|
|
36627
|
+
style: _objectSpread2({
|
|
36628
|
+
fontFamily: 'Arial',
|
|
36629
|
+
fontSize: '14px'
|
|
36630
|
+
}, valueStyle)
|
|
36631
|
+
};
|
|
36632
|
+
return imgUrl ? /*#__PURE__*/React__default.createElement("div", {
|
|
36633
|
+
style: _style2
|
|
36634
|
+
}, imgUrl && /*#__PURE__*/React__default.createElement("img", {
|
|
36635
|
+
src: imgUrl,
|
|
36636
|
+
alt: "",
|
|
36637
|
+
style: {
|
|
36638
|
+
width: '18px',
|
|
36639
|
+
height: '18px',
|
|
36640
|
+
objectFit: 'contain'
|
|
36644
36641
|
}
|
|
36645
|
-
}
|
|
36646
|
-
|
|
36647
|
-
|
|
36648
|
-
|
|
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
|
-
}
|
|
36642
|
+
}), /*#__PURE__*/React__default.createElement("span", null, option === null || option === void 0 ? void 0 : option[optionLabel])) : /*#__PURE__*/React__default.createElement("span", {
|
|
36643
|
+
className: attrs.className,
|
|
36644
|
+
style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
|
|
36645
|
+
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36658
36646
|
}
|
|
36659
36647
|
};
|
|
36660
36648
|
var handleFilter = function handleFilter(event) {
|