- License
- "MIT",main:"lib/index.js",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build",test:"vitest run --environment=jsdom --silent='passed-only'"},keywords:["file uploader","uppy","uppy-store"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},devDependencies:{jsdom:"^26.1.0",typescript:"^5.8.3",vitest:"^3.2.4"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},exports:{".":"./lib/index.js","./package.json":"./package.json"},files:["src","lib","dist","CHANGELOG.md"]};var CY=class{static VERSION=Xbe.version;state={};#e=new Set;getState(){return this.state}setState(o){let e=U({},this.state),i=U(U({},this.state),o);this.state=i,this.#t(e,i,o)}subscribe(o){return this.#e.add(o),()=>{this.#e.delete(o)}}#t(...o){this.#e.forEach(e=>{e(...o)})}},Qbe=CY;var LCe=Pn(ICe(),1),FCe=Pn(DCe(),1);var mht="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var LS=(t=21)=>{let o="",e=t|0;for(;e--;)o+=mht[Math.random(), "MIT",style:"dist/style.min.css",type:"module",sideEffects:[", "MIT",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build",test:"vitest run --environment=jsdom --silent='passed-only'"},keywords:["file uploader","uppy","uppy-plugin","companion","provider"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},files:["src","lib","dist","CHANGELOG.md"],exports:{".":"./lib/index.js","./package.json":"./package.json"},dependencies:{"@uppy/utils":"^7.1.1","namespace-emitter":"^2.0.1","p-retry":"^6.1.0"},devDependencies:{jsdom:"^26.1.0",typescript:"^5.8.3",vitest:"^3.2.4"},peerDependencies:{"@uppy/core":"^5.1.1"}};var EY=class extends Error{isAuthError;constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}},YCe=EY;function vht(t){return t.replace(/\/$/,"")}var qCe=10,xht=300, "MIT",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build",test:"vitest run --environment=jsdom --silent='passed-only'"},keywords:["file uploader","aws s3","amazon s3","s3","uppy","uppy-plugin","multipart"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},files:["src","lib","dist","CHANGELOG.md"],exports:{".":"./lib/index.js","./package.json":"./package.json"},dependencies:{"@uppy/companion-client":"^5.1.1","@uppy/utils":"^7.1.4"},devDependencies:{"@aws-sdk/client-s3":"^3.362.0","@aws-sdk/s3-request-presigner":"^3.362.0","@uppy/core":"^5.2.0",jsdom:"^26.1.0",nock:"^13.1.0",typescript:"^5.8.3",vitest:"^3.2.4","whatwg-fetch":"3.6.2"},peerDependencies:{"@uppy/core":"^5.2.0"}};function Dht({method:t="PUT",CanonicalUri:o="/",CanonicalQueryString:e="",SignedHeaders:i,HashedPayload:n}){let a=Object.keys(i).map(r=>r.toLowerCase()).sort();return[t,o,e,...a.map(r=>`${r}:${i[r]}`),"",a.join(";"),n].join(`, "MIT",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build"},keywords:["file uploader","google drive","cloud storage","uppy","uppy-plugin"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},files:["src","lib","dist","CHANGELOG.md"],exports:{".":"./lib/index.js","./package.json":"./package.json"},dependencies:{"@uppy/companion-client":"^5.1.1","@uppy/provider-views":"^5.2.0","@uppy/utils":"^7.1.4",preact:"^10.5.13"},peerDependencies:{"@uppy/core":"^5.2.0"},devDependencies:{"@uppy/core":"^5.2.0",typescript:"^5.8.3"}};function hB(t){let o=RS(i=>{i.preventDefault(),t()},[t]),[e]=ev(()=>{let i=document.createElement("form");return i.setAttribute("tabindex","-1"),i.id=LS(),i});return AS(()=>(document.body.appendChild(e),e.addEventListener("submit",o),()=>{e.removeEventListener("submit",o),document.body.removeChild(e)}),[e,o]),{formId:e.id}}function Uht({value:t,onChange:o,onSubmit:e,inputLabel:i,i18n:n}){let{formId:a}=hB(e);return yt("section",{className:"uppy-ProviderBrowser-searchFilter",children:[yt("input",{className:"uppy-u-reset uppy-ProviderBrowser-searchFilterInput",type:"search","aria-label":i,placeholder:i,value:t,onInput:r=>o(r.target.value),form:a,"data-uppy-super-focusable":!0}),yt("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-ProviderBrowser-searchFilterIcon",width:"12",height:"12",viewBox:"0 0 12 12",children:yt("path",{d:"M8.638 7.99l3.172 3.172a.492.492 0 1 1-.697.697L7.91 8.656a4.977 4.977 0 0 1-2.983.983C2.206 9.639 0 7.481 0 4.819 0 2.158 2.206 0 4.927 0c2.721 0 4.927 2.158 4.927 4.82a4.74 4.74 0 0 1-1.216 3.17zm-3.71.685c2.176 0 3.94-1.726 3.94-3.856 0-2.129-1.764-3.855-3.94-3.855C2.75.964.984 2.69.984 4.819c0 2.13 1.765 3.856 3.942 3.856z"})}),t&&yt("button",{className:"uppy-u-reset uppy-ProviderBrowser-searchFilterReset",type:"button","aria-label":n("resetFilter"),onClick:()=>o(""),children:yt("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",viewBox:"0 0 19 19",children:yt("path",{d:"M17.318 17.232L9.94 9.854 9.586 9.5l-.354.354-7.378 7.378h.707l-.62-.62v.706L9.318 9.94l.354-.354-.354-.354L1.94 1.854v.707l.62-.62h-.706l7.378 7.378.354.354.354-.354 7.378-7.378h-.707l.622.62v-.706L9.854 9.232l-.354.354.354.354 7.378 7.378.708-.707-7.38-7.378v.708l7.38-7.38.353-.353-.353-.353-.622-.622-.353-.353-.354.352-7.378 7.38h.708L2.56 1.23 2.208.88l-.353.353-.622.62-.353.355.352.353 7.38 7.38v-.708l-7.38 7.38-.353.353.352.353.622.622.353.353.354-.353 7.38-7.38h-.708l7.38 7.38z"})})})]})}var fB=Uht;function Wht(){return yt("svg",{width:"26",height:"26",viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg",children:yt("g",{fill:"none","fill-rule":"evenodd",children:[yt("circle",{fill:"#FFF",cx:"13",cy:"13",r:"13"}),yt("path",{d:"M21.64 13.205c0-.639-.057-1.252-.164-1.841H13v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z",fill:"#4285F4","fill-rule":"nonzero"}),yt("path",{d:"M13 22c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H4.957v2.332A8.997 8.997 0 0013 22z",fill:"#34A853","fill-rule":"nonzero"}),yt("path",{d:"M7.964 14.71A5.41 5.41 0 017.682 13c0-.593.102-1.17.282-1.71V8.958H4.957A8.996 8.996 0 004 13c0 1.452.348 2.827.957 4.042l3.007-2.332z",fill:"#FBBC05","fill-rule":"nonzero"}),yt("path",{d:"M13 7.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C17.463 4.891 15.426 4 13 4a8.997 8.997 0 00-8.043 4.958l3.007 2.332C8.672 9.163 10.656 7.58 13 7.58z",fill:"#EA4335","fill-rule":"nonzero"}),yt("path",{d:"M4 4h18v18H4z"})]})})}function Hht({pluginName:t,i18n:o,onAuth:e}){let i=t==="Google Drive",n=RS(a=>{a.preventDefault(),e()},[e]);return yt("form",{onSubmit:n,children:i?yt("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn uppy-Provider-btn-google","data-uppy-super-focusable":!0,children:[yt(Wht,{}),o("signInWithGoogle")]}):yt("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn","data-uppy-super-focusable":!0,children:o("authenticateWith",{pluginName:t})})})}var jht=({pluginName:t,i18n:o,onAuth:e})=>yt(Hht,{pluginName:t,i18n:o,onAuth:e});function FY({loading:t,pluginName:o,pluginIcon:e,i18n:i,handleAuth:n,renderForm:a=jht}){return yt("div",{className:"uppy-Provider-auth",children:[yt("div",{className:"uppy-Provider-authIcon",children:e()}),yt("div",{className:"uppy-Provider-authTitle",children:i("authenticateWithTitle",{pluginName:o})}),a({pluginName:o,i18n:i,loading:t,onAuth:n})]})}var xye=Pn(nv(),1),Sye=Pn(SY(),1);var _B={name:"@uppy/provider-views",description:"View library for Uppy remote provider plugins.",version:"5.2.2",license:"MIT",style:"dist/style.min.css",type:"module",sideEffects:[", "MIT",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build"},keywords:["file uploader","uppy","uppy-plugin","dropbox"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},files:["src","lib","dist","CHANGELOG.md"],exports:{".":"./lib/index.js","./package.json":"./package.json"},dependencies:{"@uppy/companion-client":"^5.1.1","@uppy/provider-views":"^5.2.0","@uppy/utils":"^7.1.4",preact:"^10.5.13"},peerDependencies:{"@uppy/core":"^5.2.0"},devDependencies:{"@uppy/core":"^5.2.0",typescript:"^5.8.3"}};var Tye={strings:{pluginNameDropbox:"Dropbox"}};var RE=class extends Eh{static VERSION=Oye.version;icon;provider;view;storage;files;rootFolderId=null;constructor(o,e){super(o,e),this.id=this.opts.id||"Dropbox",this.type="acquirer",this.storage=this.opts.storage||qf,this.files=[],this.icon=()=>yt("svg",{className:"uppy-DashboardTab-iconDropbox","aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32",children:yt("path",{d:"M10.5 7.5L5 10.955l5.5 3.454 5.5-3.454 5.5 3.454 5.5-3.454L21.5 7.5 16 10.955zM10.5 21.319L5 17.864l5.5-3.455 5.5 3.455zM16 17.864l5.5-3.455 5.5 3.455-5.5 3.455zM16 25.925l-5.5-3.455 5.5-3.454 5.5 3.454z",fill:"currentcolor",fillRule:"nonzero"})}),this.opts.companionAllowedHosts=Yf(this.opts.companionAllowedHosts,this.opts.companionUrl),this.provider=new bg(o,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"dropbox",pluginId:this.id,supportsRefreshToken:!0}),this.defaultLocale=Tye,this.i18nInit(),this.title=this.i18n("pluginNameDropbox"),this.render=this.render.bind(this)}install(){this.view=new $f(this,{provider:this.provider,loadAllFiles:!0,virtualList:!0,supportsSearch:!0});let{target:o}=this.opts;o&&this.mount(o,this)}uninstall(){this.view.tearDown(),this.unmount()}render(o){return this.view.render(o)}};var Eye={name:"@uppy/onedrive",description:"Import files from OneDrive, into Uppy.",version:"5.1.0",license:"MIT",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build"},keywords:["file uploader","uppy","uppy-plugin","onedrive"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},files:["src","lib","dist","CHANGELOG.md"],exports:{".":"./lib/index.js","./package.json":"./package.json"},dependencies:{"@uppy/companion-client":"^5.1.1","@uppy/provider-views":"^5.2.0","@uppy/utils":"^7.1.4",preact:"^10.5.13"},peerDependencies:{"@uppy/core":"^5.2.0"},devDependencies:{"@uppy/core":"^5.2.0",typescript:"^5.8.3"}};var Iye={strings:{pluginNameOneDrive:"OneDrive"}};var LE=class extends Eh{static VERSION=Eye.version;icon;provider;view;storage;files;rootFolderId=null;constructor(o,e){super(o,e),this.type="acquirer",this.files=[],this.storage=this.opts.storage||qf,this.id=this.opts.id||"OneDrive",this.icon=()=>yt("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32",children:yt("g",{fill:"none",fillRule:"nonzero",children:[yt("path",{d:"M13.39 12.888l4.618 2.747 2.752-1.15a4.478 4.478 0 012.073-.352 6.858 6.858 0 00-5.527-5.04 6.895 6.895 0 00-6.876 2.982l.07-.002a5.5 5.5 0 012.89.815z",fill:"#0364B8"}),yt("path",{d:"M13.39 12.887v.001a5.5 5.5 0 00-2.89-.815l-.07.002a5.502 5.502 0 00-4.822 2.964 5.43 5.43 0 00.38 5.62l4.073-1.702 1.81-.757 4.032-1.685 2.105-.88-4.619-2.748z",fill:"#0078D4"}),yt("path",{d:"M22.833 14.133a4.479 4.479 0 00-2.073.352l-2.752 1.15.798.475 2.616 1.556 1.141.68 3.902 2.321a4.413 4.413 0 00-.022-4.25 4.471 4.471 0 00-3.61-2.284z",fill:"#1490DF"}),yt("path",{d:"M22.563 18.346l-1.141-.68-2.616-1.556-.798-.475-2.105.88L11.87 18.2l-1.81.757-4.073 1.702A5.503 5.503 0 0010.5 23h12.031a4.472 4.472 0 003.934-2.333l-3.902-2.321z",fill:"#28A8EA"})]})}),this.opts.companionAllowedHosts=Yf(this.opts.companionAllowedHosts,this.opts.companionUrl),this.provider=new bg(o,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"onedrive",pluginId:this.id,supportsRefreshToken:!0}),this.defaultLocale=Iye,this.i18nInit(),this.title=this.i18n("pluginNameOneDrive"),this.render=this.render.bind(this)}install(){this.view=new $f(this,{provider:this.provider,loadAllFiles:!0,virtualList:!0});let{target:o}=this.opts;o&&this.mount(o,this)}uninstall(){this.view.tearDown(),this.unmount()}render(o){return this.view.render(o)}};var kye={name:"@uppy/unsplash",description:"Import files from Unsplash, the free stock photography resource, into Uppy",version:"5.1.0",license:"MIT",type:"module",sideEffects:!1,scripts:{build:"tsc --build tsconfig.build.json",typecheck:"tsc --build"},keywords:["file uploader","uppy","uppy-plugin","unsplash"],homepage:"https://uppy.io",bugs:{url:"https://github.com/transloadit/uppy/issues"},repository:{type:"git",url:"git+https://github.com/transloadit/uppy.git"},files:["src","lib","dist","CHANGELOG.md"],exports:{".":"./lib/index.js","./package.json":"./package.json"},dependencies:{"@uppy/companion-client":"^5.1.1","@uppy/provider-views":"^5.2.0","@uppy/utils":"^7.1.4",preact:"^10.5.13"},peerDependencies:{"@uppy/core":"^5.2.0"},publishConfig:{access:"public"},devDependencies:{"@uppy/core":"^5.2.0",typescript:"^5.8.3"}};var Dye={strings:{pluginNameUnsplash:"Unsplash"}};var FE=class extends Eh{static VERSION=kye.version;icon;provider;view;storage;files;hostname;constructor(o,e){if(super(o,e),this.type="acquirer",this.files=[],this.storage=this.opts.storage||qf,this.id=this.opts.id||"Unsplash",this.defaultLocale=Dye,this.i18nInit(),this.title=this.i18n("pluginNameUnsplash"),this.icon=()=>yt("svg",{className:"uppy-DashboardTab-iconUnsplash",viewBox:"0 0 32 32",height:"32",width:"32","aria-hidden":"true",children:yt("g",{fill:"currentcolor",children:[yt("path",{d:"M46.575 10.883v-9h12v9zm12 5h10v18h-32v-18h10v9h12z"}),yt("path",{d:"M13 12.5V8h6v4.5zm6 2.5h5v9H8v-9h5v4.5h6z"})]})}),!this.opts.companionUrl)throw new Error("Companion hostname is required, please consult https://uppy.io/docs/companion");this.hostname=this.opts.companionUrl,this.opts.companionAllowedHosts=Yf(this.opts.companionAllowedHosts,this.opts.companionUrl),this.provider=new OE(o,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionCookiesRule:this.opts.companionCookiesRule,provider:"unsplash",pluginId:this.id})}install(){this.view=new NS(this,{provider:this.provider,viewType:"unsplash",showFilter:!0,utmSource:this.opts.utmSource});let{target:o}=this.opts;o&&this.mount(o,this)}render(o){return this.view.render(o)}uninstall(){this.unmount()}};var Aye={name:"@uppy/url",description:"The Url plugin lets users import files from the Internet. Paste any URL and it\u2019ll be added!",version:"5.1.0",license:"MIT",style:"dist/style.min.css",type:"module",sideEffects:["
- Version (from header)
- 5.0.0