pptx-react-viewer 2.19.6 → 2.19.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{AiChatPanel-IWC2BJH4.js → AiChatPanel-MAC2Z5SK.js} +23 -23
  3. package/dist/AiChatPanel-MAC2Z5SK.js.br +0 -0
  4. package/dist/AiChatPanel-MAC2Z5SK.js.gz +0 -0
  5. package/dist/{AiChatPanel-2VR6UFFK.mjs → AiChatPanel-WVO66CKC.mjs} +3 -3
  6. package/dist/AiChatPanel-WVO66CKC.mjs.br +0 -0
  7. package/dist/AiChatPanel-WVO66CKC.mjs.gz +0 -0
  8. package/dist/{Model3DScene-ATRIORJV.js → Model3DScene-CU4WGIMH.js} +2 -2
  9. package/dist/Model3DScene-CU4WGIMH.js.br +0 -0
  10. package/dist/Model3DScene-CU4WGIMH.js.gz +0 -0
  11. package/dist/{Model3DScene-E4T6KAJF.mjs → Model3DScene-PTCZUGIT.mjs} +1 -1
  12. package/dist/Model3DScene-PTCZUGIT.mjs.br +0 -0
  13. package/dist/Model3DScene-PTCZUGIT.mjs.gz +0 -0
  14. package/dist/{chunk-NHN6XKJV.mjs → chunk-5BG5BANR.mjs} +7 -7
  15. package/dist/chunk-5BG5BANR.mjs.br +0 -0
  16. package/dist/chunk-5BG5BANR.mjs.gz +0 -0
  17. package/dist/{chunk-IWCBDKPX.mjs → chunk-DZHCLAH3.mjs} +1 -1
  18. package/dist/chunk-DZHCLAH3.mjs.br +0 -0
  19. package/dist/chunk-DZHCLAH3.mjs.gz +0 -0
  20. package/dist/{chunk-KPNZXUKK.js → chunk-EVM5OFAD.js} +3 -3
  21. package/dist/chunk-EVM5OFAD.js.br +0 -0
  22. package/dist/chunk-EVM5OFAD.js.gz +0 -0
  23. package/dist/{chunk-3BK53XWF.js → chunk-GUGHIQ4P.js} +142 -31
  24. package/dist/chunk-GUGHIQ4P.js.br +0 -0
  25. package/dist/chunk-GUGHIQ4P.js.gz +0 -0
  26. package/dist/{chunk-2N2Z7WG2.js → chunk-JENKEQZP.js} +1022 -1022
  27. package/dist/chunk-JENKEQZP.js.br +0 -0
  28. package/dist/chunk-JENKEQZP.js.gz +0 -0
  29. package/dist/{chunk-VU4RQSTI.mjs → chunk-LP3Y4NXE.mjs} +2 -2
  30. package/dist/chunk-LP3Y4NXE.mjs.br +0 -0
  31. package/dist/chunk-LP3Y4NXE.mjs.gz +0 -0
  32. package/dist/{chunk-667ZAXQN.mjs → chunk-QZV7XDQG.mjs} +1 -1
  33. package/dist/chunk-QZV7XDQG.mjs.br +0 -0
  34. package/dist/chunk-QZV7XDQG.mjs.gz +0 -0
  35. package/dist/{chunk-FTUGCQVY.js → chunk-V5PW4QCE.js} +146 -146
  36. package/dist/chunk-V5PW4QCE.js.br +0 -0
  37. package/dist/chunk-V5PW4QCE.js.gz +0 -0
  38. package/dist/{chunk-YEEOYPFO.js → chunk-XDF76VFA.js} +373 -373
  39. package/dist/chunk-XDF76VFA.js.br +0 -0
  40. package/dist/chunk-XDF76VFA.js.gz +0 -0
  41. package/dist/{chunk-RQWZ7J3Z.mjs → chunk-ZPNLWBED.mjs} +142 -31
  42. package/dist/chunk-ZPNLWBED.mjs.br +0 -0
  43. package/dist/chunk-ZPNLWBED.mjs.gz +0 -0
  44. package/dist/index.js +45 -45
  45. package/dist/index.js.br +0 -0
  46. package/dist/index.js.gz +0 -0
  47. package/dist/index.mjs +5 -5
  48. package/dist/index.mjs.br +0 -0
  49. package/dist/index.mjs.gz +0 -0
  50. package/dist/internals.js +78 -78
  51. package/dist/internals.js.br +0 -0
  52. package/dist/internals.js.gz +0 -0
  53. package/dist/internals.mjs +3 -3
  54. package/dist/internals.mjs.br +0 -0
  55. package/dist/internals.mjs.gz +0 -0
  56. package/dist/viewer/index.js +26 -26
  57. package/dist/viewer/index.js.br +0 -0
  58. package/dist/viewer/index.js.gz +0 -0
  59. package/dist/viewer/index.mjs +5 -5
  60. package/dist/viewer/index.mjs.br +0 -0
  61. package/dist/viewer/index.mjs.gz +0 -0
  62. package/package.json +1 -1
  63. package/dist/AiChatPanel-2VR6UFFK.mjs.br +0 -0
  64. package/dist/AiChatPanel-2VR6UFFK.mjs.gz +0 -0
  65. package/dist/AiChatPanel-IWC2BJH4.js.br +0 -0
  66. package/dist/AiChatPanel-IWC2BJH4.js.gz +0 -0
  67. package/dist/Model3DScene-ATRIORJV.js.br +0 -0
  68. package/dist/Model3DScene-ATRIORJV.js.gz +0 -0
  69. package/dist/Model3DScene-E4T6KAJF.mjs.br +0 -0
  70. package/dist/Model3DScene-E4T6KAJF.mjs.gz +0 -0
  71. package/dist/chunk-2N2Z7WG2.js.br +0 -0
  72. package/dist/chunk-2N2Z7WG2.js.gz +0 -0
  73. package/dist/chunk-3BK53XWF.js.br +0 -0
  74. package/dist/chunk-3BK53XWF.js.gz +0 -0
  75. package/dist/chunk-667ZAXQN.mjs.br +0 -0
  76. package/dist/chunk-667ZAXQN.mjs.gz +0 -0
  77. package/dist/chunk-FTUGCQVY.js.br +0 -0
  78. package/dist/chunk-FTUGCQVY.js.gz +0 -0
  79. package/dist/chunk-IWCBDKPX.mjs.br +0 -0
  80. package/dist/chunk-IWCBDKPX.mjs.gz +0 -0
  81. package/dist/chunk-KPNZXUKK.js.br +0 -0
  82. package/dist/chunk-KPNZXUKK.js.gz +0 -0
  83. package/dist/chunk-NHN6XKJV.mjs.br +0 -0
  84. package/dist/chunk-NHN6XKJV.mjs.gz +0 -0
  85. package/dist/chunk-RQWZ7J3Z.mjs.br +0 -0
  86. package/dist/chunk-RQWZ7J3Z.mjs.gz +0 -0
  87. package/dist/chunk-VU4RQSTI.mjs.br +0 -0
  88. package/dist/chunk-VU4RQSTI.mjs.gz +0 -0
  89. package/dist/chunk-YEEOYPFO.js.br +0 -0
  90. package/dist/chunk-YEEOYPFO.js.gz +0 -0
