@lofcz/pptist 2.0.23 → 2.0.25
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/README.md +7 -7
- package/dist/embed/agentic-manifest.json +2 -2
- package/dist/embed/pptist-embed.css +1 -1
- package/dist/embed/pptist-embed.js +21541 -21410
- package/dist/types/utils/portal.d.ts +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
# 🧩 Project Positioning
|
|
37
|
-
>
|
|
37
|
+
> The core positioning of this project is a **Web Slide Editing/Presentation Application**. The following are the recommendation levels for common use cases:
|
|
38
38
|
|
|
39
|
-
- **Low-code Platforms / H5 Editors / Image Editors / Whiteboards** (Recommendation: Not Recommended): We suggest choosing open-source projects
|
|
40
|
-
- **PPT
|
|
41
|
-
- **
|
|
42
|
-
- **Office PPT Authoring Tool** (Recommendation: ⭐⭐):
|
|
43
|
-
- **Web Slide Editing/Presentation App** (Recommendation:
|
|
39
|
+
- **Low-code Platforms / H5 Editors / Image Editors / Whiteboards** (Recommendation: Not Recommended): We suggest choosing open-source projects that better match those scenarios.
|
|
40
|
+
- **AI PPT Generation Tool** (Recommendation: ⭐⭐): This project supports a template-based AIPPT generation approach, and also provides a data structure definition for AI to directly generate page data. See `AI_PPT_SCHEMA.md`. In theory, it supports non-template PPT generation, where AI directly generates PPTist data. Note that the final result of AIPPT depends heavily on model capabilities, prompt design, asset generation/retrieval, and other factors. PPTist is better suited as a foundation for carrying, editing, and further processing structured generation results, rather than an out-of-the-box complete AIPPT commercial solution.
|
|
41
|
+
- **PPT File Preview Tool** (Recommendation: ⭐⭐): This project already supports importing PPTX files and can cover many common page contents and styles (roughly 80%+ fidelity overall), making it suitable for online preview, lightweight review, and content browsing. However, because the PPTX ecosystem is complex, animations, special charts, deeply nested structures, non-standard elements, and some advanced styles may inevitably have fidelity differences. If your business requires pixel-perfect fidelity, evaluate with your actual sample files.
|
|
42
|
+
- **Office PPT Authoring Tool** (Recommendation: ⭐⭐): This project supports many common Office PPT features and can import/export local PPTX files, making it usable as a foundation for online authoring and editing. Note that full Office PPT compatibility involves many details, including complex layouts, animations, charts, themes, and masters. Some details will inevitably be lost during file import/export, so 100% fidelity cannot be guaranteed. If your core goal is to fully replace Microsoft PowerPoint, evaluate and make trade-offs with your actual business documents.
|
|
43
|
+
- **Web Slide Editing/Presentation App** (Recommendation: ⭐⭐⭐⭐⭐): This is the most recommended scenario. The core strengths of PPTist are its editing capabilities and editing experience. You can build upon this project to customize or add unique nodes and features according to your needs, without using import/export as the ultimate goal. After all, those customized things do not exist in Office PPT. **Summary: I hope you use PPTist to build a presentation product different from Office PPT, rather than just an editing relay station for Office PPT.**
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
# 🚀 Installation
|
|
@@ -59,7 +59,7 @@ Browser access: http://127.0.0.1:5173/
|
|
|
59
59
|
- History (undo, redo)
|
|
60
60
|
- Shortcuts
|
|
61
61
|
- Right-click menu
|
|
62
|
-
- Import: PPTX (overall fidelity ~80
|
|
62
|
+
- Import: PPTX (overall fidelity ~80%+), JSON, pptist files
|
|
63
63
|
- Export: PPTX (overall fidelity ~95%+), JSON, images, PDF (print), pptist files
|
|
64
64
|
- Template-based AI PPT generation
|
|
65
65
|
### Slide Page Editing
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@lofcz/pptist",
|
|
4
|
-
"packageVersion": "2.0.
|
|
5
|
-
"generatedAt": "2026-06-
|
|
4
|
+
"packageVersion": "2.0.25",
|
|
5
|
+
"generatedAt": "2026-06-28T12:59:44.365Z",
|
|
6
6
|
"summary": "Authoring guidance for the PPTist agentic bridge. The recommended way to build a deck from scratch: (1) pick ONE visual identity with styles.catalog -> deck.applyStyle (academic | minimal | bold | playful), then (2) for each slide pick a recipe from layouts.catalog and add it with slides.createFromLayout({ layoutId, slots }) — the engine themes, positions AND auto-fits every text box (via responsive measurement) so content never overflows. Author slot content as Markdown/plain text or structured values (arrays for bullets, { labels, series } for charts) — never hand-written HTML. Alternative: for pixel-perfect branded decks, use the built-in templates flow (deck.applyTemplate + slides.insertFromTemplate). Avoid blank slides.create / hand-placed elements unless neither a layout nor a template slide fits. Pair this with the machine schema (command payload/return types) in the same manifest.",
|
|
7
7
|
"commandCount": 177,
|
|
8
8
|
"designSystem": {
|