pptx-vue-viewer 2.7.1 → 2.9.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 +4 -0
- package/dist/{AiChatPanel--kVwOMUw.cjs → AiChatPanel-C0SgIFHP.cjs} +1 -1
- package/dist/AiChatPanel-C0SgIFHP.cjs.br +0 -0
- package/dist/AiChatPanel-C0SgIFHP.cjs.gz +0 -0
- package/dist/{AiChatPanel-CpmmucnN.js → AiChatPanel-i53oO_Ve.js} +2 -2
- package/dist/AiChatPanel-i53oO_Ve.js.br +0 -0
- package/dist/AiChatPanel-i53oO_Ve.js.gz +0 -0
- package/dist/{dist-BbaI3U3Z.cjs → dist-9y0eFWzk.cjs} +6313 -6218
- package/dist/dist-9y0eFWzk.cjs.br +0 -0
- package/dist/dist-9y0eFWzk.cjs.gz +0 -0
- package/dist/{dist-CQH4Q96Y.js → dist-Bv3ze8Vw.js} +6211 -6121
- package/dist/dist-Bv3ze8Vw.js.br +0 -0
- package/dist/dist-Bv3ze8Vw.js.gz +0 -0
- package/dist/gif-encoder-B7LGag6h.js +2 -0
- package/dist/gif-encoder-B7LGag6h.js.br +0 -0
- package/dist/gif-encoder-B7LGag6h.js.gz +0 -0
- package/dist/gif-encoder-CmhJX_GX.cjs +2 -0
- package/dist/gif-encoder-CmhJX_GX.cjs.br +0 -0
- package/dist/gif-encoder-CmhJX_GX.cjs.gz +0 -0
- package/dist/{i18n-Bz7S3ck0.js → i18n-AatdvaY5.js} +236 -15
- package/dist/i18n-AatdvaY5.js.br +0 -0
- package/dist/i18n-AatdvaY5.js.gz +0 -0
- package/dist/{i18n-gwdCzBc5.cjs → i18n-DDGmmRd4.cjs} +236 -15
- package/dist/i18n-DDGmmRd4.cjs.br +0 -0
- package/dist/i18n-DDGmmRd4.cjs.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 +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +6 -6
- 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-Ctp16X0a.js → useViewerSettingsDialog-BKwbqYMl.js} +4737 -4158
- package/dist/useViewerSettingsDialog-BKwbqYMl.js.br +0 -0
- package/dist/useViewerSettingsDialog-BKwbqYMl.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-BqkBW1TZ.cjs → useViewerSettingsDialog-CR4MPrJW.cjs} +4892 -4199
- package/dist/useViewerSettingsDialog-CR4MPrJW.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CR4MPrJW.cjs.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ChartRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ContextMenu.vue.d.ts +10 -0
- package/dist/viewer/components/ContextMenu.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementMediaBox.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/MarqueeOverlay.vue.d.ts +8 -0
- package/dist/viewer/components/MarqueeOverlay.vue.d.ts.map +1 -0
- package/dist/viewer/components/MobileMenuSheet.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/components/RulerStrips.vue.d.ts +18 -1
- package/dist/viewer/components/RulerStrips.vue.d.ts.map +1 -1
- package/dist/viewer/components/ShapeEffectOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideCanvas.vue.d.ts +16 -2
- package/dist/viewer/components/SlideCanvas.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/components/StatusBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/TableRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ActionSettingsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/AnimationPresetGallery.vue.d.ts +9 -0
- package/dist/viewer/components/ribbon/AnimationPresetGallery.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/AnimationsSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ArrangeSection.vue.d.ts +6 -6
- package/dist/viewer/components/ribbon/ArrangeSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/CustomShowsControls.vue.d.ts +2 -11
- package/dist/viewer/components/ribbon/CustomShowsControls.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/FileSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/HelpSection.vue.d.ts +2 -0
- package/dist/viewer/components/ribbon/HelpSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/HomeSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/InsertHyperlinkButton.vue.d.ts +9 -0
- package/dist/viewer/components/ribbon/InsertHyperlinkButton.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts +3 -0
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ReviewSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/RibbonTailSections.vue.d.ts +7 -0
- package/dist/viewer/components/ribbon/RibbonTailSections.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/RibbonToolbar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ShapeArrangeExtras.vue.d.ts +14 -0
- package/dist/viewer/components/ribbon/ShapeArrangeExtras.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts +3 -1
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TextSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TitleBar.vue.d.ts +5 -0
- package/dist/viewer/components/ribbon/TitleBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TitleBarQuickAccess.vue.d.ts +18 -0
- package/dist/viewer/components/ribbon/TitleBarQuickAccess.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/ViewSection.vue.d.ts +3 -0
- package/dist/viewer/components/ribbon/ViewSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/custom-show-controls-props.d.ts +12 -0
- package/dist/viewer/components/ribbon/custom-show-controls-props.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/file-section-actions.d.ts +17 -6
- package/dist/viewer/components/ribbon/file-section-actions.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/file-section-types.d.ts +1 -0
- package/dist/viewer/components/ribbon/file-section-types.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ribbon-constants.d.ts +9 -0
- package/dist/viewer/components/ribbon/ribbon-constants.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 +34 -1
- package/dist/viewer/components/ribbon/ribbon-types.d.ts.map +1 -1
- package/dist/viewer/composables/element-style.d.ts +21 -2
- package/dist/viewer/composables/element-style.d.ts.map +1 -1
- package/dist/viewer/composables/field-context.d.ts +19 -6
- package/dist/viewer/composables/field-context.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-actions.d.ts +5 -0
- package/dist/viewer/composables/ribbon-props-actions.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-state.d.ts +2 -0
- package/dist/viewer/composables/ribbon-props-state.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-types.d.ts +8 -0
- package/dist/viewer/composables/ribbon-props-types.d.ts.map +1 -1
- package/dist/viewer/composables/ruler-utils.d.ts +1 -1
- package/dist/viewer/composables/ruler-utils.d.ts.map +1 -1
- package/dist/viewer/composables/slide-elements.d.ts +44 -0
- package/dist/viewer/composables/slide-elements.d.ts.map +1 -0
- package/dist/viewer/composables/useContextMenu.d.ts +13 -1
- package/dist/viewer/composables/useContextMenu.d.ts.map +1 -1
- package/dist/viewer/composables/useEditorKeyboard.d.ts +4 -0
- package/dist/viewer/composables/useEditorKeyboard.d.ts.map +1 -1
- package/dist/viewer/composables/useEditorOperations.d.ts +4 -0
- package/dist/viewer/composables/useEditorOperations.d.ts.map +1 -1
- package/dist/viewer/composables/useElementDrag.d.ts +1 -1
- package/dist/viewer/composables/useElementDrag.d.ts.map +1 -1
- package/dist/viewer/composables/useKeyboardShortcuts.d.ts +16 -8
- package/dist/viewer/composables/useKeyboardShortcuts.d.ts.map +1 -1
- package/dist/viewer/composables/useMarqueeSelection.d.ts +47 -0
- package/dist/viewer/composables/useMarqueeSelection.d.ts.map +1 -0
- package/dist/viewer/composables/useRibbonUiState.d.ts +9 -0
- package/dist/viewer/composables/useRibbonUiState.d.ts.map +1 -1
- package/dist/viewer/composables/useSlideAutoAdvance.d.ts +26 -0
- package/dist/viewer/composables/useSlideAutoAdvance.d.ts.map +1 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DfWPlrdP.js → viewer-BGNQDepT.js} +10627 -9798
- package/dist/viewer-BGNQDepT.js.br +0 -0
- package/dist/viewer-BGNQDepT.js.gz +0 -0
- package/dist/{viewer-D-1Mv-9p.cjs → viewer-DVJ8OpAN.cjs} +5399 -4569
- package/dist/viewer-DVJ8OpAN.cjs.br +0 -0
- package/dist/viewer-DVJ8OpAN.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel--kVwOMUw.cjs.br +0 -0
- package/dist/AiChatPanel--kVwOMUw.cjs.gz +0 -0
- package/dist/AiChatPanel-CpmmucnN.js.br +0 -0
- package/dist/AiChatPanel-CpmmucnN.js.gz +0 -0
- package/dist/dist-BbaI3U3Z.cjs.br +0 -0
- package/dist/dist-BbaI3U3Z.cjs.gz +0 -0
- package/dist/dist-CQH4Q96Y.js.br +0 -0
- package/dist/dist-CQH4Q96Y.js.gz +0 -0
- package/dist/gif-encoder-DDYg7ynA.cjs +0 -2
- package/dist/gif-encoder-DDYg7ynA.cjs.br +0 -0
- package/dist/gif-encoder-DDYg7ynA.cjs.gz +0 -0
- package/dist/gif-encoder-DcyxwmJ2.js +0 -2
- package/dist/gif-encoder-DcyxwmJ2.js.br +0 -0
- package/dist/gif-encoder-DcyxwmJ2.js.gz +0 -0
- package/dist/i18n-Bz7S3ck0.js.br +0 -0
- package/dist/i18n-Bz7S3ck0.js.gz +0 -0
- package/dist/i18n-gwdCzBc5.cjs.br +0 -0
- package/dist/i18n-gwdCzBc5.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-BqkBW1TZ.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BqkBW1TZ.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-Ctp16X0a.js.br +0 -0
- package/dist/useViewerSettingsDialog-Ctp16X0a.js.gz +0 -0
- package/dist/viewer-D-1Mv-9p.cjs.br +0 -0
- package/dist/viewer-D-1Mv-9p.cjs.gz +0 -0
- package/dist/viewer-DfWPlrdP.js.br +0 -0
- package/dist/viewer-DfWPlrdP.js.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":"AA4rGA,OAAO,KAAK,EAAyB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAs6JpG,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -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":"AAuZA,OAAO,KAAK,EAAgC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,KAAK,EAEX,qBAAqB,EAGrB,MAAM,oBAAoB,CAAC;AA6B5B;;;;;;;;;;;;;;;;;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;;;;OAIG;IACH,cAAc,CAAC,EAAE,qBAAqB,CAAC;CACvC,CAAC;AA4dF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -23,6 +23,11 @@ declare const __VLS_export: import('vue').DefineComponent<{
|
|
|
23
23
|
x: number;
|
|
24
24
|
y: number;
|
|
25
25
|
items: ContextMenuItem[];
|
|
26
|
+
/**
|
|
27
|
+
* Accessible name for the menu. Without one a screen reader announces an
|
|
28
|
+
* unnamed menu, which is what three of the five bindings used to do.
|
|
29
|
+
*/
|
|
30
|
+
ariaLabel?: string;
|
|
26
31
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
32
|
select: (id: string) => any;
|
|
28
33
|
close: () => any;
|
|
@@ -31,6 +36,11 @@ declare const __VLS_export: import('vue').DefineComponent<{
|
|
|
31
36
|
x: number;
|
|
32
37
|
y: number;
|
|
33
38
|
items: ContextMenuItem[];
|
|
39
|
+
/**
|
|
40
|
+
* Accessible name for the menu. Without one a screen reader announces an
|
|
41
|
+
* unnamed menu, which is what three of the five bindings used to do.
|
|
42
|
+
*/
|
|
43
|
+
ariaLabel?: string;
|
|
34
44
|
}> & Readonly<{
|
|
35
45
|
onSelect?: ((id: string) => any) | undefined;
|
|
36
46
|
onClose?: (() => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ContextMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ContextMenu.vue"],"names":[],"mappings":"AAuMA;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC/B,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;UAEX,OAAO;OACV,MAAM;OACN,MAAM;WACF,eAAe,EAAE;IACxB;;;OAGG;gBACS,MAAM;;;;;UARZ,OAAO;OACV,MAAM;OACN,MAAM;WACF,eAAe,EAAE;IACxB;;;OAGG;gBACS,MAAM;;;;kFAuPf,CAAC"}
|
|
@@ -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":"AAyJA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQpD,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;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAkKF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -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":"AA4aA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AA4ChE;;;;;;;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;;;;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;AA+kBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MarqueeRect } from '../composables/useMarqueeSelection';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
rect: MarqueeRect | null;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=MarqueeOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarqueeOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/MarqueeOverlay.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;CAAE,CAAC;AA6ChD,QAAA,MAAM,YAAY,kSAEhB,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":"AAsVA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAMzD,UAAU,KAAM,SAAQ,WAAW;IAClC,IAAI,EAAE,OAAO,CAAC;CACd;AA+iBD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationMode.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationMode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresentationMode.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationMode.vue"],"names":[],"mappings":"AA63BA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAiB9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAMpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAY3C;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,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,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAqnCH,QAAA,MAAM,YAAY;;qBA9lCqB,kBAAkB;;;;;qBAAlB,kBAAkB;;;;gBA7B1C,MAAM;0BACI,OAAO;uBAGV,OAAO;8BACA,OAAO;6EA0nClC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
import { RulerUnit } from '../composables/ruler-utils';
|
|
2
2
|
import { CanvasSize } from '../types';
|
|
3
|
+
/** Bounding box (unscaled slide px) highlighted on the strips. */
|
|
4
|
+
interface SelectedBounds {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}
|
|
3
10
|
type __VLS_Props = {
|
|
4
11
|
canvasSize: CanvasSize;
|
|
5
12
|
scale: number;
|
|
6
13
|
unit?: RulerUnit;
|
|
14
|
+
/** Selected element extent, highlighted on both strips as PowerPoint does. */
|
|
15
|
+
selectedBounds?: SelectedBounds | null;
|
|
16
|
+
/** Enable the drag-out-a-guide gesture (editing only). */
|
|
17
|
+
draggable?: boolean;
|
|
7
18
|
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
createGuide: (axis: "h" | "v", position: number) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onCreateGuide?: ((axis: "h" | "v", position: number) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
draggable: boolean;
|
|
9
25
|
unit: RulerUnit;
|
|
26
|
+
selectedBounds: SelectedBounds | null;
|
|
10
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
28
|
declare const _default: typeof __VLS_export;
|
|
12
29
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RulerStrips.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/RulerStrips.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RulerStrips.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/RulerStrips.vue"],"names":[],"mappings":"AA6NA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,kEAAkE;AAClE,UAAU,cAAc;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAkOH,QAAA,MAAM,YAAY;;;;;eAnOJ,OAAO;UAJZ,SAAS;oBAEC,cAAc,GAAG,IAAI;6EAyOtC,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":"AA+KA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAWpD,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC;AAmK5C,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PptxElement, PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { RulerUnit } from '../composables/ruler-utils';
|
|
2
3
|
import { CanvasSize } from '../types';
|
|
3
4
|
/**
|
|
4
5
|
* SlideCanvas - Vue port of the React `SlideCanvas.tsx`.
|
|
@@ -22,6 +23,17 @@ type __VLS_Props = {
|
|
|
22
23
|
zoom?: number;
|
|
23
24
|
/** Show the horizontal/vertical rulers along the slide edges (View ▸ Rulers). */
|
|
24
25
|
showRulers?: boolean;
|
|
26
|
+
/** Unit system for the ruler labels; defaults to inches, as PowerPoint does. */
|
|
27
|
+
rulerUnit?: RulerUnit;
|
|
28
|
+
/** Selected element extent (unscaled slide px) highlighted on the rulers. */
|
|
29
|
+
rulerSelectedBounds?: {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
} | null;
|
|
35
|
+
/** Allow dragging a guide off a ruler strip (editing only). */
|
|
36
|
+
canDragGuides?: boolean;
|
|
25
37
|
/**
|
|
26
38
|
* Master/layout (template) elements for the active slide, rendered by
|
|
27
39
|
* {@link SlideStage} in a dedicated layer behind the slide content.
|
|
@@ -33,13 +45,15 @@ type __VLS_Props = {
|
|
|
33
45
|
*/
|
|
34
46
|
editTemplateMode?: boolean;
|
|
35
47
|
};
|
|
36
|
-
declare var
|
|
48
|
+
declare var __VLS_14: {};
|
|
37
49
|
type __VLS_Slots = {} & {
|
|
38
|
-
default?: (props: typeof
|
|
50
|
+
default?: (props: typeof __VLS_14) => any;
|
|
39
51
|
};
|
|
40
52
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
createGuide: (axis: "h" | "v", position: number) => any;
|
|
41
54
|
"update:fitScale": (args_0: number) => any;
|
|
42
55
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
|
+
onCreateGuide?: ((axis: "h" | "v", position: number) => any) | undefined;
|
|
43
57
|
"onUpdate:fitScale"?: ((args_0: number) => any) | undefined;
|
|
44
58
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
59
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"AAqKA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAO/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iFAAiF;IACjF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gFAAgF;IAChF,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACrF,+DAA+D;IAC/D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AA0KF,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;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -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":"AA+LA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAS/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;AA2JH,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;WA3MN,MAAM;6EA8Md,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/StatusBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StatusBar.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/StatusBar.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAM1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAKjE,KAAK,WAAW,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,2BAA2B;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC;AA6VF,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKtD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -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":"AA0nBA,OAAO,KAAK,EACX,mBAAmB,EACnB,WAAW,EAGX,oBAAoB,EACpB,MAAM,kBAAkB,CAAC;AAwB1B;;;;;;;;;;;;;;;;;;;;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;;;;OAIG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AA2lBH,QAAA,MAAM,YAAY;iBAvmBF,OAAO;6EA0mBrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSettingsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ActionSettingsPanel.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ActionSettingsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ActionSettingsPanel.vue"],"names":[],"mappings":"AAAA,OA6KO,KAAK,EAAoC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAatF,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAuOpF,QAAA,MAAM,YAAY;;;;;aAvOwD,OAAO;gBAAzB,MAAM;6EA2O5D,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AnimationGroup } from 'pptx-viewer-shared';
|
|
2
|
+
interface Props {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
onAddAnimation?: (preset: string, group: AnimationGroup) => void;
|
|
5
|
+
}
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=AnimationPresetGallery.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimationPresetGallery.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/AnimationPresetGallery.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKzD,UAAU,KAAK;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CACjE;AAsJD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationsSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/AnimationsSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimationsSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/AnimationsSection.vue"],"names":[],"mappings":"AAUA;AAkLA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQpD,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,sFAAsF;IACtF,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,wDAAwD;IACxD,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,KAAK,IAAI,CAAC;IACnF,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAwSD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { PptxElement } from 'pptx-viewer-core';
|
|
2
|
-
import { ElementClipboardPayload } from './ribbon-types';
|
|
1
|
+
import { PptxElement, ShapeStyle } from 'pptx-viewer-core';
|
|
3
2
|
interface Props {
|
|
4
3
|
canEdit: boolean;
|
|
5
4
|
selectedElement: PptxElement | null;
|
|
6
|
-
|
|
5
|
+
/** How many elements the multi-select currently holds; Group needs two. */
|
|
6
|
+
selectedCount: number;
|
|
7
7
|
onAlignElements: (align: string) => void;
|
|
8
8
|
onDistributeElements: (axis: string) => void;
|
|
9
9
|
canDistribute: boolean;
|
|
10
|
-
onCopy: () => void;
|
|
11
|
-
onCut: () => void;
|
|
12
|
-
onPaste: () => void;
|
|
13
10
|
onFlip: (direction: 'horizontal' | 'vertical') => void;
|
|
14
11
|
onMoveLayer: (direction: string) => void;
|
|
15
12
|
onMoveLayerToEdge: (direction: string) => void;
|
|
13
|
+
onGroupElements: () => void;
|
|
14
|
+
onUngroupElement: () => void;
|
|
15
|
+
onUpdateElementStyle: (updates: Partial<ShapeStyle>) => void;
|
|
16
16
|
onDuplicate: () => void;
|
|
17
17
|
onDelete: () => void;
|
|
18
18
|
formatPainterActive?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrangeSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ArrangeSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArrangeSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ArrangeSection.vue"],"names":[],"mappings":"AAaA;AAqLA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAQhE,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,2EAA2E;IAC3E,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oBAAoB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,CAAC,SAAS,EAAE,YAAY,GAAG,UAAU,KAAK,IAAI,CAAC;IACvD,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAC7D,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACnC;AAuRD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
interface Props {
|
|
3
|
-
customShows: PptxCustomShow[];
|
|
4
|
-
activeCustomShowId: string | null;
|
|
5
|
-
canEdit: boolean;
|
|
6
|
-
isCurrentSlideInActiveShow: boolean;
|
|
7
|
-
onSetActiveCustomShowId: (id: string | null) => void;
|
|
8
|
-
onCreateCustomShow: () => void;
|
|
9
|
-
onRenameActiveCustomShow: () => void;
|
|
10
|
-
onDeleteActiveCustomShow: () => void;
|
|
11
|
-
onToggleCurrentSlideInActiveShow: () => void;
|
|
1
|
+
import { CustomShowsControlsProps } from './ribbon-types';
|
|
2
|
+
interface Props extends CustomShowsControlsProps {
|
|
12
3
|
}
|
|
13
4
|
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
5
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomShowsControls.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/CustomShowsControls.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CustomShowsControls.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/CustomShowsControls.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,UAAU,KAAM,SAAQ,wBAAwB;CAAG;AAyLnD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/FileSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/FileSection.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAwoB7D,QAAA,MAAM,YAAY,4SAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/HelpSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HelpSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/HelpSection.vue"],"names":[],"mappings":"AA6DA,UAAU,KAAK;IACd,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACpC;AAyDD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -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":"AAqQA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAiB/D,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,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;AAsbD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Whether an element is selected; a link always attaches to something. */
|
|
3
|
+
hasSelection: boolean;
|
|
4
|
+
onOpenHyperlinkDialog: () => void;
|
|
5
|
+
}
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=InsertHyperlinkButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsertHyperlinkButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/InsertHyperlinkButton.vue"],"names":[],"mappings":"AAsDA,UAAU,KAAK;IACd,2EAA2E;IAC3E,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,EAAE,MAAM,IAAI,CAAC;CAClC;AAkDD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -2,6 +2,9 @@ import { PptxChartType } from 'pptx-viewer-core';
|
|
|
2
2
|
import { SupportedShapeType } from './ribbon-types';
|
|
3
3
|
interface Props {
|
|
4
4
|
canEdit: boolean;
|
|
5
|
+
/** Whether an element is selected; gates the Link button (see below). */
|
|
6
|
+
hasSelection: boolean;
|
|
7
|
+
onOpenHyperlinkDialog: () => void;
|
|
5
8
|
newShapeType: SupportedShapeType;
|
|
6
9
|
onSetNewShapeType: (type: SupportedShapeType) => void;
|
|
7
10
|
onAddTextBox: () => 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":"AA2mBA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAYtD,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,aAAa,KAAK,IAAI,CAAC;IAChD,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":"ReviewSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ReviewSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReviewSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ReviewSection.vue"],"names":[],"mappings":"AAuMA,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAqVD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RibbonProps } from './ribbon-types';
|
|
2
|
+
interface Props extends RibbonProps {
|
|
3
|
+
}
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=RibbonTailSections.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RibbonTailSections.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/RibbonTailSections.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD,UAAU,KAAM,SAAQ,WAAW;CAAG;AA+JtC,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":"AA0QA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,UAAU,KAAM,SAAQ,WAAW;CAAG;AAuatC,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PptxElement, ShapeStyle } from 'pptx-viewer-core';
|
|
2
|
+
interface Props {
|
|
3
|
+
canEdit: boolean;
|
|
4
|
+
selectedElement: PptxElement | null;
|
|
5
|
+
/** How many elements the multi-select currently holds; Group needs two. */
|
|
6
|
+
selectedCount: number;
|
|
7
|
+
onGroupElements: () => void;
|
|
8
|
+
onUngroupElement: () => void;
|
|
9
|
+
onUpdateElementStyle: (updates: Partial<ShapeStyle>) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=ShapeArrangeExtras.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShapeArrangeExtras.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ShapeArrangeExtras.vue"],"names":[],"mappings":"AAiHA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAMhE,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,2EAA2E;IAC3E,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CAC7D;AAiID,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolbarActionId } from 'pptx-viewer-shared';
|
|
2
|
-
import { ViewerMode } from './ribbon-types';
|
|
2
|
+
import { CustomShowsControlsProps, ViewerMode } from './ribbon-types';
|
|
3
3
|
interface Props {
|
|
4
4
|
onPresent: () => void;
|
|
5
5
|
onEnterPresenterView: () => void;
|
|
@@ -9,6 +9,8 @@ interface Props {
|
|
|
9
9
|
onToggleSubtitles: () => void;
|
|
10
10
|
showSubtitles: boolean;
|
|
11
11
|
onSetMode: (mode: ViewerMode) => void;
|
|
12
|
+
/** Everything the custom-show picker needs; see `CustomShowsControls.vue`. */
|
|
13
|
+
customShowControls: CustomShowsControlsProps;
|
|
12
14
|
/** Toolbar buttons the host has asked to hide (gates the Broadcast button below). */
|
|
13
15
|
hiddenActions?: ToolbarActionId[];
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideShowSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlideShowSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideShowSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlideShowSection.vue"],"names":[],"mappings":"AA8LA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG3E,UAAU,KAAK;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,8EAA8E;IAC9E,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,qFAAqF;IACrF,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC;AAgYD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TextSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TextSection.vue"],"names":[],"mappings":"AA8pBA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG3D,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IACzD,mBAAmB,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;CACpD;AA49BD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -22,6 +22,11 @@ interface Props {
|
|
|
22
22
|
onCommandSearch?: (command: string) => void;
|
|
23
23
|
/** Toolbar buttons the host has asked to hide (gates Undo/Redo independently below). */
|
|
24
24
|
hiddenActions?: ToolbarActionId[];
|
|
25
|
+
/**
|
|
26
|
+
* Run a Quick Access command that is not one of the dedicated
|
|
27
|
+
* Save/Undo/Redo buttons (`presentFromStart`, `print`, ...), by catalog id.
|
|
28
|
+
*/
|
|
29
|
+
onQuickCommand?: (id: string) => void;
|
|
25
30
|
}
|
|
26
31
|
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TitleBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TitleBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TitleBar.vue"],"names":[],"mappings":"AAqSA,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,UAAU,KAAK;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,wFAAwF;IACxF,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;IAClC;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AA2cD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface TitleBarQuickAccessItem {
|
|
2
|
+
id: string;
|
|
3
|
+
/** Translated command label. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Logical icon name from `QUICK_ACCESS_COMMAND_CATALOG`. */
|
|
6
|
+
icon: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
items: TitleBarQuickAccessItem[];
|
|
11
|
+
/** Options > Quick Access Toolbar > "Always show command labels". */
|
|
12
|
+
showLabels: boolean;
|
|
13
|
+
onCommand: (id: string) => void;
|
|
14
|
+
};
|
|
15
|
+
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>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=TitleBarQuickAccess.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TitleBarQuickAccess.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TitleBarQuickAccess.vue"],"names":[],"mappings":"AAuGA,MAAM,WAAW,uBAAuB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,uBAAuB,EAAE,CAAC;IACjC,qEAAqE;IACrE,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAmFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -6,10 +6,13 @@ interface Props {
|
|
|
6
6
|
onSetSpellCheckEnabled: (enabled: boolean) => void;
|
|
7
7
|
showGrid: boolean;
|
|
8
8
|
showRulers: boolean;
|
|
9
|
+
/** Guide-overlay visibility only; the guides themselves stay in the model. */
|
|
10
|
+
showGuides: boolean;
|
|
9
11
|
snapToGrid: boolean;
|
|
10
12
|
snapToShape: boolean;
|
|
11
13
|
onSetShowGrid: (enabled: boolean) => void;
|
|
12
14
|
onSetShowRulers: (enabled: boolean) => void;
|
|
15
|
+
onSetShowGuides: (enabled: boolean) => void;
|
|
13
16
|
onSetSnapToGrid: (enabled: boolean) => void;
|
|
14
17
|
onSetSnapToShape: (enabled: boolean) => void;
|
|
15
18
|
onAddGuide: (axis: 'h' | 'v') => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ViewSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ViewSection.vue"],"names":[],"mappings":"AAkPA,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,8EAA8E;IAC9E,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,gBAAgB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,KAAK,IAAI,CAAC;IACtC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AA0YD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CustomShowsControlsProps, RibbonProps } from './ribbon-types';
|
|
2
|
+
/**
|
|
3
|
+
* Narrow the aggregate ribbon contract down to the custom-show picker's own.
|
|
4
|
+
*
|
|
5
|
+
* Two places render the picker (the quick-access row and the Slide Show tab's
|
|
6
|
+
* popover), and each of them otherwise has to restate nine fields by hand.
|
|
7
|
+
* Deriving the bundle in one place is what keeps the two copies from drifting
|
|
8
|
+
* into passing different halves of it, which is exactly how one of them ends up
|
|
9
|
+
* with a Rename button that renames nothing.
|
|
10
|
+
*/
|
|
11
|
+
export declare function toCustomShowsControlsProps(props: RibbonProps): CustomShowsControlsProps;
|
|
12
|
+
//# sourceMappingURL=custom-show-controls-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-show-controls-props.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/custom-show-controls-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE5E;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,WAAW,GAAG,wBAAwB,CAYvF"}
|
|
@@ -2,15 +2,26 @@ import { BackstagePage, ToolbarActionId } from 'pptx-viewer-shared';
|
|
|
2
2
|
import { Component } from 'vue';
|
|
3
3
|
import { FileSectionProps } from './file-section-types';
|
|
4
4
|
/**
|
|
5
|
-
* `[
|
|
6
|
-
* The icon is a `lucide-vue-next` component, picked
|
|
7
|
-
*
|
|
5
|
+
* `[titleKey, bodyKey, icon, onClick, titleFallback, bodyFallback]` action card
|
|
6
|
+
* shown on a backstage page. The icon is a `lucide-vue-next` component, picked
|
|
7
|
+
* to match the `react-icons/lu` glyph React renders for the same card.
|
|
8
8
|
*/
|
|
9
|
-
export type FileSectionAction = readonly [
|
|
9
|
+
export type FileSectionAction = readonly [
|
|
10
|
+
string,
|
|
11
|
+
string,
|
|
12
|
+
Component,
|
|
13
|
+
(() => void) | undefined,
|
|
14
|
+
string,
|
|
15
|
+
string
|
|
16
|
+
];
|
|
10
17
|
/**
|
|
11
18
|
* Backstage action-card list for the given page, mirroring PowerPoint's
|
|
12
|
-
* File-tab layout.
|
|
13
|
-
*
|
|
19
|
+
* File-tab layout.
|
|
20
|
+
*
|
|
21
|
+
* Card order, titles and bodies all come from `pptx-viewer-shared`; this module
|
|
22
|
+
* only maps each card to a Vue icon component and to the host callback that
|
|
23
|
+
* runs it. The wording used to be hardcoded here, which both made it
|
|
24
|
+
* untranslatable and let it drift away from the other four bindings.
|
|
14
25
|
*
|
|
15
26
|
* `isHidden` gates the Export page's action cards on the shared `'export'`
|
|
16
27
|
* toolbar-action id: when hidden, the Export page renders no cards instead of
|
|
@@ -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":"AAkBA,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;AAsBF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,gBAAgB,EACvB,QAAQ,EAAE,CAAC,EAAE,EAAE,eAAe,KAAK,OAAO,GACxC,iBAAiB,EAAE,CAoCrB"}
|
|
@@ -22,6 +22,7 @@ export interface FileSectionProps {
|
|
|
22
22
|
onOpenPasswordProtection?: () => void;
|
|
23
23
|
onOpenFontEmbedding?: () => void;
|
|
24
24
|
onOpenDigitalSignatures?: () => void;
|
|
25
|
+
onOpenVersionHistory?: () => void;
|
|
25
26
|
/** Toolbar buttons the host has asked to hide (gates the Export page's action cards). */
|
|
26
27
|
hiddenActions?: ToolbarActionId[];
|
|
27
28
|
}
|
|
@@ -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,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,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"}
|