pptx-svelte-viewer 2.10.0 → 2.11.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.
@@ -1824,6 +1824,46 @@ Item 3`,
1824
1824
  "pptx.animation.sequence.byParagraph": "By Paragraph",
1825
1825
  "pptx.animation.sequence.byWord": "By Word",
1826
1826
  "pptx.animation.sequence.byLetter": "By Letter",
1827
+ "pptx.animation.motionPath": "Motion Paths",
1828
+ "pptx.animation.motionPath.family.lines": "Lines",
1829
+ "pptx.animation.motionPath.family.arcs": "Arcs",
1830
+ "pptx.animation.motionPath.family.turns": "Turns",
1831
+ "pptx.animation.motionPath.family.shapes": "Shapes",
1832
+ "pptx.animation.motionPath.family.loops": "Loops",
1833
+ "pptx.animation.motionPath.preset.lineRight": "Right",
1834
+ "pptx.animation.motionPath.preset.lineLeft": "Left",
1835
+ "pptx.animation.motionPath.preset.lineDown": "Down",
1836
+ "pptx.animation.motionPath.preset.lineUp": "Up",
1837
+ "pptx.animation.motionPath.preset.lineDiagonalUpRight": "Diagonal Up Right",
1838
+ "pptx.animation.motionPath.preset.lineDiagonalDownRight": "Diagonal Down Right",
1839
+ "pptx.animation.motionPath.preset.lineDiagonalUpLeft": "Diagonal Up Left",
1840
+ "pptx.animation.motionPath.preset.lineDiagonalDownLeft": "Diagonal Down Left",
1841
+ "pptx.animation.motionPath.preset.arcUp": "Arc Up",
1842
+ "pptx.animation.motionPath.preset.arcDown": "Arc Down",
1843
+ "pptx.animation.motionPath.preset.arcRight": "Arc Right",
1844
+ "pptx.animation.motionPath.preset.arcLeft": "Arc Left",
1845
+ "pptx.animation.motionPath.preset.turnUp": "Turn Up",
1846
+ "pptx.animation.motionPath.preset.turnDown": "Turn Down",
1847
+ "pptx.animation.motionPath.preset.turnRight": "Turn Right",
1848
+ "pptx.animation.motionPath.preset.turnLeft": "Turn Left",
1849
+ "pptx.animation.motionPath.preset.sCurve": "S Curve",
1850
+ "pptx.animation.motionPath.preset.zigzag": "Zigzag",
1851
+ "pptx.animation.motionPath.preset.circle": "Circle",
1852
+ "pptx.animation.motionPath.preset.square": "Square",
1853
+ "pptx.animation.motionPath.preset.triangle": "Triangle",
1854
+ "pptx.animation.motionPath.preset.diamond": "Diamond",
1855
+ "pptx.animation.motionPath.preset.hexagon": "Hexagon",
1856
+ "pptx.animation.motionPath.preset.loopDeLoop": "Loop de Loop",
1857
+ "pptx.animation.motionPath.preset.figureEight": "Figure 8",
1858
+ "pptx.animation.motionPath.preset.spiral": "Spiral",
1859
+ "pptx.animation.motionPath.label": "Motion Path",
1860
+ "pptx.animation.motionPath.custom": "Custom Path",
1861
+ "pptx.animation.motionPath.none": "No motion path",
1862
+ "pptx.animation.motionPath.remove": "Remove motion path",
1863
+ "pptx.animation.motionPath.editHint": "Drag the end point on the slide to retarget the path",
1864
+ "pptx.animation.motionPath.endHandle": "Motion path end point",
1865
+ "pptx.animation.motionPath.overlay": "Motion path preview",
1866
+ "pptx.animations.motionPathGalleryAria": "Motion Paths: Lines, Arcs, Turns, Shapes, and Loops",
1827
1867
  "pptx.align.toolbarLabel": "Align and distribute",
1828
1868
  "pptx.arrange.deleteSelection": "Delete selection",
1829
1869
  "pptx.arrange.duplicateSelection": "Duplicate selection",
@@ -1976,6 +2016,11 @@ Item 3`,
1976
2016
  "pptx.view.masterViews": "Master Views",
1977
2017
  "pptx.view.normal": "Normal",
1978
2018
  "pptx.view.presentationViews": "Presentation Views",
