ide-assi 0.462.0 → 0.464.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 +11 -5
- package/dist/bundle.esm.js +11 -5
- package/dist/components/ideDiffPopup.js +11 -5
- package/package.json +1 -1
- package/src/components/ideDiffPopup.js +11 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -202801,24 +202801,30 @@ class IdeDiffPopup extends HTMLElement
|
|
|
202801
202801
|
console.log(chagedSource);
|
|
202802
202802
|
|
|
202803
202803
|
setTimeout(() => {
|
|
202804
|
-
for (const
|
|
202804
|
+
for (const item of chagedSource) {
|
|
202805
|
+
const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
|
|
202805
202806
|
|
|
202806
|
-
console.log(
|
|
202807
|
+
console.log(type, diffData);
|
|
202807
202808
|
|
|
202808
|
-
const tabPage =
|
|
202809
|
+
const tabPage = this.shadowRoot.querySelector(`nx-tab-page[caption='${type}']`);
|
|
202809
202810
|
console.log(tabPage);
|
|
202810
202811
|
if (!tabPage) continue;
|
|
202811
202812
|
|
|
202812
|
-
const diff =
|
|
202813
|
+
const diff = tabPage.querySelector("ide-diff");
|
|
202813
202814
|
console.log(diff);
|
|
202814
202815
|
if (!diff) continue;
|
|
202815
202816
|
|
|
202816
|
-
diff.initialize(
|
|
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
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202797,24 +202797,30 @@ class IdeDiffPopup extends HTMLElement
|
|
|
202797
202797
|
console.log(chagedSource);
|
|
202798
202798
|
|
|
202799
202799
|
setTimeout(() => {
|
|
202800
|
-
for (const
|
|
202800
|
+
for (const item of chagedSource) {
|
|
202801
|
+
const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
|
|
202801
202802
|
|
|
202802
|
-
console.log(
|
|
202803
|
+
console.log(type, diffData);
|
|
202803
202804
|
|
|
202804
|
-
const tabPage =
|
|
202805
|
+
const tabPage = this.shadowRoot.querySelector(`nx-tab-page[caption='${type}']`);
|
|
202805
202806
|
console.log(tabPage);
|
|
202806
202807
|
if (!tabPage) continue;
|
|
202807
202808
|
|
|
202808
|
-
const diff =
|
|
202809
|
+
const diff = tabPage.querySelector("ide-diff");
|
|
202809
202810
|
console.log(diff);
|
|
202810
202811
|
if (!diff) continue;
|
|
202811
202812
|
|
|
202812
|
-
diff.initialize(
|
|
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,24 +42,30 @@ class IdeDiffPopup extends HTMLElement
|
|
|
42
42
|
console.log(chagedSource);
|
|
43
43
|
|
|
44
44
|
setTimeout(() => {
|
|
45
|
-
for (const
|
|
45
|
+
for (const item of chagedSource) {
|
|
46
|
+
const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
|
|
46
47
|
|
|
47
|
-
console.log(
|
|
48
|
+
console.log(type, diffData);
|
|
48
49
|
|
|
49
|
-
const tabPage =
|
|
50
|
+
const tabPage = this.shadowRoot.querySelector(`nx-tab-page[caption='${type}']`);
|
|
50
51
|
console.log(tabPage);
|
|
51
52
|
if (!tabPage) continue;
|
|
52
53
|
|
|
53
|
-
const diff =
|
|
54
|
+
const diff = tabPage.querySelector("ide-diff");
|
|
54
55
|
console.log(diff);
|
|
55
56
|
if (!diff) continue;
|
|
56
57
|
|
|
57
|
-
diff.initialize(
|
|
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
|
@@ -42,24 +42,30 @@ class IdeDiffPopup extends HTMLElement
|
|
|
42
42
|
console.log(chagedSource);
|
|
43
43
|
|
|
44
44
|
setTimeout(() => {
|
|
45
|
-
for (const
|
|
45
|
+
for (const item of chagedSource) {
|
|
46
|
+
const [type, diffData] = Object.entries(item)[0]; // 예: type = "mybatis", diffData = { asis, tobe }
|
|
46
47
|
|
|
47
|
-
console.log(
|
|
48
|
+
console.log(type, diffData);
|
|
48
49
|
|
|
49
|
-
const tabPage =
|
|
50
|
+
const tabPage = this.shadowRoot.querySelector(`nx-tab-page[caption='${type}']`);
|
|
50
51
|
console.log(tabPage);
|
|
51
52
|
if (!tabPage) continue;
|
|
52
53
|
|
|
53
|
-
const diff =
|
|
54
|
+
const diff = tabPage.querySelector("ide-diff");
|
|
54
55
|
console.log(diff);
|
|
55
56
|
if (!diff) continue;
|
|
56
57
|
|
|
57
|
-
diff.initialize(
|
|
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
|
|