@embedpdf/plugin-annotation 2.15.0 → 3.0.0-next.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/LICENSE +192 -21
- package/dist/capability-fghl0JmE.js +2680 -0
- package/dist/capability-fghl0JmE.js.map +1 -0
- package/dist/capability-hb2AU0f6.cjs +2739 -0
- package/dist/capability-hb2AU0f6.cjs.map +1 -0
- package/dist/index.cjs +593 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -0
- package/dist/index.d.ts +65 -1
- package/dist/index.js +562 -6998
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +5 -0
- package/dist/internal.d.cts +13 -0
- package/dist/internal.d.ts +13 -0
- package/dist/internal.js +2 -0
- package/dist/types-BhWgqgbX.d.cts +879 -0
- package/dist/types-Da6JRmhw.d.ts +879 -0
- package/package.json +26 -66
- package/dist/lib/actions.d.ts +0 -192
- package/dist/lib/annotation-plugin.d.ts +0 -310
- package/dist/lib/geometry/cloudy-border.d.ts +0 -90
- package/dist/lib/geometry/index.d.ts +0 -2
- package/dist/lib/geometry/rotation.d.ts +0 -32
- package/dist/lib/handlers/callout-free-text.handler.d.ts +0 -3
- package/dist/lib/handlers/circle.handler.d.ts +0 -3
- package/dist/lib/handlers/click-detector.d.ts +0 -27
- package/dist/lib/handlers/free-text.handler.d.ts +0 -3
- package/dist/lib/handlers/index.d.ts +0 -14
- package/dist/lib/handlers/ink.handler.d.ts +0 -3
- package/dist/lib/handlers/insert-text.handler.d.ts +0 -8
- package/dist/lib/handlers/line.handler.d.ts +0 -3
- package/dist/lib/handlers/link.handler.d.ts +0 -3
- package/dist/lib/handlers/polygon.handler.d.ts +0 -3
- package/dist/lib/handlers/polyline.handler.d.ts +0 -3
- package/dist/lib/handlers/replace-text.handler.d.ts +0 -9
- package/dist/lib/handlers/selection-utils.d.ts +0 -7
- package/dist/lib/handlers/square.handler.d.ts +0 -3
- package/dist/lib/handlers/stamp.handler.d.ts +0 -3
- package/dist/lib/handlers/text-markup.handler.d.ts +0 -7
- package/dist/lib/handlers/text.handler.d.ts +0 -3
- package/dist/lib/handlers/types.d.ts +0 -176
- package/dist/lib/helpers.d.ts +0 -46
- package/dist/lib/index.d.ts +0 -21
- package/dist/lib/manifest.d.ts +0 -4
- package/dist/lib/patching/base-patch.d.ts +0 -87
- package/dist/lib/patching/index.d.ts +0 -6
- package/dist/lib/patching/insert-upright.d.ts +0 -20
- package/dist/lib/patching/line-ending-handlers.d.ts +0 -20
- package/dist/lib/patching/line-endings.d.ts +0 -13
- package/dist/lib/patching/patch-registry.d.ts +0 -40
- package/dist/lib/patching/patch-utils.d.ts +0 -97
- package/dist/lib/patching/patches/callout-freetext.patch.d.ts +0 -3
- package/dist/lib/patching/patches/circle.patch.d.ts +0 -3
- package/dist/lib/patching/patches/freetext.patch.d.ts +0 -3
- package/dist/lib/patching/patches/index.d.ts +0 -9
- package/dist/lib/patching/patches/ink.patch.d.ts +0 -3
- package/dist/lib/patching/patches/line.patch.d.ts +0 -3
- package/dist/lib/patching/patches/polygon.patch.d.ts +0 -3
- package/dist/lib/patching/patches/polyline.patch.d.ts +0 -3
- package/dist/lib/patching/patches/square.patch.d.ts +0 -3
- package/dist/lib/patching/patches/stamp.patch.d.ts +0 -3
- package/dist/lib/reducer.d.ts +0 -6
- package/dist/lib/selectors.d.ts +0 -139
- package/dist/lib/tools/default-tools.d.ts +0 -521
- package/dist/lib/tools/tools-utils.d.ts +0 -453
- package/dist/lib/tools/types.d.ts +0 -209
- package/dist/lib/types.d.ts +0 -671
- package/dist/lib/utils/index.d.ts +0 -1
- package/dist/lib/utils/use-state.d.ts +0 -12
- package/dist/preact/adapter.d.ts +0 -14
- package/dist/preact/core.d.ts +0 -1
- package/dist/preact/index.cjs +0 -2
- package/dist/preact/index.cjs.map +0 -1
- package/dist/preact/index.d.ts +0 -1
- package/dist/preact/index.js +0 -4013
- package/dist/preact/index.js.map +0 -1
- package/dist/preact/interaction-manager.d.ts +0 -1
- package/dist/preact/selection.d.ts +0 -1
- package/dist/preact/utils.d.ts +0 -1
- package/dist/react/adapter.d.ts +0 -6
- package/dist/react/core.d.ts +0 -1
- package/dist/react/index.cjs +0 -2
- package/dist/react/index.cjs.map +0 -1
- package/dist/react/index.d.ts +0 -1
- package/dist/react/index.js +0 -4014
- package/dist/react/index.js.map +0 -1
- package/dist/react/interaction-manager.d.ts +0 -1
- package/dist/react/selection.d.ts +0 -1
- package/dist/react/utils.d.ts +0 -1
- package/dist/shared/annotation-bounds.d.ts +0 -14
- package/dist/shared/components/annotation-container.d.ts +0 -71
- package/dist/shared/components/annotation-layer.d.ts +0 -33
- package/dist/shared/components/annotation-navigation-handler.d.ts +0 -1
- package/dist/shared/components/annotation-paint-layer.d.ts +0 -7
- package/dist/shared/components/annotations/callout-free-text-preview.d.ts +0 -15
- package/dist/shared/components/annotations/callout-free-text.d.ts +0 -15
- package/dist/shared/components/annotations/caret.d.ts +0 -24
- package/dist/shared/components/annotations/circle.d.ts +0 -35
- package/dist/shared/components/annotations/free-text.d.ts +0 -17
- package/dist/shared/components/annotations/ink.d.ts +0 -27
- package/dist/shared/components/annotations/line.d.ts +0 -35
- package/dist/shared/components/annotations/link-locked.d.ts +0 -3
- package/dist/shared/components/annotations/link.d.ts +0 -28
- package/dist/shared/components/annotations/polygon.d.ts +0 -23
- package/dist/shared/components/annotations/polyline.d.ts +0 -23
- package/dist/shared/components/annotations/square.d.ts +0 -35
- package/dist/shared/components/annotations/stamp.d.ts +0 -13
- package/dist/shared/components/annotations/text.d.ts +0 -14
- package/dist/shared/components/annotations.d.ts +0 -22
- package/dist/shared/components/appearance-image.d.ts +0 -12
- package/dist/shared/components/built-in-renderers.d.ts +0 -2
- package/dist/shared/components/group-selection-box.d.ts +0 -40
- package/dist/shared/components/index.d.ts +0 -2
- package/dist/shared/components/preview-renderer.d.ts +0 -8
- package/dist/shared/components/render-annotation.d.ts +0 -13
- package/dist/shared/components/text-markup/highlight.d.ts +0 -16
- package/dist/shared/components/text-markup/squiggly.d.ts +0 -16
- package/dist/shared/components/text-markup/strikeout.d.ts +0 -16
- package/dist/shared/components/text-markup/underline.d.ts +0 -16
- package/dist/shared/components/text-markup.d.ts +0 -7
- package/dist/shared/components/types.d.ts +0 -253
- package/dist/shared/context/index.d.ts +0 -1
- package/dist/shared/context/renderer-registry.d.ts +0 -21
- package/dist/shared/hooks/index.d.ts +0 -2
- package/dist/shared/hooks/use-annotation.d.ts +0 -19
- package/dist/shared/hooks/use-ios-zoom-prevention.d.ts +0 -16
- package/dist/shared/index.d.ts +0 -6
- package/dist/shared/types.d.ts +0 -10
- package/dist/shared-preact/annotation-bounds.d.ts +0 -14
- package/dist/shared-preact/components/annotation-container.d.ts +0 -71
- package/dist/shared-preact/components/annotation-layer.d.ts +0 -33
- package/dist/shared-preact/components/annotation-navigation-handler.d.ts +0 -1
- package/dist/shared-preact/components/annotation-paint-layer.d.ts +0 -7
- package/dist/shared-preact/components/annotations/callout-free-text-preview.d.ts +0 -15
- package/dist/shared-preact/components/annotations/callout-free-text.d.ts +0 -15
- package/dist/shared-preact/components/annotations/caret.d.ts +0 -24
- package/dist/shared-preact/components/annotations/circle.d.ts +0 -35
- package/dist/shared-preact/components/annotations/free-text.d.ts +0 -17
- package/dist/shared-preact/components/annotations/ink.d.ts +0 -27
- package/dist/shared-preact/components/annotations/line.d.ts +0 -35
- package/dist/shared-preact/components/annotations/link-locked.d.ts +0 -3
- package/dist/shared-preact/components/annotations/link.d.ts +0 -28
- package/dist/shared-preact/components/annotations/polygon.d.ts +0 -23
- package/dist/shared-preact/components/annotations/polyline.d.ts +0 -23
- package/dist/shared-preact/components/annotations/square.d.ts +0 -35
- package/dist/shared-preact/components/annotations/stamp.d.ts +0 -13
- package/dist/shared-preact/components/annotations/text.d.ts +0 -14
- package/dist/shared-preact/components/annotations.d.ts +0 -22
- package/dist/shared-preact/components/appearance-image.d.ts +0 -12
- package/dist/shared-preact/components/built-in-renderers.d.ts +0 -2
- package/dist/shared-preact/components/group-selection-box.d.ts +0 -40
- package/dist/shared-preact/components/index.d.ts +0 -2
- package/dist/shared-preact/components/preview-renderer.d.ts +0 -8
- package/dist/shared-preact/components/render-annotation.d.ts +0 -13
- package/dist/shared-preact/components/text-markup/highlight.d.ts +0 -16
- package/dist/shared-preact/components/text-markup/squiggly.d.ts +0 -16
- package/dist/shared-preact/components/text-markup/strikeout.d.ts +0 -16
- package/dist/shared-preact/components/text-markup/underline.d.ts +0 -16
- package/dist/shared-preact/components/text-markup.d.ts +0 -7
- package/dist/shared-preact/components/types.d.ts +0 -253
- package/dist/shared-preact/context/index.d.ts +0 -1
- package/dist/shared-preact/context/renderer-registry.d.ts +0 -21
- package/dist/shared-preact/hooks/index.d.ts +0 -2
- package/dist/shared-preact/hooks/use-annotation.d.ts +0 -19
- package/dist/shared-preact/hooks/use-ios-zoom-prevention.d.ts +0 -15
- package/dist/shared-preact/index.d.ts +0 -6
- package/dist/shared-preact/types.d.ts +0 -10
- package/dist/shared-react/annotation-bounds.d.ts +0 -14
- package/dist/shared-react/components/annotation-container.d.ts +0 -71
- package/dist/shared-react/components/annotation-layer.d.ts +0 -33
- package/dist/shared-react/components/annotation-navigation-handler.d.ts +0 -1
- package/dist/shared-react/components/annotation-paint-layer.d.ts +0 -7
- package/dist/shared-react/components/annotations/callout-free-text-preview.d.ts +0 -15
- package/dist/shared-react/components/annotations/callout-free-text.d.ts +0 -15
- package/dist/shared-react/components/annotations/caret.d.ts +0 -24
- package/dist/shared-react/components/annotations/circle.d.ts +0 -35
- package/dist/shared-react/components/annotations/free-text.d.ts +0 -17
- package/dist/shared-react/components/annotations/ink.d.ts +0 -27
- package/dist/shared-react/components/annotations/line.d.ts +0 -35
- package/dist/shared-react/components/annotations/link-locked.d.ts +0 -3
- package/dist/shared-react/components/annotations/link.d.ts +0 -28
- package/dist/shared-react/components/annotations/polygon.d.ts +0 -23
- package/dist/shared-react/components/annotations/polyline.d.ts +0 -23
- package/dist/shared-react/components/annotations/square.d.ts +0 -35
- package/dist/shared-react/components/annotations/stamp.d.ts +0 -13
- package/dist/shared-react/components/annotations/text.d.ts +0 -14
- package/dist/shared-react/components/annotations.d.ts +0 -22
- package/dist/shared-react/components/appearance-image.d.ts +0 -12
- package/dist/shared-react/components/built-in-renderers.d.ts +0 -2
- package/dist/shared-react/components/group-selection-box.d.ts +0 -40
- package/dist/shared-react/components/index.d.ts +0 -2
- package/dist/shared-react/components/preview-renderer.d.ts +0 -8
- package/dist/shared-react/components/render-annotation.d.ts +0 -13
- package/dist/shared-react/components/text-markup/highlight.d.ts +0 -16
- package/dist/shared-react/components/text-markup/squiggly.d.ts +0 -16
- package/dist/shared-react/components/text-markup/strikeout.d.ts +0 -16
- package/dist/shared-react/components/text-markup/underline.d.ts +0 -16
- package/dist/shared-react/components/text-markup.d.ts +0 -7
- package/dist/shared-react/components/types.d.ts +0 -253
- package/dist/shared-react/context/index.d.ts +0 -1
- package/dist/shared-react/context/renderer-registry.d.ts +0 -21
- package/dist/shared-react/hooks/index.d.ts +0 -2
- package/dist/shared-react/hooks/use-annotation.d.ts +0 -19
- package/dist/shared-react/hooks/use-ios-zoom-prevention.d.ts +0 -16
- package/dist/shared-react/index.d.ts +0 -6
- package/dist/shared-react/types.d.ts +0 -10
- package/dist/shared-vue/annotation-bounds.d.ts +0 -14
- package/dist/svelte/components/AnnotationContainer.svelte.d.ts +0 -26
- package/dist/svelte/components/AnnotationLayer.svelte.d.ts +0 -40
- package/dist/svelte/components/AnnotationNavigationHandler.svelte.d.ts +0 -3
- package/dist/svelte/components/AnnotationPaintLayer.svelte.d.ts +0 -8
- package/dist/svelte/components/Annotations.svelte.d.ts +0 -28
- package/dist/svelte/components/AppearanceImage.svelte.d.ts +0 -8
- package/dist/svelte/components/GroupSelectionBox.svelte.d.ts +0 -40
- package/dist/svelte/components/PreviewRenderer.svelte.d.ts +0 -9
- package/dist/svelte/components/RenderAnnotation.svelte.d.ts +0 -14
- package/dist/svelte/components/RendererRegistryProvider.svelte.d.ts +0 -7
- package/dist/svelte/components/TextMarkup.svelte.d.ts +0 -8
- package/dist/svelte/components/annotations/CalloutFreeText.svelte.d.ts +0 -15
- package/dist/svelte/components/annotations/CalloutFreeTextPreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Caret.svelte.d.ts +0 -13
- package/dist/svelte/components/annotations/Circle.svelte.d.ts +0 -19
- package/dist/svelte/components/annotations/CirclePreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/FreeText.svelte.d.ts +0 -16
- package/dist/svelte/components/annotations/FreeTextPreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Ink.svelte.d.ts +0 -15
- package/dist/svelte/components/annotations/InkPreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Line.svelte.d.ts +0 -19
- package/dist/svelte/components/annotations/LinePreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Link.svelte.d.ts +0 -24
- package/dist/svelte/components/annotations/LinkLockedMode.svelte.d.ts +0 -5
- package/dist/svelte/components/annotations/LinkPreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Polygon.svelte.d.ts +0 -21
- package/dist/svelte/components/annotations/PolygonPreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Polyline.svelte.d.ts +0 -19
- package/dist/svelte/components/annotations/PolylinePreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Square.svelte.d.ts +0 -19
- package/dist/svelte/components/annotations/SquarePreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Stamp.svelte.d.ts +0 -13
- package/dist/svelte/components/annotations/StampPreview.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/Text.svelte.d.ts +0 -10
- package/dist/svelte/components/annotations/index.d.ts +0 -10
- package/dist/svelte/components/built-in-renderers.d.ts +0 -2
- package/dist/svelte/components/index.d.ts +0 -11
- package/dist/svelte/components/renderers/CalloutFreeTextRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/CaretRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/CircleRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/FreeTextRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/HighlightRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/InkRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/LineRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/LinkRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/PolygonRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/PolylineRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/SquareRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/SquigglyRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/StampRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/StrikeoutRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/TextRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/renderers/UnderlineRenderer.svelte.d.ts +0 -5
- package/dist/svelte/components/text-markup/Highlight.svelte.d.ts +0 -16
- package/dist/svelte/components/text-markup/Squiggly.svelte.d.ts +0 -16
- package/dist/svelte/components/text-markup/Strikeout.svelte.d.ts +0 -16
- package/dist/svelte/components/text-markup/Underline.svelte.d.ts +0 -16
- package/dist/svelte/components/text-markup/index.d.ts +0 -4
- package/dist/svelte/components/types.d.ts +0 -66
- package/dist/svelte/context/index.d.ts +0 -2
- package/dist/svelte/context/renderer-registry.svelte.d.ts +0 -20
- package/dist/svelte/context/types.d.ts +0 -129
- package/dist/svelte/hooks/index.d.ts +0 -2
- package/dist/svelte/hooks/use-annotation.svelte.d.ts +0 -21
- package/dist/svelte/hooks/use-ios-zoom-prevention.svelte.d.ts +0 -6
- package/dist/svelte/index.cjs +0 -2
- package/dist/svelte/index.cjs.map +0 -1
- package/dist/svelte/index.d.ts +0 -6
- package/dist/svelte/index.js +0 -5257
- package/dist/svelte/index.js.map +0 -1
- package/dist/svelte/types.d.ts +0 -126
- package/dist/vue/components/annotation-container.vue.d.ts +0 -134
- package/dist/vue/components/annotation-layer.vue.d.ts +0 -99
- package/dist/vue/components/annotation-navigation-handler.vue.d.ts +0 -3
- package/dist/vue/components/annotation-paint-layer.vue.d.ts +0 -8
- package/dist/vue/components/annotations/callout-free-text-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/callout-free-text.vue.d.ts +0 -25
- package/dist/vue/components/annotations/caret.vue.d.ts +0 -24
- package/dist/vue/components/annotations/circle-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/circle.vue.d.ts +0 -37
- package/dist/vue/components/annotations/free-text-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/free-text.vue.d.ts +0 -25
- package/dist/vue/components/annotations/index.d.ts +0 -10
- package/dist/vue/components/annotations/ink-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/ink.vue.d.ts +0 -27
- package/dist/vue/components/annotations/line-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/line.vue.d.ts +0 -38
- package/dist/vue/components/annotations/link-locked.vue.d.ts +0 -5
- package/dist/vue/components/annotations/link-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/link.vue.d.ts +0 -47
- package/dist/vue/components/annotations/polygon-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/polygon.vue.d.ts +0 -43
- package/dist/vue/components/annotations/polyline-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/polyline.vue.d.ts +0 -38
- package/dist/vue/components/annotations/square-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/square.vue.d.ts +0 -37
- package/dist/vue/components/annotations/stamp-preview.vue.d.ts +0 -10
- package/dist/vue/components/annotations/stamp.vue.d.ts +0 -19
- package/dist/vue/components/annotations/text.vue.d.ts +0 -14
- package/dist/vue/components/annotations.vue.d.ts +0 -111
- package/dist/vue/components/appearance-image.vue.d.ts +0 -9
- package/dist/vue/components/built-in-renderers.d.ts +0 -2
- package/dist/vue/components/group-selection-box.vue.d.ts +0 -98
- package/dist/vue/components/index.d.ts +0 -11
- package/dist/vue/components/preview-renderer.vue.d.ts +0 -9
- package/dist/vue/components/render-annotation.vue.d.ts +0 -16
- package/dist/vue/components/renderer-registry-provider.vue.d.ts +0 -13
- package/dist/vue/components/renderers/callout-free-text-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/caret-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/circle-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/free-text-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/highlight-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/ink-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/line-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/link-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/polygon-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/polyline-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/square-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/squiggly-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/stamp-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/strikeout-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/text-renderer.vue.d.ts +0 -6
- package/dist/vue/components/renderers/underline-renderer.vue.d.ts +0 -6
- package/dist/vue/components/text-markup/highlight.vue.d.ts +0 -27
- package/dist/vue/components/text-markup/index.d.ts +0 -4
- package/dist/vue/components/text-markup/squiggly.vue.d.ts +0 -27
- package/dist/vue/components/text-markup/strikeout.vue.d.ts +0 -27
- package/dist/vue/components/text-markup/underline.vue.d.ts +0 -27
- package/dist/vue/components/text-markup.vue.d.ts +0 -8
- package/dist/vue/context/index.d.ts +0 -2
- package/dist/vue/context/renderer-registry.d.ts +0 -26
- package/dist/vue/context/types.d.ts +0 -129
- package/dist/vue/hooks/index.d.ts +0 -2
- package/dist/vue/hooks/use-annotation.d.ts +0 -50
- package/dist/vue/hooks/use-ios-zoom-prevention.d.ts +0 -7
- package/dist/vue/index.cjs +0 -2
- package/dist/vue/index.cjs.map +0 -1
- package/dist/vue/index.d.ts +0 -6
- package/dist/vue/index.js +0 -4984
- package/dist/vue/index.js.map +0 -1
- package/dist/vue/types.d.ts +0 -94
package/dist/svelte/types.d.ts
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { PdfAnnotationObject } from '@embedpdf/models';
|
|
2
|
-
import { TrackedAnnotation } from '../lib/index.ts';
|
|
3
|
-
import { SelectionMenuPropsBase, SelectionMenuRenderFn } from '@embedpdf/utils/svelte';
|
|
4
|
-
import { Snippet } from 'svelte';
|
|
5
|
-
export type ResizeDirection = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'none';
|
|
6
|
-
export interface AnnotationSelectionContext {
|
|
7
|
-
type: 'annotation';
|
|
8
|
-
annotation: TrackedAnnotation;
|
|
9
|
-
pageIndex: number;
|
|
10
|
-
/**
|
|
11
|
-
* Derived: PDF `locked` flag is set OR the annotation is non-interactive.
|
|
12
|
-
* Consumers should disable move/resize/rotate/delete/property-change menu items
|
|
13
|
-
* when this is true.
|
|
14
|
-
*/
|
|
15
|
-
structurallyLocked: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Derived: PDF `lockedContents` flag is set OR the annotation is non-interactive.
|
|
18
|
-
* Consumers should disable content-editing menu items (e.g. FreeText text edit)
|
|
19
|
-
* when this is true.
|
|
20
|
-
*/
|
|
21
|
-
contentLocked: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface GroupSelectionContext {
|
|
24
|
-
type: 'group';
|
|
25
|
-
annotations: TrackedAnnotation[];
|
|
26
|
-
pageIndex: number;
|
|
27
|
-
}
|
|
28
|
-
export type AnnotationSelectionMenuProps = SelectionMenuPropsBase<AnnotationSelectionContext>;
|
|
29
|
-
export type AnnotationSelectionMenuRenderFn = SelectionMenuRenderFn<AnnotationSelectionContext>;
|
|
30
|
-
export type GroupSelectionMenuProps = SelectionMenuPropsBase<GroupSelectionContext>;
|
|
31
|
-
export type GroupSelectionMenuRenderFn = SelectionMenuRenderFn<GroupSelectionContext>;
|
|
32
|
-
export interface HandleProps {
|
|
33
|
-
backgroundColor?: string;
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
}
|
|
36
|
-
/** UI customization for resize handles */
|
|
37
|
-
export interface ResizeHandleUI {
|
|
38
|
-
/** Handle size in CSS px (default: 12) */
|
|
39
|
-
size?: number;
|
|
40
|
-
/** Default background color for the handle (used by default renderer) */
|
|
41
|
-
color?: string;
|
|
42
|
-
/** Custom renderer for each handle (overrides default) */
|
|
43
|
-
component?: Snippet<[HandleProps]>;
|
|
44
|
-
}
|
|
45
|
-
/** UI customization for vertex handles */
|
|
46
|
-
export interface VertexHandleUI {
|
|
47
|
-
/** Handle size in CSS px (default: 12) */
|
|
48
|
-
size?: number;
|
|
49
|
-
/** Default background color for the handle (used by default renderer) */
|
|
50
|
-
color?: string;
|
|
51
|
-
/** Custom renderer for each vertex (overrides default) */
|
|
52
|
-
component?: Snippet<[HandleProps]>;
|
|
53
|
-
}
|
|
54
|
-
export type BorderStyle = 'solid' | 'dashed' | 'dotted';
|
|
55
|
-
/** Border configuration for the rotation handle */
|
|
56
|
-
export interface RotationHandleBorder {
|
|
57
|
-
/** Border color (default: '#007ACC') */
|
|
58
|
-
color?: string;
|
|
59
|
-
/** Border style (default: 'solid') */
|
|
60
|
-
style?: BorderStyle;
|
|
61
|
-
/** Border width in px (default: 1) */
|
|
62
|
-
width?: number;
|
|
63
|
-
}
|
|
64
|
-
/** Props for the rotation handle component */
|
|
65
|
-
export interface RotationHandleComponentProps extends HandleProps {
|
|
66
|
-
/** Props for the connector line element */
|
|
67
|
-
connectorStyle?: string;
|
|
68
|
-
/** Whether to show the connector line */
|
|
69
|
-
showConnector?: boolean;
|
|
70
|
-
/** Color for the icon inside the handle (default: '#007ACC') */
|
|
71
|
-
iconColor?: string;
|
|
72
|
-
/** Opacity of the handle (0 during active rotation) */
|
|
73
|
-
opacity?: number;
|
|
74
|
-
/** Resolved border configuration */
|
|
75
|
-
border?: RotationHandleBorder;
|
|
76
|
-
}
|
|
77
|
-
/** UI customization for rotation handle */
|
|
78
|
-
export interface RotationHandleUI {
|
|
79
|
-
/** Handle size in CSS px (default: 32) */
|
|
80
|
-
size?: number;
|
|
81
|
-
/** Gap in CSS px between the bounding box edge and the rotation handle center (default: 20) */
|
|
82
|
-
margin?: number;
|
|
83
|
-
/** Default background color for the handle (default: 'white') */
|
|
84
|
-
color?: string;
|
|
85
|
-
/** Color for the connector line (default: '#007ACC') */
|
|
86
|
-
connectorColor?: string;
|
|
87
|
-
/** Whether to show the connector line (default: false) */
|
|
88
|
-
showConnector?: boolean;
|
|
89
|
-
/** Color for the icon inside the handle (default: '#007ACC') */
|
|
90
|
-
iconColor?: string;
|
|
91
|
-
/** Border configuration for the handle */
|
|
92
|
-
border?: RotationHandleBorder;
|
|
93
|
-
/** Custom renderer for the rotation handle (overrides default) */
|
|
94
|
-
component?: Snippet<[RotationHandleComponentProps]>;
|
|
95
|
-
}
|
|
96
|
-
/** Customize the selection outline (color, style, width, offset) */
|
|
97
|
-
export interface SelectionOutline {
|
|
98
|
-
/** Outline color (default: '#007ACC') */
|
|
99
|
-
color?: string;
|
|
100
|
-
/** Outline style (default: 'solid' for single, 'dashed' for group) */
|
|
101
|
-
style?: BorderStyle;
|
|
102
|
-
/** Outline width in px (default: 1 for single, 2 for group) */
|
|
103
|
-
width?: number;
|
|
104
|
-
/** Outline offset in px (default: 1 for single, 2 for group) */
|
|
105
|
-
offset?: number;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Props for the custom annotation renderer
|
|
109
|
-
*/
|
|
110
|
-
export interface CustomAnnotationRendererProps<T extends PdfAnnotationObject> {
|
|
111
|
-
annotation: T;
|
|
112
|
-
children: Snippet;
|
|
113
|
-
isSelected: boolean;
|
|
114
|
-
scale: number;
|
|
115
|
-
rotation: number;
|
|
116
|
-
pageWidth: number;
|
|
117
|
-
pageHeight: number;
|
|
118
|
-
pageIndex: number;
|
|
119
|
-
onSelect: (event: any) => void;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Custom renderer for an annotation
|
|
123
|
-
*/
|
|
124
|
-
export type CustomAnnotationRenderer<T extends PdfAnnotationObject> = Snippet<[
|
|
125
|
-
CustomAnnotationRendererProps<T>
|
|
126
|
-
]>;
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
2
|
-
import { PdfAnnotationObject, AnnotationAppearances, CssBlendMode } from '@embedpdf/models';
|
|
3
|
-
import { SelectionMenuPlacement } from '@embedpdf/utils/vue';
|
|
4
|
-
import { TrackedAnnotation } from '../../lib';
|
|
5
|
-
import { VertexConfig } from '../../shared-vue/types';
|
|
6
|
-
import { AnnotationSelectionContext, AnnotationSelectionMenuRenderFn, ResizeHandleUI, VertexHandleUI, RotationHandleUI, SelectionOutline } from '../types';
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
declare const __VLS_export: <T extends PdfAnnotationObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
11
|
-
scale: number;
|
|
12
|
-
documentId: string;
|
|
13
|
-
pageIndex: number;
|
|
14
|
-
rotation: number;
|
|
15
|
-
pageWidth: number;
|
|
16
|
-
pageHeight: number;
|
|
17
|
-
trackedAnnotation: TrackedAnnotation<T>;
|
|
18
|
-
isSelected: boolean;
|
|
19
|
-
/** Whether the annotation is in editing mode */
|
|
20
|
-
isEditing?: boolean;
|
|
21
|
-
/** Whether multiple annotations are selected (container becomes passive) */
|
|
22
|
-
isMultiSelected?: boolean;
|
|
23
|
-
isDraggable: boolean;
|
|
24
|
-
isResizable: boolean;
|
|
25
|
-
isRotatable?: boolean;
|
|
26
|
-
lockAspectRatio?: boolean;
|
|
27
|
-
vertexConfig?: VertexConfig<T>;
|
|
28
|
-
selectionMenu?: AnnotationSelectionMenuRenderFn;
|
|
29
|
-
/**
|
|
30
|
-
* Derived: PDF `locked` flag is set OR the annotation is non-interactive.
|
|
31
|
-
* Threaded into the selection menu context so custom menus can disable move/
|
|
32
|
-
* resize/rotate/delete/property-change items without recomputing flags.
|
|
33
|
-
*/
|
|
34
|
-
structurallyLocked?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Derived: PDF `lockedContents` flag is set OR the annotation is non-interactive.
|
|
37
|
-
* Threaded into the selection menu context so custom menus can disable content
|
|
38
|
-
* edit items without recomputing flags.
|
|
39
|
-
*/
|
|
40
|
-
contentLocked?: boolean;
|
|
41
|
-
/** @deprecated Use `selectionOutline.offset` instead */
|
|
42
|
-
outlineOffset?: number;
|
|
43
|
-
onDoubleClick?: (event: PointerEvent | MouseEvent) => void;
|
|
44
|
-
onSelect: (event: PointerEvent | MouseEvent) => void;
|
|
45
|
-
/** Pre-rendered appearance stream images for AP mode rendering */
|
|
46
|
-
appearance?: AnnotationAppearances<Blob> | null;
|
|
47
|
-
zIndex?: number;
|
|
48
|
-
/** @deprecated Use `selectionOutline.color` instead */
|
|
49
|
-
selectionOutlineColor?: string;
|
|
50
|
-
/** Customize the selection outline (color, style, width, offset) */
|
|
51
|
-
selectionOutline?: SelectionOutline;
|
|
52
|
-
/** Customize resize handle appearance */
|
|
53
|
-
resizeUi?: ResizeHandleUI;
|
|
54
|
-
/** Customize vertex handle appearance */
|
|
55
|
-
vertexUi?: VertexHandleUI;
|
|
56
|
-
/** Customize rotation handle appearance */
|
|
57
|
-
rotationUi?: RotationHandleUI;
|
|
58
|
-
blendMode?: CssBlendMode;
|
|
59
|
-
style?: CSSProperties;
|
|
60
|
-
}> & (typeof globalThis extends {
|
|
61
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
62
|
-
} ? P : {});
|
|
63
|
-
expose: (exposed: {}) => void;
|
|
64
|
-
attrs: any;
|
|
65
|
-
slots: {
|
|
66
|
-
default?: (props: {
|
|
67
|
-
annotation: T;
|
|
68
|
-
appearanceActive: boolean;
|
|
69
|
-
}) => any;
|
|
70
|
-
} & {
|
|
71
|
-
'rotation-handle'?: (props: {
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
key?: string | number;
|
|
74
|
-
style: CSSProperties;
|
|
75
|
-
backgroundColor: string;
|
|
76
|
-
iconColor: string;
|
|
77
|
-
connectorStyle: CSSProperties;
|
|
78
|
-
showConnector: boolean;
|
|
79
|
-
opacity: number;
|
|
80
|
-
border: import('..').RotationHandleBorder;
|
|
81
|
-
} | {
|
|
82
|
-
[x: string]: never;
|
|
83
|
-
}) => any;
|
|
84
|
-
} & {
|
|
85
|
-
'resize-handle'?: (props: {
|
|
86
|
-
backgroundColor: string;
|
|
87
|
-
onPointerdown: (e: PointerEvent) => void;
|
|
88
|
-
onPointermove: (e: PointerEvent) => void;
|
|
89
|
-
onPointerup: (e: PointerEvent) => void;
|
|
90
|
-
onPointercancel: (e: PointerEvent) => void;
|
|
91
|
-
key: string | number | undefined;
|
|
92
|
-
style: CSSProperties;
|
|
93
|
-
}) => any;
|
|
94
|
-
} & {
|
|
95
|
-
'vertex-handle'?: (props: {
|
|
96
|
-
backgroundColor: string;
|
|
97
|
-
onPointerdown: (e: PointerEvent) => void;
|
|
98
|
-
onPointermove: (e: PointerEvent) => void;
|
|
99
|
-
onPointerup: (e: PointerEvent) => void;
|
|
100
|
-
onPointercancel: (e: PointerEvent) => void;
|
|
101
|
-
key: string | number | undefined;
|
|
102
|
-
style: CSSProperties;
|
|
103
|
-
}) => any;
|
|
104
|
-
} & {
|
|
105
|
-
'selection-menu'?: (props: {
|
|
106
|
-
context: AnnotationSelectionContext;
|
|
107
|
-
selected: boolean;
|
|
108
|
-
rect: {
|
|
109
|
-
origin: {
|
|
110
|
-
x: number;
|
|
111
|
-
y: number;
|
|
112
|
-
};
|
|
113
|
-
size: {
|
|
114
|
-
width: number;
|
|
115
|
-
height: number;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
placement: SelectionMenuPlacement;
|
|
119
|
-
menuWrapperProps: {
|
|
120
|
-
style: CSSProperties;
|
|
121
|
-
onPointerdown: (e: PointerEvent) => void;
|
|
122
|
-
onTouchstart: (e: TouchEvent) => void;
|
|
123
|
-
};
|
|
124
|
-
}) => any;
|
|
125
|
-
};
|
|
126
|
-
emit: {};
|
|
127
|
-
}>) => import('vue').VNode & {
|
|
128
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
129
|
-
};
|
|
130
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
131
|
-
[K in keyof T]: T[K];
|
|
132
|
-
} : {
|
|
133
|
-
[K in keyof T as K]: T[K];
|
|
134
|
-
}) & {};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AnnotationSelectionMenuRenderFn, GroupSelectionMenuRenderFn, ResizeHandleUI, VertexHandleUI, RotationHandleUI, SelectionOutline } from '../types';
|
|
2
|
-
import { BoxedAnnotationRenderer } from '../context';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
/** The ID of the document that this layer displays annotations for */
|
|
5
|
-
documentId: string;
|
|
6
|
-
pageIndex: number;
|
|
7
|
-
scale?: number;
|
|
8
|
-
rotation?: number;
|
|
9
|
-
/** Customize resize handles */
|
|
10
|
-
resizeUi?: ResizeHandleUI;
|
|
11
|
-
/** @deprecated Use `resizeUi` (or `:resize-ui` in templates) instead */
|
|
12
|
-
resizeUI?: ResizeHandleUI;
|
|
13
|
-
/** Customize vertex handles */
|
|
14
|
-
vertexUi?: VertexHandleUI;
|
|
15
|
-
/** @deprecated Use `vertexUi` (or `:vertex-ui` in templates) instead */
|
|
16
|
-
vertexUI?: VertexHandleUI;
|
|
17
|
-
/** Customize rotation handle */
|
|
18
|
-
rotationUi?: RotationHandleUI;
|
|
19
|
-
/** @deprecated Use `selectionOutline` instead */
|
|
20
|
-
selectionOutlineColor?: string;
|
|
21
|
-
/** Customize the selection outline for individual annotations */
|
|
22
|
-
selectionOutline?: SelectionOutline;
|
|
23
|
-
/** Customize the selection outline for the group selection box (falls back to selectionOutline) */
|
|
24
|
-
groupSelectionOutline?: SelectionOutline;
|
|
25
|
-
/** Customize selection menu */
|
|
26
|
-
selectionMenu?: AnnotationSelectionMenuRenderFn;
|
|
27
|
-
/** Customize group selection menu */
|
|
28
|
-
groupSelectionMenu?: GroupSelectionMenuRenderFn;
|
|
29
|
-
/** Custom renderers for specific annotation types (provided by external plugins) */
|
|
30
|
-
annotationRenderers?: BoxedAnnotationRenderer[];
|
|
31
|
-
};
|
|
32
|
-
declare var __VLS_8: {
|
|
33
|
-
context: import('..').AnnotationSelectionContext;
|
|
34
|
-
selected: boolean;
|
|
35
|
-
rect: {
|
|
36
|
-
origin: {
|
|
37
|
-
x: number;
|
|
38
|
-
y: number;
|
|
39
|
-
};
|
|
40
|
-
size: {
|
|
41
|
-
width: number;
|
|
42
|
-
height: number;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
placement: import('@embedpdf/utils').SelectionMenuPlacement;
|
|
46
|
-
menuWrapperProps: {
|
|
47
|
-
style: import('vue').CSSProperties;
|
|
48
|
-
onPointerdown: (e: PointerEvent) => void;
|
|
49
|
-
onTouchstart: (e: TouchEvent) => void;
|
|
50
|
-
};
|
|
51
|
-
}, __VLS_11: any, __VLS_14: {
|
|
52
|
-
backgroundColor: string;
|
|
53
|
-
onPointerdown: (e: PointerEvent) => void;
|
|
54
|
-
onPointermove: (e: PointerEvent) => void;
|
|
55
|
-
onPointerup: (e: PointerEvent) => void;
|
|
56
|
-
onPointercancel: (e: PointerEvent) => void;
|
|
57
|
-
key: string | number | undefined;
|
|
58
|
-
style: import('vue').CSSProperties;
|
|
59
|
-
}, __VLS_17: {
|
|
60
|
-
backgroundColor: string;
|
|
61
|
-
onPointerdown: (e: PointerEvent) => void;
|
|
62
|
-
onPointermove: (e: PointerEvent) => void;
|
|
63
|
-
onPointerup: (e: PointerEvent) => void;
|
|
64
|
-
onPointercancel: (e: PointerEvent) => void;
|
|
65
|
-
key: string | number | undefined;
|
|
66
|
-
style: import('vue').CSSProperties;
|
|
67
|
-
}, __VLS_20: {
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
key?: string | number;
|
|
70
|
-
style: import('vue').CSSProperties;
|
|
71
|
-
backgroundColor: string;
|
|
72
|
-
iconColor: string;
|
|
73
|
-
connectorStyle: import('vue').CSSProperties;
|
|
74
|
-
showConnector: boolean;
|
|
75
|
-
opacity: number;
|
|
76
|
-
border: import('..').RotationHandleBorder;
|
|
77
|
-
} | {
|
|
78
|
-
[x: string]: never;
|
|
79
|
-
};
|
|
80
|
-
type __VLS_Slots = {} & {
|
|
81
|
-
'selection-menu'?: (props: typeof __VLS_8) => any;
|
|
82
|
-
} & {
|
|
83
|
-
'group-selection-menu'?: (props: typeof __VLS_11) => any;
|
|
84
|
-
} & {
|
|
85
|
-
'resize-handle'?: (props: typeof __VLS_14) => any;
|
|
86
|
-
} & {
|
|
87
|
-
'vertex-handle'?: (props: typeof __VLS_17) => any;
|
|
88
|
-
} & {
|
|
89
|
-
'rotation-handle'?: (props: typeof __VLS_20) => any;
|
|
90
|
-
};
|
|
91
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
92
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
93
|
-
declare const _default: typeof __VLS_export;
|
|
94
|
-
export default _default;
|
|
95
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
96
|
-
new (): {
|
|
97
|
-
$slots: S;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
documentId: string;
|
|
3
|
-
pageIndex: number;
|
|
4
|
-
scale: number;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
import { FreeTextPreviewData } from '../../../lib';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
data: FreeTextPreviewData;
|
|
5
|
-
bounds: Rect;
|
|
6
|
-
scale: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PdfFreeTextAnnoObject } from '@embedpdf/models';
|
|
2
|
-
import { TrackedAnnotation } from '../../../lib';
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
5
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
|
-
documentId: string;
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
isEditing: boolean;
|
|
9
|
-
annotation: TrackedAnnotation<PdfFreeTextAnnoObject>;
|
|
10
|
-
pageIndex: number;
|
|
11
|
-
scale: number;
|
|
12
|
-
onClick?: (e: PointerEvent) => void;
|
|
13
|
-
appearanceActive?: boolean;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
documentId: string;
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
isEditing: boolean;
|
|
18
|
-
annotation: TrackedAnnotation<PdfFreeTextAnnoObject>;
|
|
19
|
-
pageIndex: number;
|
|
20
|
-
scale: number;
|
|
21
|
-
onClick?: (e: PointerEvent) => void;
|
|
22
|
-
appearanceActive?: boolean;
|
|
23
|
-
}> & Readonly<{}>, {
|
|
24
|
-
appearanceActive: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
4
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
strokeColor?: string;
|
|
7
|
-
opacity?: number;
|
|
8
|
-
rect: Rect;
|
|
9
|
-
scale: number;
|
|
10
|
-
onClick?: (e: PointerEvent) => void;
|
|
11
|
-
appearanceActive?: boolean;
|
|
12
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
isSelected: boolean;
|
|
14
|
-
strokeColor?: string;
|
|
15
|
-
opacity?: number;
|
|
16
|
-
rect: Rect;
|
|
17
|
-
scale: number;
|
|
18
|
-
onClick?: (e: PointerEvent) => void;
|
|
19
|
-
appearanceActive?: boolean;
|
|
20
|
-
}> & Readonly<{}>, {
|
|
21
|
-
strokeColor: string;
|
|
22
|
-
opacity: number;
|
|
23
|
-
appearanceActive: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
import { CirclePreviewData } from '../../../lib';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
data: CirclePreviewData;
|
|
5
|
-
bounds: Rect;
|
|
6
|
-
scale: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { PdfAnnotationBorderStyle, PdfRectDifferences, Rect } from '@embedpdf/models';
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
4
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
color?: string;
|
|
7
|
-
strokeColor?: string;
|
|
8
|
-
opacity?: number;
|
|
9
|
-
strokeWidth: number;
|
|
10
|
-
strokeStyle?: PdfAnnotationBorderStyle;
|
|
11
|
-
strokeDashArray?: number[];
|
|
12
|
-
rect: Rect;
|
|
13
|
-
scale: number;
|
|
14
|
-
onClick?: (e: PointerEvent) => void;
|
|
15
|
-
appearanceActive?: boolean;
|
|
16
|
-
cloudyBorderIntensity?: number;
|
|
17
|
-
rectangleDifferences?: PdfRectDifferences;
|
|
18
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
-
isSelected: boolean;
|
|
20
|
-
color?: string;
|
|
21
|
-
strokeColor?: string;
|
|
22
|
-
opacity?: number;
|
|
23
|
-
strokeWidth: number;
|
|
24
|
-
strokeStyle?: PdfAnnotationBorderStyle;
|
|
25
|
-
strokeDashArray?: number[];
|
|
26
|
-
rect: Rect;
|
|
27
|
-
scale: number;
|
|
28
|
-
onClick?: (e: PointerEvent) => void;
|
|
29
|
-
appearanceActive?: boolean;
|
|
30
|
-
cloudyBorderIntensity?: number;
|
|
31
|
-
rectangleDifferences?: PdfRectDifferences;
|
|
32
|
-
}> & Readonly<{}>, {
|
|
33
|
-
color: string;
|
|
34
|
-
opacity: number;
|
|
35
|
-
strokeStyle: PdfAnnotationBorderStyle;
|
|
36
|
-
appearanceActive: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
import { FreeTextPreviewData } from '../../../lib';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
data: FreeTextPreviewData;
|
|
5
|
-
bounds: Rect;
|
|
6
|
-
scale: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PdfFreeTextAnnoObject } from '@embedpdf/models';
|
|
2
|
-
import { TrackedAnnotation } from '../../../lib';
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
5
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
|
-
documentId: string;
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
isEditing: boolean;
|
|
9
|
-
annotation: TrackedAnnotation<PdfFreeTextAnnoObject>;
|
|
10
|
-
pageIndex: number;
|
|
11
|
-
scale: number;
|
|
12
|
-
onClick?: (e: PointerEvent) => void;
|
|
13
|
-
appearanceActive?: boolean;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
documentId: string;
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
isEditing: boolean;
|
|
18
|
-
annotation: TrackedAnnotation<PdfFreeTextAnnoObject>;
|
|
19
|
-
pageIndex: number;
|
|
20
|
-
scale: number;
|
|
21
|
-
onClick?: (e: PointerEvent) => void;
|
|
22
|
-
appearanceActive?: boolean;
|
|
23
|
-
}> & Readonly<{}>, {
|
|
24
|
-
appearanceActive: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as Circle } from './circle.vue';
|
|
2
|
-
export { default as FreeText } from './free-text.vue';
|
|
3
|
-
export { default as Ink } from './ink.vue';
|
|
4
|
-
export { default as Line } from './line.vue';
|
|
5
|
-
export { default as Link } from './link.vue';
|
|
6
|
-
export { default as Polygon } from './polygon.vue';
|
|
7
|
-
export { default as Polyline } from './polyline.vue';
|
|
8
|
-
export { default as Square } from './square.vue';
|
|
9
|
-
export { default as Stamp } from './stamp.vue';
|
|
10
|
-
export { default as Text } from './text.vue';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
import { InkPreviewData } from '../../../lib';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
data: InkPreviewData;
|
|
5
|
-
bounds: Rect;
|
|
6
|
-
scale: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PdfInkListObject, Rect } from '@embedpdf/models';
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
4
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
strokeColor?: string;
|
|
7
|
-
opacity?: number;
|
|
8
|
-
strokeWidth: number;
|
|
9
|
-
inkList: PdfInkListObject[];
|
|
10
|
-
rect: Rect;
|
|
11
|
-
scale: number;
|
|
12
|
-
onClick?: (e: PointerEvent) => void;
|
|
13
|
-
appearanceActive?: boolean;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
isSelected: boolean;
|
|
16
|
-
strokeColor?: string;
|
|
17
|
-
opacity?: number;
|
|
18
|
-
strokeWidth: number;
|
|
19
|
-
inkList: PdfInkListObject[];
|
|
20
|
-
rect: Rect;
|
|
21
|
-
scale: number;
|
|
22
|
-
onClick?: (e: PointerEvent) => void;
|
|
23
|
-
appearanceActive?: boolean;
|
|
24
|
-
}> & Readonly<{}>, {
|
|
25
|
-
opacity: number;
|
|
26
|
-
appearanceActive: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
import { LinePreviewData } from '../../../lib';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
data: LinePreviewData;
|
|
5
|
-
bounds: Rect;
|
|
6
|
-
scale: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Rect, LinePoints, LineEndings, PdfAnnotationBorderStyle } from '@embedpdf/models';
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
4
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
5
|
-
color?: string;
|
|
6
|
-
opacity?: number;
|
|
7
|
-
strokeWidth: number;
|
|
8
|
-
strokeColor?: string;
|
|
9
|
-
strokeStyle?: PdfAnnotationBorderStyle;
|
|
10
|
-
strokeDashArray?: number[];
|
|
11
|
-
rect: Rect;
|
|
12
|
-
linePoints: LinePoints;
|
|
13
|
-
lineEndings?: LineEndings;
|
|
14
|
-
scale: number;
|
|
15
|
-
onClick?: (e: PointerEvent) => void;
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
appearanceActive?: boolean;
|
|
18
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
-
color?: string;
|
|
20
|
-
opacity?: number;
|
|
21
|
-
strokeWidth: number;
|
|
22
|
-
strokeColor?: string;
|
|
23
|
-
strokeStyle?: PdfAnnotationBorderStyle;
|
|
24
|
-
strokeDashArray?: number[];
|
|
25
|
-
rect: Rect;
|
|
26
|
-
linePoints: LinePoints;
|
|
27
|
-
lineEndings?: LineEndings;
|
|
28
|
-
scale: number;
|
|
29
|
-
onClick?: (e: PointerEvent) => void;
|
|
30
|
-
isSelected: boolean;
|
|
31
|
-
appearanceActive?: boolean;
|
|
32
|
-
}> & Readonly<{}>, {
|
|
33
|
-
strokeColor: string;
|
|
34
|
-
color: string;
|
|
35
|
-
opacity: number;
|
|
36
|
-
strokeStyle: PdfAnnotationBorderStyle;
|
|
37
|
-
appearanceActive: boolean;
|
|
38
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { PdfLinkAnnoObject } from '@embedpdf/models';
|
|
2
|
-
import { AnnotationRendererProps } from '../../context/types';
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
5
|
-
declare const __VLS_export: import('vue').DefineComponent<AnnotationRendererProps<PdfLinkAnnoObject>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AnnotationRendererProps<PdfLinkAnnoObject>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Rect } from '@embedpdf/models';
|
|
2
|
-
import { LinkPreviewData } from '../../../lib';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
data: LinkPreviewData;
|
|
5
|
-
bounds: Rect;
|
|
6
|
-
scale: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|