pptx-vanilla-viewer 3.7.0 → 3.9.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.
@@ -2,7 +2,7 @@ import "fast-xml-parser";
2
2
  import "jszip";
3
3
  import { Doc } from "yjs";
4
4
  import "opentype.js";
5
- //#region ../core/dist/text-operations-BPndGvm9.d.ts
5
+ //#region ../core/dist/text-operations-ClQyeifS.d.ts
6
6
  //#region src/core/types/actions.d.ts
7
7
  /**
8
8
  * Action types: hyperlinks, slide jumps, macros, and action buttons.
@@ -1362,6 +1362,27 @@ interface ShapeStyle {
1362
1362
  * `authored-shape-style.ts`'s `effectIsPurelyStyleMatrix`.
1363
1363
  */
1364
1364
  inheritedEffectStyle?: ShapeStyle;
1365
+ /**
1366
+ * Set by a style-matrix pick (the Shape Styles gallery): the shape's own
1367
+ * `spPr` fill, outline and effects were replaced by `<p:style>`, so the
1368
+ * writer clears whatever the retained `spPr` still authored before it
1369
+ * writes the (now reference-owned) style. Never parsed; editor state only.
1370
+ */
1371
+ styleMatrixReset?: boolean;
1372
+ }
1373
+ /**
1374
+ * The result of resolving a `<p:style>` block against the loaded theme.
1375
+ *
1376
+ * `shapeStyle` is exactly what the load pipeline would have produced for a
1377
+ * shape whose `spPr` authors nothing and whose `<p:style>` is `styleXml`:
1378
+ * the flat fill/outline/effect values a renderer needs, the reference indices
1379
+ * and colours the writer re-emits, and the inheritance baselines that tell the
1380
+ * writer to leave `spPr` empty while the flat values still agree with them.
1381
+ */
1382
+ interface ResolvedStyleMatrix {
1383
+ shapeStyle: ShapeStyle;
1384
+ /** The text colour `<a:fontRef>` names, resolved to hex. */
1385
+ fontColor?: string;
1365
1386
  }
1366
1387
  //#endregion
1367
1388
  //#region src/core/types/text.d.ts
@@ -1996,6 +2017,16 @@ interface TextStyle {
1996
2017
  textReflectionEndOpacity?: number;
1997
2018
  /** Text reflection offset distance in px. */
1998
2019
  textReflectionOffset?: number;
2020
+ /**
2021
+ * Text reflection end position (`@endPos`) as a 0-1 fraction of the text
2022
+ * height the fade reaches. Mirrors `ShapeStyle.reflectionEndPosition`.
2023
+ */
2024
+ textReflectionEndPosition?: number;
2025
+ /**
2026
+ * Text reflection offset direction (`@dir`) in degrees. Mirrors
2027
+ * `ShapeStyle.reflectionDirection`.
2028
+ */
2029
+ textReflectionDirection?: number;
1999
2030
  /**
2000
2031
  * Text reflection fade direction (`a:rPr/a:effectLst/a:reflection/@fadeDir`)
2001
2032
  * in degrees. Mirrors `ShapeStyle.reflectionFadeDirection`.
@@ -2314,6 +2345,21 @@ interface TextSegment {
2314
2345
  * populated; unrelated fields fall back to the shape-level style.
2315
2346
  */
2316
2347
  paragraphProperties?: TextStyle;
2348
+ /**
2349
+ * The paragraph this segment starts authored an EMPTY `<a:pPr/>`. Only
2350
+ * meaningful on the first segment of a paragraph. The writer re-emits the
2351
+ * empty element when it has no paragraph property of its own to write, so
2352
+ * a rewritten slide keeps the markup PowerPoint wrote.
2353
+ */
2354
+ emptyParagraphPropertiesAuthored?: boolean;
2355
+ /**
2356
+ * The paragraph this segment starts has no run content and authored no
2357
+ * `a:endParaRPr` (a bare `<a:p/>`, possibly with an `a:pPr`). Only
2358
+ * meaningful on the first segment of a paragraph. It stops the writer
2359
+ * inventing an empty run or an `<a:endParaRPr lang="en-US"/>` stub for a
2360
+ * paragraph that still has no content when saved.
2361
+ */
2362
+ bareParagraph?: boolean;
2317
2363
  /**
2318
2364
  * Phonetic annotation text from `a:ruby > a:rt` (e.g. furigana, pinyin).
2319
2365
  * When present, the renderer should wrap the base text with an HTML `<ruby>` tag.
@@ -2336,6 +2382,22 @@ interface TextSegment {
2336
2382
  * Used by the renderer to apply font family, colour, etc. to the `<rt>` element.
2337
2383
  */
2338
2384
  rubyStyle?: TextStyle;
2385
+ /**
2386
+ * The parsed `a:rubyPr` node, kept verbatim so its attributes (`hps`,
2387
+ * `hpsRaise`, `hpsBaseText`, `lid`, ...) round-trip exactly; only an
2388
+ * edited {@link rubyAlignment} is written over it on save.
2389
+ */
2390
+ rubyPropertiesXml?: XmlObject;
2391
+ /**
2392
+ * What each of a ruby run's two base-side `a:rPr`s authored on its own:
2393
+ * `outer` is the containing `a:r`'s, `base` the `a:rubyBase` run's. The
2394
+ * flat {@link style} merges both for rendering; these let the writer give
2395
+ * each `a:rPr` back only its own properties (plus any later edit).
2396
+ */
2397
+ rubyRunAuthoredStyles?: {
2398
+ outer?: TextStyle;
2399
+ base?: TextStyle;
2400
+ };
2339
2401
  }
2340
2402
  //#endregion
2341
2403
  //#region src/core/types/element-base.d.ts
@@ -4247,6 +4309,14 @@ interface PptxChartData {
4247
4309
  style?: PptxChartStyle;
4248
4310
  /** Grouping mode for bar/area/line charts: 'clustered' | 'stacked' | 'percentStacked' */
4249
4311
  grouping?: 'clustered' | 'stacked' | 'percentStacked';
4312
+ /**
4313
+ * The source `c:grouping` was `standard`, which {@link grouping} folds into
4314
+ * `'clustered'` (a 2D bar chart draws the two the same). A 3D chart draws
4315
+ * `standard` differently: each series on its own depth row. The writer
4316
+ * emits `standard` again while `grouping` is still `'clustered'`, so the
4317
+ * chart round-trips unchanged.
4318
+ */
4319
+ groupingStandard?: boolean;
4250
4320
  /**
4251
4321
  * Whether the first (or only) series varies its point colours
4252
4322
  * (`c:varyColors/@val`). Pie/doughnut default this on; single-series
@@ -5644,6 +5714,14 @@ interface PptxSmartArtNode {
5644
5714
  * quick-style variation) applied to every other node.
5645
5715
  */
5646
5716
  coherent3DOff?: boolean;
5717
+ /**
5718
+ * The layout variables PowerPoint recorded for each presentation node
5719
+ * this point drives (`dgm:prSet/@presName` -> `dgm:presLayoutVars`
5720
+ * variable -> `@val`), e.g. `{ hierRoot1: { hierBranch: 'l' } }` for an
5721
+ * org-chart manager set to "Left Hanging". Read-only: the presentation
5722
+ * points themselves round-trip verbatim.
5723
+ */
5724
+ presLayoutVarsByName?: Record<string, Record<string, string>>;
5647
5725
  /**
5648
5726
  * Per-run text + run-properties for the node's first paragraph, captured at
5649
5727
  * parse time. When the joined run text still equals {@link text} (the node
@@ -5713,6 +5791,16 @@ interface PptxSmartArtQuickStyleLabel {
5713
5791
  name: string;
5714
5792
  /** Theme-resolved `dgm:style` refs for this label's role, when available. */
5715
5793
  resolvedStyle?: PptxSmartArtResolvedStyleRef;
5794
+ /**
5795
+ * The label's own `dgm:scene3d` (per-shape camera + light rig). PowerPoint
5796
+ * copies it onto a shape's cached `a:scene3d` unless it is the default
5797
+ * front camera with a `threePt` light (see `applySmartArtQuickStyle3d`).
5798
+ */
5799
+ scene3d?: Pptx3DScene;
5800
+ /** The label's own `dgm:sp3d` (bevel / extrusion / contour / material); absent when empty. */
5801
+ shape3d?: Pptx3DShape;
5802
+ /** The label's `dgm:txPr/a:sp3d` label-text extrusion (Bird's Eye Scene). */
5803
+ text3d?: Text3DStyle;
5716
5804
  }
