@vue-pdf-viewer/viewer 4.0.0-beta.0 → 4.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-BDA6HkG2.js → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js} +285 -284
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-DMA8_Vun.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs} +4 -4
- package/dist/{index-D1HreucU.cjs → index-B2bnNcQK.cjs} +1 -1
- package/dist/{index-DQJPH6A2.js → index-BAl2kzgK.js} +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.js +5513 -5490
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/dist/types/components/AppButton.vue.d.ts +11 -17
- package/dist/types/components/AppColorPicker.vue.d.ts +11 -14
- package/dist/types/components/AppFormControl.vue.d.ts +6 -24
- package/dist/types/components/AppIcon.vue.d.ts +3 -13
- package/dist/types/components/AppInput.vue.d.ts +1 -10
- package/dist/types/components/AppLoader.vue.d.ts +13 -18
- package/dist/types/components/AppPopover.vue.d.ts +21 -76
- package/dist/types/components/AppTooltip.vue.d.ts +14 -31
- package/dist/types/components/ColorButton.vue.d.ts +10 -13
- package/dist/types/components/DragFileMask.vue.d.ts +11 -45
- package/dist/types/components/FreeTextPanel.vue.d.ts +9 -1
- package/dist/types/components/FreeTextPanelFontColors.vue.d.ts +8 -1
- package/dist/types/components/FreeTextPanelFontFamilySelector.vue.d.ts +8 -1
- package/dist/types/components/FreeTextPanelFontSizeSelector.vue.d.ts +8 -1
- package/dist/types/components/LayerAnnotation.vue.d.ts +15 -36
- package/dist/types/components/LayerAnnotationEditor.vue.d.ts +3 -18
- package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +20 -31
- package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +8 -19
- package/dist/types/components/LayerAnnotationEditorHighlight.vue.d.ts +22 -31
- package/dist/types/components/LayerAnnotationEditorHighlightItem.vue.d.ts +3 -18
- package/dist/types/components/LayerAnnotationEditorImage.vue.d.ts +13 -20
- package/dist/types/components/LayerAnnotationEditorTextSelectionItem.vue.d.ts +7 -18
- package/dist/types/components/LayerAnnotationEditorTextSelectionItemMenu.vue.d.ts +15 -19
- package/dist/types/components/LayerAnnotationStampResizer.vue.d.ts +7 -17
- package/dist/types/components/LayerCanvas.vue.d.ts +5 -13
- package/dist/types/components/LayerCanvasDetail.vue.d.ts +1 -10
- package/dist/types/components/LayerOverlay.vue.d.ts +15 -35
- package/dist/types/components/LayerText.vue.d.ts +9 -23
- package/dist/types/components/LayerTextHighlight.vue.d.ts +1 -10
- package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +1 -10
- package/dist/types/components/LayerXFA.vue.d.ts +10 -21
- package/dist/types/components/ModalPassword.vue.d.ts +11 -14
- package/dist/types/components/ModalPdfProperties.vue.d.ts +4 -13
- package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +4 -13
- package/dist/types/components/SwitchAppearance.vue.d.ts +25 -22
- package/dist/types/components/ToolCommentPanel.vue.d.ts +24 -29
- package/dist/types/components/ToolDownload.vue.d.ts +15 -20
- package/dist/types/components/ToolFullscreen.vue.d.ts +16 -21
- package/dist/types/components/ToolMenuOthers.vue.d.ts +37 -76
- package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +7 -12
- package/dist/types/components/ToolOpenFile.vue.d.ts +15 -20
- package/dist/types/components/ToolOpenFileInput.vue.d.ts +3 -4
- package/dist/types/components/ToolPagination.vue.d.ts +26 -60
- package/dist/types/components/ToolPrint.vue.d.ts +10 -27
- package/dist/types/components/ToolSearch.vue.d.ts +23 -57
- package/dist/types/components/ToolThumbnail.vue.d.ts +13 -36
- package/dist/types/components/ToolZoom.vue.d.ts +21 -45
- package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +7 -18
- package/dist/types/components/VPdfComments.vue.d.ts +6 -17
- package/dist/types/components/VPdfCommentsDate.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsHeader.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsIcon.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsReplies.vue.d.ts +3 -13
- package/dist/types/components/VPdfCommentsSidebar.vue.d.ts +3 -4
- package/dist/types/components/VPdfCommentsText.vue.d.ts +11 -1
- package/dist/types/components/VPdfPage.vue.d.ts +16 -55
- package/dist/types/components/VPdfThumbnail.vue.d.ts +6 -17
- package/dist/types/components/VPdfThumbnails.vue.d.ts +6 -15
- package/dist/types/components/VPdfViewer.vue.d.ts +317 -604
- package/dist/types/components/ui/button/Button.vue.d.ts +8 -41
- package/dist/types/components/ui/button/index.d.ts +1 -1
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +15 -29
- package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +15 -26
- package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +9 -24
- package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +13 -24
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +9 -24
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +25 -29
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +11 -29
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +13 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +17 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +23 -44
- package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +9 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +13 -35
- package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +12 -32
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +13 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +16 -32
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -13
- package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +11 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +13 -24
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +27 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +11 -29
- package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/input/Input.vue.d.ts +4 -13
- package/dist/types/components/ui/popover/Popover.vue.d.ts +13 -24
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +27 -55
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +9 -24
- package/dist/types/components/ui/progress/Progress.vue.d.ts +4 -23
- package/dist/types/components/ui/select/Select.vue.d.ts +16 -24
- package/dist/types/components/ui/select/SelectContent.vue.d.ts +21 -48
- package/dist/types/components/ui/select/SelectGroup.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectItem.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectItemText.vue.d.ts +9 -24
- package/dist/types/components/ui/select/SelectLabel.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +3 -13
- package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +11 -29
- package/dist/types/components/ui/select/SelectValue.vue.d.ts +9 -24
- package/dist/types/components/ui/toast/Toast.vue.d.ts +91 -24
- package/dist/types/components/ui/toast/ToastAction.vue.d.ts +11 -29
- package/dist/types/components/ui/toast/ToastClose.vue.d.ts +3 -13
- package/dist/types/components/ui/toast/ToastDescription.vue.d.ts +11 -29
- package/dist/types/components/ui/toast/ToastProvider.vue.d.ts +9 -24
- package/dist/types/components/ui/toast/ToastTitle.vue.d.ts +11 -29
- package/dist/types/components/ui/toast/ToastViewport.vue.d.ts +3 -13
- package/dist/types/components/ui/toast/index.d.ts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +13 -24
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +17 -44
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +9 -24
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +9 -24
- package/dist/types/composables/useAnnotationFreeText.d.ts +454 -248
- package/dist/types/composables/useAnnotationHighlight.d.ts +288 -178
- package/dist/types/composables/useAnnotationStamp.d.ts +344 -212
- package/dist/types/composables/useAnnotationStrikethrough.d.ts +326 -216
- package/dist/types/composables/useAnnotationUnderline.d.ts +326 -216
- package/dist/types/composables/useDownload.d.ts +1 -1
- package/dist/types/composables/usePinch.d.ts +2 -2
- package/dist/types/composables/usePrintControl.d.ts +1 -1
- package/dist/types/composables/useRotation.d.ts +1 -1
- package/dist/types/composables/useScale.d.ts +4 -4
- package/dist/types/const.d.ts +30 -1065
- package/dist/types/utils/CanvasRender.d.ts +0 -1
- package/dist/types/utils/searchHighlight.d.ts +1 -1
- package/dist/types/utils/types.d.ts +4 -3
- package/package.json +12 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const kt=require("./VPdfViewer.
|
|
1
|
+
"use strict";const kt=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs");function En(e,t){for(var a=0;a<t.length;a++){const r=t[a];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const n=Object.getOwnPropertyDescriptor(r,i);n&&Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var a=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(a,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),a}var ee={options:{usePureJavaScript:!1}},Ei={},Hr={};Hr.byteLength=An;Hr.toByteArray=_n;Hr.fromByteArray=Rn;var xt=[],ot=[],In=typeof Uint8Array<"u"?Uint8Array:Array,ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Jt=0,Bn=ta.length;Jt<Bn;++Jt)xt[Jt]=ta[Jt],ot[ta.charCodeAt(Jt)]=Jt;ot[45]=62;ot[95]=63;function xi(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=e.indexOf("=");a===-1&&(a=t);var r=a===t?0:4-a%4;return[a,r]}function An(e){var t=xi(e),a=t[0],r=t[1];return(a+r)*3/4-r}function bn(e,t,a){return(t+a)*3/4-a}function _n(e){var t,a=xi(e),r=a[0],i=a[1],n=new In(bn(e,r,i)),s=0,o=i>0?r-4:r,l;for(l=0;l<o;l+=4)t=ot[e.charCodeAt(l)]<<18|ot[e.charCodeAt(l+1)]<<12|ot[e.charCodeAt(l+2)]<<6|ot[e.charCodeAt(l+3)],n[s++]=t>>16&255,n[s++]=t>>8&255,n[s++]=t&255;return i===2&&(t=ot[e.charCodeAt(l)]<<2|ot[e.charCodeAt(l+1)]>>4,n[s++]=t&255),i===1&&(t=ot[e.charCodeAt(l)]<<10|ot[e.charCodeAt(l+1)]<<4|ot[e.charCodeAt(l+2)]>>2,n[s++]=t>>8&255,n[s++]=t&255),n}function wn(e){return xt[e>>18&63]+xt[e>>12&63]+xt[e>>6&63]+xt[e&63]}function Nn(e,t,a){for(var r,i=[],n=t;n<a;n+=3)r=(e[n]<<16&16711680)+(e[n+1]<<8&65280)+(e[n+2]&255),i.push(wn(r));return i.join("")}function Rn(e){for(var t,a=e.length,r=a%3,i=[],n=16383,s=0,o=a-r;s<o;s+=n)i.push(Nn(e,s,s+n>o?o:s+n));return r===1?(t=e[a-1],i.push(xt[t>>2]+xt[t<<4&63]+"==")):r===2&&(t=(e[a-2]<<8)+e[a-1],i.push(xt[t>>10]+xt[t>>4&63]+xt[t<<2&63]+"=")),i.join("")}var Aa={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Aa.read=function(e,t,a,r,i){var n,s,o=i*8-r-1,l=(1<<o)-1,f=l>>1,u=-7,p=a?i-1:0,m=a?-1:1,S=e[t+p];for(p+=m,n=S&(1<<-u)-1,S>>=-u,u+=o;u>0;n=n*256+e[t+p],p+=m,u-=8);for(s=n&(1<<-u)-1,n>>=-u,u+=r;u>0;s=s*256+e[t+p],p+=m,u-=8);if(n===0)n=1-f;else{if(n===l)return s?NaN:(S?-1:1)*(1/0);s=s+Math.pow(2,r),n=n-f}return(S?-1:1)*s*Math.pow(2,n-r)};Aa.write=function(e,t,a,r,i,n){var s,o,l,f=n*8-i-1,u=(1<<f)-1,p=u>>1,m=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=r?0:n-1,C=r?1:-1,A=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+p>=1?t+=m/l:t+=m*Math.pow(2,1-p),t*l>=2&&(s++,l/=2),s+p>=u?(o=0,s=u):s+p>=1?(o=(t*l-1)*Math.pow(2,i),s=s+p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[a+S]=o&255,S+=C,o/=256,i-=8);for(s=s<<i|o,f+=i;f>0;e[a+S]=s&255,S+=C,s/=256,f-=8);e[a+S-C]|=A*128};/*!
|
|
2
2
|
* The buffer module from node.js, for the browser.
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as kt } from "./VPdfViewer.
|
|
1
|
+
import { p as kt } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js";
|
|
2
2
|
function En(e, t) {
|
|
3
3
|
for (var a = 0; a < t.length; a++) {
|
|
4
4
|
const r = t[a];
|