@vue-pdf-viewer/viewer 3.12.0-beta.2 → 4.0.0-beta.1

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.
Files changed (199) hide show
  1. package/README.md +2 -2
  2. package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_9b7953f5_lang-CANTRuxC.js → VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CbVNExyD.js} +2152 -1960
  3. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CgZy-lRD.cjs +48 -0
  4. package/dist/{annotation-circle-0ubo5rf1.js → annotation-circle-BQBy6tn3.js} +2 -2
  5. package/dist/{annotation-font-style-italic-DcGlIJ1a.js → annotation-font-style-italic-BcdR3gg4.js} +2 -2
  6. package/dist/{annotation-font-style-underline-BTkTZ_Is.js → annotation-font-style-underline-BIIeUL-E.js} +2 -2
  7. package/dist/{annotation-font-weight-bold-xwBIbXyc.js → annotation-font-weight-bold-BjNpYNH-.js} +2 -2
  8. package/dist/{annotation-font-weSbdjgD.js → annotation-font-zZyS-SlV.js} +2 -2
  9. package/dist/{annotation-freetext-CQ_RRlBQ.js → annotation-freetext-ej2f4XcK.js} +2 -2
  10. package/dist/{annotation-highlight-ChCnie-U.js → annotation-highlight-C0eb8QWg.js} +2 -2
  11. package/dist/{annotation-ink-AUjv0MoR.js → annotation-ink-yBnUj3B7.js} +2 -2
  12. package/dist/{annotation-line-DNXr-JOS.js → annotation-line-BUVRX9rx.js} +2 -2
  13. package/dist/{annotation-link-D-YgulsY.js → annotation-link-DoW9ZY_d.js} +2 -2
  14. package/dist/{annotation-signature-Bkex5Nk1.js → annotation-signature-pDvKQWlM.js} +2 -2
  15. package/dist/{annotation-square-BfIB5mW3.js → annotation-square-Bk2373TM.js} +2 -2
  16. package/dist/{annotation-squiggly-DeBMymIe.js → annotation-squiggly-YtuSed0x.js} +2 -2
  17. package/dist/{annotation-stamp-DWiWsYdA.js → annotation-stamp-C2wpc7h6.js} +2 -2
  18. package/dist/{annotation-strikeout-CWDrP0rU.js → annotation-strikeout-BGVZPNAE.js} +2 -2
  19. package/dist/{annotation-text-DeYYDSKn.js → annotation-text-BOIyodIU.js} +2 -2
  20. package/dist/{annotation-underline-CgwFacyd.js → annotation-underline-DoWqt0zo.js} +2 -2
  21. package/dist/{arrow-up-BiwEJddu.js → arrow-up-Ctk-zewR.js} +2 -2
  22. package/dist/{check-dvYcg6X_.js → check-DQCKtaYd.js} +2 -2
  23. package/dist/{chevron-down-CVDp3iv9.js → chevron-down-D4_y88NG.js} +2 -2
  24. package/dist/{clear-D0d0aXhI.js → clear-BiZkcsym.js} +2 -2
  25. package/dist/{close-IpbbaszX.js → close-IMkeZ8kc.js} +2 -2
  26. package/dist/{comment-panel-D6A8yNfw.js → comment-panel-BdDz1A7Q.js} +2 -2
  27. package/dist/{download-CMOMvnwF.js → download-DzjxbCsv.js} +2 -2
  28. package/dist/{drag-icon-3GRPy1Gk.js → drag-icon-DOmc0ruK.js} +2 -2
  29. package/dist/{drag-icon-dark-DXLtAf-Z.js → drag-icon-dark-KP2APQRZ.js} +2 -2
  30. package/dist/{ellipsis-vertical-BdPl_QKK.js → ellipsis-vertical-Be4cs0zL.js} +2 -2
  31. package/dist/{empty-comment-dark-BCCY0a2L.js → empty-comment-dark-C727VX0e.js} +2 -2
  32. package/dist/{empty-comment-light-B4FDCCnF.js → empty-comment-light-C_MCSiSZ.js} +2 -2
  33. package/dist/{file-HYz_W_Bn.js → file-DxJhIWIs.js} +2 -2
  34. package/dist/{first-page-DF2-f8F5.js → first-page-D6g7jaNj.js} +2 -2
  35. package/dist/{fullscreen-DxRYZ3Qt.js → fullscreen-BbC1XVkp.js} +2 -2
  36. package/dist/{hand-CgNhcMPW.js → hand-BDnbYf2g.js} +2 -2
  37. package/dist/{index-BAHQSucx.js → index-D9-DcVaR.js} +1995 -1967
  38. package/dist/index-XDzAKC8V.cjs +27 -0
  39. package/dist/index.cjs +19 -19
  40. package/dist/index.js +13601 -13502
  41. package/dist/{info-CssPzj9L.js → info-CPe9YuhZ.js} +2 -2
  42. package/dist/{last-page-DrYSRMe5.js → last-page-DP_aiVT6.js} +2 -2
  43. package/dist/lib/assets/pdf-legacy/pdf.worker.min.mjs +8 -1
  44. package/dist/lib/assets/pdf.worker.min.mjs +8 -1
  45. package/dist/license.cjs +1 -1
  46. package/dist/license.js +1 -1
  47. package/dist/{magnifier-DQHbDi_X.js → magnifier-C_YQ-_dk.js} +2 -2
  48. package/dist/{moon-DXlgBCWH.js → moon-CFoAH0E8.js} +2 -2
  49. package/dist/{page-view-dual-CeQyiqfI.js → page-view-dual-Bvx14KbJ.js} +2 -2
  50. package/dist/{page-view-dual-with-cover-BT5sW_cl.js → page-view-dual-with-cover-DIHiS3rt.js} +2 -2
  51. package/dist/{page-view-single-Cp9W1OUV.js → page-view-single-srjCDw_P.js} +2 -2
  52. package/dist/{pointer-BppCj8EV.js → pointer-DDPsuK9z.js} +2 -2
  53. package/dist/{printer-BFl4fVY9.js → printer-C2onvDqO.js} +2 -2
  54. package/dist/{rotate-counter-clockwise-C4VIpGoU.js → rotate-counter-clockwise-d9-d6DQu.js} +2 -2
  55. package/dist/{scrolling-horizontal-CLl5lWK8.js → scrolling-horizontal-av5LVY8f.js} +2 -2
  56. package/dist/{scrolling-page-C5NJekbJ.js → scrolling-page-Cc6u7H1t.js} +2 -2
  57. package/dist/{scrolling-vertical-DjEDpf4E.js → scrolling-vertical-dsX3d6Yv.js} +2 -2
  58. package/dist/{scrolling-wrapped-BYH7Nvoa.js → scrolling-wrapped-BwcsO1WS.js} +2 -2
  59. package/dist/{sun-gPHy98wE.js → sun-3lZB5S__.js} +2 -2
  60. package/dist/{thumbnail-BIBuAei4.js → thumbnail-CIo49MEr.js} +2 -2
  61. package/dist/{trash-TzreR6N5.js → trash-22hixXTM.js} +2 -2
  62. package/dist/types/components/AppButton.vue.d.ts +11 -17
  63. package/dist/types/components/AppColorPicker.vue.d.ts +11 -14
  64. package/dist/types/components/AppFormControl.vue.d.ts +6 -24
  65. package/dist/types/components/AppIcon.vue.d.ts +3 -13
  66. package/dist/types/components/AppInput.vue.d.ts +1 -10
  67. package/dist/types/components/AppLoader.vue.d.ts +13 -18
  68. package/dist/types/components/AppPopover.vue.d.ts +21 -76
  69. package/dist/types/components/AppTooltip.vue.d.ts +14 -31
  70. package/dist/types/components/ColorButton.vue.d.ts +10 -13
  71. package/dist/types/components/DragFileMask.vue.d.ts +11 -45
  72. package/dist/types/components/FreeTextPanel.vue.d.ts +9 -1
  73. package/dist/types/components/FreeTextPanelFontColors.vue.d.ts +8 -1
  74. package/dist/types/components/FreeTextPanelFontFamilySelector.vue.d.ts +8 -1
  75. package/dist/types/components/FreeTextPanelFontSizeSelector.vue.d.ts +8 -1
  76. package/dist/types/components/LayerAnnotation.vue.d.ts +15 -36
  77. package/dist/types/components/LayerAnnotationEditor.vue.d.ts +3 -18
  78. package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +20 -31
  79. package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +8 -19
  80. package/dist/types/components/LayerAnnotationEditorHighlight.vue.d.ts +22 -31
  81. package/dist/types/components/LayerAnnotationEditorHighlightItem.vue.d.ts +3 -18
  82. package/dist/types/components/LayerAnnotationEditorImage.vue.d.ts +13 -20
  83. package/dist/types/components/LayerAnnotationEditorTextSelectionItem.vue.d.ts +7 -18
  84. package/dist/types/components/LayerAnnotationEditorTextSelectionItemMenu.vue.d.ts +15 -19
  85. package/dist/types/components/LayerAnnotationStampResizer.vue.d.ts +7 -17
  86. package/dist/types/components/LayerCanvas.vue.d.ts +4 -13
  87. package/dist/types/components/LayerCanvasDetail.vue.d.ts +1 -10
  88. package/dist/types/components/LayerOverlay.vue.d.ts +15 -35
  89. package/dist/types/components/LayerText.vue.d.ts +9 -23
  90. package/dist/types/components/LayerTextHighlight.vue.d.ts +1 -10
  91. package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +1 -10
  92. package/dist/types/components/LayerXFA.vue.d.ts +10 -21
  93. package/dist/types/components/ModalPassword.vue.d.ts +11 -14
  94. package/dist/types/components/ModalPdfProperties.vue.d.ts +4 -13
  95. package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +4 -13
  96. package/dist/types/components/SwitchAppearance.vue.d.ts +25 -22
  97. package/dist/types/components/ToolCommentPanel.vue.d.ts +24 -29
  98. package/dist/types/components/ToolDownload.vue.d.ts +15 -20
  99. package/dist/types/components/ToolFullscreen.vue.d.ts +16 -21
  100. package/dist/types/components/ToolMenuOthers.vue.d.ts +37 -76
  101. package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +7 -12
  102. package/dist/types/components/ToolOpenFile.vue.d.ts +15 -20
  103. package/dist/types/components/ToolOpenFileInput.vue.d.ts +3 -4
  104. package/dist/types/components/ToolPagination.vue.d.ts +26 -60
  105. package/dist/types/components/ToolPrint.vue.d.ts +10 -27
  106. package/dist/types/components/ToolSearch.vue.d.ts +23 -57
  107. package/dist/types/components/ToolThumbnail.vue.d.ts +13 -36
  108. package/dist/types/components/ToolZoom.vue.d.ts +21 -45
  109. package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +7 -18
  110. package/dist/types/components/VPdfComments.vue.d.ts +6 -17
  111. package/dist/types/components/VPdfCommentsDate.vue.d.ts +3 -13
  112. package/dist/types/components/VPdfCommentsHeader.vue.d.ts +3 -13
  113. package/dist/types/components/VPdfCommentsIcon.vue.d.ts +3 -13
  114. package/dist/types/components/VPdfCommentsReplies.vue.d.ts +3 -13
  115. package/dist/types/components/VPdfCommentsSidebar.vue.d.ts +3 -4
  116. package/dist/types/components/VPdfCommentsText.vue.d.ts +11 -1
  117. package/dist/types/components/VPdfPage.vue.d.ts +16 -55
  118. package/dist/types/components/VPdfThumbnail.vue.d.ts +6 -17
  119. package/dist/types/components/VPdfThumbnails.vue.d.ts +6 -15
  120. package/dist/types/components/VPdfViewer.vue.d.ts +315 -603
  121. package/dist/types/components/ui/button/Button.vue.d.ts +8 -41
  122. package/dist/types/components/ui/button/index.d.ts +1 -1
  123. package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +15 -29
  124. package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +15 -26
  125. package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +9 -24
  126. package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +9 -24
  127. package/dist/types/components/ui/dialog/Dialog.vue.d.ts +13 -24
  128. package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +9 -24
  129. package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +25 -29
  130. package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +11 -29
  131. package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +11 -29
  132. package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +11 -29
  133. package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +11 -29
  134. package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +9 -24
  135. package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +13 -24
  136. package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +17 -29
  137. package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +23 -44
  138. package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +9 -24
  139. package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +13 -35
  140. package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +12 -32
  141. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +13 -24
  142. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +16 -32
  143. package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -13
  144. package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +11 -29
  145. package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +13 -24
  146. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +27 -29
  147. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +11 -29
  148. package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -24
  149. package/dist/types/components/ui/input/Input.vue.d.ts +4 -13
  150. package/dist/types/components/ui/popover/Popover.vue.d.ts +13 -24
  151. package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +27 -55
  152. package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +9 -24
  153. package/dist/types/components/ui/progress/Progress.vue.d.ts +4 -23
  154. package/dist/types/components/ui/select/Select.vue.d.ts +16 -24
  155. package/dist/types/components/ui/select/SelectContent.vue.d.ts +21 -48
  156. package/dist/types/components/ui/select/SelectGroup.vue.d.ts +11 -29
  157. package/dist/types/components/ui/select/SelectItem.vue.d.ts +11 -29
  158. package/dist/types/components/ui/select/SelectItemText.vue.d.ts +9 -24
  159. package/dist/types/components/ui/select/SelectLabel.vue.d.ts +11 -29
  160. package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +11 -29
  161. package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +11 -29
  162. package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +3 -13
  163. package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +11 -29
  164. package/dist/types/components/ui/select/SelectValue.vue.d.ts +9 -24
  165. package/dist/types/components/ui/toast/Toast.vue.d.ts +91 -24
  166. package/dist/types/components/ui/toast/ToastAction.vue.d.ts +11 -29
  167. package/dist/types/components/ui/toast/ToastClose.vue.d.ts +3 -13
  168. package/dist/types/components/ui/toast/ToastDescription.vue.d.ts +11 -29
  169. package/dist/types/components/ui/toast/ToastProvider.vue.d.ts +9 -24
  170. package/dist/types/components/ui/toast/ToastTitle.vue.d.ts +11 -29
  171. package/dist/types/components/ui/toast/ToastViewport.vue.d.ts +3 -13
  172. package/dist/types/components/ui/toast/index.d.ts +1 -1
  173. package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +13 -24
  174. package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +17 -44
  175. package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +9 -24
  176. package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +9 -24
  177. package/dist/types/components/utils/annotations.d.ts +2 -1
  178. package/dist/types/components/utils/link_service.d.ts +10 -0
  179. package/dist/types/composables/useAnnotationFreeText.d.ts +454 -248
  180. package/dist/types/composables/useAnnotationHighlight.d.ts +288 -178
  181. package/dist/types/composables/useAnnotationStamp.d.ts +344 -212
  182. package/dist/types/composables/useAnnotationStrikethrough.d.ts +326 -216
  183. package/dist/types/composables/useAnnotationUnderline.d.ts +326 -216
  184. package/dist/types/composables/useDownload.d.ts +1 -1
  185. package/dist/types/composables/usePinch.d.ts +2 -2
  186. package/dist/types/composables/usePrintControl.d.ts +1 -1
  187. package/dist/types/composables/useRotation.d.ts +1 -1
  188. package/dist/types/composables/useScale.d.ts +4 -4
  189. package/dist/types/const.d.ts +29 -1096
  190. package/dist/types/utils/CanvasRender.d.ts +0 -1
  191. package/dist/types/utils/highlight.d.ts +6 -1
  192. package/dist/types/utils/searchHighlight.d.ts +1 -1
  193. package/dist/types/utils/types.d.ts +3 -3
  194. package/dist/{zoom-in-CPaNSJ1z.js → zoom-in-BUg87bP_.js} +2 -2
  195. package/dist/{zoom-out-CLnidFKC.js → zoom-out-C7L8Ab_Y.js} +2 -2
  196. package/package.json +7 -5
  197. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_9b7953f5_lang-CoSH1YWG.cjs +0 -48
  198. package/dist/index-B9gGGXMy.cjs +0 -27
  199. package/dist/types/utils/transformMatrix.d.ts +0 -3
