(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/thorui/tui-form/tui-form"],{136:function(t,e,r){"use strict";r.r(e);var n=r(137),u=r(139);for(var i in u)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return u[t]}))}(i);r(142);var o,a=r(32),d=Object(a["default"])(u["default"],n["render"],n["staticRenderFns"],!1,null,"46eadb26",null,!1,n["components"],o);d.options.__file="components/thorui/tui-form/tui-form.vue",e["default"]=d.exports},137:function(t,e,r){"use strict";r.r(e);var n=r(138);r.d(e,"render",(function(){return n["render"]})),r.d(e,"staticRenderFns",(function(){return n["staticRenderFns"]})),r.d(e,"recyclableRender",(function(){return n["recyclableRender"]})),r.d(e,"components",(function(){return n["components"]}))},138:function(t,e,r){"use strict";var n;r.r(e),r.d(e,"render",(function(){return u})),r.d(e,"staticRenderFns",(function(){return o})),r.d(e,"recyclableRender",(function(){return i})),r.d(e,"components",(function(){return n}));var u=function(){var t=this,e=t.$createElement;t._self._c},i=!1,o=[];u._withStripped=!0},139:function(t,e,r){"use strict";r.r(e);var n=r(140),u=r.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e["default"]=u.a},140:function(t,e,r){"use strict";var n=r(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(r(141)),i={name:"tui-form",props:{model:{type:Object,default:function(){return{}}},rules:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"},padding:{type:String,default:"0"},showMessage:{type:Boolean,default:!0},radius:{type:String,default:"0"},disabled:{type:Boolean,default:!1},tipTop:{type:Number,default:0},tipPadding:{type:String,default:"20rpx"},tipBackgroundColor:{type:String,default:"#f74d54"},tipSize:{type:Number,default:28},tipColor:{type:String,default:"#fff"},tipRidus:{type:String,default:"12rpx"},duration:{type:Number,default:2e3}},data:function(){return{errorMsg:"",timer:null}},beforeDestroy:function(){this.clearTimer()},methods:{clearTimer:function(){clearTimeout(this.timer),this.timer=null},validate:function(t,e){var r=this;return t=t||this.model,e=e||this.rules,new Promise((function(n,i){var o=u.default.validation(t,e),a={isPass:!0,errorMsg:o};o?(r.showMessage&&(r.clearTimer(),r.errorMsg=o,r.timer=setTimeout((function(){r.errorMsg=""}),r.duration)),a.isPass=!1,i(a)):n(a)}))}}};e.default=i},142:function(t,e,r){"use strict";r.r(e);var n=r(143),u=r.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e["default"]=u.a},143:function(t,e,r){}}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/thorui/tui-form/tui-form.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/thorui/tui-form/tui-form-create-component',
    {
        'components/thorui/tui-form/tui-form-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(136))
        })
    },
    [['components/thorui/tui-form/tui-form-create-component']]
]);
