@vue-pdf-viewer/viewer 3.0.0-alpha.5 → 3.0.0-alpha.7
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 +10299 -10018
- package/dist/index.umd.cjs +18 -18
- 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 +27 -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 +464 -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/useCommandHistory.d.ts +6 -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 +151 -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 +28 -0
- package/dist/types/utils/annotation-free-text.d.ts +4 -0
- package/dist/types/utils/annotation-highlight.d.ts +81 -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 +81 -0
- package/dist/types/utils/highlight.d.ts +8 -0
- package/dist/types/utils/historyManager.d.ts +55 -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 +2 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PDFPageProxy, PageViewport } from 'pdfjs-dist';
|
|
2
|
+
import type { HighlightEventPayload, TextLayerHighlightProps, TextLayerLoadedEventPayload } from '../utils/types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
page: PDFPageProxy;
|
|
5
|
+
viewport: PageViewport;
|
|
6
|
+
highlight?: TextLayerHighlightProps | undefined;
|
|
7
|
+
currentMatchIndex?: number | undefined;
|
|
8
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
highlight: (payload: HighlightEventPayload) => void;
|
|
10
|
+
} & {
|
|
11
|
+
textLoaded: (payload: TextLayerLoadedEventPayload) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
page: PDFPageProxy;
|
|
14
|
+
viewport: PageViewport;
|
|
15
|
+
highlight?: TextLayerHighlightProps | undefined;
|
|
16
|
+
currentMatchIndex?: number | undefined;
|
|
17
|
+
}>>> & Readonly<{
|
|
18
|
+
onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
|
|
19
|
+
onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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,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
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
page?: import("pdfjs-dist/types/src/display/api").PDFPageProxy | undefined;
|
|
3
|
+
document?: import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | undefined;
|
|
4
|
+
viewport?: import("pdfjs-dist/types/src/display/display_utils").PageViewport | undefined;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
xfaLoaded: () => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
page?: import("pdfjs-dist/types/src/display/api").PDFPageProxy | undefined;
|
|
9
|
+
document?: import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | undefined;
|
|
10
|
+
viewport?: import("pdfjs-dist/types/src/display/display_utils").PageViewport | undefined;
|
|
11
|
+
}>>> & Readonly<{
|
|
12
|
+
onXfaLoaded?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:open": (value: boolean) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
7
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
open: boolean;
|
|
3
|
+
percent: number;
|
|
4
|
+
rootElement?: HTMLDivElement;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
cancel: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
9
|
+
onCancel?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, 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,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,23 @@
|
|
|
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: (_: {
|
|
16
|
+
isDark: boolean;
|
|
17
|
+
onClick: () => void;
|
|
18
|
+
}) => any;
|
|
19
|
+
iconLight: (_: {}) => any;
|
|
20
|
+
iconDark: (_: {}) => any;
|
|
21
|
+
};
|
|
22
|
+
});
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
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: (_: {
|
|
16
|
+
onClick: () => void;
|
|
17
|
+
}) => any;
|
|
18
|
+
icon: (_: {}) => any;
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
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: (_: {
|
|
16
|
+
onClick: () => Promise<void>;
|
|
17
|
+
isSupported: boolean;
|
|
18
|
+
}) => any;
|
|
19
|
+
icon: (_: {}) => any;
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,88 @@
|
|
|
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<{
|
|
47
|
+
rootContainer: HTMLDivElement;
|
|
48
|
+
textSelection: boolean;
|
|
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, {
|
|
58
|
+
rotateClockwise: () => void;
|
|
59
|
+
} & {
|
|
60
|
+
rotateCounterclockwise: () => void;
|
|
61
|
+
} & {
|
|
62
|
+
textSelection: (isTextSelection: boolean) => void;
|
|
63
|
+
} & {
|
|
64
|
+
gotoFirstPage: () => void;
|
|
65
|
+
} & {
|
|
66
|
+
gotoLastPage: () => void;
|
|
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
|
+
});
|
|
79
|
+
export default _default;
|
|
80
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
81
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
82
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
83
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
84
|
+
} : {
|
|
85
|
+
type: import('vue').PropType<T[K]>;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
rotateClockwise: () => void;
|
|
3
|
+
} & {
|
|
4
|
+
rotateCounterclockwise: () => void;
|
|
5
|
+
} & {
|
|
6
|
+
textSelection: (isTextSelection: boolean) => void;
|
|
7
|
+
} & {
|
|
8
|
+
gotoFirstPage: () => void;
|
|
9
|
+
} & {
|
|
10
|
+
gotoLastPage: () => void;
|
|
11
|
+
} & {
|
|
12
|
+
clickPrint: () => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
14
|
+
onRotateClockwise?: (() => any) | undefined;
|
|
15
|
+
onRotateCounterclockwise?: (() => any) | undefined;
|
|
16
|
+
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
17
|
+
onGotoFirstPage?: (() => any) | undefined;
|
|
18
|
+
onGotoLastPage?: (() => any) | undefined;
|
|
19
|
+
onClickPrint?: (() => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
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: (_: {
|
|
16
|
+
onClick: () => void;
|
|
17
|
+
}) => any;
|
|
18
|
+
icon: (_: {}) => any;
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
triggerClick: () => void;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (file: string) => void;
|
|
5
|
+
} & {
|
|
6
|
+
filenameChange: (file: string) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onChange?: ((file: string) => any) | undefined;
|
|
9
|
+
onFilenameChange?: ((file: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
current: number;
|
|
4
|
+
total: number;
|
|
5
|
+
}>>> & Readonly<{
|
|
6
|
+
onNext?: (() => any) | undefined;
|
|
7
|
+
onPrev?: (() => any) | undefined;
|
|
8
|
+
onChangePage?: ((payload: number) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
changePage: (payload: number) => void;
|
|
11
|
+
} & {
|
|
12
|
+
prev: () => void;
|
|
13
|
+
} & {
|
|
14
|
+
next: () => void;
|
|
15
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
current: number;
|
|
24
|
+
total: number;
|
|
25
|
+
}>>> & Readonly<{
|
|
26
|
+
onNext?: (() => any) | undefined;
|
|
27
|
+
onPrev?: (() => any) | undefined;
|
|
28
|
+
onChangePage?: ((payload: number) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, {}>;
|
|
30
|
+
__isFragment?: undefined;
|
|
31
|
+
__isTeleport?: undefined;
|
|
32
|
+
__isSuspense?: undefined;
|
|
33
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
34
|
+
current: number;
|
|
35
|
+
total: number;
|
|
36
|
+
}>>> & Readonly<{
|
|
37
|
+
onNext?: (() => any) | undefined;
|
|
38
|
+
onPrev?: (() => any) | undefined;
|
|
39
|
+
onChangePage?: ((payload: number) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
changePage: (payload: number) => void;
|
|
42
|
+
} & {
|
|
43
|
+
prev: () => void;
|
|
44
|
+
} & {
|
|
45
|
+
next: () => void;
|
|
46
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
47
|
+
$slots: {
|
|
48
|
+
default: (_: {
|
|
49
|
+
total: number;
|
|
50
|
+
current: number;
|
|
51
|
+
onNext: () => void;
|
|
52
|
+
onPrev: () => void;
|
|
53
|
+
onChangePage: (pageNumber: number) => void;
|
|
54
|
+
}) => any;
|
|
55
|
+
iconPrevPage: (_: {}) => any;
|
|
56
|
+
iconNextPage: (_: {}) => any;
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import('vue').PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CanvasLoadedCallback } from '../utils/types';
|
|
2
|
+
interface OwnProps {
|
|
3
|
+
print: (showProgress?: boolean) => Promise<void>;
|
|
4
|
+
afterCanvasLoaded?: Record<number, CanvasLoadedCallback>;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: {
|
|
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
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
15
|
+
__isFragment?: undefined;
|
|
16
|
+
__isTeleport?: undefined;
|
|
17
|
+
__isSuspense?: undefined;
|
|
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
|
+
$slots: {
|
|
20
|
+
default: (_: {
|
|
21
|
+
onClick: ((showProgress?: boolean | undefined) => Promise<void>) & Promise<void>;
|
|
22
|
+
}) => any;
|
|
23
|
+
icon: (_: {}) => any;
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { HighlightOptions } from '@/utils/types';
|
|
2
|
+
interface Props {
|
|
3
|
+
searching: boolean;
|
|
4
|
+
open: boolean;
|
|
5
|
+
count?: number;
|
|
6
|
+
current?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: {
|
|
9
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
10
|
+
onClose?: (() => any) | undefined;
|
|
11
|
+
onOpen?: (() => any) | undefined;
|
|
12
|
+
onNext?: (() => any) | undefined;
|
|
13
|
+
onPrev?: (() => any) | undefined;
|
|
14
|
+
"onUpdate:checkboxFilter"?: ((value: HighlightOptions) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
prev: () => void;
|
|
17
|
+
} & {
|
|
18
|
+
next: () => void;
|
|
19
|
+
} & {
|
|
20
|
+
open: () => void;
|
|
21
|
+
} & {
|
|
22
|
+
close: () => void;
|
|
23
|
+
} & {
|
|
24
|
+
"update:checkboxFilter": (value: HighlightOptions) => 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<Props>>> & Readonly<{
|
|
33
|
+
onClose?: (() => any) | undefined;
|
|
34
|
+
onOpen?: (() => any) | undefined;
|
|
35
|
+
onNext?: (() => any) | undefined;
|
|
36
|
+
onPrev?: (() => any) | undefined;
|
|
37
|
+
"onUpdate:checkboxFilter"?: ((value: HighlightOptions) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, {}>;
|
|
39
|
+
__isFragment?: undefined;
|
|
40
|
+
__isTeleport?: undefined;
|
|
41
|
+
__isSuspense?: undefined;
|
|
42
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
43
|
+
onClose?: (() => any) | undefined;
|
|
44
|
+
onOpen?: (() => any) | undefined;
|
|
45
|
+
onNext?: (() => any) | undefined;
|
|
46
|
+
onPrev?: (() => any) | undefined;
|
|
47
|
+
"onUpdate:checkboxFilter"?: ((value: HighlightOptions) => any) | undefined;
|
|
48
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
prev: () => void;
|
|
50
|
+
} & {
|
|
51
|
+
next: () => void;
|
|
52
|
+
} & {
|
|
53
|
+
open: () => void;
|
|
54
|
+
} & {
|
|
55
|
+
close: () => void;
|
|
56
|
+
} & {
|
|
57
|
+
"update:checkboxFilter": (value: HighlightOptions) => void;
|
|
58
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
59
|
+
$slots: {
|
|
60
|
+
icon: (_: {}) => any;
|
|
61
|
+
loader: (_: {}) => any;
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
67
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
68
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
+
} : {
|
|
70
|
+
type: import('vue').PropType<T[K]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: {
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
6
|
+
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (payload: boolean) => void;
|
|
9
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
10
|
+
P: {};
|
|
11
|
+
B: {};
|
|
12
|
+
D: {};
|
|
13
|
+
C: {};
|
|
14
|
+
M: {};
|
|
15
|
+
Defaults: {};
|
|
16
|
+
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, {}>;
|
|
19
|
+
__isFragment?: undefined;
|
|
20
|
+
__isTeleport?: undefined;
|
|
21
|
+
__isSuspense?: undefined;
|
|
22
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (payload: boolean) => void;
|
|
26
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
27
|
+
$slots: {
|
|
28
|
+
default: (_: {
|
|
29
|
+
onToggle: () => void;
|
|
30
|
+
}) => any;
|
|
31
|
+
icon: (_: {}) => any;
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|