ooxml-core 1.40.0 → 1.41.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 (134) hide show
  1. package/dist/{PptxHandler-2WYH66TS.mjs → PptxHandler-3AGIITR7.mjs} +2 -2
  2. package/dist/PptxHandler-EL4E4SPH.mjs +5 -0
  3. package/dist/PptxHandler-OIZ3R3DJ.cjs +14 -0
  4. package/dist/{PresentationBuilder-RTHLLHLE.mjs → PresentationBuilder-5DPKFUXP.mjs} +3 -3
  5. package/dist/{PresentationBuilder-VHDHLGIK.mjs → PresentationBuilder-JNID4B4Z.mjs} +2 -2
  6. package/dist/{PresentationBuilder-BUUVVMNI.cjs → PresentationBuilder-MZBKYOYD.cjs} +6 -6
  7. package/dist/automation/index.cjs +5336 -3452
  8. package/dist/automation/index.mjs +5336 -3452
  9. package/dist/{chunk-U6FMLGWH.cjs → chunk-3BIFRTU4.cjs} +1300 -1269
  10. package/dist/{chunk-HLBIT5H4.mjs → chunk-6LGRRQ3K.mjs} +1 -1
  11. package/dist/{chunk-SEGPDD5W.cjs → chunk-75KBNUKS.cjs} +4932 -3048
  12. package/dist/{chunk-AZNF3IOI.mjs → chunk-DD7COXWR.mjs} +69 -5
  13. package/dist/{chunk-NHV47JOE.mjs → chunk-HTELXT2N.mjs} +36 -5
  14. package/dist/{chunk-OGD5OQK2.mjs → chunk-JXR6YWBW.mjs} +6689 -4805
  15. package/dist/{chunk-3E4GSBC7.mjs → chunk-KKVD3R6O.mjs} +4 -4
  16. package/dist/{chunk-EXSPNK6W.cjs → chunk-LRBWCRQ3.cjs} +3 -3
  17. package/dist/{chunk-6XAAJTA3.mjs → chunk-P3WAKBVS.mjs} +4932 -3048
  18. package/dist/{chunk-5BVSDSJZ.mjs → chunk-UE23HF2N.mjs} +1 -1
  19. package/dist/{chunk-725QJW4K.mjs → chunk-ZYCBJKAE.mjs} +1 -1
  20. package/dist/color/index.cjs +36 -0
  21. package/dist/color/index.d.ts +1 -0
  22. package/dist/color/index.d.ts.map +1 -1
  23. package/dist/color/index.mjs +35 -1
  24. package/dist/color/office-gradient-stops.d.ts +27 -0
  25. package/dist/color/office-gradient-stops.d.ts.map +1 -0
  26. package/dist/diagram/index.cjs +4858 -2934
  27. package/dist/diagram/index.mjs +4858 -2935
  28. package/dist/docx/embedded.cjs +4884 -3000
  29. package/dist/docx/embedded.mjs +4884 -3000
  30. package/dist/docx/index.cjs +4942 -3056
  31. package/dist/docx/index.mjs +4942 -3056
  32. package/dist/docx/layout/index.cjs +4924 -3038
  33. package/dist/docx/layout/index.mjs +4924 -3038
  34. package/dist/docx/load/index.cjs +5021 -3137
  35. package/dist/docx/load/index.mjs +5021 -3137
  36. package/dist/docx/ui/index.cjs +4925 -3041
  37. package/dist/docx/ui/index.mjs +4925 -3041
  38. package/dist/drawingml/index.cjs +76 -16
  39. package/dist/drawingml/index.mjs +76 -17
  40. package/dist/drawingml/path-data.d.ts.map +1 -1
  41. package/dist/drawingml/rect-path-gradient.d.ts +12 -0
  42. package/dist/drawingml/rect-path-gradient.d.ts.map +1 -1
  43. package/dist/geometry/index.cjs +4138 -2253
  44. package/dist/geometry/index.mjs +4138 -2254
  45. package/dist/geometry/ooxml-arc.d.ts +10 -1
  46. package/dist/geometry/ooxml-arc.d.ts.map +1 -1
  47. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts +7 -36
  48. package/dist/geometry/preset-shape-definitions-action-buttons.d.ts.map +1 -1
  49. package/dist/geometry/preset-shape-definitions-connectors-brackets.d.ts.map +1 -1
  50. package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts +19 -0
  51. package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts.map +1 -0
  52. package/dist/geometry/preset-shape-definitions-exact-arcs.d.ts +14 -0
  53. package/dist/geometry/preset-shape-definitions-exact-arcs.d.ts.map +1 -0
  54. package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts +11 -0
  55. package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts.map +1 -0
  56. package/dist/geometry/preset-shape-definitions-exact-basic.d.ts +12 -0
  57. package/dist/geometry/preset-shape-definitions-exact-basic.d.ts.map +1 -0
  58. package/dist/geometry/preset-shape-definitions-exact-circular.d.ts +18 -0
  59. package/dist/geometry/preset-shape-definitions-exact-circular.d.ts.map +1 -0
  60. package/dist/geometry/preset-shape-definitions-exact-ellipse-ribbons.d.ts +16 -0
  61. package/dist/geometry/preset-shape-definitions-exact-ellipse-ribbons.d.ts.map +1 -0
  62. package/dist/geometry/preset-shape-definitions-exact-funnel.d.ts +13 -0
  63. package/dist/geometry/preset-shape-definitions-exact-funnel.d.ts.map +1 -0
  64. package/dist/geometry/preset-shape-definitions-exact-left-right-ribbon.d.ts +13 -0
  65. package/dist/geometry/preset-shape-definitions-exact-left-right-ribbon.d.ts.map +1 -0
  66. package/dist/geometry/preset-shape-definitions-exact-math.d.ts +14 -0
  67. package/dist/geometry/preset-shape-definitions-exact-math.d.ts.map +1 -0
  68. package/dist/geometry/preset-shape-definitions-exact-misc.d.ts +11 -0
  69. package/dist/geometry/preset-shape-definitions-exact-misc.d.ts.map +1 -0
  70. package/dist/geometry/preset-shape-definitions-exact-ribbons.d.ts +12 -0
  71. package/dist/geometry/preset-shape-definitions-exact-ribbons.d.ts.map +1 -0
  72. package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts +13 -0
  73. package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts.map +1 -0
  74. package/dist/geometry/preset-shape-definitions-flowchart.d.ts.map +1 -1
  75. package/dist/geometry/preset-shape-definitions-misc.d.ts.map +1 -1
  76. package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -1
  77. package/dist/geometry/preset-shape-exact-dsl.d.ts +30 -0
  78. package/dist/geometry/preset-shape-exact-dsl.d.ts.map +1 -0
  79. package/dist/index.cjs +7091 -4867
  80. package/dist/index.mjs +7091 -4867
  81. package/dist/pptx/automation/index.cjs +5419 -3408
  82. package/dist/pptx/automation/index.d.ts +5 -5
  83. package/dist/pptx/automation/index.mjs +5 -5
  84. package/dist/pptx/chunks/{elements-DheCTwi0.d.ts → elements-6BMEOo7i.d.ts} +27 -2
  85. package/dist/pptx/chunks/{elements-DheCTwi0.d.ts.map → elements-6BMEOo7i.d.ts.map} +1 -1
  86. package/dist/pptx/chunks/{index-Jcce8TlI.d.ts → index-BbXLv6As.d.ts} +4 -4
  87. package/dist/pptx/chunks/{index-Jcce8TlI.d.ts.map → index-BbXLv6As.d.ts.map} +1 -1
  88. package/dist/pptx/chunks/{index-B4ofjG6_.d.ts → index-Dija_Wth.d.ts} +3 -3
  89. package/dist/pptx/chunks/{index-B4ofjG6_.d.ts.map → index-Dija_Wth.d.ts.map} +1 -1
  90. package/dist/pptx/chunks/{index-CYukxWbl.d.ts → index-DvN0TkJJ.d.ts} +23 -8
  91. package/dist/pptx/chunks/index-DvN0TkJJ.d.ts.map +1 -0
  92. package/dist/pptx/chunks/{text-operations-CdgEnFuK.d.ts → text-operations-DorONr3h.d.ts} +2 -2
  93. package/dist/pptx/chunks/{text-operations-CdgEnFuK.d.ts.map → text-operations-DorONr3h.d.ts.map} +1 -1
  94. package/dist/pptx/cli/index.cjs +5341 -3330
  95. package/dist/pptx/cli/index.d.ts +1 -1
  96. package/dist/pptx/cli/index.mjs +4 -4
  97. package/dist/pptx/converter/index.cjs +4958 -2978
  98. package/dist/pptx/converter/index.d.ts +1 -1
  99. package/dist/pptx/converter/index.mjs +2 -2
  100. package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
  101. package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
  102. package/dist/pptx/editor/render/find-replace.cjs +15 -15
  103. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  104. package/dist/pptx/editor/render/find-replace.mjs +2 -2
  105. package/dist/pptx/editor/render/slide-operations.cjs +9 -9
  106. package/dist/pptx/editor/render/slide-operations.mjs +3 -3
  107. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
  108. package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
  109. package/dist/pptx/index.cjs +7176 -5125
  110. package/dist/pptx/index.d.ts +6 -6
  111. package/dist/pptx/index.mjs +5 -5
  112. package/dist/pptx/node/index.d.ts +1 -1
  113. package/dist/teams/index.cjs +5287 -3307
  114. package/dist/teams/index.mjs +5287 -3307
  115. package/dist/text/font-metrics/office-font-metrics.generated.d.ts +23 -0
  116. package/dist/text/font-metrics/office-font-metrics.generated.d.ts.map +1 -0
  117. package/dist/text/font-metrics/vertical-metrics.d.ts +35 -0
  118. package/dist/text/font-metrics/vertical-metrics.d.ts.map +1 -0
  119. package/dist/text/index.cjs +260 -0
  120. package/dist/text/index.d.ts +1 -0
  121. package/dist/text/index.d.ts.map +1 -1
  122. package/dist/text/index.mjs +259 -1
  123. package/dist/xlsx/collab/index.cjs +5106 -3222
  124. package/dist/xlsx/collab/index.mjs +5106 -3222
  125. package/dist/xlsx/index.cjs +5272 -3386
  126. package/dist/xlsx/index.mjs +5272 -3386
  127. package/dist/xlsx/load/index.cjs +5125 -3241
  128. package/dist/xlsx/load/index.mjs +5125 -3241
  129. package/dist/xlsx/ui/index.cjs +5279 -3395
  130. package/dist/xlsx/ui/index.mjs +5279 -3395
  131. package/package.json +1 -1
  132. package/dist/PptxHandler-SD6VWF3I.mjs +0 -5
  133. package/dist/PptxHandler-ZHWWOO2X.cjs +0 -14
  134. package/dist/pptx/chunks/index-CYukxWbl.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