Binary file
Binary file
@@ -20973,9 +20973,9 @@ function applyDrawingColorTransforms(baseColor, colorNode) {
20973
20973
  }
20974
20974
  const tint3 = parseDrawingPercent(getVal("a:tint"));
20975
20975
  if (tint3 !== void 0) {
20976
- r += (255 - r) * tint3;
20977
- g += (255 - g) * tint3;
20978
- b += (255 - b) * tint3;
20976
+ r = 255 - (255 - r) * tint3;
20977
+ g = 255 - (255 - g) * tint3;
20978
+ b = 255 - (255 - b) * tint3;
20979
20979
  }
20980
20980
  const hslKeys = [
20981
20981
  "a:hue",
@@ -27501,7 +27501,7 @@ function guidToKey(guid) {
27501
27501
  }
27502
27502
  const key2 = new Uint8Array(KEY_LENGTH);
27503
27503
  for (let i = 0; i < KEY_LENGTH; i++) {
27504
- key2[i] = parseInt(stripped.substring(i * 2, i * 2 + 2), 16);
27504
+ key2[KEY_LENGTH - 1 - i] = parseInt(stripped.substring(i * 2, i * 2 + 2), 16);
27505
27505
  }
27506
27506
  return key2;
27507
27507
  }
@@ -56165,11 +56165,6 @@ var PptxHandlerRuntime11 = class extends PptxHandlerRuntime10 {
56165
56165
  if (requestedSourcePath && this.slideMap.has(requestedSourcePath) && requestedSourcePath.startsWith("ppt/slides/slide")) {
56166
56166
  return requestedSourcePath;
56167
56167
  }
56168
- for (const slidePath of this.slideMap.keys()) {
56169
- if (slidePath.startsWith("ppt/slides/slide")) {
56170
- return slidePath;
56171
- }
56172
- }
56173
56168
  return void 0;
56174
56169
  }
