arengibook 2.4.689 → 2.4.691
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 +15 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36619,7 +36619,18 @@ var Dropdown = function Dropdown(props) {
|
|
|
36619
36619
|
return /*#__PURE__*/React__default.createElement("span", null);
|
|
36620
36620
|
}
|
|
36621
36621
|
var optionAttrs = (option === null || option === void 0 ? void 0 : option.attrs) || {};
|
|
36622
|
+
console.log('optionAttrs');
|
|
36623
|
+
console.log(optionAttrs);
|
|
36624
|
+
console.log(option);
|
|
36622
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);
|
|
36623
36634
|
var _style2 = _objectSpread2({
|
|
36624
36635
|
display: 'flex',
|
|
36625
36636
|
alignItems: 'center',
|
|
@@ -36632,6 +36643,9 @@ var Dropdown = function Dropdown(props) {
|
|
|
36632
36643
|
fontSize: '14px'
|
|
36633
36644
|
}, valueStyle)
|
|
36634
36645
|
};
|
|
36646
|
+
console.log('attrs');
|
|
36647
|
+
console.log(attrs);
|
|
36648
|
+
console.log(attrs.className);
|
|
36635
36649
|
return imgUrl ? /*#__PURE__*/React__default.createElement("div", {
|
|
36636
36650
|
style: _style2
|
|
36637
36651
|
}, imgUrl && /*#__PURE__*/React__default.createElement("img", {
|
|
@@ -36645,7 +36659,7 @@ var Dropdown = function Dropdown(props) {
|
|
|
36645
36659
|
}), /*#__PURE__*/React__default.createElement("span", null, option === null || option === void 0 ? void 0 : option[optionLabel])) : /*#__PURE__*/React__default.createElement("span", {
|
|
36646
36660
|
className: attrs.className,
|
|
36647
36661
|
style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
|
|
36648
|
-
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36662
|
+
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder, " ici ");
|
|
36649
36663
|
}
|
|
36650
36664
|
};
|
|
36651
36665
|
var handleFilter = function handleFilter(event) {
|