@nine-lab/nine-mu 0.1.403 → 0.1.405
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 +141 -17
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +3 -3
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ai/{NineNatualQuery.js → NineNaturalQuery.js} +4 -4
- package/src/components/ai/{NineNatualQueryResult.js → NineNaturalQueryResult.js} +3 -3
- package/src/components/hook/NineHook.js +6 -2
- package/src/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { trace } from '@nopeer';
|
|
2
2
|
import { api } from '@nine-lab/nine-util';
|
|
3
|
-
|
|
3
|
+
import { TipPopup } from '@nine-lab/nine-ai';
|
|
4
4
|
|
|
5
|
-
export class
|
|
5
|
+
export class NineNaturalQuery extends HTMLElement {
|
|
6
6
|
|
|
7
7
|
#schema = null;
|
|
8
8
|
#connectorUrl = '';
|
|
@@ -140,6 +140,6 @@ export class NineNatualQuery extends HTMLElement {
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if (!customElements.get("nine-
|
|
144
|
-
customElements.define("nine-
|
|
143
|
+
if (!customElements.get("nine-natural-query")) {
|
|
144
|
+
customElements.define("nine-natural-query", NineNaturalQuery);
|
|
145
145
|
}
|
|
@@ -2,7 +2,7 @@ import { trace } from '@nopeer';
|
|
|
2
2
|
import { nine } from '@nine-lab/nine-util';
|
|
3
3
|
//import ninegrid from "ninegrid2";
|
|
4
4
|
|
|
5
|
-
export class
|
|
5
|
+
export class NineNaturalQueryResult extends HTMLElement {
|
|
6
6
|
// 내부 상태 및 상수 캡슐화
|
|
7
7
|
#data = [];
|
|
8
8
|
#wrapper = null;
|
|
@@ -140,6 +140,6 @@ export class NineNatualQueryResult extends HTMLElement {
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if (!customElements.get("nine-
|
|
144
|
-
customElements.define("nine-
|
|
143
|
+
if (!customElements.get("nine-natural-query-result")) {
|
|
144
|
+
customElements.define("nine-natural-query-result", NineNaturalQueryResult);
|
|
145
145
|
}
|
|
@@ -63,8 +63,12 @@ const createDynamicRoutes = (menuData, projectViews, Custom404) => {
|
|
|
63
63
|
combinedName += words.map(w => w.charAt(0).toUpperCase() + w.slice(1)).join("");
|
|
64
64
|
}
|
|
65
65
|
const pascalName = combinedName || "GeneratedComponent";
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
|
|
67
|
+
// 🎯 [버그 수정 포인트] 폴더 구조의 하이픈(-)을 언더바로 바꾸지 않고 실제 폴더명 그대로 유지합니다.
|
|
68
|
+
// 기존: const sanitizedParts = pathParts.map(part => part.replace(/-/g, "_"));
|
|
69
|
+
// 기존: const fullFolderPath = sanitizedParts.join("/");
|
|
70
|
+
|
|
71
|
+
const fullFolderPath = pathParts.join("/"); // ⭕ 실제 물리 폴더 구조(nine/query-aaa) 그대로 유지
|
|
68
72
|
|
|
69
73
|
// 사용자 프로젝트 루트 기준 상대 경로 매핑
|
|
70
74
|
const componentPath = `${fullFolderPath}/${pascalName}.jsx`;
|
package/src/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import { NineDiff } from './components/NineDiff.js';
|
|
|
4
4
|
import { NineDiffPopup } from './components/NineDiffPopup.js';
|
|
5
5
|
import { NineMenuDiffPopup } from './components/NineMenuDiffPopup.js';
|
|
6
6
|
import './components/ChatMessage.js';
|
|
7
|
-
import './components/ai/
|
|
8
|
-
|
|
7
|
+
import './components/ai/NineNaturalQuery.js';
|
|
8
|
+
import './components/ai/NineNaturalQueryResult.js';
|
|
9
9
|
import { NineHook, useScreen } from './components/hook/NineHook.js';
|
|
10
10
|
|
|
11
11
|
/**
|