@nine-lab/nine-mu 0.1.318 → 0.1.319
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
|
@@ -17097,22 +17097,17 @@ class NotificationHandler {
|
|
|
17097
17097
|
* 최종 조립이 끝나 시그널이 도달했을 때 딱 한 번 팝업을 열어 일괄 주입
|
|
17098
17098
|
*/
|
|
17099
17099
|
__privateAdd(this, _openDiffPopup, () => {
|
|
17100
|
-
trace.log("1111111");
|
|
17101
17100
|
if (__privateGet(this, _collectedFiles).length === 0) return;
|
|
17102
17101
|
const $oldPopup = __privateGet(this, _owner).shadowRoot.querySelector("nine-diff-popup");
|
|
17103
17102
|
if ($oldPopup) {
|
|
17104
17103
|
$oldPopup.remove();
|
|
17105
17104
|
}
|
|
17106
|
-
trace.log("222222");
|
|
17107
17105
|
const $diffPopup = document.createElement("nine-diff-popup");
|
|
17108
17106
|
$diffPopup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17109
|
-
trace.log("33333");
|
|
17110
17107
|
const container = __privateGet(this, _owner).shadowRoot.querySelector(".wrapper") || __privateGet(this, _owner).shadowRoot;
|
|
17111
17108
|
container.appendChild($diffPopup);
|
|
17112
|
-
trace.log("444444");
|
|
17113
17109
|
$diffPopup.data([...__privateGet(this, _collectedFiles)]);
|
|
17114
17110
|
$diffPopup.popup();
|
|
17115
|
-
trace.log("55555");
|
|
17116
17111
|
__privateSet(this, _collectedFiles, []);
|
|
17117
17112
|
});
|
|
17118
17113
|
/**
|
|
@@ -17566,7 +17561,7 @@ render_fn = function() {
|
|
|
17566
17561
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17567
17562
|
this.shadowRoot.innerHTML = `
|
|
17568
17563
|
<style>
|
|
17569
|
-
@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.318"}/dist/css/nine-mu.css";
|
|
17570
17565
|
${customImport}
|
|
17571
17566
|
</style>
|
|
17572
17567
|
<div class="wrapper">
|
|
@@ -43818,7 +43813,7 @@ class NineDiff extends HTMLElement {
|
|
|
43818
43813
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43819
43814
|
this.shadowRoot.innerHTML = `
|
|
43820
43815
|
<style>
|
|
43821
|
-
@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.318"}/dist/css/nine-mu.css";
|
|
43822
43817
|
${customImport}
|
|
43823
43818
|
</style>
|
|
43824
43819
|
|
|
@@ -43914,16 +43909,17 @@ class NineDiffPopup extends HTMLElement {
|
|
|
43914
43909
|
</nine-tab-page>
|
|
43915
43910
|
`;
|
|
43916
43911
|
});
|
|
43912
|
+
__privateGet(this, _tabContainer).removeEventListener("change-dirty", this._onDiffDirtyChange);
|
|
43913
|
+
this._onDiffDirtyChange = (e) => {
|
|
43914
|
+
const { isDirty: isDirty2 } = e.detail;
|
|
43915
|
+
trace.log("이벤트 위임 감지 - IsDirty:", isDirty2);
|
|
43916
|
+
const confirmBtn = this.shadowRoot.querySelector(".btn-confirm");
|
|
43917
|
+
if (confirmBtn) {
|
|
43918
|
+
confirmBtn.disabled = !isDirty2;
|
|
43919
|
+
}
|
|
43920
|
+
};
|
|
43921
|
+
__privateGet(this, _tabContainer).addEventListener("change-dirty", this._onDiffDirtyChange);
|
|
43917
43922
|
__privateGet(this, _tabContainer).innerHTML = totalTabHtml;
|
|
43918
|
-
__privateGet(this, _tabContainer).querySelectorAll("nine-diff").forEach((element) => {
|
|
43919
|
-
trace.log(element);
|
|
43920
|
-
element.addEventListener("change-dirty", (e) => {
|
|
43921
|
-
const { isDirty: isDirty2 } = e.detail;
|
|
43922
|
-
trace.log(isDirty2);
|
|
43923
|
-
trace.log(this.shadowRoot.querySelector(".btn-confirm"));
|
|
43924
|
-
this.shadowRoot.querySelector(".btn-confirm").disabled = !isDirty2;
|
|
43925
|
-
});
|
|
43926
|
-
});
|
|
43927
43923
|
if (__privateGet(this, _tabContainer) && typeof __privateGet(this, _tabContainer).connectedCallback === "function") {
|
|
43928
43924
|
__privateGet(this, _tabContainer).connectedCallback();
|
|
43929
43925
|
}
|
|
@@ -43957,7 +43953,7 @@ renderScaffolding_fn = function() {
|
|
|
43957
43953
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43958
43954
|
this.shadowRoot.innerHTML = `
|
|
43959
43955
|
<style>
|
|
43960
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43956
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
|
|
43961
43957
|
${customImport}
|
|
43962
43958
|
</style>
|
|
43963
43959
|
|
|
@@ -44067,7 +44063,7 @@ render_fn2 = function() {
|
|
|
44067
44063
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44068
44064
|
this.shadowRoot.innerHTML = `
|
|
44069
44065
|
<style>
|
|
44070
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44066
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
|
|
44071
44067
|
${customImport}
|
|
44072
44068
|
</style>
|
|
44073
44069
|
|
|
@@ -44398,7 +44394,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44398
44394
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44399
44395
|
this.shadowRoot.innerHTML = `
|
|
44400
44396
|
<style>
|
|
44401
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44397
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
|
|
44402
44398
|
${customImport}
|
|
44403
44399
|
</style>
|
|
44404
44400
|
|
|
@@ -44492,7 +44488,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44492
44488
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44493
44489
|
}
|
|
44494
44490
|
const NineMu = {
|
|
44495
|
-
version: "0.1.
|
|
44491
|
+
version: "0.1.318",
|
|
44496
44492
|
init: (config2) => {
|
|
44497
44493
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44498
44494
|
}
|