56175
56170
  async loadSlideRelationships(slidePath, relsPath) {
@@ -56209,8 +56204,7 @@ var PptxHandlerRuntime11 = class extends PptxHandlerRuntime10 {
56209
56204
  }
56210
56205
  const cSld = pSld["p:cSld"];
56211
56206
  if (!cSld["p:spTree"]) {
56212
- const emptySlide = this.createEmptySlideXml();
56213
- const emptyTree = emptySlide["p:sld"]?.["p:cSld"]?.["p:spTree"];
56207
+ const emptySlide = this.createEmptySlideXml(), emptyTree = emptySlide["p:sld"]?.["p:cSld"]?.["p:spTree"];
56214
56208
  if (emptyTree) {
56215
56209
  cSld["p:spTree"] = emptyTree;
56216
56210
  }
@@ -59009,13 +59003,32 @@ var PptxHandlerRuntime21 = class extends PptxHandlerRuntime20 {
59009
59003
  const nvPr = xmlPath(raw, "p:nvSpPr", "p:nvPr") ?? xmlPath(raw, "p:nvPicPr", "p:nvPr") ?? xmlPath(raw, "p:nvGraphicFramePr", "p:nvPr");
59010
59004
  return this.readPlaceholderInfoFromNvPr(nvPr);
59011
59005
  }
59006
+ /**
59007
+ * Whether a placeholder element is still an untouched prompt ("Click to
59008
+ * add text") rather than real user content. Only `type: 'text'`
59009
+ * placeholders can be untouched this way: `createEmptyPlaceholderElement`
59010
+ * only ever fabricates that kind, and any other kind (picture, table,
59011
+ * chart, ...) implies the user already put something in it.
59012
+ */
59013
+ isUntouchedPlaceholderPrompt(element) {
59014
+ if (element.type !== "text") {
59015
+ return false;
59016
+ }
59017
+ if (element.text && element.text.trim().length > 0) {
59018
+ return false;
59019
+ }
59020
+ return !element.textSegments?.some((segment) => segment.text.trim().length > 0);
59021
+ }
59012
59022
  // ── Layout placeholder extraction ───────────────────────────────────
59013
59023
  /**
59014
- * Extract all placeholders from a layout's `p:spTree`, returning
59015
- * their placeholder info and their transform (position/size in EMU).
59024
+ * Extract placeholder info + transform (position/size in EMU) for every
59025
+ * placeholder shape in a `p:spTree`. Shared by layout and master
59026
+ * extraction so a layout slot that omits `a:xfrm` (common: only the first
59027
+ * placeholder of a family typically carries one, the rest inherit
59028
+ * position/size from the matching master placeholder) can be resolved
59029
+ * against the same shape of the master.
59016
59030
  */
59017
- extractLayoutPlaceholders(layoutXml) {
59018
- const spTree = xmlPath(layoutXml, "p:sldLayout", "p:cSld", "p:spTree");
59031
+ extractPlaceholderSlotsFromSpTree(spTree) {
59019
59032
  if (!spTree) {
59020
59033
  return [];
59021
59034
  }
@@ -59043,6 +59056,103 @@ var PptxHandlerRuntime21 = class extends PptxHandlerRuntime20 {
59043
59056
  }
59044
59057
  return result;
59045
59058
  }
59059
+ /**
59060
+ * Resolve a layout's slideMaster path from its `.rels` map. Mirrors
59061
+ * `PptxHandlerRuntimeLoadPipeline.findMasterPathForLayout` under a
59062
+ * distinct name: that mixin sits higher in the chain and is not yet
59063
+ * available at this level, and reusing its exact name here would collide
59064
+ * across the mixin chain (TypeScript requires consistent member
59065
+ * visibility for same-named members across the whole prototype chain).
59066
+ */
59067
+ resolveMasterPathForNewLayout(layoutPath) {
59068
+ const layoutRels = this.slideRelsMap.get(layoutPath);
59069
+ if (!layoutRels) {
59070
+ return void 0;
59071
+ }
59072
+ for (const [, target] of layoutRels.entries()) {
59073
+ if (target.includes("slideMaster")) {
59074
+ const layoutDir = layoutPath.substring(0, layoutPath.lastIndexOf("/") + 1);
59075
+ if (target.startsWith("..")) {
59076
+ const segments = (layoutDir + target).split("/");
59077
+ const stack = [];
59078
+ for (const seg of segments) {
59079
+ if (seg === "..") {
59080
+ stack.pop();
59081
+ } else if (seg && seg !== ".") {
59082
+ stack.push(seg);
59083
+ }
59084
+ }
59085
+ return stack.join("/");
59086
+ }
59087
+ return `ppt/${stripParentDirSegments(target)}`;
59088
+ }
59089
+ }
59090
+ return void 0;
59091
+ }
59092
+ /**
59093
+ * Find the master placeholder slot a layout slot inherits its geometry
59094
+ * from when the layout shape itself carries no `a:xfrm`. Prefers an idx
59095
+ * match (the common case: layout and master share idx for ordinary
59096
+ * title/body placeholders); falls back to a type match (with the
59097
+ * ctrTitle->title / subTitle->body aliasing `placeholderMatches` also
59098
+ * applies) since idx is not guaranteed to line up for every family.
59099
+ */
59100
+ findMasterSlotForLayoutSlot(masterSlots, layoutPhInfo) {
59101
+ if (layoutPhInfo.idx !== void 0) {
59102
+ const byIdx = masterSlots.find((slot) => slot.phInfo.idx === layoutPhInfo.idx);
59103
+ if (byIdx) {
59104
+ return byIdx;
59105
+ }
59106
+ }
59107
+ if (!layoutPhInfo.type) {
59108
+ return void 0;
59109
+ }
59110
+ const aliasedType = layoutPhInfo.type === "ctrtitle" ? "title" : layoutPhInfo.type === "subtitle" ? "body" : layoutPhInfo.type;
59111
+ return masterSlots.find(
59112
+ (slot) => slot.phInfo.type === layoutPhInfo.type || slot.phInfo.type === aliasedType
59113
+ );
59114
+ }
59115
+ /**
59116
+ * Extract all placeholders from a layout's `p:spTree`, returning their
59117
+ * placeholder info and transform (position/size in EMU). A slot whose
59118
+ * layout shape has no `a:xfrm` (inheriting position/size from the master
59119
+ * instead) resolves its geometry against the matching master placeholder
59120
+ * rather than reporting an all-zero transform.
59121
+ */
59122
+ extractLayoutPlaceholders(layoutXml, layoutPath) {
59123
+ const spTree = xmlPath(layoutXml, "p:sldLayout", "p:cSld", "p:spTree");
59124
+ const slots = this.extractPlaceholderSlotsFromSpTree(spTree);
59125
+ if (slots.length === 0 || !layoutPath) {
59126
+ return slots;
59127
+ }
59128
+ const needsMasterGeometry = slots.some((slot) => slot.cxEmu <= 0 || slot.cyEmu <= 0);
59129
+ if (!needsMasterGeometry) {
59130
+ return slots;
59131
+ }
59132
+ const masterPath = this.resolveMasterPathForNewLayout(layoutPath);
59133
+ const masterXml = masterPath ? this.masterXmlMap.get(masterPath) : void 0;
59134
+ const masterSpTree = xmlPath(masterXml, "p:sldMaster", "p:cSld", "p:spTree");
59135
+ const masterSlots = this.extractPlaceholderSlotsFromSpTree(masterSpTree);
59136
+ if (masterSlots.length === 0) {
59137
+ return slots;
59138
+ }
59139
+ return slots.map((slot) => {
59140
+ if (slot.cxEmu > 0 && slot.cyEmu > 0) {
59141
+ return slot;
59142
+ }
59143
+ const masterSlot = this.findMasterSlotForLayoutSlot(masterSlots, slot.phInfo);
59144
+ if (!masterSlot || masterSlot.cxEmu <= 0 || masterSlot.cyEmu <= 0) {
59145
+ return slot;
59146
+ }
59147
+ return {
59148
+ ...slot,
59149
+ xEmu: masterSlot.xEmu,
59150
+ yEmu: masterSlot.yEmu,
59151
+ cxEmu: masterSlot.cxEmu,
59152
+ cyEmu: masterSlot.cyEmu
59153
+ };
59154
+ });
59155
+ }
59046
59156
  // ── Core layout switching logic ─────────────────────────────────────
59047
59157
  /**
59048
59158
  * Re-map slide elements to a new layout's placeholders.
@@ -59059,7 +59169,10 @@ var PptxHandlerRuntime21 = class extends PptxHandlerRuntime20 {
59059
59169
  * @returns The updated elements array.
59060
59170
  */
59061
59171
  remapElementsToNewLayout(elements2, newLayoutXml, newLayoutPath) {
59062
- const targets = this.extractLayoutPlaceholders(newLayoutXml).map((slot) => ({ ...slot, matched: false }));
59172
+ const targets = this.extractLayoutPlaceholders(newLayoutXml, newLayoutPath).map((slot) => ({
59173
+ ...slot,
59174
+ matched: false
59175
+ }));
59063
59176
  const resultElements = [];
59064
59177
  for (const element of elements2) {
59065
59178
  const phInfo = this.getElementPlaceholderInfo(element);
@@ -59104,7 +59217,7 @@ var PptxHandlerRuntime21 = class extends PptxHandlerRuntime20 {
59104
59217
  retargetPlaceholder(updatedElement.rawXml, resolvedLayoutPh.phInfo);
59105
59218
  }
59106
59219
  resultElements.push(updatedElement);
59107
- } else {
59220
+ } else if (!this.isUntouchedPlaceholderPrompt(element)) {
59108
59221
  resultElements.push(element);
59109
59222
  }
59110
59223
  }
@@ -68831,6 +68944,7 @@ var PptxHandlerRuntime51 = class _PptxHandlerRuntime18 extends PptxHandlerRuntim
68831
68944
  this.zip.file(relsPath, this.builder.build(relsData));
68832
68945
  }
68833
68946
  };
68947
+ var SPECIAL_PLACEHOLDER_TYPES = /* @__PURE__ */ new Set(["dt", "ftr", "hdr", "sldnum"]);
68834
68948
  var PptxHandlerRuntime52 = class _PptxHandlerRuntime19 extends PptxHandlerRuntime51 {
68835
68949
  /**
68836
68950
  * Parse media data (video/audio path and MIME type) from graphic frame data.
@@ -69059,6 +69173,9 @@ var PptxHandlerRuntime52 = class _PptxHandlerRuntime19 extends PptxHandlerRuntim
69059
69173
  if (source.type && target.type && !typesMatch) {
69060
69174
  return false;
69061
69175
  }
69176
+ if (source.type && SPECIAL_PLACEHOLDER_TYPES.has(source.type) && !target.type || target.type && SPECIAL_PLACEHOLDER_TYPES.has(target.type) && !source.type) {
69177
+ return false;
69178
+ }
69062
69179
  const bothHaveExplicitIdx = source.idx !== void 0 && target.idx !== void 0;
69063
69180
  if (!bothHaveExplicitIdx && source.type && !target.type) {
69064
69181
  return false;
@@ -107467,9 +107584,9 @@ function rgbToHex4(r, g, b) {
107467
107584
  function tintColor(hex4, tintFactor) {
107468
107585
  const { r, g, b } = hexToRgb4(hex4);
107469
107586
  return rgbToHex4(
107470
- r + (255 - r) * tintFactor,
107471
- g + (255 - g) * tintFactor,
107472
- b + (255 - b) * tintFactor
107587
+ 255 - (255 - r) * tintFactor,
107588
+ 255 - (255 - g) * tintFactor,
107589
+ 255 - (255 - b) * tintFactor
107473
107590
  );
107474
107591
  }
107475
107592
  function shadeColor(hex4, shadeFactor) {
@@ -107541,12 +107658,10 @@ function applyStyleFill(fill, colorScheme, css, fallback) {
107541
107658
  const fg = normalizeHexColor(
107542
107659
  resolveStyleFillColor(fill.pattern.foreground, colorScheme),
107543
107660
  "#000000"
107544
- );
107545
- const bg = normalizeHexColor(
107661
+ ), bg = normalizeHexColor(
107546
107662
  resolveStyleFillColor(fill.pattern.background, colorScheme),
107547
107663
  "#ffffff"
107548
- );
107549
- const svg = getPatternSvg(fill.pattern.preset, fg, bg);
107664
+ ), svg = getPatternSvg(fill.pattern.preset, fg, bg);
107550
107665
  clearBackground(css);
107551
107666
  if (svg) {
107552
107667
  css.backgroundImage = `url("data:image/svg+xml,${encodeURIComponent(svg)}")`;
@@ -107631,11 +107746,7 @@ var BEVEL_LIGHT_OFFSETS = {
107631
107746
  l: { x: 1, y: 0 }
107632
107747
  };
107633
107748
  function cell3DBevelCss(cell3D) {
107634
- const size = Math.max(cell3D.bevelHeight ?? cell3D.bevelWidth ?? 4, 1);
107635
- const dir = cell3D.lightRigDirection ?? "tl";
107636
- const off = BEVEL_LIGHT_OFFSETS[dir] ?? BEVEL_LIGHT_OFFSETS.tl;
107637
- const highlight = `inset ${off.x * size}px ${off.y * size}px ${size}px rgba(255,255,255,0.55)`;
107638
- const shadow = `inset ${-off.x * size}px ${-off.y * size}px ${size}px rgba(0,0,0,0.4)`;
107749
+ const size = Math.max(cell3D.bevelHeight ?? cell3D.bevelWidth ?? 4, 1), dir = cell3D.lightRigDirection ?? "tl", off = BEVEL_LIGHT_OFFSETS[dir] ?? BEVEL_LIGHT_OFFSETS.tl, highlight = `inset ${off.x * size}px ${off.y * size}px ${size}px rgba(255,255,255,0.55)`, shadow = `inset ${-off.x * size}px ${-off.y * size}px ${size}px rgba(0,0,0,0.4)`;
107639
107750
  return { boxShadow: `${highlight}, ${shadow}` };
107640
107751
  }
107641
107752
  function cellRunStyle(run) {
@@ -109160,7 +109271,7 @@ function getImageFitStyle(el) {
109160
109271
  const uncropped = {
109161
109272
  width: "100%",
109162
109273
  height: "100%",
109163
- objectFit: "cover"
109274
+ objectFit: "fill"
109164
109275
  };
109165
109276
  if (!isImageLikeElement(el)) {
109166
109277
  return uncropped;
@@ -130603,7 +130714,7 @@ var WEIGHT_SUFFIXES = [
130603
130714
  [/black|heavy/iu, "900"],
130604
130715
  [/bold/iu, "700"]
130605
130716
  ];
130606
- var STYLE_TOKEN = /[-_\s]*(?:thin|hairline|extralight|ultralight|light|regular|normal|book|medium|semibold|demibold|extrabold|ultrabold|black|heavy|bold|italic|oblique)+$/giu;
130717
+ var STYLE_TOKEN = /[-_\s]*(?:thin|hairline|extralight|ultralight|light|regular|normal|book|medium|semibold|demibold|extrabold|ultrabold|black|heavy|bold|italic|oblique)$/giu;
130607
130718
  function deriveCustomFontDescriptor(fileName) {
130608
130719
  const stem = fileName.replace(/\.[^.]+$/u, "");
130609
130720
  const italic = /(?:italic|oblique)(?![a-z])/iu.test(stem);
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,54 +1,54 @@
1
1
  'use strict';
2
2
 
3
- var chunk2N2Z7WG2_js = require('./chunk-2N2Z7WG2.js');
4
- require('./chunk-KPNZXUKK.js');
5
- var chunkYEEOYPFO_js = require('./chunk-YEEOYPFO.js');
6
- var chunkFTUGCQVY_js = require('./chunk-FTUGCQVY.js');
3
+ var chunkJENKEQZP_js = require('./chunk-JENKEQZP.js');
4
+ require('./chunk-EVM5OFAD.js');
5
+ var chunkXDF76VFA_js = require('./chunk-XDF76VFA.js');
6
+ var chunkV5PW4QCE_js = require('./chunk-V5PW4QCE.js');
7
7
  var chunkMVKRI3CZ_js = require('./chunk-MVKRI3CZ.js');
8
- var chunk3BK53XWF_js = require('./chunk-3BK53XWF.js');
8
+ var chunkGUGHIQ4P_js = require('./chunk-GUGHIQ4P.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunk2N2Z7WG2_js.PowerPointViewer; }
15
+ get: function () { return chunkJENKEQZP_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunk2N2Z7WG2_js.SlideCanvas; }
19
+ get: function () { return chunkJENKEQZP_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunk2N2Z7WG2_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkJENKEQZP_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunk2N2Z7WG2_js.SlideTemplatePreview; }
27
+ get: function () { return chunkJENKEQZP_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunk2N2Z7WG2_js.Toolbar; }
31
+ get: function () { return chunkJENKEQZP_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunk2N2Z7WG2_js.ViewerThemeProvider; }
35
+ get: function () { return chunkJENKEQZP_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunk2N2Z7WG2_js.useViewerTheme; }
39
+ get: function () { return chunkJENKEQZP_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkYEEOYPFO_js.renderToCanvas; }
43
+ get: function () { return chunkXDF76VFA_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkYEEOYPFO_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkXDF76VFA_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkFTUGCQVY_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkV5PW4QCE_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "LOCALE_CATALOG", {
54
54
  enumerable: true,
@@ -56,121 +56,121 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
56
56
  });
57
57
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
58
58
  enumerable: true,
59
- get: function () { return chunk3BK53XWF_js.AVATAR_COLOR_SWATCHES; }
59
+ get: function () { return chunkGUGHIQ4P_js.AVATAR_COLOR_SWATCHES; }
60
60
  });
61
61
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
62
62
  enumerable: true,
63
- get: function () { return chunk3BK53XWF_js.DEFAULT_VIEWER_PROFILE; }
63
+ get: function () { return chunkGUGHIQ4P_js.DEFAULT_VIEWER_PROFILE; }
64
64
  });
65
65
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
66
66
  enumerable: true,
67
- get: function () { return chunk3BK53XWF_js.PPTX_OPEN_ACCEPT; }
67
+ get: function () { return chunkGUGHIQ4P_js.PPTX_OPEN_ACCEPT; }
68
68
  });
69
69
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
70
70
  enumerable: true,
71
- get: function () { return chunk3BK53XWF_js.PRESENTATION_OPEN_EXTENSIONS; }
71
+ get: function () { return chunkGUGHIQ4P_js.PRESENTATION_OPEN_EXTENSIONS; }
72
72
  });
73
73
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
74
74
  enumerable: true,
75
- get: function () { return chunk3BK53XWF_js.SLIDE_TEMPLATES; }
75
+ get: function () { return chunkGUGHIQ4P_js.SLIDE_TEMPLATES; }
76
76
  });
77
77
  Object.defineProperty(exports, "THEME_CATALOG", {
78
78
  enumerable: true,
79
- get: function () { return chunk3BK53XWF_js.THEME_CATALOG; }
79
+ get: function () { return chunkGUGHIQ4P_js.THEME_CATALOG; }
80
80
  });
81
81
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
82
82
  enumerable: true,
83
- get: function () { return chunk3BK53XWF_js.VIEWER_PREFS_STORAGE_KEY; }
83
+ get: function () { return chunkGUGHIQ4P_js.VIEWER_PREFS_STORAGE_KEY; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateContent", {
86
86
  enumerable: true,
87
- get: function () { return chunk3BK53XWF_js.buildSlideTemplateContent; }
87
+ get: function () { return chunkGUGHIQ4P_js.buildSlideTemplateContent; }
88
88
  });
89
89
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
90
90
  enumerable: true,
91
- get: function () { return chunk3BK53XWF_js.buildSlideTemplateSlide; }
91
+ get: function () { return chunkGUGHIQ4P_js.buildSlideTemplateSlide; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearAllLocalViewerData", {
94
94
  enumerable: true,
95
- get: function () { return chunk3BK53XWF_js.clearAllLocalViewerData; }
95
+ get: function () { return chunkGUGHIQ4P_js.clearAllLocalViewerData; }
96
96
  });
97
97
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
98
98
  enumerable: true,
99
- get: function () { return chunk3BK53XWF_js.clearStoredViewerPrefs; }
99
+ get: function () { return chunkGUGHIQ4P_js.clearStoredViewerPrefs; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunk3BK53XWF_js.defaultCssVars; }
103
+ get: function () { return chunkGUGHIQ4P_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunk3BK53XWF_js.defaultRadius; }
107
+ get: function () { return chunkGUGHIQ4P_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunk3BK53XWF_js.defaultThemeColors; }
111
+ get: function () { return chunkGUGHIQ4P_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
114
114
  enumerable: true,
115
- get: function () { return chunk3BK53XWF_js.getLocalStorageUsageSummary; }
115
+ get: function () { return chunkGUGHIQ4P_js.getLocalStorageUsageSummary; }
116
116
  });
117
117
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
118
118
  enumerable: true,
119
- get: function () { return chunk3BK53XWF_js.isLegacyBinaryPresentation; }
119
+ get: function () { return chunkGUGHIQ4P_js.isLegacyBinaryPresentation; }
120
120
  });
121
121
  Object.defineProperty(exports, "isSupportedPresentationFile", {
122
122
  enumerable: true,
123
- get: function () { return chunk3BK53XWF_js.isSupportedPresentationFile; }
123
+ get: function () { return chunkGUGHIQ4P_js.isSupportedPresentationFile; }
124
124
  });
125
125
  Object.defineProperty(exports, "presentationBaseName", {
126
126
  enumerable: true,
127
- get: function () { return chunk3BK53XWF_js.presentationBaseName; }
127
+ get: function () { return chunkGUGHIQ4P_js.presentationBaseName; }
128
128
  });
129
129
  Object.defineProperty(exports, "readStoredViewerPrefs", {
130
130
  enumerable: true,
131
- get: function () { return chunk3BK53XWF_js.readStoredViewerPrefs; }
131
+ get: function () { return chunkGUGHIQ4P_js.readStoredViewerPrefs; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveProfileInitial", {
134
134
  enumerable: true,
135
- get: function () { return chunk3BK53XWF_js.resolveProfileInitial; }
135
+ get: function () { return chunkGUGHIQ4P_js.resolveProfileInitial; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
138
138
  enumerable: true,
139
- get: function () { return chunk3BK53XWF_js.resolveThemeCatalogEntry; }
139
+ get: function () { return chunkGUGHIQ4P_js.resolveThemeCatalogEntry; }
140
140
  });
141
141
  Object.defineProperty(exports, "saveViewerProfile", {
142
142
  enumerable: true,
143
- get: function () { return chunk3BK53XWF_js.saveViewerProfile; }
143
+ get: function () { return chunkGUGHIQ4P_js.saveViewerProfile; }
144
144
  });
145
145
  Object.defineProperty(exports, "savedPresentationFileName", {
146
146
  enumerable: true,
147
- get: function () { return chunk3BK53XWF_js.savedPresentationFileName; }
147
+ get: function () { return chunkGUGHIQ4P_js.savedPresentationFileName; }
148
148
  });
149
149
  Object.defineProperty(exports, "themeToCssVars", {
150
150
  enumerable: true,
151
- get: function () { return chunk3BK53XWF_js.themeToCssVars; }
151
+ get: function () { return chunkGUGHIQ4P_js.themeToCssVars; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkColors", {
154
154
  enumerable: true,
155
- get: function () { return chunk3BK53XWF_js.vermilionDarkColors; }
155
+ get: function () { return chunkGUGHIQ4P_js.vermilionDarkColors; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkTheme", {
158
158
  enumerable: true,
159
- get: function () { return chunk3BK53XWF_js.vermilionDarkTheme; }
159
+ get: function () { return chunkGUGHIQ4P_js.vermilionDarkTheme; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightColors", {
162
162
  enumerable: true,
163
- get: function () { return chunk3BK53XWF_js.vermilionLightColors; }
163
+ get: function () { return chunkGUGHIQ4P_js.vermilionLightColors; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightTheme", {
166
166
  enumerable: true,
167
- get: function () { return chunk3BK53XWF_js.vermilionLightTheme; }
167
+ get: function () { return chunkGUGHIQ4P_js.vermilionLightTheme; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionRadius", {
170
170
  enumerable: true,
171
- get: function () { return chunk3BK53XWF_js.vermilionRadius; }
171
+ get: function () { return chunkGUGHIQ4P_js.vermilionRadius; }
172
172
  });
173
173
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
174
174
  enumerable: true,
175
- get: function () { return chunk3BK53XWF_js.writeStoredViewerPrefs; }
175
+ get: function () { return chunkGUGHIQ4P_js.writeStoredViewerPrefs; }
176
176
  });
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-NHN6XKJV.mjs';
2
- import './chunk-IWCBDKPX.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-VU4RQSTI.mjs';
4
- export { getAnimationInitialStyle } from './chunk-667ZAXQN.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-5BG5BANR.mjs';
2
+ import './chunk-DZHCLAH3.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-LP3Y4NXE.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-QZV7XDQG.mjs';
5
5
  export { LOCALE_CATALOG } from './chunk-SQJBFMEX.mjs';
6
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-RQWZ7J3Z.mjs';
6
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-ZPNLWBED.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file