pptx-vue-viewer 3.2.0 → 3.4.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 +51 -0
- package/dist/AiChatPanel-CwRUg9lb.js +640 -0
- package/dist/AiChatPanel-CwRUg9lb.js.br +0 -0
- package/dist/AiChatPanel-CwRUg9lb.js.gz +0 -0
- package/dist/{AiChatPanel-BxNXpUN6.cjs → AiChatPanel-D5t00dFO.cjs} +10 -10
- package/dist/AiChatPanel-D5t00dFO.cjs.br +0 -0
- package/dist/AiChatPanel-D5t00dFO.cjs.gz +0 -0
- package/dist/{dist-BPyCq-CW.js → dist-k-HFQYB1.js} +7069 -6598
- package/dist/dist-k-HFQYB1.js.br +0 -0
- package/dist/dist-k-HFQYB1.js.gz +0 -0
- package/dist/{dist-_o5NTGKh.cjs → dist-pQq2C75C.cjs} +18600 -18089
- package/dist/dist-pQq2C75C.cjs.br +0 -0
- package/dist/dist-pQq2C75C.cjs.gz +0 -0
- package/dist/gif-encoder-B9o_2eyQ.js +2 -0
- package/dist/gif-encoder-B9o_2eyQ.js.br +0 -0
- package/dist/gif-encoder-B9o_2eyQ.js.gz +0 -0
- package/dist/gif-encoder-BeGacMH_.cjs +2 -0
- package/dist/gif-encoder-BeGacMH_.cjs.br +0 -0
- package/dist/gif-encoder-BeGacMH_.cjs.gz +0 -0
- package/dist/{i18n-Dwd1wvi3.cjs → i18n-BwIEjAud.cjs} +42 -1
- package/dist/i18n-BwIEjAud.cjs.br +0 -0
- package/dist/i18n-BwIEjAud.cjs.gz +0 -0
- package/dist/{i18n-D2rp3BB2.js → i18n-DrEjxxWe.js} +42 -1
- package/dist/i18n-DrEjxxWe.js.br +0 -0
- package/dist/i18n-DrEjxxWe.js.gz +0 -0
- package/dist/i18n.cjs +2 -2
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.d.ts +5 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +5 -5
- 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.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +72 -37
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-we5OdcQt.js → useViewerSettingsDialog-CRN8XHoO.js} +11123 -7386
- package/dist/useViewerSettingsDialog-CRN8XHoO.js.br +0 -0
- package/dist/useViewerSettingsDialog-CRN8XHoO.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-QANgtUZA.cjs → useViewerSettingsDialog-CzqkbFbc.cjs} +13701 -9679
- package/dist/useViewerSettingsDialog-CzqkbFbc.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CzqkbFbc.cjs.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/CommentMentionTextarea.vue.d.ts +25 -0
- package/dist/viewer/components/CommentMentionTextarea.vue.d.ts.map +1 -0
- package/dist/viewer/components/CommentsPanel.vue.d.ts +13 -3
- package/dist/viewer/components/CommentsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/CompatibilityToasts.vue.d.ts +15 -0
- package/dist/viewer/components/CompatibilityToasts.vue.d.ts.map +1 -0
- package/dist/viewer/components/ConnectorRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementImageBox.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/MasterViewCrudRow.vue.d.ts +14 -0
- package/dist/viewer/components/MasterViewCrudRow.vue.d.ts.map +1 -0
- package/dist/viewer/components/MasterViewOverlay.vue.d.ts +3 -0
- package/dist/viewer/components/MasterViewOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/MasterViewSidebar.vue.d.ts +7 -0
- package/dist/viewer/components/MasterViewSidebar.vue.d.ts.map +1 -1
- package/dist/viewer/components/MobilePresenterView.vue.d.ts +3 -0
- package/dist/viewer/components/MobilePresenterView.vue.d.ts.map +1 -1
- package/dist/viewer/components/OleRenderer.vue.d.ts +3 -2
- package/dist/viewer/components/OleRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationAnnotationOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationMode.vue.d.ts +11 -1
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresenterNotesRail.vue.d.ts +3 -0
- package/dist/viewer/components/PresenterNotesRail.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresenterView.vue.d.ts +3 -1
- package/dist/viewer/components/PresenterView.vue.d.ts.map +1 -1
- package/dist/viewer/components/ReadOnlyBanner.vue.d.ts +15 -0
- package/dist/viewer/components/ReadOnlyBanner.vue.d.ts.map +1 -0
- package/dist/viewer/components/RecentColorsRow.vue.d.ts +12 -0
- package/dist/viewer/components/RecentColorsRow.vue.d.ts.map +1 -0
- package/dist/viewer/components/SelectionOverlay.vue.d.ts +2 -2
- package/dist/viewer/components/SelectionOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideDeckInspector.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideSizeRescalePrompt.vue.d.ts +14 -0
- package/dist/viewer/components/SlideSizeRescalePrompt.vue.d.ts.map +1 -0
- package/dist/viewer/components/SlideTransitionPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/SmartArtPreviews.vue.d.ts +4 -0
- package/dist/viewer/components/SmartArtPreviews.vue.d.ts.map +1 -1
- package/dist/viewer/components/ViewerDeckDialogs.vue.d.ts +2 -0
- package/dist/viewer/components/ViewerDeckDialogs.vue.d.ts.map +1 -1
- package/dist/viewer/components/ViewerMobileSheets.vue.d.ts.map +1 -1
- package/dist/viewer/components/ViewerPresentationLayer.vue.d.ts +6 -1
- package/dist/viewer/components/ViewerPresentationLayer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ViewerSidePanels.vue.d.ts.map +1 -1
- package/dist/viewer/components/ai/AiFocusBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ActionSettingsPanel.vue.d.ts +3 -1
- package/dist/viewer/components/inspector/ActionSettingsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/AfterAnimationRow.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartAxisStyleOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartDataPointMarkerOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartDataPointOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartDisplayOptions.vue.d.ts +16 -3
- package/dist/viewer/components/inspector/ChartDisplayOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartMarkerOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartSubtypeOptions.vue.d.ts +25 -0
- package/dist/viewer/components/inspector/ChartSubtypeOptions.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/DebouncedColorInput.vue.d.ts +5 -0
- package/dist/viewer/components/inspector/DebouncedColorInput.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/EffectsGlowReflectionSection.vue.d.ts +20 -0
- package/dist/viewer/components/inspector/EffectsGlowReflectionSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/EffectsPanel.vue.d.ts +14 -17
- package/dist/viewer/components/inspector/EffectsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/EffectsShadowSection.vue.d.ts +20 -0
- package/dist/viewer/components/inspector/EffectsShadowSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/FillGradientControls.vue.d.ts +23 -0
- package/dist/viewer/components/inspector/FillGradientControls.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/FillPanel.vue.d.ts +9 -3
- package/dist/viewer/components/inspector/FillPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/FillPatternControls.vue.d.ts +25 -0
- package/dist/viewer/components/inspector/FillPatternControls.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/InspectorPane.vue.d.ts +3 -1
- package/dist/viewer/components/inspector/InspectorPane.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/SlideBackgroundPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/SlideInspector.vue.d.ts +13 -3
- package/dist/viewer/components/inspector/SlideInspector.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/SlideTransitionSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/SmartArtNodeRow.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/StrokePanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TableCellAdvancedFill.vue.d.ts +3 -2
- package/dist/viewer/components/inspector/TableCellAdvancedFill.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TableStyleOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/Text3DProperties.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TextEffectsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TextPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/DrawSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/DrawingGroup.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/HomeSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ShapeArrangeExtras.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts +3 -2
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TextColorPopover.vue.d.ts +24 -0
- package/dist/viewer/components/ribbon/TextColorPopover.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/TextSection.vue.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 +2 -0
- package/dist/viewer/components/ribbon/ribbon-types.d.ts.map +1 -1
- package/dist/viewer/composables/ai/ai-log-export.d.ts +2 -54
- package/dist/viewer/composables/ai/ai-log-export.d.ts.map +1 -1
- package/dist/viewer/composables/ai/useAiBridge.d.ts.map +1 -1
- package/dist/viewer/composables/ai/useAiPanelController.d.ts +2 -8
- package/dist/viewer/composables/ai/useAiPanelController.d.ts.map +1 -1
- package/dist/viewer/composables/cross-slide-audio.d.ts +7 -9
- package/dist/viewer/composables/cross-slide-audio.d.ts.map +1 -1
- package/dist/viewer/composables/deck-data.d.ts +1 -1
- package/dist/viewer/composables/deck-data.d.ts.map +1 -1
- package/dist/viewer/composables/element-store-patch.d.ts.map +1 -1
- package/dist/viewer/composables/recent-colors-context.d.ts +11 -0
- package/dist/viewer/composables/recent-colors-context.d.ts.map +1 -0
- package/dist/viewer/composables/ribbon-props-actions.d.ts +1 -0
- package/dist/viewer/composables/ribbon-props-actions.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-types.d.ts +2 -0
- package/dist/viewer/composables/ribbon-props-types.d.ts.map +1 -1
- package/dist/viewer/composables/selection-gesture.d.ts +1 -3
- package/dist/viewer/composables/selection-gesture.d.ts.map +1 -1
- package/dist/viewer/composables/slide-show-start-key.d.ts +28 -0
- package/dist/viewer/composables/slide-show-start-key.d.ts.map +1 -0
- package/dist/viewer/composables/useAnimationPlayback.d.ts.map +1 -1
- package/dist/viewer/composables/useCollaboration.d.ts.map +1 -1
- package/dist/viewer/composables/useCommandDispatch.d.ts +2 -0
- package/dist/viewer/composables/useCommandDispatch.d.ts.map +1 -1
- package/dist/viewer/composables/useCommentMentionInput.d.ts +33 -0
- package/dist/viewer/composables/useCommentMentionInput.d.ts.map +1 -0
- package/dist/viewer/composables/useComments.d.ts +11 -5
- package/dist/viewer/composables/useComments.d.ts.map +1 -1
- package/dist/viewer/composables/useCompatibilityToasts.d.ts +31 -0
- package/dist/viewer/composables/useCompatibilityToasts.d.ts.map +1 -0
- package/dist/viewer/composables/useDeckViewPreferencesSync.d.ts +33 -0
- package/dist/viewer/composables/useDeckViewPreferencesSync.d.ts.map +1 -0
- package/dist/viewer/composables/useEditorKeyboard.d.ts +5 -0
- package/dist/viewer/composables/useEditorKeyboard.d.ts.map +1 -1
- package/dist/viewer/composables/useEditorOperations.d.ts.map +1 -1
- package/dist/viewer/composables/useElementDrag.d.ts.map +1 -1
- package/dist/viewer/composables/useGoogleWebfonts.d.ts +2 -1
- package/dist/viewer/composables/useGoogleWebfonts.d.ts.map +1 -1
- package/dist/viewer/composables/useInspectorDeckActions.d.ts +31 -2
- package/dist/viewer/composables/useInspectorDeckActions.d.ts.map +1 -1
- package/dist/viewer/composables/useKeyboardShortcuts.d.ts.map +1 -1
- package/dist/viewer/composables/useLoadContent.d.ts +24 -1
- package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
- package/dist/viewer/composables/useMasterViewCrud.d.ts +26 -0
- package/dist/viewer/composables/useMasterViewCrud.d.ts.map +1 -0
- package/dist/viewer/composables/useModel3dScene.d.ts.map +1 -1
- package/dist/viewer/composables/usePresentationActionExtras.d.ts +34 -0
- package/dist/viewer/composables/usePresentationActionExtras.d.ts.map +1 -0
- package/dist/viewer/composables/usePresentationAnnotations.d.ts +0 -2
- package/dist/viewer/composables/usePresentationAnnotations.d.ts.map +1 -1
- package/dist/viewer/composables/usePresentationControls.d.ts +26 -1
- package/dist/viewer/composables/usePresentationControls.d.ts.map +1 -1
- package/dist/viewer/composables/usePresentationNavigation.d.ts +16 -0
- package/dist/viewer/composables/usePresentationNavigation.d.ts.map +1 -1
- package/dist/viewer/composables/usePresentationShowOrder.d.ts +7 -0
- package/dist/viewer/composables/usePresentationShowOrder.d.ts.map +1 -1
- package/dist/viewer/composables/usePrint.d.ts +7 -1
- package/dist/viewer/composables/usePrint.d.ts.map +1 -1
- package/dist/viewer/composables/useReadOnlyRecommendation.d.ts +35 -0
- package/dist/viewer/composables/useReadOnlyRecommendation.d.ts.map +1 -0
- package/dist/viewer/composables/useRecentColors.d.ts +24 -0
- package/dist/viewer/composables/useRecentColors.d.ts.map +1 -0
- package/dist/viewer/composables/useViewerRibbonProps.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-BRRFtKDV.js → viewer-CDo7002_.js} +12505 -11569
- package/dist/viewer-CDo7002_.js.br +0 -0
- package/dist/viewer-CDo7002_.js.gz +0 -0
- package/dist/{viewer-CN_soJdw.cjs → viewer-CT4fxZ5F.cjs} +8922 -7984
- package/dist/viewer-CT4fxZ5F.cjs.br +0 -0
- package/dist/viewer-CT4fxZ5F.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-BxNXpUN6.cjs.br +0 -0
- package/dist/AiChatPanel-BxNXpUN6.cjs.gz +0 -0
- package/dist/AiChatPanel-t_4NXlkY.js +0 -640
- package/dist/AiChatPanel-t_4NXlkY.js.br +0 -0
- package/dist/AiChatPanel-t_4NXlkY.js.gz +0 -0
- package/dist/dist-BPyCq-CW.js.br +0 -0
- package/dist/dist-BPyCq-CW.js.gz +0 -0
- package/dist/dist-_o5NTGKh.cjs.br +0 -0
- package/dist/dist-_o5NTGKh.cjs.gz +0 -0
- package/dist/gif-encoder-Bzuo20ei.js +0 -2
- package/dist/gif-encoder-Bzuo20ei.js.br +0 -0
- package/dist/gif-encoder-Bzuo20ei.js.gz +0 -0
- package/dist/gif-encoder-Cz7X2ehi.cjs +0 -2
- package/dist/gif-encoder-Cz7X2ehi.cjs.br +0 -0
- package/dist/gif-encoder-Cz7X2ehi.cjs.gz +0 -0
- package/dist/i18n-D2rp3BB2.js.br +0 -0
- package/dist/i18n-D2rp3BB2.js.gz +0 -0
- package/dist/i18n-Dwd1wvi3.cjs.br +0 -0
- package/dist/i18n-Dwd1wvi3.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-QANgtUZA.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-QANgtUZA.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-we5OdcQt.js.br +0 -0
- package/dist/useViewerSettingsDialog-we5OdcQt.js.gz +0 -0
- package/dist/viewer/composables/ai/focus-targets.d.ts +0 -34
- package/dist/viewer/composables/ai/focus-targets.d.ts.map +0 -1
- package/dist/viewer/composables/animation-playback-helpers.d.ts +0 -43
- package/dist/viewer/composables/animation-playback-helpers.d.ts.map +0 -1
- package/dist/viewer-BRRFtKDV.js.br +0 -0
- package/dist/viewer-BRRFtKDV.js.gz +0 -0
- package/dist/viewer-CN_soJdw.cjs.br +0 -0
- package/dist/viewer-CN_soJdw.cjs.gz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useElementDrag.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useElementDrag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQ/D,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"useElementDrag.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useElementDrag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQ/D,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,C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KAAE,KAAG,IAAI;2BAM3B,gBAAgB,KAAG,IAAI;8BAGpB,gBAAgB,KAAG,IAAI;yBAqB9B,IAAI;wBAaH;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,KAAG,IAAI;2BAGvD;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,KAAG,IAAI;mCAPlD;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,WAAW,CAAA;KAAE,KAAG,IAAI;;;;;wCAlN1C,CAAC;;;;;;EAwOxC"}
|
|
@@ -9,7 +9,8 @@ import { MaybeRefOrGetter } from 'vue';
|
|
|
9
9
|
* by silently downloading its "cloud fonts"; a browser has no equivalent).
|
|
10
10
|
* When a referenced family is served by the Google Fonts API, this
|
|
11
11
|
* composable injects a `<link rel="stylesheet">` so the text renders with
|
|
12
|
-
* the intended face anyway. Candidates are
|
|
12
|
+
* the intended face anyway. Candidates are matched against the bundled
|
|
13
|
+
* Google Fonts catalogue (no network round-trip; session-cached) and the
|
|
13
14
|
* managed `<link>` element is updated when slides or embedded fonts change
|
|
14
15
|
* and removed on scope dispose.
|
|
15
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGoogleWebfonts.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useGoogleWebfonts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAE5C
|
|
1
|
+
{"version":3,"file":"useGoogleWebfonts.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useGoogleWebfonts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAE5C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,gBAAgB,CAAC,SAAS,SAAS,EAAE,CAAC,EAC9C,aAAa,EAAE,gBAAgB,CAAC,SAAS,gBAAgB,EAAE,CAAC,GAC1D,IAAI,CAsCN"}
|
|
@@ -1,18 +1,33 @@
|
|
|
1
|
-
import { PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxHandler, PptxSlideMaster, PptxTagCollection } from 'pptx-viewer-core';
|
|
2
|
-
import { SlideSizeEmu } from 'pptx-viewer-shared';
|
|
1
|
+
import { PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxHandler, PptxSlide, PptxSlideMaster, PptxTagCollection } from 'pptx-viewer-core';
|
|
2
|
+
import { SlideSizeEmu, SlideSizeRescaleMode } from 'pptx-viewer-shared';
|
|
3
3
|
import { Ref, ShallowRef } from 'vue';
|
|
4
4
|
import { CanvasSize } from '../types';
|
|
5
|
+
/**
|
|
6
|
+
* A slide-size change awaiting the user's Maximize / Ensure Fit choice
|
|
7
|
+
* (`pptx.slideSize.rescale*`, `SlideSizeRescalePrompt.vue`). Set when the deck
|
|
8
|
+
* has at least one element and the chosen size differs from the current one;
|
|
9
|
+
* `chooseSlideSizeRescale`/`cancelSlideSizeRescale` resolve it.
|
|
10
|
+
*/
|
|
11
|
+
export interface PendingSlideSizeRescale {
|
|
12
|
+
oldSize: SlideSizeEmu;
|
|
13
|
+
newSize: SlideSizeEmu;
|
|
14
|
+
newCanvas: CanvasSize;
|
|
15
|
+
}
|
|
5
16
|
export interface UseInspectorDeckActionsInput {
|
|
6
17
|
handler: ShallowRef<PptxHandler | null>;
|
|
7
18
|
slideMasters: ShallowRef<PptxSlideMaster[]>;
|
|
8
19
|
canvasSize: Ref<CanvasSize>;
|
|
9
20
|
/** The deck's `p:sldSz` in EMU (`useLoadContent().slideSize`). */
|
|
10
21
|
slideSize: Ref<SlideSizeEmu | undefined>;
|
|
22
|
+
/** The editable deck, so a confirmed rescale can restate every slide's elements. */
|
|
23
|
+
slides: Ref<PptxSlide[]>;
|
|
11
24
|
coreProperties: ShallowRef<PptxCoreProperties | undefined>;
|
|
12
25
|
appProperties: ShallowRef<PptxAppProperties | undefined>;
|
|
13
26
|
customProperties: ShallowRef<PptxCustomProperty[]>;
|
|
14
27
|
tagCollections: ShallowRef<PptxTagCollection[]>;
|
|
15
28
|
markDirty: () => void;
|
|
29
|
+
/** Snapshot `slides` onto the undo stack before a rescale mutates it. */
|
|
30
|
+
pushHistory: () => void;
|
|
16
31
|
/**
|
|
17
32
|
* Re-serialise the deck and swap it back in as the active content so slide
|
|
18
33
|
* colours re-resolve against the newly-applied theme (mirrors React's
|
|
@@ -30,8 +45,22 @@ export interface UseInspectorDeckActionsResult {
|
|
|
30
45
|
* Adopt a slide size chosen by preset or orientation. Sets BOTH the EMU size
|
|
31
46
|
* (what the save writes to `p:sldSz`) and the pixel canvas (what the stage
|
|
32
47
|
* lays out at), because deriving one from the other loses preset identity.
|
|
48
|
+
*
|
|
49
|
+
* When the new size differs from the current one AND the deck already has
|
|
50
|
+
* at least one element, this does NOT apply immediately: it opens the
|
|
51
|
+
* Maximize / Ensure Fit rescale prompt via {@link pendingSlideSizeRescale}
|
|
52
|
+
* instead, mirroring PowerPoint's own "some content is off-slide" choice.
|
|
33
53
|
*/
|
|
34
54
|
updateSlideSize: (size: SlideSizeEmu, canvas: CanvasSize) => void;
|
|
55
|
+
/** The rescale prompt's state, or `null` when it is not showing. */
|
|
56
|
+
pendingSlideSizeRescale: Ref<PendingSlideSizeRescale | null>;
|
|
57
|
+
/**
|
|
58
|
+
* Resolve the pending rescale: scale every slide's elements (one undo
|
|
59
|
+
* entry, pushed first) and then apply the new size.
|
|
60
|
+
*/
|
|
61
|
+
chooseSlideSizeRescale: (mode: SlideSizeRescaleMode) => void;
|
|
62
|
+
/** Dismiss the prompt without changing the slide size. */
|
|
63
|
+
cancelSlideSizeRescale: () => void;
|
|
35
64
|
/** Patch document core properties (Title / Author / ...). */
|
|
36
65
|
updateCoreProperties: (patch: Partial<PptxCoreProperties>) => void;
|
|
37
66
|
/** Patch application properties (Company / Application). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInspectorDeckActions.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useInspectorDeckActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"useInspectorDeckActions.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useInspectorDeckActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG7E,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAE3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACvC,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;CACtB;AAED,MAAM,WAAW,4BAA4B;IAC5C,OAAO,EAAE,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACxC,YAAY,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;IAC5C,UAAU,EAAE,GAA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AAmB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACjE,iDAAiD;IACjD,sBAAsB,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,IAAI,CAAC;IAC7D,kEAAkE;IAClE,oBAAoB,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAC1D,2FAA2F;IAC3F,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IACvE,wDAAwD;IACxD,0BAA0B,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CACjE;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACtC,KAAK,EAAE,4BAA4B,GACjC,6BAA6B,CAiI/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAGN,WAAW,EACX,WAAW,EACX,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAS5C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AAMpC,6CAA6C;AAC7C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,CAAC;AAE3F,+DAA+D;AAC/D,MAAM,MAAM,kBAAkB,GAC3B,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,OAAO,GACP,WAAW,GACX,QAAQ,GACR,WAAW,GACX,OAAO,GACP,SAAS,GACT,iBAAiB,GACjB,OAAO,GACP,WAAW,GACX,WAAW,GACX,QAAQ,GACR,MAAM,CAAC;AAEV;;;;GAIG;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AAgD;IAChD,YAAY,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACzC,8EAA8E;IAC9E,sBAAsB,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACzD,2EAA2E;IAC3E,oBAAoB,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACjD,uEAAuE;IACvE,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAEtC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qFAAqF;AACrF,MAAM,WAAW,kBAAkB;IAClC,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,KAAK,EAAE,aAAa,CAAC;IACrB,+CAA+C;IAC/C,cAAc,EAAE,MAAM,CAAC;CACvB;AAED,+DAA+D;AAC/D,MAAM,WAAW,eAAe;IAC/B,uEAAuE;IACvE,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,wDAAwD;IACxD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,0BAA0B;IAC1C;;;;OAIG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,eAAe,CAAC;IACzD;;;OAGG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C,0EAA0E;IAC1E,MAAM,EAAE,MAAM,MAAM,IAAI,CAAC;CACzB;AAMD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,kBAAkB,
|
|
1
|
+
{"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;G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AyG5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ParsedSignature, ParsedTableStyleMap, PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxEmbeddedFont, PptxHandoutMaster, PptxHeaderFooter, PptxLayoutOption, PptxNotesMaster, PptxPresentationProperties, PptxSaveFormat, PptxSection, PptxSlide, PptxSlideMaster, PptxTagCollection, PptxTheme, PptxThemeOption, PptxViewProperties, PptxHandler } from 'pptx-viewer-core';
|
|
1
|
+
import { ParsedSignature, ParsedTableStyleMap, PptxAppProperties, PptxCommentAuthor, PptxCompatibilityWarning, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxEmbeddedFont, PptxHandoutMaster, PptxHeaderFooter, PptxLayoutOption, PptxModernCommentAuthor, PptxModifyVerifier, PptxNotesMaster, PptxPresentationProperties, PptxSaveFormat, PptxSection, PptxSlide, PptxSlideMaster, PptxTagCollection, PptxTheme, PptxThemeOption, PptxViewProperties, PptxHandler } from 'pptx-viewer-core';
|
|
2
2
|
import { DeckSaveIntent, SlideSizeEmu } from 'pptx-viewer-shared';
|
|
3
3
|
import { MaybeRefOrGetter, Ref, ShallowRef } from 'vue';
|
|
4
4
|
import { CanvasSize } from '../types';
|
|
@@ -112,6 +112,14 @@ export interface UseLoadContentResult {
|
|
|
112
112
|
sections: ShallowRef<PptxSection[]>;
|
|
113
113
|
/** Named custom slide shows (`p:custShowLst`), empty when none. */
|
|
114
114
|
customShows: ShallowRef<PptxCustomShow[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Modern comment authors (`ppt/commentAuthors.xml`'s `p188:` schema), used
|
|
117
|
+
* to seed the `@`-mention typeahead (`matchCommentMentionAuthors`,
|
|
118
|
+
* `pptx-viewer-shared`). Empty when the deck has no modern comments.
|
|
119
|
+
*/
|
|
120
|
+
modernCommentAuthors: ShallowRef<PptxModernCommentAuthor[]>;
|
|
121
|
+
/** Legacy comment authors (`p:cm`'s original `ppt/commentAuthors.xml` schema), empty when none. */
|
|
122
|
+
commentAuthors: ShallowRef<PptxCommentAuthor[]>;
|
|
115
123
|
/** Presentation-level slide-show properties (`presentationPr.xml`); reactive so Set Up Slide Show persists. */
|
|
116
124
|
presentationProperties: ShallowRef<PptxPresentationProperties>;
|
|
117
125
|
/**
|
|
@@ -132,6 +140,21 @@ export interface UseLoadContentResult {
|
|
|
132
140
|
themeOptions: ShallowRef<PptxThemeOption[]>;
|
|
133
141
|
/** Notes page size in pixels (`p:notesSz`), or `undefined` when absent. */
|
|
134
142
|
notesCanvasSize: Ref<CanvasSize | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Write-protection verifier from `p:modifyVerifier` (`presentationPr.xml`),
|
|
145
|
+
* or `undefined` when the deck carries none. Feeds
|
|
146
|
+
* `readOnlyRecommendation` (`pptx-viewer-shared`), which the read-only
|
|
147
|
+
* banner uses to default a password-protected deck open read-only.
|
|
148
|
+
*/
|
|
149
|
+
modifyVerifier: ShallowRef<PptxModifyVerifier | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* `handler.getCompatibilityWarnings()` right after this load: every
|
|
152
|
+
* warning the parse reported, deck-scoped and slide-scoped alike (the
|
|
153
|
+
* same list `attachSlideWarnings` partitions per slide, read back whole).
|
|
154
|
+
* Feeds `compatibilityWarningToasts` (`pptx-viewer-shared`) for the
|
|
155
|
+
* compat-warning toast stack.
|
|
156
|
+
*/
|
|
157
|
+
compatibilityWarnings: ShallowRef<PptxCompatibilityWarning[]>;
|
|
135
158
|
/** Serialise the current presentation back to `.pptx` bytes. */
|
|
136
159
|
getContent: () => Promise<Uint8Array>;
|
|
137
160
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadContent.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useLoadContent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,
|
|
1
|
+
{"version":3,"file":"useLoadContent.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useLoadContent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,WAAW,EACX,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,kBAAkB,EAElB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACN,WAAW,EAIX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAmB,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAUxF,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAG7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAM3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAwB/F;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,oBAAoB;IACpC,kFAAkF;IAClF,MAAM,EAAE,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC;IAC1D,mCAAmC;IACnC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC5B;;;;;;;;;OASG;IACH,SAAS,EAAE,GAAG,CAAC,YAAY,GAAG,SAAS,CAAC,C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;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,cAAc,CAAC;IACrC;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC;IAC9B;;;;;;;;OAQG;IACH,sBAAsB,CAAC,EAAE,MAAM,OAAO,CAAC;CACvC;AAED,wBAAgB,cAAc,CAC7B,OAAO,EAAE,gBAAgB,CAAC,UAAU,GAAG,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,EACtE,OAAO,CAAC,EAAE,qBAAqB,GAC7B,oBAAoB,CAqYtB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PptxData, PptxHandler, PptxSlideMaster } from 'pptx-viewer-core';
|
|
2
|
+
import { MasterViewCrudAction, MasterViewCrudActionId, MasterViewTarget } from 'pptx-viewer-shared';
|
|
3
|
+
import { ComputedRef, Ref, ShallowRef } from 'vue';
|
|
4
|
+
export interface UseMasterViewCrudInput {
|
|
5
|
+
handler: ShallowRef<PptxHandler | null>;
|
|
6
|
+
slideMasters: ShallowRef<PptxSlideMaster[]>;
|
|
7
|
+
/** Snapshot the presentation-level `PptxData` the CRUD action reads/validates against. */
|
|
8
|
+
deckData: () => PptxData;
|
|
9
|
+
/** The sidebar's current selection, as the shared rule sees it. */
|
|
10
|
+
target: () => MasterViewTarget;
|
|
11
|
+
onSelectMaster: (index: number) => void;
|
|
12
|
+
onSelectLayout: (masterIndex: number, layoutIndex: number) => void;
|
|
13
|
+
markDirty: () => void;
|
|
14
|
+
/** Snapshot `slides` onto the undo stack before adopting the CRUD result. */
|
|
15
|
+
pushHistory: () => void;
|
|
16
|
+
}
|
|
17
|
+
export interface UseMasterViewCrudResult {
|
|
18
|
+
/** The sidebar's button list for the current selection (enabled/disabled + why). */
|
|
19
|
+
actions: ComputedRef<MasterViewCrudAction[]>;
|
|
20
|
+
/** i18n key for the last command's failure, or `null`. Cleared on the next run. */
|
|
21
|
+
error: Ref<string | null>;
|
|
22
|
+
/** Run one sidebar command. */
|
|
23
|
+
run: (id: MasterViewCrudActionId) => Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
export declare function useMasterViewCrud(input: UseMasterViewCrudInput): UseMasterViewCrudResult;
|
|
26
|
+
//# sourceMappingURL=useMasterViewCrud.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMasterViewCrud.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useMasterViewCrud.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAM/E,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGxD,MAAM,WAAW,sBAAsB;IACtC,OAAO,EAAE,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACxC,YAAY,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;IAC5C,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,QAAQ,CAAC;IACzB,mEAAmE;IACnE,MAAM,EAAE,MAAM,gBAAgB,CAAC;IAC/B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,6EAA6E;IAC7E,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACvC,oFAAoF;IACpF,OAAO,EAAE,WAAW,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAC7C,mFAAmF;IACnF,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1B,+BAA+B;IAC/B,GAAG,EAAE,CAAC,EAAE,EAAE,sBAAsB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,uBAAuB,CA0DxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModel3dScene.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useModel3dScene.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useModel3dScene.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useModel3dScene.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAI3D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,kDAAkD;AAClD,MAAM,WAAW,sBAAsB;IACtC,4EAA4E;IAC5E,SAAS,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACnC,6EAA6E;IAC7E,OAAO,EAAE,GAAG,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC7C,4BAA4B;IAC5B,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACnB,6BAA6B;IAC7B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB,2DAA2D;IAC3D,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CAC1B;AAED,yCAAyC;AACzC,MAAM,WAAW,qBAAqB;IACrC,6EAA6E;IAC7E,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,qBAAqB,CAyEtF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PptxCustomShow, PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
/** A custom show's membership, the shape `usePresentationShowOrder` reads. */
|
|
4
|
+
export type ActiveCustomShow = {
|
|
5
|
+
slideRIds: string[];
|
|
6
|
+
} | null | undefined;
|
|
7
|
+
export interface UsePresentationActionExtrasInput {
|
|
8
|
+
customShows: () => readonly PptxCustomShow[];
|
|
9
|
+
currentIndex: Ref<number>;
|
|
10
|
+
activeSlide: () => PptxSlide | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* `undefined` follows the dialog-selected show (`activeCustomShow` prop);
|
|
13
|
+
* a set value (including explicit `null`, "no show") overrides it while an
|
|
14
|
+
* on-slide custom-show action is running.
|
|
15
|
+
*/
|
|
16
|
+
activeShowOverride: Ref<ActiveCustomShow>;
|
|
17
|
+
/** `showOrder.first`; called AFTER `activeShowOverride` changes, so it resolves against the new show. */
|
|
18
|
+
firstShowSlide: (fallback: number) => number;
|
|
19
|
+
goTo: (index: number) => void;
|
|
20
|
+
/** The show frame's root element, so a media lookup cannot match a stray same-id node elsewhere on the page. */
|
|
21
|
+
frameRoot: () => HTMLElement | null;
|
|
22
|
+
}
|
|
23
|
+
export interface UsePresentationActionExtrasResult {
|
|
24
|
+
lastViewed: () => void;
|
|
25
|
+
customShow: (customShowId: string, returnAfter: boolean) => void;
|
|
26
|
+
/** Wire into `usePresentationNavigation`'s `onShowEnd`. */
|
|
27
|
+
handleShowEnd: () => boolean;
|
|
28
|
+
openFile: (target: string) => void;
|
|
29
|
+
openPresentation: (target: string) => void;
|
|
30
|
+
playMedia: (elementId: string | undefined) => void;
|
|
31
|
+
oleVerb: (verb: number, elementId: string | undefined) => void;
|
|
32
|
+
}
|
|
33
|
+
export declare function usePresentationActionExtras(input: UsePresentationActionExtrasInput): UsePresentationActionExtrasResult;
|
|
34
|
+
//# sourceMappingURL=usePresentationActionExtras.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useP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MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAC/D;AAED,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,gCAAgC,GACrC,iCAAiC,CAiFnC"}
|
|
@@ -63,7 +63,5 @@ export declare function createStroke(tool: 'pen' | 'highlighter', x: number, y:
|
|
|
63
63
|
* was erased.
|
|
64
64
|
*/
|
|
65
65
|
export declare function eraseStrokesAtPoint(strokes: AnnotationStroke[], x: number, y: number, radius?: number): AnnotationStroke[];
|
|
66
|
-
/** Build the SVG path `d` attribute for a polyline of stroke points. */
|
|
67
|
-
export declare function buildStrokePathD(points: AnnotationPoint[]): string;
|
|
68
66
|
export declare function usePresentationAnnotations(options: UsePresentationAnnotationsOptions): UsePresentationAnnotationsResult;
|
|
69
67
|
//# sourceMappingURL=usePresentationAnnotations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePresentationAnnotations.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationAnnotations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAM9D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,GAAG,QAAQ,CAAC;AAEnF,MAAM,WAAW,eAAe;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;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AE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,4CAA4C;IAC5C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,wCAAwC;IACxC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,mEAAmE;IACnE,mBAAmB,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACrD,uDAAuD;IACvD,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC;AAMD,eAAO,MAAM,SAAS,MAAM,CAAC;AAC7B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,aAAa,KAAK,CAAC;AAYhC,8EAA8E;AAC9E,wBAAgB,YAAY,CAC3B,IAAI,EAAE,KAAK,GAAG,aAAa,EAC3B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,MAAM,GACtB,gBAAgB,CASlB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAClC,OAAO,EAAE,gBAAgB,EAAE,EAC3B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,SAAgB,GACpB,gBAAgB,EAAE,CAWpB;
|
|
1
|
+
{"version":3,"file":"usePresentationAnnotations.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationAnnotations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAM9D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,GAAG,QAAQ,CAAC;AAEnF,MAAM,WAAW,eAAe;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED,MAAM,WAAW,gB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SlideRange } from 'pptx-viewer-shared';
|
|
2
3
|
import { ComputedRef, Ref, ShallowRef } from 'vue';
|
|
3
4
|
import { SlideAnnotationMap } from './usePresentationAnnotations';
|
|
4
5
|
import { UsePresentationModeWiringResult } from './usePresentationModeWiring';
|
|
@@ -9,12 +10,28 @@ export interface UsePresentationControlsOptions {
|
|
|
9
10
|
customShows: ShallowRef<PptxCustomShow[]>;
|
|
10
11
|
/** The custom show selected in the Custom Shows panel, if any. */
|
|
11
12
|
activeCustomShowId: () => string | null;
|
|
13
|
+
/**
|
|
14
|
+
* The `p:showPr/p:sldRg` slide-range restriction, when the deck is authored
|
|
15
|
+
* to open into a range. A getter (evaluated lazily, same as
|
|
16
|
+
* `activeCustomShowId`) so it may be declared after this composable in the
|
|
17
|
+
* host SFC.
|
|
18
|
+
*/
|
|
19
|
+
authoredRange?: () => AuthoredSlideRange | null | undefined;
|
|
12
20
|
pushHistory: () => void;
|
|
13
21
|
}
|
|
14
|
-
export interface UsePresentationControlsResult extends Pick<UsePresentationModeWiringResult, 'presenting'
|
|
22
|
+
export interface UsePresentationControlsResult extends Pick<UsePresentationModeWiringResult, 'presenting'> {
|
|
15
23
|
rehearsal: UseRehearseTimingsResult;
|
|
16
24
|
/** True when the show should open directly in presenter view. */
|
|
17
25
|
startInPresenterView: Ref<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* Enter the show "From Current Slide": the active slide when the show
|
|
28
|
+
* includes it, otherwise the nearest show slide
|
|
29
|
+
* (`presentationEntrySlideIndex`). Every entry point but "From Beginning"
|
|
30
|
+
* uses this.
|
|
31
|
+
*/
|
|
32
|
+
startPresenting: () => void;
|
|
33
|
+
/** Enter the show "From Beginning": the show's first slide, unconditionally. */
|
|
34
|
+
presentFromBeginning: () => void;
|
|
18
35
|
startPresenterView: () => void;
|
|
19
36
|
startRehearsal: () => void;
|
|
20
37
|
closePresentation: (payload?: {
|
|
@@ -27,6 +44,14 @@ export interface UsePresentationControlsResult extends Pick<UsePresentationModeW
|
|
|
27
44
|
* membership and order, not just its dialog.
|
|
28
45
|
*/
|
|
29
46
|
activePresentationCustomShow: ComputedRef<PptxCustomShow | null>;
|
|
47
|
+
/**
|
|
48
|
+
* Which deck index the show should open on, resolved by `startPresenting` /
|
|
49
|
+
* `presentFromBeginning` at the moment the show is entered. Fed to
|
|
50
|
+
* `PresentationMode`'s `startIndex` instead of the raw active slide, so a
|
|
51
|
+
* show authored into a range (or a custom show) never opens on a slide it
|
|
52
|
+
* does not include.
|
|
53
|
+
*/
|
|
54
|
+
presentationStartIndex: Ref<number>;
|
|
30
55
|
}
|
|
31
56
|
export declare function usePresentationControls(options: UsePresentationControlsOptions): UsePresentationControlsResult;
|
|
32
57
|
//# sourceMappingURL=usePresentationControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePresentationControls.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationControls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAEnF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAGrE,MAAM,WAAW,8BAA8B;IAC9C,MAAM,EAAE,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;IAChC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;IAC1C,kEAAkE;IAClE,kBAAkB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACxC,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,6BAA8B,SAAQ,IAAI,CAC1D,+BAA+B,EAC/B,YAAY,
|
|
1
|
+
{"version":3,"file":"usePresentationControls.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationControls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAM7D,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAEnF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAGrE,MAAM,WAAW,8BAA8B;IAC9C,MAAM,EAAE,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;IAChC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;IAC1C,kEAAkE;IAClE,kBAAkB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACxC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5D,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,6BAA8B,SAAQ,IAAI,CAC1D,+BAA+B,EAC/B,YAAY,CACZ;IACA,SAAS,EAAE,wBAAwB,CAAC;IACpC,iEAAiE;IACjE,oBAAoB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACnC;;;;;OAKG;IACH,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gFAAgF;IAChF,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,OAAO,CAAC,EAAE;QAAE,WAAW,EAAE,kBAAkB,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3E,wBAAwB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,4BAA4B,EAAE,WAAW,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACjE;;;;;;OAMG;IACH,sBAAsB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACpC;AAED,wBAAgB,uBAAuB,CACtC,OAAO,EAAE,8BAA8B,GACrC,6BAA6B,CAqG/B"}
|
|
@@ -21,9 +21,25 @@ export interface UsePresentationNavigationOptions {
|
|
|
21
21
|
showOrder: PresentationShowOrder;
|
|
22
22
|
/** File > Options > Advanced: show a black slide instead of ending outright. */
|
|
23
23
|
endWithBlackSlide: () => boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Slide Show Setup > "Loop continuously until 'Esc'" (or a kiosk-type show,
|
|
26
|
+
* which forces it): advancing past the show's last slide wraps to its first
|
|
27
|
+
* slide instead of raising the end screen or exiting. Callers should pass
|
|
28
|
+
* shared's `shouldLoopContinuously(presentationProperties)`.
|
|
29
|
+
*/
|
|
30
|
+
loopContinuously?: () => boolean;
|
|
24
31
|
/** Leave the show (goes through the keep-annotations prompt when needed). */
|
|
25
32
|
requestClose: () => void;
|
|
26
33
|
onSlideChange: (index: number) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Checked before the loop / black-slide / close fallback, when the running
|
|
36
|
+
* show has no next slide. Returning `true` means the caller already
|
|
37
|
+
* navigated (e.g. a `ppaction://customshow?...&return=true` sub-show
|
|
38
|
+
* restoring the origin show and slide) and `next()` should do nothing
|
|
39
|
+
* further. Returning `false` (or omitting the option) falls through to the
|
|
40
|
+
* normal end-of-show handling.
|
|
41
|
+
*/
|
|
42
|
+
onShowEnd?: () => boolean;
|
|
27
43
|
}
|
|
28
44
|
export interface UsePresentationNavigationResult {
|
|
29
45
|
currentIndex: Ref<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePresentationNavigation.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG5C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,8EAA8E;AAC9E,MAAM,WAAW,2BAA2B;IAC3C,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;CACjD;AAED,MAAM,WAAW,gCAAgC;IAChD,MAAM,EAAE,MAAM,SAAS,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,MAAM,CAAC;IACzB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,0BAA0B,CAAC;IAC3C,SAAS,EAAE,qBAAqB,CAAC;IACjC,gFAAgF;IAChF,iBAAiB,EAAE,MAAM,OAAO,CAAC;IACjC,6EAA6E;IAC7E,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"usePresentationNavigation.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO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,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,mEAAmE;IACnE,eAAe,EAAE,GAAG,CAAC,2BAA2B,GAAG,IAAI,CAAC,CAAC;IACzD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,wBAAgB,yBAAyB,CACxC,OAAO,EAAE,gCAAgC,GACvC,+BAA+B,CAyHjC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { AuthoredSlideRange } from 'pptx-viewer-shared';
|
|
2
3
|
import { ComputedRef } from 'vue';
|
|
3
4
|
/**
|
|
4
5
|
* usePresentationShowOrder: which slides the running show visits, and what a
|
|
@@ -33,6 +34,12 @@ export interface UsePresentationShowOrderInput {
|
|
|
33
34
|
activeCustomShow?: () => {
|
|
34
35
|
slideRIds: string[];
|
|
35
36
|
} | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The `p:showPr/p:sldRg` slide-range restriction, when the deck is
|
|
39
|
+
* authored to open into a range rather than the whole deck or a custom
|
|
40
|
+
* show (`resolveAuthoredSlideRange`, `pptx-viewer-shared`).
|
|
41
|
+
*/
|
|
42
|
+
authoredRange?: () => AuthoredSlideRange | null | undefined;
|
|
36
43
|
}
|
|
37
44
|
export declare function usePresentationShowOrder(input: UsePresentationShowOrderInput): PresentationShowOrder;
|
|
38
45
|
//# sourceMappingURL=usePresentationShowOrder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePresentationShowOrder.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationShowOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"usePresentationShowOrder.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresentationShowOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAU7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAEvC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,qBAAqB;IACrC,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC,gFAAgF;IAChF,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,mEAAmE;IACnE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,sEAAsE;IACtE,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IAClC,oCAAoC;IACpC,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,kCAAkC;IAClC,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC7C,MAAM,EAAE,MAAM,SAAS,SAAS,EAAE,CAAC;IACnC,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM;QAAE,SAAS,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACpE;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5D;AAED,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,6BAA6B,GAClC,qBAAqB,CAYvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PptxSlide } from 'pptx-viewer-core';
|
|
1
|
+
import { PptxHandoutMaster, PptxSlide } from 'pptx-viewer-core';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
3
|
import { PrintSettings } from '../components/print-dialog-types';
|
|
4
4
|
import { CanvasSize } from '../types';
|
|
@@ -36,6 +36,12 @@ export interface UsePrintOptions {
|
|
|
36
36
|
slideSize?: Ref<CanvasSize>;
|
|
37
37
|
/** Override the print-window opener (defaults to a `window.open` impl). */
|
|
38
38
|
openPrintWindow?: OpenPrintWindow;
|
|
39
|
+
/**
|
|
40
|
+
* The deck's handout master, consumed for its background, header/footer/
|
|
41
|
+
* date/page-number placeholders, and (when authored) positioned slide
|
|
42
|
+
* rects, in the `handouts` print mode.
|
|
43
|
+
*/
|
|
44
|
+
handoutMaster?: Ref<PptxHandoutMaster | undefined>;
|
|
39
45
|
}
|
|
40
46
|
export interface UsePrintResult {
|
|
41
47
|
/** Whether the print dialog is open. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePrint.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePrint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"usePrint.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePrint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAcrE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAO/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C;;;;;;;;;;;;;GAaG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,CAC5B,KAAK,EAAE,MAAM,EACb,eAAe,CAAC,EAAE,MAAM,KACpB,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEhC;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC;AAEhE,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACzB,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,EAAE,cAAc,CAAC;IAC/B,qEAAqE;IACrE,SAAS,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC5B,2EAA2E;IAC3E,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;OAIG;IACH,aAAa,CAAC,EAAE,GAAG,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,cAAc;IAC9B,wCAAwC;IACxC,iBAAiB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAChC,wDAAwD;IACxD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,+CAA+C;IAC/C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,+EAA+E;IAC/E,KAAK,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClD;AAwCD,wBAAgB,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,cAAc,CA2JjE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PptxCustomProperty, PptxModifyVerifier } from 'pptx-viewer-core';
|
|
2
|
+
import { ReadOnlyRecommendation } from 'pptx-viewer-shared';
|
|
3
|
+
import { ComputedRef, Ref } from 'vue';
|
|
4
|
+
/**
|
|
5
|
+
* useReadOnlyRecommendation: the Trust-Center-style banner shown when a
|
|
6
|
+
* loaded deck asks to be opened read-only (`p:modifyVerifier`, or `docProps/
|
|
7
|
+
* custom.xml`'s "Mark as Final"), and the lock that goes with it.
|
|
8
|
+
*
|
|
9
|
+
* Mirrors `PowerPointViewer.vue`'s existing Protected View mechanism
|
|
10
|
+
* (`protectedViewActive`/`protectedViewDismissed`/`enableEditing`) rather than
|
|
11
|
+
* inventing a second one: `locked` feeds the SAME `canEditEffective` gate
|
|
12
|
+
* every edit entry point already reads, and `reset()` is called from the same
|
|
13
|
+
* `watch(activeContent, ...)` handler that resets Protected View, so a newly
|
|
14
|
+
* opened document is evaluated fresh even if a previous one was unlocked.
|
|
15
|
+
*/
|
|
16
|
+
export interface UseReadOnlyRecommendationInput {
|
|
17
|
+
modifyVerifier: Ref<PptxModifyVerifier | undefined>;
|
|
18
|
+
customProperties: Ref<PptxCustomProperty[]>;
|
|
19
|
+
}
|
|
20
|
+
export interface UseReadOnlyRecommendationResult {
|
|
21
|
+
/** The current recommendation (`kind: null` when the deck asks for nothing). */
|
|
22
|
+
recommendation: ComputedRef<ReadOnlyRecommendation>;
|
|
23
|
+
/** Whether the banner should render. */
|
|
24
|
+
showBanner: ComputedRef<boolean>;
|
|
25
|
+
/** Whether editing should currently be blocked because of this recommendation. */
|
|
26
|
+
locked: ComputedRef<boolean>;
|
|
27
|
+
/** "Edit anyway": lifts the lock and hides the banner for this document. */
|
|
28
|
+
editAnyway: () => void;
|
|
29
|
+
/** "Dismiss": hides the banner but leaves the lock (if any) in place. */
|
|
30
|
+
dismiss: () => void;
|
|
31
|
+
/** Re-arm the recommendation for a newly loaded document. */
|
|
32
|
+
reset: () => void;
|
|
33
|
+
}
|
|
34
|
+
export declare function useReadOnlyRecommendation(input: UseReadOnlyRecommendationInput): UseReadOnlyRecommendationResult;
|
|
35
|
+
//# sourceMappingURL=useReadOnlyRecommendation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReadOnlyRecommendation.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useReadOnlyRecommendation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGjE,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,8BAA8B;IAC9C,cAAc,EAAE,GAAG,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACpD,gBAAgB,EAAE,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,+BAA+B;IAC/C,gFAAgF;IAChF,cAAc,EAAE,WAAW,CAAC,sBAAsB,CAAC,CAAC;IACpD,wCAAwC;IACxC,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjC,kFAAkF;IAClF,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,4EAA4E;IAC5E,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,yEAAyE;IACzE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6DAA6D;IAC7D,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,wBAAgB,yBAAyB,CACxC,KAAK,EAAE,8BAA8B,GACnC,+BAA+B,CAkCjC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PptxPresentationProperties } from 'pptx-viewer-core';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export interface UseRecentColorsInput {
|
|
4
|
+
presentationProperties: Ref<PptxPresentationProperties>;
|
|
5
|
+
/**
|
|
6
|
+
* Bumped once per fresh document load (`PowerPointViewer.vue`'s
|
|
7
|
+
* `loadVersion`). Re-seeds `recent` from the newly loaded deck's own
|
|
8
|
+
* `mruColors` instead of carrying the previous document's list over.
|
|
9
|
+
*/
|
|
10
|
+
loadVersion?: Ref<number>;
|
|
11
|
+
}
|
|
12
|
+
export interface UseRecentColorsResult {
|
|
13
|
+
/** Most-recent-first list of `#RRGGBB` colours, capped at `RECENT_COLOR_LIMIT`. */
|
|
14
|
+
recent: Ref<string[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Fold a newly picked colour into `recent` and persist it onto
|
|
17
|
+
* `presentationProperties.mruColors`. A no-op for anything that is not a
|
|
18
|
+
* plain 6-digit hex colour (a named colour, `rgb(...)`, a gradient stop
|
|
19
|
+
* picked mid-drag before it resolves, etc.).
|
|
20
|
+
*/
|
|
21
|
+
push: (hex: string) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare function useRecentColors(input: UseRecentColorsInput): UseRecentColorsResult;
|
|
24
|
+
//# sourceMappingURL=useRecentColors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRecentColors.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useRecentColors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAGnE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,MAAM,WAAW,oBAAoB;IACpC,sBAAsB,EAAE,GAAG,CAAC,0BAA0B,CAAC,CAAC;IACxD;;;;OAIG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACrC,mFAAmF;IACnF,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IACtB;;;;;OAKG;IACH,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,qBAAqB,CA8BlF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useViewerRibbonProps.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useViewerRibbonProps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EACX,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,0BAA0B,EAC1B,SAAS,EACT,SAAS,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAExD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAA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C,WAAW,CAAC,CA2I7F"}
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-CzqkbFbc.cjs"), t = require("../viewer-CT4fxZ5F.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ChartRenderer = t.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = t.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = t.ElementRenderer_default, exports.EquationRenderer = t.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = t.InkRenderer_default, exports.Model3DRenderer = t.Model3DRenderer_default, exports.OleRenderer = t.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = t.SlideStage_default, exports.SmartArtRenderer = t.SmartArtRenderer_default, exports.TableRenderer = t.TableRenderer_default, exports.WordArtText = t.WordArtText_default, exports.ZoomRenderer = t.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = e.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.getContainerStyle = t.getContainerStyle, exports.getImageSrc = t.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = t.getShapeFillStrokeStyle, exports.getTextBlockStyle = t.getTextBlockStyle, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.parseAudienceNonce = e.parseAudienceNonce, exports.storeAudienceContent = e.storeAudienceContent, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = t.useCollaborativeHistory, exports.useCollaborativeState = t.useCollaborativeState, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent, exports.usePresenceTracking = t.usePresenceTracking, exports.useYjsProvider = t.useYjsProvider;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
3
|
-
export {
|
|
1
|
+
import { Ao as a, C as s, Co as e, J as r, S as o, Ta as n, Vu as t, Wl as l, X as i, Xc as d, Yc as R, dn as m, fn as C, it as S, j as w, ko as b, mn as c, pn as u, tp as p, un as j, w as x, x as A, xn as T, yl as V } from "../useViewerSettingsDialog-CRN8XHoO.js";
|
|
2
|
+
import { A as f, B as g, C as k, D as v, E as D, F as E, H as I, I as M, L as O, M as P, N as y, O as B, P as F, R as W, V as X, a as h, c as q, i as z, j as H, k as J, l as L, n as N, r as Y, s as Z, t as G, w as K, z as Q } from "../viewer-CDo7002_.js";
|
|
3
|
+
export { T as AUDIENCE_HASH, O as ChartRenderer, L as CollaborationCursors, I as CollaborationStatusIndicator, M as ConnectorRenderer, j as DEFAULT_CANVAS_HEIGHT, m as DEFAULT_CANVAS_WIDTH, C as DEFAULT_FILL_COLOR, u as DEFAULT_STROKE_COLOR, c as DEFAULT_TEXT_COLOR, v as ElementRenderer, E as EquationRenderer, Z as FollowModeBar, F as InkRenderer, y as Model3DRenderer, P as OleRenderer, h as PowerPointViewer, q as RemoteSelectionOverlay, K as RibbonToolbar, k as SlideCanvas, D as SlideStage, H as SmartArtRenderer, f as TableRenderer, J as WordArtText, B as ZoomRenderer, n as buildInitialGuides, e as clearAudienceContent, b as collectImagePaths, a as collectMediaElements, A as exportAllSlidesToSvg, o as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, x as exportSlideToSvgBlob, W as getContainerStyle, Q as getImageSrc, R as getResolvedShapeClipPath, d as getResolvedShapeClipPathFor, g as getShapeFillStrokeStyle, X as getTextBlockStyle, V as isAudienceTab, l as loadAudienceContent, t as parseAudienceNonce, p as storeAudienceContent, S as useCollaboration, G as useCollaborativeHistory, N as useCollaborativeState, i as useEditorHistory, r as useEditorOperations, w as useLoadContent, Y as usePresenceTracking, z as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|