(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e62d2"],{9841:function(e,t,c){"use strict";c.r(t),c.d(t,"default",(function(){return i}));var n=c("9127"),a=c("3af9"),l=c("b90b"),r=c("7a23"),i=Object(r["defineComponent"])({name:"DesignerMobileCardRowActionsArea",mixins:[a["u"],a["H"]],components:{OioDivider:l["G"]},props:Object.assign(Object.assign({},a["v"]),{emptyHeight:{type:Number,default:40},emptyHint:{type:String,default:a["cb"]}}),setup(e){const t=()=>{const t=e.currentInstance;if(!t)return;const c=a["R"].fetchOptions(t);c.title=n["f"].cast(Object(r["computed"])(()=>{var t,c;return Object(n["W"])((null===(c=null===(t=e.currentInstance)||void 0===t?void 0:t.element)||void 0===c?void 0:c.title)||a["cb"])}))};Object(a["md"])(t);const c=Object(r["computed"])(()=>{var t;const c=[],a=null===(t=e.currentInstance)||void 0===t?void 0:t.children.length;if(a){const e=100/a;for(let t=1;t<a;t++)c.push({key:Object(n["X"])(),style:{left:e*t+"%"}})}return c}),l=Object(r["computed"])(()=>({maxWidth:100/(c.value.length+1)+"%"})),i=Object(r["computed"])(()=>{var t;return!!(null===(t=e.currentInstance)||void 0===t?void 0:t.element.isVirtual)});return{dividers:c,actionStyle:l,invisible:i}}});function o(e,t,c,n,a,l){const i=Object(r["resolveComponent"])("empty-draggable"),o=Object(r["resolveComponent"])("k-draggable");return Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{class:Object(r["normalizeClass"])(["mobile-designer-card-row-actions-area",e.invisible&&"mobile-designer-card-row-actions-area-invisible",e.currentInstance.children.length?"":"mobile-designer-card-row-actions-area-empty"]),style:Object(r["normalizeStyle"])(e.currentInstance.children.length&&e.instanceStyleProperties)},[Object(r["createVNode"])(o,{class:Object(r["normalizeClass"])(["mobile-designer-card-row-actions",e.currentInstance.children.length?"":"mobile-designer-card-row-actions-empty"]),list:e.currentInstance.children,"item-key":"id",group:e.currentInstance.draggableGroup,sort:e.isAllowElementSort(e.currentInstance),direction:e.DraggableDirection.VERTICAL,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,"draggable-filter":e.draggableFilter,"disable-add":e.isDisableAddElement(e.currentInstance),currentInstance:e.currentInstance},{item:Object(r["withCtx"])(({element:t,index:c})=>[Object(r["withDirectives"])(Object(r["createElementVNode"])("div",{class:Object(r["normalizeClass"])(["mobile-designer-card-row-actions-item",e.fetchDraggableIgnoredClass(t)]),style:Object(r["normalizeStyle"])(e.actionStyle)},[Object(r["renderSlot"])(e.$slots,"default",{instance:t,index:c})],6),[[r["vShow"],e.isShowInstance(t)]])]),footer:Object(r["withCtx"])(()=>[e.isEmptyInstance(e.currentInstance)?(Object(r["openBlock"])(),Object(r["createBlock"])(i,{key:0,class:"mobile-designer-card-row-actions-item",height:"100%","min-height":e.emptyHeight,text:e.emptyHint},null,8,["min-height","text"])):Object(r["createCommentVNode"])("v-if",!0),(Object(r["openBlock"])(!0),Object(r["createElementBlock"])(r["Fragment"],null,Object(r["renderList"])(e.dividers,(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{class:"mobile-designer-card-divider",key:e.key,type:"vertical",style:Object(r["normalizeStyle"])(e.style)},null,4))),128))]),_:3},8,["class","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"])],6)}i.render=o,i.__file="src/view/component/designer-draggable/component/element/card/DesignerCardRowActionsArea.vue"}}]);