(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21dfe8"],{d457:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return c}));var l=n("9127"),o=n("3af9"),a=n("b90b"),r=n("7a23");const i=Object.assign(Object.assign({},o["Rb"]),{borderWidth:"8px",borderLeftWidth:"8px",borderRightWidth:"8px",borderRadius:"4px",top:"-8px",left:"-8px",width:"calc(100% + 16px)",height:"calc(100% + 16px)"});var c=Object(r["defineComponent"])({name:"DesignerMobileTableField",mixins:[o["u"]],props:Object.assign(Object.assign({},o["v"]),{label:{type:String}}),components:{OioIcon:a["Q"]},setup(e){const t=()=>{const t=e.currentInstance;if(!t)return;const a=o["R"].fetchOptions(t);a.title=l["f"].cast(Object(r["computed"])(()=>{var t,o,a,r;return n.value||(null===(o=null===(t=e.currentInstance)||void 0===t?void 0:t.element)||void 0===o?void 0:o.title)||(null===(r=null===(a=e.currentInstance)||void 0===a?void 0:a.currentWidget)||void 0===r?void 0:r.widgetDisplayName)||Object(l["W"])("模型字段")})),a.normalMaskStyle=i,a.toolbarStyle=l["f"].cast(Object(r["computed"])(()=>0===e.currentIndex?{top:"-16px",left:"-8px"}:{top:"-16px",right:"-8px"})),a.removeCondition=()=>{var t,n,l;const a=null===(l=null===(n=null===(t=e.currentInstance)||void 0===t?void 0:t.children)||void 0===n?void 0:n[0])||void 0===l?void 0:l.element;return!(!a||a.bizType!==o["B"].VIEW)},a.removeMessage=Object(l["W"])("当前字段为展开行关联字段，删除后展开行失效，请确认")};Object(o["md"])(t);const n=Object(r["computed"])(()=>{const t=l["F"].ofNullable(e.currentInstance).map(e=>e.element);return e.label||t.map(e=>e.properties).map(e=>e.label).orElseGet(()=>t.map(e=>e.widgetData).map(e=>e.displayName||e.name).orElse(""))}),a=Object(r["computed"])(()=>{const t=l["F"].ofNullable(e.currentInstance).map(e=>e.element);return e.label||t.map(e=>e.properties).map(e=>e.independentlyEditable).orElse(!1)});return{label:n,independentlyEditable:a}}});const d=["id"],s=["title"],p={class:"designer-table-field-label"};function b(e,t,n,l,o,a){return Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{id:e.fetchInstanceDomId(e.currentInstance.id),class:"designer-table-field"},[Object(r["createElementVNode"])("span",{class:Object(r["normalizeClass"])([!e.currentInstance.element.widgetData&&"designer-table-field-error"]),title:e.label},[Object(r["createElementVNode"])("span",p,[Object(r["createCommentVNode"])('        <oio-icon v-if="independentlyEditable" color="var(&#45;&#45;oio-font-color)" icon="oinone-biaodanye" />'),Object(r["createElementVNode"])("span",null,Object(r["toDisplayString"])(e.currentInstance.element.widgetData?e.label:e.$translate("未设置字段")),1)])],10,s)],8,d)}c.render=b,c.__file="src/view/component/designer-draggable/component/element/DesignerTableField.vue"}}]);