(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0c4378ac"],{6911:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a("c621"),c=a("3af9"),l=a("7a23");function o(e){c["R"].isModal(e).result||(e.element.properties&&delete e.element.properties.layout,e.children.forEach(e=>o(e)))}const r={props:{currentInstance:{type:Object,required:!0}},data(){const{layout:e}=Object(c["gd"])(),t=Object(l["computed"])(()=>n["Optional"].ofNullable(this.currentInstance).map(e=>c["R"].fetchProperties(e)).map(e=>e.layout).map(e=>n["FormLayout"][e.toUpperCase()]).orElse(e.value));return Object(l["watch"])(()=>{var e,t,a;return null===(a=null===(t=null===(e=this.currentInstance)||void 0===e?void 0:e.element)||void 0===t?void 0:t.properties)||void 0===a?void 0:a.layout},()=>{var e;null===(e=this.currentInstance)||void 0===e||e.children.forEach(e=>o(e))}),Object(c["kd"])({layout:t}),{layout:t}}}},"9bb9":function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return s}));var n=a("c621"),c=a("3af9"),l=a("7a23"),o=a("6911");const r=Object.assign(Object.assign({},c["Rb"]),{borderWidth:"8px",top:"-8px",left:"-8px",width:"calc(100% + 16px)",height:"calc(100% + 16px)"});var s=Object(l["defineComponent"])({name:"DesignerCollapsePanel",mixins:[c["u"],o["a"],c["D"]],props:Object.assign(Object.assign({},c["v"]),{emptyHeight:{type:Number,default:c["l"].DesignerCollapsePanel.emptyHeight},emptyHint:{type:String,default:c["l"].DesignerCollapsePanel.emptyHint}}),setup(e){const t=()=>{const t=e.currentInstance;if(t){const a=c["R"].fetchOptions(t);a.title=n["CastHelper"].cast(Object(l["computed"])(()=>{const t=e.currentInstance;return t?Object(n["translateValueByKey"])(c["j"].computePanelTitle(t)||n["DEFAULT_COLLAPSE_PANEL_TITLE"]):Object(n["translateValueByKey"])(n["DEFAULT_COLLAPSE_PANEL_TITLE"])})),a.normalMaskStyle=r,a.removeMessage=Object(n["translateValueByKey"])(c["l"].DesignerCollapsePanel.removeMessage)}};return Object(c["md"])(t),{}}});const i={class:"designer-collapse-panel-content",style:{flex:"1 1 0"}};function d(e,t,a,n,c,o){const r=Object(l["resolveComponent"])("empty-draggable"),s=Object(l["resolveComponent"])("k-draggable");return Object(l["openBlock"])(),Object(l["createBlock"])(s,{class:Object(l["normalizeClass"])(["oio-row",e.currentInstance.children.length?"":"designer-collapse-panel-empty"]),list:e.currentInstance.children,"item-key":"id",group:e.currentInstance.draggableGroup,"component-data":e.rowComponentData,sort:e.isAllowElementSort(e.currentInstance),direction:e.DraggableDirection.HORIZONTAL,swapThreshold:.6,disabled:e.isFixedInstance(e.currentInstance),"start-callback":e.startCallback,"end-callback":e.endCallback,"added-callback":e.addedCallback,"moved-callback":e.movedCallback,"removed-callback":e.removedCallback,"move-to-self-callback":e.moveToSelfCallback,"move-to-other-callback":e.moveToOtherCallback,"disable-add":e.isDisableAddElement(e.currentInstance),mapper:e.isV3ProtocolVersion?e.mapper:void 0,currentInstance:e.currentInstance},Object(l["createSlots"])({item:Object(l["withCtx"])(({element:t,index:a,colData:n})=>[Object(l["withDirectives"])((Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{key:t.id,class:Object(l["normalizeClass"])(["designer-collapse-panel-content",e.fetchDraggableIgnoredClass(t)]),style:Object(l["normalizeStyle"])(n.style)},[Object(l["renderSlot"])(e.$slots,"default",{instance:t,index:a})],6)),[[l["vShow"],e.isShowInstance(t)]])]),_:2},[e.isEmptyInstance(e.currentInstance)?{name:"footer",fn:Object(l["withCtx"])(()=>[Object(l["createElementVNode"])("div",i,[Object(l["createVNode"])(r,{height:e.emptyHeight,text:e.emptyHint},null,8,["height","text"])])]),key:"0"}:void 0]),1032,["class","list","group","component-data","sort","direction","swapThreshold","disabled","start-callback","end-callback","added-callback","moved-callback","removed-callback","move-to-self-callback","move-to-other-callback","disable-add","mapper","currentInstance"])}s.render=d,s.__file="src/view/component/designer-draggable/component/container/collapse/DesignerCollapsePanel.vue"}}]);