@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
@@ -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
+ close: () => any;
18
+ select: (type: AnnotationTextSelectionType) => any;
19
+ remove: (annotation: AnnotationHighlight) => any;
20
+ "update:color": (color: string) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onClose?: (() => any) | undefined;
23
+ onSelect?: ((type: AnnotationTextSelectionType) => any) | undefined;
24
+ onRemove?: ((annotation: AnnotationHighlight) => 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
- };
@@ -6,19 +6,11 @@ interface OwnProps {
6
6
  intersecting: boolean;
7
7
  afterCanvasLoaded?: CanvasLoadedCallback;
8
8
  visibleArea?: VisibleArea;
9
+ perPageRotation?: number;
9
10
  }
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<{
11
+ declare const _default: import("vue").DefineComponent<OwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ rendered: (canvasWrapperElement: HTMLDivElement) => any;
13
+ }, string, import("vue").PublicProps, Readonly<OwnProps> & Readonly<{
13
14
  onRendered?: ((canvasWrapperElement: HTMLDivElement) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
16
  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
- };
@@ -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
- };