pptx-svelte-viewer 2.13.2 → 2.15.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-BBqThoD3.js +1269 -0
- package/dist/{export-Oh-2dcFv.js → export-CC1FYy31.js} +35853 -28563
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +104 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -19
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/{translator-DqUAMimH.js → translator-CUlfH48o.js} +73 -2
- package/dist/viewer/ai/ai-chat-history.svelte.d.ts +32 -0
- package/dist/viewer/ai/ai-chat-history.svelte.d.ts.map +1 -0
- package/dist/viewer/ai/chat.svelte.d.ts +2 -0
- package/dist/viewer/ai/chat.svelte.d.ts.map +1 -1
- package/dist/viewer/collab/collaboration-presence.svelte.d.ts.map +1 -1
- package/dist/viewer/components/props-elements.d.ts +9 -0
- package/dist/viewer/components/props-elements.d.ts.map +1 -1
- package/dist/viewer/components/props-stage.d.ts +14 -1
- package/dist/viewer/components/props-stage.d.ts.map +1 -1
- package/dist/viewer/components/viewer-body-props.d.ts +9 -3
- package/dist/viewer/components/viewer-body-props.d.ts.map +1 -1
- package/dist/viewer/editor/editor-insert-chart.d.ts +7 -3
- package/dist/viewer/editor/editor-insert-chart.d.ts.map +1 -1
- package/dist/viewer/editor/editor-slide-ops.d.ts +11 -0
- package/dist/viewer/editor/editor-slide-ops.d.ts.map +1 -1
- package/dist/viewer/editor/editor-slides-controller.d.ts +10 -0
- package/dist/viewer/editor/editor-slides-controller.d.ts.map +1 -1
- package/dist/viewer/export/export-controller.svelte.d.ts +11 -1
- package/dist/viewer/export/export-controller.svelte.d.ts.map +1 -1
- package/dist/viewer/export/export-ui.svelte.d.ts +5 -0
- package/dist/viewer/export/export-ui.svelte.d.ts.map +1 -1
- package/dist/viewer/export/export-wiring.svelte.d.ts +5 -1
- package/dist/viewer/export/export-wiring.svelte.d.ts.map +1 -1
- package/dist/viewer/index.d.ts +103 -4
- package/dist/viewer/index.js +15 -15
- package/dist/viewer/render/chart-view.d.ts +8 -2
- package/dist/viewer/render/chart-view.d.ts.map +1 -1
- package/dist/viewer/state/create-viewer-state-export-notes.svelte.d.ts +2 -0
- package/dist/viewer/state/create-viewer-state-export-notes.svelte.d.ts.map +1 -1
- package/dist/viewer/state/create-viewer-state.svelte.d.ts.map +1 -1
- package/dist/viewer/state/deck-export-data.d.ts +11 -0
- package/dist/viewer/state/deck-export-data.d.ts.map +1 -0
- package/dist/viewer/state/render-context.d.ts +10 -1
- package/dist/viewer/state/render-context.d.ts.map +1 -1
- package/dist/viewer/state/viewer-state.svelte.d.ts +4 -2
- package/dist/viewer/state/viewer-state.svelte.d.ts.map +1 -1
- package/dist/viewer/state/viewer-store.svelte.d.ts +12 -0
- package/dist/viewer/state/viewer-store.svelte.d.ts.map +1 -0
- package/dist/viewer/style/element-style.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/AiChatPanel-DhIVPoPf.js +0 -1109
- package/dist/viewer/ai/ai-chat-persistence.svelte.d.ts +0 -23
- package/dist/viewer/ai/ai-chat-persistence.svelte.d.ts.map +0 -1
- package/dist/viewer/ai/ai-history-persist.d.ts +0 -13
- package/dist/viewer/ai/ai-history-persist.d.ts.map +0 -1
package/dist/i18n.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2154,6 +2154,17 @@ interface PptxChartUserShape {
|
|
|
2154
2154
|
* ```
|
|
2155
2155
|
*/
|
|
2156
2156
|
type PptxChartType = 'bar' | 'line' | 'pie' | 'ofPie' | 'doughnut' | 'area' | 'scatter' | 'bubble' | 'radar' | 'stock' | 'bar3D' | 'line3D' | 'pie3D' | 'area3D' | 'surface' | 'histogram' | 'waterfall' | 'funnel' | 'treemap' | 'sunburst' | 'boxWhisker' | 'regionMap' | 'combo' | 'unknown';
|
|
2157
|
+
/**
|
|
2158
|
+
* Bar series direction (OOXML `ST_BarDir`): `"col"` is a vertical column
|
|
2159
|
+
* chart, `"bar"` a horizontal bar chart.
|
|
2160
|
+
*
|
|
2161
|
+
* @example
|
|
2162
|
+
* ```ts
|
|
2163
|
+
* const dir: PptxChartBarDirection = "col";
|
|
2164
|
+
* // => "col" - one of: "col" | "bar"
|
|
2165
|
+
* ```
|
|
2166
|
+
*/
|
|
2167
|
+
type PptxChartBarDirection = 'col' | 'bar';
|
|
2157
2168
|
/**
|
|
2158
2169
|
* Supported trendline regression types.
|
|
2159
2170
|
*
|
|
@@ -2813,6 +2824,12 @@ interface PptxChartData {
|
|
|
2813
2824
|
* (`c:holeSize/@val`, 10 through 90). Absent uses the renderer default.
|
|
2814
2825
|
*/
|
|
2815
2826
|
doughnutHoleSize?: number;
|
|
2827
|
+
/**
|
|
2828
|
+
* Bar series direction (`c:barDir/@val`): `"col"` draws vertical columns,
|
|
2829
|
+
* `"bar"` draws horizontal bars. Absent means `"col"` (PowerPoint's own
|
|
2830
|
+
* default), so only horizontal bar charts need to carry the field.
|
|
2831
|
+
*/
|
|
2832
|
+
barDirection?: PptxChartBarDirection;
|
|
2816
2833
|
/**
|
|
2817
2834
|
* Bar/column gap between category clusters as a percentage of bar width
|
|
2818
2835
|
* (`c:gapWidth/@val`, 0 through 500). Absent uses the renderer default.
|
|
@@ -5177,7 +5194,12 @@ interface PptxNativeAnimation {
|
|
|
5177
5194
|
motionPath?: string;
|
|
5178
5195
|
/** Motion origin: "layout" or "parent". */
|
|
5179
5196
|
motionOrigin?: string;
|
|
5180
|
-
/**
|
|
5197
|
+
/**
|
|
5198
|
+
* Whether the element auto-rotates to follow the motion path tangent.
|
|
5199
|
+
* Viewer-authoring-only hint: OOXML has no such flag (`p:animMotion/@rAng`
|
|
5200
|
+
* is a plain rotation angle that PowerPoint writes as "0" on every path),
|
|
5201
|
+
* so the parser never sets this.
|
|
5202
|
+
*/
|
|
5181
5203
|
motionPathRotateAuto?: boolean;
|
|
5182
5204
|
/** Path edit mode from `p:animMotion/@pathEditMode` (e.g. "relative", "fixed"). */
|
|
5183
5205
|
motionPathEditMode?: string;
|
|
@@ -7092,6 +7114,8 @@ interface ChartInput {
|
|
|
7092
7114
|
hasLegend?: boolean;
|
|
7093
7115
|
legendPosition?: 't' | 'b' | 'l' | 'r' | 'tr';
|
|
7094
7116
|
grouping?: 'clustered' | 'stacked' | 'percentStacked';
|
|
7117
|
+
/** Bar series direction (`c:barDir`): vertical columns (default) or horizontal bars. */
|
|
7118
|
+
barDirection?: 'col' | 'bar';
|
|
7095
7119
|
}
|
|
7096
7120
|
interface ChartOptions extends Partial<ElementPosition> {}
|
|
7097
7121
|
interface ConnectorOptions extends Partial<ElementPosition> {
|
|
@@ -8252,6 +8276,24 @@ declare class PptxHandler extends PptxHandlerCore {
|
|
|
8252
8276
|
* ```
|
|
8253
8277
|
*/
|
|
8254
8278
|
static create(options?: PresentationOptions): Promise<PresentationBuilderResult>;
|
|
8279
|
+
/**
|
|
8280
|
+
* Parse a presentation from an `ArrayBuffer`, accepting both `.pptx`
|
|
8281
|
+
* archives and portable `pptx-viewer-json` documents.
|
|
8282
|
+
*
|
|
8283
|
+
* The buffer is sniffed first: JSON documents (leading `{` plus the
|
|
8284
|
+
* `"pptx-viewer-json"` format marker) are routed to {@link loadFromJson};
|
|
8285
|
+
* everything else goes through the regular ZIP/OLE2 pipeline.
|
|
8286
|
+
*/
|
|
8287
|
+
load(data: ArrayBuffer, options?: PptxHandlerLoadOptions): Promise<PptxData>;
|
|
8288
|
+
/**
|
|
8289
|
+
* Load a presentation from `pptx-viewer-json` text.
|
|
8290
|
+
*
|
|
8291
|
+
* A minimal blank package is generated and loaded first so that the
|
|
8292
|
+
* handler keeps a valid in-memory archive (editing and {@link save} keep
|
|
8293
|
+
* working), then the imported model is overlaid on top: imported
|
|
8294
|
+
* presentation fields win, and the slide array is replaced wholesale.
|
|
8295
|
+
*/
|
|
8296
|
+
loadFromJson(text: string, options?: PptxHandlerLoadOptions): Promise<PptxData>;
|
|
8255
8297
|
}
|
|
8256
8298
|
//#endregion
|
|
8257
8299
|
//#region src/converter/SvgExporter.d.ts
|
|
@@ -8591,6 +8633,64 @@ interface ViewerFontSource {
|
|
|
8591
8633
|
weight?: string | number;
|
|
8592
8634
|
style?: 'normal' | 'italic';
|
|
8593
8635
|
}
|
|
8636
|
+
//#endregion
|
|
8637
|
+
//#region src/render/session-restore.d.ts
|
|
8638
|
+
/**
|
|
8639
|
+
* session-restore: keep the deck a host app has open across a page refresh.
|
|
8640
|
+
*
|
|
8641
|
+
* A host (the demo apps, or any embedder) owns the bytes it hands to the
|
|
8642
|
+
* viewer, so a plain reload drops them and the user lands back on the file
|
|
8643
|
+
* dropzone with their presentation gone. This store remembers the open deck in
|
|
8644
|
+
* IndexedDB and hands it back on the next load.
|
|
8645
|
+
*
|
|
8646
|
+
* Scope is deliberately per-tab: the record is keyed by an id kept in
|
|
8647
|
+
* `sessionStorage`, which survives a reload but NOT a new tab. Refreshing
|
|
8648
|
+
* restores the deck this tab had open, while a second tab opened on the same
|
|
8649
|
+
* origin still starts on the landing page, and two tabs holding different decks
|
|
8650
|
+
* never steal each other's content.
|
|
8651
|
+
*
|
|
8652
|
+
* `restoreSessionDeck` additionally prefers a NEWER autosave snapshot for the
|
|
8653
|
+
* same file (see `./autosave-store`), so a refresh mid-edit comes back with the
|
|
8654
|
+
* edited deck rather than the pristine bytes that were first opened.
|
|
8655
|
+
*
|
|
8656
|
+
* Every operation is best-effort: a blocked IndexedDB, a partitioned
|
|
8657
|
+
* `sessionStorage`, or an exhausted quota degrades to "no restore", never to a
|
|
8658
|
+
* thrown error in the host.
|
|
8659
|
+
*/
|
|
8660
|
+
/** A deck remembered for the current tab. */
|
|
8661
|
+
interface SessionDeck {
|
|
8662
|
+
/** File name the deck was opened under, used as the autosave key. */
|
|
8663
|
+
fileName: string;
|
|
8664
|
+
/** The presentation bytes. */
|
|
8665
|
+
data: Uint8Array;
|
|
8666
|
+
/** When these bytes were remembered (epoch ms). */
|
|
8667
|
+
timestamp: number;
|
|
8668
|
+
}
|
|
8669
|
+
/**
|
|
8670
|
+
* This tab's session id, or `null` when `sessionStorage` is unavailable (a
|
|
8671
|
+
* sandboxed iframe, or a browser with storage disabled).
|
|
8672
|
+
*
|
|
8673
|
+
* @param create Mint and persist an id when the tab does not have one yet.
|
|
8674
|
+
* Reads pass `false` so a fresh tab never claims another tab's record.
|
|
8675
|
+
*/
|
|
8676
|
+
declare function getSessionTabId(create?: boolean): string | null;
|
|
8677
|
+
/**
|
|
8678
|
+
* Remember `data` as the deck this tab has open, so the next load can restore
|
|
8679
|
+
* it. Resolves `false` when the browser refused to store it; callers treat that
|
|
8680
|
+
* as "no restore available later", never as an error.
|
|
8681
|
+
*/
|
|
8682
|
+
declare function rememberSessionDeck(fileName: string, data: Uint8Array): Promise<boolean>;
|
|
8683
|
+
/** The deck remembered for this tab, or `null` when there is nothing to restore. */
|
|
8684
|
+
declare function loadSessionDeck(): Promise<SessionDeck | null>;
|
|
8685
|
+
/** Forget this tab's deck (the host closed it, or handed the tab to another flow). */
|
|
8686
|
+
declare function forgetSessionDeck(): Promise<void>;
|
|
8687
|
+
/**
|
|
8688
|
+
* The deck to reopen on load: this tab's remembered bytes, upgraded to a newer
|
|
8689
|
+
* autosave snapshot of the same file when the viewer wrote one after they were
|
|
8690
|
+
* remembered. Without that upgrade a refresh mid-edit would silently roll the
|
|
8691
|
+
* presentation back to the state it was opened in.
|
|
8692
|
+
*/
|
|
8693
|
+
declare function restoreSessionDeck(): Promise<SessionDeck | null>;
|
|
8594
8694
|
declare function parsePresentationSessionId(hash: string): string | null;
|
|
8595
8695
|
declare function loadPresentationDeck(sessionId: string): Promise<Uint8Array | null>;
|
|
8596
8696
|
interface AutosaveRecord {
|
|
@@ -8716,7 +8816,7 @@ type PptxAiUIMessage = UIMessage;
|
|
|
8716
8816
|
* live deck); the viewer-only tools (navigation, deck outline, element/notes
|
|
8717
8817
|
* readers, table merge) have no MCP counterpart.
|
|
8718
8818
|
*/
|
|
8719
|
-
type PptxAiToolName = 'get_deck_overview' | 'get_slide' | 'get_element' | 'get_speaker_notes' | 'find_text' | 'get_theme' | 'go_to_slide' | 'select_elements' | 'merge_tables' | 'get_metadata' | 'get_layouts' | 'find_placeholders' | 'get_presentation_properties' | 'run_accessibility_check' | 'convert_to_markdown' | 'add_element' | 'update_element' | 'delete_elements' | 'arrange_elements' | 'clone_element' | 'set_element_animation' | 'group_elements' | 'ungroup_elements' | 'batch_update_elements' | 'update_element_style' | 'replace_geometry' | 'set_element_lock' | 'manage_hyperlinks' | 'replace_text' | 'manage_comments' | 'update_table_cells' | 'manage_table_structure' | 'create_chart' | 'update_chart' | 'add_chart_series' | 'remove_chart_series' | 'update_chart_series_data' | 'manage_smart_art' | 'apply_template' | 'add_slide' | 'duplicate_slide' | 'delete_slides' | 'reorder_slides' | 'update_slide_properties' | 'set_slide_transition' | 'apply_theme_preset' | 'update_theme_colors' | 'update_theme_fonts' | 'set_canvas_size' | 'update_metadata' | 'manage_sections' | 'update_presentation_properties' | 'apply_layout';
|
|
8819
|
+
type PptxAiToolName = 'get_deck_overview' | 'get_slide' | 'get_element' | 'get_speaker_notes' | 'find_text' | 'get_theme' | 'go_to_slide' | 'select_elements' | 'merge_tables' | 'get_metadata' | 'get_layouts' | 'find_placeholders' | 'get_presentation_properties' | 'run_accessibility_check' | 'convert_to_markdown' | 'export_to_json' | 'add_element' | 'update_element' | 'delete_elements' | 'arrange_elements' | 'clone_element' | 'set_element_animation' | 'group_elements' | 'ungroup_elements' | 'batch_update_elements' | 'update_element_style' | 'replace_geometry' | 'set_element_lock' | 'manage_hyperlinks' | 'replace_text' | 'manage_comments' | 'update_table_cells' | 'manage_table_structure' | 'create_chart' | 'update_chart' | 'add_chart_series' | 'remove_chart_series' | 'update_chart_series_data' | 'manage_smart_art' | 'apply_template' | 'add_slide' | 'duplicate_slide' | 'delete_slides' | 'reorder_slides' | 'update_slide_properties' | 'set_slide_transition' | 'apply_theme_preset' | 'update_theme_colors' | 'update_theme_fonts' | 'set_canvas_size' | 'update_metadata' | 'manage_sections' | 'update_presentation_properties' | 'import_from_json' | 'apply_layout';
|
|
8720
8820
|
type Resolvable<T> = T | (() => T | Promise<T>);
|
|
8721
8821
|
/** How the assistant reaches a language model. */
|
|
8722
8822
|
type PptxAiConnection =
|
|
@@ -9339,5 +9439,5 @@ declare const PowerPointViewer: Component<PowerPointViewerProps, PowerPointViewe
|
|
|
9339
9439
|
*/
|
|
9340
9440
|
type AutosaveStatus = 'idle' | 'disabled' | 'saving' | 'saved' | 'error';
|
|
9341
9441
|
|
|
9342
|
-
export { PowerPointViewer, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, exportAllSlidesToSvg, exportAllSlidesToSvgBlobs, exportSlideAsSvg, exportSlideToSvg, exportSlideToSvgBlob, getAutosaveSnapshot, listAutosaveSnapshots, loadPresentationDeck, parsePresentationSessionId, registerTranslations, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius };
|
|
9343
|
-
export type { AutosaveRecord, AutosaveStatus, CanvasSize, CollaborationConfig, CollaborationRole, CollaborationTransport, ExportGifOptions, ExportPdfOptions, ExportVideoOptions, PowerPointViewerApi, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy, PrintOptions, SvgExportAllOptions, SvgExportSingleSlideOptions, TranslationDictionary, Translator, ViewerLoadDetail, ViewerTheme, ViewerThemeColors };
|
|
9442
|
+
export { PowerPointViewer, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, exportAllSlidesToSvg, exportAllSlidesToSvgBlobs, exportSlideAsSvg, exportSlideToSvg, exportSlideToSvgBlob, forgetSessionDeck, getAutosaveSnapshot, getSessionTabId, listAutosaveSnapshots, loadPresentationDeck, loadSessionDeck, parsePresentationSessionId, registerTranslations, rememberSessionDeck, restoreSessionDeck, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius };
|
|
9443
|
+
export type { AutosaveRecord, AutosaveStatus, CanvasSize, CollaborationConfig, CollaborationRole, CollaborationTransport, ExportGifOptions, ExportPdfOptions, ExportVideoOptions, PowerPointViewerApi, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy, PrintOptions, SessionDeck, SvgExportAllOptions, SvgExportSingleSlideOptions, TranslationDictionary, Translator, ViewerLoadDetail, ViewerTheme, ViewerThemeColors };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACX,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,2BAA2B,GAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,GACpB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACX,UAAU,EACV,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,GACX,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,iBAAiB,GACjB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAIrE,OAAO,EACN,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACX,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,2BAA2B,GAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,GACpB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACX,UAAU,EACV,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,GACX,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,iBAAiB,GACjB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAIrE,OAAO,EACN,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAItF,OAAO,EACN,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACN,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,GACf,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
1
|
+
import { $ as e, G as o, H as a, J as t, K as i, Q as r, U as l, W as n, X as S, Y as m, Z as d, a as p, at as v, c as g, et as T, it as h, l as u, nt as k, o as D, ot as c, q as f, rt as x, s as A, t as C, tt as b } from "./export-CC1FYy31.js";
|
|
2
|
+
import { i as V } from "./translator-CUlfH48o.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
C as PowerPointViewer,
|
|
6
|
+
a as defaultCssVars,
|
|
7
|
+
l as defaultRadius,
|
|
8
8
|
n as defaultThemeColors,
|
|
9
9
|
o as deleteAutosaveSnapshot,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
p as exportAllSlidesToSvg,
|
|
11
|
+
D as exportAllSlidesToSvgBlobs,
|
|
12
|
+
A as exportSlideAsSvg,
|
|
13
13
|
g as exportSlideToSvg,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
u as exportSlideToSvgBlob,
|
|
15
|
+
i as forgetSessionDeck,
|
|
16
|
+
f as getAutosaveSnapshot,
|
|
17
|
+
t as getSessionTabId,
|
|
16
18
|
m as listAutosaveSnapshots,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
S as loadPresentationDeck,
|
|
20
|
+
d as loadSessionDeck,
|
|
21
|
+
r as parsePresentationSessionId,
|
|
22
|
+
V as registerTranslations,
|
|
23
|
+
e as rememberSessionDeck,
|
|
24
|
+
T as restoreSessionDeck,
|
|
25
|
+
b as themeToCssVars,
|
|
26
|
+
k as vermilionDarkColors,
|
|
27
|
+
x as vermilionDarkTheme,
|
|
28
|
+
h as vermilionLightColors,
|
|
29
|
+
v as vermilionLightTheme,
|
|
30
|
+
c as vermilionRadius
|
|
26
31
|
};
|