pptx-vue-viewer 1.1.16 → 1.1.17
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/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/CustomShowsPanel.vue.d.ts +27 -0
- package/dist/viewer/components/CustomShowsPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/HandoutMasterPanel.vue.d.ts +13 -0
- package/dist/viewer/components/HandoutMasterPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/HeaderFooterPanel.vue.d.ts +14 -0
- package/dist/viewer/components/HeaderFooterPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/MasterViewSidebar.vue.d.ts +29 -0
- package/dist/viewer/components/MasterViewSidebar.vue.d.ts.map +1 -0
- package/dist/viewer/components/NotesMasterPanel.vue.d.ts +8 -0
- package/dist/viewer/components/NotesMasterPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/SectionList.vue.d.ts +34 -0
- package/dist/viewer/components/SectionList.vue.d.ts.map +1 -0
- package/dist/viewer/components/SlideMastersList.vue.d.ts +19 -0
- package/dist/viewer/components/SlideMastersList.vue.d.ts.map +1 -0
- package/dist/viewer/components/SlidesPaneControls.vue.d.ts +2 -2
- package/dist/viewer/composables/useCustomShows.d.ts +51 -0
- package/dist/viewer/composables/useCustomShows.d.ts.map +1 -0
- package/dist/viewer/composables/useLoadContent.d.ts +11 -1
- package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
- package/dist/viewer/composables/useSectionOperations.d.ts +67 -0
- package/dist/viewer/composables/useSectionOperations.d.ts.map +1 -0
- 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-CZvXHM4n.js → viewer-DsS1t0uW.js} +6330 -5300
- package/dist/viewer-DsS1t0uW.js.br +0 -0
- package/dist/viewer-DsS1t0uW.js.gz +0 -0
- package/dist/{viewer-C4oRgY8q.cjs → viewer-miZPKBfD.cjs} +9802 -8772
- package/dist/viewer-miZPKBfD.cjs.br +0 -0
- package/dist/viewer-miZPKBfD.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/viewer-C4oRgY8q.cjs.br +0 -0
- package/dist/viewer-C4oRgY8q.cjs.gz +0 -0
- package/dist/viewer-CZvXHM4n.js.br +0 -0
- package/dist/viewer-CZvXHM4n.js.gz +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./viewer-
|
|
2
|
+
const e = require("./viewer-miZPKBfD.cjs");
|
|
3
3
|
let r = require("clsx"), t = require("tailwind-merge");
|
|
4
4
|
exports.ElementRenderer = e.ElementRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.cn = function(...e) {
|
|
5
5
|
return (0, t.twMerge)((0, r.clsx)(e));
|
package/dist/index.cjs.br
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, F as s, N as e, P as r, R as i, S as o, a as t, o as m, s as n, t as l, w } from "./viewer-
|
|
1
|
+
import { C as a, F as s, N as e, P as r, R as i, S as o, a as t, o as m, s as n, t as l, w } from "./viewer-DsS1t0uW.js";
|
|
2
2
|
import { clsx as d } from "clsx";
|
|
3
3
|
import { twMerge as f } from "tailwind-merge";
|
|
4
4
|
function p(...a) {
|
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":"AAgjDA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AAy/EjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PptxCustomShow, PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** All custom shows. */
|
|
4
|
+
customShows: PptxCustomShow[];
|
|
5
|
+
/** All slides, used to render the membership checklist. */
|
|
6
|
+
slides: PptxSlide[];
|
|
7
|
+
/** Id of the currently selected show, or `null`. */
|
|
8
|
+
activeShowId: string | null;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
select: (showId: string) => any;
|
|
12
|
+
create: (name: string) => any;
|
|
13
|
+
rename: (showId: string, name: string) => any;
|
|
14
|
+
delete: (showId: string) => any;
|
|
15
|
+
"toggle-slide": (showId: string, slideRId: string) => any;
|
|
16
|
+
"move-slide": (showId: string, from: number, to: number) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onSelect?: ((showId: string) => any) | undefined;
|
|
19
|
+
onCreate?: ((name: string) => any) | undefined;
|
|
20
|
+
onRename?: ((showId: string, name: string) => any) | undefined;
|
|
21
|
+
onDelete?: ((showId: string) => any) | undefined;
|
|
22
|
+
"onToggle-slide"?: ((showId: string, slideRId: string) => any) | undefined;
|
|
23
|
+
"onMove-slide"?: ((showId: string, from: number, to: number) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=CustomShowsPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomShowsPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/CustomShowsPanel.vue"],"names":[],"mappings":"AA8WA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlE,KAAK,WAAW,GAAG;IAClB,wBAAwB;IACxB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,2DAA2D;IAC3D,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,oDAAoD;IACpD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AA2VF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PptxHandoutMaster } from 'pptx-viewer-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
handoutMaster: PptxHandoutMaster | undefined;
|
|
4
|
+
slidesPerPage: number;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"slides-per-page-change": (count: number) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onSlides-per-page-change"?: ((count: number) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=HandoutMasterPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandoutMasterPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/HandoutMasterPanel.vue"],"names":[],"mappings":"AA+KA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,KAAK,WAAW,GAAG;IAClB,aAAa,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC7C,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC;AAuIF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PptxHeaderFooter } from 'pptx-viewer-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
headerFooter: PptxHeaderFooter | undefined;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
update: (next: PptxHeaderFooter) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
onUpdate?: ((next: PptxHeaderFooter) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=HeaderFooterPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderFooterPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/HeaderFooterPanel.vue"],"names":[],"mappings":"AAAA,OA8QO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,KAAK,WAAW,GAAG;IAClB,YAAY,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC3C,CAAC;AAwOF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PptxSlideMaster, PptxNotesMaster, PptxHandoutMaster, MasterViewTab } from 'pptx-viewer-core';
|
|
2
|
+
import { CanvasSize } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
slideMasters: PptxSlideMaster[];
|
|
5
|
+
activeMasterIndex: number;
|
|
6
|
+
activeLayoutIndex: number | null;
|
|
7
|
+
canvasSize: CanvasSize;
|
|
8
|
+
mediaDataUrls: Map<string, string>;
|
|
9
|
+
masterViewTab: MasterViewTab;
|
|
10
|
+
notesMaster: PptxNotesMaster | undefined;
|
|
11
|
+
handoutMaster: PptxHandoutMaster | undefined;
|
|
12
|
+
handoutSlidesPerPage: number;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
collapse: () => any;
|
|
16
|
+
"select-master": (index: number) => any;
|
|
17
|
+
"select-layout": (masterIndex: number, layoutIndex: number) => any;
|
|
18
|
+
"tab-change": (tab: MasterViewTab) => any;
|
|
19
|
+
"handout-slides-per-page-change": (count: number) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onCollapse?: (() => any) | undefined;
|
|
22
|
+
"onSelect-master"?: ((index: number) => any) | undefined;
|
|
23
|
+
"onSelect-layout"?: ((masterIndex: number, layoutIndex: number) => any) | undefined;
|
|
24
|
+
"onTab-change"?: ((tab: MasterViewTab) => any) | undefined;
|
|
25
|
+
"onHandout-slides-per-page-change"?: ((count: number) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=MasterViewSidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MasterViewSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/MasterViewSidebar.vue"],"names":[],"mappings":"AA8MA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EACX,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,KAAK,WAAW,GAAG;IAClB,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,eAAe,GAAG,SAAS,CAAC;IACzC,aAAa,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC7C,oBAAoB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAsLF,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PptxNotesMaster } from 'pptx-viewer-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
notesMaster: PptxNotesMaster | undefined;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=NotesMasterPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotesMasterPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/NotesMasterPanel.vue"],"names":[],"mappings":"AAyJA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD,KAAK,WAAW,GAAG;IAClB,WAAW,EAAE,eAAe,GAAG,SAAS,CAAC;CACzC,CAAC;AA6HF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SectionGroup } from '../composables/useSectionOperations';
|
|
2
|
+
import { CanvasSize } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Slides grouped by section (from `useSectionOperations().slidesBySection`). */
|
|
5
|
+
groups: SectionGroup[];
|
|
6
|
+
/** Canvas dimensions, for scaling thumbnails. */
|
|
7
|
+
canvasSize: CanvasSize;
|
|
8
|
+
/** Media data-URL map, threaded to `SlideStage`. */
|
|
9
|
+
mediaDataUrls: Map<string, string>;
|
|
10
|
+
/** Index of the currently active slide (for highlighting). */
|
|
11
|
+
activeIndex: number;
|
|
12
|
+
/** When false, edit affordances (rename/add/move/delete) are hidden. */
|
|
13
|
+
canEdit?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
select: (index: number) => any;
|
|
17
|
+
rename: (sectionId: string, name: string) => any;
|
|
18
|
+
delete: (sectionId: string) => any;
|
|
19
|
+
"toggle-collapse": (sectionId: string) => any;
|
|
20
|
+
"move-up": (sectionId: string) => any;
|
|
21
|
+
"move-down": (sectionId: string) => any;
|
|
22
|
+
"add-section": (afterSlideIndex: number) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onSelect?: ((index: number) => any) | undefined;
|
|
25
|
+
onRename?: ((sectionId: string, name: string) => any) | undefined;
|
|
26
|
+
onDelete?: ((sectionId: string) => any) | undefined;
|
|
27
|
+
"onToggle-collapse"?: ((sectionId: string) => any) | undefined;
|
|
28
|
+
"onMove-up"?: ((sectionId: string) => any) | undefined;
|
|
29
|
+
"onMove-down"?: ((sectionId: string) => any) | undefined;
|
|
30
|
+
"onAdd-section"?: ((afterSlideIndex: number) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=SectionList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionList.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SectionList.vue"],"names":[],"mappings":"AA0dA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,KAAK,WAAW,GAAG;IAClB,iFAAiF;IACjF,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,iDAAiD;IACjD,UAAU,EAAE,UAAU,CAAC;IACvB,oDAAoD;IACpD,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAkXF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PptxSlideMaster } from 'pptx-viewer-core';
|
|
2
|
+
import { CanvasSize } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
slideMasters: PptxSlideMaster[];
|
|
5
|
+
activeMasterIndex: number;
|
|
6
|
+
activeLayoutIndex: number | null;
|
|
7
|
+
canvasSize: CanvasSize;
|
|
8
|
+
mediaDataUrls: Map<string, string>;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"select-master": (index: number) => any;
|
|
12
|
+
"select-layout": (masterIndex: number, layoutIndex: number) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onSelect-master"?: ((index: number) => any) | undefined;
|
|
15
|
+
"onSelect-layout"?: ((masterIndex: number, layoutIndex: number) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=SlideMastersList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlideMastersList.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideMastersList.vue"],"names":[],"mappings":"AAsPA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAa,eAAe,EAAmB,MAAM,kBAAkB,CAAC;AAIpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,KAAK,WAAW,GAAG;IAClB,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC,CAAC;AAsOF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -4,12 +4,12 @@ type __VLS_Props = {
|
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
6
|
add: () => any;
|
|
7
|
-
duplicate: () => any;
|
|
8
7
|
delete: () => any;
|
|
8
|
+
duplicate: () => any;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
10
|
onAdd?: (() => any) | undefined;
|
|
11
|
-
onDuplicate?: (() => any) | undefined;
|
|
12
11
|
onDelete?: (() => any) | undefined;
|
|
12
|
+
onDuplicate?: (() => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PptxCustomShow, PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* `useCustomShows` — list/create/rename/delete custom slide shows plus editing
|
|
5
|
+
* the ordered slide-id list of a show.
|
|
6
|
+
*
|
|
7
|
+
* Vue port of the React `useDialogCustomShows` hook (`packages/react/src/
|
|
8
|
+
* viewer/hooks/useDialogCustomShows.ts`). A {@link PptxCustomShow} names an
|
|
9
|
+
* ordered subset of slides (by relationship id) that can be presented
|
|
10
|
+
* independently of the full deck.
|
|
11
|
+
*
|
|
12
|
+
* The composable is DOM-free and unit-testable: it never prompts. Names are
|
|
13
|
+
* supplied by the caller (the React hook used `window.prompt`; in Vue that
|
|
14
|
+
* lives in the component). Each mutating operation snapshots undo/redo history
|
|
15
|
+
* *first* (via `pushHistory`) and reassigns `customShows.value` with a fresh
|
|
16
|
+
* array so `shallowRef`-backed state stays reactive.
|
|
17
|
+
*/
|
|
18
|
+
export interface UseCustomShowsInput {
|
|
19
|
+
/** Reactive custom-show list (typically a `shallowRef<PptxCustomShow[]>`). */
|
|
20
|
+
customShows: Ref<PptxCustomShow[]>;
|
|
21
|
+
/** Reactive slide list, used to resolve slide relationship ids. */
|
|
22
|
+
slides: Ref<PptxSlide[]>;
|
|
23
|
+
/** Index of the currently focused slide. */
|
|
24
|
+
activeSlideIndex: Ref<number>;
|
|
25
|
+
/** Snapshot current state onto the undo stack before mutating. */
|
|
26
|
+
pushHistory: () => void;
|
|
27
|
+
}
|
|
28
|
+
export interface UseCustomShowsResult {
|
|
29
|
+
/**
|
|
30
|
+
* Create a new custom show. When `seedWithActiveSlide` (default `true`) and
|
|
31
|
+
* the active slide carries an `rId`, that slide seeds the show. Returns the
|
|
32
|
+
* id of the created show.
|
|
33
|
+
*/
|
|
34
|
+
createCustomShow: (name: string, seedWithActiveSlide?: boolean) => string;
|
|
35
|
+
/** Rename the custom show with id `showId`. No-op when the show is missing. */
|
|
36
|
+
renameCustomShow: (showId: string, newName: string) => void;
|
|
37
|
+
/** Delete the custom show with id `showId`. */
|
|
38
|
+
deleteCustomShow: (showId: string) => void;
|
|
39
|
+
/** Toggle whether the slide (by relationship id) is in the show. */
|
|
40
|
+
toggleSlideInShow: (showId: string, slideRId: string) => void;
|
|
41
|
+
/** Replace a show's ordered slide-relationship-id list wholesale. */
|
|
42
|
+
setShowSlides: (showId: string, slideRIds: string[]) => void;
|
|
43
|
+
/** Move a slide within a show's order from `from` to `to`. */
|
|
44
|
+
moveSlideInShow: (showId: string, from: number, to: number) => void;
|
|
45
|
+
/** Whether the active slide is currently part of the given show. */
|
|
46
|
+
isActiveSlideInShow: (showId: string) => boolean;
|
|
47
|
+
/** The relationship id of the active slide, if any. */
|
|
48
|
+
activeSlideRId: ComputedRef<string | undefined>;
|
|
49
|
+
}
|
|
50
|
+
export declare function useCustomShows(input: UseCustomShowsInput): UseCustomShowsResult;
|
|
51
|
+
//# sourceMappingURL=useCustomShows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCustomShows.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useCustomShows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE5C;;;;;;;;;;;;;;GAcG;AAMH,MAAM,WAAW,mBAAmB;IACnC,8EAA8E;IAC9E,WAAW,EAAE,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;IACnC,mEAAmE;IACnE,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACzB,4CAA4C;IAC5C,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,kEAAkE;IAClE,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACpC;;;;OAIG;IACH,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,OAAO,KAAK,MAAM,CAAC;IAC1E,+EAA+E;IAC/E,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,+CAA+C;IAC/C,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,oEAAoE;IACpE,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,qEAAqE;IACrE,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7D,8DAA8D;IAC9D,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpE,oEAAoE;IACpE,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IACjD,uDAAuD;IACvD,cAAc,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAeD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,oBAAoB,CAgH/E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ParsedSignature, ParsedTableStyleMap, PptxCoreProperties, PptxEmbeddedFont, PptxSlide, PptxSlideMaster, PptxTheme, PptxHandler } from 'pptx-viewer-core';
|
|
1
|
+
import { ParsedSignature, ParsedTableStyleMap, PptxCoreProperties, PptxCustomShow, PptxEmbeddedFont, PptxHandoutMaster, PptxHeaderFooter, PptxNotesMaster, PptxSection, PptxSlide, PptxSlideMaster, PptxTheme, PptxHandler } from 'pptx-viewer-core';
|
|
2
2
|
import { MaybeRefOrGetter, Ref, ShallowRef } from 'vue';
|
|
3
3
|
import { CanvasSize } from '../types';
|
|
4
4
|
/**
|
|
@@ -51,6 +51,16 @@ export interface UseLoadContentResult {
|
|
|
51
51
|
* header colour resolution by table-style GUID.
|
|
52
52
|
*/
|
|
53
53
|
tableStyleMap: ShallowRef<ParsedTableStyleMap | undefined>;
|
|
54
|
+
/** Ordered presentation sections (`p:sectionLst`), empty when none. */
|
|
55
|
+
sections: ShallowRef<PptxSection[]>;
|
|
56
|
+
/** Named custom slide shows (`p:custShowLst`), empty when none. */
|
|
57
|
+
customShows: ShallowRef<PptxCustomShow[]>;
|
|
58
|
+
/** Presentation-level header/footer settings, or `undefined`. */
|
|
59
|
+
headerFooter: ShallowRef<PptxHeaderFooter | undefined>;
|
|
60
|
+
/** Parsed notes master, or `undefined` when absent. */
|
|
61
|
+
notesMaster: ShallowRef<PptxNotesMaster | undefined>;
|
|
62
|
+
/** Parsed handout master, or `undefined` when absent. */
|
|
63
|
+
handoutMaster: ShallowRef<PptxHandoutMaster | undefined>;
|
|
54
64
|
/** Serialise the current presentation back to `.pptx` bytes. */
|
|
55
65
|
getContent: () => Promise<Uint8Array>;
|
|
56
66
|
}
|
|
@@ -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,kBAAkB,
|
|
1
|
+
{"version":3,"file":"useLoadContent.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useLoadContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EAEd,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,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;AA6B3C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,oBAAoB;IACpC,uDAAuD;IACvD,MAAM,EAAE,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;IAChC,mCAAmC;IACnC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC5B,mCAAmC;IACnC,KAAK,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,6DAA6D;IAC7D,YAAY,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;IAC5C,oEAAoE;IACpE,aAAa,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/C,sCAAsC;IACtC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACtB,wDAAwD;IACxD,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1B,wEAAwE;IACxE,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1B,4DAA4D;IAC5D,OAAO,EAAE,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACxC,gEAAgE;IAChE,cAAc,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC3D,mDAAmD;IACnD,aAAa,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAC9C,uDAAuD;IACvD,UAAU,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;IAC1C;;;;OAIG;IACH,aAAa,EAAE,UAAU,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC3D,uEAAuE;IACvE,QAAQ,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACpC,mEAAmE;IACnE,WAAW,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;IAC1C,iEAAiE;IACjE,YAAY,EAAE,UAAU,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACvD,uDAAuD;IACvD,WAAW,EAAE,UAAU,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACrD,yDAAyD;IACzD,aAAa,EAAE,UAAU,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACzD,gEAAgE;IAChE,UAAU,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;CACtC;AAED,wBAAgB,cAAc,CAC7B,OAAO,EAAE,gBAAgB,CAAC,UAAU,GAAG,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,GACpE,oBAAoB,CAkRtB"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { PptxSection, PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* `useSectionOperations` — CRUD + grouping for slide sections in the Vue editor.
|
|
5
|
+
*
|
|
6
|
+
* Vue port of the React `useSectionOperations` hook (`packages/react/src/
|
|
7
|
+
* viewer/hooks/useSectionOperations.ts`). It mirrors that hook's operation set
|
|
8
|
+
* and semantics:
|
|
9
|
+
*
|
|
10
|
+
* - `addSection` — insert a new section after a slide, claiming the run of
|
|
11
|
+
* contiguous slides that share the slide's current section.
|
|
12
|
+
* - `renameSection` — rename a section and propagate the name to its slides.
|
|
13
|
+
* - `deleteSection` — remove a section, merging its slides into the previous
|
|
14
|
+
* section (or clearing the section on its slides when it was the first).
|
|
15
|
+
* - `moveSectionUp` / `moveSectionDown` — reorder a section by one position.
|
|
16
|
+
* - `moveSlidesToSection` — reassign a set of slides (by index) to a section.
|
|
17
|
+
* - `toggleSectionCollapse` — flip the `collapsed` flag on a section.
|
|
18
|
+
* - `slidesBySection` — a computed grouping of slides keyed by their section.
|
|
19
|
+
*
|
|
20
|
+
* The composable is DOM-free and operates purely on the reactive model so it is
|
|
21
|
+
* unit-testable in isolation. Each mutating operation snapshots undo/redo
|
|
22
|
+
* history *first* (via the supplied `pushHistory`, the Vue equivalent of the
|
|
23
|
+
* React hook's `markDirty`) and then reassigns `sections.value` / `slides.value`
|
|
24
|
+
* with fresh arrays so `shallowRef`-backed state triggers reactivity.
|
|
25
|
+
*/
|
|
26
|
+
export interface UseSectionOperationsInput {
|
|
27
|
+
/** Reactive section list (typically a `shallowRef<PptxSection[]>`). */
|
|
28
|
+
sections: Ref<PptxSection[]>;
|
|
29
|
+
/** Reactive slide list (typically a `shallowRef<PptxSlide[]>`). */
|
|
30
|
+
slides: Ref<PptxSlide[]>;
|
|
31
|
+
/** Index of the currently focused slide. */
|
|
32
|
+
activeSlideIndex: Ref<number>;
|
|
33
|
+
/** Snapshot current state onto the undo stack before mutating. */
|
|
34
|
+
pushHistory: () => void;
|
|
35
|
+
}
|
|
36
|
+
/** A section paired with the ordered slides that belong to it. */
|
|
37
|
+
export interface SectionGroup {
|
|
38
|
+
/** The owning section, or `undefined` for the leading no-section group. */
|
|
39
|
+
section: PptxSection | undefined;
|
|
40
|
+
/** Slides (in deck order) that belong to this group. */
|
|
41
|
+
slides: PptxSlide[];
|
|
42
|
+
/** 0-based indices into the slide list for each slide in this group. */
|
|
43
|
+
slideIndexes: number[];
|
|
44
|
+
}
|
|
45
|
+
export interface UseSectionOperationsResult {
|
|
46
|
+
/**
|
|
47
|
+
* Insert a new section after the slide at `afterSlideIndex`, claiming that
|
|
48
|
+
* slide and the following contiguous run that shares its current section.
|
|
49
|
+
*/
|
|
50
|
+
addSection: (name: string, afterSlideIndex: number) => void;
|
|
51
|
+
/** Rename a section and propagate the name to its slides. */
|
|
52
|
+
renameSection: (sectionId: string, newName: string) => void;
|
|
53
|
+
/** Remove a section, merging its slides into the previous section. */
|
|
54
|
+
deleteSection: (sectionId: string) => void;
|
|
55
|
+
/** Move a section one position earlier in the list. */
|
|
56
|
+
moveSectionUp: (sectionId: string) => void;
|
|
57
|
+
/** Move a section one position later in the list. */
|
|
58
|
+
moveSectionDown: (sectionId: string) => void;
|
|
59
|
+
/** Reassign the slides at `slideIndexes` to the target section. */
|
|
60
|
+
moveSlidesToSection: (slideIndexes: number[], targetSectionId: string) => void;
|
|
61
|
+
/** Flip the `collapsed` flag on a section. */
|
|
62
|
+
toggleSectionCollapse: (sectionId: string) => void;
|
|
63
|
+
/** Slides grouped by section, in deck order (leading no-section group first). */
|
|
64
|
+
slidesBySection: ComputedRef<SectionGroup[]>;
|
|
65
|
+
}
|
|
66
|
+
export declare function useSectionOperations(input: UseSectionOperationsInput): UseSectionOperationsResult;
|
|
67
|
+
//# sourceMappingURL=useSectionOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSectionOperations.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useSectionOperations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,MAAM,WAAW,yBAAyB;IACzC,uEAAuE;IACvE,QAAQ,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7B,mEAAmE;IACnE,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACzB,4CAA4C;IAC5C,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,kEAAkE;IAClE,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,kEAAkE;AAClE,MAAM,WAAW,YAAY;IAC5B,2EAA2E;IAC3E,OAAO,EAAE,WAAW,GAAG,SAAS,CAAC;IACjC,wDAAwD;IACxD,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,wEAAwE;IACxE,YAAY,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,0BAA0B;IAC1C;;;OAGG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,6DAA6D;IAC7D,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,sEAAsE;IACtE,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,uDAAuD;IACvD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,qDAAqD;IACrD,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,mEAAmE;IACnE,mBAAmB,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/E,8CAA8C;IAC9C,qBAAqB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,iFAAiF;IACjF,eAAe,EAAE,WAAW,CAAC,YAAY,EAAE,CAAC,CAAC;CAC7C;AA8BD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,GAAG,0BAA0B,CA+LjG"}
|
package/dist/viewer/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-miZPKBfD.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 { A as a, D as s, E as e, I as r, L as n, M as d, O as o, T as t, _ as R, a as i, b as l, c as m, d as S, f as p, g as v, h as w, i as x, j as A, k as C, l as E, m as T, n as b, o as c, p as f, r as g, s as h, t as j, u as k, v as u, x as D, y as I } from "../viewer-
|
|
1
|
+
import { A as a, D as s, E as e, I as r, L as n, M as d, O as o, T as t, _ as R, a as i, b as l, c as m, d as S, f as p, g as v, h as w, i as x, j as A, k as C, l as E, m as T, n as b, o as c, p as f, r as g, s as h, t as j, u as k, v as u, x as D, y as I } from "../viewer-DsS1t0uW.js";
|
|
2
2
|
export { R as ChartRenderer, v as ConnectorRenderer, t as DEFAULT_CANVAS_HEIGHT, e as DEFAULT_CANVAS_WIDTH, s as DEFAULT_FILL_COLOR, o as DEFAULT_STROKE_COLOR, C as DEFAULT_TEXT_COLOR, h as ElementRenderer, w as EquationRenderer, T as InkRenderer, f as Model3DRenderer, p as OleRenderer, j as PowerPointViewer, i as SlideCanvas, c as SlideStage, S as SmartArtRenderer, k as TableRenderer, E as WordArtText, m as ZoomRenderer, a as buildInitialGuides, A as collectImagePaths, d as collectMediaElements, u as getContainerStyle, I as getImageSrc, r as getResolvedShapeClipPath, n as getResolvedShapeClipPathFor, l as getShapeFillStrokeStyle, D as getTextBlockStyle, x as useEditorHistory, g as useEditorOperations, b as useLoadContent };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|