ide-assi 0.139.0 → 0.141.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 +52 -2
- package/dist/bundle.esm.js +52 -2
- package/dist/components/ideAi.js +1 -1
- package/package.json +1 -1
- package/src/components/ideAi.js +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -11171,6 +11171,8 @@ class ninegrid {
|
|
|
11171
11171
|
};
|
|
11172
11172
|
|
|
11173
11173
|
static decode = (args) => {
|
|
11174
|
+
console.log(args);
|
|
11175
|
+
|
|
11174
11176
|
for (var i = 1; i < args.length ; i+=2) {
|
|
11175
11177
|
if (args[0] === args[i]) return args[i+1];
|
|
11176
11178
|
}
|
|
@@ -11436,6 +11438,7 @@ class ninegrid {
|
|
|
11436
11438
|
}
|
|
11437
11439
|
|
|
11438
11440
|
|
|
11441
|
+
/**
|
|
11439
11442
|
static querySelectorAll = (selector, root) => {
|
|
11440
11443
|
|
|
11441
11444
|
root = root || document;
|
|
@@ -11461,7 +11464,54 @@ class ninegrid {
|
|
|
11461
11464
|
|
|
11462
11465
|
return results;
|
|
11463
11466
|
};
|
|
11464
|
-
|
|
11467
|
+
*/
|
|
11468
|
+
|
|
11469
|
+
static querySelectorAll(selector, root = document) {
|
|
11470
|
+
const results = [];
|
|
11471
|
+
|
|
11472
|
+
const search = (node) => {
|
|
11473
|
+
// 현재 노드에서 찾기
|
|
11474
|
+
node.querySelectorAll?.(selector)?.forEach(elem => {
|
|
11475
|
+
if (!results.includes(elem)) results.push(elem);
|
|
11476
|
+
});
|
|
11477
|
+
|
|
11478
|
+
// 모든 자식 요소 순회
|
|
11479
|
+
node.querySelectorAll?.('*')?.forEach(child => {
|
|
11480
|
+
if (child.shadowRoot) {
|
|
11481
|
+
search(child.shadowRoot); // 💡 재귀적으로 계속 들어가!
|
|
11482
|
+
}
|
|
11483
|
+
});
|
|
11484
|
+
};
|
|
11485
|
+
|
|
11486
|
+
// 시작점
|
|
11487
|
+
search(root.shadowRoot ?? root);
|
|
11488
|
+
|
|
11489
|
+
return results;
|
|
11490
|
+
}
|
|
11491
|
+
|
|
11492
|
+
static querySelector(selector, root = document) {
|
|
11493
|
+
let found = root.querySelector?.(selector);
|
|
11494
|
+
if (found) return found;
|
|
11495
|
+
|
|
11496
|
+
// 최상위 shadow root가 있다면 먼저 탐색
|
|
11497
|
+
if (root.shadowRoot) {
|
|
11498
|
+
found = this.querySelector(selector, root.shadowRoot);
|
|
11499
|
+
if (found) return found;
|
|
11500
|
+
}
|
|
11501
|
+
|
|
11502
|
+
// 모든 자식 요소 탐색
|
|
11503
|
+
for (const elem of root.querySelectorAll?.('*') ?? []) {
|
|
11504
|
+
if (elem.shadowRoot) {
|
|
11505
|
+
found = this.querySelector(selector, elem.shadowRoot);
|
|
11506
|
+
if (found) return found;
|
|
11507
|
+
}
|
|
11508
|
+
}
|
|
11509
|
+
|
|
11510
|
+
return null; // 없으면 null 반환
|
|
11511
|
+
}
|
|
11512
|
+
|
|
11513
|
+
|
|
11514
|
+
|
|
11465
11515
|
static i18n = {
|
|
11466
11516
|
convertArrayToJSON : (arr) => {
|
|
11467
11517
|
let result = {};
|
|
@@ -193559,7 +193609,7 @@ class IdeAi
|
|
|
193559
193609
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
|
|
193560
193610
|
console.log(where);
|
|
193561
193611
|
|
|
193562
|
-
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript));
|
|
193612
|
+
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript, "xx"));
|
|
193563
193613
|
|
|
193564
193614
|
|
|
193565
193615
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -11167,6 +11167,8 @@ class ninegrid {
|
|
|
11167
11167
|
};
|
|
11168
11168
|
|
|
11169
11169
|
static decode = (args) => {
|
|
11170
|
+
console.log(args);
|
|
11171
|
+
|
|
11170
11172
|
for (var i = 1; i < args.length ; i+=2) {
|
|
11171
11173
|
if (args[0] === args[i]) return args[i+1];
|
|
11172
11174
|
}
|
|
@@ -11432,6 +11434,7 @@ class ninegrid {
|
|
|
11432
11434
|
}
|
|
11433
11435
|
|
|
11434
11436
|
|
|
11437
|
+
/**
|
|
11435
11438
|
static querySelectorAll = (selector, root) => {
|
|
11436
11439
|
|
|
11437
11440
|
root = root || document;
|
|
@@ -11457,7 +11460,54 @@ class ninegrid {
|
|
|
11457
11460
|
|
|
11458
11461
|
return results;
|
|
11459
11462
|
};
|
|
11460
|
-
|
|
11463
|
+
*/
|
|
11464
|
+
|
|
11465
|
+
static querySelectorAll(selector, root = document) {
|
|
11466
|
+
const results = [];
|
|
11467
|
+
|
|
11468
|
+
const search = (node) => {
|
|
11469
|
+
// 현재 노드에서 찾기
|
|
11470
|
+
node.querySelectorAll?.(selector)?.forEach(elem => {
|
|
11471
|
+
if (!results.includes(elem)) results.push(elem);
|
|
11472
|
+
});
|
|
11473
|
+
|
|
11474
|
+
// 모든 자식 요소 순회
|
|
11475
|
+
node.querySelectorAll?.('*')?.forEach(child => {
|
|
11476
|
+
if (child.shadowRoot) {
|
|
11477
|
+
search(child.shadowRoot); // 💡 재귀적으로 계속 들어가!
|
|
11478
|
+
}
|
|
11479
|
+
});
|
|
11480
|
+
};
|
|
11481
|
+
|
|
11482
|
+
// 시작점
|
|
11483
|
+
search(root.shadowRoot ?? root);
|
|
11484
|
+
|
|
11485
|
+
return results;
|
|
11486
|
+
}
|
|
11487
|
+
|
|
11488
|
+
static querySelector(selector, root = document) {
|
|
11489
|
+
let found = root.querySelector?.(selector);
|
|
11490
|
+
if (found) return found;
|
|
11491
|
+
|
|
11492
|
+
// 최상위 shadow root가 있다면 먼저 탐색
|
|
11493
|
+
if (root.shadowRoot) {
|
|
11494
|
+
found = this.querySelector(selector, root.shadowRoot);
|
|
11495
|
+
if (found) return found;
|
|
11496
|
+
}
|
|
11497
|
+
|
|
11498
|
+
// 모든 자식 요소 탐색
|
|
11499
|
+
for (const elem of root.querySelectorAll?.('*') ?? []) {
|
|
11500
|
+
if (elem.shadowRoot) {
|
|
11501
|
+
found = this.querySelector(selector, elem.shadowRoot);
|
|
11502
|
+
if (found) return found;
|
|
11503
|
+
}
|
|
11504
|
+
}
|
|
11505
|
+
|
|
11506
|
+
return null; // 없으면 null 반환
|
|
11507
|
+
}
|
|
11508
|
+
|
|
11509
|
+
|
|
11510
|
+
|
|
11461
11511
|
static i18n = {
|
|
11462
11512
|
convertArrayToJSON : (arr) => {
|
|
11463
11513
|
let result = {};
|
|
@@ -193555,7 +193605,7 @@ class IdeAi
|
|
|
193555
193605
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
|
|
193556
193606
|
console.log(where);
|
|
193557
193607
|
|
|
193558
|
-
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript));
|
|
193608
|
+
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript, "xx"));
|
|
193559
193609
|
|
|
193560
193610
|
|
|
193561
193611
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -279,7 +279,7 @@ export class IdeAi
|
|
|
279
279
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
|
|
280
280
|
console.log(where);
|
|
281
281
|
|
|
282
|
-
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript));
|
|
282
|
+
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript, "xx"));
|
|
283
283
|
|
|
284
284
|
|
|
285
285
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -279,7 +279,7 @@ export class IdeAi
|
|
|
279
279
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
|
|
280
280
|
console.log(where);
|
|
281
281
|
|
|
282
|
-
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript));
|
|
282
|
+
console.log(where.mybatis, ninegrid.decode("mybatis.xml", "mybatis.xml", "::" + where.mybatis + "::", "service.java", where.service, "controller.java", where.controller, "react.jsx", where.javascript, "xx"));
|
|
283
283
|
|
|
284
284
|
|
|
285
285
|
|