text: (window.webpackJsonp=window.webpackJsonp||[]).push([[2,3],{16:function(e,t,n){"use strict";n.r(t);var i=n(164),a=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var l=n(176),u=n(0),s=Object(u.a)(a.a,l.a,l.b,!1,null,null,null);s.options.__file="src\\theme\\vuetify\\AfObjectGroup.vue",t.default=s.exports},164:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(5),o=(i=a)&&i.__esModule?i:{default:i};t.default={components:{AutoFormField:o.default},data:function(){return{model:this.value}},watch:{value:function(){this.model=this.value}},props:{value:{type:Object},idx:{type:Number},removable:{type:Boolean,default:!1},theme:{type:String,default:"vuetify"},locale:{type:String,default:"en-us"},schema:{type:Object,required:!0}},computed:{label:function(){return this.schema.label||this.schema.name}},methods:{onInput:function(e){this.$emit("input",this.model)},onRemoveClick:function(){this.$emit("remove",{index:this.idx,value:this.model})}},beforeMount:function(){!this.value&&this.schema.defaultValue&&(this.model=this.schema.defaultValue),this.model||(this.model={});for(var e=0;e<this.schema.$.length;e++){var t=this.schema.$[e];if(!this.model[t.name]){if(t.multiple){this.model[t.name]=[];continue}switch(t.type){case"string":this.model[t.name]="";break;case"boolean":this.model[t.name]=!1;break;case"object":this.model[t.name]={};break;case"date":this.model[t.name]=(new Date).toJSON();break;case"number":this.model[t.name]=0,t.min&&(this.model[t.name]=Math.max(this.model[t.name],t.min)),t.max&&(this.model[t.name]=Math.min(this.model[t.name],t.max))}}}this.$emit("input",this.model)}}},175:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(16),o=(i=a)&&i.__esModule?i:{default:i};t.default={components:{ObjectGroup:o.default},data:function(){return{model:this.value}},watch:{value:function(){this.model=this.value}},props:{value:{type:Array},theme:{type:String,default:"vuetify"},locale:{type:String,default:"en-us"},schema:{type:Object,required:!0}},computed:{label:function(){return this.schema.label||this.schema.name}},methods:{onInput:function(e){this.$emit("input",this.model)},onRemove:function(e){var t=e.index;e.value;this.model.splice(t,1),this.$emit("input",this.model)},onAdd:function(){this.model.push({}),this.$emit("input",this.model)}},beforeMount:function(){!this.value&&this.schema.defaultValue&&(this.$emit("input",this.model),this.model=this.schema.defaultValue),this.model=this.model?this.model:[]}}},176:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-card",[e.removable?n("v-card-actions",[n("v-btn",{attrs:{flat:"",icon:"",color:"primary"},nativeOn:{click:function(t){return e.onRemoveClick(t)}}},[n("v-icon",[e._v("remove")])],1)],1):n("v-card-title",[n("span",{staticClass:"subheading"},[e._v(e._s(e.label))])]),e._v(" "),n("v-card-text",e._l(e.schema.$,function(t,i){return n("auto-form-field",{key:i,attrs:{schema:t,locale:e.locale,theme:e.theme},on:{input:e.onInput},model:{value:e.model[t.name],callback:function(n){e.$set(e.model,t.name,n)},expression:"model[scheme.name]"}})}))],1)},a=[];i._withStripped=!0},195:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-card",[n("v-card-title",{staticClass:"subheading"},[e._v(e._s(e.label))]),e._v(" "),n("v-card-text",e._l(e.model,function(t,i){return n("object-group",{key:i,attrs:{idx:i,schema:e.schema,removable:!0,locale:e.locale,theme:e.theme},on:{input:e.onInput,remove:e.onRemove},model:{value:e.model[i],callback:function(t){e.$set(e.model,i,t)},expression:"model[index]"}})})),e._v(" "),n("v-card-actions",[n("v-btn",{attrs:{color:"primary",flat:"",icon:""},on:{click:e.onAdd}},[n("v-icon",[e._v("add")])],1)],1)],1)},a=[];i._withStripped=!0},25:function(e,t,n){"use strict";n.r(t);var i=n(175),a=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var l=n(195),u=n(0),s=Object(u.a)(a.a,l.a,l.b,!1,null,null,null);s.options.__file="src\\theme\\vuetify\\AfMultiObjectGroup.vue",t.default=s.exports}}]);