2019
+ "pptx.view.outlineView": "Outline View",
2020
+ "pptx.view.outlineViewTooltip": "Outline view: edit the deck as indented text",
2021
+ "pptx.outline.titleLine": "Slide title",
2022
+ "pptx.outline.bodyLine": "Outline line",
2023
+ "pptx.outline.hint": "Tab and Shift+Tab change the level. Enter adds a line; on a title it adds a slide.",
1979
2024
  "pptx.view.readingView": "Reading View",
1980
2025
  "pptx.view.selection": "Selection",
1981
2026
  "pptx.view.slideMasterTooltip": "Edit slide masters and layouts",
@@ -2873,7 +2918,7 @@ Item 3`,
2873
2918
  function n(e) {
2874
2919
  return (e.split(".").pop() ?? e).replace(/(?<lower>[a-z])(?<upper>[A-Z])/gu, "$<lower> $<upper>").replace(/^./u, (t) => t.toUpperCase());
2875
2920
  }
2876
- var d = [
2921
+ var x = [
2877
2922
  {
2878
2923
  code: "en",
2879
2924
  label: "English",
@@ -2895,7 +2940,7 @@ var d = [
2895
2940
  nativeLabel: "Deutsch"
2896
2941
  }
2897
2942
  ], i = /* @__PURE__ */ new Map([["en", r]]);
2898
- function x(e, t) {
2943
+ function d(e, t) {
2899
2944
  const p = i.get(e);
2900
2945
  i.set(e, p ? {
2901
2946
  ...p,
@@ -2921,9 +2966,9 @@ function m(e) {
2921
2966
  export {
2922
2967
  l as a,
2923
2968
  r as c,
2924
- x as i,
2969
+ d as i,
2925
2970
  c as n,
2926
- d as o,
2971
+ x as o,
2927
2972
  s as r,
2928
2973
  n as s,
2929
2974
  m as t
@@ -1 +1 @@
1
- {"version":3,"file":"animation-preview-control.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/animation-preview-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAyB7D;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,CA2CtE;AAED,gFAAgF;AAChF,wBAAgB,oBAAoB,IAAI,IAAI,CAY3C"}
1
+ {"version":3,"file":"animation-preview-control.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/animation-preview-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAgE7D;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAmCtE;AAED,gFAAgF;AAChF,wBAAgB,oBAAoB,IAAI,IAAI,CAY3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"animation-preview-player.d.ts","sourceRoot":"","sources":["../../../../../src/viewer/components/ribbon/animations/animation-preview-player.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAG7D,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,oBAAoB,GAAG,OAAO,CA+BhF"}
1
+ {"version":3,"file":"animation-preview-player.d.ts","sourceRoot":"","sources":["../../../../../src/viewer/components/ribbon/animations/animation-preview-player.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AA0C7D,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,oBAAoB,GAAG,OAAO,CA0BhF"}
@@ -78,6 +78,8 @@ export interface RibbonProps {
78
78
  oncustomshows: () => void;
79
79
  onselectionpane: () => void;
80
80
  onslidesorter: () => void;
81
+ /** View tab > Outline View: the deck as one editable indented text document. */
82
+ onoutlineview?: () => void;
81
83
  /** View tab > Reading View: the deck at full window size, chrome reduced to a nav bar. */
82
84
  onreadingview?: () => void;
83
85
  /** View tab > Normal: leave slide sorter / slide show for the editing view. */
@@ -1 +1 @@
1
- {"version":3,"file":"ribbon-types.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ribbon-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EACX,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,C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AAI,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAErC;;;OAGG;IACH,KAAK,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/B,UAAU,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,KAAK,IAAI,CAAC;IAErD,kEAAkE;IAClE,WAAW,CAAC,EAAE,iBAAiB,CAAC;CAChC"}
@@ -21,5 +21,20 @@ export declare class EditorAnimationController {
21
21
  constructor(editor: EditorState);
22
22
  addAnimation(group: AnimationGroup, preset: PptxAnimationPreset): void;
23
23
  removeAnimation(): void;
24
+ /**
25
+ * Apply a catalogue motion path (ribbon gallery / inspector select) to the
26
+ * selection. A path is NOT one of the three preset buckets: it upserts the
27
+ * `motionPath` field on the same animation entry, so an element can travel a
28
+ * path AND fade in, exactly as PowerPoint allows.
29
+ */
30
+ applyMotionPath(presetId: string): void;
31
+ /**
32
+ * Write a raw path string (the canvas end-handle drag), bypassing the
33
+ * catalogue: a dragged path no longer matches any preset, and pinning it to
34
+ * one would silently discard the drag.
35
+ */
36
+ setMotionPath(path: string): void;
37
+ /** Drop the motion path, and the whole entry when nothing else is left on it. */
38
+ clearMotionPath(): void;
24
39
  }
25
40
  //# sourceMappingURL=editor-animation-controller.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor-animation-controller.d.ts","sourceRoot":"","sources":["../../../src/viewer/editor/editor-animation-controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;;;;;;;;GAcG;AACH,qBAAa,yBAAyB;;gBAGzB,MAAM,EAAE,WAAW;IAI/B,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,mBAAmB,GAAG,IAAI;IAWtE,eAAe,IAAI,IAAI;CAavB"}
1
+ {"version":3,"file":"editor-animation-controller.d.ts","sourceRoot":"","sources":["../../../src/viewer/editor/editor-animation-controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAwB,MAAM,kBAAkB,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;;;;;;;;GAcG;AACH,qBAAa,yBAAyB;;gBAGzB,MAAM,EAAE,WAAW;IAI/B,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,mBAAmB,GAAG,IAAI;IAWtE,eAAe,IAAI,IAAI;IAcvB;;;;;OAKG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAMvC;;;;OAIG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIjC,iFAAiF;IACjF,eAAe,IAAI,IAAI;CAoBvB"}
@@ -10132,6 +10132,21 @@ declare class EditorAnimationController {
10132
10132
  constructor(editor: EditorState);
10133
10133
  addAnimation(group: AnimationGroup, preset: PptxAnimationPreset): void;
10134
10134
  removeAnimation(): void;
10135
+ /**
10136
+ * Apply a catalogue motion path (ribbon gallery / inspector select) to the
10137
+ * selection. A path is NOT one of the three preset buckets: it upserts the
10138
+ * `motionPath` field on the same animation entry, so an element can travel a
10139
+ * path AND fade in, exactly as PowerPoint allows.
10140
+ */
10141
+ applyMotionPath(presetId: string): void;
10142
+ /**
10143
+ * Write a raw path string (the canvas end-handle drag), bypassing the
10144
+ * catalogue: a dragged path no longer matches any preset, and pinning it to
10145
+ * one would silently discard the drag.
10146
+ */
10147
+ setMotionPath(path: string): void;
10148
+ /** Drop the motion path, and the whole entry when nothing else is left on it. */
10149
+ clearMotionPath(): void;
10135
10150
  }
10136
10151
 
10137
10152
  /**
@@ -10922,6 +10937,8 @@ interface RibbonProps {
10922
10937
  oncustomshows: () => void;
10923
10938
  onselectionpane: () => void;
10924
10939
  onslidesorter: () => void;
10940
+ /** View tab > Outline View: the deck as one editable indented text document. */
10941
+ onoutlineview?: () => void;
10925
10942
  /** View tab > Reading View: the deck at full window size, chrome reduced to a nav bar. */
10926
10943
  onreadingview?: () => void;
10927
10944
  /** View tab > Normal: leave slide sorter / slide show for the editing view. */
@@ -11731,6 +11748,8 @@ declare class ViewerParityUiState {
11731
11748
  slideSorterOpen: boolean;
11732
11749
  /** View tab > Reading View: the deck at full window size, not a slide show. */
11733
11750
  readingViewOpen: boolean;
11751
+ /** View tab > Outline View: the deck as one editable indented text document. */
11752
+ outlineViewOpen: boolean;
11734
11753
  showGuides: boolean;
11735
11754
  snapToShape: boolean;
11736
11755
  guides: {
@@ -1,4 +1,4 @@
1
- import { $ as s, D as e, O as a, a as i, c as t, d as l, et as S, f as n, g as v, i as d, k as o, l as b, n as g, o as p, r as c, s as x, t as w, u as T } from "../export-BJONP7vW.js";
1
+ import { $ as s, D as e, O as a, a as i, c as t, d as l, et as S, f as n, g as v, i as d, k as o, l as b, n as g, o as p, r as c, s as x, t as w, u as T } from "../export-LX_HULo-.js";
2
2
  var m = o, P = a, V = e;
3
3
  export {
4
4
  w as PowerPointViewer,
@@ -0,0 +1,41 @@
1
+ import { PptxSlide } from 'pptx-viewer-core';
2
+ import { CanvasSize, OutlineEdit, OutlineRow } from 'pptx-viewer-shared';
3
+ export interface OutlineViewSessionInput {
4
+ getSlides: () => PptxSlide[];
5
+ /** Laid-out size the outline's created title element is sized against. */
6
+ getCanvasSize: () => CanvasSize;
7
+ /** False for a read-only deck, which makes every edit a no-op. */
8
+ canEdit: () => boolean;
9
+ /**
10
+ * Replaces the whole deck. Wired to the binding's generic multi-slide commit
11
+ * (`EditorState.commitSlides`) so an outline edit is one ordinary undo step
12
+ * rather than a second, outline-specific history path.
13
+ */
14
+ onCommit: (slides: PptxSlide[]) => void;
15
+ /** Moves the editor's active slide, so leaving the outline lands on it. */
16
+ onActiveSlide: (index: number) => void;
17
+ }
18
+ export declare class OutlineViewSession {
19
+ #private;
20
+ constructor(input: OutlineViewSessionInput);
21
+ /** The deck's outline. A getter, so reading it in a template tracks the deck. */
22
+ get rows(): OutlineRow[];
23
+ /** Apply one edit, or do nothing when it changes the deck in no way. */
24
+ run(edit: OutlineEdit): void;
25
+ /**
26
+ * Handle one key press inside a row. `preventDefault` is the shared module's
27
+ * call: Tab would otherwise walk out of the outline entirely, and Enter would
28
+ * submit a surrounding form on a host page that has one.
29
+ */
30
+ handleKey(event: KeyboardEvent, rowKey: string): void;
31
+ /**
32
+ * Move the caret to the row the last edit asked for, once that row exists.
33
+ *
34
+ * Rows are matched by comparing the attribute rather than by an attribute
35
+ * selector: a row key embeds `|` separators, and quoting or escaping those
36
+ * into a selector is a per-engine hazard for no gain over a plain scan of a
37
+ * list that is only as long as the deck's text.
38
+ */
39
+ restoreFocus(container: HTMLElement | undefined): void;
40
+ }
41
+ //# sourceMappingURL=outline-view.svelte.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline-view.svelte.d.ts","sourceRoot":"","sources":["../../../src/viewer/state/outline-view.svelte.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAOlD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE9E,MAAM,WAAW,uBAAuB;IACvC,SAAS,EAAE,MAAM,SAAS,EAAE,CAAC;IAC7B,0EAA0E;IAC1E,aAAa,EAAE,MAAM,UAAU,CAAC;IAChC,kEAAkE;IAClE,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACxC,2EAA2E;IAC3E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,qBAAa,kBAAkB;;gBAUlB,KAAK,EAAE,uBAAuB;IAI1C,iFAAiF;IACjF,IAAI,IAAI,IAAI,UAAU,EAAE,CAEvB;IAED,wEAAwE;IACxE,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI;IAe5B;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAUrD;;;;;;;OAOG;IACH,YAAY,CAAC,SAAS,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI;CAetD"}
@@ -20,6 +20,8 @@ export declare class ViewerParityUiState {
20
20
  slideSorterOpen: boolean;
21
21
  /** View tab > Reading View: the deck at full window size, not a slide show. */
22
22
  readingViewOpen: boolean;
23
+ /** View tab > Outline View: the deck as one editable indented text document. */
24
+ outlineViewOpen: boolean;
23
25
  showGuides: boolean;
24
26
  snapToShape: boolean;
25
27
  guides: {
@@ -1 +1 @@
1
- {"version":3,"file":"viewer-parity-ui.svelte.d.ts","sourceRoot":"","sources":["../../../src/viewer/state/viewer-parity-ui.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,6EAA6E;AAC7E,qBAAa,mBAAmB;IAC/B,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,WAAW,0BAAiC;IACrD,QAAQ,CAAC,QAAQ,gBAAuB;IACxC,kBAAkB,UAAiB;IACnC,gBAAgB,UAAiB;IACjC,YAAY,UAAiB;IAC7B,aAAa,UAAiB;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IAC/E,eAAe,UAAiB;IAChC,gFAAgF;IAChF,eAAe,UAAiB;IAChC,UAAU,UAAiB;IAC3B,WAAW,UAAgB;IAC3B,MAAM;cAAkB,GAAG,GAAG,GAAG;kBAAY,MAAM;QAAU;IAC7D,WAAW,oBAAgE;gBAE/D,MAAM,EAAE,WAAW;IAI/B,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIpC,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;CAI9F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-svelte-viewer",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Svelte 5 PowerPoint viewer and editor component: render, edit, present, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "office",