@nine-lab/nine-mu 0.1.314 → 0.1.316
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
CHANGED
|
@@ -17098,13 +17098,14 @@ class NotificationHandler {
|
|
|
17098
17098
|
*/
|
|
17099
17099
|
__privateAdd(this, _openDiffPopup, () => {
|
|
17100
17100
|
if (__privateGet(this, _collectedFiles).length === 0) return;
|
|
17101
|
-
const oldPopup = this.shadowRoot.querySelector("nine-diff-popup");
|
|
17101
|
+
const oldPopup = __privateGet(this, _owner).shadowRoot.querySelector("nine-diff-popup");
|
|
17102
17102
|
if (oldPopup) {
|
|
17103
17103
|
oldPopup.remove();
|
|
17104
17104
|
}
|
|
17105
17105
|
const $popup = document.createElement("nine-diff-popup");
|
|
17106
17106
|
$popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17107
|
-
|
|
17107
|
+
const container = __privateGet(this, _owner).shadowRoot.querySelector(".wrapper") || __privateGet(this, _owner).shadowRoot;
|
|
17108
|
+
container.appendChild($diffPopup);
|
|
17108
17109
|
$popup.data([...__privateGet(this, _collectedFiles)]);
|
|
17109
17110
|
$popup.popup();
|
|
17110
17111
|
__privateSet(this, _collectedFiles, []);
|
|
@@ -17455,10 +17456,10 @@ class NineChat extends HTMLElement {
|
|
|
17455
17456
|
if (oldPopup) {
|
|
17456
17457
|
oldPopup.remove();
|
|
17457
17458
|
}
|
|
17458
|
-
const $
|
|
17459
|
+
const $diffPopup2 = document.createElement("nine-menu-diff-popup");
|
|
17459
17460
|
const container = this.shadowRoot.querySelector(".wrapper") || this.shadowRoot;
|
|
17460
|
-
container.appendChild($
|
|
17461
|
-
$
|
|
17461
|
+
container.appendChild($diffPopup2);
|
|
17462
|
+
$diffPopup2.popup().data(asis, tobe, lang);
|
|
17462
17463
|
});
|
|
17463
17464
|
this.attachShadow({ mode: "open" });
|
|
17464
17465
|
}
|
|
@@ -17560,7 +17561,7 @@ render_fn = function() {
|
|
|
17560
17561
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17561
17562
|
this.shadowRoot.innerHTML = `
|
|
17562
17563
|
<style>
|
|
17563
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17564
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.315"}/dist/css/nine-mu.css";
|
|
17564
17565
|
${customImport}
|
|
17565
17566
|
</style>
|
|
17566
17567
|
<div class="wrapper">
|
|
@@ -43812,7 +43813,7 @@ class NineDiff extends HTMLElement {
|
|
|
43812
43813
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43813
43814
|
this.shadowRoot.innerHTML = `
|
|
43814
43815
|
<style>
|
|
43815
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43816
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.315"}/dist/css/nine-mu.css";
|
|
43816
43817
|
${customImport}
|
|
43817
43818
|
</style>
|
|
43818
43819
|
|
|
@@ -43951,7 +43952,7 @@ renderScaffolding_fn = function() {
|
|
|
43951
43952
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43952
43953
|
this.shadowRoot.innerHTML = `
|
|
43953
43954
|
<style>
|
|
43954
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43955
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.315"}/dist/css/nine-mu.css";
|
|
43955
43956
|
${customImport}
|
|
43956
43957
|
</style>
|
|
43957
43958
|
|
|
@@ -44061,7 +44062,7 @@ render_fn2 = function() {
|
|
|
44061
44062
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44062
44063
|
this.shadowRoot.innerHTML = `
|
|
44063
44064
|
<style>
|
|
44064
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44065
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.315"}/dist/css/nine-mu.css";
|
|
44065
44066
|
${customImport}
|
|
44066
44067
|
</style>
|
|
44067
44068
|
|
|
@@ -44392,7 +44393,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44392
44393
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44393
44394
|
this.shadowRoot.innerHTML = `
|
|
44394
44395
|
<style>
|
|
44395
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44396
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.315"}/dist/css/nine-mu.css";
|
|
44396
44397
|
${customImport}
|
|
44397
44398
|
</style>
|
|
44398
44399
|
|
|
@@ -44486,7 +44487,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44486
44487
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44487
44488
|
}
|
|
44488
44489
|
const NineMu = {
|
|
44489
|
-
version: "0.1.
|
|
44490
|
+
version: "0.1.315",
|
|
44490
44491
|
init: (config2) => {
|
|
44491
44492
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44492
44493
|
}
|