ninegrid2 6.214.0 → 6.215.0
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/bundle.cjs.js +1 -2
- package/dist/bundle.esm.js +1 -2
- package/dist/etc/ngFiltering.js +1 -2
- package/package.json +1 -1
- package/src/etc/ngFiltering.js +1 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -18204,9 +18204,8 @@ class ngFilterButton extends HTMLElement
|
|
|
18204
18204
|
return this.#filterOptions;
|
|
18205
18205
|
};
|
|
18206
18206
|
set filterOptions(v) {
|
|
18207
|
-
console.log(v);
|
|
18208
18207
|
this.#filterOptions = v;
|
|
18209
|
-
this.classList.toggle('filtered', this.#filterOptions
|
|
18208
|
+
this.classList.toggle('filtered', this.#filterOptions?.some(item => item.data.length > 0));
|
|
18210
18209
|
}
|
|
18211
18210
|
|
|
18212
18211
|
#onClick = (e) => {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -18202,9 +18202,8 @@ class ngFilterButton extends HTMLElement
|
|
|
18202
18202
|
return this.#filterOptions;
|
|
18203
18203
|
};
|
|
18204
18204
|
set filterOptions(v) {
|
|
18205
|
-
console.log(v);
|
|
18206
18205
|
this.#filterOptions = v;
|
|
18207
|
-
this.classList.toggle('filtered', this.#filterOptions
|
|
18206
|
+
this.classList.toggle('filtered', this.#filterOptions?.some(item => item.data.length > 0));
|
|
18208
18207
|
}
|
|
18209
18208
|
|
|
18210
18209
|
#onClick = (e) => {
|
package/dist/etc/ngFiltering.js
CHANGED
|
@@ -272,9 +272,8 @@ class ngFilterButton extends HTMLElement
|
|
|
272
272
|
return this.#filterOptions;
|
|
273
273
|
};
|
|
274
274
|
set filterOptions(v) {
|
|
275
|
-
console.log(v);
|
|
276
275
|
this.#filterOptions = v;
|
|
277
|
-
this.classList.toggle('filtered', this.#filterOptions
|
|
276
|
+
this.classList.toggle('filtered', this.#filterOptions?.some(item => item.data.length > 0));
|
|
278
277
|
}
|
|
279
278
|
|
|
280
279
|
#onClick = (e) => {
|
package/package.json
CHANGED
package/src/etc/ngFiltering.js
CHANGED
|
@@ -272,9 +272,8 @@ class ngFilterButton extends HTMLElement
|
|
|
272
272
|
return this.#filterOptions;
|
|
273
273
|
};
|
|
274
274
|
set filterOptions(v) {
|
|
275
|
-
console.log(v);
|
|
276
275
|
this.#filterOptions = v;
|
|
277
|
-
this.classList.toggle('filtered', this.#filterOptions
|
|
276
|
+
this.classList.toggle('filtered', this.#filterOptions?.some(item => item.data.length > 0));
|
|
278
277
|
}
|
|
279
278
|
|
|
280
279
|
#onClick = (e) => {
|