(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-form/u-form"],{2690:function(t,e,n){"use strict";n.r(e);var r=n("2bf2"),u=n("8f2a");for(var f in u)"default"!==f&&function(t){n.d(e,t,(function(){return u[t]}))}(f);n("c5fd");var i,o=n("f0c5"),a=Object(o["a"])(u["default"],r["b"],r["c"],!1,null,"1cc99a02",null,!1,r["a"],i);e["default"]=a.exports},"2bf2":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return r}));var u=function(){var t=this,e=t.$createElement;t._self._c},f=[]},5694:function(t,e,n){},"8f2a":function(t,e,n){"use strict";n.r(e);var r=n("cf1c"),u=n.n(r);for(var f in r)"default"!==f&&function(t){n.d(e,t,(function(){return r[t]}))}(f);e["default"]=u.a},c5fd:function(t,e,n){"use strict";var r=n("5694"),u=n.n(r);u.a},cf1c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.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(t){this.rules=t},resetFields:function(){this.fields.map((function(t){t.resetField()}))},validate:function(t){var e=this;return new Promise((function(n){var r=!0,u=0,f=[];e.fields.map((function(i){i.validation("",(function(i){i&&(r=!1,f.push(i)),++u===e.fields.length&&(n(r),-1===e.errorType.indexOf("none")&&e.errorType.indexOf("toast")>=0&&f.length&&e.$u.toast(f[0]),"function"==typeof t&&t(r))}))}))}))}}};e.default=r}}]);
;(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__('543d')['createComponent'](__webpack_require__("2690"))
        })
    },
    [['uview-ui/components/u-form/u-form-create-component']]
]);
