

<script>
/* eslint-disable */
// sd-skip-auto-import
import SdChildTableInline from"@/common/components/sd-child-table-inline.vue";import runtimeUtil from"../runtime-util";import components from"./_import-components/sd-child-table-inline-render-import";const SdChildTableInlineRender={name:"SdChildTableInlineRender",components:{...components,[SdChildTableInline.name]:SdChildTableInline},inheritAttrs:false,model:{prop:"value",event:"change"},props:{label:{type:String,default:""},hideCaption:{type:Boolean,default:false}},data(){return{}},computed:{items(){if(0===this.$attrs.fields.length)return[];const e=runtimeUtil.getTableInfo(this.$attrs.fields,{columns:1}).map((e=>e[0])).filter((e=>!!e));return e},columns(){return this.$attrs.fields.filter((e=>e.attrFD.hidden)).map((e=>({dataIndex:e.name,sdHidden:true}))).concat(this.$attrs.columns||[])},labelCompute(){return this.hideCaption?null:this.label}}};var _render=function e(){var n=this,t=n._self._c;return t("sd-child-table-inline",n._g(n._b({attrs:{label:n.labelCompute,columns:n.columns},scopedSlots:n._u([n._l(n.items,(function(e){return{key:e.name,fn:function(){return[t("sd-form-item",n._b({key:e.name,attrs:{label:null}},"sd-form-item",e,false))]},proxy:true}}))],null,true)},"sd-child-table-inline",n.$attrs,false),n.$listeners),[n._l(n.items.filter((e=>e.componentForDisplay)),(function(e){return t("template",{slot:e.name+"-read"},[t("sd-form-item",n._b({key:e.name,attrs:{label:null,component:e.componentForDisplay,"input-props":{readOnly:true}}},"sd-form-item",e,false))],1)}))],2)};var staticRenderFns=[];_render._withStripped=true;SdChildTableInlineRender.render=_render;SdChildTableInlineRender.staticRenderFns=staticRenderFns;export default SdChildTableInlineRender;export{SdChildTableInlineRender as forDisplay};</script>

<style module lang="scss">
@use '@/common/design' as *;
</style>