@@ -2,54 +2,20 @@ interface Props {
2
2
  show: boolean;
3
3
  isDark: boolean;
4
4
  }
5
- declare const _default: {
6
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
7
- onFilenameChange?: ((name: string) => any) | undefined;
8
- onSrcChange?: ((file: string) => any) | undefined;
9
- "onUpdate:show"?: ((value: boolean) => any) | undefined;
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- srcChange: (file: string) => void;
12
- } & {
13
- filenameChange: (name: string) => void;
14
- } & {
15
- "update:show": (value: boolean) => void;
16
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
17
- P: {};
18
- B: {};
19
- D: {};
20
- C: {};
21
- M: {};
22
- Defaults: {};
23
- }, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
24
- onFilenameChange?: ((name: string) => any) | undefined;
25
- onSrcChange?: ((file: string) => any) | undefined;
26
- "onUpdate:show"?: ((value: boolean) => any) | undefined;
27
- }>, {}, {}, {}, {}, {}>;
28
- __isFragment?: undefined;
29
- __isTeleport?: undefined;
30
- __isSuspense?: undefined;
31
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
5
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ filenameChange: (name: string) => any;
7
+ srcChange: (file: string) => any;
8
+ "update:show": (value: boolean) => any;
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
32
10
  onFilenameChange?: ((name: string) => any) | undefined;
