pptx-react-viewer 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/{AiChatPanel-7OVUGUKW.mjs → AiChatPanel-5Z4BYP7S.mjs} +3 -3
- package/dist/AiChatPanel-5Z4BYP7S.mjs.br +0 -0
- package/dist/AiChatPanel-5Z4BYP7S.mjs.gz +0 -0
- package/dist/{AiChatPanel-CDQWJTWL.js → AiChatPanel-DHLJ6LKF.js} +27 -27
- package/dist/AiChatPanel-DHLJ6LKF.js.br +0 -0
- package/dist/AiChatPanel-DHLJ6LKF.js.gz +0 -0
- package/dist/{Model3DScene-OLGB7Z7Q.js → Model3DScene-AXT5KCUX.js} +2 -2
- package/dist/{Model3DScene-OLGB7Z7Q.js.br → Model3DScene-AXT5KCUX.js.br} +0 -0
- package/dist/Model3DScene-AXT5KCUX.js.gz +0 -0
- package/dist/{Model3DScene-A3CPMFAO.mjs → Model3DScene-N36X5Z2Z.mjs} +1 -1
- package/dist/{Model3DScene-A3CPMFAO.mjs.br → Model3DScene-N36X5Z2Z.mjs.br} +0 -0
- package/dist/Model3DScene-N36X5Z2Z.mjs.gz +0 -0
- package/dist/{chunk-RQCAXUVQ.mjs → chunk-BTTAYCGK.mjs} +568 -856
- package/dist/chunk-BTTAYCGK.mjs.br +0 -0
- package/dist/chunk-BTTAYCGK.mjs.gz +0 -0
- package/dist/{chunk-HGO243GV.js → chunk-BZNYI5U6.js} +854 -810
- package/dist/chunk-BZNYI5U6.js.br +0 -0
- package/dist/chunk-BZNYI5U6.js.gz +0 -0
- package/dist/{chunk-UP6PJEHM.js → chunk-FVLBN45Z.js} +5 -5
- package/dist/chunk-FVLBN45Z.js.br +0 -0
- package/dist/chunk-FVLBN45Z.js.gz +0 -0
- package/dist/{chunk-Q5VQ53R3.mjs → chunk-MFGRRONU.mjs} +1 -1
- package/dist/chunk-MFGRRONU.mjs.br +0 -0
- package/dist/chunk-MFGRRONU.mjs.gz +0 -0
- package/dist/{chunk-AIWEM7VE.mjs → chunk-MJ6LTUJ3.mjs} +1127 -29
- package/dist/chunk-MJ6LTUJ3.mjs.br +0 -0
- package/dist/{chunk-AIWEM7VE.mjs.gz → chunk-MJ6LTUJ3.mjs.gz} +0 -0
- package/dist/{chunk-CNXVOFUW.js → chunk-QAVJDYB2.js} +187 -187
- package/dist/chunk-QAVJDYB2.js.br +0 -0
- package/dist/chunk-QAVJDYB2.js.gz +0 -0
- package/dist/{chunk-DNWIW75I.mjs → chunk-QLUA63T3.mjs} +51 -7
- package/dist/chunk-QLUA63T3.mjs.br +0 -0
- package/dist/chunk-QLUA63T3.mjs.gz +0 -0
- package/dist/{chunk-6ZPXMS64.js → chunk-UVK2WBCU.js} +1726 -2014
- package/dist/chunk-UVK2WBCU.js.br +0 -0
- package/dist/chunk-UVK2WBCU.js.gz +0 -0
- package/dist/{chunk-AHJ4ND7Q.mjs → chunk-WRQ7K3DG.mjs} +1 -1
- package/dist/chunk-WRQ7K3DG.mjs.br +0 -0
- package/dist/chunk-WRQ7K3DG.mjs.gz +0 -0
- package/dist/{chunk-2CSRCH4H.js → chunk-XZUIS3VB.js} +1134 -32
- package/dist/chunk-XZUIS3VB.js.br +0 -0
- package/dist/{chunk-2CSRCH4H.js.gz → chunk-XZUIS3VB.js.gz} +0 -0
- package/dist/i18n/de.cjs +3 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +3 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +3 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +3 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +3 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +3 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +3 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +3 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.d.ts +38 -1
- package/dist/index.js +61 -61
- 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.d.ts +45 -0
- package/dist/internals.js +104 -104
- 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/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +35 -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 +2 -2
- package/dist/AiChatPanel-7OVUGUKW.mjs.br +0 -0
- package/dist/AiChatPanel-7OVUGUKW.mjs.gz +0 -0
- package/dist/AiChatPanel-CDQWJTWL.js.br +0 -0
- package/dist/AiChatPanel-CDQWJTWL.js.gz +0 -0
- package/dist/Model3DScene-A3CPMFAO.mjs.gz +0 -0
- package/dist/Model3DScene-OLGB7Z7Q.js.gz +0 -0
- package/dist/chunk-2CSRCH4H.js.br +0 -0
- package/dist/chunk-6ZPXMS64.js.br +0 -0
- package/dist/chunk-6ZPXMS64.js.gz +0 -0
- package/dist/chunk-AHJ4ND7Q.mjs.br +0 -0
- package/dist/chunk-AHJ4ND7Q.mjs.gz +0 -0
- package/dist/chunk-AIWEM7VE.mjs.br +0 -0
- package/dist/chunk-CNXVOFUW.js.br +0 -0
- package/dist/chunk-CNXVOFUW.js.gz +0 -0
- package/dist/chunk-DNWIW75I.mjs.br +0 -0
- package/dist/chunk-DNWIW75I.mjs.gz +0 -0
- package/dist/chunk-HGO243GV.js.br +0 -0
- package/dist/chunk-HGO243GV.js.gz +0 -0
- package/dist/chunk-Q5VQ53R3.mjs.br +0 -0
- package/dist/chunk-Q5VQ53R3.mjs.gz +0 -0
- package/dist/chunk-RQCAXUVQ.mjs.br +0 -0
- package/dist/chunk-RQCAXUVQ.mjs.gz +0 -0
- package/dist/chunk-UP6PJEHM.js.br +0 -0
- package/dist/chunk-UP6PJEHM.js.gz +0 -0
|
@@ -185982,6 +185982,16 @@ function definePptxSearchField(registry) {
|
|
|
185982
185982
|
}
|
|
185983
185983
|
registry.define("pptx-ui-search", PptxSearchField);
|
|
185984
185984
|
}
|
|
185985
|
+
var SELECT_OPTION_ATTRIBUTES = [
|
|
185986
|
+
"value",
|
|
185987
|
+
"disabled",
|
|
185988
|
+
"label",
|
|
185989
|
+
"selected",
|
|
185990
|
+
"hidden",
|
|
185991
|
+
"data-display-label",
|
|
185992
|
+
"data-description",
|
|
185993
|
+
"style"
|
|
185994
|
+
];
|
|
185985
185995
|
function collectSelectChoices(options) {
|
|
185986
185996
|
return options.map((option) => {
|
|
185987
185997
|
const group2 = option.parentElement instanceof HTMLOptGroupElement ? option.parentElement : null;
|
|
@@ -185990,7 +186000,10 @@ function collectSelectChoices(options) {
|
|
|
185990
186000
|
label: option.label || option.textContent?.trim() || "",
|
|
185991
186001
|
disabled: option.disabled || Boolean(group2?.disabled),
|
|
185992
186002
|
hidden: Boolean(option.hidden) || Boolean(group2?.hidden),
|
|
185993
|
-
group: group2?.label ?? ""
|
|
186003
|
+
group: group2?.label ?? "",
|
|
186004
|
+
...option.dataset.displayLabel ? { displayLabel: option.dataset.displayLabel } : {},
|
|
186005
|
+
...option.dataset.description ? { description: option.dataset.description } : {},
|
|
186006
|
+
...option.style.fontFamily ? { fontFamily: option.style.fontFamily } : {}
|
|
185994
186007
|
};
|
|
185995
186008
|
});
|
|
185996
186009
|
}
|
|
@@ -186016,7 +186029,16 @@ function renderSelectMenu(menu, choices2, value) {
|
|
|
186016
186029
|
item3.setAttribute("aria-disabled", String(choice.disabled));
|
|
186017
186030
|
item3.id = `${menu.id}-${index}`;
|
|
186018
186031
|
item3.dataset.index = String(index);
|
|
186019
|
-
item3.textContent = choice.label;
|
|
186032
|
+
item3.textContent = choice.displayLabel ?? choice.label;
|
|
186033
|
+
if (choice.fontFamily) {
|
|
186034
|
+
item3.style.fontFamily = choice.fontFamily;
|
|
186035
|
+
}
|
|
186036
|
+
if (choice.description) {
|
|
186037
|
+
const description = document.createElement("span");
|
|
186038
|
+
description.className = "description";
|
|
186039
|
+
description.textContent = choice.description;
|
|
186040
|
+
item3.append(description);
|
|
186041
|
+
}
|
|
186020
186042
|
menuItems.push(item3);
|
|
186021
186043
|
});
|
|
186022
186044
|
menu.replaceChildren(...menuItems);
|
|
@@ -186030,10 +186052,11 @@ function positionSelectMenu(menu, trigger) {
|
|
|
186030
186052
|
const above = Math.max(0, rect22.top - gap - margin);
|
|
186031
186053
|
menu.style.minWidth = `${Math.min(rect22.width, width)}px`;
|
|
186032
186054
|
menu.style.maxWidth = `${width}px`;
|
|
186033
|
-
|
|
186055
|
+
const heightCap = trigger.getRootNode() instanceof ShadowRoot && trigger.getRootNode().host.getAttribute("data-font-picker") === "family" ? 320 : 240;
|
|
186056
|
+
menu.style.maxHeight = `${heightCap}px`;
|
|
186034
186057
|
const preferredHeight = menu.getBoundingClientRect().height;
|
|
186035
186058
|
const flip = below < preferredHeight && above > below;
|
|
186036
|
-
menu.style.maxHeight = `${Math.min(
|
|
186059
|
+
menu.style.maxHeight = `${Math.min(heightCap, flip ? above : below)}px`;
|
|
186037
186060
|
const { height, width: menuWidth } = menu.getBoundingClientRect();
|
|
186038
186061
|
menu.style.top = `${Math.max(margin, flip ? rect22.top - gap - height : rect22.bottom + gap)}px`;
|
|
186039
186062
|
menu.style.left = `${Math.max(margin, Math.min(rect22.left, window.innerWidth - menuWidth - margin))}px`;
|
|
@@ -186056,6 +186079,50 @@ function nextSelectActive(choices2, active2, step) {
|
|
|
186056
186079
|
}
|
|
186057
186080
|
return active2;
|
|
186058
186081
|
}
|
|
186082
|
+
var SELECT_RIBBON_STYLES = `
|
|
186083
|
+
:host([variant^="ribbon-"][disabled]) { opacity: .4; }
|
|
186084
|
+
:host([variant^="ribbon-"]) button {
|
|
186085
|
+
height: 28px; min-height: 28px; padding: 4px 8px; gap: 4px;
|
|
186086
|
+
border: 1px solid color-mix(in oklab, var(--pptx-border) 60%, transparent);
|
|
186087
|
+
border-radius: 3px; font-size: 12px; line-height: 18px;
|
|
186088
|
+
background: color-mix(in oklab, var(--pptx-background) 60%, transparent);
|
|
186089
|
+
color: var(--pptx-foreground);
|
|
186090
|
+
}
|
|
186091
|
+
:host([variant^="ribbon-"]) .value { flex: 1; min-width: 0; }
|
|
186092
|
+
:host([variant^="ribbon-"]) .chevron {
|
|
186093
|
+
width: 16px; height: 16px; margin: 0; border: 0; transform: none;
|
|
186094
|
+
}
|
|
186095
|
+
:host([variant^="ribbon-"]) .chevron svg { display: block; width: 16px; height: 16px; }
|
|
186096
|
+
:host([variant="ribbon-font"]) .chevron { color: var(--pptx-muted-foreground); }
|
|
186097
|
+
:host([variant="ribbon-font"][data-font-picker="size"]) button { padding-inline: 6px; }
|
|
186098
|
+
:host([variant="ribbon-icon"]) button {
|
|
186099
|
+
width: 36px; gap: 6px; padding: 6px 10px; border: 0; font-size: 12px; line-height: 16px;
|
|
186100
|
+
background: var(--pptx-muted); justify-content: center;
|
|
186101
|
+
}
|
|
186102
|
+
:host([variant="ribbon-icon"]) :is(.value, .chevron) { display: none; }
|
|
186103
|
+
::slotted(svg[slot="icon"]) { display: block; width: 16px; height: 16px; flex: none; }
|
|
186104
|
+
:host([variant^="ribbon-"]) button:hover:not(:disabled) { background: var(--pptx-accent); }
|
|
186105
|
+
:host([variant^="ribbon-"]) .menu {
|
|
186106
|
+
width: 192px; padding: 4px 0; border-radius: 8px; font-size: 12px; line-height: 16px;
|
|
186107
|
+
}
|
|
186108
|
+
:host([data-font-picker="family"]) .menu { width: 256px; }
|
|
186109
|
+
:host([variant^="ribbon-"]) .option {
|
|
186110
|
+
display: flex; justify-content: space-between; gap: 12px; padding: 6px 12px; border-radius: 0;
|
|
186111
|
+
}
|
|
186112
|
+
:host([variant^="ribbon-"]) .option[aria-selected="true"] {
|
|
186113
|
+
background: transparent; color: var(--pptx-foreground);
|
|
186114
|
+
}
|
|
186115
|
+
:host([variant^="ribbon-"]) .option:hover,
|
|
186116
|
+
:host([variant^="ribbon-"]) .option[data-active] { background: var(--pptx-muted); filter: none; }
|
|
186117
|
+
:host([variant^="ribbon-"]) .group {
|
|
186118
|
+
padding: 8px 12px 4px; text-transform: uppercase; letter-spacing: .25px;
|
|
186119
|
+
font-size: 10px; line-height: 15px;
|
|
186120
|
+
}
|
|
186121
|
+
@media (max-width: 767px) {
|
|
186122
|
+
:host([variant^="ribbon-"]) button { height: 44px; min-height: 44px; }
|
|
186123
|
+
}
|
|
186124
|
+
.description { flex: none; color: var(--pptx-muted-foreground); font-size: 10px; line-height: 15px; }
|
|
186125
|
+
`;
|
|
186059
186126
|
var SELECT_STYLES = `
|
|
186060
186127
|
:host {
|
|
186061
186128
|
display: inline-block;
|
|
@@ -186105,6 +186172,7 @@ button:disabled { cursor: not-allowed; }
|
|
|
186105
186172
|
text-overflow: ellipsis;
|
|
186106
186173
|
white-space: nowrap;
|
|
186107
186174
|
}
|
|
186175
|
+
.chevron svg { display: none; }
|
|
186108
186176
|
.chevron {
|
|
186109
186177
|
flex: none;
|
|
186110
186178
|
width: 6px;
|
|
@@ -186173,12 +186241,53 @@ button:disabled { cursor: not-allowed; }
|
|
|
186173
186241
|
color: HighlightText;
|
|
186174
186242
|
}
|
|
186175
186243
|
}
|
|
186244
|
+
${SELECT_RIBBON_STYLES}
|
|
186176
186245
|
`;
|
|
186246
|
+
function createSelectTrigger() {
|
|
186247
|
+
const trigger = document.createElement("button");
|
|
186248
|
+
trigger.type = "button";
|
|
186249
|
+
trigger.setAttribute("part", "trigger");
|
|
186250
|
+
trigger.setAttribute("role", "combobox");
|
|
186251
|
+
trigger.setAttribute("aria-haspopup", "listbox");
|
|
186252
|
+
trigger.setAttribute("aria-expanded", "false");
|
|
186253
|
+
const icon = document.createElement("slot");
|
|
186254
|
+
icon.name = "icon";
|
|
186255
|
+
const text22 = document.createElement("span");
|
|
186256
|
+
text22.className = "value";
|
|
186257
|
+
text22.setAttribute("part", "value");
|
|
186258
|
+
const chevron2 = document.createElement("span");
|
|
186259
|
+
chevron2.className = "chevron";
|
|
186260
|
+
chevron2.setAttribute("part", "indicator");
|
|
186261
|
+
chevron2.setAttribute("aria-hidden", "true");
|
|
186262
|
+
const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
186263
|
+
svg.setAttribute("viewBox", "0 0 24 24");
|
|
186264
|
+
svg.setAttribute("fill", "none");
|
|
186265
|
+
svg.setAttribute("stroke", "currentColor");
|
|
186266
|
+
svg.setAttribute("stroke-width", "2");
|
|
186267
|
+
svg.setAttribute("stroke-linecap", "round");
|
|
186268
|
+
svg.setAttribute("stroke-linejoin", "round");
|
|
186269
|
+
const path = document.createElementNS(svg.namespaceURI, "path");
|
|
186270
|
+
path.setAttribute("d", "m6 9 6 6 6-6");
|
|
186271
|
+
svg.append(path);
|
|
186272
|
+
chevron2.append(svg);
|
|
186273
|
+
trigger.append(icon, text22, chevron2);
|
|
186274
|
+
return { trigger, text: text22 };
|
|
186275
|
+
}
|
|
186276
|
+
function prependSelectCustomSlot(host, menu) {
|
|
186277
|
+
if (host.querySelector('[slot="custom"]')) {
|
|
186278
|
+
const custom = document.createElement("slot");
|
|
186279
|
+
custom.name = "custom";
|
|
186280
|
+
menu.prepend(custom);
|
|
186281
|
+
}
|
|
186282
|
+
}
|
|
186177
186283
|
function createSelectValueElement() {
|
|
186178
186284
|
class SelectValueElement extends HTMLElement {
|
|
186179
186285
|
get value() {
|
|
186180
186286
|
const requested = this.getAttribute("value");
|
|
186181
186287
|
const options = this.options;
|
|
186288
|
+
if (this.getAttribute("variant") === "ribbon-font" && requested !== null) {
|
|
186289
|
+
return requested;
|
|
186290
|
+
}
|
|
186182
186291
|
if (requested !== null && (!options.length || options.some((option) => option.value === requested))) {
|
|
186183
186292
|
return requested;
|
|
186184
186293
|
}
|
|
@@ -186230,18 +186339,7 @@ function definePptxSelect(registry) {
|
|
|
186230
186339
|
}
|
|
186231
186340
|
const root = this.attachShadow({ mode: "open", delegatesFocus: true });
|
|
186232
186341
|
attachControlStyles(root, SELECT_STYLES);
|
|
186233
|
-
this.trigger =
|
|
186234
|
-
this.trigger.type = "button";
|
|
186235
|
-
this.trigger.setAttribute("role", "combobox");
|
|
186236
|
-
this.trigger.setAttribute("aria-haspopup", "listbox");
|
|
186237
|
-
this.trigger.setAttribute("aria-expanded", "false");
|
|
186238
|
-
this.text = document.createElement("span");
|
|
186239
|
-
this.text.className = "value";
|
|
186240
|
-
this.text.setAttribute("part", "value");
|
|
186241
|
-
const chevron2 = document.createElement("span");
|
|
186242
|
-
chevron2.className = "chevron";
|
|
186243
|
-
chevron2.setAttribute("aria-hidden", "true");
|
|
186244
|
-
this.trigger.append(this.text, chevron2);
|
|
186342
|
+
({ trigger: this.trigger, text: this.text } = createSelectTrigger());
|
|
186245
186343
|
this.menu = document.createElement("div");
|
|
186246
186344
|
this.menu.className = "menu";
|
|
186247
186345
|
this.menu.id = `pptx-ui-select-options-${++nextSelectId}`;
|
|
@@ -186252,7 +186350,11 @@ function definePptxSelect(registry) {
|
|
|
186252
186350
|
root.append(this.trigger, this.menu);
|
|
186253
186351
|
this.trigger.addEventListener("click", () => this.open ? this.close() : this.show());
|
|
186254
186352
|
this.trigger.addEventListener("keydown", (event) => this.onKeyDown(event));
|
|
186255
|
-
this.menu.addEventListener("pointerdown", (event) =>
|
|
186353
|
+
this.menu.addEventListener("pointerdown", (event) => {
|
|
186354
|
+
if (event.target.closest("[data-index]")) {
|
|
186355
|
+
event.preventDefault();
|
|
186356
|
+
}
|
|
186357
|
+
});
|
|
186256
186358
|
this.menu.addEventListener("click", (event) => {
|
|
186257
186359
|
const target = event.target.closest("[data-index]");
|
|
186258
186360
|
if (target) {
|
|
@@ -186275,7 +186377,7 @@ function definePptxSelect(registry) {
|
|
|
186275
186377
|
subtree: true,
|
|
186276
186378
|
attributes: true,
|
|
186277
186379
|
characterData: true,
|
|
186278
|
-
attributeFilter:
|
|
186380
|
+
attributeFilter: SELECT_OPTION_ATTRIBUTES
|
|
186279
186381
|
});
|
|
186280
186382
|
this.refresh();
|
|
186281
186383
|
}
|
|
@@ -186315,7 +186417,7 @@ function definePptxSelect(registry) {
|
|
|
186315
186417
|
if (!this.hasAttribute("value") && this.choices.length) {
|
|
186316
186418
|
this.value = options.find((option) => option.selected)?.value ?? this.choices.find((choice) => !choice.disabled && !choice.hidden)?.value ?? this.choices[0].value;
|
|
186317
186419
|
}
|
|
186318
|
-
this.text.textContent = this.choices.find((choice) => choice.value === this.value)?.label ??
|
|
186420
|
+
this.text.textContent = this.choices.find((choice) => choice.value === this.value)?.displayLabel ?? this.choices.find((choice) => choice.value === this.value)?.label ?? this.value;
|
|
186319
186421
|
this.trigger.disabled = this.disabled;
|
|
186320
186422
|
if (this.disabled) {
|
|
186321
186423
|
this.close();
|
|
@@ -186328,6 +186430,7 @@ function definePptxSelect(registry) {
|
|
|
186328
186430
|
}
|
|
186329
186431
|
renderMenu() {
|
|
186330
186432
|
renderSelectMenu(this.menu, this.choices, this.value);
|
|
186433
|
+
prependSelectCustomSlot(this, this.menu);
|
|
186331
186434
|
markSelectActive(this.menu, this.trigger, this.active, this.open);
|
|
186332
186435
|
}
|
|
186333
186436
|
show() {
|
|
@@ -221677,9 +221780,6 @@ function buildThemeColorGrid(colorScheme, translate) {
|
|
|
221677
221780
|
}))
|
|
221678
221781
|
);
|
|
221679
221782
|
}
|
|
221680
|
-
function themeColorLabel(key2, translate) {
|
|
221681
|
-
return translate ? schemaLabel(THEME_COLOR_SLOT_LABEL_KEYS, key2, translate) : THEME_COLOR_LABELS[key2];
|
|
221682
|
-
}
|
|
221683
221783
|
function placeCaretAtEnd(el) {
|
|
221684
221784
|
const doc = el.ownerDocument;
|
|
221685
221785
|
const win = doc.defaultView;
|
|
@@ -239345,7 +239445,7 @@ var PRESET_THEMES = [
|
|
|
239345
239445
|
minorFont: "Gill Sans MT"
|
|
239346
239446
|
}
|
|
239347
239447
|
];
|
|
239348
|
-
PRESET_THEMES[0].colorScheme;
|
|
239448
|
+
var DEFAULT_THEME_COLOR_SCHEME = PRESET_THEMES[0].colorScheme;
|
|
239349
239449
|
var COMMON_FONTS = [
|
|
239350
239450
|
"Arial",
|
|
239351
239451
|
"Calibri",
|
|
@@ -243821,6 +243921,8 @@ function resolveCustomization(customization) {
|
|
|
243821
243921
|
hiddenBackstagePages: pages,
|
|
243822
243922
|
hiddenBackstageCards: cards,
|
|
243823
243923
|
hiddenElementCommands: elementCommands,
|
|
243924
|
+
extraElementCommands: c.contextMenu?.extraElementCommands ?? [],
|
|
243925
|
+
extraCanvasCommands: c.contextMenu?.extraCanvasCommands ?? [],
|
|
243824
243926
|
hiddenCanvasCommands: new Set(c.contextMenu?.hiddenCanvasCommands ?? []),
|
|
243825
243927
|
hiddenEditPointsCommands: new Set(c.contextMenu?.hiddenEditPointsCommands ?? []),
|
|
243826
243928
|
hiddenDrawingTools: new Set(c.hiddenDrawingTools ?? []),
|
|
@@ -243937,6 +244039,38 @@ function createCustomizationController(initial) {
|
|
|
243937
244039
|
subscribe: (listener) => store.subscribe(listener)
|
|
243938
244040
|
};
|
|
243939
244041
|
}
|
|
244042
|
+
function withHostMenuCommands(entries2, commands, context) {
|
|
244043
|
+
const top = [];
|
|
244044
|
+
const bottom = [];
|
|
244045
|
+
const seen = /* @__PURE__ */ new Set();
|
|
244046
|
+
for (const command of commands) {
|
|
244047
|
+
if (!command.id || seen.has(command.id)) {
|
|
244048
|
+
continue;
|
|
244049
|
+
}
|
|
244050
|
+
seen.add(command.id);
|
|
244051
|
+
const disabled = typeof command.disabled === "function" ? command.disabled(context) : command.disabled === true;
|
|
244052
|
+
const entry5 = {
|
|
244053
|
+
id: `host:${command.id}`,
|
|
244054
|
+
host: true,
|
|
244055
|
+
label: command.label,
|
|
244056
|
+
labelKey: "",
|
|
244057
|
+
disabled,
|
|
244058
|
+
onSelect: () => {
|
|
244059
|
+
if (!disabled) {
|
|
244060
|
+
command.onSelect(context);
|
|
244061
|
+
}
|
|
244062
|
+
}
|
|
244063
|
+
};
|
|
244064
|
+
(command.group === "bottom" ? bottom : top).push(entry5);
|
|
244065
|
+
}
|
|
244066
|
+
const middle = entries2.map(
|
|
244067
|
+
(entry5, i2) => i2 === 0 ? { ...entry5, separatorBefore: top.length > 0 } : entry5
|
|
244068
|
+
);
|
|
244069
|
+
if (bottom.length > 0 && top.length + middle.length > 0) {
|
|
244070
|
+
bottom[0].separatorBefore = true;
|
|
244071
|
+
}
|
|
244072
|
+
return [...top, ...middle, ...bottom];
|
|
244073
|
+
}
|
|
243940
244074
|
function optionsSettingIdOf(control) {
|
|
243941
244075
|
return `${control.group}.${control.key}`;
|
|
243942
244076
|
}
|
|
@@ -243994,17 +244128,23 @@ function filterMenuEntries(entries2, hidden) {
|
|
|
243994
244128
|
}
|
|
243995
244129
|
return result;
|
|
243996
244130
|
}
|
|
243997
|
-
function customizeContextMenuEntries(entries2, resolved) {
|
|
244131
|
+
function customizeContextMenuEntries(entries2, resolved, context) {
|
|
243998
244132
|
if (!resolved.elementMenuEnabled) {
|
|
243999
244133
|
return [];
|
|
244000
244134
|
}
|
|
244001
|
-
|
|
244135
|
+
const built = filterMenuEntries(entries2, resolved.hiddenElementCommands);
|
|
244136
|
+
return context ? withHostMenuCommands(
|
|
244137
|
+
built,
|
|
244138
|
+
resolved.extraElementCommands ?? [],
|
|
244139
|
+
Object.freeze({ ...context, elementIds: Object.freeze([...context.elementIds]) })
|
|
244140
|
+
) : built;
|
|
244002
244141
|
}
|
|
244003
|
-
function customizeCanvasContextMenuEntries(entries2, resolved) {
|
|
244142
|
+
function customizeCanvasContextMenuEntries(entries2, resolved, context) {
|
|
244004
244143
|
if (!resolved.canvasMenuEnabled) {
|
|
244005
244144
|
return [];
|
|
244006
244145
|
}
|
|
244007
|
-
|
|
244146
|
+
const built = filterMenuEntries(entries2, resolved.hiddenCanvasCommands);
|
|
244147
|
+
return context ? withHostMenuCommands(built, resolved.extraCanvasCommands ?? [], Object.freeze({ ...context })) : built;
|
|
244008
244148
|
}
|
|
244009
244149
|
function isBackstagePageVisible(resolved, page) {
|
|
244010
244150
|
return !resolved.hiddenBackstagePages.has(page);
|
|
@@ -253360,6 +253500,568 @@ var RECORD_COMMAND_GROUPS = [
|
|
|
253360
253500
|
]
|
|
253361
253501
|
}
|
|
253362
253502
|
];
|
|
253503
|
+
var EDITOR_ARRANGE_CSS = `
|
|
253504
|
+
@media (min-width: 768px) {
|
|
253505
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] :is(
|
|
253506
|
+
[data-pptx-chrome="align-controls"], [data-pptx-chrome="distribute-controls"],
|
|
253507
|
+
[data-pptx-chrome="flip-controls"], [data-pptx-chrome="group-controls"]
|
|
253508
|
+
) { display: inline-flex; flex: none; align-items: center; gap: 0; border: 0; padding: 0; background: var(--pptx-muted); border-radius: 3px; }
|
|
253509
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] :is(
|
|
253510
|
+
[data-pptx-chrome="align-controls"], [data-pptx-chrome="distribute-controls"]
|
|
253511
|
+
) > button {
|
|
253512
|
+
display: inline-flex; align-items: center; justify-content: center; flex: none;
|
|
253513
|
+
box-sizing: border-box; width: 36px; height: 28px; padding: 6px 10px;
|
|
253514
|
+
border: 0; border-radius: 3px; font-size: 12px; line-height: 16px; gap: 6px;
|
|
253515
|
+
color: var(--pptx-foreground); background: var(--pptx-muted);
|
|
253516
|
+
}
|
|
253517
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] [data-pptx-chrome="distribute-controls"] > button:first-child { width: 37px; border-right: 1px solid var(--pptx-border); }
|
|
253518
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] :is(
|
|
253519
|
+
[data-pptx-chrome="align-controls"], [data-pptx-chrome="distribute-controls"]
|
|
253520
|
+
) > button:disabled { opacity: .4; }
|
|
253521
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] :is(
|
|
253522
|
+
[data-pptx-chrome="align-controls"], [data-pptx-chrome="distribute-controls"]
|
|
253523
|
+
) svg { width: 16px; height: 16px; flex: none; }
|
|
253524
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.crop"] {
|
|
253525
|
+
display: inline-flex; flex: none; align-items: center; gap: 0; border: 0; padding: 0;
|
|
253526
|
+
background: var(--pptx-muted); border-radius: 3px;
|
|
253527
|
+
}
|
|
253528
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.crop"] [data-pptx-ribbon-control="crop"] {
|
|
253529
|
+
box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
|
|
253530
|
+
width: 37px; height: 28px; padding: 6px 10px; margin: 0;
|
|
253531
|
+
border: 0; border-right: 1px solid var(--pptx-border); border-radius: 0; background: transparent;
|
|
253532
|
+
}
|
|
253533
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.crop"] [data-pptx-ribbon-control="crop-menu"] {
|
|
253534
|
+
box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
|
|
253535
|
+
width: 32px; height: 24px; min-height: 24px; padding: 6px 10px; margin: 0;
|
|
253536
|
+
border: 0; border-radius: 0; background: transparent; color: var(--pptx-foreground);
|
|
253537
|
+
font-size: 12px; line-height: 16px; gap: normal;
|
|
253538
|
+
}
|
|
253539
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.crop"] [data-pptx-ribbon-control="crop-menu"] svg { width: 12px; height: 12px; }
|
|
253540
|
+
}
|
|
253541
|
+
`;
|
|
253542
|
+
var EDITOR_CLUSTER_CSS = `
|
|
253543
|
+
@media (min-width: 768px) {
|
|
253544
|
+
[data-pptx-editor-chrome] [data-ribbon-group="home.clipboard"] > :first-child,
|
|
253545
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="paragraph-controls"] [data-pptx-chrome="control-cluster"],
|
|
253546
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="editing-controls"] [data-pptx-chrome="control-cluster"],
|
|
253547
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="order-controls"],
|
|
253548
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253549
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253550
|
+
) { background: var(--pptx-muted); border-radius: 3px; }
|
|
253551
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="paragraph-controls"] [data-pptx-chrome="control-cluster"] {
|
|
253552
|
+
display: inline-flex; align-items: center; gap: 0; overflow: hidden;
|
|
253553
|
+
}
|
|
253554
|
+
[data-pptx-editor-chrome] :is([data-pptx-chrome="paragraph-controls"], [data-pptx-chrome="editing-controls"])
|
|
253555
|
+
[data-pptx-chrome="control-cluster"] > button { margin-right: 0; }
|
|
253556
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon"] [data-pptx-chrome="ribbon-content"] :is(
|
|
253557
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253558
|
+
) [data-pptx-chrome="gallery-caret"] { padding: 0 2px; }
|
|
253559
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] [data-pptx-chrome="distribute-controls"] > button {
|
|
253560
|
+
border-radius: 0; background: transparent; gap: normal;
|
|
253561
|
+
}
|
|
253562
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.crop"]
|
|
253563
|
+
[data-pptx-ribbon-control="crop"] { gap: normal; }
|
|
253564
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] :is(
|
|
253565
|
+
[data-ribbon-control="home.drawing.shapes"], [data-ribbon-control="home.drawing.arrange"]
|
|
253566
|
+
) > button:first-child > svg:first-of-type { order: -1; }
|
|
253567
|
+
}
|
|
253568
|
+
`;
|
|
253569
|
+
var EDITOR_CONTROLS_CSS = `
|
|
253570
|
+
@media (min-width: 768px) {
|
|
253571
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="home-content"] { gap: 0; }
|
|
253572
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-group^="home."] { gap: 2px; }
|
|
253573
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"]
|
|
253574
|
+
[data-ribbon-control^="home."]:not(button, input, select, pptx-ui-select) {
|
|
253575
|
+
display: inline-flex; align-items: center; line-height: 16px;
|
|
253576
|
+
}
|
|
253577
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="home-group"] {
|
|
253578
|
+
gap: 2px; padding: 0 4px 0 0; margin-right: 4px;
|
|
253579
|
+
border-right: 1px solid color-mix(in oklab, var(--pptx-border) 40%, transparent);
|
|
253580
|
+
}
|
|
253581
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253582
|
+
button[data-ribbon-control^="home."],
|
|
253583
|
+
[data-ribbon-control^="home."] > button,
|
|
253584
|
+
[data-ribbon-control^="home."] > span > button
|
|
253585
|
+
) {
|
|
253586
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
253587
|
+
box-sizing: border-box; height: 28px; padding: 6px 10px; min-width: 0; width: auto;
|
|
253588
|
+
border: 0; border-radius: 3px; font-size: 12px; line-height: 16px;
|
|
253589
|
+
color: var(--pptx-foreground); background: var(--pptx-muted); gap: 6px;
|
|
253590
|
+
}
|
|
253591
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253592
|
+
button[data-ribbon-control^="home."], [data-ribbon-control^="home."] > button
|
|
253593
|
+
):disabled { opacity: 0.4; }
|
|
253594
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253595
|
+
button[data-ribbon-control^="home."], [data-ribbon-control^="home."] > button
|
|
253596
|
+
):hover:not(:disabled) { background: var(--pptx-accent); }
|
|
253597
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253598
|
+
button[data-ribbon-control^="home."], [data-ribbon-control^="home."] > button
|
|
253599
|
+
)[aria-pressed="true"] { background: var(--pptx-accent); }
|
|
253600
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253601
|
+
button[data-ribbon-control^="home."], [data-ribbon-control^="home."] > button
|
|
253602
|
+
) svg { width: 16px; height: 16px; flex: none; }
|
|
253603
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] {
|
|
253604
|
+
display: flex; align-items: center; gap: 4px;
|
|
253605
|
+
}
|
|
253606
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls-fragment"] { display: contents; }
|
|
253607
|
+
[data-pptx-editor-chrome] [data-ribbon-group="home.clipboard"] > :first-child { gap: 0; }
|
|
253608
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slides-controls"] {
|
|
253609
|
+
display: flex; align-items: center; gap: 4px;
|
|
253610
|
+
}
|
|
253611
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slides-controls"] > [data-pptx-chrome="slides-buttons"] { display: contents; }
|
|
253612
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="split-button"] {
|
|
253613
|
+
position: relative; display: inline-flex; align-items: center; gap: 0;
|
|
253614
|
+
padding: 0; border: 0; border-radius: 3px; background: transparent;
|
|
253615
|
+
}
|
|
253616
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="split-segment"] {
|
|
253617
|
+
display: inline-flex; align-items: center; padding: 0; border: 0; border-radius: 0;
|
|
253618
|
+
}
|
|
253619
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-pptx-chrome="split-button"]:has([data-pptx-chrome="split-caret"]:not([hidden])) [data-pptx-chrome="split-main"] {
|
|
253620
|
+
border-top-right-radius: 0; border-bottom-right-radius: 0;
|
|
253621
|
+
}
|
|
253622
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon"] [data-pptx-chrome="ribbon-content"] [data-pptx-chrome="split-main"] {
|
|
253623
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
253624
|
+
height: 28px; padding: 6px 10px; gap: 6px; border: 0; border-radius: 3px; font-size: 12px; line-height: 16px;
|
|
253625
|
+
background: var(--pptx-muted); color: var(--pptx-foreground);
|
|
253626
|
+
}
|
|
253627
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon"] [data-pptx-chrome="ribbon-content"] [data-pptx-chrome="split-caret"] {
|
|
253628
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
253629
|
+
box-sizing: border-box; height: 28px; width: 36px; min-width: 36px; max-width: 36px;
|
|
253630
|
+
padding: 6px 8px; margin: 0; border: 0; border-radius: 0 3px 3px 0;
|
|
253631
|
+
font-size: 12px; line-height: 16px; background: var(--pptx-muted); color: var(--pptx-foreground);
|
|
253632
|
+
border-left: 1px solid color-mix(in oklab, var(--pptx-border) 40%, transparent);
|
|
253633
|
+
}
|
|
253634
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="split-caret"] svg { display: block; flex: none; width: 16px; height: 16px; margin: 0; }
|
|
253635
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon"] [data-pptx-chrome="ribbon-content"] :is([data-pptx-chrome="split-main"], [data-pptx-chrome="split-caret"]):hover:not(:disabled) {
|
|
253636
|
+
background: var(--pptx-accent);
|
|
253637
|
+
}
|
|
253638
|
+
}
|
|
253639
|
+
`;
|
|
253640
|
+
var EDITOR_FONT_PICKER_CSS = `
|
|
253641
|
+
@media (min-width: 768px) {
|
|
253642
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-groups"] { display: contents; }
|
|
253643
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-picker-controls"] {
|
|
253644
|
+
display: flex; align-items: center; gap: 4px;
|
|
253645
|
+
}
|
|
253646
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="control-cluster"] {
|
|
253647
|
+
display: inline-flex; align-items: center; gap: 0; border: 0; padding: 0;
|
|
253648
|
+
}
|
|
253649
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] [data-pptx-chrome="control-cluster"] {
|
|
253650
|
+
background: var(--pptx-muted); border-radius: 3px; overflow: hidden;
|
|
253651
|
+
}
|
|
253652
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] :is(
|
|
253653
|
+
[data-ribbon-control^="home.font."] > div > button,
|
|
253654
|
+
[data-ribbon-control^="home.font."] > button,
|
|
253655
|
+
button[data-ribbon-control^="home.font."]
|
|
253656
|
+
) { flex: none; box-sizing: border-box; height: 28px; width: 36px; padding: 6px 10px; gap: 6px; }
|
|
253657
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] :is([data-ribbon-control$="Color"] > button:first-child, [data-ribbon-control$="Color"] > div:first-child > button:first-child, [data-ribbon-control$="Color"] > span:first-child > button:first-child) {
|
|
253658
|
+
width: 58px; flex-direction: row;
|
|
253659
|
+
}
|
|
253660
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] [data-ribbon-control$="Color"] [data-pptx-chrome="color-swatch"] {
|
|
253661
|
+
box-sizing: border-box; display: block; width: 16px; height: 4px; margin: -2px 0 0;
|
|
253662
|
+
border: 0; border-radius: 2px; flex: none;
|
|
253663
|
+
}
|
|
253664
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] [data-ribbon-control^="home.font."] > div > button {
|
|
253665
|
+
display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 3px;
|
|
253666
|
+
font-size: 12px; line-height: 16px; background: var(--pptx-muted); color: var(--pptx-foreground);
|
|
253667
|
+
}
|
|
253668
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] [data-ribbon-control^="home.font."] > div > button:disabled { opacity: .4; }
|
|
253669
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="font-controls"] [data-ribbon-control^="home.font."] > div > button svg { width: 16px; height: 16px; }
|
|
253670
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253671
|
+
[data-ribbon-control="home.font.fontFamily"], [data-ribbon-control="home.font.fontSize"]
|
|
253672
|
+
) {
|
|
253673
|
+
--pptx-editor-font-picker-width: 120px;
|
|
253674
|
+
box-sizing: border-box; flex: none; display: inline-flex; align-items: center; height: 28px;
|
|
253675
|
+
width: var(--pptx-editor-font-picker-width);
|
|
253676
|
+
min-width: var(--pptx-editor-font-picker-width);
|
|
253677
|
+
max-width: var(--pptx-editor-font-picker-width);
|
|
253678
|
+
}
|
|
253679
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.font.fontSize"] {
|
|
253680
|
+
--pptx-editor-font-picker-width: 64px;
|
|
253681
|
+
font-variant-numeric: tabular-nums;
|
|
253682
|
+
}
|
|
253683
|
+
}
|
|
253684
|
+
`;
|
|
253685
|
+
var EDITOR_HOME_LAYOUT_CSS = `
|
|
253686
|
+
@media (min-width: 768px) {
|
|
253687
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="control-fragment"] { display: contents; }
|
|
253688
|
+
[data-pptx-editor-chrome] pptx-ui-select[variant="ribbon-icon"] {
|
|
253689
|
+
flex: none; width: 36px; min-width: 36px; max-width: 36px;
|
|
253690
|
+
}
|
|
253691
|
+
[data-pptx-editor-chrome] :is([data-pptx-chrome="paragraph-controls"], [data-pptx-chrome="drawing-controls"], [data-pptx-chrome="arrange-controls"], [data-pptx-chrome="editing-controls"]) {
|
|
253692
|
+
display: flex; flex-wrap: nowrap; align-items: center; gap: 4px;
|
|
253693
|
+
}
|
|
253694
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="list-controls"] {
|
|
253695
|
+
display: inline-flex; align-items: center; gap: 4px;
|
|
253696
|
+
border: 0; padding: 0; background: transparent;
|
|
253697
|
+
}
|
|
253698
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="paragraph-controls"] :is(
|
|
253699
|
+
[data-ribbon-control="home.paragraph.decreaseIndent"],
|
|
253700
|
+
[data-ribbon-control="home.paragraph.alignLeft"],
|
|
253701
|
+
[data-ribbon-control="home.paragraph.alignCenter"],
|
|
253702
|
+
[data-ribbon-control="home.paragraph.alignRight"]
|
|
253703
|
+
) { margin-right: -4px; }
|
|
253704
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="paragraph-controls"] [data-pptx-chrome="control-cluster"] { display: contents; }
|
|
253705
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253706
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253707
|
+
) { display: inline-flex; align-items: center; gap: 0; }
|
|
253708
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253709
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253710
|
+
) > button:first-child { width: 36px; height: 28px; border-radius: 3px; }
|
|
253711
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon"] [data-pptx-chrome="ribbon-content"] :is(
|
|
253712
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253713
|
+
) [data-pptx-chrome="gallery-caret"] {
|
|
253714
|
+
box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
|
|
253715
|
+
width: 24px; min-width: 24px; height: 24px; min-height: 24px; padding: 0 2px;
|
|
253716
|
+
border: 0; border-radius: 0; background: transparent; color: var(--pptx-foreground); gap: normal; font-size: 12px; line-height: 16px;
|
|
253717
|
+
}
|
|
253718
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] :is(
|
|
253719
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253720
|
+
) [data-pptx-chrome="gallery-caret"] svg { width: 12px; height: 12px; }
|
|
253721
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="home-content"] > .pptx-svelte-hometab-sep {
|
|
253722
|
+
width: 1px; height: 20px; align-self: center; margin: 0 4px;
|
|
253723
|
+
background: color-mix(in oklab, var(--pptx-border) 40%, transparent);
|
|
253724
|
+
}
|
|
253725
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="editing-controls"] [data-pptx-chrome="control-cluster"],
|
|
253726
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="order-controls"] {
|
|
253727
|
+
display: inline-flex; align-items: center; gap: 0; border: 0; padding: 0;
|
|
253728
|
+
}
|
|
253729
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="editing-controls"] > button[data-ribbon-control="home.editing.find"] { margin-right: -4px; }
|
|
253730
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-pptx-chrome="ribbon-inline-label"] { display: none; }
|
|
253731
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.shapes"] { order: 1; }
|
|
253732
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.arrange"] { order: 2; }
|
|
253733
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.shapeFill"] { order: 3; }
|
|
253734
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.shapeOutline"] { order: 4; }
|
|
253735
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.quickStyles"] { order: 5; }
|
|
253736
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-ribbon-control="home.drawing.shapeEffects"] { order: 6; }
|
|
253737
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-pptx-chrome="drawing-controls"] :is(
|
|
253738
|
+
[data-ribbon-control="home.drawing.shapeFill"], [data-ribbon-control="home.drawing.shapeOutline"]
|
|
253739
|
+
) :is(button:first-child, button svg) { flex: none; }
|
|
253740
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] :is(
|
|
253741
|
+
[data-ribbon-control="home.drawing.shapeFill"], [data-ribbon-control="home.drawing.shapeOutline"]
|
|
253742
|
+
) > button:first-child,
|
|
253743
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] :is(
|
|
253744
|
+
[data-ribbon-control="home.drawing.shapeFill"], [data-ribbon-control="home.drawing.shapeOutline"]
|
|
253745
|
+
) > div:first-child > button:first-child {
|
|
253746
|
+
display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 28px;
|
|
253747
|
+
padding: 6px 10px; border: 0; border-radius: 3px; background: var(--pptx-muted);
|
|
253748
|
+
}
|
|
253749
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] [data-pptx-chrome="color-swatch"] { display: none; }
|
|
253750
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] :is(
|
|
253751
|
+
[data-ribbon-control="home.drawing.shapes"], [data-ribbon-control="home.drawing.arrange"]
|
|
253752
|
+
) > button:first-child > svg:nth-of-type(2) { display: none; }
|
|
253753
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="drawing-controls"] :is(
|
|
253754
|
+
[data-ribbon-control="home.drawing.quickStyles"], [data-ribbon-control="home.drawing.shapeEffects"]
|
|
253755
|
+
) > button > svg:last-child { width: 16px; height: 16px; }
|
|
253756
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] .pptx-rb-sep { display: none; }
|
|
253757
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] [data-pptx-chrome="arrange-extras"] { display: contents; }
|
|
253758
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] [data-ribbon-control="home.arrange.outlineWidth"] { order: 1; }
|
|
253759
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] [data-pptx-chrome="order-controls"] { order: 2; }
|
|
253760
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] :is(
|
|
253761
|
+
[data-ribbon-control="home.arrange.duplicate"], [data-ribbon-control="home.arrange.delete"]
|
|
253762
|
+
) { order: 3; }
|
|
253763
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="arrange-controls"] > [data-pptx-chrome="duplicate-controls"] { display: contents; }
|
|
253764
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.outlineWidth"] {
|
|
253765
|
+
box-sizing: border-box; flex: none; width: 52px; height: 26px; padding: 0 4px;
|
|
253766
|
+
border: 1px solid var(--pptx-border); border-radius: 3px; background: var(--pptx-muted);
|
|
253767
|
+
font-size: 11px; line-height: 16px; color: var(--pptx-foreground); text-align: center;
|
|
253768
|
+
}
|
|
253769
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] [data-ribbon-control="home.arrange.outlineWidth"]:disabled { opacity: .4; }
|
|
253770
|
+
[data-pptx-editor-chrome] [data-ribbon-group="home.editing"][data-pptx-chrome="home-group"] { padding-right: 0; margin-right: 0; border-right: 0; }
|
|
253771
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="list-controls"] > :is(
|
|
253772
|
+
[data-ribbon-control="home.paragraph.bullets"], [data-ribbon-control="home.paragraph.numbering"]
|
|
253773
|
+
) > div { border: 0; }
|
|
253774
|
+
}
|
|
253775
|
+
`;
|
|
253776
|
+
var EDITOR_INSPECTOR_CSS = `
|
|
253777
|
+
@media (min-width: 768px) {
|
|
253778
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector"] {
|
|
253779
|
+
background: var(--pptx-background); color: var(--pptx-foreground);
|
|
253780
|
+
font-size: 12px; line-height: 18px; border-left: 1px solid var(--pptx-border);
|
|
253781
|
+
}
|
|
253782
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-header"] {
|
|
253783
|
+
display: flex; align-items: center; gap: 4px;
|
|
253784
|
+
padding: 8px; border-bottom: 1px solid var(--pptx-border);
|
|
253785
|
+
}
|
|
253786
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-tabs"] {
|
|
253787
|
+
display: flex; gap: 2px; padding: 2px; border: 0; border-radius: 4px;
|
|
253788
|
+
background: color-mix(in oklab, var(--pptx-muted) 50%, transparent);
|
|
253789
|
+
flex: 1; min-width: 0;
|
|
253790
|
+
}
|
|
253791
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-tabs"] button {
|
|
253792
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
253793
|
+
gap: 4px; padding: 4px; min-height: 28px; border: 0; border-radius: 2px;
|
|
253794
|
+
font-size: 11px; line-height: 16.5px; font-weight: 500;
|
|
253795
|
+
background: transparent; color: var(--pptx-muted-foreground);
|
|
253796
|
+
}
|
|
253797
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-tabs"] svg { width: 14px; height: 14px; flex: none; }
|
|
253798
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-header"] > button { flex: none; width: 28px; height: 28px; }
|
|
253799
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-tabs"] button[aria-selected="true"] {
|
|
253800
|
+
background: var(--pptx-primary); color: var(--pptx-primary-foreground);
|
|
253801
|
+
}
|
|
253802
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector-body"] { padding: 12px 10px; }
|
|
253803
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="deck-properties"] {
|
|
253804
|
+
display: flex; flex-direction: column; gap: 12px;
|
|
253805
|
+
}
|
|
253806
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="deck-properties"] > * { margin: 0; }
|
|
253807
|
+
[data-pptx-editor-chrome] :is([data-pptx-chrome="inspector-card"], .pptx-editor-card) {
|
|
253808
|
+
border: 1px solid var(--pptx-border); border-radius: 4px;
|
|
253809
|
+
padding: 8px; background: var(--pptx-card); font-size: 12px; line-height: 18px;
|
|
253810
|
+
}
|
|
253811
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="inspector"] [data-pptx-chrome="deck-properties"] :is([data-pptx-chrome="inspector-card"], .pptx-editor-card) {
|
|
253812
|
+
padding: 8px; border: 1px solid var(--pptx-border);
|
|
253813
|
+
}
|
|
253814
|
+
[data-pptx-editor-chrome] :is([data-pptx-chrome="inspector-heading"], .pptx-editor-heading) {
|
|
253815
|
+
margin: 0 0 8px; font-size: 11px; line-height: 16.5px; font-weight: 400;
|
|
253816
|
+
letter-spacing: 0.275px; text-transform: uppercase; color: var(--pptx-muted-foreground);
|
|
253817
|
+
}
|
|
253818
|
+
[data-pptx-editor-chrome] .pptx-editor-presentation-card { display: block; }
|
|
253819
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="presentation-fields"] {
|
|
253820
|
+
display: grid; gap: 6px; font-size: 11px; line-height: 18px;
|
|
253821
|
+
}
|
|
253822
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="presentation-fields"] > * {
|
|
253823
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
253824
|
+
gap: 8px; padding: 0; margin: 0; font-size: 11px; line-height: 18px;
|
|
253825
|
+
}
|
|
253826
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="presentation-fields"] > * > span { flex-shrink: 0; order: 0; }
|
|
253827
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="presentation-fields"] pptx-ui-checkbox { order: 1; }
|
|
253828
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="presentation-fields"] pptx-ui-select {
|
|
253829
|
+
flex: none; width: 112px; height: 28px; min-height: 28px;
|
|
253830
|
+
}
|
|
253831
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="presentation-fields"] input[type="number"] {
|
|
253832
|
+
width: 64px; height: 22.5px; min-height: 22.5px;
|
|
253833
|
+
}
|
|
253834
|
+
[data-pptx-editor-chrome] :is([data-pptx-chrome="inspector-card"], .pptx-editor-card) :is(input:not([type="checkbox"]):not([type="color"]), select) {
|
|
253835
|
+
box-sizing: border-box; max-width: 100%; border: 1px solid var(--pptx-border);
|
|
253836
|
+
border-radius: 4px; padding: 2px 6px; font-size: 11px; line-height: 16.5px;
|
|
253837
|
+
background: var(--pptx-muted); color: var(--pptx-foreground);
|
|
253838
|
+
}
|
|
253839
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="theme-editor"] {
|
|
253840
|
+
position: absolute; right: 0; top: 0; z-index: 30; width: 288px; height: 100%;
|
|
253841
|
+
box-sizing: border-box; overflow-y: auto; padding: 10px;
|
|
253842
|
+
background: var(--pptx-card); color: var(--pptx-foreground);
|
|
253843
|
+
border-left: 1px solid var(--pptx-border); box-shadow: -8px 0 24px rgb(0 0 0 / 15%);
|
|
253844
|
+
}
|
|
253845
|
+
}
|
|
253846
|
+
@media (max-width: 767px) {
|
|
253847
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="theme-editor"] {
|
|
253848
|
+
position: absolute; inset: auto 0 0; z-index: 30; width: 100%; max-height: 60%;
|
|
253849
|
+
box-sizing: border-box; overflow-y: auto; padding: 10px;
|
|
253850
|
+
border-top: 1px solid var(--pptx-border); border-radius: 12px 12px 0 0;
|
|
253851
|
+
background: var(--pptx-card); color: var(--pptx-foreground);
|
|
253852
|
+
}
|
|
253853
|
+
}
|
|
253854
|
+
`;
|
|
253855
|
+
var EDITOR_LAYOUT_CSS = `
|
|
253856
|
+
[data-pptx-editor-chrome] [data-pptx-chrome][hidden] { display: none !important; }
|
|
253857
|
+
@media (min-width: 768px) {
|
|
253858
|
+
[data-pptx-editor-chrome] [data-pptx-title-bar] {
|
|
253859
|
+
background: color-mix(in oklab, var(--pptx-secondary) 80%, transparent);
|
|
253860
|
+
border-bottom-color: color-mix(in oklab, var(--pptx-border) 60%, transparent);
|
|
253861
|
+
}
|
|
253862
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="body"] {
|
|
253863
|
+
position: relative; display: flex; flex: 1; min-width: 0; min-height: 0;
|
|
253864
|
+
}
|
|
253865
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="body"] [data-pptx-viewport] {
|
|
253866
|
+
background: var(--pptx-background);
|
|
253867
|
+
}
|
|
253868
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slides"] {
|
|
253869
|
+
flex-shrink: 0; min-width: 0; box-sizing: border-box;
|
|
253870
|
+
background: color-mix(in oklab, var(--pptx-secondary) 30%, transparent);
|
|
253871
|
+
border-right: 1px solid var(--pptx-border);
|
|
253872
|
+
}
|
|
253873
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-footer"] {
|
|
253874
|
+
padding: 6px 8px; border-top: 1px solid color-mix(in oklab, var(--pptx-border) 60%, transparent);
|
|
253875
|
+
}
|
|
253876
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-footer"] > button {
|
|
253877
|
+
width: 100%; display: flex; justify-content: center; align-items: center;
|
|
253878
|
+
gap: 4px; padding: 4px 8px; font-size: 11px; line-height: 16.5px;
|
|
253879
|
+
border: 0; background: transparent; color: var(--pptx-muted-foreground);
|
|
253880
|
+
}
|
|
253881
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="notes"] {
|
|
253882
|
+
flex: none; width: 100%; margin: 0; box-sizing: border-box;
|
|
253883
|
+
border-top: 1px solid color-mix(in oklab, var(--pptx-border) 60%, transparent);
|
|
253884
|
+
background: var(--pptx-background);
|
|
253885
|
+
}
|
|
253886
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="notes-host"] {
|
|
253887
|
+
padding: 0; border: 0; background: transparent;
|
|
253888
|
+
}
|
|
253889
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="notes-header"] {
|
|
253890
|
+
display: flex; align-items: center; gap: 6px; width: 100%;
|
|
253891
|
+
box-sizing: border-box; padding: 4px 12px; min-height: 24.5px;
|
|
253892
|
+
border: 0; background: transparent; color: var(--pptx-muted-foreground);
|
|
253893
|
+
font-size: 11px; line-height: 16.5px; font-weight: 500;
|
|
253894
|
+
}
|
|
253895
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="notes-header"] svg { width: 12px; height: 12px; }
|
|
253896
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="notes-header"]:hover { color: var(--pptx-foreground); }
|
|
253897
|
+
}
|
|
253898
|
+
`;
|
|
253899
|
+
var EDITOR_RIBBON_CSS = `
|
|
253900
|
+
@media (min-width: 768px) {
|
|
253901
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon"] {
|
|
253902
|
+
background: color-mix(in oklab, var(--pptx-secondary) 50%, transparent);
|
|
253903
|
+
color: var(--pptx-foreground); border-bottom: 1px solid var(--pptx-border);
|
|
253904
|
+
}
|
|
253905
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-primary"] {
|
|
253906
|
+
min-height: 32px; height: 32px; padding: 2px 6px; gap: 2px;
|
|
253907
|
+
border: 0; box-sizing: border-box;
|
|
253908
|
+
}
|
|
253909
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"] {
|
|
253910
|
+
display: flex; align-items: center; height: 35px; min-height: 35px;
|
|
253911
|
+
gap: 0; padding: 0 4px; box-sizing: border-box;
|
|
253912
|
+
border-top: 0; border-bottom: 1px solid var(--pptx-border);
|
|
253913
|
+
}
|
|
253914
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"] [role="tablist"] {
|
|
253915
|
+
gap: 0; padding: 0; border: 0;
|
|
253916
|
+
}
|
|
253917
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tab-scroll"] {
|
|
253918
|
+
display: flex; flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden;
|
|
253919
|
+
height: 35px; align-self: flex-start; align-items: flex-start; margin-bottom: -1px;
|
|
253920
|
+
padding: 0; gap: 0; border: 0; scrollbar-width: none;
|
|
253921
|
+
}
|
|
253922
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"]:has([data-pptx-chrome="ribbon-tab-scroll"]) { overflow: visible; }
|
|
253923
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"] [role="tab"] {
|
|
253924
|
+
position: relative; height: 34px; padding: 8px 14px;
|
|
253925
|
+
border: 0; border-radius: 0; font-size: 12px; line-height: 18px;
|
|
253926
|
+
font-weight: 500; white-space: nowrap; background: transparent;
|
|
253927
|
+
color: var(--pptx-muted-foreground);
|
|
253928
|
+
}
|
|
253929
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"] [role="tab"][aria-selected="true"] {
|
|
253930
|
+
color: var(--pptx-foreground);
|
|
253931
|
+
}
|
|
253932
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"] [role="tab"]::after { content: none; }
|
|
253933
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-tabs"] [role="tab"][aria-selected="true"]::after {
|
|
253934
|
+
content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
|
|
253935
|
+
height: 2.5px; background: var(--pptx-primary);
|
|
253936
|
+
}
|
|
253937
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-content"] {
|
|
253938
|
+
min-height: 82px; padding: 2px 4px; gap: 0; box-sizing: border-box;
|
|
253939
|
+
}
|
|
253940
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="ribbon-group-label"] {
|
|
253941
|
+
font-size: 9px; line-height: 9px; font-weight: 400;
|
|
253942
|
+
color: var(--pptx-muted-foreground); text-align: center;
|
|
253943
|
+
}
|
|
253944
|
+
}
|
|
253945
|
+
`;
|
|
253946
|
+
var EDITOR_VIEWPORT_FIT = {
|
|
253947
|
+
fitPadding: { horizontal: 4, vertical: 16 },
|
|
253948
|
+
maxFitScale: 1
|
|
253949
|
+
};
|
|
253950
|
+
var EDITOR_SLIDE_RAIL_WIDTH = 180;
|
|
253951
|
+
var EDITOR_THUMBNAIL_WIDTH = 132;
|
|
253952
|
+
var EDITOR_THUMBNAIL_ROW_CHROME = 6;
|
|
253953
|
+
var EDITOR_THUMBNAIL_GAP = 4;
|
|
253954
|
+
var EDITOR_THUMBNAIL_NUMBER_HEIGHT = 15;
|
|
253955
|
+
function editorThumbnailWidth(railWidth = EDITOR_SLIDE_RAIL_WIDTH) {
|
|
253956
|
+
return Math.max(1, railWidth - (EDITOR_SLIDE_RAIL_WIDTH - EDITOR_THUMBNAIL_WIDTH));
|
|
253957
|
+
}
|
|
253958
|
+
function editorThumbnailHeight(canvasWidth, canvasHeight, width = EDITOR_THUMBNAIL_WIDTH) {
|
|
253959
|
+
return Math.max(1, canvasHeight) * (width / Math.max(1, canvasWidth));
|
|
253960
|
+
}
|
|
253961
|
+
function editorThumbnailStep(canvasWidth, canvasHeight, width = EDITOR_THUMBNAIL_WIDTH) {
|
|
253962
|
+
const contentHeight2 = Math.max(
|
|
253963
|
+
editorThumbnailHeight(canvasWidth, canvasHeight, width) + 2,
|
|
253964
|
+
EDITOR_THUMBNAIL_NUMBER_HEIGHT
|
|
253965
|
+
);
|
|
253966
|
+
return contentHeight2 + (EDITOR_THUMBNAIL_ROW_CHROME - 2) + EDITOR_THUMBNAIL_GAP;
|
|
253967
|
+
}
|
|
253968
|
+
var CURRENT_SLIDE = ':is([aria-current="true"], [aria-current="page"])';
|
|
253969
|
+
var EDITOR_THUMBNAIL_CSS = `
|
|
253970
|
+
@media (min-width: 768px) {
|
|
253971
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-list"] {
|
|
253972
|
+
display: block; padding: 0 6px 8px; gap: ${EDITOR_THUMBNAIL_GAP}px;
|
|
253973
|
+
}
|
|
253974
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-window"] {
|
|
253975
|
+
display: flex; flex-direction: column; gap: ${EDITOR_THUMBNAIL_GAP}px;
|
|
253976
|
+
}
|
|
253977
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-wrapper"] {
|
|
253978
|
+
border: 0; padding: 0; border-radius: 0; background: transparent;
|
|
253979
|
+
}
|
|
253980
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-row"] {
|
|
253981
|
+
position: relative; display: flex; width: 100%; align-items: center;
|
|
253982
|
+
gap: 4px; margin: 0; padding: 2px 4px; border: 0; border-radius: 0;
|
|
253983
|
+
box-sizing: border-box; background: transparent; color: var(--pptx-muted-foreground);
|
|
253984
|
+
}
|
|
253985
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-row"]${CURRENT_SLIDE} {
|
|
253986
|
+
background: color-mix(in oklab, var(--pptx-accent) 40%, transparent);
|
|
253987
|
+
}
|
|
253988
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-row"]${CURRENT_SLIDE}::before {
|
|
253989
|
+
content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
|
|
253990
|
+
width: 3px; border-radius: 0 2px 2px 0; background: var(--pptx-primary);
|
|
253991
|
+
}
|
|
253992
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-number"] {
|
|
253993
|
+
flex: 0 0 20px; width: 20px; min-width: 0; padding: 0;
|
|
253994
|
+
font-family: inherit; font-size: 10px; line-height: ${EDITOR_THUMBNAIL_NUMBER_HEIGHT}px; text-align: right;
|
|
253995
|
+
}
|
|
253996
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-frame"] {
|
|
253997
|
+
display: block; flex-shrink: 0; overflow: hidden; box-sizing: content-box;
|
|
253998
|
+
border: 1px solid transparent; border-radius: 0; outline: none; background: white;
|
|
253999
|
+
}
|
|
254000
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-row"]${CURRENT_SLIDE} [data-pptx-chrome="slide-frame"] {
|
|
254001
|
+
border-color: color-mix(in oklab, var(--pptx-primary) 60%, transparent);
|
|
254002
|
+
}
|
|
254003
|
+
[data-pptx-editor-chrome] [data-pptx-chrome="slide-row"]${CURRENT_SLIDE} [data-pptx-chrome="slide-number"] {
|
|
254004
|
+
color: var(--pptx-primary); font-weight: 500;
|
|
254005
|
+
}
|
|
254006
|
+
}
|
|
254007
|
+
`;
|
|
254008
|
+
var EDITOR_CHROME_CSS = EDITOR_LAYOUT_CSS + EDITOR_THUMBNAIL_CSS + EDITOR_RIBBON_CSS + EDITOR_INSPECTOR_CSS + EDITOR_CONTROLS_CSS + EDITOR_FONT_PICKER_CSS + EDITOR_HOME_LAYOUT_CSS + EDITOR_ARRANGE_CSS + EDITOR_CLUSTER_CSS;
|
|
254009
|
+
var THEME_EDITOR_LABEL_KEYS = [
|
|
254010
|
+
"title",
|
|
254011
|
+
"close",
|
|
254012
|
+
"themeName",
|
|
254013
|
+
"themeNamePlaceholder",
|
|
254014
|
+
"presetThemes",
|
|
254015
|
+
"colorScheme",
|
|
254016
|
+
"preview",
|
|
254017
|
+
"headingFont",
|
|
254018
|
+
"bodyFont",
|
|
254019
|
+
"headingSample",
|
|
254020
|
+
"bodySample",
|
|
254021
|
+
"applyToPresentation",
|
|
254022
|
+
"reset",
|
|
254023
|
+
"colorDark1",
|
|
254024
|
+
"colorLight1",
|
|
254025
|
+
"colorDark2",
|
|
254026
|
+
"colorLight2",
|
|
254027
|
+
"colorAccent1",
|
|
254028
|
+
"colorAccent2",
|
|
254029
|
+
"colorAccent3",
|
|
254030
|
+
"colorAccent4",
|
|
254031
|
+
"colorAccent5",
|
|
254032
|
+
"colorAccent6",
|
|
254033
|
+
"colorHyperlink",
|
|
254034
|
+
"colorFollowedLink"
|
|
254035
|
+
];
|
|
254036
|
+
var THEME_EDITOR_COLOR_LABELS = Object.fromEntries(
|
|
254037
|
+
THEME_COLOR_SCHEME_KEYS.map((slot, i2) => [slot, THEME_EDITOR_LABEL_KEYS[13 + i2]])
|
|
254038
|
+
);
|
|
254039
|
+
function themeEditorLabels(t) {
|
|
254040
|
+
return Object.fromEntries([
|
|
254041
|
+
...THEME_EDITOR_LABEL_KEYS.map((key2) => [key2, t(`pptx.themeEditor.${key2}`)]),
|
|
254042
|
+
...Object.values(THEME_COLOR_SLOT_LABEL_KEYS).map((key2) => [key2, t(key2)]),
|
|
254043
|
+
...THEME_COLOR_TINT_ROWS.map(({ labelKey }) => [labelKey, t(labelKey)])
|
|
254044
|
+
]);
|
|
254045
|
+
}
|
|
254046
|
+
function createThemeEditorEdit(theme) {
|
|
254047
|
+
const copyFont = (font, fallback) => ({
|
|
254048
|
+
...font,
|
|
254049
|
+
latin: font?.latin ?? fallback,
|
|
254050
|
+
...font?.byScript ? { byScript: { ...font.byScript } } : {}
|
|
254051
|
+
});
|
|
254052
|
+
return {
|
|
254053
|
+
name: theme?.name ?? "Custom Theme",
|
|
254054
|
+
colorScheme: { ...DEFAULT_THEME_COLOR_SCHEME, ...theme?.colorScheme },
|
|
254055
|
+
fontScheme: {
|
|
254056
|
+
majorFont: copyFont(theme?.fontScheme?.majorFont, "Calibri Light"),
|
|
254057
|
+
minorFont: copyFont(theme?.fontScheme?.minorFont, "Calibri")
|
|
254058
|
+
}
|
|
254059
|
+
};
|
|
254060
|
+
}
|
|
254061
|
+
function themeEditorHex(value) {
|
|
254062
|
+
const hex22 = value?.startsWith("#") ? value : `#${value ?? ""}`;
|
|
254063
|
+
return /^#[\da-f]{6}$/iu.test(hex22) ? hex22 : "#000000";
|
|
254064
|
+
}
|
|
253363
254065
|
var SLIDE_SHOW_OPTIONS_STYLES = `
|
|
253364
254066
|
:host {
|
|
253365
254067
|
display: inline-flex;
|
|
@@ -253632,6 +254334,401 @@ function definePptxSubtitleSettings(registry) {
|
|
|
253632
254334
|
}
|
|
253633
254335
|
registry.define("pptx-ui-subtitle-settings", SubtitleSettingsElement);
|
|
253634
254336
|
}
|
|
254337
|
+
function attachThemeEditorDock(host) {
|
|
254338
|
+
if (host.hasAttribute("inline")) {
|
|
254339
|
+
return () => {
|
|
254340
|
+
};
|
|
254341
|
+
}
|
|
254342
|
+
const body = host.closest("[data-pptx-editor-chrome]")?.querySelector('[data-pptx-chrome="body"]');
|
|
254343
|
+
const position2 = () => {
|
|
254344
|
+
const rect22 = body?.getBoundingClientRect();
|
|
254345
|
+
const top = Math.max(0, rect22?.top ?? 0);
|
|
254346
|
+
const bottom = Math.min(window.innerHeight, rect22?.bottom ?? window.innerHeight);
|
|
254347
|
+
const left = Math.max(0, rect22?.left ?? 0);
|
|
254348
|
+
const right = Math.min(window.innerWidth, rect22?.right ?? window.innerWidth);
|
|
254349
|
+
const narrow = right - left < 768;
|
|
254350
|
+
const width = narrow ? right - left : Math.min(288, right - left);
|
|
254351
|
+
const height = Math.max(0, bottom - top) * (narrow ? 0.6 : 1);
|
|
254352
|
+
Object.assign(host.style, {
|
|
254353
|
+
left: `${right - width}px`,
|
|
254354
|
+
top: `${bottom - height}px`,
|
|
254355
|
+
width: `${width}px`,
|
|
254356
|
+
height: `${height}px`
|
|
254357
|
+
});
|
|
254358
|
+
};
|
|
254359
|
+
position2();
|
|
254360
|
+
const observer = typeof ResizeObserver === "undefined" ? void 0 : new ResizeObserver(position2);
|
|
254361
|
+
if (body) {
|
|
254362
|
+
observer?.observe(body);
|
|
254363
|
+
}
|
|
254364
|
+
window.addEventListener("resize", position2);
|
|
254365
|
+
window.addEventListener("scroll", position2, true);
|
|
254366
|
+
return () => {
|
|
254367
|
+
observer?.disconnect();
|
|
254368
|
+
window.removeEventListener("resize", position2);
|
|
254369
|
+
window.removeEventListener("scroll", position2, true);
|
|
254370
|
+
};
|
|
254371
|
+
}
|
|
254372
|
+
var THEME_EDITOR_STYLES = `
|
|
254373
|
+
:host { display: block; position: fixed; z-index: 1090; box-sizing: border-box; width: 288px;
|
|
254374
|
+
color: var(--pptx-foreground, #e2e8f0); background: var(--pptx-card, #181c20);
|
|
254375
|
+
border-left: 1px solid var(--pptx-border, #33334d); box-shadow: -8px 0 24px #0002;
|
|
254376
|
+
font: 12px/1.4 var(--pptx-ui-font-family, system-ui, sans-serif); }
|
|
254377
|
+
:host([inline]) { position: static; width: 100%; border: 0; box-shadow: none; }
|
|
254378
|
+
:host([inline]) .close { display: none; }
|
|
254379
|
+
* { box-sizing: border-box; }
|
|
254380
|
+
.panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
|
|
254381
|
+
header { display: flex; align-items: center; justify-content: space-between; padding: 10px; flex: none; }
|
|
254382
|
+
h3 { margin: 0; font-size: 13px; font-weight: 600; }
|
|
254383
|
+
.content { display: grid; gap: 10px; padding: 0 10px 10px; overflow-y: auto; min-height: 0; }
|
|
254384
|
+
section { padding: 8px; border: 1px solid var(--pptx-border, #33334d); border-radius: 5px; }
|
|
254385
|
+
h4, label > span { display: block; margin: 0 0 5px; color: var(--pptx-muted-foreground, #94a3b8); font-size: 10px; }
|
|
254386
|
+
h4 { text-transform: uppercase; letter-spacing: .03em; font-weight: 500; }
|
|
254387
|
+
input[type=text], pptx-ui-select { display: block; width: 100%; min-height: 28px; padding: 4px 6px;
|
|
254388
|
+
background: var(--pptx-background, #0e1114); border: 1px solid var(--pptx-border, #33334d);
|
|
254389
|
+
border-radius: 4px; color: inherit; font: inherit; }
|
|
254390
|
+
button { color: inherit; font: inherit; background: var(--pptx-secondary, #20252b);
|
|
254391
|
+
border: 1px solid var(--pptx-border, #33334d); border-radius: 4px; padding: 5px 7px; cursor: pointer; }
|
|
254392
|
+
button:hover { background: var(--pptx-accent, #33334d); }
|
|
254393
|
+
button:disabled, input:disabled { opacity: .45; cursor: default; }
|
|
254394
|
+
button:focus-visible, input:focus-visible, pptx-ui-select:focus-within { outline: 2px solid var(--pptx-ring, #ec6b3d); outline-offset: 2px; }
|
|
254395
|
+
.close { border: 0; background: transparent; min-width: 28px; min-height: 28px; }
|
|
254396
|
+
.presets, .colors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
|
|
254397
|
+
.preset { text-align: left; font-size: 10px; min-height: 42px; }
|
|
254398
|
+
.preset[aria-pressed=true] { border-color: var(--pptx-primary, #ec6b3d); }
|
|
254399
|
+
.swatches { display: flex; height: 12px; overflow: hidden; border-radius: 2px; margin-bottom: 4px; }
|
|
254400
|
+
.swatches span { flex: 1; }
|
|
254401
|
+
.colors label { min-width: 0; }
|
|
254402
|
+
.colors label > span { font-size: 9px; }
|
|
254403
|
+
.color-row { display: flex; gap: 4px; }
|
|
254404
|
+
input[type=color] { width: 28px; height: 28px; padding: 0; flex: none; border: 1px solid var(--pptx-border, #33334d); background: transparent; }
|
|
254405
|
+
.color-row input[type=text] { min-width: 0; font: 10px monospace; }
|
|
254406
|
+
.font-fields { display: grid; gap: 8px; }
|
|
254407
|
+
.preview { padding: 8px; border-radius: 4px; display: grid; gap: 4px; margin-top: 8px; }
|
|
254408
|
+
.actions { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--pptx-border, #33334d); flex: none; }
|
|
254409
|
+
.apply { flex: 1; background: var(--pptx-primary, #ec6b3d); color: var(--pptx-primary-foreground, #fff); border-color: transparent; }
|
|
254410
|
+
@media (pointer: coarse), (max-width: 767px) { button, input[type=text], pptx-ui-select, .close { min-height: 44px; } }
|
|
254411
|
+
@media (forced-colors: active) { :host, section, button, input { border-color: CanvasText; }
|
|
254412
|
+
button:focus-visible, input:focus-visible { outline-color: Highlight; } }
|
|
254413
|
+
`;
|
|
254414
|
+
function createThemeEditorView(root, actions) {
|
|
254415
|
+
const doc = root.ownerDocument;
|
|
254416
|
+
const panel2 = doc.createElement("div");
|
|
254417
|
+
panel2.className = "panel";
|
|
254418
|
+
panel2.setAttribute("role", "dialog");
|
|
254419
|
+
const texts = /* @__PURE__ */ new Map();
|
|
254420
|
+
function caption(key2, node) {
|
|
254421
|
+
texts.set(key2, [...texts.get(key2) ?? [], node]);
|
|
254422
|
+
}
|
|
254423
|
+
function button(key2, action, className = "") {
|
|
254424
|
+
const node = doc.createElement("button");
|
|
254425
|
+
node.type = "button";
|
|
254426
|
+
node.className = className;
|
|
254427
|
+
caption(key2, node);
|
|
254428
|
+
node.addEventListener("click", action);
|
|
254429
|
+
return node;
|
|
254430
|
+
}
|
|
254431
|
+
const header = doc.createElement("header");
|
|
254432
|
+
const heading = doc.createElement("h3");
|
|
254433
|
+
caption("title", heading);
|
|
254434
|
+
const close = button("close", actions.close, "close");
|
|
254435
|
+
header.append(heading, close);
|
|
254436
|
+
const content = doc.createElement("div");
|
|
254437
|
+
content.className = "content";
|
|
254438
|
+
function section(key2) {
|
|
254439
|
+
const node = doc.createElement("section");
|
|
254440
|
+
const title = doc.createElement("h4");
|
|
254441
|
+
caption(key2, title);
|
|
254442
|
+
node.append(title);
|
|
254443
|
+
content.append(node);
|
|
254444
|
+
return node;
|
|
254445
|
+
}
|
|
254446
|
+
function field(key2) {
|
|
254447
|
+
const label = doc.createElement("label");
|
|
254448
|
+
const span = doc.createElement("span");
|
|
254449
|
+
caption(key2, span);
|
|
254450
|
+
label.append(span);
|
|
254451
|
+
return label;
|
|
254452
|
+
}
|
|
254453
|
+
const name = doc.createElement("input");
|
|
254454
|
+
name.type = "text";
|
|
254455
|
+
name.addEventListener("input", () => actions.edit((draft) => ({ ...draft, name: name.value })));
|
|
254456
|
+
const nameSection = section("themeName");
|
|
254457
|
+
nameSection.append(name);
|
|
254458
|
+
const presets = section("presetThemes");
|
|
254459
|
+
const presetGrid = doc.createElement("div");
|
|
254460
|
+
presetGrid.className = "presets";
|
|
254461
|
+
const presetButtons = PRESET_THEMES.map((preset22) => {
|
|
254462
|
+
const node = doc.createElement("button");
|
|
254463
|
+
node.type = "button";
|
|
254464
|
+
node.className = "preset";
|
|
254465
|
+
node.setAttribute("aria-label", preset22.name);
|
|
254466
|
+
const swatches2 = doc.createElement("span");
|
|
254467
|
+
swatches2.className = "swatches";
|
|
254468
|
+
for (const key2 of ["accent1", "accent2", "accent3", "accent4", "accent5", "accent6"]) {
|
|
254469
|
+
const swatch = doc.createElement("span");
|
|
254470
|
+
swatch.style.backgroundColor = preset22.colorScheme[key2] ?? "";
|
|
254471
|
+
swatches2.append(swatch);
|
|
254472
|
+
}
|
|
254473
|
+
node.append(swatches2, doc.createTextNode(preset22.name));
|
|
254474
|
+
node.addEventListener(
|
|
254475
|
+
"click",
|
|
254476
|
+
() => actions.edit((draft) => ({
|
|
254477
|
+
...draft,
|
|
254478
|
+
name: preset22.name,
|
|
254479
|
+
colorScheme: { ...preset22.colorScheme },
|
|
254480
|
+
fontScheme: {
|
|
254481
|
+
...draft.fontScheme,
|
|
254482
|
+
majorFont: { ...draft.fontScheme.majorFont, latin: preset22.majorFont },
|
|
254483
|
+
minorFont: { ...draft.fontScheme.minorFont, latin: preset22.minorFont }
|
|
254484
|
+
}
|
|
254485
|
+
}))
|
|
254486
|
+
);
|
|
254487
|
+
presetGrid.append(node);
|
|
254488
|
+
return node;
|
|
254489
|
+
});
|
|
254490
|
+
presets.append(presetGrid);
|
|
254491
|
+
const colors = section("colorScheme");
|
|
254492
|
+
const colorGrid = doc.createElement("div");
|
|
254493
|
+
colorGrid.className = "colors";
|
|
254494
|
+
const colorFields = THEME_COLOR_SCHEME_KEYS.map((slot) => {
|
|
254495
|
+
const label = field(THEME_EDITOR_COLOR_LABELS[slot]);
|
|
254496
|
+
const row = doc.createElement("div");
|
|
254497
|
+
row.className = "color-row";
|
|
254498
|
+
const picker = doc.createElement("input");
|
|
254499
|
+
picker.type = "color";
|
|
254500
|
+
const hex22 = doc.createElement("input");
|
|
254501
|
+
hex22.type = "text";
|
|
254502
|
+
hex22.maxLength = 7;
|
|
254503
|
+
const edit = (value) => {
|
|
254504
|
+
if (/^#[\da-f]{6}$/iu.test(value)) {
|
|
254505
|
+
actions.edit((draft) => ({
|
|
254506
|
+
...draft,
|
|
254507
|
+
colorScheme: { ...draft.colorScheme, [slot]: value }
|
|
254508
|
+
}));
|
|
254509
|
+
}
|
|
254510
|
+
};
|
|
254511
|
+
picker.addEventListener("input", () => edit(picker.value));
|
|
254512
|
+
hex22.addEventListener("input", () => edit(hex22.value));
|
|
254513
|
+
row.append(picker, hex22);
|
|
254514
|
+
label.append(row);
|
|
254515
|
+
colorGrid.append(label);
|
|
254516
|
+
return { slot, picker, hex: hex22 };
|
|
254517
|
+
});
|
|
254518
|
+
colors.append(colorGrid);
|
|
254519
|
+
const previewSection = section("preview");
|
|
254520
|
+
const shades = doc.createElement("div");
|
|
254521
|
+
shades.style.cssText = "display:grid;grid-template-columns:repeat(12,1fr);gap:1px";
|
|
254522
|
+
previewSection.append(shades);
|
|
254523
|
+
const fonts = doc.createElement("div");
|
|
254524
|
+
fonts.className = "font-fields";
|
|
254525
|
+
const fontFields = ["majorFont", "minorFont"].map((key2, i2) => {
|
|
254526
|
+
const label = field(i2 === 0 ? "headingFont" : "bodyFont");
|
|
254527
|
+
const select2 = doc.createElement("pptx-ui-select");
|
|
254528
|
+
select2.addEventListener(
|
|
254529
|
+
"change",
|
|
254530
|
+
() => actions.edit((draft) => ({
|
|
254531
|
+
...draft,
|
|
254532
|
+
fontScheme: {
|
|
254533
|
+
...draft.fontScheme,
|
|
254534
|
+
[key2]: { ...draft.fontScheme[key2], latin: select2.value }
|
|
254535
|
+
}
|
|
254536
|
+
}))
|
|
254537
|
+
);
|
|
254538
|
+
label.append(select2);
|
|
254539
|
+
fonts.append(label);
|
|
254540
|
+
return { key: key2, select: select2 };
|
|
254541
|
+
});
|
|
254542
|
+
previewSection.append(fonts);
|
|
254543
|
+
const preview = doc.createElement("div");
|
|
254544
|
+
preview.className = "preview";
|
|
254545
|
+
const previewHeading = doc.createElement("span");
|
|
254546
|
+
const previewBody = doc.createElement("span");
|
|
254547
|
+
caption("headingSample", previewHeading);
|
|
254548
|
+
caption("bodySample", previewBody);
|
|
254549
|
+
preview.append(previewHeading, previewBody);
|
|
254550
|
+
previewSection.append(preview);
|
|
254551
|
+
const footer = doc.createElement("div");
|
|
254552
|
+
footer.className = "actions";
|
|
254553
|
+
footer.append(
|
|
254554
|
+
button("applyToPresentation", actions.apply, "apply"),
|
|
254555
|
+
button("reset", actions.reset)
|
|
254556
|
+
);
|
|
254557
|
+
panel2.append(header, content, footer);
|
|
254558
|
+
root.append(panel2);
|
|
254559
|
+
return {
|
|
254560
|
+
focus: () => name.focus(),
|
|
254561
|
+
paint(draft, labels, disabled) {
|
|
254562
|
+
for (const [key2, nodes] of texts) {
|
|
254563
|
+
for (const node of nodes) {
|
|
254564
|
+
node.textContent = labels[key2] ?? key2;
|
|
254565
|
+
}
|
|
254566
|
+
}
|
|
254567
|
+
panel2.setAttribute("aria-label", labels.title ?? "Edit Theme");
|
|
254568
|
+
close.setAttribute("aria-label", labels.close ?? "Close");
|
|
254569
|
+
name.setAttribute("aria-label", labels.themeName ?? "Theme name");
|
|
254570
|
+
name.placeholder = labels.themeNamePlaceholder ?? "";
|
|
254571
|
+
name.value = draft.name;
|
|
254572
|
+
colorFields.forEach(({ slot, picker, hex: hex22 }) => {
|
|
254573
|
+
const text22 = labels[THEME_EDITOR_COLOR_LABELS[slot]] ?? slot;
|
|
254574
|
+
picker.setAttribute("aria-label", text22);
|
|
254575
|
+
hex22.setAttribute("aria-label", `${text22} hex`);
|
|
254576
|
+
picker.value = themeEditorHex(draft.colorScheme[slot]);
|
|
254577
|
+
hex22.value = draft.colorScheme[slot] ?? "";
|
|
254578
|
+
});
|
|
254579
|
+
fontFields.forEach(({ key: key2, select: select2 }, i2) => {
|
|
254580
|
+
const value = draft.fontScheme[key2]?.latin ?? "";
|
|
254581
|
+
const options = [.../* @__PURE__ */ new Set([value, ...COMMON_FONTS])].filter(Boolean);
|
|
254582
|
+
if (Array.from(select2.options).map((item3) => item3.value).join("|") !== options.join("|")) {
|
|
254583
|
+
select2.replaceChildren(
|
|
254584
|
+
...options.map((font) => {
|
|
254585
|
+
const option = doc.createElement("option");
|
|
254586
|
+
option.value = font;
|
|
254587
|
+
option.textContent = font;
|
|
254588
|
+
return option;
|
|
254589
|
+
})
|
|
254590
|
+
);
|
|
254591
|
+
}
|
|
254592
|
+
select2.value = value;
|
|
254593
|
+
select2.setAttribute("aria-label", labels[i2 === 0 ? "headingFont" : "bodyFont"] ?? key2);
|
|
254594
|
+
select2.disabled = disabled;
|
|
254595
|
+
});
|
|
254596
|
+
presetButtons.forEach(
|
|
254597
|
+
(node, i2) => node.setAttribute("aria-pressed", String(draft.name === PRESET_THEMES[i2].name))
|
|
254598
|
+
);
|
|
254599
|
+
shades.replaceChildren(
|
|
254600
|
+
...(buildThemeColorGrid(draft.colorScheme, (key2) => labels[key2] ?? key2) ?? []).flat().map((cell) => {
|
|
254601
|
+
const swatch = doc.createElement("span");
|
|
254602
|
+
swatch.style.cssText = `height:10px;background:${cell.hex}`;
|
|
254603
|
+
swatch.title = `${cell.colLabel}: ${cell.rowLabel}`;
|
|
254604
|
+
return swatch;
|
|
254605
|
+
})
|
|
254606
|
+
);
|
|
254607
|
+
preview.style.backgroundColor = themeEditorHex(draft.colorScheme.lt1);
|
|
254608
|
+
Object.assign(previewHeading.style, {
|
|
254609
|
+
color: themeEditorHex(draft.colorScheme.dk2),
|
|
254610
|
+
fontFamily: draft.fontScheme.majorFont?.latin
|
|
254611
|
+
});
|
|
254612
|
+
Object.assign(previewBody.style, {
|
|
254613
|
+
color: themeEditorHex(draft.colorScheme.dk1),
|
|
254614
|
+
fontFamily: draft.fontScheme.minorFont?.latin
|
|
254615
|
+
});
|
|
254616
|
+
panel2.querySelectorAll("input, button").forEach((node) => {
|
|
254617
|
+
node.disabled = node !== close && disabled;
|
|
254618
|
+
});
|
|
254619
|
+
}
|
|
254620
|
+
};
|
|
254621
|
+
}
|
|
254622
|
+
function definePptxThemeEditor(registry) {
|
|
254623
|
+
if (registry.get("pptx-ui-theme-editor")) {
|
|
254624
|
+
return;
|
|
254625
|
+
}
|
|
254626
|
+
class ThemeEditorElement extends HTMLElement {
|
|
254627
|
+
current;
|
|
254628
|
+
draft = createThemeEditorEdit();
|
|
254629
|
+
text = {};
|
|
254630
|
+
locked = false;
|
|
254631
|
+
dirty = false;
|
|
254632
|
+
opener;
|
|
254633
|
+
undock;
|
|
254634
|
+
view;
|
|
254635
|
+
constructor() {
|
|
254636
|
+
super();
|
|
254637
|
+
const root = this.attachShadow({ mode: "open" });
|
|
254638
|
+
attachControlStyles(root, THEME_EDITOR_STYLES);
|
|
254639
|
+
this.view = createThemeEditorView(root, {
|
|
254640
|
+
edit: (update) => {
|
|
254641
|
+
if (!this.locked) {
|
|
254642
|
+
this.draft = update(this.draft);
|
|
254643
|
+
this.dirty = true;
|
|
254644
|
+
this.paint();
|
|
254645
|
+
}
|
|
254646
|
+
},
|
|
254647
|
+
apply: () => {
|
|
254648
|
+
if (!this.locked) {
|
|
254649
|
+
this.dispatchEvent(
|
|
254650
|
+
new CustomEvent("theme-editor-apply", {
|
|
254651
|
+
detail: structuredClone(this.draft),
|
|
254652
|
+
bubbles: true,
|
|
254653
|
+
composed: true
|
|
254654
|
+
})
|
|
254655
|
+
);
|
|
254656
|
+
}
|
|
254657
|
+
},
|
|
254658
|
+
reset: () => {
|
|
254659
|
+
if (!this.locked) {
|
|
254660
|
+
this.draft = createThemeEditorEdit(this.current);
|
|
254661
|
+
this.dirty = false;
|
|
254662
|
+
this.paint();
|
|
254663
|
+
}
|
|
254664
|
+
},
|
|
254665
|
+
close: () => this.close()
|
|
254666
|
+
});
|
|
254667
|
+
root.addEventListener("keydown", (event) => {
|
|
254668
|
+
const key2 = event;
|
|
254669
|
+
key2.stopPropagation();
|
|
254670
|
+
if (key2.key === "Escape" && !key2.defaultPrevented) {
|
|
254671
|
+
key2.preventDefault();
|
|
254672
|
+
this.close();
|
|
254673
|
+
}
|
|
254674
|
+
});
|
|
254675
|
+
}
|
|
254676
|
+
get theme() {
|
|
254677
|
+
return this.current;
|
|
254678
|
+
}
|
|
254679
|
+
set theme(value) {
|
|
254680
|
+
this.current = value;
|
|
254681
|
+
if (!this.dirty) {
|
|
254682
|
+
this.draft = createThemeEditorEdit(value);
|
|
254683
|
+
}
|
|
254684
|
+
this.paint();
|
|
254685
|
+
}
|
|
254686
|
+
get labels() {
|
|
254687
|
+
return this.text;
|
|
254688
|
+
}
|
|
254689
|
+
set labels(value) {
|
|
254690
|
+
this.text = { ...value };
|
|
254691
|
+
this.paint();
|
|
254692
|
+
}
|
|
254693
|
+
get disabled() {
|
|
254694
|
+
return this.locked;
|
|
254695
|
+
}
|
|
254696
|
+
set disabled(value) {
|
|
254697
|
+
this.locked = value;
|
|
254698
|
+
this.paint();
|
|
254699
|
+
}
|
|
254700
|
+
connectedCallback() {
|
|
254701
|
+
let active2 = document.activeElement;
|
|
254702
|
+
while (active2?.shadowRoot?.activeElement) {
|
|
254703
|
+
active2 = active2.shadowRoot.activeElement;
|
|
254704
|
+
}
|
|
254705
|
+
this.opener = active2 instanceof HTMLElement ? active2 : void 0;
|
|
254706
|
+
this.undock = attachThemeEditorDock(this);
|
|
254707
|
+
this.paint();
|
|
254708
|
+
if (!this.hasAttribute("inline")) {
|
|
254709
|
+
queueMicrotask(() => {
|
|
254710
|
+
if (this.isConnected) {
|
|
254711
|
+
this.view.focus();
|
|
254712
|
+
}
|
|
254713
|
+
});
|
|
254714
|
+
}
|
|
254715
|
+
}
|
|
254716
|
+
disconnectedCallback() {
|
|
254717
|
+
this.undock?.();
|
|
254718
|
+
if (document.activeElement === this) {
|
|
254719
|
+
this.opener?.focus();
|
|
254720
|
+
}
|
|
254721
|
+
}
|
|
254722
|
+
close() {
|
|
254723
|
+
this.opener?.focus();
|
|
254724
|
+
this.dispatchEvent(new CustomEvent("theme-editor-close", { bubbles: true, composed: true }));
|
|
254725
|
+
}
|
|
254726
|
+
paint() {
|
|
254727
|
+
this.view.paint(this.draft, this.text, this.locked);
|
|
254728
|
+
}
|
|
254729
|
+
}
|
|
254730
|
+
registry.define("pptx-ui-theme-editor", ThemeEditorElement);
|
|
254731
|
+
}
|
|
253635
254732
|
var controls = [
|
|
253636
254733
|
["pptx-ui-search", definePptxSearchField],
|
|
253637
254734
|
["pptx-ui-checkbox", definePptxCheckbox],
|
|
@@ -253640,7 +254737,8 @@ var controls = [
|
|
|
253640
254737
|
["pptx-ui-ribbon-command", definePptxRibbonCommand],
|
|
253641
254738
|
["pptx-ui-ribbon-group", definePptxRibbonGroup],
|
|
253642
254739
|
["pptx-ui-ribbon-toggle", definePptxRibbonToggle],
|
|
253643
|
-
["pptx-ui-subtitle-settings", definePptxSubtitleSettings]
|
|
254740
|
+
["pptx-ui-subtitle-settings", definePptxSubtitleSettings],
|
|
254741
|
+
["pptx-ui-theme-editor", definePptxThemeEditor]
|
|
253644
254742
|
];
|
|
253645
254743
|
function registerPptxWebControls() {
|
|
253646
254744
|
if (typeof window === "undefined" || !window.customElements) {
|
|
@@ -256968,4 +258066,4 @@ registerPptxWebControls();
|
|
|
256968
258066
|
* `<p:extLst>` (optional)
|
|
256969
258067
|
*/
|
|
256970
258068
|
|
|
256971
|
-
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ANIMATION_DIRECTION_LABEL_KEYS, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_BACK_CLASSES, BACKSTAGE_CARD_IDS, BACKSTAGE_NAV, BACKSTAGE_NAV_CLASSES, BACKSTAGE_PAGE_IDS, BACKSTAGE_TEMPLATES, BAR3D_SHAPE_OPTIONS, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CANVAS_CONTEXT_MENU_COMMAND_IDS, CATEGORIES, CHARACTER_SPACING_OPTIONS, CHART_QUICK_ACTION_BUTTON_SIZE, CHART_TYPE_OPTIONS, CINEMATIC_TRANSITION_KEYFRAMES, COLOR_MAP_ALIAS_KEYS, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, COMMON_FONT_SIZES, COMPOUND_LINE_OPTIONS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CONTEXTUAL_TAB_GROUPS, CROP_ASPECT_GROUP_LABEL_KEYS, CROP_ASPECT_LABEL_KEY, CROP_ASPECT_PRESETS, CROP_FILL_LABEL_KEY, CROP_FIT_LABEL_KEY, CROP_HANDLE_ARIA_KEY, CROP_LABEL_KEY, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY2 as DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MORPH_DURATION_MS, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_TRANSITION_DURATION_MS, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PREFERENCES, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DUOTONE_PRESETS, EASE, EDITOR_SHORTCUT_ACTION_IDS, EDIT_POINTS_STYLE, EDIT_POINTS_TARGET_ATTR, EFFECT_SOUND_CATALOGUE, ELEMENT_ACTION_TYPE_OPTIONS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, EMPHASIS_PRESET_VALUES, EMPTY_RESOLVED_CUSTOMIZATION, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EditPointsSession, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, FIXED_TAB_GALLERIES, FREEFORM_TOOL_IDS, FREEFORM_TOOL_LABEL_KEYS, FreeformToolSession, GIF_POST_CAPTURE_MAX_SIDE, GRADIENT_TYPE_OPTIONS, GlyphOutlineFontCache, HANDOUT_OPTIONS, HELP_RIBBON_COMMANDS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, INSTANT, LBL, LINE_CAP_OPTIONS, LINE_JOIN_OPTIONS, 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, MEDIA_FULLSCREEN_OVERLAY_STYLE, MERGE_SHAPES_HINT_KEY, MERGE_SHAPES_LABEL_KEY, MERGE_SHAPES_MENU_ITEMS, MIN_TOUCH_TARGET_PX, 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, OFFICE_COLOR_SWATCHES, ONLINE_VIDEO_IFRAME_ALLOW, ONLINE_VIDEO_IFRAME_SANDBOX, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, PASTE_SPECIAL_OPTIONS, PATTERN_OPTIONS, PATTERN_PRESET_OPTIONS, PDF_SLIDES_PAGE_HEIGHT_PT, PDF_SLIDES_PAGE_WIDTH_PT, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, 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, RADAR_STYLE_OPTIONS, RANDOM_ELIGIBLE_TYPES, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RECORD_COMMAND_GROUPS, RIBBON_CONTEXTUAL_TAB_ATTR, RIBBON_CONTROL_ATTR, RIBBON_GALLERY_ATTR, RIBBON_GALLERY_ITEM_ATTR, RIBBON_GALLERY_POPUP_ATTR, RIBBON_GROUP_ATTR, RIBBON_SCOPE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TAB_IDS, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_COMMAND_GROUPS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, STROKE_DASH_OPTIONS2 as STROKE_DASH_OPTIONS, SURFACE_WIREFRAME_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_BORDER_SIDES, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, TABLE_STYLE_EDITOR_PARTS, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_DECORATION_FLAGS, 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_BUTTON_IDS, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PATTERN_OPTIONS, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_DURATION_MS, TRANSITION_SPEED_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, TRIGGER_OPTIONS, ThemePresets, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_OPTIONS_TABS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, WHEEL_SPOKE_COUNTS, acceptAutosaveRecovery, acceptsPresentationInput, acknowledgeAutosaveRecovery, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addCommentToList, addQuickAccessCommand, addSection, addSiblingAfter, addSmartArtNodeAsChild, addTableStyleToMap, addTagToCollections, advanceChartMarkDrag, advanceChartValueDrag, advanceMainSequence, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyActiveInlineListFormatting, applyAnimationTimelineOrder, applyAutoCorrect, applyCaseTransformToSegments, applyChart3DDrag, applyChart3DSelect, applyChartElementToggle, applyChartPartHighlight, applyChartStylePreset, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyHighlightClickStyle, applyImagePathPatches, applyListStyleUpdate, applyMasterViewCrudAction, applyMergeShapesPlan, applyMotionPathPreset, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, applyOleSheetCellEdit, applyOutlineEdit, applyPasteSpecialFormat, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyRibbonGalleryItem, applyTableStyleDelete, applyTableStyleFieldEdit, applyTableStyleMapChange, applyTableStylePreset, applyTextStyleUpdate, applyThemeOverrideToSlide, applyThemeToData, applyTransitionSoundFile, applyTransitionStockSound, applyUnderlineVariant, assertElementUpdateTarget, attachCollaborationInlineEditor, attachEditorImagePaste, attachInlineListController, attachOverlayKeyboard, attachPresentationVisibilityPause, attachRotateHandlePlacement, authorConnectorBetweenSites, authoredLetterSpacingPx, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, bar3DShapePatch, beginChartMarkDrag, beginChartValueDrag, beginCropDrag, beginShapeAdjustment, beginZoomExcursion, bindInlineListParagraph, bindInlineListRun, borrowExternalCollaborationAwareness, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildAnimationTimelineBars, buildAnimationTimelineRows, buildBarActions, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildCanvasContextMenuEntries, buildChartMarkDragGeometry, buildChartQuickActionsDescriptor, buildChartViewModel, buildChromeStyle, buildCollaborationShareUrl, buildCommentMarkers, buildContentPartStrokes, buildContextMenuEntries, buildCreateCollaborationConfig, buildCropOverlay, buildCssGradientFromShapeStyle, buildDeckSaveOptions, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildFreeformShapeElement, buildGlyphEnvelopeBlock, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildInkGroupStrokes, buildInlineListStylePatch, buildInlineTextCommitPatch, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildLiveInkStrokeView, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildNotesPrintHtml, buildOleContentUpdatePatch, buildOleEditDialogDescriptor, buildOleObjectNamePatch, buildOutline, buildOutlineHtml, buildParagraphs, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildRasterPictureElement, buildRectPathGradient, buildRibbonGallery, buildRunProgramNotice, buildRunTabLines, buildSaveSlides, buildSlidePaneContextMenuEntries, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSmartArtA11y, buildSmartArtPresetData, buildSmartArtPreviewElement, buildStrokeOutline, buildStrokePathD, buildSubpathFillOverlay, buildSubpathPaints, buildSummaryZoomView, buildSvgGradientDef, buildTabContext, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildTextStyleOverrideCss, buildThemeColorGrid, buildThemeColorMap, buildThemeColorSwatchGrid, buildTiledSlidesPdfBytes, buildUserFontFaceStyles, buildZoomTransitionOverride, calculateViewportFit, canAddTopLevelNode, canCommitActionType, canCropElement, canDrillDown, canEditElementPoints, canGoNext, canGoPrevious, canGroupSelection, canInteractWithElement, canMergeShapes, canRemoveTopLevelNode, canSetStrokeWidth, canUngroupSelection, canUseClipboard, cancelBuildReveal, cancelCropUpdate, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartDataLabelsTogglePatch, chartGridlinesPatch, chartGridlinesState, chartPartToAttrs, chartPreserveAspectRatio, checkModifyPassword, clampCropValue, clampFlyoutPosition, clampGifDimensions, clampNotesFontSize, clampOptionNumber, clampPercent2, clampSorterZoom, clampTransitionNumber, clampZoomScale, classifyExtraConnections, classifyMediaType, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearPlaybackTimers, clearStoredViewerPrefs, clearTransitionSound, clientToSlidePoint, cloneElementForPaste, cloneElementUpdates, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collapseChartTitleRunsForEdit, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectReferencedFontFamilies, collectUsedFonts, colorWithOpacity, commentMentionQuery, commentTextSegments, comparePresentation, compatToastStackStyle, compatibilityWarningToasts, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeChartLegendLayout, computeColorFilter, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeGridSpacingPx, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSlideIndices, computeSmartArtElementLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, connectorWrapperTransform, contextMenuInspectorAnchor, contextualTabLabelKey, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createActiveAnimationGroup, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createCustomizationController, createDefaultChartElement, createDefaultChartUserShape, createDefaultChartUserShapeGroupChild, createDepartureChannel, createGlyphOutlineLookup, createImageElementFromFile, createInitialPresentationSnapshot, createInlineListModelObserver, createInlineListSeed, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationLoadResources, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createRotationDrag, createSnapshotTextPositions, createSyncGate, createTableStyleEntry, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, createWriteBackScheduler, cropFill, cropFit, cropModeKeyAction, cropSessionChanged, cropToAspectRatio, cursorForTool, customGeometryPathsToSvgSubpaths, customizeBackstageCards, customizeBackstageNav, customizeCanvasContextMenuEntries, customizeContextMenuEntries, customizeOptionsTabs, cycleSelectableElement, defaultCssVars, defaultRadius, defaultThemeColors, defineThreeViewElement, deleteAutosaveSnapshot, deleteSection, deleteTableStyleFromMap, deleteTagFromCollections, demote, deriveSlideFieldContext, deriveViewportBreakpoints, describeCollaborationShellState, describeFontEmbedding, describeSmartArtBounds, describeTableStyleEditor, detectOrientation, detectTouchDevice, directionValuesFor, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, dragCropHandle, editCommentInList, effectiveDirection, effectiveTimingCurve, elementActionToPptxAction, elementBulletKind, elementContainerHeightStyle, elementHitTargetStyle, elementIdSelector, elementLockTogglePatch, elementPictureFilename, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, evenColumnWidths, evenRowHeights, exportDeckJson, extraQuickAccessCommands, fetchGoogleWebfontOutlineBytes, filterCommands, filterHiddenSlideIndices, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findEraserHitElementId, findInSlides, findSelectedThemeSwatch, findSmartArtNodeText, finishPrintWindow, firstShowSlideIndex, flattenNodes, flattenTagCollections, followingText, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, galleryHasItems, galleryItemLabel, generateBroadcastRoomId, generateElementId, generateNoteLineCount, generateTicks, getActiveXControlOverlayView, getAnimationColorBaseStyle, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getBarFacePicturePixelSampleVersion, getBevelLightingSvgFilter, getCachedNativeImageSize, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getChartUserShapeGroupTransform, getChartUserShapeRowChartBox, getCinematicTransitionAnimations, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getConnectorPathGeometry, getContentPartReplayStyles, getCropShapeClipPath, getCurrentParagraphIndex, getDenseGridLayoutPlan, getDensePanelTouchTargetPx, getDraggedShapeAdjustments, getDuotoneCachedResult, getEffectSoundAsset, getEffectSoundState, getEffectStyleSource, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getFragmentedTransitionDescriptor, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFillCounterTransform, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelectionResult, getLocalStorageUsageSummary, getNonVisualDescriptionFields, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDocumentParagraphs, getOleNestedDeckDetail, getOleObjectTypeLabel, getOleSheetGrid, getOleTypeColor, getOleTypeLabel, getOnlineVideoEmbed, getOverflowSegments, getP14TransitionAnimations, getPatternSvg, getPendingSelectionRestore, getPresetShapeVectorGeometry, getPrintableArea, getResizeHandleHitAreaStyle, getSelectionControlArtworkStyle, getSelectionOutlineColor, getSelectionTextStyleFlags, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSpeechRecognitionCtor, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasGlyphEnvelope, hasMultipleSelectedTableCells, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hasTiltData, hexToRgbUnit, hiddenSlideCue, hideChartSeries, hollowTextFillStyle, inlineElementPointerEvents, inlineGalleryItems, inlineListBodyText, insertCommentMention, insertTableElementColumn, insertTableElementRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isBulletMarkerSegment, isCalloutShape, isCellInRect, isCurrentLayout, isDialogAvailable, isDrawingToolVisible, isEditPointsEnabled, isEditableMotionPath, isEditableTextElement, isEditorControlTarget, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isFeatureEnabled, isHeaderFooterDateTextVisible, isHeaderFooterFooterTextVisible, isHeaderFooterHeaderTextVisible, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMediaFullscreenActive, isMixedContentBlocked, isMobileViewport, isOptionsPageVisible, isPanelVisible, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isSeriesUsingSecondaryAxis, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, isWedgeCalloutPresetShape, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, listChartUserShapeRows, listMediaBookmarkOptions, loadAudienceContent, loadSessionDeck, lockResizeAspect, makeCloneId, makeSlideId, mapCustomizedEditorKey, mapEditingWheel, mapInlineTextFormatKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideShowStartKey, mapSlideSorterKey, masterViewBackgroundColor, masterViewCrudActions, masterViewCrudFailureKey, masterViewElements, masterViewPseudoSlide, matchCommentMentionAuthors, mayLeaveSlideShow, measurePreviewGeometry, measureSvgViewportRect, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, mediaTrimEndMsFromSeconds, mediaTrimEndSeconds, mergeAdditiveSelection, mergeCaptionResults, mergeCells, mergePresentationSnapshot, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, modelDataToBlobUrl, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, mruColorsPatch, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, nextToggleValue, normalizeHexColor2 as normalizeHexColor, normalizeStrokeDashType, normalizeTableStyleGuid, notesSegmentsToSpans, observeElementHeight, observeExternalCollaborationReadiness, observeExternalCollaborationSession, observeYDocSlides, oleActionsVisible, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPendingPrintWindow, openPptxFile, openReadingView, openUrlInNewTab, overlayInlineTextSnapshot, overlayMasterViewInlineSnapshot, overlayPointerInput, paintedElementSize, paintedStrokeWidth, panCropImage, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, patchChartData, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, placeTileOnPage, placeholderPromptDescriptor, planMergeShapes, playAnimationRibbonPreview, playFeedbackSound, playGroup, playSlideTransitionPreview, pptxActionToElementAction, prepareElementForInsertion, prepareElementUpdateBatch, prepareHtml2CanvasClone, presentationBaseName, presentationEntrySlideIndex, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, probeNativeImageSize, projectDrawingShapes, promote, publishLiveGeometry, publishLiveInlineText, pushRecentColor, quickStyleSwatchCss, radarStylePatch, rasterResultToPngBlob, rasterResultToPngDataUrl, rasterizeElement, rasterizeElementTiledToCanvas, rasterizeElementTiles, reResolveElementColors, reResolveSlideColors, readBackstageRecentFile, readEditableText, readListActivationSelection, readOnlyRecommendation, readRibbonTransitionDraft, readSlidesFromYDoc, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, redistributeColumnWidth, registerCollaborationTeardown, registerCrossSlideAudio, registerCustomFont, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeCommentFromList, removeEmptyNode, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorder2 as reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replaceOleFile, replyToCommentInList, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolve3DRenderingFlags, resolveActionType, resolveActiveRibbonTab, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAuthoredSlideRange, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveChartThreeViewSpec, resolveCollaborationShellEditability, resolveCollaborationShellState, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDefaultPrintSettings, resolveDirection, resolveDirection8, resolveDisplayedChartType, resolveEditPointsAvailability, resolveEffectiveHiddenActions, resolveElementActionAffordance, resolveElementAriaAttributes, resolveElementHighlightClick, resolveElementInteractivity, resolveExpiredAutosaveSnapshots, resolveExportCaptureDecision, resolveFontKerning, resolveForwardSlideWithZoomReturn, resolveGoogleWebfontHref, resolveGroupChildFill, resolveHistoryDepth, resolveImageResolutionScale, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, resolveMediaBookmarkTimesMs, resolveMediaElementSource, resolveMediaTimeNodeElementIds, resolveMetricTrackingPx, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleType, resolveOleVerbTarget, resolveOptionRootClasses, resolveOrientation, resolvePalette, resolvePresentationAction, resolveProfileInitial, resolveRevealedChartData, resolveRevealedDrawingShapeNodeIds, resolveRevealedDrawingShapes, resolveRevealedSmartArtNodes, resolveScreenTip, resolveScriptFontSet, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlidePaneClick, resolveSlideSizeSelection, resolveSlideTransition, resolveSmartArtThreeViewSpec, resolveTableCellImageUrls, resolveTableStyleImageUrls, resolveTemplateBackgroundRows, resolveTextFillBlipUrls, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransitionSoundAction, resolveTransportForServerUrl, resolveViewerAddinRows, resolveViewportFitOptions, resolveWheelSpokeCount, resolveZoomNavigationTarget, restoreFilteredSeries, restoreInlineListBodySelection, restoreSegmentSelection, restoreSessionDeck, ribbonCustomizationCss, ribbonTransitionUpdates, rulerDragToGuidePosition, runPresentationAction, runProgramNoticeStackStyle, safeOpenUrl, sanitizeColor, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scaleFontSizeForAutoFit, scaleSlidesForSizeChange, scanAvailableFontFamilies, scheduleAutoAdvanceChain, scheduleMediaTrimAndFade, schemaLabel, scopeLayoutOptionsToSlide, scrollInspectorSectionIntoView, seedRecentColors, segmentFrameCount, segmentStyleToCss, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, selectGoogleWebfontFamilies, selectedBookmarkOptionValue, selectedParagraphBulletKind, selectionBulletKind, sendBackward, sendToBack, seriesSecondaryAxisPatch, setAfterAnimation, setAfterAnimationColor, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDataLabelsRangeCache, setDuotoneCachedResult, setEffectSound, setEffectStockSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, setTrigger, setTriggerBookmark, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRenderHitTarget, shouldRoomSlidesReplaceLoad, shouldShowAccessibilitySection, shouldShowAutosaveRecoveryPrompt, shouldShowElementHandles, shouldShowMediaFullscreenStopButton, shouldStickyActionRow, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, slideProgressPercent, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitEastAsianBreaks, splitRunByScriptFont, splitRunForMetrics, splitWordsForUnderline, splitsUnderlineIntoWords, startCropSession, stepFontSizePt, stepPresenterZoom, stopAllPersistentAudio, stopCaptureStream, storeAudienceContent, stripUnderlineDecoration, strokeOutlineViewBox, strokeWidthOf, styleShadowFilter, subscribeBarFacePicturePixelSamples, substituteFieldText, subtitleRecognitionLanguage, subtitleSettingsFromOptions, subtitleSettingsLabels, surfaceWireframePatch, svgGradientFillRef, svgLineCap, swapPresentationWindows, switchSmartArtLayout, syncGoogleWebfontStylesheet, tableCellCss, tableContainerCss, tableStyleAssignmentUpdate, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, textFontSizePtToPx, textFontSizePxToPt, themeColorLabel, themeColorSchemesEqual, themeColorSwatchRows, themeSwatchCommit, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toElementAxes, toSlideIndex, toggleBlackboard, toggleCommentResolvedInList, togglePresenterTimer, toggleSelectionBullets, toggleSheet, toggleStageElementMedia, toggleText3dExtrusion, transformInlineListCase, transformTextCase, transitionSoundOptions, transitionSoundSelectedValue, transitionStockSoundId, trimmedMediaDurationMs, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateElement, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateSubtitleSettings, updateTagInCollections, validateMediaTrimRange, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewPropertiesPatchFromPreferences, viewerOptionsToPreferences, viewerPreferencesFromViewProperties, visibleContextualTabs, visibleTemplateElements, warpPreviewPath, withChartTitle, withChartUserShapeAdded, withChartUserShapeGroupChildAdded, withChartUserShapeRowChartBoxUpdated, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRemoved, withChartUserShapeRowRotationUpdated, withChartUserShapeRowTextUpdated, withChartUserShapeRowUpdated, withConnectorEndpointUpdate, withFrameSlides, withInlineListDecorationDefaults, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs, xmlText };
|
|
258069
|
+
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ANIMATION_DIRECTION_LABEL_KEYS, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_BACK_CLASSES, BACKSTAGE_CARD_IDS, BACKSTAGE_NAV, BACKSTAGE_NAV_CLASSES, BACKSTAGE_PAGE_IDS, BACKSTAGE_TEMPLATES, BAR3D_SHAPE_OPTIONS, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CANVAS_CONTEXT_MENU_COMMAND_IDS, CATEGORIES, CHARACTER_SPACING_OPTIONS, CHART_QUICK_ACTION_BUTTON_SIZE, CHART_TYPE_OPTIONS, CINEMATIC_TRANSITION_KEYFRAMES, COLOR_MAP_ALIAS_KEYS, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONT_SIZES, COMPOUND_LINE_OPTIONS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CONTEXTUAL_TAB_GROUPS, CROP_ASPECT_GROUP_LABEL_KEYS, CROP_ASPECT_LABEL_KEY, CROP_ASPECT_PRESETS, CROP_FILL_LABEL_KEY, CROP_FIT_LABEL_KEY, CROP_HANDLE_ARIA_KEY, CROP_LABEL_KEY, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY2 as DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MORPH_DURATION_MS, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_TRANSITION_DURATION_MS, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PREFERENCES, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DUOTONE_PRESETS, EASE, EDITOR_CHROME_CSS, EDITOR_SHORTCUT_ACTION_IDS, EDITOR_THUMBNAIL_WIDTH, EDITOR_VIEWPORT_FIT, EDIT_POINTS_STYLE, EDIT_POINTS_TARGET_ATTR, EFFECT_SOUND_CATALOGUE, ELEMENT_ACTION_TYPE_OPTIONS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, EMPHASIS_PRESET_VALUES, EMPTY_RESOLVED_CUSTOMIZATION, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EditPointsSession, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, FIXED_TAB_GALLERIES, FREEFORM_TOOL_IDS, FREEFORM_TOOL_LABEL_KEYS, FreeformToolSession, GIF_POST_CAPTURE_MAX_SIDE, GRADIENT_TYPE_OPTIONS, GlyphOutlineFontCache, HANDOUT_OPTIONS, HELP_RIBBON_COMMANDS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, INSTANT, LBL, LINE_CAP_OPTIONS, LINE_JOIN_OPTIONS, 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, MEDIA_FULLSCREEN_OVERLAY_STYLE, MERGE_SHAPES_HINT_KEY, MERGE_SHAPES_LABEL_KEY, MERGE_SHAPES_MENU_ITEMS, MIN_TOUCH_TARGET_PX, 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, OFFICE_COLOR_SWATCHES, ONLINE_VIDEO_IFRAME_ALLOW, ONLINE_VIDEO_IFRAME_SANDBOX, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, PASTE_SPECIAL_OPTIONS, PATTERN_OPTIONS, PATTERN_PRESET_OPTIONS, PDF_SLIDES_PAGE_HEIGHT_PT, PDF_SLIDES_PAGE_WIDTH_PT, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, 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, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, RADAR_STYLE_OPTIONS, RANDOM_ELIGIBLE_TYPES, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RECORD_COMMAND_GROUPS, RIBBON_CONTEXTUAL_TAB_ATTR, RIBBON_CONTROL_ATTR, RIBBON_GALLERY_ATTR, RIBBON_GALLERY_ITEM_ATTR, RIBBON_GALLERY_POPUP_ATTR, RIBBON_GROUP_ATTR, RIBBON_SCOPE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TAB_IDS, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_COMMAND_GROUPS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, STROKE_DASH_OPTIONS2 as STROKE_DASH_OPTIONS, SURFACE_WIREFRAME_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_BORDER_SIDES, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, TABLE_STYLE_EDITOR_PARTS, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_DECORATION_FLAGS, 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_BUTTON_IDS, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PATTERN_OPTIONS, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_DURATION_MS, TRANSITION_SPEED_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, TRIGGER_OPTIONS, ThemePresets, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_OPTIONS_TABS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, WHEEL_SPOKE_COUNTS, acceptAutosaveRecovery, acceptsPresentationInput, acknowledgeAutosaveRecovery, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addCommentToList, addQuickAccessCommand, addSection, addSiblingAfter, addSmartArtNodeAsChild, addTableStyleToMap, addTagToCollections, advanceChartMarkDrag, advanceChartValueDrag, advanceMainSequence, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyActiveInlineListFormatting, applyAnimationTimelineOrder, applyAutoCorrect, applyCaseTransformToSegments, applyChart3DDrag, applyChart3DSelect, applyChartElementToggle, applyChartPartHighlight, applyChartStylePreset, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyHighlightClickStyle, applyImagePathPatches, applyListStyleUpdate, applyMasterViewCrudAction, applyMergeShapesPlan, applyMotionPathPreset, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, applyOleSheetCellEdit, applyOutlineEdit, applyPasteSpecialFormat, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyRibbonGalleryItem, applyTableStyleDelete, applyTableStyleFieldEdit, applyTableStyleMapChange, applyTableStylePreset, applyTextStyleUpdate, applyThemeOverrideToSlide, applyThemeToData, applyTransitionSoundFile, applyTransitionStockSound, applyUnderlineVariant, assertElementUpdateTarget, attachCollaborationInlineEditor, attachEditorImagePaste, attachInlineListController, attachOverlayKeyboard, attachPresentationVisibilityPause, attachRotateHandlePlacement, authorConnectorBetweenSites, authoredLetterSpacingPx, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, bar3DShapePatch, beginChartMarkDrag, beginChartValueDrag, beginCropDrag, beginShapeAdjustment, beginZoomExcursion, bindInlineListParagraph, bindInlineListRun, borrowExternalCollaborationAwareness, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildAnimationTimelineBars, buildAnimationTimelineRows, buildBarActions, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildCanvasContextMenuEntries, buildChartMarkDragGeometry, buildChartQuickActionsDescriptor, buildChartViewModel, buildChromeStyle, buildCollaborationShareUrl, buildCommentMarkers, buildContentPartStrokes, buildContextMenuEntries, buildCreateCollaborationConfig, buildCropOverlay, buildCssGradientFromShapeStyle, buildDeckSaveOptions, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildFreeformShapeElement, buildGlyphEnvelopeBlock, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildInkGroupStrokes, buildInlineListStylePatch, buildInlineTextCommitPatch, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildLiveInkStrokeView, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildNotesPrintHtml, buildOleContentUpdatePatch, buildOleEditDialogDescriptor, buildOleObjectNamePatch, buildOutline, buildOutlineHtml, buildParagraphs, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildRasterPictureElement, buildRectPathGradient, buildRibbonGallery, buildRunProgramNotice, buildRunTabLines, buildSaveSlides, buildSlidePaneContextMenuEntries, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSmartArtA11y, buildSmartArtPresetData, buildSmartArtPreviewElement, buildStrokeOutline, buildStrokePathD, buildSubpathFillOverlay, buildSubpathPaints, buildSummaryZoomView, buildSvgGradientDef, buildTabContext, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildTextStyleOverrideCss, buildThemeColorMap, buildThemeColorSwatchGrid, buildTiledSlidesPdfBytes, buildUserFontFaceStyles, buildZoomTransitionOverride, calculateViewportFit, canAddTopLevelNode, canCommitActionType, canCropElement, canDrillDown, canEditElementPoints, canGoNext, canGoPrevious, canGroupSelection, canInteractWithElement, canMergeShapes, canRemoveTopLevelNode, canSetStrokeWidth, canUngroupSelection, canUseClipboard, cancelBuildReveal, cancelCropUpdate, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartDataLabelsTogglePatch, chartGridlinesPatch, chartGridlinesState, chartPartToAttrs, chartPreserveAspectRatio, checkModifyPassword, clampCropValue, clampFlyoutPosition, clampGifDimensions, clampNotesFontSize, clampOptionNumber, clampPercent2, clampSorterZoom, clampTransitionNumber, clampZoomScale, classifyExtraConnections, classifyMediaType, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearPlaybackTimers, clearStoredViewerPrefs, clearTransitionSound, clientToSlidePoint, cloneElementForPaste, cloneElementUpdates, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collapseChartTitleRunsForEdit, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectReferencedFontFamilies, collectUsedFonts, colorWithOpacity, commentMentionQuery, commentTextSegments, comparePresentation, compatToastStackStyle, compatibilityWarningToasts, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeChartLegendLayout, computeColorFilter, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeGridSpacingPx, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSlideIndices, computeSmartArtElementLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, connectorWrapperTransform, contextMenuInspectorAnchor, contextualTabLabelKey, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createActiveAnimationGroup, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createCustomizationController, createDefaultChartElement, createDefaultChartUserShape, createDefaultChartUserShapeGroupChild, createDepartureChannel, createGlyphOutlineLookup, createImageElementFromFile, createInitialPresentationSnapshot, createInlineListModelObserver, createInlineListSeed, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationLoadResources, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createRotationDrag, createSnapshotTextPositions, createSyncGate, createTableStyleEntry, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, createWriteBackScheduler, cropFill, cropFit, cropModeKeyAction, cropSessionChanged, cropToAspectRatio, cursorForTool, customGeometryPathsToSvgSubpaths, customizeBackstageCards, customizeBackstageNav, customizeCanvasContextMenuEntries, customizeContextMenuEntries, customizeOptionsTabs, cycleSelectableElement, defaultCssVars, defaultRadius, defaultThemeColors, defineThreeViewElement, deleteAutosaveSnapshot, deleteSection, deleteTableStyleFromMap, deleteTagFromCollections, demote, deriveSlideFieldContext, deriveViewportBreakpoints, describeCollaborationShellState, describeFontEmbedding, describeSmartArtBounds, describeTableStyleEditor, detectOrientation, detectTouchDevice, directionValuesFor, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, dragCropHandle, editCommentInList, editorThumbnailHeight, editorThumbnailStep, editorThumbnailWidth, effectiveDirection, effectiveTimingCurve, elementActionToPptxAction, elementBulletKind, elementContainerHeightStyle, elementHitTargetStyle, elementIdSelector, elementLockTogglePatch, elementPictureFilename, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, evenColumnWidths, evenRowHeights, exportDeckJson, extraQuickAccessCommands, fetchGoogleWebfontOutlineBytes, filterCommands, filterHiddenSlideIndices, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findEraserHitElementId, findInSlides, findSelectedThemeSwatch, findSmartArtNodeText, finishPrintWindow, firstShowSlideIndex, flattenNodes, flattenTagCollections, followingText, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, galleryHasItems, galleryItemLabel, generateBroadcastRoomId, generateElementId, generateNoteLineCount, generateTicks, getActiveXControlOverlayView, getAnimationColorBaseStyle, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getBarFacePicturePixelSampleVersion, getBevelLightingSvgFilter, getCachedNativeImageSize, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getChartUserShapeGroupTransform, getChartUserShapeRowChartBox, getCinematicTransitionAnimations, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getConnectorPathGeometry, getContentPartReplayStyles, getCropShapeClipPath, getCurrentParagraphIndex, getDenseGridLayoutPlan, getDensePanelTouchTargetPx, getDraggedShapeAdjustments, getDuotoneCachedResult, getEffectSoundAsset, getEffectSoundState, getEffectStyleSource, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getFragmentedTransitionDescriptor, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFillCounterTransform, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelectionResult, getLocalStorageUsageSummary, getNonVisualDescriptionFields, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDocumentParagraphs, getOleNestedDeckDetail, getOleObjectTypeLabel, getOleSheetGrid, getOleTypeColor, getOleTypeLabel, getOnlineVideoEmbed, getOverflowSegments, getP14TransitionAnimations, getPatternSvg, getPendingSelectionRestore, getPresetShapeVectorGeometry, getPrintableArea, getResizeHandleHitAreaStyle, getSelectionControlArtworkStyle, getSelectionOutlineColor, getSelectionTextStyleFlags, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSpeechRecognitionCtor, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasGlyphEnvelope, hasMultipleSelectedTableCells, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hasTiltData, hexToRgbUnit, hiddenSlideCue, hideChartSeries, hollowTextFillStyle, inlineElementPointerEvents, inlineGalleryItems, inlineListBodyText, insertCommentMention, insertTableElementColumn, insertTableElementRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isBulletMarkerSegment, isCalloutShape, isCellInRect, isCurrentLayout, isDialogAvailable, isDrawingToolVisible, isEditPointsEnabled, isEditableMotionPath, isEditableTextElement, isEditorControlTarget, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isFeatureEnabled, isHeaderFooterDateTextVisible, isHeaderFooterFooterTextVisible, isHeaderFooterHeaderTextVisible, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMediaFullscreenActive, isMixedContentBlocked, isMobileViewport, isOptionsPageVisible, isPanelVisible, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isSeriesUsingSecondaryAxis, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, isWedgeCalloutPresetShape, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, listChartUserShapeRows, listMediaBookmarkOptions, loadAudienceContent, loadSessionDeck, lockResizeAspect, makeCloneId, makeSlideId, mapCustomizedEditorKey, mapEditingWheel, mapInlineTextFormatKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideShowStartKey, mapSlideSorterKey, masterViewBackgroundColor, masterViewCrudActions, masterViewCrudFailureKey, masterViewElements, masterViewPseudoSlide, matchCommentMentionAuthors, mayLeaveSlideShow, measurePreviewGeometry, measureSvgViewportRect, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, mediaTrimEndMsFromSeconds, mediaTrimEndSeconds, mergeAdditiveSelection, mergeCaptionResults, mergeCells, mergePresentationSnapshot, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, modelDataToBlobUrl, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, mruColorsPatch, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, nextToggleValue, normalizeHexColor2 as normalizeHexColor, normalizeStrokeDashType, normalizeTableStyleGuid, notesSegmentsToSpans, observeElementHeight, observeExternalCollaborationReadiness, observeExternalCollaborationSession, observeYDocSlides, oleActionsVisible, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPendingPrintWindow, openPptxFile, openReadingView, openUrlInNewTab, overlayInlineTextSnapshot, overlayMasterViewInlineSnapshot, overlayPointerInput, paintedElementSize, paintedStrokeWidth, panCropImage, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, patchChartData, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, placeTileOnPage, placeholderPromptDescriptor, planMergeShapes, playAnimationRibbonPreview, playFeedbackSound, playGroup, playSlideTransitionPreview, pptxActionToElementAction, prepareElementForInsertion, prepareElementUpdateBatch, prepareHtml2CanvasClone, presentationBaseName, presentationEntrySlideIndex, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, probeNativeImageSize, projectDrawingShapes, promote, publishLiveGeometry, publishLiveInlineText, pushRecentColor, quickStyleSwatchCss, radarStylePatch, rasterResultToPngBlob, rasterResultToPngDataUrl, rasterizeElement, rasterizeElementTiledToCanvas, rasterizeElementTiles, reResolveElementColors, reResolveElementFonts, reResolveSlideColors, readBackstageRecentFile, readEditableText, readListActivationSelection, readOnlyRecommendation, readRibbonTransitionDraft, readSlidesFromYDoc, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, redistributeColumnWidth, registerCollaborationTeardown, registerCrossSlideAudio, registerCustomFont, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeCommentFromList, removeEmptyNode, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorder2 as reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replaceOleFile, replyToCommentInList, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolve3DRenderingFlags, resolveActionType, resolveActiveRibbonTab, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAuthoredSlideRange, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveChartThreeViewSpec, resolveCollaborationShellEditability, resolveCollaborationShellState, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDefaultPrintSettings, resolveDirection, resolveDirection8, resolveDisplayedChartType, resolveEditPointsAvailability, resolveEffectiveHiddenActions, resolveElementActionAffordance, resolveElementAriaAttributes, resolveElementHighlightClick, resolveElementInteractivity, resolveExpiredAutosaveSnapshots, resolveExportCaptureDecision, resolveFontKerning, resolveForwardSlideWithZoomReturn, resolveGoogleWebfontHref, resolveGroupChildFill, resolveHistoryDepth, resolveImageResolutionScale, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, resolveMediaBookmarkTimesMs, resolveMediaElementSource, resolveMediaTimeNodeElementIds, resolveMetricTrackingPx, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleType, resolveOleVerbTarget, resolveOptionRootClasses, resolveOrientation, resolvePalette, resolvePresentationAction, resolveProfileInitial, resolveRevealedChartData, resolveRevealedDrawingShapeNodeIds, resolveRevealedDrawingShapes, resolveRevealedSmartArtNodes, resolveScreenTip, resolveScriptFontSet, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlidePaneClick, resolveSlideSizeSelection, resolveSlideTransition, resolveSmartArtThreeViewSpec, resolveTableCellImageUrls, resolveTableStyleImageUrls, resolveTemplateBackgroundRows, resolveTextFillBlipUrls, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransitionSoundAction, resolveTransportForServerUrl, resolveViewerAddinRows, resolveViewportFitOptions, resolveWheelSpokeCount, resolveZoomNavigationTarget, restoreFilteredSeries, restoreInlineListBodySelection, restoreSegmentSelection, restoreSessionDeck, ribbonCustomizationCss, ribbonTransitionUpdates, rulerDragToGuidePosition, runPresentationAction, runProgramNoticeStackStyle, safeOpenUrl, sanitizeColor, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scaleFontSizeForAutoFit, scaleSlidesForSizeChange, scanAvailableFontFamilies, scheduleAutoAdvanceChain, scheduleMediaTrimAndFade, schemaLabel, scopeLayoutOptionsToSlide, scrollInspectorSectionIntoView, seedRecentColors, segmentFrameCount, segmentStyleToCss, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, selectGoogleWebfontFamilies, selectedBookmarkOptionValue, selectedParagraphBulletKind, selectionBulletKind, sendBackward, sendToBack, seriesSecondaryAxisPatch, setAfterAnimation, setAfterAnimationColor, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDataLabelsRangeCache, setDuotoneCachedResult, setEffectSound, setEffectStockSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, setTrigger, setTriggerBookmark, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRenderHitTarget, shouldRoomSlidesReplaceLoad, shouldShowAccessibilitySection, shouldShowAutosaveRecoveryPrompt, shouldShowElementHandles, shouldShowMediaFullscreenStopButton, shouldStickyActionRow, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, slideProgressPercent, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitEastAsianBreaks, splitRunByScriptFont, splitRunForMetrics, splitWordsForUnderline, splitsUnderlineIntoWords, startCropSession, stepFontSizePt, stepPresenterZoom, stopAllPersistentAudio, stopCaptureStream, storeAudienceContent, stripUnderlineDecoration, strokeOutlineViewBox, strokeWidthOf, styleShadowFilter, subscribeBarFacePicturePixelSamples, substituteFieldText, subtitleRecognitionLanguage, subtitleSettingsFromOptions, subtitleSettingsLabels, surfaceWireframePatch, svgGradientFillRef, svgLineCap, swapPresentationWindows, switchSmartArtLayout, syncGoogleWebfontStylesheet, tableCellCss, tableContainerCss, tableStyleAssignmentUpdate, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, textFontSizePtToPx, textFontSizePxToPt, themeColorSchemesEqual, themeColorSwatchRows, themeEditorLabels, themeSwatchCommit, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toElementAxes, toSlideIndex, toggleBlackboard, toggleCommentResolvedInList, togglePresenterTimer, toggleSelectionBullets, toggleSheet, toggleStageElementMedia, toggleText3dExtrusion, transformInlineListCase, transformTextCase, transitionSoundOptions, transitionSoundSelectedValue, transitionStockSoundId, trimmedMediaDurationMs, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateElement, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateSubtitleSettings, updateTagInCollections, validateMediaTrimRange, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewPropertiesPatchFromPreferences, viewerOptionsToPreferences, viewerPreferencesFromViewProperties, visibleContextualTabs, visibleTemplateElements, warpPreviewPath, withChartTitle, withChartUserShapeAdded, withChartUserShapeGroupChildAdded, withChartUserShapeRowChartBoxUpdated, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRemoved, withChartUserShapeRowRotationUpdated, withChartUserShapeRowTextUpdated, withChartUserShapeRowUpdated, withConnectorEndpointUpdate, withFrameSlides, withInlineListDecorationDefaults, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs, xmlText };
|