@silurus/ooxml 0.74.5 → 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.
Files changed (47) hide show
  1. package/README.md +105 -6
  2. package/dist/bounded-raw-part-cache-BTfZD_Sz.js +1248 -0
  3. package/dist/{docx-DftZMp7R.js → document-pull-client-H80_E10V.js} +11165 -11517
  4. package/dist/docx-BX0mJqS1.js +1274 -0
  5. package/dist/docx.mjs +6 -3
  6. package/dist/docx_parser_bg.wasm +0 -0
  7. package/dist/duotone-bitmap-by-path-Dv5Ikbzl.js +28 -0
  8. package/dist/find-cursor-Dc5iM6s7.js +815 -0
  9. package/dist/highlight-rect-cCvVU-MW.js +48 -0
  10. package/dist/hyperlink-D85FexTa.js +27 -0
  11. package/dist/index.mjs +4 -4
  12. package/dist/{highlight-rect-IjFkGg4X.js → line-distribute-DkLgIa7B.js} +37 -84
  13. package/dist/{find-cursor-DtgyGs5V.js → line-metrics-qwIyTk7Q.js} +1169 -3641
  14. package/dist/math.mjs +1 -1
  15. package/dist/node.mjs +998 -0
  16. package/dist/pptx-BEYjiTnZ.js +822 -0
  17. package/dist/pptx-CXgyi7wu.js +1705 -0
  18. package/dist/pptx.mjs +7 -3
  19. package/dist/pptx_parser_bg.wasm +0 -0
  20. package/dist/preload-BEouWnlI.js +132 -0
  21. package/dist/render-C0wMf5eT.js +71 -0
  22. package/dist/render-worker-host-CLdOlxFu.js +27 -0
  23. package/dist/render-worker-host-DZ4u0RFs.js +27 -0
  24. package/dist/render-worker-host-s3J-mWBP.js +27 -0
  25. package/dist/renderer-CwzTv9hH.js +5225 -0
  26. package/dist/resource-measurement-6aReN3K0.js +93 -0
  27. package/dist/slide-pull-client-D_T0AIoX.js +175 -0
  28. package/dist/svg-image-by-path-C1M3N2pT.js +1623 -0
  29. package/dist/transfer-3QEJrsJa.js +6 -0
  30. package/dist/types/docx.d.ts +290 -105
  31. package/dist/types/index.d.ts +399 -142
  32. package/dist/types/math.d.ts +1 -1
  33. package/dist/types/node.d.ts +4855 -0
  34. package/dist/types/pptx.d.ts +431 -245
  35. package/dist/types/xlsx.d.ts +320 -120
  36. package/dist/visible-index-CKvgpUrf.js +17 -0
  37. package/dist/worksheet-pull-worker-DCei8u-4.js +347 -0
  38. package/dist/{xlsx-BqMHvfsE.js → xlsx-DJyPlzjB.js} +1499 -1284
  39. package/dist/xlsx.mjs +7 -3
  40. package/dist/xlsx_parser_bg.wasm +0 -0
  41. package/package.json +12 -2
  42. package/dist/pptx-BxU0Lb3J.js +0 -6761
  43. package/dist/render-worker-host-Bcm9j4-H.js +0 -27
  44. package/dist/render-worker-host-BqSTDaYt.js +0 -27
  45. package/dist/render-worker-host-C523QxVw.js +0 -27
  46. package/dist/visible-index-C3_3gBg-.js +0 -50
  47. /package/dist/{mathjax-BPjQ2C_j.js → mathjax-Dqo857oC.js} +0 -0
package/dist/xlsx.mjs CHANGED
@@ -1,3 +1,7 @@
1
- import { Yt as e, _t as t, l as n } from "./find-cursor-DtgyGs5V.js";
2
- import { i as r, n as i, r as a } from "./xlsx-BqMHvfsE.js";
3
- export { e as OoxmlError, i as XlsxViewer, a as XlsxWorkbook, t as autoResize, n as openExternalHyperlink, r as resolveSharedStrings };
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 };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silurus/ooxml",
3
- "version": "0.74.5",
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-docx-public-api.test.mjs",
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"