!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("VueElementUiPlus",[],t):"object"==typeof exports?exports.VueElementUiPlus=t():e.VueElementUiPlus=t()}(self,()=>(()=>{"use strict";var o={1883:(e,t,o)=>{function n(t,o,i){this.$children.forEach(function(e){e.$options.componentName===t?e.$emit.apply(e,[o].concat(i)):n.apply(e,[t,o].concat([i]))})}o.d(t,{Z:()=>i});const i={methods:{dispatch:function(e,t,o){for(var i=this.$parent||this.$root,n=i.$options.componentName;i&&(!n||n!==e);)(i=i.$parent)&&(n=i.$options.componentName);i&&i.$emit.apply(i,[t].concat(o))},broadcast:function(e,t,o){n.call(this,e,t,o)}}}},1900:(e,t,o)=>{o.d(t,{Z:()=>function(e,t,o,i,n,a,s,r){var l,d="function"==typeof e?e.options:e;t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0);i&&(d.functional=!0);a&&(d._scopeId="data-v-"+a);s?(l=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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=l):n&&(l=r?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n);{var c;l&&(d.functional?(d._injectStyles=l,c=d.render,d.render=function(e,t){return l.call(t),c(e,t)}):(t=d.beforeCreate,d.beforeCreate=t?[].concat(t,l):[l]))}return{exports:e,options:d}}})}},i={};function n(e){var t=i[e];return void 0!==t||(t=i[e]={exports:{}},o[e](t,t.exports,n)),t.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var e={};{function t(){var t=this,e=t.$createElement;return(e=t._self._c||e)("label",{staticClass:"el-radio",class:[t.border&&t.radioSize?"el-radio--"+t.radioSize:"",{"is-disabled":t.isDisabled},{"is-focus":t.focus},{"is-bordered":t.border},{"is-checked":t.model===t.label}],attrs:{role:"radio","aria-checked":t.model===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.model=t.isDisabled?t.model:t.label}}},[e("span",{staticClass:"el-radio__input",class:{"is-disabled":t.isDisabled,"is-checked":t.model===t.label}},[e("span",{staticClass:"el-radio__inner"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:t.name,disabled:t.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:t.label,checked:t._q(t.model,t.label)},on:{focus:function(e){t.focus=!0},blur:function(e){t.focus=!1},change:[function(e){t.model=t.label},t.handleChange]}})]),t._v(" "),e("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[t._t("default"),t._v(" "),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])}n.d(e,{default:()=>r}),t._withStripped=!0;var a={name:"ElRadio",mixins:[n(1883).Z],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return(this.isGroup?this._radioGroup:this).value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)})}}},a;(a=(0,n(1900).Z)(a,t,[],!1,null,null,null)).options.__file="packages/radio/src/radio.vue";const s=a.exports,r=(s.install=function(e){e.component(s.name,s)},s)}return e.default})());