@oliasoft-open-source/react-ui-library 3.9.2-beta-3 → 3.9.2
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 +0 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27095,10 +27095,6 @@ const CustomSelect = ({
|
|
|
27095
27095
|
}
|
|
27096
27096
|
}, [options]);
|
|
27097
27097
|
const onSelectOption = (evt, option2, close2) => {
|
|
27098
|
-
console.group("onClickDeselectOption");
|
|
27099
|
-
console.log(evt, options);
|
|
27100
|
-
console.log(selectedOptions);
|
|
27101
|
-
console.groupEnd();
|
|
27102
27098
|
if (!(disabled2 || disabledContext)) {
|
|
27103
27099
|
if (close2) {
|
|
27104
27100
|
close2();
|
|
@@ -27113,7 +27109,6 @@ const CustomSelect = ({
|
|
|
27113
27109
|
(selectedOption) => lodash.exports.isEqual(selectedOption, option2)
|
|
27114
27110
|
);
|
|
27115
27111
|
if (!alreadySelected) {
|
|
27116
|
-
console.log("alreadySelected", alreadySelected);
|
|
27117
27112
|
const newSelectedOptions = lodash.exports.uniqWith(
|
|
27118
27113
|
selectedOptions.concat(option2),
|
|
27119
27114
|
lodash.exports.isEqual
|
|
@@ -27123,7 +27118,6 @@ const CustomSelect = ({
|
|
|
27123
27118
|
const newSelectedOptions = selectedOptions.filter(
|
|
27124
27119
|
(opt) => !lodash.exports.isEqual(opt, option2)
|
|
27125
27120
|
);
|
|
27126
|
-
console.log("newSelectedOptions", newSelectedOptions);
|
|
27127
27121
|
onChange(evt, newSelectedOptions);
|
|
27128
27122
|
}
|
|
27129
27123
|
} else {
|
|
@@ -27189,9 +27183,6 @@ const CustomSelect = ({
|
|
|
27189
27183
|
}
|
|
27190
27184
|
}, [state.isLayerOpen]);
|
|
27191
27185
|
const onClickDeselectOption = (evt, options2) => {
|
|
27192
|
-
console.group("onClickDeselectOption");
|
|
27193
|
-
console.log(evt, options2);
|
|
27194
|
-
console.groupEnd();
|
|
27195
27186
|
const newSelectedOptions = selectedOptions instanceof Array ? selectedOptions.filter((option2) => option2.value !== options2.value) : null;
|
|
27196
27187
|
onChange(evt, newSelectedOptions);
|
|
27197
27188
|
};
|
|
@@ -27535,7 +27526,6 @@ const Select = (props) => {
|
|
|
27535
27526
|
enableAutoScroll,
|
|
27536
27527
|
checkNonExistentValues
|
|
27537
27528
|
);
|
|
27538
|
-
console.log("selectedOptions", selectedOptions);
|
|
27539
27529
|
const canUseNative = !multi;
|
|
27540
27530
|
const useNative = native && canUseNative;
|
|
27541
27531
|
if (native && !canUseNative) {
|