@vue-pdf-viewer/viewer 3.0.0-alpha.4 → 3.0.0-alpha.6
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/dist/index.js +3948 -3924
- package/dist/index.umd.cjs +11 -11
- package/dist/types/assets/pdf-annotations/index.d.ts +2 -0
- package/dist/types/components/AppButton.vue.d.ts +18 -0
- package/dist/types/components/AppFormControl.vue.d.ts +30 -0
- package/dist/types/components/AppIcon.vue.d.ts +15 -0
- package/dist/types/components/AppInput.vue.d.ts +12 -0
- package/dist/types/components/AppLoader.vue.d.ts +19 -0
- package/dist/types/components/AppPopover.vue.d.ts +93 -0
- package/dist/types/components/AppTooltip.vue.d.ts +34 -0
- package/dist/types/components/ColorButton.vue.d.ts +15 -0
- package/dist/types/components/DragFileMask.vue.d.ts +55 -0
- package/dist/types/components/FreeTextPanel.vue.d.ts +16 -0
- package/dist/types/components/FreeTextPanelFontColors.vue.d.ts +2 -0
- package/dist/types/components/FreeTextPanelFontFamilySelector.vue.d.ts +2 -0
- package/dist/types/components/FreeTextPanelFontSizeSelector.vue.d.ts +2 -0
- package/dist/types/components/FreeTextPanelTextStyle.vue.d.ts +2 -0
- package/dist/types/components/HighlightColorPicker.vue.d.ts +2 -0
- package/dist/types/components/LayerAnnotation.vue.d.ts +47 -0
- package/dist/types/components/LayerAnnotationEditor.vue.d.ts +26 -0
- package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +34 -0
- package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +20 -0
- package/dist/types/components/LayerAnnotationEditorHighlight.vue.d.ts +37 -0
- package/dist/types/components/LayerAnnotationEditorHighlightItem.vue.d.ts +26 -0
- package/dist/types/components/LayerAnnotationEditorImage.vue.d.ts +28 -0
- package/dist/types/components/LayerAnnotationStampResizer.vue.d.ts +28 -0
- package/dist/types/components/LayerCanvas.vue.d.ts +25 -0
- package/dist/types/components/LayerText.vue.d.ts +30 -0
- package/dist/types/components/LayerTextHighlight.vue.d.ts +20 -0
- package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +19 -0
- package/dist/types/components/LayerXFA.vue.d.ts +23 -0
- package/dist/types/components/ModalPassword.vue.d.ts +19 -0
- package/dist/types/components/ModalPdfProperties.vue.d.ts +18 -0
- package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +20 -0
- package/dist/types/components/Signatures.vue.d.ts +2 -0
- package/dist/types/components/SwitchAppearance.vue.d.ts +23 -0
- package/dist/types/components/ToolCommentPanel.vue.d.ts +31 -0
- package/dist/types/components/ToolDownload.vue.d.ts +21 -0
- package/dist/types/components/ToolFullscreen.vue.d.ts +22 -0
- package/dist/types/components/ToolMenuOthers.vue.d.ts +88 -0
- package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +21 -0
- package/dist/types/components/ToolOpenFile.vue.d.ts +21 -0
- package/dist/types/components/ToolOpenFileInput.vue.d.ts +11 -0
- package/dist/types/components/ToolPagination.vue.d.ts +68 -0
- package/dist/types/components/ToolPrint.vue.d.ts +35 -0
- package/dist/types/components/ToolSearch.vue.d.ts +73 -0
- package/dist/types/components/ToolThumbnail.vue.d.ts +43 -0
- package/dist/types/components/ToolZoom.vue.d.ts +55 -0
- package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +25 -0
- package/dist/types/components/VPdfComments.vue.d.ts +28 -0
- package/dist/types/components/VPdfCommentsDate.vue.d.ts +15 -0
- package/dist/types/components/VPdfCommentsHeader.vue.d.ts +16 -0
- package/dist/types/components/VPdfCommentsIcon.vue.d.ts +16 -0
- package/dist/types/components/VPdfCommentsReplies.vue.d.ts +16 -0
- package/dist/types/components/VPdfCommentsSidebar.vue.d.ts +15 -0
- package/dist/types/components/VPdfCommentsText.vue.d.ts +2 -0
- package/dist/types/components/VPdfPage.vue.d.ts +44 -0
- package/dist/types/components/VPdfSplitter.vue.d.ts +2 -0
- package/dist/types/components/VPdfThumbnail.vue.d.ts +26 -0
- package/dist/types/components/VPdfThumbnails.vue.d.ts +22 -0
- package/dist/types/components/VPdfViewer.vue.d.ts +606 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/ui/button/Button.vue.d.ts +52 -0
- package/dist/types/components/ui/button/index.d.ts +7 -0
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +35 -0
- package/dist/types/components/ui/checkbox/index.d.ts +1 -0
- package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +30 -0
- package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +28 -0
- package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +28 -0
- package/dist/types/components/ui/collapsible/index.d.ts +3 -0
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +28 -0
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +28 -0
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +35 -0
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +35 -0
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +34 -0
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +34 -0
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +35 -0
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +28 -0
- package/dist/types/components/ui/dialog/index.d.ts +8 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +28 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +35 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +52 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +28 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +41 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +38 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +28 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +38 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +17 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +34 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +28 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +35 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +35 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +28 -0
- package/dist/types/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/types/components/ui/input/Input.vue.d.ts +16 -0
- package/dist/types/components/ui/input/index.d.ts +7 -0
- package/dist/types/components/ui/popover/Popover.vue.d.ts +28 -0
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +64 -0
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +28 -0
- package/dist/types/components/ui/popover/index.d.ts +3 -0
- package/dist/types/components/ui/progress/Progress.vue.d.ts +28 -0
- package/dist/types/components/ui/progress/index.d.ts +1 -0
- package/dist/types/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/types/components/ui/select/SelectContent.vue.d.ts +52 -0
- package/dist/types/components/ui/select/SelectGroup.vue.d.ts +35 -0
- package/dist/types/components/ui/select/SelectItem.vue.d.ts +35 -0
- package/dist/types/components/ui/select/SelectItemText.vue.d.ts +28 -0
- package/dist/types/components/ui/select/SelectLabel.vue.d.ts +35 -0
- package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +35 -0
- package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +35 -0
- package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +35 -0
- package/dist/types/components/ui/select/SelectValue.vue.d.ts +28 -0
- package/dist/types/components/ui/select/index.d.ts +11 -0
- package/dist/types/components/ui/toast/Toast.vue.d.ts +28 -0
- package/dist/types/components/ui/toast/ToastAction.vue.d.ts +35 -0
- package/dist/types/components/ui/toast/ToastClose.vue.d.ts +17 -0
- package/dist/types/components/ui/toast/ToastDescription.vue.d.ts +35 -0
- package/dist/types/components/ui/toast/ToastProvider.vue.d.ts +28 -0
- package/dist/types/components/ui/toast/ToastTitle.vue.d.ts +35 -0
- package/dist/types/components/ui/toast/ToastViewport.vue.d.ts +17 -0
- package/dist/types/components/ui/toast/Toaster.vue.d.ts +2 -0
- package/dist/types/components/ui/toast/index.d.ts +21 -0
- package/dist/types/components/ui/toast/use-toast.d.ts +272 -0
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +28 -0
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +52 -0
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +28 -0
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +28 -0
- package/dist/types/components/ui/tooltip/index.d.ts +4 -0
- package/dist/types/components/utils/annotations.d.ts +5 -0
- package/dist/types/components/utils/destination.d.ts +7 -0
- package/dist/types/components/utils/helpers.d.ts +2 -0
- package/dist/types/components/utils/link_service.d.ts +71 -0
- package/dist/types/components/utils/sanitizeExternalURL.d.ts +1 -0
- package/dist/types/composables/useAnnotationDrag.d.ts +72 -0
- package/dist/types/composables/useAnnotationFreeText.d.ts +462 -0
- package/dist/types/composables/useAnnotationHighlight.d.ts +389 -0
- package/dist/types/composables/useAnnotationStamp.d.ts +493 -0
- package/dist/types/composables/useAnnotationStorage.d.ts +72 -0
- package/dist/types/composables/useDownload.d.ts +13 -0
- package/dist/types/composables/useHighlight.d.ts +11 -0
- package/dist/types/composables/useLicense.d.ts +22 -0
- package/dist/types/composables/usePdf.d.ts +28 -0
- package/dist/types/composables/usePdfComments.d.ts +5 -0
- package/dist/types/composables/usePdfPagesSizes.d.ts +8 -0
- package/dist/types/composables/usePdfProperties.d.ts +10 -0
- package/dist/types/composables/usePinch.d.ts +3 -0
- package/dist/types/composables/usePlugins.d.ts +252 -0
- package/dist/types/composables/usePrintControl.d.ts +22 -0
- package/dist/types/composables/usePrintProcess.d.ts +8 -0
- package/dist/types/composables/useRenderQueue.d.ts +13 -0
- package/dist/types/composables/useRequestAnimationFrame.d.ts +1 -0
- package/dist/types/composables/useRotation.d.ts +7 -0
- package/dist/types/composables/useScale.d.ts +21 -0
- package/dist/types/composables/useSearch.d.ts +5 -0
- package/dist/types/composables/useTextLayers.d.ts +5 -0
- package/dist/types/composables/useVirtualPages.d.ts +32 -0
- package/dist/types/composables/useVisibilities.d.ts +9 -0
- package/dist/types/const.d.ts +149 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/utils/annotation-command.d.ts +18 -0
- package/dist/types/utils/annotation-display.d.ts +24 -0
- package/dist/types/utils/annotation-free-text.d.ts +4 -0
- package/dist/types/utils/annotation-highlight.d.ts +69 -0
- package/dist/types/utils/annotation-image.d.ts +111 -0
- package/dist/types/utils/annotation-pdf.d.ts +35 -0
- package/dist/types/utils/appConsole.d.ts +24 -0
- package/dist/types/utils/characters.d.ts +16 -0
- package/dist/types/utils/color.d.ts +4 -0
- package/dist/types/utils/convertPDFDate.d.ts +1 -0
- package/dist/types/utils/enumerators.d.ts +80 -0
- package/dist/types/utils/highlight.d.ts +8 -0
- package/dist/types/utils/promiseWithResolvers.d.ts +7 -0
- package/dist/types/utils/searchHighlight.d.ts +10 -0
- package/dist/types/utils/smoothScroll.d.ts +2 -0
- package/dist/types/utils/types.d.ts +724 -0
- package/dist/types/utils/uiViewer.d.ts +4 -0
- package/dist/types/utils/validators.d.ts +26 -0
- package/dist/types/utils.d.ts +20 -0
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: undefined;
|
|
11
|
+
__isTeleport?: undefined;
|
|
12
|
+
__isSuspense?: undefined;
|
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
default: (_: {}) => any;
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
errorMessage?: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: {
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
+
__isFragment?: undefined;
|
|
14
|
+
__isTeleport?: undefined;
|
|
15
|
+
__isSuspense?: undefined;
|
|
16
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
17
|
+
$slots: {
|
|
18
|
+
default: (_: {}) => any;
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
icon: string;
|
|
3
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
icon: string;
|
|
5
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type InputProps } from './ui/input';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: undefined;
|
|
11
|
+
__isTeleport?: undefined;
|
|
12
|
+
__isSuspense?: undefined;
|
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
loaderImage: (_: {}) => any;
|
|
16
|
+
loaderProgress: (_: {}) => any;
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { PopoverContentProps } from 'radix-vue';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
open?: boolean | undefined;
|
|
5
|
+
defaultOpen?: boolean | undefined;
|
|
6
|
+
modal?: boolean | undefined;
|
|
7
|
+
side?: PopoverContentProps['side'];
|
|
8
|
+
sideOffset?: PopoverContentProps['sideOffset'];
|
|
9
|
+
align?: PopoverContentProps['align'];
|
|
10
|
+
alignOffset?: PopoverContentProps['alignOffset'];
|
|
11
|
+
avoidCollisions?: PopoverContentProps['avoidCollisions'];
|
|
12
|
+
collisionBoundary?: PopoverContentProps['collisionBoundary'];
|
|
13
|
+
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
14
|
+
arrowPadding?: PopoverContentProps['arrowPadding'];
|
|
15
|
+
sticky?: PopoverContentProps['sticky'];
|
|
16
|
+
hideWhenDetached?: PopoverContentProps['hideWhenDetached'];
|
|
17
|
+
updatePositionStrategy?: PopoverContentProps['updatePositionStrategy'];
|
|
18
|
+
forceMount?: PopoverContentProps['forceMount'];
|
|
19
|
+
isDark?: boolean | undefined;
|
|
20
|
+
class?: string | undefined;
|
|
21
|
+
}>>> & Readonly<{
|
|
22
|
+
onInteractOutside?: ((event: Event) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
interactOutside: (event: Event) => void;
|
|
25
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
26
|
+
P: {};
|
|
27
|
+
B: {};
|
|
28
|
+
D: {};
|
|
29
|
+
C: {};
|
|
30
|
+
M: {};
|
|
31
|
+
Defaults: {};
|
|
32
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
33
|
+
open?: boolean | undefined;
|
|
34
|
+
defaultOpen?: boolean | undefined;
|
|
35
|
+
modal?: boolean | undefined;
|
|
36
|
+
side?: PopoverContentProps['side'];
|
|
37
|
+
sideOffset?: PopoverContentProps['sideOffset'];
|
|
38
|
+
align?: PopoverContentProps['align'];
|
|
39
|
+
alignOffset?: PopoverContentProps['alignOffset'];
|
|
40
|
+
avoidCollisions?: PopoverContentProps['avoidCollisions'];
|
|
41
|
+
collisionBoundary?: PopoverContentProps['collisionBoundary'];
|
|
42
|
+
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
43
|
+
arrowPadding?: PopoverContentProps['arrowPadding'];
|
|
44
|
+
sticky?: PopoverContentProps['sticky'];
|
|
45
|
+
hideWhenDetached?: PopoverContentProps['hideWhenDetached'];
|
|
46
|
+
updatePositionStrategy?: PopoverContentProps['updatePositionStrategy'];
|
|
47
|
+
forceMount?: PopoverContentProps['forceMount'];
|
|
48
|
+
isDark?: boolean | undefined;
|
|
49
|
+
class?: string | undefined;
|
|
50
|
+
}>>> & Readonly<{
|
|
51
|
+
onInteractOutside?: ((event: Event) => any) | undefined;
|
|
52
|
+
}>, {}, {}, {}, {}, {}>;
|
|
53
|
+
__isFragment?: undefined;
|
|
54
|
+
__isTeleport?: undefined;
|
|
55
|
+
__isSuspense?: undefined;
|
|
56
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
57
|
+
open?: boolean | undefined;
|
|
58
|
+
defaultOpen?: boolean | undefined;
|
|
59
|
+
modal?: boolean | undefined;
|
|
60
|
+
side?: PopoverContentProps['side'];
|
|
61
|
+
sideOffset?: PopoverContentProps['sideOffset'];
|
|
62
|
+
align?: PopoverContentProps['align'];
|
|
63
|
+
alignOffset?: PopoverContentProps['alignOffset'];
|
|
64
|
+
avoidCollisions?: PopoverContentProps['avoidCollisions'];
|
|
65
|
+
collisionBoundary?: PopoverContentProps['collisionBoundary'];
|
|
66
|
+
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
67
|
+
arrowPadding?: PopoverContentProps['arrowPadding'];
|
|
68
|
+
sticky?: PopoverContentProps['sticky'];
|
|
69
|
+
hideWhenDetached?: PopoverContentProps['hideWhenDetached'];
|
|
70
|
+
updatePositionStrategy?: PopoverContentProps['updatePositionStrategy'];
|
|
71
|
+
forceMount?: PopoverContentProps['forceMount'];
|
|
72
|
+
isDark?: boolean | undefined;
|
|
73
|
+
class?: string | undefined;
|
|
74
|
+
}>>> & Readonly<{
|
|
75
|
+
onInteractOutside?: ((event: Event) => any) | undefined;
|
|
76
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
+
interactOutside: (event: Event) => void;
|
|
78
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
79
|
+
$slots: {
|
|
80
|
+
trigger: (_: {}) => any;
|
|
81
|
+
default: (_: {}) => any;
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
export default _default;
|
|
85
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
86
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
87
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
88
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
89
|
+
} : {
|
|
90
|
+
type: import('vue').PropType<T[K]>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
contentSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
4
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
5
|
+
P: {};
|
|
6
|
+
B: {};
|
|
7
|
+
D: {};
|
|
8
|
+
C: {};
|
|
9
|
+
M: {};
|
|
10
|
+
Defaults: {};
|
|
11
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
contentSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
13
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
14
|
+
__isFragment?: undefined;
|
|
15
|
+
__isTeleport?: undefined;
|
|
16
|
+
__isSuspense?: undefined;
|
|
17
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
contentSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
19
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
20
|
+
$slots: {
|
|
21
|
+
default: (_: {}) => any;
|
|
22
|
+
content: (_: {}) => any;
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isSelected: boolean;
|
|
3
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
show: boolean;
|
|
3
|
+
isDark: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: {
|
|
6
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
7
|
+
onFilenameChange?: ((name: string) => any) | undefined;
|
|
8
|
+
onSrcChange?: ((file: string) => any) | undefined;
|
|
9
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
srcChange: (file: string) => void;
|
|
12
|
+
} & {
|
|
13
|
+
filenameChange: (name: string) => void;
|
|
14
|
+
} & {
|
|
15
|
+
"update:show": (value: boolean) => void;
|
|
16
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
24
|
+
onFilenameChange?: ((name: string) => any) | undefined;
|
|
25
|
+
onSrcChange?: ((file: string) => any) | undefined;
|
|
26
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, {}>;
|
|
28
|
+
__isFragment?: undefined;
|
|
29
|
+
__isTeleport?: undefined;
|
|
30
|
+
__isSuspense?: undefined;
|
|
31
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
32
|
+
onFilenameChange?: ((name: string) => any) | undefined;
|
|
33
|
+
onSrcChange?: ((file: string) => any) | undefined;
|
|
34
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
srcChange: (file: string) => void;
|
|
37
|
+
} & {
|
|
38
|
+
filenameChange: (name: string) => void;
|
|
39
|
+
} & {
|
|
40
|
+
"update:show": (value: boolean) => void;
|
|
41
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
42
|
+
$slots: {
|
|
43
|
+
dropFileZone: (_: {}) => any;
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AnnotationFreeText } from '@/utils/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
annotation: AnnotationFreeText;
|
|
4
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
annotation: AnnotationFreeText;
|
|
6
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as PDFJS from 'pdfjs-dist';
|
|
2
|
+
import type { PDFDocumentProxy, PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
3
|
+
import type { AnnotationEventPayload } from './../utils/types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
page: PDFPageProxy;
|
|
6
|
+
viewport: PageViewport;
|
|
7
|
+
document: PDFDocumentProxy;
|
|
8
|
+
annotationsFilter?: string[] | undefined;
|
|
9
|
+
annotationsMap?: object | undefined;
|
|
10
|
+
imageResourcesPath?: string | undefined;
|
|
11
|
+
hideForms?: boolean | undefined;
|
|
12
|
+
enableScripting?: boolean | undefined;
|
|
13
|
+
intent: string;
|
|
14
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
annotation: (payload: AnnotationEventPayload) => void;
|
|
16
|
+
} & {
|
|
17
|
+
annotationLoaded: (payload: PDFJS.AnnotationLayer) => void;
|
|
18
|
+
} & {
|
|
19
|
+
annotationRenderError: (reason: any) => void;
|
|
20
|
+
} & {
|
|
21
|
+
rendered: (data: PDFJS.AnnotationLayer) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
page: PDFPageProxy;
|
|
24
|
+
viewport: PageViewport;
|
|
25
|
+
document: PDFDocumentProxy;
|
|
26
|
+
annotationsFilter?: string[] | undefined;
|
|
27
|
+
annotationsMap?: object | undefined;
|
|
28
|
+
imageResourcesPath?: string | undefined;
|
|
29
|
+
hideForms?: boolean | undefined;
|
|
30
|
+
enableScripting?: boolean | undefined;
|
|
31
|
+
intent: string;
|
|
32
|
+
}>>> & Readonly<{
|
|
33
|
+
onAnnotation?: ((payload: AnnotationEventPayload) => any) | undefined;
|
|
34
|
+
onAnnotationLoaded?: ((payload: PDFJS.AnnotationLayer) => any) | undefined;
|
|
35
|
+
onAnnotationRenderError?: ((reason: any) => any) | undefined;
|
|
36
|
+
onRendered?: ((data: PDFJS.AnnotationLayer) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PageViewport, PDFPageProxy, AnnotationLayer, PDFDocumentProxy } from 'pdfjs-dist';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
page: PDFPageProxy;
|
|
4
|
+
viewport: PageViewport;
|
|
5
|
+
canvasLayer: HTMLElement;
|
|
6
|
+
annotationLayer: AnnotationLayer;
|
|
7
|
+
document: PDFDocumentProxy;
|
|
8
|
+
textLayer: HTMLDivElement;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
page: PDFPageProxy;
|
|
11
|
+
viewport: PageViewport;
|
|
12
|
+
canvasLayer: HTMLElement;
|
|
13
|
+
annotationLayer: AnnotationLayer;
|
|
14
|
+
document: PDFDocumentProxy;
|
|
15
|
+
textLayer: HTMLDivElement;
|
|
16
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AnnotationFreeText } from '@/utils/types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
annotation: AnnotationFreeText;
|
|
5
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
annotation: AnnotationFreeText;
|
|
14
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
15
|
+
__isFragment?: undefined;
|
|
16
|
+
__isTeleport?: undefined;
|
|
17
|
+
__isSuspense?: undefined;
|
|
18
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
annotation: AnnotationFreeText;
|
|
20
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
21
|
+
$slots: {
|
|
22
|
+
default: (_: {}) => any;
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AnnotationFreeText } from '@/utils/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
freeTextElement: HTMLElement;
|
|
5
|
+
annotation: AnnotationFreeText;
|
|
6
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
isSelected: boolean;
|
|
8
|
+
freeTextElement: HTMLElement;
|
|
9
|
+
annotation: AnnotationFreeText;
|
|
10
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AnnotationHighlight } from '@/utils/types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
annotation: AnnotationHighlight;
|
|
5
|
+
highlightColor: string;
|
|
6
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
annotation: AnnotationHighlight;
|
|
15
|
+
highlightColor: string;
|
|
16
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
17
|
+
__isFragment?: undefined;
|
|
18
|
+
__isTeleport?: undefined;
|
|
19
|
+
__isSuspense?: undefined;
|
|
20
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
annotation: AnnotationHighlight;
|
|
22
|
+
highlightColor: string;
|
|
23
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
24
|
+
$slots: {
|
|
25
|
+
default: (_: {}) => any;
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Annotation } from '@/utils/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
drawLayer: any | null;
|
|
5
|
+
highlightElement: HTMLElement;
|
|
6
|
+
annotation: Annotation;
|
|
7
|
+
clipPathUrl: string;
|
|
8
|
+
outlineId: number;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
drawLayer: any | null;
|
|
12
|
+
highlightElement: HTMLElement;
|
|
13
|
+
annotation: Annotation;
|
|
14
|
+
clipPathUrl: string;
|
|
15
|
+
outlineId: number;
|
|
16
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AnnotationStamp } from '@/utils/types';
|
|
2
|
+
import type { PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
page: PDFPageProxy;
|
|
5
|
+
viewport: PageViewport;
|
|
6
|
+
annotation: AnnotationStamp;
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
delete: (annotation: AnnotationStamp) => void;
|
|
9
|
+
} & {
|
|
10
|
+
update: (annotation: AnnotationStamp) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
page: PDFPageProxy;
|
|
13
|
+
viewport: PageViewport;
|
|
14
|
+
annotation: AnnotationStamp;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onDelete?: ((annotation: AnnotationStamp) => any) | undefined;
|
|
17
|
+
onUpdate?: ((annotation: AnnotationStamp) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ElementRect } from '@/utils/types';
|
|
2
|
+
import type { PageViewport } from 'pdfjs-dist';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
resizeElement: HTMLElement | null;
|
|
5
|
+
parentElement: HTMLElement | null;
|
|
6
|
+
viewport: PageViewport;
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
resizeStart: () => void;
|
|
9
|
+
} & {
|
|
10
|
+
resizeEnd: (info: ElementRect) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
resizeElement: HTMLElement | null;
|
|
13
|
+
parentElement: HTMLElement | null;
|
|
14
|
+
viewport: PageViewport;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onResizeStart?: (() => any) | undefined;
|
|
17
|
+
onResizeEnd?: ((info: ElementRect) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { PDFPageProxy } from 'pdfjs-dist';
|
|
2
|
+
import type { CanvasLoadedCallback } from '@/utils/types';
|
|
3
|
+
interface OwnProps {
|
|
4
|
+
page: PDFPageProxy;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
pageIndex: number;
|
|
8
|
+
intersecting: boolean;
|
|
9
|
+
afterCanvasLoaded?: CanvasLoadedCallback;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
rendered: (canvasWrapperElement: HTMLDivElement) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
|
|
14
|
+
onRendered?: ((canvasWrapperElement: HTMLDivElement) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|