arengibook 2.4.710 → 2.4.712

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39975,19 +39975,16 @@ var MultiSelect = function MultiSelect(props) {
39975
39975
  };
39976
39976
  }, []);
39977
39977
  useEffect(function () {
39978
+ console.log(multipleplaceholder);
39978
39979
  var observer = new MutationObserver(function () {
39979
39980
  var labelElement = document.querySelector('.p-multiselect-label');
39980
39981
  if (labelElement) {
39981
39982
  console.log('labelElement');
39982
39983
  console.log(labelElement);
39983
39984
  console.log(labelElement.textContent);
39984
- console.log('multipleplaceholder');
39985
- console.log(multipleplaceholder);
39986
39985
  }
39987
39986
  if (labelElement && labelElement.textContent === 'empty') {
39988
39987
  labelElement.textContent = multipleplaceholder;
39989
- } else if (labelElement && labelElement.textContent !== 'empty') {
39990
- labelElement.textContent = multipleplaceholder;
39991
39988
  }
39992
39989
  });
39993
39990
  observer.observe(document.body, {
@@ -39997,7 +39994,7 @@ var MultiSelect = function MultiSelect(props) {
39997
39994
  return function () {
39998
39995
  observer.disconnect();
39999
39996
  };
40000
- }, []);
39997
+ }, [multipleplaceholder]);
40001
39998
  var optionTemplate = function optionTemplate(option) {
40002
39999
  if (!option) return null;
40003
40000
  if (isSelectMeta) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.710",
4
+ "version": "2.4.712",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {