pptx-react-viewer 4.22.1 → 4.24.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.
Files changed (158) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{AiChatPanel-PJMXLCUF.js → AiChatPanel-442R7YGD.js} +27 -27
  3. package/dist/AiChatPanel-442R7YGD.js.br +0 -0
  4. package/dist/AiChatPanel-442R7YGD.js.gz +0 -0
  5. package/dist/{AiChatPanel-QODDVSQG.mjs → AiChatPanel-PNK52ZIC.mjs} +3 -3
  6. package/dist/AiChatPanel-PNK52ZIC.mjs.br +0 -0
  7. package/dist/AiChatPanel-PNK52ZIC.mjs.gz +0 -0
  8. package/dist/{GLTFLoader-KY7AYPMX.js → GLTFLoader-GO2CQTAO.js} +133 -133
  9. package/dist/GLTFLoader-GO2CQTAO.js.br +0 -0
  10. package/dist/GLTFLoader-GO2CQTAO.js.gz +0 -0
  11. package/dist/{GLTFLoader-IWJFC4XI.mjs → GLTFLoader-QWUPTGI5.mjs} +4 -4
  12. package/dist/GLTFLoader-QWUPTGI5.mjs.br +0 -0
  13. package/dist/GLTFLoader-QWUPTGI5.mjs.gz +0 -0
  14. package/dist/{Model3DScene-WELWF4O6.js → Model3DScene-MNSJI6SF.js} +2 -2
  15. package/dist/{Model3DScene-WELWF4O6.js.br → Model3DScene-MNSJI6SF.js.br} +0 -0
  16. package/dist/Model3DScene-MNSJI6SF.js.gz +0 -0
  17. package/dist/{Model3DScene-7LDOP57E.mjs → Model3DScene-NS5A3NUF.mjs} +1 -1
  18. package/dist/Model3DScene-NS5A3NUF.mjs.br +0 -0
  19. package/dist/Model3DScene-NS5A3NUF.mjs.gz +0 -0
  20. package/dist/{OrbitControls-4TDJCTBA.js → OrbitControls-KHUJI7AC.js} +39 -39
  21. package/dist/OrbitControls-KHUJI7AC.js.br +0 -0
  22. package/dist/OrbitControls-KHUJI7AC.js.gz +0 -0
  23. package/dist/{OrbitControls-WCOIJFFL.mjs → OrbitControls-QYTXPPOG.mjs} +2 -2
  24. package/dist/OrbitControls-QYTXPPOG.mjs.br +0 -0
  25. package/dist/OrbitControls-QYTXPPOG.mjs.gz +0 -0
  26. package/dist/{chunk-MN2PIGHD.mjs → chunk-3WP72WZS.mjs} +6 -6
  27. package/dist/chunk-3WP72WZS.mjs.br +0 -0
  28. package/dist/chunk-3WP72WZS.mjs.gz +0 -0
  29. package/dist/{chunk-5JVKFBJH.mjs → chunk-474QZKN4.mjs} +4434 -5707
  30. package/dist/chunk-474QZKN4.mjs.br +0 -0
  31. package/dist/chunk-474QZKN4.mjs.gz +0 -0
  32. package/dist/{chunk-7TAWW5QQ.mjs → chunk-6L3VDF2A.mjs} +2 -2
  33. package/dist/chunk-6L3VDF2A.mjs.br +0 -0
  34. package/dist/chunk-6L3VDF2A.mjs.gz +0 -0
  35. package/dist/{chunk-3N6AC4HA.js → chunk-CBDUFZ77.js} +2 -2
  36. package/dist/chunk-CBDUFZ77.js.br +0 -0
  37. package/dist/chunk-CBDUFZ77.js.gz +0 -0
  38. package/dist/{chunk-JWP5ZWI2.mjs → chunk-M367GJX7.mjs} +1 -1
  39. package/dist/chunk-M367GJX7.mjs.br +0 -0
  40. package/dist/chunk-M367GJX7.mjs.gz +0 -0
  41. package/dist/{chunk-7L5UIS4Z.mjs → chunk-OEBBZSOS.mjs} +6 -6
  42. package/dist/chunk-OEBBZSOS.mjs.br +0 -0
  43. package/dist/chunk-OEBBZSOS.mjs.gz +0 -0
  44. package/dist/{chunk-MNDFRCWW.js → chunk-Q4XVT3VK.js} +1115 -1115
  45. package/dist/chunk-Q4XVT3VK.js.br +0 -0
  46. package/dist/chunk-Q4XVT3VK.js.gz +0 -0
  47. package/dist/{chunk-SVBX6RK3.js → chunk-R4STFQSE.js} +1843 -890
  48. package/dist/chunk-R4STFQSE.js.br +0 -0
  49. package/dist/chunk-R4STFQSE.js.gz +0 -0
  50. package/dist/{chunk-E7JM5X7H.mjs → chunk-RNVQLIOU.mjs} +1839 -886
  51. package/dist/chunk-RNVQLIOU.mjs.br +0 -0
  52. package/dist/chunk-RNVQLIOU.mjs.gz +0 -0
  53. package/dist/{chunk-QWFKDUMN.js → chunk-SNJT3GDK.js} +4434 -5707
  54. package/dist/chunk-SNJT3GDK.js.br +0 -0
  55. package/dist/chunk-SNJT3GDK.js.gz +0 -0
  56. package/dist/{chunk-RVOGQ2ZN.js → chunk-UPF6YVER.js} +824 -824
  57. package/dist/chunk-UPF6YVER.js.br +0 -0
  58. package/dist/chunk-UPF6YVER.js.gz +0 -0
  59. package/dist/{chunk-43JBNBGE.js → chunk-WCPDUNS4.js} +187 -187
  60. package/dist/chunk-WCPDUNS4.js.br +0 -0
  61. package/dist/chunk-WCPDUNS4.js.gz +0 -0
  62. package/dist/index.d.ts +53 -66
  63. package/dist/index.js +61 -61
  64. package/dist/index.js.br +0 -0
  65. package/dist/index.js.gz +0 -0
  66. package/dist/index.mjs +5 -5
  67. package/dist/index.mjs.br +0 -0
  68. package/dist/index.mjs.gz +0 -0
  69. package/dist/internals.d.ts +54 -67
  70. package/dist/internals.js +104 -104
  71. package/dist/internals.js.br +0 -0
  72. package/dist/internals.js.gz +0 -0
  73. package/dist/internals.mjs +3 -3
  74. package/dist/internals.mjs.br +0 -0
  75. package/dist/internals.mjs.gz +0 -0
  76. package/dist/{three.module-LGUV2LI6.mjs → three.module-AUSRQGHJ.mjs} +1 -1
  77. package/dist/three.module-AUSRQGHJ.mjs.br +0 -0
  78. package/dist/three.module-AUSRQGHJ.mjs.gz +0 -0
  79. package/dist/{three.module-YZ4M24WM.js → three.module-BNAKYYCP.js} +445 -445
  80. package/dist/three.module-BNAKYYCP.js.br +0 -0
  81. package/dist/three.module-BNAKYYCP.js.gz +0 -0
  82. package/dist/viewer/index.d.ts +54 -67
  83. package/dist/viewer/index.js +26 -26
  84. package/dist/viewer/index.js.br +0 -0
  85. package/dist/viewer/index.js.gz +0 -0
  86. package/dist/viewer/index.mjs +5 -5
  87. package/dist/viewer/index.mjs.br +0 -0
  88. package/dist/viewer/index.mjs.gz +0 -0
  89. package/dist/{y-webrtc-XJDH2YTR.mjs → y-webrtc-ETJMZ5LO.mjs} +4 -4
  90. package/dist/y-webrtc-ETJMZ5LO.mjs.br +0 -0
  91. package/dist/y-webrtc-ETJMZ5LO.mjs.gz +0 -0
  92. package/dist/{y-webrtc-6H3ROPRC.js → y-webrtc-TRVZ75W3.js} +127 -127
  93. package/dist/y-webrtc-TRVZ75W3.js.br +0 -0
  94. package/dist/y-webrtc-TRVZ75W3.js.gz +0 -0
  95. package/dist/{y-websocket-6ISNPON7.js → y-websocket-EHPOLGCR.js} +79 -79
  96. package/dist/y-websocket-EHPOLGCR.js.br +0 -0
  97. package/dist/y-websocket-EHPOLGCR.js.gz +0 -0
  98. package/dist/{y-websocket-SJ3NCLBZ.mjs → y-websocket-FLUSL2B2.mjs} +2 -2
  99. package/dist/y-websocket-FLUSL2B2.mjs.br +0 -0
  100. package/dist/y-websocket-FLUSL2B2.mjs.gz +0 -0
  101. package/package.json +9 -8
  102. package/dist/AiChatPanel-PJMXLCUF.js.br +0 -0
  103. package/dist/AiChatPanel-PJMXLCUF.js.gz +0 -0
  104. package/dist/AiChatPanel-QODDVSQG.mjs.br +0 -0
  105. package/dist/AiChatPanel-QODDVSQG.mjs.gz +0 -0
  106. package/dist/GLTFLoader-IWJFC4XI.mjs.br +0 -0
  107. package/dist/GLTFLoader-IWJFC4XI.mjs.gz +0 -0
  108. package/dist/GLTFLoader-KY7AYPMX.js.br +0 -0
  109. package/dist/GLTFLoader-KY7AYPMX.js.gz +0 -0
  110. package/dist/Model3DScene-7LDOP57E.mjs.br +0 -0
  111. package/dist/Model3DScene-7LDOP57E.mjs.gz +0 -0
  112. package/dist/Model3DScene-WELWF4O6.js.gz +0 -0
  113. package/dist/OrbitControls-4TDJCTBA.js.br +0 -0
  114. package/dist/OrbitControls-4TDJCTBA.js.gz +0 -0
  115. package/dist/OrbitControls-WCOIJFFL.mjs.br +0 -0
  116. package/dist/OrbitControls-WCOIJFFL.mjs.gz +0 -0
  117. package/dist/chunk-3N6AC4HA.js.br +0 -0
  118. package/dist/chunk-3N6AC4HA.js.gz +0 -0
  119. package/dist/chunk-43JBNBGE.js.br +0 -0
  120. package/dist/chunk-43JBNBGE.js.gz +0 -0
  121. package/dist/chunk-5JVKFBJH.mjs.br +0 -0
  122. package/dist/chunk-5JVKFBJH.mjs.gz +0 -0
  123. package/dist/chunk-7L5UIS4Z.mjs.br +0 -0
  124. package/dist/chunk-7L5UIS4Z.mjs.gz +0 -0
  125. package/dist/chunk-7TAWW5QQ.mjs.br +0 -0
  126. package/dist/chunk-7TAWW5QQ.mjs.gz +0 -0
  127. package/dist/chunk-E7JM5X7H.mjs.br +0 -0
  128. package/dist/chunk-E7JM5X7H.mjs.gz +0 -0
  129. package/dist/chunk-JWP5ZWI2.mjs.br +0 -0
  130. package/dist/chunk-JWP5ZWI2.mjs.gz +0 -0
  131. package/dist/chunk-MN2PIGHD.mjs.br +0 -0
  132. package/dist/chunk-MN2PIGHD.mjs.gz +0 -0
  133. package/dist/chunk-MNDFRCWW.js.br +0 -0
  134. package/dist/chunk-MNDFRCWW.js.gz +0 -0
  135. package/dist/chunk-QWFKDUMN.js.br +0 -0
  136. package/dist/chunk-QWFKDUMN.js.gz +0 -0
  137. package/dist/chunk-RVOGQ2ZN.js.br +0 -0
  138. package/dist/chunk-RVOGQ2ZN.js.gz +0 -0
  139. package/dist/chunk-SVBX6RK3.js.br +0 -0
  140. package/dist/chunk-SVBX6RK3.js.gz +0 -0
  141. package/dist/three.module-LGUV2LI6.mjs.br +0 -0
  142. package/dist/three.module-LGUV2LI6.mjs.gz +0 -0
  143. package/dist/three.module-YZ4M24WM.js.br +0 -0
  144. package/dist/three.module-YZ4M24WM.js.gz +0 -0
  145. package/dist/y-webrtc-6H3ROPRC.js.br +0 -0
  146. package/dist/y-webrtc-6H3ROPRC.js.gz +0 -0
  147. package/dist/y-webrtc-XJDH2YTR.mjs.br +0 -0
  148. package/dist/y-webrtc-XJDH2YTR.mjs.gz +0 -0
  149. package/dist/y-websocket-6ISNPON7.js.br +0 -0
  150. package/dist/y-websocket-6ISNPON7.js.gz +0 -0
  151. package/dist/y-websocket-SJ3NCLBZ.mjs.br +0 -0
  152. package/dist/y-websocket-SJ3NCLBZ.mjs.gz +0 -0
  153. /package/dist/{chunk-MRWGWKA2.mjs → chunk-5W2GW4XX.mjs} +0 -0
  154. /package/dist/{chunk-MRWGWKA2.mjs.br → chunk-5W2GW4XX.mjs.br} +0 -0
  155. /package/dist/{chunk-MRWGWKA2.mjs.gz → chunk-5W2GW4XX.mjs.gz} +0 -0
  156. /package/dist/{chunk-YQQXFRZT.js → chunk-XONAKVNH.js} +0 -0
  157. /package/dist/{chunk-YQQXFRZT.js.br → chunk-XONAKVNH.js.br} +0 -0
  158. /package/dist/{chunk-YQQXFRZT.js.gz → chunk-XONAKVNH.js.gz} +0 -0
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -3231,22 +3231,65 @@ declare global {
3231
3231
  'pptx-ui-theme-editor': PptxUiThemeEditorElement;
3232
3232
  }
