Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
ab5054f
Add document manager plugin and multi-document support to viewport an…
bobsingor Oct 13, 2025
d89e99a
Make the tabview working!
bobsingor Oct 14, 2025
8ef7bc5
Improve scroll state restoration and layout readiness
bobsingor Oct 14, 2025
ad76fcf
Add viewport gating feature to plugin
bobsingor Oct 15, 2025
99b5d25
Refactor interaction manager for multi-document support
bobsingor Oct 15, 2025
95eae7d
Refactor zoom plugin for multi-document support
bobsingor Oct 15, 2025
cc8e0e8
Add zoom toolbar and enhance plugin event handling
bobsingor Oct 15, 2025
1231870
Refine zoom state change detection logic
bobsingor Oct 15, 2025
6d235db
Refactor viewport gating to support named gates
bobsingor Oct 15, 2025
9ef68a5
Refactor document ID and state access in plugins
bobsingor Oct 15, 2025
0d898ce
Track marquee zoom mode state in zoom plugin
bobsingor Oct 15, 2025
c9dfc4f
Improve active document handling on close
bobsingor Oct 15, 2025
6dce4bb
Refactor plugin APIs for document-scoped capabilities
bobsingor Oct 16, 2025
1624a03
Refactor spread plugin for per-document state
bobsingor Oct 16, 2025
79d179b
Add pan plugin with document-scoped pan mode
bobsingor Oct 16, 2025
840258b
Refactor toolbar icons to use reusable components
bobsingor Oct 16, 2025
81bee2f
Add page settings menu with rotate and spread controls
bobsingor Oct 16, 2025
08f2eb8
Add print and export support to React Tailwind example
bobsingor Oct 16, 2025
1d300cb
Add reusable loading spinner and improve error handling
bobsingor Oct 17, 2025
c8130bd
Refactor document state hooks and plugin logic
bobsingor Oct 29, 2025
b4cbabd
Refactor spread and scroll plugins for page grouping
bobsingor Oct 29, 2025
e3ccfad
Refactor plugins for multi-document support and state isolation
bobsingor Oct 29, 2025
7a9261f
Refactor page transform props and store dispatch safety
bobsingor Oct 30, 2025
a8f8cc9
Add search and thumbnails sidebars to React Tailwind example
bobsingor Oct 30, 2025
16482ba
Refactor UI with dropdown components and add page controls
bobsingor Oct 30, 2025
a01b05a
Add support for spread plugin in zoom plugin
bobsingor Oct 30, 2025
eb21ab4
Add redaction plugin integration to React Tailwind example
bobsingor Oct 30, 2025
a7b78e8
Add capture area (screenshot) feature to React example
bobsingor Oct 31, 2025
382e992
Add fullscreen plugin integration to React Tailwind example
bobsingor Oct 31, 2025
b09cce9
Add divider and change order of the icon toolbar
bobsingor Oct 31, 2025
55598f2
Add per-document annotation state and toolbar
bobsingor Oct 31, 2025
e75dd55
Add new plugin view manager, for if you want more than one view
bobsingor Nov 5, 2025
67223fb
Add per-key debounce/throttle support to event control
bobsingor Nov 5, 2025
8e72332
Refactor document tab context and improve active doc handling
bobsingor Nov 5, 2025
0c72305
Use document-specific interaction manager activation
bobsingor Nov 5, 2025
61a94f8
Add dynamic annotation tool color support and new tools
bobsingor Nov 5, 2025
81db24a
Redesign tab bar UI with icons and improved layout
bobsingor Nov 5, 2025
6b6a2b3
Add support for fullscreen on specific document elements
bobsingor Nov 5, 2025
031c922
Add undo/redo functionality to annotation toolbar
bobsingor Nov 6, 2025
242dd2f
Add annotation selection menu with delete action
bobsingor Nov 6, 2025
c25ac3b
Refactor React example to add routing and split viewer
bobsingor Nov 6, 2025
b00c34b
Add simple PDF viewer and navigation bar component
bobsingor Nov 6, 2025
35eff63
Refactor to support multi-document plugins in React MUI example
bobsingor Nov 6, 2025
f2747f1
Update pnpm-lock.yaml
bobsingor Nov 6, 2025
fa58f69
Add Vue support and document scoping to plugins
bobsingor Nov 6, 2025
7d1e82f
Refactor Vue plugin hooks and components for document scoping
bobsingor Nov 7, 2025
ad21710
Add multi-document support and document-scoped plugins
bobsingor Nov 7, 2025
9f1d391
Improve documentId reactivity and resource cleanup
bobsingor Nov 7, 2025
4f5bf1d
Fix error issue
bobsingor Nov 7, 2025
f1c9a92
Update Application.vue
bobsingor Nov 7, 2025
e291f7d
Refactor TabBar to use document manager capability
bobsingor Nov 7, 2025
c8b1d15
Fix thumbnail issue on vue
bobsingor Nov 7, 2025
3166fbd
Add scoped event emitter and refactor ThumbnailPlugin
bobsingor Nov 7, 2025
232ca23
Make cache optional on the scopedEmitter
bobsingor Nov 7, 2025
bee5385
Add password prompt
bobsingor Nov 7, 2025
f867b5a
Fix deployment issue
bobsingor Nov 7, 2025
8b6ddbb
Refactor icon components and add Vue UI components
bobsingor Nov 7, 2025
7a057fc
Merge branch 'main' into feature/multi-view
bobsingor Nov 8, 2025
238ad6f
Finish the svelte to support the multi-document
bobsingor Nov 9, 2025
e097f75
Fix some issues in Svelte version
bobsingor Nov 9, 2025
afa1f7b
Add and refactor Svelte components for PDF viewer
bobsingor Nov 9, 2025
9521c0a
Refactor empty state UI and improve document handling
bobsingor Nov 9, 2025
6c2cd56
Refactor React PDF examples to use DocumentManager
bobsingor Nov 9, 2025
aeee92d
Refactor Vue examples to use DocumentManager plugin
bobsingor Nov 9, 2025
0455681
Refactor examples Svelte to use DocumentManager plugin
bobsingor Nov 9, 2025
ab7253d
Add plugin-commands package with multi-framework support
bobsingor Nov 11, 2025
649e28a
Add i18n plugin with multi-framework support
bobsingor Nov 11, 2025
6bd4af6
Refactor UI plugin for schema-based multi-framework support
bobsingor Nov 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .changeset/weak-pugs-hear.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ Add optional **form widget rendering** to the render pipeline.
### What changed

