@vue-pdf-viewer/viewer 0.0.0-beta.9 → 0.0.0-experimental.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +185 -13
- package/dist/annotation-circle-tIpRci60.js +21 -0
- package/dist/annotation-freetext-zmKZ4GuW.js +21 -0
- package/dist/annotation-highlight-CBhenBLo.js +23 -0
- package/dist/annotation-ink-Cr5tjD8f.js +31 -0
- package/dist/annotation-line-CBubP1QZ.js +23 -0
- package/dist/annotation-link-DI9mj24Y.js +21 -0
- package/dist/annotation-signature-DQVfU7hJ.js +21 -0
- package/dist/annotation-square-_rIuUCHT.js +21 -0
- package/dist/annotation-squiggly-DfLrUnSa.js +23 -0
- package/dist/annotation-stamp-B5gaCO0X.js +21 -0
- package/dist/annotation-strikeout-Cn_VHn_N.js +21 -0
- package/dist/annotation-text-pKHfDK_Q.js +21 -0
- package/dist/annotation-underline-BDgmfJQk.js +21 -0
- package/dist/arrow-up-DhoV0HvK.js +21 -0
- package/dist/assets/pdf-annotations/altText_add.svg +3 -0
- package/dist/assets/pdf-annotations/altText_disclaimer.svg +3 -0
- package/dist/assets/pdf-annotations/altText_done.svg +3 -0
- package/dist/assets/pdf-annotations/altText_spinner.svg +37 -0
- package/dist/assets/pdf-annotations/altText_warning.svg +3 -0
- package/dist/assets/pdf-annotations/annotation-check.svg +11 -0
- package/dist/assets/pdf-annotations/annotation-comment.svg +16 -0
- package/dist/assets/pdf-annotations/annotation-help.svg +26 -0
- package/dist/assets/pdf-annotations/annotation-insert.svg +10 -0
- package/dist/assets/pdf-annotations/annotation-key.svg +11 -0
- package/dist/assets/pdf-annotations/annotation-noicon.svg +7 -0
- package/dist/assets/pdf-annotations/annotation-note.svg +44 -0
- package/dist/assets/pdf-annotations/annotation-paperclip.svg +6 -0
- package/dist/assets/pdf-annotations/annotation-paragraph.svg +16 -0
- package/dist/assets/pdf-annotations/annotation-pushpin.svg +7 -0
- package/dist/assets/pdf-annotations/cursor-editorFreeHighlight.svg +6 -0
- package/dist/assets/pdf-annotations/cursor-editorFreeText.svg +3 -0
- package/dist/assets/pdf-annotations/cursor-editorInk.svg +4 -0
- package/dist/assets/pdf-annotations/cursor-editorTextHighlight.svg +8 -0
- package/dist/assets/pdf-annotations/editor-toolbar-delete.svg +5 -0
- package/dist/assets/pdf-annotations/messageBar_closingButton.svg +3 -0
- package/dist/assets/pdf-annotations/messageBar_warning.svg +3 -0
- package/dist/assets/pdf-annotations/secondaryToolbarButton-documentProperties.svg +3 -0
- package/dist/assets/pdf-annotations/toolbarButton-editorHighlight.svg +6 -0
- package/dist/assets/pdf-annotations/toolbarButton-menuArrow.svg +3 -0
- package/dist/check-BRo7Q5UG.js +21 -0
- package/dist/chevron-down-BEs3P7KI.js +21 -0
- package/dist/clear-DP391aEz.js +31 -0
- package/dist/close-CnbAWKuA.js +21 -0
- package/dist/comment-panel-BkFw3FUB.js +21 -0
- package/dist/download-C45QpUvK.js +21 -0
- package/dist/{drag-icon-CJSwJaYj.mjs → drag-icon-CpENKa0y.js} +12 -11
- package/dist/drag-icon-dark-B0sqKXav.js +18 -0
- package/dist/ellipsis-vertical-X1VRRfZe.js +21 -0
- package/dist/empty-comment-dark-DdPeDeR5.js +18 -0
- package/dist/empty-comment-light-Dgc1r5xv.js +18 -0
- package/dist/file-C2gjRcLU.js +21 -0
- package/dist/first-page-32lvRrjG.js +21 -0
- package/dist/fullscreen-Cuegwls4.js +21 -0
- package/dist/hand-BvbzlDGf.js +21 -0
- package/dist/index.js +17710 -0
- package/dist/index.umd.cjs +71 -0
- package/dist/info-2-wEcru0.js +21 -0
- package/dist/last-page-DDJIJ2gp.js +21 -0
- package/dist/magnifier-shuB09Te.js +21 -0
- package/dist/moon-Cf7pmsnw.js +21 -0
- package/dist/page-view-dual-f5-I0-4D.js +21 -0
- package/dist/page-view-single-DTduusoS.js +21 -0
- package/dist/pointer-CdvbhXLR.js +21 -0
- package/dist/printer-ERNx1Q88.js +21 -0
- package/dist/rotate-counter-clockwise-CEN3P8nT.js +21 -0
- package/dist/scrolling-horizontal-CdariRpO.js +23 -0
- package/dist/scrolling-page-wFZlGv_K.js +23 -0
- package/dist/scrolling-vertical-B1Doxmyt.js +23 -0
- package/dist/scrolling-wrapped-BBipRQ-N.js +23 -0
- package/dist/sun-C0fX-A5U.js +21 -0
- package/dist/thumbnail-HzftUNEp.js +21 -0
- package/dist/types/assets/pdf-annotations/index.d.ts +2 -0
- package/dist/types/components/AppButton.vue.d.ts +3 -3
- package/dist/types/components/AppFormControl.vue.d.ts +30 -0
- 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/AppPopover.vue.d.ts +80 -0
- package/dist/types/components/AppTooltip.vue.d.ts +18 -3
- package/dist/types/components/DragFileMask.vue.d.ts +8 -12
- package/dist/types/components/HighlightColorPicker.vue.d.ts +2 -0
- package/dist/types/components/{layers/AnnotationLayer.vue.d.ts → LayerAnnotation.vue.d.ts} +15 -11
- package/dist/types/components/LayerCanvas.vue.d.ts +25 -0
- package/dist/types/components/{layers/TextLayer.vue.d.ts → LayerText.vue.d.ts} +9 -11
- package/dist/types/components/LayerTextHighlight.vue.d.ts +20 -0
- package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +19 -0
- package/dist/types/components/{layers/XFALayer.vue.d.ts → LayerXFA.vue.d.ts} +4 -4
- package/dist/types/components/ModalPassword.vue.d.ts +19 -0
- 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 +5 -3
- package/dist/types/components/ToolCommentPanel.vue.d.ts +31 -0
- package/dist/types/components/ToolDownload.vue.d.ts +4 -3
- package/dist/types/components/ToolFullscreen.vue.d.ts +4 -3
- package/dist/types/components/ToolMenuOthers.vue.d.ts +67 -26
- package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +2 -2
- package/dist/types/components/ToolOpenFile.vue.d.ts +4 -3
- package/dist/types/components/ToolOpenFileInput.vue.d.ts +2 -2
- package/dist/types/components/ToolPagination.vue.d.ts +14 -19
- package/dist/types/components/ToolPrint.vue.d.ts +10 -45
- package/dist/types/components/ToolSearch.vue.d.ts +43 -23
- package/dist/types/components/ToolThumbnail.vue.d.ts +8 -10
- package/dist/types/components/ToolZoom.vue.d.ts +24 -27
- package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +12 -11
- 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 +17 -32
- package/dist/types/components/VPdfSplitter.vue.d.ts +1 -1
- package/dist/types/components/VPdfThumbnail.vue.d.ts +7 -5
- package/dist/types/components/VPdfThumbnails.vue.d.ts +5 -5
- package/dist/types/components/VPdfViewer.vue.d.ts +522 -276
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/ui/button/Button.vue.d.ts +6 -8
- package/dist/types/components/ui/button/index.d.ts +1 -1
- 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 +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 +7 -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 +7 -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/components/utils/annotations.d.ts +1 -11
- package/dist/types/components/utils/destination.d.ts +1 -1
- package/dist/types/components/utils/helpers.d.ts +0 -8
- package/dist/types/composables/useDownload.d.ts +11 -4
- package/dist/types/composables/useHighlight.d.ts +11 -0
- package/dist/types/composables/useLicense.d.ts +18 -8
- package/dist/types/composables/{usePDF.d.ts → usePdf.d.ts} +7 -5
- 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 +3 -17
- package/dist/types/composables/usePinch.d.ts +2 -1
- 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 +3 -3
- 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 +3 -2
- package/dist/types/composables/useScale.d.ts +21 -0
- package/dist/types/composables/useSearch.d.ts +3 -37
- 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 +86 -18
- package/dist/types/index.d.ts +4 -0
- package/dist/types/utils/appConsole.d.ts +24 -0
- package/dist/types/utils/characters.d.ts +16 -0
- package/dist/types/utils/enumerators.d.ts +76 -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 +683 -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 +6 -3
- package/dist/zoom-in-CPqqALGr.js +21 -0
- package/dist/zoom-out-BpilF8O_.js +21 -0
- package/package.json +29 -30
- package/dist/arrow-up-CZcWar0V.mjs +0 -20
- package/dist/check-BDQ_1xOK.mjs +0 -21
- package/dist/chevron-down-BGvKkqoz.mjs +0 -21
- package/dist/clear-BdBsR989.mjs +0 -31
- package/dist/close-CbywujCY.mjs +0 -20
- package/dist/download-DwxdC2cz.mjs +0 -21
- package/dist/drag-icon-dark-DslxK0op.mjs +0 -17
- package/dist/ellipsis-vertical-DU4RrfN8.mjs +0 -21
- package/dist/first-page-D2sUix1F.mjs +0 -20
- package/dist/fullscreen-CDD3D91y.mjs +0 -21
- package/dist/hand-BdufQ7PJ.mjs +0 -21
- package/dist/index.mjs +0 -28783
- package/dist/index.umd.js +0 -54
- package/dist/info-CnzWbChw.mjs +0 -20
- package/dist/last-page-BlLcdVDC.mjs +0 -20
- package/dist/magnifier-D5effak1.mjs +0 -21
- package/dist/moon-jjKfhCeP.mjs +0 -21
- package/dist/pointer-CosfQ2Bj.mjs +0 -21
- package/dist/printer-CZndb-XY.mjs +0 -21
- package/dist/rotate-counter-clockwise-BnC8SAwc.mjs +0 -21
- package/dist/sun-f_yo-49i.mjs +0 -21
- package/dist/thumbnail-BrLTlvMi.mjs +0 -21
- package/dist/types/components/types.d.ts +0 -216
- package/dist/types/components/utils/highlight.d.ts +0 -6
- package/dist/types/composables/useCalculatePages.d.ts +0 -12
- package/dist/types/composables/usePageQueue.d.ts +0 -10
- package/dist/types/composables/usePrint.d.ts +0 -9
- package/dist/types/composables/useRenderTask.d.ts +0 -8
- package/dist/zoom-in-MHWLskY5.mjs +0 -21
- package/dist/zoom-out-BOe91xpp.mjs +0 -21
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import type { PDFDocumentProxy, PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import type { AnnotationEventPayload } from './../utils/types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
page: PDFPageProxy;
|
|
5
|
+
viewport: PageViewport;
|
|
6
|
+
document: PDFDocumentProxy;
|
|
6
7
|
annotationsFilter?: string[] | undefined;
|
|
7
8
|
annotationsMap?: object | undefined;
|
|
8
9
|
imageResourcesPath?: string | undefined;
|
|
9
10
|
hideForms?: boolean | undefined;
|
|
10
11
|
enableScripting?: boolean | undefined;
|
|
11
12
|
intent: string;
|
|
12
|
-
}
|
|
13
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
14
|
annotation: (payload: AnnotationEventPayload) => void;
|
|
14
15
|
} & {
|
|
15
16
|
annotationLoaded: (payload: any[] | undefined) => void;
|
|
17
|
+
} & {
|
|
18
|
+
annotationRenderError: (reason: any) => void;
|
|
16
19
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
-
page
|
|
18
|
-
viewport
|
|
19
|
-
document
|
|
20
|
+
page: PDFPageProxy;
|
|
21
|
+
viewport: PageViewport;
|
|
22
|
+
document: PDFDocumentProxy;
|
|
20
23
|
annotationsFilter?: string[] | undefined;
|
|
21
24
|
annotationsMap?: object | undefined;
|
|
22
25
|
imageResourcesPath?: string | undefined;
|
|
23
26
|
hideForms?: boolean | undefined;
|
|
24
27
|
enableScripting?: boolean | undefined;
|
|
25
28
|
intent: string;
|
|
26
|
-
}>>> & {
|
|
29
|
+
}>>> & Readonly<{
|
|
27
30
|
onAnnotation?: ((payload: AnnotationEventPayload) => any) | undefined;
|
|
28
31
|
onAnnotationLoaded?: ((payload: any[] | undefined) => any) | undefined;
|
|
29
|
-
|
|
32
|
+
onAnnotationRenderError?: ((reason: any) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
34
|
export default _default;
|
|
31
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
36
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -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: () => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
|
|
14
|
+
onRendered?: (() => 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
|
+
};
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import type { PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
2
|
-
import type { HighlightEventPayload,
|
|
3
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
import type { HighlightEventPayload, TextLayerHighlightProps, TextLayerLoadedEventPayload } from '../utils/types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
page: PDFPageProxy;
|
|
5
5
|
viewport: PageViewport;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
highlight?: TextLayerHighlightProps | undefined;
|
|
7
|
+
currentMatchIndex?: number | undefined;
|
|
8
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
9
|
highlight: (payload: HighlightEventPayload) => void;
|
|
11
10
|
} & {
|
|
12
11
|
textLoaded: (payload: TextLayerLoadedEventPayload) => void;
|
|
13
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
13
|
page: PDFPageProxy;
|
|
15
14
|
viewport: PageViewport;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}>>> & {
|
|
15
|
+
highlight?: TextLayerHighlightProps | undefined;
|
|
16
|
+
currentMatchIndex?: number | undefined;
|
|
17
|
+
}>>> & Readonly<{
|
|
20
18
|
onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
|
|
21
19
|
onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
|
|
22
|
-
}, {}, {}>;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
21
|
export default _default;
|
|
24
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
23
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TextHighlight } from '@/utils/types';
|
|
2
|
+
import type { PageViewport } from 'pdfjs-dist';
|
|
3
|
+
import type { TextContent } from 'pdfjs-dist/types/src/display/text_layer';
|
|
4
|
+
interface OwnProps {
|
|
5
|
+
pageIndex: number;
|
|
6
|
+
viewport: PageViewport;
|
|
7
|
+
textContent: TextContent;
|
|
8
|
+
highlightKeywords: TextHighlight[];
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & 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,19 @@
|
|
|
1
|
+
import type { PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import type { TextContent } from 'pdfjs-dist/types/src/display/text_layer';
|
|
3
|
+
interface OwnProps {
|
|
4
|
+
pageIndex: number;
|
|
5
|
+
viewport: PageViewport;
|
|
6
|
+
textContent: TextContent;
|
|
7
|
+
searchKeyword?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
page?: import("pdfjs-dist/types/src/display/api").PDFPageProxy | undefined;
|
|
3
3
|
document?: import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | undefined;
|
|
4
4
|
viewport?: import("pdfjs-dist/types/src/display/display_utils").PageViewport | undefined;
|
|
5
|
-
}
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
xfaLoaded: () => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
page?: import("pdfjs-dist/types/src/display/api").PDFPageProxy | undefined;
|
|
9
9
|
document?: import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | undefined;
|
|
10
10
|
viewport?: import("pdfjs-dist/types/src/display/display_utils").PageViewport | undefined;
|
|
11
|
-
}>>> & {
|
|
11
|
+
}>>> & Readonly<{
|
|
12
12
|
onXfaLoaded?: (() => any) | undefined;
|
|
13
|
-
}, {}, {}>;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface OwnProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
errorMessage?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submitPassword: (password: string) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
|
|
8
|
+
onSubmitPassword?: ((password: string) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -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,21 +1,23 @@
|
|
|
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;
|
|
17
17
|
onClick: () => void;
|
|
18
18
|
}) => any;
|
|
19
|
+
iconLight: (_: {}) => any;
|
|
20
|
+
iconDark: (_: {}) => any;
|
|
19
21
|
};
|
|
20
22
|
});
|
|
21
23
|
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
+
onToggle?: (() => any) | undefined;
|
|
4
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
toggle: () => void;
|
|
6
|
+
}, 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<{}> & Readonly<{
|
|
14
|
+
onToggle?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, {}>;
|
|
16
|
+
__isFragment?: undefined;
|
|
17
|
+
__isTeleport?: undefined;
|
|
18
|
+
__isSuspense?: undefined;
|
|
19
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
20
|
+
onToggle?: (() => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
toggle: () => void;
|
|
23
|
+
}, 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: (_: {
|
|
26
|
+
onClick: () => void;
|
|
27
|
+
}) => any;
|
|
28
|
+
icon: (_: {}) => any;
|
|
29
|
+
};
|
|
30
|
+
});
|
|
31
|
+
export default _default;
|
|
@@ -1,20 +1,21 @@
|
|
|
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;
|
|
17
17
|
}) => any;
|
|
18
|
+
icon: (_: {}) => any;
|
|
18
19
|
};
|
|
19
20
|
});
|
|
20
21
|
export default _default;
|
|
@@ -1,21 +1,22 @@
|
|
|
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>;
|
|
17
17
|
isSupported: boolean;
|
|
18
18
|
}) => any;
|
|
19
|
+
icon: (_: {}) => any;
|
|
19
20
|
};
|
|
20
21
|
});
|
|
21
22
|
export default _default;
|
|
@@ -1,10 +1,60 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default:
|
|
1
|
+
import { CanvasLoadedCallback } from '../utils/types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
rootContainer: HTMLDivElement;
|
|
5
|
+
textSelection: boolean;
|
|
6
|
+
print: (showProgress?: boolean) => Promise<void>;
|
|
7
|
+
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
8
|
+
}>>> & Readonly<{
|
|
9
|
+
onRotateClockwise?: (() => any) | undefined;
|
|
10
|
+
onRotateCounterclockwise?: (() => any) | undefined;
|
|
11
|
+
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
12
|
+
onGotoFirstPage?: (() => any) | undefined;
|
|
13
|
+
onGotoLastPage?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
rotateClockwise: () => void;
|
|
16
|
+
} & {
|
|
17
|
+
rotateCounterclockwise: () => void;
|
|
18
|
+
} & {
|
|
19
|
+
textSelection: (isTextSelection: boolean) => void;
|
|
20
|
+
} & {
|
|
21
|
+
gotoFirstPage: () => void;
|
|
22
|
+
} & {
|
|
23
|
+
gotoLastPage: () => void;
|
|
24
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
32
|
+
rootContainer: HTMLDivElement;
|
|
33
|
+
textSelection: boolean;
|
|
34
|
+
print: (showProgress?: boolean) => Promise<void>;
|
|
35
|
+
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
36
|
+
}>>> & Readonly<{
|
|
37
|
+
onRotateClockwise?: (() => any) | undefined;
|
|
38
|
+
onRotateCounterclockwise?: (() => any) | undefined;
|
|
39
|
+
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
40
|
+
onGotoFirstPage?: (() => any) | undefined;
|
|
41
|
+
onGotoLastPage?: (() => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, {}>;
|
|
43
|
+
__isFragment?: undefined;
|
|
44
|
+
__isTeleport?: undefined;
|
|
45
|
+
__isSuspense?: undefined;
|
|
46
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
47
|
rootContainer: HTMLDivElement;
|
|
4
48
|
textSelection: boolean;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
49
|
+
print: (showProgress?: boolean) => Promise<void>;
|
|
50
|
+
afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
|
|
51
|
+
}>>> & Readonly<{
|
|
52
|
+
onRotateClockwise?: (() => any) | undefined;
|
|
53
|
+
onRotateCounterclockwise?: (() => any) | undefined;
|
|
54
|
+
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
55
|
+
onGotoFirstPage?: (() => any) | undefined;
|
|
56
|
+
onGotoLastPage?: (() => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
58
|
rotateClockwise: () => void;
|
|
9
59
|
} & {
|
|
10
60
|
rotateCounterclockwise: () => void;
|
|
@@ -14,27 +64,18 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
14
64
|
gotoFirstPage: () => void;
|
|
15
65
|
} & {
|
|
16
66
|
gotoLastPage: () => void;
|
|
17
|
-
} & {
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
onProgress?: ((percent: number) => any) | undefined;
|
|
30
|
-
onLoading?: (() => any) | undefined;
|
|
31
|
-
onLoaded?: (() => any) | undefined;
|
|
32
|
-
onRotateClockwise?: (() => any) | undefined;
|
|
33
|
-
onRotateCounterclockwise?: (() => any) | undefined;
|
|
34
|
-
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
35
|
-
onGotoFirstPage?: (() => any) | undefined;
|
|
36
|
-
onGotoLastPage?: (() => any) | undefined;
|
|
37
|
-
}, {}, {}>;
|
|
67
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
68
|
+
$slots: Record<string, {}> & Record<string, {}> & {
|
|
69
|
+
icon: (_: {}) => any;
|
|
70
|
+
iconFirstPage: (_: {}) => any;
|
|
71
|
+
iconLastPage: (_: {}) => any;
|
|
72
|
+
iconRotateClockwise: (_: {}) => any;
|
|
73
|
+
iconRotateCounterClockwise: (_: {}) => any;
|
|
74
|
+
iconTextSelection: (_: {}) => any;
|
|
75
|
+
iconHandMode: (_: {}) => any;
|
|
76
|
+
iconDocProperties: (_: {}) => any;
|
|
77
|
+
};
|
|
78
|
+
});
|
|
38
79
|
export default _default;
|
|
39
80
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
81
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -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,20 +1,21 @@
|
|
|
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;
|
|
17
17
|
}) => any;
|
|
18
|
+
icon: (_: {}) => any;
|
|
18
19
|
};
|
|
19
20
|
});
|
|
20
21
|
export default _default;
|
|
@@ -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
|
-
}>>> & {
|
|
6
|
-
onPrev?: (() => any) | undefined;
|
|
5
|
+
}>>> & Readonly<{
|
|
7
6
|
onNext?: (() => any) | undefined;
|
|
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
|
-
onPrev?: (() => any) | undefined;
|
|
20
|
-
onNext?: (() => 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
|
-
}>>> & {
|
|
33
|
-
onPrev?: (() => any) | undefined;
|
|
25
|
+
}>>> & Readonly<{
|
|
34
26
|
onNext?: (() => any) | undefined;
|
|
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
|
-
}>>> & {
|
|
44
|
-
onPrev?: (() => any) | undefined;
|
|
36
|
+
}>>> & Readonly<{
|
|
45
37
|
onNext?: (() => any) | undefined;
|
|
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;
|
|
@@ -59,6 +52,8 @@ declare const _default: {
|
|
|
59
52
|
onPrev: () => void;
|
|
60
53
|
onChangePage: (pageNumber: number) => void;
|
|
61
54
|
}) => any;
|
|
55
|
+
iconPrevPage: (_: {}) => any;
|
|
56
|
+
iconNextPage: (_: {}) => any;
|
|
62
57
|
};
|
|
63
58
|
});
|
|
64
59
|
export default _default;
|