3233
3233
  }
3234
+ /** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
3235
+ interface ContextMenuViewItem {
3236
+ /** Stable command id, echoed by `menu-request`. */
3237
+ id: string;
3238
+ /** Already-translated visible label. */
3239
+ label: string;
3240
+ /** Draw a rule before this row. */
3241
+ separatorBefore?: boolean;
3242
+ /** Group heading shown before this row; the row and the ones after it join that group. */
3243
+ heading?: string;
3244
+ /** Destructive command (Delete): tinted. */
3245
+ danger?: boolean;
3246
+ /** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
3247
+ disabled?: boolean;
3248
+ /** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
3249
+ checked?: boolean;
3250
+ }
3251
+ /** Everything the controlled element needs to draw one menu. */
3252
+ interface ContextMenuViewState {
3253
+ /** Pointer position, in viewport pixels. The element clamps it into the window. */
3254
+ x: number;
3255
+ y: number;
3256
+ /** Accessible name of the menu. */
3257
+ label: string;
3258
+ items: readonly ContextMenuViewItem[];
3259
+ /**
3260
+ * Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
3261
+ * `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
3262
+ */
3263
+ markers?: readonly string[];
3264
+ /** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
3265
+ zIndex?: number;
3266
+ /** Move focus onto the first command on open. Default true. */
3267
+ autoFocus?: boolean;
3268
+ }
3234
3269
  interface PptxUiCompatToastsElement extends HTMLElement {
3235
3270
  state: CompatToastsViewState;
3236
3271
  }
