(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-form/u-form"],{655:function(e,t,n){"use strict";n.r(t);var r=n(656),u=n(658);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);n(660);var i,f=n(11),c=Object(f["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"5dd1f800",null,!1,r["components"],i);c.options.__file="uview-ui/components/u-form/u-form.vue",t["default"]=c.exports},656:function(e,t,n){"use strict";n.r(t);var r=n(657);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},657:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return u})),n.d(t,"staticRenderFns",(function(){return i})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return r}));var u=function(){var e=this,t=e.$createElement;e._self._c},o=!1,i=[];u._withStripped=!0},658:function(e,t,n){"use strict";n.r(t);var r=n(659),u=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=u.a},659:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"u-form",props:{model:{type:Object,default:function(){return{}}},errorType:{type:Array,default:function(){return["message","toast"]}},borderBottom:{type:Boolean,default:!0},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:90},labelAlign:{type:String,default:"left"},labelStyle:{type:Object,default:function(){return{}}}},provide:function(){return{uForm:this}},data:function(){return{rules:{}}},created:function(){this.fields=[]},methods:{setRules:function(e){this.rules=e},resetFields:function(){this.fields.map((function(e){e.resetField()}))},validate:function(e){var t=this;return new Promise((function(n){var r=!0,u=0,o=[];t.fields.map((function(i){i.validation("",(function(i){i&&(r=!1,o.push(i)),++u===t.fields.length&&(n(r),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&o.length&&t.$u.toast(o[0]),"function"==typeof e&&e(r))}))}))}))}}};t.default=r},660:function(e,t,n){"use strict";n.r(t);var r=n(661),u=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=u.a},661:function(e,t,n){}}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-form/u-form.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uview-ui/components/u-form/u-form-create-component',
    {
        'uview-ui/components/u-form/u-form-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(655))
        })
    },
    [['uview-ui/components/u-form/u-form-create-component']]
]);