33
11
  onSrcChange?: ((file: string) => any) | undefined;
34
12
  "onUpdate:show"?: ((value: boolean) => any) | undefined;
35
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
- srcChange: (file: string) => void;
37
- } & {
38
- filenameChange: (name: string) => void;
39
- } & {
40
- "update:show": (value: boolean) => void;
41
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
42
- $slots: {
43
- dropFileZone: (_: {}) => any;
44
- };
45
- });
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
+ dropFileZone?: (props: {}) => any;
15
+ }>;
46
16
  export default _default;
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToRuntimeProps<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
54
20
  };
55
21
  };
@@ -1,2 +1,10 @@
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>;
1
+ import { AnnotationFreeText } from '@/utils/types';
2
+ type __VLS_PublicProps = {
3
+ modelValue: AnnotationFreeText;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: AnnotationFreeText) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: AnnotationFreeText) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
10
  export default _default;
@@ -1,2 +1,9 @@
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>;
1
+ type __VLS_PublicProps = {
2
+ 'value': string;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:value": (value: string) => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:value"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
9
  export default _default;
@@ -1,2 +1,9 @@
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>;
1
+ type __VLS_PublicProps = {
2
+ 'value': string;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:value": (value: string) => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:value"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
9
  export default _default;
@@ -1,2 +1,9 @@
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>;
1
+ type __VLS_PublicProps = {
2
+ 'value': number | undefined;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:value": (value: number | undefined) => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:value"?: ((value: number | undefined) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
9
  export default _default;
@@ -2,47 +2,26 @@ import * as PDFJS from 'pdfjs-dist';
2
2
  import { type Annotation } from '@vue-pdf-viewer/shared';
3
3
  import type { PDFDocumentProxy, PDFPageProxy, PageViewport } from 'pdfjs-dist';
4
4
  import type { AnnotationEventPayload } from './../utils/types';
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ type __VLS_Props = {
6
6
  page: PDFPageProxy;
7
7
  viewport: PageViewport;
8
8
  document: PDFDocumentProxy;
9
- annotations?: Annotation[] | undefined;
10
- annotationsFilter?: string[] | undefined;
11
- annotationsMap?: object | undefined;
12
- imageResourcesPath?: string | undefined;
13
- hideForms?: boolean | undefined;
14
- enableScripting?: boolean | undefined;
15
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- annotation: (payload: AnnotationEventPayload) => void;
17
- } & {
18
- annotationLoaded: (payload: PDFJS.AnnotationLayer) => void;
19
- } & {
20
- annotationRenderError: (reason: any) => void;
21
- } & {
22
- rendered: (data: PDFJS.AnnotationLayer) => void;
23
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
24
- page: PDFPageProxy;
25
- viewport: PageViewport;
26
- document: PDFDocumentProxy;
27
- annotations?: Annotation[] | undefined;
28
- annotationsFilter?: string[] | undefined;
29
- annotationsMap?: object | undefined;
30
- imageResourcesPath?: string | undefined;
31
- hideForms?: boolean | undefined;
32
- enableScripting?: boolean | undefined;
33
- }>>> & Readonly<{
9
+ annotations?: Annotation[];
10
+ annotationsFilter?: string[];
11
+ annotationsMap?: object;
12
+ imageResourcesPath?: string;
13
+ hideForms?: boolean;
14
+ enableScripting?: boolean;
15
+ };
16
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ annotation: (payload: AnnotationEventPayload) => any;
18
+ annotationLoaded: (payload: PDFJS.AnnotationLayer) => any;
19
+ annotationRenderError: (reason: any) => any;
20
+ rendered: (data: PDFJS.AnnotationLayer) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
22
  onAnnotation?: ((payload: AnnotationEventPayload) => any) | undefined;
35
23
  onAnnotationLoaded?: ((payload: PDFJS.AnnotationLayer) => any) | undefined;
36
24
  onAnnotationRenderError?: ((reason: any) => any) | undefined;
37
25
  onRendered?: ((data: PDFJS.AnnotationLayer) => any) | undefined;
38
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
27
  export default _default;
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToRuntimeProps<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
@@ -1,26 +1,11 @@
1
1
  import { PageViewport, PDFPageProxy, AnnotationLayer, PDFDocumentProxy } from 'pdfjs-dist';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
3
3
  page: PDFPageProxy;
4
4
  viewport: PageViewport;
5
5
  canvasLayer: HTMLElement;
6
6
  annotationLayer: AnnotationLayer;
7
7
  document: PDFDocumentProxy;
8
8
  textLayer: HTMLDivElement;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- page: PDFPageProxy;
11
- viewport: PageViewport;
12
- canvasLayer: HTMLElement;
13
- annotationLayer: AnnotationLayer;
14
- document: PDFDocumentProxy;
15
- textLayer: HTMLDivElement;
16
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
- 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
9
  };
10
+ 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>;
11
+ export default _default;
@@ -1,37 +1,26 @@
1
1
  import { AnnotationFreeText } from '@/utils/types';
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- annotation: AnnotationFreeText;
5
- isDragging: boolean;
6
- }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, 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<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
- annotation: AnnotationFreeText;
15
- isDragging: boolean;
16
- }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
17
- __isFragment?: undefined;
18
- __isTeleport?: undefined;
19
- __isSuspense?: undefined;
20
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
21
3
  annotation: AnnotationFreeText;
22
4
  isDragging: boolean;
23
- }>>> & 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 () => {
24
- $slots: {
25
- default: (_: {}) => any;
26
- };
27
- });
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & {
7
+ 'open': boolean;
8
+ };
9
+ declare var __VLS_10: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_10) => any;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ remove: (annotation: AnnotationFreeText) => any;
15
+ "update:open": (value: boolean) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ onRemove?: ((annotation: AnnotationFreeText) => any) | undefined;
18
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
21
  export default _default;
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: import('vue').PropType<T[K]>;
35
- required: true;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
36
25
  };