3237
- declare global {
3238
- interface HTMLElementTagNameMap {
3239
- 'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
3240
- }
3241
- }
3242
3272
  interface PptxUiDialogFooterElement extends HTMLElement {
3243
3273
  state: DialogFooterViewState;
3244
3274
  /** Move keyboard focus to an action, e.g. the primary one when a dialog opens. */
3245
3275
  focusAction(id: string): void;
3246
3276
  }
3277
+ interface PptxUiPasteOptionsElement extends HTMLElement {
3278
+ state: PasteOptionsViewState;
3279
+ }
3280
+ interface PptxUiReadOnlyBannerElement extends HTMLElement {
3281
+ state: ReadOnlyBannerViewState;
3282
+ }
3283
+ interface PptxUiContextMenuElement extends HTMLElement {
3284
+ state: ContextMenuViewState;
3285
+ }
3247
3286
  declare global {
3248
3287
  interface HTMLElementTagNameMap {
3288
+ 'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
3289
+ 'pptx-ui-context-menu': PptxUiContextMenuElement;
3249
3290
  'pptx-ui-dialog-footer': PptxUiDialogFooterElement;
3291
+ 'pptx-ui-paste-options': PptxUiPasteOptionsElement;
3292
+ 'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
3250
3293
  }
3251
3294
  }
3252
3295
  interface PptxUiMobileBarElement extends HTMLElement {
@@ -3265,14 +3308,6 @@ declare global {
3265
3308
  'pptx-ui-mobile-toolbar': PptxUiMobileToolbarElement;
3266
3309
  }
3267
3310
  }
