(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d319a46","chunk-2d21dfe8"],{"06cc":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var a=n("9127"),l=n("3af9"),i=n("7a23"),r=n("d457"),o=(n("b90b"),Object(i["defineComponent"])({name:"DesignerMobileTableRangeField",mixins:[l["u"]],components:{DesignerTableField:r["default"]},props:Object.assign({},l["v"]),setup(e){const t=Object(i["computed"])(()=>a["F"].ofNullable(e.currentInstance).map(e=>l["R"].fetchProperties(e)).map(e=>e.label).orElseGet(()=>a["F"].ofNullable(e.currentInstance).map(e=>e.element).map(e=>e.widgetData).map(e=>{const t=e.startMetadata,n=(null===t||void 0===t?void 0:t.displayName)||(null===t||void 0===t?void 0:t.name),a=e.endMetadata,l=(null===a||void 0===a?void 0:a.displayName)||(null===a||void 0===a?void 0:a.name);if(n&&l)return`${n}-${l}`}).orElse("")));return Object(i["watch"])(()=>{var t;const{startMetadata:n,endMetadata:a}=(null===(t=e.currentInstance)||void 0===t?void 0:t.element.widgetData)||{};return[!!n,!!a]},()=>{const t=e.currentInstance;if(t&&!t.children.length){const e=t.element.widgetData;if(e){const{startMetadata:n,endMetadata:a}=e;n&&a&&(l["R"].add(t,l["wb"].onlyCreateWidgetInstanceByField(t,n)),l["R"].add(t,l["wb"].onlyCreateWidgetInstanceByField(t,a)))}}},{deep:!0}),{label:t}},render(){return Object(i["createVNode"])(r["default"],Object.assign(Object.assign({},a["J"].convert(l["v"],a["f"].cast(this))),{label:this.label}))}}));o.__file="src/view/component/designer-draggable/component/element/DesignerTableRangeField.vue"},d457:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return c}));var a=n("9127"),l=n("3af9"),i=n("b90b"),r=n("7a23");const o=Object.assign(Object.assign({},l["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:[l["u"]],props:Object.assign(Object.assign({},l["v"]),{label:{type:String}}),components:{OioIcon:i["Q"]},setup(e){const t=()=>{const t=e.currentInstance;if(!t)return;const i=l["R"].fetchOptions(t);i.title=a["f"].cast(Object(r["computed"])(()=>{var t,l,i,r;return n.value||(null===(l=null===(t=e.currentInstance)||void 0===t?void 0:t.element)||void 0===l?void 0:l.title)||(null===(r=null===(i=e.currentInstance)||void 0===i?void 0:i.currentWidget)||void 0===r?void 0:r.widgetDisplayName)||Object(a["W"])("模型字段")})),i.normalMaskStyle=o,i.toolbarStyle=a["f"].cast(Object(r["computed"])(()=>0===e.currentIndex?{top:"-16px",left:"-8px"}:{top:"-16px",right:"-8px"})),i.removeCondition=()=>{var t,n,a;const i=null===(a=null===(n=null===(t=e.currentInstance)||void 0===t?void 0:t.children)||void 0===n?void 0:n[0])||void 0===a?void 0:a.element;return!(!i||i.bizType!==l["B"].VIEW)},i.removeMessage=Object(a["W"])("当前字段为展开行关联字段，删除后展开行失效，请确认")};Object(l["md"])(t);const n=Object(r["computed"])(()=>{const t=a["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(""))}),i=Object(r["computed"])(()=>{const t=a["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:i}}});const d=["id"],s=["title"],b={class:"designer-table-field-label"};function p(e,t,n,a,l,i){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",b,[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=p,c.__file="src/view/component/designer-draggable/component/element/DesignerTableField.vue"}}]);