pptx-vue-viewer 1.1.15 → 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/DocumentPropertiesCustomTab.vue.d.ts +21 -0
- package/dist/viewer/components/DocumentPropertiesCustomTab.vue.d.ts.map +1 -0
- package/dist/viewer/components/DocumentPropertiesDialog.vue.d.ts +51 -0
- package/dist/viewer/components/DocumentPropertiesDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/DocumentPropertiesGeneralTab.vue.d.ts +34 -0
- package/dist/viewer/components/DocumentPropertiesGeneralTab.vue.d.ts.map +1 -0
- package/dist/viewer/components/DocumentPropertiesStatisticsTab.vue.d.ts +17 -0
- package/dist/viewer/components/DocumentPropertiesStatisticsTab.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/PresentationAnnotationOverlay.vue.d.ts +39 -0
- package/dist/viewer/components/PresentationAnnotationOverlay.vue.d.ts.map +1 -0
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationSubtitleBar.vue.d.ts +7 -0
- package/dist/viewer/components/PresentationSubtitleBar.vue.d.ts.map +1 -0
- package/dist/viewer/components/PresentationToolbar.vue.d.ts +49 -0
- package/dist/viewer/components/PresentationToolbar.vue.d.ts.map +1 -0
- package/dist/viewer/components/PresenterView.vue.d.ts +30 -0
- package/dist/viewer/components/PresenterView.vue.d.ts.map +1 -0
- package/dist/viewer/components/PrintDialog.vue.d.ts +19 -0
- package/dist/viewer/components/PrintDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/PrintSettingsPanel.vue.d.ts +35 -0
- package/dist/viewer/components/PrintSettingsPanel.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/ShortcutPanel.vue.d.ts +12 -0
- package/dist/viewer/components/ShortcutPanel.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/components/print-dialog-types.d.ts +73 -0
- package/dist/viewer/components/print-dialog-types.d.ts.map +1 -0
- package/dist/viewer/composables/presentation-toolbar-utils.d.ts +30 -0
- package/dist/viewer/composables/presentation-toolbar-utils.d.ts.map +1 -0
- package/dist/viewer/composables/presenter-view-utils.d.ts +34 -0
- package/dist/viewer/composables/presenter-view-utils.d.ts.map +1 -0
- package/dist/viewer/composables/useCustomShows.d.ts +51 -0
- package/dist/viewer/composables/useCustomShows.d.ts.map +1 -0
- package/dist/viewer/composables/useDocumentStatistics.d.ts +56 -0
- package/dist/viewer/composables/useDocumentStatistics.d.ts.map +1 -0
- package/dist/viewer/composables/useKeyboardShortcuts.d.ts +137 -0
- package/dist/viewer/composables/useKeyboardShortcuts.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/usePresentationAnnotations.d.ts +69 -0
- package/dist/viewer/composables/usePresentationAnnotations.d.ts.map +1 -0
- package/dist/viewer/composables/usePrint.d.ts +44 -0
- package/dist/viewer/composables/usePrint.d.ts.map +1 -0
- package/dist/viewer/composables/useRehearseTimings.d.ts +57 -0
- package/dist/viewer/composables/useRehearseTimings.d.ts.map +1 -0
- 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-Bpxq5Oc5.js → viewer-DsS1t0uW.js} +13003 -10094
- package/dist/viewer-DsS1t0uW.js.br +0 -0
- package/dist/viewer-DsS1t0uW.js.gz +0 -0
- package/dist/{viewer-y-czgCly.cjs → viewer-miZPKBfD.cjs} +11072 -8163
- package/dist/viewer-miZPKBfD.cjs.br +0 -0
- package/dist/viewer-miZPKBfD.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/viewer/components/PropertiesDialog.vue.d.ts +0 -32
- package/dist/viewer/components/PropertiesDialog.vue.d.ts.map +0 -1
- package/dist/viewer-Bpxq5Oc5.js.br +0 -0
- package/dist/viewer-Bpxq5Oc5.js.gz +0 -0
- package/dist/viewer-y-czgCly.cjs.br +0 -0
- package/dist/viewer-y-czgCly.cjs.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,21 @@
|
|
|
1
|
+
import { PptxCustomProperty } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* DocumentPropertiesCustomTab — add/remove/edit user-defined custom properties.
|
|
4
|
+
*
|
|
5
|
+
* Vue counterpart of React's `DocumentPropertiesCustomTab`. Renders an editable
|
|
6
|
+
* grid of name/value/type rows. Boolean-typed properties render a yes/no
|
|
7
|
+
* dropdown; numeric types use a `number` input. The parent owns the draft
|
|
8
|
+
* array — every mutation emits the full updated list.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
/** Current draft list of custom properties. */
|
|
12
|
+
customProperties: PptxCustomProperty[];
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
update: (next: PptxCustomProperty[]) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onUpdate?: ((next: PptxCustomProperty[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=DocumentPropertiesCustomTab.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPropertiesCustomTab.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/DocumentPropertiesCustomTab.vue"],"names":[],"mappings":"AAAA,OA4OO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAU3D;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,+CAA+C;IAC/C,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;CACvC,CAAC;AA+MF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* Payload emitted on save. Mirrors the React `onSave(core, custom, app?)`
|
|
4
|
+
* signature, collapsed into a single patch object so the host can apply it in
|
|
5
|
+
* one call. `app` is only present when manager/company changed.
|
|
6
|
+
*/
|
|
7
|
+
export interface DocumentPropertiesSavePatch {
|
|
8
|
+
/** Full edited core-properties draft. */
|
|
9
|
+
core: PptxCoreProperties;
|
|
10
|
+
/** Full edited custom-properties list. */
|
|
11
|
+
custom: PptxCustomProperty[];
|
|
12
|
+
/** Edited app properties (manager/company) — omitted when unchanged. */
|
|
13
|
+
app?: Pick<PptxAppProperties, 'manager' | 'company'>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* DocumentPropertiesDialog — the full tabbed Document Properties dialog.
|
|
17
|
+
*
|
|
18
|
+
* Vue port of React's `DocumentPropertiesDialog`, built on `ModalDialog`. Three
|
|
19
|
+
* tabs:
|
|
20
|
+
* - **General** — editable core metadata (title/subject/author/keywords/
|
|
21
|
+
* comments/category) plus app-level manager/company.
|
|
22
|
+
* - **Statistics** — read-only counts computed live from the slide model
|
|
23
|
+
* (`computeDocumentStatistics`) + timestamps/revision from core properties.
|
|
24
|
+
* - **Custom** — add/remove/edit user-defined custom properties.
|
|
25
|
+
*
|
|
26
|
+
* Draft state is held locally and re-seeded each time the dialog opens; nothing
|
|
27
|
+
* is committed until the user clicks Save, which emits a single
|
|
28
|
+
* {@link DocumentPropertiesSavePatch}. A dirty check disables no-op saves.
|
|
29
|
+
*/
|
|
30
|
+
type __VLS_Props = {
|
|
31
|
+
/** Whether the dialog is visible. */
|
|
32
|
+
open: boolean;
|
|
33
|
+
/** Parsed document core properties. */
|
|
34
|
+
coreProperties: PptxCoreProperties | undefined;
|
|
35
|
+
/** Parsed custom properties (defaults to empty). */
|
|
36
|
+
customProperties?: PptxCustomProperty[];
|
|
37
|
+
/** Parsed app properties — only manager/company are editable here. */
|
|
38
|
+
appProperties?: PptxAppProperties;
|
|
39
|
+
/** Live slide model, used to compute the Statistics tab. */
|
|
40
|
+
slides: PptxSlide[];
|
|
41
|
+
};
|
|
42
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
43
|
+
close: () => any;
|
|
44
|
+
save: (patch: DocumentPropertiesSavePatch) => any;
|
|
45
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
|
+
onClose?: (() => any) | undefined;
|
|
47
|
+
onSave?: ((patch: DocumentPropertiesSavePatch) => any) | undefined;
|
|
48
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
50
|
+
export default _default;
|
|
51
|
+
//# sourceMappingURL=DocumentPropertiesDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPropertiesDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/DocumentPropertiesDialog.vue"],"names":[],"mappings":"AAoRA,OAAO,KAAK,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,MAAM,kBAAkB,CAAC;AAa1B;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC3C,yCAAyC;IACzC,IAAI,EAAE,kBAAkB,CAAC;IACzB,0CAA0C;IAC1C,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,wEAAwE;IACxE,GAAG,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,SAAS,CAAC,CAAC;CACrD;AAED;;;;;;;;;;;;;;GAcG;AACH,KAAK,WAAW,GAAG;IAClB,qCAAqC;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,uCAAuC;IACvC,cAAc,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACxC,sEAAsE;IACtE,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,4DAA4D;IAC5D,MAAM,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAgTF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PptxCoreProperties } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* Editable core-property keys surfaced on the General tab. `manager` and
|
|
4
|
+
* `company` live on `PptxAppProperties`, not `PptxCoreProperties`, so they are
|
|
5
|
+
* handled by their own model props below.
|
|
6
|
+
*/
|
|
7
|
+
export type GeneralCoreKey = 'title' | 'subject' | 'creator' | 'keywords' | 'description' | 'category';
|
|
8
|
+
/**
|
|
9
|
+
* DocumentPropertiesGeneralTab — the editable metadata tab.
|
|
10
|
+
*
|
|
11
|
+
* Edits the core-property fields (title/subject/author/keywords/comments/
|
|
12
|
+
* category) plus the app-level manager/company. The parent owns the draft
|
|
13
|
+
* state; this tab is a controlled form that emits granular field updates.
|
|
14
|
+
*/
|
|
15
|
+
type __VLS_Props = {
|
|
16
|
+
/** Draft core properties (controlled by the parent dialog). */
|
|
17
|
+
core: PptxCoreProperties;
|
|
18
|
+
/** Draft manager (app property). */
|
|
19
|
+
manager: string;
|
|
20
|
+
/** Draft company (app property). */
|
|
21
|
+
company: string;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update-core": (key: GeneralCoreKey, value: string) => void;
|
|
25
|
+
"update-manager": (value: string) => void;
|
|
26
|
+
"update-company": (value: string) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
+
"onUpdate-core"?: ((key: GeneralCoreKey, value: string) => any) | undefined;
|
|
29
|
+
"onUpdate-manager"?: ((value: string) => any) | undefined;
|
|
30
|
+
"onUpdate-company"?: ((value: string) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=DocumentPropertiesGeneralTab.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPropertiesGeneralTab.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/DocumentPropertiesGeneralTab.vue"],"names":[],"mappings":"AAmKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACvB,OAAO,GACP,SAAS,GACT,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,CAAC;AAiBd;;;;;;GAMG;AACH,KAAK,WAAW,GAAG;IAClB,+DAA+D;IAC/D,IAAI,EAAE,kBAAkB,CAAC;IACzB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;CAChB,CAAC;AAkJF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DocumentStatistics } from '../composables/useDocumentStatistics';
|
|
2
|
+
/**
|
|
3
|
+
* DocumentPropertiesStatisticsTab — read-only computed statistics.
|
|
4
|
+
*
|
|
5
|
+
* Vue counterpart of React's `DocumentPropertiesStatisticsTab`, but the counts
|
|
6
|
+
* are computed live from the slide model (see `useDocumentStatistics`) rather
|
|
7
|
+
* than read from the often-stale `docProps/app.xml`. Renders created/modified
|
|
8
|
+
* timestamps, revision, and slide/note/word/paragraph/element counts.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
/** Computed statistics for the loaded presentation. */
|
|
12
|
+
statistics: DocumentStatistics;
|
|
13
|
+
};
|
|
14
|
+
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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=DocumentPropertiesStatisticsTab.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPropertiesStatisticsTab.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/DocumentPropertiesStatisticsTab.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,uDAAuD;IACvD,UAAU,EAAE,kBAAkB,CAAC;CAC/B,CAAC;AAiFF,QAAA,MAAM,YAAY,kSAEhB,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,39 @@
|
|
|
1
|
+
import { AnnotationStroke, LaserPosition, PresentationTool } from '../composables/usePresentationAnnotations';
|
|
2
|
+
import { CanvasSize } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PresentationAnnotationOverlay — transparent SVG overlay drawn on top of the
|
|
5
|
+
* slide during presentation mode. Captures pointer events for the
|
|
6
|
+
* pen/highlighter/eraser tools and renders the laser-pointer dot. Vue port of
|
|
7
|
+
* the React `PresentationAnnotationOverlay`.
|
|
8
|
+
*
|
|
9
|
+
* Coordinate conversion divides client coordinates by `editorScale` so emitted
|
|
10
|
+
* points are in the slide's unscaled coordinate space (matching
|
|
11
|
+
* `usePresentationAnnotations`). Renders `null` (nothing) when the tool is
|
|
12
|
+
* `'none'`.
|
|
13
|
+
*/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
canvasSize: CanvasSize;
|
|
16
|
+
editorScale: number;
|
|
17
|
+
presentationTool: PresentationTool;
|
|
18
|
+
annotationStrokes: AnnotationStroke[];
|
|
19
|
+
currentStroke: AnnotationStroke | null;
|
|
20
|
+
laserPosition: LaserPosition | null;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
+
"pointer-down": (x: number, y: number) => any;
|
|
24
|
+
"pointer-move": (x: number, y: number) => any;
|
|
25
|
+
"pointer-up": () => any;
|
|
26
|
+
"laser-move": (x: number, y: number) => any;
|
|
27
|
+
"laser-leave": () => any;
|
|
28
|
+
erase: (x: number, y: number) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onPointer-down"?: ((x: number, y: number) => any) | undefined;
|
|
31
|
+
"onPointer-move"?: ((x: number, y: number) => any) | undefined;
|
|
32
|
+
"onPointer-up"?: (() => any) | undefined;
|
|
33
|
+
"onLaser-move"?: ((x: number, y: number) => any) | undefined;
|
|
34
|
+
"onLaser-leave"?: (() => any) | undefined;
|
|
35
|
+
onErase?: ((x: number, y: number) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
39
|
+
//# sourceMappingURL=PresentationAnnotationOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresentationAnnotationOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationAnnotationOverlay.vue"],"names":[],"mappings":"AA6MA,OAAO,KAAK,EACX,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C;;;;;;;;;;GAUG;AACH,KAAK,WAAW,GAAG;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IACtC,aAAa,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACvC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;CACpC,CAAC;AA+MF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationMode.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationMode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresentationMode.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationMode.vue"],"names":[],"mappings":"AAsiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAOlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAO3C;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmnBH,QAAA,MAAM,YAAY;;;;;;;gBApnBH,MAAM;6EAwnBnB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
};
|
|
4
|
+
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>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=PresentationSubtitleBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresentationSubtitleBar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationSubtitleBar.vue"],"names":[],"mappings":"AAmPA,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAwIF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PresentationTool } from '../composables/usePresentationAnnotations';
|
|
2
|
+
/**
|
|
3
|
+
* PresentationToolbar — floating control bar shown during presentation mode.
|
|
4
|
+
*
|
|
5
|
+
* Contains prev/next navigation, a slide counter, an elapsed timer, the
|
|
6
|
+
* annotation-tool toggles (laser / pen / highlighter / eraser) with colour
|
|
7
|
+
* dropdowns, a clear-all button, an optional presenter-view toggle, and an
|
|
8
|
+
* end-presentation button. Vue port of the React `PresentationToolbar`.
|
|
9
|
+
*
|
|
10
|
+
* The auto-hide-on-idle behaviour lives in the host (it owns the container
|
|
11
|
+
* geometry); this component is the always-mounted bar.
|
|
12
|
+
*/
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
presentationTool: PresentationTool;
|
|
15
|
+
penColor: string;
|
|
16
|
+
highlighterColor: string;
|
|
17
|
+
hasAnnotations: boolean;
|
|
18
|
+
currentSlideIndex: number;
|
|
19
|
+
totalSlides: number;
|
|
20
|
+
/** Timestamp (ms) the presentation started, or `null`. */
|
|
21
|
+
presentationStartTime: number | null;
|
|
22
|
+
/** Whether presenter view is currently active. */
|
|
23
|
+
presenterMode?: boolean;
|
|
24
|
+
/** Whether to show the presenter-view toggle button. */
|
|
25
|
+
showPresenterToggle?: boolean;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
|
+
move: (direction: 1 | -1) => any;
|
|
29
|
+
"set-tool": (tool: PresentationTool) => any;
|
|
30
|
+
"set-pen-color": (color: string) => any;
|
|
31
|
+
"set-highlighter-color": (color: string) => any;
|
|
32
|
+
"clear-annotations": () => any;
|
|
33
|
+
"end-presentation": () => any;
|
|
34
|
+
"toggle-presenter-view": () => any;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
+
onMove?: ((direction: 1 | -1) => any) | undefined;
|
|
37
|
+
"onSet-tool"?: ((tool: PresentationTool) => any) | undefined;
|
|
38
|
+
"onSet-pen-color"?: ((color: string) => any) | undefined;
|
|
39
|
+
"onSet-highlighter-color"?: ((color: string) => any) | undefined;
|
|
40
|
+
"onClear-annotations"?: (() => any) | undefined;
|
|
41
|
+
"onEnd-presentation"?: (() => any) | undefined;
|
|
42
|
+
"onToggle-presenter-view"?: (() => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
presenterMode: boolean;
|
|
45
|
+
showPresenterToggle: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
//# sourceMappingURL=PresentationToolbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresentationToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationToolbar.vue"],"names":[],"mappings":"AAseA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAElF;;;;;;;;;;GAUG;AACH,KAAK,WAAW,GAAG;IACjB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,kDAAkD;IAClD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,wDAAwD;IACxD,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAuZH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;mBA1ZA,OAAO;yBAED,OAAO;6EA4Z7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { CanvasSize } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PresenterView — split-screen presenter layout: current slide (left, 70%) plus
|
|
5
|
+
* a control rail (right, 30%) with the wall-clock time, elapsed timer, prev/next
|
|
6
|
+
* navigation, a next-slide preview, scalable speaker notes, and a 5-minute
|
|
7
|
+
* timer progress bar. Vue port of the React `PresenterView`.
|
|
8
|
+
*
|
|
9
|
+
* Rendered as an absolute overlay by the host (`PresentationMode`). Keyboard
|
|
10
|
+
* navigation is owned by the host; this component only emits navigation /
|
|
11
|
+
* exit intents.
|
|
12
|
+
*/
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
slides: PptxSlide[];
|
|
15
|
+
currentSlideIndex: number;
|
|
16
|
+
canvasSize: CanvasSize;
|
|
17
|
+
mediaDataUrls: Map<string, string>;
|
|
18
|
+
/** Timestamp (ms) the presentation started, or `null`. */
|
|
19
|
+
presentationStartTime: number | null;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
+
exit: () => any;
|
|
23
|
+
move: (direction: 1 | -1) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onExit?: (() => any) | undefined;
|
|
26
|
+
onMove?: ((direction: 1 | -1) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=PresenterView.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresenterView.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresenterView.vue"],"names":[],"mappings":"AAkhBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAalD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,0DAA0D;IAC1D,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC,CAAC;AA0aF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { PrintSettings } from './print-dialog-types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
slides: PptxSlide[];
|
|
6
|
+
activeSlideIndex: number;
|
|
7
|
+
defaultSlidesPerPage?: number;
|
|
8
|
+
defaultFrameSlides?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
close: () => any;
|
|
12
|
+
print: (settings: PrintSettings) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
onPrint?: ((settings: PrintSettings) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=PrintDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrintDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PrintDialog.vue"],"names":[],"mappings":"AAuVA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAYlD,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,sBAAsB,CAAC;AAG9B,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAuXF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HandoutSlidesPerPage, PrintColorMode, PrintOrientation, PrintSlideRange, PrintWhat } from './print-dialog-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
printWhat: PrintWhat;
|
|
4
|
+
orientation: PrintOrientation;
|
|
5
|
+
colorMode: PrintColorMode;
|
|
6
|
+
frameSlides: boolean;
|
|
7
|
+
slidesPerPage: HandoutSlidesPerPage;
|
|
8
|
+
slideRange: PrintSlideRange;
|
|
9
|
+
customFrom: number;
|
|
10
|
+
customTo: number;
|
|
11
|
+
totalSlides: number;
|
|
12
|
+
activeSlideIndex: number;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:printWhat": (value: PrintWhat) => any;
|
|
16
|
+
"update:orientation": (value: PrintOrientation) => any;
|
|
17
|
+
"update:colorMode": (value: PrintColorMode) => any;
|
|
18
|
+
"update:frameSlides": (value: boolean) => any;
|
|
19
|
+
"update:slidesPerPage": (value: HandoutSlidesPerPage) => any;
|
|
20
|
+
"update:slideRange": (value: PrintSlideRange) => any;
|
|
21
|
+
"update:customFrom": (value: number) => any;
|
|
22
|
+
"update:customTo": (value: number) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:printWhat"?: ((value: PrintWhat) => any) | undefined;
|
|
25
|
+
"onUpdate:orientation"?: ((value: PrintOrientation) => any) | undefined;
|
|
26
|
+
"onUpdate:colorMode"?: ((value: PrintColorMode) => any) | undefined;
|
|
27
|
+
"onUpdate:frameSlides"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
"onUpdate:slidesPerPage"?: ((value: HandoutSlidesPerPage) => any) | undefined;
|
|
29
|
+
"onUpdate:slideRange"?: ((value: PrintSlideRange) => any) | undefined;
|
|
30
|
+
"onUpdate:customFrom"?: ((value: number) => any) | undefined;
|
|
31
|
+
"onUpdate:customTo"?: ((value: number) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=PrintSettingsPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrintSettingsPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PrintSettingsPanel.vue"],"names":[],"mappings":"AAwYA,OAAO,KAAK,EACX,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,MAAM,sBAAsB,CAAC;AAE9B,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,cAAc,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,oBAAoB,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AA2WF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;kFAGhB,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,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Whether the help overlay is visible. */
|
|
3
|
+
open: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ShortcutPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShortcutPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ShortcutPanel.vue"],"names":[],"mappings":"AAwOA,KAAK,WAAW,GAAG;IAClB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAC;CACd,CAAC;AA0MF,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;
|