<core:FragmentDefinition
	xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
	xmlns:core="sap.ui.core"
	template:require="{
		FIELD: 'sap/fe/macros/field/FieldHelper'
	}"
>

	<!-- TODO: the isNotAlwaysHidden helper shall not be in the field but in the common helper so we can also get rid of
	the dependency to the field helper -->
	<template:with path="presentation>@sapui.name" var="nameOfAnnotation">
	<template:repeat list="{presentation>}" var="dataField">
		<template:if test="{= !(${dataField>./@com.sap.vocabularies.UI.v1.Hidden} === true)}">
			<template:if
				test="{= (!${dataField>Action} &amp;&amp; !${dataField>SemanticObject} &amp;&amp; !${dataField>Inline}) &amp;&amp; ${dataField>@@.FIELD.isNotAlwaysHidden} }">
				<!-- TODO: Reevaluate MDC column width -->
				<core:Fragment fragmentName="sap.fe.macros.table.Column" type="XML"/>
			</template:if>
		</template:if>
	</template:repeat>
	</template:with>

</core:FragmentDefinition>
