@nine-lab/nine-mu 0.1.43 → 0.1.44

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
@@ -106,13 +106,8 @@ class NineChat extends HTMLElement {
106
106
  __privateAdd(this, _service, null);
107
107
  __privateAdd(this, _routes, []);
108
108
  __privateAdd(this, _diffPopup);
109
- /**
110
- * 소스 비교 팝업을 띄우고 사용자의 최종 확정 본을 반환합니다.
111
- * @param {Object} params - { asis, tobe, lang }
112
- * @returns {Promise<string|null>} - 확정 시 소스코드, 취소 시 null
113
- */
114
- __publicField(this, "showDiff", async ({ asis, tobe, lang }) => {
115
- return await __privateGet(this, _diffPopup).popup().data(asis, tobe, lang).wait();
109
+ __publicField(this, "showDiff", (data) => {
110
+ __privateGet(this, _diffPopup).popup().data(data);
116
111
  });
117
112
  this.attachShadow({ mode: "open" });
118
113
  }
@@ -188,7 +183,7 @@ render_fn = function() {
188
183
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
189
184
  this.shadowRoot.innerHTML = `
190
185
  <style>
191
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.42"}/dist/css/nine-mu.css";
186
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.43"}/dist/css/nine-mu.css";
192
187
  ${customImport}
193
188
  </style>
194
189
  <div class="wrapper">
@@ -26401,7 +26396,7 @@ class NineDiff extends HTMLElement {
26401
26396
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26402
26397
  this.shadowRoot.innerHTML = `
26403
26398
  <style>
26404
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.42"}/dist/css/nine-mu.css";
26399
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.43"}/dist/css/nine-mu.css";
26405
26400
  ${customImport}
26406
26401
  </style>
26407
26402
 
@@ -26466,7 +26461,7 @@ class NineDiffPopup extends HTMLElement {
26466
26461
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26467
26462
  this.shadowRoot.innerHTML = `
26468
26463
  <style>
26469
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.42"}/dist/css/nine-mu.css";
26464
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.43"}/dist/css/nine-mu.css";
26470
26465
  ${customImport}
26471
26466
  </style>
26472
26467
 
@@ -26647,7 +26642,7 @@ if (!customElements.get("nine-dialog")) {
26647
26642
  customElements.define("nine-dialog", NineDialog);
26648
26643
  }
26649
26644
  const NineMu = {
26650
- version: "0.1.42",
26645
+ version: "0.1.43",
26651
26646
  init: (config) => {
26652
26647
  trace.log("🛠️ Nine-Mu Engine initialized", config);
26653
26648
  }