(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d207971"],{a0d0:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return r}));var n=a("c621"),c=a("3af9"),l=a("7a23"),r=Object(l["defineComponent"])({name:"DesignerActionBar",mixins:[c["u"],c["r"]],props:Object.assign(Object.assign({},c["v"]),{emptyHeight:{type:Number,default:c["l"].DesignerActionBar.emptyHeight},emptyHint:{type:String,default:c["l"].DesignerActionBar.emptyHint}}),setup(e){const t=()=>{const t=e.currentInstance;if(!t)return;const a=c["R"].fetchOptions(t);a.title=n["CastHelper"].cast(Object(l["computed"])(()=>{var t,a;return Object(n["translateValueByKey"])((null===(a=null===(t=e.currentInstance)||void 0===t?void 0:t.element)||void 0===a?void 0:a.title)||"表头动作")}))};Object(c["md"])(t);const a=Object(l["computed"])(()=>n["Optional"].ofNullable(e.currentInstance).map(e=>c["R"].fetchProperties(e)).map(e=>e.justify).map(e=>n["FlexHelper"].justify(e)).orElse(void 0)),r=Object(l["computed"])(()=>{const t={};return a.value&&(t.justifyContent=a.value),Object.assign(Object.assign({},t),Object(c["kc"])(e.currentInstance)||{})});return{style:r}}});function i(e,t,a,n,c,r){const i=Object(l["resolveComponent"])("empty-draggable"),o=Object(l["resolveComponent"])("k-draggable");return Object(l["openBlock"])(),Object(l["createBlock"])(o,{class:Object(l["normalizeClass"])([e.isV3ProtocolVersion?"designer-action-bar":"designer-action-bar-v2",e.mainArea.children.length?"":"designer-action-bar-empty"]),style:Object(l["normalizeStyle"])(e.style),list:e.mainAreaChildren,"item-key":"id",group:e.mainArea.draggableGroup,sort:e.isAllowElementSort(e.mainArea),direction:e.DraggableDirection.HORIZONTAL,swapThreshold:.6,disabled:e.isFixedInstance(e.mainArea),"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,"draggable-filter":e.draggableFilter,"disable-add":e.isDisableAddElement(e.mainArea),currentInstance:e.mainArea},Object(l["createSlots"])({item:Object(l["withCtx"])(({element:t,index:a})=>[Object(l["withDirectives"])(Object(l["createElementVNode"])("div",{class:Object(l["normalizeClass"])(["designer-action-bar-item",e.fetchDraggableIgnoredClass(t)])},[Object(l["renderSlot"])(e.$slots,"default",{instance:t,index:a})],2),[[l["vShow"],e.isShowInstance(t)]])]),_:2},[e.isEmptyInstance(e.mainArea)?{name:"footer",fn:Object(l["withCtx"])(()=>[Object(l["createVNode"])(i,{class:"designer-action-bar-item",height:e.emptyHeight,text:e.emptyHint},null,8,["height","text"])]),key:"0"}:void 0]),1032,["class","style","list","group","sort","direction","swapThreshold","disabled","start-callback","end-callback","added-callback","moved-callback","removed-callback","move-to-self-callback","move-to-other-callback","draggable-filter","disable-add","currentInstance"])}r.render=i,r.__file="src/view/component/designer-draggable/component/element/action-bar/DesignerActionBar.vue"}}]);