@vue-pdf-viewer/viewer 1.9.0-beta.2 → 1.9.0-beta.3
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/arrow-up-CPZlMhbK.js +20 -0
- package/dist/check-BkaH7nrH.js +21 -0
- package/dist/chevron-down-BSFTOkiu.js +21 -0
- package/dist/clear-CasZmBPr.js +31 -0
- package/dist/close-BgsD04zx.js +21 -0
- package/dist/download-DCHGUHXx.js +21 -0
- package/dist/drag-icon-DrZ8KB-6.js +18 -0
- package/dist/drag-icon-dark-DeSCzOds.js +17 -0
- package/dist/ellipsis-vertical-Cjbi7utY.js +21 -0
- package/dist/file-BD05gONj.js +21 -0
- package/dist/first-page-CRwMJORv.js +20 -0
- package/dist/fullscreen-BmHQQPIs.js +21 -0
- package/dist/hand-B1v6mSWQ.js +21 -0
- package/dist/index.js +4173 -4173
- package/dist/index.umd.cjs +15 -15
- package/dist/info-DXpOTVKn.js +21 -0
- package/dist/last-page-Dp9anrA0.js +20 -0
- package/dist/magnifier-Dep29X1B.js +21 -0
- package/dist/moon-Dw-MII-V.js +21 -0
- package/dist/page-view-dual-DCLg-YkG.js +21 -0
- package/dist/page-view-single-CWOhdavX.js +21 -0
- package/dist/pointer-jfdFDx4z.js +21 -0
- package/dist/printer-B8qbXO9F.js +21 -0
- package/dist/rotate-counter-clockwise-DFl9ijSR.js +21 -0
- package/dist/scrolling-horizontal-JO2P2O-8.js +23 -0
- package/dist/scrolling-page-y5Rrmrnm.js +23 -0
- package/dist/scrolling-vertical-D9MCCss9.js +23 -0
- package/dist/scrolling-wrapped-CYbEHLH6.js +23 -0
- package/dist/sun-BhyBd5LA.js +21 -0
- package/dist/thumbnail-BMmN_jSl.js +21 -0
- package/dist/types/components/AppButton.vue.d.ts +3 -3
- package/dist/types/components/AppFormControl.vue.d.ts +3 -3
- package/dist/types/components/AppIcon.vue.d.ts +3 -3
- package/dist/types/components/AppInput.vue.d.ts +1 -1
- package/dist/types/components/AppLoader.vue.d.ts +3 -3
- package/dist/types/components/AppTooltip.vue.d.ts +4 -6
- package/dist/types/components/DragFileMask.vue.d.ts +8 -12
- package/dist/types/components/LayerAnnotation.vue.d.ts +4 -4
- package/dist/types/components/LayerCanvas.vue.d.ts +3 -3
- package/dist/types/components/LayerText.vue.d.ts +4 -4
- package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +1 -1
- package/dist/types/components/LayerXFA.vue.d.ts +4 -4
- package/dist/types/components/ModalPassword.vue.d.ts +3 -3
- package/dist/types/components/ModalPdfProperties.vue.d.ts +3 -3
- package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +3 -3
- package/dist/types/components/SwitchAppearance.vue.d.ts +3 -3
- package/dist/types/components/ToolDownload.vue.d.ts +3 -3
- package/dist/types/components/ToolFullscreen.vue.d.ts +3 -3
- package/dist/types/components/ToolMenuOthers.vue.d.ts +9 -20
- package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +2 -2
- package/dist/types/components/ToolOpenFile.vue.d.ts +3 -3
- package/dist/types/components/ToolOpenFileInput.vue.d.ts +2 -2
- package/dist/types/components/ToolPagination.vue.d.ts +9 -16
- package/dist/types/components/ToolPrint.vue.d.ts +3 -3
- package/dist/types/components/ToolSearch.vue.d.ts +8 -14
- package/dist/types/components/ToolThumbnail.vue.d.ts +8 -10
- package/dist/types/components/ToolZoom.vue.d.ts +9 -15
- package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +4 -4
- package/dist/types/components/VPdfPage.vue.d.ts +1 -65
- package/dist/types/components/VPdfSplitter.vue.d.ts +1 -1
- package/dist/types/components/VPdfThumbnail.vue.d.ts +3 -3
- package/dist/types/components/VPdfThumbnails.vue.d.ts +4 -4
- package/dist/types/components/VPdfViewer.vue.d.ts +15 -85
- package/dist/types/components/ui/button/Button.vue.d.ts +6 -8
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +4 -6
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +3 -3
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +3 -3
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +4 -6
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +4 -6
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +4 -6
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +4 -6
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +4 -6
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +3 -3
- package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +3 -3
- package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +4 -6
- package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +6 -10
- package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +3 -3
- package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +4 -7
- package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +4 -7
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +3 -3
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +4 -6
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -3
- package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +4 -6
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +3 -3
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -6
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +4 -6
- package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +3 -3
- package/dist/types/components/ui/input/Input.vue.d.ts +3 -3
- package/dist/types/components/ui/popover/Popover.vue.d.ts +3 -3
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +6 -12
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +3 -3
- package/dist/types/components/ui/progress/Progress.vue.d.ts +4 -4
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +3 -3
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +6 -10
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +3 -3
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +3 -3
- package/dist/types/composables/usePdf.d.ts +3 -3
- package/dist/types/composables/usePdfPagesSizes.d.ts +2 -2
- package/dist/types/composables/useSearch.d.ts +1 -1
- package/dist/types/const.d.ts +8 -26
- package/dist/zoom-in-qogh-J7e.js +21 -0
- package/dist/zoom-out-BFzERV6_.js +21 -0
- package/package.json +1 -1
- package/dist/arrow-up-CZcWar0V.js +0 -20
- package/dist/check-BDQ_1xOK.js +0 -21
- package/dist/chevron-down-BGvKkqoz.js +0 -21
- package/dist/clear-BdBsR989.js +0 -31
- package/dist/close-NzOObvir.js +0 -21
- package/dist/download-DwxdC2cz.js +0 -21
- package/dist/drag-icon-CJSwJaYj.js +0 -18
- package/dist/drag-icon-dark-DslxK0op.js +0 -17
- package/dist/ellipsis-vertical-DU4RrfN8.js +0 -21
- package/dist/file-CKOtlAnB.js +0 -21
- package/dist/first-page-D2sUix1F.js +0 -20
- package/dist/fullscreen-CDD3D91y.js +0 -21
- package/dist/hand-BdufQ7PJ.js +0 -21
- package/dist/info-CqXPnBJe.js +0 -21
- package/dist/last-page-BlLcdVDC.js +0 -20
- package/dist/magnifier-D5effak1.js +0 -21
- package/dist/moon-jjKfhCeP.js +0 -21
- package/dist/page-view-dual-DzyLa1r0.js +0 -21
- package/dist/page-view-single-CAQXbP-i.js +0 -21
- package/dist/pointer-CosfQ2Bj.js +0 -21
- package/dist/printer-CZndb-XY.js +0 -21
- package/dist/rotate-counter-clockwise-BnC8SAwc.js +0 -21
- package/dist/scrolling-horizontal-D1qDwmpQ.js +0 -23
- package/dist/scrolling-page-lV73lZIc.js +0 -23
- package/dist/scrolling-vertical-DzrChdnV.js +0 -23
- package/dist/scrolling-wrapped-CvhUpxbI.js +0 -23
- package/dist/sun-f_yo-49i.js +0 -21
- package/dist/thumbnail-BrLTlvMi.js +0 -21
- package/dist/zoom-in-MHWLskY5.js +0 -21
- package/dist/zoom-out-BOe91xpp.js +0 -21
|
@@ -2,11 +2,11 @@ interface OwnProps {
|
|
|
2
2
|
open: boolean;
|
|
3
3
|
errorMessage?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<OwnProps
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
submitPassword: (password: string) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & {
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
|
|
8
8
|
onSubmitPassword?: ((password: string) => any) | undefined;
|
|
9
|
-
}, {}, {}>;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
open?: boolean;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:open": (value: boolean) => void;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
7
7
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
8
|
-
}, {}, {}>;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
export default _default;
|
|
10
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -3,11 +3,11 @@ interface Props {
|
|
|
3
3
|
percent: number;
|
|
4
4
|
rootElement?: HTMLDivElement;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
cancel: () => void;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
9
9
|
onCancel?: (() => any) | undefined;
|
|
10
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
new (...args: any[]): import("vue").
|
|
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
3
|
P: {};
|
|
4
4
|
B: {};
|
|
5
5
|
D: {};
|
|
6
6
|
C: {};
|
|
7
7
|
M: {};
|
|
8
8
|
Defaults: {};
|
|
9
|
-
}, Readonly<
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
10
|
__isFragment?: undefined;
|
|
11
11
|
__isTeleport?: undefined;
|
|
12
12
|
__isSuspense?: undefined;
|
|
13
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
|
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
14
|
$slots: {
|
|
15
15
|
default: (_: {
|
|
16
16
|
isDark: boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
new (...args: any[]): import("vue").
|
|
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
3
|
P: {};
|
|
4
4
|
B: {};
|
|
5
5
|
D: {};
|
|
6
6
|
C: {};
|
|
7
7
|
M: {};
|
|
8
8
|
Defaults: {};
|
|
9
|
-
}, Readonly<
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
10
|
__isFragment?: undefined;
|
|
11
11
|
__isTeleport?: undefined;
|
|
12
12
|
__isSuspense?: undefined;
|
|
13
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
|
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
14
|
$slots: {
|
|
15
15
|
default: (_: {
|
|
16
16
|
onClick: () => void;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
new (...args: any[]): import("vue").
|
|
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
3
|
P: {};
|
|
4
4
|
B: {};
|
|
5
5
|
D: {};
|
|
6
6
|
C: {};
|
|
7
7
|
M: {};
|
|
8
8
|
Defaults: {};
|
|
9
|
-
}, Readonly<
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
10
|
__isFragment?: undefined;
|
|
11
11
|
__isTeleport?: undefined;
|
|
12
12
|
__isSuspense?: undefined;
|
|
13
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
|
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
14
|
$slots: {
|
|
15
15
|
default: (_: {
|
|
16
16
|
onClick: () => Promise<void>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { CanvasLoadedCallback } from '../utils/types';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
new (...args: any[]): import("vue").
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
rootContainer: HTMLDivElement;
|
|
5
5
|
textSelection: boolean;
|
|
6
6
|
print: (showProgress?: boolean) => Promise<void>;
|
|
7
7
|
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
8
|
-
}>>> & {
|
|
8
|
+
}>>> & Readonly<{
|
|
9
9
|
onRotateClockwise?: (() => any) | undefined;
|
|
10
10
|
onRotateCounterclockwise?: (() => any) | undefined;
|
|
11
11
|
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
12
12
|
onGotoFirstPage?: (() => any) | undefined;
|
|
13
13
|
onGotoLastPage?: (() => any) | undefined;
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
rotateClockwise: () => void;
|
|
16
16
|
} & {
|
|
17
17
|
rotateCounterclockwise: () => void;
|
|
@@ -21,18 +21,7 @@ declare const _default: {
|
|
|
21
21
|
gotoFirstPage: () => void;
|
|
22
22
|
} & {
|
|
23
23
|
gotoLastPage: () => void;
|
|
24
|
-
}, import("vue").
|
|
25
|
-
rootContainer: HTMLDivElement;
|
|
26
|
-
textSelection: boolean;
|
|
27
|
-
print: (showProgress?: boolean) => Promise<void>;
|
|
28
|
-
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
29
|
-
}>>> & {
|
|
30
|
-
onRotateClockwise?: (() => any) | undefined;
|
|
31
|
-
onRotateCounterclockwise?: (() => any) | undefined;
|
|
32
|
-
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
33
|
-
onGotoFirstPage?: (() => any) | undefined;
|
|
34
|
-
onGotoLastPage?: (() => any) | undefined;
|
|
35
|
-
}, {}, true, {}, {}, {
|
|
24
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
36
25
|
P: {};
|
|
37
26
|
B: {};
|
|
38
27
|
D: {};
|
|
@@ -44,13 +33,13 @@ declare const _default: {
|
|
|
44
33
|
textSelection: boolean;
|
|
45
34
|
print: (showProgress?: boolean) => Promise<void>;
|
|
46
35
|
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
47
|
-
}>>> & {
|
|
36
|
+
}>>> & Readonly<{
|
|
48
37
|
onRotateClockwise?: (() => any) | undefined;
|
|
49
38
|
onRotateCounterclockwise?: (() => any) | undefined;
|
|
50
39
|
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
51
40
|
onGotoFirstPage?: (() => any) | undefined;
|
|
52
41
|
onGotoLastPage?: (() => any) | undefined;
|
|
53
|
-
}
|
|
42
|
+
}>, {}, {}, {}, {}, {}>;
|
|
54
43
|
__isFragment?: undefined;
|
|
55
44
|
__isTeleport?: undefined;
|
|
56
45
|
__isSuspense?: undefined;
|
|
@@ -59,13 +48,13 @@ declare const _default: {
|
|
|
59
48
|
textSelection: boolean;
|
|
60
49
|
print: (showProgress?: boolean) => Promise<void>;
|
|
61
50
|
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
62
|
-
}>>> & {
|
|
51
|
+
}>>> & Readonly<{
|
|
63
52
|
onRotateClockwise?: (() => any) | undefined;
|
|
64
53
|
onRotateCounterclockwise?: (() => any) | undefined;
|
|
65
54
|
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
66
55
|
onGotoFirstPage?: (() => any) | undefined;
|
|
67
56
|
onGotoLastPage?: (() => any) | undefined;
|
|
68
|
-
}
|
|
57
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
58
|
rotateClockwise: () => void;
|
|
70
59
|
} & {
|
|
71
60
|
rotateCounterclockwise: () => void;
|
|
@@ -75,7 +64,7 @@ declare const _default: {
|
|
|
75
64
|
gotoFirstPage: () => void;
|
|
76
65
|
} & {
|
|
77
66
|
gotoLastPage: () => void;
|
|
78
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
67
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
79
68
|
$slots: Record<string, {}> & Record<string, {}> & {
|
|
80
69
|
icon: (_: {}) => any;
|
|
81
70
|
iconFirstPage: (_: {}) => any;
|
|
@@ -10,12 +10,12 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
10
10
|
gotoLastPage: () => void;
|
|
11
11
|
} & {
|
|
12
12
|
clickPrint: () => void;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
14
14
|
onRotateClockwise?: (() => any) | undefined;
|
|
15
15
|
onRotateCounterclockwise?: (() => any) | undefined;
|
|
16
16
|
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
17
17
|
onGotoFirstPage?: (() => any) | undefined;
|
|
18
18
|
onGotoLastPage?: (() => any) | undefined;
|
|
19
19
|
onClickPrint?: (() => any) | undefined;
|
|
20
|
-
}, {}, {}>;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
new (...args: any[]): import("vue").
|
|
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
3
|
P: {};
|
|
4
4
|
B: {};
|
|
5
5
|
D: {};
|
|
6
6
|
C: {};
|
|
7
7
|
M: {};
|
|
8
8
|
Defaults: {};
|
|
9
|
-
}, Readonly<
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
10
|
__isFragment?: undefined;
|
|
11
11
|
__isTeleport?: undefined;
|
|
12
12
|
__isSuspense?: undefined;
|
|
13
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
|
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
14
|
$slots: {
|
|
15
15
|
default: (_: {
|
|
16
16
|
onClick: () => void;
|
|
@@ -4,8 +4,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4
4
|
change: (file: string) => void;
|
|
5
5
|
} & {
|
|
6
6
|
filenameChange: (file: string) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
8
|
onChange?: ((file: string) => any) | undefined;
|
|
9
9
|
onFilenameChange?: ((file: string) => any) | undefined;
|
|
10
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
new (...args: any[]): import("vue").
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
current: number;
|
|
4
4
|
total: number;
|
|
5
|
-
}>>> & {
|
|
5
|
+
}>>> & Readonly<{
|
|
6
6
|
onNext?: (() => any) | undefined;
|
|
7
7
|
onPrev?: (() => any) | undefined;
|
|
8
8
|
onChangePage?: ((payload: number) => any) | undefined;
|
|
9
|
-
}
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
changePage: (payload: number) => void;
|
|
11
11
|
} & {
|
|
12
12
|
prev: () => void;
|
|
13
13
|
} & {
|
|
14
14
|
next: () => void;
|
|
15
|
-
}, import("vue").
|
|
16
|
-
current: number;
|
|
17
|
-
total: number;
|
|
18
|
-
}>>> & {
|
|
19
|
-
onNext?: (() => any) | undefined;
|
|
20
|
-
onPrev?: (() => any) | undefined;
|
|
21
|
-
onChangePage?: ((payload: number) => any) | undefined;
|
|
22
|
-
}, {}, true, {}, {}, {
|
|
15
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
23
16
|
P: {};
|
|
24
17
|
B: {};
|
|
25
18
|
D: {};
|
|
@@ -29,28 +22,28 @@ declare const _default: {
|
|
|
29
22
|
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
23
|
current: number;
|
|
31
24
|
total: number;
|
|
32
|
-
}>>> & {
|
|
25
|
+
}>>> & Readonly<{
|
|
33
26
|
onNext?: (() => any) | undefined;
|
|
34
27
|
onPrev?: (() => any) | undefined;
|
|
35
28
|
onChangePage?: ((payload: number) => any) | undefined;
|
|
36
|
-
}
|
|
29
|
+
}>, {}, {}, {}, {}, {}>;
|
|
37
30
|
__isFragment?: undefined;
|
|
38
31
|
__isTeleport?: undefined;
|
|
39
32
|
__isSuspense?: undefined;
|
|
40
33
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
41
34
|
current: number;
|
|
42
35
|
total: number;
|
|
43
|
-
}>>> & {
|
|
36
|
+
}>>> & Readonly<{
|
|
44
37
|
onNext?: (() => any) | undefined;
|
|
45
38
|
onPrev?: (() => any) | undefined;
|
|
46
39
|
onChangePage?: ((payload: number) => any) | undefined;
|
|
47
|
-
}
|
|
40
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
41
|
changePage: (payload: number) => void;
|
|
49
42
|
} & {
|
|
50
43
|
prev: () => void;
|
|
51
44
|
} & {
|
|
52
45
|
next: () => void;
|
|
53
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
46
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
54
47
|
$slots: {
|
|
55
48
|
default: (_: {
|
|
56
49
|
total: number;
|
|
@@ -4,18 +4,18 @@ interface OwnProps {
|
|
|
4
4
|
afterCanvasLoaded?: Record<number, CanvasLoadedCallback>;
|
|
5
5
|
}
|
|
6
6
|
declare const _default: {
|
|
7
|
-
new (...args: any[]): import("vue").
|
|
7
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
8
8
|
P: {};
|
|
9
9
|
B: {};
|
|
10
10
|
D: {};
|
|
11
11
|
C: {};
|
|
12
12
|
M: {};
|
|
13
13
|
Defaults: {};
|
|
14
|
-
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps
|
|
14
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
15
15
|
__isFragment?: undefined;
|
|
16
16
|
__isTeleport?: undefined;
|
|
17
17
|
__isSuspense?: undefined;
|
|
18
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps
|
|
18
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & 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 () => {
|
|
19
19
|
$slots: {
|
|
20
20
|
default: (_: {
|
|
21
21
|
onClick: ((showProgress?: boolean | undefined) => Promise<void>) & Promise<void>;
|
|
@@ -6,13 +6,13 @@ interface Props {
|
|
|
6
6
|
current?: number;
|
|
7
7
|
}
|
|
8
8
|
declare const _default: {
|
|
9
|
-
new (...args: any[]): import("vue").
|
|
9
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
10
10
|
onClose?: (() => any) | undefined;
|
|
11
11
|
onOpen?: (() => any) | undefined;
|
|
12
12
|
onNext?: (() => any) | undefined;
|
|
13
13
|
onPrev?: (() => any) | undefined;
|
|
14
14
|
"onUpdate:checkboxFilter"?: ((value: SearchCheckboxFilter) => any) | undefined;
|
|
15
|
-
}
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
prev: () => void;
|
|
17
17
|
} & {
|
|
18
18
|
next: () => void;
|
|
@@ -22,36 +22,30 @@ declare const _default: {
|
|
|
22
22
|
close: () => void;
|
|
23
23
|
} & {
|
|
24
24
|
"update:checkboxFilter": (value: SearchCheckboxFilter) => void;
|
|
25
|
-
}, import("vue").
|
|
26
|
-
onClose?: (() => any) | undefined;
|
|
27
|
-
onOpen?: (() => any) | undefined;
|
|
28
|
-
onNext?: (() => any) | undefined;
|
|
29
|
-
onPrev?: (() => any) | undefined;
|
|
30
|
-
"onUpdate:checkboxFilter"?: ((value: SearchCheckboxFilter) => any) | undefined;
|
|
31
|
-
}, {}, true, {}, {}, {
|
|
25
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
32
26
|
P: {};
|
|
33
27
|
B: {};
|
|
34
28
|
D: {};
|
|
35
29
|
C: {};
|
|
36
30
|
M: {};
|
|
37
31
|
Defaults: {};
|
|
38
|
-
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
32
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
39
33
|
onClose?: (() => any) | undefined;
|
|
40
34
|
onOpen?: (() => any) | undefined;
|
|
41
35
|
onNext?: (() => any) | undefined;
|
|
42
36
|
onPrev?: (() => any) | undefined;
|
|
43
37
|
"onUpdate:checkboxFilter"?: ((value: SearchCheckboxFilter) => any) | undefined;
|
|
44
|
-
}
|
|
38
|
+
}>, {}, {}, {}, {}, {}>;
|
|
45
39
|
__isFragment?: undefined;
|
|
46
40
|
__isTeleport?: undefined;
|
|
47
41
|
__isSuspense?: undefined;
|
|
48
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
42
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
49
43
|
onClose?: (() => any) | undefined;
|
|
50
44
|
onOpen?: (() => any) | undefined;
|
|
51
45
|
onNext?: (() => any) | undefined;
|
|
52
46
|
onPrev?: (() => any) | undefined;
|
|
53
47
|
"onUpdate:checkboxFilter"?: ((value: SearchCheckboxFilter) => any) | undefined;
|
|
54
|
-
}
|
|
48
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
49
|
prev: () => void;
|
|
56
50
|
} & {
|
|
57
51
|
next: () => void;
|
|
@@ -61,7 +55,7 @@ declare const _default: {
|
|
|
61
55
|
close: () => void;
|
|
62
56
|
} & {
|
|
63
57
|
"update:checkboxFilter": (value: SearchCheckboxFilter) => void;
|
|
64
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
58
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
65
59
|
$slots: {
|
|
66
60
|
icon: (_: {}) => any;
|
|
67
61
|
loader: (_: {}) => any;
|
|
@@ -2,30 +2,28 @@ interface Props {
|
|
|
2
2
|
modelValue: boolean;
|
|
3
3
|
}
|
|
4
4
|
declare const _default: {
|
|
5
|
-
new (...args: any[]): import("vue").
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (payload: boolean) => void;
|
|
9
|
-
}, import("vue").
|
|
10
|
-
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
11
|
-
}, {}, true, {}, {}, {
|
|
9
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
12
10
|
P: {};
|
|
13
11
|
B: {};
|
|
14
12
|
D: {};
|
|
15
13
|
C: {};
|
|
16
14
|
M: {};
|
|
17
15
|
Defaults: {};
|
|
18
|
-
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
16
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
19
17
|
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
20
|
-
}
|
|
18
|
+
}>, {}, {}, {}, {}, {}>;
|
|
21
19
|
__isFragment?: undefined;
|
|
22
20
|
__isTeleport?: undefined;
|
|
23
21
|
__isSuspense?: undefined;
|
|
24
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
22
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
25
23
|
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
26
|
-
}
|
|
24
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
25
|
"update:modelValue": (payload: boolean) => void;
|
|
28
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
26
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
29
27
|
$slots: {
|
|
30
28
|
default: (_: {
|
|
31
29
|
onToggle: () => void;
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { ViewerPdfPage } from '../utils/types';
|
|
2
2
|
import { ZoomLevel } from '@/utils/enumerators';
|
|
3
3
|
declare const _default: {
|
|
4
|
-
new (...args: any[]): import("vue").
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
scale: number;
|
|
6
6
|
focusedPage?: Omit<ViewerPdfPage, "page"> | undefined;
|
|
7
7
|
pagesContainer?: HTMLDivElement | undefined;
|
|
8
|
-
}>>> & {
|
|
8
|
+
}>>> & Readonly<{
|
|
9
9
|
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
zoom: (nextScale: number | ZoomLevel) => void;
|
|
12
|
-
}, import("vue").
|
|
13
|
-
scale: number;
|
|
14
|
-
focusedPage?: Omit<ViewerPdfPage, "page"> | undefined;
|
|
15
|
-
pagesContainer?: HTMLDivElement | undefined;
|
|
16
|
-
}>>> & {
|
|
17
|
-
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
18
|
-
}, {}, true, {}, {}, {
|
|
12
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
19
13
|
P: {};
|
|
20
14
|
B: {};
|
|
21
15
|
D: {};
|
|
@@ -26,9 +20,9 @@ declare const _default: {
|
|
|
26
20
|
scale: number;
|
|
27
21
|
focusedPage?: Omit<ViewerPdfPage, "page"> | undefined;
|
|
28
22
|
pagesContainer?: HTMLDivElement | undefined;
|
|
29
|
-
}>>> & {
|
|
23
|
+
}>>> & Readonly<{
|
|
30
24
|
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
31
|
-
}
|
|
25
|
+
}>, {}, {}, {}, {}, {}>;
|
|
32
26
|
__isFragment?: undefined;
|
|
33
27
|
__isTeleport?: undefined;
|
|
34
28
|
__isSuspense?: undefined;
|
|
@@ -36,11 +30,11 @@ declare const _default: {
|
|
|
36
30
|
scale: number;
|
|
37
31
|
focusedPage?: Omit<ViewerPdfPage, "page"> | undefined;
|
|
38
32
|
pagesContainer?: HTMLDivElement | undefined;
|
|
39
|
-
}>>> & {
|
|
33
|
+
}>>> & Readonly<{
|
|
40
34
|
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
41
|
-
}
|
|
35
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
36
|
zoom: (nextScale: number | ZoomLevel) => void;
|
|
43
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
37
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
44
38
|
$slots: {
|
|
45
39
|
default: (_: {
|
|
46
40
|
currentScale: number;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ViewerPdfPage } from '../utils/types';
|
|
2
2
|
import { ZoomLevel } from '@/utils/enumerators';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
currentPercentage: string;
|
|
5
5
|
currentPage?: Omit<ViewerPdfPage, "page"> | undefined;
|
|
6
6
|
container?: HTMLDivElement | undefined;
|
|
7
|
-
}
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
select: (scale: number | ZoomLevel) => void;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
currentPercentage: string;
|
|
11
11
|
currentPage?: Omit<ViewerPdfPage, "page"> | undefined;
|
|
12
12
|
container?: HTMLDivElement | undefined;
|
|
13
|
-
}>>> & {
|
|
13
|
+
}>>> & Readonly<{
|
|
14
14
|
onSelect?: ((scale: number | ZoomLevel) => any) | undefined;
|
|
15
|
-
}, {}, {}>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
18
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,66 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { PDFDocumentProxy } from 'pdfjs-dist';
|
|
3
|
-
import type { CanvasLoadedCallback, AnnotationEventPayload, HighlightEventPayload, HighlightOptions, Match, TextLayerLoadedEventPayload, VisibilityInfo } from '../utils/types';
|
|
4
|
-
interface BaseProps {
|
|
5
|
-
pageIndex: number;
|
|
6
|
-
page: PDFPageProxy;
|
|
7
|
-
viewport: PageViewport;
|
|
8
|
-
document: PDFDocumentProxy;
|
|
9
|
-
afterCanvasLoaded?: CanvasLoadedCallback;
|
|
10
|
-
annoImageResourcesPath?: string;
|
|
11
|
-
}
|
|
12
|
-
type TextProps = {
|
|
13
|
-
textLayer: true;
|
|
14
|
-
highlightText?: string;
|
|
15
|
-
currentHighlight?: Match;
|
|
16
|
-
highlightOptions?: HighlightOptions;
|
|
17
|
-
} | {
|
|
18
|
-
initialTextLayer: true;
|
|
19
|
-
textLayer: false;
|
|
20
|
-
highlightText?: string;
|
|
21
|
-
currentHighlight?: Match;
|
|
22
|
-
highlightOptions?: HighlightOptions;
|
|
23
|
-
};
|
|
24
|
-
type NonTextProps = {
|
|
25
|
-
initialTextLayer: false;
|
|
26
|
-
textLayer: false;
|
|
27
|
-
};
|
|
28
|
-
type OwnProps = BaseProps & (TextProps | NonTextProps);
|
|
29
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<OwnProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
highlight: (payload: HighlightEventPayload) => void;
|
|
31
|
-
} & {
|
|
32
|
-
textLoaded: (payload: TextLayerLoadedEventPayload) => void;
|
|
33
|
-
} & {
|
|
34
|
-
annotated: (payload: AnnotationEventPayload) => void;
|
|
35
|
-
} & {
|
|
36
|
-
annotationLoaded: (payload?: any[] | undefined) => void;
|
|
37
|
-
} & {
|
|
38
|
-
intersected: (args: VisibilityInfo) => void;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BaseProps & {
|
|
40
|
-
textLayer: true;
|
|
41
|
-
highlightText?: string | undefined;
|
|
42
|
-
currentHighlight?: Match | undefined;
|
|
43
|
-
highlightOptions?: HighlightOptions | undefined;
|
|
44
|
-
}>> | import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BaseProps & {
|
|
45
|
-
initialTextLayer: true;
|
|
46
|
-
textLayer: false;
|
|
47
|
-
highlightText?: string | undefined;
|
|
48
|
-
currentHighlight?: Match | undefined;
|
|
49
|
-
highlightOptions?: HighlightOptions | undefined;
|
|
50
|
-
}>> | import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BaseProps & NonTextProps>>> & {
|
|
51
|
-
onAnnotationLoaded?: ((payload?: any[] | undefined) => any) | undefined;
|
|
52
|
-
onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
|
|
53
|
-
onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
|
|
54
|
-
onAnnotated?: ((payload: AnnotationEventPayload) => any) | undefined;
|
|
55
|
-
onIntersected?: ((args: VisibilityInfo) => any) | undefined;
|
|
56
|
-
}, {} | {} | {}, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
|
|
57
2
|
export default _default;
|
|
58
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
59
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
60
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
61
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
62
|
-
} : {
|
|
63
|
-
type: import('vue').PropType<T[K]>;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
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
2
|
export default _default;
|