ooxml-core 1.43.0 → 1.45.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 (69) hide show
  1. package/dist/{PptxHandler-V23RDNEX.cjs → PptxHandler-3RDVJFQV.cjs} +2 -2
  2. package/dist/{PptxHandler-WB3KL2WH.mjs → PptxHandler-EI6DMHPM.mjs} +1 -1
  3. package/dist/{PptxHandler-3VAVJDFB.mjs → PptxHandler-FXLXIOLT.mjs} +2 -2
  4. package/dist/{PresentationBuilder-7LJMTRJ6.mjs → PresentationBuilder-3FKFRSSV.mjs} +2 -2
  5. package/dist/{PresentationBuilder-KHL6GONR.cjs → PresentationBuilder-CSKLG64K.cjs} +4 -4
  6. package/dist/{PresentationBuilder-PY2GB4IG.mjs → PresentationBuilder-DDYHRV26.mjs} +1 -1
  7. package/dist/automation/index.cjs +10 -1
  8. package/dist/automation/index.mjs +10 -1
  9. package/dist/chart/edit/fill.d.ts +6 -2
  10. package/dist/chart/edit/fill.d.ts.map +1 -1
  11. package/dist/chart/index.cjs +12 -3
  12. package/dist/chart/index.mjs +12 -3
  13. package/dist/{chunk-HLYOHD2Z.mjs → chunk-CVJX6NNO.mjs} +438 -108
  14. package/dist/{chunk-243ZYX2B.mjs → chunk-GGJUWJXB.mjs} +1 -1
  15. package/dist/{chunk-KCDLTVUI.mjs → chunk-GXYK3H4O.mjs} +1 -1
  16. package/dist/{chunk-WEAWSXUX.mjs → chunk-LCXBTJXE.mjs} +4 -4
  17. package/dist/{chunk-JHYU7HGG.mjs → chunk-RVYGAYCP.mjs} +1 -1
  18. package/dist/{chunk-4LEVL6ZW.mjs → chunk-U5BXJQZG.mjs} +457 -105
  19. package/dist/{chunk-RNZQ2OU4.cjs → chunk-YBSNMVSN.cjs} +437 -107
  20. package/dist/index.cjs +164 -71
  21. package/dist/index.mjs +165 -72
  22. package/dist/opc/declared-fonts.d.ts +9 -0
  23. package/dist/opc/declared-fonts.d.ts.map +1 -0
  24. package/dist/opc/index.cjs +84 -0
  25. package/dist/opc/index.d.ts +1 -0
  26. package/dist/opc/index.d.ts.map +1 -1
  27. package/dist/opc/index.mjs +85 -2
  28. package/dist/pptx/automation/index.cjs +529 -167
  29. package/dist/pptx/automation/index.d.ts +6 -6
  30. package/dist/pptx/automation/index.mjs +5 -5
  31. package/dist/pptx/chunks/{elements-PBugbKtv.d.ts → elements-B4Z6N-Gz.d.ts} +4 -477
  32. package/dist/pptx/chunks/elements-B4Z6N-Gz.d.ts.map +1 -0
  33. package/dist/pptx/chunks/{index-CCJiD-Bm.d.ts → index-6Ot1b-4U.d.ts} +6 -6
  34. package/dist/pptx/chunks/{index-CCJiD-Bm.d.ts.map → index-6Ot1b-4U.d.ts.map} +1 -1
  35. package/dist/pptx/chunks/{index-CGNb1TV9.d.ts → index-DGKI80Hj.d.ts} +61 -6
  36. package/dist/pptx/chunks/{index-CGNb1TV9.d.ts.map → index-DGKI80Hj.d.ts.map} +1 -1
  37. package/dist/pptx/chunks/{index-Bj-hur0D.d.ts → index-jdZUtLGB.d.ts} +4 -4
  38. package/dist/pptx/chunks/{index-Bj-hur0D.d.ts.map → index-jdZUtLGB.d.ts.map} +1 -1
  39. package/dist/pptx/chunks/{table-C7ITXL3Y.d.ts → table-BfgZfw5R.d.ts} +488 -4
  40. package/dist/pptx/chunks/table-BfgZfw5R.d.ts.map +1 -0
  41. package/dist/pptx/chunks/{text-operations-BNJr7aGa.d.ts → text-operations-Mek86RBL.d.ts} +3 -3
  42. package/dist/pptx/chunks/{text-operations-BNJr7aGa.d.ts.map → text-operations-Mek86RBL.d.ts.map} +1 -1
  43. package/dist/pptx/cli/index.cjs +525 -163
  44. package/dist/pptx/cli/index.d.ts +1 -1
  45. package/dist/pptx/cli/index.mjs +4 -4
  46. package/dist/pptx/converter/index.d.ts +1 -1
  47. package/dist/pptx/converter/index.mjs +2 -2
  48. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  49. package/dist/pptx/editor/render/slide-operations.cjs +1 -1
  50. package/dist/pptx/editor/render/slide-operations.mjs +1 -1
  51. package/dist/pptx/editor/render/table-layout.d.ts +1 -1
  52. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
  53. package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
  54. package/dist/pptx/index.cjs +558 -168
  55. package/dist/pptx/index.d.ts +7 -7
  56. package/dist/pptx/index.mjs +5 -5
  57. package/dist/pptx/node/index.d.ts +1 -1
  58. package/dist/xlsx/index.cjs +10 -1
  59. package/dist/xlsx/index.mjs +10 -1
  60. package/dist/xlsx/ui/index.cjs +50 -6
  61. package/dist/xlsx/ui/index.mjs +50 -6
  62. package/dist/xlsx/ui/locales/de/options.d.ts.map +1 -1
  63. package/dist/xlsx/ui/locales/en/options.d.ts.map +1 -1
  64. package/dist/xlsx/ui/locales/es/options.d.ts.map +1 -1
  65. package/dist/xlsx/ui/locales/fr/options.d.ts.map +1 -1
  66. package/dist/xlsx/ui/locales/zh-CN/options.d.ts.map +1 -1
  67. package/package.json +1 -1
  68. package/dist/pptx/chunks/elements-PBugbKtv.d.ts.map +0 -1
  69. package/dist/pptx/chunks/table-C7ITXL3Y.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { a as MergeOptions, t as FindResult } from "../chunks/text-operations-BNJr7aGa.js";
