(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5549db98"],{5281:function(e,r,t){"use strict";r["a"]={props:{isSelfFolded:{type:Boolean,default:function(){return!1}}},data:function(){return{isFolded:!0}},methods:{toggleFold:function(){this.isFolded=!this.isFolded}}}},"7db0":function(e,r,t){"use strict";var i=t("23e7"),o=t("b727").find,s=t("44d2"),l="find",a=!0;l in[]&&Array(1)[l]((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),s(l)},b869:function(e,r,t){"use strict";t.r(r);var i=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"mb-15",class:{"is-hidden":e.isSelfFolded}},[e._l(Object.keys(e.properties),(function(r,i){return["object"===e.properties[r].type?t("validation-provider",{key:r,attrs:{rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),name:""+e.properties[r].title,vid:e.properties[r].title.replace(/ /g,"-")+"-provider",slim:""},scopedSlots:e._u([{key:"default",fn:function(o){var s=o.errors;return[t("object-form-wrapper",{attrs:{"is-last-child":i===Object.keys(e.properties).length-1,type:e.properties[r].type,isSelfRequired:e.propertiesRequired&&e.isRequired(r),schema:e.properties[r],errors:s,"reference-model":e.referenceModel[r]||{}},model:{value:e.modelData[r],callback:function(t){e.$set(e.modelData,r,t)},expression:"modelData[key]"}})]}}],null,!0)}):"key-value-pairs"===e.properties[r].type?t("validation-provider",{key:r,attrs:{rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),name:""+e.properties[r].title,vid:e.properties[r].title.replace(/ /g,"-")+"-provider",slim:""},scopedSlots:e._u([{key:"default",fn:function(o){var s=o.errors;return[t("key-value-pairs",{attrs:{"is-last-child":i===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:s,"reference-model":e.referenceModel[r]||{}},model:{value:e.modelData[r],callback:function(t){e.$set(e.modelData,r,t)},expression:"modelData[key]"}})]}}],null,!0)}):"array"===e.properties[r].type?t("validation-provider",{key:r,attrs:{rules:e.ruleArray(e.propertiesRequired&&e.isRequired(r)),name:""+e.properties[r].title,vid:e.properties[r].title.replace(/ /g,"-")+"-provider",slim:""},scopedSlots:e._u([{key:"default",fn:function(o){var s=o.errors;return[t("array-input",{attrs:{"is-last-child":i===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:s,"reference-model":e.referenceModel[r]||[]},model:{value:e.modelData[r],callback:function(t){e.$set(e.modelData,r,t)},expression:"modelData[key]"}})]}}],null,!0)}):t("validation-provider",{key:r,attrs:{rules:e.ruleString(e.propertiesRequired&&e.isRequired(r)),name:""+e.properties[r].title,vid:e.properties[r].title.replace(/ /g,"-")+"-provider",slim:""},scopedSlots:e._u([{key:"default",fn:function(i){return[t("simple-input",{key:r,attrs:{type:e.properties[r].type,schema:e.properties[r],validationOb:i,"reference-model":e.referenceModel[r]||""},model:{value:e.modelData[r],callback:function(t){e.$set(e.modelData,r,t)},expression:"modelData[key]"}})]}}],null,!0)})]}))],2)},o=[],s=(t("b64b"),t("7db0"),t("ae5a")),l=t("5281"),a=t("9008"),n={name:"object-form",props:{properties:{type:Object,default:function(){return{}}},title:{type:String,default:""},value:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}}},mixins:[s["a"],l["a"],a["a"]],computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){var r=this.required.find((function(r){return r===e}));return!!r}}},p=n,d=t("2877"),u=Object(d["a"])(p,i,o,!1,null,null,null);r["default"]=u.exports}}]);
//# sourceMappingURL=chunk-5549db98.f2c5df8d.js.map