@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
@@ -1,41 +1,21 @@
1
1
  import type { PageViewport } from 'pdfjs-dist';
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- viewport: PageViewport;
5
- pageIndex: number;
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
- viewport: PageViewport;
15
- pageIndex: number;
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
  viewport: PageViewport;
22
4
  pageIndex: number;
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: (_: {
26
- pageIndex: number;
27
- scale: number;
28
- pageElement: HTMLElement | SVGElement | null | undefined;
29
- }) => any;
30
- };
31
- });
5
+ };
6
+ declare var __VLS_1: {
7
+ pageIndex: number;
8
+ scale: number;
9
+ pageElement: HTMLElement | SVGElement | null | undefined;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_1) => any;
13
+ };
14
+ declare const __VLS_component: 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>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
16
  export default _default;
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
40
20
  };
41
21
  };
@@ -1,30 +1,16 @@
1
1
  import type { PDFPageProxy, PageViewport } from 'pdfjs-dist';
2
2
  import type { HighlightEventPayload, TextLayerHighlightProps, TextLayerLoadedEventPayload } from '../utils/types';
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
- highlight?: TextLayerHighlightProps | undefined;
7
- currentMatchIndex?: number | undefined;
8
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- highlight: (payload: HighlightEventPayload) => void;
10
- } & {
11
- textLoaded: (payload: TextLayerLoadedEventPayload) => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
- page: PDFPageProxy;
14
- viewport: PageViewport;
15
- highlight?: TextLayerHighlightProps | undefined;
16
- currentMatchIndex?: number | undefined;
17
- }>>> & Readonly<{
6
+ highlight?: TextLayerHighlightProps;
7
+ currentMatchIndex?: number;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ highlight: (payload: HighlightEventPayload) => any;
11
+ textLoaded: (payload: TextLayerLoadedEventPayload) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
13
  onHighlight?: ((payload: HighlightEventPayload) => any) | undefined;
19
14
  onTextLoaded?: ((payload: TextLayerLoadedEventPayload) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
16
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
@@ -8,14 +8,5 @@ interface OwnProps {
8
8
  highlightKeywords: TextHighlight[];
9
9
  pdfDocument: PDFDocumentProxy;
10
10
  }
11
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ 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>;
12
12
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -6,14 +6,5 @@ interface OwnProps {
6
6
  textContent: TextContent;
7
7
  searchKeyword?: string;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ 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>;
10
10
  export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
@@ -1,23 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
- page?: import("pdfjs-dist/types/src/display/api").PDFPageProxy | undefined;
3
- document?: import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | undefined;
4
- viewport?: import("pdfjs-dist/types/src/display/display_utils").PageViewport | undefined;
5
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- xfaLoaded: () => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- page?: import("pdfjs-dist/types/src/display/api").PDFPageProxy | undefined;
9
- document?: import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | undefined;
10
- viewport?: import("pdfjs-dist/types/src/display/display_utils").PageViewport | undefined;
11
- }>>> & Readonly<{
1
+ import type { PDFDocumentProxy, PDFPageProxy, PageViewport } from 'pdfjs-dist';
2
+ type __VLS_Props = {
3
+ page?: PDFPageProxy;
4
+ document?: PDFDocumentProxy;
5
+ viewport?: PageViewport;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ xfaLoaded: () => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
10
  onXfaLoaded?: (() => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
12
  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
- };
@@ -1,21 +1,18 @@
1
1
  interface OwnProps {
2
2
  errorMessage?: string;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- submitPassword: (password: string) => void;
4
+ declare const _default: import("vue").DefineComponent<OwnProps & {
5
+ open?: boolean;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:open": (value: boolean | undefined) => any;
6
8
  } & {
7
- cancel: () => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<OwnProps>>> & Readonly<{
9
+ cancel: () => any;
10
+ submitPassword: (password: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<OwnProps & {
12
+ open?: boolean;
13
+ }> & Readonly<{
9
14
  onCancel?: (() => any) | undefined;
10
15
  onSubmitPassword?: ((password: string) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
18
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -1,18 +1,9 @@
1
1
  interface Props {
2
2
  open?: boolean;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "update:open": (value: boolean) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
4
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ "update:open": (value: boolean) => any;
6
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
7
7
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
8
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
9
  export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
@@ -3,18 +3,9 @@ interface Props {
3
3
  percent: number;
4
4
  rootElement?: HTMLDivElement;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- cancel: () => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
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, true, {}, any>;
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
- declare const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
- __isFragment?: undefined;
11
- __isTeleport?: undefined;
12
- __isSuspense?: undefined;
13
- } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
14
- $slots: {
15
- default: (_: {
16
- isDark: boolean;
17
- onClick: () => void;
18
- }) => any;
19
- iconLight: (_: {}) => any;
20
- iconDark: (_: {}) => any;
21
- };
22
- });
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
- declare const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
3
- onToggle?: (() => any) | undefined;
4
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- toggle: () => void;
6
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
7
- P: {};
8
- B: {};
9
- D: {};
10
- C: {};
11
- M: {};
12
- Defaults: {};
13
- }, Readonly<{}> & Readonly<{
14
- onToggle?: (() => any) | undefined;
15
- }>, {}, {}, {}, {}, {}>;
16
- __isFragment?: undefined;
17
- __isTeleport?: undefined;
18
- __isSuspense?: undefined;
19
- } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{
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
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
- toggle: () => void;
23
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
24
- $slots: {
25
- default: (_: {
26
- onClick: () => void;
27
- }) => any;
28
- icon: (_: {}) => any;
29
- };
30
- });
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 const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
- __isFragment?: undefined;
11
- __isTeleport?: undefined;
12
- __isSuspense?: undefined;
13
- } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
14
- $slots: {
15
- default: (_: {
16
- onClick: () => void;
17
- }) => any;
18
- icon: (_: {}) => any;
19
- };
20
- });
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 const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
- __isFragment?: undefined;
11
- __isTeleport?: undefined;
12
- __isSuspense?: undefined;
13
- } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
14
- $slots: {
15
- default: (_: {
16
- onClick: () => Promise<void>;
17
- isSupported: boolean;
18
- }) => any;
19
- icon: (_: {}) => any;
20
- };
21
- });
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
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- rootContainer: HTMLDivElement;
5
- textSelection: boolean;
6
- print: (showProgress?: boolean) => Promise<void>;
7
- afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
8
- }>>> & Readonly<{
9
- onRotateClockwise?: (() => any) | undefined;
10
- onRotateCounterclockwise?: (() => any) | undefined;
11
- onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
12
- onGotoFirstPage?: (() => any) | undefined;
13
- onGotoLastPage?: (() => any) | undefined;
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- rotateClockwise: () => void;
16
- } & {
17
- rotateCounterclockwise: () => void;
18
- } & {
19
- textSelection: (isTextSelection: boolean) => void;
20
- } & {
21
- gotoFirstPage: () => void;
22
- } & {
23
- gotoLastPage: () => void;
24
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
25
- P: {};
26
- B: {};
27
- D: {};
28
- C: {};
29
- M: {};
30
- Defaults: {};
31
- }, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
32
- rootContainer: HTMLDivElement;
33
- textSelection: boolean;
34
- print: (showProgress?: boolean) => Promise<void>;
35
- afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
36
- }>>> & Readonly<{
37
- onRotateClockwise?: (() => any) | undefined;
38
- onRotateCounterclockwise?: (() => any) | undefined;
39
- onTextSelection?: ((isTextSelection: boolean) => any) | undefined;
40
- onGotoFirstPage?: (() => any) | undefined;
41
- onGotoLastPage?: (() => any) | undefined;
42
- }>, {}, {}, {}, {}, {}>;
43
- __isFragment?: undefined;
44
- __isTeleport?: undefined;
45
- __isSuspense?: undefined;
46
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
47
3
  rootContainer: HTMLDivElement;
48
4
  textSelection: boolean;
49
5
  print: (showProgress?: boolean) => Promise<void>;
50
- afterCanvasLoaded?: Record<number, CanvasLoadedCallback> | undefined;
51
- }>>> & Readonly<{
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
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
- rotateClockwise: () => void;
59
- } & {
60
- rotateCounterclockwise: () => void;
61
- } & {
62
- textSelection: (isTextSelection: boolean) => void;
63
- } & {
64
- gotoFirstPage: () => void;
65
- } & {
66
- gotoLastPage: () => void;
67
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
- $slots: Record<string, {}> & Record<string, {}> & {
69
- icon: (_: {}) => any;
70
- iconFirstPage: (_: {}) => any;
71
- iconLastPage: (_: {}) => any;
72
- iconRotateClockwise: (_: {}) => any;
73
- iconRotateCounterClockwise: (_: {}) => any;
74
- iconTextSelection: (_: {}) => any;
75
- iconHandMode: (_: {}) => any;
76
- iconDocProperties: (_: {}) => any;
77
- };
78
- });
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 __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
81
- type __VLS_TypePropsToRuntimeProps<T> = {
82
- [K in keyof T]-?: {} extends Pick<T, K> ? {
83
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
84
- } : {
85
- type: import('vue').PropType<T[K]>;
86
- required: true;
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: () => void;
3
- } & {
4
- rotateCounterclockwise: () => void;
5
- } & {
6
- textSelection: (isTextSelection: boolean) => void;
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 const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
- __isFragment?: undefined;
11
- __isTeleport?: undefined;
12
- __isSuspense?: undefined;
13
- } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
14
- $slots: {
15
- default: (_: {
16
- onClick: () => void;
17
- }) => any;
18
- icon: (_: {}) => any;
19
- };
20
- });
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
+ };