pptx-vue-viewer 4.72.1 → 4.74.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 +17 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +99 -39
- package/dist/index.js +5 -5
- 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 +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-Bgy-6QAK.cjs → useViewerSettingsDialog-B33MOSx-.cjs} +83 -82
- package/dist/useViewerSettingsDialog-B33MOSx-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-B33MOSx-.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-BbtAGHdZ.js → useViewerSettingsDialog-Bz0RdicV.js} +1599 -1598
- package/dist/useViewerSettingsDialog-Bz0RdicV.js.br +0 -0
- package/dist/useViewerSettingsDialog-Bz0RdicV.js.gz +0 -0
- package/dist/viewer/index.cjs +2 -2
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +101 -41
- 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-CXeAhlqC.cjs → viewer-Co39Flri.cjs} +437 -384
- package/dist/viewer-Co39Flri.cjs.br +0 -0
- package/dist/viewer-Co39Flri.cjs.gz +0 -0
- package/dist/{viewer-BW6vsxRO.js → viewer-Dwl_oBxY.js} +6419 -6371
- package/dist/viewer-Dwl_oBxY.js.br +0 -0
- package/dist/viewer-Dwl_oBxY.js.gz +0 -0
- package/dist/{y-webrtc-BgcE4lbF.js → y-webrtc-CwHdtPzt.js} +1 -1
- package/dist/y-webrtc-CwHdtPzt.js.br +0 -0
- package/dist/y-webrtc-CwHdtPzt.js.gz +0 -0
- package/dist/{y-webrtc-DjfDRwd4.cjs → y-webrtc-DOVNm7CC.cjs} +1 -1
- package/dist/y-webrtc-DOVNm7CC.cjs.br +0 -0
- package/dist/y-webrtc-DOVNm7CC.cjs.gz +0 -0
- package/package.json +4 -4
- package/dist/useViewerSettingsDialog-BbtAGHdZ.js.br +0 -0
- package/dist/useViewerSettingsDialog-BbtAGHdZ.js.gz +0 -0
- package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.gz +0 -0
- package/dist/viewer-BW6vsxRO.js.br +0 -0
- package/dist/viewer-BW6vsxRO.js.gz +0 -0
- package/dist/viewer-CXeAhlqC.cjs.br +0 -0
- package/dist/viewer-CXeAhlqC.cjs.gz +0 -0
- package/dist/y-webrtc-BgcE4lbF.js.br +0 -0
- package/dist/y-webrtc-BgcE4lbF.js.gz +0 -0
- package/dist/y-webrtc-DjfDRwd4.cjs.br +0 -0
- package/dist/y-webrtc-DjfDRwd4.cjs.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-B33MOSx-.cjs"), t = require("../viewer-Co39Flri.cjs");
|
|
3
3
|
let r = require("ooxml-ui/pptx");
|
|
4
4
|
Object.defineProperty(exports, "AUDIENCE_HASH", {
|
|
5
5
|
enumerable: !0,
|
|
6
6
|
get: function() {
|
|
7
7
|
return r.AUDIENCE_HASH;
|
|
8
8
|
}
|
|
9
|
-
}), exports.ChartRenderer = e.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = e.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = e.ElementRenderer_default, exports.EquationRenderer = e.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = e.InkRenderer_default, exports.InlineTextEditor = t.InlineTextEditor_default, exports.Model3DRenderer = e.Model3DRenderer_default, exports.OleRenderer = e.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SelectionOverlay = t.SelectionOverlay_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.SlidesPane = t.SlidesPane_default, exports.SmartArtRenderer = e.SmartArtRenderer_default, exports.TableRenderer = e.TableRenderer_default, exports.WordArtText = e.WordArtText_default, exports.ZoomRenderer = e.ZoomRenderer_default, Object.defineProperty(exports, "buildInitialGuides", {
|
|
9
|
+
}), exports.ChartRenderer = e.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = e.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = e.ElementRenderer_default, exports.EquationRenderer = e.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = e.InkRenderer_default, exports.InlineTextEditor = t.InlineTextEditor_default, exports.Model3DRenderer = e.Model3DRenderer_default, exports.OleRenderer = e.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SelectionOverlay = t.SelectionOverlay_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.SlideThumbnail = t.SlideThumbnail_default, exports.SlidesPane = t.SlidesPane_default, exports.SmartArtRenderer = e.SmartArtRenderer_default, exports.TableRenderer = e.TableRenderer_default, exports.WordArtText = e.WordArtText_default, exports.ZoomRenderer = e.ZoomRenderer_default, Object.defineProperty(exports, "buildInitialGuides", {
|
|
10
10
|
enumerable: !0,
|
|
11
11
|
get: function() {
|
|
12
12
|
return r.buildInitialGuides;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -203,19 +203,21 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
|
|
|
203
203
|
showCompatibilityToasts: boolean;
|
|
204
204
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
205
205
|
|
|
206
|
-
declare const __VLS_export_10: DefineComponent<
|
|
206
|
+
declare const __VLS_export_10: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
207
207
|
|
|
208
|
-
declare const __VLS_export_11: DefineComponent<
|
|
208
|
+
declare const __VLS_export_11: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
209
209
|
|
|
210
|
-
declare const __VLS_export_12: DefineComponent<
|
|
210
|
+
declare const __VLS_export_12: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
211
211
|
|
|
212
|
-
declare const __VLS_export_13: DefineComponent<
|
|
212
|
+
declare const __VLS_export_13: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
213
213
|
|
|
214
|
-
declare const __VLS_export_14: DefineComponent<
|
|
214
|
+
declare const __VLS_export_14: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
215
215
|
|
|
216
|
-
declare const __VLS_export_15: DefineComponent<
|
|
216
|
+
declare const __VLS_export_15: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
217
217
|
|
|
218
|
-
declare const __VLS_export_16: DefineComponent<{
|
|
218
|
+
declare const __VLS_export_16: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
219
|
+
|
|
220
|
+
declare const __VLS_export_17: DefineComponent<{
|
|
219
221
|
/** Remote collaborators to render, in unscaled slide coordinates. */
|
|
220
222
|
cursors: RemoteCursor[];
|
|
221
223
|
/**
|
|
@@ -233,7 +235,7 @@ declare const __VLS_export_16: DefineComponent<{
|
|
|
233
235
|
zoom?: number;
|
|
234
236
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
235
237
|
|
|
236
|
-
declare const
|
|
238
|
+
declare const __VLS_export_18: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
237
239
|
cancel: () => any;
|
|
238
240
|
change: (text: string, snapshot?: InlineTextEditSnapshot | undefined) => any;
|
|
239
241
|
format: (updates: Partial<TextStyle>) => any;
|
|
@@ -255,7 +257,7 @@ declare const __VLS_export_17: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, C
|
|
|
255
257
|
spellCheck: boolean;
|
|
256
258
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
257
259
|
|
|
258
|
-
declare const
|
|
260
|
+
declare const __VLS_export_19: DefineComponent<__VLS_Props_16, {
|
|
259
261
|
hasActivePointerInteraction: () => boolean;
|
|
260
262
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
261
263
|
transform: (payload: TransformPayload_2) => any;
|
|
@@ -287,15 +289,15 @@ declare const __VLS_export_18: DefineComponent<__VLS_Props_16, {
|
|
|
287
289
|
}) => any) | undefined;
|
|
288
290
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
289
291
|
|
|
290
|
-
declare const
|
|
292
|
+
declare const __VLS_export_2: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
293
|
+
|
|
294
|
+
declare const __VLS_export_20: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
291
295
|
retry: () => any;
|
|
292
296
|
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
293
297
|
onRetry?: (() => any) | undefined;
|
|
294
298
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
295
299
|
|
|
296
|
-
declare const
|
|
297
|
-
|
|
298
|
-
declare const __VLS_export_20: DefineComponent<{
|
|
300
|
+
declare const __VLS_export_21: DefineComponent<{
|
|
299
301
|
/** Remote collaborators' presence (cursor + selection + active slide). */
|
|
300
302
|
presences: RemotePresence[];
|
|
301
303
|
/** Elements on the active slide (used to resolve selected ids → geometry). */
|
|
@@ -321,13 +323,13 @@ declare const __VLS_export_20: DefineComponent<{
|
|
|
321
323
|
zoom?: number;
|
|
322
324
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
323
325
|
|
|
324
|
-
declare const
|
|
326
|
+
declare const __VLS_export_22: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
325
327
|
follow: (clientId: number | null) => any;
|
|
326
328
|
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
327
329
|
onFollow?: ((clientId: number | null) => any) | undefined;
|
|
328
330
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
329
331
|
|
|
330
|
-
declare const
|
|
332
|
+
declare const __VLS_export_23: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
331
333
|
|
|
332
334
|
declare const __VLS_export_3: __VLS_WithSlots_2<typeof __VLS_base_2, __VLS_Slots_2>;
|
|
333
335
|
|
|
@@ -374,17 +376,27 @@ declare const __VLS_export_4: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, Com
|
|
|
374
376
|
sectionGroups: SectionGroup[];
|
|
375
377
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
376
378
|
|
|
377
|
-
declare const __VLS_export_5: DefineComponent<
|
|
379
|
+
declare const __VLS_export_5: DefineComponent<SlideThumbnailProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SlideThumbnailProps> & Readonly<{}>, {
|
|
380
|
+
locale: string;
|
|
381
|
+
headerFooter: PptxHeaderFooter;
|
|
382
|
+
theme: PptxTheme;
|
|
383
|
+
tableStyleMap: ParsedTableStyleMap;
|
|
384
|
+
firstSlideNumber: number;
|
|
385
|
+
mediaDataUrls: Map<string, string>;
|
|
386
|
+
templateElements: PptxElement[];
|
|
387
|
+
customProperties: readonly PptxCustomProperty[];
|
|
388
|
+
previewWidth: number;
|
|
389
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
390
|
+
|
|
391
|
+
declare const __VLS_export_6: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
378
392
|
|
|
379
|
-
declare const
|
|
393
|
+
declare const __VLS_export_7: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
380
394
|
|
|
381
|
-
declare const
|
|
395
|
+
declare const __VLS_export_8: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
|
|
382
396
|
interactive: boolean;
|
|
383
397
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
384
398
|
|
|
385
|
-
declare const
|
|
386
|
-
|
|
387
|
-
declare const __VLS_export_9: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
399
|
+
declare const __VLS_export_9: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
388
400
|
|
|
389
401
|
/**
|
|
390
402
|
* SlideCanvas - Vue port of the React `SlideCanvas.tsx`.
|
|
@@ -623,8 +635,11 @@ declare type __VLS_Props_18 = {
|
|
|
623
635
|
* `SlideCanvas.tsx`, so the interactive stage itself stays unlabelled. Only the
|
|
624
636
|
* standalone live presentation stage (`presenting`, no wrapper) self-labels.
|
|
625
637
|
* Static stages (thumbnails, sorter, previews, export) are `aria-hidden` and
|
|
626
|
-
* additionally have their `data-element-id` markers stripped post-render (
|
|
627
|
-
* `
|
|
638
|
+
* additionally have their `data-element-id` markers stripped post-render (the
|
|
639
|
+
* shared `stageKeepsElementIds` / `stripElementIdMarkers`, as in Svelte and
|
|
640
|
+
* vanilla) so element queries always hit the real canvas copy. Safe against
|
|
641
|
+
* re-renders: Vue's patcher only rewrites an attribute whose bound value
|
|
642
|
+
* changes, and a structural change re-runs the effect below.
|
|
628
643
|
*/
|
|
629
644
|
declare type __VLS_Props_2 = {
|
|
630
645
|
slide: PptxSlide | undefined;
|
|
@@ -1042,13 +1057,13 @@ export { buildInitialGuides }
|
|
|
1042
1057
|
|
|
1043
1058
|
export { CanvasSize }
|
|
1044
1059
|
|
|
1045
|
-
export declare const ChartRenderer: typeof
|
|
1060
|
+
export declare const ChartRenderer: typeof __VLS_export_9;
|
|
1046
1061
|
|
|
1047
1062
|
export { clearAudienceContent }
|
|
1048
1063
|
|
|
1049
1064
|
export { CollaborationConfig }
|
|
1050
1065
|
|
|
1051
|
-
export declare const CollaborationCursors: typeof
|
|
1066
|
+
export declare const CollaborationCursors: typeof __VLS_export_17;
|
|
1052
1067
|
|
|
1053
1068
|
export { CollaborationRole }
|
|
1054
1069
|
|
|
@@ -1056,7 +1071,7 @@ export { CollaborationShellState }
|
|
|
1056
1071
|
|
|
1057
1072
|
export { CollaborationState }
|
|
1058
1073
|
|
|
1059
|
-
export declare const CollaborationStatusIndicator: typeof
|
|
1074
|
+
export declare const CollaborationStatusIndicator: typeof __VLS_export_20;
|
|
1060
1075
|
|
|
1061
1076
|
export { collectImagePaths }
|
|
1062
1077
|
|
|
@@ -1064,7 +1079,7 @@ export { collectMediaElements }
|
|
|
1064
1079
|
|
|
1065
1080
|
export { ConnectionStatus }
|
|
1066
1081
|
|
|
1067
|
-
export declare const ConnectorRenderer: typeof
|
|
1082
|
+
export declare const ConnectorRenderer: typeof __VLS_export_7;
|
|
1068
1083
|
|
|
1069
1084
|
export declare const DEFAULT_CANVAS_HEIGHT = 720;
|
|
1070
1085
|
|
|
@@ -1208,7 +1223,7 @@ export declare interface EditorOperations {
|
|
|
1208
1223
|
/** Opaque clipboard payload: only its presence gates the Paste button. */
|
|
1209
1224
|
export declare type ElementClipboardPayload = Record<string, unknown>;
|
|
1210
1225
|
|
|
1211
|
-
export declare const ElementRenderer: typeof
|
|
1226
|
+
export declare const ElementRenderer: typeof __VLS_export_6;
|
|
1212
1227
|
|
|
1213
1228
|
/**
|
|
1214
1229
|
* useEditorOperations: element CRUD + transform operations over the active
|
|
@@ -1239,7 +1254,7 @@ declare interface ElementTransform {
|
|
|
1239
1254
|
rotation?: number;
|
|
1240
1255
|
}
|
|
1241
1256
|
|
|
1242
|
-
export declare const EquationRenderer: typeof
|
|
1257
|
+
export declare const EquationRenderer: typeof __VLS_export_15;
|
|
1243
1258
|
|
|
1244
1259
|
/** Export the selected presentation slides as SVG strings. */
|
|
1245
1260
|
export declare function exportAllSlidesToSvg(data: PptxData, options?: SvgExportAllOptions): string[];
|
|
@@ -1259,7 +1274,7 @@ export { ExternalCollaborationSession }
|
|
|
1259
1274
|
|
|
1260
1275
|
export { ExternalCollaborationSnapshot }
|
|
1261
1276
|
|
|
1262
|
-
export declare const FollowModeBar: typeof
|
|
1277
|
+
export declare const FollowModeBar: typeof __VLS_export_22;
|
|
1263
1278
|
|
|
1264
1279
|
/**
|
|
1265
1280
|
* Basic, framework-agnostic style computation for slide elements.
|
|
@@ -1325,13 +1340,13 @@ declare interface HistorySnapshot {
|
|
|
1325
1340
|
|
|
1326
1341
|
export { ImagePathElement }
|
|
1327
1342
|
|
|
1328
|
-
export declare const InkRenderer: typeof
|
|
1343
|
+
export declare const InkRenderer: typeof __VLS_export_11;
|
|
1329
1344
|
|
|
1330
1345
|
export { InlineListController }
|
|
1331
1346
|
|
|
1332
1347
|
export { InlineListReadResult }
|
|
1333
1348
|
|
|
1334
|
-
export declare const InlineTextEditor: typeof
|
|
1349
|
+
export declare const InlineTextEditor: typeof __VLS_export_18;
|
|
1335
1350
|
|
|
1336
1351
|
export { InlineTextEditSnapshot }
|
|
1337
1352
|
|
|
@@ -1345,9 +1360,9 @@ export declare interface LayoutOption {
|
|
|
1345
1360
|
|
|
1346
1361
|
export { loadAudienceContent }
|
|
1347
1362
|
|
|
1348
|
-
export declare const Model3DRenderer: typeof
|
|
1363
|
+
export declare const Model3DRenderer: typeof __VLS_export_13;
|
|
1349
1364
|
|
|
1350
|
-
export declare const OleRenderer: typeof
|
|
1365
|
+
export declare const OleRenderer: typeof __VLS_export_12;
|
|
1351
1366
|
|
|
1352
1367
|
export { overlayInlineTextSnapshot }
|
|
1353
1368
|
|
|
@@ -1840,7 +1855,7 @@ export declare interface RemoteSelectionBox {
|
|
|
1840
1855
|
height: number;
|
|
1841
1856
|
}
|
|
1842
1857
|
|
|
1843
|
-
export declare const RemoteSelectionOverlay: typeof
|
|
1858
|
+
export declare const RemoteSelectionOverlay: typeof __VLS_export_21;
|
|
1844
1859
|
|
|
1845
1860
|
/**
|
|
1846
1861
|
* Aggregate ribbon contract (state + callbacks). Mirrors React `ToolbarProps`.
|
|
@@ -2069,24 +2084,69 @@ export declare interface RibbonProps {
|
|
|
2069
2084
|
onPresentationPropertiesChange?: (updates: Partial<PptxPresentationProperties>) => void;
|
|
2070
2085
|
}
|
|
2071
2086
|
|
|
2072
|
-
export declare const RibbonToolbar: typeof
|
|
2087
|
+
export declare const RibbonToolbar: typeof __VLS_export_23;
|
|
2073
2088
|
|
|
2074
2089
|
export { SanitizedPresence }
|
|
2075
2090
|
|
|
2076
2091
|
/** A section paired with the ordered slides that belong to it. */
|
|
2077
2092
|
export declare type SectionGroup = SectionSlideGroup<PptxSection>;
|
|
2078
2093
|
|
|
2079
|
-
export declare const SelectionOverlay: typeof
|
|
2094
|
+
export declare const SelectionOverlay: typeof __VLS_export_19;
|
|
2080
2095
|
|
|
2081
2096
|
export declare const SlideCanvas: typeof __VLS_export_2;
|
|
2082
2097
|
|
|
2083
2098
|
export declare const SlidesPane: typeof __VLS_export_4;
|
|
2084
2099
|
|
|
2100
|
+
/**
|
|
2101
|
+
* Deck-level state the slide thumbnail rail needs so its thumbnails draw what
|
|
2102
|
+
* the canvas draws. Every field is optional: an omitted field reads as "the
|
|
2103
|
+
* deck has none", exactly as the canvas treats it.
|
|
2104
|
+
*/
|
|
2105
|
+
declare interface SlidesPaneDeckSources {
|
|
2106
|
+
/** Deck header/footer settings (date, footer and header field text). */
|
|
2107
|
+
headerFooter?: PptxHeaderFooter | undefined;
|
|
2108
|
+
/** Custom document properties, for `docproperty` field runs. */
|
|
2109
|
+
customProperties?: readonly PptxCustomProperty[] | undefined;
|
|
2110
|
+
/** `p:presentation/@firstSlideNum`; numbering starts at 1 when undefined. */
|
|
2111
|
+
firstSlideNumber?: number | undefined;
|
|
2112
|
+
/** Locale for date and time fields (browser default when unset). */
|
|
2113
|
+
locale?: string | undefined;
|
|
2114
|
+
/** Presentation theme, for table colour, font and format scheme lookups. */
|
|
2115
|
+
theme?: PptxTheme | undefined;
|
|
2116
|
+
/** Parsed `ppt/tableStyles.xml`, for table style lookups. */
|
|
2117
|
+
tableStyleMap?: ParsedTableStyleMap | undefined;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2085
2120
|
export { SlidesPaneLayoutGalleryRequest }
|
|
2086
2121
|
|
|
2087
2122
|
export declare const SlideStage: typeof __VLS_export_3;
|
|
2088
2123
|
|
|
2089
|
-
export declare const
|
|
2124
|
+
export declare const SlideThumbnail: typeof __VLS_export_5;
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* Props of `SlideThumbnail`, a static, scaled-down drawing of one slide as the slides pane
|
|
2128
|
+
* shows it. It renders from the slide model, so it follows unsaved edits.
|
|
2129
|
+
*
|
|
2130
|
+
* Feed it from the same values a host passes to `SlidesPane`: `templateElementsBySlideId[slide.id]`,
|
|
2131
|
+
* `canvasSize`, `mediaDataUrls`, `headerFooter`, `customProperties`, `firstSlideNumber`, `locale`,
|
|
2132
|
+
* `theme` and `tableStyleMap`.
|
|
2133
|
+
*/
|
|
2134
|
+
export declare interface SlideThumbnailProps extends SlidesPaneDeckSources {
|
|
2135
|
+
slide: PptxSlide;
|
|
2136
|
+
/** The slide's inherited layout and master elements, drawn beneath its own. Defaults to none. */
|
|
2137
|
+
templateElements?: PptxElement[];
|
|
2138
|
+
/** Slide size in px, for the thumbnail aspect ratio and scale. */
|
|
2139
|
+
canvasSize: CanvasSize;
|
|
2140
|
+
/**
|
|
2141
|
+
* Thumbnail width in pixels; the height follows the deck's aspect ratio. Defaults to the
|
|
2142
|
+
* slides pane thumbnail width.
|
|
2143
|
+
*/
|
|
2144
|
+
previewWidth?: number;
|
|
2145
|
+
/** Media data URLs by part path (`useLoadContent().mediaDataUrls`), for pictures and posters. */
|
|
2146
|
+
mediaDataUrls?: Map<string, string>;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
export declare const SmartArtRenderer: typeof __VLS_export_10;
|
|
2090
2150
|
|
|
2091
2151
|
/** One transient red alignment line drawn while a snap is active. */
|
|
2092
2152
|
declare interface SnapLine {
|
|
@@ -2110,7 +2170,7 @@ export declare interface TableCellEditorState {
|
|
|
2110
2170
|
columnIndex: number;
|
|
2111
2171
|
}
|
|
2112
2172
|
|
|
2113
|
-
export declare const TableRenderer: typeof
|
|
2173
|
+
export declare const TableRenderer: typeof __VLS_export_8;
|
|
2114
2174
|
|
|
2115
2175
|
export { TemplateElementMap }
|
|
2116
2176
|
|
|
@@ -2820,8 +2880,8 @@ export { ViewportFitOptions }
|
|
|
2820
2880
|
|
|
2821
2881
|
export { ViewportFitPadding }
|
|
2822
2882
|
|
|
2823
|
-
export declare const WordArtText: typeof
|
|
2883
|
+
export declare const WordArtText: typeof __VLS_export_16;
|
|
2824
2884
|
|
|
2825
|
-
export declare const ZoomRenderer: typeof
|
|
2885
|
+
export declare const ZoomRenderer: typeof __VLS_export_14;
|
|
2826
2886
|
|
|
2827
2887
|
export { }
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { An as a, C as s, Cr as e, Er as r, Gn as n, In as o, L as t, Ln as i, M as l, Mn as d, N as
|
|
2
|
-
import { C as Q, S as V, _ as k, a as q, b as B, c as F, d as G, f as N, g as W, h as _, i as z, l as H, m as J, n as K, o as U, p as X, r as Y, s as $, t as aa, u as sa, v as ea,
|
|
3
|
-
export {
|
|
1
|
+
import { An as a, C as s, Cr as e, Er as r, Gn as n, In as o, L as t, Ln as i, M as l, Mn as d, N as S, P as R, Q as m, Qn as b, S as C, Sr as w, Tr as c, Z as u, Zn as v, br as x, cr as T, d as g, er as h, h as j, it as p, j as y, jn as E, mt as I, sr as M, tr as P, vr as f, w as A, wr as O, x as Z, xr as D, yr as L } from "../useViewerSettingsDialog-Bz0RdicV.js";
|
|
2
|
+
import { C as Q, S as V, _ as k, a as q, b as B, c as F, d as G, f as N, g as W, h as _, i as z, l as H, m as J, n as K, o as U, p as X, r as Y, s as $, t as aa, u as sa, v as ea, w as ra, x as na, y as oa } from "../viewer-Dwl_oBxY.js";
|
|
3
|
+
export { N as AUDIENCE_HASH, T as ChartRenderer, oa as CollaborationCursors, ra as CollaborationStatusIndicator, M as ConnectorRenderer, w as DEFAULT_CANVAS_HEIGHT, e as DEFAULT_CANVAS_WIDTH, O as DEFAULT_FILL_COLOR, c as DEFAULT_STROKE_COLOR, r as DEFAULT_TEXT_COLOR, E as ElementRenderer, P as EquationRenderer, G as FollowModeBar, h as InkRenderer, Q as InlineTextEditor, b as Model3DRenderer, v as OleRenderer, H as PowerPointViewer, ea as RemoteSelectionOverlay, na as RibbonToolbar, V as SelectionOverlay, B as SlideCanvas, a as SlideStage, F as SlideThumbnail, sa as SlidesPane, n as SmartArtRenderer, i as TableRenderer, o as WordArtText, d as ZoomRenderer, l as buildInitialGuides, X as clearAudienceContent, S as collectImagePaths, R as collectMediaElements, Z as exportAllSlidesToSvg, C as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, A as exportSlideToSvgBlob, f as getContainerStyle, L as getImageSrc, K as getResolvedShapeClipPath, Y as getResolvedShapeClipPathFor, x as getShapeFillStrokeStyle, D as getTextBlockStyle, J as isAudienceTab, _ as loadAudienceContent, aa as overlayInlineTextSnapshot, W as parseAudienceNonce, k as storeAudienceContent, I as useCollaboration, z as useCollaborativeHistory, q as useCollaborativeState, p as useEditorHistory, m as useEditorOperations, u as useElementDrag, t as useInlineEditing, y as useLoadContent, U as usePresenceTracking, j as useSectionOperations, g as useSlideOperations, $ as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|