ninegrid2 6.457.0 → 6.459.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/ai/aiMessage.js +7 -4
- package/dist/bundle.cjs.js +7 -4
- package/dist/bundle.esm.js +7 -4
- package/package.json +1 -1
- package/src/ai/aiMessage.js +7 -4
package/dist/ai/aiMessage.js
CHANGED
|
@@ -49,11 +49,14 @@ class aiMessage extends HTMLElement
|
|
|
49
49
|
|
|
50
50
|
this.shadowRoot.querySelector(".filter").addEventListener("click", e => {
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
if (
|
|
52
|
+
//if (e.target.classList.contains("disabled")) return;
|
|
53
|
+
if (this.#unique) {
|
|
54
|
+
const grd = document.querySelector("nine-grid");
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
grd.filtering.set(this.#data.map(item =>
|
|
57
|
+
Object.fromEntries(this.#unique.map(key => [key, item[key]]))
|
|
58
|
+
));
|
|
59
|
+
}
|
|
57
60
|
});
|
|
58
61
|
|
|
59
62
|
this.shadowRoot.querySelector(".maximize").addEventListener("click", e => {
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -27474,11 +27474,14 @@ class aiMessage extends HTMLElement
|
|
|
27474
27474
|
|
|
27475
27475
|
this.shadowRoot.querySelector(".filter").addEventListener("click", e => {
|
|
27476
27476
|
|
|
27477
|
-
|
|
27478
|
-
if (
|
|
27477
|
+
//if (e.target.classList.contains("disabled")) return;
|
|
27478
|
+
if (this.#unique) {
|
|
27479
|
+
const grd = document.querySelector("nine-grid");
|
|
27479
27480
|
|
|
27480
|
-
|
|
27481
|
-
|
|
27481
|
+
grd.filtering.set(this.#data.map(item =>
|
|
27482
|
+
Object.fromEntries(this.#unique.map(key => [key, item[key]]))
|
|
27483
|
+
));
|
|
27484
|
+
}
|
|
27482
27485
|
});
|
|
27483
27486
|
|
|
27484
27487
|
this.shadowRoot.querySelector(".maximize").addEventListener("click", e => {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -27472,11 +27472,14 @@ class aiMessage extends HTMLElement
|
|
|
27472
27472
|
|
|
27473
27473
|
this.shadowRoot.querySelector(".filter").addEventListener("click", e => {
|
|
27474
27474
|
|
|
27475
|
-
|
|
27476
|
-
if (
|
|
27475
|
+
//if (e.target.classList.contains("disabled")) return;
|
|
27476
|
+
if (this.#unique) {
|
|
27477
|
+
const grd = document.querySelector("nine-grid");
|
|
27477
27478
|
|
|
27478
|
-
|
|
27479
|
-
|
|
27479
|
+
grd.filtering.set(this.#data.map(item =>
|
|
27480
|
+
Object.fromEntries(this.#unique.map(key => [key, item[key]]))
|
|
27481
|
+
));
|
|
27482
|
+
}
|
|
27480
27483
|
});
|
|
27481
27484
|
|
|
27482
27485
|
this.shadowRoot.querySelector(".maximize").addEventListener("click", e => {
|
package/package.json
CHANGED
package/src/ai/aiMessage.js
CHANGED
|
@@ -49,11 +49,14 @@ class aiMessage extends HTMLElement
|
|
|
49
49
|
|
|
50
50
|
this.shadowRoot.querySelector(".filter").addEventListener("click", e => {
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
if (
|
|
52
|
+
//if (e.target.classList.contains("disabled")) return;
|
|
53
|
+
if (this.#unique) {
|
|
54
|
+
const grd = document.querySelector("nine-grid");
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
grd.filtering.set(this.#data.map(item =>
|
|
57
|
+
Object.fromEntries(this.#unique.map(key => [key, item[key]]))
|
|
58
|
+
));
|
|
59
|
+
}
|
|
57
60
|
});
|
|
58
61
|
|
|
59
62
|
this.shadowRoot.querySelector(".maximize").addEventListener("click", e => {
|