37
26
  };
@@ -1,33 +1,22 @@
1
1
  import { AnnotationFreeText } from '@/utils/types';
2
2
  import type { PageViewport } from 'pdfjs-dist/types/web/interfaces';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import("vue").DefineComponent<{
4
4
  viewport: PageViewport;
5
5
  isSelected: boolean;
6
6
  annotationElement: HTMLElement;
7
7
  annotation: AnnotationFreeText;
8
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:content": (annotation: AnnotationFreeText) => void;
10
- } & {
11
- dragStart: (annotation: AnnotationFreeText) => void;
12
- } & {
13
- dragEnd: (annotation: AnnotationFreeText) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ "update:content": (annotation: AnnotationFreeText) => any;
10
+ dragStart: (annotation: AnnotationFreeText) => any;
11
+ dragEnd: (annotation: AnnotationFreeText) => any;
12
+ }, string, import("vue").PublicProps, Readonly<{
15
13
  viewport: PageViewport;
16
14
  isSelected: boolean;
17
15
  annotationElement: HTMLElement;
18
16
  annotation: AnnotationFreeText;
19
- }>>> & Readonly<{
17
+ }> & Readonly<{
20
18
  "onUpdate:content"?: ((annotation: AnnotationFreeText) => any) | undefined;
21
19
  onDragStart?: ((annotation: AnnotationFreeText) => any) | undefined;
22
20
  onDragEnd?: ((annotation: AnnotationFreeText) => any) | undefined;
23
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
22
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
@@ -1,37 +1,28 @@
1
1
  import { AnnotationHighlight } from '@/utils/types';
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- annotation: AnnotationHighlight;
5
- highlightColor: string;
6
- }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, 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<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
- annotation: AnnotationHighlight;
15
- highlightColor: string;
16
- }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
17
- __isFragment?: undefined;
18
- __isTeleport?: undefined;
19
- __isSuspense?: undefined;
20
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
21
3
  annotation: AnnotationHighlight;
