@nine-lab/nine-mu 0.1.293 β†’ 0.1.295

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
@@ -17563,7 +17563,7 @@ render_fn = function() {
17563
17563
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17564
17564
  this.shadowRoot.innerHTML = `
17565
17565
  <style>
17566
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.292"}/dist/css/nine-mu.css";
17566
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.294"}/dist/css/nine-mu.css";
17567
17567
  ${customImport}
17568
17568
  </style>
17569
17569
  <div class="wrapper">
@@ -43780,7 +43780,7 @@ class NineDiff extends HTMLElement {
43780
43780
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43781
43781
  this.shadowRoot.innerHTML = `
43782
43782
  <style>
43783
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.292"}/dist/css/nine-mu.css";
43783
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.294"}/dist/css/nine-mu.css";
43784
43784
  ${customImport}
43785
43785
  </style>
43786
43786
 
@@ -43847,7 +43847,7 @@ class NineDiffPopup extends HTMLElement {
43847
43847
  return this;
43848
43848
  }
43849
43849
  /**
43850
- * πŸ’‘ [100% 데이터 기반 동적 νƒ­/에디터 λΉŒλ“œ μ—”μ§„]
43850
+ * πŸ’‘ [μ›ν”„λ ˆμž„ ν†΅μ§œ 일괄 동적 λΉŒλ“œ μ—”μ§„]
43851
43851
  */
43852
43852
  async data(fileList) {
43853
43853
  if (!Array.isArray(fileList) || fileList.length === 0) return this;
@@ -43862,15 +43862,21 @@ class NineDiffPopup extends HTMLElement {
43862
43862
  if (lower.endsWith(".json")) return "json";
43863
43863
  return "javascript";
43864
43864
  };
43865
+ let totalTabHtml = "";
43865
43866
  fileList.forEach((file) => {
43866
43867
  const { layer: layer2, full_path } = file;
43867
43868
  const fileName = full_path.split("/").pop() || "Unknown";
43868
43869
  const captionName = `${layer2.toUpperCase()} (${fileName})`;
43869
- const targetHtmlContent = `<nine-diff class="${layer2}"></nine-diff>`;
43870
- if (__privateGet(this, _tabContainer) && typeof __privateGet(this, _tabContainer).addTabPage === "function") {
43871
- __privateGet(this, _tabContainer).addTabPage(captionName, targetHtmlContent);
43872
- }
43870
+ totalTabHtml += `
43871
+ <nine-tab-page caption="${captionName}">
43872
+ <nine-diff class="${layer2}"></nine-diff>
43873
+ </nine-tab-page>
43874
+ `;
43873
43875
  });
43876
+ __privateGet(this, _tabContainer).innerHTML = totalTabHtml;
43877
+ if (__privateGet(this, _tabContainer) && typeof __privateGet(this, _tabContainer).connectedCallback === "function") {
43878
+ __privateGet(this, _tabContainer).connectedCallback();
43879
+ }
43874
43880
  requestAnimationFrame(() => {
43875
43881
  requestAnimationFrame(() => {
43876
43882
  fileList.forEach((file) => {
@@ -43879,8 +43885,6 @@ class NineDiffPopup extends HTMLElement {
43879
43885
  if (diff && typeof diff.initialize === "function") {
43880
43886
  const lang = detectLanguage(full_path);
43881
43887
  diff.initialize(asis_source || "", source || "", lang);
43882
- } else {
43883
- trace.error(`❌ 동적 에디터 탐색 μœ μ‹€: nine-diff.${layer2}`);
43884
43888
  }
43885
43889
  });
43886
43890
  if (__privateGet(this, _tabContainer) && typeof __privateGet(this, _tabContainer).initialize === "function") {
@@ -43897,11 +43901,11 @@ _fileList = new WeakMap();
43897
43901
  _host = new WeakMap();
43898
43902
  _NineDiffPopup_instances = new WeakSet();
43899
43903
  /**
43900
- * πŸ’‘ [μŠ€μΌ€ν΄λ”©] νƒ­ λ‚΄λΆ€λŠ” μ™„μ „νžˆ λΉ„μ›Œλ‘κ³  였직 μˆœμˆ˜ν•œ μ»΄ν¬λ„ŒνŠΈ ν‹€λ§Œ λ°°μΉ˜ν•©λ‹ˆλ‹€.
43904
+ * πŸ’‘ μŠ€νƒ€μΌ κ°„μ„­ μ—†λŠ” 순수 λ‹€μ΄μ–Όλ‘œκ·Έ 껍데기 λ Œλ”λ§
43901
43905
  */
43902
43906
  renderScaffolding_fn = function() {
43903
43907
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43904
- const appVersion = "0.1.292";
43908
+ const appVersion = "0.1.294";
43905
43909
  this.shadowRoot.innerHTML = `
43906
43910
  <style>
43907
43911
  @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${appVersion}/dist/css/nine-mu.css";
@@ -44240,7 +44244,7 @@ class ChatMessageBody extends HTMLElement {
44240
44244
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44241
44245
  this.shadowRoot.innerHTML = `
44242
44246
  <style>
44243
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.292"}/dist/css/nine-mu.css";
44247
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.294"}/dist/css/nine-mu.css";
44244
44248
  ${customImport}
44245
44249
  </style>
44246
44250
 
@@ -44334,7 +44338,7 @@ if (!customElements.get("nine-chat-progress")) {
44334
44338
  customElements.define("nine-chat-progress", ProgressMessage);
44335
44339
  }
44336
44340
  const NineMu = {
44337
- version: "0.1.292",
44341
+ version: "0.1.294",
44338
44342
  init: (config2) => {
44339
44343
  trace$1.log("πŸ› οΈ Nine-Mu Engine initialized", config2);
44340
44344
  }