@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
|
@@ -5,69 +5,35 @@ interface Props {
|
|
|
5
5
|
count?: number;
|
|
6
6
|
current?: number;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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<{
|
|
8
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
9
|
+
value?: string;
|
|
10
|
+
valueModifiers?: Partial<Record<string, true>>;
|
|
11
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:value": (value: string | undefined) => any;
|
|
13
|
+
} & {
|
|
14
|
+
close: () => any;
|
|
15
|
+
open: () => any;
|
|
16
|
+
next: () => any;
|
|
17
|
+
prev: () => any;
|
|
18
|
+
"update:checkboxFilter": (value: HighlightOptions) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<Props & {
|
|
20
|
+
value?: string;
|
|
21
|
+
valueModifiers?: Partial<Record<string, true>>;
|
|
22
|
+
}> & Readonly<{
|
|
43
23
|
onClose?: (() => any) | undefined;
|
|
44
24
|
onOpen?: (() => any) | undefined;
|
|
25
|
+
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
45
26
|
onNext?: (() => any) | undefined;
|
|
46
27
|
onPrev?: (() => any) | undefined;
|
|
47
28
|
"onUpdate:checkboxFilter"?: ((value: HighlightOptions) => any) | undefined;
|
|
48
|
-
}>, {}, {}, {}, {},
|
|
49
|
-
|
|
50
|
-
} & {
|
|
51
|
-
next: () => void;
|
|
52
|
-
} & {
|
|
53
|
-
open: () => void;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
30
|
+
icon?: (props: {}) => any;
|
|
54
31
|
} & {
|
|
55
|
-
|
|
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
|
-
});
|
|
32
|
+
loader?: (props: {}) => any;
|
|
33
|
+
}>;
|
|
64
34
|
export default _default;
|
|
65
|
-
type
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
-
} : {
|
|
70
|
-
type: import('vue').PropType<T[K]>;
|
|
71
|
-
required: true;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
72
38
|
};
|
|
73
39
|
};
|
|
@@ -1,43 +1,20 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
modelValue: boolean;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: {
|
|
5
|
-
|
|
6
|
-
|
|
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<{
|
|
4
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
"update:modelValue": (payload: boolean) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
23
7
|
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
icon: (_: {}) => any;
|
|
32
|
-
};
|
|
33
|
-
});
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
9
|
+
default?: (props: {
|
|
10
|
+
onToggle: () => void;
|
|
11
|
+
}) => any;
|
|
12
|
+
} & {
|
|
13
|
+
icon?: (props: {}) => any;
|
|
14
|
+
}>;
|
|
34
15
|
export default _default;
|
|
35
|
-
type
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
42
19
|
};
|
|
43
20
|
};
|
|
@@ -1,51 +1,27 @@
|
|
|
1
1
|
import { ZoomLevel } from '@/utils/enumerators';
|
|
2
|
-
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
scale: number;
|
|
5
|
-
pagesContainer?: HTMLDivElement | undefined;
|
|
6
|
-
}>>> & Readonly<{
|
|
7
|
-
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
zoom: (nextScale: number | ZoomLevel) => void;
|
|
10
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
11
|
-
P: {};
|
|
12
|
-
B: {};
|
|
13
|
-
D: {};
|
|
14
|
-
C: {};
|
|
15
|
-
M: {};
|
|
16
|
-
Defaults: {};
|
|
17
|
-
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
-
scale: number;
|
|
19
|
-
pagesContainer?: HTMLDivElement | undefined;
|
|
20
|
-
}>>> & Readonly<{
|
|
21
|
-
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, {}>;
|
|
23
|
-
__isFragment?: undefined;
|
|
24
|
-
__isTeleport?: undefined;
|
|
25
|
-
__isSuspense?: undefined;
|
|
26
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
27
3
|
scale: number;
|
|
28
|
-
pagesContainer?: HTMLDivElement
|
|
29
|
-
}
|
|
4
|
+
pagesContainer?: HTMLDivElement;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {
|
|
7
|
+
currentScale: number;
|
|
8
|
+
}, __VLS_13: {}, __VLS_35: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
iconZoomOut?: (props: typeof __VLS_13) => any;
|
|
13
|
+
} & {
|
|
14
|
+
iconZoomIn?: (props: typeof __VLS_35) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
zoom: (nextScale: number | ZoomLevel) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
19
|
onZoom?: ((nextScale: number | ZoomLevel) => any) | undefined;
|
|
31
|
-
}>, {}, {}, {}, {},
|
|
32
|
-
|
|
33
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
34
|
-
$slots: {
|
|
35
|
-
default: (_: {
|
|
36
|
-
currentScale: number;
|
|
37
|
-
}) => any;
|
|
38
|
-
iconZoomOut: (_: {}) => any;
|
|
39
|
-
iconZoomIn: (_: {}) => any;
|
|
40
|
-
};
|
|
41
|
-
});
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
42
22
|
export default _default;
|
|
43
|
-
type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: import('vue').PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
50
26
|
};
|
|
51
27
|
};
|
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import { ZoomLevel } from '@/utils/enumerators';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
currentPercentage: string;
|
|
4
|
-
container?: HTMLDivElement
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
container?: HTMLDivElement | undefined;
|
|
10
|
-
}>>> & Readonly<{
|
|
4
|
+
container?: HTMLDivElement;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
select: (scale: number | ZoomLevel) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onSelect?: ((scale: number | ZoomLevel) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,28 +1,17 @@
|
|
|
1
1
|
import type { PdfCommentPage } from '@/utils/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
height: string | number;
|
|
4
4
|
repliedCommentPages: PdfCommentPage[] | undefined;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
7
|
navigate: (target: {
|
|
7
8
|
page: number;
|
|
8
9
|
rect: number[];
|
|
9
|
-
}) =>
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
11
|
-
height: string | number;
|
|
12
|
-
repliedCommentPages: PdfCommentPage[] | undefined;
|
|
13
|
-
}>>> & Readonly<{
|
|
10
|
+
}) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
12
|
onNavigate?: ((target: {
|
|
15
13
|
page: number;
|
|
16
14
|
rect: number[];
|
|
17
15
|
}) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
17
|
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
date: string | Date | null | undefined;
|
|
3
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
date: string | Date | null | undefined;
|
|
5
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
3
|
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import type { Comment } from '@/utils/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
comment: Comment;
|
|
4
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
comment: Comment;
|
|
6
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
4
|
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import type { AnnotationIconType } from '@/utils/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
type: AnnotationIconType;
|
|
4
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
type: AnnotationIconType;
|
|
6
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
4
|
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import type { Comment } from '@/utils/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
replies: Comment[];
|
|
4
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
replies: Comment[];
|
|
6
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
4
|
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
close: () =>
|
|
3
|
-
} & {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
|
+
close: () => any;
|
|
4
3
|
navigate: (target: {
|
|
5
4
|
page: number;
|
|
6
5
|
rect: number[];
|
|
7
|
-
}) =>
|
|
6
|
+
}) => any;
|
|
8
7
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
9
8
|
onClose?: (() => any) | undefined;
|
|
10
9
|
onNavigate?: ((target: {
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
7
|
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -19,65 +19,26 @@ type TextProps = {
|
|
|
19
19
|
highlightOptions?: HighlightOptions;
|
|
20
20
|
};
|
|
21
21
|
type OwnProps = BaseProps & TextProps;
|
|
22
|
-
declare const _default: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
highlight: (payload: HighlightEventPayload) => void;
|
|
30
|
-
} & {
|
|
31
|
-
textLoaded: (payload: TextLayerLoadedEventPayload) => void;
|
|
32
|
-
} & {
|
|
33
|
-
annotated: (payload: AnnotationEventPayload) => void;
|
|
34
|
-
} & {
|
|
35
|
-
canvasRendered: (payload: CanvasRenderedEventPayload) => void;
|
|
36
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
37
|
-
P: {};
|
|
38
|
-
B: {};
|
|
39
|
-
D: {};
|
|
40
|
-
C: {};
|
|
41
|
-
M: {};
|
|
42
|
-
Defaults: {};
|
|
43
|
-
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
|
|
44
|
-
onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
|
|
45
|
-
onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
|
|
46
|
-
onAnnotated?: ((payload: AnnotationEventPayload) => any) | undefined;
|
|
47
|
-
onCanvasRendered?: ((payload: CanvasRenderedEventPayload) => any) | undefined;
|
|
48
|
-
}>, {}, {}, {}, {}, {}>;
|
|
49
|
-
__isFragment?: undefined;
|
|
50
|
-
__isTeleport?: undefined;
|
|
51
|
-
__isSuspense?: undefined;
|
|
52
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
|
|
22
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<OwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
+
highlight: (payload: HighlightEventPayload) => any;
|
|
24
|
+
textLoaded: (payload: TextLayerLoadedEventPayload) => any;
|
|
25
|
+
annotated: (payload: AnnotationEventPayload) => any;
|
|
26
|
+
canvasRendered: (payload: CanvasRenderedEventPayload) => any;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<OwnProps> & Readonly<{
|
|
53
28
|
onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
|
|
54
29
|
onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
|
|
55
30
|
onAnnotated?: ((payload: AnnotationEventPayload) => any) | undefined;
|
|
56
31
|
onCanvasRendered?: ((payload: CanvasRenderedEventPayload) => any) | undefined;
|
|
57
|
-
}>, {}, {}, {}, {},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
canvasRendered: (payload: CanvasRenderedEventPayload) => void;
|
|
65
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
66
|
-
$slots: {
|
|
67
|
-
pageOverlay: (_: {
|
|
68
|
-
pageIndex: number;
|
|
69
|
-
scale: number;
|
|
70
|
-
pageElement: HTMLElement | SVGElement | null | undefined;
|
|
71
|
-
}) => any;
|
|
72
|
-
};
|
|
73
|
-
});
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
33
|
+
pageOverlay?: (props: {
|
|
34
|
+
pageIndex: number;
|
|
35
|
+
scale: number;
|
|
36
|
+
pageElement: HTMLElement | SVGElement | null | undefined;
|
|
37
|
+
}) => any;
|
|
38
|
+
}>;
|
|
74
39
|
export default _default;
|
|
75
|
-
type
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
79
|
-
} : {
|
|
80
|
-
type: import('vue').PropType<T[K]>;
|
|
81
|
-
required: true;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
82
43
|
};
|
|
83
44
|
};
|
|
@@ -3,24 +3,13 @@ interface Props {
|
|
|
3
3
|
page: PDFPageProxy;
|
|
4
4
|
isPageFocused: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import("vue").DefineComponent<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
rendered: (pageIndex: number) =>
|
|
10
|
-
} & {
|
|
11
|
-
error: (error: any) => void;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
error: (error: any) => any;
|
|
8
|
+
click: (pageIndex: number) => any;
|
|
9
|
+
rendered: (pageIndex: number) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
11
|
onError?: ((error: any) => any) | undefined;
|
|
14
12
|
onClick?: ((pageIndex: number) => any) | undefined;
|
|
15
13
|
onRendered?: ((pageIndex: number) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
15
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
import type { ViewerPdfPage } from '../utils/types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
pages: ViewerPdfPage[];
|
|
4
4
|
isOpened: boolean;
|
|
5
|
-
}
|
|
6
|
-
navigate: (toPage: number) =>
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
navigate: (toPage: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
pages: ViewerPdfPage[];
|
|
9
9
|
isOpened: boolean;
|
|
10
|
-
}
|
|
10
|
+
}> & Readonly<{
|
|
11
11
|
onNavigate?: ((toPage: number) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|