@nine-lab/nine-mu 0.1.335 → 0.1.336

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.
@@ -943,7 +943,7 @@
943
943
  }
944
944
 
945
945
  :host(nine-exception-hook) {
946
- display: block;
946
+ display: flex;
947
947
  width: 100%;
948
948
  height: 100%;
949
949
  color: inherit;
package/dist/nine-mu.js CHANGED
@@ -17537,7 +17537,7 @@ render_fn = function() {
17537
17537
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
17538
17538
  this.shadowRoot.innerHTML = `
17539
17539
  <style>
17540
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.334"}/dist/css/nine-mu.css";
17540
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
17541
17541
  ${customImport}
17542
17542
  </style>
17543
17543
  <div class="wrapper">
@@ -43787,7 +43787,7 @@ class NineDiff extends HTMLElement {
43787
43787
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
43788
43788
  this.shadowRoot.innerHTML = `
43789
43789
  <style>
43790
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.334"}/dist/css/nine-mu.css";
43790
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
43791
43791
  ${customImport}
43792
43792
  </style>
43793
43793
 
@@ -43927,7 +43927,7 @@ renderScaffolding_fn = function() {
43927
43927
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
43928
43928
  this.shadowRoot.innerHTML = `
43929
43929
  <style>
43930
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.334"}/dist/css/nine-mu.css";
43930
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
43931
43931
  ${customImport}
43932
43932
  </style>
43933
43933
 
@@ -44036,7 +44036,7 @@ render_fn2 = function() {
44036
44036
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
44037
44037
  this.shadowRoot.innerHTML = `
44038
44038
  <style>
44039
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.334"}/dist/css/nine-mu.css";
44039
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
44040
44040
  ${customImport}
44041
44041
  </style>
44042
44042
 
@@ -44366,7 +44366,7 @@ class ChatMessageBody extends HTMLElement {
44366
44366
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
44367
44367
  this.shadowRoot.innerHTML = `
44368
44368
  <style>
44369
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.334"}/dist/css/nine-mu.css";
44369
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
44370
44370
  ${customImport}
44371
44371
  </style>
44372
44372
 
@@ -44476,7 +44476,7 @@ class ExceptionHook extends HTMLElement {
44476
44476
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
44477
44477
  this.shadowRoot.innerHTML = `
44478
44478
  <style>
44479
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.334"}/dist/css/nine-mu.css";
44479
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
44480
44480
  ${customImport}
44481
44481
  </style>
44482
44482
 
@@ -44486,11 +44486,15 @@ class ExceptionHook extends HTMLElement {
44486
44486
  <div class="nine-exception-board"></div>
44487
44487
  `;
44488
44488
  });
44489
+ // src/components/exception/ExceptionHook.js
44489
44490
  __privateAdd(this, _handleRuntimeError, (event) => {
44490
44491
  var _a2, _b;
44491
44492
  if (__privateGet(this, _hasError)) return;
44492
- if (this.contains(event.target) || event.error) {
44493
- __privateMethod(this, _ExceptionHook_instances, renderError_fn).call(this, ((_a2 = event.error) == null ? void 0 : _a2.message) || event.message, (_b = event.error) == null ? void 0 : _b.stack);
44493
+ const isReactError = event.error || event.target && this.contains(event.target);
44494
+ if (isReactError) {
44495
+ const message = ((_a2 = event.error) == null ? void 0 : _a2.message) || event.message || "알 수 없는 런타임 에러";
44496
+ const stack = ((_b = event.error) == null ? void 0 : _b.stack) || "Stack trace unavailable";
44497
+ __privateMethod(this, _ExceptionHook_instances, renderError_fn).call(this, message, stack);
44494
44498
  }
44495
44499
  });
44496
44500
  __privateAdd(this, _handlePromiseError, (event) => {
@@ -44539,6 +44543,7 @@ class ExceptionHook extends HTMLElement {
44539
44543
  });
44540
44544
  this.attachShadow({ mode: "open" });
44541
44545
  }
44546
+ // src/components/exception/ExceptionHook.js 내부 수정
44542
44547
  connectedCallback() {
44543
44548
  __privateGet(this, _renderer2).call(this);
44544
44549
  __privateMethod(this, _ExceptionHook_instances, injectShadowStylesheet_fn).call(this);
@@ -44601,7 +44606,7 @@ if (!customElements.get("nine-exception-hook")) {
44601
44606
  customElements.define("nine-exception-hook", ExceptionHook);
44602
44607
  }
44603
44608
  const NineMu = {
44604
- version: "0.1.334",
44609
+ version: "0.1.335",
44605
44610
  init: (config2) => {
44606
44611
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44607
44612
  }