arengibook 2.4.691 → 2.4.693
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 +4 -35
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36615,27 +36615,6 @@ var Dropdown = function Dropdown(props) {
|
|
|
36615
36615
|
}, placeholder)));
|
|
36616
36616
|
}
|
|
36617
36617
|
} else {
|
|
36618
|
-
if (!option) {
|
|
36619
|
-
return /*#__PURE__*/React__default.createElement("span", null);
|
|
36620
|
-
}
|
|
36621
|
-
var optionAttrs = (option === null || option === void 0 ? void 0 : option.attrs) || {};
|
|
36622
|
-
console.log('optionAttrs');
|
|
36623
|
-
console.log(optionAttrs);
|
|
36624
|
-
console.log(option);
|
|
36625
|
-
var imgUrl = optionAttrs['data-linkimg'];
|
|
36626
|
-
console.log("imgUrl");
|
|
36627
|
-
console.log(imgUrl);
|
|
36628
|
-
console.log('option?.[optionLabel] || placeholder');
|
|
36629
|
-
console.log((option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36630
|
-
console.log('option?.[optionLabel]');
|
|
36631
|
-
console.log(option === null || option === void 0 ? void 0 : option[optionLabel]);
|
|
36632
|
-
console.log('placeholder');
|
|
36633
|
-
console.log(placeholder);
|
|
36634
|
-
var _style2 = _objectSpread2({
|
|
36635
|
-
display: 'flex',
|
|
36636
|
-
alignItems: 'center',
|
|
36637
|
-
gap: '0.5rem'
|
|
36638
|
-
}, valueStyle || {});
|
|
36639
36618
|
var attrs = {
|
|
36640
36619
|
className: valueClassname,
|
|
36641
36620
|
style: _objectSpread2({
|
|
@@ -36643,23 +36622,13 @@ var Dropdown = function Dropdown(props) {
|
|
|
36643
36622
|
fontSize: '14px'
|
|
36644
36623
|
}, valueStyle)
|
|
36645
36624
|
};
|
|
36646
|
-
console.log('attrs');
|
|
36647
36625
|
console.log(attrs);
|
|
36648
|
-
console.log(
|
|
36649
|
-
|
|
36650
|
-
|
|
36651
|
-
}, imgUrl && /*#__PURE__*/React__default.createElement("img", {
|
|
36652
|
-
src: imgUrl,
|
|
36653
|
-
alt: "",
|
|
36654
|
-
style: {
|
|
36655
|
-
width: '18px',
|
|
36656
|
-
height: '18px',
|
|
36657
|
-
objectFit: 'contain'
|
|
36658
|
-
}
|
|
36659
|
-
}), /*#__PURE__*/React__default.createElement("span", null, option === null || option === void 0 ? void 0 : option[optionLabel])) : /*#__PURE__*/React__default.createElement("span", {
|
|
36626
|
+
console.log((option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36627
|
+
console.log(placeholder);
|
|
36628
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
36660
36629
|
className: attrs.className,
|
|
36661
36630
|
style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
|
|
36662
|
-
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder
|
|
36631
|
+
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36663
36632
|
}
|
|
36664
36633
|
};
|
|
36665
36634
|
var handleFilter = function handleFilter(event) {
|