json-rules-filter 1.0.10 → 1.0.12

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.10",
3
+ "version": "1.0.12",
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": {
@@ -19,10 +19,11 @@
19
19
  "license": "MIT",
20
20
  "type": "commonjs",
21
21
  "dependencies": {
22
- "jquery": ">=3.6.0",
23
- "select2": "^4.1.0-rc.0",
22
+ "@fortawesome/fontawesome-free": "^6.4.0",
24
23
  "bootstrap": "^5.3.0",
25
- "@fortawesome/fontawesome-free": "^6.4.0"
24
+ "jquery": ">=1.7",
25
+ "json-rules-filter": "^1.0.11",
26
+ "select2": "^4.1.0-rc.0"
26
27
  },
27
28
  "devDependencies": {
28
29
  "vite": "^4.4.0"
@@ -156,6 +156,18 @@
156
156
  </div>
157
157
  </div>`;
158
158
  this.$contenedor.append(template);
159
+ const $dropdown = this.$contenedor.find('.dropdown-toggle');
160
+
161
+ if (this.settings.bootstrapVersion === 4) {
162
+
163
+ } else {
164
+ //BS5
165
+ $dropdown.dropdown({
166
+ popperConfig: {
167
+ strategy: 'fixed'
168
+ }
169
+ });
170
+ }
159
171
  },
160
172
 
161
173
  // Event delegation and listeners