- **@embedpdf/models**

- `PdfRenderPageOptions` now supports `withForms?: boolean` to request drawing interactive form widgets.

- **@embedpdf/engines**

- `PdfiumEngine.renderPage` and `renderPageRect` honor `withForms`.
When enabled, the engine initializes the page form handle and calls `FPDF_FFLDraw` with the correct device transform.
- New helper `computeFormDrawParams(matrix, rect, pageSize, rotation)` calculates start offsets and sizes for `FPDF_FFLDraw`.
Expand Down
13 changes: 12 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
#!/usr/bin/env sh
./node_modules/.bin/lint-staged
# Cross-platform pre-commit for GitHub Desktop, macOS, Windows (Git Bash), Linux.

# Make Node visible for GUI apps (harmless elsewhere)
export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH"

# Load nvm if present (no-op if missing)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

# Prefer Node's built-in npx so we don't rely on pnpm/yarn on PATH
# --no-install ensures it uses the local devDependency
exec npx --no-install lint-staged
10 changes: 5 additions & 5 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ module.exports = {
},
},
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
files: '*.svelte',
options: {
parser: 'svelte',
},
},
],
};
5 changes: 4 additions & 1 deletion examples/react-mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@embedpdf/core": "workspace:*",
"@embedpdf/plugin-loader": "workspace:*",
"@embedpdf/plugin-document-manager": "workspace:*",
"@embedpdf/plugin-viewport": "workspace:*",
"@embedpdf/plugin-scroll": "workspace:*",
"@embedpdf/plugin-zoom": "workspace:*",
Expand All @@ -25,8 +25,11 @@
"@embedpdf/plugin-spread": "workspace:*",
"@embedpdf/plugin-fullscreen": "workspace:*",
"@embedpdf/plugin-export": "workspace:*",
"@embedpdf/plugin-print": "workspace:*",
"@embedpdf/plugin-thumbnail": "workspace:*",
"@embedpdf/plugin-selection": "workspace:*",
"@embedpdf/plugin-capture": "workspace:*",
"@embedpdf/plugin-history": "workspace:*",
"@embedpdf/plugin-annotation": "workspace:*",
"@embedpdf/plugin-redaction": "workspace:*",
"@embedpdf/utils": "workspace:*",
Expand Down
Loading
Loading