@vue-pdf-viewer/viewer 4.0.0-beta.0 → 4.0.0-beta.2
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/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-BDA6HkG2.js → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js} +285 -284
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-DMA8_Vun.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs} +4 -4
- package/dist/{index-D1HreucU.cjs → index-B2bnNcQK.cjs} +1 -1
- package/dist/{index-DQJPH6A2.js → index-BAl2kzgK.js} +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.js +5513 -5490
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/dist/types/components/AppButton.vue.d.ts +11 -17
- package/dist/types/components/AppColorPicker.vue.d.ts +11 -14
- package/dist/types/components/AppFormControl.vue.d.ts +6 -24
- package/dist/types/components/AppIcon.vue.d.ts +3 -13
- package/dist/types/components/AppInput.vue.d.ts +1 -10
- package/dist/types/components/AppLoader.vue.d.ts +13 -18
- package/dist/types/components/AppPopover.vue.d.ts +21 -76
- package/dist/types/components/AppTooltip.vue.d.ts +14 -31
- package/dist/types/components/ColorButton.vue.d.ts +10 -13
- package/dist/types/components/DragFileMask.vue.d.ts +11 -45
- package/dist/types/components/FreeTextPanel.vue.d.ts +9 -1
- package/dist/types/components/FreeTextPanelFontColors.vue.d.ts +8 -1
- package/dist/types/components/FreeTextPanelFontFamilySelector.vue.d.ts +8 -1
- package/dist/types/components/FreeTextPanelFontSizeSelector.vue.d.ts +8 -1
- package/dist/types/components/LayerAnnotation.vue.d.ts +15 -36
- package/dist/types/components/LayerAnnotationEditor.vue.d.ts +3 -18
- package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +20 -31
- package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +8 -19
- package/dist/types/components/LayerAnnotationEditorHighlight.vue.d.ts +22 -31
- package/dist/types/components/LayerAnnotationEditorHighlightItem.vue.d.ts +3 -18
- package/dist/types/components/LayerAnnotationEditorImage.vue.d.ts +13 -20
- package/dist/types/components/LayerAnnotationEditorTextSelectionItem.vue.d.ts +7 -18
- package/dist/types/components/LayerAnnotationEditorTextSelectionItemMenu.vue.d.ts +15 -19
- package/dist/types/components/LayerAnnotationStampResizer.vue.d.ts +7 -17
- package/dist/types/components/LayerCanvas.vue.d.ts +5 -13
- package/dist/types/components/LayerCanvasDetail.vue.d.ts +1 -10
- package/dist/types/components/LayerOverlay.vue.d.ts +15 -35
- package/dist/types/components/LayerText.vue.d.ts +9 -23
- package/dist/types/components/LayerTextHighlight.vue.d.ts +1 -10
- package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +1 -10
- package/dist/types/components/LayerXFA.vue.d.ts +10 -21
- package/dist/types/components/ModalPassword.vue.d.ts +11 -14
- package/dist/types/components/ModalPdfProperties.vue.d.ts +4 -13
- package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +4 -13
- package/dist/types/components/SwitchAppearance.vue.d.ts +25 -22
- package/dist/types/components/ToolCommentPanel.vue.d.ts +24 -29
- package/dist/types/components/ToolDownload.vue.d.ts +15 -20
- package/dist/types/components/ToolFullscreen.vue.d.ts +16 -21
- package/dist/types/components/ToolMenuOthers.vue.d.ts +37 -76
- package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +7 -12
- package/dist/types/components/ToolOpenFile.vue.d.ts +15 -20
- package/dist/types/components/ToolOpenFileInput.vue.d.ts +3 -4
- package/dist/types/components/ToolPagination.vue.d.ts +26 -60
- package/dist/types/components/ToolPrint.vue.d.ts +10 -27
- package/dist/types/components/ToolSearch.vue.d.ts +23 -57
- package/dist/types/components/ToolThumbnail.vue.d.ts +13 -36
- package/dist/types/components/ToolZoom.vue.d.ts +21 -45
- package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +7 -18
- package/dist/types/components/VPdfComments.vue.d.ts +6 -17
- package/dist/types/components/VPdfCommentsDate.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsHeader.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsIcon.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsReplies.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsSidebar.vue.d.ts +3 -4
- package/dist/types/components/VPdfCommentsText.vue.d.ts +11 -1
- package/dist/types/components/VPdfPage.vue.d.ts +16 -55
- package/dist/types/components/VPdfThumbnail.vue.d.ts +6 -17
- package/dist/types/components/VPdfThumbnails.vue.d.ts +6 -15
- package/dist/types/components/VPdfViewer.vue.d.ts +317 -604
- package/dist/types/components/ui/button/Button.vue.d.ts +8 -41
- package/dist/types/components/ui/button/index.d.ts +1 -1
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +15 -29
- package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +15 -26
- package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +9 -24
- package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +13 -24
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +9 -24
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +25 -29
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +13 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +17 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +23 -44
- package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +9 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +13 -35
- package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +12 -32
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +13 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +16 -32
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -13
- package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +11 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +13 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +27 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +11 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/input/Input.vue.d.ts +4 -13
- package/dist/types/components/ui/popover/Popover.vue.d.ts +13 -24
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +27 -55
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/progress/Progress.vue.d.ts +4 -23
- package/dist/types/components/ui/select/Select.vue.d.ts +16 -24
- package/dist/types/components/ui/select/SelectContent.vue.d.ts +21 -48
- package/dist/types/components/ui/select/SelectGroup.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectItem.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectItemText.vue.d.ts +9 -24
- package/dist/types/components/ui/select/SelectLabel.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +3 -13
- package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectValue.vue.d.ts +9 -24
- package/dist/types/components/ui/toast/Toast.vue.d.ts +91 -24
- package/dist/types/components/ui/toast/ToastAction.vue.d.ts +11 -29
- package/dist/types/components/ui/toast/ToastClose.vue.d.ts +3 -13
- package/dist/types/components/ui/toast/ToastDescription.vue.d.ts +11 -29
- package/dist/types/components/ui/toast/ToastProvider.vue.d.ts +9 -24
- package/dist/types/components/ui/toast/ToastTitle.vue.d.ts +11 -29
- package/dist/types/components/ui/toast/ToastViewport.vue.d.ts +3 -13
- package/dist/types/components/ui/toast/index.d.ts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +13 -24
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +17 -44
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +9 -24
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +9 -24
- package/dist/types/composables/useAnnotationFreeText.d.ts +454 -248
- package/dist/types/composables/useAnnotationHighlight.d.ts +288 -178
- package/dist/types/composables/useAnnotationStamp.d.ts +344 -212
- package/dist/types/composables/useAnnotationStrikethrough.d.ts +326 -216
- package/dist/types/composables/useAnnotationUnderline.d.ts +326 -216
- package/dist/types/composables/useDownload.d.ts +1 -1
- package/dist/types/composables/usePinch.d.ts +2 -2
- package/dist/types/composables/usePrintControl.d.ts +1 -1
- package/dist/types/composables/useRotation.d.ts +1 -1
- package/dist/types/composables/useScale.d.ts +4 -4
- package/dist/types/const.d.ts +30 -1065
- package/dist/types/utils/CanvasRender.d.ts +0 -1
- package/dist/types/utils/searchHighlight.d.ts +1 -1
- package/dist/types/utils/types.d.ts +4 -3
- package/package.json +12 -5
|
@@ -3,18 +3,9 @@ interface Props {
|
|
|
3
3
|
percent: number;
|
|
4
4
|
rootElement?: HTMLDivElement;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import("vue").DefineComponent<
|
|
7
|
-
cancel: () =>
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
cancel: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
onCancel?: (() => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
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
|
-
};
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
});
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {
|
|
5
|
+
isDark: boolean;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
}, __VLS_14: {}, __VLS_19: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
iconLight?: (props: typeof __VLS_14) => any;
|
|
12
|
+
} & {
|
|
13
|
+
iconDark?: (props: typeof __VLS_19) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: boolean) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
21
|
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,31 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
__isTeleport?: undefined;
|
|
18
|
-
__isSuspense?: undefined;
|
|
19
|
-
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
}, __VLS_14: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
icon?: (props: typeof __VLS_14) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
14
|
+
} & {
|
|
15
|
+
toggle: () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
17
|
onToggle?: (() => any) | undefined;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$slots: {
|
|
25
|
-
default: (_: {
|
|
26
|
-
onClick: () => void;
|
|
27
|
-
}) => any;
|
|
28
|
-
icon: (_: {}) => any;
|
|
29
|
-
};
|
|
30
|
-
});
|
|
18
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
21
|
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
});
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
onClick: () => void;
|
|
3
|
+
}, __VLS_14: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
} & {
|
|
7
|
+
icon?: (props: typeof __VLS_14) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
11
|
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
});
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
onClick: () => Promise<void>;
|
|
3
|
+
isSupported: boolean;
|
|
4
|
+
}, __VLS_14: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
icon?: (props: typeof __VLS_14) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
12
|
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,88 +1,49 @@
|
|
|
1
1
|
import { CanvasLoadedCallback } from '../utils/types';
|
|
2
|
-
|
|
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<{
|
|
2
|
+
type __VLS_Props = {
|
|
47
3
|
rootContainer: HTMLDivElement;
|
|
48
4
|
textSelection: boolean;
|
|
49
5
|
print: (showProgress?: boolean) => Promise<void>;
|
|
50
|
-
afterCanvasLoaded?: Record<number, CanvasLoadedCallback
|
|
51
|
-
}
|
|
6
|
+
afterCanvasLoaded?: Record<number, CanvasLoadedCallback>;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_18: {}, __VLS_53: {}, __VLS_69: {}, __VLS_93: {}, __VLS_109: {}, __VLS_133: {}, __VLS_152: {}, __VLS_184: string, __VLS_185: {}, __VLS_217: string, __VLS_218: {}, __VLS_249: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
[K in NonNullable<typeof __VLS_184>]?: (props: typeof __VLS_185) => any;
|
|
11
|
+
} & {
|
|
12
|
+
[K in NonNullable<typeof __VLS_217>]?: (props: typeof __VLS_218) => any;
|
|
13
|
+
} & {
|
|
14
|
+
icon?: (props: typeof __VLS_18) => any;
|
|
15
|
+
} & {
|
|
16
|
+
iconFirstPage?: (props: typeof __VLS_53) => any;
|
|
17
|
+
} & {
|
|
18
|
+
iconLastPage?: (props: typeof __VLS_69) => any;
|
|
19
|
+
} & {
|
|
20
|
+
iconRotateClockwise?: (props: typeof __VLS_93) => any;
|
|
21
|
+
} & {
|
|
22
|
+
iconRotateCounterClockwise?: (props: typeof __VLS_109) => any;
|
|
23
|
+
} & {
|
|
24
|
+
iconTextSelection?: (props: typeof __VLS_133) => any;
|
|
25
|
+
} & {
|
|
26
|
+
iconHandMode?: (props: typeof __VLS_152) => any;
|
|
27
|
+
} & {
|
|
28
|
+
iconDocProperties?: (props: typeof __VLS_249) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
rotateClockwise: () => any;
|
|
32
|
+
rotateCounterclockwise: () => any;
|
|
33
|
+
textSelection: (isTextSelection: boolean) => any;
|
|
34
|
+
gotoFirstPage: () => any;
|
|
35
|
+
gotoLastPage: () => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
52
37
|
onRotateClockwise?: (() => any) | undefined;
|
|
53
38
|
onRotateCounterclockwise?: (() => any) | undefined;
|
|
54
39
|
onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
|
|
55
40
|
onGotoFirstPage?: (() => any) | undefined;
|
|
56
41
|
onGotoLastPage?: (() => any) | undefined;
|
|
57
|
-
}>, {}, {}, {}, {},
|
|
58
|
-
|
|
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
|
-
});
|
|
42
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
79
44
|
export default _default;
|
|
80
|
-
type
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
84
|
-
} : {
|
|
85
|
-
type: import('vue').PropType<T[K]>;
|
|
86
|
-
required: true;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
87
48
|
};
|
|
88
49
|
};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
rotateClockwise: () =>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
gotoFirstPage: () => void;
|
|
9
|
-
} & {
|
|
10
|
-
gotoLastPage: () => void;
|
|
11
|
-
} & {
|
|
12
|
-
clickPrint: () => void;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
|
+
rotateClockwise: () => any;
|
|
3
|
+
rotateCounterclockwise: () => any;
|
|
4
|
+
textSelection: (isTextSelection: boolean) => any;
|
|
5
|
+
gotoFirstPage: () => any;
|
|
6
|
+
gotoLastPage: () => any;
|
|
7
|
+
clickPrint: () => any;
|
|
13
8
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
14
9
|
onRotateClockwise?: (() => any) | undefined;
|
|
15
10
|
onRotateCounterclockwise?: (() => any) | undefined;
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
});
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
onClick: () => void;
|
|
3
|
+
}, __VLS_14: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
} & {
|
|
7
|
+
icon?: (props: typeof __VLS_14) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
11
|
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
triggerClick: () => void;
|
|
3
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
change: (file: string) =>
|
|
5
|
-
|
|
6
|
-
filenameChange: (file: string) => void;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
change: (file: string) => any;
|
|
5
|
+
filenameChange: (file: string) => any;
|
|
7
6
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
7
|
onChange?: ((file: string) => any) | undefined;
|
|
9
8
|
onFilenameChange?: ((file: string) => any) | undefined;
|
|
@@ -1,68 +1,34 @@
|
|
|
1
|
-
|
|
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<{
|
|
1
|
+
type __VLS_Props = {
|
|
34
2
|
current: number;
|
|
35
3
|
total: number;
|
|
36
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
total: number;
|
|
7
|
+
current: number;
|
|
8
|
+
onNext: () => void;
|
|
9
|
+
onPrev: () => void;
|
|
10
|
+
onChangePage: (pageNumber: number) => void;
|
|
11
|
+
}, __VLS_13: {}, __VLS_40: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
iconPrevPage?: (props: typeof __VLS_13) => any;
|
|
16
|
+
} & {
|
|
17
|
+
iconNextPage?: (props: typeof __VLS_40) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
|
+
next: () => any;
|
|
21
|
+
prev: () => any;
|
|
22
|
+
changePage: (payload: number) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
37
24
|
onNext?: (() => any) | undefined;
|
|
38
25
|
onPrev?: (() => any) | undefined;
|
|
39
26
|
onChangePage?: ((payload: number) => any) | undefined;
|
|
40
|
-
}>, {}, {}, {}, {},
|
|
41
|
-
|
|
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
|
-
});
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
59
29
|
export default _default;
|
|
60
|
-
type
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
-
} : {
|
|
65
|
-
type: import('vue').PropType<T[K]>;
|
|
66
|
-
required: true;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
67
33
|
};
|
|
68
34
|
};
|
|
@@ -3,33 +3,16 @@ interface OwnProps {
|
|
|
3
3
|
print: (showProgress?: boolean) => Promise<void>;
|
|
4
4
|
afterCanvasLoaded?: Record<number, CanvasLoadedCallback>;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
});
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<OwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: (props: {
|
|
8
|
+
onClick: () => Promise<void>;
|
|
9
|
+
}) => any;
|
|
10
|
+
} & {
|
|
11
|
+
icon?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
26
13
|
export default _default;
|
|
27
|
-
type
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
34
17
|
};
|
|
35
18
|
};
|