D:\code\ui\vue-extend\
├── packages/
│ ├── docx-core/ ← @arcships/docx-core ✅ 已构建 (22KB types)
│ ├── vue-docx/ ← @arcships/vue-docx ✅ 源码完成
│ ├── xlsx-core/ ← @arcships/xlsx-core ✅ 已构建 (27KB types)
│ ├── vue-xlsx/ ← @arcships/vue-xlsx ✅ 源码完成
│ └── vue-extend/ ← @arcships/vue-extend ✅ 8个组件
├── apps/
│ └── demo/ ← 验证应用 ✅ 运行中 :5173
├── package.json
└── pnpm-workspace.yaml
| React API (Extend UI) | Vue API (vue-extend) | 状态 |
|---|---|---|
| DOCX | ||
useDocxEditor(options) |
useDocxEditor(options) |
✅ |
useDocxComments(editor) |
useDocxComments(editor) |
✅ |
useDocxTrackChanges(editor) |
useDocxTrackChanges(editor) |
✅ |
useDocxDocumentTheme(editor) |
useDocxDocumentTheme(editor) |
✅ |
useDocxPageLayout(editor) |
useDocxPageLayout(editor) |
✅ |
useDocxPagination(editor) |
useDocxPagination(editor) |
✅ |
useDocxParagraphStyles(editor) |
useDocxParagraphStyles(editor) |
✅ |
useDocxLineSpacing(editor) |
useDocxLineSpacing(editor) |
✅ |
useDocxBorders(editor) |
useDocxBorders(editor) |
✅ |
useDocxViewerThumbnails(editor) |
useDocxViewerThumbnails(editor) |
✅ |
useDocxModel(file) |
useDocxModel(file) |
✅ |
DocxEditorViewer |
DocxEditorViewer (.vue SFC) |
✅ |
ReactDocxViewer |
DocxViewer (.vue SFC) |
✅ |
layoutDocument(model) |
layoutDocument(model) |
✅ |
parseDocx(buffer) |
parseDocx(buffer) |
✅ |
| XLSX | ||
XlsxViewer |
XlsxViewer (.vue SFC) |
✅ |
XlsxViewerProvider |
XlsxViewerProvider (.vue SFC) |
✅ |
useXlsxViewer() |
useXlsxViewer() |
✅ |
useXlsxViewerController() |
useXlsxViewerController() |
✅ |
useXlsxViewerSelection() |
useXlsxViewerSelection() |
✅ |
useXlsxViewerZoom() |
useXlsxViewerZoom() |
✅ |
useXlsxViewerEditing() |
useXlsxViewerEditing() |
✅ |
cellAddressToA1() |
cellAddressToA1() |
✅ |
columnLabel() |
columnLabel() |
✅ |
| Extend UI | ||
| PDF Viewer | PdfViewer.vue (embedpdf/vue) | ✅ |
| Signature Pad | SignaturePad.vue | ✅ |
| File Upload | FileUpload.vue | ✅ |
| File Thumbnail | FileThumbnail.vue | ✅ |
| Bounding Box Citations | BoundingBoxCitations.vue | ✅ |
| Layout Blocks | LayoutBlocks.vue | ✅ |
| 包 | 类型定义 | JS Bundle |
|---|---|---|
@arcships/docx-core |
22.0 KB | 25.1 KB |
@arcships/xlsx-core |
27.1 KB | 4.0 KB |
26 个源文件覆盖 6 个包,含:
- 5 个纯 TS 模块 (docx-core)
- 4 个 Vue SFC + TS (vue-docx)
- 4 个纯 TS 模块 (xlsx-core)
- 4 个 Vue SFC + TS (vue-xlsx)
- 9 个 Vue SFC + TS (vue-extend)
TypeScript 类型检查全部通过 (pnpm typecheck 在已构建包上通过)。