kordoc 4.22.8 → 4.22.9
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/README.md +6 -5
- package/dist/{-V3MHVWUQ.js → -KJW567ZH.js} +11 -11
- package/dist/{chunk-ORFDIAP3.js → chunk-3MTKUEA7.js} +4 -4
- package/dist/{chunk-YSTWJWOY.js → chunk-55XTFFLH.js} +4 -4
- package/dist/{chunk-DUQJ7EBY.js → chunk-6LM4CAOF.js} +2 -2
- package/dist/{chunk-YDAGUSKH.js → chunk-7PBVL7NL.js} +2 -2
- package/dist/{chunk-GVRCO3KT.js → chunk-7RVYIPLH.js} +2 -2
- package/dist/{chunk-4OMXOT6T.js → chunk-AX3XT5Y7.js} +3 -3
- package/dist/{chunk-D7A5NKP3.js → chunk-AZUWSGMI.js} +2 -2
- package/dist/{chunk-5YXW5RLC.cjs → chunk-BTLQOIES.cjs} +23 -23
- package/dist/{chunk-5YXW5RLC.cjs.map → chunk-BTLQOIES.cjs.map} +1 -1
- package/dist/{chunk-KZSDBXWS.js → chunk-CKWCSQGW.js} +11 -11
- package/dist/{chunk-XZZ7WOCP.js → chunk-D44JWJPI.js} +2 -2
- package/dist/{chunk-Z5Z7HOER.js → chunk-DF6NB52F.js} +4 -4
- package/dist/{chunk-UDB4YKOP.cjs → chunk-EREKI4DD.cjs} +2 -2
- package/dist/{chunk-UDB4YKOP.cjs.map → chunk-EREKI4DD.cjs.map} +1 -1
- package/dist/{chunk-JNHUOGGQ.js → chunk-F6C4UO55.js} +2 -2
- package/dist/{chunk-K5UU73BA.js → chunk-MLTGRR6C.js} +2 -2
- package/dist/{chunk-YBD5XGFC.js → chunk-NT54LN6C.js} +32 -10
- package/dist/chunk-NT54LN6C.js.map +1 -0
- package/dist/{chunk-V7BK7IKP.js → chunk-OREE2GWG.js} +2 -2
- package/dist/{chunk-RAZJF5QW.cjs → chunk-Q3GZMZTK.cjs} +24 -24
- package/dist/{chunk-RAZJF5QW.cjs.map → chunk-Q3GZMZTK.cjs.map} +1 -1
- package/dist/{chunk-RNBU6S2X.js → chunk-R5TMMRVG.js} +2 -2
- package/dist/{chunk-LSOFR4R2.cjs → chunk-SO4ZYWYE.cjs} +6 -6
- package/dist/{chunk-LSOFR4R2.cjs.map → chunk-SO4ZYWYE.cjs.map} +1 -1
- package/dist/{chunk-5TYEUZGN.cjs → chunk-SU6ABNIX.cjs} +3 -3
- package/dist/{chunk-5TYEUZGN.cjs.map → chunk-SU6ABNIX.cjs.map} +1 -1
- package/dist/{chunk-P53VOW4B.js → chunk-UNFXTOU3.js} +3 -3
- package/dist/{chunk-JA4IIIEU.js → chunk-UPZISYRP.js} +2 -2
- package/dist/{chunk-TVCGPOCE.js → chunk-VH2QBIUA.js} +2 -2
- package/dist/{chunk-VGRTUHAU.js → chunk-VQ5DOQZO.js} +3 -3
- package/dist/{chunk-TDCHLOY6.cjs → chunk-VSH7EV3W.cjs} +3 -3
- package/dist/{chunk-TDCHLOY6.cjs.map → chunk-VSH7EV3W.cjs.map} +1 -1
- package/dist/{chunk-I6XE7VJQ.js → chunk-XSRXVLOL.js} +2 -2
- package/dist/{chunk-OXVNNCQQ.js → chunk-Z4SUS7JW.js} +2 -2
- package/dist/{chunk-P7UB5SMI.js → chunk-ZBUOPXGD.js} +2 -2
- package/dist/{chunk-LM3PI43Q.js → chunk-ZP6SRHAD.js} +2 -2
- package/dist/chunks-YCPWFWFT.js +10 -0
- package/dist/cli.js +30 -30
- package/dist/{formula-SPMFPBGU.js → formula-47QIFQ7V.js} +4 -4
- package/dist/{formula-HO2NNWVN.js → formula-GZEMCXLD.js} +3 -3
- package/dist/{formula-246A2T5B.cjs → formula-JCG77RAE.cjs} +9 -9
- package/dist/{formula-246A2T5B.cjs.map → formula-JCG77RAE.cjs.map} +1 -1
- package/dist/{image-ocr-G2UUJPBI.js → image-ocr-FAHJNFDG.js} +9 -9
- package/dist/{image-ocr-WSRZMXYM.js → image-ocr-HEKAORHV.js} +6 -6
- package/dist/{image-ocr-YRACG6TO.cjs → image-ocr-RTS5BZRM.cjs} +17 -17
- package/dist/{image-ocr-YRACG6TO.cjs.map → image-ocr-RTS5BZRM.cjs.map} +1 -1
- package/dist/index.cjs +350 -328
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +32 -10
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +22 -22
- package/dist/{model-bundle-CJACYVVC.js → model-bundle-IN3RQ52S.js} +5 -5
- package/dist/{models-HGIMOYGX.js → models-FHSKU7WB.js} +5 -5
- package/dist/{parse-worker-v2-7GQJ5IGY.js → parse-worker-v2-I3A77UZB.js} +12 -12
- package/dist/{parser-Q3W25PYR.cjs → parser-A4SIJK2I.cjs} +157 -157
- package/dist/{parser-Q3W25PYR.cjs.map → parser-A4SIJK2I.cjs.map} +1 -1
- package/dist/{parser-23M44GFD.js → parser-JDLV2EI4.js} +12 -12
- package/dist/{parser-TW2QXVZR.js → parser-ZLZRQLZU.js} +9 -9
- package/dist/pdf-ocr-MKSW5GJ7.cjs +31 -0
- package/dist/{pdf-ocr-RAJ33NDH.cjs.map → pdf-ocr-MKSW5GJ7.cjs.map} +1 -1
- package/dist/{pdf-ocr-RZR2VPQD.js → pdf-ocr-SJKJ7JT7.js} +6 -6
- package/dist/{pdf-ocr-DHVUQ4H2.js → pdf-ocr-VIEII6TD.js} +9 -9
- package/dist/{profile-io-TP5LYMSB.js → profile-io-ZPCTNRBM.js} +3 -3
- package/dist/{rasterize-RENNLGB3.js → rasterize-QT7IPC27.js} +3 -3
- package/dist/{redact-doc-TRBUJ3EL.js → redact-doc-64PLXN3U.js} +11 -11
- package/dist/{render-3X6FI2WM.js → render-43RSFAGY.js} +7 -7
- package/dist/seal-RQZTBH54.js +10 -0
- package/dist/{setup-F7JGWFDW.js → setup-46VYX5XM.js} +3 -3
- package/dist/visual-JFUP46UP.js +21 -0
- package/dist/{watch-QYVW2AG6.js → watch-ZBBQKEKD.js} +12 -12
- package/package.json +1 -1
- package/dist/chunk-YBD5XGFC.js.map +0 -1
- package/dist/chunks-OV75DVHD.js +0 -10
- package/dist/pdf-ocr-RAJ33NDH.cjs +0 -31
- package/dist/seal-M5GYTAPE.js +0 -10
- package/dist/visual-PZRC23GE.js +0 -21
- /package/dist/{-V3MHVWUQ.js.map → -KJW567ZH.js.map} +0 -0
- /package/dist/{chunk-ORFDIAP3.js.map → chunk-3MTKUEA7.js.map} +0 -0
- /package/dist/{chunk-YSTWJWOY.js.map → chunk-55XTFFLH.js.map} +0 -0
- /package/dist/{chunk-DUQJ7EBY.js.map → chunk-6LM4CAOF.js.map} +0 -0
- /package/dist/{chunk-YDAGUSKH.js.map → chunk-7PBVL7NL.js.map} +0 -0
- /package/dist/{chunk-GVRCO3KT.js.map → chunk-7RVYIPLH.js.map} +0 -0
- /package/dist/{chunk-4OMXOT6T.js.map → chunk-AX3XT5Y7.js.map} +0 -0
- /package/dist/{chunk-D7A5NKP3.js.map → chunk-AZUWSGMI.js.map} +0 -0
- /package/dist/{chunk-KZSDBXWS.js.map → chunk-CKWCSQGW.js.map} +0 -0
- /package/dist/{chunk-XZZ7WOCP.js.map → chunk-D44JWJPI.js.map} +0 -0
- /package/dist/{chunk-Z5Z7HOER.js.map → chunk-DF6NB52F.js.map} +0 -0
- /package/dist/{chunk-JNHUOGGQ.js.map → chunk-F6C4UO55.js.map} +0 -0
- /package/dist/{chunk-K5UU73BA.js.map → chunk-MLTGRR6C.js.map} +0 -0
- /package/dist/{chunk-V7BK7IKP.js.map → chunk-OREE2GWG.js.map} +0 -0
- /package/dist/{chunk-RNBU6S2X.js.map → chunk-R5TMMRVG.js.map} +0 -0
- /package/dist/{chunk-P53VOW4B.js.map → chunk-UNFXTOU3.js.map} +0 -0
- /package/dist/{chunk-JA4IIIEU.js.map → chunk-UPZISYRP.js.map} +0 -0
- /package/dist/{chunk-TVCGPOCE.js.map → chunk-VH2QBIUA.js.map} +0 -0
- /package/dist/{chunk-VGRTUHAU.js.map → chunk-VQ5DOQZO.js.map} +0 -0
- /package/dist/{chunk-I6XE7VJQ.js.map → chunk-XSRXVLOL.js.map} +0 -0
- /package/dist/{chunk-OXVNNCQQ.js.map → chunk-Z4SUS7JW.js.map} +0 -0
- /package/dist/{chunk-P7UB5SMI.js.map → chunk-ZBUOPXGD.js.map} +0 -0
- /package/dist/{chunk-LM3PI43Q.js.map → chunk-ZP6SRHAD.js.map} +0 -0
- /package/dist/{chunks-OV75DVHD.js.map → chunks-YCPWFWFT.js.map} +0 -0
- /package/dist/{formula-SPMFPBGU.js.map → formula-47QIFQ7V.js.map} +0 -0
- /package/dist/{formula-HO2NNWVN.js.map → formula-GZEMCXLD.js.map} +0 -0
- /package/dist/{image-ocr-G2UUJPBI.js.map → image-ocr-FAHJNFDG.js.map} +0 -0
- /package/dist/{image-ocr-WSRZMXYM.js.map → image-ocr-HEKAORHV.js.map} +0 -0
- /package/dist/{model-bundle-CJACYVVC.js.map → model-bundle-IN3RQ52S.js.map} +0 -0
- /package/dist/{models-HGIMOYGX.js.map → models-FHSKU7WB.js.map} +0 -0
- /package/dist/{parse-worker-v2-7GQJ5IGY.js.map → parse-worker-v2-I3A77UZB.js.map} +0 -0
- /package/dist/{parser-23M44GFD.js.map → parser-JDLV2EI4.js.map} +0 -0
- /package/dist/{parser-TW2QXVZR.js.map → parser-ZLZRQLZU.js.map} +0 -0
- /package/dist/{pdf-ocr-DHVUQ4H2.js.map → pdf-ocr-SJKJ7JT7.js.map} +0 -0
- /package/dist/{pdf-ocr-RZR2VPQD.js.map → pdf-ocr-VIEII6TD.js.map} +0 -0
- /package/dist/{profile-io-TP5LYMSB.js.map → profile-io-ZPCTNRBM.js.map} +0 -0
- /package/dist/{rasterize-RENNLGB3.js.map → rasterize-QT7IPC27.js.map} +0 -0
- /package/dist/{redact-doc-TRBUJ3EL.js.map → redact-doc-64PLXN3U.js.map} +0 -0
- /package/dist/{render-3X6FI2WM.js.map → render-43RSFAGY.js.map} +0 -0
- /package/dist/{seal-M5GYTAPE.js.map → seal-RQZTBH54.js.map} +0 -0
- /package/dist/{setup-F7JGWFDW.js.map → setup-46VYX5XM.js.map} +0 -0
- /package/dist/{visual-PZRC23GE.js.map → visual-JFUP46UP.js.map} +0 -0
- /package/dist/{watch-QYVW2AG6.js.map → watch-ZBBQKEKD.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
blocksToPages
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XSRXVLOL.js";
|
|
5
5
|
import {
|
|
6
6
|
encodePng
|
|
7
7
|
} from "./chunk-VKVDMH7X.js";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
stripAbsorbedRunningLines,
|
|
63
63
|
trimTrailingEmptyTableCols,
|
|
64
64
|
wrapJoiner
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-AX3XT5Y7.js";
|
|
66
66
|
import {
|
|
67
67
|
validateOcrOptions
|
|
68
68
|
} from "./chunk-BYMPPVT3.js";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
escapeLiteralTags,
|
|
75
75
|
stripScriptTags,
|
|
76
76
|
unframeLayoutTables
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-6LM4CAOF.js";
|
|
78
78
|
import {
|
|
79
79
|
WINGDINGS,
|
|
80
80
|
assignTableIds,
|
|
@@ -83,17 +83,17 @@ import {
|
|
|
83
83
|
escapeLiteralDollar,
|
|
84
84
|
mapPuaText,
|
|
85
85
|
pairedNumber
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-F6C4UO55.js";
|
|
87
87
|
import {
|
|
88
88
|
ocrModelsCached,
|
|
89
89
|
resolveOcrModels
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
90
|
+
} from "./chunk-7PBVL7NL.js";
|
|
91
|
+
import "./chunk-ZBUOPXGD.js";
|
|
92
|
+
import "./chunk-ZP6SRHAD.js";
|
|
93
93
|
import {
|
|
94
94
|
KordocError,
|
|
95
95
|
sanitizeHref
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-AZUWSGMI.js";
|
|
97
97
|
|
|
98
98
|
// src/pdf/image-extract.ts
|
|
99
99
|
import { createHash } from "crypto";
|
|
@@ -4013,7 +4013,7 @@ function mergeLinkRuns(markdown) {
|
|
|
4013
4013
|
|
|
4014
4014
|
// src/pdf/formula-ocr.ts
|
|
4015
4015
|
async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
|
|
4016
|
-
const formulaMod = await import("./formula-
|
|
4016
|
+
const formulaMod = await import("./formula-47QIFQ7V.js");
|
|
4017
4017
|
const { FormulaPipeline, ensureFormulaModels } = formulaMod;
|
|
4018
4018
|
await ensureFormulaModels((p) => {
|
|
4019
4019
|
if (p.phase === "download" && p.total) {
|
|
@@ -4440,10 +4440,10 @@ async function parsePdfDocument(buffer, options) {
|
|
|
4440
4440
|
}
|
|
4441
4441
|
if (targets.size > 0) {
|
|
4442
4442
|
try {
|
|
4443
|
-
const { runPdfOcr } = await import("./pdf-ocr-
|
|
4443
|
+
const { runPdfOcr } = await import("./pdf-ocr-VIEII6TD.js");
|
|
4444
4444
|
const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
|
|
4445
4445
|
const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
|
|
4446
|
-
const { builtinOcrConfig } = await import("./pdf-ocr-
|
|
4446
|
+
const { builtinOcrConfig } = await import("./pdf-ocr-VIEII6TD.js");
|
|
4447
4447
|
const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages, builtinOcrConfig(options), ocrLinesOut);
|
|
4448
4448
|
for (const obs of ocrPageBlocks.values()) stripScriptTags({ blocks: obs });
|
|
4449
4449
|
if (ocrPageBlocks.size > 0) {
|
|
@@ -4688,4 +4688,4 @@ export {
|
|
|
4688
4688
|
parsePdfDocument,
|
|
4689
4689
|
removeHeaderFooterBlocks
|
|
4690
4690
|
};
|
|
4691
|
-
//# sourceMappingURL=parser-
|
|
4691
|
+
//# sourceMappingURL=parser-JDLV2EI4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
blocksToPages,
|
|
3
3
|
encodePng
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OREE2GWG.js";
|
|
5
5
|
import {
|
|
6
6
|
hasRequestedPagesAfter,
|
|
7
7
|
parsePageRange
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
stripAbsorbedRunningLines,
|
|
62
62
|
trimTrailingEmptyTableCols,
|
|
63
63
|
wrapJoiner
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-55XTFFLH.js";
|
|
65
65
|
import {
|
|
66
66
|
CELL_BASELINES,
|
|
67
67
|
CELL_EDGES,
|
|
@@ -78,12 +78,12 @@ import {
|
|
|
78
78
|
stripScriptTags,
|
|
79
79
|
unframeLayoutTables,
|
|
80
80
|
validateOcrOptions
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
81
|
+
} from "./chunk-MLTGRR6C.js";
|
|
82
|
+
import "./chunk-Z4SUS7JW.js";
|
|
83
83
|
import {
|
|
84
84
|
KordocError,
|
|
85
85
|
sanitizeHref
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-D44JWJPI.js";
|
|
87
87
|
|
|
88
88
|
// src/pdf/image-extract.ts
|
|
89
89
|
import { createHash } from "crypto";
|
|
@@ -4003,7 +4003,7 @@ function mergeLinkRuns(markdown) {
|
|
|
4003
4003
|
|
|
4004
4004
|
// src/pdf/formula-ocr.ts
|
|
4005
4005
|
async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
|
|
4006
|
-
const formulaMod = await import("./formula-
|
|
4006
|
+
const formulaMod = await import("./formula-GZEMCXLD.js");
|
|
4007
4007
|
const { FormulaPipeline, ensureFormulaModels } = formulaMod;
|
|
4008
4008
|
await ensureFormulaModels((p) => {
|
|
4009
4009
|
if (p.phase === "download" && p.total) {
|
|
@@ -4430,10 +4430,10 @@ async function parsePdfDocument(buffer, options) {
|
|
|
4430
4430
|
}
|
|
4431
4431
|
if (targets.size > 0) {
|
|
4432
4432
|
try {
|
|
4433
|
-
const { runPdfOcr } = await import("./pdf-ocr-
|
|
4433
|
+
const { runPdfOcr } = await import("./pdf-ocr-SJKJ7JT7.js");
|
|
4434
4434
|
const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
|
|
4435
4435
|
const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
|
|
4436
|
-
const { builtinOcrConfig } = await import("./pdf-ocr-
|
|
4436
|
+
const { builtinOcrConfig } = await import("./pdf-ocr-SJKJ7JT7.js");
|
|
4437
4437
|
const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages, builtinOcrConfig(options), ocrLinesOut);
|
|
4438
4438
|
for (const obs of ocrPageBlocks.values()) stripScriptTags({ blocks: obs });
|
|
4439
4439
|
if (ocrPageBlocks.size > 0) {
|
|
@@ -4678,4 +4678,4 @@ export {
|
|
|
4678
4678
|
parsePdfDocument,
|
|
4679
4679
|
removeHeaderFooterBlocks
|
|
4680
4680
|
};
|
|
4681
|
-
//# sourceMappingURL=parser-
|
|
4681
|
+
//# sourceMappingURL=parser-ZLZRQLZU.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkQ3GZMZTKcjs = require('./chunk-Q3GZMZTK.cjs');
|
|
13
|
+
require('./chunk-TK3FDAEE.cjs');
|
|
14
|
+
require('./chunk-BTLQOIES.cjs');
|
|
15
|
+
require('./chunk-SO4ZYWYE.cjs');
|
|
16
|
+
require('./chunk-SU6ABNIX.cjs');
|
|
17
|
+
require('./chunk-EREKI4DD.cjs');
|
|
18
|
+
require('./chunk-GS7T56RP.cjs');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.DEFAULT_BUILTIN_OCR = _chunkQ3GZMZTKcjs.DEFAULT_BUILTIN_OCR; exports.MAX_OCR_PIXELS = _chunkQ3GZMZTKcjs.MAX_OCR_PIXELS; exports.builtinOcrConfig = _chunkQ3GZMZTKcjs.builtinOcrConfig; exports.groupOcrLines = _chunkQ3GZMZTKcjs.groupOcrLines; exports.ocrItemsToBlocks = _chunkQ3GZMZTKcjs.ocrItemsToBlocks; exports.ocrOnePage = _chunkQ3GZMZTKcjs.ocrOnePage; exports.pageLines = _chunkQ3GZMZTKcjs.pageLines; exports.reportModelDownload = _chunkQ3GZMZTKcjs.reportModelDownload; exports.runPdfOcr = _chunkQ3GZMZTKcjs.runPdfOcr; exports.toOcrLine = _chunkQ3GZMZTKcjs.toOcrLine;
|
|
31
|
+
//# sourceMappingURL=pdf-ocr-MKSW5GJ7.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/mong-e/workspace/kordoc/dist/pdf-ocr-
|
|
1
|
+
{"version":3,"sources":["/Users/mong-e/workspace/kordoc/dist/pdf-ocr-MKSW5GJ7.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,ikBAAC","file":"/Users/mong-e/workspace/kordoc/dist/pdf-ocr-MKSW5GJ7.cjs"}
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
reportModelDownload,
|
|
10
10
|
runPdfOcr,
|
|
11
11
|
toOcrLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DF6NB52F.js";
|
|
13
13
|
import "./chunk-DC6CTQTK.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-55XTFFLH.js";
|
|
15
|
+
import "./chunk-MLTGRR6C.js";
|
|
16
|
+
import "./chunk-Z4SUS7JW.js";
|
|
17
|
+
import "./chunk-D44JWJPI.js";
|
|
18
18
|
export {
|
|
19
19
|
DEFAULT_BUILTIN_OCR,
|
|
20
20
|
MAX_OCR_PIXELS,
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
runPdfOcr,
|
|
28
28
|
toOcrLine
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=pdf-ocr-
|
|
30
|
+
//# sourceMappingURL=pdf-ocr-SJKJ7JT7.js.map
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
reportModelDownload,
|
|
11
11
|
runPdfOcr,
|
|
12
12
|
toOcrLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3MTKUEA7.js";
|
|
14
14
|
import "./chunk-6H25SXDI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-AX3XT5Y7.js";
|
|
16
16
|
import "./chunk-BYMPPVT3.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-6LM4CAOF.js";
|
|
18
|
+
import "./chunk-F6C4UO55.js";
|
|
19
|
+
import "./chunk-7PBVL7NL.js";
|
|
20
|
+
import "./chunk-ZBUOPXGD.js";
|
|
21
|
+
import "./chunk-ZP6SRHAD.js";
|
|
22
|
+
import "./chunk-AZUWSGMI.js";
|
|
23
23
|
export {
|
|
24
24
|
DEFAULT_BUILTIN_OCR,
|
|
25
25
|
MAX_OCR_PIXELS,
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
runPdfOcr,
|
|
33
33
|
toOcrLine
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=pdf-ocr-
|
|
35
|
+
//# sourceMappingURL=pdf-ocr-VIEII6TD.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatProfileSchema,
|
|
4
4
|
parseFormatProfileJson
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-R5TMMRVG.js";
|
|
6
|
+
import "./chunk-AZUWSGMI.js";
|
|
7
7
|
export {
|
|
8
8
|
formatProfileSchema,
|
|
9
9
|
parseFormatProfileJson
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=profile-io-
|
|
11
|
+
//# sourceMappingURL=profile-io-ZPCTNRBM.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
loadSharp,
|
|
4
4
|
rasterizePageSvg,
|
|
5
5
|
rasterizeSvg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VH2QBIUA.js";
|
|
7
|
+
import "./chunk-AZUWSGMI.js";
|
|
8
8
|
export {
|
|
9
9
|
loadSharp,
|
|
10
10
|
rasterizePageSvg,
|
|
11
11
|
rasterizeSvg
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=rasterize-
|
|
13
|
+
//# sourceMappingURL=rasterize-QT7IPC27.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
parse,
|
|
5
5
|
replaceOleStream,
|
|
6
6
|
wipeFreeSectors
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-CKWCSQGW.js";
|
|
8
|
+
import "./chunk-UPZISYRP.js";
|
|
9
9
|
import {
|
|
10
10
|
FLAG_COMPRESSED,
|
|
11
11
|
FLAG_DISTRIBUTION,
|
|
@@ -21,24 +21,24 @@ import {
|
|
|
21
21
|
isExtendedOnlyCtrlChar,
|
|
22
22
|
parseFileHeader,
|
|
23
23
|
readRecords
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-NT54LN6C.js";
|
|
25
|
+
import "./chunk-VH2QBIUA.js";
|
|
26
|
+
import "./chunk-XSRXVLOL.js";
|
|
27
27
|
import "./chunk-VKVDMH7X.js";
|
|
28
28
|
import "./chunk-VQFA55IC.js";
|
|
29
29
|
import "./chunk-BYMPPVT3.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6LM4CAOF.js";
|
|
31
|
+
import "./chunk-F6C4UO55.js";
|
|
32
32
|
import {
|
|
33
33
|
allLinesegRemovalSplices,
|
|
34
34
|
findElementEnd,
|
|
35
35
|
patchZipEntries,
|
|
36
36
|
scanSectionXml
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UNFXTOU3.js";
|
|
38
38
|
import {
|
|
39
39
|
readZipEntry
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-7RVYIPLH.js";
|
|
41
|
+
import "./chunk-AZUWSGMI.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_REDACT_RULES,
|
|
44
44
|
mdMarkerRanges,
|
|
@@ -1286,4 +1286,4 @@ function markdownLeftovers(markdown, ctx) {
|
|
|
1286
1286
|
export {
|
|
1287
1287
|
redactDocument
|
|
1288
1288
|
};
|
|
1289
|
-
//# sourceMappingURL=redact-doc-
|
|
1289
|
+
//# sourceMappingURL=redact-doc-64PLXN3U.js.map
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
renderHwpxToSvg,
|
|
16
16
|
renderSceneToHtml,
|
|
17
17
|
unionBBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NT54LN6C.js";
|
|
19
19
|
import {
|
|
20
20
|
rasterizePageSvg,
|
|
21
21
|
rasterizeSvg
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VH2QBIUA.js";
|
|
23
23
|
import "./chunk-VKVDMH7X.js";
|
|
24
24
|
import "./chunk-VQFA55IC.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-6LM4CAOF.js";
|
|
26
|
+
import "./chunk-F6C4UO55.js";
|
|
27
|
+
import "./chunk-7RVYIPLH.js";
|
|
28
|
+
import "./chunk-AZUWSGMI.js";
|
|
29
29
|
export {
|
|
30
30
|
RegionCollector,
|
|
31
31
|
buildHwp5RenderStyles,
|
|
@@ -45,4 +45,4 @@ export {
|
|
|
45
45
|
renderSceneToHtml,
|
|
46
46
|
unionBBox
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=render-
|
|
48
|
+
//# sourceMappingURL=render-43RSFAGY.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getAccessRoot,
|
|
4
4
|
isOfflineMode
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZP6SRHAD.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AZUWSGMI.js";
|
|
9
9
|
|
|
10
10
|
// src/setup.ts
|
|
11
11
|
import { createInterface } from "readline/promises";
|
|
@@ -249,4 +249,4 @@ export {
|
|
|
249
249
|
npxPackageSpec,
|
|
250
250
|
runSetup
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=setup-
|
|
252
|
+
//# sourceMappingURL=setup-46VYX5XM.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
extractTables
|
|
4
|
+
} from "./chunk-CKWCSQGW.js";
|
|
5
|
+
import "./chunk-UPZISYRP.js";
|
|
6
|
+
import "./chunk-NT54LN6C.js";
|
|
7
|
+
import "./chunk-VH2QBIUA.js";
|
|
8
|
+
import "./chunk-XSRXVLOL.js";
|
|
9
|
+
import "./chunk-VKVDMH7X.js";
|
|
10
|
+
import "./chunk-VQFA55IC.js";
|
|
11
|
+
import "./chunk-BYMPPVT3.js";
|
|
12
|
+
import "./chunk-6LM4CAOF.js";
|
|
13
|
+
import "./chunk-F6C4UO55.js";
|
|
14
|
+
import "./chunk-UNFXTOU3.js";
|
|
15
|
+
import "./chunk-7RVYIPLH.js";
|
|
16
|
+
import "./chunk-AZUWSGMI.js";
|
|
17
|
+
import "./chunk-3WSNLH4B.js";
|
|
18
|
+
export {
|
|
19
|
+
extractTables
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=visual-JFUP46UP.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
parse
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-CKWCSQGW.js";
|
|
5
|
+
import "./chunk-UPZISYRP.js";
|
|
6
6
|
import {
|
|
7
7
|
detectFormat
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-NT54LN6C.js";
|
|
9
|
+
import "./chunk-VH2QBIUA.js";
|
|
10
|
+
import "./chunk-XSRXVLOL.js";
|
|
11
11
|
import "./chunk-VKVDMH7X.js";
|
|
12
12
|
import "./chunk-VQFA55IC.js";
|
|
13
13
|
import "./chunk-BYMPPVT3.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-6LM4CAOF.js";
|
|
15
|
+
import "./chunk-F6C4UO55.js";
|
|
16
16
|
import {
|
|
17
17
|
assertNetworkAllowed
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-ZP6SRHAD.js";
|
|
19
|
+
import "./chunk-UNFXTOU3.js";
|
|
20
|
+
import "./chunk-7RVYIPLH.js";
|
|
21
21
|
import {
|
|
22
22
|
toArrayBuffer
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AZUWSGMI.js";
|
|
24
24
|
import "./chunk-3WSNLH4B.js";
|
|
25
25
|
|
|
26
26
|
// src/watch.ts
|
|
@@ -259,4 +259,4 @@ export {
|
|
|
259
259
|
postWebhookToAddress,
|
|
260
260
|
watchDirectory
|
|
261
261
|
};
|
|
262
|
-
//# sourceMappingURL=watch-
|
|
262
|
+
//# sourceMappingURL=watch-ZBBQKEKD.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kordoc",
|
|
3
3
|
"mcpName": "io.github.chrisryugj/kordoc",
|
|
4
|
-
"version": "4.22.
|
|
4
|
+
"version": "4.22.9",
|
|
5
5
|
"description": "Parse Korean documents (HWP3-5, HWPX, HWPML, PDF, XLS(X), DOCX) to Markdown — CLI + MCP server with lossless patch/roundtrip, form-filler, document diff, print & layout-preserving SVG renderer",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|