3268
- interface PptxUiPasteOptionsElement extends HTMLElement {
3269
- state: PasteOptionsViewState;
3270
- }
3271
- declare global {
3272
- interface HTMLElementTagNameMap {
3273
- 'pptx-ui-paste-options': PptxUiPasteOptionsElement;
3274
- }
3275
- }
3276
3311
  interface PptxUiPresentToolbarElement extends HTMLElement {
3277
3312
  state: PresentToolbarViewState;
3278
3313
  /** Close an open colour palette, e.g. when the host auto-hides the bar. */
@@ -3291,14 +3326,6 @@ declare global {
3291
3326
  'pptx-ui-presenter-console': PptxUiPresenterConsoleElement;
3292
3327
  }
3293
3328
  }
3294
- interface PptxUiReadOnlyBannerElement extends HTMLElement {
3295
- state: ReadOnlyBannerViewState;
3296
- }
3297
- declare global {
3298
- interface HTMLElementTagNameMap {
3299
- 'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
3300
- }
3301
- }
3302
3329
  interface PptxUiRibbonAnimationsElement extends HTMLElement {
3303
3330
  state: RibbonAnimationsViewState;
3304
3331
  }
@@ -3383,7 +3410,7 @@ declare global {
3383
3410
  }
3384
3411
  }
3385
3412
  //#endregion
3386
- //#region src/web-components/ribbon-gallery-view.d.ts
3413
+ //#region src/web-components/ribbon-gallery.d.ts
3387
3414
  type GalleryTranslate = (key: string, params?: Readonly<Record<string, string | number>>) => string;
3388
3415
  interface PptxUiRibbonGalleryElement extends HTMLElement {
3389
3416
  readonly trigger: HTMLButtonElement;
@@ -3436,52 +3463,12 @@ declare global {
3436
3463
  'pptx-ui-title-bar': PptxUiTitleBarElement;
3437
3464
  }
3438
3465
  }
3439
- /** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
3440
- interface ContextMenuViewItem {
3441
- /** Stable command id, echoed by `menu-request`. */
3442
- id: string;
3443
- /** Already-translated visible label. */
3444
- label: string;
3445
- /** Draw a rule before this row. */
3446
- separatorBefore?: boolean;
3447
- /** Group heading shown before this row; the row and the ones after it join that group. */
3448
- heading?: string;
3449
- /** Destructive command (Delete): tinted. */
3450
- danger?: boolean;
3451
- /** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
3452
- disabled?: boolean;
3453
- /** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
3454
- checked?: boolean;
3455
- }
3456
- /** Everything the controlled element needs to draw one menu. */
3457
- interface ContextMenuViewState {
3458
- /** Pointer position, in viewport pixels. The element clamps it into the window. */
3459
- x: number;
3460
- y: number;
3461
- /** Accessible name of the menu. */
3462
- label: string;
3463
- items: readonly ContextMenuViewItem[];
3464
- /**
3465
- * Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
3466
- * `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
3467
- */
3468
- markers?: readonly string[];
3469
- /** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
3470
- zIndex?: number;
3471
- /** Move focus onto the first command on open. Default true. */
3472
- autoFocus?: boolean;
3473
- }
3474
- interface PptxUiContextMenuElement extends HTMLElement {
3475
- state: ContextMenuViewState;
3476
- }
3477
- declare global {
3478
- interface HTMLElementTagNameMap {
3479
- 'pptx-ui-context-menu': PptxUiContextMenuElement;
3480
- }
3481
- }
3482
3466
  //#endregion
3483
3467
  //#region src/web-components/select-value.d.ts
