pptx-viewer-core 1.2.5 → 1.2.7

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/dist/index.mjs CHANGED
@@ -12596,6 +12596,17 @@ function resolveLayoutDisplayName(input) {
12596
12596
  return fallbackFromPath(input.path);
12597
12597
  }
12598
12598
 
12599
+ // src/core/utils/strip-parent-dir-segments.ts
12600
+ function stripParentDirSegments(path) {
12601
+ let result = path;
12602
+ let previous;
12603
+ do {
12604
+ previous = result;
12605
+ result = previous.replace(/\.\.\//g, "");
12606
+ } while (result !== previous);
12607
+ return result;
12608
+ }
12609
+
12599
12610
  // src/core/utils/ole2-parser-types.ts
12600
12611
  var OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 27, 26, 225]);
12601
12612
  var ENDOFCHAIN = 4294967294;
@@ -42073,7 +42084,7 @@ var PptxHandlerRuntime57 = class extends PptxHandlerRuntime56 {
42073
42084
  for (const [, target] of layoutRels.entries()) {
42074
42085
  if (target.includes("slideMaster")) {
42075
42086
  const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
42076
- const masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${target.replace("../", "")}`;
42087
+ const masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${stripParentDirSegments(target)}`;
42077
42088
  try {
42078
42089
  const masterXmlStr = await this.zip.file(masterPath)?.async("string");
42079
42090
  if (masterXmlStr) {
@@ -42097,7 +42108,7 @@ var PptxHandlerRuntime57 = class extends PptxHandlerRuntime56 {
42097
42108
  for (const [, target] of slideRels.entries()) {
42098
42109
  if (target.includes("slideLayout")) {
42099
42110
  const slideDir = slidePath.substring(0, slidePath.lastIndexOf("/") + 1);
42100
- const layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${target.replace("../", "")}`;
42111
+ const layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${stripParentDirSegments(target)}`;
42101
42112
  try {
42102
42113
  const layoutXmlStr = await this.zip.file(layoutPath)?.async("string");
42103
42114
  if (layoutXmlStr) {
@@ -42125,7 +42136,7 @@ var PptxHandlerRuntime57 = class extends PptxHandlerRuntime56 {
42125
42136
  for (const [, target] of slideRels.entries()) {
42126
42137
  if (target.includes("slideLayout")) {
42127
42138
  const slideDir = slidePath.substring(0, slidePath.lastIndexOf("/") + 1);
42128
- const layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${target.replace("../", "")}`;
42139
+ const layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${stripParentDirSegments(target)}`;
42129
42140
  try {
42130
42141
  const layoutXmlStr = await this.zip.file(layoutPath)?.async("string");
42131
42142
  if (layoutXmlStr) {
@@ -42154,7 +42165,7 @@ var PptxHandlerRuntime57 = class extends PptxHandlerRuntime56 {
42154
42165
  for (const [, target] of layoutRels.entries()) {
42155
42166
  if (target.includes("slideMaster")) {
42156
42167
  const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
42157
- const masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${target.replace("../", "")}`;
42168
+ const masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${stripParentDirSegments(target)}`;
42158
42169
  try {
42159
42170
  const masterXmlStr = await this.zip.file(masterPath)?.async("string");
42160
42171
  if (masterXmlStr) {
@@ -42183,7 +42194,7 @@ var PptxHandlerRuntime58 = class extends PptxHandlerRuntime57 {
42183
42194
  for (const [, target] of slideRels.entries()) {
42184
42195
  if (target.includes("slideLayout")) {
42185
42196
  const slideDir = slidePath.substring(0, slidePath.lastIndexOf("/") + 1);
42186
- const layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${target.replace("../", "")}`;
42197
+ const layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${stripParentDirSegments(target)}`;
42187
42198
  try {
42188
42199
  const layoutXmlStr = await this.zip.file(layoutPath)?.async("string");
42189
42200
  if (layoutXmlStr) {
@@ -42212,7 +42223,7 @@ var PptxHandlerRuntime58 = class extends PptxHandlerRuntime57 {
42212
42223
  for (const [, target] of layoutRels.entries()) {
42213
42224
  if (target.includes("slideMaster")) {
42214
42225
  const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
42215
- const masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${target.replace("../", "")}`;
42226
+ const masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${stripParentDirSegments(target)}`;
42216
42227
  try {
42217
42228
  const masterXmlStr = await this.zip.file(masterPath)?.async("string");
42218
42229
  if (masterXmlStr) {
@@ -42237,7 +42248,7 @@ var PptxHandlerRuntime58 = class extends PptxHandlerRuntime57 {
42237
42248
  for (const [, target] of slideRels.entries()) {
42238
42249
  if (target.includes("slideLayout")) {
42239
42250
  const slideDir = slidePath.substring(0, slidePath.lastIndexOf("/") + 1);
42240
- return target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${target.replace("../", "")}`;
42251
+ return target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${stripParentDirSegments(target)}`;
42241
42252
  }
42242
42253
  }
42243
42254
  return void 0;
@@ -42253,7 +42264,7 @@ var PptxHandlerRuntime58 = class extends PptxHandlerRuntime57 {
42253
42264
  for (const [, target] of layoutRels.entries()) {
42254
42265
  if (target.includes("slideMaster")) {
42255
42266
  const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
42256
- return target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${target.replace("../", "")}`;
42267
+ return target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${stripParentDirSegments(target)}`;
42257
42268
  }
42258
42269
  }
42259
42270
  return void 0;
@@ -42897,7 +42908,7 @@ var PptxHandlerRuntime61 = class extends PptxHandlerRuntime60 {
42897
42908
  for (const [, target] of layoutRels.entries()) {
42898
42909
  if (target.includes("slideMaster")) {
42899
42910
  const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
42900
- masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${target.replace("../", "")}`;
42911
+ masterPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${stripParentDirSegments(target)}`;
42901
42912
  break;
42902
42913
  }
42903
42914
  }
@@ -43031,7 +43042,7 @@ var PptxHandlerRuntime62 = class extends PptxHandlerRuntime61 {
43031
43042
  for (const [, target] of slideRels.entries()) {
43032
43043
  if (target.includes("slideLayout")) {
43033
43044
  const slideDir = slidePath.substring(0, slidePath.lastIndexOf("/") + 1);
43034
- layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${target.replace("../", "")}`;
43045
+ layoutPath = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(slideDir, target) : `ppt/${stripParentDirSegments(target)}`;
43035
43046
  break;
43036
43047
  }
43037
43048
  }
@@ -46783,7 +46794,7 @@ var PptxHandlerRuntime78 = class extends PptxHandlerRuntime77 {
46783
46794
  }
46784
46795
  return stack.join("/");
46785
46796
  }
46786
- return `ppt/${target.replace("../", "")}`;
46797
+ return `ppt/${stripParentDirSegments(target)}`;
46787
46798
  }
46788
46799
  }
46789
46800
  return void 0;
@@ -47343,7 +47354,7 @@ var PptxHandlerRuntime80 = class extends PptxHandlerRuntime79 {
47343
47354
  for (const [, target] of layoutRels.entries()) {
47344
47355
  if (target.includes("slideMaster")) {
47345
47356
  const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
47346
- return target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${target.replace("../", "")}`;
47357
+ return target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(layoutDir, target) : `ppt/${stripParentDirSegments(target)}`;
47347
47358
  }
47348
47359
  }
47349
47360
  return void 0;
@@ -47412,7 +47423,7 @@ var PptxHandlerRuntime80 = class extends PptxHandlerRuntime79 {
47412
47423
  for (const [, target] of masterRels.entries()) {
47413
47424
  if (target.includes("slideLayout")) {
47414
47425
  const masterDir = masterPath.substring(0, masterPath.lastIndexOf("/") + 1);
47415
- const resolved = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(masterDir, target) : `ppt/${target.replace("../", "")}`;
47426
+ const resolved = target.startsWith("/") ? target.substring(1) : target.startsWith("..") ? this.resolvePath(masterDir, target) : `ppt/${stripParentDirSegments(target)}`;
47416
47427
  masterLayoutPaths.add(resolved);
47417
47428
  }
47418
47429
  }
@@ -56299,7 +56310,7 @@ function getShapeClipPathFromPreset(shapeType, width, height, adjustments) {
56299
56310
  if (!result || result.svgPath === "") {
56300
56311
  return void 0;
56301
56312
  }
56302
- const escaped = result.svgPath.replace(/'/g, "\\'");
56313
+ const escaped = result.svgPath.replace(/\\/g, "\\\\").replace(/'/g, "\\'");
56303
56314
  return `path('${escaped}')`;
56304
56315
  }
56305
56316
  function getRoundRectRadiusPx(element) {
@@ -58230,7 +58241,7 @@ function moveSlidesToSection(data, slideIndices, targetSectionId) {
58230
58241
  }
58231
58242
 
58232
58243
  // src/core/builders/sdk/template-engine-helpers.ts
58233
- var PLACEHOLDER_RE = /\{\{([^}]+)\}\}/g;
58244
+ var PLACEHOLDER_RE = /\{\{([^{}]+)\}\}/g;
58234
58245
  var EACH_OPEN_RE = /^\s*#each\s+([\w.]+)\s*$/;
58235
58246
  var EACH_CLOSE_RE = /^\s*\/each\s*$/;
58236
58247
  var IF_OPEN_RE = /^\s*#if\s+(!?[\w.]+)\s*$/;
@@ -58294,7 +58305,7 @@ function processInlineConditionals(text, data) {
58294
58305
  let safety = 0;
58295
58306
  const MAX_ITERATIONS = 100;
58296
58307
  while (safety++ < MAX_ITERATIONS) {
58297
- const ifOpenPattern = /\{\{\s*#if\s+([^}]+)\s*\}\}((?:(?!\{\{\s*#if\s)(?!\{\{\s*\/if\s*\}\}).)*?)\{\{\s*\/if\s*\}\}/s;
58308
+ const ifOpenPattern = /\{\{\s*#if\s+(!?[\w.]+)\s*\}\}((?:(?!\{\{\s*#if\s)(?!\{\{\s*\/if\s*\}\}).)*?)\{\{\s*\/if\s*\}\}/s;
58298
58309
  const match = ifOpenPattern.exec(result);
58299
58310
  if (!match) {
58300
58311
  break;
@@ -58306,6 +58317,8 @@ function processInlineConditionals(text, data) {
58306
58317
  }
58307
58318
  return result;
58308
58319
  }
58320
+
58321
+ // src/core/builders/sdk/template-engine-segments.ts
58309
58322
  function replaceTokensAcrossSegments(segments, data) {
58310
58323
  if (segments.length === 0) {
58311
58324
  return;
@@ -58326,7 +58339,7 @@ function replaceTokensAcrossSegments(segments, data) {
58326
58339
  const fullText = textParts.join("");
58327
58340
  const afterConditionals = processInlineConditionals(fullText, data);
58328
58341
  if (afterConditionals !== fullText) {
58329
- redistributeText(segments, segmentMap, fullText, afterConditionals);
58342
+ redistributeText(segments, fullText, afterConditionals);
58330
58343
  replaceTokensAcrossSegments(segments, data);
58331
58344
  return;
58332
58345
  }
@@ -58384,7 +58397,7 @@ function replaceTokensAcrossSegments(segments, data) {
58384
58397
  }
58385
58398
  }
58386
58399
  }
58387
- function redistributeText(segments, _segmentMap, _originalFull, newFull, _data) {
58400
+ function redistributeText(segments, _originalFull, newFull) {
58388
58401
  let placed = false;
58389
58402
  for (const seg of segments) {
58390
58403
  if (seg.isParagraphBreak) {
@@ -58626,15 +58639,126 @@ async function mailMerge(handler, data, records) {
58626
58639
  }
58627
58640
 
58628
58641
  // src/core/builders/sdk/text-operations.ts
58629
- function toGlobalRegex(search) {
58642
+ function toSearchRegex(search) {
58630
58643
  if (typeof search === "string") {
58631
58644
  const escaped = search.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
58632
58645
  return new RegExp(escaped, "g");
58633
58646
  }
58634
- if (search.global) {
58635
- return search;
58647
+ return search;
58648
+ }
58649
+ function execAll(regex, text) {
58650
+ const results = [];
58651
+ if (regex.global || regex.sticky) {
58652
+ regex.lastIndex = 0;
58653
+ let match;
58654
+ while ((match = regex.exec(text)) !== null) {
58655
+ results.push(match);
58656
+ if (match[0].length === 0) {
58657
+ regex.lastIndex += 1;
58658
+ }
58659
+ }
58660
+ return results;
58661
+ }
58662
+ let offset = 0;
58663
+ let remaining = text;
58664
+ while (remaining.length > 0) {
58665
+ const match = regex.exec(remaining);
58666
+ if (!match) {
58667
+ break;
58668
+ }
58669
+ const adjusted = [...match];
58670
+ adjusted.index = offset + match.index;
58671
+ adjusted.input = text;
58672
+ adjusted.groups = match.groups;
58673
+ results.push(adjusted);
58674
+ const advance = match.index + (match[0].length || 1);
58675
+ offset += advance;
58676
+ remaining = remaining.slice(advance);
58677
+ }
58678
+ return results;
58679
+ }
58680
+ function expandReplacement(replacement, match, fullText) {
58681
+ const closeAngleIndices = [];
58682
+ for (let k = 0; k < replacement.length; k += 1) {
58683
+ if (replacement[k] === ">") {
58684
+ closeAngleIndices.push(k);
58685
+ }
58686
+ }
58687
+ let result = "";
58688
+ let i = 0;
58689
+ let gtPtr = 0;
58690
+ while (i < replacement.length) {
58691
+ if (replacement[i] !== "$" || i + 1 >= replacement.length) {
58692
+ result += replacement[i];
58693
+ i += 1;
58694
+ continue;
58695
+ }
58696
+ const next = replacement[i + 1];
58697
+ if (next === "$") {
58698
+ result += "$";
58699
+ i += 2;
58700
+ } else if (next === "&") {
58701
+ result += match[0];
58702
+ i += 2;
58703
+ } else if (next === "`") {
58704
+ result += fullText.slice(0, match.index);
58705
+ i += 2;
58706
+ } else if (next === "'") {
58707
+ result += fullText.slice(match.index + match[0].length);
58708
+ i += 2;
58709
+ } else if (next === "<") {
58710
+ while (gtPtr < closeAngleIndices.length && closeAngleIndices[gtPtr] < i + 2) {
58711
+ gtPtr += 1;
58712
+ }
58713
+ const closeIdx = gtPtr < closeAngleIndices.length ? closeAngleIndices[gtPtr] : -1;
58714
+ if (closeIdx === -1) {
58715
+ result += "$";
58716
+ i += 1;
58717
+ } else {
58718
+ const groupName = replacement.slice(i + 2, closeIdx);
58719
+ result += match.groups?.[groupName] ?? "";
58720
+ i = closeIdx + 1;
58721
+ }
58722
+ } else if (next >= "0" && next <= "9") {
58723
+ let digits = next;
58724
+ let digitsEnd = i + 2;
58725
+ if (digitsEnd < replacement.length && replacement[digitsEnd] >= "0" && replacement[digitsEnd] <= "9") {
58726
+ digits += replacement[digitsEnd];
58727
+ digitsEnd += 1;
58728
+ }
58729
+ let groupIndex = Number(digits);
58730
+ if (digits.length === 2 && !(groupIndex >= 1 && groupIndex < match.length)) {
58731
+ digits = digits.slice(0, 1);
58732
+ groupIndex = Number(digits);
58733
+ digitsEnd = i + 2;
58734
+ }
58735
+ if (groupIndex >= 1 && groupIndex < match.length) {
58736
+ result += match[groupIndex] ?? "";
58737
+ i = digitsEnd;
58738
+ } else {
58739
+ result += "$";
58740
+ i += 1;
58741
+ }
58742
+ } else {
58743
+ result += "$";
58744
+ i += 1;
58745
+ }
58746
+ }
58747
+ return result;
58748
+ }
58749
+ function applyReplacements(text, matches, replacement) {
58750
+ if (matches.length === 0) {
58751
+ return text;
58636
58752
  }
58637
- return new RegExp(search.source, `${search.flags}g`);
58753
+ let result = "";
58754
+ let cursor = 0;
58755
+ for (const match of matches) {
58756
+ result += text.slice(cursor, match.index);
58757
+ result += expandReplacement(replacement, match, text);
58758
+ cursor = match.index + match[0].length;
58759
+ }
58760
+ result += text.slice(cursor);
58761
+ return result;
58638
58762
  }
58639
58763
  function collectElements(elements) {
58640
58764
  const result = [];
@@ -58650,7 +58774,7 @@ function findText(slides, search) {
58650
58774
  if (typeof search === "string" && search === "") {
58651
58775
  return [];
58652
58776
  }
58653
- const regex = toGlobalRegex(search);
58777
+ const regex = toSearchRegex(search);
58654
58778
  const results = [];
58655
58779
  slides.forEach((slide, slideIndex) => {
58656
58780
  const allElements = collectElements(slide.elements ?? []);
@@ -58661,9 +58785,7 @@ function findText(slides, search) {
58661
58785
  const segments = element.textSegments ?? [];
58662
58786
  segments.forEach((seg, segIndex) => {
58663
58787
  const text = seg.text ?? "";
58664
- regex.lastIndex = 0;
58665
- let match;
58666
- while ((match = regex.exec(text)) !== null) {
58788
+ for (const match of execAll(regex, text)) {
58667
58789
  results.push({
58668
58790
  slideIndex,
58669
58791
  elementId: element.id,
@@ -58671,9 +58793,6 @@ function findText(slides, search) {
58671
58793
  text: match[0],
58672
58794
  matchIndex: match.index
58673
58795
  });
58674
- if (match[0].length === 0) {
58675
- regex.lastIndex += 1;
58676
- }
58677
58796
  }
58678
58797
  });
58679
58798
  }
@@ -58684,7 +58803,7 @@ function replaceTextInSlide(slide, search, replacement) {
58684
58803
  if (typeof search === "string" && search === "") {
58685
58804
  return 0;
58686
58805
  }
58687
- const regex = toGlobalRegex(search);
58806
+ const regex = toSearchRegex(search);
58688
58807
  let totalReplacements = 0;
58689
58808
  function processElements2(elements) {
58690
58809
  for (const element of elements) {
@@ -58696,23 +58815,12 @@ function replaceTextInSlide(slide, search, replacement) {
58696
58815
  }
58697
58816
  const segments = element.textSegments ?? [];
58698
58817
  let elementTextChanged = false;
58699
- for (let segIdx = 0; segIdx < segments.length; segIdx++) {
58700
- const seg = segments[segIdx];
58818
+ for (const seg of segments) {
58701
58819
  const originalText = seg.text ?? "";
58702
- regex.lastIndex = 0;
58703
- let matchCount = 0;
58704
- let m;
58705
- const countRegex = toGlobalRegex(search);
58706
- while ((m = countRegex.exec(originalText)) !== null) {
58707
- matchCount++;
58708
- if (m[0].length === 0) {
58709
- countRegex.lastIndex += 1;
58710
- }
58711
- }
58712
- if (matchCount > 0) {
58713
- const newText = originalText.replace(toGlobalRegex(search), replacement);
58714
- seg.text = newText;
58715
- totalReplacements += matchCount;
58820
+ const matches = execAll(regex, originalText);
58821
+ if (matches.length > 0) {
58822
+ seg.text = applyReplacements(originalText, matches, replacement);
58823
+ totalReplacements += matches.length;
58716
58824
  elementTextChanged = true;
58717
58825
  }
58718
58826
  }
@@ -62676,7 +62784,7 @@ ${htmlRows.join("\n")}
62676
62784
  return parts.join("").trim();
62677
62785
  }
62678
62786
  escapeMarkdownTableCell(text) {
62679
- return text.replace(/\|/g, "\\|").replace(/\n+/g, " ").trim();
62787
+ return text.replace(/\\/g, "\\\\").replace(/\|/g, "\\|").replace(/\n+/g, " ").trim();
62680
62788
  }
62681
62789
  };
62682
62790
 
@@ -65306,4 +65414,4 @@ var SvgExporter = class _SvgExporter {
65306
65414
  * `<p:extLst>` (optional)
65307
65415
  */
65308
65416
 
65309
- export { ALL_ANIMATION_PRESETS, BLIP_FILL_ORDER, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, ChartBuilder, ConnectorBuilder, ConnectorXmlFactory, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_MAX_UNCOMPRESSED_BYTES, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, DataIntegrityError, DocumentConverter, EFFECT_LST_ORDER, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL2 as EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, ENTRANCE_PRESETS, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GroupBuilder, ImageBuilder, IncorrectPasswordError, MAX_TABLE_DIMENSION, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, MediaBuilder, MediaContext, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, OPC_RELATIONSHIP_TRANSFORM, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PPTX_VIEWER_MANIFEST_NS, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime82 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMarkdownConverter, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, SHAPE_TREE_ELEMENT_TAGS, SP_PR_ORDER, STROKE_DASH_OPTIONS, SUPPORTED_XML_CANON_TRANSFORMS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, ShapeBuilder, SlideBuilder, SlideProcessor, SlideSizes, SvgExporter, TC_PR_BORDERS_ORDER, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, TextShapeXmlFactory, ThemePresets, VML_SHAPE_TAGS, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, ZipBombError, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTableCellTextAndStyle, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildSrgbColorChoice, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, colorsEqual, combineShapes, computeContrastRatio, computeCycleLayout, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, computeVerificationStatus, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, dataUrlToMediaBytes, decodeOle10Native, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveOutputPath, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, escapeXmlAttr, escapeXmlText, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractAllTagText, extractColorChoiceXml, extractFirstTagText, extractGuidFromPartName, extractModel3DTransform, extractTagAttribute, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findPlaceholders, findText, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, generateMediaFilename, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getDirectory, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isValidBase64, isXmlNode, isZoomElement, isZoomElement2 as isZoomElementUtil, layoutEngineShapesToDrawingShapes, lookupPresetShape, mailMerge, mergePresentation, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizePartPath, normalizePath, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlToPresetName, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, rebuildTableStructureInRawXml, reconcileAnimationTargets, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderObjectKeys, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceText, replaceTextInSlide, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveLayoutDisplayName, resolveModel3DMimeType, resolveReferenceUriToPart, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeColorChoice, serializeCondition, serializeConditionList, serializeSvgPath, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, setElementLocked, setSmartArtNodeStyle, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText };
65417
+ export { ALL_ANIMATION_PRESETS, BLIP_FILL_ORDER, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, ChartBuilder, ConnectorBuilder, ConnectorXmlFactory, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_MAX_UNCOMPRESSED_BYTES, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, DataIntegrityError, DocumentConverter, EFFECT_LST_ORDER, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL2 as EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, ENTRANCE_PRESETS, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GroupBuilder, ImageBuilder, IncorrectPasswordError, MAX_TABLE_DIMENSION, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, MediaBuilder, MediaContext, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, OPC_RELATIONSHIP_TRANSFORM, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PPTX_VIEWER_MANIFEST_NS, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime82 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMarkdownConverter, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, SHAPE_TREE_ELEMENT_TAGS, SP_PR_ORDER, STROKE_DASH_OPTIONS, SUPPORTED_XML_CANON_TRANSFORMS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, ShapeBuilder, SlideBuilder, SlideProcessor, SlideSizes, SvgExporter, TC_PR_BORDERS_ORDER, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, TextShapeXmlFactory, ThemePresets, VML_SHAPE_TAGS, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, ZipBombError, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTableCellTextAndStyle, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildSrgbColorChoice, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, colorsEqual, combineShapes, computeContrastRatio, computeCycleLayout, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, computeVerificationStatus, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, dataUrlToMediaBytes, decodeOle10Native, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveOutputPath, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, escapeXmlAttr, escapeXmlText, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractAllTagText, extractColorChoiceXml, extractFirstTagText, extractGuidFromPartName, extractModel3DTransform, extractTagAttribute, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findPlaceholders, findText, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, generateMediaFilename, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getDirectory, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isValidBase64, isXmlNode, isZoomElement, isZoomElement2 as isZoomElementUtil, layoutEngineShapesToDrawingShapes, lookupPresetShape, mailMerge, mergePresentation, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizePartPath, normalizePath, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlToPresetName, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, rebuildTableStructureInRawXml, reconcileAnimationTargets, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderObjectKeys, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceText, replaceTextInSlide, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveLayoutDisplayName, resolveModel3DMimeType, resolveReferenceUriToPart, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeColorChoice, serializeCondition, serializeConditionList, serializeSvgPath, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, setElementLocked, setSmartArtNodeStyle, shouldRenderFallbackLabel, shouldReturnToZoomSlide, stripParentDirSegments, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText };
@@ -1,4 +1,4 @@
1
- import { p as SignatureCertificateInfo, L as LoadedSigningMaterial, C as CertificateRevocationStatus, T as TimestampAuthorityStatus, r as SignatureValidationPolicy, k as ParsedReferenceTransform, R as ReferenceTransformResult, q as SignatureReferenceCheck, l as SignOptions, m as SignResult, d as DigitalSignatureReport } from '../signature-inspection-status-BCUpfCQh.mjs';
1
+ import { p as SignatureCertificateInfo, L as LoadedSigningMaterial, T as TimestampAuthorityStatus, C as CertificateRevocationStatus, r as SignatureValidationPolicy, k as ParsedReferenceTransform, R as ReferenceTransformResult, q as SignatureReferenceCheck, l as SignOptions, m as SignResult, d as DigitalSignatureReport } from '../signature-inspection-status-BCUpfCQh.mjs';
2
2
  export { D as DIGEST_ALGORITHM_TO_HASH, a as DIGEST_ALGORITHM_TO_WEB_CRYPTO, b as DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, c as DIGITAL_SIGNATURE_REL_TYPE, e as DigitalSignatureVerificationStatus, E as ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, f as ENTERPRISE_REQUIRE_REVOCATION_ENV, g as ENTERPRISE_REQUIRE_TIMESTAMP_ENV, h as ENTERPRISE_TRUST_ROOTS_FILE_ENV, i as ENTERPRISE_TRUST_ROOTS_PEM_ENV, O as OPC_RELATIONSHIP_TRANSFORM, j as OfficeSignatureReference, P as PPTX_VIEWER_MANIFEST_NS, S as SUPPORTED_XML_CANON_TRANSFORMS, n as SignatureDetail, o as SignatureDetailStatus, X as XMLDSIG_NS, s as XML_TRANSFORM_ENVELOPED_SIGNATURE, t as computeDetailStatus, u as computeDigestBase64WebCrypto, v as computeVerificationStatus, w as escapeXmlAttr, x as escapeXmlText, y as extractAllTagText, z as extractFirstTagText, A as extractTagAttribute, B as isValidBase64, F as normalizePartPath, G as resolveReferenceUriToPart } from '../signature-inspection-status-BCUpfCQh.mjs';
3
3
  import JSZip from 'jszip';
4
4
 
@@ -88,16 +88,30 @@ declare function loadSigningMaterialFromBuffer(certificateBuffer: Uint8Array, ce
88
88
  declare function pemCertificateToBase64(pem: string): string;
89
89
 
90
90
  /**
91
- * PKI validation utilities — certificate revocation (OCSP) and
91
+ * PKI validation utilities — PEM/fingerprint certificate helpers and
92
92
  * timestamp-authority evaluation for OOXML digital signatures.
93
93
  *
94
- * Node-only depends on `node:crypto`, `node:http`, `node:https`, and `node-forge`.
94
+ * OCSP revocation checking lives in `./ocsp.ts`.
95
+ *
96
+ * Node-only — depends on `node:crypto` and `node-forge`.
95
97
  */
96
98
 
97
99
  /** Wrap a Base64-encoded DER certificate in PEM armour. */
98
100
  declare function certPemFromBase64(certBase64: string): string | undefined;
99
101
  /** SHA-256 fingerprint of a PEM certificate (lowercase hex, no colons). */
100
102
  declare function certFingerprintSha256(certPem: string): string | undefined;
103
+ declare function evaluateTimestampAuthority(signatureXml: string): Promise<{
104
+ status: TimestampAuthorityStatus;
105
+ error?: string;
106
+ }>;
107
+
108
+ /**
109
+ * OCSP (Online Certificate Status Protocol) revocation checking for OOXML
110
+ * digital signature certificates.
111
+ *
112
+ * Node-only — depends on `node:crypto`, `node:http`, `node:https`, and `node-forge`.
113
+ */
114
+
101
115
  declare function extractOcspUrls(certPem: string): string[];
102
116
  declare function buildOcspRequestDer(leafPem: string, issuerPem: string): Buffer | undefined;
103
117
  declare function parseOcspResponseStatus(data: Buffer): CertificateRevocationStatus;
@@ -107,10 +121,6 @@ declare function evaluateCertificateRevocation(leafCertPem: string, issuerCertPe
107
121
  checkedOcspUrls: string[];
108
122
  checkedCrlUrls: string[];
109
123
  }>;
110
- declare function evaluateTimestampAuthority(signatureXml: string): Promise<{
111
- status: TimestampAuthorityStatus;
112
- error?: string;
113
- }>;
114
124
 
115
125
  /**
116
126
  * Environment-based configuration for digital signature validation.
@@ -1,4 +1,4 @@
1
- import { p as SignatureCertificateInfo, L as LoadedSigningMaterial, C as CertificateRevocationStatus, T as TimestampAuthorityStatus, r as SignatureValidationPolicy, k as ParsedReferenceTransform, R as ReferenceTransformResult, q as SignatureReferenceCheck, l as SignOptions, m as SignResult, d as DigitalSignatureReport } from '../signature-inspection-status-BCUpfCQh.js';
1
+ import { p as SignatureCertificateInfo, L as LoadedSigningMaterial, T as TimestampAuthorityStatus, C as CertificateRevocationStatus, r as SignatureValidationPolicy, k as ParsedReferenceTransform, R as ReferenceTransformResult, q as SignatureReferenceCheck, l as SignOptions, m as SignResult, d as DigitalSignatureReport } from '../signature-inspection-status-BCUpfCQh.js';
2
2
  export { D as DIGEST_ALGORITHM_TO_HASH, a as DIGEST_ALGORITHM_TO_WEB_CRYPTO, b as DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, c as DIGITAL_SIGNATURE_REL_TYPE, e as DigitalSignatureVerificationStatus, E as ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, f as ENTERPRISE_REQUIRE_REVOCATION_ENV, g as ENTERPRISE_REQUIRE_TIMESTAMP_ENV, h as ENTERPRISE_TRUST_ROOTS_FILE_ENV, i as ENTERPRISE_TRUST_ROOTS_PEM_ENV, O as OPC_RELATIONSHIP_TRANSFORM, j as OfficeSignatureReference, P as PPTX_VIEWER_MANIFEST_NS, S as SUPPORTED_XML_CANON_TRANSFORMS, n as SignatureDetail, o as SignatureDetailStatus, X as XMLDSIG_NS, s as XML_TRANSFORM_ENVELOPED_SIGNATURE, t as computeDetailStatus, u as computeDigestBase64WebCrypto, v as computeVerificationStatus, w as escapeXmlAttr, x as escapeXmlText, y as extractAllTagText, z as extractFirstTagText, A as extractTagAttribute, B as isValidBase64, F as normalizePartPath, G as resolveReferenceUriToPart } from '../signature-inspection-status-BCUpfCQh.js';
3
3
  import JSZip from 'jszip';
4
4
 
@@ -88,16 +88,30 @@ declare function loadSigningMaterialFromBuffer(certificateBuffer: Uint8Array, ce
88
88
  declare function pemCertificateToBase64(pem: string): string;
89
89
 
90
90
  /**
91
- * PKI validation utilities — certificate revocation (OCSP) and
91
+ * PKI validation utilities — PEM/fingerprint certificate helpers and
92
92
  * timestamp-authority evaluation for OOXML digital signatures.
93
93
  *
94
- * Node-only depends on `node:crypto`, `node:http`, `node:https`, and `node-forge`.
94
+ * OCSP revocation checking lives in `./ocsp.ts`.
95
+ *
96
+ * Node-only — depends on `node:crypto` and `node-forge`.
95
97
  */
96
98
 
97
99
  /** Wrap a Base64-encoded DER certificate in PEM armour. */
98
100
  declare function certPemFromBase64(certBase64: string): string | undefined;
99
101
  /** SHA-256 fingerprint of a PEM certificate (lowercase hex, no colons). */
100
102
  declare function certFingerprintSha256(certPem: string): string | undefined;
103
+ declare function evaluateTimestampAuthority(signatureXml: string): Promise<{
104
+ status: TimestampAuthorityStatus;
105
+ error?: string;
106
+ }>;
107
+
108
+ /**
109
+ * OCSP (Online Certificate Status Protocol) revocation checking for OOXML
110
+ * digital signature certificates.
111
+ *
112
+ * Node-only — depends on `node:crypto`, `node:http`, `node:https`, and `node-forge`.
113
+ */
114
+
101
115
  declare function extractOcspUrls(certPem: string): string[];
102
116
  declare function buildOcspRequestDer(leafPem: string, issuerPem: string): Buffer | undefined;
103
117
  declare function parseOcspResponseStatus(data: Buffer): CertificateRevocationStatus;
@@ -107,10 +121,6 @@ declare function evaluateCertificateRevocation(leafCertPem: string, issuerCertPe
107
121
  checkedOcspUrls: string[];
108
122
  checkedCrlUrls: string[];
109
123
  }>;
110
- declare function evaluateTimestampAuthority(signatureXml: string): Promise<{
111
- status: TimestampAuthorityStatus;
112
- error?: string;
113
- }>;
114
124
 
115
125
  /**
116
126
  * Environment-based configuration for digital signature validation.