- import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-725QJW4K.mjs';
2
- import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, chartFormatTargetKey, readChartElementFormat, hasGradientField, applyGradient, mirrorFlatFields, mirrorTextColor, withSeries, applyChartGroupOptionsInput, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, clonePartGraph, buildBlankPresentationArchive, FILL_CHOICE_ELEMENTS, relativePartTarget, PptxXmlBuilder } from './chunk-AZNF3IOI.mjs';
3
- import { SP_PR_ORDER, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, relationshipsPartFor, parseRelationships, resolvePartPath, elements, buildXml, buildRelationshipsXml, bytesToBase64, base64ToBytes, LN_CHILD_ORDER, BLIP_FILL_ORDER, EFFECT_LST_ORDER, SHAPE_STYLE_ORDER, TC_PR_BORDERS_ORDER, hasTextProperties, nextRelationshipId, escAttr, NS } from './chunk-OGD5OQK2.mjs';
1
+ import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-ZYCBJKAE.mjs';
2
+ import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, chartFormatTargetKey, readChartElementFormat, hasGradientField, applyGradient, mirrorFlatFields, mirrorTextColor, withSeries, applyChartGroupOptionsInput, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, clonePartGraph, buildBlankPresentationArchive, FILL_CHOICE_ELEMENTS, relativePartTarget, PptxXmlBuilder } from './chunk-DD7COXWR.mjs';
3
+ import { SP_PR_ORDER, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, relationshipsPartFor, parseRelationships, resolvePartPath, elements, buildXml, buildRelationshipsXml, bytesToBase64, base64ToBytes, LN_CHILD_ORDER, BLIP_FILL_ORDER, EFFECT_LST_ORDER, SHAPE_STYLE_ORDER, TC_PR_BORDERS_ORDER, hasTextProperties, nextRelationshipId, escAttr, NS } from './chunk-JXR6YWBW.mjs';
4
4
  import { openPptxZip, openZip } from './chunk-EYCM7RVL.mjs';
