ide-assi 0.419.0 → 0.421.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 +8 -27
- package/dist/bundle.esm.js +8 -27
- package/dist/components/ideAssi.js +2 -27
- package/dist/components/ideDiff.js +6 -0
- package/package.json +1 -1
- package/src/components/ideAssi.js +2 -27
- package/src/components/ideDiff.js +6 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -202196,31 +202196,6 @@ const DocManager = () => {
|
|
|
202196
202196
|
|
|
202197
202197
|
export default DocManager;
|
|
202198
202198
|
`;
|
|
202199
|
-
|
|
202200
|
-
src1 = `
|
|
202201
|
-
<tr>
|
|
202202
|
-
<th>No.</th>
|
|
202203
|
-
<th>문서ID</th>
|
|
202204
|
-
<th>매출액</th>
|
|
202205
|
-
<th>최종수정자</th>
|
|
202206
|
-
<th>문서명</th>
|
|
202207
|
-
<th>최초등록자</th>
|
|
202208
|
-
<th>최초등록일</th>
|
|
202209
|
-
<th>최종수정일</th>
|
|
202210
|
-
</tr>
|
|
202211
|
-
`;
|
|
202212
|
-
src2 = `
|
|
202213
|
-
<tr>
|
|
202214
|
-
<th>No.</th>
|
|
202215
|
-
<th>매출액</th>
|
|
202216
|
-
<th>문서ID</th>
|
|
202217
|
-
<th>최종수정자</th>
|
|
202218
|
-
<th>문서명</th>
|
|
202219
|
-
<th>최초등록자</th>
|
|
202220
|
-
<th>최초등록일</th>
|
|
202221
|
-
<th>최종수정일</th>
|
|
202222
|
-
</tr>
|
|
202223
|
-
`;
|
|
202224
202199
|
/**
|
|
202225
202200
|
src1 = `
|
|
202226
202201
|
<tr>
|
|
@@ -202238,14 +202213,14 @@ export default DocManager;
|
|
|
202238
202213
|
<tr>
|
|
202239
202214
|
<th>No.</th>
|
|
202240
202215
|
<th>매출액</th>
|
|
202241
|
-
<th>최종수정자</th>
|
|
202242
202216
|
<th>문서ID</th>
|
|
202217
|
+
<th>최종수정자</th>
|
|
202243
202218
|
<th>문서명</th>
|
|
202244
202219
|
<th>최초등록자</th>
|
|
202245
202220
|
<th>최초등록일</th>
|
|
202246
202221
|
<th>최종수정일</th>
|
|
202247
202222
|
</tr>
|
|
202248
|
-
|
|
202223
|
+
`; */
|
|
202249
202224
|
|
|
202250
202225
|
this.shadowRoot.querySelector("ide-diff-popup").popup(src1, src2);
|
|
202251
202226
|
|
|
@@ -235093,6 +235068,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235093
235068
|
|
|
235094
235069
|
switch (op) {
|
|
235095
235070
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235071
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235096
235072
|
const tobeLines = text.split('\n');
|
|
235097
235073
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235098
235074
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -235104,6 +235080,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235104
235080
|
break;
|
|
235105
235081
|
|
|
235106
235082
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE:
|
|
235083
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_DELETE, text);
|
|
235107
235084
|
const asisLines = text.split('\n');
|
|
235108
235085
|
for (let i = 0; i < asisLines.length; i++) {
|
|
235109
235086
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -235117,6 +235094,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235117
235094
|
asisCursor += len;
|
|
235118
235095
|
tobeCursor += len;
|
|
235119
235096
|
break;
|
|
235097
|
+
|
|
235098
|
+
default:
|
|
235099
|
+
console.log(op);
|
|
235100
|
+
break;
|
|
235120
235101
|
}
|
|
235121
235102
|
}
|
|
235122
235103
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202192,31 +202192,6 @@ const DocManager = () => {
|
|
|
202192
202192
|
|
|
202193
202193
|
export default DocManager;
|
|
202194
202194
|
`;
|
|
202195
|
-
|
|
202196
|
-
src1 = `
|
|
202197
|
-
<tr>
|
|
202198
|
-
<th>No.</th>
|
|
202199
|
-
<th>문서ID</th>
|
|
202200
|
-
<th>매출액</th>
|
|
202201
|
-
<th>최종수정자</th>
|
|
202202
|
-
<th>문서명</th>
|
|
202203
|
-
<th>최초등록자</th>
|
|
202204
|
-
<th>최초등록일</th>
|
|
202205
|
-
<th>최종수정일</th>
|
|
202206
|
-
</tr>
|
|
202207
|
-
`;
|
|
202208
|
-
src2 = `
|
|
202209
|
-
<tr>
|
|
202210
|
-
<th>No.</th>
|
|
202211
|
-
<th>매출액</th>
|
|
202212
|
-
<th>문서ID</th>
|
|
202213
|
-
<th>최종수정자</th>
|
|
202214
|
-
<th>문서명</th>
|
|
202215
|
-
<th>최초등록자</th>
|
|
202216
|
-
<th>최초등록일</th>
|
|
202217
|
-
<th>최종수정일</th>
|
|
202218
|
-
</tr>
|
|
202219
|
-
`;
|
|
202220
202195
|
/**
|
|
202221
202196
|
src1 = `
|
|
202222
202197
|
<tr>
|
|
@@ -202234,14 +202209,14 @@ export default DocManager;
|
|
|
202234
202209
|
<tr>
|
|
202235
202210
|
<th>No.</th>
|
|
202236
202211
|
<th>매출액</th>
|
|
202237
|
-
<th>최종수정자</th>
|
|
202238
202212
|
<th>문서ID</th>
|
|
202213
|
+
<th>최종수정자</th>
|
|
202239
202214
|
<th>문서명</th>
|
|
202240
202215
|
<th>최초등록자</th>
|
|
202241
202216
|
<th>최초등록일</th>
|
|
202242
202217
|
<th>최종수정일</th>
|
|
202243
202218
|
</tr>
|
|
202244
|
-
|
|
202219
|
+
`; */
|
|
202245
202220
|
|
|
202246
202221
|
this.shadowRoot.querySelector("ide-diff-popup").popup(src1, src2);
|
|
202247
202222
|
|
|
@@ -235089,6 +235064,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235089
235064
|
|
|
235090
235065
|
switch (op) {
|
|
235091
235066
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235067
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235092
235068
|
const tobeLines = text.split('\n');
|
|
235093
235069
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235094
235070
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -235100,6 +235076,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235100
235076
|
break;
|
|
235101
235077
|
|
|
235102
235078
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE:
|
|
235079
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_DELETE, text);
|
|
235103
235080
|
const asisLines = text.split('\n');
|
|
235104
235081
|
for (let i = 0; i < asisLines.length; i++) {
|
|
235105
235082
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -235113,6 +235090,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235113
235090
|
asisCursor += len;
|
|
235114
235091
|
tobeCursor += len;
|
|
235115
235092
|
break;
|
|
235093
|
+
|
|
235094
|
+
default:
|
|
235095
|
+
console.log(op);
|
|
235096
|
+
break;
|
|
235116
235097
|
}
|
|
235117
235098
|
}
|
|
235118
235099
|
|
|
@@ -466,31 +466,6 @@ const DocManager = () => {
|
|
|
466
466
|
|
|
467
467
|
export default DocManager;
|
|
468
468
|
`;
|
|
469
|
-
|
|
470
|
-
src1 = `
|
|
471
|
-
<tr>
|
|
472
|
-
<th>No.</th>
|
|
473
|
-
<th>문서ID</th>
|
|
474
|
-
<th>매출액</th>
|
|
475
|
-
<th>최종수정자</th>
|
|
476
|
-
<th>문서명</th>
|
|
477
|
-
<th>최초등록자</th>
|
|
478
|
-
<th>최초등록일</th>
|
|
479
|
-
<th>최종수정일</th>
|
|
480
|
-
</tr>
|
|
481
|
-
`;
|
|
482
|
-
src2 = `
|
|
483
|
-
<tr>
|
|
484
|
-
<th>No.</th>
|
|
485
|
-
<th>매출액</th>
|
|
486
|
-
<th>문서ID</th>
|
|
487
|
-
<th>최종수정자</th>
|
|
488
|
-
<th>문서명</th>
|
|
489
|
-
<th>최초등록자</th>
|
|
490
|
-
<th>최초등록일</th>
|
|
491
|
-
<th>최종수정일</th>
|
|
492
|
-
</tr>
|
|
493
|
-
`;
|
|
494
469
|
/**
|
|
495
470
|
src1 = `
|
|
496
471
|
<tr>
|
|
@@ -508,14 +483,14 @@ export default DocManager;
|
|
|
508
483
|
<tr>
|
|
509
484
|
<th>No.</th>
|
|
510
485
|
<th>매출액</th>
|
|
511
|
-
<th>최종수정자</th>
|
|
512
486
|
<th>문서ID</th>
|
|
487
|
+
<th>최종수정자</th>
|
|
513
488
|
<th>문서명</th>
|
|
514
489
|
<th>최초등록자</th>
|
|
515
490
|
<th>최초등록일</th>
|
|
516
491
|
<th>최종수정일</th>
|
|
517
492
|
</tr>
|
|
518
|
-
|
|
493
|
+
`; */
|
|
519
494
|
|
|
520
495
|
this.shadowRoot.querySelector("ide-diff-popup").popup(src1, src2);
|
|
521
496
|
|
|
@@ -276,6 +276,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
276
276
|
|
|
277
277
|
switch (op) {
|
|
278
278
|
case diff_match_patch.DIFF_INSERT:
|
|
279
|
+
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
279
280
|
const tobeLines = text.split('\n');
|
|
280
281
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
281
282
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -287,6 +288,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
288
|
break;
|
|
288
289
|
|
|
289
290
|
case diff_match_patch.DIFF_DELETE:
|
|
291
|
+
console.log(diff_match_patch.DIFF_DELETE, text);
|
|
290
292
|
const asisLines = text.split('\n');
|
|
291
293
|
for (let i = 0; i < asisLines.length; i++) {
|
|
292
294
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -300,6 +302,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
300
302
|
asisCursor += len;
|
|
301
303
|
tobeCursor += len;
|
|
302
304
|
break;
|
|
305
|
+
|
|
306
|
+
default:
|
|
307
|
+
console.log(op);
|
|
308
|
+
break;
|
|
303
309
|
}
|
|
304
310
|
}
|
|
305
311
|
|
package/package.json
CHANGED
|
@@ -466,31 +466,6 @@ const DocManager = () => {
|
|
|
466
466
|
|
|
467
467
|
export default DocManager;
|
|
468
468
|
`;
|
|
469
|
-
|
|
470
|
-
src1 = `
|
|
471
|
-
<tr>
|
|
472
|
-
<th>No.</th>
|
|
473
|
-
<th>문서ID</th>
|
|
474
|
-
<th>매출액</th>
|
|
475
|
-
<th>최종수정자</th>
|
|
476
|
-
<th>문서명</th>
|
|
477
|
-
<th>최초등록자</th>
|
|
478
|
-
<th>최초등록일</th>
|
|
479
|
-
<th>최종수정일</th>
|
|
480
|
-
</tr>
|
|
481
|
-
`;
|
|
482
|
-
src2 = `
|
|
483
|
-
<tr>
|
|
484
|
-
<th>No.</th>
|
|
485
|
-
<th>매출액</th>
|
|
486
|
-
<th>문서ID</th>
|
|
487
|
-
<th>최종수정자</th>
|
|
488
|
-
<th>문서명</th>
|
|
489
|
-
<th>최초등록자</th>
|
|
490
|
-
<th>최초등록일</th>
|
|
491
|
-
<th>최종수정일</th>
|
|
492
|
-
</tr>
|
|
493
|
-
`;
|
|
494
469
|
/**
|
|
495
470
|
src1 = `
|
|
496
471
|
<tr>
|
|
@@ -508,14 +483,14 @@ export default DocManager;
|
|
|
508
483
|
<tr>
|
|
509
484
|
<th>No.</th>
|
|
510
485
|
<th>매출액</th>
|
|
511
|
-
<th>최종수정자</th>
|
|
512
486
|
<th>문서ID</th>
|
|
487
|
+
<th>최종수정자</th>
|
|
513
488
|
<th>문서명</th>
|
|
514
489
|
<th>최초등록자</th>
|
|
515
490
|
<th>최초등록일</th>
|
|
516
491
|
<th>최종수정일</th>
|
|
517
492
|
</tr>
|
|
518
|
-
|
|
493
|
+
`; */
|
|
519
494
|
|
|
520
495
|
this.shadowRoot.querySelector("ide-diff-popup").popup(src1, src2);
|
|
521
496
|
|
|
@@ -276,6 +276,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
276
276
|
|
|
277
277
|
switch (op) {
|
|
278
278
|
case diff_match_patch.DIFF_INSERT:
|
|
279
|
+
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
279
280
|
const tobeLines = text.split('\n');
|
|
280
281
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
281
282
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -287,6 +288,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
288
|
break;
|
|
288
289
|
|
|
289
290
|
case diff_match_patch.DIFF_DELETE:
|
|
291
|
+
console.log(diff_match_patch.DIFF_DELETE, text);
|
|
290
292
|
const asisLines = text.split('\n');
|
|
291
293
|
for (let i = 0; i < asisLines.length; i++) {
|
|
292
294
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -300,6 +302,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
300
302
|
asisCursor += len;
|
|
301
303
|
tobeCursor += len;
|
|
302
304
|
break;
|
|
305
|
+
|
|
306
|
+
default:
|
|
307
|
+
console.log(op);
|
|
308
|
+
break;
|
|
303
309
|
}
|
|
304
310
|
}
|
|
305
311
|
|