pptx-angular-viewer 1.14.0 → 1.15.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.
|
@@ -20766,6 +20766,51 @@ function defaultTextAdvancedState() {
|
|
|
20766
20766
|
rtl: false,
|
|
20767
20767
|
};
|
|
20768
20768
|
}
|
|
20769
|
+
// ==========================================================================
|
|
20770
|
+
// Text wrap + autofit mode (standalone; not part of TextAdvancedState so
|
|
20771
|
+
// existing consumers of that interface are unaffected by this addition).
|
|
20772
|
+
// ==========================================================================
|
|
20773
|
+
/** Available text-wrap options (`a:bodyPr/@wrap`). */
|
|
20774
|
+
const TEXT_WRAP_OPTIONS = [
|
|
20775
|
+
['square', 'Wrap text in shape'],
|
|
20776
|
+
['none', "Don't wrap text"],
|
|
20777
|
+
];
|
|
20778
|
+
/**
|
|
20779
|
+
* Available autofit-mode options. Per this codebase's {@link TextStyle.autoFitMode}
|
|
20780
|
+
* mapping: `'shrink'` is `a:spAutoFit` (resize the shape to fit the text) and
|
|
20781
|
+
* `'normal'` is `a:normAutofit` (shrink the text on overflow).
|
|
20782
|
+
*/
|
|
20783
|
+
const AUTOFIT_MODE_OPTIONS = [
|
|
20784
|
+
['none', 'Do not autofit'],
|
|
20785
|
+
['normal', 'Shrink text on overflow'],
|
|
20786
|
+
['shrink', 'Resize shape to fit text'],
|
|
20787
|
+
];
|
|
20788
|
+
/** Read the effective text-wrap mode, defaulting to `'square'` (wrap on). */
|
|
20789
|
+
function textWrapOf(el) {
|
|
20790
|
+
if (!hasTextProperties(el)) {
|
|
20791
|
+
return 'square';
|
|
20792
|
+
}
|
|
20793
|
+
return el.textStyle?.textWrap ?? 'square';
|
|
20794
|
+
}
|
|
20795
|
+
/** Read the effective autofit mode, defaulting to `'none'`. */
|
|
20796
|
+
function autoFitModeOf(el) {
|
|
20797
|
+
if (!hasTextProperties(el)) {
|
|
20798
|
+
return 'none';
|
|
20799
|
+
}
|
|
20800
|
+
return el.textStyle?.autoFitMode ?? 'none';
|
|
20801
|
+
}
|
|
20802
|
+
/** Patch to update the text-wrap mode, preserving the rest of `textStyle`. */
|
|
20803
|
+
function textWrapPatch(el, wrap) {
|
|
20804
|
+
const base = hasTextProperties(el) ? (el.textStyle ?? {}) : {};
|
|
20805
|
+
return { textStyle: { ...base, textWrap: wrap } };
|
|
20806
|
+
}
|
|
20807
|
+
/** Patch to update the autofit mode, preserving the rest of `textStyle`. */
|
|
20808
|
+
function autoFitModePatch(el, mode) {
|
|
20809
|
+
const base = hasTextProperties(el) ? (el.textStyle ?? {}) : {};
|
|
20810
|
+
return {
|
|
20811
|
+
textStyle: { ...base, autoFitMode: mode, autoFit: mode !== 'none' },
|
|
20812
|
+
};
|
|
20813
|
+
}
|
|
20769
20814
|
|
|
20770
20815
|
/**
|
|
20771
20816
|
* PPTX document-theme font + colour resolution helpers.
|
|
@@ -21304,6 +21349,72 @@ function findTextPositionInSegment(editor, segIdx, charOffset) {
|
|
|
21304
21349
|
return null;
|
|
21305
21350
|
}
|
|
21306
21351
|
|
|
21352
|
+
/** Sentence-ending punctuation that starts a new sentence for `'sentence'` mode. */
|
|
21353
|
+
const SENTENCE_END_RE = /([.!?]\s+)/u;
|
|
21354
|
+
/** Transform a plain-text string per the given Change Case mode. */
|
|
21355
|
+
function transformTextCase(text, mode) {
|
|
21356
|
+
switch (mode) {
|
|
21357
|
+
case 'upper':
|
|
21358
|
+
return text.toUpperCase();
|
|
21359
|
+
case 'lower':
|
|
21360
|
+
return text.toLowerCase();
|
|
21361
|
+
case 'toggle':
|
|
21362
|
+
return Array.from(text)
|
|
21363
|
+
.map((ch) => (ch === ch.toUpperCase() ? ch.toLowerCase() : ch.toUpperCase()))
|
|
21364
|
+
.join('');
|
|
21365
|
+
case 'capitalize':
|
|
21366
|
+
return text.replace(/\p{L}[\p{L}\p{N}'’]*/gu, (word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase());
|
|
21367
|
+
case 'sentence':
|
|
21368
|
+
return text
|
|
21369
|
+
.toLowerCase()
|
|
21370
|
+
.split(SENTENCE_END_RE)
|
|
21371
|
+
.map((part) => {
|
|
21372
|
+
const firstLetter = part.search(/\p{L}/u);
|
|
21373
|
+
if (firstLetter === -1) {
|
|
21374
|
+
return part;
|
|
21375
|
+
}
|
|
21376
|
+
return (part.slice(0, firstLetter) +
|
|
21377
|
+
part.charAt(firstLetter).toUpperCase() +
|
|
21378
|
+
part.slice(firstLetter + 1));
|
|
21379
|
+
})
|
|
21380
|
+
.join('');
|
|
21381
|
+
default:
|
|
21382
|
+
return text;
|
|
21383
|
+
}
|
|
21384
|
+
}
|
|
21385
|
+
/**
|
|
21386
|
+
* Apply a Change Case transform to a set of text segments, either within an
|
|
21387
|
+
* inline-editor selection range (mirrors {@link applyStyleToSelectedSegments})
|
|
21388
|
+
* or, when `selection` is `null`, across every segment's text.
|
|
21389
|
+
*/
|
|
21390
|
+
function applyCaseTransformToSegments(segments, selection, mode) {
|
|
21391
|
+
if (!selection) {
|
|
21392
|
+
return segments.map((seg) => seg.isParagraphBreak || seg.text === '\n'
|
|
21393
|
+
? seg
|
|
21394
|
+
: { ...seg, text: transformTextCase(seg.text, mode) });
|
|
21395
|
+
}
|
|
21396
|
+
const { startSegIdx, startOffset, endSegIdx, endOffset } = selection;
|
|
21397
|
+
const result = [];
|
|
21398
|
+
for (let i = 0; i < segments.length; i++) {
|
|
21399
|
+
const seg = segments[i];
|
|
21400
|
+
if (seg.isParagraphBreak || seg.text === '\n' || i < startSegIdx || i > endSegIdx) {
|
|
21401
|
+
result.push(seg);
|
|
21402
|
+
continue;
|
|
21403
|
+
}
|
|
21404
|
+
const from = i === startSegIdx ? startOffset : 0;
|
|
21405
|
+
const to = i === endSegIdx ? endOffset : seg.text.length;
|
|
21406
|
+
if (from >= to) {
|
|
21407
|
+
result.push(seg);
|
|
21408
|
+
continue;
|
|
21409
|
+
}
|
|
21410
|
+
const before = seg.text.slice(0, from);
|
|
21411
|
+
const selected = transformTextCase(seg.text.slice(from, to), mode);
|
|
21412
|
+
const after = seg.text.slice(to);
|
|
21413
|
+
result.push({ ...seg, text: before + selected + after });
|
|
21414
|
+
}
|
|
21415
|
+
return result;
|
|
21416
|
+
}
|
|
21417
|
+
|
|
21307
21418
|
/**
|
|
21308
21419
|
* Linked text box overflow utilities.
|
|
21309
21420
|
*
|
|
@@ -31815,6 +31926,155 @@ function sanitizeStops(raw) {
|
|
|
31815
31926
|
return sortStops(mapped);
|
|
31816
31927
|
}
|
|
31817
31928
|
|
|
31929
|
+
/**
|
|
31930
|
+
* Pure (framework-agnostic) helpers for the image adjustments + crop inspector
|
|
31931
|
+
* panel. Readers extract current values from a PptxElement (falling back to
|
|
31932
|
+
* sensible defaults); patch-builders produce shallow-merge-ready
|
|
31933
|
+
* `Partial<PptxElement>` objects safe to pass to each binding's element-update
|
|
31934
|
+
* action. Mirrors the pattern used by `gradient-picker.ts` / `text-advanced.ts`.
|
|
31935
|
+
*
|
|
31936
|
+
* Scope: brightness/contrast/saturation (`PptxImageEffects`) and the four crop
|
|
31937
|
+
* insets (`PptxImageProperties.cropLeft/Top/Right/Bottom`). Other image effects
|
|
31938
|
+
* (duotone, artistic filters, alpha primitives) are out of scope for the
|
|
31939
|
+
* inspector's "highest-traffic" surface; see `image-effects.ts` for the full
|
|
31940
|
+
* read-side effect model.
|
|
31941
|
+
*/
|
|
31942
|
+
/** Read the current brightness/contrast/saturation off an element (0 when unset). */
|
|
31943
|
+
function imageAdjustmentsStateOf(el) {
|
|
31944
|
+
const fx = isImageLikeElement(el) ? el.imageEffects : undefined;
|
|
31945
|
+
return {
|
|
31946
|
+
brightness: fx?.brightness ?? 0,
|
|
31947
|
+
contrast: fx?.contrast ?? 0,
|
|
31948
|
+
saturation: fx?.saturation ?? 0,
|
|
31949
|
+
};
|
|
31950
|
+
}
|
|
31951
|
+
/**
|
|
31952
|
+
* Build a Partial<PptxElement> that merges the given adjustment changes into
|
|
31953
|
+
* the element's existing `imageEffects` without dropping other effect fields.
|
|
31954
|
+
* No-op (returns `{}`) for non-image elements.
|
|
31955
|
+
*/
|
|
31956
|
+
function imageAdjustmentsPatch(el, changes) {
|
|
31957
|
+
if (!isImageLikeElement(el)) {
|
|
31958
|
+
return {};
|
|
31959
|
+
}
|
|
31960
|
+
return {
|
|
31961
|
+
imageEffects: {
|
|
31962
|
+
...el.imageEffects,
|
|
31963
|
+
...changes,
|
|
31964
|
+
},
|
|
31965
|
+
};
|
|
31966
|
+
}
|
|
31967
|
+
/** Read the current crop insets off an element (0 on every edge when unset). */
|
|
31968
|
+
function imageCropStateOf(el) {
|
|
31969
|
+
if (!isImageLikeElement(el)) {
|
|
31970
|
+
return { cropLeft: 0, cropTop: 0, cropRight: 0, cropBottom: 0 };
|
|
31971
|
+
}
|
|
31972
|
+
return {
|
|
31973
|
+
cropLeft: el.cropLeft ?? 0,
|
|
31974
|
+
cropTop: el.cropTop ?? 0,
|
|
31975
|
+
cropRight: el.cropRight ?? 0,
|
|
31976
|
+
cropBottom: el.cropBottom ?? 0,
|
|
31977
|
+
};
|
|
31978
|
+
}
|
|
31979
|
+
/** Clamp a crop fraction to the sane `[0, 0.9]` range (never crop past 90% of an edge). */
|
|
31980
|
+
function clampCropFraction(value) {
|
|
31981
|
+
if (!Number.isFinite(value)) {
|
|
31982
|
+
return 0;
|
|
31983
|
+
}
|
|
31984
|
+
return Math.min(0.9, Math.max(0, value));
|
|
31985
|
+
}
|
|
31986
|
+
/**
|
|
31987
|
+
* Build a Partial<PptxElement> that merges the given crop-inset changes onto
|
|
31988
|
+
* the element. No-op (returns `{}`) for non-image elements.
|
|
31989
|
+
*/
|
|
31990
|
+
function imageCropPatch(el, changes) {
|
|
31991
|
+
if (!isImageLikeElement(el)) {
|
|
31992
|
+
return {};
|
|
31993
|
+
}
|
|
31994
|
+
const patch = {};
|
|
31995
|
+
for (const [key, value] of Object.entries(changes)) {
|
|
31996
|
+
if (value !== undefined) {
|
|
31997
|
+
patch[key] = clampCropFraction(value);
|
|
31998
|
+
}
|
|
31999
|
+
}
|
|
32000
|
+
return patch;
|
|
32001
|
+
}
|
|
32002
|
+
|
|
32003
|
+
/**
|
|
32004
|
+
* Pure (framework-agnostic) helpers for the table-level inspector panel
|
|
32005
|
+
* (header row / banded rows toggles + a uniform default cell padding). Mirrors
|
|
32006
|
+
* the reader + patch-builder pattern used by `gradient-picker.ts` /
|
|
32007
|
+
* `text-advanced.ts` / `image-adjustments.ts`.
|
|
32008
|
+
*
|
|
32009
|
+
* Scope note: this binding has no per-cell selection model, so cell-level
|
|
32010
|
+
* formatting (background/border for one specific cell) is out of scope here;
|
|
32011
|
+
* `applyUniformCellPaddingPatch` instead writes the same margin onto every
|
|
32012
|
+
* cell uniformly, which is the closest table-level equivalent.
|
|
32013
|
+
*/
|
|
32014
|
+
/** Read table-level flags off a table element (all false/0 for non-table elements). */
|
|
32015
|
+
function tableInspectorStateOf(el) {
|
|
32016
|
+
if (el.type !== 'table' || !el.tableData) {
|
|
32017
|
+
return { firstRowHeader: false, bandedRows: false, bandedColumns: false, cellPadding: 0 };
|
|
32018
|
+
}
|
|
32019
|
+
const data = el.tableData;
|
|
32020
|
+
return {
|
|
32021
|
+
firstRowHeader: data.firstRowHeader ?? false,
|
|
32022
|
+
bandedRows: data.bandedRows ?? false,
|
|
32023
|
+
bandedColumns: data.bandedColumns ?? false,
|
|
32024
|
+
cellPadding: firstCellPadding(data),
|
|
32025
|
+
};
|
|
32026
|
+
}
|
|
32027
|
+
function firstCellPadding(data) {
|
|
32028
|
+
const firstCell = data.rows[0]?.cells[0];
|
|
32029
|
+
return firstCell?.style?.marginLeft ?? 0;
|
|
32030
|
+
}
|
|
32031
|
+
/**
|
|
32032
|
+
* Build a Partial<PptxElement> that merges the given flag changes into the
|
|
32033
|
+
* element's existing `tableData`. No-op (returns `{}`) for non-table elements
|
|
32034
|
+
* or a table with no parsed data.
|
|
32035
|
+
*/
|
|
32036
|
+
function tableInspectorPatch(el, changes) {
|
|
32037
|
+
if (el.type !== 'table' || !el.tableData) {
|
|
32038
|
+
return {};
|
|
32039
|
+
}
|
|
32040
|
+
return {
|
|
32041
|
+
tableData: {
|
|
32042
|
+
...el.tableData,
|
|
32043
|
+
...changes,
|
|
32044
|
+
},
|
|
32045
|
+
};
|
|
32046
|
+
}
|
|
32047
|
+
/**
|
|
32048
|
+
* Build a Partial<PptxElement> that sets the same left/right/top/bottom margin
|
|
32049
|
+
* (in px) on every cell of every row, so the table gets uniform default
|
|
32050
|
+
* padding. No-op (returns `{}`) for non-table elements or a table with no rows.
|
|
32051
|
+
*/
|
|
32052
|
+
function applyUniformCellPaddingPatch(el, padding) {
|
|
32053
|
+
if (el.type !== 'table' || !el.tableData) {
|
|
32054
|
+
return {};
|
|
32055
|
+
}
|
|
32056
|
+
const clamped = Math.max(0, Math.round(padding));
|
|
32057
|
+
const rows = el.tableData.rows.map((row) => ({
|
|
32058
|
+
...row,
|
|
32059
|
+
cells: row.cells.map((cell) => ({
|
|
32060
|
+
...cell,
|
|
32061
|
+
style: {
|
|
32062
|
+
...cell.style,
|
|
32063
|
+
marginLeft: clamped,
|
|
32064
|
+
marginRight: clamped,
|
|
32065
|
+
marginTop: clamped,
|
|
32066
|
+
marginBottom: clamped,
|
|
32067
|
+
},
|
|
32068
|
+
})),
|
|
32069
|
+
}));
|
|
32070
|
+
return {
|
|
32071
|
+
tableData: {
|
|
32072
|
+
...el.tableData,
|
|
32073
|
+
rows,
|
|
32074
|
+
},
|
|
32075
|
+
};
|
|
32076
|
+
}
|
|
32077
|
+
|
|
31818
32078
|
/**
|
|
31819
32079
|
* Pure, framework-agnostic comment-array transforms, shared by every binding.
|
|
31820
32080
|
*
|
|
@@ -32609,6 +32869,419 @@ const MATERIAL_PRESETS = [
|
|
|
32609
32869
|
{ value: 'translucentPowder', label: 'Translucent Powder' },
|
|
32610
32870
|
];
|
|
32611
32871
|
|
|
32872
|
+
/** MIME type bindings should use when writing the payload as a custom clipboard format. */
|
|
32873
|
+
const ELEMENT_CLIPBOARD_MIME_TYPE = 'application/x-pptx-viewer-elements+json';
|
|
32874
|
+
/** Marker identifying a serialized element-clipboard payload. */
|
|
32875
|
+
const ELEMENT_CLIPBOARD_MARKER = 'pptx-viewer/elements';
|
|
32876
|
+
/** Current codec version; {@link deserializeElementClipboard} rejects others. */
|
|
32877
|
+
const ELEMENT_CLIPBOARD_VERSION = 1;
|
|
32878
|
+
/** Standard paste/duplicate cascade offset in px (applied to both axes). */
|
|
32879
|
+
const PASTE_OFFSET_PX = 20;
|
|
32880
|
+
/** Generate a unique element id (`el-<timestamp>-<random>`). */
|
|
32881
|
+
function generateElementId() {
|
|
32882
|
+
return `el-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
|
|
32883
|
+
}
|
|
32884
|
+
/**
|
|
32885
|
+
* Build the id for a pasted / duplicated clone so that it routes to the same
|
|
32886
|
+
* store it is inserted into.
|
|
32887
|
+
*
|
|
32888
|
+
* In edit-template mode the clone lands in the template store, so it must keep
|
|
32889
|
+
* a template (`master-` / `layout-`) prefix; otherwise later edits (which route
|
|
32890
|
+
* by id prefix) would target the wrong store and be lost. Outside template mode
|
|
32891
|
+
* a normal id is generated.
|
|
32892
|
+
*/
|
|
32893
|
+
function makeCloneId(intoTemplate, sourceId) {
|
|
32894
|
+
if (!intoTemplate) {
|
|
32895
|
+
return generateElementId();
|
|
32896
|
+
}
|
|
32897
|
+
if (sourceId.startsWith('master-')) {
|
|
32898
|
+
return `master-${generateElementId()}`;
|
|
32899
|
+
}
|
|
32900
|
+
return `layout-${generateElementId()}`;
|
|
32901
|
+
}
|
|
32902
|
+
/**
|
|
32903
|
+
* Snapshot a copied/cut element into the in-memory clipboard payload.
|
|
32904
|
+
* Deep-clones so later canvas edits never mutate the clipboard content.
|
|
32905
|
+
*/
|
|
32906
|
+
function buildElementClipboardPayload(element, isTemplate) {
|
|
32907
|
+
return { element: structuredClone(element), isTemplate };
|
|
32908
|
+
}
|
|
32909
|
+
/**
|
|
32910
|
+
* Produce the clone inserted by paste/duplicate: a deep copy with a fresh
|
|
32911
|
+
* (template-prefix aware) id and the standard cascade offset applied.
|
|
32912
|
+
*/
|
|
32913
|
+
function cloneElementForPaste(element, options = {}) {
|
|
32914
|
+
const clone = structuredClone(element);
|
|
32915
|
+
clone.id = makeCloneId(options.intoTemplate ?? false, element.id);
|
|
32916
|
+
clone.x += options.offsetX ?? PASTE_OFFSET_PX;
|
|
32917
|
+
clone.y += options.offsetY ?? PASTE_OFFSET_PX;
|
|
32918
|
+
return clone;
|
|
32919
|
+
}
|
|
32920
|
+
/** Clone every element in decoded clipboard data for insertion (fresh ids + offset). */
|
|
32921
|
+
function prepareElementsForPaste(data, options = {}) {
|
|
32922
|
+
return data.elements.map((element) => cloneElementForPaste(element, options));
|
|
32923
|
+
}
|
|
32924
|
+
/** Tag used to mark base64-encoded binary fields inside the JSON payload. */
|
|
32925
|
+
const BINARY_TAG = '__pptxU8';
|
|
32926
|
+
function uint8ToBase64(bytes) {
|
|
32927
|
+
let binary = '';
|
|
32928
|
+
for (let i = 0; i < bytes.length; i++) {
|
|
32929
|
+
binary += String.fromCharCode(bytes[i]);
|
|
32930
|
+
}
|
|
32931
|
+
return btoa(binary);
|
|
32932
|
+
}
|
|
32933
|
+
function base64ToUint8(base64) {
|
|
32934
|
+
const binary = atob(base64);
|
|
32935
|
+
const bytes = new Uint8Array(binary.length);
|
|
32936
|
+
for (let i = 0; i < binary.length; i++) {
|
|
32937
|
+
bytes[i] = binary.charCodeAt(i);
|
|
32938
|
+
}
|
|
32939
|
+
return bytes;
|
|
32940
|
+
}
|
|
32941
|
+
/**
|
|
32942
|
+
* Serialize elements to the marked, versioned JSON clipboard string.
|
|
32943
|
+
* `Uint8Array` fields anywhere in the element tree (embedded workbooks, raw
|
|
32944
|
+
* part bytes) are base64-tagged so they survive the text round trip.
|
|
32945
|
+
*/
|
|
32946
|
+
function serializeElementClipboard(elements, isTemplate = false) {
|
|
32947
|
+
return JSON.stringify({
|
|
32948
|
+
marker: ELEMENT_CLIPBOARD_MARKER,
|
|
32949
|
+
version: ELEMENT_CLIPBOARD_VERSION,
|
|
32950
|
+
isTemplate,
|
|
32951
|
+
elements,
|
|
32952
|
+
}, (_key, value) => {
|
|
32953
|
+
if (value instanceof Uint8Array) {
|
|
32954
|
+
return { [BINARY_TAG]: uint8ToBase64(value) };
|
|
32955
|
+
}
|
|
32956
|
+
return value;
|
|
32957
|
+
});
|
|
32958
|
+
}
|
|
32959
|
+
function isElementLike(value) {
|
|
32960
|
+
if (typeof value !== 'object' || value === null) {
|
|
32961
|
+
return false;
|
|
32962
|
+
}
|
|
32963
|
+
const candidate = value;
|
|
32964
|
+
return (typeof candidate.id === 'string' &&
|
|
32965
|
+
typeof candidate.type === 'string' &&
|
|
32966
|
+
typeof candidate.x === 'number' &&
|
|
32967
|
+
typeof candidate.y === 'number' &&
|
|
32968
|
+
typeof candidate.width === 'number' &&
|
|
32969
|
+
typeof candidate.height === 'number');
|
|
32970
|
+
}
|
|
32971
|
+
/**
|
|
32972
|
+
* Decode a clipboard string produced by {@link serializeElementClipboard}.
|
|
32973
|
+
* Returns `null` for anything else (foreign clipboard text, malformed JSON,
|
|
32974
|
+
* wrong marker/version, or structurally invalid elements), so callers can fall
|
|
32975
|
+
* back to their plain-text paste path.
|
|
32976
|
+
*/
|
|
32977
|
+
function deserializeElementClipboard(text) {
|
|
32978
|
+
let parsed;
|
|
32979
|
+
try {
|
|
32980
|
+
parsed = JSON.parse(text, (_key, value) => {
|
|
32981
|
+
if (typeof value === 'object' && value !== null) {
|
|
32982
|
+
const tagged = value[BINARY_TAG];
|
|
32983
|
+
if (typeof tagged === 'string') {
|
|
32984
|
+
return base64ToUint8(tagged);
|
|
32985
|
+
}
|
|
32986
|
+
}
|
|
32987
|
+
return value;
|
|
32988
|
+
});
|
|
32989
|
+
}
|
|
32990
|
+
catch {
|
|
32991
|
+
return null;
|
|
32992
|
+
}
|
|
32993
|
+
if (typeof parsed !== 'object' || parsed === null) {
|
|
32994
|
+
return null;
|
|
32995
|
+
}
|
|
32996
|
+
const candidate = parsed;
|
|
32997
|
+
if (candidate.marker !== ELEMENT_CLIPBOARD_MARKER ||
|
|
32998
|
+
candidate.version !== ELEMENT_CLIPBOARD_VERSION ||
|
|
32999
|
+
!Array.isArray(candidate.elements) ||
|
|
33000
|
+
candidate.elements.length === 0 ||
|
|
33001
|
+
!candidate.elements.every(isElementLike)) {
|
|
33002
|
+
return null;
|
|
33003
|
+
}
|
|
33004
|
+
return {
|
|
33005
|
+
elements: candidate.elements,
|
|
33006
|
+
isTemplate: candidate.isTemplate === true,
|
|
33007
|
+
};
|
|
33008
|
+
}
|
|
33009
|
+
|
|
33010
|
+
/**
|
|
33011
|
+
* shape-preset-catalog.ts: the Insert > Shape picker catalogue shared by every
|
|
33012
|
+
* binding's toolbar/inspector.
|
|
33013
|
+
*
|
|
33014
|
+
* Pure data: each entry carries the preset geometry `type` (OOXML `a:prstGeom`
|
|
33015
|
+
* value the editor can insert), an English fallback `label`, the shared-i18n
|
|
33016
|
+
* `i18nKey`, and a framework-neutral icon descriptor ({@link ShapePresetGlyph}
|
|
33017
|
+
* name + optional utility-class modifier for rotation/skew). Each binding maps
|
|
33018
|
+
* the glyph name onto its own icon component/SVG.
|
|
33019
|
+
*
|
|
33020
|
+
* Order matters: bindings surface the first 12 entries as the quick "top
|
|
33021
|
+
* shapes" row, so new presets should be appended, not inserted.
|
|
33022
|
+
*
|
|
33023
|
+
* @module render/shape-preset-catalog
|
|
33024
|
+
*/
|
|
33025
|
+
/** The Insert > Shape picker catalogue (see module docs for ordering rules). */
|
|
33026
|
+
const SHAPE_PRESET_DEFS = [
|
|
33027
|
+
{
|
|
33028
|
+
type: 'rect',
|
|
33029
|
+
label: 'Rectangle',
|
|
33030
|
+
i18nKey: 'pptx.editorToolbar.shapeRectangle',
|
|
33031
|
+
glyph: 'square',
|
|
33032
|
+
glyphClass: '',
|
|
33033
|
+
},
|
|
33034
|
+
{
|
|
33035
|
+
type: 'roundRect',
|
|
33036
|
+
label: 'Rounded',
|
|
33037
|
+
i18nKey: 'pptx.shapePresets.rounded',
|
|
33038
|
+
glyph: 'square',
|
|
33039
|
+
glyphClass: '',
|
|
33040
|
+
},
|
|
33041
|
+
{
|
|
33042
|
+
type: 'ellipse',
|
|
33043
|
+
label: 'Circle',
|
|
33044
|
+
i18nKey: 'pptx.shapePresets.circle',
|
|
33045
|
+
glyph: 'circle',
|
|
33046
|
+
glyphClass: '',
|
|
33047
|
+
},
|
|
33048
|
+
{
|
|
33049
|
+
type: 'cylinder',
|
|
33050
|
+
label: 'Cylinder',
|
|
33051
|
+
i18nKey: 'pptx.shapePresets.cylinder',
|
|
33052
|
+
glyph: 'database',
|
|
33053
|
+
glyphClass: '',
|
|
33054
|
+
},
|
|
33055
|
+
{
|
|
33056
|
+
type: 'rtArrow',
|
|
33057
|
+
label: 'Right Arrow',
|
|
33058
|
+
i18nKey: 'pptx.shapePresets.rightArrow',
|
|
33059
|
+
glyph: 'moveRight',
|
|
33060
|
+
glyphClass: '',
|
|
33061
|
+
},
|
|
33062
|
+
{
|
|
33063
|
+
type: 'leftArrow',
|
|
33064
|
+
label: 'Left Arrow',
|
|
33065
|
+
i18nKey: 'pptx.shapePresets.leftArrow',
|
|
33066
|
+
glyph: 'moveRight',
|
|
33067
|
+
glyphClass: 'rotate-180',
|
|
33068
|
+
},
|
|
33069
|
+
{
|
|
33070
|
+
type: 'upArrow',
|
|
33071
|
+
label: 'Up Arrow',
|
|
33072
|
+
i18nKey: 'pptx.shapePresets.upArrow',
|
|
33073
|
+
glyph: 'moveRight',
|
|
33074
|
+
glyphClass: '-rotate-90',
|
|
33075
|
+
},
|
|
33076
|
+
{
|
|
33077
|
+
type: 'downArrow',
|
|
33078
|
+
label: 'Down Arrow',
|
|
33079
|
+
i18nKey: 'pptx.shapePresets.downArrow',
|
|
33080
|
+
glyph: 'moveRight',
|
|
33081
|
+
glyphClass: 'rotate-90',
|
|
33082
|
+
},
|
|
33083
|
+
{
|
|
33084
|
+
type: 'triangle',
|
|
33085
|
+
label: 'Triangle',
|
|
33086
|
+
i18nKey: 'pptx.editorToolbar.shapeTriangle',
|
|
33087
|
+
glyph: 'triangle',
|
|
33088
|
+
glyphClass: '',
|
|
33089
|
+
},
|
|
33090
|
+
{
|
|
33091
|
+
type: 'rtTriangle',
|
|
33092
|
+
label: 'Right Triangle',
|
|
33093
|
+
i18nKey: 'pptx.shapePresets.rightTriangle',
|
|
33094
|
+
glyph: 'triangle',
|
|
33095
|
+
glyphClass: 'rotate-90',
|
|
33096
|
+
},
|
|
33097
|
+
{
|
|
33098
|
+
type: 'diamond',
|
|
33099
|
+
label: 'Diamond',
|
|
33100
|
+
i18nKey: 'pptx.shapePresets.diamond',
|
|
33101
|
+
glyph: 'diamond',
|
|
33102
|
+
glyphClass: '',
|
|
33103
|
+
},
|
|
33104
|
+
{
|
|
33105
|
+
type: 'parallelogram',
|
|
33106
|
+
label: 'Parallelogram',
|
|
33107
|
+
i18nKey: 'pptx.shapePresets.parallelogram',
|
|
33108
|
+
glyph: 'square',
|
|
33109
|
+
glyphClass: '-skew-x-12',
|
|
33110
|
+
},
|
|
33111
|
+
{
|
|
33112
|
+
type: 'trapezoid',
|
|
33113
|
+
label: 'Trapezoid',
|
|
33114
|
+
i18nKey: 'pptx.shapePresets.trapezoid',
|
|
33115
|
+
glyph: 'square',
|
|
33116
|
+
glyphClass: '',
|
|
33117
|
+
},
|
|
33118
|
+
{
|
|
33119
|
+
type: 'pentagon',
|
|
33120
|
+
label: 'Pentagon',
|
|
33121
|
+
i18nKey: 'pptx.shapePresets.pentagon',
|
|
33122
|
+
glyph: 'diamond',
|
|
33123
|
+
glyphClass: '',
|
|
33124
|
+
},
|
|
33125
|
+
{
|
|
33126
|
+
type: 'hexagon',
|
|
33127
|
+
label: 'Hexagon',
|
|
33128
|
+
i18nKey: 'pptx.shapePresets.hexagon',
|
|
33129
|
+
glyph: 'diamond',
|
|
33130
|
+
glyphClass: '',
|
|
33131
|
+
},
|
|
33132
|
+
{
|
|
33133
|
+
type: 'octagon',
|
|
33134
|
+
label: 'Octagon',
|
|
33135
|
+
i18nKey: 'pptx.shapePresets.octagon',
|
|
33136
|
+
glyph: 'circle',
|
|
33137
|
+
glyphClass: '',
|
|
33138
|
+
},
|
|
33139
|
+
{
|
|
33140
|
+
type: 'chevron',
|
|
33141
|
+
label: 'Chevron',
|
|
33142
|
+
i18nKey: 'pptx.shapePresets.chevron',
|
|
33143
|
+
glyph: 'moveRight',
|
|
33144
|
+
glyphClass: '',
|
|
33145
|
+
},
|
|
33146
|
+
{
|
|
33147
|
+
type: 'star5',
|
|
33148
|
+
label: 'Star',
|
|
33149
|
+
i18nKey: 'pptx.shapePresets.star',
|
|
33150
|
+
glyph: 'diamond',
|
|
33151
|
+
glyphClass: 'rotate-45',
|
|
33152
|
+
},
|
|
33153
|
+
{
|
|
33154
|
+
type: 'star6',
|
|
33155
|
+
label: 'Star 6',
|
|
33156
|
+
i18nKey: 'pptx.shapePresets.star6',
|
|
33157
|
+
glyph: 'diamond',
|
|
33158
|
+
glyphClass: '',
|
|
33159
|
+
},
|
|
33160
|
+
{
|
|
33161
|
+
type: 'star8',
|
|
33162
|
+
label: 'Star 8',
|
|
33163
|
+
i18nKey: 'pptx.shapePresets.star8',
|
|
33164
|
+
glyph: 'diamond',
|
|
33165
|
+
glyphClass: 'rotate-45',
|
|
33166
|
+
},
|
|
33167
|
+
{
|
|
33168
|
+
type: 'plus',
|
|
33169
|
+
label: 'Plus',
|
|
33170
|
+
i18nKey: 'pptx.shapePresets.plus',
|
|
33171
|
+
glyph: 'plus',
|
|
33172
|
+
glyphClass: '',
|
|
33173
|
+
},
|
|
33174
|
+
{
|
|
33175
|
+
type: 'heart',
|
|
33176
|
+
label: 'Heart',
|
|
33177
|
+
i18nKey: 'pptx.shapePresets.heart',
|
|
33178
|
+
glyph: 'circle',
|
|
33179
|
+
glyphClass: '',
|
|
33180
|
+
},
|
|
33181
|
+
{
|
|
33182
|
+
type: 'cloud',
|
|
33183
|
+
label: 'Cloud',
|
|
33184
|
+
i18nKey: 'pptx.shapePresets.cloud',
|
|
33185
|
+
glyph: 'circle',
|
|
33186
|
+
glyphClass: '',
|
|
33187
|
+
},
|
|
33188
|
+
{
|
|
33189
|
+
type: 'sun',
|
|
33190
|
+
label: 'Sun',
|
|
33191
|
+
i18nKey: 'pptx.shapePresets.sun',
|
|
33192
|
+
glyph: 'circle',
|
|
33193
|
+
glyphClass: '',
|
|
33194
|
+
},
|
|
33195
|
+
{
|
|
33196
|
+
type: 'moon',
|
|
33197
|
+
label: 'Moon',
|
|
33198
|
+
i18nKey: 'pptx.shapePresets.moon',
|
|
33199
|
+
glyph: 'circle',
|
|
33200
|
+
glyphClass: '',
|
|
33201
|
+
},
|
|
33202
|
+
{
|
|
33203
|
+
type: 'pie',
|
|
33204
|
+
label: 'Pie',
|
|
33205
|
+
i18nKey: 'pptx.shapePresets.pie',
|
|
33206
|
+
glyph: 'circle',
|
|
33207
|
+
glyphClass: '',
|
|
33208
|
+
},
|
|
33209
|
+
{
|
|
33210
|
+
type: 'plaque',
|
|
33211
|
+
label: 'Plaque',
|
|
33212
|
+
i18nKey: 'pptx.shapePresets.plaque',
|
|
33213
|
+
glyph: 'square',
|
|
33214
|
+
glyphClass: '',
|
|
33215
|
+
},
|
|
33216
|
+
{
|
|
33217
|
+
type: 'teardrop',
|
|
33218
|
+
label: 'Teardrop',
|
|
33219
|
+
i18nKey: 'pptx.shapePresets.teardrop',
|
|
33220
|
+
glyph: 'circle',
|
|
33221
|
+
glyphClass: '',
|
|
33222
|
+
},
|
|
33223
|
+
{
|
|
33224
|
+
type: 'line',
|
|
33225
|
+
label: 'Line',
|
|
33226
|
+
i18nKey: 'pptx.shapePresets.line',
|
|
33227
|
+
glyph: 'minus',
|
|
33228
|
+
glyphClass: '',
|
|
33229
|
+
},
|
|
33230
|
+
{
|
|
33231
|
+
type: 'connector',
|
|
33232
|
+
label: 'Connector',
|
|
33233
|
+
i18nKey: 'pptx.elementType.connector',
|
|
33234
|
+
glyph: 'moveRight',
|
|
33235
|
+
glyphClass: '',
|
|
33236
|
+
},
|
|
33237
|
+
];
|
|
33238
|
+
|
|
33239
|
+
/** Font families offered by the Home-tab font dropdown. */
|
|
33240
|
+
const COMMON_FONT_FAMILIES = [
|
|
33241
|
+
'Arial',
|
|
33242
|
+
'Calibri',
|
|
33243
|
+
'Cambria',
|
|
33244
|
+
'Comic Sans MS',
|
|
33245
|
+
'Courier New',
|
|
33246
|
+
'Georgia',
|
|
33247
|
+
'Helvetica',
|
|
33248
|
+
'Impact',
|
|
33249
|
+
'Segoe UI',
|
|
33250
|
+
'Tahoma',
|
|
33251
|
+
'Times New Roman',
|
|
33252
|
+
'Trebuchet MS',
|
|
33253
|
+
'Verdana',
|
|
33254
|
+
];
|
|
33255
|
+
/** Font sizes (pt) offered by the Home-tab size dropdown. */
|
|
33256
|
+
const COMMON_FONT_SIZES = [
|
|
33257
|
+
8, 9, 10, 11, 12, 14, 16, 18, 20, 24, 28, 32, 36, 40, 44, 48, 54, 60, 72, 96,
|
|
33258
|
+
];
|
|
33259
|
+
/** Character-spacing presets for the toolbar dropdown. */
|
|
33260
|
+
const CHARACTER_SPACING_OPTIONS = [
|
|
33261
|
+
{ label: 'Very Tight', i18nKey: 'pptx.text.characterSpacingVeryTight', value: -150 },
|
|
33262
|
+
{ label: 'Tight', i18nKey: 'pptx.text.characterSpacingTight', value: -75 },
|
|
33263
|
+
{ label: 'Normal', i18nKey: 'pptx.text.characterSpacingNormal', value: 0 },
|
|
33264
|
+
{ label: 'Loose', i18nKey: 'pptx.text.characterSpacingLoose', value: 75 },
|
|
33265
|
+
{ label: 'Very Loose', i18nKey: 'pptx.text.characterSpacingVeryLoose', value: 150 },
|
|
33266
|
+
];
|
|
33267
|
+
/** Line-spacing presets for the paragraph dropdown. */
|
|
33268
|
+
const LINE_SPACING_OPTIONS$1 = [
|
|
33269
|
+
{ label: '1.0', value: 1.0 },
|
|
33270
|
+
{ label: '1.15', value: 1.15 },
|
|
33271
|
+
{ label: '1.5', value: 1.5 },
|
|
33272
|
+
{ label: '2.0', value: 2.0 },
|
|
33273
|
+
{ label: '2.5', value: 2.5 },
|
|
33274
|
+
{ label: '3.0', value: 3.0 },
|
|
33275
|
+
];
|
|
33276
|
+
/** Change-case options in menu order (matches PowerPoint's ordering). */
|
|
33277
|
+
const CHANGE_CASE_OPTIONS$1 = [
|
|
33278
|
+
{ value: 'sentence', i18nKey: 'pptx.text.changeCaseSentence' },
|
|
33279
|
+
{ value: 'lower', i18nKey: 'pptx.text.changeCaseLower' },
|
|
33280
|
+
{ value: 'upper', i18nKey: 'pptx.text.changeCaseUpper' },
|
|
33281
|
+
{ value: 'capitalize', i18nKey: 'pptx.text.changeCaseCapitalize' },
|
|
33282
|
+
{ value: 'toggle', i18nKey: 'pptx.text.changeCaseToggle' },
|
|
33283
|
+
];
|
|
33284
|
+
|
|
32612
33285
|
/**
|
|
32613
33286
|
* PowerPoint-style title bar: shared pure logic + Tailwind class tokens.
|
|
32614
33287
|
*
|
|
@@ -39565,6 +40238,7 @@ const translationsEn = {
|
|
|
39565
40238
|
'pptx.table.bandRowCycle': 'Row band size',
|
|
39566
40239
|
'pptx.table.cell': 'Cell R{{row}} C{{col}}',
|
|
39567
40240
|
'pptx.table.cellBorders': 'Cell borders',
|
|
40241
|
+
'pptx.table.cellPadding': 'Cell padding',
|
|
39568
40242
|
'pptx.table.color': 'Text',
|
|
39569
40243
|
'pptx.table.columnWidths': 'Column widths',
|
|
39570
40244
|
'pptx.table.even': 'Even',
|
|
@@ -40106,6 +40780,9 @@ const translationsEn = {
|
|
|
40106
40780
|
'pptx.ribbon.strokeWidth': 'Stroke width',
|
|
40107
40781
|
'pptx.ribbon.browseThemes': 'Browse Themes',
|
|
40108
40782
|
'pptx.ribbon.browseThemesTitle': 'Browse and apply built-in themes',
|
|
40783
|
+
'pptx.ribbon.theme.default': 'Default',
|
|
40784
|
+
'pptx.ribbon.theme.light': 'Light (Vermilion)',
|
|
40785
|
+
'pptx.ribbon.theme.dark': 'Dark (Vermilion)',
|
|
40109
40786
|
'pptx.ribbon.editTheme': 'Edit Theme',
|
|
40110
40787
|
'pptx.ribbon.editThemeTitle': 'Edit theme - theme editor not yet ported',
|
|
40111
40788
|
'pptx.ribbon.slideSize': 'Slide Size',
|
|
@@ -40858,6 +41535,10 @@ const translationsEn = {
|
|
|
40858
41535
|
'pptx.text.characterSpacingTight': 'Tight',
|
|
40859
41536
|
'pptx.text.characterSpacingVeryLoose': 'Very Loose',
|
|
40860
41537
|
'pptx.text.characterSpacingVeryTight': 'Very Tight',
|
|
41538
|
+
'pptx.textAdvanced.autoFit': 'AutoFit',
|
|
41539
|
+
'pptx.textAdvanced.autoFitNone': 'Do not autofit',
|
|
41540
|
+
'pptx.textAdvanced.autoFitResize': 'Resize shape to fit text',
|
|
41541
|
+
'pptx.textAdvanced.autoFitShrink': 'Shrink text on overflow',
|
|
40861
41542
|
'pptx.textAdvanced.autoPlaceholder': 'auto',
|
|
40862
41543
|
'pptx.textAdvanced.indent': 'Indent',
|
|
40863
41544
|
'pptx.textAdvanced.indentMargin': 'Indent & Margin',
|
|
@@ -40871,6 +41552,7 @@ const translationsEn = {
|
|
|
40871
41552
|
'pptx.textAdvanced.spaceBefore': 'Space Before',
|
|
40872
41553
|
'pptx.textAdvanced.spacing': 'Spacing',
|
|
40873
41554
|
'pptx.textAdvanced.vAlign': 'V-Align',
|
|
41555
|
+
'pptx.textAdvanced.wrapText': 'Wrap text in shape',
|
|
40874
41556
|
'pptx.textFormatting.bulleted': 'Bulleted',
|
|
40875
41557
|
'pptx.textFormatting.numbered': 'Numbered',
|
|
40876
41558
|
'pptx.textFormatting.paragraphAfter': 'Paragraph After',
|
|
@@ -63555,6 +64237,31 @@ class SlideCanvasComponent {
|
|
|
63555
64237
|
event.preventDefault();
|
|
63556
64238
|
editor.blur();
|
|
63557
64239
|
}
|
|
64240
|
+
else if (event.key === 'Enter' && event.shiftKey) {
|
|
64241
|
+
this.trimTrailingSpaceBeforeCaret(editor);
|
|
64242
|
+
}
|
|
64243
|
+
}
|
|
64244
|
+
/**
|
|
64245
|
+
* When the caret sits at a soft word-wrap boundary (no explicit line break,
|
|
64246
|
+
* just CSS wrapping), the space separating the two words is still part of
|
|
64247
|
+
* the text and lands right before the caret. Inserting a line break there
|
|
64248
|
+
* leaves the new line preceded by a stray space: e.g. "fox jumps" wrapped as
|
|
64249
|
+
* "fox " / "jumps" becomes lines "fox " and "jumps" instead of "fox" and
|
|
64250
|
+
* "jumps". That extra, invisible trailing character then counts toward the
|
|
64251
|
+
* line's measured width, occasionally forcing an unwanted extra wrapped
|
|
64252
|
+
* line. Since a space immediately before a line break is never visually
|
|
64253
|
+
* meaningful, drop it before the browser inserts the native line break.
|
|
64254
|
+
*/
|
|
64255
|
+
trimTrailingSpaceBeforeCaret(editor) {
|
|
64256
|
+
const { selectionStart, selectionEnd, value } = editor;
|
|
64257
|
+
if (selectionStart === null || selectionStart !== selectionEnd || selectionStart === 0) {
|
|
64258
|
+
return;
|
|
64259
|
+
}
|
|
64260
|
+
if (value.charAt(selectionStart - 1) !== ' ') {
|
|
64261
|
+
return;
|
|
64262
|
+
}
|
|
64263
|
+
editor.value = value.slice(0, selectionStart - 1) + value.slice(selectionStart);
|
|
64264
|
+
editor.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
63558
64265
|
}
|
|
63559
64266
|
/** Toggle bold/italic/underline for the element under inline edit. */
|
|
63560
64267
|
emitTextFormat(key) {
|
|
@@ -70620,6 +71327,23 @@ function patchTextStyle(editor, slideIndex, el, patch) {
|
|
|
70620
71327
|
textStyle: { ...el.textStyle, ...patch },
|
|
70621
71328
|
});
|
|
70622
71329
|
}
|
|
71330
|
+
/**
|
|
71331
|
+
* Rewrite the selection's text characters (ribbon Aa "Change Case" dropdown).
|
|
71332
|
+
* Unlike {@link patchTextStyle}, this mutates content, not style.
|
|
71333
|
+
*/
|
|
71334
|
+
function transformSelectedTextCase(editor, slideIndex, el, mode) {
|
|
71335
|
+
if (!el || !hasTextProperties(el)) {
|
|
71336
|
+
return;
|
|
71337
|
+
}
|
|
71338
|
+
const updates = {};
|
|
71339
|
+
if (el.textSegments && el.textSegments.length > 0) {
|
|
71340
|
+
updates.textSegments = el.textSegments.map((s) => s.isParagraphBreak || s.text === '\n' ? s : { ...s, text: transformTextCase(s.text, mode) });
|
|
71341
|
+
}
|
|
71342
|
+
if (typeof el.text === 'string') {
|
|
71343
|
+
updates.text = transformTextCase(el.text, mode);
|
|
71344
|
+
}
|
|
71345
|
+
editor.updateElement(slideIndex, el.id, updates);
|
|
71346
|
+
}
|
|
70623
71347
|
|
|
70624
71348
|
/**
|
|
70625
71349
|
* ribbon-animations-section.component.ts: the Animations ribbon tab (preview, the
|
|
@@ -72440,17 +73164,7 @@ class RibbonFontControlsComponent {
|
|
|
72440
73164
|
}
|
|
72441
73165
|
setChangeCase(event) {
|
|
72442
73166
|
const value = event.target.value;
|
|
72443
|
-
|
|
72444
|
-
case 'upper':
|
|
72445
|
-
this.patch({ textCaps: 'all' });
|
|
72446
|
-
break;
|
|
72447
|
-
case 'lower':
|
|
72448
|
-
case 'sentence':
|
|
72449
|
-
case 'capitalize':
|
|
72450
|
-
case 'toggle':
|
|
72451
|
-
this.patch({ textCaps: 'none' });
|
|
72452
|
-
break;
|
|
72453
|
-
}
|
|
73167
|
+
transformSelectedTextCase(this.editor, this.slideIndex(), this.selectedElement(), value);
|
|
72454
73168
|
event.target.selectedIndex = 0;
|
|
72455
73169
|
}
|
|
72456
73170
|
toggleStyle(key) {
|
|
@@ -87179,5 +87893,5 @@ function cn(...values) {
|
|
|
87179
87893
|
* Generated bundle index. Do not edit.
|
|
87180
87894
|
*/
|
|
87181
87895
|
|
|
87182
|
-
export { ALIGN_OPTIONS, AUDIENCE_HASH, AUDIENCE_NONCE_KEY, AccessibilityPanelComponent, AccessibilityService, AdvancedChartEditorComponent, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, AutosaveService, BroadcastDialogComponent, CHART_EDITOR_STYLES, CURSOR_PALETTE, CanvasFitService, ChartAxisOptionsComponent, ChartAxisStyleOptionsComponent, ChartComboTypeOptionsComponent, ChartDataEditorComponent, ChartDataLabelOptionsComponent, ChartDatapointOptionsComponent, ChartDisplayOptionsComponent, ChartElementViewComponent, ChartErrorBarOptionsComponent, ChartMarkerOptionsComponent, ChartPartSelectionService, ChartPrimitivesComponent, ChartRendererComponent, ChartTrendlineOptionsComponent, CollaborationCursorsComponent, CollaborationService, ColorChangedImageComponent, CommentsPanelComponent, CommentsService, ComparePanelComponent, ConnectorRendererComponent, ConnectorTextOverlayComponent, CustomShowsComponent, DATA_TABLE_HEADER_H, DATA_TABLE_KEY_W, DATA_TABLE_PADDING, DATA_TABLE_ROW_H, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_SCHEME, DEFAULT_FILL_COLOR, DEFAULT_LAYOUT, DEFAULT_PALETTE$1 as DEFAULT_PALETTE, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_STYLE, DEFAULT_TABLE_ROW_HEIGHT, DEFAULT_TEXT_COLOR$1 as DEFAULT_TEXT_COLOR, DIRECTIONAL_PRESETS, DIRECTION_OPTIONS, EMBEDDED_FONTS_STYLE_ID, EMPHASIS_PRESETS, ENTRANCE_PRESETS, TEMPLATES as EQUATION_TEMPLATES, EXIT_PRESETS, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EncryptedFileDialogComponent, EquationEditorDialogComponent, EquationRendererComponent, EquationTemplateGalleryComponent, ExportProgressModalComponent, ExportService, FieldContextService, FindBarComponent, FindReplaceBarComponent, FollowModeBarComponent, FontEmbeddingListComponent, FontEmbeddingPanelComponent, GALLERY_THEME_PRESETS, GradientPickerComponent, HANDOUT_OPTIONS, HyperlinkDialogComponent, InkDrawingService, InkRendererComponent, InsertSmartArtDialogComponent, InspectorPanelComponent, IsMobileService, KeepAnnotationsDialogComponent, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, LoadContentService, LocalPresencePublisher, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MediaRendererComponent, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesPanelComponent, NotesToolbarComponent, OleRendererComponent, PRESENTER_CHANNEL_NAME, PRESENTER_MSG_ORIGIN, PasswordProtectionDialogComponent, PasswordStrengthMeterComponent, PowerPointViewerComponent, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationSubtitleBarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PresenterWindowService, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, REPEAT_MODE_OPTIONS, RESIZE_HANDLES, RULER_THICKNESS, RemoteSelectionOverlayComponent, RibbonAnimationsSectionComponent, RibbonArrangeSectionComponent, RibbonColorPopoverComponent, RibbonComponent, RibbonDesignSectionComponent, RibbonDrawSectionComponent, RibbonDrawingGroupComponent, RibbonEditingSectionComponent, RibbonFileSectionComponent, RibbonFontControlsComponent, RibbonHomeSectionComponent, RibbonInsertFieldsComponent, RibbonInsertSectionComponent, RibbonParagraphControlsComponent, RibbonPrimaryRowComponent, RibbonReviewSectionComponent, RibbonSlideshowSectionComponent, RibbonTransitionsSectionComponent, RibbonViewSectionComponent, RulerGuidesService, SEQUENCE_OPTIONS, SEVERITY_GROUPS, SEVERITY_LABELS, SHORTCUT_REFERENCE_ITEMS, SLIDE_PX_PER_INCH, SLIDE_TRANSITION_KEYFRAMES, DEFAULT_PALETTE as SMARTART_DEFAULT_PALETTE, PALETTES$1 as SMARTART_PALETTES, SMART_ART_COLOR_SCHEMES, SMART_ART_STYLE_OPTIONS, SUB_ITEM_LABEL, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, SelectionPaneComponent, SetUpSlideShowDialogComponent, ShareDialogComponent, ShortcutPanelComponent, ShowOptionsFieldsetComponent, ShowSlidesFieldsetComponent, SignatureStrippedDialogComponent, SignaturesPanelComponent, SignaturesService, SlideCanvasComponent, SlideDiffChangesComponent, SlideDiffRowComponent, SlideDiffThumbnailsComponent, SlideSorterOverlayComponent, SlidesPanelComponent, SmartArt3DRendererComponent, SmartArt3DService, SmartArtPreviewComponent, SmartArtPropertiesComponent, SmartArtRendererComponent, StatusBarComponent, TABLE_STRUCTURE_TOGGLES, TEXT_DIRECTION_OPTIONS$1 as TEXT_DIRECTION_OPTIONS, TIMING_CURVE_OPTIONS, TRIGGER_OPTIONS, TYPE_LABELS, TableCellAdvancedFillComponent, TableCellFormattingComponent, TableDataEditorComponent, TablePropertiesComponent, TableRendererComponent, TableResizeOverlayComponent, TableSelectionService, TextAdvancedPanelComponent, ThemeGalleryComponent, TitleBarComponent, VALIGN_OPTIONS, VIEWER_THEME, VersionHistoryPanelComponent, ViewerCanvasEditingService, ViewerCollabCursorService, ViewerCollaborationSessionService, ViewerCompareService, ViewerCustomShowsService, ViewerDialogsService, ViewerDocumentPropertiesService, ViewerExportService, ViewerExtraDialogsComponent, ViewerFileIOService, ViewerFindReplaceService, ViewerFormatPainterService, ViewerInspectorPanelService, ViewerKeyboardService, ViewerMobileSheetService, ViewerPresentationModeService, ViewerThemeGalleryService, ViewerTouchGesturesService, ViewerZoomService, WEBM_MIME_CANDIDATES, WriteBackScheduler, ZoomNavigationService, ZoomRendererComponent, ZoomTargetService, addCategory, addCommentToList, addGradientStopPatch, addItem, addSeries, addSubItem, advanceStep, alignPatch, animationFor, annotationMapToInkInserts, applyAcceptedDiff, applyAnimationPreset, applyFindReplacements, applyFormatToElement, applyMove, applyResize, applyTableStylePreset, asMediaElement, assignUserColor, attachTouchGestures, beginNodeEdit, boolFromEvent, bringForward, bringToFront, buildBarActions, buildBroadcastConfig, buildBroadcastViewerUrl, buildCategoryLabels, buildCellParagraphs, buildChartViewModel, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildColStyles, buildCollaborationConfig, buildComboViewModel, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildEquationElement, buildEquationSegment, buildFallbackViewModel, buildFontFaceRule, buildGradientFillCss, buildGridlinesAndLabels, buildHyperlinkPatch, buildInkContainerStyle, buildInkStrokes, buildLegend, buildModel3DContainerStyle, buildModel3DViewModel, buildOleActionModel, buildOleInfoRows, buildPatternFillCss, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildRegionMapViewModel, buildSaveSlides, buildShareUrl, buildSmartArtInsertElement, buildSmartArtNodes, buildStockViewModel, buildSurfaceViewModel, buildTableViewModel, buildTreemapViewModel, buildTrimFragment, buildWaterfallViewModel, buildZeroLine, buildZoomContainerStyle, buildZoomViewModel, bulletIndentPx, canAddTopLevelNode, canRemoveTopLevelNode, canStartBroadcast, canStartShare, canUseClipboard, captionDisplayText, cellRunStyle, cellStyleToStyleMap, cellTdStyle, changeCountLabel, changeIcon, characterSpacingPatch, checkFontAvailable, clampCursorPosition, clampGifDimensions, clampIndex, clampNotesFontSize, clampScale, clampStep, clearAudienceContent, cn, collectAccessibilityIssues, collectElementText, collectSlideText, collectUsedFontFamilies, columnWidthStyle, commitNodeText, computeAlign, computeAxisTitlePrimitives, computeBarRects, computeBubbleRadius, computeCornerHandle, computeDataTablePrimitives, computeDistribute, computeDrawingViewBox, computeErrorBarPrimitives, computeHandleBoxes, computeHandoutLayout, computeIsMobile, computeIsTablet, computeLinePoints, computeLinearRegression, computePageCount, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRSquared, computeRadarPoints, computeScatterDots, computeSelectionBoxes, computeSingleSelected, computeSlideIndices, computeSnap, computeStackedBarRects, computeStackedValueRange, computeTextLines, computeTimerProgress, computeTrendlinePrimitives, computeValueRange, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, countAnnotationStrokes, createCustomShow, createSwipeDismissDrag, createWebrtcBundle, createWebsocketBundle, cssObjectToStyleMap, currentColorScheme, currentLayout, currentStyle, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, deleteVersion as deleteRecoveryVersion, demoteNode, deriveModel3DBlobUrl, derivePresenceList, describeSmartArtBounds, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, duplicateElementById, durationOf, effectsStateOf, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, estimatePageCount, evenColumnWidths, evenRowHeights, exitPresentationFullscreen, extractPathPoints, eyedropperAvailable, fillColorOf, findInSlides, findOwningSlideIndex, findSlideIndexByElementId, fitPolynomial, fitZoom, fontMimeForFormat, fontSizeOf, formatAutoNumber, formatAxisValue, formatBytes, formatCursorLabel, formatElapsed, formatFileSize, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generatePressureCircles, generateRulerTicks, getClrChangeParams, getContainerStyle, getDuotoneFilterDef, getImageSrc, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDownloadFileName, getOleTypeColor, getOleTypeLabel, getPasswordStrength, getPatternSvg, getPlaceholderStyle, getVersions as getRecoveryVersions, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTextBlockStyle, getTextWarp, getTouchDistance, getWarpCategory, getWarpPath, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gridColumns, groupElements, groupIssuesBySeverity, hasAnimation, hasCopyableFormat, hasExistingLink, hasExitedFullscreen, hasGradientFill, hasPressureVariation, headerLabel, inkViewBox, insertColumn, insertRow, interpolateWidth, isAudienceTab, isBold, isBrowserOpenableMime, isChildNode, isElementInteractive, isInjectableUrl, isItalic, isPpactionUrl, isPresenterMessage, isSigned, isTextElement, isUnderline, isUrlSafe, isValidRoomId, isViewportBackgroundPressTarget, isZoomActivationKey, issueTrackKey, issueTypeLabel, keyToLabel, latexToMathml, linePointsToSvgString, lineSpacingPatch, loadAudienceContent, mergeCaptionResults, mergeDown, mergeRight, mergeSelection, moveElementBy, moveNodeDown, moveNodeUp, msToFrameDelayCs, narrowToCircle, narrowToPolygon, narrowToRect, newChartElement, newEquationElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextVisibleIndex, nodeBold, nodeEditBox, nodeFillColor, nodeFontColor, nodeIdFromKey, nodeItalic, nodeStyle, normalizeFontFormat, normalizeSlidesPerPage, normalizeValue, numFromEvent, ommlToMathml, ooxmlDashToCssBorderStyle, openNativeEyeDropper, overallStatus, paletteColor, parseAudienceNonce, parseNodeTextarea, partitionSlides, patchChartData, patchChartStyle, patchTableData, patchTextStyle, pendingElementStyles, pickColorByClickFallback, pickSupportedMimeType, planGifFrames, planVideoSegments, pointsToSvgPathD, presenceToCursors, presetByLayout, presetsForCategory, pressuresToWidths, prevVisibleIndex, projectDrawingShapes, promoteNode, provideViewerTheme, radarAngle, radarRingPoints, recordWebm, redistributeColumnWidth, removeAnimation, removeCategory, removeColumn, removeCommentFromList, removeElementAnimation, removeGradientStopPatch, removeNode, removeRow, removeSeries, renderToCanvas, reorderAnimationDown, reorderAnimationUp, replaceInSlides, replaceMatch, requestPresentationFullscreen, resizeElement, resolveCaptionTracks, resolveChartKind, resolveFontVariant, resolveHyperlinkHref, resolveInteractiveElementId, resolveMediaSrc, resolveOleType, resolveParagraphBullet, resolvePresenterNotes, resolveRegionCode, resolvePalette as resolveSmartArtPalette, resolveTransitionDuration, revealedElementStyles, routeOrthogonalConnector, rowStyle, sampleColorFromSlide, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, scanAvailableFonts, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, selectValue$2 as selectValue, sendBackward, sendToBack, sequentialColorScale, serializeWriteBack, seriesColor, setAnimationEmphasis, setAnimationEntrance, setAnimationExit, setAxis, setAxisLogScale, setAxisTitleStyle, setCategoryLabel, setCellText, setColorScheme, setDataLabels, setDataPointExplosion, setDataPointFill, setDataPointLabel, setDelay, setDirection, setDuration, setElementPosition, setGridlineStyle, setLayout, setLegend, setNodeStyle, setNodeText, setRepeatCount, setRepeatMode, setSequence, setSeriesChartType, setSeriesColor, setSeriesErrorBars, setSeriesMarker, setSeriesName, setSeriesTrendline, setSeriesValue, setStyle, setTimingCurve, setTitle, setTrigger, setTriggerShapeId, shapeStylePatch, sheetAfterNavigate, shouldUseSvgWarp, showDirectionPicker, showsTemplateAffordance, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusLabel as slideDiffStatusLabel, slideNumberOf, smartArtNodes, paletteColour as smartArtPaletteColour, snapToGridStep, splitCursorCell, splitMergedCell, statusKind, statusLabel$1 as statusLabel, storeAudienceContent, stringFromEvent$5 as stringFromEvent, strokeColorOf, strokeToInkElement, styleShadowFilter, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textColorOf, textDirectionPatch, textStyleOf, textStylePatch, themeStyle, themeToCssVars, thumbnailHeight, thumbnailZoom, toggleCommentResolvedInList, toggleNodeBold, toggleNodeItalic, toggleSheet, topLevelNodeCount, translationsEn, ungroupElements, updateElementById, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateOuterShadowPatch, updateReflectionPatch, vAlignPatch, validatePassword, validatePrintSettings, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, waypointsToPathD, worstStatus, zoomTargetSlideIndex };
|
|
87896
|
+
export { ALIGN_OPTIONS, AUDIENCE_HASH, AUDIENCE_NONCE_KEY, AccessibilityPanelComponent, AccessibilityService, AdvancedChartEditorComponent, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, AutosaveService, BroadcastDialogComponent, CHART_EDITOR_STYLES, CURSOR_PALETTE, CanvasFitService, ChartAxisOptionsComponent, ChartAxisStyleOptionsComponent, ChartComboTypeOptionsComponent, ChartDataEditorComponent, ChartDataLabelOptionsComponent, ChartDatapointOptionsComponent, ChartDisplayOptionsComponent, ChartElementViewComponent, ChartErrorBarOptionsComponent, ChartMarkerOptionsComponent, ChartPartSelectionService, ChartPrimitivesComponent, ChartRendererComponent, ChartTrendlineOptionsComponent, CollaborationCursorsComponent, CollaborationService, ColorChangedImageComponent, CommentsPanelComponent, CommentsService, ComparePanelComponent, ConnectorRendererComponent, ConnectorTextOverlayComponent, CustomShowsComponent, DATA_TABLE_HEADER_H, DATA_TABLE_KEY_W, DATA_TABLE_PADDING, DATA_TABLE_ROW_H, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_SCHEME, DEFAULT_FILL_COLOR, DEFAULT_LAYOUT, DEFAULT_PALETTE$1 as DEFAULT_PALETTE, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_STYLE, DEFAULT_TABLE_ROW_HEIGHT, DEFAULT_TEXT_COLOR$1 as DEFAULT_TEXT_COLOR, DIRECTIONAL_PRESETS, DIRECTION_OPTIONS, EMBEDDED_FONTS_STYLE_ID, EMPHASIS_PRESETS, ENTRANCE_PRESETS, TEMPLATES as EQUATION_TEMPLATES, EXIT_PRESETS, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EncryptedFileDialogComponent, EquationEditorDialogComponent, EquationRendererComponent, EquationTemplateGalleryComponent, ExportProgressModalComponent, ExportService, FieldContextService, FindBarComponent, FindReplaceBarComponent, FollowModeBarComponent, FontEmbeddingListComponent, FontEmbeddingPanelComponent, GALLERY_THEME_PRESETS, GradientPickerComponent, HANDOUT_OPTIONS, HyperlinkDialogComponent, InkDrawingService, InkRendererComponent, InsertSmartArtDialogComponent, InspectorPanelComponent, IsMobileService, KeepAnnotationsDialogComponent, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, LoadContentService, LocalPresencePublisher, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MediaRendererComponent, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesPanelComponent, NotesToolbarComponent, OleRendererComponent, PRESENTER_CHANNEL_NAME, PRESENTER_MSG_ORIGIN, PasswordProtectionDialogComponent, PasswordStrengthMeterComponent, PowerPointViewerComponent, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationSubtitleBarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PresenterWindowService, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, REPEAT_MODE_OPTIONS, RESIZE_HANDLES, RULER_THICKNESS, RemoteSelectionOverlayComponent, RibbonAnimationsSectionComponent, RibbonArrangeSectionComponent, RibbonColorPopoverComponent, RibbonComponent, RibbonDesignSectionComponent, RibbonDrawSectionComponent, RibbonDrawingGroupComponent, RibbonEditingSectionComponent, RibbonFileSectionComponent, RibbonFontControlsComponent, RibbonHomeSectionComponent, RibbonInsertFieldsComponent, RibbonInsertSectionComponent, RibbonParagraphControlsComponent, RibbonPrimaryRowComponent, RibbonReviewSectionComponent, RibbonSlideshowSectionComponent, RibbonTransitionsSectionComponent, RibbonViewSectionComponent, RulerGuidesService, SEQUENCE_OPTIONS, SEVERITY_GROUPS, SEVERITY_LABELS, SHORTCUT_REFERENCE_ITEMS, SLIDE_PX_PER_INCH, SLIDE_TRANSITION_KEYFRAMES, DEFAULT_PALETTE as SMARTART_DEFAULT_PALETTE, PALETTES$1 as SMARTART_PALETTES, SMART_ART_COLOR_SCHEMES, SMART_ART_STYLE_OPTIONS, SUB_ITEM_LABEL, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, SelectionPaneComponent, SetUpSlideShowDialogComponent, ShareDialogComponent, ShortcutPanelComponent, ShowOptionsFieldsetComponent, ShowSlidesFieldsetComponent, SignatureStrippedDialogComponent, SignaturesPanelComponent, SignaturesService, SlideCanvasComponent, SlideDiffChangesComponent, SlideDiffRowComponent, SlideDiffThumbnailsComponent, SlideSorterOverlayComponent, SlidesPanelComponent, SmartArt3DRendererComponent, SmartArt3DService, SmartArtPreviewComponent, SmartArtPropertiesComponent, SmartArtRendererComponent, StatusBarComponent, TABLE_STRUCTURE_TOGGLES, TEXT_DIRECTION_OPTIONS$1 as TEXT_DIRECTION_OPTIONS, TIMING_CURVE_OPTIONS, TRIGGER_OPTIONS, TYPE_LABELS, TableCellAdvancedFillComponent, TableCellFormattingComponent, TableDataEditorComponent, TablePropertiesComponent, TableRendererComponent, TableResizeOverlayComponent, TableSelectionService, TextAdvancedPanelComponent, ThemeGalleryComponent, TitleBarComponent, VALIGN_OPTIONS, VIEWER_THEME, VersionHistoryPanelComponent, ViewerCanvasEditingService, ViewerCollabCursorService, ViewerCollaborationSessionService, ViewerCompareService, ViewerCustomShowsService, ViewerDialogsService, ViewerDocumentPropertiesService, ViewerExportService, ViewerExtraDialogsComponent, ViewerFileIOService, ViewerFindReplaceService, ViewerFormatPainterService, ViewerInspectorPanelService, ViewerKeyboardService, ViewerMobileSheetService, ViewerPresentationModeService, ViewerThemeGalleryService, ViewerTouchGesturesService, ViewerZoomService, WEBM_MIME_CANDIDATES, WriteBackScheduler, ZoomNavigationService, ZoomRendererComponent, ZoomTargetService, addCategory, addCommentToList, addGradientStopPatch, addItem, addSeries, addSubItem, advanceStep, alignPatch, animationFor, annotationMapToInkInserts, applyAcceptedDiff, applyAnimationPreset, applyFindReplacements, applyFormatToElement, applyMove, applyResize, applyTableStylePreset, asMediaElement, assignUserColor, attachTouchGestures, beginNodeEdit, boolFromEvent, bringForward, bringToFront, buildBarActions, buildBroadcastConfig, buildBroadcastViewerUrl, buildCategoryLabels, buildCellParagraphs, buildChartViewModel, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildColStyles, buildCollaborationConfig, buildComboViewModel, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildEquationElement, buildEquationSegment, buildFallbackViewModel, buildFontFaceRule, buildGradientFillCss, buildGridlinesAndLabels, buildHyperlinkPatch, buildInkContainerStyle, buildInkStrokes, buildLegend, buildModel3DContainerStyle, buildModel3DViewModel, buildOleActionModel, buildOleInfoRows, buildPatternFillCss, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildRegionMapViewModel, buildSaveSlides, buildShareUrl, buildSmartArtInsertElement, buildSmartArtNodes, buildStockViewModel, buildSurfaceViewModel, buildTableViewModel, buildTreemapViewModel, buildTrimFragment, buildWaterfallViewModel, buildZeroLine, buildZoomContainerStyle, buildZoomViewModel, bulletIndentPx, canAddTopLevelNode, canRemoveTopLevelNode, canStartBroadcast, canStartShare, canUseClipboard, captionDisplayText, cellRunStyle, cellStyleToStyleMap, cellTdStyle, changeCountLabel, changeIcon, characterSpacingPatch, checkFontAvailable, clampCursorPosition, clampGifDimensions, clampIndex, clampNotesFontSize, clampScale, clampStep, clearAudienceContent, cn, collectAccessibilityIssues, collectElementText, collectSlideText, collectUsedFontFamilies, columnWidthStyle, commitNodeText, computeAlign, computeAxisTitlePrimitives, computeBarRects, computeBubbleRadius, computeCornerHandle, computeDataTablePrimitives, computeDistribute, computeDrawingViewBox, computeErrorBarPrimitives, computeHandleBoxes, computeHandoutLayout, computeIsMobile, computeIsTablet, computeLinePoints, computeLinearRegression, computePageCount, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRSquared, computeRadarPoints, computeScatterDots, computeSelectionBoxes, computeSingleSelected, computeSlideIndices, computeSnap, computeStackedBarRects, computeStackedValueRange, computeTextLines, computeTimerProgress, computeTrendlinePrimitives, computeValueRange, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, countAnnotationStrokes, createCustomShow, createSwipeDismissDrag, createWebrtcBundle, createWebsocketBundle, cssObjectToStyleMap, currentColorScheme, currentLayout, currentStyle, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, deleteVersion as deleteRecoveryVersion, demoteNode, deriveModel3DBlobUrl, derivePresenceList, describeSmartArtBounds, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, duplicateElementById, durationOf, effectsStateOf, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, estimatePageCount, evenColumnWidths, evenRowHeights, exitPresentationFullscreen, extractPathPoints, eyedropperAvailable, fillColorOf, findInSlides, findOwningSlideIndex, findSlideIndexByElementId, fitPolynomial, fitZoom, fontMimeForFormat, fontSizeOf, formatAutoNumber, formatAxisValue, formatBytes, formatCursorLabel, formatElapsed, formatFileSize, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generatePressureCircles, generateRulerTicks, getClrChangeParams, getContainerStyle, getDuotoneFilterDef, getImageSrc, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDownloadFileName, getOleTypeColor, getOleTypeLabel, getPasswordStrength, getPatternSvg, getPlaceholderStyle, getVersions as getRecoveryVersions, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTextBlockStyle, getTextWarp, getTouchDistance, getWarpCategory, getWarpPath, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gridColumns, groupElements, groupIssuesBySeverity, hasAnimation, hasCopyableFormat, hasExistingLink, hasExitedFullscreen, hasGradientFill, hasPressureVariation, headerLabel, inkViewBox, insertColumn, insertRow, interpolateWidth, isAudienceTab, isBold, isBrowserOpenableMime, isChildNode, isElementInteractive, isInjectableUrl, isItalic, isPpactionUrl, isPresenterMessage, isSigned, isTextElement, isUnderline, isUrlSafe, isValidRoomId, isViewportBackgroundPressTarget, isZoomActivationKey, issueTrackKey, issueTypeLabel, keyToLabel, latexToMathml, linePointsToSvgString, lineSpacingPatch, loadAudienceContent, mergeCaptionResults, mergeDown, mergeRight, mergeSelection, moveElementBy, moveNodeDown, moveNodeUp, msToFrameDelayCs, narrowToCircle, narrowToPolygon, narrowToRect, newChartElement, newEquationElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextVisibleIndex, nodeBold, nodeEditBox, nodeFillColor, nodeFontColor, nodeIdFromKey, nodeItalic, nodeStyle, normalizeFontFormat, normalizeSlidesPerPage, normalizeValue, numFromEvent, ommlToMathml, ooxmlDashToCssBorderStyle, openNativeEyeDropper, overallStatus, paletteColor, parseAudienceNonce, parseNodeTextarea, partitionSlides, patchChartData, patchChartStyle, patchTableData, patchTextStyle, pendingElementStyles, pickColorByClickFallback, pickSupportedMimeType, planGifFrames, planVideoSegments, pointsToSvgPathD, presenceToCursors, presetByLayout, presetsForCategory, pressuresToWidths, prevVisibleIndex, projectDrawingShapes, promoteNode, provideViewerTheme, radarAngle, radarRingPoints, recordWebm, redistributeColumnWidth, removeAnimation, removeCategory, removeColumn, removeCommentFromList, removeElementAnimation, removeGradientStopPatch, removeNode, removeRow, removeSeries, renderToCanvas, reorderAnimationDown, reorderAnimationUp, replaceInSlides, replaceMatch, requestPresentationFullscreen, resizeElement, resolveCaptionTracks, resolveChartKind, resolveFontVariant, resolveHyperlinkHref, resolveInteractiveElementId, resolveMediaSrc, resolveOleType, resolveParagraphBullet, resolvePresenterNotes, resolveRegionCode, resolvePalette as resolveSmartArtPalette, resolveTransitionDuration, revealedElementStyles, routeOrthogonalConnector, rowStyle, sampleColorFromSlide, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, scanAvailableFonts, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, selectValue$2 as selectValue, sendBackward, sendToBack, sequentialColorScale, serializeWriteBack, seriesColor, setAnimationEmphasis, setAnimationEntrance, setAnimationExit, setAxis, setAxisLogScale, setAxisTitleStyle, setCategoryLabel, setCellText, setColorScheme, setDataLabels, setDataPointExplosion, setDataPointFill, setDataPointLabel, setDelay, setDirection, setDuration, setElementPosition, setGridlineStyle, setLayout, setLegend, setNodeStyle, setNodeText, setRepeatCount, setRepeatMode, setSequence, setSeriesChartType, setSeriesColor, setSeriesErrorBars, setSeriesMarker, setSeriesName, setSeriesTrendline, setSeriesValue, setStyle, setTimingCurve, setTitle, setTrigger, setTriggerShapeId, shapeStylePatch, sheetAfterNavigate, shouldUseSvgWarp, showDirectionPicker, showsTemplateAffordance, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusLabel as slideDiffStatusLabel, slideNumberOf, smartArtNodes, paletteColour as smartArtPaletteColour, snapToGridStep, splitCursorCell, splitMergedCell, statusKind, statusLabel$1 as statusLabel, storeAudienceContent, stringFromEvent$5 as stringFromEvent, strokeColorOf, strokeToInkElement, styleShadowFilter, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textColorOf, textDirectionPatch, textStyleOf, textStylePatch, themeStyle, themeToCssVars, thumbnailHeight, thumbnailZoom, toggleCommentResolvedInList, toggleNodeBold, toggleNodeItalic, toggleSheet, topLevelNodeCount, transformSelectedTextCase, translationsEn, ungroupElements, updateElementById, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateOuterShadowPatch, updateReflectionPatch, vAlignPatch, validatePassword, validatePrintSettings, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, waypointsToPathD, worstStatus, zoomTargetSlideIndex };
|
|
87183
87897
|
//# sourceMappingURL=pptx-angular-viewer.mjs.map
|