u-radio-group.js 2.4 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-radio-group/u-radio-group"],{"3a6d":function(t,e,a){"use strict";a.r(e);var n=a("a313"),i=a("f6ac");for(var u in i)"default"!==u&&function(t){a.d(e,t,(function(){return i[t]}))}(u);a("4772");var r,o=a("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"2159894e",null,!1,n["a"],r);e["default"]=c.exports},4772:function(t,e,a){"use strict";var n=a("a5ce"),i=a.n(n);i.a},a313:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return u})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},u=[]},a5ce:function(t,e,a){},b2cc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("f31b"));function i(t){return t&&t.__esModule?t:{default:t}}var u={name:"u-radio-group",mixins:[n.default],props:{disabled:{type:Boolean,default:!1},value:{type:[String,Number],default:""},activeColor:{type:String,default:"#2979ff"},size:{type:[String,Number],default:34},labelDisabled:{type:Boolean,default:!1},shape:{type:String,default:"circle"},iconSize:{type:[String,Number],default:20},width:{type:[String,Number],default:"auto"},wrap:{type:Boolean,default:!1}},created:function(){this.children=[]},watch:{parentData:function(){this.children.length&&this.children.map((function(t){"function"==typeof t.updateParentData&&t.updateParentData()}))}},computed:{parentData:function(){return[this.value,this.disabled,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.width,this.wrap]}},methods:{setValue:function(t){var e=this;this.children.map((function(e){e.parentData.value!=t&&(e.parentData.value="")})),this.$emit("input",t),this.$emit("change",t),setTimeout((function(){e.dispatch("u-form-item","on-form-change",t)}),60)}}};e.default=u},f6ac:function(t,e,a){"use strict";a.r(e);var n=a("b2cc"),i=a.n(n);for(var u in n)"default"!==u&&function(t){a.d(e,t,(function(){return n[t]}))}(u);e["default"]=i.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'uview-ui/components/u-radio-group/u-radio-group-create-component',
  4. {
  5. 'uview-ui/components/u-radio-group/u-radio-group-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("3a6d"))
  7. })
  8. },
  9. [['uview-ui/components/u-radio-group/u-radio-group-create-component']]
  10. ]);