kordoc 4.19.2 → 4.20.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/NOTICE +25 -0
- package/README.md +2 -1
- package/THIRD_PARTY/hwp-auto-docfit.LICENSE +23 -0
- package/dist/{-3JIHF2AL.js → -TTRGLREH.js} +11 -11
- package/dist/{chunk-I2TBI7PN.js → chunk-2U475PJF.js} +2 -2
- package/dist/{chunk-R2JM2HOJ.js → chunk-4DIMX2KU.js} +4 -4
- package/dist/{chunk-GNUGD4RO.js → chunk-4WOG2SLT.js} +2 -2
- package/dist/{chunk-QZ63HXEG.js → chunk-527NBMUE.js} +6 -6
- package/dist/{chunk-PWQ2BVAT.js → chunk-7H5GT7HM.js} +22 -3
- package/dist/{chunk-PWQ2BVAT.js.map → chunk-7H5GT7HM.js.map} +1 -1
- package/dist/{chunk-T2DZTOGG.cjs → chunk-AXQDWE42.cjs} +12 -12
- package/dist/{chunk-T2DZTOGG.cjs.map → chunk-AXQDWE42.cjs.map} +1 -1
- package/dist/{chunk-ORGWGR4K.cjs → chunk-CJFIHH2N.cjs} +6 -6
- package/dist/{chunk-ORGWGR4K.cjs.map → chunk-CJFIHH2N.cjs.map} +1 -1
- package/dist/{chunk-XPM7WC54.js → chunk-CKFKC22O.js} +4 -4
- package/dist/{chunk-JK7N4R4K.js → chunk-CPZ2LLZA.js} +2 -2
- package/dist/{chunk-6ZBORHFB.js → chunk-CS2VWXDS.js} +2 -2
- package/dist/{chunk-EUCBMW6C.js → chunk-DPD2L5UK.js} +3 -3
- package/dist/{chunk-AOVMOCTK.js → chunk-GHAJHXYA.js} +2 -2
- package/dist/{chunk-4CS7XE2Q.js → chunk-JYV3XQYW.js} +2 -2
- package/dist/{chunk-MZ6XNFZL.cjs → chunk-K5GCIB2I.cjs} +2 -2
- package/dist/{chunk-MZ6XNFZL.cjs.map → chunk-K5GCIB2I.cjs.map} +1 -1
- package/dist/{chunk-5PGOZBEQ.cjs → chunk-KDCPBF4X.cjs} +22 -22
- package/dist/{chunk-5PGOZBEQ.cjs.map → chunk-KDCPBF4X.cjs.map} +1 -1
- package/dist/{chunk-NV46IWKF.js → chunk-LQ4IDHET.js} +234 -24
- package/dist/chunk-LQ4IDHET.js.map +1 -0
- package/dist/{chunk-U6AJU2VD.js → chunk-MNPPMJBN.js} +2 -2
- package/dist/{chunk-J75TVRJB.js → chunk-MXADBQ7E.js} +2 -2
- package/dist/{chunk-B4R443MV.js → chunk-NVBX2NKZ.js} +2 -2
- package/dist/{chunk-TM4T4NYJ.js → chunk-OX5FA2MU.js} +2 -2
- package/dist/{chunk-WQAGDJIP.cjs → chunk-RMDFN5ZF.cjs} +3 -3
- package/dist/{chunk-WQAGDJIP.cjs.map → chunk-RMDFN5ZF.cjs.map} +1 -1
- package/dist/{chunk-QYJPU4FZ.js → chunk-TM7IOP4P.js} +2 -2
- package/dist/{chunk-OKHKEYTL.js → chunk-URQM5TBD.js} +2 -2
- package/dist/{chunk-VO22VAR3.js → chunk-VVKMBLG2.js} +2 -2
- package/dist/{chunk-JXJDXDOU.js → chunk-WLNEQGQC.js} +3 -3
- package/dist/{chunk-56ZWAREM.js → chunk-WLWWODBQ.js} +2 -2
- package/dist/{chunk-RVBQT2PD.cjs → chunk-WWOU6ZQ3.cjs} +3 -3
- package/dist/{chunk-RVBQT2PD.cjs.map → chunk-WWOU6ZQ3.cjs.map} +1 -1
- package/dist/{chunk-AKSCTGKG.js → chunk-X5YHJHWB.js} +2 -2
- package/dist/chunks-3NIFJFRQ.js +10 -0
- package/dist/cli.js +366 -44
- package/dist/cli.js.map +1 -1
- package/dist/{formula-STIFIS57.js → formula-D6GGALWI.js} +3 -3
- package/dist/{formula-RNATQ3FQ.cjs → formula-FE6LEZTT.cjs} +9 -9
- package/dist/{formula-RNATQ3FQ.cjs.map → formula-FE6LEZTT.cjs.map} +1 -1
- package/dist/{formula-RSTTP626.js → formula-KWOAYEOG.js} +4 -4
- package/dist/{image-ocr-XKSAEEXP.js → image-ocr-XDODV43Y.js} +9 -9
- package/dist/{image-ocr-7L5TBBPA.cjs → image-ocr-XGGIYCZ2.cjs} +15 -15
- package/dist/{image-ocr-7L5TBBPA.cjs.map → image-ocr-XGGIYCZ2.cjs.map} +1 -1
- package/dist/{image-ocr-R6ZDFBAN.js → image-ocr-YYTFOUSY.js} +6 -6
- package/dist/index.cjs +682 -459
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +242 -19
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +22 -22
- package/dist/{model-bundle-NGTKULP7.js → model-bundle-WPFLIKYM.js} +5 -5
- package/dist/{models-QOSU5SYL.js → models-WJ5QYELV.js} +5 -5
- package/dist/{parser-AIQBU7FS.cjs → parser-6P5ZRWXG.cjs} +132 -132
- package/dist/{parser-AIQBU7FS.cjs.map → parser-6P5ZRWXG.cjs.map} +1 -1
- package/dist/{parser-5GUEP6EK.js → parser-LY67CB7A.js} +8 -8
- package/dist/{parser-3G4G6SST.js → parser-QKLUIMHG.js} +11 -11
- package/dist/pdf-ocr-6L4EDRVO.js +20 -0
- package/dist/pdf-ocr-J7DHJJ3I.js +16 -0
- package/dist/pdf-ocr-MODN6GBT.cjs +17 -0
- package/dist/{pdf-ocr-7OAFUDM4.cjs.map → pdf-ocr-MODN6GBT.cjs.map} +1 -1
- package/dist/{profile-io-ZVNMDLLS.js → profile-io-I4ORJOE4.js} +3 -3
- package/dist/{rasterize-Y2RLMVCL.js → rasterize-MZU5LIA5.js} +3 -3
- package/dist/{redact-doc-PNRDDBI3.js → redact-doc-NEUEBXFH.js} +11 -11
- package/dist/{render-S3ALARVO.js → render-IL2DYXDP.js} +7 -7
- package/dist/seal-O5DKZGTR.js +10 -0
- package/dist/{setup-JH66VSFZ.js → setup-PGOCB7YG.js} +3 -3
- package/dist/visual-PYV4ZMLH.js +20 -0
- package/dist/{watch-KMB2FTOD.js → watch-2F5AMHCW.js} +12 -12
- package/package.json +1 -1
- package/dist/chunk-NV46IWKF.js.map +0 -1
- package/dist/chunks-2EC2R7PY.js +0 -10
- package/dist/pdf-ocr-7OAFUDM4.cjs +0 -17
- package/dist/pdf-ocr-DAXS5RX4.js +0 -16
- package/dist/pdf-ocr-R3VGX6F2.js +0 -20
- package/dist/seal-EJWPS5VK.js +0 -10
- package/dist/visual-GDXMKDVY.js +0 -20
- /package/dist/{-3JIHF2AL.js.map → -TTRGLREH.js.map} +0 -0
- /package/dist/{chunk-I2TBI7PN.js.map → chunk-2U475PJF.js.map} +0 -0
- /package/dist/{chunk-R2JM2HOJ.js.map → chunk-4DIMX2KU.js.map} +0 -0
- /package/dist/{chunk-GNUGD4RO.js.map → chunk-4WOG2SLT.js.map} +0 -0
- /package/dist/{chunk-QZ63HXEG.js.map → chunk-527NBMUE.js.map} +0 -0
- /package/dist/{chunk-XPM7WC54.js.map → chunk-CKFKC22O.js.map} +0 -0
- /package/dist/{chunk-JK7N4R4K.js.map → chunk-CPZ2LLZA.js.map} +0 -0
- /package/dist/{chunk-6ZBORHFB.js.map → chunk-CS2VWXDS.js.map} +0 -0
- /package/dist/{chunk-EUCBMW6C.js.map → chunk-DPD2L5UK.js.map} +0 -0
- /package/dist/{chunk-AOVMOCTK.js.map → chunk-GHAJHXYA.js.map} +0 -0
- /package/dist/{chunk-4CS7XE2Q.js.map → chunk-JYV3XQYW.js.map} +0 -0
- /package/dist/{chunk-U6AJU2VD.js.map → chunk-MNPPMJBN.js.map} +0 -0
- /package/dist/{chunk-J75TVRJB.js.map → chunk-MXADBQ7E.js.map} +0 -0
- /package/dist/{chunk-B4R443MV.js.map → chunk-NVBX2NKZ.js.map} +0 -0
- /package/dist/{chunk-TM4T4NYJ.js.map → chunk-OX5FA2MU.js.map} +0 -0
- /package/dist/{chunk-QYJPU4FZ.js.map → chunk-TM7IOP4P.js.map} +0 -0
- /package/dist/{chunk-OKHKEYTL.js.map → chunk-URQM5TBD.js.map} +0 -0
- /package/dist/{chunk-VO22VAR3.js.map → chunk-VVKMBLG2.js.map} +0 -0
- /package/dist/{chunk-JXJDXDOU.js.map → chunk-WLNEQGQC.js.map} +0 -0
- /package/dist/{chunk-56ZWAREM.js.map → chunk-WLWWODBQ.js.map} +0 -0
- /package/dist/{chunk-AKSCTGKG.js.map → chunk-X5YHJHWB.js.map} +0 -0
- /package/dist/{chunks-2EC2R7PY.js.map → chunks-3NIFJFRQ.js.map} +0 -0
- /package/dist/{formula-STIFIS57.js.map → formula-D6GGALWI.js.map} +0 -0
- /package/dist/{formula-RSTTP626.js.map → formula-KWOAYEOG.js.map} +0 -0
- /package/dist/{image-ocr-XKSAEEXP.js.map → image-ocr-XDODV43Y.js.map} +0 -0
- /package/dist/{image-ocr-R6ZDFBAN.js.map → image-ocr-YYTFOUSY.js.map} +0 -0
- /package/dist/{model-bundle-NGTKULP7.js.map → model-bundle-WPFLIKYM.js.map} +0 -0
- /package/dist/{models-QOSU5SYL.js.map → models-WJ5QYELV.js.map} +0 -0
- /package/dist/{parser-5GUEP6EK.js.map → parser-LY67CB7A.js.map} +0 -0
- /package/dist/{parser-3G4G6SST.js.map → parser-QKLUIMHG.js.map} +0 -0
- /package/dist/{pdf-ocr-DAXS5RX4.js.map → pdf-ocr-6L4EDRVO.js.map} +0 -0
- /package/dist/{pdf-ocr-R3VGX6F2.js.map → pdf-ocr-J7DHJJ3I.js.map} +0 -0
- /package/dist/{profile-io-ZVNMDLLS.js.map → profile-io-I4ORJOE4.js.map} +0 -0
- /package/dist/{rasterize-Y2RLMVCL.js.map → rasterize-MZU5LIA5.js.map} +0 -0
- /package/dist/{redact-doc-PNRDDBI3.js.map → redact-doc-NEUEBXFH.js.map} +0 -0
- /package/dist/{render-S3ALARVO.js.map → render-IL2DYXDP.js.map} +0 -0
- /package/dist/{seal-EJWPS5VK.js.map → seal-O5DKZGTR.js.map} +0 -0
- /package/dist/{setup-JH66VSFZ.js.map → setup-PGOCB7YG.js.map} +0 -0
- /package/dist/{visual-GDXMKDVY.js.map → visual-PYV4ZMLH.js.map} +0 -0
- /package/dist/{watch-KMB2FTOD.js.map → watch-2F5AMHCW.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
blocksToPages,
|
|
3
3
|
encodePng
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MNPPMJBN.js";
|
|
5
5
|
import {
|
|
6
6
|
hasRequestedPagesAfter,
|
|
7
7
|
parsePageRange
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
startsNewItem,
|
|
59
59
|
trimTrailingEmptyTableCols,
|
|
60
60
|
wrapJoiner
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4DIMX2KU.js";
|
|
62
62
|
import {
|
|
63
63
|
CELL_EDGES,
|
|
64
64
|
CELL_PAGES,
|
|
@@ -70,12 +70,12 @@ import {
|
|
|
70
70
|
escapeLiteralTags,
|
|
71
71
|
stripScriptTags,
|
|
72
72
|
unframeLayoutTables
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-X5YHJHWB.js";
|
|
74
|
+
import "./chunk-4WOG2SLT.js";
|
|
75
75
|
import {
|
|
76
76
|
KordocError,
|
|
77
77
|
sanitizeHref
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-MXADBQ7E.js";
|
|
79
79
|
|
|
80
80
|
// src/pdf/ocr-region-merge.ts
|
|
81
81
|
function mergeOcrImageRegions(blocks, page, regions, ocrBlocks) {
|
|
@@ -3039,7 +3039,7 @@ function mergeLinkRuns(markdown) {
|
|
|
3039
3039
|
|
|
3040
3040
|
// src/pdf/formula-ocr.ts
|
|
3041
3041
|
async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
|
|
3042
|
-
const formulaMod = await import("./formula-
|
|
3042
|
+
const formulaMod = await import("./formula-D6GGALWI.js");
|
|
3043
3043
|
const { FormulaPipeline, ensureFormulaModels } = formulaMod;
|
|
3044
3044
|
await ensureFormulaModels((p) => {
|
|
3045
3045
|
if (p.phase === "download" && p.total) {
|
|
@@ -3460,7 +3460,7 @@ async function parsePdfDocument(buffer, options) {
|
|
|
3460
3460
|
}
|
|
3461
3461
|
if (targets.size > 0) {
|
|
3462
3462
|
try {
|
|
3463
|
-
const { runPdfOcr } = await import("./pdf-ocr-
|
|
3463
|
+
const { runPdfOcr } = await import("./pdf-ocr-J7DHJJ3I.js");
|
|
3464
3464
|
const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
|
|
3465
3465
|
const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
|
|
3466
3466
|
const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages);
|
|
@@ -3698,4 +3698,4 @@ export {
|
|
|
3698
3698
|
parsePdfDocument,
|
|
3699
3699
|
removeHeaderFooterBlocks
|
|
3700
3700
|
};
|
|
3701
|
-
//# sourceMappingURL=parser-
|
|
3701
|
+
//# sourceMappingURL=parser-LY67CB7A.js.map
|
|
@@ -50,15 +50,15 @@ import {
|
|
|
50
50
|
startsNewItem,
|
|
51
51
|
trimTrailingEmptyTableCols,
|
|
52
52
|
wrapJoiner
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-DPD2L5UK.js";
|
|
54
54
|
import {
|
|
55
55
|
ocrModelsCached
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-WLWWODBQ.js";
|
|
57
|
+
import "./chunk-CPZ2LLZA.js";
|
|
58
|
+
import "./chunk-2U475PJF.js";
|
|
59
59
|
import {
|
|
60
60
|
blocksToPages
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VVKMBLG2.js";
|
|
62
62
|
import {
|
|
63
63
|
encodePng
|
|
64
64
|
} from "./chunk-7FCNOKOR.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
escapeLiteralTags,
|
|
70
70
|
stripScriptTags,
|
|
71
71
|
unframeLayoutTables
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-GHAJHXYA.js";
|
|
73
73
|
import {
|
|
74
74
|
hasRequestedPagesAfter,
|
|
75
75
|
parsePageRange
|
|
@@ -79,11 +79,11 @@ import {
|
|
|
79
79
|
assignTableIds,
|
|
80
80
|
blocksToMarkdown,
|
|
81
81
|
escapeLiteralDollar
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-NVBX2NKZ.js";
|
|
83
83
|
import {
|
|
84
84
|
KordocError,
|
|
85
85
|
sanitizeHref
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-URQM5TBD.js";
|
|
87
87
|
|
|
88
88
|
// src/pdf/ocr-region-merge.ts
|
|
89
89
|
function mergeOcrImageRegions(blocks, page, regions, ocrBlocks) {
|
|
@@ -3047,7 +3047,7 @@ function mergeLinkRuns(markdown) {
|
|
|
3047
3047
|
|
|
3048
3048
|
// src/pdf/formula-ocr.ts
|
|
3049
3049
|
async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
|
|
3050
|
-
const formulaMod = await import("./formula-
|
|
3050
|
+
const formulaMod = await import("./formula-KWOAYEOG.js");
|
|
3051
3051
|
const { FormulaPipeline, ensureFormulaModels } = formulaMod;
|
|
3052
3052
|
await ensureFormulaModels((p) => {
|
|
3053
3053
|
if (p.phase === "download" && p.total) {
|
|
@@ -3468,7 +3468,7 @@ async function parsePdfDocument(buffer, options) {
|
|
|
3468
3468
|
}
|
|
3469
3469
|
if (targets.size > 0) {
|
|
3470
3470
|
try {
|
|
3471
|
-
const { runPdfOcr } = await import("./pdf-ocr-
|
|
3471
|
+
const { runPdfOcr } = await import("./pdf-ocr-6L4EDRVO.js");
|
|
3472
3472
|
const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
|
|
3473
3473
|
const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
|
|
3474
3474
|
const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages);
|
|
@@ -3706,4 +3706,4 @@ export {
|
|
|
3706
3706
|
parsePdfDocument,
|
|
3707
3707
|
removeHeaderFooterBlocks
|
|
3708
3708
|
};
|
|
3709
|
-
//# sourceMappingURL=parser-
|
|
3709
|
+
//# sourceMappingURL=parser-QKLUIMHG.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
MAX_OCR_PIXELS,
|
|
4
|
+
ocrItemsToBlocks,
|
|
5
|
+
runPdfOcr
|
|
6
|
+
} from "./chunk-CKFKC22O.js";
|
|
7
|
+
import "./chunk-6H25SXDI.js";
|
|
8
|
+
import "./chunk-DPD2L5UK.js";
|
|
9
|
+
import "./chunk-WLWWODBQ.js";
|
|
10
|
+
import "./chunk-CPZ2LLZA.js";
|
|
11
|
+
import "./chunk-2U475PJF.js";
|
|
12
|
+
import "./chunk-GHAJHXYA.js";
|
|
13
|
+
import "./chunk-NVBX2NKZ.js";
|
|
14
|
+
import "./chunk-URQM5TBD.js";
|
|
15
|
+
export {
|
|
16
|
+
MAX_OCR_PIXELS,
|
|
17
|
+
ocrItemsToBlocks,
|
|
18
|
+
runPdfOcr
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=pdf-ocr-6L4EDRVO.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MAX_OCR_PIXELS,
|
|
3
|
+
ocrItemsToBlocks,
|
|
4
|
+
runPdfOcr
|
|
5
|
+
} from "./chunk-WLNEQGQC.js";
|
|
6
|
+
import "./chunk-DC6CTQTK.js";
|
|
7
|
+
import "./chunk-4DIMX2KU.js";
|
|
8
|
+
import "./chunk-X5YHJHWB.js";
|
|
9
|
+
import "./chunk-4WOG2SLT.js";
|
|
10
|
+
import "./chunk-MXADBQ7E.js";
|
|
11
|
+
export {
|
|
12
|
+
MAX_OCR_PIXELS,
|
|
13
|
+
ocrItemsToBlocks,
|
|
14
|
+
runPdfOcr
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=pdf-ocr-J7DHJJ3I.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkAXQDWE42cjs = require('./chunk-AXQDWE42.cjs');
|
|
6
|
+
require('./chunk-TK3FDAEE.cjs');
|
|
7
|
+
require('./chunk-KDCPBF4X.cjs');
|
|
8
|
+
require('./chunk-CJFIHH2N.cjs');
|
|
9
|
+
require('./chunk-RMDFN5ZF.cjs');
|
|
10
|
+
require('./chunk-K5GCIB2I.cjs');
|
|
11
|
+
require('./chunk-GS7T56RP.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.MAX_OCR_PIXELS = _chunkAXQDWE42cjs.MAX_OCR_PIXELS; exports.ocrItemsToBlocks = _chunkAXQDWE42cjs.ocrItemsToBlocks; exports.runPdfOcr = _chunkAXQDWE42cjs.runPdfOcr;
|
|
17
|
+
//# sourceMappingURL=pdf-ocr-MODN6GBT.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-MODN6GBT.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACF,0KAAC","file":"/Users/mong-e/workspace/kordoc/dist/pdf-ocr-MODN6GBT.cjs"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatProfileSchema,
|
|
4
4
|
parseFormatProfileJson
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-JYV3XQYW.js";
|
|
6
|
+
import "./chunk-URQM5TBD.js";
|
|
7
7
|
export {
|
|
8
8
|
formatProfileSchema,
|
|
9
9
|
parseFormatProfileJson
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=profile-io-
|
|
11
|
+
//# sourceMappingURL=profile-io-I4ORJOE4.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-CS2VWXDS.js";
|
|
7
|
+
import "./chunk-URQM5TBD.js";
|
|
8
8
|
export {
|
|
9
9
|
loadSharp,
|
|
10
10
|
rasterizePageSvg,
|
|
11
11
|
rasterizeSvg
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=rasterize-
|
|
13
|
+
//# sourceMappingURL=rasterize-MZU5LIA5.js.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
parse,
|
|
5
5
|
replaceOleStream,
|
|
6
6
|
wipeFreeSectors
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-LQ4IDHET.js";
|
|
8
|
+
import "./chunk-VVKMBLG2.js";
|
|
9
9
|
import {
|
|
10
10
|
allLinesegRemovalSplices,
|
|
11
11
|
findElementEnd,
|
|
12
12
|
patchZipEntries,
|
|
13
13
|
scanSectionXml
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7H5GT7HM.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_REDACT_RULES,
|
|
17
17
|
mdMarkerRanges,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
redactMarkdown,
|
|
21
21
|
redactText
|
|
22
22
|
} from "./chunk-3WSNLH4B.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-OX5FA2MU.js";
|
|
24
24
|
import {
|
|
25
25
|
FLAG_COMPRESSED,
|
|
26
26
|
FLAG_DISTRIBUTION,
|
|
@@ -36,14 +36,14 @@ import {
|
|
|
36
36
|
isExtendedOnlyCtrlChar,
|
|
37
37
|
parseFileHeader,
|
|
38
38
|
readRecords
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-527NBMUE.js";
|
|
40
40
|
import "./chunk-7FCNOKOR.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-GHAJHXYA.js";
|
|
42
42
|
import "./chunk-VQFA55IC.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-TM7IOP4P.js";
|
|
44
|
+
import "./chunk-NVBX2NKZ.js";
|
|
45
|
+
import "./chunk-CS2VWXDS.js";
|
|
46
|
+
import "./chunk-URQM5TBD.js";
|
|
47
47
|
|
|
48
48
|
// src/redact-scrub.ts
|
|
49
49
|
import { createRequire } from "module";
|
|
@@ -1282,4 +1282,4 @@ function markdownLeftovers(markdown, ctx) {
|
|
|
1282
1282
|
export {
|
|
1283
1283
|
redactDocument
|
|
1284
1284
|
};
|
|
1285
|
-
//# sourceMappingURL=redact-doc-
|
|
1285
|
+
//# sourceMappingURL=redact-doc-NEUEBXFH.js.map
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
renderHwpxToSvg,
|
|
16
16
|
renderSceneToHtml,
|
|
17
17
|
unionBBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-527NBMUE.js";
|
|
19
19
|
import "./chunk-7FCNOKOR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-GHAJHXYA.js";
|
|
21
21
|
import "./chunk-VQFA55IC.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TM7IOP4P.js";
|
|
23
|
+
import "./chunk-NVBX2NKZ.js";
|
|
24
24
|
import {
|
|
25
25
|
rasterizePageSvg,
|
|
26
26
|
rasterizeSvg
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-CS2VWXDS.js";
|
|
28
|
+
import "./chunk-URQM5TBD.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-IL2DYXDP.js.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getAccessRoot,
|
|
4
4
|
isOfflineMode
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-2U475PJF.js";
|
|
6
|
+
import "./chunk-URQM5TBD.js";
|
|
7
7
|
|
|
8
8
|
// src/setup.ts
|
|
9
9
|
import { createInterface } from "readline/promises";
|
|
@@ -243,4 +243,4 @@ function printManualConfig() {
|
|
|
243
243
|
export {
|
|
244
244
|
runSetup
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=setup-
|
|
246
|
+
//# sourceMappingURL=setup-PGOCB7YG.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
extractTables
|
|
4
|
+
} from "./chunk-LQ4IDHET.js";
|
|
5
|
+
import "./chunk-VVKMBLG2.js";
|
|
6
|
+
import "./chunk-7H5GT7HM.js";
|
|
7
|
+
import "./chunk-3WSNLH4B.js";
|
|
8
|
+
import "./chunk-OX5FA2MU.js";
|
|
9
|
+
import "./chunk-527NBMUE.js";
|
|
10
|
+
import "./chunk-7FCNOKOR.js";
|
|
11
|
+
import "./chunk-GHAJHXYA.js";
|
|
12
|
+
import "./chunk-VQFA55IC.js";
|
|
13
|
+
import "./chunk-TM7IOP4P.js";
|
|
14
|
+
import "./chunk-NVBX2NKZ.js";
|
|
15
|
+
import "./chunk-CS2VWXDS.js";
|
|
16
|
+
import "./chunk-URQM5TBD.js";
|
|
17
|
+
export {
|
|
18
|
+
extractTables
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=visual-PYV4ZMLH.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
assertNetworkAllowed
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2U475PJF.js";
|
|
5
5
|
import {
|
|
6
6
|
parse
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-LQ4IDHET.js";
|
|
8
|
+
import "./chunk-VVKMBLG2.js";
|
|
9
|
+
import "./chunk-7H5GT7HM.js";
|
|
10
10
|
import "./chunk-3WSNLH4B.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-OX5FA2MU.js";
|
|
12
12
|
import {
|
|
13
13
|
detectFormat
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-527NBMUE.js";
|
|
15
15
|
import "./chunk-7FCNOKOR.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GHAJHXYA.js";
|
|
17
17
|
import "./chunk-VQFA55IC.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-TM7IOP4P.js";
|
|
19
|
+
import "./chunk-NVBX2NKZ.js";
|
|
20
|
+
import "./chunk-CS2VWXDS.js";
|
|
21
21
|
import {
|
|
22
22
|
toArrayBuffer
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-URQM5TBD.js";
|
|
24
24
|
|
|
25
25
|
// src/watch.ts
|
|
26
26
|
import { watch, readFileSync, writeFileSync, mkdirSync, statSync, existsSync, realpathSync } from "fs";
|
|
@@ -256,4 +256,4 @@ export {
|
|
|
256
256
|
postWebhookToAddress,
|
|
257
257
|
watchDirectory
|
|
258
258
|
};
|
|
259
|
-
//# sourceMappingURL=watch-
|
|
259
|
+
//# sourceMappingURL=watch-2F5AMHCW.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kordoc",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.0",
|
|
4
4
|
"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",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|