@nine-lab/nine-mu 0.1.311 → 0.1.313
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,12 +17098,13 @@ class NotificationHandler {
|
|
|
17098
17098
|
*/
|
|
17099
17099
|
__privateAdd(this, _openDiffPopup, () => {
|
|
17100
17100
|
if (__privateGet(this, _collectedFiles).length === 0) return;
|
|
17101
|
-
|
|
17102
|
-
if (
|
|
17103
|
-
|
|
17104
|
-
$popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17105
|
-
document.body.appendChild($popup);
|
|
17101
|
+
const oldPopup = this.shadowRoot.querySelector("nine-diff-popup");
|
|
17102
|
+
if (oldPopup) {
|
|
17103
|
+
oldPopup.remove();
|
|
17106
17104
|
}
|
|
17105
|
+
const $popup = document.createElement("nine-diff-popup");
|
|
17106
|
+
$popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17107
|
+
document.body.appendChild($popup);
|
|
17107
17108
|
$popup.data([...__privateGet(this, _collectedFiles)]);
|
|
17108
17109
|
$popup.popup();
|
|
17109
17110
|
__privateSet(this, _collectedFiles, []);
|
|
@@ -17563,7 +17564,7 @@ render_fn = function() {
|
|
|
17563
17564
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17564
17565
|
this.shadowRoot.innerHTML = `
|
|
17565
17566
|
<style>
|
|
17566
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17567
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
|
|
17567
17568
|
${customImport}
|
|
17568
17569
|
</style>
|
|
17569
17570
|
<div class="wrapper">
|
|
@@ -43815,7 +43816,7 @@ class NineDiff extends HTMLElement {
|
|
|
43815
43816
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43816
43817
|
this.shadowRoot.innerHTML = `
|
|
43817
43818
|
<style>
|
|
43818
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43819
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
|
|
43819
43820
|
${customImport}
|
|
43820
43821
|
</style>
|
|
43821
43822
|
|
|
@@ -43913,9 +43914,11 @@ class NineDiffPopup extends HTMLElement {
|
|
|
43913
43914
|
});
|
|
43914
43915
|
__privateGet(this, _tabContainer).innerHTML = totalTabHtml;
|
|
43915
43916
|
__privateGet(this, _tabContainer).querySelectorAll("nine-diff").forEach((element) => {
|
|
43917
|
+
trace.log(element);
|
|
43916
43918
|
element.addEventListener("change-dirty", (e) => {
|
|
43917
43919
|
const { isDirty: isDirty2 } = e.detail;
|
|
43918
43920
|
trace.log(isDirty2);
|
|
43921
|
+
trace.log(this.shadowRoot.querySelector(".btn-confirm"));
|
|
43919
43922
|
this.shadowRoot.querySelector(".btn-confirm").disabled = !isDirty2;
|
|
43920
43923
|
});
|
|
43921
43924
|
});
|
|
@@ -43952,7 +43955,7 @@ renderScaffolding_fn = function() {
|
|
|
43952
43955
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43953
43956
|
this.shadowRoot.innerHTML = `
|
|
43954
43957
|
<style>
|
|
43955
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43958
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
|
|
43956
43959
|
${customImport}
|
|
43957
43960
|
</style>
|
|
43958
43961
|
|
|
@@ -44062,7 +44065,7 @@ render_fn2 = function() {
|
|
|
44062
44065
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44063
44066
|
this.shadowRoot.innerHTML = `
|
|
44064
44067
|
<style>
|
|
44065
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44068
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
|
|
44066
44069
|
${customImport}
|
|
44067
44070
|
</style>
|
|
44068
44071
|
|
|
@@ -44393,7 +44396,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44393
44396
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44394
44397
|
this.shadowRoot.innerHTML = `
|
|
44395
44398
|
<style>
|
|
44396
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44399
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
|
|
44397
44400
|
${customImport}
|
|
44398
44401
|
</style>
|
|
44399
44402
|
|
|
@@ -44487,7 +44490,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44487
44490
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44488
44491
|
}
|
|
44489
44492
|
const NineMu = {
|
|
44490
|
-
version: "0.1.
|
|
44493
|
+
version: "0.1.312",
|
|
44491
44494
|
init: (config2) => {
|
|
44492
44495
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44493
44496
|
}
|