Socket
Socket
Sign inDemoInstall

@vueuse/integrations

Package Overview
Dependencies
80
Maintainers
3
Versions
228
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.2.0 to 10.2.1

6

package.json
{
"name": "@vueuse/integrations",
"version": "10.2.0",
"version": "10.2.1",
"description": "Integration wrappers for utility libraries",

@@ -164,4 +164,4 @@ "author": "Anthony Fu <https://github.com/antfu>",

"dependencies": {
"@vueuse/core": "10.2.0",
"@vueuse/shared": "10.2.0",
"@vueuse/core": "10.2.1",
"@vueuse/shared": "10.2.1",
"vue-demi": ">=0.14.5"

@@ -168,0 +168,0 @@ },

@@ -1,1 +0,1 @@

var VueDemi=function(r,n,v){if(r.install)return r;if(!n)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),r;if(n.version.slice(0,4)==="2.7."){let o=function(i,f){var c,y={},h={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(u,d){return y[u]=d,this},directive:function(u,d){return d?(n.directive(u,d),h):n.directive(u)},mount:function(u,d){return c||(c=new n(Object.assign({propsData:f},i,{provide:Object.assign(y,i.provide)})),c.$mount(u,d),c)},unmount:function(){c&&(c.$destroy(),c=void 0)}};return h};var F=o;for(var e in n)r[e]=n[e];r.isVue2=!0,r.isVue3=!1,r.install=function(){},r.Vue=n,r.Vue2=n,r.version=n.version,r.warn=n.util.warn,r.hasInjectionContext=()=>!!r.getCurrentInstance(),r.createApp=o}else if(n.version.slice(0,2)==="2.")if(v){for(var e in v)r[e]=v[e];r.isVue2=!0,r.isVue3=!1,r.install=function(){},r.Vue=n,r.Vue2=n,r.version=n.version,r.hasInjectionContext=()=>!!r.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(n.version.slice(0,2)==="3."){for(var e in n)r[e]=n[e];r.isVue2=!1,r.isVue3=!0,r.install=function(){},r.Vue=n,r.Vue2=void 0,r.version=n.version,r.set=function(o,i,f){return Array.isArray(o)?(o.length=Math.max(o.length,i),o.splice(i,1,f),f):(o[i]=f,f)},r.del=function(o,i){if(Array.isArray(o)){o.splice(i,1);return}delete o[i]}}else console.error("[vue-demi] Vue version "+n.version+" is unsupported.");return r}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(r,n,v,e){"use strict";var F=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,h=(a,t,s)=>t in a?F(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,u=(a,t)=>{for(var s in t||(t={}))c.call(t,s)&&h(a,s,t[s]);if(f)for(var s of f(t))y.call(t,s)&&h(a,s,t[s]);return a},d=(a,t)=>o(a,i(t));const U=v.default||v;function R(a,t,s={}){const{validateOption:E={},immediate:P=!0,manual:b=!1}=s,A=n.toRef(a),p=e.shallowRef(null),_=e.ref(!0),w=e.ref(!P||b),I=e.computed(()=>{var l;return((l=p.value)==null?void 0:l.errors)||[]}),j=e.computed(()=>{var l;return((l=p.value)==null?void 0:l.fields)||{}}),g=e.computed(()=>new U(n.toValue(t))),x=async()=>{_.value=!1,w.value=!1;try{await g.value.validate(A.value,E),w.value=!0,p.value=null}catch(l){p.value=l}finally{_.value=!0}return{pass:w.value,errorInfo:p.value,errors:I.value,errorFields:j.value}};b||e.watch([A,g],()=>x(),{immediate:P,deep:!0});const C={isFinished:_,pass:w,errors:I,errorInfo:p,errorFields:j,execute:x};function S(){return new Promise((l,O)=>{n.until(_).toBe(!0).then(()=>l(C)).catch($=>O($))})}return d(u({},C),{then(l,O){return S().then(l,O)}})}r.useAsyncValidator=R})(this.VueUse=this.VueUse||{},VueUse,AsyncValidator,VueDemi);
var VueDemi=function(r,n,v){if(r.install)return r;if(!n)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),r;if(n.version.slice(0,4)==="2.7."){let o=function(i,f){var c,y={},h={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(u,d){return y[u]=d,this},directive:function(u,d){return d?(n.directive(u,d),h):n.directive(u)},mount:function(u,d){return c||(c=new n(Object.assign({propsData:f},i,{provide:Object.assign(y,i.provide)})),c.$mount(u,d),c)},unmount:function(){c&&(c.$destroy(),c=void 0)}};return h};var P=o;for(var e in n)r[e]=n[e];r.isVue2=!0,r.isVue3=!1,r.install=function(){},r.Vue=n,r.Vue2=n,r.version=n.version,r.warn=n.util.warn,r.hasInjectionContext=()=>!!r.getCurrentInstance(),r.createApp=o}else if(n.version.slice(0,2)==="2.")if(v){for(var e in v)r[e]=v[e];r.isVue2=!0,r.isVue3=!1,r.install=function(){},r.Vue=n,r.Vue2=n,r.version=n.version,r.hasInjectionContext=()=>!!r.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(n.version.slice(0,2)==="3."){for(var e in n)r[e]=n[e];r.isVue2=!1,r.isVue3=!0,r.install=function(){},r.Vue=n,r.Vue2=void 0,r.version=n.version,r.set=function(o,i,f){return Array.isArray(o)?(o.length=Math.max(o.length,i),o.splice(i,1,f),f):(o[i]=f,f)},r.del=function(o,i){if(Array.isArray(o)){o.splice(i,1);return}delete o[i]}}else console.error("[vue-demi] Vue version "+n.version+" is unsupported.");return r}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(r,n,v,e){"use strict";var P=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,h=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,u=(a,t)=>{for(var s in t||(t={}))c.call(t,s)&&h(a,s,t[s]);if(f)for(var s of f(t))y.call(t,s)&&h(a,s,t[s]);return a},d=(a,t)=>o(a,i(t));const U=v.default||v;function R(a,t,s={}){const{validateOption:E={},immediate:b=!0,manual:A=!1}=s,I=n.toRef(a),p=e.shallowRef(null),_=e.ref(!0),w=e.ref(!b||A),j=e.computed(()=>{var l;return((l=p.value)==null?void 0:l.errors)||[]}),g=e.computed(()=>{var l;return((l=p.value)==null?void 0:l.fields)||{}}),x=e.computed(()=>new U(n.toValue(t))),C=async()=>{_.value=!1,w.value=!1;try{await x.value.validate(I.value,E),w.value=!0,p.value=null}catch(l){p.value=l}finally{_.value=!0}return{pass:w.value,errorInfo:p.value,errors:j.value,errorFields:g.value}};A||e.watch([I,x],()=>C(),{immediate:b,deep:!0});const F={isFinished:_,pass:w,errors:j,errorInfo:p,errorFields:g,execute:C};function S(){return new Promise((l,O)=>{n.until(_).toBe(!0).then(()=>l(F)).catch($=>O($))})}return d(u({},F),{then(l,O){return S().then(l,O)}})}r.useAsyncValidator=R})(this.VueUse=this.VueUse||{},VueUse,AsyncValidator,VueDemi);

@@ -1,1 +0,1 @@

var VueDemi=function(e,n,v){if(e.install)return e;if(!n)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),e;if(n.version.slice(0,4)==="2.7."){let i=function(c,u){var f,y={},w={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(a,p){return y[a]=p,this},directive:function(a,p){return p?(n.directive(a,p),w):n.directive(a)},mount:function(a,p){return f||(f=new n(Object.assign({propsData:u},c,{provide:Object.assign(y,c.provide)})),f.$mount(a,p),f)},unmount:function(){f&&(f.$destroy(),f=void 0)}};return w};var M=i;for(var l in n)e[l]=n[l];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.warn=n.util.warn,e.hasInjectionContext=()=>!!e.getCurrentInstance(),e.createApp=i}else if(n.version.slice(0,2)==="2.")if(v){for(var l in v)e[l]=v[l];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.hasInjectionContext=()=>!!e.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(n.version.slice(0,2)==="3."){for(var l in n)e[l]=n[l];e.isVue2=!1,e.isVue3=!0,e.install=function(){},e.Vue=n,e.Vue2=void 0,e.version=n.version,e.set=function(i,c,u){return Array.isArray(i)?(i.length=Math.max(i.length,c),i.splice(c,1,u),u):(i[c]=u,u)},e.del=function(i,c){if(Array.isArray(i)){i.splice(c,1);return}delete i[c]}}else console.error("[vue-demi] Vue version "+n.version+" is unsupported.");return e}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(e,n,v,l){"use strict";var M=Object.defineProperty,i=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,w=(t,r,o)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,a=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&w(t,o,r[o]);if(u)for(var o of u(r))y.call(r,o)&&w(t,o,r[o]);return t},p=(t,r)=>i(t,c(r));function z(...t){const r=typeof t[0]=="string"?t[0]:void 0,o=typeof r=="string"?1:0;let S={},A=l,b={immediate:!!o,shallow:!0};const I=s=>!!s?.request;t.length>0+o&&(I(t[0+o])?A=t[0+o]:S=t[0+o]),t.length>1+o&&I(t[1+o])&&(A=t[1+o]),(t.length===2+o&&!I(t[1+o])||t.length===3+o)&&(b=t[t.length-1]);const{initialData:T,shallow:G,onSuccess:H=v.noop,onError:J=v.noop,immediate:K,resetOnExecute:Q=!1}=b,F=n.shallowRef(),C=(G?n.shallowRef:n.ref)(T),h=n.ref(!1),P=n.ref(!1),j=n.ref(!1),_=n.shallowRef(),L=l.CancelToken.source;let x=L();const E=s=>{h.value||!P.value||(x.cancel(s),x=L(),j.value=!0,P.value=!1,h.value=!1)},N=s=>{P.value=s,h.value=!s},W=()=>{Q&&(C.value=T)},U=()=>new Promise((s,O)=>{v.until(h).toBe(!0).then(()=>_.value?O(_.value):s(k))}),R={then:(...s)=>U().then(...s),catch:(...s)=>U().catch(...s)};let g=0;const $=(s=r,O={})=>{_.value=void 0;const q=typeof s=="string"?s:r??O.url;if(q===void 0)return _.value=new l.AxiosError(l.AxiosError.ERR_INVALID_URL),h.value=!0,R;W(),E(),N(!0),g+=1;const X=g;return A(q,p(a(a({},S),typeof s=="object"?s:O),{cancelToken:x.token})).then(d=>{F.value=d;const B=d.data;C.value=B,H(B)}).catch(d=>{_.value=d,J(d)}).finally(()=>{var d;(d=b.onFinish)==null||d.call(b),X===g&&N(!1)}),R};K&&r&&$();const k={response:F,data:C,error:_,isFinished:h,isLoading:P,cancel:E,isAborted:j,isCanceled:j,abort:E,execute:$};return a(a({},k),R)}e.useAxios=z})(this.VueUse=this.VueUse||{},VueDemi,VueUse,axios);
var VueDemi=function(e,n,v){if(e.install)return e;if(!n)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),e;if(n.version.slice(0,4)==="2.7."){let i=function(c,u){var f,y={},w={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(a,p){return y[a]=p,this},directive:function(a,p){return p?(n.directive(a,p),w):n.directive(a)},mount:function(a,p){return f||(f=new n(Object.assign({propsData:u},c,{provide:Object.assign(y,c.provide)})),f.$mount(a,p),f)},unmount:function(){f&&(f.$destroy(),f=void 0)}};return w};var S=i;for(var l in n)e[l]=n[l];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.warn=n.util.warn,e.hasInjectionContext=()=>!!e.getCurrentInstance(),e.createApp=i}else if(n.version.slice(0,2)==="2.")if(v){for(var l in v)e[l]=v[l];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.hasInjectionContext=()=>!!e.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(n.version.slice(0,2)==="3."){for(var l in n)e[l]=n[l];e.isVue2=!1,e.isVue3=!0,e.install=function(){},e.Vue=n,e.Vue2=void 0,e.version=n.version,e.set=function(i,c,u){return Array.isArray(i)?(i.length=Math.max(i.length,c),i.splice(c,1,u),u):(i[c]=u,u)},e.del=function(i,c){if(Array.isArray(i)){i.splice(c,1);return}delete i[c]}}else console.error("[vue-demi] Vue version "+n.version+" is unsupported.");return e}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(e,n,v,l){"use strict";var S=Object.defineProperty,i=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,w=(t,r,o)=>r in t?S(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,a=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&w(t,o,r[o]);if(u)for(var o of u(r))y.call(r,o)&&w(t,o,r[o]);return t},p=(t,r)=>i(t,c(r));function z(...t){const r=typeof t[0]=="string"?t[0]:void 0,o=typeof r=="string"?1:0;let T={},A=l,b={immediate:!!o,shallow:!0};const I=s=>!!s?.request;t.length>0+o&&(I(t[0+o])?A=t[0+o]:T=t[0+o]),t.length>1+o&&I(t[1+o])&&(A=t[1+o]),(t.length===2+o&&!I(t[1+o])||t.length===3+o)&&(b=t[t.length-1]);const{initialData:F,shallow:G,onSuccess:H=v.noop,onError:J=v.noop,immediate:K,resetOnExecute:Q=!1}=b,L=n.shallowRef(),C=(G?n.shallowRef:n.ref)(F),h=n.ref(!1),P=n.ref(!1),j=n.ref(!1),_=n.shallowRef(),N=l.CancelToken.source;let x=N();const E=s=>{h.value||!P.value||(x.cancel(s),x=N(),j.value=!0,P.value=!1,h.value=!1)},U=s=>{P.value=s,h.value=!s},W=()=>{Q&&(C.value=F)},$=()=>new Promise((s,O)=>{v.until(h).toBe(!0).then(()=>_.value?O(_.value):s(q))}),R={then:(...s)=>$().then(...s),catch:(...s)=>$().catch(...s)};let g=0;const k=(s=r,O={})=>{_.value=void 0;const B=typeof s=="string"?s:r??O.url;if(B===void 0)return _.value=new l.AxiosError(l.AxiosError.ERR_INVALID_URL),h.value=!0,R;W(),E(),U(!0),g+=1;const X=g;return A(B,p(a(a({},T),typeof s=="object"?s:O),{cancelToken:x.token})).then(d=>{L.value=d;const M=d.data;C.value=M,H(M)}).catch(d=>{_.value=d,J(d)}).finally(()=>{var d;(d=b.onFinish)==null||d.call(b),X===g&&U(!1)}),R};K&&r&&k();const q={response:L,data:C,error:_,isFinished:h,isLoading:P,cancel:E,isAborted:j,isCanceled:j,abort:E,execute:k};return a(a({},q),R)}e.useAxios=z})(this.VueUse=this.VueUse||{},VueDemi,VueUse,axios);

