pptx-vue-viewer 1.1.14 → 1.1.16
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/ChartRenderer.vue.d.ts +6 -4
- package/dist/viewer/components/ChartRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ConnectorRenderer.vue.d.ts +4 -3
- package/dist/viewer/components/ConnectorRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ConnectorTextOverlay.vue.d.ts +26 -0
- package/dist/viewer/components/ConnectorTextOverlay.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/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/ShortcutPanel.vue.d.ts +12 -0
- package/dist/viewer/components/ShortcutPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/ChartTrendlines.vue.d.ts +28 -0
- package/dist/viewer/components/chart/ChartTrendlines.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/RegionMapChart.vue.d.ts +17 -0
- package/dist/viewer/components/chart/RegionMapChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/SurfaceChart.vue.d.ts +25 -0
- package/dist/viewer/components/chart/SurfaceChart.vue.d.ts.map +1 -0
- 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/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 +7 -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/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-DDcaEXYx.cjs → viewer-C4oRgY8q.cjs} +5527 -2781
- package/dist/viewer-C4oRgY8q.cjs.br +0 -0
- package/dist/viewer-C4oRgY8q.cjs.gz +0 -0
- package/dist/{viewer-Bi7iG1IX.js → viewer-CZvXHM4n.js} +10279 -7533
- package/dist/viewer-CZvXHM4n.js.br +0 -0
- package/dist/viewer-CZvXHM4n.js.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-Bi7iG1IX.js.br +0 -0
- package/dist/viewer-Bi7iG1IX.js.gz +0 -0
- package/dist/viewer-DDcaEXYx.cjs.br +0 -0
- package/dist/viewer-DDcaEXYx.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-C4oRgY8q.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-CZvXHM4n.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":"AAi3CA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AA8lEjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -20,13 +20,15 @@ import { PptxElement } from 'pptx-viewer-core';
|
|
|
20
20
|
* - stock (HLC / OHLC) — React `chart-stock.tsx`
|
|
21
21
|
* - histogram — React `chart-bar.tsx`
|
|
22
22
|
* - boxWhisker — React `chart-bar.tsx`
|
|
23
|
+
* - surface — isometric SVG mesh (`SurfaceChart.vue`)
|
|
24
|
+
* - regionMap — choropleth map (`RegionMapChart.vue`)
|
|
25
|
+
* - trendlines (regression overlays) — React `chart-trendlines.tsx`
|
|
23
26
|
* - chrome (title, axes, gridlines, legend, data labels) — `chart-chrome.tsx`
|
|
24
27
|
*
|
|
25
28
|
* Remaining TODOs:
|
|
26
|
-
* // TODO(vue): port
|
|
27
|
-
* //
|
|
28
|
-
* //
|
|
29
|
-
* // TODO(vue): port secondary axes + data tables + log/display-unit axes
|
|
29
|
+
* // TODO(vue): port secondary axes (right-hand value axis for series on a
|
|
30
|
+
* // second axisId) + data tables. Log/display-unit value axes are also not
|
|
31
|
+
* // yet honoured — the value axis is always linear.
|
|
30
32
|
*/
|
|
31
33
|
type __VLS_Props = {
|
|
32
34
|
element: PptxElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ChartRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ChartRenderer.vue"],"names":[],"mappings":"AAi/BA,OAAO,KAAK,EAAgC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA+BlF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC,CAAC;AAooCF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -15,9 +15,10 @@ import { PptxElement } from 'pptx-viewer-core';
|
|
|
15
15
|
* Flip is baked into the path geometry (not a CSS transform) so arrowheads
|
|
16
16
|
* point the right way for both straight and multi-segment connectors.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* Connector labels (a non-empty `<p:txBody>` on the connector) render via the
|
|
19
|
+
* {@link ConnectorTextOverlay} child, centred over the bounding box.
|
|
20
|
+
*
|
|
21
|
+
* Not yet ported (TODO, see PORTING.md): line shadows/glow effects.
|
|
21
22
|
*/
|
|
22
23
|
type __VLS_Props = {
|
|
23
24
|
element: PptxElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConnectorRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorRenderer.vue"],"names":[],"mappings":"AAoSA,OAAO,KAAK,EAAsB,WAAW,EAA0B,MAAM,kBAAkB,CAAC;AAchG;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAmUF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TextSegment, TextStyle } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* ConnectorTextOverlay — Vue port of the React `ConnectorTextOverlay`.
|
|
4
|
+
*
|
|
5
|
+
* Renders a connector's label text centred over its bounding box. PowerPoint
|
|
6
|
+
* lets authors attach a text run to a connector (`<p:cxnSp>` with a non-empty
|
|
7
|
+
* `<p:txBody>`); the label is painted on top of the connector path, centred
|
|
8
|
+
* both horizontally and vertically within the element box.
|
|
9
|
+
*
|
|
10
|
+
* The overlay is a plain absolutely-positioned flex container (not part of the
|
|
11
|
+
* SVG) so per-segment rich text renders with normal HTML text layout. It is
|
|
12
|
+
* `pointer-events: none` so it never intercepts selection / hit-testing on the
|
|
13
|
+
* connector beneath it.
|
|
14
|
+
*/
|
|
15
|
+
type __VLS_Props = {
|
|
16
|
+
/** Trimmed plain-text label (empty → nothing rendered). */
|
|
17
|
+
text: string;
|
|
18
|
+
/** Per-run styled segments (empty → nothing rendered). */
|
|
19
|
+
segments: readonly TextSegment[] | undefined;
|
|
20
|
+
/** Paragraph-level text style (alignment, default font, colour). */
|
|
21
|
+
textStyle?: TextStyle;
|
|
22
|
+
};
|
|
23
|
+
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>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=ConnectorTextOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectorTextOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorTextOverlay.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI/D;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,SAAS,CAAC;IAC7C,oEAAoE;IACpE,SAAS,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAoGF,QAAA,MAAM,YAAY,kSAEhB,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,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,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,28 @@
|
|
|
1
|
+
import { PptxChartData } from 'pptx-viewer-core';
|
|
2
|
+
import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
|
|
3
|
+
/**
|
|
4
|
+
* ChartTrendlines — Vue port of the React `renderTrendlines`
|
|
5
|
+
* (`viewer/utils/chart-trendlines.tsx`).
|
|
6
|
+
*
|
|
7
|
+
* Renders the per-series regression trendlines (linear / exponential /
|
|
8
|
+
* logarithmic / power / polynomial / moving-average) as dashed SVG `<path>`
|
|
9
|
+
* overlays, optionally annotated with the equation and/or R² value when the
|
|
10
|
+
* trendline requests it. Emits a `<g>` group meant to sit on TOP of the plot
|
|
11
|
+
* inside the parent chart `<svg>`.
|
|
12
|
+
*
|
|
13
|
+
* The regression maths lives in the framework-agnostic
|
|
14
|
+
* `computeChartTrendlines` helper so React, Vue, and Angular share it.
|
|
15
|
+
*/
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
chartData: PptxChartData;
|
|
18
|
+
layout: PlotLayout;
|
|
19
|
+
range: ValueRange;
|
|
20
|
+
/** 'bar' for bar/column/stacked plots, 'line' for line/area plots. */
|
|
21
|
+
mode: 'line' | 'bar';
|
|
22
|
+
styleId?: number;
|
|
23
|
+
colorPalette?: string[];
|
|
24
|
+
};
|
|
25
|
+
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>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=ChartTrendlines.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartTrendlines.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/ChartTrendlines.vue"],"names":[],"mappings":"AAoEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAuB,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAItF;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,sEAAsE;IACtE,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAkEF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PptxChartData } from 'pptx-viewer-core';
|
|
2
|
+
import { PlotLayout } from 'pptx-viewer-shared';
|
|
3
|
+
/**
|
|
4
|
+
* RegionMapChart — Vue port of React `chart-map.tsx` choropleth map renderer.
|
|
5
|
+
* Rendered inside the parent chart `<svg>` as a `<g>` group.
|
|
6
|
+
* Uses a 1000x500 coordinate system for region outlines and scales them
|
|
7
|
+
* to fit the available layout area.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
chartData: PptxChartData;
|
|
11
|
+
layout: PlotLayout;
|
|
12
|
+
categories: ReadonlyArray<string>;
|
|
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=RegionMapChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegionMapChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/RegionMapChart.vue"],"names":[],"mappings":"AA0kBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAkpBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PptxChartData } from 'pptx-viewer-core';
|
|
2
|
+
import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
|
|
3
|
+
/**
|
|
4
|
+
* SurfaceChart — Vue port of the isometric SVG surface renderer from
|
|
5
|
+
* `packages/react/src/viewer/utils/chart-surface-treemap.tsx`.
|
|
6
|
+
*
|
|
7
|
+
* Renders both `surface` and `surface3D` chart types as an isometric/2.5D
|
|
8
|
+
* SVG mesh of filled parallelogram quads, colour-banded by data value.
|
|
9
|
+
* Emits a `<g>` group meant to sit INSIDE the parent chart `<svg>`.
|
|
10
|
+
*
|
|
11
|
+
* For grids with at least 2 series × 2 categories, draws an isometric
|
|
12
|
+
* projection (painter's algorithm, back-to-front). For degenerate grids
|
|
13
|
+
* (single series or single category), falls back to a flat 2-D colour-mapped
|
|
14
|
+
* heat grid.
|
|
15
|
+
*/
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
chartData: PptxChartData;
|
|
18
|
+
layout: PlotLayout;
|
|
19
|
+
range: ValueRange;
|
|
20
|
+
categories: ReadonlyArray<string>;
|
|
21
|
+
};
|
|
22
|
+
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>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=SurfaceChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurfaceChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/SurfaceChart.vue"],"names":[],"mappings":"AAiQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGjE;;;;;;;;;;;;GAYG;AAEH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAiQF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|