ide-assi 0.439.0 → 0.440.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
CHANGED
|
@@ -234919,7 +234919,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
234919
234919
|
|
|
234920
234920
|
button.addEventListener("click", () => {
|
|
234921
234921
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
234922
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
234922
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
234923
234923
|
console.log("대상 범위:", this.diffRange);
|
|
234924
234924
|
|
|
234925
234925
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -234974,6 +234974,9 @@ class IdeDiff extends HTMLElement {
|
|
|
234974
234974
|
_asisScrollHandler = null;
|
|
234975
234975
|
_tobeScrollHandler = null;
|
|
234976
234976
|
|
|
234977
|
+
get asisEditorView() {
|
|
234978
|
+
return this.#asisEditorView;
|
|
234979
|
+
};
|
|
234977
234980
|
|
|
234978
234981
|
constructor() {
|
|
234979
234982
|
super();
|
package/dist/bundle.esm.js
CHANGED
|
@@ -234915,7 +234915,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
234915
234915
|
|
|
234916
234916
|
button.addEventListener("click", () => {
|
|
234917
234917
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
234918
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
234918
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
234919
234919
|
console.log("대상 범위:", this.diffRange);
|
|
234920
234920
|
|
|
234921
234921
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -234970,6 +234970,9 @@ class IdeDiff extends HTMLElement {
|
|
|
234970
234970
|
_asisScrollHandler = null;
|
|
234971
234971
|
_tobeScrollHandler = null;
|
|
234972
234972
|
|
|
234973
|
+
get asisEditorView() {
|
|
234974
|
+
return this.#asisEditorView;
|
|
234975
|
+
};
|
|
234973
234976
|
|
|
234974
234977
|
constructor() {
|
|
234975
234978
|
super();
|
|
@@ -115,7 +115,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
115
115
|
|
|
116
116
|
button.addEventListener("click", () => {
|
|
117
117
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
118
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
118
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
119
119
|
console.log("대상 범위:", this.diffRange);
|
|
120
120
|
|
|
121
121
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -170,6 +170,9 @@ export class IdeDiff extends HTMLElement {
|
|
|
170
170
|
_asisScrollHandler = null;
|
|
171
171
|
_tobeScrollHandler = null;
|
|
172
172
|
|
|
173
|
+
get asisEditorView() {
|
|
174
|
+
return this.#asisEditorView;
|
|
175
|
+
};
|
|
173
176
|
|
|
174
177
|
constructor() {
|
|
175
178
|
super();
|
package/package.json
CHANGED
|
@@ -115,7 +115,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
115
115
|
|
|
116
116
|
button.addEventListener("click", () => {
|
|
117
117
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
118
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
118
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
119
119
|
console.log("대상 범위:", this.diffRange);
|
|
120
120
|
|
|
121
121
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -170,6 +170,9 @@ export class IdeDiff extends HTMLElement {
|
|
|
170
170
|
_asisScrollHandler = null;
|
|
171
171
|
_tobeScrollHandler = null;
|
|
172
172
|
|
|
173
|
+
get asisEditorView() {
|
|
174
|
+
return this.#asisEditorView;
|
|
175
|
+
};
|
|
173
176
|
|
|
174
177
|
constructor() {
|
|
175
178
|
super();
|