22
4
  highlightColor: string;
23
- }>>> & 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 () => {
24
- $slots: {
25
- default: (_: {}) => any;
26
- };
27
- });
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & {
7
+ 'open': boolean;
8
+ };
9
+ declare var __VLS_10: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_10) => any;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ remove: (annotation: AnnotationHighlight) => any;
15
+ "update:open": (value: boolean) => any;
16
+ "update:highlightColor": (color: string) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
+ onRemove?: ((annotation: AnnotationHighlight) => any) | undefined;
19
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
20
+ "onUpdate:highlightColor"?: ((color: string) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
23
  export default _default;
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: import('vue').PropType<T[K]>;
35
- required: true;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
36
27
  };
37
28
  };
@@ -1,26 +1,11 @@
1
1
  import { Annotation } from '@vue-pdf-viewer/shared';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
3
3
  isSelected: boolean;
4
4
  drawLayer: any | null;
5
5
  highlightElement: HTMLElement;
6
6
  annotation: Annotation;
7
7
  clipPathUrl: string;
8
8
  outlineId: number;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- isSelected: boolean;
11
- drawLayer: any | null;
12
- highlightElement: HTMLElement;
13
- annotation: Annotation;
14
- clipPathUrl: string;
15
- outlineId: number;
16
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
- 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
9
  };
