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