prototype(Carbon.BackendDocument:Document) < prototype(Neos.Fusion:Component) { singleline = true content = null style = null headTags = null title = ${q(node).property('title')} namespace = 'carbon-backend' cssVariables = Neos.Fusion:DataStructure { @process.parse = ${Array.join(Array.map(Array.filter(value, style => !!style), (value, key) => key + ':' + value),';')} } documentStyle = Neos.Fusion:DataStructure { margin = 'var(--document-margin-y) var(--document-margin-x)' background = 'var(--neos-background)' font-family = 'var(--neos-font-family)' color = 'var(--neos-color)' padding = 'var(--document-padding-y) var(--document-padding-x)' @process.parse = ${Array.join(Array.map(Array.filter(value, style => !!style), (value, key) => key + ':' + value),';')} } // Inkl. Tags javascripts = null frontendRedirect = Neos.Fusion:DataStructure { node = ${q(documentNode).parent().get(0)} section = null additionalParams = null statusCode = 301 } neosBackendHead = Neos.Fusion:Join { @if.inBackend = ${documentNode.context.inBackend} javascriptBackendInformation = Neos.Neos.Ui:RenderConfiguration { path = 'documentNodeInformation' context { documentNode = ${documentNode} site = ${site} } @process.json = ${Json.stringify(value)} @process.wrapInJsObject = ${''} @cache { mode = 'cached' entryIdentifier { jsBackendInfo = 'javascriptBackendInformation' documentNode = ${documentNode} inBackend = ${documentNode.context.inBackend} } entryTags { 1 = ${Neos.Caching.nodeTag(documentNode)} 2 = ${Neos.Caching.descendantOfTag(documentNode)} } } } guestFrameApplication = Neos.Fusion:Template { templatePath = 'resource://Neos.Neos.Ui/Private/Templates/Backend/Guest.html' compiledResourcePackage = ${Neos.Ui.StaticResources.compiledResourcePackage()} sectionName = 'guestFrameApplication' } } neosUiNonRenderedNodeMetadata = Neos.Neos.Ui:RenderNonRenderedNodeMetadata { @class = 'Neos\\Neos\\Ui\\Fusion\\RenderNonRenderedNodeMetadataImplementation' @if.inBackend = ${node.context.inBackend} node = ${node} } renderer = Neos.Fusion:Case { isLive { condition = ${node.context.live && props.frontendRedirect.node} renderer = Neos.Fusion:Http.Message { httpResponseHead { statusCode = ${props.frontendRedirect.statusCode} headers.Location = Neos.Neos:NodeUri { node = ${props.frontendRedirect.node} section = ${props.frontendRedirect.section} additionalParams = ${props.frontendRedirect.additionalParams || []} } } } } default { condition = true renderer = Neos.Fusion:Http.Message { httpResponseHead.headers.X-Slipstream = 'enabled' doctype = '' markup = afx` {props.title} {props.neosBackendHead} {props.headTags} !!string),';')} >
{props.content}
{props.javascripts}
{props.neosUiNonRenderedNodeMetadata} ` } } } @cache { mode = 'cached' entryIdentifier { documentNode = ${node} } entryTags { 1 = ${Neos.Caching.nodeTag(node)} } } @exceptionHandler = 'Neos\\Neos\\Ui\\Fusion\\ExceptionHandler\\PageExceptionHandler' }