@libresign/pdf-elements 0.2.4 → 0.3.0
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 +1 -1
- package/dist/pdf-elements.common.js +25126 -24680
- package/dist/pdf-elements.common.js.map +1 -1
- package/dist/pdf-elements.css +1 -1
- package/dist/pdf-elements.umd.js +25126 -24680
- package/dist/pdf-elements.umd.js.map +1 -1
- package/dist/pdf-elements.umd.min.js +2 -2
- package/dist/pdf-elements.umd.min.js.map +1 -1
- package/package.json +1 -2
- package/src/components/DraggableElement.vue +29 -5
- package/src/components/PDFElements.vue +389 -173
- package/src/components/PDFPage.vue +31 -8
- package/src/index.js +0 -5
- package/src/utils/geometry.js +20 -0
- package/src/utils/measurements.js +16 -0
- package/src/utils/objectStore.js +35 -0
- package/src/utils/pageBounds.js +13 -0
- package/src/utils/zoom.js +8 -0
package/README.md
CHANGED
|
@@ -25,6 +25,7 @@ A Vue 2 component for rendering PDFs with draggable and resizable element overla
|
|
|
25
25
|
| `showSelectionHandles` | Boolean | `true` | Show resize/move handles on selected elements |
|
|
26
26
|
| `showElementActions` | Boolean | `true` | Show action buttons on selected elements |
|
|
27
27
|
| `readOnly` | Boolean | `false` | Disable drag, resize, and actions for elements |
|
|
28
|
+
| `ignoreClickOutsideSelectors` | Array | `[]` | CSS selectors that keep the selection active when clicking outside the element |
|
|
28
29
|
| `pageCountFormat` | String | `'{currentPage} of {totalPages}'` | Format string for page counter |
|
|
29
30
|
| `autoFitZoom` | Boolean | `false` | Automatically adjust zoom to fit viewport on window resize |
|
|
30
31
|
|
|
@@ -37,4 +38,3 @@ A Vue 2 component for rendering PDFs with draggable and resizable element overla
|
|
|
37
38
|
- `element-{type}` - Custom element rendering (e.g., `element-signature`)
|
|
38
39
|
- `custom` - Fallback for elements without specific type
|
|
39
40
|
- `actions` - Custom action buttons
|
|
40
|
-
|