pptx-vue-viewer 1.1.88 → 1.1.90

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 (105) hide show
  1. package/CHANGELOG.md +2 -102
  2. package/README.md +1 -2
  3. package/dist/gif-encoder-B0pHA2SI.js +2 -0
  4. package/dist/gif-encoder-B0pHA2SI.js.br +3 -0
  5. package/dist/gif-encoder-B0pHA2SI.js.gz +0 -0
  6. package/dist/gif-encoder-BO7uh_vM.cjs +2 -0
  7. package/dist/gif-encoder-BO7uh_vM.cjs.br +0 -0
  8. package/dist/gif-encoder-BO7uh_vM.cjs.gz +0 -0
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.cjs.br +0 -0
  11. package/dist/index.cjs.gz +0 -0
  12. package/dist/index.js +1 -1
  13. package/dist/index.js.br +0 -0
  14. package/dist/index.js.gz +0 -0
  15. package/dist/viewer/PowerPointViewer.vue.d.ts +3 -3
  16. package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
  17. package/dist/viewer/components/InkRenderer.vue.d.ts +1 -1
  18. package/dist/viewer/components/SlideCanvas.vue.d.ts +4 -4
  19. package/dist/viewer/components/TableRenderer.vue.d.ts +1 -1
  20. package/dist/viewer/composables/element-style.d.ts.map +1 -1
  21. package/dist/viewer/composables/ribbon-props-actions.d.ts +101 -0
  22. package/dist/viewer/composables/ribbon-props-actions.d.ts.map +1 -0
  23. package/dist/viewer/composables/ribbon-props-state.d.ts +57 -0
  24. package/dist/viewer/composables/ribbon-props-state.d.ts.map +1 -0
  25. package/dist/viewer/composables/ribbon-props-types.d.ts +119 -0
  26. package/dist/viewer/composables/ribbon-props-types.d.ts.map +1 -0
  27. package/dist/viewer/composables/useCollaborationWiring.d.ts +49 -0
  28. package/dist/viewer/composables/useCollaborationWiring.d.ts.map +1 -0
  29. package/dist/viewer/composables/useCommentsWiring.d.ts +25 -0
  30. package/dist/viewer/composables/useCommentsWiring.d.ts.map +1 -0
  31. package/dist/viewer/composables/useCustomShowsWiring.d.ts +29 -0
  32. package/dist/viewer/composables/useCustomShowsWiring.d.ts.map +1 -0
  33. package/dist/viewer/composables/useDocumentPropertiesDialog.d.ts +18 -0
  34. package/dist/viewer/composables/useDocumentPropertiesDialog.d.ts.map +1 -0
  35. package/dist/viewer/composables/useEditorKeyboard.d.ts +44 -0
  36. package/dist/viewer/composables/useEditorKeyboard.d.ts.map +1 -0
  37. package/dist/viewer/composables/useExportWiring.d.ts +38 -0
  38. package/dist/viewer/composables/useExportWiring.d.ts.map +1 -0
  39. package/dist/viewer/composables/useFontEmbedding.d.ts +21 -0
  40. package/dist/viewer/composables/useFontEmbedding.d.ts.map +1 -0
  41. package/dist/viewer/composables/useFormatPainter.d.ts +23 -0
  42. package/dist/viewer/composables/useFormatPainter.d.ts.map +1 -0
  43. package/dist/viewer/composables/useHeaderFooterDialog.d.ts +15 -0
  44. package/dist/viewer/composables/useHeaderFooterDialog.d.ts.map +1 -0
  45. package/dist/viewer/composables/useInkDrawing.d.ts +36 -0
  46. package/dist/viewer/composables/useInkDrawing.d.ts.map +1 -0
  47. package/dist/viewer/composables/useInlineEditing.d.ts +25 -0
  48. package/dist/viewer/composables/useInlineEditing.d.ts.map +1 -0
  49. package/dist/viewer/composables/useInsertElementDialogs.d.ts +19 -0
  50. package/dist/viewer/composables/useInsertElementDialogs.d.ts.map +1 -0
  51. package/dist/viewer/composables/useLoadContent.d.ts +3 -4
  52. package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
  53. package/dist/viewer/composables/useMasterViewState.d.ts +17 -0
  54. package/dist/viewer/composables/useMasterViewState.d.ts.map +1 -0
  55. package/dist/viewer/composables/useMobileChrome.d.ts +26 -0
  56. package/dist/viewer/composables/useMobileChrome.d.ts.map +1 -0
  57. package/dist/viewer/composables/useMultiSelectOps.d.ts +20 -0
  58. package/dist/viewer/composables/useMultiSelectOps.d.ts.map +1 -0
  59. package/dist/viewer/composables/usePasswordProtection.d.ts +16 -0
  60. package/dist/viewer/composables/usePasswordProtection.d.ts.map +1 -0
  61. package/dist/viewer/composables/usePresentationModeWiring.d.ts +24 -0
  62. package/dist/viewer/composables/usePresentationModeWiring.d.ts.map +1 -0
  63. package/dist/viewer/composables/useRibbonProps.d.ts +20 -0
  64. package/dist/viewer/composables/useRibbonProps.d.ts.map +1 -0
  65. package/dist/viewer/composables/useRibbonUiState.d.ts +37 -0
  66. package/dist/viewer/composables/useRibbonUiState.d.ts.map +1 -0
  67. package/dist/viewer/composables/useSelectionPaneWiring.d.ts +25 -0
  68. package/dist/viewer/composables/useSelectionPaneWiring.d.ts.map +1 -0
  69. package/dist/viewer/composables/useSignatureWorkflow.d.ts +23 -0
  70. package/dist/viewer/composables/useSignatureWorkflow.d.ts.map +1 -0
  71. package/dist/viewer/composables/useSlideShowSettings.d.ts +20 -0
  72. package/dist/viewer/composables/useSlideShowSettings.d.ts.map +1 -0
  73. package/dist/viewer/composables/useSmartArtNodeEditContext.d.ts +20 -0
  74. package/dist/viewer/composables/useSmartArtNodeEditContext.d.ts.map +1 -0
  75. package/dist/viewer/composables/useTableCellEditingContext.d.ts +28 -0
  76. package/dist/viewer/composables/useTableCellEditingContext.d.ts.map +1 -0
  77. package/dist/viewer/composables/useThemeEditing.d.ts +27 -0
  78. package/dist/viewer/composables/useThemeEditing.d.ts.map +1 -0
  79. package/dist/viewer/composables/useVersionHistoryWiring.d.ts +28 -0
  80. package/dist/viewer/composables/useVersionHistoryWiring.d.ts.map +1 -0
  81. package/dist/viewer/composables/useViewerSettingsDialog.d.ts +13 -0
  82. package/dist/viewer/composables/useViewerSettingsDialog.d.ts.map +1 -0
  83. package/dist/viewer/index.cjs +1 -1
  84. package/dist/viewer/index.cjs.br +0 -0
  85. package/dist/viewer/index.cjs.gz +0 -0
  86. package/dist/viewer/index.js +1 -1
  87. package/dist/viewer/index.js.br +0 -0
  88. package/dist/viewer/index.js.gz +0 -0
  89. package/dist/{viewer-BWTzHfhJ.js → viewer-3CV8_9XU.js} +16310 -15391
  90. package/dist/viewer-3CV8_9XU.js.br +0 -0
  91. package/dist/viewer-3CV8_9XU.js.gz +0 -0
  92. package/dist/{viewer-DttGW3vO.cjs → viewer-CwTAKy61.cjs} +15368 -14449
  93. package/dist/viewer-CwTAKy61.cjs.br +0 -0
  94. package/dist/viewer-CwTAKy61.cjs.gz +0 -0
  95. package/package.json +1 -1
  96. package/dist/gif-encoder-BKazvO3A.js +0 -2
  97. package/dist/gif-encoder-BKazvO3A.js.br +0 -0
  98. package/dist/gif-encoder-BKazvO3A.js.gz +0 -0
  99. package/dist/gif-encoder-CsEs7hXO.cjs +0 -2
  100. package/dist/gif-encoder-CsEs7hXO.cjs.br +0 -0
  101. package/dist/gif-encoder-CsEs7hXO.cjs.gz +0 -0
  102. package/dist/viewer-BWTzHfhJ.js.br +0 -0
  103. package/dist/viewer-BWTzHfhJ.js.gz +0 -0
  104. package/dist/viewer-DttGW3vO.cjs.br +0 -0
  105. package/dist/viewer-DttGW3vO.cjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -4,11 +4,11 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
