(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d8646a60"],{"09a7":function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a("9127"),l=a("3af9"),c=a("7a23"),i=a("c765");function r(e){const t=e.element.properties;l["R"].isModal(e).result||(t&&delete t.layout,e.children.forEach(e=>r(e)))}const o={props:{currentInstance:{type:Object,required:!0}},data(){const{layout:e}=Object(i["b"])(),t=Object(c["computed"])(()=>n["F"].ofNullable(this.currentInstance).map(e=>l["R"].fetchProperties(e)).map(e=>e.layout).map(e=>n["t"][e.toUpperCase()]).orElse(e.value));return Object(c["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=>r(e))}),Object(i["a"])({layout:t}),{layout:t}}}},"3b687":function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return u}));var n=a("9127"),l=a("3af9"),c=a("7a23"),i=a("b8cb"),r=a("09a7"),o=a("2695");a("c765"),a("b90b");const s=Object.assign(Object.assign({},l["Rb"]),{top:"0",height:"100%"}),d=Object.assign(Object.assign({},l["Sb"]),{top:"0"}),b={top:"12px",height:"calc(100% - 24px)"};var u=Object(c["defineComponent"])({name:"DesignerMobileDetail",mixins:[l["u"],l["r"],r["a"],o["a"]],props:Object.assign(Object.assign({},l["v"]),{emptyHeight:{type:Number,default:l["l"].DesignerDetail.emptyHeight},emptyHint:{type:String,default:l["l"].DesignerDetail.emptyHint}}),setup(e){const{protocolVersion:t}=Object(l["fd"])(),a=()=>{const a=e.currentInstance;if(!a)return;const i=l["R"].fetchOptions(a);i.title=n["f"].cast(Object(c["computed"])(()=>{var t,a;return Object(n["W"])((null===(a=null===(t=e.currentInstance)||void 0===t?void 0:t.element)||void 0===a?void 0:a.title)||"详情组件")})),l["ob"].isV3(t.value)&&(i.normalMaskStyle=s,i.toolbarStyle=d,i.toolbarMaskTooltipStyle=b)};return Object(l["md"])(a),{isNotSupportWidget:i["a"]}}});const m={class:"designer-detail-item",style:{flex:"1 1 0"}};function p(e,t,a,n,l,i){const r=Object(c["resolveComponent"])("empty-draggable"),o=Object(c["resolveComponent"])("k-draggable");return Object(c["openBlock"])(),Object(c["createBlock"])(o,{class:Object(c["normalizeClass"])(["mobile-designer-detail oio-m-row","designer-detail-"+e.layout,e.isInline?"designer-detail-inline":"",e.mainAreaChildren.length?"":"designer-detail-empty"]),list:e.mainAreaChildren,"item-key":"id",group:e.mainArea.draggableGroup,"component-data":e.rowComponentData,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),mapper:e.mapper,currentInstance:e.mainArea},Object(c["createSlots"])({item:Object(c["withCtx"])(({element:t,index:a,colData:n})=>[Object(c["withDirectives"])((Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{key:t.id,class:Object(c["normalizeClass"])(["designer-detail-item",e.fetchDraggableIgnoredClass(t)]),style:Object(c["normalizeStyle"])(n.style)},[Object(c["renderSlot"])(e.$slots,"default",{instance:t,index:a})],6)),[[c["vShow"],e.isShowInstance(t)&&!e.isNotSupportWidget(t)]])]),_:2},[e.isEmptyInstance(e.mainArea)?{name:"footer",fn:Object(c["withCtx"])(()=>[Object(c["createElementVNode"])("div",m,[Object(c["createVNode"])(r,{height:"100%",text:e.emptyHint},null,8,["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","draggable-filter","disable-add","mapper","currentInstance"])}u.render=p,u.__file="src/view/component/designer-draggable/component/view/detail/DesignerDetail.vue"},b8cb:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a("3af9");const l=["TreeSelect","Cascader","Address","Company","Department","Employee"];function c(e){var t;if(Object(n["Gc"])(e)){const a=null===(t=e.currentWidget)||void 0===t?void 0:t.widgetName;if(a)return l.includes(a)}return!1}},c765:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return o}));var n=a("9127"),l=a("7a23");const c={layout:Object(l["computed"])(()=>n["t"].VERTICAL)},i=Symbol("MobileDesignerFieldContext"),r=e=>{Object(l["provide"])(i,Object.assign(Object.assign({},c),e))},o=()=>Object(l["inject"])(i,Object.assign({},c))}}]);