json-rules-filter 1.0.13 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-rules-filter",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "para crear reglas avanzadas de filtrado sobre datasets JSON de forma dinámica y visual.",
5
5
  "main": "src/jquery.jsonRulesFilter.js",
6
6
  "scripts": {
@@ -144,7 +144,7 @@
144
144
  <div class="py-2" id="container-rules-filters"></div>
145
145
  <div class="mt-2">
146
146
  <div class="d-flex justify-content-start dropdown">
147
- <button class="${this.bs(this.settings.buttons.dropdown.className)} dropdown-toggle" type="button" ${toggleAttr}>
147
+ <button ${this.settings.bsVersion === 4?`data-bs-popper-config='{"strategy":"fixed"}'` :''} class="${this.bs(this.settings.buttons.dropdown.className)} dropdown-toggle" type="button" ${toggleAttr}>
148
148
  ${this.settings.buttons.dropdown.text}
149
149
  </button>
150
150
  <div class="dropdown-menu p-2 dropdown-rules-columns" style="min-width: 300px;">
@@ -165,13 +165,6 @@
165
165
  positionFixed: true
166
166
  }
167
167
  });
168
- } else {
169
- //BS5
170
- $dropdown.dropdown({
171
- popperConfig: {
172
- strategy: 'fixed'
173
- }
174
- });
175
168
  }
176
169
  },
177
170