kordoc 4.24.49 → 4.24.50
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 +3 -3
- package/dist/{-22V6D2US.js → -C2A4JYBB.js} +42 -42
- package/dist/{chunk-R2RLNUNK.js → chunk-3HX37NQI.js} +6 -6
- package/dist/{chunk-IRAZCKQ6.cjs → chunk-4H2CKUZC.cjs} +3 -3
- package/dist/{chunk-IRAZCKQ6.cjs.map → chunk-4H2CKUZC.cjs.map} +1 -1
- package/dist/{chunk-EUJX7HTR.js → chunk-5HFHRDXF.js} +9 -9
- package/dist/{chunk-EUJX7HTR.js.map → chunk-5HFHRDXF.js.map} +1 -1
- package/dist/{chunk-Y4MFHEK4.cjs → chunk-5R65VE7S.cjs} +3 -3
- package/dist/{chunk-Y4MFHEK4.cjs.map → chunk-5R65VE7S.cjs.map} +1 -1
- package/dist/{chunk-UU54HN5I.js → chunk-6X5OZ32D.js} +5 -5
- package/dist/{chunk-7KKL3PRK.js → chunk-7TFSVTEI.js} +12 -4
- package/dist/chunk-7TFSVTEI.js.map +1 -0
- package/dist/{chunk-S54DZB2Z.js → chunk-CFN65SO4.js} +47 -4
- package/dist/chunk-CFN65SO4.js.map +1 -0
- package/dist/{chunk-OAETOHH3.js → chunk-CV7R6GFL.js} +3 -3
- package/dist/{chunk-M5RQ2PNP.js → chunk-DWLDRIUW.js} +14 -6
- package/dist/chunk-DWLDRIUW.js.map +1 -0
- package/dist/{chunk-67GSFYG7.js → chunk-EEXZI6FB.js} +2 -2
- package/dist/{chunk-367WLMPO.cjs → chunk-FMY77Z2C.cjs} +65 -57
- package/dist/chunk-FMY77Z2C.cjs.map +1 -0
- package/dist/{chunk-DAAJO62F.js → chunk-FTUYGBVA.js} +2 -2
- package/dist/{chunk-HW7WVYBF.js → chunk-G3COIDD5.js} +2 -2
- package/dist/{chunk-LOSCIAHY.js → chunk-H5WXX55M.js} +2 -2
- package/dist/{chunk-HETGOJ6V.js → chunk-JLXFH46H.js} +2 -2
- package/dist/{chunk-RQLEGKEV.js → chunk-KKVUDW3R.js} +2 -2
- package/dist/{chunk-AUAJVQQK.js → chunk-LJP2C7HY.js} +2 -2
- package/dist/{chunk-CCQMSIZQ.js → chunk-MFHYWNRB.js} +19 -19
- package/dist/{chunk-4MWUBTAE.js → chunk-MGASIGAK.js} +2 -2
- package/dist/{chunk-TQOAPKLU.cjs → chunk-NTTH2JV3.cjs} +6 -6
- package/dist/{chunk-TQOAPKLU.cjs.map → chunk-NTTH2JV3.cjs.map} +1 -1
- package/dist/{chunk-TAHS42ED.js → chunk-O3LGWNKF.js} +10 -10
- package/dist/{chunk-TAHS42ED.js.map → chunk-O3LGWNKF.js.map} +1 -1
- package/dist/{chunk-EYSXMDA7.js → chunk-PSUE7IEJ.js} +17 -17
- package/dist/{chunk-WLFZOBZR.js → chunk-R2KOKVE6.js} +3 -3
- package/dist/{chunk-UBY2PLKR.cjs → chunk-R34M3KZ5.cjs} +31 -31
- package/dist/{chunk-UBY2PLKR.cjs.map → chunk-R34M3KZ5.cjs.map} +1 -1
- package/dist/{chunk-ZF24SO45.js → chunk-RFMTK6QQ.js} +2 -2
- package/dist/{chunk-LCRSRVFJ.js → chunk-SAJPPKP6.js} +2 -2
- package/dist/{chunk-PVV6OY4M.cjs → chunk-SBNHRZX5.cjs} +139 -96
- package/dist/chunk-SBNHRZX5.cjs.map +1 -0
- package/dist/{chunk-L3JP55ZY.js → chunk-SFNUS2L2.js} +2 -2
- package/dist/{chunk-4HJKBRZJ.js → chunk-SHPWOK54.js} +18 -18
- package/dist/{chunk-PMGJQWSW.js → chunk-SSITTA7K.js} +2 -2
- package/dist/{chunk-Q7FDPJUS.js → chunk-TAVJD44R.js} +10 -10
- package/dist/{chunk-VMOUAWGD.js → chunk-TBVTRCQO.js} +7 -7
- package/dist/{chunk-KXHUHGMC.js → chunk-UGVLPUEO.js} +2 -2
- package/dist/{chunk-AXW2FMVR.js → chunk-UHNUEHHP.js} +2 -2
- package/dist/{chunk-2UWWWM4Q.cjs → chunk-ULZEBO6D.cjs} +98 -98
- package/dist/{chunk-2UWWWM4Q.cjs.map → chunk-ULZEBO6D.cjs.map} +1 -1
- package/dist/{chunk-6BFWLS7E.js → chunk-WI5QVMJ2.js} +3 -3
- package/dist/{chunk-Y6QW3FJQ.js → chunk-WJZJYJCP.js} +2 -2
- package/dist/{chunk-MLBX6KQM.js → chunk-XKGH2UJU.js} +2 -2
- package/dist/{chunk-PW7MQZI4.cjs → chunk-XOL2UOIW.cjs} +2 -2
- package/dist/{chunk-PW7MQZI4.cjs.map → chunk-XOL2UOIW.cjs.map} +1 -1
- package/dist/{chunk-KB4ORA7M.js → chunk-YJJGETLN.js} +2 -2
- package/dist/{chunk-DA5AXURC.js → chunk-YV27LZOV.js} +48 -5
- package/dist/chunk-YV27LZOV.js.map +1 -0
- package/dist/{chunk-LFFARZYZ.js → chunk-YXG74TXU.js} +2 -2
- package/dist/{chunk-MIJTZKWF.js → chunk-ZYMXAFG6.js} +2 -2
- package/dist/chunks-2XOX7XKP.js +11 -0
- package/dist/cli.js +52 -51
- package/dist/cli.js.map +1 -1
- package/dist/{formula-BYEDWWZU.js → formula-CSMUW37Z.js} +4 -4
- package/dist/{formula-QJEOIVKR.cjs → formula-MQDZV5BS.cjs} +9 -9
- package/dist/{formula-QJEOIVKR.cjs.map → formula-MQDZV5BS.cjs.map} +1 -1
- package/dist/{formula-FQLMMBDP.js → formula-NEZQU4VT.js} +3 -3
- package/dist/generator-J2I6FY5A.js +17 -0
- package/dist/generator-U6KPAHRC.cjs +11 -0
- package/dist/{generator-FTM6GOGB.cjs.map → generator-U6KPAHRC.cjs.map} +1 -1
- package/dist/generator-V7WALYIG.js +10 -0
- package/dist/hancom-44AG42NH.js +85 -0
- package/dist/hancom-44AG42NH.js.map +1 -0
- package/dist/hancom-ICXEFG55.js +84 -0
- package/dist/hancom-ICXEFG55.js.map +1 -0
- package/dist/hancom-R7UQ45EN.cjs +85 -0
- package/dist/hancom-R7UQ45EN.cjs.map +1 -0
- package/dist/{image-ocr-VIGZE4YL.js → image-ocr-EDD2FWK3.js} +7 -7
- package/dist/{image-ocr-7Y3FCGRR.js → image-ocr-KGEUPOG5.js} +10 -10
- package/dist/{image-ocr-WRILL3WO.cjs → image-ocr-VVLMGTRH.cjs} +28 -28
- package/dist/{image-ocr-WRILL3WO.cjs.map → image-ocr-VVLMGTRH.cjs.map} +1 -1
- package/dist/index.cjs +1116 -1116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +72 -72
- package/dist/mcp.js +42 -41
- package/dist/mcp.js.map +1 -1
- package/dist/memo-HW332L2B.js +17 -0
- package/dist/{model-bundle-UJRQPYUU.js → model-bundle-JQBHF6XK.js} +5 -5
- package/dist/{models-64YLAWTI.js → models-YWD5GLFW.js} +5 -5
- package/dist/{parse-worker-v2-QWQZKFQO.js → parse-worker-v2-NXKUXGGX.js} +23 -23
- package/dist/{parser-XFU3VRWM.js → parser-5E4Z3ME5.js} +16 -16
- package/dist/{parser-JPWANPLM.js → parser-FPBBI4AE.js} +12 -12
- package/dist/{parser-RB6CBNAM.cjs → parser-W4MNQL73.cjs} +166 -166
- package/dist/{parser-RB6CBNAM.cjs.map → parser-W4MNQL73.cjs.map} +1 -1
- package/dist/{pdf-ocr-ZV3KYIIE.js → pdf-ocr-GHVGOTJG.js} +9 -9
- package/dist/pdf-ocr-SPAU33VI.cjs +42 -0
- package/dist/{pdf-ocr-NOJHEH4M.cjs.map → pdf-ocr-SPAU33VI.cjs.map} +1 -1
- package/dist/{pdf-ocr-XTZZEYKJ.js → pdf-ocr-ZXEEUV72.js} +6 -6
- package/dist/{profile-io-FAJORRD2.js → profile-io-RF7AHAZE.js} +3 -3
- package/dist/{rasterize-4ZJUA2DZ.js → rasterize-GJH24CGX.js} +3 -3
- package/dist/{redact-doc-JPNROEH6.js → redact-doc-W4DR6BTT.js} +29 -29
- package/dist/{render-D4WBOBKI.js → render-OLEQELZH.js} +12 -12
- package/dist/{rewrite-fallback-OF3QI6CX.js → rewrite-fallback-4MVCADX7.js} +13 -13
- package/dist/seal-JJLC6UDD.js +16 -0
- package/dist/{setup-YC25YCQB.js → setup-BMJI6RBB.js} +3 -3
- package/dist/to-hwpx-2Y5V456C.cjs +16 -0
- package/dist/{to-hwpx-LUA6F5RR.cjs.map → to-hwpx-2Y5V456C.cjs.map} +1 -1
- package/dist/{to-hwpx-ZWN64NCQ.js → to-hwpx-XHJFVCD4.js} +4 -4
- package/dist/{to-hwpx-D7OMPDUQ.js → to-hwpx-Z5WGF6YZ.js} +7 -7
- package/dist/visual-QGD23ZDN.js +37 -0
- package/dist/{watch-ZU576VSR.js → watch-F5TGSLKR.js} +23 -23
- package/package.json +1 -1
- package/dist/chunk-367WLMPO.cjs.map +0 -1
- package/dist/chunk-7KKL3PRK.js.map +0 -1
- package/dist/chunk-DA5AXURC.js.map +0 -1
- package/dist/chunk-M5RQ2PNP.js.map +0 -1
- package/dist/chunk-PVV6OY4M.cjs.map +0 -1
- package/dist/chunk-S54DZB2Z.js.map +0 -1
- package/dist/chunks-Q7242OJE.js +0 -11
- package/dist/generator-FTM6GOGB.cjs +0 -11
- package/dist/generator-Q3L7RNUY.js +0 -17
- package/dist/generator-SU73HZHR.js +0 -10
- package/dist/memo-T5ZQEXEA.js +0 -17
- package/dist/pdf-ocr-NOJHEH4M.cjs +0 -42
- package/dist/seal-DQWEHIAM.js +0 -16
- package/dist/to-hwpx-LUA6F5RR.cjs +0 -16
- package/dist/visual-SW7NPY6K.js +0 -37
- /package/dist/{-22V6D2US.js.map → -C2A4JYBB.js.map} +0 -0
- /package/dist/{chunk-R2RLNUNK.js.map → chunk-3HX37NQI.js.map} +0 -0
- /package/dist/{chunk-UU54HN5I.js.map → chunk-6X5OZ32D.js.map} +0 -0
- /package/dist/{chunk-OAETOHH3.js.map → chunk-CV7R6GFL.js.map} +0 -0
- /package/dist/{chunk-67GSFYG7.js.map → chunk-EEXZI6FB.js.map} +0 -0
- /package/dist/{chunk-DAAJO62F.js.map → chunk-FTUYGBVA.js.map} +0 -0
- /package/dist/{chunk-HW7WVYBF.js.map → chunk-G3COIDD5.js.map} +0 -0
- /package/dist/{chunk-LOSCIAHY.js.map → chunk-H5WXX55M.js.map} +0 -0
- /package/dist/{chunk-HETGOJ6V.js.map → chunk-JLXFH46H.js.map} +0 -0
- /package/dist/{chunk-RQLEGKEV.js.map → chunk-KKVUDW3R.js.map} +0 -0
- /package/dist/{chunk-AUAJVQQK.js.map → chunk-LJP2C7HY.js.map} +0 -0
- /package/dist/{chunk-CCQMSIZQ.js.map → chunk-MFHYWNRB.js.map} +0 -0
- /package/dist/{chunk-4MWUBTAE.js.map → chunk-MGASIGAK.js.map} +0 -0
- /package/dist/{chunk-EYSXMDA7.js.map → chunk-PSUE7IEJ.js.map} +0 -0
- /package/dist/{chunk-WLFZOBZR.js.map → chunk-R2KOKVE6.js.map} +0 -0
- /package/dist/{chunk-ZF24SO45.js.map → chunk-RFMTK6QQ.js.map} +0 -0
- /package/dist/{chunk-LCRSRVFJ.js.map → chunk-SAJPPKP6.js.map} +0 -0
- /package/dist/{chunk-L3JP55ZY.js.map → chunk-SFNUS2L2.js.map} +0 -0
- /package/dist/{chunk-4HJKBRZJ.js.map → chunk-SHPWOK54.js.map} +0 -0
- /package/dist/{chunk-PMGJQWSW.js.map → chunk-SSITTA7K.js.map} +0 -0
- /package/dist/{chunk-Q7FDPJUS.js.map → chunk-TAVJD44R.js.map} +0 -0
- /package/dist/{chunk-VMOUAWGD.js.map → chunk-TBVTRCQO.js.map} +0 -0
- /package/dist/{chunk-KXHUHGMC.js.map → chunk-UGVLPUEO.js.map} +0 -0
- /package/dist/{chunk-AXW2FMVR.js.map → chunk-UHNUEHHP.js.map} +0 -0
- /package/dist/{chunk-6BFWLS7E.js.map → chunk-WI5QVMJ2.js.map} +0 -0
- /package/dist/{chunk-Y6QW3FJQ.js.map → chunk-WJZJYJCP.js.map} +0 -0
- /package/dist/{chunk-MLBX6KQM.js.map → chunk-XKGH2UJU.js.map} +0 -0
- /package/dist/{chunk-KB4ORA7M.js.map → chunk-YJJGETLN.js.map} +0 -0
- /package/dist/{chunk-LFFARZYZ.js.map → chunk-YXG74TXU.js.map} +0 -0
- /package/dist/{chunk-MIJTZKWF.js.map → chunk-ZYMXAFG6.js.map} +0 -0
- /package/dist/{chunks-Q7242OJE.js.map → chunks-2XOX7XKP.js.map} +0 -0
- /package/dist/{formula-BYEDWWZU.js.map → formula-CSMUW37Z.js.map} +0 -0
- /package/dist/{formula-FQLMMBDP.js.map → formula-NEZQU4VT.js.map} +0 -0
- /package/dist/{generator-Q3L7RNUY.js.map → generator-J2I6FY5A.js.map} +0 -0
- /package/dist/{generator-SU73HZHR.js.map → generator-V7WALYIG.js.map} +0 -0
- /package/dist/{image-ocr-VIGZE4YL.js.map → image-ocr-EDD2FWK3.js.map} +0 -0
- /package/dist/{image-ocr-7Y3FCGRR.js.map → image-ocr-KGEUPOG5.js.map} +0 -0
- /package/dist/{memo-T5ZQEXEA.js.map → memo-HW332L2B.js.map} +0 -0
- /package/dist/{model-bundle-UJRQPYUU.js.map → model-bundle-JQBHF6XK.js.map} +0 -0
- /package/dist/{models-64YLAWTI.js.map → models-YWD5GLFW.js.map} +0 -0
- /package/dist/{parse-worker-v2-QWQZKFQO.js.map → parse-worker-v2-NXKUXGGX.js.map} +0 -0
- /package/dist/{parser-XFU3VRWM.js.map → parser-5E4Z3ME5.js.map} +0 -0
- /package/dist/{parser-JPWANPLM.js.map → parser-FPBBI4AE.js.map} +0 -0
- /package/dist/{pdf-ocr-XTZZEYKJ.js.map → pdf-ocr-GHVGOTJG.js.map} +0 -0
- /package/dist/{pdf-ocr-ZV3KYIIE.js.map → pdf-ocr-ZXEEUV72.js.map} +0 -0
- /package/dist/{profile-io-FAJORRD2.js.map → profile-io-RF7AHAZE.js.map} +0 -0
- /package/dist/{rasterize-4ZJUA2DZ.js.map → rasterize-GJH24CGX.js.map} +0 -0
- /package/dist/{redact-doc-JPNROEH6.js.map → redact-doc-W4DR6BTT.js.map} +0 -0
- /package/dist/{render-D4WBOBKI.js.map → render-OLEQELZH.js.map} +0 -0
- /package/dist/{rewrite-fallback-OF3QI6CX.js.map → rewrite-fallback-4MVCADX7.js.map} +0 -0
- /package/dist/{seal-DQWEHIAM.js.map → seal-JJLC6UDD.js.map} +0 -0
- /package/dist/{setup-YC25YCQB.js.map → setup-BMJI6RBB.js.map} +0 -0
- /package/dist/{to-hwpx-D7OMPDUQ.js.map → to-hwpx-XHJFVCD4.js.map} +0 -0
- /package/dist/{to-hwpx-ZWN64NCQ.js.map → to-hwpx-Z5WGF6YZ.js.map} +0 -0
- /package/dist/{visual-SW7NPY6K.js.map → visual-QGD23ZDN.js.map} +0 -0
- /package/dist/{watch-ZU576VSR.js.map → watch-F5TGSLKR.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/utils.ts
|
|
2
|
-
var VERSION = true ? "4.24.
|
|
2
|
+
var VERSION = true ? "4.24.50" : "0.0.0-dev";
|
|
3
3
|
function toArrayBuffer(buf) {
|
|
4
4
|
if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
|
|
5
5
|
return buf.buffer;
|
|
@@ -161,4 +161,4 @@ export {
|
|
|
161
161
|
classifyError,
|
|
162
162
|
partExtension
|
|
163
163
|
};
|
|
164
|
-
//# sourceMappingURL=chunk-
|
|
164
|
+
//# sourceMappingURL=chunk-FTUYGBVA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
assertNetworkAllowed
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UHNUEHHP.js";
|
|
5
5
|
|
|
6
6
|
// src/pdf/formula/models.ts
|
|
7
7
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -296,4 +296,4 @@ export {
|
|
|
296
296
|
ensureFormulaModels,
|
|
297
297
|
ensureSingleModel
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
299
|
+
//# sourceMappingURL=chunk-G3COIDD5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-WFKFG2RT.js";
|
|
5
5
|
import {
|
|
6
6
|
KordocError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UGVLPUEO.js";
|
|
8
8
|
|
|
9
9
|
// src/hwp5/record.ts
|
|
10
10
|
import { inflateRawSync, inflateSync } from "zlib";
|
|
@@ -402,4 +402,4 @@ export {
|
|
|
402
402
|
appendParaText,
|
|
403
403
|
extractEquationText
|
|
404
404
|
};
|
|
405
|
-
//# sourceMappingURL=chunk-
|
|
405
|
+
//# sourceMappingURL=chunk-H5WXX55M.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
escapeHtml,
|
|
7
7
|
sanitizeHref
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UGVLPUEO.js";
|
|
9
9
|
|
|
10
10
|
// src/table/builder.ts
|
|
11
11
|
var MAX_COLS = 200;
|
|
@@ -683,4 +683,4 @@ export {
|
|
|
683
683
|
hasInlineCellBlocks,
|
|
684
684
|
cellToMarkdown
|
|
685
685
|
};
|
|
686
|
-
//# sourceMappingURL=chunk-
|
|
686
|
+
//# sourceMappingURL=chunk-JLXFH46H.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createXmlParser,
|
|
4
4
|
findChildByLocalName
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YJJGETLN.js";
|
|
6
6
|
|
|
7
7
|
// src/render/head-styles.ts
|
|
8
8
|
var DEFAULT_PARA_GEOM = {
|
|
@@ -346,4 +346,4 @@ export {
|
|
|
346
346
|
hwpFaceToCssStack,
|
|
347
347
|
parseRenderStyles
|
|
348
348
|
};
|
|
349
|
-
//# sourceMappingURL=chunk-
|
|
349
|
+
//# sourceMappingURL=chunk-KKVUDW3R.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ensureModelsIn,
|
|
4
4
|
getModelStatusIn,
|
|
5
5
|
getModelsDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G3COIDD5.js";
|
|
7
7
|
|
|
8
8
|
// src/ocr/models.ts
|
|
9
9
|
import { join } from "path";
|
|
@@ -175,4 +175,4 @@ export {
|
|
|
175
175
|
parseCharacterDict,
|
|
176
176
|
ocrModelPath
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-LJP2C7HY.js.map
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SPACE_EM_FIXED,
|
|
4
|
+
charWidthEm1000,
|
|
5
|
+
faceClassForGen,
|
|
6
|
+
fitRatioForFewerLines,
|
|
7
|
+
measureTextWidth,
|
|
8
|
+
noteAttrsOf,
|
|
9
|
+
noteAutoNumOf,
|
|
10
|
+
noteRefMark,
|
|
11
|
+
prepareWrap,
|
|
12
|
+
readSectionNoteFormats,
|
|
13
|
+
resolveParaHeading,
|
|
14
|
+
simulateWrap
|
|
15
|
+
} from "./chunk-ZYMXAFG6.js";
|
|
2
16
|
import {
|
|
3
17
|
applySplices,
|
|
4
18
|
buildMappedRangeSplices,
|
|
@@ -13,20 +27,6 @@ import {
|
|
|
13
27
|
puaShownMap,
|
|
14
28
|
scanSectionXml
|
|
15
29
|
} from "./chunk-3AHL6YEA.js";
|
|
16
|
-
import {
|
|
17
|
-
SPACE_EM_FIXED,
|
|
18
|
-
charWidthEm1000,
|
|
19
|
-
faceClassForGen,
|
|
20
|
-
fitRatioForFewerLines,
|
|
21
|
-
measureTextWidth,
|
|
22
|
-
noteAttrsOf,
|
|
23
|
-
noteAutoNumOf,
|
|
24
|
-
noteRefMark,
|
|
25
|
-
prepareWrap,
|
|
26
|
-
readSectionNoteFormats,
|
|
27
|
-
resolveParaHeading,
|
|
28
|
-
simulateWrap
|
|
29
|
-
} from "./chunk-MIJTZKWF.js";
|
|
30
30
|
import {
|
|
31
31
|
MAX_DECOMPRESS_SIZE,
|
|
32
32
|
MAX_XML_DEPTH,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
extractTextFromNode,
|
|
39
39
|
findChildByLocalName,
|
|
40
40
|
readZipEntry
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YJJGETLN.js";
|
|
42
42
|
import {
|
|
43
43
|
CONVERT_MAP,
|
|
44
44
|
MIDDLE_CONVERT_MAP,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
escapeLiteralTags,
|
|
58
58
|
tidyScriptTags,
|
|
59
59
|
wrapScript
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SAJPPKP6.js";
|
|
61
61
|
import {
|
|
62
62
|
MAX_COLS,
|
|
63
63
|
MAX_ROWS,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
noteTableHtml,
|
|
75
75
|
sanitizeText,
|
|
76
76
|
visibleText
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-JLXFH46H.js";
|
|
78
78
|
import {
|
|
79
79
|
circledHangul,
|
|
80
80
|
circledNumber,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
sanitizeHref,
|
|
93
93
|
stripDtd,
|
|
94
94
|
unescapeHtml
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-UGVLPUEO.js";
|
|
96
96
|
|
|
97
97
|
// src/hwpx/generator.ts
|
|
98
98
|
import JSZip2 from "jszip";
|
|
@@ -10921,4 +10921,4 @@ export {
|
|
|
10921
10921
|
markdownToHwpxFromTemplate,
|
|
10922
10922
|
markdownToHwpx
|
|
10923
10923
|
};
|
|
10924
|
-
//# sourceMappingURL=chunk-
|
|
10924
|
+
//# sourceMappingURL=chunk-MFHYWNRB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KordocError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FTUYGBVA.js";
|
|
4
4
|
|
|
5
5
|
// src/pdf/formula/models.ts
|
|
6
6
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -310,4 +310,4 @@ export {
|
|
|
310
310
|
ensureFormulaModels,
|
|
311
311
|
ensureSingleModel
|
|
312
312
|
};
|
|
313
|
-
//# sourceMappingURL=chunk-
|
|
313
|
+
//# sourceMappingURL=chunk-MGASIGAK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXOL2UOIWcjs = require('./chunk-XOL2UOIW.cjs');
|
|
5
5
|
|
|
6
6
|
// src/script-tags.ts
|
|
7
7
|
var LITERAL_TAG = /<(?=\/?(?:u|sup|sub)>)/g;
|
|
@@ -956,7 +956,7 @@ function blocksToMarkdown(blocks, options) {
|
|
|
956
956
|
if (_optionalChain([block, 'access', _38 => _38.spans, 'optionalAccess', _39 => _39.length])) {
|
|
957
957
|
let rendered = spansToMarkdown(block.spans);
|
|
958
958
|
if (block.href) {
|
|
959
|
-
const href =
|
|
959
|
+
const href = _chunkXOL2UOIWcjs.sanitizeHref.call(void 0, block.href);
|
|
960
960
|
if (href) rendered = `[${rendered}](${href})`;
|
|
961
961
|
}
|
|
962
962
|
if (block.footnoteText) rendered += noteTable || escapeGfm(` (\uC8FC: ${block.footnoteText})`);
|
|
@@ -964,7 +964,7 @@ function blocksToMarkdown(blocks, options) {
|
|
|
964
964
|
continue;
|
|
965
965
|
}
|
|
966
966
|
if (block.href) {
|
|
967
|
-
const href =
|
|
967
|
+
const href = _chunkXOL2UOIWcjs.sanitizeHref.call(void 0, block.href);
|
|
968
968
|
if (href) text = `[${text}](${href})`;
|
|
969
969
|
}
|
|
970
970
|
if (block.footnoteText && !noteTable) {
|
|
@@ -1053,7 +1053,7 @@ function visibleText(b) {
|
|
|
1053
1053
|
return _optionalChain([b, 'access', _53 => _53.spans, 'optionalAccess', _54 => _54.some, 'call', _55 => _55((s) => s.placeholder)]) ? b.spans.filter((s) => !s.placeholder).map((s) => s.text).join("") : _nullishCoalesce(b.text, () => ( ""));
|
|
1054
1054
|
}
|
|
1055
1055
|
function escapeHtmlCellText(text) {
|
|
1056
|
-
return
|
|
1056
|
+
return _chunkXOL2UOIWcjs.escapeHtml.call(void 0, text).replace(/(\\)?<(\/?)(u|sup|sub)>/g, (_, esc, sl, tag) => esc ? `<${sl}${tag}>` : `<${sl}${tag}>`);
|
|
1057
1057
|
}
|
|
1058
1058
|
function cellInnerHtml(cell) {
|
|
1059
1059
|
if (_optionalChain([cell, 'access', _56 => _56.blocks, 'optionalAccess', _57 => _57.length])) {
|
|
@@ -1062,7 +1062,7 @@ function cellInnerHtml(cell) {
|
|
|
1062
1062
|
const cap = captionToHtml(b.table);
|
|
1063
1063
|
return (cap ? cap + "<br>" : "") + tableToHtml(b.table);
|
|
1064
1064
|
}
|
|
1065
|
-
if (b.type === "image" && b.text) return `<img src="${
|
|
1065
|
+
if (b.type === "image" && b.text) return `<img src="${_chunkXOL2UOIWcjs.escapeHtml.call(void 0, b.text, true)}" alt="image">` + (_nullishCoalesce(b.qr, () => ( []))).map((v) => "<br>" + escapeHtmlCellText(v).replace(/\r?\n/g, "<br>")).join("");
|
|
1066
1066
|
const note = noteTableHtml(b);
|
|
1067
1067
|
const t = (sanitizeText(visibleText(b)) + (note ? "" : noteSuffix(b))).trim();
|
|
1068
1068
|
return ((t ? escapeHtmlCellText(t).replace(/\n/g, "<br>") : "") + note).trim();
|
|
@@ -1540,4 +1540,4 @@ var HEADING_RATIO_H3 = 1.15;
|
|
|
1540
1540
|
|
|
1541
1541
|
|
|
1542
1542
|
exports.escapeLiteralTags = escapeLiteralTags; exports.wrapScript = wrapScript; exports.tidyScriptTags = tidyScriptTags; exports.plainScripts = plainScripts; exports.stripScriptTags = stripScriptTags; exports.WINGDINGS = WINGDINGS; exports.hangulOrdinal = hangulOrdinal; exports.circledNumber = circledNumber; exports.circledHangul = circledHangul; exports.hangulAmount = hangulAmount; exports.romanNumeral = romanNumeral; exports.enclosedNumber = enclosedNumber; exports.composeDigits = composeDigits; exports.pairedNumber = pairedNumber; exports.composeText = composeText; exports.mapPuaText = mapPuaText; exports.MAX_COLS = MAX_COLS; exports.MAX_ROWS = MAX_ROWS; exports.MAX_TABLE_CELLS = MAX_TABLE_CELLS; exports.buildTable = buildTable; exports.captionedText = captionedText; exports.convertTableToText = convertTableToText; exports.escapeGfm = escapeGfm; exports.escapeLiteralDollar = escapeLiteralDollar; exports.sanitizeText = sanitizeText; exports.markNonLayoutTable = markNonLayoutTable; exports.flattenLayoutTables = flattenLayoutTables; exports.dedupeRunningHeaders = dedupeRunningHeaders; exports.assignTableIds = assignTableIds; exports.blocksToMarkdown = blocksToMarkdown; exports.hasStructuredCellContent = hasStructuredCellContent; exports.noteSuffix = noteSuffix; exports.noteTableHtml = noteTableHtml; exports.visibleText = visibleText; exports.escapeHtmlCellText = escapeHtmlCellText; exports.hasInlineCellBlocks = hasInlineCellBlocks; exports.cellToMarkdown = cellToMarkdown; exports.CELL_EDGES = CELL_EDGES; exports.CELL_PAGES = CELL_PAGES; exports.CONTENT_CELLS = CONTENT_CELLS; exports.CELL_BASELINES = CELL_BASELINES; exports.toTex = toTex; exports.unframeLayoutTables = unframeLayoutTables; exports.HEADING_RATIO_H1 = HEADING_RATIO_H1; exports.HEADING_RATIO_H2 = HEADING_RATIO_H2; exports.HEADING_RATIO_H3 = HEADING_RATIO_H3;
|
|
1543
|
-
//# sourceMappingURL=chunk-
|
|
1543
|
+
//# sourceMappingURL=chunk-NTTH2JV3.cjs.map
|