vue-upload-wrapper
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -25,3 +25,5 @@ 'use strict'; | ||
type: Array, | ||
default: [] | ||
default: function _default() { | ||
return []; | ||
} | ||
}, | ||
@@ -28,0 +30,0 @@ disabled: { |
@@ -25,3 +25,5 @@ (function (global, factory) { | ||
type: Array, | ||
default: [] | ||
default: function _default() { | ||
return []; | ||
} | ||
}, | ||
@@ -28,0 +30,0 @@ disabled: { |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self)["vue-upload-wrapper"]=t()}(this,function(){"use strict";return function(e,t,i,n,o,r,s,a,d,c){"boolean"!=typeof s&&(d=a,a=s,s=!1);var f,l="function"==typeof i?i.options:i;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),n&&(l._scopeId=n),r?(f=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=f):t&&(f=s?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),f)if(l.functional){var p=l.render;l.render=function(e,t){return f.call(t),p(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,f):[f]}return i}({render:function(){var e=this.$createElement,t=this._self._c||e;return t("span",{on:{click:this.triggerFileSelection}},[t("input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"file",attrs:{type:"file",accept:this.accept.join(",")},on:{change:this.emitSelection}}),this._v(" "),this._t("default")],2)},staticRenderFns:[]},void 0,{name:"vue-upload-wrapper",props:{accept:{type:Array,default:[]},disabled:{type:Boolean,default:!1}},methods:{triggerFileSelection:function(){this.disabled||this.$refs.file.click()},emitSelection:function(){this.$emit("fileSelected",this.$refs.file.files)}}},void 0,!1,void 0,void 0,void 0)}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self)["vue-upload-wrapper"]=t()}(this,function(){"use strict";return function(e,t,n,i,o,r,s,a,c,d){"boolean"!=typeof s&&(c=a,a=s,s=!1);var f,l="function"==typeof n?n.options:n;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),i&&(l._scopeId=i),r?(f=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=f):t&&(f=s?function(){t.call(this,d(this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),f)if(l.functional){var p=l.render;l.render=function(e,t){return f.call(t),p(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,f):[f]}return n}({render:function(){var e=this.$createElement,t=this._self._c||e;return t("span",{on:{click:this.triggerFileSelection}},[t("input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"file",attrs:{type:"file",accept:this.accept.join(",")},on:{change:this.emitSelection}}),this._v(" "),this._t("default")],2)},staticRenderFns:[]},void 0,{name:"vue-upload-wrapper",props:{accept:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1}},methods:{triggerFileSelection:function(){this.disabled||this.$refs.file.click()},emitSelection:function(){this.$emit("fileSelected",this.$refs.file.files)}}},void 0,!1,void 0,void 0,void 0)}); | ||
//# sourceMappingURL=vue-upload-wrapper.umd.min.js.map |
{ | ||
"name": "vue-upload-wrapper", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Transform any element into an file selector", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-upload-wrapper.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17895
329