(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39ba76f5"],{"09a7":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var c=a("9127"),n=a("3af9"),r=a("7a23"),o=a("c765");function l(e){const t=e.element.properties;n["R"].isModal(e).result||(t&&delete t.layout,e.children.forEach(e=>l(e)))}const s={props:{currentInstance:{type:Object,required:!0}},data(){const{layout:e}=Object(o["b"])(),t=Object(r["computed"])(()=>c["F"].ofNullable(this.currentInstance).map(e=>n["R"].fetchProperties(e)).map(e=>e.layout).map(e=>c["t"][e.toUpperCase()]).orElse(e.value));return Object(r["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=>l(e))}),Object(o["a"])({layout:t}),{layout:t}}}},c765:function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),a.d(t,"b",(function(){return s}));var c=a("9127"),n=a("7a23");const r={layout:Object(n["computed"])(()=>c["t"].VERTICAL)},o=Symbol("MobileDesignerFieldContext"),l=e=>{Object(n["provide"])(o,Object.assign(Object.assign({},r),e))},s=()=>Object(n["inject"])(o,Object.assign({},r))},d3ae:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return i}));var c=a("9127"),n=a("3af9"),r=a("7a23"),o=a("09a7"),l=a("2695");a("c765"),a("b90b");const s=Object.assign(Object.assign({},n["Rb"]),{borderWidth:"8px",top:"-8px",left:"-8px",width:"calc(100% + 16px)",height:"calc(100% + 16px)"});var i=Object(r["defineComponent"])({name:"DesignerMobileTab",mixins:[n["u"],o["a"],l["a"]],props:Object.assign(Object.assign({},n["v"]),{emptyHeight:{type:Number,default:n["l"].DesignerTab.emptyHeight},emptyHint:{type:String,default:n["l"].DesignerTab.emptyHint}}),setup(e){const{protocolVersion:t}=Object(n["fd"])(),a=()=>{const a=e.currentInstance;if(a){const o=n["R"].fetchOptions(a);o.title=c["f"].cast(Object(r["computed"])(()=>{const t=e.currentInstance;return t?Object(c["W"])(n["gb"].computeTabTitle(t)||c["j"]):Object(c["W"])(c["j"])})),n["ob"].isV3(t.value)&&(o.normalMaskStyle=s),o.removeMessage=Object(c["W"])(n["l"].DesignerTab.removeMessage)}};Object(n["md"])(a);const o=Object(c["Y"])(),l=Object(r["computed"])(()=>o.tabPosition.value===c["C"].TOP?"40px":"254px");return{emptyHeight:l}}});const b={class:"designer-tab-item",style:{flex:"1 1 0"}};function d(e,t,a,c,n,o){const l=Object(r["resolveComponent"])("empty-draggable"),s=Object(r["resolveComponent"])("k-draggable");return Object(r["openBlock"])(),Object(r["createBlock"])(s,{class:Object(r["normalizeClass"])(["designer-tab oio-m-row","designer-tab-"+e.layout,e.currentInstance.children.length?"":"designer-tab-empty"]),list:e.currentInstance.children,"item-key":"id",group:e.currentInstance.draggableGroup,"component-data":e.rowComponentData,sort:e.isAllowElementSort(e.currentInstance),direction:e.DraggableDirection.VERTICAL,invertSwap:!0,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.mapper,currentInstance:e.currentInstance},Object(r["createSlots"])({item:Object(r["withCtx"])(({element:t,index:a,colData:c})=>[Object(r["withDirectives"])((Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{key:t.id,class:Object(r["normalizeClass"])(["designer-tab-item",e.fetchDraggableIgnoredClass(t)]),style:Object(r["normalizeStyle"])(c.style)},[Object(r["renderSlot"])(e.$slots,"default",{instance:t,index:a})],6)),[[r["vShow"],e.isShowInstance(t)]])]),_:2},[e.isEmptyInstance(e.currentInstance)?{name:"footer",fn:Object(r["withCtx"])(()=>[Object(r["createElementVNode"])("div",b,[Object(r["createVNode"])(l,{height:e.emptyHeight,text:e.emptyHint},null,8,["height","text"])])]),key:"0"}:void 0]),1032,["class","list","group","component-data","sort","direction","disabled","start-callback","end-callback","added-callback","moved-callback","removed-callback","move-to-self-callback","move-to-other-callback","disable-add","mapper","currentInstance"])}i.render=d,i.__file="src/view/component/designer-draggable/component/container/tabs/DesignerTab.vue"}}]);