10
+ 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>;
11
+ export default _default;
@@ -1,28 +1,21 @@
1
1
  import type { AnnotationStamp } from '@/utils/types';
2
2
  import type { PDFPageProxy, PageViewport } from 'pdfjs-dist';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ type __VLS_Props = {
4
4
  page: PDFPageProxy;
5
5
  viewport: PageViewport;
6
6
  annotation: AnnotationStamp;
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- delete: (annotation: AnnotationStamp) => void;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & {
9
+ 'selected': boolean;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:selected": (value: boolean) => any;
9
13
  } & {
10
- update: (annotation: AnnotationStamp) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
- page: PDFPageProxy;
13
- viewport: PageViewport;
14
- annotation: AnnotationStamp;
15
- }>>> & Readonly<{
16
- onDelete?: ((annotation: AnnotationStamp) => any) | undefined;
14
+ update: (annotation: AnnotationStamp) => any;
15
+ delete: (annotation: AnnotationStamp) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
17
  onUpdate?: ((annotation: AnnotationStamp) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ onDelete?: ((annotation: AnnotationStamp) => any) | undefined;
19
+ "onUpdate:selected"?: ((value: boolean) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
21
  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,26 +1,15 @@
1
1
  import type { AnnotationHighlight } from '@/utils/types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
3
3
  isSelected: boolean;
4
4
  drawLayer: any | null;
5
5
  element: HTMLElement | null;
6
6
  annotation: AnnotationHighlight;
7
7
  clipPathUrl: string;
8
8
  outlineId: number;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- isSelected: boolean;
11
- drawLayer: any | null;
12
- element: HTMLElement | null;
13
- annotation: AnnotationHighlight;
14
- clipPathUrl: string;
15
- outlineId: number;
16
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
- 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
9
  };
10
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ click: () => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onClick?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -1,31 +1,27 @@
1
1
  import type { SelectionBounds } from '@/utils/annotation-menu-bounds';
2
2
  import type { AnnotationHighlight, AnnotationTextSelectionType } from '@/utils/types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ type __VLS_Props = {
4
4
  open: boolean;
5
5
  selectionBounds: SelectionBounds | null;
6
6
  rotation: number;
7
- annotation?: AnnotationHighlight | null | undefined;
7
+ annotation?: AnnotationHighlight | null;
8
8
  color: string;
9
- }>>, {
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {
10
11
  currentColor: import("vue").WritableComputedRef<string, string>;
11
12
  handleSelect: (type: AnnotationTextSelectionType) => void;
12
13
  handleClose: () => void;
13
14
  handleDelete: () => void;
14
15
  handleColorButtonClick: () => void;
15
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
- open: boolean;
17
- selectionBounds: SelectionBounds | null;
18
- rotation: number;
19
- annotation?: AnnotationHighlight | null | undefined;
20
- color: string;
21
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ remove: (annotation: AnnotationHighlight) => any;
18
+ close: () => any;
19
+ select: (type: AnnotationTextSelectionType) => any;
20
+ "update:color": (color: string) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onRemove?: ((annotation: AnnotationHighlight) => any) | undefined;
23
+ onClose?: (() => any) | undefined;
24
+ onSelect?: ((type: AnnotationTextSelectionType) => any) | undefined;
25
+ "onUpdate:color"?: ((color: string) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
27
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
@@ -1,28 +1,18 @@
1
1
  import type { ElementRect } from '@/utils/types';
2
2
  import type { PageViewport } from 'pdfjs-dist';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import("vue").DefineComponent<{
4
4
  resizeElement: HTMLElement | null;
5
5
  parentElement: HTMLElement | null;
6
6
  viewport: PageViewport;
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- resizeStart: () => void;
9
- } & {
10
- resizeEnd: (info: ElementRect) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ resizeStart: () => any;
9
+ resizeEnd: (info: ElementRect) => any;
10
+ }, string, import("vue").PublicProps, Readonly<{
12
11
  resizeElement: HTMLElement | null;
13
12
  parentElement: HTMLElement | null;
14
13
  viewport: PageViewport;
15
- }>>> & Readonly<{
14
+ }> & Readonly<{
16
15
  onResizeStart?: (() => any) | undefined;
17
16
  onResizeEnd?: ((info: ElementRect) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
18
  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
- };
@@ -7,18 +7,9 @@ interface OwnProps {
7
7
  afterCanvasLoaded?: CanvasLoadedCallback;
8
8
  visibleArea?: VisibleArea;
9
9
  }
10
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- rendered: (canvasWrapperElement: HTMLDivElement) => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
10
+ declare const _default: import("vue").DefineComponent<OwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ rendered: (canvasWrapperElement: HTMLDivElement) => any;
12
+ }, string, import("vue").PublicProps, Readonly<OwnProps> & Readonly<{
13
13
  onRendered?: ((canvasWrapperElement: HTMLDivElement) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  export default _default;
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
@@ -10,14 +10,5 @@ interface OwnProps {
10
10
  queueRenderTask: any;
11
11
  annotationMode: number;
12
12
  }
13
- 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>;
13
+ declare const _default: import("vue").DefineComponent<OwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
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
- };