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

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.293"}/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.293"}/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;
@@ -43871,23 +43871,19 @@ class NineDiffPopup extends HTMLElement {
43871
43871
  __privateGet(this, _tabContainer).addTabPage(captionName, targetHtmlContent);
43872
43872
  }
43873
43873
  });
43874
- requestAnimationFrame(() => {
43875
- requestAnimationFrame(() => {
43876
- fileList.forEach((file) => {
43877
- const { layer: layer2, full_path, asis_source, source } = file;
43878
- const diff = __privateGet(this, _tabContainer).shadowRoot.querySelector(`nine-diff.${layer2}`);
43879
- if (diff && typeof diff.initialize === "function") {
43880
- const lang = detectLanguage(full_path);
43881
- diff.initialize(asis_source || "", source || "", lang);
43882
- } else {
43883
- trace.error(`❌ 동적 에디터 탐색 μœ μ‹€: nine-diff.${layer2}`);
43884
- }
43885
- });
43886
- if (__privateGet(this, _tabContainer) && typeof __privateGet(this, _tabContainer).initialize === "function") {
43887
- __privateGet(this, _tabContainer).initialize();
43874
+ setTimeout(() => {
43875
+ fileList.forEach((file) => {
43876
+ const { layer: layer2, full_path, asis_source, source } = file;
43877
+ const diff = __privateGet(this, _tabContainer).shadowRoot.querySelector(`nine-diff.${layer2}`);
43878
+ if (diff && typeof diff.initialize === "function") {
43879
+ const lang = detectLanguage(full_path);
43880
+ diff.initialize(asis_source || "", source || "", lang);
43888
43881
  }
43889
43882
  });
43890
- });
43883
+ if (__privateGet(this, _tabContainer) && typeof __privateGet(this, _tabContainer).initialize === "function") {
43884
+ __privateGet(this, _tabContainer).initialize();
43885
+ }
43886
+ }, 50);
43891
43887
  return this;
43892
43888
  }
43893
43889
  }
@@ -43897,11 +43893,11 @@ _fileList = new WeakMap();
43897
43893
  _host = new WeakMap();
43898
43894
  _NineDiffPopup_instances = new WeakSet();
43899
43895
  /**
43900
- * πŸ’‘ [μŠ€μΌ€ν΄λ”©] νƒ­ λ‚΄λΆ€λŠ” μ™„μ „νžˆ λΉ„μ›Œλ‘κ³  였직 μˆœμˆ˜ν•œ μ»΄ν¬λ„ŒνŠΈ ν‹€λ§Œ λ°°μΉ˜ν•©λ‹ˆλ‹€.
43896
+ * πŸ’‘ μŠ€νƒ€μΌ κ°„μ„­ μ—†λŠ” κΉ¨λ—ν•œ 순수 μŠ€μΌ€ν΄λ”© μ„ μ–Έ
43901
43897
  */
43902
43898
  renderScaffolding_fn = function() {
43903
43899
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43904
- const appVersion = "0.1.292";
43900
+ const appVersion = "0.1.293";
43905
43901
  this.shadowRoot.innerHTML = `
43906
43902
  <style>
43907
43903
  @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${appVersion}/dist/css/nine-mu.css";
@@ -44240,7 +44236,7 @@ class ChatMessageBody extends HTMLElement {
44240
44236
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44241
44237
  this.shadowRoot.innerHTML = `
44242
44238
  <style>
44243
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.292"}/dist/css/nine-mu.css";
44239
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.293"}/dist/css/nine-mu.css";
44244
44240
  ${customImport}
44245
44241
  </style>
44246
44242
 
@@ -44334,7 +44330,7 @@ if (!customElements.get("nine-chat-progress")) {
44334
44330
  customElements.define("nine-chat-progress", ProgressMessage);
44335
44331
  }
44336
44332
  const NineMu = {
44337
- version: "0.1.292",
44333
+ version: "0.1.293",
44338
44334
  init: (config2) => {
44339
44335
  trace$1.log("πŸ› οΈ Nine-Mu Engine initialized", config2);
44340
44336
  }