1
+ import { a as MergeOptions, t as FindResult } from "../chunks/text-operations-Mek86RBL.js";
2
2
  /** Result from the `info` command. */
3
3
  interface InfoResult {
4
4
  slideCount: number;
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { replaceText, findText, mergePresentation } from '../../chunk-243ZYX2B.mjs';
3
- import { PptxMarkdownConverter } from '../../chunk-JHYU7HGG.mjs';
4
- import { PptxHandler } from '../../chunk-4LEVL6ZW.mjs';
5
- import { SvgExporter, isImageLikeElement, blobUrlToDataUrl } from '../../chunk-KCDLTVUI.mjs';
2
+ import { replaceText, findText, mergePresentation } from '../../chunk-GGJUWJXB.mjs';
3
+ import { PptxMarkdownConverter } from '../../chunk-RVYGAYCP.mjs';
4
+ import { PptxHandler } from '../../chunk-U5BXJQZG.mjs';
5
+ import { SvgExporter, isImageLikeElement, blobUrlToDataUrl } from '../../chunk-GXYK3H4O.mjs';
6
6
  import '../../chunk-EYCM7RVL.mjs';
7
7
  import '../../chunk-2N7RZQLC.mjs';
8
8
  import '../../chunk-VDUNZTJC.mjs';
@@ -1,2 +1,2 @@
1
- import { A as SlideProcessor, B as generateMediaFilename, C as PptxJsonAssetStats, D as SvgExportOptions, E as isPptxJsonText, F as deriveOutputPath, H as ConversionResult, I as getDirectory, L as normalizePath, M as PptxConverterOptions, N as PptxMarkdownConverter, O as SvgExporter, P as DocumentConverter, R as MediaContext, S as PPTX_JSON_VERSION, T as decodePptxJsonText, U as FileSystemAdapter, V as ConversionOptions, _ as decodeJsonValue, a as deserializePptxFromJson, b as PPTX_JSON_FORMAT, c as pptxDataFromJsonDocument, d as serializePptxToJson, f as PRESENTATION_FIELD_KEYS, g as bytesToBase64, h as base64ToBytes, i as PptxJsonFormatError, j as SlideProcessorOptions, k as SlideMetadataRenderer, l as PptxJsonSerializeOptions, m as JsonAssetAccumulator, n as PptxJsonConverterOptions, o as parsePptxJson, p as PRESENTATION_FIELD_NAMES, r as applyImportedPptxData, s as parsePptxJsonDocument, t as PptxJsonConverter, u as buildPptxJsonDocument, v as encodeJsonValue, w as PptxJsonDocument, x as PPTX_JSON_MIME_TYPE, y as PPTX_JSON_FILE_EXTENSION, z as dataUrlToMediaBytes } from "../chunks/index-Bj-hur0D.js";
1
+ import { A as SlideProcessor, B as generateMediaFilename, C as PptxJsonAssetStats, D as SvgExportOptions, E as isPptxJsonText, F as deriveOutputPath, H as ConversionResult, I as getDirectory, L as normalizePath, M as PptxConverterOptions, N as PptxMarkdownConverter, O as SvgExporter, P as DocumentConverter, R as MediaContext, S as PPTX_JSON_VERSION, T as decodePptxJsonText, U as FileSystemAdapter, V as ConversionOptions, _ as decodeJsonValue, a as deserializePptxFromJson, b as PPTX_JSON_FORMAT, c as pptxDataFromJsonDocument, d as serializePptxToJson, f as PRESENTATION_FIELD_KEYS, g as bytesToBase64, h as base64ToBytes, i as PptxJsonFormatError, j as SlideProcessorOptions, k as SlideMetadataRenderer, l as PptxJsonSerializeOptions, m as JsonAssetAccumulator, n as PptxJsonConverterOptions, o as parsePptxJson, p as PRESENTATION_FIELD_NAMES, r as applyImportedPptxData, s as parsePptxJsonDocument, t as PptxJsonConverter, u as buildPptxJsonDocument, v as encodeJsonValue, w as PptxJsonDocument, x as PPTX_JSON_MIME_TYPE, y as PPTX_JSON_FILE_EXTENSION, z as dataUrlToMediaBytes } from "../chunks/index-jdZUtLGB.js";
2
2
  export { type ConversionOptions, type ConversionResult, DocumentConverter, type FileSystemAdapter, type JsonAssetAccumulator, MediaContext, PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, type PptxConverterOptions, type PptxJsonAssetStats, PptxJsonConverter, type PptxJsonConverterOptions, type PptxJsonDocument, PptxJsonFormatError, type PptxJsonSerializeOptions, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, type SlideProcessorOptions, type SvgExportOptions, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, dataUrlToMediaBytes, decodeJsonValue, decodePptxJsonText, deriveOutputPath, deserializePptxFromJson, encodeJsonValue, generateMediaFilename, getDirectory, isPptxJsonText, normalizePath, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson };
@@ -1,6 +1,6 @@
1
1
  import '../../chunk-6Q7TP72Y.mjs';
2
- export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../../chunk-JHYU7HGG.mjs';
3
- export { PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PptxJsonConverter, PptxJsonFormatError, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, decodeJsonValue, decodePptxJsonText, deserializePptxFromJson, encodeJsonValue, isPptxJsonText, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson } from '../../chunk-KCDLTVUI.mjs';
2
+ export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../../chunk-RVYGAYCP.mjs';
3
+ export { PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PptxJsonConverter, PptxJsonFormatError, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, decodeJsonValue, decodePptxJsonText, deserializePptxFromJson, encodeJsonValue, isPptxJsonText, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson } from '../../chunk-GXYK3H4O.mjs';
4
4
  import '../../chunk-EYCM7RVL.mjs';
5
5
  import '../../chunk-VDUNZTJC.mjs';
6
6
  import '../../chunk-7DJEJTN7.mjs';
@@ -1,5 +1,5 @@
1
- import "../../chunks/index-CCJiD-Bm.js";
2
- import { C as PptxSlide } from "../../chunks/text-operations-BNJr7aGa.js";
1
+ import "../../chunks/index-6Ot1b-4U.js";
2
+ import { C as PptxSlide } from "../../chunks/text-operations-Mek86RBL.js";
3
3
  /** Identifies a single match of the find query at segment-level precision. */
4
4
  export interface FindResult {
5
5
  /** Zero-based index of the slide in the slides array. */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('../../../chunk-RNZQ2OU4.cjs');
3
+ require('../../../chunk-YBSNMVSN.cjs');
4
4
  require('../../../chunk-3J6VIKLP.cjs');
5
5
  var chunkQZPOPUI5_cjs = require('../../../chunk-QZPOPUI5.cjs');
6
6
  require('../../../chunk-XZPZHXV4.cjs');
@@ -1,4 +1,4 @@
1
- import '../../../chunk-HLYOHD2Z.mjs';
1
+ import '../../../chunk-CVJX6NNO.mjs';
2
2
  import '../../../chunk-VKFKEVHK.mjs';
3
3
  import { cloneSlide, cloneElement } from '../../../chunk-IPV3J3I5.mjs';
4
4
  import '../../../chunk-GXHKNSZX.mjs';
@@ -1,4 +1,4 @@
1
- import { v as PptxTableData } from "../../chunks/table-C7ITXL3Y.js";
1
+ import { v as PptxTableData } from "../../chunks/table-BfgZfw5R.js";
2
2
  /** Default pixel height assigned to a freshly inserted row. */
3
3
  export declare const DEFAULT_INSERTED_ROW_HEIGHT = 40;
4
4
  /** Insert a row and extend each vertical merge crossing the insertion point. */
@@ -1,5 +1,5 @@
1
1
  import { i as TextStyle } from "../../chunks/text-t_wJ2OwM.js";
2
- import { _ as PptxElementWithText, m as PptxElement } from "../../chunks/elements-PBugbKtv.js";
2
+ import { _ as PptxElementWithText, m as PptxElement } from "../../chunks/elements-B4Z6N-Gz.js";
3
3
  /** Immutable whole-text edit, using the pre-edit body style for run inheritance. */
4
4
  export declare function textRunsStylePatch(element: PptxElement, updates: Partial<TextStyle>): Pick<Partial<PptxElementWithText>, 'textStyle' | 'textSegments'>;
5
5
  //# sourceMappingURL=text-runs-style-patch.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { i as TextStyle, r as TextSegment } from "../../chunks/text-t_wJ2OwM.js";
2
- import { m as PptxElement } from "../../chunks/elements-PBugbKtv.js";
2
+ import { m as PptxElement } from "../../chunks/elements-B4Z6N-Gz.js";
3
3
  import { TextDecorationFlag } from "./text-content-style.js";
4
4
  /**
5
5
  * Keys read from `element.textStyle` only: `a:bodyPr` attributes, the text