@schukai/monster 3.117.0 → 3.117.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.
@@ -1774,12 +1774,14 @@ function filterFromRemote() {
1774
1774
  }
1775
1775
 
1776
1776
  let filterValue;
1777
+ let showFlag = false;
1777
1778
 
1778
1779
  switch (this.getOption("filter.position")) {
1779
1780
  case FILTER_POSITION_INLINE:
1780
1781
  if (this[inlineFilterElementSymbol] instanceof HTMLElement) {
1781
1782
  filterValue = this[inlineFilterElementSymbol].value.toLowerCase();
1782
1783
  }
1784
+ showFlag = true;
1783
1785
 
1784
1786
  break;
1785
1787
  case FILTER_POSITION_POPPER:
@@ -1789,7 +1791,7 @@ function filterFromRemote() {
1789
1791
  }
1790
1792
  }
1791
1793
 
1792
- return filterFromRemoteByValue.call(this, url, filterValue);
1794
+ return filterFromRemoteByValue.call(this, url, filterValue, showFlag);
1793
1795
  }
1794
1796
 
1795
1797
  function formatURL(url, value) {
@@ -1818,9 +1820,10 @@ function formatURL(url, value) {
1818
1820
  * @private
1819
1821
  * @param optionUrl
1820
1822
  * @param value
1823
+ * @param openPopper
1821
1824
  * @returns {Promise<unknown>}
1822
1825
  */
1823
- function filterFromRemoteByValue(optionUrl, value) {
1826
+ function filterFromRemoteByValue(optionUrl, value, openPopper) {
1824
1827
  return new Processing(() => {
1825
1828
  let url = formatURL.call(this, optionUrl, value);
1826
1829
  if (url.indexOf(disabledRequestMarker.toString()) !== -1) {
@@ -1833,7 +1836,9 @@ function filterFromRemoteByValue(optionUrl, value) {
1833
1836
  })
1834
1837
  .then(() => {
1835
1838
  checkOptionState.call(this);
1836
- show.call(this);
1839
+ if(openPopper===true) {
1840
+ show.call(this);
1841
+ }
1837
1842
  })
1838
1843
  .catch((e) => {
1839
1844
  throw e;
@@ -156,7 +156,7 @@ function getMonsterVersion() {
156
156
  }
157
157
 
158
158
  /** don't touch, replaced by make with package.json version */
159
- monsterVersion = new Version("3.115.4");
159
+ monsterVersion = new Version("3.117.1");
160
160
 
161
161
  return monsterVersion;
162
162
  }
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version("3.115.4")
10
+ monsterVersion = new Version("3.117.1")
11
11
 
12
12
  let m = getMonsterVersion();
13
13
 
@@ -9,8 +9,8 @@
9
9
  </head>
10
10
  <body>
11
11
  <div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
12
- <h1 style='margin-bottom: 0.1em;'>Monster 3.115.4</h1>
13
- <div id="lastupdate" style='font-size:0.7em'>last update Mo 14. Apr 11:15:31 CEST 2025</div>
12
+ <h1 style='margin-bottom: 0.1em;'>Monster 3.117.1</h1>
13
+ <div id="lastupdate" style='font-size:0.7em'>last update Do 24. Apr 17:38:55 CEST 2025</div>
14
14
  </div>
15
15
  <div id="mocha-errors"
16
16
  style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>