@silurus/ooxml 0.74.6 → 0.75.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/README.md +105 -6
- package/dist/bounded-raw-part-cache-BTfZD_Sz.js +1248 -0
- package/dist/{docx-DftZMp7R.js → document-pull-client-H80_E10V.js} +11165 -11517
- package/dist/docx-BX0mJqS1.js +1274 -0
- package/dist/docx.mjs +6 -3
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/duotone-bitmap-by-path-Dv5Ikbzl.js +28 -0
- package/dist/find-cursor-Dc5iM6s7.js +815 -0
- package/dist/highlight-rect-cCvVU-MW.js +48 -0
- package/dist/hyperlink-D85FexTa.js +27 -0
- package/dist/index.mjs +4 -4
- package/dist/{highlight-rect-IjFkGg4X.js → line-distribute-DkLgIa7B.js} +37 -84
- package/dist/{find-cursor-DtgyGs5V.js → line-metrics-qwIyTk7Q.js} +1169 -3641
- package/dist/math.mjs +1 -1
- package/dist/node.mjs +998 -0
- package/dist/pptx-BEYjiTnZ.js +822 -0
- package/dist/pptx-CXgyi7wu.js +1705 -0
- package/dist/pptx.mjs +7 -3
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/preload-BEouWnlI.js +132 -0
- package/dist/render-C0wMf5eT.js +71 -0
- package/dist/render-worker-host-CLdOlxFu.js +27 -0
- package/dist/render-worker-host-DZ4u0RFs.js +27 -0
- package/dist/render-worker-host-s3J-mWBP.js +27 -0
- package/dist/renderer-CwzTv9hH.js +5225 -0
- package/dist/resource-measurement-6aReN3K0.js +93 -0
- package/dist/slide-pull-client-D_T0AIoX.js +175 -0
- package/dist/svg-image-by-path-C1M3N2pT.js +1623 -0
- package/dist/transfer-3QEJrsJa.js +6 -0
- package/dist/types/docx.d.ts +290 -105
- package/dist/types/index.d.ts +399 -142
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +4855 -0
- package/dist/types/pptx.d.ts +431 -245
- package/dist/types/xlsx.d.ts +320 -120
- package/dist/visible-index-CKvgpUrf.js +17 -0
- package/dist/worksheet-pull-worker-DCei8u-4.js +347 -0
- package/dist/{xlsx-BqMHvfsE.js → xlsx-DJyPlzjB.js} +1499 -1284
- package/dist/xlsx.mjs +7 -3
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +12 -2
- package/dist/pptx-qbadwIv4.js +0 -6761
- package/dist/render-worker-host-Bcm9j4-H.js +0 -27
- package/dist/render-worker-host-BqSTDaYt.js +0 -27
- package/dist/render-worker-host-C523QxVw.js +0 -27
- package/dist/visible-index-C3_3gBg-.js +0 -50
- /package/dist/{mathjax-BPjQ2C_j.js → mathjax-Dqo857oC.js} +0 -0
package/dist/xlsx.mjs
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { M as e, N as t } from "./bounded-raw-part-cache-BTfZD_Sz.js";
|
|
2
|
+
import { p as n } from "./find-cursor-Dc5iM6s7.js";
|
|
3
|
+
import { f as r, p as i } from "./svg-image-by-path-C1M3N2pT.js";
|
|
4
|
+
import { n as a, r as o } from "./xlsx-DJyPlzjB.js";
|
|
5
|
+
import { r as s } from "./hyperlink-D85FexTa.js";
|
|
6
|
+
import { d as c } from "./worksheet-pull-worker-DCei8u-4.js";
|
|
7
|
+
export { r as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, a as XlsxViewer, o as XlsxWorkbook, n as autoResize, i as isOoxmlDecodedImageLimitError, s as openExternalHyperlink, c as resolveSharedStrings };
|
package/dist/xlsx_parser_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silurus/ooxml",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.0",
|
|
4
4
|
"description": "Browser-based OOXML viewer (docx/xlsx/pptx) — Rust/WASM parser + Canvas renderer",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yuki Yokotani <silurus.dev@gmail.com>",
|
|
@@ -60,6 +60,11 @@
|
|
|
60
60
|
"types": "./dist/types/math.d.ts",
|
|
61
61
|
"import": "./dist/math.mjs",
|
|
62
62
|
"default": "./dist/math.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./node": {
|
|
65
|
+
"types": "./dist/types/node.d.ts",
|
|
66
|
+
"import": "./dist/node.mjs",
|
|
67
|
+
"default": "./dist/node.mjs"
|
|
63
68
|
}
|
|
64
69
|
},
|
|
65
70
|
"devDependencies": {
|
|
@@ -97,7 +102,12 @@
|
|
|
97
102
|
"lint:test": "ast-grep test --skip-snapshot-tests",
|
|
98
103
|
"test:docx-boundaries": "node --test scripts/check-docx-layout-boundaries.test.mjs",
|
|
99
104
|
"test:docx-compatibility": "node --test scripts/check-docx-compatibility-evidence.test.mjs",
|
|
100
|
-
"test:docx-public-api": "node --test scripts/check-
|
|
105
|
+
"test:docx-public-api": "node --test scripts/check-public-api.test.mjs",
|
|
106
|
+
"generate:resource-policy": "node scripts/generate-ooxml-resource-policy.mjs --write",
|
|
107
|
+
"check:resource-policy": "node scripts/generate-ooxml-resource-policy.mjs",
|
|
108
|
+
"test:resource-policy": "node --test scripts/generate-ooxml-resource-policy.test.mjs",
|
|
109
|
+
"check:public-api": "pnpm build && pnpm check:public-api:built",
|
|
110
|
+
"check:public-api:built": "node scripts/check-public-api.mjs && node scripts/check-public-api.mjs --entry xlsx.d.ts --baseline packages/xlsx/api/public-api-baseline.d.ts --label XLSX && node scripts/check-public-api.mjs --entry pptx.d.ts --baseline packages/pptx/api/public-api-baseline.d.ts --label PPTX",
|
|
101
111
|
"check:public-type-exports": "node scripts/check-public-type-exports.mjs",
|
|
102
112
|
"check:docx-compatibility": "node scripts/check-docx-compatibility-evidence.mjs",
|
|
103
113
|
"test:docx-package-build": "node --test scripts/check-docx-package-build.test.mjs"
|