3484
- /** Public DOM shape used by all bindings; the element is not a native select. */
3468
+ /**
3469
+ * Public DOM shape of `pptx-ui-select`, used by every binding. The element is ooxml-ui's
3470
+ * `office-ui-select` under the pptx tag (see `office-aliases.ts`); it is not a native select.
3471
+ */
3485
3472
  interface PptxUiSelectElement extends HTMLElement {
3486
3473
  value: string;
3487
3474
  disabled: boolean;
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkMNDFRCWW_js = require('./chunk-MNDFRCWW.js');
4
- require('./chunk-SVBX6RK3.js');
5
- var chunkRVOGQ2ZN_js = require('./chunk-RVOGQ2ZN.js');
6
- var chunk43JBNBGE_js = require('./chunk-43JBNBGE.js');
7
- var chunkQWFKDUMN_js = require('./chunk-QWFKDUMN.js');
3
+ var chunkQ4XVT3VK_js = require('./chunk-Q4XVT3VK.js');
4
+ require('./chunk-R4STFQSE.js');
5
+ var chunkUPF6YVER_js = require('./chunk-UPF6YVER.js');
6
+ var chunkWCPDUNS4_js = require('./chunk-WCPDUNS4.js');
7
+ var chunkSNJT3GDK_js = require('./chunk-SNJT3GDK.js');
8
8
  var chunkLKL6DQ55_js = require('./chunk-LKL6DQ55.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
@@ -12,227 +12,227 @@ require('./chunk-4VNS5WPM.js');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunkMNDFRCWW_js.PowerPointViewer; }
15
+ get: function () { return chunkQ4XVT3VK_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkMNDFRCWW_js.SlideCanvas; }
19
+ get: function () { return chunkQ4XVT3VK_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkMNDFRCWW_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkQ4XVT3VK_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkMNDFRCWW_js.SlideTemplatePreview; }
27
+ get: function () { return chunkQ4XVT3VK_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkMNDFRCWW_js.Toolbar; }
31
+ get: function () { return chunkQ4XVT3VK_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkMNDFRCWW_js.ViewerThemeProvider; }
35
+ get: function () { return chunkQ4XVT3VK_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkMNDFRCWW_js.useViewerTheme; }
39
+ get: function () { return chunkQ4XVT3VK_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkRVOGQ2ZN_js.renderToCanvas; }
43
+ get: function () { return chunkUPF6YVER_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkRVOGQ2ZN_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkUPF6YVER_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunk43JBNBGE_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkWCPDUNS4_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkQWFKDUMN_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkSNJT3GDK_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "BACKSTAGE_CARD_IDS", {
58
58
  enumerable: true,
59
- get: function () { return chunkQWFKDUMN_js.BACKSTAGE_CARD_IDS; }
59
+ get: function () { return chunkSNJT3GDK_js.BACKSTAGE_CARD_IDS; }
60
60
  });
61
61
  Object.defineProperty(exports, "BACKSTAGE_PAGE_IDS", {
62
62
  enumerable: true,
63
- get: function () { return chunkQWFKDUMN_js.BACKSTAGE_PAGE_IDS; }
63
+ get: function () { return chunkSNJT3GDK_js.BACKSTAGE_PAGE_IDS; }
64
64
  });
65
65
  Object.defineProperty(exports, "CANVAS_CONTEXT_MENU_COMMAND_IDS", {
66
66
  enumerable: true,
67
- get: function () { return chunkQWFKDUMN_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
67
+ get: function () { return chunkSNJT3GDK_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
68
68
  });
69
69
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
70
70
  enumerable: true,
71
- get: function () { return chunkQWFKDUMN_js.DEFAULT_VIEWER_PROFILE; }
71
+ get: function () { return chunkSNJT3GDK_js.DEFAULT_VIEWER_PROFILE; }
72
72
  });
73
73
  Object.defineProperty(exports, "EDITOR_SHORTCUT_ACTION_IDS", {
74
74
  enumerable: true,
75
- get: function () { return chunkQWFKDUMN_js.EDITOR_SHORTCUT_ACTION_IDS; }
75
+ get: function () { return chunkSNJT3GDK_js.EDITOR_SHORTCUT_ACTION_IDS; }
76
76
  });
77
77
  Object.defineProperty(exports, "ELEMENT_CONTEXT_MENU_COMMAND_IDS", {
78
78
  enumerable: true,
79
- get: function () { return chunkQWFKDUMN_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
79
+ get: function () { return chunkSNJT3GDK_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
80
80
  });
81
81
  Object.defineProperty(exports, "OPTIONS_PAGE_IDS", {
82
82
  enumerable: true,
83
- get: function () { return chunkQWFKDUMN_js.OPTIONS_PAGE_IDS; }
83
+ get: function () { return chunkSNJT3GDK_js.OPTIONS_PAGE_IDS; }
84
84
  });
85
85
  Object.defineProperty(exports, "OPTIONS_SECTION_IDS", {
86
86
  enumerable: true,
87
- get: function () { return chunkQWFKDUMN_js.OPTIONS_SECTION_IDS; }
87
+ get: function () { return chunkSNJT3GDK_js.OPTIONS_SECTION_IDS; }
88
88
  });
89
89
  Object.defineProperty(exports, "OPTIONS_SETTING_IDS", {
90
90
  enumerable: true,
91
- get: function () { return chunkQWFKDUMN_js.OPTIONS_SETTING_IDS; }
91
+ get: function () { return chunkSNJT3GDK_js.OPTIONS_SETTING_IDS; }
92
92
  });
93
93
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
94
94
  enumerable: true,
95
- get: function () { return chunkQWFKDUMN_js.PPTX_OPEN_ACCEPT; }
95
+ get: function () { return chunkSNJT3GDK_js.PPTX_OPEN_ACCEPT; }
96
96
  });
97
97
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
98
98
  enumerable: true,
99
- get: function () { return chunkQWFKDUMN_js.PRESENTATION_OPEN_EXTENSIONS; }
99
+ get: function () { return chunkSNJT3GDK_js.PRESENTATION_OPEN_EXTENSIONS; }
100
100
  });
101
101
  Object.defineProperty(exports, "RIBBON_TAB_IDS", {
102
102
  enumerable: true,
103
- get: function () { return chunkQWFKDUMN_js.RIBBON_TAB_IDS; }
103
+ get: function () { return chunkSNJT3GDK_js.RIBBON_TAB_IDS; }
104
104
  });
105
105
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
106
106
  enumerable: true,
107
- get: function () { return chunkQWFKDUMN_js.SLIDE_TEMPLATES; }
107
+ get: function () { return chunkSNJT3GDK_js.SLIDE_TEMPLATES; }
108
108
  });
109
109
  Object.defineProperty(exports, "THEME_CATALOG", {
110
110
  enumerable: true,
111
- get: function () { return chunkQWFKDUMN_js.THEME_CATALOG; }
111
+ get: function () { return chunkSNJT3GDK_js.THEME_CATALOG; }
112
112
  });
113
113
  Object.defineProperty(exports, "TOOLBAR_BUTTON_IDS", {
114
114
  enumerable: true,
115
- get: function () { return chunkQWFKDUMN_js.TOOLBAR_BUTTON_IDS; }
115
+ get: function () { return chunkSNJT3GDK_js.TOOLBAR_BUTTON_IDS; }
116
116
  });
117
117
  Object.defineProperty(exports, "VIEWER_DIALOG_IDS", {
118
118
  enumerable: true,
119
- get: function () { return chunkQWFKDUMN_js.VIEWER_DIALOG_IDS; }
119
+ get: function () { return chunkSNJT3GDK_js.VIEWER_DIALOG_IDS; }
120
120
  });
121
121
  Object.defineProperty(exports, "VIEWER_EXPORT_FORMAT_IDS", {
122
122
  enumerable: true,
123
- get: function () { return chunkQWFKDUMN_js.VIEWER_EXPORT_FORMAT_IDS; }
123
+ get: function () { return chunkSNJT3GDK_js.VIEWER_EXPORT_FORMAT_IDS; }
124
124
  });
