pptx-vue-viewer 1.1.57 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gif-encoder-CcWUggji.js +2 -0
- package/dist/gif-encoder-CcWUggji.js.br +3 -0
- package/dist/gif-encoder-CcWUggji.js.gz +0 -0
- package/dist/gif-encoder-DumqPjSP.cjs +2 -0
- package/dist/gif-encoder-DumqPjSP.cjs.br +0 -0
- package/dist/gif-encoder-DumqPjSP.cjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideCanvas.vue.d.ts +6 -1
- package/dist/viewer/components/SlideCanvas.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts +16 -6
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/composables/collaboration-types.d.ts +5 -0
- package/dist/viewer/composables/collaboration-types.d.ts.map +1 -1
- package/dist/viewer/composables/template-editing.d.ts +39 -16
- package/dist/viewer/composables/template-editing.d.ts.map +1 -1
- package/dist/viewer/composables/useCollaboration.d.ts.map +1 -1
- package/dist/viewer/composables/useEditorHistory.d.ts +5 -1
- package/dist/viewer/composables/useEditorHistory.d.ts.map +1 -1
- package/dist/viewer/composables/useEditorOperations.d.ts +8 -0
- package/dist/viewer/composables/useEditorOperations.d.ts.map +1 -1
- package/dist/viewer/composables/useLoadContent.d.ts +8 -1
- package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-NbF7Qm6F.js → viewer-DGEv39Ny.js} +2317 -2247
- package/dist/viewer-DGEv39Ny.js.br +0 -0
- package/dist/viewer-DGEv39Ny.js.gz +0 -0
- package/dist/{viewer-BuN7D1QY.cjs → viewer-Pr4mhkIE.cjs} +2323 -2253
- package/dist/viewer-Pr4mhkIE.cjs.br +0 -0
- package/dist/viewer-Pr4mhkIE.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/gif-encoder-CzVWhNrA.cjs +0 -2
- package/dist/gif-encoder-CzVWhNrA.cjs.br +0 -0
- package/dist/gif-encoder-CzVWhNrA.cjs.gz +0 -0
- package/dist/gif-encoder-DTPJIT9a.js +0 -2
- package/dist/gif-encoder-DTPJIT9a.js.br +0 -0
- package/dist/gif-encoder-DTPJIT9a.js.gz +0 -0
- package/dist/viewer-BuN7D1QY.cjs.br +0 -0
- package/dist/viewer-BuN7D1QY.cjs.gz +0 -0
- package/dist/viewer-NbF7Qm6F.js.br +0 -0
- package/dist/viewer-NbF7Qm6F.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./viewer-
|
|
2
|
+
const e = require("./viewer-Pr4mhkIE.cjs");
|
|
3
3
|
exports.ElementRenderer = e.ElementRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.cn = e.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.provideViewerTheme = e.provideViewerTheme, exports.themeToCssVars = e.themeToCssVars, exports.useThemeStyle = e.useThemeStyle, exports.useViewerTheme = e.useViewerTheme;
|
package/dist/index.cjs.br
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as a, B as s, F as e, I as r, O as i, P as o, a as t, c as n, k as d, o as l, s as m, t as w } from "./viewer-
|
|
1
|
+
import { A as a, B as s, F as e, I as r, O as i, P as o, a as t, c as n, k as d, o as l, s as m, t as w } from "./viewer-DGEv39Ny.js";
|
|
2
2
|
export { n as ElementRenderer, w as PowerPointViewer, t as SlideCanvas, m as SlideStage, l as cn, o as defaultCssVars, e as defaultRadius, r as defaultThemeColors, i as provideViewerTheme, s as themeToCssVars, d as useThemeStyle, a as useViewerTheme };
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AAikGA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AA6sIjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PptxSlide } from 'pptx-viewer-core';
|
|
1
|
+
import { PptxElement, PptxSlide } from 'pptx-viewer-core';
|
|
2
2
|
import { CanvasSize } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* SlideCanvas - Vue port of the React `SlideCanvas.tsx` (viewer-first subset).
|
|
@@ -22,6 +22,11 @@ type __VLS_Props = {
|
|
|
22
22
|
zoom?: number;
|
|
23
23
|
/** Show the horizontal/vertical rulers along the slide edges (View ▸ Rulers). */
|
|
24
24
|
showRulers?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Master/layout (template) elements for the active slide, rendered by
|
|
27
|
+
* {@link SlideStage} in a dedicated layer behind the slide content.
|
|
28
|
+
*/
|
|
29
|
+
templateElements?: PptxElement[];
|
|
25
30
|
/**
|
|
26
31
|
* When on, master/layout (template) elements become interactive on the canvas
|
|
27
32
|
* and gain a visual affordance. Threaded down to {@link SlideStage}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"AAiIA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAK/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iFAAiF;IACjF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAsIF,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PptxSlide } from 'pptx-viewer-core';
|
|
1
|
+
import { PptxElement, PptxSlide } from 'pptx-viewer-core';
|
|
2
2
|
import { CanvasSize } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* SlideStage - the fixed-size slide surface (background + absolutely-positioned
|
|
@@ -7,6 +7,11 @@ import { CanvasSize } from '../types';
|
|
|
7
7
|
* Extracted so it can be reused at full size by `SlideCanvas` and at tiny scale
|
|
8
8
|
* by the thumbnail rail. It owns no chrome (no centering, margins, or shadow);
|
|
9
9
|
* the host decides layout.
|
|
10
|
+
*
|
|
11
|
+
* Template (master/layout) elements are rendered in a DEDICATED layer behind the
|
|
12
|
+
* slide content (lower z), supplied separately via `templateElements`. They are
|
|
13
|
+
* interactive (and gain the editable affordance) only while `editTemplateMode`
|
|
14
|
+
* is on; otherwise they render but are locked.
|
|
10
15
|
*/
|
|
11
16
|
type __VLS_Props = {
|
|
12
17
|
slide: PptxSlide | undefined;
|
|
@@ -16,15 +21,20 @@ type __VLS_Props = {
|
|
|
16
21
|
/** Mark elements with the `data-pptx-element` interaction hook (main canvas only). */
|
|
17
22
|
interactive?: boolean;
|
|
18
23
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
24
|
+
* Master/layout elements pulled out of the slide at load time, rendered in a
|
|
25
|
+
* dedicated layer behind the slide content.
|
|
26
|
+
*/
|
|
27
|
+
templateElements?: PptxElement[];
|
|
28
|
+
/**
|
|
29
|
+
* When on, the template-layer elements become interactive and gain a visual
|
|
30
|
+
* affordance; when off they render but are locked. Only the main editable
|
|
31
|
+
* canvas threads this through.
|
|
22
32
|
*/
|
|
23
33
|
editTemplateMode?: boolean;
|
|
24
34
|
};
|
|
25
|
-
declare var
|
|
35
|
+
declare var __VLS_11: {};
|
|
26
36
|
type __VLS_Slots = {} & {
|
|
27
|
-
default?: (props: typeof
|
|
37
|
+
default?: (props: typeof __VLS_11) => any;
|
|
28
38
|
};
|
|
29
39
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
30
40
|
scale: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideStage.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideStage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideStage.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideStage.vue"],"names":[],"mappings":"AAuGA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AA2GH,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;WAhIN,MAAM;6EAmId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -20,6 +20,11 @@ export interface UseCollaborationOptions {
|
|
|
20
20
|
* when role === 'owner' and config.onWriteBack is provided.
|
|
21
21
|
*/
|
|
22
22
|
getSourceBytes?: () => Uint8Array | null;
|
|
23
|
+
/**
|
|
24
|
+
* Return the separate per-slide master/layout (template) element store so the
|
|
25
|
+
* elected-writer write-back can merge template edits back into the saved file.
|
|
26
|
+
*/
|
|
27
|
+
getTemplateElements?: () => Record<string, import('pptx-viewer-core').PptxElement[]>;
|
|
23
28
|
}
|
|
24
29
|
/**
|
|
25
30
|
* A remote peer's full presence: identity plus the live cursor, selection and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaboration-types.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/collaboration-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACjF;;;GAGG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAE3E,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAEvD,MAAM,WAAW,uBAAuB;IACvC,oEAAoE;IACpE,MAAM,EAAE,GAAG,CAAC,OAAO,kBAAkB,EAAE,SAAS,EAAE,CAAC,CAAC;IACpD,8DAA8D;IAC9D,cAAc,EAAE,CAAC,MAAM,EAAE,OAAO,kBAAkB,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACzE,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"collaboration-types.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/collaboration-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACjF;;;GAGG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAE3E,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAEvD,MAAM,WAAW,uBAAuB;IACvC,oEAAoE;IACpE,MAAM,EAAE,GAAG,CAAC,OAAO,kBAAkB,EAAE,SAAS,EAAE,CAAC,CAAC;IACpD,8DAA8D;IAC9D,cAAc,EAAE,CAAC,MAAM,EAAE,OAAO,kBAAkB,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACzE,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;IACzC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,kBAAkB,EAAE,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tC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9C;AAGD,MAAM,WAAW,aAAa;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D,SAAS,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC5C,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CAC9C;AAED,MAAM,WAAW,aAAa;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV"}
|
|
@@ -1,23 +1,46 @@
|
|
|
1
|
-
import { PptxElement } from 'pptx-viewer-core';
|
|
1
|
+
import { PptxElement, PptxSlide } from 'pptx-viewer-core';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the export stage and presentation mode pass `false` and gate everything off.
|
|
7
|
-
* - Normal (non-template) slide elements are always interactive when the canvas
|
|
8
|
-
* is.
|
|
9
|
-
* - Template elements are interactive only while `editTemplateMode` is on.
|
|
3
|
+
* Per-slide store of the master/layout (template) elements pulled out of each
|
|
4
|
+
* slide at load time, keyed by `slide.id`. Owned by the load composable and
|
|
5
|
+
* threaded into the render / edit / save / history paths.
|
|
10
6
|
*/
|
|
11
|
-
export
|
|
7
|
+
export type TemplateElementMap = Record<string, PptxElement[]>;
|
|
8
|
+
/** The result of splitting a deck into editable slides + their template store. */
|
|
9
|
+
export interface PartitionedSlides {
|
|
10
|
+
/** Slides whose `.elements` no longer contain any template element. */
|
|
11
|
+
slides: PptxSlide[];
|
|
12
|
+
/** Template elements pulled out of each slide, keyed by `slide.id`. */
|
|
13
|
+
templateElementsBySlideId: TemplateElementMap;
|
|
14
|
+
}
|
|
12
15
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
+
* Split every slide's `elements` into normal content (kept on the slide) and
|
|
17
|
+
* template elements (accumulated into a per-slide store). The core loader merges
|
|
18
|
+
* template elements to the front of `slide.elements` (behind the content); this
|
|
19
|
+
* reverses that merge while preserving order. Pure: returns new arrays and never
|
|
20
|
+
* mutates the input.
|
|
16
21
|
*/
|
|
17
|
-
export declare function
|
|
22
|
+
export declare function partitionTemplateElements(slides: PptxSlide[]): PartitionedSlides;
|
|
23
|
+
/**
|
|
24
|
+
* Re-assemble the slides for serialisation by prepending each slide's template
|
|
25
|
+
* elements (so they sit behind the slide content, matching the core loader's
|
|
26
|
+
* ordering). Every save path must route through this so template edits persist.
|
|
27
|
+
* Pure: returns new slide objects and never mutates the input.
|
|
28
|
+
*/
|
|
29
|
+
export declare function buildSaveSlides(slides: PptxSlide[], templateElementsBySlideId: TemplateElementMap): PptxSlide[];
|
|
30
|
+
/**
|
|
31
|
+
* Immutably replace one slide's template-element list in the map.
|
|
32
|
+
*/
|
|
33
|
+
export declare function setTemplateElements(map: TemplateElementMap, slideId: string, elements: PptxElement[]): TemplateElementMap;
|
|
34
|
+
/**
|
|
35
|
+
* Look up an element by id in the template store for a given slide. Returns
|
|
36
|
+
* `undefined` when the slide has no template store or the id is absent.
|
|
37
|
+
*/
|
|
38
|
+
export declare function findTemplateElement(map: TemplateElementMap, slideId: string | undefined, elementId: string): PptxElement | undefined;
|
|
18
39
|
/**
|
|
19
|
-
* Whether the element
|
|
20
|
-
*
|
|
40
|
+
* Whether the element id may be selected on the canvas. Template ids
|
|
41
|
+
* (`master-` / `layout-` prefix) are selectable only while edit-template mode is
|
|
42
|
+
* on; normal ids are always selectable. Keyed on the id alone, for the
|
|
43
|
+
* pointer-down delegation path (which only knows the `data-element-id`).
|
|
21
44
|
*/
|
|
22
|
-
export declare function
|
|
45
|
+
export declare function isElementIdInteractive(elementId: string, editTemplateMode: boolean): boolean;
|
|
23
46
|
//# sourceMappingURL=template-editing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-editing.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/template-editing.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"template-editing.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/template-editing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG/D;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;AAE/D,kFAAkF;AAClF,MAAM,WAAW,iBAAiB;IACjC,uEAAuE;IACvE,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,uEAAuE;IACvE,yBAAyB,EAAE,kBAAkB,CAAC;CAC9C;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,iBAAiB,CAYhF;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC9B,MAAM,EAAE,SAAS,EAAE,EACnB,yBAAyB,EAAE,kBAAkB,GAC3C,SAAS,EAAE,CAQb;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAClC,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,WAAW,EAAE,GACrB,kBAAkB,CAEpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAClC,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,SAAS,EAAE,MAAM,GACf,WAAW,GAAG,SAAS,CAKzB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,GAAG,OAAO,CAE5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCollaboration.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useCollaboration.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EACX,uBAAuB,EACvB,sBAAsB,EAItB,cAAc,EACd,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useCollaboration.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useCollaboration.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EACX,uBAAuB,EACvB,sBAAsB,EAItB,cAAc,EACd,MAAM,uBAAuB,CAAC;AAqB/B,YAAY,EAAE,cAAc,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,CAAC;AAEhF,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,sBAAsB,CAwVzF"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PptxSlide } from 'pptx-viewer-core';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { TemplateElementMap } from './template-editing';
|
|
3
4
|
export interface EditorHistoryResult {
|
|
4
5
|
/** True when there is at least one snapshot to undo to. */
|
|
5
6
|
canUndo: ComputedRef<boolean>;
|
|
@@ -20,6 +21,9 @@ export interface EditorHistoryResult {
|
|
|
20
21
|
/**
|
|
21
22
|
* @param slides Reactive reference to the live slide array the editor mutates.
|
|
22
23
|
* A `shallowRef` is recommended for large decks.
|
|
24
|
+
* @param templateElementsBySlideId Optional reactive store of the per-slide
|
|
25
|
+
* master/layout (template) elements, snapshotted alongside slides
|
|
26
|
+
* so edits in `editTemplateMode` are undoable.
|
|
23
27
|
*/
|
|
24
|
-
export declare function useEditorHistory(slides: Ref<PptxSlide[]>): EditorHistoryResult;
|
|
28
|
+
export declare function useEditorHistory(slides: Ref<PptxSlide[]>, templateElementsBySlideId?: Ref<TemplateElementMap>): EditorHistoryResult;
|
|
25
29
|
//# sourceMappingURL=useEditorHistory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditorHistory.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useEditorHistory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"useEditorHistory.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useEditorHistory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA2C7D,MAAM,WAAW,mBAAmB;IACnC,2DAA2D;IAC3D,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,2DAA2D;IAC3D,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B;;;OAGG;IACH,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,4EAA4E;IAC5E,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,4EAA4E;IAC5E,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,oEAAoE;IACpE,YAAY,EAAE,MAAM,IAAI,CAAC;CACzB;AAeD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,EACxB,yBAAyB,CAAC,EAAE,GAAG,CAAC,kBAAkB,CAAC,GACjD,mBAAmB,CA8ErB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PptxElement, PptxSlide } from 'pptx-viewer-core';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { TemplateElementMap } from './template-editing';
|
|
3
4
|
/**
|
|
4
5
|
* useEditorOperations: element CRUD + transform operations over the active
|
|
5
6
|
* slide of a reactive `PptxSlide[]`.
|
|
@@ -44,6 +45,13 @@ export interface UseEditorOperationsInput {
|
|
|
44
45
|
* deselected. When omitted, an internally-owned selection ref is used.
|
|
45
46
|
*/
|
|
46
47
|
selectedElementIds?: Ref<string[]>;
|
|
48
|
+
/**
|
|
49
|
+
* Optional separate store of the per-slide master/layout (template) elements.
|
|
50
|
+
* When provided, id-routed operations (update / remove / transform / text /
|
|
51
|
+
* z-order) targeting a template id (`master-` / `layout-` prefix) mutate this
|
|
52
|
+
* store for the active slide instead of `slides`.
|
|
53
|
+
*/
|
|
54
|
+
templateElementsBySlideId?: Ref<TemplateElementMap>;
|
|
47
55
|
}
|
|
48
56
|
export interface EditorOperations {
|
|
49
57
|
/** Resolved active slide (or `undefined` when the index is out of range). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditorOperations.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useEditorOperations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"useEditorOperations.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useEditorOperations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG/D,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,K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6EAA6E;IAC7E,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtE;;;OAGG;IACH,gBAAgB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAC5D,qEAAqE;IACrE,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,sEAAsE;IACtE,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,8EAA8E;IAC9E,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9E;AAMD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,gBAAgB,CAgOrF"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ParsedSignature, ParsedTableStyleMap, PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxEmbeddedFont, PptxHandoutMaster, PptxHeaderFooter, PptxLayoutOption, PptxNotesMaster, PptxSaveFormat, PptxSection, PptxSlide, PptxSlideMaster, PptxTheme, PptxHandler } from 'pptx-viewer-core';
|
|
2
2
|
import { MaybeRefOrGetter, Ref, ShallowRef } from 'vue';
|
|
3
3
|
import { CanvasSize } from '../types';
|
|
4
|
+
import { TemplateElementMap } from './template-editing';
|
|
4
5
|
/**
|
|
5
6
|
* `useLoadContent`: Vue port of the React hook of the same name.
|
|
6
7
|
*
|
|
@@ -21,8 +22,14 @@ import { CanvasSize } from '../types';
|
|
|
21
22
|
* added here as the corresponding features are ported.
|
|
22
23
|
*/
|
|
23
24
|
export interface UseLoadContentResult {
|
|
24
|
-
/** Parsed slides (with image Blob URLs patched in). */
|
|
25
|
+
/** Parsed slides (with image Blob URLs patched in), template elements removed. */
|
|
25
26
|
slides: ShallowRef<PptxSlide[]>;
|
|
27
|
+
/**
|
|
28
|
+
* Master/layout (template) elements pulled out of each slide at load time,
|
|
29
|
+
* keyed by `slide.id`. Edited in `editTemplateMode` and merged back (behind the
|
|
30
|
+
* slide content) by every save path via {@link buildSaveSlides}.
|
|
31
|
+
*/
|
|
32
|
+
templateElementsBySlideId: ShallowRef<TemplateElementMap>;
|
|
26
33
|
/** Slide canvas size in pixels. */
|
|
27
34
|
canvasSize: Ref<CanvasSize>;
|
|
28
35
|
/** Resolved presentation theme. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadContent.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useLoadContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EAEd,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EAET,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAyC,MAAM,kBAAkB,CAAC;AAEtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAG7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useLoadContent.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useLoadContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EAEd,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,cA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(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../viewer-
|
|
2
|
+
const e = require("../viewer-Pr4mhkIE.cjs");
|
|
3
3
|
exports.ChartRenderer = e.ChartRenderer_default, exports.ConnectorRenderer = e.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = e.ElementRenderer_default, exports.EquationRenderer = e.EquationRenderer_default, exports.InkRenderer = e.InkRenderer_default, exports.Model3DRenderer = e.Model3DRenderer_default, exports.OleRenderer = e.OleRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.SmartArtRenderer = e.SmartArtRenderer_default, exports.TableRenderer = e.TableRenderer_default, exports.WordArtText = e.WordArtText_default, exports.ZoomRenderer = e.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.getContainerStyle = e.getContainerStyle, exports.getImageSrc = e.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = e.getShapeFillStrokeStyle, exports.getTextBlockStyle = e.getTextBlockStyle, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as a, D as s, E as e, M as r, N as n, R as d, S as t, T as o, _ as R, a as i, b as l, c as m, d as S, f as w, g as C, h as p, i as v, j as x, l as E, m as T, n as b, p as c, r as f, s as g, t as h, u as j, v as u, w as A, x as D, y as M, z as P } from "../viewer-
|
|
1
|
+
import { C as a, D as s, E as e, M as r, N as n, R as d, S as t, T as o, _ as R, a as i, b as l, c as m, d as S, f as w, g as C, h as p, i as v, j as x, l as E, m as T, n as b, p as c, r as f, s as g, t as h, u as j, v as u, w as A, x as D, y as M, z as P } from "../viewer-DGEv39Ny.js";
|
|
2
2
|
export { u as ChartRenderer, R as ConnectorRenderer, a as DEFAULT_CANVAS_HEIGHT, A as DEFAULT_CANVAS_WIDTH, o as DEFAULT_FILL_COLOR, e as DEFAULT_STROKE_COLOR, s as DEFAULT_TEXT_COLOR, m as ElementRenderer, C as EquationRenderer, p as InkRenderer, T as Model3DRenderer, c as OleRenderer, h as PowerPointViewer, i as SlideCanvas, g as SlideStage, w as SmartArtRenderer, S as TableRenderer, j as WordArtText, E as ZoomRenderer, x as buildInitialGuides, r as collectImagePaths, n as collectMediaElements, M as getContainerStyle, l as getImageSrc, d as getResolvedShapeClipPath, P as getResolvedShapeClipPathFor, D as getShapeFillStrokeStyle, t as getTextBlockStyle, v as useEditorHistory, f as useEditorOperations, b as useLoadContent };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|