ide-assi 0.372.0 → 0.374.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 +4 -31
- package/dist/bundle.esm.js +4 -31
- package/dist/components/ideDiff.js +4 -31
- package/package.json +1 -1
- package/src/components/ideDiff.js +4 -31
package/dist/bundle.cjs.js
CHANGED
|
@@ -234831,35 +234831,6 @@ class IdeDiff extends HTMLElement {
|
|
|
234831
234831
|
/* ninegrid CSS 및 필요한 기본 스타일 (변동 없음) */
|
|
234832
234832
|
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideDiff.css";
|
|
234833
234833
|
${ninegrid.getCustomPath(this, "ideDiff.css")}
|
|
234834
|
-
|
|
234835
|
-
/* CodeMirror를 위한 기본적인 Flexbox 레이아웃 (변동 없음) */
|
|
234836
|
-
.wrapper {
|
|
234837
|
-
display: flex;
|
|
234838
|
-
width: 100%;
|
|
234839
|
-
height: 100%;
|
|
234840
|
-
overflow: hidden;
|
|
234841
|
-
}
|
|
234842
|
-
.panel {
|
|
234843
|
-
flex: 1;
|
|
234844
|
-
overflow: hidden;
|
|
234845
|
-
min-width: 0;
|
|
234846
|
-
}
|
|
234847
|
-
.cm-editor {
|
|
234848
|
-
height: 100%;
|
|
234849
|
-
}
|
|
234850
|
-
|
|
234851
|
-
/* Diff 시각화를 위한 CSS 클래스 (변동 없음) */
|
|
234852
|
-
.cm-inserted-line-bg { background-color: #e6ffe6; }
|
|
234853
|
-
.cm-deleted-line-bg { background-color: #ffe6e6; }
|
|
234854
|
-
.cm-inserted-inline {
|
|
234855
|
-
background-color: #90ee90;
|
|
234856
|
-
font-weight: bold;
|
|
234857
|
-
}
|
|
234858
|
-
.cm-deleted-inline {
|
|
234859
|
-
background-color: #ff9999;
|
|
234860
|
-
text-decoration: line-through;
|
|
234861
|
-
font-weight: bold;
|
|
234862
|
-
}
|
|
234863
234834
|
</style>
|
|
234864
234835
|
|
|
234865
234836
|
<div class="wrapper">
|
|
@@ -235012,11 +234983,12 @@ class IdeDiff extends HTMLElement {
|
|
|
235012
234983
|
|
|
235013
234984
|
switch (op) {
|
|
235014
234985
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT: // Added text
|
|
234986
|
+
/**
|
|
235015
234987
|
tobeMarkDecos.push({
|
|
235016
234988
|
from: tobeCursor,
|
|
235017
234989
|
to: tobeCursor + len,
|
|
235018
234990
|
deco: Decoration.mark({ class: "cm-inserted-inline" })
|
|
235019
|
-
});
|
|
234991
|
+
}); */
|
|
235020
234992
|
|
|
235021
234993
|
let currentTobeLineOffset = tobeCursor;
|
|
235022
234994
|
const tobeLines = text.split('\n');
|
|
@@ -235039,11 +235011,12 @@ class IdeDiff extends HTMLElement {
|
|
|
235039
235011
|
break;
|
|
235040
235012
|
|
|
235041
235013
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE: // Deleted text
|
|
235014
|
+
/**
|
|
235042
235015
|
asisMarkDecos.push({
|
|
235043
235016
|
from: asisCursor,
|
|
235044
235017
|
to: asisCursor + len,
|
|
235045
235018
|
deco: Decoration.mark({ class: "cm-deleted-inline" })
|
|
235046
|
-
});
|
|
235019
|
+
}); */
|
|
235047
235020
|
|
|
235048
235021
|
let currentAsisLineOffset = asisCursor;
|
|
235049
235022
|
const asisLines = text.split('\n');
|
package/dist/bundle.esm.js
CHANGED
|
@@ -234827,35 +234827,6 @@ class IdeDiff extends HTMLElement {
|
|
|
234827
234827
|
/* ninegrid CSS 및 필요한 기본 스타일 (변동 없음) */
|
|
234828
234828
|
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideDiff.css";
|
|
234829
234829
|
${ninegrid.getCustomPath(this, "ideDiff.css")}
|
|
234830
|
-
|
|
234831
|
-
/* CodeMirror를 위한 기본적인 Flexbox 레이아웃 (변동 없음) */
|
|
234832
|
-
.wrapper {
|
|
234833
|
-
display: flex;
|
|
234834
|
-
width: 100%;
|
|
234835
|
-
height: 100%;
|
|
234836
|
-
overflow: hidden;
|
|
234837
|
-
}
|
|
234838
|
-
.panel {
|
|
234839
|
-
flex: 1;
|
|
234840
|
-
overflow: hidden;
|
|
234841
|
-
min-width: 0;
|
|
234842
|
-
}
|
|
234843
|
-
.cm-editor {
|
|
234844
|
-
height: 100%;
|
|
234845
|
-
}
|
|
234846
|
-
|
|
234847
|
-
/* Diff 시각화를 위한 CSS 클래스 (변동 없음) */
|
|
234848
|
-
.cm-inserted-line-bg { background-color: #e6ffe6; }
|
|
234849
|
-
.cm-deleted-line-bg { background-color: #ffe6e6; }
|
|
234850
|
-
.cm-inserted-inline {
|
|
234851
|
-
background-color: #90ee90;
|
|
234852
|
-
font-weight: bold;
|
|
234853
|
-
}
|
|
234854
|
-
.cm-deleted-inline {
|
|
234855
|
-
background-color: #ff9999;
|
|
234856
|
-
text-decoration: line-through;
|
|
234857
|
-
font-weight: bold;
|
|
234858
|
-
}
|
|
234859
234830
|
</style>
|
|
234860
234831
|
|
|
234861
234832
|
<div class="wrapper">
|
|
@@ -235008,11 +234979,12 @@ class IdeDiff extends HTMLElement {
|
|
|
235008
234979
|
|
|
235009
234980
|
switch (op) {
|
|
235010
234981
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT: // Added text
|
|
234982
|
+
/**
|
|
235011
234983
|
tobeMarkDecos.push({
|
|
235012
234984
|
from: tobeCursor,
|
|
235013
234985
|
to: tobeCursor + len,
|
|
235014
234986
|
deco: Decoration.mark({ class: "cm-inserted-inline" })
|
|
235015
|
-
});
|
|
234987
|
+
}); */
|
|
235016
234988
|
|
|
235017
234989
|
let currentTobeLineOffset = tobeCursor;
|
|
235018
234990
|
const tobeLines = text.split('\n');
|
|
@@ -235035,11 +235007,12 @@ class IdeDiff extends HTMLElement {
|
|
|
235035
235007
|
break;
|
|
235036
235008
|
|
|
235037
235009
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE: // Deleted text
|
|
235010
|
+
/**
|
|
235038
235011
|
asisMarkDecos.push({
|
|
235039
235012
|
from: asisCursor,
|
|
235040
235013
|
to: asisCursor + len,
|
|
235041
235014
|
deco: Decoration.mark({ class: "cm-deleted-inline" })
|
|
235042
|
-
});
|
|
235015
|
+
}); */
|
|
235043
235016
|
|
|
235044
235017
|
let currentAsisLineOffset = asisCursor;
|
|
235045
235018
|
const asisLines = text.split('\n');
|
|
@@ -79,35 +79,6 @@ export class IdeDiff extends HTMLElement {
|
|
|
79
79
|
/* ninegrid CSS 및 필요한 기본 스타일 (변동 없음) */
|
|
80
80
|
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideDiff.css";
|
|
81
81
|
${ninegrid.getCustomPath(this, "ideDiff.css")}
|
|
82
|
-
|
|
83
|
-
/* CodeMirror를 위한 기본적인 Flexbox 레이아웃 (변동 없음) */
|
|
84
|
-
.wrapper {
|
|
85
|
-
display: flex;
|
|
86
|
-
width: 100%;
|
|
87
|
-
height: 100%;
|
|
88
|
-
overflow: hidden;
|
|
89
|
-
}
|
|
90
|
-
.panel {
|
|
91
|
-
flex: 1;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
min-width: 0;
|
|
94
|
-
}
|
|
95
|
-
.cm-editor {
|
|
96
|
-
height: 100%;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* Diff 시각화를 위한 CSS 클래스 (변동 없음) */
|
|
100
|
-
.cm-inserted-line-bg { background-color: #e6ffe6; }
|
|
101
|
-
.cm-deleted-line-bg { background-color: #ffe6e6; }
|
|
102
|
-
.cm-inserted-inline {
|
|
103
|
-
background-color: #90ee90;
|
|
104
|
-
font-weight: bold;
|
|
105
|
-
}
|
|
106
|
-
.cm-deleted-inline {
|
|
107
|
-
background-color: #ff9999;
|
|
108
|
-
text-decoration: line-through;
|
|
109
|
-
font-weight: bold;
|
|
110
|
-
}
|
|
111
82
|
</style>
|
|
112
83
|
|
|
113
84
|
<div class="wrapper">
|
|
@@ -260,11 +231,12 @@ export class IdeDiff extends HTMLElement {
|
|
|
260
231
|
|
|
261
232
|
switch (op) {
|
|
262
233
|
case diff_match_patch.DIFF_INSERT: // Added text
|
|
234
|
+
/**
|
|
263
235
|
tobeMarkDecos.push({
|
|
264
236
|
from: tobeCursor,
|
|
265
237
|
to: tobeCursor + len,
|
|
266
238
|
deco: Decoration.mark({ class: "cm-inserted-inline" })
|
|
267
|
-
});
|
|
239
|
+
}); */
|
|
268
240
|
|
|
269
241
|
let currentTobeLineOffset = tobeCursor;
|
|
270
242
|
const tobeLines = text.split('\n');
|
|
@@ -287,11 +259,12 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
259
|
break;
|
|
288
260
|
|
|
289
261
|
case diff_match_patch.DIFF_DELETE: // Deleted text
|
|
262
|
+
/**
|
|
290
263
|
asisMarkDecos.push({
|
|
291
264
|
from: asisCursor,
|
|
292
265
|
to: asisCursor + len,
|
|
293
266
|
deco: Decoration.mark({ class: "cm-deleted-inline" })
|
|
294
|
-
});
|
|
267
|
+
}); */
|
|
295
268
|
|
|
296
269
|
let currentAsisLineOffset = asisCursor;
|
|
297
270
|
const asisLines = text.split('\n');
|
package/package.json
CHANGED
|
@@ -79,35 +79,6 @@ export class IdeDiff extends HTMLElement {
|
|
|
79
79
|
/* ninegrid CSS 및 필요한 기본 스타일 (변동 없음) */
|
|
80
80
|
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ideDiff.css";
|
|
81
81
|
${ninegrid.getCustomPath(this, "ideDiff.css")}
|
|
82
|
-
|
|
83
|
-
/* CodeMirror를 위한 기본적인 Flexbox 레이아웃 (변동 없음) */
|
|
84
|
-
.wrapper {
|
|
85
|
-
display: flex;
|
|
86
|
-
width: 100%;
|
|
87
|
-
height: 100%;
|
|
88
|
-
overflow: hidden;
|
|
89
|
-
}
|
|
90
|
-
.panel {
|
|
91
|
-
flex: 1;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
min-width: 0;
|
|
94
|
-
}
|
|
95
|
-
.cm-editor {
|
|
96
|
-
height: 100%;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* Diff 시각화를 위한 CSS 클래스 (변동 없음) */
|
|
100
|
-
.cm-inserted-line-bg { background-color: #e6ffe6; }
|
|
101
|
-
.cm-deleted-line-bg { background-color: #ffe6e6; }
|
|
102
|
-
.cm-inserted-inline {
|
|
103
|
-
background-color: #90ee90;
|
|
104
|
-
font-weight: bold;
|
|
105
|
-
}
|
|
106
|
-
.cm-deleted-inline {
|
|
107
|
-
background-color: #ff9999;
|
|
108
|
-
text-decoration: line-through;
|
|
109
|
-
font-weight: bold;
|
|
110
|
-
}
|
|
111
82
|
</style>
|
|
112
83
|
|
|
113
84
|
<div class="wrapper">
|
|
@@ -260,11 +231,12 @@ export class IdeDiff extends HTMLElement {
|
|
|
260
231
|
|
|
261
232
|
switch (op) {
|
|
262
233
|
case diff_match_patch.DIFF_INSERT: // Added text
|
|
234
|
+
/**
|
|
263
235
|
tobeMarkDecos.push({
|
|
264
236
|
from: tobeCursor,
|
|
265
237
|
to: tobeCursor + len,
|
|
266
238
|
deco: Decoration.mark({ class: "cm-inserted-inline" })
|
|
267
|
-
});
|
|
239
|
+
}); */
|
|
268
240
|
|
|
269
241
|
let currentTobeLineOffset = tobeCursor;
|
|
270
242
|
const tobeLines = text.split('\n');
|
|
@@ -287,11 +259,12 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
259
|
break;
|
|
288
260
|
|
|
289
261
|
case diff_match_patch.DIFF_DELETE: // Deleted text
|
|
262
|
+
/**
|
|
290
263
|
asisMarkDecos.push({
|
|
291
264
|
from: asisCursor,
|
|
292
265
|
to: asisCursor + len,
|
|
293
266
|
deco: Decoration.mark({ class: "cm-deleted-inline" })
|
|
294
|
-
});
|
|
267
|
+
}); */
|
|
295
268
|
|
|
296
269
|
let currentAsisLineOffset = asisCursor;
|
|
297
270
|
const asisLines = text.split('\n');
|