125
125
  Object.defineProperty(exports, "VIEWER_FEATURE_IDS", {
126
126
  enumerable: true,
127
- get: function () { return chunkQWFKDUMN_js.VIEWER_FEATURE_IDS; }
127
+ get: function () { return chunkSNJT3GDK_js.VIEWER_FEATURE_IDS; }
128
128
  });
129
129
  Object.defineProperty(exports, "VIEWER_PANEL_IDS", {
130
130
  enumerable: true,
131
- get: function () { return chunkQWFKDUMN_js.VIEWER_PANEL_IDS; }
131
+ get: function () { return chunkSNJT3GDK_js.VIEWER_PANEL_IDS; }
132
132
  });
133
133
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
134
134
  enumerable: true,
135
- get: function () { return chunkQWFKDUMN_js.VIEWER_PREFS_STORAGE_KEY; }
135
+ get: function () { return chunkSNJT3GDK_js.VIEWER_PREFS_STORAGE_KEY; }
136
136
  });
137
137
  Object.defineProperty(exports, "buildSlideTemplateContent", {
138
138
  enumerable: true,
139
- get: function () { return chunkQWFKDUMN_js.buildSlideTemplateContent; }
139
+ get: function () { return chunkSNJT3GDK_js.buildSlideTemplateContent; }
140
140
  });
141
141
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
142
142
  enumerable: true,
143
- get: function () { return chunkQWFKDUMN_js.buildSlideTemplateSlide; }
143
+ get: function () { return chunkSNJT3GDK_js.buildSlideTemplateSlide; }
144
144
  });
145
145
  Object.defineProperty(exports, "clearAllLocalViewerData", {
146
146
  enumerable: true,
147
- get: function () { return chunkQWFKDUMN_js.clearAllLocalViewerData; }
147
+ get: function () { return chunkSNJT3GDK_js.clearAllLocalViewerData; }
148
148
  });
149
149
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
150
150
  enumerable: true,
151
- get: function () { return chunkQWFKDUMN_js.clearStoredViewerPrefs; }
151
+ get: function () { return chunkSNJT3GDK_js.clearStoredViewerPrefs; }
152
152
  });
153
153
  Object.defineProperty(exports, "createImageElementFromFile", {
154
154
  enumerable: true,
155
- get: function () { return chunkQWFKDUMN_js.createImageElementFromFile; }
155
+ get: function () { return chunkSNJT3GDK_js.createImageElementFromFile; }
156
156
  });
157
157
  Object.defineProperty(exports, "defaultCssVars", {
158
158
  enumerable: true,
159
- get: function () { return chunkQWFKDUMN_js.defaultCssVars; }
159
+ get: function () { return chunkSNJT3GDK_js.defaultCssVars; }
160
160
  });
161
161
  Object.defineProperty(exports, "defaultRadius", {
162
162
  enumerable: true,
163
- get: function () { return chunkQWFKDUMN_js.defaultRadius; }
163
+ get: function () { return chunkSNJT3GDK_js.defaultRadius; }
164
164
  });
165
165
  Object.defineProperty(exports, "defaultThemeColors", {
166
166
  enumerable: true,
167
- get: function () { return chunkQWFKDUMN_js.defaultThemeColors; }
167
+ get: function () { return chunkSNJT3GDK_js.defaultThemeColors; }
168
168
  });
169
169
  Object.defineProperty(exports, "describeCollaborationShellState", {
170
170
  enumerable: true,
171
- get: function () { return chunkQWFKDUMN_js.describeCollaborationShellState; }
171
+ get: function () { return chunkSNJT3GDK_js.describeCollaborationShellState; }
172
172
  });
173
173
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
174
174
  enumerable: true,
175
- get: function () { return chunkQWFKDUMN_js.getLocalStorageUsageSummary; }
175
+ get: function () { return chunkSNJT3GDK_js.getLocalStorageUsageSummary; }
176
176
  });
177
177
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
178
178
  enumerable: true,
179
- get: function () { return chunkQWFKDUMN_js.isLegacyBinaryPresentation; }
179
+ get: function () { return chunkSNJT3GDK_js.isLegacyBinaryPresentation; }
180
180
  });
181
181
  Object.defineProperty(exports, "isSupportedPresentationFile", {
182
182
  enumerable: true,
183
- get: function () { return chunkQWFKDUMN_js.isSupportedPresentationFile; }
183
+ get: function () { return chunkSNJT3GDK_js.isSupportedPresentationFile; }
184
184
  });
185
185
  Object.defineProperty(exports, "presentationBaseName", {
186
186
  enumerable: true,
187
- get: function () { return chunkQWFKDUMN_js.presentationBaseName; }
187
+ get: function () { return chunkSNJT3GDK_js.presentationBaseName; }
188
188
  });
189
189
  Object.defineProperty(exports, "readStoredViewerPrefs", {
190
190
  enumerable: true,
191
- get: function () { return chunkQWFKDUMN_js.readStoredViewerPrefs; }
191
+ get: function () { return chunkSNJT3GDK_js.readStoredViewerPrefs; }
192
192
  });
193
193
  Object.defineProperty(exports, "resolveProfileInitial", {
194
194
  enumerable: true,
195
- get: function () { return chunkQWFKDUMN_js.resolveProfileInitial; }
195
+ get: function () { return chunkSNJT3GDK_js.resolveProfileInitial; }
196
196
  });
197
197
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
198
198
  enumerable: true,
199
- get: function () { return chunkQWFKDUMN_js.resolveThemeCatalogEntry; }
199
+ get: function () { return chunkSNJT3GDK_js.resolveThemeCatalogEntry; }
200
200
  });
201
201
  Object.defineProperty(exports, "saveViewerProfile", {
202
202
  enumerable: true,
203
- get: function () { return chunkQWFKDUMN_js.saveViewerProfile; }
203
+ get: function () { return chunkSNJT3GDK_js.saveViewerProfile; }
204
204
  });
