pptx-react-viewer 2.19.5 → 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.
- package/CHANGELOG.md +20 -0
- package/dist/{AiChatPanel-F4X3OZFG.js → AiChatPanel-MAC2Z5SK.js} +23 -23
- package/dist/AiChatPanel-MAC2Z5SK.js.br +0 -0
- package/dist/AiChatPanel-MAC2Z5SK.js.gz +0 -0
- package/dist/{AiChatPanel-P663354U.mjs → AiChatPanel-WVO66CKC.mjs} +3 -3
- package/dist/AiChatPanel-WVO66CKC.mjs.br +0 -0
- package/dist/AiChatPanel-WVO66CKC.mjs.gz +0 -0
- package/dist/{Model3DScene-TGGZF6XI.js → Model3DScene-CU4WGIMH.js} +2 -2
- package/dist/Model3DScene-CU4WGIMH.js.br +0 -0
- package/dist/Model3DScene-CU4WGIMH.js.gz +0 -0
- package/dist/{Model3DScene-F6FAHPW7.mjs → Model3DScene-PTCZUGIT.mjs} +1 -1
- package/dist/{Model3DScene-F6FAHPW7.mjs.br → Model3DScene-PTCZUGIT.mjs.br} +0 -0
- package/dist/Model3DScene-PTCZUGIT.mjs.gz +0 -0
- package/dist/{chunk-GNSYA6W3.mjs → chunk-5BG5BANR.mjs} +31 -50
- package/dist/chunk-5BG5BANR.mjs.br +0 -0
- package/dist/chunk-5BG5BANR.mjs.gz +0 -0
- package/dist/{chunk-FWX6HUVA.mjs → chunk-DZHCLAH3.mjs} +1 -1
- package/dist/chunk-DZHCLAH3.mjs.br +0 -0
- package/dist/chunk-DZHCLAH3.mjs.gz +0 -0
- package/dist/{chunk-PEGZP2W2.js → chunk-EVM5OFAD.js} +3 -3
- package/dist/chunk-EVM5OFAD.js.br +0 -0
- package/dist/chunk-EVM5OFAD.js.gz +0 -0
- package/dist/{chunk-IJY5WNZK.js → chunk-GUGHIQ4P.js} +169 -31
- package/dist/chunk-GUGHIQ4P.js.br +0 -0
- package/dist/chunk-GUGHIQ4P.js.gz +0 -0
- package/dist/{chunk-C4LQ7ZWL.js → chunk-JENKEQZP.js} +1045 -1064
- package/dist/chunk-JENKEQZP.js.br +0 -0
- package/dist/chunk-JENKEQZP.js.gz +0 -0
- package/dist/{chunk-3WR2D4AJ.mjs → chunk-LP3Y4NXE.mjs} +2 -2
- package/dist/chunk-LP3Y4NXE.mjs.br +0 -0
- package/dist/chunk-LP3Y4NXE.mjs.gz +0 -0
- package/dist/{chunk-2HNIYZ3O.mjs → chunk-QZV7XDQG.mjs} +1 -1
- package/dist/chunk-QZV7XDQG.mjs.br +0 -0
- package/dist/chunk-QZV7XDQG.mjs.gz +0 -0
- package/dist/{chunk-D4LINQVA.js → chunk-V5PW4QCE.js} +146 -146
- package/dist/chunk-V5PW4QCE.js.br +0 -0
- package/dist/chunk-V5PW4QCE.js.gz +0 -0
- package/dist/{chunk-FDZNVVQ7.js → chunk-XDF76VFA.js} +373 -373
- package/dist/chunk-XDF76VFA.js.br +0 -0
- package/dist/chunk-XDF76VFA.js.gz +0 -0
- package/dist/{chunk-J3JFXIDN.mjs → chunk-ZPNLWBED.mjs} +169 -32
- package/dist/chunk-ZPNLWBED.mjs.br +0 -0
- package/dist/chunk-ZPNLWBED.mjs.gz +0 -0
- package/dist/index.js +45 -45
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.js +78 -78
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-F4X3OZFG.js.br +0 -0
- package/dist/AiChatPanel-F4X3OZFG.js.gz +0 -0
- package/dist/AiChatPanel-P663354U.mjs.br +0 -0
- package/dist/AiChatPanel-P663354U.mjs.gz +0 -0
- package/dist/Model3DScene-F6FAHPW7.mjs.gz +0 -0
- package/dist/Model3DScene-TGGZF6XI.js.br +0 -0
- package/dist/Model3DScene-TGGZF6XI.js.gz +0 -0
- package/dist/chunk-2HNIYZ3O.mjs.br +0 -0
- package/dist/chunk-2HNIYZ3O.mjs.gz +0 -0
- package/dist/chunk-3WR2D4AJ.mjs.br +0 -0
- package/dist/chunk-3WR2D4AJ.mjs.gz +0 -0
- package/dist/chunk-C4LQ7ZWL.js.br +0 -0
- package/dist/chunk-C4LQ7ZWL.js.gz +0 -0
- package/dist/chunk-D4LINQVA.js.br +0 -0
- package/dist/chunk-D4LINQVA.js.gz +0 -0
- package/dist/chunk-FDZNVVQ7.js.br +0 -0
- package/dist/chunk-FDZNVVQ7.js.gz +0 -0
- package/dist/chunk-FWX6HUVA.mjs.br +0 -0
- package/dist/chunk-FWX6HUVA.mjs.gz +0 -0
- package/dist/chunk-GNSYA6W3.mjs.br +0 -0
- package/dist/chunk-GNSYA6W3.mjs.gz +0 -0
- package/dist/chunk-IJY5WNZK.js.br +0 -0
- package/dist/chunk-IJY5WNZK.js.gz +0 -0
- package/dist/chunk-J3JFXIDN.mjs.br +0 -0
- package/dist/chunk-J3JFXIDN.mjs.gz +0 -0
- package/dist/chunk-PEGZP2W2.js.br +0 -0
- package/dist/chunk-PEGZP2W2.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
|
|
20977
|
-
g
|
|
20978
|
-
b
|
|
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
|
|
59015
|
-
*
|
|
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
|
-
|
|
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) => ({
|
|
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
|
-
|
|
107471
|
-
|
|
107472
|
-
|
|
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: "
|
|
109274
|
+
objectFit: "fill"
|
|
109164
109275
|
};
|
|
109165
109276
|
if (!isImageLikeElement(el)) {
|
|
109166
109277
|
return uncropped;
|
|
@@ -119347,6 +119458,32 @@ function createPresenceProjector() {
|
|
|
119347
119458
|
}
|
|
119348
119459
|
};
|
|
119349
119460
|
}
|
|
119461
|
+
var DEFAULT_LOCAL_COLOR = "#6366f1";
|
|
119462
|
+
function getUserInitials(name) {
|
|
119463
|
+
const trimmed = name.trim(), parts = trimmed.split(/\s+/u).filter(Boolean), first = parts[0], last = parts[parts.length - 1];
|
|
119464
|
+
if (parts.length >= 2 && first && last) {
|
|
119465
|
+
return (first[0] + last[0]).toUpperCase();
|
|
119466
|
+
}
|
|
119467
|
+
return trimmed.slice(0, 2).toUpperCase();
|
|
119468
|
+
}
|
|
119469
|
+
function buildActiveSessionUsers(params) {
|
|
119470
|
+
const local = {
|
|
119471
|
+
id: "local",
|
|
119472
|
+
name: params.localUserName,
|
|
119473
|
+
initials: getUserInitials(params.localUserName),
|
|
119474
|
+
color: params.localUserColor ?? DEFAULT_LOCAL_COLOR,
|
|
119475
|
+
isLocal: true
|
|
119476
|
+
}, remote = params.remoteUsers.map((user) => ({
|
|
119477
|
+
id: String(user.clientId),
|
|
119478
|
+
name: user.userName,
|
|
119479
|
+
initials: getUserInitials(user.userName),
|
|
119480
|
+
color: user.userColor,
|
|
119481
|
+
avatarUrl: user.userAvatar,
|
|
119482
|
+
isLocal: false,
|
|
119483
|
+
slideNumber: user.activeSlideIndex + 1
|
|
119484
|
+
}));
|
|
119485
|
+
return [local, ...remote];
|
|
119486
|
+
}
|
|
119350
119487
|
var YDOC_ASSETS_KEY = "pptx:assets";
|
|
119351
119488
|
var ASSET_ELEMENT_FIELDS = /* @__PURE__ */ new Set([
|
|
119352
119489
|
"mediaData",
|
|
@@ -130577,7 +130714,7 @@ var WEIGHT_SUFFIXES = [
|
|
|
130577
130714
|
[/black|heavy/iu, "900"],
|
|
130578
130715
|
[/bold/iu, "700"]
|
|
130579
130716
|
];
|
|
130580
|
-
var STYLE_TOKEN = /[-_\s]*(?:thin|hairline|extralight|ultralight|light|regular|normal|book|medium|semibold|demibold|extrabold|ultrabold|black|heavy|bold|italic|oblique)
|
|
130717
|
+
var STYLE_TOKEN = /[-_\s]*(?:thin|hairline|extralight|ultralight|light|regular|normal|book|medium|semibold|demibold|extrabold|ultrabold|black|heavy|bold|italic|oblique)$/giu;
|
|
130581
130718
|
function deriveCustomFontDescriptor(fileName) {
|
|
130582
130719
|
const stem = fileName.replace(/\.[^.]+$/u, "");
|
|
130583
130720
|
const italic = /(?:italic|oblique)(?![a-z])/iu.test(stem);
|
|
@@ -134211,4 +134348,4 @@ function segmentFrameCount(durationMs, fps) {
|
|
|
134211
134348
|
* `<p:extLst>` (optional)
|
|
134212
134349
|
*/
|
|
134213
134350
|
|
|
134214
|
-
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildParagraphs, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canInteractWithElement, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartDataChangeType, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampPercent, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, commentTextSegments, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, describeFontEmbedding, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, escapeHtml22 as escapeHtml2, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findInSlides, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideSorterKey, masterViewBackgroundColor, masterViewElements, masterViewPseudoSlide, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeSegments, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerCustomFont, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, replaceMasterViewElements, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveFontForScript, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveMetricTrackingPx, resolveOleType, resolvePalette, resolveProfileInitial, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scanAvailableFontFamilies, schemaLabel, scopeLayoutOptionsToSlide, segmentByScript, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRoomSlidesReplaceLoad, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, styleShadowFilter, substituteFieldText, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
|
|
134351
|
+
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildParagraphs, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canInteractWithElement, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartDataChangeType, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampPercent, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, commentTextSegments, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, describeFontEmbedding, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, escapeHtml22 as escapeHtml2, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findInSlides, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideSorterKey, masterViewBackgroundColor, masterViewElements, masterViewPseudoSlide, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeSegments, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerCustomFont, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, replaceMasterViewElements, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveFontForScript, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveMetricTrackingPx, resolveOleType, resolvePalette, resolveProfileInitial, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scanAvailableFontFamilies, schemaLabel, scopeLayoutOptionsToSlide, segmentByScript, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRoomSlidesReplaceLoad, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, styleShadowFilter, substituteFieldText, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
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
|
|
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
|
|
15
|
+
get: function () { return chunkJENKEQZP_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkJENKEQZP_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkJENKEQZP_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkJENKEQZP_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkJENKEQZP_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkJENKEQZP_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkJENKEQZP_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkXDF76VFA_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkXDF76VFA_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
87
|
+
get: function () { return chunkGUGHIQ4P_js.buildSlideTemplateContent; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkGUGHIQ4P_js.buildSlideTemplateSlide; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkGUGHIQ4P_js.clearAllLocalViewerData; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkGUGHIQ4P_js.clearStoredViewerPrefs; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkGUGHIQ4P_js.defaultCssVars; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultRadius", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkGUGHIQ4P_js.defaultRadius; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkGUGHIQ4P_js.defaultThemeColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkGUGHIQ4P_js.getLocalStorageUsageSummary; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkGUGHIQ4P_js.isLegacyBinaryPresentation; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkGUGHIQ4P_js.isSupportedPresentationFile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkGUGHIQ4P_js.presentationBaseName; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkGUGHIQ4P_js.readStoredViewerPrefs; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkGUGHIQ4P_js.resolveProfileInitial; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkGUGHIQ4P_js.resolveThemeCatalogEntry; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkGUGHIQ4P_js.saveViewerProfile; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkGUGHIQ4P_js.savedPresentationFileName; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkGUGHIQ4P_js.themeToCssVars; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkGUGHIQ4P_js.vermilionDarkColors; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkGUGHIQ4P_js.vermilionDarkTheme; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkGUGHIQ4P_js.vermilionLightColors; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkGUGHIQ4P_js.vermilionLightTheme; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkGUGHIQ4P_js.vermilionRadius; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
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-
|
|
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
|