ide-assi 0.437.0 → 0.438.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
|
@@ -234889,7 +234889,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
234889
234889
|
// 클릭 이벤트 핸들러
|
|
234890
234890
|
button.addEventListener("click", () => {
|
|
234891
234891
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
234892
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
234892
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
234893
234893
|
console.log("대상 범위:", this.diffRange);
|
|
234894
234894
|
|
|
234895
234895
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -234939,11 +234939,17 @@ class IdeDiff extends HTMLElement {
|
|
|
234939
234939
|
_tobeScrollHandler = null;
|
|
234940
234940
|
|
|
234941
234941
|
|
|
234942
|
+
get asisEditorView() {
|
|
234943
|
+
return this.#asisEditorView;
|
|
234944
|
+
};
|
|
234945
|
+
|
|
234942
234946
|
constructor() {
|
|
234943
234947
|
super();
|
|
234944
234948
|
this.attachShadow({ mode: 'open' });
|
|
234945
234949
|
}
|
|
234946
234950
|
|
|
234951
|
+
|
|
234952
|
+
|
|
234947
234953
|
connectedCallback() {
|
|
234948
234954
|
this.shadowRoot.innerHTML = `
|
|
234949
234955
|
<style>
|
package/dist/bundle.esm.js
CHANGED
|
@@ -234885,7 +234885,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
234885
234885
|
// 클릭 이벤트 핸들러
|
|
234886
234886
|
button.addEventListener("click", () => {
|
|
234887
234887
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
234888
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
234888
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
234889
234889
|
console.log("대상 범위:", this.diffRange);
|
|
234890
234890
|
|
|
234891
234891
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -234935,11 +234935,17 @@ class IdeDiff extends HTMLElement {
|
|
|
234935
234935
|
_tobeScrollHandler = null;
|
|
234936
234936
|
|
|
234937
234937
|
|
|
234938
|
+
get asisEditorView() {
|
|
234939
|
+
return this.#asisEditorView;
|
|
234940
|
+
};
|
|
234941
|
+
|
|
234938
234942
|
constructor() {
|
|
234939
234943
|
super();
|
|
234940
234944
|
this.attachShadow({ mode: 'open' });
|
|
234941
234945
|
}
|
|
234942
234946
|
|
|
234947
|
+
|
|
234948
|
+
|
|
234943
234949
|
connectedCallback() {
|
|
234944
234950
|
this.shadowRoot.innerHTML = `
|
|
234945
234951
|
<style>
|
|
@@ -85,7 +85,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
85
85
|
// 클릭 이벤트 핸들러
|
|
86
86
|
button.addEventListener("click", () => {
|
|
87
87
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
88
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
88
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
89
89
|
console.log("대상 범위:", this.diffRange);
|
|
90
90
|
|
|
91
91
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -135,11 +135,17 @@ export class IdeDiff extends HTMLElement {
|
|
|
135
135
|
_tobeScrollHandler = null;
|
|
136
136
|
|
|
137
137
|
|
|
138
|
+
get asisEditorView() {
|
|
139
|
+
return this.#asisEditorView;
|
|
140
|
+
};
|
|
141
|
+
|
|
138
142
|
constructor() {
|
|
139
143
|
super();
|
|
140
144
|
this.attachShadow({ mode: 'open' });
|
|
141
145
|
}
|
|
142
146
|
|
|
147
|
+
|
|
148
|
+
|
|
143
149
|
connectedCallback() {
|
|
144
150
|
this.shadowRoot.innerHTML = `
|
|
145
151
|
<style>
|
package/package.json
CHANGED
|
@@ -85,7 +85,7 @@ class MergeButtonWidget extends WidgetType {
|
|
|
85
85
|
// 클릭 이벤트 핸들러
|
|
86
86
|
button.addEventListener("click", () => {
|
|
87
87
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
88
|
-
console.log("대상 에디터:", this.targetEditorView === this.hostComponent
|
|
88
|
+
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.asisEditorView ? "ASIS" : "TOBE");
|
|
89
89
|
console.log("대상 범위:", this.diffRange);
|
|
90
90
|
|
|
91
91
|
this.applyChanges(this.textToApply, this.targetEditorView, this.diffRange);
|
|
@@ -135,11 +135,17 @@ export class IdeDiff extends HTMLElement {
|
|
|
135
135
|
_tobeScrollHandler = null;
|
|
136
136
|
|
|
137
137
|
|
|
138
|
+
get asisEditorView() {
|
|
139
|
+
return this.#asisEditorView;
|
|
140
|
+
};
|
|
141
|
+
|
|
138
142
|
constructor() {
|
|
139
143
|
super();
|
|
140
144
|
this.attachShadow({ mode: 'open' });
|
|
141
145
|
}
|
|
142
146
|
|
|
147
|
+
|
|
148
|
+
|
|
143
149
|
connectedCallback() {
|
|
144
150
|
this.shadowRoot.innerHTML = `
|
|
145
151
|
<style>
|