205
205
  Object.defineProperty(exports, "savedPresentationFileName", {
206
206
  enumerable: true,
207
- get: function () { return chunkQWFKDUMN_js.savedPresentationFileName; }
207
+ get: function () { return chunkSNJT3GDK_js.savedPresentationFileName; }
208
208
  });
209
209
  Object.defineProperty(exports, "themeToCssVars", {
210
210
  enumerable: true,
211
- get: function () { return chunkQWFKDUMN_js.themeToCssVars; }
211
+ get: function () { return chunkSNJT3GDK_js.themeToCssVars; }
212
212
  });
213
213
  Object.defineProperty(exports, "vermilionDarkColors", {
214
214
  enumerable: true,
215
- get: function () { return chunkQWFKDUMN_js.vermilionDarkColors; }
215
+ get: function () { return chunkSNJT3GDK_js.vermilionDarkColors; }
216
216
  });
217
217
  Object.defineProperty(exports, "vermilionDarkTheme", {
218
218
  enumerable: true,
219
- get: function () { return chunkQWFKDUMN_js.vermilionDarkTheme; }
219
+ get: function () { return chunkSNJT3GDK_js.vermilionDarkTheme; }
220
220
  });
221
221
  Object.defineProperty(exports, "vermilionLightColors", {
222
222
  enumerable: true,
223
- get: function () { return chunkQWFKDUMN_js.vermilionLightColors; }
223
+ get: function () { return chunkSNJT3GDK_js.vermilionLightColors; }
224
224
  });
225
225
  Object.defineProperty(exports, "vermilionLightTheme", {
226
226
  enumerable: true,
227
- get: function () { return chunkQWFKDUMN_js.vermilionLightTheme; }
227
+ get: function () { return chunkSNJT3GDK_js.vermilionLightTheme; }
228
228
  });
229
229
  Object.defineProperty(exports, "vermilionRadius", {
230
230
  enumerable: true,
231
- get: function () { return chunkQWFKDUMN_js.vermilionRadius; }
231
+ get: function () { return chunkSNJT3GDK_js.vermilionRadius; }
232
232
  });
233
233
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
234
234
  enumerable: true,
235
- get: function () { return chunkQWFKDUMN_js.writeStoredViewerPrefs; }
235
+ get: function () { return chunkSNJT3GDK_js.writeStoredViewerPrefs; }
236
236
  });
237
237
  Object.defineProperty(exports, "LOCALE_CATALOG", {
238
238
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-7L5UIS4Z.mjs';
2
- import './chunk-E7JM5X7H.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-MN2PIGHD.mjs';
4
- export { getAnimationInitialStyle } from './chunk-JWP5ZWI2.mjs';
5
- export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, THEME_CATALOG, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-5JVKFBJH.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-OEBBZSOS.mjs';
2
+ import './chunk-RNVQLIOU.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-3WP72WZS.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-M367GJX7.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, THEME_CATALOG, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-474QZKN4.mjs';
6
6
  export { LOCALE_CATALOG } from './chunk-Q4HRYUEP.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -3582,22 +3582,65 @@ declare global {
3582
3582
  'pptx-ui-theme-editor': PptxUiThemeEditorElement;
3583
3583
  }
3584
3584
  }
3585
+ /** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
3586
+ interface ContextMenuViewItem {
3587
+ /** Stable command id, echoed by `menu-request`. */
3588
+ id: string;
3589
+ /** Already-translated visible label. */
3590
+ label: string;
3591
+ /** Draw a rule before this row. */
3592
+ separatorBefore?: boolean;
3593
+ /** Group heading shown before this row; the row and the ones after it join that group. */
3594
+ heading?: string;
3595
+ /** Destructive command (Delete): tinted. */
3596
+ danger?: boolean;
3597
+ /** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
3598
+ disabled?: boolean;
3599
+ /** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
3600
+ checked?: boolean;
3601
+ }
3602
+ /** Everything the controlled element needs to draw one menu. */
3603
+ interface ContextMenuViewState {
3604
+ /** Pointer position, in viewport pixels. The element clamps it into the window. */
3605
+ x: number;
3606
+ y: number;
3607
+ /** Accessible name of the menu. */
3608
+ label: string;
3609
+ items: readonly ContextMenuViewItem[];
3610
+ /**
3611
+ * Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
3612
+ * `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
3613
+ */
3614
+ markers?: readonly string[];
3615
+ /** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
3616
+ zIndex?: number;
3617
+ /** Move focus onto the first command on open. Default true. */
3618
+ autoFocus?: boolean;
3619
+ }
3585
3620
  interface PptxUiCompatToastsElement extends HTMLElement {
3586
3621
  state: CompatToastsViewState;
3587
3622
  }
3588
- declare global {
3589
- interface HTMLElementTagNameMap {
3590
- 'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
3591
- }
3592
- }
3593
3623
  interface PptxUiDialogFooterElement extends HTMLElement {
3594
3624
  state: DialogFooterViewState;
3595
3625
  /** Move keyboard focus to an action, e.g. the primary one when a dialog opens. */
3596
3626
  focusAction(id: string): void;
3597
3627
  }
3628
+ interface PptxUiPasteOptionsElement extends HTMLElement {
3629
+ state: PasteOptionsViewState;
3630
+ }
3631
+ interface PptxUiReadOnlyBannerElement extends HTMLElement {
3632
+ state: ReadOnlyBannerViewState;
3633
+ }
3634
+ interface PptxUiContextMenuElement extends HTMLElement {
3635
+ state: ContextMenuViewState;
3636
+ }
3598
3637
  declare global {
3599
3638
  interface HTMLElementTagNameMap {
3639
+ 'pptx-ui-compat-toasts': PptxUiCompatToastsElement;
3640
+ 'pptx-ui-context-menu': PptxUiContextMenuElement;
3600
3641
  'pptx-ui-dialog-footer': PptxUiDialogFooterElement;
3642
+ 'pptx-ui-paste-options': PptxUiPasteOptionsElement;
3643
+ 'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
3601
3644
  }
3602
3645
  }
