arengibook 2.4.677 → 2.4.679
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 +1 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36852,7 +36852,7 @@ var DropdownPresets = {
|
|
|
36852
36852
|
},
|
|
36853
36853
|
choice_attr: function choice_attr(option) {
|
|
36854
36854
|
return {
|
|
36855
|
-
className: '
|
|
36855
|
+
className: ''
|
|
36856
36856
|
};
|
|
36857
36857
|
}
|
|
36858
36858
|
},
|
|
@@ -39474,8 +39474,6 @@ var MultiSelectMetaAsync = function MultiSelectMetaAsync(_ref) {
|
|
|
39474
39474
|
};
|
|
39475
39475
|
useEffect(function () {
|
|
39476
39476
|
var _numValue;
|
|
39477
|
-
console.log("obtenir option url");
|
|
39478
|
-
console.log(optionsUrl);
|
|
39479
39477
|
setSelectedOptions(numObjValue && Array.isArray(numObjValue) && numObjValue.length ? numObjValue.map(function (opt) {
|
|
39480
39478
|
return opt[optionValue];
|
|
39481
39479
|
}) : (_numValue = numValue()) !== null && _numValue !== void 0 ? _numValue : []);
|
|
@@ -39913,15 +39911,7 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39913
39911
|
optionsUrl = props.optionsUrl;
|
|
39914
39912
|
var isAsyncOptions = typeof options === 'function' || optionsUrl;
|
|
39915
39913
|
if (isAsyncOptions) {
|
|
39916
|
-
console.log("optionsUrl is async");
|
|
39917
|
-
console.log(isAsyncOptions);
|
|
39918
|
-
console.log(optionsUrl);
|
|
39919
|
-
console.log(!!optionsUrl);
|
|
39920
39914
|
return /*#__PURE__*/React__default.createElement(MultiSelectMetaAsync, props);
|
|
39921
|
-
} else {
|
|
39922
|
-
console.log("continuer");
|
|
39923
|
-
console.log(isAsyncOptions);
|
|
39924
|
-
console.log(optionsUrl);
|
|
39925
39915
|
}
|
|
39926
39916
|
var _useState = useState(objValue ? _toConsumableArray$7(objValue.map(function (opt) {
|
|
39927
39917
|
return opt[optionValue];
|
|
@@ -39938,10 +39928,6 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39938
39928
|
width: '100%'
|
|
39939
39929
|
};
|
|
39940
39930
|
useEffect(function () {
|
|
39941
|
-
console.log("optionsUrl is useEffect");
|
|
39942
|
-
console.log(isAsyncOptions);
|
|
39943
|
-
console.log(optionsUrl);
|
|
39944
|
-
console.log(!!optionsUrl);
|
|
39945
39931
|
var observer = new MutationObserver(function () {
|
|
39946
39932
|
var panel = document.querySelector('.p-multiselect-panel.p-component');
|
|
39947
39933
|
if (panel) {
|