@nine-lab/nine-mu 0.1.300 → 0.1.302
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/nine-mu.js +15 -6
- 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/src/components/NineChat.js +14 -4
package/dist/nine-mu.js
CHANGED
|
@@ -17461,7 +17461,16 @@ class NineChat extends HTMLElement {
|
|
|
17461
17461
|
const $diffPopup = document.createElement("nine-diff-popup");
|
|
17462
17462
|
const container = this.shadowRoot.querySelector(".wrapper") || this.shadowRoot;
|
|
17463
17463
|
container.appendChild($diffPopup);
|
|
17464
|
-
|
|
17464
|
+
const filePayload = {
|
|
17465
|
+
//layer: "Unknown",
|
|
17466
|
+
full_path: "unknown_file",
|
|
17467
|
+
asis_source: asis || "",
|
|
17468
|
+
source: tobe || ""
|
|
17469
|
+
};
|
|
17470
|
+
let collectedFiles = [];
|
|
17471
|
+
collectedFiles.push(filePayload);
|
|
17472
|
+
$diffPopup.data([...collectedFiles]);
|
|
17473
|
+
$diffPopup.popup();
|
|
17465
17474
|
});
|
|
17466
17475
|
this.attachShadow({ mode: "open" });
|
|
17467
17476
|
}
|
|
@@ -17563,7 +17572,7 @@ render_fn = function() {
|
|
|
17563
17572
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17564
17573
|
this.shadowRoot.innerHTML = `
|
|
17565
17574
|
<style>
|
|
17566
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17575
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.301"}/dist/css/nine-mu.css";
|
|
17567
17576
|
${customImport}
|
|
17568
17577
|
</style>
|
|
17569
17578
|
<div class="wrapper">
|
|
@@ -43780,7 +43789,7 @@ class NineDiff extends HTMLElement {
|
|
|
43780
43789
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43781
43790
|
this.shadowRoot.innerHTML = `
|
|
43782
43791
|
<style>
|
|
43783
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43792
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.301"}/dist/css/nine-mu.css";
|
|
43784
43793
|
${customImport}
|
|
43785
43794
|
</style>
|
|
43786
43795
|
|
|
@@ -43906,7 +43915,7 @@ renderScaffolding_fn = function() {
|
|
|
43906
43915
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43907
43916
|
this.shadowRoot.innerHTML = `
|
|
43908
43917
|
<style>
|
|
43909
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43918
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.301"}/dist/css/nine-mu.css";
|
|
43910
43919
|
${customImport}
|
|
43911
43920
|
</style>
|
|
43912
43921
|
|
|
@@ -44242,7 +44251,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44242
44251
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44243
44252
|
this.shadowRoot.innerHTML = `
|
|
44244
44253
|
<style>
|
|
44245
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44254
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.301"}/dist/css/nine-mu.css";
|
|
44246
44255
|
${customImport}
|
|
44247
44256
|
</style>
|
|
44248
44257
|
|
|
@@ -44336,7 +44345,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44336
44345
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44337
44346
|
}
|
|
44338
44347
|
const NineMu = {
|
|
44339
|
-
version: "0.1.
|
|
44348
|
+
version: "0.1.301",
|
|
44340
44349
|
init: (config2) => {
|
|
44341
44350
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44342
44351
|
}
|