3603
3646
  interface PptxUiMobileBarElement extends HTMLElement {
@@ -3616,14 +3659,6 @@ declare global {
3616
3659
  'pptx-ui-mobile-toolbar': PptxUiMobileToolbarElement;
3617
3660
  }
3618
3661
  }
3619
- interface PptxUiPasteOptionsElement extends HTMLElement {
3620
- state: PasteOptionsViewState;
3621
- }
3622
- declare global {
3623
- interface HTMLElementTagNameMap {
3624
- 'pptx-ui-paste-options': PptxUiPasteOptionsElement;
3625
- }
3626
- }
3627
3662
  interface PptxUiPresentToolbarElement extends HTMLElement {
3628
3663
  state: PresentToolbarViewState;
3629
3664
  /** Close an open colour palette, e.g. when the host auto-hides the bar. */
@@ -3642,14 +3677,6 @@ declare global {
3642
3677
  'pptx-ui-presenter-console': PptxUiPresenterConsoleElement;
3643
3678
  }
3644
3679
  }
3645
- interface PptxUiReadOnlyBannerElement extends HTMLElement {
3646
- state: ReadOnlyBannerViewState;
3647
- }
3648
- declare global {
3649
- interface HTMLElementTagNameMap {
3650
- 'pptx-ui-read-only-banner': PptxUiReadOnlyBannerElement;
3651
- }
3652
- }
3653
3680
  interface PptxUiRibbonAnimationsElement extends HTMLElement {
3654
3681
  state: RibbonAnimationsViewState;
3655
3682
  }
@@ -3734,7 +3761,7 @@ declare global {
3734
3761
  }
3735
3762
  }
3736
3763
  //#endregion
3737
- //#region src/web-components/ribbon-gallery-view.d.ts
3764
+ //#region src/web-components/ribbon-gallery.d.ts
3738
3765
  type GalleryTranslate = (key: string, params?: Readonly<Record<string, string | number>>) => string;
3739
3766
  interface PptxUiRibbonGalleryElement extends HTMLElement {
3740
3767
  readonly trigger: HTMLButtonElement;
@@ -3787,52 +3814,12 @@ declare global {
3787
3814
  'pptx-ui-title-bar': PptxUiTitleBarElement;
3788
3815
  }
3789
3816
  }
3790
- /** One row of a context menu. Hosts decide `id`, wording, gating and what activation does. */
3791
- interface ContextMenuViewItem {
3792
- /** Stable command id, echoed by `menu-request`. */
3793
- id: string;
3794
- /** Already-translated visible label. */
3795
- label: string;
3796
- /** Draw a rule before this row. */
3797
- separatorBefore?: boolean;
3798
- /** Group heading shown before this row; the row and the ones after it join that group. */
3799
- heading?: string;
3800
- /** Destructive command (Delete): tinted. */
3801
- danger?: boolean;
3802
- /** Offered but unavailable: announced and drawn dim, skipped by arrow keys. */
3803
- disabled?: boolean;
3804
- /** A toggle (Grid and Guides, Ruler) in this state; omitted for one-shot commands. */
3805
- checked?: boolean;
3806
- }
3807
- /** Everything the controlled element needs to draw one menu. */
3808
- interface ContextMenuViewState {
3809
- /** Pointer position, in viewport pixels. The element clamps it into the window. */
3810
- x: number;
3811
- y: number;
3812
- /** Accessible name of the menu. */
3813
- label: string;
3814
- items: readonly ContextMenuViewItem[];
3815
- /**
3816
- * Test-hook attributes copied onto the host element (`data-pptx-context-menu`,
3817
- * `data-pptx-canvas-context-menu`, ...). Only `data-pptx-*` names are accepted.
3818
- */
3819
- markers?: readonly string[];
3820
- /** Stacking order; defaults to {@link CONTEXT_MENU_EDITOR_LAYER}. */
3821
- zIndex?: number;
3822
- /** Move focus onto the first command on open. Default true. */
3823
- autoFocus?: boolean;
3824
- }
3825
- interface PptxUiContextMenuElement extends HTMLElement {
3826
- state: ContextMenuViewState;
3827
- }
3828
- declare global {
3829
- interface HTMLElementTagNameMap {
3830
- 'pptx-ui-context-menu': PptxUiContextMenuElement;
3831
- }
3832
- }
3833
3817
  //#endregion
3834
3818
  //#region src/web-components/select-value.d.ts
3835
- /** Public DOM shape used by all bindings; the element is not a native select. */
3819
+ /**
3820
+ * Public DOM shape of `pptx-ui-select`, used by every binding. The element is ooxml-ui's
3821
+ * `office-ui-select` under the pptx tag (see `office-aliases.ts`); it is not a native select.
3822
+ */
3836
3823
  interface PptxUiSelectElement extends HTMLElement {
3837
3824
  value: string;
3838
3825
  disabled: boolean;
@@ -6214,7 +6201,7 @@ declare class Observable<N> {
6214
6201
  destroy(): void;
6215
6202
  }
6216
6203
  //#endregion
6217
- //#region ../../node_modules/.bun/y-protocols@1.0.7+48ebd0cf55a3d4ab/node_modules/y-protocols/awareness.d.ts
6204
+ //#region ../../node_modules/.bun/y-protocols@1.0.7+dd3713061a4ad7f6/node_modules/y-protocols/awareness.d.ts
6218
6205
  /**
6219
6206
  * @typedef {Object} MetaClientState
6220
6207
  * @property {number} MetaClientState.clock