@pptx-editor.dev/vue 0.1.0 → 0.3.0-canary.20261108032713.sha-58e17f1
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/LICENSE +1 -1
- package/README.md +5 -5
- package/dist/index.d.ts +404 -25
- package/dist/index.js +3245 -2074
- package/package.json +4 -4
- package/dist/index.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2026
|
|
189
|
+
Copyright 2026 Eigenpal, Inc.
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -113,22 +113,22 @@ createApp({
|
|
|
113
113
|
| `useParagraphFormat()` | `UseParagraphFormatReturn`: `format` (the selected paragraphs' `ParagraphFormatRead`, with `disagrees`), `isEnabled`, and `apply(update)`, which sends one `setParagraphFormat` and returns whether the engine accepted it |
|
|
114
114
|
| `useSlideLayouts()` | `UseSlideLayoutsReturn`: the deck's slide layouts in gallery order, with their master's name, for a layout picker of your own |
|
|
115
115
|
|
|
116
|
-
The table lists the composables most hosts need. For every composable and its `Use<Name>Return` type, such as `useEditorValueCommand`, `useEditorDialog`, `useSlideshow`, `useNotesPane`, `useOpenFailure`, and `useFonts`, see the [API report](
|
|
116
|
+
The table lists the composables most hosts need. For every composable and its `Use<Name>Return` type, such as `useEditorValueCommand`, `useEditorDialog`, `useSlideshow`, `useNotesPane`, `useOpenFailure`, and `useFonts`, see the [API report](https://github.com/eigenpal/pptx-editor/blob/main/docs/api/vue/index.api.md).
|
|
117
117
|
|
|
118
118
|
The state these composables report comes from the same core functions as the React hooks (`chromeCommandState`, `EMPTY_EDITOR_SNAPSHOT`), so both adapters show the same enabled state and the same refusal reasons. `PptxEditorRoot` holds one editor subscription and shares it with every composable below it.
|
|
119
119
|
|
|
120
120
|
## Dialogs
|
|
121
121
|
|
|
122
|
-
`PptxEditorRoot` mounts the editor's dialogs from one `popups` registry, as React and DOCX Editor do. A render function replaces a packaged dialog, and `false` turns it off; the menu rows that open it show as disabled with the reason. Open a dialog from your own control with `useEditorDialog(key).open()`. See [Dialogs](
|
|
122
|
+
`PptxEditorRoot` mounts the editor's dialogs from one `popups` registry, as React and DOCX Editor do. A render function replaces a packaged dialog, and `false` turns it off; the menu rows that open it show as disabled with the reason. Open a dialog from your own control with `useEditorDialog(key).open()`. See [Dialogs](https://github.com/eigenpal/pptx-editor/blob/main/docs/site/content/customization/dialogs.mdx).
|
|
123
123
|
|
|
124
124
|
## Fonts
|
|
125
125
|
|
|
126
|
-
Bind font bytes to the `fonts` prop of `PptxEditor` or `PptxEditorRoot`, as in DOCX Editor, and listen to `fontError`. Call `useFonts(...origins)` in `<script setup>` for one stable value. A new `fonts` value replaces the faces in place with `setFonts`. See [Fonts](
|
|
126
|
+
Bind font bytes to the `fonts` prop of `PptxEditor` or `PptxEditorRoot`, as in DOCX Editor, and listen to `fontError`. Call `useFonts(...origins)` in `<script setup>` for one stable value. A new `fonts` value replaces the faces in place with `setFonts`. See [Fonts](https://github.com/eigenpal/pptx-editor/blob/main/docs/site/content/customization/fonts.mdx).
|
|
127
127
|
|
|
128
128
|
## Docs and demo
|
|
129
129
|
|
|
130
|
-
- [Customization](
|
|
131
|
-
- [Toolbar](
|
|
130
|
+
- [Customization](https://github.com/eigenpal/pptx-editor/blob/main/docs/site/content/customization/index.mdx): the toolbar, ribbon, menus, dialogs, and layout, with React and Vue examples.
|
|
131
|
+
- [Toolbar](https://github.com/eigenpal/pptx-editor/blob/main/docs/site/content/customization/toolbar.mdx): the customization ladder (`className`, `icon`, `as-child`, `hidden`, slot overrides).
|
|
132
132
|
- Live demo: `bun run dev:vue` in the monorepo (`examples/vue`).
|
|
133
133
|
|
|
134
134
|
## License
|