ninegrid2 6.111.0 → 6.112.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/aiSettings.js +6 -1
- package/dist/bundle.cjs.js +6 -1
- package/dist/bundle.esm.js +6 -1
- package/package.json +1 -1
- package/src/ai/aiSettings.js +6 -1
package/dist/ai/aiSettings.js
CHANGED
|
@@ -15,6 +15,10 @@ class aiSettings extends HTMLElement
|
|
|
15
15
|
set server(v) {
|
|
16
16
|
const elem = this.shadowRoot.querySelector(`input[name="server"][value="${v}"]`);
|
|
17
17
|
if (elem) elem.checked = true;
|
|
18
|
+
|
|
19
|
+
this.shadowRoot.querySelectorAll('input[name="server"]').forEach((elem) => {
|
|
20
|
+
elem.trigger("change");
|
|
21
|
+
});
|
|
18
22
|
};
|
|
19
23
|
|
|
20
24
|
get model() {
|
|
@@ -120,7 +124,8 @@ class aiSettings extends HTMLElement
|
|
|
120
124
|
});
|
|
121
125
|
});
|
|
122
126
|
|
|
123
|
-
this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
127
|
+
//this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
128
|
+
this.server = "ollama";
|
|
124
129
|
}
|
|
125
130
|
}
|
|
126
131
|
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -27307,6 +27307,10 @@ class aiSettings extends HTMLElement
|
|
|
27307
27307
|
set server(v) {
|
|
27308
27308
|
const elem = this.shadowRoot.querySelector(`input[name="server"][value="${v}"]`);
|
|
27309
27309
|
if (elem) elem.checked = true;
|
|
27310
|
+
|
|
27311
|
+
this.shadowRoot.querySelectorAll('input[name="server"]').forEach((elem) => {
|
|
27312
|
+
elem.trigger("change");
|
|
27313
|
+
});
|
|
27310
27314
|
};
|
|
27311
27315
|
|
|
27312
27316
|
get model() {
|
|
@@ -27412,7 +27416,8 @@ class aiSettings extends HTMLElement
|
|
|
27412
27416
|
});
|
|
27413
27417
|
});
|
|
27414
27418
|
|
|
27415
|
-
this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
27419
|
+
//this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
27420
|
+
this.server = "ollama";
|
|
27416
27421
|
}
|
|
27417
27422
|
}
|
|
27418
27423
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -27305,6 +27305,10 @@ class aiSettings extends HTMLElement
|
|
|
27305
27305
|
set server(v) {
|
|
27306
27306
|
const elem = this.shadowRoot.querySelector(`input[name="server"][value="${v}"]`);
|
|
27307
27307
|
if (elem) elem.checked = true;
|
|
27308
|
+
|
|
27309
|
+
this.shadowRoot.querySelectorAll('input[name="server"]').forEach((elem) => {
|
|
27310
|
+
elem.trigger("change");
|
|
27311
|
+
});
|
|
27308
27312
|
};
|
|
27309
27313
|
|
|
27310
27314
|
get model() {
|
|
@@ -27410,7 +27414,8 @@ class aiSettings extends HTMLElement
|
|
|
27410
27414
|
});
|
|
27411
27415
|
});
|
|
27412
27416
|
|
|
27413
|
-
this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
27417
|
+
//this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
27418
|
+
this.server = "ollama";
|
|
27414
27419
|
}
|
|
27415
27420
|
}
|
|
27416
27421
|
|
package/package.json
CHANGED
package/src/ai/aiSettings.js
CHANGED
|
@@ -15,6 +15,10 @@ class aiSettings extends HTMLElement
|
|
|
15
15
|
set server(v) {
|
|
16
16
|
const elem = this.shadowRoot.querySelector(`input[name="server"][value="${v}"]`);
|
|
17
17
|
if (elem) elem.checked = true;
|
|
18
|
+
|
|
19
|
+
this.shadowRoot.querySelectorAll('input[name="server"]').forEach((elem) => {
|
|
20
|
+
elem.trigger("change");
|
|
21
|
+
});
|
|
18
22
|
};
|
|
19
23
|
|
|
20
24
|
get model() {
|
|
@@ -120,7 +124,8 @@ class aiSettings extends HTMLElement
|
|
|
120
124
|
});
|
|
121
125
|
});
|
|
122
126
|
|
|
123
|
-
this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
127
|
+
//this.shadowRoot.querySelector('input[name="server"][value="ollama"]').checked = true;
|
|
128
|
+
this.server = "ollama";
|
|
124
129
|
}
|
|
125
130
|
}
|
|
126
131
|
|