5717
5805
  /** CT_CTStyleLabel metadata from a color-transform definition. */
5718
5806
  interface PptxSmartArtColorStyleLabel {
@@ -5780,9 +5868,10 @@ interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
5780
5868
  * for the "Scene" quick styles (Brick, Flat, Metallic, Sunset, Bird's Eye
5781
5869
  * Scene). One camera renders the whole diagram; per-shape `a:scene3d` is
5782
5870
  * absent for those styles (see `PptxSmartArtDrawingShape.scene3d`). Each
5783
- * `dgm:styleLbl` also carries its own per-label `dgm:scene3d`/`dgm:sp3d`,
5784
- * but PowerPoint bakes those fully resolved onto each cached shape's own
5785
- * `dsp:spPr/a:sp3d`, so only the diagram-level scene is exposed here.
5871
+ * `dgm:styleLbl` also carries its own per-label `dgm:scene3d`/`dgm:sp3d`
5872
+ * ({@link PptxSmartArtQuickStyleLabel.scene3d} / `shape3d` / `text3d`),
5873
+ * which PowerPoint bakes onto each cached shape; they are re-applied when a
5874
+ * structural edit regenerates the shapes.
5786
5875
  */
5787
5876
  scene3d?: Pptx3DScene;
5788
5877
  }
@@ -5913,6 +6002,11 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
5913
6002
  fillNone?: boolean;
5914
6003
  /** Solid fill colour (hex). */
5915
6004
  fillColor?: string;
6005
+ /**
6006
+ * Opacity (0..1) of the solid fill, from the colour's `a:alpha` (Basic Venn
6007
+ * paints its circles at 50% so overlaps blend). Absent when opaque.
6008
+ */
6009
+ fillOpacity?: number;
5916
6010
  /**
5917
6011
  * Gradient fill stops when the cached shape uses `a:gradFill`. Positions are
5918
6012
  * 0..100 (percent). Renderers emit an SVG/CSS gradient instead of a flat box.
@@ -7870,6 +7964,84 @@ interface PptxThemeOption {
7870
7964
  name?: string;
7871
7965
  }
7872
7966
  //#endregion
7967
+ //#region src/core/types/animation-behavior.d.ts
7968
+ /** Timing of one behaviour, from its own `p:cBhvr/p:cTn`. */
7969
+ interface PptxAnimationBehaviorTiming {
7970
+ /** `p:cTn/@dur` in ms; absent when `indefinite` or unset. */
7971
+ durationMs?: number;
7972
+ /** Start offset in ms from `p:stCondLst/p:cond/@delay`, relative to the effect start. */
7973
+ delayMs?: number;
7974
+ /** `p:cTn/@accel` as a 0..1 fraction of the behaviour's duration. */
7975
+ accel?: number;
7976
+ /** `p:cTn/@decel` as a 0..1 fraction of the behaviour's duration. */
7977
+ decel?: number;
7978
+ /** `p:cTn/@autoRev`: play forward, then backward, doubling the active time. */
7979
+ autoReverse?: boolean;
7980
+ /** `p:cTn/@repeatCount` in plain iterations (OOXML stores thousandths). */
7981
+ repeatCount?: number;
7982
+ /** `p:cTn/@tmFilter`: the raw `"t,v; t,v; ..."` time remapping list. */
7983
+ tmFilter?: string;
7984
+ }
7985
+ interface BehaviorBase {
7986
+ /** Lower-cased `p:attrNameLst` entries, in document order. */
7987
+ attrNames: string[];
7988
+ /** `p:cBhvr/@additive` (`base`, `sum`, `repl`, `mult`, `none`). */
7989
+ additive?: string;
7990
+ timing: PptxAnimationBehaviorTiming;
7991
+ }
7992
+ /** `p:set`: a discrete value held from the behaviour's start. */
7993
+ interface PptxSetBehavior extends BehaviorBase {
7994
+ kind: 'set';
7995
+ value: string | number | boolean;
7996
+ }
7997
+ /** `p:anim`: a `p:tavLst` ramp or a `from`/`to`/`by` formula ramp. */
7998
+ interface PptxAnimBehavior extends BehaviorBase {
7999
+ kind: 'anim';
8000
+ calcMode?: 'discrete' | 'lin' | 'fmla';
8001
+ valueType?: string;
8002
+ from?: string;
8003
+ to?: string;
8004
+ by?: string;
8005
+ keyframes: PptxAnimationKeyframe[];
8006
+ }
8007
+ /** `p:animEffect`: a filter transition (`fade`, `wipe(down)`...). */
8008
+ interface PptxAnimEffectBehavior extends BehaviorBase {
8009
+ kind: 'animEffect';
8010
+ filter?: string;
8011
+ transition?: 'in' | 'out' | 'none';
8012
+ }
8013
+ /** A `p:animScale` factor pair (1 = unscaled) or a `p:animMotion` offset (slide fractions). */
8014
+ interface PptxBehaviorPoint {
8015
+ x: number;
8016
+ y: number;
8017
+ }
8018
+ /** `p:animScale`: scale factors as fractions (OOXML stores percent*1000, so `100000` = 1). */
8019
+ interface PptxAnimScaleBehavior extends BehaviorBase {
8020
+ kind: 'animScale';
8021
+ from?: PptxBehaviorPoint;
8022
+ to?: PptxBehaviorPoint;
8023
+ by?: PptxBehaviorPoint;
8024
+ zoomContents?: boolean;
8025
+ }
8026
+ /** `p:animRot`: rotation in degrees (OOXML stores 60000ths). */
8027
+ interface PptxAnimRotBehavior extends BehaviorBase {
8028
+ kind: 'animRot';
8029
+ from?: number;
8030
+ to?: number;
8031
+ by?: number;
8032
+ }
8033
+ /** `p:animMotion`: a path (slide fractions) or a `from`/`to`/`by` offset. */
8034
+ interface PptxAnimMotionBehavior extends BehaviorBase {
8035
+ kind: 'animMotion';
8036
+ path?: string;
8037
+ origin?: string;
8038
+ from?: PptxBehaviorPoint;
8039
+ to?: PptxBehaviorPoint;
8040
+ by?: PptxBehaviorPoint;
8041
+ }
8042
+ /** One behaviour child of an effect, tagged by its OOXML element. */
8043
+ type PptxAnimationBehavior = PptxSetBehavior | PptxAnimBehavior | PptxAnimEffectBehavior | PptxAnimScaleBehavior | PptxAnimRotBehavior | PptxAnimMotionBehavior;
8044
+ //#endregion
7873
8045
  //#region src/core/types/animation.d.ts
7874
8046
  /**
7875
8047
  * Built-in animation preset names used for entrance, exit, and emphasis effects.
@@ -8421,6 +8593,14 @@ interface PptxNativeAnimation {
8421
8593
  * shared playback (round-trip/typed-model only so far).
8422
8594
  */
8423
8595
  setAnimations?: PptxSetAnimation[];
8596
+ /**
8597
+ * Every behaviour child of this effect (`p:set`, `p:anim`, `p:animEffect`,
8598
+ * `p:animScale`, `p:animRot`, `p:animMotion`) with its own timing, as
8599
+ * authored. The single-valued fields above flatten a composed preset;
8600
+ * this keeps the whole tree so playback can follow what PowerPoint wrote
8601
+ * (see `animation-behavior-player` in `pptx-viewer-shared`).
8602
+ */
8603
+ behaviors?: PptxAnimationBehavior[];
8424
8604
  }
