pptx-vanilla-viewer 3.17.0 → 3.18.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 +35 -0
- package/dist/{ai-panel-5M6YZAMZ.cjs → ai-panel-OSEOGP7T.cjs} +1 -1
- package/dist/ai-panel-SXIKPQ5Y.js +1 -0
- package/dist/{chunk-255BQTPS.js → chunk-4XVBHRN5.js} +1129 -582
- package/dist/{chunk-465U4ONU.js → chunk-7OEVL4PF.js} +2 -2
- package/dist/{chunk-ANLE2GSJ.cjs → chunk-D7BK5MWN.cjs} +1129 -582
- package/dist/{chunk-E5YBMWZK.cjs → chunk-EMSE4OQH.cjs} +3 -3
- package/dist/{chunk-GJUPSLKS.cjs → chunk-JPUXKLW2.cjs} +9 -9
- package/dist/{chunk-HLZVTGZZ.js → chunk-YOBGI76U.js} +7 -7
- package/dist/i18n/de.cjs +1 -0
- package/dist/i18n/de.mjs +1 -0
- package/dist/i18n/es.cjs +1 -0
- package/dist/i18n/es.mjs +1 -0
- package/dist/i18n/fr.cjs +1 -0
- package/dist/i18n/fr.mjs +1 -0
- package/dist/i18n/zh-CN.cjs +1 -0
- package/dist/i18n/zh-CN.mjs +1 -0
- package/dist/index.cjs +88 -565
- package/dist/index.d.ts +22 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +88 -565
- package/dist/internals.cjs +1 -1
- package/dist/internals.d.ts +1 -1
- package/dist/internals.js +1 -1
- package/dist/styles.css +24 -501
- package/dist/{transition-overlay-DjUk9Dpn.d.ts → transition-overlay-BBrtzGDc.d.ts} +388 -2
- package/dist/{transition-overlay-DjUk9Dpn.d.ts.map → transition-overlay-BBrtzGDc.d.ts.map} +1 -1
- package/package.json +2 -2
- package/dist/ai-panel-STLQ7PRC.js +0 -1
|
@@ -15071,6 +15071,119 @@ type PresentationBlackout = PresentationSnapshot['blackout'];
|
|
|
15071
15071
|
/** The four paste formats PowerPoint's Paste Options / Paste Special offer. */
|
|
15072
15072
|
type PasteSpecialFormat = 'keep-source-formatting' | 'use-destination-theme' | 'picture' | 'keep-text-only';
|
|
15073
15073
|
//#endregion
|
|
15074
|
+
//#region src/render/chrome-controls-state.d.ts
|
|
15075
|
+
type ChromeTranslate = (key: string, params?: Record<string, string | number>) => string;
|
|
15076
|
+
type ReadOnlyBannerPasswordError = 'wrong-password' | 'unsupported-algorithm';
|
|
15077
|
+
interface ReadOnlyBannerViewState {
|
|
15078
|
+
/** `ReadOnlyRecommendation.kind`; mirrored onto the host's `data-kind`. */
|
|
15079
|
+
kind: string | null;
|
|
15080
|
+
/** `ReadOnlyRecommendation.messageKey`, translated by `translate`. */
|
|
15081
|
+
messageKey: string;
|
|
15082
|
+
/** Swap the Edit anyway / Dismiss pair for the inline password form. */
|
|
15083
|
+
passwordPromptOpen?: boolean;
|
|
15084
|
+
passwordError?: ReadOnlyBannerPasswordError | null;
|
|
15085
|
+
/** Disables the form while a submitted password is being checked. */
|
|
15086
|
+
checkingPassword?: boolean;
|
|
15087
|
+
translate?: ChromeTranslate;
|
|
15088
|
+
}
|
|
15089
|
+
interface PasteOptionsViewState {
|
|
15090
|
+
/** Right edge of the pasted element in viewport pixels. */
|
|
15091
|
+
left: number;
|
|
15092
|
+
/** Bottom edge of the pasted element in viewport pixels. */
|
|
15093
|
+
top: number;
|
|
15094
|
+
translate?: ChromeTranslate;
|
|
15095
|
+
}
|
|
15096
|
+
interface CompatToastViewItem {
|
|
15097
|
+
readonly id: string;
|
|
15098
|
+
readonly code: string;
|
|
15099
|
+
readonly severity: 'info' | 'warning';
|
|
15100
|
+
readonly messageKey: string;
|
|
15101
|
+
readonly params?: Readonly<Record<string, string>>;
|
|
15102
|
+
}
|
|
15103
|
+
interface CompatToastsViewState {
|
|
15104
|
+
/** Dismiss-filtered toasts. The element shows the first {@link COMPAT_TOAST_VISIBLE_LIMIT}. */
|
|
15105
|
+
toasts: readonly CompatToastViewItem[];
|
|
15106
|
+
/** Extra toasts a host already trimmed off the list it passes. */
|
|
15107
|
+
overflowCount?: number;
|
|
15108
|
+
/** Width of the open right-docked panel (see `compatToastStackStyle`). */
|
|
15109
|
+
rightInset?: number;
|
|
15110
|
+
/** Live height of the docked notes strip (see `compatToastStackStyle`). */
|
|
15111
|
+
bottomInset?: number;
|
|
15112
|
+
translate?: ChromeTranslate;
|
|
15113
|
+
}
|
|
15114
|
+
type DialogFooterVariant = 'secondary' | 'primary' | 'warning';
|
|
15115
|
+
type DialogFooterIcon = 'trash' | 'pen' | 'restore' | 'print' | 'check';
|
|
15116
|
+
interface DialogFooterAction {
|
|
15117
|
+
/** Stable id echoed back in the `dialog-footer-request` intent. */
|
|
15118
|
+
id: string;
|
|
15119
|
+
/** Already-translated visible label and accessible name. */
|
|
15120
|
+
label: string;
|
|
15121
|
+
variant?: DialogFooterVariant;
|
|
15122
|
+
icon?: DialogFooterIcon;
|
|
15123
|
+
disabled?: boolean;
|
|
15124
|
+
/** Optional `data-testid` stamped on the button. */
|
|
15125
|
+
testId?: string;
|
|
15126
|
+
}
|
|
15127
|
+
interface DialogFooterViewState {
|
|
15128
|
+
actions: readonly DialogFooterAction[];
|
|
15129
|
+
}
|
|
15130
|
+
type MobileBarId = 'slides' | 'insert' | 'inspector' | 'comments' | 'notes';
|
|
15131
|
+
interface MobileBarViewState {
|
|
15132
|
+
/** Every button disables at 0 (see `buildBarActions`). */
|
|
15133
|
+
slideCount: number;
|
|
15134
|
+
/** The button whose sheet is open; reflected as `aria-pressed` and a top pill. */
|
|
15135
|
+
activeSheet?: MobileBarId | null;
|
|
15136
|
+
/** Comment count on the badge of Comments (`99+` above 99). */
|
|
15137
|
+
commentCount?: number;
|
|
15138
|
+
/** Buttons dropped entirely, such as Notes when `hiddenActions` hides it. */
|
|
15139
|
+
hidden?: readonly MobileBarId[];
|
|
15140
|
+
/** Buttons disabled beyond the no-slides rule, such as edit-only ones in view mode. */
|
|
15141
|
+
disabled?: readonly MobileBarId[];
|
|
15142
|
+
translate?: ChromeTranslate;
|
|
15143
|
+
}
|
|
15144
|
+
type MobileToolbarId = 'menu' | 'undo' | 'redo' | 'ai' | 'save' | 'present' | 'share';
|
|
15145
|
+
interface MobileToolbarViewState {
|
|
15146
|
+
/** Menu, Undo, Redo, AI and Share only show while editing. */
|
|
15147
|
+
editable: boolean;
|
|
15148
|
+
canUndo: boolean;
|
|
15149
|
+
canRedo: boolean;
|
|
15150
|
+
/** Host opted into the AI assistant; the element draws its toggle. */
|
|
15151
|
+
aiVisible?: boolean;
|
|
15152
|
+
aiActive?: boolean;
|
|
15153
|
+
/** Reflected as `aria-expanded` on Menu when given. */
|
|
15154
|
+
menuOpen?: boolean;
|
|
15155
|
+
/** Buttons dropped entirely (`hiddenActions`, or Share when the host has none). */
|
|
15156
|
+
hidden?: readonly MobileToolbarId[];
|
|
15157
|
+
/** Buttons disabled, such as Present while there is nothing to present. */
|
|
15158
|
+
disabled?: readonly MobileToolbarId[];
|
|
15159
|
+
translate?: ChromeTranslate;
|
|
15160
|
+
}
|
|
15161
|
+
interface PresentToolbarViewState {
|
|
15162
|
+
/** Zero-based slide on screen. */
|
|
15163
|
+
current: number;
|
|
15164
|
+
total: number;
|
|
15165
|
+
/** The armed annotation tool; `none` leaves every tool unpressed. */
|
|
15166
|
+
tool: PresentationPointerTool;
|
|
15167
|
+
penColor: string;
|
|
15168
|
+
highlighterColor: string;
|
|
15169
|
+
hasAnnotations: boolean;
|
|
15170
|
+
/** With the pen, marks the Blackboard toggle active (`isBlackboardActive`). */
|
|
15171
|
+
blackout: PresentationBlackout;
|
|
15172
|
+
/** Show the presenter-view toggle (default false). */
|
|
15173
|
+
presenterViewVisible?: boolean;
|
|
15174
|
+
presenterViewActive?: boolean;
|
|
15175
|
+
/** Epoch ms the show started. The element ticks the readout; null shows 00:00. */
|
|
15176
|
+
startTime: number | null;
|
|
15177
|
+
translate?: ChromeTranslate;
|
|
15178
|
+
}
|
|
15179
|
+
interface PresenterConsoleViewState {
|
|
15180
|
+
/** Ids of toggles that read as on (and the resume / close-window variants). */
|
|
15181
|
+
active: readonly string[];
|
|
15182
|
+
/** Ids of controls that are disabled. */
|
|
15183
|
+
disabled: readonly string[];
|
|
15184
|
+
translate?: ChromeTranslate;
|
|
15185
|
+
}
|
|
15186
|
+
//#endregion
|
|
15074
15187
|
//#region src/render/alignment-guides.d.ts
|
|
15075
15188
|
/** A single alignment guide, positioned in authored slide pixels. */
|
|
15076
15189
|
interface Guide {
|
|
@@ -15216,6 +15329,24 @@ interface ZoomNavigationTarget {
|
|
|
15216
15329
|
returnToParent: boolean;
|
|
15217
15330
|
transitionDurationMs?: number;
|
|
15218
15331
|
}
|
|
15332
|
+
//#endregion
|
|
15333
|
+
//#region src/render/command-search.d.ts
|
|
15334
|
+
/**
|
|
15335
|
+
* Command-search data for the PowerPoint-style "Tell me what you want to do"
|
|
15336
|
+
* search bar. Provides searchable command entries grouped by category, each
|
|
15337
|
+
* mapping a label translation key to a command identifier that bindings can
|
|
15338
|
+
* dispatch.
|
|
15339
|
+
*/
|
|
15340
|
+
interface CommandSearchEntry {
|
|
15341
|
+
/** Translation key for the display label. */
|
|
15342
|
+
labelKey: string;
|
|
15343
|
+
/** Command identifier dispatched to the host binding. */
|
|
15344
|
+
command: string;
|
|
15345
|
+
/** Optional icon hint (binding resolves to framework icon component). */
|
|
15346
|
+
icon?: string;
|
|
15347
|
+
/** Category grouping key; hosts with their own short list may omit it. */
|
|
15348
|
+
category?: 'format' | 'insert' | 'view' | 'slideShow' | 'design' | 'arrange';
|
|
15349
|
+
}
|
|
15219
15350
|
interface AutosaveRecord {
|
|
15220
15351
|
key: string;
|
|
15221
15352
|
data: Uint8Array;
|
|
@@ -15625,11 +15756,15 @@ interface RibbonHomeControlState {
|
|
|
15625
15756
|
disabled?: boolean;
|
|
15626
15757
|
/** Omit for ordinary commands; a boolean reflects `aria-pressed`. */
|
|
15627
15758
|
pressed?: boolean;
|
|
15759
|
+
/** Popover triggers only: reflects `aria-expanded` while the native popover is open. */
|
|
15760
|
+
expanded?: boolean;
|
|
15628
15761
|
hidden?: boolean;
|
|
15629
15762
|
}
|
|
15763
|
+
/** State key of a control: its id, or `id#part` when several buttons share one id. */
|
|
15764
|
+
type RibbonHomeKey = RibbonControlId | `${RibbonControlId}#${string}`;
|
|
15630
15765
|
interface RibbonHomeViewState {
|
|
15631
15766
|
/** Missing entries are enabled, unpressed and visible. */
|
|
15632
|
-
controls: Readonly<Partial<Record<
|
|
15767
|
+
controls: Readonly<Partial<Record<RibbonHomeKey, RibbonHomeControlState>>>;
|
|
15633
15768
|
translate?: (key: string) => string;
|
|
15634
15769
|
}
|
|
15635
15770
|
/** Controlled View tab state. Native viewers own the values and every side effect. */
|
|
@@ -15662,6 +15797,113 @@ interface RibbonTransitionsViewState {
|
|
|
15662
15797
|
translate?: RibbonTransitionsTranslate;
|
|
15663
15798
|
}
|
|
15664
15799
|
//#endregion
|
|
15800
|
+
//#region src/render/status-bar-state.d.ts
|
|
15801
|
+
/**
|
|
15802
|
+
* Shared model for the bottom status bar (`pptx-ui-status-bar`).
|
|
15803
|
+
*
|
|
15804
|
+
* The slide counter, save indicator, notes toggle, view-mode buttons and zoom
|
|
15805
|
+
* cluster were hand-built five times. The view owns the markup, pressed state
|
|
15806
|
+
* and gating; hosts own every effect (notes panel, view switching, zoom).
|
|
15807
|
+
*/
|
|
15808
|
+
type StatusBarTranslate = (key: string, params?: Record<string, string | number>) => string;
|
|
15809
|
+
type StatusBarSaveKind = 'idle' | 'saving' | 'error';
|
|
15810
|
+
type StatusBarViewMode = 'normal' | 'sorter' | 'slideShow';
|
|
15811
|
+
interface StatusBarViewState {
|
|
15812
|
+
slideCount: number;
|
|
15813
|
+
/** Zero-based active slide; clamped into range for display. */
|
|
15814
|
+
activeSlideIndex: number;
|
|
15815
|
+
/** Already-translated save indicator, see {@link resolveStatusBarSave}. */
|
|
15816
|
+
saveText: string;
|
|
15817
|
+
saveKind?: StatusBarSaveKind;
|
|
15818
|
+
/** Omit to hide the whole zoom cluster. */
|
|
15819
|
+
zoomPercent?: number;
|
|
15820
|
+
showNotes?: boolean;
|
|
15821
|
+
notesExpanded?: boolean;
|
|
15822
|
+
/** Default true. False drops the Normal / Sorter / Slide Show cluster. */
|
|
15823
|
+
showViewModes?: boolean;
|
|
15824
|
+
/** Default true. */
|
|
15825
|
+
showSorter?: boolean;
|
|
15826
|
+
/** Default true. */
|
|
15827
|
+
showSlideShow?: boolean;
|
|
15828
|
+
/** The pressed view button; omit when none is active. */
|
|
15829
|
+
viewMode?: StatusBarViewMode;
|
|
15830
|
+
translate?: StatusBarTranslate;
|
|
15831
|
+
}
|
|
15832
|
+
//#endregion
|
|
15833
|
+
//#region src/render/notes-toolbar-state.d.ts
|
|
15834
|
+
/**
|
|
15835
|
+
* Shared model for the speaker-notes formatting toolbar (`pptx-ui-notes-toolbar`).
|
|
15836
|
+
*
|
|
15837
|
+
* The toolbar owns the buttons, their order, icons, labels, enabled state and
|
|
15838
|
+
* the hyperlink popover. Hosts own the contenteditable editor, selection-based
|
|
15839
|
+
* edits, history, printing and persistence, and route typed intents to them.
|
|
15840
|
+
*/
|
|
15841
|
+
type NotesToolbarTranslate = (key: string, params?: Record<string, string | number>) => string;
|
|
15842
|
+
interface NotesToolbarViewState {
|
|
15843
|
+
/** True while the rich (contenteditable) surface is active. Drives the mode button label. */
|
|
15844
|
+
rich: boolean;
|
|
15845
|
+
/** Enables the formatting buttons. False in the plain editor, where they cannot act. */
|
|
15846
|
+
canFormat: boolean;
|
|
15847
|
+
/** Shows the Print button. */
|
|
15848
|
+
showPrint: boolean;
|
|
15849
|
+
/** Disables every button, for example while no slide is selected. */
|
|
15850
|
+
disabled?: boolean;
|
|
15851
|
+
/** Host translator; keys are the canonical `pptx.notes.*` set. Omitted: keys are shown. */
|
|
15852
|
+
translate?: NotesToolbarTranslate;
|
|
15853
|
+
}
|
|
15854
|
+
//#endregion
|
|
15855
|
+
//#region src/render/title-bar-state.d.ts
|
|
15856
|
+
type TitleBarTranslate = (key: string, params?: Record<string, string | number>) => string;
|
|
15857
|
+
type TitleBarPlacement = 'titleBar' | 'belowRibbon';
|
|
15858
|
+
type TitleBarTone = 'idle' | 'saving' | 'error';
|
|
15859
|
+
interface TitleBarAutosaveView {
|
|
15860
|
+
enabled: boolean;
|
|
15861
|
+
/** Default true. False renders the switch inert (host policy `autosave: false`). */
|
|
15862
|
+
toggleAvailable?: boolean;
|
|
15863
|
+
/** Translation key from `resolveTitleBarStatusKey`. */
|
|
15864
|
+
statusKey: string;
|
|
15865
|
+
/** Colour of the status text; only meaningful while `enabled`. */
|
|
15866
|
+
tone?: TitleBarTone;
|
|
15867
|
+
}
|
|
15868
|
+
interface TitleBarHistoryState {
|
|
15869
|
+
canUndo: boolean;
|
|
15870
|
+
canRedo: boolean;
|
|
15871
|
+
/** Description of the pending action, e.g. "Delete shape". */
|
|
15872
|
+
undoLabel?: string | null;
|
|
15873
|
+
redoLabel?: string | null;
|
|
15874
|
+
/** Default true. Maps to `hiddenActions: ['undo']`. */
|
|
15875
|
+
showUndo?: boolean;
|
|
15876
|
+
/** Default true. Maps to `hiddenActions: ['redo']`. */
|
|
15877
|
+
showRedo?: boolean;
|
|
15878
|
+
}
|
|
15879
|
+
interface TitleBarQuickAccessView {
|
|
15880
|
+
visible: boolean;
|
|
15881
|
+
position: QuickAccessPosition;
|
|
15882
|
+
showCommandLabels: boolean;
|
|
15883
|
+
/** Ordered catalog ids (File > Options > Quick Access Toolbar). */
|
|
15884
|
+
commandIds: readonly string[];
|
|
15885
|
+
}
|
|
15886
|
+
interface TitleBarViewState {
|
|
15887
|
+
/** Edit mode with an editable deck. Gates AutoSave, the strip, status and search. */
|
|
15888
|
+
editing: boolean;
|
|
15889
|
+
/** Whether the command search shows; hosts pass `editing`. */
|
|
15890
|
+
searchVisible: boolean;
|
|
15891
|
+
/** Display name; the translated default shows when empty. */
|
|
15892
|
+
fileName?: string;
|
|
15893
|
+
autosave: TitleBarAutosaveView;
|
|
15894
|
+
history: TitleBarHistoryState;
|
|
15895
|
+
/** Default true. */
|
|
15896
|
+
showSave?: boolean;
|
|
15897
|
+
quickAccess: TitleBarQuickAccessView;
|
|
15898
|
+
/** Search catalogue; defaults to the shared `COMMAND_SEARCH_ENTRIES`. */
|
|
15899
|
+
commands?: readonly CommandSearchEntry[];
|
|
15900
|
+
/** Default true. False drops the "Find in Slides" fallback row. */
|
|
15901
|
+
contentSearch?: boolean;
|
|
15902
|
+
/** ScreenTip rule (Options > General); returning undefined suppresses the title. */
|
|
15903
|
+
screenTip?: (label: string) => string | undefined;
|
|
15904
|
+
translate?: TitleBarTranslate;
|
|
15905
|
+
}
|
|
15906
|
+
//#endregion
|
|
15665
15907
|
//#region src/web-components/theme-editor.d.ts
|
|
15666
15908
|
interface PptxUiThemeEditorElement extends HTMLElement {
|
|
15667
15909
|
theme: PptxTheme | undefined;
|
|
@@ -15673,6 +15915,74 @@ declare global {
|
|
|
15673
15915
|
'pptx-ui-theme-editor': PptxUiThemeEditorElement;
|
|
15674
15916
|
}
|
|
15675
15917
|
}
|
|
15918
|
+
interface PptxUiCompatToastsElement extends HTMLElement {
|
|
15919
|
+
state: CompatToastsViewState;
|
|
15920
|
+
}
|
|
15921
|
+
declare global {
|
|
15922
|
+
interface HTMLElementTagNameMap {
|
|
15923
|
+
'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
|
|
15924
|
+
}
|
|
15925
|
+
}
|
|
15926
|
+
interface PptxUiDialogFooterElement extends HTMLElement {
|
|
15927
|
+
state: DialogFooterViewState;
|
|
15928
|
+
/** Move keyboard focus to an action, e.g. the primary one when a dialog opens. */
|
|
15929
|
+
focusAction(id: string): void;
|
|
15930
|
+
}
|
|
15931
|
+
declare global {
|
|
15932
|
+
interface HTMLElementTagNameMap {
|
|
15933
|
+
'pptx-ui-dialog-footer': PptxUiDialogFooterElement;
|
|
15934
|
+
}
|
|
15935
|
+
}
|
|
15936
|
+
interface PptxUiMobileBarElement extends HTMLElement {
|
|
15937
|
+
state: MobileBarViewState;
|
|
15938
|
+
}
|
|
15939
|
+
declare global {
|
|
15940
|
+
interface HTMLElementTagNameMap {
|
|
15941
|
+
'pptx-ui-mobile-bar': PptxUiMobileBarElement;
|
|
15942
|
+
}
|
|
15943
|
+
}
|
|
15944
|
+
interface PptxUiMobileToolbarElement extends HTMLElement {
|
|
15945
|
+
state: MobileToolbarViewState;
|
|
15946
|
+
}
|
|
15947
|
+
declare global {
|
|
15948
|
+
interface HTMLElementTagNameMap {
|
|
15949
|
+
'pptx-ui-mobile-toolbar': PptxUiMobileToolbarElement;
|
|
15950
|
+
}
|
|
15951
|
+
}
|
|
15952
|
+
interface PptxUiPasteOptionsElement extends HTMLElement {
|
|
15953
|
+
state: PasteOptionsViewState;
|
|
15954
|
+
}
|
|
15955
|
+
declare global {
|
|
15956
|
+
interface HTMLElementTagNameMap {
|
|
15957
|
+
'pptx-ui-paste-options': PptxUiPasteOptionsElement;
|
|
15958
|
+
}
|
|
15959
|
+
}
|
|
15960
|
+
interface PptxUiPresentToolbarElement extends HTMLElement {
|
|
15961
|
+
state: PresentToolbarViewState;
|
|
15962
|
+
/** Close an open colour palette, e.g. when the host auto-hides the bar. */
|
|
15963
|
+
closePalettes(): void;
|
|
15964
|
+
}
|
|
15965
|
+
declare global {
|
|
15966
|
+
interface HTMLElementTagNameMap {
|
|
15967
|
+
'pptx-ui-present-toolbar': PptxUiPresentToolbarElement;
|
|
15968
|
+
}
|
|
15969
|
+
}
|
|
15970
|
+
interface PptxUiPresenterConsoleElement extends HTMLElement {
|
|
15971
|
+
state: PresenterConsoleViewState;
|
|
15972
|
+
}
|
|
15973
|
+
declare global {
|
|
15974
|
+
interface HTMLElementTagNameMap {
|
|
15975
|
+
'pptx-ui-presenter-console': PptxUiPresenterConsoleElement;
|
|
15976
|
+
}
|
|
15977
|
+
}
|
|
15978
|
+
interface PptxUiReadOnlyBannerElement extends HTMLElement {
|
|
15979
|
+
state: ReadOnlyBannerViewState;
|
|
15980
|
+
}
|
|
15981
|
+
declare global {
|
|
15982
|
+
interface HTMLElementTagNameMap {
|
|
15983
|
+
'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
|
|
15984
|
+
}
|
|
15985
|
+
}
|
|
15676
15986
|
interface PptxUiRibbonAnimationsElement extends HTMLElement {
|
|
15677
15987
|
state: RibbonAnimationsViewState;
|
|
15678
15988
|
}
|
|
@@ -15691,6 +16001,8 @@ declare global {
|
|
|
15691
16001
|
}
|
|
15692
16002
|
interface PptxUiRibbonHomeElement extends HTMLElement {
|
|
15693
16003
|
state: RibbonHomeViewState;
|
|
16004
|
+
/** Wrapper (or button) of a control id, where a host mounts or anchors its native popover. */
|
|
16005
|
+
anchor(id: string): HTMLElement | undefined;
|
|
15694
16006
|
}
|
|
15695
16007
|
declare global {
|
|
15696
16008
|
interface HTMLElementTagNameMap {
|
|
@@ -15698,6 +16010,12 @@ declare global {
|
|
|
15698
16010
|
'pptx-ui-ribbon-home-font': PptxUiRibbonHomeElement;
|
|
15699
16011
|
'pptx-ui-ribbon-home-paragraph': PptxUiRibbonHomeElement;
|
|
15700
16012
|
'pptx-ui-ribbon-home-editing': PptxUiRibbonHomeElement;
|
|
16013
|
+
'pptx-ui-ribbon-home-slides': PptxUiRibbonHomeElement;
|
|
16014
|
+
'pptx-ui-ribbon-home-drawing': PptxUiRibbonHomeElement;
|
|
16015
|
+
'pptx-ui-ribbon-home-arrange-align': PptxUiRibbonHomeElement;
|
|
16016
|
+
'pptx-ui-ribbon-home-arrange-flip': PptxUiRibbonHomeElement;
|
|
16017
|
+
'pptx-ui-ribbon-home-arrange-order': PptxUiRibbonHomeElement;
|
|
16018
|
+
'pptx-ui-ribbon-home-arrange-edit': PptxUiRibbonHomeElement;
|
|
15701
16019
|
}
|
|
15702
16020
|
}
|
|
15703
16021
|
interface PptxUiRibbonTransitionsElement extends HTMLElement {
|
|
@@ -15765,6 +16083,74 @@ declare global {
|
|
|
15765
16083
|
'pptx-ui-subtitle-settings': PptxUiSubtitleSettingsElement;
|
|
15766
16084
|
}
|
|
15767
16085
|
}
|
|
16086
|
+
interface PptxUiStatusBarElement extends HTMLElement {
|
|
16087
|
+
state: StatusBarViewState;
|
|
16088
|
+
}
|
|
16089
|
+
declare global {
|
|
16090
|
+
interface HTMLElementTagNameMap {
|
|
16091
|
+
'pptx-ui-status-bar': PptxUiStatusBarElement;
|
|
16092
|
+
}
|
|
16093
|
+
}
|
|
16094
|
+
interface PptxUiNotesToolbarElement extends HTMLElement {
|
|
16095
|
+
state: NotesToolbarViewState;
|
|
16096
|
+
}
|
|
16097
|
+
declare global {
|
|
16098
|
+
interface HTMLElementTagNameMap {
|
|
16099
|
+
'pptx-ui-notes-toolbar': PptxUiNotesToolbarElement;
|
|
16100
|
+
}
|
|
16101
|
+
}
|
|
16102
|
+
interface PptxUiTitleBarElement extends HTMLElement {
|
|
16103
|
+
state: TitleBarViewState | undefined;
|
|
16104
|
+
placement: TitleBarPlacement;
|
|
16105
|
+
}
|
|
16106
|
+
declare global {
|
|
16107
|
+
interface HTMLElementTagNameMap {
|
|
16108
|
+
'pptx-ui-title-bar': PptxUiTitleBarElement;
|
|
16109
|
+
}
|
|
16110
|
+
}
|
|
16111
|
+
/** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
|
|
16112
|
+
interface ContextMenuViewItem {
|
|
16113
|
+
/** Stable command id, echoed by `menu-request`. */
|
|
16114
|
+
id: string;
|
|
16115
|
+
/** Already-translated visible label. */
|
|
16116
|
+
label: string;
|
|
16117
|
+
/** Draw a rule before this row. */
|
|
16118
|
+
separatorBefore?: boolean;
|
|
16119
|
+
/** Group heading shown before this row; the row and the ones after it join that group. */
|
|
16120
|
+
heading?: string;
|
|
16121
|
+
/** Destructive command (Delete): tinted. */
|
|
16122
|
+
danger?: boolean;
|
|
16123
|
+
/** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
|
|
16124
|
+
disabled?: boolean;
|
|
16125
|
+
/** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
|
|
16126
|
+
checked?: boolean;
|
|
16127
|
+
}
|
|
16128
|
+
/** Everything the controlled element needs to draw one menu. */
|
|
16129
|
+
interface ContextMenuViewState {
|
|
16130
|
+
/** Pointer position, in viewport pixels. The element clamps it into the window. */
|
|
16131
|
+
x: number;
|
|
16132
|
+
y: number;
|
|
16133
|
+
/** Accessible name of the menu. */
|
|
16134
|
+
label: string;
|
|
16135
|
+
items: readonly ContextMenuViewItem[];
|
|
16136
|
+
/**
|
|
16137
|
+
* Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
|
|
16138
|
+
* `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
|
|
16139
|
+
*/
|
|
16140
|
+
markers?: readonly string[];
|
|
16141
|
+
/** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
|
|
16142
|
+
zIndex?: number;
|
|
16143
|
+
/** Move focus onto the first command on open. Default true. */
|
|
16144
|
+
autoFocus?: boolean;
|
|
16145
|
+
}
|
|
16146
|
+
interface PptxUiContextMenuElement extends HTMLElement {
|
|
16147
|
+
state: ContextMenuViewState;
|
|
16148
|
+
}
|
|
16149
|
+
declare global {
|
|
16150
|
+
interface HTMLElementTagNameMap {
|
|
16151
|
+
'pptx-ui-context-menu': PptxUiContextMenuElement;
|
|
16152
|
+
}
|
|
16153
|
+
}
|
|
15768
16154
|
//#endregion
|
|
15769
16155
|
//#region src/web-components/select-value.d.ts
|
|
15770
16156
|
/** Public DOM shape used by all bindings; the element is not a native select. */
|
|
@@ -15826,4 +16212,4 @@ interface TransitionOverlayParams {
|
|
|
15826
16212
|
declare function playTransitionOverlay(params: TransitionOverlayParams): () => void;
|
|
15827
16213
|
//#endregion
|
|
15828
16214
|
export { InlineTextEditSnapshot as $, ViewerTheme as $n, PptxSmartArtNodeStyle as $r, SlideTransitionAnimations as $t, CssStyleMap as A, describeCollaborationShellState as An, PptxCommentAuthor as Ar, ResolvedCustomization as At, ElementUpdateOptions as B, overlayInlineTextSnapshot as Bn, PptxHandoutMaster as Br, RulerUnit as Bt, CollaborationTransport as C, ViewportFitOptions as Cn, PptxAnimationSequence as Cr, PresentationPointerTool as Ct, ContextMenuCustomization as D, buildInlineTextCommitPatch as Dn, PptxAppProperties as Dr, RIBBON_TAB_IDS as Dt, ContextMenuCommandId as E, ZoomNavigationTarget as En, PptxAnimationTrigger as Er, RANDOM_ELIGIBLE_TYPES as Et, ELEMENT_CONTEXT_MENU_COMMAND_IDS as F, getSlideTransitionAnimations as Fn, PptxCustomShow as Fr, RibbonCustomization as Ft, FreeformToolKind as G, resolveDirection8 as Gn, PptxModifyVerifier as Gr, SavedPresentationFormat as Gt, ExternalCollaborationSession as H, presentationBaseName as Hn, PptxImageEffects as Hr, SLIDE_TRANSITION_KEYFRAMES as Ht, EditorKeyActionName as I, isLegacyBinaryPresentation as In, PptxData as Ir, RibbonGalleryApplyResult as It, HostCanvasMenuContext as J, resolveTransitionDurationMs as Jn, PptxSection as Jr, ShareDefaults as Jt, GradientState as K, resolveOrientation as Kn, PptxNotesMaster as Kr, SessionDeck as Kt, ElementAnimationState as L, isSupportedPresentationFile as Ln, PptxElement as Lr, RibbonGalleryContext as Lt, DEFAULT_TRANSITION_DURATION_MS as M, getCinematicTransitionAnimations as Mn, PptxCompatibilityWarning as Mr, ResolvedDirection8 as Mt, EASE as N, getP14TransitionAnimations as Nn, PptxCoreProperties as Nr, RibbonContextualTabId as Nt, CropElementUpdate as O, canInteractWithElement as On, PptxChartData as Or, ReadOnlyRecommendation as Ot, EDITOR_SHORTCUT_ACTION_IDS as P, getSessionTabId as Pn, PptxCustomProperty as Pr, RibbonControlId as Pt, InlineListReadResult as Q, ThemeCatalogEntry as Qn, PptxSmartArtData as Qr, SlideTemplateId as Qt, ElementClipboardPayload as R, loadPresentationDeck as Rn, PptxElementAnimation as Rr, RibbonGroupId as Rt, CollaborationShellState as S, ViewerQuickAccessOptions as Sn, PptxAnimationRepeatMode as Sr, PresentationBlackout as St, ConnectionStatus as T, WHEEL_SPOKE_COUNTS as Tn, PptxAnimationTimingCurve as Tr, PrintSettings as Tt, ExternalCollaborationSnapshot as U, rememberSessionDeck as Un, PptxLayoutPreview as Ur, SLIDE_TRANSITION_KEYFRAMES_CSS as Ut, ExternalCollaborationAwareness as V, parsePresentationSessionId as Vn, PptxHeaderFooter as Vr, RunProgramNotice as Vt, FieldSubstitutionContext as W, resolveDirection as Wn, PptxModernCommentAuthor as Wr, SanitizedPresence as Wt, HostMenuCommand as X, restoreSessionDeck as Xn, PptxSlideMaster as Xr, SlideSizeEmu as Xt, HostElementMenuContext as Y, resolveWheelSpokeCount as Yn, PptxSlide as Yr, ShortcutChord as Yt, INSTANT as Z, savedPresentationFileName as Zn, PptxSlideTransition as Zr, SlideSizeRescaleMode as Zt, ChartPartRef as _, TextStyle as _i, ViewerFontSource as _n, OlePptxElement as _r, P14_TRANSITION_KEYFRAMES_ALL as _t, AnimationGroup as a, PptxThemeColorRef as ai, ToolbarButtonId as an, vermilionDarkTheme as ar, MobileSheetKey as at, CollaborationLivePatcher as b, ViewerOptionsStore as bn, PptxAnimationDirection as br, PasteSpecialFormat as bt, BACKSTAGE_PAGE_IDS as c, PptxThemeOption as ci, VIEWER_EXPORT_FORMAT_IDS as cn, MergeShapeOperation as cr, OPTIONS_SECTION_IDS as ct, BackstagePage as d, ShapeStyle as di, ViewerCustomization as dn, PptxSaveFormat as dr, OptionsPageId as dt, PptxTableCellStyle as ei, StrokeToInkElementOpts as en, ViewerThemeColors as er, InlineTextSelection as et, CANVAS_CONTEXT_MENU_COMMAND_IDS as f, SmartArtColorScheme as fi, ViewerCustomizationApi as fn, SvgExportOptions as fr, OptionsSectionId as ft, ChangeCaseMode as g, TextSegment as gi, ViewerFeatureId as gn, OleObjectType as gr, P14_TRANSITION_KEYFRAMES_2 as gt, CanvasSize as h, TablePptxElement as hi, ViewerExportFormatId as hn, MediaPptxElement as hr, P14_TRANSITION_KEYFRAMES as ht, AlignEdge as i, PptxTheme as ii, ToolbarActionId as in, themeToCssVars as ir, MasterViewCrudActionId as it, DEFAULT_MORPH_DURATION_MS as j, forgetSessionDeck as jn, PptxCommentMention as jr, ResolvedDirection as jt, CropSession as k, createImageElementFromFile as kn, PptxComment as kr, RemoteCursor as kt, BackstageCardId as l, PptxTransitionType as li, VIEWER_FEATURE_IDS as ln, PptxHandler as lr, OPTIONS_SETTING_IDS as lt, CanvasContextMenuCommandId as m, SmartArtLayoutType as mi, ViewerDialogId as mn, MasterViewTab as mr, OptionsSettingValues as mt, playTransitionOverlay as n, PptxTagCollection as ni, TRANSITION_SPEED_DURATION_MS as nn, defaultRadius as nr, KeyboardCustomization as nt, AutosaveRecord as o, PptxThemeColorScheme as oi, ToolbarTabId as on, vermilionLightTheme as or, ModifyPasswordCheckResult as ot, CINEMATIC_TRANSITION_KEYFRAMES as p, SmartArtLayout as pi, ViewerCustomizationController as pn, ElementAction as pr, OptionsSettingId as pt, Guide as q, resolveSlideTransition as qn, PptxPresentationProperties as qr, ShapePresetType as qt, AccountAuthConfig as r, PptxTextStyleLevels as ri, TextAdvancedChanges as rn, defaultThemeColors as rr, MasterViewCrudAction as rt, BACKSTAGE_CARD_IDS as s, PptxThemeFontScheme as si, VIEWER_DIALOG_IDS as sn, AccessibilityIssue as sr, OPTIONS_PAGE_IDS as st, TransitionOverlayParams as t, PptxTableData as ti, TOOLBAR_BUTTON_IDS as tn, defaultCssVars as tr, InsertChartKind as tt, BackstageCustomization as u, PptxViewProperties as ui, VIEWER_PANEL_IDS as un, PptxHandlerSaveOptions as ur, OptionsCustomization as ut, CollabLoadOrigin as v, XmlObject as vi, ViewerMode as vn, ParsedTableStyleMap as vr, PPTX_OPEN_ACCEPT as vt, CompatibilityWarningToast as w, ViewportFitPadding as wn, PptxAnimationTimelineAnchor as wr, PresentationSnapshot as wt, CollaborationRole as x, ViewerPanelId as xn, PptxAnimationPreset as xr, PowerPointViewerAPI as xt, CollaborationConfig as y, ViewerOptionPrimitive as yn, PptxAfterAnimationAction as yr, PRESENTATION_OPEN_EXTENSIONS as yt, ElementUpdate as z, loadSessionDeck as zn, PptxEmbeddedFont as zr, RibbonTransitionDraft as zt };
|
|
15829
|
-
//# sourceMappingURL=transition-overlay-
|
|
16215
|
+
//# sourceMappingURL=transition-overlay-BBrtzGDc.d.ts.map
|