ide-assi 0.463.0 → 0.465.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.
@@ -202801,11 +202801,12 @@ class IdeDiffPopup extends HTMLElement
202801
202801
  console.log(chagedSource);
202802
202802
 
202803
202803
  setTimeout(() => {
202804
- for (const key of chagedSource) {
202804
+ for (const item of chagedSource) {
202805
+ const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
202805
202806
 
202806
- console.log(key);
202807
+ console.log(type, diffData);
202807
202808
 
202808
- const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${key}']`, this.shadowRoot);
202809
+ const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${type}']`, this.shadowRoot);
202809
202810
  console.log(tabPage);
202810
202811
  if (!tabPage) continue;
202811
202812
 
@@ -202813,12 +202814,17 @@ class IdeDiffPopup extends HTMLElement
202813
202814
  console.log(diff);
202814
202815
  if (!diff) continue;
202815
202816
 
202816
- diff.initialize(chagedSource[key].asis, chagedSource[key].tobe, ninegrid.decode(key, "mybatis", "xml", "javascript", "javascript", "java"));
202817
+ diff.initialize(
202818
+ diffData.asis,
202819
+ diffData.tobe,
202820
+ ninegrid.decode(type, "mybatis", "xml", "javascript", "javascript", "java")
202821
+ );
202817
202822
  }
202818
202823
 
202819
202824
  this.shadowRoot.querySelector('nx-dialog')?.showModal();
202820
202825
  }, 100);
202821
202826
 
202827
+
202822
202828
  };
202823
202829
  }
202824
202830
 
@@ -202797,11 +202797,12 @@ class IdeDiffPopup extends HTMLElement
202797
202797
  console.log(chagedSource);
202798
202798
 
202799
202799
  setTimeout(() => {
202800
- for (const key of chagedSource) {
202800
+ for (const item of chagedSource) {
202801
+ const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
202801
202802
 
202802
- console.log(key);
202803
+ console.log(type, diffData);
202803
202804
 
202804
- const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${key}']`, this.shadowRoot);
202805
+ const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${type}']`, this.shadowRoot);
202805
202806
  console.log(tabPage);
202806
202807
  if (!tabPage) continue;
202807
202808
 
@@ -202809,12 +202810,17 @@ class IdeDiffPopup extends HTMLElement
202809
202810
  console.log(diff);
202810
202811
  if (!diff) continue;
202811
202812
 
202812
- diff.initialize(chagedSource[key].asis, chagedSource[key].tobe, ninegrid.decode(key, "mybatis", "xml", "javascript", "javascript", "java"));
202813
+ diff.initialize(
202814
+ diffData.asis,
202815
+ diffData.tobe,
202816
+ ninegrid.decode(type, "mybatis", "xml", "javascript", "javascript", "java")
202817
+ );
202813
202818
  }
202814
202819
 
202815
202820
  this.shadowRoot.querySelector('nx-dialog')?.showModal();
202816
202821
  }, 100);
202817
202822
 
202823
+
202818
202824
  };
202819
202825
  }
202820
202826
 
@@ -42,11 +42,12 @@ class IdeDiffPopup extends HTMLElement
42
42
  console.log(chagedSource);
43
43
 
44
44
  setTimeout(() => {
45
- for (const key of chagedSource) {
45
+ for (const item of chagedSource) {
46
+ const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
46
47
 
47
- console.log(key);
48
+ console.log(type, diffData);
48
49
 
49
- const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${key}']`, this.shadowRoot);
50
+ const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${type}']`, this.shadowRoot);
50
51
  console.log(tabPage);
51
52
  if (!tabPage) continue;
52
53
 
@@ -54,12 +55,17 @@ class IdeDiffPopup extends HTMLElement
54
55
  console.log(diff);
55
56
  if (!diff) continue;
56
57
 
57
- diff.initialize(chagedSource[key].asis, chagedSource[key].tobe, ninegrid.decode(key, "mybatis", "xml", "javascript", "javascript", "java"));
58
+ diff.initialize(
59
+ diffData.asis,
60
+ diffData.tobe,
61
+ ninegrid.decode(type, "mybatis", "xml", "javascript", "javascript", "java")
62
+ );
58
63
  }
59
64
 
60
65
  this.shadowRoot.querySelector('nx-dialog')?.showModal();
61
66
  }, 100);
62
67
 
68
+
63
69
  };
64
70
  }
65
71
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.463.0",
4
+ "version": "0.465.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -42,11 +42,12 @@ class IdeDiffPopup extends HTMLElement
42
42
  console.log(chagedSource);
43
43
 
44
44
  setTimeout(() => {
45
- for (const key of chagedSource) {
45
+ for (const item of chagedSource) {
46
+ const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
46
47
 
47
- console.log(key);
48
+ console.log(type, diffData);
48
49
 
49
- const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${key}']`, this.shadowRoot);
50
+ const tabPage = ninegrid.querySelector(`nx-tab-page[caption='${type}']`, this.shadowRoot);
50
51
  console.log(tabPage);
51
52
  if (!tabPage) continue;
52
53
 
@@ -54,12 +55,17 @@ class IdeDiffPopup extends HTMLElement
54
55
  console.log(diff);
55
56
  if (!diff) continue;
56
57
 
57
- diff.initialize(chagedSource[key].asis, chagedSource[key].tobe, ninegrid.decode(key, "mybatis", "xml", "javascript", "javascript", "java"));
58
+ diff.initialize(
59
+ diffData.asis,
60
+ diffData.tobe,
61
+ ninegrid.decode(type, "mybatis", "xml", "javascript", "javascript", "java")
62
+ );
58
63
  }
59
64
 
60
65
  this.shadowRoot.querySelector('nx-dialog')?.showModal();
61
66
  }, 100);
62
67
 
68
+
63
69
  };
64
70
  }
65
71