- ## [1.1.86](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.86) - 2026-07-03
7
+ ## [1.1.89](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.89) - 2026-07-03
8
8
 
9
9
  ### Documentation
10
10
 
11
- - **vue,angular:** Correct stale parity-tracker claims (by @ChristopherVR) ([54c4f05](https://github.com/ChristopherVR/pptx-viewer/commit/54c4f0540e33692d82f961c96d8a1818c8678751))
11
+ - Remove completed ROADMAP and PORTING trackers, scrub stale references (by @ChristopherVR) ([8a745a1](https://github.com/ChristopherVR/pptx-viewer/commit/8a745a1d2a1ee3932503d37dd022494ab9cfcc4b))
12
12
 
13
13
  ## [1.1.85](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.85) - 2026-07-03
14
14
 
@@ -32,11 +32,6 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
32
32
 
33
33
  - Document localization and add demo language pickers (by @ChristopherVR) ([a07ad82](https://github.com/ChristopherVR/pptx-viewer/commit/a07ad8279e906590e0392d19cd1637855012a80e))
34
34
 
35
- ### Documentation
36
-
37
- - **vue:** Correct stale parity-gap claims in PORTING.md (by @ChristopherVR) ([1ce524c](https://github.com/ChristopherVR/pptx-viewer/commit/1ce524cf5af80064b0d8268610e40c900ea43204))
38
- - Close out fixed parity gaps, drop the limitations caveat (by @ChristopherVR) ([53ae1f8](https://github.com/ChristopherVR/pptx-viewer/commit/53ae1f8460c47b1aa313020d2231edee91809fb0))
39
-
40
35
  ## [1.1.80](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.80) - 2026-07-02
41
36
 
42
37
  ### Features
@@ -48,18 +43,8 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
48
43
  - **react:** Expose i18n dictionary via pptx-react-viewer, not the private shared package (by @ChristopherVR) ([09f49fe](https://github.com/ChristopherVR/pptx-viewer/commit/09f49fe68aa27d3305294f5896d5f53d3b52a160))
49
44
  - **vue:** Expose i18n dictionary via pptx-vue-viewer, not the private shared package (by @ChristopherVR) ([8577907](https://github.com/ChristopherVR/pptx-viewer/commit/8577907cf63af3190853b31e7810f477f394fad2))
50
45
 
51
- ## [1.1.78](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.78) - 2026-07-02
52
-
53
- ### Features
54
-
55
- - **vue:** Inline Ctrl/Cmd+B/I/U formatting shortcuts (by @ChristopherVR) ([7b83ced](https://github.com/ChristopherVR/pptx-viewer/commit/7b83cedd042225072b6837f1198d9f9599b9d314))
56
-
57
46
  ## [1.1.76](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.76) - 2026-07-02
58
47
 
59
- ### Features
60
-
61
- - **vue:** Dialog, panel, and canvas-overlay parity (by @ChristopherVR) ([89aef1e](https://github.com/ChristopherVR/pptx-viewer/commit/89aef1e1c81e087fd841026f65e5db6daa7452d8))
62
-
63
48
  ### Bug Fixes
64
49
 
65
50
  - **core:** Correct install docs and drop the retired @christophervr/pptx-viewer alias (by @ChristopherVR) ([6544b4e](https://github.com/ChristopherVR/pptx-viewer/commit/6544b4eaf086945ecd8a18b877de5a483032aa14))
@@ -83,37 +68,6 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
83
68
 
84
69
  - **shared:** Extract text-rendering pure logic (line-height, warp, effects) (by @ChristopherVR) ([11c8d22](https://github.com/ChristopherVR/pptx-viewer/commit/11c8d22e9910dda9c8dfa18e0f6d7683577c7b9f))
85
70
 
86
- ## [1.1.52](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.52) - 2026-06-25
87
-
88
- ### Documentation
89
-
90
- - **vue:** Slide-properties inspector parity essentially complete (by @ChristopherVR) ([d0ddcd1](https://github.com/ChristopherVR/pptx-viewer/commit/d0ddcd18b455451cc5a3fb10a38c8f21b39ea9f8))
91
-
92
- ## [1.1.50](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.50) - 2026-06-25
93
-
94
- ### Documentation
95
-
96
- - **vue:** Update slide-properties inspector parity status (by @ChristopherVR) ([ac6e395](https://github.com/ChristopherVR/pptx-viewer/commit/ac6e395965086bd281bf1ccd372b05ef42eb0b53))
97
-
98
- ## [1.1.49](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.49) - 2026-06-25
99
-
100
- ### Documentation
101
-
102
- - **vue:** Mark zoom-element navigation done in the parity tracker (by @ChristopherVR) ([8cc7075](https://github.com/ChristopherVR/pptx-viewer/commit/8cc7075aedbed35257b03141d22c06fb5ec388e6))
103
-
104
- ## [1.1.48](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.48) - 2026-06-25
105
-
106
- ### Documentation
107
-
108
- - **vue:** Mark interactive Model3D done in the parity tracker (by @ChristopherVR) ([614ebb6](https://github.com/ChristopherVR/pptx-viewer/commit/614ebb6a381159b7f0457600f35f5494ed38cb94))
109
- - **vue:** Mark a:clrChange image effect done in the parity tracker (by @ChristopherVR) ([4833180](https://github.com/ChristopherVR/pptx-viewer/commit/4833180777b0dcb428da1270ebdd8c2e511b4335))
110
-
111
- ## [1.1.36](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.36) - 2026-06-21
112
-
113
- ### Features
114
-
115
- - **vue:** Add full SmartArt editing inspector (by @ChristopherVR) ([06ea167](https://github.com/ChristopherVR/pptx-viewer/commit/06ea167d9ea3b4cff96fd50a043768ee355daf62))
116
-
117
71
  ## [1.1.33](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.1.33) - 2026-06-21
118
72
 
119
73
  ### Dependencies
@@ -155,28 +109,7 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
155
109
 
156
110
  - **core:** Add signature-node module and shared signature utilities (by @ChristopherVR) ([e7cb263](https://github.com/ChristopherVR/pptx-viewer/commit/e7cb26335f15e633cfc37371f16a6ad210be5e11))
157
111
  - **vue:** Add pptx-vue-viewer package + bundled pptx-viewer-shared (by @ChristopherVR) ([1b7a958](https://github.com/ChristopherVR/pptx-viewer/commit/1b7a958ce91792a6d174f174932800bc8ff40ef9))
158
- - **vue:** Live thumbnail previews + gradient/image fills (by @ChristopherVR) ([b13f27e](https://github.com/ChristopherVR/pptx-viewer/commit/b13f27e6b878e712d97365f6984d9378849ca122))
159
- - **vue:** Render straight connectors as SVG (by @ChristopherVR) ([e2b9521](https://github.com/ChristopherVR/pptx-viewer/commit/e2b95214d434fba2e293e753892ed57d6a60bfd0))
160
- - **vue:** Preset-geometry clip-paths for shape rendering (by @ChristopherVR) ([bc37eda](https://github.com/ChristopherVR/pptx-viewer/commit/bc37edaabdbec0ffb3a75be5afab9fc505d85755))
161
- - **vue:** Render tables and charts as native components (by @ChristopherVR) ([07a2106](https://github.com/ChristopherVR/pptx-viewer/commit/07a21069c2588b10627d75e8dd868a73971a058b))
162
- - **vue:** Render SmartArt, ink, OLE, 3D, zoom + shape visual effects (by @ChristopherVR) ([740c068](https://github.com/ChristopherVR/pptx-viewer/commit/740c068ed5db47357e2a85885db712d6ac0a236a))
163
- - **vue:** Image effects, shape 3D, and equations (OMML→MathML) (by @ChristopherVR) ([1521de3](https://github.com/ChristopherVR/pptx-viewer/commit/1521de34f74d01299d64a45bd7a09ed6795b1133))
164
- - **vue:** WordArt text-warp, structured fills, and editing foundation (by @ChristopherVR) ([1eaa3df](https://github.com/ChristopherVR/pptx-viewer/commit/1eaa3df78feaecaf194398d640da70c77763509c))
165
- - **vue:** Wire interactive editing (selection, drag/resize, toolbar) (by @ChristopherVR) ([c270c7a](https://github.com/ChristopherVR/pptx-viewer/commit/c270c7a69eedc7e51cbff1bd65d258ff8d1f1753))
166
- - **vue:** Property inspector panels (arrange/fill/stroke/text/effects) (by @ChristopherVR) ([ed497f3](https://github.com/ChristopherVR/pptx-viewer/commit/ed497f346000f7f7af0563a42e0ab8cd38c73d64))
167
- - **vue:** Slides pane, presentation mode, and context menu (by @ChristopherVR) ([782f1a0](https://github.com/ChristopherVR/pptx-viewer/commit/782f1a0da159ff0fb8ce3253cc2bb4c3201de3b2))
168
- - **vue:** Find/replace, hyperlink dialog, reusable modal (by @ChristopherVR) ([53b7271](https://github.com/ChristopherVR/pptx-viewer/commit/53b72712b76da7566bb66389e9713d1e0a40e4f7))
169
112
  - **vue:** Export to PNG/PDF + image & table inspector panels (by @ChristopherVR) ([6e8ca87](https://github.com/ChristopherVR/pptx-viewer/commit/6e8ca8779ee138dba2f17176b8ffffbf837f0110))
170
- - **vue:** Accessibility checker, slide sorter, slide transitions (by @ChristopherVR) ([4f656ed](https://github.com/ChristopherVR/pptx-viewer/commit/4f656eded92e8b82d677dcb30696cadf5a0767eb))
171
- - **vue:** Animation, chart & notes panels (inspector set complete) (by @ChristopherVR) ([a9bb990](https://github.com/ChristopherVR/pptx-viewer/commit/a9bb99004904fc467e4c5e25d8554512642bcb2c))
172
- - **vue:** Align/distribute/group tools + autosave (by @ChristopherVR) ([ea68c38](https://github.com/ChristopherVR/pptx-viewer/commit/ea68c380599ed3484503ee8e0eefbfb32762f86f))
173
- - **vue:** Comments, animation playback, share & properties dialogs (by @ChristopherVR) ([9027c6c](https://github.com/ChristopherVR/pptx-viewer/commit/9027c6cd1a5546b41467a708cf9c1bacde239a0f))
174
- - **vue:** Yjs collaboration, digital signatures, embedded fonts (by @ChristopherVR) ([1117e41](https://github.com/ChristopherVR/pptx-viewer/commit/1117e41f17b06d2c65a6629024092c5983266a84))
175
- - **vue:** Broadcast dialog, mobile chrome, animation-preset fix (by @ChristopherVR) ([c01e4c6](https://github.com/ChristopherVR/pptx-viewer/commit/c01e4c6389a950d7ef2ea8f38e359a945ad63b0d))
176
- - **vue:** Editor-chrome parity — presenter view, print, shortcuts, doc properties (by @ChristopherVR) ([b8965b9](https://github.com/ChristopherVR/pptx-viewer/commit/b8965b9bb4bbd92814a9a79426dcfdd8a51288db))
177
- - **vue:** Master views, header/footer, sections & custom shows (by @ChristopherVR) ([b6a1dfb](https://github.com/ChristopherVR/pptx-viewer/commit/b6a1dfbfc931331d9986a030bae1d6a0e17ad10e))
178
- - **vue:** Version history/compare, insert-SmartArt & equation dialogs, settings (by @ChristopherVR) ([ba40c85](https://github.com/ChristopherVR/pptx-viewer/commit/ba40c8584297166d73496a8f78d97e22adf7f393))
179
- - **vue:** GIF/WebM export, slide-transition animations, collab depth, property round-trip (by @ChristopherVR) ([1d66b44](https://github.com/ChristopherVR/pptx-viewer/commit/1d66b443afe59cf062af0d7b96484b03f689de29))
180
113
  - **vue:** Port React's full Office-style ribbon toolbar (by @ChristopherVR) ([2341157](https://github.com/ChristopherVR/pptx-viewer/commit/23411572fb88ee50c7a3f64d93fc7d365e7ac73f))
181
114
 
182
115
  ### Bug Fixes
@@ -191,8 +124,6 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
191
124
  ### Refactor
192
125
 
193
126
  - **react:** Consume theme + loader from pptx-viewer-shared (by @ChristopherVR) ([1b93d1f](https://github.com/ChristopherVR/pptx-viewer/commit/1b93d1fccff378b0ac402810a0cbddea46add29c))
194
- - **shared:** Extract framework-agnostic render helpers + fix props persist (by @ChristopherVR) ([5b215a8](https://github.com/ChristopherVR/pptx-viewer/commit/5b215a8302feaa3e7e501cee455b3a1d61715cb7))
195
- - **shared:** Extract 3D + table render helpers (wave 2) (by @ChristopherVR) ([0348d81](https://github.com/ChristopherVR/pptx-viewer/commit/0348d819a407a6d615ad78ce373f16cefcebf803))
196
127
  - **core:** Consume emf-converter and mtx-decompressor from npm (by @ChristopherVR) ([2f6013d](https://github.com/ChristopherVR/pptx-viewer/commit/2f6013d5b8fab0aef5b32901841d94c0fa886f24))
197
128
  - **vue:** Remove em-dashes from code comments and prose (by @ChristopherVR) ([e306df9](https://github.com/ChristopherVR/pptx-viewer/commit/e306df9ed3d8ee65cc6de6f94ace8789682aa0bb))
198
129
 
@@ -201,47 +132,16 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
201
132
  - Restructure root README, elevate limitations, fix outdated claims (by @ChristopherVR) ([86dcda9](https://github.com/ChristopherVR/pptx-viewer/commit/86dcda9b5e3129f2223341337055778db574e985))
202
133
  - Rewrite limitations with technical explanations and remove inaccurate claims (by @ChristopherVR) ([ac4bc84](https://github.com/ChristopherVR/pptx-viewer/commit/ac4bc84ed9bd03f62e3ae29c35baf3f444a3c0bf))
203
134
  - **readme:** Npm-friendly READMEs — hero image, capabilities & install first (by @ChristopherVR) ([c843d19](https://github.com/ChristopherVR/pptx-viewer/commit/c843d1934b846f901bba92e63d2b01f9479594d0))
204
- - **vue:** Record batch 16 render-fidelity work in PORTING.md (by @ChristopherVR) ([643fef9](https://github.com/ChristopherVR/pptx-viewer/commit/643fef94d8f334a155c42b029bbeec744344d472))
205
- - **vue:** Record batch 17 (table GUIDs, connector labels, charts) (by @ChristopherVR) ([318b41a](https://github.com/ChristopherVR/pptx-viewer/commit/318b41aecd988eb364bded1038406ed8860eb181))
206
- - **vue:** Log px font-size fix + agnostic text-rendering e2e (by @ChristopherVR) ([3ffbe80](https://github.com/ChristopherVR/pptx-viewer/commit/3ffbe8056b2c7e6b87cf3f01fe14ef518e1c6e51))
207
- - **vue:** Log table body-cell colour fix + shared & core bug (by @ChristopherVR) ([5fdf655](https://github.com/ChristopherVR/pptx-viewer/commit/5fdf6558523260096cc5b8b151bceae562ce253a))
208
- - **vue:** Log Office-style ribbon toolbar port + follow-ups (by @ChristopherVR) ([b2c0a54](https://github.com/ChristopherVR/pptx-viewer/commit/b2c0a54637ef19c1dad6e57a7219aafa650dc383))
209
- - **vue:** Log bottom status bar port (ribbon chrome complete) (by @ChristopherVR) ([6e2a938](https://github.com/ChristopherVR/pptx-viewer/commit/6e2a9387596e21e2bcbb4ca97885110f03f3e8b3))
210
- - **vue:** Log ribbon chrome cleanup + Arrange wiring (by @ChristopherVR) ([51ce920](https://github.com/ChristopherVR/pptx-viewer/commit/51ce920d21ab285f26c219ff2063dc74a621dc71))
211
- - **vue:** Log slides-rail parity (desktop chrome complete) (by @ChristopherVR) ([5b258a0](https://github.com/ChristopherVR/pptx-viewer/commit/5b258a00a8ef96286d1e639576b632b2b9223b03))
212
- - **vue:** Log slide-level inspector (transition editing restored) (by @ChristopherVR) ([df15436](https://github.com/ChristopherVR/pptx-viewer/commit/df15436b070f81520881756f6135c2cb52ca53e7))
213
- - **vue:** Log table/image insert + undo/selection bugfix (by @ChristopherVR) ([61b6ef6](https://github.com/ChristopherVR/pptx-viewer/commit/61b6ef6cb8b9083a0d7b9b227f418867b9fef224))
214
- - **vue:** Log View-tab grid overlay + snap-to-grid (by @ChristopherVR) ([55b8c78](https://github.com/ChristopherVR/pptx-viewer/commit/55b8c7813e1211ff1d4d416b58e35e62fe4809aa))
215
- - **vue:** Log media picker + note pre-existing useIsMobile red test (by @ChristopherVR) ([51de5b7](https://github.com/ChristopherVR/pptx-viewer/commit/51de5b7b2ff232c7c905707b194e293f56357d47))
216
135
  - Streamline npm READMEs and add badges, screenshots, demo links (by @ChristopherVR) ([92e980d](https://github.com/ChristopherVR/pptx-viewer/commit/92e980d434900abd223c4d70c6cae19a623f9ca8))
217
136
  - **vue,angular:** Point Try-demo links at per-framework demos (by @ChristopherVR) ([b5e6915](https://github.com/ChristopherVR/pptx-viewer/commit/b5e6915c416075f4f50630d76dfedbc324cde03e))
218
- - **vue:** Log action buttons + suite-green note (by @ChristopherVR) ([b5a7ef6](https://github.com/ChristopherVR/pptx-viewer/commit/b5a7ef6f479ca26c4f21e481f5697c67ab0b3c0e))
219
- - **vue:** Log layout + theme galleries; ribbon data-stubs complete (by @ChristopherVR) ([6aa01ab](https://github.com/ChristopherVR/pptx-viewer/commit/6aa01ab03d9ab8e3194942ac3fc12faa78180545))
220
- - **vue:** Log theme editor + Draw-tab ink tools (by @ChristopherVR) ([37b81bf](https://github.com/ChristopherVR/pptx-viewer/commit/37b81bf074e97659d147518da1a8eb3789e361b3))
221
- - **vue:** Log View ▸ Rulers + flag the emf/mtx workspace break (by @ChristopherVR) ([70f76ec](https://github.com/ChristopherVR/pptx-viewer/commit/70f76ec8ecb2e60db10adb8e6d21af05b46fd663))
222
- - **vue:** Log layout + theme galleries; ribbon data-stubs complete (by @ChristopherVR) ([3e1c556](https://github.com/ChristopherVR/pptx-viewer/commit/3e1c55683eeffb3c237d5c8f8bef3ab5a0ab9052))
223
- - **vue:** Log H/V Guides + Snap to Shape; clear the emf/mtx break flag (by @ChristopherVR) ([99b6315](https://github.com/ChristopherVR/pptx-viewer/commit/99b6315c2a4923668549bbc48455c67190f82303))
224
- - **vue:** Log View ▸ Spell; all ribbon View-tab stubs now done (by @ChristopherVR) ([60673f8](https://github.com/ChristopherVR/pptx-viewer/commit/60673f8215749ed3a5379c1b9d236f82fe510fbe))
225
- - **vue:** Log File/Slide-Show/Animations ribbon wiring (by @ChristopherVR) ([b59b6ad](https://github.com/ChristopherVR/pptx-viewer/commit/b59b6ad5ff87fdf963e49988c198acf3a956e0fc))
226
- - **vue:** Trim PORTING.md to a parity-gap view (1042→175 lines) (by @ChristopherVR) ([e04848c](https://github.com/ChristopherVR/pptx-viewer/commit/e04848c1016838e58f3159bcab9c6c353d6a3c38))
227
- - **vue:** Mark bullets/gradient-flip/text-warp done; drop non-gap equations (by @ChristopherVR) ([d22cddb](https://github.com/ChristopherVR/pptx-viewer/commit/d22cddbf4fcfc614dd5eaf4cecef11a43a6b9567))
228
137
  - Remove em-dashes and clarify demo link in viewer packages (by @ChristopherVR) ([f52afff](https://github.com/ChristopherVR/pptx-viewer/commit/f52afffd935016b747116a9909c523021b492225))
229
138
 
230
- ### Testing
231
-
232
- - **e2e:** Run one Playwright suite against both React and Vue demos (by @ChristopherVR) ([7737fe1](https://github.com/ChristopherVR/pptx-viewer/commit/7737fe1a07343ebb04a79c47217172d77891bc2b))
233
- - **e2e:** Run one Playwright suite against both React and Vue demos (by @ChristopherVR) ([4762782](https://github.com/ChristopherVR/pptx-viewer/commit/476278229417fdbd550faa0b241d2b16819a3fe6))
234
-
235
139
  ### Build & CI
236
140
 
237
141
  - **react,vue:** Self-contained, minified, precompressed dist + vue CI (by @ChristopherVR) ([aa28df9](https://github.com/ChristopherVR/pptx-viewer/commit/aa28df916eee064ac502c01be3445e8c84ad37f6))
238
142
  - **vue:** Adopt Tailwind 4 pipeline for chrome visual parity with React (by @ChristopherVR) ([451dacc](https://github.com/ChristopherVR/pptx-viewer/commit/451dacc831d41e620749f8403a2183d4e8b853df))
239
143
  - Independent per-package versioning, tags, and changelogs (by @ChristopherVR) ([79595d9](https://github.com/ChristopherVR/pptx-viewer/commit/79595d972d7c4102e8b1e1e3926f439486f76ba1))
240
144
 
241
- ### Styling
242
-
243
- - **vue:** Reformat PORTING.md table to satisfy oxfmt (by @ChristopherVR) ([b71d989](https://github.com/ChristopherVR/pptx-viewer/commit/b71d989ead5f58ff3ee02a61e1f9ae50d35f5ead))
244
-
245
145
  ### Dependencies
246
146
 
247
147
  - **deps:** Update all dependencies to latest (by @ChristopherVR) ([e3287c0](https://github.com/ChristopherVR/pptx-viewer/commit/e3287c03ff58b1a1ae103ed32a513468a454a084))
package/README.md CHANGED
@@ -212,8 +212,7 @@ The only differences from React are the CSS-rendering approximations the two
212
212
  share by design (see the root README's Limitations: `backdrop-filter` and path
213
213
  gradients are approximated on screen, and a few effects flatten in raster export).
214
214
  The `pptx-viewer-core` engine parses all slide data, so anything not surfaced in
215
- the UI is still readable from the model. Progress and design notes live in
216
- [`PORTING.md`](./PORTING.md).
215
+ the UI is still readable from the model.
217
216
 
218
217
  ## Build (contributing)
219
218
 
@@ -0,0 +1,2 @@
1
+ import { H as r } from "./viewer-3CV8_9XU.js";
2
+ export { r as encodeGif };
@@ -0,0 +1,3 @@
1
+ �$�import { H as r } from "./viewer-3CV8_9XU.js";
2
+ export { r as encodeGif };
3
+ 
Binary file
@@ -0,0 +1,2 @@
1
+ const e = require("./viewer-CwTAKy61.cjs");
2
+ exports.encodeGif = e.encodeGif;
Binary file
Binary file
package/dist/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./viewer-DttGW3vO.cjs");
2
+ const e = require("./viewer-CwTAKy61.cjs");
3
3
  exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ElementRenderer = e.ElementRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.clearAudienceContent = e.clearAudienceContent, exports.cn = e.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.provideViewerTheme = e.provideViewerTheme, exports.storeAudienceContent = e.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useThemeStyle = e.useThemeStyle, exports.useViewerTheme = e.useViewerTheme;
package/dist/index.cjs.br CHANGED
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { B as a, F as s, G as e, N as r, P as i, V as o, a as t, d as n, f as d, i as l, n as m, o as p, p as w, r as P, t as S, u as f, z as v } from "./viewer-BWTzHfhJ.js";
1
+ import { B as a, F as s, G as e, N as r, P as i, V as o, a as t, d as n, f as d, i as l, n as m, o as p, p as w, r as P, t as S, u as f, z as v } from "./viewer-3CV8_9XU.js";
2
2
  export { S as AUDIENCE_HASH, w as ElementRenderer, p as PowerPointViewer, f as SlideCanvas, d as SlideStage, m as clearAudienceContent, n as cn, v as defaultCssVars, a as defaultRadius, o as defaultThemeColors, P as isAudienceTab, l as loadAudienceContent, r as provideViewerTheme, t as storeAudienceContent, e as themeToCssVars, i as useThemeStyle, s as useViewerTheme };
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -1,17 +1,17 @@
1
- import { CollaborationConfig, PowerPointViewerExpose, PowerPointViewerProps } from './types';
1
+ import { PowerPointViewerExpose, PowerPointViewerProps } from './types';
2
2
  declare const __VLS_export: import('vue').DefineComponent<PowerPointViewerProps, PowerPointViewerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
3
  "dirty-change": (isDirty: boolean) => any;
4
4
  "content-change": (content: Uint8Array<ArrayBufferLike>) => any;
5
5
  autosave: (content: Uint8Array<ArrayBufferLike>) => any;
6
6
  "active-slide-change": (slideIndex: number) => any;
7
- "start-collaboration": (config: CollaborationConfig) => any;
7
+ "start-collaboration": (config: import('pptx-viewer-shared').CollaborationConfig) => any;
8
8
  "stop-collaboration": () => any;
9
9
  }, string, import('vue').PublicProps, Readonly<PowerPointViewerProps> & Readonly<{
10
10
  "onDirty-change"?: ((isDirty: boolean) => any) | undefined;
11
11
  "onContent-change"?: ((content: Uint8Array<ArrayBufferLike>) => any) | undefined;
12
12
  onAutosave?: ((content: Uint8Array<ArrayBufferLike>) => any) | undefined;
13
13
  "onActive-slide-change"?: ((slideIndex: number) => any) | undefined;
14
- "onStart-collaboration"?: ((config: CollaborationConfig) => any) | undefined;
14
+ "onStart-collaboration"?: ((config: import('pptx-viewer-shared').CollaborationConfig) => any) | undefined;
15
15
  "onStop-collaboration"?: (() => any) | undefined;
16
16
  }>, {
17
17
  canEdit: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AAg1FA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AA4sIjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AA+8DA,OAAO,KAAK,EAAyB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAo9GpG,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -15,7 +15,7 @@ import { PptxElement } from 'pptx-viewer-core';
15
15
  * maths), matching React. Strokes without pressure data degrade to plain
16
16
  * constant-width `<path>`s.
17
17
  *
18
- * Not ported (TODO, see PORTING.md): ink replay animation and the
18
+ * Not ported (TODO): ink replay animation and the
19
19
  * highlighter/eraser tool blend modes.
20
20
  */
21
21
  type __VLS_Props = {
@@ -1,12 +1,12 @@
1
1
  import { PptxElement, PptxSlide } from 'pptx-viewer-core';
2
2
  import { CanvasSize } from '../types';
3
3
  /**
4
- * SlideCanvas - Vue port of the React `SlideCanvas.tsx` (viewer-first subset).
4
+ * SlideCanvas - Vue port of the React `SlideCanvas.tsx`.
5
5
  *
6
6
  * Centres a {@link SlideStage} in a scrollable viewport with a drop shadow.
7
- * The React version additionally layered in rulers, grid, guides, marquee/
8
- * selection, connector-creation, drawing, and collaboration overlays, all
9
- * tracked in PORTING.md.
7
+ * The rulers, grid, guides, marquee/selection, connector-creation, drawing,
8
+ * and collaboration overlays are layered in by the surrounding viewer
9
+ * components.
10
10
  *
11
11
  * Responsive sizing: the slide has a fixed authored pixel size (e.g. 1280×720),
12
12
  * which overflows small/mobile viewports. We measure the scroll viewport and
@@ -18,7 +18,7 @@ import { ParsedTableStyleMap, PptxElement, PptxThemeColorScheme } from 'pptx-vie
18
18
  *
19
19
  * Editing affordances (inline cell text edit, cell selection + Shift+range
20
20
  * highlight, and column/row drag-resize handles) are layered on when an edit
21
- * context is provided. The raw-OOXML render path is not ported (see PORTING.md).
21
+ * context is provided. The raw-OOXML render path is not ported.
22
22
  */
23
23
  type __VLS_Props = {
24
24
  element: PptxElement;
@@ -1 +1 @@
1
- {"version":3,"file":"element-style.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/element-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAsBpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AA+BzC;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,CAEhF;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,WAAW,GAAG,aAAa,CAoHtE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,WAAW,GAAG,aAAa,CAsGhE;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAC1B,EAAE,EAAE,WAAW,EACf,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,GAAG,SAAS,CAEpB"}
1
+ {"version":3,"file":"element-style.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/element-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAsBpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AA4BzC;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,CAEhF;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,WAAW,GAAG,aAAa,CAoHtE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,WAAW,GAAG,aAAa,CAsGhE;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAC1B,EAAE,EAAE,WAAW,EACf,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,GAAG,SAAS,CAEpB"}
@@ -0,0 +1,101 @@
1
+ import { UseRibbonPropsInput } from './ribbon-props-types';
2
+ /**
3
+ * buildRibbonPropsActions: the callback (action) fields of `RibbonProps`,
4
+ * dispatching into the editor's handlers and toggling its state refs.
5
+ * Extracted from `useRibbonProps.ts` to keep that file under the repo's
6
+ * ~300 LOC convention; see `ribbon-props-state.ts` for the state half.
7
+ */
8
+ export declare function buildRibbonPropsActions(input: UseRibbonPropsInput): {
9
+ onSetMode: (m: "preview" | "edit" | "present" | "master") => void;
10
+ onToggleSidebar: () => void;
11
+ onToggleInspector: () => void;
12
+ onOpenAnimationPanel: () => void;
13
+ onAddAnimation: ((preset: string, group: "entrance" | "emphasis" | "exit") => void) | undefined;
14
+ onRemoveAnimation: (() => void) | undefined;
15
+ onToggleCompactToolbar: () => void;
16
+ onSetToolbarSection: (sec: typeof input.toolbarSection.value) => void;
17
+ onZoomIn: () => void;
18
+ onZoomOut: () => void;
19
+ onZoomToFit: () => void;
20
+ onUndo: () => void;
21
+ onRedo: () => void;
22
+ onToggleFindReplace: () => void;
23
+ onSetNewShapeType: (t: typeof input.newShapeType.value) => void;
24
+ onAddTextBox: () => void;
25
+ onAddShape: () => void;
26
+ onAddTable: () => void;
27
+ onAddChart: (chartType: import('pptx-viewer-core').PptxChartType) => void;
28
+ onAddSmartArt: () => void;
29
+ onAddEquation: () => void;
30
+ onAddActionButton: (shapeType: string) => void;
31
+ onInsertField: undefined;
32
+ onOpenImagePicker: () => void;
33
+ onOpenMediaPicker: () => void;
34
+ onSetActiveTool: (t: typeof input.activeTool.value) => void;
35
+ onSetDrawingColor: (c: string) => void;
36
+ onSetDrawingWidth: (w: number) => void;
37
+ onSetEditTemplateMode: (mode: boolean) => void;
38
+ onSetSpellCheckEnabled: (enabled: boolean) => void;
39
+ onSetShowGrid: (enabled: boolean) => void;
40
+ onSetShowRulers: (enabled: boolean) => void;
41
+ onSetSnapToGrid: (enabled: boolean) => void;
42
+ onSetSnapToShape: (enabled: boolean) => void;
43
+ onAddGuide: (axis: "h" | "v") => void;
44
+ onAlignElements: (edge: string) => void;
45
+ onDistributeElements: (axis: string) => void;
46
+ canDistribute: boolean;
47
+ onCopy: () => void;
48
+ onCut: () => void;
49
+ onPaste: () => void;
50
+ onFlip: (direction: "horizontal" | "vertical") => void;
51
+ onMoveLayer: (dir: string) => void;
52
+ onMoveLayerToEdge: (dir: string) => void;
53
+ onDuplicate: () => void;
54
+ onDelete: () => void;
55
+ onOpenFile: () => void;
56
+ onExportPng: () => void;
57
+ onExportPdf: () => void;
58
+ onExportVideo: () => void;
59
+ onExportGif: () => void;
60
+ onPackageForSharing: () => void;
61
+ onOpenShareDialog: () => void;
62
+ onSaveAsPptx: () => undefined;
63
+ onSaveAsPpsx: () => undefined;
64
+ onSaveAsPptm: () => undefined;
65
+ onCopySlideAsImage: () => undefined;
66
+ onPrint: () => void;
67
+ onToggleShortcuts: () => void;
68
+ onOpenSettings: () => void;
69
+ onRunAccessibilityCheck: () => void;
70
+ onToggleSlideSorter: () => void;
71
+ onUpdateTextStyle: (updates: Partial<import('pptx-viewer-core').TextStyle>) => void;
72
+ onSetOverflowMenuOpen: (o: boolean) => void;
73
+ onInsertSlideFromLayout: (path: string, name?: string) => undefined;
74
+ onSetActiveCustomShowId: (id: string | null) => void;
75
+ onCreateCustomShow: () => void;
76
+ onRenameActiveCustomShow: () => void;
77
+ onDeleteActiveCustomShow: () => void;
78
+ onToggleCurrentSlideInActiveShow: () => void;
79
+ onToggleVersionHistory: () => void;
80
+ onOpenPasswordProtection: () => void;
81
+ onOpenDocumentProperties: () => void;
82
+ onOpenFontEmbedding: () => void;
83
+ onOpenDigitalSignatures: () => void;
84
+ onEnterMasterView: () => void;
85
+ onCloseMasterView: () => void;
86
+ onEnterPresenterView: undefined;
87
+ onEnterRehearsalMode: undefined;
88
+ onToggleThemeEditor: () => void;
89
+ onToggleThemeGallery: () => void;
90
+ onCompare: undefined;
91
+ onToggleComments: () => void;
92
+ onToggleFormatPainter: () => void;
93
+ onToggleSelectionPane: () => void;
94
+ onToggleEyedropper: undefined;
95
+ onOpenSetUpSlideShow: () => void;
96
+ onOpenBroadcastDialog: () => void;
97
+ onToggleSubtitles: () => void;
98
+ onTransitionChange: (updates: Partial<import('pptx-viewer-core').PptxSlideTransition>) => void;
99
+ onApplyTransitionToAll: () => void;
100
+ };
101
+ //# sourceMappingURL=ribbon-props-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ribbon-props-actions.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/ribbon-props-actions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhE;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,mBAAmB;mBAEjD,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ;;;;;;;+BAqB7B,OAAO,KAAK,CAAC,cAAc,CAAC,KAAK;;;;;;;2BAWrC,OAAO,KAAK,CAAC,YAAY,CAAC,KAAK;;;;;;;;;;;yBAiBjC,OAAO,KAAK,CAAC,UAAU,CAAC,KAAK;2BAG3B,MAAM;2BAGN,MAAM;kCAGC,OAAO;sCAGH,OAAO;6BAGhB,OAAO;+BAGL,OAAO;+BAGP,OAAO;gCAGN,OAAO;;4BAIX,MAAM;iCAMD,MAAM;;;;;;uBAUhB,MAAM;;;;;;;;;;;;;;;;;;;;;+BAuCE,OAAO;oCAGF,MAAM,SAAS,MAAM;kCAEvB,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;EAyD5C"}
@@ -0,0 +1,57 @@
1
+ import { UseRibbonPropsInput } from './ribbon-props-types';
2
+ /**
3
+ * buildRibbonPropsState: the state (non-callback) fields of `RibbonProps`,
4
+ * read straight off the editor's refs/computeds. Extracted from
5
+ * `useRibbonProps.ts` to keep that file under the repo's ~300 LOC convention;
6
+ * see `ribbon-props-actions.ts` for the callback half. `useRibbonProps` spreads
7
+ * this together with `buildRibbonPropsActions` and checks the merged object
8
+ * against `RibbonProps`, so the split here is not itself type-checked against
9
+ * the full contract.
10
+ */
11
+ export declare function buildRibbonPropsState(input: UseRibbonPropsInput): {
12
+ mode: import('../components/ribbon/ribbon-types').ViewerMode;
13
+ canEdit: boolean;
14
+ isNarrowViewport: boolean;
15
+ isSidebarCollapsed: boolean;
16
+ isInspectorPaneOpen: boolean;
17
+ isCompactToolbarOpen: boolean;
18
+ toolbarSection: import('../components/ribbon/ribbon-types').ToolbarSection;
19
+ scale: number;
20
+ canUndo: boolean;
21
+ canRedo: boolean;
22
+ undoLabel: undefined;
23
+ redoLabel: undefined;
24
+ findReplaceOpen: boolean;
25
+ selectedElement: import('pptx-viewer-core').PptxElement;
26
+ tableEditorState: import('../components/ribbon/ribbon-types').TableCellEditorState | null;
27
+ editTemplateMode: boolean;
28
+ newShapeType: import('../components/ribbon/ribbon-types').SupportedShapeType;
29
+ activeTool: import('../components/ribbon/ribbon-types').DrawingTool;
30
+ drawingColor: string;
31
+ drawingWidth: number;
32
+ clipboardPayload: {
33
+ kind: string;
34
+ } | null;
35
+ spellCheckEnabled: boolean;
36
+ showGrid: boolean;
37
+ showRulers: boolean;
38
+ snapToGrid: boolean;
39
+ snapToShape: boolean;
40
+ isOverflowMenuOpen: boolean;
41
+ layoutOptions: import('pptx-viewer-core').PptxLayoutOption[];
42
+ customShows: import('pptx-viewer-core').PptxCustomShow[];
43
+ activeCustomShowId: string | null;
44
+ isCurrentSlideInActiveShow: boolean;
45
+ hasMacros: boolean;
46
+ isThemeEditorOpen: boolean;
47
+ isThemeGalleryOpen: boolean;
48
+ isCommentsPanelOpen: boolean;
49
+ slideCommentCount: number;
50
+ formatPainterActive: boolean;
51
+ canActivateFormatPainter: boolean;
52
+ isSelectionPaneOpen: boolean;
53
+ eyedropperActive: boolean;
54
+ showSubtitles: boolean;
55
+ activeSlide: import('pptx-viewer-core').PptxSlide | undefined;
56
+ };
57
+ //# sourceMappingURL=ribbon-props-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ribbon-props-state.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/ribbon-props-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C/D"}
@@ -0,0 +1,119 @@
1
+ import { PptxChartType, PptxComment, PptxCustomShow, PptxElement, PptxLayoutOption, PptxSaveFormat, PptxSlide } from 'pptx-viewer-core';
2
+ import { AlignEdge, DistributeAxis } from 'pptx-viewer-shared';
3
+ import { ComputedRef, Ref } from 'vue';
4
+ import { ShapePreset } from '../components/EditorToolbar.vue';
5
+ import { DrawingTool, RibbonProps, SupportedShapeType, TableCellEditorState, ToolbarSection, ViewerMode } from '../components/ribbon/ribbon-types';
6
+ /**
7
+ * Input types for `useRibbonProps` (split out to keep every ribbon-props file
8
+ * under the repo's ~300 LOC convention). See `useRibbonProps.ts` for the
9
+ * composable itself and `ribbon-props-state.ts` / `ribbon-props-actions.ts`
10
+ * for the two halves of the `RibbonProps` object it builds.
11
+ */
12
+ /** State refs the ribbon adapter reads. */
13
+ export interface UseRibbonPropsStateInput {
14
+ ribbonMode: ComputedRef<ViewerMode>;
15
+ canEdit: () => boolean;
16
+ isMobile: Ref<boolean>;
17
+ sidebarCollapsed: Ref<boolean>;
18
+ inspectorOpen: Ref<boolean>;
19
+ ribbonExpanded: Ref<boolean>;
20
+ toolbarSection: Ref<ToolbarSection>;
21
+ zoom: Ref<number>;
22
+ canUndo: ComputedRef<boolean>;
23
+ canRedo: ComputedRef<boolean>;
24
+ findOpen: Ref<boolean>;
25
+ selectedElements: ComputedRef<PptxElement[]>;
26
+ activeTableSelection: ComputedRef<TableCellEditorState | null>;
27
+ editTemplateMode: Ref<boolean>;
28
+ newShapeType: Ref<SupportedShapeType>;
29
+ activeTool: Ref<DrawingTool>;
30
+ drawingColor: Ref<string>;
31
+ drawingWidth: Ref<number>;
32
+ clipboard: Ref<PptxElement | null>;
33
+ spellCheckEnabled: Ref<boolean>;
34
+ showGrid: Ref<boolean>;
35
+ showRulers: Ref<boolean>;
36
+ snapToGrid: Ref<boolean>;
37
+ snapToShape: Ref<boolean>;
38
+ overflowOpen: Ref<boolean>;
39
+ layoutOptions: Ref<PptxLayoutOption[]>;
40
+ customShows: Ref<PptxCustomShow[]>;
41
+ activeCustomShowId: Ref<string | null>;
42
+ isCurrentSlideInActiveShow: ComputedRef<boolean>;
43
+ themeEditorOpen: Ref<boolean>;
44
+ themeGalleryOpen: Ref<boolean>;
45
+ showComments: Ref<boolean>;
46
+ activeComments: ComputedRef<PptxComment[]>;
47
+ formatPainterActive: Ref<boolean>;
48
+ canActivateFormatPainter: ComputedRef<boolean>;
49
+ showSelectionPane: Ref<boolean>;
50
+ showSubtitles: Ref<boolean>;
51
+ activeSlide: ComputedRef<PptxSlide | undefined>;
52
+ presenting: Ref<boolean>;
53
+ canDistribute: ComputedRef<boolean>;
54
+ shareOpen: Ref<boolean>;
55
+ showShortcuts: Ref<boolean>;
56
+ showSettings: Ref<boolean>;
57
+ showA11y: Ref<boolean>;
58
+ showSorter: Ref<boolean>;
59
+ showCustomShows: Ref<boolean>;
60
+ showVersionHistory: Ref<boolean>;
61
+ showPasswordDialog: Ref<boolean>;
62
+ propertiesOpen: Ref<boolean>;
63
+ showFontEmbedding: Ref<boolean>;
64
+ showSignatures: Ref<boolean>;
65
+ showMasterView: Ref<boolean>;
66
+ showSetUpSlideShow: Ref<boolean>;
67
+ broadcastOpen: Ref<boolean>;
68
+ showInsertSmartArt: Ref<boolean>;
69
+ showEquationEditor: Ref<boolean>;
70
+ }
71
+ /** Action callbacks the ribbon adapter dispatches. */
72
+ export interface UseRibbonPropsActionsInput {
73
+ startPresenting: () => void;
74
+ onAddAnimation: RibbonProps['onAddAnimation'];
75
+ onRemoveAnimation: RibbonProps['onRemoveAnimation'];
76
+ zoomIn: () => void;
77
+ zoomOut: () => void;
78
+ zoomReset: () => void;
79
+ undo: () => void;
80
+ redo: () => void;
81
+ addText: () => void;
82
+ addShape: (preset: ShapePreset) => void;
83
+ addTable: () => void;
84
+ addChart: (chartType: PptxChartType) => void;
85
+ addActionButton: (shapeType: string) => void;
86
+ openImagePicker: () => void;
87
+ openMediaPicker: () => void;
88
+ addGuide: (axis: 'h' | 'v') => void;
89
+ onAlign: (edge: AlignEdge) => void;
90
+ onDistribute: (axis: DistributeAxis) => void;
91
+ copySelected: () => void;
92
+ cutSelected: () => void;
93
+ pasteElement: () => void;
94
+ ribbonFlip: (direction: 'horizontal' | 'vertical') => void;
95
+ bringForward: () => void;
96
+ sendBackward: () => void;
97
+ ribbonMoveToEdge: (dir: string) => void;
98
+ duplicateSelected: () => void;
99
+ deleteSelected: () => void;
100
+ handleOpenFile: () => void;
101
+ onExportPng: () => void;
102
+ onExportPdf: () => void;
103
+ onExportWebm: () => void;
104
+ onExportGif: () => void;
105
+ downloadAs: (format: PptxSaveFormat) => Promise<void>;
106
+ onCopySlideAsImage: () => Promise<void>;
107
+ openPrintDialog: () => void;
108
+ ribbonUpdateTextStyle: RibbonProps['onUpdateTextStyle'];
109
+ insertSlideFromLayout: (layoutPath: string, layoutName?: string) => Promise<void>;
110
+ onRenameActiveCustomShow: () => void;
111
+ onDeleteActiveCustomShow: () => void;
112
+ onToggleCurrentSlideInActiveShow: () => void;
113
+ toggleFormatPainter: () => void;
114
+ onToggleSubtitles: () => void;
115
+ onTransitionChange: RibbonProps['onTransitionChange'];
116
+ onApplyTransitionToAll: () => void;
117
+ }
118
+ export type UseRibbonPropsInput = UseRibbonPropsStateInput & UseRibbonPropsActionsInput;
119
+ //# sourceMappingURL=ribbon-props-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ribbon-props-types.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/ribbon-props-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EACX,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,MAAM,mCAAmC,CAAC;AAE3C;;;;;GAKG;AAEH,2CAA2C;AAC3C,MAAM,WAAW,wBAAwB;IACxC,UAAU,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IACpC,OAAO,EA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