(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04f70ac4"],{5281:function(e,t,a){"use strict";t["a"]={props:{isSelfFolded:{type:Boolean,default:function(){return!1}}},data:function(){return{isFolded:!0}},methods:{toggleFold:function(){this.isFolded=!this.isFolded}}}},"7f14":function(e,t,a){"use strict";a("d3b7"),a("3ca3"),a("ddb0");t["a"]={data:function(){return{activeTab:"form"}},components:{Tabs:function(){return a.e("chunk-2d20fa7c").then(a.bind(null,"b50c")).then((function(e){return e.default}))},JsonForm:function(){return Promise.all([a.e("chunk-0c0a8217"),a.e("chunk-2d213559")]).then(a.bind(null,"abdf")).then((function(e){return e.default}))},YamlForm:function(){return Promise.all([a.e("chunk-0c0a8217"),a.e("chunk-2d0b3089")]).then(a.bind(null,"273a")).then((function(e){return e.default}))}}}},e144:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("validation-observer",{ref:e.schema.title.replace(/ /g,"-")+"-observer",staticClass:"ac-nested-elements object-form-wrapper",class:{"stop-line":e.isLastChild,"hide-upper-line":e.isRoot},attrs:{tag:"form",vid:e.schema.title.replace(/ /g,"-")+"-observer"},scopedSlots:e._u([{key:"default",fn:function(t){var o=t.errors;return[a("div",{staticClass:"nested-header mb-5"},[a("h6",{staticClass:"is-flex is-semi-normal",on:{click:function(t){return t.preventDefault(),e.toggleFold()}}},[e.isRoot?e._e():a("div",{staticClass:"collaps-icon",attrs:{disabled:"form"!==e.activeTab}},[a("i",{class:["fa",e.isFolded?"fa-plus":"fa-minus"],attrs:{"aria-hidden":"true"}})]),e._v(" "+e._s(e.schema.title||"Array Item Description")+" "),a("component-errors",{attrs:{errors:e.errors.concat(e.calcObserverError(o))}})],1),e.onlyJson?e._e():a("tabs",{model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}})],1),a("object-form",{directives:[{name:"show",rawName:"v-show",value:!e.onlyJson&&"form"===e.activeTab,expression:"!onlyJson && activeTab === 'form'"}],key:e.schema.title+"-form",attrs:{properties:e.schema.properties,title:e.schema.title,required:e.schema.required,isSelfRequired:e.isSelfRequired,type:e.schema.type,isRoot:e.isRoot,isSelfFolded:!e.isRoot&&e.isFolded,"reference-model":e.referenceModel||{}},model:{value:e.modelData,callback:function(t){e.modelData=t},expression:"modelData"}}),"yaml"===e.activeTab?a("yaml-form",{attrs:{"reference-model":e.referenceModel||{}},model:{value:e.modelData,callback:function(t){e.modelData=t},expression:"modelData"}}):"json"===e.activeTab?a("json-form",{attrs:{"reference-model":e.referenceModel||{}},model:{value:e.modelData,callback:function(t){e.modelData=t},expression:"modelData"}}):e._e()]}}])})},n=[],r=a("ae5a"),s=a("5281"),l=a("7f14"),i=a("9008"),c={name:"object-form-wrapper",props:{schema:{type:Object,default:function(){return{}}},value:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Array,default:function(){return[]}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},isFormSubmitting:{type:Boolean,default:!1}},methods:{submit:function(){this.$emit("vof:submitted")}},mixins:[r["a"],s["a"],l["a"],i["a"]]},u=c,d=a("2877"),f=Object(d["a"])(u,o,n,!1,null,null,null);t["default"]=f.exports}}]);
//# sourceMappingURL=chunk-04f70ac4.b009ef38.js.map