5
5
  import { cloneSlide, cloneElement } from './chunk-VDUNZTJC.mjs';
6
6
 
@@ -15098,7 +15098,7 @@ async function setPresentationRunText(bytes, slideIndex, elementId, runIndex, te
15098
15098
  async function createPresentationFromOutline(slides, options = {}) {
15099
15099
  if (!(slides instanceof Array) || !slides.length || slides.length > 200)
15100
15100
  throw new Error("A presentation outline has 1 to 200 slides");
15101
- const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-VHDHLGIK.mjs');
15101
+ const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-JNID4B4Z.mjs');
15102
15102
  const { handler, data, createSlide } = await PresentationBuilder2.create({
15103
15103
  ...options.title ? { title: options.title } : {}
15104
15104
  });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSEGPDD5W_cjs = require('./chunk-SEGPDD5W.cjs');
3
+ var chunk75KBNUKS_cjs = require('./chunk-75KBNUKS.cjs');
4
4
  var chunk5W2QL4SB_cjs = require('./chunk-5W2QL4SB.cjs');
5
5
 
6
6
  // pptx/core/core/runtime/table-structural-helpers.ts
@@ -44,10 +44,10 @@ function flattenCellTxBodyText(txBody, ensureArray2) {
44
44
  const fields = ensureArray2(paragraph?.["a:fld"]);
45
45
  let lineText = "";
46
46
  for (const run of runs) {
47
- lineText += chunkSEGPDD5W_cjs.xmlText(run?.["a:t"]) ?? "";
47
+ lineText += chunk75KBNUKS_cjs.xmlText(run?.["a:t"]) ?? "";
48
48
  }
49
49
  for (const field of fields) {
50
- lineText += chunkSEGPDD5W_cjs.xmlText(field?.["a:t"]) ?? "";
50
+ lineText += chunk75KBNUKS_cjs.xmlText(field?.["a:t"]) ?? "";
51
51
  }
52
52
  lines.push(lineText);
53
53
  }