@nine-lab/nine-mu 0.1.328 → 0.1.330
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/css/nine-mu.css +1 -0
- package/dist/nine-mu.js +7 -9
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/public/css/nine-mu.css +1 -0
- package/src/components/ChatMessage.js +2 -3
- package/src/components/NineChat.js +1 -1
package/dist/css/nine-mu.css
CHANGED
package/dist/nine-mu.js
CHANGED
|
@@ -17524,7 +17524,6 @@ initActions_fn = function() {
|
|
|
17524
17524
|
const parsed = JSON.parse(rawText);
|
|
17525
17525
|
if (parsed.message) {
|
|
17526
17526
|
__privateGet(this, _manager).addChatHistory(parsed.message);
|
|
17527
|
-
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17528
17527
|
}
|
|
17529
17528
|
}
|
|
17530
17529
|
}
|
|
@@ -17535,7 +17534,7 @@ render_fn = function() {
|
|
|
17535
17534
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17536
17535
|
this.shadowRoot.innerHTML = `
|
|
17537
17536
|
<style>
|
|
17538
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17537
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.329"}/dist/css/nine-mu.css";
|
|
17539
17538
|
${customImport}
|
|
17540
17539
|
</style>
|
|
17541
17540
|
<div class="wrapper">
|
|
@@ -43785,7 +43784,7 @@ class NineDiff extends HTMLElement {
|
|
|
43785
43784
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43786
43785
|
this.shadowRoot.innerHTML = `
|
|
43787
43786
|
<style>
|
|
43788
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43787
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.329"}/dist/css/nine-mu.css";
|
|
43789
43788
|
${customImport}
|
|
43790
43789
|
</style>
|
|
43791
43790
|
|
|
@@ -43925,7 +43924,7 @@ renderScaffolding_fn = function() {
|
|
|
43925
43924
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43926
43925
|
this.shadowRoot.innerHTML = `
|
|
43927
43926
|
<style>
|
|
43928
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43927
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.329"}/dist/css/nine-mu.css";
|
|
43929
43928
|
${customImport}
|
|
43930
43929
|
</style>
|
|
43931
43930
|
|
|
@@ -44034,7 +44033,7 @@ render_fn2 = function() {
|
|
|
44034
44033
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44035
44034
|
this.shadowRoot.innerHTML = `
|
|
44036
44035
|
<style>
|
|
44037
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44036
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.329"}/dist/css/nine-mu.css";
|
|
44038
44037
|
${customImport}
|
|
44039
44038
|
</style>
|
|
44040
44039
|
|
|
@@ -44169,7 +44168,6 @@ class AiMessage extends HTMLElement {
|
|
|
44169
44168
|
const keys = __privateGet(this, _data).map(
|
|
44170
44169
|
(item) => Object.fromEntries(__privateGet(this, _unique).map((key) => [key, item[key]]))
|
|
44171
44170
|
);
|
|
44172
|
-
console.log(keys);
|
|
44173
44171
|
this.dispatchEvent(new CustomEvent("database", { bubbles: true, detail: { key: keys } }));
|
|
44174
44172
|
});
|
|
44175
44173
|
this.querySelector(".maximize").addEventListener("click", (e) => {
|
|
@@ -44362,10 +44360,10 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44362
44360
|
constructor() {
|
|
44363
44361
|
super();
|
|
44364
44362
|
__privateAdd(this, _renderer, () => {
|
|
44365
|
-
const customImport =
|
|
44363
|
+
const customImport = nine.cssPath ? `@import "${nine.cssPath}/ninePanel.css";` : "";
|
|
44366
44364
|
this.shadowRoot.innerHTML = `
|
|
44367
44365
|
<style>
|
|
44368
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44366
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.329"}/dist/css/nine-mu.css";
|
|
44369
44367
|
${customImport}
|
|
44370
44368
|
</style>
|
|
44371
44369
|
|
|
@@ -44459,7 +44457,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44459
44457
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44460
44458
|
}
|
|
44461
44459
|
const NineMu = {
|
|
44462
|
-
version: "0.1.
|
|
44460
|
+
version: "0.1.329",
|
|
44463
44461
|
init: (config2) => {
|
|
44464
44462
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44465
44463
|
}
|