kordoc 4.18.12 → 4.18.13
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 +2 -2
- package/dist/{-WZOQMDES.js → -DC2OO5KO.js} +11 -11
- package/dist/{chunk-GZAYV2SV.js → chunk-32ZUIHSY.js} +3 -3
- package/dist/{chunk-OB3GPKKZ.cjs → chunk-3FGHQWJP.cjs} +38 -24
- package/dist/chunk-3FGHQWJP.cjs.map +1 -0
- package/dist/{chunk-PTWSL4FG.js → chunk-6AYTYTFY.js} +3 -3
- package/dist/{chunk-A7VXXIRT.cjs → chunk-6CQZMVXW.cjs} +3 -3
- package/dist/{chunk-A7VXXIRT.cjs.map → chunk-6CQZMVXW.cjs.map} +1 -1
- package/dist/{chunk-5WLN2JNN.cjs → chunk-6FW3AZWN.cjs} +6 -6
- package/dist/{chunk-5WLN2JNN.cjs.map → chunk-6FW3AZWN.cjs.map} +1 -1
- package/dist/{chunk-A72XCFET.js → chunk-7LOD4IGO.js} +4 -4
- package/dist/{chunk-PTLYGMNQ.js → chunk-DHEUQXXR.js} +2 -2
- package/dist/{chunk-APPUKIPQ.js → chunk-EBXJ45VZ.js} +2 -2
- package/dist/{chunk-XRVJ7UHC.js → chunk-EZSWBHHI.js} +2 -2
- package/dist/{chunk-GGX5AA2L.cjs → chunk-GGMIPTM5.cjs} +12 -12
- package/dist/{chunk-GGX5AA2L.cjs.map → chunk-GGMIPTM5.cjs.map} +1 -1
- package/dist/{chunk-XM2ZOOEW.js → chunk-GSW7W7AL.js} +2 -2
- package/dist/{chunk-T3AJHRWN.js → chunk-GUH6HYSZ.js} +10 -10
- package/dist/{chunk-G2PGKJUH.js → chunk-INESPVEV.js} +19 -5
- package/dist/chunk-INESPVEV.js.map +1 -0
- package/dist/{chunk-M7CCB6J3.js → chunk-IRN5SDY2.js} +2 -2
- package/dist/{chunk-CXNMHMPS.js → chunk-ISC2TH24.js} +2 -2
- package/dist/{chunk-MFA3TJWM.js → chunk-JKHU7HID.js} +2 -2
- package/dist/{chunk-FWLSXLDC.js → chunk-JPSLMPFI.js} +2 -2
- package/dist/{chunk-QYT3XW2J.js → chunk-JWTZ3OVZ.js} +2 -2
- package/dist/{chunk-2CMRR7SH.cjs → chunk-K6WSMTVU.cjs} +2 -2
- package/dist/{chunk-2CMRR7SH.cjs.map → chunk-K6WSMTVU.cjs.map} +1 -1
- package/dist/{chunk-MXCQIXGJ.js → chunk-LKA7Z2NH.js} +2 -2
- package/dist/{chunk-A2B5AYXD.js → chunk-PHMWSWHJ.js} +2 -2
- package/dist/{chunk-5V4XXKGX.js → chunk-PN5WWW56.js} +2 -2
- package/dist/{chunk-XRJRZCJA.cjs → chunk-RQEDNI4P.cjs} +3 -3
- package/dist/{chunk-XRJRZCJA.cjs.map → chunk-RQEDNI4P.cjs.map} +1 -1
- package/dist/{chunk-4SKWUNN7.js → chunk-SVIOP7PE.js} +6 -6
- package/dist/{chunk-4RVCC5YD.js → chunk-V7LKQNC4.js} +2 -2
- package/dist/{chunk-C7P6EZHR.js → chunk-VDEENOPW.js} +2 -2
- package/dist/{chunk-R2NGHNS3.js → chunk-XVB3PUPJ.js} +2 -2
- package/dist/{chunk-IRTDNELH.js → chunk-ZNY5BRV6.js} +20 -6
- package/dist/chunk-ZNY5BRV6.js.map +1 -0
- package/dist/chunks-JZW2TXIZ.js +10 -0
- package/dist/cli.js +26 -26
- package/dist/{formula-7FODYMWG.js → formula-DAMFHLQO.js} +3 -3
- package/dist/{formula-CAUZGR3C.cjs → formula-HJNQGPRC.cjs} +9 -9
- package/dist/{formula-CAUZGR3C.cjs.map → formula-HJNQGPRC.cjs.map} +1 -1
- package/dist/{formula-VWCF7AV5.js → formula-YCAO5IVW.js} +4 -4
- package/dist/{image-ocr-YLTHT7IE.cjs → image-ocr-AZ25IOC7.cjs} +15 -15
- package/dist/{image-ocr-YLTHT7IE.cjs.map → image-ocr-AZ25IOC7.cjs.map} +1 -1
- package/dist/{image-ocr-UOAHUR4Y.js → image-ocr-PAF76DAW.js} +9 -9
- package/dist/{image-ocr-LFMD7GFW.js → image-ocr-VH54SDZ7.js} +6 -6
- package/dist/index.cjs +277 -277
- package/dist/index.js +5 -5
- package/dist/mcp.js +22 -22
- package/dist/{model-bundle-IRGZNITZ.js → model-bundle-53CHDYCG.js} +5 -5
- package/dist/{models-QLW4GG62.js → models-UVLAKK3M.js} +5 -5
- package/dist/{parser-MOZDJZHH.cjs → parser-HWAOPQYK.cjs} +126 -126
- package/dist/{parser-MOZDJZHH.cjs.map → parser-HWAOPQYK.cjs.map} +1 -1
- package/dist/{parser-KPWQK4CU.js → parser-I4D3TRGU.js} +11 -11
- package/dist/{parser-VDZTRLXN.js → parser-Z6PHB54O.js} +8 -8
- package/dist/pdf-ocr-F4ICXO7W.js +20 -0
- package/dist/pdf-ocr-HR6CXGTX.cjs +17 -0
- package/dist/{pdf-ocr-IDZQ2KUS.cjs.map → pdf-ocr-HR6CXGTX.cjs.map} +1 -1
- package/dist/pdf-ocr-JI3K7JIN.js +16 -0
- package/dist/{profile-io-UJWTARCU.js → profile-io-WHCWCOPW.js} +3 -3
- package/dist/{rasterize-2FB766KD.js → rasterize-5DZ3DHGH.js} +3 -3
- package/dist/{redact-doc-J6U6WWKD.js → redact-doc-RNJVMFGQ.js} +11 -11
- package/dist/{render-CCIUMRLV.js → render-NZ6RA6SW.js} +7 -7
- package/dist/seal-WHJ6O5HT.js +10 -0
- package/dist/{setup-EEMGK6BR.js → setup-U3EQNK4Z.js} +3 -3
- package/dist/visual-JDAS4R43.js +20 -0
- package/dist/{watch-6I73YNFW.js → watch-GB2M7XU6.js} +12 -12
- package/package.json +1 -1
- package/dist/chunk-G2PGKJUH.js.map +0 -1
- package/dist/chunk-IRTDNELH.js.map +0 -1
- package/dist/chunk-OB3GPKKZ.cjs.map +0 -1
- package/dist/chunks-UQYMW7PG.js +0 -10
- package/dist/pdf-ocr-7MEF7NN4.js +0 -16
- package/dist/pdf-ocr-GO7BGPHA.js +0 -20
- package/dist/pdf-ocr-IDZQ2KUS.cjs +0 -17
- package/dist/seal-NKE6UTJL.js +0 -10
- package/dist/visual-6K3FOUEP.js +0 -20
- /package/dist/{-WZOQMDES.js.map → -DC2OO5KO.js.map} +0 -0
- /package/dist/{chunk-GZAYV2SV.js.map → chunk-32ZUIHSY.js.map} +0 -0
- /package/dist/{chunk-PTWSL4FG.js.map → chunk-6AYTYTFY.js.map} +0 -0
- /package/dist/{chunk-A72XCFET.js.map → chunk-7LOD4IGO.js.map} +0 -0
- /package/dist/{chunk-PTLYGMNQ.js.map → chunk-DHEUQXXR.js.map} +0 -0
- /package/dist/{chunk-APPUKIPQ.js.map → chunk-EBXJ45VZ.js.map} +0 -0
- /package/dist/{chunk-XRVJ7UHC.js.map → chunk-EZSWBHHI.js.map} +0 -0
- /package/dist/{chunk-XM2ZOOEW.js.map → chunk-GSW7W7AL.js.map} +0 -0
- /package/dist/{chunk-T3AJHRWN.js.map → chunk-GUH6HYSZ.js.map} +0 -0
- /package/dist/{chunk-M7CCB6J3.js.map → chunk-IRN5SDY2.js.map} +0 -0
- /package/dist/{chunk-CXNMHMPS.js.map → chunk-ISC2TH24.js.map} +0 -0
- /package/dist/{chunk-MFA3TJWM.js.map → chunk-JKHU7HID.js.map} +0 -0
- /package/dist/{chunk-FWLSXLDC.js.map → chunk-JPSLMPFI.js.map} +0 -0
- /package/dist/{chunk-QYT3XW2J.js.map → chunk-JWTZ3OVZ.js.map} +0 -0
- /package/dist/{chunk-MXCQIXGJ.js.map → chunk-LKA7Z2NH.js.map} +0 -0
- /package/dist/{chunk-A2B5AYXD.js.map → chunk-PHMWSWHJ.js.map} +0 -0
- /package/dist/{chunk-5V4XXKGX.js.map → chunk-PN5WWW56.js.map} +0 -0
- /package/dist/{chunk-4SKWUNN7.js.map → chunk-SVIOP7PE.js.map} +0 -0
- /package/dist/{chunk-4RVCC5YD.js.map → chunk-V7LKQNC4.js.map} +0 -0
- /package/dist/{chunk-C7P6EZHR.js.map → chunk-VDEENOPW.js.map} +0 -0
- /package/dist/{chunk-R2NGHNS3.js.map → chunk-XVB3PUPJ.js.map} +0 -0
- /package/dist/{chunks-UQYMW7PG.js.map → chunks-JZW2TXIZ.js.map} +0 -0
- /package/dist/{formula-7FODYMWG.js.map → formula-DAMFHLQO.js.map} +0 -0
- /package/dist/{formula-VWCF7AV5.js.map → formula-YCAO5IVW.js.map} +0 -0
- /package/dist/{image-ocr-UOAHUR4Y.js.map → image-ocr-PAF76DAW.js.map} +0 -0
- /package/dist/{image-ocr-LFMD7GFW.js.map → image-ocr-VH54SDZ7.js.map} +0 -0
- /package/dist/{model-bundle-IRGZNITZ.js.map → model-bundle-53CHDYCG.js.map} +0 -0
- /package/dist/{models-QLW4GG62.js.map → models-UVLAKK3M.js.map} +0 -0
- /package/dist/{parser-KPWQK4CU.js.map → parser-I4D3TRGU.js.map} +0 -0
- /package/dist/{parser-VDZTRLXN.js.map → parser-Z6PHB54O.js.map} +0 -0
- /package/dist/{pdf-ocr-7MEF7NN4.js.map → pdf-ocr-F4ICXO7W.js.map} +0 -0
- /package/dist/{pdf-ocr-GO7BGPHA.js.map → pdf-ocr-JI3K7JIN.js.map} +0 -0
- /package/dist/{profile-io-UJWTARCU.js.map → profile-io-WHCWCOPW.js.map} +0 -0
- /package/dist/{rasterize-2FB766KD.js.map → rasterize-5DZ3DHGH.js.map} +0 -0
- /package/dist/{redact-doc-J6U6WWKD.js.map → redact-doc-RNJVMFGQ.js.map} +0 -0
- /package/dist/{render-CCIUMRLV.js.map → render-NZ6RA6SW.js.map} +0 -0
- /package/dist/{seal-NKE6UTJL.js.map → seal-WHJ6O5HT.js.map} +0 -0
- /package/dist/{setup-EEMGK6BR.js.map → setup-U3EQNK4Z.js.map} +0 -0
- /package/dist/{visual-6K3FOUEP.js.map → visual-JDAS4R43.js.map} +0 -0
- /package/dist/{watch-6I73YNFW.js.map → watch-GB2M7XU6.js.map} +0 -0
|
@@ -50,15 +50,15 @@ import {
|
|
|
50
50
|
startsNewItem,
|
|
51
51
|
trimTrailingEmptyTableCols,
|
|
52
52
|
wrapJoiner
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-INESPVEV.js";
|
|
54
54
|
import {
|
|
55
55
|
ocrModelsCached
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-LKA7Z2NH.js";
|
|
57
|
+
import "./chunk-JWTZ3OVZ.js";
|
|
58
|
+
import "./chunk-ISC2TH24.js";
|
|
59
59
|
import {
|
|
60
60
|
blocksToPages
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-V7LKQNC4.js";
|
|
62
62
|
import {
|
|
63
63
|
encodePng
|
|
64
64
|
} from "./chunk-7FCNOKOR.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
escapeLiteralTags,
|
|
69
69
|
stripScriptTags,
|
|
70
70
|
unframeLayoutTables
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-XVB3PUPJ.js";
|
|
72
72
|
import {
|
|
73
73
|
hasRequestedPagesAfter,
|
|
74
74
|
parsePageRange
|
|
@@ -77,11 +77,11 @@ import {
|
|
|
77
77
|
WINGDINGS,
|
|
78
78
|
blocksToMarkdown,
|
|
79
79
|
escapeLiteralDollar
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-JKHU7HID.js";
|
|
81
81
|
import {
|
|
82
82
|
KordocError,
|
|
83
83
|
sanitizeHref
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-PN5WWW56.js";
|
|
85
85
|
|
|
86
86
|
// src/pdf/ocr-region-merge.ts
|
|
87
87
|
function mergeOcrImageRegions(blocks, page, regions, ocrBlocks) {
|
|
@@ -2882,7 +2882,7 @@ function mergeLinkRuns(markdown) {
|
|
|
2882
2882
|
|
|
2883
2883
|
// src/pdf/formula-ocr.ts
|
|
2884
2884
|
async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
|
|
2885
|
-
const formulaMod = await import("./formula-
|
|
2885
|
+
const formulaMod = await import("./formula-YCAO5IVW.js");
|
|
2886
2886
|
const { FormulaPipeline, ensureFormulaModels } = formulaMod;
|
|
2887
2887
|
await ensureFormulaModels((p) => {
|
|
2888
2888
|
if (p.phase === "download" && p.total) {
|
|
@@ -3303,7 +3303,7 @@ async function parsePdfDocument(buffer, options) {
|
|
|
3303
3303
|
}
|
|
3304
3304
|
if (targets.size > 0) {
|
|
3305
3305
|
try {
|
|
3306
|
-
const { runPdfOcr } = await import("./pdf-ocr-
|
|
3306
|
+
const { runPdfOcr } = await import("./pdf-ocr-F4ICXO7W.js");
|
|
3307
3307
|
const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
|
|
3308
3308
|
const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
|
|
3309
3309
|
const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages);
|
|
@@ -3540,4 +3540,4 @@ export {
|
|
|
3540
3540
|
parsePdfDocument,
|
|
3541
3541
|
removeHeaderFooterBlocks
|
|
3542
3542
|
};
|
|
3543
|
-
//# sourceMappingURL=parser-
|
|
3543
|
+
//# sourceMappingURL=parser-I4D3TRGU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
blocksToPages,
|
|
3
3
|
encodePng
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VDEENOPW.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-ZNY5BRV6.js";
|
|
62
62
|
import {
|
|
63
63
|
CELL_EDGES,
|
|
64
64
|
CONTENT_CELLS,
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
escapeLiteralTags,
|
|
69
69
|
stripScriptTags,
|
|
70
70
|
unframeLayoutTables
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-JPSLMPFI.js";
|
|
72
|
+
import "./chunk-PHMWSWHJ.js";
|
|
73
73
|
import {
|
|
74
74
|
KordocError,
|
|
75
75
|
sanitizeHref
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-EBXJ45VZ.js";
|
|
77
77
|
|
|
78
78
|
// src/pdf/ocr-region-merge.ts
|
|
79
79
|
function mergeOcrImageRegions(blocks, page, regions, ocrBlocks) {
|
|
@@ -2874,7 +2874,7 @@ function mergeLinkRuns(markdown) {
|
|
|
2874
2874
|
|
|
2875
2875
|
// src/pdf/formula-ocr.ts
|
|
2876
2876
|
async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
|
|
2877
|
-
const formulaMod = await import("./formula-
|
|
2877
|
+
const formulaMod = await import("./formula-DAMFHLQO.js");
|
|
2878
2878
|
const { FormulaPipeline, ensureFormulaModels } = formulaMod;
|
|
2879
2879
|
await ensureFormulaModels((p) => {
|
|
2880
2880
|
if (p.phase === "download" && p.total) {
|
|
@@ -3295,7 +3295,7 @@ async function parsePdfDocument(buffer, options) {
|
|
|
3295
3295
|
}
|
|
3296
3296
|
if (targets.size > 0) {
|
|
3297
3297
|
try {
|
|
3298
|
-
const { runPdfOcr } = await import("./pdf-ocr-
|
|
3298
|
+
const { runPdfOcr } = await import("./pdf-ocr-JI3K7JIN.js");
|
|
3299
3299
|
const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
|
|
3300
3300
|
const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
|
|
3301
3301
|
const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages);
|
|
@@ -3532,4 +3532,4 @@ export {
|
|
|
3532
3532
|
parsePdfDocument,
|
|
3533
3533
|
removeHeaderFooterBlocks
|
|
3534
3534
|
};
|
|
3535
|
-
//# sourceMappingURL=parser-
|
|
3535
|
+
//# sourceMappingURL=parser-Z6PHB54O.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
MAX_OCR_PIXELS,
|
|
4
|
+
ocrItemsToBlocks,
|
|
5
|
+
runPdfOcr
|
|
6
|
+
} from "./chunk-7LOD4IGO.js";
|
|
7
|
+
import "./chunk-6H25SXDI.js";
|
|
8
|
+
import "./chunk-INESPVEV.js";
|
|
9
|
+
import "./chunk-LKA7Z2NH.js";
|
|
10
|
+
import "./chunk-JWTZ3OVZ.js";
|
|
11
|
+
import "./chunk-ISC2TH24.js";
|
|
12
|
+
import "./chunk-XVB3PUPJ.js";
|
|
13
|
+
import "./chunk-JKHU7HID.js";
|
|
14
|
+
import "./chunk-PN5WWW56.js";
|
|
15
|
+
export {
|
|
16
|
+
MAX_OCR_PIXELS,
|
|
17
|
+
ocrItemsToBlocks,
|
|
18
|
+
runPdfOcr
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=pdf-ocr-F4ICXO7W.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkGGMIPTM5cjs = require('./chunk-GGMIPTM5.cjs');
|
|
6
|
+
require('./chunk-TK3FDAEE.cjs');
|
|
7
|
+
require('./chunk-3FGHQWJP.cjs');
|
|
8
|
+
require('./chunk-6FW3AZWN.cjs');
|
|
9
|
+
require('./chunk-6CQZMVXW.cjs');
|
|
10
|
+
require('./chunk-K6WSMTVU.cjs');
|
|
11
|
+
require('./chunk-GS7T56RP.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.MAX_OCR_PIXELS = _chunkGGMIPTM5cjs.MAX_OCR_PIXELS; exports.ocrItemsToBlocks = _chunkGGMIPTM5cjs.ocrItemsToBlocks; exports.runPdfOcr = _chunkGGMIPTM5cjs.runPdfOcr;
|
|
17
|
+
//# sourceMappingURL=pdf-ocr-HR6CXGTX.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-HR6CXGTX.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-HR6CXGTX.cjs"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MAX_OCR_PIXELS,
|
|
3
|
+
ocrItemsToBlocks,
|
|
4
|
+
runPdfOcr
|
|
5
|
+
} from "./chunk-32ZUIHSY.js";
|
|
6
|
+
import "./chunk-DC6CTQTK.js";
|
|
7
|
+
import "./chunk-ZNY5BRV6.js";
|
|
8
|
+
import "./chunk-JPSLMPFI.js";
|
|
9
|
+
import "./chunk-PHMWSWHJ.js";
|
|
10
|
+
import "./chunk-EBXJ45VZ.js";
|
|
11
|
+
export {
|
|
12
|
+
MAX_OCR_PIXELS,
|
|
13
|
+
ocrItemsToBlocks,
|
|
14
|
+
runPdfOcr
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=pdf-ocr-JI3K7JIN.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatProfileSchema,
|
|
4
4
|
parseFormatProfileJson
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-EZSWBHHI.js";
|
|
6
|
+
import "./chunk-PN5WWW56.js";
|
|
7
7
|
export {
|
|
8
8
|
formatProfileSchema,
|
|
9
9
|
parseFormatProfileJson
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=profile-io-
|
|
11
|
+
//# sourceMappingURL=profile-io-WHCWCOPW.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-IRN5SDY2.js";
|
|
7
|
+
import "./chunk-PN5WWW56.js";
|
|
8
8
|
export {
|
|
9
9
|
loadSharp,
|
|
10
10
|
rasterizePageSvg,
|
|
11
11
|
rasterizeSvg
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=rasterize-
|
|
13
|
+
//# sourceMappingURL=rasterize-5DZ3DHGH.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-GUH6HYSZ.js";
|
|
8
|
+
import "./chunk-V7LKQNC4.js";
|
|
9
9
|
import {
|
|
10
10
|
allLinesegRemovalSplices,
|
|
11
11
|
findElementEnd,
|
|
12
12
|
patchZipEntries,
|
|
13
13
|
scanSectionXml
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6AYTYTFY.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-GSW7W7AL.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-SVIOP7PE.js";
|
|
40
40
|
import "./chunk-7FCNOKOR.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-XVB3PUPJ.js";
|
|
42
42
|
import "./chunk-VQFA55IC.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-DHEUQXXR.js";
|
|
44
|
+
import "./chunk-JKHU7HID.js";
|
|
45
|
+
import "./chunk-IRN5SDY2.js";
|
|
46
|
+
import "./chunk-PN5WWW56.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-RNJVMFGQ.js.map
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
renderHwpxToSvg,
|
|
16
16
|
renderSceneToHtml,
|
|
17
17
|
unionBBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SVIOP7PE.js";
|
|
19
19
|
import "./chunk-7FCNOKOR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-XVB3PUPJ.js";
|
|
21
21
|
import "./chunk-VQFA55IC.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-DHEUQXXR.js";
|
|
23
|
+
import "./chunk-JKHU7HID.js";
|
|
24
24
|
import {
|
|
25
25
|
rasterizePageSvg,
|
|
26
26
|
rasterizeSvg
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-IRN5SDY2.js";
|
|
28
|
+
import "./chunk-PN5WWW56.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-NZ6RA6SW.js.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getAccessRoot,
|
|
4
4
|
isOfflineMode
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ISC2TH24.js";
|
|
6
|
+
import "./chunk-PN5WWW56.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-U3EQNK4Z.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
extractTables
|
|
4
|
+
} from "./chunk-GUH6HYSZ.js";
|
|
5
|
+
import "./chunk-V7LKQNC4.js";
|
|
6
|
+
import "./chunk-6AYTYTFY.js";
|
|
7
|
+
import "./chunk-3WSNLH4B.js";
|
|
8
|
+
import "./chunk-GSW7W7AL.js";
|
|
9
|
+
import "./chunk-SVIOP7PE.js";
|
|
10
|
+
import "./chunk-7FCNOKOR.js";
|
|
11
|
+
import "./chunk-XVB3PUPJ.js";
|
|
12
|
+
import "./chunk-VQFA55IC.js";
|
|
13
|
+
import "./chunk-DHEUQXXR.js";
|
|
14
|
+
import "./chunk-JKHU7HID.js";
|
|
15
|
+
import "./chunk-IRN5SDY2.js";
|
|
16
|
+
import "./chunk-PN5WWW56.js";
|
|
17
|
+
export {
|
|
18
|
+
extractTables
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=visual-JDAS4R43.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
assertNetworkAllowed
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ISC2TH24.js";
|
|
5
5
|
import {
|
|
6
6
|
parse
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-GUH6HYSZ.js";
|
|
8
|
+
import "./chunk-V7LKQNC4.js";
|
|
9
|
+
import "./chunk-6AYTYTFY.js";
|
|
10
10
|
import "./chunk-3WSNLH4B.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GSW7W7AL.js";
|
|
12
12
|
import {
|
|
13
13
|
detectFormat
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SVIOP7PE.js";
|
|
15
15
|
import "./chunk-7FCNOKOR.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-XVB3PUPJ.js";
|
|
17
17
|
import "./chunk-VQFA55IC.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DHEUQXXR.js";
|
|
19
|
+
import "./chunk-JKHU7HID.js";
|
|
20
|
+
import "./chunk-IRN5SDY2.js";
|
|
21
21
|
import {
|
|
22
22
|
toArrayBuffer
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PN5WWW56.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-GB2M7XU6.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kordoc",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.13",
|
|
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": {
|