@nine-lab/nine-mu 0.1.316 → 0.1.318
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 +22 -17
- 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/NotificationHandler.js +14 -7
package/dist/nine-mu.js
CHANGED
|
@@ -17097,17 +17097,22 @@ class NotificationHandler {
|
|
|
17097
17097
|
* 최종 조립이 끝나 시그널이 도달했을 때 딱 한 번 팝업을 열어 일괄 주입
|
|
17098
17098
|
*/
|
|
17099
17099
|
__privateAdd(this, _openDiffPopup, () => {
|
|
17100
|
+
trace.log("1111111");
|
|
17100
17101
|
if (__privateGet(this, _collectedFiles).length === 0) return;
|
|
17101
|
-
const oldPopup = __privateGet(this, _owner).shadowRoot.querySelector("nine-diff-popup");
|
|
17102
|
-
if (oldPopup) {
|
|
17103
|
-
oldPopup.remove();
|
|
17104
|
-
}
|
|
17105
|
-
|
|
17106
|
-
$
|
|
17102
|
+
const $oldPopup = __privateGet(this, _owner).shadowRoot.querySelector("nine-diff-popup");
|
|
17103
|
+
if ($oldPopup) {
|
|
17104
|
+
$oldPopup.remove();
|
|
17105
|
+
}
|
|
17106
|
+
trace.log("222222");
|
|
17107
|
+
const $diffPopup = document.createElement("nine-diff-popup");
|
|
17108
|
+
$diffPopup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17109
|
+
trace.log("33333");
|
|
17107
17110
|
const container = __privateGet(this, _owner).shadowRoot.querySelector(".wrapper") || __privateGet(this, _owner).shadowRoot;
|
|
17108
17111
|
container.appendChild($diffPopup);
|
|
17109
|
-
|
|
17110
|
-
$
|
|
17112
|
+
trace.log("444444");
|
|
17113
|
+
$diffPopup.data([...__privateGet(this, _collectedFiles)]);
|
|
17114
|
+
$diffPopup.popup();
|
|
17115
|
+
trace.log("55555");
|
|
17111
17116
|
__privateSet(this, _collectedFiles, []);
|
|
17112
17117
|
});
|
|
17113
17118
|
/**
|
|
@@ -17456,10 +17461,10 @@ class NineChat extends HTMLElement {
|
|
|
17456
17461
|
if (oldPopup) {
|
|
17457
17462
|
oldPopup.remove();
|
|
17458
17463
|
}
|
|
17459
|
-
const $
|
|
17464
|
+
const $diffPopup = document.createElement("nine-menu-diff-popup");
|
|
17460
17465
|
const container = this.shadowRoot.querySelector(".wrapper") || this.shadowRoot;
|
|
17461
|
-
container.appendChild($
|
|
17462
|
-
$
|
|
17466
|
+
container.appendChild($diffPopup);
|
|
17467
|
+
$diffPopup.popup().data(asis, tobe, lang);
|
|
17463
17468
|
});
|
|
17464
17469
|
this.attachShadow({ mode: "open" });
|
|
17465
17470
|
}
|
|
@@ -17561,7 +17566,7 @@ render_fn = function() {
|
|
|
17561
17566
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17562
17567
|
this.shadowRoot.innerHTML = `
|
|
17563
17568
|
<style>
|
|
17564
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17569
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.317"}/dist/css/nine-mu.css";
|
|
17565
17570
|
${customImport}
|
|
17566
17571
|
</style>
|
|
17567
17572
|
<div class="wrapper">
|
|
@@ -43813,7 +43818,7 @@ class NineDiff extends HTMLElement {
|
|
|
43813
43818
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43814
43819
|
this.shadowRoot.innerHTML = `
|
|
43815
43820
|
<style>
|
|
43816
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43821
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.317"}/dist/css/nine-mu.css";
|
|
43817
43822
|
${customImport}
|
|
43818
43823
|
</style>
|
|
43819
43824
|
|
|
@@ -43952,7 +43957,7 @@ renderScaffolding_fn = function() {
|
|
|
43952
43957
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43953
43958
|
this.shadowRoot.innerHTML = `
|
|
43954
43959
|
<style>
|
|
43955
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43960
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.317"}/dist/css/nine-mu.css";
|
|
43956
43961
|
${customImport}
|
|
43957
43962
|
</style>
|
|
43958
43963
|
|
|
@@ -44062,7 +44067,7 @@ render_fn2 = function() {
|
|
|
44062
44067
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44063
44068
|
this.shadowRoot.innerHTML = `
|
|
44064
44069
|
<style>
|
|
44065
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44070
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.317"}/dist/css/nine-mu.css";
|
|
44066
44071
|
${customImport}
|
|
44067
44072
|
</style>
|
|
44068
44073
|
|
|
@@ -44393,7 +44398,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44393
44398
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44394
44399
|
this.shadowRoot.innerHTML = `
|
|
44395
44400
|
<style>
|
|
44396
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44401
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.317"}/dist/css/nine-mu.css";
|
|
44397
44402
|
${customImport}
|
|
44398
44403
|
</style>
|
|
44399
44404
|
|
|
@@ -44487,7 +44492,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44487
44492
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44488
44493
|
}
|
|
44489
44494
|
const NineMu = {
|
|
44490
|
-
version: "0.1.
|
|
44495
|
+
version: "0.1.317",
|
|
44491
44496
|
init: (config2) => {
|
|
44492
44497
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44493
44498
|
}
|