arengibook 2.4.690 → 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 +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36625,6 +36625,12 @@ var Dropdown = function Dropdown(props) {
|
|
|
36625
36625
|
var imgUrl = optionAttrs['data-linkimg'];
|
|
36626
36626
|
console.log("imgUrl");
|
|
36627
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);
|
|
36628
36634
|
var _style2 = _objectSpread2({
|
|
36629
36635
|
display: 'flex',
|
|
36630
36636
|
alignItems: 'center',
|
|
@@ -36639,6 +36645,7 @@ var Dropdown = function Dropdown(props) {
|
|
|
36639
36645
|
};
|
|
36640
36646
|
console.log('attrs');
|
|
36641
36647
|
console.log(attrs);
|
|
36648
|
+
console.log(attrs.className);
|
|
36642
36649
|
return imgUrl ? /*#__PURE__*/React__default.createElement("div", {
|
|
36643
36650
|
style: _style2
|
|
36644
36651
|
}, imgUrl && /*#__PURE__*/React__default.createElement("img", {
|
|
@@ -36652,7 +36659,7 @@ var Dropdown = function Dropdown(props) {
|
|
|
36652
36659
|
}), /*#__PURE__*/React__default.createElement("span", null, option === null || option === void 0 ? void 0 : option[optionLabel])) : /*#__PURE__*/React__default.createElement("span", {
|
|
36653
36660
|
className: attrs.className,
|
|
36654
36661
|
style: _objectSpread2(_objectSpread2({}, attrs.style), optionStyle)
|
|
36655
|
-
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder);
|
|
36662
|
+
}, (option === null || option === void 0 ? void 0 : option[optionLabel]) || placeholder, " ici ");
|
|
36656
36663
|
}
|
|
36657
36664
|
};
|
|
36658
36665
|
var handleFilter = function handleFilter(event) {
|