@embedpdf/vue 0.0.0-stage → 3.0.0-next.16
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 -0
- package/README.md +258 -2
- package/dist/Anchored.vue_vue_type_script_setup_true_lang-BEImlFso.cjs +124 -0
- package/dist/Anchored.vue_vue_type_script_setup_true_lang-BEImlFso.cjs.map +1 -0
- package/dist/Anchored.vue_vue_type_script_setup_true_lang-Brhh5jyF.js +125 -0
- package/dist/Anchored.vue_vue_type_script_setup_true_lang-Brhh5jyF.js.map +1 -0
- package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-BwtHXw73.cjs +20 -0
- package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-BwtHXw73.cjs.map +1 -0
- package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-Ulkr3a6R.js +21 -0
- package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-Ulkr3a6R.js.map +1 -0
- package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-C-7yeEGh.js +192 -0
- package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-C-7yeEGh.js.map +1 -0
- package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-czzeUzPl.cjs +191 -0
- package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-czzeUzPl.cjs.map +1 -0
- package/dist/FormLayer.vue_vue_type_script_setup_true_lang-BA0_VwFc.cjs +682 -0
- package/dist/FormLayer.vue_vue_type_script_setup_true_lang-BA0_VwFc.cjs.map +1 -0
- package/dist/FormLayer.vue_vue_type_script_setup_true_lang-DUqft-xs.js +683 -0
- package/dist/FormLayer.vue_vue_type_script_setup_true_lang-DUqft-xs.js.map +1 -0
- package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-C5-eQD34.cjs +174 -0
- package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-C5-eQD34.cjs.map +1 -0
- package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-EzLaOP3g.js +175 -0
- package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-EzLaOP3g.js.map +1 -0
- package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-CJt3vdBW.js +33 -0
- package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-CJt3vdBW.js.map +1 -0
- package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-Cw29c8Oa.cjs +32 -0
- package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-Cw29c8Oa.cjs.map +1 -0
- package/dist/PageView.vue_vue_type_script_setup_true_lang-CjrpumX2.cjs +151 -0
- package/dist/PageView.vue_vue_type_script_setup_true_lang-CjrpumX2.cjs.map +1 -0
- package/dist/PageView.vue_vue_type_script_setup_true_lang-O4AFc0_R.js +152 -0
- package/dist/PageView.vue_vue_type_script_setup_true_lang-O4AFc0_R.js.map +1 -0
- package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-DrOORC1H.cjs +480 -0
- package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-DrOORC1H.cjs.map +1 -0
- package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-HbCryx1B.js +481 -0
- package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-HbCryx1B.js.map +1 -0
- package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-BlLIPH1B.js +118 -0
- package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-BlLIPH1B.js.map +1 -0
- package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-CQozZCvB.cjs +117 -0
- package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-CQozZCvB.cjs.map +1 -0
- package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C4TUDuyu.js +302 -0
- package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C4TUDuyu.js.map +1 -0
- package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C8T9q6Kb.cjs +301 -0
- package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C8T9q6Kb.cjs.map +1 -0
- package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-D_c-wINF.cjs +38 -0
- package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-D_c-wINF.cjs.map +1 -0
- package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-fOTs4aqv.js +39 -0
- package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-fOTs4aqv.js.map +1 -0
- package/dist/actions.cjs +42 -0
- package/dist/actions.cjs.map +1 -0
- package/dist/actions.d.cts +41 -0
- package/dist/actions.d.ts +41 -0
- package/dist/actions.js +37 -0
- package/dist/actions.js.map +1 -0
- package/dist/anchored/Anchored.vue.d.cts +40 -0
- package/dist/anchored/Anchored.vue.d.ts +40 -0
- package/dist/anchored/AnchoredScope.vue.d.cts +17 -0
- package/dist/anchored/AnchoredScope.vue.d.ts +17 -0
- package/dist/anchored/PlacedAnchored.vue.d.cts +19 -0
- package/dist/anchored/PlacedAnchored.vue.d.ts +19 -0
- package/dist/anchored/projector.d.cts +32 -0
- package/dist/anchored/projector.d.ts +32 -0
- package/dist/anchored.cjs +13 -0
- package/dist/anchored.cjs.map +1 -0
- package/dist/anchored.d.cts +15 -0
- package/dist/anchored.d.ts +15 -0
- package/dist/anchored.js +13 -0
- package/dist/anchored.js.map +1 -0
- package/dist/annotation/AnnotationChrome.vue.d.cts +20 -0
- package/dist/annotation/AnnotationChrome.vue.d.ts +20 -0
- package/dist/annotation/AnnotationDraftMenu.vue.d.cts +26 -0
- package/dist/annotation/AnnotationDraftMenu.vue.d.ts +26 -0
- package/dist/annotation/AnnotationFrame.vue.d.cts +25 -0
- package/dist/annotation/AnnotationFrame.vue.d.ts +25 -0
- package/dist/annotation/AnnotationLayer.vue.d.cts +23 -0
- package/dist/annotation/AnnotationLayer.vue.d.ts +23 -0
- package/dist/annotation/AnnotationLook.vue.d.cts +21 -0
- package/dist/annotation/AnnotationLook.vue.d.ts +21 -0
- package/dist/annotation/AnnotationMenu.vue.d.cts +23 -0
- package/dist/annotation/AnnotationMenu.vue.d.ts +23 -0
- package/dist/annotation/AnnotationRotationBadge.vue.d.cts +26 -0
- package/dist/annotation/AnnotationRotationBadge.vue.d.ts +26 -0
- package/dist/annotation/AnnotationScene.vue.d.cts +7 -0
- package/dist/annotation/AnnotationScene.vue.d.ts +7 -0
- package/dist/annotation/FreeTextBox.vue.d.cts +9 -0
- package/dist/annotation/FreeTextBox.vue.d.ts +9 -0
- package/dist/annotation/NativeDrawing.vue.d.cts +10 -0
- package/dist/annotation/NativeDrawing.vue.d.ts +10 -0
- package/dist/annotation/StampGhost.vue.d.cts +7 -0
- package/dist/annotation/StampGhost.vue.d.ts +7 -0
- package/dist/annotation/composables.d.cts +76 -0
- package/dist/annotation/composables.d.ts +76 -0
- package/dist/annotation/state.d.cts +19 -0
- package/dist/annotation/state.d.ts +19 -0
- package/dist/annotation/text-box.d.cts +28 -0
- package/dist/annotation/text-box.d.ts +28 -0
- package/dist/annotation/types.d.cts +154 -0
- package/dist/annotation/types.d.ts +154 -0
- package/dist/annotation.cjs +29 -0
- package/dist/annotation.cjs.map +1 -0
- package/dist/annotation.d.cts +35 -0
- package/dist/annotation.d.ts +35 -0
- package/dist/annotation.js +23 -0
- package/dist/annotation.js.map +1 -0
- package/dist/attachment.cjs +22 -0
- package/dist/attachment.cjs.map +1 -0
- package/dist/attachment.d.cts +34 -0
- package/dist/attachment.d.ts +34 -0
- package/dist/attachment.js +17 -0
- package/dist/attachment.js.map +1 -0
- package/dist/capabilities-C7YzgPCX.js +164 -0
- package/dist/capabilities-C7YzgPCX.js.map +1 -0
- package/dist/capabilities-DVNJmgy7.cjs +163 -0
- package/dist/capabilities-DVNJmgy7.cjs.map +1 -0
- package/dist/commands.cjs +81 -0
- package/dist/commands.cjs.map +1 -0
- package/dist/commands.d.cts +61 -0
- package/dist/commands.d.ts +61 -0
- package/dist/commands.js +76 -0
- package/dist/commands.js.map +1 -0
- package/dist/composables-BGBsNDf9.cjs +25 -0
- package/dist/composables-BGBsNDf9.cjs.map +1 -0
- package/dist/composables-Bi6QvJpj.cjs +978 -0
- package/dist/composables-Bi6QvJpj.cjs.map +1 -0
- package/dist/composables-DK3lwh38.js +979 -0
- package/dist/composables-DK3lwh38.js.map +1 -0
- package/dist/composables-DwsZdg06.js +26 -0
- package/dist/composables-DwsZdg06.js.map +1 -0
- package/dist/dev-CtMlvxjZ.js +17 -0
- package/dist/dev-CtMlvxjZ.js.map +1 -0
- package/dist/dev-eeIS2B4c.cjs +16 -0
- package/dist/dev-eeIS2B4c.cjs.map +1 -0
- package/dist/dev.d.cts +11 -0
- package/dist/dev.d.ts +11 -0
- package/dist/documents-DUu5H4yH.js +34 -0
- package/dist/documents-DUu5H4yH.js.map +1 -0
- package/dist/documents-TQ1fMdWI.cjs +33 -0
- package/dist/documents-TQ1fMdWI.cjs.map +1 -0
- package/dist/form/ButtonControl.vue.d.cts +11 -0
- package/dist/form/ButtonControl.vue.d.ts +11 -0
- package/dist/form/ComboControl.vue.d.cts +11 -0
- package/dist/form/ComboControl.vue.d.ts +11 -0
- package/dist/form/FieldPictures.vue.d.cts +3 -0
- package/dist/form/FieldPictures.vue.d.ts +3 -0
- package/dist/form/FormFocusRing.vue.d.cts +8 -0
- package/dist/form/FormFocusRing.vue.d.ts +8 -0
- package/dist/form/FormLayer.vue.d.cts +3 -0
- package/dist/form/FormLayer.vue.d.ts +3 -0
- package/dist/form/ListControl.vue.d.cts +11 -0
- package/dist/form/ListControl.vue.d.ts +11 -0
- package/dist/form/NativeListBox.vue.d.cts +27 -0
- package/dist/form/NativeListBox.vue.d.ts +27 -0
- package/dist/form/SignatureControl.vue.d.cts +11 -0
- package/dist/form/SignatureControl.vue.d.ts +11 -0
- package/dist/form/TextControl.vue.d.cts +11 -0
- package/dist/form/TextControl.vue.d.ts +11 -0
- package/dist/form/ToggleControl.vue.d.cts +11 -0
- package/dist/form/ToggleControl.vue.d.ts +11 -0
- package/dist/form/composables.d.cts +52 -0
- package/dist/form/composables.d.ts +52 -0
- package/dist/form/widget-box.d.cts +34 -0
- package/dist/form/widget-box.d.ts +34 -0
- package/dist/form.cjs +17 -0
- package/dist/form.cjs.map +1 -0
- package/dist/form.d.cts +12 -0
- package/dist/form.d.ts +12 -0
- package/dist/form.js +11 -0
- package/dist/form.js.map +1 -0
- package/dist/history.cjs +22 -0
- package/dist/history.cjs.map +1 -0
- package/dist/history.d.cts +31 -0
- package/dist/history.d.ts +31 -0
- package/dist/history.js +17 -0
- package/dist/history.js.map +1 -0
- package/dist/i18n.cjs +29 -0
- package/dist/i18n.cjs.map +1 -0
- package/dist/i18n.d.cts +36 -0
- package/dist/i18n.d.ts +36 -0
- package/dist/i18n.js +24 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.cjs +414 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +32 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.js +234 -0
- package/dist/index.js.map +1 -0
- package/dist/interaction/PagePointerSource.vue.d.cts +3 -0
- package/dist/interaction/PagePointerSource.vue.d.ts +3 -0
- package/dist/interaction.cjs +63 -0
- package/dist/interaction.cjs.map +1 -0
- package/dist/interaction.d.cts +40 -0
- package/dist/interaction.d.ts +40 -0
- package/dist/interaction.js +47 -0
- package/dist/interaction.js.map +1 -0
- package/dist/link/LinkAnchor.vue.d.cts +9 -0
- package/dist/link/LinkAnchor.vue.d.ts +9 -0
- package/dist/link/LinkLayer.vue.d.cts +22 -0
- package/dist/link/LinkLayer.vue.d.ts +22 -0
- package/dist/link/composables.d.cts +29 -0
- package/dist/link/composables.d.ts +29 -0
- package/dist/link.cjs +14 -0
- package/dist/link.cjs.map +1 -0
- package/dist/link.d.cts +11 -0
- package/dist/link.d.ts +11 -0
- package/dist/link.js +8 -0
- package/dist/link.js.map +1 -0
- package/dist/measurement.cjs +43 -0
- package/dist/measurement.cjs.map +1 -0
- package/dist/measurement.d.cts +51 -0
- package/dist/measurement.d.ts +51 -0
- package/dist/measurement.js +38 -0
- package/dist/measurement.js.map +1 -0
- package/dist/metadata.cjs +22 -0
- package/dist/metadata.cjs.map +1 -0
- package/dist/metadata.d.cts +31 -0
- package/dist/metadata.d.ts +31 -0
- package/dist/metadata.js +17 -0
- package/dist/metadata.js.map +1 -0
- package/dist/outline.cjs +22 -0
- package/dist/outline.cjs.map +1 -0
- package/dist/outline.d.cts +36 -0
- package/dist/outline.d.ts +36 -0
- package/dist/outline.js +17 -0
- package/dist/outline.js.map +1 -0
- package/dist/page-D9XIuLSj.js +16 -0
- package/dist/page-D9XIuLSj.js.map +1 -0
- package/dist/page-Doy4_Sdz.cjs +15 -0
- package/dist/page-Doy4_Sdz.cjs.map +1 -0
- package/dist/page-edit.cjs +18 -0
- package/dist/page-edit.cjs.map +1 -0
- package/dist/page-edit.d.cts +28 -0
- package/dist/page-edit.d.ts +28 -0
- package/dist/page-edit.js +13 -0
- package/dist/page-edit.js.map +1 -0
- package/dist/page-layers-c-CJYAUO.cjs +30 -0
- package/dist/page-layers-c-CJYAUO.cjs.map +1 -0
- package/dist/page-layers-rlh4-1qr.js +31 -0
- package/dist/page-layers-rlh4-1qr.js.map +1 -0
- package/dist/page-layers.d.cts +21 -0
- package/dist/page-layers.d.ts +21 -0
- package/dist/page-view/PageView.vue.d.cts +42 -0
- package/dist/page-view/PageView.vue.d.ts +42 -0
- package/dist/page-view.cjs +5 -0
- package/dist/page-view.cjs.map +1 -0
- package/dist/page-view.d.cts +10 -0
- package/dist/page-view.d.ts +10 -0
- package/dist/page-view.js +5 -0
- package/dist/page-view.js.map +1 -0
- package/dist/projector-CDZn1kh1.js +32 -0
- package/dist/projector-CDZn1kh1.js.map +1 -0
- package/dist/projector-Cf7879sx.cjs +31 -0
- package/dist/projector-Cf7879sx.cjs.map +1 -0
- package/dist/redaction.cjs +34 -0
- package/dist/redaction.cjs.map +1 -0
- package/dist/redaction.d.cts +44 -0
- package/dist/redaction.d.ts +44 -0
- package/dist/redaction.js +29 -0
- package/dist/redaction.js.map +1 -0
- package/dist/render/RenderLayer.vue.d.cts +23 -0
- package/dist/render/RenderLayer.vue.d.ts +23 -0
- package/dist/render/TileImage.vue.d.cts +13 -0
- package/dist/render/TileImage.vue.d.ts +13 -0
- package/dist/render/TilePlane.vue.d.cts +7 -0
- package/dist/render/TilePlane.vue.d.ts +7 -0
- package/dist/render.cjs +262 -0
- package/dist/render.cjs.map +1 -0
- package/dist/render.d.cts +16 -0
- package/dist/render.d.ts +16 -0
- package/dist/render.js +257 -0
- package/dist/render.js.map +1 -0
- package/dist/runtime/DocumentGate.vue.d.cts +24 -0
- package/dist/runtime/DocumentGate.vue.d.ts +24 -0
- package/dist/runtime/DocumentScope.vue.d.cts +16 -0
- package/dist/runtime/DocumentScope.vue.d.ts +16 -0
- package/dist/runtime/KernelProvider.vue.d.cts +17 -0
- package/dist/runtime/KernelProvider.vue.d.ts +17 -0
- package/dist/runtime/SvgShapes.vue.d.cts +7 -0
- package/dist/runtime/SvgShapes.vue.d.ts +7 -0
- package/dist/runtime/Viewer.vue.d.cts +57 -0
- package/dist/runtime/Viewer.vue.d.ts +57 -0
- package/dist/runtime/capabilities.d.cts +52 -0
- package/dist/runtime/capabilities.d.ts +52 -0
- package/dist/runtime/documents.d.cts +42 -0
- package/dist/runtime/documents.d.ts +42 -0
- package/dist/runtime/kernel.d.cts +36 -0
- package/dist/runtime/kernel.d.ts +36 -0
- package/dist/runtime/page.d.cts +15 -0
- package/dist/runtime/page.d.ts +15 -0
- package/dist/runtime/refs.d.cts +12 -0
- package/dist/runtime/refs.d.ts +12 -0
- package/dist/runtime/surface-box.d.cts +12 -0
- package/dist/runtime/surface-box.d.ts +12 -0
- package/dist/runtime.cjs +53 -0
- package/dist/runtime.cjs.map +1 -0
- package/dist/runtime.d.cts +24 -0
- package/dist/runtime.d.ts +24 -0
- package/dist/runtime.js +38 -0
- package/dist/runtime.js.map +1 -0
- package/dist/scope-BQA4toWB.cjs +17 -0
- package/dist/scope-BQA4toWB.cjs.map +1 -0
- package/dist/scope-BgdCqnYb.js +18 -0
- package/dist/scope-BgdCqnYb.js.map +1 -0
- package/dist/search/SearchLayer.vue.d.cts +17 -0
- package/dist/search/SearchLayer.vue.d.ts +17 -0
- package/dist/search/composables.d.cts +31 -0
- package/dist/search/composables.d.ts +31 -0
- package/dist/search.cjs +17 -0
- package/dist/search.cjs.map +1 -0
- package/dist/search.d.cts +10 -0
- package/dist/search.d.ts +10 -0
- package/dist/search.js +11 -0
- package/dist/search.js.map +1 -0
- package/dist/selection/SelectionClipboard.vue.d.cts +24 -0
- package/dist/selection/SelectionClipboard.vue.d.ts +24 -0
- package/dist/selection/SelectionHandles.vue.d.cts +8 -0
- package/dist/selection/SelectionHandles.vue.d.ts +8 -0
- package/dist/selection/SelectionLayer.vue.d.cts +3 -0
- package/dist/selection/SelectionLayer.vue.d.ts +3 -0
- package/dist/selection/SelectionMenu.vue.d.cts +23 -0
- package/dist/selection/SelectionMenu.vue.d.ts +23 -0
- package/dist/selection/composables.d.cts +24 -0
- package/dist/selection/composables.d.ts +24 -0
- package/dist/selection.cjs +24 -0
- package/dist/selection.cjs.map +1 -0
- package/dist/selection.d.cts +16 -0
- package/dist/selection.d.ts +16 -0
- package/dist/selection.js +15 -0
- package/dist/selection.js.map +1 -0
- package/dist/shell.cjs +72 -0
- package/dist/shell.cjs.map +1 -0
- package/dist/shell.d.cts +56 -0
- package/dist/shell.d.ts +56 -0
- package/dist/shell.js +67 -0
- package/dist/shell.js.map +1 -0
- package/dist/signature/composables.d.cts +39 -0
- package/dist/signature/composables.d.ts +39 -0
- package/dist/signature.cjs +16 -0
- package/dist/signature.cjs.map +1 -0
- package/dist/signature.d.cts +15 -0
- package/dist/signature.d.ts +15 -0
- package/dist/signature.js +10 -0
- package/dist/signature.js.map +1 -0
- package/dist/stage/PageSurface.vue.d.cts +29 -0
- package/dist/stage/PageSurface.vue.d.ts +29 -0
- package/dist/stage/Scrollbar.vue.d.cts +32 -0
- package/dist/stage/Scrollbar.vue.d.ts +32 -0
- package/dist/stage/Stage.vue.d.cts +44 -0
- package/dist/stage/Stage.vue.d.ts +44 -0
- package/dist/stage/StageScope.vue.d.cts +17 -0
- package/dist/stage/StageScope.vue.d.ts +17 -0
- package/dist/stage/composables.d.cts +41 -0
- package/dist/stage/composables.d.ts +41 -0
- package/dist/stage/scope.d.cts +12 -0
- package/dist/stage/scope.d.ts +12 -0
- package/dist/stage.cjs +21 -0
- package/dist/stage.cjs.map +1 -0
- package/dist/stage.d.cts +17 -0
- package/dist/stage.d.ts +17 -0
- package/dist/stage.js +15 -0
- package/dist/stage.js.map +1 -0
- package/dist/stamp.cjs +68 -0
- package/dist/stamp.cjs.map +1 -0
- package/dist/stamp.d.cts +61 -0
- package/dist/stamp.d.ts +61 -0
- package/dist/stamp.js +61 -0
- package/dist/stamp.js.map +1 -0
- package/dist/state-DZg8q3v6.js +52 -0
- package/dist/state-DZg8q3v6.js.map +1 -0
- package/dist/state-M22NDJQo.cjs +51 -0
- package/dist/state-M22NDJQo.cjs.map +1 -0
- package/dist/state.d.cts +32 -0
- package/dist/state.d.ts +32 -0
- package/dist/strip-BSDB39Xh.cjs +743 -0
- package/dist/strip-BSDB39Xh.cjs.map +1 -0
- package/dist/strip-C3wLonKB.js +744 -0
- package/dist/strip-C3wLonKB.js.map +1 -0
- package/dist/surface-box-B9oa4YoG.js +12 -0
- package/dist/surface-box-B9oa4YoG.js.map +1 -0
- package/dist/surface-box-C7EvUOXp.cjs +11 -0
- package/dist/surface-box-C7EvUOXp.cjs.map +1 -0
- package/dist/theme.d.cts +13 -0
- package/dist/theme.d.ts +13 -0
- package/dist/toolbar/DefaultCollapsed.vue.d.cts +9 -0
- package/dist/toolbar/DefaultCollapsed.vue.d.ts +9 -0
- package/dist/toolbar/DefaultCommand.vue.d.cts +8 -0
- package/dist/toolbar/DefaultCommand.vue.d.ts +8 -0
- package/dist/toolbar/DefaultGroupTrigger.vue.d.cts +9 -0
- package/dist/toolbar/DefaultGroupTrigger.vue.d.ts +9 -0
- package/dist/toolbar/DefaultOverflowMenu.vue.d.cts +9 -0
- package/dist/toolbar/DefaultOverflowMenu.vue.d.ts +9 -0
- package/dist/toolbar/DefaultOverflowTrigger.vue.d.cts +10 -0
- package/dist/toolbar/DefaultOverflowTrigger.vue.d.ts +10 -0
- package/dist/toolbar/Measured.vue.d.cts +21 -0
- package/dist/toolbar/Measured.vue.d.ts +21 -0
- package/dist/toolbar/NativeSlotSocket.vue.d.cts +22 -0
- package/dist/toolbar/NativeSlotSocket.vue.d.ts +22 -0
- package/dist/toolbar/Toolbar.vue.d.cts +82 -0
- package/dist/toolbar/Toolbar.vue.d.ts +82 -0
- package/dist/toolbar/ToolbarPart.vue.d.cts +42 -0
- package/dist/toolbar/ToolbarPart.vue.d.ts +42 -0
- package/dist/toolbar/paint.d.cts +3 -0
- package/dist/toolbar/paint.d.ts +3 -0
- package/dist/toolbar/strip.d.cts +14 -0
- package/dist/toolbar/strip.d.ts +14 -0
- package/dist/toolbar/views.d.cts +15 -0
- package/dist/toolbar/views.d.ts +15 -0
- package/dist/toolbar.cjs +27 -0
- package/dist/toolbar.cjs.map +1 -0
- package/dist/toolbar.d.cts +14 -0
- package/dist/toolbar.d.ts +14 -0
- package/dist/toolbar.js +12 -0
- package/dist/toolbar.js.map +1 -0
- package/dist/view-manager.cjs +22 -0
- package/dist/view-manager.cjs.map +1 -0
- package/dist/view-manager.d.cts +24 -0
- package/dist/view-manager.d.ts +24 -0
- package/dist/view-manager.js +17 -0
- package/dist/view-manager.js.map +1 -0
- package/package.json +179 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AnchoredPlacement, AnchoredRect, AnchorTarget } from '@embedpdf/web';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* The box on a page to sit next to, in page coordinates: `{ page, bounds }`,
|
|
5
|
+
* with `avoid` points to keep clear of. `null`, or a target without
|
|
6
|
+
* `bounds` (a search match with no geometry), hides it.
|
|
7
|
+
*/
|
|
8
|
+
anchor: (Omit<AnchorTarget, 'bounds'> & {
|
|
9
|
+
bounds?: AnchoredRect;
|
|
10
|
+
}) | null;
|
|
11
|
+
/** Where to sit: a side of the box, centred, or lined up with the side's start or end (`'top-end'`). */
|
|
12
|
+
placement?: AnchoredPlacement;
|
|
13
|
+
/**
|
|
14
|
+
* Gap in screen px between the box and the content, and between the content
|
|
15
|
+
* and the view's edge. Negative overlaps the box.
|
|
16
|
+
*/
|
|
17
|
+
gap?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Stay where `placement` puts it: never flip to the other side, never move
|
|
20
|
+
* to stay in view, and scroll away with the box. For badges and status;
|
|
21
|
+
* menus leave it off.
|
|
22
|
+
*/
|
|
23
|
+
pinned?: boolean;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = {
|
|
26
|
+
default?(): unknown;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
|
+
gap: number;
|
|
30
|
+
placement: AnchoredPlacement;
|
|
31
|
+
pinned: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AnchoredPlacement, AnchoredRect, AnchorTarget } from '@embedpdf/web';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* The box on a page to sit next to, in page coordinates: `{ page, bounds }`,
|
|
5
|
+
* with `avoid` points to keep clear of. `null`, or a target without
|
|
6
|
+
* `bounds` (a search match with no geometry), hides it.
|
|
7
|
+
*/
|
|
8
|
+
anchor: (Omit<AnchorTarget, 'bounds'> & {
|
|
9
|
+
bounds?: AnchoredRect;
|
|
10
|
+
}) | null;
|
|
11
|
+
/** Where to sit: a side of the box, centred, or lined up with the side's start or end (`'top-end'`). */
|
|
12
|
+
placement?: AnchoredPlacement;
|
|
13
|
+
/**
|
|
14
|
+
* Gap in screen px between the box and the content, and between the content
|
|
15
|
+
* and the view's edge. Negative overlaps the box.
|
|
16
|
+
*/
|
|
17
|
+
gap?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Stay where `placement` puts it: never flip to the other side, never move
|
|
20
|
+
* to stay in view, and scroll away with the box. For badges and status;
|
|
21
|
+
* menus leave it off.
|
|
22
|
+
*/
|
|
23
|
+
pinned?: boolean;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = {
|
|
26
|
+
default?(): unknown;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
|
+
gap: number;
|
|
30
|
+
placement: AnchoredPlacement;
|
|
31
|
+
pinned: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ProjectorBinding, ShownPages } from './projector.cjs';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
binding: ProjectorBinding;
|
|
4
|
+
shown: ShownPages;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?(): unknown;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ProjectorBinding, ShownPages } from './projector.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
binding: ProjectorBinding;
|
|
4
|
+
shown: ShownPages;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?(): unknown;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AnchoredPlacement, AnchorTarget } from '@embedpdf/web';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
target: AnchorTarget;
|
|
4
|
+
placement: AnchoredPlacement;
|
|
5
|
+
gap: number;
|
|
6
|
+
pinned: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default?(): unknown;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AnchoredPlacement, AnchorTarget } from '@embedpdf/web';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
target: AnchorTarget;
|
|
4
|
+
placement: AnchoredPlacement;
|
|
5
|
+
gap: number;
|
|
6
|
+
pinned: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default?(): unknown;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { ViewProjector } from '@embedpdf/web';
|
|
3
|
+
/** What a page surface provides: the pure projection snapshot, bound to Vue's reactivity. */
|
|
4
|
+
export interface ProjectorBinding {
|
|
5
|
+
projector: ViewProjector;
|
|
6
|
+
/**
|
|
7
|
+
* Changes exactly when projection may have changed for state-driven reasons:
|
|
8
|
+
* the Stage uses its visible pages (one value that already folds camera,
|
|
9
|
+
* viewport, scene and pixel ratio). Nothing reads it; it is what makes the
|
|
10
|
+
* binding a new value, so don't leave it out.
|
|
11
|
+
*/
|
|
12
|
+
revision: unknown;
|
|
13
|
+
/** Browser-driven invalidation only (a surface the document's scroll moves). The Stage provides none. */
|
|
14
|
+
subscribe?: (callback: () => void) => () => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The pages a surface shows right now, by object number. A value of its own,
|
|
18
|
+
* next to the projection, because it changes only when a page comes on screen
|
|
19
|
+
* or leaves it: anchored UI on the other pages reads only this, so it sits out
|
|
20
|
+
* every camera frame.
|
|
21
|
+
*/
|
|
22
|
+
export type ShownPages = ReadonlySet<number>;
|
|
23
|
+
/** Installed by page surfaces (through `<AnchoredScope>`), not by app code. */
|
|
24
|
+
export declare function provideProjector(binding: Readonly<Ref<ProjectorBinding>>): void;
|
|
25
|
+
/** Installed by page surfaces (through `<AnchoredScope>`), not by app code. */
|
|
26
|
+
export declare function provideShownPages(shown: Readonly<Ref<ShownPages>>): void;
|
|
27
|
+
/** The surface's projector binding, or null outside any page surface: for chrome that degrades instead of throwing. */
|
|
28
|
+
export declare function useOptionalProjectorBinding(): Readonly<Ref<ProjectorBinding>> | null;
|
|
29
|
+
/** The surface's projector binding. Reading its value makes a render follow projection changes. */
|
|
30
|
+
export declare function useProjectorBinding(): Readonly<Ref<ProjectorBinding>>;
|
|
31
|
+
/** The pages the surface shows, or null outside a surface that says. */
|
|
32
|
+
export declare function useShownPages(): Readonly<Ref<ShownPages>> | null;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { ViewProjector } from '@embedpdf/web';
|
|
3
|
+
/** What a page surface provides: the pure projection snapshot, bound to Vue's reactivity. */
|
|
4
|
+
export interface ProjectorBinding {
|
|
5
|
+
projector: ViewProjector;
|
|
6
|
+
/**
|
|
7
|
+
* Changes exactly when projection may have changed for state-driven reasons:
|
|
8
|
+
* the Stage uses its visible pages (one value that already folds camera,
|
|
9
|
+
* viewport, scene and pixel ratio). Nothing reads it; it is what makes the
|
|
10
|
+
* binding a new value, so don't leave it out.
|
|
11
|
+
*/
|
|
12
|
+
revision: unknown;
|
|
13
|
+
/** Browser-driven invalidation only (a surface the document's scroll moves). The Stage provides none. */
|
|
14
|
+
subscribe?: (callback: () => void) => () => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The pages a surface shows right now, by object number. A value of its own,
|
|
18
|
+
* next to the projection, because it changes only when a page comes on screen
|
|
19
|
+
* or leaves it: anchored UI on the other pages reads only this, so it sits out
|
|
20
|
+
* every camera frame.
|
|
21
|
+
*/
|
|
22
|
+
export type ShownPages = ReadonlySet<number>;
|
|
23
|
+
/** Installed by page surfaces (through `<AnchoredScope>`), not by app code. */
|
|
24
|
+
export declare function provideProjector(binding: Readonly<Ref<ProjectorBinding>>): void;
|
|
25
|
+
/** Installed by page surfaces (through `<AnchoredScope>`), not by app code. */
|
|
26
|
+
export declare function provideShownPages(shown: Readonly<Ref<ShownPages>>): void;
|
|
27
|
+
/** The surface's projector binding, or null outside any page surface: for chrome that degrades instead of throwing. */
|
|
28
|
+
export declare function useOptionalProjectorBinding(): Readonly<Ref<ProjectorBinding>> | null;
|
|
29
|
+
/** The surface's projector binding. Reading its value makes a render follow projection changes. */
|
|
30
|
+
export declare function useProjectorBinding(): Readonly<Ref<ProjectorBinding>>;
|
|
31
|
+
/** The pages the surface shows, or null outside a surface that says. */
|
|
32
|
+
export declare function useShownPages(): Readonly<Ref<ShownPages>> | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Anchored_vue_vue_type_script_setup_true_lang = require("./Anchored.vue_vue_type_script_setup_true_lang-BEImlFso.cjs");
|
|
4
|
+
const AnchoredScope_vue_vue_type_script_setup_true_lang = require("./AnchoredScope.vue_vue_type_script_setup_true_lang-BwtHXw73.cjs");
|
|
5
|
+
const projector = require("./projector-Cf7879sx.cjs");
|
|
6
|
+
exports.Anchored = Anchored_vue_vue_type_script_setup_true_lang._sfc_main;
|
|
7
|
+
exports.AnchoredScope = AnchoredScope_vue_vue_type_script_setup_true_lang._sfc_main;
|
|
8
|
+
exports.provideProjector = projector.provideProjector;
|
|
9
|
+
exports.provideShownPages = projector.provideShownPages;
|
|
10
|
+
exports.useOptionalProjectorBinding = projector.useOptionalProjectorBinding;
|
|
11
|
+
exports.useProjectorBinding = projector.useProjectorBinding;
|
|
12
|
+
exports.useShownPages = projector.useShownPages;
|
|
13
|
+
//# sourceMappingURL=anchored.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchored.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @embedpdf/vue/anchored: one primitive for every piece of UI that floats over
|
|
3
|
+
* page content (selection menus, annotation menus, badges, popovers).
|
|
4
|
+
*
|
|
5
|
+
* Plugins produce anchors (a page-space box on a page, plus points to keep
|
|
6
|
+
* clear of) as capability reads; the projection contract and the placement
|
|
7
|
+
* math are framework-neutral in `@embedpdf/web`; page surfaces provide a
|
|
8
|
+
* projector binding through `<AnchoredScope>`; `<Anchored>` renders at the
|
|
9
|
+
* projected position.
|
|
10
|
+
*/
|
|
11
|
+
export { default as Anchored } from './anchored/Anchored.vue.cjs';
|
|
12
|
+
export { default as AnchoredScope } from './anchored/AnchoredScope.vue.cjs';
|
|
13
|
+
export { provideProjector, provideShownPages, useOptionalProjectorBinding, useProjectorBinding, useShownPages, } from './anchored/projector.cjs';
|
|
14
|
+
export type { ProjectorBinding, ShownPages } from './anchored/projector.cjs';
|
|
15
|
+
export type { AnchoredPlacement, AnchoredSide, AnchorTarget, PageViewEnv, ViewProjector, } from '@embedpdf/web';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @embedpdf/vue/anchored: one primitive for every piece of UI that floats over
|
|
3
|
+
* page content (selection menus, annotation menus, badges, popovers).
|
|
4
|
+
*
|
|
5
|
+
* Plugins produce anchors (a page-space box on a page, plus points to keep
|
|
6
|
+
* clear of) as capability reads; the projection contract and the placement
|
|
7
|
+
* math are framework-neutral in `@embedpdf/web`; page surfaces provide a
|
|
8
|
+
* projector binding through `<AnchoredScope>`; `<Anchored>` renders at the
|
|
9
|
+
* projected position.
|
|
10
|
+
*/
|
|
11
|
+
export { default as Anchored } from './anchored/Anchored.vue.js';
|
|
12
|
+
export { default as AnchoredScope } from './anchored/AnchoredScope.vue.js';
|
|
13
|
+
export { provideProjector, provideShownPages, useOptionalProjectorBinding, useProjectorBinding, useShownPages, } from './anchored/projector.js';
|
|
14
|
+
export type { ProjectorBinding, ShownPages } from './anchored/projector.js';
|
|
15
|
+
export type { AnchoredPlacement, AnchoredSide, AnchorTarget, PageViewEnv, ViewProjector, } from '@embedpdf/web';
|
package/dist/anchored.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { _ } from "./Anchored.vue_vue_type_script_setup_true_lang-Brhh5jyF.js";
|
|
2
|
+
import { _ as _2 } from "./AnchoredScope.vue_vue_type_script_setup_true_lang-Ulkr3a6R.js";
|
|
3
|
+
import { p, a, u, b, c } from "./projector-CDZn1kh1.js";
|
|
4
|
+
export {
|
|
5
|
+
_ as Anchored,
|
|
6
|
+
_2 as AnchoredScope,
|
|
7
|
+
p as provideProjector,
|
|
8
|
+
a as provideShownPages,
|
|
9
|
+
u as useOptionalProjectorBinding,
|
|
10
|
+
b as useProjectorBinding,
|
|
11
|
+
c as useShownPages
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=anchored.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchored.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PageContextValue } from '../runtime/page.cjs';
|
|
2
|
+
import type { HandleProps, RotationHandleProps } from './types.cjs';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
page: PageContextValue;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
/** One handle, drawn your way. */
|
|
8
|
+
handle?(props: HandleProps): unknown;
|
|
9
|
+
/** The rotation handle, drawn your way. */
|
|
10
|
+
'rotation-handle'?(props: RotationHandleProps): unknown;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PageContextValue } from '../runtime/page.js';
|
|
2
|
+
import type { HandleProps, RotationHandleProps } from './types.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
page: PageContextValue;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
/** One handle, drawn your way. */
|
|
8
|
+
handle?(props: HandleProps): unknown;
|
|
9
|
+
/** The rotation handle, drawn your way. */
|
|
10
|
+
'rotation-handle'?(props: RotationHandleProps): unknown;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CreationDraftAnchor } from '@embedpdf/core-annotation';
|
|
2
|
+
import type { AnchoredPlacement } from '@embedpdf/web';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Gap in screen px between the shape and the menu. Default 8. */
|
|
5
|
+
gap?: number;
|
|
6
|
+
/** Where the menu sits around the shape. Default `'top'`. */
|
|
7
|
+
placement?: AnchoredPlacement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** The menu, with the shape being drawn. */
|
|
11
|
+
default?(props: {
|
|
12
|
+
draft: CreationDraftAnchor;
|
|
13
|
+
}): unknown;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
gap: number;
|
|
17
|
+
placement: AnchoredPlacement;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CreationDraftAnchor } from '@embedpdf/core-annotation';
|
|
2
|
+
import type { AnchoredPlacement } from '@embedpdf/web';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Gap in screen px between the shape and the menu. Default 8. */
|
|
5
|
+
gap?: number;
|
|
6
|
+
/** Where the menu sits around the shape. Default `'top'`. */
|
|
7
|
+
placement?: AnchoredPlacement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** The menu, with the shape being drawn. */
|
|
11
|
+
default?(props: {
|
|
12
|
+
draft: CreationDraftAnchor;
|
|
13
|
+
}): unknown;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
gap: number;
|
|
17
|
+
placement: AnchoredPlacement;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RenderItem } from '@embedpdf/core-annotation';
|
|
2
|
+
import type { PageContextValue } from '../runtime/page.cjs';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
item: RenderItem;
|
|
5
|
+
page: PageContextValue;
|
|
6
|
+
/** An interactive renderer takes the pointer: the layer's own `none` ends here. */
|
|
7
|
+
interactive?: boolean;
|
|
8
|
+
/** No pointer and no focus for the whole subtree: a renderer that only draws. */
|
|
9
|
+
inert?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
default?(): unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
inert: boolean;
|
|
16
|
+
interactive: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RenderItem } from '@embedpdf/core-annotation';
|
|
2
|
+
import type { PageContextValue } from '../runtime/page.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
item: RenderItem;
|
|
5
|
+
page: PageContextValue;
|
|
6
|
+
/** An interactive renderer takes the pointer: the layer's own `none` ends here. */
|
|
7
|
+
interactive?: boolean;
|
|
8
|
+
/** No pointer and no focus for the whole subtree: a renderer that only draws. */
|
|
9
|
+
inert?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
default?(): unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
inert: boolean;
|
|
16
|
+
interactive: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AnnotationRenderer, HandleProps, RotationHandleProps } from './types.cjs';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* Your own look for some annotations: each renderer says which ones (`for`)
|
|
5
|
+
* and with which component. Define the list once, in `<script setup>`.
|
|
6
|
+
*/
|
|
7
|
+
renderers?: AnnotationRenderer[];
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** Draw each handle yourself, in place of the layer's: it gets {@link HandleProps}. */
|
|
11
|
+
handle?(props: HandleProps): unknown;
|
|
12
|
+
/** Draw the rotation handle yourself: it gets {@link RotationHandleProps}. */
|
|
13
|
+
'rotation-handle'?(props: RotationHandleProps): unknown;
|
|
14
|
+
};
|
|
15
|
+
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>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AnnotationRenderer, HandleProps, RotationHandleProps } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* Your own look for some annotations: each renderer says which ones (`for`)
|
|
5
|
+
* and with which component. Define the list once, in `<script setup>`.
|
|
6
|
+
*/
|
|
7
|
+
renderers?: AnnotationRenderer[];
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** Draw each handle yourself, in place of the layer's: it gets {@link HandleProps}. */
|
|
11
|
+
handle?(props: HandleProps): unknown;
|
|
12
|
+
/** Draw the rotation handle yourself: it gets {@link RotationHandleProps}. */
|
|
13
|
+
'rotation-handle'?(props: RotationHandleProps): unknown;
|
|
14
|
+
};
|
|
15
|
+
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>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { RenderItem } from '@embedpdf/core-annotation';
|
|
3
|
+
import type { Annotation } from '@embedpdf/plugin-annotation';
|
|
4
|
+
import type { PageContextValue } from '../runtime/page.cjs';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
/** Your renderer's component. */
|
|
7
|
+
component: Component;
|
|
8
|
+
/** Draw at the annotation's 100% size and let the layer scale it (the default), or at its size on screen. */
|
|
9
|
+
scaled: boolean;
|
|
10
|
+
annotation: Annotation;
|
|
11
|
+
item: RenderItem;
|
|
12
|
+
page: PageContextValue;
|
|
13
|
+
native: Component;
|
|
14
|
+
appearance: {
|
|
15
|
+
url: string;
|
|
16
|
+
} | null;
|
|
17
|
+
interactive: boolean;
|
|
18
|
+
};
|
|
19
|
+
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>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { RenderItem } from '@embedpdf/core-annotation';
|
|
3
|
+
import type { Annotation } from '@embedpdf/plugin-annotation';
|
|
4
|
+
import type { PageContextValue } from '../runtime/page.js';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
/** Your renderer's component. */
|
|
7
|
+
component: Component;
|
|
8
|
+
/** Draw at the annotation's 100% size and let the layer scale it (the default), or at its size on screen. */
|
|
9
|
+
scaled: boolean;
|
|
10
|
+
annotation: Annotation;
|
|
11
|
+
item: RenderItem;
|
|
12
|
+
page: PageContextValue;
|
|
13
|
+
native: Component;
|
|
14
|
+
appearance: {
|
|
15
|
+
url: string;
|
|
16
|
+
} | null;
|
|
17
|
+
interactive: boolean;
|
|
18
|
+
};
|
|
19
|
+
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>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AnchoredPlacement } from '@embedpdf/web';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Gap in screen px between the selection box and the menu. Default 15. */
|
|
4
|
+
gap?: number;
|
|
5
|
+
/** Where the menu sits around the selection. Default `'top'`. */
|
|
6
|
+
placement?: AnchoredPlacement;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
/** The menu: compose it from `useAnnotation()` and `useAnnotationState()`. */
|
|
10
|
+
default?(): unknown;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
gap: number;
|
|
14
|
+
placement: AnchoredPlacement;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AnchoredPlacement } from '@embedpdf/web';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Gap in screen px between the selection box and the menu. Default 15. */
|
|
4
|
+
gap?: number;
|
|
5
|
+
/** Where the menu sits around the selection. Default `'top'`. */
|
|
6
|
+
placement?: AnchoredPlacement;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
/** The menu: compose it from `useAnnotation()` and `useAnnotationState()`. */
|
|
10
|
+
default?(): unknown;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
gap: number;
|
|
14
|
+
placement: AnchoredPlacement;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RotationAnchor } from '@embedpdf/core-annotation';
|
|
2
|
+
import type { AnchoredPlacement } from '@embedpdf/web';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Gap in screen px between the pointer and the badge. Default 16. */
|
|
5
|
+
gap?: number;
|
|
6
|
+
/** Where the badge sits around the pointer. Default `'right'`. */
|
|
7
|
+
placement?: AnchoredPlacement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** The badge, drawn your way, with the turn in progress. */
|
|
11
|
+
default?(props: {
|
|
12
|
+
rotation: RotationAnchor;
|
|
13
|
+
}): unknown;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
gap: number;
|
|
17
|
+
placement: AnchoredPlacement;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RotationAnchor } from '@embedpdf/core-annotation';
|
|
2
|
+
import type { AnchoredPlacement } from '@embedpdf/web';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Gap in screen px between the pointer and the badge. Default 16. */
|
|
5
|
+
gap?: number;
|
|
6
|
+
/** Where the badge sits around the pointer. Default `'right'`. */
|
|
7
|
+
placement?: AnchoredPlacement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** The badge, drawn your way, with the turn in progress. */
|
|
11
|
+
default?(props: {
|
|
12
|
+
rotation: RotationAnchor;
|
|
13
|
+
}): unknown;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
gap: number;
|
|
17
|
+
placement: AnchoredPlacement;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|