@nine-lab/nine-mu 0.1.223 → 0.1.225
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 +10 -10
- 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/src/components/NineChat.js +4 -3
package/dist/nine-mu.js
CHANGED
|
@@ -17372,7 +17372,7 @@ initInteractions_fn = function() {
|
|
|
17372
17372
|
// --- [그룹 2: Action] 엔터키 입력 시 서비스 호출 ---
|
|
17373
17373
|
initActions_fn = function() {
|
|
17374
17374
|
this.shadowRoot.querySelector("#q").addEventListener("keypress", async (e) => {
|
|
17375
|
-
var _a2, _b, _c, _d
|
|
17375
|
+
var _a2, _b, _c, _d;
|
|
17376
17376
|
if (e.key === "Enter" && !e.shiftKey) {
|
|
17377
17377
|
e.preventDefault();
|
|
17378
17378
|
const target = e.target;
|
|
@@ -17397,15 +17397,15 @@ initActions_fn = function() {
|
|
|
17397
17397
|
const parsed = JSON.parse(rawText);
|
|
17398
17398
|
__privateGet(this, _manager).addChatHistory(parsed.message);
|
|
17399
17399
|
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17400
|
-
const currRoutes = await __privateGet(this,
|
|
17401
|
-
if ((
|
|
17400
|
+
const currRoutes = await __privateGet(this, _manager).getRoutes();
|
|
17401
|
+
if ((parsed == null ? void 0 : parsed.selected_tool) === "source-missing") {
|
|
17402
17402
|
nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
|
|
17403
|
-
__privateGet(this, _showDiff).call(this, currRoutes, parsed.data, "json");
|
|
17403
|
+
__privateGet(this, _showDiff).call(this, currRoutes, parsed == null ? void 0 : parsed.data, "json");
|
|
17404
17404
|
});
|
|
17405
17405
|
}
|
|
17406
17406
|
} catch (err2) {
|
|
17407
17407
|
trace.error(err2);
|
|
17408
|
-
const fallbackMessage = ((
|
|
17408
|
+
const fallbackMessage = ((_d = (_c = result == null ? void 0 : result.content) == null ? void 0 : _c[0]) == null ? void 0 : _d.text) || "응답 데이터를 해석하지 못했습니다.";
|
|
17409
17409
|
__privateGet(this, _$nineChatMessage).add("ai", fallbackMessage);
|
|
17410
17410
|
}
|
|
17411
17411
|
}
|
|
@@ -17417,7 +17417,7 @@ render_fn = function() {
|
|
|
17417
17417
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17418
17418
|
this.shadowRoot.innerHTML = `
|
|
17419
17419
|
<style>
|
|
17420
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17420
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.224"}/dist/css/nine-mu.css";
|
|
17421
17421
|
${customImport}
|
|
17422
17422
|
</style>
|
|
17423
17423
|
<div class="wrapper">
|
|
@@ -43636,7 +43636,7 @@ class NineDiff extends HTMLElement {
|
|
|
43636
43636
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43637
43637
|
this.shadowRoot.innerHTML = `
|
|
43638
43638
|
<style>
|
|
43639
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43639
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.224"}/dist/css/nine-mu.css";
|
|
43640
43640
|
${customImport}
|
|
43641
43641
|
</style>
|
|
43642
43642
|
|
|
@@ -43746,7 +43746,7 @@ render_fn2 = function() {
|
|
|
43746
43746
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43747
43747
|
this.shadowRoot.innerHTML = `
|
|
43748
43748
|
<style>
|
|
43749
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43749
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.224"}/dist/css/nine-mu.css";
|
|
43750
43750
|
${customImport}
|
|
43751
43751
|
</style>
|
|
43752
43752
|
|
|
@@ -44073,7 +44073,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44073
44073
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44074
44074
|
this.shadowRoot.innerHTML = `
|
|
44075
44075
|
<style>
|
|
44076
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44076
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.224"}/dist/css/nine-mu.css";
|
|
44077
44077
|
${customImport}
|
|
44078
44078
|
</style>
|
|
44079
44079
|
|
|
@@ -44167,7 +44167,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44167
44167
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44168
44168
|
}
|
|
44169
44169
|
const NineMu = {
|
|
44170
|
-
version: "0.1.
|
|
44170
|
+
version: "0.1.224",
|
|
44171
44171
|
init: (config2) => {
|
|
44172
44172
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44173
44173
|
}
|