kordoc 4.18.11 → 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 -1
- package/dist/{-TUDCOQX6.js → -DC2OO5KO.js} +11 -11
- package/dist/{chunk-PF4O626Y.js → chunk-32ZUIHSY.js} +3 -3
- package/dist/{chunk-Q5GB73E7.cjs → chunk-3FGHQWJP.cjs} +151 -130
- package/dist/chunk-3FGHQWJP.cjs.map +1 -0
- package/dist/{chunk-GNXDTPP6.js → chunk-6AYTYTFY.js} +3 -3
- package/dist/{chunk-DT5OWHWO.cjs → chunk-6CQZMVXW.cjs} +3 -3
- package/dist/{chunk-DT5OWHWO.cjs.map → chunk-6CQZMVXW.cjs.map} +1 -1
- package/dist/{chunk-IUOGBCVI.cjs → chunk-6FW3AZWN.cjs} +6 -6
- package/dist/{chunk-IUOGBCVI.cjs.map → chunk-6FW3AZWN.cjs.map} +1 -1
- package/dist/{chunk-KFB7LHCB.js → chunk-7LOD4IGO.js} +4 -4
- package/dist/{chunk-5GVDHHHO.js → chunk-DHEUQXXR.js} +2 -2
- package/dist/{chunk-KA2NMWIC.js → chunk-EBXJ45VZ.js} +2 -2
- package/dist/{chunk-DU2DV4LO.js → chunk-EZSWBHHI.js} +2 -2
- package/dist/{chunk-7H5P475X.cjs → chunk-GGMIPTM5.cjs} +12 -12
- package/dist/{chunk-7H5P475X.cjs.map → chunk-GGMIPTM5.cjs.map} +1 -1
- package/dist/{chunk-PIRSOTKK.js → chunk-GSW7W7AL.js} +2 -2
- package/dist/{chunk-TYIUJKUT.js → chunk-GUH6HYSZ.js} +10 -10
- package/dist/{chunk-CNU4NPCC.js → chunk-INESPVEV.js} +26 -5
- package/dist/chunk-INESPVEV.js.map +1 -0
- package/dist/{chunk-DXRKZWC3.js → chunk-IRN5SDY2.js} +2 -2
- package/dist/{chunk-P6GO34IP.js → chunk-ISC2TH24.js} +2 -2
- package/dist/{chunk-WP6KG5Z7.js → chunk-JKHU7HID.js} +2 -2
- package/dist/{chunk-UAWOYMBR.js → chunk-JPSLMPFI.js} +2 -2
- package/dist/{chunk-QK6AJJMJ.js → chunk-JWTZ3OVZ.js} +2 -2
- package/dist/{chunk-FS6RCEF6.cjs → chunk-K6WSMTVU.cjs} +2 -2
- package/dist/{chunk-FS6RCEF6.cjs.map → chunk-K6WSMTVU.cjs.map} +1 -1
- package/dist/{chunk-56QHHRWD.js → chunk-LKA7Z2NH.js} +2 -2
- package/dist/{chunk-XJCWMVVY.js → chunk-PHMWSWHJ.js} +2 -2
- package/dist/{chunk-JZ3VPASI.js → chunk-PN5WWW56.js} +2 -2
- package/dist/{chunk-PC4U3XRK.cjs → chunk-RQEDNI4P.cjs} +3 -3
- package/dist/{chunk-PC4U3XRK.cjs.map → chunk-RQEDNI4P.cjs.map} +1 -1
- package/dist/{chunk-L7TALZNE.js → chunk-SVIOP7PE.js} +6 -6
- package/dist/{chunk-UG4GIJSH.js → chunk-V7LKQNC4.js} +2 -2
- package/dist/{chunk-DKVS6CFO.js → chunk-VDEENOPW.js} +2 -2
- package/dist/{chunk-UETNJSA7.js → chunk-XVB3PUPJ.js} +2 -2
- package/dist/{chunk-CMROXIWJ.js → chunk-ZNY5BRV6.js} +27 -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-5BPY5GQL.js → formula-DAMFHLQO.js} +3 -3
- package/dist/{formula-VUI2AJUZ.cjs → formula-HJNQGPRC.cjs} +9 -9
- package/dist/{formula-VUI2AJUZ.cjs.map → formula-HJNQGPRC.cjs.map} +1 -1
- package/dist/{formula-RA2JV55J.js → formula-YCAO5IVW.js} +4 -4
- package/dist/{image-ocr-3LUFXLSS.cjs → image-ocr-AZ25IOC7.cjs} +15 -15
- package/dist/{image-ocr-3LUFXLSS.cjs.map → image-ocr-AZ25IOC7.cjs.map} +1 -1
- package/dist/{image-ocr-MOGXLPIS.js → image-ocr-PAF76DAW.js} +9 -9
- package/dist/{image-ocr-QDNBFOLW.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-PKJUJTPC.js → model-bundle-53CHDYCG.js} +5 -5
- package/dist/{models-ZZCRW54N.js → models-UVLAKK3M.js} +5 -5
- package/dist/{parser-SL5XDJYU.cjs → parser-HWAOPQYK.cjs} +126 -126
- package/dist/{parser-SL5XDJYU.cjs.map → parser-HWAOPQYK.cjs.map} +1 -1
- package/dist/{parser-PICN5MDD.js → parser-I4D3TRGU.js} +11 -11
- package/dist/{parser-IU4QXSEQ.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-37GLDHR2.cjs.map → pdf-ocr-HR6CXGTX.cjs.map} +1 -1
- package/dist/pdf-ocr-JI3K7JIN.js +16 -0
- package/dist/{profile-io-TQXBV4NZ.js → profile-io-WHCWCOPW.js} +3 -3
- package/dist/{rasterize-QHUKA2N7.js → rasterize-5DZ3DHGH.js} +3 -3
- package/dist/{redact-doc-HHTMXA3E.js → redact-doc-RNJVMFGQ.js} +11 -11
- package/dist/{render-RZF6SNSN.js → render-NZ6RA6SW.js} +7 -7
- package/dist/seal-WHJ6O5HT.js +10 -0
- package/dist/{setup-IUCBBXYG.js → setup-U3EQNK4Z.js} +3 -3
- package/dist/visual-JDAS4R43.js +20 -0
- package/dist/{watch-G46MOBKP.js → watch-GB2M7XU6.js} +12 -12
- package/package.json +1 -1
- package/dist/chunk-CMROXIWJ.js.map +0 -1
- package/dist/chunk-CNU4NPCC.js.map +0 -1
- package/dist/chunk-Q5GB73E7.cjs.map +0 -1
- package/dist/chunks-ZZZGBVGM.js +0 -10
- package/dist/pdf-ocr-37GLDHR2.cjs +0 -17
- package/dist/pdf-ocr-7AWV7MY3.js +0 -20
- package/dist/pdf-ocr-UXP4CV6V.js +0 -16
- package/dist/seal-TBTMKXLY.js +0 -10
- package/dist/visual-I64Z7W3Q.js +0 -20
- /package/dist/{-TUDCOQX6.js.map → -DC2OO5KO.js.map} +0 -0
- /package/dist/{chunk-PF4O626Y.js.map → chunk-32ZUIHSY.js.map} +0 -0
- /package/dist/{chunk-GNXDTPP6.js.map → chunk-6AYTYTFY.js.map} +0 -0
- /package/dist/{chunk-KFB7LHCB.js.map → chunk-7LOD4IGO.js.map} +0 -0
- /package/dist/{chunk-5GVDHHHO.js.map → chunk-DHEUQXXR.js.map} +0 -0
- /package/dist/{chunk-KA2NMWIC.js.map → chunk-EBXJ45VZ.js.map} +0 -0
- /package/dist/{chunk-DU2DV4LO.js.map → chunk-EZSWBHHI.js.map} +0 -0
- /package/dist/{chunk-PIRSOTKK.js.map → chunk-GSW7W7AL.js.map} +0 -0
- /package/dist/{chunk-TYIUJKUT.js.map → chunk-GUH6HYSZ.js.map} +0 -0
- /package/dist/{chunk-DXRKZWC3.js.map → chunk-IRN5SDY2.js.map} +0 -0
- /package/dist/{chunk-P6GO34IP.js.map → chunk-ISC2TH24.js.map} +0 -0
- /package/dist/{chunk-WP6KG5Z7.js.map → chunk-JKHU7HID.js.map} +0 -0
- /package/dist/{chunk-UAWOYMBR.js.map → chunk-JPSLMPFI.js.map} +0 -0
- /package/dist/{chunk-QK6AJJMJ.js.map → chunk-JWTZ3OVZ.js.map} +0 -0
- /package/dist/{chunk-56QHHRWD.js.map → chunk-LKA7Z2NH.js.map} +0 -0
- /package/dist/{chunk-XJCWMVVY.js.map → chunk-PHMWSWHJ.js.map} +0 -0
- /package/dist/{chunk-JZ3VPASI.js.map → chunk-PN5WWW56.js.map} +0 -0
- /package/dist/{chunk-L7TALZNE.js.map → chunk-SVIOP7PE.js.map} +0 -0
- /package/dist/{chunk-UG4GIJSH.js.map → chunk-V7LKQNC4.js.map} +0 -0
- /package/dist/{chunk-DKVS6CFO.js.map → chunk-VDEENOPW.js.map} +0 -0
- /package/dist/{chunk-UETNJSA7.js.map → chunk-XVB3PUPJ.js.map} +0 -0
- /package/dist/{chunks-ZZZGBVGM.js.map → chunks-JZW2TXIZ.js.map} +0 -0
- /package/dist/{formula-5BPY5GQL.js.map → formula-DAMFHLQO.js.map} +0 -0
- /package/dist/{formula-RA2JV55J.js.map → formula-YCAO5IVW.js.map} +0 -0
- /package/dist/{image-ocr-MOGXLPIS.js.map → image-ocr-PAF76DAW.js.map} +0 -0
- /package/dist/{image-ocr-QDNBFOLW.js.map → image-ocr-VH54SDZ7.js.map} +0 -0
- /package/dist/{model-bundle-PKJUJTPC.js.map → model-bundle-53CHDYCG.js.map} +0 -0
- /package/dist/{models-ZZCRW54N.js.map → models-UVLAKK3M.js.map} +0 -0
- /package/dist/{parser-PICN5MDD.js.map → parser-I4D3TRGU.js.map} +0 -0
- /package/dist/{parser-IU4QXSEQ.js.map → parser-Z6PHB54O.js.map} +0 -0
- /package/dist/{pdf-ocr-7AWV7MY3.js.map → pdf-ocr-F4ICXO7W.js.map} +0 -0
- /package/dist/{pdf-ocr-UXP4CV6V.js.map → pdf-ocr-JI3K7JIN.js.map} +0 -0
- /package/dist/{profile-io-TQXBV4NZ.js.map → profile-io-WHCWCOPW.js.map} +0 -0
- /package/dist/{rasterize-QHUKA2N7.js.map → rasterize-5DZ3DHGH.js.map} +0 -0
- /package/dist/{redact-doc-HHTMXA3E.js.map → redact-doc-RNJVMFGQ.js.map} +0 -0
- /package/dist/{render-RZF6SNSN.js.map → render-NZ6RA6SW.js.map} +0 -0
- /package/dist/{seal-TBTMKXLY.js.map → seal-WHJ6O5HT.js.map} +0 -0
- /package/dist/{setup-IUCBBXYG.js.map → setup-U3EQNK4Z.js.map} +0 -0
- /package/dist/{visual-I64Z7W3Q.js.map → visual-JDAS4R43.js.map} +0 -0
- /package/dist/{watch-G46MOBKP.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": {
|