(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-746df6ae"],{"2a443":function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return o}));var n=a("c621"),c=a("3af9"),l=a("7a23"),o=Object(l["defineComponent"])({name:"DesignerGrid",mixins:[c["u"],c["D"]],props:Object.assign({},c["v"]),methods:{extendRowData(){var e,t;const a=null===(t=null===(e=this.currentInstance)||void 0===e?void 0:e.parent)||void 0===t?void 0:t.element;if(a&&a.bizType===c["B"].PACK&&a.subtype===c["A"].CONTAINERS){const{focusData:e}=Object(c["fd"])(),t=e.value,a=this.currentInstance;let n=[24,24];return t&&a&&c["R"].contains(t,a)&&(n=[16,16]),{gutter:n}}return{}}},setup(e){const t=Object(l["computed"])(()=>{let t=0;const a=e.currentInstance;if(a){const e=a.options;a.children.forEach(a=>{const l=n["Optional"].ofNullable(a).map(e=>e.element);t+=c["O"].computeColSpan(l.map(e=>e.properties).map(e=>e.colSpan).orElseGet(()=>l.map(e=>e.col).map(e=>e.span).orElse(void 0)),n["Optional"].ofNullable(e).map(e=>e.cols).orElse(n["DEFAULT_COLS"]))})}return t});return Object(l["onBeforeMount"])(()=>{const a=e.currentInstance;if(!a)return;const l=c["R"].fetchOptions(a);l.cols=n["DEFAULT_COLS"],l.spanTotal=n["CastHelper"].cast(t)}),{}}});function r(e,t,a,n,c,o){const r=Object(l["resolveComponent"])("k-draggable");return Object(l["openBlock"])(),Object(l["createBlock"])(r,{class:"designer-grid-row oio-row",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,"draggable-filter":e.draggableFilter,"disable-add":e.isDisableAddElement(e.currentInstance),mapper:e.mapper,currentInstance:e.currentInstance},{item:Object(l["withCtx"])(({element:t,index:a,colData:n})=>[Object(l["withDirectives"])((Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{class:Object(l["normalizeClass"])(["designer-grid-col",e.fetchDraggableIgnoredClass(t)]),key:t.id,style:Object(l["normalizeStyle"])(n.style)},[Object(l["renderSlot"])(e.$slots,"default",{instance:t,index:a})],6)),[[l["vShow"],e.isShowInstance(t)]])]),_:3},8,["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","draggable-filter","disable-add","mapper","currentInstance"])}o.render=r,o.__file="src/view/component/designer-draggable/component/view/DesignerGrid.vue"}}]);