ide-assi 0.437.0 → 0.439.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 +95 -101
- package/dist/bundle.esm.js +95 -101
- package/dist/components/ideDiff.js +95 -101
- package/package.json +1 -1
- package/src/components/ideDiff.js +95 -101
package/dist/bundle.cjs.js
CHANGED
|
@@ -234828,6 +234828,10 @@ var diffMatchPatchExports = requireDiffMatchPatch();
|
|
|
234828
234828
|
const setAsisDecorationsEffect = StateEffect.define();
|
|
234829
234829
|
const setTobeDecorationsEffect = StateEffect.define();
|
|
234830
234830
|
|
|
234831
|
+
// --- 버튼 데코레이션을 위한 새로운 StateEffect 정의 ---
|
|
234832
|
+
const setAsisButtonDecorationsEffect = StateEffect.define();
|
|
234833
|
+
const setTobeButtonDecorationsEffect = StateEffect.define();
|
|
234834
|
+
|
|
234831
234835
|
// --- Diff 데코레이션을 위한 StateField 정의 ---
|
|
234832
234836
|
const asisDiffDecorations = StateField.define({
|
|
234833
234837
|
create() {
|
|
@@ -234861,32 +234865,58 @@ const tobeDiffDecorations = StateField.define({
|
|
|
234861
234865
|
provide: f => EditorView.decorations.from(f)
|
|
234862
234866
|
});
|
|
234863
234867
|
|
|
234868
|
+
// --- 버튼 데코레이션을 위한 새로운 StateField 정의 ---
|
|
234869
|
+
const asisButtonDecorations = StateField.define({
|
|
234870
|
+
create() {
|
|
234871
|
+
return Decoration.none;
|
|
234872
|
+
},
|
|
234873
|
+
update(decorations, tr) {
|
|
234874
|
+
decorations = decorations.map(tr.changes);
|
|
234875
|
+
for (let effect of tr.effects) {
|
|
234876
|
+
if (effect.is(setAsisButtonDecorationsEffect)) {
|
|
234877
|
+
return effect.value;
|
|
234878
|
+
}
|
|
234879
|
+
}
|
|
234880
|
+
return decorations;
|
|
234881
|
+
},
|
|
234882
|
+
provide: f => EditorView.decorations.from(f)
|
|
234883
|
+
});
|
|
234884
|
+
|
|
234885
|
+
const tobeButtonDecorations = StateField.define({
|
|
234886
|
+
create() {
|
|
234887
|
+
return Decoration.none;
|
|
234888
|
+
},
|
|
234889
|
+
update(decorations, tr) {
|
|
234890
|
+
decorations = decorations.map(tr.changes);
|
|
234891
|
+
for (let effect of tr.effects) {
|
|
234892
|
+
if (effect.is(setTobeButtonDecorationsEffect)) {
|
|
234893
|
+
return effect.value;
|
|
234894
|
+
}
|
|
234895
|
+
}
|
|
234896
|
+
return decorations;
|
|
234897
|
+
},
|
|
234898
|
+
provide: f => EditorView.decorations.from(f)
|
|
234899
|
+
});
|
|
234900
|
+
|
|
234864
234901
|
|
|
234865
234902
|
// IdeDiff 클래스 외부 (파일 상단 or 하단)에 추가
|
|
234866
234903
|
class MergeButtonWidget extends WidgetType {
|
|
234867
|
-
// ⭐️ diffRange는 변경이 발생할 대상 에디터의 범위입니다.
|
|
234868
|
-
// ⭐️ isAsisButton: ASIS 에디터 쪽에 붙는 버튼인가? (true면 ASIS -> TOBE 적용)
|
|
234869
|
-
// ⭐️ isAsisButton이 false면 TOBE 에디터 쪽에 붙는 버튼 (TOBE -> ASIS 되돌리기)
|
|
234870
234904
|
constructor(isAsisButton, textToApply, targetEditorView, diffRange, hostComponent) {
|
|
234871
234905
|
super();
|
|
234872
|
-
this.isAsisButton = isAsisButton;
|
|
234873
|
-
this.textToApply = textToApply;
|
|
234874
|
-
this.targetEditorView = targetEditorView;
|
|
234875
|
-
this.diffRange = diffRange;
|
|
234876
|
-
this.hostComponent = hostComponent;
|
|
234906
|
+
this.isAsisButton = isAsisButton;
|
|
234907
|
+
this.textToApply = textToApply;
|
|
234908
|
+
this.targetEditorView = targetEditorView;
|
|
234909
|
+
this.diffRange = diffRange;
|
|
234910
|
+
this.hostComponent = hostComponent;
|
|
234877
234911
|
}
|
|
234878
234912
|
|
|
234879
|
-
// 위젯이 차지할 공간을 텍스트 줄에 할당할지 여부. false로 설정하여 버튼이 줄 사이에 끼어들지 않도록 함.
|
|
234880
234913
|
eq(other) { return false; }
|
|
234881
234914
|
|
|
234882
|
-
// 위젯의 DOM 요소를 생성합니다.
|
|
234883
234915
|
toDOM(view) {
|
|
234884
234916
|
const button = document.createElement("button");
|
|
234885
|
-
// 버튼 클래스 및 텍스트는 버튼의 위치(ASIS/TOBE)에 따라 결정됩니다.
|
|
234886
234917
|
button.className = `cm-merge-button ${this.isAsisButton ? 'accept' : 'revert'}`;
|
|
234887
|
-
button.textContent = this.isAsisButton ? "→ 적용" : "← 되돌리기";
|
|
234918
|
+
button.textContent = this.isAsisButton ? "→ 적용" : "← 되돌리기";
|
|
234888
234919
|
|
|
234889
|
-
// 클릭 이벤트 핸들러
|
|
234890
234920
|
button.addEventListener("click", () => {
|
|
234891
234921
|
console.log(`버튼 클릭: ${this.isAsisButton ? 'ASIS -> TOBE' : 'TOBE -> ASIS'}`, this.textToApply);
|
|
234892
234922
|
console.log("대상 에디터:", this.targetEditorView === this.hostComponent.#asisEditorView ? "ASIS" : "TOBE");
|
|
@@ -234901,13 +234931,22 @@ class MergeButtonWidget extends WidgetType {
|
|
|
234901
234931
|
return container;
|
|
234902
234932
|
}
|
|
234903
234933
|
|
|
234904
|
-
// 실제 변경 적용 로직
|
|
234905
234934
|
applyChanges(text, editorView, range) {
|
|
234906
234935
|
if (!editorView || !range) {
|
|
234907
234936
|
console.error("Target editor view or range is undefined.", editorView, range);
|
|
234908
234937
|
return;
|
|
234909
234938
|
}
|
|
234910
234939
|
|
|
234940
|
+
// 특정 줄의 시작 오프셋과 끝 오프셋을 정확히 계산하여 적용해야 합니다.
|
|
234941
|
+
// 현재 로직은 단순 치환이므로 Diff 유형에 따라 복잡해질 수 있습니다.
|
|
234942
|
+
// 예를 들어, TOBE에 삽입된 내용을 ASIS에서 되돌릴 경우, ASIS에서 해당 내용 길이만큼의 공백을 지워야 합니다.
|
|
234943
|
+
// ASIS에서 삭제된 내용을 TOBE에 적용할 경우, TOBE의 해당 위치에 내용을 삽입해야 합니다.
|
|
234944
|
+
|
|
234945
|
+
// CodeMirror의 Doc에서 특정 범위를 가져오는 것은 `state.sliceDoc(from, to)`
|
|
234946
|
+
// `dmp.diff_main`의 결과는 줄 단위로 매핑된 문자열이므로,
|
|
234947
|
+
// 실제 오프셋 계산 및 적용 로직은 더 정교해야 합니다.
|
|
234948
|
+
// 지금은 임시로 range.from, range.to를 사용합니다.
|
|
234949
|
+
|
|
234911
234950
|
editorView.dispatch({
|
|
234912
234951
|
changes: {
|
|
234913
234952
|
from: range.from,
|
|
@@ -234916,9 +234955,6 @@ class MergeButtonWidget extends WidgetType {
|
|
|
234916
234955
|
}
|
|
234917
234956
|
});
|
|
234918
234957
|
|
|
234919
|
-
// 변경 후 Diff를 다시 계산하고 데코레이션을 업데이트합니다.
|
|
234920
|
-
// requestAnimationFrame으로 감싸서 다음 렌더링 사이클에서 Diff 계산이 이루어지도록 합니다.
|
|
234921
|
-
// 이렇게 하면 UI 블로킹을 줄일 수 있습니다.
|
|
234922
234958
|
requestAnimationFrame(() => {
|
|
234923
234959
|
this.hostComponent.recalculateDiff();
|
|
234924
234960
|
});
|
|
@@ -234947,65 +234983,8 @@ class IdeDiff extends HTMLElement {
|
|
|
234947
234983
|
connectedCallback() {
|
|
234948
234984
|
this.shadowRoot.innerHTML = `
|
|
234949
234985
|
<style>
|
|
234950
|
-
/* ninegrid CSS 및 필요한 기본 스타일 */
|
|
234951
234986
|
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideDiff.css";
|
|
234952
234987
|
${ninegrid.getCustomPath(this, "ideDiff.css")}
|
|
234953
|
-
|
|
234954
|
-
/* --- 추가된 CSS 규칙 (버튼 및 선택 관련) --- */
|
|
234955
|
-
.cm-line {
|
|
234956
|
-
position: relative;
|
|
234957
|
-
}
|
|
234958
|
-
.cm-merge-button-container {
|
|
234959
|
-
position: absolute;
|
|
234960
|
-
right: 5px;
|
|
234961
|
-
top: 50%;
|
|
234962
|
-
transform: translateY(-50%);
|
|
234963
|
-
z-index: 10;
|
|
234964
|
-
display: flex;
|
|
234965
|
-
gap: 5px;
|
|
234966
|
-
}
|
|
234967
|
-
.cm-merge-button {
|
|
234968
|
-
background-color: #f0f0f0;
|
|
234969
|
-
border: 1px solid #ccc;
|
|
234970
|
-
border-radius: 3px;
|
|
234971
|
-
padding: 2px 6px;
|
|
234972
|
-
cursor: pointer;
|
|
234973
|
-
font-size: 0.8em;
|
|
234974
|
-
line-height: 1;
|
|
234975
|
-
white-space: nowrap;
|
|
234976
|
-
opacity: 0.7;
|
|
234977
|
-
transition: opacity 0.2s ease-in-out;
|
|
234978
|
-
}
|
|
234979
|
-
.cm-merge-button:hover {
|
|
234980
|
-
opacity: 1;
|
|
234981
|
-
background-color: #e0e0e0;
|
|
234982
|
-
}
|
|
234983
|
-
.cm-merge-button.accept {
|
|
234984
|
-
background-color: #4CAF50;
|
|
234985
|
-
color: white;
|
|
234986
|
-
border-color: #4CAF50;
|
|
234987
|
-
}
|
|
234988
|
-
.cm-merge-button.revert {
|
|
234989
|
-
background-color: #f44336;
|
|
234990
|
-
color: white;
|
|
234991
|
-
border-color: #f44336;
|
|
234992
|
-
}
|
|
234993
|
-
/* Diff 데코레이션 CSS (ideDiff.css에 없으면 여기에 추가) */
|
|
234994
|
-
.cm-inserted-line-bg { background-color: #e6ffed; border-left: 3px solid #66bb6a; }
|
|
234995
|
-
.cm-deleted-line-bg { background-color: #ffebe9; border-left: 3px solid #ef5350; }
|
|
234996
|
-
|
|
234997
|
-
/* CodeMirror 선택 스타일 (ideDiff.css에 없으면 여기에 추가) */
|
|
234998
|
-
.cm-selectionBackground {
|
|
234999
|
-
background-color: #d7d4f9 !important;
|
|
235000
|
-
}
|
|
235001
|
-
.cm-editor ::selection {
|
|
235002
|
-
background-color: #d7d4f9 !important;
|
|
235003
|
-
color: inherit !important;
|
|
235004
|
-
}
|
|
235005
|
-
.cm-editor::-moz-selection {
|
|
235006
|
-
background-color: #d7d4f9 !important;
|
|
235007
|
-
color: inherit !important;
|
|
235008
|
-
}
|
|
235009
234988
|
</style>
|
|
235010
234989
|
|
|
235011
234990
|
<div class="wrapper">
|
|
@@ -235062,22 +235041,22 @@ class IdeDiff extends HTMLElement {
|
|
|
235062
235041
|
...historyKeymap,
|
|
235063
235042
|
...lintKeymap,
|
|
235064
235043
|
...completionKeymap,
|
|
235065
|
-
indentWithTab,
|
|
235066
|
-
selectAll
|
|
235044
|
+
indentWithTab,
|
|
235045
|
+
selectAll
|
|
235067
235046
|
]),
|
|
235068
235047
|
syntaxHighlighting(defaultHighlightStyle),
|
|
235069
235048
|
autocompletion(),
|
|
235070
235049
|
];
|
|
235071
235050
|
|
|
235072
|
-
// ASIS 에디터 뷰 초기화
|
|
235073
235051
|
this.#asisEditorView = new EditorView({
|
|
235074
235052
|
state: EditorState.create({
|
|
235075
235053
|
doc: '',
|
|
235076
235054
|
extensions: [
|
|
235077
235055
|
basicExtensions,
|
|
235078
235056
|
this.#languageCompartment.of(javascript()),
|
|
235079
|
-
EditorState.readOnly.of(true),
|
|
235057
|
+
EditorState.readOnly.of(true),
|
|
235080
235058
|
asisDiffDecorations,
|
|
235059
|
+
asisButtonDecorations, // ⭐️ 새로운 StateField 추가
|
|
235081
235060
|
EditorView.updateListener.of((update) => {
|
|
235082
235061
|
if (update.view.contentDOM.firstChild && !update.view._initialAsisContentLoaded) {
|
|
235083
235062
|
update.view._initialAsisContentLoaded = true;
|
|
@@ -235089,15 +235068,14 @@ class IdeDiff extends HTMLElement {
|
|
|
235089
235068
|
parent: this.#asisEditorEl
|
|
235090
235069
|
});
|
|
235091
235070
|
|
|
235092
|
-
// TOBE 에디터 뷰 초기화
|
|
235093
235071
|
this.#tobeEditorView = new EditorView({
|
|
235094
235072
|
state: EditorState.create({
|
|
235095
235073
|
doc: '',
|
|
235096
235074
|
extensions: [
|
|
235097
235075
|
basicExtensions,
|
|
235098
235076
|
this.#languageCompartment.of(javascript()),
|
|
235099
|
-
// EditorState.readOnly.of(true), // TOBE는 편집 가능하도록 주석 처리 유지
|
|
235100
235077
|
tobeDiffDecorations,
|
|
235078
|
+
tobeButtonDecorations, // ⭐️ 새로운 StateField 추가
|
|
235101
235079
|
EditorView.updateListener.of((update) => {
|
|
235102
235080
|
if (update.view.contentDOM.firstChild && !update.view._initialTobeContentLoaded) {
|
|
235103
235081
|
update.view._initialTobeContentLoaded = true;
|
|
@@ -235159,13 +235137,15 @@ class IdeDiff extends HTMLElement {
|
|
|
235159
235137
|
dmp.diff_cleanupSemantic(diffs);
|
|
235160
235138
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
235161
235139
|
|
|
235162
|
-
console.log("Calculated Diffs:", diffs);
|
|
235140
|
+
console.log("Calculated Diffs:", diffs);
|
|
235163
235141
|
|
|
235164
235142
|
const asisLineBuilder = new RangeSetBuilder();
|
|
235165
235143
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
235144
|
+
const asisButtonBuilder = new RangeSetBuilder(); // ⭐️ 새로운 빌더
|
|
235145
|
+
const tobeButtonBuilder = new RangeSetBuilder(); // ⭐️ 새로운 빌더
|
|
235166
235146
|
|
|
235167
|
-
let asisCursor = 0;
|
|
235168
|
-
let tobeCursor = 0;
|
|
235147
|
+
let asisCursor = 0;
|
|
235148
|
+
let tobeCursor = 0;
|
|
235169
235149
|
|
|
235170
235150
|
const insertedLineDeco = Decoration.line({ class: "cm-inserted-line-bg" });
|
|
235171
235151
|
const deletedLineDeco = Decoration.line({ class: "cm-deleted-line-bg" });
|
|
@@ -235175,7 +235155,6 @@ class IdeDiff extends HTMLElement {
|
|
|
235175
235155
|
for (const [op, text] of diffs) {
|
|
235176
235156
|
const len = text.length;
|
|
235177
235157
|
|
|
235178
|
-
// 각 diff op 이전에 현재 커서 위치를 저장
|
|
235179
235158
|
const asisRangeStart = asisCursor;
|
|
235180
235159
|
const tobeRangeStart = tobeCursor;
|
|
235181
235160
|
|
|
@@ -235190,20 +235169,22 @@ class IdeDiff extends HTMLElement {
|
|
|
235190
235169
|
tobeCursor += tobeLines[i].length + (i < tobeLines.length - 1 ? 1 : 0);
|
|
235191
235170
|
}
|
|
235192
235171
|
|
|
235193
|
-
// ⭐️ TOBE 에디터에 버튼 추가: TOBE의 추가 내용을 ASIS로 '되돌리기' (ASIS에서
|
|
235194
|
-
//
|
|
235195
|
-
|
|
235172
|
+
// ⭐️ TOBE 에디터에 버튼 추가: TOBE의 추가 내용을 ASIS로 '되돌리기' (ASIS에서 제거)
|
|
235173
|
+
// TOBE의 해당 Diff가 끝나는 지점에 버튼을 붙이는 것이 자연스럽습니다.
|
|
235174
|
+
// tobeRangeStart는 Diff 청크의 시작 오프셋입니다.
|
|
235175
|
+
// 버튼을 Line Decoration과 같은 위치에 추가하되, 별도의 builder 사용
|
|
235176
|
+
tobeButtonBuilder.add(
|
|
235196
235177
|
tobeRangeStart, // TOBE에서의 해당 Diff 청크 시작 오프셋
|
|
235197
235178
|
tobeRangeStart,
|
|
235198
235179
|
Decoration.widget({
|
|
235199
235180
|
widget: new MergeButtonWidget(
|
|
235200
235181
|
false, // 이 버튼은 TOBE 에디터에 붙는 버튼 (되돌리기)
|
|
235201
|
-
"",
|
|
235182
|
+
"", // ASIS에서 해당 내용을 제거하므로 삽입할 텍스트는 없음 (즉, 삭제)
|
|
235202
235183
|
currentInstance.#asisEditorView, // 대상 에디터는 ASIS
|
|
235203
|
-
{ from: asisRangeStart, to: asisRangeStart +
|
|
235184
|
+
{ from: asisRangeStart, to: asisRangeStart + text.length }, // ASIS에서 '삭제될' 범위
|
|
235204
235185
|
currentInstance
|
|
235205
235186
|
),
|
|
235206
|
-
side: 1 // 텍스트 뒤에 삽입
|
|
235187
|
+
side: 1 // 텍스트 뒤에 삽입 (이전에 `side: -1`로 시도했다면 `-1`이 우선순위가 더 높습니다.)
|
|
235207
235188
|
})
|
|
235208
235189
|
);
|
|
235209
235190
|
break;
|
|
@@ -235218,9 +235199,8 @@ class IdeDiff extends HTMLElement {
|
|
|
235218
235199
|
asisCursor += asisLines[i].length + (i < asisLines.length - 1 ? 1 : 0);
|
|
235219
235200
|
}
|
|
235220
235201
|
|
|
235221
|
-
// ⭐️ ASIS 에디터에 버튼 추가: ASIS의 삭제 내용을 TOBE로 '적용' (TOBE에 삽입)
|
|
235222
|
-
|
|
235223
|
-
asisLineBuilder.add(
|
|
235202
|
+
// ⭐️ ASIS 에디터에 버튼 추가: ASIS의 삭제 내용을 TOBE로 '적용' (TOBE에 해당 내용 삽입)
|
|
235203
|
+
asisButtonBuilder.add(
|
|
235224
235204
|
asisRangeStart, // ASIS에서의 해당 Diff 청크 시작 오프셋
|
|
235225
235205
|
asisRangeStart,
|
|
235226
235206
|
Decoration.widget({
|
|
@@ -235228,7 +235208,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235228
235208
|
true, // 이 버튼은 ASIS 에디터에 붙는 버튼 (적용)
|
|
235229
235209
|
text, // ASIS에서 삭제된 내용을 TOBE에 삽입
|
|
235230
235210
|
currentInstance.#tobeEditorView, // 대상 에디터는 TOBE
|
|
235231
|
-
{ from: tobeRangeStart, to: tobeRangeStart + 0 }, // TOBE
|
|
235211
|
+
{ from: tobeRangeStart, to: tobeRangeStart + 0 }, // TOBE에서 '삽입될' 위치
|
|
235232
235212
|
currentInstance
|
|
235233
235213
|
),
|
|
235234
235214
|
side: 1 // 텍스트 뒤에 삽입
|
|
@@ -235245,7 +235225,9 @@ class IdeDiff extends HTMLElement {
|
|
|
235245
235225
|
|
|
235246
235226
|
return {
|
|
235247
235227
|
asisDecorations: asisLineBuilder.finish(),
|
|
235248
|
-
tobeDecorations: tobeLineBuilder.finish()
|
|
235228
|
+
tobeDecorations: tobeLineBuilder.finish(),
|
|
235229
|
+
asisButtonDecorations: asisButtonBuilder.finish(), // ⭐️ 추가 반환
|
|
235230
|
+
tobeButtonDecorations: tobeButtonBuilder.finish() // ⭐️ 추가 반환
|
|
235249
235231
|
};
|
|
235250
235232
|
};
|
|
235251
235233
|
|
|
@@ -235253,13 +235235,19 @@ class IdeDiff extends HTMLElement {
|
|
|
235253
235235
|
const asisDoc = this.#asisEditorView.state.doc.toString();
|
|
235254
235236
|
const tobeDoc = this.#tobeEditorView.state.doc.toString();
|
|
235255
235237
|
|
|
235256
|
-
const { asisDecorations, tobeDecorations } = this.#applyDiffDecorations(asisDoc, tobeDoc);
|
|
235238
|
+
const { asisDecorations, tobeDecorations, asisButtonDecorations, tobeButtonDecorations } = this.#applyDiffDecorations(asisDoc, tobeDoc);
|
|
235257
235239
|
|
|
235258
235240
|
this.#asisEditorView.dispatch({
|
|
235259
|
-
effects: [
|
|
235241
|
+
effects: [
|
|
235242
|
+
setAsisDecorationsEffect.of(asisDecorations),
|
|
235243
|
+
setAsisButtonDecorationsEffect.of(asisButtonDecorations) // ⭐️ Effect 추가
|
|
235244
|
+
]
|
|
235260
235245
|
});
|
|
235261
235246
|
this.#tobeEditorView.dispatch({
|
|
235262
|
-
effects: [
|
|
235247
|
+
effects: [
|
|
235248
|
+
setTobeDecorationsEffect.of(tobeDecorations),
|
|
235249
|
+
setTobeButtonDecorationsEffect.of(tobeButtonDecorations) // ⭐️ Effect 추가
|
|
235250
|
+
]
|
|
235263
235251
|
});
|
|
235264
235252
|
};
|
|
235265
235253
|
|
|
@@ -235295,13 +235283,19 @@ class IdeDiff extends HTMLElement {
|
|
|
235295
235283
|
});
|
|
235296
235284
|
|
|
235297
235285
|
requestAnimationFrame(() => {
|
|
235298
|
-
const { asisDecorations, tobeDecorations } = this.#applyDiffDecorations(src1, src2);
|
|
235286
|
+
const { asisDecorations, tobeDecorations, asisButtonDecorations, tobeButtonDecorations } = this.#applyDiffDecorations(src1, src2);
|
|
235299
235287
|
|
|
235300
235288
|
this.#asisEditorView.dispatch({
|
|
235301
|
-
effects: [
|
|
235289
|
+
effects: [
|
|
235290
|
+
setAsisDecorationsEffect.of(asisDecorations),
|
|
235291
|
+
setAsisButtonDecorationsEffect.of(asisButtonDecorations)
|
|
235292
|
+
]
|
|
235302
235293
|
});
|
|
235303
235294
|
this.#tobeEditorView.dispatch({
|
|
235304
|
-
effects: [
|
|
235295
|
+
effects: [
|
|
235296
|
+
setTobeDecorationsEffect.of(tobeDecorations),
|
|
235297
|
+
setTobeButtonDecorationsEffect.of(tobeButtonDecorations)
|
|
235298
|
+
]
|
|
235305
235299
|
});
|
|
235306
235300
|
|
|
235307
235301
|
requestAnimationFrame(() => {
|