8425
8605
  /**
8426
8606
  * One `p:set` discrete (non-interpolated) attribute assignment composed
@@ -10521,7 +10701,7 @@ interface PptxEmbeddedFont {
10521
10701
  originalPartBytes?: Uint8Array;
10522
10702
  }
10523
10703
  //#endregion
10524
- //#region ../core/dist/index-CjOJmc6X.d.ts
10704
+ //#region ../core/dist/index-DmVG5xJ8.d.ts
10525
10705
  //#region src/core/types/theme-presets.d.ts
10526
10706
  /**
10527
10707
  * A complete theme preset that can be applied to a presentation.
@@ -11332,6 +11512,8 @@ interface IPptxHandlerRuntime {
11332
11512
  updateThemeColorScheme(colorScheme: PptxThemeColorScheme): Promise<void>;
11333
11513
  updateThemeFontScheme(fontScheme: PptxThemeFontScheme): Promise<void>;
11334
11514
  updateThemeName(name: string): Promise<void>;
11515
+ /** Resolve a `<p:style>` node against the loaded theme (see PptxHandlerRuntimeStyleMatrixResolve). */
11516
+ resolveStyleMatrixReferences(styleXml: XmlObject): ResolvedStyleMatrix;
11335
11517
  applyTheme(colorScheme: PptxThemeColorScheme, fontScheme: PptxThemeFontScheme, themeName?: string): Promise<void>;
11336
11518
  load(data: ArrayBuffer, options?: PptxHandlerLoadOptions): Promise<PptxData>;
11337
11519
  getChartDataForGraphicFrame(slidePath: string, graphicFrame: XmlObject | undefined): Promise<PptxChartData | undefined>;
@@ -11627,6 +11809,14 @@ declare class PptxHandlerCore {
11627
11809
  * @param name - New display name for the theme.
11628
11810
  */
11629
11811
  updateThemeName(name: string): Promise<void>;
11812
+ /**
11813
+ * Resolve a `<p:style>` block (`a:lnRef` / `a:fillRef` / `a:effectRef` /
11814
+ * `a:fontRef`) against the loaded theme, exactly as the load path would for
11815
+ * a shape whose `spPr` authors nothing. Apply the returned `shapeStyle` to a
11816
+ * shape and it renders like PowerPoint's Shape Styles entry and saves as a
11817
+ * bare `<p:style>` with an empty `spPr`, which is what PowerPoint writes.
11818
+ */
11819
+ resolveStyleMatrixReferences(styleXml: XmlObject): ResolvedStyleMatrix;
11630
11820
  /**
11631
11821
  * Apply a complete theme in one call (colour scheme + font scheme + optional name).
11632
11822
  *
@@ -12027,7 +12217,7 @@ interface AccessibilityIssue {
12027
12217
  /** Supported merge shape operations (matching PowerPoint's Merge Shapes menu). */
12028
12218
  type MergeShapeOperation = 'union' | 'intersect' | 'subtract' | 'fragment' | 'combine';
12029
12219
  //#endregion
12030
- //#region ../shared/dist/index-BbHsvey8.d.ts
12220
+ //#region ../shared/dist/index-DDHixrsQ.d.ts
12031
12221
  //#region src/theme/types.d.ts
12032
12222
  /**
12033
12223
  * Theme configuration types for the PowerPoint viewer.
@@ -12731,6 +12921,15 @@ interface PictureBulletMarker {
12731
12921
  imageRelId?: string;
12732
12922
  }
12733
12923
  //#endregion
12924
+ //#region src/render/text-east-asian-breaks.d.ts
12925
+ /** Which of the two behaviours a paragraph asks for. */
12926
+ interface EastAsianBreakOptions {
12927
+ /** `a:pPr/@hangingPunct="1"`. */
12928
+ hangingPunctuation: boolean;
12929
+ /** `a:pPr/@eaLnBrk="0"`: break between any two East Asian characters. */
12930
+ breakAnywhere: boolean;
12931
+ }
12932
+ //#endregion
12734
12933
  //#region src/render/text-run-meta.d.ts
12735
12934
  /** A run's resolved hyperlink target. */
12736
12935
  interface RunHyperlink {
@@ -12904,6 +13103,8 @@ interface ParagraphRun {
12904
13103
  * `paragraph-run-build.ts`).
12905
13104
  */
12906
13105
  underlineWordPieces?: ScriptFontPiece[];
13106
+ /** The advance-carrying space after a hanging `、`/`。` (`text-east-asian-breaks`). */
13107
+ hangingSpace?: true;
12907
13108
  /**
12908
13109
  * `a:reflection` mirrored-sibling wrapper style for this run (the text-run
12909
13110
  * counterpart of a shape/picture's `ComputedEffectStyle.reflection`), or
@@ -12987,6 +13188,12 @@ interface RenderParagraph {
12987
13188
  * break rules, rendered differently in the other four bindings.
12988
13189
  */
12989
13190
  paragraphStyle?: RunStyle;
13191
+ /**
13192
+ * `@hangingPunct` / `@eaLnBrk="0"` as resolved for this paragraph. The runs
13193
+ * above already carry their pieces; React, which rebuilds each segment's
13194
+ * pieces inside one span, re-applies `splitEastAsianBreaks` from this.
13195
+ */
13196
+ eastAsianBreaks?: EastAsianBreakOptions;
12990
13197
  }
12991
13198
  //#endregion
12992
13199
  //#region src/render/inline-list-types.d.ts
@@ -13884,6 +14091,13 @@ type ToolbarButtonId = 'share' | 'broadcast' | 'export' | 'undo' | 'redo' | 'rec
13884
14091
  /** A top-level ribbon tab. `record` intentionally shares its id with the quick-access Record button above: both surface the same recording feature, so hiding one hides the other. */
13885
14092
  type ToolbarTabId = 'file' | 'home' | 'insert' | 'draw' | 'design' | 'transitions' | 'animations' | 'slideShow' | 'record' | 'review' | 'view' | 'help';
13886
14093
  type ToolbarActionId = ToolbarButtonId | ToolbarTabId;
14094
+ /**
14095
+ * PowerPoint's contextual tabs: they join the tab row only while the
14096
+ * selection is of their kind (see `contextualTabsForElement` in
14097
+ * `ribbon-galleries/`). Kept apart from `ToolbarTabId` because they are not
14098
+ * part of the fixed tab order every binding renders.
14099
+ */
14100
+ type RibbonContextualTabId = 'shapeFormat' | 'pictureFormat' | 'tableDesign' | 'chartDesign' | 'smartArtDesign';
13887
14101
  //#endregion
13888
14102
  //#region src/render/options/viewer-options.d.ts
13889
14103
  /**
@@ -14100,6 +14314,511 @@ type FreeformToolKind = 'freeformShape' | 'curve';
14100
14314
  */
14101
14315
  type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
14102
14316
  //#endregion
14317
+ //#region src/render/customization/ribbon-control-catalog.d.ts
14318
+ declare const RIBBON_CONTROL_CATALOG: {
14319
+ readonly home: {
14320
+ readonly clipboard: {
14321
+ readonly label: 'Clipboard';
14322
+ readonly controls: {
14323
+ readonly paste: 'Paste';
14324
+ readonly cut: 'Cut';
14325
+ readonly copy: 'Copy';
14326
+ readonly formatPainter: 'Format Painter';
14327
+ };
14328
+ };
14329
+ readonly slides: {
14330
+ readonly label: 'Slides';
14331
+ readonly controls: {
14332
+ readonly newSlide: 'New Slide';
14333
+ readonly layout: 'Layout';
14334
+ readonly reset: 'Reset';
14335
+ readonly section: 'Section';
14336
+ readonly slideTemplates: 'Slide templates';
14337
+ };
14338
+ };
14339
+ readonly font: {
14340
+ readonly label: 'Font';
14341
+ readonly controls: {
14342
+ readonly fontFamily: 'Font';
14343
+ readonly fontSize: 'Font Size';
14344
+ readonly increaseFontSize: 'Increase Font Size';
14345
+ readonly decreaseFontSize: 'Decrease Font Size';
14346
+ readonly clearFormatting: 'Clear All Formatting';
14347
+ readonly bold: 'Bold';
14348
+ readonly italic: 'Italic';
14349
+ readonly underline: 'Underline';
14350
+ readonly strikethrough: 'Strikethrough';
14351
+ readonly shadow: 'Text Shadow';
14352
+ readonly characterSpacing: 'Character Spacing';
14353
+ readonly changeCase: 'Change Case';
14354
+ readonly fontColor: 'Font Color';
14355
+ readonly highlightColor: 'Text Highlight Color';
14356
+ readonly superscript: 'Superscript';
14357
+ readonly subscript: 'Subscript';
14358
+ };
14359
+ };
14360
+ readonly paragraph: {
14361
+ readonly label: 'Paragraph';
14362
+ readonly controls: {
14363
+ readonly bullets: 'Bullets (toggle and gallery)';
14364
+ readonly numbering: 'Numbering (toggle and gallery)';
14365
+ readonly decreaseIndent: 'Decrease List Level';
14366
+ readonly increaseIndent: 'Increase List Level';
14367
+ readonly lineSpacing: 'Line Spacing';
14368
+ readonly alignLeft: 'Align Left';
14369
+ readonly alignCenter: 'Center';
14370
+ readonly alignRight: 'Align Right';
14371
+ readonly justify: 'Justify';
14372
+ readonly columns: 'Columns';
14373
+ readonly textDirection: 'Text Direction';
14374
+ readonly alignText: 'Align Text';
14375
+ };
14376
+ };
14377
+ readonly drawing: {
14378
+ readonly label: 'Drawing';
14379
+ readonly controls: {
14380
+ readonly shapes: 'Shapes';
14381
+ readonly arrange: 'Arrange';
14382
+ readonly quickStyles: 'Quick Styles (Shape Styles gallery)';
14383
+ readonly shapeFill: 'Shape Fill';
14384
+ readonly shapeOutline: 'Shape Outline';
14385
+ readonly shapeEffects: 'Shape Effects gallery';
14386
+ };
14387
+ };
14388
+ readonly arrange: {
14389
+ readonly label: 'Arrange';
14390
+ readonly controls: {
14391
+ readonly bringForward: 'Bring Forward';
14392
+ readonly sendBackward: 'Send Backward';
14393
+ readonly bringToFront: 'Bring to Front';
14394
+ readonly sendToBack: 'Send to Back';
14395
+ readonly flipHorizontal: 'Flip Horizontal';
14396
+ readonly flipVertical: 'Flip Vertical';
14397
+ readonly duplicate: 'Duplicate';
14398
+ readonly delete: 'Delete';
14399
+ readonly group: 'Group';
14400
+ readonly ungroup: 'Ungroup';
14401
+ readonly align: 'Align';
14402
+ readonly mergeShapes: 'Merge Shapes';
14403
+ readonly crop: 'Crop';
14404
+ readonly outlineWidth: 'Outline width';
14405
+ };
14406
+ };
14407
+ readonly editing: {
14408
+ readonly label: 'Editing';
14409
+ readonly controls: {
14410
+ readonly find: 'Find';
14411
+ readonly replace: 'Replace';
14412
+ readonly select: 'Select';
14413
+ };
14414
+ };
14415
+ };
14416
+ readonly insert: {
14417
+ readonly slides: {
14418
+ readonly label: 'Slides';
14419
+ readonly controls: {
14420
+ readonly newSlide: 'New Slide';
14421
+ };
14422
+ };
14423
+ readonly tables: {
14424
+ readonly label: 'Tables';
14425
+ readonly controls: {
14426
+ readonly table: 'Table';
14427
+ };
14428
+ };
14429
+ readonly images: {
14430
+ readonly label: 'Images';
14431
+ readonly controls: {
14432
+ readonly pictures: 'Pictures';
14433
+ };
14434
+ };
14435
+ readonly illustrations: {
14436
+ readonly label: 'Illustrations';
14437
+ readonly controls: {
14438
+ readonly shapes: 'Shapes';
14439
+ readonly smartArt: 'SmartArt';
14440
+ readonly chart: 'Chart';
14441
+ };
14442
+ };
14443
+ readonly links: {
14444
+ readonly label: 'Links';
14445
+ readonly controls: {
14446
+ readonly link: 'Link';
14447
+ readonly action: 'Action button';
14448
+ };
14449
+ };
14450
+ readonly comments: {
14451
+ readonly label: 'Comments';
14452
+ readonly controls: {
14453
+ readonly comment: 'Comment';
14454
+ };
14455
+ };
14456
+ readonly text: {
14457
+ readonly label: 'Text';
14458
+ readonly controls: {
14459
+ readonly textBox: 'Text Box';
14460
+ readonly field: 'Header, date, slide number field';
14461
+ };
14462
+ };
14463
+ readonly symbols: {
14464
+ readonly label: 'Symbols';
14465
+ readonly controls: {
14466
+ readonly equation: 'Equation';
14467
+ readonly symbol: 'Symbol';
14468
+ };
14469
+ };
14470
+ readonly media: {
14471
+ readonly label: 'Media';
14472
+ readonly controls: {
14473
+ readonly media: 'Video / Audio';
14474
+ };
14475
+ };
14476
+ };
14477
+ readonly draw: {
14478
+ readonly tools: {
14479
+ readonly label: 'Drawing Tools';
14480
+ readonly controls: {
14481
+ readonly select: 'Select';
14482
+ readonly pen: 'Pen';
14483
+ readonly highlighter: 'Highlighter';
14484
+ readonly eraser: 'Eraser';
14485
+ readonly penColor: 'Pen colour';
14486
+ readonly penWidth: 'Pen width';
14487
+ };
14488
+ };
14489
+ readonly convert: {
14490
+ readonly label: 'Convert';
14491
+ readonly controls: {
14492
+ readonly inkToShape: 'Ink to Shape';
14493
+ };
14494
+ };
14495
+ };
14496
+ readonly design: {
14497
+ readonly themes: {
14498
+ readonly label: 'Themes';
14499
+ readonly controls: {
14500
+ readonly browseThemes: 'Themes gallery';
14501
+ readonly editTheme: 'Edit theme';
14502
+ };
14503
+ };
14504
+ readonly variants: {
14505
+ readonly label: 'Variants';
14506
+ readonly controls: {
14507
+ readonly colors: 'Variants: Colors gallery';
14508
+ readonly fonts: 'Variants: Fonts gallery';
14509
+ };
14510
+ };
14511
+ readonly customize: {
14512
+ readonly label: 'Customize';
14513
+ readonly controls: {
14514
+ readonly slideSize: 'Slide Size';
14515
+ readonly formatBackground: 'Format Background';
14516
+ };
14517
+ };
14518
+ };
14519
+ readonly transitions: {
14520
+ readonly preview: {
14521
+ readonly label: 'Preview';
14522
+ readonly controls: {
14523
+ readonly preview: 'Preview';
14524
+ };
14525
+ };
14526
+ readonly transitionToThisSlide: {
14527
+ readonly label: 'Transition to This Slide';
14528
+ readonly controls: {
14529
+ readonly gallery: 'Transition gallery';
14530
+ readonly effectOptions: 'Effect Options';
14531
+ };
14532
+ };
14533
+ readonly timing: {
14534
+ readonly label: 'Timing';
14535
+ readonly controls: {
14536
+ readonly sound: 'Sound';
14537
+ readonly duration: 'Duration';
14538
+ readonly applyToAll: 'Apply To All';
14539
+ readonly advanceOnClick: 'On Mouse Click';
14540
+ readonly advanceAfter: 'After';
14541
+ };
14542
+ };
14543
+ };
14544
+ readonly animations: {
14545
+ readonly preview: {
14546
+ readonly label: 'Preview';
14547
+ readonly controls: {
14548
+ readonly preview: 'Preview';
14549
+ };
14550
+ };
14551
+ readonly animation: {
14552
+ readonly label: 'Animation';
14553
+ readonly controls: {
14554
+ readonly gallery: 'Animation gallery';
14555
+ readonly effectOptions: 'Effect Options';
14556
+ };
14557
+ };
14558
+ readonly motionPath: {
14559
+ readonly label: 'Motion Paths';
14560
+ readonly controls: {
14561
+ readonly gallery: 'Motion path gallery';
14562
+ };
14563
+ };
14564
+ readonly advancedAnimation: {
14565
+ readonly label: 'Advanced Animation';
14566
+ readonly controls: {
14567
+ readonly addAnimation: 'Add Animation';
14568
+ readonly animationPane: 'Animation Pane';
14569
+ readonly trigger: 'Trigger';
14570
+ readonly animationPainter: 'Animation Painter';
14571
+ readonly remove: 'Remove animation';
14572
+ };
14573
+ };
14574
+ readonly timing: {
14575
+ readonly label: 'Timing';
14576
+ readonly controls: {
14577
+ readonly start: 'Start';
14578
+ readonly duration: 'Duration';
14579
+ readonly delay: 'Delay';
14580
+ readonly reorder: 'Reorder';
14581
+ };
14582
+ };
14583
+ };
14584
+ readonly slideShow: {
14585
+ readonly startSlideShow: {
14586
+ readonly label: 'Start Slide Show';
14587
+ readonly controls: {
14588
+ readonly fromBeginning: 'From Beginning';
14589
+ readonly fromCurrent: 'From Current Slide';
14590
+ readonly customShow: 'Custom Slide Show';
14591
+ };
14592
+ };
14593
+ readonly present: {
14594
+ readonly label: 'Present';
14595
+ readonly controls: {
14596
+ readonly presenterView: 'Presenter View';
14597
+ readonly broadcast: 'Present Online';
14598
+ };
14599
+ };
14600
+ readonly setUp: {
14601
+ readonly label: 'Set Up';
14602
+ readonly controls: {
14603
+ readonly setUpSlideShow: 'Set Up Slide Show';
14604
+ readonly hideSlide: 'Hide Slide';
14605
+ readonly rehearseTimings: 'Rehearse Timings';
14606
+ readonly record: 'Record';
14607
+ readonly rehearseWithCoach: 'Rehearse with Coach';
14608
+ };
14609
+ };
14610
+ readonly captions: {
14611
+ readonly label: 'Captions & Subtitles';
14612
+ readonly controls: {
14613
+ readonly subtitles: 'Always Use Subtitles';
14614
+ readonly subtitleSettings: 'Subtitle Settings';
14615
+ };
14616
+ };
14617
+ };
14618
+ readonly record: {
14619
+ readonly camera: {
14620
+ readonly label: 'Camera';
14621
+ readonly controls: {
14622
+ readonly cameo: 'Cameo';
14623
+ };
14624
+ };
14625
+ readonly record: {
14626
+ readonly label: 'Record';
14627
+ readonly controls: {
14628
+ readonly fromBeginning: 'From Beginning';
14629
+ readonly fromCurrent: 'From Current Slide';
14630
+ };
14631
+ };
14632
+ readonly manage: {
14633
+ readonly label: 'Manage';
14634
+ readonly controls: {
14635
+ readonly clear: 'Clear';
14636
+ readonly reset: 'Reset to Cameo';
14637
+ };
14638
+ };
14639
+ readonly help: {
14640
+ readonly label: 'Help';
14641
+ readonly controls: {
14642
+ readonly learnMore: 'Learn more';
14643
+ };
14644
+ };
14645
+ };
14646
+ readonly review: {
14647
+ readonly proofing: {
14648
+ readonly label: 'Proofing';
14649
+ readonly controls: {
14650
+ readonly spelling: 'Spelling';
14651
+ readonly thesaurus: 'Thesaurus';
14652
+ };
14653
+ };
14654
+ readonly accessibility: {
14655
+ readonly label: 'Accessibility';
14656
+ readonly controls: {
14657
+ readonly check: 'Check Accessibility';
14658
+ };
14659
+ };
14660
+ readonly language: {
14661
+ readonly label: 'Language';
14662
+ readonly controls: {
14663
+ readonly translate: 'Translate';
14664
+ };
14665
+ };
14666
+ readonly comments: {
14667
+ readonly label: 'Comments';
14668
+ readonly controls: {
14669
+ readonly newComment: 'New Comment';
14670
+ readonly delete: 'Delete';
14671
+ readonly previous: 'Previous';
14672
+ readonly next: 'Next';
14673
+ readonly showComments: 'Show Comments';
14674
+ };
14675
+ };
14676
+ readonly compare: {
14677
+ readonly label: 'Compare';
14678
+ readonly controls: {
14679
+ readonly compare: 'Compare';
14680
+ readonly markAllRead: 'Mark all read';
14681
+ };
14682
+ };
14683
+ readonly protect: {
14684
+ readonly label: 'Protect';
14685
+ readonly controls: {
14686
+ readonly readOnly: 'Read-only';
14687
+ readonly restrictPermission: 'Restrict Permission';
14688
+ };
14689
+ };
14690
+ readonly ink: {
14691
+ readonly label: 'Ink';
14692
+ readonly controls: {
14693
+ readonly hideInk: 'Hide Ink';
14694
+ };
14695
+ };
14696
+ };
14697
+ readonly view: {
14698
+ readonly presentationViews: {
14699
+ readonly label: 'Presentation Views';
14700
+ readonly controls: {
14701
+ readonly normal: 'Normal';
14702
+ readonly outline: 'Outline View';
14703
+ readonly slideSorter: 'Slide Sorter';
14704
+ readonly notesPage: 'Notes Page';
14705
+ readonly readingView: 'Reading View';
14706
+ };
14707
+ };
14708
+ readonly masterViews: {
14709
+ readonly label: 'Master Views';
14710
+ readonly controls: {
14711
+ readonly slideMaster: 'Slide Master';
14712
+ readonly handoutMaster: 'Handout Master';
14713
+ readonly notesMaster: 'Notes Master';
14714
+ };
14715
+ };
14716
+ readonly show: {
14717
+ readonly label: 'Show';
14718
+ readonly controls: {
14719
+ readonly ruler: 'Ruler';
14720
+ readonly gridlines: 'Gridlines';
14721
+ readonly guides: 'Guides';
14722
+ readonly snapToGrid: 'Snap to Grid';
14723
+ readonly snapToShape: 'Snap to Shape';
14724
+ readonly addGuide: 'Add horizontal / vertical guide';
14725
+ readonly selectionPane: 'Selection Pane';
14726
+ readonly eyedropper: 'Eyedropper';
14727
+ readonly notes: 'Notes';
14728
+ };
14729
+ };
14730
+ readonly zoom: {
14731
+ readonly label: 'Zoom';
14732
+ readonly controls: {
14733
+ readonly zoom: 'Zoom';
14734
+ readonly fitToWindow: 'Fit to Window';
14735
+ };
14736
+ };
14737
+ readonly window: {
14738
+ readonly label: 'Window';
14739
+ readonly controls: {
14740
+ readonly templateEditing: 'Edit template elements';
14741
+ readonly macros: 'Macros';
14742
+ };
14743
+ };
14744
+ };
14745
+ readonly help: {
14746
+ readonly help: {
14747
+ readonly label: 'Help';
14748
+ readonly controls: {
14749
+ readonly options: 'Options';
14750
+ readonly keyboardShortcuts: 'Keyboard shortcuts';
14751
+ readonly accessibility: 'Accessibility checker';
14752
+ };
14753
+ };
14754
+ };
14755
+ readonly shapeFormat: {
14756
+ readonly shapeStyles: {
14757
+ readonly label: 'Shape Styles';
14758
+ readonly controls: {
14759
+ readonly gallery: 'Shape Styles gallery';
14760
+ readonly shapeEffects: 'Shape Effects gallery';
14761
+ };
14762
+ };
14763
+ readonly wordArtStyles: {
14764
+ readonly label: 'WordArt Styles';
14765
+ readonly controls: {
14766
+ readonly gallery: 'WordArt Styles gallery';
14767
+ };
14768
+ };
14769
+ };
14770
+ readonly pictureFormat: {
14771
+ readonly pictureStyles: {
14772
+ readonly label: 'Picture Styles';
14773
+ readonly controls: {
14774
+ readonly gallery: 'Picture Styles gallery';
14775
+ readonly pictureEffects: 'Picture Effects gallery';
14776
+ };
14777
+ };
14778
+ };
14779
+ readonly tableDesign: {
14780
+ readonly tableStyles: {
14781
+ readonly label: 'Table Styles';
14782
+ readonly controls: {
14783
+ readonly gallery: 'Table Styles gallery';
14784
+ };
14785
+ };
14786
+ };
14787
+ readonly chartDesign: {
14788
+ readonly chartLayouts: {
14789
+ readonly label: 'Chart Layouts';
14790
+ readonly controls: {
14791
+ readonly quickLayout: 'Quick Layout gallery';
14792
+ };
14793
+ };
14794
+ readonly chartStyles: {
14795
+ readonly label: 'Chart Styles';
14796
+ readonly controls: {
14797
+ readonly changeColors: 'Change Colors gallery';
14798
+ readonly gallery: 'Chart Styles gallery';
14799
+ };
14800
+ };
14801
+ };
14802
+ readonly smartArtDesign: {
14803
+ readonly smartArtStyles: {
14804
+ readonly label: 'SmartArt Styles';
14805
+ readonly controls: {
14806
+ readonly changeColors: 'Change Colors gallery';
14807
+ readonly gallery: 'SmartArt Styles gallery';
14808
+ };
14809
+ };
14810
+ };
14811
+ };
14812
+ //#endregion
14813
+ //#region src/render/customization/ribbon-control-ids.d.ts
14814
+ type Catalog = typeof RIBBON_CONTROL_CATALOG;
14815
+ /** `<tab>.<group>`, for example `home.font`. */
14816
+ type RibbonGroupId = { [T in keyof Catalog]: { [G in keyof Catalog[T]]: `${T & string}.${G & string}`; }[keyof Catalog[T]]; }[keyof Catalog];
14817
+ /** `<tab>.<group>.<control>`, for example `home.font.bold`. */
14818
+ type RibbonControlId = { [T in keyof Catalog]: { [G in keyof Catalog[T]]: Catalog[T][G] extends {
14819
+ controls: infer C;
14820
+ } ? `${T & string}.${G & string}.${keyof C & string}` : never; }[keyof Catalog[T]]; }[keyof Catalog];
14821
+ //#endregion
14103
14822
  //#region src/render/customization/customization-types.d.ts
14104
14823
  /** Keys of an options group whose value is a primitive (not an array). */
14105
14824
  type PrimitiveKeys<T> = { [K in keyof T]: T[K] extends ViewerOptionPrimitive ? K : never; }[keyof T] & string;
@@ -14124,10 +14843,20 @@ type OptionsSectionId = `${ViewerOptionsTabId}.${string}`;
14124
14843
  type OptionsSettingValues = Partial<Record<OptionsSettingId, ViewerOptionPrimitive>>;
14125
14844
  /** Ribbon and toolbar customisation. */
14126
14845
  interface RibbonCustomization {
14127
- /** Ribbon tabs to remove (the File tab included, unlike Customize Ribbon). */
14128
- hiddenTabs?: readonly ToolbarTabId[];
14129
- /** Top-level toolbar buttons / control clusters to remove. */
14130
- hiddenButtons?: readonly ToolbarButtonId[];
14846
+ /**
14847
+ * Ribbon tabs to remove (the File tab included, unlike Customize Ribbon),
14848
+ * and contextual tabs (`shapeFormat`, `pictureFormat`, ...) that should
14849
+ * never appear.
14850
+ */
14851
+ hiddenTabs?: readonly (ToolbarTabId | RibbonContextualTabId)[];
14852
+ /** Groups inside a tab to remove, as `<tab>.<group>` (`home.font`). */
14853
+ hiddenGroups?: readonly RibbonGroupId[];
14854
+ /**
14855
+ * Controls to remove: a top-level toolbar button / control cluster
14856
+ * (`share`, `zoom`, ...) or any ribbon control as
14857
+ * `<tab>.<group>.<control>` (`home.font.bold`).
14858
+ */
14859
+ hiddenButtons?: readonly (ToolbarButtonId | RibbonControlId)[];
14131
14860
  }
14132
14861
  /** File > Options (the Settings dialog) customisation. */
14133
14862
  interface OptionsCustomization {
@@ -14326,6 +15055,12 @@ interface ResolvedKeyboardCustomization {
14326
15055
  /** The normalised, set-based view of a customisation. Treat as immutable. */
14327
15056
  interface ResolvedCustomization {
14328
15057
  hiddenActions: ReadonlySet<ToolbarActionId>;
15058
+ /** Contextual tabs (`shapeFormat`, ...) the host never wants shown. */
15059
+ hiddenContextualTabs: ReadonlySet<RibbonContextualTabId>;
15060
+ /** Catalogued ribbon groups to hide (`ribbon.hiddenGroups`). */
15061
+ hiddenRibbonGroups: ReadonlySet<RibbonGroupId>;
15062
+ /** Catalogued ribbon controls to hide (the `<tab>.<group>.<control>` part of `ribbon.hiddenButtons`). */
15063
+ hiddenRibbonControls: ReadonlySet<RibbonControlId>;
14329
15064
  hiddenOptionsPages: ReadonlySet<OptionsPageId>;
14330
15065
  hiddenOptionsSections: ReadonlySet<OptionsSectionId>;
14331
15066
  hiddenSettings: ReadonlySet<OptionsSettingId>;
@@ -14356,10 +15091,18 @@ interface ViewerCustomizationApi {
14356
15091
  updateCustomization(patch: ViewerCustomization): void;
14357
15092
  /** Drop every customisation, back to the stock UI. */
14358
15093
  resetCustomization(): void;
14359
- hideRibbonTab(tab: ToolbarTabId): void;
14360
- showRibbonTab(tab: ToolbarTabId): void;
14361
- hideToolbarButton(button: ToolbarButtonId): void;
14362
- showToolbarButton(button: ToolbarButtonId): void;
15094
+ /** Hide a fixed tab, or stop a contextual tab (`shapeFormat`, ...) from appearing. */
15095
+ hideRibbonTab(tab: ToolbarTabId | RibbonContextualTabId): void;
15096
+ showRibbonTab(tab: ToolbarTabId | RibbonContextualTabId): void;
15097
+ /** Hide a group inside a tab (`home.font`). */
15098
+ hideRibbonGroup(group: RibbonGroupId): void;
15099
+ showRibbonGroup(group: RibbonGroupId): void;
15100
+ /** Hide a top-level toolbar button or any ribbon control (`home.font.bold`). */
15101
+ hideToolbarButton(button: ToolbarButtonId | RibbonControlId): void;
15102
+ showToolbarButton(button: ToolbarButtonId | RibbonControlId): void;
15103
+ /** Alias of `hideToolbarButton` for a ribbon control id. */
15104
+ hideRibbonControl(control: RibbonControlId): void;
15105
+ showRibbonControl(control: RibbonControlId): void;
14363
15106
  hideOptionsPage(page: OptionsPageId): void;
14364
15107
  showOptionsPage(page: OptionsPageId): void;
14365
15108
  hideOptionsSection(section: OptionsSectionId): void;
@@ -14395,6 +15138,39 @@ interface ViewerCustomizationController {
14395
15138
  /** Subscribe to every change; returns the unsubscribe function. */
14396
15139
  subscribe(listener: () => void): () => void;
14397
15140
  }
15141
+ /**
15142
+ * What a gallery needs to know about the deck and the selection. Bindings
15143
+ * build it once per render from state they already hold.
15144
+ */
15145
+ interface RibbonGalleryContext {
15146
+ /** The primary selected element, or null. */
15147
+ element: PptxElement | null;
15148
+ /** `PptxData.themeColorMap`: scheme key -> hex. */
15149
+ themeColorMap?: Readonly<Record<string, string>>;
15150
+ /** `PptxData.theme`. */
15151
+ theme?: PptxTheme;
15152
+ /**
15153
+ * The handler's `resolveStyleMatrixReferences`, bound. Shape Styles use it
15154
+ * to resolve `<p:style>` exactly as the load path does; without it they
15155
+ * fall back to an approximation from `themeColorMap`.
15156
+ */
15157
+ resolveStyleMatrix?: (styleXml: XmlObject) => ResolvedStyleMatrix;
15158
+ }
15159
+ /** What a pick asks the binding to do. */
15160
+ type RibbonGalleryApplyResult = {
15161
+ kind: 'element';
15162
+ elementId: string;
15163
+ /** Merge onto the element with the binding's normal update + history path. */
15164
+ patch: Partial<PptxElement>;
15165
+ } | {
15166
+ kind: 'themeColorScheme';
15167
+ colorScheme: PptxThemeColorScheme;
15168
+ name: string;
15169
+ } | {
15170
+ kind: 'themeFontScheme';
15171
+ fontScheme: PptxThemeFontScheme;
15172
+ name: string;
15173
+ };
14398
15174
  //#endregion
14399
15175
  //#region src/render/inline-text-commit.d.ts
14400
15176
  /**
@@ -14578,5 +15354,5 @@ interface TransitionOverlayParams {
14578
15354
  */
14579
15355
  declare function playTransitionOverlay(params: TransitionOverlayParams): () => void;
14580
15356
  //#endregion
14581
- export { KeyboardCustomization as $, AccessibilityIssue as $n, PptxThemeFontScheme as $r, VIEWER_DIALOG_IDS as $t, CssStyleMap as A, loadPresentationDeck as An, PptxElementAnimation as Ar, RibbonCustomization as At, ElementUpdateOptions as B, resolveTransitionDurationMs as Bn, PptxSection as Br, ShareDefaults as Bt, CollaborationTransport as C, forgetSessionDeck as Cn, PptxCommentMention as Cr, RANDOM_ELIGIBLE_TYPES as Ct, ContextMenuCustomization as D, getSlideTransitionAnimations as Dn, PptxCustomShow as Dr, ResolvedCustomization as Dt, ContextMenuCommandId as E, getSessionTabId as En, PptxCustomProperty as Er, RemoteCursor as Et, ELEMENT_CONTEXT_MENU_COMMAND_IDS as F, rememberSessionDeck as Fn, PptxLayoutPreview as Fr, SLIDE_TRANSITION_KEYFRAMES_CSS as Ft, FreeformToolKind as G, ViewerTheme as Gn, PptxSmartArtNodeStyle as Gr, SlideTransitionAnimations as Gt, ExternalCollaborationSession as H, restoreSessionDeck as Hn, PptxSlideMaster as Hr, SlideSizeEmu as Ht, EditorKeyActionName as I, resolveDirection as In, PptxModernCommentAuthor as Ir, SanitizedPresence as It, INSTANT as J, defaultRadius as Jn, PptxTagCollection as Jr, TRANSITION_SPEED_DURATION_MS as Jt, GradientState as K, ViewerThemeColors as Kn, PptxTableCellStyle as Kr, StrokeToInkElementOpts as Kt, ElementAnimationState as L, resolveDirection8 as Ln, PptxModifyVerifier as Lr, SavedPresentationFormat as Lt, DEFAULT_TRANSITION_DURATION_MS as M, overlayInlineTextSnapshot as Mn, PptxHandoutMaster as Mr, RulerUnit as Mt, EASE as N, parsePresentationSessionId as Nn, PptxHeaderFooter as Nr, RunProgramNotice as Nt, CropElementUpdate as O, isLegacyBinaryPresentation as On, PptxData as Or, ResolvedDirection as Ot, EDITOR_SHORTCUT_ACTION_IDS as P, presentationBaseName as Pn, PptxImageEffects as Pr, SLIDE_TRANSITION_KEYFRAMES as Pt, InsertChartKind as Q, vermilionLightTheme as Qn, PptxThemeColorScheme as Qr, ToolbarTabId as Qt, ElementClipboardPayload as R, resolveOrientation as Rn, PptxNotesMaster as Rr, SessionDeck as Rt, CollaborationShellState as S, describeCollaborationShellState as Sn, PptxCommentAuthor as Sr, PrintSettings as St, ConnectionStatus as T, getP14TransitionAnimations as Tn, PptxCoreProperties as Tr, ReadOnlyRecommendation as Tt, ExternalCollaborationSnapshot as U, savedPresentationFileName as Un, PptxSlideTransition as Ur, SlideSizeRescaleMode as Ut, ExternalCollaborationAwareness as V, resolveWheelSpokeCount as Vn, PptxSlide as Vr, ShortcutChord as Vt, FieldSubstitutionContext as W, ThemeCatalogEntry as Wn, PptxSmartArtData as Wr, SlideTemplateId as Wt, InlineTextEditSnapshot as X, themeToCssVars as Xn, PptxTheme as Xr, ToolbarActionId as Xt, InlineListReadResult as Y, defaultThemeColors as Yn, PptxTextStyleLevels as Yr, TextAdvancedChanges as Yt, InlineTextSelection as Z, vermilionDarkTheme as Zn, PptxThemeColorRef as Zr, ToolbarButtonId as Zt, ChartPartRef as _, WHEEL_SPOKE_COUNTS as _n, PptxAnimationTimingCurve as _r, PasteSpecialFormat as _t, AnimationGroup as a, SmartArtLayout as ai, ViewerCustomizationController as an, ElementAction as ar, OPTIONS_SECTION_IDS as at, CollaborationLivePatcher as b, canInteractWithElement as bn, PptxChartData as br, PresentationPointerTool as bt, BACKSTAGE_PAGE_IDS as c, TextSegment as ci, ViewerFeatureId as cn, OleObjectType as cr, OptionsPageId as ct, BackstagePage as d, ViewerOptionPrimitive as dn, PptxAfterAnimationAction as dr, OptionsSettingValues as dt, PptxThemeOption as ei, VIEWER_EXPORT_FORMAT_IDS as en, MergeShapeOperation as er, MasterViewCrudAction as et, CANVAS_CONTEXT_MENU_COMMAND_IDS as f, ViewerOptionsStore as fn, PptxAnimationDirection as fr, P14_TRANSITION_KEYFRAMES as ft, ChangeCaseMode as g, ViewportFitPadding as gn, PptxAnimationTimelineAnchor as gr, PRESENTATION_OPEN_EXTENSIONS as gt, CanvasSize as h, ViewportFitOptions as hn, PptxAnimationSequence as hr, PPTX_OPEN_ACCEPT as ht, AlignEdge as i, SmartArtColorScheme as ii, ViewerCustomizationApi as in, SvgExportOptions as ir, OPTIONS_PAGE_IDS as it, DEFAULT_MORPH_DURATION_MS as j, loadSessionDeck as jn, PptxEmbeddedFont as jr, RibbonTransitionDraft as jt, CropSession as k, isSupportedPresentationFile as kn, PptxElement as kr, ResolvedDirection8 as kt, BackstageCardId as l, TextStyle as li, ViewerFontSource as ln, OlePptxElement as lr, OptionsSectionId as lt, CanvasContextMenuCommandId as m, ViewerQuickAccessOptions as mn, PptxAnimationRepeatMode as mr, P14_TRANSITION_KEYFRAMES_ALL as mt, playTransitionOverlay as n, PptxViewProperties as ni, VIEWER_PANEL_IDS as nn, PptxHandlerSaveOptions as nr, MobileSheetKey as nt, AutosaveRecord as o, SmartArtLayoutType as oi, ViewerDialogId as on, MasterViewTab as or, OPTIONS_SETTING_IDS as ot, CINEMATIC_TRANSITION_KEYFRAMES as p, ViewerPanelId as pn, PptxAnimationPreset as pr, P14_TRANSITION_KEYFRAMES_2 as pt, Guide as q, defaultCssVars as qn, PptxTableData as qr, TOOLBAR_BUTTON_IDS as qt, AccountAuthConfig as r, ShapeStyle as ri, ViewerCustomization as rn, PptxSaveFormat as rr, ModifyPasswordCheckResult as rt, BACKSTAGE_CARD_IDS as s, TablePptxElement as si, ViewerExportFormatId as sn, MediaPptxElement as sr, OptionsCustomization as st, TransitionOverlayParams as t, PptxTransitionType as ti, VIEWER_FEATURE_IDS as tn, PptxHandler as tr, MasterViewCrudActionId as tt, BackstageCustomization as u, XmlObject as ui, ViewerMode as un, ParsedTableStyleMap as ur, OptionsSettingId as ut, CollabLoadOrigin as v, ZoomNavigationTarget as vn, PptxAnimationTrigger as vr, PowerPointViewerAPI as vt, CompatibilityWarningToast as w, getCinematicTransitionAnimations as wn, PptxCompatibilityWarning as wr, RIBBON_TAB_IDS as wt, CollaborationRole as x, createImageElementFromFile as xn, PptxComment as xr, PresentationSnapshot as xt, CollaborationConfig as y, buildInlineTextCommitPatch as yn, PptxAppProperties as yr, PresentationBlackout as yt, ElementUpdate as z, resolveSlideTransition as zn, PptxPresentationProperties as zr, ShapePresetType as zt };
14582
- //# sourceMappingURL=transition-overlay-ydBEO9eL.d.ts.map
15357
+ export { KeyboardCustomization as $, defaultRadius as $n, PptxTagCollection as $r, TRANSITION_SPEED_DURATION_MS as $t, CssStyleMap as A, getP14TransitionAnimations as An, PptxCoreProperties as Ar, RibbonContextualTabId as At, ElementUpdateOptions as B, rememberSessionDeck as Bn, PptxLayoutPreview as Br, SLIDE_TRANSITION_KEYFRAMES_CSS as Bt, CollaborationTransport as C, ZoomNavigationTarget as Cn, PptxAnimationTrigger as Cr, RANDOM_ELIGIBLE_TYPES as Ct, ContextMenuCustomization as D, describeCollaborationShellState as Dn, PptxCommentAuthor as Dr, ResolvedCustomization as Dt, ContextMenuCommandId as E, createImageElementFromFile as En, PptxComment as Er, RemoteCursor as Et, ELEMENT_CONTEXT_MENU_COMMAND_IDS as F, loadPresentationDeck as Fn, PptxElementAnimation as Fr, RibbonGroupId as Ft, FreeformToolKind as G, resolveTransitionDurationMs as Gn, PptxSection as Gr, ShareDefaults as Gt, ExternalCollaborationSession as H, resolveDirection8 as Hn, PptxModifyVerifier as Hr, SavedPresentationFormat as Ht, EditorKeyActionName as I, loadSessionDeck as In, PptxEmbeddedFont as Ir, RibbonTransitionDraft as It, INSTANT as J, savedPresentationFileName as Jn, PptxSlideTransition as Jr, SlideSizeRescaleMode as Jt, GradientState as K, resolveWheelSpokeCount as Kn, PptxSlide as Kr, ShortcutChord as Kt, ElementAnimationState as L, overlayInlineTextSnapshot as Ln, PptxHandoutMaster as Lr, RulerUnit as Lt, DEFAULT_TRANSITION_DURATION_MS as M, getSlideTransitionAnimations as Mn, PptxCustomShow as Mr, RibbonCustomization as Mt, EASE as N, isLegacyBinaryPresentation as Nn, PptxData as Nr, RibbonGalleryApplyResult as Nt, CropElementUpdate as O, forgetSessionDeck as On, PptxCommentMention as Or, ResolvedDirection as Ot, EDITOR_SHORTCUT_ACTION_IDS as P, isSupportedPresentationFile as Pn, PptxElement as Pr, RibbonGalleryContext as Pt, InsertChartKind as Q, defaultCssVars as Qn, PptxTableData as Qr, TOOLBAR_BUTTON_IDS as Qt, ElementClipboardPayload as R, parsePresentationSessionId as Rn, PptxHeaderFooter as Rr, RunProgramNotice as Rt, CollaborationShellState as S, WHEEL_SPOKE_COUNTS as Sn, PptxAnimationTimingCurve as Sr, PrintSettings as St, ConnectionStatus as T, canInteractWithElement as Tn, PptxChartData as Tr, ReadOnlyRecommendation as Tt, ExternalCollaborationSnapshot as U, resolveOrientation as Un, PptxNotesMaster as Ur, SessionDeck as Ut, ExternalCollaborationAwareness as V, resolveDirection as Vn, PptxModernCommentAuthor as Vr, SanitizedPresence as Vt, FieldSubstitutionContext as W, resolveSlideTransition as Wn, PptxPresentationProperties as Wr, ShapePresetType as Wt, InlineTextEditSnapshot as X, ViewerTheme as Xn, PptxSmartArtNodeStyle as Xr, SlideTransitionAnimations as Xt, InlineListReadResult as Y, ThemeCatalogEntry as Yn, PptxSmartArtData as Yr, SlideTemplateId as Yt, InlineTextSelection as Z, ViewerThemeColors as Zn, PptxTableCellStyle as Zr, StrokeToInkElementOpts as Zt, ChartPartRef as _, ViewerOptionsStore as _n, PptxAnimationDirection as _r, PasteSpecialFormat as _t, AnimationGroup as a, PptxThemeOption as ai, VIEWER_EXPORT_FORMAT_IDS as an, MergeShapeOperation as ar, OPTIONS_SECTION_IDS as at, CollaborationLivePatcher as b, ViewportFitOptions as bn, PptxAnimationSequence as br, PresentationPointerTool as bt, BACKSTAGE_PAGE_IDS as c, ShapeStyle as ci, ViewerCustomization as cn, PptxSaveFormat as cr, OptionsPageId as ct, BackstagePage as d, SmartArtLayoutType as di, ViewerDialogId as dn, MasterViewTab as dr, OptionsSettingValues as dt, PptxTextStyleLevels as ei, TextAdvancedChanges as en, defaultThemeColors as er, MasterViewCrudAction as et, CANVAS_CONTEXT_MENU_COMMAND_IDS as f, TablePptxElement as fi, ViewerExportFormatId as fn, MediaPptxElement as fr, P14_TRANSITION_KEYFRAMES as ft, ChangeCaseMode as g, ViewerOptionPrimitive as gn, PptxAfterAnimationAction as gr, PRESENTATION_OPEN_EXTENSIONS as gt, CanvasSize as h, XmlObject as hi, ViewerMode as hn, ParsedTableStyleMap as hr, PPTX_OPEN_ACCEPT as ht, AlignEdge as i, PptxThemeFontScheme as ii, VIEWER_DIALOG_IDS as in, AccessibilityIssue as ir, OPTIONS_PAGE_IDS as it, DEFAULT_MORPH_DURATION_MS as j, getSessionTabId as jn, PptxCustomProperty as jr, RibbonControlId as jt, CropSession as k, getCinematicTransitionAnimations as kn, PptxCompatibilityWarning as kr, ResolvedDirection8 as kt, BackstageCardId as l, SmartArtColorScheme as li, ViewerCustomizationApi as ln, SvgExportOptions as lr, OptionsSectionId as lt, CanvasContextMenuCommandId as m, TextStyle as mi, ViewerFontSource as mn, OlePptxElement as mr, P14_TRANSITION_KEYFRAMES_ALL as mt, playTransitionOverlay as n, PptxThemeColorRef as ni, ToolbarButtonId as nn, vermilionDarkTheme as nr, MobileSheetKey as nt, AutosaveRecord as o, PptxTransitionType as oi, VIEWER_FEATURE_IDS as on, PptxHandler as or, OPTIONS_SETTING_IDS as ot, CINEMATIC_TRANSITION_KEYFRAMES as p, TextSegment as pi, ViewerFeatureId as pn, OleObjectType as pr, P14_TRANSITION_KEYFRAMES_2 as pt, Guide as q, restoreSessionDeck as qn, PptxSlideMaster as qr, SlideSizeEmu as qt, AccountAuthConfig as r, PptxThemeColorScheme as ri, ToolbarTabId as rn, vermilionLightTheme as rr, ModifyPasswordCheckResult as rt, BACKSTAGE_CARD_IDS as s, PptxViewProperties as si, VIEWER_PANEL_IDS as sn, PptxHandlerSaveOptions as sr, OptionsCustomization as st, TransitionOverlayParams as t, PptxTheme as ti, ToolbarActionId as tn, themeToCssVars as tr, MasterViewCrudActionId as tt, BackstageCustomization as u, SmartArtLayout as ui, ViewerCustomizationController as un, ElementAction as ur, OptionsSettingId as ut, CollabLoadOrigin as v, ViewerPanelId as vn, PptxAnimationPreset as vr, PowerPointViewerAPI as vt, CompatibilityWarningToast as w, buildInlineTextCommitPatch as wn, PptxAppProperties as wr, RIBBON_TAB_IDS as wt, CollaborationRole as x, ViewportFitPadding as xn, PptxAnimationTimelineAnchor as xr, PresentationSnapshot as xt, CollaborationConfig as y, ViewerQuickAccessOptions as yn, PptxAnimationRepeatMode as yr, PresentationBlackout as yt, ElementUpdate as z, presentationBaseName as zn, PptxImageEffects as zr, SLIDE_TRANSITION_KEYFRAMES as zt };
15358
+ //# sourceMappingURL=transition-overlay-D57AQXCk.d.ts.map