ide-assi 0.517.0 → 0.519.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.
@@ -11512,9 +11512,15 @@ class ninegrid {
11512
11512
  }
11513
11513
 
11514
11514
  return null; // 없으면 null 반환
11515
- }
11515
+ };
11516
11516
 
11517
+ static confirm(message, title, options) {
11518
+ return nxConfirmPopup.confirm(message, title, options);
11519
+ };
11517
11520
 
11521
+ static alert(message, title, options) {
11522
+ return nxAlertPopup.alert(message, title, options);
11523
+ };
11518
11524
 
11519
11525
  static i18n = {
11520
11526
  convertArrayToJSON : (arr) => {
@@ -121084,9 +121090,6 @@ class nxTab extends HTMLElement {
121084
121090
  });
121085
121091
 
121086
121092
  const activeButton = this.shadowRoot.querySelector('.tab-button:not([style*="display: none"])');
121087
- console.log(activeButton);
121088
- console.log(activeButton.getAttribute('data-target'), activeButton.data);
121089
- //const tabPage = this.shadowRoot.querySelector(`#${activeButton.data}`);
121090
121093
 
121091
121094
  if (activeButton) {
121092
121095
  activeButton.click(); // 자동으로 탭 전환
@@ -121130,6 +121133,9 @@ class nxTab extends HTMLElement {
121130
121133
 
121131
121134
  #switchTab(event) {
121132
121135
  const target = event.target;
121136
+
121137
+ console.log(event);
121138
+
121133
121139
  if (!target.classList.contains('tab-button')) return;
121134
121140
 
121135
121141
  const targetId = target.getAttribute('data-target');
@@ -121137,7 +121143,10 @@ class nxTab extends HTMLElement {
121137
121143
  const activeContent = this.shadowRoot.querySelector('.tab-page.active');
121138
121144
  const newContent = this.shadowRoot.getElementById(targetId);
121139
121145
 
121146
+ console.log(targetId, activeTab, activeContent, newContent);
121147
+
121140
121148
  if (activeTab === target) return; // 현재 탭을 클릭했을 때 아무런 변화가 없도록 함
121149
+ console.log("*******");
121141
121150
 
121142
121151
  if (activeTab && activeContent) {
121143
121152
  activeTab.classList.remove('active');
@@ -121158,6 +121167,17 @@ class nxTab extends HTMLElement {
121158
121167
 
121159
121168
  newContent.classList.remove('exit-left','exit-right');
121160
121169
  }
121170
+ else if (activeContent && newContent) {
121171
+ activeContent.classList.remove('active','exit-left','exit-right');
121172
+ //newContent.classList.remove('exit-left','exit-right');
121173
+ activeContent.style.left = '';
121174
+ activeContent.classList.add('exit-left');
121175
+
121176
+ newContent.classList.add('active');
121177
+ newContent.style.left = '';
121178
+
121179
+ newContent.classList.remove('exit-left','exit-right');
121180
+ }
121161
121181
 
121162
121182
  target.classList.add('active');
121163
121183
  //newContent.classList.add('active');
@@ -202069,10 +202089,12 @@ class IdeAi
202069
202089
 
202070
202090
  #where = async (userPrompt, menuList, tableDefinitions) => {
202071
202091
 
202092
+ console.log(menuList, tableDefinitions);
202093
+
202072
202094
  const o = await this.#invoke('/prompts/meta/C.스캐폴딩.txt', {
202073
202095
  "userPrompt": userPrompt,
202074
- "menuList": menuList,
202075
- "tableDefinitions": tableDefinitions,
202096
+ "menuList": JSON.stringify(menuList),
202097
+ "tableDefinitions": JSON.stringify(tableDefinitions),
202076
202098
  });
202077
202099
 
202078
202100
  console.log("=======================================================");
@@ -11508,9 +11508,15 @@ class ninegrid {
11508
11508
  }
11509
11509
 
11510
11510
  return null; // 없으면 null 반환
11511
- }
11511
+ };
11512
11512
 
11513
+ static confirm(message, title, options) {
11514
+ return nxConfirmPopup.confirm(message, title, options);
11515
+ };
11513
11516
 
11517
+ static alert(message, title, options) {
11518
+ return nxAlertPopup.alert(message, title, options);
11519
+ };
11514
11520
 
11515
11521
  static i18n = {
11516
11522
  convertArrayToJSON : (arr) => {
@@ -121080,9 +121086,6 @@ class nxTab extends HTMLElement {
121080
121086
  });
121081
121087
 
121082
121088
  const activeButton = this.shadowRoot.querySelector('.tab-button:not([style*="display: none"])');
121083
- console.log(activeButton);
121084
- console.log(activeButton.getAttribute('data-target'), activeButton.data);
121085
- //const tabPage = this.shadowRoot.querySelector(`#${activeButton.data}`);
121086
121089
 
121087
121090
  if (activeButton) {
121088
121091
  activeButton.click(); // 자동으로 탭 전환
@@ -121126,6 +121129,9 @@ class nxTab extends HTMLElement {
121126
121129
 
121127
121130
  #switchTab(event) {
121128
121131
  const target = event.target;
121132
+
121133
+ console.log(event);
121134
+
121129
121135
  if (!target.classList.contains('tab-button')) return;
121130
121136
 
121131
121137
  const targetId = target.getAttribute('data-target');
@@ -121133,7 +121139,10 @@ class nxTab extends HTMLElement {
121133
121139
  const activeContent = this.shadowRoot.querySelector('.tab-page.active');
121134
121140
  const newContent = this.shadowRoot.getElementById(targetId);
121135
121141
 
121142
+ console.log(targetId, activeTab, activeContent, newContent);
121143
+
121136
121144
  if (activeTab === target) return; // 현재 탭을 클릭했을 때 아무런 변화가 없도록 함
121145
+ console.log("*******");
121137
121146
 
121138
121147
  if (activeTab && activeContent) {
121139
121148
  activeTab.classList.remove('active');
@@ -121154,6 +121163,17 @@ class nxTab extends HTMLElement {
121154
121163
 
121155
121164
  newContent.classList.remove('exit-left','exit-right');
121156
121165
  }
121166
+ else if (activeContent && newContent) {
121167
+ activeContent.classList.remove('active','exit-left','exit-right');
121168
+ //newContent.classList.remove('exit-left','exit-right');
121169
+ activeContent.style.left = '';
121170
+ activeContent.classList.add('exit-left');
121171
+
121172
+ newContent.classList.add('active');
121173
+ newContent.style.left = '';
121174
+
121175
+ newContent.classList.remove('exit-left','exit-right');
121176
+ }
121157
121177
 
121158
121178
  target.classList.add('active');
121159
121179
  //newContent.classList.add('active');
@@ -202065,10 +202085,12 @@ class IdeAi
202065
202085
 
202066
202086
  #where = async (userPrompt, menuList, tableDefinitions) => {
202067
202087
 
202088
+ console.log(menuList, tableDefinitions);
202089
+
202068
202090
  const o = await this.#invoke('/prompts/meta/C.스캐폴딩.txt', {
202069
202091
  "userPrompt": userPrompt,
202070
- "menuList": menuList,
202071
- "tableDefinitions": tableDefinitions,
202092
+ "menuList": JSON.stringify(menuList),
202093
+ "tableDefinitions": JSON.stringify(tableDefinitions),
202072
202094
  });
202073
202095
 
202074
202096
  console.log("=======================================================");
@@ -221,10 +221,12 @@ export class IdeAi
221
221
 
222
222
  #where = async (userPrompt, menuList, tableDefinitions) => {
223
223
 
224
+ console.log(menuList, tableDefinitions);
225
+
224
226
  const o = await this.#invoke('/prompts/meta/C.스캐폴딩.txt', {
225
227
  "userPrompt": userPrompt,
226
- "menuList": menuList,
227
- "tableDefinitions": tableDefinitions,
228
+ "menuList": JSON.stringify(menuList),
229
+ "tableDefinitions": JSON.stringify(tableDefinitions),
228
230
  });
229
231
 
230
232
  console.log("=======================================================");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.517.0",
4
+ "version": "0.519.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -221,10 +221,12 @@ export class IdeAi
221
221
 
222
222
  #where = async (userPrompt, menuList, tableDefinitions) => {
223
223
 
224
+ console.log(menuList, tableDefinitions);
225
+
224
226
  const o = await this.#invoke('/prompts/meta/C.스캐폴딩.txt', {
225
227
  "userPrompt": userPrompt,
226
- "menuList": menuList,
227
- "tableDefinitions": tableDefinitions,
228
+ "menuList": JSON.stringify(menuList),
229
+ "tableDefinitions": JSON.stringify(tableDefinitions),
228
230
  });
229
231
 
230
232
  console.log("=======================================================");