pptx-svelte-viewer 4.55.0 → 4.56.1
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 +30 -0
- package/dist/{export-BJPif0uf.js → export-BPoswxgr.js} +17 -12
- package/dist/index.d.ts +19 -2
- package/dist/index.js +1 -1
- package/dist/internals.js +1 -1
- package/dist/{transition-overlay-BSugeWHT.js → transition-overlay-DdHKcrCY.js} +293 -293
- package/dist/viewer/index.d.ts +20 -1
- package/dist/viewer/index.js +2 -2
- package/dist/{y-webrtc-UWmmFjVf.js → y-webrtc-C7DZFzI3.js} +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
|
|
8
8
|
conventional commits.
|
|
9
9
|
|
|
10
|
+
## [4.56.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.56.1) - 2026-10-29
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **docx:** Match Word equation heights and list indents, record caret x ([5e51378](https://github.com/ChristopherVR/ooxml/commit/5e51378d484b6f8538d29b7878f260ec8e97f233))
|
|
15
|
+
|
|
16
|
+
### Testing
|
|
17
|
+
|
|
18
|
+
- **automation:** Snapshot mcp tool names and schemas ([6469eac](https://github.com/ChristopherVR/ooxml/commit/6469eace8bbcdb604c5d9681fccd59e6bc6e68a3))
|
|
19
|
+
- **chart:** Name the accepted native gradient raster gaps ([4b21b72](https://github.com/ChristopherVR/ooxml/commit/4b21b727d63cb6f29c7005cad1e270be388dc128))
|
|
20
|
+
- **chart:** Record native two-stop alpha weighting evidence ([2b0cb3a](https://github.com/ChristopherVR/ooxml/commit/2b0cb3a659c534c50a51e843d7da889edbc34bdd))
|
|
21
|
+
- **automation:** Keep the pptx schema snapshot out of the formatter ([21bac92](https://github.com/ChristopherVR/ooxml/commit/21bac92f9bb8d54b220d8240f53505a7000fed12))
|
|
22
|
+
- **chart:** Record translucent gradients over opaque backdrops ([7afd300](https://github.com/ChristopherVR/ooxml/commit/7afd300d057fea24b019efca945e83bf9b06d6a5))
|
|
23
|
+
|
|
24
|
+
### Styling
|
|
25
|
+
|
|
26
|
+
- Format files from the stability work ([6ebb965](https://github.com/ChristopherVR/ooxml/commit/6ebb965ec54f2424db7297ff89a1fda5066ea280))
|
|
27
|
+
|
|
28
|
+
## [4.56.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.56.0) - 2026-10-28
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
- **pptx:** Add opt-in whole-list conversion with listConversionScope ([#229](https://github.com/ChristopherVR/ooxml/issues/229)) ([bf7be3e](https://github.com/ChristopherVR/ooxml/commit/bf7be3e5cedd7ff9ed9e6cc62b0bd5be7ec363c4))
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **pptx:** Resolve viewer lint errors and stale save refs ([4abc45b](https://github.com/ChristopherVR/ooxml/commit/4abc45b210fbf2ce2cd7c4673bdf9d8f14a254be))
|
|
37
|
+
- **pptx:** Stretch textPlain WordArt to fill its shape ([#226](https://github.com/ChristopherVR/ooxml/issues/226)) ([120d3ce](https://github.com/ChristopherVR/ooxml/commit/120d3ce4e4e4dd8c5830902230fabb5e2c8dcfe7))
|
|
38
|
+
- **pptx:** Keep the timed advance of a slide with no transition ([df75415](https://github.com/ChristopherVR/ooxml/commit/df75415df55557f9366732550540a149821ab939))
|
|
39
|
+
|
|
10
40
|
## [4.55.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.55.0) - 2026-10-28
|
|
11
41
|
|
|
12
42
|
### Features
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Uc, D as Pe, E as Hc, S as Vc, T as ft, _ as jc, a as Kc, b as Os, c as Gc, d as Wc, f as Yc, g as Xc, h as _t, i as nt, l as Zc, m as Qc, n as zn, o as zs, p as Jc, r as Ds, s as $c, t as eu, u as tu, v as qs, w as au, x as nu, y as Rs } from "./transition-overlay-
|
|
1
|
+
import { C as Uc, D as Pe, E as Hc, S as Vc, T as ft, _ as jc, a as Kc, b as Os, c as Gc, d as Wc, f as Yc, g as Xc, h as _t, i as nt, l as Zc, m as Qc, n as zn, o as zs, p as Jc, r as Ds, s as $c, t as eu, u as tu, v as qs, w as au, x as nu, y as Rs } from "./transition-overlay-DdHKcrCY.js";
|
|
2
2
|
import { n as iu, t as Fs } from "./translator-2U8GG-ce.js";
|
|
3
3
|
import { n as ru, r as le, t as su } from "./context-BYZ6OEju.js";
|
|
4
4
|
import { t as lu } from "./ai-assistant-registry-CUKUJBDS.js";
|
|
@@ -1292,16 +1292,16 @@ var r0 = 24;
|
|
|
1292
1292
|
function s0(a) {
|
|
1293
1293
|
return (0, Pe.hasTextProperties)(a) ? a.textStyle ?? {} : {};
|
|
1294
1294
|
}
|
|
1295
|
-
function l0(a, t, n) {
|
|
1295
|
+
function l0(a, t, n, i) {
|
|
1296
1296
|
if (!(0, Pe.hasTextProperties)(a)) return {};
|
|
1297
|
-
const
|
|
1297
|
+
const r = typeof document > "u" ? null : document.querySelector("[data-inline-editor]"), s = n?.text ?? (r ? Xl(r) : void 0), l = s === void 0 ? a : {
|
|
1298
1298
|
...a,
|
|
1299
|
-
text:
|
|
1300
|
-
textSegments: n?.textSegments ?? Bn(
|
|
1301
|
-
},
|
|
1302
|
-
return
|
|
1303
|
-
...
|
|
1304
|
-
...K2(
|
|
1299
|
+
text: s,
|
|
1300
|
+
textSegments: n?.textSegments ?? Bn(s, a.textSegments, a.textStyle)
|
|
1301
|
+
}, o = Ef(l.textSegments, { preserveCaret: !0 });
|
|
1302
|
+
return o.kind !== "supported" || o.snapshot && o.snapshot.elementId !== a.id ? {} : {
|
|
1303
|
+
...s === void 0 ? {} : { text: s },
|
|
1304
|
+
...K2(l, t, o.selection, o.snapshot?.textSegments, i).patch
|
|
1305
1305
|
};
|
|
1306
1306
|
}
|
|
1307
1307
|
function o0(a, t) {
|
|
@@ -3723,6 +3723,9 @@ var TC = class {
|
|
|
3723
3723
|
get hostAuthorName() {
|
|
3724
3724
|
return this.#h.getAuthorName?.();
|
|
3725
3725
|
}
|
|
3726
|
+
get listConversionScope() {
|
|
3727
|
+
return this.#h.getListConversionScope?.();
|
|
3728
|
+
}
|
|
3726
3729
|
getCanvasSize() {
|
|
3727
3730
|
return this.#h.getCanvasSize?.();
|
|
3728
3731
|
}
|
|
@@ -13598,7 +13601,7 @@ function a5() {
|
|
|
13598
13601
|
var n5 = e.from_html('<button type="button"></button>'), os = e.from_html('<p class="svelte-dgy1er"> </p>'), i5 = e.from_html('<p class="notice svelte-dgy1er"> </p>'), r5 = e.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), s5 = e.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), l5 = e.from_html('<div class="pptx-svelte-account svelte-dgy1er"><section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <div class="profile-row svelte-dgy1er"><span class="avatar svelte-dgy1er"> </span> <label class="name-field svelte-dgy1er"><span> </span> <input type="text" class="svelte-dgy1er"/></label></div> <span class="swatches-label svelte-dgy1er"> </span> <div class="swatch-row svelte-dgy1er" role="group"></div></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!> <button type="button" class="secondary svelte-dgy1er"> </button> <!> <p class="muted svelte-dgy1er"> </p></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <p class="svelte-dgy1er">pptx-svelte-viewer</p> <p class="muted svelte-dgy1er"> </p></section> <!></div>');
|
|
13599
13602
|
function o5(a, t) {
|
|
13600
13603
|
e.push(t, !0);
|
|
13601
|
-
const n = le(), i = ti(), r = "4.
|
|
13604
|
+
const n = le(), i = ti(), r = "4.56.1";
|
|
13602
13605
|
let s = e.state(e.proxy(bn().profile ?? { ...Ii })), l = e.state(void 0), o = e.state(!1);
|
|
13603
13606
|
async function d() {
|
|
13604
13607
|
e.set(l, await Pf(i()), !0);
|
|
@@ -16063,7 +16066,7 @@ function pD(a, t) {
|
|
|
16063
16066
|
return;
|
|
16064
16067
|
}
|
|
16065
16068
|
const _ = g === "home.paragraph.bullets" ? "bullet" : "numbered";
|
|
16066
|
-
x((b, h) => l0(b, _, h));
|
|
16069
|
+
x((b, h) => l0(b, _, h, { listConversionScope: t.editor.listConversionScope }));
|
|
16067
16070
|
return;
|
|
16068
16071
|
}
|
|
16069
16072
|
case "home.paragraph.lineSpacing":
|
|
@@ -25414,7 +25417,7 @@ function qL(a) {
|
|
|
25414
25417
|
var ri = {
|
|
25415
25418
|
loadYjs: () => import("yjs"),
|
|
25416
25419
|
loadWebsocket: () => import("./y-websocket-DY_vyjbJ.js"),
|
|
25417
|
-
loadWebrtc: () => import("./y-webrtc-
|
|
25420
|
+
loadWebrtc: () => import("./y-webrtc-C7DZFzI3.js")
|
|
25418
25421
|
}, RL = 1e5;
|
|
25419
25422
|
function Is(a) {
|
|
25420
25423
|
return a !== void 0 && a > 0 ? a : RL;
|
|
@@ -28209,6 +28212,7 @@ function QN(a) {
|
|
|
28209
28212
|
}), v = new AC({
|
|
28210
28213
|
getCurrent: () => u.current,
|
|
28211
28214
|
getAuthorName: () => a.getAuthorName?.(),
|
|
28215
|
+
getListConversionScope: () => a.getListConversionScope?.(),
|
|
28212
28216
|
getHandler: () => d.handler,
|
|
28213
28217
|
setHandler: (O, A, M) => d.adoptHandler(O, A, M),
|
|
28214
28218
|
getSlideSize: () => Vn({
|
|
@@ -28570,6 +28574,7 @@ function $N(a, t) {
|
|
|
28570
28574
|
getAuthorName: () => a().authorName,
|
|
28571
28575
|
getInitialSlide: () => no(a()).initialSlide,
|
|
28572
28576
|
getGoogleFonts: () => a().googleFonts,
|
|
28577
|
+
getListConversionScope: () => a().listConversionScope,
|
|
28573
28578
|
getAllowExternalContent: () => a().allowExternalContent,
|
|
28574
28579
|
getLimits: () => a().limits,
|
|
28575
28580
|
getSmartArt3D: () => a().smartArt3D ?? !1,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
|
|
2
|
-
import { PrintSettings, CanvasSize, RasterizeElementResult, RasterizeElementTilesResult, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, GoogleFontsOption, PptxLoadLimits, ToolbarActionId, RibbonAddInTab, ViewerCustomization, DocumentStorage, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, CollaborationInput, CollaborationConfig, CollaborationState, PowerPointViewerAPI, ViewerCustomizationApi, PptxAutosaveStatusKind, DeckSaveIntent, InlineTextDraft, AnimationGroup, AlignEdge, DistributeAxis, MergeShapeOperation, PasteSpecialFormat, CropSession, CropElementUpdate, TemplateElementMap, HistoryTheme, ElementBoxPatch, EditorHistoryController, InkStrokeView, InkPoint, MasterViewCrudAction, MasterViewCrudActionId, FreeformToolKind, EditPointsElementPatch, SlideTemplateId, SlideTemplateBuildOptions, SlidePasteRequest, RibbonTransitionDraft, CellCoord, CellRect, PendingInlineTextEdit, InlineListController, ElementClipboardPayload, TableStyleSaveOptions, FontEmbeddingDescriptor, InlineTextEditSnapshot, SnapGuideInput, CollaborationLivePatcher, InlineTextDraftSink, ResolvedKeyboardCustomization, MarqueeRect, ShapeAdjustmentHandleDescriptor, SnapLine, ResizeHandleId, ConnectorEndpointKind, CollaborationInlineEditor, FindResult, CollaborationTransport, YDocLike, YjsFactories, CollabProviderHandle, CollaborationHistoryTarget, RemoteCursor, SanitizedPresence, CollabLoadOrigin, BroadcastConfig, ElementAnimationState, AuthoredSlideRange, RunProgramNotice, ZoomNavigationTarget, PresentationSnapshot, AutosaveRecoveryPrompt, CompatibilityWarningToast, SlideSizeEmu, LoadLimitTranslate, ReadOnlyRecommendation, ReadOnlyBannerPasswordError, ViewerOptions, ViewerOptionsStoreInit, ViewerPreferences, ToolbarTabId, ViewerOptionsGroupId, ViewerOptionPrimitive, ViewerOptionsConstraints, CompareResult, Guide, DeckViewPreferences, CollaborationShellState, ViewerMode, AutosaveDisabledReason, MobileSheetKey, FieldSubstitutionContext, SlidesPaneLayoutGalleryRequest } from 'ooxml-ui/pptx';
|
|
3
|
-
export { AutosaveRecord, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, BackstageCustomization, CANVAS_CONTEXT_MENU_COMMAND_IDS, CanvasSize, CollaborationConfig, CollaborationRole, CollaborationShellState, CollaborationState, CollaborationTransport, ConnectionStatus, ContextMenuCustomization, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, KeyboardCustomization, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_CONTROL_IDS, RIBBON_GROUP_IDS, RIBBON_TAB_IDS, RemoteCursor, ResolvedCustomization, RibbonContextualTabId, RibbonControlId, RibbonCustomization, RibbonGroupId, SanitizedPresence, SavedPresentationFormat, SessionDeck, ShortcutChord, SlidesPaneLayoutGalleryRequest, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerPanelId, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, describeCollaborationShellState, forgetSessionDeck, getAutosaveSnapshot, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, listAutosaveSnapshots, loadPresentationDeck, loadSessionDeck, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, restoreSessionDeck, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from 'ooxml-ui/pptx';
|
|
2
|
+
import { PrintSettings, CanvasSize, RasterizeElementResult, RasterizeElementTilesResult, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, GoogleFontsOption, ListConversionScope, PptxLoadLimits, ToolbarActionId, RibbonAddInTab, ViewerCustomization, DocumentStorage, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, CollaborationInput, CollaborationConfig, CollaborationState, PowerPointViewerAPI, ViewerCustomizationApi, PptxAutosaveStatusKind, DeckSaveIntent, InlineTextDraft, AnimationGroup, AlignEdge, DistributeAxis, MergeShapeOperation, PasteSpecialFormat, CropSession, CropElementUpdate, TemplateElementMap, HistoryTheme, ElementBoxPatch, EditorHistoryController, InkStrokeView, InkPoint, MasterViewCrudAction, MasterViewCrudActionId, FreeformToolKind, EditPointsElementPatch, SlideTemplateId, SlideTemplateBuildOptions, SlidePasteRequest, RibbonTransitionDraft, CellCoord, CellRect, PendingInlineTextEdit, InlineListController, ElementClipboardPayload, TableStyleSaveOptions, FontEmbeddingDescriptor, InlineTextEditSnapshot, SnapGuideInput, CollaborationLivePatcher, InlineTextDraftSink, ResolvedKeyboardCustomization, MarqueeRect, ShapeAdjustmentHandleDescriptor, SnapLine, ResizeHandleId, ConnectorEndpointKind, CollaborationInlineEditor, FindResult, CollaborationTransport, YDocLike, YjsFactories, CollabProviderHandle, CollaborationHistoryTarget, RemoteCursor, SanitizedPresence, CollabLoadOrigin, BroadcastConfig, ElementAnimationState, AuthoredSlideRange, RunProgramNotice, ZoomNavigationTarget, PresentationSnapshot, AutosaveRecoveryPrompt, CompatibilityWarningToast, SlideSizeEmu, LoadLimitTranslate, ReadOnlyRecommendation, ReadOnlyBannerPasswordError, ViewerOptions, ViewerOptionsStoreInit, ViewerPreferences, ToolbarTabId, ViewerOptionsGroupId, ViewerOptionPrimitive, ViewerOptionsConstraints, CompareResult, Guide, DeckViewPreferences, CollaborationShellState, ViewerMode, AutosaveDisabledReason, MobileSheetKey, FieldSubstitutionContext, SlidesPaneLayoutGalleryRequest } from 'ooxml-ui/pptx';
|
|
3
|
+
export { AutosaveRecord, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, BackstageCustomization, CANVAS_CONTEXT_MENU_COMMAND_IDS, CanvasSize, CollaborationConfig, CollaborationRole, CollaborationShellState, CollaborationState, CollaborationTransport, ConnectionStatus, ContextMenuCustomization, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, KeyboardCustomization, ListConversionScope, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_CONTROL_IDS, RIBBON_GROUP_IDS, RIBBON_TAB_IDS, RemoteCursor, ResolvedCustomization, RibbonContextualTabId, RibbonControlId, RibbonCustomization, RibbonGroupId, SanitizedPresence, SavedPresentationFormat, SessionDeck, ShortcutChord, SlidesPaneLayoutGalleryRequest, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerPanelId, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, describeCollaborationShellState, forgetSessionDeck, getAutosaveSnapshot, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, listAutosaveSnapshots, loadPresentationDeck, loadSessionDeck, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, restoreSessionDeck, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from 'ooxml-ui/pptx';
|
|
4
4
|
import { Component } from 'svelte';
|
|
5
5
|
import { PptxAiConfig, PptxAiBridge } from 'ooxml-ui/pptx/ai';
|
|
6
6
|
export { PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy } from 'ooxml-ui/pptx/ai';
|
|
@@ -343,6 +343,16 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
343
343
|
* invalid `baseUrl` disables the fallback (with a console warning).
|
|
344
344
|
*/
|
|
345
345
|
googleFonts?: GoogleFontsOption;
|
|
346
|
+
/**
|
|
347
|
+
* How far Bullets / Numbering reach when the selection is a bare caret.
|
|
348
|
+
* `'paragraph'` (the default, PowerPoint behaviour): only the paragraph
|
|
349
|
+
* holding the caret changes. `'list'` (opt-in, Word / Google Docs
|
|
350
|
+
* behaviour): switching a list paragraph between bullets and numbering
|
|
351
|
+
* converts the whole adjacent list around the caret. Turning a list off,
|
|
352
|
+
* listing a plain paragraph and range selections behave the same in both.
|
|
353
|
+
* A change applies from the next Bullets / Numbering press.
|
|
354
|
+
*/
|
|
355
|
+
listConversionScope?: ListConversionScope;
|
|
346
356
|
/**
|
|
347
357
|
* Host switch for content a deck links from another server (http(s)
|
|
348
358
|
* relationship targets): pictures, picture fills and bullets, video, audio
|
|
@@ -1620,6 +1630,11 @@ interface EditorStateDeps {
|
|
|
1620
1630
|
} | undefined;
|
|
1621
1631
|
/** Host `authorName` prop: the comment/reply author that wins over Options > General. */
|
|
1622
1632
|
getAuthorName?: () => string | undefined;
|
|
1633
|
+
/**
|
|
1634
|
+
* Host `listConversionScope` prop: how far a bare caret's Bullets /
|
|
1635
|
+
* Numbering reach. Optional; unset keeps PowerPoint's single paragraph.
|
|
1636
|
+
*/
|
|
1637
|
+
getListConversionScope?: () => ListConversionScope | undefined;
|
|
1623
1638
|
/**
|
|
1624
1639
|
* The `tableStyles`/`tableStylesDefaultId`/`tableStylesToDelete` save
|
|
1625
1640
|
* options (see `pptx-viewer-shared`'s `tableStyleSaveOptions`). Table style
|
|
@@ -1850,6 +1865,8 @@ declare class EditorState {
|
|
|
1850
1865
|
getSlideSize(): PptxSlideSize | undefined;
|
|
1851
1866
|
/** The host `authorName` prop, or undefined (see {@link EditorStateDeps.getAuthorName}). */
|
|
1852
1867
|
get hostAuthorName(): string | undefined;
|
|
1868
|
+
/** The host `listConversionScope` prop, or undefined (see {@link EditorStateDeps.getListConversionScope}). */
|
|
1869
|
+
get listConversionScope(): ListConversionScope | undefined;
|
|
1853
1870
|
/** The slide canvas in px (see {@link EditorStateDeps.getCanvasSize}). */
|
|
1854
1871
|
getCanvasSize(): {
|
|
1855
1872
|
width: number;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, g as o, h as a, l as r, m as S, p as i, s as t, t as _, w as T } from "./export-
|
|
1
|
+
import { _ as s, g as o, h as a, l as r, m as S, p as i, s as t, t as _, w as T } from "./export-BPoswxgr.js";
|
|
2
2
|
import { i as n } from "./translator-2U8GG-ce.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
import { BACKSTAGE_CARD_IDS as O, BACKSTAGE_PAGE_IDS as D, CANVAS_CONTEXT_MENU_COMMAND_IDS as N, EDITOR_SHORTCUT_ACTION_IDS as A, ELEMENT_CONTEXT_MENU_COMMAND_IDS as m, OPTIONS_PAGE_IDS as P, OPTIONS_SECTION_IDS as d, OPTIONS_SETTING_IDS as C, PPTX_OPEN_ACCEPT as p, PRESENTATION_OPEN_EXTENSIONS as R, RIBBON_CONTROL_IDS as v, RIBBON_GROUP_IDS as B, RIBBON_TAB_IDS as g, TOOLBAR_BUTTON_IDS as h, VIEWER_DIALOG_IDS as c, VIEWER_EXPORT_FORMAT_IDS as u, VIEWER_FEATURE_IDS as L, VIEWER_PANEL_IDS as M, createImageElementFromFile as V, defaultCssVars as f, defaultRadius as k, defaultThemeColors as G, deleteAutosaveSnapshot as b, describeCollaborationShellState as x, forgetSessionDeck as F, getAutosaveSnapshot as U, getSessionTabId as X, isLegacyBinaryPresentation as W, isSupportedPresentationFile as w, listAutosaveSnapshots as y, loadPresentationDeck as K, loadSessionDeck as H, parsePresentationSessionId as j, presentationBaseName as q, rememberSessionDeck as z, restoreSessionDeck as J, savedPresentationFileName as Q, themeToCssVars as Y, vermilionDarkColors as Z, vermilionDarkTheme as $, vermilionLightColors as ee, vermilionLightTheme as se, vermilionRadius as oe } from "ooxml-ui/pptx";
|
package/dist/internals.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as T } from "./transition-overlay-
|
|
1
|
+
import { t as T } from "./transition-overlay-DdHKcrCY.js";
|
|
2
2
|
import { CINEMATIC_TRANSITION_KEYFRAMES as e, DEFAULT_MORPH_DURATION_MS as _, DEFAULT_TRANSITION_DURATION_MS as n, EASE as o, INSTANT as A, P14_TRANSITION_KEYFRAMES as E, P14_TRANSITION_KEYFRAMES_2 as I, P14_TRANSITION_KEYFRAMES_ALL as t, RANDOM_ELIGIBLE_TYPES as N, SLIDE_TRANSITION_KEYFRAMES as r, SLIDE_TRANSITION_KEYFRAMES_CSS as R, TRANSITION_SPEED_DURATION_MS as s, WHEEL_SPOKE_COUNTS as O, getCinematicTransitionAnimations as a, getP14TransitionAnimations as M, getSlideTransitionAnimations as D, resolveDirection as l, resolveDirection8 as L, resolveOrientation as P, resolveSlideTransition as m, resolveTransitionDurationMs as F, resolveWheelSpokeCount as v } from "ooxml-ui/pptx";
|
|
3
3
|
export {
|
|
4
4
|
e as CINEMATIC_TRANSITION_KEYFRAMES,
|