@nine-lab/nine-mu 0.1.299 → 0.1.301
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/css/nine-mu.css +29 -0
- package/dist/nine-mu.js +16 -9
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/public/css/nine-mu.css +29 -0
- package/src/components/NineChat.js +13 -5
- package/src/components/NineDiffPopup.js +2 -2
package/dist/css/nine-mu.css
CHANGED
|
@@ -831,6 +831,35 @@
|
|
|
831
831
|
}
|
|
832
832
|
.btn { padding: 8px 20px; cursor: pointer; border-radius: 4px; border: 1px solid #ccc; font-weight: bold; }
|
|
833
833
|
.btn-confirm { background: #007bff; color: white; border: none; }
|
|
834
|
+
|
|
835
|
+
.tab-pages .tab-page {
|
|
836
|
+
height: 100%;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
nine-dialog {
|
|
840
|
+
display: flex;
|
|
841
|
+
flex-direction: column;
|
|
842
|
+
width: 85vw;
|
|
843
|
+
height: 80vh; /* 팝업 전체 높이를 브라우저 화면의 80%로 제한 */
|
|
844
|
+
min-width: 900px;
|
|
845
|
+
overflow: hidden; /* 다이얼로그 자체가 늘어나며 바깥 스크롤 생기는 현상 방지 */
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/* 🎯 [핵심 교정]: 탭 영역이 남은 다이얼로그 높이를 100% 꽉 채우도록 설정 */
|
|
849
|
+
nine-tab {
|
|
850
|
+
flex: 1;
|
|
851
|
+
min-height: 0; /* 플렉스 자식의 무한 늘어남 방지 (스크롤 유도 필수 속성) */
|
|
852
|
+
display: flex;
|
|
853
|
+
flex-direction: column;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.footer1111 {
|
|
857
|
+
display: flex;
|
|
858
|
+
justify-content: flex-end;
|
|
859
|
+
gap: 10px;
|
|
860
|
+
padding: 15px 0 0 0;
|
|
861
|
+
border-top: 1px solid #e5e7eb;
|
|
862
|
+
}
|
|
834
863
|
}
|
|
835
864
|
|
|
836
865
|
:host(nine-diff) {
|
package/dist/nine-mu.js
CHANGED
|
@@ -17461,7 +17461,15 @@ class NineChat extends HTMLElement {
|
|
|
17461
17461
|
const $diffPopup = document.createElement("nine-diff-popup");
|
|
17462
17462
|
const container = this.shadowRoot.querySelector(".wrapper") || this.shadowRoot;
|
|
17463
17463
|
container.appendChild($diffPopup);
|
|
17464
|
-
|
|
17464
|
+
const filePayload = {
|
|
17465
|
+
//layer: "Unknown",
|
|
17466
|
+
full_path: "unknown_file",
|
|
17467
|
+
asis_source: asis || "",
|
|
17468
|
+
source: tobe || ""
|
|
17469
|
+
};
|
|
17470
|
+
collectedFiles.push(filePayload);
|
|
17471
|
+
$diffPopup.data([...collectedFiles]);
|
|
17472
|
+
$diffPopup.popup();
|
|
17465
17473
|
});
|
|
17466
17474
|
this.attachShadow({ mode: "open" });
|
|
17467
17475
|
}
|
|
@@ -17538,7 +17546,7 @@ initActions_fn = function() {
|
|
|
17538
17546
|
__privateGet(this, _manager).addChatHistory(parsed.message);
|
|
17539
17547
|
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17540
17548
|
const asis = await __privateGet(this, _manager).getRoutes();
|
|
17541
|
-
if ((parsed == null ? void 0 : parsed.selected_tool) === "
|
|
17549
|
+
if ((parsed == null ? void 0 : parsed.selected_tool) === "generator-menu") {
|
|
17542
17550
|
const hasCreated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "CREATE");
|
|
17543
17551
|
const hasUpdated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "UPDATE");
|
|
17544
17552
|
const hasDeleted = parsed == null ? void 0 : parsed.data.some((item) => item.action === "DELETE");
|
|
@@ -17563,7 +17571,7 @@ render_fn = function() {
|
|
|
17563
17571
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17564
17572
|
this.shadowRoot.innerHTML = `
|
|
17565
17573
|
<style>
|
|
17566
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17574
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.300"}/dist/css/nine-mu.css";
|
|
17567
17575
|
${customImport}
|
|
17568
17576
|
</style>
|
|
17569
17577
|
<div class="wrapper">
|
|
@@ -43780,7 +43788,7 @@ class NineDiff extends HTMLElement {
|
|
|
43780
43788
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43781
43789
|
this.shadowRoot.innerHTML = `
|
|
43782
43790
|
<style>
|
|
43783
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43791
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.300"}/dist/css/nine-mu.css";
|
|
43784
43792
|
${customImport}
|
|
43785
43793
|
</style>
|
|
43786
43794
|
|
|
@@ -43866,9 +43874,8 @@ class NineDiffPopup extends HTMLElement {
|
|
|
43866
43874
|
fileList.forEach((file) => {
|
|
43867
43875
|
const { layer: layer2, full_path } = file;
|
|
43868
43876
|
const fileName = full_path.split("/").pop() || "Unknown";
|
|
43869
|
-
const captionName = `${layer2.toUpperCase()} (${fileName})`;
|
|
43870
43877
|
totalTabHtml += `
|
|
43871
|
-
<nine-tab-page caption="${
|
|
43878
|
+
<nine-tab-page caption="${fileName}">
|
|
43872
43879
|
<nine-diff class="${layer2}"></nine-diff>
|
|
43873
43880
|
</nine-tab-page>
|
|
43874
43881
|
`;
|
|
@@ -43907,7 +43914,7 @@ renderScaffolding_fn = function() {
|
|
|
43907
43914
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43908
43915
|
this.shadowRoot.innerHTML = `
|
|
43909
43916
|
<style>
|
|
43910
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43917
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.300"}/dist/css/nine-mu.css";
|
|
43911
43918
|
${customImport}
|
|
43912
43919
|
</style>
|
|
43913
43920
|
|
|
@@ -44243,7 +44250,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44243
44250
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44244
44251
|
this.shadowRoot.innerHTML = `
|
|
44245
44252
|
<style>
|
|
44246
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44253
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.300"}/dist/css/nine-mu.css";
|
|
44247
44254
|
${customImport}
|
|
44248
44255
|
</style>
|
|
44249
44256
|
|
|
@@ -44337,7 +44344,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44337
44344
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44338
44345
|
}
|
|
44339
44346
|
const NineMu = {
|
|
44340
|
-
version: "0.1.
|
|
44347
|
+
version: "0.1.300",
|
|
44341
44348
|
init: (config2) => {
|
|
44342
44349
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44343
44350
|
}
|