@vue-pdf-viewer/viewer 4.0.0-beta.0 → 4.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-BDA6HkG2.js → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js} +285 -284
  2. package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-DMA8_Vun.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs} +4 -4
  3. package/dist/{index-D1HreucU.cjs → index-B2bnNcQK.cjs} +1 -1
  4. package/dist/{index-DQJPH6A2.js → index-BAl2kzgK.js} +1 -1
  5. package/dist/index.cjs +16 -16
  6. package/dist/index.js +5513 -5490
  7. package/dist/license.cjs +1 -1
  8. package/dist/license.js +1 -1
  9. package/dist/types/components/AppButton.vue.d.ts +11 -17
  10. package/dist/types/components/AppColorPicker.vue.d.ts +11 -14
  11. package/dist/types/components/AppFormControl.vue.d.ts +6 -24
  12. package/dist/types/components/AppIcon.vue.d.ts +3 -13
  13. package/dist/types/components/AppInput.vue.d.ts +1 -10
  14. package/dist/types/components/AppLoader.vue.d.ts +13 -18
  15. package/dist/types/components/AppPopover.vue.d.ts +21 -76
  16. package/dist/types/components/AppTooltip.vue.d.ts +14 -31
  17. package/dist/types/components/ColorButton.vue.d.ts +10 -13
  18. package/dist/types/components/DragFileMask.vue.d.ts +11 -45
  19. package/dist/types/components/FreeTextPanel.vue.d.ts +9 -1
  20. package/dist/types/components/FreeTextPanelFontColors.vue.d.ts +8 -1
  21. package/dist/types/components/FreeTextPanelFontFamilySelector.vue.d.ts +8 -1
  22. package/dist/types/components/FreeTextPanelFontSizeSelector.vue.d.ts +8 -1
  23. package/dist/types/components/LayerAnnotation.vue.d.ts +15 -36
  24. package/dist/types/components/LayerAnnotationEditor.vue.d.ts +3 -18
  25. package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +20 -31
  26. package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +8 -19
  27. package/dist/types/components/LayerAnnotationEditorHighlight.vue.d.ts +22 -31
  28. package/dist/types/components/LayerAnnotationEditorHighlightItem.vue.d.ts +3 -18
  29. package/dist/types/components/LayerAnnotationEditorImage.vue.d.ts +13 -20
  30. package/dist/types/components/LayerAnnotationEditorTextSelectionItem.vue.d.ts +7 -18
  31. package/dist/types/components/LayerAnnotationEditorTextSelectionItemMenu.vue.d.ts +15 -19
  32. package/dist/types/components/LayerAnnotationStampResizer.vue.d.ts +7 -17
  33. package/dist/types/components/LayerCanvas.vue.d.ts +5 -13
  34. package/dist/types/components/LayerCanvasDetail.vue.d.ts +1 -10
  35. package/dist/types/components/LayerOverlay.vue.d.ts +15 -35
  36. package/dist/types/components/LayerText.vue.d.ts +9 -23
  37. package/dist/types/components/LayerTextHighlight.vue.d.ts +1 -10
  38. package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +1 -10
  39. package/dist/types/components/LayerXFA.vue.d.ts +10 -21
  40. package/dist/types/components/ModalPassword.vue.d.ts +11 -14
  41. package/dist/types/components/ModalPdfProperties.vue.d.ts +4 -13
  42. package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +4 -13
  43. package/dist/types/components/SwitchAppearance.vue.d.ts +25 -22
  44. package/dist/types/components/ToolCommentPanel.vue.d.ts +24 -29
  45. package/dist/types/components/ToolDownload.vue.d.ts +15 -20
  46. package/dist/types/components/ToolFullscreen.vue.d.ts +16 -21
  47. package/dist/types/components/ToolMenuOthers.vue.d.ts +37 -76
  48. package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +7 -12
  49. package/dist/types/components/ToolOpenFile.vue.d.ts +15 -20
  50. package/dist/types/components/ToolOpenFileInput.vue.d.ts +3 -4
  51. package/dist/types/components/ToolPagination.vue.d.ts +26 -60
  52. package/dist/types/components/ToolPrint.vue.d.ts +10 -27
  53. package/dist/types/components/ToolSearch.vue.d.ts +23 -57
  54. package/dist/types/components/ToolThumbnail.vue.d.ts +13 -36
  55. package/dist/types/components/ToolZoom.vue.d.ts +21 -45
  56. package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +7 -18
  57. package/dist/types/components/VPdfComments.vue.d.ts +6 -17
  58. package/dist/types/components/VPdfCommentsDate.vue.d.ts +3 -13
  59. package/dist/types/components/VPdfCommentsHeader.vue.d.ts +3 -13
  60. package/dist/types/components/VPdfCommentsIcon.vue.d.ts +3 -13
  61. package/dist/types/components/VPdfCommentsReplies.vue.d.ts +3 -13
  62. package/dist/types/components/VPdfCommentsSidebar.vue.d.ts +3 -4
  63. package/dist/types/components/VPdfCommentsText.vue.d.ts +11 -1
  64. package/dist/types/components/VPdfPage.vue.d.ts +16 -55
  65. package/dist/types/components/VPdfThumbnail.vue.d.ts +6 -17
  66. package/dist/types/components/VPdfThumbnails.vue.d.ts +6 -15
  67. package/dist/types/components/VPdfViewer.vue.d.ts +317 -604
  68. package/dist/types/components/ui/button/Button.vue.d.ts +8 -41
  69. package/dist/types/components/ui/button/index.d.ts +1 -1
  70. package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +15 -29
  71. package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +15 -26
  72. package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +9 -24
  73. package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +9 -24
  74. package/dist/types/components/ui/dialog/Dialog.vue.d.ts +13 -24
  75. package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +9 -24
  76. package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +25 -29
  77. package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +11 -29
  78. package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +11 -29
  79. package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +11 -29
  80. package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +11 -29
  81. package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +9 -24
  82. package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +13 -24
  83. package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +17 -29
  84. package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +23 -44
  85. package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +9 -24
  86. package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +13 -35
  87. package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +12 -32
  88. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +13 -24
  89. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +16 -32
  90. package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -13
  91. package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +11 -29
  92. package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +13 -24
  93. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +27 -29
  94. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +11 -29
  95. package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -24
  96. package/dist/types/components/ui/input/Input.vue.d.ts +4 -13
  97. package/dist/types/components/ui/popover/Popover.vue.d.ts +13 -24
  98. package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +27 -55
  99. package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +9 -24
  100. package/dist/types/components/ui/progress/Progress.vue.d.ts +4 -23
  101. package/dist/types/components/ui/select/Select.vue.d.ts +16 -24
  102. package/dist/types/components/ui/select/SelectContent.vue.d.ts +21 -48
  103. package/dist/types/components/ui/select/SelectGroup.vue.d.ts +11 -29
  104. package/dist/types/components/ui/select/SelectItem.vue.d.ts +11 -29
  105. package/dist/types/components/ui/select/SelectItemText.vue.d.ts +9 -24
  106. package/dist/types/components/ui/select/SelectLabel.vue.d.ts +11 -29
  107. package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +11 -29
  108. package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +11 -29
  109. package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +3 -13
  110. package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +11 -29
  111. package/dist/types/components/ui/select/SelectValue.vue.d.ts +9 -24
  112. package/dist/types/components/ui/toast/Toast.vue.d.ts +91 -24
  113. package/dist/types/components/ui/toast/ToastAction.vue.d.ts +11 -29
  114. package/dist/types/components/ui/toast/ToastClose.vue.d.ts +3 -13
  115. package/dist/types/components/ui/toast/ToastDescription.vue.d.ts +11 -29
  116. package/dist/types/components/ui/toast/ToastProvider.vue.d.ts +9 -24
  117. package/dist/types/components/ui/toast/ToastTitle.vue.d.ts +11 -29
  118. package/dist/types/components/ui/toast/ToastViewport.vue.d.ts +3 -13
  119. package/dist/types/components/ui/toast/index.d.ts +1 -1
  120. package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +13 -24
  121. package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +17 -44
  122. package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +9 -24
  123. package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +9 -24
  124. package/dist/types/composables/useAnnotationFreeText.d.ts +454 -248
  125. package/dist/types/composables/useAnnotationHighlight.d.ts +288 -178
  126. package/dist/types/composables/useAnnotationStamp.d.ts +344 -212
  127. package/dist/types/composables/useAnnotationStrikethrough.d.ts +326 -216
  128. package/dist/types/composables/useAnnotationUnderline.d.ts +326 -216
  129. package/dist/types/composables/useDownload.d.ts +1 -1
  130. package/dist/types/composables/usePinch.d.ts +2 -2
  131. package/dist/types/composables/usePrintControl.d.ts +1 -1
  132. package/dist/types/composables/useRotation.d.ts +1 -1
  133. package/dist/types/composables/useScale.d.ts +4 -4
  134. package/dist/types/const.d.ts +30 -1065
  135. package/dist/types/utils/CanvasRender.d.ts +0 -1
  136. package/dist/types/utils/searchHighlight.d.ts +1 -1
  137. package/dist/types/utils/types.d.ts +4 -3
  138. package/package.json +12 -5