@@ -1,1 +0,1 @@

var VueDemi=function(n,e,h){if(n.install)return n;if(!e)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(e.version.slice(0,4)==="2.7."){let i=function(a,v){var u,C={},g={config:e.config,use:e.use.bind(e),mixin:e.mixin.bind(e),component:e.component.bind(e),provide:function(c,d){return C[c]=d,this},directive:function(c,d){return d?(e.directive(c,d),g):e.directive(c)},mount:function(c,d){return u||(u=new e(Object.assign({propsData:v},a,{provide:Object.assign(C,a.provide)})),u.$mount(c,d),u)},unmount:function(){u&&(u.$destroy(),u=void 0)}};return g};var b=i;for(var l in e)n[l]=e[l];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=e,n.Vue2=e,n.version=e.version,n.warn=e.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=i}else if(e.version.slice(0,2)==="2.")if(h){for(var l in h)n[l]=h[l];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=e,n.Vue2=e,n.version=e.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(e.version.slice(0,2)==="3."){for(var l in e)n[l]=e[l];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=e,n.Vue2=void 0,n.version=e.version,n.set=function(i,a,v){return Array.isArray(i)?(i.length=Math.max(i.length,a),i.splice(a,1,v),v):(i[a]=v,v)},n.del=function(i,a){if(Array.isArray(i)){i.splice(a,1);return}delete i[a]}}else console.error("[vue-demi] Vue version "+e.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,e,h,l){"use strict";var b=Object.defineProperty,i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,u=(s,r,t)=>r in s?b(s,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[r]=t,C=(s,r)=>{for(var t in r||(r={}))a.call(r,t)&&u(s,t,r[t]);if(i)for(var t of i(r))v.call(r,t)&&u(s,t,r[t]);return s};function g(s){const r=new l(s?s.headers.cookie:null);return(t,{doNotParse:f=!1,autoUpdateDependencies:p=!1}={})=>c(t,{doNotParse:f,autoUpdateDependencies:p},r)}function c(s,{doNotParse:r=!1,autoUpdateDependencies:t=!1}={},f=new l){const p=t?[...s||[]]:s;let w=f.getAll({doNotParse:!0});const y=h.ref(0),_=()=>{const o=f.getAll({doNotParse:!0});d(p||null,o,w)&&y.value++,w=o};return f.addChangeListener(_),e.tryOnScopeDispose(()=>{f.removeChangeListener(_)}),{get:(...o)=>(t&&p&&!p.includes(o[0])&&p.push(o[0]),y.value,f.get(o[0],C({doNotParse:r},o[1]))),getAll:(...o)=>(y.value,f.getAll(C({doNotParse:r},o[0]))),set:(...o)=>f.set(...o),remove:(...o)=>f.remove(...o),addChangeListener:(...o)=>f.addChangeListener(...o),removeChangeListener:(...o)=>f.removeChangeListener(...o)}}function d(s,r,t){if(!s)return!0;for(const f of s)if(r[f]!==t[f])return!0;return!1}n.createCookies=g,n.useCookies=c})(this.VueUse=this.VueUse||{},VueUse,VueDemi,UniversalCookie);
var VueDemi=function(n,e,h){if(n.install)return n;if(!e)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(e.version.slice(0,4)==="2.7."){let i=function(a,v){var u,C={},g={config:e.config,use:e.use.bind(e),mixin:e.mixin.bind(e),component:e.component.bind(e),provide:function(c,d){return C[c]=d,this},directive:function(c,d){return d?(e.directive(c,d),g):e.directive(c)},mount:function(c,d){return u||(u=new e(Object.assign({propsData:v},a,{provide:Object.assign(C,a.provide)})),u.$mount(c,d),u)},unmount:function(){u&&(u.$destroy(),u=void 0)}};return g};var w=i;for(var l in e)n[l]=e[l];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=e,n.Vue2=e,n.version=e.version,n.warn=e.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=i}else if(e.version.slice(0,2)==="2.")if(h){for(var l in h)n[l]=h[l];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=e,n.Vue2=e,n.version=e.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(e.version.slice(0,2)==="3."){for(var l in e)n[l]=e[l];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=e,n.Vue2=void 0,n.version=e.version,n.set=function(i,a,v){return Array.isArray(i)?(i.length=Math.max(i.length,a),i.splice(a,1,v),v):(i[a]=v,v)},n.del=function(i,a){if(Array.isArray(i)){i.splice(a,1);return}delete i[a]}}else console.error("[vue-demi] Vue version "+e.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,e,h,l){"use strict";var w=Object.defineProperty,i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,u=(s,r,t)=>r in s?w(s,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[r]=t,C=(s,r)=>{for(var t in r||(r={}))a.call(r,t)&&u(s,t,r[t]);if(i)for(var t of i(r))v.call(r,t)&&u(s,t,r[t]);return s};function g(s){const r=new l(s?s.headers.cookie:null);return(t,{doNotParse:f=!1,autoUpdateDependencies:p=!1}={})=>c(t,{doNotParse:f,autoUpdateDependencies:p},r)}function c(s,{doNotParse:r=!1,autoUpdateDependencies:t=!1}={},f=new l){const p=t?[...s||[]]:s;let _=f.getAll({doNotParse:!0});const y=h.ref(0),b=()=>{const o=f.getAll({doNotParse:!0});d(p||null,o,_)&&y.value++,_=o};return f.addChangeListener(b),e.tryOnScopeDispose(()=>{f.removeChangeListener(b)}),{get:(...o)=>(t&&p&&!p.includes(o[0])&&p.push(o[0]),y.value,f.get(o[0],C({doNotParse:r},o[1]))),getAll:(...o)=>(y.value,f.getAll(C({doNotParse:r},o[0]))),set:(...o)=>f.set(...o),remove:(...o)=>f.remove(...o),addChangeListener:(...o)=>f.addChangeListener(...o),removeChangeListener:(...o)=>f.removeChangeListener(...o)}}function d(s,r,t){if(!s)return!0;for(const f of s)if(r[f]!==t[f])return!0;return!1}n.createCookies=g,n.useCookies=c})(this.VueUse=this.VueUse||{},VueUse,VueDemi,UniversalCookie);

@@ -1,1 +0,1 @@

var VueDemi=function(e,n,v){if(e.install)return e;if(!n)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),e;if(n.version.slice(0,4)==="2.7."){let a=function(l,u){var c,p={},h={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(d,t){return p[d]=t,this},directive:function(d,t){return t?(n.directive(d,t),h):n.directive(d)},mount:function(d,t){return c||(c=new n(Object.assign({propsData:u},l,{provide:Object.assign(p,l.provide)})),c.$mount(d,t),c)},unmount:function(){c&&(c.$destroy(),c=void 0)}};return h};var I=a;for(var s in n)e[s]=n[s];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.warn=n.util.warn,e.hasInjectionContext=()=>!!e.getCurrentInstance(),e.createApp=a}else if(n.version.slice(0,2)==="2.")if(v){for(var s in v)e[s]=v[s];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.hasInjectionContext=()=>!!e.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(n.version.slice(0,2)==="3."){for(var s in n)e[s]=n[s];e.isVue2=!1,e.isVue3=!0,e.install=function(){},e.Vue=n,e.Vue2=void 0,e.version=n.version,e.set=function(a,l,u){return Array.isArray(a)?(a.length=Math.max(a.length,l),a.splice(l,1,u),u):(a[l]=u,u)},e.del=function(a,l){if(Array.isArray(a)){a.splice(l,1);return}delete a[l]}}else console.error("[vue-demi] Vue version "+n.version+" is unsupported.");return e}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(e,n,v,s,I){"use strict";var a=Object.defineProperty,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,p=(t,i,r)=>i in t?a(t,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[i]=r,h=(t,i)=>{for(var r in i||(i={}))u.call(i,r)&&p(t,r,i[r]);if(l)for(var r of l(i))c.call(i,r)&&p(t,r,i[r]);return t};function d(t,i){const r=n.ref();let g=[];const y=s.createEventHook(),b=s.createEventHook(),E=s.createEventHook(),P=s.createEventHook(),w=s.createEventHook(),C=n.ref(!1),O=n.ref(!1),k=n.ref(!1),A=n.ref(!1),_=n.ref({color:"black",size:3,arrowEnd:!1,cornerRadius:0,dasharray:void 0,fill:"transparent",mode:"draw"});n.watch(_,()=>{const o=r.value;o&&(o.brush=_.value,o.mode=_.value.mode)},{deep:!0});const j=()=>{var o;return(o=r.value)==null?void 0:o.undo()},U=()=>{var o;return(o=r.value)==null?void 0:o.redo()},x=()=>{var o;return(o=r.value)==null?void 0:o.clear()},G=()=>{var o;return(o=r.value)==null?void 0:o.cancel()},R=o=>{var f;return(f=r.value)==null?void 0:f.load(o)},m=()=>{var o;return(o=r.value)==null?void 0:o.dump()},H=()=>{var o;g.forEach(f=>f()),(o=r.value)==null||o.unmount()},S=()=>{r.value&&(C.value=r.value.canUndo(),O.value=r.value.canRedo(),k.value=r.value.altPressed,A.value=r.value.shiftPressed)};return n.watch(()=>s.unrefElement(t),o=>{!o||typeof SVGSVGElement>"u"||!(o instanceof SVGSVGElement)||(r.value&&H(),r.value=v.createDrauu(h({el:o},i)),S(),g=[r.value.on("canceled",()=>b.trigger()),r.value.on("committed",f=>E.trigger(f)),r.value.on("start",()=>P.trigger()),r.value.on("end",()=>w.trigger()),r.value.on("changed",()=>{S(),y.trigger()})])},{flush:"post"}),I.tryOnScopeDispose(()=>H()),{drauuInstance:r,load:R,dump:m,clear:x,cancel:G,undo:j,redo:U,canUndo:C,canRedo:O,brush:_,onChanged:y.on,onCommitted:E.on,onStart:P.on,onEnd:w.on,onCanceled:b.on}}e.useDrauu=d})(this.VueUse=this.VueUse||{},VueDemi,Drauu,VueUse,VueUse);
var VueDemi=function(e,n,v){if(e.install)return e;if(!n)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),e;if(n.version.slice(0,4)==="2.7."){let a=function(l,u){var c,p={},h={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(d,t){return p[d]=t,this},directive:function(d,t){return t?(n.directive(d,t),h):n.directive(d)},mount:function(d,t){return c||(c=new n(Object.assign({propsData:u},l,{provide:Object.assign(p,l.provide)})),c.$mount(d,t),c)},unmount:function(){c&&(c.$destroy(),c=void 0)}};return h};var g=a;for(var s in n)e[s]=n[s];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.warn=n.util.warn,e.hasInjectionContext=()=>!!e.getCurrentInstance(),e.createApp=a}else if(n.version.slice(0,2)==="2.")if(v){for(var s in v)e[s]=v[s];e.isVue2=!0,e.isVue3=!1,e.install=function(){},e.Vue=n,e.Vue2=n,e.version=n.version,e.hasInjectionContext=()=>!!e.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(n.version.slice(0,2)==="3."){for(var s in n)e[s]=n[s];e.isVue2=!1,e.isVue3=!0,e.install=function(){},e.Vue=n,e.Vue2=void 0,e.version=n.version,e.set=function(a,l,u){return Array.isArray(a)?(a.length=Math.max(a.length,l),a.splice(l,1,u),u):(a[l]=u,u)},e.del=function(a,l){if(Array.isArray(a)){a.splice(l,1);return}delete a[l]}}else console.error("[vue-demi] Vue version "+n.version+" is unsupported.");return e}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(e,n,v,s,g){"use strict";var a=Object.defineProperty,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,p=(t,i,r)=>i in t?a(t,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[i]=r,h=(t,i)=>{for(var r in i||(i={}))u.call(i,r)&&p(t,r,i[r]);if(l)for(var r of l(i))c.call(i,r)&&p(t,r,i[r]);return t};function d(t,i){const r=n.ref();let y=[];const b=s.createEventHook(),E=s.createEventHook(),P=s.createEventHook(),w=s.createEventHook(),C=s.createEventHook(),O=n.ref(!1),H=n.ref(!1),k=n.ref(!1),A=n.ref(!1),_=n.ref({color:"black",size:3,arrowEnd:!1,cornerRadius:0,dasharray:void 0,fill:"transparent",mode:"draw"});n.watch(_,()=>{const o=r.value;o&&(o.brush=_.value,o.mode=_.value.mode)},{deep:!0});const j=()=>{var o;return(o=r.value)==null?void 0:o.undo()},U=()=>{var o;return(o=r.value)==null?void 0:o.redo()},x=()=>{var o;return(o=r.value)==null?void 0:o.clear()},G=()=>{var o;return(o=r.value)==null?void 0:o.cancel()},R=o=>{var f;return(f=r.value)==null?void 0:f.load(o)},m=()=>{var o;return(o=r.value)==null?void 0:o.dump()},S=()=>{var o;y.forEach(f=>f()),(o=r.value)==null||o.unmount()},I=()=>{r.value&&(O.value=r.value.canUndo(),H.value=r.value.canRedo(),k.value=r.value.altPressed,A.value=r.value.shiftPressed)};return n.watch(()=>s.unrefElement(t),o=>{!o||typeof SVGSVGElement>"u"||!(o instanceof SVGSVGElement)||(r.value&&S(),r.value=v.createDrauu(h({el:o},i)),I(),y=[r.value.on("canceled",()=>E.trigger()),r.value.on("committed",f=>P.trigger(f)),r.value.on("start",()=>w.trigger()),r.value.on("end",()=>C.trigger()),r.value.on("changed",()=>{I(),b.trigger()})])},{flush:"post"}),g.tryOnScopeDispose(()=>S()),{drauuInstance:r,load:R,dump:m,clear:x,cancel:G,undo:j,redo:U,canUndo:O,canRedo:H,brush:_,onChanged:b.on,onCommitted:P.on,onStart:w.on,onEnd:C.on,onCanceled:E.on}}e.useDrauu=d})(this.VueUse=this.VueUse||{},VueDemi,Drauu,VueUse,VueUse);

@@ -1,1 +0,1 @@

var VueDemi=function(n,r,u){if(n.install)return n;if(!r)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(r.version.slice(0,4)==="2.7."){let s=function(a,f){var c,_={},O={config:r.config,use:r.use.bind(r),mixin:r.mixin.bind(r),component:r.component.bind(r),provide:function(l,p){return _[l]=p,this},directive:function(l,p){return p?(r.directive(l,p),O):r.directive(l)},mount:function(l,p){return c||(c=new r(Object.assign({propsData:f},a,{provide:Object.assign(_,a.provide)})),c.$mount(l,p),c)},unmount:function(){c&&(c.$destroy(),c=void 0)}};return O};var w=s;for(var v in r)n[v]=r[v];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.warn=r.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=s}else if(r.version.slice(0,2)==="2.")if(u){for(var v in u)n[v]=u[v];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(r.version.slice(0,2)==="3."){for(var v in r)n[v]=r[v];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=r,n.Vue2=void 0,n.version=r.version,n.set=function(s,a,f){return Array.isArray(s)?(s.length=Math.max(s.length,a),s.splice(a,1,f),f):(s[a]=f,f)},n.del=function(s,a){if(Array.isArray(s)){s.splice(a,1);return}delete s[a]}}else console.error("[vue-demi] Vue version "+r.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,r,u,v){"use strict";var w=Object.defineProperty,s=Object.defineProperties,a=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,O=(i,t,e)=>t in i?w(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,l=(i,t)=>{for(var e in t||(t={}))c.call(t,e)&&O(i,e,t[e]);if(f)for(var e of f(t))_.call(t,e)&&O(i,e,t[e]);return i},p=(i,t)=>s(i,a(t)),A=(i,t)=>{var e={};for(var o in i)c.call(i,o)&&t.indexOf(o)<0&&(e[o]=i[o]);if(i!=null&&f)for(var o of f(i))t.indexOf(o)<0&&_.call(i,o)&&(e[o]=i[o]);return e};function j(i,t={}){let e;const o=t,{immediate:g}=o,I=A(o,["immediate"]),h=u.ref(!1),P=u.ref(!1),b=d=>e&&e.activate(d),y=d=>e&&e.deactivate(d),x=()=>{e&&(e.pause(),P.value=!0)},C=()=>{e&&(e.unpause(),P.value=!1)};return u.watch(()=>r.unrefElement(i),d=>{d&&(e=v.createFocusTrap(d,p(l({},I),{onActivate(){h.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){h.value=!1,t.onDeactivate&&t.onDeactivate()}})),g&&b())},{flush:"post"}),r.tryOnScopeDispose(()=>y()),{hasFocus:h,isPaused:P,activate:b,deactivate:y,pause:x,unpause:C}}n.useFocusTrap=j})(this.VueUse=this.VueUse||{},VueUse,VueDemi,focusTrap);
var VueDemi=function(n,r,u){if(n.install)return n;if(!r)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(r.version.slice(0,4)==="2.7."){let s=function(a,f){var c,_={},O={config:r.config,use:r.use.bind(r),mixin:r.mixin.bind(r),component:r.component.bind(r),provide:function(l,p){return _[l]=p,this},directive:function(l,p){return p?(r.directive(l,p),O):r.directive(l)},mount:function(l,p){return c||(c=new r(Object.assign({propsData:f},a,{provide:Object.assign(_,a.provide)})),c.$mount(l,p),c)},unmount:function(){c&&(c.$destroy(),c=void 0)}};return O};var b=s;for(var v in r)n[v]=r[v];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.warn=r.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=s}else if(r.version.slice(0,2)==="2.")if(u){for(var v in u)n[v]=u[v];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(r.version.slice(0,2)==="3."){for(var v in r)n[v]=r[v];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=r,n.Vue2=void 0,n.version=r.version,n.set=function(s,a,f){return Array.isArray(s)?(s.length=Math.max(s.length,a),s.splice(a,1,f),f):(s[a]=f,f)},n.del=function(s,a){if(Array.isArray(s)){s.splice(a,1);return}delete s[a]}}else console.error("[vue-demi] Vue version "+r.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,r,u,v){"use strict";var b=Object.defineProperty,s=Object.defineProperties,a=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,O=(i,t,e)=>t in i?b(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,l=(i,t)=>{for(var e in t||(t={}))c.call(t,e)&&O(i,e,t[e]);if(f)for(var e of f(t))_.call(t,e)&&O(i,e,t[e]);return i},p=(i,t)=>s(i,a(t)),A=(i,t)=>{var e={};for(var o in i)c.call(i,o)&&t.indexOf(o)<0&&(e[o]=i[o]);if(i!=null&&f)for(var o of f(i))t.indexOf(o)<0&&_.call(i,o)&&(e[o]=i[o]);return e};function j(i,t={}){let e;const o=t,{immediate:g}=o,I=A(o,["immediate"]),h=u.ref(!1),P=u.ref(!1),y=d=>e&&e.activate(d),w=d=>e&&e.deactivate(d),x=()=>{e&&(e.pause(),P.value=!0)},C=()=>{e&&(e.unpause(),P.value=!1)};return u.watch(()=>r.unrefElement(i),d=>{d&&(e=v.createFocusTrap(d,p(l({},I),{onActivate(){h.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){h.value=!1,t.onDeactivate&&t.onDeactivate()}})),g&&y())},{flush:"post"}),r.tryOnScopeDispose(()=>w()),{hasFocus:h,isPaused:P,activate:y,deactivate:w,pause:x,unpause:C}}n.useFocusTrap=j})(this.VueUse=this.VueUse||{},VueUse,VueDemi,focusTrap);

@@ -1,1 +0,1 @@

var VueDemi=function(n,r,c){if(n.install)return n;if(!r)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(r.version.slice(0,4)==="2.7."){let s=function(a,u){var f,d={},v={config:r.config,use:r.use.bind(r),mixin:r.mixin.bind(r),component:r.component.bind(r),provide:function(e,t){return d[e]=t,this},directive:function(e,t){return t?(r.directive(e,t),v):r.directive(e)},mount:function(e,t){return f||(f=new r(Object.assign({propsData:u},a,{provide:Object.assign(d,a.provide)})),f.$mount(e,t),f)},unmount:function(){f&&(f.$destroy(),f=void 0)}};return v};var O=s;for(var o in r)n[o]=r[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.warn=r.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=s}else if(r.version.slice(0,2)==="2.")if(c){for(var o in c)n[o]=c[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(r.version.slice(0,2)==="3."){for(var o in r)n[o]=r[o];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=r,n.Vue2=void 0,n.version=r.version,n.set=function(s,a,u){return Array.isArray(s)?(s.length=Math.max(s.length,a),s.splice(a,1,u),u):(s[a]=u,u)},n.del=function(s,a){if(Array.isArray(s)){s.splice(a,1);return}delete s[a]}}else console.error("[vue-demi] Vue version "+r.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,r,c,o){"use strict";var O=Object.defineProperty,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,f=(e,t,i)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,d=(e,t)=>{for(var i in t||(t={}))a.call(t,i)&&f(e,i,t[i]);if(s)for(var i of s(t))u.call(t,i)&&f(e,i,t[i]);return e};function v(e,t,i={}){const{flush:_="pre",deep:I=!0,shallow:A=!1,onError:w=p=>{console.error(p)},writeDefaults:P=!0}=i,y=c.ref(!1),l=(A?c.shallowRef:c.ref)(t),h=r.toValue(t);async function b(){try{const p=await o.get(e);p===void 0?h!=null&&P&&await o.set(e,h):l.value=p}catch(p){w(p)}y.value=!0}b();async function g(){try{l.value==null?await o.del(e):Array.isArray(l.value)?await o.update(e,()=>JSON.parse(JSON.stringify(l.value))):typeof l.value=="object"?await o.update(e,()=>d({},l.value)):await o.update(e,()=>l.value)}catch(p){w(p)}}return c.watch(l,()=>g(),{flush:_,deep:I}),{isFinished:y,data:l}}n.useIDBKeyval=v})(this.VueUse=this.VueUse||{},VueUse,VueDemi,idbKeyval);
var VueDemi=function(n,r,c){if(n.install)return n;if(!r)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(r.version.slice(0,4)==="2.7."){let s=function(a,u){var f,d={},v={config:r.config,use:r.use.bind(r),mixin:r.mixin.bind(r),component:r.component.bind(r),provide:function(e,t){return d[e]=t,this},directive:function(e,t){return t?(r.directive(e,t),v):r.directive(e)},mount:function(e,t){return f||(f=new r(Object.assign({propsData:u},a,{provide:Object.assign(d,a.provide)})),f.$mount(e,t),f)},unmount:function(){f&&(f.$destroy(),f=void 0)}};return v};var w=s;for(var o in r)n[o]=r[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.warn=r.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=s}else if(r.version.slice(0,2)==="2.")if(c){for(var o in c)n[o]=c[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(r.version.slice(0,2)==="3."){for(var o in r)n[o]=r[o];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=r,n.Vue2=void 0,n.version=r.version,n.set=function(s,a,u){return Array.isArray(s)?(s.length=Math.max(s.length,a),s.splice(a,1,u),u):(s[a]=u,u)},n.del=function(s,a){if(Array.isArray(s)){s.splice(a,1);return}delete s[a]}}else console.error("[vue-demi] Vue version "+r.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,r,c,o){"use strict";var w=Object.defineProperty,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,f=(e,t,i)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,d=(e,t)=>{for(var i in t||(t={}))a.call(t,i)&&f(e,i,t[i]);if(s)for(var i of s(t))u.call(t,i)&&f(e,i,t[i]);return e};function v(e,t,i={}){const{flush:_="pre",deep:I=!0,shallow:A=!1,onError:y=p=>{console.error(p)},writeDefaults:P=!0}=i,O=c.ref(!1),l=(A?c.shallowRef:c.ref)(t),h=r.toValue(t);async function b(){try{const p=await o.get(e);p===void 0?h!=null&&P&&await o.set(e,h):l.value=p}catch(p){y(p)}O.value=!0}b();async function g(){try{l.value==null?await o.del(e):Array.isArray(l.value)?await o.update(e,()=>JSON.parse(JSON.stringify(l.value))):typeof l.value=="object"?await o.update(e,()=>d({},l.value)):await o.update(e,()=>l.value)}catch(p){y(p)}}return c.watch(l,()=>g(),{flush:_,deep:I}),{isFinished:O,data:l}}n.useIDBKeyval=v})(this.VueUse=this.VueUse||{},VueUse,VueDemi,idbKeyval);

@@ -1,1 +0,1 @@

var VueDemi=function(n,i,f){if(n.install)return n;if(!i)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(i.version.slice(0,4)==="2.7."){let r=function(s,e){var t,a={},l={config:i.config,use:i.use.bind(i),mixin:i.mixin.bind(i),component:i.component.bind(i),provide:function(c,d){return a[c]=d,this},directive:function(c,d){return d?(i.directive(c,d),l):i.directive(c)},mount:function(c,d){return t||(t=new i(Object.assign({propsData:e},s,{provide:Object.assign(a,s.provide)})),t.$mount(c,d),t)},unmount:function(){t&&(t.$destroy(),t=void 0)}};return l};var v=r;for(var o in i)n[o]=i[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=i,n.Vue2=i,n.version=i.version,n.warn=i.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=r}else if(i.version.slice(0,2)==="2.")if(f){for(var o in f)n[o]=f[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=i,n.Vue2=i,n.version=i.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(i.version.slice(0,2)==="3."){for(var o in i)n[o]=i[o];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=i,n.Vue2=void 0,n.version=i.version,n.set=function(r,s,e){return Array.isArray(r)?(r.length=Math.max(r.length,s),r.splice(s,1,e),e):(r[s]=e,e)},n.del=function(r,s){if(Array.isArray(r)){r.splice(s,1);return}delete r[s]}}else console.error("[vue-demi] Vue version "+i.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,i,f,o){"use strict";function v(r,s){const e=i.toRef(r),t=f.ref("");return f.watch(e,async a=>{e.value&&i.isClient&&(t.value=await o.toDataURL(a,s))},{immediate:!0}),t}n.useQRCode=v})(this.VueUse=this.VueUse||{},VueUse,VueDemi,QRCode);
var VueDemi=function(n,i,f){if(n.install)return n;if(!i)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(i.version.slice(0,4)==="2.7."){let r=function(s,e){var t,a={},v={config:i.config,use:i.use.bind(i),mixin:i.mixin.bind(i),component:i.component.bind(i),provide:function(c,d){return a[c]=d,this},directive:function(c,d){return d?(i.directive(c,d),v):i.directive(c)},mount:function(c,d){return t||(t=new i(Object.assign({propsData:e},s,{provide:Object.assign(a,s.provide)})),t.$mount(c,d),t)},unmount:function(){t&&(t.$destroy(),t=void 0)}};return v};var l=r;for(var o in i)n[o]=i[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=i,n.Vue2=i,n.version=i.version,n.warn=i.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=r}else if(i.version.slice(0,2)==="2.")if(f){for(var o in f)n[o]=f[o];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=i,n.Vue2=i,n.version=i.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(i.version.slice(0,2)==="3."){for(var o in i)n[o]=i[o];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=i,n.Vue2=void 0,n.version=i.version,n.set=function(r,s,e){return Array.isArray(r)?(r.length=Math.max(r.length,s),r.splice(s,1,e),e):(r[s]=e,e)},n.del=function(r,s){if(Array.isArray(r)){r.splice(s,1);return}delete r[s]}}else console.error("[vue-demi] Vue version "+i.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,i,f,o){"use strict";function l(r,s){const e=i.toRef(r),t=f.ref("");return f.watch(e,async a=>{e.value&&i.isClient&&(t.value=await o.toDataURL(a,s))},{immediate:!0}),t}n.useQRCode=l})(this.VueUse=this.VueUse||{},VueUse,VueDemi,QRCode);

@@ -1,1 +0,1 @@

var VueDemi=function(n,t,u){if(n.install)return n;if(!t)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(t.version.slice(0,4)==="2.7."){let s=function(f,c){var l,y={},b={config:t.config,use:t.use.bind(t),mixin:t.mixin.bind(t),component:t.component.bind(t),provide:function(p,d){return y[p]=d,this},directive:function(p,d){return d?(t.directive(p,d),b):t.directive(p)},mount:function(p,d){return l||(l=new t(Object.assign({propsData:c},f,{provide:Object.assign(y,f.provide)})),l.$mount(p,d),l)},unmount:function(){l&&(l.$destroy(),l=void 0)}};return b};var g=s;for(var a in t)n[a]=t[a];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=t,n.Vue2=t,n.version=t.version,n.warn=t.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=s}else if(t.version.slice(0,2)==="2.")if(u){for(var a in u)n[a]=u[a];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=t,n.Vue2=t,n.version=t.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(t.version.slice(0,2)==="3."){for(var a in t)n[a]=t[a];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=t,n.Vue2=void 0,n.version=t.version,n.set=function(s,f,c){return Array.isArray(s)?(s.length=Math.max(s.length,f),s.splice(f,1,c),c):(s[f]=c,c)},n.del=function(s,f){if(Array.isArray(s)){s.splice(f,1);return}delete s[f]}}else console.error("[vue-demi] Vue version "+t.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,t,u,a){"use strict";var g=Object.defineProperty,s=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(r,i,o)=>i in r?g(r,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[i]=o,y=(r,i)=>{for(var o in i||(i={}))f.call(i,o)&&l(r,o,i[o]);if(s)for(var o of s(i))c.call(i,o)&&l(r,o,i[o]);return r},b=(r,i)=>{var o={};for(var e in r)f.call(r,e)&&i.indexOf(e)<0&&(o[e]=r[e]);if(r!=null&&s)for(var e of s(r))i.indexOf(e)<0&&c.call(r,e)&&(o[e]=r[e]);return o};function p(r,i,o={}){let e;const O=o,{document:h=t.defaultDocument}=O,A=b(O,["document"]),P={onUpdate:v=>{d(i,v.oldIndex,v.newIndex)}},_=()=>{const v=typeof r=="string"?h?.querySelector(r):t.unrefElement(r);v&&(e=new u(v,y(y({},P),A)))},w=()=>e?.destroy(),x=(v,I)=>{if(I!==void 0)e?.option(v,I);else return e?.option(v)};return t.tryOnMounted(_),t.tryOnScopeDispose(w),{stop:w,start:_,option:x}}function d(r,i,o){const e=t.toValue(r);if(o>=0&&o<e.length){const O=e.splice(i,1)[0];a.nextTick(()=>e.splice(o,0,O))}}n.moveArrayElement=d,n.useSortable=p})(this.VueUse=this.VueUse||{},VueUse,Sortable,VueDemi);
var VueDemi=function(n,t,u){if(n.install)return n;if(!t)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(t.version.slice(0,4)==="2.7."){let s=function(f,c){var l,y={},b={config:t.config,use:t.use.bind(t),mixin:t.mixin.bind(t),component:t.component.bind(t),provide:function(p,d){return y[p]=d,this},directive:function(p,d){return d?(t.directive(p,d),b):t.directive(p)},mount:function(p,d){return l||(l=new t(Object.assign({propsData:c},f,{provide:Object.assign(y,f.provide)})),l.$mount(p,d),l)},unmount:function(){l&&(l.$destroy(),l=void 0)}};return b};var h=s;for(var a in t)n[a]=t[a];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=t,n.Vue2=t,n.version=t.version,n.warn=t.util.warn,n.hasInjectionContext=()=>!!n.getCurrentInstance(),n.createApp=s}else if(t.version.slice(0,2)==="2.")if(u){for(var a in u)n[a]=u[a];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=t,n.Vue2=t,n.version=t.version,n.hasInjectionContext=()=>!!n.getCurrentInstance()}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(t.version.slice(0,2)==="3."){for(var a in t)n[a]=t[a];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=t,n.Vue2=void 0,n.version=t.version,n.set=function(s,f,c){return Array.isArray(s)?(s.length=Math.max(s.length,f),s.splice(f,1,c),c):(s[f]=c,c)},n.del=function(s,f){if(Array.isArray(s)){s.splice(f,1);return}delete s[f]}}else console.error("[vue-demi] Vue version "+t.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,t,u,a){"use strict";var h=Object.defineProperty,s=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(r,i,o)=>i in r?h(r,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[i]=o,y=(r,i)=>{for(var o in i||(i={}))f.call(i,o)&&l(r,o,i[o]);if(s)for(var o of s(i))c.call(i,o)&&l(r,o,i[o]);return r},b=(r,i)=>{var o={};for(var e in r)f.call(r,e)&&i.indexOf(e)<0&&(o[e]=r[e]);if(r!=null&&s)for(var e of s(r))i.indexOf(e)<0&&c.call(r,e)&&(o[e]=r[e]);return o};function p(r,i,o={}){let e;const O=o,{document:_=t.defaultDocument}=O,A=b(O,["document"]),P={onUpdate:v=>{d(i,v.oldIndex,v.newIndex)}},w=()=>{const v=typeof r=="string"?_?.querySelector(r):t.unrefElement(r);v&&(e=new u(v,y(y({},P),A)))},I=()=>e?.destroy(),x=(v,g)=>{if(g!==void 0)e?.option(v,g);else return e?.option(v)};return t.tryOnMounted(w),t.tryOnScopeDispose(I),{stop:I,start:w,option:x}}function d(r,i,o){const e=t.toValue(r);if(o>=0&&o<e.length){const O=e.splice(i,1)[0];a.nextTick(()=>e.splice(o,0,O))}}n.moveArrayElement=d,n.useSortable=p})(this.VueUse=this.VueUse||{},VueUse,Sortable,VueDemi);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc