pptx-svelte-viewer 4.22.0 → 4.23.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 +12 -0
- package/dist/{AiChatPanel-D5wu4Xi5.js → AiChatPanel-8OzIA8L2.js} +2 -2
- package/dist/{export-U9ltadrH.js → export-_L1hrPhl.js} +26777 -25894
- package/dist/index.d.ts +52 -65
- package/dist/index.js +49 -49
- package/dist/internals.d.ts +52 -65
- package/dist/internals.js +19 -19
- package/dist/{transition-overlay-WaJAk3v1.js → transition-overlay-BvuF3JBf.js} +42833 -44598
- package/dist/viewer/index.d.ts +52 -65
- package/dist/viewer/index.js +10 -10
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -2370,22 +2370,65 @@ declare global {
|
|
|
2370
2370
|
'pptx-ui-theme-editor': PptxUiThemeEditorElement;
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
|
+
/** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
|
|
2374
|
+
interface ContextMenuViewItem {
|
|
2375
|
+
/** Stable command id, echoed by `menu-request`. */
|
|
2376
|
+
id: string;
|
|
2377
|
+
/** Already-translated visible label. */
|
|
2378
|
+
label: string;
|
|
2379
|
+
/** Draw a rule before this row. */
|
|
2380
|
+
separatorBefore?: boolean;
|
|
2381
|
+
/** Group heading shown before this row; the row and the ones after it join that group. */
|
|
2382
|
+
heading?: string;
|
|
2383
|
+
/** Destructive command (Delete): tinted. */
|
|
2384
|
+
danger?: boolean;
|
|
2385
|
+
/** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
|
|
2386
|
+
disabled?: boolean;
|
|
2387
|
+
/** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
|
|
2388
|
+
checked?: boolean;
|
|
2389
|
+
}
|
|
2390
|
+
/** Everything the controlled element needs to draw one menu. */
|
|
2391
|
+
interface ContextMenuViewState {
|
|
2392
|
+
/** Pointer position, in viewport pixels. The element clamps it into the window. */
|
|
2393
|
+
x: number;
|
|
2394
|
+
y: number;
|
|
2395
|
+
/** Accessible name of the menu. */
|
|
2396
|
+
label: string;
|
|
2397
|
+
items: readonly ContextMenuViewItem[];
|
|
2398
|
+
/**
|
|
2399
|
+
* Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
|
|
2400
|
+
* `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
|
|
2401
|
+
*/
|
|
2402
|
+
markers?: readonly string[];
|
|
2403
|
+
/** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
|
|
2404
|
+
zIndex?: number;
|
|
2405
|
+
/** Move focus onto the first command on open. Default true. */
|
|
2406
|
+
autoFocus?: boolean;
|
|
2407
|
+
}
|
|
2373
2408
|
interface PptxUiCompatToastsElement extends HTMLElement {
|
|
2374
2409
|
state: CompatToastsViewState;
|
|
2375
2410
|
}
|
|
2376
|
-
declare global {
|
|
2377
|
-
interface HTMLElementTagNameMap {
|
|
2378
|
-
'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
2411
|
interface PptxUiDialogFooterElement extends HTMLElement {
|
|
2382
2412
|
state: DialogFooterViewState;
|
|
2383
2413
|
/** Move keyboard focus to an action, e.g. the primary one when a dialog opens. */
|
|
2384
2414
|
focusAction(id: string): void;
|
|
2385
2415
|
}
|
|
2416
|
+
interface PptxUiPasteOptionsElement extends HTMLElement {
|
|
2417
|
+
state: PasteOptionsViewState;
|
|
2418
|
+
}
|
|
2419
|
+
interface PptxUiReadOnlyBannerElement extends HTMLElement {
|
|
2420
|
+
state: ReadOnlyBannerViewState;
|
|
2421
|
+
}
|
|
2422
|
+
interface PptxUiContextMenuElement extends HTMLElement {
|
|
2423
|
+
state: ContextMenuViewState;
|
|
2424
|
+
}
|
|
2386
2425
|
declare global {
|
|
2387
2426
|
interface HTMLElementTagNameMap {
|
|
2427
|
+
'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
|
|
2428
|
+
'pptx-ui-context-menu': PptxUiContextMenuElement;
|
|
2388
2429
|
'pptx-ui-dialog-footer': PptxUiDialogFooterElement;
|
|
2430
|
+
'pptx-ui-paste-options': PptxUiPasteOptionsElement;
|
|
2431
|
+
'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
|
|
2389
2432
|
}
|
|
2390
2433
|
}
|
|
2391
2434
|
interface PptxUiMobileBarElement extends HTMLElement {
|
|
@@ -2404,14 +2447,6 @@ declare global {
|
|
|
2404
2447
|
'pptx-ui-mobile-toolbar': PptxUiMobileToolbarElement;
|
|
2405
2448
|
}
|
|
2406
2449
|
}
|
|
2407
|
-
interface PptxUiPasteOptionsElement extends HTMLElement {
|
|
2408
|
-
state: PasteOptionsViewState;
|
|
2409
|
-
}
|
|
2410
|
-
declare global {
|
|
2411
|
-
interface HTMLElementTagNameMap {
|
|
2412
|
-
'pptx-ui-paste-options': PptxUiPasteOptionsElement;
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
2450
|
interface PptxUiPresentToolbarElement extends HTMLElement {
|
|
2416
2451
|
state: PresentToolbarViewState;
|
|
2417
2452
|
/** Close an open colour palette, e.g. when the host auto-hides the bar. */
|
|
@@ -2430,14 +2465,6 @@ declare global {
|
|
|
2430
2465
|
'pptx-ui-presenter-console': PptxUiPresenterConsoleElement;
|
|
2431
2466
|
}
|
|
2432
2467
|
}
|
|
2433
|
-
interface PptxUiReadOnlyBannerElement extends HTMLElement {
|
|
2434
|
-
state: ReadOnlyBannerViewState;
|
|
2435
|
-
}
|
|
2436
|
-
declare global {
|
|
2437
|
-
interface HTMLElementTagNameMap {
|
|
2438
|
-
'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
2468
|
interface PptxUiRibbonAnimationsElement extends HTMLElement {
|
|
2442
2469
|
state: RibbonAnimationsViewState;
|
|
2443
2470
|
}
|
|
@@ -2575,52 +2602,12 @@ declare global {
|
|
|
2575
2602
|
'pptx-ui-title-bar': PptxUiTitleBarElement;
|
|
2576
2603
|
}
|
|
2577
2604
|
}
|
|
2578
|
-
/** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
|
|
2579
|
-
interface ContextMenuViewItem {
|
|
2580
|
-
/** Stable command id, echoed by `menu-request`. */
|
|
2581
|
-
id: string;
|
|
2582
|
-
/** Already-translated visible label. */
|
|
2583
|
-
label: string;
|
|
2584
|
-
/** Draw a rule before this row. */
|
|
2585
|
-
separatorBefore?: boolean;
|
|
2586
|
-
/** Group heading shown before this row; the row and the ones after it join that group. */
|
|
2587
|
-
heading?: string;
|
|
2588
|
-
/** Destructive command (Delete): tinted. */
|
|
2589
|
-
danger?: boolean;
|
|
2590
|
-
/** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
|
|
2591
|
-
disabled?: boolean;
|
|
2592
|
-
/** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
|
|
2593
|
-
checked?: boolean;
|
|
2594
|
-
}
|
|
2595
|
-
/** Everything the controlled element needs to draw one menu. */
|
|
2596
|
-
interface ContextMenuViewState {
|
|
2597
|
-
/** Pointer position, in viewport pixels. The element clamps it into the window. */
|
|
2598
|
-
x: number;
|
|
2599
|
-
y: number;
|
|
2600
|
-
/** Accessible name of the menu. */
|
|
2601
|
-
label: string;
|
|
2602
|
-
items: readonly ContextMenuViewItem[];
|
|
2603
|
-
/**
|
|
2604
|
-
* Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
|
|
2605
|
-
* `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
|
|
2606
|
-
*/
|
|
2607
|
-
markers?: readonly string[];
|
|
2608
|
-
/** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
|
|
2609
|
-
zIndex?: number;
|
|
2610
|
-
/** Move focus onto the first command on open. Default true. */
|
|
2611
|
-
autoFocus?: boolean;
|
|
2612
|
-
}
|
|
2613
|
-
interface PptxUiContextMenuElement extends HTMLElement {
|
|
2614
|
-
state: ContextMenuViewState;
|
|
2615
|
-
}
|
|
2616
|
-
declare global {
|
|
2617
|
-
interface HTMLElementTagNameMap {
|
|
2618
|
-
'pptx-ui-context-menu': PptxUiContextMenuElement;
|
|
2619
|
-
}
|
|
2620
|
-
}
|
|
2621
2605
|
//#endregion
|
|
2622
2606
|
//#region src/web-components/select-value.d.ts
|
|
2623
|
-
/**
|
|
2607
|
+
/**
|
|
2608
|
+
* Public DOM shape of `pptx-ui-select`, used by every binding. The element is ooxml-ui's
|
|
2609
|
+
* `office-ui-select` under the pptx tag (see `office-aliases.ts`); it is not a native select.
|
|
2610
|
+
*/
|
|
2624
2611
|
interface PptxUiSelectElement extends HTMLElement {
|
|
2625
2612
|
value: string;
|
|
2626
2613
|
disabled: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { $t as a,
|
|
2
|
-
import { A as
|
|
3
|
-
import { i as
|
|
1
|
+
import { $t as a, $u as e, B_ as o, Cf as r, El as t, F as i, Fn as S, H_ as _, Hf as T, In as n, Ln as l, N as I, Np as E, Sr as N, Tt as O, U_ as D, V_ as A, _n as d, br as m, cd as C, dc as P, dn as p, en as R, gh as v, ic as B, id as c, ih as g, ld as h, ml as u, oc as f, p_ as L, ql as V, qu as F, rc as M, sc as b, sr as k, tn as G, vr as U, ws as x, yr as X, yt as y, z as W, z_ as w } from "./transition-overlay-BvuF3JBf.js";
|
|
2
|
+
import { A as q, a as z, c as K, l as $, o as j, s as J, t as Q } from "./export-_L1hrPhl.js";
|
|
3
|
+
import { i as Z } from "./translator-BW2KgOs0.js";
|
|
4
4
|
import "./i18n.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
I as BACKSTAGE_CARD_IDS,
|
|
7
|
+
i as BACKSTAGE_PAGE_IDS,
|
|
8
|
+
W as CANVAS_CONTEXT_MENU_COMMAND_IDS,
|
|
9
|
+
y as EDITOR_SHORTCUT_ACTION_IDS,
|
|
10
|
+
O as ELEMENT_CONTEXT_MENU_COMMAND_IDS,
|
|
11
11
|
a as OPTIONS_PAGE_IDS,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
R as OPTIONS_SECTION_IDS,
|
|
13
|
+
G as OPTIONS_SETTING_IDS,
|
|
14
14
|
p as PPTX_OPEN_ACCEPT,
|
|
15
15
|
d as PRESENTATION_OPEN_EXTENSIONS,
|
|
16
|
-
|
|
16
|
+
Q as PowerPointViewer,
|
|
17
17
|
S as RIBBON_CONTROL_IDS,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
n as RIBBON_GROUP_IDS,
|
|
19
|
+
l as RIBBON_TAB_IDS,
|
|
20
|
+
k as TOOLBAR_BUTTON_IDS,
|
|
21
|
+
U as VIEWER_DIALOG_IDS,
|
|
22
|
+
X as VIEWER_EXPORT_FORMAT_IDS,
|
|
23
|
+
m as VIEWER_FEATURE_IDS,
|
|
24
|
+
N as VIEWER_PANEL_IDS,
|
|
25
|
+
x as createImageElementFromFile,
|
|
26
|
+
M as defaultCssVars,
|
|
27
|
+
B as defaultRadius,
|
|
28
|
+
f as defaultThemeColors,
|
|
29
|
+
b as deleteAutosaveSnapshot,
|
|
30
|
+
P as describeCollaborationShellState,
|
|
31
31
|
z as exportAllSlidesToSvg,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
32
|
+
j as exportAllSlidesToSvgBlobs,
|
|
33
|
+
J as exportSlideAsSvg,
|
|
34
|
+
K as exportSlideToSvg,
|
|
35
|
+
$ as exportSlideToSvgBlob,
|
|
36
|
+
u as forgetSessionDeck,
|
|
37
|
+
t as getAutosaveSnapshot,
|
|
38
|
+
V as getSessionTabId,
|
|
39
|
+
F as isLegacyBinaryPresentation,
|
|
40
|
+
e as isSupportedPresentationFile,
|
|
41
|
+
c as listAutosaveSnapshots,
|
|
42
|
+
C as loadPresentationDeck,
|
|
43
|
+
h as loadSessionDeck,
|
|
44
|
+
r as parsePresentationSessionId,
|
|
45
|
+
T as presentationBaseName,
|
|
46
|
+
Z as registerTranslations,
|
|
47
|
+
E as rememberSessionDeck,
|
|
48
|
+
q as renderToCanvas,
|
|
49
|
+
g as restoreSessionDeck,
|
|
50
|
+
v as savedPresentationFileName,
|
|
51
|
+
L as themeToCssVars,
|
|
52
|
+
w as vermilionDarkColors,
|
|
53
|
+
o as vermilionDarkTheme,
|
|
54
|
+
A as vermilionLightColors,
|
|
55
|
+
_ as vermilionLightTheme,
|
|
56
|
+
D as vermilionRadius
|
|
57
57
|
};
|
package/dist/internals.d.ts
CHANGED
|
@@ -1287,22 +1287,65 @@ declare global {
|
|
|
1287
1287
|
'pptx-ui-theme-editor': PptxUiThemeEditorElement;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
+
/** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
|
|
1291
|
+
interface ContextMenuViewItem {
|
|
1292
|
+
/** Stable command id, echoed by `menu-request`. */
|
|
1293
|
+
id: string;
|
|
1294
|
+
/** Already-translated visible label. */
|
|
1295
|
+
label: string;
|
|
1296
|
+
/** Draw a rule before this row. */
|
|
1297
|
+
separatorBefore?: boolean;
|
|
1298
|
+
/** Group heading shown before this row; the row and the ones after it join that group. */
|
|
1299
|
+
heading?: string;
|
|
1300
|
+
/** Destructive command (Delete): tinted. */
|
|
1301
|
+
danger?: boolean;
|
|
1302
|
+
/** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
|
|
1303
|
+
disabled?: boolean;
|
|
1304
|
+
/** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
|
|
1305
|
+
checked?: boolean;
|
|
1306
|
+
}
|
|
1307
|
+
/** Everything the controlled element needs to draw one menu. */
|
|
1308
|
+
interface ContextMenuViewState {
|
|
1309
|
+
/** Pointer position, in viewport pixels. The element clamps it into the window. */
|
|
1310
|
+
x: number;
|
|
1311
|
+
y: number;
|
|
1312
|
+
/** Accessible name of the menu. */
|
|
1313
|
+
label: string;
|
|
1314
|
+
items: readonly ContextMenuViewItem[];
|
|
1315
|
+
/**
|
|
1316
|
+
* Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
|
|
1317
|
+
* `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
|
|
1318
|
+
*/
|
|
1319
|
+
markers?: readonly string[];
|
|
1320
|
+
/** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
|
|
1321
|
+
zIndex?: number;
|
|
1322
|
+
/** Move focus onto the first command on open. Default true. */
|
|
1323
|
+
autoFocus?: boolean;
|
|
1324
|
+
}
|
|
1290
1325
|
interface PptxUiCompatToastsElement extends HTMLElement {
|
|
1291
1326
|
state: CompatToastsViewState;
|
|
1292
1327
|
}
|
|
1293
|
-
declare global {
|
|
1294
|
-
interface HTMLElementTagNameMap {
|
|
1295
|
-
'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
1328
|
interface PptxUiDialogFooterElement extends HTMLElement {
|
|
1299
1329
|
state: DialogFooterViewState;
|
|
1300
1330
|
/** Move keyboard focus to an action, e.g. the primary one when a dialog opens. */
|
|
1301
1331
|
focusAction(id: string): void;
|
|
1302
1332
|
}
|
|
1333
|
+
interface PptxUiPasteOptionsElement extends HTMLElement {
|
|
1334
|
+
state: PasteOptionsViewState;
|
|
1335
|
+
}
|
|
1336
|
+
interface PptxUiReadOnlyBannerElement extends HTMLElement {
|
|
1337
|
+
state: ReadOnlyBannerViewState;
|
|
1338
|
+
}
|
|
1339
|
+
interface PptxUiContextMenuElement extends HTMLElement {
|
|
1340
|
+
state: ContextMenuViewState;
|
|
1341
|
+
}
|
|
1303
1342
|
declare global {
|
|
1304
1343
|
interface HTMLElementTagNameMap {
|
|
1344
|
+
'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
|
|
1345
|
+
'pptx-ui-context-menu': PptxUiContextMenuElement;
|
|
1305
1346
|
'pptx-ui-dialog-footer': PptxUiDialogFooterElement;
|
|
1347
|
+
'pptx-ui-paste-options': PptxUiPasteOptionsElement;
|
|
1348
|
+
'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
|
|
1306
1349
|
}
|
|
1307
1350
|
}
|
|
1308
1351
|
interface PptxUiMobileBarElement extends HTMLElement {
|
|
@@ -1321,14 +1364,6 @@ declare global {
|
|
|
1321
1364
|
'pptx-ui-mobile-toolbar': PptxUiMobileToolbarElement;
|
|
1322
1365
|
}
|
|
1323
1366
|
}
|
|
1324
|
-
interface PptxUiPasteOptionsElement extends HTMLElement {
|
|
1325
|
-
state: PasteOptionsViewState;
|
|
1326
|
-
}
|
|
1327
|
-
declare global {
|
|
1328
|
-
interface HTMLElementTagNameMap {
|
|
1329
|
-
'pptx-ui-paste-options': PptxUiPasteOptionsElement;
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
1367
|
interface PptxUiPresentToolbarElement extends HTMLElement {
|
|
1333
1368
|
state: PresentToolbarViewState;
|
|
1334
1369
|
/** Close an open colour palette, e.g. when the host auto-hides the bar. */
|
|
@@ -1347,14 +1382,6 @@ declare global {
|
|
|
1347
1382
|
'pptx-ui-presenter-console': PptxUiPresenterConsoleElement;
|
|
1348
1383
|
}
|
|
1349
1384
|
}
|
|
1350
|
-
interface PptxUiReadOnlyBannerElement extends HTMLElement {
|
|
1351
|
-
state: ReadOnlyBannerViewState;
|
|
1352
|
-
}
|
|
1353
|
-
declare global {
|
|
1354
|
-
interface HTMLElementTagNameMap {
|
|
1355
|
-
'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
1385
|
interface PptxUiRibbonAnimationsElement extends HTMLElement {
|
|
1359
1386
|
state: RibbonAnimationsViewState;
|
|
1360
1387
|
}
|
|
@@ -1492,52 +1519,12 @@ declare global {
|
|
|
1492
1519
|
'pptx-ui-title-bar': PptxUiTitleBarElement;
|
|
1493
1520
|
}
|
|
1494
1521
|
}
|
|
1495
|
-
/** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
|
|
1496
|
-
interface ContextMenuViewItem {
|
|
1497
|
-
/** Stable command id, echoed by `menu-request`. */
|
|
1498
|
-
id: string;
|
|
1499
|
-
/** Already-translated visible label. */
|
|
1500
|
-
label: string;
|
|
1501
|
-
/** Draw a rule before this row. */
|
|
1502
|
-
separatorBefore?: boolean;
|
|
1503
|
-
/** Group heading shown before this row; the row and the ones after it join that group. */
|
|
1504
|
-
heading?: string;
|
|
1505
|
-
/** Destructive command (Delete): tinted. */
|
|
1506
|
-
danger?: boolean;
|
|
1507
|
-
/** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
|
|
1508
|
-
disabled?: boolean;
|
|
1509
|
-
/** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
|
|
1510
|
-
checked?: boolean;
|
|
1511
|
-
}
|
|
1512
|
-
/** Everything the controlled element needs to draw one menu. */
|
|
1513
|
-
interface ContextMenuViewState {
|
|
1514
|
-
/** Pointer position, in viewport pixels. The element clamps it into the window. */
|
|
1515
|
-
x: number;
|
|
1516
|
-
y: number;
|
|
1517
|
-
/** Accessible name of the menu. */
|
|
1518
|
-
label: string;
|
|
1519
|
-
items: readonly ContextMenuViewItem[];
|
|
1520
|
-
/**
|
|
1521
|
-
* Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
|
|
1522
|
-
* `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
|
|
1523
|
-
*/
|
|
1524
|
-
markers?: readonly string[];
|
|
1525
|
-
/** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
|
|
1526
|
-
zIndex?: number;
|
|
1527
|
-
/** Move focus onto the first command on open. Default true. */
|
|
1528
|
-
autoFocus?: boolean;
|
|
1529
|
-
}
|
|
1530
|
-
interface PptxUiContextMenuElement extends HTMLElement {
|
|
1531
|
-
state: ContextMenuViewState;
|
|
1532
|
-
}
|
|
1533
|
-
declare global {
|
|
1534
|
-
interface HTMLElementTagNameMap {
|
|
1535
|
-
'pptx-ui-context-menu': PptxUiContextMenuElement;
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
1522
|
//#endregion
|
|
1539
1523
|
//#region src/web-components/select-value.d.ts
|
|
1540
|
-
/**
|
|
1524
|
+
/**
|
|
1525
|
+
* Public DOM shape of `pptx-ui-select`, used by every binding. The element is ooxml-ui's
|
|
1526
|
+
* `office-ui-select` under the pptx tag (see `office-aliases.ts`); it is not a native select.
|
|
1527
|
+
*/
|
|
1541
1528
|
interface PptxUiSelectElement extends HTMLElement {
|
|
1542
1529
|
value: string;
|
|
1543
1530
|
disabled: boolean;
|
package/dist/internals.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bl as a, En as n, Gt as T, Hm as i, Im as S, Kn as e, Tr as _, Xm as t, Yl as E, _m as A, cn as I, eh as o, fr as N, gt as r, kl as R, lt as O, on as l, q as M, qn as D, sn as m, st as L, t as P, vm as v } from "./transition-overlay-BvuF3JBf.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
M as CINEMATIC_TRANSITION_KEYFRAMES,
|
|
4
4
|
L as DEFAULT_MORPH_DURATION_MS,
|
|
5
5
|
O as DEFAULT_TRANSITION_DURATION_MS,
|
|
6
6
|
r as EASE,
|
|
7
|
-
|
|
7
|
+
T as INSTANT,
|
|
8
8
|
l as P14_TRANSITION_KEYFRAMES,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
m as P14_TRANSITION_KEYFRAMES_2,
|
|
10
|
+
I as P14_TRANSITION_KEYFRAMES_ALL,
|
|
11
|
+
P as PresentationTransitionOverlay,
|
|
12
|
+
n as RANDOM_ELIGIBLE_TYPES,
|
|
13
13
|
e as SLIDE_TRANSITION_KEYFRAMES,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
D as SLIDE_TRANSITION_KEYFRAMES_CSS,
|
|
15
|
+
N as TRANSITION_SPEED_DURATION_MS,
|
|
16
|
+
_ as WHEEL_SPOKE_COUNTS,
|
|
17
|
+
R as getCinematicTransitionAnimations,
|
|
18
|
+
a as getP14TransitionAnimations,
|
|
19
|
+
E as getSlideTransitionAnimations,
|
|
20
|
+
A as resolveDirection,
|
|
21
|
+
v as resolveDirection8,
|
|
22
|
+
S as resolveOrientation,
|
|
23
|
+
i as resolveSlideTransition,
|
|
24
|
+
t as resolveTransitionDurationMs,
|
|
25
|
+
o as resolveWheelSpokeCount
|
|
26
26
|
};
|