@nine-lab/nine-mu 0.1.326 → 0.1.327
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/package.json
CHANGED
|
@@ -50,6 +50,10 @@ export class NineChat extends HTMLElement {
|
|
|
50
50
|
this.#manager = new NineChatManager(this);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
get manager() {
|
|
54
|
+
return this.#manager;
|
|
55
|
+
}
|
|
56
|
+
|
|
53
57
|
// --- [그룹 1: Interaction] 화면 토글 및 메뉴 클릭 ---
|
|
54
58
|
#initInteractions() {
|
|
55
59
|
const $settings = this.shadowRoot.querySelector('nine-ai-settings');
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { trace } from "@nopeer";
|
|
2
2
|
import { api } from "@nine-lab/nine-util";
|
|
3
|
-
import {NineChatManager} from "./NineChatManager.js";
|
|
4
3
|
|
|
5
4
|
export class NotificationHandler {
|
|
6
5
|
#owner;
|
|
7
|
-
#manager;
|
|
8
6
|
#collectedFiles = [];
|
|
9
7
|
|
|
10
8
|
constructor(owner) {
|
|
11
9
|
this.#owner = owner; // 웹 컴포넌트나 UI DOM 인스턴스
|
|
12
|
-
this.#manager = new NineChatManager(owner);
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
/**
|
|
@@ -152,7 +149,7 @@ export class NotificationHandler {
|
|
|
152
149
|
|
|
153
150
|
if (hasUpdated || hasCreated || hasDeleted) {
|
|
154
151
|
|
|
155
|
-
const asis = await this.#manager.getRoutes();
|
|
152
|
+
const asis = await this.#owner.manager.getRoutes();
|
|
156
153
|
|
|
157
154
|
// 진짜 메뉴명 변경이나 이동만 요청한 경우
|
|
158
155
|
nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then(res => {
|