pptx-vue-viewer 1.1.77 → 1.1.78
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/README.md +1 -1
- package/dist/{dist-DSB3vjJj.js → dist-ABxBuMU7.js} +1 -1
- package/dist/dist-ABxBuMU7.js.br +0 -0
- package/dist/{dist-DSB3vjJj.js.gz → dist-ABxBuMU7.js.gz} +0 -0
- package/dist/{dist-BDDSrdd_.cjs → dist-Dtt0UVyq.cjs} +45 -0
- package/dist/dist-Dtt0UVyq.cjs.br +0 -0
- package/dist/{dist-BDDSrdd_.cjs.gz → dist-Dtt0UVyq.cjs.gz} +0 -0
- package/dist/gif-encoder-DZLW3o_g.js +2 -0
- package/dist/gif-encoder-DZLW3o_g.js.br +3 -0
- package/dist/gif-encoder-DZLW3o_g.js.gz +0 -0
- package/dist/gif-encoder-m86u_ZK4.cjs +2 -0
- package/dist/gif-encoder-m86u_ZK4.cjs.br +0 -0
- package/dist/gif-encoder-m86u_ZK4.cjs.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 +1 -1
- package/dist/index.js.br +2 -2
- package/dist/index.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/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ActionButtonGlyphOverlay.vue.d.ts +20 -0
- package/dist/viewer/components/ActionButtonGlyphOverlay.vue.d.ts.map +1 -0
- package/dist/viewer/components/CommentMarkersOverlay.vue.d.ts +20 -0
- package/dist/viewer/components/CommentMarkersOverlay.vue.d.ts.map +1 -0
- package/dist/viewer/components/CommentsPanel.vue.d.ts +8 -0
- package/dist/viewer/components/CommentsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/FontEmbeddingPanel.vue.d.ts +22 -0
- package/dist/viewer/components/FontEmbeddingPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/HyperlinkDialog.vue.d.ts +13 -30
- package/dist/viewer/components/HyperlinkDialog.vue.d.ts.map +1 -1
- package/dist/viewer/components/InlineTextEditor.vue.d.ts +3 -1
- package/dist/viewer/components/InlineTextEditor.vue.d.ts.map +1 -1
- package/dist/viewer/components/KeepAnnotationsDialog.vue.d.ts +20 -0
- package/dist/viewer/components/KeepAnnotationsDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/LinkTooltip.vue.d.ts +18 -0
- package/dist/viewer/components/LinkTooltip.vue.d.ts.map +1 -0
- package/dist/viewer/components/PasswordProtectionDialog.vue.d.ts +22 -0
- package/dist/viewer/components/PasswordProtectionDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/PresentationMode.vue.d.ts +7 -2
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/components/SelectionPane.vue.d.ts +33 -0
- package/dist/viewer/components/SelectionPane.vue.d.ts.map +1 -0
- package/dist/viewer/components/SetUpSlideShowDialog.vue.d.ts +26 -0
- package/dist/viewer/components/SetUpSlideShowDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/ShowOptionsFieldset.vue.d.ts +18 -0
- package/dist/viewer/components/ShowOptionsFieldset.vue.d.ts.map +1 -0
- package/dist/viewer/components/ShowSlidesFieldset.vue.d.ts +21 -0
- package/dist/viewer/components/ShowSlidesFieldset.vue.d.ts.map +1 -0
- package/dist/viewer/components/SignatureStatusBadge.vue.d.ts +18 -0
- package/dist/viewer/components/SignatureStatusBadge.vue.d.ts.map +1 -0
- package/dist/viewer/components/SignatureStrippedDialog.vue.d.ts +20 -0
- package/dist/viewer/components/SignatureStrippedDialog.vue.d.ts.map +1 -0
- package/dist/viewer/components/SlideSorter.vue.d.ts +7 -0
- package/dist/viewer/components/SlideSorter.vue.d.ts.map +1 -1
- package/dist/viewer/components/TableRenderer.vue.d.ts +3 -2
- package/dist/viewer/components/TableRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/TableResizeOverlay.vue.d.ts +36 -0
- package/dist/viewer/components/TableResizeOverlay.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ArtisticEffectsGallery.vue.d.ts +19 -0
- package/dist/viewer/components/inspector/ArtisticEffectsGallery.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ChartDataGrid.vue.d.ts +35 -0
- package/dist/viewer/components/inspector/ChartDataGrid.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ChartDataPointMarkerOptions.vue.d.ts +21 -0
- package/dist/viewer/components/inspector/ChartDataPointMarkerOptions.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ChartDataPointOptions.vue.d.ts +2 -0
- package/dist/viewer/components/inspector/ChartDataPointOptions.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ChartPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ColorChangeSection.vue.d.ts +17 -0
- package/dist/viewer/components/inspector/ColorChangeSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ColorWashSection.vue.d.ts +17 -0
- package/dist/viewer/components/inspector/ColorWashSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/DebouncedColorInput.vue.d.ts +19 -0
- package/dist/viewer/components/inspector/DebouncedColorInput.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/DuotonePanel.vue.d.ts +17 -0
- package/dist/viewer/components/inspector/DuotonePanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/EffectsPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ImageAdjustmentsPanel.vue.d.ts +20 -0
- package/dist/viewer/components/inspector/ImageAdjustmentsPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ImageCropSection.vue.d.ts +21 -0
- package/dist/viewer/components/inspector/ImageCropSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/ImagePanel.vue.d.ts +7 -13
- package/dist/viewer/components/inspector/ImagePanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/InspectorPane.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/MediaBookmarks.vue.d.ts +16 -0
- package/dist/viewer/components/inspector/MediaBookmarks.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/MediaPlaybackOptions.vue.d.ts +13 -0
- package/dist/viewer/components/inspector/MediaPlaybackOptions.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/MediaPropertiesPanel.vue.d.ts +13 -0
- package/dist/viewer/components/inspector/MediaPropertiesPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/MediaTrimTimeline.vue.d.ts +25 -0
- package/dist/viewer/components/inspector/MediaTrimTimeline.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/PresentationSettingsCard.vue.d.ts +22 -0
- package/dist/viewer/components/inspector/PresentationSettingsCard.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/QuickStylesGallery.vue.d.ts +9 -0
- package/dist/viewer/components/inspector/QuickStylesGallery.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/SlideInspector.vue.d.ts +4 -1
- package/dist/viewer/components/inspector/SlideInspector.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TableCellAdvancedFill.vue.d.ts +20 -0
- package/dist/viewer/components/inspector/TableCellAdvancedFill.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/TableCellFormattingPanel.vue.d.ts +24 -0
- package/dist/viewer/components/inspector/TableCellFormattingPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/TablePanel.vue.d.ts +9 -24
- package/dist/viewer/components/inspector/TablePanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TableSizePanel.vue.d.ts +19 -0
- package/dist/viewer/components/inspector/TableSizePanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/TableStyleOptions.vue.d.ts +19 -0
- package/dist/viewer/components/inspector/TableStyleOptions.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/Text3DBevelSection.vue.d.ts +25 -0
- package/dist/viewer/components/inspector/Text3DBevelSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/Text3DProperties.vue.d.ts +20 -0
- package/dist/viewer/components/inspector/Text3DProperties.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/TextEffectsPanel.vue.d.ts +18 -0
- package/dist/viewer/components/inspector/TextEffectsPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/TextPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/TextWarpGallery.vue.d.ts +19 -0
- package/dist/viewer/components/inspector/TextWarpGallery.vue.d.ts.map +1 -0
- package/dist/viewer/composables/table-mutations.d.ts +26 -0
- package/dist/viewer/composables/table-mutations.d.ts.map +1 -0
- package/dist/viewer/composables/table-selection.d.ts +68 -0
- package/dist/viewer/composables/table-selection.d.ts.map +1 -0
- package/dist/viewer/composables/useChartEditing.d.ts +14 -1
- package/dist/viewer/composables/useChartEditing.d.ts.map +1 -1
- package/dist/viewer/composables/useComments.d.ts +8 -0
- package/dist/viewer/composables/useComments.d.ts.map +1 -1
- package/dist/viewer/composables/useDebouncedCallback.d.ts +16 -0
- package/dist/viewer/composables/useDebouncedCallback.d.ts.map +1 -0
- package/dist/viewer/composables/useImageEditing.d.ts +46 -0
- package/dist/viewer/composables/useImageEditing.d.ts.map +1 -0
- package/dist/viewer/composables/useLoadContent.d.ts +3 -1
- package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
- package/dist/viewer/composables/useMediaEditing.d.ts +34 -0
- package/dist/viewer/composables/useMediaEditing.d.ts.map +1 -0
- package/dist/viewer/composables/useTextEffects.d.ts +23 -0
- package/dist/viewer/composables/useTextEffects.d.ts.map +1 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/index.js.br +1 -3
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-B_IKYYv_.js → viewer-BUUM_Eul.js} +11887 -7714
- package/dist/viewer-BUUM_Eul.js.br +0 -0
- package/dist/viewer-BUUM_Eul.js.gz +0 -0
- package/dist/{viewer-BMiP13uG.cjs → viewer-DGYrL5xE.cjs} +9111 -4937
- package/dist/viewer-DGYrL5xE.cjs.br +0 -0
- package/dist/viewer-DGYrL5xE.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/dist-BDDSrdd_.cjs.br +0 -0
- package/dist/dist-DSB3vjJj.js.br +0 -0
- package/dist/gif-encoder-B918Zcqn.js +0 -2
- package/dist/gif-encoder-B918Zcqn.js.br +0 -3
- package/dist/gif-encoder-B918Zcqn.js.gz +0 -0
- package/dist/gif-encoder-DKnC3ZPU.cjs +0 -2
- package/dist/gif-encoder-DKnC3ZPU.cjs.br +0 -0
- package/dist/gif-encoder-DKnC3ZPU.cjs.gz +0 -0
- package/dist/viewer-BMiP13uG.cjs.br +0 -0
- package/dist/viewer-BMiP13uG.cjs.gz +0 -0
- package/dist/viewer-B_IKYYv_.js.br +0 -0
- package/dist/viewer-B_IKYYv_.js.gz +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FontEmbeddingPanel: toggle font embedding on save and preview which of the
|
|
3
|
+
* presentation's used fonts are available locally / already embedded. Vue port
|
|
4
|
+
* of the React `FontEmbeddingPanel.tsx`. Availability is detected with the
|
|
5
|
+
* browser `document.fonts` API when the dialog opens.
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
open: boolean;
|
|
9
|
+
embedFontsEnabled: boolean;
|
|
10
|
+
usedFontFamilies: string[];
|
|
11
|
+
embeddedFonts: string[];
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
close: () => any;
|
|
15
|
+
toggleEmbedFonts: (enabled: boolean) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
onToggleEmbedFonts?: ((enabled: boolean) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=FontEmbeddingPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontEmbeddingPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/FontEmbeddingPanel.vue"],"names":[],"mappings":"AAgKA;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAwSF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,42 +1,25 @@
|
|
|
1
1
|
import { PptxElement } from 'pptx-viewer-core';
|
|
2
2
|
/**
|
|
3
|
-
* HyperlinkDialog: set or clear an element's click
|
|
3
|
+
* HyperlinkDialog: set, change, or clear an element's click action.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* The action is stored on the element-level `actionClick` field (a
|
|
6
|
+
* `PptxAction`, mirroring the OOXML `ppaction://` scheme). Beyond a plain URL,
|
|
7
|
+
* this dialog also exposes the navigation action verbs (go to a specific slide,
|
|
8
|
+
* first / last / previous / next slide, end show), converting to/from the
|
|
9
|
+
* high-level `ElementAction` shape with the core
|
|
10
|
+
* `pptxActionToElementAction` / `elementActionToPptxAction` helpers, matching
|
|
11
|
+
* the React `ActionSettingsPanel`. A tooltip applies to any action type.
|
|
8
12
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* url?: string; // resolved external URL / file path
|
|
12
|
-
* tooltip?: string; // hover tooltip text
|
|
13
|
-
* action?: string; // OOXML ppaction verb (slide jumps etc.), preserved
|
|
14
|
-
* // …rId, soundRId, targetSlideIndex, highlightClick
|
|
15
|
-
* }
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* This dialog edits the simple URL + tooltip pair (the common case). It reads
|
|
19
|
-
* the element's current `actionClick.url` / `actionClick.tooltip`, lets the
|
|
20
|
-
* user change or clear them, and emits a `save` patch shaped as
|
|
21
|
-
* `{ actionClick: PptxAction | undefined }`:
|
|
22
|
-
* - **Set:** `{ actionClick: { url, tooltip, action } }` (any preexisting
|
|
23
|
-
* `action` verb on the element is preserved so slide-jump links survive).
|
|
24
|
-
* - **Clear:** `{ actionClick: undefined }`.
|
|
25
|
-
*
|
|
26
|
-
* Apply the patch with the editor's element-update op, e.g.
|
|
27
|
-
* `ops.updateElement(element.id, patch)`.
|
|
28
|
-
*
|
|
29
|
-
* Note: PowerPoint can also place hyperlinks on individual text runs
|
|
30
|
-
* (`TextSegment.hyperlink: string` + `TextSegment.hyperlinkTooltip: string`).
|
|
31
|
-
* This dialog deliberately targets the element-level `actionClick` to match the
|
|
32
|
-
* React implementation; a run-level editor would instead emit a patch updating
|
|
33
|
-
* `textSegments[].hyperlink`.
|
|
13
|
+
* Emits a `save` patch shaped as `{ actionClick: PptxAction | undefined }`
|
|
14
|
+
* (undefined clears the action); apply it with `ops.updateElement(id, patch)`.
|
|
34
15
|
*/
|
|
35
16
|
type __VLS_Props = {
|
|
36
17
|
/** Whether the dialog is open. */
|
|
37
18
|
open: boolean;
|
|
38
|
-
/** The element whose
|
|
19
|
+
/** The element whose action is being edited, or `null`. */
|
|
39
20
|
element: PptxElement | null;
|
|
21
|
+
/** Total slide count, for the "go to slide" number field bounds. */
|
|
22
|
+
slideCount?: number;
|
|
40
23
|
};
|
|
41
24
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
42
25
|
close: () => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HyperlinkDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/HyperlinkDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HyperlinkDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/HyperlinkDialog.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAiC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKnF;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,2DAA2D;IAC3D,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA4SF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PptxElement } from 'pptx-viewer-core';
|
|
1
|
+
import { PptxElement, TextStyle } from 'pptx-viewer-core';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
element: PptxElement;
|
|
4
4
|
/** Draw the browser's native red spell-check squiggles while editing (View ▸ Spell). */
|
|
@@ -8,10 +8,12 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
8
8
|
cancel: () => any;
|
|
9
9
|
change: (text: string) => any;
|
|
10
10
|
commit: () => any;
|
|
11
|
+
format: (updates: Partial<TextStyle>) => any;
|
|
11
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
13
|
onCancel?: (() => any) | undefined;
|
|
13
14
|
onChange?: ((text: string) => any) | undefined;
|
|
14
15
|
onCommit?: (() => any) | undefined;
|
|
16
|
+
onFormat?: ((updates: Partial<TextStyle>) => any) | undefined;
|
|
15
17
|
}>, {
|
|
16
18
|
spellCheck: boolean;
|
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/InlineTextEditor.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"InlineTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/InlineTextEditor.vue"],"names":[],"mappings":"AAAA,OAyKO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI/D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAkKH,QAAA,MAAM,YAAY;;;;;;;;;;;gBAnKH,OAAO;6EAuKpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KeepAnnotationsDialog: shown when the presenter exits a slide show that still
|
|
3
|
+
* has ink annotations. Offers to persist the annotations as ink elements on
|
|
4
|
+
* their slides, or discard them. Vue port of the React `KeepAnnotationsDialog.tsx`.
|
|
5
|
+
*/
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
open: boolean;
|
|
8
|
+
annotationCount: number;
|
|
9
|
+
slideCount: number;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
keep: () => any;
|
|
13
|
+
discard: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onKeep?: (() => any) | undefined;
|
|
16
|
+
onDiscard?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=KeepAnnotationsDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeepAnnotationsDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/KeepAnnotationsDialog.vue"],"names":[],"mappings":"AA6DA;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AA0KF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LinkTooltip: PowerPoint-style hover tooltip for actionable elements and
|
|
3
|
+
* hyperlinks. Vue port of the React `elements/LinkTooltip.tsx`.
|
|
4
|
+
*
|
|
5
|
+
* Shows the link destination (or tooltip text) plus a follow hint. Uses CSS
|
|
6
|
+
* group-hover for zero-state display: the parent element must carry the
|
|
7
|
+
* `group/link` class.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
/** The link URL or tooltip text to display. */
|
|
11
|
+
label: string;
|
|
12
|
+
/** Whether this action is an external URL (vs. a slide-navigation action). */
|
|
13
|
+
hasUrl?: boolean;
|
|
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=LinkTooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkTooltip.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/LinkTooltip.vue"],"names":[],"mappings":"AAgCA;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA0DF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PasswordProtectionDialog: set or remove a presentation open password. Vue
|
|
3
|
+
* port of the React `PasswordProtectionDialog.tsx`. Like React, the password
|
|
4
|
+
* itself is held in host state (encryption on save is not wired in either
|
|
5
|
+
* binding); this dialog owns only the entry UI, strength meter, and validation.
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
open: boolean;
|
|
9
|
+
isCurrentlyProtected: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
setPassword: (password: string) => any;
|
|
14
|
+
removePassword: () => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
onSetPassword?: ((password: string) => any) | undefined;
|
|
18
|
+
onRemovePassword?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=PasswordProtectionDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordProtectionDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PasswordProtectionDialog.vue"],"names":[],"mappings":"AA+LA;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,OAAO,CAAC;CAC9B,CAAC;AA6VF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PptxSlide } from 'pptx-viewer-core';
|
|
2
|
+
import { SlideAnnotationMap } from '../composables/usePresentationAnnotations';
|
|
2
3
|
import { CanvasSize } from '../types';
|
|
3
4
|
/**
|
|
4
5
|
* PresentationMode - a full-viewport slideshow overlay.
|
|
@@ -24,10 +25,14 @@ type __VLS_Props = {
|
|
|
24
25
|
startIndex?: number;
|
|
25
26
|
};
|
|
26
27
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
|
-
close: (
|
|
28
|
+
close: (payload?: {
|
|
29
|
+
annotations: SlideAnnotationMap;
|
|
30
|
+
} | undefined) => any;
|
|
28
31
|
"slide-change": (index: number) => any;
|
|
29
32
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
-
onClose?: ((
|
|
33
|
+
onClose?: ((payload?: {
|
|
34
|
+
annotations: SlideAnnotationMap;
|
|
35
|
+
} | undefined) => any) | undefined;
|
|
31
36
|
"onSlide-change"?: ((index: number) => any) | undefined;
|
|
32
37
|
}>, {
|
|
33
38
|
startIndex: number;
|
|
@@ -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":"AAuiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQlD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAW3C;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA2wBH,QAAA,MAAM,YAAY;;qBA/vBqB,kBAAkB;;;;;qBAAlB,kBAAkB;;;;gBAb1C,MAAM;6EAgxBnB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PptxElement } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* SelectionPane: lists every element on the active slide with visibility
|
|
4
|
+
* toggles and drag-to-reorder (z-order). Vue port of the React
|
|
5
|
+
* `SelectionPane.tsx`. The pane is presentational: it emits `select`,
|
|
6
|
+
* `toggle-visibility`, and `reorder`; the host routes those through the
|
|
7
|
+
* history-tracked editor operations so they undo/redo like any other edit.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
elements: PptxElement[];
|
|
11
|
+
selectedIds: string[];
|
|
12
|
+
canEdit: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
select: (id: string) => any;
|
|
16
|
+
close: () => any;
|
|
17
|
+
reorder: (payload: {
|
|
18
|
+
from: number;
|
|
19
|
+
to: number;
|
|
20
|
+
}) => any;
|
|
21
|
+
"toggle-visibility": (id: string) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onSelect?: ((id: string) => any) | undefined;
|
|
24
|
+
onClose?: (() => any) | undefined;
|
|
25
|
+
onReorder?: ((payload: {
|
|
26
|
+
from: number;
|
|
27
|
+
to: number;
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
"onToggle-visibility"?: ((id: string) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=SelectionPane.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionPane.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SelectionPane.vue"],"names":[],"mappings":"AA+IA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD;;;;;;GAMG;AACH,KAAK,WAAW,GAAG;IAClB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAsRF,QAAA,MAAM,YAAY;;;;cAhRU,MAAM;YAAM,MAAM;;;;;;;cAAlB,MAAM;YAAM,MAAM;;;kFAmR5C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PptxCustomShow, PptxPresentationProperties } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* SetUpSlideShowDialog: configure slide-show playback settings (show type,
|
|
4
|
+
* slide range, advance mode, loop / narration / animation / subtitles, and the
|
|
5
|
+
* annotation pen colour). Vue port of the React `SetUpSlideShowDialog.tsx`.
|
|
6
|
+
*
|
|
7
|
+
* The dialog edits a local `draft` copy of the presentation properties and
|
|
8
|
+
* only commits it via the `save` event on OK, so cancelling discards edits.
|
|
9
|
+
* The host persists the returned properties through the editor/save path.
|
|
10
|
+
*/
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
open: boolean;
|
|
13
|
+
properties: PptxPresentationProperties;
|
|
14
|
+
customShows: PptxCustomShow[];
|
|
15
|
+
slideCount: number;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
close: () => any;
|
|
19
|
+
save: (properties: PptxPresentationProperties) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
22
|
+
onSave?: ((properties: PptxPresentationProperties) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=SetUpSlideShowDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetUpSlideShowDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SetUpSlideShowDialog.vue"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAOnF;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,0BAA0B,CAAC;IACvC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AA2RF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PptxPresentationProperties } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* ShowOptionsFieldset: slide-show option toggles (loop, narration, animation,
|
|
4
|
+
* subtitles) plus the annotation pen colour. Vue port of the React
|
|
5
|
+
* `ShowOptionsFieldset.tsx`, extended with the pen-colour control the React
|
|
6
|
+
* dialog stores on `penColor`.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
draft: PptxPresentationProperties;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
update: (patch: Partial<PptxPresentationProperties>) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onUpdate?: ((patch: Partial<PptxPresentationProperties>) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=ShowOptionsFieldset.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShowOptionsFieldset.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ShowOptionsFieldset.vue"],"names":[],"mappings":"AAAA,OA6EO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAEnE;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,0BAA0B,CAAC;CAClC,CAAC;AA8JF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PptxCustomShow, PptxPresentationProperties } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* ShowSlidesFieldset: which slides a slide show includes (all, a from/to
|
|
4
|
+
* range, or a named custom show). Vue port of the React
|
|
5
|
+
* `ShowSlidesFieldset.tsx`; the parent owns the `draft` and passes an `update`
|
|
6
|
+
* patch callback so the fieldset stays presentational.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
draft: PptxPresentationProperties;
|
|
10
|
+
showSlidesMode: 'all' | 'customShow' | 'range';
|
|
11
|
+
slideCount: number;
|
|
12
|
+
customShows: PptxCustomShow[];
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
update: (patch: Partial<PptxPresentationProperties>) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onUpdate?: ((patch: Partial<PptxPresentationProperties>) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=ShowSlidesFieldset.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShowSlidesFieldset.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ShowSlidesFieldset.vue"],"names":[],"mappings":"AA+HA,OAAO,KAAK,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAEnF;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,0BAA0B,CAAC;IAClC,cAAc,EAAE,KAAK,GAAG,YAAY,GAAG,OAAO,CAAC;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,cAAc,EAAE,CAAC;CAC9B,CAAC;AAwPF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SignatureStatusBadge: a small chrome badge indicating the document is
|
|
3
|
+
* digitally signed. Vue port of the React `SignatureStatusBadge.tsx`. Renders
|
|
4
|
+
* nothing when there are no signatures; emits `click` to open the signatures
|
|
5
|
+
* panel/dialog.
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
hasSignatures: boolean;
|
|
9
|
+
signatureCount: number;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
click: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onClick?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=SignatureStatusBadge.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignatureStatusBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SignatureStatusBadge.vue"],"names":[],"mappings":"AAwCA;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACvB,CAAC;AA4EF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SignatureStrippedDialog: warns that editing a digitally-signed presentation
|
|
3
|
+
* invalidates and strips its signatures on save. Vue port of the React
|
|
4
|
+
* `SignatureStrippedDialog.tsx`. `confirm` proceeds with the edit; `cancel`
|
|
5
|
+
* dismisses.
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
open: boolean;
|
|
9
|
+
signatureCount: number;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
cancel: () => any;
|
|
13
|
+
confirm: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onCancel?: (() => any) | undefined;
|
|
16
|
+
onConfirm?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=SignatureStrippedDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignatureStrippedDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SignatureStrippedDialog.vue"],"names":[],"mappings":"AA8DA;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;CACvB,CAAC;AA6IF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -5,15 +5,22 @@ type __VLS_Props = {
|
|
|
5
5
|
canvasSize: CanvasSize;
|
|
6
6
|
mediaDataUrls: Map<string, string>;
|
|
7
7
|
activeIndex: number;
|
|
8
|
+
canEdit?: boolean;
|
|
8
9
|
};
|
|
9
10
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
11
|
select: (index: number) => any;
|
|
11
12
|
close: () => any;
|
|
13
|
+
delete: (index: number) => any;
|
|
12
14
|
reorder: (from: number, to: number) => any;
|
|
15
|
+
duplicate: (index: number) => any;
|
|
16
|
+
"toggle-hidden": (index: number) => any;
|
|
13
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
18
|
onSelect?: ((index: number) => any) | undefined;
|
|
15
19
|
onClose?: (() => any) | undefined;
|
|
20
|
+
onDelete?: ((index: number) => any) | undefined;
|
|
16
21
|
onReorder?: ((from: number, to: number) => any) | undefined;
|
|
22
|
+
onDuplicate?: ((index: number) => any) | undefined;
|
|
23
|
+
"onToggle-hidden"?: ((index: number) => any) | undefined;
|
|
17
24
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
25
|
declare const _default: typeof __VLS_export;
|
|
19
26
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideSorter.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideSorter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideSorter.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideSorter.vue"],"names":[],"mappings":"AAsVA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AA8UF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -16,8 +16,9 @@ import { ParsedTableStyleMap, PptxElement, PptxThemeColorScheme } from 'pptx-vie
|
|
|
16
16
|
* - rich per-run cell text via optional `CellTextRun[]` on cells
|
|
17
17
|
* - diagonal cell borders via an SVG overlay
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Editing affordances (inline cell text edit, cell selection + Shift+range
|
|
20
|
+
* highlight, and column/row drag-resize handles) are layered on when an edit
|
|
21
|
+
* context is provided. The raw-OOXML render path is not ported (see PORTING.md).
|
|
21
22
|
*/
|
|
22
23
|
type __VLS_Props = {
|
|
23
24
|
element: PptxElement;
|
|
@@ -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":"AAuiBA,OAAO,KAAK,EACX,mBAAmB,EACnB,WAAW,EAGX,oBAAoB,EACpB,MAAM,kBAAkB,CAAC;AAwB1B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,WAAW,GAAG;IAClB,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,oBAAoB,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AAugBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TableResizeOverlay: Vue port of React's `utils/table-render-resize.tsx`.
|
|
3
|
+
*
|
|
4
|
+
* Wraps a rendered table (default slot) and, when `editable`, draws draggable
|
|
5
|
+
* column-boundary and row-boundary handles on top. Column boundaries are placed
|
|
6
|
+
* from the proportional widths; row boundaries are measured from the mounted
|
|
7
|
+
* `<tr>` heights. The pure drag math (redistribute two adjacent column
|
|
8
|
+
* proportions, clamp a dragged row height) lives in `pptx-viewer-shared`
|
|
9
|
+
* (`render/table-resize.ts`), so this component only owns the DOM interaction.
|
|
10
|
+
*/
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
/** Column widths as proportions summing to ~1. */
|
|
13
|
+
columnWidths: number[];
|
|
14
|
+
/** When false the overlay renders only the slotted table (no handles). */
|
|
15
|
+
editable: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare var __VLS_1: {};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
default?: (props: typeof __VLS_1) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
resizeColumns: (widths: number[]) => any;
|
|
23
|
+
resizeRow: (rowIndex: number, height: number) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onResizeColumns?: ((widths: number[]) => any) | undefined;
|
|
26
|
+
onResizeRow?: ((rowIndex: number, height: number) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=TableResizeOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableResizeOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/TableResizeOverlay.vue"],"names":[],"mappings":"AAqMA;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,kDAAkD;IAClD,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,0EAA0E;IAC1E,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC;AAyOF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PptxElement, PptxImageEffects } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* ArtisticEffectsGallery: a 4-column grid over the shared ARTISTIC_EFFECTS
|
|
4
|
+
* catalogue. Each cell previews the effect as a live CSS filter over the image
|
|
5
|
+
* and, on click, sets `imageEffects.artisticEffect` (or clears it for "none").
|
|
6
|
+
* Emits the FULL merged `imageEffects` sub-object like every other sub-panel.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
imgSrc: string | undefined;
|
|
10
|
+
fx: PptxImageEffects | undefined;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
update: (patch: Partial<PptxElement>) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onUpdate?: ((patch: Partial<PptxElement>) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=ArtisticEffectsGallery.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtisticEffectsGallery.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ArtisticEffectsGallery.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKtE;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,EAAE,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACjC,CAAC;AAkIF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PptxChartSeries } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* ChartDataGrid: an editable spreadsheet-style grid of the chart's underlying
|
|
4
|
+
* data. Mirrors React's `ChartDataGrid`. Categories run down the rows, series
|
|
5
|
+
* across the columns; every cell is a numeric value. Series names and category
|
|
6
|
+
* labels are editable in the header column/row, and series/categories can be
|
|
7
|
+
* added or removed. A read-only summary line reports the current counts.
|
|
8
|
+
*
|
|
9
|
+
* All mutation is emitted upward; the parent routes it through `useChartEditing`
|
|
10
|
+
* so the full new `chartData` is emitted via the panel's `update` contract.
|
|
11
|
+
*/
|
|
12
|
+
type __VLS_Props = {
|
|
13
|
+
series: readonly PptxChartSeries[];
|
|
14
|
+
categories: readonly string[];
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
updateSeries: (index: number, patch: Partial<PptxChartSeries>) => any;
|
|
18
|
+
updateCategoryLabel: (catIndex: number, value: string) => any;
|
|
19
|
+
updateValue: (seriesIndex: number, catIndex: number, raw: string) => any;
|
|
20
|
+
addSeries: () => any;
|
|
21
|
+
removeSeries: (seriesIndex: number) => any;
|
|
22
|
+
addCategory: () => any;
|
|
23
|
+
removeCategory: (catIndex: number) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onUpdateSeries?: ((index: number, patch: Partial<PptxChartSeries>) => any) | undefined;
|
|
26
|
+
onUpdateCategoryLabel?: ((catIndex: number, value: string) => any) | undefined;
|
|
27
|
+
onUpdateValue?: ((seriesIndex: number, catIndex: number, raw: string) => any) | undefined;
|
|
28
|
+
onAddSeries?: (() => any) | undefined;
|
|
29
|
+
onRemoveSeries?: ((seriesIndex: number) => any) | undefined;
|
|
30
|
+
onAddCategory?: (() => any) | undefined;
|
|
31
|
+
onRemoveCategory?: ((catIndex: number) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=ChartDataGrid.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartDataGrid.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartDataGrid.vue"],"names":[],"mappings":"AA6JA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;IACnC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B,CAAC;AA8PF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PptxChartSeries, PptxChartType } from 'pptx-viewer-core';
|
|
2
|
+
import { ChartMarkerEdit } from '../../composables/useChartEditing';
|
|
3
|
+
/**
|
|
4
|
+
* ChartDataPointMarkerOptions: per-data-point marker overrides for line/scatter/
|
|
5
|
+
* bubble/radar charts, targeting one series at a time. Mirrors React's
|
|
6
|
+
* `ChartDataPointMarkerOptions`. Emits `setPointMarker(seriesIndex, pointIndex,
|
|
7
|
+
* edit)` where `null` clears the override.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
chartType: PptxChartType;
|
|
11
|
+
categories: readonly string[];
|
|
12
|
+
series: readonly PptxChartSeries[];
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
setPointMarker: (seriesIndex: number, pointIndex: number, marker: ChartMarkerEdit | null) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onSetPointMarker?: ((seriesIndex: number, pointIndex: number, marker: ChartMarkerEdit | null) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=ChartDataPointMarkerOptions.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartDataPointMarkerOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartDataPointMarkerOptions.vue"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EAGX,eAAe,EACf,aAAa,EACb,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEzE;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;CACnC,CAAC;AAoRF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -12,9 +12,11 @@ type __VLS_Props = {
|
|
|
12
12
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
setPointFill: (seriesIndex: number, pointIndex: number, color: string | null) => any;
|
|
14
14
|
setPointExplosion: (seriesIndex: number, pointIndex: number, explosion: number | null) => any;
|
|
15
|
+
setPointLabel: (seriesIndex: number, pointIndex: number, text: string | null) => any;
|
|
15
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
17
|
onSetPointFill?: ((seriesIndex: number, pointIndex: number, color: string | null) => any) | undefined;
|
|
17
18
|
onSetPointExplosion?: ((seriesIndex: number, pointIndex: number, explosion: number | null) => any) | undefined;
|
|
19
|
+
onSetPointLabel?: ((seriesIndex: number, pointIndex: number, text: string | null) => any) | undefined;
|
|
18
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
21
|
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartDataPointOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartDataPointOptions.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChartDataPointOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartDataPointOptions.vue"],"names":[],"mappings":"AAkJA,OAAO,KAAK,EAAsB,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAI3F;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;CACnC,CAAC;AA8PF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartPanel.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ChartPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartPanel.vue"],"names":[],"mappings":"AAAA,OA2PO,KAAK,EAAkD,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAkBpG;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC;AAuhBF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|