pptx-vue-viewer 2.13.2 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/AiChatPanel-B8QSMoWW.cjs +637 -0
- package/dist/AiChatPanel-B8QSMoWW.cjs.br +0 -0
- package/dist/AiChatPanel-B8QSMoWW.cjs.gz +0 -0
- package/dist/AiChatPanel-C9tDF9w2.js +640 -0
- package/dist/AiChatPanel-C9tDF9w2.js.br +0 -0
- package/dist/AiChatPanel-C9tDF9w2.js.gz +0 -0
- package/dist/{dist-CrzKtRxp.js → dist-BRLnKo1Y.js} +9103 -7402
- package/dist/dist-BRLnKo1Y.js.br +0 -0
- package/dist/dist-BRLnKo1Y.js.gz +0 -0
- package/dist/{dist-CNLUj2f9.cjs → dist-DXA9RFq7.cjs} +9033 -7297
- package/dist/dist-DXA9RFq7.cjs.br +0 -0
- package/dist/dist-DXA9RFq7.cjs.gz +0 -0
- package/dist/gif-encoder-DQpum4Kn.js +2 -0
- package/dist/gif-encoder-DQpum4Kn.js.br +0 -0
- package/dist/gif-encoder-DQpum4Kn.js.gz +0 -0
- package/dist/gif-encoder-FBevv6TW.cjs +2 -0
- package/dist/gif-encoder-FBevv6TW.cjs.br +0 -0
- package/dist/gif-encoder-FBevv6TW.cjs.gz +0 -0
- package/dist/{i18n-CX6HlMNo.cjs → i18n-Bm1FdvTe.cjs} +73 -2
- package/dist/i18n-Bm1FdvTe.cjs.br +0 -0
- package/dist/i18n-Bm1FdvTe.cjs.gz +0 -0
- package/dist/{i18n-BPiHp_k5.js → i18n-vGMsvpN1.js} +73 -2
- package/dist/i18n-vGMsvpN1.js.br +0 -0
- package/dist/i18n-vGMsvpN1.js.gz +0 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.js +1 -1
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +2 -2
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +1 -0
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +1 -1
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-BSsouEGv.cjs → useViewerSettingsDialog-CMHLo-CP.cjs} +10922 -6219
- package/dist/useViewerSettingsDialog-CMHLo-CP.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CMHLo-CP.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-CfaQyiWy.js +33412 -0
- package/dist/useViewerSettingsDialog-CfaQyiWy.js.br +0 -0
- package/dist/useViewerSettingsDialog-CfaQyiWy.js.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/AccessibilityPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/ChartRenderer.vue.d.ts +2 -0
- package/dist/viewer/components/ChartRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/CommentMarkersOverlay.vue.d.ts +4 -3
- package/dist/viewer/components/CommentMarkersOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementImageBox.vue.d.ts +2 -0
- package/dist/viewer/components/ElementImageBox.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementMediaBox.vue.d.ts +2 -0
- package/dist/viewer/components/ElementMediaBox.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementRenderer.vue.d.ts +8 -0
- package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/InlineTextEditor.vue.d.ts.map +1 -1
- package/dist/viewer/components/MobileMenuSheet.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationAnnotationOverlay.vue.d.ts +10 -1
- package/dist/viewer/components/PresentationAnnotationOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationAudienceOverlays.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationToolbar.vue.d.ts +6 -0
- package/dist/viewer/components/PresentationToolbar.vue.d.ts.map +1 -1
- package/dist/viewer/components/SelectionOverlay.vue.d.ts +9 -20
- package/dist/viewer/components/SelectionOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/SelectionPane.vue.d.ts +13 -4
- package/dist/viewer/components/SelectionPane.vue.d.ts.map +1 -1
- package/dist/viewer/components/ShapeEffectOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideTemplateGalleryDialog.vue.d.ts +27 -0
- package/dist/viewer/components/SlideTemplateGalleryDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/SlideTemplatePreview.vue.d.ts +20 -0
- package/dist/viewer/components/SlideTemplatePreview.vue.d.ts.map +1 -0
- package/dist/viewer/components/SmartArtRenderer.vue.d.ts +2 -0
- package/dist/viewer/components/SmartArtRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/TableRenderer.vue.d.ts +2 -0
- package/dist/viewer/components/TableRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ViewerSidePanels.vue.d.ts.map +1 -1
- package/dist/viewer/components/ZoomRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ai/AiConversation.vue.d.ts.map +1 -1
- package/dist/viewer/components/ai/AiHistoryMenu.vue.d.ts +19 -0
- package/dist/viewer/components/ai/AiHistoryMenu.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/HomeSection.vue.d.ts +4 -0
- package/dist/viewer/components/ribbon/HomeSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts +2 -2
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/RibbonToolbar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/SlidesGroup.vue.d.ts +4 -0
- package/dist/viewer/components/ribbon/SlidesGroup.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/file-section-actions.d.ts +2 -1
- package/dist/viewer/components/ribbon/file-section-actions.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/file-section-types.d.ts +2 -0
- package/dist/viewer/components/ribbon/file-section-types.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ribbon-props-fixture.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ribbon-types.d.ts +9 -3
- package/dist/viewer/components/ribbon/ribbon-types.d.ts.map +1 -1
- package/dist/viewer/components/selection-overlay-geometry.d.ts +73 -0
- package/dist/viewer/components/selection-overlay-geometry.d.ts.map +1 -0
- package/dist/viewer/composables/ai/useAiChatHistory.d.ts +24 -0
- package/dist/viewer/composables/ai/useAiChatHistory.d.ts.map +1 -0
- package/dist/viewer/composables/collaboration-presence-view.d.ts +19 -3
- package/dist/viewer/composables/collaboration-presence-view.d.ts.map +1 -1
- package/dist/viewer/composables/deck-data.d.ts +7 -0
- package/dist/viewer/composables/deck-data.d.ts.map +1 -0
- package/dist/viewer/composables/element-style.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-actions.d.ts +3 -1
- package/dist/viewer/composables/ribbon-props-actions.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-state.d.ts +1 -0
- package/dist/viewer/composables/ribbon-props-state.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-types.d.ts +8 -4
- package/dist/viewer/composables/ribbon-props-types.d.ts.map +1 -1
- package/dist/viewer/composables/selection-gesture.d.ts +38 -0
- package/dist/viewer/composables/selection-gesture.d.ts.map +1 -0
- package/dist/viewer/composables/useCollaboration.d.ts.map +1 -1
- package/dist/viewer/composables/useCommandDispatch.d.ts +3 -2
- package/dist/viewer/composables/useCommandDispatch.d.ts.map +1 -1
- package/dist/viewer/composables/useElementInsertion.d.ts +3 -2
- package/dist/viewer/composables/useElementInsertion.d.ts.map +1 -1
- package/dist/viewer/composables/useExportWiring.d.ts +4 -1
- package/dist/viewer/composables/useExportWiring.d.ts.map +1 -1
- package/dist/viewer/composables/useSelectionPaneWiring.d.ts +6 -2
- package/dist/viewer/composables/useSelectionPaneWiring.d.ts.map +1 -1
- package/dist/viewer/composables/useSlideTemplateInsertion.d.ts +30 -0
- package/dist/viewer/composables/useSlideTemplateInsertion.d.ts.map +1 -0
- package/dist/viewer/composables/useViewerRibbonProps.d.ts +5 -1
- package/dist/viewer/composables/useViewerRibbonProps.d.ts.map +1 -1
- package/dist/viewer/composables/useViewerStore.d.ts +5 -0
- package/dist/viewer/composables/useViewerStore.d.ts.map +1 -0
- package/dist/viewer/composables/useViewerZoom.d.ts +3 -0
- package/dist/viewer/composables/useViewerZoom.d.ts.map +1 -1
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-CKGNkLtj.cjs → viewer-4-O3wMK_.cjs} +5925 -5522
- package/dist/viewer-4-O3wMK_.cjs.br +0 -0
- package/dist/viewer-4-O3wMK_.cjs.gz +0 -0
- package/dist/{viewer-BVGVczOF.js → viewer-smczRer1.js} +10499 -10105
- package/dist/viewer-smczRer1.js.br +0 -0
- package/dist/viewer-smczRer1.js.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-CtoBtOtB.cjs +0 -509
- package/dist/AiChatPanel-CtoBtOtB.cjs.br +0 -0
- package/dist/AiChatPanel-CtoBtOtB.cjs.gz +0 -0
- package/dist/AiChatPanel-xSeCJVHJ.js +0 -512
- package/dist/AiChatPanel-xSeCJVHJ.js.br +0 -0
- package/dist/AiChatPanel-xSeCJVHJ.js.gz +0 -0
- package/dist/dist-CNLUj2f9.cjs.br +0 -0
- package/dist/dist-CNLUj2f9.cjs.gz +0 -0
- package/dist/dist-CrzKtRxp.js.br +0 -0
- package/dist/dist-CrzKtRxp.js.gz +0 -0
- package/dist/gif-encoder-N24YqPHj.js +0 -2
- package/dist/gif-encoder-N24YqPHj.js.br +0 -0
- package/dist/gif-encoder-N24YqPHj.js.gz +0 -0
- package/dist/gif-encoder-xPQiQFxW.cjs +0 -2
- package/dist/gif-encoder-xPQiQFxW.cjs.br +0 -0
- package/dist/gif-encoder-xPQiQFxW.cjs.gz +0 -0
- package/dist/i18n-BPiHp_k5.js.br +0 -0
- package/dist/i18n-BPiHp_k5.js.gz +0 -0
- package/dist/i18n-CX6HlMNo.cjs.br +0 -0
- package/dist/i18n-CX6HlMNo.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-BSsouEGv.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BSsouEGv.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-CiRnHsjC.js +0 -28789
- package/dist/useViewerSettingsDialog-CiRnHsjC.js.br +0 -0
- package/dist/useViewerSettingsDialog-CiRnHsjC.js.gz +0 -0
- package/dist/viewer-BVGVczOF.js.br +0 -0
- package/dist/viewer-BVGVczOF.js.gz +0 -0
- package/dist/viewer-CKGNkLtj.cjs.br +0 -0
- package/dist/viewer-CKGNkLtj.cjs.gz +0 -0
|
Binary file
|
|
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":"AAolDA,OAAO,KAAK,EAAyB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAs6DpG,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessibilityPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/AccessibilityPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccessibilityPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/AccessibilityPanel.vue"],"names":[],"mappings":"AAkIA,OAAO,KAAK,EAAE,kBAAkB,EAA0B,MAAM,kBAAkB,CAAC;AAKnF;;;;;;;;;;;GAWG;AACH,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC;AAkQF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -24,6 +24,8 @@ type __VLS_Props = {
|
|
|
24
24
|
mediaDataUrls?: Map<string, string>;
|
|
25
25
|
/** True only on the primary editable canvas: enables direct chart editing. */
|
|
26
26
|
interactive?: boolean;
|
|
27
|
+
/** Emit the data-pptx-element marker even when not interactive (template layer). */
|
|
28
|
+
marked?: boolean;
|
|
27
29
|
/**
|
|
28
30
|
* Native-animation playback state. When it carries a staged chart build
|
|
29
31
|
* (`build.kind === 'chart'`) the chart reveals its series / categories / cells
|
|
@@ -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":"AAuaA,OAAO,KAAK,EAAgC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,KAAK,EAEX,qBAAqB,EAGrB,MAAM,oBAAoB,CAAC;AAgC5B;;;;;;;;;;;;;;;;;GAiBG;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;IACpC,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,qBAAqB,CAAC;CACvC,CAAC;AA6eF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -2,9 +2,10 @@ import { PptxComment } from 'pptx-viewer-core';
|
|
|
2
2
|
import { CanvasSize } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* CommentMarkersOverlay: numbered comment marker dots drawn over the slide
|
|
5
|
-
* canvas. Vue port of the React `canvas/CommentMarkersOverlay.tsx`.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* canvas. Vue port of the React `canvas/CommentMarkersOverlay.tsx`. The
|
|
6
|
+
* descriptors (position clamped to the slide or a 4-column grid fallback,
|
|
7
|
+
* 1-based numbering, and the `"<author>: <text>"` tooltip) come from the
|
|
8
|
+
* shared `buildCommentMarkers`, so markers match every other binding.
|
|
8
9
|
*/
|
|
9
10
|
type __VLS_Props = {
|
|
10
11
|
comments: PptxComment[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentMarkersOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/CommentMarkersOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommentMarkersOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/CommentMarkersOverlay.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C;;;;;;GAMG;AACH,KAAK,WAAW,GAAG;IAClB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,UAAU,CAAC;CACvB,CAAC;AA4FF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -4,6 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
mediaDataUrls: Map<string, string>;
|
|
5
5
|
zIndex: number;
|
|
6
6
|
interactive?: boolean;
|
|
7
|
+
/** Emit the data-pptx-element marker even when not interactive (template layer). */
|
|
8
|
+
marked?: boolean;
|
|
7
9
|
};
|
|
8
10
|
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>;
|
|
9
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementImageBox.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementImageBox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ElementImageBox.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementImageBox.vue"],"names":[],"mappings":"AA0GA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,kBAAkB,CAAC;AActE,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA4GF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -4,6 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
mediaDataUrls: Map<string, string>;
|
|
5
5
|
zIndex: number;
|
|
6
6
|
interactive?: boolean;
|
|
7
|
+
/** Emit the data-pptx-element marker even when not interactive (template layer). */
|
|
8
|
+
marked?: boolean;
|
|
7
9
|
/**
|
|
8
10
|
* True only on the live presentation stage: the media element should then
|
|
9
11
|
* begin playing on its own (as PowerPoint does when a slide with media
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementMediaBox.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementMediaBox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ElementMediaBox.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementMediaBox.vue"],"names":[],"mappings":"AA0MA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAepD,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AA0MF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -17,6 +17,14 @@ type __VLS_Props = {
|
|
|
17
17
|
* stage and presentation mode render without it.
|
|
18
18
|
*/
|
|
19
19
|
interactive?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* When true, emit the `data-pptx-element` marker even though `interactive` is
|
|
22
|
+
* off. The main canvas sets this for template (master/layout) elements, which
|
|
23
|
+
* are interaction-locked outside edit-template mode but are still rendered
|
|
24
|
+
* slide elements as far as the contract is concerned (mirrors React, which
|
|
25
|
+
* always tags canvas elements and gates interactivity separately).
|
|
26
|
+
*/
|
|
27
|
+
marked?: boolean;
|
|
20
28
|
/**
|
|
21
29
|
* When true, this element belongs to the slide layout/master and the viewer is
|
|
22
30
|
* in edit-template mode: draw a visual affordance so the user can tell apart
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ElementRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementRenderer.vue"],"names":[],"mappings":"AA0aA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AA0ChE;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;CAC7B,CAAC;AAokBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/InlineTextEditor.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"InlineTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/InlineTextEditor.vue"],"names":[],"mappings":"AAAA,OAyMO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQ/D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AA+LH,QAAA,MAAM,YAAY;;;;;;;;;;;gBAhMH,OAAO;6EAoMpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileMenuSheet.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/MobileMenuSheet.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MobileMenuSheet.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/MobileMenuSheet.vue"],"names":[],"mappings":"AA4VA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAMzD,UAAU,KAAM,SAAQ,WAAW;IAClC,IAAI,EAAE,OAAO,CAAC;CACd;AA2jBD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PresentationBlackout } from 'pptx-viewer-shared';
|
|
1
2
|
import { AnnotationStroke, LaserPosition, PresentationTool } from '../composables/usePresentationAnnotations';
|
|
2
3
|
import { CanvasSize } from '../types';
|
|
3
4
|
/**
|
|
@@ -18,6 +19,12 @@ type __VLS_Props = {
|
|
|
18
19
|
annotationStrokes: AnnotationStroke[];
|
|
19
20
|
currentStroke: AnnotationStroke | null;
|
|
20
21
|
laserPosition: LaserPosition | null;
|
|
22
|
+
/**
|
|
23
|
+
* Presenter-snapshot blackout state. During a blackout the overlay is
|
|
24
|
+
* raised ABOVE the blackout sheet (shared `annotationOverlayZIndex`) so
|
|
25
|
+
* "blackboard" ink stays visible on the blank screen.
|
|
26
|
+
*/
|
|
27
|
+
blackout?: PresentationBlackout;
|
|
21
28
|
};
|
|
22
29
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
30
|
erase: (x: number, y: number) => void;
|
|
@@ -33,7 +40,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
33
40
|
"onLaser-move"?: ((x: number, y: number) => any) | undefined;
|
|
34
41
|
"onPointer-up"?: (() => any) | undefined;
|
|
35
42
|
"onLaser-leave"?: (() => any) | undefined;
|
|
36
|
-
}>, {
|
|
43
|
+
}>, {
|
|
44
|
+
blackout: PresentationBlackout;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
46
|
declare const _default: typeof __VLS_export;
|
|
38
47
|
export default _default;
|
|
39
48
|
//# sourceMappingURL=PresentationAnnotationOverlay.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationAnnotationOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationAnnotationOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresentationAnnotationOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationAnnotationOverlay.vue"],"names":[],"mappings":"AAmOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAI/D,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;IACjB,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;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC;AA0NH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;cA3NL,oBAAoB;6EA+N/B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationAudienceOverlays.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationAudienceOverlays.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresentationAudienceOverlays.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationAudienceOverlays.vue"],"names":[],"mappings":"AAgDA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAkEtD,QAAA,MAAM,YAAY,kSAEhB,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":"AA8lBA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAiB9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAWpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAa3C,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,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sBAAsB,CAAC,EAAE,0BAA0B,CAAC;IACpD,mEAAmE;IACnE,gBAAgB,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IAClD,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AA80BH,QAAA,MAAM,YAAY;;qBA7zBqB,kBAAkB;;;;;qBAAlB,kBAAkB;;;;gBAzB1C,MAAM;0BACI,OAAO;uBAKV,OAAO;8BACA,OAAO;6EAm1BlC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PresentationBlackout } from 'pptx-viewer-shared';
|
|
1
2
|
import { PresentationTool } from '../composables/usePresentationAnnotations';
|
|
2
3
|
/**
|
|
3
4
|
* PresentationToolbar - floating control bar shown during presentation mode.
|
|
@@ -23,6 +24,8 @@ type __VLS_Props = {
|
|
|
23
24
|
presenterMode?: boolean;
|
|
24
25
|
/** Whether to show the presenter-view toggle button. */
|
|
25
26
|
showPresenterToggle?: boolean;
|
|
27
|
+
/** Presenter-snapshot blackout state, for the Blackboard toggle. */
|
|
28
|
+
blackout?: PresentationBlackout;
|
|
26
29
|
};
|
|
27
30
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
31
|
"set-tool": (tool: PresentationTool) => void;
|
|
@@ -31,6 +34,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
31
34
|
"clear-annotations": () => void;
|
|
32
35
|
"end-presentation": () => void;
|
|
33
36
|
"toggle-presenter-view": () => void;
|
|
37
|
+
"toggle-blackboard": () => void;
|
|
34
38
|
move: (direction: 1 | -1) => void;
|
|
35
39
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
40
|
onMove?: ((direction: 1 | -1) => any) | undefined;
|
|
@@ -40,7 +44,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
40
44
|
"onClear-annotations"?: (() => any) | undefined;
|
|
41
45
|
"onEnd-presentation"?: (() => any) | undefined;
|
|
42
46
|
"onToggle-presenter-view"?: (() => any) | undefined;
|
|
47
|
+
"onToggle-blackboard"?: (() => any) | undefined;
|
|
43
48
|
}>, {
|
|
49
|
+
blackout: PresentationBlackout;
|
|
44
50
|
presenterMode: boolean;
|
|
45
51
|
showPresenterToggle: boolean;
|
|
46
52
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationToolbar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresentationToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationToolbar.vue"],"names":[],"mappings":"AAydA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAU/D,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;IAC9B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAqpBH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;cAtpBL,oBAAoB;mBAJf,OAAO;yBAED,OAAO;6EA4pB7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,46 +1,35 @@
|
|
|
1
1
|
import { PptxElement } from 'pptx-viewer-core';
|
|
2
|
+
export type { AdjustPayload, TransformPayload } from './selection-overlay-geometry';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
elements: PptxElement[];
|
|
4
5
|
selectedIds: string[];
|
|
5
6
|
zoom: number;
|
|
6
7
|
};
|
|
7
|
-
export interface TransformPayload {
|
|
8
|
-
id: string;
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
rotation: number;
|
|
14
|
-
}
|
|
15
|
-
export interface AdjustPayload {
|
|
16
|
-
id: string;
|
|
17
|
-
value: number;
|
|
18
|
-
}
|
|
19
8
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
transform: (payload: TransformPayload) => any;
|
|
9
|
+
transform: (payload: import('./selection-overlay-geometry').TransformPayload) => any;
|
|
10
|
+
adjust: (payload: import('./selection-overlay-geometry').AdjustPayload) => any;
|
|
21
11
|
transformStart: (payload: {
|
|
22
12
|
id: string;
|
|
23
13
|
}) => any;
|
|
24
|
-
transformEnd: (payload: TransformPayload) => any;
|
|
14
|
+
transformEnd: (payload: import('./selection-overlay-geometry').TransformPayload) => any;
|
|
25
15
|
adjustStart: (payload: {
|
|
26
16
|
id: string;
|
|
27
17
|
}) => any;
|
|
28
|
-
|
|
29
|
-
adjustEnd: (payload: AdjustPayload) => any;
|
|
18
|
+
adjustEnd: (payload: import('./selection-overlay-geometry').AdjustPayload) => any;
|
|
30
19
|
requestEdit: (payload: {
|
|
31
20
|
id: string;
|
|
32
21
|
}) => any;
|
|
33
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
-
onTransform?: ((payload: TransformPayload) => any) | undefined;
|
|
23
|
+
onTransform?: ((payload: import('./selection-overlay-geometry').TransformPayload) => any) | undefined;
|
|
24
|
+
onAdjust?: ((payload: import('./selection-overlay-geometry').AdjustPayload) => any) | undefined;
|
|
35
25
|
onTransformStart?: ((payload: {
|
|
36
26
|
id: string;
|
|
37
27
|
}) => any) | undefined;
|
|
38
|
-
onTransformEnd?: ((payload: TransformPayload) => any) | undefined;
|
|
28
|
+
onTransformEnd?: ((payload: import('./selection-overlay-geometry').TransformPayload) => any) | undefined;
|
|
39
29
|
onAdjustStart?: ((payload: {
|
|
40
30
|
id: string;
|
|
41
31
|
}) => any) | undefined;
|
|
42
|
-
|
|
43
|
-
onAdjustEnd?: ((payload: AdjustPayload) => any) | undefined;
|
|
32
|
+
onAdjustEnd?: ((payload: import('./selection-overlay-geometry').AdjustPayload) => any) | undefined;
|
|
44
33
|
onRequestEdit?: ((payload: {
|
|
45
34
|
id: string;
|
|
46
35
|
}) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SelectionOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectionOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SelectionOverlay.vue"],"names":[],"mappings":"AAkSA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAoBpD,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEpF,KAAK,WAAW,GAAG;IAClB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AA6LF,QAAA,MAAM,YAAY;;;;YAzLe,MAAM;;;;YAGT,MAAM;;;;YAIN,MAAM;;;;;;YAPH,MAAM;;;;YAGT,MAAM;;;;YAIN,MAAM;;kFAqLlC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PptxElement } from 'pptx-viewer-core';
|
|
2
2
|
/**
|
|
3
3
|
* SelectionPane: lists every element on the active slide with visibility
|
|
4
|
-
* toggles
|
|
5
|
-
* `SelectionPane.tsx`. The pane is presentational: it emits
|
|
6
|
-
* `toggle-visibility`, and `
|
|
7
|
-
* history-tracked editor operations so they undo/redo like
|
|
4
|
+
* toggles, drag-to-reorder (z-order), and double-click-to-rename. Vue port of
|
|
5
|
+
* the React `SelectionPane.tsx`. The pane is presentational: it emits
|
|
6
|
+
* `select`, `toggle-visibility`, `reorder`, and `rename`; the host routes
|
|
7
|
+
* those through the history-tracked editor operations so they undo/redo like
|
|
8
|
+
* any other edit.
|
|
8
9
|
*/
|
|
9
10
|
type __VLS_Props = {
|
|
10
11
|
elements: PptxElement[];
|
|
@@ -18,6 +19,10 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
18
19
|
from: number;
|
|
19
20
|
to: number;
|
|
20
21
|
}) => any;
|
|
22
|
+
rename: (payload: {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string | undefined;
|
|
25
|
+
}) => any;
|
|
21
26
|
"toggle-visibility": (id: string) => any;
|
|
22
27
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
28
|
onSelect?: ((id: string) => any) | undefined;
|
|
@@ -26,6 +31,10 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
26
31
|
from: number;
|
|
27
32
|
to: number;
|
|
28
33
|
}) => any) | undefined;
|
|
34
|
+
onRename?: ((payload: {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string | undefined;
|
|
37
|
+
}) => any) | undefined;
|
|
29
38
|
"onToggle-visibility"?: ((id: string) => any) | undefined;
|
|
30
39
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionPane.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SelectionPane.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectionPane.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SelectionPane.vue"],"names":[],"mappings":"AAyOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKpD;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAsZF,QAAA,MAAM,YAAY;;;;cAhZU,MAAM;YAAM,MAAM;;;YACrB,MAAM;cAAQ,MAAM,GAAG,SAAS;;;;;;;cAD7B,MAAM;YAAM,MAAM;;;YACrB,MAAM;cAAQ,MAAM,GAAG,SAAS;;;kFAkZvD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeEffectOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ShapeEffectOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShapeEffectOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ShapeEffectOverlay.vue"],"names":[],"mappings":"AAgLA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAWpD,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC;AAsK5C,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideStage.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideStage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideStage.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideStage.vue"],"names":[],"mappings":"AAiOA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAc/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;;OASG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAsLH,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;WAtON,MAAM;6EAyOd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SlideTemplateId } from 'pptx-viewer-shared';
|
|
2
|
+
/**
|
|
3
|
+
* SlideTemplateGalleryDialog - the New Slide template gallery.
|
|
4
|
+
*
|
|
5
|
+
* Vue port of React's `SlideTemplateGalleryDialog.tsx`, built on
|
|
6
|
+
* {@link ModalDialog}. Presents the shared slide-template catalogue as a grid
|
|
7
|
+
* of live-rendered previews (`SlideTemplatePreview.vue`). Single click
|
|
8
|
+
* selects, double click or the Insert button emits `insert` with the chosen
|
|
9
|
+
* template id; the host routes the payload to its history-integrated insert
|
|
10
|
+
* path.
|
|
11
|
+
*/
|
|
12
|
+
type __VLS_Props = {
|
|
13
|
+
/** Whether the dialog is open. */
|
|
14
|
+
open: boolean;
|
|
15
|
+
/** Optional deck scheme so previews show the deck's theme colours. */
|
|
16
|
+
scheme?: Record<string, string>;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
insert: (templateId: SlideTemplateId) => any;
|
|
20
|
+
close: () => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onInsert?: ((templateId: SlideTemplateId) => any) | undefined;
|
|
23
|
+
onClose?: (() => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=SlideTemplateGalleryDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlideTemplateGalleryDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideTemplateGalleryDialog.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AAuOF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SlideTemplateId } from 'pptx-viewer-shared';
|
|
2
|
+
/**
|
|
3
|
+
* SlideTemplatePreview - live-rendered miniature of a slide template.
|
|
4
|
+
*
|
|
5
|
+
* Vue port of React's `SlideTemplatePreview.tsx`, following the SmartArt
|
|
6
|
+
* gallery pattern: build the exact elements insertion would produce (shared
|
|
7
|
+
* `buildSlideTemplateContent`) at full canvas size, render them through the
|
|
8
|
+
* real slide renderer (`SlideStage`), and scale the stage down with a CSS
|
|
9
|
+
* transform so the preview is pixel-faithful.
|
|
10
|
+
*/
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
/** The template to draw a thumbnail for. */
|
|
13
|
+
templateId: SlideTemplateId;
|
|
14
|
+
/** Optional deck scheme so the preview shows the deck's theme colours. */
|
|
15
|
+
scheme?: Record<string, string>;
|
|
16
|
+
};
|
|
17
|
+
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>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=SlideTemplatePreview.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlideTemplatePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideTemplatePreview.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IAClB,4CAA4C;IAC5C,UAAU,EAAE,eAAe,CAAC;IAC5B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AAoFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -30,6 +30,8 @@ type __VLS_Props = {
|
|
|
30
30
|
* break single-element test locators.
|
|
31
31
|
*/
|
|
32
32
|
interactive?: boolean;
|
|
33
|
+
/** Emit the data-pptx-element marker even when not interactive (template layer). */
|
|
34
|
+
marked?: boolean;
|
|
33
35
|
/**
|
|
34
36
|
* Native-animation playback state. A staged diagram build
|
|
35
37
|
* (`build.kind === 'diagram'`) reveals the leading nodes / drawing shapes for
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"AA+zBA,OAAO,KAAK,EACX,WAAW,EAMX,MAAM,kBAAkB,CAAC;AAO1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAuBhE;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,qBAAqB,CAAC;CACvC,CAAC;AAsxBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -31,6 +31,8 @@ type __VLS_Props = {
|
|
|
31
31
|
* are disabled regardless of the injected editing context.
|
|
32
32
|
*/
|
|
33
33
|
interactive?: boolean;
|
|
34
|
+
/** Emit the data-pptx-element marker even when not interactive (template layer). */
|
|
35
|
+
marked?: boolean;
|
|
34
36
|
/**
|
|
35
37
|
* PPTX theme colour scheme from the active presentation theme.
|
|
36
38
|
* When supplied, band / header emphasis colours are resolved against
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/TableRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/TableRenderer.vue"],"names":[],"mappings":"AAioBA,OAAO,KAAK,EACX,mBAAmB,EACnB,WAAW,EAGX,oBAAoB,EACpB,MAAM,kBAAkB,CAAC;AAyB1B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AA6lBH,QAAA,MAAM,YAAY;iBA3mBF,OAAO;6EA8mBrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewerSidePanels.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ViewerSidePanels.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewerSidePanels.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ViewerSidePanels.vue"],"names":[],"mappings":"AA0LA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAWtF,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,WAAW,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,SAAS,GAAG,SAAS,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,EAAE,6BAA6B,CAAC;IAC3C,QAAQ,EAAE,uBAAuB,CAAC;IAClC,aAAa,EAAE,sBAAsB,CAAC;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,0BAA0B,CAAC;IAC9C,aAAa,EAAE,4BAA4B,CAAC;IAC5C,aAAa,EAAE,4BAA4B,CAAC;IAC5C,WAAW,EAAE,0BAA0B,CAAC;IACxC,yEAAyE;IACzE,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC;IACvB,mEAAmE;IACnE,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD,uBAAuB,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IACvE,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IACnD,oBAAoB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,0BAA0B,CAAC,KAAK,IAAI,CAAC;CAC3E,CAAC;AA6TF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ZoomRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ZoomRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ZoomRenderer.vue"],"names":[],"mappings":"AAiQA,OAAO,KAAK,EAAE,WAAW,EAAmB,MAAM,kBAAkB,CAAC;AAWrE;;;;;;;;;;;;;;;GAeG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA4PF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiConversation.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ai/AiConversation.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AiConversation.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ai/AiConversation.vue"],"names":[],"mappings":"AA0QA,OAAO,KAAK,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EAEZ,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAOnF,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAqfF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PptxAiChatSummary } from 'pptx-viewer-shared/ai';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
chats: PptxAiChatSummary[];
|
|
4
|
+
activeChatId: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
delete: (id: string) => void;
|
|
8
|
+
resume: (id: string) => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
"new-chat": () => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
onDelete?: ((id: string) => any) | undefined;
|
|
14
|
+
onResume?: ((id: string) => any) | undefined;
|
|
15
|
+
"onNew-chat"?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=AiHistoryMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AiHistoryMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ai/AiHistoryMenu.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAyPF,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PptxElement, TextStyle } from 'pptx-viewer-core';
|
|
2
|
+
import { SlideTemplateId } from 'pptx-viewer-shared';
|
|
2
3
|
import { ElementClipboardPayload, LayoutOption } from './ribbon-types';
|
|
3
4
|
interface Props {
|
|
4
5
|
canEdit: boolean;
|
|
@@ -11,6 +12,9 @@ interface Props {
|
|
|
11
12
|
onToggleFormatPainter?: () => void;
|
|
12
13
|
layoutOptions: LayoutOption[];
|
|
13
14
|
onInsertSlideFromLayout: (path: string, name?: string) => void;
|
|
15
|
+
onInsertSlideFromTemplate?: (templateId: SlideTemplateId) => void;
|
|
16
|
+
/** Deck scheme map so template previews show the deck's theme colours. */
|
|
17
|
+
templateScheme?: Record<string, string>;
|
|
14
18
|
onApplyLayout?: (path: string) => void;
|
|
15
19
|
onResetSlide?: () => void;
|
|
16
20
|
onAddSection?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomeSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/HomeSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HomeSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/HomeSection.vue"],"names":[],"mappings":"AA2QA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAiB1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI5E,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACjD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,uBAAuB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,yBAAyB,CAAC,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;IAClE,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;CACxD;AA0bD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InsertChartKind } from 'pptx-viewer-shared';
|
|
2
2
|
import { SupportedShapeType } from './ribbon-types';
|
|
3
3
|
interface Props {
|
|
4
4
|
canEdit: boolean;
|
|
@@ -10,7 +10,7 @@ interface Props {
|
|
|
10
10
|
onAddTextBox: () => void;
|
|
11
11
|
onAddShape: () => void;
|
|
12
12
|
onAddTable: () => void;
|
|
13
|
-
onAddChart?: (
|
|
13
|
+
onAddChart?: (chartKind: InsertChartKind) => void;
|
|
14
14
|
onAddSmartArt: () => void;
|
|
15
15
|
onAddEquation: () => void;
|
|
16
16
|
onAddActionButton: (shapeType: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsertSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/InsertSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InsertSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/InsertSection.vue"],"names":[],"mappings":"AAioBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,YAAY,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACtD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAy+BD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RibbonToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/RibbonToolbar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RibbonToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/RibbonToolbar.vue"],"names":[],"mappings":"AA6QA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,UAAU,KAAM,SAAQ,WAAW;CAAG;AA6atC,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { SlideTemplateId } from 'pptx-viewer-shared';
|
|
1
2
|
import { LayoutOption } from './ribbon-types';
|
|
2
3
|
interface Props {
|
|
3
4
|
canEdit: boolean;
|
|
4
5
|
layoutOptions: LayoutOption[];
|
|
5
6
|
onInsertSlideFromLayout: (path: string, name?: string) => void;
|
|
7
|
+
onInsertSlideFromTemplate?: (templateId: SlideTemplateId) => void;
|
|
8
|
+
/** Deck scheme map so template previews show the deck's theme colours. */
|
|
9
|
+
templateScheme?: Record<string, string>;
|
|
6
10
|
onApplyLayout?: (path: string) => void;
|
|
7
11
|
onResetSlide?: () => void;
|
|
8
12
|
onAddSection?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlidesGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlidesGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlidesGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlidesGroup.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,uBAAuB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,yBAAyB,CAAC,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;IAClE,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAmWD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -25,7 +25,8 @@ export type FileSectionAction = readonly [
|
|
|
25
25
|
*
|
|
26
26
|
* `isHidden` gates the Export page's action cards on the shared `'export'`
|
|
27
27
|
* toolbar-action id: when hidden, the Export page renders no cards instead of
|
|
28
|
-
* PNG/PDF/Video/GIF/Copy-as-Image. Save-As, Print, and Share are
|
|
28
|
+
* PNG/PDF/Video/GIF/JSON/Copy-as-Image. Save-As, Print, and Share are
|
|
29
|
+
* unaffected;
|
|
29
30
|
* they map to their own ids elsewhere, not `'export'`.
|
|
30
31
|
*/
|
|
31
32
|
export declare function buildFileSectionActions(page: BackstagePage, props: FileSectionProps, isHidden: (id: ToolbarActionId) => boolean): FileSectionAction[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-section-actions.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/file-section-actions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file-section-actions.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/file-section-actions.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAmB,aAAa,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS;IACxC,MAAM;IACN,MAAM;IACN,SAAS;IACT,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;IACxB,MAAM;IACN,MAAM;CACN,CAAC;AAuBF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,gBAAgB,EACvB,QAAQ,EAAE,CAAC,EAAE,EAAE,eAAe,KAAK,OAAO,GACxC,iBAAiB,EAAE,CAqCrB"}
|
|
@@ -7,6 +7,8 @@ export interface FileSectionProps {
|
|
|
7
7
|
onOpenRecentFile?: (key: string) => void;
|
|
8
8
|
onExportPng: () => void;
|
|
9
9
|
onExportPdf: () => void;
|
|
10
|
+
/** Serialise the deck to pptx-viewer-json and download it (Export page card). */
|
|
11
|
+
onExportJson: () => void;
|
|
10
12
|
onExportVideo: () => void;
|
|
11
13
|
onExportGif: () => void;
|
|
12
14
|
onPackageForSharing: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-section-types.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/file-section-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,oBAAoB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,yFAAyF;IACzF,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC"}
|
|
1
|
+
{"version":3,"file":"file-section-types.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/file-section-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,oBAAoB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,iFAAiF;IACjF,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,yFAAyF;IACzF,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC"}
|