ninegrid2 6.647.0 → 6.648.0
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/bundle.cjs.js +32 -1
- package/dist/bundle.esm.js +32 -1
- package/dist/ide-assi/ideAssi.js +32 -1
- package/package.json +1 -1
- package/src/ide-assi/ideAssi.js +32 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -193128,6 +193128,29 @@ class ideAssi extends HTMLElement
|
|
|
193128
193128
|
//this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
193129
193129
|
};
|
|
193130
193130
|
|
|
193131
|
+
|
|
193132
|
+
#getMenuInfo = (question) => {
|
|
193133
|
+
|
|
193134
|
+
|
|
193135
|
+
};
|
|
193136
|
+
|
|
193137
|
+
#getTableInfo = (question) => {
|
|
193138
|
+
ninegrid.querySelectorAll("nx-side-menu-item").forEach(elem => {
|
|
193139
|
+
console.log(elem);
|
|
193140
|
+
});
|
|
193141
|
+
|
|
193142
|
+
};
|
|
193143
|
+
/**
|
|
193144
|
+
* 1. 소스 명칭 package 예) tmpl.population
|
|
193145
|
+
* 2. 소스가 없으면 소스 생성
|
|
193146
|
+
* 3.
|
|
193147
|
+
*/
|
|
193148
|
+
#generateSource = async (question) => {
|
|
193149
|
+
|
|
193150
|
+
this.#getMenuInfo();
|
|
193151
|
+
this.#getTableInfo();
|
|
193152
|
+
};
|
|
193153
|
+
|
|
193131
193154
|
#keydownHandler = async (e) => {
|
|
193132
193155
|
if (e.key !== "Enter") return;
|
|
193133
193156
|
|
|
@@ -193152,6 +193175,14 @@ class ideAssi extends HTMLElement
|
|
|
193152
193175
|
elAiChat.add("me", question);
|
|
193153
193176
|
elAiChat.add("ing", question);
|
|
193154
193177
|
|
|
193178
|
+
try {
|
|
193179
|
+
this.#generateSource(question);
|
|
193180
|
+
} catch (error) {
|
|
193181
|
+
console.error(error);
|
|
193182
|
+
elAiChat.add("ai", error);
|
|
193183
|
+
}
|
|
193184
|
+
|
|
193185
|
+
/**
|
|
193155
193186
|
try {
|
|
193156
193187
|
const code = `
|
|
193157
193188
|
package tmpl.generated;
|
|
@@ -193198,7 +193229,7 @@ export default Home;
|
|
|
193198
193229
|
console.error(error);
|
|
193199
193230
|
//elAiChat.add("ai", error);
|
|
193200
193231
|
}
|
|
193201
|
-
|
|
193232
|
+
*/
|
|
193202
193233
|
|
|
193203
193234
|
this.#ing = false;
|
|
193204
193235
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193124,6 +193124,29 @@ class ideAssi extends HTMLElement
|
|
|
193124
193124
|
//this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
193125
193125
|
};
|
|
193126
193126
|
|
|
193127
|
+
|
|
193128
|
+
#getMenuInfo = (question) => {
|
|
193129
|
+
|
|
193130
|
+
|
|
193131
|
+
};
|
|
193132
|
+
|
|
193133
|
+
#getTableInfo = (question) => {
|
|
193134
|
+
ninegrid.querySelectorAll("nx-side-menu-item").forEach(elem => {
|
|
193135
|
+
console.log(elem);
|
|
193136
|
+
});
|
|
193137
|
+
|
|
193138
|
+
};
|
|
193139
|
+
/**
|
|
193140
|
+
* 1. 소스 명칭 package 예) tmpl.population
|
|
193141
|
+
* 2. 소스가 없으면 소스 생성
|
|
193142
|
+
* 3.
|
|
193143
|
+
*/
|
|
193144
|
+
#generateSource = async (question) => {
|
|
193145
|
+
|
|
193146
|
+
this.#getMenuInfo();
|
|
193147
|
+
this.#getTableInfo();
|
|
193148
|
+
};
|
|
193149
|
+
|
|
193127
193150
|
#keydownHandler = async (e) => {
|
|
193128
193151
|
if (e.key !== "Enter") return;
|
|
193129
193152
|
|
|
@@ -193148,6 +193171,14 @@ class ideAssi extends HTMLElement
|
|
|
193148
193171
|
elAiChat.add("me", question);
|
|
193149
193172
|
elAiChat.add("ing", question);
|
|
193150
193173
|
|
|
193174
|
+
try {
|
|
193175
|
+
this.#generateSource(question);
|
|
193176
|
+
} catch (error) {
|
|
193177
|
+
console.error(error);
|
|
193178
|
+
elAiChat.add("ai", error);
|
|
193179
|
+
}
|
|
193180
|
+
|
|
193181
|
+
/**
|
|
193151
193182
|
try {
|
|
193152
193183
|
const code = `
|
|
193153
193184
|
package tmpl.generated;
|
|
@@ -193194,7 +193225,7 @@ export default Home;
|
|
|
193194
193225
|
console.error(error);
|
|
193195
193226
|
//elAiChat.add("ai", error);
|
|
193196
193227
|
}
|
|
193197
|
-
|
|
193228
|
+
*/
|
|
193198
193229
|
|
|
193199
193230
|
this.#ing = false;
|
|
193200
193231
|
}
|
package/dist/ide-assi/ideAssi.js
CHANGED
|
@@ -64,6 +64,29 @@ class ideAssi extends HTMLElement
|
|
|
64
64
|
//this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
+
|
|
68
|
+
#getMenuInfo = (question) => {
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
#getTableInfo = (question) => {
|
|
74
|
+
ninegrid.querySelectorAll("nx-side-menu-item").forEach(elem => {
|
|
75
|
+
console.log(elem);
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* 1. 소스 명칭 package 예) tmpl.population
|
|
81
|
+
* 2. 소스가 없으면 소스 생성
|
|
82
|
+
* 3.
|
|
83
|
+
*/
|
|
84
|
+
#generateSource = async (question) => {
|
|
85
|
+
|
|
86
|
+
const menuInfo = this.#getMenuInfo();
|
|
87
|
+
const tableInfo = this.#getTableInfo();
|
|
88
|
+
};
|
|
89
|
+
|
|
67
90
|
#keydownHandler = async (e) => {
|
|
68
91
|
if (e.key !== "Enter") return;
|
|
69
92
|
|
|
@@ -88,6 +111,14 @@ class ideAssi extends HTMLElement
|
|
|
88
111
|
elAiChat.add("me", question);
|
|
89
112
|
elAiChat.add("ing", question);
|
|
90
113
|
|
|
114
|
+
try {
|
|
115
|
+
this.#generateSource(question);
|
|
116
|
+
} catch (error) {
|
|
117
|
+
console.error(error);
|
|
118
|
+
elAiChat.add("ai", error);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
91
122
|
try {
|
|
92
123
|
const code = `
|
|
93
124
|
package tmpl.generated;
|
|
@@ -134,7 +165,7 @@ export default Home;
|
|
|
134
165
|
console.error(error);
|
|
135
166
|
//elAiChat.add("ai", error);
|
|
136
167
|
}
|
|
137
|
-
|
|
168
|
+
*/
|
|
138
169
|
|
|
139
170
|
this.#ing = false;
|
|
140
171
|
}
|
package/package.json
CHANGED
package/src/ide-assi/ideAssi.js
CHANGED
|
@@ -64,6 +64,29 @@ class ideAssi extends HTMLElement
|
|
|
64
64
|
//this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
+
|
|
68
|
+
#getMenuInfo = (question) => {
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
#getTableInfo = (question) => {
|
|
74
|
+
ninegrid.querySelectorAll("nx-side-menu-item").forEach(elem => {
|
|
75
|
+
console.log(elem);
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* 1. 소스 명칭 package 예) tmpl.population
|
|
81
|
+
* 2. 소스가 없으면 소스 생성
|
|
82
|
+
* 3.
|
|
83
|
+
*/
|
|
84
|
+
#generateSource = async (question) => {
|
|
85
|
+
|
|
86
|
+
const menuInfo = this.#getMenuInfo();
|
|
87
|
+
const tableInfo = this.#getTableInfo();
|
|
88
|
+
};
|
|
89
|
+
|
|
67
90
|
#keydownHandler = async (e) => {
|
|
68
91
|
if (e.key !== "Enter") return;
|
|
69
92
|
|
|
@@ -88,6 +111,14 @@ class ideAssi extends HTMLElement
|
|
|
88
111
|
elAiChat.add("me", question);
|
|
89
112
|
elAiChat.add("ing", question);
|
|
90
113
|
|
|
114
|
+
try {
|
|
115
|
+
this.#generateSource(question);
|
|
116
|
+
} catch (error) {
|
|
117
|
+
console.error(error);
|
|
118
|
+
elAiChat.add("ai", error);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
91
122
|
try {
|
|
92
123
|
const code = `
|
|
93
124
|
package tmpl.generated;
|
|
@@ -134,7 +165,7 @@ export default Home;
|
|
|
134
165
|
console.error(error);
|
|
135
166
|
//elAiChat.add("ai", error);
|
|
136
167
|
}
|
|
137
|
-
|
|
168
|
+
*/
|
|
138
169
|
|
|
139
170
|
this.#ing = false;
|
|
140
171
|
}
|