@nine-lab/nine-mu 0.1.33 → 0.1.35

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.
@@ -816,7 +816,7 @@
816
816
 
817
817
  nx-dialog { --dialog-width: 90vw; --dialog-height: 85vh; }
818
818
  .main-layout { width: 100%; height: 100%; display: flex; flex-direction: column; }
819
- .diff-area { flex: 1; min-height: 0; border: 1px solid #ddd; }
819
+ .diff-area { flex: 1; min-height: 0; }
820
820
  .footer {
821
821
  display: flex; justify-content: flex-end; gap: 10px;
822
822
  padding: 12px; background: #f9f9f9; border-top: 1px solid #eee;
package/dist/nine-mu.js CHANGED
@@ -9,7 +9,7 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
11
11
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
12
- var _getSourcePath, _service, _routes, _NineChat_instances, initInteractions_fn, initActions_fn, render_fn, _asisEditorView, _tobeEditorView, _asisEditorEl, _tobeEditorEl, _languageCompartment, _isScrollSyncActive, _initCodeMirror, _setupScrollSync, _applyDiffDecorations, _dialog, _diffView, _resolve, _asisBackup, _NineDiffPopup_instances, handleConfirm_fn, handleCancel_fn, _dialog2, _shift, _init, _onMouseDown, _onMouseMove, _onMouseUp;
12
+ var _getSourcePath, _service, _routes, _diffPopup, _NineChat_instances, initInteractions_fn, initActions_fn, render_fn, _asisEditorView, _tobeEditorView, _asisEditorEl, _tobeEditorEl, _languageCompartment, _isScrollSyncActive, _initCodeMirror, _setupScrollSync, _applyDiffDecorations, _dialog, _diffView, _resolve, _asisBackup, _NineDiffPopup_instances, handleConfirm_fn, handleCancel_fn, _dialog2, _shift, _init, _onMouseDown, _onMouseMove, _onMouseUp;
13
13
  import { trace, api, nine } from "@nine-lab/nine-util";
14
14
  class NineMuService {
15
15
  constructor(connectorUrl) {
@@ -105,6 +105,10 @@ class NineChat extends HTMLElement {
105
105
  __privateAdd(this, _NineChat_instances);
106
106
  __privateAdd(this, _service, null);
107
107
  __privateAdd(this, _routes, []);
108
+ __privateAdd(this, _diffPopup);
109
+ __publicField(this, "popup", (data) => {
110
+ __privateGet(this, _diffPopup).popup(data);
111
+ });
108
112
  this.attachShadow({ mode: "open" });
109
113
  }
110
114
  async connectedCallback() {
@@ -118,6 +122,7 @@ class NineChat extends HTMLElement {
118
122
  }
119
123
  _service = new WeakMap();
120
124
  _routes = new WeakMap();
125
+ _diffPopup = new WeakMap();
121
126
  _NineChat_instances = new WeakSet();
122
127
  // --- [그룹 1: Interaction] 화면 토글 및 메뉴 클릭 ---
123
128
  initInteractions_fn = function() {
@@ -178,7 +183,7 @@ render_fn = function() {
178
183
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
179
184
  this.shadowRoot.innerHTML = `
180
185
  <style>
181
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.32"}/dist/css/nine-mu.css";
186
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.34"}/dist/css/nine-mu.css";
182
187
  ${customImport}
183
188
  </style>
184
189
  <div class="wrapper">
@@ -210,7 +215,9 @@ render_fn = function() {
210
215
  </div>
211
216
  </div>
212
217
  <div class="expand-icon"></div>
218
+ <nine-diff-popup></nine-diff-popup>
213
219
  `;
220
+ __privateSet(this, _diffPopup, this.shadowRoot.querySelector("nine-diff-popup"));
214
221
  };
215
222
  if (!customElements.get("nine-chat")) {
216
223
  customElements.define("nine-chat", NineChat);
@@ -26378,7 +26385,7 @@ class NineDiff extends HTMLElement {
26378
26385
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26379
26386
  this.shadowRoot.innerHTML = `
26380
26387
  <style>
26381
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.32"}/dist/css/nine-mu.css";
26388
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.34"}/dist/css/nine-mu.css";
26382
26389
  ${customImport}
26383
26390
  </style>
26384
26391
 
@@ -26442,7 +26449,7 @@ class NineDiffPopup extends HTMLElement {
26442
26449
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26443
26450
  this.shadowRoot.innerHTML = `
26444
26451
  <style>
26445
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.32"}/dist/css/nine-mu.css";
26452
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.34"}/dist/css/nine-mu.css";
26446
26453
  ${customImport}
26447
26454
  </style>
26448
26455
 
@@ -26586,7 +26593,7 @@ if (!customElements.get("nine-dialog")) {
26586
26593
  customElements.define("nine-dialog", NineDialog);
26587
26594
  }
26588
26595
  const NineMu = {
26589
- version: "0.1.32",
26596
+ version: "0.1.34",
26590
26597
  init: (config) => {
26591
26598
  trace.log("🛠️ Nine-Mu Engine initialized", config);
26592
26599
  }