!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("VueElementUiPlus",[],e):"object"==typeof exports?exports.VueElementUiPlus=e():t.VueElementUiPlus=e()}(self,()=>(()=>{"use strict";var n={1900:(t,e,n)=>{n.d(e,{Z:()=>function(t,e,n,o,i,r,s,l){var u,a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0);o&&(a.functional=!0);r&&(a._scopeId="data-v-"+r);s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=u):i&&(u=l?function(){i.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:i);{var c;u&&(a.functional?(a._injectStyles=u,c=a.render,a.render=function(t,e){return u.call(e),c(t,e)}):(e=a.beforeCreate,a.beforeCreate=e?[].concat(e,u):[u]))}return{exports:t,options:a}}})}},o={};function i(t){var e=o[t];return void 0!==e||(e=o[t]={exports:{}},n[t](e,e.exports,i)),e.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var t={};{function e(){var t=this,e=t.$createElement;return(e=t._self._c||e)("button",{staticClass:"el-button",class:[t.type?"el-button--"+t.type:"",t.buttonSize?"el-button--"+t.buttonSize:"",{"is-disabled":t.buttonDisabled,"is-loading":t.loading,"is-plain":t.plain,"is-round":t.round,"is-circle":t.circle}],attrs:{disabled:t.buttonDisabled||t.loading,autofocus:t.autofocus,type:t.nativeType},on:{click:t.handleClick}},[t.loading?e("i",{staticClass:"el-icon-loading"}):t._e(),t._v(" "),t.icon&&!t.loading?e("i",{class:t.icon}):t._e(),t._v(" "),t.$slots.default?e("span",[t._t("default")],2):t._e()])}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i.d(t,{default:()=>c}),e._withStripped=!0;var l=[{name:"删除",message:"确认要删除吗, 是否继续?",confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",action:function(t,e){var n=this,o=t.message,i=t.type,r=t.confirmButtonText,s=t.cancelButtonText;t.parentName;return new Promise(function(t){n.$confirm&&n.$confirm(o,"提示",{confirmButtonText:r,cancelButtonText:s,type:i}).then(function(){t()}).catch(function(){})})}}];function r(t){var e,n,o,i=this,r=this.$parent.$options.name;return"ElTableRow"==r&&this.proxyList&&this.proxyList.length&&(e=this.$slots.default&&(null==(n=this.$slots.default[0])?void 0:n.text),n=this.proxyList.find(function(t){return"object"==s(t)?t.name==e:"string"==typeof t?t==e:void 0}))?(o=l.find(function(t){return t.name==e}),"string"==typeof n&&(n={name:n}),(o=Object.assign({},o,{parentName:r},n)).action?void o.action.call(this,o,t).then(function(){return i.$emit("click",t)}):(console.log(new Error("请实现该按钮代理方法")),this.$emit("click",t))):this.$emit("click",t)}var u={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:function(){var t;return(null==(t=this.$ELEMENT.button)?void 0:t.type)||"default"}},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:{type:Boolean,default:function(){var t;return null==(t=this.$ELEMENT.button)?void 0:t.plain}},autofocus:Boolean,round:{type:Boolean,default:function(){var t;return null==(t=this.$ELEMENT.button)?void 0:t.round}},circle:Boolean,isProxy:{type:Boolean,default:function(){var t;return null==(t=this.$ELEMENT.button)?void 0:t.isProxy}},proxy:Function,proxyList:{type:Array,default:function(){var t;return(null==(t=this.$ELEMENT.button)?void 0:t.proxyList)||[]}}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return(this.$options.propsData.hasOwnProperty("disabled")?this:this.elForm||{}).disabled}},methods:{handleClick:function(t){var e;return this.isProxy?(this.proxy||(null==(e=this.$ELEMENT.button)?void 0:e.proxy)||r).call(this,t):this.$emit("click",t)}}},u;(u=(0,i(1900).Z)(u,e,[],!1,null,null,null)).options.__file="packages/button/src/button.vue";const a=u.exports,c=(a.install=function(t){t.component(a.name,a)},a)}return t.default})());