package/dist/license.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-DMA8_Vun.cjs");exports.LicenseProduct=e.a;exports.LicenseType=e.L;exports.useLicense=e.u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs");exports.LicenseProduct=e.a;exports.LicenseType=e.L;exports.useLicense=e.u;
package/dist/license.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, L as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-BDA6HkG2.js";
1
+ import { a, L as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js";
2
2
  export {
3
3
  a as LicenseProduct,
4
4
  c as LicenseType,
@@ -1,18 +1,12 @@
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: (_: {}) => any;
16
- };
17
- });
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
7
  export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -1,16 +1,13 @@
1
1
  import { AnnotationTextSelectionColors } from '@vue-pdf-viewer/shared';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
- colors?: AnnotationTextSelectionColors | undefined;
4
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- colors?: AnnotationTextSelectionColors | undefined;
6
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
2
+ type __VLS_Props = {
3
+ colors?: AnnotationTextSelectionColors | null;
4
+ };
5
+ type __VLS_PublicProps = __VLS_Props & {
6
+ 'color': string;
16
7
  };
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:color": (value: string) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:color"?: ((value: string) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -1,30 +1,12 @@
1
1
  interface Props {
2
2
  errorMessage?: string;
3
3
  }
4
- declare const _default: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
6
- P: {};
7
- B: {};
8
- D: {};
9
- C: {};
10
- M: {};
11
- Defaults: {};
12
- }, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
13
- __isFragment?: undefined;
14
- __isTeleport?: undefined;
15
- __isSuspense?: undefined;
16
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & 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 () => {
17
- $slots: {
18
- default: (_: {}) => any;
19
- };
20
- });
4
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
+ default?: (props: {}) => any;
6
+ }>;
21
7
  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;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
29
11
  };
30
12
  };
@@ -1,15 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
2
2
  icon: string;
3
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- icon: string;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
3
  };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -1,12 +1,3 @@
1
1
  import { type InputProps } from './ui/input';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: import("vue").DefineComponent<InputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
3
  export default _default;
4
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
- type __VLS_TypePropsToRuntimeProps<T> = {
6
- [K in keyof T]-?: {} extends Pick<T, K> ? {
7
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
- } : {
9
- type: import('vue').PropType<T[K]>;
10
- required: true;
11
- };
12
- };
@@ -1,19 +1,14 @@
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
- loaderImage: (_: {}) => any;
16
- loaderProgress: (_: {}) => any;
17
- };
18
- });
1
+ declare var __VLS_1: {}, __VLS_3: {};
2
+ type __VLS_Slots = {} & {
3
+ loaderImage?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ loaderProgress?: (props: typeof __VLS_3) => any;
6
+ };
7
+ 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>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
9
  export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -1,62 +1,8 @@
1
1
  import type { PopoverContentProps } from 'radix-vue';
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- open?: boolean | undefined;
5
- defaultOpen?: boolean | undefined;
6
- modal?: boolean | undefined;
7
- side?: PopoverContentProps['side'];
8
- sideOffset?: PopoverContentProps['sideOffset'];
9
- align?: PopoverContentProps['align'];
10
- alignOffset?: PopoverContentProps['alignOffset'];
11
- avoidCollisions?: PopoverContentProps['avoidCollisions'];
12
- collisionBoundary?: PopoverContentProps['collisionBoundary'];
13
- collisionPadding?: PopoverContentProps['collisionPadding'];
14
- arrowPadding?: PopoverContentProps['arrowPadding'];
15
- sticky?: PopoverContentProps['sticky'];
16
- hideWhenDetached?: PopoverContentProps['hideWhenDetached'];
17
- updatePositionStrategy?: PopoverContentProps['updatePositionStrategy'];
18
- forceMount?: PopoverContentProps['forceMount'];
19
- isDark?: boolean | undefined;
20
- class?: string | undefined;
21
- }>>> & Readonly<{
22
- onInteractOutside?: ((event: Event) => any) | undefined;
23
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- interactOutside: (event: Event) => void;
25
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
26
- P: {};
27
- B: {};
28
- D: {};
29
- C: {};
30
- M: {};
31
- Defaults: {};
32
- }, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
33
- open?: boolean | undefined;
34
- defaultOpen?: boolean | undefined;
35
- modal?: boolean | undefined;
36
- side?: PopoverContentProps['side'];
37
- sideOffset?: PopoverContentProps['sideOffset'];
38
- align?: PopoverContentProps['align'];
39
- alignOffset?: PopoverContentProps['alignOffset'];
40
- avoidCollisions?: PopoverContentProps['avoidCollisions'];
41
- collisionBoundary?: PopoverContentProps['collisionBoundary'];
42
- collisionPadding?: PopoverContentProps['collisionPadding'];
43
- arrowPadding?: PopoverContentProps['arrowPadding'];
44
- sticky?: PopoverContentProps['sticky'];
45
- hideWhenDetached?: PopoverContentProps['hideWhenDetached'];
46
- updatePositionStrategy?: PopoverContentProps['updatePositionStrategy'];
47
- forceMount?: PopoverContentProps['forceMount'];
48
- isDark?: boolean | undefined;
49
- class?: string | undefined;
50
- }>>> & Readonly<{
51
- onInteractOutside?: ((event: Event) => any) | undefined;
52
- }>, {}, {}, {}, {}, {}>;
53
- __isFragment?: undefined;
54
- __isTeleport?: undefined;
55
- __isSuspense?: undefined;
56
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
57
- open?: boolean | undefined;
58
- defaultOpen?: boolean | undefined;
59
- modal?: boolean | undefined;
2
+ type __VLS_Props = {
3
+ open?: boolean;
4
+ defaultOpen?: boolean;
5
+ modal?: boolean;
60
6
  side?: PopoverContentProps['side'];
61
7
  sideOffset?: PopoverContentProps['sideOffset'];
62
8
  align?: PopoverContentProps['align'];
@@ -69,25 +15,24 @@ declare const _default: {
69
15
  hideWhenDetached?: PopoverContentProps['hideWhenDetached'];
70
16
  updatePositionStrategy?: PopoverContentProps['updatePositionStrategy'];
71
17
  forceMount?: PopoverContentProps['forceMount'];
72
- isDark?: boolean | undefined;
73
- class?: string | undefined;
74
- }>>> & Readonly<{
18
+ isDark?: boolean;
19
+ class?: string;
20
+ };
21
+ declare var __VLS_10: {}, __VLS_20: {};
22
+ type __VLS_Slots = {} & {
23
+ trigger?: (props: typeof __VLS_10) => any;
24
+ } & {
25
+ default?: (props: typeof __VLS_20) => any;
26
+ };
27
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ interactOutside: (event: Event) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
75
30
  onInteractOutside?: ((event: Event) => any) | undefined;
76
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
- interactOutside: (event: Event) => void;
78
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
79
- $slots: {
80
- trigger: (_: {}) => any;
81
- default: (_: {}) => any;
82
- };
83
- });
31
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
84
33
  export default _default;
85
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
86
- type __VLS_TypePropsToRuntimeProps<T> = {
87
- [K in keyof T]-?: {} extends Pick<T, K> ? {
88
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
89
- } : {
90
- type: import('vue').PropType<T[K]>;
91
- required: true;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
92
37
  };
93
38
  };
@@ -1,34 +1,17 @@
1
- declare const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
- contentSide?: "left" | "top" | "bottom" | "right" | undefined;
4
- }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
5
- P: {};
6
- B: {};
7
- D: {};
8
- C: {};
9
- M: {};
10
- Defaults: {};
11
- }, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
- contentSide?: "left" | "top" | "bottom" | "right" | undefined;
13
- }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
14
- __isFragment?: undefined;
15
- __isTeleport?: undefined;
16
- __isSuspense?: undefined;
17
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
18
- contentSide?: "left" | "top" | "bottom" | "right" | undefined;
19
- }>>> & 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 () => {
20
- $slots: {
21
- default: (_: {}) => any;
22
- content: (_: {}) => any;
23
- };
24
- });
1
+ type __VLS_Props = {
2
+ contentSide?: 'top' | 'right' | 'bottom' | 'left';
3
+ };
4
+ declare var __VLS_14: {}, __VLS_28: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_14) => any;
7
+ } & {
8
+ content?: (props: typeof __VLS_28) => any;
9
+ };
10
+ 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>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
12
  export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
33
16
  };
34
17
  };
@@ -1,15 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
2
2
  isSelected: boolean;
3
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- isSelected: boolean;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
3
  };
4
+ type __VLS_PublicProps = __VLS_Props & {
5
+ 'color': string;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:color": (value: string) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:color"?: ((value: string) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -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;